smarteye-e-components 0.0.51 → 0.0.53

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,4 +1,4 @@
1
- import { defineComponent as _e, computed as W, openBlock as A, createElementBlock as R, renderSlot as oe, createElementVNode as C, toDisplayString as ue, h as $e, ref as x, watch as Me, normalizeStyle as Le, Fragment as Oe, renderList as Ce, inject as fn, resolveComponent as ie, normalizeClass as Xe, createVNode as se, withCtx as ce, createCommentVNode as Be, createBlock as _n, getCurrentInstance as it, effectScope as bo, onMounted as To, onUnmounted as yo, isRef as Lo, Text as Io, provide as So, withDirectives as wo, vShow as Do, pushScopeId as Co, popScopeId as Po } from "vue";
1
+ import { defineComponent as _e, computed as W, openBlock as A, createElementBlock as F, renderSlot as oe, createElementVNode as C, toDisplayString as ue, h as Fe, ref as M, watch as $e, normalizeStyle as Le, Fragment as Oe, renderList as De, inject as fn, resolveComponent as ie, normalizeClass as Xe, createVNode as se, withCtx as ce, createCommentVNode as Be, createBlock as _n, getCurrentInstance as it, effectScope as bo, onMounted as To, onUnmounted as yo, isRef as Lo, Text as Io, provide as So, withDirectives as wo, vShow as Do, pushScopeId as Co, popScopeId as Po } from "vue";
2
2
  var bt;
3
3
  ((e) => {
4
4
  ((n) => {
@@ -80,7 +80,7 @@ var bt;
80
80
  n.AccessSession = r;
81
81
  })(e.Utils || (e.Utils = {}));
82
82
  })(bt || (bt = {}));
