@intlayer/core 9.6.0 → 9.7.1

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 (569) hide show
  1. package/dist/cjs/_virtual/_rolldown/runtime.cjs +1 -2
  2. package/dist/cjs/deepTransformPlugins/getEditedContent.cjs +2 -3
  3. package/dist/cjs/deepTransformPlugins/getFilterMissingTranslationsContent.cjs +5 -6
  4. package/dist/cjs/deepTransformPlugins/getFilterTranslationsOnlyContent.cjs +4 -5
  5. package/dist/cjs/deepTransformPlugins/getFilteredLocalesContent.cjs +3 -4
  6. package/dist/cjs/deepTransformPlugins/getLocalizedContent.cjs +3 -4
  7. package/dist/cjs/deepTransformPlugins/getMaskContent.cjs +2 -3
  8. package/dist/cjs/deepTransformPlugins/getMissingLocalesContent.cjs +3 -4
  9. package/dist/cjs/deepTransformPlugins/getMultilingualDictionary.cjs +3 -4
  10. package/dist/cjs/deepTransformPlugins/getReplacedValuesContent.cjs +2 -3
  11. package/dist/cjs/deepTransformPlugins/getSplittedContent.cjs +2 -3
  12. package/dist/cjs/deepTransformPlugins/index.cjs +11 -11
  13. package/dist/cjs/deepTransformPlugins/insertContentInDictionary.cjs +2 -3
  14. package/dist/cjs/dictionaryManipulator/editDictionaryByKeyPath.cjs +2 -3
  15. package/dist/cjs/dictionaryManipulator/getContentNodeByKeyPath.cjs +7 -4
  16. package/dist/cjs/dictionaryManipulator/getContentNodeByKeyPath.cjs.map +1 -1
  17. package/dist/cjs/dictionaryManipulator/getDefaultNode.cjs +2 -3
  18. package/dist/cjs/dictionaryManipulator/getEmptyNode.cjs +2 -3
  19. package/dist/cjs/dictionaryManipulator/getNestedDictionaryReferences.cjs +1 -2
  20. package/dist/cjs/dictionaryManipulator/getNodeChildren.cjs +2 -3
  21. package/dist/cjs/dictionaryManipulator/getNodeType.cjs +3 -4
  22. package/dist/cjs/dictionaryManipulator/index.cjs +31 -21
  23. package/dist/cjs/dictionaryManipulator/mergeDictionaries.cjs +3 -4
  24. package/dist/cjs/dictionaryManipulator/mergeQualifiedDictionaries.cjs +4 -5
  25. package/dist/cjs/dictionaryManipulator/normalizeDictionary.cjs +4 -5
  26. package/dist/cjs/dictionaryManipulator/orderDictionaries.cjs +1 -2
  27. package/dist/cjs/dictionaryManipulator/plainDynamicLoader.cjs +1 -2
  28. package/dist/cjs/dictionaryManipulator/preloadedDynamicLoader.cjs +7 -3
  29. package/dist/cjs/dictionaryManipulator/qualifiedDictionary.cjs +1 -2
  30. package/dist/cjs/dictionaryManipulator/qualifiedDictionaryDeclaration.cjs +2 -3
  31. package/dist/cjs/dictionaryManipulator/qualifiedDynamicLoader.cjs +8 -4
  32. package/dist/cjs/dictionaryManipulator/removeContentNodeByKeyPath.cjs +2 -3
  33. package/dist/cjs/dictionaryManipulator/renameContentNodeByKeyPath.cjs +2 -3
  34. package/dist/cjs/dictionaryManipulator/updateNodeChildren.cjs +2 -3
  35. package/dist/cjs/formatters/compact.cjs +3 -5
  36. package/dist/cjs/formatters/compact.cjs.map +1 -1
  37. package/dist/cjs/formatters/currency.cjs +3 -5
  38. package/dist/cjs/formatters/currency.cjs.map +1 -1
  39. package/dist/cjs/formatters/date.cjs +3 -5
  40. package/dist/cjs/formatters/date.cjs.map +1 -1
  41. package/dist/cjs/formatters/index.cjs +9 -9
  42. package/dist/cjs/formatters/list.cjs +3 -5
  43. package/dist/cjs/formatters/list.cjs.map +1 -1
  44. package/dist/cjs/formatters/number.cjs +3 -5
  45. package/dist/cjs/formatters/number.cjs.map +1 -1
  46. package/dist/cjs/formatters/percentage.cjs +3 -5
  47. package/dist/cjs/formatters/percentage.cjs.map +1 -1
  48. package/dist/cjs/formatters/relativeTime.cjs +3 -5
  49. package/dist/cjs/formatters/relativeTime.cjs.map +1 -1
  50. package/dist/cjs/formatters/units.cjs +3 -5
  51. package/dist/cjs/formatters/units.cjs.map +1 -1
  52. package/dist/cjs/index.cjs +130 -119
  53. package/dist/cjs/interpreter/dictionaryTransformCache.cjs +1 -2
  54. package/dist/cjs/interpreter/getCondition.cjs +1 -2
  55. package/dist/cjs/interpreter/getContent/deepTransform.cjs +2 -3
  56. package/dist/cjs/interpreter/getContent/getContent.cjs +3 -4
  57. package/dist/cjs/interpreter/getContent/index.cjs +3 -3
  58. package/dist/cjs/interpreter/getContent/plugins.cjs +17 -16
  59. package/dist/cjs/interpreter/getContent/plugins.cjs.map +1 -1
  60. package/dist/cjs/interpreter/getDictionary.cjs +5 -6
  61. package/dist/cjs/interpreter/getDictionaryAsync.cjs +7 -8
  62. package/dist/cjs/interpreter/getEnumeration.cjs +1 -2
  63. package/dist/cjs/interpreter/getGender.cjs +1 -2
  64. package/dist/cjs/interpreter/getHTML.cjs +1 -2
  65. package/dist/cjs/interpreter/getInsertion.cjs +1 -2
  66. package/dist/cjs/interpreter/getIntlayer.cjs +2 -3
  67. package/dist/cjs/interpreter/getIntlayerAsync.cjs +3 -4
  68. package/dist/cjs/interpreter/getNesting.cjs +2 -3
  69. package/dist/cjs/interpreter/getNesting.optimized.cjs +2 -3
  70. package/dist/cjs/interpreter/getPlural.cjs +2 -3
  71. package/dist/cjs/interpreter/getSelect.cjs +1 -2
  72. package/dist/cjs/interpreter/getTranslation.cjs +1 -2
  73. package/dist/cjs/interpreter/index.cjs +20 -20
  74. package/dist/cjs/interpreter/interpolableNode.cjs +3 -4
  75. package/dist/cjs/interpreter/resolveInterpreterLocale.cjs +2 -3
  76. package/dist/cjs/interpreter/splitAndJoinInsertion.cjs +1 -2
  77. package/dist/cjs/localization/comparePaths.cjs +3 -4
  78. package/dist/cjs/localization/domainUtils.cjs +1 -2
  79. package/dist/cjs/localization/generateSitemap.cjs +4 -5
  80. package/dist/cjs/localization/getBrowserLocale.cjs +3 -4
  81. package/dist/cjs/localization/getCanonicalPath.cjs +2 -3
  82. package/dist/cjs/localization/getHTMLTextDir.cjs +1 -2
  83. package/dist/cjs/localization/getLocale.cjs +4 -5
  84. package/dist/cjs/localization/getLocaleFromPath.cjs +3 -4
  85. package/dist/cjs/localization/getLocaleFromRequest.cjs +5 -6
  86. package/dist/cjs/localization/getLocaleLang.cjs +1 -2
  87. package/dist/cjs/localization/getLocaleName.cjs +2 -3
  88. package/dist/cjs/localization/getLocalizedPath.cjs +6 -7
  89. package/dist/cjs/localization/getLocalizedUrl.cjs +5 -6
  90. package/dist/cjs/localization/getMultilingualUrls.cjs +3 -4
  91. package/dist/cjs/localization/getPathWithoutLocale.cjs +2 -3
  92. package/dist/cjs/localization/getPrefix.cjs +2 -3
  93. package/dist/cjs/localization/index.cjs +24 -24
  94. package/dist/cjs/localization/localeDetector.cjs +2 -3
  95. package/dist/cjs/localization/localeMapper.cjs +2 -3
  96. package/dist/cjs/localization/localeResolver.cjs +1 -2
  97. package/dist/cjs/localization/proxyMode.cjs +2 -3
  98. package/dist/cjs/localization/resolveBrowserLocale.cjs +5 -6
  99. package/dist/cjs/localization/rewriteMatch.cjs +1 -2
  100. package/dist/cjs/localization/rewriteUtils.cjs +3 -4
  101. package/dist/cjs/localization/validatePrefix.cjs +2 -3
  102. package/dist/cjs/markdown/compiler.cjs +6 -7
  103. package/dist/cjs/markdown/constants.cjs +6 -4
  104. package/dist/cjs/markdown/constants.cjs.map +1 -1
  105. package/dist/cjs/markdown/elementScanner.cjs +1 -2
  106. package/dist/cjs/markdown/index.cjs +8 -8
  107. package/dist/cjs/markdown/parser.cjs +3 -4
  108. package/dist/cjs/markdown/renderer.cjs +1 -2
  109. package/dist/cjs/markdown/utils.cjs +2 -3
  110. package/dist/cjs/messageFormat/ICU.cjs +9 -10
  111. package/dist/cjs/messageFormat/i18next.cjs +9 -10
  112. package/dist/cjs/messageFormat/index.cjs +6 -6
  113. package/dist/cjs/messageFormat/navigatePath.cjs +1 -2
  114. package/dist/cjs/messageFormat/po.cjs +8 -9
  115. package/dist/cjs/messageFormat/resolveMessage.cjs +9 -10
  116. package/dist/cjs/messageFormat/verify-icu-format.cjs +5 -6
  117. package/dist/cjs/messageFormat/vue-i18n.cjs +5 -6
  118. package/dist/cjs/transpiler/condition/condition.cjs +1 -2
  119. package/dist/cjs/transpiler/condition/index.cjs +1 -1
  120. package/dist/cjs/transpiler/enumeration/enumeration.cjs +1 -2
  121. package/dist/cjs/transpiler/enumeration/index.cjs +1 -1
  122. package/dist/cjs/transpiler/file/file.cjs +1 -2
  123. package/dist/cjs/transpiler/file/fileBrowser.cjs +1 -2
  124. package/dist/cjs/transpiler/file/index.cjs +1 -1
  125. package/dist/cjs/transpiler/gender/gender.cjs +1 -2
  126. package/dist/cjs/transpiler/gender/index.cjs +1 -1
  127. package/dist/cjs/transpiler/html/getHTMLCustomComponents.cjs +1 -2
  128. package/dist/cjs/transpiler/html/html.cjs +3 -4
  129. package/dist/cjs/transpiler/html/htmlTags.cjs +1 -2
  130. package/dist/cjs/transpiler/html/index.cjs +3 -3
  131. package/dist/cjs/transpiler/html/validateHTML.cjs +1 -2
  132. package/dist/cjs/transpiler/index.cjs +16 -15
  133. package/dist/cjs/transpiler/insertion/getInsertionValues.cjs +1 -2
  134. package/dist/cjs/transpiler/insertion/index.cjs +2 -2
  135. package/dist/cjs/transpiler/insertion/insertion.cjs +2 -3
  136. package/dist/cjs/transpiler/markdown/getMarkdownMetadata.cjs +2 -3
  137. package/dist/cjs/transpiler/markdown/index.cjs +3 -3
  138. package/dist/cjs/transpiler/markdown/markdown.cjs +5 -6
  139. package/dist/cjs/transpiler/markdown/validateMarkdown.cjs +2 -3
  140. package/dist/cjs/transpiler/nesting/index.cjs +1 -1
  141. package/dist/cjs/transpiler/nesting/nesting.cjs +1 -2
  142. package/dist/cjs/transpiler/plural/index.cjs +2 -1
  143. package/dist/cjs/transpiler/plural/plural.cjs +21 -3
  144. package/dist/cjs/transpiler/plural/plural.cjs.map +1 -1
  145. package/dist/cjs/transpiler/select/index.cjs +1 -1
  146. package/dist/cjs/transpiler/select/select.cjs +1 -2
  147. package/dist/cjs/transpiler/translation/index.cjs +1 -1
  148. package/dist/cjs/transpiler/translation/translation.cjs +1 -2
  149. package/dist/cjs/utils/checkIsURLAbsolute.cjs +1 -2
  150. package/dist/cjs/utils/cookieExpiry.cjs +1 -2
  151. package/dist/cjs/utils/getCookie.cjs +1 -2
  152. package/dist/cjs/utils/index.cjs +9 -9
  153. package/dist/cjs/utils/intl.cjs +3 -29
  154. package/dist/cjs/utils/intl.cjs.map +1 -1
  155. package/dist/cjs/utils/intlayerNodePrototype.cjs +1 -2
  156. package/dist/cjs/utils/isSameKeyPath.cjs +1 -2
  157. package/dist/cjs/utils/isValidReactElement.cjs +1 -2
  158. package/dist/cjs/utils/localeStorage.cjs +3 -4
  159. package/dist/cjs/utils/parseYaml.cjs +1 -2
  160. package/dist/cjs/utils/stringifyYaml.cjs +1 -2
  161. package/dist/esm/deepTransformPlugins/getEditedContent.mjs +1 -2
  162. package/dist/esm/deepTransformPlugins/getFilterMissingTranslationsContent.mjs +2 -3
  163. package/dist/esm/deepTransformPlugins/getFilterTranslationsOnlyContent.mjs +2 -3
  164. package/dist/esm/deepTransformPlugins/getFilteredLocalesContent.mjs +1 -2
  165. package/dist/esm/deepTransformPlugins/getLocalizedContent.mjs +2 -3
  166. package/dist/esm/deepTransformPlugins/getMaskContent.mjs +1 -2
  167. package/dist/esm/deepTransformPlugins/getMissingLocalesContent.mjs +1 -2
  168. package/dist/esm/deepTransformPlugins/getMultilingualDictionary.mjs +1 -2
  169. package/dist/esm/deepTransformPlugins/getReplacedValuesContent.mjs +1 -2
  170. package/dist/esm/deepTransformPlugins/getSplittedContent.mjs +1 -2
  171. package/dist/esm/deepTransformPlugins/insertContentInDictionary.mjs +1 -2
  172. package/dist/esm/dictionaryManipulator/editDictionaryByKeyPath.mjs +1 -2
  173. package/dist/esm/dictionaryManipulator/getContentNodeByKeyPath.mjs +6 -3
  174. package/dist/esm/dictionaryManipulator/getContentNodeByKeyPath.mjs.map +1 -1
  175. package/dist/esm/dictionaryManipulator/getDefaultNode.mjs +1 -2
  176. package/dist/esm/dictionaryManipulator/getEmptyNode.mjs +1 -2
  177. package/dist/esm/dictionaryManipulator/getNestedDictionaryReferences.mjs +1 -2
  178. package/dist/esm/dictionaryManipulator/getNodeChildren.mjs +1 -2
  179. package/dist/esm/dictionaryManipulator/getNodeType.mjs +1 -2
  180. package/dist/esm/dictionaryManipulator/index.mjs +6 -6
  181. package/dist/esm/dictionaryManipulator/mergeDictionaries.mjs +1 -2
  182. package/dist/esm/dictionaryManipulator/mergeQualifiedDictionaries.mjs +2 -3
  183. package/dist/esm/dictionaryManipulator/normalizeDictionary.mjs +2 -3
  184. package/dist/esm/dictionaryManipulator/orderDictionaries.mjs +1 -2
  185. package/dist/esm/dictionaryManipulator/plainDynamicLoader.mjs +1 -2
  186. package/dist/esm/dictionaryManipulator/preloadedDynamicLoader.mjs +1 -2
  187. package/dist/esm/dictionaryManipulator/qualifiedDictionary.mjs +1 -2
  188. package/dist/esm/dictionaryManipulator/qualifiedDictionaryDeclaration.mjs +1 -2
  189. package/dist/esm/dictionaryManipulator/qualifiedDynamicLoader.mjs +1 -2
  190. package/dist/esm/dictionaryManipulator/removeContentNodeByKeyPath.mjs +1 -2
  191. package/dist/esm/dictionaryManipulator/renameContentNodeByKeyPath.mjs +1 -2
  192. package/dist/esm/dictionaryManipulator/updateNodeChildren.mjs +1 -2
  193. package/dist/esm/formatters/compact.mjs +2 -4
  194. package/dist/esm/formatters/compact.mjs.map +1 -1
  195. package/dist/esm/formatters/currency.mjs +2 -4
  196. package/dist/esm/formatters/currency.mjs.map +1 -1
  197. package/dist/esm/formatters/date.mjs +2 -4
  198. package/dist/esm/formatters/date.mjs.map +1 -1
  199. package/dist/esm/formatters/list.mjs +2 -4
  200. package/dist/esm/formatters/list.mjs.map +1 -1
  201. package/dist/esm/formatters/number.mjs +2 -4
  202. package/dist/esm/formatters/number.mjs.map +1 -1
  203. package/dist/esm/formatters/percentage.mjs +2 -4
  204. package/dist/esm/formatters/percentage.mjs.map +1 -1
  205. package/dist/esm/formatters/relativeTime.mjs +2 -4
  206. package/dist/esm/formatters/relativeTime.mjs.map +1 -1
  207. package/dist/esm/formatters/units.mjs +2 -4
  208. package/dist/esm/formatters/units.mjs.map +1 -1
  209. package/dist/esm/index.mjs +2 -2
  210. package/dist/esm/interpreter/dictionaryTransformCache.mjs +1 -2
  211. package/dist/esm/interpreter/getCondition.mjs +1 -2
  212. package/dist/esm/interpreter/getContent/deepTransform.mjs +1 -2
  213. package/dist/esm/interpreter/getContent/getContent.mjs +1 -2
  214. package/dist/esm/interpreter/getContent/index.mjs +1 -1
  215. package/dist/esm/interpreter/getContent/plugins.mjs +6 -5
  216. package/dist/esm/interpreter/getContent/plugins.mjs.map +1 -1
  217. package/dist/esm/interpreter/getDictionary.mjs +3 -4
  218. package/dist/esm/interpreter/getDictionaryAsync.mjs +5 -6
  219. package/dist/esm/interpreter/getEnumeration.mjs +1 -2
  220. package/dist/esm/interpreter/getGender.mjs +1 -2
  221. package/dist/esm/interpreter/getHTML.mjs +1 -2
  222. package/dist/esm/interpreter/getInsertion.mjs +1 -2
  223. package/dist/esm/interpreter/getIntlayer.mjs +1 -2
  224. package/dist/esm/interpreter/getIntlayerAsync.mjs +2 -3
  225. package/dist/esm/interpreter/getNesting.mjs +1 -2
  226. package/dist/esm/interpreter/getNesting.optimized.mjs +1 -2
  227. package/dist/esm/interpreter/getPlural.mjs +1 -2
  228. package/dist/esm/interpreter/getSelect.mjs +1 -2
  229. package/dist/esm/interpreter/getTranslation.mjs +1 -2
  230. package/dist/esm/interpreter/index.mjs +7 -7
  231. package/dist/esm/interpreter/interpolableNode.mjs +1 -2
  232. package/dist/esm/interpreter/resolveInterpreterLocale.mjs +1 -2
  233. package/dist/esm/interpreter/splitAndJoinInsertion.mjs +1 -2
  234. package/dist/esm/localization/comparePaths.mjs +1 -2
  235. package/dist/esm/localization/domainUtils.mjs +1 -2
  236. package/dist/esm/localization/generateSitemap.mjs +2 -3
  237. package/dist/esm/localization/getBrowserLocale.mjs +1 -2
  238. package/dist/esm/localization/getCanonicalPath.mjs +1 -2
  239. package/dist/esm/localization/getHTMLTextDir.mjs +1 -2
  240. package/dist/esm/localization/getLocale.mjs +2 -3
  241. package/dist/esm/localization/getLocaleFromPath.mjs +1 -2
  242. package/dist/esm/localization/getLocaleFromRequest.mjs +2 -3
  243. package/dist/esm/localization/getLocaleLang.mjs +1 -2
  244. package/dist/esm/localization/getLocaleName.mjs +1 -2
  245. package/dist/esm/localization/getLocalizedPath.mjs +3 -4
  246. package/dist/esm/localization/getLocalizedUrl.mjs +2 -3
  247. package/dist/esm/localization/getMultilingualUrls.mjs +2 -3
  248. package/dist/esm/localization/getPathWithoutLocale.mjs +1 -2
  249. package/dist/esm/localization/getPrefix.mjs +1 -2
  250. package/dist/esm/localization/index.mjs +10 -10
  251. package/dist/esm/localization/localeDetector.mjs +1 -2
  252. package/dist/esm/localization/localeMapper.mjs +1 -2
  253. package/dist/esm/localization/localeResolver.mjs +1 -2
  254. package/dist/esm/localization/proxyMode.mjs +1 -2
  255. package/dist/esm/localization/resolveBrowserLocale.mjs +2 -3
  256. package/dist/esm/localization/rewriteMatch.mjs +1 -2
  257. package/dist/esm/localization/rewriteUtils.mjs +2 -3
  258. package/dist/esm/localization/validatePrefix.mjs +1 -2
  259. package/dist/esm/markdown/compiler.mjs +2 -3
  260. package/dist/esm/markdown/constants.mjs +6 -4
  261. package/dist/esm/markdown/constants.mjs.map +1 -1
  262. package/dist/esm/markdown/elementScanner.mjs +1 -2
  263. package/dist/esm/markdown/index.mjs +2 -2
  264. package/dist/esm/markdown/parser.mjs +1 -2
  265. package/dist/esm/markdown/renderer.mjs +1 -2
  266. package/dist/esm/markdown/utils.mjs +1 -2
  267. package/dist/esm/messageFormat/ICU.mjs +1 -2
  268. package/dist/esm/messageFormat/i18next.mjs +1 -2
  269. package/dist/esm/messageFormat/index.mjs +1 -1
  270. package/dist/esm/messageFormat/navigatePath.mjs +1 -2
  271. package/dist/esm/messageFormat/po.mjs +1 -2
  272. package/dist/esm/messageFormat/resolveMessage.mjs +2 -3
  273. package/dist/esm/messageFormat/verify-icu-format.mjs +1 -2
  274. package/dist/esm/messageFormat/vue-i18n.mjs +1 -2
  275. package/dist/esm/transpiler/condition/condition.mjs +1 -2
  276. package/dist/esm/transpiler/enumeration/enumeration.mjs +1 -2
  277. package/dist/esm/transpiler/file/file.mjs +1 -2
  278. package/dist/esm/transpiler/file/fileBrowser.mjs +1 -2
  279. package/dist/esm/transpiler/gender/gender.mjs +1 -2
  280. package/dist/esm/transpiler/html/getHTMLCustomComponents.mjs +1 -2
  281. package/dist/esm/transpiler/html/html.mjs +1 -2
  282. package/dist/esm/transpiler/html/htmlTags.mjs +1 -2
  283. package/dist/esm/transpiler/html/index.mjs +1 -1
  284. package/dist/esm/transpiler/html/validateHTML.mjs +1 -2
  285. package/dist/esm/transpiler/index.mjs +2 -2
  286. package/dist/esm/transpiler/insertion/getInsertionValues.mjs +1 -2
  287. package/dist/esm/transpiler/insertion/insertion.mjs +1 -2
  288. package/dist/esm/transpiler/markdown/getMarkdownMetadata.mjs +1 -2
  289. package/dist/esm/transpiler/markdown/index.mjs +1 -1
  290. package/dist/esm/transpiler/markdown/markdown.mjs +1 -2
  291. package/dist/esm/transpiler/markdown/validateMarkdown.mjs +1 -2
  292. package/dist/esm/transpiler/nesting/nesting.mjs +1 -2
  293. package/dist/esm/transpiler/plural/index.mjs +2 -2
  294. package/dist/esm/transpiler/plural/plural.mjs +21 -4
  295. package/dist/esm/transpiler/plural/plural.mjs.map +1 -1
  296. package/dist/esm/transpiler/select/select.mjs +1 -2
  297. package/dist/esm/transpiler/translation/translation.mjs +1 -2
  298. package/dist/esm/utils/checkIsURLAbsolute.mjs +1 -2
  299. package/dist/esm/utils/cookieExpiry.mjs +1 -2
  300. package/dist/esm/utils/getCookie.mjs +1 -2
  301. package/dist/esm/utils/index.mjs +4 -4
  302. package/dist/esm/utils/intl.mjs +3 -29
  303. package/dist/esm/utils/intl.mjs.map +1 -1
  304. package/dist/esm/utils/intlayerNodePrototype.mjs +1 -2
  305. package/dist/esm/utils/isSameKeyPath.mjs +1 -2
  306. package/dist/esm/utils/isValidReactElement.mjs +1 -2
  307. package/dist/esm/utils/localeStorage.mjs +1 -2
  308. package/dist/esm/utils/parseYaml.mjs +1 -2
  309. package/dist/esm/utils/stringifyYaml.mjs +1 -2
  310. package/dist/types/deepTransformPlugins/getEditedContent.d.ts +0 -2
  311. package/dist/types/deepTransformPlugins/getEditedContent.d.ts.map +1 -1
  312. package/dist/types/deepTransformPlugins/getFilterMissingTranslationsContent.d.ts +0 -2
  313. package/dist/types/deepTransformPlugins/getFilterMissingTranslationsContent.d.ts.map +1 -1
  314. package/dist/types/deepTransformPlugins/getFilterTranslationsOnlyContent.d.ts +0 -2
  315. package/dist/types/deepTransformPlugins/getFilterTranslationsOnlyContent.d.ts.map +1 -1
  316. package/dist/types/deepTransformPlugins/getFilteredLocalesContent.d.ts +0 -2
  317. package/dist/types/deepTransformPlugins/getFilteredLocalesContent.d.ts.map +1 -1
  318. package/dist/types/deepTransformPlugins/getLocalizedContent.d.ts +0 -2
  319. package/dist/types/deepTransformPlugins/getLocalizedContent.d.ts.map +1 -1
  320. package/dist/types/deepTransformPlugins/getMaskContent.d.ts +0 -2
  321. package/dist/types/deepTransformPlugins/getMaskContent.d.ts.map +1 -1
  322. package/dist/types/deepTransformPlugins/getMissingLocalesContent.d.ts +0 -2
  323. package/dist/types/deepTransformPlugins/getMissingLocalesContent.d.ts.map +1 -1
  324. package/dist/types/deepTransformPlugins/getMultilingualDictionary.d.ts +0 -2
  325. package/dist/types/deepTransformPlugins/getMultilingualDictionary.d.ts.map +1 -1
  326. package/dist/types/deepTransformPlugins/getReplacedValuesContent.d.ts +0 -2
  327. package/dist/types/deepTransformPlugins/getReplacedValuesContent.d.ts.map +1 -1
  328. package/dist/types/deepTransformPlugins/getSplittedContent.d.ts +1 -2
  329. package/dist/types/deepTransformPlugins/getSplittedContent.d.ts.map +1 -1
  330. package/dist/types/deepTransformPlugins/index.d.ts +1 -1
  331. package/dist/types/deepTransformPlugins/insertContentInDictionary.d.ts +0 -2
  332. package/dist/types/deepTransformPlugins/insertContentInDictionary.d.ts.map +1 -1
  333. package/dist/types/dictionaryManipulator/editDictionaryByKeyPath.d.ts +0 -2
  334. package/dist/types/dictionaryManipulator/editDictionaryByKeyPath.d.ts.map +1 -1
  335. package/dist/types/dictionaryManipulator/getContentNodeByKeyPath.d.ts +0 -2
  336. package/dist/types/dictionaryManipulator/getContentNodeByKeyPath.d.ts.map +1 -1
  337. package/dist/types/dictionaryManipulator/getDefaultNode.d.ts +0 -2
  338. package/dist/types/dictionaryManipulator/getDefaultNode.d.ts.map +1 -1
  339. package/dist/types/dictionaryManipulator/getEmptyNode.d.ts +0 -2
  340. package/dist/types/dictionaryManipulator/getEmptyNode.d.ts.map +1 -1
  341. package/dist/types/dictionaryManipulator/getNestedDictionaryReferences.d.ts +0 -2
  342. package/dist/types/dictionaryManipulator/getNestedDictionaryReferences.d.ts.map +1 -1
  343. package/dist/types/dictionaryManipulator/getNodeChildren.d.ts +0 -2
  344. package/dist/types/dictionaryManipulator/getNodeChildren.d.ts.map +1 -1
  345. package/dist/types/dictionaryManipulator/getNodeType.d.ts +0 -2
  346. package/dist/types/dictionaryManipulator/getNodeType.d.ts.map +1 -1
  347. package/dist/types/dictionaryManipulator/index.d.ts +2 -2
  348. package/dist/types/dictionaryManipulator/mergeDictionaries.d.ts +0 -2
  349. package/dist/types/dictionaryManipulator/mergeDictionaries.d.ts.map +1 -1
  350. package/dist/types/dictionaryManipulator/mergeQualifiedDictionaries.d.ts +0 -2
  351. package/dist/types/dictionaryManipulator/mergeQualifiedDictionaries.d.ts.map +1 -1
  352. package/dist/types/dictionaryManipulator/normalizeDictionary.d.ts +0 -2
  353. package/dist/types/dictionaryManipulator/normalizeDictionary.d.ts.map +1 -1
  354. package/dist/types/dictionaryManipulator/orderDictionaries.d.ts +0 -2
  355. package/dist/types/dictionaryManipulator/orderDictionaries.d.ts.map +1 -1
  356. package/dist/types/dictionaryManipulator/plainDynamicLoader.d.ts +0 -2
  357. package/dist/types/dictionaryManipulator/plainDynamicLoader.d.ts.map +1 -1
  358. package/dist/types/dictionaryManipulator/preloadedDynamicLoader.d.ts +0 -2
  359. package/dist/types/dictionaryManipulator/preloadedDynamicLoader.d.ts.map +1 -1
  360. package/dist/types/dictionaryManipulator/qualifiedDictionary.d.ts +0 -2
  361. package/dist/types/dictionaryManipulator/qualifiedDictionary.d.ts.map +1 -1
  362. package/dist/types/dictionaryManipulator/qualifiedDictionaryDeclaration.d.ts +0 -2
  363. package/dist/types/dictionaryManipulator/qualifiedDictionaryDeclaration.d.ts.map +1 -1
  364. package/dist/types/dictionaryManipulator/qualifiedDynamicLoader.d.ts +0 -2
  365. package/dist/types/dictionaryManipulator/qualifiedDynamicLoader.d.ts.map +1 -1
  366. package/dist/types/dictionaryManipulator/removeContentNodeByKeyPath.d.ts +0 -2
  367. package/dist/types/dictionaryManipulator/removeContentNodeByKeyPath.d.ts.map +1 -1
  368. package/dist/types/dictionaryManipulator/renameContentNodeByKeyPath.d.ts +0 -2
  369. package/dist/types/dictionaryManipulator/renameContentNodeByKeyPath.d.ts.map +1 -1
  370. package/dist/types/dictionaryManipulator/updateNodeChildren.d.ts +0 -2
  371. package/dist/types/dictionaryManipulator/updateNodeChildren.d.ts.map +1 -1
  372. package/dist/types/formatters/compact.d.ts +0 -2
  373. package/dist/types/formatters/compact.d.ts.map +1 -1
  374. package/dist/types/formatters/currency.d.ts +0 -2
  375. package/dist/types/formatters/currency.d.ts.map +1 -1
  376. package/dist/types/formatters/date.d.ts +0 -2
  377. package/dist/types/formatters/date.d.ts.map +1 -1
  378. package/dist/types/formatters/index.d.ts +1 -1
  379. package/dist/types/formatters/list.d.ts +0 -2
  380. package/dist/types/formatters/list.d.ts.map +1 -1
  381. package/dist/types/formatters/number.d.ts +0 -2
  382. package/dist/types/formatters/number.d.ts.map +1 -1
  383. package/dist/types/formatters/percentage.d.ts +0 -2
  384. package/dist/types/formatters/percentage.d.ts.map +1 -1
  385. package/dist/types/formatters/relativeTime.d.ts +1 -2
  386. package/dist/types/formatters/relativeTime.d.ts.map +1 -1
  387. package/dist/types/formatters/units.d.ts +0 -2
  388. package/dist/types/formatters/units.d.ts.map +1 -1
  389. package/dist/types/index.d.ts +10 -10
  390. package/dist/types/interpreter/dictionaryTransformCache.d.ts +0 -2
  391. package/dist/types/interpreter/dictionaryTransformCache.d.ts.map +1 -1
  392. package/dist/types/interpreter/getCondition.d.ts +0 -2
  393. package/dist/types/interpreter/getCondition.d.ts.map +1 -1
  394. package/dist/types/interpreter/getContent/deepTransform.d.ts +0 -2
  395. package/dist/types/interpreter/getContent/deepTransform.d.ts.map +1 -1
  396. package/dist/types/interpreter/getContent/getContent.d.ts +0 -2
  397. package/dist/types/interpreter/getContent/getContent.d.ts.map +1 -1
  398. package/dist/types/interpreter/getContent/index.d.ts +1 -1
  399. package/dist/types/interpreter/getContent/plugins.d.ts +8 -5
  400. package/dist/types/interpreter/getContent/plugins.d.ts.map +1 -1
  401. package/dist/types/interpreter/getDictionary.d.ts +0 -2
  402. package/dist/types/interpreter/getDictionary.d.ts.map +1 -1
  403. package/dist/types/interpreter/getDictionaryAsync.d.ts +1 -3
  404. package/dist/types/interpreter/getDictionaryAsync.d.ts.map +1 -1
  405. package/dist/types/interpreter/getEnumeration.d.ts +0 -2
  406. package/dist/types/interpreter/getEnumeration.d.ts.map +1 -1
  407. package/dist/types/interpreter/getGender.d.ts +1 -2
  408. package/dist/types/interpreter/getGender.d.ts.map +1 -1
  409. package/dist/types/interpreter/getHTML.d.ts +1 -2
  410. package/dist/types/interpreter/getHTML.d.ts.map +1 -1
  411. package/dist/types/interpreter/getInsertion.d.ts +0 -2
  412. package/dist/types/interpreter/getInsertion.d.ts.map +1 -1
  413. package/dist/types/interpreter/getIntlayer.d.ts +0 -2
  414. package/dist/types/interpreter/getIntlayer.d.ts.map +1 -1
  415. package/dist/types/interpreter/getIntlayerAsync.d.ts +0 -2
  416. package/dist/types/interpreter/getIntlayerAsync.d.ts.map +1 -1
  417. package/dist/types/interpreter/getNesting.d.ts +0 -2
  418. package/dist/types/interpreter/getNesting.d.ts.map +1 -1
  419. package/dist/types/interpreter/getNesting.optimized.d.ts +2 -4
  420. package/dist/types/interpreter/getNesting.optimized.d.ts.map +1 -1
  421. package/dist/types/interpreter/getPlural.d.ts +0 -2
  422. package/dist/types/interpreter/getPlural.d.ts.map +1 -1
  423. package/dist/types/interpreter/getSelect.d.ts +0 -2
  424. package/dist/types/interpreter/getSelect.d.ts.map +1 -1
  425. package/dist/types/interpreter/getTranslation.d.ts +0 -2
  426. package/dist/types/interpreter/getTranslation.d.ts.map +1 -1
  427. package/dist/types/interpreter/index.d.ts +3 -3
  428. package/dist/types/interpreter/interpolableNode.d.ts +0 -2
  429. package/dist/types/interpreter/interpolableNode.d.ts.map +1 -1
  430. package/dist/types/interpreter/resolveInterpreterLocale.d.ts +0 -2
  431. package/dist/types/interpreter/resolveInterpreterLocale.d.ts.map +1 -1
  432. package/dist/types/interpreter/splitAndJoinInsertion.d.ts +0 -2
  433. package/dist/types/interpreter/splitAndJoinInsertion.d.ts.map +1 -1
  434. package/dist/types/localization/comparePaths.d.ts +0 -2
  435. package/dist/types/localization/comparePaths.d.ts.map +1 -1
  436. package/dist/types/localization/domainUtils.d.ts +0 -2
  437. package/dist/types/localization/domainUtils.d.ts.map +1 -1
  438. package/dist/types/localization/generateSitemap.d.ts +0 -2
  439. package/dist/types/localization/generateSitemap.d.ts.map +1 -1
  440. package/dist/types/localization/getBrowserLocale.d.ts +1 -2
  441. package/dist/types/localization/getBrowserLocale.d.ts.map +1 -1
  442. package/dist/types/localization/getCanonicalPath.d.ts +0 -2
  443. package/dist/types/localization/getCanonicalPath.d.ts.map +1 -1
  444. package/dist/types/localization/getHTMLTextDir.d.ts +1 -2
  445. package/dist/types/localization/getHTMLTextDir.d.ts.map +1 -1
  446. package/dist/types/localization/getLocale.d.ts +0 -2
  447. package/dist/types/localization/getLocale.d.ts.map +1 -1
  448. package/dist/types/localization/getLocaleFromPath.d.ts +0 -2
  449. package/dist/types/localization/getLocaleFromPath.d.ts.map +1 -1
  450. package/dist/types/localization/getLocaleFromRequest.d.ts +0 -2
  451. package/dist/types/localization/getLocaleFromRequest.d.ts.map +1 -1
  452. package/dist/types/localization/getLocaleLang.d.ts +0 -2
  453. package/dist/types/localization/getLocaleLang.d.ts.map +1 -1
  454. package/dist/types/localization/getLocaleName.d.ts +0 -2
  455. package/dist/types/localization/getLocaleName.d.ts.map +1 -1
  456. package/dist/types/localization/getLocalizedPath.d.ts +0 -2
  457. package/dist/types/localization/getLocalizedPath.d.ts.map +1 -1
  458. package/dist/types/localization/getLocalizedUrl.d.ts +0 -2
  459. package/dist/types/localization/getLocalizedUrl.d.ts.map +1 -1
  460. package/dist/types/localization/getMultilingualUrls.d.ts +0 -2
  461. package/dist/types/localization/getMultilingualUrls.d.ts.map +1 -1
  462. package/dist/types/localization/getPathWithoutLocale.d.ts +0 -2
  463. package/dist/types/localization/getPathWithoutLocale.d.ts.map +1 -1
  464. package/dist/types/localization/getPrefix.d.ts +0 -2
  465. package/dist/types/localization/getPrefix.d.ts.map +1 -1
  466. package/dist/types/localization/index.d.ts +1 -1
  467. package/dist/types/localization/localeDetector.d.ts +0 -2
  468. package/dist/types/localization/localeDetector.d.ts.map +1 -1
  469. package/dist/types/localization/localeMapper.d.ts +0 -2
  470. package/dist/types/localization/localeMapper.d.ts.map +1 -1
  471. package/dist/types/localization/localeResolver.d.ts +0 -2
  472. package/dist/types/localization/localeResolver.d.ts.map +1 -1
  473. package/dist/types/localization/proxyMode.d.ts +0 -2
  474. package/dist/types/localization/proxyMode.d.ts.map +1 -1
  475. package/dist/types/localization/resolveBrowserLocale.d.ts +0 -2
  476. package/dist/types/localization/resolveBrowserLocale.d.ts.map +1 -1
  477. package/dist/types/localization/rewriteMatch.d.ts +0 -2
  478. package/dist/types/localization/rewriteMatch.d.ts.map +1 -1
  479. package/dist/types/localization/rewriteUtils.d.ts +1 -2
  480. package/dist/types/localization/rewriteUtils.d.ts.map +1 -1
  481. package/dist/types/localization/validatePrefix.d.ts +0 -2
  482. package/dist/types/localization/validatePrefix.d.ts.map +1 -1
  483. package/dist/types/markdown/compiler.d.ts +2 -3
  484. package/dist/types/markdown/compiler.d.ts.map +1 -1
  485. package/dist/types/markdown/constants.d.ts +4 -3
  486. package/dist/types/markdown/constants.d.ts.map +1 -1
  487. package/dist/types/markdown/elementScanner.d.ts +0 -2
  488. package/dist/types/markdown/elementScanner.d.ts.map +1 -1
  489. package/dist/types/markdown/index.d.ts +2 -2
  490. package/dist/types/markdown/parser.d.ts +0 -2
  491. package/dist/types/markdown/parser.d.ts.map +1 -1
  492. package/dist/types/markdown/renderer.d.ts +0 -2
  493. package/dist/types/markdown/renderer.d.ts.map +1 -1
  494. package/dist/types/markdown/types.d.ts +0 -2
  495. package/dist/types/markdown/types.d.ts.map +1 -1
  496. package/dist/types/markdown/utils.d.ts +1 -2
  497. package/dist/types/markdown/utils.d.ts.map +1 -1
  498. package/dist/types/messageFormat/ICU.d.ts +0 -2
  499. package/dist/types/messageFormat/ICU.d.ts.map +1 -1
  500. package/dist/types/messageFormat/i18next.d.ts +0 -2
  501. package/dist/types/messageFormat/i18next.d.ts.map +1 -1
  502. package/dist/types/messageFormat/navigatePath.d.ts +0 -2
  503. package/dist/types/messageFormat/navigatePath.d.ts.map +1 -1
  504. package/dist/types/messageFormat/po.d.ts +0 -2
  505. package/dist/types/messageFormat/po.d.ts.map +1 -1
  506. package/dist/types/messageFormat/resolveMessage.d.ts +0 -2
  507. package/dist/types/messageFormat/resolveMessage.d.ts.map +1 -1
  508. package/dist/types/messageFormat/vue-i18n.d.ts +0 -2
  509. package/dist/types/messageFormat/vue-i18n.d.ts.map +1 -1
  510. package/dist/types/transpiler/condition/condition.d.ts +0 -2
  511. package/dist/types/transpiler/condition/condition.d.ts.map +1 -1
  512. package/dist/types/transpiler/enumeration/enumeration.d.ts +0 -2
  513. package/dist/types/transpiler/enumeration/enumeration.d.ts.map +1 -1
  514. package/dist/types/transpiler/file/file.d.ts +0 -2
  515. package/dist/types/transpiler/file/file.d.ts.map +1 -1
  516. package/dist/types/transpiler/file/fileBrowser.d.ts +0 -2
  517. package/dist/types/transpiler/file/fileBrowser.d.ts.map +1 -1
  518. package/dist/types/transpiler/gender/gender.d.ts +0 -2
  519. package/dist/types/transpiler/gender/gender.d.ts.map +1 -1
  520. package/dist/types/transpiler/html/getHTMLCustomComponents.d.ts +0 -2
  521. package/dist/types/transpiler/html/getHTMLCustomComponents.d.ts.map +1 -1
  522. package/dist/types/transpiler/html/html.d.ts +1 -2
  523. package/dist/types/transpiler/html/html.d.ts.map +1 -1
  524. package/dist/types/transpiler/html/htmlTags.d.ts +0 -2
  525. package/dist/types/transpiler/html/htmlTags.d.ts.map +1 -1
  526. package/dist/types/transpiler/html/validateHTML.d.ts +0 -2
  527. package/dist/types/transpiler/html/validateHTML.d.ts.map +1 -1
  528. package/dist/types/transpiler/index.d.ts +2 -2
  529. package/dist/types/transpiler/insertion/getInsertionValues.d.ts +0 -2
  530. package/dist/types/transpiler/insertion/getInsertionValues.d.ts.map +1 -1
  531. package/dist/types/transpiler/insertion/insertion.d.ts +0 -2
  532. package/dist/types/transpiler/insertion/insertion.d.ts.map +1 -1
  533. package/dist/types/transpiler/markdown/getMarkdownMetadata.d.ts +0 -2
  534. package/dist/types/transpiler/markdown/getMarkdownMetadata.d.ts.map +1 -1
  535. package/dist/types/transpiler/markdown/markdown.d.ts +0 -2
  536. package/dist/types/transpiler/markdown/markdown.d.ts.map +1 -1
  537. package/dist/types/transpiler/markdown/validateMarkdown.d.ts +0 -2
  538. package/dist/types/transpiler/markdown/validateMarkdown.d.ts.map +1 -1
  539. package/dist/types/transpiler/nesting/nesting.d.ts +0 -2
  540. package/dist/types/transpiler/nesting/nesting.d.ts.map +1 -1
  541. package/dist/types/transpiler/plural/index.d.ts +2 -2
  542. package/dist/types/transpiler/plural/plural.d.ts +31 -4
  543. package/dist/types/transpiler/plural/plural.d.ts.map +1 -1
  544. package/dist/types/transpiler/select/select.d.ts +0 -2
  545. package/dist/types/transpiler/select/select.d.ts.map +1 -1
  546. package/dist/types/transpiler/translation/translation.d.ts +0 -2
  547. package/dist/types/transpiler/translation/translation.d.ts.map +1 -1
  548. package/dist/types/utils/checkIsURLAbsolute.d.ts +0 -2
  549. package/dist/types/utils/checkIsURLAbsolute.d.ts.map +1 -1
  550. package/dist/types/utils/cookieExpiry.d.ts +0 -2
  551. package/dist/types/utils/cookieExpiry.d.ts.map +1 -1
  552. package/dist/types/utils/getCookie.d.ts +0 -2
  553. package/dist/types/utils/getCookie.d.ts.map +1 -1
  554. package/dist/types/utils/index.d.ts +1 -1
  555. package/dist/types/utils/intl.d.ts +1 -3
  556. package/dist/types/utils/intl.d.ts.map +1 -1
  557. package/dist/types/utils/intlayerNodePrototype.d.ts +0 -2
  558. package/dist/types/utils/intlayerNodePrototype.d.ts.map +1 -1
  559. package/dist/types/utils/isSameKeyPath.d.ts +0 -2
  560. package/dist/types/utils/isSameKeyPath.d.ts.map +1 -1
  561. package/dist/types/utils/isValidReactElement.d.ts +0 -2
  562. package/dist/types/utils/isValidReactElement.d.ts.map +1 -1
  563. package/dist/types/utils/localeStorage.d.ts +0 -2
  564. package/dist/types/utils/localeStorage.d.ts.map +1 -1
  565. package/dist/types/utils/parseYaml.d.ts +0 -2
  566. package/dist/types/utils/parseYaml.d.ts.map +1 -1
  567. package/dist/types/utils/stringifyYaml.d.ts +0 -2
  568. package/dist/types/utils/stringifyYaml.d.ts.map +1 -1
  569. package/package.json +8 -8
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  let _intlayer_config_defaultValues = require("@intlayer/config/defaultValues");
3
3
 
