@nxgt/material 1.12.3 → 1.16.0

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 (151) hide show
  1. package/README.md +5 -1
  2. package/dist/abnfDiagram-O67JEVCF-mm89LXw2.js +89 -0
  3. package/dist/architecture-7GRP2DOG-DDr0RGVC.js +3 -0
  4. package/dist/architectureDiagram-NJMV4G6O-CGoA5SIv.js +4146 -0
  5. package/dist/array-CApNbSU9.js +6 -0
  6. package/dist/blockDiagram-BEXU5L5S-Dq8gitB4.js +1946 -0
  7. package/dist/c4Diagram-YGBWAQC7-DO_alqIu.js +2990 -0
  8. package/dist/channel-1fT-W0NS.js +5 -0
  9. package/dist/chunk-2Q5K7J3B-kzxEEeTu.js +15 -0
  10. package/dist/chunk-3FUC2YCW-C3yD2fMw.js +364 -0
  11. package/dist/chunk-5DYCD2WN-Dn2jrYde.js +37 -0
  12. package/dist/chunk-5VM5RSS4-Cr17nBXp.js +5 -0
  13. package/dist/chunk-6AEJRKK7-JyfUnUEu.js +10 -0
  14. package/dist/chunk-742MDFTN-BbWkrtj2.js +275 -0
  15. package/dist/chunk-7INBJB4K-C3x7JNTG.js +4487 -0
  16. package/dist/chunk-7M6MHVWA-Cc7UTu4b.js +4256 -0
  17. package/dist/chunk-7PRAP22T-C8rsGRvH.js +67 -0
  18. package/dist/chunk-DUW6YSOI-BdOla2G8.js +10 -0
  19. package/dist/chunk-FOHPRMQF-Crq0JMf2.js +21388 -0
  20. package/dist/chunk-GNY47TPC-d-Bi8r0p.js +75 -0
  21. package/dist/chunk-GTNCS2PH-CTS015lZ.js +490 -0
  22. package/dist/chunk-GWA4HPMP-B4pgM-E1.js +61 -0
  23. package/dist/chunk-J5ZVWO5B-CYzz6Pq8.js +12 -0
  24. package/dist/chunk-JWPE2WC7-Ccb0QaC8.js +8 -0
  25. package/dist/chunk-LNGE3PJU-CiGrDO_F.js +1513 -0
  26. package/dist/chunk-MBY4JIJT-Dg6AeftH.js +1847 -0
  27. package/dist/chunk-NETBCI7D-TXZM0vKz.js +236 -0
  28. package/dist/chunk-O7XYJQB3-md6vjVm4.js +3922 -0
  29. package/dist/chunk-UA2S7LBM-DQTYPe9y.js +363 -0
  30. package/dist/chunk-WEXAMYUT-DmKWJz6y.js +26 -0
  31. package/dist/chunk-XXDRQBXY-C9XIYQdM.js +9 -0
  32. package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
  33. package/dist/chunk-Z7XXMR3K-BoDf6lxl.js +677 -0
  34. package/dist/chunk-ZIGJFQKS-CP5430fN.js +663 -0
  35. package/dist/classDiagram-v2-NBCMYWYE-6KoTmufe.js +3397 -0
  36. package/dist/components.js +3 -3
  37. package/dist/cose-bilkent-JH36ORCC-CejnZl_t.js +2251 -0
  38. package/dist/cynefin-OW5HDTMX-B8HVdZhp.js +3 -0
  39. package/dist/cynefinDiagram-VND7K2PF-DZnc0dlm.js +349 -0
  40. package/dist/cytoscape.esm-_jXi1N4y.js +18151 -0
  41. package/dist/dagre-6A5THRUB-cuS57NO5.js +2192 -0
  42. package/dist/diagram-22UHCM2B-zQSFmH0t.js +5084 -0
  43. package/dist/diagram-3UASUU5V-D45Fgu1j.js +724 -0
  44. package/dist/diagram-ATOU4E4O-YMtQnlqd.js +432 -0
  45. package/dist/diagram-CDSNMT55-DP7UmEW1.js +301 -0
  46. package/dist/diagram-MLGK6HIB-WvSqrTRC.js +134 -0
  47. package/dist/diagram-MPIPVDR6-C2F3__mt.js +214 -0
  48. package/dist/dist-1DdJvBEt.js +50 -0
  49. package/dist/{dist-DGsPFADz.js → dist-DppLdkXt.js} +2 -2
  50. package/dist/dnd.js +2 -2
  51. package/dist/ebnfDiagram-ZINNZB2B-BZC6cSiy.js +100 -0
  52. package/dist/elk-276RUBZZ-7DJf1MEV.js +47598 -0
  53. package/dist/erDiagram-OPXOYQCR-YKlEVEF0.js +1970 -0
  54. package/dist/eventmodeling-NTZA5JFV-C1CEo-26.js +3 -0
  55. package/dist/flowDiagram-KWPJA3E3-DyLvzIlg.js +17 -0
  56. package/dist/ganttDiagram-FUAMR5RP-KIaOrYOF.js +2928 -0
  57. package/dist/gitGraph-4MIJSDKK-BTeCS_5q.js +3 -0
  58. package/dist/gitGraphDiagram-X574FWY7-DpFW-7JE.js +729 -0
  59. package/dist/graphlib-DFaO_iIU.js +372 -0
  60. package/dist/{hooks-BjSuqEof.js → hooks-C5xy0u03.js} +1 -1
  61. package/dist/hooks.js +1 -1
  62. package/dist/{i18n-DmVqVJXj.js → i18n-Cech9IAc.js} +328 -843
  63. package/dist/i18n.js +1 -1
  64. package/dist/info-A6RAGUB7-BvtuPd9C.js +3 -0
  65. package/dist/infoDiagram-VRGFBTTK-H3F-BCnu.js +20 -0
  66. package/dist/init-Buj1GKRa.js +27 -0
  67. package/dist/isArrayLikeObject-VG1KOJ3m.js +539 -0
  68. package/dist/ishikawaDiagram-OU5B5YK6-DgQDmcF3.js +719 -0
  69. package/dist/journeyDiagram-ZHPQQLJL-CanDOlfn.js +884 -0
  70. package/dist/kanban-definition-PNTS6WVX-DmnUgxgb.js +976 -0
  71. package/dist/katex-BMQ6LGsM.js +21962 -0
  72. package/dist/lib/components/index.d.ts +4 -0
  73. package/dist/lib/components/ui/action-card.d.ts +1 -1
  74. package/dist/lib/components/ui/chat/chat-composer-mentions.d.ts +8 -0
  75. package/dist/lib/components/ui/chat/chat-composer.d.ts +5 -1
  76. package/dist/lib/components/ui/chat/chat-markdown.d.ts +2 -2
  77. package/dist/lib/components/ui/emoji/emoji-list.d.ts +5 -0
  78. package/dist/lib/components/ui/emoji/emoji-picker.d.ts +7 -0
  79. package/dist/lib/components/ui/emoji/emoji.utils.d.ts +2 -0
  80. package/dist/lib/components/ui/emoji/emoji.utils.test.d.ts +1 -0
  81. package/dist/lib/components/ui/emoji/index.d.ts +4 -0
  82. package/dist/lib/components/ui/emoji/types.d.ts +6 -0
  83. package/dist/lib/components/ui/entity-header.stories.d.ts +1 -0
  84. package/dist/lib/components/ui/kanban/kanban.stories.d.ts +1 -0
  85. package/dist/lib/components/ui/markdown/index.d.ts +3 -0
  86. package/dist/lib/components/ui/markdown/markdown.d.ts +7 -0
  87. package/dist/lib/components/ui/markdown/markdown.stories.d.ts +14 -0
  88. package/dist/lib/components/ui/markdown/markdown.test.d.ts +1 -0
  89. package/dist/lib/components/ui/markdown/markdown.utils.d.ts +1 -0
  90. package/dist/lib/components/ui/markdown/mermaid.lazy.d.ts +12 -0
  91. package/dist/lib/components/ui/markdown/partials/markdown-code.d.ts +2 -0
  92. package/dist/lib/components/ui/markdown/partials/mermaid-diagram.d.ts +4 -0
  93. package/dist/lib/components/ui/mentions/index.d.ts +3 -0
  94. package/dist/lib/components/ui/mentions/mention-list.d.ts +8 -0
  95. package/dist/lib/components/ui/mentions/mentions.utils.d.ts +7 -0
  96. package/dist/lib/components/ui/mentions/mentions.utils.test.d.ts +1 -0
  97. package/dist/lib/components/ui/mentions/types.d.ts +7 -0
  98. package/dist/lib/components/ui/rich-text-editor/extensions/mention/mention-list.d.ts +12 -1
  99. package/dist/lib/components/ui/terminal/index.d.ts +2 -0
  100. package/dist/lib/components/ui/terminal/terminal.d.ts +11 -0
  101. package/dist/lib/components/ui/terminal/terminal.stories.d.ts +14 -0
  102. package/dist/lib/components/ui/terminal/terminal.utils.d.ts +5 -0
  103. package/dist/lib/components/ui/terminal/terminal.utils.test.d.ts +1 -0
  104. package/dist/lib/i18n/resources/en/index.d.ts +13 -0
  105. package/dist/lib/i18n/resources/en/material.json.d.ts +14 -1
  106. package/dist/lib/i18n/resources/fr/index.d.ts +13 -0
  107. package/dist/lib/i18n/resources/fr/material.json.d.ts +14 -1
  108. package/dist/lib/i18n/resources/index.d.ts +26 -0
  109. package/dist/lib/i18n/translator.d.ts +1 -1
  110. package/dist/{lib-B1KXma-r.js → lib-Bbw5QPoj.js} +472 -471
  111. package/dist/lib.js +2 -2
  112. package/dist/{main-Cw-Yaqo9.js → main-BjDU9FDM.js} +58614 -29566
  113. package/dist/main.js +6 -6
  114. package/dist/material.css +1 -1
  115. package/dist/math-C5EhTgJw.js +10 -0
  116. package/dist/mermaid-parser.core-Cz-MfB4Z.js +638 -0
  117. package/dist/mermaid.core-BI1sunfX.js +1096 -0
  118. package/dist/mindmap-definition-NLK3R4M7-DW0BIU_q.js +1008 -0
  119. package/dist/ordinal-DuP05kVQ.js +65 -0
  120. package/dist/packet-AYTQ26CC-CshIswP8.js +3 -0
  121. package/dist/path-Cjou0lUh.js +85 -0
  122. package/dist/pegDiagram-GJSIUBJH-CJIx0u4M.js +94 -0
  123. package/dist/pie-WAS4IAKB-CYs22y4X.js +3 -0
  124. package/dist/pieDiagram-5QR66LMP-zAhv5fKz.js +157 -0
  125. package/dist/quadrantDiagram-O4NWA36T-CO4n_yQo.js +2001 -0
  126. package/dist/radar-RG4KPBEZ-BOJKjbGv.js +3 -0
  127. package/dist/railroad-74A4TZTK-Dt1BmUkI.js +3 -0
  128. package/dist/railroad-abnf-HS5TGJTU-Cs9GMUMY.js +3 -0
  129. package/dist/railroad-ebnf-LZEXJU2U-D4y0fXoW.js +3 -0
  130. package/dist/railroad-peg-WCYAUIDC-D2f_ZNR5.js +3 -0
  131. package/dist/railroadDiagram-XR7U4H2S-B8iV7mfe.js +76 -0
  132. package/dist/requirementDiagram-PLB6GJNP-CGoX1NrW.js +2228 -0
  133. package/dist/rough.esm-rcMoXTJj.js +1352 -0
  134. package/dist/sankeyDiagram-IPEJSGJF-DdSM2wiI.js +962 -0
  135. package/dist/sequenceDiagram-PO4LG4MO-CCRqF5XO.js +4200 -0
  136. package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
  137. package/dist/src-B4npqWNl.js +1775 -0
  138. package/dist/stateDiagram-v2-GCMORJYK-CQTX5ks8.js +2143 -0
  139. package/dist/step-B6KjpKgN.js +706 -0
  140. package/dist/string-B-ZWXCs2.js +392 -0
  141. package/dist/swimlanes-2SLR337P-C2NNOb5n.js +4763 -0
  142. package/dist/swimlanesDiagram-TC7HE7FX-CPsqPrbP.js +28 -0
  143. package/dist/timeline-definition-EJHVYXUP-DuxGHv-N.js +1073 -0
  144. package/dist/treeView-Q6P3EWNA-BrJylG9N.js +3 -0
  145. package/dist/treemap-WGGIJYW6-DpIZuqbj.js +3 -0
  146. package/dist/usecaseDiagram-POWQR4AR-cuAeIBW3.js +9932 -0
  147. package/dist/vennDiagram-UO4OBE2U-DLwBSAnC.js +1880 -0
  148. package/dist/wardley-WFR3VGLG-CbwdAAbH.js +3 -0
  149. package/dist/wardleyDiagram-VNRHLVJA-D7IZU6vu.js +645 -0
  150. package/dist/xychartDiagram-PMCCYNJV-BDOFv_xK.js +2167 -0
  151. package/package.json +7 -1