83
- var U;
83
+ var x;
84
84
  ((e) => {
85
85
  function t(n, r, o) {
86
86
  if (o) {
@@ -152,7 +152,7 @@ var U;
152
152
  }
153
153
  n.getTestLayout = o;
154
154
  })(e.Test || (e.Test = {}));
155
- })(U || (U = {}));
155
+ })(x || (x = {}));
156
156
  const Ao = _e({
157
157
  props: {
158
158
  countInfo: Object,
@@ -196,17 +196,17 @@ const de = (e, t) => {
196
196
  for (const [r, o] of t)
197
197
  n[r] = o;
198
198
  return n;
199
- }, ko = { class: "root" }, Fo = { class: "count-show" };
200
- function Ro(e, t, n, r, o, a) {
201
- return A(), R("div", ko, [
199
+ }, ko = { class: "root" }, Ro = { class: "count-show" };
200
+ function Fo(e, t, n, r, o, a) {
201
+ return A(), F("div", ko, [
202
202
  oe(e.$slots, "default", {
203
203
  total: e.totalCount,
204
204
  online: e.onlineCount
205
205
  }, void 0, !0),
206
- C("span", Fo, ue(e.onlineCount) + "/" + ue(e.totalCount), 1)
206
+ C("span", Ro, ue(e.onlineCount) + "/" + ue(e.totalCount), 1)
207
207
  ]);
208
208
  }
209
- const dn = /* @__PURE__ */ de(Ao, [["render", Ro], ["__scopeId", "data-v-a063c331"]]), mn = Object.freeze(
209
+ const dn = /* @__PURE__ */ de(Ao, [["render", Fo], ["__scopeId", "data-v-a063c331"]]), mn = Object.freeze(
210
210
  {
211
211
  left: 0,
212
212
  top: 0,
@@ -324,39 +324,39 @@ function Wo(e, t) {
324
324
  };
325
325
  let a = n.body;
326
326
  [n, r].forEach((g) => {
327
- const v = [], O = g.hFlip, E = g.vFlip;
327
+ const p = [], O = g.hFlip, E = g.vFlip;
328
328
  let N = g.rotate;
329
- O ? E ? N += 2 : (v.push(
329
+ O ? E ? N += 2 : (p.push(
330
330
  "translate(" + (o.width + o.left).toString() + " " + (0 - o.top).toString() + ")"
331
- ), v.push("scale(-1 1)"), o.top = o.left = 0) : E && (v.push(
331
+ ), p.push("scale(-1 1)"), o.top = o.left = 0) : E && (p.push(
332
332
  "translate(" + (0 - o.left).toString() + " " + (o.height + o.top).toString() + ")"
333
- ), v.push("scale(1 -1)"), o.top = o.left = 0);
333
+ ), p.push("scale(1 -1)"), o.top = o.left = 0);
334
334
  let b;
335
335
  switch (N < 0 && (N -= Math.floor(N / 4) * 4), N = N % 4, N) {
336
336
  case 1:
337
- b = o.height / 2 + o.top, v.unshift(
337
+ b = o.height / 2 + o.top, p.unshift(
338
338
  "rotate(90 " + b.toString() + " " + b.toString() + ")"
339
339
  );
340
340
  break;
341
341
  case 2:
342
- v.unshift(
342
+ p.unshift(
343
343
  "rotate(180 " + (o.width / 2 + o.left).toString() + " " + (o.height / 2 + o.top).toString() + ")"
344
344
  );
345
345
  break;
346
346
  case 3:
347
- b = o.width / 2 + o.left, v.unshift(
347
+ b = o.width / 2 + o.left, p.unshift(
348
348
  "rotate(-90 " + b.toString() + " " + b.toString() + ")"
349
349
  );
350
350
  break;
351
351
  }
352
- N % 2 === 1 && (o.left !== o.top && (b = o.left, o.left = o.top, o.top = b), o.width !== o.height && (b = o.width, o.width = o.height, o.height = b)), v.length && (a = '<g transform="' + v.join(" ") + '">' + a + "</g>");
352
+ N % 2 === 1 && (o.left !== o.top && (b = o.left, o.left = o.top, o.top = b), o.width !== o.height && (b = o.width, o.width = o.height, o.height = b)), p.length && (a = '<g transform="' + p.join(" ") + '">' + a + "</g>");
353
353
  });
354
354
  const s = r.width, l = r.height, i = o.width, c = o.height;
355
- let u, _;
356
- return s === null ? (_ = l === null ? "1em" : l === "auto" ? c : l, u = Tt(_, i / c)) : (u = s === "auto" ? i : s, _ = l === null ? Tt(u, c / i) : l === "auto" ? c : l), {
355
+ let u, d;
356
+ return s === null ? (d = l === null ? "1em" : l === "auto" ? c : l, u = Tt(d, i / c)) : (u = s === "auto" ? i : s, d = l === null ? Tt(u, c / i) : l === "auto" ? c : l), {
357
357
  attributes: {
358
358
  width: u.toString(),
359
- height: _.toString(),
359
+ height: d.toString(),
360
360
  viewBox: o.left.toString() + " " + o.top.toString() + " " + i.toString() + " " + c.toString()
361
361
  },
362
362
  body: a
@@ -392,14 +392,14 @@ function Xo(e) {
392
392
  const yt = {
393
393
  ...hn,
394
394
  inline: !1
395
- }, Qo = {
395
+ }, Jo = {
396
396
  xmlns: "http://www.w3.org/2000/svg",
397
397
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
398
398
  "aria-hidden": !0,
399
399
  role: "img"
400
- }, Jo = {
400
+ }, Qo = {
401
401
  display: "inline-block"
402
- }, Qe = {
402
+ }, Je = {
403
403
  backgroundColor: "currentColor"
404
404
  }, vn = {
405
405
  backgroundColor: "transparent"
@@ -408,8 +408,8 @@ const yt = {
408
408
  Repeat: "no-repeat",
409
409
  Size: "100% 100%"
410
410
  }, It = {
411
- webkitMask: Qe,
412
- mask: Qe,
411
+ webkitMask: Je,
412
+ mask: Je,
413
413
  background: vn
414
414
  };
415
415
  for (const e in It) {
@@ -426,7 +426,7 @@ function St(e) {
426
426
  return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
427
427
  }
428
428
  const qo = (e, t) => {
429
- const n = $o(yt, t), r = { ...Qo }, o = t.mode || "svg", a = {}, s = t.style, l = typeof s == "object" && !(s instanceof Array) ? s : {};
429
+ const n = $o(yt, t), r = { ...Jo }, o = t.mode || "svg", a = {}, s = t.style, l = typeof s == "object" && !(s instanceof Array) ? s : {};
430
430
  for (let O in t) {
431
431
  const E = t[O];
432
432
  if (E !== void 0)
@@ -467,22 +467,22 @@ const qo = (e, t) => {
467
467
  ...l
468
468
  }, Object.assign(r, c);
469
469
  let O = 0, E = t.id;
470
- return typeof E == "string" && (E = E.replace(/-/g, "_")), r.innerHTML = Yo(i.body, E ? () => E + "ID" + O++ : "iconifyVue"), $e("svg", r);
470
+ return typeof E == "string" && (E = E.replace(/-/g, "_")), r.innerHTML = Yo(i.body, E ? () => E + "ID" + O++ : "iconifyVue"), Fe("svg", r);
471
471
  }
472
- const { body: u, width: _, height: d } = e, g = o === "mask" || (o === "bg" ? !1 : u.indexOf("currentColor") !== -1), v = zo(u, {
472
+ const { body: u, width: d, height: _ } = e, g = o === "mask" || (o === "bg" ? !1 : u.indexOf("currentColor") !== -1), p = zo(u, {
473
473
  ...c,
474
- width: _ + "",
475
- height: d + ""
474
+ width: d + "",
475
+ height: _ + ""
476
476
  });
477
477
  return r.style = {
478
478
  ...a,
479
- "--svg": Xo(v),
479
+ "--svg": Xo(p),
480
480
  width: St(c.width),
481
481
  height: St(c.height),
482
- ...Jo,
483
- ...g ? Qe : vn,
482
+ ...Qo,
483
+ ...g ? Je : vn,
484
484
  ...l
485
- }, $e("span", r);
485
+ }, Fe("span", r);
486
486
  }, En = /* @__PURE__ */ Object.create(null);
487
487
  function Ne(e, t) {
488
488
  En[e] = t;
@@ -534,11 +534,11 @@ const lr = {
534
534
  },
535
535
  setup(e) {
536
536
  const t = {
537
- screenHeight: x(0),
538
- startOffset: x(0),
539
- start: x(0),
540
- end: x(0)
541
- }, n = x(), r = {
537
+ screenHeight: M(0),
538
+ startOffset: M(0),
539
+ start: M(0),
540
+ end: M(0)
541
+ }, n = M(), r = {
542
542
  listHeight: W(() => e.listData.length * e.itemSize),
543
543
  visibleCount: W(() => Math.ceil(t.screenHeight.value / e.itemSize)),
544
544
  getTransform: W(() => `translate3d(0,${t.startOffset.value}px,0)`),
@@ -549,7 +549,7 @@ const lr = {
549
549
  }), t);
550
550
  },
551
551
  mounted() {
552
- this.init(), Me(() => this.listData.length, () => ar(this, null, function* () {
552
+ this.init(), $e(() => this.listData.length, () => ar(this, null, function* () {
553
553
  yield this.$nextTick(), this.init();
554
554
  }));
555
555
  },
@@ -566,7 +566,7 @@ const lr = {
566
566
  }
567
567
  };
568
568
  function ir(e, t, n, r, o, a) {
569
- return A(), R("div", {
569
+ return A(), F("div", {
570
570
  ref: "virList",
571
571
  class: "infinite-list-container",
572
572
  onScroll: t[0] || (t[0] = (s) => a.scrollEvent())
@@ -579,7 +579,7 @@ function ir(e, t, n, r, o, a) {
579
579
  class: "infinite-list",
580
580
  style: Le({ transform: e.getTransform })
581
581
  }, [
582
- (A(!0), R(Oe, null, Ce(e.visibleData, (s) => (A(), R("div", {
582
+ (A(!0), F(Oe, null, De(e.visibleData, (s) => (A(), F("div", {
583
583
  ref_for: !0,
584
584
  ref: "items",
585
585
  class: "infinite-list-item",
@@ -612,11 +612,11 @@ const hr = _e({
612
612
  controlParams: Object
613
613
  },
614
614
  setup(e, t) {
615
- const n = x(), r = fn("theme"), o = {
615
+ const n = M(), r = fn("theme"), o = {
616
616
  filterDevice(u) {
617
- var _, d, g, v, O;
617
+ var d, _, g, p, O;
618
618
  let E = !0;
619
- (_ = e.controlParams) != null && _.searchStr && (E = u.name.indexOf((d = e.controlParams) == null ? void 0 : d.searchStr) >= 0 || u.id.indexOf((g = e.controlParams) == null ? void 0 : g.searchStr) >= 0 || typeof u.user == "string" && u.user.indexOf((v = e.controlParams) == null ? void 0 : v.searchStr) >= 0);
619
+ (d = e.controlParams) != null && d.searchStr && (E = u.name.indexOf((_ = e.controlParams) == null ? void 0 : _.searchStr) >= 0 || u.id.indexOf((g = e.controlParams) == null ? void 0 : g.searchStr) >= 0 || typeof u.user == "string" && u.user.indexOf((p = e.controlParams) == null ? void 0 : p.searchStr) >= 0);
620
620
  let N = !0;
621
621
  return (O = e.controlParams) != null && O.onlyShowOnline && (N = u.online), E && N;
622
622
  },
@@ -630,20 +630,20 @@ const hr = _e({
630
630
  }, a = {
631
631
  filteredDevices: W(() => {
632
632
  var u;
633
- const _ = (u = e.deviceGroup) == null ? void 0 : u.devices, d = _ && _.filter((v) => o.filterDevice(v)) || [];
634
- return d.filter((v) => v.online).concat(d.filter((v) => !v.online));
633
+ const d = (u = e.deviceGroup) == null ? void 0 : u.devices, _ = d && d.filter((p) => o.filterDevice(p)) || [];
634
+ return _.filter((p) => p.online).concat(_.filter((p) => !p.online));
635
635
  })
636
636
  }, s = W(() => a.filteredDevices.value.length > 10 ? "400px" : `${a.filteredDevices.value.length * 40}px`);
637
- function l(u, _) {
638
- if (_.length == 0)
637
+ function l(u, d) {
638
+ if (d.length == 0)
639
639
  return !0;
640
- let d = !1;
641
- if ((u == null ? void 0 : u.name.indexOf(_)) > 0 && (d = !0), d || (d = (u == null ? void 0 : u.devices.find((g) => g.name.indexOf(_) >= 0 || g.id.indexOf(_) >= 0 || g.user && g.user.indexOf(_) >= 0)) != null), !d) {
640
+ let _ = !1;
641
+ if ((u == null ? void 0 : u.name.indexOf(d)) > 0 && (_ = !0), _ || (_ = (u == null ? void 0 : u.devices.find((g) => g.name.indexOf(d) >= 0 || g.id.indexOf(d) >= 0 || g.user && g.user.indexOf(d) >= 0)) != null), !_) {
642
642
  for (let g = 0; g < u.items.length; g++)
643
- if (l(u.items[g], _))
643
+ if (l(u.items[g], d))
644
644
  return !0;
645
645
  }
646
- return d;
646
+ return _;
647
647
  }
648
648
  const i = W(() => {
649
649
  if (e.controlParams) {
@@ -652,7 +652,7 @@ const hr = _e({
652
652
  return l(e.deviceGroup, u);
653
653
  }
654
654
  return !1;
655
- }), c = x(!1);
655
+ }), c = M(!1);
656
656
  return pr(gr({
657
657
  innerUtils: o
658
658
  }, a), {
@@ -680,7 +680,7 @@ const vr = {
680
680
  function Ir(e, t, n, r, o, a) {
681
681
  var s;
682
682
  const l = ie("Icon"), i = ie("CountShow"), c = ie("group-show"), u = ie("VirtualList");
683
- return e.showGroup ? (A(), R("div", {
683
+ return e.showGroup ? (A(), F("div", {
684
684
  key: 0,
685
685
  class: Xe("group " + e.theme)
686
686
  }, [
@@ -689,17 +689,17 @@ function Ir(e, t, n, r, o, a) {
689
689
  controlParams: e.controlParams,
690
690
  ref: "countRef"
691
691
  }, {
692
- default: ce(({ online: _, total: d }) => {
693
- var g, v;
692
+ default: ce(({ online: d, total: _ }) => {
693
+ var g, p;
694
694
  return [
695
- e.deviceGroup && e.deviceGroup.devices.length + e.deviceGroup.items.length > 0 ? (A(), R("span", vr, [
695
+ e.deviceGroup && e.deviceGroup.devices.length + e.deviceGroup.items.length > 0 ? (A(), F("span", vr, [
696
696
  se(l, {
697
697
  icon: e.bShow ? "minus" : "plus",
698
698
  width: "20",
699
699
  onClick: t[0] || (t[0] = (O) => e.bShow = !e.bShow),
700
700
  class: "handle-ls-svg"
701
701
  }, null, 8, ["icon"])
702
- ])) : (A(), R("span", Er)),
702
+ ])) : (A(), F("span", Er)),
703
703
  C("span", {
704
704
  class: "group-head-db-click",
705
705
  onDblclick: t[1] || (t[1] = (O) => e.bShow = !e.bShow)
@@ -709,10 +709,10 @@ function Ir(e, t, n, r, o, a) {
709
709
  width: "24",
710
710
  class: "group-avatar"
711
711
  }, null, 8, ["icon"]),
712
- e.bShow ? Be("", !0) : (A(), R("span", Or, ue((g = e.deviceGroup) == null ? void 0 : g.items.length), 1)),
712
+ e.bShow ? Be("", !0) : (A(), F("span", Or, ue((g = e.deviceGroup) == null ? void 0 : g.items.length), 1)),
713
713
  C("span", {
714
714
  class: "group-name",
715
- title: (v = e.deviceGroup) == null ? void 0 : v.name
715
+ title: (p = e.deviceGroup) == null ? void 0 : p.name
716
716
  }, ue(e.innerUtils.groupText(e.deviceGroup)), 9, Nr)
717
717
  ], 32),
718
718
  C("div", br, [
@@ -722,19 +722,19 @@ function Ir(e, t, n, r, o, a) {
722
722
  }),
723
723
  _: 3
724
724
  }, 8, ["countInfo", "controlParams"]),
725
- e.bShow ? (A(), R("div", Tr, [
726
- (A(!0), R(Oe, null, Ce((s = e.deviceGroup) == null ? void 0 : s.items, (_, d) => (A(), _n(c, {
727
- key: d,
728
- deviceGroup: _,
725
+ e.bShow ? (A(), F("div", Tr, [
726
+ (A(!0), F(Oe, null, De((s = e.deviceGroup) == null ? void 0 : s.items, (d, _) => (A(), _n(c, {
727
+ key: _,
728
+ deviceGroup: d,
729
729
  controlParams: e.controlParams
730
730
  }, {
731
731
  group: ce(({ group: g }) => [
732
732
  oe(e.$slots, "group", { group: g }, void 0, !0)
733
733
  ]),
734
- device: ce(({ device: g, group: v }) => [
734
+ device: ce(({ device: g, group: p }) => [
735
735
  oe(e.$slots, "device", {
736
736
  device: g,
737
- group: v
737
+ group: p
738
738
  }, void 0, !0)
739
739
  ]),
740
740
  _: 2
@@ -747,9 +747,9 @@ function Ir(e, t, n, r, o, a) {
747
747
  "list-data": e.filteredDevices,
748
748
  "item-size": 40
749
749
  }, {
750
- default: ce(({ data: _ }) => [
750
+ default: ce(({ data: d }) => [
751
751
  C("div", {
752
- class: Xe(_.online && "online-device")
752
+ class: Xe(d.online && "online-device")
753
753
  }, [
754
754
  se(l, {
755
755
  icon: "user",
@@ -757,12 +757,12 @@ function Ir(e, t, n, r, o, a) {
757
757
  class: "device-avatar"
758
758
  }),
759
759
  C("span", {
760
- title: e.innerUtils.deviceText(_),
760
+ title: e.innerUtils.deviceText(d),
761
761
  class: "device-name"
762
- }, ue(e.innerUtils.deviceText(_)), 9, yr),
762
+ }, ue(e.innerUtils.deviceText(d)), 9, yr),
763
763
  C("div", Lr, [
764
764
  oe(e.$slots, "device", {
765
- device: _,
765
+ device: d,
766
766
  group: e.deviceGroup
767
767
  }, void 0, !0)
768
768
  ])
@@ -812,40 +812,40 @@ if (process.env.NODE_ENV !== "production") {
812
812
  e.measure(t, n, r), e.clearMarks(n), e.clearMarks(r);
813
813
  });
814
814
  }
815
- const Fr = /\{([0-9a-zA-Z]+)\}/g;
815
+ const Rr = /\{([0-9a-zA-Z]+)\}/g;
816
816
  function ut(e, ...t) {
817
- return t.length === 1 && S(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(Fr, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
817
+ return t.length === 1 && S(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(Rr, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
818
818
  }
819
- const Rr = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol", ne = (e) => Rr ? Symbol(e) : e, $r = (e, t, n) => Mr({ l: e, k: t, s: n }), Mr = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), M = (e) => typeof e == "number" && isFinite(e), Vr = (e) => dt(e) === "[object Date]", Ve = (e) => dt(e) === "[object RegExp]", xe = (e) => y(e) && Object.keys(e).length === 0;
819
+ const Fr = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol", ne = (e) => Fr ? Symbol(e) : e, $r = (e, t, n) => Mr({ l: e, k: t, s: n }), Mr = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), V = (e) => typeof e == "number" && isFinite(e), Vr = (e) => dt(e) === "[object Date]", Me = (e) => dt(e) === "[object RegExp]", xe = (e) => y(e) && Object.keys(e).length === 0;
820
820
  function be(e, t) {
821
821
  typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
822
822
  }
823
823
  const j = Object.assign;
824
824
  let kt;
825
825
  const ft = () => kt || (kt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
826
- function Ft(e) {
826
+ function Rt(e) {
827
827
  return e.replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;");
828
828
  }
829
829
  const Ur = Object.prototype.hasOwnProperty;
830
830
  function _t(e, t) {
831
831
  return Ur.call(e, t);
832
832
  }
833
- const k = Array.isArray, $ = (e) => typeof e == "function", h = (e) => typeof e == "string", P = (e) => typeof e == "boolean", S = (e) => e !== null && typeof e == "object", On = Object.prototype.toString, dt = (e) => On.call(e), y = (e) => dt(e) === "[object Object]", xr = (e) => e == null ? "" : k(e) || y(e) && e.toString === On ? JSON.stringify(e, null, 2) : String(e), Rt = 2;
833
+ const k = Array.isArray, $ = (e) => typeof e == "function", v = (e) => typeof e == "string", P = (e) => typeof e == "boolean", S = (e) => e !== null && typeof e == "object", On = Object.prototype.toString, dt = (e) => On.call(e), y = (e) => dt(e) === "[object Object]", xr = (e) => e == null ? "" : k(e) || y(e) && e.toString === On ? JSON.stringify(e, null, 2) : String(e), Ft = 2;
834
834
  function Gr(e, t = 0, n = e.length) {
835
835
  const r = e.split(/\r?\n/);
836
836
  let o = 0;
837
837
  const a = [];
838
838
  for (let s = 0; s < r.length; s++)
839
839
  if (o += r[s].length + 1, o >= t) {
840
- for (let l = s - Rt; l <= s + Rt || n > o; l++) {
840
+ for (let l = s - Ft; l <= s + Ft || n > o; l++) {
841
841
  if (l < 0 || l >= r.length)
842
842
  continue;
843
843
  const i = l + 1;
844
844
  a.push(`${i}${" ".repeat(3 - String(i).length)}| ${r[l]}`);
845
845
  const c = r[l].length;
846
846
  if (l === s) {
847
- const u = t - (o - c) + 1, _ = Math.max(1, n > o ? c - u : n - t);
848
- a.push(" | " + " ".repeat(u) + "^".repeat(_));
847
+ const u = t - (o - c) + 1, d = Math.max(1, n > o ? c - u : n - t);
848
+ a.push(" | " + " ".repeat(u) + "^".repeat(d));
849
849
  } else if (l > s) {
850
850
  if (n > o) {
851
851
  const u = Math.max(Math.min(n - o, c), 1);
@@ -1017,31 +1017,31 @@ function zr(e) {
1017
1017
  }
1018
1018
  function Kr(e) {
1019
1019
  const t = [];
1020
- let n = -1, r = 0, o = 0, a, s, l, i, c, u, _;
1021
- const d = [];
1022
- d[0] = () => {
1020
+ let n = -1, r = 0, o = 0, a, s, l, i, c, u, d;
1021
+ const _ = [];
1022
+ _[0] = () => {
1023
1023
  s === void 0 ? s = l : s += l;
1024
- }, d[1] = () => {
1024
+ }, _[1] = () => {
1025
1025
  s !== void 0 && (t.push(s), s = void 0);
1026
- }, d[2] = () => {
1027
- d[0](), o++;
1028
- }, d[3] = () => {
1026
+ }, _[2] = () => {
1027
+ _[0](), o++;
1028
+ }, _[3] = () => {
1029
1029
  if (o > 0)
1030
- o--, r = 4, d[0]();
1030
+ o--, r = 4, _[0]();
1031
1031
  else {
1032
1032
  if (o = 0, s === void 0 || (s = zr(s), s === !1))
1033
1033
  return !1;
1034
- d[1]();
1034
+ _[1]();
1035
1035
  }
1036
1036
  };
1037
1037
  function g() {
1038
- const v = e[n + 1];
1039
- if (r === 5 && v === "'" || r === 6 && v === '"')
1040
- return n++, l = "\\" + v, d[0](), !0;
1038
+ const p = e[n + 1];
1039
+ if (r === 5 && p === "'" || r === 6 && p === '"')
1040
+ return n++, l = "\\" + p, _[0](), !0;
1041
1041
  }
1042
1042
  for (; r !== null; )
1043
1043
  if (n++, a = e[n], !(a === "\\" && g())) {
1044
- if (i = Yr(a), _ = ae[r], c = _[i] || _.l || 8, c === 8 || (r = c[0], c[1] !== void 0 && (u = d[c[1]], u && (l = a, u() === !1))))
1044
+ if (i = Yr(a), d = ae[r], c = d[i] || d.l || 8, c === 8 || (r = c[0], c[1] !== void 0 && (u = _[c[1]], u && (l = a, u() === !1))))
1045
1045
  return;
1046
1046
  if (r === 7)
1047
1047
  return t;
@@ -1051,7 +1051,7 @@ const $t = /* @__PURE__ */ new Map();
1051
1051
  function Xr(e, t) {
1052
1052
  return S(e) ? e[t] : null;
1053
1053
  }
1054
- function Qr(e, t) {
1054
+ function Jr(e, t) {
1055
1055
  if (!S(e))
1056
1056
  return null;
1057
1057
  let n = $t.get(t);
@@ -1067,49 +1067,49 @@ function Qr(e, t) {
1067
1067
  }
1068
1068
  return o;
1069
1069
  }
1070
- const Jr = (e) => e, qr = (e) => "", Zr = "text", es = (e) => e.length === 0 ? "" : e.join(""), ts = xr;
1070
+ const Qr = (e) => e, qr = (e) => "", Zr = "text", es = (e) => e.length === 0 ? "" : e.join(""), ts = xr;
1071
1071
  function Mt(e, t) {
1072
1072
  return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
1073
1073
  }
1074
1074
  function ns(e) {
1075
- const t = M(e.pluralIndex) ? e.pluralIndex : -1;
1076
- return e.named && (M(e.named.count) || M(e.named.n)) ? M(e.named.count) ? e.named.count : M(e.named.n) ? e.named.n : t : t;
1075
+ const t = V(e.pluralIndex) ? e.pluralIndex : -1;
1076
+ return e.named && (V(e.named.count) || V(e.named.n)) ? V(e.named.count) ? e.named.count : V(e.named.n) ? e.named.n : t : t;
1077
1077
  }
1078
1078
  function os(e, t) {
1079
1079
  t.count || (t.count = e), t.n || (t.n = e);
1080
1080
  }
1081
1081
  function rs(e = {}) {
1082
- const t = e.locale, n = ns(e), r = S(e.pluralRules) && h(t) && $(e.pluralRules[t]) ? e.pluralRules[t] : Mt, o = S(e.pluralRules) && h(t) && $(e.pluralRules[t]) ? Mt : void 0, a = (N) => N[r(n, N.length, o)], s = e.list || [], l = (N) => s[N], i = e.named || {};
1083
- M(e.pluralIndex) && os(n, i);
1082
+ const t = e.locale, n = ns(e), r = S(e.pluralRules) && v(t) && $(e.pluralRules[t]) ? e.pluralRules[t] : Mt, o = S(e.pluralRules) && v(t) && $(e.pluralRules[t]) ? Mt : void 0, a = (N) => N[r(n, N.length, o)], s = e.list || [], l = (N) => s[N], i = e.named || {};
1083
+ V(e.pluralIndex) && os(n, i);
1084
1084
  const c = (N) => i[N];
1085
1085
  function u(N) {
1086
1086
  const b = $(e.messages) ? e.messages(N) : S(e.messages) ? e.messages[N] : !1;
1087
1087
  return b || (e.parent ? e.parent.message(N) : qr);
1088
1088
  }
1089
- const _ = (N) => e.modifiers ? e.modifiers[N] : Jr, d = y(e.processor) && $(e.processor.normalize) ? e.processor.normalize : es, g = y(e.processor) && $(e.processor.interpolate) ? e.processor.interpolate : ts, v = y(e.processor) && h(e.processor.type) ? e.processor.type : Zr, E = {
1089
+ const d = (N) => e.modifiers ? e.modifiers[N] : Qr, _ = y(e.processor) && $(e.processor.normalize) ? e.processor.normalize : es, g = y(e.processor) && $(e.processor.interpolate) ? e.processor.interpolate : ts, p = y(e.processor) && v(e.processor.type) ? e.processor.type : Zr, E = {
1090
1090
  list: l,
1091
1091
  named: c,
1092
1092
  plural: a,
1093
1093
  linked: (N, ...b) => {
1094
1094
  const [I, T] = b;
1095
- let p = "text", w = "";
1096
- b.length === 1 ? S(I) ? (w = I.modifier || w, p = I.type || p) : h(I) && (w = I || w) : b.length === 2 && (h(I) && (w = I || w), h(T) && (p = T || p));
1095
+ let h = "text", w = "";
1096
+ b.length === 1 ? S(I) ? (w = I.modifier || w, h = I.type || h) : v(I) && (w = I || w) : b.length === 2 && (v(I) && (w = I || w), v(T) && (h = T || h));
1097
1097
  let L = u(N)(E);
1098
- return p === "vnode" && k(L) && w && (L = L[0]), w ? _(w)(L, p) : L;
1098
+ return h === "vnode" && k(L) && w && (L = L[0]), w ? d(w)(L, h) : L;
1099
1099
  },
1100
1100
  message: u,
1101
- type: v,
1101
+ type: p,
1102
1102
  interpolate: g,
1103
- normalize: d
1103
+ normalize: _
1104
1104
  };
1105
1105
  return E;
1106
1106
  }
1107
- let we = null;
1107
+ let Se = null;
1108
1108
  function ss(e) {
1109
- we = e;
1109
+ Se = e;
1110
1110
  }
1111
1111
  function as(e, t, n) {
1112
- we && we.emit(Tn.I18nInit, {
1112
+ Se && Se.emit(Tn.I18nInit, {
1113
1113
  timestamp: Date.now(),
1114
1114
  i18n: e,
1115
1115
  version: t,
@@ -1118,7 +1118,7 @@ function as(e, t, n) {
1118
1118
  }
1119
1119
  const ls = /* @__PURE__ */ is(Tn.FunctionTranslate);
1120
1120
  function is(e) {
1121
- return (t) => we && we.emit(e, t);
1121
+ return (t) => Se && Se.emit(e, t);
1122
1122
  }
1123
1123
  const K = {
1124
1124
  NOT_FOUND_KEY: 1,
@@ -1142,11 +1142,11 @@ function Ee(e, ...t) {
1142
1142
  function us(e, t, n) {
1143
1143
  return [.../* @__PURE__ */ new Set([
1144
1144
  n,
1145
- ...k(t) ? t : S(t) ? Object.keys(t) : h(t) ? [t] : [n]
1145
+ ...k(t) ? t : S(t) ? Object.keys(t) : v(t) ? [t] : [n]
1146
1146
  ])];
1147
1147
  }
1148
1148
  function yn(e, t, n) {
1149
- const r = h(n) ? n : mt, o = e;
1149
+ const r = v(n) ? n : mt, o = e;
1150
1150
  o.__localeChainCache || (o.__localeChainCache = /* @__PURE__ */ new Map());
1151
1151
  let a = o.__localeChainCache.get(r);
1152
1152
  if (!a) {
@@ -1155,7 +1155,7 @@ function yn(e, t, n) {
1155
1155
  for (; k(s); )
1156
1156
  s = Vt(a, s, t);
1157
1157
  const l = k(t) || !y(t) ? t : t.default ? t.default : null;
1158
- s = h(l) ? [l] : l, k(s) && Vt(a, s, !1), o.__localeChainCache.set(r, a);
1158
+ s = v(l) ? [l] : l, k(s) && Vt(a, s, !1), o.__localeChainCache.set(r, a);
1159
1159
  }
1160
1160
  return a;
1161
1161
  }
@@ -1163,7 +1163,7 @@ function Vt(e, t, n) {
1163
1163
  let r = !0;
1164
1164
  for (let o = 0; o < t.length && P(r); o++) {
1165
1165
  const a = t[o];
1166
- h(a) && (r = fs(e, t[o], n));
1166
+ v(a) && (r = fs(e, t[o], n));
1167
1167
  }
1168
1168
  return r;
1169
1169
  }
@@ -1185,12 +1185,12 @@ function _s(e, t, n) {
1185
1185
  }
1186
1186
  return r;
1187
1187
  }
1188
- const ds = "9.2.2", Ge = -1, mt = "en-US", Ue = "", Ut = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1188
+ const ds = "9.2.2", Ge = -1, mt = "en-US", Ve = "", Ut = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1189
1189
  function ms() {
1190
1190
  return {
1191
- upper: (e, t) => t === "text" && h(e) ? e.toUpperCase() : t === "vnode" && S(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1192
- lower: (e, t) => t === "text" && h(e) ? e.toLowerCase() : t === "vnode" && S(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
1193
- capitalize: (e, t) => t === "text" && h(e) ? Ut(e) : t === "vnode" && S(e) && "__v_isVNode" in e ? Ut(e.children) : e
1191
+ upper: (e, t) => t === "text" && v(e) ? e.toUpperCase() : t === "vnode" && S(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1192
+ lower: (e, t) => t === "text" && v(e) ? e.toLowerCase() : t === "vnode" && S(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
1193
+ capitalize: (e, t) => t === "text" && v(e) ? Ut(e) : t === "vnode" && S(e) && "__v_isVNode" in e ? Ut(e.children) : e
1194
1194
  };
1195
1195
  }
1196
1196
  let gs, Ln;
@@ -1211,7 +1211,7 @@ const Gt = (e) => {
1211
1211
  }, Es = () => wn;
1212
1212
  let Wt = 0;
1213
1213
  function Os(e = {}) {
1214
- const t = h(e.version) ? e.version : ds, n = h(e.locale) ? e.locale : mt, r = k(e.fallbackLocale) || y(e.fallbackLocale) || h(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : n, o = y(e.messages) ? e.messages : { [n]: {} }, a = y(e.datetimeFormats) ? e.datetimeFormats : { [n]: {} }, s = y(e.numberFormats) ? e.numberFormats : { [n]: {} }, l = j({}, e.modifiers || {}, ms()), i = e.pluralRules || {}, c = $(e.missing) ? e.missing : null, u = P(e.missingWarn) || Ve(e.missingWarn) ? e.missingWarn : !0, _ = P(e.fallbackWarn) || Ve(e.fallbackWarn) ? e.fallbackWarn : !0, d = !!e.fallbackFormat, g = !!e.unresolving, v = $(e.postTranslation) ? e.postTranslation : null, O = y(e.processor) ? e.processor : null, E = P(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, N = !!e.escapeParameter, b = $(e.messageCompiler) ? e.messageCompiler : gs, I = $(e.messageResolver) ? e.messageResolver : Ln || Xr, T = $(e.localeFallbacker) ? e.localeFallbacker : In || us, p = S(e.fallbackContext) ? e.fallbackContext : void 0, w = $(e.onWarn) ? e.onWarn : be, L = e, V = S(L.__datetimeFormatters) ? L.__datetimeFormatters : /* @__PURE__ */ new Map(), z = S(L.__numberFormatters) ? L.__numberFormatters : /* @__PURE__ */ new Map(), J = S(L.__meta) ? L.__meta : {};
1214
+ const t = v(e.version) ? e.version : ds, n = v(e.locale) ? e.locale : mt, r = k(e.fallbackLocale) || y(e.fallbackLocale) || v(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : n, o = y(e.messages) ? e.messages : { [n]: {} }, a = y(e.datetimeFormats) ? e.datetimeFormats : { [n]: {} }, s = y(e.numberFormats) ? e.numberFormats : { [n]: {} }, l = j({}, e.modifiers || {}, ms()), i = e.pluralRules || {}, c = $(e.missing) ? e.missing : null, u = P(e.missingWarn) || Me(e.missingWarn) ? e.missingWarn : !0, d = P(e.fallbackWarn) || Me(e.fallbackWarn) ? e.fallbackWarn : !0, _ = !!e.fallbackFormat, g = !!e.unresolving, p = $(e.postTranslation) ? e.postTranslation : null, O = y(e.processor) ? e.processor : null, E = P(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, N = !!e.escapeParameter, b = $(e.messageCompiler) ? e.messageCompiler : gs, I = $(e.messageResolver) ? e.messageResolver : Ln || Xr, T = $(e.localeFallbacker) ? e.localeFallbacker : In || us, h = S(e.fallbackContext) ? e.fallbackContext : void 0, w = $(e.onWarn) ? e.onWarn : be, L = e, U = S(L.__datetimeFormatters) ? L.__datetimeFormatters : /* @__PURE__ */ new Map(), z = S(L.__numberFormatters) ? L.__numberFormatters : /* @__PURE__ */ new Map(), Q = S(L.__meta) ? L.__meta : {};
1215
1215
  Wt++;
1216
1216
  const q = {
1217
1217
  version: t,
@@ -1223,21 +1223,21 @@ function Os(e = {}) {
1223
1223
  pluralRules: i,
1224
1224
  missing: c,
1225
1225
  missingWarn: u,
1226
- fallbackWarn: _,
1227
- fallbackFormat: d,
1226
+ fallbackWarn: d,
1227
+ fallbackFormat: _,
1228
1228
  unresolving: g,
1229
- postTranslation: v,
1229
+ postTranslation: p,
1230
1230
  processor: O,
1231
1231
  warnHtmlMessage: E,
1232
1232
  escapeParameter: N,
1233
1233
  messageCompiler: b,
1234
1234
  messageResolver: I,
1235
1235
  localeFallbacker: T,
1236
- fallbackContext: p,
1236
+ fallbackContext: h,
1237
1237
  onWarn: w,
1238
- __meta: J
1238
+ __meta: Q
1239
1239
  };
1240
- return q.datetimeFormats = a, q.numberFormats = s, q.__datetimeFormatters = V, q.__numberFormatters = z, process.env.NODE_ENV !== "production" && (q.__v_emitter = L.__v_emitter != null ? L.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && as(q, t, J), q;
1240
+ return q.datetimeFormats = a, q.numberFormats = s, q.__datetimeFormatters = U, q.__numberFormatters = z, process.env.NODE_ENV !== "production" && (q.__v_emitter = L.__v_emitter != null ? L.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && as(q, t, Q), q;
1241
1241
  }
1242
1242
  function We(e, t) {
1243
1243
  return e instanceof RegExp ? e.test(t) : e;
@@ -1258,7 +1258,7 @@ function gt(e, t, n, r, o) {
1258
1258
  }
1259
1259
  if (a !== null) {
1260
1260
  const l = a(e, n, t, o);
1261
- return h(l) ? l : t;
1261
+ return v(l) ? l : t;
1262
1262
  } else
1263
1263
  return process.env.NODE_ENV !== "production" && Dn(r, t) && s(Ee(K.NOT_FOUND_KEY, { key: t, locale: n })), t;
1264
1264
  }
@@ -1282,62 +1282,62 @@ const Ns = {
1282
1282
  [re.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string"
1283
1283
  }, Ht = () => "", ee = (e) => $(e);
1284
1284
  function jt(e, ...t) {
1285
- const { fallbackFormat: n, postTranslation: r, unresolving: o, messageCompiler: a, fallbackLocale: s, messages: l } = e, [i, c] = Je(...t), u = P(c.missingWarn) ? c.missingWarn : e.missingWarn, _ = P(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, d = P(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, g = !!c.resolvedMessage, v = h(c.default) || P(c.default) ? P(c.default) ? a ? i : () => i : c.default : n ? a ? i : () => i : "", O = n || v !== "", E = h(c.locale) ? c.locale : e.locale;
1286
- d && bs(c);
1285
+ const { fallbackFormat: n, postTranslation: r, unresolving: o, messageCompiler: a, fallbackLocale: s, messages: l } = e, [i, c] = Qe(...t), u = P(c.missingWarn) ? c.missingWarn : e.missingWarn, d = P(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, _ = P(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, g = !!c.resolvedMessage, p = v(c.default) || P(c.default) ? P(c.default) ? a ? i : () => i : c.default : n ? a ? i : () => i : "", O = n || p !== "", E = v(c.locale) ? c.locale : e.locale;
1286
+ _ && bs(c);
1287
1287
  let [N, b, I] = g ? [
1288
1288
  i,
1289
1289
  E,
1290
1290
  l[E] || {}
1291
- ] : Pn(e, i, E, s, _, u), T = N, p = i;
1292
- if (!g && !(h(T) || ee(T)) && O && (T = v, p = T), !g && (!(h(T) || ee(T)) || !h(b)))
1291
+ ] : Pn(e, i, E, s, d, u), T = N, h = i;
1292
+ if (!g && !(v(T) || ee(T)) && O && (T = p, h = T), !g && (!(v(T) || ee(T)) || !v(b)))
1293
1293
  return o ? Ge : i;
1294
- if (process.env.NODE_ENV !== "production" && h(T) && e.messageCompiler == null)
1294
+ if (process.env.NODE_ENV !== "production" && v(T) && e.messageCompiler == null)
1295
1295
  return be(`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;
1296
1296
  let w = !1;
1297
1297
  const L = () => {
1298
1298
  w = !0;
1299
- }, V = ee(T) ? T : An(e, i, b, T, p, L);
1299
+ }, U = ee(T) ? T : An(e, i, b, T, h, L);
1300
1300
  if (w)
1301
1301
  return T;
1302
- const z = Ls(e, b, I, c), J = rs(z), q = Ts(e, V, J), Pe = r ? r(q, i) : q;
1302
+ const z = Ls(e, b, I, c), Q = rs(z), q = Ts(e, U, Q), Ce = r ? r(q, i) : q;
1303
1303
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
1304
- const Ae = {
1304
+ const Pe = {
1305
1305
  timestamp: Date.now(),
1306
- key: h(i) ? i : ee(T) ? T.key : "",
1306
+ key: v(i) ? i : ee(T) ? T.key : "",
1307
1307
  locale: b || (ee(T) ? T.locale : ""),
1308
- format: h(T) ? T : ee(T) ? T.source : "",
1309
- message: Pe
1308
+ format: v(T) ? T : ee(T) ? T.source : "",
1309
+ message: Ce
1310
1310
  };
1311
- Ae.meta = j({}, e.__meta, vs() || {}), ls(Ae);
1311
+ Pe.meta = j({}, e.__meta, vs() || {}), ls(Pe);
1312
1312
  }
1313
- return Pe;
1313
+ return Ce;
1314
1314
  }
1315
1315
  function bs(e) {
1316
- k(e.list) ? e.list = e.list.map((t) => h(t) ? Ft(t) : t) : S(e.named) && Object.keys(e.named).forEach((t) => {
1317
- h(e.named[t]) && (e.named[t] = Ft(e.named[t]));
1316
+ k(e.list) ? e.list = e.list.map((t) => v(t) ? Rt(t) : t) : S(e.named) && Object.keys(e.named).forEach((t) => {
1317
+ v(e.named[t]) && (e.named[t] = Rt(e.named[t]));
1318
1318
  });
1319
1319
  }
1320
1320
  function Pn(e, t, n, r, o, a) {
1321
1321
  const { messages: s, onWarn: l, messageResolver: i, localeFallbacker: c } = e, u = c(e, r, n);
1322
- let _ = {}, d, g = null, v = n, O = null;
1322
+ let d = {}, _, g = null, p = n, O = null;
1323
1323
  const E = "translate";
1324
1324
  for (let N = 0; N < u.length; N++) {
1325
- if (d = O = u[N], process.env.NODE_ENV !== "production" && n !== d && We(o, t) && l(Ee(K.FALLBACK_TO_TRANSLATE, {
1325
+ if (_ = O = u[N], process.env.NODE_ENV !== "production" && n !== _ && We(o, t) && l(Ee(K.FALLBACK_TO_TRANSLATE, {
1326
1326
  key: t,
1327
- target: d
1328
- })), process.env.NODE_ENV !== "production" && n !== d) {
1327
+ target: _
1328
+ })), process.env.NODE_ENV !== "production" && n !== _) {
1329
1329
  const w = e.__v_emitter;
1330
1330
  w && w.emit("fallback", {
1331
1331
  type: E,
1332
1332
  key: t,
1333
- from: v,
1333
+ from: p,
1334
1334
  to: O,
1335
1335
  groupId: `${E}:${t}`
1336
1336
  });
1337
1337
  }
1338
- _ = s[d] || {};
1338
+ d = s[_] || {};
1339
1339
  let b = null, I, T;
1340
- if (process.env.NODE_ENV !== "production" && te && (b = window.performance.now(), I = "intlify-message-resolve-start", T = "intlify-message-resolve-end", X && X(I)), (g = i(_, t)) === null && (g = _[t]), process.env.NODE_ENV !== "production" && te) {
1340
+ if (process.env.NODE_ENV !== "production" && te && (b = window.performance.now(), I = "intlify-message-resolve-start", T = "intlify-message-resolve-end", X && X(I)), (g = i(d, t)) === null && (g = d[t]), process.env.NODE_ENV !== "production" && te) {
1341
1341
  const w = window.performance.now(), L = e.__v_emitter;
1342
1342
  L && b && g && L.emit("message-resolve", {
1343
1343
  type: "message-resolve",
@@ -1347,42 +1347,42 @@ function Pn(e, t, n, r, o, a) {
1347
1347
  groupId: `${E}:${t}`
1348
1348
  }), I && T && X && fe && (X(T), fe("intlify message resolve", I, T));
1349
1349
  }
1350
- if (h(g) || $(g))
1350
+ if (v(g) || $(g))
1351
1351
  break;
1352
- const p = gt(
1352
+ const h = gt(
1353
1353
  e,
1354
1354
  t,
1355
- d,
1355
+ _,
1356
1356
  a,
1357
1357
  E
1358
1358
  );
1359
- p !== t && (g = p), v = O;
1359
+ h !== t && (g = h), p = O;
1360
1360
  }
1361
- return [g, d, _];
1361
+ return [g, _, d];
1362
1362
  }
1363
1363
  function An(e, t, n, r, o, a) {
1364
1364
  const { messageCompiler: s, warnHtmlMessage: l } = e;
1365
1365
  if (ee(r)) {
1366
- const d = r;
1367
- return d.locale = d.locale || n, d.key = d.key || t, d;
1366
+ const _ = r;
1367
+ return _.locale = _.locale || n, _.key = _.key || t, _;
1368
1368
  }
1369
1369
  if (s == null) {
1370
- const d = () => r;
1371
- return d.locale = n, d.key = t, d;
1370
+ const _ = () => r;
1371
+ return _.locale = n, _.key = t, _;
1372
1372
  }
1373
1373
  let i = null, c, u;
1374
1374
  process.env.NODE_ENV !== "production" && te && (i = window.performance.now(), c = "intlify-message-compilation-start", u = "intlify-message-compilation-end", X && X(c));
1375
- const _ = s(r, ys(e, n, o, r, l, a));
1375
+ const d = s(r, ys(e, n, o, r, l, a));
1376
1376
  if (process.env.NODE_ENV !== "production" && te) {
1377
- const d = window.performance.now(), g = e.__v_emitter;
1377
+ const _ = window.performance.now(), g = e.__v_emitter;
1378
1378
  g && i && g.emit("message-compilation", {
1379
1379
  type: "message-compilation",
1380
1380
  message: r,
1381
- time: d - i,
1381
+ time: _ - i,
1382
1382
  groupId: `translate:${t}`
1383
1383
  }), c && u && X && fe && (X(u), fe("intlify message compilation", c, u));
1384
1384
  }
1385
- return _.locale = n, _.key = t, _.source = r, _;
1385
+ return d.locale = n, d.key = t, d.source = r, d;
1386
1386
  }
1387
1387
  function Ts(e, t, n) {
1388
1388
  let r = null, o, a;
@@ -1399,12 +1399,12 @@ function Ts(e, t, n) {
1399
1399
  }
1400
1400
  return s;
1401
1401
  }
1402
- function Je(...e) {
1402
+ function Qe(...e) {
1403
1403
  const [t, n, r] = e, o = {};
1404
- if (!h(t) && !M(t) && !ee(t))
1404
+ if (!v(t) && !V(t) && !ee(t))
1405
1405
  throw ve(re.INVALID_ARGUMENT);
1406
- const a = M(t) ? String(t) : (ee(t), t);
1407
- return M(n) ? o.plural = n : h(n) ? o.default = n : y(n) && !xe(n) ? o.named = n : k(n) && (o.list = n), M(r) ? o.plural = r : h(r) ? o.default = r : y(r) && j(o, r), [a, o];
1406
+ const a = V(t) ? String(t) : (ee(t), t);
1407
+ return V(n) ? o.plural = n : v(n) ? o.default = n : y(n) && !xe(n) ? o.named = n : k(n) && (o.list = n), V(r) ? o.plural = r : v(r) ? o.default = r : y(r) && j(o, r), [a, o];
1408
1408
  }
1409
1409
  function ys(e, t, n, r, o, a) {
1410
1410
  return {
@@ -1427,27 +1427,27 @@ ${i}` : l);
1427
1427
  };
1428
1428
  }
1429
1429
  function Ls(e, t, n, r) {
1430
- const { modifiers: o, pluralRules: a, messageResolver: s, fallbackLocale: l, fallbackWarn: i, missingWarn: c, fallbackContext: u } = e, d = {
1430
+ const { modifiers: o, pluralRules: a, messageResolver: s, fallbackLocale: l, fallbackWarn: i, missingWarn: c, fallbackContext: u } = e, _ = {
1431
1431
  locale: t,
1432
1432
  modifiers: o,
1433
1433
  pluralRules: a,
1434
1434
  messages: (g) => {
1435
- let v = s(n, g);
1436
- if (v == null && u) {
1435
+ let p = s(n, g);
1436
+ if (p == null && u) {
1437
1437
  const [, , O] = Pn(u, g, t, l, i, c);
1438
- v = s(O, g);
1438
+ p = s(O, g);
1439
1439
  }
1440
- if (h(v)) {
1440
+ if (v(p)) {
1441
1441
  let O = !1;
1442
- const N = An(e, g, t, v, g, () => {
1442
+ const N = An(e, g, t, p, g, () => {
1443
1443
  O = !0;
1444
1444
  });
1445
1445
  return O ? Ht : N;
1446
1446
  } else
1447
- return ee(v) ? v : Ht;
1447
+ return ee(p) ? p : Ht;
1448
1448
  }
1449
1449
  };
1450
- return e.processor && (d.processor = e.processor), r.list && (d.list = r.list), r.named && (d.named = r.named), M(r.plural) && (d.pluralIndex = r.plural), d;
1450
+ return e.processor && (_.processor = e.processor), r.list && (_.list = r.list), r.named && (_.named = r.named), V(r.plural) && (_.pluralIndex = r.plural), _;
1451
1451
  }
1452
1452
  const Bt = typeof Intl < "u", kn = {
1453
1453
  dateTimeFormat: Bt && typeof Intl.DateTimeFormat < "u",
@@ -1456,42 +1456,42 @@ const Bt = typeof Intl < "u", kn = {
1456
1456
  function Yt(e, ...t) {
1457
1457
  const { datetimeFormats: n, unresolving: r, fallbackLocale: o, onWarn: a, localeFallbacker: s } = e, { __datetimeFormatters: l } = e;
1458
1458
  if (process.env.NODE_ENV !== "production" && !kn.dateTimeFormat)
1459
- return a(Ee(K.CANNOT_FORMAT_DATE)), Ue;
1460
- const [i, c, u, _] = qe(...t), d = P(u.missingWarn) ? u.missingWarn : e.missingWarn, g = P(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, v = !!u.part, O = h(u.locale) ? u.locale : e.locale, E = s(
1459
+ return a(Ee(K.CANNOT_FORMAT_DATE)), Ve;
1460
+ const [i, c, u, d] = qe(...t), _ = P(u.missingWarn) ? u.missingWarn : e.missingWarn, g = P(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, p = !!u.part, O = v(u.locale) ? u.locale : e.locale, E = s(
1461
1461
  e,
1462
1462
  o,
1463
1463
  O
1464
1464
  );
1465
- if (!h(i) || i === "")
1466
- return new Intl.DateTimeFormat(O, _).format(c);
1467
- let N = {}, b, I = null, T = O, p = null;
1465
+ if (!v(i) || i === "")
1466
+ return new Intl.DateTimeFormat(O, d).format(c);
1467
+ let N = {}, b, I = null, T = O, h = null;
1468
1468
  const w = "datetime format";
1469
1469
  for (let z = 0; z < E.length; z++) {
1470
- if (b = p = E[z], process.env.NODE_ENV !== "production" && O !== b && We(g, i) && a(Ee(K.FALLBACK_TO_DATE_FORMAT, {
1470
+ if (b = h = E[z], process.env.NODE_ENV !== "production" && O !== b && We(g, i) && a(Ee(K.FALLBACK_TO_DATE_FORMAT, {
1471
1471
  key: i,
1472
1472
  target: b
1473
1473
  })), process.env.NODE_ENV !== "production" && O !== b) {
1474
- const J = e.__v_emitter;
1475
- J && J.emit("fallback", {
1474
+ const Q = e.__v_emitter;
1475
+ Q && Q.emit("fallback", {
1476
1476
  type: w,
1477
1477
  key: i,
1478
1478
  from: T,
1479
- to: p,
1479
+ to: h,
1480
1480
  groupId: `${w}:${i}`
1481
1481
  });
1482
1482
  }
1483
1483
  if (N = n[b] || {}, I = N[i], y(I))
1484
1484
  break;
1485
- gt(e, i, b, d, w), T = p;
1485
+ gt(e, i, b, _, w), T = h;
1486
1486
  }
1487
- if (!y(I) || !h(b))
1487
+ if (!y(I) || !v(b))
1488
1488
  return r ? Ge : i;
1489
1489
  let L = `${b}__${i}`;
1490
- xe(_) || (L = `${L}__${JSON.stringify(_)}`);
1491
- let V = l.get(L);
1492
- return V || (V = new Intl.DateTimeFormat(b, j({}, I, _)), l.set(L, V)), v ? V.formatToParts(c) : V.format(c);
1490
+ xe(d) || (L = `${L}__${JSON.stringify(d)}`);
1491
+ let U = l.get(L);
1492
+ return U || (U = new Intl.DateTimeFormat(b, j({}, I, d)), l.set(L, U)), p ? U.formatToParts(c) : U.format(c);
1493
1493
  }
1494
- const Fn = [
1494
+ const Rn = [
1495
1495
  "localeMatcher",
1496
1496
  "weekday",
1497
1497
  "era",
@@ -1516,7 +1516,7 @@ const Fn = [
1516
1516
  function qe(...e) {
1517
1517
  const [t, n, r, o] = e, a = {};
1518
1518
  let s = {}, l;
1519
- if (h(t)) {
1519
+ if (v(t)) {
1520
1520
  const i = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
1521
1521
  if (!i)
1522
1522
  throw ve(re.INVALID_ISO_DATE_ARGUMENT);
@@ -1531,13 +1531,13 @@ function qe(...e) {
1531
1531
  if (isNaN(t.getTime()))
1532
1532
  throw ve(re.INVALID_DATE_ARGUMENT);
1533
1533
  l = t;
1534
- } else if (M(t))
1534
+ } else if (V(t))
1535
1535
  l = t;
1536
1536
  else
1537
1537
  throw ve(re.INVALID_ARGUMENT);
1538
- return h(n) ? a.key = n : y(n) && Object.keys(n).forEach((i) => {
1539
- Fn.includes(i) ? s[i] = n[i] : a[i] = n[i];
1540
- }), h(r) ? a.locale = r : y(r) && (s = r), y(o) && (s = o), [a.key || "", l, a, s];
1538
+ return v(n) ? a.key = n : y(n) && Object.keys(n).forEach((i) => {
1539
+ Rn.includes(i) ? s[i] = n[i] : a[i] = n[i];
1540
+ }), v(r) ? a.locale = r : y(r) && (s = r), y(o) && (s = o), [a.key || "", l, a, s];
1541
1541
  }
1542
1542
  function zt(e, t, n) {
1543
1543
  const r = e;
@@ -1549,42 +1549,42 @@ function zt(e, t, n) {
1549
1549
  function Kt(e, ...t) {
1550
1550
  const { numberFormats: n, unresolving: r, fallbackLocale: o, onWarn: a, localeFallbacker: s } = e, { __numberFormatters: l } = e;
1551
1551
  if (process.env.NODE_ENV !== "production" && !kn.numberFormat)
1552
- return a(Ee(K.CANNOT_FORMAT_NUMBER)), Ue;
1553
- const [i, c, u, _] = Ze(...t), d = P(u.missingWarn) ? u.missingWarn : e.missingWarn, g = P(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, v = !!u.part, O = h(u.locale) ? u.locale : e.locale, E = s(
1552
+ return a(Ee(K.CANNOT_FORMAT_NUMBER)), Ve;
1553
+ const [i, c, u, d] = Ze(...t), _ = P(u.missingWarn) ? u.missingWarn : e.missingWarn, g = P(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, p = !!u.part, O = v(u.locale) ? u.locale : e.locale, E = s(
1554
1554
  e,
1555
1555
  o,
1556
1556
  O
1557
1557
  );
1558
- if (!h(i) || i === "")
1559
- return new Intl.NumberFormat(O, _).format(c);
1560
- let N = {}, b, I = null, T = O, p = null;
1558
+ if (!v(i) || i === "")
1559
+ return new Intl.NumberFormat(O, d).format(c);
1560
+ let N = {}, b, I = null, T = O, h = null;
1561
1561
  const w = "number format";
1562
1562
  for (let z = 0; z < E.length; z++) {
1563
- if (b = p = E[z], process.env.NODE_ENV !== "production" && O !== b && We(g, i) && a(Ee(K.FALLBACK_TO_NUMBER_FORMAT, {
1563
+ if (b = h = E[z], process.env.NODE_ENV !== "production" && O !== b && We(g, i) && a(Ee(K.FALLBACK_TO_NUMBER_FORMAT, {
1564
1564
  key: i,
1565
1565
  target: b
1566
1566
  })), process.env.NODE_ENV !== "production" && O !== b) {
1567
- const J = e.__v_emitter;
1568
- J && J.emit("fallback", {
1567
+ const Q = e.__v_emitter;
1568
+ Q && Q.emit("fallback", {
1569
1569
  type: w,
1570
1570
  key: i,
1571
1571
  from: T,
1572
- to: p,
1572
+ to: h,
1573
1573
  groupId: `${w}:${i}`
1574
1574
  });
1575
1575
  }
1576
1576
  if (N = n[b] || {}, I = N[i], y(I))
1577
1577
  break;
1578
- gt(e, i, b, d, w), T = p;
1578
+ gt(e, i, b, _, w), T = h;
1579
1579
  }
1580
- if (!y(I) || !h(b))
1580
+ if (!y(I) || !v(b))
1581
1581
  return r ? Ge : i;
1582
1582
  let L = `${b}__${i}`;
1583
- xe(_) || (L = `${L}__${JSON.stringify(_)}`);
1584
- let V = l.get(L);
1585
- return V || (V = new Intl.NumberFormat(b, j({}, I, _)), l.set(L, V)), v ? V.formatToParts(c) : V.format(c);
1583
+ xe(d) || (L = `${L}__${JSON.stringify(d)}`);
1584
+ let U = l.get(L);
1585
+ return U || (U = new Intl.NumberFormat(b, j({}, I, d)), l.set(L, U)), p ? U.formatToParts(c) : U.format(c);
1586
1586
  }
1587
- const Rn = [
1587
+ const Fn = [
1588
1588
  "localeMatcher",
1589
1589
  "style",
1590
1590
  "currency",
@@ -1609,12 +1609,12 @@ const Rn = [
1609
1609
  function Ze(...e) {
1610
1610
  const [t, n, r, o] = e, a = {};
1611
1611
  let s = {};
1612
- if (!M(t))
1612
+ if (!V(t))
1613
1613
  throw ve(re.INVALID_ARGUMENT);
1614
1614
  const l = t;
1615
- return h(n) ? a.key = n : y(n) && Object.keys(n).forEach((i) => {
1616
- Rn.includes(i) ? s[i] = n[i] : a[i] = n[i];
1617
- }), h(r) ? a.locale = r : y(r) && (s = r), y(o) && (s = o), [a.key || "", l, a, s];
1615
+ return v(n) ? a.key = n : y(n) && Object.keys(n).forEach((i) => {
1616
+ Fn.includes(i) ? s[i] = n[i] : a[i] = n[i];
1617
+ }), v(r) ? a.locale = r : y(r) && (s = r), y(o) && (s = o), [a.key || "", l, a, s];
1618
1618
  }
1619
1619
  function Xt(e, t, n) {
1620
1620
  const r = e;
@@ -1723,9 +1723,9 @@ const ze = {
1723
1723
  ["vue-devtools-plugin-vue-i18n"]: "Vue I18n devtools",
1724
1724
  ["vue-i18n-resource-inspector"]: "I18n Resources",
1725
1725
  ["vue-i18n-timeline"]: "Vue I18n"
1726
- }, Fs = {
1727
- ["vue-i18n-resource-inspector"]: "Search for scopes ..."
1728
1726
  }, Rs = {
1727
+ ["vue-i18n-resource-inspector"]: "Search for scopes ..."
1728
+ }, Fs = {
1729
1729
  ["vue-i18n-timeline"]: 16764185
1730
1730
  };
1731
1731
  /*!
@@ -1777,7 +1777,7 @@ const Y = () => ++Vn, D = {
1777
1777
  NOT_AVAILABLE_COMPOSITION_IN_LEGACY: Y(),
1778
1778
  __EXTEND_POINT__: Y()
1779
1779
  };
1780
- function Q(e, ...t) {
1780
+ function J(e, ...t) {
1781
1781
  return bn(e, null, process.env.NODE_ENV !== "production" ? { messages: Us, args: t } : void 0);
1782
1782
  }
1783
1783
  const Us = {
@@ -1795,7 +1795,7 @@ const Us = {
1795
1795
  [D.BRIDGE_SUPPORT_VUE_2_ONLY]: "vue-i18n-bridge support Vue 2.x only",
1796
1796
  [D.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",
1797
1797
  [D.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
1798
- }, tt = /* @__PURE__ */ ne("__transrateVNode"), nt = /* @__PURE__ */ ne("__datetimeParts"), ot = /* @__PURE__ */ ne("__numberParts"), De = /* @__PURE__ */ ne("__enableEmitter"), rt = /* @__PURE__ */ ne("__disableEmitter"), xs = ne("__setPluralRules");
1798
+ }, tt = /* @__PURE__ */ ne("__transrateVNode"), nt = /* @__PURE__ */ ne("__datetimeParts"), ot = /* @__PURE__ */ ne("__numberParts"), we = /* @__PURE__ */ ne("__enableEmitter"), rt = /* @__PURE__ */ ne("__disableEmitter"), xs = ne("__setPluralRules");
1799
1799
  ne("__intlifyMeta");
1800
1800
  const Gs = /* @__PURE__ */ ne("__injectWithOption");
1801
1801
  function st(e) {
@@ -1821,18 +1821,18 @@ function Un(e, t) {
1821
1821
  const { locale: i, resource: c } = l;
1822
1822
  i ? (s[i] = s[i] || {}, Ie(c, s[i])) : Ie(c, s);
1823
1823
  } else
1824
- h(l) && Ie(JSON.parse(l), s);
1824
+ v(l) && Ie(JSON.parse(l), s);
1825
1825
  }), o == null && a)
1826
1826
  for (const l in s)
1827
1827
  _t(s, l) && st(s[l]);
1828
1828
  return s;
1829
1829
  }
1830
- const Fe = (e) => !S(e) || k(e);
1830
+ const ke = (e) => !S(e) || k(e);
1831
1831
  function Ie(e, t) {
1832
- if (Fe(e) || Fe(t))
1833
- throw Q(D.INVALID_VALUE);
1832
+ if (ke(e) || ke(t))
1833
+ throw J(D.INVALID_VALUE);
1834
1834
  for (const n in e)
1835
- _t(e, n) && (Fe(e[n]) || Fe(t[n]) ? t[n] = e[n] : Ie(e[n], t[n]));
1835
+ _t(e, n) && (ke(e[n]) || ke(t[n]) ? t[n] = e[n] : Ie(e[n], t[n]));
1836
1836
  }
1837
1837
  function xn(e) {
1838
1838
  return e.type;
@@ -1862,10 +1862,10 @@ function Ws(e, t, n) {
1862
1862
  }
1863
1863
  }
1864
1864
  }
1865
- function Qt(e) {
1865
+ function Jt(e) {
1866
1866
  return se(Io, null, e, 0);
1867
1867
  }
1868
- const Jt = "__INTLIFY_META__";
1868
+ const Qt = "__INTLIFY_META__";
1869
1869
  let qt = 0;
1870
1870
  function Zt(e) {
1871
1871
  return (t, n, r, o) => e(n, r, it() || void 0, o);
@@ -1873,20 +1873,20 @@ function Zt(e) {
1873
1873
  const Hs = () => {
1874
1874
  const e = it();
1875
1875
  let t = null;
1876
- return e && (t = xn(e)[Jt]) ? { [Jt]: t } : null;
1876
+ return e && (t = xn(e)[Qt]) ? { [Qt]: t } : null;
1877
1877
  };
1878
1878
  function Gn(e = {}, t) {
1879
1879
  const { __root: n } = e, r = n === void 0;
1880
1880
  let o = P(e.inheritLocale) ? e.inheritLocale : !0;
1881
- const a = x(
1882
- n && o ? n.locale.value : h(e.locale) ? e.locale : mt
1883
- ), s = x(
1884
- n && o ? n.fallbackLocale.value : h(e.fallbackLocale) || k(e.fallbackLocale) || y(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a.value
1885
- ), l = x(Un(a.value, e)), i = x(y(e.datetimeFormats) ? e.datetimeFormats : { [a.value]: {} }), c = x(y(e.numberFormats) ? e.numberFormats : { [a.value]: {} });
1886
- let u = n ? n.missingWarn : P(e.missingWarn) || Ve(e.missingWarn) ? e.missingWarn : !0, _ = n ? n.fallbackWarn : P(e.fallbackWarn) || Ve(e.fallbackWarn) ? e.fallbackWarn : !0, d = n ? n.fallbackRoot : P(e.fallbackRoot) ? e.fallbackRoot : !0, g = !!e.fallbackFormat, v = $(e.missing) ? e.missing : null, O = $(e.missing) ? Zt(e.missing) : null, E = $(e.postTranslation) ? e.postTranslation : null, N = n ? n.warnHtmlMessage : P(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, b = !!e.escapeParameter;
1881
+ const a = M(
1882
+ n && o ? n.locale.value : v(e.locale) ? e.locale : mt
1883
+ ), s = M(
1884
+ n && o ? n.fallbackLocale.value : v(e.fallbackLocale) || k(e.fallbackLocale) || y(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a.value
1885
+ ), l = M(Un(a.value, e)), i = M(y(e.datetimeFormats) ? e.datetimeFormats : { [a.value]: {} }), c = M(y(e.numberFormats) ? e.numberFormats : { [a.value]: {} });
1886
+ let u = n ? n.missingWarn : P(e.missingWarn) || Me(e.missingWarn) ? e.missingWarn : !0, d = n ? n.fallbackWarn : P(e.fallbackWarn) || Me(e.fallbackWarn) ? e.fallbackWarn : !0, _ = n ? n.fallbackRoot : P(e.fallbackRoot) ? e.fallbackRoot : !0, g = !!e.fallbackFormat, p = $(e.missing) ? e.missing : null, O = $(e.missing) ? Zt(e.missing) : null, E = $(e.postTranslation) ? e.postTranslation : null, N = n ? n.warnHtmlMessage : P(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, b = !!e.escapeParameter;
1887
1887
  const I = n ? n.modifiers : y(e.modifiers) ? e.modifiers : {};
1888
- let T = e.pluralRules || n && n.pluralRules, p;
1889
- p = (() => {
1888
+ let T = e.pluralRules || n && n.pluralRules, h;
1889
+ h = (() => {
1890
1890
  r && Gt(null);
1891
1891
  const f = {
1892
1892
  version: $s,
@@ -1897,7 +1897,7 @@ function Gn(e = {}, t) {
1897
1897
  pluralRules: T,
1898
1898
  missing: O === null ? void 0 : O,
1899
1899
  missingWarn: u,
1900
- fallbackWarn: _,
1900
+ fallbackWarn: d,
1901
1901
  fallbackFormat: g,
1902
1902
  unresolving: !0,
1903
1903
  postTranslation: E === null ? void 0 : E,
@@ -1906,10 +1906,10 @@ function Gn(e = {}, t) {
1906
1906
  messageResolver: e.messageResolver,
1907
1907
  __meta: { framework: "vue" }
1908
1908
  };
1909
- f.datetimeFormats = i.value, f.numberFormats = c.value, f.__datetimeFormatters = y(p) ? p.__datetimeFormatters : void 0, f.__numberFormatters = y(p) ? p.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (f.__v_emitter = y(p) ? p.__v_emitter : void 0);
1909
+ f.datetimeFormats = i.value, f.numberFormats = c.value, f.__datetimeFormatters = y(h) ? h.__datetimeFormatters : void 0, f.__numberFormatters = y(h) ? h.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (f.__v_emitter = y(h) ? h.__v_emitter : void 0);
1910
1910
  const m = Os(f);
1911
1911
  return r && Gt(m), m;
1912
- })(), Te(p, a.value, s.value);
1912
+ })(), Te(h, a.value, s.value);
1913
1913
  function L() {
1914
1914
  return [
1915
1915
  a.value,
@@ -1919,81 +1919,81 @@ function Gn(e = {}, t) {
1919
1919
  c.value
1920
1920
  ];
1921
1921
  }
1922
- const V = W({
1922
+ const U = W({
1923
1923
  get: () => a.value,
1924
1924
  set: (f) => {
1925
- a.value = f, p.locale = a.value;
1925
+ a.value = f, h.locale = a.value;
1926
1926
  }
1927
1927
  }), z = W({
1928
1928
  get: () => s.value,
1929
1929
  set: (f) => {
1930
- s.value = f, p.fallbackLocale = s.value, Te(p, a.value, f);
1930
+ s.value = f, h.fallbackLocale = s.value, Te(h, a.value, f);
1931
1931
  }
1932
- }), J = W(() => l.value), q = /* @__PURE__ */ W(() => i.value), Pe = /* @__PURE__ */ W(() => c.value);
1933
- function Ae() {
1932
+ }), Q = W(() => l.value), q = /* @__PURE__ */ W(() => i.value), Ce = /* @__PURE__ */ W(() => c.value);
1933
+ function Pe() {
1934
1934
  return $(E) ? E : null;
1935
1935
  }
1936
- function Qn(f) {
1937
- E = f, p.postTranslation = f;
1936
+ function Jn(f) {
1937
+ E = f, h.postTranslation = f;
1938
1938
  }
1939
- function Jn() {
1940
- return v;
1939
+ function Qn() {
1940
+ return p;
1941
1941
  }
1942
1942
  function qn(f) {
1943
- f !== null && (O = Zt(f)), v = f, p.missing = O;
1943
+ f !== null && (O = Zt(f)), p = f, h.missing = O;
1944
1944
  }
1945
1945
  function Zn(f, m) {
1946
1946
  return f !== "translate" || !m.resolvedMessage;
1947
1947
  }
1948
- const me = (f, m, B, H, je, ke) => {
1948
+ const me = (f, m, B, H, je, Ae) => {
1949
1949
  L();
1950
1950
  let ge;
1951
1951
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__)
1952
1952
  try {
1953
- xt(Hs()), r || (p.fallbackContext = n ? Es() : void 0), ge = f(p);
1953
+ xt(Hs()), r || (h.fallbackContext = n ? Es() : void 0), ge = f(h);
1954
1954
  } finally {
1955
- xt(null), r || (p.fallbackContext = void 0);
1955
+ xt(null), r || (h.fallbackContext = void 0);
1956
1956
  }
1957
1957
  else
1958
- ge = f(p);
1959
- if (M(ge) && ge === Ge) {
1958
+ ge = f(h);
1959
+ if (V(ge) && ge === Ge) {
1960
1960
  const [le, No] = m();
1961
- if (process.env.NODE_ENV !== "production" && n && h(le) && Zn(B, No) && (d && (We(_, le) || Dn(u, le)) && be(He(Z.FALLBACK_TO_ROOT, {
1961
+ if (process.env.NODE_ENV !== "production" && n && v(le) && Zn(B, No) && (_ && (We(d, le) || Dn(u, le)) && be(He(Z.FALLBACK_TO_ROOT, {
1962
1962
  key: le,
1963
1963
  type: B
1964
1964
  })), process.env.NODE_ENV !== "production")) {
1965
- const { __v_emitter: Nt } = p;
1966
- Nt && d && Nt.emit("fallback", {
1965
+ const { __v_emitter: Nt } = h;
1966
+ Nt && _ && Nt.emit("fallback", {
1967
1967
  type: B,
1968
1968
  key: le,
1969
1969
  to: "global",
1970
1970
  groupId: `${B}:${le}`
1971
1971
  });
1972
1972
  }
1973
- return n && d ? H(n) : je(le);
1973
+ return n && _ ? H(n) : je(le);
1974
1974
  } else {
1975
- if (ke(ge))
1975
+ if (Ae(ge))
1976
1976
  return ge;
1977
- throw Q(D.UNEXPECTED_RETURN_TYPE);
1977
+ throw J(D.UNEXPECTED_RETURN_TYPE);
1978
1978
  }
1979
1979
  };
1980
1980
  function Et(...f) {
1981
- return me((m) => Reflect.apply(jt, null, [m, ...f]), () => Je(...f), "translate", (m) => Reflect.apply(m.t, m, [...f]), (m) => m, (m) => h(m));
1981
+ return me((m) => Reflect.apply(jt, null, [m, ...f]), () => Qe(...f), "translate", (m) => Reflect.apply(m.t, m, [...f]), (m) => m, (m) => v(m));
1982
1982
  }
1983
1983
  function eo(...f) {
1984
1984
  const [m, B, H] = f;
1985
1985
  if (H && !S(H))
1986
- throw Q(D.INVALID_ARGUMENT);
1986
+ throw J(D.INVALID_ARGUMENT);
1987
1987
  return Et(m, B, j({ resolvedMessage: !0 }, H || {}));
1988
1988
  }
1989
1989
  function to(...f) {
1990
- return me((m) => Reflect.apply(Yt, null, [m, ...f]), () => qe(...f), "datetime format", (m) => Reflect.apply(m.d, m, [...f]), () => Ue, (m) => h(m));
1990
+ return me((m) => Reflect.apply(Yt, null, [m, ...f]), () => qe(...f), "datetime format", (m) => Reflect.apply(m.d, m, [...f]), () => Ve, (m) => v(m));
1991
1991
  }
1992
1992
  function no(...f) {
1993
- return me((m) => Reflect.apply(Kt, null, [m, ...f]), () => Ze(...f), "number format", (m) => Reflect.apply(m.n, m, [...f]), () => Ue, (m) => h(m));
1993
+ return me((m) => Reflect.apply(Kt, null, [m, ...f]), () => Ze(...f), "number format", (m) => Reflect.apply(m.n, m, [...f]), () => Ve, (m) => v(m));
1994
1994
  }
1995
1995
  function oo(f) {
1996
- return f.map((m) => h(m) || M(m) || P(m) ? Qt(String(m)) : m);
1996
+ return f.map((m) => v(m) || V(m) || P(m) ? Jt(String(m)) : m);
1997
1997
  }
1998
1998
  const ro = {
1999
1999
  normalize: oo,
@@ -2012,10 +2012,10 @@ function Gn(e = {}, t) {
2012
2012
  }
2013
2013
  return B;
2014
2014
  },
2015
- () => Je(...f),
2015
+ () => Qe(...f),
2016
2016
  "translate",
2017
2017
  (m) => m[tt](...f),
2018
- (m) => [Qt(m)],
2018
+ (m) => [Jt(m)],
2019
2019
  (m) => k(m)
2020
2020
  );
2021
2021
  }
@@ -2026,7 +2026,7 @@ function Gn(e = {}, t) {
2026
2026
  "number format",
2027
2027
  (m) => m[ot](...f),
2028
2028
  () => [],
2029
- (m) => h(m) || k(m)
2029
+ (m) => v(m) || k(m)
2030
2030
  );
2031
2031
  }
2032
2032
  function lo(...f) {
@@ -2036,23 +2036,23 @@ function Gn(e = {}, t) {
2036
2036
  "datetime format",
2037
2037
  (m) => m[nt](...f),
2038
2038
  () => [],
2039
- (m) => h(m) || k(m)
2039
+ (m) => v(m) || k(m)
2040
2040
  );
2041
2041
  }
2042
2042
  function io(f) {
2043
- T = f, p.pluralRules = T;
2043
+ T = f, h.pluralRules = T;
2044
2044
  }
2045
2045
  function co(f, m) {
2046
- const B = h(m) ? m : a.value, H = Ot(B);
2047
- return p.messageResolver(H, f) !== null;
2046
+ const B = v(m) ? m : a.value, H = Ot(B);
2047
+ return h.messageResolver(H, f) !== null;
2048
2048
  }
2049
2049
  function uo(f) {
2050
2050
  let m = null;
2051
- const B = yn(p, s.value, a.value);
2051
+ const B = yn(h, s.value, a.value);
2052
2052
  for (let H = 0; H < B.length; H++) {
2053
- const je = l.value[B[H]] || {}, ke = p.messageResolver(je, f);
2054
- if (ke != null) {
2055
- m = ke;
2053
+ const je = l.value[B[H]] || {}, Ae = h.messageResolver(je, f);
2054
+ if (Ae != null) {
2055
+ m = Ae;
2056
2056
  break;
2057
2057
  }
2058
2058
  }
@@ -2066,48 +2066,48 @@ function Gn(e = {}, t) {
2066
2066
  return l.value[f] || {};
2067
2067
  }
2068
2068
  function _o(f, m) {
2069
- l.value[f] = m, p.messages = l.value;
2069
+ l.value[f] = m, h.messages = l.value;
2070
2070
  }
2071
2071
  function mo(f, m) {
2072
- l.value[f] = l.value[f] || {}, Ie(m, l.value[f]), p.messages = l.value;
2072
+ l.value[f] = l.value[f] || {}, Ie(m, l.value[f]), h.messages = l.value;
2073
2073
  }
2074
2074
  function go(f) {
2075
2075
  return i.value[f] || {};
2076
2076
  }
2077
2077
  function po(f, m) {
2078
- i.value[f] = m, p.datetimeFormats = i.value, zt(p, f, m);
2078
+ i.value[f] = m, h.datetimeFormats = i.value, zt(h, f, m);
2079
2079
  }
2080
2080
  function ho(f, m) {
2081
- i.value[f] = j(i.value[f] || {}, m), p.datetimeFormats = i.value, zt(p, f, m);
2081
+ i.value[f] = j(i.value[f] || {}, m), h.datetimeFormats = i.value, zt(h, f, m);
2082
2082
  }
2083
2083
  function vo(f) {
2084
2084
  return c.value[f] || {};
2085
2085
  }
2086
2086
  function Eo(f, m) {
2087
- c.value[f] = m, p.numberFormats = c.value, Xt(p, f, m);
2087
+ c.value[f] = m, h.numberFormats = c.value, Xt(h, f, m);
2088
2088
  }
2089
2089
  function Oo(f, m) {
2090
- c.value[f] = j(c.value[f] || {}, m), p.numberFormats = c.value, Xt(p, f, m);
2090
+ c.value[f] = j(c.value[f] || {}, m), h.numberFormats = c.value, Xt(h, f, m);
2091
2091
  }
2092
- qt++, n && te && (Me(n.locale, (f) => {
2093
- o && (a.value = f, p.locale = f, Te(p, a.value, s.value));
2094
- }), Me(n.fallbackLocale, (f) => {
2095
- o && (s.value = f, p.fallbackLocale = f, Te(p, a.value, s.value));
2092
+ qt++, n && te && ($e(n.locale, (f) => {
2093
+ o && (a.value = f, h.locale = f, Te(h, a.value, s.value));
2094
+ }), $e(n.fallbackLocale, (f) => {
2095
+ o && (s.value = f, h.fallbackLocale = f, Te(h, a.value, s.value));
2096
2096
  }));
2097
- const F = {
2097
+ const R = {
2098
2098
  id: qt,
2099
- locale: V,
2099
+ locale: U,
2100
2100
  fallbackLocale: z,
2101
2101
  get inheritLocale() {
2102
2102
  return o;
2103
2103
  },
2104
2104
  set inheritLocale(f) {
2105
- o = f, f && n && (a.value = n.locale.value, s.value = n.fallbackLocale.value, Te(p, a.value, s.value));
2105
+ o = f, f && n && (a.value = n.locale.value, s.value = n.fallbackLocale.value, Te(h, a.value, s.value));
2106
2106
  },
2107
2107
  get availableLocales() {
2108
2108
  return Object.keys(l.value).sort();
2109
2109
  },
2110
- messages: J,
2110
+ messages: Q,
2111
2111
  get modifiers() {
2112
2112
  return I;
2113
2113
  },
@@ -2121,53 +2121,53 @@ function Gn(e = {}, t) {
2121
2121
  return u;
2122
2122
  },
2123
2123
  set missingWarn(f) {
2124
- u = f, p.missingWarn = u;
2124
+ u = f, h.missingWarn = u;
2125
2125
  },
2126
2126
  get fallbackWarn() {
2127
- return _;
2127
+ return d;
2128
2128
  },
2129
2129
  set fallbackWarn(f) {
2130
- _ = f, p.fallbackWarn = _;
2130
+ d = f, h.fallbackWarn = d;
2131
2131
  },
2132
2132
  get fallbackRoot() {
2133
- return d;
2133
+ return _;
2134
2134
  },
2135
2135
  set fallbackRoot(f) {
2136
- d = f;
2136
+ _ = f;
2137
2137
  },
2138
2138
  get fallbackFormat() {
2139
2139
  return g;
2140
2140
  },
2141
2141
  set fallbackFormat(f) {
2142
- g = f, p.fallbackFormat = g;
2142
+ g = f, h.fallbackFormat = g;
2143
2143
  },
2144
2144
  get warnHtmlMessage() {
2145
2145
  return N;
2146
2146
  },
2147
2147
  set warnHtmlMessage(f) {
2148
- N = f, p.warnHtmlMessage = f;
2148
+ N = f, h.warnHtmlMessage = f;
2149
2149
  },
2150
2150
  get escapeParameter() {
2151
2151
  return b;
2152
2152
  },
2153
2153
  set escapeParameter(f) {
2154
- b = f, p.escapeParameter = f;
2154
+ b = f, h.escapeParameter = f;
2155
2155
  },
2156
2156
  t: Et,
2157
2157
  getLocaleMessage: Ot,
2158
2158
  setLocaleMessage: _o,
2159
2159
  mergeLocaleMessage: mo,
2160
- getPostTranslationHandler: Ae,
2161
- setPostTranslationHandler: Qn,
2162
- getMissingHandler: Jn,
2160
+ getPostTranslationHandler: Pe,
2161
+ setPostTranslationHandler: Jn,
2162
+ getMissingHandler: Qn,
2163
2163
  setMissingHandler: qn,
2164
2164
  [xs]: io
2165
2165
  };
2166
- return F.datetimeFormats = q, F.numberFormats = Pe, F.rt = eo, F.te = co, F.tm = fo, F.d = to, F.n = no, F.getDateTimeFormat = go, F.setDateTimeFormat = po, F.mergeDateTimeFormat = ho, F.getNumberFormat = vo, F.setNumberFormat = Eo, F.mergeNumberFormat = Oo, F[Gs] = e.__injectWithOption, F[tt] = so, F[nt] = lo, F[ot] = ao, process.env.NODE_ENV !== "production" && (F[De] = (f) => {
2167
- p.__v_emitter = f;
2168
- }, F[rt] = () => {
2169
- p.__v_emitter = void 0;
2170
- }), F;
2166
+ return R.datetimeFormats = q, R.numberFormats = Ce, R.rt = eo, R.te = co, R.tm = fo, R.d = to, R.n = no, R.getDateTimeFormat = go, R.setDateTimeFormat = po, R.mergeDateTimeFormat = ho, R.getNumberFormat = vo, R.setNumberFormat = Eo, R.mergeNumberFormat = Oo, R[Gs] = e.__injectWithOption, R[tt] = so, R[nt] = lo, R[ot] = ao, process.env.NODE_ENV !== "production" && (R[we] = (f) => {
2167
+ h.__v_emitter = f;
2168
+ }, R[rt] = () => {
2169
+ h.__v_emitter = void 0;
2170
+ }), R;
2171
2171
  }
2172
2172
  const pt = {
2173
2173
  tag: {
@@ -2206,7 +2206,7 @@ const Ke = {
2206
2206
  },
2207
2207
  plural: {
2208
2208
  type: [Number, String],
2209
- validator: (e) => M(e) || !isNaN(e)
2209
+ validator: (e) => V(e) || !isNaN(e)
2210
2210
  }
2211
2211
  }, pt),
2212
2212
  setup(e, t) {
@@ -2215,30 +2215,30 @@ const Ke = {
2215
2215
  __useComponent: !0
2216
2216
  });
2217
2217
  return () => {
2218
- const a = Object.keys(n).filter((_) => _ !== "_"), s = {};
2219
- e.locale && (s.locale = e.locale), e.plural !== void 0 && (s.plural = h(e.plural) ? +e.plural : e.plural);
2220
- const l = js(t, a), i = o[tt](e.keypath, l, s), c = j({}, r), u = h(e.tag) || S(e.tag) ? e.tag : Wn();
2221
- return $e(u, c, i);
2218
+ const a = Object.keys(n).filter((d) => d !== "_"), s = {};
2219
+ e.locale && (s.locale = e.locale), e.plural !== void 0 && (s.plural = v(e.plural) ? +e.plural : e.plural);
2220
+ const l = js(t, a), i = o[tt](e.keypath, l, s), c = j({}, r), u = v(e.tag) || S(e.tag) ? e.tag : Wn();
2221
+ return Fe(u, c, i);
2222
2222
  };
2223
2223
  }
2224
2224
  };
2225
2225
  function Bs(e) {
2226
- return k(e) && !h(e[0]);
2226
+ return k(e) && !v(e[0]);
2227
2227
  }
2228
2228
  function Hn(e, t, n, r) {
2229
2229
  const { slots: o, attrs: a } = t;
2230
2230
  return () => {
2231
2231
  const s = { part: !0 };
2232
2232
  let l = {};
2233
- e.locale && (s.locale = e.locale), h(e.format) ? s.key = e.format : S(e.format) && (h(e.format.key) && (s.key = e.format.key), l = Object.keys(e.format).reduce((d, g) => n.includes(g) ? j({}, d, { [g]: e.format[g] }) : d, {}));
2233
+ e.locale && (s.locale = e.locale), v(e.format) ? s.key = e.format : S(e.format) && (v(e.format.key) && (s.key = e.format.key), l = Object.keys(e.format).reduce((_, g) => n.includes(g) ? j({}, _, { [g]: e.format[g] }) : _, {}));
2234
2234
  const i = r(e.value, s, l);
2235
2235
  let c = [s.key];
2236
- k(i) ? c = i.map((d, g) => {
2237
- const v = o[d.type], O = v ? v({ [d.type]: d.value, index: g, parts: i }) : [d.value];
2238
- return Bs(O) && (O[0].key = `${d.type}-${g}`), O;
2239
- }) : h(i) && (c = [i]);
2240
- const u = j({}, a), _ = h(e.tag) || S(e.tag) ? e.tag : Wn();
2241
- return $e(_, u, c);
2236
+ k(i) ? c = i.map((_, g) => {
2237
+ const p = o[_.type], O = p ? p({ [_.type]: _.value, index: g, parts: i }) : [_.value];
2238
+ return Bs(O) && (O[0].key = `${_.type}-${g}`), O;
2239
+ }) : v(i) && (c = [i]);
2240
+ const u = j({}, a), d = v(e.tag) || S(e.tag) ? e.tag : Wn();
2241
+ return Fe(d, u, c);
2242
2242
  };
2243
2243
  }
2244
2244
  const en = {
@@ -2254,7 +2254,7 @@ const en = {
2254
2254
  }, pt),
2255
2255
  setup(e, t) {
2256
2256
  const n = e.i18n || vt({ useScope: "parent", __useComponent: !0 });
2257
- return Hn(e, t, Rn, (...r) => n[ot](...r));
2257
+ return Hn(e, t, Fn, (...r) => n[ot](...r));
2258
2258
  }
2259
2259
  }, tn = {
2260
2260
  name: "i18n-d",
@@ -2269,7 +2269,7 @@ const en = {
2269
2269
  }, pt),
2270
2270
  setup(e, t) {
2271
2271
  const n = e.i18n || vt({ useScope: "parent", __useComponent: !0 });
2272
- return Hn(e, t, Fn, (...r) => n[nt](...r));
2272
+ return Hn(e, t, Rn, (...r) => n[nt](...r));
2273
2273
  }
2274
2274
  };
2275
2275
  function Ys(e, t) {
@@ -2285,19 +2285,19 @@ function zs(e) {
2285
2285
  const t = (s) => {
2286
2286
  const { instance: l, modifiers: i, value: c } = s;
2287
2287
  if (!l || !l.$)
2288
- throw Q(D.UNEXPECTED_ERROR);
2288
+ throw J(D.UNEXPECTED_ERROR);
2289
2289
  const u = Ys(e, l.$);
2290
2290
  process.env.NODE_ENV !== "production" && i.preserve && be(He(Z.NOT_SUPPORTED_PRESERVE));
2291
- const _ = nn(c);
2291
+ const d = nn(c);
2292
2292
  return [
2293
- Reflect.apply(u.t, u, [...on(_)]),
2293
+ Reflect.apply(u.t, u, [...on(d)]),
2294
2294
  u
2295
2295
  ];
2296
2296
  };
2297
2297
  return {
2298
2298
  created: (s, l) => {
2299
2299
  const [i, c] = t(l);
2300
- te && e.global === c && (s.__i18nWatcher = Me(c.locale, () => {
2300
+ te && e.global === c && (s.__i18nWatcher = $e(c.locale, () => {
2301
2301
  l.instance && l.instance.$forceUpdate();
2302
2302
  })), s.__composer = c, s.textContent = i;
2303
2303
  },
@@ -2319,18 +2319,18 @@ function zs(e) {
2319
2319
  };
2320
2320
  }
2321
2321
  function nn(e) {
2322
- if (h(e))
2322
+ if (v(e))
2323
2323
  return { path: e };
2324
2324
  if (y(e)) {
2325
2325
  if (!("path" in e))
2326
- throw Q(D.REQUIRED_VALUE, "path");
2326
+ throw J(D.REQUIRED_VALUE, "path");
2327
2327
  return e;
2328
2328
  } else
2329
- throw Q(D.INVALID_VALUE);
2329
+ throw J(D.INVALID_VALUE);
2330
2330
  }
2331
2331
  function on(e) {
2332
2332
  const { path: t, locale: n, args: r, choice: o, plural: a } = e, s = {}, l = r || {};
2333
- return h(n) && (s.locale = n), M(o) && (s.plural = o), M(a) && (s.plural = a), [t, l, s];
2333
+ return v(n) && (s.locale = n), V(o) && (s.plural = o), V(a) && (s.plural = a), [t, l, s];
2334
2334
  }
2335
2335
  function Ks(e, t, ...n) {
2336
2336
  const r = y(n[0]) ? n[0] : {}, o = !!r.useI18nComponentName, a = P(r.globalInstall) ? r.globalInstall : !0;
@@ -2353,14 +2353,14 @@ async function Xs(e, t) {
2353
2353
  app: e
2354
2354
  }, (o) => {
2355
2355
  at = o, o.on.visitComponentTree(({ componentInstance: s, treeNode: l }) => {
2356
- Qs(s, l, t);
2356
+ Js(s, l, t);
2357
2357
  }), o.on.inspectComponent(({ componentInstance: s, instanceData: l }) => {
2358
2358
  s.vnode.el && s.vnode.el.__VUE_I18N__ && l && (t.mode === "legacy" ? s.vnode.el.__VUE_I18N__ !== t.global.__composer && rn(l, s.vnode.el.__VUE_I18N__) : rn(l, s.vnode.el.__VUE_I18N__));
2359
2359
  }), o.addInspector({
2360
2360
  id: "vue-i18n-resource-inspector",
2361
2361
  label: ze["vue-i18n-resource-inspector"],
2362
2362
  icon: "language",
2363
- treeFilterPlaceholder: Fs["vue-i18n-resource-inspector"]
2363
+ treeFilterPlaceholder: Rs["vue-i18n-resource-inspector"]
2364
2364
  }), o.on.getInspectorTree((s) => {
2365
2365
  s.app === e && s.inspectorId === "vue-i18n-resource-inspector" && ta(s, t);
2366
2366
  });
@@ -2382,7 +2382,7 @@ async function Xs(e, t) {
2382
2382
  }), o.addTimelineLayer({
2383
2383
  id: "vue-i18n-timeline",
2384
2384
  label: ze["vue-i18n-timeline"],
2385
- color: Rs["vue-i18n-timeline"]
2385
+ color: Fs["vue-i18n-timeline"]
2386
2386
  }), n(!0);
2387
2387
  });
2388
2388
  } catch (o) {
@@ -2393,7 +2393,7 @@ async function Xs(e, t) {
2393
2393
  function Bn(e) {
2394
2394
  return e.type.name || e.type.displayName || e.type.__file || "Anonymous";
2395
2395
  }
2396
- function Qs(e, t, n) {
2396
+ function Js(e, t, n) {
2397
2397
  const r = n.mode === "composition" ? n.global : n.global.__composer;
2398
2398
  if (e && e.vnode.el && e.vnode.el.__VUE_I18N__ && e.vnode.el.__VUE_I18N__ !== r) {
2399
2399
  const o = {
@@ -2450,7 +2450,7 @@ function ht(e) {
2450
2450
  $(r) && "source" in r ? t[n] = ea(r) : S(r) ? t[n] = ht(r) : t[n] = r;
2451
2451
  }), t;
2452
2452
  }
2453
- const Js = {
2453
+ const Qs = {
2454
2454
  "<": "&lt;",
2455
2455
  ">": "&gt;",
2456
2456
  '"': "&quot;",
@@ -2460,7 +2460,7 @@ function qs(e) {
2460
2460
  return e.replace(/[<>"&]/g, Zs);
2461
2461
  }
2462
2462
  function Zs(e) {
2463
- return Js[e] || e;
2463
+ return Qs[e] || e;
2464
2464
  }
2465
2465
  function ea(e) {
2466
2466
  const t = e.source ? `("${qs(e.source)}")` : "(?)";
@@ -2587,41 +2587,41 @@ function sa(e, t) {
2587
2587
  const n = Yn(e.nodeId, t);
2588
2588
  if (n) {
2589
2589
  const [r] = e.path;
2590
- r === "locale" && h(e.state.value) ? n.locale.value = e.state.value : r === "fallbackLocale" && (h(e.state.value) || k(e.state.value) || S(e.state.value)) ? n.fallbackLocale.value = e.state.value : r === "inheritLocale" && P(e.state.value) && (n.inheritLocale = e.state.value);
2590
+ r === "locale" && v(e.state.value) ? n.locale.value = e.state.value : r === "fallbackLocale" && (v(e.state.value) || k(e.state.value) || S(e.state.value)) ? n.fallbackLocale.value = e.state.value : r === "inheritLocale" && P(e.state.value) && (n.inheritLocale = e.state.value);
2591
2591
  }
2592
2592
  }
2593
2593
  const aa = /* @__PURE__ */ ne("global-vue-i18n");
2594
2594
  function la(e = {}, t) {
2595
2595
  const n = P(e.globalInjection) ? e.globalInjection : !0, r = !0, o = /* @__PURE__ */ new Map(), [a, s] = ia(e), l = ne(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
2596
- function i(_) {
2597
- return o.get(_) || null;
2596
+ function i(d) {
2597
+ return o.get(d) || null;
2598
2598
  }
2599
- function c(_, d) {
2600
- o.set(_, d);
2599
+ function c(d, _) {
2600
+ o.set(d, _);
2601
2601
  }
2602
- function u(_) {
2603
- o.delete(_);
2602
+ function u(d) {
2603
+ o.delete(d);
2604
2604
  }
2605
2605
  {
2606
- const _ = {
2606
+ const d = {
2607
2607
  get mode() {
2608
2608
  return "composition";
2609
2609
  },
2610
2610
  get allowComposition() {
2611
2611
  return r;
2612
2612
  },
2613
- async install(d, ...g) {
2614
- process.env.NODE_ENV !== "production" && (d.__VUE_I18N__ = _), d.__VUE_I18N_SYMBOL__ = l, d.provide(d.__VUE_I18N_SYMBOL__, _), n && pa(d, _.global), Ks(d, _, ...g);
2615
- const v = d.unmount;
2616
- if (d.unmount = () => {
2617
- _.dispose(), v();
2613
+ async install(_, ...g) {
2614
+ process.env.NODE_ENV !== "production" && (_.__VUE_I18N__ = d), _.__VUE_I18N_SYMBOL__ = l, _.provide(_.__VUE_I18N_SYMBOL__, d), n && pa(_, d.global), Ks(_, d, ...g);
2615
+ const p = _.unmount;
2616
+ if (_.unmount = () => {
2617
+ d.dispose(), p();
2618
2618
  }, process.env.NODE_ENV !== "production" || !1) {
2619
- if (!await Xs(d, _))
2620
- throw Q(D.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
2619
+ if (!await Xs(_, d))
2620
+ throw J(D.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
2621
2621
  const E = Nn();
2622
2622
  {
2623
2623
  const N = s;
2624
- N[De] && N[De](E);
2624
+ N[we] && N[we](E);
2625
2625
  }
2626
2626
  E.on("*", lt);
2627
2627
  }
@@ -2637,15 +2637,15 @@ function la(e = {}, t) {
2637
2637
  __setInstance: c,
2638
2638
  __deleteInstance: u
2639
2639
  };
2640
- return _;
2640
+ return d;
2641
2641
  }
2642
2642
  }
2643
2643
  function vt(e = {}) {
2644
2644
  const t = it();
2645
2645
  if (t == null)
2646
- throw Q(D.MUST_BE_CALL_SETUP_TOP);
2646
+ throw J(D.MUST_BE_CALL_SETUP_TOP);
2647
2647
  if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
2648
- throw Q(D.NOT_INSLALLED);
2648
+ throw J(D.NOT_INSLALLED);
2649
2649
  const n = ca(t), r = fa(n), o = xn(t), a = ua(e, o);
2650
2650
  if (a === "global")
2651
2651
  return Ws(r, e, o), r;
@@ -2666,7 +2666,7 @@ function ia(e, t, n) {
2666
2666
  {
2667
2667
  const o = r.run(() => Gn(e));
2668
2668
  if (o == null)
2669
- throw Q(D.UNEXPECTED_ERROR);
2669
+ throw J(D.UNEXPECTED_ERROR);
2670
2670
  return [r, o];
2671
2671
  }
2672
2672
  }
@@ -2674,7 +2674,7 @@ function ca(e) {
2674
2674
  {
2675
2675
  const t = fn(e.isCE ? aa : e.appContext.app.__VUE_I18N_SYMBOL__);
2676
2676
  if (!t)
2677
- throw Q(e.isCE ? D.NOT_INSLALLED_WITH_PROVIDE : D.UNEXPECTED_ERROR);
2677
+ throw J(e.isCE ? D.NOT_INSLALLED_WITH_PROVIDE : D.UNEXPECTED_ERROR);
2678
2678
  return t;
2679
2679
  }
2680
2680
  }
@@ -2702,7 +2702,7 @@ function da(e, t, n) {
2702
2702
  if ((process.env.NODE_ENV !== "production" || !1) && !0 && t.vnode.el) {
2703
2703
  t.vnode.el.__VUE_I18N__ = n, r = Nn();
2704
2704
  const o = n;
2705
- o[De] && o[De](r), r.on("*", lt);
2705
+ o[we] && o[we](r), r.on("*", lt);
2706
2706
  }
2707
2707
  }, t), yo(() => {
2708
2708
  if ((process.env.NODE_ENV !== "production" || !1) && !0 && t.vnode.el && t.vnode.el.__VUE_I18N__) {
@@ -2723,7 +2723,7 @@ function pa(e, t) {
2723
2723
  ma.forEach((r) => {
2724
2724
  const o = Object.getOwnPropertyDescriptor(t, r);
2725
2725
  if (!o)
2726
- throw Q(D.UNEXPECTED_ERROR);
2726
+ throw J(D.UNEXPECTED_ERROR);
2727
2727
  const a = Lo(o.value) ? {
2728
2728
  get() {
2729
2729
  return o.value.value;
@@ -2740,11 +2740,11 @@ function pa(e, t) {
2740
2740
  }), e.config.globalProperties.$i18n = n, ga.forEach((r) => {
2741
2741
  const o = Object.getOwnPropertyDescriptor(t, r);
2742
2742
  if (!o || !o.value)
2743
- throw Q(D.UNEXPECTED_ERROR);
2743
+ throw J(D.UNEXPECTED_ERROR);
2744
2744
  Object.defineProperty(e.config.globalProperties, `$${r}`, o);
2745
2745
  });
2746
2746
  }
2747
- ps(Qr);
2747
+ ps(Jr);
2748
2748
  hs(yn);
2749
2749
  Ms();
2750
2750
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
@@ -2806,10 +2806,10 @@ const Ea = _e({
2806
2806
  silentFallbackWarn: !0
2807
2807
  });
2808
2808
  So("theme", e.theme);
2809
- const n = x({
2809
+ const n = M({
2810
2810
  onlyShowOnline: !1,
2811
2811
  searchStr: ""
2812
- }), r = x();
2812
+ }), r = M();
2813
2813
  return {
2814
2814
  i18nHello: t.global,
2815
2815
  inputSearchRef: r,
@@ -2821,7 +2821,7 @@ const Oa = { class: "device-group-list" }, Na = { class: "search-panel" }, ba =
2821
2821
  function ya(e, t, n, r, o, a) {
2822
2822
  var s;
2823
2823
  const l = ie("CountShow"), i = ie("group-show");
2824
- return A(), R("div", Oa, [
2824
+ return A(), F("div", Oa, [
2825
2825
  C("div", Na, [
2826
2826
  se(l, { countInfo: e.deviceGroup }, {
2827
2827
  default: ce(() => [
@@ -2837,18 +2837,18 @@ function ya(e, t, n, r, o, a) {
2837
2837
  }, 8, ["countInfo"])
2838
2838
  ]),
2839
2839
  C("div", Ta, [
2840
- (A(!0), R(Oe, null, Ce((s = e.deviceGroup) == null ? void 0 : s.items, (c, u) => (A(), _n(i, {
2840
+ (A(!0), F(Oe, null, De((s = e.deviceGroup) == null ? void 0 : s.items, (c, u) => (A(), _n(i, {
2841
2841
  controlParams: e.controlParams,
2842
2842
  key: u,
2843
2843
  deviceGroup: c
2844
2844
  }, {
2845
- group: ce(({ group: _ }) => [
2846
- oe(e.$slots, "group", { group: _ }, void 0, !0)
2845
+ group: ce(({ group: d }) => [
2846
+ oe(e.$slots, "group", { group: d }, void 0, !0)
2847
2847
  ]),
2848
- device: ce(({ device: _, group: d }) => [
2848
+ device: ce(({ device: d, group: _ }) => [
2849
2849
  oe(e.$slots, "device", {
2850
- device: _,
2851
- group: d
2850
+ device: d,
2851
+ group: _
2852
2852
  }, void 0, !0)
2853
2853
  ]),
2854
2854
  _: 2
@@ -2874,7 +2874,7 @@ function Aa(e, t) {
2874
2874
  function ka(e, t, n) {
2875
2875
  return n.findIndex((r) => e >= r.leftTop.row && e < r.rightBottom.row && t >= r.leftTop.col && t < r.rightBottom.col) >= 0;
2876
2876
  }
2877
- function Fa(e, t, n) {
2877
+ function Ra(e, t, n) {
2878
2878
  n.forEach((r) => {
2879
2879
  const o = Pa(zn({}, r.leftTop), {
2880
2880
  id: Kn(r.leftTop),
@@ -2892,7 +2892,7 @@ function Kn(e) {
2892
2892
  return `${e.row}-${e.col}`;
2893
2893
  }
2894
2894
  const cn = "ComponentsDefaultLayoutKeyAF84566";
2895
- function Ra(e) {
2895
+ function Fa(e) {
2896
2896
  const t = [], n = [];
2897
2897
  for (let r = 0; r < e.points.length / 2; r++)
2898
2898
  n.push(e.points.slice(r * 2, r * 2 + 2));
@@ -2916,7 +2916,7 @@ function Ra(e) {
2916
2916
  }
2917
2917
  return t;
2918
2918
  }
2919
- const Se = {
2919
+ const Ue = {
2920
2920
  TransLayoutToFrams(e) {
2921
2921
  const t = [];
2922
2922
  e.area && t.push(e.area), e.areas && t.push(...e.areas);
@@ -2936,7 +2936,7 @@ const Se = {
2936
2936
  }, { row: r, col: o });
2937
2937
  n.push(a);
2938
2938
  }
2939
- return Fa(n, e, t), n;
2939
+ return Ra(n, e, t), n;
2940
2940
  },
2941
2941
  TransLayoutToSVG(e, t) {
2942
2942
  const n = [];
@@ -2952,15 +2952,15 @@ const Se = {
2952
2952
  col: c,
2953
2953
  points: [0, e.row]
2954
2954
  });
2955
- n.forEach(({ leftTop: { row: c, col: u }, rightBottom: { row: _, col: d } }) => {
2956
- for (let g = c + 1; g < _; g++)
2957
- r[g].points.push(u, d);
2958
- for (let g = u + 1; g < d; g++)
2959
- o[g].points.push(c, _);
2955
+ n.forEach(({ leftTop: { row: c, col: u }, rightBottom: { row: d, col: _ } }) => {
2956
+ for (let g = c + 1; g < d; g++)
2957
+ r[g].points.push(u, _);
2958
+ for (let g = u + 1; g < _; g++)
2959
+ o[g].points.push(c, d);
2960
2960
  });
2961
2961
  const a = r.concat(...o), s = [];
2962
2962
  a.forEach((c) => {
2963
- c.points = c.points.sort(), s.push(...Ra(c));
2963
+ c.points = c.points.sort(), s.push(...Fa(c));
2964
2964
  });
2965
2965
  const l = {
2966
2966
  row: t.height / e.row,
@@ -2998,10 +2998,10 @@ const Se = {
2998
2998
  }
2999
2999
  },
3000
3000
  setup(e) {
3001
- const t = x([]);
3001
+ const t = M([]);
3002
3002
  return e.layouts && e.layouts.forEach((n) => {
3003
3003
  t.value.push({
3004
- svg: Se.TransLayoutToSVG(n, { width: 100, height: 100 }),
3004
+ svg: Ue.TransLayoutToSVG(n, { width: 100, height: 100 }),
3005
3005
  layout: n,
3006
3006
  select: JSON.stringify(n) == JSON.stringify(e.defaultLayout)
3007
3007
  });
@@ -3021,6 +3021,10 @@ const Se = {
3021
3021
  );
3022
3022
  },
3023
3023
  methods: {
3024
+ SelectLayoutById(e) {
3025
+ const t = this.layoutInfos.find((n) => JSON.stringify(n.layout) == e);
3026
+ return t ? (t.select || this.selectClick(t), !0) : !1;
3027
+ },
3024
3028
  selectClick(e) {
3025
3029
  if (e.select == !1) {
3026
3030
  const t = {
@@ -3036,8 +3040,8 @@ const Se = {
3036
3040
  });
3037
3041
  const Ma = ["onClick"], Va = { style: { position: "relative", display: "inline-block", margin: "10px" } }, Ua = ["innerHTML"], xa = { style: { "vertical-align": "middle" } };
3038
3042
  function Ga(e, t, n, r, o, a) {
3039
- return A(), R("div", null, [
3040
- (A(!0), R(Oe, null, Ce(e.layoutInfos, (s) => (A(), R("div", {
3043
+ return A(), F("div", null, [
3044
+ (A(!0), F(Oe, null, De(e.layoutInfos, (s) => (A(), F("div", {
3041
3045
  class: Xe(s.select ? "layout-item layout-item-select" : "layout-item"),
3042
3046
  onClick: (l) => e.selectClick(s)
3043
3047
  }, [
@@ -3051,9 +3055,9 @@ function Ga(e, t, n, r, o, a) {
3051
3055
  ], 10, Ma))), 256))
3052
3056
  ]);
3053
3057
  }
3054
- const Wa = /* @__PURE__ */ de($a, [["render", Ga], ["__scopeId", "data-v-e550e731"]]), Ha = _e({
3058
+ const Wa = /* @__PURE__ */ de($a, [["render", Ga], ["__scopeId", "data-v-36f7a9fc"]]), Ha = _e({
3055
3059
  emits: {
3056
- LayoutChange(e, t) {
3060
+ LayoutChange(e, t, n) {
3057
3061
  return !0;
3058
3062
  }
3059
3063
  },
@@ -3062,60 +3066,67 @@ const Wa = /* @__PURE__ */ de($a, [["render", Ga], ["__scopeId", "data-v-e550e73
3062
3066
  },
3063
3067
  setup(e, t) {
3064
3068
  const n = [
3065
- U.Test.genLayout(1, 1),
3066
- U.Test.genLayout(1, 2),
3067
- U.Test.genLayout(2, 2),
3068
- U.Test.genLayout(2, 3),
3069
- U.genLayout(3, 3, [
3069
+ x.Test.genLayout(1, 1),
3070
+ x.Test.genLayout(1, 2),
3071
+ x.Test.genLayout(2, 2),
3072
+ x.Test.genLayout(2, 3),
3073
+ x.genLayout(3, 3, [
3070
3074
  [0, 0, 2, 2],
3071
3075
  [2, 0, 3, 2]
3072
3076
  ]),
3073
- U.Test.genLayout(3, 3, [0, 0, 2, 2]),
3074
- U.Test.genLayout(3, 3, [1, 0, 2, 3]),
3075
- U.Test.genLayout(4, 4, [0, 0, 3, 3]),
3076
- U.Test.genLayout(3, 3),
3077
- U.Test.genLayout(5, 5, [0, 0, 4, 4]),
3078
- U.Test.genLayout(6, 6, [0, 0, 5, 5]),
3079
- U.Test.genLayout(4, 4, [1, 1, 3, 3]),
3080
- U.Test.genLayout(4, 4),
3081
- U.Test.genLayout(5, 5),
3082
- U.Test.genLayout(6, 6)
3083
- ];
3084
- let r = Se.StorageDefaultLayout.get();
3085
- const o = r || n[0];
3086
- function a(_, d) {
3087
- return Se.TransLayoutToFrams(_.layout).map(({ id: g, row: v, col: O }) => ({
3088
- id: g,
3089
- row: v,
3090
- col: O
3091
- })), t.emit("LayoutChange", _, () => {
3092
- c();
3093
- }), _.cancel || (l.value = d), !_.cancel;
3077
+ x.Test.genLayout(3, 3, [0, 0, 2, 2]),
3078
+ x.Test.genLayout(3, 3, [1, 0, 2, 3]),
3079
+ x.Test.genLayout(4, 4, [0, 0, 3, 3]),
3080
+ x.Test.genLayout(3, 3),
3081
+ x.Test.genLayout(5, 5, [0, 0, 4, 4]),
3082
+ x.Test.genLayout(6, 6, [0, 0, 5, 5]),
3083
+ x.Test.genLayout(4, 4, [1, 1, 3, 3]),
3084
+ x.Test.genLayout(4, 4),
3085
+ x.Test.genLayout(5, 5),
3086
+ x.Test.genLayout(6, 6)
3087
+ ], r = M();
3088
+ let o = Ue.StorageDefaultLayout.get();
3089
+ const a = o || n[0];
3090
+ function s(p, O) {
3091
+ return t.emit(
3092
+ "LayoutChange",
3093
+ JSON.stringify(p.layout),
3094
+ p,
3095
+ () => {
3096
+ u.value && d();
3097
+ }
3098
+ ), p.cancel || (c.value = O), !p.cancel;
3094
3099
  }
3095
- const s = function(_, d) {
3096
- JSON.stringify(r) != JSON.stringify(_) && a(_, d) && (r = _.layout, Se.StorageDefaultLayout.set(_.layout)), l.value.length == 0 && a(_, d);
3097
- }, l = x(""), i = x(!1), c = () => {
3098
- i.value = !i.value, i.value ? window.addEventListener("click", u) : window.removeEventListener("click", u);
3099
- }, u = (_) => {
3100
- i.value && _.composedPath().findIndex(({ className: g }) => g == "layout-switcher") < 0 && (i.value = !1, window.removeEventListener("click", u));
3100
+ let l = !0;
3101
+ const i = function(p, O) {
3102
+ JSON.stringify(o) != JSON.stringify(p) && s(p, O) && l && (o = p.layout, Ue.StorageDefaultLayout.set(p.layout)), c.value.length == 0 && s(p, O);
3103
+ }, c = M(""), u = M(!1), d = () => {
3104
+ u.value = !u.value, u.value ? window.addEventListener("click", _) : window.removeEventListener("click", _);
3105
+ }, _ = (p) => {
3106
+ u.value && p.composedPath().findIndex(({ className: E }) => E == "layout-switcher") < 0 && (u.value = !1, window.removeEventListener("click", _));
3101
3107
  };
3102
3108
  return {
3103
- clickShowSelectPanel: c,
3104
- showSelectPanel: i,
3105
- onselect: s,
3106
- svgSelect: l,
3109
+ selectLoyoutById: (p, O) => {
3110
+ var E;
3111
+ O || (l = !1), (E = r.value) == null || E.SelectLayoutById(p), O = !0;
3112
+ },
3113
+ refLayoutShow: r,
3114
+ clickShowSelectPanel: d,
3115
+ showSelectPanel: u,
3116
+ onselect: i,
3117
+ svgSelect: c,
3107
3118
  layout: n,
3108
- defaultLayout: o
3119
+ defaultLayout: a
3109
3120
  };
3110
3121
  },
3111
- expose: []
3122
+ expose: ["selectLoyoutById"]
3112
3123
  });
3113
- const Xn = (e) => (Co("data-v-7cc795b9"), e = e(), Po(), e), ja = { class: "layout-switcher" }, Ba = ["innerHTML"], Ya = { class: "switch-panel" }, za = /* @__PURE__ */ Xn(() => /* @__PURE__ */ C("div", { style: { "margin-left": "10px" } }, [
3124
+ const Xn = (e) => (Co("data-v-69bf0edf"), e = e(), Po(), e), ja = { class: "layout-switcher" }, Ba = ["innerHTML"], Ya = { class: "switch-panel" }, za = /* @__PURE__ */ Xn(() => /* @__PURE__ */ C("div", { style: { "margin-left": "10px" } }, [
3114
3125
  /* @__PURE__ */ C("span", null, "\u8BF7\u9009\u62E9\u5E03\u5C40\u6837\u5F0F")
3115
- ], -1)), Ka = { style: { "margin-left": "10px", padding: "10px" } }, Xa = { style: { "margin-left": "10px" } }, Qa = /* @__PURE__ */ Xn(() => /* @__PURE__ */ C("span", null, "\u6807\u51C6\u6A21\u5F0F\uFF1A", -1));
3116
- function Ja(e, t, n, r, o, a) {
3126
+ ], -1)), Ka = { style: { "margin-left": "10px", padding: "10px" } }, Xa = { style: { "margin-left": "10px" } }, Ja = /* @__PURE__ */ Xn(() => /* @__PURE__ */ C("span", null, "\u6807\u51C6\u6A21\u5F0F\uFF1A", -1));
3127
+ function Qa(e, t, n, r, o, a) {
3117
3128
  const s = ie("LayoutShow");
3118
- return A(), R("div", ja, [
3129
+ return A(), F("div", ja, [
3119
3130
  C("div", {
3120
3131
  onClick: t[0] || (t[0] = (...l) => e.clickShowSelectPanel && e.clickShowSelectPanel(...l)),
3121
3132
  class: "switch-switcher"
@@ -3129,8 +3140,9 @@ function Ja(e, t, n, r, o, a) {
3129
3140
  za,
3130
3141
  C("div", Ka, [
3131
3142
  C("div", Xa, [
3132
- Qa,
3143
+ Ja,
3133
3144
  se(s, {
3145
+ ref: "refLayoutShow",
3134
3146
  layouts: e.layout,
3135
3147
  defaultLayout: e.defaultLayout,
3136
3148
  onOnselect: e.onselect
@@ -3142,14 +3154,14 @@ function Ja(e, t, n, r, o, a) {
3142
3154
  ])
3143
3155
  ]);
3144
3156
  }
3145
- const qa = /* @__PURE__ */ de(Ha, [["render", Ja], ["__scopeId", "data-v-7cc795b9"]]), Za = _e({
3157
+ const qa = /* @__PURE__ */ de(Ha, [["render", Qa], ["__scopeId", "data-v-69bf0edf"]]), Za = _e({
3146
3158
  props: {
3147
3159
  layout: {
3148
3160
  type: Object
3149
3161
  }
3150
3162
  },
3151
3163
  setup(e) {
3152
- const t = W(() => e.layout ? Se.TransLayoutToFrams(e.layout).sort((r, o) => r.row == o.row ? r.col - o.col : r.row - o.row) : []);
3164
+ const t = W(() => e.layout ? Ue.TransLayoutToFrams(e.layout).sort((r, o) => r.row == o.row ? r.col - o.col : r.row - o.row) : []);
3153
3165
  return {
3154
3166
  areas: W(() => t.value.map((r) => ({
3155
3167
  id: r.id,
@@ -3162,8 +3174,8 @@ const qa = /* @__PURE__ */ de(Ha, [["render", Ja], ["__scopeId", "data-v-7cc795b
3162
3174
  });
3163
3175
  const el = { style: { position: "relative", height: "100%", width: "100%" } };
3164
3176
  function tl(e, t, n, r, o, a) {
3165
- return A(), R("div", el, [
3166
- (A(!0), R(Oe, null, Ce(e.frameRef, ({ layout: s, id: l, row: i, col: c }) => (A(), R("div", {
3177
+ return A(), F("div", el, [
3178
+ (A(!0), F(Oe, null, De(e.frameRef, ({ layout: s, id: l, row: i, col: c }) => (A(), F("div", {
3167
3179
  class: "play-area",
3168
3180
  style: Le(`position: absolute; top: calc(${s.top}%); left: calc(${s.left}%); width: calc(${s.width}%); height: calc(${s.height}%);`)
3169
3181
  }, [
@@ -3190,7 +3202,7 @@ const nl = /* @__PURE__ */ de(Za, [["render", tl], ["__scopeId", "data-v-efd900b
3190
3202
  };
3191
3203
  export {
3192
3204
  bt as RecursionDeviceGroup,
3193
- U as VideoAreaLayout,
3205
+ x as VideoAreaLayout,
3194
3206
  sl as default
3195
3207
  };
3196
3208
  //# sourceMappingURL=smarteye-e-components.mjs.map