4
- //#region src/dictionaryManipulator/preloadedDynamicLoader.ts
4
+ // src/dictionaryManipulator/preloadedDynamicLoader.ts
5
5
  /**
6
6
  * Reads the preloaded dictionary of a dynamic loader map, when one was resolved
7
7
  * for the requested locale.
@@ -23,7 +23,11 @@ const getPreloadedDictionary = (loaderMap, locale) => {
23
23
  return preloaded.dictionary;
24
24
  };
25
25
 
26
- //#endregion
27
- exports.PRELOADED_DYNAMIC_KEY = _intlayer_config_defaultValues.PRELOADED_DYNAMIC_KEY;
26
+ Object.defineProperty(exports, "PRELOADED_DYNAMIC_KEY", {
27
+ enumerable: true,
28
+ get: function () {
29
+ return _intlayer_config_defaultValues.PRELOADED_DYNAMIC_KEY;
30
+ }
31
+ });
28
32
  exports.getPreloadedDictionary = getPreloadedDictionary;
29
33
  //# sourceMappingURL=preloadedDynamicLoader.cjs.map
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- //#region src/dictionaryManipulator/qualifiedDictionary.ts
2
+ // src/dictionaryManipulator/qualifiedDictionary.ts
3
3
  /**
4
4
  * Separator joining per-dimension ids into a composite entry id. Also used as
5
5
  * the chunk path separator in dynamic mode.
@@ -233,7 +233,6 @@ const getDictionarySelectorCacheKey = (selector) => {
233
233
  }).join("|");
234
234
  };
235
235
 
236
- //#endregion
237
236
  exports.COMPOSITE_ID_SEPARATOR = COMPOSITE_ID_SEPARATOR;
238
237
  exports.DEFAULT_VARIANT_ID = DEFAULT_VARIANT_ID;
239
238
  exports.getDictionarySelectorCacheKey = getDictionarySelectorCacheKey;
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_dictionaryManipulator_qualifiedDictionary = require('./qualifiedDictionary.cjs');
2
+ const require_dictionaryManipulator_qualifiedDictionary = require("./qualifiedDictionary.cjs");
3
3
 
4
- //#region src/dictionaryManipulator/qualifiedDictionaryDeclaration.ts
4
+ // src/dictionaryManipulator/qualifiedDictionaryDeclaration.ts
5
5
  /**
6
6
  * Canonical order of qualifier dimensions. A key that declares both dimensions
7
7
  * always nests them in this order, with `item` innermost so it can act as the
@@ -60,7 +60,6 @@ const getDictionaryCompositeIds = (dictionary, qualifierTypes) => {
60
60
  return compositeIds;
61
61
  };
62
62
 
63
- //#endregion
64
63
  exports.QUALIFIER_ORDER = QUALIFIER_ORDER;
65
64
  exports.getDictionaryCompositeIds = getDictionaryCompositeIds;
66
65
  exports.getDictionaryQualifierIds = getDictionaryQualifierIds;
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_dictionaryManipulator_qualifiedDictionary = require('./qualifiedDictionary.cjs');
2
+ const require_dictionaryManipulator_qualifiedDictionary = require("./qualifiedDictionary.cjs");
3
3
  let _intlayer_config_defaultValues = require("@intlayer/config/defaultValues");
4
4
 
5
- //#region src/dictionaryManipulator/qualifiedDynamicLoader.ts
5
+ // src/dictionaryManipulator/qualifiedDynamicLoader.ts
6
6
  /**
7
7
  * Type guard discriminating a qualified dynamic loader map (collections /
8
8
  * variants, possibly combined) from a plain dynamic loader map.
@@ -101,8 +101,12 @@ const resolveQualifiedDynamicContentAsync = async (params) => {
101
101
  return dictionary ? transform(dictionary) : null;
102
102
  };
103
103
 
104
- //#endregion
105
- exports.QUALIFIER_DYNAMIC_TYPES_KEY = _intlayer_config_defaultValues.QUALIFIER_DYNAMIC_TYPES_KEY;
104
+ Object.defineProperty(exports, "QUALIFIER_DYNAMIC_TYPES_KEY", {
105
+ enumerable: true,
106
+ get: function () {
107
+ return _intlayer_config_defaultValues.QUALIFIER_DYNAMIC_TYPES_KEY;
108
+ }
109
+ });
106
110
  exports.isQualifiedDynamicLoaderMap = isQualifiedDynamicLoaderMap;
107
111
  exports.resolveQualifiedDynamicContent = resolveQualifiedDynamicContent;
108
112
  exports.resolveQualifiedDynamicContentAsync = resolveQualifiedDynamicContentAsync;
@@ -1,9 +1,9 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
2
+ const require_runtime = require("../_virtual/_rolldown/runtime.cjs");
3
3
  let _intlayer_types_nodeType = require("@intlayer/types/nodeType");
4
4
  _intlayer_types_nodeType = require_runtime.__toESM(_intlayer_types_nodeType);
5
5
 
6
- //#region src/dictionaryManipulator/removeContentNodeByKeyPath.ts
6
+ // src/dictionaryManipulator/removeContentNodeByKeyPath.ts
7
7
  const removeContentNodeByKeyPath = (dictionaryContent, keyPath) => {
8
8
  let currentValue = dictionaryContent;
9
9
  let parentValue = null;
@@ -30,6 +30,5 @@ const removeContentNodeByKeyPath = (dictionaryContent, keyPath) => {
30
30
  return dictionaryContent;
31
31
  };
32
32
 
33
- //#endregion
34
33
  exports.removeContentNodeByKeyPath = removeContentNodeByKeyPath;
35
34
  //# sourceMappingURL=removeContentNodeByKeyPath.cjs.map
@@ -1,9 +1,9 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
2
+ const require_runtime = require("../_virtual/_rolldown/runtime.cjs");
3
3
  let _intlayer_types_nodeType = require("@intlayer/types/nodeType");
4
4
  _intlayer_types_nodeType = require_runtime.__toESM(_intlayer_types_nodeType);
5
5
 
6
- //#region src/dictionaryManipulator/renameContentNodeByKeyPath.ts
6
+ // src/dictionaryManipulator/renameContentNodeByKeyPath.ts
7
7
  const renameContentNodeByKeyPath = (dictionaryContent, newKey, keyPath) => {
8
8
  let currentValue = dictionaryContent;
9
9
  let parentValue = null;
@@ -38,6 +38,5 @@ const renameContentNodeByKeyPath = (dictionaryContent, newKey, keyPath) => {
38
38
  return dictionaryContent;
39
39
  };
40
40
 
41
- //#endregion
42
41
  exports.renameContentNodeByKeyPath = renameContentNodeByKeyPath;
43
42
  //# sourceMappingURL=renameContentNodeByKeyPath.cjs.map
@@ -1,9 +1,9 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
2
+ const require_runtime = require("../_virtual/_rolldown/runtime.cjs");
3
3
  let _intlayer_types_nodeType = require("@intlayer/types/nodeType");
4
4
  _intlayer_types_nodeType = require_runtime.__toESM(_intlayer_types_nodeType);
5
5
 
6
- //#region src/dictionaryManipulator/updateNodeChildren.ts
6
+ // src/dictionaryManipulator/updateNodeChildren.ts
7
7
  const updateNodeChildren = (section, newChildren) => {
8
8
  if (typeof section === "string") return newChildren;
9
9
  if (typeof section === "number") return newChildren;
@@ -35,6 +35,5 @@ const updateNodeChildren = (section, newChildren) => {
35
35
  }), {});
36
36
  };
37
37
 
38
- //#endregion
39
38
  exports.updateNodeChildren = updateNodeChildren;
40
39
  //# sourceMappingURL=updateNodeChildren.cjs.map
@@ -1,8 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_utils_intl = require('../utils/intl.cjs');
3
- let _intlayer_config_built = require("@intlayer/config/built");
2
+ const require_utils_intl = require("../utils/intl.cjs");
4
3
 
5
- //#region src/formatters/compact.ts
4
+ // src/formatters/compact.ts
6
5
  /**
7
6
  * Formats a numeric value using compact notation (e.g., 1K, 1M, 1B)
8
7
  * based on locale and formatting options.
@@ -14,11 +13,10 @@ let _intlayer_config_built = require("@intlayer/config/built");
14
13
  * compact("1000000", { locale: Locales.FRENCH, compactDisplay: "long" });
15
14
  * // "1 million"
16
15
  */
