@embeddable.com/remarkable-pro 0.1.26 → 0.1.28

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 (384) hide show
  1. package/dist/BarChartDefaultHorizontalPro.js +1 -1
  2. package/dist/BarChartDefaultPro.js +1 -1
  3. package/dist/BarChartGroupedHorizontalPro.js +1 -1
  4. package/dist/BarChartGroupedPro.js +1 -1
  5. package/dist/BarChartStackedHorizontalPro.js +1 -1
  6. package/dist/BarChartStackedPro.js +1 -1
  7. package/dist/{ChartCard-BspcYgwu.js → ChartCard-CbH-ePAZ.js} +26 -26
  8. package/dist/{ChartCard-BspcYgwu.js.map → ChartCard-CbH-ePAZ.js.map} +1 -1
  9. package/dist/{Color.type.emb-0IS03NK7.js → Color.type.emb-BfbyI8Nj.js} +2 -2
  10. package/dist/{Color.type.emb-0IS03NK7.js.map → Color.type.emb-BfbyI8Nj.js.map} +1 -1
  11. package/dist/ColorEditor.js +3 -3
  12. package/dist/ComparisonPeriodSelectFieldPro.js +1 -1
  13. package/dist/DateRangePickerCustomPro.js +1 -1
  14. package/dist/DateRangeSelectFieldPro.js +1 -1
  15. package/dist/{DimensionAndMeasureSingleSelectField-BFjwAGok.js → DimensionAndMeasureSingleSelectField-D7Eit3Sw.js} +11 -11
  16. package/dist/DimensionAndMeasureSingleSelectField-D7Eit3Sw.js.map +1 -0
  17. package/dist/DimensionMeasureMultiSelectFieldPro.js +1 -1
  18. package/dist/DimensionSingleSelectFieldPro.js +1 -1
  19. package/dist/DonutChartPro.js +1 -1
  20. package/dist/DonutLabelChartPro.js +1 -1
  21. package/dist/{EditorCard-D7fZyKnm.js → EditorCard-Dakg1QMW.js} +8 -8
  22. package/dist/{EditorCard-D7fZyKnm.js.map → EditorCard-Dakg1QMW.js.map} +1 -1
  23. package/dist/{GranularitySelectField-CbNb053Q.js → GranularitySelectField-BF4CBGje.js} +4 -4
  24. package/dist/GranularitySelectField-BF4CBGje.js.map +1 -0
  25. package/dist/GranularitySelectFieldPro.js +1 -1
  26. package/dist/HeatMapPro.js +1 -1
  27. package/dist/HorizontalDividerPro.js +1 -1
  28. package/dist/{IconAlertCircle-Bf38VJj5.js → IconAlertCircle--nrNcmxh.js} +5 -5
  29. package/dist/{IconAlertCircle-Bf38VJj5.js.map → IconAlertCircle--nrNcmxh.js.map} +1 -1
  30. package/dist/{IconCalendarFilled-jmst8WSH.js → IconCalendarFilled-gFFknpDn.js} +3 -3
  31. package/dist/{IconCalendarFilled-jmst8WSH.js.map → IconCalendarFilled-gFFknpDn.js.map} +1 -1
  32. package/dist/KpiChartNumberComparisonPro.js +1 -1
  33. package/dist/KpiChartNumberPro.js +1 -1
  34. package/dist/LineChartComparisonDefaultPro.js +1 -1
  35. package/dist/LineChartDefaultPro.js +1 -1
  36. package/dist/LineChartGroupedPro.js +1 -1
  37. package/dist/{Markdown.type.emb-rkVod_CL.js → Markdown.type.emb-DnVDpSvS.js} +2 -2
  38. package/dist/{Markdown.type.emb-rkVod_CL.js.map → Markdown.type.emb-DnVDpSvS.js.map} +1 -1
  39. package/dist/MarkdownEditor.js +3 -3
  40. package/dist/MarkdownPro.js +1 -1
  41. package/dist/MeasureMultiSelectFieldPro.js +1 -1
  42. package/dist/MeasureSingleSelectFieldPro.js +1 -1
  43. package/dist/MultiSelectFieldPro.js +1 -1
  44. package/dist/PieChartPro.js +1 -1
  45. package/dist/PivotTablePro.js +1 -1
  46. package/dist/SingleSelectFieldPro.js +1 -1
  47. package/dist/TableChartPaginated.js +1 -1
  48. package/dist/TableScrollable.js +1 -1
  49. package/dist/TextFieldPro.js +1 -1
  50. package/dist/{af-DDNjI9PP.js → af-BpWwGBlz.js} +3 -3
  51. package/dist/{af-DDNjI9PP.js.map → af-BpWwGBlz.js.map} +1 -1
  52. package/dist/{am-BU71l3n5.js → am-DVmQ7n6o.js} +3 -3
  53. package/dist/{am-BU71l3n5.js.map → am-DVmQ7n6o.js.map} +1 -1
  54. package/dist/{ar-DvXLs7ZB.js → ar-CCc_dql0.js} +3 -3
  55. package/dist/{ar-DvXLs7ZB.js.map → ar-CCc_dql0.js.map} +1 -1
  56. package/dist/{az-n3QqlQTp.js → az-o__wpHd_.js} +3 -3
  57. package/dist/{az-n3QqlQTp.js.map → az-o__wpHd_.js.map} +1 -1
  58. package/dist/{bars.utils-CcXvZj57.js → bars.utils-DzCBFOku.js} +5 -5
  59. package/dist/{bars.utils-CcXvZj57.js.map → bars.utils-DzCBFOku.js.map} +1 -1
  60. package/dist/{be-DWCIS67c.js → be-C8Z9HK3Z.js} +3 -3
  61. package/dist/{be-DWCIS67c.js.map → be-C8Z9HK3Z.js.map} +1 -1
  62. package/dist/{bg-DqEAnLbJ.js → bg-CfGDBx1q.js} +3 -3
  63. package/dist/{bg-DqEAnLbJ.js.map → bg-CfGDBx1q.js.map} +1 -1
  64. package/dist/{bi-BNZVMQQC.js → bi-DpsJPq2S.js} +3 -3
  65. package/dist/{bi-BNZVMQQC.js.map → bi-DpsJPq2S.js.map} +1 -1
  66. package/dist/{bm-CL1afAo5.js → bm-CHwu18r6.js} +3 -3
  67. package/dist/{bm-CL1afAo5.js.map → bm-CHwu18r6.js.map} +1 -1
  68. package/dist/{bn-DPDrjCA5.js → bn-C5cEDSNU.js} +15 -15
  69. package/dist/{bn-DPDrjCA5.js.map → bn-C5cEDSNU.js.map} +1 -1
  70. package/dist/{bo-Ch8lTxgu.js → bo-tvP3wO0Z.js} +3 -3
  71. package/dist/{bo-Ch8lTxgu.js.map → bo-tvP3wO0Z.js.map} +1 -1
  72. package/dist/{br-Cz0GK0ea.js → br-0w8w9ZFV.js} +3 -3
  73. package/dist/{br-Cz0GK0ea.js.map → br-0w8w9ZFV.js.map} +1 -1
  74. package/dist/{bs-Dg0KrE2S.js → bs-DhwnB06S.js} +3 -3
  75. package/dist/{bs-Dg0KrE2S.js.map → bs-DhwnB06S.js.map} +1 -1
  76. package/dist/{ca-DOK5LCh4.js → ca-PfGgSS0K.js} +3 -3
  77. package/dist/{ca-DOK5LCh4.js.map → ca-PfGgSS0K.js.map} +1 -1
  78. package/dist/{charts.fillGaps.hooks-D9U_831E.js → charts.fillGaps.hooks-yZWSIkM5.js} +11 -11
  79. package/dist/{charts.fillGaps.hooks-D9U_831E.js.map → charts.fillGaps.hooks-yZWSIkM5.js.map} +1 -1
  80. package/dist/{charts.utils-CHX0_brR.js → charts.utils-BB-uCwQV.js} +856 -848
  81. package/dist/charts.utils-BB-uCwQV.js.map +1 -0
  82. package/dist/{component.inputs.constants-aLGsJNMS.js → component.inputs.constants-DSTaroAN.js} +4 -4
  83. package/dist/{component.inputs.constants-aLGsJNMS.js.map → component.inputs.constants-DSTaroAN.js.map} +1 -1
  84. package/dist/{component.utils-CbnwaSi1.js → component.utils-CKQTC8YE.js} +297 -298
  85. package/dist/component.utils-CKQTC8YE.js.map +1 -0
  86. package/dist/components/editors/ComparisonPeriodSelectFieldPro/index.d.ts +1 -1
  87. package/dist/components/editors/ComparisonPeriodSelectFieldPro/index.d.ts.map +1 -1
  88. package/dist/components/editors/shared/GranularitySelectField/GranularitySelectField.d.ts +1 -1
  89. package/dist/components/editors/shared/GranularitySelectField/GranularitySelectField.d.ts.map +1 -1
  90. package/dist/{cs-D6uCj0rs.js → cs-DIMsfakP.js} +3 -3
  91. package/dist/{cs-D6uCj0rs.js.map → cs-DIMsfakP.js.map} +1 -1
  92. package/dist/{cv-DE5hsuRs.js → cv-DjIG2hFA.js} +3 -3
  93. package/dist/{cv-DE5hsuRs.js.map → cv-DjIG2hFA.js.map} +1 -1
  94. package/dist/{cy-C8lS_WZk.js → cy-Dj-WOGvV.js} +3 -3
  95. package/dist/{cy-C8lS_WZk.js.map → cy-Dj-WOGvV.js.map} +1 -1
  96. package/dist/{da-lfecFLyA.js → da-Dbpxdfqj.js} +3 -3
  97. package/dist/{da-lfecFLyA.js.map → da-Dbpxdfqj.js.map} +1 -1
  98. package/dist/dates.utils-DTOhxPiW.js +169 -0
  99. package/dist/{dates.utils-echGGA1j.js.map → dates.utils-DTOhxPiW.js.map} +1 -1
  100. package/dist/{de-B3PPRFoi.js → de-ZFq6WHgT.js} +3 -3
  101. package/dist/{de-B3PPRFoi.js.map → de-ZFq6WHgT.js.map} +1 -1
  102. package/dist/{definition-aipxDLOM.js → definition-2cDW9cNo.js} +21 -21
  103. package/dist/{definition-aipxDLOM.js.map → definition-2cDW9cNo.js.map} +1 -1
  104. package/dist/{definition-CY4LcOu2.js → definition-B-jLMp3v.js} +22 -22
  105. package/dist/{definition-CY4LcOu2.js.map → definition-B-jLMp3v.js.map} +1 -1
  106. package/dist/{definition-CoKH5e53.js → definition-BCgzV-iN.js} +19 -19
  107. package/dist/{definition-CoKH5e53.js.map → definition-BCgzV-iN.js.map} +1 -1
  108. package/dist/{definition-Dp6ZOKNA.js → definition-BMBougOp.js} +7 -7
  109. package/dist/{definition-Dp6ZOKNA.js.map → definition-BMBougOp.js.map} +1 -1
  110. package/dist/{definition-C_cMArH3.js → definition-BZlsJGRY.js} +14 -14
  111. package/dist/{definition-C_cMArH3.js.map → definition-BZlsJGRY.js.map} +1 -1
  112. package/dist/{definition-BZOlWeB5.js → definition-Bfu-c5Lf.js} +7 -7
  113. package/dist/{definition-BZOlWeB5.js.map → definition-Bfu-c5Lf.js.map} +1 -1
  114. package/dist/{definition-DstE2TXY.js → definition-BpTWA4rI.js} +9 -9
  115. package/dist/{definition-DstE2TXY.js.map → definition-BpTWA4rI.js.map} +1 -1
  116. package/dist/{definition-epgu4in6.js → definition-C7oJp3SG.js} +9 -9
  117. package/dist/{definition-epgu4in6.js.map → definition-C7oJp3SG.js.map} +1 -1
  118. package/dist/{definition-JQqWoNRy.js → definition-C8SU9ZxA.js} +4 -4
  119. package/dist/{definition-JQqWoNRy.js.map → definition-C8SU9ZxA.js.map} +1 -1
  120. package/dist/{definition-DvttqiSn.js → definition-CG1MIal2.js} +7 -7
  121. package/dist/{definition-DvttqiSn.js.map → definition-CG1MIal2.js.map} +1 -1
  122. package/dist/{definition-NYzyp2Or.js → definition-CG1S24qH.js} +7 -7
  123. package/dist/{definition-NYzyp2Or.js.map → definition-CG1S24qH.js.map} +1 -1
  124. package/dist/{definition-CpeLirdO.js → definition-CTgoohIn.js} +9 -9
  125. package/dist/{definition-CpeLirdO.js.map → definition-CTgoohIn.js.map} +1 -1
  126. package/dist/{definition-D9SZZXJ-.js → definition-CYcHzZ0B.js} +9 -9
  127. package/dist/{definition-D9SZZXJ-.js.map → definition-CYcHzZ0B.js.map} +1 -1
  128. package/dist/{definition-BiCm9V7b.js → definition-Cn-ubfrF.js} +15 -15
  129. package/dist/{definition-BiCm9V7b.js.map → definition-Cn-ubfrF.js.map} +1 -1
  130. package/dist/{definition-m5cX4vpq.js → definition-Cp1pMntV.js} +16 -16
  131. package/dist/{definition-m5cX4vpq.js.map → definition-Cp1pMntV.js.map} +1 -1
  132. package/dist/{definition-C2Ulud-X.js → definition-Cspet1hA.js} +37 -37
  133. package/dist/{definition-C2Ulud-X.js.map → definition-Cspet1hA.js.map} +1 -1
  134. package/dist/{definition-ptY0pkfd.js → definition-CvtOzlbB.js} +24 -24
  135. package/dist/{definition-ptY0pkfd.js.map → definition-CvtOzlbB.js.map} +1 -1
  136. package/dist/{definition-NmsCZiD3.js → definition-D-q0dO29.js} +6 -6
  137. package/dist/{definition-NmsCZiD3.js.map → definition-D-q0dO29.js.map} +1 -1
  138. package/dist/{definition-B-LEtdmC.js → definition-D3Cyq213.js} +10 -10
  139. package/dist/{definition-B-LEtdmC.js.map → definition-D3Cyq213.js.map} +1 -1
  140. package/dist/{definition-C8b9zR5H.js → definition-D3IrN4HB.js} +6 -6
  141. package/dist/{definition-C8b9zR5H.js.map → definition-D3IrN4HB.js.map} +1 -1
  142. package/dist/{definition-pCZhqxRT.js → definition-DIJewXtY.js} +9 -9
  143. package/dist/{definition-pCZhqxRT.js.map → definition-DIJewXtY.js.map} +1 -1
  144. package/dist/{definition-Bv8GFARZ.js → definition-DVb1qsnf.js} +7 -7
  145. package/dist/{definition-Bv8GFARZ.js.map → definition-DVb1qsnf.js.map} +1 -1
  146. package/dist/{definition-CQyRND1p.js → definition-DidwGw5v.js} +16 -16
  147. package/dist/{definition-CQyRND1p.js.map → definition-DidwGw5v.js.map} +1 -1
  148. package/dist/{definition-_4eLdude.js → definition-DqjL-ghp.js} +10 -10
  149. package/dist/{definition-_4eLdude.js.map → definition-DqjL-ghp.js.map} +1 -1
  150. package/dist/{definition-D3iG4dr_.js → definition-Dr_AwsuQ.js} +7 -7
  151. package/dist/{definition-D3iG4dr_.js.map → definition-Dr_AwsuQ.js.map} +1 -1
  152. package/dist/{definition-8WTymWKV.js → definition-FXkTnO5W.js} +9 -9
  153. package/dist/{definition-8WTymWKV.js.map → definition-FXkTnO5W.js.map} +1 -1
  154. package/dist/{definition-BJf-G6VH.js → definition-N3ElMgOZ.js} +26 -26
  155. package/dist/{definition-BJf-G6VH.js.map → definition-N3ElMgOZ.js.map} +1 -1
  156. package/dist/{definition-CCQyn-7-.js → definition-cMK5OL7c.js} +9 -9
  157. package/dist/{definition-CCQyn-7-.js.map → definition-cMK5OL7c.js.map} +1 -1
  158. package/dist/{definition-DFVqua7K.js → definition-eyMbiqX_.js} +13 -13
  159. package/dist/definition-eyMbiqX_.js.map +1 -0
  160. package/dist/{definition-BZqYGoqY.js → definition-lRQa4tgI.js} +6 -6
  161. package/dist/{definition-BZqYGoqY.js.map → definition-lRQa4tgI.js.map} +1 -1
  162. package/dist/{definition-DE5LcVOt.js → definition-rz5_TG9u.js} +19 -19
  163. package/dist/{definition-DE5LcVOt.js.map → definition-rz5_TG9u.js.map} +1 -1
  164. package/dist/{dimensionsAndMeasures.utils-Bm_aEgUi.js → dimensionsAndMeasures.utils-BrgSFnda.js} +4 -4
  165. package/dist/{dimensionsAndMeasures.utils-Bm_aEgUi.js.map → dimensionsAndMeasures.utils-BrgSFnda.js.map} +1 -1
  166. package/dist/{dv-DD2Aq0j-.js → dv-BEkv3JZT.js} +3 -3
  167. package/dist/{dv-DD2Aq0j-.js.map → dv-BEkv3JZT.js.map} +1 -1
  168. package/dist/{el-BKdcoiTt.js → el-BcBRD3vN.js} +3 -3
  169. package/dist/{el-BKdcoiTt.js.map → el-BcBRD3vN.js.map} +1 -1
  170. package/dist/embeddable-components.json +44 -44
  171. package/dist/embeddable-lifecycle.js +53 -35
  172. package/dist/embeddable-theme-0137e.js +2634 -2627
  173. package/dist/{en-DttxOeT1.js → en-D_BkLIpH.js} +2 -2
  174. package/dist/{en-DttxOeT1.js.map → en-D_BkLIpH.js.map} +1 -1
  175. package/dist/{eo-DSu1JbmJ.js → eo-Dyc7A8GD.js} +3 -3
  176. package/dist/{eo-DSu1JbmJ.js.map → eo-Dyc7A8GD.js.map} +1 -1
  177. package/dist/{es-BEkS015k.js → es-C26w1xV7.js} +3 -3
  178. package/dist/{es-BEkS015k.js.map → es-C26w1xV7.js.map} +1 -1
  179. package/dist/{et-Dsp-PTGH.js → et-rPuzX3De.js} +3 -3
  180. package/dist/{et-Dsp-PTGH.js.map → et-rPuzX3De.js.map} +1 -1
  181. package/dist/{eu-Bcc_Swas.js → eu-CwzAju_V.js} +3 -3
  182. package/dist/{eu-Bcc_Swas.js.map → eu-CwzAju_V.js.map} +1 -1
  183. package/dist/{fa-Bpp0W3ll.js → fa-BCrr5LhB.js} +3 -3
  184. package/dist/{fa-Bpp0W3ll.js.map → fa-BCrr5LhB.js.map} +1 -1
  185. package/dist/{fi-CAljRwd-.js → fi-CIrhZNYM.js} +3 -3
  186. package/dist/{fi-CAljRwd-.js.map → fi-CIrhZNYM.js.map} +1 -1
  187. package/dist/{fo-s_iFEvG5.js → fo-D7IPnUOI.js} +3 -3
  188. package/dist/{fo-s_iFEvG5.js.map → fo-D7IPnUOI.js.map} +1 -1
  189. package/dist/{fr-DOZeiJt0.js → fr-D8-BTQDo.js} +3 -3
  190. package/dist/{fr-DOZeiJt0.js.map → fr-D8-BTQDo.js.map} +1 -1
  191. package/dist/{fy-CjRv5AfN.js → fy-CnhyuGYz.js} +3 -3
  192. package/dist/{fy-CjRv5AfN.js.map → fy-CnhyuGYz.js.map} +1 -1
  193. package/dist/{ga-DH_Jh4oJ.js → ga-BdGcqNF3.js} +13 -13
  194. package/dist/{ga-DH_Jh4oJ.js.map → ga-BdGcqNF3.js.map} +1 -1
  195. package/dist/{gd-DO0uqD9J.js → gd-4LRW7P30.js} +11 -11
  196. package/dist/{gd-DO0uqD9J.js.map → gd-4LRW7P30.js.map} +1 -1
  197. package/dist/{gl-CNNbvOLn.js → gl-QGF55K2g.js} +3 -3
  198. package/dist/{gl-CNNbvOLn.js.map → gl-QGF55K2g.js.map} +1 -1
  199. package/dist/{granularity.utils-0TIiQ2yP.js → granularity.utils-BXH9D-iA.js} +5 -5
  200. package/dist/{granularity.utils-0TIiQ2yP.js.map → granularity.utils-BXH9D-iA.js.map} +1 -1
  201. package/dist/{gu-SiR64kCs.js → gu-D69ogmR3.js} +3 -3
  202. package/dist/{gu-SiR64kCs.js.map → gu-D69ogmR3.js.map} +1 -1
  203. package/dist/{he-CuT0EuFj.js → he-ChPrKowW.js} +3 -3
  204. package/dist/{he-CuT0EuFj.js.map → he-ChPrKowW.js.map} +1 -1
  205. package/dist/{hi-B1dg7rU7.js → hi-BAF8xtsn.js} +3 -3
  206. package/dist/{hi-B1dg7rU7.js.map → hi-BAF8xtsn.js.map} +1 -1
  207. package/dist/{hr-CJRtiUCH.js → hr-DhZwpA3o.js} +3 -3
  208. package/dist/{hr-CJRtiUCH.js.map → hr-DhZwpA3o.js.map} +1 -1
  209. package/dist/{ht-BkWHpWvV.js → ht-DNw8mjpw.js} +3 -3
  210. package/dist/{ht-BkWHpWvV.js.map → ht-DNw8mjpw.js.map} +1 -1
  211. package/dist/{hu-gyhRpg50.js → hu-CzdNCELr.js} +3 -3
  212. package/dist/{hu-gyhRpg50.js.map → hu-CzdNCELr.js.map} +1 -1
  213. package/dist/{id-sJkxYw7F.js → id-Dqf2Hbbi.js} +3 -3
  214. package/dist/{id-sJkxYw7F.js.map → id-Dqf2Hbbi.js.map} +1 -1
  215. package/dist/{index-BtXsXVuJ.js → index-7k8sSy8y.js} +4284 -4288
  216. package/dist/{index-BtXsXVuJ.js.map → index-7k8sSy8y.js.map} +1 -1
  217. package/dist/index-CJhexWxS.js +10 -0
  218. package/dist/{index-NPrGz65V.js.map → index-CJhexWxS.js.map} +1 -1
  219. package/dist/{index-pggBJ_Fx.js → index-DnXBQR6G.js} +5 -5
  220. package/dist/{index-pggBJ_Fx.js.map → index-DnXBQR6G.js.map} +1 -1
  221. package/dist/index.d.ts +2 -0
  222. package/dist/index.d.ts.map +1 -1
  223. package/dist/index.js +239 -206
  224. package/dist/index.js.map +1 -1
  225. package/dist/{is-C8Brc1jO.js → is-BUzqoFZS.js} +3 -3
  226. package/dist/{is-C8Brc1jO.js.map → is-BUzqoFZS.js.map} +1 -1
  227. package/dist/{it-CP7Dk9wI.js → it-CNMpQ5ZH.js} +3 -3
  228. package/dist/{it-CP7Dk9wI.js.map → it-CNMpQ5ZH.js.map} +1 -1
  229. package/dist/{ja-BwultWG3.js → ja-DVW49A7s.js} +3 -3
  230. package/dist/{ja-BwultWG3.js.map → ja-DVW49A7s.js.map} +1 -1
  231. package/dist/{jv-CWcP0KSd.js → jv-B28gR7gT.js} +3 -3
  232. package/dist/{jv-CWcP0KSd.js.map → jv-B28gR7gT.js.map} +1 -1
  233. package/dist/{ka-DoBJwfbv.js → ka-SOVL7HDt.js} +3 -3
  234. package/dist/{ka-DoBJwfbv.js.map → ka-SOVL7HDt.js.map} +1 -1
  235. package/dist/{kk-DBZw30-5.js → kk-CXl3vqT_.js} +3 -3
  236. package/dist/{kk-DBZw30-5.js.map → kk-CXl3vqT_.js.map} +1 -1
  237. package/dist/{km-CIciusIB.js → km-DYMWukgb.js} +3 -3
  238. package/dist/{km-CIciusIB.js.map → km-DYMWukgb.js.map} +1 -1
  239. package/dist/{kn-gkrHt7yd.js → kn-suJP5w-2.js} +3 -3
  240. package/dist/{kn-gkrHt7yd.js.map → kn-suJP5w-2.js.map} +1 -1
  241. package/dist/{ko-toq5asQj.js → ko-CKJwJPfs.js} +3 -3
  242. package/dist/{ko-toq5asQj.js.map → ko-CKJwJPfs.js.map} +1 -1
  243. package/dist/{ku-DFIn9vOZ.js → ku-BdL_rFZU.js} +3 -3
  244. package/dist/{ku-DFIn9vOZ.js.map → ku-BdL_rFZU.js.map} +1 -1
  245. package/dist/{ky-CqZLOuSE.js → ky-C5wyfTpN.js} +3 -3
  246. package/dist/{ky-CqZLOuSE.js.map → ky-C5wyfTpN.js.map} +1 -1
  247. package/dist/{lb-BWzcN7R3.js → lb-C7rbA7jI.js} +3 -3
  248. package/dist/{lb-BWzcN7R3.js.map → lb-C7rbA7jI.js.map} +1 -1
  249. package/dist/{lo-DGoymVg5.js → lo-Cugkdnw1.js} +3 -3
  250. package/dist/{lo-DGoymVg5.js.map → lo-Cugkdnw1.js.map} +1 -1
  251. package/dist/{lt-rr_0lzTU.js → lt-DanAih99.js} +14 -14
  252. package/dist/{lt-rr_0lzTU.js.map → lt-DanAih99.js.map} +1 -1
  253. package/dist/{lv-D5XPeTnJ.js → lv-Dj8V_fXv.js} +3 -3
  254. package/dist/{lv-D5XPeTnJ.js.map → lv-Dj8V_fXv.js.map} +1 -1
  255. package/dist/{me-BGuHG9nI.js → me-NjAfdXD3.js} +3 -3
  256. package/dist/{me-BGuHG9nI.js.map → me-NjAfdXD3.js.map} +1 -1
  257. package/dist/{mi-Pyah4T76.js → mi-DKice0us.js} +3 -3
  258. package/dist/{mi-Pyah4T76.js.map → mi-DKice0us.js.map} +1 -1
  259. package/dist/{mk-Bq9D_tYW.js → mk-BKLyWPxg.js} +3 -3
  260. package/dist/{mk-Bq9D_tYW.js.map → mk-BKLyWPxg.js.map} +1 -1
  261. package/dist/{ml-MnUyCHNf.js → ml-CSbVh0Wz.js} +3 -3
  262. package/dist/{ml-MnUyCHNf.js.map → ml-CSbVh0Wz.js.map} +1 -1
  263. package/dist/{mn-COJ445Iu.js → mn-D4KvoGVf.js} +3 -3
  264. package/dist/{mn-COJ445Iu.js.map → mn-D4KvoGVf.js.map} +1 -1
  265. package/dist/{mr-bPNfDD_a.js → mr-DXDCZ1AB.js} +3 -3
  266. package/dist/{mr-bPNfDD_a.js.map → mr-DXDCZ1AB.js.map} +1 -1
  267. package/dist/{ms-DjSJDgBw.js → ms-CwixtgFJ.js} +3 -3
  268. package/dist/{ms-DjSJDgBw.js.map → ms-CwixtgFJ.js.map} +1 -1
  269. package/dist/{mt-DXpvARPB.js → mt-2utau9al.js} +13 -13
  270. package/dist/{mt-DXpvARPB.js.map → mt-2utau9al.js.map} +1 -1
  271. package/dist/{my-rcNN2n0m.js → my-C7Vjgim4.js} +3 -3
  272. package/dist/{my-rcNN2n0m.js.map → my-C7Vjgim4.js.map} +1 -1
  273. package/dist/{nb-BxSN9xAc.js → nb-B_m5BsVo.js} +3 -3
  274. package/dist/{nb-BxSN9xAc.js.map → nb-B_m5BsVo.js.map} +1 -1
  275. package/dist/{ne-BLnzWgBq.js → ne-DZxLlKMu.js} +3 -3
  276. package/dist/{ne-BLnzWgBq.js.map → ne-DZxLlKMu.js.map} +1 -1
  277. package/dist/{nl-CvBTEWMa.js → nl-BTxPeSOa.js} +3 -3
  278. package/dist/{nl-CvBTEWMa.js.map → nl-BTxPeSOa.js.map} +1 -1
  279. package/dist/{nn-Bf0Pgofo.js → nn-jLYkbWL-.js} +3 -3
  280. package/dist/{nn-Bf0Pgofo.js.map → nn-jLYkbWL-.js.map} +1 -1
  281. package/dist/{pies.utils-DWaAsN_r.js → pies.utils-BB85AueO.js} +14 -14
  282. package/dist/{pies.utils-DWaAsN_r.js.map → pies.utils-BB85AueO.js.map} +1 -1
  283. package/dist/{pl-B7UDxmnS.js → pl-DeJITHho.js} +3 -3
  284. package/dist/{pl-B7UDxmnS.js.map → pl-DeJITHho.js.map} +1 -1
  285. package/dist/{preview.data.constants-BEQuz0Jp.js → preview.data.constants-BGNfPkMd.js} +8 -8
  286. package/dist/{preview.data.constants-BEQuz0Jp.js.map → preview.data.constants-BGNfPkMd.js.map} +1 -1
  287. package/dist/{pt-BX1A3XxP.js → pt-WJ9makIR.js} +3 -3
  288. package/dist/{pt-BX1A3XxP.js.map → pt-WJ9makIR.js.map} +1 -1
  289. package/dist/{quarterOfYear-CoIntHiE.js → quarterOfYear-BmtEtUic.js} +2 -2
  290. package/dist/{quarterOfYear-CoIntHiE.js.map → quarterOfYear-BmtEtUic.js.map} +1 -1
  291. package/dist/remarkable-pro.css +1 -1
  292. package/dist/{ro-DFLrkEj_.js → ro-D2eMbRls.js} +3 -3
  293. package/dist/{ro-DFLrkEj_.js.map → ro-D2eMbRls.js.map} +1 -1
  294. package/dist/{ru-Wt5j1lKj.js → ru-C9QjBVVl.js} +3 -3
  295. package/dist/{ru-Wt5j1lKj.js.map → ru-C9QjBVVl.js.map} +1 -1
  296. package/dist/{rw-ebXdGETj.js → rw-DxpK-F86.js} +15 -15
  297. package/dist/{rw-ebXdGETj.js.map → rw-DxpK-F86.js.map} +1 -1
  298. package/dist/{sd-CYCv4vXG.js → sd-uq3AHtyt.js} +3 -3
  299. package/dist/{sd-CYCv4vXG.js.map → sd-uq3AHtyt.js.map} +1 -1
  300. package/dist/{se-DhyyIjKr.js → se-CCEHGSXH.js} +3 -3
  301. package/dist/{se-DhyyIjKr.js.map → se-CCEHGSXH.js.map} +1 -1
  302. package/dist/{si-x7OOY-lX.js → si-CxnJ3hfu.js} +3 -3
  303. package/dist/{si-x7OOY-lX.js.map → si-CxnJ3hfu.js.map} +1 -1
  304. package/dist/{sk-DWt2dpl5.js → sk-7Mbsyod9.js} +17 -17
  305. package/dist/{sk-DWt2dpl5.js.map → sk-7Mbsyod9.js.map} +1 -1
  306. package/dist/{sl-D89kyLxU.js → sl-ZYykvLOH.js} +3 -3
  307. package/dist/{sl-D89kyLxU.js.map → sl-ZYykvLOH.js.map} +1 -1
  308. package/dist/{sq-CtuTGJCY.js → sq-Cc9xHa6g.js} +3 -3
  309. package/dist/{sq-CtuTGJCY.js.map → sq-Cc9xHa6g.js.map} +1 -1
  310. package/dist/{sr-DFxoqLI3.js → sr-DpjcND5V.js} +3 -3
  311. package/dist/{sr-DFxoqLI3.js.map → sr-DpjcND5V.js.map} +1 -1
  312. package/dist/{ss-B2YuTnPL.js → ss-C9AG5rCo.js} +12 -12
  313. package/dist/{ss-B2YuTnPL.js.map → ss-C9AG5rCo.js.map} +1 -1
  314. package/dist/{styles.utils-BfpH_m_W.js → styles.utils-C8CnV0SB.js} +3 -3
  315. package/dist/{styles.utils-BfpH_m_W.js.map → styles.utils-C8CnV0SB.js.map} +1 -1
  316. package/dist/{sv-DhIm13sS.js → sv-BE0iRSAd.js} +3 -3
  317. package/dist/{sv-DhIm13sS.js.map → sv-BE0iRSAd.js.map} +1 -1
  318. package/dist/{sw-CLJkTlTI.js → sw-4EZNRRed.js} +3 -3
  319. package/dist/{sw-CLJkTlTI.js.map → sw-4EZNRRed.js.map} +1 -1
  320. package/dist/{ta-DW8adzZ8.js → ta-2snNollg.js} +3 -3
  321. package/dist/{ta-DW8adzZ8.js.map → ta-2snNollg.js.map} +1 -1
  322. package/dist/{tables.utils-cB849TK4.js → tables.utils-CBZvanOA.js} +25 -25
  323. package/dist/{tables.utils-cB849TK4.js.map → tables.utils-CBZvanOA.js.map} +1 -1
  324. package/dist/{te-BGpS2I33.js → te-C2AWzoLA.js} +3 -3
  325. package/dist/{te-BGpS2I33.js.map → te-C2AWzoLA.js.map} +1 -1
  326. package/dist/{tet-DTFZMPiZ.js → tet-Di32JFM_.js} +3 -3
  327. package/dist/{tet-DTFZMPiZ.js.map → tet-Di32JFM_.js.map} +1 -1
  328. package/dist/{tg-MqXrkUVx.js → tg-COAg8Sg2.js} +3 -3
  329. package/dist/{tg-MqXrkUVx.js.map → tg-COAg8Sg2.js.map} +1 -1
  330. package/dist/{th-BGi9VIsF.js → th-BE08oncL.js} +3 -3
  331. package/dist/{th-BGi9VIsF.js.map → th-BE08oncL.js.map} +1 -1
  332. package/dist/theme/fonts/fonts.types.d.ts +20 -0
  333. package/dist/theme/fonts/fonts.types.d.ts.map +1 -0
  334. package/dist/theme/fonts/fonts.utils.d.ts +3 -0
  335. package/dist/theme/fonts/fonts.utils.d.ts.map +1 -0
  336. package/dist/theme/fonts/fonts.utils.test.d.ts +2 -0
  337. package/dist/theme/fonts/fonts.utils.test.d.ts.map +1 -0
  338. package/dist/theme/styles/styles.constants.d.ts +623 -1
  339. package/dist/theme/styles/styles.constants.d.ts.map +1 -1
  340. package/dist/theme/styles/styles.types.d.ts +2 -1
  341. package/dist/theme/styles/styles.types.d.ts.map +1 -1
  342. package/dist/theme/theme.constants.d.ts.map +1 -1
  343. package/dist/theme/theme.types.d.ts +2 -0
  344. package/dist/theme/theme.types.d.ts.map +1 -1
  345. package/dist/{timeRange.utils-HfS6K7Bt.js → timeRange.utils-BEVObMeY.js} +2 -2
  346. package/dist/{timeRange.utils-HfS6K7Bt.js.map → timeRange.utils-BEVObMeY.js.map} +1 -1
  347. package/dist/{tk-CzZefJ9t.js → tk-DaVGWO30.js} +3 -3
  348. package/dist/{tk-CzZefJ9t.js.map → tk-DaVGWO30.js.map} +1 -1
  349. package/dist/{tlh-Bra__Url.js → tlh-ixXrjlRs.js} +3 -3
  350. package/dist/{tlh-Bra__Url.js.map → tlh-ixXrjlRs.js.map} +1 -1
  351. package/dist/{tr-B9DO9ESc.js → tr-C2j0lwY-.js} +3 -3
  352. package/dist/{tr-B9DO9ESc.js.map → tr-C2j0lwY-.js.map} +1 -1
  353. package/dist/{tzl-DUdmImoA.js → tzl-RwKXbfn8.js} +13 -13
  354. package/dist/{tzl-DUdmImoA.js.map → tzl-RwKXbfn8.js.map} +1 -1
  355. package/dist/{tzm-BYJ0QyyX.js → tzm-D8DzwiW1.js} +3 -3
  356. package/dist/{tzm-BYJ0QyyX.js.map → tzm-D8DzwiW1.js.map} +1 -1
  357. package/dist/{uk-BkZR40_4.js → uk-BK4jOB5o.js} +3 -3
  358. package/dist/{uk-BkZR40_4.js.map → uk-BK4jOB5o.js.map} +1 -1
  359. package/dist/{ur-3mgKQ2eI.js → ur-AYNuu4Gr.js} +15 -15
  360. package/dist/{ur-3mgKQ2eI.js.map → ur-AYNuu4Gr.js.map} +1 -1
  361. package/dist/{utc-CZDMUme5.js → utc-B5XFczBc.js} +15 -15
  362. package/dist/{utc-CZDMUme5.js.map → utc-B5XFczBc.js.map} +1 -1
  363. package/dist/{uz-BAQ_be59.js → uz-Bec-uvm3.js} +3 -3
  364. package/dist/{uz-BAQ_be59.js.map → uz-Bec-uvm3.js.map} +1 -1
  365. package/dist/{vi-Cz0xPfER.js → vi-B3Qvc4Dh.js} +3 -3
  366. package/dist/{vi-Cz0xPfER.js.map → vi-B3Qvc4Dh.js.map} +1 -1
  367. package/dist/{x-pseudo-CB6QA3fL.js → x-pseudo-CXlSNMOu.js} +3 -3
  368. package/dist/{x-pseudo-CB6QA3fL.js.map → x-pseudo-CXlSNMOu.js.map} +1 -1
  369. package/dist/{yo-br0K4JO7.js → yo-BvneJ2Se.js} +3 -3
  370. package/dist/{yo-br0K4JO7.js.map → yo-BvneJ2Se.js.map} +1 -1
  371. package/dist/{zh-cn-DfL-yOJY.js → zh-cn-D-89Ez_X.js} +3 -3
  372. package/dist/{zh-cn-DfL-yOJY.js.map → zh-cn-D-89Ez_X.js.map} +1 -1
  373. package/dist/{zh-hk-DxFIs93M.js → zh-hk-CgoWD_h6.js} +3 -3
  374. package/dist/{zh-hk-DxFIs93M.js.map → zh-hk-CgoWD_h6.js.map} +1 -1
  375. package/dist/{zh-tw-6AX1ZyY0.js → zh-tw-DNmEhn5c.js} +3 -3
  376. package/dist/{zh-tw-6AX1ZyY0.js.map → zh-tw-DNmEhn5c.js.map} +1 -1
  377. package/package.json +2 -2
  378. package/dist/DimensionAndMeasureSingleSelectField-BFjwAGok.js.map +0 -1
  379. package/dist/GranularitySelectField-CbNb053Q.js.map +0 -1
  380. package/dist/charts.utils-CHX0_brR.js.map +0 -1
  381. package/dist/component.utils-CbnwaSi1.js.map +0 -1
  382. package/dist/dates.utils-echGGA1j.js +0 -169
  383. package/dist/definition-DFVqua7K.js.map +0 -1
  384. package/dist/index-NPrGz65V.js +0 -10
