@nxgt/material-vue 0.16.0 → 0.19.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 (157) hide show
  1. package/README.md +4 -0
  2. package/dist/_baseIsEqual-Cj6hHjs0.js +226 -0
  3. package/dist/abnfDiagram-O67JEVCF-Cl_I9xuI.js +89 -0
  4. package/dist/arc-DNNg1pxp.js +80 -0
  5. package/dist/architecture-7GRP2DOG-DDr0RGVC.js +3 -0
  6. package/dist/architectureDiagram-NJMV4G6O-CVS4UUCi.js +4146 -0
  7. package/dist/array-CApNbSU9.js +6 -0
  8. package/dist/blockDiagram-BEXU5L5S-B5Z0jbc8.js +1946 -0
  9. package/dist/c4Diagram-YGBWAQC7-B6jKsl3h.js +2990 -0
  10. package/dist/{camera-Cbd1TWFd.js → camera-oxz1xItP.js} +4 -4
  11. package/dist/channel-BA1GJyZ7.js +5 -0
  12. package/dist/chunk-2Q5K7J3B-kzxEEeTu.js +15 -0
  13. package/dist/chunk-3FUC2YCW-CX-v_TQz.js +364 -0
  14. package/dist/chunk-5DYCD2WN-B9vjeX2u.js +37 -0
  15. package/dist/chunk-5VM5RSS4-Cr17nBXp.js +5 -0
  16. package/dist/chunk-6AEJRKK7-D9IaQdwq.js +10 -0
  17. package/dist/chunk-742MDFTN-BIhVe9GR.js +275 -0
  18. package/dist/chunk-7INBJB4K-CwPgdc2G.js +4487 -0
  19. package/dist/chunk-7M6MHVWA-Deh_-m6x.js +4256 -0
  20. package/dist/chunk-7PRAP22T-CofnNOEr.js +67 -0
  21. package/dist/chunk-DUW6YSOI-BdOla2G8.js +10 -0
  22. package/dist/chunk-FOHPRMQF-Crq0JMf2.js +21388 -0
  23. package/dist/chunk-GNY47TPC-rS2K544k.js +75 -0
  24. package/dist/chunk-GTNCS2PH-BR0O70z_.js +490 -0
  25. package/dist/chunk-GWA4HPMP-DU9lUCZD.js +61 -0
  26. package/dist/chunk-J5ZVWO5B-CYzz6Pq8.js +12 -0
  27. package/dist/chunk-JWPE2WC7-Ccb0QaC8.js +8 -0
  28. package/dist/chunk-LNGE3PJU-CiGrDO_F.js +1513 -0
  29. package/dist/chunk-MBY4JIJT-HYVRUG_P.js +1847 -0
  30. package/dist/chunk-NETBCI7D-C8amwD_P.js +236 -0
  31. package/dist/chunk-O7XYJQB3-WMQqqzRb.js +3922 -0
  32. package/dist/chunk-UA2S7LBM-DtBatid7.js +363 -0
  33. package/dist/chunk-WEXAMYUT-Cc10h8ed.js +26 -0
  34. package/dist/chunk-XXDRQBXY-B2pGFcse.js +9 -0
  35. package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
  36. package/dist/chunk-Z7XXMR3K-CJmsOGTV.js +676 -0
  37. package/dist/chunk-ZIGJFQKS-DBdWb0bj.js +1366 -0
  38. package/dist/classDiagram-v2-NBCMYWYE-Caqw5P6A.js +3397 -0
  39. package/dist/{components-DLtnz66n.js → components-IbdMALGv.js} +43465 -18610
  40. package/dist/components.js +5 -5
  41. package/dist/{composables-BJ2GgDD0.js → composables-6zV0t-y7.js} +1 -1
  42. package/dist/composables.js +1 -1
  43. package/dist/cose-bilkent-JH36ORCC-DStMi-eo.js +2251 -0
  44. package/dist/cynefin-OW5HDTMX-B8HVdZhp.js +3 -0
  45. package/dist/cynefinDiagram-VND7K2PF-0Mq0e5NQ.js +349 -0
  46. package/dist/cytoscape.esm-_jXi1N4y.js +18151 -0
  47. package/dist/dagre-6A5THRUB-EHXNn6Wq.js +2192 -0
  48. package/dist/defaultLocale-DnzPsei5.js +201 -0
  49. package/dist/diagram-22UHCM2B-B3RAQlqQ.js +5084 -0
  50. package/dist/diagram-3UASUU5V-BznCZHss.js +525 -0
  51. package/dist/diagram-ATOU4E4O-DtIUxSAn.js +432 -0
  52. package/dist/diagram-CDSNMT55-DOjN3BR2.js +301 -0
  53. package/dist/diagram-MLGK6HIB-Dx2UboD6.js +134 -0
  54. package/dist/diagram-MPIPVDR6-DnPL3RV0.js +214 -0
  55. package/dist/dist-D9zvfe2i.js +59 -0
  56. package/dist/{dnd-Cmcrm28l.js → dnd-CaDeYjQx.js} +1 -1
  57. package/dist/dnd.js +1 -1
  58. package/dist/ebnfDiagram-ZINNZB2B-BNbxCL0b.js +100 -0
  59. package/dist/elk-276RUBZZ-B9WeHolc.js +47597 -0
  60. package/dist/erDiagram-OPXOYQCR-DReZElBu.js +1970 -0
  61. package/dist/eventmodeling-NTZA5JFV-C1CEo-26.js +3 -0
  62. package/dist/flowDiagram-KWPJA3E3-DYss4vEI.js +17 -0
  63. package/dist/ganttDiagram-FUAMR5RP-64EZDDmC.js +3083 -0
  64. package/dist/gitGraph-4MIJSDKK-BTeCS_5q.js +3 -0
  65. package/dist/gitGraphDiagram-X574FWY7-DmMMrp5A.js +729 -0
  66. package/dist/graphlib-CrmIPC4m.js +372 -0
  67. package/dist/{i18n-DmMS3ID3.js → i18n-OBzfa-B7.js} +233 -924
  68. package/dist/i18n.js +2 -2
  69. package/dist/info-A6RAGUB7-BvtuPd9C.js +3 -0
  70. package/dist/infoDiagram-VRGFBTTK-XlBUAu0t.js +20 -0
  71. package/dist/init-MwSGRDIl.js +15 -0
  72. package/dist/isArrayLikeObject-VG1KOJ3m.js +539 -0
  73. package/dist/isEmpty-CMjyBU-a.js +136 -0
  74. package/dist/ishikawaDiagram-OU5B5YK6-C9cMWMPO.js +719 -0
  75. package/dist/journeyDiagram-ZHPQQLJL-DXdfP9BW.js +884 -0
  76. package/dist/kanban-definition-PNTS6WVX-DhOBy3A0.js +976 -0
  77. package/dist/katex-BMQ6LGsM.js +21962 -0
  78. package/dist/lib/components/index.d.ts +4 -0
  79. package/dist/lib/components/ui/chat/chat-composer-mentions.vue.d.ts +13 -0
  80. package/dist/lib/components/ui/chat/chat-composer.vue.d.ts +6 -2
  81. package/dist/lib/components/ui/contacts/consts.d.ts +1 -1
  82. package/dist/lib/components/ui/emoji/emoji-list.vue.d.ts +11 -0
  83. package/dist/lib/components/ui/emoji/emoji-picker.vue.d.ts +12 -0
  84. package/dist/lib/components/ui/emoji/emoji.utils.d.ts +2 -0
  85. package/dist/lib/components/ui/emoji/index.d.ts +4 -0
  86. package/dist/lib/components/ui/emoji/types.d.ts +6 -0
  87. package/dist/lib/components/ui/markdown/index.d.ts +2 -0
  88. package/dist/lib/components/ui/markdown/markdown.utils.d.ts +10 -0
  89. package/dist/lib/components/ui/markdown/markdown.vue.d.ts +10 -0
  90. package/dist/lib/components/ui/markdown/mermaid.lazy.d.ts +12 -0
  91. package/dist/lib/components/ui/markdown/partials/mermaid-diagram.vue.d.ts +7 -0
  92. package/dist/lib/components/ui/mentions/index.d.ts +4 -0
  93. package/dist/lib/components/ui/mentions/mention-list.vue.d.ts +16 -0
  94. package/dist/lib/components/ui/mentions/mentions.utils.d.ts +7 -0
  95. package/dist/lib/components/ui/mentions/types.d.ts +5 -0
  96. package/dist/lib/components/ui/terminal/index.d.ts +3 -0
  97. package/dist/lib/components/ui/terminal/terminal.utils.d.ts +5 -0
  98. package/dist/lib/components/ui/terminal/terminal.vue.d.ts +17 -0
  99. package/dist/lib/i18n/resources/en/index.d.ts +7 -0
  100. package/dist/lib/i18n/resources/en/material.json.d.ts +7 -0
  101. package/dist/lib/i18n/resources/fr/index.d.ts +7 -0
  102. package/dist/lib/i18n/resources/fr/material.json.d.ts +7 -0
  103. package/dist/lib/i18n/resources/index.d.ts +14 -0
  104. package/dist/lib/i18n/translator.d.ts +1 -1
  105. package/dist/lib/nuxt/component-names.d.ts +1 -1
  106. package/dist/lib-B9AHrvmh.js +389 -0
  107. package/dist/lib.js +1 -1
  108. package/dist/line-UP6dkL36.js +34 -0
  109. package/dist/linear-bD_QoED_.js +289 -0
  110. package/dist/main.js +9 -9
  111. package/dist/material-vue.css +1 -1
  112. package/dist/merge-B4IBXGaq.js +170 -0
  113. package/dist/mermaid-parser.core-Cz-MfB4Z.js +638 -0
  114. package/dist/mermaid.core-C_Rtflmc.js +1096 -0
  115. package/dist/mindmap-definition-NLK3R4M7-CO6s2Afv.js +1008 -0
  116. package/dist/ordinal-D_ZgubzR.js +65 -0
  117. package/dist/packet-AYTQ26CC-CshIswP8.js +3 -0
  118. package/dist/path-DGNPZRdx.js +85 -0
  119. package/dist/{pdf-outline-sidebar-BBXJRwdt.js → pdf-outline-sidebar-D5VedBgk.js} +3 -2
  120. package/dist/{pdf-page-DZyTFukn.js → pdf-page-B1Ze518d.js} +1 -1
  121. package/dist/{pdf-page-list-C3GukJ3_.js → pdf-page-list-CBJziavm.js} +3 -2
  122. package/dist/{pdf-reader-Ci4v2Ff9.js → pdf-reader-Cn1uxtJN.js} +13 -13
  123. package/dist/{pdf-sidebar-Dl8fQStG.js → pdf-sidebar-PXfgGlmq.js} +4 -4
  124. package/dist/{pdf-thumbnail-sidebar-GS_V0PGc.js → pdf-thumbnail-sidebar-7agqWsXT.js} +4 -3
  125. package/dist/{pdf-toolbar-D37w-WIK.js → pdf-toolbar-Blm9CFvh.js} +22 -21
  126. package/dist/pegDiagram-GJSIUBJH-gvsGke9W.js +94 -0
  127. package/dist/pie-WAS4IAKB-CYs22y4X.js +3 -0
  128. package/dist/pieDiagram-5QR66LMP-DLBcErnI.js +205 -0
  129. package/dist/quadrantDiagram-O4NWA36T-Bn3CmGxM.js +2001 -0
  130. package/dist/radar-RG4KPBEZ-BOJKjbGv.js +3 -0
  131. package/dist/railroad-74A4TZTK-Dt1BmUkI.js +3 -0
  132. package/dist/railroad-abnf-HS5TGJTU-Cs9GMUMY.js +3 -0
  133. package/dist/railroad-ebnf-LZEXJU2U-D4y0fXoW.js +3 -0
  134. package/dist/railroad-peg-WCYAUIDC-D2f_ZNR5.js +3 -0
  135. package/dist/railroadDiagram-XR7U4H2S-DLeBxWbV.js +76 -0
  136. package/dist/requirementDiagram-PLB6GJNP-JpWB5sEv.js +2228 -0
  137. package/dist/rolldown-runtime-CWhphoD1.js +23 -0
  138. package/dist/rough.esm-rcMoXTJj.js +1352 -0
  139. package/dist/sankeyDiagram-IPEJSGJF-a4rFl5rR.js +970 -0
  140. package/dist/sequenceDiagram-PO4LG4MO-CjUigcL2.js +4200 -0
  141. package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
  142. package/dist/src-CNRY2AUH.js +2142 -0
  143. package/dist/stateDiagram-v2-GCMORJYK-DJkVDIb0.js +2143 -0
  144. package/dist/{stx-player-C0FOaRjU.js → stx-player-rs3uH0iI.js} +17 -17
  145. package/dist/swimlanes-2SLR337P-D7Ff0hLr.js +4763 -0
  146. package/dist/swimlanesDiagram-TC7HE7FX-DZZ9d76C.js +28 -0
  147. package/dist/timeline-definition-EJHVYXUP-C0aHlt9K.js +1073 -0
  148. package/dist/treeView-Q6P3EWNA-BrJylG9N.js +3 -0
  149. package/dist/treemap-WGGIJYW6-DpIZuqbj.js +3 -0
  150. package/dist/usecaseDiagram-POWQR4AR-BrRAt7Wu.js +9932 -0
  151. package/dist/vennDiagram-UO4OBE2U-B22Jhju8.js +1880 -0
  152. package/dist/wardley-WFR3VGLG-CbwdAAbH.js +3 -0
  153. package/dist/wardleyDiagram-VNRHLVJA-Dw4YgRiQ.js +645 -0
  154. package/dist/xychartDiagram-PMCCYNJV-DtuDs9I7.js +2214 -0
  155. package/lib/nuxt/component-names.ts +2 -0
  156. package/package.json +5 -1
  157. package/dist/lib-CT0uRn8S.js +0 -611
