@embeddable.com/remarkable-pro 0.0.13 → 0.0.15

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.
Files changed (135) hide show
  1. package/dist/BarChartDefaultHorizontalPro.js +24 -24
  2. package/dist/BarChartDefaultHorizontalPro.js.map +1 -1
  3. package/dist/BarChartDefaultPro.js +24 -24
  4. package/dist/BarChartDefaultPro.js.map +1 -1
  5. package/dist/BarChartGroupedHorizontalPro.js +27 -27
  6. package/dist/BarChartGroupedHorizontalPro.js.map +1 -1
  7. package/dist/BarChartGroupedPro.js +33 -33
  8. package/dist/BarChartGroupedPro.js.map +1 -1
  9. package/dist/BarChartStackedHorizontalPro.js +28 -28
  10. package/dist/BarChartStackedHorizontalPro.js.map +1 -1
  11. package/dist/BarChartStackedPro.js +27 -27
  12. package/dist/BarChartStackedPro.js.map +1 -1
  13. package/dist/{ChartCard-DaUtlchs.js → ChartCard-BEIVgW77.js} +3 -3
  14. package/dist/{ChartCard-DaUtlchs.js.map → ChartCard-BEIVgW77.js.map} +1 -1
  15. package/dist/{index-BIiign0L.js → Color.type.emb-ByiNbaI7.js} +7355 -7348
  16. package/dist/Color.type.emb-ByiNbaI7.js.map +1 -0
  17. package/dist/ColorEditor.js +10 -11
  18. package/dist/ColorEditor.js.map +1 -1
  19. package/dist/ComparisonPeriodSelectFieldPro.js +19 -22
  20. package/dist/ComparisonPeriodSelectFieldPro.js.map +1 -1
  21. package/dist/DateRangePickerCustomPro.js +29 -28
  22. package/dist/DateRangePickerCustomPro.js.map +1 -1
  23. package/dist/DateRangeSelectFieldPro.js +23 -21
  24. package/dist/DateRangeSelectFieldPro.js.map +1 -1
  25. package/dist/DonutChartPro.js +24 -24
  26. package/dist/DonutChartPro.js.map +1 -1
  27. package/dist/DonutLabelChartPro.js +29 -30
  28. package/dist/DonutLabelChartPro.js.map +1 -1
  29. package/dist/{EditorCard-DXQeyo3r.js → EditorCard-NEIuygkP.js} +10 -10
  30. package/dist/{EditorCard-DXQeyo3r.js.map → EditorCard-NEIuygkP.js.map} +1 -1
  31. package/dist/HeatMapPro.js +46 -45
  32. package/dist/HeatMapPro.js.map +1 -1
  33. package/dist/KpiChartNumberComparisonPro.js +32 -31
  34. package/dist/KpiChartNumberComparisonPro.js.map +1 -1
  35. package/dist/KpiChartNumberPro.js +14 -20
  36. package/dist/KpiChartNumberPro.js.map +1 -1
  37. package/dist/LineChartComparisonDefaultPro.js +61 -60
  38. package/dist/LineChartComparisonDefaultPro.js.map +1 -1
  39. package/dist/LineChartDefaultPro.js +46 -38
  40. package/dist/LineChartDefaultPro.js.map +1 -1
  41. package/dist/LineChartGroupedPro.js +47 -36
  42. package/dist/LineChartGroupedPro.js.map +1 -1
  43. package/dist/MultiSelectFieldPro.js +24 -27
  44. package/dist/MultiSelectFieldPro.js.map +1 -1
  45. package/dist/PieChartPro.js +24 -24
  46. package/dist/PieChartPro.js.map +1 -1
  47. package/dist/PivotTablePro.js +31 -29
  48. package/dist/PivotTablePro.js.map +1 -1
  49. package/dist/SingleSelectFieldPro.js +24 -24
  50. package/dist/SingleSelectFieldPro.js.map +1 -1
  51. package/dist/TableChartPaginated.js +43 -37
  52. package/dist/TableChartPaginated.js.map +1 -1
  53. package/dist/{bars.utils-C45cnEfc.js → bars.utils-D12lq8bm.js} +4 -4
  54. package/dist/{bars.utils-C45cnEfc.js.map → bars.utils-D12lq8bm.js.map} +1 -1
  55. package/dist/{charts.utils-D_9y_kjG.js → charts.utils-Bq6c6ccK.js} +1864 -1784
  56. package/dist/charts.utils-Bq6c6ccK.js.map +1 -0
  57. package/dist/{component.constants-DJqBv0qe.js → component.inputs.constants-FaX3B1CO.js} +416 -403
  58. package/dist/component.inputs.constants-FaX3B1CO.js.map +1 -0
  59. package/dist/components/charts/lines/LineChartComparisonDefaultPro/index.d.ts.map +1 -1
  60. package/dist/components/charts/tables/HeatMapPro/index.d.ts +2 -2
  61. package/dist/components/charts/tables/HeatMapPro/index.d.ts.map +1 -1
  62. package/dist/components/component.inputs.constants.d.ts +309 -0
  63. package/dist/components/component.inputs.constants.d.ts.map +1 -0
  64. package/dist/components/component.subinputs.constants.d.ts +95 -0
  65. package/dist/components/component.subinputs.constants.d.ts.map +1 -0
  66. package/dist/embeddable-components.json +14 -14
  67. package/dist/embeddable-theme-0137e.js +3330 -3250
  68. package/dist/{formatter.utils-BRMB8qAc.js → formatter.utils-IGbSBsIu.js} +2 -2
  69. package/dist/{formatter.utils-BRMB8qAc.js.map → formatter.utils-IGbSBsIu.js.map} +1 -1
  70. package/dist/{index-S5z1sMxW.js → index-B15C4kTf.js} +5 -5
  71. package/dist/{index-S5z1sMxW.js.map → index-B15C4kTf.js.map} +1 -1
  72. package/dist/{index-C4oavwFu.js → index-BDPQ_c46.js} +5 -5
  73. package/dist/{index-C4oavwFu.js.map → index-BDPQ_c46.js.map} +1 -1
  74. package/dist/{index-GA9m2JpT.js → index-BKcWHLSf.js} +5 -5
  75. package/dist/{index-GA9m2JpT.js.map → index-BKcWHLSf.js.map} +1 -1
  76. package/dist/{index-Djoz2cf4.js → index-BNFqHQr3.js} +6 -6
  77. package/dist/{index-Djoz2cf4.js.map → index-BNFqHQr3.js.map} +1 -1
  78. package/dist/{index-BqgkyNm8.js → index-BiTSd5Wd.js} +5 -5
  79. package/dist/index-BiTSd5Wd.js.map +1 -0
  80. package/dist/{index-QLS7PLnH.js → index-BjaJdNzu.js} +5 -5
  81. package/dist/{index-QLS7PLnH.js.map → index-BjaJdNzu.js.map} +1 -1
  82. package/dist/{index-BbypzboN.js → index-BzF8GFHy.js} +5 -5
  83. package/dist/{index-BbypzboN.js.map → index-BzF8GFHy.js.map} +1 -1
  84. package/dist/{index-CfpIN_sB.js → index-CQZhGtUT.js} +6 -6
  85. package/dist/{index-CfpIN_sB.js.map → index-CQZhGtUT.js.map} +1 -1
  86. package/dist/{index-Df6HY9t3.js → index-CR69kGQc.js} +5 -5
  87. package/dist/{index-Df6HY9t3.js.map → index-CR69kGQc.js.map} +1 -1
  88. package/dist/{index-BEwcJPua.js → index-CdjbmThq.js} +5 -5
  89. package/dist/{index-BEwcJPua.js.map → index-CdjbmThq.js.map} +1 -1
  90. package/dist/{index-Drxp0RBw.js → index-CwiND2Ct.js} +16 -16
  91. package/dist/{index-Drxp0RBw.js.map → index-CwiND2Ct.js.map} +1 -1
  92. package/dist/{index-DD5t0omh.js → index-DLCspqkx.js} +5 -5
  93. package/dist/{index-DD5t0omh.js.map → index-DLCspqkx.js.map} +1 -1
  94. package/dist/{index-ifHDbmyw.js → index-DNXqnRoE.js} +5 -5
  95. package/dist/{index-ifHDbmyw.js.map → index-DNXqnRoE.js.map} +1 -1
  96. package/dist/{index-CNjwWCGc.js → index-DRIH3L5J.js} +5 -5
  97. package/dist/{index-CNjwWCGc.js.map → index-DRIH3L5J.js.map} +1 -1
  98. package/dist/{index-CSdnJs7F.js → index-DdeFtB5C.js} +65 -61
  99. package/dist/{index-CSdnJs7F.js.map → index-DdeFtB5C.js.map} +1 -1
  100. package/dist/{index-DkbXF0dN.js → index-Dhj9KjfQ.js} +5 -5
  101. package/dist/{index-DkbXF0dN.js.map → index-Dhj9KjfQ.js.map} +1 -1
  102. package/dist/{index-CYfKRRhL.js → index-EAQjfjEJ.js} +16 -16
  103. package/dist/{index-CYfKRRhL.js.map → index-EAQjfjEJ.js.map} +1 -1
  104. package/dist/{index-CVv-xIyp.js → index-RHaWI3AH.js} +5 -5
  105. package/dist/{index-CVv-xIyp.js.map → index-RHaWI3AH.js.map} +1 -1
  106. package/dist/{index-Ba6ziHiQ.js → index-_fEx7Sbh.js} +4 -4
  107. package/dist/{index-Ba6ziHiQ.js.map → index-_fEx7Sbh.js.map} +1 -1
  108. package/dist/{index-DBFwmzJQ.js → index-hHVOyy6e.js} +11 -11
  109. package/dist/{index-DBFwmzJQ.js.map → index-hHVOyy6e.js.map} +1 -1
  110. package/dist/{index-Bn5j2FLA.js → index-oK1pn0Vk.js} +5 -5
  111. package/dist/{index-Bn5j2FLA.js.map → index-oK1pn0Vk.js.map} +1 -1
  112. package/dist/index.d.ts +1 -1
  113. package/dist/index.d.ts.map +1 -1
  114. package/dist/index.js +81 -131
  115. package/dist/index.js.map +1 -1
  116. package/dist/{pies.utils-B_jS454c.js → pies.utils-C5DxeS68.js} +5 -5
  117. package/dist/{pies.utils-B_jS454c.js.map → pies.utils-C5DxeS68.js.map} +1 -1
  118. package/dist/remarkable-pro.css +1 -1
  119. package/dist/theme/defaults/defaults.ComparisonPeriods.constants.d.ts +1 -1
  120. package/dist/theme/defaults/defaults.ComparisonPeriods.constants.d.ts.map +1 -1
  121. package/dist/theme/i18n/translations/de.d.ts.map +1 -1
  122. package/dist/theme/i18n/translations/en.d.ts.map +1 -1
  123. package/dist/{timeRange.utils-CgLgHA94.js → timeRange.utils-CTEHTF97.js} +2 -2
  124. package/dist/{timeRange.utils-CgLgHA94.js.map → timeRange.utils-CTEHTF97.js.map} +1 -1
  125. package/package.json +2 -2
  126. package/dist/Color.type.emb-DFhAaPXz.js +0 -9
  127. package/dist/Color.type.emb-DFhAaPXz.js.map +0 -1
  128. package/dist/ComparisonPeriod.type.emb-C-YdNTEB.js +0 -14
  129. package/dist/ComparisonPeriod.type.emb-C-YdNTEB.js.map +0 -1
  130. package/dist/charts.utils-D_9y_kjG.js.map +0 -1
  131. package/dist/component.constants-DJqBv0qe.js.map +0 -1
  132. package/dist/components/component.constants.d.ts +0 -324
  133. package/dist/components/component.constants.d.ts.map +0 -1
  134. package/dist/index-BIiign0L.js.map +0 -1
  135. package/dist/index-BqgkyNm8.js.map +0 -1