@@ -1,49 +1,49 @@
1
- const g = (a) => typeof a == "string", A = () => {
1
+ const g = (a) => typeof a == "string", K = () => {
2
2
  let a, e;
3
3
  const t = new Promise((s, i) => {
4
4
  a = s, e = i;
5
5
  });
6
6
  return t.resolve = a, t.reject = e, t;
7
- }, ne = (a) => a == null ? "" : "" + a, we = (a, e, t) => {
7
+ }, re = (a) => a == null ? "" : "" + a, Le = (a, e, t) => {
8
8
  a.forEach((s) => {
9
9
  e[s] && (t[s] = e[s]);
10
10
  });
11
- }, Ce = /###/g, re = (a) => a && a.indexOf("###") > -1 ? a.replace(Ce, ".") : a, ae = (a) => !a || g(a), K = (a, e, t) => {
11
+ }, we = /###/g, ne = (a) => a && a.indexOf("###") > -1 ? a.replace(we, ".") : a, ae = (a) => !a || g(a), U = (a, e, t) => {
12
12
  const s = g(e) ? e.split(".") : e;
13
13
  let i = 0;
14
14
  for (; i < s.length - 1; ) {
15
15
  if (ae(a)) return {};
16
- const n = re(s[i]);
17
- !a[n] && t && (a[n] = new t()), Object.prototype.hasOwnProperty.call(a, n) ? a = a[n] : a = {}, ++i;
16
+ const r = ne(s[i]);
17
+ !a[r] && t && (a[r] = new t()), Object.prototype.hasOwnProperty.call(a, r) ? a = a[r] : a = {}, ++i;
18
18
  }