@@ -1,7 +1,9 @@
1
- import { defineComponent as e, inject as t, provide as n, reactive as r } from "vue";
1
+ import { a as e } from "./isArrayLikeObject-VG1KOJ3m.js";
2
+ import { t } from "./merge-B4IBXGaq.js";
3
+ import { defineComponent as n, inject as r, provide as i, reactive as a } from "vue";
2
4
  //#endregion
3
5
  //#region lib/i18n/resources/index.ts
4
- var i = {
6
+ var o = {
5
7
  en: { material: {
6
8
  "empty-state": {
7
9
  "not-found": {
@@ -40,6 +42,11 @@ var i = {
40
42
  "scroll-progress": "Scroll progress",
41
43
  "skip-link": "Skip to content",
42
44
  "see-also": "See also",
45
+ emoji: {
46
+ picker: "Emoji",
47
+ pick: "Choose an emoji"
48
+ },
49
+ mentions: { empty: "No matches" },
43
50
  cards: {
44
51
  "per-month": "/ month",
45
52
  total: "Total",
@@ -952,6 +959,11 @@ var i = {
952
959
  "scroll-progress": "Progression du défilement",
953
960
  "skip-link": "Aller au contenu",
954
961
  "see-also": "Voir aussi",
962
+ emoji: {
963
+ picker: "Emoji",
964
+ pick: "Choisir un emoji"
965
+ },
966
+ mentions: { empty: "Aucun résultat" },
955
967
  cards: {
956
968
  "per-month": "/ mois",
957
969
  total: "Total",
@@ -1826,8 +1838,8 @@ var i = {
1826
1838
  required: "requis"
1827
1839
  }
1828
1840
  } }
1829
- }, a = "language", o = "en", s = Object.keys(i), c = Symbol("nxgt-i18n");
1830
- function l(e, t, n) {
1841
+ }, s = "language", c = "en", l = Object.keys(o), u = Symbol("nxgt-i18n");
1842
+ function d(e, t, n) {
1831
1843
  if (typeof localStorage > "u") return t;
1832
1844
  try {
1833
1845
  let r = localStorage.getItem(e);
@@ -1836,32 +1848,32 @@ function l(e, t, n) {
1836
1848
  return t;
1837
1849
  }
1838
1850
  }
1839
- function u(e = {}) {
1840
- let t = e.defaultLanguage ?? "en", i = e.storageKey ?? "language", a = e.supportedLanguages ?? s, o = r({
1841
- language: e.initialLanguage && a.includes(e.initialLanguage) ? e.initialLanguage : l(i, t, a),
1842
- supportedLanguages: a,
1851
+ function f(e = {}) {
1852
+ let t = e.defaultLanguage ?? "en", n = e.storageKey ?? "language", r = e.supportedLanguages ?? l, o = a({
1853
+ language: e.initialLanguage && r.includes(e.initialLanguage) ? e.initialLanguage : d(n, t, r),
1854
+ supportedLanguages: r,
1843
1855
  changeLanguage: (t) => {
1844
- if (!a.includes(t)) {
1856
+ if (!r.includes(t)) {
1845
1857
  console.warn(`[@nxgt/material-vue] Unsupported language: "${t}".`);
1846
1858
  return;
1847
1859
  }
1848
1860
  if (typeof localStorage < "u") try {
1849
- localStorage.setItem(i, t);
1861
+ localStorage.setItem(n, t);
1850
1862
  } catch {}
1851
1863
  o.language = t, e.onLanguageChange?.(t);
1852
1864
  }
1853
1865
  });
1854
- return n(c, o), o;
1866
+ return i(u, o), o;
1855
1867
  }
1856
- function d() {
1857
- let e = t(c, null);
1868
+ function p() {
1869
+ let e = r(u, null);
1858
1870
  if (!e) throw Error("useI18nContext must be used within an I18nProvider");
1859
1871
  return e;
1860
1872
  }
1861
- function f() {
1862
- return t(c, null);
1873
+ function m() {
1874
+ return r(u, null);
1863
1875
  }
1864
- var p = e({
1876
+ var ee = n({
1865
1877
  name: "I18nProvider",
1866
1878
  props: {
1867
1879
  defaultLanguage: String,
@@ -1871,755 +1883,52 @@ var p = e({
1871
1883
  onLanguageChange: Function
1872
1884
  },
1873
1885
  setup(e, { slots: t }) {
1874
- return u(e), () => t.default?.();
1875
- }
1876
- }), m = typeof global == "object" && global && global.Object === Object && global, ee = typeof self == "object" && self && self.Object === Object && self, h = m || ee || Function("return this")(), g = h.Symbol, te = Object.prototype, ne = te.hasOwnProperty, re = te.toString, _ = g ? g.toStringTag : void 0;
1877
- function ie(e) {
1878
- var t = ne.call(e, _), n = e[_];
1879
- try {
1880
- e[_] = void 0;
1881
- var r = !0;
1882
- } catch {}
1883
- var i = re.call(e);
1884
- return r && (t ? e[_] = n : delete e[_]), i;
1885
- }
1886
- //#endregion
1887
- //#region node_modules/lodash-es/_objectToString.js
1888
- var ae = Object.prototype.toString;
1889
- function oe(e) {
1890
- return ae.call(e);
1891
- }
1892
- //#endregion
1893
- //#region node_modules/lodash-es/_baseGetTag.js
1894
- var se = "[object Null]", ce = "[object Undefined]", le = g ? g.toStringTag : void 0;
1895
- function v(e) {
1896
- return e == null ? e === void 0 ? ce : se : le && le in Object(e) ? ie(e) : oe(e);
1897
- }
1898
- //#endregion
1899
- //#region node_modules/lodash-es/isObjectLike.js
1900
- function y(e) {
1901
- return typeof e == "object" && !!e;
1902
- }
1903
- //#endregion
1904
- //#region node_modules/lodash-es/isSymbol.js
1905
- var ue = "[object Symbol]";
1906
- function b(e) {
1907
- return typeof e == "symbol" || y(e) && v(e) == ue;
1908
- }
1909
- //#endregion
1910
- //#region node_modules/lodash-es/_arrayMap.js
1911
- function de(e, t) {
1912
- for (var n = -1, r = e == null ? 0 : e.length, i = Array(r); ++n < r;) i[n] = t(e[n], n, e);
1913
- return i;
1914
- }
1915
- //#endregion
1916
- //#region node_modules/lodash-es/isArray.js
1917
- var x = Array.isArray, fe = Infinity, pe = g ? g.prototype : void 0, me = pe ? pe.toString : void 0;
1918
- function he(e) {
1919
- if (typeof e == "string") return e;
1920
- if (x(e)) return de(e, he) + "";
1921
- if (b(e)) return me ? me.call(e) : "";
1922
- var t = e + "";
1923
- return t == "0" && 1 / e == -fe ? "-0" : t;
1924
- }
1925
- //#endregion
1926
- //#region node_modules/lodash-es/isObject.js
1927
- function S(e) {
1928
- var t = typeof e;
1929
- return e != null && (t == "object" || t == "function");
1930
- }
1931
- //#endregion
1932
- //#region node_modules/lodash-es/identity.js
1933
- function C(e) {
1934
- return e;
1935
- }
1936
- //#endregion
1937
- //#region node_modules/lodash-es/isFunction.js
1938
- var ge = "[object AsyncFunction]", _e = "[object Function]", ve = "[object GeneratorFunction]", ye = "[object Proxy]";
1939
- function w(e) {
1940
- if (!S(e)) return !1;
1941
- var t = v(e);
1942
- return t == _e || t == ve || t == ge || t == ye;
1943
- }
1944
- //#endregion
1945
- //#region node_modules/lodash-es/_coreJsData.js
1946
- var T = h["__core-js_shared__"], be = function() {
1947
- var e = /[^.]+$/.exec(T && T.keys && T.keys.IE_PROTO || "");
1948
- return e ? "Symbol(src)_1." + e : "";
1949
- }();
1950
- function xe(e) {
1951
- return !!be && be in e;
1952
- }
1953
- //#endregion
1954
- //#region node_modules/lodash-es/_toSource.js
1955
- var Se = Function.prototype.toString;
1956
- function Ce(e) {
1957
- if (e != null) {
1958
- try {
1959
- return Se.call(e);
1960
- } catch {}
1961
- try {
1962
- return e + "";
1963
- } catch {}
1886
+ return f(e), () => t.default?.();
1964
1887
  }
1965
- return "";
1966
- }
1967
- //#endregion
1968
- //#region node_modules/lodash-es/_baseIsNative.js
1969
- var we = /[\\^$.*+?()[\]{}|]/g, Te = /^\[object .+?Constructor\]$/, Ee = Function.prototype, De = Object.prototype, Oe = Ee.toString, ke = De.hasOwnProperty, Ae = RegExp("^" + Oe.call(ke).replace(we, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
1970
- function je(e) {
1971
- return !S(e) || xe(e) ? !1 : (w(e) ? Ae : Te).test(Ce(e));
1972
- }
1973
- //#endregion
1974
- //#region node_modules/lodash-es/_getValue.js
1975
- function Me(e, t) {
1976
- return e?.[t];
1977
- }
1978
- //#endregion
1979
- //#region node_modules/lodash-es/_getNative.js
1980
- function E(e, t) {
1981
- var n = Me(e, t);
1982
- return je(n) ? n : void 0;
1983
- }
1984
- //#endregion
1985
- //#region node_modules/lodash-es/_baseCreate.js
1986
- var Ne = Object.create, Pe = function() {
1987
- function e() {}
1988
- return function(t) {
1989
- if (!S(t)) return {};
1990
- if (Ne) return Ne(t);
1991
- e.prototype = t;
1992
- var n = new e();
1993
- return e.prototype = void 0, n;
1994
- };
1995
- }();
1996
- //#endregion
1997
- //#region node_modules/lodash-es/_apply.js
1998
- function Fe(e, t, n) {
1999
- switch (n.length) {
2000
- case 0: return e.call(t);
2001
- case 1: return e.call(t, n[0]);
2002
- case 2: return e.call(t, n[0], n[1]);
2003
- case 3: return e.call(t, n[0], n[1], n[2]);
2004
- }
2005
- return e.apply(t, n);
2006
- }
2007
- //#endregion
2008
- //#region node_modules/lodash-es/_copyArray.js
2009
- function Ie(e, t) {
2010
- var n = -1, r = e.length;
2011
- for (t ||= Array(r); ++n < r;) t[n] = e[n];
2012
- return t;
2013
- }
2014
- //#endregion
2015
- //#region node_modules/lodash-es/_shortOut.js
2016
- var Le = 800, Re = 16, ze = Date.now;
2017
- function Be(e) {
2018
- var t = 0, n = 0;
2019
- return function() {
2020
- var r = ze(), i = Re - (r - n);
2021
- if (n = r, i > 0) {
2022
- if (++t >= Le) return arguments[0];
2023
- } else t = 0;
2024
- return e.apply(void 0, arguments);
2025
- };
2026
- }
2027
- //#endregion
2028
- //#region node_modules/lodash-es/constant.js
2029
- function Ve(e) {
2030
- return function() {
2031
- return e;
2032
- };
2033
- }
2034
- //#endregion
2035
- //#region node_modules/lodash-es/_defineProperty.js
2036
- var D = function() {
2037
- try {
2038
- var e = E(Object, "defineProperty");
2039
- return e({}, "", {}), e;
2040
- } catch {}
2041
- }(), He = Be(D ? function(e, t) {
2042
- return D(e, "toString", {
2043
- configurable: !0,
2044
- enumerable: !1,
2045
- value: Ve(t),
2046
- writable: !0
2047
- });
2048
- } : C), Ue = 9007199254740991, We = /^(?:0|[1-9]\d*)$/;
2049
- function O(e, t) {
2050
- var n = typeof e;
2051
- return t ??= Ue, !!t && (n == "number" || n != "symbol" && We.test(e)) && e > -1 && e % 1 == 0 && e < t;
2052
- }
2053
- //#endregion
2054
- //#region node_modules/lodash-es/_baseAssignValue.js
2055
- function k(e, t, n) {
2056
- t == "__proto__" && D ? D(e, t, {
2057
- configurable: !0,
2058
- enumerable: !0,
2059
- value: n,
2060
- writable: !0
2061
- }) : e[t] = n;
2062
- }
2063
- //#endregion
2064
- //#region node_modules/lodash-es/eq.js
2065
- function A(e, t) {
2066
- return e === t || e !== e && t !== t;
2067
- }
2068
- //#endregion
2069
- //#region node_modules/lodash-es/_assignValue.js
2070
- var Ge = Object.prototype.hasOwnProperty;
2071
- function Ke(e, t, n) {
2072
- var r = e[t];
2073
- (!(Ge.call(e, t) && A(r, n)) || n === void 0 && !(t in e)) && k(e, t, n);
2074
- }
2075
- //#endregion
2076
- //#region node_modules/lodash-es/_copyObject.js
2077
- function qe(e, t, n, r) {
2078
- var i = !n;
2079
- n ||= {};
2080
- for (var a = -1, o = t.length; ++a < o;) {
2081
- var s = t[a], c = r ? r(n[s], e[s], s, n, e) : void 0;
2082
- c === void 0 && (c = e[s]), i ? k(n, s, c) : Ke(n, s, c);
2083
- }
2084
- return n;
2085
- }
2086
- //#endregion
2087
- //#region node_modules/lodash-es/_overRest.js
2088
- var Je = Math.max;
2089
- function Ye(e, t, n) {
2090
- return t = Je(t === void 0 ? e.length - 1 : t, 0), function() {
2091
- for (var r = arguments, i = -1, a = Je(r.length - t, 0), o = Array(a); ++i < a;) o[i] = r[t + i];
2092
- i = -1;
2093
- for (var s = Array(t + 1); ++i < t;) s[i] = r[i];
2094
- return s[t] = n(o), Fe(e, this, s);
2095
- };
2096
- }
2097
- //#endregion
2098
- //#region node_modules/lodash-es/_baseRest.js
2099
- function Xe(e, t) {
2100
- return He(Ye(e, t, C), e + "");
2101
- }
2102
- //#endregion
2103
- //#region node_modules/lodash-es/isLength.js
2104
- var Ze = 9007199254740991;
2105
- function j(e) {
2106
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Ze;
2107
- }
2108
- //#endregion
2109
- //#region node_modules/lodash-es/isArrayLike.js
2110
- function M(e) {
2111
- return e != null && j(e.length) && !w(e);
2112
- }
2113
- //#endregion
2114
- //#region node_modules/lodash-es/_isIterateeCall.js
2115
- function Qe(e, t, n) {
2116
- if (!S(n)) return !1;
2117
- var r = typeof t;
2118
- return (r == "number" ? M(n) && O(t, n.length) : r == "string" && t in n) ? A(n[t], e) : !1;
2119
- }
2120
- //#endregion
2121
- //#region node_modules/lodash-es/_createAssigner.js
2122
- function $e(e) {
2123
- return Xe(function(t, n) {
2124
- var r = -1, i = n.length, a = i > 1 ? n[i - 1] : void 0, o = i > 2 ? n[2] : void 0;
2125
- for (a = e.length > 3 && typeof a == "function" ? (i--, a) : void 0, o && Qe(n[0], n[1], o) && (a = i < 3 ? void 0 : a, i = 1), t = Object(t); ++r < i;) {
2126
- var s = n[r];
2127
- s && e(t, s, r, a);
2128
- }
2129
- return t;
2130
- });
2131
- }
2132
- //#endregion
2133
- //#region node_modules/lodash-es/_isPrototype.js
2134
- var et = Object.prototype;
2135
- function N(e) {
2136
- var t = e && e.constructor;
2137
- return e === (typeof t == "function" && t.prototype || et);
2138
- }
2139
- //#endregion
2140
- //#region node_modules/lodash-es/_baseTimes.js
2141
- function tt(e, t) {
2142
- for (var n = -1, r = Array(e); ++n < e;) r[n] = t(n);
2143
- return r;
2144
- }
2145
- //#endregion
2146
- //#region node_modules/lodash-es/_baseIsArguments.js
2147
- var nt = "[object Arguments]";
2148
- function rt(e) {
2149
- return y(e) && v(e) == nt;
2150
- }
2151
- //#endregion
2152
- //#region node_modules/lodash-es/isArguments.js
2153
- var it = Object.prototype, at = it.hasOwnProperty, ot = it.propertyIsEnumerable, P = rt(function() {
2154
- return arguments;
2155
- }()) ? rt : function(e) {
2156
- return y(e) && at.call(e, "callee") && !ot.call(e, "callee");
2157
- };
2158
- //#endregion
2159
- //#region node_modules/lodash-es/stubFalse.js
2160
- function st() {
2161
- return !1;
2162
- }
2163
- //#endregion
2164
- //#region node_modules/lodash-es/isBuffer.js
2165
- var ct = typeof exports == "object" && exports && !exports.nodeType && exports, lt = ct && typeof module == "object" && module && !module.nodeType && module, ut = lt && lt.exports === ct ? h.Buffer : void 0, dt = (ut ? ut.isBuffer : void 0) || st, ft = "[object Arguments]", pt = "[object Array]", mt = "[object Boolean]", ht = "[object Date]", gt = "[object Error]", _t = "[object Function]", vt = "[object Map]", yt = "[object Number]", bt = "[object Object]", xt = "[object RegExp]", St = "[object Set]", Ct = "[object String]", wt = "[object WeakMap]", Tt = "[object ArrayBuffer]", Et = "[object DataView]", Dt = "[object Float32Array]", Ot = "[object Float64Array]", kt = "[object Int8Array]", At = "[object Int16Array]", jt = "[object Int32Array]", Mt = "[object Uint8Array]", Nt = "[object Uint8ClampedArray]", Pt = "[object Uint16Array]", Ft = "[object Uint32Array]", F = {};
2166
- F[Dt] = F[Ot] = F[kt] = F[At] = F[jt] = F[Mt] = F[Nt] = F[Pt] = F[Ft] = !0, F[ft] = F[pt] = F[Tt] = F[mt] = F[Et] = F[ht] = F[gt] = F[_t] = F[vt] = F[yt] = F[bt] = F[xt] = F[St] = F[Ct] = F[wt] = !1;
2167
- function It(e) {
2168
- return y(e) && j(e.length) && !!F[v(e)];
2169
- }
2170
- //#endregion
2171
- //#region node_modules/lodash-es/_baseUnary.js
2172
- function Lt(e) {
2173
- return function(t) {
2174
- return e(t);
2175
- };
2176
- }
2177
- //#endregion
2178
- //#region node_modules/lodash-es/_nodeUtil.js
2179
- var Rt = typeof exports == "object" && exports && !exports.nodeType && exports, I = Rt && typeof module == "object" && module && !module.nodeType && module, zt = I && I.exports === Rt && m.process, Bt = function() {
2180
- try {
2181
- return I && I.require && I.require("util").types || zt && zt.binding && zt.binding("util");
2182
- } catch {}
2183
- }(), Vt = Bt && Bt.isTypedArray, Ht = Vt ? Lt(Vt) : It, Ut = Object.prototype.hasOwnProperty;
2184
- function Wt(e, t) {
2185
- var n = x(e), r = !n && P(e), i = !n && !r && dt(e), a = !n && !r && !i && Ht(e), o = n || r || i || a, s = o ? tt(e.length, String) : [], c = s.length;
2186
- for (var l in e) (t || Ut.call(e, l)) && !(o && (l == "length" || i && (l == "offset" || l == "parent") || a && (l == "buffer" || l == "byteLength" || l == "byteOffset") || O(l, c))) && s.push(l);
2187
- return s;
2188
- }
2189
- //#endregion
2190
- //#region node_modules/lodash-es/_overArg.js
2191
- function Gt(e, t) {
2192
- return function(n) {
2193
- return e(t(n));
2194
- };
2195
- }
2196
- //#endregion
2197
- //#region node_modules/lodash-es/_nativeKeysIn.js
2198
- function Kt(e) {
2199
- var t = [];
2200
- if (e != null) for (var n in Object(e)) t.push(n);
2201
- return t;
2202
- }
2203
- //#endregion
2204
- //#region node_modules/lodash-es/_baseKeysIn.js
2205
- var qt = Object.prototype.hasOwnProperty;
2206
- function Jt(e) {
2207
- if (!S(e)) return Kt(e);
2208
- var t = N(e), n = [];
2209
- for (var r in e) r == "constructor" && (t || !qt.call(e, r)) || n.push(r);
2210
- return n;
2211
- }
2212
- //#endregion
2213
- //#region node_modules/lodash-es/keysIn.js
2214
- function Yt(e) {
2215
- return M(e) ? Wt(e, !0) : Jt(e);
2216
- }
2217
- //#endregion
2218
- //#region node_modules/lodash-es/_isKey.js
2219
- var Xt = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Zt = /^\w*$/;
2220
- function Qt(e, t) {
2221
- if (x(e)) return !1;
2222
- var n = typeof e;
2223
- return n == "number" || n == "symbol" || n == "boolean" || e == null || b(e) ? !0 : Zt.test(e) || !Xt.test(e) || t != null && e in Object(t);
2224
- }
2225
- //#endregion
2226
- //#region node_modules/lodash-es/_nativeCreate.js
2227
- var L = E(Object, "create");
2228
- //#endregion
2229
- //#region node_modules/lodash-es/_hashClear.js
2230
- function $t() {
2231
- this.__data__ = L ? L(null) : {}, this.size = 0;
2232
- }
2233
- //#endregion
2234
- //#region node_modules/lodash-es/_hashDelete.js
2235
- function en(e) {
2236
- var t = this.has(e) && delete this.__data__[e];
2237
- return this.size -= +!!t, t;
2238
- }
2239
- //#endregion
2240
- //#region node_modules/lodash-es/_hashGet.js
2241
- var tn = "__lodash_hash_undefined__", nn = Object.prototype.hasOwnProperty;
2242
- function rn(e) {
2243
- var t = this.__data__;
2244
- if (L) {
2245
- var n = t[e];
2246
- return n === tn ? void 0 : n;
2247
- }
2248
- return nn.call(t, e) ? t[e] : void 0;
2249
- }
2250
- //#endregion
2251
- //#region node_modules/lodash-es/_hashHas.js
2252
- var an = Object.prototype.hasOwnProperty;
2253
- function on(e) {
2254
- var t = this.__data__;
2255
- return L ? t[e] !== void 0 : an.call(t, e);
2256
- }
2257
- //#endregion
2258
- //#region node_modules/lodash-es/_hashSet.js
2259
- var sn = "__lodash_hash_undefined__";
2260
- function cn(e, t) {
2261
- var n = this.__data__;
2262
- return this.size += +!this.has(e), n[e] = L && t === void 0 ? sn : t, this;
2263
- }
2264
- //#endregion
2265
- //#region node_modules/lodash-es/_Hash.js
2266
- function R(e) {
2267
- var t = -1, n = e == null ? 0 : e.length;
2268
- for (this.clear(); ++t < n;) {
2269
- var r = e[t];
2270
- this.set(r[0], r[1]);
2271
- }
2272
- }
2273
- R.prototype.clear = $t, R.prototype.delete = en, R.prototype.get = rn, R.prototype.has = on, R.prototype.set = cn;
2274
- //#endregion
2275
- //#region node_modules/lodash-es/_listCacheClear.js
2276
- function ln() {
2277
- this.__data__ = [], this.size = 0;
2278
- }
2279
- //#endregion
2280
- //#region node_modules/lodash-es/_assocIndexOf.js
2281
- function z(e, t) {
2282
- for (var n = e.length; n--;) if (A(e[n][0], t)) return n;
2283
- return -1;
2284
- }
2285
- //#endregion
2286
- //#region node_modules/lodash-es/_listCacheDelete.js
2287
- var un = Array.prototype.splice;
2288
- function dn(e) {
2289
- var t = this.__data__, n = z(t, e);
2290
- return n < 0 ? !1 : (n == t.length - 1 ? t.pop() : un.call(t, n, 1), --this.size, !0);
2291
- }
2292
- //#endregion
2293
- //#region node_modules/lodash-es/_listCacheGet.js
2294
- function fn(e) {
2295
- var t = this.__data__, n = z(t, e);
2296
- return n < 0 ? void 0 : t[n][1];
2297
- }
2298
- //#endregion
2299
- //#region node_modules/lodash-es/_listCacheHas.js
2300
- function pn(e) {
2301
- return z(this.__data__, e) > -1;
2302
- }
2303
- //#endregion
2304
- //#region node_modules/lodash-es/_listCacheSet.js
2305
- function mn(e, t) {
2306
- var n = this.__data__, r = z(n, e);
2307
- return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
2308
- }
2309
- //#endregion
2310
- //#region node_modules/lodash-es/_ListCache.js
2311
- function B(e) {
2312
- var t = -1, n = e == null ? 0 : e.length;
2313
- for (this.clear(); ++t < n;) {
2314
- var r = e[t];
2315
- this.set(r[0], r[1]);
2316
- }
2317
- }
2318
- B.prototype.clear = ln, B.prototype.delete = dn, B.prototype.get = fn, B.prototype.has = pn, B.prototype.set = mn;
2319
- //#endregion
2320
- //#region node_modules/lodash-es/_Map.js
2321
- var V = E(h, "Map");
2322
- //#endregion
2323
- //#region node_modules/lodash-es/_mapCacheClear.js
2324
- function hn() {
2325
- this.size = 0, this.__data__ = {
2326
- hash: new R(),
2327
- map: new (V || B)(),
2328
- string: new R()
2329
- };
2330
- }
2331
- //#endregion
2332
- //#region node_modules/lodash-es/_isKeyable.js
2333
- function gn(e) {
2334
- var t = typeof e;
2335
- return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
2336
- }
2337
- //#endregion
2338
- //#region node_modules/lodash-es/_getMapData.js
2339
- function H(e, t) {
2340
- var n = e.__data__;
2341
- return gn(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
2342
- }
2343
- //#endregion
2344
- //#region node_modules/lodash-es/_mapCacheDelete.js
2345
- function _n(e) {
2346
- var t = H(this, e).delete(e);
2347
- return this.size -= +!!t, t;
2348
- }
2349
- //#endregion
2350
- //#region node_modules/lodash-es/_mapCacheGet.js
2351
- function vn(e) {
2352
- return H(this, e).get(e);
2353
- }
2354
- //#endregion
2355
- //#region node_modules/lodash-es/_mapCacheHas.js
2356
- function yn(e) {
2357
- return H(this, e).has(e);
2358
- }
2359
- //#endregion
2360
- //#region node_modules/lodash-es/_mapCacheSet.js
2361
- function bn(e, t) {
2362
- var n = H(this, e), r = n.size;
2363
- return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
2364
- }
2365
- //#endregion
2366
- //#region node_modules/lodash-es/_MapCache.js
2367
- function U(e) {
2368
- var t = -1, n = e == null ? 0 : e.length;
2369
- for (this.clear(); ++t < n;) {
2370
- var r = e[t];
2371
- this.set(r[0], r[1]);
2372
- }
2373
- }
2374
- U.prototype.clear = hn, U.prototype.delete = _n, U.prototype.get = vn, U.prototype.has = yn, U.prototype.set = bn;
2375
- //#endregion
2376
- //#region node_modules/lodash-es/memoize.js
2377
- var xn = "Expected a function";
2378
- function W(e, t) {
2379
- if (typeof e != "function" || t != null && typeof t != "function") throw TypeError(xn);
2380
- var n = function() {
2381
- var r = arguments, i = t ? t.apply(this, r) : r[0], a = n.cache;
2382
- if (a.has(i)) return a.get(i);
2383
- var o = e.apply(this, r);
2384
- return n.cache = a.set(i, o) || a, o;
2385
- };
2386
- return n.cache = new (W.Cache || U)(), n;
2387
- }
2388
- W.Cache = U;
2389
- //#endregion
2390
- //#region node_modules/lodash-es/_memoizeCapped.js
2391
- var Sn = 500;
2392
- function Cn(e) {
2393
- var t = W(e, function(e) {
2394
- return n.size === Sn && n.clear(), e;
2395
- }), n = t.cache;
2396
- return t;
2397
- }
2398
- //#endregion
2399
- //#region node_modules/lodash-es/_stringToPath.js
2400
- var wn = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Tn = /\\(\\)?/g, En = Cn(function(e) {
2401
- var t = [];
2402
- return e.charCodeAt(0) === 46 && t.push(""), e.replace(wn, function(e, n, r, i) {
2403
- t.push(r ? i.replace(Tn, "$1") : n || e);
2404
- }), t;
2405
- });
2406
- //#endregion
2407
- //#region node_modules/lodash-es/toString.js
2408
- function Dn(e) {
2409
- return e == null ? "" : he(e);
2410
- }
2411
- //#endregion
2412
- //#region node_modules/lodash-es/_castPath.js
2413
- function On(e, t) {
2414
- return x(e) ? e : Qt(e, t) ? [e] : En(Dn(e));
2415
- }
2416
- //#endregion
2417
- //#region node_modules/lodash-es/_toKey.js
2418
- var kn = Infinity;
2419
- function An(e) {
2420
- if (typeof e == "string" || b(e)) return e;
2421
- var t = e + "";
2422
- return t == "0" && 1 / e == -kn ? "-0" : t;
2423
- }
2424
- //#endregion
2425
- //#region node_modules/lodash-es/_baseGet.js
2426
- function jn(e, t) {
2427
- t = On(t, e);
2428
- for (var n = 0, r = t.length; e != null && n < r;) e = e[An(t[n++])];
2429
- return n && n == r ? e : void 0;
2430
- }
2431
- //#endregion
2432
- //#region node_modules/lodash-es/get.js
2433
- function Mn(e, t, n) {
2434
- var r = e == null ? void 0 : jn(e, t);
2435
- return r === void 0 ? n : r;
2436
- }
2437
- //#endregion
2438
- //#region node_modules/lodash-es/_getPrototype.js
2439
- var G = Gt(Object.getPrototypeOf, Object), Nn = "[object Object]", Pn = Function.prototype, Fn = Object.prototype, In = Pn.toString, Ln = Fn.hasOwnProperty, Rn = In.call(Object);
2440
- function zn(e) {
2441
- if (!y(e) || v(e) != Nn) return !1;
2442
- var t = G(e);
2443
- if (t === null) return !0;
2444
- var n = Ln.call(t, "constructor") && t.constructor;
2445
- return typeof n == "function" && n instanceof n && In.call(n) == Rn;
2446
- }
2447
- //#endregion
2448
- //#region node_modules/lodash-es/_stackClear.js
2449
- function Bn() {
2450
- this.__data__ = new B(), this.size = 0;
2451
- }
2452
- //#endregion
2453
- //#region node_modules/lodash-es/_stackDelete.js
2454
- function Vn(e) {
2455
- var t = this.__data__, n = t.delete(e);
2456
- return this.size = t.size, n;
2457
- }
2458
- //#endregion
2459
- //#region node_modules/lodash-es/_stackGet.js
2460
- function Hn(e) {
2461
- return this.__data__.get(e);
2462
- }
2463
- //#endregion
2464
- //#region node_modules/lodash-es/_stackHas.js
2465
- function Un(e) {
2466
- return this.__data__.has(e);
2467
- }
2468
- //#endregion
2469
- //#region node_modules/lodash-es/_stackSet.js
2470
- var Wn = 200;
2471
- function Gn(e, t) {
2472
- var n = this.__data__;
2473
- if (n instanceof B) {
2474
- var r = n.__data__;
2475
- if (!V || r.length < Wn - 1) return r.push([e, t]), this.size = ++n.size, this;
2476
- n = this.__data__ = new U(r);
2477
- }
2478
- return n.set(e, t), this.size = n.size, this;
2479
- }
2480
- //#endregion
2481
- //#region node_modules/lodash-es/_Stack.js
2482
- function K(e) {
2483
- var t = this.__data__ = new B(e);
2484
- this.size = t.size;
2485
- }
2486
- K.prototype.clear = Bn, K.prototype.delete = Vn, K.prototype.get = Hn, K.prototype.has = Un, K.prototype.set = Gn;
2487
- //#endregion
2488
- //#region node_modules/lodash-es/_cloneBuffer.js
2489
- var Kn = typeof exports == "object" && exports && !exports.nodeType && exports, qn = Kn && typeof module == "object" && module && !module.nodeType && module, Jn = qn && qn.exports === Kn ? h.Buffer : void 0, Yn = Jn ? Jn.allocUnsafe : void 0;
2490
- function Xn(e, t) {
2491
- if (t) return e.slice();
2492
- var n = e.length, r = Yn ? Yn(n) : new e.constructor(n);
2493
- return e.copy(r), r;
2494
- }
2495
- //#endregion
2496
- //#region node_modules/lodash-es/_Uint8Array.js
2497
- var q = h.Uint8Array;
2498
- //#endregion
2499
- //#region node_modules/lodash-es/_cloneArrayBuffer.js
2500
- function Zn(e) {
2501
- var t = new e.constructor(e.byteLength);
2502
- return new q(t).set(new q(e)), t;
2503
- }
2504
- //#endregion
2505
- //#region node_modules/lodash-es/_cloneTypedArray.js
2506
- function Qn(e, t) {
2507
- var n = t ? Zn(e.buffer) : e.buffer;
2508
- return new e.constructor(n, e.byteOffset, e.length);
2509
- }
2510
- //#endregion
2511
- //#region node_modules/lodash-es/_initCloneObject.js
2512
- function $n(e) {
2513
- return typeof e.constructor == "function" && !N(e) ? Pe(G(e)) : {};
2514
- }
2515
- //#endregion
2516
- //#region node_modules/lodash-es/_createBaseFor.js
2517
- function er(e) {
2518
- return function(t, n, r) {
2519
- for (var i = -1, a = Object(t), o = r(t), s = o.length; s--;) {
2520
- var c = o[e ? s : ++i];
2521
- if (n(a[c], c, a) === !1) break;
2522
- }
2523
- return t;
2524
- };
2525
- }
2526
- //#endregion
2527
- //#region node_modules/lodash-es/_baseFor.js
2528
- var tr = er();
2529
- //#endregion
2530
- //#region node_modules/lodash-es/_assignMergeValue.js
2531
- function J(e, t, n) {
2532
- (n !== void 0 && !A(e[t], n) || n === void 0 && !(t in e)) && k(e, t, n);
2533
- }
2534
- //#endregion
2535
- //#region node_modules/lodash-es/isArrayLikeObject.js
2536
- function nr(e) {
2537
- return y(e) && M(e);
2538
- }
2539
- //#endregion
2540
- //#region node_modules/lodash-es/_safeGet.js
2541
- function Y(e, t) {
2542
- if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__") return e[t];
2543
- }
2544
- //#endregion
2545
- //#region node_modules/lodash-es/toPlainObject.js
2546
- function rr(e) {
2547
- return qe(e, Yt(e));
2548
- }
2549
- //#endregion
2550
- //#region node_modules/lodash-es/_baseMergeDeep.js
2551
- function ir(e, t, n, r, i, a, o) {
2552
- var s = Y(e, n), c = Y(t, n), l = o.get(c);
2553
- if (l) {
2554
- J(e, n, l);
2555
- return;
2556
- }
2557
- var u = a ? a(s, c, n + "", e, t, o) : void 0, d = u === void 0;
2558
- if (d) {
2559
- var f = x(c), p = !f && dt(c), m = !f && !p && Ht(c);
2560
- u = c, f || p || m ? x(s) ? u = s : nr(s) ? u = Ie(s) : p ? (d = !1, u = Xn(c, !0)) : m ? (d = !1, u = Qn(c, !0)) : u = [] : zn(c) || P(c) ? (u = s, P(s) ? u = rr(s) : (!S(s) || w(s)) && (u = $n(c))) : d = !1;
2561
- }
2562
- d && (o.set(c, u), i(u, c, r, a, o), o.delete(c)), J(e, n, u);
2563
- }
2564
- //#endregion
2565
- //#region node_modules/lodash-es/_baseMerge.js
2566
- function ar(e, t, n, r, i) {
2567
- e !== t && tr(t, function(a, o) {
2568
- if (i ||= new K(), S(a)) ir(e, t, o, n, ar, r, i);
2569
- else {
2570
- var s = r ? r(Y(e, o), a, o + "", e, t, i) : void 0;
2571
- s === void 0 && (s = a), J(e, o, s);
2572
- }
2573
- }, Yt);
2574
- }
2575
- //#endregion
2576
- //#region node_modules/lodash-es/merge.js
2577
- var or = $e(function(e, t, n) {
2578
- ar(e, t, n);
2579
1888
  });
2580
1889
  //#endregion
2581
1890
  //#region lib/i18n/merge-resources.ts
2582
- function sr(e, t) {
2583
- let n = /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)]), r = {};
2584
- for (let i of n) r[i] = or({}, e[i] ?? {}, t[i] ?? {});
2585
- return r;
1891
+ function h(e, n) {
1892
+ let r = /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(n)]), i = {};
1893
+ for (let a of r) i[a] = t({}, e[a] ?? {}, n[a] ?? {});
1894
+ return i;
2586
1895
  }
2587
1896
  //#endregion
2588
1897
  //#region node_modules/@formatjs/fast-memoize/index.js
2589
- function cr(e, t) {
2590
- let n = t && t.cache ? t.cache : vr, r = t && t.serializer ? t.serializer : gr;
2591
- return (t && t.strategy ? t.strategy : pr)(e, {
1898
+ function g(e, t) {
1899
+ let n = t && t.cache ? t.cache : se, r = t && t.serializer ? t.serializer : ae;
1900
+ return (t && t.strategy ? t.strategy : ne)(e, {
2592
1901
  cache: n,
2593
1902
  serializer: r
2594
1903
  });
2595
1904
  }
2596
- function lr(e) {
1905
+ function te(e) {
2597
1906
  return e == null || typeof e == "number" || typeof e == "boolean";
2598
1907
  }
2599
- function ur(e, t, n, r) {
2600
- let i = lr(r) ? r : n(r), a = t.get(i);
1908
+ function _(e, t, n, r) {
1909
+ let i = te(r) ? r : n(r), a = t.get(i);
2601
1910
  return a === void 0 && (a = e.call(this, r), t.set(i, a)), a;
2602
1911
  }
2603
- function dr(e, t, n) {
1912
+ function v(e, t, n) {
2604
1913
  let r = Array.prototype.slice.call(arguments, 3), i = n(r), a = t.get(i);
2605
1914
  return a === void 0 && (a = e.apply(this, r), t.set(i, a)), a;
2606
1915
  }
2607
- function fr(e, t, n, r, i) {
1916
+ function y(e, t, n, r, i) {
2608
1917
  return n.bind(t, e, r, i);
2609
1918
  }
2610
- function pr(e, t) {
2611
- let n = e.length === 1 ? ur : dr;
2612
- return fr(e, this, n, t.cache.create(), t.serializer);
1919
+ function ne(e, t) {
1920
+ let n = e.length === 1 ? _ : v;
1921
+ return y(e, this, n, t.cache.create(), t.serializer);
2613
1922
  }
2614
- function mr(e, t) {
2615
- return fr(e, this, dr, t.cache.create(), t.serializer);
1923
+ function re(e, t) {
1924
+ return y(e, this, v, t.cache.create(), t.serializer);
2616
1925
  }
2617
- function hr(e, t) {
2618
- return fr(e, this, ur, t.cache.create(), t.serializer);
1926
+ function ie(e, t) {
1927
+ return y(e, this, _, t.cache.create(), t.serializer);
2619
1928
  }
2620
- var gr = function() {
1929
+ var ae = function() {
2621
1930
  return JSON.stringify(arguments);
2622
- }, _r = class {
1931
+ }, oe = class {
2623
1932
  constructor() {
2624
1933
  this.cache = Object.create(null);
2625
1934
  }
@@ -2629,15 +1938,15 @@ var gr = function() {
2629
1938
  set(e, t) {
2630
1939
  this.cache[e] = t;
2631
1940
  }
2632
- }, vr = { create: function() {
2633
- return new _r();
2634
- } }, yr = {
2635
- variadic: mr,
2636
- monadic: hr
2637
- }, br = /(?:[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;
2638
- function xr(e) {
1941
+ }, se = { create: function() {
1942
+ return new oe();
1943
+ } }, b = {
1944
+ variadic: re,
1945
+ monadic: ie
1946
+ }, ce = /(?:[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;
1947
+ function x(e) {
2639
1948
  let t = {};
2640
- return e.replace(br, (e) => {
1949
+ return e.replace(ce, (e) => {
2641
1950
  let n = e.length;
2642
1951
  switch (e[0]) {
2643
1952
  case "G":
@@ -2732,10 +2041,10 @@ function xr(e) {
2732
2041
  return "";
2733
2042
  }), t;
2734
2043
  }
2735
- var Sr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
2736
- function Cr(e) {
2044
+ var S = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
2045
+ function le(e) {
2737
2046
  if (e.length === 0) throw Error("Number skeleton cannot be empty");
2738
- let t = e.split(Sr).filter((e) => e.length > 0), n = [];
2047
+ let t = e.split(S).filter((e) => e.length > 0), n = [];
2739
2048
  for (let e of t) {
2740
2049
  let t = e.split("/");
2741
2050
  if (t.length === 0) throw Error("Invalid number skeleton");
@@ -2748,17 +2057,17 @@ function Cr(e) {
2748
2057
  }
2749
2058
  return n;
2750
2059
  }
2751
- function wr(e) {
2060
+ function ue(e) {
2752
2061
  return e.replace(/^(.*?)-/, "");
2753
2062
  }
2754
- var Tr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Er = /^(@+)?(\+|#+)?[rs]?$/g, Dr = /(\*)(0+)|(#+)(0+)|(0+)/g, Or = /^(0+)$/;
2755
- function kr(e) {
2063
+ var C = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, w = /^(@+)?(\+|#+)?[rs]?$/g, de = /(\*)(0+)|(#+)(0+)|(0+)/g, T = /^(0+)$/;
2064
+ function E(e) {
2756
2065
  let t = {};
2757
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Er, function(e, n, r) {
2066
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(w, function(e, n, r) {
2758
2067
  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), "";
2759
2068
  }), t;
2760
2069
  }
2761
- function Ar(e) {
2070
+ function D(e) {
2762
2071
  switch (e) {
2763
2072
  case "sign-auto": return { signDisplay: "auto" };
2764
2073
  case "sign-accounting":
@@ -2781,19 +2090,19 @@ function Ar(e) {
2781
2090
  case "+_": return { signDisplay: "never" };
2782
2091
  }
2783
2092
  }
2784
- function jr(e) {
2093
+ function fe(e) {
2785
2094
  let t;
2786
2095
  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) {
2787
2096
  let n = e.slice(0, 2);
2788
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Or.test(e)) throw Error("Malformed concise eng/scientific notation");
2097
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !T.test(e)) throw Error("Malformed concise eng/scientific notation");
2789
2098
  t.minimumIntegerDigits = e.length;
2790
2099
  }
2791
2100
  return t;
2792
2101
  }
2793
- function Mr(e) {
2794
- return Ar(e) || {};
2102
+ function O(e) {
2103
+ return D(e) || {};
2795
2104
  }
2796
- function Nr(e) {
2105
+ function pe(e) {
2797
2106
  let t = {};
2798
2107
  for (let n of e) {
2799
2108
  switch (n.stem) {
@@ -2817,7 +2126,7 @@ function Nr(e) {
2817
2126
  continue;
2818
2127
  case "measure-unit":
2819
2128
  case "unit":
2820
- t.style = "unit", t.unit = wr(n.options[0]);
2129
+ t.style = "unit", t.unit = ue(n.options[0]);
2821
2130
  continue;
2822
2131
  case "compact-short":
2823
2132
  case "K":
@@ -2833,7 +2142,7 @@ function Nr(e) {
2833
2142
  notation: "scientific",
2834
2143
  ...n.options.reduce((e, t) => ({
2835
2144
  ...e,
2836
- ...Mr(t)
2145
+ ...O(t)
2837
2146
  }), {})
2838
2147
  };
2839
2148
  continue;
@@ -2843,7 +2152,7 @@ function Nr(e) {
2843
2152
  notation: "engineering",
2844
2153
  ...n.options.reduce((e, t) => ({
2845
2154
  ...e,
2846
- ...Mr(t)
2155
+ ...O(t)
2847
2156
  }), {})
2848
2157
  };
2849
2158
  continue;
@@ -2888,7 +2197,7 @@ function Nr(e) {
2888
2197
  continue;
2889
2198
  case "integer-width":
2890
2199
  if (n.options.length > 1) throw RangeError("integer-width stems only accept a single optional option");
2891
- n.options[0].replace(Dr, function(e, n, r, i, a, o) {
2200
+ n.options[0].replace(de, function(e, n, r, i, a, o) {
2892
2201
  if (n) t.minimumIntegerDigits = r.length;
2893
2202
  else if (i && a) throw Error("We currently do not support maximum integer digits");
2894
2203
  else if (o) throw Error("We currently do not support exact integer digits");
@@ -2896,13 +2205,13 @@ function Nr(e) {
2896
2205
  });
2897
2206
  continue;
2898
2207
  }
2899
- if (Or.test(n.stem)) {
2208
+ if (T.test(n.stem)) {
2900
2209
  t.minimumIntegerDigits = n.stem.length;
2901
2210
  continue;
2902
2211
  }
2903
- if (Tr.test(n.stem)) {
2212
+ if (C.test(n.stem)) {
2904
2213
  if (n.options.length > 1) throw RangeError("Fraction-precision stems only accept a single optional option");
2905
- n.stem.replace(Tr, function(e, n, r, i, a, o) {
2214
+ n.stem.replace(C, function(e, n, r, i, a, o) {
2906
2215
  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), "";
2907
2216
  });
2908
2217
  let e = n.options[0];
@@ -2911,23 +2220,23 @@ function Nr(e) {
2911
2220
  trailingZeroDisplay: "stripIfInteger"
2912
2221
  } : e && (t = {
2913
2222
  ...t,
2914
- ...kr(e)
2223
+ ...E(e)
2915
2224
  });
2916
2225
  continue;
2917
2226
  }
2918
- if (Er.test(n.stem)) {
2227
+ if (w.test(n.stem)) {
2919
2228
  t = {
2920
2229
  ...t,
2921
- ...kr(n.stem)
2230
+ ...E(n.stem)
2922
2231
  };
2923
2232
  continue;
2924
2233
  }
2925
- let e = Ar(n.stem);
2234
+ let e = D(n.stem);
2926
2235
  e && (t = {
2927
2236
  ...t,
2928
2237
  ...e
2929
2238
  });
2930
- let r = jr(n.stem);
2239
+ let r = fe(n.stem);
2931
2240
  r && (t = {
2932
2241
  ...t,
2933
2242
  ...r
@@ -2937,43 +2246,43 @@ function Nr(e) {
2937
2246
  }
2938
2247
  //#endregion
2939
2248
  //#region node_modules/@formatjs/icu-messageformat-parser/index.js
2940
- var Pr = /* @__PURE__ */ function(e) {
2249
+ var me = /* @__PURE__ */ function(e) {
2941
2250
  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;
2942
2251
  }({});
2943
- function Fr(e) {
2252
+ function k(e) {
2944
2253
  return e.type === 0;
2945
2254
  }
2946
- function Ir(e) {
2255
+ function he(e) {
2947
2256
  return e.type === 1;
2948
2257
  }
2949
- function Lr(e) {
2258
+ function A(e) {
2950
2259
  return e.type === 2;
2951
2260
  }
2952
- function Rr(e) {
2261
+ function j(e) {
2953
2262
  return e.type === 3;
2954
2263
  }
2955
- function zr(e) {
2264
+ function M(e) {
2956
2265
  return e.type === 4;
2957
2266
  }
2958
- function Br(e) {
2267
+ function N(e) {
2959
2268
  return e.type === 5;
2960
2269
  }
2961
- function Vr(e) {
2270
+ function P(e) {
2962
2271
  return e.type === 6;
2963
2272
  }
2964
- function Hr(e) {
2273
+ function F(e) {
2965
2274
  return e.type === 7;
2966
2275
  }
2967
- function Ur(e) {
2276
+ function I(e) {
2968
2277
  return e.type === 8;
2969
2278
  }
2970
- function Wr(e) {
2279
+ function L(e) {
2971
2280
  return !!(e && typeof e == "object" && e.type === 0);
2972
2281
  }
2973
- function Gr(e) {
2282
+ function R(e) {
2974
2283
  return !!(e && typeof e == "object" && e.type === 1);
2975
2284
  }
2976
- var Kr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, X = {
2285
+ var z = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, B = {
2977
2286
  "001": ["H", "h"],
2978
2287
  419: [
2979
2288
  "h",
@@ -4136,21 +3445,21 @@ var Kr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, X = {
4136
3445
  "h"
4137
3446
  ]
4138
3447
  };
4139
- function qr(e, t) {
3448
+ function ge(e, t) {
4140
3449
  let n = "";
4141
3450
  for (let r = 0; r < e.length; r++) {
4142
3451
  let i = e.charAt(r);
4143
3452
  if (i === "j") {
4144
3453
  let a = 0;
4145
3454
  for (; r + 1 < e.length && e.charAt(r + 1) === i;) a++, r++;
4146
- let o = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), c = Jr(t);
3455
+ let o = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), c = _e(t);
4147
3456
  for ((c == "H" || c == "k") && (s = 0); s-- > 0;) n += "a";
4148
3457
  for (; o-- > 0;) n = c + n;
4149
3458
  } else i === "J" ? n += "H" : n += i;
4150
3459
  }
4151
3460
  return n;
4152
3461
  }
4153
- function Jr(e) {
3462
+ function _e(e) {
4154
3463
  let t = e.hourCycle;
4155
3464
  if (t === void 0 && e.hourCycles && e.hourCycles.length && (t = e.hourCycles[0]), t) switch (t) {
4156
3465
  case "h24": return "k";
@@ -4160,32 +3469,32 @@ function Jr(e) {
4160
3469
  default: throw Error("Invalid hourCycle");
4161
3470
  }
4162
3471
  let n = e.language, r;
4163
- return n !== "root" && (r = e.maximize().region), (X[r || ""] || X[n || ""] || X[`${n}-001`] || X["001"])[0];
3472
+ return n !== "root" && (r = e.maximize().region), (B[r || ""] || B[n || ""] || B[`${n}-001`] || B["001"])[0];
4164
3473
  }
4165
- var Yr = RegExp(`^${Kr.source}*`), Xr = RegExp(`${Kr.source}*$`);
4166
- function Z(e, t) {
3474
+ var ve = RegExp(`^${z.source}*`), ye = RegExp(`${z.source}*$`);
3475
+ function V(e, t) {
4167
3476
  return {
4168
3477
  start: e,
4169
3478
  end: t
4170
3479
  };
4171
3480
  }
4172
- var Zr = !!Object.fromEntries, Qr = !!String.prototype.trimStart, $r = !!String.prototype.trimEnd, ei = Zr ? Object.fromEntries : function(e) {
3481
+ var be = !!Object.fromEntries, H = !!String.prototype.trimStart, xe = !!String.prototype.trimEnd, U = be ? Object.fromEntries : function(e) {
4173
3482
  let t = {};
4174
3483
  for (let [n, r] of e) t[n] = r;
4175
3484
  return t;
4176
- }, ti = Qr ? function(e) {
3485
+ }, Se = H ? function(e) {
4177
3486
  return e.trimStart();
4178
3487
  } : function(e) {
4179
- return e.replace(Yr, "");
4180
- }, ni = $r ? function(e) {
3488
+ return e.replace(ve, "");
3489
+ }, Ce = xe ? function(e) {
4181
3490
  return e.trimEnd();
4182
3491
  } : function(e) {
4183
- return e.replace(Xr, "");
4184
- }, ri = /* @__PURE__ */ RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
4185
- function ii(e, t) {
4186
- return ri.lastIndex = t, ri.exec(e)[1] ?? "";
3492
+ return e.replace(ye, "");
3493
+ }, W = /* @__PURE__ */ RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3494
+ function we(e, t) {
3495
+ return W.lastIndex = t, W.exec(e)[1] ?? "";
4187
3496
  }
4188
- function ai(e) {
3497
+ function Te(e) {
4189
3498
  if (e.length === 0) return null;
4190
3499
  let t = 1, n = 1;
4191
3500
  for (let r = 0; r < e.length;) {
@@ -4209,7 +3518,7 @@ function ai(e) {
4209
3518
  column: n
4210
3519
  };
4211
3520
  }
4212
- var oi = class {
3521
+ var Ee = class {
4213
3522
  constructor(e, t = {}) {
4214
3523
  this.message = e, this.position = {
4215
3524
  offset: 0,
@@ -4222,14 +3531,14 @@ var oi = class {
4222
3531
  if (this.message.length > 0) {
4223
3532
  let e = this.message.charCodeAt(0);
4224
3533
  if (e !== 35 && e !== 39 && e !== 60 && e !== 123 && e !== 125) {
4225
- let e = ai(this.message);
3534
+ let e = Te(this.message);
4226
3535
  if (e) {
4227
3536
  let t = this.clonePosition();
4228
3537
  return this.position = e, {
4229
3538
  val: [{
4230
3539
  type: 0,
4231
3540
  value: this.message,
4232
- location: Z(t, this.clonePosition())
3541
+ location: V(t, this.clonePosition())
4233
3542
  }],
4234
3543
  err: null
4235
3544
  };
@@ -4251,12 +3560,12 @@ var oi = class {
4251
3560
  let e = this.clonePosition();
4252
3561
  this.bump(), r.push({
4253
3562
  type: 7,
4254
- location: Z(e, this.clonePosition())
3563
+ location: V(e, this.clonePosition())
4255
3564
  });
4256
3565
  } else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
4257
3566
  if (n) break;
4258
- return this.error(26, Z(this.clonePosition(), this.clonePosition()));
4259
- } else if (i === 60 && !this.ignoreTag && si(this.peek() || 0)) {
3567
+ return this.error(26, V(this.clonePosition(), this.clonePosition()));
3568
+ } else if (i === 60 && !this.ignoreTag && G(this.peek() || 0)) {
4260
3569
  let n = this.parseTag(e, t);
4261
3570
  if (n.err) return n;
4262
3571
  r.push(n.val);
@@ -4279,7 +3588,7 @@ var oi = class {
4279
3588
  val: {
4280
3589
  type: 0,
4281
3590
  value: `<${r}/>`,
4282
- location: Z(n, this.clonePosition())
3591
+ location: V(n, this.clonePosition())
4283
3592
  },
4284
3593
  err: null
4285
3594
  };
@@ -4288,23 +3597,23 @@ var oi = class {
4288
3597
  if (i.err) return i;
4289
3598
  let a = i.val, o = this.clonePosition();
4290
3599
  if (this.bumpIf("</")) {
4291
- if (this.isEOF() || !si(this.char())) return this.error(23, Z(o, this.clonePosition()));
3600
+ if (this.isEOF() || !G(this.char())) return this.error(23, V(o, this.clonePosition()));
4292
3601
  let e = this.clonePosition();
4293
3602
  return r === this.parseTagName() ? (this.bumpSpace(), this.bumpIf(">") ? {
4294
3603
  val: {
4295
3604
  type: 8,
4296
3605
  value: r,
4297
3606
  children: a,
4298
- location: Z(n, this.clonePosition())
3607
+ location: V(n, this.clonePosition())
4299
3608
  },
4300
3609
  err: null
4301
- } : this.error(23, Z(o, this.clonePosition()))) : this.error(26, Z(e, this.clonePosition()));
4302
- } else return this.error(27, Z(n, this.clonePosition()));
4303
- } else return this.error(23, Z(n, this.clonePosition()));
3610
+ } : this.error(23, V(o, this.clonePosition()))) : this.error(26, V(e, this.clonePosition()));
3611
+ } else return this.error(27, V(n, this.clonePosition()));
3612
+ } else return this.error(23, V(n, this.clonePosition()));
4304
3613
  }
4305
3614
  parseTagName() {
4306
3615
  let e = this.offset();
4307
- for (this.bump(); !this.isEOF() && li(this.char());) this.bump();
3616
+ for (this.bump(); !this.isEOF() && Oe(this.char());) this.bump();
4308
3617
  return this.message.slice(e, this.offset());
4309
3618
  }
4310
3619
  parseLiteral(e, t) {
@@ -4327,7 +3636,7 @@ var oi = class {
4327
3636
  }
4328
3637
  break;
4329
3638
  }
4330
- let i = Z(n, this.clonePosition());
3639
+ let i = V(n, this.clonePosition());
4331
3640
  return {
4332
3641
  val: {
4333
3642
  type: 0,
@@ -4338,7 +3647,7 @@ var oi = class {
4338
3647
  };
4339
3648
  }
4340
3649
  tryParseLeftAngleBracket() {
4341
- return !this.isEOF() && this.char() === 60 && (this.ignoreTag || !ci(this.peek() || 0)) ? (this.bump(), "<") : null;
3650
+ return !this.isEOF() && this.char() === 60 && (this.ignoreTag || !De(this.peek() || 0)) ? (this.bump(), "<") : null;
4342
3651
  }
4343
3652
  tryParseQuote(e) {
4344
3653
  if (this.isEOF() || this.char() !== 39) return null;
@@ -4374,35 +3683,35 @@ var oi = class {
4374
3683
  }
4375
3684
  parseArgument(e, t) {
4376
3685
  let n = this.clonePosition();
4377
- if (this.bump(), this.bumpSpace(), this.isEOF()) return this.error(1, Z(n, this.clonePosition()));
4378
- if (this.char() === 125) return this.bump(), this.error(2, Z(n, this.clonePosition()));
3686
+ if (this.bump(), this.bumpSpace(), this.isEOF()) return this.error(1, V(n, this.clonePosition()));
3687
+ if (this.char() === 125) return this.bump(), this.error(2, V(n, this.clonePosition()));
4379
3688
  let r = this.parseIdentifierIfPossible().value;
4380
- if (!r) return this.error(3, Z(n, this.clonePosition()));
4381
- if (this.bumpSpace(), this.isEOF()) return this.error(1, Z(n, this.clonePosition()));
3689
+ if (!r) return this.error(3, V(n, this.clonePosition()));
3690
+ if (this.bumpSpace(), this.isEOF()) return this.error(1, V(n, this.clonePosition()));
4382
3691
  switch (this.char()) {
4383
3692
  case 125: return this.bump(), {
4384
3693
  val: {
4385
3694
  type: 1,
4386
3695
  value: r,
4387
- location: Z(n, this.clonePosition())
3696
+ location: V(n, this.clonePosition())
4388
3697
  },
4389
3698
  err: null
4390
3699
  };
4391
- case 44: return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(1, Z(n, this.clonePosition())) : this.parseArgumentOptions(e, t, r, n);
4392
- default: return this.error(3, Z(n, this.clonePosition()));
3700
+ case 44: return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(1, V(n, this.clonePosition())) : this.parseArgumentOptions(e, t, r, n);
3701
+ default: return this.error(3, V(n, this.clonePosition()));
4393
3702
  }
4394
3703
  }
4395
3704
  parseIdentifierIfPossible() {
4396
- let e = this.clonePosition(), t = this.offset(), n = ii(this.message, t), r = t + n.length;
3705
+ let e = this.clonePosition(), t = this.offset(), n = we(this.message, t), r = t + n.length;
4397
3706
  return this.bumpTo(r), {
4398
3707
  value: n,
4399
- location: Z(e, this.clonePosition())
3708
+ location: V(e, this.clonePosition())
4400
3709
  };
4401
3710
  }
4402
3711
  parseArgumentOptions(e, t, n, r) {
4403
3712
  let i = this.clonePosition(), a = this.parseIdentifierIfPossible().value, o = this.clonePosition();
4404
3713
  switch (a) {
4405
- case "": return this.error(4, Z(i, o));
3714
+ case "": return this.error(4, V(i, o));
4406
3715
  case "number":
4407
3716
  case "date":
4408
3717
  case "time": {
@@ -4412,18 +3721,18 @@ var oi = class {
4412
3721
  this.bumpSpace();
4413
3722
  let t = this.clonePosition(), n = this.parseSimpleArgStyleIfPossible();
4414
3723
  if (n.err) return n;
4415
- let r = ni(n.val);
4416
- if (r.length === 0) return this.error(6, Z(this.clonePosition(), this.clonePosition()));
3724
+ let r = Ce(n.val);
3725
+ if (r.length === 0) return this.error(6, V(this.clonePosition(), this.clonePosition()));
4417
3726
  e = {
4418
3727
  style: r,
4419
- styleLocation: Z(t, this.clonePosition())
3728
+ styleLocation: V(t, this.clonePosition())
4420
3729
  };
4421
3730
  }
4422
3731
  let t = this.tryParseArgumentClose(r);
4423
3732
  if (t.err) return t;
4424
- let i = Z(r, this.clonePosition());
3733
+ let i = V(r, this.clonePosition());
4425
3734
  if (e && e.style.startsWith("::")) {
4426
- let t = ti(e.style.slice(2));
3735
+ let t = Se(e.style.slice(2));
4427
3736
  if (a === "number") {
4428
3737
  let r = this.parseNumberSkeletonFromString(t, e.styleLocation);
4429
3738
  return r.err ? r : {
@@ -4438,12 +3747,12 @@ var oi = class {
4438
3747
  } else {
4439
3748
  if (t.length === 0) return this.error(10, i);
4440
3749
  let r = t;
4441
- this.locale && (r = qr(t, this.locale));
3750
+ this.locale && (r = ge(t, this.locale));
4442
3751
  let o = {
4443
3752
  type: 1,
4444
3753
  pattern: r,
4445
3754
  location: e.styleLocation,
4446
- parsedOptions: this.shouldParseSkeletons ? xr(r) : {}
3755
+ parsedOptions: this.shouldParseSkeletons ? x(r) : {}
4447
3756
  };
4448
3757
  return {
4449
3758
  val: {
@@ -4470,11 +3779,11 @@ var oi = class {
4470
3779
  case "selectordinal":
4471
3780
  case "select": {
4472
3781
  let i = this.clonePosition();
4473
- if (this.bumpSpace(), !this.bumpIf(",")) return this.error(12, Z(i, { ...i }));
3782
+ if (this.bumpSpace(), !this.bumpIf(",")) return this.error(12, V(i, { ...i }));
4474
3783
  this.bumpSpace();
4475
3784
  let o = this.parseIdentifierIfPossible(), s = 0;
4476
3785
  if (a !== "select" && o.value === "offset") {
4477
- if (!this.bumpIf(":")) return this.error(13, Z(this.clonePosition(), this.clonePosition()));
3786
+ if (!this.bumpIf(":")) return this.error(13, V(this.clonePosition(), this.clonePosition()));
4478
3787
  this.bumpSpace();
4479
3788
  let e = this.tryParseDecimalInteger(13, 14);
4480
3789
  if (e.err) return e;
@@ -4484,12 +3793,12 @@ var oi = class {
4484
3793
  if (c.err) return c;
4485
3794
  let l = this.tryParseArgumentClose(r);
4486
3795
  if (l.err) return l;
4487
- let u = Z(r, this.clonePosition());
3796
+ let u = V(r, this.clonePosition());
4488
3797
  return a === "select" ? {
4489
3798
  val: {
4490
3799
  type: 5,
4491
3800
  value: n,
4492
- options: ei(c.val),
3801
+ options: U(c.val),
4493
3802
  location: u
4494
3803
  },
4495
3804
  err: null
@@ -4497,7 +3806,7 @@ var oi = class {
4497
3806
  val: {
4498
3807
  type: 6,
4499
3808
  value: n,
4500
- options: ei(c.val),
3809
+ options: U(c.val),
4501
3810
  offset: s,
4502
3811
  pluralType: a === "plural" ? "cardinal" : "ordinal",
4503
3812
  location: u
@@ -4505,11 +3814,11 @@ var oi = class {
4505
3814
  err: null
4506
3815
  };
4507
3816
  }
4508
- default: return this.error(5, Z(i, o));
3817
+ default: return this.error(5, V(i, o));
4509
3818
  }
4510
3819
  }
4511
3820
  tryParseArgumentClose(e) {
4512
- return this.isEOF() || this.char() !== 125 ? this.error(1, Z(e, this.clonePosition())) : (this.bump(), {
3821
+ return this.isEOF() || this.char() !== 125 ? this.error(1, V(e, this.clonePosition())) : (this.bump(), {
4513
3822
  val: !0,
4514
3823
  err: null
4515
3824
  });
@@ -4520,7 +3829,7 @@ var oi = class {
4520
3829
  case 39: {
4521
3830
  this.bump();
4522
3831
  let e = this.clonePosition();
4523
- if (!this.bumpUntil("'")) return this.error(11, Z(e, this.clonePosition()));
3832
+ if (!this.bumpUntil("'")) return this.error(11, V(e, this.clonePosition()));
4524
3833
  this.bump();
4525
3834
  break;
4526
3835
  }
@@ -4544,7 +3853,7 @@ var oi = class {
4544
3853
  parseNumberSkeletonFromString(e, t) {
4545
3854
  let n = [];
4546
3855
  try {
4547
- n = Cr(e);
3856
+ n = le(e);
4548
3857
  } catch {
4549
3858
  return this.error(7, t);
4550
3859
  }
@@ -4553,7 +3862,7 @@ var oi = class {
4553
3862
  type: 0,
4554
3863
  tokens: n,
4555
3864
  location: t,
4556
- parsedOptions: this.shouldParseSkeletons ? Nr(n) : {}
3865
+ parsedOptions: this.shouldParseSkeletons ? pe(n) : {}
4557
3866
  },
4558
3867
  err: null
4559
3868
  };
@@ -4566,23 +3875,23 @@ var oi = class {
4566
3875
  if (t !== "select" && this.bumpIf("=")) {
4567
3876
  let t = this.tryParseDecimalInteger(16, 19);
4568
3877
  if (t.err) return t;
4569
- c = Z(e, this.clonePosition()), s = this.message.slice(e.offset, this.offset());
3878
+ c = V(e, this.clonePosition()), s = this.message.slice(e.offset, this.offset());
4570
3879
  } else break;
4571
3880
  }
4572
3881
  if (o.has(s)) return this.error(t === "select" ? 21 : 20, c);
4573
3882
  s === "other" && (i = !0), this.bumpSpace();
4574
3883
  let r = this.clonePosition();
4575
- if (!this.bumpIf("{")) return this.error(t === "select" ? 17 : 18, Z(this.clonePosition(), this.clonePosition()));
3884
+ if (!this.bumpIf("{")) return this.error(t === "select" ? 17 : 18, V(this.clonePosition(), this.clonePosition()));
4576
3885
  let l = this.parseMessage(e + 1, t, n);
4577
3886
  if (l.err) return l;
4578
3887
  let u = this.tryParseArgumentClose(r);
4579
3888
  if (u.err) return u;
4580
3889
  a.push([s, {
4581
3890
  value: l.val,
4582
- location: Z(r, this.clonePosition())
3891
+ location: V(r, this.clonePosition())
4583
3892
  }]), o.add(s), this.bumpSpace(), {value: s, location: c} = this.parseIdentifierIfPossible();
4584
3893
  }
4585
- 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())) : {
3894
+ return a.length === 0 ? this.error(t === "select" ? 15 : 16, V(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !i ? this.error(22, V(this.clonePosition(), this.clonePosition())) : {
4586
3895
  val: a,
4587
3896
  err: null
4588
3897
  };
@@ -4596,7 +3905,7 @@ var oi = class {
4596
3905
  if (e >= 48 && e <= 57) i = !0, a = a * 10 + (e - 48), this.bump();
4597
3906
  else break;
4598
3907
  }
4599
- let o = Z(r, this.clonePosition());
3908
+ let o = V(r, this.clonePosition());
4600
3909
  return i ? (a *= n, Number.isSafeInteger(a) ? {
4601
3910
  val: a,
4602
3911
  err: null
@@ -4658,7 +3967,7 @@ var oi = class {
4658
3967
  }
4659
3968
  }
4660
3969
  bumpSpace() {
4661
- for (; !this.isEOF() && ui(this.char());) this.bump();
3970
+ for (; !this.isEOF() && ke(this.char());) this.bump();
4662
3971
  }
4663
3972
  peek() {
4664
3973
  if (this.isEOF()) return null;
@@ -4666,83 +3975,83 @@ var oi = class {
4666
3975
  return this.message.charCodeAt(t + (e >= 65536 ? 2 : 1)) ?? null;
4667
3976
  }
4668
3977
  };
4669
- function si(e) {
3978
+ function G(e) {
4670
3979
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
4671
3980
  }
4672
- function ci(e) {
4673
- return si(e) || e === 47;
3981
+ function De(e) {
3982
+ return G(e) || e === 47;
4674
3983
  }
4675
- function li(e) {
3984
+ function Oe(e) {
4676
3985
  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;
4677
3986
  }
4678
- function ui(e) {
3987
+ function ke(e) {
4679
3988
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
4680
3989
  }
4681
- function di(e) {
3990
+ function K(e) {
4682
3991
  e.forEach((e) => {
4683
- if (delete e.location, Br(e) || Vr(e)) for (let t in e.options) delete e.options[t].location, di(e.options[t].value);
4684
- else Lr(e) && Wr(e.style) || (Rr(e) || zr(e)) && Gr(e.style) ? delete e.style.location : Ur(e) && di(e.children);
3992
+ if (delete e.location, N(e) || P(e)) for (let t in e.options) delete e.options[t].location, K(e.options[t].value);
3993
+ else A(e) && L(e.style) || (j(e) || M(e)) && R(e.style) ? delete e.style.location : I(e) && K(e.children);
4685
3994
  });
4686
3995
  }
4687
- function fi(e, t = {}) {
3996
+ function Ae(e, t = {}) {
4688
3997
  t = {
4689
3998
  shouldParseSkeletons: !0,
4690
3999
  requiresOtherClause: !0,
4691
4000
  ...t
4692
4001
  };
4693
- let n = new oi(e, t).parse();
4002
+ let n = new Ee(e, t).parse();
4694
4003
  if (n.err) {
4695
- let e = SyntaxError(Pr[n.err.kind]);
4004
+ let e = SyntaxError(me[n.err.kind]);
4696
4005
  throw e.location = n.err.location, e.originalMessage = n.err.message, e;
4697
4006
  }
4698
- return t?.captureLocation || di(n.val), n.val;
4007
+ return t?.captureLocation || K(n.val), n.val;
4699
4008
  }
4700
4009
  //#endregion
4701
4010
  //#region node_modules/intl-messageformat/index.js
4702
- var Q = class extends Error {
4011
+ var q = class extends Error {
4703
4012
  constructor(e, t, n) {
4704
4013
  super(e), this.code = t, this.originalMessage = n;
4705
4014
  }
4706
4015
  toString() {
4707
4016
  return `[formatjs Error: ${this.code}] ${this.message}`;
4708
4017
  }
4709
- }, pi = class extends Q {
4018
+ }, J = class extends q {
4710
4019
  constructor(e, t, n, r) {
4711
4020
  super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(n).join("\", \"")}"`, "INVALID_VALUE", r);
4712
4021
  }
4713
- }, mi = class extends Q {
4022
+ }, je = class extends q {
4714
4023
  constructor(e, t, n) {
4715
4024
  super(`Value for "${e}" must be of type ${t}`, "INVALID_VALUE", n);
4716
4025
  }
4717
- }, hi = class extends Q {
4026
+ }, Me = class extends q {
4718
4027
  constructor(e, t) {
4719
4028
  super(`The intl string context variable "${e}" was not provided to the string "${t}"`, "MISSING_VALUE", t);
4720
4029
  }
4721
4030
  };
4722
- function gi(e) {
4031
+ function Ne(e) {
4723
4032
  return e.length < 2 ? e : e.reduce((e, t) => {
4724
4033
  let n = e[e.length - 1];
4725
4034
  return !n || n.type !== 0 || t.type !== 0 ? e.push(t) : n.value += t.value, e;
4726
4035
  }, []);
4727
4036
  }
4728
- function _i(e) {
4037
+ function Pe(e) {
4729
4038
  return typeof e == "function";
4730
4039
  }
4731
- function $(e, t, n, r, i, a, o) {
4732
- if (e.length === 1 && Fr(e[0])) return [{
4040
+ function Y(e, t, n, r, i, a, o) {
4041
+ if (e.length === 1 && k(e[0])) return [{
4733
4042
  type: 0,
4734
4043
  value: e[0].value
4735
4044
  }];
4736
4045
  let s = [];
4737
4046
  for (let c of e) {
4738
- if (Fr(c)) {
4047
+ if (k(c)) {
4739
4048
  s.push({
4740
4049
  type: 0,
4741
4050
  value: c.value
4742
4051
  });
4743
4052
  continue;
4744
4053
  }
4745
- if (Hr(c)) {
4054
+ if (F(c)) {
4746
4055
  typeof a == "number" && s.push({
4747
4056
  type: 0,
4748
4057
  value: n.getNumberFormat(t).format(a)
@@ -4750,33 +4059,33 @@ function $(e, t, n, r, i, a, o) {
4750
4059
  continue;
4751
4060
  }
4752
4061
  let { value: e } = c;
4753
- if (!(i && e in i)) throw new hi(e, o);
4062
+ if (!(i && e in i)) throw new Me(e, o);
4754
4063
  let l = i[e];
4755
- if (Ir(c)) {
4064
+ if (he(c)) {
4756
4065
  (!l || typeof l == "string" || typeof l == "number" || typeof l == "bigint") && (l = typeof l == "string" || typeof l == "number" || typeof l == "bigint" ? String(l) : ""), s.push({
4757
4066
  type: typeof l == "string" ? 0 : 1,
4758
4067
  value: l
4759
4068
  });
4760
4069
  continue;
4761
4070
  }
4762
- if (Rr(c)) {
4763
- let e = typeof c.style == "string" ? r.date[c.style] : Gr(c.style) ? c.style.parsedOptions : void 0;
4071
+ if (j(c)) {
4072
+ let e = typeof c.style == "string" ? r.date[c.style] : R(c.style) ? c.style.parsedOptions : void 0;
4764
4073
  s.push({
4765
4074
  type: 0,
4766
4075
  value: n.getDateTimeFormat(t, e).format(l)
4767
4076
  });
4768
4077
  continue;
4769
4078
  }
4770
- if (zr(c)) {
4771
- let e = typeof c.style == "string" ? r.time[c.style] : Gr(c.style) ? c.style.parsedOptions : r.time.medium;
4079
+ if (M(c)) {
4080
+ let e = typeof c.style == "string" ? r.time[c.style] : R(c.style) ? c.style.parsedOptions : r.time.medium;
4772
4081
  s.push({
4773
4082
  type: 0,
4774
4083
  value: n.getDateTimeFormat(t, e).format(l)
4775
4084
  });
4776
4085
  continue;
4777
4086
  }
4778
- if (Lr(c)) {
4779
- let e = typeof c.style == "string" ? r.number[c.style] : Wr(c.style) ? c.style.parsedOptions : void 0;
4087
+ if (A(c)) {
4088
+ let e = typeof c.style == "string" ? r.number[c.style] : L(c.style) ? c.style.parsedOptions : void 0;
4780
4089
  if (e && e.scale) {
4781
4090
  let t = e.scale || 1;
4782
4091
  if (typeof l == "bigint") {
@@ -4790,37 +4099,37 @@ function $(e, t, n, r, i, a, o) {
4790
4099
  });
4791
4100
  continue;
4792
4101
  }
4793
- if (Ur(c)) {
4102
+ if (I(c)) {
4794
4103
  let { children: e, value: l } = c, u = i[l];
4795
- if (!_i(u)) throw new mi(l, "function", o);
4796
- let d = u($(e, t, n, r, i, a).map((e) => e.value));
4104
+ if (!Pe(u)) throw new je(l, "function", o);
4105
+ let d = u(Y(e, t, n, r, i, a).map((e) => e.value));
4797
4106
  Array.isArray(d) || (d = [d]), s.push(...d.map((e) => ({
4798
4107
  type: typeof e == "string" ? 0 : 1,
4799
4108
  value: e
4800
4109
  })));
4801
4110
  }
4802
- if (Br(c)) {
4111
+ if (N(c)) {
4803
4112
  let e = l, a = (Object.prototype.hasOwnProperty.call(c.options, e) ? c.options[e] : void 0) || c.options.other;
4804
- if (!a) throw new pi(c.value, l, Object.keys(c.options), o);
4805
- s.push(...$(a.value, t, n, r, i));
4113
+ if (!a) throw new J(c.value, l, Object.keys(c.options), o);
4114
+ s.push(...Y(a.value, t, n, r, i));
4806
4115
  continue;
4807
4116
  }
4808
- if (Vr(c)) {
4117
+ if (P(c)) {
4809
4118
  let e = `=${l}`, a = Object.prototype.hasOwnProperty.call(c.options, e) ? c.options[e] : void 0;
4810
4119
  if (!a) {
4811
- 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);
4120
+ 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);
4812
4121
  let e = typeof l == "bigint" ? Number(l) : l, r = n.getPluralRules(t, { type: c.pluralType }).select(e - (c.offset || 0));
4813
4122
  a = (Object.prototype.hasOwnProperty.call(c.options, r) ? c.options[r] : void 0) || c.options.other;
4814
4123
  }
4815
- if (!a) throw new pi(c.value, l, Object.keys(c.options), o);
4124
+ if (!a) throw new J(c.value, l, Object.keys(c.options), o);
4816
4125
  let u = typeof l == "bigint" ? Number(l) : l;
4817
- s.push(...$(a.value, t, n, r, i, u - (c.offset || 0)));
4126
+ s.push(...Y(a.value, t, n, r, i, u - (c.offset || 0)));
4818
4127
  continue;
4819
4128
  }
4820
4129
  }
4821
- return gi(s);
4130
+ return Ne(s);
4822
4131
  }
4823
- function vi(e, t) {
4132
+ function Fe(e, t) {
4824
4133
  return t ? {
4825
4134
  ...e,
4826
4135
  ...t,
@@ -4830,10 +4139,10 @@ function vi(e, t) {
4830
4139
  }, n), {})
4831
4140
  } : e;
4832
4141
  }
4833
- function yi(e, t) {
4834
- return t ? Object.keys(e).reduce((n, r) => (n[r] = vi(e[r], t[r]), n), { ...e }) : e;
4142
+ function Ie(e, t) {
4143
+ return t ? Object.keys(e).reduce((n, r) => (n[r] = Fe(e[r], t[r]), n), { ...e }) : e;
4835
4144
  }
4836
- function bi(e) {
4145
+ function X(e) {
4837
4146
  return { create() {
4838
4147
  return {
4839
4148
  get(t) {
@@ -4845,27 +4154,27 @@ function bi(e) {
4845
4154
  };
4846
4155
  } };
4847
4156
  }
4848
- function xi(e = {
4157
+ function Le(e = {
4849
4158
  number: {},
4850
4159
  dateTime: {},
4851
4160
  pluralRules: {}
4852
4161
  }) {
4853
4162
  return {
4854
- getNumberFormat: cr((...e) => new Intl.NumberFormat(...e), {
4855
- cache: bi(e.number),
4856
- strategy: yr.variadic
4163
+ getNumberFormat: g((...e) => new Intl.NumberFormat(...e), {
4164
+ cache: X(e.number),
4165
+ strategy: b.variadic
4857
4166
  }),
4858
- getDateTimeFormat: cr((...e) => new Intl.DateTimeFormat(...e), {
4859
- cache: bi(e.dateTime),
4860
- strategy: yr.variadic
4167
+ getDateTimeFormat: g((...e) => new Intl.DateTimeFormat(...e), {
4168
+ cache: X(e.dateTime),
4169
+ strategy: b.variadic
4861
4170
  }),
4862
- getPluralRules: cr((...e) => new Intl.PluralRules(...e), {
4863
- cache: bi(e.pluralRules),
4864
- strategy: yr.variadic
4171
+ getPluralRules: g((...e) => new Intl.PluralRules(...e), {
4172
+ cache: X(e.pluralRules),
4173
+ strategy: b.variadic
4865
4174
  })
4866
4175
  };
4867
4176
  }
4868
- var Si = class e {
4177
+ var Re = class e {
4869
4178
  constructor(t, n = e.defaultLocale, r, i) {
4870
4179
  if (this.formatterCache = {
4871
4180
  number: {},
@@ -4876,7 +4185,7 @@ var Si = class e {
4876
4185
  if (t.length === 1) return t[0].value;
4877
4186
  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), []);
4878
4187
  return n.length <= 1 ? n[0] || "" : n;
4879
- }, 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") {
4188
+ }, this.formatToParts = (e) => Y(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") {
4880
4189
  if (this.message = t, !e.__parse) throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4881
4190
  let { ...n } = i || {};
4882
4191
  this.ast = e.__parse(t, {
@@ -4885,7 +4194,7 @@ var Si = class e {
4885
4194
  });
4886
4195
  } else this.ast = t;
4887
4196
  if (!Array.isArray(this.ast)) throw TypeError("A message must be provided as a String or AST.");
4888
- this.formats = yi(e.formats, r), this.formatters = i && i.formatters || xi(this.formatterCache);
4197
+ this.formats = Ie(e.formats, r), this.formatters = i && i.formatters || Le(this.formatterCache);
4889
4198
  }
4890
4199
  static {
4891
4200
  this.memoizedDefaultLocale = null;
@@ -4901,7 +4210,7 @@ var Si = class e {
4901
4210
  };
4902
4211
  }
4903
4212
  static {
4904
- this.__parse = fi;
4213
+ this.__parse = Ae;
4905
4214
  }
4906
4215
  static {
4907
4216
  this.formats = {
@@ -4961,32 +4270,32 @@ var Si = class e {
4961
4270
  };
4962
4271
  //#endregion
4963
4272
  //#region lib/i18n/translator.ts
4964
- function Ci() {
4273
+ function Z() {
4965
4274
  if (typeof localStorage > "u") return "en";
4966
- let e = localStorage.getItem(a);
4967
- return e && s.includes(e) ? e : "en";
4275
+ let e = localStorage.getItem(s);
4276
+ return e && l.includes(e) ? e : "en";
4968
4277
  }
4969
- function wi(e = {}, t = Ci) {
4970
- return (n, r = void 0, i = t) => {
4971
- let a = typeof i == "function" ? i() : i, o = Mn(e[a], n) ?? n;
4278
+ function Q(t = {}, n = Z) {
4279
+ return (r, i = void 0, a = n) => {
4280
+ let o = typeof a == "function" ? a() : a, s = e(t[o], r) ?? r;
4972
4281
  try {
4973
- o = new Si(o, a).format(r);
4282
+ s = new Re(s, o).format(i);
4974
4283
  } catch (e) {
4975
4284
  console.error(e);
4976
4285
  }
4977
- return o;
4286
+ return s;
4978
4287
  };
4979
4288
  }
4980
- var Ti = wi(i);
4289
+ var $ = Q(o);
4981
4290
  //#endregion
4982
4291
  //#region lib/i18n/use-material-translation.ts
4983
- function Ei() {
4984
- let e = f();
4292
+ function ze() {
4293
+ let e = m();
4985
4294
  return {
4986
4295
  t: (t, n, r) => {
4987
4296
  let i = e?.language;
4988
4297
  if (!i) return n;
4989
- let a = Ti(t, r, () => i);
4298
+ let a = $(t, r, () => i);
4990
4299
  return a === t ? n : a;
4991
4300
  },
4992
4301
  get language() {
@@ -4997,9 +4306,9 @@ function Ei() {
4997
4306
  }
4998
4307
  //#endregion
4999
4308
  //#region lib/i18n/use-typed-translation.ts
5000
- function Di(e) {
4309
+ function Be(e) {
5001
4310
  return function() {
5002
- let { language: t, changeLanguage: n } = d();
4311
+ let { language: t, changeLanguage: n } = p();
5003
4312
  return {
5004
4313
  t: (n, r) => e(n, r, () => t),
5005
4314
  i18n: {
@@ -5010,4 +4319,4 @@ function Di(e) {
5010
4319
  };
5011
4320
  }
5012
4321
  //#endregion
5013
- export { Ce as A, p as B, N as C, O as D, A as E, y as F, a as G, d as H, v as I, s as K, g as L, C as M, S as N, Pe as O, x as P, h as R, P as S, j as T, f as U, u as V, o as W, Qt as _, Ti as a, Ht as b, q as c, Mn as d, jn as f, V as g, U as h, Ci as i, w as j, E as k, K as l, On as m, Ei as n, sr as o, An as p, i as q, wi as r, tr as s, Di as t, G as u, Gt as v, M as w, dt as x, Wt as y, c as z };
4322
+ export { $ as a, ee as c, m as d, c as f, o as h, Z as i, f as l, l as m, ze as n, h as o, s as p, Q as r, u as s, Be as t, p as u };