@intlify/core 12.0.0-alpha.10 → 12.0.0-alpha.11

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,5 +1,5 @@
1
1
  /**
2
- * @intlify/core v12.0.0-alpha.10
2
+ * @intlify/core v12.0.0-alpha.11
3
3
  * (c) 2016-present kazuya kawaguchi and contributors
4
4
  * @license MIT
5
5
  **/
@@ -604,7 +604,7 @@ function createScanner(str) {
604
604
  }
605
605
  // packages/message-compiler/src/tokenizer.ts
606
606
  const EOF = void 0;
607
- const DOT = ".";
607
+ const TAB = " ";
608
608
  const LITERAL_DELIMITER = "'";
609
609
  const ERROR_DOMAIN$1 = "tokenizer";
610
610
  function createTokenizer(source, options = {}) {
@@ -934,22 +934,18 @@ function createTokenizer(source, options = {}) {
934
934
  while (ch = takeIdentifierChar(scnr)) name += ch;
935
935
  return name;
936
936
  }
937
+ function isLinkedKeyChar(ch) {
938
+ return !(ch === "{" || ch === "@" || ch === "|" || ch === "(" || ch === ")" || ch === " " || ch === TAB || ch === "\n");
939
+ }
937
940
  function readLinkedRefer(scnr) {
938
- const fn = (buf) => {
939
- const ch = scnr.currentChar();
940
- if (ch === "{" || ch === "@" || ch === "|" || ch === "(" || ch === ")" || !ch) return buf;
941
- else if (ch === " ") return buf;
942
- else if (ch === "\n" || ch === DOT) {
943
- buf += ch;
944
- scnr.next();
945
- return fn(buf);
946
- } else {
947
- buf += ch;
948
- scnr.next();
949
- return fn(buf);
950
- }
951
- };
952
- return fn("");
941
+ while (scnr.currentChar() === TAB) scnr.next();
942
+ let buf = "";
943
+ let ch;
944
+ while ((ch = scnr.currentChar()) && isLinkedKeyChar(ch)) {
945
+ buf += ch;
946
+ scnr.next();
947
+ }
948
+ return buf;
953
949
  }
954
950
  function readPlural(scnr) {
955
951
  skipSpaces(scnr);
@@ -1900,7 +1896,7 @@ function getWarnMessage(code, ...args) {
1900
1896
  * Intlify core-base version
1901
1897
  * @internal
1902
1898
  */
1903
- const VERSION = "12.0.0-alpha.10";
1899
+ const VERSION = "12.0.0-alpha.11";
1904
1900
  const NOT_RESOLVED = -1;
1905
1901
  const DEFAULT_LOCALE = "en-US";
1906
1902
  const MISSING_RESOLVE_VALUE = "";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @intlify/core v12.0.0-alpha.10
2
+ * @intlify/core v12.0.0-alpha.11
3
3
  * (c) 2016-present kazuya kawaguchi and contributors
4
4
  * @license MIT
5
5
  **/ const e = /\{([0-9a-z]+)\}/gi;
@@ -74,7 +74,7 @@ function pe(e, t, n, r) {
74
74
  let a = n || ``;
75
75
  return `${i}=${a}${fe(e, t)}${a}`;
76
76
  }
77
- function P(e, t, n) {
77
+ function me(e, t, n) {
78
78
  k.lastIndex = t;
79
79
  let r = k.exec(e);
80
80
  if (!r) return;
@@ -98,18 +98,18 @@ function P(e, t, n) {
98
98
  -1
99
99
  ];
100
100
  }
101
- function F(e, t, n) {
101
+ function P(e, t, n) {
102
102
  for (let r = e.indexOf(`</`, t); r !== -1; r = e.indexOf(`</`, r + 2)) {
103
- let t = P(e, r, {});
103
+ let t = me(e, r, {});
104
104
  if (t && t[1].toLowerCase() === n.toLowerCase()) return t[2] === -1 ? -1 : r;
105
105
  }
106
106
  return -1;
107
107
  }
108
- function I(e) {
108
+ function F(e) {
109
109
  let t = {}, n = ``, r = 0, i;
110
110
  for (; (i = e.indexOf(`<`, r)) !== -1;) {
111
111
  n += e.slice(r, i), r = i + 1;
112
- let a = P(e, i, t);
112
+ let a = me(e, i, t);
113
113
  if (a) {
114
114
  let [o, s, c] = a;
115
115
  if (c === -1) {
@@ -119,16 +119,16 @@ function I(e) {
119
119
  if (r = c, o[1] === `/`) n += o;
120
120
  else if (ce.test(s)) t.element = !0, n += N(o);
121
121
  else if (le.test(s)) {
122
- let i = F(e, c, s);
122
+ let i = P(e, c, s);
123
123
  i === -1 ? (t.unclosed = !0, n += N(o)) : (n += o + N(e.slice(c, i)), r = i);
124
124
  } else n += o;
125
125
  } else j.lastIndex = i, j.test(e) ? (n += e.slice(i, j.lastIndex), r = j.lastIndex) : (e.startsWith(`<!--`, i) && (t.unclosed = !0), n += `&lt;`);
126
126
  }
127
127
  return n += e.slice(r), n;
128
128
  }
129
- const L = (e) => !y(e) || h(e);
130
- function me(e, t) {
131
- if (L(e) || L(t) || t === Object.prototype) throw Error(`Invalid value`);
129
+ const I = (e) => !y(e) || h(e);
130
+ function L(e, t) {
131
+ if (I(e) || I(t) || t === Object.prototype) throw Error(`Invalid value`);
132
132
  let n = [e, t];
133
133
  for (; n.length;) {
134
134
  let e = n.pop(), t = n.pop(), r = Object.keys(t);
@@ -529,11 +529,14 @@ function Se(e, t = {}) {
529
529
  return n;
530
530
  }
531
531
  function pe(e) {
532
- let t = (n) => {
533
- let r = e.currentChar();
534
- return r === `{` || r === `@` || r === `|` || r === `(` || r === `)` || !r || r === ` ` ? n : (n += r, e.next(), t(n));
535
- };
536
- return t(``);
532
+ return e !== `{` && e !== `@` && e !== `|` && e !== `(` && e !== `)` && e !== ` ` && e !== ` ` && e !== `
533
+ `;
534
+ }
535
+ function me(e) {
536
+ for (; e.currentChar() === ` `;) e.next();
537
+ let t = ``, n;
538
+ for (; (n = e.currentChar()) && pe(n);) t += n, e.next();
539
+ return t;
537
540
  }
538
541
  function P(e) {
539
542
  h(e);
@@ -566,7 +569,7 @@ function Se(e, t = {}) {
566
569
  case `@`: return e.next(), r = d(t, 7, `@`), t.inLinked = !0, r;
567
570
  case `.`: return h(e), e.next(), d(t, 8, `.`);
568
571
  case `:`: return h(e), e.next(), d(t, 9, `:`);
569
- default: return T(e) ? (r = d(t, 1, P(e)), t.braceNest = 0, t.inLinked = !1, r) : x(e, t) || C(e, t) ? (h(e), I(e, t)) : S(e, t) ? (h(e), d(t, 11, N(e))) : w(e, t) ? (h(e), i === `{` ? F(e, t) || r : d(t, 10, pe(e))) : (n === 7 && (R.INVALID_LINKED_FORMAT, a()), t.braceNest = 0, t.inLinked = !1, L(e, t));
572
+ default: return T(e) ? (r = d(t, 1, P(e)), t.braceNest = 0, t.inLinked = !1, r) : x(e, t) || C(e, t) ? (h(e), I(e, t)) : S(e, t) ? (h(e), d(t, 11, N(e))) : w(e, t) ? (h(e), i === `{` ? F(e, t) || r : d(t, 10, me(e))) : (n === 7 && (R.INVALID_LINKED_FORMAT, a()), t.braceNest = 0, t.inLinked = !1, L(e, t));
570
573
  }
571
574
  }
572
575
  function L(e, t) {
@@ -583,12 +586,12 @@ function Se(e, t = {}) {
583
586
  }
584
587
  return n;
585
588
  }
586
- function me() {
589
+ function _e() {
587
590
  let { currentType: e, offset: t, startLoc: n, endLoc: o } = c;
588
591
  return c.lastType = e, c.lastOffset = t, c.lastStartLoc = n, c.lastEndLoc = o, c.offset = i(), c.startLoc = a(), r.currentChar() === void 0 ? d(c, 13) : L(r, c);
589
592
  }
590
593
  return {
591
- nextToken: me,
594
+ nextToken: _e,
592
595
  currentOffset: i,
593
596
  currentPosition: a,
594
597
  context: l
@@ -1079,7 +1082,7 @@ const J = {
1079
1082
  function yt(e, ...n) {
1080
1083
  return t(vt[e], ...n);
1081
1084
  }
1082
- const bt = `12.0.0-alpha.10`, xt = -1, Y = `en-US`, St = ``, Ct = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1085
+ const bt = `12.0.0-alpha.11`, xt = -1, Y = `en-US`, St = ``, Ct = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1083
1086
  function wt() {
1084
1087
  return {
1085
1088
  upper: (e, t) => t === `text` && _(e) ? e.toUpperCase() : t === `vnode` && y(e) && `__v_isVNode` in e ? e.children.toUpperCase() : e,
@@ -1133,7 +1136,7 @@ function Pt(e, t) {
1133
1136
  let n = p(e.messages, t);
1134
1137
  if (n == null) return;
1135
1138
  let r = u();
1136
- return me(n, r), r;
1139
+ return L(n, r), r;
1137
1140
  }
1138
1141
  function Ft(e, t, n) {
1139
1142
  m(t) || (e.messages[t] = n);
@@ -1413,7 +1416,7 @@ function vn(e, ...t) {
1413
1416
  });
1414
1417
  if (f) return s;
1415
1418
  let h = m(gn(wn(e, c, l, r))), y = e.postTranslation ? e.postTranslation(h, n) : h;
1416
- return a && _(y) && (y = I(y)), y;
1419
+ return a && _(y) && (y = F(y)), y;
1417
1420
  }
1418
1421
  function yn(e) {
1419
1422
  if (h(e.list) && (e.list = e.list.map((e) => _(e) ? D(e) : e)), y(e.named)) {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @intlify/core v12.0.0-alpha.10
2
+ * @intlify/core v12.0.0-alpha.11
3
3
  * (c) 2016-present kazuya kawaguchi and contributors
4
4
  * @license MIT
5
5
  **/
@@ -606,7 +606,7 @@ var IntlifyCore = (function(exports) {
606
606
  }
607
607
  // packages/message-compiler/src/tokenizer.ts
608
608
  const EOF = void 0;
609
- const DOT = ".";
609
+ const TAB = " ";
610
610
  const LITERAL_DELIMITER = "'";
611
611
  const ERROR_DOMAIN$1 = "tokenizer";
612
612
  function createTokenizer(source, options = {}) {
@@ -936,22 +936,18 @@ var IntlifyCore = (function(exports) {
936
936
  while (ch = takeIdentifierChar(scnr)) name += ch;
937
937
  return name;
938
938
  }
939
+ function isLinkedKeyChar(ch) {
940
+ return !(ch === "{" || ch === "@" || ch === "|" || ch === "(" || ch === ")" || ch === " " || ch === TAB || ch === "\n");
941
+ }
939
942
  function readLinkedRefer(scnr) {
940
- const fn = (buf) => {
941
- const ch = scnr.currentChar();
942
- if (ch === "{" || ch === "@" || ch === "|" || ch === "(" || ch === ")" || !ch) return buf;
943
- else if (ch === " ") return buf;
944
- else if (ch === "\n" || ch === DOT) {
945
- buf += ch;
946
- scnr.next();
947
- return fn(buf);
948
- } else {
949
- buf += ch;
950
- scnr.next();
951
- return fn(buf);
952
- }
953
- };
954
- return fn("");
943
+ while (scnr.currentChar() === TAB) scnr.next();
944
+ let buf = "";
945
+ let ch;
946
+ while ((ch = scnr.currentChar()) && isLinkedKeyChar(ch)) {
947
+ buf += ch;
948
+ scnr.next();
949
+ }
950
+ return buf;
955
951
  }
956
952
  function readPlural(scnr) {
957
953
  skipSpaces(scnr);
@@ -1902,7 +1898,7 @@ var IntlifyCore = (function(exports) {
1902
1898
  * Intlify core-base version
1903
1899
  * @internal
1904
1900
  */
1905
- const VERSION = "12.0.0-alpha.10";
1901
+ const VERSION = "12.0.0-alpha.11";
1906
1902
  const NOT_RESOLVED = -1;
1907
1903
  const DEFAULT_LOCALE = "en-US";
1908
1904
  const MISSING_RESOLVE_VALUE = "";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @intlify/core v12.0.0-alpha.10
2
+ * @intlify/core v12.0.0-alpha.11
3
3
  * (c) 2016-present kazuya kawaguchi and contributors
4
4
  * @license MIT
5
5
  **/ var IntlifyCore = (function(e) {
@@ -76,7 +76,7 @@
76
76
  let a = n || ``;
77
77
  return `${i}=${a}${pe(e, t)}${a}`;
78
78
  }
79
- function P(e, t, n) {
79
+ function he(e, t, n) {
80
80
  k.lastIndex = t;
81
81
  let r = k.exec(e);
82
82
  if (!r) return;
@@ -100,18 +100,18 @@
100
100
  -1
101
101
  ];
102
102
  }
103
- function F(e, t, n) {
103
+ function P(e, t, n) {
104
104
  for (let r = e.indexOf(`</`, t); r !== -1; r = e.indexOf(`</`, r + 2)) {
105
- let t = P(e, r, {});
105
+ let t = he(e, r, {});
106
106
  if (t && t[1].toLowerCase() === n.toLowerCase()) return t[2] === -1 ? -1 : r;
107
107
  }
108
108
  return -1;
109
109
  }
110
- function I(e) {
110
+ function F(e) {
111
111
  let t = {}, n = ``, r = 0, i;
112
112
  for (; (i = e.indexOf(`<`, r)) !== -1;) {
113
113
  n += e.slice(r, i), r = i + 1;
114
- let a = P(e, i, t);
114
+ let a = he(e, i, t);
115
115
  if (a) {
116
116
  let [o, s, c] = a;
117
117
  if (c === -1) {
@@ -121,16 +121,16 @@
121
121
  if (r = c, o[1] === `/`) n += o;
122
122
  else if (le.test(s)) t.element = !0, n += N(o);
123
123
  else if (ue.test(s)) {
124
- let i = F(e, c, s);
124
+ let i = P(e, c, s);
125
125
  i === -1 ? (t.unclosed = !0, n += N(o)) : (n += o + N(e.slice(c, i)), r = i);
126
126
  } else n += o;
127
127
  } else j.lastIndex = i, j.test(e) ? (n += e.slice(i, j.lastIndex), r = j.lastIndex) : (e.startsWith(`<!--`, i) && (t.unclosed = !0), n += `&lt;`);
128
128
  }
129
129
  return n += e.slice(r), n;
130
130
  }
131
- let L = (e) => !b(e) || g(e);
132
- function he(e, t) {
133
- if (L(e) || L(t) || t === Object.prototype) throw Error(`Invalid value`);
131
+ let I = (e) => !b(e) || g(e);
132
+ function L(e, t) {
133
+ if (I(e) || I(t) || t === Object.prototype) throw Error(`Invalid value`);
134
134
  let n = [e, t];
135
135
  for (; n.length;) {
136
136
  let e = n.pop(), t = n.pop(), r = Object.keys(t);
@@ -541,11 +541,14 @@
541
541
  return n;
542
542
  }
543
543
  function me(e) {
544
- let t = (n) => {
545
- let r = e.currentChar();
546
- return r === `{` || r === `@` || r === `|` || r === `(` || r === `)` || !r || r === ` ` ? n : (n += r, e.next(), t(n));
547
- };
548
- return t(``);
544
+ return e !== `{` && e !== `@` && e !== `|` && e !== `(` && e !== `)` && e !== ` ` && e !== ` ` && e !== `
545
+ `;
546
+ }
547
+ function he(e) {
548
+ for (; e.currentChar() === ` `;) e.next();
549
+ let t = ``, n;
550
+ for (; (n = e.currentChar()) && me(n);) t += n, e.next();
551
+ return t;
549
552
  }
550
553
  function P(e) {
551
554
  g(e);
@@ -578,7 +581,7 @@
578
581
  case `@`: return e.next(), r = f(t, 7, `@`), t.inLinked = !0, r;
579
582
  case `.`: return g(e), e.next(), f(t, 8, `.`);
580
583
  case `:`: return g(e), e.next(), f(t, 9, `:`);
581
- default: return T(e) ? (r = f(t, 1, P(e)), t.braceNest = 0, t.inLinked = !1, r) : S(e, t) || w(e, t) ? (g(e), I(e, t)) : C(e, t) ? (g(e), f(t, 11, N(e))) : ee(e, t) ? (g(e), i === `{` ? F(e, t) || r : f(t, 10, me(e))) : (n === 7 && d(R.INVALID_LINKED_FORMAT, a(), 0), t.braceNest = 0, t.inLinked = !1, L(e, t));
584
+ default: return T(e) ? (r = f(t, 1, P(e)), t.braceNest = 0, t.inLinked = !1, r) : S(e, t) || w(e, t) ? (g(e), I(e, t)) : C(e, t) ? (g(e), f(t, 11, N(e))) : ee(e, t) ? (g(e), i === `{` ? F(e, t) || r : f(t, 10, he(e))) : (n === 7 && d(R.INVALID_LINKED_FORMAT, a(), 0), t.braceNest = 0, t.inLinked = !1, L(e, t));
582
585
  }
583
586
  }
584
587
  function L(e, t) {
@@ -595,12 +598,12 @@
595
598
  }
596
599
  return n;
597
600
  }
598
- function he() {
601
+ function ve() {
599
602
  let { currentType: e, offset: t, startLoc: n, endLoc: o } = c;
600
603
  return c.lastType = e, c.lastOffset = t, c.lastStartLoc = n, c.lastEndLoc = o, c.offset = i(), c.startLoc = a(), r.currentChar() === void 0 ? f(c, 13) : L(r, c);
601
604
  }
602
605
  return {
603
- nextToken: he,
606
+ nextToken: ve,
604
607
  currentOffset: i,
605
608
  currentPosition: a,
606
609
  context: l
@@ -924,7 +927,7 @@
924
927
  return [.../* @__PURE__ */ new Set([n, ...g(t) ? t : b(t) ? Object.keys(t).filter((e) => e !== "default") : v(t) ? [t] : [n]])];
925
928
  }
926
929
  function nt(e, t, n) {
927
- let r = v(n) ? n : vt, i = e, a;
930
+ let r = v(n) ? n : Z, i = e, a;
928
931
  b(t) ? (i.__localeChainObjectCache || (i.__localeChainObjectCache = /* @__PURE__ */ new WeakMap()), a = i.__localeChainObjectCache.get(t), a || (a = /* @__PURE__ */ new Map(), i.__localeChainObjectCache.set(t, a))) : (i.__localeChainCache || (i.__localeChainCache = /* @__PURE__ */ new Map()), a = i.__localeChainCache.get(t), a || (a = /* @__PURE__ */ new Map(), i.__localeChainCache.set(t, a)));
929
932
  let o = a.get(r);
930
933
  if (o) return o;
@@ -1100,33 +1103,33 @@
1100
1103
  function gt(e, ...t) {
1101
1104
  return n(ht[e], ...t);
1102
1105
  }
1103
- let _t = `12.0.0-alpha.10`, vt = `en-US`, yt = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1104
- function bt() {
1106
+ let _t = `12.0.0-alpha.11`, Z = `en-US`, vt = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1107
+ function yt() {
1105
1108
  return {
1106
1109
  upper: (e, t) => t === `text` && v(e) ? e.toUpperCase() : t === `vnode` && b(e) && `__v_isVNode` in e ? e.children.toUpperCase() : e,
1107
1110
  lower: (e, t) => t === `text` && v(e) ? e.toLowerCase() : t === `vnode` && b(e) && `__v_isVNode` in e ? e.children.toLowerCase() : e,
1108
- capitalize: (e, t) => t === `text` && v(e) ? yt(e) : t === `vnode` && b(e) && `__v_isVNode` in e ? yt(e.children) : e
1111
+ capitalize: (e, t) => t === `text` && v(e) ? vt(e) : t === `vnode` && b(e) && `__v_isVNode` in e ? vt(e.children) : e
1109
1112
  };
1110
1113
  }
1111
- let xt;
1112
- function St(e) {
1113
- xt = e;
1114
+ let bt;
1115
+ function xt(e) {
1116
+ bt = e;
1114
1117
  }
1115
- let Ct;
1116
- function wt(e) {
1117
- Ct = e;
1118
+ let St;
1119
+ function Ct(e) {
1120
+ St = e;
1118
1121
  }
1119
- let Tt;
1120
- function Et(e) {
1121
- Tt = e;
1122
+ let wt;
1123
+ function Tt(e) {
1124
+ wt = e;
1122
1125
  }
1123
- let Dt = 0;
1124
- function Ot(e = {}) {
1125
- let t = _(e.onWarn) ? e.onWarn : E, n = v(e.version) ? e.version : _t, r = v(e.locale) || _(e.locale) ? e.locale : vt, i = _(r) ? vt : r, a = Mt(e.fallbackLocale) ? e.fallbackLocale : i, o = w(e.messages) ? e.messages : kt(i), s = w(e.datetimeFormats) ? e.datetimeFormats : kt(i), c = w(e.numberFormats) ? e.numberFormats : kt(i), u = l(d(), e.modifiers, bt()), f = e.pluralRules || d(), p = _(e.missing) ? e.missing : null, m = !Nt(e.missingWarn) || e.missingWarn, h = !Nt(e.fallbackWarn) || e.fallbackWarn, g = !!e.fallbackFormat, x = !!e.unresolving, S = _(e.postTranslation) ? e.postTranslation : null, C = w(e.processor) ? e.processor : null, ee = !y(e.warnHtmlMessage) || e.warnHtmlMessage, T = !!e.escapeParameter, D = _(e.messageCompiler) ? e.messageCompiler : xt || null, te = _(e.messageResolver) ? e.messageResolver : Ct || pt, ne = _(e.localeFallbacker) ? e.localeFallbacker : Tt || tt, re = b(e.fallbackContext) ? e.fallbackContext : void 0;
1126
- Dt++;
1126
+ let Et = 0;
1127
+ function Dt(e = {}) {
1128
+ let t = _(e.onWarn) ? e.onWarn : E, n = v(e.version) ? e.version : _t, r = v(e.locale) || _(e.locale) ? e.locale : Z, i = _(r) ? Z : r, a = jt(e.fallbackLocale) ? e.fallbackLocale : i, o = w(e.messages) ? e.messages : Ot(i), s = w(e.datetimeFormats) ? e.datetimeFormats : Ot(i), c = w(e.numberFormats) ? e.numberFormats : Ot(i), u = l(d(), e.modifiers, yt()), f = e.pluralRules || d(), p = _(e.missing) ? e.missing : null, m = !Mt(e.missingWarn) || e.missingWarn, h = !Mt(e.fallbackWarn) || e.fallbackWarn, g = !!e.fallbackFormat, x = !!e.unresolving, S = _(e.postTranslation) ? e.postTranslation : null, C = w(e.processor) ? e.processor : null, ee = !y(e.warnHtmlMessage) || e.warnHtmlMessage, T = !!e.escapeParameter, D = _(e.messageCompiler) ? e.messageCompiler : bt || null, te = _(e.messageResolver) ? e.messageResolver : St || pt, ne = _(e.localeFallbacker) ? e.localeFallbacker : wt || tt, re = b(e.fallbackContext) ? e.fallbackContext : void 0;
1129
+ Et++;
1127
1130
  let O = {
1128
1131
  version: n,
1129
- cid: Dt,
1132
+ cid: Et,
1130
1133
  locale: r,
1131
1134
  fallbackLocale: a,
1132
1135
  messages: o,
@@ -1149,29 +1152,29 @@
1149
1152
  };
1150
1153
  return O.datetimeFormats = s, O.numberFormats = c, O.__datetimeFormatters = /* @__PURE__ */ new Map(), O.__numberFormatters = /* @__PURE__ */ new Map(), O;
1151
1154
  }
1152
- let kt = (e) => ({ [e]: d() });
1153
- function At(e, t) {
1155
+ let Ot = (e) => ({ [e]: d() });
1156
+ function kt(e, t) {
1154
1157
  let n = m(e.messages, t);
1155
1158
  if (n == null) return;
1156
1159
  let r = d();
1157
- return he(n, r), r;
1160
+ return L(n, r), r;
1158
1161
  }
1159
- function jt(e, t, n) {
1162
+ function At(e, t, n) {
1160
1163
  h(t) || (e.messages[t] = n);
1161
1164
  }
1162
- function Mt(e) {
1165
+ function jt(e) {
1163
1166
  return v(e) || g(e) || w(e) || e === !1;
1164
1167
  }
1165
- function Nt(e) {
1168
+ function Mt(e) {
1166
1169
  return y(e) || s(e);
1167
1170
  }
1168
- function Pt(e, t) {
1171
+ function Nt(e, t) {
1169
1172
  return s(e) ? e.test(t) : e;
1170
1173
  }
1171
- function Ft(e, t) {
1174
+ function Pt(e, t) {
1172
1175
  return s(e) ? e.test(t) : e;
1173
1176
  }
1174
- function It(e, t, n, r, i) {
1177
+ function Ft(e, t, n, r, i) {
1175
1178
  let { missing: a, onWarn: o } = e;
1176
1179
  if (a !== null) {
1177
1180
  let r = a(e, n, t, i);
@@ -1179,84 +1182,84 @@
1179
1182
  }
1180
1183
  return t;
1181
1184
  }
1182
- function Lt(e, t) {
1185
+ function It(e, t) {
1183
1186
  let n = e;
1184
1187
  b(t) ? n.__localeChainObjectCache?.delete(t) : n.__localeChainCache?.delete(t);
1185
1188
  }
1186
- function Rt(e, t, n) {
1187
- Lt(e, n), e.fallbackContext && Lt(e.fallbackContext, n);
1189
+ function Lt(e, t, n) {
1190
+ It(e, n), e.fallbackContext && It(e.fallbackContext, n);
1188
1191
  {
1189
1192
  let { __datetimeFormatters: t, __numberFormatters: n } = e;
1190
1193
  t.clear(), n.clear();
1191
1194
  }
1192
1195
  e.localeFallbacker(e, n, t);
1193
1196
  }
1194
- function zt(e, t) {
1197
+ function Rt(e, t) {
1195
1198
  return e !== t && e.split(`-`)[0] === t.split(`-`)[0];
1196
1199
  }
1197
- function Bt(e, t) {
1200
+ function zt(e, t) {
1198
1201
  let n = t.indexOf(e);
1199
1202
  if (n === -1) return !1;
1200
- for (let r = n + 1; r < t.length; r++) if (zt(e, t[r])) return !0;
1203
+ for (let r = n + 1; r < t.length; r++) if (Rt(e, t[r])) return !0;
1201
1204
  return !1;
1202
1205
  }
1203
- function Vt(e, t, n, r, i, a, o) {
1206
+ function Bt(e, t, n, r, i, a, o) {
1204
1207
  let { fallbackLocale: s, localeFallbacker: c, onWarn: l } = e, u = c(e, s, n);
1205
1208
  for (let n = 0; n < u.length; n++) {
1206
1209
  let a = u[n], s = m(m(r, a) || {}, t);
1207
1210
  if (w(s) && v(a)) return a;
1208
- It(e, t, a, i, o);
1211
+ Ft(e, t, a, i, o);
1209
1212
  }
1210
1213
  return null;
1211
1214
  }
1212
- function Ht(e) {
1215
+ function Vt(e) {
1213
1216
  try {
1214
1217
  return Intl.getCanonicalLocales(e), !0;
1215
1218
  } catch {
1216
1219
  return !1;
1217
1220
  }
1218
1221
  }
1219
- function Ut(e, t, n, r, i) {
1222
+ function Ht(e, t, n, r, i) {
1220
1223
  try {
1221
1224
  return new t(n, r);
1222
1225
  } catch (i) {
1223
- if (Ht(n)) throw i;
1226
+ if (Vt(n)) throw i;
1224
1227
  let { fallbackLocale: a, localeFallbacker: o, onWarn: s } = e;
1225
- return new t(o(e, a, n).find(Ht) || `en-US`, r);
1228
+ return new t(o(e, a, n).find(Vt) || `en-US`, r);
1226
1229
  }
1227
1230
  }
1228
- function Wt(e, [t, n, r, i], a, o, s, c) {
1231
+ function Ut(e, [t, n, r, i], a, o, s, c) {
1229
1232
  let u = y(r.missingWarn) ? r.missingWarn : e.missingWarn, d = y(r.fallbackWarn) ? r.fallbackWarn : e.fallbackWarn, f = !!r.part, p = Qe(e, r);
1230
1233
  if (!v(t) || t === ``) {
1231
- let t = Ut(e, a, p.replace(/!/g, ``), i, c);
1234
+ let t = Ht(e, a, p.replace(/!/g, ``), i, c);
1232
1235
  return f ? t.formatToParts(n) : t.format(n);
1233
1236
  }
1234
- let m = Vt(e, t, p, s, u, d, c);
1237
+ let m = Bt(e, t, p, s, u, d, c);
1235
1238
  if (!v(m)) return e.unresolving ? -1 : t;
1236
- let h = s[m][t], g = Gt(m, t, i), _ = o.get(g);
1237
- return _ || (_ = Ut(e, a, m, l({}, h, i), c), o.set(g, _)), f ? _.formatToParts(n) : _.format(n);
1239
+ let h = s[m][t], g = Wt(m, t, i), _ = o.get(g);
1240
+ return _ || (_ = Ht(e, a, m, l({}, h, i), c), o.set(g, _)), f ? _.formatToParts(n) : _.format(n);
1238
1241
  }
1239
- function Gt(e, t, n) {
1242
+ function Wt(e, t, n) {
1240
1243
  let r = `${e}__${t}`;
1241
1244
  return w(n) && !c(n) && (r = `${r}__${JSON.stringify(n)}`), r;
1242
1245
  }
1243
- function Kt(e, t, n) {
1246
+ function Gt(e, t, n) {
1244
1247
  for (let r in n) {
1245
1248
  let n = `${t}__${r}`;
1246
1249
  for (let t of e.keys()) (t === n || t.startsWith(`${n}__`)) && e.delete(t);
1247
1250
  }
1248
1251
  }
1249
- function qt(e, t, n, r) {
1252
+ function Kt(e, t, n, r) {
1250
1253
  let [, i, a, o] = e, s = n;
1251
1254
  return v(i) ? t.key = i : w(i) && Object.keys(i).forEach((e) => {
1252
1255
  r.includes(e) ? s[e] = i[e] : t[e] = i[e];
1253
1256
  }), v(a) ? t.locale = a : w(a) && (s = a), w(o) && (s = o), s;
1254
1257
  }
1255
- function Jt(e, ...t) {
1258
+ function qt(e, ...t) {
1256
1259
  let { datetimeFormats: n, onWarn: r } = e, { __datetimeFormatters: i } = e;
1257
- return !v(t[0]) && !o(t[0]) && !a(t[0]) ? `` : Wt(e, Xt(...t), Intl.DateTimeFormat, i, n, `datetime format`);
1260
+ return !v(t[0]) && !o(t[0]) && !a(t[0]) ? `` : Ut(e, Yt(...t), Intl.DateTimeFormat, i, n, `datetime format`);
1258
1261
  }
1259
- let Yt = [
1262
+ let Jt = [
1260
1263
  `localeMatcher`,
1261
1264
  `weekday`,
1262
1265
  `era`,
@@ -1278,7 +1281,7 @@
1278
1281
  `hourCycle`,
1279
1282
  `fractionalSecondDigits`
1280
1283
  ];
1281
- function Xt(...e) {
1284
+ function Yt(...e) {
1282
1285
  let [t] = e, n = d(), r = d(), i;
1283
1286
  if (v(t)) {
1284
1287
  let e = t.match(/^(\d{4}-\d{2}-\d{2})(?:(T|\s)(.+))?$/);
@@ -1295,7 +1298,7 @@
1295
1298
  i = t;
1296
1299
  } else if (a(t)) i = t;
1297
1300
  else throw J(q.INVALID_ARGUMENT);
1298
- let s = qt(e, n, r, Yt);
1301
+ let s = Kt(e, n, r, Jt);
1299
1302
  return [
1300
1303
  n.key || ``,
1301
1304
  i,
@@ -1303,14 +1306,14 @@
1303
1306
  s
1304
1307
  ];
1305
1308
  }
1306
- function Zt(e, t, n) {
1307
- Kt(e.__datetimeFormatters, t, n);
1309
+ function Xt(e, t, n) {
1310
+ Gt(e.__datetimeFormatters, t, n);
1308
1311
  }
1309
- function Qt(e, ...t) {
1312
+ function Zt(e, ...t) {
1310
1313
  let { numberFormats: n, onWarn: r } = e, { __numberFormatters: i } = e;
1311
- return a(t[0]) ? Wt(e, en(...t), Intl.NumberFormat, i, n, `number format`) : ``;
1314
+ return a(t[0]) ? Ut(e, $t(...t), Intl.NumberFormat, i, n, `number format`) : ``;
1312
1315
  }
1313
- let $t = [
1316
+ let Qt = [
1314
1317
  `localeMatcher`,
1315
1318
  `style`,
1316
1319
  `currency`,
@@ -1332,10 +1335,10 @@
1332
1335
  `roundingIncrement`,
1333
1336
  `trailingZeroDisplay`
1334
1337
  ];
1335
- function en(...e) {
1338
+ function $t(...e) {
1336
1339
  let [t] = e, n = d(), r = d();
1337
1340
  if (!a(t)) throw J(q.INVALID_ARGUMENT);
1338
- let i = t, o = qt(e, n, r, $t);
1341
+ let i = t, o = Kt(e, n, r, Qt);
1339
1342
  return [
1340
1343
  n.key || ``,
1341
1344
  i,
@@ -1343,56 +1346,56 @@
1343
1346
  o
1344
1347
  ];
1345
1348
  }
1346
- function tn(e, t, n) {
1347
- Kt(e.__numberFormatters, t, n);
1349
+ function en(e, t, n) {
1350
+ Gt(e.__numberFormatters, t, n);
1348
1351
  }
1349
- let nn = (e) => e, rn = (e) => ``, an = `text`, on = (e) => e.length === 0 ? `` : T(e), sn = ee;
1350
- function cn(e, t) {
1352
+ let tn = (e) => e, nn = (e) => ``, rn = `text`, an = (e) => e.length === 0 ? `` : T(e), on = ee;
1353
+ function sn(e, t) {
1351
1354
  return e = Math.abs(e), t === 2 ? e === 1 ? 0 : 1 : Math.min(e, 2);
1352
1355
  }
1353
- let ln = [
1356
+ let cn = [
1354
1357
  `zero`,
1355
1358
  `one`,
1356
1359
  `two`,
1357
1360
  `few`,
1358
1361
  `many`,
1359
1362
  `other`
1360
- ], Z = /* @__PURE__ */ new Map();
1361
- function un(e) {
1363
+ ], Q = /* @__PURE__ */ new Map();
1364
+ function ln(e) {
1362
1365
  try {
1363
1366
  if (Intl.PluralRules.supportedLocalesOf(e).length === 0) return null;
1364
1367
  let t = new Intl.PluralRules(e);
1365
1368
  return {
1366
1369
  rules: t,
1367
- categories: t.resolvedOptions().pluralCategories.slice().sort((e, t) => ln.indexOf(e) - ln.indexOf(t))
1370
+ categories: t.resolvedOptions().pluralCategories.slice().sort((e, t) => cn.indexOf(e) - cn.indexOf(t))
1368
1371
  };
1369
1372
  } catch {
1370
1373
  return null;
1371
1374
  }
1372
1375
  }
1373
- function dn(e) {
1374
- let t = Z.get(e);
1375
- return t === void 0 && (t = un(e), Z.size >= 1e3 && Z.delete(Z.keys().next().value), Z.set(e, t)), t;
1376
+ function un(e) {
1377
+ let t = Q.get(e);
1378
+ return t === void 0 && (t = ln(e), Q.size >= 1e3 && Q.delete(Q.keys().next().value), Q.set(e, t)), t;
1376
1379
  }
1377
- function fn(e) {
1380
+ function dn(e) {
1378
1381
  return a(e.pluralIndex) ? e.pluralIndex : a(e.named?.count) ? e.named.count : a(e.named?.n) ? e.named.n : -1;
1379
1382
  }
1380
- function pn(e = {}) {
1381
- let t = e.locale, n = fn(e), r;
1383
+ function fn(e = {}) {
1384
+ let t = e.locale, n = dn(e), r;
1382
1385
  r = v(t) && e.pluralRules && _(m(e.pluralRules, t)) ? e.pluralRules[t] : v(t) && typeof Intl < `u` && Intl.PluralRules !== void 0 ? (e, n) => {
1383
- let r = dn(t);
1384
- if (r === null || n > r.categories.length) return cn(e, n);
1386
+ let r = un(t);
1387
+ if (r === null || n > r.categories.length) return sn(e, n);
1385
1388
  let { rules: i, categories: a } = r, o = i.select(Math.abs(e)), s = a.indexOf(o);
1386
1389
  return Math.min(s === -1 ? n - 1 : s, n - 1);
1387
- } : cn;
1388
- let i = r === cn ? void 0 : cn, o = (e) => e[r(n, e.length, i)], s = e.list || [], c = (e) => s[e], u = e.named || d(), f = a(e.pluralIndex), p = (t) => {
1390
+ } : sn;
1391
+ let i = r === sn ? void 0 : sn, o = (e) => e[r(n, e.length, i)], s = e.list || [], c = (e) => s[e], u = e.named || d(), f = a(e.pluralIndex), p = (t) => {
1389
1392
  let n = h(t) ? m(u, t) : u[t];
1390
1393
  return f && n == null && (t === `count` || t === `n`) ? e.pluralIndex : n;
1391
1394
  };
1392
1395
  function y(t, n) {
1393
- return (_(e.messages) ? e.messages(t, !!n) : b(e.messages) ? e.messages[t] : !1) || (e.parent ? e.parent.message(t) : rn);
1396
+ return (_(e.messages) ? e.messages(t, !!n) : b(e.messages) ? e.messages[t] : !1) || (e.parent ? e.parent.message(t) : nn);
1394
1397
  }
1395
- let x = (t) => e.modifiers ? m(e.modifiers, t) : nn, S = _(e.processor?.normalize) ? e.processor.normalize : on, C = _(e.processor?.interpolate) ? e.processor.interpolate : sn, w = {
1398
+ let x = (t) => e.modifiers ? m(e.modifiers, t) : tn, S = _(e.processor?.normalize) ? e.processor.normalize : an, C = _(e.processor?.interpolate) ? e.processor.interpolate : on, w = {
1396
1399
  list: c,
1397
1400
  named: p,
1398
1401
  plural: o,
@@ -1405,7 +1408,7 @@
1405
1408
  return _(l) ? l(c, i) : c;
1406
1409
  },
1407
1410
  message: y,
1408
- type: v(e.processor?.type) ? e.processor.type : an,
1411
+ type: v(e.processor?.type) ? e.processor.type : rn,
1409
1412
  interpolate: C,
1410
1413
  normalize: S,
1411
1414
  values: l(d(), s, u, f ? {
@@ -1415,7 +1418,7 @@
1415
1418
  };
1416
1419
  return w;
1417
1420
  }
1418
- let mn = () => ``, Q = (e) => _(e), $ = (e) => v(e) || H(e) || Q(e);
1421
+ let pn = () => ``, $ = (e) => _(e), mn = (e) => v(e) || H(e) || $(e);
1419
1422
  function hn(e, ...t) {
1420
1423
  let [n, r] = yn(...t), i = Qe(e, r), a = y(r.escapeParameter) ? r.escapeParameter : e.escapeParameter;
1421
1424
  a && gn(r);
@@ -1424,17 +1427,17 @@
1424
1427
  i,
1425
1428
  m(e.messages, i) || d()
1426
1429
  ] : _n(e, n, i, e.fallbackLocale, y(r.fallbackWarn) ? r.fallbackWarn : e.fallbackWarn, y(r.missingWarn) ? r.missingWarn : e.missingWarn), u = n;
1427
- if (!o && !$(s)) {
1430
+ if (!o && !mn(s)) {
1428
1431
  let t = v(r.default) ? r.default : y(r.default) || e.fallbackFormat ? e.messageCompiler ? n : () => n : null;
1429
1432
  (e.fallbackFormat || t != null && (v(t) || _(t))) && (s = t, u = s);
1430
1433
  }
1431
- if (!o && (!$(s) || !v(c))) return e.unresolving ? -1 : n;
1432
- let f = !1, p = Q(s) ? s : vn(e, n, c, s, u, () => {
1434
+ if (!o && (!mn(s) || !v(c))) return e.unresolving ? -1 : n;
1435
+ let f = !1, p = $(s) ? s : vn(e, n, c, s, u, () => {
1433
1436
  f = !0;
1434
1437
  });
1435
1438
  if (f) return s;
1436
- let h = p(pn(xn(e, c, l, r))), g = e.postTranslation ? e.postTranslation(h, n) : h;
1437
- return a && v(g) && (g = I(g)), g;
1439
+ let h = p(fn(xn(e, c, l, r))), g = e.postTranslation ? e.postTranslation(h, n) : h;
1440
+ return a && v(g) && (g = F(g)), g;
1438
1441
  }
1439
1442
  function gn(e) {
1440
1443
  if (g(e.list) && (e.list = e.list.map((e) => v(e) ? D(e) : e)), b(e.named)) {
@@ -1448,8 +1451,8 @@
1448
1451
  }
1449
1452
  function _n(e, t, n, r, i, a) {
1450
1453
  let { messages: o, onWarn: s, messageResolver: c, localeFallbacker: l } = e, u = l(e, r, n), f = d(), p, h = null;
1451
- for (let n = 0; n < u.length && (p = u[n], f = m(o, p) || d(), (h = c(f, t)) === null && (h = m(f, t)), !$(h)); n++) if (!Bt(p, u)) {
1452
- let n = It(e, t, p, a, `translate`);
1454
+ for (let n = 0; n < u.length && (p = u[n], f = m(o, p) || d(), (h = c(f, t)) === null && (h = m(f, t)), !mn(h)); n++) if (!zt(p, u)) {
1455
+ let n = Ft(e, t, p, a, `translate`);
1453
1456
  n !== t && (h = n);
1454
1457
  }
1455
1458
  return [
@@ -1459,7 +1462,7 @@
1459
1462
  ];
1460
1463
  }
1461
1464
  function vn(e, t, n, r, i, a) {
1462
- if (Q(r)) {
1465
+ if ($(r)) {
1463
1466
  let e = r;
1464
1467
  return e.locale = e.locale || n, e.key = e.key || t, e;
1465
1468
  }
@@ -1472,8 +1475,8 @@
1472
1475
  }
1473
1476
  function yn(...e) {
1474
1477
  let [t, n, r] = e;
1475
- if (!v(t) && !a(t) && !Q(t) && !H(t)) throw J(q.INVALID_ARGUMENT);
1476
- let i = a(t) ? String(t) : (Q(t), t), o = d();
1478
+ if (!v(t) && !a(t) && !$(t) && !H(t)) throw J(q.INVALID_ARGUMENT);
1479
+ let i = a(t) ? String(t) : ($(t), t), o = d();
1477
1480
  return a(n) ? o.plural = n : v(n) ? o.default = n : w(n) && !c(n) ? o.named = n : g(n) && (o.list = n), a(r) ? o.plural = r : v(r) ? o.default = r : w(r) && l(o, r), [i, o];
1478
1481
  }
1479
1482
  function bn(e, t, n, i, a, o) {
@@ -1503,9 +1506,9 @@
1503
1506
  let n = !1, i = vn(e, r, t, a, r, () => {
1504
1507
  n = !0;
1505
1508
  });
1506
- return n ? mn : i;
1509
+ return n ? pn : i;
1507
1510
  }
1508
- return Q(a) ? a : mn;
1511
+ return $(a) ? a : pn;
1509
1512
  },
1510
1513
  processor: e.processor ?? void 0,
1511
1514
  list: r.list ?? void 0,
@@ -1513,5 +1516,5 @@
1513
1516
  pluralIndex: a(r.plural) ? r.plural : void 0
1514
1517
  };
1515
1518
  }
1516
- return e.AST_NODE_PROPS_KEYS = Ue, e.CORE_ERROR_CODES_EXTEND_POINT = 23, e.CORE_WARN_CODES_EXTEND_POINT = 13, e.CoreWarnCodes = X, e.DATETIME_FORMAT_OPTIONS_KEYS = Yt, e.DEFAULT_LOCALE = vt, e.DEFAULT_MESSAGE_DATA_TYPE = an, e.MISSING_RESOLVE_VALUE = ``, e.NOT_RESOLVED = -1, e.NUMBER_FORMAT_OPTIONS_KEYS = $t, e.VERSION = _t, e.clearCompileCache = Ye, e.clearDateTimeFormat = Zt, e.clearNumberFormat = tn, e.compile = Ze, e.createCompileError = z, e.createCoreContext = Ot, e.createCoreError = J, e.createMessageContext = pn, e.datetime = Jt, e.fallbackWithLocaleChain = nt, e.fallbackWithSimple = tt, e.getLocale = Qe, e.getLocaleMessage = At, e.getWarnMessage = gt, e.handleMissing = It, e.isAlmostSameLocale = zt, e.isFallbackLocale = Mt, e.isImplicitFallback = Bt, e.isMessageAST = H, e.isMessageFormat = $, e.isMessageFunction = Q, e.isTranslateFallbackWarn = Pt, e.isTranslateMissingWarn = Ft, e.isWarnOption = Nt, e.number = Qt, e.parse = dt, e.parseDateTimeArgs = Xt, e.parseNumberArgs = en, e.parseTranslateArgs = yn, e.registerLocaleFallbacker = Et, e.registerMessageCompiler = St, e.registerMessageResolver = wt, e.resolveLocale = et, e.resolveValue = mt, e.resolveWithKeyValue = pt, e.setLocaleMessage = jt, e.translate = hn, e.updateFallbackLocale = Rt, e;
1519
+ return e.AST_NODE_PROPS_KEYS = Ue, e.CORE_ERROR_CODES_EXTEND_POINT = 23, e.CORE_WARN_CODES_EXTEND_POINT = 13, e.CoreWarnCodes = X, e.DATETIME_FORMAT_OPTIONS_KEYS = Jt, e.DEFAULT_LOCALE = Z, e.DEFAULT_MESSAGE_DATA_TYPE = rn, e.MISSING_RESOLVE_VALUE = ``, e.NOT_RESOLVED = -1, e.NUMBER_FORMAT_OPTIONS_KEYS = Qt, e.VERSION = _t, e.clearCompileCache = Ye, e.clearDateTimeFormat = Xt, e.clearNumberFormat = en, e.compile = Ze, e.createCompileError = z, e.createCoreContext = Dt, e.createCoreError = J, e.createMessageContext = fn, e.datetime = qt, e.fallbackWithLocaleChain = nt, e.fallbackWithSimple = tt, e.getLocale = Qe, e.getLocaleMessage = kt, e.getWarnMessage = gt, e.handleMissing = Ft, e.isAlmostSameLocale = Rt, e.isFallbackLocale = jt, e.isImplicitFallback = zt, e.isMessageAST = H, e.isMessageFormat = mn, e.isMessageFunction = $, e.isTranslateFallbackWarn = Nt, e.isTranslateMissingWarn = Pt, e.isWarnOption = Mt, e.number = Zt, e.parse = dt, e.parseDateTimeArgs = Yt, e.parseNumberArgs = $t, e.parseTranslateArgs = yn, e.registerLocaleFallbacker = Tt, e.registerMessageCompiler = xt, e.registerMessageResolver = Ct, e.resolveLocale = et, e.resolveValue = mt, e.resolveWithKeyValue = pt, e.setLocaleMessage = At, e.translate = hn, e.updateFallbackLocale = Lt, e;
1517
1520
  })({});
package/dist/core.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @intlify/core v12.0.0-alpha.10
2
+ * @intlify/core v12.0.0-alpha.11
3
3
  * (c) 2016-present kazuya kawaguchi and contributors
4
4
  * @license MIT
5
5
  **/
package/dist/core.node.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @intlify/core v12.0.0-alpha.10
2
+ * @intlify/core v12.0.0-alpha.11
3
3
  * (c) 2016-present kazuya kawaguchi and contributors
4
4
  * @license MIT
5
5
  **/
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @intlify/core v12.0.0-alpha.10
2
+ * @intlify/core v12.0.0-alpha.11
3
3
  * (c) 2016-present kazuya kawaguchi and contributors
4
4
  * @license MIT
5
5
  **/
@@ -939,7 +939,7 @@ function getWarnMessage(code, ...args) {
939
939
  * Intlify core-base version
940
940
  * @internal
941
941
  */
942
- const VERSION = "12.0.0-alpha.10";
942
+ const VERSION = "12.0.0-alpha.11";
943
943
  const NOT_RESOLVED = -1;
944
944
  const DEFAULT_LOCALE = "en-US";
945
945
  const MISSING_RESOLVE_VALUE = "";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @intlify/core v12.0.0-alpha.10
2
+ * @intlify/core v12.0.0-alpha.11
3
3
  * (c) 2016-present kazuya kawaguchi and contributors
4
4
  * @license MIT
5
5
  **/ const e = /\{([0-9a-z]+)\}/gi;
@@ -498,7 +498,7 @@ const W = {
498
498
  function st(e, ...n) {
499
499
  return t(ot[e], ...n);
500
500
  }
501
- const G = `12.0.0-alpha.10`, ct = -1, K = `en-US`, lt = ``, ut = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
501
+ const G = `12.0.0-alpha.11`, ct = -1, K = `en-US`, lt = ``, ut = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
502
502
  function dt() {
503
503
  return {
504
504
  upper: (e, t) => t === `text` && _(e) ? e.toUpperCase() : t === `vnode` && y(e) && `__v_isVNode` in e ? e.children.toUpperCase() : e,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @intlify/core v12.0.0-alpha.10
2
+ * @intlify/core v12.0.0-alpha.11
3
3
  * (c) 2016-present kazuya kawaguchi and contributors
4
4
  * @license MIT
5
5
  **/
@@ -941,7 +941,7 @@ var IntlifyCore = (function(exports) {
941
941
  * Intlify core-base version
942
942
  * @internal
943
943
  */
944
- const VERSION = "12.0.0-alpha.10";
944
+ const VERSION = "12.0.0-alpha.11";
945
945
  const NOT_RESOLVED = -1;
946
946
  const DEFAULT_LOCALE = "en-US";
947
947
  const MISSING_RESOLVE_VALUE = "";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @intlify/core v12.0.0-alpha.10
2
+ * @intlify/core v12.0.0-alpha.11
3
3
  * (c) 2016-present kazuya kawaguchi and contributors
4
4
  * @license MIT
5
5
  **/ var IntlifyCore = (function(e) {
@@ -500,7 +500,7 @@
500
500
  function at(e, ...t) {
501
501
  return n(it[e], ...t);
502
502
  }
503
- let ot = `12.0.0-alpha.10`, K = `en-US`, st = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
503
+ let ot = `12.0.0-alpha.11`, K = `en-US`, st = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
504
504
  function ct() {
505
505
  return {
506
506
  upper: (e, t) => t === `text` && v(e) ? e.toUpperCase() : t === `vnode` && b(e) && `__v_isVNode` in e ? e.children.toUpperCase() : e,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @intlify/core v12.0.0-alpha.10
2
+ * @intlify/core v12.0.0-alpha.11
3
3
  * (c) 2016-present kazuya kawaguchi and contributors
4
4
  * @license MIT
5
5
  **/
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @intlify/core v12.0.0-alpha.10
2
+ * @intlify/core v12.0.0-alpha.11
3
3
  * (c) 2016-present kazuya kawaguchi and contributors
4
4
  * @license MIT
5
5
  **/
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@intlify/core",
3
3
  "description": "@intlify/core",
4
- "version": "12.0.0-alpha.10",
4
+ "version": "12.0.0-alpha.11",
5
5
  "author": {
6
6
  "name": "kazuya kawaguchi",
7
7
  "email": "kawakazu80@gmail.com"
@@ -56,8 +56,8 @@
56
56
  },
57
57
  "types": "dist/core.d.ts",
58
58
  "dependencies": {
59
- "@intlify/core-base": "12.0.0-alpha.10",
60
- "@intlify/shared": "12.0.0-alpha.10"
59
+ "@intlify/shared": "12.0.0-alpha.11",
60
+ "@intlify/core-base": "12.0.0-alpha.11"
61
61
  },
62
62
  "buildOptions": {
63
63
  "name": "IntlifyCore",