19
19
  return ae(a) ? {} : {
20
20
  obj: a,
21
- k: re(s[i])
21
+ k: ne(s[i])
22
22
  };
23
23
  }, oe = (a, e, t) => {
24
24
  const {
25
25
  obj: s,
26
26
  k: i
27
- } = K(a, e, Object);
27
+ } = U(a, e, Object);
28
28
  if (s !== void 0 || e.length === 1) {
29
29
  s[i] = t;
30
30
  return;
31
31
  }
32
- let n = e[e.length - 1], r = e.slice(0, e.length - 1), o = K(a, r, Object);
33
- for (; o.obj === void 0 && r.length; )
34
- n = `${r[r.length - 1]}.${n}`, r = r.slice(0, r.length - 1), o = K(a, r, Object), o != null && o.obj && typeof o.obj[`${o.k}.${n}`] < "u" && (o.obj = void 0);
35
- o.obj[`${o.k}.${n}`] = t;
36
- }, ve = (a, e, t, s) => {
32
+ let r = e[e.length - 1], n = e.slice(0, e.length - 1), o = U(a, n, Object);
33
+ for (; o.obj === void 0 && n.length; )
34
+ r = `${n[n.length - 1]}.${r}`, n = n.slice(0, n.length - 1), o = U(a, n, Object), o != null && o.obj && typeof o.obj[`${o.k}.${r}`] < "u" && (o.obj = void 0);
35
+ o.obj[`${o.k}.${r}`] = t;
36
+ }, Ce = (a, e, t, s) => {
37
37
  const {
38
38
  obj: i,
39
- k: n
40
- } = K(a, e, Object);
41
- i[n] = i[n] || [], i[n].push(t);
39
+ k: r
40
+ } = U(a, e, Object);
41
+ i[r] = i[r] || [], i[r].push(t);
42
42
  }, _ = (a, e) => {
43
43
  const {
44
44
  obj: t,
45
45
  k: s
46
- } = K(a, e);
46
+ } = U(a, e);
47
47
  if (t && Object.prototype.hasOwnProperty.call(t, s))
