lty-protocol 1.0.16 → 1.0.18

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