@@ -1,61 +1,61 @@
1
- import { t as Ae, d as De, b as te } from "./index-BIiign0L.js";
2
- const p = (r) => typeof r == "string", M = () => {
1
+ import { t as Ee, W as Le, X as D, s as Oe } from "./Color.type.emb-ByiNbaI7.js";
2
+ const p = (r) => typeof r == "string", U = () => {
3
3
  let r, e;
4
4
  const t = new Promise((i, s) => {
5
5
  r = i, e = s;
6
6
  });
7
7
  return t.resolve = r, t.reject = e, t;
8
- }, re = (r) => r == null ? "" : "" + r, Te = (r, e, t) => {
8
+ }, oe = (r) => r == null ? "" : "" + r, Me = (r, e, t) => {
9
9
  r.forEach((i) => {
10
10
  e[i] && (t[i] = e[i]);
11
11
  });
12
- }, Fe = /###/g, oe = (r) => r && r.indexOf("###") > -1 ? r.replace(Fe, ".") : r, le = (r) => !r || p(r), K = (r, e, t) => {
12
+ }, Ve = /###/g, le = (r) => r && r.indexOf("###") > -1 ? r.replace(Ve, ".") : r, ue = (r) => !r || p(r), H = (r, e, t) => {
13
13
  const i = p(e) ? e.split(".") : e;
14
14
  let s = 0;
15
15
  for (; s < i.length - 1; ) {
16
- if (le(r)) return {};
17
- const n = oe(i[s]);
16
+ if (ue(r)) return {};
17
+ const n = le(i[s]);
18
18
  !r[n] && t && (r[n] = new t()), Object.prototype.hasOwnProperty.call(r, n) ? r = r[n] : r = {}, ++s;
19
19
  }
20
- return le(r) ? {} : {
20
+ return ue(r) ? {} : {
21
21
  obj: r,
22
- k: oe(i[s])
22
+ k: le(i[s])
23
23
  };
24
- }, ue = (r, e, t) => {
24
+ }, ce = (r, e, t) => {
25
25
  const {
26
26
  obj: i,
27
27
  k: s
28
- } = K(r, e, Object);
28
+ } = H(r, e, Object);
29
29
  if (i !== void 0 || e.length === 1) {
30
30
  i[s] = t;
31
31
  return;
32
32
  }
33
- let n = e[e.length - 1], a = e.slice(0, e.length - 1), o = K(r, a, Object);
33
+ let n = e[e.length - 1], a = e.slice(0, e.length - 1), o = H(r, a, Object);
34
34
  for (; o.obj === void 0 && a.length; )
35
- n = `${a[a.length - 1]}.${n}`, a = a.slice(0, a.length - 1), o = K(r, a, Object), o != null && o.obj && typeof o.obj[`${o.k}.${n}`] < "u" && (o.obj = void 0);
35
+ n = `${a[a.length - 1]}.${n}`, a = a.slice(0, a.length - 1), o = H(r, a, Object), o != null && o.obj && typeof o.obj[`${o.k}.${n}`] < "u" && (o.obj = void 0);
36
36
  o.obj[`${o.k}.${n}`] = t;
37
- }, je = (r, e, t, i) => {
37
+ }, Ke = (r, e, t, i) => {
38
38
  const {
39
39
  obj: s,
40
40
  k: n
41
- } = K(r, e, Object);
41
+ } = H(r, e, Object);
42
42
  s[n] = s[n] || [], s[n].push(t);
43
- }, Y = (r, e) => {
43
+ }, _ = (r, e) => {
44
44
  const {
45
45
  obj: t,
46
46
  k: i
47
- } = K(r, e);
47
+ } = H(r, e);
48
48
  if (t && Object.prototype.hasOwnProperty.call(t, i))
49
49
  return t[i];