48
48
  return t[s];
49
49
  }, Pe = (a, e, t) => {
@@ -77,33 +77,33 @@ class Ne {
77
77
  }
78
78
  const ke = [" ", ",", "?", "!", ";"], je = new Ne(20), Fe = (a, e, t) => {
79
79
  e = e || "", t = t || "";
80
- const s = ke.filter((r) => e.indexOf(r) < 0 && t.indexOf(r) < 0);
80
+ const s = ke.filter((n) => e.indexOf(n) < 0 && t.indexOf(n) < 0);
81
81
  if (s.length === 0) return !0;
82
- const i = je.getRegExp(`(${s.map((r) => r === "?" ? "\\?" : r).join("|")})`);
83
- let n = !i.test(a);
84
- if (!n) {
85
- const r = a.indexOf(t);
86
- r > 0 && !i.test(a.substring(0, r)) && (n = !0);
82
+ const i = je.getRegExp(`(${s.map((n) => n === "?" ? "\\?" : n).join("|")})`);
83
+ let r = !i.test(a);
84
+ if (!r) {
85
+ const n = a.indexOf(t);
86
+ n > 0 && !i.test(a.substring(0, n)) && (r = !0);
87
87
  }
88
- return n;
88
+ return r;
89
89
  }, q = (a, e, t = ".") => {
90
90
  if (!a) return;
91
91
  if (a[e])
92
92
  return Object.prototype.hasOwnProperty.call(a, e) ? a[e] : void 0;
93
93
  const s = e.split(t);
94
94
  let i = a;
95
- for (let n = 0; n < s.length; ) {
95
+ for (let r = 0; r < s.length; ) {
96
96
  if (!i || typeof i != "object")
97
97
  return;
98
- let r, o = "";
99
- for (let l = n; l < s.length; ++l)
100
- if (l !== n && (o += t), o += s[l], r = i[o], r !== void 0) {
101
- if (["string", "number", "boolean"].indexOf(typeof r) > -1 && l < s.length - 1)
98
+ let n, o = "";
99
+ for (let l = r; l < s.length; ++l)
100
+ if (l !== r && (o += t), o += s[l], n = i[o], n !== void 0) {
101
+ if (["string", "number", "boolean"].indexOf(typeof n) > -1 && l < s.length - 1)
102
102
  continue;
103
- n += l - n + 1;
103
+ r += l - r + 1;
104
104
  break;
105
105
  }
106
- i = r;
106
+ i = n;
107
107
  }
108
108
  return i;
109
109
  }, M = (a) => a == null ? void 0 : a.replace(/_/g, "-"), Ee = {
@@ -176,11 +176,11 @@ class G {
176
176
  }
177
177
  }
178
178
  emit(e, ...t) {
179
- this.observers[e] && Array.from(this.observers[e].entries()).forEach(([i, n]) => {
180
- for (let r = 0; r < n; r++)
179
+ this.observers[e] && Array.from(this.observers[e].entries()).forEach(([i, r]) => {
180
+ for (let n = 0; n < r; n++)
181
181
  i(...t);
182
- }), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach(([i, n]) => {
183
- for (let r = 0; r < n; r++)
182
+ }), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach(([i, r]) => {
183
+ for (let n = 0; n < r; n++)
184
184
  i.apply(i, [e, ...t]);
185
185
  });
186
186
  }
@@ -201,39 +201,39 @@ class le extends G {
201
201
  }
202
202
  getResource(e, t, s, i = {}) {
203
203
  var u, c;
204
- const n = i.keySeparator !== void 0 ? i.keySeparator : this.options.keySeparator, r = i.ignoreJSONStructure !== void 0 ? i.ignoreJSONStructure : this.options.ignoreJSONStructure;
204
+ const r = i.keySeparator !== void 0 ? i.keySeparator : this.options.keySeparator, n = i.ignoreJSONStructure !== void 0 ? i.ignoreJSONStructure : this.options.ignoreJSONStructure;
205
205
  let o;
206
- e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], s && (Array.isArray(s) ? o.push(...s) : g(s) && n ? o.push(...s.split(n)) : o.push(s)));
206
+ e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], s && (Array.isArray(s) ? o.push(...s) : g(s) && r ? o.push(...s.split(r)) : o.push(s)));
207
207
  const l = _(this.data, o);
208
- return !l && !t && !s && e.indexOf(".") > -1 && (e = o[0], t = o[1], s = o.slice(2).join(".")), l || !r || !g(s) ? l : q((c = (u = this.data) == null ? void 0 : u[e]) == null ? void 0 : c[t], s, n);
208
+ return !l && !t && !s && e.indexOf(".") > -1 && (e = o[0], t = o[1], s = o.slice(2).join(".")), l || !n || !g(s) ? l : q((c = (u = this.data) == null ? void 0 : u[e]) == null ? void 0 : c[t], s, r);
209
209
  }
210
- addResource(e, t, s, i, n = {
210
+ addResource(e, t, s, i, r = {
211
211
  silent: !1
212
212
  }) {
213
- const r = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator;
213
+ const n = r.keySeparator !== void 0 ? r.keySeparator : this.options.keySeparator;
214
214
  let o = [e, t];
215
- s && (o = o.concat(r ? s.split(r) : s)), e.indexOf(".") > -1 && (o = e.split("."), i = t, t = o[1]), this.addNamespaces(t), oe(this.data, o, i), n.silent || this.emit("added", e, t, s, i);
215
+ s && (o = o.concat(n ? s.split(n) : s)), e.indexOf(".") > -1 && (o = e.split("."), i = t, t = o[1]), this.addNamespaces(t), oe(this.data, o, i), r.silent || this.emit("added", e, t, s, i);
216
216
  }
217
217
  addResources(e, t, s, i = {
218
218
  silent: !1
219
219
  }) {
220
- for (const n in s)
221
- (g(s[n]) || Array.isArray(s[n])) && this.addResource(e, t, n, s[n], {
220
+ for (const r in s)
221
+ (g(s[r]) || Array.isArray(s[r])) && this.addResource(e, t, r, s[r], {
222
222
  silent: !0
223
223
  });
224
224
  i.silent || this.emit("added", e, t, s);
225
225
  }
226
- addResourceBundle(e, t, s, i, n, r = {
226
+ addResourceBundle(e, t, s, i, r, n = {
227
227
  silent: !1,
228
228
  skipCopy: !1
229
229
  }) {
230
230
  let o = [e, t];
231
231
  e.indexOf(".") > -1 && (o = e.split("."), i = s, s = t, t = o[1]), this.addNamespaces(t);
232
232
  let l = _(this.data, o) || {};
233
- r.skipCopy || (s = JSON.parse(JSON.stringify(s))), i ? xe(l, s, n) : l = {
233
+ n.skipCopy || (s = JSON.parse(JSON.stringify(s))), i ? xe(l, s, r) : l = {
234
234
  ...l,
235
235
  ...s
236
- }, oe(this.data, o, l), r.silent || this.emit("added", e, t, s);
236
+ }, oe(this.data, o, l), n.silent || this.emit("added", e, t, s);
237
237
  }
238
238
  removeResourceBundle(e, t) {
239
239
  this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
@@ -261,9 +261,9 @@ var ye = {
261
261
  this.processors[a.name] = a;
262
262
  },
263
263
  handle(a, e, t, s, i) {
264
- return a.forEach((n) => {
265
- var r;
266
- e = ((r = this.processors[n]) == null ? void 0 : r.process(e, t, s, i)) ?? e;
264
+ return a.forEach((r) => {
265
+ var n;
266
+ e = ((n = this.processors[r]) == null ? void 0 : n.process(e, t, s, i)) ?? e;
267
267
  }), e;
268
268
  }
269
269
  };
@@ -272,17 +272,17 @@ function Ie() {
272
272
  const a = [], e = /* @__PURE__ */ Object.create(null);
273
273
  let t;
274
274
  return e.get = (s, i) => {
275
- var n;
276
- return (n = t == null ? void 0 : t.revoke) == null || n.call(t), i === Se ? a : (a.push(i), t = Proxy.revocable(s, e), t.proxy);
275
+ var r;
276
+ return (r = t == null ? void 0 : t.revoke) == null || r.call(t), i === Se ? a : (a.push(i), t = Proxy.revocable(s, e), t.proxy);
277
277
  }, Proxy.revocable(/* @__PURE__ */ Object.create(null), e).proxy;
278
278
  }
279
- function U(a, e) {
279
+ function T(a, e) {
280
280
  const {
281
281
  [Se]: t
282
282
  } = a(Ie()), s = (e == null ? void 0 : e.keySeparator) ?? ".", i = (e == null ? void 0 : e.nsSeparator) ?? ":";
283
283
  if (t.length > 1 && i) {
284
- const n = e == null ? void 0 : e.ns;
285
- if ((n ? Array.isArray(n) ? n : [n] : []).includes(t[0]))
284
+ const r = e == null ? void 0 : e.ns, n = Array.isArray(r) ? r : null;
285
+ if (n && n.length > 1 && n.slice(1).includes(t[0]))
286
286
  return `${t[0]}${i}${t.slice(1).join(s)}`;
287
287
  }
288
288
  return t.join(s);
@@ -290,7 +290,7 @@ function U(a, e) {
290
290
  const ue = {}, Q = (a) => !g(a) && typeof a != "boolean" && typeof a != "number";
291
291
  class Y extends G {
292
292
  constructor(e, t = {}) {
293
- super(), we(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = R.create("translator");
293
+ super(), Le(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = R.create("translator");
294
294
  }
295
295
  changeLanguage(e) {
296
296
  e && (this.language = e);
@@ -304,28 +304,28 @@ class Y extends G {
304
304
  if (e == null) return !1;
305
305
  const i = this.resolve(e, s);
306
306
  if ((i == null ? void 0 : i.res) === void 0) return !1;
307
- const n = Q(i.res);
308
- return !(s.returnObjects === !1 && n);
307
+ const r = Q(i.res);
308
+ return !(s.returnObjects === !1 && r);
309
309
  }
310
310
  extractFromKey(e, t) {
311
311
  let s = t.nsSeparator !== void 0 ? t.nsSeparator : this.options.nsSeparator;
312
312
  s === void 0 && (s = ":");
313
313
  const i = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
314
- let n = t.ns || this.options.defaultNS || [];
315
- const r = s && e.indexOf(s) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !Fe(e, s, i);
316
- if (r && !o) {
314
+ let r = t.ns || this.options.defaultNS || [];
315
+ const n = s && e.indexOf(s) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !Fe(e, s, i);
316
+ if (n && !o) {
317
317
  const l = e.match(this.interpolator.nestingRegexp);
318
318
  if (l && l.length > 0)
319
319
  return {
320
320
  key: e,
321
- namespaces: g(n) ? [n] : n
321
+ namespaces: g(r) ? [r] : r
322
322
  };
323
323
  const u = e.split(s);
324
- (s !== i || s === i && this.options.ns.indexOf(u[0]) > -1) && (n = u.shift()), e = u.join(i);
324
+ (s !== i || s === i && this.options.ns.indexOf(u[0]) > -1) && (r = u.shift()), e = u.join(i);
325
325
  }
326
326
  return {
327
327
  key: e,
328
- namespaces: g(n) ? [n] : n
328
+ namespaces: g(r) ? [r] : r
329
329
  };
330
330
  }
331
331
  translate(e, t, s) {
@@ -335,14 +335,14 @@ class Y extends G {
335
335
  if (typeof i != "object" && this.options.overloadTranslationOptionHandler && (i = this.options.overloadTranslationOptionHandler(arguments)), typeof i == "object" && (i = {
336
336
  ...i
337
337
  }), i || (i = {}), e == null) return "";
338
- typeof e == "function" && (e = U(e, {
338
+ typeof e == "function" && (e = T(e, {
339
339
  ...this.options,
340
340
  ...i
341
- })), Array.isArray(e) || (e = [String(e)]), e = e.map((L) => typeof L == "function" ? U(L, {
341
+ })), Array.isArray(e) || (e = [String(e)]), e = e.map((b) => typeof b == "function" ? T(b, {
342
342
  ...this.options,
343
343
  ...i
344
- }) : String(L));
345
- const n = i.returnDetails !== void 0 ? i.returnDetails : this.options.returnDetails, r = i.keySeparator !== void 0 ? i.keySeparator : this.options.keySeparator, {
344
+ }) : String(b));
345
+ const r = i.returnDetails !== void 0 ? i.returnDetails : this.options.returnDetails, n = i.keySeparator !== void 0 ? i.keySeparator : this.options.keySeparator, {
346
346
  key: o,
347
347
  namespaces: l
348
348
  } = this.extractFromKey(e[e.length - 1], i), u = l[l.length - 1];
@@ -350,14 +350,14 @@ class Y extends G {
350
350
  c === void 0 && (c = ":");
351
351
  const f = i.lng || this.language, p = i.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
352
352
  if ((f == null ? void 0 : f.toLowerCase()) === "cimode")
353
- return p ? n ? {
353
+ return p ? r ? {
354
354
  res: `${u}${c}${o}`,
355
355
  usedKey: o,
356
356
  exactUsedKey: o,
357
357
  usedLng: f,
358
358
  usedNS: u,
359
359
  usedParams: this.getUsedParamsDetails(i)
360
- } : `${u}${c}${o}` : n ? {
360
+ } : `${u}${c}${o}` : r ? {
361
361
  res: o,
362
362
  usedKey: o,
363
363
  exactUsedKey: o,
@@ -367,29 +367,29 @@ class Y extends G {
367
367
  } : o;
368
368
  const d = this.resolve(e, i);
369
369
  let h = d == null ? void 0 : d.res;
370
- const m = (d == null ? void 0 : d.usedKey) || o, x = (d == null ? void 0 : d.exactUsedKey) || o, O = ["[object Number]", "[object Function]", "[object RegExp]"], v = i.joinArrays !== void 0 ? i.joinArrays : this.options.joinArrays, F = !this.i18nFormat || this.i18nFormat.handleAsObject, b = i.count !== void 0 && !g(i.count), N = Y.hasDefaultValue(i), z = b ? this.pluralResolver.getSuffix(f, i.count, i) : "", k = i.ordinal && b ? this.pluralResolver.getSuffix(f, i.count, {
370
+ const m = (d == null ? void 0 : d.usedKey) || o, x = (d == null ? void 0 : d.exactUsedKey) || o, v = ["[object Number]", "[object Function]", "[object RegExp]"], C = i.joinArrays !== void 0 ? i.joinArrays : this.options.joinArrays, F = !this.i18nFormat || this.i18nFormat.handleAsObject, O = i.count !== void 0 && !g(i.count), N = Y.hasDefaultValue(i), z = O ? this.pluralResolver.getSuffix(f, i.count, i) : "", k = i.ordinal && O ? this.pluralResolver.getSuffix(f, i.count, {
371
371
  ordinal: !1
372
- }) : "", T = b && !i.ordinal && i.count === 0, w = T && i[`defaultValue${this.options.pluralSeparator}zero`] || i[`defaultValue${z}`] || i[`defaultValue${k}`] || i.defaultValue;
372
+ }) : "", V = O && !i.ordinal && i.count === 0, L = V && i[`defaultValue${this.options.pluralSeparator}zero`] || i[`defaultValue${z}`] || i[`defaultValue${k}`] || i.defaultValue;
373
373
  let S = h;
374
- F && !h && N && (S = w);
375
- const be = Q(S), Le = Object.prototype.toString.apply(S);
376
- if (F && S && be && O.indexOf(Le) < 0 && !(g(v) && Array.isArray(S))) {
374
+ F && !h && N && (S = L);
375
+ const Oe = Q(S), be = Object.prototype.toString.apply(S);
376
+ if (F && S && Oe && v.indexOf(be) < 0 && !(g(C) && Array.isArray(S))) {
377
377
  if (!i.returnObjects && !this.options.returnObjects) {
378
378
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
379
- const L = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(m, S, {
379
+ const b = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(m, S, {
380
380
  ...i,
381
381
  ns: l
382
382
  }) : `key '${o} (${this.language})' returned an object instead of string.`;
383
- return n ? (d.res = L, d.usedParams = this.getUsedParamsDetails(i), d) : L;
383
+ return r ? (d.res = b, d.usedParams = this.getUsedParamsDetails(i), d) : b;
384
384
  }
385
- if (r) {
386
- const L = Array.isArray(S), P = L ? [] : {}, ee = L ? x : m;
385
+ if (n) {
386
+ const b = Array.isArray(S), P = b ? [] : {}, ee = b ? x : m;
387
387
  for (const $ in S)
388
388
  if (Object.prototype.hasOwnProperty.call(S, $)) {
389
- const j = `${ee}${r}${$}`;
389
+ const j = `${ee}${n}${$}`;
390
390
  N && !h ? P[$] = this.translate(j, {
391
391
  ...i,
392
- defaultValue: Q(w) ? w[$] : void 0,
392
+ defaultValue: Q(L) ? L[$] : void 0,
393
393
  joinArrays: !1,
394
394
  ns: l
395
395
  }) : P[$] = this.translate(j, {
@@ -400,43 +400,43 @@ class Y extends G {
400
400
  }
401
401
  h = P;
402
402
  }
403
- } else if (F && g(v) && Array.isArray(h))
404
- h = h.join(v), h && (h = this.extendTranslation(h, e, i, s));
403
+ } else if (F && g(C) && Array.isArray(h))
404
+ h = h.join(C), h && (h = this.extendTranslation(h, e, i, s));
405
405
  else {
406
- let L = !1, P = !1;
407
- !this.isValidLookup(h) && N && (L = !0, h = w), this.isValidLookup(h) || (P = !0, h = o);
408
- const $ = (i.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && P ? void 0 : h, j = N && w !== h && this.options.updateMissing;
409
- if (P || L || j) {
410
- if (this.logger.log(j ? "updateKey" : "missingKey", f, u, o, j ? w : h), r) {
411
- const C = this.resolve(o, {
406
+ let b = !1, P = !1;
407
+ !this.isValidLookup(h) && N && (b = !0, h = L), this.isValidLookup(h) || (P = !0, h = o);
408
+ const $ = (i.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && P ? void 0 : h, j = N && L !== h && this.options.updateMissing;
409
+ if (P || b || j) {
410
+ if (this.logger.log(j ? "updateKey" : "missingKey", f, u, o, j ? L : h), n) {
411
+ const w = this.resolve(o, {
412
412
  ...i,
413
413
  keySeparator: !1
414
414
  });
415
- C && C.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
415
+ w && w.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
416
416
  }
417
- let V = [];
417
+ let D = [];
418
418
  const B = this.languageUtils.getFallbackCodes(this.options.fallbackLng, i.lng || this.language);
419
419
  if (this.options.saveMissingTo === "fallback" && B && B[0])
420
- for (let C = 0; C < B.length; C++)
421
- V.push(B[C]);
422
- else this.options.saveMissingTo === "all" ? V = this.languageUtils.toResolveHierarchy(i.lng || this.language) : V.push(i.lng || this.language);
423
- const te = (C, E, D) => {
420
+ for (let w = 0; w < B.length; w++)
421
+ D.push(B[w]);
422
+ else this.options.saveMissingTo === "all" ? D = this.languageUtils.toResolveHierarchy(i.lng || this.language) : D.push(i.lng || this.language);
423
+ const te = (w, E, A) => {
424
424
  var se;
425
- const ie = N && D !== h ? D : $;
426
- this.options.missingKeyHandler ? this.options.missingKeyHandler(C, u, E, ie, j, i) : (se = this.backendConnector) != null && se.saveMissing && this.backendConnector.saveMissing(C, u, E, ie, j, i), this.emit("missingKey", C, u, E, h);
425
+ const ie = N && A !== h ? A : $;
426
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(w, u, E, ie, j, i) : (se = this.backendConnector) != null && se.saveMissing && this.backendConnector.saveMissing(w, u, E, ie, j, i), this.emit("missingKey", w, u, E, h);
427
427
  };
428
- this.options.saveMissing && (this.options.saveMissingPlurals && b ? V.forEach((C) => {
429
- const E = this.pluralResolver.getSuffixes(C, i);
430
- T && i[`defaultValue${this.options.pluralSeparator}zero`] && E.indexOf(`${this.options.pluralSeparator}zero`) < 0 && E.push(`${this.options.pluralSeparator}zero`), E.forEach((D) => {
431
- te([C], o + D, i[`defaultValue${D}`] || w);
428
+ this.options.saveMissing && (this.options.saveMissingPlurals && O ? D.forEach((w) => {
429
+ const E = this.pluralResolver.getSuffixes(w, i);
430
+ V && i[`defaultValue${this.options.pluralSeparator}zero`] && E.indexOf(`${this.options.pluralSeparator}zero`) < 0 && E.push(`${this.options.pluralSeparator}zero`), E.forEach((A) => {
431
+ te([w], o + A, i[`defaultValue${A}`] || L);
432
432
  });
433
- }) : te(V, o, w));
433
+ }) : te(D, o, L));
434
434
  }
435
- h = this.extendTranslation(h, e, i, d, s), P && h === o && this.options.appendNamespaceToMissingKey && (h = `${u}${c}${o}`), (P || L) && this.options.parseMissingKeyHandler && (h = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${u}${c}${o}` : o, L ? h : void 0, i));
435
+ h = this.extendTranslation(h, e, i, d, s), P && h === o && this.options.appendNamespaceToMissingKey && (h = `${u}${c}${o}`), (P || b) && this.options.parseMissingKeyHandler && (h = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${u}${c}${o}` : o, b ? h : void 0, i));
436
436
  }
437
- return n ? (d.res = h, d.usedParams = this.getUsedParamsDetails(i), d) : h;
437
+ return r ? (d.res = h, d.usedParams = this.getUsedParamsDetails(i), d) : h;
438
438
  }
439
- extendTranslation(e, t, s, i, n) {
439
+ extendTranslation(e, t, s, i, r) {
440
440
  var l, u;
441
441
  if ((l = this.i18nFormat) != null && l.parse)
442
442
  e = this.i18nFormat.parse(e, {
@@ -467,9 +467,9 @@ class Y extends G {
467
467
  const d = e.match(this.interpolator.nestingRegexp), h = d && d.length;
468
468
  f < h && (s.nest = !1);
469
469
  }
470
- !s.lng && i && i.res && (s.lng = this.language || i.usedLng), s.nest !== !1 && (e = this.interpolator.nest(e, (...d) => (n == null ? void 0 : n[0]) === d[0] && !s.context ? (this.logger.warn(`It seems you are nesting recursively key: ${d[0]} in key: ${t[0]}`), null) : this.translate(...d, t), s)), s.interpolation && this.interpolator.reset();
470
+ !s.lng && i && i.res && (s.lng = this.language || i.usedLng), s.nest !== !1 && (e = this.interpolator.nest(e, (...d) => (r == null ? void 0 : r[0]) === d[0] && !s.context ? (this.logger.warn(`It seems you are nesting recursively key: ${d[0]} in key: ${t[0]}`), null) : this.translate(...d, t), s)), s.interpolation && this.interpolator.reset();
471
471
  }
472
- const r = s.postProcess || this.options.postProcess, o = g(r) ? [r] : r;
472
+ const n = s.postProcess || this.options.postProcess, o = g(n) ? [n] : n;
473
473
  return e != null && (o != null && o.length) && s.applyPostProcessor !== !1 && (e = ye.handle(o, e, t, this.options && this.options.postProcessPassResolved ? {
474
474
  i18nResolved: {
475
475
  ...i,
@@ -479,8 +479,8 @@ class Y extends G {
479
479
  } : s, this)), e;
480
480
  }
481
481
  resolve(e, t = {}) {
482
- let s, i, n, r, o;
483
- return g(e) && (e = [e]), Array.isArray(e) && (e = e.map((l) => typeof l == "function" ? U(l, {
482
+ let s, i, r, n, o;
483
+ return g(e) && (e = [e]), Array.isArray(e) && (e = e.map((l) => typeof l == "function" ? T(l, {
484
484
  ...this.options,
485
485
  ...t
486
486
  }) : l)), e.forEach((l) => {
@@ -491,33 +491,33 @@ class Y extends G {
491
491
  this.options.fallbackNS && (f = f.concat(this.options.fallbackNS));
492
492
  const p = t.count !== void 0 && !g(t.count), d = p && !t.ordinal && t.count === 0, h = t.context !== void 0 && (g(t.context) || typeof t.context == "number") && t.context !== "", m = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
493
493
  f.forEach((x) => {
494
- var O, v;
495
- this.isValidLookup(s) || (o = x, !ue[`${m[0]}-${x}`] && ((O = this.utils) != null && O.hasLoadedNamespace) && !((v = this.utils) != null && v.hasLoadedNamespace(o)) && (ue[`${m[0]}-${x}`] = !0, this.logger.warn(`key "${i}" for languages "${m.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), m.forEach((F) => {
494
+ var v, C;
495
+ this.isValidLookup(s) || (o = x, !ue[`${m[0]}-${x}`] && ((v = this.utils) != null && v.hasLoadedNamespace) && !((C = this.utils) != null && C.hasLoadedNamespace(o)) && (ue[`${m[0]}-${x}`] = !0, this.logger.warn(`key "${i}" for languages "${m.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), m.forEach((F) => {
496
496
  var z;
497
497
  if (this.isValidLookup(s)) return;
498
- r = F;
499
- const b = [c];
498
+ n = F;
499
+ const O = [c];
500
500
  if ((z = this.i18nFormat) != null && z.addLookupKeys)
501
- this.i18nFormat.addLookupKeys(b, c, F, x, t);
501
+ this.i18nFormat.addLookupKeys(O, c, F, x, t);
502
502
  else {
503
503
  let k;
504
504
  p && (k = this.pluralResolver.getSuffix(F, t.count, t));
505
- const T = `${this.options.pluralSeparator}zero`, w = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
506
- if (p && (t.ordinal && k.indexOf(w) === 0 && b.push(c + k.replace(w, this.options.pluralSeparator)), b.push(c + k), d && b.push(c + T)), h) {
505
+ const V = `${this.options.pluralSeparator}zero`, L = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
506
+ if (p && (t.ordinal && k.indexOf(L) === 0 && O.push(c + k.replace(L, this.options.pluralSeparator)), O.push(c + k), d && O.push(c + V)), h) {
507
507
  const S = `${c}${this.options.contextSeparator || "_"}${t.context}`;
508
- b.push(S), p && (t.ordinal && k.indexOf(w) === 0 && b.push(S + k.replace(w, this.options.pluralSeparator)), b.push(S + k), d && b.push(S + T));
508
+ O.push(S), p && (t.ordinal && k.indexOf(L) === 0 && O.push(S + k.replace(L, this.options.pluralSeparator)), O.push(S + k), d && O.push(S + V));
509
509
  }
510
510
  }
511
511
  let N;
512
- for (; N = b.pop(); )
513
- this.isValidLookup(s) || (n = N, s = this.getResource(F, x, N, t));
512
+ for (; N = O.pop(); )
513
+ this.isValidLookup(s) || (r = N, s = this.getResource(F, x, N, t));
514
514
  }));
515
515
  });
516
516
  }), {
517
517
  res: s,
518
518
  usedKey: i,
519
- exactUsedKey: n,
520
- usedLng: r,
519
+ exactUsedKey: r,
520
+ usedLng: n,
521
521
  usedNS: o
522
522
  };
523
523
  }
@@ -525,8 +525,8 @@ class Y extends G {
525
525
  return e !== void 0 && !(!this.options.returnNull && e === null) && !(!this.options.returnEmptyString && e === "");
526
526
  }
527
527
  getResource(e, t, s, i = {}) {
528
- var n;
529
- return (n = this.i18nFormat) != null && n.getResource ? this.i18nFormat.getResource(e, t, s, i) : this.resourceStore.getResource(e, t, s, i);
528
+ var r;
529
+ return (r = this.i18nFormat) != null && r.getResource ? this.i18nFormat.getResource(e, t, s, i) : this.resourceStore.getResource(e, t, s, i);
530
530
  }
531
531
  getUsedParamsDetails(e = {}) {
532
532
  const t = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], s = e.replace && !g(e.replace);
@@ -538,8 +538,8 @@ class Y extends G {
538
538
  i = {
539
539
  ...i
540
540
  };
541
- for (const n of t)
542
- delete i[n];
541
+ for (const r of t)
542
+ delete i[r];
543
543
  }
544
544
  return i;
545
545
  }
@@ -590,12 +590,12 @@ class fe {
590
590
  if (t) return;
591
591
  const i = this.getScriptPartFromCode(s);
592
592
  if (this.isSupportedCode(i)) return t = i;
593
- const n = this.getLanguagePartFromCode(s);
594
- if (this.isSupportedCode(n)) return t = n;
595
- t = this.options.supportedLngs.find((r) => {
596
- if (r === n) return r;
597
- if (!(r.indexOf("-") < 0 && n.indexOf("-") < 0) && (r.indexOf("-") > 0 && n.indexOf("-") < 0 && r.substring(0, r.indexOf("-")) === n || r.indexOf(n) === 0 && n.length > 1))
598
- return r;
593
+ const r = this.getLanguagePartFromCode(s);
594
+ if (this.isSupportedCode(r)) return t = r;
595
+ t = this.options.supportedLngs.find((n) => {
596
+ if (n === r) return n;
597
+ if (!(n.indexOf("-") < 0 && r.indexOf("-") < 0) && (n.indexOf("-") > 0 && r.indexOf("-") < 0 && n.substring(0, n.indexOf("-")) === r || n.indexOf(r) === 0 && r.length > 1))
598
+ return n;
599
599
  });
600
600
  }), t || (t = this.getFallbackCodes(this.options.fallbackLng)[0]), t;
601
601
  }
@@ -607,11 +607,11 @@ class fe {
607
607
  return s || (s = e[this.getScriptPartFromCode(t)]), s || (s = e[this.formatLanguageCode(t)]), s || (s = e[this.getLanguagePartFromCode(t)]), s || (s = e.default), s || [];
608
608
  }
609
609
  toResolveHierarchy(e, t) {
610
- const s = this.getFallbackCodes((t === !1 ? [] : t) || this.options.fallbackLng || [], e), i = [], n = (r) => {
611
- r && (this.isSupportedCode(r) ? i.push(r) : this.logger.warn(`rejecting language code not found in supportedLngs: ${r}`));
610
+ const s = this.getFallbackCodes((t === !1 ? [] : t) || this.options.fallbackLng || [], e), i = [], r = (n) => {
611
+ n && (this.isSupportedCode(n) ? i.push(n) : this.logger.warn(`rejecting language code not found in supportedLngs: ${n}`));
612
612
  };
613
- return g(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && n(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && n(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && n(this.getLanguagePartFromCode(e))) : g(e) && n(this.formatLanguageCode(e)), s.forEach((r) => {
614
- i.indexOf(r) < 0 && n(this.formatLanguageCode(r));
613
+ return g(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && r(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && r(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && r(this.getLanguagePartFromCode(e))) : g(e) && r(this.formatLanguageCode(e)), s.forEach((n) => {
614
+ i.indexOf(n) < 0 && r(this.formatLanguageCode(n));
615
615
  }), i;
616
616
  }
617
617
  }
@@ -636,15 +636,15 @@ class Te {
636
636
  this.pluralRulesCache = {};
637
637
  }
638
638
  getRule(e, t = {}) {
639
- const s = M(e === "dev" ? "en" : e), i = t.ordinal ? "ordinal" : "cardinal", n = JSON.stringify({
639
+ const s = M(e === "dev" ? "en" : e), i = t.ordinal ? "ordinal" : "cardinal", r = JSON.stringify({
640
640
  cleanedCode: s,
641
641
  type: i
642
642
  });
643
- if (n in this.pluralRulesCache)
644
- return this.pluralRulesCache[n];
645
- let r;
643
+ if (r in this.pluralRulesCache)
644
+ return this.pluralRulesCache[r];
645
+ let n;
646
646
  try {
647
- r = new Intl.PluralRules(s, {
647
+ n = new Intl.PluralRules(s, {
648
648
  type: i
649
649
  });
650
650
  } catch {
@@ -652,9 +652,9 @@ class Te {
652
652
  return this.logger.error("No Intl support, please use an Intl polyfill!"), he;
653
653
  if (!e.match(/-|_/)) return he;
654
654
  const l = this.languageUtils.getLanguagePartFromCode(e);
655
- r = this.getRule(l, t);
655
+ n = this.getRule(l, t);
656
656
  }
657
- return this.pluralRulesCache[n] = r, r;
657
+ return this.pluralRulesCache[r] = n, n;
658
658
  }
659
659
  needsPlural(e, t = {}) {
660
660
  let s = this.getRule(e, t);
@@ -665,7 +665,7 @@ class Te {
665
665
  }
666
666
  getSuffixes(e, t = {}) {
667
667
  let s = this.getRule(e, t);
668
- return s || (s = this.getRule("dev", t)), s ? s.resolvedOptions().pluralCategories.sort((i, n) => ce[i] - ce[n]).map((i) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${i}`) : [];
668
+ return s || (s = this.getRule("dev", t)), s ? s.resolvedOptions().pluralCategories.sort((i, r) => ce[i] - ce[r]).map((i) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${i}`) : [];
669
669
  }
670
670
  getSuffix(e, t, s = {}) {
671
671
  const i = this.getRule(e, s);
@@ -673,8 +673,8 @@ class Te {
673
673
  }
674
674
  }
675
675
  const de = (a, e, t, s = ".", i = !0) => {
676
- let n = Pe(a, e, t);
677
- return !n && i && g(t) && (n = q(a, t, s), n === void 0 && (n = q(e, t, s))), n;
676
+ let r = Pe(a, e, t);
677
+ return !r && i && g(t) && (r = q(a, t, s), r === void 0 && (r = q(e, t, s))), r;
678
678
  }, Z = (a) => a.replace(/\$/g, "$$$$");
679
679
  class pe {
680
680
  constructor(e = {}) {
@@ -689,8 +689,8 @@ class pe {
689
689
  escape: t,
690
690
  escapeValue: s,
691
691
  useRawValueToEscape: i,
692
- prefix: n,
693
- prefixEscaped: r,
692
+ prefix: r,
693
+ prefixEscaped: n,
694
694
  suffix: o,
695
695
  suffixEscaped: l,
696
696
  formatSeparator: u,
@@ -701,10 +701,10 @@ class pe {
701
701
  nestingSuffix: h,
702
702
  nestingSuffixEscaped: m,
703
703
  nestingOptionsSeparator: x,
704
- maxReplaces: O,
705
- alwaysFormat: v
704
+ maxReplaces: v,
705
+ alwaysFormat: C
706
706
  } = e.interpolation;
707
- this.escape = t !== void 0 ? t : Re, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = i !== void 0 ? i : !1, this.prefix = n ? I(n) : r || "{{", this.suffix = o ? I(o) : l || "}}", this.formatSeparator = u || ",", this.unescapePrefix = c ? "" : f || "-", this.unescapeSuffix = this.unescapePrefix ? "" : c || "", this.nestingPrefix = p ? I(p) : d || I("$t("), this.nestingSuffix = h ? I(h) : m || I(")"), this.nestingOptionsSeparator = x || ",", this.maxReplaces = O || 1e3, this.alwaysFormat = v !== void 0 ? v : !1, this.resetRegExp();
707
+ this.escape = t !== void 0 ? t : Re, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = i !== void 0 ? i : !1, this.prefix = r ? I(r) : n || "{{", this.suffix = o ? I(o) : l || "}}", this.formatSeparator = u || ",", this.unescapePrefix = c ? "" : f || "-", this.unescapeSuffix = this.unescapePrefix ? "" : c || "", this.nestingPrefix = p ? I(p) : d || I("$t("), this.nestingSuffix = h ? I(h) : m || I(")"), this.nestingOptionsSeparator = x || ",", this.maxReplaces = v || 1e3, this.alwaysFormat = C !== void 0 ? C : !1, this.resetRegExp();
708
708
  }
709
709
  reset() {
710
710
  this.options && this.init(this.options);
@@ -715,18 +715,18 @@ class pe {
715
715
  }
716
716
  interpolate(e, t, s, i) {
717
717
  var d;
718
- let n, r, o;
718
+ let r, n, o;
719
719
  const l = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, u = (h) => {
720
720
  if (h.indexOf(this.formatSeparator) < 0) {
721
- const v = de(t, l, h, this.options.keySeparator, this.options.ignoreJSONStructure);
722
- return this.alwaysFormat ? this.format(v, void 0, s, {
721
+ const C = de(t, l, h, this.options.keySeparator, this.options.ignoreJSONStructure);
722
+ return this.alwaysFormat ? this.format(C, void 0, s, {
723
723
  ...i,
724
724
  ...t,
725
725
  interpolationkey: h
726
- }) : v;
726
+ }) : C;
727
727
  }
728
- const m = h.split(this.formatSeparator), x = m.shift().trim(), O = m.join(this.formatSeparator).trim();
729
- return this.format(de(t, l, x, this.options.keySeparator, this.options.ignoreJSONStructure), O, s, {
728
+ const m = h.split(this.formatSeparator), x = m.shift().trim(), v = m.join(this.formatSeparator).trim();
729
+ return this.format(de(t, l, x, this.options.keySeparator, this.options.ignoreJSONStructure), v, s, {
730
730
  ...i,
731
731
  ...t,
732
732
  interpolationkey: x
@@ -741,57 +741,57 @@ class pe {
741
741
  regex: this.regexp,
742
742
  safeValue: (h) => this.escapeValue ? Z(this.escape(h)) : Z(h)
743
743
  }].forEach((h) => {
744
- for (o = 0; n = h.regex.exec(e); ) {
745
- const m = n[1].trim();
746
- if (r = u(m), r === void 0)
744
+ for (o = 0; r = h.regex.exec(e); ) {
745
+ const m = r[1].trim();
746
+ if (n = u(m), n === void 0)
747
747
  if (typeof c == "function") {
748
- const O = c(e, n, i);
749
- r = g(O) ? O : "";
748
+ const v = c(e, r, i);
749
+ n = g(v) ? v : "";
750
750
  } else if (i && Object.prototype.hasOwnProperty.call(i, m))
751
- r = "";
751
+ n = "";
752
752
  else if (f) {
753
- r = n[0];
753
+ n = r[0];
754
754
  continue;
755
755
  } else
756
- this.logger.warn(`missed to pass in variable ${m} for interpolating ${e}`), r = "";
757
- else !g(r) && !this.useRawValueToEscape && (r = ne(r));
758
- const x = h.safeValue(r);
759
- if (e = e.replace(n[0], x), f ? (h.regex.lastIndex += r.length, h.regex.lastIndex -= n[0].length) : h.regex.lastIndex = 0, o++, o >= this.maxReplaces)
756
+ this.logger.warn(`missed to pass in variable ${m} for interpolating ${e}`), n = "";
757
+ else !g(n) && !this.useRawValueToEscape && (n = re(n));
758
+ const x = h.safeValue(n);
759
+ if (e = e.replace(r[0], x), f ? (h.regex.lastIndex += n.length, h.regex.lastIndex -= r[0].length) : h.regex.lastIndex = 0, o++, o >= this.maxReplaces)
760
760
  break;
761
761
  }
762
762
  }), e;
763
763
  }
764
764
  nest(e, t, s = {}) {
765
- let i, n, r;
765
+ let i, r, n;
766
766
  const o = (l, u) => {
767
767
  const c = this.nestingOptionsSeparator;
768
768
  if (l.indexOf(c) < 0) return l;
769
769
  const f = l.split(new RegExp(`${I(c)}[ ]*{`));
770
770
  let p = `{${f[1]}`;
771
- l = f[0], p = this.interpolate(p, r);
771
+ l = f[0], p = this.interpolate(p, n);
772
772
  const d = p.match(/'/g), h = p.match(/"/g);
773
773
  (((d == null ? void 0 : d.length) ?? 0) % 2 === 0 && !h || ((h == null ? void 0 : h.length) ?? 0) % 2 !== 0) && (p = p.replace(/'/g, '"'));
774
774
  try {
775
- r = JSON.parse(p), u && (r = {
775
+ n = JSON.parse(p), u && (n = {
776
776
  ...u,
777
- ...r
777
+ ...n
778
778
  });
779
779
  } catch (m) {
780
780
  return this.logger.warn(`failed parsing options string in nesting for key ${l}`, m), `${l}${c}${p}`;
781
781
  }
782
- return r.defaultValue && r.defaultValue.indexOf(this.prefix) > -1 && delete r.defaultValue, l;
782
+ return n.defaultValue && n.defaultValue.indexOf(this.prefix) > -1 && delete n.defaultValue, l;
783
783
  };
784
784
  for (; i = this.nestingRegexp.exec(e); ) {
785
785
  let l = [];
786
- r = {
786
+ n = {
787
787
  ...s
788
- }, r = r.replace && !g(r.replace) ? r.replace : r, r.applyPostProcessor = !1, delete r.defaultValue;
788
+ }, n = n.replace && !g(n.replace) ? n.replace : n, n.applyPostProcessor = !1, delete n.defaultValue;
789
789
  const u = /{.*}/.test(i[1]) ? i[1].lastIndexOf("}") + 1 : i[1].indexOf(this.formatSeparator);
790
- if (u !== -1 && (l = i[1].slice(u).split(this.formatSeparator).map((c) => c.trim()).filter(Boolean), i[1] = i[1].slice(0, u)), n = t(o.call(this, i[1].trim(), r), r), n && i[0] === e && !g(n)) return n;
791
- g(n) || (n = ne(n)), n || (this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`), n = ""), l.length && (n = l.reduce((c, f) => this.format(c, f, s.lng, {
790
+ if (u !== -1 && (l = i[1].slice(u).split(this.formatSeparator).map((c) => c.trim()).filter(Boolean), i[1] = i[1].slice(0, u)), r = t(o.call(this, i[1].trim(), n), n), r && i[0] === e && !g(r)) return r;
791
+ g(r) || (r = re(r)), r || (this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`), r = ""), l.length && (r = l.reduce((c, f) => this.format(c, f, s.lng, {
792
792
  ...s,
793
793
  interpolationkey: i[1].trim()
794
- }), n.trim())), e = e.replace(i[0], n), this.regexp.lastIndex = 0;
794
+ }), r.trim())), e = e.replace(i[0], r), this.regexp.lastIndex = 0;
795
795
  }
796
796
  return e;
797
797
  }
@@ -803,9 +803,9 @@ const Ve = (a) => {
803
803
  const s = a.split("(");
804
804
  e = s[0].toLowerCase().trim();
805
805
  const i = s[1].substring(0, s[1].length - 1);
806
- e === "currency" && i.indexOf(":") < 0 ? t.currency || (t.currency = i.trim()) : e === "relativetime" && i.indexOf(":") < 0 ? t.range || (t.range = i.trim()) : i.split(";").forEach((r) => {
807
- if (r) {
808
- const [o, ...l] = r.split(":"), u = l.join(":").trim().replace(/^'+|'+$/g, ""), c = o.trim();
806
+ e === "currency" && i.indexOf(":") < 0 ? t.currency || (t.currency = i.trim()) : e === "relativetime" && i.indexOf(":") < 0 ? t.range || (t.range = i.trim()) : i.split(";").forEach((n) => {
807
+ if (n) {
808
+ const [o, ...l] = n.split(":"), u = l.join(":").trim().replace(/^'+|'+$/g, ""), c = o.trim();
809
809
  t[c] || (t[c] = u), u === "false" && (t[c] = !1), u === "true" && (t[c] = !0), isNaN(u) || (t[c] = parseInt(u, 10));
810
810
  }
811
811
  });
@@ -817,14 +817,14 @@ const Ve = (a) => {
817
817
  }, ge = (a) => {
818
818
  const e = {};
819
819
  return (t, s, i) => {
820
- let n = i;
821
- i && i.interpolationkey && i.formatParams && i.formatParams[i.interpolationkey] && i[i.interpolationkey] && (n = {
822
- ...n,
820
+ let r = i;
821
+ i && i.interpolationkey && i.formatParams && i.formatParams[i.interpolationkey] && i[i.interpolationkey] && (r = {
822
+ ...r,
823
823
  [i.interpolationkey]: void 0
824
824
  });
825
- const r = s + JSON.stringify(n);
826
- let o = e[r];
827
- return o || (o = a(M(s), i), e[r] = o), o(t);
825
+ const n = s + JSON.stringify(r);
826
+ let o = e[n];
827
+ return o || (o = a(M(s), i), e[n] = o), o(t);
828
828
  };
829
829
  }, De = (a) => (e, t, s) => a(M(t), s)(e);
830
830
  class Ae {
@@ -837,36 +837,36 @@ class Ae {
837
837
  this.formatSeparator = t.interpolation.formatSeparator || ",";
838
838
  const s = t.cacheInBuiltFormats ? ge : De;
839
839
  this.formats = {
840
- number: s((i, n) => {
841
- const r = new Intl.NumberFormat(i, {
842
- ...n
840
+ number: s((i, r) => {
841
+ const n = new Intl.NumberFormat(i, {
842
+ ...r
843
843
  });
844
- return (o) => r.format(o);
844
+ return (o) => n.format(o);
845
845
  }),
846
- currency: s((i, n) => {
847
- const r = new Intl.NumberFormat(i, {
848
- ...n,
846
+ currency: s((i, r) => {
847
+ const n = new Intl.NumberFormat(i, {
848
+ ...r,
849
849
  style: "currency"
850
850
  });
851
- return (o) => r.format(o);
851
+ return (o) => n.format(o);
852
852
  }),
853
- datetime: s((i, n) => {
854
- const r = new Intl.DateTimeFormat(i, {
855
- ...n
853
+ datetime: s((i, r) => {
854
+ const n = new Intl.DateTimeFormat(i, {
855
+ ...r
856
856
  });
857
- return (o) => r.format(o);
857
+ return (o) => n.format(o);
858
858
  }),
859
- relativetime: s((i, n) => {
860
- const r = new Intl.RelativeTimeFormat(i, {
861
- ...n
859
+ relativetime: s((i, r) => {
860
+ const n = new Intl.RelativeTimeFormat(i, {
861
+ ...r
862
862
  });
863
- return (o) => r.format(o, n.range || "day");
863
+ return (o) => n.format(o, r.range || "day");
864
864
  }),
865
- list: s((i, n) => {
866
- const r = new Intl.ListFormat(i, {
867
- ...n
865
+ list: s((i, r) => {
866
+ const n = new Intl.ListFormat(i, {
867
+ ...r
868
868
  });
869
- return (o) => r.format(o);
869
+ return (o) => n.format(o);
870
870
  })
871
871
  };
872
872
  }
@@ -877,12 +877,12 @@ class Ae {
877
877
  this.formats[e.toLowerCase().trim()] = ge(t);
878
878
  }
879
879
  format(e, t, s, i = {}) {
880
- const n = t.split(this.formatSeparator);
881
- if (n.length > 1 && n[0].indexOf("(") > 1 && n[0].indexOf(")") < 0 && n.find((o) => o.indexOf(")") > -1)) {
882
- const o = n.findIndex((l) => l.indexOf(")") > -1);
883
- n[0] = [n[0], ...n.splice(1, o)].join(this.formatSeparator);
880
+ const r = t.split(this.formatSeparator);
881
+ if (r.length > 1 && r[0].indexOf("(") > 1 && r[0].indexOf(")") < 0 && r.find((o) => o.indexOf(")") > -1)) {
882
+ const o = r.findIndex((l) => l.indexOf(")") > -1);
883
+ r[0] = [r[0], ...r.splice(1, o)].join(this.formatSeparator);
884
884
  }
885
- return n.reduce((o, l) => {
885
+ return r.reduce((o, l) => {
886
886
  var f;
887
887
  const {
888
888
  formatName: u,
@@ -912,38 +912,38 @@ const Ke = (a, e) => {
912
912
  };
913
913
  class Ue extends G {
914
914
  constructor(e, t, s, i = {}) {
915
- var n, r;
916
- super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = i, this.logger = R.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = i.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = i.maxRetries >= 0 ? i.maxRetries : 5, this.retryTimeout = i.retryTimeout >= 1 ? i.retryTimeout : 350, this.state = {}, this.queue = [], (r = (n = this.backend) == null ? void 0 : n.init) == null || r.call(n, s, i.backend, i);
915
+ var r, n;
916
+ super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = i, this.logger = R.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = i.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = i.maxRetries >= 0 ? i.maxRetries : 5, this.retryTimeout = i.retryTimeout >= 1 ? i.retryTimeout : 350, this.state = {}, this.queue = [], (n = (r = this.backend) == null ? void 0 : r.init) == null || n.call(r, s, i.backend, i);
917
917
  }
918
918
  queueLoad(e, t, s, i) {
919
- const n = {}, r = {}, o = {}, l = {};
919
+ const r = {}, n = {}, o = {}, l = {};
920
920
  return e.forEach((u) => {
921
921
  let c = !0;
922
922
  t.forEach((f) => {
923
923
  const p = `${u}|${f}`;
924
- !s.reload && this.store.hasResourceBundle(u, f) ? this.state[p] = 2 : this.state[p] < 0 || (this.state[p] === 1 ? r[p] === void 0 && (r[p] = !0) : (this.state[p] = 1, c = !1, r[p] === void 0 && (r[p] = !0), n[p] === void 0 && (n[p] = !0), l[f] === void 0 && (l[f] = !0)));
924
+ !s.reload && this.store.hasResourceBundle(u, f) ? this.state[p] = 2 : this.state[p] < 0 || (this.state[p] === 1 ? n[p] === void 0 && (n[p] = !0) : (this.state[p] = 1, c = !1, n[p] === void 0 && (n[p] = !0), r[p] === void 0 && (r[p] = !0), l[f] === void 0 && (l[f] = !0)));
925
925
  }), c || (o[u] = !0);
926
- }), (Object.keys(n).length || Object.keys(r).length) && this.queue.push({
927
- pending: r,
928
- pendingCount: Object.keys(r).length,
926
+ }), (Object.keys(r).length || Object.keys(n).length) && this.queue.push({
927
+ pending: n,
928
+ pendingCount: Object.keys(n).length,
929
929
  loaded: {},
930
930
  errors: [],
931
931
  callback: i
932
932
  }), {
933
- toLoad: Object.keys(n),
934
- pending: Object.keys(r),
933
+ toLoad: Object.keys(r),
934
+ pending: Object.keys(n),
935
935
  toLoadLanguages: Object.keys(o),
936
936
  toLoadNamespaces: Object.keys(l)
937
937
  };
938
938
  }
939
939
  loaded(e, t, s) {
940
- const i = e.split("|"), n = i[0], r = i[1];
941
- t && this.emit("failedLoading", n, r, t), !t && s && this.store.addResourceBundle(n, r, s, void 0, void 0, {
940
+ const i = e.split("|"), r = i[0], n = i[1];
941
+ t && this.emit("failedLoading", r, n, t), !t && s && this.store.addResourceBundle(r, n, s, void 0, void 0, {
942
942
  skipCopy: !0
943
943
  }), this.state[e] = t ? -1 : 2, t && s && (this.state[e] = 0);
944
944
  const o = {};
945
945
  this.queue.forEach((l) => {
946
- ve(l.loaded, [n], r), Ke(l, e), t && l.errors.push(t), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((u) => {
946
+ Ce(l.loaded, [r], n), Ke(l, e), t && l.errors.push(t), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((u) => {
947
947
  o[u] || (o[u] = {});
948
948
  const c = l.loaded[u];
949
949
  c.length && c.forEach((f) => {
@@ -952,16 +952,16 @@ class Ue extends G {
952
952
  }), l.done = !0, l.errors.length ? l.callback(l.errors) : l.callback());
953
953
  }), this.emit("loaded", o), this.queue = this.queue.filter((l) => !l.done);
954
954
  }
955
- read(e, t, s, i = 0, n = this.retryTimeout, r) {
956
- if (!e.length) return r(null, {});
955
+ read(e, t, s, i = 0, r = this.retryTimeout, n) {
956
+ if (!e.length) return n(null, {});
957
957
  if (this.readingCalls >= this.maxParallelReads) {
958
958
  this.waitingReads.push({
959
959
  lng: e,
960
960
  ns: t,
961
961
  fcName: s,
962
962
  tried: i,
963
- wait: n,
964
- callback: r
963
+ wait: r,
964
+ callback: n
965
965
  });
966
966
  return;
967
967
  }
@@ -973,11 +973,11 @@ class Ue extends G {
973
973
  }
974
974
  if (u && c && i < this.maxRetries) {
975
975
  setTimeout(() => {
976
- this.read.call(this, e, t, s, i + 1, n * 2, r);
977
- }, n);
976
+ this.read.call(this, e, t, s, i + 1, r * 2, n);
977
+ }, r);
978
978
  return;
979
979
  }
980
- r(u, c);
980
+ n(u, c);
981
981
  }, l = this.backend[s].bind(this.backend);
982
982
  if (l.length === 2) {
983
983
  try {
@@ -994,11 +994,11 @@ class Ue extends G {
994
994
  if (!this.backend)
995
995
  return this.logger.warn("No backend was added via i18next.use. Will not load resources."), i && i();
996
996
  g(e) && (e = this.languageUtils.toResolveHierarchy(e)), g(t) && (t = [t]);
997
- const n = this.queueLoad(e, t, s, i);
998
- if (!n.toLoad.length)
999
- return n.pending.length || i(), null;
1000
- n.toLoad.forEach((r) => {
1001
- this.loadOne(r);
997
+ const r = this.queueLoad(e, t, s, i);
998
+ if (!r.toLoad.length)
999
+ return r.pending.length || i(), null;
1000
+ r.toLoad.forEach((n) => {
1001
+ this.loadOne(n);
1002
1002
  });
1003
1003
  }
1004
1004
  load(e, t, s) {
@@ -1010,12 +1010,12 @@ class Ue extends G {
1010
1010
  }, s);
1011
1011
  }
1012
1012
  loadOne(e, t = "") {
1013
- const s = e.split("|"), i = s[0], n = s[1];
1014
- this.read(i, n, "read", void 0, void 0, (r, o) => {
1015
- r && this.logger.warn(`${t}loading namespace ${n} for language ${i} failed`, r), !r && o && this.logger.log(`${t}loaded namespace ${n} for language ${i}`, o), this.loaded(e, r, o);
1013
+ const s = e.split("|"), i = s[0], r = s[1];
1014
+ this.read(i, r, "read", void 0, void 0, (n, o) => {
1015
+ n && this.logger.warn(`${t}loading namespace ${r} for language ${i} failed`, n), !n && o && this.logger.log(`${t}loaded namespace ${r} for language ${i}`, o), this.loaded(e, n, o);
1016
1016
  });
1017
1017
  }
1018
- saveMissing(e, t, s, i, n, r = {}, o = () => {
1018
+ saveMissing(e, t, s, i, r, n = {}, o = () => {
1019
1019
  }) {
1020
1020
  var l, u, c, f, p;
1021
1021
  if ((u = (l = this.services) == null ? void 0 : l.utils) != null && u.hasLoadedNamespace && !((f = (c = this.services) == null ? void 0 : c.utils) != null && f.hasLoadedNamespace(t))) {
@@ -1025,8 +1025,8 @@ class Ue extends G {
1025
1025
  if (!(s == null || s === "")) {
1026
1026
  if ((p = this.backend) != null && p.create) {
1027
1027
  const d = {
1028
- ...r,
1029
- isUpdate: n
1028
+ ...n,
1029
+ isUpdate: r
1030
1030
  }, h = this.backend.create.bind(this.backend);
1031
1031
  if (h.length < 6)
1032
1032
  try {
@@ -1107,13 +1107,13 @@ const X = () => ({
1107
1107
  Object.getOwnPropertyNames(Object.getPrototypeOf(a)).forEach((t) => {
1108
1108
  typeof a[t] == "function" && (a[t] = a[t].bind(a));
1109
1109
  });
1110
- }, Oe = "__i18next_supportNoticeShown", Me = () => typeof globalThis < "u" && !!globalThis[Oe], ze = () => {
1111
- typeof globalThis < "u" && (globalThis[Oe] = !0);
1110
+ }, ve = "__i18next_supportNoticeShown", Me = () => !!(typeof globalThis < "u" && globalThis[ve] || typeof process < "u" && process.env && process.env.I18NEXT_NO_SUPPORT_NOTICE || typeof process < "u" && process.env), ze = () => {
1111
+ typeof globalThis < "u" && (globalThis[ve] = !0);
1112
1112
  }, Be = (a) => {
1113
- var e, t, s, i, n, r, o, l, u, c, f, p, d;
1114
- return !!(((s = (t = (e = a == null ? void 0 : a.modules) == null ? void 0 : e.backend) == null ? void 0 : t.name) == null ? void 0 : s.indexOf("Locize")) > 0 || ((o = (r = (n = (i = a == null ? void 0 : a.modules) == null ? void 0 : i.backend) == null ? void 0 : n.constructor) == null ? void 0 : r.name) == null ? void 0 : o.indexOf("Locize")) > 0 || (u = (l = a == null ? void 0 : a.options) == null ? void 0 : l.backend) != null && u.backends && a.options.backend.backends.some((h) => {
1115
- var m, x, O;
1116
- return ((m = h == null ? void 0 : h.name) == null ? void 0 : m.indexOf("Locize")) > 0 || ((O = (x = h == null ? void 0 : h.constructor) == null ? void 0 : x.name) == null ? void 0 : O.indexOf("Locize")) > 0;
1113
+ var e, t, s, i, r, n, o, l, u, c, f, p, d;
1114
+ return !!(((s = (t = (e = a == null ? void 0 : a.modules) == null ? void 0 : e.backend) == null ? void 0 : t.name) == null ? void 0 : s.indexOf("Locize")) > 0 || ((o = (n = (r = (i = a == null ? void 0 : a.modules) == null ? void 0 : i.backend) == null ? void 0 : r.constructor) == null ? void 0 : n.name) == null ? void 0 : o.indexOf("Locize")) > 0 || (u = (l = a == null ? void 0 : a.options) == null ? void 0 : l.backend) != null && u.backends && a.options.backend.backends.some((h) => {
1115
+ var m, x, v;
1116
+ return ((m = h == null ? void 0 : h.name) == null ? void 0 : m.indexOf("Locize")) > 0 || ((v = (x = h == null ? void 0 : h.constructor) == null ? void 0 : x.name) == null ? void 0 : v.indexOf("Locize")) > 0;
1117
1117
  }) || (f = (c = a == null ? void 0 : a.options) == null ? void 0 : c.backend) != null && f.projectId || (d = (p = a == null ? void 0 : a.options) == null ? void 0 : p.backend) != null && d.backendOptions && a.options.backend.backendOptions.some((h) => h == null ? void 0 : h.projectId));
1118
1118
  };
1119
1119
  class H extends G {
@@ -1169,7 +1169,7 @@ class H extends G {
1169
1169
  }), ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"].forEach((u) => {
1170
1170
  this[u] = (...c) => (this.store[u](...c), this);
1171
1171
  });
1172
- const o = A(), l = () => {
1172
+ const o = K(), l = () => {
1173
1173
  const u = (c, f) => {
1174
1174
  this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), o.resolve(f), t(c, f);
1175
1175
  };
@@ -1179,7 +1179,7 @@ class H extends G {
1179
1179
  return this.options.resources || !this.options.initAsync ? l() : setTimeout(l, 0), o;
1180
1180
  }
1181
1181
  loadResources(e, t = J) {
1182
- var n, r;
1182
+ var r, n;
1183
1183
  let s = t;
1184
1184
  const i = g(e) ? e : this.language;
1185
1185
  if (typeof e == "function" && (s = e), !this.options.resources || this.options.partialBundledLanguages) {
@@ -1190,16 +1190,16 @@ class H extends G {
1190
1190
  f !== "cimode" && o.indexOf(f) < 0 && o.push(f);
1191
1191
  });
1192
1192
  };
1193
- i ? l(i) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((c) => l(c)), (r = (n = this.options.preload) == null ? void 0 : n.forEach) == null || r.call(n, (u) => l(u)), this.services.backendConnector.load(o, this.options.ns, (u) => {
1193
+ i ? l(i) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((c) => l(c)), (n = (r = this.options.preload) == null ? void 0 : r.forEach) == null || n.call(r, (u) => l(u)), this.services.backendConnector.load(o, this.options.ns, (u) => {
1194
1194
  !u && !this.resolvedLanguage && this.language && this.setResolvedLanguage(this.language), s(u);
1195
1195
  });
1196
1196
  } else
1197
1197
  s(null);
1198
1198
  }
1199
1199
  reloadResources(e, t, s) {
1200
- const i = A();
1201
- return typeof e == "function" && (s = e, e = void 0), typeof t == "function" && (s = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), s || (s = J), this.services.backendConnector.reload(e, t, (n) => {
1202
- i.resolve(), s(n);
1200
+ const i = K();
1201
+ return typeof e == "function" && (s = e, e = void 0), typeof t == "function" && (s = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), s || (s = J), this.services.backendConnector.reload(e, t, (r) => {
1202
+ i.resolve(), s(r);
1203
1203
  }), i;
1204
1204
  }
1205
1205
  use(e) {
@@ -1221,37 +1221,36 @@ class H extends G {
1221
1221
  }
1222
1222
  changeLanguage(e, t) {
1223
1223
  this.isLanguageChangingTo = e;
1224
- const s = A();
1224
+ const s = K();
1225
1225
  this.emit("languageChanging", e);
1226
1226
  const i = (o) => {
1227
1227
  this.language = o, this.languages = this.services.languageUtils.toResolveHierarchy(o), this.resolvedLanguage = void 0, this.setResolvedLanguage(o);
1228
- }, n = (o, l) => {
1228
+ }, r = (o, l) => {
1229
1229
  l ? this.isLanguageChangingTo === e && (i(l), this.translator.changeLanguage(l), this.isLanguageChangingTo = void 0, this.emit("languageChanged", l), this.logger.log("languageChanged", l)) : this.isLanguageChangingTo = void 0, s.resolve((...u) => this.t(...u)), t && t(o, (...u) => this.t(...u));
1230
- }, r = (o) => {
1230
+ }, n = (o) => {
1231
1231
  var c, f;
1232
1232
  !e && !o && this.services.languageDetector && (o = []);
1233
1233
  const l = g(o) ? o : o && o[0], u = this.store.hasLanguageSomeTranslations(l) ? l : this.services.languageUtils.getBestMatchFromCodes(g(o) ? [o] : o);
1234
1234
  u && (this.language || i(u), this.translator.language || this.translator.changeLanguage(u), (f = (c = this.services.languageDetector) == null ? void 0 : c.cacheUserLanguage) == null || f.call(c, u)), this.loadResources(u, (p) => {
1235
- n(p, u);
1235
+ r(p, u);
1236
1236
  });
1237
1237
  };
1238
- return !e && this.services.languageDetector && !this.services.languageDetector.async ? r(this.services.languageDetector.detect()) : !e && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect.length === 0 ? this.services.languageDetector.detect().then(r) : this.services.languageDetector.detect(r) : r(e), s;
1238
+ return !e && this.services.languageDetector && !this.services.languageDetector.async ? n(this.services.languageDetector.detect()) : !e && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect.length === 0 ? this.services.languageDetector.detect().then(n) : this.services.languageDetector.detect(n) : n(e), s;
1239
1239
  }
1240
1240
  getFixedT(e, t, s) {
1241
- const i = (n, r, ...o) => {
1241
+ const i = (r, n, ...o) => {
1242
1242
  let l;
1243
- typeof r != "object" ? l = this.options.overloadTranslationOptionHandler([n, r].concat(o)) : l = {
1244
- ...r
1243
+ typeof n != "object" ? l = this.options.overloadTranslationOptionHandler([r, n].concat(o)) : l = {
1244
+ ...n
1245
1245
  }, l.lng = l.lng || i.lng, l.lngs = l.lngs || i.lngs, l.ns = l.ns || i.ns, l.keyPrefix !== "" && (l.keyPrefix = l.keyPrefix || s || i.keyPrefix);
1246
- const u = this.options.keySeparator || ".";
1247
- let c;
1248
- return l.keyPrefix && Array.isArray(n) ? c = n.map((f) => (typeof f == "function" && (f = U(f, {
1249
- ...this.options,
1250
- ...r
1251
- })), `${l.keyPrefix}${u}${f}`)) : (typeof n == "function" && (n = U(n, {
1246
+ const u = {
1252
1247
  ...this.options,
1253
- ...r
1254
- })), c = l.keyPrefix ? `${l.keyPrefix}${u}${n}` : n), this.t(c, l);
1248
+ ...l
1249
+ };
1250
+ typeof l.keyPrefix == "function" && (l.keyPrefix = T(l.keyPrefix, u));
1251
+ const c = this.options.keySeparator || ".";
1252
+ let f;
1253
+ return l.keyPrefix && Array.isArray(r) ? f = r.map((p) => (typeof p == "function" && (p = T(p, u)), `${l.keyPrefix}${c}${p}`)) : (typeof r == "function" && (r = T(r, u)), f = l.keyPrefix ? `${l.keyPrefix}${c}${r}` : r), this.t(f, l);
1255
1254
  };
1256
1255
  return g(e) ? i.lng = e : i.lngs = e, i.ns = t, i.keyPrefix = s, i;
1257
1256
  }
@@ -1271,20 +1270,20 @@ class H extends G {
1271
1270
  return this.logger.warn("hasLoadedNamespace: i18next was not initialized", this.languages), !1;
1272
1271
  if (!this.languages || !this.languages.length)
1273
1272
  return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1;
1274
- const s = t.lng || this.resolvedLanguage || this.languages[0], i = this.options ? this.options.fallbackLng : !1, n = this.languages[this.languages.length - 1];
1273
+ const s = t.lng || this.resolvedLanguage || this.languages[0], i = this.options ? this.options.fallbackLng : !1, r = this.languages[this.languages.length - 1];
1275
1274
  if (s.toLowerCase() === "cimode") return !0;
1276
- const r = (o, l) => {
1275
+ const n = (o, l) => {
1277
1276
  const u = this.services.backendConnector.state[`${o}|${l}`];
1278
1277
  return u === -1 || u === 0 || u === 2;
1279
1278
  };
1280
1279
  if (t.precheck) {
1281
- const o = t.precheck(this, r);
1280
+ const o = t.precheck(this, n);
1282
1281
  if (o !== void 0) return o;
1283
1282
  }
1284
- return !!(this.hasResourceBundle(s, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || r(s, e) && (!i || r(n, e)));
1283
+ return !!(this.hasResourceBundle(s, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || n(s, e) && (!i || n(r, e)));
1285
1284
  }
1286
1285
  loadNamespaces(e, t) {
1287
- const s = A();
1286
+ const s = K();
1288
1287
  return this.options.ns ? (g(e) && (e = [e]), e.forEach((i) => {
1289
1288
  this.options.ns.indexOf(i) < 0 && this.options.ns.push(i);
1290
1289
  }), this.loadResources((i) => {
@@ -1292,25 +1291,25 @@ class H extends G {
1292
1291
  }), s) : (t && t(), Promise.resolve());
1293
1292
  }
1294
1293
  loadLanguages(e, t) {
1295
- const s = A();
1294
+ const s = K();
1296
1295
  g(e) && (e = [e]);
1297
- const i = this.options.preload || [], n = e.filter((r) => i.indexOf(r) < 0 && this.services.languageUtils.isSupportedCode(r));
1298
- return n.length ? (this.options.preload = i.concat(n), this.loadResources((r) => {
1299
- s.resolve(), t && t(r);
1296
+ const i = this.options.preload || [], r = e.filter((n) => i.indexOf(n) < 0 && this.services.languageUtils.isSupportedCode(n));
1297
+ return r.length ? (this.options.preload = i.concat(r), this.loadResources((n) => {
1298
+ s.resolve(), t && t(n);
1300
1299
  }), s) : (t && t(), Promise.resolve());
1301
1300
  }
1302
1301
  dir(e) {
1303
- var i, n;
1302
+ var i, r;
1304
1303
  if (e || (e = this.resolvedLanguage || (((i = this.languages) == null ? void 0 : i.length) > 0 ? this.languages[0] : this.language)), !e) return "rtl";
1305
1304
  try {
1306
- const r = new Intl.Locale(e);
1307
- if (r && r.getTextInfo) {
1308
- const o = r.getTextInfo();
1305
+ const n = new Intl.Locale(e);
1306
+ if (n && n.getTextInfo) {
1307
+ const o = n.getTextInfo();
1309
1308
  if (o && o.direction) return o.direction;
1310
1309
  }
1311
1310
  } catch {
1312
1311
  }
1313
- const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], s = ((n = this.services) == null ? void 0 : n.languageUtils) || new fe(X());
1312
+ const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], s = ((r = this.services) == null ? void 0 : r.languageUtils) || new fe(X());
1314
1313
  return e.toLowerCase().indexOf("-latn") > 1 ? "ltr" : t.indexOf(s.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
1315
1314
  }
1316
1315
  static createInstance(e = {}, t) {
@@ -1324,20 +1323,20 @@ class H extends G {
1324
1323
  ...this.options,
1325
1324
  ...e,
1326
1325
  isClone: !0
1327
- }, n = new H(i);
1328
- if ((e.debug !== void 0 || e.prefix !== void 0) && (n.logger = n.logger.clone(e)), ["store", "services", "language"].forEach((o) => {
1329
- n[o] = this[o];
1330
- }), n.services = {
1326
+ }, r = new H(i);
1327
+ if ((e.debug !== void 0 || e.prefix !== void 0) && (r.logger = r.logger.clone(e)), ["store", "services", "language"].forEach((o) => {
1328
+ r[o] = this[o];
1329
+ }), r.services = {
1331
1330
  ...this.services
1332
- }, n.services.utils = {
1333
- hasLoadedNamespace: n.hasLoadedNamespace.bind(n)
1331
+ }, r.services.utils = {
1332
+ hasLoadedNamespace: r.hasLoadedNamespace.bind(r)
1334
1333
  }, s) {
1335
1334
  const o = Object.keys(this.store.data).reduce((l, u) => (l[u] = {
1336
1335
  ...this.store.data[u]
1337
1336
  }, l[u] = Object.keys(l[u]).reduce((c, f) => (c[f] = {
1338
1337
  ...l[u][f]
1339
1338
  }, c), l[u]), l), {});
1340
- n.store = new le(o, i), n.services.resourceStore = n.store;
1339
+ r.store = new le(o, i), r.services.resourceStore = r.store;
1341
1340
  }
1342
1341
  if (e.interpolation) {
1343
1342
  const l = {
@@ -1348,13 +1347,13 @@ class H extends G {
1348
1347
  ...i,
1349
1348
  interpolation: l
1350
1349
  };
1351
- n.services.interpolator = new pe(u);
1350
+ r.services.interpolator = new pe(u);
1352
1351
  }
1353
- return n.translator = new Y(n.services, i), n.translator.on("*", (o, ...l) => {
1354
- n.emit(o, ...l);
1355
- }), n.init(i, t), n.translator.options = i, n.translator.backendConnector.services.utils = {
1356
- hasLoadedNamespace: n.hasLoadedNamespace.bind(n)
1357
- }, n;
1352
+ return r.translator = new Y(r.services, i), r.translator.on("*", (o, ...l) => {
1353
+ r.emit(o, ...l);
1354
+ }), r.init(i, t), r.translator.options = i, r.translator.backendConnector.services.utils = {
1355
+ hasLoadedNamespace: r.hasLoadedNamespace.bind(r)
1356
+ }, r;
1358
1357
  }
1359
1358
  toJSON() {
1360
1359
  return {
@@ -1406,9 +1405,9 @@ const _e = (a) => {
1406
1405
  }), e;
1407
1406
  };
1408
1407
  export {
1409
- _e as a,
1410
- Je as b,
1411
- y as i,
1408
+ Je as a,
1409
+ y as b,
1410
+ _e as i,
1412
1411
  We as r
1413
1412
  };
1414
- //# sourceMappingURL=component.utils-CbnwaSi1.js.map
1413
+ //# sourceMappingURL=component.utils-CKQTC8YE.js.map