lty-protocol 1.0.17 → 1.0.19

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,6 +1,6 @@
1
- import * as St from "vue";
2
- import { defineComponent as _e, openBlock as ue, createElementBlock as Ce, renderSlot as Jn, inject as Bt, ref as at, watch as ge, createBlock as Kt, resolveDynamicComponent as Qn, unref as jt, Fragment as ot, renderList as qn, toDisplayString as Ur, createVNode as Zn, effectScope as wr, computed as He, isRef as Vr, shallowRef as $r, h as zn, onMounted as Wr, onUnmounted as Gr, Text as xr, createApp as Hr } from "vue";
3
- const Yr = /* @__PURE__ */ _e({
1
+ import * as At from "vue";
2
+ import { defineComponent as _e, openBlock as ue, createElementBlock as Ce, renderSlot as Xn, inject as Yt, computed as Oe, createBlock as Bt, resolveDynamicComponent as Jn, unref as Kt, normalizeProps as Qn, guardReactiveProps as qn, ref as Zn, watch as Ye, Fragment as at, renderList as zn, toDisplayString as Vr, createVNode as er, effectScope as $r, isRef as Wr, shallowRef as Gr, h as tr, onMounted as xr, onUnmounted as Hr, Text as Yr, createApp as Br } from "vue";
3
+ const Kr = /* @__PURE__ */ _e({
4
4
  name: "MyButton",
5
5
  __name: "MyButton",
6
6
  emits: ["click"],
@@ -12,15 +12,15 @@ const Yr = /* @__PURE__ */ _e({
12
12
  class: "my-btn",
13
13
  onClick: r
14
14
  }, [
15
- Jn(s.$slots, "default", {}, void 0, !0)
15
+ Xn(s.$slots, "default", {}, void 0, !0)
16
16
  ]));
17
17
  }
18
- }), er = (e, t) => {
18
+ }), nr = (e, t) => {
19
19
  const n = e.__vccOpts || e;
20
20
  for (const [r, s] of t)
21
21
  n[r] = s;
22
22
  return n;
23
- }, Br = /* @__PURE__ */ er(Yr, [["__scopeId", "data-v-c654f959"]]), Kr = /* @__PURE__ */ _e({
23
+ }, jr = /* @__PURE__ */ nr(Kr, [["__scopeId", "data-v-c654f959"]]), Xr = /* @__PURE__ */ _e({
24
24
  name: "MyButton",
25
25
  __name: "button2",
26
26
  emits: ["click"],
@@ -32,53 +32,53 @@ const Yr = /* @__PURE__ */ _e({
32
32
  class: "my-btn",
33
33
  onClick: r
34
34
  }, [
35
- Jn(s.$slots, "default", {}, void 0, !0)
35
+ Xn(s.$slots, "default", {}, void 0, !0)
36
36
  ]));
37
37
  }
38
- }), jr = /* @__PURE__ */ er(Kr, [["__scopeId", "data-v-1477cfc3"]]), tr = /* @__PURE__ */ _e({
38
+ }), Jr = /* @__PURE__ */ nr(Xr, [["__scopeId", "data-v-1477cfc3"]]), rr = /* @__PURE__ */ _e({
39
39
  __name: "Input",
40
40
  props: {
41
41
  modelValue: {}
42
42
  },
43
43
  emits: ["update:modelValue"],
44
44
  setup(e, { emit: t }) {
45
- const n = e, r = t, s = Bt("UIComponents").Input, a = at(n.modelValue);
46
- return ge(() => n.modelValue, (o) => a.value = o), ge(a, (o) => r("update:modelValue", o)), (o, i) => (ue(), Kt(Qn(jt(s)), {
47
- modelValue: a.value,
48
- "onUpdate:modelValue": i[0] || (i[0] = (u) => a.value = u)
49
- }, null, 8, ["modelValue"]));
45
+ const n = e, r = t, a = Yt("UIComponents", {}).Input, o = a?.modelProp || "modelValue", i = a?.modelEvent || "update:modelValue", u = Oe(() => ({
46
+ [o]: n.modelValue,
47
+ [i]: (T) => r("update:modelValue", T)
48
+ })), m = a?.component;
49
+ return (T, h) => (ue(), Bt(Jn(Kt(m)), Qn(qn(u.value)), null, 16));
50
50
  }
51
- }), Xr = { style: { display: "flex", gap: "4px" } }, Jr = /* @__PURE__ */ _e({
51
+ }), Qr = { style: { display: "flex", gap: "4px" } }, qr = /* @__PURE__ */ _e({
52
52
  __name: "IpInput",
53
53
  props: {
54
54
  modelValue: {}
55
55
  },
56
56
  emits: ["update:modelValue"],
57
57
  setup(e, { emit: t }) {
58
- const n = e, r = t, s = at((n.modelValue || "0.0.0.0").split("."));
59
- return ge(s, () => r("update:modelValue", s.value.join(".")), { deep: !0 }), ge(() => n.modelValue, (a) => s.value = (a || "0.0.0.0").split(".")), (a, o) => (ue(), Ce("div", Xr, [
60
- (ue(!0), Ce(ot, null, qn(s.value, (i, u) => (ue(), Kt(tr, {
58
+ const n = e, r = t, s = Zn((n.modelValue || "0.0.0.0").split("."));
59
+ return Ye(s, () => r("update:modelValue", s.value.join(".")), { deep: !0 }), Ye(() => n.modelValue, (a) => s.value = (a || "0.0.0.0").split(".")), (a, o) => (ue(), Ce("div", Qr, [
60
+ (ue(!0), Ce(at, null, zn(s.value, (i, u) => (ue(), Bt(rr, {
61
61
  key: u,
62
62
  modelValue: s.value[u],
63
- "onUpdate:modelValue": (d) => s.value[u] = d
63
+ "onUpdate:modelValue": (m) => s.value[u] = m
64
64
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))), 128))
65
65
  ]));
66
66
  }
67
- }), Qr = /* @__PURE__ */ _e({
67
+ }), Zr = /* @__PURE__ */ _e({
68
68
  __name: "InputNumber",
69
69
  props: {
70
70
  modelValue: {}
71
71
  },
72
72
  emits: ["update:modelValue"],
73
73
  setup(e, { emit: t }) {
74
- const n = e, r = t, s = Bt("UIComponents").Input, a = at(n.modelValue);
75
- return ge(() => n.modelValue, (o) => a.value = o), ge(a, (o) => r("update:modelValue", o)), (o, i) => (ue(), Kt(Qn(jt(s)), {
76
- modelValue: a.value,
77
- "onUpdate:modelValue": i[0] || (i[0] = (u) => a.value = u)
78
- }, null, 8, ["modelValue"]));
74
+ const n = e, r = t, a = Yt("UIComponents", {}).Input, o = a?.modelProp || "modelValue", i = a?.modelEvent || "update:modelValue", u = Oe(() => ({
75
+ [o]: n.modelValue,
76
+ [i]: (T) => r("update:modelValue", T)
77
+ })), m = a?.component;
78
+ return (T, h) => (ue(), Bt(Jn(Kt(m)), Qn(qn(u.value)), null, 16));
79
79
  }
80
80
  });
81
- function Ei(e, t) {
81
+ function gi(e, t) {
82
82
  e.provide("UIComponents", t);
83
83
  }
84
84
  class re {
@@ -98,7 +98,7 @@ class re {
98
98
  return n.fromPlain(t);
99
99
  }
100
100
  }
101
- class qr {
101
+ class zr {
102
102
  static getDefaultConfig(t) {
103
103
  console.log(1231231, t);
104
104
  const n = t.baseInfo, r = t.configuration, s = t.tab;
@@ -109,59 +109,59 @@ class qr {
109
109
  };
110
110
  }
111
111
  }
112
- const Zr = "Ethernet", zr = [{ key: "name", name: { i18nKey: "name" }, defaultValue: "Ethernet" }, { key: "supplier", name: { i18nKey: "supplier" }, defaultValue: { i18nKey: "company" } }, { key: "version", name: { i18nKey: "verison" }, defaultValue: "1.0.0.0" }, { key: "description", name: { i18nKey: "description" }, defaultValue: { i18nKey: "descriptionMap.ethernet" } }, { key: "category", name: { i18nKey: "category" }, defaultValue: { i18nKey: "ethernet" } }], es = [{ name: { i18nKey: "general" }, key: "general" }, { name: { i18nKey: "ioMapping" }, key: "ioMapping" }], ts = { general: [{ key: "netInterface", name: { i18nKey: "netInterface" }, dataType: "string", componentType: "strInput", defaultValue: "" }, { key: "ipAddress", name: { i18nKey: "ipAddress" }, dataType: "string", componentType: "ipInput", defaultValue: "192.168.1.1" }, { key: "subnetMask", name: { i18nKey: "subnetMask" }, dataType: "string", componentType: "ipInput", defaultValue: "255.255.255.0" }, { key: "defaultGateway", name: { i18nKey: "defaultGateway" }, dataType: "string", componentType: "ipInput", defaultValue: "0.0.0.0" }, { key: "adaptedOSConfiguration", name: { i18nKey: "adaptedOSConfiguration" }, dataType: "boolean", componentType: "switch", defaultValue: !1 }], ioMapping: [{ key: "busCycleTask", name: { i18nKey: "busCycleTask" }, dataType: "string", componentType: "select", defaultValue: "-1" }] }, ns = {
113
- type: Zr,
114
- baseInfo: zr,
115
- tab: es,
116
- configuration: ts
112
+ const es = "Ethernet", ts = [{ key: "name", name: { i18nKey: "name" }, defaultValue: "Ethernet" }, { key: "supplier", name: { i18nKey: "supplier" }, defaultValue: { i18nKey: "company" } }, { key: "version", name: { i18nKey: "verison" }, defaultValue: "1.0.0.0" }, { key: "description", name: { i18nKey: "description" }, defaultValue: { i18nKey: "descriptionMap.ethernet" } }, { key: "category", name: { i18nKey: "category" }, defaultValue: { i18nKey: "ethernet" } }], ns = [{ name: { i18nKey: "general" }, key: "general" }, { name: { i18nKey: "ioMapping" }, key: "ioMapping" }], rs = { general: [{ key: "netInterface", name: { i18nKey: "netInterface" }, dataType: "string", componentType: "strInput", defaultValue: "" }, { key: "ipAddress", name: { i18nKey: "ipAddress" }, dataType: "string", componentType: "ipInput", defaultValue: "192.168.1.1" }, { key: "subnetMask", name: { i18nKey: "subnetMask" }, dataType: "string", componentType: "ipInput", defaultValue: "255.255.255.0" }, { key: "defaultGateway", name: { i18nKey: "defaultGateway" }, dataType: "string", componentType: "ipInput", defaultValue: "0.0.0.0" }, { key: "adaptedOSConfiguration", name: { i18nKey: "adaptedOSConfiguration" }, dataType: "boolean", componentType: "switch", defaultValue: !1 }], ioMapping: [{ key: "busCycleTask", name: { i18nKey: "busCycleTask" }, dataType: "string", componentType: "select", defaultValue: "-1" }] }, ss = {
113
+ type: es,
114
+ baseInfo: ts,
115
+ tab: ns,
116
+ configuration: rs
117
117
  };
118
- class lt extends re {
119
- type = Ne.ETHERNET;
120
- moduleType = it[Ne.ETHERNET];
118
+ class ot extends re {
119
+ type = ge.ETHERNET;
120
+ moduleType = lt[ge.ETHERNET];
121
121
  baseInfo;
122
122
  config;
123
123
  tab;
124
124
  constructor(t) {
125
125
  super(t);
126
- const { baseInfo: n, config: r, tab: s } = qr.getDefaultConfig(ns);
126
+ const { baseInfo: n, config: r, tab: s } = zr.getDefaultConfig(ss);
127
127
  this.baseInfo = n, this.config = r, this.tab = s;
128
128
  }
129
129
  static fromPlain(t) {
130
- return new lt(t);
130
+ return new ot(t);
131
131
  }
132
132
  }
133
- class Xt extends re {
134
- type = Ne.MODBUS_TCP_SERVER;
135
- moduleType = it[Ne.MODBUS_TCP_SERVER];
133
+ class jt extends re {
134
+ type = ge.MODBUS_TCP_SERVER;
135
+ moduleType = lt[ge.MODBUS_TCP_SERVER];
136
136
  constructor(t) {
137
137
  super(t);
138
138
  }
139
139
  static fromPlain(t) {
140
- return new Xt(t);
140
+ return new jt(t);
141
141
  }
142
142
  }
143
- class Jt extends re {
144
- type = Ne.MODBUS_TCP_CLIENT;
145
- moduleType = it[Ne.MODBUS_TCP_CLIENT];
143
+ class Xt extends re {
144
+ type = ge.MODBUS_TCP_CLIENT;
145
+ moduleType = lt[ge.MODBUS_TCP_CLIENT];
146
146
  constructor(t) {
147
147
  super(t);
148
148
  }
149
149
  static fromPlain(t) {
150
- return new Jt(t);
150
+ return new Xt(t);
151
151
  }
152
152
  }
153
- class Qt extends re {
154
- type = Ne.MODBUS_TCP_SLAVE_DEVICE;
155
- moduleType = it[Ne.MODBUS_TCP_SLAVE_DEVICE];
153
+ class Jt extends re {
154
+ type = ge.MODBUS_TCP_SLAVE_DEVICE;
155
+ moduleType = lt[ge.MODBUS_TCP_SLAVE_DEVICE];
156
156
  constructor(t) {
157
157
  super(t);
158
158
  }
159
159
  static fromPlain(t) {
160
- return new Qt(t);
160
+ return new Jt(t);
161
161
  }
162
162
  }
163
- var Ne = /* @__PURE__ */ ((e) => (e.ETHERNET = "Ethernet", e.MODBUS_TCP_SERVER = "ModbusTCPServer", e.MODBUS_TCP_CLIENT = "ModbusTCPClient", e.MODBUS_TCP_SLAVE_DEVICE = "ModbusTCPSlaveDevice", e.MODBUS_SERIAL_PORT = "ModbusSerialPort", e.MODBUS_MASTER = "ModbusMaster", e.MODBUS_SLAVE = "ModbusSlave", e.MODBUS_SERIAL = "ModbusSerial", e.OPCUA_SERVER = "OPCUAServer", e.ETHER_CAT_MASTER = "EtherCatMaster", e.ETHER_CAT_SLAVE = "EtherCatSlave", e.ETHER_CAT_MODULE = "EtherCatModule", e))(Ne || {});
164
- const it = {
163
+ var ge = /* @__PURE__ */ ((e) => (e.ETHERNET = "Ethernet", e.MODBUS_TCP_SERVER = "ModbusTCPServer", e.MODBUS_TCP_CLIENT = "ModbusTCPClient", e.MODBUS_TCP_SLAVE_DEVICE = "ModbusTCPSlaveDevice", e.MODBUS_SERIAL_PORT = "ModbusSerialPort", e.MODBUS_MASTER = "ModbusMaster", e.MODBUS_SLAVE = "ModbusSlave", e.MODBUS_SERIAL = "ModbusSerial", e.OPCUA_SERVER = "OPCUAServer", e.ETHER_CAT_MASTER = "EtherCatMaster", e.ETHER_CAT_SLAVE = "EtherCatSlave", e.ETHER_CAT_MODULE = "EtherCatModule", e))(ge || {});
164
+ const lt = {
165
165
  Pprogrammable: 4096,
166
166
  // 根节点
167
167
  Protgrammable_Safety: 4098,
@@ -215,10 +215,10 @@ const it = {
215
215
  EtherCatModule: 16384
216
216
  // Ethercat子模块
217
217
  };
218
- class rs {
218
+ class as {
219
219
  map = /* @__PURE__ */ new Map();
220
220
  constructor() {
221
- re.register("Ethernet", lt), re.register("ModbusTCPServer", Xt), re.register("ModbusTCPClient", Jt), re.register("ModbusTCPSlaveDevice", Qt);
221
+ re.register("Ethernet", ot), re.register("ModbusTCPServer", jt), re.register("ModbusTCPClient", Xt), re.register("ModbusTCPSlaveDevice", Jt);
222
222
  }
223
223
  init(t) {
224
224
  this.clear(), t.forEach((n) => {
@@ -245,36 +245,36 @@ class rs {
245
245
  this.map.clear();
246
246
  }
247
247
  }
248
- const ss = /* @__PURE__ */ _e({
248
+ const os = /* @__PURE__ */ _e({
249
249
  __name: "Ethernet",
250
250
  props: {
251
251
  config: {}
252
252
  },
253
253
  setup(e) {
254
- return (t, n) => (ue(!0), Ce(ot, null, qn(e.config.tab, (r) => (ue(), Ce("div", {
254
+ return (t, n) => (ue(!0), Ce(at, null, zn(e.config.tab, (r) => (ue(), Ce("div", {
255
255
  key: r.key
256
- }, Ur(t.$t(r.name.i18nKey)), 1))), 128));
256
+ }, Vr(t.$t(r.name.i18nKey)), 1))), 128));
257
257
  }
258
- }), as = /* @__PURE__ */ _e({
258
+ }), ls = /* @__PURE__ */ _e({
259
259
  __name: "App",
260
260
  setup(e) {
261
- new rs();
262
- const t = new lt({
261
+ new as();
262
+ const t = new ot({
263
263
  id: 1,
264
264
  deviceId: 1,
265
265
  type: "Ethernet"
266
266
  });
267
267
  return (n, r) => (ue(), Ce("div", null, [
268
- Zn(ss, { config: jt(t) }, null, 8, ["config"])
268
+ er(os, { config: Kt(t) }, null, 8, ["config"])
269
269
  ]));
270
270
  }
271
271
  });
272
272
  function fe(e, t) {
273
273
  typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
274
274
  }
275
- const mn = {};
276
- function qt(e) {
277
- mn[e] || (mn[e] = !0, fe(e));
275
+ const _n = {};
276
+ function Qt(e) {
277
+ _n[e] || (_n[e] = !0, fe(e));
278
278
  }
279
279
  const le = typeof window < "u";
280
280
  let ee, Ae;
@@ -287,21 +287,21 @@ if (process.env.NODE_ENV !== "production") {
287
287
  e.measure(t, n, r), e.clearMarks(n), e.clearMarks(r);
288
288
  });
289
289
  }
290
- const os = /\{([0-9a-zA-Z]+)\}/g;
291
- function ct(e, ...t) {
292
- return t.length === 1 && M(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(os, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
290
+ const is = /\{([0-9a-zA-Z]+)\}/g;
291
+ function it(e, ...t) {
292
+ return t.length === 1 && M(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(is, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
293
293
  }
294
- const me = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), ls = (e, t, n) => is({ l: e, k: t, s: n }), is = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), j = (e) => typeof e == "number" && isFinite(e), cs = (e) => Zt(e) === "[object Date]", Fe = (e) => Zt(e) === "[object RegExp]", ut = (e) => R(e) && Object.keys(e).length === 0, J = Object.assign, us = Object.create, $ = (e = null) => us(e);
295
- let dn;
296
- const ve = () => dn || (dn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : $());
297
- function En(e) {
294
+ const me = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), cs = (e, t, n) => us({ l: e, k: t, s: n }), us = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), j = (e) => typeof e == "number" && isFinite(e), fs = (e) => qt(e) === "[object Date]", Fe = (e) => qt(e) === "[object RegExp]", ct = (e) => R(e) && Object.keys(e).length === 0, J = Object.assign, _s = Object.create, $ = (e = null) => _s(e);
295
+ let mn;
296
+ const ve = () => mn || (mn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : $());
297
+ function dn(e) {
298
298
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/\//g, "&#x2F;").replace(/=/g, "&#x3D;");
299
299
  }
300
- function pn(e) {
300
+ function En(e) {
301
301
  return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
302
302
  }
303
- function fs(e) {
304
- return e = e.replace(/(\w+)\s*=\s*"([^"]*)"/g, (r, s, a) => `${s}="${pn(a)}"`), e = e.replace(/(\w+)\s*=\s*'([^']*)'/g, (r, s, a) => `${s}='${pn(a)}'`), /\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e) && (process.env.NODE_ENV !== "production" && fe("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."), e = e.replace(/(\s+)(on)(\w+\s*=)/gi, "$1&#111;n$3")), [
303
+ function ms(e) {
304
+ return e = e.replace(/(\w+)\s*=\s*"([^"]*)"/g, (r, s, a) => `${s}="${En(a)}"`), e = e.replace(/(\w+)\s*=\s*'([^']*)'/g, (r, s, a) => `${s}='${En(a)}'`), /\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e) && (process.env.NODE_ENV !== "production" && fe("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."), e = e.replace(/(\s+)(on)(\w+\s*=)/gi, "$1&#111;n$3")), [
305
305
  // In href, src, action, formaction attributes
306
306
  /(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,
307
307
  // In style attributes within url()
@@ -310,36 +310,36 @@ function fs(e) {
310
310
  e = e.replace(r, "$1javascript&#58;");
311
311
  }), e;
312
312
  }
313
- const _s = Object.prototype.hasOwnProperty;
313
+ const ds = Object.prototype.hasOwnProperty;
314
314
  function oe(e, t) {
315
- return _s.call(e, t);
315
+ return ds.call(e, t);
316
316
  }
317
- const H = Array.isArray, W = (e) => typeof e == "function", L = (e) => typeof e == "string", F = (e) => typeof e == "boolean", M = (e) => e !== null && typeof e == "object", ms = (e) => M(e) && W(e.then) && W(e.catch), nr = Object.prototype.toString, Zt = (e) => nr.call(e), R = (e) => Zt(e) === "[object Object]", ds = (e) => e == null ? "" : H(e) || R(e) && e.toString === nr ? JSON.stringify(e, null, 2) : String(e);
318
- function zt(e, t = "") {
317
+ const H = Array.isArray, W = (e) => typeof e == "function", L = (e) => typeof e == "string", F = (e) => typeof e == "boolean", M = (e) => e !== null && typeof e == "object", Es = (e) => M(e) && W(e.then) && W(e.catch), sr = Object.prototype.toString, qt = (e) => sr.call(e), R = (e) => qt(e) === "[object Object]", ps = (e) => e == null ? "" : H(e) || R(e) && e.toString === sr ? JSON.stringify(e, null, 2) : String(e);
318
+ function Zt(e, t = "") {
319
319
  return e.reduce((n, r, s) => s === 0 ? n + r : n + t + r, "");
320
320
  }
321
- const gn = 2;
322
- function Es(e, t = 0, n = e.length) {
321
+ const pn = 2;
322
+ function gs(e, t = 0, n = e.length) {
323
323
  const r = e.split(/\r?\n/);
324
324
  let s = 0;
325
325
  const a = [];
326
326
  for (let o = 0; o < r.length; o++)
327
327
  if (s += r[o].length + 1, s >= t) {
328
- for (let i = o - gn; i <= o + gn || n > s; i++) {
328
+ for (let i = o - pn; i <= o + pn || n > s; i++) {
329
329
  if (i < 0 || i >= r.length)
330
330
  continue;
331
331
  const u = i + 1;
332
332
  a.push(`${u}${" ".repeat(3 - String(u).length)}| ${r[i]}`);
333
- const d = r[i].length;
333
+ const m = r[i].length;
334
334
  if (i === o) {
335
- const I = t - (s - d) + 1, b = Math.max(1, n > s ? d - I : n - t);
336
- a.push(" | " + " ".repeat(I) + "^".repeat(b));
335
+ const T = t - (s - m) + 1, h = Math.max(1, n > s ? m - T : n - t);
336
+ a.push(" | " + " ".repeat(T) + "^".repeat(h));
337
337
  } else if (i > o) {
338
338
  if (n > s) {
339
- const I = Math.max(Math.min(n - s, d), 1);
340
- a.push(" | " + "^".repeat(I));
339
+ const T = Math.max(Math.min(n - s, m), 1);
340
+ a.push(" | " + "^".repeat(T));
341
341
  }
342
- s += d + 1;
342
+ s += m + 1;
343
343
  }
344
344
  }
345
345
  break;
@@ -347,7 +347,7 @@ function Es(e, t = 0, n = e.length) {
347
347
  return a.join(`
348
348
  `);
349
349
  }
350
- function en() {
350
+ function zt() {
351
351
  const e = /* @__PURE__ */ new Map();
352
352
  return {
353
353
  events: e,
@@ -376,10 +376,10 @@ function rt(e, t) {
376
376
  });
377
377
  }
378
378
  }
379
- function ps(e, t, n) {
379
+ function Ns(e, t, n) {
380
380
  return { line: e, column: t, offset: n };
381
381
  }
382
- function Rt(e, t, n) {
382
+ function kt(e, t, n) {
383
383
  return { start: e, end: t };
384
384
  }
385
385
  const P = {
@@ -403,7 +403,7 @@ const P = {
403
403
  UNHANDLED_CODEGEN_NODE_TYPE: 15,
404
404
  // minifier error codes
405
405
  UNHANDLED_MINIFIER_NODE_TYPE: 16
406
- }, gs = 17, Ns = {
406
+ }, Ts = 17, bs = {
407
407
  // tokenizer error messages
408
408
  [P.EXPECTED_TOKEN]: "Expected token: '{0}'",
409
409
  [P.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
@@ -426,22 +426,22 @@ const P = {
426
426
  [P.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
427
427
  };
428
428
  function Ve(e, t, n = {}) {
429
- const { domain: r, messages: s, args: a } = n, o = process.env.NODE_ENV !== "production" ? ct((s || Ns)[e] || "", ...a || []) : e, i = new SyntaxError(String(o));
429
+ const { domain: r, messages: s, args: a } = n, o = process.env.NODE_ENV !== "production" ? it((s || bs)[e] || "", ...a || []) : e, i = new SyntaxError(String(o));
430
430
  return i.code = e, t && (i.location = t), i.domain = r, i;
431
431
  }
432
- function Ts(e) {
432
+ function hs(e) {
433
433
  throw e;
434
434
  }
435
- const bs = /<\/?[\w\s="/.':;#-\/]+>/, hs = (e) => bs.test(e), ie = " ", Is = "\r", Q = `
436
- `, Ls = "\u2028", Os = "\u2029";
437
- function vs(e) {
435
+ const Is = /<\/?[\w\s="/.':;#-\/]+>/, Ls = (e) => Is.test(e), ie = " ", Os = "\r", Q = `
436
+ `, vs = "\u2028", Cs = "\u2029";
437
+ function As(e) {
438
438
  const t = e;
439
439
  let n = 0, r = 1, s = 1, a = 0;
440
- const o = (p) => t[p] === Is && t[p + 1] === Q, i = (p) => t[p] === Q, u = (p) => t[p] === Os, d = (p) => t[p] === Ls, I = (p) => o(p) || i(p) || u(p) || d(p), b = () => n, N = () => r, A = () => s, D = () => a, C = (p) => o(p) || u(p) || d(p) ? Q : t[p], S = () => C(n), f = () => C(n + a);
441
- function m() {
442
- return a = 0, I(n) && (r++, s = 0), o(n) && n++, n++, s++, t[n];
440
+ const o = (p) => t[p] === Os && t[p + 1] === Q, i = (p) => t[p] === Q, u = (p) => t[p] === Cs, m = (p) => t[p] === vs, T = (p) => o(p) || i(p) || u(p) || m(p), h = () => n, N = () => r, A = () => s, D = () => a, C = (p) => o(p) || u(p) || m(p) ? Q : t[p], S = () => C(n), f = () => C(n + a);
441
+ function d() {
442
+ return a = 0, T(n) && (r++, s = 0), o(n) && n++, n++, s++, t[n];
443
443
  }
444
- function h() {
444
+ function I() {
445
445
  return o(n + a) && a++, a++, t[n + a];
446
446
  }
447
447
  function E() {
@@ -453,27 +453,27 @@ function vs(e) {
453
453
  function v() {
454
454
  const p = n + a;
455
455
  for (; p !== n; )
456
- m();
456
+ d();
457
457
  a = 0;
458
458
  }
459
459
  return {
460
- index: b,
460
+ index: h,
461
461
  line: N,
462
462
  column: A,
463
463
  peekOffset: D,
464
464
  charAt: C,
465
465
  currentChar: S,
466
466
  currentPeek: f,
467
- next: m,
468
- peek: h,
467
+ next: d,
468
+ peek: I,
469
469
  reset: E,
470
470
  resetPeek: O,
471
471
  skipToPeek: v
472
472
  };
473
473
  }
474
- const Ee = void 0, Cs = ".", Nn = "'", As = "tokenizer";
475
- function Ss(e, t = {}) {
476
- const n = t.location !== !1, r = vs(e), s = () => r.index(), a = () => ps(r.line(), r.column(), r.index()), o = a(), i = s(), u = {
474
+ const Ee = void 0, Ss = ".", gn = "'", ys = "tokenizer";
475
+ function Ps(e, t = {}) {
476
+ const n = t.location !== !1, r = As(e), s = () => r.index(), a = () => Ns(r.line(), r.column(), r.index()), o = a(), i = s(), u = {
477
477
  currentType: 13,
478
478
  offset: i,
479
479
  startLoc: o,
@@ -485,21 +485,21 @@ function Ss(e, t = {}) {
485
485
  braceNest: 0,
486
486
  inLinked: !1,
487
487
  text: ""
488
- }, d = () => u, { onError: I } = t;
489
- function b(l, c, g, ...y) {
490
- const x = d();
491
- if (c.column += g, c.offset += g, I) {
492
- const B = n ? Rt(x.startLoc, c) : null, U = Ve(l, B, {
493
- domain: As,
488
+ }, m = () => u, { onError: T } = t;
489
+ function h(l, c, g, ...y) {
490
+ const x = m();
491
+ if (c.column += g, c.offset += g, T) {
492
+ const B = n ? kt(x.startLoc, c) : null, U = Ve(l, B, {
493
+ domain: ys,
494
494
  args: y
495
495
  });
496
- I(U);
496
+ T(U);
497
497
  }
498
498
  }
499
499
  function N(l, c, g) {
500
500
  l.endLoc = a(), l.currentType = c;
501
501
  const y = { type: c };
502
- return n && (y.loc = Rt(l.startLoc, l.endLoc)), g != null && (y.value = g), y;
502
+ return n && (y.loc = kt(l.startLoc, l.endLoc)), g != null && (y.value = g), y;
503
503
  }
504
504
  const A = (l) => N(
505
505
  l,
@@ -507,7 +507,7 @@ function Ss(e, t = {}) {
507
507
  /* TokenTypes.EOF */
508
508
  );
509
509
  function D(l, c) {
510
- return l.currentChar() === c ? (l.next(), c) : (b(P.EXPECTED_TOKEN, a(), 0, c), "");
510
+ return l.currentChar() === c ? (l.next(), c) : (h(P.EXPECTED_TOKEN, a(), 0, c), "");
511
511
  }
512
512
  function C(l) {
513
513
  let c = "";
@@ -527,13 +527,13 @@ function Ss(e, t = {}) {
527
527
  c >= 65 && c <= 90 || // A-Z
528
528
  c === 95;
529
529
  }
530
- function m(l) {
530
+ function d(l) {
531
531
  if (l === Ee)
532
532
  return !1;
533
533
  const c = l.charCodeAt(0);
534
534
  return c >= 48 && c <= 57;
535
535
  }
536
- function h(l, c) {
536
+ function I(l, c) {
537
537
  const { currentType: g } = c;
538
538
  if (g !== 2)
539
539
  return !1;
@@ -546,7 +546,7 @@ function Ss(e, t = {}) {
546
546
  if (g !== 2)
547
547
  return !1;
548
548
  C(l);
549
- const y = l.currentPeek() === "-" ? l.peek() : l.currentPeek(), x = m(y);
549
+ const y = l.currentPeek() === "-" ? l.peek() : l.currentPeek(), x = d(y);
550
550
  return l.resetPeek(), x;
551
551
  }
552
552
  function O(l, c) {
@@ -554,7 +554,7 @@ function Ss(e, t = {}) {
554
554
  if (g !== 2)
555
555
  return !1;
556
556
  C(l);
557
- const y = l.currentPeek() === Nn;
557
+ const y = l.currentPeek() === gn;
558
558
  return l.resetPeek(), y;
559
559
  }
560
560
  function v(l, c) {
@@ -615,10 +615,10 @@ function Ss(e, t = {}) {
615
615
  c === 95 || // _
616
616
  c === 36;
617
617
  }
618
- function mt(l) {
618
+ function _t(l) {
619
619
  return Y(l, Pe);
620
620
  }
621
- function dt(l) {
621
+ function mt(l) {
622
622
  const c = l.charCodeAt(0);
623
623
  return c >= 97 && c <= 122 || // a-z
624
624
  c >= 65 && c <= 90 || // A-Z
@@ -627,32 +627,32 @@ function Ss(e, t = {}) {
627
627
  c === 36 || // $
628
628
  c === 45;
629
629
  }
630
- function Et(l) {
631
- return Y(l, dt);
630
+ function dt(l) {
631
+ return Y(l, mt);
632
632
  }
633
- function pt(l) {
633
+ function Et(l) {
634
634
  const c = l.charCodeAt(0);
635
635
  return c >= 48 && c <= 57;
636
636
  }
637
- function gt(l) {
638
- return Y(l, pt);
637
+ function pt(l) {
638
+ return Y(l, Et);
639
639
  }
640
- function Nt(l) {
640
+ function gt(l) {
641
641
  const c = l.charCodeAt(0);
642
642
  return c >= 48 && c <= 57 || // 0-9
643
643
  c >= 65 && c <= 70 || // A-F
644
644
  c >= 97 && c <= 102;
645
645
  }
646
646
  function de(l) {
647
- return Y(l, Nt);
647
+ return Y(l, gt);
648
648
  }
649
649
  function $e(l) {
650
650
  let c = "", g = "";
651
- for (; c = gt(l); )
651
+ for (; c = pt(l); )
652
652
  g += c;
653
653
  return g;
654
654
  }
655
- function Tt(l) {
655
+ function Nt(l) {
656
656
  let c = "";
657
657
  for (; ; ) {
658
658
  const g = l.currentChar();
@@ -671,35 +671,35 @@ function Ss(e, t = {}) {
671
671
  }
672
672
  return c;
673
673
  }
674
- function bt(l) {
674
+ function Tt(l) {
675
675
  S(l);
676
676
  let c = "", g = "";
677
- for (; c = Et(l); )
677
+ for (; c = dt(l); )
678
678
  g += c;
679
679
  const y = l.currentChar();
680
680
  if (y && y !== "}" && y !== Ee && y !== ie && y !== Q && y !== " ") {
681
681
  const x = Ze(l);
682
- return b(P.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, g + x), g + x;
682
+ return h(P.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, g + x), g + x;
683
683
  }
684
- return l.currentChar() === Ee && b(P.UNTERMINATED_CLOSING_BRACE, a(), 0), g;
684
+ return l.currentChar() === Ee && h(P.UNTERMINATED_CLOSING_BRACE, a(), 0), g;
685
685
  }
686
- function ht(l) {
686
+ function bt(l) {
687
687
  S(l);
688
688
  let c = "";
689
- return l.currentChar() === "-" ? (l.next(), c += `-${$e(l)}`) : c += $e(l), l.currentChar() === Ee && b(P.UNTERMINATED_CLOSING_BRACE, a(), 0), c;
689
+ return l.currentChar() === "-" ? (l.next(), c += `-${$e(l)}`) : c += $e(l), l.currentChar() === Ee && h(P.UNTERMINATED_CLOSING_BRACE, a(), 0), c;
690
690
  }
691
- function It(l) {
692
- return l !== Nn && l !== Q;
691
+ function ht(l) {
692
+ return l !== gn && l !== Q;
693
693
  }
694
- function fn(l) {
694
+ function un(l) {
695
695
  S(l), D(l, "'");
696
696
  let c = "", g = "";
697
- for (; c = Y(l, It); )
698
- c === "\\" ? g += Lt(l) : g += c;
697
+ for (; c = Y(l, ht); )
698
+ c === "\\" ? g += It(l) : g += c;
699
699
  const y = l.currentChar();
700
- return y === Q || y === Ee ? (b(P.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), y === Q && (l.next(), D(l, "'")), g) : (D(l, "'"), g);
700
+ return y === Q || y === Ee ? (h(P.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), y === Q && (l.next(), D(l, "'")), g) : (D(l, "'"), g);
701
701
  }
702
- function Lt(l) {
702
+ function It(l) {
703
703
  const c = l.currentChar();
704
704
  switch (c) {
705
705
  case "\\":
@@ -710,7 +710,7 @@ function Ss(e, t = {}) {
710
710
  case "U":
711
711
  return qe(l, c, 6);
712
712
  default:
713
- return b(P.UNKNOWN_ESCAPE_SEQUENCE, a(), 0, c), "";
713
+ return h(P.UNKNOWN_ESCAPE_SEQUENCE, a(), 0, c), "";
714
714
  }
715
715
  }
716
716
  function qe(l, c, g) {
@@ -719,30 +719,30 @@ function Ss(e, t = {}) {
719
719
  for (let x = 0; x < g; x++) {
720
720
  const B = de(l);
721
721
  if (!B) {
722
- b(P.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${c}${y}${l.currentChar()}`);
722
+ h(P.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${c}${y}${l.currentChar()}`);
723
723
  break;
724
724
  }
725
725
  y += B;
726
726
  }
727
727
  return `\\${c}${y}`;
728
728
  }
729
- function Ot(l) {
729
+ function Lt(l) {
730
730
  return l !== "{" && l !== "}" && l !== ie && l !== Q;
731
731
  }
732
732
  function Ze(l) {
733
733
  S(l);
734
734
  let c = "", g = "";
735
- for (; c = Y(l, Ot); )
735
+ for (; c = Y(l, Lt); )
736
736
  g += c;
737
737
  return g;
738
738
  }
739
- function vt(l) {
739
+ function Ot(l) {
740
740
  let c = "", g = "";
741
- for (; c = mt(l); )
741
+ for (; c = _t(l); )
742
742
  g += c;
743
743
  return g;
744
744
  }
745
- function Ct(l) {
745
+ function vt(l) {
746
746
  const c = (g) => {
747
747
  const y = l.currentChar();
748
748
  return y === "{" || y === "@" || y === "|" || y === "(" || y === ")" || !y || y === ie ? g : (g += y, l.next(), c(g));
@@ -762,45 +762,45 @@ function Ss(e, t = {}) {
762
762
  let g = null;
763
763
  switch (l.currentChar()) {
764
764
  case "{":
765
- return c.braceNest >= 1 && b(P.NOT_ALLOW_NEST_PLACEHOLDER, a(), 0), l.next(), g = N(
765
+ return c.braceNest >= 1 && h(P.NOT_ALLOW_NEST_PLACEHOLDER, a(), 0), l.next(), g = N(
766
766
  c,
767
767
  2,
768
768
  "{"
769
769
  /* TokenChars.BraceLeft */
770
770
  ), S(l), c.braceNest++, g;
771
771
  case "}":
772
- return c.braceNest > 0 && c.currentType === 2 && b(P.EMPTY_PLACEHOLDER, a(), 0), l.next(), g = N(
772
+ return c.braceNest > 0 && c.currentType === 2 && h(P.EMPTY_PLACEHOLDER, a(), 0), l.next(), g = N(
773
773
  c,
774
774
  3,
775
775
  "}"
776
776
  /* TokenChars.BraceRight */
777
777
  ), c.braceNest--, c.braceNest > 0 && S(l), c.inLinked && c.braceNest === 0 && (c.inLinked = !1), g;
778
778
  case "@":
779
- return c.braceNest > 0 && b(P.UNTERMINATED_CLOSING_BRACE, a(), 0), g = he(l, c) || A(c), c.braceNest = 0, g;
779
+ return c.braceNest > 0 && h(P.UNTERMINATED_CLOSING_BRACE, a(), 0), g = be(l, c) || A(c), c.braceNest = 0, g;
780
780
  default: {
781
781
  let x = !0, B = !0, U = !0;
782
782
  if (X(l))
783
- return c.braceNest > 0 && b(P.UNTERMINATED_CLOSING_BRACE, a(), 0), g = N(c, 1, We(l)), c.braceNest = 0, c.inLinked = !1, g;
783
+ return c.braceNest > 0 && h(P.UNTERMINATED_CLOSING_BRACE, a(), 0), g = N(c, 1, We(l)), c.braceNest = 0, c.inLinked = !1, g;
784
784
  if (c.braceNest > 0 && (c.currentType === 4 || c.currentType === 5 || c.currentType === 6))
785
- return b(P.UNTERMINATED_CLOSING_BRACE, a(), 0), c.braceNest = 0, xe(l, c);
786
- if (x = h(l, c))
787
- return g = N(c, 4, bt(l)), S(l), g;
785
+ return h(P.UNTERMINATED_CLOSING_BRACE, a(), 0), c.braceNest = 0, xe(l, c);
786
+ if (x = I(l, c))
787
+ return g = N(c, 4, Tt(l)), S(l), g;
788
788
  if (B = E(l, c))
789
- return g = N(c, 5, ht(l)), S(l), g;
789
+ return g = N(c, 5, bt(l)), S(l), g;
790
790
  if (U = O(l, c))
791
- return g = N(c, 6, fn(l)), S(l), g;
791
+ return g = N(c, 6, un(l)), S(l), g;
792
792
  if (!x && !B && !U)
793
- return g = N(c, 12, Ze(l)), b(P.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, g.value), S(l), g;
793
+ return g = N(c, 12, Ze(l)), h(P.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, g.value), S(l), g;
794
794
  break;
795
795
  }
796
796
  }
797
797
  return g;
798
798
  }
799
- function he(l, c) {
799
+ function be(l, c) {
800
800
  const { currentType: g } = c;
801
801
  let y = null;
802
802
  const x = l.currentChar();
803
- switch ((g === 7 || g === 8 || g === 11 || g === 9) && (x === Q || x === ie) && b(P.INVALID_LINKED_FORMAT, a(), 0), x) {
803
+ switch ((g === 7 || g === 8 || g === 11 || g === 9) && (x === Q || x === ie) && h(P.INVALID_LINKED_FORMAT, a(), 0), x) {
804
804
  case "@":
805
805
  return l.next(), y = N(
806
806
  c,
@@ -823,7 +823,7 @@ function Ss(e, t = {}) {
823
823
  /* TokenChars.LinkedDelimiter */
824
824
  );
825
825
  default:
826
- return X(l) ? (y = N(c, 1, We(l)), c.braceNest = 0, c.inLinked = !1, y) : v(l, c) || k(l, c) ? (S(l), he(l, c)) : p(l, c) ? (S(l), N(c, 11, vt(l))) : w(l, c) ? (S(l), x === "{" ? Ge(l, c) || y : N(c, 10, Ct(l))) : (g === 7 && b(P.INVALID_LINKED_FORMAT, a(), 0), c.braceNest = 0, c.inLinked = !1, xe(l, c));
826
+ return X(l) ? (y = N(c, 1, We(l)), c.braceNest = 0, c.inLinked = !1, y) : v(l, c) || k(l, c) ? (S(l), be(l, c)) : p(l, c) ? (S(l), N(c, 11, Ot(l))) : w(l, c) ? (S(l), x === "{" ? Ge(l, c) || y : N(c, 10, vt(l))) : (g === 7 && h(P.INVALID_LINKED_FORMAT, a(), 0), c.braceNest = 0, c.inLinked = !1, xe(l, c));
827
827
  }
828
828
  }
829
829
  function xe(l, c) {
@@ -834,30 +834,30 @@ function Ss(e, t = {}) {
834
834
  if (c.braceNest > 0)
835
835
  return Ge(l, c) || A(c);
836
836
  if (c.inLinked)
837
- return he(l, c) || A(c);
837
+ return be(l, c) || A(c);
838
838
  switch (l.currentChar()) {
839
839
  case "{":
840
840
  return Ge(l, c) || A(c);
841
841
  case "}":
842
- return b(P.UNBALANCED_CLOSING_BRACE, a(), 0), l.next(), N(
842
+ return h(P.UNBALANCED_CLOSING_BRACE, a(), 0), l.next(), N(
843
843
  c,
844
844
  3,
845
845
  "}"
846
846
  /* TokenChars.BraceRight */
847
847
  );
848
848
  case "@":
849
- return he(l, c) || A(c);
849
+ return be(l, c) || A(c);
850
850
  default: {
851
851
  if (X(l))
852
852
  return g = N(c, 1, We(l)), c.braceNest = 0, c.inLinked = !1, g;
853
853
  if (ae(l))
854
- return N(c, 0, Tt(l));
854
+ return N(c, 0, Nt(l));
855
855
  break;
856
856
  }
857
857
  }
858
858
  return g;
859
859
  }
860
- function At() {
860
+ function Ct() {
861
861
  const { currentType: l, offset: c, startLoc: g, endLoc: y } = u;
862
862
  return u.lastType = l, u.lastOffset = c, u.lastStartLoc = g, u.lastEndLoc = y, u.offset = s(), u.startLoc = a(), r.currentChar() === Ee ? N(
863
863
  u,
@@ -866,14 +866,14 @@ function Ss(e, t = {}) {
866
866
  ) : xe(r, u);
867
867
  }
868
868
  return {
869
- nextToken: At,
869
+ nextToken: Ct,
870
870
  currentOffset: s,
871
871
  currentPosition: a,
872
- context: d
872
+ context: m
873
873
  };
874
874
  }
875
- const ys = "parser", Ps = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
876
- function Ds(e, t, n) {
875
+ const Ds = "parser", ks = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
876
+ function Rs(e, t, n) {
877
877
  switch (e) {
878
878
  case "\\\\":
879
879
  return "\\";
@@ -886,105 +886,105 @@ function Ds(e, t, n) {
886
886
  }
887
887
  }
888
888
  }
889
- function ks(e = {}) {
889
+ function Ms(e = {}) {
890
890
  const t = e.location !== !1, { onError: n } = e;
891
- function r(f, m, h, E, ...O) {
891
+ function r(f, d, I, E, ...O) {
892
892
  const v = f.currentPosition();
893
893
  if (v.offset += E, v.column += E, n) {
894
- const p = t ? Rt(h, v) : null, k = Ve(m, p, {
895
- domain: ys,
894
+ const p = t ? kt(I, v) : null, k = Ve(d, p, {
895
+ domain: Ds,
896
896
  args: O
897
897
  });
898
898
  n(k);
899
899
  }
900
900
  }
901
- function s(f, m, h) {
901
+ function s(f, d, I) {
902
902
  const E = { type: f };
903
- return t && (E.start = m, E.end = m, E.loc = { start: h, end: h }), E;
903
+ return t && (E.start = d, E.end = d, E.loc = { start: I, end: I }), E;
904
904
  }
905
- function a(f, m, h, E) {
906
- t && (f.end = m, f.loc && (f.loc.end = h));
905
+ function a(f, d, I, E) {
906
+ t && (f.end = d, f.loc && (f.loc.end = I));
907
907
  }
908
- function o(f, m) {
909
- const h = f.context(), E = s(3, h.offset, h.startLoc);
910
- return E.value = m, a(E, f.currentOffset(), f.currentPosition()), E;
908
+ function o(f, d) {
909
+ const I = f.context(), E = s(3, I.offset, I.startLoc);
910
+ return E.value = d, a(E, f.currentOffset(), f.currentPosition()), E;
911
911
  }
912
- function i(f, m) {
913
- const h = f.context(), { lastOffset: E, lastStartLoc: O } = h, v = s(5, E, O);
914
- return v.index = parseInt(m, 10), f.nextToken(), a(v, f.currentOffset(), f.currentPosition()), v;
912
+ function i(f, d) {
913
+ const I = f.context(), { lastOffset: E, lastStartLoc: O } = I, v = s(5, E, O);
914
+ return v.index = parseInt(d, 10), f.nextToken(), a(v, f.currentOffset(), f.currentPosition()), v;
915
915
  }
916
- function u(f, m) {
917
- const h = f.context(), { lastOffset: E, lastStartLoc: O } = h, v = s(4, E, O);
918
- return v.key = m, f.nextToken(), a(v, f.currentOffset(), f.currentPosition()), v;
916
+ function u(f, d) {
917
+ const I = f.context(), { lastOffset: E, lastStartLoc: O } = I, v = s(4, E, O);
918
+ return v.key = d, f.nextToken(), a(v, f.currentOffset(), f.currentPosition()), v;
919
919
  }
920
- function d(f, m) {
921
- const h = f.context(), { lastOffset: E, lastStartLoc: O } = h, v = s(9, E, O);
922
- return v.value = m.replace(Ps, Ds), f.nextToken(), a(v, f.currentOffset(), f.currentPosition()), v;
920
+ function m(f, d) {
921
+ const I = f.context(), { lastOffset: E, lastStartLoc: O } = I, v = s(9, E, O);
922
+ return v.value = d.replace(ks, Rs), f.nextToken(), a(v, f.currentOffset(), f.currentPosition()), v;
923
923
  }
924
- function I(f) {
925
- const m = f.nextToken(), h = f.context(), { lastOffset: E, lastStartLoc: O } = h, v = s(8, E, O);
926
- return m.type !== 11 ? (r(f, P.UNEXPECTED_EMPTY_LINKED_MODIFIER, h.lastStartLoc, 0), v.value = "", a(v, E, O), {
927
- nextConsumeToken: m,
924
+ function T(f) {
925
+ const d = f.nextToken(), I = f.context(), { lastOffset: E, lastStartLoc: O } = I, v = s(8, E, O);
926
+ return d.type !== 11 ? (r(f, P.UNEXPECTED_EMPTY_LINKED_MODIFIER, I.lastStartLoc, 0), v.value = "", a(v, E, O), {
927
+ nextConsumeToken: d,
928
928
  node: v
929
- }) : (m.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, ce(m)), v.value = m.value || "", a(v, f.currentOffset(), f.currentPosition()), {
929
+ }) : (d.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, I.lastStartLoc, 0, ce(d)), v.value = d.value || "", a(v, f.currentOffset(), f.currentPosition()), {
930
930
  node: v
931
931
  });
932
932
  }
933
- function b(f, m) {
934
- const h = f.context(), E = s(7, h.offset, h.startLoc);
935
- return E.value = m, a(E, f.currentOffset(), f.currentPosition()), E;
933
+ function h(f, d) {
934
+ const I = f.context(), E = s(7, I.offset, I.startLoc);
935
+ return E.value = d, a(E, f.currentOffset(), f.currentPosition()), E;
936
936
  }
937
937
  function N(f) {
938
- const m = f.context(), h = s(6, m.offset, m.startLoc);
938
+ const d = f.context(), I = s(6, d.offset, d.startLoc);
939
939
  let E = f.nextToken();
940
940
  if (E.type === 8) {
941
- const O = I(f);
942
- h.modifier = O.node, E = O.nextConsumeToken || f.nextToken();
941
+ const O = T(f);
942
+ I.modifier = O.node, E = O.nextConsumeToken || f.nextToken();
943
943
  }
944
- switch (E.type !== 9 && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ce(E)), E = f.nextToken(), E.type === 2 && (E = f.nextToken()), E.type) {
944
+ switch (E.type !== 9 && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ce(E)), E = f.nextToken(), E.type === 2 && (E = f.nextToken()), E.type) {
945
945
  case 10:
946
- E.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ce(E)), h.key = b(f, E.value || "");
946
+ E.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ce(E)), I.key = h(f, E.value || "");
947
947
  break;
948
948
  case 4:
949
- E.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ce(E)), h.key = u(f, E.value || "");
949
+ E.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ce(E)), I.key = u(f, E.value || "");
950
950
  break;
951
951
  case 5:
952
- E.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ce(E)), h.key = i(f, E.value || "");
952
+ E.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ce(E)), I.key = i(f, E.value || "");
953
953
  break;
954
954
  case 6:
955
- E.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ce(E)), h.key = d(f, E.value || "");
955
+ E.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ce(E)), I.key = m(f, E.value || "");
956
956
  break;
957
957
  default: {
958
- r(f, P.UNEXPECTED_EMPTY_LINKED_KEY, m.lastStartLoc, 0);
958
+ r(f, P.UNEXPECTED_EMPTY_LINKED_KEY, d.lastStartLoc, 0);
959
959
  const O = f.context(), v = s(7, O.offset, O.startLoc);
960
- return v.value = "", a(v, O.offset, O.startLoc), h.key = v, a(h, O.offset, O.startLoc), {
960
+ return v.value = "", a(v, O.offset, O.startLoc), I.key = v, a(I, O.offset, O.startLoc), {
961
961
  nextConsumeToken: E,
962
- node: h
962
+ node: I
963
963
  };
964
964
  }
965
965
  }
966
- return a(h, f.currentOffset(), f.currentPosition()), {
967
- node: h
966
+ return a(I, f.currentOffset(), f.currentPosition()), {
967
+ node: I
968
968
  };
969
969
  }
970
970
  function A(f) {
971
- const m = f.context(), h = m.currentType === 1 ? f.currentOffset() : m.offset, E = m.currentType === 1 ? m.endLoc : m.startLoc, O = s(2, h, E);
971
+ const d = f.context(), I = d.currentType === 1 ? f.currentOffset() : d.offset, E = d.currentType === 1 ? d.endLoc : d.startLoc, O = s(2, I, E);
972
972
  O.items = [];
973
973
  let v = null;
974
974
  do {
975
975
  const w = v || f.nextToken();
976
976
  switch (v = null, w.type) {
977
977
  case 0:
978
- w.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ce(w)), O.items.push(o(f, w.value || ""));
978
+ w.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ce(w)), O.items.push(o(f, w.value || ""));
979
979
  break;
980
980
  case 5:
981
- w.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ce(w)), O.items.push(i(f, w.value || ""));
981
+ w.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ce(w)), O.items.push(i(f, w.value || ""));
982
982
  break;
983
983
  case 4:
984
- w.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ce(w)), O.items.push(u(f, w.value || ""));
984
+ w.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ce(w)), O.items.push(u(f, w.value || ""));
985
985
  break;
986
986
  case 6:
987
- w.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ce(w)), O.items.push(d(f, w.value || ""));
987
+ w.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ce(w)), O.items.push(m(f, w.value || ""));
988
988
  break;
989
989
  case 7: {
990
990
  const X = N(f);
@@ -992,28 +992,28 @@ function ks(e = {}) {
992
992
  break;
993
993
  }
994
994
  }
995
- } while (m.currentType !== 13 && m.currentType !== 1);
996
- const p = m.currentType === 1 ? m.lastOffset : f.currentOffset(), k = m.currentType === 1 ? m.lastEndLoc : f.currentPosition();
995
+ } while (d.currentType !== 13 && d.currentType !== 1);
996
+ const p = d.currentType === 1 ? d.lastOffset : f.currentOffset(), k = d.currentType === 1 ? d.lastEndLoc : f.currentPosition();
997
997
  return a(O, p, k), O;
998
998
  }
999
- function D(f, m, h, E) {
999
+ function D(f, d, I, E) {
1000
1000
  const O = f.context();
1001
1001
  let v = E.items.length === 0;
1002
- const p = s(1, m, h);
1002
+ const p = s(1, d, I);
1003
1003
  p.cases = [], p.cases.push(E);
1004
1004
  do {
1005
1005
  const k = A(f);
1006
1006
  v || (v = k.items.length === 0), p.cases.push(k);
1007
1007
  } while (O.currentType !== 13);
1008
- return v && r(f, P.MUST_HAVE_MESSAGES_IN_PLURAL, h, 0), a(p, f.currentOffset(), f.currentPosition()), p;
1008
+ return v && r(f, P.MUST_HAVE_MESSAGES_IN_PLURAL, I, 0), a(p, f.currentOffset(), f.currentPosition()), p;
1009
1009
  }
1010
1010
  function C(f) {
1011
- const m = f.context(), { offset: h, startLoc: E } = m, O = A(f);
1012
- return m.currentType === 13 ? O : D(f, h, E, O);
1011
+ const d = f.context(), { offset: I, startLoc: E } = d, O = A(f);
1012
+ return d.currentType === 13 ? O : D(f, I, E, O);
1013
1013
  }
1014
1014
  function S(f) {
1015
- const m = Ss(f, J({}, e)), h = m.context(), E = s(0, h.offset, h.startLoc);
1016
- return t && E.loc && (E.loc.source = f), E.body = C(m), e.onCacheKey && (E.cacheKey = e.onCacheKey(f)), h.currentType !== 13 && r(m, P.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, f[h.offset] || ""), a(E, m.currentOffset(), m.currentPosition()), E;
1015
+ const d = Ps(f, J({}, e)), I = d.context(), E = s(0, I.offset, I.startLoc);
1016
+ return t && E.loc && (E.loc.source = f), E.body = C(d), e.onCacheKey && (E.cacheKey = e.onCacheKey(f)), I.currentType !== 13 && r(d, P.UNEXPECTED_LEXICAL_ANALYSIS, I.lastStartLoc, 0, f[I.offset] || ""), a(E, d.currentOffset(), d.currentPosition()), E;
1017
1017
  }
1018
1018
  return { parse: S };
1019
1019
  }
@@ -1023,30 +1023,30 @@ function ce(e) {
1023
1023
  const t = (e.value || "").replace(/\r?\n/gu, "\\n");
1024
1024
  return t.length > 10 ? t.slice(0, 9) + "…" : t;
1025
1025
  }
1026
- function Rs(e, t = {}) {
1026
+ function Fs(e, t = {}) {
1027
1027
  const n = {
1028
1028
  ast: e,
1029
1029
  helpers: /* @__PURE__ */ new Set()
1030
1030
  };
1031
1031
  return { context: () => n, helper: (a) => (n.helpers.add(a), a) };
1032
1032
  }
1033
- function Tn(e, t) {
1033
+ function Nn(e, t) {
1034
1034
  for (let n = 0; n < e.length; n++)
1035
- tn(e[n], t);
1035
+ en(e[n], t);
1036
1036
  }
1037
- function tn(e, t) {
1037
+ function en(e, t) {
1038
1038
  switch (e.type) {
1039
1039
  case 1:
1040
- Tn(e.cases, t), t.helper(
1040
+ Nn(e.cases, t), t.helper(
1041
1041
  "plural"
1042
1042
  /* HelperNameMap.PLURAL */
1043
1043
  );
1044
1044
  break;
1045
1045
  case 2:
1046
- Tn(e.items, t);
1046
+ Nn(e.items, t);
1047
1047
  break;
1048
1048
  case 6: {
1049
- tn(e.key, t), t.helper(
1049
+ en(e.key, t), t.helper(
1050
1050
  "linked"
1051
1051
  /* HelperNameMap.LINKED */
1052
1052
  ), t.helper(
@@ -1075,20 +1075,20 @@ function tn(e, t) {
1075
1075
  break;
1076
1076
  }
1077
1077
  }
1078
- function Ms(e, t = {}) {
1079
- const n = Rs(e);
1078
+ function Us(e, t = {}) {
1079
+ const n = Fs(e);
1080
1080
  n.helper(
1081
1081
  "normalize"
1082
1082
  /* HelperNameMap.NORMALIZE */
1083
- ), e.body && tn(e.body, n);
1083
+ ), e.body && en(e.body, n);
1084
1084
  const r = n.context();
1085
1085
  e.helpers = Array.from(r.helpers);
1086
1086
  }
1087
- function Fs(e) {
1087
+ function ws(e) {
1088
1088
  const t = e.body;
1089
- return t.type === 2 ? bn(t) : t.cases.forEach((n) => bn(n)), e;
1089
+ return t.type === 2 ? Tn(t) : t.cases.forEach((n) => Tn(n)), e;
1090
1090
  }
1091
- function bn(e) {
1091
+ function Tn(e) {
1092
1092
  if (e.items.length === 1) {
1093
1093
  const t = e.items[0];
1094
1094
  (t.type === 3 || t.type === 9) && (e.static = t.value, delete t.value);
@@ -1101,7 +1101,7 @@ function bn(e) {
1101
1101
  t.push(r.value);
1102
1102
  }
1103
1103
  if (t.length === e.items.length) {
1104
- e.static = zt(t);
1104
+ e.static = Zt(t);
1105
1105
  for (let n = 0; n < e.items.length; n++) {
1106
1106
  const r = e.items[n];
1107
1107
  (r.type === 3 || r.type === 9) && delete r.value;
@@ -1109,7 +1109,7 @@ function bn(e) {
1109
1109
  }
1110
1110
  }
1111
1111
  }
1112
- const Us = "minifier";
1112
+ const Vs = "minifier";
1113
1113
  function Re(e) {
1114
1114
  switch (e.t = e.type, e.type) {
1115
1115
  case 0: {
@@ -1157,14 +1157,14 @@ function Re(e) {
1157
1157
  default:
1158
1158
  if (process.env.NODE_ENV !== "production")
1159
1159
  throw Ve(P.UNHANDLED_MINIFIER_NODE_TYPE, null, {
1160
- domain: Us,
1160
+ domain: Vs,
1161
1161
  args: [e.type]
1162
1162
  });
1163
1163
  }
1164
1164
  delete e.type;
1165
1165
  }
1166
- const ws = "parser";
1167
- function Vs(e, t) {
1166
+ const $s = "parser";
1167
+ function Ws(e, t) {
1168
1168
  const { filename: n, breakLineCode: r, needIndent: s } = t, a = t.location !== !1, o = {
1169
1169
  filename: n,
1170
1170
  code: "",
@@ -1181,39 +1181,39 @@ function Vs(e, t) {
1181
1181
  function u(C, S) {
1182
1182
  o.code += C;
1183
1183
  }
1184
- function d(C, S = !0) {
1184
+ function m(C, S = !0) {
1185
1185
  const f = S ? r : "";
1186
1186
  u(s ? f + " ".repeat(C) : f);
1187
1187
  }
1188
- function I(C = !0) {
1188
+ function T(C = !0) {
1189
1189
  const S = ++o.indentLevel;
1190
- C && d(S);
1190
+ C && m(S);
1191
1191
  }
1192
- function b(C = !0) {
1192
+ function h(C = !0) {
1193
1193
  const S = --o.indentLevel;
1194
- C && d(S);
1194
+ C && m(S);
1195
1195
  }
1196
1196
  function N() {
1197
- d(o.indentLevel);
1197
+ m(o.indentLevel);
1198
1198
  }
1199
1199
  return {
1200
1200
  context: i,
1201
1201
  push: u,
1202
- indent: I,
1203
- deindent: b,
1202
+ indent: T,
1203
+ deindent: h,
1204
1204
  newline: N,
1205
1205
  helper: (C) => `_${C}`,
1206
1206
  needIndent: () => o.needIndent
1207
1207
  };
1208
1208
  }
1209
- function $s(e, t) {
1209
+ function Gs(e, t) {
1210
1210
  const { helper: n } = e;
1211
1211
  e.push(`${n(
1212
1212
  "linked"
1213
1213
  /* HelperNameMap.LINKED */
1214
1214
  )}(`), Ue(e, t.key), t.modifier ? (e.push(", "), Ue(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
1215
1215
  }
1216
- function Ws(e, t) {
1216
+ function xs(e, t) {
1217
1217
  const { helper: n, needIndent: r } = e;
1218
1218
  e.push(`${n(
1219
1219
  "normalize"
@@ -1224,7 +1224,7 @@ function Ws(e, t) {
1224
1224
  e.push(", ");
1225
1225
  e.deindent(r()), e.push("])");
1226
1226
  }
1227
- function Gs(e, t) {
1227
+ function Hs(e, t) {
1228
1228
  const { helper: n, needIndent: r } = e;
1229
1229
  if (t.cases.length > 1) {
1230
1230
  e.push(`${n(
@@ -1237,23 +1237,23 @@ function Gs(e, t) {
1237
1237
  e.deindent(r()), e.push("])");
1238
1238
  }
1239
1239
  }
1240
- function xs(e, t) {
1240
+ function Ys(e, t) {
1241
1241
  t.body ? Ue(e, t.body) : e.push("null");
1242
1242
  }
1243
1243
  function Ue(e, t) {
1244
1244
  const { helper: n } = e;
1245
1245
  switch (t.type) {
1246
1246
  case 0:
1247
- xs(e, t);
1247
+ Ys(e, t);
1248
1248
  break;
1249
1249
  case 1:
1250
- Gs(e, t);
1250
+ Hs(e, t);
1251
1251
  break;
1252
1252
  case 2:
1253
- Ws(e, t);
1253
+ xs(e, t);
1254
1254
  break;
1255
1255
  case 6:
1256
- $s(e, t);
1256
+ Gs(e, t);
1257
1257
  break;
1258
1258
  case 8:
1259
1259
  e.push(JSON.stringify(t.value), t);
@@ -1288,73 +1288,73 @@ function Ue(e, t) {
1288
1288
  default:
1289
1289
  if (process.env.NODE_ENV !== "production")
1290
1290
  throw Ve(P.UNHANDLED_CODEGEN_NODE_TYPE, null, {
1291
- domain: ws,
1291
+ domain: $s,
1292
1292
  args: [t.type]
1293
1293
  });
1294
1294
  }
1295
1295
  }
1296
- const Hs = (e, t = {}) => {
1296
+ const Bs = (e, t = {}) => {
1297
1297
  const n = L(t.mode) ? t.mode : "normal", r = L(t.filename) ? t.filename : "message.intl";
1298
1298
  t.sourceMap;
1299
1299
  const s = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
1300
- `, a = t.needIndent ? t.needIndent : n !== "arrow", o = e.helpers || [], i = Vs(e, {
1300
+ `, a = t.needIndent ? t.needIndent : n !== "arrow", o = e.helpers || [], i = Ws(e, {
1301
1301
  filename: r,
1302
1302
  breakLineCode: s,
1303
1303
  needIndent: a
1304
1304
  });
1305
- i.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), i.indent(a), o.length > 0 && (i.push(`const { ${zt(o.map((I) => `${I}: _${I}`), ", ")} } = ctx`), i.newline()), i.push("return "), Ue(i, e), i.deindent(a), i.push("}"), delete e.helpers;
1306
- const { code: u, map: d } = i.context();
1305
+ i.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), i.indent(a), o.length > 0 && (i.push(`const { ${Zt(o.map((T) => `${T}: _${T}`), ", ")} } = ctx`), i.newline()), i.push("return "), Ue(i, e), i.deindent(a), i.push("}"), delete e.helpers;
1306
+ const { code: u, map: m } = i.context();
1307
1307
  return {
1308
1308
  ast: e,
1309
1309
  code: u,
1310
- map: d ? d.toJSON() : void 0
1310
+ map: m ? m.toJSON() : void 0
1311
1311
  // eslint-disable-line @typescript-eslint/no-explicit-any
1312
1312
  };
1313
1313
  };
1314
- function Ys(e, t = {}) {
1315
- const n = J({}, t), r = !!n.jit, s = !!n.minify, a = n.optimize == null ? !0 : n.optimize, i = ks(n).parse(e);
1316
- return r ? (a && Fs(i), s && Re(i), { ast: i, code: "" }) : (Ms(i, n), Hs(i, n));
1314
+ function Ks(e, t = {}) {
1315
+ const n = J({}, t), r = !!n.jit, s = !!n.minify, a = n.optimize == null ? !0 : n.optimize, i = Ms(n).parse(e);
1316
+ return r ? (a && ws(i), s && Re(i), { ast: i, code: "" }) : (Us(i, n), Bs(i, n));
1317
1317
  }
1318
- function Bs() {
1318
+ function js() {
1319
1319
  typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (ve().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (ve().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
1320
1320
  }
1321
1321
  function se(e) {
1322
- return M(e) && nn(e) === 0 && (oe(e, "b") || oe(e, "body"));
1322
+ return M(e) && tn(e) === 0 && (oe(e, "b") || oe(e, "body"));
1323
1323
  }
1324
- const rr = ["b", "body"];
1325
- function Ks(e) {
1326
- return Te(e, rr);
1327
- }
1328
- const sr = ["c", "cases"];
1329
- function js(e) {
1330
- return Te(e, sr, []);
1331
- }
1332
- const ar = ["s", "static"];
1324
+ const ar = ["b", "body"];
1333
1325
  function Xs(e) {
1334
- return Te(e, ar);
1326
+ return Ne(e, ar);
1335
1327
  }
1336
- const or = ["i", "items"];
1328
+ const or = ["c", "cases"];
1337
1329
  function Js(e) {
1338
- return Te(e, or, []);
1330
+ return Ne(e, or, []);
1331
+ }
1332
+ const lr = ["s", "static"];
1333
+ function Qs(e) {
1334
+ return Ne(e, lr);
1335
+ }
1336
+ const ir = ["i", "items"];
1337
+ function qs(e) {
1338
+ return Ne(e, ir, []);
1339
1339
  }
1340
- const lr = ["t", "type"];
1341
- function nn(e) {
1342
- return Te(e, lr);
1340
+ const cr = ["t", "type"];
1341
+ function tn(e) {
1342
+ return Ne(e, cr);
1343
1343
  }
1344
- const ir = ["v", "value"];
1344
+ const ur = ["v", "value"];
1345
1345
  function tt(e, t) {
1346
- const n = Te(e, ir);
1346
+ const n = Ne(e, ur);
1347
1347
  if (n != null)
1348
1348
  return n;
1349
1349
  throw Be(t);
1350
1350
  }
1351
- const cr = ["m", "modifier"];
1352
- function Qs(e) {
1353
- return Te(e, cr);
1351
+ const fr = ["m", "modifier"];
1352
+ function Zs(e) {
1353
+ return Ne(e, fr);
1354
1354
  }
1355
- const ur = ["k", "key"];
1356
- function qs(e) {
1357
- const t = Te(e, ur);
1355
+ const _r = ["k", "key"];
1356
+ function zs(e) {
1357
+ const t = Ne(e, _r);
1358
1358
  if (t)
1359
1359
  return t;
1360
1360
  throw Be(
@@ -1362,7 +1362,7 @@ function qs(e) {
1362
1362
  /* NodeTypes.Linked */
1363
1363
  );
1364
1364
  }
1365
- function Te(e, t, n) {
1365
+ function Ne(e, t, n) {
1366
1366
  for (let r = 0; r < t.length; r++) {
1367
1367
  const s = t[r];
1368
1368
  if (oe(e, s) && e[s] != null)
@@ -1370,49 +1370,49 @@ function Te(e, t, n) {
1370
1370
  }
1371
1371
  return n;
1372
1372
  }
1373
- const fr = [
1374
- ...rr,
1375
- ...sr,
1373
+ const mr = [
1376
1374
  ...ar,
1377
1375
  ...or,
1378
- ...ur,
1379
- ...cr,
1376
+ ...lr,
1380
1377
  ...ir,
1381
- ...lr
1378
+ ..._r,
1379
+ ...fr,
1380
+ ...ur,
1381
+ ...cr
1382
1382
  ];
1383
1383
  function Be(e) {
1384
1384
  return new Error(`unhandled node type: ${e}`);
1385
1385
  }
1386
- function yt(e) {
1387
- return (n) => Zs(n, e);
1386
+ function St(e) {
1387
+ return (n) => ea(n, e);
1388
1388
  }
1389
- function Zs(e, t) {
1390
- const n = Ks(t);
1389
+ function ea(e, t) {
1390
+ const n = Xs(t);
1391
1391
  if (n == null)
1392
1392
  throw Be(
1393
1393
  0
1394
1394
  /* NodeTypes.Resource */
1395
1395
  );
1396
- if (nn(n) === 1) {
1397
- const a = js(n);
1396
+ if (tn(n) === 1) {
1397
+ const a = Js(n);
1398
1398
  return e.plural(a.reduce((o, i) => [
1399
1399
  ...o,
1400
- hn(e, i)
1400
+ bn(e, i)
1401
1401
  ], []));
1402
1402
  } else
1403
- return hn(e, n);
1403
+ return bn(e, n);
1404
1404
  }
1405
- function hn(e, t) {
1406
- const n = Xs(t);
1405
+ function bn(e, t) {
1406
+ const n = Qs(t);
1407
1407
  if (n != null)
1408
1408
  return e.type === "text" ? n : e.normalize([n]);
1409
1409
  {
1410
- const r = Js(t).reduce((s, a) => [...s, Mt(e, a)], []);
1410
+ const r = qs(t).reduce((s, a) => [...s, Rt(e, a)], []);
1411
1411
  return e.normalize(r);
1412
1412
  }
1413
1413
  }
1414
- function Mt(e, t) {
1415
- const n = nn(t);
1414
+ function Rt(e, t) {
1415
+ const n = tn(t);
1416
1416
  switch (n) {
1417
1417
  case 3:
1418
1418
  return tt(t, n);
@@ -1435,8 +1435,8 @@ function Mt(e, t) {
1435
1435
  throw Be(n);
1436
1436
  }
1437
1437
  case 6: {
1438
- const r = t, s = Qs(r), a = qs(r);
1439
- return e.linked(Mt(e, a), s ? Mt(e, s) : void 0, e.type);
1438
+ const r = t, s = Zs(r), a = zs(r);
1439
+ return e.linked(Rt(e, a), s ? Rt(e, s) : void 0, e.type);
1440
1440
  }
1441
1441
  case 7:
1442
1442
  return tt(t, n);
@@ -1446,32 +1446,32 @@ function Mt(e, t) {
1446
1446
  throw new Error(`unhandled node on format message part: ${n}`);
1447
1447
  }
1448
1448
  }
1449
- const zs = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
1450
- function ea(e, t) {
1451
- t && hs(e) && fe(ct(zs, { source: e }));
1449
+ const ta = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
1450
+ function na(e, t) {
1451
+ t && Ls(e) && fe(it(ta, { source: e }));
1452
1452
  }
1453
- const ta = (e) => e;
1453
+ const ra = (e) => e;
1454
1454
  let nt = $();
1455
- function na(e, t = {}) {
1455
+ function sa(e, t = {}) {
1456
1456
  let n = !1;
1457
- const r = t.onError || Ts;
1457
+ const r = t.onError || hs;
1458
1458
  return t.onError = (s) => {
1459
1459
  n = !0, r(s);
1460
- }, { ...Ys(e, t), detectError: n };
1460
+ }, { ...Ks(e, t), detectError: n };
1461
1461
  }
1462
1462
  // @__NO_SIDE_EFFECTS__
1463
- function ra(e, t) {
1463
+ function aa(e, t) {
1464
1464
  if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && L(e)) {
1465
1465
  const n = F(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
1466
- process.env.NODE_ENV !== "production" && ea(e, n);
1467
- const s = (t.onCacheKey || ta)(e), a = nt[s];
1466
+ process.env.NODE_ENV !== "production" && na(e, n);
1467
+ const s = (t.onCacheKey || ra)(e), a = nt[s];
1468
1468
  if (a)
1469
1469
  return a;
1470
- const { ast: o, detectError: i } = na(e, {
1470
+ const { ast: o, detectError: i } = sa(e, {
1471
1471
  ...t,
1472
1472
  location: process.env.NODE_ENV !== "production",
1473
1473
  jit: !0
1474
- }), u = yt(o);
1474
+ }), u = St(o);
1475
1475
  return i ? u : nt[s] = u;
1476
1476
  } else {
1477
1477
  if (process.env.NODE_ENV !== "production" && !se(e))
@@ -1479,16 +1479,16 @@ function ra(e, t) {
1479
1479
  const n = e.cacheKey;
1480
1480
  if (n) {
1481
1481
  const r = nt[n];
1482
- return r || (nt[n] = yt(e));
1482
+ return r || (nt[n] = St(e));
1483
1483
  } else
1484
- return yt(e);
1484
+ return St(e);
1485
1485
  }
1486
1486
  }
1487
1487
  let Ke = null;
1488
- function sa(e) {
1488
+ function oa(e) {
1489
1489
  Ke = e;
1490
1490
  }
1491
- function aa(e, t, n) {
1491
+ function la(e, t, n) {
1492
1492
  Ke && Ke.emit("i18n:init", {
1493
1493
  timestamp: Date.now(),
1494
1494
  i18n: e,
@@ -1496,12 +1496,12 @@ function aa(e, t, n) {
1496
1496
  meta: n
1497
1497
  });
1498
1498
  }
1499
- const oa = /* @__PURE__ */ la("function:translate");
1500
- function la(e) {
1499
+ const ia = /* @__PURE__ */ ca("function:translate");
1500
+ function ca(e) {
1501
1501
  return (t) => Ke && Ke.emit(e, t);
1502
1502
  }
1503
1503
  const q = {
1504
- INVALID_ARGUMENT: gs,
1504
+ INVALID_ARGUMENT: Ts,
1505
1505
  // 17
1506
1506
  INVALID_DATE_ARGUMENT: 18,
1507
1507
  INVALID_ISO_DATE_ARGUMENT: 19,
@@ -1509,11 +1509,11 @@ const q = {
1509
1509
  NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
1510
1510
  NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
1511
1511
  NOT_SUPPORT_LOCALE_TYPE: 23
1512
- }, ia = 24;
1512
+ }, ua = 24;
1513
1513
  function pe(e) {
1514
- return Ve(e, null, process.env.NODE_ENV !== "production" ? { messages: ca } : void 0);
1514
+ return Ve(e, null, process.env.NODE_ENV !== "production" ? { messages: fa } : void 0);
1515
1515
  }
1516
- const ca = {
1516
+ const fa = {
1517
1517
  [q.INVALID_ARGUMENT]: "Invalid arguments",
1518
1518
  [q.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
1519
1519
  [q.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string",
@@ -1522,33 +1522,33 @@ const ca = {
1522
1522
  [q.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]: "cannot support async function",
1523
1523
  [q.NOT_SUPPORT_LOCALE_TYPE]: "cannot support locale type"
1524
1524
  };
1525
- function rn(e, t) {
1526
- return t.locale != null ? In(t.locale) : In(e.locale);
1525
+ function nn(e, t) {
1526
+ return t.locale != null ? hn(t.locale) : hn(e.locale);
1527
1527
  }
1528
- let Pt;
1529
- function In(e) {
1528
+ let yt;
1529
+ function hn(e) {
1530
1530
  if (L(e))
1531
1531
  return e;
1532
1532
  if (W(e)) {
1533
- if (e.resolvedOnce && Pt != null)
1534
- return Pt;
1533
+ if (e.resolvedOnce && yt != null)
1534
+ return yt;
1535
1535
  if (e.constructor.name === "Function") {
1536
1536
  const t = e();
1537
- if (ms(t))
1537
+ if (Es(t))
1538
1538
  throw pe(q.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
1539
- return Pt = t;
1539
+ return yt = t;
1540
1540
  } else
1541
1541
  throw pe(q.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
1542
1542
  } else
1543
1543
  throw pe(q.NOT_SUPPORT_LOCALE_TYPE);
1544
1544
  }
1545
- function ua(e, t, n) {
1545
+ function _a(e, t, n) {
1546
1546
  return [.../* @__PURE__ */ new Set([
1547
1547
  n,
1548
1548
  ...H(t) ? t : M(t) ? Object.keys(t) : L(t) ? [t] : [n]
1549
1549
  ])];
1550
1550
  }
1551
- function _r(e, t, n) {
1551
+ function dr(e, t, n) {
1552
1552
  const r = L(n) ? n : je, s = e;
1553
1553
  s.__localeChainCache || (s.__localeChainCache = /* @__PURE__ */ new Map());
1554
1554
  let a = s.__localeChainCache.get(r);
@@ -1556,30 +1556,30 @@ function _r(e, t, n) {
1556
1556
  a = [];
1557
1557
  let o = [n];
1558
1558
  for (; H(o); )
1559
- o = Ln(a, o, t);
1559
+ o = In(a, o, t);
1560
1560
  const i = H(t) || !R(t) ? t : t.default ? t.default : null;
1561
- o = L(i) ? [i] : i, H(o) && Ln(a, o, !1), s.__localeChainCache.set(r, a);
1561
+ o = L(i) ? [i] : i, H(o) && In(a, o, !1), s.__localeChainCache.set(r, a);
1562
1562
  }
1563
1563
  return a;
1564
1564
  }
1565
- function Ln(e, t, n) {
1565
+ function In(e, t, n) {
1566
1566
  let r = !0;
1567
1567
  for (let s = 0; s < t.length && F(r); s++) {
1568
1568
  const a = t[s];
1569
- L(a) && (r = fa(e, t[s], n));
1569
+ L(a) && (r = ma(e, t[s], n));
1570
1570
  }
1571
1571
  return r;
1572
1572
  }
1573
- function fa(e, t, n) {
1573
+ function ma(e, t, n) {
1574
1574
  let r;
1575
1575
  const s = t.split("-");
1576
1576
  do {
1577
1577
  const a = s.join("-");
1578
- r = _a(e, a, n), s.splice(-1, 1);
1578
+ r = da(e, a, n), s.splice(-1, 1);
1579
1579
  } while (s.length && r === !0);
1580
1580
  return r;
1581
1581
  }
1582
- function _a(e, t, n) {
1582
+ function da(e, t, n) {
1583
1583
  let r = !1;
1584
1584
  if (!e.includes(t) && (r = !0, t)) {
1585
1585
  r = t[t.length - 1] !== "!";
@@ -1588,8 +1588,8 @@ function _a(e, t, n) {
1588
1588
  }
1589
1589
  return r;
1590
1590
  }
1591
- const be = [];
1592
- be[
1591
+ const Te = [];
1592
+ Te[
1593
1593
  0
1594
1594
  /* States.BEFORE_PATH */
1595
1595
  ] = {
@@ -1611,7 +1611,7 @@ be[
1611
1611
  /* States.AFTER_PATH */
1612
1612
  ]
1613
1613
  };
1614
- be[
1614
+ Te[
1615
1615
  1
1616
1616
  /* States.IN_PATH */
1617
1617
  ] = {
@@ -1632,7 +1632,7 @@ be[
1632
1632
  /* States.AFTER_PATH */
1633
1633
  ]
1634
1634
  };
1635
- be[
1635
+ Te[
1636
1636
  2
1637
1637
  /* States.BEFORE_IDENT */
1638
1638
  ] = {
@@ -1651,7 +1651,7 @@ be[
1651
1651
  /* Actions.APPEND */
1652
1652
  ]
1653
1653
  };
1654
- be[
1654
+ Te[
1655
1655
  3
1656
1656
  /* States.IN_IDENT */
1657
1657
  ] = {
@@ -1686,7 +1686,7 @@ be[
1686
1686
  /* Actions.PUSH */
1687
1687
  ]
1688
1688
  };
1689
- be[
1689
+ Te[
1690
1690
  4
1691
1691
  /* States.IN_SUB_PATH */
1692
1692
  ] = {
@@ -1717,7 +1717,7 @@ be[
1717
1717
  /* Actions.APPEND */
1718
1718
  ]
1719
1719
  };
1720
- be[
1720
+ Te[
1721
1721
  5
1722
1722
  /* States.IN_SINGLE_QUOTE */
1723
1723
  ] = {
@@ -1733,7 +1733,7 @@ be[
1733
1733
  /* Actions.APPEND */
1734
1734
  ]
1735
1735
  };
1736
- be[
1736
+ Te[
1737
1737
  6
1738
1738
  /* States.IN_DOUBLE_QUOTE */
1739
1739
  ] = {
@@ -1749,15 +1749,15 @@ be[
1749
1749
  /* Actions.APPEND */
1750
1750
  ]
1751
1751
  };
1752
- const ma = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
1753
- function da(e) {
1754
- return ma.test(e);
1752
+ const Ea = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
1753
+ function pa(e) {
1754
+ return Ea.test(e);
1755
1755
  }
1756
- function Ea(e) {
1756
+ function ga(e) {
1757
1757
  const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
1758
1758
  return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
1759
1759
  }
1760
- function pa(e) {
1760
+ function Na(e) {
1761
1761
  if (e == null)
1762
1762
  return "o";
1763
1763
  switch (e.charCodeAt(0)) {
@@ -1794,13 +1794,13 @@ function pa(e) {
1794
1794
  }
1795
1795
  return "i";
1796
1796
  }
1797
- function ga(e) {
1797
+ function Ta(e) {
1798
1798
  const t = e.trim();
1799
- return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : da(t) ? Ea(t) : "*" + t;
1799
+ return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : pa(t) ? ga(t) : "*" + t;
1800
1800
  }
1801
- function Na(e) {
1801
+ function ba(e) {
1802
1802
  const t = [];
1803
- let n = -1, r = 0, s = 0, a, o, i, u, d, I, b;
1803
+ let n = -1, r = 0, s = 0, a, o, i, u, m, T, h;
1804
1804
  const N = [];
1805
1805
  N[
1806
1806
  0
@@ -1830,7 +1830,7 @@ function Na(e) {
1830
1830
  /* Actions.APPEND */
1831
1831
  ]();
1832
1832
  else {
1833
- if (s = 0, o === void 0 || (o = ga(o), o === !1))
1833
+ if (s = 0, o === void 0 || (o = Ta(o), o === !1))
1834
1834
  return !1;
1835
1835
  N[
1836
1836
  1
@@ -1848,27 +1848,27 @@ function Na(e) {
1848
1848
  }
1849
1849
  for (; r !== null; )
1850
1850
  if (n++, a = e[n], !(a === "\\" && A())) {
1851
- if (u = pa(a), b = be[r], d = b[u] || b.l || 8, d === 8 || (r = d[0], d[1] !== void 0 && (I = N[d[1]], I && (i = a, I() === !1))))
1851
+ if (u = Na(a), h = Te[r], m = h[u] || h.l || 8, m === 8 || (r = m[0], m[1] !== void 0 && (T = N[m[1]], T && (i = a, T() === !1))))
1852
1852
  return;
1853
1853
  if (r === 7)
1854
1854
  return t;
1855
1855
  }
1856
1856
  }
1857
- const On = /* @__PURE__ */ new Map();
1858
- function Ta(e, t) {
1857
+ const Ln = /* @__PURE__ */ new Map();
1858
+ function ha(e, t) {
1859
1859
  return M(e) ? e[t] : null;
1860
1860
  }
1861
- function ba(e, t) {
1861
+ function Ia(e, t) {
1862
1862
  if (!M(e))
1863
1863
  return null;
1864
- let n = On.get(t);
1865
- if (n || (n = Na(t), n && On.set(t, n)), !n)
1864
+ let n = Ln.get(t);
1865
+ if (n || (n = ba(t), n && Ln.set(t, n)), !n)
1866
1866
  return null;
1867
1867
  const r = n.length;
1868
1868
  let s = e, a = 0;
1869
1869
  for (; a < r; ) {
1870
1870
  const o = n[a];
1871
- if (fr.includes(o) && se(s))
1871
+ if (mr.includes(o) && se(s))
1872
1872
  return null;
1873
1873
  const i = s[o];
1874
1874
  if (i === void 0 || W(s))
@@ -1885,7 +1885,7 @@ const Z = {
1885
1885
  CANNOT_FORMAT_DATE: 5,
1886
1886
  FALLBACK_TO_DATE_FORMAT: 6,
1887
1887
  EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: 7
1888
- }, ha = 8, Ia = {
1888
+ }, La = 8, Oa = {
1889
1889
  [Z.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
1890
1890
  [Z.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
1891
1891
  [Z.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
@@ -1895,59 +1895,59 @@ const Z = {
1895
1895
  [Z.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]: "This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."
1896
1896
  };
1897
1897
  function Se(e, ...t) {
1898
- return ct(Ia[e], ...t);
1898
+ return it(Oa[e], ...t);
1899
1899
  }
1900
- const La = "11.2.8", ft = -1, je = "en-US", st = "", vn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1901
- function Oa() {
1900
+ const va = "11.2.8", ut = -1, je = "en-US", st = "", On = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1901
+ function Ca() {
1902
1902
  return {
1903
1903
  upper: (e, t) => t === "text" && L(e) ? e.toUpperCase() : t === "vnode" && M(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1904
1904
  lower: (e, t) => t === "text" && L(e) ? e.toLowerCase() : t === "vnode" && M(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
1905
- capitalize: (e, t) => t === "text" && L(e) ? vn(e) : t === "vnode" && M(e) && "__v_isVNode" in e ? vn(e.children) : e
1905
+ capitalize: (e, t) => t === "text" && L(e) ? On(e) : t === "vnode" && M(e) && "__v_isVNode" in e ? On(e.children) : e
1906
1906
  };
1907
1907
  }
1908
- let mr;
1909
- function va(e) {
1910
- mr = e;
1911
- }
1912
- let dr;
1913
- function Ca(e) {
1914
- dr = e;
1915
- }
1916
1908
  let Er;
1917
1909
  function Aa(e) {
1918
1910
  Er = e;
1919
1911
  }
1920
- let pr = null;
1921
- const Sa = /* @__NO_SIDE_EFFECTS__ */ (e) => {
1912
+ let pr;
1913
+ function Sa(e) {
1922
1914
  pr = e;
1923
- }, ya = /* @__NO_SIDE_EFFECTS__ */ () => pr;
1924
- let gr = null;
1925
- const Cn = (e) => {
1915
+ }
1916
+ let gr;
1917
+ function ya(e) {
1926
1918
  gr = e;
1927
- }, Pa = () => gr;
1928
- let An = 0;
1929
- function Da(e = {}) {
1930
- const t = W(e.onWarn) ? e.onWarn : fe, n = L(e.version) ? e.version : La, r = L(e.locale) || W(e.locale) ? e.locale : je, s = W(r) ? je : r, a = H(e.fallbackLocale) || R(e.fallbackLocale) || L(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, o = R(e.messages) ? e.messages : Dt(s), i = R(e.datetimeFormats) ? e.datetimeFormats : Dt(s), u = R(e.numberFormats) ? e.numberFormats : Dt(s), d = J($(), e.modifiers, Oa()), I = e.pluralRules || $(), b = W(e.missing) ? e.missing : null, N = F(e.missingWarn) || Fe(e.missingWarn) ? e.missingWarn : !0, A = F(e.fallbackWarn) || Fe(e.fallbackWarn) ? e.fallbackWarn : !0, D = !!e.fallbackFormat, C = !!e.unresolving, S = W(e.postTranslation) ? e.postTranslation : null, f = R(e.processor) ? e.processor : null, m = F(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, h = !!e.escapeParameter, E = W(e.messageCompiler) ? e.messageCompiler : mr;
1931
- process.env.NODE_ENV !== "production" && W(e.messageCompiler) && qt(Se(Z.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
1932
- const O = W(e.messageResolver) ? e.messageResolver : dr || Ta, v = W(e.localeFallbacker) ? e.localeFallbacker : Er || ua, p = M(e.fallbackContext) ? e.fallbackContext : void 0, k = e, w = M(k.__datetimeFormatters) ? k.__datetimeFormatters : /* @__PURE__ */ new Map(), X = M(k.__numberFormatters) ? k.__numberFormatters : /* @__PURE__ */ new Map(), ae = M(k.__meta) ? k.__meta : {};
1933
- An++;
1919
+ }
1920
+ let Nr = null;
1921
+ const Pa = /* @__NO_SIDE_EFFECTS__ */ (e) => {
1922
+ Nr = e;
1923
+ }, Da = /* @__NO_SIDE_EFFECTS__ */ () => Nr;
1924
+ let Tr = null;
1925
+ const vn = (e) => {
1926
+ Tr = e;
1927
+ }, ka = () => Tr;
1928
+ let Cn = 0;
1929
+ function Ra(e = {}) {
1930
+ const t = W(e.onWarn) ? e.onWarn : fe, n = L(e.version) ? e.version : va, r = L(e.locale) || W(e.locale) ? e.locale : je, s = W(r) ? je : r, a = H(e.fallbackLocale) || R(e.fallbackLocale) || L(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, o = R(e.messages) ? e.messages : Pt(s), i = R(e.datetimeFormats) ? e.datetimeFormats : Pt(s), u = R(e.numberFormats) ? e.numberFormats : Pt(s), m = J($(), e.modifiers, Ca()), T = e.pluralRules || $(), h = W(e.missing) ? e.missing : null, N = F(e.missingWarn) || Fe(e.missingWarn) ? e.missingWarn : !0, A = F(e.fallbackWarn) || Fe(e.fallbackWarn) ? e.fallbackWarn : !0, D = !!e.fallbackFormat, C = !!e.unresolving, S = W(e.postTranslation) ? e.postTranslation : null, f = R(e.processor) ? e.processor : null, d = F(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, I = !!e.escapeParameter, E = W(e.messageCompiler) ? e.messageCompiler : Er;
1931
+ process.env.NODE_ENV !== "production" && W(e.messageCompiler) && Qt(Se(Z.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
1932
+ const O = W(e.messageResolver) ? e.messageResolver : pr || ha, v = W(e.localeFallbacker) ? e.localeFallbacker : gr || _a, p = M(e.fallbackContext) ? e.fallbackContext : void 0, k = e, w = M(k.__datetimeFormatters) ? k.__datetimeFormatters : /* @__PURE__ */ new Map(), X = M(k.__numberFormatters) ? k.__numberFormatters : /* @__PURE__ */ new Map(), ae = M(k.__meta) ? k.__meta : {};
1933
+ Cn++;
1934
1934
  const Y = {
1935
1935
  version: n,
1936
- cid: An,
1936
+ cid: Cn,
1937
1937
  locale: r,
1938
1938
  fallbackLocale: a,
1939
1939
  messages: o,
1940
- modifiers: d,
1941
- pluralRules: I,
1942
- missing: b,
1940
+ modifiers: m,
1941
+ pluralRules: T,
1942
+ missing: h,
1943
1943
  missingWarn: N,
1944
1944
  fallbackWarn: A,
1945
1945
  fallbackFormat: D,
1946
1946
  unresolving: C,
1947
1947
  postTranslation: S,
1948
1948
  processor: f,
1949
- warnHtmlMessage: m,
1950
- escapeParameter: h,
1949
+ warnHtmlMessage: d,
1950
+ escapeParameter: I,
1951
1951
  messageCompiler: E,
1952
1952
  messageResolver: O,
1953
1953
  localeFallbacker: v,
@@ -1955,16 +1955,16 @@ function Da(e = {}) {
1955
1955
  onWarn: t,
1956
1956
  __meta: ae
1957
1957
  };
1958
- return Y.datetimeFormats = i, Y.numberFormats = u, Y.__datetimeFormatters = w, Y.__numberFormatters = X, process.env.NODE_ENV !== "production" && (Y.__v_emitter = k.__v_emitter != null ? k.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && aa(Y, n, ae), Y;
1958
+ return Y.datetimeFormats = i, Y.numberFormats = u, Y.__datetimeFormatters = w, Y.__numberFormatters = X, process.env.NODE_ENV !== "production" && (Y.__v_emitter = k.__v_emitter != null ? k.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && la(Y, n, ae), Y;
1959
1959
  }
1960
- const Dt = (e) => ({ [e]: $() });
1961
- function _t(e, t) {
1960
+ const Pt = (e) => ({ [e]: $() });
1961
+ function ft(e, t) {
1962
1962
  return e instanceof RegExp ? e.test(t) : e;
1963
1963
  }
1964
- function Nr(e, t) {
1964
+ function br(e, t) {
1965
1965
  return e instanceof RegExp ? e.test(t) : e;
1966
1966
  }
1967
- function sn(e, t, n, r, s) {
1967
+ function rn(e, t, n, r, s) {
1968
1968
  const { missing: a, onWarn: o } = e;
1969
1969
  if (process.env.NODE_ENV !== "production") {
1970
1970
  const i = e.__v_emitter;
@@ -1979,47 +1979,47 @@ function sn(e, t, n, r, s) {
1979
1979
  const i = a(e, n, t, s);
1980
1980
  return L(i) ? i : t;
1981
1981
  } else
1982
- return process.env.NODE_ENV !== "production" && Nr(r, t) && o(Se(Z.NOT_FOUND_KEY, { key: t, locale: n })), t;
1982
+ return process.env.NODE_ENV !== "production" && br(r, t) && o(Se(Z.NOT_FOUND_KEY, { key: t, locale: n })), t;
1983
1983
  }
1984
- function Ye(e, t, n) {
1984
+ function He(e, t, n) {
1985
1985
  const r = e;
1986
1986
  r.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
1987
1987
  }
1988
- function Tr(e, t) {
1988
+ function hr(e, t) {
1989
1989
  return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
1990
1990
  }
1991
- function ka(e, t) {
1991
+ function Ma(e, t) {
1992
1992
  const n = t.indexOf(e);
1993
1993
  if (n === -1)
1994
1994
  return !1;
1995
1995
  for (let r = n + 1; r < t.length; r++)
1996
- if (Tr(e, t[r]))
1996
+ if (hr(e, t[r]))
1997
1997
  return !0;
1998
1998
  return !1;
1999
1999
  }
2000
- const Sn = typeof Intl < "u", br = {
2001
- dateTimeFormat: Sn && typeof Intl.DateTimeFormat < "u",
2002
- numberFormat: Sn && typeof Intl.NumberFormat < "u"
2000
+ const An = typeof Intl < "u", Ir = {
2001
+ dateTimeFormat: An && typeof Intl.DateTimeFormat < "u",
2002
+ numberFormat: An && typeof Intl.NumberFormat < "u"
2003
2003
  };
2004
- function yn(e, ...t) {
2004
+ function Sn(e, ...t) {
2005
2005
  const { datetimeFormats: n, unresolving: r, fallbackLocale: s, onWarn: a, localeFallbacker: o } = e, { __datetimeFormatters: i } = e;
2006
- if (process.env.NODE_ENV !== "production" && !br.dateTimeFormat)
2006
+ if (process.env.NODE_ENV !== "production" && !Ir.dateTimeFormat)
2007
2007
  return a(Se(Z.CANNOT_FORMAT_DATE)), st;
2008
- const [u, d, I, b] = Ft(...t), N = F(I.missingWarn) ? I.missingWarn : e.missingWarn, A = F(I.fallbackWarn) ? I.fallbackWarn : e.fallbackWarn, D = !!I.part, C = rn(e, I), S = o(
2008
+ const [u, m, T, h] = Mt(...t), N = F(T.missingWarn) ? T.missingWarn : e.missingWarn, A = F(T.fallbackWarn) ? T.fallbackWarn : e.fallbackWarn, D = !!T.part, C = nn(e, T), S = o(
2009
2009
  e,
2010
2010
  // eslint-disable-line @typescript-eslint/no-explicit-any
2011
2011
  s,
2012
2012
  C
2013
2013
  );
2014
2014
  if (!L(u) || u === "")
2015
- return new Intl.DateTimeFormat(C, b).format(d);
2016
- let f = {}, m, h = null, E = C, O = null;
2015
+ return new Intl.DateTimeFormat(C, h).format(m);
2016
+ let f = {}, d, I = null, E = C, O = null;
2017
2017
  const v = "datetime format";
2018
2018
  for (let w = 0; w < S.length; w++) {
2019
- if (m = O = S[w], process.env.NODE_ENV !== "production" && C !== m && _t(A, u) && a(Se(Z.FALLBACK_TO_DATE_FORMAT, {
2019
+ if (d = O = S[w], process.env.NODE_ENV !== "production" && C !== d && ft(A, u) && a(Se(Z.FALLBACK_TO_DATE_FORMAT, {
2020
2020
  key: u,
2021
- target: m
2022
- })), process.env.NODE_ENV !== "production" && C !== m) {
2021
+ target: d
2022
+ })), process.env.NODE_ENV !== "production" && C !== d) {
2023
2023
  const X = e.__v_emitter;
2024
2024
  X && X.emit("fallback", {
2025
2025
  type: v,
@@ -2029,18 +2029,18 @@ function yn(e, ...t) {
2029
2029
  groupId: `${v}:${u}`
2030
2030
  });
2031
2031
  }
2032
- if (f = n[m] || {}, h = f[u], R(h))
2032
+ if (f = n[d] || {}, I = f[u], R(I))
2033
2033
  break;
2034
- sn(e, u, m, N, v), E = O;
2034
+ rn(e, u, d, N, v), E = O;
2035
2035
  }
2036
- if (!R(h) || !L(m))
2037
- return r ? ft : u;
2038
- let p = `${m}__${u}`;
2039
- ut(b) || (p = `${p}__${JSON.stringify(b)}`);
2036
+ if (!R(I) || !L(d))
2037
+ return r ? ut : u;
2038
+ let p = `${d}__${u}`;
2039
+ ct(h) || (p = `${p}__${JSON.stringify(h)}`);
2040
2040
  let k = i.get(p);
2041
- return k || (k = new Intl.DateTimeFormat(m, J({}, h, b)), i.set(p, k)), D ? k.formatToParts(d) : k.format(d);
2041
+ return k || (k = new Intl.DateTimeFormat(d, J({}, I, h)), i.set(p, k)), D ? k.formatToParts(m) : k.format(m);
2042
2042
  }
2043
- const hr = [
2043
+ const Lr = [
2044
2044
  "localeMatcher",
2045
2045
  "weekday",
2046
2046
  "era",
@@ -2062,21 +2062,21 @@ const hr = [
2062
2062
  "hourCycle",
2063
2063
  "fractionalSecondDigits"
2064
2064
  ];
2065
- function Ft(...e) {
2065
+ function Mt(...e) {
2066
2066
  const [t, n, r, s] = e, a = $();
2067
2067
  let o = $(), i;
2068
2068
  if (L(t)) {
2069
2069
  const u = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
2070
2070
  if (!u)
2071
2071
  throw pe(q.INVALID_ISO_DATE_ARGUMENT);
2072
- const d = u[3] ? u[3].trim().startsWith("T") ? `${u[1].trim()}${u[3].trim()}` : `${u[1].trim()}T${u[3].trim()}` : u[1].trim();
2073
- i = new Date(d);
2072
+ const m = u[3] ? u[3].trim().startsWith("T") ? `${u[1].trim()}${u[3].trim()}` : `${u[1].trim()}T${u[3].trim()}` : u[1].trim();
2073
+ i = new Date(m);
2074
2074
  try {
2075
2075
  i.toISOString();
2076
2076
  } catch {
2077
2077
  throw pe(q.INVALID_ISO_DATE_ARGUMENT);
2078
2078
  }
2079
- } else if (cs(t)) {
2079
+ } else if (fs(t)) {
2080
2080
  if (isNaN(t.getTime()))
2081
2081
  throw pe(q.INVALID_DATE_ARGUMENT);
2082
2082
  i = t;
@@ -2085,35 +2085,35 @@ function Ft(...e) {
2085
2085
  else
2086
2086
  throw pe(q.INVALID_ARGUMENT);
2087
2087
  return L(n) ? a.key = n : R(n) && Object.keys(n).forEach((u) => {
2088
- hr.includes(u) ? o[u] = n[u] : a[u] = n[u];
2088
+ Lr.includes(u) ? o[u] = n[u] : a[u] = n[u];
2089
2089
  }), L(r) ? a.locale = r : R(r) && (o = r), R(s) && (o = s), [a.key || "", i, a, o];
2090
2090
  }
2091
- function Pn(e, t, n) {
2091
+ function yn(e, t, n) {
2092
2092
  const r = e;
2093
2093
  for (const s in n) {
2094
2094
  const a = `${t}__${s}`;
2095
2095
  r.__datetimeFormatters.has(a) && r.__datetimeFormatters.delete(a);
2096
2096
  }
2097
2097
  }
2098
- function Dn(e, ...t) {
2098
+ function Pn(e, ...t) {
2099
2099
  const { numberFormats: n, unresolving: r, fallbackLocale: s, onWarn: a, localeFallbacker: o } = e, { __numberFormatters: i } = e;
2100
- if (process.env.NODE_ENV !== "production" && !br.numberFormat)
2100
+ if (process.env.NODE_ENV !== "production" && !Ir.numberFormat)
2101
2101
  return a(Se(Z.CANNOT_FORMAT_NUMBER)), st;
2102
- const [u, d, I, b] = Ut(...t), N = F(I.missingWarn) ? I.missingWarn : e.missingWarn, A = F(I.fallbackWarn) ? I.fallbackWarn : e.fallbackWarn, D = !!I.part, C = rn(e, I), S = o(
2102
+ const [u, m, T, h] = Ft(...t), N = F(T.missingWarn) ? T.missingWarn : e.missingWarn, A = F(T.fallbackWarn) ? T.fallbackWarn : e.fallbackWarn, D = !!T.part, C = nn(e, T), S = o(
2103
2103
  e,
2104
2104
  // eslint-disable-line @typescript-eslint/no-explicit-any
2105
2105
  s,
2106
2106
  C
2107
2107
  );
2108
2108
  if (!L(u) || u === "")
2109
- return new Intl.NumberFormat(C, b).format(d);
2110
- let f = {}, m, h = null, E = C, O = null;
2109
+ return new Intl.NumberFormat(C, h).format(m);
2110
+ let f = {}, d, I = null, E = C, O = null;
2111
2111
  const v = "number format";
2112
2112
  for (let w = 0; w < S.length; w++) {
2113
- if (m = O = S[w], process.env.NODE_ENV !== "production" && C !== m && _t(A, u) && a(Se(Z.FALLBACK_TO_NUMBER_FORMAT, {
2113
+ if (d = O = S[w], process.env.NODE_ENV !== "production" && C !== d && ft(A, u) && a(Se(Z.FALLBACK_TO_NUMBER_FORMAT, {
2114
2114
  key: u,
2115
- target: m
2116
- })), process.env.NODE_ENV !== "production" && C !== m) {
2115
+ target: d
2116
+ })), process.env.NODE_ENV !== "production" && C !== d) {
2117
2117
  const X = e.__v_emitter;
2118
2118
  X && X.emit("fallback", {
2119
2119
  type: v,
@@ -2123,18 +2123,18 @@ function Dn(e, ...t) {
2123
2123
  groupId: `${v}:${u}`
2124
2124
  });
2125
2125
  }
2126
- if (f = n[m] || {}, h = f[u], R(h))
2126
+ if (f = n[d] || {}, I = f[u], R(I))
2127
2127
  break;
2128
- sn(e, u, m, N, v), E = O;
2128
+ rn(e, u, d, N, v), E = O;
2129
2129
  }
2130
- if (!R(h) || !L(m))
2131
- return r ? ft : u;
2132
- let p = `${m}__${u}`;
2133
- ut(b) || (p = `${p}__${JSON.stringify(b)}`);
2130
+ if (!R(I) || !L(d))
2131
+ return r ? ut : u;
2132
+ let p = `${d}__${u}`;
2133
+ ct(h) || (p = `${p}__${JSON.stringify(h)}`);
2134
2134
  let k = i.get(p);
2135
- return k || (k = new Intl.NumberFormat(m, J({}, h, b)), i.set(p, k)), D ? k.formatToParts(d) : k.format(d);
2135
+ return k || (k = new Intl.NumberFormat(d, J({}, I, h)), i.set(p, k)), D ? k.formatToParts(m) : k.format(m);
2136
2136
  }
2137
- const Ir = [
2137
+ const Or = [
2138
2138
  "localeMatcher",
2139
2139
  "style",
2140
2140
  "currency",
@@ -2156,57 +2156,57 @@ const Ir = [
2156
2156
  "roundingIncrement",
2157
2157
  "trailingZeroDisplay"
2158
2158
  ];
2159
- function Ut(...e) {
2159
+ function Ft(...e) {
2160
2160
  const [t, n, r, s] = e, a = $();
2161
2161
  let o = $();
2162
2162
  if (!j(t))
2163
2163
  throw pe(q.INVALID_ARGUMENT);
2164
2164
  const i = t;
2165
2165
  return L(n) ? a.key = n : R(n) && Object.keys(n).forEach((u) => {
2166
- Ir.includes(u) ? o[u] = n[u] : a[u] = n[u];
2166
+ Or.includes(u) ? o[u] = n[u] : a[u] = n[u];
2167
2167
  }), L(r) ? a.locale = r : R(r) && (o = r), R(s) && (o = s), [a.key || "", i, a, o];
2168
2168
  }
2169
- function kn(e, t, n) {
2169
+ function Dn(e, t, n) {
2170
2170
  const r = e;
2171
2171
  for (const s in n) {
2172
2172
  const a = `${t}__${s}`;
2173
2173
  r.__numberFormatters.has(a) && r.__numberFormatters.delete(a);
2174
2174
  }
2175
2175
  }
2176
- const Ra = (e) => e, Ma = (e) => "", Fa = "text", Ua = (e) => e.length === 0 ? "" : zt(e), wa = ds;
2177
- function Rn(e, t) {
2176
+ const Fa = (e) => e, Ua = (e) => "", wa = "text", Va = (e) => e.length === 0 ? "" : Zt(e), $a = ps;
2177
+ function kn(e, t) {
2178
2178
  return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
2179
2179
  }
2180
- function Va(e) {
2180
+ function Wa(e) {
2181
2181
  const t = j(e.pluralIndex) ? e.pluralIndex : -1;
2182
2182
  return e.named && (j(e.named.count) || j(e.named.n)) ? j(e.named.count) ? e.named.count : j(e.named.n) ? e.named.n : t : t;
2183
2183
  }
2184
- function $a(e, t) {
2184
+ function Ga(e, t) {
2185
2185
  t.count || (t.count = e), t.n || (t.n = e);
2186
2186
  }
2187
- function Wa(e = {}) {
2188
- const t = e.locale, n = Va(e), r = M(e.pluralRules) && L(t) && W(e.pluralRules[t]) ? e.pluralRules[t] : Rn, s = M(e.pluralRules) && L(t) && W(e.pluralRules[t]) ? Rn : void 0, a = (f) => f[r(n, f.length, s)], o = e.list || [], i = (f) => o[f], u = e.named || $();
2189
- j(e.pluralIndex) && $a(n, u);
2190
- const d = (f) => u[f];
2191
- function I(f, m) {
2192
- const h = W(e.messages) ? e.messages(f, !!m) : M(e.messages) ? e.messages[f] : !1;
2193
- return h || (e.parent ? e.parent.message(f) : Ma);
2187
+ function xa(e = {}) {
2188
+ const t = e.locale, n = Wa(e), r = M(e.pluralRules) && L(t) && W(e.pluralRules[t]) ? e.pluralRules[t] : kn, s = M(e.pluralRules) && L(t) && W(e.pluralRules[t]) ? kn : void 0, a = (f) => f[r(n, f.length, s)], o = e.list || [], i = (f) => o[f], u = e.named || $();
2189
+ j(e.pluralIndex) && Ga(n, u);
2190
+ const m = (f) => u[f];
2191
+ function T(f, d) {
2192
+ const I = W(e.messages) ? e.messages(f, !!d) : M(e.messages) ? e.messages[f] : !1;
2193
+ return I || (e.parent ? e.parent.message(f) : Ua);
2194
2194
  }
2195
- const b = (f) => e.modifiers ? e.modifiers[f] : Ra, N = R(e.processor) && W(e.processor.normalize) ? e.processor.normalize : Ua, A = R(e.processor) && W(e.processor.interpolate) ? e.processor.interpolate : wa, D = R(e.processor) && L(e.processor.type) ? e.processor.type : Fa, S = {
2195
+ const h = (f) => e.modifiers ? e.modifiers[f] : Fa, N = R(e.processor) && W(e.processor.normalize) ? e.processor.normalize : Va, A = R(e.processor) && W(e.processor.interpolate) ? e.processor.interpolate : $a, D = R(e.processor) && L(e.processor.type) ? e.processor.type : wa, S = {
2196
2196
  list: i,
2197
- named: d,
2197
+ named: m,
2198
2198
  plural: a,
2199
- linked: (f, ...m) => {
2200
- const [h, E] = m;
2199
+ linked: (f, ...d) => {
2200
+ const [I, E] = d;
2201
2201
  let O = "text", v = "";
2202
- m.length === 1 ? M(h) ? (v = h.modifier || v, O = h.type || O) : L(h) && (v = h || v) : m.length === 2 && (L(h) && (v = h || v), L(E) && (O = E || O));
2203
- const p = I(f, !0)(S), k = (
2202
+ d.length === 1 ? M(I) ? (v = I.modifier || v, O = I.type || O) : L(I) && (v = I || v) : d.length === 2 && (L(I) && (v = I || v), L(E) && (O = E || O));
2203
+ const p = T(f, !0)(S), k = (
2204
2204
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
2205
2205
  O === "vnode" && H(p) && v ? p[0] : p
2206
2206
  );
2207
- return v ? b(v)(k, O) : k;
2207
+ return v ? h(v)(k, O) : k;
2208
2208
  },
2209
- message: I,
2209
+ message: T,
2210
2210
  type: D,
2211
2211
  interpolate: A,
2212
2212
  normalize: N,
@@ -2214,50 +2214,50 @@ function Wa(e = {}) {
2214
2214
  };
2215
2215
  return S;
2216
2216
  }
2217
- const Mn = () => "", te = (e) => W(e);
2218
- function Fn(e, ...t) {
2219
- const { fallbackFormat: n, postTranslation: r, unresolving: s, messageCompiler: a, fallbackLocale: o, messages: i } = e, [u, d] = wt(...t), I = F(d.missingWarn) ? d.missingWarn : e.missingWarn, b = F(d.fallbackWarn) ? d.fallbackWarn : e.fallbackWarn, N = F(d.escapeParameter) ? d.escapeParameter : e.escapeParameter, A = !!d.resolvedMessage, D = L(d.default) || F(d.default) ? F(d.default) ? a ? u : () => u : d.default : n ? a ? u : () => u : null, C = n || D != null && (L(D) || W(D)), S = rn(e, d);
2220
- N && Ga(d);
2221
- let [f, m, h] = A ? [
2217
+ const Rn = () => "", te = (e) => W(e);
2218
+ function Mn(e, ...t) {
2219
+ const { fallbackFormat: n, postTranslation: r, unresolving: s, messageCompiler: a, fallbackLocale: o, messages: i } = e, [u, m] = Ut(...t), T = F(m.missingWarn) ? m.missingWarn : e.missingWarn, h = F(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, N = F(m.escapeParameter) ? m.escapeParameter : e.escapeParameter, A = !!m.resolvedMessage, D = L(m.default) || F(m.default) ? F(m.default) ? a ? u : () => u : m.default : n ? a ? u : () => u : null, C = n || D != null && (L(D) || W(D)), S = nn(e, m);
2220
+ N && Ha(m);
2221
+ let [f, d, I] = A ? [
2222
2222
  u,
2223
2223
  S,
2224
2224
  i[S] || $()
2225
- ] : Lr(e, u, S, o, b, I), E = f, O = u;
2226
- if (!A && !(L(E) || se(E) || te(E)) && C && (E = D, O = E), !A && (!(L(E) || se(E) || te(E)) || !L(m)))
2227
- return s ? ft : u;
2225
+ ] : vr(e, u, S, o, h, T), E = f, O = u;
2226
+ if (!A && !(L(E) || se(E) || te(E)) && C && (E = D, O = E), !A && (!(L(E) || se(E) || te(E)) || !L(d)))
2227
+ return s ? ut : u;
2228
2228
  if (process.env.NODE_ENV !== "production" && L(E) && e.messageCompiler == null)
2229
2229
  return fe(`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 '${u}'.`), u;
2230
2230
  let v = !1;
2231
2231
  const p = () => {
2232
2232
  v = !0;
2233
- }, k = te(E) ? E : Or(e, u, m, E, O, p);
2233
+ }, k = te(E) ? E : Cr(e, u, d, E, O, p);
2234
2234
  if (v)
2235
2235
  return E;
2236
- const w = Ba(e, m, h, d), X = Wa(w), ae = xa(e, k, X);
2236
+ const w = ja(e, d, I, m), X = xa(w), ae = Ya(e, k, X);
2237
2237
  let Y = r ? r(ae, u) : ae;
2238
- if (N && L(Y) && (Y = fs(Y)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
2238
+ if (N && L(Y) && (Y = ms(Y)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
2239
2239
  const Pe = {
2240
2240
  timestamp: Date.now(),
2241
2241
  key: L(u) ? u : te(E) ? E.key : "",
2242
- locale: m || (te(E) ? E.locale : ""),
2242
+ locale: d || (te(E) ? E.locale : ""),
2243
2243
  format: L(E) ? E : te(E) ? E.source : "",
2244
2244
  message: Y
2245
2245
  };
2246
- Pe.meta = J({}, e.__meta, /* @__PURE__ */ ya() || {}), oa(Pe);
2246
+ Pe.meta = J({}, e.__meta, /* @__PURE__ */ Da() || {}), ia(Pe);
2247
2247
  }
2248
2248
  return Y;
2249
2249
  }
2250
- function Ga(e) {
2251
- H(e.list) ? e.list = e.list.map((t) => L(t) ? En(t) : t) : M(e.named) && Object.keys(e.named).forEach((t) => {
2252
- L(e.named[t]) && (e.named[t] = En(e.named[t]));
2250
+ function Ha(e) {
2251
+ H(e.list) ? e.list = e.list.map((t) => L(t) ? dn(t) : t) : M(e.named) && Object.keys(e.named).forEach((t) => {
2252
+ L(e.named[t]) && (e.named[t] = dn(e.named[t]));
2253
2253
  });
2254
2254
  }
2255
- function Lr(e, t, n, r, s, a) {
2256
- const { messages: o, onWarn: i, messageResolver: u, localeFallbacker: d } = e, I = d(e, r, n);
2257
- let b = $(), N, A = null, D = n, C = null;
2255
+ function vr(e, t, n, r, s, a) {
2256
+ const { messages: o, onWarn: i, messageResolver: u, localeFallbacker: m } = e, T = m(e, r, n);
2257
+ let h = $(), N, A = null, D = n, C = null;
2258
2258
  const S = "translate";
2259
- for (let f = 0; f < I.length; f++) {
2260
- if (N = C = I[f], process.env.NODE_ENV !== "production" && n !== N && !Tr(n, N) && _t(s, t) && i(Se(Z.FALLBACK_TO_TRANSLATE, {
2259
+ for (let f = 0; f < T.length; f++) {
2260
+ if (N = C = T[f], process.env.NODE_ENV !== "production" && n !== N && !hr(n, N) && ft(s, t) && i(Se(Z.FALLBACK_TO_TRANSLATE, {
2261
2261
  key: t,
2262
2262
  target: N
2263
2263
  })), process.env.NODE_ENV !== "production" && n !== N) {
@@ -2270,22 +2270,22 @@ function Lr(e, t, n, r, s, a) {
2270
2270
  groupId: `${S}:${t}`
2271
2271
  });
2272
2272
  }
2273
- b = o[N] || $();
2274
- let m = null, h, E;
2275
- if (process.env.NODE_ENV !== "production" && le && (m = window.performance.now(), h = "intlify-message-resolve-start", E = "intlify-message-resolve-end", ee && ee(h)), (A = u(b, t)) === null && (A = b[t]), process.env.NODE_ENV !== "production" && le) {
2273
+ h = o[N] || $();
2274
+ let d = null, I, E;
2275
+ if (process.env.NODE_ENV !== "production" && le && (d = window.performance.now(), I = "intlify-message-resolve-start", E = "intlify-message-resolve-end", ee && ee(I)), (A = u(h, t)) === null && (A = h[t]), process.env.NODE_ENV !== "production" && le) {
2276
2276
  const O = window.performance.now(), v = e.__v_emitter;
2277
- v && m && A && v.emit("message-resolve", {
2277
+ v && d && A && v.emit("message-resolve", {
2278
2278
  type: "message-resolve",
2279
2279
  key: t,
2280
2280
  message: A,
2281
- time: O - m,
2281
+ time: O - d,
2282
2282
  groupId: `${S}:${t}`
2283
- }), h && E && ee && Ae && (ee(E), Ae("intlify message resolve", h, E));
2283
+ }), I && E && ee && Ae && (ee(E), Ae("intlify message resolve", I, E));
2284
2284
  }
2285
2285
  if (L(A) || se(A) || te(A))
2286
2286
  break;
2287
- if (!ka(N, I)) {
2288
- const O = sn(
2287
+ if (!Ma(N, T)) {
2288
+ const O = rn(
2289
2289
  e,
2290
2290
  // eslint-disable-line @typescript-eslint/no-explicit-any
2291
2291
  t,
@@ -2297,9 +2297,9 @@ function Lr(e, t, n, r, s, a) {
2297
2297
  }
2298
2298
  D = C;
2299
2299
  }
2300
- return [A, N, b];
2300
+ return [A, N, h];
2301
2301
  }
2302
- function Or(e, t, n, r, s, a) {
2302
+ function Cr(e, t, n, r, s, a) {
2303
2303
  const { messageCompiler: o, warnHtmlMessage: i } = e;
2304
2304
  if (te(r)) {
2305
2305
  const N = r;
@@ -2309,9 +2309,9 @@ function Or(e, t, n, r, s, a) {
2309
2309
  const N = (() => r);
2310
2310
  return N.locale = n, N.key = t, N;
2311
2311
  }
2312
- let u = null, d, I;
2313
- process.env.NODE_ENV !== "production" && le && (u = window.performance.now(), d = "intlify-message-compilation-start", I = "intlify-message-compilation-end", ee && ee(d));
2314
- const b = o(r, Ha(e, n, s, r, i, a));
2312
+ let u = null, m, T;
2313
+ process.env.NODE_ENV !== "production" && le && (u = window.performance.now(), m = "intlify-message-compilation-start", T = "intlify-message-compilation-end", ee && ee(m));
2314
+ const h = o(r, Ba(e, n, s, r, i, a));
2315
2315
  if (process.env.NODE_ENV !== "production" && le) {
2316
2316
  const N = window.performance.now(), A = e.__v_emitter;
2317
2317
  A && u && A.emit("message-compilation", {
@@ -2319,11 +2319,11 @@ function Or(e, t, n, r, s, a) {
2319
2319
  message: r,
2320
2320
  time: N - u,
2321
2321
  groupId: `translate:${t}`
2322
- }), d && I && ee && Ae && (ee(I), Ae("intlify message compilation", d, I));
2322
+ }), m && T && ee && Ae && (ee(T), Ae("intlify message compilation", m, T));
2323
2323
  }
2324
- return b.locale = n, b.key = t, b.source = r, b;
2324
+ return h.locale = n, h.key = t, h.source = r, h;
2325
2325
  }
2326
- function xa(e, t, n) {
2326
+ function Ya(e, t, n) {
2327
2327
  let r = null, s, a;
2328
2328
  process.env.NODE_ENV !== "production" && le && (r = window.performance.now(), s = "intlify-message-evaluation-start", a = "intlify-message-evaluation-end", ee && ee(s));
2329
2329
  const o = t(n);
@@ -2338,88 +2338,88 @@ function xa(e, t, n) {
2338
2338
  }
2339
2339
  return o;
2340
2340
  }
2341
- function wt(...e) {
2341
+ function Ut(...e) {
2342
2342
  const [t, n, r] = e, s = $();
2343
2343
  if (!L(t) && !j(t) && !te(t) && !se(t))
2344
2344
  throw pe(q.INVALID_ARGUMENT);
2345
2345
  const a = j(t) ? String(t) : (te(t), t);
2346
- return j(n) ? s.plural = n : L(n) ? s.default = n : R(n) && !ut(n) ? s.named = n : H(n) && (s.list = n), j(r) ? s.plural = r : L(r) ? s.default = r : R(r) && J(s, r), [a, s];
2346
+ return j(n) ? s.plural = n : L(n) ? s.default = n : R(n) && !ct(n) ? s.named = n : H(n) && (s.list = n), j(r) ? s.plural = r : L(r) ? s.default = r : R(r) && J(s, r), [a, s];
2347
2347
  }
2348
- function Ha(e, t, n, r, s, a) {
2348
+ function Ba(e, t, n, r, s, a) {
2349
2349
  return {
2350
2350
  locale: t,
2351
2351
  key: n,
2352
2352
  warnHtmlMessage: s,
2353
2353
  onError: (o) => {
2354
2354
  if (a && a(o), process.env.NODE_ENV !== "production") {
2355
- const i = Ya(r), u = `Message compilation error: ${o.message}`, d = o.location && i && Es(i, o.location.start.offset, o.location.end.offset), I = e.__v_emitter;
2356
- I && i && I.emit("compile-error", {
2355
+ const i = Ka(r), u = `Message compilation error: ${o.message}`, m = o.location && i && gs(i, o.location.start.offset, o.location.end.offset), T = e.__v_emitter;
2356
+ T && i && T.emit("compile-error", {
2357
2357
  message: i,
2358
2358
  error: o.message,
2359
2359
  start: o.location && o.location.start.offset,
2360
2360
  end: o.location && o.location.end.offset,
2361
2361
  groupId: `translate:${n}`
2362
- }), console.error(d ? `${u}
2363
- ${d}` : u);
2362
+ }), console.error(m ? `${u}
2363
+ ${m}` : u);
2364
2364
  } else
2365
2365
  throw o;
2366
2366
  },
2367
- onCacheKey: (o) => ls(t, n, o)
2367
+ onCacheKey: (o) => cs(t, n, o)
2368
2368
  };
2369
2369
  }
2370
- function Ya(e) {
2370
+ function Ka(e) {
2371
2371
  if (L(e))
2372
2372
  return e;
2373
2373
  if (e.loc && e.loc.source)
2374
2374
  return e.loc.source;
2375
2375
  }
2376
- function Ba(e, t, n, r) {
2377
- const { modifiers: s, pluralRules: a, messageResolver: o, fallbackLocale: i, fallbackWarn: u, missingWarn: d, fallbackContext: I } = e, N = {
2376
+ function ja(e, t, n, r) {
2377
+ const { modifiers: s, pluralRules: a, messageResolver: o, fallbackLocale: i, fallbackWarn: u, missingWarn: m, fallbackContext: T } = e, N = {
2378
2378
  locale: t,
2379
2379
  modifiers: s,
2380
2380
  pluralRules: a,
2381
2381
  messages: (A, D) => {
2382
2382
  let C = o(n, A);
2383
- if (C == null && (I || D)) {
2384
- const [, , S] = Lr(
2385
- I || e,
2383
+ if (C == null && (T || D)) {
2384
+ const [, , S] = vr(
2385
+ T || e,
2386
2386
  // NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
2387
2387
  A,
2388
2388
  t,
2389
2389
  i,
2390
2390
  u,
2391
- d
2391
+ m
2392
2392
  );
2393
2393
  C = o(S, A);
2394
2394
  }
2395
2395
  if (L(C) || se(C)) {
2396
2396
  let S = !1;
2397
- const m = Or(e, A, t, C, A, () => {
2397
+ const d = Cr(e, A, t, C, A, () => {
2398
2398
  S = !0;
2399
2399
  });
2400
- return S ? Mn : m;
2401
- } else return te(C) ? C : Mn;
2400
+ return S ? Rn : d;
2401
+ } else return te(C) ? C : Rn;
2402
2402
  }
2403
2403
  };
2404
2404
  return e.processor && (N.processor = e.processor), r.list && (N.list = r.list), r.named && (N.named = r.named), j(r.plural) && (N.pluralIndex = r.plural), N;
2405
2405
  }
2406
- Bs();
2407
- function Ka() {
2408
- return vr().__VUE_DEVTOOLS_GLOBAL_HOOK__;
2406
+ js();
2407
+ function Xa() {
2408
+ return Ar().__VUE_DEVTOOLS_GLOBAL_HOOK__;
2409
2409
  }
2410
- function vr() {
2410
+ function Ar() {
2411
2411
  return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
2412
2412
  }
2413
- const ja = typeof Proxy == "function", Xa = "devtools-plugin:setup", Ja = "plugin:settings:set";
2414
- let ke, Vt;
2415
- function Qa() {
2413
+ const Ja = typeof Proxy == "function", Qa = "devtools-plugin:setup", qa = "plugin:settings:set";
2414
+ let ke, wt;
2415
+ function Za() {
2416
2416
  var e;
2417
- return ke !== void 0 || (typeof window < "u" && window.performance ? (ke = !0, Vt = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (ke = !0, Vt = globalThis.perf_hooks.performance) : ke = !1), ke;
2417
+ return ke !== void 0 || (typeof window < "u" && window.performance ? (ke = !0, wt = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (ke = !0, wt = globalThis.perf_hooks.performance) : ke = !1), ke;
2418
2418
  }
2419
- function qa() {
2420
- return Qa() ? Vt.now() : Date.now();
2419
+ function za() {
2420
+ return Za() ? wt.now() : Date.now();
2421
2421
  }
2422
- class Za {
2422
+ class eo {
2423
2423
  constructor(t, n) {
2424
2424
  this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = t, this.hook = n;
2425
2425
  const r = {};
@@ -2447,9 +2447,9 @@ class Za {
2447
2447
  a = o;
2448
2448
  },
2449
2449
  now() {
2450
- return qa();
2450
+ return za();
2451
2451
  }
2452
- }, n && n.on(Ja, (o, i) => {
2452
+ }, n && n.on(qa, (o, i) => {
2453
2453
  o === this.plugin.id && this.fallbacks.setSettings(i);
2454
2454
  }), this.proxiedOn = new Proxy({}, {
2455
2455
  get: (o, i) => this.target ? this.target.on[i] : (...u) => {
@@ -2464,11 +2464,11 @@ class Za {
2464
2464
  args: u,
2465
2465
  resolve: () => {
2466
2466
  }
2467
- }), this.fallbacks[i](...u)) : (...u) => new Promise((d) => {
2467
+ }), this.fallbacks[i](...u)) : (...u) => new Promise((m) => {
2468
2468
  this.targetQueue.push({
2469
2469
  method: i,
2470
2470
  args: u,
2471
- resolve: d
2471
+ resolve: m
2472
2472
  });
2473
2473
  })
2474
2474
  });
@@ -2481,12 +2481,12 @@ class Za {
2481
2481
  n.resolve(await this.target[n.method](...n.args));
2482
2482
  }
2483
2483
  }
2484
- function za(e, t) {
2485
- const n = e, r = vr(), s = Ka(), a = ja && n.enableEarlyProxy;
2484
+ function to(e, t) {
2485
+ const n = e, r = Ar(), s = Xa(), a = Ja && n.enableEarlyProxy;
2486
2486
  if (s && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a))
2487
- s.emit(Xa, e, t);
2487
+ s.emit(Qa, e, t);
2488
2488
  else {
2489
- const o = a ? new Za(n, s) : null;
2489
+ const o = a ? new eo(n, s) : null;
2490
2490
  (r.__VUE_DEVTOOLS_PLUGINS__ = r.__VUE_DEVTOOLS_PLUGINS__ || []).push({
2491
2491
  pluginDescriptor: n,
2492
2492
  setupFn: t,
@@ -2494,13 +2494,13 @@ function za(e, t) {
2494
2494
  }), o && t(o.proxiedTarget);
2495
2495
  }
2496
2496
  }
2497
- const eo = "11.2.8";
2498
- function to() {
2497
+ const no = "11.2.8";
2498
+ function ro() {
2499
2499
  typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (ve().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (ve().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (ve().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (ve().__INTLIFY_PROD_DEVTOOLS__ = !1);
2500
2500
  }
2501
2501
  const G = {
2502
2502
  // composer module errors
2503
- UNEXPECTED_RETURN_TYPE: ia,
2503
+ UNEXPECTED_RETURN_TYPE: ua,
2504
2504
  // 24
2505
2505
  // legacy module errors
2506
2506
  INVALID_ARGUMENT: 25,
@@ -2521,9 +2521,9 @@ const G = {
2521
2521
  NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
2522
2522
  };
2523
2523
  function z(e, ...t) {
2524
- return Ve(e, null, process.env.NODE_ENV !== "production" ? { messages: no, args: t } : void 0);
2524
+ return Ve(e, null, process.env.NODE_ENV !== "production" ? { messages: so, args: t } : void 0);
2525
2525
  }
2526
- const no = {
2526
+ const so = {
2527
2527
  [G.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
2528
2528
  [G.INVALID_ARGUMENT]: "Invalid argument",
2529
2529
  [G.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
@@ -2535,8 +2535,8 @@ const no = {
2535
2535
  [G.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
2536
2536
  [G.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
2537
2537
  [G.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
2538
- }, $t = /* @__PURE__ */ me("__translateVNode"), Wt = /* @__PURE__ */ me("__datetimeParts"), Gt = /* @__PURE__ */ me("__numberParts"), ye = /* @__PURE__ */ me("__enableEmitter"), Xe = /* @__PURE__ */ me("__disableEmitter"), Cr = me("__setPluralRules"), Ar = /* @__PURE__ */ me("__injectWithOption"), xt = /* @__PURE__ */ me("__dispose"), ne = {
2539
- FALLBACK_TO_ROOT: ha,
2538
+ }, Vt = /* @__PURE__ */ me("__translateVNode"), $t = /* @__PURE__ */ me("__datetimeParts"), Wt = /* @__PURE__ */ me("__numberParts"), ye = /* @__PURE__ */ me("__enableEmitter"), Xe = /* @__PURE__ */ me("__disableEmitter"), Sr = me("__setPluralRules"), yr = /* @__PURE__ */ me("__injectWithOption"), Gt = /* @__PURE__ */ me("__dispose"), ne = {
2539
+ FALLBACK_TO_ROOT: La,
2540
2540
  // 8
2541
2541
  NOT_FOUND_PARENT_SCOPE: 9,
2542
2542
  IGNORE_OBJ_FLATTEN: 10,
@@ -2550,7 +2550,7 @@ const no = {
2550
2550
  DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE: 12,
2551
2551
  // duplicate `useI18n` calling
2552
2552
  DUPLICATE_USE_I18N_CALLING: 13
2553
- }, ro = {
2553
+ }, ao = {
2554
2554
  [ne.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
2555
2555
  [ne.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
2556
2556
  [ne.IGNORE_OBJ_FLATTEN]: "Ignore object flatten: '{key}' key has an string value",
@@ -2566,7 +2566,7 @@ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guid
2566
2566
  [ne.DUPLICATE_USE_I18N_CALLING]: "Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."
2567
2567
  };
2568
2568
  function we(e, ...t) {
2569
- return ct(ro[e], ...t);
2569
+ return it(ao[e], ...t);
2570
2570
  }
2571
2571
  function Je(e) {
2572
2572
  if (!M(e) || se(e))
@@ -2589,19 +2589,19 @@ function Je(e) {
2589
2589
  }
2590
2590
  s = s[n[o]];
2591
2591
  }
2592
- if (a || (se(s) ? fr.includes(n[r]) || delete e[t] : (s[n[r]] = e[t], delete e[t])), !se(s)) {
2592
+ if (a || (se(s) ? mr.includes(n[r]) || delete e[t] : (s[n[r]] = e[t], delete e[t])), !se(s)) {
2593
2593
  const o = s[n[r]];
2594
2594
  M(o) && Je(o);
2595
2595
  }
2596
2596
  }
2597
2597
  return e;
2598
2598
  }
2599
- function an(e, t) {
2599
+ function sn(e, t) {
2600
2600
  const { messages: n, __i18n: r, messageResolver: s, flatJson: a } = t, o = R(n) ? n : H(r) ? $() : { [e]: $() };
2601
2601
  if (H(r) && r.forEach((i) => {
2602
2602
  if ("locale" in i && "resource" in i) {
2603
- const { locale: u, resource: d } = i;
2604
- u ? (o[u] = o[u] || $(), rt(d, o[u])) : rt(d, o);
2603
+ const { locale: u, resource: m } = i;
2604
+ u ? (o[u] = o[u] || $(), rt(m, o[u])) : rt(m, o);
2605
2605
  } else
2606
2606
  L(i) && rt(JSON.parse(i), o);
2607
2607
  }), s == null && a)
@@ -2609,12 +2609,12 @@ function an(e, t) {
2609
2609
  oe(o, i) && Je(o[i]);
2610
2610
  return o;
2611
2611
  }
2612
- function Sr(e) {
2612
+ function Pr(e) {
2613
2613
  return e.type;
2614
2614
  }
2615
- function yr(e, t, n) {
2615
+ function Dr(e, t, n) {
2616
2616
  let r = M(t.messages) ? t.messages : $();
2617
- "__i18nGlobal" in n && (r = an(e.locale.value, {
2617
+ "__i18nGlobal" in n && (r = sn(e.locale.value, {
2618
2618
  messages: r,
2619
2619
  __i18n: n.__i18nGlobal
2620
2620
  }));
@@ -2637,25 +2637,25 @@ function yr(e, t, n) {
2637
2637
  }
2638
2638
  }
2639
2639
  }
2640
- function Un(e) {
2641
- return Zn(xr, null, e, 0);
2640
+ function Fn(e) {
2641
+ return er(Yr, null, e, 0);
2642
2642
  }
2643
2643
  function Me() {
2644
2644
  const e = "currentInstance";
2645
- return e in St ? St[e] : St.getCurrentInstance();
2645
+ return e in At ? At[e] : At.getCurrentInstance();
2646
2646
  }
2647
- const wn = "__INTLIFY_META__", Vn = () => [], so = () => !1;
2648
- let $n = 0;
2649
- function Wn(e) {
2647
+ const Un = "__INTLIFY_META__", wn = () => [], oo = () => !1;
2648
+ let Vn = 0;
2649
+ function $n(e) {
2650
2650
  return ((t, n, r, s) => e(n, r, Me() || void 0, s));
2651
2651
  }
2652
- const ao = /* @__NO_SIDE_EFFECTS__ */ () => {
2652
+ const lo = /* @__NO_SIDE_EFFECTS__ */ () => {
2653
2653
  const e = Me();
2654
2654
  let t = null;
2655
- return e && (t = Sr(e)[wn]) ? { [wn]: t } : null;
2655
+ return e && (t = Pr(e)[Un]) ? { [Un]: t } : null;
2656
2656
  };
2657
- function on(e = {}) {
2658
- const { __root: t, __injectWithOption: n } = e, r = t === void 0, s = e.flatJson, a = le ? at : $r;
2657
+ function an(e = {}) {
2658
+ const { __root: t, __injectWithOption: n } = e, r = t === void 0, s = e.flatJson, a = le ? Zn : Gr;
2659
2659
  let o = F(e.inheritLocale) ? e.inheritLocale : !0;
2660
2660
  const i = a(
2661
2661
  // prettier-ignore
@@ -2663,17 +2663,17 @@ function on(e = {}) {
2663
2663
  ), u = a(
2664
2664
  // prettier-ignore
2665
2665
  t && o ? t.fallbackLocale.value : L(e.fallbackLocale) || H(e.fallbackLocale) || R(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : i.value
2666
- ), d = a(an(i.value, e)), I = a(R(e.datetimeFormats) ? e.datetimeFormats : { [i.value]: {} }), b = a(R(e.numberFormats) ? e.numberFormats : { [i.value]: {} });
2667
- let N = t ? t.missingWarn : F(e.missingWarn) || Fe(e.missingWarn) ? e.missingWarn : !0, A = t ? t.fallbackWarn : F(e.fallbackWarn) || Fe(e.fallbackWarn) ? e.fallbackWarn : !0, D = t ? t.fallbackRoot : F(e.fallbackRoot) ? e.fallbackRoot : !0, C = !!e.fallbackFormat, S = W(e.missing) ? e.missing : null, f = W(e.missing) ? Wn(e.missing) : null, m = W(e.postTranslation) ? e.postTranslation : null, h = t ? t.warnHtmlMessage : F(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, E = !!e.escapeParameter;
2666
+ ), m = a(sn(i.value, e)), T = a(R(e.datetimeFormats) ? e.datetimeFormats : { [i.value]: {} }), h = a(R(e.numberFormats) ? e.numberFormats : { [i.value]: {} });
2667
+ let N = t ? t.missingWarn : F(e.missingWarn) || Fe(e.missingWarn) ? e.missingWarn : !0, A = t ? t.fallbackWarn : F(e.fallbackWarn) || Fe(e.fallbackWarn) ? e.fallbackWarn : !0, D = t ? t.fallbackRoot : F(e.fallbackRoot) ? e.fallbackRoot : !0, C = !!e.fallbackFormat, S = W(e.missing) ? e.missing : null, f = W(e.missing) ? $n(e.missing) : null, d = W(e.postTranslation) ? e.postTranslation : null, I = t ? t.warnHtmlMessage : F(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, E = !!e.escapeParameter;
2668
2668
  const O = t ? t.modifiers : R(e.modifiers) ? e.modifiers : {};
2669
2669
  let v = e.pluralRules || t && t.pluralRules, p;
2670
2670
  p = (() => {
2671
- r && Cn(null);
2671
+ r && vn(null);
2672
2672
  const _ = {
2673
- version: eo,
2673
+ version: no,
2674
2674
  locale: i.value,
2675
2675
  fallbackLocale: u.value,
2676
- messages: d.value,
2676
+ messages: m.value,
2677
2677
  modifiers: O,
2678
2678
  pluralRules: v,
2679
2679
  missing: f === null ? void 0 : f,
@@ -2681,76 +2681,76 @@ function on(e = {}) {
2681
2681
  fallbackWarn: A,
2682
2682
  fallbackFormat: C,
2683
2683
  unresolving: !0,
2684
- postTranslation: m === null ? void 0 : m,
2685
- warnHtmlMessage: h,
2684
+ postTranslation: d === null ? void 0 : d,
2685
+ warnHtmlMessage: I,
2686
2686
  escapeParameter: E,
2687
2687
  messageResolver: e.messageResolver,
2688
2688
  messageCompiler: e.messageCompiler,
2689
2689
  __meta: { framework: "vue" }
2690
2690
  };
2691
- _.datetimeFormats = I.value, _.numberFormats = b.value, _.__datetimeFormatters = R(p) ? p.__datetimeFormatters : void 0, _.__numberFormatters = R(p) ? p.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (_.__v_emitter = R(p) ? p.__v_emitter : void 0);
2692
- const T = Da(_);
2693
- return r && Cn(T), T;
2694
- })(), Ye(p, i.value, u.value);
2691
+ _.datetimeFormats = T.value, _.numberFormats = h.value, _.__datetimeFormatters = R(p) ? p.__datetimeFormatters : void 0, _.__numberFormatters = R(p) ? p.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (_.__v_emitter = R(p) ? p.__v_emitter : void 0);
2692
+ const b = Ra(_);
2693
+ return r && vn(b), b;
2694
+ })(), He(p, i.value, u.value);
2695
2695
  function w() {
2696
2696
  return [
2697
2697
  i.value,
2698
2698
  u.value,
2699
- d.value,
2700
- I.value,
2701
- b.value
2699
+ m.value,
2700
+ T.value,
2701
+ h.value
2702
2702
  ];
2703
2703
  }
2704
- const X = He({
2704
+ const X = Oe({
2705
2705
  get: () => i.value,
2706
2706
  set: (_) => {
2707
2707
  p.locale = _, i.value = _;
2708
2708
  }
2709
- }), ae = He({
2709
+ }), ae = Oe({
2710
2710
  get: () => u.value,
2711
2711
  set: (_) => {
2712
- p.fallbackLocale = _, u.value = _, Ye(p, i.value, _);
2712
+ p.fallbackLocale = _, u.value = _, He(p, i.value, _);
2713
2713
  }
2714
- }), Y = He(() => d.value), Pe = /* @__PURE__ */ He(() => I.value), mt = /* @__PURE__ */ He(() => b.value);
2715
- function dt() {
2716
- return W(m) ? m : null;
2714
+ }), Y = Oe(() => m.value), Pe = /* @__PURE__ */ Oe(() => T.value), _t = /* @__PURE__ */ Oe(() => h.value);
2715
+ function mt() {
2716
+ return W(d) ? d : null;
2717
2717
  }
2718
- function Et(_) {
2719
- m = _, p.postTranslation = _;
2718
+ function dt(_) {
2719
+ d = _, p.postTranslation = _;
2720
2720
  }
2721
- function pt() {
2721
+ function Et() {
2722
2722
  return S;
2723
2723
  }
2724
- function gt(_) {
2725
- _ !== null && (f = Wn(_)), S = _, p.missing = f;
2724
+ function pt(_) {
2725
+ _ !== null && (f = $n(_)), S = _, p.missing = f;
2726
2726
  }
2727
- function Nt(_, T) {
2728
- return _ !== "translate" || !T.resolvedMessage;
2727
+ function gt(_, b) {
2728
+ return _ !== "translate" || !b.resolvedMessage;
2729
2729
  }
2730
- const de = (_, T, V, K, Ie, ze) => {
2730
+ const de = (_, b, V, K, he, ze) => {
2731
2731
  w();
2732
2732
  let De;
2733
2733
  try {
2734
- process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (p.fallbackContext = t ? Pa() : void 0), De = _(p);
2734
+ process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (p.fallbackContext = t ? ka() : void 0), De = _(p);
2735
2735
  } finally {
2736
2736
  process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (p.fallbackContext = void 0);
2737
2737
  }
2738
2738
  if (V !== "translate exists" && // for not `te` (e.g `t`)
2739
- j(De) && De === ft || V === "translate exists" && !De) {
2740
- const [Le, Fr] = T();
2741
- if (process.env.NODE_ENV !== "production" && t && L(Le) && Nt(V, Fr) && (D && (_t(A, Le) || Nr(N, Le)) && fe(we(ne.FALLBACK_TO_ROOT, {
2742
- key: Le,
2739
+ j(De) && De === ut || V === "translate exists" && !De) {
2740
+ const [Ie, wr] = b();
2741
+ if (process.env.NODE_ENV !== "production" && t && L(Ie) && gt(V, wr) && (D && (ft(A, Ie) || br(N, Ie)) && fe(we(ne.FALLBACK_TO_ROOT, {
2742
+ key: Ie,
2743
2743
  type: V
2744
2744
  })), process.env.NODE_ENV !== "production")) {
2745
- const { __v_emitter: _n } = p;
2746
- _n && D && _n.emit("fallback", {
2745
+ const { __v_emitter: fn } = p;
2746
+ fn && D && fn.emit("fallback", {
2747
2747
  type: V,
2748
- key: Le,
2748
+ key: Ie,
2749
2749
  to: "global",
2750
- groupId: `${V}:${Le}`
2750
+ groupId: `${V}:${Ie}`
2751
2751
  });
2752
2752
  }
2753
- return t && D ? K(t) : Ie(Le);
2753
+ return t && D ? K(t) : he(Ie);
2754
2754
  } else {
2755
2755
  if (ze(De))
2756
2756
  return De;
@@ -2758,128 +2758,128 @@ function on(e = {}) {
2758
2758
  }
2759
2759
  };
2760
2760
  function $e(..._) {
2761
- return de((T) => Reflect.apply(Fn, null, [T, ..._]), () => wt(..._), "translate", (T) => Reflect.apply(T.t, T, [..._]), (T) => T, (T) => L(T));
2761
+ return de((b) => Reflect.apply(Mn, null, [b, ..._]), () => Ut(..._), "translate", (b) => Reflect.apply(b.t, b, [..._]), (b) => b, (b) => L(b));
2762
2762
  }
2763
- function Tt(..._) {
2764
- const [T, V, K] = _;
2763
+ function Nt(..._) {
2764
+ const [b, V, K] = _;
2765
2765
  if (K && !M(K))
2766
2766
  throw z(G.INVALID_ARGUMENT);
2767
- return $e(T, V, J({ resolvedMessage: !0 }, K || {}));
2767
+ return $e(b, V, J({ resolvedMessage: !0 }, K || {}));
2768
2768
  }
2769
- function bt(..._) {
2770
- return de((T) => Reflect.apply(yn, null, [T, ..._]), () => Ft(..._), "datetime format", (T) => Reflect.apply(T.d, T, [..._]), () => st, (T) => L(T) || H(T));
2769
+ function Tt(..._) {
2770
+ return de((b) => Reflect.apply(Sn, null, [b, ..._]), () => Mt(..._), "datetime format", (b) => Reflect.apply(b.d, b, [..._]), () => st, (b) => L(b) || H(b));
2771
2771
  }
2772
- function ht(..._) {
2773
- return de((T) => Reflect.apply(Dn, null, [T, ..._]), () => Ut(..._), "number format", (T) => Reflect.apply(T.n, T, [..._]), () => st, (T) => L(T) || H(T));
2772
+ function bt(..._) {
2773
+ return de((b) => Reflect.apply(Pn, null, [b, ..._]), () => Ft(..._), "number format", (b) => Reflect.apply(b.n, b, [..._]), () => st, (b) => L(b) || H(b));
2774
2774
  }
2775
- function It(_) {
2776
- return _.map((T) => L(T) || j(T) || F(T) ? Un(String(T)) : T);
2775
+ function ht(_) {
2776
+ return _.map((b) => L(b) || j(b) || F(b) ? Fn(String(b)) : b);
2777
2777
  }
2778
- const Lt = {
2779
- normalize: It,
2778
+ const It = {
2779
+ normalize: ht,
2780
2780
  interpolate: (_) => _,
2781
2781
  type: "vnode"
2782
2782
  };
2783
2783
  function qe(..._) {
2784
- return de((T) => {
2784
+ return de((b) => {
2785
2785
  let V;
2786
- const K = T;
2786
+ const K = b;
2787
2787
  try {
2788
- K.processor = Lt, V = Reflect.apply(Fn, null, [K, ..._]);
2788
+ K.processor = It, V = Reflect.apply(Mn, null, [K, ..._]);
2789
2789
  } finally {
2790
2790
  K.processor = null;
2791
2791
  }
2792
2792
  return V;
2793
- }, () => wt(..._), "translate", (T) => T[$t](..._), (T) => [Un(T)], (T) => H(T));
2793
+ }, () => Ut(..._), "translate", (b) => b[Vt](..._), (b) => [Fn(b)], (b) => H(b));
2794
2794
  }
2795
- function Ot(..._) {
2796
- return de((T) => Reflect.apply(Dn, null, [T, ..._]), () => Ut(..._), "number format", (T) => T[Gt](..._), Vn, (T) => L(T) || H(T));
2795
+ function Lt(..._) {
2796
+ return de((b) => Reflect.apply(Pn, null, [b, ..._]), () => Ft(..._), "number format", (b) => b[Wt](..._), wn, (b) => L(b) || H(b));
2797
2797
  }
2798
2798
  function Ze(..._) {
2799
- return de((T) => Reflect.apply(yn, null, [T, ..._]), () => Ft(..._), "datetime format", (T) => T[Wt](..._), Vn, (T) => L(T) || H(T));
2799
+ return de((b) => Reflect.apply(Sn, null, [b, ..._]), () => Mt(..._), "datetime format", (b) => b[$t](..._), wn, (b) => L(b) || H(b));
2800
2800
  }
2801
- function vt(_) {
2801
+ function Ot(_) {
2802
2802
  v = _, p.pluralRules = v;
2803
2803
  }
2804
- function Ct(_, T) {
2804
+ function vt(_, b) {
2805
2805
  return de(() => {
2806
2806
  if (!_)
2807
2807
  return !1;
2808
- const V = L(T) ? T : i.value, K = he(V), Ie = p.messageResolver(K, _);
2809
- return se(Ie) || te(Ie) || L(Ie);
2810
- }, () => [_], "translate exists", (V) => Reflect.apply(V.te, V, [_, T]), so, (V) => F(V));
2808
+ const V = L(b) ? b : i.value, K = be(V), he = p.messageResolver(K, _);
2809
+ return se(he) || te(he) || L(he);
2810
+ }, () => [_], "translate exists", (V) => Reflect.apply(V.te, V, [_, b]), oo, (V) => F(V));
2811
2811
  }
2812
2812
  function We(_) {
2813
- let T = null;
2814
- const V = _r(p, u.value, i.value);
2813
+ let b = null;
2814
+ const V = dr(p, u.value, i.value);
2815
2815
  for (let K = 0; K < V.length; K++) {
2816
- const Ie = d.value[V[K]] || {}, ze = p.messageResolver(Ie, _);
2816
+ const he = m.value[V[K]] || {}, ze = p.messageResolver(he, _);
2817
2817
  if (ze != null) {
2818
- T = ze;
2818
+ b = ze;
2819
2819
  break;
2820
2820
  }
2821
2821
  }
2822
- return T;
2822
+ return b;
2823
2823
  }
2824
2824
  function Ge(_) {
2825
- const T = We(_);
2826
- return T ?? (t ? t.tm(_) || {} : {});
2825
+ const b = We(_);
2826
+ return b ?? (t ? t.tm(_) || {} : {});
2827
2827
  }
2828
- function he(_) {
2829
- return d.value[_] || {};
2828
+ function be(_) {
2829
+ return m.value[_] || {};
2830
2830
  }
2831
- function xe(_, T) {
2831
+ function xe(_, b) {
2832
2832
  if (s) {
2833
- const V = { [_]: T };
2833
+ const V = { [_]: b };
2834
2834
  for (const K in V)
2835
2835
  oe(V, K) && Je(V[K]);
2836
- T = V[_];
2836
+ b = V[_];
2837
2837
  }
2838
- d.value[_] = T, p.messages = d.value;
2838
+ m.value[_] = b, p.messages = m.value;
2839
2839
  }
2840
- function At(_, T) {
2841
- d.value[_] = d.value[_] || {};
2842
- const V = { [_]: T };
2840
+ function Ct(_, b) {
2841
+ m.value[_] = m.value[_] || {};
2842
+ const V = { [_]: b };
2843
2843
  if (s)
2844
2844
  for (const K in V)
2845
2845
  oe(V, K) && Je(V[K]);
2846
- T = V[_], rt(T, d.value[_]), p.messages = d.value;
2846
+ b = V[_], rt(b, m.value[_]), p.messages = m.value;
2847
2847
  }
2848
2848
  function l(_) {
2849
- return I.value[_] || {};
2849
+ return T.value[_] || {};
2850
2850
  }
2851
- function c(_, T) {
2852
- I.value[_] = T, p.datetimeFormats = I.value, Pn(p, _, T);
2851
+ function c(_, b) {
2852
+ T.value[_] = b, p.datetimeFormats = T.value, yn(p, _, b);
2853
2853
  }
2854
- function g(_, T) {
2855
- I.value[_] = J(I.value[_] || {}, T), p.datetimeFormats = I.value, Pn(p, _, T);
2854
+ function g(_, b) {
2855
+ T.value[_] = J(T.value[_] || {}, b), p.datetimeFormats = T.value, yn(p, _, b);
2856
2856
  }
2857
2857
  function y(_) {
2858
- return b.value[_] || {};
2858
+ return h.value[_] || {};
2859
2859
  }
2860
- function x(_, T) {
2861
- b.value[_] = T, p.numberFormats = b.value, kn(p, _, T);
2860
+ function x(_, b) {
2861
+ h.value[_] = b, p.numberFormats = h.value, Dn(p, _, b);
2862
2862
  }
2863
- function B(_, T) {
2864
- b.value[_] = J(b.value[_] || {}, T), p.numberFormats = b.value, kn(p, _, T);
2863
+ function B(_, b) {
2864
+ h.value[_] = J(h.value[_] || {}, b), p.numberFormats = h.value, Dn(p, _, b);
2865
2865
  }
2866
- $n++, t && le && (ge(t.locale, (_) => {
2867
- o && (i.value = _, p.locale = _, Ye(p, i.value, u.value));
2868
- }), ge(t.fallbackLocale, (_) => {
2869
- o && (u.value = _, p.fallbackLocale = _, Ye(p, i.value, u.value));
2866
+ Vn++, t && le && (Ye(t.locale, (_) => {
2867
+ o && (i.value = _, p.locale = _, He(p, i.value, u.value));
2868
+ }), Ye(t.fallbackLocale, (_) => {
2869
+ o && (u.value = _, p.fallbackLocale = _, He(p, i.value, u.value));
2870
2870
  }));
2871
2871
  const U = {
2872
- id: $n,
2872
+ id: Vn,
2873
2873
  locale: X,
2874
2874
  fallbackLocale: ae,
2875
2875
  get inheritLocale() {
2876
2876
  return o;
2877
2877
  },
2878
2878
  set inheritLocale(_) {
2879
- o = _, _ && t && (i.value = t.locale.value, u.value = t.fallbackLocale.value, Ye(p, i.value, u.value));
2879
+ o = _, _ && t && (i.value = t.locale.value, u.value = t.fallbackLocale.value, He(p, i.value, u.value));
2880
2880
  },
2881
2881
  get availableLocales() {
2882
- return Object.keys(d.value).sort();
2882
+ return Object.keys(m.value).sort();
2883
2883
  },
2884
2884
  messages: Y,
2885
2885
  get modifiers() {
@@ -2916,10 +2916,10 @@ function on(e = {}) {
2916
2916
  C = _, p.fallbackFormat = C;
2917
2917
  },
2918
2918
  get warnHtmlMessage() {
2919
- return h;
2919
+ return I;
2920
2920
  },
2921
2921
  set warnHtmlMessage(_) {
2922
- h = _, p.warnHtmlMessage = _;
2922
+ I = _, p.warnHtmlMessage = _;
2923
2923
  },
2924
2924
  get escapeParameter() {
2925
2925
  return E;
@@ -2928,75 +2928,75 @@ function on(e = {}) {
2928
2928
  E = _, p.escapeParameter = _;
2929
2929
  },
2930
2930
  t: $e,
2931
- getLocaleMessage: he,
2931
+ getLocaleMessage: be,
2932
2932
  setLocaleMessage: xe,
2933
- mergeLocaleMessage: At,
2934
- getPostTranslationHandler: dt,
2935
- setPostTranslationHandler: Et,
2936
- getMissingHandler: pt,
2937
- setMissingHandler: gt,
2938
- [Cr]: vt
2933
+ mergeLocaleMessage: Ct,
2934
+ getPostTranslationHandler: mt,
2935
+ setPostTranslationHandler: dt,
2936
+ getMissingHandler: Et,
2937
+ setMissingHandler: pt,
2938
+ [Sr]: Ot
2939
2939
  };
2940
- return U.datetimeFormats = Pe, U.numberFormats = mt, U.rt = Tt, U.te = Ct, U.tm = Ge, U.d = bt, U.n = ht, U.getDateTimeFormat = l, U.setDateTimeFormat = c, U.mergeDateTimeFormat = g, U.getNumberFormat = y, U.setNumberFormat = x, U.mergeNumberFormat = B, U[Ar] = n, U[$t] = qe, U[Wt] = Ze, U[Gt] = Ot, process.env.NODE_ENV !== "production" && (U[ye] = (_) => {
2940
+ return U.datetimeFormats = Pe, U.numberFormats = _t, U.rt = Nt, U.te = vt, U.tm = Ge, U.d = Tt, U.n = bt, U.getDateTimeFormat = l, U.setDateTimeFormat = c, U.mergeDateTimeFormat = g, U.getNumberFormat = y, U.setNumberFormat = x, U.mergeNumberFormat = B, U[yr] = n, U[Vt] = qe, U[$t] = Ze, U[Wt] = Lt, process.env.NODE_ENV !== "production" && (U[ye] = (_) => {
2941
2941
  p.__v_emitter = _;
2942
2942
  }, U[Xe] = () => {
2943
2943
  p.__v_emitter = void 0;
2944
2944
  }), U;
2945
2945
  }
2946
- const Pr = "vue-i18n: composer properties", kt = {
2946
+ const kr = "vue-i18n: composer properties", Dt = {
2947
2947
  "vue-devtools-plugin-vue-i18n": "Vue I18n DevTools",
2948
2948
  "vue-i18n-resource-inspector": "Vue I18n DevTools",
2949
2949
  "vue-i18n-timeline": "Vue I18n"
2950
- }, oo = {
2950
+ }, io = {
2951
2951
  "vue-i18n-resource-inspector": "Search for scopes ..."
2952
- }, lo = {
2952
+ }, co = {
2953
2953
  "vue-i18n-timeline": 16764185
2954
2954
  };
2955
- let Ht;
2956
- async function io(e, t) {
2955
+ let xt;
2956
+ async function uo(e, t) {
2957
2957
  return new Promise((n, r) => {
2958
2958
  try {
2959
- za({
2959
+ to({
2960
2960
  id: "vue-devtools-plugin-vue-i18n",
2961
- label: kt["vue-devtools-plugin-vue-i18n"],
2961
+ label: Dt["vue-devtools-plugin-vue-i18n"],
2962
2962
  packageName: "vue-i18n",
2963
2963
  homepage: "https://vue-i18n.intlify.dev",
2964
2964
  logo: "https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",
2965
- componentStateTypes: [Pr],
2965
+ componentStateTypes: [kr],
2966
2966
  app: e
2967
2967
  // eslint-disable-line @typescript-eslint/no-explicit-any
2968
2968
  }, (s) => {
2969
- Ht = s, s.on.visitComponentTree(({ componentInstance: o, treeNode: i }) => {
2970
- co(o, i, t);
2969
+ xt = s, s.on.visitComponentTree(({ componentInstance: o, treeNode: i }) => {
2970
+ fo(o, i, t);
2971
2971
  }), s.on.inspectComponent(({ componentInstance: o, instanceData: i }) => {
2972
- o.__VUE_I18N__ && i && (t.mode === "legacy" ? o.__VUE_I18N__ !== t.global.__composer && Gn(i, o.__VUE_I18N__) : Gn(i, o.__VUE_I18N__));
2972
+ o.__VUE_I18N__ && i && (t.mode === "legacy" ? o.__VUE_I18N__ !== t.global.__composer && Wn(i, o.__VUE_I18N__) : Wn(i, o.__VUE_I18N__));
2973
2973
  }), s.addInspector({
2974
2974
  id: "vue-i18n-resource-inspector",
2975
- label: kt["vue-i18n-resource-inspector"],
2975
+ label: Dt["vue-i18n-resource-inspector"],
2976
2976
  icon: "language",
2977
- treeFilterPlaceholder: oo["vue-i18n-resource-inspector"]
2977
+ treeFilterPlaceholder: io["vue-i18n-resource-inspector"]
2978
2978
  }), s.on.getInspectorTree((o) => {
2979
- o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && Eo(o, t);
2979
+ o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && go(o, t);
2980
2980
  });
2981
2981
  const a = /* @__PURE__ */ new Map();
2982
2982
  s.on.getInspectorState(async (o) => {
2983
2983
  if (o.app === e && o.inspectorId === "vue-i18n-resource-inspector")
2984
- if (s.unhighlightElement(), go(o, t), o.nodeId === "global") {
2984
+ if (s.unhighlightElement(), To(o, t), o.nodeId === "global") {
2985
2985
  if (!a.has(o.app)) {
2986
2986
  const [i] = await s.getComponentInstances(o.app);
2987
2987
  a.set(o.app, i);
2988
2988
  }
2989
2989
  s.highlightElement(a.get(o.app));
2990
2990
  } else {
2991
- const i = po(o.nodeId, t);
2991
+ const i = No(o.nodeId, t);
2992
2992
  i && s.highlightElement(i);
2993
2993
  }
2994
2994
  }), s.on.editInspectorState((o) => {
2995
- o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && To(o, t);
2995
+ o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && ho(o, t);
2996
2996
  }), s.addTimelineLayer({
2997
2997
  id: "vue-i18n-timeline",
2998
- label: kt["vue-i18n-timeline"],
2999
- color: lo["vue-i18n-timeline"]
2998
+ label: Dt["vue-i18n-timeline"],
2999
+ color: co["vue-i18n-timeline"]
3000
3000
  }), n(!0);
3001
3001
  });
3002
3002
  } catch (s) {
@@ -3004,22 +3004,22 @@ async function io(e, t) {
3004
3004
  }
3005
3005
  });
3006
3006
  }
3007
- function Dr(e) {
3007
+ function Rr(e) {
3008
3008
  return e.type.name || e.type.displayName || e.type.__file || "Anonymous";
3009
3009
  }
3010
- function co(e, t, n) {
3010
+ function fo(e, t, n) {
3011
3011
  const r = n.mode === "composition" ? n.global : n.global.__composer;
3012
3012
  if (e && e.__VUE_I18N__ && e.__VUE_I18N__ !== r) {
3013
3013
  const s = {
3014
- label: `i18n (${Dr(e)} Scope)`,
3014
+ label: `i18n (${Rr(e)} Scope)`,
3015
3015
  textColor: 0,
3016
3016
  backgroundColor: 16764185
3017
3017
  };
3018
3018
  t.tags.push(s);
3019
3019
  }
3020
3020
  }
3021
- function Gn(e, t) {
3022
- const n = Pr;
3021
+ function Wn(e, t) {
3022
+ const n = kr;
3023
3023
  e.state.push({
3024
3024
  type: n,
3025
3025
  key: "locale",
@@ -3044,7 +3044,7 @@ function Gn(e, t) {
3044
3044
  type: n,
3045
3045
  key: "messages",
3046
3046
  editable: !1,
3047
- value: ln(t.messages.value)
3047
+ value: on(t.messages.value)
3048
3048
  }), e.state.push({
3049
3049
  type: n,
3050
3050
  key: "datetimeFormats",
@@ -3057,34 +3057,34 @@ function Gn(e, t) {
3057
3057
  value: t.numberFormats.value
3058
3058
  });
3059
3059
  }
3060
- function ln(e) {
3060
+ function on(e) {
3061
3061
  const t = {};
3062
3062
  return Object.keys(e).forEach((n) => {
3063
3063
  const r = e[n];
3064
- W(r) && "source" in r ? t[n] = mo(r) : se(r) && r.loc && r.loc.source ? t[n] = r.loc.source : M(r) ? t[n] = ln(r) : t[n] = r;
3064
+ W(r) && "source" in r ? t[n] = po(r) : se(r) && r.loc && r.loc.source ? t[n] = r.loc.source : M(r) ? t[n] = on(r) : t[n] = r;
3065
3065
  }), t;
3066
3066
  }
3067
- const uo = {
3067
+ const _o = {
3068
3068
  "<": "&lt;",
3069
3069
  ">": "&gt;",
3070
3070
  '"': "&quot;",
3071
3071
  "&": "&amp;"
3072
3072
  };
3073
- function fo(e) {
3074
- return e.replace(/[<>"&]/g, _o);
3073
+ function mo(e) {
3074
+ return e.replace(/[<>"&]/g, Eo);
3075
3075
  }
3076
- function _o(e) {
3077
- return uo[e] || e;
3076
+ function Eo(e) {
3077
+ return _o[e] || e;
3078
3078
  }
3079
- function mo(e) {
3079
+ function po(e) {
3080
3080
  return {
3081
3081
  _custom: {
3082
3082
  type: "function",
3083
- display: `<span>ƒ</span> ${e.source ? `("${fo(e.source)}")` : "(?)"}`
3083
+ display: `<span>ƒ</span> ${e.source ? `("${mo(e.source)}")` : "(?)"}`
3084
3084
  }
3085
3085
  };
3086
3086
  }
3087
- function Eo(e, t) {
3087
+ function go(e, t) {
3088
3088
  e.rootNodes.push({
3089
3089
  id: "global",
3090
3090
  label: "Global Scope"
@@ -3094,11 +3094,11 @@ function Eo(e, t) {
3094
3094
  const a = t.mode === "composition" ? s : s.__composer;
3095
3095
  n !== a && e.rootNodes.push({
3096
3096
  id: a.id.toString(),
3097
- label: `${Dr(r)} Scope`
3097
+ label: `${Rr(r)} Scope`
3098
3098
  });
3099
3099
  }
3100
3100
  }
3101
- function po(e, t) {
3101
+ function No(e, t) {
3102
3102
  let n = null;
3103
3103
  if (e !== "global") {
3104
3104
  for (const [r, s] of t.__instances.entries())
@@ -3109,7 +3109,7 @@ function po(e, t) {
3109
3109
  }
3110
3110
  return n;
3111
3111
  }
3112
- function kr(e, t) {
3112
+ function Mr(e, t) {
3113
3113
  if (e === "global")
3114
3114
  return t.mode === "composition" ? t.global : t.global.__composer;
3115
3115
  {
@@ -3117,11 +3117,11 @@ function kr(e, t) {
3117
3117
  return n ? t.mode === "composition" ? n : n.__composer : null;
3118
3118
  }
3119
3119
  }
3120
- function go(e, t) {
3121
- const n = kr(e.nodeId, t);
3122
- return n && (e.state = No(n)), null;
3120
+ function To(e, t) {
3121
+ const n = Mr(e.nodeId, t);
3122
+ return n && (e.state = bo(n)), null;
3123
3123
  }
3124
- function No(e) {
3124
+ function bo(e) {
3125
3125
  const t = {}, n = "Locale related info", r = [
3126
3126
  {
3127
3127
  type: n,
@@ -3154,7 +3154,7 @@ function No(e) {
3154
3154
  type: s,
3155
3155
  key: "messages",
3156
3156
  editable: !1,
3157
- value: ln(e.messages.value)
3157
+ value: on(e.messages.value)
3158
3158
  }
3159
3159
  ];
3160
3160
  t[s] = a;
@@ -3168,7 +3168,7 @@ function No(e) {
3168
3168
  }
3169
3169
  ];
3170
3170
  t[o] = i;
3171
- const u = "Datetime formats info", d = [
3171
+ const u = "Datetime formats info", m = [
3172
3172
  {
3173
3173
  type: u,
3174
3174
  key: "numberFormats",
@@ -3176,14 +3176,14 @@ function No(e) {
3176
3176
  value: e.numberFormats.value
3177
3177
  }
3178
3178
  ];
3179
- t[u] = d;
3179
+ t[u] = m;
3180
3180
  }
3181
3181
  return t;
3182
3182
  }
3183
3183
  function Qe(e, t) {
3184
- if (Ht) {
3184
+ if (xt) {
3185
3185
  let n;
3186
- t && "groupId" in t && (n = t.groupId, delete t.groupId), Ht.addTimelineEvent({
3186
+ t && "groupId" in t && (n = t.groupId, delete t.groupId), xt.addTimelineEvent({
3187
3187
  layerId: "vue-i18n-timeline",
3188
3188
  event: {
3189
3189
  title: e,
@@ -3196,15 +3196,15 @@ function Qe(e, t) {
3196
3196
  });
3197
3197
  }
3198
3198
  }
3199
- function To(e, t) {
3200
- const n = kr(e.nodeId, t);
3199
+ function ho(e, t) {
3200
+ const n = Mr(e.nodeId, t);
3201
3201
  if (n) {
3202
3202
  const [r] = e.path;
3203
3203
  r === "locale" && L(e.state.value) ? n.locale.value = e.state.value : r === "fallbackLocale" && (L(e.state.value) || H(e.state.value) || M(e.state.value)) ? n.fallbackLocale.value = e.state.value : r === "inheritLocale" && F(e.state.value) && (n.inheritLocale = e.state.value);
3204
3204
  }
3205
3205
  }
3206
- function bo(e) {
3207
- const t = L(e.locale) ? e.locale : je, n = L(e.fallbackLocale) || H(e.fallbackLocale) || R(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, r = W(e.missing) ? e.missing : void 0, s = F(e.silentTranslationWarn) || Fe(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, a = F(e.silentFallbackWarn) || Fe(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, o = F(e.fallbackRoot) ? e.fallbackRoot : !0, i = !!e.formatFallbackMessages, u = R(e.modifiers) ? e.modifiers : {}, d = e.pluralizationRules, I = W(e.postTranslation) ? e.postTranslation : void 0, b = L(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, N = !!e.escapeParameterHtml, A = F(e.sync) ? e.sync : !0;
3206
+ function Io(e) {
3207
+ const t = L(e.locale) ? e.locale : je, n = L(e.fallbackLocale) || H(e.fallbackLocale) || R(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, r = W(e.missing) ? e.missing : void 0, s = F(e.silentTranslationWarn) || Fe(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, a = F(e.silentFallbackWarn) || Fe(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, o = F(e.fallbackRoot) ? e.fallbackRoot : !0, i = !!e.formatFallbackMessages, u = R(e.modifiers) ? e.modifiers : {}, m = e.pluralizationRules, T = W(e.postTranslation) ? e.postTranslation : void 0, h = L(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, N = !!e.escapeParameterHtml, A = F(e.sync) ? e.sync : !0;
3208
3208
  let D = e.messages;
3209
3209
  if (R(e.sharedMessages)) {
3210
3210
  const O = e.sharedMessages;
@@ -3213,23 +3213,23 @@ function bo(e) {
3213
3213
  return J(w, O[k]), p;
3214
3214
  }, D || {});
3215
3215
  }
3216
- const { __i18n: C, __root: S, __injectWithOption: f } = e, m = e.datetimeFormats, h = e.numberFormats, E = e.flatJson;
3216
+ const { __i18n: C, __root: S, __injectWithOption: f } = e, d = e.datetimeFormats, I = e.numberFormats, E = e.flatJson;
3217
3217
  return {
3218
3218
  locale: t,
3219
3219
  fallbackLocale: n,
3220
3220
  messages: D,
3221
3221
  flatJson: E,
3222
- datetimeFormats: m,
3223
- numberFormats: h,
3222
+ datetimeFormats: d,
3223
+ numberFormats: I,
3224
3224
  missing: r,
3225
3225
  missingWarn: s,
3226
3226
  fallbackWarn: a,
3227
3227
  fallbackRoot: o,
3228
3228
  fallbackFormat: i,
3229
3229
  modifiers: u,
3230
- pluralRules: d,
3231
- postTranslation: I,
3232
- warnHtmlMessage: b,
3230
+ pluralRules: m,
3231
+ postTranslation: T,
3232
+ warnHtmlMessage: h,
3233
3233
  escapeParameter: N,
3234
3234
  messageResolver: e.messageResolver,
3235
3235
  inheritLocale: A,
@@ -3238,8 +3238,8 @@ function bo(e) {
3238
3238
  __injectWithOption: f
3239
3239
  };
3240
3240
  }
3241
- function Yt(e = {}) {
3242
- const t = on(bo(e)), { __extender: n } = e, r = {
3241
+ function Ht(e = {}) {
3242
+ const t = an(Io(e)), { __extender: n } = e, r = {
3243
3243
  // id
3244
3244
  id: t.id,
3245
3245
  // locale
@@ -3407,7 +3407,7 @@ function Yt(e = {}) {
3407
3407
  s[Xe] && s[Xe]();
3408
3408
  }), r;
3409
3409
  }
3410
- function ho(e, t, n) {
3410
+ function Lo(e, t, n) {
3411
3411
  return {
3412
3412
  beforeCreate() {
3413
3413
  const r = Me();
@@ -3417,17 +3417,17 @@ function ho(e, t, n) {
3417
3417
  if (s.i18n) {
3418
3418
  const a = s.i18n;
3419
3419
  if (s.__i18n && (a.__i18n = s.__i18n), a.__root = t, this === this.$root)
3420
- this.$i18n = xn(e, a);
3420
+ this.$i18n = Gn(e, a);
3421
3421
  else {
3422
- a.__injectWithOption = !0, a.__extender = n.__vueI18nExtend, this.$i18n = Yt(a);
3422
+ a.__injectWithOption = !0, a.__extender = n.__vueI18nExtend, this.$i18n = Ht(a);
3423
3423
  const o = this.$i18n;
3424
3424
  o.__extender && (o.__disposer = o.__extender(this.$i18n));
3425
3425
  }
3426
3426
  } else if (s.__i18n)
3427
3427
  if (this === this.$root)
3428
- this.$i18n = xn(e, s);
3428
+ this.$i18n = Gn(e, s);
3429
3429
  else {
3430
- this.$i18n = Yt({
3430
+ this.$i18n = Ht({
3431
3431
  __i18n: s.__i18n,
3432
3432
  __injectWithOption: !0,
3433
3433
  __extender: n.__vueI18nExtend,
@@ -3438,7 +3438,7 @@ function ho(e, t, n) {
3438
3438
  }
3439
3439
  else
3440
3440
  this.$i18n = e;
3441
- s.__i18nGlobal && yr(t, s, s), this.$t = (...a) => this.$i18n.t(...a), this.$rt = (...a) => this.$i18n.rt(...a), this.$te = (a, o) => this.$i18n.te(a, o), this.$d = (...a) => this.$i18n.d(...a), this.$n = (...a) => this.$i18n.n(...a), this.$tm = (a) => this.$i18n.tm(a), n.__setInstance(r, this.$i18n);
3441
+ s.__i18nGlobal && Dr(t, s, s), this.$t = (...a) => this.$i18n.t(...a), this.$rt = (...a) => this.$i18n.rt(...a), this.$te = (a, o) => this.$i18n.te(a, o), this.$d = (...a) => this.$i18n.d(...a), this.$n = (...a) => this.$i18n.n(...a), this.$tm = (a) => this.$i18n.tm(a), n.__setInstance(r, this.$i18n);
3442
3442
  },
3443
3443
  mounted() {
3444
3444
  if (process.env.NODE_ENV !== "production" && this.$i18n) {
@@ -3447,7 +3447,7 @@ function ho(e, t, n) {
3447
3447
  return;
3448
3448
  const s = this.$i18n;
3449
3449
  r.__VUE_I18N__ = s.__composer;
3450
- const a = this.__v_emitter = en();
3450
+ const a = this.__v_emitter = zt();
3451
3451
  s.__enableEmitter && s.__enableEmitter(a), a.on("*", Qe);
3452
3452
  }
3453
3453
  },
@@ -3460,15 +3460,15 @@ function ho(e, t, n) {
3460
3460
  }
3461
3461
  };
3462
3462
  }
3463
- function xn(e, t) {
3464
- e.locale = t.locale || e.locale, e.fallbackLocale = t.fallbackLocale || e.fallbackLocale, e.missing = t.missing || e.missing, e.silentTranslationWarn = t.silentTranslationWarn || e.silentFallbackWarn, e.silentFallbackWarn = t.silentFallbackWarn || e.silentFallbackWarn, e.formatFallbackMessages = t.formatFallbackMessages || e.formatFallbackMessages, e.postTranslation = t.postTranslation || e.postTranslation, e.warnHtmlInMessage = t.warnHtmlInMessage || e.warnHtmlInMessage, e.escapeParameterHtml = t.escapeParameterHtml || e.escapeParameterHtml, e.sync = t.sync || e.sync, e.__composer[Cr](t.pluralizationRules || e.pluralizationRules);
3465
- const n = an(e.locale, {
3463
+ function Gn(e, t) {
3464
+ e.locale = t.locale || e.locale, e.fallbackLocale = t.fallbackLocale || e.fallbackLocale, e.missing = t.missing || e.missing, e.silentTranslationWarn = t.silentTranslationWarn || e.silentFallbackWarn, e.silentFallbackWarn = t.silentFallbackWarn || e.silentFallbackWarn, e.formatFallbackMessages = t.formatFallbackMessages || e.formatFallbackMessages, e.postTranslation = t.postTranslation || e.postTranslation, e.warnHtmlInMessage = t.warnHtmlInMessage || e.warnHtmlInMessage, e.escapeParameterHtml = t.escapeParameterHtml || e.escapeParameterHtml, e.sync = t.sync || e.sync, e.__composer[Sr](t.pluralizationRules || e.pluralizationRules);
3465
+ const n = sn(e.locale, {
3466
3466
  messages: t.messages,
3467
3467
  __i18n: t.__i18n
3468
3468
  });
3469
3469
  return Object.keys(n).forEach((r) => e.mergeLocaleMessage(r, n[r])), t.datetimeFormats && Object.keys(t.datetimeFormats).forEach((r) => e.mergeDateTimeFormat(r, t.datetimeFormats[r])), t.numberFormats && Object.keys(t.numberFormats).forEach((r) => e.mergeNumberFormat(r, t.numberFormats[r])), e;
3470
3470
  }
3471
- const cn = {
3471
+ const ln = {
3472
3472
  tag: {
3473
3473
  type: [String, Object]
3474
3474
  },
@@ -3486,20 +3486,20 @@ const cn = {
3486
3486
  type: Object
3487
3487
  }
3488
3488
  };
3489
- function Io({ slots: e }, t) {
3489
+ function Oo({ slots: e }, t) {
3490
3490
  return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((r, s) => [
3491
3491
  ...r,
3492
3492
  // prettier-ignore
3493
- ...s.type === ot ? s.children : [s]
3493
+ ...s.type === at ? s.children : [s]
3494
3494
  ], []) : t.reduce((n, r) => {
3495
3495
  const s = e[r];
3496
3496
  return s && (n[r] = s()), n;
3497
3497
  }, $());
3498
3498
  }
3499
- function Rr() {
3500
- return ot;
3499
+ function Fr() {
3500
+ return at;
3501
3501
  }
3502
- const Lo = /* @__PURE__ */ _e({
3502
+ const vo = /* @__PURE__ */ _e({
3503
3503
  /* eslint-disable */
3504
3504
  name: "i18n-t",
3505
3505
  props: J({
@@ -3511,42 +3511,42 @@ const Lo = /* @__PURE__ */ _e({
3511
3511
  type: [Number, String],
3512
3512
  validator: (e) => j(e) || !isNaN(e)
3513
3513
  }
3514
- }, cn),
3514
+ }, ln),
3515
3515
  /* eslint-enable */
3516
3516
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3517
3517
  setup(e, t) {
3518
- const { slots: n, attrs: r } = t, s = e.i18n || un({
3518
+ const { slots: n, attrs: r } = t, s = e.i18n || cn({
3519
3519
  useScope: e.scope,
3520
3520
  __useComponent: !0
3521
3521
  });
3522
3522
  return () => {
3523
- const a = Object.keys(n).filter((b) => b[0] !== "_"), o = $();
3523
+ const a = Object.keys(n).filter((h) => h[0] !== "_"), o = $();
3524
3524
  e.locale && (o.locale = e.locale), e.plural !== void 0 && (o.plural = L(e.plural) ? +e.plural : e.plural);
3525
- const i = Io(t, a), u = s[$t](e.keypath, i, o), d = J($(), r), I = L(e.tag) || M(e.tag) ? e.tag : Rr();
3526
- return zn(I, d, u);
3525
+ const i = Oo(t, a), u = s[Vt](e.keypath, i, o), m = J($(), r), T = L(e.tag) || M(e.tag) ? e.tag : Fr();
3526
+ return tr(T, m, u);
3527
3527
  };
3528
3528
  }
3529
- }), Hn = Lo;
3530
- function Oo(e) {
3529
+ }), xn = vo;
3530
+ function Co(e) {
3531
3531
  return H(e) && !L(e[0]);
3532
3532
  }
3533
- function Mr(e, t, n, r) {
3533
+ function Ur(e, t, n, r) {
3534
3534
  const { slots: s, attrs: a } = t;
3535
3535
  return () => {
3536
3536
  const o = { part: !0 };
3537
3537
  let i = $();
3538
3538
  e.locale && (o.locale = e.locale), L(e.format) ? o.key = e.format : M(e.format) && (L(e.format.key) && (o.key = e.format.key), i = Object.keys(e.format).reduce((N, A) => n.includes(A) ? J($(), N, { [A]: e.format[A] }) : N, $()));
3539
3539
  const u = r(e.value, o, i);
3540
- let d = [o.key];
3541
- H(u) ? d = u.map((N, A) => {
3540
+ let m = [o.key];
3541
+ H(u) ? m = u.map((N, A) => {
3542
3542
  const D = s[N.type], C = D ? D({ [N.type]: N.value, index: A, parts: u }) : [N.value];
3543
- return Oo(C) && (C[0].key = `${N.type}-${A}`), C;
3544
- }) : L(u) && (d = [u]);
3545
- const I = J($(), a), b = L(e.tag) || M(e.tag) ? e.tag : Rr();
3546
- return zn(b, I, d);
3543
+ return Co(C) && (C[0].key = `${N.type}-${A}`), C;
3544
+ }) : L(u) && (m = [u]);
3545
+ const T = J($(), a), h = L(e.tag) || M(e.tag) ? e.tag : Fr();
3546
+ return tr(h, T, m);
3547
3547
  };
3548
3548
  }
3549
- const vo = /* @__PURE__ */ _e({
3549
+ const Ao = /* @__PURE__ */ _e({
3550
3550
  /* eslint-disable */
3551
3551
  name: "i18n-n",
3552
3552
  props: J({
@@ -3557,21 +3557,21 @@ const vo = /* @__PURE__ */ _e({
3557
3557
  format: {
3558
3558
  type: [String, Object]
3559
3559
  }
3560
- }, cn),
3560
+ }, ln),
3561
3561
  /* eslint-enable */
3562
3562
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3563
3563
  setup(e, t) {
3564
- const n = e.i18n || un({
3564
+ const n = e.i18n || cn({
3565
3565
  useScope: e.scope,
3566
3566
  __useComponent: !0
3567
3567
  });
3568
- return Mr(e, t, Ir, (...r) => (
3568
+ return Ur(e, t, Or, (...r) => (
3569
3569
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3570
- n[Gt](...r)
3570
+ n[Wt](...r)
3571
3571
  ));
3572
3572
  }
3573
- }), Yn = vo;
3574
- function Co(e, t) {
3573
+ }), Hn = Ao;
3574
+ function So(e, t) {
3575
3575
  const n = e;
3576
3576
  if (e.mode === "composition")
3577
3577
  return n.__getInstance(t) || e.global;
@@ -3580,33 +3580,33 @@ function Co(e, t) {
3580
3580
  return r != null ? r.__composer : e.global.__composer;
3581
3581
  }
3582
3582
  }
3583
- function Ao(e) {
3583
+ function yo(e) {
3584
3584
  const t = (o) => {
3585
- process.env.NODE_ENV !== "production" && qt(we(ne.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
3585
+ process.env.NODE_ENV !== "production" && Qt(we(ne.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
3586
3586
  const { instance: i, value: u } = o;
3587
3587
  if (!i || !i.$)
3588
3588
  throw z(G.UNEXPECTED_ERROR);
3589
- const d = Co(e, i.$), I = Bn(u);
3589
+ const m = So(e, i.$), T = Yn(u);
3590
3590
  return [
3591
- Reflect.apply(d.t, d, [...Kn(I)]),
3592
- d
3591
+ Reflect.apply(m.t, m, [...Bn(T)]),
3592
+ m
3593
3593
  ];
3594
3594
  };
3595
3595
  return {
3596
3596
  created: (o, i) => {
3597
- const [u, d] = t(i);
3598
- le && e.global === d && (o.__i18nWatcher = ge(d.locale, () => {
3597
+ const [u, m] = t(i);
3598
+ le && e.global === m && (o.__i18nWatcher = Ye(m.locale, () => {
3599
3599
  i.instance && i.instance.$forceUpdate();
3600
- })), o.__composer = d, o.textContent = u;
3600
+ })), o.__composer = m, o.textContent = u;
3601
3601
  },
3602
3602
  unmounted: (o) => {
3603
3603
  le && o.__i18nWatcher && (o.__i18nWatcher(), o.__i18nWatcher = void 0, delete o.__i18nWatcher), o.__composer && (o.__composer = void 0, delete o.__composer);
3604
3604
  },
3605
3605
  beforeUpdate: (o, { value: i }) => {
3606
3606
  if (o.__composer) {
3607
- const u = o.__composer, d = Bn(i);
3607
+ const u = o.__composer, m = Yn(i);
3608
3608
  o.textContent = Reflect.apply(u.t, u, [
3609
- ...Kn(d)
3609
+ ...Bn(m)
3610
3610
  ]);
3611
3611
  }
3612
3612
  },
@@ -3616,7 +3616,7 @@ function Ao(e) {
3616
3616
  }
3617
3617
  };
3618
3618
  }
3619
- function Bn(e) {
3619
+ function Yn(e) {
3620
3620
  if (L(e))
3621
3621
  return { path: e };
3622
3622
  if (R(e)) {
@@ -3626,48 +3626,48 @@ function Bn(e) {
3626
3626
  } else
3627
3627
  throw z(G.INVALID_VALUE);
3628
3628
  }
3629
- function Kn(e) {
3629
+ function Bn(e) {
3630
3630
  const { path: t, locale: n, args: r, choice: s, plural: a } = e, o = {}, i = r || {};
3631
3631
  return L(n) && (o.locale = n), j(s) && (o.plural = s), j(a) && (o.plural = a), [t, i, o];
3632
3632
  }
3633
- function So(e, t, ...n) {
3633
+ function Po(e, t, ...n) {
3634
3634
  const r = R(n[0]) ? n[0] : {};
3635
- (!F(r.globalInstall) || r.globalInstall) && ([Hn.name, "I18nT"].forEach((a) => e.component(a, Hn)), [Yn.name, "I18nN"].forEach((a) => e.component(a, Yn)), [Xn.name, "I18nD"].forEach((a) => e.component(a, Xn))), e.directive("t", Ao(t));
3635
+ (!F(r.globalInstall) || r.globalInstall) && ([xn.name, "I18nT"].forEach((a) => e.component(a, xn)), [Hn.name, "I18nN"].forEach((a) => e.component(a, Hn)), [jn.name, "I18nD"].forEach((a) => e.component(a, jn))), e.directive("t", yo(t));
3636
3636
  }
3637
- const yo = /* @__PURE__ */ me("global-vue-i18n");
3638
- function Po(e = {}) {
3637
+ const Do = /* @__PURE__ */ me("global-vue-i18n");
3638
+ function ko(e = {}) {
3639
3639
  const t = __VUE_I18N_LEGACY_API__ && F(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__;
3640
- process.env.NODE_ENV !== "production" && t && qt(we(ne.DEPRECATE_LEGACY_MODE));
3641
- const n = F(e.globalInjection) ? e.globalInjection : !0, r = /* @__PURE__ */ new Map(), [s, a] = Do(e, t), o = /* @__PURE__ */ me(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
3642
- function i(b) {
3643
- return r.get(b) || null;
3640
+ process.env.NODE_ENV !== "production" && t && Qt(we(ne.DEPRECATE_LEGACY_MODE));
3641
+ const n = F(e.globalInjection) ? e.globalInjection : !0, r = /* @__PURE__ */ new Map(), [s, a] = Ro(e, t), o = /* @__PURE__ */ me(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
3642
+ function i(h) {
3643
+ return r.get(h) || null;
3644
3644
  }
3645
- function u(b, N) {
3646
- r.set(b, N);
3645
+ function u(h, N) {
3646
+ r.set(h, N);
3647
3647
  }
3648
- function d(b) {
3649
- r.delete(b);
3648
+ function m(h) {
3649
+ r.delete(h);
3650
3650
  }
3651
- const I = {
3651
+ const T = {
3652
3652
  // mode
3653
3653
  get mode() {
3654
3654
  return __VUE_I18N_LEGACY_API__ && t ? "legacy" : "composition";
3655
3655
  },
3656
3656
  // install plugin
3657
- async install(b, ...N) {
3658
- if (process.env.NODE_ENV !== "production" && (b.__VUE_I18N__ = I), b.__VUE_I18N_SYMBOL__ = o, b.provide(b.__VUE_I18N_SYMBOL__, I), R(N[0])) {
3657
+ async install(h, ...N) {
3658
+ if (process.env.NODE_ENV !== "production" && (h.__VUE_I18N__ = T), h.__VUE_I18N_SYMBOL__ = o, h.provide(h.__VUE_I18N_SYMBOL__, T), R(N[0])) {
3659
3659
  const C = N[0];
3660
- I.__composerExtend = C.__composerExtend, I.__vueI18nExtend = C.__vueI18nExtend;
3660
+ T.__composerExtend = C.__composerExtend, T.__vueI18nExtend = C.__vueI18nExtend;
3661
3661
  }
3662
3662
  let A = null;
3663
- !t && n && (A = $o(b, I.global)), __VUE_I18N_FULL_INSTALL__ && So(b, I, ...N), __VUE_I18N_LEGACY_API__ && t && b.mixin(ho(a, a.__composer, I));
3664
- const D = b.unmount;
3665
- if (b.unmount = () => {
3666
- A && A(), I.dispose(), D();
3663
+ !t && n && (A = Go(h, T.global)), __VUE_I18N_FULL_INSTALL__ && Po(h, T, ...N), __VUE_I18N_LEGACY_API__ && t && h.mixin(Lo(a, a.__composer, T));
3664
+ const D = h.unmount;
3665
+ if (h.unmount = () => {
3666
+ A && A(), T.dispose(), D();
3667
3667
  }, process.env.NODE_ENV !== "production") {
3668
- if (!await io(b, I))
3668
+ if (!await uo(h, T))
3669
3669
  throw z(G.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
3670
- const S = en();
3670
+ const S = zt();
3671
3671
  if (t) {
3672
3672
  const f = a;
3673
3673
  f.__enableEmitter && f.__enableEmitter(S);
@@ -3692,61 +3692,61 @@ function Po(e = {}) {
3692
3692
  // @internal
3693
3693
  __setInstance: u,
3694
3694
  // @internal
3695
- __deleteInstance: d
3695
+ __deleteInstance: m
3696
3696
  };
3697
- return I;
3697
+ return T;
3698
3698
  }
3699
- function un(e = {}) {
3699
+ function cn(e = {}) {
3700
3700
  const t = Me();
3701
3701
  if (t == null)
3702
3702
  throw z(G.MUST_BE_CALL_SETUP_TOP);
3703
3703
  if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
3704
3704
  throw z(G.NOT_INSTALLED);
3705
- const n = ko(t), r = Mo(n), s = Sr(t), a = Ro(e, s);
3705
+ const n = Mo(t), r = Uo(n), s = Pr(t), a = Fo(e, s);
3706
3706
  if (a === "global")
3707
- return yr(r, e, s), r;
3707
+ return Dr(r, e, s), r;
3708
3708
  if (a === "parent") {
3709
- let u = Fo(n, t, e.__useComponent);
3709
+ let u = wo(n, t, e.__useComponent);
3710
3710
  return u == null && (process.env.NODE_ENV !== "production" && fe(we(ne.NOT_FOUND_PARENT_SCOPE)), u = r), u;
3711
3711
  }
3712
3712
  const o = n;
3713
3713
  let i = o.__getInstance(t);
3714
3714
  if (i == null) {
3715
3715
  const u = J({}, e);
3716
- "__i18n" in s && (u.__i18n = s.__i18n), r && (u.__root = r), i = on(u), o.__composerExtend && (i[xt] = o.__composerExtend(i)), wo(o, t, i), o.__setInstance(t, i);
3716
+ "__i18n" in s && (u.__i18n = s.__i18n), r && (u.__root = r), i = an(u), o.__composerExtend && (i[Gt] = o.__composerExtend(i)), $o(o, t, i), o.__setInstance(t, i);
3717
3717
  } else
3718
3718
  process.env.NODE_ENV !== "production" && a === "local" && fe(we(ne.DUPLICATE_USE_I18N_CALLING));
3719
3719
  return i;
3720
3720
  }
3721
- function Do(e, t) {
3722
- const n = wr(), r = __VUE_I18N_LEGACY_API__ && t ? n.run(() => Yt(e)) : n.run(() => on(e));
3721
+ function Ro(e, t) {
3722
+ const n = $r(), r = __VUE_I18N_LEGACY_API__ && t ? n.run(() => Ht(e)) : n.run(() => an(e));
3723
3723
  if (r == null)
3724
3724
  throw z(G.UNEXPECTED_ERROR);
3725
3725
  return [n, r];
3726
3726
  }
3727
- function ko(e) {
3728
- const t = Bt(e.isCE ? yo : e.appContext.app.__VUE_I18N_SYMBOL__);
3727
+ function Mo(e) {
3728
+ const t = Yt(e.isCE ? Do : e.appContext.app.__VUE_I18N_SYMBOL__);
3729
3729
  if (!t)
3730
3730
  throw z(e.isCE ? G.NOT_INSTALLED_WITH_PROVIDE : G.UNEXPECTED_ERROR);
3731
3731
  return t;
3732
3732
  }
3733
- function Ro(e, t) {
3734
- return ut(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
3733
+ function Fo(e, t) {
3734
+ return ct(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
3735
3735
  }
3736
- function Mo(e) {
3736
+ function Uo(e) {
3737
3737
  return e.mode === "composition" ? e.global : e.global.__composer;
3738
3738
  }
3739
- function Fo(e, t, n = !1) {
3739
+ function wo(e, t, n = !1) {
3740
3740
  let r = null;
3741
3741
  const s = t.root;
3742
- let a = Uo(t, n);
3742
+ let a = Vo(t, n);
3743
3743
  for (; a != null; ) {
3744
3744
  const o = e;
3745
3745
  if (e.mode === "composition")
3746
3746
  r = o.__getInstance(a);
3747
3747
  else if (__VUE_I18N_LEGACY_API__) {
3748
3748
  const i = o.__getInstance(a);
3749
- i != null && (r = i.__composer, n && r && !r[Ar] && (r = null));
3749
+ i != null && (r = i.__composer, n && r && !r[yr] && (r = null));
3750
3750
  }
3751
3751
  if (r != null || s === a)
3752
3752
  break;
@@ -3754,36 +3754,36 @@ function Fo(e, t, n = !1) {
3754
3754
  }
3755
3755
  return r;
3756
3756
  }
3757
- function Uo(e, t = !1) {
3757
+ function Vo(e, t = !1) {
3758
3758
  return e == null ? null : t && e.vnode.ctx || e.parent;
3759
3759
  }
3760
- function wo(e, t, n) {
3760
+ function $o(e, t, n) {
3761
3761
  let r = null;
3762
- Wr(() => {
3762
+ xr(() => {
3763
3763
  if (process.env.NODE_ENV !== "production") {
3764
- t.__VUE_I18N__ = n, r = en();
3764
+ t.__VUE_I18N__ = n, r = zt();
3765
3765
  const s = n;
3766
3766
  s[ye] && s[ye](r), r.on("*", Qe);
3767
3767
  }
3768
- }, t), Gr(() => {
3768
+ }, t), Hr(() => {
3769
3769
  const s = n;
3770
3770
  process.env.NODE_ENV !== "production" && (r && r.off("*", Qe), s[Xe] && s[Xe](), delete t.__VUE_I18N__), e.__deleteInstance(t);
3771
- const a = s[xt];
3772
- a && (a(), delete s[xt]);
3771
+ const a = s[Gt];
3772
+ a && (a(), delete s[Gt]);
3773
3773
  }, t);
3774
3774
  }
3775
- const Vo = [
3775
+ const Wo = [
3776
3776
  "locale",
3777
3777
  "fallbackLocale",
3778
3778
  "availableLocales"
3779
- ], jn = ["t", "rt", "d", "n", "tm", "te"];
3780
- function $o(e, t) {
3779
+ ], Kn = ["t", "rt", "d", "n", "tm", "te"];
3780
+ function Go(e, t) {
3781
3781
  const n = /* @__PURE__ */ Object.create(null);
3782
- return Vo.forEach((s) => {
3782
+ return Wo.forEach((s) => {
3783
3783
  const a = Object.getOwnPropertyDescriptor(t, s);
3784
3784
  if (!a)
3785
3785
  throw z(G.UNEXPECTED_ERROR);
3786
- const o = Vr(a.value) ? {
3786
+ const o = Wr(a.value) ? {
3787
3787
  get() {
3788
3788
  return a.value.value;
3789
3789
  },
@@ -3797,18 +3797,18 @@ function $o(e, t) {
3797
3797
  }
3798
3798
  };
3799
3799
  Object.defineProperty(n, s, o);
3800
- }), e.config.globalProperties.$i18n = n, jn.forEach((s) => {
3800
+ }), e.config.globalProperties.$i18n = n, Kn.forEach((s) => {
3801
3801
  const a = Object.getOwnPropertyDescriptor(t, s);
3802
3802
  if (!a || !a.value)
3803
3803
  throw z(G.UNEXPECTED_ERROR);
3804
3804
  Object.defineProperty(e.config.globalProperties, `$${s}`, a);
3805
3805
  }), () => {
3806
- delete e.config.globalProperties.$i18n, jn.forEach((s) => {
3806
+ delete e.config.globalProperties.$i18n, Kn.forEach((s) => {
3807
3807
  delete e.config.globalProperties[`$${s}`];
3808
3808
  });
3809
3809
  };
3810
3810
  }
3811
- const Wo = /* @__PURE__ */ _e({
3811
+ const xo = /* @__PURE__ */ _e({
3812
3812
  /* eslint-disable */
3813
3813
  name: "i18n-d",
3814
3814
  props: J({
@@ -3819,153 +3819,153 @@ const Wo = /* @__PURE__ */ _e({
3819
3819
  format: {
3820
3820
  type: [String, Object]
3821
3821
  }
3822
- }, cn),
3822
+ }, ln),
3823
3823
  /* eslint-enable */
3824
3824
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3825
3825
  setup(e, t) {
3826
- const n = e.i18n || un({
3826
+ const n = e.i18n || cn({
3827
3827
  useScope: e.scope,
3828
3828
  __useComponent: !0
3829
3829
  });
3830
- return Mr(e, t, hr, (...r) => (
3830
+ return Ur(e, t, Lr, (...r) => (
3831
3831
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3832
- n[Wt](...r)
3832
+ n[$t](...r)
3833
3833
  ));
3834
3834
  }
3835
- }), Xn = Wo;
3836
- to();
3837
- va(ra);
3838
- Ca(ba);
3839
- Aa(_r);
3835
+ }), jn = xo;
3836
+ ro();
3837
+ Aa(aa);
3838
+ Sa(Ia);
3839
+ ya(dr);
3840
3840
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
3841
3841
  const e = ve();
3842
- e.__INTLIFY__ = !0, sa(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
3842
+ e.__INTLIFY__ = !0, oa(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
3843
3843
  }
3844
3844
  process.env.NODE_ENV;
3845
- const Go = "名称", xo = "供应商", Ho = "版本", Yo = "描述", Bo = "类别", Ko = "通用", jo = "I/O映射", Xo = "Modbus从站通道", Jo = "状态", Qo = "以太网", qo = "Modbus TCP服务器", Zo = "Modbus TCP客户端", zo = "Modbus TCP从站设备", el = "成都数字创新科技有限公司", tl = { ethernet: "一种在以太网上充当Modbus服务器的设备。", modbusTcpServer: "一种在以太网上充当Modbus TCP服务器的设备。", modbusTcpClient: "一种在以太网上充当Modbus TCP客户端的设备。", modbusTCPSlaveDevice: "一种在以太网上充当Modbus TCP从站设备。" }, nl = "网络接口", rl = "IP地址", sl = "子网掩码", al = "默认网关", ol = "适配操作系统配置", ll = "总线周期任务", il = "使用父总线循环设置", cl = "响应超时(ms)", ul = "Socket超时(ms)", fl = "自动重连", _l = "从站IP地址", ml = "端口", dl = " 看门狗", El = "从站端口", pl = "绑定到适配器", gl = "保持寄存器", Nl = "可写入", Tl = "输入寄存器", bl = "离散位区域", hl = "线圈", Il = "离散输入", Ll = "数据模型", Ol = "起始地址", vl = {
3846
- name: Go,
3847
- supplier: xo,
3848
- version: Ho,
3849
- description: Yo,
3850
- category: Bo,
3851
- general: Ko,
3852
- ioMapping: jo,
3853
- modbusSlaveChannel: Xo,
3854
- status: Jo,
3855
- ethernet: Qo,
3856
- modbusTcpServer: qo,
3857
- modbusTcpClient: Zo,
3858
- modbusTCPSlaveDevice: zo,
3859
- company: el,
3860
- descriptionMap: tl,
3861
- netInterface: nl,
3862
- ipAddress: rl,
3863
- subnetMask: sl,
3864
- defaultGateway: al,
3865
- adaptedOSConfiguration: ol,
3866
- busCycleTask: ll,
3867
- defaultTask: il,
3868
- responseTimeout: cl,
3869
- socketTimeout: ul,
3870
- reconnect: fl,
3871
- slaveIpAddress: _l,
3872
- port: ml,
3873
- watchDog: dl,
3874
- slavePort: El,
3875
- bindToAdapter: pl,
3876
- holdingRegister: gl,
3877
- writable: Nl,
3878
- inputRegister: Tl,
3879
- discreteBitArea: bl,
3880
- coil: hl,
3881
- discreteInput: Il,
3882
- dataModel: Ll,
3883
- startAddress: Ol
3884
- }, Cl = "Name", Al = "Supplier", Sl = "Version", yl = "Description", Pl = "Category", Dl = "General", kl = "I/O Mapping", Rl = "Modbus Slave Channel", Ml = "Status", Fl = "Ethernet", Ul = "Modbus TCP Server", wl = "Modbus TCP Client", Vl = "Modbus TCP Slave Device", $l = "Chengdu AIOSYS Innovation Technology Co., Ltd.", Wl = { ethernet: "A device that works as a Modbus Server on Ethernet.", modbusTcpServer: "A device that works as a Modbus TCP Server.", modbusTcpClient: "A device that works as a Modbus TCP Client.", modbusTCPSlaveDevice: "A device that works as a Modbus TCP Slave Device." }, Gl = "Network Interface", xl = "IP Address", Hl = "Subnet Mask", Yl = "Default Gateway", Bl = "Adapted OS Configuration", Kl = "Bus Cycle Task", jl = "Use Parent Bus Cycle Setting", Xl = "Response Timeout(ms)", Jl = "Socket Timeout(ms)", Ql = "Reconnect", ql = "Slave IP Address", Zl = "Port", zl = "Watch Dog", ei = "Slave Port", ti = "Bind to Adapter", ni = "Holding Register", ri = "Writable", si = "Input Register", ai = "Discrete Bit Area", oi = "Coil", li = "Discrete Input", ii = "Data Model", ci = "Start Address", ui = {
3885
- name: Cl,
3886
- supplier: Al,
3887
- version: Sl,
3888
- description: yl,
3889
- category: Pl,
3890
- general: Dl,
3891
- ioMapping: kl,
3892
- modbusSlaveChannel: Rl,
3893
- status: Ml,
3894
- ethernet: Fl,
3895
- modbusTcpServer: Ul,
3896
- modbusTcpClient: wl,
3897
- modbusTCPSlaveDevice: Vl,
3898
- company: $l,
3899
- descriptionMap: Wl,
3900
- netInterface: Gl,
3901
- ipAddress: xl,
3902
- subnetMask: Hl,
3903
- defaultGateway: Yl,
3904
- adaptedOSConfiguration: Bl,
3905
- busCycleTask: Kl,
3906
- defaultTask: jl,
3907
- responseTimeout: Xl,
3908
- socketTimeout: Jl,
3909
- reconnect: Ql,
3910
- slaveIpAddress: ql,
3911
- port: Zl,
3912
- watchDog: zl,
3913
- slavePort: ei,
3914
- bindToAdapter: ti,
3915
- holdingRegister: ni,
3916
- writable: ri,
3917
- inputRegister: si,
3918
- discreteBitArea: ai,
3919
- coil: oi,
3920
- discreteInput: li,
3921
- dataModel: ii,
3922
- startAddress: ci
3923
- }, fi = {
3924
- zh: vl,
3925
- en: ui
3926
- }, Oe = Po({
3845
+ const Ho = "名称", Yo = "供应商", Bo = "版本", Ko = "描述", jo = "类别", Xo = "通用", Jo = "I/O映射", Qo = "Modbus从站通道", qo = "状态", Zo = "以太网", zo = "Modbus TCP服务器", el = "Modbus TCP客户端", tl = "Modbus TCP从站设备", nl = "成都数字创新科技有限公司", rl = { ethernet: "一种在以太网上充当Modbus服务器的设备。", modbusTcpServer: "一种在以太网上充当Modbus TCP服务器的设备。", modbusTcpClient: "一种在以太网上充当Modbus TCP客户端的设备。", modbusTCPSlaveDevice: "一种在以太网上充当Modbus TCP从站设备。" }, sl = "网络接口", al = "IP地址", ol = "子网掩码", ll = "默认网关", il = "适配操作系统配置", cl = "总线周期任务", ul = "使用父总线循环设置", fl = "响应超时(ms)", _l = "Socket超时(ms)", ml = "自动重连", dl = "从站IP地址", El = "端口", pl = " 看门狗", gl = "从站端口", Nl = "绑定到适配器", Tl = "保持寄存器", bl = "可写入", hl = "输入寄存器", Il = "离散位区域", Ll = "线圈", Ol = "离散输入", vl = "数据模型", Cl = "起始地址", Al = {
3846
+ name: Ho,
3847
+ supplier: Yo,
3848
+ version: Bo,
3849
+ description: Ko,
3850
+ category: jo,
3851
+ general: Xo,
3852
+ ioMapping: Jo,
3853
+ modbusSlaveChannel: Qo,
3854
+ status: qo,
3855
+ ethernet: Zo,
3856
+ modbusTcpServer: zo,
3857
+ modbusTcpClient: el,
3858
+ modbusTCPSlaveDevice: tl,
3859
+ company: nl,
3860
+ descriptionMap: rl,
3861
+ netInterface: sl,
3862
+ ipAddress: al,
3863
+ subnetMask: ol,
3864
+ defaultGateway: ll,
3865
+ adaptedOSConfiguration: il,
3866
+ busCycleTask: cl,
3867
+ defaultTask: ul,
3868
+ responseTimeout: fl,
3869
+ socketTimeout: _l,
3870
+ reconnect: ml,
3871
+ slaveIpAddress: dl,
3872
+ port: El,
3873
+ watchDog: pl,
3874
+ slavePort: gl,
3875
+ bindToAdapter: Nl,
3876
+ holdingRegister: Tl,
3877
+ writable: bl,
3878
+ inputRegister: hl,
3879
+ discreteBitArea: Il,
3880
+ coil: Ll,
3881
+ discreteInput: Ol,
3882
+ dataModel: vl,
3883
+ startAddress: Cl
3884
+ }, Sl = "Name", yl = "Supplier", Pl = "Version", Dl = "Description", kl = "Category", Rl = "General", Ml = "I/O Mapping", Fl = "Modbus Slave Channel", Ul = "Status", wl = "Ethernet", Vl = "Modbus TCP Server", $l = "Modbus TCP Client", Wl = "Modbus TCP Slave Device", Gl = "Chengdu AIOSYS Innovation Technology Co., Ltd.", xl = { ethernet: "A device that works as a Modbus Server on Ethernet.", modbusTcpServer: "A device that works as a Modbus TCP Server.", modbusTcpClient: "A device that works as a Modbus TCP Client.", modbusTCPSlaveDevice: "A device that works as a Modbus TCP Slave Device." }, Hl = "Network Interface", Yl = "IP Address", Bl = "Subnet Mask", Kl = "Default Gateway", jl = "Adapted OS Configuration", Xl = "Bus Cycle Task", Jl = "Use Parent Bus Cycle Setting", Ql = "Response Timeout(ms)", ql = "Socket Timeout(ms)", Zl = "Reconnect", zl = "Slave IP Address", ei = "Port", ti = "Watch Dog", ni = "Slave Port", ri = "Bind to Adapter", si = "Holding Register", ai = "Writable", oi = "Input Register", li = "Discrete Bit Area", ii = "Coil", ci = "Discrete Input", ui = "Data Model", fi = "Start Address", _i = {
3885
+ name: Sl,
3886
+ supplier: yl,
3887
+ version: Pl,
3888
+ description: Dl,
3889
+ category: kl,
3890
+ general: Rl,
3891
+ ioMapping: Ml,
3892
+ modbusSlaveChannel: Fl,
3893
+ status: Ul,
3894
+ ethernet: wl,
3895
+ modbusTcpServer: Vl,
3896
+ modbusTcpClient: $l,
3897
+ modbusTCPSlaveDevice: Wl,
3898
+ company: Gl,
3899
+ descriptionMap: xl,
3900
+ netInterface: Hl,
3901
+ ipAddress: Yl,
3902
+ subnetMask: Bl,
3903
+ defaultGateway: Kl,
3904
+ adaptedOSConfiguration: jl,
3905
+ busCycleTask: Xl,
3906
+ defaultTask: Jl,
3907
+ responseTimeout: Ql,
3908
+ socketTimeout: ql,
3909
+ reconnect: Zl,
3910
+ slaveIpAddress: zl,
3911
+ port: ei,
3912
+ watchDog: ti,
3913
+ slavePort: ni,
3914
+ bindToAdapter: ri,
3915
+ holdingRegister: si,
3916
+ writable: ai,
3917
+ inputRegister: oi,
3918
+ discreteBitArea: li,
3919
+ coil: ii,
3920
+ discreteInput: ci,
3921
+ dataModel: ui,
3922
+ startAddress: fi
3923
+ }, mi = {
3924
+ zh: Al,
3925
+ en: _i
3926
+ }, Le = ko({
3927
3927
  legacy: !1,
3928
3928
  locale: "zh",
3929
3929
  fallbackLocale: "en",
3930
- messages: fi
3930
+ messages: mi
3931
3931
  });
3932
- typeof window < "u" && (window.$t = Oe.global.t.bind(Oe.global), Object.defineProperty(window, "$locale", {
3932
+ typeof window < "u" && (window.$t = Le.global.t.bind(Le.global), Object.defineProperty(window, "$locale", {
3933
3933
  get() {
3934
- return typeof Oe.global.locale == "string" ? Oe.global.locale : Oe.global.locale.value;
3934
+ return typeof Le.global.locale == "string" ? Le.global.locale : Le.global.locale.value;
3935
3935
  },
3936
3936
  set(e) {
3937
- Oe.global.locale = e;
3937
+ Le.global.locale = e;
3938
3938
  }
3939
3939
  }));
3940
- const _i = Hr(as).use(Oe);
3941
- _i.mount("#app");
3942
- const mi = [
3943
- Br,
3940
+ const di = Br(ls).use(Le);
3941
+ di.mount("#app");
3942
+ const Ei = [
3944
3943
  jr,
3945
- tr,
3946
- Qr,
3947
- Jr
3948
- ], pi = {
3944
+ Jr,
3945
+ rr,
3946
+ Zr,
3947
+ qr
3948
+ ], Ni = {
3949
3949
  install(e) {
3950
- mi.forEach((t) => {
3950
+ Ei.forEach((t) => {
3951
3951
  e.component(t.name, t);
3952
3952
  });
3953
3953
  }
3954
3954
  };
3955
3955
  export {
3956
- jr as Button2,
3957
- lt as EthernetProtocolItem,
3958
- tr as Input,
3959
- Qr as InputNumber,
3960
- Jr as IpInput,
3961
- Jt as ModbusTCPClientProtocolItem,
3962
- Xt as ModbusTCPServerProtocolItem,
3963
- Qt as ModbusTCPSlaveDeviceProtocolItem,
3964
- Br as MyButton,
3965
- Ei as MyLibPlugin,
3966
- rs as ProtocolCollection,
3956
+ Jr as Button2,
3957
+ ot as EthernetProtocolItem,
3958
+ rr as Input,
3959
+ Zr as InputNumber,
3960
+ qr as IpInput,
3961
+ Xt as ModbusTCPClientProtocolItem,
3962
+ jt as ModbusTCPServerProtocolItem,
3963
+ Jt as ModbusTCPSlaveDeviceProtocolItem,
3964
+ jr as MyButton,
3965
+ gi as MyLibPlugin,
3966
+ as as ProtocolCollection,
3967
3967
  re as ProtocolItem,
3968
- Ne as ProtocolType,
3969
- pi as default,
3970
- it as protocolMap
3968
+ ge as ProtocolType,
3969
+ Ni as default,
3970
+ lt as protocolMap
3971
3971
  };