17
- const compact = (value, options) => require_utils_intl.getCachedIntl("NumberFormat", options?.locale ?? _intlayer_config_built.internationalization?.defaultLocale, {
16
+ const compact = (value, options) => require_utils_intl.getCachedIntl("NumberFormat", options?.locale, {
18
17
  ...options,
19
18
  notation: "compact"
20
19
  }).format(Number(value));
21
20
 
22
- //#endregion
23
21
  exports.compact = compact;
24
22
  //# sourceMappingURL=compact.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"compact.cjs","names":["getCachedIntl","internationalization"],"sources":["../../../src/formatters/compact.ts"],"sourcesContent":["import { internationalization } from '@intlayer/config/built';\nimport type { LocalesValues } from '@intlayer/types/module_augmentation';\nimport { getCachedIntl } from '../utils/intl';\n\n/**\n * Formats a numeric value using compact notation (e.g., 1K, 1M, 1B)\n * based on locale and formatting options.\n *\n * @example\n * compact(1200); // \"1.2K\"\n *\n * @example\n * compact(\"1000000\", { locale: Locales.FRENCH, compactDisplay: \"long\" });\n * // \"1 million\"\n */\nexport const compact = (\n value: string | number,\n options?: Intl.NumberFormatOptions & { locale?: LocalesValues }\n): string =>\n getCachedIntl(\n 'NumberFormat',\n options?.locale ?? internationalization?.defaultLocale,\n\n {\n ...options,\n notation: 'compact',\n }\n ).format(Number(value));\n"],"mappings":";;;;;;;;;;;;;;;;AAeA,MAAa,WACX,OACA,YAEAA,iCACE,gBACA,SAAS,UAAUC,6CAAsB,eAEzC;CACE,GAAG;CACH,UAAU;AACZ,CACF,CAAC,CAAC,OAAO,OAAO,KAAK,CAAC"}
1
+ {"version":3,"file":"compact.cjs","names":["getCachedIntl"],"sources":["../../../src/formatters/compact.ts"],"sourcesContent":["import type { LocalesValues } from '@intlayer/types/module_augmentation';\nimport { getCachedIntl } from '../utils/intl';\n\n/**\n * Formats a numeric value using compact notation (e.g., 1K, 1M, 1B)\n * based on locale and formatting options.\n *\n * @example\n * compact(1200); // \"1.2K\"\n *\n * @example\n * compact(\"1000000\", { locale: Locales.FRENCH, compactDisplay: \"long\" });\n * // \"1 million\"\n */\nexport const compact = (\n value: string | number,\n options?: Intl.NumberFormatOptions & { locale?: LocalesValues }\n): string =>\n getCachedIntl('NumberFormat', options?.locale, {\n ...options,\n notation: 'compact',\n }).format(Number(value));\n"],"mappings":";;;;;;;;;;;;;;;AAcA,MAAa,WACX,OACA,YAEAA,iCAAc,gBAAgB,SAAS,QAAQ;CAC7C,GAAG;CACH,UAAU;AACZ,CAAC,CAAC,CAAC,OAAO,OAAO,KAAK,CAAC"}
@@ -1,8 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_utils_intl = require('../utils/intl.cjs');
3
- let _intlayer_config_built = require("@intlayer/config/built");
2
+ const require_utils_intl = require("../utils/intl.cjs");
4
3
 
5
- //#region src/formatters/currency.ts
4
+ // src/formatters/currency.ts
6
5
  /**
7
6
  * Formats a numeric or string value into a localized currency string using the Intl API.
8
7
  *
@@ -14,7 +13,7 @@ let _intlayer_config_built = require("@intlayer/config/built");
14
13
  * currency("5000", { locale: Locales.FRENCH, currency: "CAD", currencyDisplay: "code" });
15
14
  * // "5 000,00 CAD"
16
15
  */
17
- const currency = (value, options) => require_utils_intl.getCachedIntl("NumberFormat", options?.locale ?? _intlayer_config_built.internationalization?.defaultLocale, {
16
+ const currency = (value, options) => require_utils_intl.getCachedIntl("NumberFormat", options?.locale, {
18
17
  style: "currency",
19
18
  currency: options?.currency ?? "USD",
20
19
  currencyDisplay: options?.currencyDisplay ?? "symbol",
@@ -23,6 +22,5 @@ const currency = (value, options) => require_utils_intl.getCachedIntl("NumberFor
23
22
  ...options
24
23
  }).format(Number(value));
25
24
 
26
- //#endregion
27
25
  exports.currency = currency;
28
26
  //# sourceMappingURL=currency.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"currency.cjs","names":["getCachedIntl","internationalization"],"sources":["../../../src/formatters/currency.ts"],"sourcesContent":["import { internationalization } from '@intlayer/config/built';\nimport type { LocalesValues } from '@intlayer/types/module_augmentation';\nimport { getCachedIntl } from '../utils/intl';\n\n/**\n * Formats a numeric or string value into a localized currency string using the Intl API.\n *\n * @example\n * currency(1234.5, { currency: 'EUR' });\n * // \"€1,234.50\"\n *\n * @example\n * currency(\"5000\", { locale: Locales.FRENCH, currency: \"CAD\", currencyDisplay: \"code\" });\n * // \"5 000,00 CAD\"\n */\nexport const currency = (\n value: string | number,\n options?: Intl.NumberFormatOptions & { locale?: LocalesValues }\n): string =>\n getCachedIntl(\n 'NumberFormat',\n options?.locale ?? internationalization?.defaultLocale,\n\n {\n style: 'currency',\n currency: options?.currency ?? 'USD',\n currencyDisplay: options?.currencyDisplay ?? 'symbol',\n minimumFractionDigits: options?.minimumFractionDigits ?? 2,\n maximumFractionDigits: options?.maximumFractionDigits ?? 2,\n ...options,\n }\n ).format(Number(value));\n"],"mappings":";;;;;;;;;;;;;;;;AAeA,MAAa,YACX,OACA,YAEAA,iCACE,gBACA,SAAS,UAAUC,6CAAsB,eAEzC;CACE,OAAO;CACP,UAAU,SAAS,YAAY;CAC/B,iBAAiB,SAAS,mBAAmB;CAC7C,uBAAuB,SAAS,yBAAyB;CACzD,uBAAuB,SAAS,yBAAyB;CACzD,GAAG;AACL,CACF,CAAC,CAAC,OAAO,OAAO,KAAK,CAAC"}
1
+ {"version":3,"file":"currency.cjs","names":["getCachedIntl"],"sources":["../../../src/formatters/currency.ts"],"sourcesContent":["import type { LocalesValues } from '@intlayer/types/module_augmentation';\nimport { getCachedIntl } from '../utils/intl';\n\n/**\n * Formats a numeric or string value into a localized currency string using the Intl API.\n *\n * @example\n * currency(1234.5, { currency: 'EUR' });\n * // \"€1,234.50\"\n *\n * @example\n * currency(\"5000\", { locale: Locales.FRENCH, currency: \"CAD\", currencyDisplay: \"code\" });\n * // \"5 000,00 CAD\"\n */\nexport const currency = (\n value: string | number,\n options?: Intl.NumberFormatOptions & { locale?: LocalesValues }\n): string =>\n getCachedIntl('NumberFormat', options?.locale, {\n style: 'currency',\n currency: options?.currency ?? 'USD',\n currencyDisplay: options?.currencyDisplay ?? 'symbol',\n minimumFractionDigits: options?.minimumFractionDigits ?? 2,\n maximumFractionDigits: options?.maximumFractionDigits ?? 2,\n ...options,\n }).format(Number(value));\n"],"mappings":";;;;;;;;;;;;;;;AAcA,MAAa,YACX,OACA,YAEAA,iCAAc,gBAAgB,SAAS,QAAQ;CAC7C,OAAO;CACP,UAAU,SAAS,YAAY;CAC/B,iBAAiB,SAAS,mBAAmB;CAC7C,uBAAuB,SAAS,yBAAyB;CACzD,uBAAuB,SAAS,yBAAyB;CACzD,GAAG;AACL,CAAC,CAAC,CAAC,OAAO,OAAO,KAAK,CAAC"}
@@ -1,8 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_utils_intl = require('../utils/intl.cjs');
3
- let _intlayer_config_built = require("@intlayer/config/built");
2
+ const require_utils_intl = require("../utils/intl.cjs");
4
3
 
5
- //#region src/formatters/date.ts
4
+ // src/formatters/date.ts
6
5
  const presets = {
7
6
  short: {
8
7
  year: "2-digit",
@@ -51,11 +50,10 @@ const presets = {
51
50
  const date = (date, options) => {
52
51
  const dateTime = new Date(date);
53
52
  const resolvedOptions = typeof options === "string" ? presets[options] ?? {} : options;
54
- const locale = (typeof options === "object" ? options?.locale : void 0) ?? _intlayer_config_built.internationalization?.defaultLocale;
53
+ const locale = typeof options === "object" ? options?.locale : void 0;
55
54
  return require_utils_intl.getCachedIntl("DateTimeFormat", locale, resolvedOptions).format(dateTime);
56
55
  };
57
56
 
58
- //#endregion
59
57
  exports.date = date;
60
58
  exports.presets = presets;
61
59
  //# sourceMappingURL=date.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"date.cjs","names":["internationalization","getCachedIntl"],"sources":["../../../src/formatters/date.ts"],"sourcesContent":["import { internationalization } from '@intlayer/config/built';\nimport type { LocalesValues } from '@intlayer/types/module_augmentation';\nimport { getCachedIntl } from '../utils/intl';\n\nexport type DateTimePreset =\n | 'short'\n | 'long'\n | 'dateOnly'\n | 'timeOnly'\n | 'full';\n\nexport const presets: Record<DateTimePreset, Intl.DateTimeFormatOptions> = {\n short: {\n year: '2-digit',\n month: '2-digit',\n day: '2-digit',\n hour: '2-digit',\n minute: '2-digit',\n },\n long: {\n year: 'numeric',\n month: 'long',\n day: 'numeric',\n hour: 'numeric',\n minute: 'numeric',\n },\n full: {\n year: 'numeric',\n month: 'long',\n day: 'numeric',\n hour: 'numeric',\n minute: 'numeric',\n hour12: false,\n },\n dateOnly: {\n year: 'numeric',\n month: 'short',\n day: 'numeric',\n },\n timeOnly: {\n hour: 'numeric',\n minute: 'numeric',\n second: 'numeric',\n },\n};\n\n/**\n * Formats a date/time value into a localized string using Intl.DateTimeFormat.\n *\n * @example\n * date(new Date('2025-08-02T14:30:00Z'), { year: '2-digit', month: '2-digit', day: '2-digit', hour: '2-digit', minute: '2-digit' });\n * // \"08/02/25, 14:30\"\n *\n * @example\n * date(\"2025-08-02T14:30:00Z\", { locale: Locales.FRENCH, month: \"long\", day: \"numeric\" });\n * // \"2 août\"\n */\nexport const date = (\n date: Date | string | number,\n options?:\n | (Intl.DateTimeFormatOptions & { locale?: LocalesValues })\n | DateTimePreset\n): string => {\n const dateTime = new Date(date);\n\n const resolvedOptions =\n typeof options === 'string' ? (presets[options] ?? {}) : options;\n\n const locale =\n (typeof options === 'object' ? options?.locale : undefined) ??\n internationalization?.defaultLocale;\n\n const formatter = getCachedIntl('DateTimeFormat', locale, resolvedOptions);\n\n return formatter.format(dateTime);\n};\n"],"mappings":";;;;;AAWA,MAAa,UAA8D;CACzE,OAAO;EACL,MAAM;EACN,OAAO;EACP,KAAK;EACL,MAAM;EACN,QAAQ;CACV;CACA,MAAM;EACJ,MAAM;EACN,OAAO;EACP,KAAK;EACL,MAAM;EACN,QAAQ;CACV;CACA,MAAM;EACJ,MAAM;EACN,OAAO;EACP,KAAK;EACL,MAAM;EACN,QAAQ;EACR,QAAQ;CACV;CACA,UAAU;EACR,MAAM;EACN,OAAO;EACP,KAAK;CACP;CACA,UAAU;EACR,MAAM;EACN,QAAQ;EACR,QAAQ;CACV;AACF;;;;;;;;;;;;AAaA,MAAa,QACX,MACA,YAGW;CACX,MAAM,WAAW,IAAI,KAAK,IAAI;CAE9B,MAAM,kBACJ,OAAO,YAAY,WAAY,QAAQ,YAAY,CAAC,IAAK;CAE3D,MAAM,UACH,OAAO,YAAY,WAAW,SAAS,SAAS,WACjDA,6CAAsB;CAIxB,OAFkBC,iCAAc,kBAAkB,QAAQ,eAE3C,CAAC,CAAC,OAAO,QAAQ;AAClC"}
1
+ {"version":3,"file":"date.cjs","names":["getCachedIntl"],"sources":["../../../src/formatters/date.ts"],"sourcesContent":["import type { LocalesValues } from '@intlayer/types/module_augmentation';\nimport { getCachedIntl } from '../utils/intl';\n\nexport type DateTimePreset =\n | 'short'\n | 'long'\n | 'dateOnly'\n | 'timeOnly'\n | 'full';\n\nexport const presets: Record<DateTimePreset, Intl.DateTimeFormatOptions> = {\n short: {\n year: '2-digit',\n month: '2-digit',\n day: '2-digit',\n hour: '2-digit',\n minute: '2-digit',\n },\n long: {\n year: 'numeric',\n month: 'long',\n day: 'numeric',\n hour: 'numeric',\n minute: 'numeric',\n },\n full: {\n year: 'numeric',\n month: 'long',\n day: 'numeric',\n hour: 'numeric',\n minute: 'numeric',\n hour12: false,\n },\n dateOnly: {\n year: 'numeric',\n month: 'short',\n day: 'numeric',\n },\n timeOnly: {\n hour: 'numeric',\n minute: 'numeric',\n second: 'numeric',\n },\n};\n\n/**\n * Formats a date/time value into a localized string using Intl.DateTimeFormat.\n *\n * @example\n * date(new Date('2025-08-02T14:30:00Z'), { year: '2-digit', month: '2-digit', day: '2-digit', hour: '2-digit', minute: '2-digit' });\n * // \"08/02/25, 14:30\"\n *\n * @example\n * date(\"2025-08-02T14:30:00Z\", { locale: Locales.FRENCH, month: \"long\", day: \"numeric\" });\n * // \"2 août\"\n */\nexport const date = (\n date: Date | string | number,\n options?:\n | (Intl.DateTimeFormatOptions & { locale?: LocalesValues })\n | DateTimePreset\n): string => {\n const dateTime = new Date(date);\n\n const resolvedOptions =\n typeof options === 'string' ? (presets[options] ?? {}) : options;\n\n const locale = typeof options === 'object' ? options?.locale : undefined;\n\n const formatter = getCachedIntl('DateTimeFormat', locale, resolvedOptions);\n\n return formatter.format(dateTime);\n};\n"],"mappings":";;;;AAUA,MAAa,UAA8D;CACzE,OAAO;EACL,MAAM;EACN,OAAO;EACP,KAAK;EACL,MAAM;EACN,QAAQ;CACV;CACA,MAAM;EACJ,MAAM;EACN,OAAO;EACP,KAAK;EACL,MAAM;EACN,QAAQ;CACV;CACA,MAAM;EACJ,MAAM;EACN,OAAO;EACP,KAAK;EACL,MAAM;EACN,QAAQ;EACR,QAAQ;CACV;CACA,UAAU;EACR,MAAM;EACN,OAAO;EACP,KAAK;CACP;CACA,UAAU;EACR,MAAM;EACN,QAAQ;EACR,QAAQ;CACV;AACF;;;;;;;;;;;;AAaA,MAAa,QACX,MACA,YAGW;CACX,MAAM,WAAW,IAAI,KAAK,IAAI;CAE9B,MAAM,kBACJ,OAAO,YAAY,WAAY,QAAQ,YAAY,CAAC,IAAK;CAE3D,MAAM,SAAS,OAAO,YAAY,WAAW,SAAS,SAAS;CAI/D,OAFkBA,iCAAc,kBAAkB,QAAQ,eAE3C,CAAC,CAAC,OAAO,QAAQ;AAClC"}
@@ -1,13 +1,13 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_utils_intl = require('../utils/intl.cjs');
3
- const require_formatters_compact = require('./compact.cjs');
4
- const require_formatters_currency = require('./currency.cjs');
5
- const require_formatters_date = require('./date.cjs');
6
- const require_formatters_list = require('./list.cjs');
7
- const require_formatters_number = require('./number.cjs');
8
- const require_formatters_percentage = require('./percentage.cjs');
9
- const require_formatters_relativeTime = require('./relativeTime.cjs');
10
- const require_formatters_units = require('./units.cjs');
2
+ const require_utils_intl = require("../utils/intl.cjs");
3
+ const require_formatters_compact = require("./compact.cjs");
4
+ const require_formatters_currency = require("./currency.cjs");
5
+ const require_formatters_date = require("./date.cjs");
6
+ const require_formatters_list = require("./list.cjs");
7
+ const require_formatters_number = require("./number.cjs");
8
+ const require_formatters_percentage = require("./percentage.cjs");
9
+ const require_formatters_relativeTime = require("./relativeTime.cjs");
10
+ const require_formatters_units = require("./units.cjs");
11
11
 
12
12
  exports.CachedIntl = require_utils_intl.CachedIntl;
13
13
  exports.Intl = require_utils_intl.CachedIntl;
@@ -1,8 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_utils_intl = require('../utils/intl.cjs');
3
- let _intlayer_config_built = require("@intlayer/config/built");
2
+ const require_utils_intl = require("../utils/intl.cjs");
4
3
 
5
- //#region src/formatters/list.ts
4
+ // src/formatters/list.ts
6
5
  /**
7
6
  * Formats an array of values into a localized list string using the Intl API.
8
7
  *
@@ -18,12 +17,11 @@ let _intlayer_config_built = require("@intlayer/config/built");
18
17
  * list([1, 2, 3], { type: 'unit' });
19
18
  * // "1, 2, 3"
20
19
  */
21
- const list = (values, options) => require_utils_intl.getCachedIntl("ListFormat", options?.locale ?? _intlayer_config_built.internationalization?.defaultLocale, {
20
+ const list = (values, options) => require_utils_intl.getCachedIntl("ListFormat", options?.locale, {
22
21
  type: options?.type ?? "conjunction",
23
22
  style: options?.style ?? "long",
24
23
  ...options
25
24
  }).format(values.map(String));
26
25
 
27
- //#endregion
28
26
  exports.list = list;
29
27
  //# sourceMappingURL=list.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"list.cjs","names":["getCachedIntl","internationalization"],"sources":["../../../src/formatters/list.ts"],"sourcesContent":["import { internationalization } from '@intlayer/config/built';\nimport type { LocalesValues } from '@intlayer/types/module_augmentation';\nimport { getCachedIntl } from '../utils/intl';\n\n/** Locally defined subset of Intl.ListFormatOptions so consumers don't need ES2021.Intl in their lib. */\nexport type ListFormatOptions = {\n localeMatcher?: 'lookup' | 'best fit';\n type?: 'conjunction' | 'disjunction' | 'unit';\n style?: 'long' | 'short' | 'narrow';\n};\n\n/**\n * Formats an array of values into a localized list string using the Intl API.\n *\n * @example\n * list(['apple', 'banana', 'orange']);\n * // \"apple, banana, and orange\"\n *\n * @example\n * list(['red', 'green', 'blue'], { locale: Locales.FRENCH, type: 'disjunction' });\n * // \"rouge, vert ou bleu\"\n *\n * @example\n * list([1, 2, 3], { type: 'unit' });\n * // \"1, 2, 3\"\n */\nexport const list = (\n values: (string | number)[],\n options?: ListFormatOptions & { locale?: LocalesValues }\n): string =>\n getCachedIntl(\n 'ListFormat',\n options?.locale ?? internationalization?.defaultLocale,\n\n {\n type: options?.type ?? 'conjunction',\n style: options?.style ?? 'long',\n ...options,\n }\n ).format(values.map(String));\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AA0BA,MAAa,QACX,QACA,YAEAA,iCACE,cACA,SAAS,UAAUC,6CAAsB,eAEzC;CACE,MAAM,SAAS,QAAQ;CACvB,OAAO,SAAS,SAAS;CACzB,GAAG;AACL,CACF,CAAC,CAAC,OAAO,OAAO,IAAI,MAAM,CAAC"}
1
+ {"version":3,"file":"list.cjs","names":["getCachedIntl"],"sources":["../../../src/formatters/list.ts"],"sourcesContent":["import type { LocalesValues } from '@intlayer/types/module_augmentation';\nimport { getCachedIntl } from '../utils/intl';\n\n/** Locally defined subset of Intl.ListFormatOptions so consumers don't need ES2021.Intl in their lib. */\nexport type ListFormatOptions = {\n localeMatcher?: 'lookup' | 'best fit';\n type?: 'conjunction' | 'disjunction' | 'unit';\n style?: 'long' | 'short' | 'narrow';\n};\n\n/**\n * Formats an array of values into a localized list string using the Intl API.\n *\n * @example\n * list(['apple', 'banana', 'orange']);\n * // \"apple, banana, and orange\"\n *\n * @example\n * list(['red', 'green', 'blue'], { locale: Locales.FRENCH, type: 'disjunction' });\n * // \"rouge, vert ou bleu\"\n *\n * @example\n * list([1, 2, 3], { type: 'unit' });\n * // \"1, 2, 3\"\n */\nexport const list = (\n values: (string | number)[],\n options?: ListFormatOptions & { locale?: LocalesValues }\n): string =>\n getCachedIntl('ListFormat', options?.locale, {\n type: options?.type ?? 'conjunction',\n style: options?.style ?? 'long',\n ...options,\n }).format(values.map(String));\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAyBA,MAAa,QACX,QACA,YAEAA,iCAAc,cAAc,SAAS,QAAQ;CAC3C,MAAM,SAAS,QAAQ;CACvB,OAAO,SAAS,SAAS;CACzB,GAAG;AACL,CAAC,CAAC,CAAC,OAAO,OAAO,IAAI,MAAM,CAAC"}
@@ -1,8 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_utils_intl = require('../utils/intl.cjs');
3
- let _intlayer_config_built = require("@intlayer/config/built");
2
+ const require_utils_intl = require("../utils/intl.cjs");
4
3
 
5
- //#region src/formatters/number.ts
4
+ // src/formatters/number.ts
6
5
  /**
7
6
  * Formats a numeric value using locale-aware formatting.
8
7
  *
@@ -12,8 +11,7 @@ let _intlayer_config_built = require("@intlayer/config/built");
12
11
  * @example
13
12
  * number("1000000", { locale: Locales.FRENCH }); // "1 000 000"
14
13
  */
15
- const number = (value, { locale, ...options } = {}) => require_utils_intl.getCachedIntl("NumberFormat", locale ?? _intlayer_config_built.internationalization?.defaultLocale, options).format(Number(value));
14
+ const number = (value, { locale, ...options } = {}) => require_utils_intl.getCachedIntl("NumberFormat", locale, options).format(Number(value));
16
15
 
17
- //#endregion
18
16
  exports.number = number;
19
17
  //# sourceMappingURL=number.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"number.cjs","names":["getCachedIntl","internationalization"],"sources":["../../../src/formatters/number.ts"],"sourcesContent":["import { internationalization } from '@intlayer/config/built';\nimport type { LocalesValues } from '@intlayer/types/module_augmentation';\nimport { getCachedIntl } from '../utils/intl';\n\n/**\n * Formats a numeric value using locale-aware formatting.\n *\n * @example\n * number(123456.789); // \"123,456.789\"\n *\n * @example\n * number(\"1000000\", { locale: Locales.FRENCH }); // \"1 000 000\"\n */\nexport const number = (\n value: string | number,\n {\n locale,\n ...options\n }: Intl.NumberFormatOptions & { locale?: LocalesValues } = {}\n): string =>\n getCachedIntl(\n 'NumberFormat',\n locale ?? internationalization?.defaultLocale,\n\n options\n ).format(Number(value));\n"],"mappings":";;;;;;;;;;;;;;AAaA,MAAa,UACX,OACA,EACE,QACA,GAAG,YACsD,CAAC,MAE5DA,iCACE,gBACA,UAAUC,6CAAsB,eAEhC,OACF,CAAC,CAAC,OAAO,OAAO,KAAK,CAAC"}
1
+ {"version":3,"file":"number.cjs","names":["getCachedIntl"],"sources":["../../../src/formatters/number.ts"],"sourcesContent":["import type { LocalesValues } from '@intlayer/types/module_augmentation';\nimport { getCachedIntl } from '../utils/intl';\n\n/**\n * Formats a numeric value using locale-aware formatting.\n *\n * @example\n * number(123456.789); // \"123,456.789\"\n *\n * @example\n * number(\"1000000\", { locale: Locales.FRENCH }); // \"1 000 000\"\n */\nexport const number = (\n value: string | number,\n {\n locale,\n ...options\n }: Intl.NumberFormatOptions & { locale?: LocalesValues } = {}\n): string =>\n getCachedIntl('NumberFormat', locale, options).format(Number(value));\n"],"mappings":";;;;;;;;;;;;;AAYA,MAAa,UACX,OACA,EACE,QACA,GAAG,YACsD,CAAC,MAE5DA,iCAAc,gBAAgB,QAAQ,OAAO,CAAC,CAAC,OAAO,OAAO,KAAK,CAAC"}
@@ -1,8 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_utils_intl = require('../utils/intl.cjs');
3
- let _intlayer_config_built = require("@intlayer/config/built");
2
+ const require_utils_intl = require("../utils/intl.cjs");
4
3
 
5
- //#region src/formatters/percentage.ts
4
+ // src/formatters/percentage.ts
6
5
  /**
7
6
  * Formats a number as a percentage string (e.g., 0.25 → "25%").
8
7
  *
@@ -15,12 +14,11 @@ let _intlayer_config_built = require("@intlayer/config/built");
15
14
  const percentage = (value, { locale, ...options } = {}) => {
16
15
  let numericValue = Number(value);
17
16
  if (numericValue > 1) numericValue /= 100;
18
- return require_utils_intl.getCachedIntl("NumberFormat", locale ?? _intlayer_config_built.internationalization?.defaultLocale, {
17
+ return require_utils_intl.getCachedIntl("NumberFormat", locale, {
19
18
  style: "percent",
20
19
  ...options
21
20
  }).format(Number(numericValue));
22
21
  };
23
22
 
24
- //#endregion
25
23
  exports.percentage = percentage;
26
24
  //# sourceMappingURL=percentage.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"percentage.cjs","names":["getCachedIntl","internationalization"],"sources":["../../../src/formatters/percentage.ts"],"sourcesContent":["import { internationalization } from '@intlayer/config/built';\nimport type { LocalesValues } from '@intlayer/types/module_augmentation';\nimport { getCachedIntl } from '../utils/intl';\n\n/**\n * Formats a number as a percentage string (e.g., 0.25 → \"25%\").\n *\n * @example\n * percentage(0.25); // \"25%\"\n *\n * @example\n * percentage(0.25, { minimumFractionDigits: 2 }); // \"25.00%\"\n */\nexport const percentage = (\n value: string | number,\n {\n locale,\n ...options\n }: Intl.NumberFormatOptions & { locale?: LocalesValues } = {}\n): string => {\n let numericValue = Number(value);\n\n // Normalize: if user passes 10, treat it as 10% instead of 1000%\n if (numericValue > 1) {\n numericValue /= 100;\n }\n\n const formatter = getCachedIntl(\n 'NumberFormat',\n locale ?? internationalization?.defaultLocale,\n\n {\n style: 'percent',\n ...options,\n }\n );\n\n return formatter.format(Number(numericValue));\n};\n"],"mappings":";;;;;;;;;;;;;;AAaA,MAAa,cACX,OACA,EACE,QACA,GAAG,YACsD,CAAC,MACjD;CACX,IAAI,eAAe,OAAO,KAAK;CAG/B,IAAI,eAAe,GACjB,gBAAgB;CAalB,OAVkBA,iCAChB,gBACA,UAAUC,6CAAsB,eAEhC;EACE,OAAO;EACP,GAAG;CACL,CAGa,CAAC,CAAC,OAAO,OAAO,YAAY,CAAC;AAC9C"}
1
+ {"version":3,"file":"percentage.cjs","names":["getCachedIntl"],"sources":["../../../src/formatters/percentage.ts"],"sourcesContent":["import type { LocalesValues } from '@intlayer/types/module_augmentation';\nimport { getCachedIntl } from '../utils/intl';\n\n/**\n * Formats a number as a percentage string (e.g., 0.25 → \"25%\").\n *\n * @example\n * percentage(0.25); // \"25%\"\n *\n * @example\n * percentage(0.25, { minimumFractionDigits: 2 }); // \"25.00%\"\n */\nexport const percentage = (\n value: string | number,\n {\n locale,\n ...options\n }: Intl.NumberFormatOptions & { locale?: LocalesValues } = {}\n): string => {\n let numericValue = Number(value);\n\n // Normalize: if user passes 10, treat it as 10% instead of 1000%\n if (numericValue > 1) {\n numericValue /= 100;\n }\n\n const formatter = getCachedIntl('NumberFormat', locale, {\n style: 'percent',\n ...options,\n });\n\n return formatter.format(Number(numericValue));\n};\n"],"mappings":";;;;;;;;;;;;;AAYA,MAAa,cACX,OACA,EACE,QACA,GAAG,YACsD,CAAC,MACjD;CACX,IAAI,eAAe,OAAO,KAAK;CAG/B,IAAI,eAAe,GACjB,gBAAgB;CAQlB,OALkBA,iCAAc,gBAAgB,QAAQ;EACtD,OAAO;EACP,GAAG;CACL,CAEe,CAAC,CAAC,OAAO,OAAO,YAAY,CAAC;AAC9C"}
@@ -1,8 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_utils_intl = require('../utils/intl.cjs');
3
- let _intlayer_config_built = require("@intlayer/config/built");
2
+ const require_utils_intl = require("../utils/intl.cjs");
4
3
 
5
- //#region src/formatters/relativeTime.ts
4
+ // src/formatters/relativeTime.ts
6
5
  /**
7
6
  * Calculate the difference between 2 dates in the given unit.
8
7
  */
@@ -34,9 +33,8 @@ const relativeTime = (from, to = /* @__PURE__ */ new Date(), options) => {
34
33
  const toDate = new Date(to);
35
34
  const unit = options?.unit ?? "second";
36
35
  const value = diffInUnit(fromDate, toDate, unit);
37
- return require_utils_intl.getCachedIntl("RelativeTimeFormat", options?.locale ?? _intlayer_config_built.internationalization?.defaultLocale, options).format(Math.round(value), unit);
36
+ return require_utils_intl.getCachedIntl("RelativeTimeFormat", options?.locale, options).format(Math.round(value), unit);
38
37
  };
39
38
 
40
- //#endregion
41
39
  exports.relativeTime = relativeTime;
42
40
  //# sourceMappingURL=relativeTime.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"relativeTime.cjs","names":["getCachedIntl","internationalization"],"sources":["../../../src/formatters/relativeTime.ts"],"sourcesContent":["import { internationalization } from '@intlayer/config/built';\nimport type { LocalesValues } from '@intlayer/types/module_augmentation';\nimport { getCachedIntl } from '../utils/intl';\n\ntype RelativeTimeUnit = Intl.RelativeTimeFormatUnit;\n\n/**\n * Calculate the difference between 2 dates in the given unit.\n */\nconst diffInUnit = (from: Date, to: Date, unit: RelativeTimeUnit): number => {\n const msDiff = to.getTime() - from.getTime();\n const sec = msDiff / 1000;\n\n switch (unit) {\n case 'second':\n return sec;\n case 'minute':\n return sec / 60;\n case 'hour':\n return sec / 3600;\n case 'day':\n return sec / 86400;\n case 'month':\n return sec / (30 * 86400); // approx\n case 'quarter':\n return sec / (3 * 30 * 86400); // 3 months approx\n case 'year':\n return sec / (365 * 86400); // approx\n default:\n return sec;\n }\n};\n\n/**\n * Formats the difference between two dates as a localized relative time string.\n *\n * @example\n * relativeTime(new Date(Date.now() - 30000)); // \"30 seconds ago\"\n *\n * @example\n * relativeTime(\"2025-01-01\", new Date(), { locale: Locales.FRENCH, unit: \"day\" });\n * // \"il y a 443 jours\"\n */\nexport const relativeTime = (\n from: Date | string | number,\n to: Date | string | number = new Date(),\n options?: Intl.RelativeTimeFormatOptions & {\n locale?: LocalesValues;\n unit?: RelativeTimeUnit;\n }\n): string => {\n const fromDate = new Date(from);\n const toDate = new Date(to);\n const unit = options?.unit ?? 'second';\n\n const value = diffInUnit(fromDate, toDate, unit);\n\n return getCachedIntl(\n 'RelativeTimeFormat',\n options?.locale ?? internationalization?.defaultLocale,\n\n options\n ).format(Math.round(value), unit);\n};\n"],"mappings":";;;;;;;;AASA,MAAM,cAAc,MAAY,IAAU,SAAmC;CAE3E,MAAM,OADS,GAAG,QAAQ,IAAI,KAAK,QAAQ,KACtB;CAErB,QAAQ,MAAR;EACE,KAAK,UACH,OAAO;EACT,KAAK,UACH,OAAO,MAAM;EACf,KAAK,QACH,OAAO,MAAM;EACf,KAAK,OACH,OAAO,MAAM;EACf,KAAK,SACH,OAAO,MAAO;EAChB,KAAK,WACH,OAAO,MAAO;EAChB,KAAK,QACH,OAAO,MAAO;EAChB,SACE,OAAO;CACX;AACF;;;;;;;;;;;AAYA,MAAa,gBACX,MACA,qBAA6B,IAAI,KAAK,GACtC,YAIW;CACX,MAAM,WAAW,IAAI,KAAK,IAAI;CAC9B,MAAM,SAAS,IAAI,KAAK,EAAE;CAC1B,MAAM,OAAO,SAAS,QAAQ;CAE9B,MAAM,QAAQ,WAAW,UAAU,QAAQ,IAAI;CAE/C,OAAOA,iCACL,sBACA,SAAS,UAAUC,6CAAsB,eAEzC,OACF,CAAC,CAAC,OAAO,KAAK,MAAM,KAAK,GAAG,IAAI;AAClC"}
1
+ {"version":3,"file":"relativeTime.cjs","names":["getCachedIntl"],"sources":["../../../src/formatters/relativeTime.ts"],"sourcesContent":["import type { LocalesValues } from '@intlayer/types/module_augmentation';\nimport { getCachedIntl } from '../utils/intl';\n\ntype RelativeTimeUnit = Intl.RelativeTimeFormatUnit;\n\n/**\n * Calculate the difference between 2 dates in the given unit.\n */\nconst diffInUnit = (from: Date, to: Date, unit: RelativeTimeUnit): number => {\n const msDiff = to.getTime() - from.getTime();\n const sec = msDiff / 1000;\n\n switch (unit) {\n case 'second':\n return sec;\n case 'minute':\n return sec / 60;\n case 'hour':\n return sec / 3600;\n case 'day':\n return sec / 86400;\n case 'month':\n return sec / (30 * 86400); // approx\n case 'quarter':\n return sec / (3 * 30 * 86400); // 3 months approx\n case 'year':\n return sec / (365 * 86400); // approx\n default:\n return sec;\n }\n};\n\n/**\n * Formats the difference between two dates as a localized relative time string.\n *\n * @example\n * relativeTime(new Date(Date.now() - 30000)); // \"30 seconds ago\"\n *\n * @example\n * relativeTime(\"2025-01-01\", new Date(), { locale: Locales.FRENCH, unit: \"day\" });\n * // \"il y a 443 jours\"\n */\nexport const relativeTime = (\n from: Date | string | number,\n to: Date | string | number = new Date(),\n options?: Intl.RelativeTimeFormatOptions & {\n locale?: LocalesValues;\n unit?: RelativeTimeUnit;\n }\n): string => {\n const fromDate = new Date(from);\n const toDate = new Date(to);\n const unit = options?.unit ?? 'second';\n\n const value = diffInUnit(fromDate, toDate, unit);\n\n return getCachedIntl('RelativeTimeFormat', options?.locale, options).format(\n Math.round(value),\n unit\n );\n};\n"],"mappings":";;;;;;;AAQA,MAAM,cAAc,MAAY,IAAU,SAAmC;CAE3E,MAAM,OADS,GAAG,QAAQ,IAAI,KAAK,QAAQ,KACtB;CAErB,QAAQ,MAAR;EACE,KAAK,UACH,OAAO;EACT,KAAK,UACH,OAAO,MAAM;EACf,KAAK,QACH,OAAO,MAAM;EACf,KAAK,OACH,OAAO,MAAM;EACf,KAAK,SACH,OAAO,MAAO;EAChB,KAAK,WACH,OAAO,MAAO;EAChB,KAAK,QACH,OAAO,MAAO;EAChB,SACE,OAAO;CACX;AACF;;;;;;;;;;;AAYA,MAAa,gBACX,MACA,qBAA6B,IAAI,KAAK,GACtC,YAIW;CACX,MAAM,WAAW,IAAI,KAAK,IAAI;CAC9B,MAAM,SAAS,IAAI,KAAK,EAAE;CAC1B,MAAM,OAAO,SAAS,QAAQ;CAE9B,MAAM,QAAQ,WAAW,UAAU,QAAQ,IAAI;CAE/C,OAAOA,iCAAc,sBAAsB,SAAS,QAAQ,OAAO,CAAC,CAAC,OACnE,KAAK,MAAM,KAAK,GAChB,IACF;AACF"}
@@ -1,8 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_utils_intl = require('../utils/intl.cjs');
3
- let _intlayer_config_built = require("@intlayer/config/built");
2
+ const require_utils_intl = require("../utils/intl.cjs");
4
3
 
5
- //#region src/formatters/units.ts
4
+ // src/formatters/units.ts
6
5
  /**
7
6
  * Formats a numeric value as a localized unit string.
8
7
  *
@@ -10,13 +9,12 @@ let _intlayer_config_built = require("@intlayer/config/built");
10
9
  * units(5, { unit: "kilometer", unitDisplay: "long", locale: "en-GB" });
11
10
  * // "5 kilometers"
12
11
  */
13
- const units = (value, options) => require_utils_intl.getCachedIntl("NumberFormat", options?.locale ?? _intlayer_config_built.internationalization?.defaultLocale, {
12
+ const units = (value, options) => require_utils_intl.getCachedIntl("NumberFormat", options?.locale, {
14
13
  style: "unit",
15
14
  unit: options?.unit ?? "day",
16
15
  unitDisplay: options?.unitDisplay ?? "short",
17
16
  useGrouping: options?.useGrouping ?? false
18
17
  }).format(Number(value));
19
18
 
20
- //#endregion
21
19
  exports.units = units;
22
20
  //# sourceMappingURL=units.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"units.cjs","names":["getCachedIntl","internationalization"],"sources":["../../../src/formatters/units.ts"],"sourcesContent":["import { internationalization } from '@intlayer/config/built';\nimport type { LocalesValues } from '@intlayer/types/module_augmentation';\nimport { getCachedIntl } from '../utils/intl';\n\n/**\n * Formats a numeric value as a localized unit string.\n *\n * @example\n * units(5, { unit: \"kilometer\", unitDisplay: \"long\", locale: \"en-GB\" });\n * // \"5 kilometers\"\n */\nexport const units = (\n value: number | string,\n options?: Intl.NumberFormatOptions & { locale?: LocalesValues }\n): string =>\n getCachedIntl(\n 'NumberFormat',\n options?.locale ?? internationalization?.defaultLocale,\n\n {\n style: 'unit',\n unit: options?.unit ?? 'day',\n unitDisplay: options?.unitDisplay ?? 'short',\n useGrouping: options?.useGrouping ?? false,\n }\n ).format(Number(value));\n"],"mappings":";;;;;;;;;;;;AAWA,MAAa,SACX,OACA,YAEAA,iCACE,gBACA,SAAS,UAAUC,6CAAsB,eAEzC;CACE,OAAO;CACP,MAAM,SAAS,QAAQ;CACvB,aAAa,SAAS,eAAe;CACrC,aAAa,SAAS,eAAe;AACvC,CACF,CAAC,CAAC,OAAO,OAAO,KAAK,CAAC"}
1
+ {"version":3,"file":"units.cjs","names":["getCachedIntl"],"sources":["../../../src/formatters/units.ts"],"sourcesContent":["import type { LocalesValues } from '@intlayer/types/module_augmentation';\nimport { getCachedIntl } from '../utils/intl';\n\n/**\n * Formats a numeric value as a localized unit string.\n *\n * @example\n * units(5, { unit: \"kilometer\", unitDisplay: \"long\", locale: \"en-GB\" });\n * // \"5 kilometers\"\n */\nexport const units = (\n value: number | string,\n options?: Intl.NumberFormatOptions & { locale?: LocalesValues }\n): string =>\n getCachedIntl('NumberFormat', options?.locale, {\n style: 'unit',\n unit: options?.unit ?? 'day',\n unitDisplay: options?.unitDisplay ?? 'short',\n useGrouping: options?.useGrouping ?? false,\n }).format(Number(value));\n"],"mappings":";;;;;;;;;;;AAUA,MAAa,SACX,OACA,YAEAA,iCAAc,gBAAgB,SAAS,QAAQ;CAC7C,OAAO;CACP,MAAM,SAAS,QAAQ;CACvB,aAAa,SAAS,eAAe;CACrC,aAAa,SAAS,eAAe;AACvC,CAAC,CAAC,CAAC,OAAO,OAAO,KAAK,CAAC"}