50
- }, Ee = (r, e, t) => {
51
- const i = Y(r, t);
52
- return i !== void 0 ? i : Y(e, t);
53
- }, Se = (r, e, t) => {
50
+ }, Ue = (r, e, t) => {
51
+ const i = _(r, t);
52
+ return i !== void 0 ? i : _(e, t);
53
+ }, Ce = (r, e, t) => {
54
54
  for (const i in e)
55
- i !== "__proto__" && i !== "constructor" && (i in r ? p(r[i]) || r[i] instanceof String || p(e[i]) || e[i] instanceof String ? t && (r[i] = e[i]) : Se(r[i], e[i], t) : r[i] = e[i]);
55
+ i !== "__proto__" && i !== "constructor" && (i in r ? p(r[i]) || r[i] instanceof String || p(e[i]) || e[i] instanceof String ? t && (r[i] = e[i]) : Ce(r[i], e[i], t) : r[i] = e[i]);
56
56
  return r;
57
- }, T = (r) => r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
58
- var Ve = {
57
+ }, j = (r) => r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
58
+ var He = {
59
59
  "&": "&amp;",
60
60
  "<": "&lt;",
61
61
  ">": "&gt;",
@@ -63,8 +63,8 @@ var Ve = {
63
63
  "'": "&#39;",
64
64
  "/": "&#x2F;"
65
65
  };
66
- const Me = (r) => p(r) ? r.replace(/[&<>"'\/]/g, (e) => Ve[e]) : r;
67
- class Ke {
66
+ const Be = (r) => p(r) ? r.replace(/[&<>"'\/]/g, (e) => He[e]) : r;
67
+ class ze {
68
68
  constructor(e) {
69
69
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
70
70
  }
@@ -76,18 +76,18 @@ class Ke {
76
76
  return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, i), this.regExpQueue.push(e), i;
77
77
  }
78
78
  }
79
- const Ue = [" ", ",", "?", "!", ";"], He = new Ke(20), Be = (r, e, t) => {
79
+ const Je = [" ", ",", "?", "!", ";"], Ye = new ze(20), We = (r, e, t) => {
80
80
  e = e || "", t = t || "";
81
- const i = Ue.filter((a) => e.indexOf(a) < 0 && t.indexOf(a) < 0);
81
+ const i = Je.filter((a) => e.indexOf(a) < 0 && t.indexOf(a) < 0);
82
82
  if (i.length === 0) return !0;
83
- const s = He.getRegExp(`(${i.map((a) => a === "?" ? "\\?" : a).join("|")})`);
83
+ const s = Ye.getRegExp(`(${i.map((a) => a === "?" ? "\\?" : a).join("|")})`);
84
84
  let n = !s.test(r);
85
85
  if (!n) {
86
86
  const a = r.indexOf(t);
87
87
  a > 0 && !s.test(r.substring(0, a)) && (n = !0);
88
88
  }
89
89
  return n;
90
- }, Z = (r, e, t = ".") => {
90
+ }, te = (r, e, t = ".") => {
91
91
  if (!r) return;
92
92
  if (r[e])
93
93
  return Object.prototype.hasOwnProperty.call(r, e) ? r[e] : void 0;
@@ -107,7 +107,7 @@ const Ue = [" ", ",", "?", "!", ";"], He = new Ke(20), Be = (r, e, t) => {
107
107
  s = a;
108
108
  }
109
109
  return s;
110
- }, H = (r) => r == null ? void 0 : r.replace("_", "-"), ze = {
110
+ }, z = (r) => r == null ? void 0 : r.replace("_", "-"), _e = {
111
111
  type: "logger",
112
112
  log(r) {
113
113
  this.output("log", r);
@@ -123,12 +123,12 @@ const Ue = [" ", ",", "?", "!", ";"], He = new Ke(20), Be = (r, e, t) => {
123
123
  (i = (t = console == null ? void 0 : console[r]) == null ? void 0 : t.apply) == null || i.call(t, console, e);
124
124
  }
125
125
  };
126
- class W {
126
+ class q {
127
127
  constructor(e, t = {}) {
128
128
  this.init(e, t);
129
129
  }
130
130
  init(e, t = {}) {
131
- this.prefix = t.prefix || "i18next:", this.logger = e || ze, this.options = t, this.debug = t.debug;
131
+ this.prefix = t.prefix || "i18next:", this.logger = e || _e, this.options = t, this.debug = t.debug;
132
132
  }
133
133
  log(...e) {
134
134
  return this.forward(e, "log", "", !0);
@@ -146,17 +146,17 @@ class W {
146
146
  return s && !this.debug ? null : (p(e[0]) && (e[0] = `${i}${this.prefix} ${e[0]}`), this.logger[t](e));
147
147
  }
148
148
  create(e) {
149
- return new W(this.logger, {
149
+ return new q(this.logger, {
150
150
  prefix: `${this.prefix}:${e}:`,
151
151
  ...this.options
152
152
  });
153
153
  }
154
154
  clone(e) {
155
- return e = e || this.options, e.prefix = e.prefix || this.prefix, new W(this.logger, e);
155
+ return e = e || this.options, e.prefix = e.prefix || this.prefix, new q(this.logger, e);
156
156
  }
157
157
  }
158
- var $ = new W();
159
- class _ {
158
+ var $ = new q();
159
+ class G {
160
160
  constructor() {
161
161
  this.observers = {};
162
162
  }
@@ -186,7 +186,7 @@ class _ {
186
186
  });
187
187
  }
188
188
  }
189
- class ce extends _ {
189
+ class fe extends G {
190
190
  constructor(e, t = {
191
191
  ns: ["translation"],
192
192
  defaultNS: "translation"
@@ -205,15 +205,15 @@ class ce extends _ {
205
205
  const n = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator, a = s.ignoreJSONStructure !== void 0 ? s.ignoreJSONStructure : this.options.ignoreJSONStructure;
206
206
  let o;
207
207
  e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], i && (Array.isArray(i) ? o.push(...i) : p(i) && n ? o.push(...i.split(n)) : o.push(i)));
208
- const u = Y(this.data, o);
209
- return !u && !t && !i && e.indexOf(".") > -1 && (e = o[0], t = o[1], i = o.slice(2).join(".")), u || !a || !p(i) ? u : Z((f = (l = this.data) == null ? void 0 : l[e]) == null ? void 0 : f[t], i, n);
208
+ const u = _(this.data, o);
209
+ return !u && !t && !i && e.indexOf(".") > -1 && (e = o[0], t = o[1], i = o.slice(2).join(".")), u || !a || !p(i) ? u : te((f = (l = this.data) == null ? void 0 : l[e]) == null ? void 0 : f[t], i, n);
210
210
  }
211
211
  addResource(e, t, i, s, n = {
212
212
  silent: !1
213
213
  }) {
214
214
  const a = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator;
215
215
  let o = [e, t];
216
- i && (o = o.concat(a ? i.split(a) : i)), e.indexOf(".") > -1 && (o = e.split("."), s = t, t = o[1]), this.addNamespaces(t), ue(this.data, o, s), n.silent || this.emit("added", e, t, i, s);
216
+ i && (o = o.concat(a ? i.split(a) : i)), e.indexOf(".") > -1 && (o = e.split("."), s = t, t = o[1]), this.addNamespaces(t), ce(this.data, o, s), n.silent || this.emit("added", e, t, i, s);
217
217
  }
218
218
  addResources(e, t, i, s = {
219
219
  silent: !1
@@ -230,11 +230,11 @@ class ce extends _ {
230
230
  }) {
231
231
  let o = [e, t];
232
232
  e.indexOf(".") > -1 && (o = e.split("."), s = i, i = t, t = o[1]), this.addNamespaces(t);
233
- let u = Y(this.data, o) || {};
234
- a.skipCopy || (i = JSON.parse(JSON.stringify(i))), s ? Se(u, i, n) : u = {
233
+ let u = _(this.data, o) || {};
234
+ a.skipCopy || (i = JSON.parse(JSON.stringify(i))), s ? Ce(u, i, n) : u = {
235
235
  ...u,
236
236
  ...i
237
- }, ue(this.data, o, u), a.silent || this.emit("added", e, t, i);
237
+ }, ce(this.data, o, u), a.silent || this.emit("added", e, t, i);
238
238
  }
239
239
  removeResourceBundle(e, t) {
240
240
  this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
@@ -256,7 +256,7 @@ class ce extends _ {
256
256
  return this.data;
257
257
  }
258
258
  }
259
- var Le = {
259
+ var we = {
260
260
  processors: {},
261
261
  addPostProcessor(r) {
262
262
  this.processors[r.name] = r;
@@ -268,25 +268,25 @@ var Le = {
268
268
  }), e;
269
269
  }
270
270
  };
271
- const Oe = Symbol("i18next/PATH_KEY");
272
- function Je() {
271
+ const ve = Symbol("i18next/PATH_KEY");
272
+ function qe() {
273
273
  const r = [], e = /* @__PURE__ */ Object.create(null);
274
274
  let t;
275
275
  return e.get = (i, s) => {
276
276
  var n;
277
- return (n = t == null ? void 0 : t.revoke) == null || n.call(t), s === Oe ? r : (r.push(s), t = Proxy.revocable(i, e), t.proxy);
277
+ return (n = t == null ? void 0 : t.revoke) == null || n.call(t), s === ve ? r : (r.push(s), t = Proxy.revocable(i, e), t.proxy);
278
278
  }, Proxy.revocable(/* @__PURE__ */ Object.create(null), e).proxy;
279
279
  }
280
- function ee(r, e) {
280
+ function se(r, e) {
281
281
  const {
282
- [Oe]: t
283
- } = r(Je());
282
+ [ve]: t
283
+ } = r(qe());
284
284
  return t.join((e == null ? void 0 : e.keySeparator) ?? ".");
285
285
  }
286
- const fe = {}, X = (r) => !p(r) && typeof r != "boolean" && typeof r != "number";
287
- class G extends _ {
286
+ const de = {}, Z = (r) => !p(r) && typeof r != "boolean" && typeof r != "number";
287
+ class X extends G {
288
288
  constructor(e, t = {}) {
289
- super(), Te(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = $.create("translator");
289
+ super(), Me(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = $.create("translator");
290
290
  }
291
291
  changeLanguage(e) {
292
292
  e && (this.language = e);
@@ -300,7 +300,7 @@ class G extends _ {
300
300
  if (e == null) return !1;
301
301
  const s = this.resolve(e, i);
302
302
  if ((s == null ? void 0 : s.res) === void 0) return !1;
303
- const n = X(s.res);
303
+ const n = Z(s.res);
304
304
  return !(i.returnObjects === !1 && n);
305
305
  }
306
306
  extractFromKey(e, t) {
@@ -308,7 +308,7 @@ class G extends _ {
308
308
  i === void 0 && (i = ":");
309
309
  const s = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
310
310
  let n = t.ns || this.options.defaultNS || [];
311
- const a = i && e.indexOf(i) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !Be(e, i, s);
311
+ const a = i && e.indexOf(i) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !We(e, i, s);
312
312
  if (a && !o) {
313
313
  const u = e.match(this.interpolator.nestingRegexp);
314
314
  if (u && u.length > 0)
@@ -331,7 +331,7 @@ class G extends _ {
331
331
  if (typeof s != "object" && this.options.overloadTranslationOptionHandler && (s = this.options.overloadTranslationOptionHandler(arguments)), typeof s == "object" && (s = {
332
332
  ...s
333
333
  }), s || (s = {}), e == null) return "";
334
- typeof e == "function" && (e = ee(e, {
334
+ typeof e == "function" && (e = se(e, {
335
335
  ...this.options,
336
336
  ...s
337
337
  })), Array.isArray(e) || (e = [String(e)]);
@@ -358,76 +358,76 @@ class G extends _ {
358
358
  usedNS: l,
359
359
  usedParams: this.getUsedParamsDetails(s)
360
360
  } : o;
361
- const d = this.resolve(e, s);
362
- let h = d == null ? void 0 : d.res;
363
- const m = (d == null ? void 0 : d.usedKey) || o, x = (d == null ? void 0 : d.exactUsedKey) || o, w = ["[object Number]", "[object Function]", "[object RegExp]"], C = s.joinArrays !== void 0 ? s.joinArrays : this.options.joinArrays, A = !this.i18nFormat || this.i18nFormat.handleAsObject, S = s.count !== void 0 && !p(s.count), N = G.hasDefaultValue(s), B = S ? this.pluralResolver.getSuffix(c, s.count, s) : "", I = s.ordinal && S ? this.pluralResolver.getSuffix(c, s.count, {
361
+ const h = this.resolve(e, s);
362
+ let d = h == null ? void 0 : h.res;
363
+ const m = (h == null ? void 0 : h.usedKey) || o, x = (h == null ? void 0 : h.exactUsedKey) || o, w = ["[object Number]", "[object Function]", "[object RegExp]"], C = s.joinArrays !== void 0 ? s.joinArrays : this.options.joinArrays, T = !this.i18nFormat || this.i18nFormat.handleAsObject, S = s.count !== void 0 && !p(s.count), N = X.hasDefaultValue(s), J = S ? this.pluralResolver.getSuffix(c, s.count, s) : "", k = s.ordinal && S ? this.pluralResolver.getSuffix(c, s.count, {
364
364
  ordinal: !1
365
- }) : "", j = S && !s.ordinal && s.count === 0, L = j && s[`defaultValue${this.options.pluralSeparator}zero`] || s[`defaultValue${B}`] || s[`defaultValue${I}`] || s.defaultValue;
366
- let b = h;
367
- A && !h && N && (b = L);
368
- const Ie = X(b), ke = Object.prototype.toString.apply(b);
369
- if (A && b && Ie && w.indexOf(ke) < 0 && !(p(C) && Array.isArray(b))) {
365
+ }) : "", M = S && !s.ordinal && s.count === 0, L = M && s[`defaultValue${this.options.pluralSeparator}zero`] || s[`defaultValue${J}`] || s[`defaultValue${k}`] || s.defaultValue;
366
+ let b = d;
367
+ T && !d && N && (b = L);
368
+ const je = Z(b), Ie = Object.prototype.toString.apply(b);
369
+ if (T && b && je && w.indexOf(Ie) < 0 && !(p(C) && Array.isArray(b))) {
370
370
  if (!s.returnObjects && !this.options.returnObjects) {
371
371
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
372
- const v = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(m, b, {
372
+ const R = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(m, b, {
373
373
  ...s,
374
374
  ns: u
375
375
  }) : `key '${o} (${this.language})' returned an object instead of string.`;
376
- return n ? (d.res = v, d.usedParams = this.getUsedParamsDetails(s), d) : v;
376
+ return n ? (h.res = R, h.usedParams = this.getUsedParamsDetails(s), h) : R;
377
377
  }
378
378
  if (a) {
379
- const v = Array.isArray(b), R = v ? [] : {}, se = v ? x : m;
379
+ const R = Array.isArray(b), v = R ? [] : {}, ie = R ? x : m;
380
380
  for (const P in b)
381
381
  if (Object.prototype.hasOwnProperty.call(b, P)) {
382
- const k = `${se}${a}${P}`;
383
- N && !h ? R[P] = this.translate(k, {
382
+ const A = `${ie}${a}${P}`;
383
+ N && !d ? v[P] = this.translate(A, {
384
384
  ...s,
385
- defaultValue: X(L) ? L[P] : void 0,
385
+ defaultValue: Z(L) ? L[P] : void 0,
386
386
  joinArrays: !1,
387
387
  ns: u
388
- }) : R[P] = this.translate(k, {
388
+ }) : v[P] = this.translate(A, {
389
389
  ...s,
390
390
  joinArrays: !1,
391
391
  ns: u
392
- }), R[P] === k && (R[P] = b[P]);
392
+ }), v[P] === A && (v[P] = b[P]);
393
393
  }
394
- h = R;
394
+ d = v;
395
395
  }
396
- } else if (A && p(C) && Array.isArray(h))
397
- h = h.join(C), h && (h = this.extendTranslation(h, e, s, i));
396
+ } else if (T && p(C) && Array.isArray(d))
397
+ d = d.join(C), d && (d = this.extendTranslation(d, e, s, i));
398
398
  else {
399
- let v = !1, R = !1;
400
- !this.isValidLookup(h) && N && (v = !0, h = L), this.isValidLookup(h) || (R = !0, h = o);
401
- const P = (s.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && R ? void 0 : h, k = N && L !== h && this.options.updateMissing;
402
- if (R || v || k) {
403
- if (this.logger.log(k ? "updateKey" : "missingKey", c, l, o, k ? L : h), a) {
399
+ let R = !1, v = !1;
400
+ !this.isValidLookup(d) && N && (R = !0, d = L), this.isValidLookup(d) || (v = !0, d = o);
401
+ const P = (s.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && v ? void 0 : d, A = N && L !== d && this.options.updateMissing;
402
+ if (v || R || A) {
403
+ if (this.logger.log(A ? "updateKey" : "missingKey", c, l, o, A ? L : d), a) {
404
404
  const O = this.resolve(o, {
405
405
  ...s,
406
406
  keySeparator: !1
407
407
  });
408
408
  O && O.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
409
409
  }
410
- let E = [];
411
- const z = this.languageUtils.getFallbackCodes(this.options.fallbackLng, s.lng || this.language);
412
- if (this.options.saveMissingTo === "fallback" && z && z[0])
413
- for (let O = 0; O < z.length; O++)
414
- E.push(z[O]);
415
- else this.options.saveMissingTo === "all" ? E = this.languageUtils.toResolveHierarchy(s.lng || this.language) : E.push(s.lng || this.language);
416
- const ie = (O, D, V) => {
417
- var ae;
418
- const ne = N && V !== h ? V : P;
419
- this.options.missingKeyHandler ? this.options.missingKeyHandler(O, l, D, ne, k, s) : (ae = this.backendConnector) != null && ae.saveMissing && this.backendConnector.saveMissing(O, l, D, ne, k, s), this.emit("missingKey", O, l, D, h);
410
+ let V = [];
411
+ const Y = this.languageUtils.getFallbackCodes(this.options.fallbackLng, s.lng || this.language);
412
+ if (this.options.saveMissingTo === "fallback" && Y && Y[0])
413
+ for (let O = 0; O < Y.length; O++)
414
+ V.push(Y[O]);
415
+ else this.options.saveMissingTo === "all" ? V = this.languageUtils.toResolveHierarchy(s.lng || this.language) : V.push(s.lng || this.language);
416
+ const ne = (O, F, K) => {
417
+ var re;
418
+ const ae = N && K !== d ? K : P;
419
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(O, l, F, ae, A, s) : (re = this.backendConnector) != null && re.saveMissing && this.backendConnector.saveMissing(O, l, F, ae, A, s), this.emit("missingKey", O, l, F, d);
420
420
  };
421
- this.options.saveMissing && (this.options.saveMissingPlurals && S ? E.forEach((O) => {
422
- const D = this.pluralResolver.getSuffixes(O, s);
423
- j && s[`defaultValue${this.options.pluralSeparator}zero`] && D.indexOf(`${this.options.pluralSeparator}zero`) < 0 && D.push(`${this.options.pluralSeparator}zero`), D.forEach((V) => {
424
- ie([O], o + V, s[`defaultValue${V}`] || L);
421
+ this.options.saveMissing && (this.options.saveMissingPlurals && S ? V.forEach((O) => {
422
+ const F = this.pluralResolver.getSuffixes(O, s);
423
+ M && s[`defaultValue${this.options.pluralSeparator}zero`] && F.indexOf(`${this.options.pluralSeparator}zero`) < 0 && F.push(`${this.options.pluralSeparator}zero`), F.forEach((K) => {
424
+ ne([O], o + K, s[`defaultValue${K}`] || L);
425
425
  });
426
- }) : ie(E, o, L));
426
+ }) : ne(V, o, L));
427
427
  }
428
- h = this.extendTranslation(h, e, s, d, i), R && h === o && this.options.appendNamespaceToMissingKey && (h = `${l}${f}${o}`), (R || v) && this.options.parseMissingKeyHandler && (h = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${l}${f}${o}` : o, v ? h : void 0, s));
428
+ d = this.extendTranslation(d, e, s, h, i), v && d === o && this.options.appendNamespaceToMissingKey && (d = `${l}${f}${o}`), (v || R) && this.options.parseMissingKeyHandler && (d = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${l}${f}${o}` : o, R ? d : void 0, s));
429
429
  }
430
- return n ? (d.res = h, d.usedParams = this.getUsedParamsDetails(s), d) : h;
430
+ return n ? (h.res = d, h.usedParams = this.getUsedParamsDetails(s), h) : d;
431
431
  }
432
432
  extendTranslation(e, t, i, s, n) {
433
433
  var u, l;
@@ -449,21 +449,21 @@ class G extends _ {
449
449
  const f = p(e) && (((l = i == null ? void 0 : i.interpolation) == null ? void 0 : l.skipOnVariables) !== void 0 ? i.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
450
450
  let c;
451
451
  if (f) {
452
- const d = e.match(this.interpolator.nestingRegexp);
453
- c = d && d.length;
452
+ const h = e.match(this.interpolator.nestingRegexp);
453
+ c = h && h.length;
454
454
  }
455
455
  let g = i.replace && !p(i.replace) ? i.replace : i;
456
456
  if (this.options.interpolation.defaultVariables && (g = {
457
457
  ...this.options.interpolation.defaultVariables,
458
458
  ...g
459
459
  }), e = this.interpolator.interpolate(e, g, i.lng || this.language || s.usedLng, i), f) {
460
- const d = e.match(this.interpolator.nestingRegexp), h = d && d.length;
461
- c < h && (i.nest = !1);
460
+ const h = e.match(this.interpolator.nestingRegexp), d = h && h.length;
461
+ c < d && (i.nest = !1);
462
462
  }
463
- !i.lng && s && s.res && (i.lng = this.language || s.usedLng), i.nest !== !1 && (e = this.interpolator.nest(e, (...d) => (n == null ? void 0 : n[0]) === d[0] && !i.context ? (this.logger.warn(`It seems you are nesting recursively key: ${d[0]} in key: ${t[0]}`), null) : this.translate(...d, t), i)), i.interpolation && this.interpolator.reset();
463
+ !i.lng && s && s.res && (i.lng = this.language || s.usedLng), i.nest !== !1 && (e = this.interpolator.nest(e, (...h) => (n == null ? void 0 : n[0]) === h[0] && !i.context ? (this.logger.warn(`It seems you are nesting recursively key: ${h[0]} in key: ${t[0]}`), null) : this.translate(...h, t), i)), i.interpolation && this.interpolator.reset();
464
464
  }
465
465
  const a = i.postProcess || this.options.postProcess, o = p(a) ? [a] : a;
466
- return e != null && (o != null && o.length) && i.applyPostProcessor !== !1 && (e = Le.handle(o, e, t, this.options && this.options.postProcessPassResolved ? {
466
+ return e != null && (o != null && o.length) && i.applyPostProcessor !== !1 && (e = we.handle(o, e, t, this.options && this.options.postProcessPassResolved ? {
467
467
  i18nResolved: {
468
468
  ...s,
469
469
  usedParams: this.getUsedParamsDetails(i)
@@ -479,28 +479,28 @@ class G extends _ {
479
479
  s = f;
480
480
  let c = l.namespaces;
481
481
  this.options.fallbackNS && (c = c.concat(this.options.fallbackNS));
482
- const g = t.count !== void 0 && !p(t.count), d = g && !t.ordinal && t.count === 0, h = t.context !== void 0 && (p(t.context) || typeof t.context == "number") && t.context !== "", m = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
482
+ const g = t.count !== void 0 && !p(t.count), h = g && !t.ordinal && t.count === 0, d = t.context !== void 0 && (p(t.context) || typeof t.context == "number") && t.context !== "", m = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
483
483
  c.forEach((x) => {
484
484
  var w, C;
485
- this.isValidLookup(i) || (o = x, !fe[`${m[0]}-${x}`] && ((w = this.utils) != null && w.hasLoadedNamespace) && !((C = this.utils) != null && C.hasLoadedNamespace(o)) && (fe[`${m[0]}-${x}`] = !0, this.logger.warn(`key "${s}" for languages "${m.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), m.forEach((A) => {
486
- var B;
485
+ this.isValidLookup(i) || (o = x, !de[`${m[0]}-${x}`] && ((w = this.utils) != null && w.hasLoadedNamespace) && !((C = this.utils) != null && C.hasLoadedNamespace(o)) && (de[`${m[0]}-${x}`] = !0, this.logger.warn(`key "${s}" for languages "${m.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), m.forEach((T) => {
486
+ var J;
487
487
  if (this.isValidLookup(i)) return;
488
- a = A;
488
+ a = T;
489
489
  const S = [f];
490
- if ((B = this.i18nFormat) != null && B.addLookupKeys)
491
- this.i18nFormat.addLookupKeys(S, f, A, x, t);
490
+ if ((J = this.i18nFormat) != null && J.addLookupKeys)
491
+ this.i18nFormat.addLookupKeys(S, f, T, x, t);
492
492
  else {
493
- let I;
494
- g && (I = this.pluralResolver.getSuffix(A, t.count, t));
495
- const j = `${this.options.pluralSeparator}zero`, L = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
496
- if (g && (t.ordinal && I.indexOf(L) === 0 && S.push(f + I.replace(L, this.options.pluralSeparator)), S.push(f + I), d && S.push(f + j)), h) {
493
+ let k;
494
+ g && (k = this.pluralResolver.getSuffix(T, t.count, t));
495
+ const M = `${this.options.pluralSeparator}zero`, L = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
496
+ if (g && (t.ordinal && k.indexOf(L) === 0 && S.push(f + k.replace(L, this.options.pluralSeparator)), S.push(f + k), h && S.push(f + M)), d) {
497
497
  const b = `${f}${this.options.contextSeparator || "_"}${t.context}`;
498
- S.push(b), g && (t.ordinal && I.indexOf(L) === 0 && S.push(b + I.replace(L, this.options.pluralSeparator)), S.push(b + I), d && S.push(b + j));
498
+ S.push(b), g && (t.ordinal && k.indexOf(L) === 0 && S.push(b + k.replace(L, this.options.pluralSeparator)), S.push(b + k), h && S.push(b + M));
499
499
  }
500
500
  }
501
501
  let N;
502
502
  for (; N = S.pop(); )
503
- this.isValidLookup(i) || (n = N, i = this.getResource(A, x, N, t));
503
+ this.isValidLookup(i) || (n = N, i = this.getResource(T, x, N, t));
504
504
  }));
505
505
  });
506
506
  }), {
@@ -546,12 +546,12 @@ class he {
546
546
  this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = $.create("languageUtils");
547
547
  }
548
548
  getScriptPartFromCode(e) {
549
- if (e = H(e), !e || e.indexOf("-") < 0) return null;
549
+ if (e = z(e), !e || e.indexOf("-") < 0) return null;
550
550
  const t = e.split("-");
551
551
  return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
552
552
  }
553
553
  getLanguagePartFromCode(e) {
554
- if (e = H(e), !e || e.indexOf("-") < 0) return e;
554
+ if (e = z(e), !e || e.indexOf("-") < 0) return e;
555
555
  const t = e.split("-");
556
556
  return this.formatLanguageCode(t[0]);
557
557
  }
@@ -605,20 +605,20 @@ class he {
605
605
  }), s;
606
606
  }
607
607
  }
608
- const de = {
608
+ const pe = {
609
609
  zero: 0,
610
610
  one: 1,
611
611
  two: 2,
612
612
  few: 3,
613
613
  many: 4,
614
614
  other: 5
615
- }, pe = {
615
+ }, ge = {
616
616
  select: (r) => r === 1 ? "one" : "other",
617
617
  resolvedOptions: () => ({
618
618
  pluralCategories: ["one", "other"]
619
619
  })
620
620
  };
621
- class Ye {
621
+ class Xe {
622
622
  constructor(e, t = {}) {
623
623
  this.languageUtils = e, this.options = t, this.logger = $.create("pluralResolver"), this.pluralRulesCache = {};
624
624
  }
@@ -629,7 +629,7 @@ class Ye {
629
629
  this.pluralRulesCache = {};
630
630
  }
631
631
  getRule(e, t = {}) {
632
- const i = H(e === "dev" ? "en" : e), s = t.ordinal ? "ordinal" : "cardinal", n = JSON.stringify({
632
+ const i = z(e === "dev" ? "en" : e), s = t.ordinal ? "ordinal" : "cardinal", n = JSON.stringify({
633
633
  cleanedCode: i,
634
634
  type: s
635
635
  });
@@ -642,8 +642,8 @@ class Ye {
642
642
  });
643
643
  } catch {
644
644
  if (!Intl)
645
- return this.logger.error("No Intl support, please use an Intl polyfill!"), pe;
646
- if (!e.match(/-|_/)) return pe;
645
+ return this.logger.error("No Intl support, please use an Intl polyfill!"), ge;
646
+ if (!e.match(/-|_/)) return ge;
647
647
  const u = this.languageUtils.getLanguagePartFromCode(e);
648
648
  a = this.getRule(u, t);
649
649
  }
@@ -658,18 +658,18 @@ class Ye {
658
658
  }
659
659
  getSuffixes(e, t = {}) {
660
660
  let i = this.getRule(e, t);
661
- return i || (i = this.getRule("dev", t)), i ? i.resolvedOptions().pluralCategories.sort((s, n) => de[s] - de[n]).map((s) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${s}`) : [];
661
+ return i || (i = this.getRule("dev", t)), i ? i.resolvedOptions().pluralCategories.sort((s, n) => pe[s] - pe[n]).map((s) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${s}`) : [];
662
662
  }
663
663
  getSuffix(e, t, i = {}) {
664
664
  const s = this.getRule(e, i);
665
665
  return s ? `${this.options.prepend}${i.ordinal ? `ordinal${this.options.prepend}` : ""}${s.select(t)}` : (this.logger.warn(`no plural rule found for: ${e}`), this.getSuffix("dev", t, i));
666
666
  }
667
667
  }
668
- const ge = (r, e, t, i = ".", s = !0) => {
669
- let n = Ee(r, e, t);
670
- return !n && s && p(t) && (n = Z(r, t, i), n === void 0 && (n = Z(e, t, i))), n;
671
- }, Q = (r) => r.replace(/\$/g, "$$$$");
672
- class me {
668
+ const me = (r, e, t, i = ".", s = !0) => {
669
+ let n = Ue(r, e, t);
670
+ return !n && s && p(t) && (n = te(r, t, i), n === void 0 && (n = te(e, t, i))), n;
671
+ }, ee = (r) => r.replace(/\$/g, "$$$$");
672
+ class ye {
673
673
  constructor(e = {}) {
674
674
  var t;
675
675
  this.logger = $.create("interpolator"), this.options = e, this.format = ((t = e == null ? void 0 : e.interpolation) == null ? void 0 : t.format) || ((i) => i), this.init(e);
@@ -690,14 +690,14 @@ class me {
690
690
  unescapeSuffix: f,
691
691
  unescapePrefix: c,
692
692
  nestingPrefix: g,
693
- nestingPrefixEscaped: d,
694
- nestingSuffix: h,
693
+ nestingPrefixEscaped: h,
694
+ nestingSuffix: d,
695
695
  nestingSuffixEscaped: m,
696
696
  nestingOptionsSeparator: x,
697
697
  maxReplaces: w,
698
698
  alwaysFormat: C
699
699
  } = e.interpolation;
700
- this.escape = t !== void 0 ? t : Me, this.escapeValue = i !== void 0 ? i : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = n ? T(n) : a || "{{", this.suffix = o ? T(o) : u || "}}", this.formatSeparator = l || ",", this.unescapePrefix = f ? "" : c || "-", this.unescapeSuffix = this.unescapePrefix ? "" : f || "", this.nestingPrefix = g ? T(g) : d || T("$t("), this.nestingSuffix = h ? T(h) : m || T(")"), this.nestingOptionsSeparator = x || ",", this.maxReplaces = w || 1e3, this.alwaysFormat = C !== void 0 ? C : !1, this.resetRegExp();
700
+ this.escape = t !== void 0 ? t : Be, this.escapeValue = i !== void 0 ? i : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = n ? j(n) : a || "{{", this.suffix = o ? j(o) : u || "}}", this.formatSeparator = l || ",", this.unescapePrefix = f ? "" : c || "-", this.unescapeSuffix = this.unescapePrefix ? "" : f || "", this.nestingPrefix = g ? j(g) : h || j("$t("), this.nestingSuffix = d ? j(d) : m || j(")"), this.nestingOptionsSeparator = x || ",", this.maxReplaces = w || 1e3, this.alwaysFormat = C !== void 0 ? C : !1, this.resetRegExp();
701
701
  }
702
702
  reset() {
703
703
  this.options && this.init(this.options);
@@ -707,34 +707,34 @@ class me {
707
707
  this.regexp = e(this.regexp, `${this.prefix}(.+?)${this.suffix}`), this.regexpUnescape = e(this.regexpUnescape, `${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`), this.nestingRegexp = e(this.nestingRegexp, `${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`);
708
708
  }
709
709
  interpolate(e, t, i, s) {
710
- var d;
710
+ var h;
711
711
  let n, a, o;
712
- const u = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, l = (h) => {
713
- if (h.indexOf(this.formatSeparator) < 0) {
714
- const C = ge(t, u, h, this.options.keySeparator, this.options.ignoreJSONStructure);
712
+ const u = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, l = (d) => {
713
+ if (d.indexOf(this.formatSeparator) < 0) {
714
+ const C = me(t, u, d, this.options.keySeparator, this.options.ignoreJSONStructure);
715
715
  return this.alwaysFormat ? this.format(C, void 0, i, {
716
716
  ...s,
717
717
  ...t,
718
- interpolationkey: h
718
+ interpolationkey: d
719
719
  }) : C;
720
720
  }
721
- const m = h.split(this.formatSeparator), x = m.shift().trim(), w = m.join(this.formatSeparator).trim();
722
- return this.format(ge(t, u, x, this.options.keySeparator, this.options.ignoreJSONStructure), w, i, {
721
+ const m = d.split(this.formatSeparator), x = m.shift().trim(), w = m.join(this.formatSeparator).trim();
722
+ return this.format(me(t, u, x, this.options.keySeparator, this.options.ignoreJSONStructure), w, i, {
723
723
  ...s,
724
724
  ...t,
725
725
  interpolationkey: x
726
726
  });
727
727
  };
728
728
  this.resetRegExp();
729
- const f = (s == null ? void 0 : s.missingInterpolationHandler) || this.options.missingInterpolationHandler, c = ((d = s == null ? void 0 : s.interpolation) == null ? void 0 : d.skipOnVariables) !== void 0 ? s.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
729
+ const f = (s == null ? void 0 : s.missingInterpolationHandler) || this.options.missingInterpolationHandler, c = ((h = s == null ? void 0 : s.interpolation) == null ? void 0 : h.skipOnVariables) !== void 0 ? s.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
730
730
  return [{
731
731
  regex: this.regexpUnescape,
732
- safeValue: (h) => Q(h)
732
+ safeValue: (d) => ee(d)
733
733
  }, {
734
734
  regex: this.regexp,
735
- safeValue: (h) => this.escapeValue ? Q(this.escape(h)) : Q(h)
736
- }].forEach((h) => {
737
- for (o = 0; n = h.regex.exec(e); ) {
735
+ safeValue: (d) => this.escapeValue ? ee(this.escape(d)) : ee(d)
736
+ }].forEach((d) => {
737
+ for (o = 0; n = d.regex.exec(e); ) {
738
738
  const m = n[1].trim();
739
739
  if (a = l(m), a === void 0)
740
740
  if (typeof f == "function") {
@@ -747,9 +747,9 @@ class me {
747
747
  continue;
748
748
  } else
749
749
  this.logger.warn(`missed to pass in variable ${m} for interpolating ${e}`), a = "";
750
- else !p(a) && !this.useRawValueToEscape && (a = re(a));
751
- const x = h.safeValue(a);
752
- if (e = e.replace(n[0], x), c ? (h.regex.lastIndex += a.length, h.regex.lastIndex -= n[0].length) : h.regex.lastIndex = 0, o++, o >= this.maxReplaces)
750
+ else !p(a) && !this.useRawValueToEscape && (a = oe(a));
751
+ const x = d.safeValue(a);
752
+ if (e = e.replace(n[0], x), c ? (d.regex.lastIndex += a.length, d.regex.lastIndex -= n[0].length) : d.regex.lastIndex = 0, o++, o >= this.maxReplaces)
753
753
  break;
754
754
  }
755
755
  }), e;
@@ -762,8 +762,8 @@ class me {
762
762
  const c = u.split(new RegExp(`${f}[ ]*{`));
763
763
  let g = `{${c[1]}`;
764
764
  u = c[0], g = this.interpolate(g, a);
765
- const d = g.match(/'/g), h = g.match(/"/g);
766
- (((d == null ? void 0 : d.length) ?? 0) % 2 === 0 && !h || h.length % 2 !== 0) && (g = g.replace(/'/g, '"'));
765
+ const h = g.match(/'/g), d = g.match(/"/g);
766
+ (((h == null ? void 0 : h.length) ?? 0) % 2 === 0 && !d || d.length % 2 !== 0) && (g = g.replace(/'/g, '"'));
767
767
  try {
768
768
  a = JSON.parse(g), l && (a = {
769
769
  ...l,
@@ -781,7 +781,7 @@ class me {
781
781
  }, a = a.replace && !p(a.replace) ? a.replace : a, a.applyPostProcessor = !1, delete a.defaultValue;
782
782
  const l = /{.*}/.test(s[1]) ? s[1].lastIndexOf("}") + 1 : s[1].indexOf(this.formatSeparator);
783
783
  if (l !== -1 && (u = s[1].slice(l).split(this.formatSeparator).map((f) => f.trim()).filter(Boolean), s[1] = s[1].slice(0, l)), n = t(o.call(this, s[1].trim(), a), a), n && s[0] === e && !p(n)) return n;
784
- p(n) || (n = re(n)), n || (this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`), n = ""), u.length && (n = u.reduce((f, c) => this.format(f, c, i.lng, {
784
+ p(n) || (n = oe(n)), n || (this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`), n = ""), u.length && (n = u.reduce((f, c) => this.format(f, c, i.lng, {
785
785
  ...i,
786
786
  interpolationkey: s[1].trim()
787
787
  }), n.trim())), e = e.replace(s[0], n), this.regexp.lastIndex = 0;
@@ -789,7 +789,7 @@ class me {
789
789
  return e;
790
790
  }
791
791
  }
792
- const We = (r) => {
792
+ const Ge = (r) => {
793
793
  let e = r.toLowerCase().trim();
794
794
  const t = {};
795
795
  if (r.indexOf("(") > -1) {
@@ -807,7 +807,7 @@ const We = (r) => {
807
807
  formatName: e,
808
808
  formatOptions: t
809
809
  };
810
- }, ye = (r) => {
810
+ }, xe = (r) => {
811
811
  const e = {};
812
812
  return (t, i, s) => {
813
813
  let n = s;
@@ -817,10 +817,10 @@ const We = (r) => {
817
817
  });
818
818
  const a = i + JSON.stringify(n);
819
819
  let o = e[a];
820
- return o || (o = r(H(i), s), e[a] = o), o(t);
820
+ return o || (o = r(z(i), s), e[a] = o), o(t);
821
821
  };
822
- }, Ge = (r) => (e, t, i) => r(H(t), i)(e);
823
- class _e {
822
+ }, Qe = (r) => (e, t, i) => r(z(t), i)(e);
823
+ class Ze {
824
824
  constructor(e = {}) {
825
825
  this.logger = $.create("formatter"), this.options = e, this.init(e);
826
826
  }
@@ -828,7 +828,7 @@ class _e {
828
828
  interpolation: {}
829
829
  }) {
830
830
  this.formatSeparator = t.interpolation.formatSeparator || ",";
831
- const i = t.cacheInBuiltFormats ? ye : Ge;
831
+ const i = t.cacheInBuiltFormats ? xe : Qe;
832
832
  this.formats = {
833
833
  number: i((s, n) => {
834
834
  const a = new Intl.NumberFormat(s, {
@@ -867,7 +867,7 @@ class _e {
867
867
  this.formats[e.toLowerCase().trim()] = t;
868
868
  }
869
869
  addCached(e, t) {
870
- this.formats[e.toLowerCase().trim()] = ye(t);
870
+ this.formats[e.toLowerCase().trim()] = xe(t);
871
871
  }
872
872
  format(e, t, i, s = {}) {
873
873
  const n = t.split(this.formatSeparator);
@@ -880,18 +880,18 @@ class _e {
880
880
  const {
881
881
  formatName: l,
882
882
  formatOptions: f
883
- } = We(u);
883
+ } = Ge(u);
884
884
  if (this.formats[l]) {
885
885
  let g = o;
886
886
  try {
887
- const d = ((c = s == null ? void 0 : s.formatParams) == null ? void 0 : c[s.interpolationkey]) || {}, h = d.locale || d.lng || s.locale || s.lng || i;
888
- g = this.formats[l](o, h, {
887
+ const h = ((c = s == null ? void 0 : s.formatParams) == null ? void 0 : c[s.interpolationkey]) || {}, d = h.locale || h.lng || s.locale || s.lng || i;
888
+ g = this.formats[l](o, d, {
889
889
  ...f,
890
890
  ...s,
891
- ...d
891
+ ...h
892
892
  });
893
- } catch (d) {
894
- this.logger.warn(d);
893
+ } catch (h) {
894
+ this.logger.warn(h);
895
895
  }
896
896
  return g;
897
897
  } else
@@ -900,10 +900,10 @@ class _e {
900
900
  }, e);
901
901
  }
902
902
  }
903
- const qe = (r, e) => {
903
+ const et = (r, e) => {
904
904
  r.pending[e] !== void 0 && (delete r.pending[e], r.pendingCount--);
905
905
  };
906
- class Xe extends _ {
906
+ class tt extends G {
907
907
  constructor(e, t, i, s = {}) {
908
908
  var n, a;
909
909
  super(), this.backend = e, this.store = t, this.services = i, this.languageUtils = i.languageUtils, this.options = s, this.logger = $.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = s.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = s.maxRetries >= 0 ? s.maxRetries : 5, this.retryTimeout = s.retryTimeout >= 1 ? s.retryTimeout : 350, this.state = {}, this.queue = [], (a = (n = this.backend) == null ? void 0 : n.init) == null || a.call(n, i, s.backend, s);
@@ -936,7 +936,7 @@ class Xe extends _ {
936
936
  }), this.state[e] = t ? -1 : 2, t && i && (this.state[e] = 0);
937
937
  const o = {};
938
938
  this.queue.forEach((u) => {
939
- je(u.loaded, [n], a), qe(u, e), t && u.errors.push(t), u.pendingCount === 0 && !u.done && (Object.keys(u.loaded).forEach((l) => {
939
+ Ke(u.loaded, [n], a), et(u, e), t && u.errors.push(t), u.pendingCount === 0 && !u.done && (Object.keys(u.loaded).forEach((l) => {
940
940
  o[l] || (o[l] = {});
941
941
  const f = u.loaded[l];
942
942
  f.length && f.forEach((c) => {
@@ -1017,25 +1017,25 @@ class Xe extends _ {
1017
1017
  }
1018
1018
  if (!(i == null || i === "")) {
1019
1019
  if ((g = this.backend) != null && g.create) {
1020
- const d = {
1020
+ const h = {
1021
1021
  ...a,
1022
1022
  isUpdate: n
1023
- }, h = this.backend.create.bind(this.backend);
1024
- if (h.length < 6)
1023
+ }, d = this.backend.create.bind(this.backend);
1024
+ if (d.length < 6)
1025
1025
  try {
1026
1026
  let m;
1027
- h.length === 5 ? m = h(e, t, i, s, d) : m = h(e, t, i, s), m && typeof m.then == "function" ? m.then((x) => o(null, x)).catch(o) : o(null, m);
1027
+ d.length === 5 ? m = d(e, t, i, s, h) : m = d(e, t, i, s), m && typeof m.then == "function" ? m.then((x) => o(null, x)).catch(o) : o(null, m);
1028
1028
  } catch (m) {
1029
1029
  o(m);
1030
1030
  }
1031
1031
  else
1032
- h(e, t, i, s, o, d);
1032
+ d(e, t, i, s, o, h);
1033
1033
  }
1034
1034
  !e || !e[0] || this.store.addResource(e[0], t, i, s);
1035
1035
  }
1036
1036
  }
1037
1037
  }
1038
- const xe = () => ({
1038
+ const be = () => ({
1039
1039
  debug: !1,
1040
1040
  initAsync: !0,
1041
1041
  ns: ["translation"],
@@ -1092,20 +1092,20 @@ const xe = () => ({
1092
1092
  skipOnVariables: !0
1093
1093
  },
1094
1094
  cacheInBuiltFormats: !0
1095
- }), be = (r) => {
1095
+ }), Se = (r) => {
1096
1096
  var e, t;
1097
1097
  return p(r.ns) && (r.ns = [r.ns]), p(r.fallbackLng) && (r.fallbackLng = [r.fallbackLng]), p(r.fallbackNS) && (r.fallbackNS = [r.fallbackNS]), ((t = (e = r.supportedLngs) == null ? void 0 : e.indexOf) == null ? void 0 : t.call(e, "cimode")) < 0 && (r.supportedLngs = r.supportedLngs.concat(["cimode"])), typeof r.initImmediate == "boolean" && (r.initAsync = r.initImmediate), r;
1098
- }, J = () => {
1099
- }, Qe = (r) => {
1098
+ }, W = () => {
1099
+ }, st = (r) => {
1100
1100
  Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach((t) => {
1101
1101
  typeof r[t] == "function" && (r[t] = r[t].bind(r));
1102
1102
  });
1103
1103
  };
1104
- class U extends _ {
1104
+ class B extends G {
1105
1105
  constructor(e = {}, t) {
1106
- if (super(), this.options = be(e), this.services = {}, this.logger = $, this.modules = {
1106
+ if (super(), this.options = Se(e), this.services = {}, this.logger = $, this.modules = {
1107
1107
  external: []
1108
- }, Qe(this), t && !this.isInitialized && !e.isClone) {
1108
+ }, st(this), t && !this.isInitialized && !e.isClone) {
1109
1109
  if (!this.options.initAsync)
1110
1110
  return this.init(e, t), this;
1111
1111
  setTimeout(() => {
@@ -1115,11 +1115,11 @@ class U extends _ {
1115
1115
  }
1116
1116
  init(e = {}, t) {
1117
1117
  this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && (p(e.ns) ? e.defaultNS = e.ns : e.ns.indexOf("translation") < 0 && (e.defaultNS = e.ns[0]));
1118
- const i = xe();
1118
+ const i = be();
1119
1119
  this.options = {
1120
1120
  ...i,
1121
1121
  ...this.options,
1122
- ...be(e)
1122
+ ...Se(e)
1123
1123
  }, this.options.interpolation = {
1124
1124
  ...i.interpolation,
1125
1125
  ...this.options.interpolation
@@ -1128,24 +1128,24 @@ class U extends _ {
1128
1128
  if (!this.options.isClone) {
1129
1129
  this.modules.logger ? $.init(s(this.modules.logger), this.options) : $.init(null, this.options);
1130
1130
  let l;
1131
- this.modules.formatter ? l = this.modules.formatter : l = _e;
1131
+ this.modules.formatter ? l = this.modules.formatter : l = Ze;
1132
1132
  const f = new he(this.options);
1133
- this.store = new ce(this.options.resources, this.options);
1133
+ this.store = new fe(this.options.resources, this.options);
1134
1134
  const c = this.services;
1135
- c.logger = $, c.resourceStore = this.store, c.languageUtils = f, c.pluralResolver = new Ye(f, {
1135
+ c.logger = $, c.resourceStore = this.store, c.languageUtils = f, c.pluralResolver = new Xe(f, {
1136
1136
  prepend: this.options.pluralSeparator,
1137
1137
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
1138
- }), this.options.interpolation.format && this.options.interpolation.format !== i.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), l && (!this.options.interpolation.format || this.options.interpolation.format === i.interpolation.format) && (c.formatter = s(l), c.formatter.init && c.formatter.init(c, this.options), this.options.interpolation.format = c.formatter.format.bind(c.formatter)), c.interpolator = new me(this.options), c.utils = {
1138
+ }), this.options.interpolation.format && this.options.interpolation.format !== i.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), l && (!this.options.interpolation.format || this.options.interpolation.format === i.interpolation.format) && (c.formatter = s(l), c.formatter.init && c.formatter.init(c, this.options), this.options.interpolation.format = c.formatter.format.bind(c.formatter)), c.interpolator = new ye(this.options), c.utils = {
1139
1139
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
1140
- }, c.backendConnector = new Xe(s(this.modules.backend), c.resourceStore, c, this.options), c.backendConnector.on("*", (d, ...h) => {
1141
- this.emit(d, ...h);
1142
- }), this.modules.languageDetector && (c.languageDetector = s(this.modules.languageDetector), c.languageDetector.init && c.languageDetector.init(c, this.options.detection, this.options)), this.modules.i18nFormat && (c.i18nFormat = s(this.modules.i18nFormat), c.i18nFormat.init && c.i18nFormat.init(this)), this.translator = new G(this.services, this.options), this.translator.on("*", (d, ...h) => {
1143
- this.emit(d, ...h);
1144
- }), this.modules.external.forEach((d) => {
1145
- d.init && d.init(this);
1140
+ }, c.backendConnector = new tt(s(this.modules.backend), c.resourceStore, c, this.options), c.backendConnector.on("*", (h, ...d) => {
1141
+ this.emit(h, ...d);
1142
+ }), this.modules.languageDetector && (c.languageDetector = s(this.modules.languageDetector), c.languageDetector.init && c.languageDetector.init(c, this.options.detection, this.options)), this.modules.i18nFormat && (c.i18nFormat = s(this.modules.i18nFormat), c.i18nFormat.init && c.i18nFormat.init(this)), this.translator = new X(this.services, this.options), this.translator.on("*", (h, ...d) => {
1143
+ this.emit(h, ...d);
1144
+ }), this.modules.external.forEach((h) => {
1145
+ h.init && h.init(this);
1146
1146
  });
1147
1147
  }
1148
- if (this.format = this.options.interpolation.format, t || (t = J), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
1148
+ if (this.format = this.options.interpolation.format, t || (t = W), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
1149
1149
  const l = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
1150
1150
  l.length > 0 && l[0] !== "dev" && (this.options.lng = l[0]);
1151
1151
  }
@@ -1154,7 +1154,7 @@ class U extends _ {
1154
1154
  }), ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"].forEach((l) => {
1155
1155
  this[l] = (...f) => (this.store[l](...f), this);
1156
1156
  });
1157
- const o = M(), u = () => {
1157
+ const o = U(), u = () => {
1158
1158
  const l = (f, c) => {
1159
1159
  this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), o.resolve(c), t(f, c);
1160
1160
  };
@@ -1163,7 +1163,7 @@ class U extends _ {
1163
1163
  };
1164
1164
  return this.options.resources || !this.options.initAsync ? u() : setTimeout(u, 0), o;
1165
1165
  }
1166
- loadResources(e, t = J) {
1166
+ loadResources(e, t = W) {
1167
1167
  var n, a;
1168
1168
  let i = t;
1169
1169
  const s = p(e) ? e : this.language;
@@ -1182,15 +1182,15 @@ class U extends _ {
1182
1182
  i(null);
1183
1183
  }
1184
1184
  reloadResources(e, t, i) {
1185
- const s = M();
1186
- return typeof e == "function" && (i = e, e = void 0), typeof t == "function" && (i = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), i || (i = J), this.services.backendConnector.reload(e, t, (n) => {
1185
+ const s = U();
1186
+ return typeof e == "function" && (i = e, e = void 0), typeof t == "function" && (i = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), i || (i = W), this.services.backendConnector.reload(e, t, (n) => {
1187
1187
  s.resolve(), i(n);
1188
1188
  }), s;
1189
1189
  }
1190
1190
  use(e) {
1191
1191
  if (!e) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
1192
1192
  if (!e.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
1193
- return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && Le.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
1193
+ return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && we.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
1194
1194
  }
1195
1195
  setResolvedLanguage(e) {
1196
1196
  if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1)) {
@@ -1206,7 +1206,7 @@ class U extends _ {
1206
1206
  }
1207
1207
  changeLanguage(e, t) {
1208
1208
  this.isLanguageChangingTo = e;
1209
- const i = M();
1209
+ const i = U();
1210
1210
  this.emit("languageChanging", e);
1211
1211
  const s = (o) => {
1212
1212
  this.language = o, this.languages = this.services.languageUtils.toResolveHierarchy(o), this.resolvedLanguage = void 0, this.setResolvedLanguage(o);
@@ -1230,10 +1230,10 @@ class U extends _ {
1230
1230
  }, u.lng = u.lng || s.lng, u.lngs = u.lngs || s.lngs, u.ns = u.ns || s.ns, u.keyPrefix !== "" && (u.keyPrefix = u.keyPrefix || i || s.keyPrefix);
1231
1231
  const l = this.options.keySeparator || ".";
1232
1232
  let f;
1233
- return u.keyPrefix && Array.isArray(n) ? f = n.map((c) => (typeof c == "function" && (c = ee(c, {
1233
+ return u.keyPrefix && Array.isArray(n) ? f = n.map((c) => (typeof c == "function" && (c = se(c, {
1234
1234
  ...this.options,
1235
1235
  ...a
1236
- })), `${u.keyPrefix}${l}${c}`)) : (typeof n == "function" && (n = ee(n, {
1236
+ })), `${u.keyPrefix}${l}${c}`)) : (typeof n == "function" && (n = se(n, {
1237
1237
  ...this.options,
1238
1238
  ...a
1239
1239
  })), f = u.keyPrefix ? `${u.keyPrefix}${l}${n}` : n), this.t(f, u);
@@ -1269,7 +1269,7 @@ class U extends _ {
1269
1269
  return !!(this.hasResourceBundle(i, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || a(i, e) && (!s || a(n, e)));
1270
1270
  }
1271
1271
  loadNamespaces(e, t) {
1272
- const i = M();
1272
+ const i = U();
1273
1273
  return this.options.ns ? (p(e) && (e = [e]), e.forEach((s) => {
1274
1274
  this.options.ns.indexOf(s) < 0 && this.options.ns.push(s);
1275
1275
  }), this.loadResources((s) => {
@@ -1277,7 +1277,7 @@ class U extends _ {
1277
1277
  }), i) : (t && t(), Promise.resolve());
1278
1278
  }
1279
1279
  loadLanguages(e, t) {
1280
- const i = M();
1280
+ const i = U();
1281
1281
  p(e) && (e = [e]);
1282
1282
  const s = this.options.preload || [], n = e.filter((a) => s.indexOf(a) < 0 && this.services.languageUtils.isSupportedCode(a));
1283
1283
  return n.length ? (this.options.preload = s.concat(n), this.loadResources((a) => {
@@ -1295,21 +1295,21 @@ class U extends _ {
1295
1295
  }
1296
1296
  } catch {
1297
1297
  }
1298
- const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], i = ((n = this.services) == null ? void 0 : n.languageUtils) || new he(xe());
1298
+ const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], i = ((n = this.services) == null ? void 0 : n.languageUtils) || new he(be());
1299
1299
  return e.toLowerCase().indexOf("-latn") > 1 ? "ltr" : t.indexOf(i.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
1300
1300
  }
1301
1301
  static createInstance(e = {}, t) {
1302
- const i = new U(e, t);
1303
- return i.createInstance = U.createInstance, i;
1302
+ const i = new B(e, t);
1303
+ return i.createInstance = B.createInstance, i;
1304
1304
  }
1305
- cloneInstance(e = {}, t = J) {
1305
+ cloneInstance(e = {}, t = W) {
1306
1306
  const i = e.forkResourceStore;
1307
1307
  i && delete e.forkResourceStore;
1308
1308
  const s = {
1309
1309
  ...this.options,
1310
1310
  ...e,
1311
1311
  isClone: !0
1312
- }, n = new U(s);
1312
+ }, n = new B(s);
1313
1313
  if ((e.debug !== void 0 || e.prefix !== void 0) && (n.logger = n.logger.clone(e)), ["store", "services", "language"].forEach((o) => {
1314
1314
  n[o] = this[o];
1315
1315
  }), n.services = {
@@ -1322,9 +1322,9 @@ class U extends _ {
1322
1322
  }, u[l] = Object.keys(u[l]).reduce((f, c) => (f[c] = {
1323
1323
  ...u[l][c]
1324
1324
  }, f), u[l]), u), {});
1325
- n.store = new ce(o, s), n.services.resourceStore = n.store;
1325
+ n.store = new fe(o, s), n.services.resourceStore = n.store;
1326
1326
  }
1327
- return e.interpolation && (n.services.interpolator = new me(s)), n.translator = new G(n.services, s), n.translator.on("*", (o, ...u) => {
1327
+ return e.interpolation && (n.services.interpolator = new ye(s)), n.translator = new X(n.services, s), n.translator.on("*", (o, ...u) => {
1328
1328
  n.emit(o, ...u);
1329
1329
  }), n.init(s, t), n.translator.options = s, n.translator.backendConnector.services.utils = {
1330
1330
  hasLoadedNamespace: n.hasLoadedNamespace.bind(n)
@@ -1340,7 +1340,7 @@ class U extends _ {
1340
1340
  };
1341
1341
  }
1342
1342
  }
1343
- const y = U.createInstance();
1343
+ const y = B.createInstance();
1344
1344
  y.createInstance;
1345
1345
  y.dir;
1346
1346
  y.init;
@@ -1355,7 +1355,7 @@ y.setDefaultNamespace;
1355
1355
  y.hasLoadedNamespace;
1356
1356
  y.loadNamespaces;
1357
1357
  y.loadLanguages;
1358
- const rt = (r) => {
1358
+ const Qt = (r) => {
1359
1359
  var e, t;
1360
1360
  !((e = r == null ? void 0 : r.i18n) != null && e.language) || !((t = r == null ? void 0 : r.i18n) != null && t.translations) || y.language === r.i18n.language && y.isInitialized || y.init({
1361
1361
  lng: r.i18n.language,
@@ -1372,137 +1372,147 @@ const rt = (r) => {
1372
1372
  * This source code is licensed under the MIT license.
1373
1373
  * See the LICENSE file in the root directory of this source tree.
1374
1374
  */
1375
- const Ze = [["path", { d: "M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0", key: "svg-0" }], ["path", { d: "M12 8v4", key: "svg-1" }], ["path", { d: "M12 16h.01", key: "svg-2" }]], ot = Ae("outline", "alert-circle", "AlertCircle", Ze), et = (r, e) => {
1375
+ const it = [["path", { d: "M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0", key: "svg-0" }], ["path", { d: "M12 8v4", key: "svg-1" }], ["path", { d: "M12 16h.01", key: "svg-2" }]], Zt = Ee("outline", "alert-circle", "AlertCircle", it), nt = (r, e) => {
1376
1376
  if (!r || !r.includes("|")) return y.t(r, e);
1377
1377
  const [t, i] = r.split("|", 2).map((s) => s.trim());
1378
1378
  return y.t(
1379
1379
  [t, i].filter((s) => !!s),
1380
1380
  e
1381
1381
  );
1382
- }, lt = (r) => {
1382
+ }, es = (r) => {
1383
1383
  const e = {};
1384
1384
  return Object.keys(r).forEach((t) => {
1385
1385
  const i = r[t];
1386
- e[t] = typeof i == "string" ? et(i) : i;
1386
+ e[t] = typeof i == "string" ? nt(i) : i;
1387
1387
  }), e;
1388
- }, q = De("align", {
1388
+ }, Q = Le("align", {
1389
1389
  label: "Align",
1390
1390
  optionLabel: (r) => r
1391
1391
  });
1392
- te(q, "left");
1393
- te(q, "center");
1394
- te(q, "right");
1395
- const ut = {
1392
+ D(Q, "left");
1393
+ D(Q, "center");
1394
+ D(Q, "right");
1395
+ const at = {
1396
1396
  name: "boolean",
1397
1397
  type: "boolean",
1398
- label: "Boolean",
1399
- category: "Component Settings"
1400
- }, ct = {
1401
- name: "timeRange",
1402
- type: "timeRange",
1403
- label: "Time Range",
1404
- category: "Component Settings"
1405
- }, tt = {
1406
- name: "number",
1407
- type: "number",
1408
- label: "Number",
1409
- category: "Component Settings"
1410
- }, ft = {
1411
- name: "string",
1412
- type: "string",
1413
- label: "String",
1414
- category: "Component Settings"
1415
- }, ht = {
1416
- ...tt,
1398
+ label: "Boolean"
1399
+ }, rt = {
1417
1400
  name: "width",
1401
+ type: "number",
1418
1402
  label: "Width",
1419
1403
  description: "You can input a number in pixels e.g. 400"
1420
- }, dt = {
1421
- name: "align",
1422
- type: q,
1423
- label: "Align",
1424
- category: "Component Settings"
1425
- }, Ce = {
1426
- name: "prefix",
1427
- type: "string",
1428
- label: "Prefix",
1429
- description: "Prefix"
1430
- }, we = {
1431
- name: "suffix",
1432
- type: "string",
1433
- label: "Suffix",
1434
- description: "Suffix"
1435
- }, Re = {
1404
+ }, ot = { name: "align", type: Q, label: "Align" }, Re = { name: "prefix", type: "string", label: "Prefix" }, Pe = { name: "suffix", type: "string", label: "Suffix" }, $e = {
1436
1405
  name: "displayName",
1437
1406
  type: "string",
1438
1407
  label: "Display name"
1439
- }, pt = {
1440
- name: "boolean",
1441
- type: "boolean",
1442
- defaultValue: !1,
1443
- label: "Boolean"
1444
- }, gt = {
1445
- name: "number",
1446
- type: "number",
1447
- label: "Number"
1448
- }, ve = {
1408
+ }, Ne = {
1449
1409
  name: "maxCharacters",
1450
1410
  type: "number",
1451
1411
  label: "Maximum characters",
1412
+ description: void 0,
1452
1413
  supportedTypes: ["string"]
1453
- }, Pe = {
1414
+ }, ke = {
1454
1415
  name: "decimalPlaces",
1455
1416
  type: "number",
1456
1417
  label: "Decimal places",
1457
1418
  supportedTypes: ["number"]
1458
- }, $e = {
1419
+ }, Ae = {
1459
1420
  name: "currency",
1460
1421
  type: "string",
1461
1422
  label: "Currency",
1462
- supportedTypes: ["number"],
1463
- description: "e.g. EUR"
1464
- }, Ne = {
1423
+ description: "e.g. EUR",
1424
+ supportedTypes: ["number"]
1425
+ }, Te = {
1465
1426
  name: "abbreviateLargeNumber",
1466
1427
  type: "boolean",
1467
1428
  label: "Abbreviate large number",
1468
1429
  supportedTypes: ["number"]
1469
- }, st = {
1430
+ }, lt = {
1470
1431
  name: "dateBounds",
1471
1432
  type: "timeRange",
1472
1433
  label: "Date Bounds",
1473
1434
  description: "Set the date range for the axis",
1474
1435
  supportedTypes: ["time"]
1475
- }, it = {
1436
+ }, ut = {
1476
1437
  name: "granularity",
1477
1438
  type: "granularity",
1478
1439
  label: "Granularity",
1479
- supportedTypes: ["time"],
1480
- defaultValue: "day"
1481
- }, F = [
1482
- Ce,
1483
- we,
1440
+ supportedTypes: ["time"]
1441
+ }, ct = {
1442
+ type: Oe,
1443
+ name: "color",
1444
+ label: "Color"
1445
+ }, I = [
1484
1446
  Re,
1485
- ve,
1486
1447
  Pe,
1487
1448
  $e,
1488
- Ne
1489
- ], nt = [
1490
- Ce,
1491
- we,
1449
+ Ne,
1450
+ ke,
1451
+ Ae,
1452
+ Te
1453
+ ], ft = [
1492
1454
  Re,
1493
- ve,
1494
1455
  Pe,
1495
1456
  $e,
1496
1457
  Ne,
1497
- it,
1498
- st
1499
- ], mt = {
1458
+ ke,
1459
+ Ae,
1460
+ Te,
1461
+ ut,
1462
+ lt
1463
+ ], ts = {
1464
+ boolean: at,
1465
+ width: rt,
1466
+ align: ot,
1467
+ color: ct
1468
+ }, E = Le("comparisonPeriod", {
1469
+ label: "Comparison Period",
1470
+ optionLabel: (r) => r
1471
+ });
1472
+ D(E, "Previous period");
1473
+ D(E, "Previous week");
1474
+ D(E, "Previous month");
1475
+ D(E, "Previous quarter");
1476
+ D(E, "Previous year");
1477
+ const dt = {
1478
+ name: "boolean",
1479
+ type: "boolean",
1480
+ label: "Boolean"
1481
+ }, ht = {
1482
+ name: "timeRange",
1483
+ type: "timeRange",
1484
+ label: "Time Range"
1485
+ }, pt = {
1486
+ name: "number",
1487
+ type: "number",
1488
+ label: "Number"
1489
+ }, De = {
1490
+ name: "string",
1491
+ type: "string",
1492
+ label: "String"
1493
+ }, gt = {
1494
+ name: "title",
1495
+ type: "string",
1496
+ label: "Title",
1497
+ category: "Component Header"
1498
+ }, mt = {
1499
+ name: "description",
1500
+ type: "string",
1501
+ label: "Description",
1502
+ category: "Component Header"
1503
+ }, yt = {
1500
1504
  name: "dataset",
1501
1505
  type: "dataset",
1502
1506
  label: "Dataset",
1503
1507
  required: !0,
1504
1508
  category: "Component Data"
1505
- }, yt = {
1509
+ }, xt = {
1510
+ name: "maxLegendItems",
1511
+ type: "number",
1512
+ label: "Max Legend Items",
1513
+ defaultValue: 10,
1514
+ category: "Component Data"
1515
+ }, Fe = {
1506
1516
  name: "dimension",
1507
1517
  type: "dimension",
1508
1518
  label: "Dimension",
@@ -1511,8 +1521,12 @@ const ut = {
1511
1521
  },
1512
1522
  required: !0,
1513
1523
  category: "Component Data",
1514
- inputs: F
1515
- }, xt = {
1524
+ inputs: I
1525
+ }, bt = {
1526
+ ...Fe,
1527
+ name: "groupBy",
1528
+ label: "Group By"
1529
+ }, St = {
1516
1530
  name: "dimensionSimple",
1517
1531
  type: "dimension",
1518
1532
  label: "Dimension",
@@ -1522,7 +1536,7 @@ const ut = {
1522
1536
  },
1523
1537
  required: !0,
1524
1538
  category: "Component Data"
1525
- }, bt = {
1539
+ }, Lt = {
1526
1540
  name: "dimensionTime",
1527
1541
  type: "dimension",
1528
1542
  label: "Dimension Time",
@@ -1533,7 +1547,7 @@ const ut = {
1533
1547
  },
1534
1548
  required: !0,
1535
1549
  category: "Component Data"
1536
- }, St = {
1550
+ }, Ot = {
1537
1551
  name: "dimension",
1538
1552
  type: "dimension",
1539
1553
  label: "Dimension",
@@ -1542,8 +1556,8 @@ const ut = {
1542
1556
  },
1543
1557
  required: !0,
1544
1558
  category: "Component Data",
1545
- inputs: nt
1546
- }, Lt = {
1559
+ inputs: ft
1560
+ }, Ct = {
1547
1561
  name: "dimensions",
1548
1562
  type: "dimension",
1549
1563
  label: "Dimensions",
@@ -1552,8 +1566,8 @@ const ut = {
1552
1566
  },
1553
1567
  required: !0,
1554
1568
  category: "Component Data",
1555
- inputs: F
1556
- }, Ot = {
1569
+ inputs: I
1570
+ }, wt = {
1557
1571
  name: "dimensionOrMeasure",
1558
1572
  type: "dimensionOrMeasure",
1559
1573
  label: "Dimension or Measure",
@@ -1561,8 +1575,8 @@ const ut = {
1561
1575
  dataset: "dataset"
1562
1576
  },
1563
1577
  category: "Component Data",
1564
- inputs: F
1565
- }, Ct = {
1578
+ inputs: I
1579
+ }, vt = {
1566
1580
  name: "dimensionsAndMeasures",
1567
1581
  type: "dimensionOrMeasure",
1568
1582
  label: "Dimensions and Measures",
@@ -1572,8 +1586,8 @@ const ut = {
1572
1586
  dataset: "dataset"
1573
1587
  },
1574
1588
  category: "Component Data",
1575
- inputs: F
1576
- }, wt = {
1589
+ inputs: I
1590
+ }, Rt = {
1577
1591
  name: "measure",
1578
1592
  type: "measure",
1579
1593
  label: "Measure",
@@ -1582,8 +1596,8 @@ const ut = {
1582
1596
  },
1583
1597
  required: !0,
1584
1598
  category: "Component Data",
1585
- inputs: F
1586
- }, Rt = {
1599
+ inputs: I
1600
+ }, Pt = {
1587
1601
  name: "measures",
1588
1602
  type: "measure",
1589
1603
  label: "Measures",
@@ -1593,184 +1607,183 @@ const ut = {
1593
1607
  },
1594
1608
  required: !0,
1595
1609
  category: "Component Data",
1596
- inputs: F
1597
- }, vt = {
1598
- name: "title",
1599
- type: "string",
1600
- label: "Title",
1601
- category: "Component Header"
1602
- }, Pt = {
1603
- name: "description",
1604
- type: "string",
1605
- label: "Description",
1606
- category: "Component Header"
1610
+ inputs: I
1607
1611
  }, $t = {
1612
+ name: "comparisonPeriod",
1613
+ type: E,
1614
+ label: "Comparison Period",
1615
+ category: "Component data"
1616
+ }, Nt = {
1608
1617
  name: "maxResults",
1609
1618
  type: "number",
1610
1619
  label: "Max results",
1611
1620
  category: "Component Settings",
1612
1621
  defaultValue: 1e3
1613
- }, Nt = {
1622
+ }, kt = {
1623
+ name: "placeholder",
1624
+ type: "string",
1625
+ label: "Placeholder",
1626
+ category: "Component Settings"
1627
+ }, At = {
1614
1628
  name: "showLegend",
1615
1629
  type: "boolean",
1616
1630
  label: "Show Legend",
1617
1631
  defaultValue: !0,
1618
1632
  category: "Component Settings"
1619
- }, It = {
1633
+ }, Tt = {
1620
1634
  name: "showTooltips",
1621
1635
  type: "boolean",
1622
1636
  label: "Show Tooltips",
1623
1637
  defaultValue: !0,
1624
1638
  category: "Component Settings"
1625
- }, kt = {
1639
+ }, Dt = {
1626
1640
  name: "showValueLabels",
1627
1641
  type: "boolean",
1628
1642
  label: "Show Value Labels",
1629
1643
  defaultValue: !0,
1630
1644
  category: "Component Settings"
1631
- }, At = {
1645
+ }, Ft = {
1632
1646
  name: "showTotalLabels",
1633
1647
  type: "boolean",
1634
1648
  label: "Show Total Labels",
1635
1649
  defaultValue: !1,
1636
1650
  category: "Component Settings"
1637
- }, Dt = {
1651
+ }, jt = {
1638
1652
  name: "showLogarithmicScale",
1639
1653
  type: "boolean",
1640
1654
  label: "Show Logarithmic Scale",
1641
1655
  defaultValue: !1,
1642
1656
  category: "Component Settings"
1643
- }, Tt = {
1657
+ }, It = {
1658
+ name: "displayPercentages",
1659
+ type: "boolean",
1660
+ label: "Display Percentages",
1661
+ defaultValue: !1,
1662
+ category: "Component Settings"
1663
+ }, Et = {
1664
+ type: Oe,
1665
+ name: "color",
1666
+ label: "Color",
1667
+ category: "Component Settings"
1668
+ }, Mt = {
1669
+ type: "number",
1670
+ name: "fontSize",
1671
+ label: "Font Size",
1672
+ category: "Component Settings"
1673
+ }, Vt = {
1674
+ type: "boolean",
1675
+ name: "clearable",
1676
+ label: "Can be cleared",
1677
+ defaultValue: !0,
1678
+ category: "Component Settings"
1679
+ }, Kt = {
1680
+ ...De,
1681
+ name: "displayNullAs",
1682
+ label: "Display Null As",
1683
+ category: "Component Settings"
1684
+ }, Ut = {
1644
1685
  name: "xAxisLabel",
1645
1686
  type: "string",
1646
1687
  label: "X-axis Label",
1647
1688
  category: "Axes Settings"
1648
- }, Ft = {
1689
+ }, Ht = {
1649
1690
  name: "yAxisLabel",
1650
1691
  type: "string",
1651
1692
  label: "Y-axis Label",
1652
1693
  category: "Axes Settings"
1653
- }, jt = {
1694
+ }, Bt = {
1654
1695
  name: "reverseXAxis",
1655
1696
  type: "boolean",
1656
1697
  label: "Reverse X-axis",
1657
1698
  defaultValue: !1,
1658
1699
  category: "Axes Settings"
1659
- }, Et = {
1660
- name: "displayPercentages",
1661
- type: "boolean",
1662
- label: "Display Percentages",
1663
- defaultValue: !1,
1664
- category: "Component Settings"
1665
- }, Vt = {
1700
+ }, zt = {
1666
1701
  name: "reverseYAxis",
1667
1702
  type: "boolean",
1668
1703
  label: "Reverse Y-axis",
1669
1704
  defaultValue: !1,
1670
1705
  category: "Axes Settings"
1671
- }, Mt = {
1706
+ }, Jt = {
1672
1707
  name: "yAxisRangeMin",
1673
1708
  type: "number",
1674
1709
  label: "Y-axis Range Min",
1675
1710
  category: "Axes Settings"
1676
- }, Kt = {
1711
+ }, Yt = {
1677
1712
  name: "yAxisRangeMax",
1678
1713
  type: "number",
1679
1714
  label: "Y-axis Range Max",
1680
1715
  category: "Axes Settings"
1681
- }, Ut = {
1716
+ }, Wt = {
1682
1717
  name: "xAxisRangeMin",
1683
1718
  type: "number",
1684
1719
  label: "X-axis Range Min",
1685
1720
  category: "Axes Settings"
1686
- }, Ht = {
1721
+ }, _t = {
1687
1722
  name: "xAxisRangeMax",
1688
1723
  type: "number",
1689
1724
  label: "X-axis Range Max",
1690
1725
  category: "Axes Settings"
1691
- }, Bt = {
1726
+ }, qt = {
1692
1727
  name: "xAxisMaxItems",
1693
1728
  type: "number",
1694
1729
  label: "Max X-axis Items",
1695
1730
  category: "Axes Settings"
1696
- }, zt = {
1731
+ }, Xt = {
1697
1732
  name: "yAxisMaxItems",
1698
1733
  type: "number",
1699
1734
  label: "Max Y-axis Items",
1700
1735
  category: "Axes Settings"
1701
- }, Jt = {
1702
- name: "showTopItems",
1703
- type: "number",
1704
- label: "Show Top Items",
1705
- defaultValue: 10,
1706
- category: "Component Data"
1707
- }, Yt = {
1708
- name: "maxLegendItems",
1709
- type: "number",
1710
- label: "Max Legend Items",
1711
- defaultValue: 10,
1712
- category: "Component Data"
1713
- }, Wt = {
1714
- name: "placeholder",
1715
- type: "string",
1716
- label: "Placeholder",
1717
- category: "Component Settings"
1736
+ }, ss = {
1737
+ boolean: dt,
1738
+ timeRange: ht,
1739
+ number: pt,
1740
+ string: De,
1741
+ title: gt,
1742
+ description: mt,
1743
+ dataset: yt,
1744
+ maxLegendItems: xt,
1745
+ dimension: Fe,
1746
+ groupBy: bt,
1747
+ dimensionSimple: St,
1748
+ dimensionTime: Lt,
1749
+ dimensionWithDateBounds: Ot,
1750
+ dimensions: Ct,
1751
+ dimensionOrMeasure: wt,
1752
+ dimensionsAndMeasures: vt,
1753
+ measure: Rt,
1754
+ measures: Pt,
1755
+ comparisonPeriod: $t,
1756
+ maxResults: Nt,
1757
+ placeholder: kt,
1758
+ showLegend: At,
1759
+ showTooltips: Tt,
1760
+ showValueLabels: Dt,
1761
+ showTotalLabels: Ft,
1762
+ showLogarithmicScale: jt,
1763
+ displayPercentages: It,
1764
+ color: Et,
1765
+ fontSize: Mt,
1766
+ clearable: Vt,
1767
+ displayNullAs: Kt,
1768
+ xAxisLabel: Ut,
1769
+ yAxisLabel: Ht,
1770
+ reverseXAxis: Bt,
1771
+ reverseYAxis: zt,
1772
+ yAxisRangeMin: Jt,
1773
+ yAxisRangeMax: Yt,
1774
+ xAxisRangeMin: Wt,
1775
+ xAxisRangeMax: _t,
1776
+ xAxisMaxItems: qt,
1777
+ yAxisMaxItems: Xt
1718
1778
  };
1719
1779
  export {
1720
- et as $,
1721
- Lt as A,
1722
- Ot as B,
1723
- Ct as C,
1724
- wt as D,
1725
- Rt as E,
1726
- vt as F,
1727
- Pt as G,
1728
- $t as H,
1729
- Nt as I,
1730
- It as J,
1731
- kt as K,
1732
- At as L,
1733
- Dt as M,
1734
- Tt as N,
1735
- Ft as O,
1736
- jt as P,
1737
- Et as Q,
1738
- Vt as R,
1739
- Mt as S,
1740
- Kt as T,
1741
- Ut as U,
1742
- Ht as V,
1743
- Bt as W,
1744
- zt as X,
1745
- Jt as Y,
1746
- Yt as Z,
1747
- Wt as _,
1748
- rt as a,
1749
- ot as a0,
1750
- ct as b,
1751
- tt as c,
1752
- ft as d,
1753
- dt as e,
1754
- Ce as f,
1755
- ut as g,
1756
- we as h,
1780
+ E as C,
1781
+ Zt as I,
1782
+ Qt as a,
1783
+ ss as b,
1784
+ nt as c,
1757
1785
  y as i,
1758
- Re as j,
1759
- pt as k,
1760
- gt as l,
1761
- ve as m,
1762
- Pe as n,
1763
- $e as o,
1764
- Ne as p,
1765
- st as q,
1766
- lt as r,
1767
- ht as s,
1768
- it as t,
1769
- nt as u,
1770
- mt as v,
1771
- yt as w,
1772
- xt as x,
1773
- bt as y,
1774
- St as z
1786
+ es as r,
1787
+ ts as s
1775
1788
  };
1776
- //# sourceMappingURL=component.constants-DJqBv0qe.js.map
1789
+ //# sourceMappingURL=component.inputs.constants-FaX3B1CO.js.map