@luzmo/analytics-components-kit 1.0.9-beta.9 → 1.2.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 (2486) hide show
  1. package/README.md +39 -3
  2. package/angular/README.md +40 -0
  3. package/angular/components/add-to-dashboard.ts +130 -0
  4. package/angular/components/ai-chat-empty-state.ts +105 -0
  5. package/angular/components/ai-chat.ts +464 -0
  6. package/angular/components/ai-interaction-textarea.ts +290 -0
  7. package/angular/components/data-field-level.ts +130 -0
  8. package/angular/components/data-field-panel.ts +256 -0
  9. package/angular/components/data-field.ts +130 -0
  10. package/angular/components/data-fields-select.ts +226 -0
  11. package/angular/components/dataset-icon.ts +83 -0
  12. package/angular/components/dataset-selector-list.ts +147 -0
  13. package/angular/components/dataset-selector-row.ts +205 -0
  14. package/angular/components/display-settings-binning.ts +92 -0
  15. package/angular/components/display-settings-datetime.ts +100 -0
  16. package/angular/components/display-settings-grand-totals.ts +92 -0
  17. package/angular/components/display-settings-numeric.ts +113 -0
  18. package/angular/components/display-settings-period-over-period.ts +121 -0
  19. package/angular/components/display-settings.ts +227 -0
  20. package/angular/components/filter-expression-picker.ts +168 -0
  21. package/angular/components/filter-item.ts +207 -0
  22. package/angular/components/filter-parameter-picker.ts +155 -0
  23. package/angular/components/filter-value-picker-datetime.ts +125 -0
  24. package/angular/components/filter-value-picker-hierarchy.ts +146 -0
  25. package/angular/components/filter-value-picker-numeric.ts +146 -0
  26. package/angular/components/filter-value-picker.ts +160 -0
  27. package/angular/components/filters.ts +248 -0
  28. package/angular/components/formula-editor.ts +229 -0
  29. package/angular/components/formula-field.ts +198 -0
  30. package/angular/components/formula.ts +170 -0
  31. package/angular/components/interactive-viz-item.ts +265 -0
  32. package/angular/components/item-grid-item-actions-menu.ts +123 -0
  33. package/angular/components/item-grid.ts +252 -0
  34. package/angular/components/item-option-action-button-group.ts +105 -0
  35. package/angular/components/item-option-color-palette-picker.ts +126 -0
  36. package/angular/components/item-option-color-picker.ts +161 -0
  37. package/angular/components/item-option-color-range.ts +195 -0
  38. package/angular/components/item-option-guidelines.ts +111 -0
  39. package/angular/components/item-option-multi-language-field.ts +133 -0
  40. package/angular/components/item-option-number-field.ts +161 -0
  41. package/angular/components/item-option-panel.ts +186 -0
  42. package/angular/components/item-option-picker.ts +120 -0
  43. package/angular/components/item-option-position-picker.ts +98 -0
  44. package/angular/components/item-option-positions-number-field.ts +140 -0
  45. package/angular/components/item-option-radio-button-group.ts +119 -0
  46. package/angular/components/item-option-slider.ts +163 -0
  47. package/angular/components/item-option-switch.ts +98 -0
  48. package/angular/components/item-option-text-field.ts +112 -0
  49. package/angular/components/item-option.ts +200 -0
  50. package/angular/components/item-slot-drop-panel.ts +236 -0
  51. package/angular/components/item-slot-drop.ts +231 -0
  52. package/angular/components/item-slot-picker-panel.ts +306 -0
  53. package/angular/components/item-slot-picker.ts +248 -0
  54. package/angular/components/slot-menu-list.ts +121 -0
  55. package/angular/components/slot-menu.ts +311 -0
  56. package/angular/esm/components/add-to-dashboard.d.ts +48 -0
  57. package/angular/esm/components/add-to-dashboard.js +129 -0
  58. package/angular/esm/components/ai-chat-empty-state.d.ts +41 -0
  59. package/angular/esm/components/ai-chat-empty-state.js +107 -0
  60. package/angular/esm/components/ai-chat.d.ts +154 -0
  61. package/angular/esm/components/ai-chat.js +477 -0
  62. package/angular/esm/components/ai-interaction-textarea.d.ts +108 -0
  63. package/angular/esm/components/ai-interaction-textarea.js +313 -0
  64. package/angular/esm/components/data-field-level.d.ts +50 -0
  65. package/angular/esm/components/data-field-level.js +129 -0
  66. package/angular/esm/components/data-field-panel.d.ts +86 -0
  67. package/angular/esm/components/data-field-panel.js +268 -0
  68. package/angular/esm/components/data-field.d.ts +50 -0
  69. package/angular/esm/components/data-field.js +129 -0
  70. package/angular/esm/components/data-fields-select.d.ts +87 -0
  71. package/angular/esm/components/data-fields-select.js +243 -0
  72. package/angular/esm/components/dataset-icon.d.ts +34 -0
  73. package/angular/esm/components/dataset-icon.js +86 -0
  74. package/angular/esm/components/dataset-selector-list.d.ts +56 -0
  75. package/angular/esm/components/dataset-selector-list.js +155 -0
  76. package/angular/esm/components/dataset-selector-row.d.ts +72 -0
  77. package/angular/esm/components/dataset-selector-row.js +205 -0
  78. package/angular/esm/components/display-settings-binning.d.ts +37 -0
  79. package/angular/esm/components/display-settings-binning.js +91 -0
  80. package/angular/esm/components/display-settings-datetime.d.ts +40 -0
  81. package/angular/esm/components/display-settings-datetime.js +99 -0
  82. package/angular/esm/components/display-settings-grand-totals.d.ts +37 -0
  83. package/angular/esm/components/display-settings-grand-totals.js +91 -0
  84. package/angular/esm/components/display-settings-numeric.d.ts +45 -0
  85. package/angular/esm/components/display-settings-numeric.js +115 -0
  86. package/angular/esm/components/display-settings-period-over-period.d.ts +50 -0
  87. package/angular/esm/components/display-settings-period-over-period.js +123 -0
  88. package/angular/esm/components/display-settings.d.ts +83 -0
  89. package/angular/esm/components/display-settings.js +231 -0
  90. package/angular/esm/components/filter-expression-picker.d.ts +64 -0
  91. package/angular/esm/components/filter-expression-picker.js +179 -0
  92. package/angular/esm/components/filter-item.d.ts +74 -0
  93. package/angular/esm/components/filter-item.js +222 -0
  94. package/angular/esm/components/filter-parameter-picker.d.ts +56 -0
  95. package/angular/esm/components/filter-parameter-picker.js +151 -0
  96. package/angular/esm/components/filter-value-picker-datetime.d.ts +47 -0
  97. package/angular/esm/components/filter-value-picker-datetime.js +131 -0
  98. package/angular/esm/components/filter-value-picker-hierarchy.d.ts +53 -0
  99. package/angular/esm/components/filter-value-picker-hierarchy.js +155 -0
  100. package/angular/esm/components/filter-value-picker-numeric.d.ts +53 -0
  101. package/angular/esm/components/filter-value-picker-numeric.js +155 -0
  102. package/angular/esm/components/filter-value-picker.d.ts +57 -0
  103. package/angular/esm/components/filter-value-picker.js +171 -0
  104. package/angular/esm/components/filters.d.ts +88 -0
  105. package/angular/esm/components/filters.js +259 -0
  106. package/angular/esm/components/formula-editor.d.ts +78 -0
  107. package/angular/esm/components/formula-editor.js +236 -0
  108. package/angular/esm/components/formula-field.d.ts +70 -0
  109. package/angular/esm/components/formula-field.js +209 -0
  110. package/angular/esm/components/formula.d.ts +60 -0
  111. package/angular/esm/components/formula.js +177 -0
  112. package/angular/esm/components/interactive-viz-item.d.ts +85 -0
  113. package/angular/esm/components/interactive-viz-item.js +250 -0
  114. package/angular/esm/components/item-grid-item-actions-menu.d.ts +47 -0
  115. package/angular/esm/components/item-grid-item-actions-menu.js +121 -0
  116. package/angular/esm/components/item-grid.d.ts +82 -0
  117. package/angular/esm/components/item-grid.js +251 -0
  118. package/angular/esm/components/item-option-action-button-group.d.ts +41 -0
  119. package/angular/esm/components/item-option-action-button-group.js +107 -0
  120. package/angular/esm/components/item-option-color-palette-picker.d.ts +48 -0
  121. package/angular/esm/components/item-option-color-palette-picker.js +131 -0
  122. package/angular/esm/components/item-option-color-picker.d.ts +58 -0
  123. package/angular/esm/components/item-option-color-picker.js +159 -0
  124. package/angular/esm/components/item-option-color-range.d.ts +73 -0
  125. package/angular/esm/components/item-option-color-range.js +199 -0
  126. package/angular/esm/components/item-option-guidelines.d.ts +41 -0
  127. package/angular/esm/components/item-option-guidelines.js +103 -0
  128. package/angular/esm/components/item-option-multi-language-field.d.ts +50 -0
  129. package/angular/esm/components/item-option-multi-language-field.js +139 -0
  130. package/angular/esm/components/item-option-number-field.d.ts +58 -0
  131. package/angular/esm/components/item-option-number-field.js +171 -0
  132. package/angular/esm/components/item-option-panel.d.ts +63 -0
  133. package/angular/esm/components/item-option-panel.js +181 -0
  134. package/angular/esm/components/item-option-picker.d.ts +46 -0
  135. package/angular/esm/components/item-option-picker.js +123 -0
  136. package/angular/esm/components/item-option-position-picker.d.ts +39 -0
  137. package/angular/esm/components/item-option-position-picker.js +99 -0
  138. package/angular/esm/components/item-option-positions-number-field.d.ts +54 -0
  139. package/angular/esm/components/item-option-positions-number-field.js +147 -0
  140. package/angular/esm/components/item-option-radio-button-group.d.ts +45 -0
  141. package/angular/esm/components/item-option-radio-button-group.js +123 -0
  142. package/angular/esm/components/item-option-slider.d.ts +55 -0
  143. package/angular/esm/components/item-option-slider.js +157 -0
  144. package/angular/esm/components/item-option-switch.d.ts +40 -0
  145. package/angular/esm/components/item-option-switch.js +99 -0
  146. package/angular/esm/components/item-option-text-field.d.ts +44 -0
  147. package/angular/esm/components/item-option-text-field.js +115 -0
  148. package/angular/esm/components/item-option.d.ts +67 -0
  149. package/angular/esm/components/item-option.js +197 -0
  150. package/angular/esm/components/item-slot-drop-panel.d.ts +82 -0
  151. package/angular/esm/components/item-slot-drop-panel.js +249 -0
  152. package/angular/esm/components/item-slot-drop.d.ts +77 -0
  153. package/angular/esm/components/item-slot-drop.js +227 -0
  154. package/angular/esm/components/item-slot-picker-panel.d.ts +99 -0
  155. package/angular/esm/components/item-slot-picker-panel.js +317 -0
  156. package/angular/esm/components/item-slot-picker.d.ts +88 -0
  157. package/angular/esm/components/item-slot-picker.js +267 -0
  158. package/angular/esm/components/slot-menu-list.d.ts +46 -0
  159. package/angular/esm/components/slot-menu-list.js +123 -0
  160. package/angular/esm/components/slot-menu.d.ts +107 -0
  161. package/angular/esm/components/slot-menu.js +308 -0
  162. package/angular/esm/index.d.ts +109 -0
  163. package/angular/esm/index.js +217 -0
  164. package/angular/index.ts +223 -0
  165. package/angular/package.json +44 -0
  166. package/angular/tsconfig.json +36 -0
  167. package/angular/type-fallbacks.d.ts +0 -0
  168. package/angular/utils/ai-prompt/attachments.d.ts +10 -0
  169. package/angular/utils/ai-prompt/dictation.d.ts +50 -0
  170. package/angular/utils/ai-prompt/image-upload.d.ts +12 -0
  171. package/angular/utils/ai-prompt/index.d.ts +6 -0
  172. package/angular/utils/ai-prompt/tests/attachments.test.d.ts +1 -0
  173. package/angular/utils/ai-prompt/tests/dictation.test.d.ts +1 -0
  174. package/angular/utils/ai-prompt/tests/image-upload.test.d.ts +1 -0
  175. package/angular/utils/base/base.d.ts +16 -0
  176. package/angular/utils/base/focus-visible.d.ts +29 -0
  177. package/angular/utils/base/focusable.d.ts +58 -0
  178. package/angular/utils/base/index.d.ts +5 -0
  179. package/angular/utils/base/localized-mixin.d.ts +22 -0
  180. package/angular/utils/base/sized-mixin.d.ts +17 -0
  181. package/angular/utils/color/color-palettes.d.ts +17 -0
  182. package/angular/utils/color/extrapolate-color.d.ts +1 -0
  183. package/angular/utils/create-lazy-loader.d.ts +5 -0
  184. package/angular/utils/data/load-data-fields-for-datasets.d.ts +22 -0
  185. package/angular/utils/data-broker/index.d.ts +281 -0
  186. package/angular/utils/data-broker/tests/data-broker.test.d.ts +1 -0
  187. package/angular/utils/data-field-types/calculate-data-field-icon.d.ts +12 -0
  188. package/angular/utils/data-field-types/default-acceptable-data-field-types.d.ts +1 -0
  189. package/angular/utils/data-field-types/tests/calculate-data-field-icon.test.d.ts +1 -0
  190. package/angular/utils/drag/draggable.d.ts +13 -0
  191. package/angular/utils/drag/pragmatic-element-adapter.d.ts +2 -0
  192. package/angular/utils/drag/tests/pragmatic-element-adapter.first-import.test.d.ts +1 -0
  193. package/angular/utils/drag/tests/pragmatic-element-adapter.test.d.ts +1 -0
  194. package/angular/utils/filters/expressions.d.ts +15 -0
  195. package/angular/utils/filters/filter-text.d.ts +64 -0
  196. package/angular/utils/filters/index.d.ts +2 -0
  197. package/angular/utils/filters/presentation.d.ts +4 -0
  198. package/angular/utils/filters/tests/filter-text.test.d.ts +1 -0
  199. package/angular/utils/formatter/calculate-duration.d.ts +2 -0
  200. package/angular/utils/formatter/decompose-numeric-format.d.ts +11 -0
  201. package/angular/utils/formatter/default-local-formats.d.ts +20 -0
  202. package/angular/utils/formatter/formats/cs.d.ts +20 -0
  203. package/angular/utils/formatter/formats/da.d.ts +20 -0
  204. package/angular/utils/formatter/formats/de.d.ts +21 -0
  205. package/angular/utils/formatter/formats/en-GB.d.ts +21 -0
  206. package/angular/utils/formatter/formats/en-US.d.ts +1 -0
  207. package/angular/utils/formatter/formats/en.d.ts +1 -0
  208. package/angular/utils/formatter/formats/es.d.ts +54 -0
  209. package/angular/utils/formatter/formats/fi.d.ts +20 -0
  210. package/angular/utils/formatter/formats/fr.d.ts +54 -0
  211. package/angular/utils/formatter/formats/he.d.ts +20 -0
  212. package/angular/utils/formatter/formats/hu.d.ts +20 -0
  213. package/angular/utils/formatter/formats/it.d.ts +54 -0
  214. package/angular/utils/formatter/formats/ja.d.ts +20 -0
  215. package/angular/utils/formatter/formats/ko.d.ts +20 -0
  216. package/angular/utils/formatter/formats/mk.d.ts +20 -0
  217. package/angular/utils/formatter/formats/nl.d.ts +21 -0
  218. package/angular/utils/formatter/formats/no.d.ts +21 -0
  219. package/angular/utils/formatter/formats/pl.d.ts +20 -0
  220. package/angular/utils/formatter/formats/pt.d.ts +20 -0
  221. package/angular/utils/formatter/formats/ru.d.ts +20 -0
  222. package/angular/utils/formatter/formats/sv.d.ts +20 -0
  223. package/angular/utils/formatter/formats/tr.d.ts +21 -0
  224. package/angular/utils/formatter/formats/zh-CN.d.ts +20 -0
  225. package/angular/utils/formatter/formats/zh-TW.d.ts +20 -0
  226. package/angular/utils/formatter/formatter.d.ts +9 -0
  227. package/angular/utils/formatter/get-dataset-name.d.ts +2 -0
  228. package/angular/utils/formatter/get-localized-name.d.ts +4 -0
  229. package/angular/utils/formatter/localize.d.ts +3 -0
  230. package/angular/utils/formatter/localized-template.d.ts +4 -0
  231. package/angular/utils/formatter/smart-datetime-formats.const.d.ts +36 -0
  232. package/angular/utils/formatter/tests/calculate-duration.test.d.ts +1 -0
  233. package/angular/utils/formatter/tests/decompose-numeric-format.test.d.ts +1 -0
  234. package/angular/utils/formatter/tests/default-local-formats.test.d.ts +1 -0
  235. package/angular/utils/formatter/tests/formatter.test.d.ts +1 -0
  236. package/angular/utils/formatter/tests/get-localized-name.test.d.ts +1 -0
  237. package/angular/utils/formatter/tests/localize.test.d.ts +1 -0
  238. package/angular/utils/formatter/tests/localized-template.test.d.ts +1 -0
  239. package/angular/utils/formula/base/formula-base.d.ts +117 -0
  240. package/angular/utils/formula/base/formula-input-base.d.ts +62 -0
  241. package/angular/utils/formula/codemirror/actions.d.ts +47 -0
  242. package/angular/utils/formula/codemirror/drop-cursor.d.ts +15 -0
  243. package/angular/utils/formula/codemirror/icon-element.d.ts +7 -0
  244. package/angular/utils/formula/codemirror/parser.d.ts +16 -0
  245. package/angular/utils/formula/codemirror/tests/actions.test.d.ts +1 -0
  246. package/angular/utils/formula/codemirror/theme.d.ts +20 -0
  247. package/angular/utils/formula/codemirror/widget.d.ts +18 -0
  248. package/angular/utils/formula/config/aggregations.d.ts +9 -0
  249. package/angular/utils/formula/config/build-datasets.d.ts +10 -0
  250. package/angular/utils/formula/config/expression-helpers.d.ts +42 -0
  251. package/angular/utils/formula/config/functions.d.ts +3 -0
  252. package/angular/utils/formula/config/groupings.d.ts +9 -0
  253. package/angular/utils/formula/config/regex.d.ts +39 -0
  254. package/angular/utils/formula/config/resolve-column-presentation.d.ts +19 -0
  255. package/angular/utils/formula/config/tests/build-datasets.test.d.ts +1 -0
  256. package/angular/utils/formula/config/validate-expression.d.ts +19 -0
  257. package/angular/utils/formula/load-formula-codemirror.d.ts +4 -0
  258. package/angular/utils/formula/render-explanation-tooltip.d.ts +7 -0
  259. package/angular/utils/formula/store/formula-display-store.d.ts +93 -0
  260. package/angular/utils/formula/store/formula-editor-context.d.ts +8 -0
  261. package/angular/utils/formula/store/formula-editor-store.d.ts +46 -0
  262. package/angular/utils/formula/store/tests/formula-editor-store.test.d.ts +1 -0
  263. package/angular/utils/formula/tests/validate-expression.test.d.ts +1 -0
  264. package/angular/utils/get-css-variable.d.ts +1 -0
  265. package/angular/utils/index.d.ts +10 -0
  266. package/angular/utils/localize/set-locale.d.ts +7 -0
  267. package/angular/utils/map-tile-providers/index.d.ts +93 -0
  268. package/angular/utils/option-interaction/index.d.ts +2 -0
  269. package/angular/utils/option-interaction/is-same-option-value.d.ts +10 -0
  270. package/angular/utils/option-interaction/option-interaction-controller.d.ts +54 -0
  271. package/angular/utils/option-interaction/tests/option-interaction-controller.test.d.ts +1 -0
  272. package/angular/utils/set-nested-value.d.ts +6 -0
  273. package/angular/utils/slot-content/ad-hoc-slot-content.d.ts +7 -0
  274. package/angular/utils/slot-content/render-calculation-label.d.ts +7 -0
  275. package/angular/utils/slot-content/tests/ad-hoc-slot-content.test.d.ts +1 -0
  276. package/angular/utils/slot-state/slot-context.d.ts +4 -0
  277. package/angular/utils/slot-state/slot-store.d.ts +43 -0
  278. package/angular/utils/slot-state/tests/slot-store.test.d.ts +1 -0
  279. package/angular/utils/store/base-store.d.ts +167 -0
  280. package/angular/utils/store/dashboard-store.d.ts +49 -0
  281. package/angular/utils/store/index.d.ts +136 -0
  282. package/angular/utils/store/item-store.d.ts +33 -0
  283. package/angular/utils/store/store-registry.d.ts +170 -0
  284. package/angular/utils/store/tests/dashboard-store.test.d.ts +1 -0
  285. package/angular/utils/store/tests/item-store.test.d.ts +1 -0
  286. package/angular/utils/store/tests/store-base-history.test.d.ts +1 -0
  287. package/angular/utils/store/tests/store-base.test.d.ts +1 -0
  288. package/angular/utils/store/tests/store-registry.test.d.ts +1 -0
  289. package/angular/utils/store/types.d.ts +270 -0
  290. package/angular/utils/switch-item/index.d.ts +34 -0
  291. package/angular/utils/switch-item/slot-role-classification.d.ts +31 -0
  292. package/angular/utils/switch-item/stories/switch-item.stories.d.ts +17 -0
  293. package/angular/utils/switch-item/tests/slot-role-classification.test.d.ts +1 -0
  294. package/angular/utils/switch-item/tests/switch-item.test.d.ts +1 -0
  295. package/angular/utils/tests/create-lazy-loader.test.d.ts +1 -0
  296. package/angular/utils/tests/set-nested-value.test.d.ts +1 -0
  297. package/angular/utils/themes/bliss.d.ts +2 -0
  298. package/angular/utils/themes/classic-dark.d.ts +2 -0
  299. package/angular/utils/themes/classic.d.ts +2 -0
  300. package/angular/utils/themes/default-dark.d.ts +2 -0
  301. package/angular/utils/themes/default.d.ts +2 -0
  302. package/angular/utils/themes/index.d.ts +4 -0
  303. package/angular/utils/themes/orion.d.ts +2 -0
  304. package/angular/utils/themes/pinky.d.ts +2 -0
  305. package/angular/utils/themes/radiant.d.ts +2 -0
  306. package/angular/utils/themes/royale.d.ts +2 -0
  307. package/angular/utils/themes/seasonal.d.ts +2 -0
  308. package/angular/utils/themes/urban.d.ts +2 -0
  309. package/angular/utils/themes/vivid.d.ts +2 -0
  310. package/angular/utils/time/formats.const.d.ts +4 -0
  311. package/angular/utils/time/period-over-period-condition.const.d.ts +8 -0
  312. package/angular/utils/time/periods.const.d.ts +15 -0
  313. package/angular/utils/timezone/datetime-timezone.d.ts +25 -0
  314. package/angular/utils/timezone/tests/datetime-timezone.test.d.ts +1 -0
  315. package/angular/utils/transformations/convert-data-field-to-slot-content.d.ts +9 -0
  316. package/angular/utils/transformations/convert-datasets-to-data-fields.d.ts +30 -0
  317. package/angular/utils/transformations/tests/convert-data-field-to-slot-content.test.d.ts +1 -0
  318. package/angular/utils/transformations/tests/convert-datasets-to-data-fields.test.d.ts +1 -0
  319. package/angular/utils/types/tests/type-check.test.d.ts +1 -0
  320. package/angular/utils/types/type-check.d.ts +28 -0
  321. package/components/ad-hoc-slot-content-DWUxMq1x.js +28 -0
  322. package/components/ad-hoc-slot-content-DsRsJzsY.cjs +20 -0
  323. package/components/add-to-dashboard/index.cjs +1 -1
  324. package/components/add-to-dashboard/index.js +1 -2
  325. package/components/add-to-dashboard-NcVHlqrc.js +796 -0
  326. package/components/add-to-dashboard-NwsCPIlg.cjs +166 -0
  327. package/components/ai-chat/ai-chat-events.d.ts +5 -1
  328. package/components/ai-chat/ai-chat-request.d.ts +1 -1
  329. package/components/ai-chat/ai-chat.d.ts +37 -3
  330. package/components/ai-chat/empty-state/ai-chat-empty-state.d.ts +1 -1
  331. package/components/ai-chat/helpers/assistant-message-feedback.d.ts +26 -0
  332. package/components/ai-chat/helpers/elicitation-template.d.ts +1 -1
  333. package/components/ai-chat/index.cjs +1 -1
  334. package/components/ai-chat/index.d.ts +3 -3
  335. package/components/ai-chat/index.js +2 -2
  336. package/components/ai-chat/session/ai-chat-session.d.ts +8 -1
  337. package/components/ai-chat/stream/chunk-extractors.d.ts +8 -0
  338. package/components/ai-chat/stream/index.d.ts +1 -1
  339. package/components/ai-chat/stream/types.d.ts +6 -0
  340. package/components/ai-chat-BNcSadGI.cjs +393 -0
  341. package/components/ai-chat-CL894viH.js +4371 -0
  342. package/components/ai-interaction-textarea/index.cjs +1 -1
  343. package/components/ai-interaction-textarea/index.js +1 -2
  344. package/components/ai-interaction-textarea-BmvVVCmL.cjs +101 -0
  345. package/components/ai-interaction-textarea-CnQ2FBc7.js +797 -0
  346. package/components/area-chart-options.config-D99tvt_H.cjs +20 -0
  347. package/components/area-chart-options.config-Dnw8v2CA.js +218 -0
  348. package/components/area-chart-options.de-D5Wto0ja.cjs +20 -0
  349. package/components/area-chart-options.de-DXjvU5SP.js +94 -0
  350. package/components/area-chart-options.en-C97TC7i-.js +94 -0
  351. package/components/area-chart-options.en-CrffNamW.cjs +20 -0
  352. package/components/area-chart-options.es-BPpe9WGc.cjs +20 -0
  353. package/components/area-chart-options.es-BRZqqMoH.js +94 -0
  354. package/components/area-chart-options.fr-CdlaMfpz.cjs +20 -0
  355. package/components/area-chart-options.fr-DdxaNKyG.js +94 -0
  356. package/components/area-chart-options.nl-C7RTsytw.cjs +20 -0
  357. package/components/area-chart-options.nl-COBLkBRQ.js +94 -0
  358. package/components/area-chart-positioning.config-BwEs73dl.cjs +20 -0
  359. package/components/area-chart-positioning.config-ygE3-JQW.js +54 -0
  360. package/components/area-chart-slots.config-C-NPoK3J.cjs +20 -0
  361. package/components/area-chart-slots.config-D05HNoJK.js +54 -0
  362. package/components/axis-options.config-Cs5ItswD.js +269 -0
  363. package/components/axis-options.config-Dg9pczlQ.cjs +20 -0
  364. package/components/axis-options.i18n-B4Oq86I1.cjs +20 -0
  365. package/components/axis-options.i18n-Bu6vtdMv.js +485 -0
  366. package/components/bar-chart-options.config-BQ-PbucR.cjs +20 -0
  367. package/components/bar-chart-options.config-DHO8grQN.js +265 -0
  368. package/components/bar-chart-options.de-CP33NpEm.js +110 -0
  369. package/components/bar-chart-options.de-D7Aam6Mv.cjs +20 -0
  370. package/components/bar-chart-options.en-Bz116FHK.js +110 -0
  371. package/components/bar-chart-options.en-CkdOHM9S.cjs +20 -0
  372. package/components/bar-chart-options.es-C3SZOSiN.cjs +20 -0
  373. package/components/bar-chart-options.es-CXu-5of-.js +110 -0
  374. package/components/bar-chart-options.fr-aVs2K5Qh.cjs +20 -0
  375. package/components/bar-chart-options.fr-m4kyuObV.js +110 -0
  376. package/components/bar-chart-options.nl-BoGYJH70.cjs +20 -0
  377. package/components/bar-chart-options.nl-IYu6IncY.js +110 -0
  378. package/components/bar-chart-positioning.config-CPdIIPp0.cjs +20 -0
  379. package/components/bar-chart-positioning.config-GjqSe7CO.js +58 -0
  380. package/components/bar-chart-slots.config-AkSBrmIW.js +49 -0
  381. package/components/bar-chart-slots.config-CHR8QVRY.cjs +20 -0
  382. package/components/base-CGDNY_7v.cjs +20 -0
  383. package/components/base-rAte-QzM.js +240 -0
  384. package/components/base-store-D3whjduR.cjs +20 -0
  385. package/components/base-store-DQYj8A1W.js +153 -0
  386. package/components/bliss-BEt3SIfb.js +74 -0
  387. package/components/box-plot-options.config-BcGisybi.cjs +20 -0
  388. package/components/box-plot-options.config-BgiiwSrU.js +351 -0
  389. package/components/box-plot-options.de-BNdJuZsx.js +107 -0
  390. package/components/box-plot-options.de-CJ5uTyj4.cjs +20 -0
  391. package/components/box-plot-options.en-CnmnMRfg.js +107 -0
  392. package/components/box-plot-options.en-D91y5Yn2.cjs +20 -0
  393. package/components/box-plot-options.es-B6RVPU6K.js +107 -0
  394. package/components/box-plot-options.es-BE_gbUfY.cjs +20 -0
  395. package/components/box-plot-options.fr-CQVriCXK.js +107 -0
  396. package/components/box-plot-options.fr-w8w9Ulrk.cjs +20 -0
  397. package/components/box-plot-options.nl-Dl6tln-c.cjs +20 -0
  398. package/components/box-plot-options.nl-bHdxhoY1.js +107 -0
  399. package/components/box-plot-positioning.config-DDUgau2U.js +47 -0
  400. package/components/box-plot-positioning.config-mSIgw923.cjs +20 -0
  401. package/components/box-plot-slots.config-3bkXggok.cjs +20 -0
  402. package/components/box-plot-slots.config-DGx5e4nS.js +39 -0
  403. package/components/bubble-chart-options.config-DMk8Yjfk.cjs +20 -0
  404. package/components/bubble-chart-options.config-UM9w5tBs.js +141 -0
  405. package/components/bubble-chart-options.de-B-CE9HH_.js +48 -0
  406. package/components/bubble-chart-options.en-Dz03_J0z.js +48 -0
  407. package/components/bubble-chart-options.es-F1mNRXZq.js +48 -0
  408. package/components/bubble-chart-options.fr-B8lDK-z9.js +48 -0
  409. package/components/bubble-chart-options.nl-Bg5UEsxM.js +48 -0
  410. package/components/bubble-chart-positioning.config-C3UubNLh.js +54 -0
  411. package/components/bubble-chart-positioning.config-CuOxvXYf.cjs +20 -0
  412. package/components/bubble-chart-slots.config-BHB8xqfy.js +46 -0
  413. package/components/bubble-chart-slots.config-DI8-pPaE.cjs +20 -0
  414. package/components/bullet-chart-options.config-D9HklLUI.js +94 -0
  415. package/components/bullet-chart-options.config-DUAnmPGW.cjs +20 -0
  416. package/components/bullet-chart-options.de-C6HTRMYV.cjs +20 -0
  417. package/components/bullet-chart-options.de-yq4D8cLz.js +46 -0
  418. package/components/bullet-chart-options.en-C2MDX5A3.cjs +20 -0
  419. package/components/bullet-chart-options.en-CwZVlb8N.js +46 -0
  420. package/components/bullet-chart-options.es-CGqpJxSU.cjs +20 -0
  421. package/components/bullet-chart-options.es-DgyTWiW3.js +46 -0
  422. package/components/bullet-chart-options.fr-BFtQlQrs.cjs +20 -0
  423. package/components/bullet-chart-options.fr-BfR1KSqo.js +46 -0
  424. package/components/bullet-chart-options.nl-BaZDLnDS.cjs +20 -0
  425. package/components/bullet-chart-options.nl-CkCZ8-Tq.js +46 -0
  426. package/components/bullet-chart-positioning.config-BuFhsRMP.js +55 -0
  427. package/components/bullet-chart-positioning.config-DB1Fmx1d.cjs +20 -0
  428. package/components/bullet-chart-slots.config-BG6XKLJg.cjs +20 -0
  429. package/components/bullet-chart-slots.config-ujoj2rwb.js +45 -0
  430. package/components/calculate-data-field-icon-BrFZHlNR.js +148 -0
  431. package/components/chart-helpers-Dng_LGfq.js +249 -0
  432. package/components/choropleth-map-options.config-Blu0Z2tR.js +351 -0
  433. package/components/choropleth-map-options.config-DwFJ00CS.cjs +20 -0
  434. package/components/choropleth-map-options.de-CjnC-9AW.js +71 -0
  435. package/components/choropleth-map-options.en-DKJmimPI.js +71 -0
  436. package/components/choropleth-map-options.es-BWw823D1.js +71 -0
  437. package/components/choropleth-map-options.fr-B6P5TF2j.js +71 -0
  438. package/components/choropleth-map-options.nl-JZsLCT82.js +71 -0
  439. package/components/choropleth-map-positioning.config-6PsCyhsn.js +54 -0
  440. package/components/choropleth-map-positioning.config-fc5IcNoB.cjs +20 -0
  441. package/components/choropleth-map-slots.config-C7e7ZKYl.js +52 -0
  442. package/components/choropleth-map-slots.config-DQUaQxxY.cjs +20 -0
  443. package/components/circle-pack-chart-options.config-DMNMYWZX.cjs +20 -0
  444. package/components/circle-pack-chart-options.config-DQs-uitJ.js +59 -0
  445. package/components/circle-pack-chart-options.de-C0s0u4cP.js +30 -0
  446. package/components/circle-pack-chart-options.en-1SlxJ8D2.js +30 -0
  447. package/components/circle-pack-chart-options.es-n3EDSGVP.js +30 -0
  448. package/components/circle-pack-chart-options.fr-ZwBi9b32.js +30 -0
  449. package/components/circle-pack-chart-options.nl-DtTJ6Vaj.js +30 -0
  450. package/components/circle-pack-chart-positioning.config-DRHNE10H.js +47 -0
  451. package/components/circle-pack-chart-positioning.config-DvQfzJ_Z.cjs +20 -0
  452. package/components/circle-pack-chart-slots.config-37GyNjk7.cjs +20 -0
  453. package/components/circle-pack-chart-slots.config-CA-fJ_Q1.js +37 -0
  454. package/components/circular-gauge-options.config-B4Hk-AXi.cjs +20 -0
  455. package/components/circular-gauge-options.config-CnWE16oE.js +192 -0
  456. package/components/circular-gauge-options.de-D0pLBMXo.js +56 -0
  457. package/components/circular-gauge-options.en-PYvfXZQL.js +56 -0
  458. package/components/circular-gauge-options.es-DfoNDSPk.js +56 -0
  459. package/components/circular-gauge-options.fr-DbmqrGCc.js +56 -0
  460. package/components/circular-gauge-options.nl-iHEN3ip8.js +56 -0
  461. package/components/circular-gauge-positioning.config-CGOX-Vyn.js +47 -0
  462. package/components/circular-gauge-positioning.config-OX1-mPls.cjs +20 -0
  463. package/components/circular-gauge-slots.config-L-NZc7MY.cjs +20 -0
  464. package/components/circular-gauge-slots.config-UYWufX3Z.js +38 -0
  465. package/components/classic-B9EbWt-B.js +81 -0
  466. package/components/classic-dark-BRDXw-Ec.js +72 -0
  467. package/components/color-CQcCK-_O.js +3810 -0
  468. package/components/color-DKdzPrQX.cjs +20 -0
  469. package/components/color-palettes-B194TZ0a.js +1473 -0
  470. package/components/color-range-utils-CgwRGUkg.js +62 -0
  471. package/components/color-range-utils-D8uygiMe.cjs +20 -0
  472. package/components/column-chart-options.config-BYDJTVx6.js +264 -0
  473. package/components/column-chart-options.config-CyD8V7j4.cjs +20 -0
  474. package/components/column-chart-options.de-BOp0fmxj.cjs +20 -0
  475. package/components/column-chart-options.de-BPRcyVXO.js +110 -0
  476. package/components/column-chart-options.en-BmtcG_3n.js +110 -0
  477. package/components/column-chart-options.en-CkdOHM9S.cjs +20 -0
  478. package/components/column-chart-options.es-BNDjc5Cj.js +110 -0
  479. package/components/column-chart-options.es-BiPP9jKx.cjs +20 -0
  480. package/components/column-chart-options.fr-Cyz4XUm_.js +110 -0
  481. package/components/column-chart-options.fr-aVs2K5Qh.cjs +20 -0
  482. package/components/column-chart-options.nl-BoGYJH70.cjs +20 -0
  483. package/components/column-chart-options.nl-Dci9pl7S.js +110 -0
  484. package/components/column-chart-positioning.config-BVYa1A42.js +54 -0
  485. package/components/column-chart-positioning.config-NbQbSa8P.cjs +20 -0
  486. package/components/column-chart-slots.config-h3Kwc61j.cjs +20 -0
  487. package/components/column-chart-slots.config-i2QvhELq.js +49 -0
  488. package/components/combination-chart-options.config-B3zsSUFx.js +156 -0
  489. package/components/combination-chart-options.config-Cg3ZEKMe.cjs +20 -0
  490. package/components/combination-chart-options.de-DycthBF_.cjs +20 -0
  491. package/components/combination-chart-options.de-LcfaqPiY.js +73 -0
  492. package/components/combination-chart-options.en-BIosKCWf.cjs +20 -0
  493. package/components/combination-chart-options.en-CKTmecmz.js +73 -0
  494. package/components/combination-chart-options.es-BZvT5fH1.js +73 -0
  495. package/components/combination-chart-options.es-CZ6uoD-U.cjs +20 -0
  496. package/components/combination-chart-options.fr-B2NH27P6.cjs +20 -0
  497. package/components/combination-chart-options.fr-niQosk62.js +73 -0
  498. package/components/combination-chart-options.nl-B-vNeGxb.cjs +20 -0
  499. package/components/combination-chart-options.nl-Co7JI3vH.js +73 -0
  500. package/components/combination-chart-positioning.config-B7DtfzCV.cjs +20 -0
  501. package/components/combination-chart-positioning.config-yHAgveni.js +47 -0
  502. package/components/combination-chart-slots.config-CxkpKksB.js +42 -0
  503. package/components/combination-chart-slots.config-DV6RMdjE.cjs +20 -0
  504. package/components/conditional-number-options.config-CsEhIU-T.cjs +20 -0
  505. package/components/conditional-number-options.config-DObu2Erh.js +209 -0
  506. package/components/conditional-number-options.de-BEYC3Tkn.js +59 -0
  507. package/components/conditional-number-options.en-CobRwTMJ.js +59 -0
  508. package/components/conditional-number-options.es-CURPGt9l.js +59 -0
  509. package/components/conditional-number-options.fr-DbiJCo-x.js +59 -0
  510. package/components/conditional-number-options.nl-DRbK4wGL.js +59 -0
  511. package/components/conditional-number-positioning.config-BZS99jTT.cjs +20 -0
  512. package/components/conditional-number-positioning.config-DhixJEpv.js +47 -0
  513. package/components/conditional-number-slots.config-CggROf5Y.js +38 -0
  514. package/components/conditional-number-slots.config-Opfq5oAT.cjs +20 -0
  515. package/components/convert-datasets-to-data-fields-DZJstVS2.js +67 -0
  516. package/components/create-lazy-loader-BFqDG_WK.js +30 -0
  517. package/components/cs-OL9Kdu8F.js +125 -0
  518. package/components/da-B0rljMwE.js +125 -0
  519. package/components/data-broker-C1Iz71TN.js +1675 -0
  520. package/components/data-broker-DCghLjhq.cjs +20 -0
  521. package/components/data-field/index.cjs +1 -1
  522. package/components/data-field/index.js +1 -2
  523. package/components/data-field-B9466d0w.js +120 -0
  524. package/components/data-field-BORlpZZk.cjs +54 -0
  525. package/components/data-field-level/index.cjs +1 -1
  526. package/components/data-field-level/index.js +1 -2
  527. package/components/data-field-level-DOEYwcvM.cjs +55 -0
  528. package/components/data-field-level-GrX6yhPV.js +243 -0
  529. package/components/data-field-panel/index.cjs +1 -1
  530. package/components/data-field-panel/index.js +1 -2
  531. package/components/data-field-panel-BedJ9V2r.js +373 -0
  532. package/components/data-field-panel-DmMkAYAz.cjs +87 -0
  533. package/components/data-fields-select/data-fields-select.d.ts +3 -1
  534. package/components/data-fields-select/index.cjs +1 -1
  535. package/components/data-fields-select/index.js +1 -2
  536. package/components/data-fields-select-BOqmoE7n.cjs +43 -0
  537. package/components/data-fields-select-af1HZLWS.js +291 -0
  538. package/components/dataset-icon/index.cjs +1 -1
  539. package/components/dataset-icon/index.js +1 -2
  540. package/components/dataset-icon-CmgJeTKm.cjs +62 -0
  541. package/components/dataset-icon-DAeC0MBI.js +109 -0
  542. package/components/dataset-selector-list/index.cjs +1 -1
  543. package/components/dataset-selector-list/index.js +1 -2
  544. package/components/dataset-selector-list-BzI8n_dB.js +319 -0
  545. package/components/dataset-selector-list-CmZaj20L.cjs +75 -0
  546. package/components/dataset-selector-row/index.cjs +1 -1
  547. package/components/dataset-selector-row/index.js +1 -2
  548. package/components/dataset-selector-row-D_7iBmdm.js +442 -0
  549. package/components/dataset-selector-row-mOGioXLM.cjs +104 -0
  550. package/components/date-comparison-filter-options.config-BAhHCVlo.js +125 -0
  551. package/components/date-comparison-filter-options.config-vCXOhzkp.cjs +20 -0
  552. package/components/date-comparison-filter-options.de-CHAepese.js +54 -0
  553. package/components/date-comparison-filter-options.en-GnqPLNOy.js +54 -0
  554. package/components/date-comparison-filter-options.es-CYGgumPR.js +54 -0
  555. package/components/date-comparison-filter-options.fr-CBR4gt5a.js +54 -0
  556. package/components/date-comparison-filter-options.nl-BleWGdSU.js +54 -0
  557. package/components/date-comparison-filter-positioning.config-DYLCdy0p.js +37 -0
  558. package/components/date-comparison-filter-slots.config-ADyQbpVL.js +36 -0
  559. package/components/date-comparison-filter-slots.config-BdvwoigA.cjs +20 -0
  560. package/components/date-filter-options.config-BrfWBIvy.js +117 -0
  561. package/components/date-filter-options.config-D_SMC4NH.cjs +20 -0
  562. package/components/date-filter-options.de-C0_La4e1.js +50 -0
  563. package/components/date-filter-options.en-D61ub6Of.js +50 -0
  564. package/components/date-filter-options.es-DIkmpKCh.js +50 -0
  565. package/components/date-filter-options.fr-DV41ThRu.js +50 -0
  566. package/components/date-filter-options.nl-BitqNpNd.js +50 -0
  567. package/components/date-filter-positioning.config-Bm6cN9d0.js +37 -0
  568. package/components/date-filter-slots.config-dk86EThT.js +36 -0
  569. package/components/date-filter-slots.config-hsRo3Wiz.cjs +20 -0
  570. package/components/de-AOtjGNGZ.js +599 -0
  571. package/components/de-B7zGHvA7.js +137 -0
  572. package/components/de-KvAhLsm8.cjs +20 -0
  573. package/components/decompose-numeric-format-BoLX-V2j.js +35 -0
  574. package/components/decorate-B2TzfnLZ.js +27 -0
  575. package/components/default-C9MysWm4.js +77 -0
  576. package/components/default-acceptable-data-field-types-BNgYdork.js +52 -0
  577. package/components/default-acceptable-data-field-types-BUNRNPPB.cjs +20 -0
  578. package/components/default-dark-1RNfdcoq.js +77 -0
  579. package/components/defineProperty-DIhE-wKn.js +54 -0
  580. package/components/defineProperty-X1c4tIPD.cjs +20 -0
  581. package/components/display-settings/display-settings.d.ts +2 -2
  582. package/components/display-settings/index.cjs +1 -1
  583. package/components/display-settings/index.js +1 -2
  584. package/components/display-settings-DaZ3CiKB.cjs +143 -0
  585. package/components/display-settings-Qwp9oJo6.js +312 -0
  586. package/components/display-settings-binning/index.cjs +1 -1
  587. package/components/display-settings-binning/index.js +1 -2
  588. package/components/display-settings-binning-D5zhoC7D.cjs +56 -0
  589. package/components/display-settings-binning-IPVCvx8a.js +109 -0
  590. package/components/display-settings-datetime/index.cjs +1 -1
  591. package/components/display-settings-datetime/index.js +1 -2
  592. package/components/display-settings-datetime-DgBBSYfC.js +412 -0
  593. package/components/display-settings-datetime-t70VEfHe.cjs +217 -0
  594. package/components/display-settings-grand-totals/index.cjs +1 -1
  595. package/components/display-settings-grand-totals/index.js +1 -2
  596. package/components/display-settings-grand-totals-AFtKeeeG.js +88 -0
  597. package/components/display-settings-grand-totals-C_Fzk7oV.cjs +44 -0
  598. package/components/display-settings-numeric/index.cjs +1 -1
  599. package/components/display-settings-numeric/index.js +1 -2
  600. package/components/display-settings-numeric-BF8BA5MH.cjs +190 -0
  601. package/components/display-settings-numeric-DeuXT1UR.js +478 -0
  602. package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +2 -2
  603. package/components/display-settings-period-over-period/index.cjs +1 -1
  604. package/components/display-settings-period-over-period/index.js +1 -2
  605. package/components/display-settings-period-over-period-B8Ne3lq-.cjs +227 -0
  606. package/components/display-settings-period-over-period-CzxnyVF7.js +441 -0
  607. package/components/donut-chart-options.config-B2vxfMyh.js +225 -0
  608. package/components/donut-chart-options.config-DX-spmaZ.cjs +20 -0
  609. package/components/donut-chart-options.de-AXRfsiXW.cjs +20 -0
  610. package/components/donut-chart-options.de-DgNmBJiQ.js +85 -0
  611. package/components/donut-chart-options.en-BXwxTVpB.js +85 -0
  612. package/components/donut-chart-options.en-aZqu2oEV.cjs +20 -0
  613. package/components/donut-chart-options.es-7WgxuaDe.cjs +20 -0
  614. package/components/donut-chart-options.es-DW_q5HeE.js +85 -0
  615. package/components/donut-chart-options.fr-C0Z8xEyF.cjs +20 -0
  616. package/components/donut-chart-options.fr-QU3pGELZ.js +85 -0
  617. package/components/donut-chart-options.nl-D_cgYVAQ.js +85 -0
  618. package/components/donut-chart-options.nl-aKVLbRJY.cjs +20 -0
  619. package/components/donut-chart-positioning.config-Bu1jZwtJ.cjs +20 -0
  620. package/components/donut-chart-positioning.config-C0jkFWni.js +47 -0
  621. package/components/donut-chart-slots.config-MP-ACaLN.js +38 -0
  622. package/components/donut-chart-slots.config-yCDWS8AP.cjs +20 -0
  623. package/components/dropdown-filter-options.config-B2S5I7IG.js +152 -0
  624. package/components/dropdown-filter-options.config-FjrC4F1D.cjs +20 -0
  625. package/components/dropdown-filter-options.de-AEVNdD6Z.js +53 -0
  626. package/components/dropdown-filter-options.en-louYVeNr.js +53 -0
  627. package/components/dropdown-filter-options.es-Cp89jwkQ.js +53 -0
  628. package/components/dropdown-filter-options.fr-g_Sk9N4G.js +53 -0
  629. package/components/dropdown-filter-options.nl-DZALlawB.js +53 -0
  630. package/components/dropdown-filter-positioning.config-B7OQwWln.js +37 -0
  631. package/components/dropdown-filter-slots.config-awL8-LA_.js +37 -0
  632. package/components/dropdown-filter-slots.config-kDbB7STx.cjs +20 -0
  633. package/components/en-C9bDcBWX.cjs +20 -0
  634. package/components/en-CTE7umbs.js +20 -0
  635. package/components/en-GB-DFky6j2B.js +27 -0
  636. package/components/en-GB-DVtn5f2X.cjs +20 -0
  637. package/components/en-US-C9bDcBWX.cjs +20 -0
  638. package/components/en-US-CTE7umbs.js +20 -0
  639. package/components/es-2wpxXQjZ.js +330 -0
  640. package/components/es-CYhv03uu.js +599 -0
  641. package/components/es-DVISHTAz.cjs +20 -0
  642. package/components/evolution-number-options.config-B5qxlpwU.cjs +20 -0
  643. package/components/evolution-number-options.config-BBWPkY_K.js +229 -0
  644. package/components/evolution-number-options.de-Cnx_5hf-.js +75 -0
  645. package/components/evolution-number-options.de-va_ypOy6.cjs +20 -0
  646. package/components/evolution-number-options.en-Beo5xLX4.js +75 -0
  647. package/components/evolution-number-options.en-CtAX9A-5.cjs +20 -0
  648. package/components/evolution-number-options.es-BSOmGeQs.js +75 -0
  649. package/components/evolution-number-options.es-CCkbdLdF.cjs +20 -0
  650. package/components/evolution-number-options.fr-BQhExQ6b.js +75 -0
  651. package/components/evolution-number-options.fr-QIK5EXQs.cjs +20 -0
  652. package/components/evolution-number-options.nl-CwUSSlVi.cjs +20 -0
  653. package/components/evolution-number-options.nl-D10AEaNk.js +75 -0
  654. package/components/evolution-number-positioning.config-DD8HBFtv.js +47 -0
  655. package/components/evolution-number-positioning.config-DbH1-ODd.cjs +20 -0
  656. package/components/evolution-number-slots.config-B95BRQY1.js +36 -0
  657. package/components/evolution-number-slots.config-Cte42hyT.cjs +20 -0
  658. package/components/fi-BXIEpAkN.js +125 -0
  659. package/components/filter-expression-picker/index.cjs +1 -1
  660. package/components/filter-expression-picker/index.js +1 -2
  661. package/components/filter-expression-picker-Cc3xfiGT.js +432 -0
  662. package/components/filter-expression-picker-DDSI9bYq.cjs +40 -0
  663. package/components/filter-item/filter-item.d.ts +1 -1
  664. package/components/filter-item/index.cjs +1 -1
  665. package/components/filter-item/index.js +1 -2
  666. package/components/filter-item-DQNbp7Qn.cjs +111 -0
  667. package/components/filter-item-QJ3sDlmG.js +792 -0
  668. package/components/filter-parameter-picker/index.cjs +1 -1
  669. package/components/filter-parameter-picker/index.js +1 -2
  670. package/components/filter-parameter-picker-C8qwIo_H.js +365 -0
  671. package/components/filter-parameter-picker-DjQVFIfg.cjs +124 -0
  672. package/components/filter-value-picker/index.cjs +1 -1
  673. package/components/filter-value-picker/index.js +1 -2
  674. package/components/filter-value-picker-CMNxLzj7.cjs +69 -0
  675. package/components/filter-value-picker-DIYyMymr.js +168 -0
  676. package/components/filter-value-picker-datetime/index.cjs +1 -1
  677. package/components/filter-value-picker-datetime/index.js +1 -2
  678. package/components/filter-value-picker-datetime-BVDQ-og5.cjs +51 -0
  679. package/components/filter-value-picker-datetime-DKblyQrs.js +158 -0
  680. package/components/filter-value-picker-hierarchy/index.cjs +1 -1
  681. package/components/filter-value-picker-hierarchy/index.js +1 -2
  682. package/components/filter-value-picker-hierarchy-CXPC_4MU.cjs +54 -0
  683. package/components/filter-value-picker-hierarchy-IswtY6Qa.js +311 -0
  684. package/components/filter-value-picker-numeric/index.cjs +1 -1
  685. package/components/filter-value-picker-numeric/index.js +1 -2
  686. package/components/filter-value-picker-numeric-C7_-Fpol.cjs +54 -0
  687. package/components/filter-value-picker-numeric-DlFnGZ2O.js +236 -0
  688. package/components/filters/filters.d.ts +11 -0
  689. package/components/filters/index.cjs +1 -1
  690. package/components/filters/index.js +1 -2
  691. package/components/filters-BPbPFOu5.cjs +187 -0
  692. package/components/filters-CxIzuI5q.js +927 -0
  693. package/components/formatter-D_hJ1XXN.cjs +20 -0
  694. package/components/formatter-u-RIfSi3.js +1441 -0
  695. package/components/formula/formula.d.ts +2 -2
  696. package/components/formula/index.cjs +1 -1
  697. package/components/formula/index.js +1 -2
  698. package/components/formula-CXrr9wJZ.cjs +45 -0
  699. package/components/formula-WqOlEQ5o.js +130 -0
  700. package/components/formula-codemirror/formula-codemirror.d.ts +2 -2
  701. package/components/formula-codemirror/pills/formula-aggregation/formula-aggregation.d.ts +2 -2
  702. package/components/formula-codemirror/pills/formula-empty-argument-pill/formula-empty-argument-pill.d.ts +2 -2
  703. package/components/formula-codemirror/pills/formula-include-exclude-panel.d.ts +1 -1
  704. package/components/formula-codemirror-BTYlGSxE.cjs +215 -0
  705. package/components/formula-codemirror-bpEb3M2G.js +12029 -0
  706. package/components/formula-display-store-D7fzKNfW.cjs +20 -0
  707. package/components/formula-display-store-QU-B6xp9.js +1070 -0
  708. package/components/formula-editor/formula-aggregations-list.d.ts +2 -2
  709. package/components/formula-editor/formula-datasets-list.d.ts +2 -2
  710. package/components/formula-editor/formula-description.d.ts +1 -1
  711. package/components/formula-editor/formula-editor.d.ts +1 -1
  712. package/components/formula-editor/formula-functions-list.d.ts +2 -2
  713. package/components/formula-editor/index.cjs +1 -1
  714. package/components/formula-editor/index.d.ts +3 -3
  715. package/components/formula-editor/index.js +3 -3
  716. package/components/formula-editor-BbyDf0vM.js +670 -0
  717. package/components/formula-editor-D_NRhjUI.cjs +224 -0
  718. package/components/formula-field/formula-field.d.ts +1 -1
  719. package/components/formula-field/index.cjs +1 -1
  720. package/components/formula-field/index.js +1 -2
  721. package/components/formula-field-BT9K_W6Q.js +36 -0
  722. package/components/formula-field-DSSpI8LB.cjs +20 -0
  723. package/components/formula-input-base-BoWiH97v.cjs +49 -0
  724. package/components/formula-input-base-CQc1OU9G.js +235 -0
  725. package/components/fr-BCxcMVQV.cjs +20 -0
  726. package/components/fr-BmrdQkkf.js +330 -0
  727. package/components/fr-DKAoGI_6.js +599 -0
  728. package/components/funnel-chart-options.config-CKp94nx7.cjs +20 -0
  729. package/components/funnel-chart-options.config-W83a8ukL.js +219 -0
  730. package/components/funnel-chart-options.de-B2f_xxvV.cjs +20 -0
  731. package/components/funnel-chart-options.de-CLMiAr0m.js +76 -0
  732. package/components/funnel-chart-options.en-Cdvkged9.cjs +20 -0
  733. package/components/funnel-chart-options.en-Pu8yU7Yz.js +76 -0
  734. package/components/funnel-chart-options.es-BPjGIJ7s.js +76 -0
  735. package/components/funnel-chart-options.es-CrAp7hOK.cjs +20 -0
  736. package/components/funnel-chart-options.fr-0RxiqeZg.cjs +20 -0
  737. package/components/funnel-chart-options.fr-CtWjGa4q.js +76 -0
  738. package/components/funnel-chart-options.nl-2TPEy_CB.js +76 -0
  739. package/components/funnel-chart-options.nl-r_wRg5qR.cjs +20 -0
  740. package/components/funnel-chart-positioning.config-Dbex7egf.js +47 -0
  741. package/components/funnel-chart-positioning.config-Dx9E5eiW.cjs +20 -0
  742. package/components/funnel-chart-slots.config-BtQ1-r95.js +42 -0
  743. package/components/funnel-chart-slots.config-C6BS2z-H.cjs +20 -0
  744. package/components/get-css-variable-ClRBOKeI.cjs +20 -0
  745. package/components/get-css-variable-Cnzvg4uu.js +61 -0
  746. package/components/get-dataset-name-BArAzBu2.js +30 -0
  747. package/components/get-dataset-name-C3Sc0hZ0.cjs +20 -0
  748. package/components/grid-core-17um9vkU.cjs +68 -0
  749. package/components/grid-core-BAZu7mfE.js +4464 -0
  750. package/components/grid-core.cjs +20 -0
  751. package/components/grid-core.js +20 -0
  752. package/components/groupings-DMWmtE5F.cjs +20 -0
  753. package/components/groupings-DXJS4XIU.js +51 -0
  754. package/components/guidelines-options.config-DVZrOa3v.js +47 -0
  755. package/components/he-ndbttrR_.js +125 -0
  756. package/components/heat-map-options.config-BQkhkLPb.js +225 -0
  757. package/components/heat-map-options.config-DjQkB039.cjs +20 -0
  758. package/components/heat-map-options.de-2WGKE1uj.js +74 -0
  759. package/components/heat-map-options.en-BzycxyHN.js +74 -0
  760. package/components/heat-map-options.es-B2m_je_2.js +74 -0
  761. package/components/heat-map-options.fr-DLkEEMp-.js +74 -0
  762. package/components/heat-map-options.nl-CYxHV_cw.js +74 -0
  763. package/components/heat-map-positioning.config-Bzg0DG60.cjs +20 -0
  764. package/components/heat-map-positioning.config-D4T7PQzN.js +47 -0
  765. package/components/heat-map-slots.config-BFZuGyAK.cjs +20 -0
  766. package/components/heat-map-slots.config-Cd6J4Q33.js +36 -0
  767. package/components/heat-table-options.config-CMWWTeyo.js +276 -0
  768. package/components/heat-table-options.config-D21xtaIk.cjs +20 -0
  769. package/components/heat-table-options.de-BjW2r5Di.js +113 -0
  770. package/components/heat-table-options.de-Br9DbeCp.cjs +20 -0
  771. package/components/heat-table-options.en-CNQyVmPW.js +113 -0
  772. package/components/heat-table-options.en-Cdn-xUSD.cjs +20 -0
  773. package/components/heat-table-options.es-DM03r8u7.js +113 -0
  774. package/components/heat-table-options.es-Dkv8Q0Gi.cjs +20 -0
  775. package/components/heat-table-options.fr-PKUURBoA.js +113 -0
  776. package/components/heat-table-options.fr-uLTRU2oE.cjs +20 -0
  777. package/components/heat-table-options.nl-BCVLfuQK.js +113 -0
  778. package/components/heat-table-options.nl-DaYIbnqr.cjs +20 -0
  779. package/components/heat-table-positioning.config-Cj6LlLe3.cjs +20 -0
  780. package/components/heat-table-positioning.config-DVQiJfC4.js +54 -0
  781. package/components/heat-table-slots.config-52DDtG_7.js +48 -0
  782. package/components/heat-table-slots.config-C_JKGLP3.cjs +20 -0
  783. package/components/helpers-CYA1cJcv.js +67 -0
  784. package/components/hexbin-map-options.config-DUbhSv0B.js +277 -0
  785. package/components/hexbin-map-options.config-DZLLOr7D.cjs +20 -0
  786. package/components/hexbin-map-options.de-BecXyFba.js +107 -0
  787. package/components/hexbin-map-options.en-C2u4_34W.js +107 -0
  788. package/components/hexbin-map-options.es-Cef5NzFK.js +107 -0
  789. package/components/hexbin-map-options.fr-C37I85X2.js +107 -0
  790. package/components/hexbin-map-options.nl-CGYc3Tzm.js +107 -0
  791. package/components/hexbin-map-positioning.config-ChoCCure.cjs +20 -0
  792. package/components/hexbin-map-positioning.config-csNrvMwp.js +47 -0
  793. package/components/hexbin-map-slots.config-DiYcKnDG.cjs +20 -0
  794. package/components/hexbin-map-slots.config-DmITrQD3.js +36 -0
  795. package/components/hu-DBxO0Baz.js +125 -0
  796. package/components/icon-element-py6Nkaaz.js +83 -0
  797. package/components/image-options.config-D_QOqkE_.js +152 -0
  798. package/components/image-options.config-Dc8N_USB.cjs +20 -0
  799. package/components/image-options.de-03hJ2g0T.js +85 -0
  800. package/components/image-options.en-CjqpTh_m.js +85 -0
  801. package/components/image-options.es-BjZ9dYXp.js +85 -0
  802. package/components/image-options.fr-BZZ2scJt.js +85 -0
  803. package/components/image-options.nl-DGlo-Y7n.js +85 -0
  804. package/components/image-slots.config-CfaLrVzD.cjs +20 -0
  805. package/components/image-slots.config-FlUYF49C.js +23 -0
  806. package/components/index.cjs +1 -1
  807. package/components/index.js +71 -72
  808. package/components/info-tooltip-options.config-CyFz6pUU.js +58 -0
  809. package/components/info-tooltip-options.i18n-Cmmn-9tw.js +73 -0
  810. package/components/interactive-viz-item/index.cjs +1 -1
  811. package/components/interactive-viz-item/index.d.ts +2 -1
  812. package/components/interactive-viz-item/index.js +2 -2
  813. package/components/interactive-viz-item/interactive-viz-item.d.ts +31 -1
  814. package/components/interactive-viz-item/types.d.ts +13 -0
  815. package/components/interactive-viz-item-CwRRaCZB.js +583 -0
  816. package/components/interactive-viz-item-CxdrGRKc.cjs +265 -0
  817. package/components/interactivity-options.config-MuEP5vSt.js +72 -0
  818. package/components/interactivity-options.i18n-DY947PNz.js +58 -0
  819. package/components/is-same-option-value-B2oyvEqT.js +42 -0
  820. package/components/is-same-option-value-Cf6BQcs7.cjs +20 -0
  821. package/components/it-SNChaNqP.js +330 -0
  822. package/components/item-context-configs.js +1 -2
  823. package/components/item-grid/actions.d.ts +2 -1
  824. package/components/item-grid/helpers/grid-chart-rendering.d.ts +12 -0
  825. package/components/item-grid/helpers/grid-events.d.ts +1 -56
  826. package/components/item-grid/helpers/grid-interactions.d.ts +1 -88
  827. package/components/item-grid/helpers/grid-item-management.d.ts +5 -26
  828. package/components/item-grid/helpers/grid-item-popover.d.ts +1 -21
  829. package/components/item-grid/helpers/grid-items.d.ts +1 -9
  830. package/components/item-grid/helpers/grid-keyboard-updates.d.ts +1 -18
  831. package/components/item-grid/helpers/grid-keydown-event.d.ts +1 -18
  832. package/components/item-grid/helpers/grid-popover-cleanup.d.ts +1 -4
  833. package/components/item-grid/helpers/grid-rendering.d.ts +0 -50
  834. package/components/item-grid/helpers/grid-stack-lifecycle.d.ts +1 -26
  835. package/components/item-grid/helpers/grid-theme.d.ts +2 -14
  836. package/components/item-grid/helpers/grid-update-cycle.d.ts +1 -22
  837. package/components/item-grid/index.cjs +1 -1
  838. package/components/item-grid/index.d.ts +3 -3
  839. package/components/item-grid/index.js +3 -2
  840. package/components/item-grid/item-grid.d.ts +12 -207
  841. package/components/item-grid/types.d.ts +1 -57
  842. package/components/item-grid-DscQOFMu.js +243 -0
  843. package/components/item-grid-DveTRc7D.cjs +41 -0
  844. package/components/item-grid-item-actions-menu/index.cjs +20 -0
  845. package/components/item-grid-item-actions-menu/index.d.ts +8 -0
  846. package/components/item-grid-item-actions-menu/index.js +20 -0
  847. package/components/item-grid-item-actions-menu/item-grid-item-actions-menu.d.ts +70 -0
  848. package/components/item-grid-item-actions-menu/types.d.ts +11 -0
  849. package/components/item-grid-item-actions-menu-B1bKfagj.js +197 -0
  850. package/components/item-grid-item-actions-menu-xRrT9dkY.cjs +52 -0
  851. package/components/item-list.js +1 -2
  852. package/components/item-option/helpers/control-markup.d.ts +7 -0
  853. package/components/item-option/index.cjs +1 -1
  854. package/components/item-option/index.d.ts +1 -1
  855. package/components/item-option/index.js +1 -2
  856. package/components/item-option/item-option.d.ts +23 -2
  857. package/components/item-option/types.d.ts +19 -0
  858. package/components/item-option-DKLRnicU.js +1003 -0
  859. package/components/item-option-DpLdospV.cjs +285 -0
  860. package/components/item-option-action-button-group/index.cjs +1 -1
  861. package/components/item-option-action-button-group/index.js +1 -2
  862. package/components/item-option-action-button-group-BMgUwveA.cjs +53 -0
  863. package/components/item-option-action-button-group-Cpd_CNn-.js +115 -0
  864. package/components/item-option-base-BMy6dWbc.cjs +56 -0
  865. package/components/item-option-base-BfHciede.js +119 -0
  866. package/components/item-option-color-palette-picker/index.cjs +1 -1
  867. package/components/item-option-color-palette-picker/index.js +1 -2
  868. package/components/item-option-color-palette-picker-8KFuRU1D.js +2037 -0
  869. package/components/item-option-color-palette-picker-CnM1Gi6o.cjs +40 -0
  870. package/components/item-option-color-picker/index.cjs +1 -1
  871. package/components/item-option-color-picker/index.d.ts +1 -1
  872. package/components/item-option-color-picker/index.js +1 -2
  873. package/components/item-option-color-picker/item-option-color-picker.d.ts +17 -1
  874. package/components/item-option-color-picker-CNW7GsCO.cjs +37 -0
  875. package/components/item-option-color-picker-DDvsY7hV.js +129 -0
  876. package/components/item-option-color-range/index.cjs +1 -1
  877. package/components/item-option-color-range/index.d.ts +1 -1
  878. package/components/item-option-color-range/index.js +1 -2
  879. package/components/item-option-color-range/item-option-color-range.d.ts +20 -1
  880. package/components/item-option-color-range-BqSbuSZh.cjs +101 -0
  881. package/components/item-option-color-range-FQduqtz3.js +265 -0
  882. package/components/item-option-guidelines/index.cjs +1 -1
  883. package/components/item-option-guidelines/index.d.ts +1 -1
  884. package/components/item-option-guidelines/index.js +2 -2
  885. package/components/item-option-guidelines/item-option-guidelines.d.ts +16 -1
  886. package/components/item-option-guidelines-k5DwMONo.js +442 -0
  887. package/components/item-option-guidelines-z9BsGR-l.cjs +138 -0
  888. package/components/item-option-multi-language-field/index.cjs +1 -1
  889. package/components/item-option-multi-language-field/index.js +1 -2
  890. package/components/item-option-multi-language-field-CqtBl3gM.js +80 -0
  891. package/components/item-option-multi-language-field-DM2PENxV.cjs +33 -0
  892. package/components/item-option-number-field/index.cjs +1 -1
  893. package/components/item-option-number-field/index.js +1 -2
  894. package/components/item-option-number-field-BgQRhFj3.js +99 -0
  895. package/components/item-option-number-field-Cw2ofJL7.cjs +38 -0
  896. package/components/item-option-panel/index.cjs +1 -1
  897. package/components/item-option-panel/index.d.ts +1 -1
  898. package/components/item-option-panel/index.js +1 -2
  899. package/components/item-option-panel/item-option-panel.d.ts +12 -1
  900. package/components/item-option-panel-BLXWIbjX.js +195 -0
  901. package/components/item-option-panel-CU51qvgV.cjs +69 -0
  902. package/components/item-option-picker/index.cjs +1 -1
  903. package/components/item-option-picker/index.js +1 -2
  904. package/components/item-option-picker-DkAENDES.js +74 -0
  905. package/components/item-option-picker-EJlc0bmj.cjs +37 -0
  906. package/components/item-option-position-picker/index.cjs +1 -1
  907. package/components/item-option-position-picker/index.js +1 -2
  908. package/components/item-option-position-picker-Ba7cBvlL.cjs +32 -0
  909. package/components/item-option-position-picker-DX7lLZKO.js +114 -0
  910. package/components/item-option-positions-number-field/index.cjs +1 -1
  911. package/components/item-option-positions-number-field/index.js +1 -2
  912. package/components/item-option-positions-number-field-BQ8gFOAn.cjs +49 -0
  913. package/components/item-option-positions-number-field-Bqfg0MJm.js +166 -0
  914. package/components/item-option-radio-button-group/index.cjs +1 -1
  915. package/components/item-option-radio-button-group/index.js +1 -2
  916. package/components/item-option-radio-button-group-2hX-E2WV.cjs +37 -0
  917. package/components/item-option-radio-button-group-Bk7VQlpx.js +72 -0
  918. package/components/item-option-slider/index.cjs +1 -1
  919. package/components/item-option-slider/index.d.ts +1 -1
  920. package/components/item-option-slider/index.js +1 -2
  921. package/components/item-option-slider/item-option-slider.d.ts +15 -2
  922. package/components/item-option-slider-BKtJfL3D.js +119 -0
  923. package/components/item-option-slider-Kz2eFBql.cjs +36 -0
  924. package/components/item-option-switch/index.cjs +1 -1
  925. package/components/item-option-switch/index.js +1 -2
  926. package/components/item-option-switch-BUteU1mc.cjs +30 -0
  927. package/components/item-option-switch-cGWccE79.js +66 -0
  928. package/components/item-option-text-field/index.cjs +1 -1
  929. package/components/item-option-text-field/index.js +1 -2
  930. package/components/item-option-text-field-BC9fR-yW.cjs +33 -0
  931. package/components/item-option-text-field-Dy8pqVKJ.js +77 -0
  932. package/components/item-options-configs.cjs +1 -1
  933. package/components/item-options-configs.js +45 -45
  934. package/components/item-slot-drop/index.cjs +1 -1
  935. package/components/item-slot-drop/index.js +1 -2
  936. package/components/item-slot-drop-CwZT8bTP.js +327 -0
  937. package/components/item-slot-drop-DLzi4Dik.cjs +91 -0
  938. package/components/item-slot-drop-panel/index.cjs +1 -1
  939. package/components/item-slot-drop-panel/index.js +1 -2
  940. package/components/item-slot-drop-panel-Oh8zdKJH.cjs +57 -0
  941. package/components/item-slot-drop-panel-o5UdVrY_.js +347 -0
  942. package/components/item-slot-picker/index.cjs +1 -1
  943. package/components/item-slot-picker/index.js +1 -2
  944. package/components/item-slot-picker/item-slot-picker.d.ts +30 -2
  945. package/components/item-slot-picker-O9HKr3mv.cjs +158 -0
  946. package/components/item-slot-picker-ilmmb0-8.js +550 -0
  947. package/components/item-slot-picker-panel/index.cjs +1 -1
  948. package/components/item-slot-picker-panel/index.js +1 -2
  949. package/components/item-slot-picker-panel/item-slot-picker-panel.d.ts +7 -1
  950. package/components/item-slot-picker-panel-BhhN54IM.cjs +82 -0
  951. package/components/item-slot-picker-panel-fJqEmxeD.js +442 -0
  952. package/components/item-slots-configs.cjs +1 -1
  953. package/components/item-slots-configs.js +45 -45
  954. package/components/ja-B4YHU4-z.js +125 -0
  955. package/components/ko-DzfeXi4F.js +125 -0
  956. package/components/kpi-options.config-D9WuRe5z.js +331 -0
  957. package/components/kpi-options.config-DJW44vTd.cjs +20 -0
  958. package/components/kpi-options.de-B5lQkGks.js +108 -0
  959. package/components/kpi-options.de-BNSyszd2.cjs +20 -0
  960. package/components/kpi-options.en-BKN2-5Jq.js +108 -0
  961. package/components/kpi-options.en-DZkxgBCc.cjs +20 -0
  962. package/components/kpi-options.es-DQFRSRwE.cjs +20 -0
  963. package/components/kpi-options.es-DngzlxEn.js +108 -0
  964. package/components/kpi-options.fr-Cpm8BfZ9.cjs +20 -0
  965. package/components/kpi-options.fr-DNRUn0Pk.js +108 -0
  966. package/components/kpi-options.nl-Bw3N2x-C.js +108 -0
  967. package/components/kpi-options.nl-W4ujxuOd.cjs +20 -0
  968. package/components/kpi-positioning.config-DIYWUwID.cjs +20 -0
  969. package/components/kpi-positioning.config-mQuxf1ke.js +47 -0
  970. package/components/kpi-slots.config-AMUlgt-H.js +35 -0
  971. package/components/kpi-slots.config-BvTgcJ9e.cjs +20 -0
  972. package/components/line-chart-options.config-DOGbeJhy.cjs +20 -0
  973. package/components/line-chart-options.config-Opoz2jPk.js +254 -0
  974. package/components/line-chart-options.de-CB8mHJhD.cjs +20 -0
  975. package/components/line-chart-options.de-yLHBsR0G.js +88 -0
  976. package/components/line-chart-options.en-BrKt9W7U.cjs +20 -0
  977. package/components/line-chart-options.en-By_Pq6Kc.js +88 -0
  978. package/components/line-chart-options.es-BgnNvocl.cjs +20 -0
  979. package/components/line-chart-options.es-C28q-RTL.js +88 -0
  980. package/components/line-chart-options.fr-Jl6XdyHr.cjs +20 -0
  981. package/components/line-chart-options.fr-oMPIRzOe.js +88 -0
  982. package/components/line-chart-options.nl-C_1T9G-w.js +88 -0
  983. package/components/line-chart-options.nl-esSfBoBW.cjs +20 -0
  984. package/components/line-chart-positioning.config-DK9PycZ_.cjs +20 -0
  985. package/components/line-chart-positioning.config-DqjrWmxJ.js +54 -0
  986. package/components/line-chart-slots.config-CLSl3ODI.js +54 -0
  987. package/components/line-chart-slots.config-vyb4U5Ba.cjs +20 -0
  988. package/components/load-data-fields-for-datasets-DYgA0164.cjs +20 -0
  989. package/components/load-data-fields-for-datasets-avT5OQVv.js +42 -0
  990. package/components/localize-BNystXyK.js +28 -0
  991. package/components/localized-mixin-EoNvtTBG.cjs +20 -0
  992. package/components/localized-mixin-FPDNaZhb.js +44 -0
  993. package/components/map-tile-providers-cK8Xlerl.js +114 -0
  994. package/components/marker-map-options.config-DMPwJHEO.js +121 -0
  995. package/components/marker-map-options.config-DxcxzLu_.cjs +20 -0
  996. package/components/marker-map-options.de-CUZg_M2c.js +62 -0
  997. package/components/marker-map-options.en-BfCjBsXX.js +62 -0
  998. package/components/marker-map-options.es-BO7Joctq.js +62 -0
  999. package/components/marker-map-options.fr-CsbyRnt7.js +62 -0
  1000. package/components/marker-map-options.nl-Cnsb5g0n.js +62 -0
  1001. package/components/marker-map-positioning.config-BB51kE8O.cjs +20 -0
  1002. package/components/marker-map-positioning.config-CA08hZcp.js +47 -0
  1003. package/components/marker-map-slots.config-BPAExcmN.cjs +20 -0
  1004. package/components/marker-map-slots.config-mCnPFESe.js +36 -0
  1005. package/components/mk-BoGKhggN.js +125 -0
  1006. package/components/nl-ByDvxFKr.js +137 -0
  1007. package/components/nl-DNWGcGqO.js +599 -0
  1008. package/components/nl-XotE1MQq.cjs +20 -0
  1009. package/components/no-C9RQnknk.js +137 -0
  1010. package/components/ohlc-chart-options.config-C-TCUtOt.js +93 -0
  1011. package/components/ohlc-chart-options.config-CvlHm6hy.cjs +20 -0
  1012. package/components/ohlc-chart-options.de-Bd9HtCU3.js +62 -0
  1013. package/components/ohlc-chart-options.en-D32KZA3W.js +62 -0
  1014. package/components/ohlc-chart-options.es-B42fuflG.js +62 -0
  1015. package/components/ohlc-chart-options.fr-B0tdOmTO.js +62 -0
  1016. package/components/ohlc-chart-options.nl-DEy_8xhr.js +62 -0
  1017. package/components/ohlc-chart-positioning.config-BqFHD1oj.js +77 -0
  1018. package/components/ohlc-chart-positioning.config-CDL2vGsl.cjs +20 -0
  1019. package/components/ohlc-chart-slots.config-AC68CvCP.js +67 -0
  1020. package/components/ohlc-chart-slots.config-SfLpuCud.cjs +20 -0
  1021. package/components/option-interaction-controller-B8S1N_Oo.js +90 -0
  1022. package/components/option-interaction-controller-D0U-CTpZ.cjs +20 -0
  1023. package/components/orion-CL_Y_8id.js +67 -0
  1024. package/components/parallel-coordinates-plot-options.config-C3HTFBTl.js +47 -0
  1025. package/components/parallel-coordinates-plot-options.config-UHrCS9q5.cjs +20 -0
  1026. package/components/parallel-coordinates-plot-options.de-_f7GTJXa.js +30 -0
  1027. package/components/parallel-coordinates-plot-options.en-B7oIQWii.js +30 -0
  1028. package/components/parallel-coordinates-plot-options.es-Dyh1h81o.js +30 -0
  1029. package/components/parallel-coordinates-plot-options.fr-Ct3SBZ1v.js +30 -0
  1030. package/components/parallel-coordinates-plot-options.nl-DcFKAVMO.js +30 -0
  1031. package/components/parallel-coordinates-plot-positioning.config-Cc-ooVxV.cjs +20 -0
  1032. package/components/parallel-coordinates-plot-positioning.config-D6IuAk_K.js +47 -0
  1033. package/components/parallel-coordinates-plot-slots.config-BQWa5Xe2.js +45 -0
  1034. package/components/parallel-coordinates-plot-slots.config-mEYlLRQy.cjs +20 -0
  1035. package/components/period-over-period-condition.const-AE_2h-9O.js +28 -0
  1036. package/components/periods.const-DZBBRkvS.js +154 -0
  1037. package/components/pinky-hbHsDCfd.js +67 -0
  1038. package/components/pivot-table-options.config-5pYvqc35.cjs +20 -0
  1039. package/components/pivot-table-options.config-BlrguysB.js +248 -0
  1040. package/components/pivot-table-options.de-C16jiVYY.js +66 -0
  1041. package/components/pivot-table-options.en-Dbp63wyH.js +66 -0
  1042. package/components/pivot-table-options.es-D78TGQMg.js +66 -0
  1043. package/components/pivot-table-options.fr-CHnKYQkR.js +66 -0
  1044. package/components/pivot-table-options.nl-ByxevE1T.js +66 -0
  1045. package/components/pivot-table-positioning.config-DDwXH70O.js +54 -0
  1046. package/components/pivot-table-positioning.config-DvwKNjoD.cjs +20 -0
  1047. package/components/pivot-table-slots.config-C18Mnk6Y.js +54 -0
  1048. package/components/pivot-table-slots.config-FSIW-Owh.cjs +20 -0
  1049. package/components/pl-Br_k8GI8.js +125 -0
  1050. package/components/pragmatic-element-adapter-B0tn35C8.cjs +24 -0
  1051. package/components/pragmatic-element-adapter-CyTyN1YC.js +1210 -0
  1052. package/components/pt-DA-XGRCP.js +125 -0
  1053. package/components/pyramid-chart-options.config-0Qf1naIx.js +221 -0
  1054. package/components/pyramid-chart-options.config-CAC6cMmt.cjs +20 -0
  1055. package/components/pyramid-chart-options.de-2tKl9Efb.js +102 -0
  1056. package/components/pyramid-chart-options.de-DuOpsLs5.cjs +20 -0
  1057. package/components/pyramid-chart-options.en-C3DkPcBH.cjs +20 -0
  1058. package/components/pyramid-chart-options.en-C5QKcY71.js +102 -0
  1059. package/components/pyramid-chart-options.es-B4vyswPg.js +102 -0
  1060. package/components/pyramid-chart-options.es-DWJdStho.cjs +20 -0
  1061. package/components/pyramid-chart-options.fr-BoyFMPfp.js +102 -0
  1062. package/components/pyramid-chart-options.fr-Wb5tFvLC.cjs +20 -0
  1063. package/components/pyramid-chart-options.nl-3ErSugyh.js +102 -0
  1064. package/components/pyramid-chart-options.nl-Csec8VMp.cjs +20 -0
  1065. package/components/pyramid-chart-positioning.config-10BYkgv8.cjs +20 -0
  1066. package/components/pyramid-chart-positioning.config-DWou2jnm.js +54 -0
  1067. package/components/pyramid-chart-slots.config-C1JeQSzK.cjs +20 -0
  1068. package/components/pyramid-chart-slots.config-CGJcv00A.js +49 -0
  1069. package/components/radar-chart-options.config-C1gfNkE6.cjs +20 -0
  1070. package/components/radar-chart-options.config-Dd6SMpMz.js +172 -0
  1071. package/components/radar-chart-options.de-BcugS2tU.js +53 -0
  1072. package/components/radar-chart-options.de-Er7fpAGV.cjs +20 -0
  1073. package/components/radar-chart-options.en-B7ewze8f.js +53 -0
  1074. package/components/radar-chart-options.en-BEJDfdE6.cjs +20 -0
  1075. package/components/radar-chart-options.es-CHPp1rma.js +53 -0
  1076. package/components/radar-chart-options.es-L88u7bqn.cjs +20 -0
  1077. package/components/radar-chart-options.fr-BBJTEXWb.js +53 -0
  1078. package/components/radar-chart-options.fr-CslMsBcG.cjs +20 -0
  1079. package/components/radar-chart-options.nl-CBFeVHx5.js +53 -0
  1080. package/components/radar-chart-options.nl-CIvGrz_A.cjs +20 -0
  1081. package/components/radar-chart-positioning.config-B0O8vn-B.js +54 -0
  1082. package/components/radar-chart-positioning.config-Dg41uYWY.cjs +20 -0
  1083. package/components/radar-chart-slots.config-C3ZoIXnK.cjs +20 -0
  1084. package/components/radar-chart-slots.config-rLD9dRCQ.js +52 -0
  1085. package/components/radiant-D08Q3MEi.js +70 -0
  1086. package/components/regular-table-options.config-BCth1USK.cjs +20 -0
  1087. package/components/regular-table-options.config-TXfzXF_Y.js +152 -0
  1088. package/components/regular-table-options.de-BUJ9aAeo.js +56 -0
  1089. package/components/regular-table-options.en-DlLy4DDY.js +56 -0
  1090. package/components/regular-table-options.es-BZ_emUc6.js +56 -0
  1091. package/components/regular-table-options.fr-DT_jwFhs.js +56 -0
  1092. package/components/regular-table-options.nl-BmGfp2Sx.js +56 -0
  1093. package/components/regular-table-positioning.config-BxyFeemR.js +37 -0
  1094. package/components/regular-table-slots.config-CRU_nLHI.cjs +20 -0
  1095. package/components/regular-table-slots.config-sVD_kGbe.js +34 -0
  1096. package/components/resolve-column-presentation-FSQv-qiE.js +33 -0
  1097. package/components/rolldown-runtime-DbbDpzbe.cjs +20 -0
  1098. package/components/route-map-options.config-DER6ENky.cjs +20 -0
  1099. package/components/route-map-options.config-DTcS47fW.js +327 -0
  1100. package/components/route-map-options.de-CxZnN008.js +75 -0
  1101. package/components/route-map-options.en-CaTwhZYj.js +75 -0
  1102. package/components/route-map-options.es-Da8nQnch.js +75 -0
  1103. package/components/route-map-options.fr-BBSfOGdE.js +75 -0
  1104. package/components/route-map-options.nl-B5gdyD3P.js +75 -0
  1105. package/components/route-map-positioning.config-C1iUodTh.js +65 -0
  1106. package/components/route-map-positioning.config-DlM6xJTP.cjs +20 -0
  1107. package/components/route-map-slots.config-BaZwLyjW.js +58 -0
  1108. package/components/route-map-slots.config-DbSYH_Gm.cjs +20 -0
  1109. package/components/royale-Dx1_PBDN.js +59 -0
  1110. package/components/ru-BskkPpk1.js +125 -0
  1111. package/components/sankey-diagram-options.config-B8aHKfFt.cjs +20 -0
  1112. package/components/sankey-diagram-options.config-Y6jRK3wk.js +129 -0
  1113. package/components/sankey-diagram-options.de-DnHlLknR.js +62 -0
  1114. package/components/sankey-diagram-options.en-D8mL9pQF.js +62 -0
  1115. package/components/sankey-diagram-options.es-uqM9X09a.js +62 -0
  1116. package/components/sankey-diagram-options.fr-Chiln2jM.js +62 -0
  1117. package/components/sankey-diagram-options.nl-DiohN2Qc.js +62 -0
  1118. package/components/sankey-diagram-positioning.config-5EXNleL5.js +65 -0
  1119. package/components/sankey-diagram-positioning.config-BSu02GJ1.cjs +20 -0
  1120. package/components/sankey-diagram-slots.config-CWKuPz6x.js +60 -0
  1121. package/components/sankey-diagram-slots.config-DF6_NJGq.cjs +20 -0
  1122. package/components/scatter-plot-options.config-DhOGahRc.cjs +20 -0
  1123. package/components/scatter-plot-options.config-DvGofFzR.js +164 -0
  1124. package/components/scatter-plot-options.de-CUPe1USU.cjs +20 -0
  1125. package/components/scatter-plot-options.de-D5QbEAIZ.js +114 -0
  1126. package/components/scatter-plot-options.en-FGRhx7Nu.js +114 -0
  1127. package/components/scatter-plot-options.en-aCHwE_2o.cjs +20 -0
  1128. package/components/scatter-plot-options.es-B2sIEexr.cjs +20 -0
  1129. package/components/scatter-plot-options.es-CQU2STZG.js +114 -0
  1130. package/components/scatter-plot-options.fr-B-7GyEXc.cjs +20 -0
  1131. package/components/scatter-plot-options.fr-CWhv8L_g.js +114 -0
  1132. package/components/scatter-plot-options.nl-Cz-6m7sg.cjs +20 -0
  1133. package/components/scatter-plot-options.nl-DRfh8i_W.js +114 -0
  1134. package/components/scatter-plot-positioning.config-CuyJUmiV.cjs +20 -0
  1135. package/components/scatter-plot-positioning.config-nDbkUUqa.js +76 -0
  1136. package/components/scatter-plot-slots.config-Dda9uF05.js +73 -0
  1137. package/components/scatter-plot-slots.config-DuKQWkKZ.cjs +20 -0
  1138. package/components/search-filter-options.config-DcPuNHyG.cjs +20 -0
  1139. package/components/search-filter-options.config-JvAotvWb.js +102 -0
  1140. package/components/search-filter-options.de-C5mfpqao.js +41 -0
  1141. package/components/search-filter-options.en-CcDritg-.js +41 -0
  1142. package/components/search-filter-options.es-Dd3Jgur8.js +41 -0
  1143. package/components/search-filter-options.fr-CZss0Gbq.js +41 -0
  1144. package/components/search-filter-options.nl-IjlN2XAx.js +41 -0
  1145. package/components/search-filter-positioning.config-CY5Yo1sZ.js +37 -0
  1146. package/components/search-filter-slots.config-BnDGoz_4.cjs +20 -0
  1147. package/components/search-filter-slots.config-DtUQAwGn.js +38 -0
  1148. package/components/seasonal-D0SDLKlK.js +75 -0
  1149. package/components/set-locale-BkMmLcm6.cjs +20 -0
  1150. package/components/set-locale-m257lVi3.js +42 -0
  1151. package/components/set-nested-value-DmCMg2V3.js +32 -0
  1152. package/components/slicer-filter-options.config-Bc38dVoU.js +234 -0
  1153. package/components/slicer-filter-options.config-DqI9WtAi.cjs +20 -0
  1154. package/components/slicer-filter-options.de-CaQJtPre.js +68 -0
  1155. package/components/slicer-filter-options.en-BERi9NJr.js +68 -0
  1156. package/components/slicer-filter-options.es-HyaV_xUy.js +68 -0
  1157. package/components/slicer-filter-options.fr-BvhYoAXq.js +68 -0
  1158. package/components/slicer-filter-options.nl-veviscxn.js +68 -0
  1159. package/components/slicer-filter-positioning.config-BT5aNPHe.js +47 -0
  1160. package/components/slicer-filter-positioning.config-D7ZLoaGu.cjs +20 -0
  1161. package/components/slicer-filter-slots.config-BwlXABsj.cjs +20 -0
  1162. package/components/slicer-filter-slots.config-D3AUD4PD.js +43 -0
  1163. package/components/slider-filter-options.config-BaoIKTFj.js +71 -0
  1164. package/components/slider-filter-options.config-CgMb9Xmz.cjs +20 -0
  1165. package/components/slider-filter-options.de-BedVleOo.js +34 -0
  1166. package/components/slider-filter-options.en-Cw7_6spM.js +34 -0
  1167. package/components/slider-filter-options.es-Crr8myAG.js +34 -0
  1168. package/components/slider-filter-options.fr-mUxX9zrU.js +34 -0
  1169. package/components/slider-filter-options.nl-CooD4Lau.js +34 -0
  1170. package/components/slider-filter-positioning.config-DAKt4bpW.js +37 -0
  1171. package/components/slider-filter-slots.config-B-_6iJX8.cjs +20 -0
  1172. package/components/slider-filter-slots.config-CQG0j5KX.js +42 -0
  1173. package/components/slot-content-DE6NXHcl.js +22 -0
  1174. package/components/slot-content-DYiwtIBX.cjs +20 -0
  1175. package/components/slot-labels.config-DH2Dm3Yd.js +62 -0
  1176. package/components/slot-menu/index.cjs +1 -1
  1177. package/components/slot-menu/index.js +1 -2
  1178. package/components/slot-menu/slot-menu.d.ts +5 -0
  1179. package/components/slot-menu/types.d.ts +1 -1
  1180. package/components/slot-menu-BB_nJWZx.js +427 -0
  1181. package/components/slot-menu-C8p0nkVS.cjs +71 -0
  1182. package/components/slot-menu-list/index.cjs +1 -1
  1183. package/components/slot-menu-list/index.js +1 -2
  1184. package/components/slot-menu-list-3QkrOWgG.js +341 -0
  1185. package/components/slot-menu-list-C2nLODML.cjs +44 -0
  1186. package/components/slot-role-classification-BtYLRqq0.cjs +20 -0
  1187. package/components/slot-role-classification-DGc-M0Of.js +132 -0
  1188. package/components/slots-config-B6AOo19R.cjs +20 -0
  1189. package/components/slots-config-CsKGGLNg.js +76 -0
  1190. package/components/spacer-options.config-Dd_j69HB.js +22 -0
  1191. package/components/speedometer-chart-options.config-C3o5xpCj.cjs +20 -0
  1192. package/components/speedometer-chart-options.config-CIZKRvbg.js +250 -0
  1193. package/components/speedometer-chart-options.de-CfMm0o9p.js +65 -0
  1194. package/components/speedometer-chart-options.en-Ct8GyQCI.js +65 -0
  1195. package/components/speedometer-chart-options.es-KA0EJ21O.js +65 -0
  1196. package/components/speedometer-chart-options.fr-B1FxaP-j.js +65 -0
  1197. package/components/speedometer-chart-options.nl-DHNdYT7E.js +65 -0
  1198. package/components/speedometer-chart-positioning.config-BtDD3TiP.cjs +20 -0
  1199. package/components/speedometer-chart-positioning.config-CO1MtdU3.js +47 -0
  1200. package/components/speedometer-chart-slots.config-BhhQ0q7n.cjs +20 -0
  1201. package/components/speedometer-chart-slots.config-DIShNh4T.js +38 -0
  1202. package/components/spike-map-options.config-CPYfKWoF.js +414 -0
  1203. package/components/spike-map-options.config-DeF1Whq5.cjs +20 -0
  1204. package/components/spike-map-options.de-BrXqrF-u.js +102 -0
  1205. package/components/spike-map-options.en-DSy6nt2M.js +102 -0
  1206. package/components/spike-map-options.es-DuN_Li7Z.js +102 -0
  1207. package/components/spike-map-options.fr-UPx664xO.js +102 -0
  1208. package/components/spike-map-options.nl-C-b0qHyw.js +102 -0
  1209. package/components/spike-map-positioning.config-BhKVutm1.cjs +20 -0
  1210. package/components/spike-map-positioning.config-CQkcCdHD.js +54 -0
  1211. package/components/spike-map-slots.config-B63KfULj.js +46 -0
  1212. package/components/spike-map-slots.config-DHgVNtSl.cjs +20 -0
  1213. package/components/strip-plot-options.config-CoiMZRzM.cjs +20 -0
  1214. package/components/strip-plot-options.config-D1h3YBHj.js +53 -0
  1215. package/components/strip-plot-options.de-BY8O0m1R.js +30 -0
  1216. package/components/strip-plot-options.en-D2XEAFMd.js +30 -0
  1217. package/components/strip-plot-options.es-DbQvKoCu.js +30 -0
  1218. package/components/strip-plot-options.fr-BK_mGl7Y.js +30 -0
  1219. package/components/strip-plot-options.nl-BaFVxWEI.js +30 -0
  1220. package/components/strip-plot-positioning.config-CEYgtT13.cjs +20 -0
  1221. package/components/strip-plot-positioning.config-DEyOR-yS.js +47 -0
  1222. package/components/strip-plot-slots.config-D9blbOAz.cjs +20 -0
  1223. package/components/strip-plot-slots.config-DjItZdiF.js +37 -0
  1224. package/components/sunburst-chart-options.config-CZdd6qx0.cjs +20 -0
  1225. package/components/sunburst-chart-options.config-DVETeZFc.js +189 -0
  1226. package/components/sunburst-chart-options.de-B0mIITIx.js +60 -0
  1227. package/components/sunburst-chart-options.de-DO65RQI_.cjs +20 -0
  1228. package/components/sunburst-chart-options.en-C3IkkUBW.cjs +20 -0
  1229. package/components/sunburst-chart-options.en-LoUPN34r.js +60 -0
  1230. package/components/sunburst-chart-options.es-BV_4fN10.cjs +20 -0
  1231. package/components/sunburst-chart-options.es-DBje7CMN.js +60 -0
  1232. package/components/sunburst-chart-options.fr-Cnbpsj6t.js +60 -0
  1233. package/components/sunburst-chart-options.fr-DO7-oeNe.cjs +20 -0
  1234. package/components/sunburst-chart-options.nl-CluctKYY.js +60 -0
  1235. package/components/sunburst-chart-options.nl-DsecjcfE.cjs +20 -0
  1236. package/components/sunburst-chart-positioning.config-DNtHXpHg.cjs +20 -0
  1237. package/components/sunburst-chart-positioning.config-DP-ifsmn.js +47 -0
  1238. package/components/sunburst-chart-slots.config-CeB0g1Jz.js +37 -0
  1239. package/components/sunburst-chart-slots.config-DwXruOTF.cjs +20 -0
  1240. package/components/superPropGet-CUPN9Fvv.js +48 -0
  1241. package/components/superPropGet-DmmlTXgo.cjs +20 -0
  1242. package/components/sv-C6Tu9rpj.js +125 -0
  1243. package/components/symbol-map-options.config-BwZ7_S4w.js +178 -0
  1244. package/components/symbol-map-options.config-C3RTDsGN.cjs +20 -0
  1245. package/components/symbol-map-options.de-CjMtnkPp.js +65 -0
  1246. package/components/symbol-map-options.en-D3yzVDgP.js +65 -0
  1247. package/components/symbol-map-options.es-B6XECjy2.js +65 -0
  1248. package/components/symbol-map-options.fr-tZF8dXgD.js +65 -0
  1249. package/components/symbol-map-options.nl-BYykoWAL.js +65 -0
  1250. package/components/symbol-map-positioning.config-CoLDPgYM.cjs +20 -0
  1251. package/components/symbol-map-positioning.config-Nj7pDOAu.js +54 -0
  1252. package/components/symbol-map-slots.config-Bcg4tTKu.js +52 -0
  1253. package/components/symbol-map-slots.config-Cp9Wp3vo.cjs +20 -0
  1254. package/components/text-options.config-BomEcU58.js +66 -0
  1255. package/components/text-options.config-D9EkimNf.cjs +20 -0
  1256. package/components/text-options.de-B4NOm0u-.js +29 -0
  1257. package/components/text-options.en-Cb3U3pRQ.js +29 -0
  1258. package/components/text-options.es-Bo7gnIX1.js +29 -0
  1259. package/components/text-options.fr-CShH2v0S.js +29 -0
  1260. package/components/text-options.nl-DWxZsCiw.js +29 -0
  1261. package/components/text-slots.config-11KBADL7.js +23 -0
  1262. package/components/text-slots.config-Rt7OwjzL.cjs +20 -0
  1263. package/components/themes-BO_1ebSB.js +71 -0
  1264. package/components/tokens-6HmQYnEP.js +27 -0
  1265. package/components/tr-DJnNMcm5.js +137 -0
  1266. package/components/treemap-chart-options.config-DLEY6YuI.cjs +20 -0
  1267. package/components/treemap-chart-options.config-DsqsX9So.js +210 -0
  1268. package/components/treemap-chart-options.de-CXIYs3oT.js +63 -0
  1269. package/components/treemap-chart-options.en-B7NFLNe9.js +63 -0
  1270. package/components/treemap-chart-options.es-CKX8PeWE.js +63 -0
  1271. package/components/treemap-chart-options.fr-CPacPcag.js +63 -0
  1272. package/components/treemap-chart-options.nl-OOTGXzol.js +63 -0
  1273. package/components/treemap-chart-positioning.config-BVOqj2V1.cjs +20 -0
  1274. package/components/treemap-chart-positioning.config-B_R_cmFs.js +54 -0
  1275. package/components/treemap-chart-slots.config-CmPHhmR2.cjs +20 -0
  1276. package/components/treemap-chart-slots.config-CpCIdFAM.js +46 -0
  1277. package/components/type-check-D6K_INvg.js +51 -0
  1278. package/components/types-DJuS9IwG.js +43 -0
  1279. package/components/urban-CGKIB8yR.js +70 -0
  1280. package/components/utils/base.cjs +1 -1
  1281. package/components/utils/base.js +2 -2
  1282. package/components/utils/store.cjs +1 -1
  1283. package/components/utils/store.js +11 -19
  1284. package/components/utils-DIKmx9O1.cjs +20 -0
  1285. package/components/utils-DS6Pthr4.js +238 -0
  1286. package/components/utils.cjs +1 -1
  1287. package/components/utils.js +9 -9
  1288. package/components/v4-YCkfo8OR.js +46 -0
  1289. package/components/venn-diagram-options.config-3-Adz8wM.js +23 -0
  1290. package/components/venn-diagram-options.config-BsxzLI46.cjs +20 -0
  1291. package/components/venn-diagram-positioning.config-8JCVpYOt.cjs +20 -0
  1292. package/components/venn-diagram-positioning.config-DOsSkJYl.js +54 -0
  1293. package/components/venn-diagram-slots.config-CfOs3HFk.cjs +20 -0
  1294. package/components/venn-diagram-slots.config-DIFovfS5.js +46 -0
  1295. package/components/video-options.config-BACuLmHj.cjs +20 -0
  1296. package/components/video-options.config-DVxtlO5_.js +126 -0
  1297. package/components/video-options.de-ORwnqA8n.js +59 -0
  1298. package/components/video-options.en-Bs_Lh_CI.js +59 -0
  1299. package/components/video-options.es-BvVdDjfZ.js +59 -0
  1300. package/components/video-options.fr-BesFW-1s.js +59 -0
  1301. package/components/video-options.nl-BW4_pRnk.js +59 -0
  1302. package/components/video-slots.config-B12oMaQR.js +23 -0
  1303. package/components/video-slots.config-Diz5vhEg.cjs +20 -0
  1304. package/components/vivid-DILEKRlz.js +71 -0
  1305. package/components/wordcloud-chart-options.config-DiyF596X.cjs +20 -0
  1306. package/components/wordcloud-chart-options.config-UAl2hfU7.js +96 -0
  1307. package/components/wordcloud-chart-options.de-D9c2kOhf.js +48 -0
  1308. package/components/wordcloud-chart-options.en-B2eVzZ8F.js +48 -0
  1309. package/components/wordcloud-chart-options.es-C6dUmFLy.js +48 -0
  1310. package/components/wordcloud-chart-options.fr-dNSX7uyQ.js +48 -0
  1311. package/components/wordcloud-chart-options.nl-D1CFGAGK.js +48 -0
  1312. package/components/wordcloud-chart-positioning.config-D13iPEEg.cjs +20 -0
  1313. package/components/wordcloud-chart-positioning.config-DSVw_z7Y.js +54 -0
  1314. package/components/wordcloud-chart-slots.config-Bw2N-_FE.cjs +20 -0
  1315. package/components/wordcloud-chart-slots.config-D-ZKO6Za.js +44 -0
  1316. package/components/zh-CN-BTatoior.js +125 -0
  1317. package/components/zh-TW-frHWROW3.js +125 -0
  1318. package/custom-elements.json +7341 -5976
  1319. package/deprecated-react/components/item-grid-item-actions-menu.component.cjs +1 -0
  1320. package/grid-core/helpers/grid-events.d.ts +56 -0
  1321. package/grid-core/helpers/grid-interactions.d.ts +88 -0
  1322. package/grid-core/helpers/grid-item-management.d.ts +28 -0
  1323. package/grid-core/helpers/grid-item-popover.d.ts +21 -0
  1324. package/grid-core/helpers/grid-items.d.ts +9 -0
  1325. package/grid-core/helpers/grid-keyboard-updates.d.ts +18 -0
  1326. package/grid-core/helpers/grid-keydown-event.d.ts +18 -0
  1327. package/grid-core/helpers/grid-popover-cleanup.d.ts +4 -0
  1328. package/grid-core/helpers/grid-rendering.d.ts +41 -0
  1329. package/grid-core/helpers/grid-stack-lifecycle.d.ts +26 -0
  1330. package/grid-core/helpers/grid-theme.d.ts +15 -0
  1331. package/grid-core/helpers/grid-update-cycle.d.ts +22 -0
  1332. package/grid-core/index.d.ts +5 -0
  1333. package/grid-core/item-grid-base.d.ts +223 -0
  1334. package/grid-core/types.d.ts +57 -0
  1335. package/index.d.ts +1 -1
  1336. package/package.json +20 -10
  1337. package/react/components/ai-chat.component.ts +5 -2
  1338. package/react/components/interactive-viz-item.component.ts +11 -2
  1339. package/react/components/item-grid-item-actions-menu.component.ts +30 -0
  1340. package/react/components/item-grid.component.ts +4 -1
  1341. package/react/components/item-option-color-picker.component.ts +9 -3
  1342. package/react/components/item-option-color-range.component.ts +9 -3
  1343. package/react/components/item-option-guidelines.component.ts +9 -3
  1344. package/react/components/item-option-panel.component.ts +12 -3
  1345. package/react/components/item-option-slider.component.ts +12 -3
  1346. package/react/components/item-option.component.ts +12 -3
  1347. package/react/esm/components/ai-chat.component.d.ts +3 -1
  1348. package/react/esm/components/ai-chat.component.js +3 -1
  1349. package/react/esm/components/interactive-viz-item.component.d.ts +8 -2
  1350. package/react/esm/components/interactive-viz-item.component.js +7 -1
  1351. package/react/esm/components/item-grid-item-actions-menu.component.d.ts +14 -0
  1352. package/react/esm/components/item-grid-item-actions-menu.component.js +19 -0
  1353. package/react/esm/components/item-grid.component.d.ts +3 -1
  1354. package/react/esm/components/item-grid.component.js +2 -0
  1355. package/react/esm/components/item-option-color-picker.component.d.ts +6 -2
  1356. package/react/esm/components/item-option-color-picker.component.js +6 -2
  1357. package/react/esm/components/item-option-color-range.component.d.ts +6 -2
  1358. package/react/esm/components/item-option-color-range.component.js +6 -2
  1359. package/react/esm/components/item-option-guidelines.component.d.ts +6 -2
  1360. package/react/esm/components/item-option-guidelines.component.js +6 -2
  1361. package/react/esm/components/item-option-panel.component.d.ts +8 -2
  1362. package/react/esm/components/item-option-panel.component.js +8 -2
  1363. package/react/esm/components/item-option-slider.component.d.ts +8 -2
  1364. package/react/esm/components/item-option-slider.component.js +8 -2
  1365. package/react/esm/components/item-option.component.d.ts +8 -2
  1366. package/react/esm/components/item-option.component.js +8 -2
  1367. package/react/esm/index.d.ts +2 -2
  1368. package/react/esm/index.js +6 -6
  1369. package/react/index.ts +6 -6
  1370. package/react/luzmo-stub.d.ts +15 -6
  1371. package/react/package.json +6 -2
  1372. package/standalone/add-to-dashboard.js +168 -0
  1373. package/standalone/chunks/area-chart-options.config-BMvUma_d.js +2 -0
  1374. package/standalone/chunks/area-chart-options.de-CiUYKjuF.js +2 -0
  1375. package/standalone/chunks/area-chart-options.en-ClANS4ox.js +2 -0
  1376. package/standalone/chunks/area-chart-options.es-CJ9G7w-d.js +2 -0
  1377. package/standalone/chunks/area-chart-options.fr-HT5lv1Xa.js +2 -0
  1378. package/standalone/chunks/area-chart-options.nl-BLkEkEtR.js +2 -0
  1379. package/standalone/chunks/axis-options.config-DOE0YdaK.js +2 -0
  1380. package/standalone/chunks/axis-options.i18n-BiaLcciz.js +2 -0
  1381. package/standalone/chunks/bar-chart-options.config-BpHqXBFq.js +2 -0
  1382. package/standalone/chunks/bar-chart-options.de-BFaQAeSt.js +2 -0
  1383. package/standalone/chunks/bar-chart-options.en-uZbbpK84.js +2 -0
  1384. package/standalone/chunks/bar-chart-options.es-twNx5B2m.js +2 -0
  1385. package/standalone/chunks/bar-chart-options.fr-DRaaaSSH.js +2 -0
  1386. package/standalone/chunks/bar-chart-options.nl-CJiMjH5v.js +2 -0
  1387. package/standalone/chunks/box-plot-options.config-DDWb_KmV.js +2 -0
  1388. package/standalone/chunks/box-plot-options.de-CI5qJAF7.js +2 -0
  1389. package/standalone/chunks/box-plot-options.en-BQtMNcl5.js +2 -0
  1390. package/standalone/chunks/box-plot-options.es-CHjivUoY.js +2 -0
  1391. package/standalone/chunks/box-plot-options.fr-FkvAk1kX.js +2 -0
  1392. package/standalone/chunks/box-plot-options.nl-BRnSzvbY.js +2 -0
  1393. package/standalone/chunks/bullet-chart-options.config-BhYe0N0o.js +2 -0
  1394. package/standalone/chunks/bullet-chart-options.de-kCP9VTDJ.js +2 -0
  1395. package/standalone/chunks/bullet-chart-options.en-CQ7u24xM.js +2 -0
  1396. package/standalone/chunks/bullet-chart-options.es-CMRwpRyH.js +2 -0
  1397. package/standalone/chunks/bullet-chart-options.fr-NLzgxbaB.js +2 -0
  1398. package/standalone/chunks/bullet-chart-options.nl-BxNIes0u.js +2 -0
  1399. package/standalone/chunks/chart-helpers-DsIGsaDc.js +4 -0
  1400. package/standalone/chunks/choropleth-map-options.config-rUJsEJcm.js +2 -0
  1401. package/standalone/chunks/color-range-utils-DxOtqAKB.js +2 -0
  1402. package/standalone/chunks/column-chart-options.config-YIe6cMV5.js +2 -0
  1403. package/standalone/chunks/column-chart-options.de-CpCK5x2F.js +2 -0
  1404. package/standalone/chunks/column-chart-options.en-uZbbpK84.js +2 -0
  1405. package/standalone/chunks/column-chart-options.es-CNgSUKXK.js +2 -0
  1406. package/standalone/chunks/column-chart-options.fr-DRaaaSSH.js +2 -0
  1407. package/standalone/chunks/column-chart-options.nl-CJiMjH5v.js +2 -0
  1408. package/standalone/chunks/combination-chart-options.config-Bf7cNmpc.js +2 -0
  1409. package/standalone/chunks/combination-chart-options.de-BarapFn7.js +2 -0
  1410. package/standalone/chunks/combination-chart-options.en-Dip8nNUE.js +2 -0
  1411. package/standalone/chunks/combination-chart-options.es-3xQbg-Up.js +2 -0
  1412. package/standalone/chunks/combination-chart-options.fr-BsXLtxB_.js +2 -0
  1413. package/standalone/chunks/combination-chart-options.nl-8LA_bn9G.js +2 -0
  1414. package/standalone/chunks/data-broker-DXDyIrj_.js +2 -0
  1415. package/standalone/chunks/date-comparison-filter-slots.config-GxZF3vb3.js +2 -0
  1416. package/standalone/chunks/de-mdZT2W1G.js +2 -0
  1417. package/standalone/chunks/display-settings-binning-Byffw2Kl.js +38 -0
  1418. package/standalone/chunks/display-settings-datetime-CD52d6Sv.js +199 -0
  1419. package/standalone/chunks/display-settings-grand-totals-Cky99LX9.js +26 -0
  1420. package/standalone/chunks/display-settings-numeric-C9ea7Tgc.js +172 -0
  1421. package/standalone/chunks/display-settings-period-over-period-BLSGumkD.js +209 -0
  1422. package/standalone/chunks/donut-chart-options.config-DWpePR5V.js +2 -0
  1423. package/standalone/chunks/donut-chart-options.de-IKGJRoDL.js +2 -0
  1424. package/standalone/chunks/donut-chart-options.en-O2IK3YiS.js +2 -0
  1425. package/standalone/chunks/donut-chart-options.es-gKAHuFAU.js +2 -0
  1426. package/standalone/chunks/donut-chart-options.fr-Q-uMrtQG.js +2 -0
  1427. package/standalone/chunks/donut-chart-options.nl-B6v6jK4l.js +2 -0
  1428. package/standalone/chunks/embed-CBu7iQRx.js +231 -0
  1429. package/standalone/chunks/en-CSboh17P.js +2 -0
  1430. package/standalone/chunks/en-GB-HoXKQBOY.js +2 -0
  1431. package/standalone/chunks/en-US-CSboh17P.js +2 -0
  1432. package/standalone/chunks/es-Di5D8JFd.js +2 -0
  1433. package/standalone/chunks/evolution-number-options.config-Brbyq_TD.js +2 -0
  1434. package/standalone/chunks/evolution-number-options.de-NPOdl5mB.js +2 -0
  1435. package/standalone/chunks/evolution-number-options.en-Eq53ZOMK.js +2 -0
  1436. package/standalone/chunks/evolution-number-options.es-WS8nAzvW.js +2 -0
  1437. package/standalone/chunks/evolution-number-options.fr-DmcY0jGH.js +2 -0
  1438. package/standalone/chunks/evolution-number-options.nl-CvjB2qil.js +2 -0
  1439. package/standalone/chunks/filters-DKgJcQGP.js +532 -0
  1440. package/standalone/chunks/formula-codemirror-BbyvNEVD.js +197 -0
  1441. package/standalone/chunks/fr-DZku7iB9.js +2 -0
  1442. package/standalone/chunks/funnel-chart-options.config-S1yxc6IG.js +2 -0
  1443. package/standalone/chunks/funnel-chart-options.de-u5OrFyng.js +2 -0
  1444. package/standalone/chunks/funnel-chart-options.en-BEGSBn35.js +2 -0
  1445. package/standalone/chunks/funnel-chart-options.es-CxWkEgMs.js +2 -0
  1446. package/standalone/chunks/funnel-chart-options.fr-DZmmgK2t.js +2 -0
  1447. package/standalone/chunks/funnel-chart-options.nl-C6BitaEJ.js +2 -0
  1448. package/standalone/chunks/heat-map-options.config-D93AeYFi.js +2 -0
  1449. package/standalone/chunks/heat-table-options.config-ZVML76FK.js +2 -0
  1450. package/standalone/chunks/heat-table-options.de-B4y9dcra.js +2 -0
  1451. package/standalone/chunks/heat-table-options.en-Bouip0NE.js +2 -0
  1452. package/standalone/chunks/heat-table-options.es-BRAQP8GK.js +2 -0
  1453. package/standalone/chunks/heat-table-options.fr-CTzciHeO.js +2 -0
  1454. package/standalone/chunks/heat-table-options.nl-DzmWrTeQ.js +2 -0
  1455. package/standalone/chunks/is-same-option-value-Di-A7Wmg.js +2 -0
  1456. package/standalone/chunks/item-option-action-button-group-BEAwPHVw.js +35 -0
  1457. package/standalone/chunks/item-option-base-CRUxNhJQ.js +38 -0
  1458. package/standalone/chunks/item-option-color-palette-picker-CBz61iZb.js +22 -0
  1459. package/standalone/chunks/item-option-color-picker-lLvBPnKA.js +19 -0
  1460. package/standalone/chunks/item-option-color-range-BqeatOei.js +83 -0
  1461. package/standalone/chunks/item-option-guidelines-Cop8rM8y.js +120 -0
  1462. package/standalone/chunks/item-option-multi-language-field-DPPpN2qg.js +15 -0
  1463. package/standalone/chunks/item-option-number-field-CkqJjInE.js +20 -0
  1464. package/standalone/chunks/item-option-panel-CzSKFCVl.js +316 -0
  1465. package/standalone/chunks/item-option-picker-BnwQPT9A.js +19 -0
  1466. package/standalone/chunks/item-option-position-picker-Bkc4JvJX.js +14 -0
  1467. package/standalone/chunks/item-option-positions-number-field-Dr_315TE.js +31 -0
  1468. package/standalone/chunks/item-option-radio-button-group-BkymJq3E.js +19 -0
  1469. package/standalone/chunks/item-option-slider-K_bsNci8.js +18 -0
  1470. package/standalone/chunks/item-option-switch-DeihDHhM.js +12 -0
  1471. package/standalone/chunks/item-option-text-field-D7bkuhsv.js +15 -0
  1472. package/standalone/chunks/item-slot-picker-panel-D4BMxGs9.js +429 -0
  1473. package/standalone/chunks/kpi-options.config-DGl2N2HJ.js +2 -0
  1474. package/standalone/chunks/kpi-options.de-CJMQBEs7.js +2 -0
  1475. package/standalone/chunks/kpi-options.en-BzKmi3Bd.js +2 -0
  1476. package/standalone/chunks/kpi-options.es-BTmFYV0w.js +2 -0
  1477. package/standalone/chunks/kpi-options.fr-mlazGpRq.js +2 -0
  1478. package/standalone/chunks/kpi-options.nl-BV1eFo_U.js +2 -0
  1479. package/standalone/chunks/kpi-slots.config-DAjLHdEj.js +2 -0
  1480. package/standalone/chunks/line-chart-options.config--_LXaPbB.js +2 -0
  1481. package/standalone/chunks/line-chart-options.de-CCCH4dI_.js +2 -0
  1482. package/standalone/chunks/line-chart-options.en-BwtEj00F.js +2 -0
  1483. package/standalone/chunks/line-chart-options.es-BWWaIDbd.js +2 -0
  1484. package/standalone/chunks/line-chart-options.fr-Rp7fs4Id.js +2 -0
  1485. package/standalone/chunks/line-chart-options.nl-DcgJ9CUw.js +2 -0
  1486. package/standalone/chunks/load-data-fields-for-datasets-ClctSj6y.js +25 -0
  1487. package/standalone/chunks/localize-DXRmGRe-.js +2 -0
  1488. package/standalone/chunks/localized-decorator-DJVBmJVH.js +2 -0
  1489. package/standalone/chunks/luzmo-icon-markup-ByaNI6dg.js +13 -0
  1490. package/standalone/chunks/nl-CViTevL3.js +2 -0
  1491. package/standalone/chunks/ohlc-chart-options.config-kyYOgBtR.js +2 -0
  1492. package/standalone/chunks/option-interaction-controller-BslAXAHF.js +2 -0
  1493. package/standalone/chunks/pyramid-chart-options.config-xYIVE_ib.js +2 -0
  1494. package/standalone/chunks/pyramid-chart-options.de-CaxalCcg.js +2 -0
  1495. package/standalone/chunks/pyramid-chart-options.en-B-weoYGh.js +2 -0
  1496. package/standalone/chunks/pyramid-chart-options.es-BahFoH3_.js +2 -0
  1497. package/standalone/chunks/pyramid-chart-options.fr-DcTxsNGH.js +2 -0
  1498. package/standalone/chunks/pyramid-chart-options.nl-ChImCr8r.js +2 -0
  1499. package/standalone/chunks/radar-chart-options.config-CoGFqCqy.js +2 -0
  1500. package/standalone/chunks/radar-chart-options.de-vruPXtB4.js +2 -0
  1501. package/standalone/chunks/radar-chart-options.en-D8rstMVn.js +2 -0
  1502. package/standalone/chunks/radar-chart-options.es-By21lK8S.js +2 -0
  1503. package/standalone/chunks/radar-chart-options.fr-C4b5cJxg.js +2 -0
  1504. package/standalone/chunks/radar-chart-options.nl-CzEi0MTf.js +2 -0
  1505. package/standalone/chunks/route-map-options.config-Dwy0JSVq.js +2 -0
  1506. package/standalone/chunks/scatter-plot-options.config-DG9Ki-mt.js +2 -0
  1507. package/standalone/chunks/scatter-plot-options.de-eebqIJA1.js +2 -0
  1508. package/standalone/chunks/scatter-plot-options.en-5i08biJm.js +2 -0
  1509. package/standalone/chunks/scatter-plot-options.es-Bx8kHesL.js +2 -0
  1510. package/standalone/chunks/scatter-plot-options.fr-DK6rPCT_.js +2 -0
  1511. package/standalone/chunks/scatter-plot-options.nl-9mS62LyK.js +2 -0
  1512. package/standalone/chunks/slot-content-BZhmLTG1.js +2 -0
  1513. package/standalone/chunks/spike-map-options.config-DFmuNxym.js +2 -0
  1514. package/standalone/chunks/sunburst-chart-options.config-DOBSe3i5.js +2 -0
  1515. package/standalone/chunks/sunburst-chart-options.de-D3iq4Q-m.js +2 -0
  1516. package/standalone/chunks/sunburst-chart-options.en-BUJ_Pr9C.js +2 -0
  1517. package/standalone/chunks/sunburst-chart-options.es-stKrKGz2.js +2 -0
  1518. package/standalone/chunks/sunburst-chart-options.fr-RkBtlMNp.js +2 -0
  1519. package/standalone/chunks/sunburst-chart-options.nl-BUeDNot_.js +2 -0
  1520. package/standalone/chunks/task-BlhDPTQS.js +2 -0
  1521. package/standalone/chunks/themes-C2pxFlIq.js +2 -0
  1522. package/standalone/chunks/v4-BxSu4gkw.js +2 -0
  1523. package/standalone/chunks/version-BW4Ixl63.js +2 -0
  1524. package/standalone/interactive-viz-item.js +51 -47
  1525. package/standalone/item-grid.js +76 -68
  1526. package/standalone/manifest.json +154 -157
  1527. package/storybook/register-components.d.ts +1 -1
  1528. package/types/ai-chat.types.d.ts +39 -2
  1529. package/types.d.ts +1 -1
  1530. package/utils/filters/filter-text.d.ts +1 -1
  1531. package/utils/formula/base/formula-base.d.ts +2 -2
  1532. package/utils/formula/config/build-datasets.d.ts +2 -2
  1533. package/utils/formula/store/formula-display-store.d.ts +1 -1
  1534. package/utils/option-interaction/index.d.ts +2 -0
  1535. package/utils/option-interaction/is-same-option-value.d.ts +10 -0
  1536. package/utils/option-interaction/option-interaction-controller.d.ts +54 -0
  1537. package/utils/option-interaction/tests/option-interaction-controller.test.d.ts +1 -0
  1538. package/utils/store/base-store.d.ts +9 -0
  1539. package/utils/store/index.d.ts +1 -0
  1540. package/utils/store/tests/store-base-history.test.d.ts +1 -0
  1541. package/utils/store/tests/store-base.test.d.ts +1 -0
  1542. package/components/ad-hoc-slot-content-BwcFfXCV.cjs +0 -20
  1543. package/components/ad-hoc-slot-content-hSlT62VS.js +0 -29
  1544. package/components/add-to-dashboard-BBBuSOri.js +0 -805
  1545. package/components/add-to-dashboard-DL2au6Os.cjs +0 -166
  1546. package/components/ai-chat-7IBO6eY3.cjs +0 -339
  1547. package/components/ai-chat-D0d30We9.js +0 -4373
  1548. package/components/ai-interaction-textarea-CAb6g6dq.js +0 -829
  1549. package/components/ai-interaction-textarea-Cf7NhcMA.cjs +0 -101
  1550. package/components/area-chart-options.config-Bf5kti7Z.cjs +0 -20
  1551. package/components/area-chart-options.config-DJnPr93H.js +0 -201
  1552. package/components/area-chart-options.de-_tPBzxvf.cjs +0 -20
  1553. package/components/area-chart-options.de-pUCTG-s0.js +0 -87
  1554. package/components/area-chart-options.en-AuSHs27k.cjs +0 -20
  1555. package/components/area-chart-options.en-YNsUeMwN.js +0 -87
  1556. package/components/area-chart-options.es-2styw_Fz.js +0 -87
  1557. package/components/area-chart-options.es-BzRHGbo6.cjs +0 -20
  1558. package/components/area-chart-options.fr--WzQVf2z.js +0 -87
  1559. package/components/area-chart-options.fr-DYxUQE3x.cjs +0 -20
  1560. package/components/area-chart-options.nl-BTEIqBtE.js +0 -87
  1561. package/components/area-chart-options.nl-M0xQQ_la.cjs +0 -20
  1562. package/components/area-chart-positioning.config-BUYCXinR.cjs +0 -20
  1563. package/components/area-chart-positioning.config-CKHsdYfg.js +0 -55
  1564. package/components/area-chart-slots.config-BOhwdLnr.cjs +0 -20
  1565. package/components/area-chart-slots.config-ClE-gYVY.js +0 -55
  1566. package/components/axis-options.config-BCP0Z8VI.js +0 -270
  1567. package/components/axis-options.config-s-Js3ug-.cjs +0 -20
  1568. package/components/axis-options.i18n-BOGRmWjp.js +0 -486
  1569. package/components/axis-options.i18n-Cw-DmewV.cjs +0 -20
  1570. package/components/bar-chart-options.config-CI17HU2I.cjs +0 -20
  1571. package/components/bar-chart-options.config-D1x5WPbL.js +0 -261
  1572. package/components/bar-chart-options.de-3qSh2TNr.js +0 -110
  1573. package/components/bar-chart-options.de-545XMRGl.cjs +0 -20
  1574. package/components/bar-chart-options.en-DAee9yHp.cjs +0 -20
  1575. package/components/bar-chart-options.en-DrhQe9rV.js +0 -110
  1576. package/components/bar-chart-options.es-BZ1yNzUQ.js +0 -110
  1577. package/components/bar-chart-options.es-CfoAEZ-0.cjs +0 -20
  1578. package/components/bar-chart-options.fr-5i13R8bs.js +0 -110
  1579. package/components/bar-chart-options.fr-C2Ic0Dq0.cjs +0 -20
  1580. package/components/bar-chart-options.nl-Bb6XiSDH.cjs +0 -20
  1581. package/components/bar-chart-options.nl-DLj-qucU.js +0 -110
  1582. package/components/bar-chart-positioning.config-B7_XsLgG.cjs +0 -20
  1583. package/components/bar-chart-positioning.config-BcQHAr8h.js +0 -59
  1584. package/components/bar-chart-slots.config-DMWjAd5a.cjs +0 -20
  1585. package/components/bar-chart-slots.config-rMFwFprg.js +0 -50
  1586. package/components/base-BXg3O7H2.cjs +0 -20
  1587. package/components/base-CH2yUuWp.js +0 -248
  1588. package/components/base-store-BhGpnbqi.js +0 -152
  1589. package/components/base-store-D5cDq6d4.cjs +0 -20
  1590. package/components/bliss-CK3rEnFv.js +0 -75
  1591. package/components/box-plot-options.config-CooBIc6N.js +0 -334
  1592. package/components/box-plot-options.config-Cp6H9fyb.cjs +0 -20
  1593. package/components/box-plot-options.de-BkgscmvG.js +0 -100
  1594. package/components/box-plot-options.de-alI5_N9d.cjs +0 -20
  1595. package/components/box-plot-options.en-5kGlvxx8.js +0 -100
  1596. package/components/box-plot-options.en-DUlXF9r9.cjs +0 -20
  1597. package/components/box-plot-options.es-CIm06Gpk.cjs +0 -20
  1598. package/components/box-plot-options.es-v_B9Xb9H.js +0 -100
  1599. package/components/box-plot-options.fr-C5j-Dzj6.cjs +0 -20
  1600. package/components/box-plot-options.fr-CRSOCgU5.js +0 -100
  1601. package/components/box-plot-options.nl-DtnBbRo5.cjs +0 -20
  1602. package/components/box-plot-options.nl-ZQjVZPau.js +0 -100
  1603. package/components/box-plot-positioning.config-BBx2k16c.js +0 -48
  1604. package/components/box-plot-positioning.config-zW8ApQot.cjs +0 -20
  1605. package/components/box-plot-slots.config-5B_pTjPJ.cjs +0 -20
  1606. package/components/box-plot-slots.config-DS2UIfRF.js +0 -40
  1607. package/components/bubble-chart-options.config-B6aLA_1d.js +0 -142
  1608. package/components/bubble-chart-options.config-e_0LM1Uw.cjs +0 -20
  1609. package/components/bubble-chart-options.de-Q2nhAQfu.js +0 -49
  1610. package/components/bubble-chart-options.en-DedkSXEc.js +0 -49
  1611. package/components/bubble-chart-options.es-B7bZFlIa.js +0 -49
  1612. package/components/bubble-chart-options.fr-Cz9T05xx.js +0 -49
  1613. package/components/bubble-chart-options.nl-BeiE-TWG.js +0 -49
  1614. package/components/bubble-chart-positioning.config-C81olavn.js +0 -55
  1615. package/components/bubble-chart-positioning.config-mvGcNnxm.cjs +0 -20
  1616. package/components/bubble-chart-slots.config-2qy2RqaU.js +0 -47
  1617. package/components/bubble-chart-slots.config-VHKuntJk.cjs +0 -20
  1618. package/components/bullet-chart-options.config-CBmbmhzI.js +0 -76
  1619. package/components/bullet-chart-options.config-Drv0yQ4x.cjs +0 -20
  1620. package/components/bullet-chart-options.de-DHqxFlm7.js +0 -39
  1621. package/components/bullet-chart-options.de-DQhoZIdV.cjs +0 -20
  1622. package/components/bullet-chart-options.en-6vj0tO4B.js +0 -39
  1623. package/components/bullet-chart-options.en-CTpxw73t.cjs +0 -20
  1624. package/components/bullet-chart-options.es-Cc4GzyJG.cjs +0 -20
  1625. package/components/bullet-chart-options.es-DeDFLO8Z.js +0 -39
  1626. package/components/bullet-chart-options.fr-750sl4sT.js +0 -39
  1627. package/components/bullet-chart-options.fr-D2Z5WBfJ.cjs +0 -20
  1628. package/components/bullet-chart-options.nl-B7tw2hO6.cjs +0 -20
  1629. package/components/bullet-chart-options.nl-CS-xSSVr.js +0 -39
  1630. package/components/bullet-chart-positioning.config-CFVhVLko.js +0 -56
  1631. package/components/bullet-chart-positioning.config-DQXdWb8b.cjs +0 -20
  1632. package/components/bullet-chart-slots.config-BaMmwIH0.js +0 -46
  1633. package/components/bullet-chart-slots.config-CZfTgKZ4.cjs +0 -20
  1634. package/components/calculate-data-field-icon-DrSg1PuD.js +0 -149
  1635. package/components/chart-helpers-DQS2iqSd.js +0 -250
  1636. package/components/choropleth-map-options.config-DWWydGJ3.js +0 -352
  1637. package/components/choropleth-map-options.config-VG10yjwC.cjs +0 -20
  1638. package/components/choropleth-map-options.de-DXLufNgZ.js +0 -72
  1639. package/components/choropleth-map-options.en-DGENug11.js +0 -72
  1640. package/components/choropleth-map-options.es-Dn2Cv5D-.js +0 -72
  1641. package/components/choropleth-map-options.fr-CK0tUEO3.js +0 -72
  1642. package/components/choropleth-map-options.nl-CwA4TtvT.js +0 -72
  1643. package/components/choropleth-map-positioning.config-DHOBeRRk.cjs +0 -20
  1644. package/components/choropleth-map-positioning.config-DJoC3t7U.js +0 -55
  1645. package/components/choropleth-map-slots.config-CZKWF1qV.cjs +0 -20
  1646. package/components/choropleth-map-slots.config-DqOi1kCn.js +0 -53
  1647. package/components/circle-pack-chart-options.config-BmX0w3cH.cjs +0 -20
  1648. package/components/circle-pack-chart-options.config-D2RCikyA.js +0 -60
  1649. package/components/circle-pack-chart-options.de-BrrPqSBf.js +0 -31
  1650. package/components/circle-pack-chart-options.en-BdoNRanZ.js +0 -31
  1651. package/components/circle-pack-chart-options.es-DLQWaD31.js +0 -31
  1652. package/components/circle-pack-chart-options.fr-B66YY6lg.js +0 -31
  1653. package/components/circle-pack-chart-options.nl-kOeRMk4n.js +0 -31
  1654. package/components/circle-pack-chart-positioning.config-B48On4x6.cjs +0 -20
  1655. package/components/circle-pack-chart-positioning.config-Tgiu36TH.js +0 -48
  1656. package/components/circle-pack-chart-slots.config-B7_1p86m.js +0 -38
  1657. package/components/circle-pack-chart-slots.config-GL7T5_o4.cjs +0 -20
  1658. package/components/circular-gauge-options.config-CSIUw2VN.cjs +0 -20
  1659. package/components/circular-gauge-options.config-syWQJHKT.js +0 -193
  1660. package/components/circular-gauge-options.de-D1DVq08k.js +0 -57
  1661. package/components/circular-gauge-options.en-CsH_VhDL.js +0 -57
  1662. package/components/circular-gauge-options.es-BkiRMNis.js +0 -57
  1663. package/components/circular-gauge-options.fr-CxySNula.js +0 -57
  1664. package/components/circular-gauge-options.nl-CcQpr_DM.js +0 -57
  1665. package/components/circular-gauge-positioning.config-CO0TB_rx.cjs +0 -20
  1666. package/components/circular-gauge-positioning.config-D6f4ltnk.js +0 -48
  1667. package/components/circular-gauge-slots.config-BxjCP1ao.js +0 -39
  1668. package/components/circular-gauge-slots.config-DUHabt3G.cjs +0 -20
  1669. package/components/classic-BLOsKyb3.js +0 -82
  1670. package/components/classic-dark-Bw01Wzq_.js +0 -73
  1671. package/components/color-BWnYpOu7.js +0 -3812
  1672. package/components/color-Bl8h58rV.cjs +0 -20
  1673. package/components/color-palettes-D4z1ONyx.js +0 -1474
  1674. package/components/color-range-utils-C3HJJUS1.cjs +0 -20
  1675. package/components/color-range-utils-CiqduHJS.js +0 -63
  1676. package/components/column-chart-options.config-B2LIl9lL.js +0 -260
  1677. package/components/column-chart-options.config-xmSH4NKF.cjs +0 -20
  1678. package/components/column-chart-options.de-BX13JkAO.cjs +0 -20
  1679. package/components/column-chart-options.de-CIYtauiG.js +0 -110
  1680. package/components/column-chart-options.en-BkAsfXYV.js +0 -110
  1681. package/components/column-chart-options.en-DAee9yHp.cjs +0 -20
  1682. package/components/column-chart-options.es-CClMQLE-.cjs +0 -20
  1683. package/components/column-chart-options.es-jWM7TxS7.js +0 -110
  1684. package/components/column-chart-options.fr-BB6301nS.js +0 -110
  1685. package/components/column-chart-options.fr-C2Ic0Dq0.cjs +0 -20
  1686. package/components/column-chart-options.nl-Bb6XiSDH.cjs +0 -20
  1687. package/components/column-chart-options.nl-HUMDgKdl.js +0 -110
  1688. package/components/column-chart-positioning.config-D6rP1t6R.cjs +0 -20
  1689. package/components/column-chart-positioning.config-Du8eT4a1.js +0 -55
  1690. package/components/column-chart-slots.config-CM5aytbj.cjs +0 -20
  1691. package/components/column-chart-slots.config-D6MBTcj4.js +0 -50
  1692. package/components/combination-chart-options.config-0ATFph8S.js +0 -139
  1693. package/components/combination-chart-options.config-IEamJGCp.cjs +0 -20
  1694. package/components/combination-chart-options.de-BiGjuWUS.cjs +0 -20
  1695. package/components/combination-chart-options.de-DVJ9sfLC.js +0 -66
  1696. package/components/combination-chart-options.en-B5piXq82.js +0 -66
  1697. package/components/combination-chart-options.en-e4XMalU0.cjs +0 -20
  1698. package/components/combination-chart-options.es-BmuyyP32.js +0 -66
  1699. package/components/combination-chart-options.es-OXb8nozF.cjs +0 -20
  1700. package/components/combination-chart-options.fr-CIrnpWEu.js +0 -66
  1701. package/components/combination-chart-options.fr-CYzANyZs.cjs +0 -20
  1702. package/components/combination-chart-options.nl-BDJ7t0BY.js +0 -66
  1703. package/components/combination-chart-options.nl-DyAUjvqC.cjs +0 -20
  1704. package/components/combination-chart-positioning.config-Dh3B3LOl.js +0 -48
  1705. package/components/combination-chart-positioning.config-DjCqe3A3.cjs +0 -20
  1706. package/components/combination-chart-slots.config-BwUOXFCR.cjs +0 -20
  1707. package/components/combination-chart-slots.config-dYT9lz8M.js +0 -43
  1708. package/components/conditional-number-options.config-Bv2xONtI.js +0 -210
  1709. package/components/conditional-number-options.config-ZVtstIjn.cjs +0 -20
  1710. package/components/conditional-number-options.de-2xle1pGz.js +0 -60
  1711. package/components/conditional-number-options.en-JLoF4JZy.js +0 -60
  1712. package/components/conditional-number-options.es-C_g0UqIh.js +0 -60
  1713. package/components/conditional-number-options.fr-C5cASVba.js +0 -60
  1714. package/components/conditional-number-options.nl-DiV3DzXR.js +0 -60
  1715. package/components/conditional-number-positioning.config-CAhuUG3U.js +0 -48
  1716. package/components/conditional-number-positioning.config-X0Y3C4dr.cjs +0 -20
  1717. package/components/conditional-number-slots.config-B7maHIaG.cjs +0 -20
  1718. package/components/conditional-number-slots.config-DtYkqtN8.js +0 -39
  1719. package/components/convert-datasets-to-data-fields-PmQzeVLG.js +0 -68
  1720. package/components/create-lazy-loader-BO_oTDF5.js +0 -31
  1721. package/components/cs-wc4Fl7IN.js +0 -126
  1722. package/components/da-Byf4w3lJ.js +0 -126
  1723. package/components/data-broker-BNXS5_qc.js +0 -1684
  1724. package/components/data-broker-DWgqaHoY.cjs +0 -20
  1725. package/components/data-field-B8SFcGh0.js +0 -122
  1726. package/components/data-field-DeT57bOO.cjs +0 -54
  1727. package/components/data-field-level-3WE6l5BK.js +0 -248
  1728. package/components/data-field-level-CCxykPSg.cjs +0 -55
  1729. package/components/data-field-panel-BRxir4hU.js +0 -386
  1730. package/components/data-field-panel-yFIL1XTw.cjs +0 -87
  1731. package/components/data-fields-select-JThxsK_E.js +0 -290
  1732. package/components/data-fields-select-hO9zKetk.cjs +0 -43
  1733. package/components/dataset-icon-CP_oZswB.cjs +0 -62
  1734. package/components/dataset-icon-DUtfpbLX.js +0 -121
  1735. package/components/dataset-selector-list-BDxlELPh.js +0 -324
  1736. package/components/dataset-selector-list-BJPRi83A.cjs +0 -75
  1737. package/components/dataset-selector-row-BJTqQZhA.cjs +0 -104
  1738. package/components/dataset-selector-row-CERTR_-i.js +0 -454
  1739. package/components/date-comparison-filter-options.config-4yHPEJSU.cjs +0 -20
  1740. package/components/date-comparison-filter-options.config-DgLx-m3L.js +0 -126
  1741. package/components/date-comparison-filter-options.de-BSRz6o0Y.js +0 -55
  1742. package/components/date-comparison-filter-options.en-DLbsNe_t.js +0 -55
  1743. package/components/date-comparison-filter-options.es-ChO2qlIh.js +0 -55
  1744. package/components/date-comparison-filter-options.fr-D9HKPj4L.js +0 -55
  1745. package/components/date-comparison-filter-options.nl-BOMQo1X3.js +0 -55
  1746. package/components/date-comparison-filter-positioning.config-DokVHoP8.js +0 -38
  1747. package/components/date-comparison-filter-slots.config-BKZ13uzB.js +0 -33
  1748. package/components/date-comparison-filter-slots.config-oABOLs3D.cjs +0 -20
  1749. package/components/date-filter-options.config-Cbiy0QKd.js +0 -118
  1750. package/components/date-filter-options.config-saR_u4w-.cjs +0 -20
  1751. package/components/date-filter-options.de-DVRUmqQh.js +0 -51
  1752. package/components/date-filter-options.en-Df-q6Eqf.js +0 -51
  1753. package/components/date-filter-options.es-eclXOdtw.js +0 -51
  1754. package/components/date-filter-options.fr-B6CHuun3.js +0 -51
  1755. package/components/date-filter-options.nl-qgltgj2Q.js +0 -51
  1756. package/components/date-filter-positioning.config-D8wFL4L9.js +0 -38
  1757. package/components/date-filter-slots.config-Cuzz0RjE.cjs +0 -20
  1758. package/components/date-filter-slots.config-SzWky1y7.js +0 -37
  1759. package/components/de-BjRdwJaI.js +0 -592
  1760. package/components/de-DlpfqiRu.cjs +0 -20
  1761. package/components/de-OHJ9YCFU.js +0 -138
  1762. package/components/decompose-numeric-format-DS0j2wa1.js +0 -36
  1763. package/components/decorate-DyMgX_Uh.js +0 -28
  1764. package/components/default-B35Bj34G.js +0 -78
  1765. package/components/default-acceptable-data-field-types-DFOFWWnT.js +0 -53
  1766. package/components/default-acceptable-data-field-types-fPsz64ka.cjs +0 -20
  1767. package/components/default-dark-CRMTsWZ1.js +0 -78
  1768. package/components/display-settings-5cY7BZuI.cjs +0 -142
  1769. package/components/display-settings-DkSFWlVK.js +0 -316
  1770. package/components/display-settings-binning-BiI20PpZ.cjs +0 -56
  1771. package/components/display-settings-binning-tKTY2faZ.js +0 -111
  1772. package/components/display-settings-datetime-C7Jew6I8.cjs +0 -217
  1773. package/components/display-settings-datetime-YGdlBIKj.js +0 -414
  1774. package/components/display-settings-grand-totals-B4CoczLi.cjs +0 -44
  1775. package/components/display-settings-grand-totals-B7uQQUIk.js +0 -90
  1776. package/components/display-settings-numeric-BR69YecW.js +0 -480
  1777. package/components/display-settings-numeric-CHUjUYdY.cjs +0 -190
  1778. package/components/display-settings-period-over-period-CDJEh8rt.js +0 -443
  1779. package/components/display-settings-period-over-period-DL8OEHfu.cjs +0 -227
  1780. package/components/donut-chart-options.config-C8wpZzyJ.js +0 -217
  1781. package/components/donut-chart-options.config-LbmJpNlm.cjs +0 -20
  1782. package/components/donut-chart-options.de-MwhxVUQU.cjs +0 -20
  1783. package/components/donut-chart-options.de-yLZjyrqC.js +0 -85
  1784. package/components/donut-chart-options.en-CtvZekZO.js +0 -85
  1785. package/components/donut-chart-options.en-Z9kCIcjz.cjs +0 -20
  1786. package/components/donut-chart-options.es-C89OYrl4.js +0 -85
  1787. package/components/donut-chart-options.es-Ch83fRxI.cjs +0 -20
  1788. package/components/donut-chart-options.fr-B7JWWsro.cjs +0 -20
  1789. package/components/donut-chart-options.fr-Cy4UUjdS.js +0 -85
  1790. package/components/donut-chart-options.nl-BT6vFbJ5.js +0 -85
  1791. package/components/donut-chart-options.nl-Brxyw7wD.cjs +0 -20
  1792. package/components/donut-chart-positioning.config-BdyN9VzX.cjs +0 -20
  1793. package/components/donut-chart-positioning.config-CHyL7QHe.js +0 -48
  1794. package/components/donut-chart-slots.config-Bi08z-XB.cjs +0 -20
  1795. package/components/donut-chart-slots.config-fGqtoKZi.js +0 -39
  1796. package/components/dropdown-filter-options.config-BRzYD0KE.cjs +0 -20
  1797. package/components/dropdown-filter-options.config-DkiapYtc.js +0 -153
  1798. package/components/dropdown-filter-options.de-CGwxbXwe.js +0 -54
  1799. package/components/dropdown-filter-options.en-D4YCo5Bj.js +0 -54
  1800. package/components/dropdown-filter-options.es-BvFyqxrr.js +0 -54
  1801. package/components/dropdown-filter-options.fr-9KlpP9JQ.js +0 -54
  1802. package/components/dropdown-filter-options.nl-4HUfHHPT.js +0 -54
  1803. package/components/dropdown-filter-positioning.config-D1tdnuCP.js +0 -38
  1804. package/components/dropdown-filter-slots.config-CR-Ko6q_.cjs +0 -20
  1805. package/components/dropdown-filter-slots.config-DPcT6v-9.js +0 -38
  1806. package/components/en-CcLhGxIh.js +0 -21
  1807. package/components/en-GB-DzkdeUQh.js +0 -28
  1808. package/components/en-GB-uxY5qmIM.cjs +0 -20
  1809. package/components/en-US-CcLhGxIh.js +0 -21
  1810. package/components/en-US-q_Ruzags.cjs +0 -20
  1811. package/components/en-q_Ruzags.cjs +0 -20
  1812. package/components/es-BEJ3vwZw.cjs +0 -20
  1813. package/components/es-CHSnIez4.js +0 -592
  1814. package/components/es-DuN6cMja.js +0 -331
  1815. package/components/evolution-number-options.config-Ca9ABNVM.js +0 -230
  1816. package/components/evolution-number-options.config-CoGBgLLw.cjs +0 -20
  1817. package/components/evolution-number-options.de-BrdcqfjF.js +0 -76
  1818. package/components/evolution-number-options.de-CjNBpzAw.cjs +0 -20
  1819. package/components/evolution-number-options.en-B9BpR4nq.cjs +0 -20
  1820. package/components/evolution-number-options.en-Sd6L4_T9.js +0 -76
  1821. package/components/evolution-number-options.es-CxbiY9G6.cjs +0 -20
  1822. package/components/evolution-number-options.es-RgSav5iQ.js +0 -76
  1823. package/components/evolution-number-options.fr-BD73JeDU.js +0 -76
  1824. package/components/evolution-number-options.fr-Cae20bgZ.cjs +0 -20
  1825. package/components/evolution-number-options.nl-BJ-5M5kB.cjs +0 -20
  1826. package/components/evolution-number-options.nl-WHBQ04_S.js +0 -76
  1827. package/components/evolution-number-positioning.config-CUdL-zeQ.js +0 -48
  1828. package/components/evolution-number-positioning.config-D6gycaNP.cjs +0 -20
  1829. package/components/evolution-number-slots.config-CKawNqUS.js +0 -37
  1830. package/components/evolution-number-slots.config-CikuQYgm.cjs +0 -20
  1831. package/components/fi-vuFNiOkH.js +0 -126
  1832. package/components/filter-expression-picker-BS-won7l.js +0 -434
  1833. package/components/filter-expression-picker-DCHNq2I7.cjs +0 -40
  1834. package/components/filter-item-DDw3FRAz.cjs +0 -111
  1835. package/components/filter-item-DSHDKky0.js +0 -793
  1836. package/components/filter-parameter-picker-BiD6eSTh.cjs +0 -124
  1837. package/components/filter-parameter-picker-CLT9UoP8.js +0 -372
  1838. package/components/filter-value-picker--iG40y_z.cjs +0 -69
  1839. package/components/filter-value-picker-Dm0ql45_.js +0 -170
  1840. package/components/filter-value-picker-datetime-C6d57Nir.cjs +0 -51
  1841. package/components/filter-value-picker-datetime-DeqfuUwj.js +0 -160
  1842. package/components/filter-value-picker-hierarchy-B-BvFNH7.js +0 -316
  1843. package/components/filter-value-picker-hierarchy-CKqUw5uA.cjs +0 -54
  1844. package/components/filter-value-picker-numeric-BRCpHan6.cjs +0 -54
  1845. package/components/filter-value-picker-numeric-hFm7V2GV.js +0 -237
  1846. package/components/filters-CS2JKt1Y.cjs +0 -199
  1847. package/components/filters-CuB7alHb.js +0 -927
  1848. package/components/formatter-BeXmurVe.cjs +0 -20
  1849. package/components/formatter-Cq5dFCyU.js +0 -1473
  1850. package/components/formula-D_OD2i6g.js +0 -139
  1851. package/components/formula-codemirror-DYcNoihJ.cjs +0 -215
  1852. package/components/formula-codemirror-a5sWUTJu.js +0 -12019
  1853. package/components/formula-display-store-2jg_5gbV.js +0 -1087
  1854. package/components/formula-display-store-DZcUchAg.cjs +0 -20
  1855. package/components/formula-editor-B0YVZTXO.js +0 -691
  1856. package/components/formula-editor-S_OrQGxP.cjs +0 -224
  1857. package/components/formula-field-CCH2SKkC.cjs +0 -20
  1858. package/components/formula-field-DrLyzo0w.js +0 -41
  1859. package/components/formula-input-base-BP_VPgp_.cjs +0 -49
  1860. package/components/formula-input-base-PDTFvAc2.js +0 -236
  1861. package/components/formula-xgIedfvZ.cjs +0 -45
  1862. package/components/fr-CwOLJGv2.js +0 -331
  1863. package/components/fr-Qyi8waf9.cjs +0 -20
  1864. package/components/fr-bmFhZhSn.js +0 -592
  1865. package/components/funnel-chart-options.config-CygQsQVD.js +0 -211
  1866. package/components/funnel-chart-options.config-DgpM8mWb.cjs +0 -20
  1867. package/components/funnel-chart-options.de-CW29wkd4.cjs +0 -20
  1868. package/components/funnel-chart-options.de-DIoKO3fr.js +0 -76
  1869. package/components/funnel-chart-options.en-CGVFwHzU.cjs +0 -20
  1870. package/components/funnel-chart-options.en-Doj4mREG.js +0 -76
  1871. package/components/funnel-chart-options.es-Bcot5MS3.cjs +0 -20
  1872. package/components/funnel-chart-options.es-D-GP_b6C.js +0 -76
  1873. package/components/funnel-chart-options.fr-7ZROacsE.cjs +0 -20
  1874. package/components/funnel-chart-options.fr-BoQkeuls.js +0 -76
  1875. package/components/funnel-chart-options.nl-C0VZ6Ure.cjs +0 -20
  1876. package/components/funnel-chart-options.nl-CRq-RjxK.js +0 -76
  1877. package/components/funnel-chart-positioning.config-8jlFpv0s.cjs +0 -20
  1878. package/components/funnel-chart-positioning.config-CKHYW9Zh.js +0 -48
  1879. package/components/funnel-chart-slots.config-B8zC6Q6_.cjs +0 -20
  1880. package/components/funnel-chart-slots.config-CfnSH4Ay.js +0 -43
  1881. package/components/get-css-variable-CBXsAxR6.cjs +0 -20
  1882. package/components/get-css-variable-DYnldi15.js +0 -63
  1883. package/components/get-dataset-name-BUBY88G6.cjs +0 -20
  1884. package/components/get-dataset-name-DcVX3h2Y.js +0 -32
  1885. package/components/groupings-DVO_FQS0.js +0 -52
  1886. package/components/groupings-QLe5jIkp.cjs +0 -20
  1887. package/components/guidelines-options.config-DyedEeX2.js +0 -48
  1888. package/components/he-Cs_3gvpL.js +0 -126
  1889. package/components/heat-map-options.config-DtDh9Gpy.cjs +0 -20
  1890. package/components/heat-map-options.config-X96sw-BV.js +0 -226
  1891. package/components/heat-map-options.de-CdqO8c7P.js +0 -75
  1892. package/components/heat-map-options.en-BAnXacHE.js +0 -75
  1893. package/components/heat-map-options.es-8rTCVZlw.js +0 -75
  1894. package/components/heat-map-options.fr-DbGhKWbq.js +0 -75
  1895. package/components/heat-map-options.nl-nw2vqBOn.js +0 -75
  1896. package/components/heat-map-positioning.config-CJsKdaGM.js +0 -48
  1897. package/components/heat-map-positioning.config-CsFv5a9R.cjs +0 -20
  1898. package/components/heat-map-slots.config-D2ypExJQ.js +0 -37
  1899. package/components/heat-map-slots.config-Wp_oS8JQ.cjs +0 -20
  1900. package/components/heat-table-options.config-CugBuoUA.cjs +0 -20
  1901. package/components/heat-table-options.config-D6dA9J97.js +0 -269
  1902. package/components/heat-table-options.de-D16uyY3b.cjs +0 -20
  1903. package/components/heat-table-options.de-PCwpTsHu.js +0 -112
  1904. package/components/heat-table-options.en-DCNhZ0Qw.js +0 -112
  1905. package/components/heat-table-options.en-Dhd_yZdX.cjs +0 -20
  1906. package/components/heat-table-options.es-DPqviw02.cjs +0 -20
  1907. package/components/heat-table-options.es-Dhtu0ztS.js +0 -112
  1908. package/components/heat-table-options.fr-BVwdrQWA.cjs +0 -20
  1909. package/components/heat-table-options.fr-dtKsuwpe.js +0 -112
  1910. package/components/heat-table-options.nl-BAiKDY6k.cjs +0 -20
  1911. package/components/heat-table-options.nl-Bc0JFpfk.js +0 -112
  1912. package/components/heat-table-positioning.config-BErqCTzb.js +0 -55
  1913. package/components/heat-table-positioning.config-DPJqMJ3k.cjs +0 -20
  1914. package/components/heat-table-slots.config-B1iOn6ay.js +0 -49
  1915. package/components/heat-table-slots.config-BN7rtHZG.cjs +0 -20
  1916. package/components/helpers-irnB2xbq.js +0 -68
  1917. package/components/hexbin-map-options.config-BGmgxnMh.cjs +0 -20
  1918. package/components/hexbin-map-options.config-FK9DrXGD.js +0 -278
  1919. package/components/hexbin-map-options.de-IOtNvdRA.js +0 -108
  1920. package/components/hexbin-map-options.en-DKEF0zQn.js +0 -108
  1921. package/components/hexbin-map-options.es-FkXMepZ7.js +0 -108
  1922. package/components/hexbin-map-options.fr-DT7-Cefu.js +0 -108
  1923. package/components/hexbin-map-options.nl-BwgDBrw4.js +0 -108
  1924. package/components/hexbin-map-positioning.config-B4uDTE1u.js +0 -48
  1925. package/components/hexbin-map-positioning.config-B5ro4kN0.cjs +0 -20
  1926. package/components/hexbin-map-slots.config-CC1xZINm.js +0 -37
  1927. package/components/hexbin-map-slots.config-mx5zUTrA.cjs +0 -20
  1928. package/components/hu-BXedq4ZF.js +0 -126
  1929. package/components/icon-element-_jY440X2.js +0 -85
  1930. package/components/image-options.config-DZ5q1D63.cjs +0 -20
  1931. package/components/image-options.config-DxF0RSUF.js +0 -153
  1932. package/components/image-options.de-Bh8QqYb_.js +0 -86
  1933. package/components/image-options.en-D2iUVarz.js +0 -86
  1934. package/components/image-options.es-CKpabSfB.js +0 -86
  1935. package/components/image-options.fr-vfaeguWy.js +0 -86
  1936. package/components/image-options.nl-B16JINhD.js +0 -86
  1937. package/components/image-slots.config-BPJRdlMR.cjs +0 -20
  1938. package/components/image-slots.config-Ba8NXeCH.js +0 -24
  1939. package/components/info-tooltip-options.config-BmSMkirf.js +0 -59
  1940. package/components/info-tooltip-options.i18n-CDx47Py-.js +0 -74
  1941. package/components/interactive-viz-item-Baea0P3_.cjs +0 -261
  1942. package/components/interactive-viz-item-CUMd_0jC.js +0 -528
  1943. package/components/interactivity-options.config-BjEGNaIz.js +0 -73
  1944. package/components/interactivity-options.i18n-UhOnnlBC.js +0 -59
  1945. package/components/it-BoudiwDn.js +0 -331
  1946. package/components/item-grid/item-grid-item-actions-menu.d.ts +0 -35
  1947. package/components/item-grid-d2OADwan.cjs +0 -113
  1948. package/components/item-grid-kdpHgrsl.js +0 -4560
  1949. package/components/item-option-JwAx3YmC.js +0 -956
  1950. package/components/item-option-action-button-group-Ca0pf6i5.js +0 -119
  1951. package/components/item-option-action-button-group-DkAZ9OY0.cjs +0 -53
  1952. package/components/item-option-base-AaUo_MZX.cjs +0 -56
  1953. package/components/item-option-base-j4KIWhhs.js +0 -123
  1954. package/components/item-option-color-palette-picker-DawX4mFm.cjs +0 -40
  1955. package/components/item-option-color-palette-picker-OYFI9Lyv.js +0 -2042
  1956. package/components/item-option-color-picker-CucECBTQ.js +0 -88
  1957. package/components/item-option-color-picker-D0wxlRKT.cjs +0 -34
  1958. package/components/item-option-color-range-BsKL3vNf.cjs +0 -98
  1959. package/components/item-option-color-range-DEKwcRnW.js +0 -221
  1960. package/components/item-option-guidelines-CBS-l6Og.js +0 -420
  1961. package/components/item-option-guidelines-a-JZ6vET.cjs +0 -135
  1962. package/components/item-option-multi-language-field-B_iIHt9f.cjs +0 -33
  1963. package/components/item-option-multi-language-field-DsjULq1Z.js +0 -83
  1964. package/components/item-option-number-field-CMvMANg3.js +0 -103
  1965. package/components/item-option-number-field-Cu3Xp7O1.cjs +0 -38
  1966. package/components/item-option-panel-Bt-auTxh.js +0 -184
  1967. package/components/item-option-panel-CGglC0L3.cjs +0 -67
  1968. package/components/item-option-picker-Bbo9FLVK.js +0 -78
  1969. package/components/item-option-picker-Cs6IJBwI.cjs +0 -37
  1970. package/components/item-option-position-picker-9WEGAJwv.js +0 -118
  1971. package/components/item-option-position-picker-DjeaIbof.cjs +0 -32
  1972. package/components/item-option-positions-number-field-D9sacfwi.cjs +0 -49
  1973. package/components/item-option-positions-number-field-VAjwbcp-.js +0 -165
  1974. package/components/item-option-radio-button-group-BH6Rrjqn.cjs +0 -37
  1975. package/components/item-option-radio-button-group-C78B2JTq.js +0 -75
  1976. package/components/item-option-slider-C8ohnELg.js +0 -97
  1977. package/components/item-option-slider-DfrO8o4P.cjs +0 -33
  1978. package/components/item-option-switch-5-9yM_CB.js +0 -70
  1979. package/components/item-option-switch-CBDaX0VP.cjs +0 -30
  1980. package/components/item-option-text-field-BuGQRbBd.cjs +0 -33
  1981. package/components/item-option-text-field-Dfhyiw3g.js +0 -81
  1982. package/components/item-option-wljWGlVP.cjs +0 -269
  1983. package/components/item-slot-drop-BoHMbf5d.js +0 -332
  1984. package/components/item-slot-drop-DzI3J188.cjs +0 -91
  1985. package/components/item-slot-drop-panel-DAV5hZAK.js +0 -356
  1986. package/components/item-slot-drop-panel-DUZiKuGU.cjs +0 -57
  1987. package/components/item-slot-picker-D93zj2Gb.js +0 -506
  1988. package/components/item-slot-picker-Kw-XELzL.cjs +0 -174
  1989. package/components/item-slot-picker-panel-B4YB1TZm.cjs +0 -81
  1990. package/components/item-slot-picker-panel-PQ4ahhjg.js +0 -449
  1991. package/components/ja-DOkmGGSd.js +0 -126
  1992. package/components/ko-BrzKwqTe.js +0 -126
  1993. package/components/line-chart-options.config-C3_RnROS.js +0 -237
  1994. package/components/line-chart-options.config-RTYFJQSE.cjs +0 -20
  1995. package/components/line-chart-options.de-CKbHARjX.cjs +0 -20
  1996. package/components/line-chart-options.de-CtxTZ-Nx.js +0 -81
  1997. package/components/line-chart-options.en-BgXtU92P.js +0 -81
  1998. package/components/line-chart-options.en-DmtT3Hbw.cjs +0 -20
  1999. package/components/line-chart-options.es--u7QlrhG.js +0 -81
  2000. package/components/line-chart-options.es-BwyQviz-.cjs +0 -20
  2001. package/components/line-chart-options.fr-BUwOFGR7.cjs +0 -20
  2002. package/components/line-chart-options.fr-BaPc1M70.js +0 -81
  2003. package/components/line-chart-options.nl-BkPXShNF.cjs +0 -20
  2004. package/components/line-chart-options.nl-C86fSn7a.js +0 -81
  2005. package/components/line-chart-positioning.config-CZZzCHZy.cjs +0 -20
  2006. package/components/line-chart-positioning.config-hnE1mHxC.js +0 -55
  2007. package/components/line-chart-slots.config-CA-I6B6o.js +0 -55
  2008. package/components/line-chart-slots.config-vv66fcoE.cjs +0 -20
  2009. package/components/load-data-fields-for-datasets-C8QzYyAq.cjs +0 -20
  2010. package/components/load-data-fields-for-datasets-eFeQdDxV.js +0 -42
  2011. package/components/localize-BT7REYBY.js +0 -29
  2012. package/components/localized-mixin-B-kGsAm4.cjs +0 -20
  2013. package/components/localized-mixin-a1sQVLdN.js +0 -45
  2014. package/components/map-tile-providers-RN2cWRln.js +0 -115
  2015. package/components/marker-map-options.config-OMdgbAc4.js +0 -122
  2016. package/components/marker-map-options.config-SkhbtEh0.cjs +0 -20
  2017. package/components/marker-map-options.de-DVb2ab5i.js +0 -63
  2018. package/components/marker-map-options.en-BNwkDxQB.js +0 -63
  2019. package/components/marker-map-options.es-CY2DRGKv.js +0 -63
  2020. package/components/marker-map-options.fr-D31wgwxG.js +0 -63
  2021. package/components/marker-map-options.nl-DyZo_CFt.js +0 -63
  2022. package/components/marker-map-positioning.config-CwgtUUq-.js +0 -48
  2023. package/components/marker-map-positioning.config-D-I0B6m9.cjs +0 -20
  2024. package/components/marker-map-slots.config-CcGNgr1_.js +0 -37
  2025. package/components/marker-map-slots.config-DigZk7lN.cjs +0 -20
  2026. package/components/mk-Deht4BwZ.js +0 -126
  2027. package/components/nl-C1BTOQ5N.js +0 -138
  2028. package/components/nl-DcbYQmCW.cjs +0 -20
  2029. package/components/nl-ykFfpBh5.js +0 -592
  2030. package/components/no-C9FQ33Mp.js +0 -138
  2031. package/components/ohlc-chart-options.config-CWRI5bXI.js +0 -94
  2032. package/components/ohlc-chart-options.config-Pqd5MFIv.cjs +0 -20
  2033. package/components/ohlc-chart-options.de-LnJmQjiR.js +0 -63
  2034. package/components/ohlc-chart-options.en-B7TU8CK4.js +0 -63
  2035. package/components/ohlc-chart-options.es-B7m8-_pA.js +0 -63
  2036. package/components/ohlc-chart-options.fr-u_Bi9raw.js +0 -63
  2037. package/components/ohlc-chart-options.nl-BrpwjNGt.js +0 -63
  2038. package/components/ohlc-chart-positioning.config-Bq5TsRQX.cjs +0 -20
  2039. package/components/ohlc-chart-positioning.config-DBAi7BZB.js +0 -78
  2040. package/components/ohlc-chart-slots.config-D3fzoQJH.cjs +0 -20
  2041. package/components/ohlc-chart-slots.config-Pv0xst-Y.js +0 -68
  2042. package/components/orion-CXeT8EeB.js +0 -68
  2043. package/components/parallel-coordinates-plot-options.config-2BbzNgJ9.cjs +0 -20
  2044. package/components/parallel-coordinates-plot-options.config-DbuNgevO.js +0 -48
  2045. package/components/parallel-coordinates-plot-options.de-BwbOcCnH.js +0 -31
  2046. package/components/parallel-coordinates-plot-options.en-BlzPfF-b.js +0 -31
  2047. package/components/parallel-coordinates-plot-options.es-CPAqJPEY.js +0 -31
  2048. package/components/parallel-coordinates-plot-options.fr-DRTOCvqg.js +0 -31
  2049. package/components/parallel-coordinates-plot-options.nl-DqXxaV_Z.js +0 -31
  2050. package/components/parallel-coordinates-plot-positioning.config-DMQ-JdJa.cjs +0 -20
  2051. package/components/parallel-coordinates-plot-positioning.config-DY4k14h-.js +0 -48
  2052. package/components/parallel-coordinates-plot-slots.config-GvYC-RXK.js +0 -46
  2053. package/components/parallel-coordinates-plot-slots.config-s_tLqGA-.cjs +0 -20
  2054. package/components/period-over-period-condition.const-BZ7j5Z5t.js +0 -29
  2055. package/components/periods.const-NCTkxnvG.js +0 -155
  2056. package/components/pinky-CtuaRwwY.js +0 -68
  2057. package/components/pivot-table-options.config-CTz4bcGJ.js +0 -249
  2058. package/components/pivot-table-options.config-D6Hdgnof.cjs +0 -20
  2059. package/components/pivot-table-options.de-CZjCOf23.js +0 -67
  2060. package/components/pivot-table-options.en-Z6QZwj0n.js +0 -67
  2061. package/components/pivot-table-options.es-DW1enov2.js +0 -67
  2062. package/components/pivot-table-options.fr-Cl4jkSR4.js +0 -67
  2063. package/components/pivot-table-options.nl-CaWEP9qN.js +0 -67
  2064. package/components/pivot-table-positioning.config-BrD6ejPq.js +0 -55
  2065. package/components/pivot-table-positioning.config-DoMx9qf8.cjs +0 -20
  2066. package/components/pivot-table-slots.config-BAW0U3nh.js +0 -55
  2067. package/components/pivot-table-slots.config-KlYXL90k.cjs +0 -20
  2068. package/components/pl-4xvkt0Pl.js +0 -126
  2069. package/components/pragmatic-element-adapter-D0LRKx5U.js +0 -1253
  2070. package/components/pragmatic-element-adapter-DdyH32ix.cjs +0 -24
  2071. package/components/pt-BUpCBhz9.js +0 -126
  2072. package/components/pyramid-chart-options.config-C7btzuZj.js +0 -220
  2073. package/components/pyramid-chart-options.config-ClLsv7PT.cjs +0 -20
  2074. package/components/pyramid-chart-options.de-BYqibA2g.cjs +0 -20
  2075. package/components/pyramid-chart-options.de-C7n_k-tE.js +0 -102
  2076. package/components/pyramid-chart-options.en-Cu93qdAo.js +0 -102
  2077. package/components/pyramid-chart-options.en-HiLgjfbn.cjs +0 -20
  2078. package/components/pyramid-chart-options.es-BQ8qCZ32.cjs +0 -20
  2079. package/components/pyramid-chart-options.es-DCRAv4r_.js +0 -102
  2080. package/components/pyramid-chart-options.fr-BA7xAAsG.cjs +0 -20
  2081. package/components/pyramid-chart-options.fr-CLXgcrPz.js +0 -102
  2082. package/components/pyramid-chart-options.nl-BYiPyjuQ.cjs +0 -20
  2083. package/components/pyramid-chart-options.nl-CylUmHpw.js +0 -102
  2084. package/components/pyramid-chart-positioning.config-Bz-ZEuur.cjs +0 -20
  2085. package/components/pyramid-chart-positioning.config-QOCFPfhT.js +0 -55
  2086. package/components/pyramid-chart-slots.config-CreUpxI2.cjs +0 -20
  2087. package/components/pyramid-chart-slots.config-CsMMyhV3.js +0 -50
  2088. package/components/radar-chart-options.config-B5WP2MPc.cjs +0 -20
  2089. package/components/radar-chart-options.config-CtA6MpUp.js +0 -152
  2090. package/components/radar-chart-options.de-BZPerBca.js +0 -46
  2091. package/components/radar-chart-options.de-D9sVJ3e-.cjs +0 -20
  2092. package/components/radar-chart-options.en-Brb_kgjH.cjs +0 -20
  2093. package/components/radar-chart-options.en-tDJgJQVC.js +0 -46
  2094. package/components/radar-chart-options.es-BmpV458O.cjs +0 -20
  2095. package/components/radar-chart-options.es-Dz4wRR-P.js +0 -46
  2096. package/components/radar-chart-options.fr-B-gaDJX4.cjs +0 -20
  2097. package/components/radar-chart-options.fr-D5KXeury.js +0 -46
  2098. package/components/radar-chart-options.nl-D3_CmNB3.js +0 -46
  2099. package/components/radar-chart-options.nl-DH_wKvgI.cjs +0 -20
  2100. package/components/radar-chart-positioning.config-B-hbgxmM.cjs +0 -20
  2101. package/components/radar-chart-positioning.config-D54nVbnn.js +0 -55
  2102. package/components/radar-chart-slots.config-8Kf_WAFi.js +0 -53
  2103. package/components/radar-chart-slots.config-B3oIp-8w.cjs +0 -20
  2104. package/components/radiant-CFMCU8Ue.js +0 -71
  2105. package/components/regular-table-options.config-BRmS77t-.js +0 -153
  2106. package/components/regular-table-options.config-nBBnO4ru.cjs +0 -20
  2107. package/components/regular-table-options.de-g9j453gb.js +0 -57
  2108. package/components/regular-table-options.en-BrufALdp.js +0 -57
  2109. package/components/regular-table-options.es-CTDJJHWO.js +0 -57
  2110. package/components/regular-table-options.fr-CwmYI6Kh.js +0 -57
  2111. package/components/regular-table-options.nl-Dco7Br5G.js +0 -57
  2112. package/components/regular-table-positioning.config-DegSA7rc.js +0 -38
  2113. package/components/regular-table-slots.config-UwzWj6gg.cjs +0 -20
  2114. package/components/regular-table-slots.config-r-N9A-qA.js +0 -35
  2115. package/components/resolve-column-presentation-BaEP1mvs.js +0 -34
  2116. package/components/rolldown-runtime-mLOUI7ql.cjs +0 -20
  2117. package/components/route-map-options.config-C65J81_7.js +0 -328
  2118. package/components/route-map-options.config-DS9cCAQK.cjs +0 -20
  2119. package/components/route-map-options.de-C8gPppGo.js +0 -76
  2120. package/components/route-map-options.en-Bqo2qPTY.js +0 -76
  2121. package/components/route-map-options.es-Bk1nyazp.js +0 -76
  2122. package/components/route-map-options.fr-vq0ht9wS.js +0 -76
  2123. package/components/route-map-options.nl-CBhNlitV.js +0 -76
  2124. package/components/route-map-positioning.config-BP_T0wdg.cjs +0 -20
  2125. package/components/route-map-positioning.config-BdcjFezT.js +0 -66
  2126. package/components/route-map-slots.config-DMII2UuP.js +0 -59
  2127. package/components/route-map-slots.config-DfYT65BF.cjs +0 -20
  2128. package/components/royale-Cy1oOAE2.js +0 -60
  2129. package/components/ru-CkNBR3ab.js +0 -126
  2130. package/components/sankey-diagram-options.config-DZDqv5aI.cjs +0 -20
  2131. package/components/sankey-diagram-options.config-nQDCRhKs.js +0 -130
  2132. package/components/sankey-diagram-options.de-CDt5-4Rb.js +0 -63
  2133. package/components/sankey-diagram-options.en-65nfEWo_.js +0 -63
  2134. package/components/sankey-diagram-options.es-JD4SHY3x.js +0 -63
  2135. package/components/sankey-diagram-options.fr-B7wQDggY.js +0 -63
  2136. package/components/sankey-diagram-options.nl-CHqVVjut.js +0 -63
  2137. package/components/sankey-diagram-positioning.config-CJFdnnog.js +0 -66
  2138. package/components/sankey-diagram-positioning.config-CSizvya4.cjs +0 -20
  2139. package/components/sankey-diagram-slots.config-D-_u4w36.cjs +0 -20
  2140. package/components/sankey-diagram-slots.config-DmWIGut0.js +0 -61
  2141. package/components/scatter-plot-options.config-BplrME7w.js +0 -133
  2142. package/components/scatter-plot-options.config-DJW85uFv.cjs +0 -20
  2143. package/components/scatter-plot-options.de-3CPVK7Hi.cjs +0 -20
  2144. package/components/scatter-plot-options.de-CNLrv6j3.js +0 -99
  2145. package/components/scatter-plot-options.en-DigMzpQy.js +0 -99
  2146. package/components/scatter-plot-options.en-Dzvigy8-.cjs +0 -20
  2147. package/components/scatter-plot-options.es-C-IH7GVH.cjs +0 -20
  2148. package/components/scatter-plot-options.es-CQm_VVqJ.js +0 -99
  2149. package/components/scatter-plot-options.fr-Cdp6kPQi.cjs +0 -20
  2150. package/components/scatter-plot-options.fr-s0M39VT4.js +0 -99
  2151. package/components/scatter-plot-options.nl-CqpPIO03.js +0 -99
  2152. package/components/scatter-plot-options.nl-DeINlMqc.cjs +0 -20
  2153. package/components/scatter-plot-positioning.config-0MsqvxF9.cjs +0 -20
  2154. package/components/scatter-plot-positioning.config-BFFT7WH7.js +0 -77
  2155. package/components/scatter-plot-slots.config-B7wQVEEj.js +0 -74
  2156. package/components/scatter-plot-slots.config-CrG6wQtV.cjs +0 -20
  2157. package/components/search-filter-options.config-B-dGVPhS.cjs +0 -20
  2158. package/components/search-filter-options.config-yAz6IIto.js +0 -103
  2159. package/components/search-filter-options.de-BxVThclj.js +0 -42
  2160. package/components/search-filter-options.en-CVxOFFq-.js +0 -42
  2161. package/components/search-filter-options.es-YKtCfXeL.js +0 -42
  2162. package/components/search-filter-options.fr-GGa8ofab.js +0 -42
  2163. package/components/search-filter-options.nl-ysVe1z-i.js +0 -42
  2164. package/components/search-filter-positioning.config-DOSL-FX_.js +0 -38
  2165. package/components/search-filter-slots.config-D8-V0BT5.js +0 -39
  2166. package/components/search-filter-slots.config-DP06ulJA.cjs +0 -20
  2167. package/components/seasonal-DZkRSBgY.js +0 -76
  2168. package/components/set-locale-B1IG9a_t.cjs +0 -20
  2169. package/components/set-locale-jywkF7Cd.js +0 -43
  2170. package/components/set-nested-value-V1TdquO3.js +0 -33
  2171. package/components/slicer-filter-options.config-BtGkT2hI.js +0 -235
  2172. package/components/slicer-filter-options.config-Cyjd_SRY.cjs +0 -20
  2173. package/components/slicer-filter-options.de-Ck5STkcT.js +0 -69
  2174. package/components/slicer-filter-options.en-RaYV5qQy.js +0 -69
  2175. package/components/slicer-filter-options.es-C1LS6cqV.js +0 -69
  2176. package/components/slicer-filter-options.fr-CYOej3j3.js +0 -69
  2177. package/components/slicer-filter-options.nl-B9CyFXTX.js +0 -69
  2178. package/components/slicer-filter-positioning.config-CTd0dgry.cjs +0 -20
  2179. package/components/slicer-filter-positioning.config-uZCxM9WR.js +0 -48
  2180. package/components/slicer-filter-slots.config-CHKpdJvF.cjs +0 -20
  2181. package/components/slicer-filter-slots.config-DR0Wg_Zr.js +0 -44
  2182. package/components/slider-filter-options.config-BeIw6IrQ.cjs +0 -20
  2183. package/components/slider-filter-options.config-D_yZ_nFz.js +0 -72
  2184. package/components/slider-filter-options.de-CUPN4B_3.js +0 -35
  2185. package/components/slider-filter-options.en-CqnlQHF8.js +0 -35
  2186. package/components/slider-filter-options.es-CN-cg2rH.js +0 -35
  2187. package/components/slider-filter-options.fr-BxgSJRs4.js +0 -35
  2188. package/components/slider-filter-options.nl-Cd41AI1Z.js +0 -35
  2189. package/components/slider-filter-positioning.config-DSoEN2ip.js +0 -38
  2190. package/components/slider-filter-slots.config-9R298H0t.cjs +0 -20
  2191. package/components/slider-filter-slots.config-BUHw-32u.js +0 -43
  2192. package/components/slot-labels.config-3nXLBRdr.js +0 -63
  2193. package/components/slot-menu-C_KXMZ40.js +0 -429
  2194. package/components/slot-menu-UZvDoXeJ.cjs +0 -71
  2195. package/components/slot-menu-list-BM8QDl6f.cjs +0 -44
  2196. package/components/slot-menu-list-C5b4YdMp.js +0 -348
  2197. package/components/slot-role-classification-2wChhpcq.cjs +0 -20
  2198. package/components/slot-role-classification-B8bkGhQ_.js +0 -133
  2199. package/components/slots-config-Cd4xAG4H.cjs +0 -20
  2200. package/components/slots-config-GlSNH7Gr.js +0 -76
  2201. package/components/spacer-options.config-C27xkF_H.js +0 -23
  2202. package/components/speedometer-chart-options.config-BL7evgzP.js +0 -251
  2203. package/components/speedometer-chart-options.config-CEIZfeYG.cjs +0 -20
  2204. package/components/speedometer-chart-options.de-9J5HFt8T.js +0 -66
  2205. package/components/speedometer-chart-options.en-DSQsXJfa.js +0 -66
  2206. package/components/speedometer-chart-options.es-BGphL673.js +0 -66
  2207. package/components/speedometer-chart-options.fr-Cj4C4th7.js +0 -66
  2208. package/components/speedometer-chart-options.nl-BKNd6tYT.js +0 -66
  2209. package/components/speedometer-chart-positioning.config-5_dDGLcj.js +0 -48
  2210. package/components/speedometer-chart-positioning.config-iFrwMA8o.cjs +0 -20
  2211. package/components/speedometer-chart-slots.config-2Y_x52Gy.js +0 -39
  2212. package/components/speedometer-chart-slots.config-S_hQm2MV.cjs +0 -20
  2213. package/components/spike-map-options.config-BRwdTyrp.cjs +0 -20
  2214. package/components/spike-map-options.config-DjoTrAsC.js +0 -415
  2215. package/components/spike-map-options.de-J48HW0-l.js +0 -103
  2216. package/components/spike-map-options.en-Cic1NUan.js +0 -103
  2217. package/components/spike-map-options.es-DbCa45oc.js +0 -103
  2218. package/components/spike-map-options.fr-LqDsPbpZ.js +0 -103
  2219. package/components/spike-map-options.nl-CRaM6WoB.js +0 -103
  2220. package/components/spike-map-positioning.config-DmeQEvYs.js +0 -55
  2221. package/components/spike-map-positioning.config-Il5adl7y.cjs +0 -20
  2222. package/components/spike-map-slots.config-DJWMFPIR.js +0 -47
  2223. package/components/spike-map-slots.config-cKfaD6dQ.cjs +0 -20
  2224. package/components/strip-plot-options.config-DpRoR04b.cjs +0 -20
  2225. package/components/strip-plot-options.config-tDmVlu9U.js +0 -54
  2226. package/components/strip-plot-options.de-vzJck0Vn.js +0 -31
  2227. package/components/strip-plot-options.en-Bdv_ZOrd.js +0 -31
  2228. package/components/strip-plot-options.es-B91vttJc.js +0 -31
  2229. package/components/strip-plot-options.fr-DJQiJ_Zf.js +0 -31
  2230. package/components/strip-plot-options.nl-Dx7PVRrW.js +0 -31
  2231. package/components/strip-plot-positioning.config-BDeWD7-S.js +0 -48
  2232. package/components/strip-plot-positioning.config-Bq6LZ8KO.cjs +0 -20
  2233. package/components/strip-plot-slots.config-DNYlrK_c.cjs +0 -20
  2234. package/components/strip-plot-slots.config-suFyIf5-.js +0 -38
  2235. package/components/sunburst-chart-options.config-Bjue_lQN.js +0 -184
  2236. package/components/sunburst-chart-options.config-DszAtggj.cjs +0 -20
  2237. package/components/sunburst-chart-options.de-Cv5jxNjX.js +0 -60
  2238. package/components/sunburst-chart-options.de-DV_80qR9.cjs +0 -20
  2239. package/components/sunburst-chart-options.en-Zfns8M0i.cjs +0 -20
  2240. package/components/sunburst-chart-options.en-wsOVOyb6.js +0 -60
  2241. package/components/sunburst-chart-options.es-BSKiBxl_.cjs +0 -20
  2242. package/components/sunburst-chart-options.es-Qhu6VcVi.js +0 -60
  2243. package/components/sunburst-chart-options.fr-DOcWgNOZ.cjs +0 -20
  2244. package/components/sunburst-chart-options.fr-GdCEoo8O.js +0 -60
  2245. package/components/sunburst-chart-options.nl-D2JXoYTB.cjs +0 -20
  2246. package/components/sunburst-chart-options.nl-oTUKol5z.js +0 -60
  2247. package/components/sunburst-chart-positioning.config-DKmnqc9L.cjs +0 -20
  2248. package/components/sunburst-chart-positioning.config-HfC8--mz.js +0 -48
  2249. package/components/sunburst-chart-slots.config-BqVT-h0Z.js +0 -38
  2250. package/components/sunburst-chart-slots.config-DkUUt5RF.cjs +0 -20
  2251. package/components/sv-D2kQHkgH.js +0 -126
  2252. package/components/symbol-map-options.config-Ce0Kv7N7.cjs +0 -20
  2253. package/components/symbol-map-options.config-Dyeya5Z2.js +0 -179
  2254. package/components/symbol-map-options.de-CAapWyZM.js +0 -66
  2255. package/components/symbol-map-options.en-CaXeV5i_.js +0 -66
  2256. package/components/symbol-map-options.es-Ccu0xWZb.js +0 -66
  2257. package/components/symbol-map-options.fr-B7F1XlQX.js +0 -66
  2258. package/components/symbol-map-options.nl-DkV83AGA.js +0 -66
  2259. package/components/symbol-map-positioning.config-BhH19JiS.js +0 -55
  2260. package/components/symbol-map-positioning.config-TjmD9qTx.cjs +0 -20
  2261. package/components/symbol-map-slots.config-DwNf547A.cjs +0 -20
  2262. package/components/symbol-map-slots.config-Rhpher5o.js +0 -53
  2263. package/components/text-options.config-BwBCG2yo.cjs +0 -20
  2264. package/components/text-options.config-CXhvzzPF.js +0 -67
  2265. package/components/text-options.de-Rtef15Lz.js +0 -30
  2266. package/components/text-options.en-YdJ2bVwv.js +0 -30
  2267. package/components/text-options.es-Chd8-zuc.js +0 -30
  2268. package/components/text-options.fr-CWeBOXaW.js +0 -30
  2269. package/components/text-options.nl-CyY1z7nM.js +0 -30
  2270. package/components/text-slots.config-CPghLc8b.cjs +0 -20
  2271. package/components/text-slots.config-Dzj4-x2G.js +0 -24
  2272. package/components/themes-CQZd578_.js +0 -72
  2273. package/components/tokens-Ov1pCR4Y.js +0 -29
  2274. package/components/tr-B66hMkRl.js +0 -138
  2275. package/components/treemap-chart-options.config-BzOCEWog.js +0 -211
  2276. package/components/treemap-chart-options.config-Cpj6vD6I.cjs +0 -20
  2277. package/components/treemap-chart-options.de-ByDBntoA.js +0 -64
  2278. package/components/treemap-chart-options.en-0-5g1Vjs.js +0 -64
  2279. package/components/treemap-chart-options.es-CDkb_3c3.js +0 -64
  2280. package/components/treemap-chart-options.fr-rj0fjvUO.js +0 -64
  2281. package/components/treemap-chart-options.nl-CQjDtoqG.js +0 -64
  2282. package/components/treemap-chart-positioning.config-DRcKF0l5.js +0 -55
  2283. package/components/treemap-chart-positioning.config-QWbeQo0k.cjs +0 -20
  2284. package/components/treemap-chart-slots.config-CS3ot6ZJ.cjs +0 -20
  2285. package/components/treemap-chart-slots.config-DRcafVU-.js +0 -47
  2286. package/components/type-check-CGREdneG.js +0 -52
  2287. package/components/types-DNRGKFSD.js +0 -44
  2288. package/components/urban-8R0DqHZs.js +0 -71
  2289. package/components/utils-D_2sPb6e.js +0 -240
  2290. package/components/utils-NUBVlX2X.cjs +0 -20
  2291. package/components/v4-DIjJgmR0.js +0 -49
  2292. package/components/venn-diagram-options.config-BMlduwIp.js +0 -24
  2293. package/components/venn-diagram-options.config-BamlR1qo.cjs +0 -20
  2294. package/components/venn-diagram-positioning.config-CQhTMPoU.js +0 -55
  2295. package/components/venn-diagram-positioning.config-D0iy_fTw.cjs +0 -20
  2296. package/components/venn-diagram-slots.config-CMDndPVi.js +0 -47
  2297. package/components/venn-diagram-slots.config-DYTmU8v2.cjs +0 -20
  2298. package/components/video-options.config-BhBpkaLJ.cjs +0 -20
  2299. package/components/video-options.config-DdfSTJEJ.js +0 -127
  2300. package/components/video-options.de-CqDvojKb.js +0 -60
  2301. package/components/video-options.en-DWsFJndr.js +0 -60
  2302. package/components/video-options.es-C986CdLZ.js +0 -60
  2303. package/components/video-options.fr-CF8lEOzZ.js +0 -60
  2304. package/components/video-options.nl-DnHgROBb.js +0 -60
  2305. package/components/video-slots.config-DMut7o7r.cjs +0 -20
  2306. package/components/video-slots.config-Utnn0DBW.js +0 -24
  2307. package/components/vivid-YDTQ3C2-.js +0 -72
  2308. package/components/viz-item-menu/index.cjs +0 -20
  2309. package/components/viz-item-menu/index.d.ts +0 -8
  2310. package/components/viz-item-menu/index.js +0 -21
  2311. package/components/viz-item-menu/types.d.ts +0 -9
  2312. package/components/viz-item-menu/viz-item-menu.d.ts +0 -85
  2313. package/components/viz-item-menu-D0h7wZWt.cjs +0 -63
  2314. package/components/viz-item-menu-Dy3hXg1_.js +0 -203
  2315. package/components/wordcloud-chart-options.config-BQ4Z-vPT.cjs +0 -20
  2316. package/components/wordcloud-chart-options.config-y9Z5I_ZN.js +0 -97
  2317. package/components/wordcloud-chart-options.de-0T6RwBxn.js +0 -49
  2318. package/components/wordcloud-chart-options.en-xMN7HxWU.js +0 -49
  2319. package/components/wordcloud-chart-options.es-DPccPG_x.js +0 -49
  2320. package/components/wordcloud-chart-options.fr-D6DKbL9I.js +0 -49
  2321. package/components/wordcloud-chart-options.nl-CBKMvA4E.js +0 -49
  2322. package/components/wordcloud-chart-positioning.config-BP8mOBS_.js +0 -55
  2323. package/components/wordcloud-chart-positioning.config-DN9GHjCI.cjs +0 -20
  2324. package/components/wordcloud-chart-slots.config-CvabtgbP.js +0 -45
  2325. package/components/wordcloud-chart-slots.config-V29v2Fhr.cjs +0 -20
  2326. package/components/zh-CN-EbmFbkUF.js +0 -126
  2327. package/components/zh-TW-zX5KG7hP.js +0 -126
  2328. package/deprecated-react/components/viz-item-menu.component.cjs +0 -1
  2329. package/react/components/viz-item-menu.component.ts +0 -33
  2330. package/react/esm/components/viz-item-menu.component.d.ts +0 -16
  2331. package/react/esm/components/viz-item-menu.component.js +0 -21
  2332. package/standalone/chunks/add-to-dashboard-B8vSrVm1.js +0 -148
  2333. package/standalone/chunks/area-chart-options.config-CXWPLl-0.js +0 -2
  2334. package/standalone/chunks/area-chart-options.de-Dr8RVJtb.js +0 -2
  2335. package/standalone/chunks/area-chart-options.en-DV1AZ274.js +0 -2
  2336. package/standalone/chunks/area-chart-options.es-Cg7uU7OK.js +0 -2
  2337. package/standalone/chunks/area-chart-options.fr-CJjgrAt2.js +0 -2
  2338. package/standalone/chunks/area-chart-options.nl-CTGxVXNo.js +0 -2
  2339. package/standalone/chunks/axis-options.config-DP9f04t6.js +0 -2
  2340. package/standalone/chunks/axis-options.i18n-BwkGC9PX.js +0 -2
  2341. package/standalone/chunks/bar-chart-options.config-w4REKu0t.js +0 -2
  2342. package/standalone/chunks/bar-chart-options.de-DCVBVtFi.js +0 -2
  2343. package/standalone/chunks/bar-chart-options.en-B4xiZxTy.js +0 -2
  2344. package/standalone/chunks/bar-chart-options.es-UqehXB9Z.js +0 -2
  2345. package/standalone/chunks/bar-chart-options.fr-CaUBeZBK.js +0 -2
  2346. package/standalone/chunks/bar-chart-options.nl-C2tFvUE8.js +0 -2
  2347. package/standalone/chunks/base-Cxkw-IoQ.js +0 -2
  2348. package/standalone/chunks/box-plot-options.config-BlYMd4FN.js +0 -2
  2349. package/standalone/chunks/box-plot-options.de-RDAv8kHb.js +0 -2
  2350. package/standalone/chunks/box-plot-options.en-kGLfLsv3.js +0 -2
  2351. package/standalone/chunks/box-plot-options.es-Dw3ivv22.js +0 -2
  2352. package/standalone/chunks/box-plot-options.fr-De5nkQNr.js +0 -2
  2353. package/standalone/chunks/box-plot-options.nl-DD1f-Nlt.js +0 -2
  2354. package/standalone/chunks/bullet-chart-options.config-Cc5lKDjs.js +0 -2
  2355. package/standalone/chunks/bullet-chart-options.de-Ci81seQn.js +0 -2
  2356. package/standalone/chunks/bullet-chart-options.en-Dk95moRX.js +0 -2
  2357. package/standalone/chunks/bullet-chart-options.es-eIqahAOr.js +0 -2
  2358. package/standalone/chunks/bullet-chart-options.fr-CEABbpT0.js +0 -2
  2359. package/standalone/chunks/bullet-chart-options.nl-B3gOPn5D.js +0 -2
  2360. package/standalone/chunks/calculate-data-field-icon-CrEVAfzJ.js +0 -2
  2361. package/standalone/chunks/chart-helpers-BplLoVQz.js +0 -2
  2362. package/standalone/chunks/choropleth-map-options.config-Ul1FSTwf.js +0 -2
  2363. package/standalone/chunks/color-DaeCRJ5Q.js +0 -2
  2364. package/standalone/chunks/color-range-utils-CLqVCA5J.js +0 -2
  2365. package/standalone/chunks/column-chart-options.config-v7fBgXRI.js +0 -2
  2366. package/standalone/chunks/column-chart-options.de-OoMpZc7N.js +0 -2
  2367. package/standalone/chunks/column-chart-options.en-B4xiZxTy.js +0 -2
  2368. package/standalone/chunks/column-chart-options.es-BL-wKXpp.js +0 -2
  2369. package/standalone/chunks/column-chart-options.fr-CaUBeZBK.js +0 -2
  2370. package/standalone/chunks/column-chart-options.nl-C2tFvUE8.js +0 -2
  2371. package/standalone/chunks/combination-chart-options.config-C9hmUPal.js +0 -2
  2372. package/standalone/chunks/combination-chart-options.de-ChlEhT09.js +0 -2
  2373. package/standalone/chunks/combination-chart-options.en-DhCXqnwj.js +0 -2
  2374. package/standalone/chunks/combination-chart-options.es-DESqZp0U.js +0 -2
  2375. package/standalone/chunks/combination-chart-options.fr-v6P2xQCi.js +0 -2
  2376. package/standalone/chunks/combination-chart-options.nl-D8ato2ve.js +0 -2
  2377. package/standalone/chunks/data-broker-Dgg5mQze.js +0 -2
  2378. package/standalone/chunks/date-comparison-filter-slots.config-DfHq9lB8.js +0 -2
  2379. package/standalone/chunks/de-Cdj3urck.js +0 -2
  2380. package/standalone/chunks/decompose-numeric-format-BXLQ97e2.js +0 -2
  2381. package/standalone/chunks/default-local-formats-CES1ItiK.js +0 -2
  2382. package/standalone/chunks/display-settings-binning-CkTukb8z.js +0 -38
  2383. package/standalone/chunks/display-settings-datetime-BwSjSHkd.js +0 -199
  2384. package/standalone/chunks/display-settings-grand-totals-BI5D3vGd.js +0 -26
  2385. package/standalone/chunks/display-settings-numeric-Bo_aBmkG.js +0 -172
  2386. package/standalone/chunks/display-settings-period-over-period-Ctzr60H_.js +0 -209
  2387. package/standalone/chunks/donut-chart-options.config-BuZj-QX5.js +0 -2
  2388. package/standalone/chunks/donut-chart-options.de-QusCBL9B.js +0 -2
  2389. package/standalone/chunks/donut-chart-options.en-D0ligFH6.js +0 -2
  2390. package/standalone/chunks/donut-chart-options.es-Bmn34sGt.js +0 -2
  2391. package/standalone/chunks/donut-chart-options.fr-DGBawYKp.js +0 -2
  2392. package/standalone/chunks/donut-chart-options.nl-DzNTu0v4.js +0 -2
  2393. package/standalone/chunks/embed-DjpHVUzS.js +0 -228
  2394. package/standalone/chunks/en-BD2RCLuw.js +0 -2
  2395. package/standalone/chunks/en-GB-DnwmFNwC.js +0 -2
  2396. package/standalone/chunks/en-US-BD2RCLuw.js +0 -2
  2397. package/standalone/chunks/es-Dtd2N5jR.js +0 -2
  2398. package/standalone/chunks/evolution-number-options.config-B5Cj0YAQ.js +0 -2
  2399. package/standalone/chunks/evolution-number-options.de-Ch0LaHwI.js +0 -2
  2400. package/standalone/chunks/evolution-number-options.en-riChGfa6.js +0 -2
  2401. package/standalone/chunks/evolution-number-options.es-BdG3lvVQ.js +0 -2
  2402. package/standalone/chunks/evolution-number-options.fr-_h0kLeRL.js +0 -2
  2403. package/standalone/chunks/evolution-number-options.nl-CqycrLe1.js +0 -2
  2404. package/standalone/chunks/filters-CyrW0E5Y.js +0 -544
  2405. package/standalone/chunks/formatter-B7zz6UOp.js +0 -2
  2406. package/standalone/chunks/formula-codemirror-IUKFE1Kz.js +0 -197
  2407. package/standalone/chunks/fr-BYvUUvgQ.js +0 -2
  2408. package/standalone/chunks/funnel-chart-options.config-1SyJ_qYd.js +0 -2
  2409. package/standalone/chunks/funnel-chart-options.de-BTxwd7Pe.js +0 -2
  2410. package/standalone/chunks/funnel-chart-options.en-CmY-uO1P.js +0 -2
  2411. package/standalone/chunks/funnel-chart-options.es-DLqBydsE.js +0 -2
  2412. package/standalone/chunks/funnel-chart-options.fr-ztQ5OMZi.js +0 -2
  2413. package/standalone/chunks/funnel-chart-options.nl-DVysx7tP.js +0 -2
  2414. package/standalone/chunks/heat-map-options.config-DYIrP8cV.js +0 -2
  2415. package/standalone/chunks/heat-table-options.config-ByHwT44G.js +0 -2
  2416. package/standalone/chunks/heat-table-options.de-BMx67hXo.js +0 -2
  2417. package/standalone/chunks/heat-table-options.en-BbobGoXs.js +0 -2
  2418. package/standalone/chunks/heat-table-options.es-zKo-QMBY.js +0 -2
  2419. package/standalone/chunks/heat-table-options.fr-XSTL1CSb.js +0 -2
  2420. package/standalone/chunks/heat-table-options.nl-Cgcccsee.js +0 -2
  2421. package/standalone/chunks/item-option-action-button-group-DY3cJhwT.js +0 -35
  2422. package/standalone/chunks/item-option-base-ByIsjLNr.js +0 -38
  2423. package/standalone/chunks/item-option-color-palette-picker-CAJQQYlJ.js +0 -22
  2424. package/standalone/chunks/item-option-color-picker-DaydWbp4.js +0 -16
  2425. package/standalone/chunks/item-option-color-range-ZtyqYH6s.js +0 -80
  2426. package/standalone/chunks/item-option-guidelines-jl3DurnC.js +0 -117
  2427. package/standalone/chunks/item-option-multi-language-field-B1yL1_h2.js +0 -15
  2428. package/standalone/chunks/item-option-number-field-z7U9fqwG.js +0 -20
  2429. package/standalone/chunks/item-option-panel-Brtv-ZJc.js +0 -298
  2430. package/standalone/chunks/item-option-picker-5TZm8ava.js +0 -19
  2431. package/standalone/chunks/item-option-position-picker-D1xBaRVj.js +0 -14
  2432. package/standalone/chunks/item-option-positions-number-field-BVUJlmrc.js +0 -31
  2433. package/standalone/chunks/item-option-radio-button-group-BUiIeoaT.js +0 -19
  2434. package/standalone/chunks/item-option-slider-CkDEpJ_1.js +0 -15
  2435. package/standalone/chunks/item-option-switch-C1AuP-TA.js +0 -12
  2436. package/standalone/chunks/item-option-text-field-BNJ1AyYT.js +0 -15
  2437. package/standalone/chunks/item-slot-picker-panel-VIf7-0St.js +0 -439
  2438. package/standalone/chunks/line-chart-options.config-DyqQLGw8.js +0 -2
  2439. package/standalone/chunks/line-chart-options.de-BScjvJsI.js +0 -2
  2440. package/standalone/chunks/line-chart-options.en-BVWFsre-.js +0 -2
  2441. package/standalone/chunks/line-chart-options.es-CxNJevNs.js +0 -2
  2442. package/standalone/chunks/line-chart-options.fr-LCsLx0Uh.js +0 -2
  2443. package/standalone/chunks/line-chart-options.nl-BOgcjx48.js +0 -2
  2444. package/standalone/chunks/lit-localize-CIGP-NUw.js +0 -2
  2445. package/standalone/chunks/load-data-fields-for-datasets-CjOt0TtW.js +0 -25
  2446. package/standalone/chunks/load-formula-codemirror-CfPwEi_Z.js +0 -6
  2447. package/standalone/chunks/localize-BXHWaHdZ.js +0 -2
  2448. package/standalone/chunks/localized-decorator-Buib6Rq1.js +0 -2
  2449. package/standalone/chunks/localized-mixin-DY0QxOC9.js +0 -2
  2450. package/standalone/chunks/luzmo-icon-markup-Cw93OB80.js +0 -13
  2451. package/standalone/chunks/nl-DxhHxYCs.js +0 -2
  2452. package/standalone/chunks/ohlc-chart-options.config-Bu2GKlAH.js +0 -2
  2453. package/standalone/chunks/period-over-period-condition.const-AC_onvUf.js +0 -2
  2454. package/standalone/chunks/periods.const-Cie50jR4.js +0 -2
  2455. package/standalone/chunks/pyramid-chart-options.config-CBd-pgn_.js +0 -2
  2456. package/standalone/chunks/pyramid-chart-options.de-CBL_8UjH.js +0 -2
  2457. package/standalone/chunks/pyramid-chart-options.en-CTozc1Uh.js +0 -2
  2458. package/standalone/chunks/pyramid-chart-options.es-BKciL-nO.js +0 -2
  2459. package/standalone/chunks/pyramid-chart-options.fr-B04m8B_b.js +0 -2
  2460. package/standalone/chunks/pyramid-chart-options.nl-DIhj1NYF.js +0 -2
  2461. package/standalone/chunks/radar-chart-options.config-CnQ8mbs9.js +0 -2
  2462. package/standalone/chunks/radar-chart-options.de-_LSueG69.js +0 -2
  2463. package/standalone/chunks/radar-chart-options.en-DBA8TpKJ.js +0 -2
  2464. package/standalone/chunks/radar-chart-options.es-DjSsFQkP.js +0 -2
  2465. package/standalone/chunks/radar-chart-options.fr-CCh2jYPS.js +0 -2
  2466. package/standalone/chunks/radar-chart-options.nl-tZ0JRjXD.js +0 -2
  2467. package/standalone/chunks/route-map-options.config-CWyA9_SB.js +0 -2
  2468. package/standalone/chunks/scatter-plot-options.config-BV9Lb6-v.js +0 -2
  2469. package/standalone/chunks/scatter-plot-options.de-Dg3O1b2R.js +0 -2
  2470. package/standalone/chunks/scatter-plot-options.en-CJH2ZlFW.js +0 -2
  2471. package/standalone/chunks/scatter-plot-options.es-7kExRi4J.js +0 -2
  2472. package/standalone/chunks/scatter-plot-options.fr-Bbkf8efT.js +0 -2
  2473. package/standalone/chunks/scatter-plot-options.nl-zrEXoM-k.js +0 -2
  2474. package/standalone/chunks/spike-map-options.config-YOYHTzZs.js +0 -2
  2475. package/standalone/chunks/sunburst-chart-options.config-DRjBFJV0.js +0 -2
  2476. package/standalone/chunks/sunburst-chart-options.de-D6enQCjV.js +0 -2
  2477. package/standalone/chunks/sunburst-chart-options.en-D9DSivE2.js +0 -2
  2478. package/standalone/chunks/sunburst-chart-options.es-Bb7iCI1h.js +0 -2
  2479. package/standalone/chunks/sunburst-chart-options.fr-CCzUgv7r.js +0 -2
  2480. package/standalone/chunks/sunburst-chart-options.nl-bGOCvc4m.js +0 -2
  2481. package/standalone/chunks/task-pfWn4DHD.js +0 -2
  2482. package/standalone/chunks/themes-BD5sKr3j.js +0 -2
  2483. package/standalone/chunks/type-check-CC6bgirK.js +0 -2
  2484. package/standalone/chunks/types-BS6dxSMT.js +0 -2
  2485. package/standalone/chunks/v4-CI0qP0ur.js +0 -2
  2486. package/standalone/chunks/version-DJES6maY.js +0 -2
@@ -1,4373 +0,0 @@
1
- /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
- *
3
- * Copyright © 2026 Luzmo
4
- * All rights reserved.
5
- * Luzmo web components (“Luzmo Web Components”)
6
- * must be used according to the Luzmo Terms of Service.
7
- * This license allows users with a current active Luzmo account
8
- * to use the Luzmo Web Components. This license terminates
9
- * automatically if a user no longer has an active Luzmo account.
10
- * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
- *
12
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
- * SOFTWARE.
19
- * */
20
- import "./tokens-Ov1pCR4Y.js";
21
- import { c as e, d as t, s as n, u as r } from "./ai-interaction-textarea-CAb6g6dq.js";
22
- import { i, n as a } from "./base-CH2yUuWp.js";
23
- import { t as o } from "./decorate-DyMgX_Uh.js";
24
- import { msg as s } from "@lit/localize/lit-localize";
25
- import { luzmoEllipsisVertical as c, luzmoIcon as l, luzmoSpin as u } from "@luzmo/icons";
26
- import "@luzmo/lucero/button";
27
- import "@luzmo/lucero/chat-message";
28
- import "@luzmo/lucero/icon";
29
- import "@luzmo/lucero/overlay";
30
- import "@luzmo/lucero/popover";
31
- import "@luzmo/lucero/progress-steps";
32
- import { html as d, nothing as f, unsafeCSS as p } from "lit";
33
- import { property as m, state as ee } from "lit/decorators.js";
34
- import { unsafeHTML as te } from "lit/directives/unsafe-html.js";
35
- import "@luzmo/lucero/action-button";
36
- import "@luzmo/lucero/question-box";
37
- import { guard as ne } from "lit/directives/guard.js";
38
- import { keyed as re } from "lit/directives/keyed.js";
39
- //#region node_modules/dompurify/dist/purify.es.mjs
40
- function ie(e, t) {
41
- this.v = e, this.k = t;
42
- }
43
- function h(e, t) {
44
- (t == null || t > e.length) && (t = e.length);
45
- for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
46
- return r;
47
- }
48
- function ae(e) {
49
- if (Array.isArray(e)) return e;
50
- }
51
- function oe(e, t) {
52
- var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
53
- if (n != null) {
54
- var r, i, a, o, s = [], c = !0, l = !1;
55
- try {
56
- if (a = (n = n.call(e)).next, t === 0) {
57
- if (Object(n) !== n) return;
58
- c = !1;
59
- } else for (; !(c = (r = a.call(n)).done) && (s.push(r.value), s.length !== t); c = !0);
60
- } catch (e) {
61
- l = !0, i = e;
62
- } finally {
63
- try {
64
- if (!c && n.return != null && (o = n.return(), Object(o) !== o)) return;
65
- } finally {
66
- if (l) throw i;
67
- }
68
- }
69
- return s;
70
- }
71
- }
72
- function se() {
73
- throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
74
- }
75
- function ce(e, t) {
76
- return ae(e) || oe(e, t) || g(e, t) || se();
77
- }
78
- function g(e, t) {
79
- if (e) {
80
- if (typeof e == "string") return h(e, t);
81
- var n = {}.toString.call(e).slice(8, -1);
82
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? h(e, t) : void 0;
83
- }
84
- }
85
- function _(e) {
86
- var t, n;
87
- function r(t, n) {
88
- try {
89
- var a = e[t](n), o = a.value, s = o instanceof ie;
90
- Promise.resolve(s ? o.v : o).then(function(n) {
91
- if (s) {
92
- var c = t === "return" && o.k ? t : "next";
93
- if (!o.k || n.done) return r(c, n);
94
- n = e[c](n).value;
95
- }
96
- i(!!a.done, n);
97
- }, function(e) {
98
- r("throw", e);
99
- });
100
- } catch (e) {
101
- i(2, e);
102
- }
103
- }
104
- function i(e, i) {
105
- e === 2 ? t.reject(i) : t.resolve({
106
- value: i,
107
- done: e
108
- }), (t = t.next) ? r(t.key, t.arg) : n = null;
109
- }
110
- this._invoke = function(e, i) {
111
- return new Promise(function(a, o) {
112
- var s = {
113
- key: e,
114
- arg: i,
115
- resolve: a,
116
- reject: o,
117
- next: null
118
- };
119
- n ? n = n.next = s : (t = n = s, r(e, i));
120
- });
121
- }, typeof e.return != "function" && (this.return = void 0);
122
- }
123
- _.prototype[typeof Symbol == "function" && Symbol.asyncIterator || "@@asyncIterator"] = function() {
124
- return this;
125
- }, _.prototype.next = function(e) {
126
- return this._invoke("next", e);
127
- }, _.prototype.throw = function(e) {
128
- return this._invoke("throw", e);
129
- }, _.prototype.return = function(e) {
130
- return this._invoke("return", e);
131
- };
132
- var le = Object.entries, ue = Object.setPrototypeOf, de = Object.isFrozen, fe = Object.getPrototypeOf, pe = Object.getOwnPropertyDescriptor, v = Object.freeze, y = Object.seal, me = Object.create, he = typeof Reflect < "u" && Reflect, ge = he.apply, _e = he.construct;
133
- v ||= function(e) {
134
- return e;
135
- }, y ||= function(e) {
136
- return e;
137
- }, ge ||= function(e, t) {
138
- var n = [...arguments].slice(2);
139
- return e.apply(t, n);
140
- }, _e ||= function(e) {
141
- return new e(...[...arguments].slice(1));
142
- };
143
- var ve = S(Array.prototype.forEach);
144
- Array.prototype.indexOf;
145
- var ye = S(Array.prototype.lastIndexOf), be = S(Array.prototype.pop), xe = S(Array.prototype.push);
146
- Array.prototype.slice;
147
- var Se = S(Array.prototype.splice), Ce = Array.isArray, we = S(String.prototype.toLowerCase), Te = S(String.prototype.toString), Ee = S(String.prototype.match), De = S(String.prototype.replace), Oe = S(String.prototype.indexOf), ke = S(String.prototype.trim), Ae = S(Number.prototype.toString), je = S(Boolean.prototype.toString), Me = typeof BigInt > "u" ? null : S(BigInt.prototype.toString), Ne = typeof Symbol > "u" ? null : S(Symbol.prototype.toString), b = S(Object.prototype.hasOwnProperty), Pe = S(Object.prototype.toString), x = S(RegExp.prototype.test), Fe = C(TypeError);
148
- function S(e) {
149
- return function(t) {
150
- t instanceof RegExp && (t.lastIndex = 0);
151
- var n = [...arguments].slice(1);
152
- return ge(e, t, n);
153
- };
154
- }
155
- function C(e) {
156
- return function() {
157
- return _e(e, [...arguments]);
158
- };
159
- }
160
- function w(e, t) {
161
- let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : we;
162
- if (ue && ue(e, null), !Ce(t)) return e;
163
- let r = t.length;
164
- for (; r--;) {
165
- let i = t[r];
166
- if (typeof i == "string") {
167
- let e = n(i);
168
- e !== i && (de(t) || (t[r] = e), i = e);
169
- }
170
- e[i] = !0;
171
- }
172
- return e;
173
- }
174
- function Ie(e) {
175
- for (let t = 0; t < e.length; t++) b(e, t) || (e[t] = null);
176
- return e;
177
- }
178
- function T(e) {
179
- let t = me(null);
180
- for (let r of le(e)) {
181
- var n = ce(r, 2);
182
- let i = n[0], a = n[1];
183
- b(e, i) && (Ce(a) ? t[i] = Ie(a) : a && typeof a == "object" && a.constructor === Object ? t[i] = T(a) : t[i] = a);
184
- }
185
- return t;
186
- }
187
- function Le(e) {
188
- switch (typeof e) {
189
- case "string": return e;
190
- case "number": return Ae(e);
191
- case "boolean": return je(e);
192
- case "bigint": return Me ? Me(e) : "0";
193
- case "symbol": return Ne ? Ne(e) : "Symbol()";
194
- case "undefined": return Pe(e);
195
- case "function":
196
- case "object": {
197
- if (e === null) return Pe(e);
198
- let t = e, n = E(t, "toString");
199
- if (typeof n == "function") {
200
- let e = n(t);
201
- return typeof e == "string" ? e : Pe(e);
202
- }
203
- return Pe(e);
204
- }
205
- default: return Pe(e);
206
- }
207
- }
208
- function E(e, t) {
209
- for (; e !== null;) {
210
- let n = pe(e, t);
211
- if (n) {
212
- if (n.get) return S(n.get);
213
- if (typeof n.value == "function") return S(n.value);
214
- }
215
- e = fe(e);
216
- }
217
- function n() {
218
- return null;
219
- }
220
- return n;
221
- }
222
- function Re(e) {
223
- try {
224
- return x(e, ""), !0;
225
- } catch {
226
- return !1;
227
- }
228
- }
229
- var ze = v(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr".split(".")), Be = v(/* @__PURE__ */ "svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern".split(".")), Ve = v([
230
- "feBlend",
231
- "feColorMatrix",
232
- "feComponentTransfer",
233
- "feComposite",
234
- "feConvolveMatrix",
235
- "feDiffuseLighting",
236
- "feDisplacementMap",
237
- "feDistantLight",
238
- "feDropShadow",
239
- "feFlood",
240
- "feFuncA",
241
- "feFuncB",
242
- "feFuncG",
243
- "feFuncR",
244
- "feGaussianBlur",
245
- "feImage",
246
- "feMerge",
247
- "feMergeNode",
248
- "feMorphology",
249
- "feOffset",
250
- "fePointLight",
251
- "feSpecularLighting",
252
- "feSpotLight",
253
- "feTile",
254
- "feTurbulence"
255
- ]), He = v([
256
- "animate",
257
- "color-profile",
258
- "cursor",
259
- "discard",
260
- "font-face",
261
- "font-face-format",
262
- "font-face-name",
263
- "font-face-src",
264
- "font-face-uri",
265
- "foreignobject",
266
- "hatch",
267
- "hatchpath",
268
- "mesh",
269
- "meshgradient",
270
- "meshpatch",
271
- "meshrow",
272
- "missing-glyph",
273
- "script",
274
- "set",
275
- "solidcolor",
276
- "unknown",
277
- "use"
278
- ]), Ue = v(/* @__PURE__ */ "math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts".split(".")), We = v([
279
- "maction",
280
- "maligngroup",
281
- "malignmark",
282
- "mlongdiv",
283
- "mscarries",
284
- "mscarry",
285
- "msgroup",
286
- "mstack",
287
- "msline",
288
- "msrow",
289
- "semantics",
290
- "annotation",
291
- "annotation-xml",
292
- "mprescripts",
293
- "none"
294
- ]), Ge = v(["#text"]), Ke = v(/* @__PURE__ */ "accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns".split(".")), qe = v(/* @__PURE__ */ "accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dominant-baseline.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.pointer-events.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-orientation.text-rendering.textlength.type.u1.u2.unicode.values.vector-effect.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan".split(".")), Je = v(/* @__PURE__ */ "accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns".split(".")), Ye = v([
295
- "xlink:href",
296
- "xml:id",
297
- "xlink:title",
298
- "xml:space",
299
- "xmlns:xlink"
300
- ]), Xe = y(/{{[\w\W]*|^[\w\W]*}}/g), Ze = y(/<%[\w\W]*|^[\w\W]*%>/g), Qe = y(/\${[\w\W]*/g), $e = y(/^data-[\-\w.\u00B7-\uFFFF]+$/), et = y(/^aria-[\-\w]+$/), tt = y(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), nt = y(/^(?:\w+script|data):/i), rt = y(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), it = y(/^html$/i), at = y(/^[a-z][.\w]*(-[.\w]+)+$/i), ot = y(/<[/\w!]/g), st = y(/<[/\w]/g), ct = y(/<\/no(script|embed|frames)/i), lt = y(/\/>/i), D = {
301
- element: 1,
302
- attribute: 2,
303
- text: 3,
304
- cdataSection: 4,
305
- entityReference: 5,
306
- entityNode: 6,
307
- processingInstruction: 7,
308
- comment: 8,
309
- document: 9,
310
- documentType: 10,
311
- documentFragment: 11,
312
- notation: 12
313
- }, ut = [
314
- "style",
315
- "script",
316
- "xmp",
317
- "iframe",
318
- "noembed",
319
- "noframes",
320
- "plaintext",
321
- "noscript"
322
- ], dt = v(w({}, ut)), ft = function() {
323
- let e = {};
324
- return ve(ut, (t) => {
325
- e[t] = y(RegExp("</" + t + "(?=[\\t\\n\\f\\r />])", "i"));
326
- }), v(e);
327
- }(), pt = function() {
328
- return typeof window > "u" ? null : window;
329
- }, mt = function(e, t) {
330
- if (typeof e != "object" || typeof e.createPolicy != "function") return null;
331
- let n = null, r = "data-tt-policy-suffix";
332
- t && t.hasAttribute(r) && (n = t.getAttribute(r));
333
- let i = "dompurify" + (n ? "#" + n : "");
334
- try {
335
- return e.createPolicy(i, {
336
- createHTML(e) {
337
- return e;
338
- },
339
- createScriptURL(e) {
340
- return e;
341
- }
342
- });
343
- } catch {
344
- return console.warn("TrustedTypes policy " + i + " could not be created."), null;
345
- }
346
- }, ht = function() {
347
- return {
348
- afterSanitizeAttributes: [],
349
- afterSanitizeElements: [],
350
- afterSanitizeShadowDOM: [],
351
- beforeSanitizeAttributes: [],
352
- beforeSanitizeElements: [],
353
- beforeSanitizeShadowDOM: [],
354
- uponSanitizeAttribute: [],
355
- uponSanitizeElement: [],
356
- uponSanitizeShadowNode: []
357
- };
358
- }, gt = function(e, t, n, r) {
359
- return b(e, t) && Ce(e[t]) ? w(r.base ? T(r.base) : {}, e[t], r.transform) : n;
360
- }, _t = function(e, t, n) {
361
- let r = b(e, t) ? e[t] : void 0;
362
- return r && typeof r == "object" ? T(r) : n();
363
- };
364
- function vt() {
365
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : pt(), t = (e) => vt(e);
366
- if (t.version = "3.4.16", t.removed = [], !e || !e.document || e.document.nodeType !== D.document || !e.Element) return t.isSupported = !1, t;
367
- let n = e.document, r = n, i = r.currentScript;
368
- e.DocumentFragment;
369
- let a = e.HTMLTemplateElement, o = e.Node, s = e.Element, c = e.NodeFilter;
370
- e.NamedNodeMap === void 0 && (e.NamedNodeMap || e.MozNamedAttrMap), e.HTMLFormElement;
371
- let l = e.DOMParser, u = e.trustedTypes, d = s.prototype, f = E(d, "cloneNode"), p = E(d, "remove"), m = E(d, "removeAttributeNode"), ee = E(d, "nextSibling"), te = E(d, "childNodes"), ne = E(d, "parentNode"), re = E(d, "shadowRoot"), ie = E(d, "attributes"), h = o && o.prototype ? E(o.prototype, "nodeType") : null, ae = o && o.prototype ? E(o.prototype, "nodeName") : null, oe = o && o.prototype ? E(o.prototype, "ownerDocument") : null, se = function(e) {
372
- return h ? h(e) : e.nodeType;
373
- }, ce = function(e) {
374
- return ae ? ae(e) : e.nodeName;
375
- };
376
- if (typeof a == "function") {
377
- let e = n.createElement("template");
378
- e.content && e.content.ownerDocument && (n = e.content.ownerDocument);
379
- }
380
- let g, _ = "", ue, de = !1, fe = 0, pe = function() {
381
- if (fe > 0) throw Fe("A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the \"DOMPurify and Trusted Types\" section of the README.");
382
- }, he = function(e) {
383
- pe(), fe++;
384
- try {
385
- return g.createHTML(e);
386
- } finally {
387
- fe--;
388
- }
389
- }, ge = function(e) {
390
- pe(), fe++;
391
- try {
392
- return g.createScriptURL(e);
393
- } finally {
394
- fe--;
395
- }
396
- }, _e = function() {
397
- return de ||= (ue = mt(u, i), !0), ue;
398
- }, Ae = n, je = Ae.implementation, Me = Ae.createNodeIterator, Ne = Ae.createDocumentFragment, Pe = Ae.getElementsByTagName, S = r.importNode, C = ht();
399
- t.isSupported = typeof le == "function" && typeof ne == "function" && je && je.createHTMLDocument !== void 0;
400
- let Ie = Xe, ut = Ze, yt = Qe, bt = $e, xt = et, St = nt, O = rt, Ct = at, k = tt, A = null, j = w({}, [
401
- ...ze,
402
- ...Be,
403
- ...Ve,
404
- ...Ue,
405
- ...Ge
406
- ]), M = null, wt = w({}, [
407
- ...Ke,
408
- ...qe,
409
- ...Je,
410
- ...Ye
411
- ]), N = Object.seal(me(null, {
412
- tagNameCheck: {
413
- writable: !0,
414
- configurable: !1,
415
- enumerable: !0,
416
- value: null
417
- },
418
- attributeNameCheck: {
419
- writable: !0,
420
- configurable: !1,
421
- enumerable: !0,
422
- value: null
423
- },
424
- allowCustomizedBuiltInElements: {
425
- writable: !0,
426
- configurable: !1,
427
- enumerable: !0,
428
- value: !1
429
- }
430
- })), P = null, Tt = null, F = Object.seal(me(null, {
431
- tagCheck: {
432
- writable: !0,
433
- configurable: !1,
434
- enumerable: !0,
435
- value: null
436
- },
437
- attributeCheck: {
438
- writable: !0,
439
- configurable: !1,
440
- enumerable: !0,
441
- value: null
442
- }
443
- })), Et = !0, Dt = !0, Ot = !1, kt = !0, I = !1, L = !0, At = !1, jt = !1, Mt = null, Nt = null, Pt = !1, Ft = !1, It = !1, Lt = !1, Rt = !0, zt = !1, Bt = "user-content-", Vt = !0, Ht = !1, Ut = {}, R = null, Wt = w({}, /* @__PURE__ */ "annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp".split(".")), Gt = null, Kt = w({}, [
444
- "audio",
445
- "video",
446
- "img",
447
- "source",
448
- "image",
449
- "track"
450
- ]), qt = null, Jt = w({}, [
451
- "alt",
452
- "class",
453
- "for",
454
- "id",
455
- "label",
456
- "name",
457
- "pattern",
458
- "placeholder",
459
- "role",
460
- "summary",
461
- "title",
462
- "value",
463
- "style",
464
- "xmlns"
465
- ]), Yt = "http://www.w3.org/1998/Math/MathML", Xt = "http://www.w3.org/2000/svg", z = "http://www.w3.org/1999/xhtml", Zt = z, Qt = !1, $t = null, en = w({}, [
466
- Yt,
467
- Xt,
468
- z
469
- ], Te), tn = v([
470
- "mi",
471
- "mo",
472
- "mn",
473
- "ms",
474
- "mtext"
475
- ]), nn = w({}, tn), rn = v(["annotation-xml"]), an = w({}, rn), on = w({}, [
476
- "title",
477
- "style",
478
- "font",
479
- "a",
480
- "script"
481
- ]), sn = null, cn = ["application/xhtml+xml", "text/html"], B = null, V = null, ln = n.createElement("form"), un = function(e) {
482
- return e instanceof RegExp || e instanceof Function;
483
- }, dn = function() {
484
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
485
- if (V && V === e) return;
486
- (!e || typeof e != "object") && (e = {}), e = T(e), sn = cn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, B = sn === "application/xhtml+xml" ? Te : we, A = gt(e, "ALLOWED_TAGS", j, { transform: B }), M = gt(e, "ALLOWED_ATTR", wt, { transform: B }), $t = gt(e, "ALLOWED_NAMESPACES", en, { transform: Te }), qt = gt(e, "ADD_URI_SAFE_ATTR", Jt, {
487
- transform: B,
488
- base: Jt
489
- }), Gt = gt(e, "ADD_DATA_URI_TAGS", Kt, {
490
- transform: B,
491
- base: Kt
492
- }), R = gt(e, "FORBID_CONTENTS", Wt, { transform: B }), P = gt(e, "FORBID_TAGS", T({}), { transform: B }), Tt = gt(e, "FORBID_ATTR", T({}), { transform: B }), Ut = b(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? T(e.USE_PROFILES) : e.USE_PROFILES : !1, Et = e.ALLOW_ARIA_ATTR !== !1, Dt = e.ALLOW_DATA_ATTR !== !1, Ot = e.ALLOW_UNKNOWN_PROTOCOLS || !1, kt = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, I = e.SAFE_FOR_TEMPLATES || !1, L = e.SAFE_FOR_XML !== !1, At = e.WHOLE_DOCUMENT || !1, Ft = e.RETURN_DOM || !1, It = e.RETURN_DOM_FRAGMENT || !1, Lt = e.RETURN_TRUSTED_TYPE || !1, Pt = e.FORCE_BODY || !1, Rt = e.SANITIZE_DOM !== !1, zt = e.SANITIZE_NAMED_PROPS || !1, Vt = e.KEEP_CONTENT !== !1, Ht = e.IN_PLACE || !1, k = Re(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : tt, Zt = typeof e.NAMESPACE == "string" ? e.NAMESPACE : z, nn = _t(e, "MATHML_TEXT_INTEGRATION_POINTS", () => w({}, tn)), an = _t(e, "HTML_INTEGRATION_POINTS", () => w({}, rn));
493
- let t = _t(e, "CUSTOM_ELEMENT_HANDLING", () => me(null));
494
- if (N = me(null), b(t, "tagNameCheck") && un(t.tagNameCheck) && (N.tagNameCheck = t.tagNameCheck), b(t, "attributeNameCheck") && un(t.attributeNameCheck) && (N.attributeNameCheck = t.attributeNameCheck), b(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (N.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), y(N), I && (Dt = !1), It && (Ft = !0), Ut && (A = w({}, Ge), M = me(null), Ut.html === !0 && (w(A, ze), w(M, Ke)), Ut.svg === !0 && (w(A, Be), w(M, qe), w(M, Ye)), Ut.svgFilters === !0 && (w(A, Ve), w(M, qe), w(M, Ye)), Ut.mathMl === !0 && (w(A, Ue), w(M, Je), w(M, Ye))), F.tagCheck = null, F.attributeCheck = null, b(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? F.tagCheck = e.ADD_TAGS : Ce(e.ADD_TAGS) && (A === j && (A = T(A)), w(A, e.ADD_TAGS, B))), b(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? F.attributeCheck = e.ADD_ATTR : Ce(e.ADD_ATTR) && (M === wt && (M = T(M)), w(M, e.ADD_ATTR, B))), b(e, "ADD_FORBID_CONTENTS") && Ce(e.ADD_FORBID_CONTENTS) && (R === Wt && (R = T(R)), w(R, e.ADD_FORBID_CONTENTS, B)), Vt && (A["#text"] = !0), At && w(A, [
495
- "html",
496
- "head",
497
- "body"
498
- ]), A.table && (w(A, ["tbody"]), delete P.tbody), e.TRUSTED_TYPES_POLICY) {
499
- if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw Fe("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
500
- if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw Fe("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
501
- let t = g;
502
- g = e.TRUSTED_TYPES_POLICY;
503
- try {
504
- _ = he("");
505
- } catch (e) {
506
- throw g = t, e;
507
- }
508
- } else e.TRUSTED_TYPES_POLICY === null ? (g = void 0, _ = "") : (g === void 0 && (g = _e()), g && typeof _ == "string" && (_ = he("")));
509
- v && v(e), V = e;
510
- }, fn = w({}, [
511
- ...Be,
512
- ...Ve,
513
- ...He
514
- ]), pn = w({}, [...Ue, ...We]), mn = function(e, t, n) {
515
- return t.namespaceURI === z ? e === "svg" : t.namespaceURI === Yt ? e === "svg" && (n === "annotation-xml" || nn[n]) : !!fn[e];
516
- }, hn = function(e, t, n) {
517
- return t.namespaceURI === z ? e === "math" : t.namespaceURI === Xt ? e === "math" && an[n] : !!pn[e];
518
- }, gn = function(e, t, n) {
519
- return t.namespaceURI === Xt && !an[n] || t.namespaceURI === Yt && !nn[n] ? !1 : !pn[e] && (on[e] || !fn[e]);
520
- }, _n = function(e) {
521
- let t = ne(e);
522
- (!t || !t.tagName) && (t = {
523
- namespaceURI: Zt,
524
- tagName: "template"
525
- });
526
- let n = we(e.tagName), r = we(t.tagName);
527
- return $t[e.namespaceURI] ? e.namespaceURI === Xt ? mn(n, t, r) : e.namespaceURI === Yt ? hn(n, t, r) : e.namespaceURI === z ? gn(n, t, r) : !!(sn === "application/xhtml+xml" && $t[e.namespaceURI]) : !1;
528
- }, H = function(e) {
529
- xe(t.removed, { element: e });
530
- try {
531
- ne(e).removeChild(e);
532
- } catch {
533
- if (p(e), !ne(e)) throw Fe("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
534
- }
535
- }, vn = function(e, t, n) {
536
- try {
537
- m(e, t);
538
- } catch {
539
- try {
540
- e.removeAttribute(n);
541
- } catch {}
542
- }
543
- }, yn = function(e) {
544
- bn(e);
545
- let t = te(e);
546
- if (t) {
547
- let e = [];
548
- ve(t, (t) => {
549
- xe(e, t);
550
- }), ve(e, (e) => {
551
- try {
552
- p(e);
553
- } catch {}
554
- });
555
- }
556
- let n = ie(e);
557
- if (n) for (let t = n.length - 1; t >= 0; --t) {
558
- let r = n[t], i = r && r.name;
559
- typeof i == "string" && vn(e, r, i);
560
- }
561
- }, U = function(e, n, r) {
562
- if (!r) try {
563
- r = n.getAttributeNode(e);
564
- } catch {
565
- r = null;
566
- }
567
- xe(t.removed, {
568
- attribute: r || null,
569
- from: n
570
- });
571
- try {
572
- r ? m(n, r) : n.removeAttribute(e);
573
- } catch {
574
- try {
575
- n.removeAttribute(e);
576
- } catch {}
577
- }
578
- if (e === "is") if (Ft || It) try {
579
- H(n);
580
- } catch {}
581
- else try {
582
- n.setAttribute(e, "");
583
- } catch {}
584
- }, W = function(e) {
585
- let t = ie(e);
586
- if (t) for (let n = t.length - 1; n >= 0; --n) {
587
- let r = t[n], i = r && r.name;
588
- typeof i != "string" || M[B(i)] || vn(e, r, i);
589
- }
590
- }, bn = function(e) {
591
- let t = [e];
592
- for (; t.length > 0;) {
593
- let e = t.pop();
594
- se(e) === D.element && W(e);
595
- let n = te(e);
596
- if (n) for (let e = n.length - 1; e >= 0; --e) t.push(n[e]);
597
- }
598
- }, xn = function(e, t) {
599
- return L ? e === "patchsrc" || e === "for" && t !== "label" && t !== "output" : !1;
600
- }, G = function(e) {
601
- if (!L) return;
602
- let t = [e];
603
- for (; t.length > 0;) {
604
- let e = t.pop(), n = se(e);
605
- if (n === D.processingInstruction || n === D.comment && x(st, e.data)) {
606
- try {
607
- p(e);
608
- } catch {}
609
- continue;
610
- }
611
- if (n === D.element) {
612
- let t = e, n = B(ce(e));
613
- try {
614
- t.hasAttribute && t.hasAttribute("patchsrc") && t.removeAttribute("patchsrc"), t.hasAttribute && t.hasAttribute("for") && xn("for", n) && t.removeAttribute("for");
615
- } catch {}
616
- }
617
- let r = te(e);
618
- if (r) for (let e = r.length - 1; e >= 0; --e) t.push(r[e]);
619
- }
620
- }, Sn = function(e) {
621
- let t = null, r = null;
622
- if (Pt) e = "<remove></remove>" + e;
623
- else {
624
- let t = Ee(e, /^[\r\n\t ]+/);
625
- r = t && t[0];
626
- }
627
- sn === "application/xhtml+xml" && Zt === z && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
628
- let i = g ? he(e) : e;
629
- if (Zt === z) try {
630
- t = new l().parseFromString(i, sn);
631
- } catch {}
632
- if (!t || !t.documentElement) {
633
- t = je.createDocument(Zt, "template", null);
634
- try {
635
- t.documentElement.innerHTML = Qt ? _ : i;
636
- } catch {}
637
- }
638
- let a = t.body || t.documentElement;
639
- return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), Zt === z ? Pe.call(t, At ? "html" : "body")[0] : At ? t.documentElement : a;
640
- }, Cn = function(e) {
641
- let t = oe ? oe(e) : e.ownerDocument;
642
- return Me.call(t || e, e, c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION, null);
643
- }, wn = function(e) {
644
- return e = De(e, Ie, " "), e = De(e, ut, " "), e = De(e, yt, " "), e;
645
- }, Tn = function(e) {
646
- e.normalize();
647
- let t = oe ? oe(e) : e.ownerDocument, n = Me.call(t || e, e, c.SHOW_TEXT | c.SHOW_COMMENT | c.SHOW_CDATA_SECTION | c.SHOW_PROCESSING_INSTRUCTION, null), r = n.nextNode();
648
- for (; r;) r.data = wn(r.data), r = n.nextNode();
649
- let i = e.querySelectorAll?.call(e, "template");
650
- i && ve(i, (e) => {
651
- K(e.content) && Tn(e.content);
652
- });
653
- }, En = function(e) {
654
- let t = ae ? ae(e) : null;
655
- return typeof t != "string" || B(t) !== "form" ? !1 : typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || e.attributes !== ie(e) || typeof e.removeAttribute != "function" || typeof e.removeAttributeNode != "function" || typeof e.getAttributeNode != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function" || e.nodeType !== h(e) || e.childNodes !== te(e);
656
- }, K = function(e) {
657
- if (!h || typeof e != "object" || !e) return !1;
658
- try {
659
- return h(e) === D.documentFragment;
660
- } catch {
661
- return !1;
662
- }
663
- }, q = function(e) {
664
- if (!h || typeof e != "object" || !e) return !1;
665
- try {
666
- return typeof h(e) == "number";
667
- } catch {
668
- return !1;
669
- }
670
- };
671
- function J(e, n, r) {
672
- e.length !== 0 && ve(e, (e) => {
673
- e.call(t, n, r, V);
674
- });
675
- }
676
- let Dn = function(e, t) {
677
- return !!(L && e.hasChildNodes() && !q(e.firstElementChild) && x(ot, e.textContent) && x(ot, e.innerHTML) || L && e.namespaceURI === z && dt[t] && (q(e.firstElementChild) || typeof e.textContent == "string" && x(ft[t], e.textContent)) || e.nodeType === D.processingInstruction || L && e.nodeType === D.comment && x(st, e.data));
678
- }, Y = function(e, t) {
679
- return e instanceof RegExp ? x(e, t) : e instanceof Function && !!e(t, ...[...arguments].slice(2));
680
- }, On = function(e, t, n) {
681
- if (!P[t] && Mn(t) && Y(N.tagNameCheck, t)) return !1;
682
- if (Vt && !R[t]) {
683
- let t = ne(e), r = te(e);
684
- if (r && t) {
685
- let i = r.length;
686
- for (let a = i - 1; a >= 0; --a) {
687
- let i = e === n ? f(r[a], !0) : r[a];
688
- t.insertBefore(i, ee(e));
689
- }
690
- }
691
- }
692
- return H(e), !0;
693
- }, X = function(e, t, n, r) {
694
- return e.length === 0 ? t : t === n || t === r ? T(t) : t;
695
- }, Z = function(e, t) {
696
- return e === t || ne(e) !== null ? !1 : (Ht && bn(e), !0);
697
- }, kn = function(e, n) {
698
- if (J(C.beforeSanitizeElements, e, null), Z(e, n)) return !0;
699
- if (En(e)) return H(e), !0;
700
- let r = B(ce(e));
701
- if (A = X(C.uponSanitizeElement, A, j, Mt), J(C.uponSanitizeElement, e, {
702
- tagName: r,
703
- allowedTags: A
704
- }), Z(e, n)) return !0;
705
- if (Dn(e, r)) return H(e), !0;
706
- if (P[r] || !(F.tagCheck instanceof Function && F.tagCheck(r)) && !A[r]) {
707
- let t = On(e, r, n);
708
- return t === !1 && (J(C.afterSanitizeElements, e, null), Z(e, n)) ? !0 : t;
709
- }
710
- if (se(e) === D.element && !_n(e) || (r === "noscript" || r === "noembed" || r === "noframes") && x(ct, e.innerHTML)) return H(e), !0;
711
- if (I && e.nodeType === D.text) {
712
- let n = wn(e.textContent);
713
- e.textContent !== n && (xe(t.removed, { element: e.cloneNode() }), e.textContent = n);
714
- }
715
- return J(C.afterSanitizeElements, e, null), Z(e, n);
716
- }, An = function(e, t, r) {
717
- if (Tt[t] || xn(t, e) || Rt && (t === "id" || t === "name") && (r in n || r in ln)) return !1;
718
- let i = M[t] || F.attributeCheck instanceof Function && F.attributeCheck(t, e);
719
- return Dt && x(bt, t) || Et && x(xt, t) ? !0 : i ? qt[t] || x(k, De(r, O, "")) || (t === "src" || t === "xlink:href" || t === "href") && e !== "script" && Oe(r, "data:") === 0 && Gt[e] || Ot && !x(St, De(r, O, "")) ? !0 : !r : Mn(e) && Y(N.tagNameCheck, e) && Y(N.attributeNameCheck, t, e) || t === "is" && N.allowCustomizedBuiltInElements && Y(N.tagNameCheck, r);
720
- }, jn = w({}, [
721
- "annotation-xml",
722
- "color-profile",
723
- "font-face",
724
- "font-face-format",
725
- "font-face-name",
726
- "font-face-src",
727
- "font-face-uri",
728
- "missing-glyph"
729
- ]), Mn = function(e) {
730
- return !jn[we(e)] && x(Ct, e);
731
- }, Nn = function(e, t, n, r) {
732
- if (g && typeof u == "object" && typeof u.getAttributeType == "function" && !n) switch (u.getAttributeType(e, t)) {
733
- case "TrustedHTML": return he(r);
734
- case "TrustedScriptURL": return ge(r);
735
- }
736
- return r;
737
- }, Pn = function(e, t, n, r) {
738
- try {
739
- return n ? e.setAttributeNS(n, t, r) : e.setAttribute(t, r), En(e) ? (H(e), !1) : !0;
740
- } catch {
741
- return U(t, e), !1;
742
- }
743
- }, Fn = function(e, n) {
744
- if (J(C.beforeSanitizeAttributes, e, null), Z(e, n)) return;
745
- let r = e.attributes;
746
- if (!r || En(e)) return;
747
- M = X(C.uponSanitizeAttribute, M, wt, Nt);
748
- let i = {
749
- attrName: "",
750
- attrValue: "",
751
- keepAttr: !0,
752
- allowedAttributes: M,
753
- forceKeepAttr: void 0
754
- }, a = r.length, o = B(e.nodeName);
755
- for (; a--;) {
756
- let n = r[a], s = n.name, c = n.namespaceURI, l = n.value, u = B(s), d = l, f = s === "value" ? d : ke(d), p = !1;
757
- if (i.attrName = u, i.attrValue = f, i.keepAttr = !0, i.forceKeepAttr = void 0, J(C.uponSanitizeAttribute, e, i), f = i.attrValue, zt && (u === "id" || u === "name") && Oe(f, Bt) !== 0 && (U(s, e, n), f = Bt + f, p = !0), L && x(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, f)) {
758
- U(s, e, n);
759
- continue;
760
- }
761
- if (u === "attributename" && Ee(f, "href")) {
762
- U(s, e, n);
763
- continue;
764
- }
765
- if (!i.forceKeepAttr) {
766
- if (!i.keepAttr) {
767
- U(s, e, n);
768
- continue;
769
- }
770
- if (!kt && x(lt, f)) {
771
- U(s, e, n);
772
- continue;
773
- }
774
- if (I && (f = wn(f)), !An(o, u, f)) {
775
- U(s, e, n);
776
- continue;
777
- }
778
- f = Nn(o, u, c, f), f !== d && Pn(e, s, c, f) && p && be(t.removed);
779
- }
780
- }
781
- J(C.afterSanitizeAttributes, e, null), Z(e, n);
782
- }, In = function(e) {
783
- let t = null, n = Cn(e);
784
- for (J(C.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) if (J(C.uponSanitizeShadowNode, t, null), kn(t, e), Fn(t, e), K(t.content) && In(t.content), se(t) === D.element) {
785
- let e = re(t);
786
- K(e) && (Ln(e), In(e));
787
- }
788
- J(C.afterSanitizeShadowDOM, e, null);
789
- }, Ln = function(e) {
790
- let t = [{
791
- node: e,
792
- shadow: null
793
- }];
794
- for (; t.length > 0;) {
795
- let e = t.pop();
796
- if (e.shadow) {
797
- In(e.shadow);
798
- continue;
799
- }
800
- let n = e.node, r = se(n) === D.element, i = te(n);
801
- if (i) for (let e = i.length - 1; e >= 0; --e) t.push({
802
- node: i[e],
803
- shadow: null
804
- });
805
- if (r) {
806
- let e = ae ? ae(n) : null;
807
- if (typeof e == "string" && B(e) === "template") {
808
- let e = n.content;
809
- K(e) && t.push({
810
- node: e,
811
- shadow: null
812
- });
813
- }
814
- }
815
- if (r) {
816
- let e = re(n);
817
- K(e) && t.push({
818
- node: null,
819
- shadow: e
820
- }, {
821
- node: e,
822
- shadow: null
823
- });
824
- }
825
- }
826
- };
827
- return t.sanitize = function(e) {
828
- let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, a = null, o = null, s = null;
829
- if (Qt = !e, Qt && (e = "<!-->"), typeof e != "string" && !q(e) && (e = Le(e), typeof e != "string")) throw Fe("dirty is not a string, aborting");
830
- if (!t.isSupported) return e;
831
- jt ? (A = Mt, M = Nt) : dn(n), (C.uponSanitizeElement.length > 0 || C.uponSanitizeAttribute.length > 0) && (A = T(A)), C.uponSanitizeAttribute.length > 0 && (M = T(M)), t.removed = [];
832
- let c = Ht && typeof e != "string" && q(e);
833
- if (c) {
834
- G(e);
835
- let t = ce(e);
836
- if (typeof t == "string") {
837
- let n = B(t);
838
- if (!A[n] || P[n]) throw yn(e), Fe("root node is forbidden and cannot be sanitized in-place");
839
- }
840
- if (En(e)) throw yn(e), Fe("root node is clobbered and cannot be sanitized in-place");
841
- try {
842
- Ln(e);
843
- } catch (t) {
844
- throw yn(e), t;
845
- }
846
- } else if (q(e)) i = Sn("<!---->"), a = i.ownerDocument.importNode(e, !0), a.nodeType === D.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? i = a : i.appendChild(a), Ln(i);
847
- else {
848
- if (!Ft && !I && !At && e.indexOf("<") === -1) return g && Lt ? he(e) : e;
849
- if (i = Sn(e), !i) return Ft ? null : Lt ? _ : "";
850
- }
851
- i && Pt && H(i.firstChild);
852
- let l = c ? e : i;
853
- try {
854
- let e = Cn(l);
855
- for (; o = e.nextNode();) kn(o, l), Fn(o, l), K(o.content) && In(o.content);
856
- } catch (n) {
857
- throw c && (yn(e), ve(t.removed, (e) => {
858
- e.element && bn(e.element);
859
- })), n;
860
- }
861
- if (c) {
862
- let n = !1;
863
- if (ve(t.removed, (t) => {
864
- t.element && (t.element === e && (n = !0), bn(t.element));
865
- }), n) throw Fe("a node selected for removal could not be safely returned; refusing to sanitize in place");
866
- return I && Tn(e), e;
867
- }
868
- if (Ft) {
869
- if (I && Tn(i), It) for (s = Ne.call(i.ownerDocument); i.firstChild;) s.appendChild(i.firstChild);
870
- else s = i;
871
- return (M.shadowroot || M.shadowrootmode) && (s = S.call(r, s, !0)), s;
872
- }
873
- let u = At ? i.outerHTML : i.innerHTML;
874
- return At && A["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && x(it, i.ownerDocument.doctype.name) && (u = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + u), I && (u = wn(u)), g && Lt ? he(u) : u;
875
- }, t.setConfig = function() {
876
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
877
- dn(e), jt = !0, Mt = A, Nt = M;
878
- }, t.clearConfig = function() {
879
- V = null, jt = !1, Mt = null, Nt = null, g = ue, _ = "";
880
- }, t.isValidAttribute = function(e, t, n) {
881
- V || dn({});
882
- let r = B(e), i = B(t);
883
- return An(r, i, n);
884
- }, t.addHook = function(e, t) {
885
- typeof t == "function" && b(C, e) && xe(C[e], t);
886
- }, t.removeHook = function(e, t) {
887
- if (b(C, e)) {
888
- if (t !== void 0) {
889
- let n = ye(C[e], t);
890
- return n === -1 ? void 0 : Se(C[e], n, 1)[0];
891
- }
892
- return be(C[e]);
893
- }
894
- }, t.removeHooks = function(e) {
895
- b(C, e) && (C[e] = []);
896
- }, t.removeAllHooks = function() {
897
- C = ht();
898
- }, t;
899
- }
900
- var yt = vt();
901
- //#endregion
902
- //#region node_modules/marked/lib/marked.esm.js
903
- function bt() {
904
- return {
905
- async: !1,
906
- breaks: !1,
907
- extensions: null,
908
- gfm: !0,
909
- hooks: null,
910
- pedantic: !1,
911
- renderer: null,
912
- silent: !1,
913
- tokenizer: null,
914
- walkTokens: null
915
- };
916
- }
917
- var xt = bt();
918
- function St(e) {
919
- xt = e;
920
- }
921
- var O = { exec: () => null };
922
- function Ct(e) {
923
- let t = [];
924
- return (n) => {
925
- let r = Math.max(0, Math.min(3, n - 1)), i = t[r];
926
- return i || (i = e(r), t[r] = i), i;
927
- };
928
- }
929
- function k(e, t = "") {
930
- let n = typeof e == "string" ? e : e.source, r = {
931
- replace: (e, t) => {
932
- let i = typeof t == "string" ? t : t.source;
933
- return i = i.replace(j.caret, "$1"), n = n.replace(e, i), r;
934
- },
935
- getRegex: () => new RegExp(n, t)
936
- };
937
- return r;
938
- }
939
- var A = ((e = "") => {
940
- try {
941
- return !!RegExp("(?<=1)(?<!1)" + e);
942
- } catch {
943
- return !1;
944
- }
945
- })(), j = {
946
- codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm,
947
- outputLinkReplace: /\\([\[\]])/g,
948
- indentCodeCompensation: /^(\s+)(?:```)/,
949
- beginningSpace: /^\s+/,
950
- endingHash: /#$/,
951
- startingSpaceChar: /^ /,
952
- endingSpaceChar: / $/,
953
- nonSpaceChar: /[^ ]/,
954
- newLineCharGlobal: /\n/g,
955
- tabCharGlobal: /\t/g,
956
- multipleSpaceGlobal: /\s+/g,
957
- blankLine: /^[ \t]*$/,
958
- doubleBlankLine: /\n[ \t]*\n[ \t]*$/,
959
- blockquoteStart: /^ {0,3}>/,
960
- blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g,
961
- blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm,
962
- listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g,
963
- listIsTask: /^\[[ xX]\] +\S/,
964
- listReplaceTask: /^\[[ xX]\] +/,
965
- listTaskCheckbox: /\[[ xX]\]/,
966
- anyLine: /\n.*\n/,
967
- hrefBrackets: /^<(.*)>$/,
968
- tableDelimiter: /[:|]/,
969
- tableAlignChars: /^\||\| *$/g,
970
- tableRowBlankLine: /\n[ \t]*$/,
971
- tableAlignRight: /^ *-+: *$/,
972
- tableAlignCenter: /^ *:-+: *$/,
973
- tableAlignLeft: /^ *:-+ *$/,
974
- startATag: /^<a /i,
975
- endATag: /^<\/a>/i,
976
- startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i,
977
- endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i,
978
- startAngleBracket: /^</,
979
- endAngleBracket: />$/,
980
- pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/,
981
- unicodeAlphaNumeric: /[\p{L}\p{N}]/u,
982
- escapeTest: /[&<>"']/,
983
- escapeReplace: /[&<>"']/g,
984
- escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,
985
- escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,
986
- caret: /(^|[^\[])\^/g,
987
- percentDecode: /%25/g,
988
- findPipe: /\|/g,
989
- splitPipe: / \|/,
990
- slashPipe: /\\\|/g,
991
- carriageReturn: /\r\n|\r/g,
992
- spaceLine: /^ +$/gm,
993
- notSpaceStart: /^\S*/,
994
- endingNewline: /\n$/,
995
- listItemRegex: (e) => RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),
996
- nextBulletRegex: Ct((e) => RegExp(`^ {0,${e}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),
997
- hrRegex: Ct((e) => RegExp(`^ {0,${e}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)),
998
- fencesBeginRegex: Ct((e) => RegExp(`^ {0,${e}}(?:\`\`\`|~~~)`)),
999
- headingBeginRegex: Ct((e) => RegExp(`^ {0,${e}}#`)),
1000
- htmlBeginRegex: Ct((e) => RegExp(`^ {0,${e}}<(?:[a-z].*>|!--)`, "i")),
1001
- blockquoteBeginRegex: Ct((e) => RegExp(`^ {0,${e}}>`))
1002
- }, M = /^(?:[ \t]*(?:\n|$))+/, wt = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, N = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, P = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Tt = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, F = / {0,3}(?:[*+-]|\d{1,9}[.)])/, Et = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, Dt = k(Et).replace(/bull/g, F).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Ot = k(Et).replace(/bull/g, F).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), kt = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, I = /^[^\n]+/, L = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, At = k(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", L).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), jt = k(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g, F).getRegex(), Mt = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", Nt = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Pt = k("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", Nt).replace("tag", Mt).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Ft = k(kt).replace("hr", P).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Mt).getRegex(), It = {
1003
- blockquote: k(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Ft).getRegex(),
1004
- code: wt,
1005
- def: At,
1006
- fences: N,
1007
- heading: Tt,
1008
- hr: P,
1009
- html: Pt,
1010
- lheading: Dt,
1011
- list: jt,
1012
- newline: M,
1013
- paragraph: Ft,
1014
- table: O,
1015
- text: I
1016
- }, Lt = k("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", P).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Mt).getRegex(), Rt = {
1017
- ...It,
1018
- lheading: Ot,
1019
- table: Lt,
1020
- paragraph: k(kt).replace("hr", P).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Lt).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Mt).getRegex()
1021
- }, zt = {
1022
- ...It,
1023
- html: k("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", Nt).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
1024
- def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
1025
- heading: /^(#{1,6})(.*)(?:\n+|$)/,
1026
- fences: O,
1027
- lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
1028
- paragraph: k(kt).replace("hr", P).replace("heading", " *#{1,6} *[^\n]").replace("lheading", Dt).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
1029
- }, Bt = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Vt = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Ht = /^( {2,}|\\)\n(?!\s*$)/, Ut = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, R = /[\p{P}\p{S}]/u, Wt = /[\s\p{P}\p{S}]/u, Gt = /[^\s\p{P}\p{S}]/u, Kt = k(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Wt).getRegex(), qt = /(?!~)[\p{P}\p{S}]/u, Jt = /(?!~)[\s\p{P}\p{S}]/u, Yt = /(?:[^\s\p{P}\p{S}]|~)/u, Xt = k(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", A ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), z = /^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/, Zt = k(z, "u").replace(/punct/g, R).getRegex(), Qt = k(z, "u").replace(/punct/g, qt).getRegex(), $t = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", en = k($t, "gu").replace(/notPunctSpace/g, Gt).replace(/punctSpace/g, Wt).replace(/punct/g, R).getRegex(), tn = k($t, "gu").replace(/notPunctSpace/g, Yt).replace(/punctSpace/g, Jt).replace(/punct/g, qt).getRegex(), nn = k("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, Gt).replace(/punctSpace/g, Wt).replace(/punct/g, R).getRegex(), rn = k(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, R).getRegex(), an = k("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", "gu").replace(/notPunctSpace/g, Gt).replace(/punctSpace/g, Wt).replace(/punct/g, R).getRegex(), on = k(/\\(punct)/, "gu").replace(/punct/g, R).getRegex(), sn = k(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), cn = k(Nt).replace("(?:-->|$)", "-->").getRegex(), B = k("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", cn).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), V = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/, ln = k(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", V).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), un = k(/^!?\[(label)\]\[(ref)\]/).replace("label", V).replace("ref", L).getRegex(), dn = k(/^!?\[(ref)\](?:\[\])?/).replace("ref", L).getRegex(), fn = k("reflink|nolink(?!\\()", "g").replace("reflink", un).replace("nolink", dn).getRegex(), pn = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, mn = {
1030
- _backpedal: O,
1031
- anyPunctuation: on,
1032
- autolink: sn,
1033
- blockSkip: Xt,
1034
- br: Ht,
1035
- code: Vt,
1036
- del: O,
1037
- delLDelim: O,
1038
- delRDelim: O,
1039
- emStrongLDelim: Zt,
1040
- emStrongRDelimAst: en,
1041
- emStrongRDelimUnd: nn,
1042
- escape: Bt,
1043
- link: ln,
1044
- nolink: dn,
1045
- punctuation: Kt,
1046
- reflink: un,
1047
- reflinkSearch: fn,
1048
- tag: B,
1049
- text: Ut,
1050
- url: O
1051
- }, hn = {
1052
- ...mn,
1053
- link: k(/^!?\[(label)\]\((.*?)\)/).replace("label", V).getRegex(),
1054
- reflink: k(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", V).getRegex()
1055
- }, gn = {
1056
- ...mn,
1057
- emStrongRDelimAst: tn,
1058
- emStrongLDelim: Qt,
1059
- delLDelim: rn,
1060
- delRDelim: an,
1061
- url: k(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", pn).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
1062
- _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
1063
- del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,
1064
- text: k(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", pn).getRegex()
1065
- }, _n = {
1066
- ...gn,
1067
- br: k(Ht).replace("{2,}", "*").getRegex(),
1068
- text: k(gn.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
1069
- }, H = {
1070
- normal: It,
1071
- gfm: Rt,
1072
- pedantic: zt
1073
- }, vn = {
1074
- normal: mn,
1075
- gfm: gn,
1076
- breaks: _n,
1077
- pedantic: hn
1078
- }, yn = {
1079
- "&": "&amp;",
1080
- "<": "&lt;",
1081
- ">": "&gt;",
1082
- "\"": "&quot;",
1083
- "'": "&#39;"
1084
- }, U = (e) => yn[e];
1085
- function W(e, t) {
1086
- if (t) {
1087
- if (j.escapeTest.test(e)) return e.replace(j.escapeReplace, U);
1088
- } else if (j.escapeTestNoEncode.test(e)) return e.replace(j.escapeReplaceNoEncode, U);
1089
- return e;
1090
- }
1091
- function bn(e) {
1092
- try {
1093
- e = encodeURI(e).replace(j.percentDecode, "%");
1094
- } catch {
1095
- return null;
1096
- }
1097
- return e;
1098
- }
1099
- function xn(e, t) {
1100
- let n = e.replace(j.findPipe, (e, t, n) => {
1101
- let r = !1, i = t;
1102
- for (; --i >= 0 && n[i] === "\\";) r = !r;
1103
- return r ? "|" : " |";
1104
- }).split(j.splitPipe), r = 0;
1105
- if (n[0].trim() || n.shift(), n.length > 0 && !n.at(-1)?.trim() && n.pop(), t) if (n.length > t) n.splice(t);
1106
- else for (; n.length < t;) n.push("");
1107
- for (; r < n.length; r++) n[r] = n[r].trim().replace(j.slashPipe, "|");
1108
- return n;
1109
- }
1110
- function G(e, t, n) {
1111
- let r = e.length;
1112
- if (r === 0) return "";
1113
- let i = 0;
1114
- for (; i < r;) {
1115
- let a = e.charAt(r - i - 1);
1116
- if (a === t && !n) i++;
1117
- else if (a !== t && n) i++;
1118
- else break;
1119
- }
1120
- return e.slice(0, r - i);
1121
- }
1122
- function Sn(e) {
1123
- let t = e.split("\n"), n = t.length - 1;
1124
- for (; n >= 0 && j.blankLine.test(t[n]);) n--;
1125
- return t.length - n <= 2 ? e : t.slice(0, n + 1).join("\n");
1126
- }
1127
- function Cn(e, t) {
1128
- if (e.indexOf(t[1]) === -1) return -1;
1129
- let n = 0;
1130
- for (let r = 0; r < e.length; r++) if (e[r] === "\\") r++;
1131
- else if (e[r] === t[0]) n++;
1132
- else if (e[r] === t[1] && (n--, n < 0)) return r;
1133
- return n > 0 ? -2 : -1;
1134
- }
1135
- function wn(e, t = 0) {
1136
- let n = t, r = "";
1137
- for (let t of e) if (t === " ") {
1138
- let e = 4 - n % 4;
1139
- r += " ".repeat(e), n += e;
1140
- } else r += t, n++;
1141
- return r;
1142
- }
1143
- function Tn(e, t, n, r, i) {
1144
- let a = t.href, o = t.title || null, s = e[1].replace(i.other.outputLinkReplace, "$1");
1145
- r.state.inLink = !0;
1146
- let c = {
1147
- type: e[0].charAt(0) === "!" ? "image" : "link",
1148
- raw: n,
1149
- href: a,
1150
- title: o,
1151
- text: s,
1152
- tokens: r.inlineTokens(s)
1153
- };
1154
- return r.state.inLink = !1, c;
1155
- }
1156
- function En(e, t, n) {
1157
- let r = e.match(n.other.indentCodeCompensation);
1158
- if (r === null) return t;
1159
- let i = r[1];
1160
- return t.split("\n").map((e) => {
1161
- let t = e.match(n.other.beginningSpace);
1162
- if (t === null) return e;
1163
- let [r] = t;
1164
- return r.length >= i.length ? e.slice(i.length) : e;
1165
- }).join("\n");
1166
- }
1167
- var K = class {
1168
- options;
1169
- rules;
1170
- lexer;
1171
- constructor(e) {
1172
- this.options = e || xt;
1173
- }
1174
- space(e) {
1175
- let t = this.rules.block.newline.exec(e);
1176
- if (t && t[0].length > 0) return {
1177
- type: "space",
1178
- raw: t[0]
1179
- };
1180
- }
1181
- code(e) {
1182
- let t = this.rules.block.code.exec(e);
1183
- if (t) {
1184
- let e = this.options.pedantic ? t[0] : Sn(t[0]);
1185
- return {
1186
- type: "code",
1187
- raw: e,
1188
- codeBlockStyle: "indented",
1189
- text: e.replace(this.rules.other.codeRemoveIndent, "")
1190
- };
1191
- }
1192
- }
1193
- fences(e) {
1194
- let t = this.rules.block.fences.exec(e);
1195
- if (t) {
1196
- let e = t[0], n = En(e, t[3] || "", this.rules);
1197
- return {
1198
- type: "code",
1199
- raw: e,
1200
- lang: t[2] ? t[2].trim().replace(this.rules.inline.anyPunctuation, "$1") : t[2],
1201
- text: n
1202
- };
1203
- }
1204
- }
1205
- heading(e) {
1206
- let t = this.rules.block.heading.exec(e);
1207
- if (t) {
1208
- let e = t[2].trim();
1209
- if (this.rules.other.endingHash.test(e)) {
1210
- let t = G(e, "#");
1211
- (this.options.pedantic || !t || this.rules.other.endingSpaceChar.test(t)) && (e = t.trim());
1212
- }
1213
- return {
1214
- type: "heading",
1215
- raw: G(t[0], "\n"),
1216
- depth: t[1].length,
1217
- text: e,
1218
- tokens: this.lexer.inline(e)
1219
- };
1220
- }
1221
- }
1222
- hr(e) {
1223
- let t = this.rules.block.hr.exec(e);
1224
- if (t) return {
1225
- type: "hr",
1226
- raw: G(t[0], "\n")
1227
- };
1228
- }
1229
- blockquote(e) {
1230
- let t = this.rules.block.blockquote.exec(e);
1231
- if (t) {
1232
- let e = G(t[0], "\n").split("\n"), n = "", r = "", i = [];
1233
- for (; e.length > 0;) {
1234
- let t = !1, a = [], o;
1235
- for (o = 0; o < e.length; o++) if (this.rules.other.blockquoteStart.test(e[o])) a.push(e[o]), t = !0;
1236
- else if (!t) a.push(e[o]);
1237
- else break;
1238
- e = e.slice(o);
1239
- let s = a.join("\n"), c = s.replace(this.rules.other.blockquoteSetextReplace, "\n $1").replace(this.rules.other.blockquoteSetextReplace2, "");
1240
- n = n ? `${n}
1241
- ${s}` : s, r = r ? `${r}
1242
- ${c}` : c;
1243
- let l = this.lexer.state.top;
1244
- if (this.lexer.state.top = !0, this.lexer.blockTokens(c, i, !0), this.lexer.state.top = l, e.length === 0) break;
1245
- let u = i.at(-1);
1246
- if (u?.type === "code") break;
1247
- if (u?.type === "blockquote") {
1248
- let t = u, a = t.raw + "\n" + e.join("\n"), o = this.blockquote(a);
1249
- i[i.length - 1] = o, n = n.substring(0, n.length - t.raw.length) + o.raw, r = r.substring(0, r.length - t.text.length) + o.text;
1250
- break;
1251
- } else if (u?.type === "list") {
1252
- let t = u, a = t.raw + "\n" + e.join("\n"), o = this.list(a);
1253
- i[i.length - 1] = o, n = n.substring(0, n.length - u.raw.length) + o.raw, r = r.substring(0, r.length - t.raw.length) + o.raw, e = a.substring(i.at(-1).raw.length).split("\n");
1254
- continue;
1255
- }
1256
- }
1257
- return {
1258
- type: "blockquote",
1259
- raw: n,
1260
- tokens: i,
1261
- text: r
1262
- };
1263
- }
1264
- }
1265
- list(e) {
1266
- let t = this.rules.block.list.exec(e);
1267
- if (t) {
1268
- let n = t[1].trim(), r = n.length > 1, i = {
1269
- type: "list",
1270
- raw: "",
1271
- ordered: r,
1272
- start: r ? +n.slice(0, -1) : "",
1273
- loose: !1,
1274
- items: []
1275
- };
1276
- n = r ? `\\d{1,9}\\${n.slice(-1)}` : `\\${n}`, this.options.pedantic && (n = r ? n : "[*+-]");
1277
- let a = this.rules.other.listItemRegex(n), o = !1;
1278
- for (; e;) {
1279
- let n = !1, r = "", s = "";
1280
- if (!(t = a.exec(e)) || this.rules.block.hr.test(e)) break;
1281
- r = t[0], e = e.substring(r.length);
1282
- let c = wn(t[2].split("\n", 1)[0], t[1].length), l = e.split("\n", 1)[0], u = !c.trim(), d = 0;
1283
- if (this.options.pedantic ? (d = 2, s = c.trimStart()) : u ? d = t[1].length + 1 : (d = c.search(this.rules.other.nonSpaceChar), d = d > 4 ? 1 : d, s = c.slice(d), d += t[1].length), u && this.rules.other.blankLine.test(l) && (r += l + "\n", e = e.substring(l.length + 1), n = !0), !n) {
1284
- let t = this.rules.other.nextBulletRegex(d), n = this.rules.other.hrRegex(d), i = this.rules.other.fencesBeginRegex(d), a = this.rules.other.headingBeginRegex(d), o = this.rules.other.htmlBeginRegex(d), f = this.rules.other.blockquoteBeginRegex(d);
1285
- for (; e;) {
1286
- let p = e.split("\n", 1)[0], m;
1287
- if (l = p, this.options.pedantic ? (l = l.replace(this.rules.other.listReplaceNesting, " "), m = l) : m = l.replace(this.rules.other.tabCharGlobal, " "), i.test(l) || a.test(l) || o.test(l) || f.test(l) || t.test(l) || n.test(l)) break;
1288
- if (m.search(this.rules.other.nonSpaceChar) >= d || !l.trim()) s += "\n" + m.slice(d);
1289
- else {
1290
- if (u || c.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || i.test(c) || a.test(c) || n.test(c)) break;
1291
- s += "\n" + l;
1292
- }
1293
- u = !l.trim(), r += p + "\n", e = e.substring(p.length + 1), c = m.slice(d);
1294
- }
1295
- }
1296
- i.loose || (o ? i.loose = !0 : this.rules.other.doubleBlankLine.test(r) && (o = !0)), i.items.push({
1297
- type: "list_item",
1298
- raw: r,
1299
- task: !!this.options.gfm && this.rules.other.listIsTask.test(s),
1300
- loose: !1,
1301
- text: s,
1302
- tokens: []
1303
- }), i.raw += r;
1304
- }
1305
- let s = i.items.at(-1);
1306
- if (s) s.raw = s.raw.trimEnd(), s.text = s.text.trimEnd();
1307
- else return;
1308
- i.raw = i.raw.trimEnd();
1309
- for (let e of i.items) {
1310
- this.lexer.state.top = !1, e.tokens = this.lexer.blockTokens(e.text, []);
1311
- let t = e.tokens[0];
1312
- if (e.task && (t?.type === "text" || t?.type === "paragraph")) {
1313
- e.text = e.text.replace(this.rules.other.listReplaceTask, ""), t.raw = t.raw.replace(this.rules.other.listReplaceTask, ""), t.text = t.text.replace(this.rules.other.listReplaceTask, "");
1314
- for (let e = this.lexer.inlineQueue.length - 1; e >= 0; e--) if (this.rules.other.listIsTask.test(this.lexer.inlineQueue[e].src)) {
1315
- this.lexer.inlineQueue[e].src = this.lexer.inlineQueue[e].src.replace(this.rules.other.listReplaceTask, "");
1316
- break;
1317
- }
1318
- let n = this.rules.other.listTaskCheckbox.exec(e.raw);
1319
- if (n) {
1320
- let t = {
1321
- type: "checkbox",
1322
- raw: n[0] + " ",
1323
- checked: n[0] !== "[ ]"
1324
- };
1325
- e.checked = t.checked, i.loose ? e.tokens[0] && ["paragraph", "text"].includes(e.tokens[0].type) && "tokens" in e.tokens[0] && e.tokens[0].tokens ? (e.tokens[0].raw = t.raw + e.tokens[0].raw, e.tokens[0].text = t.raw + e.tokens[0].text, e.tokens[0].tokens.unshift(t)) : e.tokens.unshift({
1326
- type: "paragraph",
1327
- raw: t.raw,
1328
- text: t.raw,
1329
- tokens: [t]
1330
- }) : e.tokens.unshift(t);
1331
- }
1332
- } else e.task &&= !1;
1333
- if (!i.loose) {
1334
- let t = e.tokens.filter((e) => e.type === "space");
1335
- i.loose = t.length > 0 && t.some((e) => this.rules.other.anyLine.test(e.raw));
1336
- }
1337
- }
1338
- if (i.loose) for (let e of i.items) {
1339
- e.loose = !0;
1340
- for (let t of e.tokens) t.type === "text" && (t.type = "paragraph");
1341
- }
1342
- return i;
1343
- }
1344
- }
1345
- html(e) {
1346
- let t = this.rules.block.html.exec(e);
1347
- if (t) {
1348
- let e = Sn(t[0]);
1349
- return {
1350
- type: "html",
1351
- block: !0,
1352
- raw: e,
1353
- pre: t[1] === "pre" || t[1] === "script" || t[1] === "style",
1354
- text: e
1355
- };
1356
- }
1357
- }
1358
- def(e) {
1359
- let t = this.rules.block.def.exec(e);
1360
- if (t) {
1361
- let e = t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal, " "), n = t[2] ? t[2].replace(this.rules.other.hrefBrackets, "$1").replace(this.rules.inline.anyPunctuation, "$1") : "", r = t[3] ? t[3].substring(1, t[3].length - 1).replace(this.rules.inline.anyPunctuation, "$1") : t[3];
1362
- return {
1363
- type: "def",
1364
- tag: e,
1365
- raw: G(t[0], "\n"),
1366
- href: n,
1367
- title: r
1368
- };
1369
- }
1370
- }
1371
- table(e) {
1372
- let t = this.rules.block.table.exec(e);
1373
- if (!t || !this.rules.other.tableDelimiter.test(t[2])) return;
1374
- let n = xn(t[1]), r = t[2].replace(this.rules.other.tableAlignChars, "").split("|"), i = t[3]?.trim() ? t[3].replace(this.rules.other.tableRowBlankLine, "").split("\n") : [], a = {
1375
- type: "table",
1376
- raw: G(t[0], "\n"),
1377
- header: [],
1378
- align: [],
1379
- rows: []
1380
- };
1381
- if (n.length === r.length) {
1382
- for (let e of r) this.rules.other.tableAlignRight.test(e) ? a.align.push("right") : this.rules.other.tableAlignCenter.test(e) ? a.align.push("center") : this.rules.other.tableAlignLeft.test(e) ? a.align.push("left") : a.align.push(null);
1383
- for (let e = 0; e < n.length; e++) a.header.push({
1384
- text: n[e],
1385
- tokens: this.lexer.inline(n[e]),
1386
- header: !0,
1387
- align: a.align[e]
1388
- });
1389
- for (let e of i) a.rows.push(xn(e, a.header.length).map((e, t) => ({
1390
- text: e,
1391
- tokens: this.lexer.inline(e),
1392
- header: !1,
1393
- align: a.align[t]
1394
- })));
1395
- return a;
1396
- }
1397
- }
1398
- lheading(e) {
1399
- let t = this.rules.block.lheading.exec(e);
1400
- if (t) {
1401
- let e = t[1].trim();
1402
- return {
1403
- type: "heading",
1404
- raw: G(t[0], "\n"),
1405
- depth: t[2].charAt(0) === "=" ? 1 : 2,
1406
- text: e,
1407
- tokens: this.lexer.inline(e)
1408
- };
1409
- }
1410
- }
1411
- paragraph(e) {
1412
- let t = this.rules.block.paragraph.exec(e);
1413
- if (t) {
1414
- let e = t[1].charAt(t[1].length - 1) === "\n" ? t[1].slice(0, -1) : t[1];
1415
- return {
1416
- type: "paragraph",
1417
- raw: t[0],
1418
- text: e,
1419
- tokens: this.lexer.inline(e)
1420
- };
1421
- }
1422
- }
1423
- text(e) {
1424
- let t = this.rules.block.text.exec(e);
1425
- if (t) return {
1426
- type: "text",
1427
- raw: t[0],
1428
- text: t[0],
1429
- tokens: this.lexer.inline(t[0])
1430
- };
1431
- }
1432
- escape(e) {
1433
- let t = this.rules.inline.escape.exec(e);
1434
- if (t) return {
1435
- type: "escape",
1436
- raw: t[0],
1437
- text: t[1]
1438
- };
1439
- }
1440
- tag(e) {
1441
- let t = this.rules.inline.tag.exec(e);
1442
- if (t) return !this.lexer.state.inLink && this.rules.other.startATag.test(t[0]) ? this.lexer.state.inLink = !0 : this.lexer.state.inLink && this.rules.other.endATag.test(t[0]) && (this.lexer.state.inLink = !1), !this.lexer.state.inRawBlock && this.rules.other.startPreScriptTag.test(t[0]) ? this.lexer.state.inRawBlock = !0 : this.lexer.state.inRawBlock && this.rules.other.endPreScriptTag.test(t[0]) && (this.lexer.state.inRawBlock = !1), {
1443
- type: "html",
1444
- raw: t[0],
1445
- inLink: this.lexer.state.inLink,
1446
- inRawBlock: this.lexer.state.inRawBlock,
1447
- block: !1,
1448
- text: t[0]
1449
- };
1450
- }
1451
- link(e) {
1452
- let t = this.rules.inline.link.exec(e);
1453
- if (t) {
1454
- let e = t[2].trim();
1455
- if (!this.options.pedantic && this.rules.other.startAngleBracket.test(e)) {
1456
- if (!this.rules.other.endAngleBracket.test(e)) return;
1457
- let t = G(e.slice(0, -1), "\\");
1458
- if ((e.length - t.length) % 2 == 0) return;
1459
- } else {
1460
- let e = Cn(t[2], "()");
1461
- if (e === -2) return;
1462
- if (e > -1) {
1463
- let n = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + e;
1464
- t[2] = t[2].substring(0, e), t[0] = t[0].substring(0, n).trim(), t[3] = "";
1465
- }
1466
- }
1467
- let n = t[2], r = "";
1468
- if (this.options.pedantic) {
1469
- let e = this.rules.other.pedanticHrefTitle.exec(n);
1470
- e && (n = e[1], r = e[3]);
1471
- } else r = t[3] ? t[3].slice(1, -1) : "";
1472
- return n = n.trim(), this.rules.other.startAngleBracket.test(n) && (n = this.options.pedantic && !this.rules.other.endAngleBracket.test(e) ? n.slice(1) : n.slice(1, -1)), Tn(t, {
1473
- href: n && n.replace(this.rules.inline.anyPunctuation, "$1"),
1474
- title: r && r.replace(this.rules.inline.anyPunctuation, "$1")
1475
- }, t[0], this.lexer, this.rules);
1476
- }
1477
- }
1478
- reflink(e, t) {
1479
- let n;
1480
- if ((n = this.rules.inline.reflink.exec(e)) || (n = this.rules.inline.nolink.exec(e))) {
1481
- let e = t[(n[2] || n[1]).replace(this.rules.other.multipleSpaceGlobal, " ").toLowerCase()];
1482
- if (!e) {
1483
- let e = n[0].charAt(0);
1484
- return {
1485
- type: "text",
1486
- raw: e,
1487
- text: e
1488
- };
1489
- }
1490
- return Tn(n, e, n[0], this.lexer, this.rules);
1491
- }
1492
- }
1493
- emStrong(e, t, n = "") {
1494
- let r = this.rules.inline.emStrongLDelim.exec(e);
1495
- if (!(!r || !r[1] && !r[2] && !r[3] && !r[4] || r[4] && n.match(this.rules.other.unicodeAlphaNumeric)) && (!(r[1] || r[3]) || !n || this.rules.inline.punctuation.exec(n))) {
1496
- let n = [...r[0]].length - 1, i, a, o = n, s = 0, c = r[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
1497
- for (c.lastIndex = 0, t = t.slice(-1 * e.length + n); (r = c.exec(t)) !== null;) {
1498
- if (i = r[1] || r[2] || r[3] || r[4] || r[5] || r[6], !i) continue;
1499
- if (a = [...i].length, r[3] || r[4]) {
1500
- o += a;
1501
- continue;
1502
- } else if ((r[5] || r[6]) && n % 3 && !((n + a) % 3)) {
1503
- s += a;
1504
- continue;
1505
- }
1506
- if (o -= a, o > 0) continue;
1507
- a = Math.min(a, a + o + s);
1508
- let t = [...r[0]][0].length, c = e.slice(0, n + r.index + t + a);
1509
- if (Math.min(n, a) % 2) {
1510
- let e = c.slice(1, -1);
1511
- return {
1512
- type: "em",
1513
- raw: c,
1514
- text: e,
1515
- tokens: this.lexer.inlineTokens(e)
1516
- };
1517
- }
1518
- let l = c.slice(2, -2);
1519
- return {
1520
- type: "strong",
1521
- raw: c,
1522
- text: l,
1523
- tokens: this.lexer.inlineTokens(l)
1524
- };
1525
- }
1526
- }
1527
- }
1528
- codespan(e) {
1529
- let t = this.rules.inline.code.exec(e);
1530
- if (t) {
1531
- let e = t[2].replace(this.rules.other.newLineCharGlobal, " "), n = this.rules.other.nonSpaceChar.test(e), r = this.rules.other.startingSpaceChar.test(e) && this.rules.other.endingSpaceChar.test(e);
1532
- return n && r && (e = e.substring(1, e.length - 1)), {
1533
- type: "codespan",
1534
- raw: t[0],
1535
- text: e
1536
- };
1537
- }
1538
- }
1539
- br(e) {
1540
- let t = this.rules.inline.br.exec(e);
1541
- if (t) return {
1542
- type: "br",
1543
- raw: t[0]
1544
- };
1545
- }
1546
- del(e, t, n = "") {
1547
- let r = this.rules.inline.delLDelim.exec(e);
1548
- if (r && (!r[1] || !n || this.rules.inline.punctuation.exec(n))) {
1549
- let n = [...r[0]].length - 1, i, a, o = n, s = this.rules.inline.delRDelim;
1550
- for (s.lastIndex = 0, t = t.slice(-1 * e.length + n); (r = s.exec(t)) !== null;) {
1551
- if (i = r[1] || r[2] || r[3] || r[4] || r[5] || r[6], !i || (a = [...i].length, a !== n)) continue;
1552
- if (r[3] || r[4]) {
1553
- o += a;
1554
- continue;
1555
- }
1556
- if (o -= a, o > 0) continue;
1557
- a = Math.min(a, a + o);
1558
- let t = [...r[0]][0].length, s = e.slice(0, n + r.index + t + a), c = s.slice(n, -n);
1559
- return {
1560
- type: "del",
1561
- raw: s,
1562
- text: c,
1563
- tokens: this.lexer.inlineTokens(c)
1564
- };
1565
- }
1566
- }
1567
- }
1568
- autolink(e) {
1569
- let t = this.rules.inline.autolink.exec(e);
1570
- if (t) {
1571
- let e, n;
1572
- return t[2] === "@" ? (e = t[1], n = "mailto:" + e) : (e = t[1], n = e), {
1573
- type: "link",
1574
- raw: t[0],
1575
- text: e,
1576
- href: n,
1577
- tokens: [{
1578
- type: "text",
1579
- raw: e,
1580
- text: e
1581
- }]
1582
- };
1583
- }
1584
- }
1585
- url(e) {
1586
- let t;
1587
- if (t = this.rules.inline.url.exec(e)) {
1588
- let e, n;
1589
- if (t[2] === "@") e = t[0], n = "mailto:" + e;
1590
- else {
1591
- let r;
1592
- do
1593
- r = t[0], t[0] = this.rules.inline._backpedal.exec(t[0])?.[0] ?? "";
1594
- while (r !== t[0]);
1595
- e = t[0], n = t[1] === "www." ? "http://" + t[0] : t[0];
1596
- }
1597
- return {
1598
- type: "link",
1599
- raw: t[0],
1600
- text: e,
1601
- href: n,
1602
- tokens: [{
1603
- type: "text",
1604
- raw: e,
1605
- text: e
1606
- }]
1607
- };
1608
- }
1609
- }
1610
- inlineText(e) {
1611
- let t = this.rules.inline.text.exec(e);
1612
- if (t) {
1613
- let e = this.lexer.state.inRawBlock;
1614
- return {
1615
- type: "text",
1616
- raw: t[0],
1617
- text: t[0],
1618
- escaped: e
1619
- };
1620
- }
1621
- }
1622
- }, q = class e {
1623
- tokens;
1624
- options;
1625
- state;
1626
- inlineQueue;
1627
- tokenizer;
1628
- constructor(e) {
1629
- this.tokens = [], this.tokens.links = Object.create(null), this.options = e || xt, this.options.tokenizer = this.options.tokenizer || new K(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
1630
- inLink: !1,
1631
- inRawBlock: !1,
1632
- top: !0
1633
- };
1634
- let t = {
1635
- other: j,
1636
- block: H.normal,
1637
- inline: vn.normal
1638
- };
1639
- this.options.pedantic ? (t.block = H.pedantic, t.inline = vn.pedantic) : this.options.gfm && (t.block = H.gfm, this.options.breaks ? t.inline = vn.breaks : t.inline = vn.gfm), this.tokenizer.rules = t;
1640
- }
1641
- static get rules() {
1642
- return {
1643
- block: H,
1644
- inline: vn
1645
- };
1646
- }
1647
- static lex(t, n) {
1648
- return new e(n).lex(t);
1649
- }
1650
- static lexInline(t, n) {
1651
- return new e(n).inlineTokens(t);
1652
- }
1653
- lex(e) {
1654
- e = e.replace(j.carriageReturn, "\n"), this.blockTokens(e, this.tokens);
1655
- for (let e = 0; e < this.inlineQueue.length; e++) {
1656
- let t = this.inlineQueue[e];
1657
- this.inlineTokens(t.src, t.tokens);
1658
- }
1659
- return this.inlineQueue = [], this.tokens;
1660
- }
1661
- blockTokens(e, t = [], n = !1) {
1662
- this.tokenizer.lexer = this, this.options.pedantic && (e = e.replace(j.tabCharGlobal, " ").replace(j.spaceLine, ""));
1663
- let r = Infinity;
1664
- for (; e;) {
1665
- if (e.length < r) r = e.length;
1666
- else {
1667
- this.infiniteLoopError(e.charCodeAt(0));
1668
- break;
1669
- }
1670
- let i;
1671
- if (this.options.extensions?.block?.some((n) => (i = n.call({ lexer: this }, e, t)) ? (e = e.substring(i.raw.length), t.push(i), !0) : !1)) continue;
1672
- if (i = this.tokenizer.space(e)) {
1673
- e = e.substring(i.raw.length);
1674
- let n = t.at(-1);
1675
- i.raw.length === 1 && n !== void 0 ? n.raw += "\n" : t.push(i);
1676
- continue;
1677
- }
1678
- if (i = this.tokenizer.code(e)) {
1679
- e = e.substring(i.raw.length);
1680
- let n = t.at(-1);
1681
- n?.type === "paragraph" || n?.type === "text" ? (n.raw += (n.raw.endsWith("\n") ? "" : "\n") + i.raw, n.text += "\n" + i.text, this.inlineQueue.at(-1).src = n.text) : t.push(i);
1682
- continue;
1683
- }
1684
- if (i = this.tokenizer.fences(e)) {
1685
- e = e.substring(i.raw.length), t.push(i);
1686
- continue;
1687
- }
1688
- if (i = this.tokenizer.heading(e)) {
1689
- e = e.substring(i.raw.length), t.push(i);
1690
- continue;
1691
- }
1692
- if (i = this.tokenizer.hr(e)) {
1693
- e = e.substring(i.raw.length), t.push(i);
1694
- continue;
1695
- }
1696
- if (i = this.tokenizer.blockquote(e)) {
1697
- e = e.substring(i.raw.length), t.push(i);
1698
- continue;
1699
- }
1700
- if (i = this.tokenizer.list(e)) {
1701
- e = e.substring(i.raw.length), t.push(i);
1702
- continue;
1703
- }
1704
- if (i = this.tokenizer.html(e)) {
1705
- e = e.substring(i.raw.length), t.push(i);
1706
- continue;
1707
- }
1708
- if (i = this.tokenizer.def(e)) {
1709
- e = e.substring(i.raw.length);
1710
- let n = t.at(-1);
1711
- n?.type === "paragraph" || n?.type === "text" ? (n.raw += (n.raw.endsWith("\n") ? "" : "\n") + i.raw, n.text += "\n" + i.raw, this.inlineQueue.at(-1).src = n.text) : this.tokens.links[i.tag] || (this.tokens.links[i.tag] = {
1712
- href: i.href,
1713
- title: i.title
1714
- }, t.push(i));
1715
- continue;
1716
- }
1717
- if (i = this.tokenizer.table(e)) {
1718
- e = e.substring(i.raw.length), t.push(i);
1719
- continue;
1720
- }
1721
- if (i = this.tokenizer.lheading(e)) {
1722
- e = e.substring(i.raw.length), t.push(i);
1723
- continue;
1724
- }
1725
- let a = e;
1726
- if (this.options.extensions?.startBlock) {
1727
- let t = Infinity, n = e.slice(1), r;
1728
- this.options.extensions.startBlock.forEach((e) => {
1729
- r = e.call({ lexer: this }, n), typeof r == "number" && r >= 0 && (t = Math.min(t, r));
1730
- }), t < Infinity && t >= 0 && (a = e.substring(0, t + 1));
1731
- }
1732
- if (this.state.top && (i = this.tokenizer.paragraph(a))) {
1733
- let r = t.at(-1);
1734
- n && r?.type === "paragraph" ? (r.raw += (r.raw.endsWith("\n") ? "" : "\n") + i.raw, r.text += "\n" + i.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = r.text) : t.push(i), n = a.length !== e.length, e = e.substring(i.raw.length);
1735
- continue;
1736
- }
1737
- if (i = this.tokenizer.text(e)) {
1738
- e = e.substring(i.raw.length);
1739
- let n = t.at(-1);
1740
- n?.type === "text" ? (n.raw += (n.raw.endsWith("\n") ? "" : "\n") + i.raw, n.text += "\n" + i.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = n.text) : t.push(i);
1741
- continue;
1742
- }
1743
- if (e) {
1744
- this.infiniteLoopError(e.charCodeAt(0));
1745
- break;
1746
- }
1747
- }
1748
- return this.state.top = !0, t;
1749
- }
1750
- inline(e, t = []) {
1751
- return this.inlineQueue.push({
1752
- src: e,
1753
- tokens: t
1754
- }), t;
1755
- }
1756
- inlineTokens(e, t = []) {
1757
- this.tokenizer.lexer = this;
1758
- let n = e, r = null;
1759
- if (this.tokens.links) {
1760
- let e = Object.keys(this.tokens.links);
1761
- if (e.length > 0) for (; (r = this.tokenizer.rules.inline.reflinkSearch.exec(n)) !== null;) e.includes(r[0].slice(r[0].lastIndexOf("[") + 1, -1)) && (n = n.slice(0, r.index) + "[" + "a".repeat(r[0].length - 2) + "]" + n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex));
1762
- }
1763
- for (; (r = this.tokenizer.rules.inline.anyPunctuation.exec(n)) !== null;) n = n.slice(0, r.index) + "++" + n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);
1764
- let i;
1765
- for (; (r = this.tokenizer.rules.inline.blockSkip.exec(n)) !== null;) i = r[2] ? r[2].length : 0, n = n.slice(0, r.index + i) + "[" + "a".repeat(r[0].length - i - 2) + "]" + n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
1766
- n = this.options.hooks?.emStrongMask?.call({ lexer: this }, n) ?? n;
1767
- let a = !1, o = "", s = Infinity;
1768
- for (; e;) {
1769
- if (e.length < s) s = e.length;
1770
- else {
1771
- this.infiniteLoopError(e.charCodeAt(0));
1772
- break;
1773
- }
1774
- a || (o = ""), a = !1;
1775
- let r;
1776
- if (this.options.extensions?.inline?.some((n) => (r = n.call({ lexer: this }, e, t)) ? (e = e.substring(r.raw.length), t.push(r), !0) : !1)) continue;
1777
- if (r = this.tokenizer.escape(e)) {
1778
- e = e.substring(r.raw.length), t.push(r);
1779
- continue;
1780
- }
1781
- if (r = this.tokenizer.tag(e)) {
1782
- e = e.substring(r.raw.length), t.push(r);
1783
- continue;
1784
- }
1785
- if (r = this.tokenizer.link(e)) {
1786
- e = e.substring(r.raw.length), t.push(r);
1787
- continue;
1788
- }
1789
- if (r = this.tokenizer.reflink(e, this.tokens.links)) {
1790
- e = e.substring(r.raw.length);
1791
- let n = t.at(-1);
1792
- r.type === "text" && n?.type === "text" ? (n.raw += r.raw, n.text += r.text) : t.push(r);
1793
- continue;
1794
- }
1795
- if (r = this.tokenizer.emStrong(e, n, o)) {
1796
- e = e.substring(r.raw.length), t.push(r);
1797
- continue;
1798
- }
1799
- if (r = this.tokenizer.codespan(e)) {
1800
- e = e.substring(r.raw.length), t.push(r);
1801
- continue;
1802
- }
1803
- if (r = this.tokenizer.br(e)) {
1804
- e = e.substring(r.raw.length), t.push(r);
1805
- continue;
1806
- }
1807
- if (r = this.tokenizer.del(e, n, o)) {
1808
- e = e.substring(r.raw.length), t.push(r);
1809
- continue;
1810
- }
1811
- if (r = this.tokenizer.autolink(e)) {
1812
- e = e.substring(r.raw.length), t.push(r);
1813
- continue;
1814
- }
1815
- if (!this.state.inLink && (r = this.tokenizer.url(e))) {
1816
- e = e.substring(r.raw.length), t.push(r);
1817
- continue;
1818
- }
1819
- let i = e;
1820
- if (this.options.extensions?.startInline) {
1821
- let t = Infinity, n = e.slice(1), r;
1822
- this.options.extensions.startInline.forEach((e) => {
1823
- r = e.call({ lexer: this }, n), typeof r == "number" && r >= 0 && (t = Math.min(t, r));
1824
- }), t < Infinity && t >= 0 && (i = e.substring(0, t + 1));
1825
- }
1826
- if (r = this.tokenizer.inlineText(i)) {
1827
- e = e.substring(r.raw.length), r.raw.slice(-1) !== "_" && (o = r.raw.slice(-1)), a = !0;
1828
- let n = t.at(-1);
1829
- n?.type === "text" ? (n.raw += r.raw, n.text += r.text) : t.push(r);
1830
- continue;
1831
- }
1832
- if (e) {
1833
- this.infiniteLoopError(e.charCodeAt(0));
1834
- break;
1835
- }
1836
- }
1837
- return t;
1838
- }
1839
- infiniteLoopError(e) {
1840
- let t = "Infinite loop on byte: " + e;
1841
- if (this.options.silent) console.error(t);
1842
- else throw Error(t);
1843
- }
1844
- }, J = class {
1845
- options;
1846
- parser;
1847
- constructor(e) {
1848
- this.options = e || xt;
1849
- }
1850
- space(e) {
1851
- return "";
1852
- }
1853
- code({ text: e, lang: t, escaped: n }) {
1854
- let r = (t || "").match(j.notSpaceStart)?.[0], i = e.replace(j.endingNewline, "") + "\n";
1855
- return r ? "<pre><code class=\"language-" + W(r) + "\">" + (n ? i : W(i, !0)) + "</code></pre>\n" : "<pre><code>" + (n ? i : W(i, !0)) + "</code></pre>\n";
1856
- }
1857
- blockquote({ tokens: e }) {
1858
- return `<blockquote>
1859
- ${this.parser.parse(e)}</blockquote>
1860
- `;
1861
- }
1862
- html({ text: e }) {
1863
- return e;
1864
- }
1865
- def(e) {
1866
- return "";
1867
- }
1868
- heading({ tokens: e, depth: t }) {
1869
- return `<h${t}>${this.parser.parseInline(e)}</h${t}>
1870
- `;
1871
- }
1872
- hr(e) {
1873
- return "<hr>\n";
1874
- }
1875
- list(e) {
1876
- let t = e.ordered, n = e.start, r = "";
1877
- for (let t = 0; t < e.items.length; t++) {
1878
- let n = e.items[t];
1879
- r += this.listitem(n);
1880
- }
1881
- let i = t ? "ol" : "ul", a = t && n !== 1 ? " start=\"" + n + "\"" : "";
1882
- return "<" + i + a + ">\n" + r + "</" + i + ">\n";
1883
- }
1884
- listitem(e) {
1885
- return `<li>${this.parser.parse(e.tokens)}</li>
1886
- `;
1887
- }
1888
- checkbox({ checked: e }) {
1889
- return "<input " + (e ? "checked=\"\" " : "") + "disabled=\"\" type=\"checkbox\"> ";
1890
- }
1891
- paragraph({ tokens: e }) {
1892
- return `<p>${this.parser.parseInline(e)}</p>
1893
- `;
1894
- }
1895
- table(e) {
1896
- let t = "", n = "";
1897
- for (let t = 0; t < e.header.length; t++) n += this.tablecell(e.header[t]);
1898
- t += this.tablerow({ text: n });
1899
- let r = "";
1900
- for (let t = 0; t < e.rows.length; t++) {
1901
- let i = e.rows[t];
1902
- n = "";
1903
- for (let e = 0; e < i.length; e++) n += this.tablecell(i[e]);
1904
- r += this.tablerow({ text: n });
1905
- }
1906
- return r &&= `<tbody>${r}</tbody>`, "<table>\n<thead>\n" + t + "</thead>\n" + r + "</table>\n";
1907
- }
1908
- tablerow({ text: e }) {
1909
- return `<tr>
1910
- ${e}</tr>
1911
- `;
1912
- }
1913
- tablecell(e) {
1914
- let t = this.parser.parseInline(e.tokens), n = e.header ? "th" : "td";
1915
- return (e.align ? `<${n} align="${e.align}">` : `<${n}>`) + t + `</${n}>
1916
- `;
1917
- }
1918
- strong({ tokens: e }) {
1919
- return `<strong>${this.parser.parseInline(e)}</strong>`;
1920
- }
1921
- em({ tokens: e }) {
1922
- return `<em>${this.parser.parseInline(e)}</em>`;
1923
- }
1924
- codespan({ text: e }) {
1925
- return `<code>${W(e, !0)}</code>`;
1926
- }
1927
- br(e) {
1928
- return "<br>";
1929
- }
1930
- del({ tokens: e }) {
1931
- return `<del>${this.parser.parseInline(e)}</del>`;
1932
- }
1933
- link({ href: e, title: t, tokens: n }) {
1934
- let r = this.parser.parseInline(n), i = bn(e);
1935
- if (i === null) return r;
1936
- e = i;
1937
- let a = "<a href=\"" + e + "\"";
1938
- return t && (a += " title=\"" + W(t) + "\""), a += ">" + r + "</a>", a;
1939
- }
1940
- image({ href: e, title: t, text: n, tokens: r }) {
1941
- r && (n = this.parser.parseInline(r, this.parser.textRenderer));
1942
- let i = bn(e);
1943
- if (i === null) return W(n);
1944
- e = i;
1945
- let a = `<img src="${e}" alt="${W(n)}"`;
1946
- return t && (a += ` title="${W(t)}"`), a += ">", a;
1947
- }
1948
- text(e) {
1949
- return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text : W(e.text);
1950
- }
1951
- }, Dn = class {
1952
- strong({ text: e }) {
1953
- return e;
1954
- }
1955
- em({ text: e }) {
1956
- return e;
1957
- }
1958
- codespan({ text: e }) {
1959
- return e;
1960
- }
1961
- del({ text: e }) {
1962
- return e;
1963
- }
1964
- html({ text: e }) {
1965
- return e;
1966
- }
1967
- text({ text: e }) {
1968
- return e;
1969
- }
1970
- link({ text: e }) {
1971
- return "" + e;
1972
- }
1973
- image({ text: e }) {
1974
- return "" + e;
1975
- }
1976
- br() {
1977
- return "";
1978
- }
1979
- checkbox({ raw: e }) {
1980
- return e;
1981
- }
1982
- }, Y = class e {
1983
- options;
1984
- renderer;
1985
- textRenderer;
1986
- constructor(e) {
1987
- this.options = e || xt, this.options.renderer = this.options.renderer || new J(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Dn();
1988
- }
1989
- static parse(t, n) {
1990
- return new e(n).parse(t);
1991
- }
1992
- static parseInline(t, n) {
1993
- return new e(n).parseInline(t);
1994
- }
1995
- parse(e) {
1996
- this.renderer.parser = this;
1997
- let t = "";
1998
- for (let n = 0; n < e.length; n++) {
1999
- let r = e[n];
2000
- if (this.options.extensions?.renderers?.[r.type]) {
2001
- let e = r, n = this.options.extensions.renderers[e.type].call({ parser: this }, e);
2002
- if (n !== !1 || ![
2003
- "space",
2004
- "hr",
2005
- "heading",
2006
- "code",
2007
- "table",
2008
- "blockquote",
2009
- "list",
2010
- "html",
2011
- "def",
2012
- "paragraph",
2013
- "text"
2014
- ].includes(e.type)) {
2015
- t += n || "";
2016
- continue;
2017
- }
2018
- }
2019
- let i = r;
2020
- switch (i.type) {
2021
- case "space":
2022
- t += this.renderer.space(i);
2023
- break;
2024
- case "hr":
2025
- t += this.renderer.hr(i);
2026
- break;
2027
- case "heading":
2028
- t += this.renderer.heading(i);
2029
- break;
2030
- case "code":
2031
- t += this.renderer.code(i);
2032
- break;
2033
- case "table":
2034
- t += this.renderer.table(i);
2035
- break;
2036
- case "blockquote":
2037
- t += this.renderer.blockquote(i);
2038
- break;
2039
- case "list":
2040
- t += this.renderer.list(i);
2041
- break;
2042
- case "checkbox":
2043
- t += this.renderer.checkbox(i);
2044
- break;
2045
- case "html":
2046
- t += this.renderer.html(i);
2047
- break;
2048
- case "def":
2049
- t += this.renderer.def(i);
2050
- break;
2051
- case "paragraph":
2052
- t += this.renderer.paragraph(i);
2053
- break;
2054
- case "text":
2055
- t += this.renderer.text(i);
2056
- break;
2057
- default: {
2058
- let e = "Token with \"" + i.type + "\" type was not found.";
2059
- if (this.options.silent) return console.error(e), "";
2060
- throw Error(e);
2061
- }
2062
- }
2063
- }
2064
- return t;
2065
- }
2066
- parseInline(e, t = this.renderer) {
2067
- this.renderer.parser = this;
2068
- let n = "";
2069
- for (let r = 0; r < e.length; r++) {
2070
- let i = e[r];
2071
- if (this.options.extensions?.renderers?.[i.type]) {
2072
- let e = this.options.extensions.renderers[i.type].call({ parser: this }, i);
2073
- if (e !== !1 || ![
2074
- "escape",
2075
- "html",
2076
- "link",
2077
- "image",
2078
- "strong",
2079
- "em",
2080
- "codespan",
2081
- "br",
2082
- "del",
2083
- "text"
2084
- ].includes(i.type)) {
2085
- n += e || "";
2086
- continue;
2087
- }
2088
- }
2089
- let a = i;
2090
- switch (a.type) {
2091
- case "escape":
2092
- n += t.text(a);
2093
- break;
2094
- case "html":
2095
- n += t.html(a);
2096
- break;
2097
- case "link":
2098
- n += t.link(a);
2099
- break;
2100
- case "image":
2101
- n += t.image(a);
2102
- break;
2103
- case "checkbox":
2104
- n += t.checkbox(a);
2105
- break;
2106
- case "strong":
2107
- n += t.strong(a);
2108
- break;
2109
- case "em":
2110
- n += t.em(a);
2111
- break;
2112
- case "codespan":
2113
- n += t.codespan(a);
2114
- break;
2115
- case "br":
2116
- n += t.br(a);
2117
- break;
2118
- case "del":
2119
- n += t.del(a);
2120
- break;
2121
- case "text":
2122
- n += t.text(a);
2123
- break;
2124
- default: {
2125
- let e = "Token with \"" + a.type + "\" type was not found.";
2126
- if (this.options.silent) return console.error(e), "";
2127
- throw Error(e);
2128
- }
2129
- }
2130
- }
2131
- return n;
2132
- }
2133
- }, On = class {
2134
- options;
2135
- block;
2136
- constructor(e) {
2137
- this.options = e || xt;
2138
- }
2139
- static passThroughHooks = /* @__PURE__ */ new Set([
2140
- "preprocess",
2141
- "postprocess",
2142
- "processAllTokens",
2143
- "emStrongMask"
2144
- ]);
2145
- static passThroughHooksRespectAsync = /* @__PURE__ */ new Set([
2146
- "preprocess",
2147
- "postprocess",
2148
- "processAllTokens"
2149
- ]);
2150
- preprocess(e) {
2151
- return e;
2152
- }
2153
- postprocess(e) {
2154
- return e;
2155
- }
2156
- processAllTokens(e) {
2157
- return e;
2158
- }
2159
- emStrongMask(e) {
2160
- return e;
2161
- }
2162
- provideLexer(e = this.block) {
2163
- return e ? q.lex : q.lexInline;
2164
- }
2165
- provideParser(e = this.block) {
2166
- return e ? Y.parse : Y.parseInline;
2167
- }
2168
- }, X = new class {
2169
- defaults = bt();
2170
- options = this.setOptions;
2171
- parse = this.parseMarkdown(!0);
2172
- parseInline = this.parseMarkdown(!1);
2173
- Parser = Y;
2174
- Renderer = J;
2175
- TextRenderer = Dn;
2176
- Lexer = q;
2177
- Tokenizer = K;
2178
- Hooks = On;
2179
- constructor(...e) {
2180
- this.use(...e);
2181
- }
2182
- walkTokens(e, t) {
2183
- let n = [];
2184
- for (let r of e) switch (n = n.concat(t.call(this, r)), r.type) {
2185
- case "table": {
2186
- let e = r;
2187
- for (let r of e.header) n = n.concat(this.walkTokens(r.tokens, t));
2188
- for (let r of e.rows) for (let e of r) n = n.concat(this.walkTokens(e.tokens, t));
2189
- break;
2190
- }
2191
- case "list": {
2192
- let e = r;
2193
- n = n.concat(this.walkTokens(e.items, t));
2194
- break;
2195
- }
2196
- default: {
2197
- let e = r;
2198
- this.defaults.extensions?.childTokens?.[e.type] ? this.defaults.extensions.childTokens[e.type].forEach((r) => {
2199
- let i = e[r].flat(Infinity);
2200
- n = n.concat(this.walkTokens(i, t));
2201
- }) : e.tokens && (n = n.concat(this.walkTokens(e.tokens, t)));
2202
- }
2203
- }
2204
- return n;
2205
- }
2206
- use(...e) {
2207
- let t = this.defaults.extensions || {
2208
- renderers: {},
2209
- childTokens: {}
2210
- };
2211
- return e.forEach((e) => {
2212
- let n = { ...e };
2213
- if (n.async = this.defaults.async || n.async || !1, e.extensions && (e.extensions.forEach((e) => {
2214
- if (!e.name) throw Error("extension name required");
2215
- if ("renderer" in e) {
2216
- let n = t.renderers[e.name];
2217
- n ? t.renderers[e.name] = function(...t) {
2218
- let r = e.renderer.apply(this, t);
2219
- return r === !1 && (r = n.apply(this, t)), r;
2220
- } : t.renderers[e.name] = e.renderer;
2221
- }
2222
- if ("tokenizer" in e) {
2223
- if (!e.level || e.level !== "block" && e.level !== "inline") throw Error("extension level must be 'block' or 'inline'");
2224
- let n = t[e.level];
2225
- n ? n.unshift(e.tokenizer) : t[e.level] = [e.tokenizer], e.start && (e.level === "block" ? t.startBlock ? t.startBlock.push(e.start) : t.startBlock = [e.start] : e.level === "inline" && (t.startInline ? t.startInline.push(e.start) : t.startInline = [e.start]));
2226
- }
2227
- "childTokens" in e && e.childTokens && (t.childTokens[e.name] = e.childTokens);
2228
- }), n.extensions = t), e.renderer) {
2229
- let t = this.defaults.renderer || new J(this.defaults);
2230
- for (let n in e.renderer) {
2231
- if (!(n in t)) throw Error(`renderer '${n}' does not exist`);
2232
- if (["options", "parser"].includes(n)) continue;
2233
- let r = n, i = e.renderer[r], a = t[r];
2234
- t[r] = (...e) => {
2235
- let n = i.apply(t, e);
2236
- return n === !1 && (n = a.apply(t, e)), n || "";
2237
- };
2238
- }
2239
- n.renderer = t;
2240
- }
2241
- if (e.tokenizer) {
2242
- let t = this.defaults.tokenizer || new K(this.defaults);
2243
- for (let n in e.tokenizer) {
2244
- if (!(n in t)) throw Error(`tokenizer '${n}' does not exist`);
2245
- if ([
2246
- "options",
2247
- "rules",
2248
- "lexer"
2249
- ].includes(n)) continue;
2250
- let r = n, i = e.tokenizer[r], a = t[r];
2251
- t[r] = (...e) => {
2252
- let n = i.apply(t, e);
2253
- return n === !1 && (n = a.apply(t, e)), n;
2254
- };
2255
- }
2256
- n.tokenizer = t;
2257
- }
2258
- if (e.hooks) {
2259
- let t = this.defaults.hooks || new On();
2260
- for (let n in e.hooks) {
2261
- if (!(n in t)) throw Error(`hook '${n}' does not exist`);
2262
- if (["options", "block"].includes(n)) continue;
2263
- let r = n, i = e.hooks[r], a = t[r];
2264
- On.passThroughHooks.has(n) ? t[r] = (e) => {
2265
- if (this.defaults.async && On.passThroughHooksRespectAsync.has(n)) return (async () => {
2266
- let n = await i.call(t, e);
2267
- return a.call(t, n);
2268
- })();
2269
- let r = i.call(t, e);
2270
- return a.call(t, r);
2271
- } : t[r] = (...e) => {
2272
- if (this.defaults.async) return (async () => {
2273
- let n = await i.apply(t, e);
2274
- return n === !1 && (n = await a.apply(t, e)), n;
2275
- })();
2276
- let n = i.apply(t, e);
2277
- return n === !1 && (n = a.apply(t, e)), n;
2278
- };
2279
- }
2280
- n.hooks = t;
2281
- }
2282
- if (e.walkTokens) {
2283
- let t = this.defaults.walkTokens, r = e.walkTokens;
2284
- n.walkTokens = function(e) {
2285
- let n = [];
2286
- return n.push(r.call(this, e)), t && (n = n.concat(t.call(this, e))), n;
2287
- };
2288
- }
2289
- this.defaults = {
2290
- ...this.defaults,
2291
- ...n
2292
- };
2293
- }), this;
2294
- }
2295
- setOptions(e) {
2296
- return this.defaults = {
2297
- ...this.defaults,
2298
- ...e
2299
- }, this;
2300
- }
2301
- lexer(e, t) {
2302
- return q.lex(e, t ?? this.defaults);
2303
- }
2304
- parser(e, t) {
2305
- return Y.parse(e, t ?? this.defaults);
2306
- }
2307
- parseMarkdown(e) {
2308
- return (t, n) => {
2309
- let r = { ...n }, i = {
2310
- ...this.defaults,
2311
- ...r
2312
- }, a = this.onError(!!i.silent, !!i.async);
2313
- if (this.defaults.async === !0 && r.async === !1) return a(/* @__PURE__ */ Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));
2314
- if (typeof t > "u" || t === null) return a(/* @__PURE__ */ Error("marked(): input parameter is undefined or null"));
2315
- if (typeof t != "string") return a(/* @__PURE__ */ Error("marked(): input parameter is of type " + Object.prototype.toString.call(t) + ", string expected"));
2316
- if (i.hooks && (i.hooks.options = i, i.hooks.block = e), i.async) return (async () => {
2317
- let n = i.hooks ? await i.hooks.preprocess(t) : t, r = await (i.hooks ? await i.hooks.provideLexer(e) : e ? q.lex : q.lexInline)(n, i), a = i.hooks ? await i.hooks.processAllTokens(r) : r;
2318
- i.walkTokens && await Promise.all(this.walkTokens(a, i.walkTokens));
2319
- let o = await (i.hooks ? await i.hooks.provideParser(e) : e ? Y.parse : Y.parseInline)(a, i);
2320
- return i.hooks ? await i.hooks.postprocess(o) : o;
2321
- })().catch(a);
2322
- try {
2323
- i.hooks && (t = i.hooks.preprocess(t));
2324
- let n = (i.hooks ? i.hooks.provideLexer(e) : e ? q.lex : q.lexInline)(t, i);
2325
- i.hooks && (n = i.hooks.processAllTokens(n)), i.walkTokens && this.walkTokens(n, i.walkTokens);
2326
- let r = (i.hooks ? i.hooks.provideParser(e) : e ? Y.parse : Y.parseInline)(n, i);
2327
- return i.hooks && (r = i.hooks.postprocess(r)), r;
2328
- } catch (e) {
2329
- return a(e);
2330
- }
2331
- };
2332
- }
2333
- onError(e, t) {
2334
- return (n) => {
2335
- if (n.message += "\nPlease report this to https://github.com/markedjs/marked.", e) {
2336
- let e = "<p>An error occurred:</p><pre>" + W(n.message + "", !0) + "</pre>";
2337
- return t ? Promise.resolve(e) : e;
2338
- }
2339
- if (t) return Promise.reject(n);
2340
- throw n;
2341
- };
2342
- }
2343
- }();
2344
- function Z(e, t) {
2345
- return X.parse(e, t);
2346
- }
2347
- Z.options = Z.setOptions = function(e) {
2348
- return X.setOptions(e), Z.defaults = X.defaults, St(Z.defaults), Z;
2349
- }, Z.getDefaults = bt, Z.defaults = xt, Z.use = function(...e) {
2350
- return X.use(...e), Z.defaults = X.defaults, St(Z.defaults), Z;
2351
- }, Z.walkTokens = function(e, t) {
2352
- return X.walkTokens(e, t);
2353
- }, Z.parseInline = X.parseInline, Z.Parser = Y, Z.parser = Y.parse, Z.Renderer = J, Z.TextRenderer = Dn, Z.Lexer = q, Z.lexer = q.lex, Z.Tokenizer = K, Z.Hooks = On, Z.parse = Z, Z.options, Z.setOptions, Z.use, Z.walkTokens, Z.parseInline, Y.parse, q.lex;
2354
- //#endregion
2355
- //#region src/components/ai-chat/ai-chat.module.scss?inline
2356
- var kn = ":host{box-sizing:border-box;flex-direction:column;width:100%;height:100%;display:flex}:host .chat-container{background:var(--luzmo-ai-chat-background,var(--ai-chat-background));border-radius:var(--luzmo-ai-chat-border-radius,var(--ai-chat-border-radius));width:100%;height:100%;min-height:0;padding:var(--luzmo-ai-chat-padding,var(--ai-chat-padding));gap:var(--luzmo-ai-chat-gap,var(--ai-chat-gap));border:var(--luzmo-ai-chat-border,var(--ai-chat-border));box-shadow:var(--luzmo-ai-chat-box-shadow,var(--ai-chat-box-shadow));box-sizing:border-box;flex-direction:column;flex:1;display:flex;overflow:hidden}:host .chat-messages-container{gap:var(--luzmo-ai-chat-gap,var(--ai-chat-gap));flex-direction:column;flex:1;min-height:0;display:flex;overflow:auto}:host .chat-messages-container luzmo-ai-chat-empty-state{flex:1;min-height:0}:host .chat-messages-container::-webkit-scrollbar{width:var(--luzmo-ai-chat-scrollbar-width,var(--ai-chat-scrollbar-width))}:host .chat-messages-container::-webkit-scrollbar-track{background:var(--luzmo-ai-chat-scrollbar-track-background,var(--ai-chat-scrollbar-track-background));border-radius:var(--luzmo-ai-chat-scrollbar-track-border-radius,var(--ai-chat-scrollbar-track-border-radius))}:host .chat-messages-container::-webkit-scrollbar-thumb{background:var(--luzmo-ai-chat-scrollbar-thumb-background,var(--ai-chat-scrollbar-thumb-background));border-radius:var(--luzmo-ai-chat-scrollbar-thumb-border-radius,var(--ai-chat-scrollbar-thumb-border-radius))}:host .chat-messages-container::-webkit-scrollbar-thumb:hover{background:var(--luzmo-ai-chat-scrollbar-thumb-hover-background,var(--ai-chat-scrollbar-thumb-hover-background))}:host .chat-messages-container{scrollbar-width:var(--luzmo-scrollbar-width,thin);scrollbar-color:var(--luzmo-ai-chat-scrollbar-thumb-background,var(--ai-chat-scrollbar-thumb-background)) var(--luzmo-ai-chat-scrollbar-track-background,var(--ai-chat-scrollbar-track-background))}:host luzmo-chat-message{--luzmo-primary:rgba(var(--luzmo-primary-rgb), .08);--chat-message-primary-text-color:var(--luzmo-font-color);--chat-message-primary-border-color:transparent}:host luzmo-chat-message.error{color:var(--luzmo-ai-chat-error-message-color,var(--ai-chat-error-message-color))}:host luzmo-chat-message.cancelled{color:var(--luzmo-ai-chat-cancelled-message-color,var(--ai-chat-cancelled-message-color));font-style:italic}:host .user-message-content{gap:var(--luzmo-spacing-3,8px);flex-direction:column;display:flex}:host .user-message-attachments{gap:var(--luzmo-spacing-2,4px);flex-wrap:wrap;display:flex}:host .user-message-attachment{width:var(--luzmo-ai-chat-user-message-attachment-size,var(--ai-chat-user-message-attachment-size));height:var(--luzmo-ai-chat-user-message-attachment-size,var(--ai-chat-user-message-attachment-size));object-fit:cover;object-position:center;border-radius:var(--luzmo-border-radius-s,4px);pointer-events:none;display:block}:host .user-message-text{white-space:pre-wrap;overflow-wrap:anywhere}:host .markdown-content{line-height:var(--luzmo-ai-chat-markdown-line-height,var(--ai-chat-markdown-line-height))}:host .markdown-content>:first-child{margin-top:0}:host .markdown-content>:last-child{margin-bottom:0}:host .markdown-content p,:host .markdown-content ul,:host .markdown-content ol,:host .markdown-content blockquote,:host .markdown-content pre,:host .markdown-content table{margin:0 0 var(--luzmo-ai-chat-markdown-spacing,var(--ai-chat-markdown-spacing))}:host .markdown-content h1,:host .markdown-content h2,:host .markdown-content h3,:host .markdown-content h4,:host .markdown-content h5,:host .markdown-content h6{margin:var(--luzmo-ai-chat-markdown-heading-spacing,var(--ai-chat-markdown-heading-spacing)) 0 var(--luzmo-ai-chat-markdown-spacing,var(--ai-chat-markdown-spacing));font-weight:var(--luzmo-ai-chat-markdown-heading-font-weight,var(--ai-chat-markdown-heading-font-weight))}:host .markdown-content ul,:host .markdown-content ol{padding-inline-start:var(--luzmo-ai-chat-markdown-list-indent,var(--ai-chat-markdown-list-indent))}:host .markdown-content a{color:var(--luzmo-ai-chat-markdown-link-color,var(--ai-chat-markdown-link-color))}:host .markdown-content code{font-family:var(--luzmo-ai-chat-markdown-code-font-family,var(--ai-chat-markdown-code-font-family));font-size:var(--luzmo-ai-chat-markdown-code-font-size,var(--ai-chat-markdown-code-font-size));background:var(--luzmo-ai-chat-markdown-code-background,var(--ai-chat-markdown-code-background));border-radius:var(--luzmo-ai-chat-markdown-code-border-radius,var(--ai-chat-markdown-code-border-radius));padding:.1em .3em}:host .markdown-content pre{background:var(--luzmo-ai-chat-markdown-code-background,var(--ai-chat-markdown-code-background));border-radius:var(--luzmo-ai-chat-markdown-code-border-radius,var(--ai-chat-markdown-code-border-radius));padding:.75em 1em;overflow-x:auto}:host .markdown-content pre code{background:0 0;padding:0}:host .markdown-content blockquote{border-inline-start:.1875rem solid var(--luzmo-ai-chat-markdown-border-color,var(--ai-chat-markdown-border-color));padding-inline-start:.75rem}:host .markdown-content hr{border:0;border-top:.0625rem solid var(--luzmo-ai-chat-markdown-border-color,var(--ai-chat-markdown-border-color));margin:var(--luzmo-ai-chat-markdown-heading-spacing,var(--ai-chat-markdown-heading-spacing)) 0}:host .markdown-content table{border-collapse:collapse;width:100%}:host .markdown-content th,:host .markdown-content td{border:.0625rem solid var(--luzmo-ai-chat-markdown-border-color,var(--ai-chat-markdown-border-color));text-align:start;padding:.375rem .625rem}:host .markdown-content th{background:var(--luzmo-ai-chat-markdown-table-header-background,var(--ai-chat-markdown-table-header-background));font-weight:600}:host .assistant-message-wrapper{gap:var(--luzmo-ai-chat-assistant-message-actions-margin-top,var(--ai-chat-assistant-message-actions-margin-top));font-family:var(--luzmo-ai-chat-assistant-message-font-family,var(--ai-chat-assistant-message-font-family));font-size:var(--luzmo-ai-chat-assistant-message-font-size,var(--ai-chat-assistant-message-font-size));line-height:var(--luzmo-ai-chat-assistant-message-line-height,var(--ai-chat-assistant-message-line-height));flex-direction:column;display:flex}:host luzmo-chat-message[position=left]{--luzmo-chat-message-font-family:var(--luzmo-ai-chat-assistant-message-font-family,var(--ai-chat-assistant-message-font-family));--luzmo-chat-message-font-size:var(--luzmo-ai-chat-assistant-message-font-size,var(--ai-chat-assistant-message-font-size));--luzmo-chat-message-line-height:var(--luzmo-ai-chat-assistant-message-line-height,var(--ai-chat-assistant-message-line-height))}:host .assistant-message-body{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}:host .assistant-message-actions{align-items:center;gap:var(--luzmo-ai-chat-assistant-message-actions-gap,var(--ai-chat-assistant-message-actions-gap));flex-wrap:wrap;display:none}:host .assistant-message-actions.assistant-message-actions--has-content{display:flex}:host .assistant-message-actions.assistant-message-actions--confirming{flex-direction:column;align-items:flex-start}:host .assistant-message-actions .assistant-message-action-confirm-message{font-style:var(--luzmo-ai-chat-assistant-message-actions-font-style,var(--ai-chat-assistant-message-actions-font-style));color:var(--luzmo-ai-chat-assistant-message-actions-color,var(--ai-chat-assistant-message-actions-color));white-space:pre-line}:host .assistant-message-actions .assistant-message-action-confirm-controls{align-items:center;gap:var(--luzmo-ai-chat-assistant-message-actions-gap,var(--ai-chat-assistant-message-actions-gap));flex-wrap:wrap;display:flex}:host .assistant-message-actions luzmo-button.assistant-message-action,:host .assistant-message-actions slot::slotted(luzmo-button),:host .assistant-message-actions slot::slotted(button),:host .assistant-message-actions slot::slotted(a),:host .assistant-message-actions slot::slotted(input),:host .assistant-message-actions slot::slotted(select),:host .assistant-message-actions slot::slotted(textarea){font-style:normal}:host .assistant-message-actions slot::slotted(:not(luzmo-button):not(button):not(a):not(input):not(select):not(textarea)){font-style:var(--luzmo-ai-chat-assistant-message-actions-font-style,var(--ai-chat-assistant-message-actions-font-style));color:var(--luzmo-ai-chat-assistant-message-actions-color,var(--ai-chat-assistant-message-actions-color))}:host .assistant-context-menu-trigger{width:var(--luzmo-ai-chat-context-menu-trigger-size,var(--ai-chat-context-menu-trigger-size));height:var(--luzmo-ai-chat-context-menu-trigger-size,var(--ai-chat-context-menu-trigger-size));border:.0625rem solid var(--luzmo-ai-chat-context-menu-trigger-border-color,var(--ai-chat-context-menu-trigger-border-color));border-radius:var(--luzmo-ai-chat-context-menu-trigger-border-radius,var(--ai-chat-context-menu-trigger-border-radius));background:var(--luzmo-ai-chat-context-menu-trigger-background,var(--ai-chat-context-menu-trigger-background));color:var(--luzmo-ai-chat-context-menu-trigger-color,var(--ai-chat-context-menu-trigger-color));cursor:pointer;font-size:var(--ai-chat-context-menu-trigger-icon-size);justify-content:center;align-items:center;padding:0;line-height:1;transition:all .15s;display:inline-flex}:host .assistant-context-menu-trigger:hover{background:var(--luzmo-ai-chat-context-menu-trigger-hover-background,var(--ai-chat-context-menu-trigger-hover-background));border-color:var(--luzmo-ai-chat-context-menu-trigger-hover-border-color,var(--ai-chat-context-menu-trigger-hover-border-color));color:var(--luzmo-ai-chat-context-menu-trigger-hover-color,var(--ai-chat-context-menu-trigger-hover-color))}:host .assistant-context-menu-trigger:disabled{cursor:not-allowed;opacity:.6}:host .assistant-context-menu-trigger:disabled:hover{background:var(--luzmo-ai-chat-context-menu-trigger-background,var(--ai-chat-context-menu-trigger-background));border-color:var(--luzmo-ai-chat-context-menu-trigger-border-color,var(--ai-chat-context-menu-trigger-border-color));color:var(--luzmo-ai-chat-context-menu-trigger-color,var(--ai-chat-context-menu-trigger-color))}:host .assistant-context-menu-item{width:100%;color:var(--luzmo-font-color);text-align:start;cursor:pointer;font-family:var(--luzmo-ai-chat-context-menu-item-font-family,var(--ai-chat-context-menu-item-font-family));background:0 0;border:0;padding:.5rem .75rem}:host .assistant-context-menu-item:hover{background:var(--luzmo-ai-chat-context-menu-item-hover-background,var(--ai-chat-context-menu-item-hover-background))}:host .assistant-context-menu-item:disabled{opacity:.4;cursor:not-allowed}:host .assistant-context-menu-item:disabled:hover{background:0 0}:host luzmo-ai-interaction-textarea{flex-grow:0;flex-shrink:0}:host .loading-message{color:var(--luzmo-font-color);align-items:center;gap:.5rem;display:flex}:host .loading-message svg{color:var(--luzmo-ai-chat-loading-message-color,var(--ai-chat-loading-message-color));font-size:var(--luzmo-ai-chat-loading-message-icon-font-size,var(--ai-chat-loading-message-icon-font-size));justify-content:center;align-items:center;display:flex}:host .loading-message svg.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){:host .assistant-context-menu-trigger{transition:none}:host .loading-message svg.spin{animation:none}}:host{--ai-chat-background:var(--luzmo-background-color);--ai-chat-border-radius:0;--ai-chat-padding:0;--ai-chat-gap:var(--luzmo-spacing-5);--ai-chat-border:none;--ai-chat-box-shadow:none;--ai-chat-loading-message-color:var(--luzmo-primary);--ai-chat-loading-message-icon-font-size:var(--luzmo-icon-size-m);--ai-chat-error-message-color:var(--luzmo-danger,#dc3545);--ai-chat-cancelled-message-color:var(--luzmo-font-color-dimmed,var(--luzmo-font-color-extra-dimmed));--ai-chat-scrollbar-width:var(--luzmo-scrollbar-size);--ai-chat-scrollbar-track-background:var(--luzmo-scrollbar-track-background);--ai-chat-scrollbar-track-border-radius:var(--luzmo-scrollbar-track-border-radius);--ai-chat-scrollbar-thumb-background:var(--luzmo-scrollbar-thumb-background);--ai-chat-scrollbar-thumb-border-radius:var(--luzmo-scrollbar-thumb-border-radius);--ai-chat-scrollbar-thumb-hover-background:var(--luzmo-scrollbar-thumb-hover-background);--ai-chat-context-menu-trigger-size:var(--luzmo-component-height-xs);--ai-chat-context-menu-trigger-icon-size:var(--luzmo-icon-size-s);--ai-chat-context-menu-trigger-border-color:var(--luzmo-border-color);--ai-chat-context-menu-trigger-border-radius:.375rem;--ai-chat-context-menu-trigger-background:var(--luzmo-background-color,transparent);--ai-chat-context-menu-trigger-color:var(--luzmo-font-color,#5a5a5a);--ai-chat-context-menu-trigger-hover-background:var(--luzmo-background-color-hover,#4434ff14);--ai-chat-context-menu-trigger-hover-border-color:var(--luzmo-border-color-hover,var(--luzmo-border-color));--ai-chat-context-menu-trigger-hover-color:var(--luzmo-font-color,#5a5a5a);--ai-chat-context-menu-item-hover-background:var(--luzmo-background-color-hover,#4434ff14);--ai-chat-context-menu-item-font-family:var(--luzmo-font-family);--ai-chat-markdown-line-height:1.5;--ai-chat-markdown-spacing:var(--luzmo-spacing-3);--ai-chat-markdown-heading-spacing:var(--luzmo-spacing-4);--ai-chat-markdown-heading-font-weight:var(--luzmo-font-weight-bold);--ai-chat-markdown-list-indent:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-3));--ai-chat-markdown-link-color:var(--luzmo-primary);--ai-chat-markdown-code-font-family:var(--luzmo-font-family-mono,ui-monospace, monospace);--ai-chat-markdown-code-font-size:.875em;--ai-chat-markdown-code-background:var(--luzmo-background-color-highlight);--ai-chat-markdown-code-border-radius:var(--luzmo-border-radius-s);--ai-chat-markdown-border-color:var(--luzmo-border-color);--ai-chat-markdown-table-header-background:var(--luzmo-background-color-highlight);--ai-chat-assistant-message-actions-gap:var(--luzmo-spacing-2);--ai-chat-assistant-message-actions-margin-top:var(--luzmo-spacing-3);--ai-chat-assistant-message-actions-color:var(--luzmo-font-color-extra-dimmed);--ai-chat-assistant-message-actions-font-style:italic;--ai-chat-assistant-message-font-family:var(--luzmo-font-family);--ai-chat-assistant-message-font-size:var(--luzmo-font-size-m);--ai-chat-assistant-message-line-height:var(--ai-chat-markdown-line-height);--ai-chat-user-message-attachment-size:64px}:host([size=s]){--ai-chat-gap:var(--luzmo-spacing-4);--ai-chat-loading-message-icon-font-size:var(--luzmo-icon-size-s);--ai-chat-context-menu-trigger-icon-size:var(--luzmo-icon-size-xs);--ai-chat-assistant-message-font-size:var(--luzmo-font-size-s)}:host([size=l]){--ai-chat-gap:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-2));--ai-chat-loading-message-icon-font-size:var(--luzmo-icon-size-l);--ai-chat-context-menu-trigger-size:var(--luzmo-component-height-s);--ai-chat-context-menu-trigger-icon-size:var(--luzmo-icon-size-m);--ai-chat-assistant-message-font-size:var(--luzmo-font-size-l)}:host([size=xl]){--ai-chat-gap:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-3));--ai-chat-loading-message-icon-font-size:var(--luzmo-icon-size-xl);--ai-chat-context-menu-trigger-size:var(--luzmo-component-height);--ai-chat-context-menu-trigger-icon-size:var(--luzmo-icon-size-l);--ai-chat-assistant-message-font-size:var(--luzmo-font-size-xl)}";
2357
- //#endregion
2358
- //#region src/components/ai-chat/helpers/agent-config.ts
2359
- function An(e, t) {
2360
- if (e.agentConfig) {
2361
- let n = e.agentConfig, r = t ?? An({
2362
- ...e,
2363
- agentConfig: void 0
2364
- });
2365
- return n.context === void 0 && n.type === r.type ? {
2366
- ...r,
2367
- ...n,
2368
- context: r.context
2369
- } : n.context === void 0 ? {
2370
- ...n,
2371
- context: null
2372
- } : n;
2373
- }
2374
- switch (e.agent ?? "item") {
2375
- case "item":
2376
- default: return {
2377
- type: "item",
2378
- context: {
2379
- chart: e.chart,
2380
- task: e.task
2381
- }
2382
- };
2383
- case "dashboard": return {
2384
- type: "dashboard",
2385
- context: {
2386
- dashboard: e.dashboard,
2387
- currentScreenMode: e.currentScreenMode
2388
- }
2389
- };
2390
- case "custom-item": return {
2391
- type: "custom-item",
2392
- context: { customItem: e.customItem }
2393
- };
2394
- case "analyst": return { type: "analyst" };
2395
- }
2396
- }
2397
- function jn(e) {
2398
- return {
2399
- chart: null,
2400
- dashboard: null,
2401
- customItem: null,
2402
- currentScreenMode: void 0,
2403
- task: void 0,
2404
- ...e.context
2405
- };
2406
- }
2407
- //#endregion
2408
- //#region src/components/ai-chat/empty-state/ai-chat-empty-state.module.scss?inline
2409
- var Mn = ":host{box-sizing:border-box;width:100%;min-height:0;padding-block:var(--luzmo-ai-chat-empty-state-padding-block,var(--ai-chat-empty-state-padding-block));padding-inline:var(--luzmo-ai-chat-empty-state-padding-inline,var(--ai-chat-empty-state-padding-inline));flex:1;justify-content:center;align-items:center;display:flex}.empty-state{justify-content:center;align-items:center;gap:var(--luzmo-ai-chat-empty-state-header-actions-gap,var(--ai-chat-empty-state-header-actions-gap));width:100%;max-width:var(--luzmo-ai-chat-empty-state-max-width,var(--ai-chat-empty-state-max-width));text-align:center;flex-direction:column;display:flex}.header{flex-direction:column;align-items:center;width:100%;display:flex}.actions{align-items:center;gap:var(--luzmo-ai-chat-empty-state-actions-gap,var(--ai-chat-empty-state-actions-gap));flex-direction:column;width:100%;display:flex}.title{font-family:var(--luzmo-font-family);font-size:var(--luzmo-ai-chat-empty-state-title-font-size,var(--ai-chat-empty-state-title-font-size));font-weight:var(--luzmo-ai-chat-empty-state-title-font-weight,var(--ai-chat-empty-state-title-font-weight));line-height:var(--luzmo-ai-chat-empty-state-title-line-height,var(--ai-chat-empty-state-title-line-height));color:var(--luzmo-ai-chat-empty-state-title-color,var(--ai-chat-empty-state-title-color));text-wrap:balance;margin:0}.subtitle{font-family:var(--luzmo-font-family);font-size:var(--luzmo-ai-chat-empty-state-subtitle-font-size,var(--ai-chat-empty-state-subtitle-font-size));font-weight:var(--luzmo-ai-chat-empty-state-subtitle-font-weight,var(--ai-chat-empty-state-subtitle-font-weight));line-height:var(--luzmo-ai-chat-empty-state-subtitle-line-height,var(--ai-chat-empty-state-subtitle-line-height));color:var(--luzmo-ai-chat-empty-state-subtitle-color,var(--ai-chat-empty-state-subtitle-color));margin:0}.suggestions{justify-content:center;align-items:center;gap:var(--luzmo-ai-chat-empty-state-suggestions-gap,var(--ai-chat-empty-state-suggestions-gap));flex-wrap:wrap;width:100%;display:flex}luzmo-action-button{max-width:100%}:host{--ai-chat-empty-state-header-actions-gap:1.5rem;--ai-chat-empty-state-actions-gap:var(--luzmo-spacing-4);--ai-chat-empty-state-suggestions-gap:var(--luzmo-spacing-3);--ai-chat-empty-state-max-width:22.5rem;--ai-chat-empty-state-padding-block:2rem;--ai-chat-empty-state-padding-inline:var(--luzmo-spacing-5);--ai-chat-empty-state-title-font-size:var(--luzmo-font-size-l);--ai-chat-empty-state-title-font-weight:var(--luzmo-font-weight);--ai-chat-empty-state-title-line-height:1.4;--ai-chat-empty-state-title-color:var(--luzmo-font-color-hard);--ai-chat-empty-state-subtitle-font-size:var(--luzmo-font-size-s);--ai-chat-empty-state-subtitle-font-weight:var(--luzmo-font-weight);--ai-chat-empty-state-subtitle-line-height:var(--luzmo-line-height);--ai-chat-empty-state-subtitle-color:var(--luzmo-font-color-dimmed,var(--luzmo-font-color-extra-dimmed))}:host([size=s]){--ai-chat-empty-state-title-font-size:var(--luzmo-font-size-m)}:host([size=l]){--ai-chat-empty-state-title-font-size:var(--luzmo-font-size-xl);--ai-chat-empty-state-subtitle-font-size:var(--luzmo-font-size-m)}:host([size=xl]){--ai-chat-empty-state-title-font-size:var(--luzmo-font-size-xxl);--ai-chat-empty-state-subtitle-font-size:var(--luzmo-font-size-l)}", Nn = class extends a(i, { validSizes: [
2410
- "s",
2411
- "m",
2412
- "l",
2413
- "xl"
2414
- ] }) {
2415
- constructor(...e) {
2416
- super(...e), this.title = s("What can I help you with?", { desc: "Title for the AI chat empty state" }), this.subtitle = "", this.suggestions = [], this.disabled = !1;
2417
- }
2418
- static {
2419
- this.styles = p(Mn);
2420
- }
2421
- static {
2422
- this.tagName = "luzmo-ai-chat-empty-state";
2423
- }
2424
- _handleSuggestionActivate(e) {
2425
- if (this.disabled) return;
2426
- let t = e.prompt ?? e.label;
2427
- this.dispatchEvent(new CustomEvent("luzmo-suggestion-selected", {
2428
- detail: {
2429
- label: e.label,
2430
- prompt: t,
2431
- selectedDatasets: e.selectedDatasets
2432
- },
2433
- bubbles: !0,
2434
- composed: !0
2435
- }));
2436
- }
2437
- render() {
2438
- let e = this.suggestions.length > 0;
2439
- return d`
2440
- <section class="empty-state" aria-labelledby="ai-chat-empty-state-title">
2441
- <header class="header">
2442
- <h2 id="ai-chat-empty-state-title" class="title">${this.title}</h2>
2443
- </header>
2444
-
2445
- ${e ? d`
2446
- <div class="actions">
2447
- ${this.subtitle ? d`<p class="subtitle">${this.subtitle}</p>` : f}
2448
- <div
2449
- class="suggestions"
2450
- role="group"
2451
- aria-label=${s("Prompt suggestions", { desc: "Accessible label for the AI chat empty state suggestion list" })}
2452
- >
2453
- ${this.suggestions.map((e) => d`
2454
- <luzmo-action-button
2455
- variant="accent"
2456
- .size=${this.size}
2457
- ?disabled=${this.disabled}
2458
- @click=${() => this._handleSuggestionActivate(e)}
2459
- >
2460
- ${e.label}
2461
- </luzmo-action-button>
2462
- `)}
2463
- </div>
2464
- </div>
2465
- ` : f}
2466
- </section>
2467
- `;
2468
- }
2469
- };
2470
- //#endregion
2471
- //#region src/components/ai-chat/empty-state/index.ts
2472
- o([m({ type: String })], Nn.prototype, "title", void 0), o([m({ type: String })], Nn.prototype, "subtitle", void 0), o([m({ type: Array })], Nn.prototype, "suggestions", void 0), o([m({
2473
- type: Boolean,
2474
- reflect: !0
2475
- })], Nn.prototype, "disabled", void 0), customElements.get("luzmo-ai-chat-empty-state") || customElements.define("luzmo-ai-chat-empty-state", Nn);
2476
- //#endregion
2477
- //#region src/components/ai-chat/helpers/elicitation-template.ts
2478
- var Pn = "answer", Fn = (e) => e.stopPropagation();
2479
- function In(e) {
2480
- let t = e.content?.[Pn];
2481
- return typeof t == "string" ? t : void 0;
2482
- }
2483
- async function Ln(e) {
2484
- e.stopPropagation();
2485
- let t = e.currentTarget;
2486
- await t.updateComplete, t.submit();
2487
- }
2488
- function Rn({ message: e, state: t, size: n, onSubmit: r }) {
2489
- let i = e.elicitation;
2490
- if (!i) return f;
2491
- let a = [{
2492
- id: Pn,
2493
- type: "single",
2494
- title: i.question,
2495
- required: !0,
2496
- options: i.options.map((e) => ({
2497
- value: e,
2498
- label: e
2499
- }))
2500
- }];
2501
- return re(`${e.id}:${t}`, d`
2502
- <luzmo-question-box
2503
- .size=${n}
2504
- .questions=${a}
2505
- .value=${ne([i.answer], () => i.answer ? { [Pn]: i.answer } : {})}
2506
- .labels=${{
2507
- submit: s("Submit", { desc: "Button that sends the chosen answer to an AI agent question" }),
2508
- answerTitle: s("Answer", { desc: "Heading above the answer chosen for an AI agent question" }),
2509
- change: s("Change", { desc: "Button that goes back to pick another answer for an AI agent question" })
2510
- }}
2511
- ?readonly=${t === "answered"}
2512
- ?disabled=${t === "closed"}
2513
- hide-close
2514
- hide-skip
2515
- @luzmo-submit=${r}
2516
- @input=${Fn}
2517
- @change=${Ln}
2518
- @luzmo-cancel=${Fn}
2519
- ></luzmo-question-box>
2520
- `);
2521
- }
2522
- //#endregion
2523
- //#region src/components/ai-chat/ai-chat-request.ts
2524
- function zn(e, t) {
2525
- return `${e.replace(/\/+$/, "")}/${t.replace(/^\/+|\/+$/g, "")}/aiprompt`;
2526
- }
2527
- function Bn(e) {
2528
- return e.type === "placeholder" ? null : {
2529
- ...e,
2530
- version: e.version || "",
2531
- title: e.title || e.options?.title,
2532
- filters: e.filterGroups || [],
2533
- aichartId: e.aichartId || ""
2534
- };
2535
- }
2536
- function Vn(e, t, n = []) {
2537
- return [
2538
- {
2539
- type: "text",
2540
- text: e
2541
- },
2542
- ...t.map((e) => ({
2543
- type: "dataset",
2544
- id: e
2545
- })),
2546
- ...n.map((e) => ({
2547
- type: "image",
2548
- url: e
2549
- }))
2550
- ];
2551
- }
2552
- function Hn(e) {
2553
- return {
2554
- stream: e.stream ?? !0,
2555
- response_mode: "mixed",
2556
- ...e.conversationId ? { conversation_id: e.conversationId } : {},
2557
- ...e.localeId ? { locale_id: e.localeId } : {}
2558
- };
2559
- }
2560
- function Un(e, t, n) {
2561
- return {
2562
- agent: e,
2563
- task: t,
2564
- ...Hn(n)
2565
- };
2566
- }
2567
- function Wn(e) {
2568
- let t = Vn(e.prompt, e.datasetIds, e.attachmentUrls), n = e.chart ? Bn(e.chart) : null;
2569
- return n && t.push({
2570
- type: "item",
2571
- value: n
2572
- }), {
2573
- ...Un("item", e.task ?? "generate", e),
2574
- input: t
2575
- };
2576
- }
2577
- function Gn(e) {
2578
- let t = Vn(e.prompt, e.datasetIds, e.attachmentUrls);
2579
- return e.dashboard && t.push({
2580
- type: "dashboard",
2581
- value: e.dashboard,
2582
- ...e.currentScreenMode ? { current_screen_mode: e.currentScreenMode } : {}
2583
- }), {
2584
- ...Un("dashboard", "generate", e),
2585
- timezone_id: e.timezoneId ?? "UTC",
2586
- input: t
2587
- };
2588
- }
2589
- function Kn(e) {
2590
- return {
2591
- ...Un("analyst", "generate", e),
2592
- input: Vn(e.prompt, e.datasetIds, e.attachmentUrls)
2593
- };
2594
- }
2595
- function qn(e) {
2596
- let t = Vn(e.prompt, [], e.attachmentUrls);
2597
- return e.customItem && t.push({
2598
- type: "custom-item",
2599
- value: e.customItem
2600
- }), {
2601
- ...Un("custom-item", "generate", e),
2602
- text_format: "markdown",
2603
- ...e.internal ? { internal: !0 } : {},
2604
- input: t
2605
- };
2606
- }
2607
- function Jn(e, t) {
2608
- let n = Vn(t.prompt, t.datasetIds, t.attachmentUrls), r = t.chart ? Bn(t.chart) : null;
2609
- return r && n.push({
2610
- type: "item",
2611
- value: r
2612
- }), t.dashboard && n.push({
2613
- type: "dashboard",
2614
- value: t.dashboard,
2615
- ...t.currentScreenMode ? { current_screen_mode: t.currentScreenMode } : {}
2616
- }), {
2617
- agent_id: e,
2618
- ...Hn(t),
2619
- input: n
2620
- };
2621
- }
2622
- function Yn(e, t) {
2623
- if (t.agentId) return Jn(t.agentId, t);
2624
- switch (e) {
2625
- case "dashboard": return Gn(t);
2626
- case "analyst": return Kn(t);
2627
- case "custom-item": return qn(t);
2628
- default: return Wn(t);
2629
- }
2630
- }
2631
- function Xn(e, n) {
2632
- let { authKey: r, authToken: i, apiVersion: a = "0.1.0" } = n;
2633
- return n.attachmentUrls?.length && t(n.attachmentUrls), {
2634
- key: r,
2635
- token: i,
2636
- action: "create",
2637
- version: a,
2638
- properties: Yn(e, n)
2639
- };
2640
- }
2641
- function Zn(e, t, n, r = "0.1.0", i = null) {
2642
- return {
2643
- key: t,
2644
- token: n,
2645
- action: "delete",
2646
- version: r,
2647
- properties: {
2648
- agent: "item",
2649
- restore_to_message_id: e,
2650
- ...i ? { conversation_id: i } : {}
2651
- }
2652
- };
2653
- }
2654
- //#endregion
2655
- //#region src/components/ai-chat/stream/transport.ts
2656
- async function Qn(e) {
2657
- let t = await fetch(e.url, {
2658
- method: "POST",
2659
- headers: { "Content-Type": "application/json" },
2660
- mode: "cors",
2661
- body: JSON.stringify(e.body),
2662
- signal: e.signal
2663
- });
2664
- if (!t.ok) {
2665
- let e = await t.json().catch(() => null);
2666
- throw Error(e?.message || `API request failed with status ${t.status}`);
2667
- }
2668
- if (!t.body) throw Error("Response body is not readable");
2669
- return {
2670
- body: t.body,
2671
- conversationId: t.headers.get("x-conversation-id")
2672
- };
2673
- }
2674
- function $n(e) {
2675
- let t = e.trim();
2676
- if (!t || t.startsWith(":") || t.startsWith("event:") || t.startsWith("id:")) return null;
2677
- let n = t;
2678
- return n.startsWith("data:") && (n = n.slice(5).trimStart()), !n || n === "[DONE]" ? null : JSON.parse(n);
2679
- }
2680
- function er(e, t) {
2681
- try {
2682
- let n = $n(e);
2683
- n && t(n);
2684
- } catch {
2685
- console.error("Failed to parse stream line");
2686
- }
2687
- }
2688
- async function tr(e, t) {
2689
- let n = e.getReader(), r = new TextDecoder(), i = "";
2690
- try {
2691
- for (;;) {
2692
- let { done: e, value: a } = await n.read();
2693
- if (e) break;
2694
- i += r.decode(a, { stream: !0 });
2695
- let o = i.split(/\r?\n/);
2696
- i = o.pop() ?? "";
2697
- for (let e of o) er(e, t);
2698
- }
2699
- i += r.decode();
2700
- let e = i.trim();
2701
- e && er(e, t);
2702
- } finally {
2703
- n.releaseLock();
2704
- }
2705
- }
2706
- //#endregion
2707
- //#region src/components/ai-chat/stream/progress.ts
2708
- function nr() {
2709
- return {
2710
- id: "root",
2711
- step: "root",
2712
- status: "pending",
2713
- children: [{
2714
- id: "client-init",
2715
- step: "iqInit",
2716
- status: "inProgress",
2717
- description: s("Thinking", { desc: "Label shown in the AI chat progress tree while the assistant starts processing a prompt" })
2718
- }]
2719
- };
2720
- }
2721
- function rr(e) {
2722
- let t = e.progress;
2723
- return typeof t != "object" || !t ? !1 : "id" in t && "step" in t && "status" in t;
2724
- }
2725
- //#endregion
2726
- //#region src/components/ai-chat/stream/chunk-extractors.ts
2727
- function ir(e) {
2728
- if (!e || typeof e != "object") return "";
2729
- let t = e.assistant_message;
2730
- if (!t || typeof t != "object") return "";
2731
- if (typeof t.message == "string") return t.message;
2732
- if (typeof t.text == "string") return t.text;
2733
- if (typeof t.summary == "string") return t.summary;
2734
- let n = t.content;
2735
- return typeof n == "string" ? n : n && typeof n == "object" && typeof n.text == "string" ? n.text : "";
2736
- }
2737
- function ar(e) {
2738
- return e.type === "text_delta" && typeof e.delta == "string" ? e.delta : typeof e.text_delta == "string" ? e.text_delta : typeof e.chunk == "string" ? e.chunk : typeof e.message == "string" ? e.message : typeof e.summary == "string" ? e.summary : "";
2739
- }
2740
- function or(e) {
2741
- return ir(e.result);
2742
- }
2743
- function sr(e) {
2744
- return !!e.done || e.type === "finish" || e.type === "done" || "question" in e;
2745
- }
2746
- function cr(e, t) {
2747
- let n = typeof e.conversation_id == "string" && e.conversation_id || typeof e.conversationId == "string" && e.conversationId;
2748
- n && t.callbacks.onConversationIdChange(n);
2749
- }
2750
- function lr(e) {
2751
- for (let t of e) if (t && typeof t == "object" && t.type === "item") {
2752
- let e = t.value;
2753
- if (e && typeof e == "object") return e;
2754
- }
2755
- return null;
2756
- }
2757
- function ur(e) {
2758
- let t = e.chart ?? e.generatedChart;
2759
- if (t && typeof t == "object") return t;
2760
- let n = e.aiMessageAssets ?? e.ai_message_assets;
2761
- if (Array.isArray(n)) {
2762
- let e = lr(n);
2763
- if (e) return e;
2764
- }
2765
- let r = e.result;
2766
- if (r && typeof r == "object") {
2767
- let e = r.assistant_message, t = e?.aiMessageAssets ?? e?.ai_message_assets;
2768
- if (Array.isArray(t)) return lr(t);
2769
- }
2770
- return null;
2771
- }
2772
- function dr(e) {
2773
- for (let t of e) if (t && typeof t == "object" && t.type === "dashboard") {
2774
- let e = t.value;
2775
- if (e && typeof e == "object" && Array.isArray(e.views)) return e;
2776
- }
2777
- return null;
2778
- }
2779
- function fr(e) {
2780
- for (let t of e) if (t && typeof t == "object" && t.type === "dashboard") {
2781
- let e = t.name;
2782
- if (e && typeof e == "object") return e;
2783
- }
2784
- }
2785
- function pr(...e) {
2786
- return e.find(Array.isArray);
2787
- }
2788
- function mr(e) {
2789
- if (e.views && Array.isArray(e.views)) return e;
2790
- let t = e.aiMessageAssets ?? e.ai_message_assets;
2791
- if (Array.isArray(t)) return dr(t);
2792
- let n = e.result;
2793
- if (n && typeof n == "object") {
2794
- let e = n.assistant_message, t = e?.aiMessageAssets ?? e?.ai_message_assets;
2795
- if (Array.isArray(t)) return dr(t);
2796
- }
2797
- return null;
2798
- }
2799
- function hr(e) {
2800
- let t = e.aiMessageAssets ?? e.ai_message_assets, n = e.result?.assistant_message, r = pr(t, n?.aiMessageAssets ?? n?.ai_message_assets);
2801
- return r ? fr(r) : void 0;
2802
- }
2803
- function gr(e) {
2804
- let t = e.result?.assistant_message;
2805
- for (let n of [e.aiMessageAssets ?? e.ai_message_assets, t?.aiMessageAssets ?? t?.ai_message_assets]) if (Array.isArray(n)) {
2806
- for (let e of n) if (e && typeof e == "object" && e.type === "custom-item" && e.value && typeof e.value == "object" && !Array.isArray(e.value)) return e.value;
2807
- }
2808
- return null;
2809
- }
2810
- //#endregion
2811
- //#region src/components/ai-chat/stream/stream-processor.ts
2812
- var _r = /* @__PURE__ */ new Set([
2813
- "conversation-id",
2814
- "conversation_id",
2815
- "keepalive",
2816
- "ping",
2817
- "finish",
2818
- "done"
2819
- ]);
2820
- function vr(e, t, n) {
2821
- return {
2822
- agent: n.agent,
2823
- conversationId: t.callbacks.getConversationId(),
2824
- ...typeof e.messageId == "string" ? { messageId: e.messageId } : {},
2825
- raw: e
2826
- };
2827
- }
2828
- function Q(e, t, n, r, i) {
2829
- let a = {
2830
- ...vr(n, e, t),
2831
- recognized: !0,
2832
- type: r,
2833
- data: i
2834
- };
2835
- e.callbacks.onStep(a);
2836
- }
2837
- function yr(e, t, n, r, i) {
2838
- let a = {
2839
- ...vr(n, e, t),
2840
- recognized: !1,
2841
- type: r,
2842
- data: i
2843
- };
2844
- e.callbacks.onStep(a);
2845
- }
2846
- function br(e) {
2847
- e.state.progressCollapsed || (e.state.progressCollapsed = !0, e.callbacks.onProgressCollapsed(!0));
2848
- }
2849
- function xr(e, t) {
2850
- br(e), e.aiMessage.message = (e.aiMessage.message || "") + t, e.callbacks.onMessageUpdate(e.aiMessage);
2851
- }
2852
- function Sr(e) {
2853
- if (!e) return null;
2854
- let t = e.descriptionMetadata?.decision;
2855
- if (t === "create" || t === "edit" || t === "question") return t;
2856
- for (let t of e.children ?? []) {
2857
- let e = Sr(t);
2858
- if (e) return e;
2859
- }
2860
- return null;
2861
- }
2862
- function Cr(e, t, n) {
2863
- if (!rr(e)) return !1;
2864
- let r = e.progress;
2865
- if (t.callbacks.onProgress(r), Q(t, n, e, "progress", r), t.state.decision === null) {
2866
- let i = Sr(r);
2867
- i && (t.state.decision = i, Q(t, n, e, "decision", { decision: i }));
2868
- }
2869
- return !0;
2870
- }
2871
- function wr(e) {
2872
- return !!e.error || e.type === "error" || typeof e.error_text == "string";
2873
- }
2874
- function Tr(e) {
2875
- return typeof e.error_text == "string" && e.error_text ? e.error_text : typeof e.error == "string" && e.error ? e.error : s("Something went wrong. Please try again.", { desc: "Generic error message shown in ai chat when the API request fails" });
2876
- }
2877
- function Er(e, t, n) {
2878
- if (!wr(e)) return !1;
2879
- let r = Tr(e);
2880
- return t.aiMessage.message = r, t.aiMessage.isError = !0, delete t.aiMessage.elicitation, t.callbacks.onMessageUpdate(t.aiMessage), Xr(e, t, n, e.error ?? r), !0;
2881
- }
2882
- function Dr(e) {
2883
- return typeof e.question == "string" && e.question ? e.question : typeof e.text == "string" && e.text ? e.text : "";
2884
- }
2885
- function Or(e, t, n) {
2886
- if (e.type !== "interrupt") return !1;
2887
- let r = Dr(e);
2888
- return r && (t.state.interruptQuestion = r, xr(t, r), Q(t, n, e, "interrupt", { question: r })), Xr(e, t, n), !0;
2889
- }
2890
- function kr(e) {
2891
- let t = e.elicitation;
2892
- if (!t || typeof t != "object") return null;
2893
- let { question: n, options: r } = t, i = typeof n == "string" ? n.trim() : "", a = Array.isArray(r) ? [...new Set(r.filter((e) => typeof e == "string").map((e) => e.trim()))].filter(Boolean) : [];
2894
- return i && a.length >= 2 ? {
2895
- question: i,
2896
- options: a
2897
- } : null;
2898
- }
2899
- function Ar(e, t, n) {
2900
- if (e.type !== "elicitation") return !1;
2901
- let r = kr(e);
2902
- return r ? (br(t), t.aiMessage.elicitation = r, t.callbacks.onMessageUpdate(t.aiMessage), Q(t, n, e, "elicitation", {
2903
- question: r.question,
2904
- options: r.options
2905
- }), !0) : (yr(t, n, e, "elicitation", e), !0);
2906
- }
2907
- function jr(e) {
2908
- return typeof e.asset_id == "string" ? e.asset_id : typeof e.asset_type == "string" ? e.asset_type : "default";
2909
- }
2910
- function Mr(e) {
2911
- return typeof e.asset_type == "string" ? e.asset_type : "";
2912
- }
2913
- function Nr(e) {
2914
- return {
2915
- assetType: Mr(e),
2916
- snapshot: {}
2917
- };
2918
- }
2919
- function Pr(e, t) {
2920
- return {
2921
- ...e,
2922
- ...t
2923
- };
2924
- }
2925
- function Fr(e) {
2926
- let t = e.asset_delta ?? e.delta;
2927
- return t && typeof t == "object" ? t : null;
2928
- }
2929
- function Ir(e, t) {
2930
- t.state.assets[jr(e)] = Nr(e);
2931
- }
2932
- function Lr(e, t) {
2933
- let n = jr(e), r = t.state.assets[n] ?? Nr(e), i = Fr(e);
2934
- i && (r.snapshot = Pr(r.snapshot, i)), t.state.assets[n] = r;
2935
- }
2936
- function Rr(e, t) {
2937
- let n = e.asset ?? e.value ?? e.asset_delta ?? e.delta;
2938
- return n && typeof n == "object" ? Pr(t?.snapshot ?? {}, n) : t?.snapshot ?? {};
2939
- }
2940
- function zr(e, t, n) {
2941
- let r = jr(e), i = t.state.assets[r], a = i?.assetType || Mr(e), o = Rr(e, i);
2942
- delete t.state.assets[r], Ur(a, o, e, t, n);
2943
- }
2944
- function Br(e, t, n) {
2945
- switch (e.type) {
2946
- case "asset_start": return Ir(e, t), !0;
2947
- case "asset_delta": return Lr(e, t), !0;
2948
- case "asset_end": return zr(e, t, n), !0;
2949
- default: return !1;
2950
- }
2951
- }
2952
- function Vr(e, t, n, r) {
2953
- n.state.chartSnapshot = e, n.aiMessage.hasChart = !0, typeof t.messageId == "string" && (n.aiMessage.apiMessageId = t.messageId), n.callbacks.onMessageUpdate(n.aiMessage), Q(n, r, t, "chart", e);
2954
- }
2955
- function Hr(e, t, n, r) {
2956
- n.state.customItemSnapshot = e, Q(n, r, t, "custom-item", e);
2957
- }
2958
- function Ur(e, t, n, r, i) {
2959
- switch (e) {
2960
- case "dashboard-title": {
2961
- let e = t.name;
2962
- e && typeof e == "object" && (r.state.dashboardName = e, Q(r, i, n, "dashboard-title", { name: e }));
2963
- return;
2964
- }
2965
- case "dashboard-layout":
2966
- Q(r, i, n, "dashboard-layout", t);
2967
- return;
2968
- case "dashboard-item":
2969
- Q(r, i, n, "dashboard-item", {
2970
- slot: Number(t.slot),
2971
- chart: t.chart ?? t
2972
- });
2973
- return;
2974
- case "dashboard":
2975
- r.state.dashboardSnapshot = t;
2976
- return;
2977
- default: Wr(e, t, n, r, i);
2978
- }
2979
- }
2980
- function Wr(e, t, n, r, i) {
2981
- if (i.chartAssetType && e === i.chartAssetType) {
2982
- Vr(t, n, r, i);
2983
- return;
2984
- }
2985
- if (i.dashboardAssetType && e === i.dashboardAssetType) {
2986
- r.state.dashboardSnapshot = t;
2987
- return;
2988
- }
2989
- if (i.customItemAssetType && e === i.customItemAssetType) {
2990
- Hr(t, n, r, i);
2991
- return;
2992
- }
2993
- yr(r, i, n, e || "asset", t);
2994
- }
2995
- function Gr(e, t, n) {
2996
- let r = !1;
2997
- if (n.dashboardAssetType) {
2998
- let n = mr(e);
2999
- if (n) {
3000
- t.state.dashboardSnapshot = n;
3001
- let i = hr(e);
3002
- i && (t.state.dashboardName = i), r = !0;
3003
- }
3004
- }
3005
- if (n.chartAssetType && !t.state.chartSnapshot) {
3006
- let i = ur(e);
3007
- i && (Vr(i, e, t, n), r = !0);
3008
- }
3009
- if (n.customItemAssetType && !t.state.customItemSnapshot) {
3010
- let i = gr(e);
3011
- i && (Hr(i, e, t, n), r = !0);
3012
- }
3013
- return r;
3014
- }
3015
- function Kr(e, t, n) {
3016
- return {
3017
- ...e,
3018
- generatedChart: t,
3019
- conversationId: n.callbacks.getConversationId()
3020
- };
3021
- }
3022
- function qr(e, t, n) {
3023
- for (let r of Object.keys(t.state.assets)) {
3024
- let i = t.state.assets[r];
3025
- delete t.state.assets[r], !(n.chartAssetType && i.assetType === n.chartAssetType && t.state.chartSnapshot || n.dashboardAssetType && i.assetType === n.dashboardAssetType && t.state.dashboardSnapshot || n.customItemAssetType && i.assetType === n.customItemAssetType && t.state.customItemSnapshot) && Ur(i.assetType, i.snapshot, e, t, n);
3026
- }
3027
- }
3028
- function Jr(e, t) {
3029
- let n = or(e);
3030
- !n || t.aiMessage.message === n || (t.aiMessage.message = n, t.callbacks.onMessageUpdate(t.aiMessage));
3031
- }
3032
- function Yr(e, t, n) {
3033
- let r = t.state.dashboardSnapshot ?? (n.dashboardAssetType ? mr(e) : null), i = t.state.chartSnapshot ?? (n.chartAssetType ? ur(e) : null);
3034
- return {
3035
- agent: n.agent,
3036
- conversationId: t.callbacks.getConversationId(),
3037
- message: t.aiMessage,
3038
- ...r ? { dashboard: r } : {},
3039
- ...i ? { chart: Kr(e, i, t) } : {},
3040
- ...t.state.customItemSnapshot ? { customItem: t.state.customItemSnapshot } : {},
3041
- ...t.state.dashboardName ? { name: t.state.dashboardName } : {},
3042
- raw: e
3043
- };
3044
- }
3045
- function Xr(e, t, n, r) {
3046
- if (!t.state.completed) {
3047
- if (t.state.completed = !0, qr(e, t, n), br(t), r !== void 0) {
3048
- t.callbacks.onComplete({
3049
- agent: n.agent,
3050
- conversationId: t.callbacks.getConversationId(),
3051
- message: t.aiMessage,
3052
- error: r,
3053
- raw: e
3054
- });
3055
- return;
3056
- }
3057
- Jr(e, t), t.callbacks.onComplete(Yr(e, t, n));
3058
- }
3059
- }
3060
- function Zr(e) {
3061
- return typeof e.type == "string" && e.type ? e.type : typeof e.asset_type == "string" && e.asset_type ? e.asset_type : "";
3062
- }
3063
- function Qr(e, t, n) {
3064
- let r = ar(e);
3065
- return r ? (t.state.accumulatedText += r, xr(t, r), Q(t, n, e, "text", {
3066
- delta: r,
3067
- text: t.state.accumulatedText
3068
- }), !0) : !1;
3069
- }
3070
- function $r(e, t, n, r, i) {
3071
- if (r || i) return;
3072
- let a = Zr(e);
3073
- a && !_r.has(a) && yr(t, n, e, a, e);
3074
- }
3075
- function ei(e, t, n) {
3076
- if (cr(e, t), Cr(e, t, n) || Er(e, t, n) || Or(e, t, n) || Ar(e, t, n) || Br(e, t, n)) return;
3077
- let r = Qr(e, t, n), i = Gr(e, t, n), a = r || i, o = sr(e);
3078
- $r(e, t, n, a, o), o && Xr(e, t, n);
3079
- }
3080
- //#endregion
3081
- //#region src/components/ai-chat/stream/registry.ts
3082
- function ti(e) {
3083
- switch (e) {
3084
- case "dashboard": return {
3085
- agent: e,
3086
- dashboardAssetType: "dashboard"
3087
- };
3088
- case "item": return {
3089
- agent: e,
3090
- chartAssetType: "item"
3091
- };
3092
- case "custom-item": return {
3093
- agent: e,
3094
- customItemAssetType: "custom-item"
3095
- };
3096
- default: return { agent: e };
3097
- }
3098
- }
3099
- function ni(e) {
3100
- let t = ti(e);
3101
- return (e, n) => ei(e, n, t);
3102
- }
3103
- function ri() {
3104
- return {
3105
- progressCollapsed: !1,
3106
- accumulatedText: "",
3107
- decision: null,
3108
- assets: {},
3109
- dashboardSnapshot: null,
3110
- dashboardName: void 0,
3111
- chartSnapshot: null,
3112
- customItemSnapshot: null,
3113
- interruptQuestion: null,
3114
- completed: !1
3115
- };
3116
- }
3117
- //#endregion
3118
- //#region src/components/ai-chat/session/ai-chat-session.ts
3119
- function ii() {
3120
- return `msg-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;
3121
- }
3122
- var ai = class {
3123
- constructor(e, t = {}) {
3124
- this._uiBridgeCallbacks = {}, this._subscribers = /* @__PURE__ */ new Set(), this._state = {
3125
- messages: [],
3126
- selectedDatasets: [],
3127
- isGenerating: !1,
3128
- progress: null,
3129
- progressCollapsed: !1,
3130
- conversationId: null,
3131
- inflightMessage: null
3132
- }, this._abortController = null, this._inflightMessage = null, this._receivedProgress = !1, this._config = {
3133
- apiUrl: "https://api.luzmo.com",
3134
- apiVersion: "0.1.0",
3135
- stream: !0,
3136
- ...e
3137
- }, e.agentConfig && (this._config.agentConfig = An(e)), this._hostCallbacks = t, this._state = {
3138
- ...this._state,
3139
- messages: e.messages ? [...e.messages] : [],
3140
- selectedDatasets: e.selectedDatasets ? [...e.selectedDatasets] : [],
3141
- conversationId: e.conversationId ?? null,
3142
- isGenerating: e.isGenerating ?? !1,
3143
- progress: e.progress ?? null,
3144
- progressCollapsed: e.progressCollapsed ?? !1
3145
- };
3146
- }
3147
- get state() {
3148
- return this._state;
3149
- }
3150
- get isGenerating() {
3151
- return this._state.isGenerating;
3152
- }
3153
- get agentConfig() {
3154
- return An(this._config);
3155
- }
3156
- subscribe(e) {
3157
- return this._subscribers.add(e), e(this._state), () => {
3158
- this._subscribers.delete(e);
3159
- };
3160
- }
3161
- setUiBridge(e) {
3162
- this._uiBridgeCallbacks = e;
3163
- }
3164
- updateConfig(e) {
3165
- let t = this.agentConfig, n = this._config.agentConfig !== void 0;
3166
- this._config = {
3167
- ...this._config,
3168
- ...e
3169
- }, e.agentConfig && (this._config.agentConfig = An(this._config, t));
3170
- let r = {};
3171
- if ("conversationId" in e) {
3172
- let t = e.conversationId ?? null;
3173
- t !== this._state.conversationId && (r.conversationId = t);
3174
- }
3175
- if ("selectedDatasets" in e && e.selectedDatasets) {
3176
- let t = [...e.selectedDatasets];
3177
- this._areSelectedDatasetsEqual(t, this._state.selectedDatasets) || (r.selectedDatasets = t);
3178
- }
3179
- if ("messages" in e && e.messages) {
3180
- let t = [...e.messages];
3181
- this._areChatMessagesEqual(t, this._state.messages) || (r.messages = t);
3182
- }
3183
- if ("isGenerating" in e && e.isGenerating !== this._state.isGenerating && (r.isGenerating = e.isGenerating), "progress" in e && (r.progress = e.progress ?? null), "progressCollapsed" in e && e.progressCollapsed !== this._state.progressCollapsed && (r.progressCollapsed = e.progressCollapsed), Object.keys(r).length > 0) this._patchState(r);
3184
- else if ("agentConfig" in e && (n || this._config.agentConfig !== void 0)) {
3185
- let e = this.agentConfig;
3186
- (e.type !== t.type || e.context !== t.context) && this._notifySubscribers();
3187
- }
3188
- }
3189
- setSelectedDatasets(e) {
3190
- this._patchState({ selectedDatasets: [...e] }), this._emit("onDatasetsChanged", this._state.selectedDatasets);
3191
- }
3192
- addDataset(e) {
3193
- this._state.selectedDatasets.some((t) => t.id === e.id) || (this._patchState({ selectedDatasets: [...this._state.selectedDatasets, e] }), this._emit("onDatasetsChanged", this._state.selectedDatasets));
3194
- }
3195
- removeDataset(e) {
3196
- let t = this._state.selectedDatasets.filter((t) => t.id !== e);
3197
- t.length !== this._state.selectedDatasets.length && (this._patchState({ selectedDatasets: t }), this._emit("onDatasetsChanged", this._state.selectedDatasets));
3198
- }
3199
- isDatasetRequirementMet(e) {
3200
- return !this._config.requireDataset || this._state.selectedDatasets.length > 0 || !!e;
3201
- }
3202
- getAiPromptUrl() {
3203
- return zn(this._config.apiUrl ?? "https://api.luzmo.com", this._config.apiVersion ?? "0.1.0");
3204
- }
3205
- buildRequestBody(e, t, n = [], r = this._config.agentId, i = {}) {
3206
- return Xn(this.agentConfig.type, {
3207
- prompt: e,
3208
- datasetIds: t,
3209
- authKey: this._config.authKey,
3210
- authToken: this._config.authToken,
3211
- conversationId: this._state.conversationId,
3212
- agentId: r,
3213
- chart: this._config.chart ?? null,
3214
- dashboard: this._config.dashboard ?? null,
3215
- customItem: this._config.customItem ?? null,
3216
- currentScreenMode: this._config.currentScreenMode,
3217
- localeId: this._config.localeId,
3218
- timezoneId: this._config.timezoneId,
3219
- task: this._config.task,
3220
- ...this._config.agentConfig ? jn(this.agentConfig) : {},
3221
- modelPreference: this._config.modelPreference,
3222
- apiVersion: this._config.apiVersion,
3223
- stream: this._config.stream,
3224
- attachmentUrls: n,
3225
- internal: i.internal
3226
- });
3227
- }
3228
- buildPromptSubmittedDetail(e) {
3229
- let t = e.attachmentUrls ?? [];
3230
- return {
3231
- prompt: e.prompt,
3232
- selectedDatasets: e.selectedDatasets,
3233
- datasetIds: e.datasetIds,
3234
- agent: this.agentConfig.type,
3235
- request: this.buildRequestBody(e.prompt, e.datasetIds, t, e.agentId, { internal: e.internal }),
3236
- url: this.getAiPromptUrl(),
3237
- ...e.signal ? { signal: e.signal } : {},
3238
- ...e.attachments?.length ? { attachments: e.attachments } : {},
3239
- ...t.length ? { attachmentUrls: t } : {}
3240
- };
3241
- }
3242
- async _resolveAttachmentUrls(e, i) {
3243
- if (e.attachmentUrls?.length) return t(e.attachmentUrls), [...e.attachmentUrls];
3244
- let a = (e.attachments ?? []).map((e) => e.file).filter((e) => !!e);
3245
- if (a.length === 0) return [];
3246
- r(a);
3247
- let o = this._hostCallbacks.uploadAttachments ?? this._uiBridgeCallbacks.uploadAttachments;
3248
- if (typeof o == "function") return this._normalizeUploadedUrls(await o(a, { signal: i }), a.length);
3249
- let { authKey: s, authToken: c, apiUrl: l = "https://api.luzmo.com", apiVersion: u = "0.1.0" } = this._config;
3250
- if (!s || !c) {
3251
- if (this._hasCallback("onPromptSubmitted")) return [];
3252
- throw Error("Image attachments require authKey/authToken for built-in upload, or provide uploadAttachments / attachmentUrls.");
3253
- }
3254
- return this._normalizeUploadedUrls(await n({
3255
- files: a,
3256
- authKey: s,
3257
- authToken: c,
3258
- apiUrl: l,
3259
- apiVersion: u,
3260
- signal: i
3261
- }), a.length);
3262
- }
3263
- _normalizeUploadedUrls(e, n) {
3264
- let r = Array.isArray(e) ? e.filter((e) => typeof e == "string" && e.trim().length > 0) : [];
3265
- if (r.length !== n) throw Error(`Image upload returned ${r.length} URL(s) for ${n} file(s). Return one non-empty signed URL per file, in the same order.`);
3266
- return t(r), r;
3267
- }
3268
- async submit(e) {
3269
- await this._submit(e);
3270
- }
3271
- async _submit(e) {
3272
- let t = e.datasetIds ?? this._state.selectedDatasets.map((e) => e.id);
3273
- if (!this.isDatasetRequirementMet(e.agentId)) return !1;
3274
- this._abortInflight();
3275
- let n = new AbortController();
3276
- this._abortController = n;
3277
- let r;
3278
- try {
3279
- r = await this._resolveAttachmentUrls(e, n.signal);
3280
- } catch (e) {
3281
- if (this._abortController === n && (this._abortController = null), n.signal.aborted || e.name === "AbortError") return !1;
3282
- throw e;
3283
- }
3284
- if (n.signal.aborted || this._abortController !== n) return !1;
3285
- let i = {
3286
- id: e.aiMessageId ?? ii(),
3287
- type: "ai",
3288
- message: ""
3289
- }, a = [...this._state.messages];
3290
- if (!e.skipUserMessage) {
3291
- let t = {
3292
- id: ii(),
3293
- type: "user",
3294
- message: e.prompt,
3295
- ...r.length ? { attachmentUrls: r } : {}
3296
- };
3297
- a = [...a, t], this._emit("onMessageSent", t, [...this._state.selectedDatasets]);
3298
- }
3299
- a = [...a, i], this._inflightMessage = i, this._receivedProgress = !1, this._patchState({
3300
- messages: a,
3301
- isGenerating: !0,
3302
- progress: nr(),
3303
- progressCollapsed: !1,
3304
- inflightMessage: i
3305
- });
3306
- let o = t, s = [...this._state.selectedDatasets];
3307
- if (this._hasCallback("onPromptSubmitted")) {
3308
- let t = this.buildPromptSubmittedDetail({
3309
- prompt: e.prompt,
3310
- selectedDatasets: s,
3311
- datasetIds: o,
3312
- signal: n.signal,
3313
- attachments: e.attachments,
3314
- attachmentUrls: r,
3315
- agentId: e.agentId,
3316
- internal: e.internal
3317
- });
3318
- try {
3319
- await this._invokeCallback("onPromptSubmitted", t);
3320
- } catch (e) {
3321
- e.name === "AbortError" ? this.abort() : (this._handleSubmitError(e, i, t.agent), this._finalizeInflightMessage()), this._patchState({ isGenerating: !1 });
3322
- }
3323
- return !0;
3324
- }
3325
- let c = this.buildRequestBody(e.prompt, t, r, e.agentId, { internal: e.internal }), l = this.agentConfig.type, u = ni(l), d = {
3326
- aiMessage: i,
3327
- callbacks: this._createStreamCallbacks(),
3328
- state: ri()
3329
- }, f = this._config.fetchStreaming ?? Qn, p = !1;
3330
- try {
3331
- let { body: e, conversationId: t } = await f({
3332
- url: this.getAiPromptUrl(),
3333
- body: c,
3334
- signal: n.signal
3335
- });
3336
- t && this._setConversationId(t), await tr(e, (e) => u(e, d)), p = !0;
3337
- } catch (e) {
3338
- e.name !== "AbortError" && (this._handleSubmitError(e, i, l), p = !0);
3339
- } finally {
3340
- this._abortController === n && (p ? this._finalizeInflightMessage() : this._discardInflightMessage(), this._patchState({ isGenerating: !1 }), this._abortController = null);
3341
- }
3342
- return !0;
3343
- }
3344
- async answerElicitation(e, t, n = {}) {
3345
- let r = this._state.messages.at(-1), i = r?.id === e ? r.elicitation : void 0;
3346
- if (this._state.isGenerating || !i || i.answer || !i.options.includes(t) || !this.isDatasetRequirementMet(n.agentId)) return !1;
3347
- let a = (t) => {
3348
- this._patchState({ messages: this._state.messages.map((n) => n.id === e ? {
3349
- ...n,
3350
- elicitation: {
3351
- ...i,
3352
- answer: t
3353
- }
3354
- } : n) });
3355
- };
3356
- a(t);
3357
- let o = !1;
3358
- try {
3359
- o = await this._submit({
3360
- ...n,
3361
- prompt: t
3362
- });
3363
- } finally {
3364
- o || a(void 0);
3365
- }
3366
- return o;
3367
- }
3368
- async restore(e) {
3369
- let t = this.agentConfig.type;
3370
- if (t !== "item") return {};
3371
- let n = Zn(e.restoreToMessageId, this._config.authKey, this._config.authToken, this._config.apiVersion, this._state.conversationId);
3372
- if (this._patchState({
3373
- isGenerating: !0,
3374
- progress: null,
3375
- progressCollapsed: !1
3376
- }), this._hasCallback("onRestoreRequested")) {
3377
- let t = {
3378
- apiMessageId: e.restoreToMessageId,
3379
- messageIndex: e.messageIndex,
3380
- request: n,
3381
- url: this.getAiPromptUrl()
3382
- };
3383
- try {
3384
- await this._invokeCallback("onRestoreRequested", t);
3385
- } finally {
3386
- this._patchState({ isGenerating: !1 });
3387
- }
3388
- return {};
3389
- }
3390
- try {
3391
- let r = await fetch(this.getAiPromptUrl(), {
3392
- method: "POST",
3393
- headers: { "Content-Type": "application/json" },
3394
- mode: "cors",
3395
- body: JSON.stringify(n)
3396
- });
3397
- if (!r.ok) {
3398
- let e = await r.json().catch(() => null);
3399
- throw Error(e?.message || `API request failed with status ${r.status}`);
3400
- }
3401
- let i = await r.json().catch(() => null), a = i?.generatedChart ?? (i ? ur(i) : null), o = {
3402
- ...typeof i?.message == "string" ? { message: i.message } : {},
3403
- ...a ? { chart: {
3404
- ...i,
3405
- generatedChart: a
3406
- } } : {}
3407
- }, s = e.messageIndex >= 0 && e.messageIndex < this._state.messages.length ? this._state.messages.slice(0, e.messageIndex + 1) : this._state.messages;
3408
- if (o.message && s[e.messageIndex]?.type === "ai" && (s[e.messageIndex] = {
3409
- ...s[e.messageIndex],
3410
- message: o.message
3411
- }), this._patchState({ messages: [...s] }), o.chart || o.message) {
3412
- let n = s[e.messageIndex], r = n?.type === "ai" ? n : {
3413
- id: ii(),
3414
- type: "ai",
3415
- message: o.message ?? ""
3416
- };
3417
- this._emit("onComplete", {
3418
- agent: t,
3419
- conversationId: this._state.conversationId,
3420
- message: r,
3421
- ...o.chart ? { chart: o.chart } : {},
3422
- ...i ? { raw: i } : {}
3423
- });
3424
- }
3425
- return o;
3426
- } finally {
3427
- this._patchState({ isGenerating: !1 });
3428
- }
3429
- }
3430
- buildRestoreRequest(e) {
3431
- return Zn(e, this._config.authKey, this._config.authToken, this._config.apiVersion, this._state.conversationId);
3432
- }
3433
- abort(e = {}) {
3434
- this._abortController?.abort(), this._abortController = null, e.notify && this._inflightMessage ? this._markInflightCancelled(e.cancelledMessage) : this._discardInflightMessage(), this._patchState({
3435
- isGenerating: !1,
3436
- progress: null,
3437
- progressCollapsed: !1
3438
- }), e.notify && this._emit("onPromptStopped");
3439
- }
3440
- _abortInflight() {
3441
- this._abortController?.abort(), this._abortController = null, this._discardInflightMessage();
3442
- }
3443
- _createStreamCallbacks() {
3444
- return {
3445
- onConversationIdChange: (e) => this._setConversationId(e),
3446
- onProgress: (e) => {
3447
- this._receivedProgress = !0, this._patchState({ progress: e });
3448
- },
3449
- onProgressCollapsed: (e) => {
3450
- this._patchState({ progressCollapsed: e });
3451
- },
3452
- onMessageUpdate: (e) => {
3453
- this._inflightMessage = e, this._upsertMessage(e), this._patchState({ inflightMessage: { ...e } });
3454
- },
3455
- getConversationId: () => this._state.conversationId,
3456
- onStep: (e) => {
3457
- this._emit("onStep", e);
3458
- },
3459
- onComplete: (e) => {
3460
- this._emit("onComplete", e);
3461
- }
3462
- };
3463
- }
3464
- _setConversationId(e) {
3465
- this._config = {
3466
- ...this._config,
3467
- conversationId: e
3468
- }, this._patchState({ conversationId: e }), this._emit("onConversationIdChange", e);
3469
- }
3470
- _upsertMessage(e) {
3471
- let t = this._state.messages.findIndex((t) => t.id === e.id);
3472
- if (t === -1) {
3473
- this._patchState({ messages: [...this._state.messages, { ...e }] });
3474
- return;
3475
- }
3476
- let n = this._state.messages.map((n, r) => r === t ? { ...e } : n);
3477
- this._patchState({ messages: n });
3478
- }
3479
- _finalizeInflightMessage() {
3480
- this._inflightMessage && (this._state.progress && this._receivedProgress && (this._inflightMessage.progress = structuredClone(this._state.progress), this._upsertMessage(this._inflightMessage)), this._inflightMessage = null, this._receivedProgress = !1, this._patchState({
3481
- progress: null,
3482
- progressCollapsed: !1,
3483
- inflightMessage: null
3484
- }));
3485
- }
3486
- _removeInflightFromMessages() {
3487
- this._inflightMessage && this._patchState({ messages: this._state.messages.filter((e) => e.id !== this._inflightMessage.id) });
3488
- }
3489
- _markInflightCancelled(e) {
3490
- this._inflightMessage && (this._inflightMessage.message = e ?? s("Response cancelled.", { desc: "Placeholder shown in ai chat where the assistant reply would appear when the user stops an in-flight response" }), this._inflightMessage.isCancelled = !0, this._inflightMessage.hasChart = !1, delete this._inflightMessage.progress, delete this._inflightMessage.elicitation, this._upsertMessage(this._inflightMessage), this._inflightMessage = null, this._receivedProgress = !1, this._patchState({ inflightMessage: null }));
3491
- }
3492
- _discardInflightMessage() {
3493
- let e = !!(this._inflightMessage || this._state.inflightMessage);
3494
- this._removeInflightFromMessages(), this._inflightMessage = null, this._receivedProgress = !1, e && this._patchState({ inflightMessage: null });
3495
- }
3496
- _handleSubmitError(e, t, n) {
3497
- t.message = s("Something went wrong. Please try again.", { desc: "Generic error message shown in ai chat when the API request fails" }), t.isError = !0, delete t.progress, delete t.elicitation, this._inflightMessage = t, this._upsertMessage(t), this._patchState({
3498
- inflightMessage: { ...t },
3499
- progress: null,
3500
- progressCollapsed: !1
3501
- }), this._emit("onComplete", {
3502
- agent: n,
3503
- conversationId: this._state.conversationId,
3504
- message: t,
3505
- error: e
3506
- });
3507
- }
3508
- _hasCallback(e) {
3509
- return typeof this._hostCallbacks[e] == "function" || typeof this._uiBridgeCallbacks[e] == "function";
3510
- }
3511
- _emit(e, ...t) {
3512
- this._invokeCallback(e, ...t);
3513
- }
3514
- async _invokeCallback(e, ...t) {
3515
- let n = this._hostCallbacks[e], r = this._uiBridgeCallbacks[e];
3516
- typeof n == "function" && await n(...t), typeof r == "function" && await r(...t);
3517
- }
3518
- _patchState(e) {
3519
- this._state = {
3520
- ...this._state,
3521
- ...e
3522
- }, this._emit("onStateChange", this._state), this._notifySubscribers();
3523
- }
3524
- _notifySubscribers() {
3525
- for (let e of this._subscribers) e(this._state);
3526
- }
3527
- _areSelectedDatasetsEqual(e, t) {
3528
- return e.length === t.length && e.every((e, n) => e.id === t[n]?.id);
3529
- }
3530
- _areChatMessagesEqual(e, t) {
3531
- return e.length === t.length && e.every((e, n) => {
3532
- let r = t[n];
3533
- return e.id === r?.id && e.apiMessageId === r?.apiMessageId && e.type === r?.type && e.message === r?.message && e.isError === r?.isError && e.isCancelled === r?.isCancelled && e.hasChart === r?.hasChart && JSON.stringify(e.progress ?? null) === JSON.stringify(r?.progress ?? null) && JSON.stringify(e.actions ?? null) === JSON.stringify(r?.actions ?? null) && JSON.stringify(e.attachmentUrls ?? null) === JSON.stringify(r?.attachmentUrls ?? null) && JSON.stringify(e.elicitation ?? null) === JSON.stringify(r?.elicitation ?? null);
3534
- });
3535
- }
3536
- };
3537
- function oi(e, t) {
3538
- return new ai(e, t);
3539
- }
3540
- //#endregion
3541
- //#region src/components/ai-chat/session/ai-chat-session-controller.ts
3542
- var si = class {
3543
- constructor(e) {
3544
- this.options = e, this._session = null, this._ownsSession = !1, this._customItemFromProps = !1, this._seededFromProps = !1, this._unsubscribe = null;
3545
- }
3546
- get current() {
3547
- return this._session;
3548
- }
3549
- get state() {
3550
- if (this._session) return this._session.state;
3551
- let e = this.options.getSeed();
3552
- return {
3553
- messages: e.messages,
3554
- selectedDatasets: e.selectedDatasets,
3555
- isGenerating: !1,
3556
- progress: null,
3557
- progressCollapsed: !1,
3558
- conversationId: e.conversationId,
3559
- inflightMessage: null
3560
- };
3561
- }
3562
- get ownsCurrentSession() {
3563
- return this._ownsSession;
3564
- }
3565
- setSession(e) {
3566
- if (!e) {
3567
- this._clearSession();
3568
- return;
3569
- }
3570
- this._ownsSession && this._session !== e && this._session?.abort(), this._ownsSession = !1, this._session = e, this._mergeHostElementConfig(e), this._wire(e);
3571
- }
3572
- syncProperties(e) {
3573
- if (!e.has("chatSession")) {
3574
- if (this._createSessionIfMissing(), this._session) {
3575
- let t = this.options.getConfig();
3576
- if (Object.keys(t).some((t) => e.has(t)) && (this._ownsSession ? this._session.updateConfig(t) : this._mergeHostElementConfig(this._session)), e.has("selectedDatasets") && this._ownsSession) {
3577
- let e = this.options.getSeed().selectedDatasets, t = this._session.state.selectedDatasets;
3578
- (e.length !== t.length || e.some((e, n) => e.id !== t[n]?.id)) && this._session.updateConfig({ selectedDatasets: e });
3579
- }
3580
- }
3581
- (e.has("messages") || e.has("selectedDatasets")) && this._seedFromPropsOnce();
3582
- }
3583
- }
3584
- requireSession() {
3585
- return this._createSessionIfMissing(), this._ownsSession ? this._session.updateConfig(this.options.getConfig()) : this._session && this._mergeHostElementConfig(this._session), this._session;
3586
- }
3587
- _mergeHostElementConfig(e) {
3588
- let t = this.options.getConfig(), n = {
3589
- authKey: t.authKey,
3590
- authToken: t.authToken,
3591
- apiUrl: t.apiUrl,
3592
- apiVersion: t.apiVersion,
3593
- stream: t.stream,
3594
- localeId: t.localeId,
3595
- timezoneId: t.timezoneId,
3596
- modelPreference: t.modelPreference,
3597
- requireDataset: t.requireDataset,
3598
- agent: t.agent
3599
- };
3600
- t.agentConfig !== void 0 && (n.agentConfig = t.agentConfig), t.task !== void 0 && (n.task = t.task), t.chart != null && (n.chart = t.chart), t.dashboard != null && (n.dashboard = t.dashboard), t.customItem != null && (this._customItemFromProps = !0), this._customItemFromProps && (n.customItem = t.customItem ?? null), t.currentScreenMode != null && (n.currentScreenMode = t.currentScreenMode), t.conversationId != null && (n.conversationId = t.conversationId), e.updateConfig(n);
3601
- }
3602
- connect() {
3603
- this._session && this._wire(this._session);
3604
- }
3605
- teardown() {
3606
- this._unwire(), this._ownsSession &&= (this._session?.abort(), this._session = null, !1), this._seededFromProps = !1;
3607
- }
3608
- _createSessionIfMissing() {
3609
- if (this._session) return;
3610
- let e = this.options.getSeed();
3611
- this._session = oi({
3612
- ...this.options.getConfig(),
3613
- messages: e.messages.length > 0 ? [...e.messages] : void 0,
3614
- selectedDatasets: e.selectedDatasets.length > 0 ? [...e.selectedDatasets] : void 0
3615
- }), this._ownsSession = !0, this._seededFromProps = e.messages.length > 0 || e.selectedDatasets.length > 0, this._wire(this._session);
3616
- }
3617
- _clearSession() {
3618
- this._unwire(), this._ownsSession && this._session?.abort(), this._session = null, this._ownsSession = !1;
3619
- }
3620
- _seedFromPropsOnce() {
3621
- if (!this._ownsSession || this._seededFromProps) return;
3622
- let e = this.requireSession(), t = this.options.getSeed(), n = {};
3623
- e.state.messages.length === 0 && t.messages.length > 0 && (n.messages = [...t.messages]), e.state.selectedDatasets.length === 0 && t.selectedDatasets.length > 0 && (n.selectedDatasets = [...t.selectedDatasets]), Object.keys(n).length > 0 && (e.updateConfig(n), this._seededFromProps = !0);
3624
- }
3625
- _wire(e) {
3626
- this._unwire(), e.setUiBridge(this.options.createDomBridge()), this._unsubscribe = e.subscribe(() => {
3627
- this.options.onRenderNeeded();
3628
- });
3629
- }
3630
- _unwire() {
3631
- this._unsubscribe?.(), this._unsubscribe = null;
3632
- }
3633
- }, $ = class t extends a(i, { validSizes: [
3634
- "s",
3635
- "m",
3636
- "l",
3637
- "xl"
3638
- ] }) {
3639
- constructor(...e) {
3640
- super(...e), this.messages = [], this.selectedDatasets = [], this.placeholder = "Describe your change", this.disabled = !1, this.stoppable = !1, this.showAssistantContextMenu = !1, this.authKey = "", this.authToken = "", this.apiUrl = "https://api.luzmo.com", this.appServer = "https://app.luzmo.com", this.includePublicDatasets = !1, this.hideDatasetButton = !1, this.hideDatasetIcons = !1, this.disableDatasetModification = !1, this.hideSelectedDatasets = !1, this.hideAgents = !1, this.disableColumnMentions = !1, this.requireDataset = !1, this.allowImages = !1, this.allowVoiceInput = !1, this.acceptedFileTypes = [], this.agent = "item", this.task = "generate", this.modelPreference = "performance", this.chatSession = null, this.conversationId = null, this.chart = null, this.dashboard = null, this.customItem = null, this.timezoneId = "UTC", this.apiVersion = "0.1.0", this.stream = !0, this.loadingMessage = null, this.cancelledMessage = null, this.initialPrompt = null, this.emptyStateTitle = "", this.emptyStateSubtitle = "", this.emptyStateSuggestions = [], this._textareaValue = "", this._assistantMessageActionsSlotHasContent = !1, this._pendingAssistantMessageAction = null, this._shouldFocusAssistantMessageActionConfirm = !1, this._lastProcessedInitialPrompt = null, this._session = new si({
3641
- getConfig: () => this._buildSessionConfig(),
3642
- getSeed: () => ({
3643
- messages: this.messages,
3644
- selectedDatasets: Array.isArray(this.selectedDatasets) ? this.selectedDatasets : [],
3645
- conversationId: this.conversationId
3646
- }),
3647
- createDomBridge: () => this._createDomBridgeCallbacks(),
3648
- onRenderNeeded: () => {
3649
- this.requestUpdate(), this.updateComplete.then(() => this._scrollToBottom());
3650
- }
3651
- }), this._handleAssistantMessageActionsSlotChange = (e) => {
3652
- let t = e.target.assignedElements({ flatten: !0 }).length > 0;
3653
- this._setAssistantMessageActionsSlotHasContent(t);
3654
- }, this._handleAssistantMessageActionConfirmKeydown = (e) => {
3655
- e.key !== "Escape" || !this._pendingAssistantMessageAction || (e.preventDefault(), e.stopPropagation(), this._cancelAssistantMessageActionConfirm());
3656
- };
3657
- }
3658
- static {
3659
- this.styles = p(kn);
3660
- }
3661
- static {
3662
- this.tagName = "luzmo-ai-chat";
3663
- }
3664
- static {
3665
- this.assistantMessageActionsSlot = "assistant-message-actions";
3666
- }
3667
- get flagOpendata() {
3668
- return this.includePublicDatasets;
3669
- }
3670
- set flagOpendata(e) {
3671
- this.includePublicDatasets = e;
3672
- }
3673
- get session() {
3674
- return this._session.current;
3675
- }
3676
- _getRenderState() {
3677
- return this._session.state;
3678
- }
3679
- _createDomBridgeCallbacks() {
3680
- return {
3681
- onMessageSent: (e, t) => {
3682
- this.dispatchEvent(new CustomEvent("luzmo-message-sent", {
3683
- detail: {
3684
- message: e,
3685
- selectedDatasets: t
3686
- },
3687
- bubbles: !0,
3688
- composed: !0
3689
- }));
3690
- },
3691
- onDatasetsChanged: (e) => {
3692
- this.dispatchEvent(new CustomEvent("luzmo-datasets-changed", {
3693
- detail: { selectedDatasets: e },
3694
- bubbles: !0,
3695
- composed: !0
3696
- }));
3697
- },
3698
- onConversationIdChange: (e) => this._emitConversationIdChanged(e),
3699
- onStep: (e) => {
3700
- this.dispatchEvent(new CustomEvent("luzmo-step", {
3701
- detail: e,
3702
- bubbles: !0,
3703
- composed: !0
3704
- }));
3705
- },
3706
- onComplete: (e) => {
3707
- this.dispatchEvent(new CustomEvent("luzmo-complete", {
3708
- detail: e,
3709
- bubbles: !0,
3710
- composed: !0
3711
- }));
3712
- },
3713
- onPromptStopped: () => {
3714
- this.dispatchEvent(new CustomEvent("luzmo-stop", {
3715
- bubbles: !0,
3716
- composed: !0
3717
- }));
3718
- },
3719
- ...typeof this.uploadAttachments == "function" ? { uploadAttachments: (e, t) => this.uploadAttachments(e, t) } : {}
3720
- };
3721
- }
3722
- get _pickedAgentId() {
3723
- if (!this.hideAgents) return this.shadowRoot?.querySelector("luzmo-ai-interaction-textarea")?.selectedAgent?.id;
3724
- }
3725
- get _oneSizeSmaller() {
3726
- return {
3727
- s: "xs",
3728
- m: "s",
3729
- l: "m",
3730
- xl: "l"
3731
- }[this.size] ?? "s";
3732
- }
3733
- get _resolvedAcceptedFileTypes() {
3734
- return this.acceptedFileTypes.length > 0 ? this.acceptedFileTypes : this.allowImages ? [...e] : [];
3735
- }
3736
- _buildSessionConfig() {
3737
- return {
3738
- agent: this.agent,
3739
- agentConfig: this.agentConfig,
3740
- agentId: this.agentId,
3741
- authKey: this.authKey,
3742
- authToken: this.authToken,
3743
- apiUrl: this.apiUrl,
3744
- apiVersion: this.apiVersion,
3745
- stream: this.stream,
3746
- conversationId: this.conversationId,
3747
- chart: this.chart,
3748
- dashboard: this.dashboard,
3749
- customItem: this.customItem,
3750
- currentScreenMode: this.currentScreenMode,
3751
- localeId: this.localeId,
3752
- timezoneId: this.timezoneId,
3753
- task: this.task,
3754
- modelPreference: this.modelPreference,
3755
- requireDataset: this.requireDataset
3756
- };
3757
- }
3758
- _getAgentConfig() {
3759
- let e = this._session.current?.agentConfig;
3760
- return this.agentConfig === void 0 && this.chatSession && e ? e : An(this._buildSessionConfig(), e);
3761
- }
3762
- _emitConversationIdChanged(e) {
3763
- this.conversationId = e, this.dispatchEvent(new CustomEvent("luzmo-conversation-id-changed", {
3764
- detail: { conversationId: e },
3765
- bubbles: !0,
3766
- composed: !0
3767
- }));
3768
- }
3769
- async _restoreViaSession(e, t) {
3770
- await this._session.requireSession().restore({
3771
- restoreToMessageId: e,
3772
- messageIndex: t
3773
- });
3774
- }
3775
- async _handleRestoreState(e, t) {
3776
- if (e.apiMessageId && this._getAgentConfig().type === "item") try {
3777
- await this._restoreViaSession(e.apiMessageId, t);
3778
- } catch (e) {
3779
- console.error("AI restore error:", e);
3780
- }
3781
- }
3782
- _handleDatasetSelected(e) {
3783
- this._session.requireSession().addDataset(e.detail);
3784
- }
3785
- _handleDatasetRemoved(e) {
3786
- this._session.requireSession().removeDataset(e.detail.id);
3787
- }
3788
- _handleAgentSelected() {
3789
- this._processInitialPrompt();
3790
- }
3791
- async _submitViaSession(e, t = {}) {
3792
- let n = this._session.requireSession();
3793
- if (!n.isDatasetRequirementMet(t.agentId)) return !1;
3794
- this._textareaValue = "";
3795
- try {
3796
- return await n.submit({
3797
- prompt: e,
3798
- ...t
3799
- }), !0;
3800
- } catch (e) {
3801
- return e.name !== "AbortError" && console.error("AI prompt session error:", e), !1;
3802
- }
3803
- }
3804
- async _handlePromptSubmitted(e) {
3805
- let t = e.detail.prompt;
3806
- await this._submitViaSession(t, {
3807
- ...e.detail.attachments?.length ? { attachments: e.detail.attachments } : {},
3808
- ...e.detail.attachmentUrls?.length ? { attachmentUrls: e.detail.attachmentUrls } : {},
3809
- ...e.detail.selectedAgent ? { agentId: e.detail.selectedAgent.id } : {}
3810
- }) || (this._textareaValue = t);
3811
- }
3812
- _handlePromptStopped() {
3813
- let e = this._session.current;
3814
- if (this._textareaValue = "", e) {
3815
- e.abort({
3816
- notify: !0,
3817
- cancelledMessage: this.cancelledMessage ?? void 0
3818
- });
3819
- return;
3820
- }
3821
- this.dispatchEvent(new CustomEvent("luzmo-stop", {
3822
- bubbles: !0,
3823
- composed: !0
3824
- }));
3825
- }
3826
- async _handleEmptyStateSuggestionSelected(e) {
3827
- let { prompt: t, selectedDatasets: n } = e.detail, r = this._session.requireSession();
3828
- n?.length && r.setSelectedDatasets(n), await this._submitViaSession(t, { agentId: this._pickedAgentId });
3829
- }
3830
- async _processInitialPrompt() {
3831
- if (!this.initialPrompt || this.initialPrompt === this._lastProcessedInitialPrompt) return;
3832
- let e = this._pickedAgentId;
3833
- this._session.requireSession().isDatasetRequirementMet(e) && (this._lastProcessedInitialPrompt = this.initialPrompt, await this._submitViaSession(this.initialPrompt, {
3834
- skipUserMessage: !0,
3835
- agentId: e
3836
- }));
3837
- }
3838
- connectedCallback() {
3839
- super.connectedCallback(), this._session.connect();
3840
- }
3841
- disconnectedCallback() {
3842
- super.disconnectedCallback(), this._session.teardown();
3843
- }
3844
- _scrollToBottom() {
3845
- let e = this.shadowRoot?.querySelector(".chat-messages-container");
3846
- e && requestAnimationFrame(() => {
3847
- requestAnimationFrame(() => {
3848
- e.scrollTop = e.scrollHeight;
3849
- });
3850
- });
3851
- }
3852
- willUpdate(e) {
3853
- super.willUpdate?.(e), this._syncPendingAssistantMessageAction();
3854
- }
3855
- updated(e) {
3856
- super.updated?.(e), this._syncSession(e), this._handleInitialPromptChange(), e.has("uploadAttachments") && this._session.current?.setUiBridge(this._createDomBridgeCallbacks()), this.updateComplete.then(() => {
3857
- this._syncAssistantMessageActionsVisibility(), this._focusPendingAssistantMessageActionConfirm();
3858
- });
3859
- }
3860
- _syncSession(e) {
3861
- if (e.has("chatSession")) {
3862
- this._session.setSession(this.chatSession);
3863
- return;
3864
- }
3865
- this._session.syncProperties(e);
3866
- }
3867
- _handleInitialPromptChange() {
3868
- this.initialPrompt && this.initialPrompt !== this._lastProcessedInitialPrompt ? this._processInitialPrompt() : this.initialPrompt || (this._lastProcessedInitialPrompt = null);
3869
- }
3870
- _renderMarkdown(e) {
3871
- let t = String(Z.parse(e, { async: !1 }));
3872
- return yt.sanitize(t, {
3873
- ALLOWED_TAGS: /* @__PURE__ */ "p.br.strong.em.b.i.u.s.code.pre.blockquote.hr.ul.ol.li.h1.h2.h3.h4.h5.h6.table.thead.tbody.tr.th.td.a".split("."),
3874
- ALLOWED_ATTR: [
3875
- "href",
3876
- "title",
3877
- "target",
3878
- "rel"
3879
- ],
3880
- ALLOW_DATA_ATTR: !1,
3881
- FORBID_TAGS: [
3882
- "script",
3883
- "style",
3884
- "iframe",
3885
- "object",
3886
- "embed",
3887
- "link",
3888
- "form",
3889
- "input",
3890
- "button"
3891
- ],
3892
- FORBID_ATTR: [
3893
- "onerror",
3894
- "onload",
3895
- "onclick",
3896
- "onmouseover",
3897
- "onfocus",
3898
- "onblur"
3899
- ]
3900
- });
3901
- }
3902
- _renderProgress() {
3903
- let { progress: e, progressCollapsed: t } = this._getRenderState();
3904
- return e?.children?.length ? d`
3905
- <luzmo-progress-steps
3906
- .progress=${e}
3907
- ?collapsed=${t}
3908
- .size=${this.size}
3909
- ></luzmo-progress-steps>
3910
- ` : f;
3911
- }
3912
- _isLastAiMessageWithProgress(e, t) {
3913
- for (let n = t.length - 1; n >= 0; n--) if (t[n].type === "ai" && t[n].progress?.children?.length) return t[n].id === e.id;
3914
- return !1;
3915
- }
3916
- _syncAssistantMessageActionsVisibility() {
3917
- let e = ((this.shadowRoot?.querySelector(`slot[name="${t.assistantMessageActionsSlot}"]`) ?? null)?.assignedElements({ flatten: !0 }).length ?? 0) > 0;
3918
- this._setAssistantMessageActionsSlotHasContent(e);
3919
- }
3920
- _setAssistantMessageActionsSlotHasContent(e) {
3921
- e !== this._assistantMessageActionsSlotHasContent && (this._assistantMessageActionsSlotHasContent = e);
3922
- }
3923
- _isLatestAssistantMessage(e, t) {
3924
- return !!(t && e === t);
3925
- }
3926
- _hasBuiltInAssistantMessageActions(e) {
3927
- return (e.actions?.length ?? 0) > 0;
3928
- }
3929
- _assistantMessageActionsFooterHasContent(e, t) {
3930
- return this._hasBuiltInAssistantMessageActions(e) || t && this._assistantMessageActionsSlotHasContent;
3931
- }
3932
- _syncPendingAssistantMessageAction() {
3933
- let e = this._pendingAssistantMessageAction;
3934
- if (!e) return;
3935
- let { messages: t } = this._getRenderState(), n = t.find((t) => t.id === e.messageId), r = n?.actions?.find((t) => t.id === e.actionId);
3936
- (!n || !r?.confirm) && (this._pendingAssistantMessageAction = null, this._shouldFocusAssistantMessageActionConfirm = !1);
3937
- }
3938
- _getDefaultAssistantMessageActionConfirmMessage() {
3939
- return s("Are you sure?", { desc: "Default assistant message action confirmation prompt" });
3940
- }
3941
- _isAssistantMessageActionConfirming(e) {
3942
- let t = this._pendingAssistantMessageAction, n = e.id;
3943
- return !!(t && n && t.messageId === n);
3944
- }
3945
- _getPendingAssistantMessageAction(e) {
3946
- let t = this._pendingAssistantMessageAction, n = e.id;
3947
- if (!(!t || !n || t.messageId !== n)) return e.actions?.find((e) => e.id === t.actionId);
3948
- }
3949
- _handleAssistantMessageAction(e, t) {
3950
- let n = e.id;
3951
- n && this.dispatchEvent(new CustomEvent("luzmo-assistant-message-action", {
3952
- detail: {
3953
- messageId: n,
3954
- actionId: t.id,
3955
- message: e
3956
- },
3957
- bubbles: !0,
3958
- composed: !0
3959
- }));
3960
- }
3961
- _handleAssistantMessageActionClick(e, t) {
3962
- let n = e.id;
3963
- if (n) {
3964
- if (t.confirm) {
3965
- this._pendingAssistantMessageAction = {
3966
- messageId: n,
3967
- actionId: t.id
3968
- }, this._shouldFocusAssistantMessageActionConfirm = !0;
3969
- return;
3970
- }
3971
- this._handleAssistantMessageAction(e, t);
3972
- }
3973
- }
3974
- _cancelAssistantMessageActionConfirm() {
3975
- this._pendingAssistantMessageAction = null, this._shouldFocusAssistantMessageActionConfirm = !1;
3976
- }
3977
- _confirmAssistantMessageAction(e, t) {
3978
- this._pendingAssistantMessageAction = null, this._shouldFocusAssistantMessageActionConfirm = !1, this._handleAssistantMessageAction(e, t);
3979
- }
3980
- _focusPendingAssistantMessageActionConfirm() {
3981
- !this._shouldFocusAssistantMessageActionConfirm || !this._pendingAssistantMessageAction || (this._shouldFocusAssistantMessageActionConfirm = !1, (this.shadowRoot?.querySelector("luzmo-button.assistant-message-action-confirm-cancel"))?.focus?.());
3982
- }
3983
- _renderBuiltInAssistantMessageAction(e, t) {
3984
- let n = this.disabled || t.disabled || !e.id;
3985
- return d`
3986
- <luzmo-button
3987
- class="assistant-message-action"
3988
- .size=${this._oneSizeSmaller}
3989
- variant="neutral"
3990
- treatment="outline"
3991
- ?disabled=${n}
3992
- @click=${() => this._handleAssistantMessageActionClick(e, t)}
3993
- >
3994
- ${t.icon ? d`<luzmo-icon slot="icon" .icon=${t.icon} .size=${this._oneSizeSmaller}></luzmo-icon>` : f}
3995
- ${t.label}
3996
- </luzmo-button>
3997
- `;
3998
- }
3999
- _renderAssistantMessageActionConfirm(e) {
4000
- let t = this._getPendingAssistantMessageAction(e);
4001
- if (!t) return f;
4002
- let n = t.confirmMessage ?? this._getDefaultAssistantMessageActionConfirmMessage(), r = this.disabled || t.disabled || !e.id;
4003
- return d`
4004
- <span class="assistant-message-action-confirm-message" role="status" aria-live="polite">${n}</span>
4005
- <div class="assistant-message-action-confirm-controls">
4006
- <luzmo-button
4007
- class="assistant-message-action-confirm-cancel"
4008
- .size=${this._oneSizeSmaller}
4009
- variant="neutral"
4010
- treatment="outline"
4011
- ?disabled=${this.disabled}
4012
- @click=${this._cancelAssistantMessageActionConfirm}
4013
- >
4014
- ${s("Cancel", { desc: "Cancel assistant message action confirmation" })}
4015
- </luzmo-button>
4016
- <luzmo-button
4017
- class="assistant-message-action-confirm-confirm"
4018
- .size=${this._oneSizeSmaller}
4019
- variant=${t.confirmVariant ?? "negative"}
4020
- ?disabled=${r}
4021
- @click=${() => this._confirmAssistantMessageAction(e, t)}
4022
- >
4023
- ${t.label}
4024
- </luzmo-button>
4025
- </div>
4026
- `;
4027
- }
4028
- _renderAssistantMessageActions(e, n) {
4029
- let r = e.actions ?? [], i = r.length > 0, a = this._isLatestAssistantMessage(e, n), o = this._isAssistantMessageActionConfirming(e);
4030
- return !i && !a ? f : d`
4031
- <div
4032
- class="assistant-message-actions ${this._assistantMessageActionsFooterHasContent(e, a) ? "assistant-message-actions--has-content" : ""} ${o ? "assistant-message-actions--confirming" : ""}"
4033
- @keydown=${o ? this._handleAssistantMessageActionConfirmKeydown : f}
4034
- >
4035
- ${o ? this._renderAssistantMessageActionConfirm(e) : d`
4036
- ${r.map((t) => this._renderBuiltInAssistantMessageAction(e, t))}
4037
- ${a ? d`
4038
- <slot
4039
- name=${t.assistantMessageActionsSlot}
4040
- @slotchange=${this._handleAssistantMessageActionsSlotChange}
4041
- ></slot>
4042
- ` : f}
4043
- `}
4044
- </div>
4045
- `;
4046
- }
4047
- _renderRestoreMenu(e, t, n, r = !1) {
4048
- if (!(this._getAgentConfig().type === "item" && this.showAssistantContextMenu && e.hasChart && e.apiMessageId && !e.isError && e.id !== n)) return f;
4049
- let i = `context-menu-trigger-${e.apiMessageId}`;
4050
- return d`
4051
- <div class="assistant-context-menu">
4052
- <button
4053
- id=${i}
4054
- class="assistant-context-menu-trigger"
4055
- type="button"
4056
- aria-label=${s("Open restore menu", { desc: "Accessible label for the ai chat restore menu trigger" })}
4057
- aria-haspopup="menu"
4058
- ?disabled=${r}
4059
- >
4060
- ${l(c)}
4061
- </button>
4062
- <luzmo-overlay
4063
- trigger="${i}@click"
4064
- placement="bottom-end"
4065
- >
4066
- <luzmo-popover>
4067
- <button
4068
- class="assistant-context-menu-item"
4069
- type="button"
4070
- ?disabled=${r}
4071
- @click=${() => this._handleRestoreState(e, t)}
4072
- >
4073
- ${s("Restore state", { desc: "Context menu action that restores the chart to this message state" })}
4074
- </button>
4075
- </luzmo-popover>
4076
- </luzmo-overlay>
4077
- </div>
4078
- `;
4079
- }
4080
- _renderMessages() {
4081
- let { messages: e, inflightMessage: t, isGenerating: n } = this._getRenderState(), r = t !== null, i = e.filter((e) => !t || e.id !== t.id), a = [...i].reverse().find((e) => e.type === "ai"), o = a?.id;
4082
- return i.map((t) => {
4083
- let c = !!t.progress?.children?.length, l = c && this._isLastAiMessageWithProgress(t, i), u = c && (r || n || !l), p = c ? d`
4084
- <luzmo-progress-steps
4085
- .progress=${t.progress}
4086
- ?condensed=${u}
4087
- collapsed
4088
- no-animate
4089
- .size=${this.size}
4090
- ></luzmo-progress-steps>
4091
- ` : f;
4092
- if (t.type === "user") {
4093
- let e = t.attachmentUrls ?? [];
4094
- return d`
4095
- <luzmo-chat-message
4096
- avatar-placement="bottom"
4097
- position="right"
4098
- variant="primary"
4099
- .size=${this.size}
4100
- >
4101
- <div class="user-message-content">
4102
- ${e.length > 0 ? d`
4103
- <div class="user-message-attachments">
4104
- ${e.map((e) => d`
4105
- <img
4106
- class="user-message-attachment"
4107
- src=${e}
4108
- alt=${s("Attached image", { desc: "Accessible label for an image attached to a user chat message" })}
4109
- width="64"
4110
- height="64"
4111
- />
4112
- `)}
4113
- </div>
4114
- ` : f}
4115
- <div class="user-message-text">${t.message}</div>
4116
- </div>
4117
- </luzmo-chat-message>
4118
- `;
4119
- }
4120
- let m = e.indexOf(t), ee = t.isError ? "error" : t.isCancelled ? "cancelled" : "", ne = !!t.elicitation && (!t.message.trim() || t.message.trim() === t.elicitation?.question), re = t.isCancelled ? t.message : ne ? f : d`<div class="markdown-content">${te(this._renderMarkdown(t.message))}</div>`;
4121
- return d`
4122
- ${p}
4123
- <div class="assistant-message-wrapper">
4124
- <div class="assistant-message-body">
4125
- <luzmo-chat-message
4126
- class=${ee}
4127
- role=${t.isError ? "alert" : f}
4128
- avatar-placement="bottom"
4129
- position="left"
4130
- quiet
4131
- .size=${this.size}
4132
- >
4133
- ${re}
4134
- ${Rn({
4135
- message: t,
4136
- size: this.size,
4137
- state: t.elicitation?.answer ? "answered" : t.id && t === i.at(-1) && !n && !this.disabled ? "open" : "closed",
4138
- onSubmit: (e) => this._handleElicitationSubmit(t, e)
4139
- })}
4140
- </luzmo-chat-message>
4141
-
4142
- ${this._renderRestoreMenu(t, m, o, r)}
4143
- </div>
4144
-
4145
- ${this._renderAssistantMessageActions(t, a)}
4146
- </div>
4147
- `;
4148
- });
4149
- }
4150
- async _handleElicitationSubmit(e, t) {
4151
- t.stopPropagation();
4152
- let n = t.currentTarget, r = n.parentElement, i = In(t.detail), a = !1;
4153
- if (e.id && i) try {
4154
- let t = this._session.requireSession().answerElicitation(e.id, i, { agentId: this._pickedAgentId });
4155
- await this.updateComplete;
4156
- let n = r?.querySelector("luzmo-question-box[readonly]");
4157
- await n?.updateComplete, n?.focus(), a = await t;
4158
- } catch (e) {
4159
- e.name !== "AbortError" && console.error("AI prompt session error:", e);
4160
- }
4161
- a || (n.reset(), await n.updateComplete, n.focus());
4162
- }
4163
- _renderStreamingResponse() {
4164
- let { inflightMessage: e } = this._getRenderState();
4165
- return e?.message ? d`
4166
- <luzmo-chat-message
4167
- avatar-placement="bottom"
4168
- position="left"
4169
- quiet
4170
- .size=${this.size}
4171
- >
4172
- <div class="markdown-content">${te(this._renderMarkdown(e.message))}</div>
4173
- </luzmo-chat-message>
4174
- ` : f;
4175
- }
4176
- _renderLoadingMessage() {
4177
- let { isGenerating: e, progress: t, inflightMessage: n } = this._getRenderState();
4178
- if (!e || t?.children?.length || n?.message) return f;
4179
- let r = this._getAgentConfig(), i = jn(r), a = r.type === "dashboard" ? !i.dashboard : i.chart?.type === "placeholder", o = r.type === "dashboard" ? a ? s("Creating dashboard...", { desc: "Label for ai chat creating dashboard message" }) : s("Updating dashboard...", { desc: "Label for ai chat updating dashboard message" }) : a ? s("Creating item...", { desc: "Label for ai chat creating item message" }) : s("Updating item...", { desc: "Label for ai chat updating item message" });
4180
- return d`
4181
- <luzmo-chat-message
4182
- avatar-placement="bottom"
4183
- position="left"
4184
- quiet
4185
- .size=${this.size}
4186
- >
4187
- <div class="loading-message" role="status" aria-live="polite">
4188
- <span class="icon-lg">${l(u, { className: "spin" })}</span>
4189
- <span class="loading-message-text">${this.loadingMessage || o}</span>
4190
- </div>
4191
- </luzmo-chat-message>
4192
- `;
4193
- }
4194
- _renderEmptyState() {
4195
- if (this._getRenderState().messages.length > 0) return f;
4196
- let e = s("What can I help you with?", { desc: "Title for the AI chat empty state" }), t = this.emptyStateSuggestions.length > 0;
4197
- return d`
4198
- <luzmo-ai-chat-empty-state
4199
- .title=${this.emptyStateTitle || e}
4200
- .subtitle=${t ? this.emptyStateSubtitle : ""}
4201
- .suggestions=${this.emptyStateSuggestions}
4202
- .size=${this.size}
4203
- ?disabled=${this.disabled || this._getRenderState().isGenerating}
4204
- @luzmo-suggestion-selected=${this._handleEmptyStateSuggestionSelected}
4205
- ></luzmo-ai-chat-empty-state>
4206
- `;
4207
- }
4208
- render() {
4209
- let { selectedDatasets: e, isGenerating: t } = this._getRenderState();
4210
- return d`
4211
- <div class="chat-container" role="region" aria-label=${s("AI Chat", { desc: "Accessible label for AI chat region" })}>
4212
- <div class="chat-messages-container" role="log" aria-live="polite">
4213
- ${this._renderEmptyState()}
4214
- ${this._renderMessages()}
4215
- ${this._renderProgress()}
4216
- ${this._renderStreamingResponse()}
4217
- ${this._renderLoadingMessage()}
4218
- </div>
4219
-
4220
- <luzmo-ai-interaction-textarea
4221
- role="group"
4222
- aria-label=${s("AI prompt input", { desc: "Accessible label for the ai chat prompt input area" })}
4223
- .size=${this.size}
4224
- .value=${this._textareaValue}
4225
- .selectedDatasets=${e}
4226
- .placeholder=${this.placeholder}
4227
- ?disabled=${this.disabled}
4228
- ?is-generating=${t}
4229
- ?stoppable=${this.stoppable}
4230
- ?hide-dataset-button=${this.hideDatasetButton}
4231
- ?hide-dataset-icons=${this.hideDatasetIcons}
4232
- ?disable-dataset-modification=${this.disableDatasetModification}
4233
- ?hide-selected-datasets=${this.hideSelectedDatasets}
4234
- ?hide-agents=${this.hideAgents}
4235
- ?disable-column-mentions=${this.disableColumnMentions}
4236
- ?require-dataset=${this.requireDataset}
4237
- ?allow-images=${this.allowImages}
4238
- ?allow-voice-input=${this.allowVoiceInput}
4239
- .acceptedFileTypes=${this._resolvedAcceptedFileTypes}
4240
- .uploadAttachments=${this.uploadAttachments}
4241
- auth-key=${this.authKey}
4242
- auth-token=${this.authToken}
4243
- api-url=${this.apiUrl}
4244
- api-version=${this.apiVersion}
4245
- app-server=${this.appServer}
4246
- ?include-public-datasets=${this.includePublicDatasets}
4247
- @prompt-submitted=${this._handlePromptSubmitted}
4248
- @prompt-stopped=${this._handlePromptStopped}
4249
- @dataset-selected=${this._handleDatasetSelected}
4250
- @dataset-removed=${this._handleDatasetRemoved}
4251
- @luzmo-agent-selected=${this._handleAgentSelected}
4252
- ></luzmo-ai-interaction-textarea>
4253
- </div>
4254
- `;
4255
- }
4256
- };
4257
- o([m({ type: Array })], $.prototype, "messages", void 0), o([m({
4258
- type: Array,
4259
- attribute: "selected-datasets"
4260
- })], $.prototype, "selectedDatasets", void 0), o([m({ type: String })], $.prototype, "placeholder", void 0), o([m({
4261
- type: Boolean,
4262
- reflect: !0
4263
- })], $.prototype, "disabled", void 0), o([m({
4264
- type: Boolean,
4265
- reflect: !0
4266
- })], $.prototype, "stoppable", void 0), o([m({
4267
- type: Boolean,
4268
- attribute: "show-assistant-context-menu"
4269
- })], $.prototype, "showAssistantContextMenu", void 0), o([m({
4270
- type: String,
4271
- attribute: "auth-key"
4272
- })], $.prototype, "authKey", void 0), o([m({
4273
- type: String,
4274
- attribute: "auth-token"
4275
- })], $.prototype, "authToken", void 0), o([m({
4276
- type: String,
4277
- attribute: "api-url"
4278
- })], $.prototype, "apiUrl", void 0), o([m({
4279
- type: String,
4280
- attribute: "app-server"
4281
- })], $.prototype, "appServer", void 0), o([m({
4282
- type: Boolean,
4283
- reflect: !0,
4284
- attribute: "include-public-datasets"
4285
- })], $.prototype, "includePublicDatasets", void 0), o([m({
4286
- type: Boolean,
4287
- attribute: "flag-opendata"
4288
- })], $.prototype, "flagOpendata", null), o([m({
4289
- type: Boolean,
4290
- attribute: "hide-dataset-button"
4291
- })], $.prototype, "hideDatasetButton", void 0), o([m({
4292
- type: Boolean,
4293
- attribute: "hide-dataset-icons"
4294
- })], $.prototype, "hideDatasetIcons", void 0), o([m({
4295
- type: Boolean,
4296
- attribute: "disable-dataset-modification"
4297
- })], $.prototype, "disableDatasetModification", void 0), o([m({
4298
- type: Boolean,
4299
- attribute: "hide-selected-datasets"
4300
- })], $.prototype, "hideSelectedDatasets", void 0), o([m({
4301
- type: Boolean,
4302
- reflect: !0,
4303
- attribute: "hide-agents"
4304
- })], $.prototype, "hideAgents", void 0), o([m({
4305
- type: Boolean,
4306
- attribute: "disable-column-mentions"
4307
- })], $.prototype, "disableColumnMentions", void 0), o([m({
4308
- type: Boolean,
4309
- attribute: "require-dataset"
4310
- })], $.prototype, "requireDataset", void 0), o([m({
4311
- type: Boolean,
4312
- reflect: !0,
4313
- attribute: "allow-images"
4314
- })], $.prototype, "allowImages", void 0), o([m({
4315
- type: Boolean,
4316
- reflect: !0,
4317
- attribute: "allow-voice-input"
4318
- })], $.prototype, "allowVoiceInput", void 0), o([m({
4319
- type: Array,
4320
- attribute: "accepted-file-types"
4321
- })], $.prototype, "acceptedFileTypes", void 0), o([m({ attribute: !1 })], $.prototype, "uploadAttachments", void 0), o([m({ type: String })], $.prototype, "agent", void 0), o([m({ attribute: !1 })], $.prototype, "agentConfig", void 0), o([m({
4322
- type: String,
4323
- attribute: "agent-id"
4324
- })], $.prototype, "agentId", void 0), o([m({ type: String })], $.prototype, "task", void 0), o([m({
4325
- type: String,
4326
- attribute: "model-preference"
4327
- })], $.prototype, "modelPreference", void 0), o([m({ attribute: !1 })], $.prototype, "chatSession", void 0), o([m({
4328
- type: String,
4329
- attribute: "conversation-id"
4330
- })], $.prototype, "conversationId", void 0), o([m({
4331
- type: Object,
4332
- attribute: "chart"
4333
- })], $.prototype, "chart", void 0), o([m({ type: Object })], $.prototype, "dashboard", void 0), o([m({ attribute: !1 })], $.prototype, "customItem", void 0), o([m({
4334
- type: String,
4335
- attribute: "current-screen-mode"
4336
- })], $.prototype, "currentScreenMode", void 0), o([m({
4337
- type: String,
4338
- attribute: "locale-id"
4339
- })], $.prototype, "localeId", void 0), o([m({
4340
- type: String,
4341
- attribute: "timezone-id"
4342
- })], $.prototype, "timezoneId", void 0), o([m({
4343
- type: String,
4344
- attribute: "api-version"
4345
- })], $.prototype, "apiVersion", void 0), o([m({ converter: { fromAttribute: (e) => e !== "false" && e !== null } })], $.prototype, "stream", void 0), o([m({
4346
- type: String,
4347
- attribute: "loading-message"
4348
- })], $.prototype, "loadingMessage", void 0), o([m({
4349
- type: String,
4350
- attribute: "cancelled-message"
4351
- })], $.prototype, "cancelledMessage", void 0), o([m({
4352
- type: String,
4353
- attribute: "initial-prompt"
4354
- })], $.prototype, "initialPrompt", void 0), o([m({
4355
- type: String,
4356
- attribute: "empty-state-title"
4357
- })], $.prototype, "emptyStateTitle", void 0), o([m({
4358
- type: String,
4359
- attribute: "empty-state-subtitle"
4360
- })], $.prototype, "emptyStateSubtitle", void 0), o([m({
4361
- type: Array,
4362
- attribute: !1
4363
- })], $.prototype, "emptyStateSuggestions", void 0), o([ee()], $.prototype, "_textareaValue", void 0), o([ee()], $.prototype, "_assistantMessageActionsSlotHasContent", void 0), o([ee()], $.prototype, "_pendingAssistantMessageAction", void 0);
4364
- //#endregion
4365
- //#region src/components/ai-chat/ai-chat-events.ts
4366
- function ci(e) {
4367
- return e.recognized === !0;
4368
- }
4369
- //#endregion
4370
- //#region src/components/ai-chat/index.ts
4371
- customElements.get("luzmo-ai-chat") || customElements.define("luzmo-ai-chat", $);
4372
- //#endregion
4373
- export { Wn as C, Nn as D, zn as E, Gn as S, Bn as T, Zn as _, oi as a, Kn as b, ti as c, mr as d, nr as f, tr as g, $n as h, ai as i, ei as l, Qn as m, $ as n, ri as o, rr as p, si as r, ni as s, ci as t, ur as u, Yn as v, Jn as w, qn as x, Xn as y };