@@ -1,187 +1,28 @@
1
- import { createContext as e, useCallback as t, useContext as n, useMemo as r, useState as i } from "react";
2
- import { jsx as a } from "react/jsx-runtime";
3
- //#region node_modules/lodash-es/_freeGlobal.js
4
- var o = typeof global == "object" && global && global.Object === Object && global, s = typeof self == "object" && self && self.Object === Object && self, c = o || s || Function("return this")(), l = c.Symbol, u = Object.prototype, d = u.hasOwnProperty, f = u.toString, p = l ? l.toStringTag : void 0;
5
- function m(e) {
6
- var t = d.call(e, p), n = e[p];
7
- try {
8
- e[p] = void 0;
9
- var r = !0;
10
- } catch {}
11
- var i = f.call(e);
12
- return r && (t ? e[p] = n : delete e[p]), i;
13
- }
14
- //#endregion
15
- //#region node_modules/lodash-es/_objectToString.js
16
- var ee = Object.prototype.toString;
17
- function te(e) {
18
- return ee.call(e);
19
- }
20
- //#endregion
21
- //#region node_modules/lodash-es/_baseGetTag.js
22
- var ne = "[object Null]", re = "[object Undefined]", ie = l ? l.toStringTag : void 0;
23
- function h(e) {
24
- return e == null ? e === void 0 ? re : ne : ie && ie in Object(e) ? m(e) : te(e);
25
- }
26
- //#endregion
27
- //#region node_modules/lodash-es/isObjectLike.js
28
- function g(e) {
29
- return typeof e == "object" && !!e;
30
- }
31
- //#endregion
32
- //#region node_modules/lodash-es/isSymbol.js
33
- var ae = "[object Symbol]";
34
- function oe(e) {
35
- return typeof e == "symbol" || g(e) && h(e) == ae;
36
- }
37
- //#endregion
38
- //#region node_modules/lodash-es/_arrayMap.js
39
- function se(e, t) {
40
- for (var n = -1, r = e == null ? 0 : e.length, i = Array(r); ++n < r;) i[n] = t(e[n], n, e);
41
- return i;
42
- }
43
- //#endregion
44
- //#region node_modules/lodash-es/isArray.js
45
- var _ = Array.isArray, ce = Infinity, le = l ? l.prototype : void 0, ue = le ? le.toString : void 0;
46
- function de(e) {
47
- if (typeof e == "string") return e;
48
- if (_(e)) return se(e, de) + "";
49
- if (oe(e)) return ue ? ue.call(e) : "";
50
- var t = e + "";
51
- return t == "0" && 1 / e == -ce ? "-0" : t;
52
- }
53
- //#endregion
54
- //#region node_modules/lodash-es/isObject.js
55
- function v(e) {
56
- var t = typeof e;
57
- return e != null && (t == "object" || t == "function");
58
- }
59
- //#endregion
60
- //#region node_modules/lodash-es/identity.js
61
- function y(e) {
62
- return e;
63
- }
64
- //#endregion
65
- //#region node_modules/lodash-es/isFunction.js
66
- var fe = "[object AsyncFunction]", pe = "[object Function]", me = "[object GeneratorFunction]", he = "[object Proxy]";
67
- function b(e) {
68
- if (!v(e)) return !1;
69
- var t = h(e);
70
- return t == pe || t == me || t == fe || t == he;
71
- }
72
- //#endregion
73
- //#region node_modules/lodash-es/_coreJsData.js
74
- var x = c["__core-js_shared__"], ge = function() {
75
- var e = /[^.]+$/.exec(x && x.keys && x.keys.IE_PROTO || "");
76
- return e ? "Symbol(src)_1." + e : "";
77
- }();
78
- function _e(e) {
79
- return !!ge && ge in e;
80
- }
81
- //#endregion
82
- //#region node_modules/lodash-es/_toSource.js
83
- var ve = Function.prototype.toString;
84
- function ye(e) {
85
- if (e != null) {
86
- try {
87
- return ve.call(e);
88
- } catch {}
89
- try {
90
- return e + "";
91
- } catch {}
92
- }
93
- return "";
94
- }
95
- //#endregion
96
- //#region node_modules/lodash-es/_baseIsNative.js
97
- var be = /[\\^$.*+?()[\]{}|]/g, xe = /^\[object .+?Constructor\]$/, Se = Function.prototype, Ce = Object.prototype, we = Se.toString, Te = Ce.hasOwnProperty, Ee = RegExp("^" + we.call(Te).replace(be, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
98
- function De(e) {
99
- return !v(e) || _e(e) ? !1 : (b(e) ? Ee : xe).test(ye(e));
100
- }
101
- //#endregion
102
- //#region node_modules/lodash-es/_getValue.js
103
- function Oe(e, t) {
104
- return e?.[t];
105
- }
106
- //#endregion
107
- //#region node_modules/lodash-es/_getNative.js
108
- function S(e, t) {
109
- var n = Oe(e, t);
110
- return De(n) ? n : void 0;
111
- }
112
- //#endregion
1
+ import { C as e, E as t, F as n, M as r, O as i, P as a, R as o, T as s, V as c, a as l, b as u, h as d, i as f, m as p, n as m, p as h, r as g, t as ee, v as te, x as _, y as ne, z as v } from "./isArrayLikeObject-VG1KOJ3m.js";
2
+ import { createContext as re, useCallback as y, useContext as ie, useMemo as ae, useState as oe } from "react";
3
+ import { jsx as se } from "react/jsx-runtime";
113
4
  //#region node_modules/lodash-es/_baseCreate.js
114
- var ke = Object.create, Ae = function() {
5
+ var ce = Object.create, le = function() {
115
6
  function e() {}
116
7
  return function(t) {
117
- if (!v(t)) return {};
118
- if (ke) return ke(t);
8
+ if (!a(t)) return {};
9
+ if (ce) return ce(t);
119
10
  e.prototype = t;
120
11
  var n = new e();
121
12
  return e.prototype = void 0, n;
122
13
  };
123
14
  }();
124
15
  //#endregion
125
- //#region node_modules/lodash-es/_apply.js
126
- function je(e, t, n) {
127
- switch (n.length) {
128
- case 0: return e.call(t);
129
- case 1: return e.call(t, n[0]);
130
- case 2: return e.call(t, n[0], n[1]);
131
- case 3: return e.call(t, n[0], n[1], n[2]);
132
- }
133
- return e.apply(t, n);
134
- }
135
- //#endregion
136
16
  //#region node_modules/lodash-es/_copyArray.js
137
- function Me(e, t) {
17
+ function b(e, t) {
138
18
  var n = -1, r = e.length;
139
19
  for (t ||= Array(r); ++n < r;) t[n] = e[n];
140
20
  return t;
141
21
  }
142
22
  //#endregion
143
- //#region node_modules/lodash-es/_shortOut.js
144
- var Ne = 800, Pe = 16, Fe = Date.now;
145
- function Ie(e) {
146
- var t = 0, n = 0;
147
- return function() {
148
- var r = Fe(), i = Pe - (r - n);
149
- if (n = r, i > 0) {
150
- if (++t >= Ne) return arguments[0];
151
- } else t = 0;
152
- return e.apply(void 0, arguments);
153
- };
154
- }
155
- //#endregion
156
- //#region node_modules/lodash-es/constant.js
157
- function Le(e) {
158
- return function() {
159
- return e;
160
- };
161
- }
162
- //#endregion
163
- //#region node_modules/lodash-es/_defineProperty.js
164
- var C = function() {
165
- try {
166
- var e = S(Object, "defineProperty");
167
- return e({}, "", {}), e;
168
- } catch {}
169
- }(), Re = Ie(C ? function(e, t) {
170
- return C(e, "toString", {
171
- configurable: !0,
172
- enumerable: !1,
173
- value: Le(t),
174
- writable: !0
175
- });
176
- } : y), ze = 9007199254740991, Be = /^(?:0|[1-9]\d*)$/;
177
- function w(e, t) {
178
- var n = typeof e;
179
- return t ??= ze, !!t && (n == "number" || n != "symbol" && Be.test(e)) && e > -1 && e % 1 == 0 && e < t;
180
- }
181
- //#endregion
182
23
  //#region node_modules/lodash-es/_baseAssignValue.js
183
- function Ve(e, t, n) {
184
- t == "__proto__" && C ? C(e, t, {
24
+ function x(e, t, n) {
25
+ t == "__proto__" && i ? i(e, t, {
185
26
  configurable: !0,
186
27
  enumerable: !0,
187
28
  value: n,
@@ -189,522 +30,144 @@ function Ve(e, t, n) {
189
30
  }) : e[t] = n;
190
31
  }
191
32
  //#endregion
192
- //#region node_modules/lodash-es/eq.js
193
- function T(e, t) {
194
- return e === t || e !== e && t !== t;
195
- }
196
- //#endregion
197
33
  //#region node_modules/lodash-es/_assignValue.js
198
- var He = Object.prototype.hasOwnProperty;
199
- function Ue(e, t, n) {
34
+ var ue = Object.prototype.hasOwnProperty;
35
+ function de(e, t, n) {
200
36
  var r = e[t];
201
- (!(He.call(e, t) && T(r, n)) || n === void 0 && !(t in e)) && Ve(e, t, n);
37
+ (!(ue.call(e, t) && s(r, n)) || n === void 0 && !(t in e)) && x(e, t, n);
202
38
  }
203
39
  //#endregion
204
40
  //#region node_modules/lodash-es/_copyObject.js
205
- function We(e, t, n, r) {
41
+ function fe(e, t, n, r) {
206
42
  var i = !n;
207
43
  n ||= {};
208
44
  for (var a = -1, o = t.length; ++a < o;) {
209
45
  var s = t[a], c = r ? r(n[s], e[s], s, n, e) : void 0;
210
- c === void 0 && (c = e[s]), i ? Ve(n, s, c) : Ue(n, s, c);
46
+ c === void 0 && (c = e[s]), i ? x(n, s, c) : de(n, s, c);
211
47
  }
212
48
  return n;
213
49
  }
214
50
  //#endregion
215
- //#region node_modules/lodash-es/_overRest.js
216
- var Ge = Math.max;
217
- function Ke(e, t, n) {
218
- return t = Ge(t === void 0 ? e.length - 1 : t, 0), function() {
219
- for (var r = arguments, i = -1, a = Ge(r.length - t, 0), o = Array(a); ++i < a;) o[i] = r[t + i];
220
- i = -1;
221
- for (var s = Array(t + 1); ++i < t;) s[i] = r[i];
222
- return s[t] = n(o), je(e, this, s);
223
- };
224
- }
225
- //#endregion
226
- //#region node_modules/lodash-es/_baseRest.js
227
- function qe(e, t) {
228
- return Re(Ke(e, t, y), e + "");
229
- }
230
- //#endregion
231
- //#region node_modules/lodash-es/isLength.js
232
- var Je = 9007199254740991;
233
- function E(e) {
234
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Je;
235
- }
236
- //#endregion
237
- //#region node_modules/lodash-es/isArrayLike.js
238
- function D(e) {
239
- return e != null && E(e.length) && !b(e);
240
- }
241
- //#endregion
242
51
  //#region node_modules/lodash-es/_isIterateeCall.js
243
- function Ye(e, t, n) {
244
- if (!v(n)) return !1;
245
- var r = typeof t;
246
- return (r == "number" ? D(n) && w(t, n.length) : r == "string" && t in n) ? T(n[t], e) : !1;
52
+ function S(e, n, r) {
53
+ if (!a(r)) return !1;
54
+ var i = typeof n;
55
+ return (i == "number" ? _(r) && t(n, r.length) : i == "string" && n in r) ? s(r[n], e) : !1;
247
56
  }
248
57
  //#endregion
249
58
  //#region node_modules/lodash-es/_createAssigner.js
250
- function Xe(e) {
251
- return qe(function(t, n) {
59
+ function pe(t) {
60
+ return e(function(e, n) {
252
61
  var r = -1, i = n.length, a = i > 1 ? n[i - 1] : void 0, o = i > 2 ? n[2] : void 0;
253
- for (a = e.length > 3 && typeof a == "function" ? (i--, a) : void 0, o && Ye(n[0], n[1], o) && (a = i < 3 ? void 0 : a, i = 1), t = Object(t); ++r < i;) {
62
+ for (a = t.length > 3 && typeof a == "function" ? (i--, a) : void 0, o && S(n[0], n[1], o) && (a = i < 3 ? void 0 : a, i = 1), e = Object(e); ++r < i;) {
254
63
  var s = n[r];
255
- s && e(t, s, r, a);
64
+ s && t(e, s, r, a);
256
65
  }
257
- return t;
66
+ return e;
258
67
  });
259
68
  }
260
69
  //#endregion
261
- //#region node_modules/lodash-es/_isPrototype.js
262
- var Ze = Object.prototype;
263
- function Qe(e) {
264
- var t = e && e.constructor;
265
- return e === (typeof t == "function" && t.prototype || Ze);
266
- }
267
- //#endregion
268
- //#region node_modules/lodash-es/_baseTimes.js
269
- function $e(e, t) {
270
- for (var n = -1, r = Array(e); ++n < e;) r[n] = t(n);
271
- return r;
272
- }
273
- //#endregion
274
- //#region node_modules/lodash-es/_baseIsArguments.js
275
- var et = "[object Arguments]";
276
- function tt(e) {
277
- return g(e) && h(e) == et;
278
- }
279
- //#endregion
280
- //#region node_modules/lodash-es/isArguments.js
281
- var nt = Object.prototype, rt = nt.hasOwnProperty, it = nt.propertyIsEnumerable, O = tt(function() {
282
- return arguments;
283
- }()) ? tt : function(e) {
284
- return g(e) && rt.call(e, "callee") && !it.call(e, "callee");
285
- };
286
- //#endregion
287
- //#region node_modules/lodash-es/stubFalse.js
288
- function at() {
289
- return !1;
290
- }
291
- //#endregion
292
- //#region node_modules/lodash-es/isBuffer.js
293
- var ot = typeof exports == "object" && exports && !exports.nodeType && exports, st = ot && typeof module == "object" && module && !module.nodeType && module, ct = st && st.exports === ot ? c.Buffer : void 0, k = (ct ? ct.isBuffer : void 0) || at, lt = "[object Arguments]", ut = "[object Array]", dt = "[object Boolean]", ft = "[object Date]", pt = "[object Error]", mt = "[object Function]", ht = "[object Map]", gt = "[object Number]", _t = "[object Object]", vt = "[object RegExp]", yt = "[object Set]", bt = "[object String]", xt = "[object WeakMap]", St = "[object ArrayBuffer]", Ct = "[object DataView]", wt = "[object Float32Array]", Tt = "[object Float64Array]", Et = "[object Int8Array]", Dt = "[object Int16Array]", Ot = "[object Int32Array]", kt = "[object Uint8Array]", At = "[object Uint8ClampedArray]", jt = "[object Uint16Array]", Mt = "[object Uint32Array]", A = {};
294
- A[wt] = A[Tt] = A[Et] = A[Dt] = A[Ot] = A[kt] = A[At] = A[jt] = A[Mt] = !0, A[lt] = A[ut] = A[St] = A[dt] = A[Ct] = A[ft] = A[pt] = A[mt] = A[ht] = A[gt] = A[_t] = A[vt] = A[yt] = A[bt] = A[xt] = !1;
295
- function Nt(e) {
296
- return g(e) && E(e.length) && !!A[h(e)];
297
- }
298
- //#endregion
299
- //#region node_modules/lodash-es/_baseUnary.js
300
- function Pt(e) {
301
- return function(t) {
302
- return e(t);
303
- };
304
- }
305
- //#endregion
306
- //#region node_modules/lodash-es/_nodeUtil.js
307
- var Ft = typeof exports == "object" && exports && !exports.nodeType && exports, j = Ft && typeof module == "object" && module && !module.nodeType && module, M = j && j.exports === Ft && o.process, It = function() {
308
- try {
309
- return j && j.require && j.require("util").types || M && M.binding && M.binding("util");
310
- } catch {}
311
- }(), Lt = It && It.isTypedArray, Rt = Lt ? Pt(Lt) : Nt, zt = Object.prototype.hasOwnProperty;
312
- function Bt(e, t) {
313
- var n = _(e), r = !n && O(e), i = !n && !r && k(e), a = !n && !r && !i && Rt(e), o = n || r || i || a, s = o ? $e(e.length, String) : [], c = s.length;
314
- for (var l in e) (t || zt.call(e, l)) && !(o && (l == "length" || i && (l == "offset" || l == "parent") || a && (l == "buffer" || l == "byteLength" || l == "byteOffset") || w(l, c))) && s.push(l);
315
- return s;
316
- }
317
- //#endregion
318
- //#region node_modules/lodash-es/_overArg.js
319
- function Vt(e, t) {
320
- return function(n) {
321
- return e(t(n));
322
- };
323
- }
324
- //#endregion
325
70
  //#region node_modules/lodash-es/_nativeKeysIn.js
326
- function Ht(e) {
71
+ function me(e) {
327
72
  var t = [];
328
73
  if (e != null) for (var n in Object(e)) t.push(n);
329
74
  return t;
330
75
  }
331
76
  //#endregion
332
77
  //#region node_modules/lodash-es/_baseKeysIn.js
333
- var Ut = Object.prototype.hasOwnProperty;
334
- function Wt(e) {
335
- if (!v(e)) return Ht(e);
336
- var t = Qe(e), n = [];
337
- for (var r in e) r == "constructor" && (t || !Ut.call(e, r)) || n.push(r);
78
+ var he = Object.prototype.hasOwnProperty;
79
+ function ge(e) {
80
+ if (!a(e)) return me(e);
81
+ var t = u(e), n = [];
82
+ for (var r in e) r == "constructor" && (t || !he.call(e, r)) || n.push(r);
338
83
  return n;
339
84
  }
340
85
  //#endregion
341
86
  //#region node_modules/lodash-es/keysIn.js
342
- function Gt(e) {
343
- return D(e) ? Bt(e, !0) : Wt(e);
344
- }
345
- //#endregion
346
- //#region node_modules/lodash-es/_isKey.js
347
- var Kt = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, qt = /^\w*$/;
348
- function Jt(e, t) {
349
- if (_(e)) return !1;
350
- var n = typeof e;
351
- return n == "number" || n == "symbol" || n == "boolean" || e == null || oe(e) ? !0 : qt.test(e) || !Kt.test(e) || t != null && e in Object(t);
352
- }
353
- //#endregion
354
- //#region node_modules/lodash-es/_nativeCreate.js
355
- var N = S(Object, "create");
356
- //#endregion
357
- //#region node_modules/lodash-es/_hashClear.js
358
- function Yt() {
359
- this.__data__ = N ? N(null) : {}, this.size = 0;
360
- }
361
- //#endregion
362
- //#region node_modules/lodash-es/_hashDelete.js
363
- function Xt(e) {
364
- var t = this.has(e) && delete this.__data__[e];
365
- return this.size -= +!!t, t;
366
- }
367
- //#endregion
368
- //#region node_modules/lodash-es/_hashGet.js
369
- var Zt = "__lodash_hash_undefined__", Qt = Object.prototype.hasOwnProperty;
370
- function $t(e) {
371
- var t = this.__data__;
372
- if (N) {
373
- var n = t[e];
374
- return n === Zt ? void 0 : n;
375
- }
376
- return Qt.call(t, e) ? t[e] : void 0;
377
- }
378
- //#endregion
379
- //#region node_modules/lodash-es/_hashHas.js
380
- var en = Object.prototype.hasOwnProperty;
381
- function tn(e) {
382
- var t = this.__data__;
383
- return N ? t[e] !== void 0 : en.call(t, e);
384
- }
385
- //#endregion
386
- //#region node_modules/lodash-es/_hashSet.js
387
- var nn = "__lodash_hash_undefined__";
388
- function rn(e, t) {
389
- var n = this.__data__;
390
- return this.size += +!this.has(e), n[e] = N && t === void 0 ? nn : t, this;
391
- }
392
- //#endregion
393
- //#region node_modules/lodash-es/_Hash.js
394
- function P(e) {
395
- var t = -1, n = e == null ? 0 : e.length;
396
- for (this.clear(); ++t < n;) {
397
- var r = e[t];
398
- this.set(r[0], r[1]);
399
- }
400
- }
401
- P.prototype.clear = Yt, P.prototype.delete = Xt, P.prototype.get = $t, P.prototype.has = tn, P.prototype.set = rn;
402
- //#endregion
403
- //#region node_modules/lodash-es/_listCacheClear.js
404
- function an() {
405
- this.__data__ = [], this.size = 0;
406
- }
407
- //#endregion
408
- //#region node_modules/lodash-es/_assocIndexOf.js
409
- function F(e, t) {
410
- for (var n = e.length; n--;) if (T(e[n][0], t)) return n;
411
- return -1;
412
- }
413
- //#endregion
414
- //#region node_modules/lodash-es/_listCacheDelete.js
415
- var on = Array.prototype.splice;
416
- function sn(e) {
417
- var t = this.__data__, n = F(t, e);
418
- return n < 0 ? !1 : (n == t.length - 1 ? t.pop() : on.call(t, n, 1), --this.size, !0);
419
- }
420
- //#endregion
421
- //#region node_modules/lodash-es/_listCacheGet.js
422
- function cn(e) {
423
- var t = this.__data__, n = F(t, e);
424
- return n < 0 ? void 0 : t[n][1];
425
- }
426
- //#endregion
427
- //#region node_modules/lodash-es/_listCacheHas.js
428
- function ln(e) {
429
- return F(this.__data__, e) > -1;
430
- }
431
- //#endregion
432
- //#region node_modules/lodash-es/_listCacheSet.js
433
- function un(e, t) {
434
- var n = this.__data__, r = F(n, e);
435
- return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
436
- }
437
- //#endregion
438
- //#region node_modules/lodash-es/_ListCache.js
439
- function I(e) {
440
- var t = -1, n = e == null ? 0 : e.length;
441
- for (this.clear(); ++t < n;) {
442
- var r = e[t];
443
- this.set(r[0], r[1]);
444
- }
445
- }
446
- I.prototype.clear = an, I.prototype.delete = sn, I.prototype.get = cn, I.prototype.has = ln, I.prototype.set = un;
447
- //#endregion
448
- //#region node_modules/lodash-es/_Map.js
449
- var L = S(c, "Map");
450
- //#endregion
451
- //#region node_modules/lodash-es/_mapCacheClear.js
452
- function dn() {
453
- this.size = 0, this.__data__ = {
454
- hash: new P(),
455
- map: new (L || I)(),
456
- string: new P()
457
- };
458
- }
459
- //#endregion
460
- //#region node_modules/lodash-es/_isKeyable.js
461
- function fn(e) {
462
- var t = typeof e;
463
- return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
464
- }
465
- //#endregion
466
- //#region node_modules/lodash-es/_getMapData.js
467
- function R(e, t) {
468
- var n = e.__data__;
469
- return fn(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
470
- }
471
- //#endregion
472
- //#region node_modules/lodash-es/_mapCacheDelete.js
473
- function pn(e) {
474
- var t = R(this, e).delete(e);
475
- return this.size -= +!!t, t;
476
- }
477
- //#endregion
478
- //#region node_modules/lodash-es/_mapCacheGet.js
479
- function mn(e) {
480
- return R(this, e).get(e);
481
- }
482
- //#endregion
483
- //#region node_modules/lodash-es/_mapCacheHas.js
484
- function hn(e) {
485
- return R(this, e).has(e);
486
- }
487
- //#endregion
488
- //#region node_modules/lodash-es/_mapCacheSet.js
489
- function gn(e, t) {
490
- var n = R(this, e), r = n.size;
491
- return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
492
- }
493
- //#endregion
494
- //#region node_modules/lodash-es/_MapCache.js
495
- function z(e) {
496
- var t = -1, n = e == null ? 0 : e.length;
497
- for (this.clear(); ++t < n;) {
498
- var r = e[t];
499
- this.set(r[0], r[1]);
500
- }
501
- }
502
- z.prototype.clear = dn, z.prototype.delete = pn, z.prototype.get = mn, z.prototype.has = hn, z.prototype.set = gn;
503
- //#endregion
504
- //#region node_modules/lodash-es/memoize.js
505
- var _n = "Expected a function";
506
- function B(e, t) {
507
- if (typeof e != "function" || t != null && typeof t != "function") throw TypeError(_n);
508
- var n = function() {
509
- var r = arguments, i = t ? t.apply(this, r) : r[0], a = n.cache;
510
- if (a.has(i)) return a.get(i);
511
- var o = e.apply(this, r);
512
- return n.cache = a.set(i, o) || a, o;
513
- };
514
- return n.cache = new (B.Cache || z)(), n;
515
- }
516
- B.Cache = z;
517
- //#endregion
518
- //#region node_modules/lodash-es/_memoizeCapped.js
519
- var vn = 500;
520
- function yn(e) {
521
- var t = B(e, function(e) {
522
- return n.size === vn && n.clear(), e;
523
- }), n = t.cache;
524
- return t;
525
- }
526
- //#endregion
527
- //#region node_modules/lodash-es/_stringToPath.js
528
- var bn = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, xn = /\\(\\)?/g, Sn = yn(function(e) {
529
- var t = [];
530
- return e.charCodeAt(0) === 46 && t.push(""), e.replace(bn, function(e, n, r, i) {
531
- t.push(r ? i.replace(xn, "$1") : n || e);
532
- }), t;
533
- });
534
- //#endregion
535
- //#region node_modules/lodash-es/toString.js
536
- function Cn(e) {
537
- return e == null ? "" : de(e);
538
- }
539
- //#endregion
540
- //#region node_modules/lodash-es/_castPath.js
541
- function wn(e, t) {
542
- return _(e) ? e : Jt(e, t) ? [e] : Sn(Cn(e));
543
- }
544
- //#endregion
545
- //#region node_modules/lodash-es/_toKey.js
546
- var Tn = Infinity;
547
- function En(e) {
548
- if (typeof e == "string" || oe(e)) return e;
549
- var t = e + "";
550
- return t == "0" && 1 / e == -Tn ? "-0" : t;
551
- }
552
- //#endregion
553
- //#region node_modules/lodash-es/_baseGet.js
554
- function Dn(e, t) {
555
- t = wn(t, e);
556
- for (var n = 0, r = t.length; e != null && n < r;) e = e[En(t[n++])];
557
- return n && n == r ? e : void 0;
558
- }
559
- //#endregion
560
- //#region node_modules/lodash-es/get.js
561
- function On(e, t, n) {
562
- var r = e == null ? void 0 : Dn(e, t);
563
- return r === void 0 ? n : r;
87
+ function C(e) {
88
+ return _(e) ? p(e, !0) : ge(e);
564
89
  }
565
90
  //#endregion
566
91
  //#region node_modules/lodash-es/_getPrototype.js
567
- var V = Vt(Object.getPrototypeOf, Object), kn = "[object Object]", An = Function.prototype, jn = Object.prototype, Mn = An.toString, Nn = jn.hasOwnProperty, Pn = Mn.call(Object);
568
- function H(e) {
569
- if (!g(e) || h(e) != kn) return !1;
570
- var t = V(e);
92
+ var w = h(Object.getPrototypeOf, Object), _e = "[object Object]", ve = Function.prototype, ye = Object.prototype, T = ve.toString, be = ye.hasOwnProperty, xe = T.call(Object);
93
+ function E(e) {
94
+ if (!o(e) || v(e) != _e) return !1;
95
+ var t = w(e);
571
96
  if (t === null) return !0;
572
- var n = Nn.call(t, "constructor") && t.constructor;
573
- return typeof n == "function" && n instanceof n && Mn.call(n) == Pn;
574
- }
575
- //#endregion
576
- //#region node_modules/lodash-es/_stackClear.js
577
- function Fn() {
578
- this.__data__ = new I(), this.size = 0;
579
- }
580
- //#endregion
581
- //#region node_modules/lodash-es/_stackDelete.js
582
- function In(e) {
583
- var t = this.__data__, n = t.delete(e);
584
- return this.size = t.size, n;
585
- }
586
- //#endregion
587
- //#region node_modules/lodash-es/_stackGet.js
588
- function Ln(e) {
589
- return this.__data__.get(e);
590
- }
591
- //#endregion
592
- //#region node_modules/lodash-es/_stackHas.js
593
- function Rn(e) {
594
- return this.__data__.has(e);
595
- }
596
- //#endregion
597
- //#region node_modules/lodash-es/_stackSet.js
598
- var zn = 200;
599
- function Bn(e, t) {
600
- var n = this.__data__;
601
- if (n instanceof I) {
602
- var r = n.__data__;
603
- if (!L || r.length < zn - 1) return r.push([e, t]), this.size = ++n.size, this;
604
- n = this.__data__ = new z(r);
605
- }
606
- return n.set(e, t), this.size = n.size, this;
97
+ var n = be.call(t, "constructor") && t.constructor;
98
+ return typeof n == "function" && n instanceof n && T.call(n) == xe;
607
99
  }
608
100
  //#endregion
609
- //#region node_modules/lodash-es/_Stack.js
610
- function U(e) {
611
- var t = this.__data__ = new I(e);
612
- this.size = t.size;
613
- }
614
- U.prototype.clear = Fn, U.prototype.delete = In, U.prototype.get = Ln, U.prototype.has = Rn, U.prototype.set = Bn;
615
- //#endregion
616
101
  //#region node_modules/lodash-es/_cloneBuffer.js
617
- var Vn = typeof exports == "object" && exports && !exports.nodeType && exports, Hn = Vn && typeof module == "object" && module && !module.nodeType && module, Un = Hn && Hn.exports === Vn ? c.Buffer : void 0, Wn = Un ? Un.allocUnsafe : void 0;
618
- function Gn(e, t) {
102
+ var D = typeof exports == "object" && exports && !exports.nodeType && exports, O = D && typeof module == "object" && module && !module.nodeType && module, k = O && O.exports === D ? c.Buffer : void 0, Se = k ? k.allocUnsafe : void 0;
103
+ function Ce(e, t) {
619
104
  if (t) return e.slice();
620
- var n = e.length, r = Wn ? Wn(n) : new e.constructor(n);
105
+ var n = e.length, r = Se ? Se(n) : new e.constructor(n);
621
106
  return e.copy(r), r;
622
107
  }
623
108
  //#endregion
624
- //#region node_modules/lodash-es/_Uint8Array.js
625
- var W = c.Uint8Array;
626
- //#endregion
627
109
  //#region node_modules/lodash-es/_cloneArrayBuffer.js
628
- function Kn(e) {
110
+ function we(e) {
629
111
  var t = new e.constructor(e.byteLength);
630
- return new W(t).set(new W(e)), t;
112
+ return new g(t).set(new g(e)), t;
631
113
  }
632
114
  //#endregion
633
115
  //#region node_modules/lodash-es/_cloneTypedArray.js
634
- function qn(e, t) {
635
- var n = t ? Kn(e.buffer) : e.buffer;
116
+ function Te(e, t) {
117
+ var n = t ? we(e.buffer) : e.buffer;
636
118
  return new e.constructor(n, e.byteOffset, e.length);
637
119
  }
638
120
  //#endregion
639
121
  //#region node_modules/lodash-es/_initCloneObject.js
640
- function Jn(e) {
641
- return typeof e.constructor == "function" && !Qe(e) ? Ae(V(e)) : {};
122
+ function Ee(e) {
123
+ return typeof e.constructor == "function" && !u(e) ? le(w(e)) : {};
642
124
  }
643
125
  //#endregion
644
- //#region node_modules/lodash-es/_createBaseFor.js
645
- function Yn(e) {
646
- return function(t, n, r) {
647
- for (var i = -1, a = Object(t), o = r(t), s = o.length; s--;) {
648
- var c = o[e ? s : ++i];
649
- if (n(a[c], c, a) === !1) break;
650
- }
651
- return t;
652
- };
653
- }
654
- //#endregion
655
- //#region node_modules/lodash-es/_baseFor.js
656
- var Xn = Yn();
657
- //#endregion
658
126
  //#region node_modules/lodash-es/_assignMergeValue.js
659
- function G(e, t, n) {
660
- (n !== void 0 && !T(e[t], n) || n === void 0 && !(t in e)) && Ve(e, t, n);
661
- }
662
- //#endregion
663
- //#region node_modules/lodash-es/isArrayLikeObject.js
664
- function Zn(e) {
665
- return g(e) && D(e);
127
+ function A(e, t, n) {
128
+ (n !== void 0 && !s(e[t], n) || n === void 0 && !(t in e)) && x(e, t, n);
666
129
  }
667
130
  //#endregion
668
131
  //#region node_modules/lodash-es/_safeGet.js
669
- function K(e, t) {
132
+ function j(e, t) {
670
133
  if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__") return e[t];
671
134
  }
672
135
  //#endregion
673
136
  //#region node_modules/lodash-es/toPlainObject.js
674
- function Qn(e) {
675
- return We(e, Gt(e));
137
+ function De(e) {
138
+ return fe(e, C(e));
676
139
  }
677
140
  //#endregion
678
141
  //#region node_modules/lodash-es/_baseMergeDeep.js
679
- function $n(e, t, n, r, i, a, o) {
680
- var s = K(e, n), c = K(t, n), l = o.get(c);
681
- if (l) {
682
- G(e, n, l);
142
+ function Oe(e, t, i, o, s, c, l) {
143
+ var u = j(e, i), f = j(t, i), p = l.get(f);
144
+ if (p) {
145
+ A(e, i, p);
683
146
  return;
684
147
  }
685
- var u = a ? a(s, c, n + "", e, t, o) : void 0, d = u === void 0;
686
- if (d) {
687
- var f = _(c), p = !f && k(c), m = !f && !p && Rt(c);
688
- u = c, f || p || m ? _(s) ? u = s : Zn(s) ? u = Me(s) : p ? (d = !1, u = Gn(c, !0)) : m ? (d = !1, u = qn(c, !0)) : u = [] : H(c) || O(c) ? (u = s, O(s) ? u = Qn(s) : (!v(s) || b(s)) && (u = Jn(c))) : d = !1;
148
+ var m = c ? c(u, f, i + "", e, t, l) : void 0, h = m === void 0;
149
+ if (h) {
150
+ var g = n(f), _ = !g && te(f), v = !g && !_ && d(f);
151
+ m = f, g || _ || v ? n(u) ? m = u : ee(u) ? m = b(u) : _ ? (h = !1, m = Ce(f, !0)) : v ? (h = !1, m = Te(f, !0)) : m = [] : E(f) || ne(f) ? (m = u, ne(u) ? m = De(u) : (!a(u) || r(u)) && (m = Ee(f))) : h = !1;
689
152
  }
690
- d && (o.set(c, u), i(u, c, r, a, o), o.delete(c)), G(e, n, u);
153
+ h && (l.set(f, m), s(m, f, o, c, l), l.delete(f)), A(e, i, m);
691
154
  }
692
155
  //#endregion
693
156
  //#region node_modules/lodash-es/_baseMerge.js
694
- function er(e, t, n, r, i) {
695
- e !== t && Xn(t, function(a, o) {
696
- if (i ||= new U(), v(a)) $n(e, t, o, n, er, r, i);
157
+ function ke(e, t, n, r, i) {
158
+ e !== t && m(t, function(o, s) {
159
+ if (i ||= new f(), a(o)) Oe(e, t, s, n, ke, r, i);
697
160
  else {
698
- var s = r ? r(K(e, o), a, o + "", e, t, i) : void 0;
699
- s === void 0 && (s = a), G(e, o, s);
161
+ var c = r ? r(j(e, s), o, s + "", e, t, i) : void 0;
162
+ c === void 0 && (c = o), A(e, s, c);
700
163
  }
701
- }, Gt);
164
+ }, C);
702
165
  }
703
166
  //#endregion
704
167
  //#region node_modules/lodash-es/merge.js
705
- var tr = Xe(function(e, t, n) {
706
- er(e, t, n);
707
- }), q = {
168
+ var M = pe(function(e, t, n) {
169
+ ke(e, t, n);
170
+ }), N = {
708
171
  en: { material: {
709
172
  "empty-state": {
710
173
  "not-found": {
@@ -743,6 +206,11 @@ var tr = Xe(function(e, t, n) {
743
206
  "scroll-progress": "Scroll progress",
744
207
  "skip-link": "Skip to content",
745
208
  "see-also": "See also",
209
+ emoji: {
210
+ picker: "Emoji",
211
+ pick: "Choose an emoji"
212
+ },
213
+ mentions: { empty: "No matches" },
746
214
  cards: {
747
215
  "per-month": "/ month",
748
216
  total: "Total",
@@ -864,7 +332,13 @@ var tr = Xe(function(e, t, n) {
864
332
  answered: "{count} answered",
865
333
  score: "{correct} of {total} correct",
866
334
  results: "Results",
867
- empty: "No questions"
335
+ empty: "No questions",
336
+ quiz: "Quiz",
337
+ review: "Review",
338
+ "kind-choice": "Multiple choice",
339
+ "kind-multi": "Select all that apply",
340
+ "kind-boolean": "True or false",
341
+ "kind-text": "Short answer"
868
342
  },
869
343
  "stx-player": {
870
344
  play: "Play",
@@ -1528,6 +1002,11 @@ var tr = Xe(function(e, t, n) {
1528
1002
  "scroll-progress": "Progression du défilement",
1529
1003
  "skip-link": "Aller au contenu",
1530
1004
  "see-also": "Voir aussi",
1005
+ emoji: {
1006
+ picker: "Emoji",
1007
+ pick: "Choisir un emoji"
1008
+ },
1009
+ mentions: { empty: "Aucun résultat" },
1531
1010
  cards: {
1532
1011
  "per-month": "/ mois",
1533
1012
  total: "Total",
@@ -1649,7 +1128,13 @@ var tr = Xe(function(e, t, n) {
1649
1128
  answered: "{count} répondues",
1650
1129
  score: "{correct} sur {total} correctes",
1651
1130
  results: "Résultats",
1652
- empty: "Aucune question"
1131
+ empty: "Aucune question",
1132
+ quiz: "Quiz",
1133
+ review: "Relecture",
1134
+ "kind-choice": "Choix unique",
1135
+ "kind-multi": "Plusieurs réponses",
1136
+ "kind-boolean": "Vrai ou faux",
1137
+ "kind-text": "Réponse courte"
1653
1138
  },
1654
1139
  "stx-player": {
1655
1140
  play: "Lecture",
@@ -2275,8 +1760,8 @@ var tr = Xe(function(e, t, n) {
2275
1760
  required: "requis"
2276
1761
  }
2277
1762
  } }
2278
- }, J = "language", nr = "en", Y = Object.keys(q), rr = e(null);
2279
- function ir(e, t, n) {
1763
+ }, P = "language", Ae = "en", F = Object.keys(N), I = re(null);
1764
+ function je(e, t, n) {
2280
1765
  if (typeof localStorage > "u") return t;
2281
1766
  try {
2282
1767
  let r = localStorage.getItem(e);
@@ -2285,102 +1770,102 @@ function ir(e, t, n) {
2285
1770
  return t;
2286
1771
  }
2287
1772
  }
2288
- function ar({ children: e, defaultLanguage: n = "en", storageKey: o = J, supportedLanguages: s = Y, onLanguageChange: c, initialLanguage: l }) {
2289
- let [u, d] = i(() => l && s.includes(l) ? l : ir(o, n, s)), f = t((e) => {
2290
- if (!s.includes(e)) {
1773
+ function Me({ children: e, defaultLanguage: t = "en", storageKey: n = P, supportedLanguages: r = F, onLanguageChange: i, initialLanguage: a }) {
1774
+ let [o, s] = oe(() => a && r.includes(a) ? a : je(n, t, r)), c = y((e) => {
1775
+ if (!r.includes(e)) {
2291
1776
  console.warn(`[@nxgt/material] Unsupported language: "${e}".`);
2292
1777
  return;
2293
1778
  }
2294
1779
  if (typeof localStorage < "u") try {
2295
- localStorage.setItem(o, e);
1780
+ localStorage.setItem(n, e);
2296
1781
  } catch {}
2297
- d(e), c?.(e);
1782
+ s(e), i?.(e);
2298
1783
  }, [
2299
- o,
2300
- s,
2301
- c
2302
- ]), p = r(() => ({
2303
- language: u,
2304
- changeLanguage: f,
2305
- supportedLanguages: s
1784
+ n,
1785
+ r,
1786
+ i
1787
+ ]), l = ae(() => ({
1788
+ language: o,
1789
+ changeLanguage: c,
1790
+ supportedLanguages: r
2306
1791
  }), [
2307
- u,
2308
- f,
2309
- s
1792
+ o,
1793
+ c,
1794
+ r
2310
1795
  ]);
2311
- return /* @__PURE__ */ a(rr.Provider, {
2312
- value: p,
1796
+ return /* @__PURE__ */ se(I.Provider, {
1797
+ value: l,
2313
1798
  children: e
2314
1799
  });
2315
1800
  }
2316
- function or() {
2317
- let e = n(rr);
1801
+ function L() {
1802
+ let e = ie(I);
2318
1803
  if (!e) throw Error("useI18nContext must be used within an I18nProvider");
2319
1804
  return e;
2320
1805
  }
2321
- function sr() {
2322
- return n(rr);
1806
+ function R() {
1807
+ return ie(I);
2323
1808
  }
2324
1809
  //#endregion
2325
1810
  //#region lib/i18n/merge-resources.ts
2326
- function cr(e, t, n = "") {
1811
+ function z(e, t, n = "") {
2327
1812
  let r = [];
2328
1813
  for (let i of Object.keys(t)) {
2329
1814
  if (!(i in e)) continue;
2330
1815
  let a = n ? `${n}.${i}` : i, o = e[i], s = t[i];
2331
- H(o) && H(s) ? r.push(...cr(o, s, a)) : r.push(a);
1816
+ E(o) && E(s) ? r.push(...z(o, s, a)) : r.push(a);
2332
1817
  }
2333
1818
  return r;
2334
1819
  }
2335
- function lr(e, t, n) {
1820
+ function Ne(e, t, n) {
2336
1821
  if (typeof process < "u" && process.env.NODE_ENV === "production") return;
2337
- let r = cr(t, n);
1822
+ let r = z(t, n);
2338
1823
  r.length && console.warn(`[@nxgt/material] i18n resource override for language "${e}": ${r.join(", ")}. App resources take precedence over the base bundle at these keys.`);
2339
1824
  }
2340
- function ur(e, t) {
1825
+ function Pe(e, t) {
2341
1826
  let n = /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)]), r = {};
2342
1827
  for (let i of n) {
2343
1828
  let n = e[i] ?? {}, a = t[i] ?? {};
2344
- lr(i, n, a), r[i] = tr({}, n, a);
1829
+ Ne(i, n, a), r[i] = M({}, n, a);
2345
1830
  }
2346
1831
  return r;
2347
1832
  }
2348
1833
  //#endregion
2349
1834
  //#region node_modules/@formatjs/fast-memoize/index.js
2350
- function dr(e, t) {
2351
- let n = t && t.cache ? t.cache : xr, r = t && t.serializer ? t.serializer : yr;
2352
- return (t && t.strategy ? t.strategy : gr)(e, {
1835
+ function B(e, t) {
1836
+ let n = t && t.cache ? t.cache : Ve, r = t && t.serializer ? t.serializer : ze;
1837
+ return (t && t.strategy ? t.strategy : Ie)(e, {
2353
1838
  cache: n,
2354
1839
  serializer: r
2355
1840
  });
2356
1841
  }
2357
- function fr(e) {
1842
+ function Fe(e) {
2358
1843
  return e == null || typeof e == "number" || typeof e == "boolean";
2359
1844
  }
2360
- function pr(e, t, n, r) {
2361
- let i = fr(r) ? r : n(r), a = t.get(i);
1845
+ function V(e, t, n, r) {
1846
+ let i = Fe(r) ? r : n(r), a = t.get(i);
2362
1847
  return a === void 0 && (a = e.call(this, r), t.set(i, a)), a;
2363
1848
  }
2364
- function mr(e, t, n) {
1849
+ function H(e, t, n) {
2365
1850
  let r = Array.prototype.slice.call(arguments, 3), i = n(r), a = t.get(i);
2366
1851
  return a === void 0 && (a = e.apply(this, r), t.set(i, a)), a;
2367
1852
  }
2368
- function hr(e, t, n, r, i) {
1853
+ function U(e, t, n, r, i) {
2369
1854
  return n.bind(t, e, r, i);
2370
1855
  }
2371
- function gr(e, t) {
2372
- let n = e.length === 1 ? pr : mr;
2373
- return hr(e, this, n, t.cache.create(), t.serializer);
1856
+ function Ie(e, t) {
1857
+ let n = e.length === 1 ? V : H;
1858
+ return U(e, this, n, t.cache.create(), t.serializer);
2374
1859
  }
2375
- function _r(e, t) {
2376
- return hr(e, this, mr, t.cache.create(), t.serializer);
1860
+ function Le(e, t) {
1861
+ return U(e, this, H, t.cache.create(), t.serializer);
2377
1862
  }
2378
- function vr(e, t) {
2379
- return hr(e, this, pr, t.cache.create(), t.serializer);
1863
+ function Re(e, t) {
1864
+ return U(e, this, V, t.cache.create(), t.serializer);
2380
1865
  }
2381
- var yr = function() {
1866
+ var ze = function() {
2382
1867
  return JSON.stringify(arguments);
2383
- }, br = class {
1868
+ }, Be = class {
2384
1869
  constructor() {
2385
1870
  this.cache = Object.create(null);
2386
1871
  }
@@ -2390,15 +1875,15 @@ var yr = function() {
2390
1875
  set(e, t) {
2391
1876
  this.cache[e] = t;
2392
1877
  }
2393
- }, xr = { create: function() {
2394
- return new br();
2395
- } }, Sr = {
2396
- variadic: _r,
2397
- monadic: vr
2398
- }, Cr = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
2399
- function wr(e) {
1878
+ }, Ve = { create: function() {
1879
+ return new Be();
1880
+ } }, W = {
1881
+ variadic: Le,
1882
+ monadic: Re
1883
+ }, He = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1884
+ function Ue(e) {
2400
1885
  let t = {};
2401
- return e.replace(Cr, (e) => {
1886
+ return e.replace(He, (e) => {
2402
1887
  let n = e.length;
2403
1888
  switch (e[0]) {
2404
1889
  case "G":
@@ -2493,10 +1978,10 @@ function wr(e) {
2493
1978
  return "";
2494
1979
  }), t;
2495
1980
  }
2496
- var Tr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
2497
- function Er(e) {
1981
+ var We = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1982
+ function Ge(e) {
2498
1983
  if (e.length === 0) throw Error("Number skeleton cannot be empty");
2499
- let t = e.split(Tr).filter((e) => e.length > 0), n = [];
1984
+ let t = e.split(We).filter((e) => e.length > 0), n = [];
2500
1985
  for (let e of t) {
2501
1986
  let t = e.split("/");
2502
1987
  if (t.length === 0) throw Error("Invalid number skeleton");
@@ -2509,17 +1994,17 @@ function Er(e) {
2509
1994
  }
2510
1995
  return n;
2511
1996
  }
2512
- function Dr(e) {
1997
+ function Ke(e) {
2513
1998
  return e.replace(/^(.*?)-/, "");
2514
1999
  }
2515
- var Or = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kr = /^(@+)?(\+|#+)?[rs]?$/g, Ar = /(\*)(0+)|(#+)(0+)|(0+)/g, jr = /^(0+)$/;
2516
- function Mr(e) {
2000
+ var qe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Je = /^(@+)?(\+|#+)?[rs]?$/g, Ye = /(\*)(0+)|(#+)(0+)|(0+)/g, Xe = /^(0+)$/;
2001
+ function Ze(e) {
2517
2002
  let t = {};
2518
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kr, function(e, n, r) {
2003
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Je, function(e, n, r) {
2519
2004
  return typeof r == "string" ? r === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof r == "string" ? r.length : 0)) : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length), "";
2520
2005
  }), t;
2521
2006
  }
2522
- function Nr(e) {
2007
+ function Qe(e) {
2523
2008
  switch (e) {
2524
2009
  case "sign-auto": return { signDisplay: "auto" };
2525
2010
  case "sign-accounting":
@@ -2542,19 +2027,19 @@ function Nr(e) {
2542
2027
  case "+_": return { signDisplay: "never" };
2543
2028
  }
2544
2029
  }
2545
- function Pr(e) {
2030
+ function $e(e) {
2546
2031
  let t;
2547
2032
  if (e[0] === "E" && e[1] === "E" ? (t = { notation: "engineering" }, e = e.slice(2)) : e[0] === "E" && (t = { notation: "scientific" }, e = e.slice(1)), t) {
2548
2033
  let n = e.slice(0, 2);
2549
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jr.test(e)) throw Error("Malformed concise eng/scientific notation");
2034
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Xe.test(e)) throw Error("Malformed concise eng/scientific notation");
2550
2035
  t.minimumIntegerDigits = e.length;
2551
2036
  }
2552
2037
  return t;
2553
2038
  }
2554
- function Fr(e) {
2555
- return Nr(e) || {};
2039
+ function G(e) {
2040
+ return Qe(e) || {};
2556
2041
  }
2557
- function Ir(e) {
2042
+ function et(e) {
2558
2043
  let t = {};
2559
2044
  for (let n of e) {
2560
2045
  switch (n.stem) {
@@ -2578,7 +2063,7 @@ function Ir(e) {
2578
2063
  continue;
2579
2064
  case "measure-unit":
2580
2065
  case "unit":
2581
- t.style = "unit", t.unit = Dr(n.options[0]);
2066
+ t.style = "unit", t.unit = Ke(n.options[0]);
2582
2067
  continue;
2583
2068
  case "compact-short":
2584
2069
  case "K":
@@ -2594,7 +2079,7 @@ function Ir(e) {
2594
2079
  notation: "scientific",
2595
2080
  ...n.options.reduce((e, t) => ({
2596
2081
  ...e,
2597
- ...Fr(t)
2082
+ ...G(t)
2598
2083
  }), {})
2599
2084
  };
2600
2085
  continue;
@@ -2604,7 +2089,7 @@ function Ir(e) {
2604
2089
  notation: "engineering",
2605
2090
  ...n.options.reduce((e, t) => ({
2606
2091
  ...e,
2607
- ...Fr(t)
2092
+ ...G(t)
2608
2093
  }), {})
2609
2094
  };
2610
2095
  continue;
@@ -2649,7 +2134,7 @@ function Ir(e) {
2649
2134
  continue;
2650
2135
  case "integer-width":
2651
2136
  if (n.options.length > 1) throw RangeError("integer-width stems only accept a single optional option");
2652
- n.options[0].replace(Ar, function(e, n, r, i, a, o) {
2137
+ n.options[0].replace(Ye, function(e, n, r, i, a, o) {
2653
2138
  if (n) t.minimumIntegerDigits = r.length;
2654
2139
  else if (i && a) throw Error("We currently do not support maximum integer digits");
2655
2140
  else if (o) throw Error("We currently do not support exact integer digits");
@@ -2657,13 +2142,13 @@ function Ir(e) {
2657
2142
  });
2658
2143
  continue;
2659
2144
  }
2660
- if (jr.test(n.stem)) {
2145
+ if (Xe.test(n.stem)) {
2661
2146
  t.minimumIntegerDigits = n.stem.length;
2662
2147
  continue;
2663
2148
  }
2664
- if (Or.test(n.stem)) {
2149
+ if (qe.test(n.stem)) {
2665
2150
  if (n.options.length > 1) throw RangeError("Fraction-precision stems only accept a single optional option");
2666
- n.stem.replace(Or, function(e, n, r, i, a, o) {
2151
+ n.stem.replace(qe, function(e, n, r, i, a, o) {
2667
2152
  return r === "*" ? t.minimumFractionDigits = n.length : i && i[0] === "#" ? t.maximumFractionDigits = i.length : a && o ? (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length + o.length) : (t.minimumFractionDigits = n.length, t.maximumFractionDigits = n.length), "";
2668
2153
  });
2669
2154
  let e = n.options[0];
@@ -2672,23 +2157,23 @@ function Ir(e) {
2672
2157
  trailingZeroDisplay: "stripIfInteger"
2673
2158
  } : e && (t = {
2674
2159
  ...t,
2675
- ...Mr(e)
2160
+ ...Ze(e)
2676
2161
  });
2677
2162
  continue;
2678
2163
  }
2679
- if (kr.test(n.stem)) {
2164
+ if (Je.test(n.stem)) {
2680
2165
  t = {
2681
2166
  ...t,
2682
- ...Mr(n.stem)
2167
+ ...Ze(n.stem)
2683
2168
  };
2684
2169
  continue;
2685
2170
  }
2686
- let e = Nr(n.stem);
2171
+ let e = Qe(n.stem);
2687
2172
  e && (t = {
2688
2173
  ...t,
2689
2174
  ...e
2690
2175
  });
2691
- let r = Pr(n.stem);
2176
+ let r = $e(n.stem);
2692
2177
  r && (t = {
2693
2178
  ...t,
2694
2179
  ...r
@@ -2698,43 +2183,43 @@ function Ir(e) {
2698
2183
  }
2699
2184
  //#endregion
2700
2185
  //#region node_modules/@formatjs/icu-messageformat-parser/index.js
2701
- var Lr = /* @__PURE__ */ function(e) {
2186
+ var tt = /* @__PURE__ */ function(e) {
2702
2187
  return e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG", e;
2703
2188
  }({});
2704
- function Rr(e) {
2189
+ function nt(e) {
2705
2190
  return e.type === 0;
2706
2191
  }
2707
- function zr(e) {
2192
+ function rt(e) {
2708
2193
  return e.type === 1;
2709
2194
  }
2710
- function Br(e) {
2195
+ function it(e) {
2711
2196
  return e.type === 2;
2712
2197
  }
2713
- function Vr(e) {
2198
+ function at(e) {
2714
2199
  return e.type === 3;
2715
2200
  }
2716
- function Hr(e) {
2201
+ function ot(e) {
2717
2202
  return e.type === 4;
2718
2203
  }
2719
- function Ur(e) {
2204
+ function st(e) {
2720
2205
  return e.type === 5;
2721
2206
  }
2722
- function Wr(e) {
2207
+ function ct(e) {
2723
2208
  return e.type === 6;
2724
2209
  }
2725
- function Gr(e) {
2210
+ function lt(e) {
2726
2211
  return e.type === 7;
2727
2212
  }
2728
- function Kr(e) {
2213
+ function ut(e) {
2729
2214
  return e.type === 8;
2730
2215
  }
2731
- function qr(e) {
2216
+ function dt(e) {
2732
2217
  return !!(e && typeof e == "object" && e.type === 0);
2733
2218
  }
2734
- function Jr(e) {
2219
+ function K(e) {
2735
2220
  return !!(e && typeof e == "object" && e.type === 1);
2736
2221
  }
2737
- var Yr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, X = {
2222
+ var ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, q = {
2738
2223
  "001": ["H", "h"],
2739
2224
  419: [
2740
2225
  "h",
@@ -3897,21 +3382,21 @@ var Yr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, X = {
3897
3382
  "h"
3898
3383
  ]
3899
3384
  };
3900
- function Xr(e, t) {
3385
+ function pt(e, t) {
3901
3386
  let n = "";
3902
3387
  for (let r = 0; r < e.length; r++) {
3903
3388
  let i = e.charAt(r);
3904
3389
  if (i === "j") {
3905
3390
  let a = 0;
3906
3391
  for (; r + 1 < e.length && e.charAt(r + 1) === i;) a++, r++;
3907
- let o = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), c = Zr(t);
3392
+ let o = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), c = mt(t);
3908
3393
  for ((c == "H" || c == "k") && (s = 0); s-- > 0;) n += "a";
3909
3394
  for (; o-- > 0;) n = c + n;
3910
3395
  } else i === "J" ? n += "H" : n += i;
3911
3396
  }
3912
3397
  return n;
3913
3398
  }
3914
- function Zr(e) {
3399
+ function mt(e) {
3915
3400
  let t = e.hourCycle;
3916
3401
  if (t === void 0 && e.hourCycles && e.hourCycles.length && (t = e.hourCycles[0]), t) switch (t) {
3917
3402
  case "h24": return "k";
@@ -3921,32 +3406,32 @@ function Zr(e) {
3921
3406
  default: throw Error("Invalid hourCycle");
3922
3407
  }
3923
3408
  let n = e.language, r;
3924
- return n !== "root" && (r = e.maximize().region), (X[r || ""] || X[n || ""] || X[`${n}-001`] || X["001"])[0];
3409
+ return n !== "root" && (r = e.maximize().region), (q[r || ""] || q[n || ""] || q[`${n}-001`] || q["001"])[0];
3925
3410
  }
3926
- var Qr = RegExp(`^${Yr.source}*`), $r = RegExp(`${Yr.source}*$`);
3927
- function Z(e, t) {
3411
+ var ht = RegExp(`^${ft.source}*`), gt = RegExp(`${ft.source}*$`);
3412
+ function J(e, t) {
3928
3413
  return {
3929
3414
  start: e,
3930
3415
  end: t
3931
3416
  };
3932
3417
  }
3933
- var ei = !!Object.fromEntries, ti = !!String.prototype.trimStart, ni = !!String.prototype.trimEnd, ri = ei ? Object.fromEntries : function(e) {
3418
+ var _t = !!Object.fromEntries, vt = !!String.prototype.trimStart, yt = !!String.prototype.trimEnd, bt = _t ? Object.fromEntries : function(e) {
3934
3419
  let t = {};
3935
3420
  for (let [n, r] of e) t[n] = r;
3936
3421
  return t;
3937
- }, ii = ti ? function(e) {
3422
+ }, xt = vt ? function(e) {
3938
3423
  return e.trimStart();
3939
3424
  } : function(e) {
3940
- return e.replace(Qr, "");
3941
- }, ai = ni ? function(e) {
3425
+ return e.replace(ht, "");
3426
+ }, St = yt ? function(e) {
3942
3427
  return e.trimEnd();
3943
3428
  } : function(e) {
3944
- return e.replace($r, "");
3945
- }, oi = /* @__PURE__ */ RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3946
- function si(e, t) {
3947
- return oi.lastIndex = t, oi.exec(e)[1] ?? "";
3429
+ return e.replace(gt, "");
3430
+ }, Ct = /* @__PURE__ */ RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3431
+ function wt(e, t) {
3432
+ return Ct.lastIndex = t, Ct.exec(e)[1] ?? "";
3948
3433
  }
3949
- function ci(e) {
3434
+ function Tt(e) {
3950
3435
  if (e.length === 0) return null;
3951
3436
  let t = 1, n = 1;
3952
3437
  for (let r = 0; r < e.length;) {
@@ -3970,7 +3455,7 @@ function ci(e) {
3970
3455
  column: n
3971
3456
  };
3972
3457
  }
3973
- var li = class {
3458
+ var Et = class {
3974
3459
  constructor(e, t = {}) {
3975
3460
  this.message = e, this.position = {
3976
3461
  offset: 0,
@@ -3983,14 +3468,14 @@ var li = class {
3983
3468
  if (this.message.length > 0) {
3984
3469
  let e = this.message.charCodeAt(0);
3985
3470
  if (e !== 35 && e !== 39 && e !== 60 && e !== 123 && e !== 125) {
3986
- let e = ci(this.message);
3471
+ let e = Tt(this.message);
3987
3472
  if (e) {
3988
3473
  let t = this.clonePosition();
3989
3474
  return this.position = e, {
3990
3475
  val: [{
3991
3476
  type: 0,
3992
3477
  value: this.message,
3993
- location: Z(t, this.clonePosition())
3478
+ location: J(t, this.clonePosition())
3994
3479
  }],
3995
3480
  err: null
3996
3481
  };
@@ -4012,12 +3497,12 @@ var li = class {
4012
3497
  let e = this.clonePosition();
4013
3498
  this.bump(), r.push({
4014
3499
  type: 7,
4015
- location: Z(e, this.clonePosition())
3500
+ location: J(e, this.clonePosition())
4016
3501
  });
4017
3502
  } else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
4018
3503
  if (n) break;
4019
- return this.error(26, Z(this.clonePosition(), this.clonePosition()));
4020
- } else if (i === 60 && !this.ignoreTag && ui(this.peek() || 0)) {
3504
+ return this.error(26, J(this.clonePosition(), this.clonePosition()));
3505
+ } else if (i === 60 && !this.ignoreTag && Y(this.peek() || 0)) {
4021
3506
  let n = this.parseTag(e, t);
4022
3507
  if (n.err) return n;
4023
3508
  r.push(n.val);
@@ -4040,7 +3525,7 @@ var li = class {
4040
3525
  val: {
4041
3526
  type: 0,
4042
3527
  value: `<${r}/>`,
4043
- location: Z(n, this.clonePosition())
3528
+ location: J(n, this.clonePosition())
4044
3529
  },
4045
3530
  err: null
4046
3531
  };
@@ -4049,23 +3534,23 @@ var li = class {
4049
3534
  if (i.err) return i;
4050
3535
  let a = i.val, o = this.clonePosition();
4051
3536
  if (this.bumpIf("</")) {
4052
- if (this.isEOF() || !ui(this.char())) return this.error(23, Z(o, this.clonePosition()));
3537
+ if (this.isEOF() || !Y(this.char())) return this.error(23, J(o, this.clonePosition()));
4053
3538
  let e = this.clonePosition();
4054
3539
  return r === this.parseTagName() ? (this.bumpSpace(), this.bumpIf(">") ? {
4055
3540
  val: {
4056
3541
  type: 8,
4057
3542
  value: r,
4058
3543
  children: a,
4059
- location: Z(n, this.clonePosition())
3544
+ location: J(n, this.clonePosition())
4060
3545
  },
4061
3546
  err: null
4062
- } : this.error(23, Z(o, this.clonePosition()))) : this.error(26, Z(e, this.clonePosition()));
4063
- } else return this.error(27, Z(n, this.clonePosition()));
4064
- } else return this.error(23, Z(n, this.clonePosition()));
3547
+ } : this.error(23, J(o, this.clonePosition()))) : this.error(26, J(e, this.clonePosition()));
3548
+ } else return this.error(27, J(n, this.clonePosition()));
3549
+ } else return this.error(23, J(n, this.clonePosition()));
4065
3550
  }
4066
3551
  parseTagName() {
4067
3552
  let e = this.offset();
4068
- for (this.bump(); !this.isEOF() && fi(this.char());) this.bump();
3553
+ for (this.bump(); !this.isEOF() && Ot(this.char());) this.bump();
4069
3554
  return this.message.slice(e, this.offset());
4070
3555
  }
4071
3556
  parseLiteral(e, t) {
@@ -4088,7 +3573,7 @@ var li = class {
4088
3573
  }
4089
3574
  break;
4090
3575
  }
4091
- let i = Z(n, this.clonePosition());
3576
+ let i = J(n, this.clonePosition());
4092
3577
  return {
4093
3578
  val: {
4094
3579
  type: 0,
@@ -4099,7 +3584,7 @@ var li = class {
4099
3584
  };
4100
3585
  }
4101
3586
  tryParseLeftAngleBracket() {
4102
- return !this.isEOF() && this.char() === 60 && (this.ignoreTag || !di(this.peek() || 0)) ? (this.bump(), "<") : null;
3587
+ return !this.isEOF() && this.char() === 60 && (this.ignoreTag || !Dt(this.peek() || 0)) ? (this.bump(), "<") : null;
4103
3588
  }
4104
3589
  tryParseQuote(e) {
4105
3590
  if (this.isEOF() || this.char() !== 39) return null;
@@ -4135,35 +3620,35 @@ var li = class {
4135
3620
  }
4136
3621
  parseArgument(e, t) {
4137
3622
  let n = this.clonePosition();
4138
- if (this.bump(), this.bumpSpace(), this.isEOF()) return this.error(1, Z(n, this.clonePosition()));
4139
- if (this.char() === 125) return this.bump(), this.error(2, Z(n, this.clonePosition()));
3623
+ if (this.bump(), this.bumpSpace(), this.isEOF()) return this.error(1, J(n, this.clonePosition()));
3624
+ if (this.char() === 125) return this.bump(), this.error(2, J(n, this.clonePosition()));
4140
3625
  let r = this.parseIdentifierIfPossible().value;
4141
- if (!r) return this.error(3, Z(n, this.clonePosition()));
4142
- if (this.bumpSpace(), this.isEOF()) return this.error(1, Z(n, this.clonePosition()));
3626
+ if (!r) return this.error(3, J(n, this.clonePosition()));
3627
+ if (this.bumpSpace(), this.isEOF()) return this.error(1, J(n, this.clonePosition()));
4143
3628
  switch (this.char()) {
4144
3629
  case 125: return this.bump(), {
4145
3630
  val: {
4146
3631
  type: 1,
4147
3632
  value: r,
4148
- location: Z(n, this.clonePosition())
3633
+ location: J(n, this.clonePosition())
4149
3634
  },
4150
3635
  err: null
4151
3636
  };
4152
- case 44: return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(1, Z(n, this.clonePosition())) : this.parseArgumentOptions(e, t, r, n);
4153
- default: return this.error(3, Z(n, this.clonePosition()));
3637
+ case 44: return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(1, J(n, this.clonePosition())) : this.parseArgumentOptions(e, t, r, n);
3638
+ default: return this.error(3, J(n, this.clonePosition()));
4154
3639
  }
4155
3640
  }
4156
3641
  parseIdentifierIfPossible() {
4157
- let e = this.clonePosition(), t = this.offset(), n = si(this.message, t), r = t + n.length;
3642
+ let e = this.clonePosition(), t = this.offset(), n = wt(this.message, t), r = t + n.length;
4158
3643
  return this.bumpTo(r), {
4159
3644
  value: n,
4160
- location: Z(e, this.clonePosition())
3645
+ location: J(e, this.clonePosition())
4161
3646
  };
4162
3647
  }
4163
3648
  parseArgumentOptions(e, t, n, r) {
4164
3649
  let i = this.clonePosition(), a = this.parseIdentifierIfPossible().value, o = this.clonePosition();
4165
3650
  switch (a) {
4166
- case "": return this.error(4, Z(i, o));
3651
+ case "": return this.error(4, J(i, o));
4167
3652
  case "number":
4168
3653
  case "date":
4169
3654
  case "time": {
@@ -4173,18 +3658,18 @@ var li = class {
4173
3658
  this.bumpSpace();
4174
3659
  let t = this.clonePosition(), n = this.parseSimpleArgStyleIfPossible();
4175
3660
  if (n.err) return n;
4176
- let r = ai(n.val);
4177
- if (r.length === 0) return this.error(6, Z(this.clonePosition(), this.clonePosition()));
3661
+ let r = St(n.val);
3662
+ if (r.length === 0) return this.error(6, J(this.clonePosition(), this.clonePosition()));
4178
3663
  e = {
4179
3664
  style: r,
4180
- styleLocation: Z(t, this.clonePosition())
3665
+ styleLocation: J(t, this.clonePosition())
4181
3666
  };
4182
3667
  }
4183
3668
  let t = this.tryParseArgumentClose(r);
4184
3669
  if (t.err) return t;
4185
- let i = Z(r, this.clonePosition());
3670
+ let i = J(r, this.clonePosition());
4186
3671
  if (e && e.style.startsWith("::")) {
4187
- let t = ii(e.style.slice(2));
3672
+ let t = xt(e.style.slice(2));
4188
3673
  if (a === "number") {
4189
3674
  let r = this.parseNumberSkeletonFromString(t, e.styleLocation);
4190
3675
  return r.err ? r : {
@@ -4199,12 +3684,12 @@ var li = class {
4199
3684
  } else {
4200
3685
  if (t.length === 0) return this.error(10, i);
4201
3686
  let r = t;
4202
- this.locale && (r = Xr(t, this.locale));
3687
+ this.locale && (r = pt(t, this.locale));
4203
3688
  let o = {
4204
3689
  type: 1,
4205
3690
  pattern: r,
4206
3691
  location: e.styleLocation,
4207
- parsedOptions: this.shouldParseSkeletons ? wr(r) : {}
3692
+ parsedOptions: this.shouldParseSkeletons ? Ue(r) : {}
4208
3693
  };
4209
3694
  return {
4210
3695
  val: {
@@ -4231,11 +3716,11 @@ var li = class {
4231
3716
  case "selectordinal":
4232
3717
  case "select": {
4233
3718
  let i = this.clonePosition();
4234
- if (this.bumpSpace(), !this.bumpIf(",")) return this.error(12, Z(i, { ...i }));
3719
+ if (this.bumpSpace(), !this.bumpIf(",")) return this.error(12, J(i, { ...i }));
4235
3720
  this.bumpSpace();
4236
3721
  let o = this.parseIdentifierIfPossible(), s = 0;
4237
3722
  if (a !== "select" && o.value === "offset") {
4238
- if (!this.bumpIf(":")) return this.error(13, Z(this.clonePosition(), this.clonePosition()));
3723
+ if (!this.bumpIf(":")) return this.error(13, J(this.clonePosition(), this.clonePosition()));
4239
3724
  this.bumpSpace();
4240
3725
  let e = this.tryParseDecimalInteger(13, 14);
4241
3726
  if (e.err) return e;
@@ -4245,12 +3730,12 @@ var li = class {
4245
3730
  if (c.err) return c;
4246
3731
  let l = this.tryParseArgumentClose(r);
4247
3732
  if (l.err) return l;
4248
- let u = Z(r, this.clonePosition());
3733
+ let u = J(r, this.clonePosition());
4249
3734
  return a === "select" ? {
4250
3735
  val: {
4251
3736
  type: 5,
4252
3737
  value: n,
4253
- options: ri(c.val),
3738
+ options: bt(c.val),
4254
3739
  location: u
4255
3740
  },
4256
3741
  err: null
@@ -4258,7 +3743,7 @@ var li = class {
4258
3743
  val: {
4259
3744
  type: 6,
4260
3745
  value: n,
4261
- options: ri(c.val),
3746
+ options: bt(c.val),
4262
3747
  offset: s,
4263
3748
  pluralType: a === "plural" ? "cardinal" : "ordinal",
4264
3749
  location: u
@@ -4266,11 +3751,11 @@ var li = class {
4266
3751
  err: null
4267
3752
  };
4268
3753
  }
4269
- default: return this.error(5, Z(i, o));
3754
+ default: return this.error(5, J(i, o));
4270
3755
  }
4271
3756
  }
4272
3757
  tryParseArgumentClose(e) {
4273
- return this.isEOF() || this.char() !== 125 ? this.error(1, Z(e, this.clonePosition())) : (this.bump(), {
3758
+ return this.isEOF() || this.char() !== 125 ? this.error(1, J(e, this.clonePosition())) : (this.bump(), {
4274
3759
  val: !0,
4275
3760
  err: null
4276
3761
  });
@@ -4281,7 +3766,7 @@ var li = class {
4281
3766
  case 39: {
4282
3767
  this.bump();
4283
3768
  let e = this.clonePosition();
4284
- if (!this.bumpUntil("'")) return this.error(11, Z(e, this.clonePosition()));
3769
+ if (!this.bumpUntil("'")) return this.error(11, J(e, this.clonePosition()));
4285
3770
  this.bump();
4286
3771
  break;
4287
3772
  }
@@ -4305,7 +3790,7 @@ var li = class {
4305
3790
  parseNumberSkeletonFromString(e, t) {
4306
3791
  let n = [];
4307
3792
  try {
4308
- n = Er(e);
3793
+ n = Ge(e);
4309
3794
  } catch {
4310
3795
  return this.error(7, t);
4311
3796
  }
@@ -4314,7 +3799,7 @@ var li = class {
4314
3799
  type: 0,
4315
3800
  tokens: n,
4316
3801
  location: t,
4317
- parsedOptions: this.shouldParseSkeletons ? Ir(n) : {}
3802
+ parsedOptions: this.shouldParseSkeletons ? et(n) : {}
4318
3803
  },
4319
3804
  err: null
4320
3805
  };
@@ -4327,23 +3812,23 @@ var li = class {
4327
3812
  if (t !== "select" && this.bumpIf("=")) {
4328
3813
  let t = this.tryParseDecimalInteger(16, 19);
4329
3814
  if (t.err) return t;
4330
- c = Z(e, this.clonePosition()), s = this.message.slice(e.offset, this.offset());
3815
+ c = J(e, this.clonePosition()), s = this.message.slice(e.offset, this.offset());
4331
3816
  } else break;
4332
3817
  }
4333
3818
  if (o.has(s)) return this.error(t === "select" ? 21 : 20, c);
4334
3819
  s === "other" && (i = !0), this.bumpSpace();
4335
3820
  let r = this.clonePosition();
4336
- if (!this.bumpIf("{")) return this.error(t === "select" ? 17 : 18, Z(this.clonePosition(), this.clonePosition()));
3821
+ if (!this.bumpIf("{")) return this.error(t === "select" ? 17 : 18, J(this.clonePosition(), this.clonePosition()));
4337
3822
  let l = this.parseMessage(e + 1, t, n);
4338
3823
  if (l.err) return l;
4339
3824
  let u = this.tryParseArgumentClose(r);
4340
3825
  if (u.err) return u;
4341
3826
  a.push([s, {
4342
3827
  value: l.val,
4343
- location: Z(r, this.clonePosition())
3828
+ location: J(r, this.clonePosition())
4344
3829
  }]), o.add(s), this.bumpSpace(), {value: s, location: c} = this.parseIdentifierIfPossible();
4345
3830
  }
4346
- return a.length === 0 ? this.error(t === "select" ? 15 : 16, Z(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !i ? this.error(22, Z(this.clonePosition(), this.clonePosition())) : {
3831
+ return a.length === 0 ? this.error(t === "select" ? 15 : 16, J(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !i ? this.error(22, J(this.clonePosition(), this.clonePosition())) : {
4347
3832
  val: a,
4348
3833
  err: null
4349
3834
  };
@@ -4357,7 +3842,7 @@ var li = class {
4357
3842
  if (e >= 48 && e <= 57) i = !0, a = a * 10 + (e - 48), this.bump();
4358
3843
  else break;
4359
3844
  }
4360
- let o = Z(r, this.clonePosition());
3845
+ let o = J(r, this.clonePosition());
4361
3846
  return i ? (a *= n, Number.isSafeInteger(a) ? {
4362
3847
  val: a,
4363
3848
  err: null
@@ -4419,7 +3904,7 @@ var li = class {
4419
3904
  }
4420
3905
  }
4421
3906
  bumpSpace() {
4422
- for (; !this.isEOF() && pi(this.char());) this.bump();
3907
+ for (; !this.isEOF() && kt(this.char());) this.bump();
4423
3908
  }
4424
3909
  peek() {
4425
3910
  if (this.isEOF()) return null;
@@ -4427,83 +3912,83 @@ var li = class {
4427
3912
  return this.message.charCodeAt(t + (e >= 65536 ? 2 : 1)) ?? null;
4428
3913
  }
4429
3914
  };
4430
- function ui(e) {
3915
+ function Y(e) {
4431
3916
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
4432
3917
  }
4433
- function di(e) {
4434
- return ui(e) || e === 47;
3918
+ function Dt(e) {
3919
+ return Y(e) || e === 47;
4435
3920
  }
4436
- function fi(e) {
3921
+ function Ot(e) {
4437
3922
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
4438
3923
  }
4439
- function pi(e) {
3924
+ function kt(e) {
4440
3925
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
4441
3926
  }
4442
- function mi(e) {
3927
+ function X(e) {
4443
3928
  e.forEach((e) => {
4444
- if (delete e.location, Ur(e) || Wr(e)) for (let t in e.options) delete e.options[t].location, mi(e.options[t].value);
4445
- else Br(e) && qr(e.style) || (Vr(e) || Hr(e)) && Jr(e.style) ? delete e.style.location : Kr(e) && mi(e.children);
3929
+ if (delete e.location, st(e) || ct(e)) for (let t in e.options) delete e.options[t].location, X(e.options[t].value);
3930
+ else it(e) && dt(e.style) || (at(e) || ot(e)) && K(e.style) ? delete e.style.location : ut(e) && X(e.children);
4446
3931
  });
4447
3932
  }
4448
- function hi(e, t = {}) {
3933
+ function At(e, t = {}) {
4449
3934
  t = {
4450
3935
  shouldParseSkeletons: !0,
4451
3936
  requiresOtherClause: !0,
4452
3937
  ...t
4453
3938
  };
4454
- let n = new li(e, t).parse();
3939
+ let n = new Et(e, t).parse();
4455
3940
  if (n.err) {
4456
- let e = SyntaxError(Lr[n.err.kind]);
3941
+ let e = SyntaxError(tt[n.err.kind]);
4457
3942
  throw e.location = n.err.location, e.originalMessage = n.err.message, e;
4458
3943
  }
4459
- return t?.captureLocation || mi(n.val), n.val;
3944
+ return t?.captureLocation || X(n.val), n.val;
4460
3945
  }
4461
3946
  //#endregion
4462
3947
  //#region node_modules/intl-messageformat/index.js
4463
- var Q = class extends Error {
3948
+ var Z = class extends Error {
4464
3949
  constructor(e, t, n) {
4465
3950
  super(e), this.code = t, this.originalMessage = n;
4466
3951
  }
4467
3952
  toString() {
4468
3953
  return `[formatjs Error: ${this.code}] ${this.message}`;
4469
3954
  }
4470
- }, gi = class extends Q {
3955
+ }, jt = class extends Z {
4471
3956
  constructor(e, t, n, r) {
4472
3957
  super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(n).join("\", \"")}"`, "INVALID_VALUE", r);
4473
3958
  }
4474
- }, _i = class extends Q {
3959
+ }, Mt = class extends Z {
4475
3960
  constructor(e, t, n) {
4476
3961
  super(`Value for "${e}" must be of type ${t}`, "INVALID_VALUE", n);
4477
3962
  }
4478
- }, vi = class extends Q {
3963
+ }, Nt = class extends Z {
4479
3964
  constructor(e, t) {
4480
3965
  super(`The intl string context variable "${e}" was not provided to the string "${t}"`, "MISSING_VALUE", t);
4481
3966
  }
4482
3967
  };
4483
- function yi(e) {
3968
+ function Pt(e) {
4484
3969
  return e.length < 2 ? e : e.reduce((e, t) => {
4485
3970
  let n = e[e.length - 1];
4486
3971
  return !n || n.type !== 0 || t.type !== 0 ? e.push(t) : n.value += t.value, e;
4487
3972
  }, []);
4488
3973
  }
4489
- function bi(e) {
3974
+ function Ft(e) {
4490
3975
  return typeof e == "function";
4491
3976
  }
4492
- function $(e, t, n, r, i, a, o) {
4493
- if (e.length === 1 && Rr(e[0])) return [{
3977
+ function Q(e, t, n, r, i, a, o) {
3978
+ if (e.length === 1 && nt(e[0])) return [{
4494
3979
  type: 0,
4495
3980
  value: e[0].value
4496
3981
  }];
4497
3982
  let s = [];
4498
3983
  for (let c of e) {
4499
- if (Rr(c)) {
3984
+ if (nt(c)) {
4500
3985
  s.push({
4501
3986
  type: 0,
4502
3987
  value: c.value
4503
3988
  });
4504
3989
  continue;
4505
3990
  }
4506
- if (Gr(c)) {
3991
+ if (lt(c)) {
4507
3992
  typeof a == "number" && s.push({
4508
3993
  type: 0,
4509
3994
  value: n.getNumberFormat(t).format(a)
@@ -4511,33 +3996,33 @@ function $(e, t, n, r, i, a, o) {
4511
3996
  continue;
4512
3997
  }
4513
3998
  let { value: e } = c;
4514
- if (!(i && e in i)) throw new vi(e, o);
3999
+ if (!(i && e in i)) throw new Nt(e, o);
4515
4000
  let l = i[e];
4516
- if (zr(c)) {
4001
+ if (rt(c)) {
4517
4002
  (!l || typeof l == "string" || typeof l == "number" || typeof l == "bigint") && (l = typeof l == "string" || typeof l == "number" || typeof l == "bigint" ? String(l) : ""), s.push({
4518
4003
  type: typeof l == "string" ? 0 : 1,
4519
4004
  value: l
4520
4005
  });
4521
4006
  continue;
4522
4007
  }
4523
- if (Vr(c)) {
4524
- let e = typeof c.style == "string" ? r.date[c.style] : Jr(c.style) ? c.style.parsedOptions : void 0;
4008
+ if (at(c)) {
4009
+ let e = typeof c.style == "string" ? r.date[c.style] : K(c.style) ? c.style.parsedOptions : void 0;
4525
4010
  s.push({
4526
4011
  type: 0,
4527
4012
  value: n.getDateTimeFormat(t, e).format(l)
4528
4013
  });
4529
4014
  continue;
4530
4015
  }
4531
- if (Hr(c)) {
4532
- let e = typeof c.style == "string" ? r.time[c.style] : Jr(c.style) ? c.style.parsedOptions : r.time.medium;
4016
+ if (ot(c)) {
4017
+ let e = typeof c.style == "string" ? r.time[c.style] : K(c.style) ? c.style.parsedOptions : r.time.medium;
4533
4018
  s.push({
4534
4019
  type: 0,
4535
4020
  value: n.getDateTimeFormat(t, e).format(l)
4536
4021
  });
4537
4022
  continue;
4538
4023
  }
4539
- if (Br(c)) {
4540
- let e = typeof c.style == "string" ? r.number[c.style] : qr(c.style) ? c.style.parsedOptions : void 0;
4024
+ if (it(c)) {
4025
+ let e = typeof c.style == "string" ? r.number[c.style] : dt(c.style) ? c.style.parsedOptions : void 0;
4541
4026
  if (e && e.scale) {
4542
4027
  let t = e.scale || 1;
4543
4028
  if (typeof l == "bigint") {
@@ -4551,37 +4036,37 @@ function $(e, t, n, r, i, a, o) {
4551
4036
  });
4552
4037
  continue;
4553
4038
  }
4554
- if (Kr(c)) {
4039
+ if (ut(c)) {
4555
4040
  let { children: e, value: l } = c, u = i[l];
4556
- if (!bi(u)) throw new _i(l, "function", o);
4557
- let d = u($(e, t, n, r, i, a).map((e) => e.value));
4041
+ if (!Ft(u)) throw new Mt(l, "function", o);
4042
+ let d = u(Q(e, t, n, r, i, a).map((e) => e.value));
4558
4043
  Array.isArray(d) || (d = [d]), s.push(...d.map((e) => ({
4559
4044
  type: typeof e == "string" ? 0 : 1,
4560
4045
  value: e
4561
4046
  })));
4562
4047
  }
4563
- if (Ur(c)) {
4048
+ if (st(c)) {
4564
4049
  let e = l, a = (Object.prototype.hasOwnProperty.call(c.options, e) ? c.options[e] : void 0) || c.options.other;
4565
- if (!a) throw new gi(c.value, l, Object.keys(c.options), o);
4566
- s.push(...$(a.value, t, n, r, i));
4050
+ if (!a) throw new jt(c.value, l, Object.keys(c.options), o);
4051
+ s.push(...Q(a.value, t, n, r, i));
4567
4052
  continue;
4568
4053
  }
4569
- if (Wr(c)) {
4054
+ if (ct(c)) {
4570
4055
  let e = `=${l}`, a = Object.prototype.hasOwnProperty.call(c.options, e) ? c.options[e] : void 0;
4571
4056
  if (!a) {
4572
- if (!Intl.PluralRules) throw new Q("Intl.PluralRules is not available in this environment.\nTry polyfilling it using \"@formatjs/intl-pluralrules\"\n", "MISSING_INTL_API", o);
4057
+ if (!Intl.PluralRules) throw new Z("Intl.PluralRules is not available in this environment.\nTry polyfilling it using \"@formatjs/intl-pluralrules\"\n", "MISSING_INTL_API", o);
4573
4058
  let e = typeof l == "bigint" ? Number(l) : l, r = n.getPluralRules(t, { type: c.pluralType }).select(e - (c.offset || 0));
4574
4059
  a = (Object.prototype.hasOwnProperty.call(c.options, r) ? c.options[r] : void 0) || c.options.other;
4575
4060
  }
4576
- if (!a) throw new gi(c.value, l, Object.keys(c.options), o);
4061
+ if (!a) throw new jt(c.value, l, Object.keys(c.options), o);
4577
4062
  let u = typeof l == "bigint" ? Number(l) : l;
4578
- s.push(...$(a.value, t, n, r, i, u - (c.offset || 0)));
4063
+ s.push(...Q(a.value, t, n, r, i, u - (c.offset || 0)));
4579
4064
  continue;
4580
4065
  }
4581
4066
  }
4582
- return yi(s);
4067
+ return Pt(s);
4583
4068
  }
4584
- function xi(e, t) {
4069
+ function It(e, t) {
4585
4070
  return t ? {
4586
4071
  ...e,
4587
4072
  ...t,
@@ -4591,10 +4076,10 @@ function xi(e, t) {
4591
4076
  }, n), {})
4592
4077
  } : e;
4593
4078
  }
4594
- function Si(e, t) {
4595
- return t ? Object.keys(e).reduce((n, r) => (n[r] = xi(e[r], t[r]), n), { ...e }) : e;
4079
+ function Lt(e, t) {
4080
+ return t ? Object.keys(e).reduce((n, r) => (n[r] = It(e[r], t[r]), n), { ...e }) : e;
4596
4081
  }
4597
- function Ci(e) {
4082
+ function $(e) {
4598
4083
  return { create() {
4599
4084
  return {
4600
4085
  get(t) {
@@ -4606,27 +4091,27 @@ function Ci(e) {
4606
4091
  };
4607
4092
  } };
4608
4093
  }
4609
- function wi(e = {
4094
+ function Rt(e = {
4610
4095
  number: {},
4611
4096
  dateTime: {},
4612
4097
  pluralRules: {}
4613
4098
  }) {
4614
4099
  return {
4615
- getNumberFormat: dr((...e) => new Intl.NumberFormat(...e), {
4616
- cache: Ci(e.number),
4617
- strategy: Sr.variadic
4100
+ getNumberFormat: B((...e) => new Intl.NumberFormat(...e), {
4101
+ cache: $(e.number),
4102
+ strategy: W.variadic
4618
4103
  }),
4619
- getDateTimeFormat: dr((...e) => new Intl.DateTimeFormat(...e), {
4620
- cache: Ci(e.dateTime),
4621
- strategy: Sr.variadic
4104
+ getDateTimeFormat: B((...e) => new Intl.DateTimeFormat(...e), {
4105
+ cache: $(e.dateTime),
4106
+ strategy: W.variadic
4622
4107
  }),
4623
- getPluralRules: dr((...e) => new Intl.PluralRules(...e), {
4624
- cache: Ci(e.pluralRules),
4625
- strategy: Sr.variadic
4108
+ getPluralRules: B((...e) => new Intl.PluralRules(...e), {
4109
+ cache: $(e.pluralRules),
4110
+ strategy: W.variadic
4626
4111
  })
4627
4112
  };
4628
4113
  }
4629
- var Ti = class e {
4114
+ var zt = class e {
4630
4115
  constructor(t, n = e.defaultLocale, r, i) {
4631
4116
  if (this.formatterCache = {
4632
4117
  number: {},
@@ -4637,7 +4122,7 @@ var Ti = class e {
4637
4122
  if (t.length === 1) return t[0].value;
4638
4123
  let n = t.reduce((e, t) => (!e.length || t.type !== 0 || typeof e[e.length - 1] != "string" ? e.push(t.value) : e[e.length - 1] += t.value, e), []);
4639
4124
  return n.length <= 1 ? n[0] || "" : n;
4640
- }, this.formatToParts = (e) => $(this.ast, this.locales, this.formatters, this.formats, e, void 0, this.message), this.resolvedOptions = () => ({ locale: this.resolvedLocale?.toString() || Intl.NumberFormat.supportedLocalesOf(this.locales)[0] }), this.getAst = () => this.ast, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
4125
+ }, this.formatToParts = (e) => Q(this.ast, this.locales, this.formatters, this.formats, e, void 0, this.message), this.resolvedOptions = () => ({ locale: this.resolvedLocale?.toString() || Intl.NumberFormat.supportedLocalesOf(this.locales)[0] }), this.getAst = () => this.ast, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
4641
4126
  if (this.message = t, !e.__parse) throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4642
4127
  let { ...n } = i || {};
4643
4128
  this.ast = e.__parse(t, {
@@ -4646,7 +4131,7 @@ var Ti = class e {
4646
4131
  });
4647
4132
  } else this.ast = t;
4648
4133
  if (!Array.isArray(this.ast)) throw TypeError("A message must be provided as a String or AST.");
4649
- this.formats = Si(e.formats, r), this.formatters = i && i.formatters || wi(this.formatterCache);
4134
+ this.formats = Lt(e.formats, r), this.formatters = i && i.formatters || Rt(this.formatterCache);
4650
4135
  }
4651
4136
  static {
4652
4137
  this.memoizedDefaultLocale = null;
@@ -4662,7 +4147,7 @@ var Ti = class e {
4662
4147
  };
4663
4148
  }
4664
4149
  static {
4665
- this.__parse = hi;
4150
+ this.__parse = At;
4666
4151
  }
4667
4152
  static {
4668
4153
  this.formats = {
@@ -4722,50 +4207,50 @@ var Ti = class e {
4722
4207
  };
4723
4208
  //#endregion
4724
4209
  //#region lib/i18n/translator.ts
4725
- function Ei() {
4210
+ function Bt() {
4726
4211
  if (typeof localStorage > "u") return "en";
4727
- let e = localStorage.getItem(J);
4728
- return e && Y.includes(e) ? e : "en";
4212
+ let e = localStorage.getItem(P);
4213
+ return e && F.includes(e) ? e : "en";
4729
4214
  }
4730
- function Di(e = {}, t = Ei) {
4215
+ function Vt(e = {}, t = Bt) {
4731
4216
  return (n, r = void 0, i = t) => {
4732
- let a = typeof i == "function" ? i() : i, o = On(e[a], n) ?? n;
4217
+ let a = typeof i == "function" ? i() : i, o = l(e[a], n) ?? n;
4733
4218
  try {
4734
- o = new Ti(o, a).format(r);
4219
+ o = new zt(o, a).format(r);
4735
4220
  } catch (e) {
4736
4221
  console.error(e);
4737
4222
  }
4738
4223
  return o;
4739
4224
  };
4740
4225
  }
4741
- var Oi = Di(q);
4226
+ var Ht = Vt(N);
4742
4227
  //#endregion
4743
4228
  //#region lib/i18n/use-material-translation.ts
4744
- function ki() {
4745
- let e = sr(), n = e?.language;
4229
+ function Ut() {
4230
+ let e = R(), t = e?.language;
4746
4231
  return {
4747
- t: t((e, t, r) => {
4748
- if (!n) return t;
4749
- let i = Oi(e, r, () => n);
4750
- return i === e ? t : i;
4751
- }, [n]),
4752
- language: n,
4232
+ t: y((e, n, r) => {
4233
+ if (!t) return n;
4234
+ let i = Ht(e, r, () => t);
4235
+ return i === e ? n : i;
4236
+ }, [t]),
4237
+ language: t,
4753
4238
  hasProvider: !!e
4754
4239
  };
4755
4240
  }
4756
4241
  //#endregion
4757
4242
  //#region lib/i18n/use-typed-translation.ts
4758
- function Ai(e) {
4243
+ function Wt(e) {
4759
4244
  return function() {
4760
- let { language: n, changeLanguage: r } = or();
4245
+ let { language: t, changeLanguage: n } = L();
4761
4246
  return {
4762
- t: t((t, r) => e(t, r, () => n), [n]),
4247
+ t: y((n, r) => e(n, r, () => t), [t]),
4763
4248
  i18n: {
4764
- language: n,
4765
- changeLanguage: r
4249
+ language: t,
4250
+ changeLanguage: n
4766
4251
  }
4767
4252
  };
4768
4253
  };
4769
4254
  }
4770
4255
  //#endregion
4771
- export { Qe as A, v as B, L as C, Rt as D, Bt as E, Ae as F, c as G, g as H, S as I, ye as L, E as M, T as N, k as O, w as P, b as R, z as S, Vt as T, h as U, _ as V, l as W, V as _, Oi as a, En as b, or as c, J as d, Y as f, U as g, W as h, Ei as i, D as j, O as k, sr as l, Xn as m, ki as n, ur as o, q as p, Di as r, ar as s, Ai as t, nr as u, On as v, Jt as w, wn as x, Dn as y, y as z };
4256
+ export { de as C, le as E, fe as S, b as T, we as _, Ht as a, C as b, L as c, P as d, F as f, Te as g, Ee as h, Bt as i, R as l, M as m, Ut as n, Pe as o, N as p, Vt as r, Me as s, Wt as t, Ae as u, Ce as v, x as w, S as x, w as y };