@kong-ui-public/misc-widgets 0.5.1-pr.608.4a7ebcd.0 → 0.5.1

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,32 +1,32 @@
1
- import { defineComponent as vt, h as Kt, computed as Zt, ref as Yt, onMounted as Wt, resolveComponent as zt, openBlock as qt, createElementBlock as Qt, createVNode as Jt, withCtx as $t, createElementVNode as ot, unref as at, toDisplayString as tr, createCommentVNode as rr } from "vue";
2
- var W = function(t, r) {
3
- return W = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, n) {
1
+ import { defineComponent as Tt, h as Zt, computed as Yt, ref as Wt, onMounted as zt, resolveComponent as qt, openBlock as Qt, createElementBlock as Jt, createVNode as $t, withCtx as tr, createElementVNode as at, unref as st, toDisplayString as rr, createCommentVNode as er } from "vue";
2
+ var z = function(t, r) {
3
+ return z = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, n) {
4
4
  e.__proto__ = n;
5
5
  } || function(e, n) {
6
6
  for (var i in n)
7
7
  Object.prototype.hasOwnProperty.call(n, i) && (e[i] = n[i]);
8
- }, W(t, r);
8
+ }, z(t, r);
9
9
  };
10
- function B(t, r) {
10
+ function I(t, r) {
11
11
  if (typeof r != "function" && r !== null)
12
12
  throw new TypeError("Class extends value " + String(r) + " is not a constructor or null");
13
- W(t, r);
13
+ z(t, r);
14
14
  function e() {
15
15
  this.constructor = t;
16
16
  }
17
17
  t.prototype = r === null ? Object.create(r) : (e.prototype = r.prototype, new e());
18
18
  }
19
- var m = function() {
20
- return m = Object.assign || function(t) {
19
+ var b = function() {
20
+ return b = Object.assign || function(t) {
21
21
  for (var r, e = 1, n = arguments.length; e < n; e++) {
22
22
  r = arguments[e];
23
23
  for (var i in r)
24
24
  Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
25
25
  }
26
26
  return t;
27
- }, m.apply(this, arguments);
27
+ }, b.apply(this, arguments);
28
28
  };
29
- function er(t, r) {
29
+ function nr(t, r) {
30
30
  var e = {};
31
31
  for (var n in t)
32
32
  Object.prototype.hasOwnProperty.call(t, n) && r.indexOf(n) < 0 && (e[n] = t[n]);
@@ -35,61 +35,70 @@ function er(t, r) {
35
35
  r.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, n[i]) && (e[n[i]] = t[n[i]]);
36
36
  return e;
37
37
  }
38
- function P(t, r, e) {
38
+ function R(t, r, e) {
39
39
  if (e || arguments.length === 2)
40
40
  for (var n = 0, i = r.length, o; n < i; n++)
41
41
  (o || !(n in r)) && (o || (o = Array.prototype.slice.call(r, 0, n)), o[n] = r[n]);
42
42
  return t.concat(o || Array.prototype.slice.call(r));
43
43
  }
44
- var g;
44
+ var d = function() {
45
+ return d = Object.assign || function(t) {
46
+ for (var r, e = 1, n = arguments.length; e < n; e++) {
47
+ r = arguments[e];
48
+ for (var i in r)
49
+ Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
50
+ }
51
+ return t;
52
+ }, d.apply(this, arguments);
53
+ }, p;
45
54
  (function(t) {
46
55
  t[t.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", t[t.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", t[t.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", t[t.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", t[t.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", t[t.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", t[t.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", t[t.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", t[t.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", t[t.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", t[t.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", t[t.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", t[t.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", t[t.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", t[t.INVALID_TAG = 23] = "INVALID_TAG", t[t.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", t[t.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", t[t.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
47
- })(g || (g = {}));
56
+ })(p || (p = {}));
48
57
  var y;
49
58
  (function(t) {
50
59
  t[t.literal = 0] = "literal", t[t.argument = 1] = "argument", t[t.number = 2] = "number", t[t.date = 3] = "date", t[t.time = 4] = "time", t[t.select = 5] = "select", t[t.plural = 6] = "plural", t[t.pound = 7] = "pound", t[t.tag = 8] = "tag";
51
60
  })(y || (y = {}));
52
- var w;
61
+ var G;
53
62
  (function(t) {
54
63
  t[t.number = 0] = "number", t[t.dateTime = 1] = "dateTime";
55
- })(w || (w = {}));
56
- function st(t) {
64
+ })(G || (G = {}));
65
+ function ht(t) {
57
66
  return t.type === y.literal;
58
67
  }
59
- function nr(t) {
68
+ function ir(t) {
60
69
  return t.type === y.argument;
61
70
  }
62
- function Tt(t) {
71
+ function _t(t) {
63
72
  return t.type === y.number;
64
73
  }
65
- function _t(t) {
74
+ function Ht(t) {
66
75
  return t.type === y.date;
67
76
  }
68
- function Ht(t) {
77
+ function St(t) {
69
78
  return t.type === y.time;
70
79
  }
71
- function St(t) {
80
+ function At(t) {
72
81
  return t.type === y.select;
73
82
  }
74
- function At(t) {
83
+ function Bt(t) {
75
84
  return t.type === y.plural;
76
85
  }
77
- function ir(t) {
86
+ function or(t) {
78
87
  return t.type === y.pound;
79
88
  }
80
- function Bt(t) {
89
+ function It(t) {
81
90
  return t.type === y.tag;
82
91
  }
83
92
  function Nt(t) {
84
- return !!(t && typeof t == "object" && t.type === w.number);
93
+ return !!(t && typeof t == "object" && t.type === G.number);
85
94
  }
86
- function z(t) {
87
- return !!(t && typeof t == "object" && t.type === w.dateTime);
95
+ function q(t) {
96
+ return !!(t && typeof t == "object" && t.type === G.dateTime);
88
97
  }
89
- var It = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, or = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
90
- function ar(t) {
98
+ var Lt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ar = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
99
+ function sr(t) {
91
100
  var r = {};
92
- return t.replace(or, function(e) {
101
+ return t.replace(ar, function(e) {
93
102
  var n = e.length;
94
103
  switch (e[0]) {
95
104
  case "G":
@@ -178,11 +187,11 @@ function ar(t) {
178
187
  return "";
179
188
  }), r;
180
189
  }
181
- var sr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
182
- function hr(t) {
190
+ var hr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
191
+ function ur(t) {
183
192
  if (t.length === 0)
184
193
  throw new Error("Number skeleton cannot be empty");
185
- for (var r = t.split(sr).filter(function(f) {
194
+ for (var r = t.split(hr).filter(function(f) {
186
195
  return f.length > 0;
187
196
  }), e = [], n = 0, i = r; n < i.length; n++) {
188
197
  var o = i[n], a = o.split("/");
@@ -197,17 +206,17 @@ function hr(t) {
197
206
  }
198
207
  return e;
199
208
  }
200
- function ur(t) {
209
+ function cr(t) {
201
210
  return t.replace(/^(.*?)-/, "");
202
211
  }
203
- var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Lt = /^(@+)?(\+|#+)?[rs]?$/g, cr = /(\*)(0+)|(#+)(0+)|(0+)/g, Pt = /^(0+)$/;
204
- function ut(t) {
212
+ var ut = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Pt = /^(@+)?(\+|#+)?[rs]?$/g, lr = /(\*)(0+)|(#+)(0+)|(0+)/g, Rt = /^(0+)$/;
213
+ function ct(t) {
205
214
  var r = {};
206
- return t[t.length - 1] === "r" ? r.roundingPriority = "morePrecision" : t[t.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), t.replace(Lt, function(e, n, i) {
215
+ return t[t.length - 1] === "r" ? r.roundingPriority = "morePrecision" : t[t.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), t.replace(Pt, function(e, n, i) {
207
216
  return typeof i != "string" ? (r.minimumSignificantDigits = n.length, r.maximumSignificantDigits = n.length) : i === "+" ? r.minimumSignificantDigits = n.length : n[0] === "#" ? r.maximumSignificantDigits = n.length : (r.minimumSignificantDigits = n.length, r.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
208
217
  }), r;
209
218
  }
210
- function Rt(t) {
219
+ function Ot(t) {
211
220
  switch (t) {
212
221
  case "sign-auto":
213
222
  return {
@@ -247,7 +256,7 @@ function Rt(t) {
247
256
  };
248
257
  }
249
258
  }
250
- function lr(t) {
259
+ function fr(t) {
251
260
  var r;
252
261
  if (t[0] === "E" && t[1] === "E" ? (r = {
253
262
  notation: "engineering"
@@ -255,17 +264,17 @@ function lr(t) {
255
264
  notation: "scientific"
256
265
  }, t = t.slice(1)), r) {
257
266
  var e = t.slice(0, 2);
258
- if (e === "+!" ? (r.signDisplay = "always", t = t.slice(2)) : e === "+?" && (r.signDisplay = "exceptZero", t = t.slice(2)), !Pt.test(t))
267
+ if (e === "+!" ? (r.signDisplay = "always", t = t.slice(2)) : e === "+?" && (r.signDisplay = "exceptZero", t = t.slice(2)), !Rt.test(t))
259
268
  throw new Error("Malformed concise eng/scientific notation");
260
269
  r.minimumIntegerDigits = t.length;
261
270
  }
262
271
  return r;
263
272
  }
264
- function ct(t) {
265
- var r = {}, e = Rt(t);
273
+ function lt(t) {
274
+ var r = {}, e = Ot(t);
266
275
  return e || r;
267
276
  }
268
- function fr(t) {
277
+ function mr(t) {
269
278
  for (var r = {}, e = 0, n = t; e < n.length; e++) {
270
279
  var i = n[e];
271
280
  switch (i.stem) {
@@ -289,7 +298,7 @@ function fr(t) {
289
298
  continue;
290
299
  case "measure-unit":
291
300
  case "unit":
292
- r.style = "unit", r.unit = ur(i.options[0]);
301
+ r.style = "unit", r.unit = cr(i.options[0]);
293
302
  continue;
294
303
  case "compact-short":
295
304
  case "K":
@@ -300,13 +309,13 @@ function fr(t) {
300
309
  r.notation = "compact", r.compactDisplay = "long";
301
310
  continue;
302
311
  case "scientific":
303
- r = m(m(m({}, r), { notation: "scientific" }), i.options.reduce(function(c, u) {
304
- return m(m({}, c), ct(u));
312
+ r = d(d(d({}, r), { notation: "scientific" }), i.options.reduce(function(c, u) {
313
+ return d(d({}, c), lt(u));
305
314
  }, {}));
306
315
  continue;
307
316
  case "engineering":
308
- r = m(m(m({}, r), { notation: "engineering" }), i.options.reduce(function(c, u) {
309
- return m(m({}, c), ct(u));
317
+ r = d(d(d({}, r), { notation: "engineering" }), i.options.reduce(function(c, u) {
318
+ return d(d({}, c), lt(u));
310
319
  }, {}));
311
320
  continue;
312
321
  case "notation-simple":
@@ -330,45 +339,45 @@ function fr(t) {
330
339
  case "integer-width":
331
340
  if (i.options.length > 1)
332
341
  throw new RangeError("integer-width stems only accept a single optional option");
333
- i.options[0].replace(cr, function(c, u, h, l, f, p) {
342
+ i.options[0].replace(lr, function(c, u, h, l, f, m) {
334
343
  if (u)
335
344
  r.minimumIntegerDigits = h.length;
336
345
  else {
337
346
  if (l && f)
338
347
  throw new Error("We currently do not support maximum integer digits");
339
- if (p)
348
+ if (m)
340
349
  throw new Error("We currently do not support exact integer digits");
341
350
  }
342
351
  return "";
343
352
  });
344
353
  continue;
345
354
  }
346
- if (Pt.test(i.stem)) {
355
+ if (Rt.test(i.stem)) {
347
356
  r.minimumIntegerDigits = i.stem.length;
348
357
  continue;
349
358
  }
350
- if (ht.test(i.stem)) {
359
+ if (ut.test(i.stem)) {
351
360
  if (i.options.length > 1)
352
361
  throw new RangeError("Fraction-precision stems only accept a single optional option");
353
- i.stem.replace(ht, function(c, u, h, l, f, p) {
354
- return h === "*" ? r.minimumFractionDigits = u.length : l && l[0] === "#" ? r.maximumFractionDigits = l.length : f && p ? (r.minimumFractionDigits = f.length, r.maximumFractionDigits = f.length + p.length) : (r.minimumFractionDigits = u.length, r.maximumFractionDigits = u.length), "";
362
+ i.stem.replace(ut, function(c, u, h, l, f, m) {
363
+ return h === "*" ? r.minimumFractionDigits = u.length : l && l[0] === "#" ? r.maximumFractionDigits = l.length : f && m ? (r.minimumFractionDigits = f.length, r.maximumFractionDigits = f.length + m.length) : (r.minimumFractionDigits = u.length, r.maximumFractionDigits = u.length), "";
355
364
  });
356
365
  var o = i.options[0];
357
- o === "w" ? r = m(m({}, r), { trailingZeroDisplay: "stripIfInteger" }) : o && (r = m(m({}, r), ut(o)));
366
+ o === "w" ? r = d(d({}, r), { trailingZeroDisplay: "stripIfInteger" }) : o && (r = d(d({}, r), ct(o)));
358
367
  continue;
359
368
  }
360
- if (Lt.test(i.stem)) {
361
- r = m(m({}, r), ut(i.stem));
369
+ if (Pt.test(i.stem)) {
370
+ r = d(d({}, r), ct(i.stem));
362
371
  continue;
363
372
  }
364
- var a = Rt(i.stem);
365
- a && (r = m(m({}, r), a));
366
- var s = lr(i.stem);
367
- s && (r = m(m({}, r), s));
373
+ var a = Ot(i.stem);
374
+ a && (r = d(d({}, r), a));
375
+ var s = fr(i.stem);
376
+ s && (r = d(d({}, r), s));
368
377
  }
369
378
  return r;
370
379
  }
371
- var j = {
380
+ var V = {
372
381
  "001": [
373
382
  "H",
374
383
  "h"
@@ -1705,13 +1714,13 @@ var j = {
1705
1714
  "h"
1706
1715
  ]
1707
1716
  };
1708
- function mr(t, r) {
1717
+ function pr(t, r) {
1709
1718
  for (var e = "", n = 0; n < t.length; n++) {
1710
1719
  var i = t.charAt(n);
1711
1720
  if (i === "j") {
1712
1721
  for (var o = 0; n + 1 < t.length && t.charAt(n + 1) === i; )
1713
1722
  o++, n++;
1714
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), c = "a", u = pr(r);
1723
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), c = "a", u = gr(r);
1715
1724
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
1716
1725
  e += c;
1717
1726
  for (; a-- > 0; )
@@ -1721,7 +1730,7 @@ function mr(t, r) {
1721
1730
  }
1722
1731
  return e;
1723
1732
  }
1724
- function pr(t) {
1733
+ function gr(t) {
1725
1734
  var r = t.hourCycle;
1726
1735
  if (r === void 0 && // @ts-ignore hourCycle(s) is not identified yet
1727
1736
  t.hourCycles && // @ts-ignore
@@ -1740,23 +1749,23 @@ function pr(t) {
1740
1749
  }
1741
1750
  var e = t.language, n;
1742
1751
  e !== "root" && (n = t.maximize().region);
1743
- var i = j[n || ""] || j[e || ""] || j["".concat(e, "-001")] || j["001"];
1752
+ var i = V[n || ""] || V[e || ""] || V["".concat(e, "-001")] || V["001"];
1744
1753
  return i[0];
1745
1754
  }
1746
- var K, gr = new RegExp("^".concat(It.source, "*")), Er = new RegExp("".concat(It.source, "*$"));
1747
- function E(t, r) {
1755
+ var Z, br = new RegExp("^".concat(Lt.source, "*")), Er = new RegExp("".concat(Lt.source, "*$"));
1756
+ function g(t, r) {
1748
1757
  return { start: t, end: r };
1749
1758
  }
1750
- var br = !!String.prototype.startsWith, yr = !!String.fromCodePoint, dr = !!Object.fromEntries, vr = !!String.prototype.codePointAt, Tr = !!String.prototype.trimStart, _r = !!String.prototype.trimEnd, Hr = !!Number.isSafeInteger, Sr = Hr ? Number.isSafeInteger : function(t) {
1759
+ var yr = !!String.prototype.startsWith, dr = !!String.fromCodePoint, vr = !!Object.fromEntries, Tr = !!String.prototype.codePointAt, _r = !!String.prototype.trimStart, Hr = !!String.prototype.trimEnd, Sr = !!Number.isSafeInteger, Ar = Sr ? Number.isSafeInteger : function(t) {
1751
1760
  return typeof t == "number" && isFinite(t) && Math.floor(t) === t && Math.abs(t) <= 9007199254740991;
1752
- }, q = !0;
1761
+ }, Q = !0;
1753
1762
  try {
1754
- var Ar = Ct("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
1755
- q = ((K = Ar.exec("a")) === null || K === void 0 ? void 0 : K[0]) === "a";
1763
+ var Br = Mt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
1764
+ Q = ((Z = Br.exec("a")) === null || Z === void 0 ? void 0 : Z[0]) === "a";
1756
1765
  } catch {
1757
- q = !1;
1766
+ Q = !1;
1758
1767
  }
1759
- var lt = br ? (
1768
+ var ft = yr ? (
1760
1769
  // Native
1761
1770
  function(t, r, e) {
1762
1771
  return t.startsWith(r, e);
@@ -1766,7 +1775,7 @@ var lt = br ? (
1766
1775
  function(t, r, e) {
1767
1776
  return t.slice(e, e + r.length) === r;
1768
1777
  }
1769
- ), Q = yr ? String.fromCodePoint : (
1778
+ ), J = dr ? String.fromCodePoint : (
1770
1779
  // IE11
1771
1780
  function() {
1772
1781
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -1778,9 +1787,9 @@ var lt = br ? (
1778
1787
  }
1779
1788
  return e;
1780
1789
  }
1781
- ), ft = (
1790
+ ), mt = (
1782
1791
  // native
1783
- dr ? Object.fromEntries : (
1792
+ vr ? Object.fromEntries : (
1784
1793
  // Ponyfill
1785
1794
  function(t) {
1786
1795
  for (var r = {}, e = 0, n = t; e < n.length; e++) {
@@ -1790,7 +1799,7 @@ var lt = br ? (
1790
1799
  return r;
1791
1800
  }
1792
1801
  )
1793
- ), Ot = vr ? (
1802
+ ), Ct = Tr ? (
1794
1803
  // Native
1795
1804
  function(t, r) {
1796
1805
  return t.codePointAt(r);
@@ -1804,7 +1813,7 @@ var lt = br ? (
1804
1813
  return n < 55296 || n > 56319 || r + 1 === e || (i = t.charCodeAt(r + 1)) < 56320 || i > 57343 ? n : (n - 55296 << 10) + (i - 56320) + 65536;
1805
1814
  }
1806
1815
  }
1807
- ), Br = Tr ? (
1816
+ ), Ir = _r ? (
1808
1817
  // Native
1809
1818
  function(t) {
1810
1819
  return t.trimStart();
@@ -1812,9 +1821,9 @@ var lt = br ? (
1812
1821
  ) : (
1813
1822
  // Ponyfill
1814
1823
  function(t) {
1815
- return t.replace(gr, "");
1824
+ return t.replace(br, "");
1816
1825
  }
1817
- ), Nr = _r ? (
1826
+ ), Nr = Hr ? (
1818
1827
  // Native
1819
1828
  function(t) {
1820
1829
  return t.trimEnd();
@@ -1825,29 +1834,29 @@ var lt = br ? (
1825
1834
  return t.replace(Er, "");
1826
1835
  }
1827
1836
  );
1828
- function Ct(t, r) {
1837
+ function Mt(t, r) {
1829
1838
  return new RegExp(t, r);
1830
1839
  }
1831
- var J;
1832
- if (q) {
1833
- var mt = Ct("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
1834
- J = function(t, r) {
1840
+ var $;
1841
+ if (Q) {
1842
+ var pt = Mt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
1843
+ $ = function(t, r) {
1835
1844
  var e;
1836
- mt.lastIndex = r;
1837
- var n = mt.exec(t);
1845
+ pt.lastIndex = r;
1846
+ var n = pt.exec(t);
1838
1847
  return (e = n[1]) !== null && e !== void 0 ? e : "";
1839
1848
  };
1840
1849
  } else
1841
- J = function(t, r) {
1850
+ $ = function(t, r) {
1842
1851
  for (var e = []; ; ) {
1843
- var n = Ot(t, r);
1844
- if (n === void 0 || Mt(n) || Rr(n))
1852
+ var n = Ct(t, r);
1853
+ if (n === void 0 || Dt(n) || Or(n))
1845
1854
  break;
1846
1855
  e.push(n), r += n >= 65536 ? 2 : 1;
1847
1856
  }
1848
- return Q.apply(void 0, e);
1857
+ return J.apply(void 0, e);
1849
1858
  };
1850
- var Ir = (
1859
+ var Lr = (
1851
1860
  /** @class */
1852
1861
  function() {
1853
1862
  function t(r, e) {
@@ -1872,13 +1881,13 @@ var Ir = (
1872
1881
  var s = this.clonePosition();
1873
1882
  this.bump(), i.push({
1874
1883
  type: y.pound,
1875
- location: E(s, this.clonePosition())
1884
+ location: g(s, this.clonePosition())
1876
1885
  });
1877
1886
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
1878
1887
  if (n)
1879
1888
  break;
1880
- return this.error(g.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
1881
- } else if (o === 60 && !this.ignoreTag && $(this.peek() || 0)) {
1889
+ return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
1890
+ } else if (o === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
1882
1891
  var a = this.parseTag(r, e);
1883
1892
  if (a.err)
1884
1893
  return a;
@@ -1901,7 +1910,7 @@ var Ir = (
1901
1910
  val: {
1902
1911
  type: y.literal,
1903
1912
  value: "<".concat(i, "/>"),
1904
- location: E(n, this.clonePosition())
1913
+ location: g(n, this.clonePosition())
1905
1914
  },
1906
1915
  err: null
1907
1916
  };
@@ -1911,25 +1920,25 @@ var Ir = (
1911
1920
  return o;
1912
1921
  var a = o.val, s = this.clonePosition();
1913
1922
  if (this.bumpIf("</")) {
1914
- if (this.isEOF() || !$(this.char()))
1915
- return this.error(g.INVALID_TAG, E(s, this.clonePosition()));
1923
+ if (this.isEOF() || !tt(this.char()))
1924
+ return this.error(p.INVALID_TAG, g(s, this.clonePosition()));
1916
1925
  var c = this.clonePosition(), u = this.parseTagName();
1917
- return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, E(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
1926
+ return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
1918
1927
  val: {
1919
1928
  type: y.tag,
1920
1929
  value: i,
1921
1930
  children: a,
1922
- location: E(n, this.clonePosition())
1931
+ location: g(n, this.clonePosition())
1923
1932
  },
1924
1933
  err: null
1925
- } : this.error(g.INVALID_TAG, E(s, this.clonePosition())));
1934
+ } : this.error(p.INVALID_TAG, g(s, this.clonePosition())));
1926
1935
  } else
1927
- return this.error(g.UNCLOSED_TAG, E(n, this.clonePosition()));
1936
+ return this.error(p.UNCLOSED_TAG, g(n, this.clonePosition()));
1928
1937
  } else
1929
- return this.error(g.INVALID_TAG, E(n, this.clonePosition()));
1938
+ return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
1930
1939
  }, t.prototype.parseTagName = function() {
1931
1940
  var r = this.offset();
1932
- for (this.bump(); !this.isEOF() && Pr(this.char()); )
1941
+ for (this.bump(); !this.isEOF() && Rr(this.char()); )
1933
1942
  this.bump();
1934
1943
  return this.message.slice(r, this.offset());
1935
1944
  }, t.prototype.parseLiteral = function(r, e) {
@@ -1951,14 +1960,14 @@ var Ir = (
1951
1960
  }
1952
1961
  break;
1953
1962
  }
1954
- var c = E(n, this.clonePosition());
1963
+ var c = g(n, this.clonePosition());
1955
1964
  return {
1956
1965
  val: { type: y.literal, value: i, location: c },
1957
1966
  err: null
1958
1967
  };
1959
1968
  }, t.prototype.tryParseLeftAngleBracket = function() {
1960
1969
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
1961
- !Lr(this.peek() || 0)) ? (this.bump(), "<") : null;
1970
+ !Pr(this.peek() || 0)) ? (this.bump(), "<") : null;
1962
1971
  }, t.prototype.tryParseQuote = function(r) {
1963
1972
  if (this.isEOF() || this.char() !== 39)
1964
1973
  return null;
@@ -1992,23 +2001,23 @@ var Ir = (
1992
2001
  e.push(n);
1993
2002
  this.bump();
1994
2003
  }
1995
- return Q.apply(void 0, e);
2004
+ return J.apply(void 0, e);
1996
2005
  }, t.prototype.tryParseUnquoted = function(r, e) {
1997
2006
  if (this.isEOF())
1998
2007
  return null;
1999
2008
  var n = this.char();
2000
- return n === 60 || n === 123 || n === 35 && (e === "plural" || e === "selectordinal") || n === 125 && r > 0 ? null : (this.bump(), Q(n));
2009
+ return n === 60 || n === 123 || n === 35 && (e === "plural" || e === "selectordinal") || n === 125 && r > 0 ? null : (this.bump(), J(n));
2001
2010
  }, t.prototype.parseArgument = function(r, e) {
2002
2011
  var n = this.clonePosition();
2003
2012
  if (this.bump(), this.bumpSpace(), this.isEOF())
2004
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
2013
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
2005
2014
  if (this.char() === 125)
2006
- return this.bump(), this.error(g.EMPTY_ARGUMENT, E(n, this.clonePosition()));
2015
+ return this.bump(), this.error(p.EMPTY_ARGUMENT, g(n, this.clonePosition()));
2007
2016
  var i = this.parseIdentifierIfPossible().value;
2008
2017
  if (!i)
2009
- return this.error(g.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
2018
+ return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
2010
2019
  if (this.bumpSpace(), this.isEOF())
2011
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
2020
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
2012
2021
  switch (this.char()) {
2013
2022
  case 125:
2014
2023
  return this.bump(), {
@@ -2016,25 +2025,25 @@ var Ir = (
2016
2025
  type: y.argument,
2017
2026
  // value does not include the opening and closing braces.
2018
2027
  value: i,
2019
- location: E(n, this.clonePosition())
2028
+ location: g(n, this.clonePosition())
2020
2029
  },
2021
2030
  err: null
2022
2031
  };
2023
2032
  case 44:
2024
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition())) : this.parseArgumentOptions(r, e, i, n);
2033
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(r, e, i, n);
2025
2034
  default:
2026
- return this.error(g.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
2035
+ return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
2027
2036
  }
2028
2037
  }, t.prototype.parseIdentifierIfPossible = function() {
2029
- var r = this.clonePosition(), e = this.offset(), n = J(this.message, e), i = e + n.length;
2038
+ var r = this.clonePosition(), e = this.offset(), n = $(this.message, e), i = e + n.length;
2030
2039
  this.bumpTo(i);
2031
- var o = this.clonePosition(), a = E(r, o);
2040
+ var o = this.clonePosition(), a = g(r, o);
2032
2041
  return { value: n, location: a };
2033
2042
  }, t.prototype.parseArgumentOptions = function(r, e, n, i) {
2034
2043
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, c = this.clonePosition();
2035
2044
  switch (s) {
2036
2045
  case "":
2037
- return this.error(g.EXPECT_ARGUMENT_TYPE, E(a, c));
2046
+ return this.error(p.EXPECT_ARGUMENT_TYPE, g(a, c));
2038
2047
  case "number":
2039
2048
  case "date":
2040
2049
  case "time": {
@@ -2047,35 +2056,35 @@ var Ir = (
2047
2056
  return l;
2048
2057
  var f = Nr(l.val);
2049
2058
  if (f.length === 0)
2050
- return this.error(g.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
2051
- var p = E(h, this.clonePosition());
2052
- u = { style: f, styleLocation: p };
2059
+ return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
2060
+ var m = g(h, this.clonePosition());
2061
+ u = { style: f, styleLocation: m };
2053
2062
  }
2054
- var d = this.tryParseArgumentClose(i);
2055
- if (d.err)
2056
- return d;
2057
- var b = E(i, this.clonePosition());
2058
- if (u && lt(u == null ? void 0 : u.style, "::", 0)) {
2059
- var v = Br(u.style.slice(2));
2063
+ var v = this.tryParseArgumentClose(i);
2064
+ if (v.err)
2065
+ return v;
2066
+ var E = g(i, this.clonePosition());
2067
+ if (u && ft(u == null ? void 0 : u.style, "::", 0)) {
2068
+ var T = Ir(u.style.slice(2));
2060
2069
  if (s === "number") {
2061
- var l = this.parseNumberSkeletonFromString(v, u.styleLocation);
2070
+ var l = this.parseNumberSkeletonFromString(T, u.styleLocation);
2062
2071
  return l.err ? l : {
2063
- val: { type: y.number, value: n, location: b, style: l.val },
2072
+ val: { type: y.number, value: n, location: E, style: l.val },
2064
2073
  err: null
2065
2074
  };
2066
2075
  } else {
2067
- if (v.length === 0)
2068
- return this.error(g.EXPECT_DATE_TIME_SKELETON, b);
2069
- var T = v;
2070
- this.locale && (T = mr(v, this.locale));
2076
+ if (T.length === 0)
2077
+ return this.error(p.EXPECT_DATE_TIME_SKELETON, E);
2078
+ var _ = T;
2079
+ this.locale && (_ = pr(T, this.locale));
2071
2080
  var f = {
2072
- type: w.dateTime,
2073
- pattern: T,
2081
+ type: G.dateTime,
2082
+ pattern: _,
2074
2083
  location: u.styleLocation,
2075
- parsedOptions: this.shouldParseSkeletons ? ar(T) : {}
2076
- }, S = s === "date" ? y.date : y.time;
2084
+ parsedOptions: this.shouldParseSkeletons ? sr(_) : {}
2085
+ }, A = s === "date" ? y.date : y.time;
2077
2086
  return {
2078
- val: { type: S, value: n, location: b, style: f },
2087
+ val: { type: A, value: n, location: E, style: f },
2079
2088
  err: null
2080
2089
  };
2081
2090
  }
@@ -2084,7 +2093,7 @@ var Ir = (
2084
2093
  val: {
2085
2094
  type: s === "number" ? y.number : s === "date" ? y.date : y.time,
2086
2095
  value: n,
2087
- location: b,
2096
+ location: E,
2088
2097
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
2089
2098
  },
2090
2099
  err: null
@@ -2093,52 +2102,52 @@ var Ir = (
2093
2102
  case "plural":
2094
2103
  case "selectordinal":
2095
2104
  case "select": {
2096
- var _ = this.clonePosition();
2105
+ var H = this.clonePosition();
2097
2106
  if (this.bumpSpace(), !this.bumpIf(","))
2098
- return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, E(_, m({}, _)));
2107
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(H, d({}, H)));
2099
2108
  this.bumpSpace();
2100
- var G = this.parseIdentifierIfPossible(), O = 0;
2101
- if (s !== "select" && G.value === "offset") {
2109
+ var U = this.parseIdentifierIfPossible(), C = 0;
2110
+ if (s !== "select" && U.value === "offset") {
2102
2111
  if (!this.bumpIf(":"))
2103
- return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
2112
+ return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
2104
2113
  this.bumpSpace();
2105
- var l = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2114
+ var l = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2106
2115
  if (l.err)
2107
2116
  return l;
2108
- this.bumpSpace(), G = this.parseIdentifierIfPossible(), O = l.val;
2117
+ this.bumpSpace(), U = this.parseIdentifierIfPossible(), C = l.val;
2109
2118
  }
2110
- var k = this.tryParsePluralOrSelectOptions(r, s, e, G);
2111
- if (k.err)
2112
- return k;
2113
- var d = this.tryParseArgumentClose(i);
2114
- if (d.err)
2115
- return d;
2116
- var it = E(i, this.clonePosition());
2119
+ var j = this.tryParsePluralOrSelectOptions(r, s, e, U);
2120
+ if (j.err)
2121
+ return j;
2122
+ var v = this.tryParseArgumentClose(i);
2123
+ if (v.err)
2124
+ return v;
2125
+ var ot = g(i, this.clonePosition());
2117
2126
  return s === "select" ? {
2118
2127
  val: {
2119
2128
  type: y.select,
2120
2129
  value: n,
2121
- options: ft(k.val),
2122
- location: it
2130
+ options: mt(j.val),
2131
+ location: ot
2123
2132
  },
2124
2133
  err: null
2125
2134
  } : {
2126
2135
  val: {
2127
2136
  type: y.plural,
2128
2137
  value: n,
2129
- options: ft(k.val),
2130
- offset: O,
2138
+ options: mt(j.val),
2139
+ offset: C,
2131
2140
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2132
- location: it
2141
+ location: ot
2133
2142
  },
2134
2143
  err: null
2135
2144
  };
2136
2145
  }
2137
2146
  default:
2138
- return this.error(g.INVALID_ARGUMENT_TYPE, E(a, c));
2147
+ return this.error(p.INVALID_ARGUMENT_TYPE, g(a, c));
2139
2148
  }
2140
2149
  }, t.prototype.tryParseArgumentClose = function(r) {
2141
- return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, E(r, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2150
+ return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(r, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2142
2151
  }, t.prototype.parseSimpleArgStyleIfPossible = function() {
2143
2152
  for (var r = 0, e = this.clonePosition(); !this.isEOF(); ) {
2144
2153
  var n = this.char();
@@ -2147,7 +2156,7 @@ var Ir = (
2147
2156
  this.bump();
2148
2157
  var i = this.clonePosition();
2149
2158
  if (!this.bumpUntil("'"))
2150
- return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(i, this.clonePosition()));
2159
+ return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
2151
2160
  this.bump();
2152
2161
  break;
2153
2162
  }
@@ -2177,16 +2186,16 @@ var Ir = (
2177
2186
  }, t.prototype.parseNumberSkeletonFromString = function(r, e) {
2178
2187
  var n = [];
2179
2188
  try {
2180
- n = hr(r);
2189
+ n = ur(r);
2181
2190
  } catch {
2182
- return this.error(g.INVALID_NUMBER_SKELETON, e);
2191
+ return this.error(p.INVALID_NUMBER_SKELETON, e);
2183
2192
  }
2184
2193
  return {
2185
2194
  val: {
2186
- type: w.number,
2195
+ type: G.number,
2187
2196
  tokens: n,
2188
2197
  location: e,
2189
- parsedOptions: this.shouldParseSkeletons ? fr(n) : {}
2198
+ parsedOptions: this.shouldParseSkeletons ? mr(n) : {}
2190
2199
  },
2191
2200
  err: null
2192
2201
  };
@@ -2195,34 +2204,34 @@ var Ir = (
2195
2204
  if (u.length === 0) {
2196
2205
  var l = this.clonePosition();
2197
2206
  if (e !== "select" && this.bumpIf("=")) {
2198
- var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
2207
+ var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
2199
2208
  if (f.err)
2200
2209
  return f;
2201
- h = E(l, this.clonePosition()), u = this.message.slice(l.offset, this.offset());
2210
+ h = g(l, this.clonePosition()), u = this.message.slice(l.offset, this.offset());
2202
2211
  } else
2203
2212
  break;
2204
2213
  }
2205
2214
  if (c.has(u))
2206
- return this.error(e === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2215
+ return this.error(e === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2207
2216
  u === "other" && (a = !0), this.bumpSpace();
2208
- var p = this.clonePosition();
2217
+ var m = this.clonePosition();
2209
2218
  if (!this.bumpIf("{"))
2210
- return this.error(e === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
2211
- var d = this.parseMessage(r + 1, e, n);
2212
- if (d.err)
2213
- return d;
2214
- var b = this.tryParseArgumentClose(p);
2215
- if (b.err)
2216
- return b;
2219
+ return this.error(e === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
2220
+ var v = this.parseMessage(r + 1, e, n);
2221
+ if (v.err)
2222
+ return v;
2223
+ var E = this.tryParseArgumentClose(m);
2224
+ if (E.err)
2225
+ return E;
2217
2226
  s.push([
2218
2227
  u,
2219
2228
  {
2220
- value: d.val,
2221
- location: E(p, this.clonePosition())
2229
+ value: v.val,
2230
+ location: g(m, this.clonePosition())
2222
2231
  }
2223
2232
  ]), c.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
2224
2233
  }
2225
- return s.length === 0 ? this.error(e === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(g.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
2234
+ return s.length === 0 ? this.error(e === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
2226
2235
  }, t.prototype.tryParseDecimalInteger = function(r, e) {
2227
2236
  var n = 1, i = this.clonePosition();
2228
2237
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -2233,8 +2242,8 @@ var Ir = (
2233
2242
  else
2234
2243
  break;
2235
2244
  }
2236
- var c = E(i, this.clonePosition());
2237
- return o ? (a *= n, Sr(a) ? { val: a, err: null } : this.error(e, c)) : this.error(r, c);
2245
+ var c = g(i, this.clonePosition());
2246
+ return o ? (a *= n, Ar(a) ? { val: a, err: null } : this.error(e, c)) : this.error(r, c);
2238
2247
  }, t.prototype.offset = function() {
2239
2248
  return this.position.offset;
2240
2249
  }, t.prototype.isEOF = function() {
@@ -2249,7 +2258,7 @@ var Ir = (
2249
2258
  var r = this.position.offset;
2250
2259
  if (r >= this.message.length)
2251
2260
  throw Error("out of bound");
2252
- var e = Ot(this.message, r);
2261
+ var e = Ct(this.message, r);
2253
2262
  if (e === void 0)
2254
2263
  throw Error("Offset ".concat(r, " is at invalid UTF-16 code unit boundary"));
2255
2264
  return e;
@@ -2268,7 +2277,7 @@ var Ir = (
2268
2277
  r === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += r < 65536 ? 1 : 2);
2269
2278
  }
2270
2279
  }, t.prototype.bumpIf = function(r) {
2271
- if (lt(this.message, r, this.offset())) {
2280
+ if (ft(this.message, r, this.offset())) {
2272
2281
  for (var e = 0; e < r.length; e++)
2273
2282
  this.bump();
2274
2283
  return !0;
@@ -2290,7 +2299,7 @@ var Ir = (
2290
2299
  break;
2291
2300
  }
2292
2301
  }, t.prototype.bumpSpace = function() {
2293
- for (; !this.isEOF() && Mt(this.char()); )
2302
+ for (; !this.isEOF() && Dt(this.char()); )
2294
2303
  this.bump();
2295
2304
  }, t.prototype.peek = function() {
2296
2305
  if (this.isEOF())
@@ -2300,97 +2309,97 @@ var Ir = (
2300
2309
  }, t;
2301
2310
  }()
2302
2311
  );
2303
- function $(t) {
2312
+ function tt(t) {
2304
2313
  return t >= 97 && t <= 122 || t >= 65 && t <= 90;
2305
2314
  }
2306
- function Lr(t) {
2307
- return $(t) || t === 47;
2308
- }
2309
2315
  function Pr(t) {
2316
+ return tt(t) || t === 47;
2317
+ }
2318
+ function Rr(t) {
2310
2319
  return t === 45 || t === 46 || t >= 48 && t <= 57 || t === 95 || t >= 97 && t <= 122 || t >= 65 && t <= 90 || t == 183 || t >= 192 && t <= 214 || t >= 216 && t <= 246 || t >= 248 && t <= 893 || t >= 895 && t <= 8191 || t >= 8204 && t <= 8205 || t >= 8255 && t <= 8256 || t >= 8304 && t <= 8591 || t >= 11264 && t <= 12271 || t >= 12289 && t <= 55295 || t >= 63744 && t <= 64975 || t >= 65008 && t <= 65533 || t >= 65536 && t <= 983039;
2311
2320
  }
2312
- function Mt(t) {
2321
+ function Dt(t) {
2313
2322
  return t >= 9 && t <= 13 || t === 32 || t === 133 || t >= 8206 && t <= 8207 || t === 8232 || t === 8233;
2314
2323
  }
2315
- function Rr(t) {
2324
+ function Or(t) {
2316
2325
  return t >= 33 && t <= 35 || t === 36 || t >= 37 && t <= 39 || t === 40 || t === 41 || t === 42 || t === 43 || t === 44 || t === 45 || t >= 46 && t <= 47 || t >= 58 && t <= 59 || t >= 60 && t <= 62 || t >= 63 && t <= 64 || t === 91 || t === 92 || t === 93 || t === 94 || t === 96 || t === 123 || t === 124 || t === 125 || t === 126 || t === 161 || t >= 162 && t <= 165 || t === 166 || t === 167 || t === 169 || t === 171 || t === 172 || t === 174 || t === 176 || t === 177 || t === 182 || t === 187 || t === 191 || t === 215 || t === 247 || t >= 8208 && t <= 8213 || t >= 8214 && t <= 8215 || t === 8216 || t === 8217 || t === 8218 || t >= 8219 && t <= 8220 || t === 8221 || t === 8222 || t === 8223 || t >= 8224 && t <= 8231 || t >= 8240 && t <= 8248 || t === 8249 || t === 8250 || t >= 8251 && t <= 8254 || t >= 8257 && t <= 8259 || t === 8260 || t === 8261 || t === 8262 || t >= 8263 && t <= 8273 || t === 8274 || t === 8275 || t >= 8277 && t <= 8286 || t >= 8592 && t <= 8596 || t >= 8597 && t <= 8601 || t >= 8602 && t <= 8603 || t >= 8604 && t <= 8607 || t === 8608 || t >= 8609 && t <= 8610 || t === 8611 || t >= 8612 && t <= 8613 || t === 8614 || t >= 8615 && t <= 8621 || t === 8622 || t >= 8623 && t <= 8653 || t >= 8654 && t <= 8655 || t >= 8656 && t <= 8657 || t === 8658 || t === 8659 || t === 8660 || t >= 8661 && t <= 8691 || t >= 8692 && t <= 8959 || t >= 8960 && t <= 8967 || t === 8968 || t === 8969 || t === 8970 || t === 8971 || t >= 8972 && t <= 8991 || t >= 8992 && t <= 8993 || t >= 8994 && t <= 9e3 || t === 9001 || t === 9002 || t >= 9003 && t <= 9083 || t === 9084 || t >= 9085 && t <= 9114 || t >= 9115 && t <= 9139 || t >= 9140 && t <= 9179 || t >= 9180 && t <= 9185 || t >= 9186 && t <= 9254 || t >= 9255 && t <= 9279 || t >= 9280 && t <= 9290 || t >= 9291 && t <= 9311 || t >= 9472 && t <= 9654 || t === 9655 || t >= 9656 && t <= 9664 || t === 9665 || t >= 9666 && t <= 9719 || t >= 9720 && t <= 9727 || t >= 9728 && t <= 9838 || t === 9839 || t >= 9840 && t <= 10087 || t === 10088 || t === 10089 || t === 10090 || t === 10091 || t === 10092 || t === 10093 || t === 10094 || t === 10095 || t === 10096 || t === 10097 || t === 10098 || t === 10099 || t === 10100 || t === 10101 || t >= 10132 && t <= 10175 || t >= 10176 && t <= 10180 || t === 10181 || t === 10182 || t >= 10183 && t <= 10213 || t === 10214 || t === 10215 || t === 10216 || t === 10217 || t === 10218 || t === 10219 || t === 10220 || t === 10221 || t === 10222 || t === 10223 || t >= 10224 && t <= 10239 || t >= 10240 && t <= 10495 || t >= 10496 && t <= 10626 || t === 10627 || t === 10628 || t === 10629 || t === 10630 || t === 10631 || t === 10632 || t === 10633 || t === 10634 || t === 10635 || t === 10636 || t === 10637 || t === 10638 || t === 10639 || t === 10640 || t === 10641 || t === 10642 || t === 10643 || t === 10644 || t === 10645 || t === 10646 || t === 10647 || t === 10648 || t >= 10649 && t <= 10711 || t === 10712 || t === 10713 || t === 10714 || t === 10715 || t >= 10716 && t <= 10747 || t === 10748 || t === 10749 || t >= 10750 && t <= 11007 || t >= 11008 && t <= 11055 || t >= 11056 && t <= 11076 || t >= 11077 && t <= 11078 || t >= 11079 && t <= 11084 || t >= 11085 && t <= 11123 || t >= 11124 && t <= 11125 || t >= 11126 && t <= 11157 || t === 11158 || t >= 11159 && t <= 11263 || t >= 11776 && t <= 11777 || t === 11778 || t === 11779 || t === 11780 || t === 11781 || t >= 11782 && t <= 11784 || t === 11785 || t === 11786 || t === 11787 || t === 11788 || t === 11789 || t >= 11790 && t <= 11798 || t === 11799 || t >= 11800 && t <= 11801 || t === 11802 || t === 11803 || t === 11804 || t === 11805 || t >= 11806 && t <= 11807 || t === 11808 || t === 11809 || t === 11810 || t === 11811 || t === 11812 || t === 11813 || t === 11814 || t === 11815 || t === 11816 || t === 11817 || t >= 11818 && t <= 11822 || t === 11823 || t >= 11824 && t <= 11833 || t >= 11834 && t <= 11835 || t >= 11836 && t <= 11839 || t === 11840 || t === 11841 || t === 11842 || t >= 11843 && t <= 11855 || t >= 11856 && t <= 11857 || t === 11858 || t >= 11859 && t <= 11903 || t >= 12289 && t <= 12291 || t === 12296 || t === 12297 || t === 12298 || t === 12299 || t === 12300 || t === 12301 || t === 12302 || t === 12303 || t === 12304 || t === 12305 || t >= 12306 && t <= 12307 || t === 12308 || t === 12309 || t === 12310 || t === 12311 || t === 12312 || t === 12313 || t === 12314 || t === 12315 || t === 12316 || t === 12317 || t >= 12318 && t <= 12319 || t === 12320 || t === 12336 || t === 64830 || t === 64831 || t >= 65093 && t <= 65094;
2317
2326
  }
2318
- function tt(t) {
2327
+ function rt(t) {
2319
2328
  t.forEach(function(r) {
2320
- if (delete r.location, St(r) || At(r))
2329
+ if (delete r.location, At(r) || Bt(r))
2321
2330
  for (var e in r.options)
2322
- delete r.options[e].location, tt(r.options[e].value);
2331
+ delete r.options[e].location, rt(r.options[e].value);
2323
2332
  else
2324
- Tt(r) && Nt(r.style) || (_t(r) || Ht(r)) && z(r.style) ? delete r.style.location : Bt(r) && tt(r.children);
2333
+ _t(r) && Nt(r.style) || (Ht(r) || St(r)) && q(r.style) ? delete r.style.location : It(r) && rt(r.children);
2325
2334
  });
2326
2335
  }
2327
- function Or(t, r) {
2328
- r === void 0 && (r = {}), r = m({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, r);
2329
- var e = new Ir(t, r).parse();
2336
+ function Cr(t, r) {
2337
+ r === void 0 && (r = {}), r = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, r);
2338
+ var e = new Lr(t, r).parse();
2330
2339
  if (e.err) {
2331
- var n = SyntaxError(g[e.err.kind]);
2340
+ var n = SyntaxError(p[e.err.kind]);
2332
2341
  throw n.location = e.err.location, n.originalMessage = e.err.message, n;
2333
2342
  }
2334
- return r != null && r.captureLocation || tt(e.val), e.val;
2343
+ return r != null && r.captureLocation || rt(e.val), e.val;
2335
2344
  }
2336
2345
  function N(t, r) {
2337
- var e = r && r.cache ? r.cache : Ur, n = r && r.serializer ? r.serializer : Gr, i = r && r.strategy ? r.strategy : Mr;
2346
+ var e = r && r.cache ? r.cache : Fr, n = r && r.serializer ? r.serializer : Ur, i = r && r.strategy ? r.strategy : Dr;
2338
2347
  return i(t, {
2339
2348
  cache: e,
2340
2349
  serializer: n
2341
2350
  });
2342
2351
  }
2343
- function Cr(t) {
2352
+ function Mr(t) {
2344
2353
  return t == null || typeof t == "number" || typeof t == "boolean";
2345
2354
  }
2346
- function Dt(t, r, e, n) {
2347
- var i = Cr(n) ? n : e(n), o = r.get(i);
2355
+ function wt(t, r, e, n) {
2356
+ var i = Mr(n) ? n : e(n), o = r.get(i);
2348
2357
  return typeof o > "u" && (o = t.call(this, n), r.set(i, o)), o;
2349
2358
  }
2350
- function wt(t, r, e) {
2359
+ function Gt(t, r, e) {
2351
2360
  var n = Array.prototype.slice.call(arguments, 3), i = e(n), o = r.get(i);
2352
2361
  return typeof o > "u" && (o = t.apply(this, n), r.set(i, o)), o;
2353
2362
  }
2354
- function rt(t, r, e, n, i) {
2363
+ function et(t, r, e, n, i) {
2355
2364
  return e.bind(r, t, n, i);
2356
2365
  }
2357
- function Mr(t, r) {
2358
- var e = t.length === 1 ? Dt : wt;
2359
- return rt(t, this, e, r.cache.create(), r.serializer);
2360
- }
2361
2366
  function Dr(t, r) {
2362
- return rt(t, this, wt, r.cache.create(), r.serializer);
2367
+ var e = t.length === 1 ? wt : Gt;
2368
+ return et(t, this, e, r.cache.create(), r.serializer);
2363
2369
  }
2364
2370
  function wr(t, r) {
2365
- return rt(t, this, Dt, r.cache.create(), r.serializer);
2371
+ return et(t, this, Gt, r.cache.create(), r.serializer);
2366
2372
  }
2367
- var Gr = function() {
2373
+ function Gr(t, r) {
2374
+ return et(t, this, wt, r.cache.create(), r.serializer);
2375
+ }
2376
+ var Ur = function() {
2368
2377
  return JSON.stringify(arguments);
2369
2378
  };
2370
- function et() {
2379
+ function nt() {
2371
2380
  this.cache = /* @__PURE__ */ Object.create(null);
2372
2381
  }
2373
- et.prototype.get = function(t) {
2382
+ nt.prototype.get = function(t) {
2374
2383
  return this.cache[t];
2375
2384
  };
2376
- et.prototype.set = function(t, r) {
2385
+ nt.prototype.set = function(t, r) {
2377
2386
  this.cache[t] = r;
2378
2387
  };
2379
- var Ur = {
2388
+ var Fr = {
2380
2389
  create: function() {
2381
- return new et();
2390
+ return new nt();
2382
2391
  }
2383
- }, I = {
2384
- variadic: Dr,
2385
- monadic: wr
2386
- }, L;
2392
+ }, L = {
2393
+ variadic: wr,
2394
+ monadic: Gr
2395
+ }, P;
2387
2396
  (function(t) {
2388
2397
  t.MISSING_VALUE = "MISSING_VALUE", t.INVALID_VALUE = "INVALID_VALUE", t.MISSING_INTL_API = "MISSING_INTL_API";
2389
- })(L || (L = {}));
2390
- var R = (
2398
+ })(P || (P = {}));
2399
+ var O = (
2391
2400
  /** @class */
2392
2401
  function(t) {
2393
- B(r, t);
2402
+ I(r, t);
2394
2403
  function r(e, n, i) {
2395
2404
  var o = t.call(this, e) || this;
2396
2405
  return o.code = n, o.originalMessage = i, o;
@@ -2399,155 +2408,155 @@ var R = (
2399
2408
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
2400
2409
  }, r;
2401
2410
  }(Error)
2402
- ), pt = (
2411
+ ), gt = (
2403
2412
  /** @class */
2404
2413
  function(t) {
2405
- B(r, t);
2414
+ I(r, t);
2406
2415
  function r(e, n, i, o) {
2407
- return t.call(this, 'Invalid values for "'.concat(e, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), L.INVALID_VALUE, o) || this;
2416
+ return t.call(this, 'Invalid values for "'.concat(e, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), P.INVALID_VALUE, o) || this;
2408
2417
  }
2409
2418
  return r;
2410
- }(R)
2411
- ), Fr = (
2419
+ }(O)
2420
+ ), kr = (
2412
2421
  /** @class */
2413
2422
  function(t) {
2414
- B(r, t);
2423
+ I(r, t);
2415
2424
  function r(e, n, i) {
2416
- return t.call(this, 'Value for "'.concat(e, '" must be of type ').concat(n), L.INVALID_VALUE, i) || this;
2425
+ return t.call(this, 'Value for "'.concat(e, '" must be of type ').concat(n), P.INVALID_VALUE, i) || this;
2417
2426
  }
2418
2427
  return r;
2419
- }(R)
2420
- ), kr = (
2428
+ }(O)
2429
+ ), jr = (
2421
2430
  /** @class */
2422
2431
  function(t) {
2423
- B(r, t);
2432
+ I(r, t);
2424
2433
  function r(e, n) {
2425
- return t.call(this, 'The intl string context variable "'.concat(e, '" was not provided to the string "').concat(n, '"'), L.MISSING_VALUE, n) || this;
2434
+ return t.call(this, 'The intl string context variable "'.concat(e, '" was not provided to the string "').concat(n, '"'), P.MISSING_VALUE, n) || this;
2426
2435
  }
2427
2436
  return r;
2428
- }(R)
2429
- ), H;
2437
+ }(O)
2438
+ ), S;
2430
2439
  (function(t) {
2431
2440
  t[t.literal = 0] = "literal", t[t.object = 1] = "object";
2432
- })(H || (H = {}));
2433
- function jr(t) {
2441
+ })(S || (S = {}));
2442
+ function Vr(t) {
2434
2443
  return t.length < 2 ? t : t.reduce(function(r, e) {
2435
2444
  var n = r[r.length - 1];
2436
- return !n || n.type !== H.literal || e.type !== H.literal ? r.push(e) : n.value += e.value, r;
2445
+ return !n || n.type !== S.literal || e.type !== S.literal ? r.push(e) : n.value += e.value, r;
2437
2446
  }, []);
2438
2447
  }
2439
- function Vr(t) {
2448
+ function xr(t) {
2440
2449
  return typeof t == "function";
2441
2450
  }
2442
- function x(t, r, e, n, i, o, a) {
2443
- if (t.length === 1 && st(t[0]))
2451
+ function X(t, r, e, n, i, o, a) {
2452
+ if (t.length === 1 && ht(t[0]))
2444
2453
  return [
2445
2454
  {
2446
- type: H.literal,
2455
+ type: S.literal,
2447
2456
  value: t[0].value
2448
2457
  }
2449
2458
  ];
2450
2459
  for (var s = [], c = 0, u = t; c < u.length; c++) {
2451
2460
  var h = u[c];
2452
- if (st(h)) {
2461
+ if (ht(h)) {
2453
2462
  s.push({
2454
- type: H.literal,
2463
+ type: S.literal,
2455
2464
  value: h.value
2456
2465
  });
2457
2466
  continue;
2458
2467
  }
2459
- if (ir(h)) {
2468
+ if (or(h)) {
2460
2469
  typeof o == "number" && s.push({
2461
- type: H.literal,
2470
+ type: S.literal,
2462
2471
  value: e.getNumberFormat(r).format(o)
2463
2472
  });
2464
2473
  continue;
2465
2474
  }
2466
2475
  var l = h.value;
2467
2476
  if (!(i && l in i))
2468
- throw new kr(l, a);
2477
+ throw new jr(l, a);
2469
2478
  var f = i[l];
2470
- if (nr(h)) {
2479
+ if (ir(h)) {
2471
2480
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
2472
- type: typeof f == "string" ? H.literal : H.object,
2481
+ type: typeof f == "string" ? S.literal : S.object,
2473
2482
  value: f
2474
2483
  });
2475
2484
  continue;
2476
2485
  }
2477
- if (_t(h)) {
2478
- var p = typeof h.style == "string" ? n.date[h.style] : z(h.style) ? h.style.parsedOptions : void 0;
2486
+ if (Ht(h)) {
2487
+ var m = typeof h.style == "string" ? n.date[h.style] : q(h.style) ? h.style.parsedOptions : void 0;
2479
2488
  s.push({
2480
- type: H.literal,
2481
- value: e.getDateTimeFormat(r, p).format(f)
2489
+ type: S.literal,
2490
+ value: e.getDateTimeFormat(r, m).format(f)
2482
2491
  });
2483
2492
  continue;
2484
2493
  }
2485
- if (Ht(h)) {
2486
- var p = typeof h.style == "string" ? n.time[h.style] : z(h.style) ? h.style.parsedOptions : n.time.medium;
2494
+ if (St(h)) {
2495
+ var m = typeof h.style == "string" ? n.time[h.style] : q(h.style) ? h.style.parsedOptions : n.time.medium;
2487
2496
  s.push({
2488
- type: H.literal,
2489
- value: e.getDateTimeFormat(r, p).format(f)
2497
+ type: S.literal,
2498
+ value: e.getDateTimeFormat(r, m).format(f)
2490
2499
  });
2491
2500
  continue;
2492
2501
  }
2493
- if (Tt(h)) {
2494
- var p = typeof h.style == "string" ? n.number[h.style] : Nt(h.style) ? h.style.parsedOptions : void 0;
2495
- p && p.scale && (f = f * (p.scale || 1)), s.push({
2496
- type: H.literal,
2497
- value: e.getNumberFormat(r, p).format(f)
2502
+ if (_t(h)) {
2503
+ var m = typeof h.style == "string" ? n.number[h.style] : Nt(h.style) ? h.style.parsedOptions : void 0;
2504
+ m && m.scale && (f = f * (m.scale || 1)), s.push({
2505
+ type: S.literal,
2506
+ value: e.getNumberFormat(r, m).format(f)
2498
2507
  });
2499
2508
  continue;
2500
2509
  }
2501
- if (Bt(h)) {
2502
- var d = h.children, b = h.value, v = i[b];
2503
- if (!Vr(v))
2504
- throw new Fr(b, "function", a);
2505
- var T = x(d, r, e, n, i, o), S = v(T.map(function(O) {
2506
- return O.value;
2510
+ if (It(h)) {
2511
+ var v = h.children, E = h.value, T = i[E];
2512
+ if (!xr(T))
2513
+ throw new kr(E, "function", a);
2514
+ var _ = X(v, r, e, n, i, o), A = T(_.map(function(C) {
2515
+ return C.value;
2507
2516
  }));
2508
- Array.isArray(S) || (S = [S]), s.push.apply(s, S.map(function(O) {
2517
+ Array.isArray(A) || (A = [A]), s.push.apply(s, A.map(function(C) {
2509
2518
  return {
2510
- type: typeof O == "string" ? H.literal : H.object,
2511
- value: O
2519
+ type: typeof C == "string" ? S.literal : S.object,
2520
+ value: C
2512
2521
  };
2513
2522
  }));
2514
2523
  }
2515
- if (St(h)) {
2516
- var _ = h.options[f] || h.options.other;
2517
- if (!_)
2518
- throw new pt(h.value, f, Object.keys(h.options), a);
2519
- s.push.apply(s, x(_.value, r, e, n, i));
2524
+ if (At(h)) {
2525
+ var H = h.options[f] || h.options.other;
2526
+ if (!H)
2527
+ throw new gt(h.value, f, Object.keys(h.options), a);
2528
+ s.push.apply(s, X(H.value, r, e, n, i));
2520
2529
  continue;
2521
2530
  }
2522
- if (At(h)) {
2523
- var _ = h.options["=".concat(f)];
2524
- if (!_) {
2531
+ if (Bt(h)) {
2532
+ var H = h.options["=".concat(f)];
2533
+ if (!H) {
2525
2534
  if (!Intl.PluralRules)
2526
- throw new R(`Intl.PluralRules is not available in this environment.
2535
+ throw new O(`Intl.PluralRules is not available in this environment.
2527
2536
  Try polyfilling it using "@formatjs/intl-pluralrules"
2528
- `, L.MISSING_INTL_API, a);
2529
- var G = e.getPluralRules(r, { type: h.pluralType }).select(f - (h.offset || 0));
2530
- _ = h.options[G] || h.options.other;
2537
+ `, P.MISSING_INTL_API, a);
2538
+ var U = e.getPluralRules(r, { type: h.pluralType }).select(f - (h.offset || 0));
2539
+ H = h.options[U] || h.options.other;
2531
2540
  }
2532
- if (!_)
2533
- throw new pt(h.value, f, Object.keys(h.options), a);
2534
- s.push.apply(s, x(_.value, r, e, n, i, f - (h.offset || 0)));
2541
+ if (!H)
2542
+ throw new gt(h.value, f, Object.keys(h.options), a);
2543
+ s.push.apply(s, X(H.value, r, e, n, i, f - (h.offset || 0)));
2535
2544
  continue;
2536
2545
  }
2537
2546
  }
2538
- return jr(s);
2547
+ return Vr(s);
2539
2548
  }
2540
- function xr(t, r) {
2541
- return r ? m(m(m({}, t || {}), r || {}), Object.keys(t).reduce(function(e, n) {
2542
- return e[n] = m(m({}, t[n]), r[n] || {}), e;
2549
+ function Xr(t, r) {
2550
+ return r ? b(b(b({}, t || {}), r || {}), Object.keys(t).reduce(function(e, n) {
2551
+ return e[n] = b(b({}, t[n]), r[n] || {}), e;
2543
2552
  }, {})) : t;
2544
2553
  }
2545
- function Xr(t, r) {
2554
+ function Kr(t, r) {
2546
2555
  return r ? Object.keys(t).reduce(function(e, n) {
2547
- return e[n] = xr(t[n], r[n]), e;
2548
- }, m({}, t)) : t;
2556
+ return e[n] = Xr(t[n], r[n]), e;
2557
+ }, b({}, t)) : t;
2549
2558
  }
2550
- function Z(t) {
2559
+ function Y(t) {
2551
2560
  return {
2552
2561
  create: function() {
2553
2562
  return {
@@ -2561,7 +2570,7 @@ function Z(t) {
2561
2570
  }
2562
2571
  };
2563
2572
  }
2564
- function Kr(t) {
2573
+ function Zr(t) {
2565
2574
  return t === void 0 && (t = {
2566
2575
  number: {},
2567
2576
  dateTime: {},
@@ -2570,30 +2579,30 @@ function Kr(t) {
2570
2579
  getNumberFormat: N(function() {
2571
2580
  for (var r, e = [], n = 0; n < arguments.length; n++)
2572
2581
  e[n] = arguments[n];
2573
- return new ((r = Intl.NumberFormat).bind.apply(r, P([void 0], e, !1)))();
2582
+ return new ((r = Intl.NumberFormat).bind.apply(r, R([void 0], e, !1)))();
2574
2583
  }, {
2575
- cache: Z(t.number),
2576
- strategy: I.variadic
2584
+ cache: Y(t.number),
2585
+ strategy: L.variadic
2577
2586
  }),
2578
2587
  getDateTimeFormat: N(function() {
2579
2588
  for (var r, e = [], n = 0; n < arguments.length; n++)
2580
2589
  e[n] = arguments[n];
2581
- return new ((r = Intl.DateTimeFormat).bind.apply(r, P([void 0], e, !1)))();
2590
+ return new ((r = Intl.DateTimeFormat).bind.apply(r, R([void 0], e, !1)))();
2582
2591
  }, {
2583
- cache: Z(t.dateTime),
2584
- strategy: I.variadic
2592
+ cache: Y(t.dateTime),
2593
+ strategy: L.variadic
2585
2594
  }),
2586
2595
  getPluralRules: N(function() {
2587
2596
  for (var r, e = [], n = 0; n < arguments.length; n++)
2588
2597
  e[n] = arguments[n];
2589
- return new ((r = Intl.PluralRules).bind.apply(r, P([void 0], e, !1)))();
2598
+ return new ((r = Intl.PluralRules).bind.apply(r, R([void 0], e, !1)))();
2590
2599
  }, {
2591
- cache: Z(t.pluralRules),
2592
- strategy: I.variadic
2600
+ cache: Y(t.pluralRules),
2601
+ strategy: L.variadic
2593
2602
  })
2594
2603
  };
2595
2604
  }
2596
- var Gt = (
2605
+ var Ut = (
2597
2606
  /** @class */
2598
2607
  function() {
2599
2608
  function t(r, e, n, i) {
@@ -2608,11 +2617,11 @@ var Gt = (
2608
2617
  if (u.length === 1)
2609
2618
  return u[0].value;
2610
2619
  var h = u.reduce(function(l, f) {
2611
- return !l.length || f.type !== H.literal || typeof l[l.length - 1] != "string" ? l.push(f.value) : l[l.length - 1] += f.value, l;
2620
+ return !l.length || f.type !== S.literal || typeof l[l.length - 1] != "string" ? l.push(f.value) : l[l.length - 1] += f.value, l;
2612
2621
  }, []);
2613
2622
  return h.length <= 1 ? h[0] || "" : h;
2614
2623
  }, this.formatToParts = function(c) {
2615
- return x(o.ast, o.locales, o.formatters, o.formats, c, void 0, o.message);
2624
+ return X(o.ast, o.locales, o.formatters, o.formats, c, void 0, o.message);
2616
2625
  }, this.resolvedOptions = function() {
2617
2626
  var c;
2618
2627
  return {
@@ -2625,13 +2634,13 @@ var Gt = (
2625
2634
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
2626
2635
  var a = i || {};
2627
2636
  a.formatters;
2628
- var s = er(a, ["formatters"]);
2629
- this.ast = t.__parse(r, m(m({}, s), { locale: this.resolvedLocale }));
2637
+ var s = nr(a, ["formatters"]);
2638
+ this.ast = t.__parse(r, b(b({}, s), { locale: this.resolvedLocale }));
2630
2639
  } else
2631
2640
  this.ast = r;
2632
2641
  if (!Array.isArray(this.ast))
2633
2642
  throw new TypeError("A message must be provided as a String or AST.");
2634
- this.formats = Xr(t.formats, n), this.formatters = i && i.formatters || Kr(this.formatterCache);
2643
+ this.formats = Kr(t.formats, n), this.formatters = i && i.formatters || Zr(this.formatterCache);
2635
2644
  }
2636
2645
  return Object.defineProperty(t, "defaultLocale", {
2637
2646
  get: function() {
@@ -2644,7 +2653,7 @@ var Gt = (
2644
2653
  var e = Intl.NumberFormat.supportedLocalesOf(r);
2645
2654
  return e.length > 0 ? new Intl.Locale(e[0]) : new Intl.Locale(typeof r == "string" ? r : r[0]);
2646
2655
  }
2647
- }, t.__parse = Or, t.formats = {
2656
+ }, t.__parse = Cr, t.formats = {
2648
2657
  number: {
2649
2658
  integer: {
2650
2659
  maximumFractionDigits: 0
@@ -2704,14 +2713,14 @@ var Gt = (
2704
2713
  }
2705
2714
  }, t;
2706
2715
  }()
2707
- ), M;
2716
+ ), D;
2708
2717
  (function(t) {
2709
2718
  t.FORMAT_ERROR = "FORMAT_ERROR", t.UNSUPPORTED_FORMATTER = "UNSUPPORTED_FORMATTER", t.INVALID_CONFIG = "INVALID_CONFIG", t.MISSING_DATA = "MISSING_DATA", t.MISSING_TRANSLATION = "MISSING_TRANSLATION";
2710
- })(M || (M = {}));
2711
- var F = (
2719
+ })(D || (D = {}));
2720
+ var k = (
2712
2721
  /** @class */
2713
2722
  function(t) {
2714
- B(r, t);
2723
+ I(r, t);
2715
2724
  function r(e, n, i) {
2716
2725
  var o = this, a = i ? i instanceof Error ? i : new Error(String(i)) : void 0;
2717
2726
  return o = t.call(this, "[@formatjs/intl Error ".concat(e, "] ").concat(n, `
@@ -2721,49 +2730,49 @@ var F = (
2721
2730
  }
2722
2731
  return r;
2723
2732
  }(Error)
2724
- ), Zr = (
2733
+ ), Yr = (
2725
2734
  /** @class */
2726
2735
  function(t) {
2727
- B(r, t);
2736
+ I(r, t);
2728
2737
  function r(e, n) {
2729
- return t.call(this, M.UNSUPPORTED_FORMATTER, e, n) || this;
2738
+ return t.call(this, D.UNSUPPORTED_FORMATTER, e, n) || this;
2730
2739
  }
2731
2740
  return r;
2732
- }(F)
2733
- ), Yr = (
2741
+ }(k)
2742
+ ), Wr = (
2734
2743
  /** @class */
2735
2744
  function(t) {
2736
- B(r, t);
2745
+ I(r, t);
2737
2746
  function r(e, n) {
2738
- return t.call(this, M.INVALID_CONFIG, e, n) || this;
2747
+ return t.call(this, D.INVALID_CONFIG, e, n) || this;
2739
2748
  }
2740
2749
  return r;
2741
- }(F)
2742
- ), gt = (
2750
+ }(k)
2751
+ ), bt = (
2743
2752
  /** @class */
2744
2753
  function(t) {
2745
- B(r, t);
2754
+ I(r, t);
2746
2755
  function r(e, n) {
2747
- return t.call(this, M.MISSING_DATA, e, n) || this;
2756
+ return t.call(this, D.MISSING_DATA, e, n) || this;
2748
2757
  }
2749
2758
  return r;
2750
- }(F)
2751
- ), A = (
2759
+ }(k)
2760
+ ), B = (
2752
2761
  /** @class */
2753
2762
  function(t) {
2754
- B(r, t);
2763
+ I(r, t);
2755
2764
  function r(e, n, i) {
2756
- var o = t.call(this, M.FORMAT_ERROR, "".concat(e, `
2765
+ var o = t.call(this, D.FORMAT_ERROR, "".concat(e, `
2757
2766
  Locale: `).concat(n, `
2758
2767
  `), i) || this;
2759
2768
  return o.locale = n, o;
2760
2769
  }
2761
2770
  return r;
2762
- }(F)
2763
- ), Y = (
2771
+ }(k)
2772
+ ), W = (
2764
2773
  /** @class */
2765
2774
  function(t) {
2766
- B(r, t);
2775
+ I(r, t);
2767
2776
  function r(e, n, i, o) {
2768
2777
  var a = t.call(this, "".concat(e, `
2769
2778
  MessageID: `).concat(i == null ? void 0 : i.id, `
@@ -2773,41 +2782,41 @@ Description: `).concat(i == null ? void 0 : i.description, `
2773
2782
  return a.descriptor = i, a.locale = n, a;
2774
2783
  }
2775
2784
  return r;
2776
- }(A)
2777
- ), Wr = (
2785
+ }(B)
2786
+ ), zr = (
2778
2787
  /** @class */
2779
2788
  function(t) {
2780
- B(r, t);
2789
+ I(r, t);
2781
2790
  function r(e, n) {
2782
- var i = t.call(this, M.MISSING_TRANSLATION, 'Missing message: "'.concat(e.id, '" for locale "').concat(n, '", using ').concat(e.defaultMessage ? "default message (".concat(typeof e.defaultMessage == "string" ? e.defaultMessage : e.defaultMessage.map(function(o) {
2791
+ var i = t.call(this, D.MISSING_TRANSLATION, 'Missing message: "'.concat(e.id, '" for locale "').concat(n, '", using ').concat(e.defaultMessage ? "default message (".concat(typeof e.defaultMessage == "string" ? e.defaultMessage : e.defaultMessage.map(function(o) {
2783
2792
  var a;
2784
2793
  return (a = o.value) !== null && a !== void 0 ? a : JSON.stringify(o);
2785
2794
  }).join(), ")") : "id", " as fallback.")) || this;
2786
2795
  return i.descriptor = e, i;
2787
2796
  }
2788
2797
  return r;
2789
- }(F)
2798
+ }(k)
2790
2799
  );
2791
- function D(t, r, e) {
2800
+ function w(t, r, e) {
2792
2801
  return e === void 0 && (e = {}), r.reduce(function(n, i) {
2793
2802
  return i in t ? n[i] = t[i] : i in e && (n[i] = e[i]), n;
2794
2803
  }, {});
2795
2804
  }
2796
- var zr = function(t) {
2805
+ var qr = function(t) {
2797
2806
  process.env.NODE_ENV !== "production" && console.error(t);
2798
- }, qr = function(t) {
2807
+ }, Qr = function(t) {
2799
2808
  process.env.NODE_ENV !== "production" && console.warn(t);
2800
- }, Qr = {
2809
+ }, Jr = {
2801
2810
  formats: {},
2802
2811
  messages: {},
2803
2812
  timeZone: void 0,
2804
2813
  defaultLocale: "en",
2805
2814
  defaultFormats: {},
2806
2815
  fallbackOnEmptyString: !0,
2807
- onError: zr,
2808
- onWarn: qr
2816
+ onError: qr,
2817
+ onWarn: Qr
2809
2818
  };
2810
- function Ut() {
2819
+ function Ft() {
2811
2820
  return {
2812
2821
  dateTime: {},
2813
2822
  number: {},
@@ -2818,7 +2827,7 @@ function Ut() {
2818
2827
  displayNames: {}
2819
2828
  };
2820
2829
  }
2821
- function C(t) {
2830
+ function M(t) {
2822
2831
  return {
2823
2832
  create: function() {
2824
2833
  return {
@@ -2832,139 +2841,139 @@ function C(t) {
2832
2841
  }
2833
2842
  };
2834
2843
  }
2835
- function Jr(t) {
2836
- t === void 0 && (t = Ut());
2844
+ function $r(t) {
2845
+ t === void 0 && (t = Ft());
2837
2846
  var r = Intl.RelativeTimeFormat, e = Intl.ListFormat, n = Intl.DisplayNames, i = N(function() {
2838
2847
  for (var s, c = [], u = 0; u < arguments.length; u++)
2839
2848
  c[u] = arguments[u];
2840
- return new ((s = Intl.DateTimeFormat).bind.apply(s, P([void 0], c, !1)))();
2849
+ return new ((s = Intl.DateTimeFormat).bind.apply(s, R([void 0], c, !1)))();
2841
2850
  }, {
2842
- cache: C(t.dateTime),
2843
- strategy: I.variadic
2851
+ cache: M(t.dateTime),
2852
+ strategy: L.variadic
2844
2853
  }), o = N(function() {
2845
2854
  for (var s, c = [], u = 0; u < arguments.length; u++)
2846
2855
  c[u] = arguments[u];
2847
- return new ((s = Intl.NumberFormat).bind.apply(s, P([void 0], c, !1)))();
2856
+ return new ((s = Intl.NumberFormat).bind.apply(s, R([void 0], c, !1)))();
2848
2857
  }, {
2849
- cache: C(t.number),
2850
- strategy: I.variadic
2858
+ cache: M(t.number),
2859
+ strategy: L.variadic
2851
2860
  }), a = N(function() {
2852
2861
  for (var s, c = [], u = 0; u < arguments.length; u++)
2853
2862
  c[u] = arguments[u];
2854
- return new ((s = Intl.PluralRules).bind.apply(s, P([void 0], c, !1)))();
2863
+ return new ((s = Intl.PluralRules).bind.apply(s, R([void 0], c, !1)))();
2855
2864
  }, {
2856
- cache: C(t.pluralRules),
2857
- strategy: I.variadic
2865
+ cache: M(t.pluralRules),
2866
+ strategy: L.variadic
2858
2867
  });
2859
2868
  return {
2860
2869
  getDateTimeFormat: i,
2861
2870
  getNumberFormat: o,
2862
2871
  getMessageFormat: N(function(s, c, u, h) {
2863
- return new Gt(s, c, u, m({ formatters: {
2872
+ return new Ut(s, c, u, b({ formatters: {
2864
2873
  getNumberFormat: o,
2865
2874
  getDateTimeFormat: i,
2866
2875
  getPluralRules: a
2867
2876
  } }, h || {}));
2868
2877
  }, {
2869
- cache: C(t.message),
2870
- strategy: I.variadic
2878
+ cache: M(t.message),
2879
+ strategy: L.variadic
2871
2880
  }),
2872
2881
  getRelativeTimeFormat: N(function() {
2873
2882
  for (var s = [], c = 0; c < arguments.length; c++)
2874
2883
  s[c] = arguments[c];
2875
- return new (r.bind.apply(r, P([void 0], s, !1)))();
2884
+ return new (r.bind.apply(r, R([void 0], s, !1)))();
2876
2885
  }, {
2877
- cache: C(t.relativeTime),
2878
- strategy: I.variadic
2886
+ cache: M(t.relativeTime),
2887
+ strategy: L.variadic
2879
2888
  }),
2880
2889
  getPluralRules: a,
2881
2890
  getListFormat: N(function() {
2882
2891
  for (var s = [], c = 0; c < arguments.length; c++)
2883
2892
  s[c] = arguments[c];
2884
- return new (e.bind.apply(e, P([void 0], s, !1)))();
2893
+ return new (e.bind.apply(e, R([void 0], s, !1)))();
2885
2894
  }, {
2886
- cache: C(t.list),
2887
- strategy: I.variadic
2895
+ cache: M(t.list),
2896
+ strategy: L.variadic
2888
2897
  }),
2889
2898
  getDisplayNames: N(function() {
2890
2899
  for (var s = [], c = 0; c < arguments.length; c++)
2891
2900
  s[c] = arguments[c];
2892
- return new (n.bind.apply(n, P([void 0], s, !1)))();
2901
+ return new (n.bind.apply(n, R([void 0], s, !1)))();
2893
2902
  }, {
2894
- cache: C(t.displayNames),
2895
- strategy: I.variadic
2903
+ cache: M(t.displayNames),
2904
+ strategy: L.variadic
2896
2905
  })
2897
2906
  };
2898
2907
  }
2899
- function nt(t, r, e, n) {
2908
+ function it(t, r, e, n) {
2900
2909
  var i = t && t[r], o;
2901
2910
  if (i && (o = i[e]), o)
2902
2911
  return o;
2903
- n(new Zr("No ".concat(r, " format named: ").concat(e)));
2912
+ n(new Yr("No ".concat(r, " format named: ").concat(e)));
2904
2913
  }
2905
- function $r(t, r, e) {
2914
+ function te(t, r, e) {
2906
2915
  if (e === void 0 && (e = Error), !t)
2907
2916
  throw new e(r);
2908
2917
  }
2909
- function V(t, r) {
2918
+ function x(t, r) {
2910
2919
  return Object.keys(t).reduce(function(e, n) {
2911
- return e[n] = m({ timeZone: r }, t[n]), e;
2920
+ return e[n] = b({ timeZone: r }, t[n]), e;
2912
2921
  }, {});
2913
2922
  }
2914
2923
  function Et(t, r) {
2915
- var e = Object.keys(m(m({}, t), r));
2924
+ var e = Object.keys(b(b({}, t), r));
2916
2925
  return e.reduce(function(n, i) {
2917
- return n[i] = m(m({}, t[i] || {}), r[i] || {}), n;
2926
+ return n[i] = b(b({}, t[i] || {}), r[i] || {}), n;
2918
2927
  }, {});
2919
2928
  }
2920
- function bt(t, r) {
2929
+ function yt(t, r) {
2921
2930
  if (!r)
2922
2931
  return t;
2923
- var e = Gt.formats;
2924
- return m(m(m({}, e), t), { date: Et(V(e.date, r), V(t.date || {}, r)), time: Et(V(e.time, r), V(t.time || {}, r)) });
2932
+ var e = Ut.formats;
2933
+ return b(b(b({}, e), t), { date: Et(x(e.date, r), x(t.date || {}, r)), time: Et(x(e.time, r), x(t.time || {}, r)) });
2925
2934
  }
2926
- var yt = function(t, r, e, n, i) {
2927
- var o = t.locale, a = t.formats, s = t.messages, c = t.defaultLocale, u = t.defaultFormats, h = t.fallbackOnEmptyString, l = t.onError, f = t.timeZone, p = t.defaultRichTextElements;
2935
+ var dt = function(t, r, e, n, i) {
2936
+ var o = t.locale, a = t.formats, s = t.messages, c = t.defaultLocale, u = t.defaultFormats, h = t.fallbackOnEmptyString, l = t.onError, f = t.timeZone, m = t.defaultRichTextElements;
2928
2937
  e === void 0 && (e = { id: "" });
2929
- var d = e.id, b = e.defaultMessage;
2930
- $r(!!d, "[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");
2931
- var v = String(d), T = (
2938
+ var v = e.id, E = e.defaultMessage;
2939
+ te(!!v, "[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");
2940
+ var T = String(v), _ = (
2932
2941
  // In case messages is Object.create(null)
2933
2942
  // e.g import('foo.json') from webpack)
2934
2943
  // See https://github.com/formatjs/formatjs/issues/1914
2935
- s && Object.prototype.hasOwnProperty.call(s, v) && s[v]
2944
+ s && Object.prototype.hasOwnProperty.call(s, T) && s[T]
2936
2945
  );
2937
- if (Array.isArray(T) && T.length === 1 && T[0].type === y.literal)
2938
- return T[0].value;
2939
- if (!n && T && typeof T == "string" && !p)
2940
- return T.replace(/'\{(.*?)\}'/gi, "{$1}");
2941
- if (n = m(m({}, p), n || {}), a = bt(a, f), u = bt(u, f), !T) {
2942
- if (h === !1 && T === "")
2943
- return T;
2944
- if ((!b || o && o.toLowerCase() !== c.toLowerCase()) && l(new Wr(e, o)), b)
2946
+ if (Array.isArray(_) && _.length === 1 && _[0].type === y.literal)
2947
+ return _[0].value;
2948
+ if (!n && _ && typeof _ == "string" && !m)
2949
+ return _.replace(/'\{(.*?)\}'/gi, "{$1}");
2950
+ if (n = b(b({}, m), n || {}), a = yt(a, f), u = yt(u, f), !_) {
2951
+ if (h === !1 && _ === "")
2952
+ return _;
2953
+ if ((!E || o && o.toLowerCase() !== c.toLowerCase()) && l(new zr(e, o)), E)
2945
2954
  try {
2946
- var S = r.getMessageFormat(b, c, u, i);
2947
- return S.format(n);
2948
- } catch (_) {
2949
- return l(new Y('Error formatting default message for: "'.concat(v, '", rendering default message verbatim'), o, e, _)), typeof b == "string" ? b : v;
2955
+ var A = r.getMessageFormat(E, c, u, i);
2956
+ return A.format(n);
2957
+ } catch (H) {
2958
+ return l(new W('Error formatting default message for: "'.concat(T, '", rendering default message verbatim'), o, e, H)), typeof E == "string" ? E : T;
2950
2959
  }
2951
- return v;
2960
+ return T;
2952
2961
  }
2953
2962
  try {
2954
- var S = r.getMessageFormat(T, o, a, m({ formatters: r }, i || {}));
2955
- return S.format(n);
2956
- } catch (_) {
2957
- l(new Y('Error formatting message: "'.concat(v, '", using ').concat(b ? "default message" : "id", " as fallback."), o, e, _));
2963
+ var A = r.getMessageFormat(_, o, a, b({ formatters: r }, i || {}));
2964
+ return A.format(n);
2965
+ } catch (H) {
2966
+ l(new W('Error formatting message: "'.concat(T, '", using ').concat(E ? "default message" : "id", " as fallback."), o, e, H));
2958
2967
  }
2959
- if (b)
2968
+ if (E)
2960
2969
  try {
2961
- var S = r.getMessageFormat(b, c, u, i);
2962
- return S.format(n);
2963
- } catch (_) {
2964
- l(new Y('Error formatting the default message for: "'.concat(v, '", rendering message verbatim'), o, e, _));
2970
+ var A = r.getMessageFormat(E, c, u, i);
2971
+ return A.format(n);
2972
+ } catch (H) {
2973
+ l(new W('Error formatting the default message for: "'.concat(T, '", rendering message verbatim'), o, e, H));
2965
2974
  }
2966
- return typeof T == "string" ? T : typeof b == "string" ? b : v;
2967
- }, Ft = [
2975
+ return typeof _ == "string" ? _ : typeof E == "string" ? E : T;
2976
+ }, kt = [
2968
2977
  "formatMatcher",
2969
2978
  "timeZone",
2970
2979
  "hour12",
@@ -2985,159 +2994,159 @@ var yt = function(t, r, e, n, i) {
2985
2994
  "numberingSystem",
2986
2995
  "fractionalSecondDigits"
2987
2996
  ];
2988
- function X(t, r, e, n) {
2997
+ function K(t, r, e, n) {
2989
2998
  var i = t.locale, o = t.formats, a = t.onError, s = t.timeZone;
2990
2999
  n === void 0 && (n = {});
2991
- var c = n.format, u = m(m({}, s && { timeZone: s }), c && nt(o, r, c, a)), h = D(n, Ft, u);
2992
- return r === "time" && !h.hour && !h.minute && !h.second && !h.timeStyle && !h.dateStyle && (h = m(m({}, h), { hour: "numeric", minute: "numeric" })), e(i, h);
3000
+ var c = n.format, u = b(b({}, s && { timeZone: s }), c && it(o, r, c, a)), h = w(n, kt, u);
3001
+ return r === "time" && !h.hour && !h.minute && !h.second && !h.timeStyle && !h.dateStyle && (h = b(b({}, h), { hour: "numeric", minute: "numeric" })), e(i, h);
2993
3002
  }
2994
- function te(t, r) {
3003
+ function re(t, r) {
2995
3004
  for (var e = [], n = 2; n < arguments.length; n++)
2996
3005
  e[n - 2] = arguments[n];
2997
3006
  var i = e[0], o = e[1], a = o === void 0 ? {} : o, s = typeof i == "string" ? new Date(i || 0) : i;
2998
3007
  try {
2999
- return X(t, "date", r, a).format(s);
3008
+ return K(t, "date", r, a).format(s);
3000
3009
  } catch (c) {
3001
- t.onError(new A("Error formatting date.", t.locale, c));
3010
+ t.onError(new B("Error formatting date.", t.locale, c));
3002
3011
  }
3003
3012
  return String(s);
3004
3013
  }
3005
- function re(t, r) {
3014
+ function ee(t, r) {
3006
3015
  for (var e = [], n = 2; n < arguments.length; n++)
3007
3016
  e[n - 2] = arguments[n];
3008
3017
  var i = e[0], o = e[1], a = o === void 0 ? {} : o, s = typeof i == "string" ? new Date(i || 0) : i;
3009
3018
  try {
3010
- return X(t, "time", r, a).format(s);
3019
+ return K(t, "time", r, a).format(s);
3011
3020
  } catch (c) {
3012
- t.onError(new A("Error formatting time.", t.locale, c));
3021
+ t.onError(new B("Error formatting time.", t.locale, c));
3013
3022
  }
3014
3023
  return String(s);
3015
3024
  }
3016
- function ee(t, r) {
3025
+ function ne(t, r) {
3017
3026
  for (var e = [], n = 2; n < arguments.length; n++)
3018
3027
  e[n - 2] = arguments[n];
3019
- var i = e[0], o = e[1], a = e[2], s = a === void 0 ? {} : a, c = t.timeZone, u = t.locale, h = t.onError, l = D(s, Ft, c ? { timeZone: c } : {});
3028
+ var i = e[0], o = e[1], a = e[2], s = a === void 0 ? {} : a, c = t.timeZone, u = t.locale, h = t.onError, l = w(s, kt, c ? { timeZone: c } : {});
3020
3029
  try {
3021
3030
  return r(u, l).formatRange(i, o);
3022
3031
  } catch (f) {
3023
- h(new A("Error formatting date time range.", t.locale, f));
3032
+ h(new B("Error formatting date time range.", t.locale, f));
3024
3033
  }
3025
3034
  return String(i);
3026
3035
  }
3027
- function ne(t, r) {
3036
+ function ie(t, r) {
3028
3037
  for (var e = [], n = 2; n < arguments.length; n++)
3029
3038
  e[n - 2] = arguments[n];
3030
3039
  var i = e[0], o = e[1], a = o === void 0 ? {} : o, s = typeof i == "string" ? new Date(i || 0) : i;
3031
3040
  try {
3032
- return X(t, "date", r, a).formatToParts(s);
3041
+ return K(t, "date", r, a).formatToParts(s);
3033
3042
  } catch (c) {
3034
- t.onError(new A("Error formatting date.", t.locale, c));
3043
+ t.onError(new B("Error formatting date.", t.locale, c));
3035
3044
  }
3036
3045
  return [];
3037
3046
  }
3038
- function ie(t, r) {
3047
+ function oe(t, r) {
3039
3048
  for (var e = [], n = 2; n < arguments.length; n++)
3040
3049
  e[n - 2] = arguments[n];
3041
3050
  var i = e[0], o = e[1], a = o === void 0 ? {} : o, s = typeof i == "string" ? new Date(i || 0) : i;
3042
3051
  try {
3043
- return X(t, "time", r, a).formatToParts(s);
3052
+ return K(t, "time", r, a).formatToParts(s);
3044
3053
  } catch (c) {
3045
- t.onError(new A("Error formatting time.", t.locale, c));
3054
+ t.onError(new B("Error formatting time.", t.locale, c));
3046
3055
  }
3047
3056
  return [];
3048
3057
  }
3049
- var oe = [
3058
+ var ae = [
3050
3059
  "style",
3051
3060
  "type",
3052
3061
  "fallback",
3053
3062
  "languageDisplay"
3054
3063
  ];
3055
- function ae(t, r, e, n) {
3064
+ function se(t, r, e, n) {
3056
3065
  var i = t.locale, o = t.onError, a = Intl.DisplayNames;
3057
- a || o(new R(`Intl.DisplayNames is not available in this environment.
3066
+ a || o(new O(`Intl.DisplayNames is not available in this environment.
3058
3067
  Try polyfilling it using "@formatjs/intl-displaynames"
3059
- `, L.MISSING_INTL_API));
3060
- var s = D(n, oe);
3068
+ `, P.MISSING_INTL_API));
3069
+ var s = w(n, ae);
3061
3070
  try {
3062
3071
  return r(i, s).of(e);
3063
3072
  } catch (c) {
3064
- o(new A("Error formatting display name.", i, c));
3073
+ o(new B("Error formatting display name.", i, c));
3065
3074
  }
3066
3075
  }
3067
- var se = [
3076
+ var he = [
3068
3077
  "type",
3069
3078
  "style"
3070
- ], dt = Date.now();
3071
- function he(t) {
3072
- return "".concat(dt, "_").concat(t, "_").concat(dt);
3079
+ ], vt = Date.now();
3080
+ function ue(t) {
3081
+ return "".concat(vt, "_").concat(t, "_").concat(vt);
3073
3082
  }
3074
- function ue(t, r, e, n) {
3083
+ function ce(t, r, e, n) {
3075
3084
  n === void 0 && (n = {});
3076
- var i = kt(t, r, e, n).reduce(function(o, a) {
3085
+ var i = jt(t, r, e, n).reduce(function(o, a) {
3077
3086
  var s = a.value;
3078
3087
  return typeof s != "string" ? o.push(s) : typeof o[o.length - 1] == "string" ? o[o.length - 1] += s : o.push(s), o;
3079
3088
  }, []);
3080
3089
  return i.length === 1 ? i[0] : i.length === 0 ? "" : i;
3081
3090
  }
3082
- function kt(t, r, e, n) {
3091
+ function jt(t, r, e, n) {
3083
3092
  var i = t.locale, o = t.onError;
3084
3093
  n === void 0 && (n = {});
3085
3094
  var a = Intl.ListFormat;
3086
- a || o(new R(`Intl.ListFormat is not available in this environment.
3095
+ a || o(new O(`Intl.ListFormat is not available in this environment.
3087
3096
  Try polyfilling it using "@formatjs/intl-listformat"
3088
- `, L.MISSING_INTL_API));
3089
- var s = D(n, se);
3097
+ `, P.MISSING_INTL_API));
3098
+ var s = w(n, he);
3090
3099
  try {
3091
3100
  var c = {}, u = e.map(function(h, l) {
3092
3101
  if (typeof h == "object") {
3093
- var f = he(l);
3102
+ var f = ue(l);
3094
3103
  return c[f] = h, f;
3095
3104
  }
3096
3105
  return String(h);
3097
3106
  });
3098
3107
  return r(i, s).formatToParts(u).map(function(h) {
3099
- return h.type === "literal" ? h : m(m({}, h), { value: c[h.value] || h.value });
3108
+ return h.type === "literal" ? h : b(b({}, h), { value: c[h.value] || h.value });
3100
3109
  });
3101
3110
  } catch (h) {
3102
- o(new A("Error formatting list.", i, h));
3111
+ o(new B("Error formatting list.", i, h));
3103
3112
  }
3104
3113
  return e;
3105
3114
  }
3106
- var ce = ["type"];
3107
- function le(t, r, e, n) {
3115
+ var le = ["type"];
3116
+ function fe(t, r, e, n) {
3108
3117
  var i = t.locale, o = t.onError;
3109
- n === void 0 && (n = {}), Intl.PluralRules || o(new R(`Intl.PluralRules is not available in this environment.
3118
+ n === void 0 && (n = {}), Intl.PluralRules || o(new O(`Intl.PluralRules is not available in this environment.
3110
3119
  Try polyfilling it using "@formatjs/intl-pluralrules"
3111
- `, L.MISSING_INTL_API));
3112
- var a = D(n, ce);
3120
+ `, P.MISSING_INTL_API));
3121
+ var a = w(n, le);
3113
3122
  try {
3114
3123
  return r(i, a).select(e);
3115
3124
  } catch (s) {
3116
- o(new A("Error formatting plural.", i, s));
3125
+ o(new B("Error formatting plural.", i, s));
3117
3126
  }
3118
3127
  return "other";
3119
3128
  }
3120
- var fe = ["numeric", "style"];
3121
- function me(t, r, e) {
3129
+ var me = ["numeric", "style"];
3130
+ function pe(t, r, e) {
3122
3131
  var n = t.locale, i = t.formats, o = t.onError;
3123
3132
  e === void 0 && (e = {});
3124
- var a = e.format, s = !!a && nt(i, "relative", a, o) || {}, c = D(e, fe, s);
3133
+ var a = e.format, s = !!a && it(i, "relative", a, o) || {}, c = w(e, me, s);
3125
3134
  return r(n, c);
3126
3135
  }
3127
- function pe(t, r, e, n, i) {
3136
+ function ge(t, r, e, n, i) {
3128
3137
  i === void 0 && (i = {}), n || (n = "second");
3129
3138
  var o = Intl.RelativeTimeFormat;
3130
- o || t.onError(new R(`Intl.RelativeTimeFormat is not available in this environment.
3139
+ o || t.onError(new O(`Intl.RelativeTimeFormat is not available in this environment.
3131
3140
  Try polyfilling it using "@formatjs/intl-relativetimeformat"
3132
- `, L.MISSING_INTL_API));
3141
+ `, P.MISSING_INTL_API));
3133
3142
  try {
3134
- return me(t, r, i).format(e, n);
3143
+ return pe(t, r, i).format(e, n);
3135
3144
  } catch (a) {
3136
- t.onError(new A("Error formatting relative time.", t.locale, a));
3145
+ t.onError(new B("Error formatting relative time.", t.locale, a));
3137
3146
  }
3138
3147
  return String(e);
3139
3148
  }
3140
- var ge = [
3149
+ var be = [
3141
3150
  "style",
3142
3151
  "currency",
3143
3152
  "currencyDisplay",
@@ -3159,95 +3168,95 @@ var ge = [
3159
3168
  "unitDisplay",
3160
3169
  "numberingSystem"
3161
3170
  ];
3162
- function jt(t, r, e) {
3171
+ function Vt(t, r, e) {
3163
3172
  var n = t.locale, i = t.formats, o = t.onError;
3164
3173
  e === void 0 && (e = {});
3165
- var a = e.format, s = a && nt(i, "number", a, o) || {}, c = D(e, ge, s);
3174
+ var a = e.format, s = a && it(i, "number", a, o) || {}, c = w(e, be, s);
3166
3175
  return r(n, c);
3167
3176
  }
3168
3177
  function Ee(t, r, e, n) {
3169
3178
  n === void 0 && (n = {});
3170
3179
  try {
3171
- return jt(t, r, n).format(e);
3180
+ return Vt(t, r, n).format(e);
3172
3181
  } catch (i) {
3173
- t.onError(new A("Error formatting number.", t.locale, i));
3182
+ t.onError(new B("Error formatting number.", t.locale, i));
3174
3183
  }
3175
3184
  return String(e);
3176
3185
  }
3177
- function be(t, r, e, n) {
3186
+ function ye(t, r, e, n) {
3178
3187
  n === void 0 && (n = {});
3179
3188
  try {
3180
- return jt(t, r, n).formatToParts(e);
3189
+ return Vt(t, r, n).formatToParts(e);
3181
3190
  } catch (i) {
3182
- t.onError(new A("Error formatting number.", t.locale, i));
3191
+ t.onError(new B("Error formatting number.", t.locale, i));
3183
3192
  }
3184
3193
  return [];
3185
3194
  }
3186
- function ye(t) {
3195
+ function de(t) {
3187
3196
  var r = t ? t[Object.keys(t)[0]] : void 0;
3188
3197
  return typeof r == "string";
3189
3198
  }
3190
- function de(t) {
3191
- t.onWarn && t.defaultRichTextElements && ye(t.messages || {}) && t.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
3199
+ function ve(t) {
3200
+ t.onWarn && t.defaultRichTextElements && de(t.messages || {}) && t.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
3192
3201
  Please consider using "@formatjs/cli" to pre-compile your messages for performance.
3193
3202
  For more details see https://formatjs.io/docs/getting-started/message-distribution`);
3194
3203
  }
3195
- function ve(t, r) {
3196
- var e = Jr(r), n = m(m({}, Qr), t), i = n.locale, o = n.defaultLocale, a = n.onError;
3197
- return i ? !Intl.NumberFormat.supportedLocalesOf(i).length && a ? a(new gt('Missing locale data for locale: "'.concat(i, '" in Intl.NumberFormat. Using default locale: "').concat(o, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : !Intl.DateTimeFormat.supportedLocalesOf(i).length && a && a(new gt('Missing locale data for locale: "'.concat(i, '" in Intl.DateTimeFormat. Using default locale: "').concat(o, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : (a && a(new Yr('"locale" was not configured, using "'.concat(o, '" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))), n.locale = n.defaultLocale || "en"), de(n), m(m({}, n), {
3204
+ function Te(t, r) {
3205
+ var e = $r(r), n = b(b({}, Jr), t), i = n.locale, o = n.defaultLocale, a = n.onError;
3206
+ return i ? !Intl.NumberFormat.supportedLocalesOf(i).length && a ? a(new bt('Missing locale data for locale: "'.concat(i, '" in Intl.NumberFormat. Using default locale: "').concat(o, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : !Intl.DateTimeFormat.supportedLocalesOf(i).length && a && a(new bt('Missing locale data for locale: "'.concat(i, '" in Intl.DateTimeFormat. Using default locale: "').concat(o, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : (a && a(new Wr('"locale" was not configured, using "'.concat(o, '" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))), n.locale = n.defaultLocale || "en"), ve(n), b(b({}, n), {
3198
3207
  formatters: e,
3199
3208
  formatNumber: Ee.bind(null, n, e.getNumberFormat),
3200
- formatNumberToParts: be.bind(null, n, e.getNumberFormat),
3201
- formatRelativeTime: pe.bind(null, n, e.getRelativeTimeFormat),
3202
- formatDate: te.bind(null, n, e.getDateTimeFormat),
3203
- formatDateToParts: ne.bind(null, n, e.getDateTimeFormat),
3204
- formatTime: re.bind(null, n, e.getDateTimeFormat),
3205
- formatDateTimeRange: ee.bind(null, n, e.getDateTimeFormat),
3206
- formatTimeToParts: ie.bind(null, n, e.getDateTimeFormat),
3207
- formatPlural: le.bind(null, n, e.getPluralRules),
3209
+ formatNumberToParts: ye.bind(null, n, e.getNumberFormat),
3210
+ formatRelativeTime: ge.bind(null, n, e.getRelativeTimeFormat),
3211
+ formatDate: re.bind(null, n, e.getDateTimeFormat),
3212
+ formatDateToParts: ie.bind(null, n, e.getDateTimeFormat),
3213
+ formatTime: ee.bind(null, n, e.getDateTimeFormat),
3214
+ formatDateTimeRange: ne.bind(null, n, e.getDateTimeFormat),
3215
+ formatTimeToParts: oe.bind(null, n, e.getDateTimeFormat),
3216
+ formatPlural: fe.bind(null, n, e.getPluralRules),
3208
3217
  // @ts-expect-error TODO: will get to this later
3209
- formatMessage: yt.bind(null, n, e),
3218
+ formatMessage: dt.bind(null, n, e),
3210
3219
  // @ts-expect-error TODO: will get to this later
3211
- $t: yt.bind(null, n, e),
3212
- formatList: ue.bind(null, n, e.getListFormat),
3213
- formatListToParts: kt.bind(null, n, e.getListFormat),
3214
- formatDisplayName: ae.bind(null, n, e.getDisplayNames)
3220
+ $t: dt.bind(null, n, e),
3221
+ formatList: ce.bind(null, n, e.getListFormat),
3222
+ formatListToParts: jt.bind(null, n, e.getListFormat),
3223
+ formatDisplayName: se.bind(null, n, e.getDisplayNames)
3215
3224
  });
3216
3225
  }
3217
- var Te = U;
3218
- U.flatten = U;
3219
- U.unflatten = Xt;
3220
- function Vt(t) {
3226
+ var _e = F;
3227
+ F.flatten = F;
3228
+ F.unflatten = Kt;
3229
+ function xt(t) {
3221
3230
  return t && t.constructor && typeof t.constructor.isBuffer == "function" && t.constructor.isBuffer(t);
3222
3231
  }
3223
- function xt(t) {
3232
+ function Xt(t) {
3224
3233
  return t;
3225
3234
  }
3226
- function U(t, r) {
3235
+ function F(t, r) {
3227
3236
  r = r || {};
3228
- const e = r.delimiter || ".", n = r.maxDepth, i = r.transformKey || xt, o = {};
3237
+ const e = r.delimiter || ".", n = r.maxDepth, i = r.transformKey || Xt, o = {};
3229
3238
  function a(s, c, u) {
3230
3239
  u = u || 1, Object.keys(s).forEach(function(h) {
3231
- const l = s[h], f = r.safe && Array.isArray(l), p = Object.prototype.toString.call(l), d = Vt(l), b = p === "[object Object]" || p === "[object Array]", v = c ? c + e + i(h) : i(h);
3232
- if (!f && !d && b && Object.keys(l).length && (!r.maxDepth || u < n))
3233
- return a(l, v, u + 1);
3234
- o[v] = l;
3240
+ const l = s[h], f = r.safe && Array.isArray(l), m = Object.prototype.toString.call(l), v = xt(l), E = m === "[object Object]" || m === "[object Array]", T = c ? c + e + i(h) : i(h);
3241
+ if (!f && !v && E && Object.keys(l).length && (!r.maxDepth || u < n))
3242
+ return a(l, T, u + 1);
3243
+ o[T] = l;
3235
3244
  });
3236
3245
  }
3237
3246
  return a(t), o;
3238
3247
  }
3239
- function Xt(t, r) {
3248
+ function Kt(t, r) {
3240
3249
  r = r || {};
3241
- const e = r.delimiter || ".", n = r.overwrite || !1, i = r.transformKey || xt, o = {};
3242
- if (Vt(t) || Object.prototype.toString.call(t) !== "[object Object]")
3250
+ const e = r.delimiter || ".", n = r.overwrite || !1, i = r.transformKey || Xt, o = {};
3251
+ if (xt(t) || Object.prototype.toString.call(t) !== "[object Object]")
3243
3252
  return t;
3244
3253
  function a(u) {
3245
3254
  const h = Number(u);
3246
3255
  return isNaN(h) || u.indexOf(".") !== -1 || r.object ? u : h;
3247
3256
  }
3248
3257
  function s(u, h, l) {
3249
- return Object.keys(l).reduce(function(f, p) {
3250
- return f[u + e + p] = l[p], f;
3258
+ return Object.keys(l).reduce(function(f, m) {
3259
+ return f[u + e + m] = l[m], f;
3251
3260
  }, h);
3252
3261
  }
3253
3262
  function c(u) {
@@ -3265,33 +3274,33 @@ function Xt(t, r) {
3265
3274
  return !(l === "[object Object]" || l === "[object Array]") || c(t[h]) ? (u[h] = t[h], u) : s(
3266
3275
  h,
3267
3276
  u,
3268
- U(t[h], r)
3277
+ F(t[h], r)
3269
3278
  );
3270
3279
  }, {}), Object.keys(t).forEach(function(u) {
3271
3280
  const h = u.split(e).map(i);
3272
- let l = a(h.shift()), f = a(h[0]), p = o;
3281
+ let l = a(h.shift()), f = a(h[0]), m = o;
3273
3282
  for (; f !== void 0; ) {
3274
3283
  if (l === "__proto__")
3275
3284
  return;
3276
- const d = Object.prototype.toString.call(p[l]), b = d === "[object Object]" || d === "[object Array]";
3277
- if (!n && !b && typeof p[l] < "u")
3285
+ const v = Object.prototype.toString.call(m[l]), E = v === "[object Object]" || v === "[object Array]";
3286
+ if (!n && !E && typeof m[l] < "u")
3278
3287
  return;
3279
- (n && !b || !n && p[l] == null) && (p[l] = typeof f == "number" && !r.object ? [] : {}), p = p[l], h.length > 0 && (l = a(h.shift()), f = a(h[0]));
3288
+ (n && !E || !n && m[l] == null) && (m[l] = typeof f == "number" && !r.object ? [] : {}), m = m[l], h.length > 0 && (l = a(h.shift()), f = a(h[0]));
3280
3289
  }
3281
- p[l] = Xt(t[u], r);
3290
+ m[l] = Kt(t[u], r);
3282
3291
  }), o;
3283
3292
  }
3284
- const _e = Ut(), He = (t, r, e = !1) => {
3285
- const n = ve(
3293
+ const He = Ft(), Se = (t, r, e = !1) => {
3294
+ const n = Te(
3286
3295
  {
3287
3296
  ...typeof e == "boolean" ? null : e,
3288
3297
  locale: t,
3289
- messages: Te.flatten(r, {
3298
+ messages: _e.flatten(r, {
3290
3299
  safe: !0
3291
3300
  // Preserve arrays
3292
3301
  })
3293
3302
  },
3294
- _e
3303
+ He
3295
3304
  ), { $t: i, ...o } = n, a = o, s = (u) => {
3296
3305
  const h = "Invalid Date";
3297
3306
  if (!u)
@@ -3321,7 +3330,7 @@ const _e = Ut(), He = (t, r, e = !1) => {
3321
3330
  source: r
3322
3331
  };
3323
3332
  return typeof e == "boolean" && e === !0 || typeof e != "boolean" && e.isGlobal, c;
3324
- }, Se = (t = null) => vt({
3333
+ }, Ae = (t = null) => Tt({
3325
3334
  name: "I18nT",
3326
3335
  props: {
3327
3336
  i18n: {
@@ -3353,36 +3362,36 @@ const _e = Ut(), He = (t, r, e = !1) => {
3353
3362
  return;
3354
3363
  const u = s.replace(/[\{\}]/g, "");
3355
3364
  u === "0" && e.default ? a[c] = e.default() : i.includes(u) && e[u] && (a[c] = e[u]());
3356
- }), Kt(r.tag, r, a);
3365
+ }), Zt(r.tag, r, a);
3357
3366
  };
3358
3367
  }
3359
- }), Ae = {
3368
+ }), Be = {
3360
3369
  install(t, r) {
3361
3370
  const { i18n: e } = r;
3362
- t.component("I18nT", Se(e));
3371
+ t.component("I18nT", Ae(e));
3363
3372
  }
3364
- }, Be = {
3373
+ }, Ie = {
3365
3374
  title: "Star",
3366
3375
  ariaLabel: "Star buttons/github-buttons on GitHub",
3367
3376
  tooltipLabel: "Star this repository on Github"
3368
3377
  }, Ne = {
3369
- githubStar: Be
3378
+ githubStar: Ie
3370
3379
  };
3371
- function Ie() {
3380
+ function Le() {
3372
3381
  return {
3373
- i18n: He("en-us", Ne),
3374
- i18nT: Ae
3382
+ i18n: Se("en-us", Ne),
3383
+ i18nT: Be
3375
3384
  // Translation component <i18n-t>
3376
3385
  };
3377
3386
  }
3378
- const Le = {
3379
- useI18n: Ie
3380
- }, Pe = {
3387
+ const Pe = {
3388
+ useI18n: Le
3389
+ }, Re = {
3381
3390
  key: 0,
3382
3391
  class: "kong-ui-public-misc-widgets-github-star",
3383
3392
  "data-testid": "github-star",
3384
3393
  "data-tracking-id": "github-star"
3385
- }, Re = ["aria-label", "href"], Oe = /* @__PURE__ */ vt({
3394
+ }, Oe = ["aria-label", "href"], Ce = /* @__PURE__ */ Tt({
3386
3395
  __name: "GithubStar",
3387
3396
  props: {
3388
3397
  url: {
@@ -3396,40 +3405,40 @@ const Le = {
3396
3405
  }
3397
3406
  },
3398
3407
  setup(t) {
3399
- const r = t, { i18n: e } = Le.useI18n(), n = Zt(() => r.tooltipText || e.t("githubStar.tooltipLabel")), i = Yt(!1);
3400
- return Wt(async () => {
3408
+ const r = t, { i18n: e } = Pe.useI18n(), n = Yt(() => r.tooltipText || e.t("githubStar.tooltipLabel")), i = Wt(!1);
3409
+ return zt(async () => {
3401
3410
  const o = document.createElement("script");
3402
3411
  o.addEventListener("load", () => {
3403
3412
  i.value = !0;
3404
3413
  }), o.setAttribute("src", "https://buttons.github.io/buttons.js"), document.head.appendChild(o);
3405
3414
  }), (o, a) => {
3406
- const s = zt("KTooltip");
3407
- return t.url && i.value ? (qt(), Qt("div", Pe, [
3408
- Jt(s, { label: n.value }, {
3409
- default: $t(() => [
3410
- ot("span", null, [
3411
- ot("a", {
3412
- "aria-label": at(e).t("githubStar.ariaLabel"),
3415
+ const s = qt("KTooltip");
3416
+ return t.url && i.value ? (Qt(), Jt("div", Re, [
3417
+ $t(s, { label: n.value }, {
3418
+ default: tr(() => [
3419
+ at("span", null, [
3420
+ at("a", {
3421
+ "aria-label": st(e).t("githubStar.ariaLabel"),
3413
3422
  class: "github-button",
3414
3423
  "data-color-scheme": "no-preference: light; light: light; dark: light;",
3415
3424
  "data-show-count": "true",
3416
3425
  href: t.url,
3417
3426
  target: "_blank"
3418
- }, tr(at(e).t("githubStar.title")), 9, Re)
3427
+ }, rr(st(e).t("githubStar.title")), 9, Oe)
3419
3428
  ])
3420
3429
  ]),
3421
3430
  _: 1
3422
3431
  }, 8, ["label"])
3423
- ])) : rr("", !0);
3432
+ ])) : er("", !0);
3424
3433
  };
3425
3434
  }
3426
3435
  });
3427
- const Ce = (t, r) => {
3436
+ const Me = (t, r) => {
3428
3437
  const e = t.__vccOpts || t;
3429
3438
  for (const [n, i] of r)
3430
3439
  e[n] = i;
3431
3440
  return e;
3432
- }, De = /* @__PURE__ */ Ce(Oe, [["__scopeId", "data-v-4d357ff1"]]);
3441
+ }, we = /* @__PURE__ */ Me(Ce, [["__scopeId", "data-v-4d357ff1"]]);
3433
3442
  export {
3434
- De as GithubStar
3443
+ we as GithubStar
3435
3444
  };