@luzmo/analytics-components-kit 1.0.9-beta.1 → 1.0.9-beta.11

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 (1112) hide show
  1. package/README.md +7 -1
  2. package/components/add-to-dashboard/add-to-dashboard.d.ts +134 -0
  3. package/components/add-to-dashboard/dashboard-actions.d.ts +14 -0
  4. package/components/add-to-dashboard/helpers/add-to-dashboard-helpers.d.ts +3 -0
  5. package/components/add-to-dashboard/index.cjs +20 -0
  6. package/components/add-to-dashboard/index.d.ts +11 -0
  7. package/components/add-to-dashboard/index.js +21 -0
  8. package/components/add-to-dashboard/types.d.ts +7 -0
  9. package/components/add-to-dashboard-BY70QBzE.js +805 -0
  10. package/components/add-to-dashboard-nYUaDghN.cjs +166 -0
  11. package/components/ai-chat/ai-chat-request.d.ts +1 -1
  12. package/components/ai-chat/ai-chat.d.ts +12 -4
  13. package/components/ai-chat/empty-state/ai-chat-empty-state.d.ts +9 -2
  14. package/components/ai-chat/helpers/elicitation-template.d.ts +3 -1
  15. package/components/ai-chat/index.cjs +1 -1
  16. package/components/ai-chat/index.d.ts +2 -2
  17. package/components/ai-chat/index.js +2 -9
  18. package/components/ai-chat-DfuJOWao.cjs +338 -0
  19. package/components/ai-chat-DmDtBF47.js +4325 -0
  20. package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +8 -1
  21. package/components/ai-interaction-textarea/index.cjs +1 -1
  22. package/components/ai-interaction-textarea/index.js +1 -8
  23. package/components/ai-interaction-textarea-6ECwAdeT.js +823 -0
  24. package/components/ai-interaction-textarea-CRyyTj_B.cjs +101 -0
  25. package/components/area-chart-positioning.config-CoCdjr2E.cjs +20 -0
  26. package/components/area-chart-positioning.config-o-uJPEr5.js +55 -0
  27. package/components/bar-chart-positioning.config-CZgrS6lc.js +59 -0
  28. package/components/bar-chart-positioning.config-fsB82756.cjs +20 -0
  29. package/components/base-BmvsQ-s1.cjs +20 -0
  30. package/components/base-CrpOMVeU.js +248 -0
  31. package/components/base-store-CkIsrRcu.cjs +20 -0
  32. package/components/base-store-gYqg__8A.js +151 -0
  33. package/components/box-plot-positioning.config-BMfGGDfe.cjs +20 -0
  34. package/components/box-plot-positioning.config-CDq460FI.js +48 -0
  35. package/components/bubble-chart-positioning.config-C9MmTtTX.cjs +20 -0
  36. package/components/bubble-chart-positioning.config-DWfz4tud.js +55 -0
  37. package/components/bullet-chart-positioning.config-BwHPM5ui.cjs +20 -0
  38. package/components/bullet-chart-positioning.config-DmSlVIjL.js +56 -0
  39. package/components/chart-helpers-DQS2iqSd.js +250 -0
  40. package/components/chart-helpers-ufZ6VbXs.cjs +20 -0
  41. package/components/choropleth-map-options.config-CP-IK-4W.js +352 -0
  42. package/components/choropleth-map-options.config-DSXndhIY.cjs +20 -0
  43. package/components/choropleth-map-positioning.config-C0m6zzD3.cjs +20 -0
  44. package/components/choropleth-map-positioning.config-cjBzi_Db.js +55 -0
  45. package/components/circle-pack-chart-positioning.config-BAFFQSHe.cjs +20 -0
  46. package/components/circle-pack-chart-positioning.config-CY2rLb57.js +48 -0
  47. package/components/circular-gauge-positioning.config-6pZUNxYa.js +48 -0
  48. package/components/circular-gauge-positioning.config-BfWAjAY2.cjs +20 -0
  49. package/components/color-B7SELPGq.js +3812 -0
  50. package/components/color-BIEQvHs4.cjs +20 -0
  51. package/components/color-range-utils-6oEqHV0y.js +63 -0
  52. package/components/color-range-utils-Bgzuy2bR.cjs +20 -0
  53. package/components/column-chart-positioning.config-hrAvNd7T.js +55 -0
  54. package/components/column-chart-positioning.config-xgRuA_l5.cjs +20 -0
  55. package/components/combination-chart-positioning.config-BI8HroaG.js +48 -0
  56. package/components/combination-chart-positioning.config-D0TU4hge.cjs +20 -0
  57. package/components/conditional-number-positioning.config-B_yISWne.cjs +20 -0
  58. package/components/conditional-number-positioning.config-CWaDhMLA.js +48 -0
  59. package/components/data-broker-Cb-Fq9xy.cjs +20 -0
  60. package/components/data-broker-DNfq_8Lg.js +1695 -0
  61. package/components/data-field/index.cjs +1 -1
  62. package/components/data-field/index.js +1 -8
  63. package/components/data-field-D4YFqg1H.js +119 -0
  64. package/components/data-field-Hi-ITTzx.cjs +54 -0
  65. package/components/data-field-level/index.cjs +1 -1
  66. package/components/data-field-level/index.js +1 -8
  67. package/components/data-field-level-BWQPtFP5.cjs +55 -0
  68. package/components/data-field-level-CB5GtdU5.js +245 -0
  69. package/components/data-field-panel/index.cjs +1 -1
  70. package/components/data-field-panel/index.js +1 -8
  71. package/components/data-field-panel-64HoViNT.js +383 -0
  72. package/components/data-field-panel-DzKwmQi_.cjs +87 -0
  73. package/components/data-fields-select/data-fields-select.d.ts +1 -1
  74. package/components/data-fields-select/index.cjs +1 -1
  75. package/components/data-fields-select/index.js +1 -8
  76. package/components/data-fields-select-BOwoWq0j.js +290 -0
  77. package/components/data-fields-select-DXv6PQHG.cjs +43 -0
  78. package/components/dataset-icon/dataset-icon.d.ts +5 -4
  79. package/components/dataset-icon/index.cjs +1 -1
  80. package/components/dataset-icon/index.js +1 -8
  81. package/components/dataset-icon-Bag_eDv8.js +115 -0
  82. package/components/dataset-icon-CWKBYjGJ.cjs +62 -0
  83. package/components/dataset-selector-list/index.cjs +1 -1
  84. package/components/dataset-selector-list/index.js +1 -8
  85. package/components/dataset-selector-list-DFC2bvn0.js +321 -0
  86. package/components/dataset-selector-list-_AL1-GWw.cjs +75 -0
  87. package/components/dataset-selector-row/dataset-selector-row.d.ts +10 -1
  88. package/components/dataset-selector-row/index.cjs +1 -1
  89. package/components/dataset-selector-row/index.js +1 -8
  90. package/components/dataset-selector-row-By2ko-Rd.cjs +104 -0
  91. package/components/dataset-selector-row-DC6mrVyF.js +448 -0
  92. package/components/de-CjQMTFtl.cjs +20 -0
  93. package/components/de-Yl3kqB03.js +594 -0
  94. package/components/defineProperty-AldSMFEH.js +58 -0
  95. package/components/defineProperty-X1c4tIPD.cjs +20 -0
  96. package/components/display-settings/display-settings.d.ts +2 -2
  97. package/components/display-settings/index.cjs +1 -1
  98. package/components/display-settings/index.js +1 -8
  99. package/components/display-settings-B2V_F_CU.cjs +142 -0
  100. package/components/display-settings-BsCKV9ae.js +316 -0
  101. package/components/display-settings-binning/index.cjs +1 -1
  102. package/components/display-settings-binning/index.js +1 -8
  103. package/components/display-settings-binning-BdtxayZT.cjs +56 -0
  104. package/components/display-settings-binning-CkrbhPVB.js +111 -0
  105. package/components/display-settings-datetime/index.cjs +1 -1
  106. package/components/display-settings-datetime/index.js +1 -8
  107. package/components/display-settings-datetime-CpFyrcGk.cjs +217 -0
  108. package/components/display-settings-datetime-mVh5Tjrx.js +414 -0
  109. package/components/display-settings-grand-totals/index.cjs +1 -1
  110. package/components/display-settings-grand-totals/index.js +1 -8
  111. package/components/display-settings-grand-totals-CwOGoE06.cjs +44 -0
  112. package/components/display-settings-grand-totals-D7unOEKl.js +90 -0
  113. package/components/display-settings-numeric/index.cjs +1 -1
  114. package/components/display-settings-numeric/index.js +1 -8
  115. package/components/display-settings-numeric-DDZyFNFF.js +480 -0
  116. package/components/display-settings-numeric-DhiXPU3f.cjs +190 -0
  117. package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +2 -2
  118. package/components/display-settings-period-over-period/index.cjs +1 -1
  119. package/components/display-settings-period-over-period/index.js +1 -8
  120. package/components/display-settings-period-over-period-BNFjbgP0.cjs +227 -0
  121. package/components/display-settings-period-over-period-Hd172SzT.js +443 -0
  122. package/components/donut-chart-positioning.config-B2CrxOig.js +48 -0
  123. package/components/donut-chart-positioning.config-DQb53kWI.cjs +20 -0
  124. package/components/es-Ctf1SIsp.js +594 -0
  125. package/components/es-DmmTP7D0.cjs +20 -0
  126. package/components/evolution-number-positioning.config-BdH8pv6_.js +48 -0
  127. package/components/evolution-number-positioning.config-BzBsGcD4.cjs +20 -0
  128. package/components/filter-expression-picker/index.cjs +1 -1
  129. package/components/filter-expression-picker/index.js +1 -8
  130. package/components/filter-expression-picker-Bn_jAdQX.cjs +40 -0
  131. package/components/filter-expression-picker-Cjr8xWxy.js +434 -0
  132. package/components/filter-item/filter-item.d.ts +1 -1
  133. package/components/filter-item/index.cjs +1 -1
  134. package/components/filter-item/index.js +1 -8
  135. package/components/filter-item-CHJDVOju.cjs +111 -0
  136. package/components/filter-item-D6y8eCmG.js +793 -0
  137. package/components/filter-parameter-picker/index.cjs +1 -1
  138. package/components/filter-parameter-picker/index.js +1 -8
  139. package/components/filter-parameter-picker-C955tF0T.js +372 -0
  140. package/components/filter-parameter-picker-jyrh3POQ.cjs +124 -0
  141. package/components/filter-value-picker/index.cjs +1 -1
  142. package/components/filter-value-picker/index.js +1 -8
  143. package/components/filter-value-picker-B8nA8hTV.js +170 -0
  144. package/components/filter-value-picker-DmWiNLZH.cjs +69 -0
  145. package/components/filter-value-picker-datetime/index.cjs +1 -1
  146. package/components/filter-value-picker-datetime/index.js +1 -8
  147. package/components/filter-value-picker-datetime-BAhXn1BS.js +160 -0
  148. package/components/filter-value-picker-datetime-U4XWKSFx.cjs +51 -0
  149. package/components/filter-value-picker-hierarchy/index.cjs +1 -1
  150. package/components/filter-value-picker-hierarchy/index.js +1 -8
  151. package/components/filter-value-picker-hierarchy-1ya1_rS3.cjs +54 -0
  152. package/components/filter-value-picker-hierarchy-CUPz5Ggs.js +316 -0
  153. package/components/filter-value-picker-numeric/index.cjs +1 -1
  154. package/components/filter-value-picker-numeric/index.js +1 -8
  155. package/components/filter-value-picker-numeric-D8mLaxzj.js +237 -0
  156. package/components/filter-value-picker-numeric-DrHdHj31.cjs +54 -0
  157. package/components/filters/index.cjs +1 -1
  158. package/components/filters/index.js +1 -8
  159. package/components/filters-Byy8HE19.js +927 -0
  160. package/components/filters-C8xz8DV-.cjs +199 -0
  161. package/components/formula/formula.d.ts +2 -2
  162. package/components/formula/index.cjs +1 -1
  163. package/components/formula/index.js +1 -8
  164. package/components/formula-C6dPJyKm.cjs +45 -0
  165. package/components/formula-D_ipR6d1.js +136 -0
  166. package/components/formula-codemirror/formula-codemirror.d.ts +2 -2
  167. package/components/formula-codemirror/pills/formula-aggregation/formula-aggregation.d.ts +2 -2
  168. package/components/formula-codemirror/pills/formula-empty-argument-pill/formula-empty-argument-pill.d.ts +2 -2
  169. package/components/formula-codemirror/pills/formula-include-exclude-panel.d.ts +1 -1
  170. package/components/formula-codemirror-C1UFMf6i.cjs +215 -0
  171. package/components/formula-codemirror-CdlIly66.js +12008 -0
  172. package/components/formula-display-store-B0ifmvCi.cjs +20 -0
  173. package/components/formula-display-store-CfObcBCd.js +1087 -0
  174. package/components/formula-editor/formula-aggregations-list.d.ts +2 -2
  175. package/components/formula-editor/formula-datasets-list.d.ts +2 -2
  176. package/components/formula-editor/formula-description.d.ts +1 -1
  177. package/components/formula-editor/formula-editor.d.ts +1 -1
  178. package/components/formula-editor/formula-functions-list.d.ts +2 -2
  179. package/components/formula-editor/index.cjs +1 -1
  180. package/components/formula-editor/index.d.ts +3 -3
  181. package/components/formula-editor/index.js +3 -10
  182. package/components/formula-editor-B9ikCsLK.cjs +224 -0
  183. package/components/formula-editor-DJ-0AVCl.js +685 -0
  184. package/components/formula-field/formula-field.d.ts +1 -1
  185. package/components/formula-field/index.cjs +1 -1
  186. package/components/formula-field/index.js +1 -8
  187. package/components/formula-field-Bq-RYt0H.js +38 -0
  188. package/components/formula-field-CNqn6Xbh.cjs +20 -0
  189. package/components/formula-input-base-Dple-9bo.js +236 -0
  190. package/components/formula-input-base-KSmmN1uI.cjs +49 -0
  191. package/components/fr-DKDPLLAZ.cjs +20 -0
  192. package/components/fr-zWhjQv4B.js +594 -0
  193. package/components/funnel-chart-positioning.config-DgRle8n1.js +48 -0
  194. package/components/funnel-chart-positioning.config-DleNZIG-.cjs +20 -0
  195. package/components/get-dataset-name-3UfKdy0m.cjs +20 -0
  196. package/components/get-dataset-name-trrlomzY.js +32 -0
  197. package/components/grid-core-BFNgmaGk.js +4490 -0
  198. package/components/grid-core-DY0vyroD.cjs +68 -0
  199. package/components/grid-core.cjs +20 -0
  200. package/components/grid-core.js +21 -0
  201. package/components/groupings-B55Oba6e.js +52 -0
  202. package/components/groupings-DEpTt8DV.cjs +20 -0
  203. package/components/heat-map-options.config-D58595hz.js +226 -0
  204. package/components/heat-map-options.config-DhQrM9S9.cjs +20 -0
  205. package/components/heat-map-positioning.config-BTabq_f9.js +48 -0
  206. package/components/heat-map-positioning.config-DCB3Eagz.cjs +20 -0
  207. package/components/heat-table-options.config-AhmEjDAb.cjs +20 -0
  208. package/components/heat-table-options.config-x-KBTZo1.js +269 -0
  209. package/components/heat-table-positioning.config-Dnu133l4.cjs +20 -0
  210. package/components/heat-table-positioning.config-pK8Wn1dw.js +55 -0
  211. package/components/hexbin-map-positioning.config-DjYp-lX8.js +48 -0
  212. package/components/hexbin-map-positioning.config-IqRt8f29.cjs +20 -0
  213. package/components/index.cjs +1 -1
  214. package/components/index.js +69 -73
  215. package/components/interactive-viz-item/index.cjs +1 -1
  216. package/components/interactive-viz-item/index.d.ts +2 -0
  217. package/components/interactive-viz-item/index.js +3 -9
  218. package/components/interactive-viz-item/interactive-viz-item.d.ts +21 -4
  219. package/components/interactive-viz-item/load-add-to-dashboard.d.ts +1 -0
  220. package/components/interactive-viz-item-CM-LoEa5.cjs +261 -0
  221. package/components/interactive-viz-item-D6lWVMHb.js +528 -0
  222. package/components/item-grid/actions.d.ts +2 -1
  223. package/components/item-grid/helpers/grid-chart-rendering.d.ts +12 -0
  224. package/components/item-grid/helpers/grid-events.d.ts +1 -56
  225. package/components/item-grid/helpers/grid-interactions.d.ts +1 -88
  226. package/components/item-grid/helpers/grid-item-management.d.ts +5 -26
  227. package/components/item-grid/helpers/grid-item-popover.d.ts +1 -21
  228. package/components/item-grid/helpers/grid-items.d.ts +1 -9
  229. package/components/item-grid/helpers/grid-keyboard-updates.d.ts +1 -18
  230. package/components/item-grid/helpers/grid-keydown-event.d.ts +1 -18
  231. package/components/item-grid/helpers/grid-popover-cleanup.d.ts +1 -4
  232. package/components/item-grid/helpers/grid-rendering.d.ts +0 -50
  233. package/components/item-grid/helpers/grid-stack-lifecycle.d.ts +1 -26
  234. package/components/item-grid/helpers/grid-theme.d.ts +2 -14
  235. package/components/item-grid/helpers/grid-update-cycle.d.ts +1 -22
  236. package/components/item-grid/index.cjs +1 -1
  237. package/components/item-grid/index.d.ts +3 -3
  238. package/components/item-grid/index.js +3 -9
  239. package/components/item-grid/item-grid.d.ts +12 -207
  240. package/components/item-grid/types.d.ts +1 -57
  241. package/components/item-grid-CbXKsQm4.js +245 -0
  242. package/components/item-grid-DTishUCb.cjs +41 -0
  243. package/components/item-grid-item-actions-menu/index.cjs +20 -0
  244. package/components/item-grid-item-actions-menu/index.d.ts +8 -0
  245. package/components/item-grid-item-actions-menu/index.js +21 -0
  246. package/components/item-grid-item-actions-menu/item-grid-item-actions-menu.d.ts +70 -0
  247. package/components/item-grid-item-actions-menu/types.d.ts +11 -0
  248. package/components/item-grid-item-actions-menu-B7ylgTwO.js +199 -0
  249. package/components/item-grid-item-actions-menu-C3BUxZJc.cjs +52 -0
  250. package/components/item-option/index.cjs +1 -1
  251. package/components/item-option/index.js +1 -8
  252. package/components/item-option-BTSV33ft.cjs +269 -0
  253. package/components/item-option-BUju6ZE1.js +953 -0
  254. package/components/item-option-action-button-group/index.cjs +1 -1
  255. package/components/item-option-action-button-group/index.js +1 -8
  256. package/components/item-option-action-button-group-CuDeyDRi.cjs +53 -0
  257. package/components/item-option-action-button-group-DnTBh3R4.js +117 -0
  258. package/components/item-option-base-BIDIiNfI.js +120 -0
  259. package/components/item-option-base-C6RQH9M8.cjs +56 -0
  260. package/components/item-option-color-palette-picker/index.cjs +1 -1
  261. package/components/item-option-color-palette-picker/index.js +1 -8
  262. package/components/item-option-color-palette-picker-DbsqP2zA.js +2040 -0
  263. package/components/item-option-color-palette-picker-DsG-wxGB.cjs +40 -0
  264. package/components/item-option-color-picker/index.cjs +1 -1
  265. package/components/item-option-color-picker/index.js +1 -8
  266. package/components/item-option-color-picker-BUN5YK-t.cjs +34 -0
  267. package/components/item-option-color-picker-CKGUj3cW.js +86 -0
  268. package/components/item-option-color-range/index.cjs +1 -1
  269. package/components/item-option-color-range/index.js +1 -8
  270. package/components/item-option-color-range-BN81ePAI.cjs +98 -0
  271. package/components/item-option-color-range-dMehrwqA.js +219 -0
  272. package/components/item-option-guidelines/index.cjs +1 -1
  273. package/components/item-option-guidelines/index.js +1 -8
  274. package/components/item-option-guidelines-Bn1HSCgL.js +420 -0
  275. package/components/item-option-guidelines-CmPaMdqb.cjs +135 -0
  276. package/components/item-option-multi-language-field/index.cjs +1 -1
  277. package/components/item-option-multi-language-field/index.js +1 -8
  278. package/components/item-option-multi-language-field-BFgbOzMM.js +81 -0
  279. package/components/item-option-multi-language-field-Du609wC_.cjs +33 -0
  280. package/components/item-option-number-field/index.cjs +1 -1
  281. package/components/item-option-number-field/index.js +1 -8
  282. package/components/item-option-number-field-CDcf6_4D.js +101 -0
  283. package/components/item-option-number-field-CVAtj0UX.cjs +38 -0
  284. package/components/item-option-panel/index.cjs +1 -1
  285. package/components/item-option-panel/index.js +1 -8
  286. package/components/item-option-panel-0iHLl9-q.cjs +67 -0
  287. package/components/item-option-panel-DUlIB6qj.js +181 -0
  288. package/components/item-option-picker/index.cjs +1 -1
  289. package/components/item-option-picker/index.js +1 -8
  290. package/components/item-option-picker-ClKAGpgs.js +76 -0
  291. package/components/item-option-picker-Dkc3nd3x.cjs +37 -0
  292. package/components/item-option-position-picker/index.cjs +1 -1
  293. package/components/item-option-position-picker/index.js +1 -8
  294. package/components/item-option-position-picker-O8PpyiRv.js +116 -0
  295. package/components/item-option-position-picker-qCKh0Mfs.cjs +32 -0
  296. package/components/item-option-positions-number-field/index.cjs +1 -1
  297. package/components/item-option-positions-number-field/index.js +1 -8
  298. package/components/item-option-positions-number-field-CBx4uQ39.js +165 -0
  299. package/components/item-option-positions-number-field-Dfe4ufnF.cjs +49 -0
  300. package/components/item-option-radio-button-group/index.cjs +1 -1
  301. package/components/item-option-radio-button-group/index.js +1 -8
  302. package/components/item-option-radio-button-group-B5OVbLRg.cjs +37 -0
  303. package/components/item-option-radio-button-group-J_ZusHOP.js +73 -0
  304. package/components/item-option-slider/index.cjs +1 -1
  305. package/components/item-option-slider/index.js +1 -8
  306. package/components/item-option-slider-BDAEs7Fk.cjs +33 -0
  307. package/components/item-option-slider-V9z4qqyE.js +97 -0
  308. package/components/item-option-switch/index.cjs +1 -1
  309. package/components/item-option-switch/index.js +1 -8
  310. package/components/item-option-switch-BA4ifIHK.js +68 -0
  311. package/components/item-option-switch-Bzy2VRLg.cjs +30 -0
  312. package/components/item-option-text-field/index.cjs +1 -1
  313. package/components/item-option-text-field/index.js +1 -8
  314. package/components/item-option-text-field-C-sTkUre.cjs +33 -0
  315. package/components/item-option-text-field-Cf0khC48.js +79 -0
  316. package/components/item-options-configs.cjs +1 -1
  317. package/components/item-options-configs.js +5 -5
  318. package/components/item-slot-drop/index.cjs +1 -1
  319. package/components/item-slot-drop/index.js +1 -8
  320. package/components/item-slot-drop-D2VDgqYS.js +329 -0
  321. package/components/item-slot-drop-DrJRtG7b.cjs +91 -0
  322. package/components/item-slot-drop-panel/index.cjs +1 -1
  323. package/components/item-slot-drop-panel/index.js +1 -8
  324. package/components/item-slot-drop-panel-CCCOwtYM.js +353 -0
  325. package/components/item-slot-drop-panel-CFerKcdH.cjs +57 -0
  326. package/components/item-slot-picker/index.cjs +1 -1
  327. package/components/item-slot-picker/index.js +1 -8
  328. package/components/item-slot-picker-BdfYcBKT.js +503 -0
  329. package/components/item-slot-picker-aqePvZ9B.cjs +174 -0
  330. package/components/item-slot-picker-panel/index.cjs +1 -1
  331. package/components/item-slot-picker-panel/index.js +1 -8
  332. package/components/item-slot-picker-panel-DC3i7XZP.js +446 -0
  333. package/components/item-slot-picker-panel-dU6NywBo.cjs +81 -0
  334. package/components/line-chart-positioning.config-BW19v66B.js +55 -0
  335. package/components/line-chart-positioning.config-DX5mLAP7.cjs +20 -0
  336. package/components/load-data-fields-for-datasets-C4h8NWIE.cjs +20 -0
  337. package/components/load-data-fields-for-datasets-CInmiDlZ.js +42 -0
  338. package/components/localized-mixin-Bt25Frg1.cjs +20 -0
  339. package/components/localized-mixin-CYMFnS-n.js +45 -0
  340. package/components/marker-map-positioning.config-BJGwlWKz.js +48 -0
  341. package/components/marker-map-positioning.config-C0V5LZG-.cjs +20 -0
  342. package/components/nl-BrjaaktE.cjs +20 -0
  343. package/components/nl-TUFktGm6.js +594 -0
  344. package/components/ohlc-chart-positioning.config-Bu1_IBVK.cjs +20 -0
  345. package/components/ohlc-chart-positioning.config-CFvbZzCR.js +78 -0
  346. package/components/parallel-coordinates-plot-positioning.config-Bc3qCyxq.js +48 -0
  347. package/components/parallel-coordinates-plot-positioning.config-EJz1XA1k.cjs +20 -0
  348. package/components/pivot-table-positioning.config-Bay8gxV-.js +55 -0
  349. package/components/pivot-table-positioning.config-CMzGb-BR.cjs +20 -0
  350. package/components/pyramid-chart-positioning.config-BUSeYxYH.js +55 -0
  351. package/components/pyramid-chart-positioning.config-CrU2vKM-.cjs +20 -0
  352. package/components/radar-chart-positioning.config-BEzqTXyr.cjs +20 -0
  353. package/components/radar-chart-positioning.config-DOLpdn-d.js +55 -0
  354. package/components/route-map-options.config-BnufVGcz.js +328 -0
  355. package/components/route-map-options.config-DA3k24sP.cjs +20 -0
  356. package/components/route-map-positioning.config-BgjizdWh.cjs +20 -0
  357. package/components/route-map-positioning.config-Brg6_eCi.js +66 -0
  358. package/components/sankey-diagram-positioning.config-DJlWiNYL.js +66 -0
  359. package/components/sankey-diagram-positioning.config-vccTz1pG.cjs +20 -0
  360. package/components/scatter-plot-positioning.config-BKqPHMrS.js +77 -0
  361. package/components/scatter-plot-positioning.config-D7uFFBVZ.cjs +20 -0
  362. package/components/set-locale-Bgz1WNGE.cjs +20 -0
  363. package/components/set-locale-s-1X7Jce.js +43 -0
  364. package/components/slicer-filter-positioning.config-D1kR4xly.cjs +20 -0
  365. package/components/slicer-filter-positioning.config-Gl9jhO_G.js +48 -0
  366. package/components/slot-menu/index.cjs +1 -1
  367. package/components/slot-menu/index.js +1 -8
  368. package/components/slot-menu/types.d.ts +1 -1
  369. package/components/slot-menu-CAhxaK5-.cjs +71 -0
  370. package/components/slot-menu-Dw53Y-iu.js +429 -0
  371. package/components/slot-menu-list/index.cjs +1 -1
  372. package/components/slot-menu-list/index.js +1 -8
  373. package/components/slot-menu-list-5NsRo9XD.js +348 -0
  374. package/components/slot-menu-list-CUsmYkiV.cjs +44 -0
  375. package/components/speedometer-chart-positioning.config-VBLrLNmO.js +48 -0
  376. package/components/speedometer-chart-positioning.config-fa90zZdb.cjs +20 -0
  377. package/components/spike-map-options.config-34Vf0UbN.cjs +20 -0
  378. package/components/spike-map-options.config-CBpHkAfo.js +415 -0
  379. package/components/spike-map-positioning.config-DrxdeFsj.cjs +20 -0
  380. package/components/spike-map-positioning.config-oYjk3n9a.js +55 -0
  381. package/components/strip-plot-positioning.config-Bx_fqmEj.cjs +20 -0
  382. package/components/strip-plot-positioning.config-lMn33cM4.js +48 -0
  383. package/components/sunburst-chart-positioning.config-C-We-zZF.js +48 -0
  384. package/components/sunburst-chart-positioning.config-D-GRWmyF.cjs +20 -0
  385. package/components/superPropGet-CBezYwzm.js +52 -0
  386. package/components/superPropGet-DmmlTXgo.cjs +20 -0
  387. package/components/symbol-map-positioning.config-B0sLlLzK.cjs +20 -0
  388. package/components/symbol-map-positioning.config-_TJSfpVj.js +55 -0
  389. package/components/tokens-BWMfo_w4.cjs +20 -0
  390. package/components/tokens-Ov1pCR4Y.js +29 -0
  391. package/components/treemap-chart-positioning.config-CO05Gv7X.cjs +20 -0
  392. package/components/treemap-chart-positioning.config-DAdvoS2I.js +55 -0
  393. package/components/utils/base.cjs +1 -1
  394. package/components/utils/base.js +2 -2
  395. package/components/utils/store.cjs +1 -1
  396. package/components/utils/store.js +1 -1
  397. package/components/utils-CGJh0jrq.cjs +20 -0
  398. package/components/utils-Dk4dM9xv.js +240 -0
  399. package/components/utils.cjs +1 -1
  400. package/components/utils.js +3 -3
  401. package/components/venn-diagram-positioning.config-DKXWVaUI.cjs +20 -0
  402. package/components/venn-diagram-positioning.config-DUwmPQ1A.js +55 -0
  403. package/components/wordcloud-chart-positioning.config-CgbB_SI0.cjs +20 -0
  404. package/components/wordcloud-chart-positioning.config-qK5_CF7v.js +55 -0
  405. package/custom-elements.json +7065 -5792
  406. package/deprecated-react/components/add-to-dashboard.component.cjs +1 -0
  407. package/deprecated-react/components/item-grid-item-actions-menu.component.cjs +1 -0
  408. package/grid-core/helpers/grid-events.d.ts +56 -0
  409. package/grid-core/helpers/grid-interactions.d.ts +88 -0
  410. package/grid-core/helpers/grid-item-management.d.ts +28 -0
  411. package/grid-core/helpers/grid-item-popover.d.ts +21 -0
  412. package/grid-core/helpers/grid-items.d.ts +9 -0
  413. package/grid-core/helpers/grid-keyboard-updates.d.ts +18 -0
  414. package/grid-core/helpers/grid-keydown-event.d.ts +18 -0
  415. package/grid-core/helpers/grid-popover-cleanup.d.ts +4 -0
  416. package/grid-core/helpers/grid-rendering.d.ts +41 -0
  417. package/grid-core/helpers/grid-stack-lifecycle.d.ts +26 -0
  418. package/grid-core/helpers/grid-theme.d.ts +15 -0
  419. package/grid-core/helpers/grid-update-cycle.d.ts +22 -0
  420. package/grid-core/index.d.ts +5 -0
  421. package/grid-core/item-grid-base.d.ts +223 -0
  422. package/grid-core/types.d.ts +57 -0
  423. package/index.d.ts +2 -1
  424. package/package.json +20 -9
  425. package/react/components/add-to-dashboard.component.ts +30 -0
  426. package/react/components/ai-chat.component.ts +1 -1
  427. package/react/components/interactive-viz-item.component.ts +11 -5
  428. package/react/components/item-grid-item-actions-menu.component.ts +30 -0
  429. package/react/components/item-grid.component.ts +4 -1
  430. package/react/esm/components/add-to-dashboard.component.d.ts +14 -0
  431. package/react/esm/components/add-to-dashboard.component.js +19 -0
  432. package/react/esm/components/ai-chat.component.d.ts +1 -1
  433. package/react/esm/components/ai-chat.component.js +1 -1
  434. package/react/esm/components/interactive-viz-item.component.d.ts +8 -4
  435. package/react/esm/components/interactive-viz-item.component.js +8 -4
  436. package/react/esm/components/item-grid-item-actions-menu.component.d.ts +14 -0
  437. package/react/esm/components/item-grid-item-actions-menu.component.js +19 -0
  438. package/react/esm/components/item-grid.component.d.ts +3 -1
  439. package/react/esm/components/item-grid.component.js +2 -0
  440. package/react/esm/index.d.ts +4 -3
  441. package/react/esm/index.js +10 -6
  442. package/react/index.ts +10 -6
  443. package/react/luzmo-stub.d.ts +15 -6
  444. package/react/package.json +2 -2
  445. package/standalone/chunks/add-to-dashboard-BrWieRxp.js +148 -0
  446. package/standalone/chunks/area-chart-options.config-CXWPLl-0.js +2 -0
  447. package/standalone/chunks/area-chart-options.de-Dr8RVJtb.js +2 -0
  448. package/standalone/chunks/area-chart-options.en-DV1AZ274.js +2 -0
  449. package/standalone/chunks/area-chart-options.es-Cg7uU7OK.js +2 -0
  450. package/standalone/chunks/area-chart-options.fr-CJjgrAt2.js +2 -0
  451. package/standalone/chunks/area-chart-options.nl-CTGxVXNo.js +2 -0
  452. package/standalone/chunks/area-chart-slots.config-Bxvau_Ii.js +2 -0
  453. package/standalone/chunks/axis-options.config-DP9f04t6.js +2 -0
  454. package/standalone/chunks/axis-options.i18n-BwkGC9PX.js +2 -0
  455. package/standalone/chunks/bar-chart-options.config-w4REKu0t.js +2 -0
  456. package/standalone/chunks/bar-chart-options.de-DCVBVtFi.js +2 -0
  457. package/standalone/chunks/bar-chart-options.en-B4xiZxTy.js +2 -0
  458. package/standalone/chunks/bar-chart-options.es-UqehXB9Z.js +2 -0
  459. package/standalone/chunks/bar-chart-options.fr-CaUBeZBK.js +2 -0
  460. package/standalone/chunks/bar-chart-options.nl-C2tFvUE8.js +2 -0
  461. package/standalone/chunks/bar-chart-slots.config-BWQoKCYJ.js +2 -0
  462. package/standalone/chunks/base-CLcNr-fQ.js +2 -0
  463. package/standalone/chunks/bliss-BS5cbLqS.js +2 -0
  464. package/standalone/chunks/box-plot-options.config-BlYMd4FN.js +2 -0
  465. package/standalone/chunks/box-plot-options.de-RDAv8kHb.js +2 -0
  466. package/standalone/chunks/box-plot-options.en-kGLfLsv3.js +2 -0
  467. package/standalone/chunks/box-plot-options.es-Dw3ivv22.js +2 -0
  468. package/standalone/chunks/box-plot-options.fr-De5nkQNr.js +2 -0
  469. package/standalone/chunks/box-plot-options.nl-DD1f-Nlt.js +2 -0
  470. package/standalone/chunks/box-plot-slots.config-4hmeA6nr.js +2 -0
  471. package/standalone/chunks/bubble-chart-options.config-BKPTymfC.js +2 -0
  472. package/standalone/chunks/bubble-chart-options.de-C4pA9ZdS.js +2 -0
  473. package/standalone/chunks/bubble-chart-options.en-DM-MH8pT.js +2 -0
  474. package/standalone/chunks/bubble-chart-options.es-C2VE7E7k.js +2 -0
  475. package/standalone/chunks/bubble-chart-options.fr-BugyvkW9.js +2 -0
  476. package/standalone/chunks/bubble-chart-options.nl-oDPNybDE.js +2 -0
  477. package/standalone/chunks/bubble-chart-slots.config-CqTUMwvW.js +2 -0
  478. package/standalone/chunks/bullet-chart-options.config-Cc5lKDjs.js +2 -0
  479. package/standalone/chunks/bullet-chart-options.de-Ci81seQn.js +2 -0
  480. package/standalone/chunks/bullet-chart-options.en-Dk95moRX.js +2 -0
  481. package/standalone/chunks/bullet-chart-options.es-eIqahAOr.js +2 -0
  482. package/standalone/chunks/bullet-chart-options.fr-CEABbpT0.js +2 -0
  483. package/standalone/chunks/bullet-chart-options.nl-B3gOPn5D.js +2 -0
  484. package/standalone/chunks/bullet-chart-slots.config-BiFMJsgN.js +2 -0
  485. package/standalone/chunks/calculate-data-field-icon-CrEVAfzJ.js +2 -0
  486. package/standalone/chunks/chart-helpers-BplLoVQz.js +2 -0
  487. package/standalone/chunks/choropleth-map-options.config-Ul1FSTwf.js +2 -0
  488. package/standalone/chunks/choropleth-map-options.de-eALhIYgW.js +2 -0
  489. package/standalone/chunks/choropleth-map-options.en-DNdPCTz7.js +2 -0
  490. package/standalone/chunks/choropleth-map-options.es-BoHXBNpE.js +2 -0
  491. package/standalone/chunks/choropleth-map-options.fr-Di8f-OWA.js +2 -0
  492. package/standalone/chunks/choropleth-map-options.nl-XKS-glHm.js +2 -0
  493. package/standalone/chunks/choropleth-map-slots.config-CRF7J3QP.js +2 -0
  494. package/standalone/chunks/circle-pack-chart-options.config-CjDkh4DG.js +2 -0
  495. package/standalone/chunks/circle-pack-chart-options.de-Dwf0pYf1.js +2 -0
  496. package/standalone/chunks/circle-pack-chart-options.en-DhCFF4vx.js +2 -0
  497. package/standalone/chunks/circle-pack-chart-options.es-DDKEbXse.js +2 -0
  498. package/standalone/chunks/circle-pack-chart-options.fr-Dezqd3QL.js +2 -0
  499. package/standalone/chunks/circle-pack-chart-options.nl-BNXyskRD.js +2 -0
  500. package/standalone/chunks/circle-pack-chart-slots.config-Deq7IUoK.js +2 -0
  501. package/standalone/chunks/circular-gauge-options.config-p2zb-ORR.js +2 -0
  502. package/standalone/chunks/circular-gauge-options.de-DXGoiD0i.js +2 -0
  503. package/standalone/chunks/circular-gauge-options.en-SHYrAgsX.js +2 -0
  504. package/standalone/chunks/circular-gauge-options.es-D4xJXTQ-.js +2 -0
  505. package/standalone/chunks/circular-gauge-options.fr-6vBd5iUe.js +2 -0
  506. package/standalone/chunks/circular-gauge-options.nl-CDoO99Is.js +2 -0
  507. package/standalone/chunks/circular-gauge-slots.config-C7yUFfFJ.js +2 -0
  508. package/standalone/chunks/classic-CHhNczKi.js +2 -0
  509. package/standalone/chunks/classic-dark-Cmrn7jod.js +2 -0
  510. package/standalone/chunks/color-DaeCRJ5Q.js +2 -0
  511. package/standalone/chunks/color-palettes-B41FvzWH.js +2 -0
  512. package/standalone/chunks/color-range-utils-CLqVCA5J.js +2 -0
  513. package/standalone/chunks/column-chart-options.config-v7fBgXRI.js +2 -0
  514. package/standalone/chunks/column-chart-options.de-OoMpZc7N.js +2 -0
  515. package/standalone/chunks/column-chart-options.en-B4xiZxTy.js +2 -0
  516. package/standalone/chunks/column-chart-options.es-BL-wKXpp.js +2 -0
  517. package/standalone/chunks/column-chart-options.fr-CaUBeZBK.js +2 -0
  518. package/standalone/chunks/column-chart-options.nl-C2tFvUE8.js +2 -0
  519. package/standalone/chunks/column-chart-slots.config-ZBLvqhEb.js +2 -0
  520. package/standalone/chunks/combination-chart-options.config-C9hmUPal.js +2 -0
  521. package/standalone/chunks/combination-chart-options.de-ChlEhT09.js +2 -0
  522. package/standalone/chunks/combination-chart-options.en-DhCXqnwj.js +2 -0
  523. package/standalone/chunks/combination-chart-options.es-DESqZp0U.js +2 -0
  524. package/standalone/chunks/combination-chart-options.fr-v6P2xQCi.js +2 -0
  525. package/standalone/chunks/combination-chart-options.nl-D8ato2ve.js +2 -0
  526. package/standalone/chunks/combination-chart-slots.config-BNVJfRB2.js +2 -0
  527. package/standalone/chunks/conditional-number-options.config-hdARPTD7.js +2 -0
  528. package/standalone/chunks/conditional-number-options.de-BNkYWqfn.js +2 -0
  529. package/standalone/chunks/conditional-number-options.en-J7yPXdbP.js +2 -0
  530. package/standalone/chunks/conditional-number-options.es-CKDTBiYp.js +2 -0
  531. package/standalone/chunks/conditional-number-options.fr-BX1cbt1S.js +2 -0
  532. package/standalone/chunks/conditional-number-options.nl-6IE86oA9.js +2 -0
  533. package/standalone/chunks/conditional-number-slots.config-B4kqODqw.js +2 -0
  534. package/standalone/chunks/create-lazy-loader-DC0rJePE.js +2 -0
  535. package/standalone/chunks/cs-DLnr3a23.js +2 -0
  536. package/standalone/chunks/da-BJgbo0uE.js +2 -0
  537. package/standalone/chunks/data-broker-Dgg5mQze.js +2 -0
  538. package/standalone/chunks/date-comparison-filter-options.config-a_qCDcWA.js +2 -0
  539. package/standalone/chunks/date-comparison-filter-options.de-WqpVCnC1.js +2 -0
  540. package/standalone/chunks/date-comparison-filter-options.en-Obm6KfbI.js +2 -0
  541. package/standalone/chunks/date-comparison-filter-options.es-CxYTNaTq.js +2 -0
  542. package/standalone/chunks/date-comparison-filter-options.fr-DhrKNPxX.js +2 -0
  543. package/standalone/chunks/date-comparison-filter-options.nl-D2RV7246.js +2 -0
  544. package/standalone/chunks/date-comparison-filter-slots.config-DfHq9lB8.js +2 -0
  545. package/standalone/chunks/date-filter-options.config-DHTbxiWn.js +2 -0
  546. package/standalone/chunks/date-filter-options.de-B83VkpDz.js +2 -0
  547. package/standalone/chunks/date-filter-options.en-DKQexBC1.js +2 -0
  548. package/standalone/chunks/date-filter-options.es-DfDqzkVB.js +2 -0
  549. package/standalone/chunks/date-filter-options.fr-DoZy8DU8.js +2 -0
  550. package/standalone/chunks/date-filter-options.nl-DKtF0sFB.js +2 -0
  551. package/standalone/chunks/date-filter-slots.config-DHaOkULx.js +2 -0
  552. package/standalone/chunks/de-BtQ1ecN1.js +2 -0
  553. package/standalone/chunks/de-DPgYMyja.js +2 -0
  554. package/standalone/chunks/decompose-numeric-format-BXLQ97e2.js +2 -0
  555. package/standalone/chunks/default-Bi3Z4SMm.js +2 -0
  556. package/standalone/chunks/default-dark-C2ykXPQt.js +2 -0
  557. package/standalone/chunks/default-local-formats-CES1ItiK.js +2 -0
  558. package/standalone/chunks/display-settings-binning-B_lKObyP.js +38 -0
  559. package/standalone/chunks/display-settings-datetime-CTmJyEOX.js +199 -0
  560. package/standalone/chunks/display-settings-grand-totals-IjcbBoyZ.js +26 -0
  561. package/standalone/chunks/display-settings-numeric-D9hvRtfN.js +172 -0
  562. package/standalone/chunks/display-settings-period-over-period-Dnstsyqe.js +209 -0
  563. package/standalone/chunks/donut-chart-options.config-BuZj-QX5.js +2 -0
  564. package/standalone/chunks/donut-chart-options.de-QusCBL9B.js +2 -0
  565. package/standalone/chunks/donut-chart-options.en-D0ligFH6.js +2 -0
  566. package/standalone/chunks/donut-chart-options.es-Bmn34sGt.js +2 -0
  567. package/standalone/chunks/donut-chart-options.fr-DGBawYKp.js +2 -0
  568. package/standalone/chunks/donut-chart-options.nl-DzNTu0v4.js +2 -0
  569. package/standalone/chunks/donut-chart-slots.config-7pDpzNBG.js +2 -0
  570. package/standalone/chunks/dropdown-filter-options.config-zwR7hmkX.js +2 -0
  571. package/standalone/chunks/dropdown-filter-options.de-dj6aTNQQ.js +2 -0
  572. package/standalone/chunks/dropdown-filter-options.en-DH7Jfk8Q.js +2 -0
  573. package/standalone/chunks/dropdown-filter-options.es-K2L8ln9j.js +2 -0
  574. package/standalone/chunks/dropdown-filter-options.fr-CMapzFiR.js +2 -0
  575. package/standalone/chunks/dropdown-filter-options.nl-BLAyit4D.js +2 -0
  576. package/standalone/chunks/dropdown-filter-slots.config-DkqLjilE.js +2 -0
  577. package/standalone/chunks/embed-Dymwil3u.js +228 -0
  578. package/standalone/chunks/en-BD2RCLuw.js +2 -0
  579. package/standalone/chunks/en-GB-DnwmFNwC.js +2 -0
  580. package/standalone/chunks/en-US-BD2RCLuw.js +2 -0
  581. package/standalone/chunks/es-CAWreooi.js +2 -0
  582. package/standalone/chunks/es-Dp1UuDDz.js +2 -0
  583. package/standalone/chunks/evolution-number-options.config-B5Cj0YAQ.js +2 -0
  584. package/standalone/chunks/evolution-number-options.de-Ch0LaHwI.js +2 -0
  585. package/standalone/chunks/evolution-number-options.en-riChGfa6.js +2 -0
  586. package/standalone/chunks/evolution-number-options.es-BdG3lvVQ.js +2 -0
  587. package/standalone/chunks/evolution-number-options.fr-_h0kLeRL.js +2 -0
  588. package/standalone/chunks/evolution-number-options.nl-CqycrLe1.js +2 -0
  589. package/standalone/chunks/evolution-number-slots.config-IqPfnCrw.js +2 -0
  590. package/standalone/chunks/fi-CLQ6vC7V.js +2 -0
  591. package/standalone/chunks/filters-CBmZhipt.js +544 -0
  592. package/standalone/chunks/formatter-B7zz6UOp.js +2 -0
  593. package/standalone/chunks/formula-codemirror-D2F6Aj2h.js +197 -0
  594. package/standalone/chunks/fr-BG0nQk8g.js +2 -0
  595. package/standalone/chunks/fr-D8xrUEX4.js +2 -0
  596. package/standalone/chunks/funnel-chart-options.config-1SyJ_qYd.js +2 -0
  597. package/standalone/chunks/funnel-chart-options.de-BTxwd7Pe.js +2 -0
  598. package/standalone/chunks/funnel-chart-options.en-CmY-uO1P.js +2 -0
  599. package/standalone/chunks/funnel-chart-options.es-DLqBydsE.js +2 -0
  600. package/standalone/chunks/funnel-chart-options.fr-ztQ5OMZi.js +2 -0
  601. package/standalone/chunks/funnel-chart-options.nl-DVysx7tP.js +2 -0
  602. package/standalone/chunks/funnel-chart-slots.config-DfeuNGEL.js +2 -0
  603. package/standalone/chunks/guidelines-options.config-CS29_J9M.js +2 -0
  604. package/standalone/chunks/he-DHPb0VBo.js +2 -0
  605. package/standalone/chunks/heat-map-options.config-DYIrP8cV.js +2 -0
  606. package/standalone/chunks/heat-map-options.de-BfJMMX2Q.js +2 -0
  607. package/standalone/chunks/heat-map-options.en-Dr653pN6.js +2 -0
  608. package/standalone/chunks/heat-map-options.es-CklrBP1w.js +2 -0
  609. package/standalone/chunks/heat-map-options.fr-DwtCOHrA.js +2 -0
  610. package/standalone/chunks/heat-map-options.nl-DQBLussF.js +2 -0
  611. package/standalone/chunks/heat-map-slots.config-BVBzVjJJ.js +2 -0
  612. package/standalone/chunks/heat-table-options.config-ByHwT44G.js +2 -0
  613. package/standalone/chunks/heat-table-options.de-BMx67hXo.js +2 -0
  614. package/standalone/chunks/heat-table-options.en-BbobGoXs.js +2 -0
  615. package/standalone/chunks/heat-table-options.es-zKo-QMBY.js +2 -0
  616. package/standalone/chunks/heat-table-options.fr-XSTL1CSb.js +2 -0
  617. package/standalone/chunks/heat-table-options.nl-Cgcccsee.js +2 -0
  618. package/standalone/chunks/heat-table-slots.config-CcOl-PCp.js +2 -0
  619. package/standalone/chunks/helpers-DalWg6k7.js +2 -0
  620. package/standalone/chunks/hexbin-map-options.config-Elr44Jin.js +2 -0
  621. package/standalone/chunks/hexbin-map-options.de-C45yz1mZ.js +2 -0
  622. package/standalone/chunks/hexbin-map-options.en-CIrLRJJ1.js +2 -0
  623. package/standalone/chunks/hexbin-map-options.es-wf4yF2eW.js +2 -0
  624. package/standalone/chunks/hexbin-map-options.fr-C0SN47Nq.js +2 -0
  625. package/standalone/chunks/hexbin-map-options.nl-CweMyvfk.js +2 -0
  626. package/standalone/chunks/hexbin-map-slots.config-D6qVm4nj.js +2 -0
  627. package/standalone/chunks/hu-BpaYooip.js +2 -0
  628. package/standalone/chunks/image-options.config-Cj4r1ypi.js +2 -0
  629. package/standalone/chunks/image-options.de-CFUHfYzb.js +2 -0
  630. package/standalone/chunks/image-options.en-BIyq9f_H.js +2 -0
  631. package/standalone/chunks/image-options.es-BD---IOk.js +2 -0
  632. package/standalone/chunks/image-options.fr-BGFgsNTs.js +2 -0
  633. package/standalone/chunks/image-options.nl-DD1JEJSa.js +2 -0
  634. package/standalone/chunks/image-slots.config-CdWEUY0l.js +2 -0
  635. package/standalone/chunks/info-tooltip-options.config-DtfU5ZO8.js +2 -0
  636. package/standalone/chunks/info-tooltip-options.i18n-B_gjTq0R.js +2 -0
  637. package/standalone/chunks/interactivity-options.config-09eXx6k6.js +2 -0
  638. package/standalone/chunks/interactivity-options.i18n-BLDCmZkC.js +2 -0
  639. package/standalone/chunks/it-DWTvD2Xn.js +2 -0
  640. package/standalone/chunks/item-option-action-button-group-BZyiRTfe.js +35 -0
  641. package/standalone/chunks/item-option-base-Bk5qxdcQ.js +38 -0
  642. package/standalone/chunks/item-option-color-palette-picker-O8kT0i8p.js +22 -0
  643. package/standalone/chunks/item-option-color-picker-CUTCc_yN.js +16 -0
  644. package/standalone/chunks/item-option-color-range-DsKPvjLj.js +80 -0
  645. package/standalone/chunks/item-option-guidelines-CZyvhgtN.js +117 -0
  646. package/standalone/chunks/item-option-multi-language-field-DlC-cCD7.js +15 -0
  647. package/standalone/chunks/item-option-number-field-BW9VpN9_.js +20 -0
  648. package/standalone/chunks/item-option-panel-BXA3sIYG.js +298 -0
  649. package/standalone/chunks/item-option-picker-B2KmO7a6.js +19 -0
  650. package/standalone/chunks/item-option-position-picker-C9C9SKDD.js +14 -0
  651. package/standalone/chunks/item-option-positions-number-field-C2ahVlxe.js +31 -0
  652. package/standalone/chunks/item-option-radio-button-group-2q3doUXH.js +19 -0
  653. package/standalone/chunks/item-option-slider-C7TT3CqL.js +15 -0
  654. package/standalone/chunks/item-option-switch-CZR2_Bs9.js +12 -0
  655. package/standalone/chunks/item-option-text-field-DBUOD_fv.js +15 -0
  656. package/standalone/chunks/item-slot-picker-panel-CTePASjI.js +439 -0
  657. package/standalone/chunks/ja-CtDlXHD1.js +2 -0
  658. package/standalone/chunks/ko-CekuHU50.js +2 -0
  659. package/standalone/chunks/line-chart-options.config-DyqQLGw8.js +2 -0
  660. package/standalone/chunks/line-chart-options.de-BScjvJsI.js +2 -0
  661. package/standalone/chunks/line-chart-options.en-BVWFsre-.js +2 -0
  662. package/standalone/chunks/line-chart-options.es-CxNJevNs.js +2 -0
  663. package/standalone/chunks/line-chart-options.fr-LCsLx0Uh.js +2 -0
  664. package/standalone/chunks/line-chart-options.nl-BOgcjx48.js +2 -0
  665. package/standalone/chunks/line-chart-slots.config-CavGuJXK.js +2 -0
  666. package/standalone/chunks/lit-localize-CIGP-NUw.js +2 -0
  667. package/standalone/chunks/load-data-fields-for-datasets-CPf_Q7p4.js +25 -0
  668. package/standalone/chunks/load-formula-codemirror-CA7NW4Zq.js +6 -0
  669. package/standalone/chunks/localize-BXHWaHdZ.js +2 -0
  670. package/standalone/chunks/localized-decorator-Buib6Rq1.js +2 -0
  671. package/standalone/chunks/localized-mixin-DN2aV3CC.js +2 -0
  672. package/standalone/chunks/luzmo-icon-markup-27PRW8QM.js +13 -0
  673. package/standalone/chunks/luzmoAlignLeft-HA-XKPHy.js +2 -0
  674. package/standalone/chunks/luzmoAngleDown-PNrItYzK.js +2 -0
  675. package/standalone/chunks/luzmoAngleLeft-ebJO7ROy.js +2 -0
  676. package/standalone/chunks/luzmoArrowsHorizontal-TohKbcQD.js +2 -0
  677. package/standalone/chunks/luzmoBorderDotted-CWXwQ_Hm.js +2 -0
  678. package/standalone/chunks/luzmoCheckbox-BksyONqE.js +2 -0
  679. package/standalone/chunks/luzmoCog-C4v4vc5N.js +2 -0
  680. package/standalone/chunks/luzmoLockOutline-Dctb86HR.js +2 -0
  681. package/standalone/chunks/luzmoPlus-Dyrrz0v8.js +2 -0
  682. package/standalone/chunks/luzmoTable-BYeZ8pW6.js +2 -0
  683. package/standalone/chunks/luzmoTrashOutline-DXZpJx7f.js +2 -0
  684. package/standalone/chunks/map-tile-providers-DZT1QZX_.js +2 -0
  685. package/standalone/chunks/marker-map-options.config-D_OTOZRe.js +2 -0
  686. package/standalone/chunks/marker-map-options.de-SuCAxwxR.js +2 -0
  687. package/standalone/chunks/marker-map-options.en-B-gl_14v.js +2 -0
  688. package/standalone/chunks/marker-map-options.es-CSJGCzjk.js +2 -0
  689. package/standalone/chunks/marker-map-options.fr-D5P_HjSn.js +2 -0
  690. package/standalone/chunks/marker-map-options.nl-DdeyYFJQ.js +2 -0
  691. package/standalone/chunks/marker-map-slots.config-CtzpU-rK.js +2 -0
  692. package/standalone/chunks/mk-Dq3YK4jD.js +2 -0
  693. package/standalone/chunks/nl-7csxtU-I.js +2 -0
  694. package/standalone/chunks/nl-BXPduS2Q.js +2 -0
  695. package/standalone/chunks/no-DJNRx8au.js +2 -0
  696. package/standalone/chunks/ohlc-chart-options.config-Bu2GKlAH.js +2 -0
  697. package/standalone/chunks/ohlc-chart-options.de-DeQ8wdeE.js +2 -0
  698. package/standalone/chunks/ohlc-chart-options.en-DopM1kPj.js +2 -0
  699. package/standalone/chunks/ohlc-chart-options.es-BKjQWwH0.js +2 -0
  700. package/standalone/chunks/ohlc-chart-options.fr-DWhV_lXz.js +2 -0
  701. package/standalone/chunks/ohlc-chart-options.nl-D8lhNKIv.js +2 -0
  702. package/standalone/chunks/ohlc-chart-slots.config-xYpPbmg2.js +2 -0
  703. package/standalone/chunks/orion-BHOu-xse.js +2 -0
  704. package/standalone/chunks/parallel-coordinates-plot-options.config-BcIYCRdF.js +2 -0
  705. package/standalone/chunks/parallel-coordinates-plot-options.de-Dvi0gBbB.js +2 -0
  706. package/standalone/chunks/parallel-coordinates-plot-options.en-LdifcLcc.js +2 -0
  707. package/standalone/chunks/parallel-coordinates-plot-options.es-DNisZWdC.js +2 -0
  708. package/standalone/chunks/parallel-coordinates-plot-options.fr-DwOBR0cp.js +2 -0
  709. package/standalone/chunks/parallel-coordinates-plot-options.nl-DCXeTldD.js +2 -0
  710. package/standalone/chunks/parallel-coordinates-plot-slots.config-DvJljfr8.js +2 -0
  711. package/standalone/chunks/period-over-period-condition.const-AC_onvUf.js +2 -0
  712. package/standalone/chunks/periods.const-Cie50jR4.js +2 -0
  713. package/standalone/chunks/pinky-CkEB6Fvc.js +2 -0
  714. package/standalone/chunks/pivot-table-options.config-BZpId1ju.js +2 -0
  715. package/standalone/chunks/pivot-table-options.de-B0l711Q7.js +2 -0
  716. package/standalone/chunks/pivot-table-options.en-D3MYHTWH.js +2 -0
  717. package/standalone/chunks/pivot-table-options.es-CDACogGQ.js +2 -0
  718. package/standalone/chunks/pivot-table-options.fr-C-w1sys8.js +2 -0
  719. package/standalone/chunks/pivot-table-options.nl-Dy9VJ1bm.js +2 -0
  720. package/standalone/chunks/pivot-table-slots.config-DZOE04Ea.js +2 -0
  721. package/standalone/chunks/pl-zDnuk9Gd.js +2 -0
  722. package/standalone/chunks/pt-BEVAH5AJ.js +2 -0
  723. package/standalone/chunks/pyramid-chart-options.config-CBd-pgn_.js +2 -0
  724. package/standalone/chunks/pyramid-chart-options.de-CBL_8UjH.js +2 -0
  725. package/standalone/chunks/pyramid-chart-options.en-CTozc1Uh.js +2 -0
  726. package/standalone/chunks/pyramid-chart-options.es-BKciL-nO.js +2 -0
  727. package/standalone/chunks/pyramid-chart-options.fr-B04m8B_b.js +2 -0
  728. package/standalone/chunks/pyramid-chart-options.nl-DIhj1NYF.js +2 -0
  729. package/standalone/chunks/pyramid-chart-slots.config-DKBFy-TL.js +2 -0
  730. package/standalone/chunks/radar-chart-options.config-CnQ8mbs9.js +2 -0
  731. package/standalone/chunks/radar-chart-options.de-_LSueG69.js +2 -0
  732. package/standalone/chunks/radar-chart-options.en-DBA8TpKJ.js +2 -0
  733. package/standalone/chunks/radar-chart-options.es-DjSsFQkP.js +2 -0
  734. package/standalone/chunks/radar-chart-options.fr-CCh2jYPS.js +2 -0
  735. package/standalone/chunks/radar-chart-options.nl-tZ0JRjXD.js +2 -0
  736. package/standalone/chunks/radar-chart-slots.config-CHauNDhi.js +2 -0
  737. package/standalone/chunks/radiant-BfVbXYeP.js +2 -0
  738. package/standalone/chunks/regular-table-options.config-BnhDzc-m.js +2 -0
  739. package/standalone/chunks/regular-table-options.de-DPmii-jp.js +2 -0
  740. package/standalone/chunks/regular-table-options.en-DQugncwx.js +2 -0
  741. package/standalone/chunks/regular-table-options.es-DzbTEFoh.js +2 -0
  742. package/standalone/chunks/regular-table-options.fr-roRCzuK8.js +2 -0
  743. package/standalone/chunks/regular-table-options.nl-DxYUm_Rz.js +2 -0
  744. package/standalone/chunks/regular-table-slots.config-BqEJgzhG.js +2 -0
  745. package/standalone/chunks/route-map-options.config-CWyA9_SB.js +2 -0
  746. package/standalone/chunks/route-map-options.de-Ke-Bybpi.js +2 -0
  747. package/standalone/chunks/route-map-options.en-CDXIcBc0.js +2 -0
  748. package/standalone/chunks/route-map-options.es-CCEXcHLb.js +2 -0
  749. package/standalone/chunks/route-map-options.fr-BXoMKK54.js +2 -0
  750. package/standalone/chunks/route-map-options.nl-U52AE8MW.js +2 -0
  751. package/standalone/chunks/route-map-slots.config-B5G4JVnI.js +2 -0
  752. package/standalone/chunks/royale-Bcd5VvC5.js +2 -0
  753. package/standalone/chunks/ru-Ceji1Fqk.js +2 -0
  754. package/standalone/chunks/sankey-diagram-options.config-Curc2-If.js +2 -0
  755. package/standalone/chunks/sankey-diagram-options.de-Bisx6mpj.js +2 -0
  756. package/standalone/chunks/sankey-diagram-options.en-DonChVRz.js +2 -0
  757. package/standalone/chunks/sankey-diagram-options.es-TCXmlth5.js +2 -0
  758. package/standalone/chunks/sankey-diagram-options.fr-B3iAnJNW.js +2 -0
  759. package/standalone/chunks/sankey-diagram-options.nl-BnXZQEKn.js +2 -0
  760. package/standalone/chunks/sankey-diagram-slots.config-jyKqjUsV.js +2 -0
  761. package/standalone/chunks/scatter-plot-options.config-BV9Lb6-v.js +2 -0
  762. package/standalone/chunks/scatter-plot-options.de-Dg3O1b2R.js +2 -0
  763. package/standalone/chunks/scatter-plot-options.en-CJH2ZlFW.js +2 -0
  764. package/standalone/chunks/scatter-plot-options.es-7kExRi4J.js +2 -0
  765. package/standalone/chunks/scatter-plot-options.fr-Bbkf8efT.js +2 -0
  766. package/standalone/chunks/scatter-plot-options.nl-zrEXoM-k.js +2 -0
  767. package/standalone/chunks/scatter-plot-slots.config-CF2Ii2Ez.js +2 -0
  768. package/standalone/chunks/search-filter-options.config-DPhYMtlJ.js +2 -0
  769. package/standalone/chunks/search-filter-options.de-DewLFwK0.js +2 -0
  770. package/standalone/chunks/search-filter-options.en-DyIupnO9.js +2 -0
  771. package/standalone/chunks/search-filter-options.es-Dx1WGz-q.js +2 -0
  772. package/standalone/chunks/search-filter-options.fr-BdnlKNNx.js +2 -0
  773. package/standalone/chunks/search-filter-options.nl-DsKcc6ke.js +2 -0
  774. package/standalone/chunks/search-filter-slots.config-BcTF-DAh.js +2 -0
  775. package/standalone/chunks/seasonal-f6I--CYV.js +2 -0
  776. package/standalone/chunks/slicer-filter-options.config-BQ1vpcTb.js +2 -0
  777. package/standalone/chunks/slicer-filter-options.de-v0So4hDH.js +2 -0
  778. package/standalone/chunks/slicer-filter-options.en-BkVZDku6.js +2 -0
  779. package/standalone/chunks/slicer-filter-options.es-BATOs827.js +2 -0
  780. package/standalone/chunks/slicer-filter-options.fr-DROih5R8.js +2 -0
  781. package/standalone/chunks/slicer-filter-options.nl-CT4HfMiT.js +2 -0
  782. package/standalone/chunks/slicer-filter-slots.config-DL3Q0Zbm.js +2 -0
  783. package/standalone/chunks/slider-filter-options.config-ZCkBkeXQ.js +2 -0
  784. package/standalone/chunks/slider-filter-options.de-BToTmIkJ.js +2 -0
  785. package/standalone/chunks/slider-filter-options.en-Du0cf6NC.js +2 -0
  786. package/standalone/chunks/slider-filter-options.es-6yGUkJ9r.js +2 -0
  787. package/standalone/chunks/slider-filter-options.fr-DeupuOm1.js +2 -0
  788. package/standalone/chunks/slider-filter-options.nl-K6BEul4-.js +2 -0
  789. package/standalone/chunks/slider-filter-slots.config-52Bs7zu3.js +2 -0
  790. package/standalone/chunks/spacer-options.config-DmYOnwBz.js +2 -0
  791. package/standalone/chunks/speedometer-chart-options.config-YmUv49lQ.js +2 -0
  792. package/standalone/chunks/speedometer-chart-options.de-CWVMBrx9.js +2 -0
  793. package/standalone/chunks/speedometer-chart-options.en-DtCdA113.js +2 -0
  794. package/standalone/chunks/speedometer-chart-options.es-BC1Y-Hje.js +2 -0
  795. package/standalone/chunks/speedometer-chart-options.fr-BqnVNM9x.js +2 -0
  796. package/standalone/chunks/speedometer-chart-options.nl-D2dmDbhJ.js +2 -0
  797. package/standalone/chunks/speedometer-chart-slots.config-Cfsna_2O.js +2 -0
  798. package/standalone/chunks/spike-map-options.config-YOYHTzZs.js +2 -0
  799. package/standalone/chunks/spike-map-options.de-cIVh4l8Z.js +2 -0
  800. package/standalone/chunks/spike-map-options.en-CKjynYQl.js +2 -0
  801. package/standalone/chunks/spike-map-options.es-_GxcrK73.js +2 -0
  802. package/standalone/chunks/spike-map-options.fr-DHi_gHN6.js +2 -0
  803. package/standalone/chunks/spike-map-options.nl-Bicq35x0.js +2 -0
  804. package/standalone/chunks/spike-map-slots.config-FfXNX2O3.js +2 -0
  805. package/standalone/chunks/strip-plot-options.config-D84diNaB.js +2 -0
  806. package/standalone/chunks/strip-plot-options.de-DjNnWJl2.js +2 -0
  807. package/standalone/chunks/strip-plot-options.en-Of1sTT_A.js +2 -0
  808. package/standalone/chunks/strip-plot-options.es-BEHY8I7g.js +2 -0
  809. package/standalone/chunks/strip-plot-options.fr-DLfEoXBO.js +2 -0
  810. package/standalone/chunks/strip-plot-options.nl-CA3oh18P.js +2 -0
  811. package/standalone/chunks/strip-plot-slots.config-DQrrby2Y.js +2 -0
  812. package/standalone/chunks/sunburst-chart-options.config-DRjBFJV0.js +2 -0
  813. package/standalone/chunks/sunburst-chart-options.de-D6enQCjV.js +2 -0
  814. package/standalone/chunks/sunburst-chart-options.en-D9DSivE2.js +2 -0
  815. package/standalone/chunks/sunburst-chart-options.es-Bb7iCI1h.js +2 -0
  816. package/standalone/chunks/sunburst-chart-options.fr-CCzUgv7r.js +2 -0
  817. package/standalone/chunks/sunburst-chart-options.nl-bGOCvc4m.js +2 -0
  818. package/standalone/chunks/sunburst-chart-slots.config-DqW1e0nf.js +2 -0
  819. package/standalone/chunks/sv-CgssnOqA.js +2 -0
  820. package/standalone/chunks/symbol-map-options.config-Bbb3xIKg.js +2 -0
  821. package/standalone/chunks/symbol-map-options.de-CqxosoVr.js +2 -0
  822. package/standalone/chunks/symbol-map-options.en-DT7vsjRh.js +2 -0
  823. package/standalone/chunks/symbol-map-options.es-PGR-C-uM.js +2 -0
  824. package/standalone/chunks/symbol-map-options.fr-CPNydqFW.js +2 -0
  825. package/standalone/chunks/symbol-map-options.nl-BBHmJwLF.js +2 -0
  826. package/standalone/chunks/symbol-map-slots.config-B_UtYexb.js +2 -0
  827. package/standalone/chunks/task-CNp3cEJA.js +2 -0
  828. package/standalone/chunks/text-options.config-Chv14kyQ.js +2 -0
  829. package/standalone/chunks/text-options.de-CRVu5VAm.js +2 -0
  830. package/standalone/chunks/text-options.en-CupCY5Us.js +2 -0
  831. package/standalone/chunks/text-options.es-uKgRI4LZ.js +2 -0
  832. package/standalone/chunks/text-options.fr-C256Njqd.js +2 -0
  833. package/standalone/chunks/text-options.nl-CpMqMCOZ.js +2 -0
  834. package/standalone/chunks/text-slots.config-D33nu0FP.js +2 -0
  835. package/standalone/chunks/themes-BD5sKr3j.js +2 -0
  836. package/standalone/chunks/tr-i3G2sFi4.js +2 -0
  837. package/standalone/chunks/treemap-chart-options.config-DxkumoYq.js +2 -0
  838. package/standalone/chunks/treemap-chart-options.de-DdhcpjTu.js +2 -0
  839. package/standalone/chunks/treemap-chart-options.en-DB87QjbN.js +2 -0
  840. package/standalone/chunks/treemap-chart-options.es-DEImFeIB.js +2 -0
  841. package/standalone/chunks/treemap-chart-options.fr-BzM5c_vV.js +2 -0
  842. package/standalone/chunks/treemap-chart-options.nl-CFJgBJi2.js +2 -0
  843. package/standalone/chunks/treemap-chart-slots.config-CaearczZ.js +2 -0
  844. package/standalone/chunks/type-check-CC6bgirK.js +2 -0
  845. package/standalone/chunks/types-BS6dxSMT.js +2 -0
  846. package/standalone/chunks/urban-BEeGnayr.js +2 -0
  847. package/standalone/chunks/v4-CI0qP0ur.js +2 -0
  848. package/standalone/chunks/venn-diagram-options.config-DmYOnwBz.js +2 -0
  849. package/standalone/chunks/venn-diagram-slots.config-GnP5AAAL.js +2 -0
  850. package/standalone/chunks/version-DJES6maY.js +2 -0
  851. package/standalone/chunks/video-options.config-CfgT_MAw.js +2 -0
  852. package/standalone/chunks/video-options.de-Cxs3-JN3.js +2 -0
  853. package/standalone/chunks/video-options.en-ck74JByC.js +2 -0
  854. package/standalone/chunks/video-options.es-UdEH3Rzk.js +2 -0
  855. package/standalone/chunks/video-options.fr-p5bOI-bw.js +2 -0
  856. package/standalone/chunks/video-options.nl-CBYWp-Df.js +2 -0
  857. package/standalone/chunks/video-slots.config-ufoVcXKL.js +2 -0
  858. package/standalone/chunks/vivid-BC9AYKyD.js +2 -0
  859. package/standalone/chunks/wordcloud-chart-options.config-b-ibtRWp.js +2 -0
  860. package/standalone/chunks/wordcloud-chart-options.de-B0CeI2KB.js +2 -0
  861. package/standalone/chunks/wordcloud-chart-options.en-BQ-8ciOw.js +2 -0
  862. package/standalone/chunks/wordcloud-chart-options.es-DyMrHpJL.js +2 -0
  863. package/standalone/chunks/wordcloud-chart-options.fr-V1k_70yq.js +2 -0
  864. package/standalone/chunks/wordcloud-chart-options.nl-CrfYuaYy.js +2 -0
  865. package/standalone/chunks/wordcloud-chart-slots.config-g7QwS2dG.js +2 -0
  866. package/standalone/chunks/zh-CN-NVnv57dz.js +2 -0
  867. package/standalone/chunks/zh-TW-NVnv57dz.js +2 -0
  868. package/standalone/interactive-viz-item.js +263 -0
  869. package/standalone/item-grid.js +123 -0
  870. package/standalone/manifest.json +436 -0
  871. package/storybook/register-components.d.ts +2 -1
  872. package/styles/tokens.d.ts +1 -0
  873. package/types/add-to-dashboard.types.d.ts +51 -0
  874. package/types.d.ts +3 -1
  875. package/utils/data-broker/index.d.ts +19 -1
  876. package/utils/filters/filter-text.d.ts +1 -1
  877. package/utils/formula/base/formula-base.d.ts +2 -2
  878. package/utils/formula/config/build-datasets.d.ts +2 -2
  879. package/utils/formula/store/formula-display-store.d.ts +1 -1
  880. package/components/ai-chat-1OlRpimu.cjs +0 -337
  881. package/components/ai-chat-PesGGOLP.js +0 -4350
  882. package/components/ai-interaction-textarea-BXKG2elT.js +0 -820
  883. package/components/ai-interaction-textarea-CmFGJzbb.cjs +0 -99
  884. package/components/area-chart-positioning.config-C37nmNfP.cjs +0 -20
  885. package/components/area-chart-positioning.config-CF8Z7PuX.js +0 -55
  886. package/components/bar-chart-positioning.config-C4ii41mE.cjs +0 -20
  887. package/components/bar-chart-positioning.config-vuRQZsYr.js +0 -59
  888. package/components/base-8L8Jt2vi.js +0 -249
  889. package/components/base-K-bf6_7X.cjs +0 -20
  890. package/components/base-store-BhGpnbqi.js +0 -152
  891. package/components/base-store-D5cDq6d4.cjs +0 -20
  892. package/components/box-plot-positioning.config-D2LpbgQ_.cjs +0 -20
  893. package/components/box-plot-positioning.config-DMIsI9yU.js +0 -48
  894. package/components/bubble-chart-positioning.config-Btak-zwN.cjs +0 -20
  895. package/components/bubble-chart-positioning.config-jYu0Q0Mc.js +0 -55
  896. package/components/bullet-chart-positioning.config-BWHfPPyA.js +0 -56
  897. package/components/bullet-chart-positioning.config-CwoRVgNS.cjs +0 -20
  898. package/components/choropleth-map-options.config-DWWydGJ3.js +0 -352
  899. package/components/choropleth-map-options.config-VG10yjwC.cjs +0 -20
  900. package/components/choropleth-map-positioning.config-DttV0Dk_.cjs +0 -20
  901. package/components/choropleth-map-positioning.config-KtxcLW7E.js +0 -55
  902. package/components/circle-pack-chart-positioning.config-N-rZvQjR.cjs +0 -20
  903. package/components/circle-pack-chart-positioning.config-QBO-pwDr.js +0 -48
  904. package/components/circular-gauge-positioning.config-Cf1zuLXa.cjs +0 -20
  905. package/components/circular-gauge-positioning.config-DKGmEpFj.js +0 -48
  906. package/components/color-BWnYpOu7.js +0 -3812
  907. package/components/color-Bl8h58rV.cjs +0 -20
  908. package/components/color-range-utils-C3HJJUS1.cjs +0 -20
  909. package/components/color-range-utils-CiqduHJS.js +0 -63
  910. package/components/column-chart-positioning.config-DcErS56C.cjs +0 -20
  911. package/components/column-chart-positioning.config-LkQSNtSH.js +0 -55
  912. package/components/combination-chart-positioning.config-7iAEpO7h.js +0 -48
  913. package/components/combination-chart-positioning.config-Dzi93oAp.cjs +0 -20
  914. package/components/conditional-number-positioning.config-Bse6AKPP.js +0 -48
  915. package/components/conditional-number-positioning.config-CTy0zLXu.cjs +0 -20
  916. package/components/data-broker-B0uUO5er.js +0 -1684
  917. package/components/data-broker-CyMYR6w1.cjs +0 -20
  918. package/components/data-field-CSm9APdz.js +0 -121
  919. package/components/data-field-D2y4cv9j.cjs +0 -54
  920. package/components/data-field-level-B0aj8c5M.js +0 -247
  921. package/components/data-field-level-Llx0Y9m-.cjs +0 -55
  922. package/components/data-field-panel-DpBWJnes.js +0 -385
  923. package/components/data-field-panel-Dv60lRUC.cjs +0 -87
  924. package/components/data-fields-select-69TDpIG_.js +0 -289
  925. package/components/data-fields-select-BHa8THub.cjs +0 -43
  926. package/components/dataset-icon-BAV0S4sZ.cjs +0 -64
  927. package/components/dataset-icon-CWT5Ju8w.js +0 -125
  928. package/components/dataset-selector-list-D5lBv2sD.cjs +0 -75
  929. package/components/dataset-selector-list-DTMXvqfO.js +0 -323
  930. package/components/dataset-selector-row-gHWsZlrC.cjs +0 -102
  931. package/components/dataset-selector-row-kiHtzZcP.js +0 -427
  932. package/components/de-BhKtDR6p.js +0 -565
  933. package/components/de-DXFLsh4N.cjs +0 -20
  934. package/components/display-settings-DKuvd62j.js +0 -315
  935. package/components/display-settings-DPqTRJ7E.cjs +0 -142
  936. package/components/display-settings-binning-BkCNSkgf.js +0 -110
  937. package/components/display-settings-binning-DZKo_tBm.cjs +0 -56
  938. package/components/display-settings-datetime-BTgriFcv.js +0 -413
  939. package/components/display-settings-datetime-DD7Oh-2T.cjs +0 -217
  940. package/components/display-settings-grand-totals-BsIZg67h.cjs +0 -44
  941. package/components/display-settings-grand-totals-DH7AoyQY.js +0 -89
  942. package/components/display-settings-numeric-CkFpOoWU.js +0 -479
  943. package/components/display-settings-numeric-CsmrnEp2.cjs +0 -190
  944. package/components/display-settings-period-over-period-CdI5wuL_.js +0 -442
  945. package/components/display-settings-period-over-period-Co37HcSm.cjs +0 -227
  946. package/components/donut-chart-positioning.config-BThtaJEt.cjs +0 -20
  947. package/components/donut-chart-positioning.config-D2uG_Irk.js +0 -48
  948. package/components/es-DK-49nGv.cjs +0 -20
  949. package/components/es-DUENN-m1.js +0 -565
  950. package/components/evolution-number-positioning.config-BtjobZqK.js +0 -48
  951. package/components/evolution-number-positioning.config-DtYiv9oB.cjs +0 -20
  952. package/components/filter-expression-picker-C4kE_Thd.js +0 -433
  953. package/components/filter-expression-picker-CU-OfSmI.cjs +0 -40
  954. package/components/filter-item-Be6Z7NMz.js +0 -792
  955. package/components/filter-item-CxPrwF-R.cjs +0 -111
  956. package/components/filter-parameter-picker-Ba8bvoPZ.js +0 -371
  957. package/components/filter-parameter-picker-BtJLCUbT.cjs +0 -124
  958. package/components/filter-value-picker-DD206JZl.js +0 -169
  959. package/components/filter-value-picker-Dpua1vcJ.cjs +0 -69
  960. package/components/filter-value-picker-datetime-Bj0YaPtB.js +0 -159
  961. package/components/filter-value-picker-datetime-DWgI83nJ.cjs +0 -51
  962. package/components/filter-value-picker-hierarchy-BEoqkQq0.cjs +0 -54
  963. package/components/filter-value-picker-hierarchy-ZMThNJYm.js +0 -315
  964. package/components/filter-value-picker-numeric-1Vxp_Vam.cjs +0 -54
  965. package/components/filter-value-picker-numeric-CVaDogFQ.js +0 -236
  966. package/components/filters-Cnm0Kwk3.js +0 -926
  967. package/components/filters-Dtbt99BP.cjs +0 -199
  968. package/components/formula-BE9bipho.js +0 -138
  969. package/components/formula-DGMnKmnR.cjs +0 -45
  970. package/components/formula-codemirror-B14vsZXJ.cjs +0 -215
  971. package/components/formula-codemirror-xfm0QtJN.js +0 -12018
  972. package/components/formula-display-store-8hohve9v.cjs +0 -20
  973. package/components/formula-display-store-JAaWuYNB.js +0 -1087
  974. package/components/formula-editor-CkW-JfyT.cjs +0 -224
  975. package/components/formula-editor-DN87mT8q.js +0 -690
  976. package/components/formula-field-B1EMJOfK.js +0 -40
  977. package/components/formula-field-CQYFSBHL.cjs +0 -20
  978. package/components/formula-input-base-BCQXmd1P.cjs +0 -49
  979. package/components/formula-input-base-HL0Fg74x.js +0 -236
  980. package/components/fr-CePmGBUH.js +0 -565
  981. package/components/fr-uE3fb3kc.cjs +0 -20
  982. package/components/funnel-chart-positioning.config-DeLnAGGT.cjs +0 -20
  983. package/components/funnel-chart-positioning.config-TVzSiV6I.js +0 -48
  984. package/components/get-dataset-name-DLjeChNS.js +0 -32
  985. package/components/get-dataset-name-mGNEfkAv.cjs +0 -20
  986. package/components/groupings-CODDxpbZ.js +0 -52
  987. package/components/groupings-DKMq8DgS.cjs +0 -20
  988. package/components/heat-map-options.config-DtDh9Gpy.cjs +0 -20
  989. package/components/heat-map-options.config-X96sw-BV.js +0 -226
  990. package/components/heat-map-positioning.config--wm9l7bB.js +0 -48
  991. package/components/heat-map-positioning.config-ddrgZXa9.cjs +0 -20
  992. package/components/heat-table-options.config-CugBuoUA.cjs +0 -20
  993. package/components/heat-table-options.config-D6dA9J97.js +0 -269
  994. package/components/heat-table-positioning.config-CIhhBEMg.js +0 -55
  995. package/components/heat-table-positioning.config-qMDSRhZR.cjs +0 -20
  996. package/components/hexbin-map-positioning.config-E_BpcIFy.cjs +0 -20
  997. package/components/hexbin-map-positioning.config-S7VYUwVD.js +0 -48
  998. package/components/interactive-viz-item--kqitfEZ.cjs +0 -249
  999. package/components/interactive-viz-item-cdShBZQA.js +0 -722
  1000. package/components/item-grid/item-grid-item-actions-menu.d.ts +0 -35
  1001. package/components/item-grid-BfhqMuQA.cjs +0 -113
  1002. package/components/item-grid-xCM8AqRH.js +0 -4559
  1003. package/components/item-option-B5FraAiv.cjs +0 -269
  1004. package/components/item-option-DaAlj_OB.js +0 -955
  1005. package/components/item-option-action-button-group-4w8ub3cT.js +0 -118
  1006. package/components/item-option-action-button-group-DHu8VjCy.cjs +0 -53
  1007. package/components/item-option-base-4Bwn-3Fc.cjs +0 -56
  1008. package/components/item-option-base-BxQUwXzg.js +0 -123
  1009. package/components/item-option-color-palette-picker-D5nO-Bqb.js +0 -2041
  1010. package/components/item-option-color-palette-picker-DrhHKaAK.cjs +0 -40
  1011. package/components/item-option-color-picker-Bhv_k1uW.cjs +0 -34
  1012. package/components/item-option-color-picker-CKokPQcS.js +0 -87
  1013. package/components/item-option-color-range-CwDkzRcx.cjs +0 -98
  1014. package/components/item-option-color-range-DYsMbFEb.js +0 -220
  1015. package/components/item-option-guidelines-CXl4Yla4.js +0 -419
  1016. package/components/item-option-guidelines-DMjA-h3h.cjs +0 -135
  1017. package/components/item-option-multi-language-field-C75Hd2fG.cjs +0 -33
  1018. package/components/item-option-multi-language-field-S6Mt3k23.js +0 -82
  1019. package/components/item-option-number-field-Bg5r0IAX.cjs +0 -38
  1020. package/components/item-option-number-field-CALw8q_J.js +0 -102
  1021. package/components/item-option-panel-DBXgOsM4.cjs +0 -67
  1022. package/components/item-option-panel-v7yUS9hb.js +0 -183
  1023. package/components/item-option-picker-CZyzd3Nq.js +0 -77
  1024. package/components/item-option-picker-RFstpFwI.cjs +0 -37
  1025. package/components/item-option-position-picker-C8cnHEH4.js +0 -117
  1026. package/components/item-option-position-picker-CKHbHHl1.cjs +0 -32
  1027. package/components/item-option-positions-number-field-BGs3WWaz.cjs +0 -49
  1028. package/components/item-option-positions-number-field-BJTY1qZR.js +0 -164
  1029. package/components/item-option-radio-button-group-CN8TLtsV.cjs +0 -37
  1030. package/components/item-option-radio-button-group-vhm4r4_k.js +0 -74
  1031. package/components/item-option-slider-CQOKWBZQ.js +0 -96
  1032. package/components/item-option-slider-DbLPhpJd.cjs +0 -33
  1033. package/components/item-option-switch-CWpb0nf3.cjs +0 -30
  1034. package/components/item-option-switch-azZX2vJr.js +0 -69
  1035. package/components/item-option-text-field-CIM_38yi.js +0 -80
  1036. package/components/item-option-text-field-CS3Lccda.cjs +0 -33
  1037. package/components/item-slot-drop-C8WYPu_w.cjs +0 -91
  1038. package/components/item-slot-drop-DeZ2GvAu.js +0 -331
  1039. package/components/item-slot-drop-panel-BcBHDDTT.cjs +0 -57
  1040. package/components/item-slot-drop-panel-LpfX7ap0.js +0 -355
  1041. package/components/item-slot-picker-BSO1ltXC.js +0 -505
  1042. package/components/item-slot-picker-CvySq194.cjs +0 -174
  1043. package/components/item-slot-picker-panel-CsntXcAp.js +0 -448
  1044. package/components/item-slot-picker-panel-DQ_OzMO_.cjs +0 -81
  1045. package/components/line-chart-positioning.config-CrreArf5.js +0 -55
  1046. package/components/line-chart-positioning.config-DMe1Ldwk.cjs +0 -20
  1047. package/components/load-data-fields-for-datasets-B3XcFFfg.js +0 -42
  1048. package/components/load-data-fields-for-datasets-rL24A68g.cjs +0 -20
  1049. package/components/localized-mixin-DaLXe5J9.js +0 -45
  1050. package/components/localized-mixin-DiUJOd06.cjs +0 -20
  1051. package/components/marker-map-positioning.config-CpI8nCtC.cjs +0 -20
  1052. package/components/marker-map-positioning.config-DW9tMO2M.js +0 -48
  1053. package/components/nl-BaZM3WoR.js +0 -565
  1054. package/components/nl-BoEhzeIh.cjs +0 -20
  1055. package/components/ohlc-chart-positioning.config-9DETh4xy.cjs +0 -20
  1056. package/components/ohlc-chart-positioning.config-CkX8gyS2.js +0 -78
  1057. package/components/parallel-coordinates-plot-positioning.config-CLDZdGdh.cjs +0 -20
  1058. package/components/parallel-coordinates-plot-positioning.config-DTJZLEeT.js +0 -48
  1059. package/components/pivot-table-positioning.config-B-SALuVb.cjs +0 -20
  1060. package/components/pivot-table-positioning.config-CtSYHD-n.js +0 -55
  1061. package/components/pyramid-chart-positioning.config-0Juiava5.js +0 -55
  1062. package/components/pyramid-chart-positioning.config-BllFtneP.cjs +0 -20
  1063. package/components/radar-chart-positioning.config-BPbb63S6.js +0 -55
  1064. package/components/radar-chart-positioning.config-BY4RKNDi.cjs +0 -20
  1065. package/components/route-map-options.config-C65J81_7.js +0 -328
  1066. package/components/route-map-options.config-DS9cCAQK.cjs +0 -20
  1067. package/components/route-map-positioning.config-D6nZFd8f.js +0 -66
  1068. package/components/route-map-positioning.config-GQ9AJfej.cjs +0 -20
  1069. package/components/sankey-diagram-positioning.config-DAuj5A08.cjs +0 -20
  1070. package/components/sankey-diagram-positioning.config-R1EjoR5F.js +0 -66
  1071. package/components/scatter-plot-positioning.config-DGoMnNZy.js +0 -77
  1072. package/components/scatter-plot-positioning.config-o4c-wuRo.cjs +0 -20
  1073. package/components/set-locale-Xh_1AFbC.cjs +0 -20
  1074. package/components/set-locale-ydAPif-7.js +0 -43
  1075. package/components/slicer-filter-positioning.config-BqpIENEm.cjs +0 -20
  1076. package/components/slicer-filter-positioning.config-D_didkcw.js +0 -48
  1077. package/components/slot-menu-CUdbaW3K.js +0 -428
  1078. package/components/slot-menu-DRx1Ffla.cjs +0 -71
  1079. package/components/slot-menu-list-DVSxamVa.js +0 -347
  1080. package/components/slot-menu-list-DaHzz_ve.cjs +0 -44
  1081. package/components/speedometer-chart-positioning.config-CmxsV4-x.js +0 -48
  1082. package/components/speedometer-chart-positioning.config-eVUWDhkL.cjs +0 -20
  1083. package/components/spike-map-options.config-BRwdTyrp.cjs +0 -20
  1084. package/components/spike-map-options.config-DjoTrAsC.js +0 -415
  1085. package/components/spike-map-positioning.config-B38djRlf.cjs +0 -20
  1086. package/components/spike-map-positioning.config-Bta7ar9e.js +0 -55
  1087. package/components/strip-plot-positioning.config-0vlAfmDB.js +0 -48
  1088. package/components/strip-plot-positioning.config-atH68L8u.cjs +0 -20
  1089. package/components/sunburst-chart-positioning.config-B2x6afBV.js +0 -48
  1090. package/components/sunburst-chart-positioning.config-NFzFNuXB.cjs +0 -20
  1091. package/components/symbol-map-positioning.config-B6v9PFTk.js +0 -55
  1092. package/components/symbol-map-positioning.config-DGpmp_N1.cjs +0 -20
  1093. package/components/treemap-chart-positioning.config-Bf2VNVRQ.js +0 -55
  1094. package/components/treemap-chart-positioning.config-NMULB8UM.cjs +0 -20
  1095. package/components/utils-SzKvwZ9-.cjs +0 -20
  1096. package/components/utils-_8LPCz9-.js +0 -240
  1097. package/components/venn-diagram-positioning.config-D4cODPGV.cjs +0 -20
  1098. package/components/venn-diagram-positioning.config-DgOl0Vh-.js +0 -55
  1099. package/components/viz-item-menu/index.cjs +0 -20
  1100. package/components/viz-item-menu/index.d.ts +0 -8
  1101. package/components/viz-item-menu/index.js +0 -28
  1102. package/components/viz-item-menu/types.d.ts +0 -9
  1103. package/components/viz-item-menu/viz-item-menu.d.ts +0 -78
  1104. package/components/viz-item-menu-CNHv6qDa.cjs +0 -55
  1105. package/components/viz-item-menu-L_j0L08h.js +0 -170
  1106. package/components/wordcloud-chart-positioning.config-BP6iqy-N.js +0 -55
  1107. package/components/wordcloud-chart-positioning.config-DZEkWvb0.cjs +0 -20
  1108. package/deprecated-react/components/viz-item-menu.component.cjs +0 -1
  1109. package/react/components/viz-item-menu.component.ts +0 -33
  1110. package/react/esm/components/viz-item-menu.component.d.ts +0 -16
  1111. package/react/esm/components/viz-item-menu.component.js +0 -21
  1112. /package/{storybook/inject-global-vars.d.ts → utils/data-broker/tests/data-broker.test.d.ts} +0 -0
@@ -0,0 +1,3812 @@
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 { t as e } from "./defineProperty-AldSMFEH.js";
21
+ //#region node_modules/colorjs.io/dist/color.js
22
+ function t(e, t) {
23
+ let n = e.length;
24
+ Array.isArray(e[0]) || (e = [e]), Array.isArray(t[0]) || (t = t.map((e) => [e]));
25
+ let r = t[0].length, i = t[0].map((e, n) => t.map((e) => e[n])), a = e.map((e) => i.map((t) => {
26
+ let n = 0;
27
+ if (!Array.isArray(e)) {
28
+ for (let r of t) n += e * r;
29
+ return n;
30
+ }
31
+ for (let r = 0; r < e.length; r++) n += e[r] * (t[r] || 0);
32
+ return n;
33
+ }));
34
+ return n === 1 && (a = a[0]), r === 1 ? a.map((e) => e[0]) : a;
35
+ }
36
+ function n(e) {
37
+ return r(e) === "string";
38
+ }
39
+ function r(e) {
40
+ return (Object.prototype.toString.call(e).match(/^\[object\s+(.*?)\]$/)[1] || "").toLowerCase();
41
+ }
42
+ function i(e, { precision: t, unit: n }) {
43
+ return a(e) ? "none" : s(e, t) + (n ?? "");
44
+ }
45
+ function a(e) {
46
+ return Number.isNaN(e) || e instanceof Number && e?.none;
47
+ }
48
+ function o(e) {
49
+ return a(e) ? 0 : e;
50
+ }
51
+ function s(e, t) {
52
+ if (e === 0) return 0;
53
+ let n = ~~e, r = 0;
54
+ n && t && (r = ~~Math.log10(Math.abs(n)) + 1);
55
+ let i = 10 ** (t - r);
56
+ return Math.floor(e * i + .5) / i;
57
+ }
58
+ var c = {
59
+ deg: 1,
60
+ grad: .9,
61
+ rad: 180 / Math.PI,
62
+ turn: 360
63
+ };
64
+ function l(e) {
65
+ if (!e) return;
66
+ e = e.trim();
67
+ let t = /^([a-z]+)\((.+?)\)$/i, n = /^-?[\d.]+$/, r = /%|deg|g?rad|turn$/, i = /\/?\s*(none|[-\w.]+(?:%|deg|g?rad|turn)?)/g, a = e.match(t);
68
+ if (a) {
69
+ let e = [];
70
+ return a[2].replace(i, (t, i) => {
71
+ let a = i.match(r), o = i;
72
+ if (a) {
73
+ let e = a[0], t = o.slice(0, -e.length);
74
+ e === "%" ? (o = /* @__PURE__ */ new Number(t / 100), o.type = "<percentage>") : (o = new Number(t * c[e]), o.type = "<angle>", o.unit = e);
75
+ } else n.test(o) ? (o = new Number(o), o.type = "<number>") : o === "none" && (o = /* @__PURE__ */ new Number(NaN), o.none = !0);
76
+ t.startsWith("/") && (o = o instanceof Number ? o : new Number(o), o.alpha = !0), typeof o == "object" && o instanceof Number && (o.raw = i), e.push(o);
77
+ }), {
78
+ name: a[1].toLowerCase(),
79
+ rawName: a[1],
80
+ rawArgs: a[2],
81
+ args: e
82
+ };
83
+ }
84
+ }
85
+ function u(e) {
86
+ return e[e.length - 1];
87
+ }
88
+ function d(e, t, n) {
89
+ return isNaN(e) ? t : isNaN(t) ? e : e + (t - e) * n;
90
+ }
91
+ function f(e, t, n) {
92
+ return (n - e) / (t - e);
93
+ }
94
+ function p(e, t, n) {
95
+ return d(t[0], t[1], f(e[0], e[1], n));
96
+ }
97
+ function m(e) {
98
+ return e.map((e) => e.split("|").map((e) => {
99
+ e = e.trim();
100
+ let t = e.match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);
101
+ if (t) {
102
+ let e = new String(t[1]);
103
+ return e.range = [+t[2], +t[3]], e;
104
+ }
105
+ return e;
106
+ }));
107
+ }
108
+ function h(e, t, n) {
109
+ return Math.max(Math.min(n, t), e);
110
+ }
111
+ function g(e, t) {
112
+ return Math.sign(e) === Math.sign(t) ? e : -e;
113
+ }
114
+ function _(e, t) {
115
+ return g(Math.abs(e) ** t, e);
116
+ }
117
+ function v(e, t) {
118
+ return t === 0 ? 0 : e / t;
119
+ }
120
+ function y(e, t, n = 0, r = e.length) {
121
+ for (; n < r;) {
122
+ let i = n + r >> 1;
123
+ e[i] < t ? n = i + 1 : r = i;
124
+ }
125
+ return n;
126
+ }
127
+ var b = /*#__PURE__*/ Object.freeze({
128
+ __proto__: null,
129
+ bisectLeft: y,
130
+ clamp: h,
131
+ copySign: g,
132
+ interpolate: d,
133
+ interpolateInv: f,
134
+ isNone: a,
135
+ isString: n,
136
+ last: u,
137
+ mapRange: p,
138
+ multiplyMatrices: t,
139
+ parseCoordGrammar: m,
140
+ parseFunction: l,
141
+ serializeNumber: i,
142
+ skipNone: o,
143
+ spow: _,
144
+ toPrecision: s,
145
+ type: r,
146
+ zdiv: v
147
+ }), x = new class {
148
+ add(e, t, n) {
149
+ if (typeof arguments[0] != "string") {
150
+ for (var e in arguments[0]) this.add(e, arguments[0][e], arguments[1]);
151
+ return;
152
+ }
153
+ (Array.isArray(e) ? e : [e]).forEach(function(e) {
154
+ this[e] = this[e] || [], t && this[e][n ? "unshift" : "push"](t);
155
+ }, this);
156
+ }
157
+ run(e, t) {
158
+ this[e] = this[e] || [], this[e].forEach(function(e) {
159
+ e.call(t && t.context ? t.context : t, t);
160
+ });
161
+ }
162
+ }(), S = {
163
+ gamut_mapping: "css",
164
+ precision: 5,
165
+ deltaE: "76",
166
+ verbose: globalThis?.process?.env?.NODE_ENV?.toLowerCase() !== "test",
167
+ warn: function(e) {
168
+ this.verbose && globalThis?.console?.warn?.(e);
169
+ }
170
+ }, C = {
171
+ D50: [
172
+ .3457 / .3585,
173
+ 1,
174
+ .2958 / .3585
175
+ ],
176
+ D65: [
177
+ .3127 / .329,
178
+ 1,
179
+ .3583 / .329
180
+ ]
181
+ };
182
+ function w(e) {
183
+ return Array.isArray(e) ? e : C[e];
184
+ }
185
+ function T(e, n, r, i = {}) {
186
+ if (e = w(e), n = w(n), !e || !n) throw TypeError(`Missing white point to convert ${e ? "" : "from"}${!e && !n ? "/" : ""}${n ? "" : "to"}`);
187
+ if (e === n) return r;
188
+ let a = {
189
+ W1: e,
190
+ W2: n,
191
+ XYZ: r,
192
+ options: i
193
+ };
194
+ if (x.run("chromatic-adaptation-start", a), a.M || (a.W1 === C.D65 && a.W2 === C.D50 ? a.M = [
195
+ [
196
+ 1.0479297925449969,
197
+ .022946870601609652,
198
+ -.05019226628920524
199
+ ],
200
+ [
201
+ .02962780877005599,
202
+ .9904344267538799,
203
+ -.017073799063418826
204
+ ],
205
+ [
206
+ -.009243040646204504,
207
+ .015055191490298152,
208
+ .7518742814281371
209
+ ]
210
+ ] : a.W1 === C.D50 && a.W2 === C.D65 && (a.M = [
211
+ [
212
+ .955473421488075,
213
+ -.02309845494876471,
214
+ .06325924320057072
215
+ ],
216
+ [
217
+ -.0283697093338637,
218
+ 1.0099953980813041,
219
+ .021041441191917323
220
+ ],
221
+ [
222
+ .012314014864481998,
223
+ -.020507649298898964,
224
+ 1.330365926242124
225
+ ]
226
+ ])), x.run("chromatic-adaptation-end", a), a.M) return t(a.M, a.XYZ);
227
+ throw TypeError("Only Bradford CAT with white points D50 and D65 supported for now.");
228
+ }
229
+ var ee = /* @__PURE__ */ new Set([
230
+ "<number>",
231
+ "<percentage>",
232
+ "<angle>"
233
+ ]);
234
+ function E(e, t, n, r) {
235
+ return Object.entries(e.coords).map(([e, i], a) => {
236
+ let o = t.coordGrammar[a], s = r[a], c = s?.type, l;
237
+ if (l = s.none ? o.find((e) => ee.has(e)) : o.find((e) => e == c), !l) {
238
+ let t = i.name || e;
239
+ throw TypeError(`${c ?? s.raw} not allowed for ${t} in ${n}()`);
240
+ }
241
+ let u = l.range;
242
+ c === "<percentage>" && (u ||= [0, 1]);
243
+ let d = i.range || i.refRange;
244
+ return u && d && (r[a] = p(u, d, r[a])), l;
245
+ });
246
+ }
247
+ function te(e, { meta: t } = {}) {
248
+ let n = { str: String(e)?.trim() };
249
+ if (x.run("parse-start", n), n.color) return n.color;
250
+ if (n.parsed = l(n.str), n.parsed) {
251
+ let e = n.parsed.name;
252
+ if (e === "color") {
253
+ let e = n.parsed.args.shift(), r = e.startsWith("--") ? e.substring(2) : `--${e}`, i = [e, r], a = n.parsed.rawArgs.indexOf("/") > 0 ? n.parsed.args.pop() : 1;
254
+ for (let r of O.all) {
255
+ let o = r.getFormat("color");
256
+ if (o && (i.includes(o.id) || o.ids?.filter((e) => i.includes(e)).length)) {
257
+ let i = Object.keys(r.coords).map((e, t) => n.parsed.args[t] || 0), s;
258
+ return o.coordGrammar && (s = E(r, o, "color", i)), t && Object.assign(t, {
259
+ formatId: "color",
260
+ types: s
261
+ }), o.id.startsWith("--") && !e.startsWith("--") && S.warn(`${r.name} is a non-standard space and not currently supported in the CSS spec. Use prefixed color(${o.id}) instead of color(${e}).`), e.startsWith("--") && !o.id.startsWith("--") && S.warn(`${r.name} is a standard space and supported in the CSS spec. Use color(${o.id}) instead of prefixed color(${e}).`), {
262
+ spaceId: r.id,
263
+ coords: i,
264
+ alpha: a
265
+ };
266
+ }
267
+ }
268
+ let o = "", s = e in O.registry ? e : r;
269
+ if (s in O.registry) {
270
+ let e = O.registry[s].formats?.color?.id;
271
+ e && (o = `Did you mean color(${e})?`);
272
+ }
273
+ throw TypeError(`Cannot parse color(${e}). ` + (o || "Missing a plugin?"));
274
+ } else for (let r of O.all) {
275
+ let i = r.getFormat(e);
276
+ if (i && i.type === "function") {
277
+ let a = 1;
278
+ (i.lastAlpha || u(n.parsed.args).alpha) && (a = n.parsed.args.pop());
279
+ let o = n.parsed.args, s;
280
+ return i.coordGrammar && (s = E(r, i, e, o)), t && Object.assign(t, {
281
+ formatId: i.name,
282
+ types: s
283
+ }), {
284
+ spaceId: r.id,
285
+ coords: o,
286
+ alpha: a
287
+ };
288
+ }
289
+ }
290
+ } else for (let e of O.all) for (let r in e.formats) {
291
+ let i = e.formats[r];
292
+ if (i.type !== "custom" || i.test && !i.test(n.str)) continue;
293
+ let a = i.parse(n.str);
294
+ if (a) return a.alpha ??= 1, t && (t.formatId = r), a;
295
+ }
296
+ throw TypeError(`Could not parse ${e} as a color. Missing a plugin?`);
297
+ }
298
+ function D(e) {
299
+ if (Array.isArray(e)) return e.map(D);
300
+ if (!e) throw TypeError("Empty color reference");
301
+ n(e) && (e = te(e));
302
+ let t = e.space || e.spaceId;
303
+ return t instanceof O || (e.space = O.get(t)), e.alpha === void 0 && (e.alpha = 1), e;
304
+ }
305
+ var ne = 75e-6, O = class e {
306
+ constructor(t) {
307
+ this.id = t.id, this.name = t.name, this.base = t.base ? e.get(t.base) : null, this.aliases = t.aliases, this.base && (this.fromBase = t.fromBase, this.toBase = t.toBase);
308
+ let n = t.coords ?? this.base.coords;
309
+ for (let e in n) "name" in n[e] || (n[e].name = e);
310
+ this.coords = n;
311
+ let r = t.white ?? this.base.white ?? "D65";
312
+ this.white = w(r), this.formats = t.formats ?? {};
313
+ for (let e in this.formats) {
314
+ let t = this.formats[e];
315
+ t.type ||= "function", t.name ||= e;
316
+ }
317
+ this.formats.color?.id || (this.formats.color = {
318
+ ...this.formats.color ?? {},
319
+ id: t.cssId || this.id
320
+ }), t.gamutSpace ? this.gamutSpace = t.gamutSpace === "self" ? this : e.get(t.gamutSpace) : this.isPolar ? this.gamutSpace = this.base : this.gamutSpace = this, this.gamutSpace.isUnbounded && (this.inGamut = (e, t) => !0), this.referred = t.referred, Object.defineProperty(this, "path", {
321
+ value: re(this).reverse(),
322
+ writable: !1,
323
+ enumerable: !0,
324
+ configurable: !0
325
+ }), x.run("colorspace-init-end", this);
326
+ }
327
+ inGamut(e, { epsilon: t = ne } = {}) {
328
+ if (!this.equals(this.gamutSpace)) return e = this.to(this.gamutSpace, e), this.gamutSpace.inGamut(e, { epsilon: t });
329
+ let n = Object.values(this.coords);
330
+ return e.every((e, r) => {
331
+ let i = n[r];
332
+ if (i.type !== "angle" && i.range) {
333
+ if (Number.isNaN(e)) return !0;
334
+ let [n, r] = i.range;
335
+ return (n === void 0 || e >= n - t) && (r === void 0 || e <= r + t);
336
+ }
337
+ return !0;
338
+ });
339
+ }
340
+ get isUnbounded() {
341
+ return Object.values(this.coords).every((e) => !("range" in e));
342
+ }
343
+ get cssId() {
344
+ return this.formats?.color?.id || this.id;
345
+ }
346
+ get isPolar() {
347
+ for (let e in this.coords) if (this.coords[e].type === "angle") return !0;
348
+ return !1;
349
+ }
350
+ getFormat(e) {
351
+ if (typeof e == "object") return e = k(e, this), e;
352
+ let t;
353
+ return t = e === "default" ? Object.values(this.formats)[0] : this.formats[e], t ? (t = k(t, this), t) : null;
354
+ }
355
+ equals(e) {
356
+ return e ? this === e || this.id === e || this.id === e.id : !1;
357
+ }
358
+ to(t, n) {
359
+ if (arguments.length === 1) {
360
+ let e = D(t);
361
+ [t, n] = [e.space, e.coords];
362
+ }
363
+ if (t = e.get(t), this.equals(t)) return n;
364
+ n = n.map((e) => Number.isNaN(e) ? 0 : e);
365
+ let r = this.path, i = t.path, a, o;
366
+ for (let e = 0; e < r.length && r[e].equals(i[e]); e++) a = r[e], o = e;
367
+ if (!a) throw Error(`Cannot convert between color spaces ${this} and ${t}: no connection space was found`);
368
+ for (let e = r.length - 1; e > o; e--) n = r[e].toBase(n);
369
+ for (let e = o + 1; e < i.length; e++) n = i[e].fromBase(n);
370
+ return n;
371
+ }
372
+ from(t, n) {
373
+ if (arguments.length === 1) {
374
+ let e = D(t);
375
+ [t, n] = [e.space, e.coords];
376
+ }
377
+ return t = e.get(t), t.to(this, n);
378
+ }
379
+ toString() {
380
+ return `${this.name} (${this.id})`;
381
+ }
382
+ getMinCoords() {
383
+ let e = [];
384
+ for (let t in this.coords) {
385
+ let n = this.coords[t], r = n.range || n.refRange;
386
+ e.push(r?.min ?? 0);
387
+ }
388
+ return e;
389
+ }
390
+ static get all() {
391
+ return [...new Set(Object.values(e.registry))];
392
+ }
393
+ static register(e, t) {
394
+ if (arguments.length === 1 && (t = arguments[0], e = t.id), t = this.get(t), this.registry[e] && this.registry[e] !== t) throw Error(`Duplicate color space registration: '${e}'`);
395
+ if (this.registry[e] = t, arguments.length === 1 && t.aliases) for (let e of t.aliases) this.register(e, t);
396
+ return t;
397
+ }
398
+ static get(t, ...n) {
399
+ if (!t || t instanceof e) return t;
400
+ if (r(t) === "string") {
401
+ let n = e.registry[t.toLowerCase()];
402
+ if (!n) throw TypeError(`No color space found with id = "${t}"`);
403
+ return n;
404
+ }
405
+ if (n.length) return e.get(...n);
406
+ throw TypeError(`${t} is not a valid color space`);
407
+ }
408
+ static resolveCoord(t, n) {
409
+ let i = r(t), a, o;
410
+ if (i === "string" ? t.includes(".") ? [a, o] = t.split(".") : [a, o] = [, t] : Array.isArray(t) ? [a, o] = t : (a = t.space, o = t.coordId), a = e.get(a), a ||= n, !a) throw TypeError(`Cannot resolve coordinate reference ${t}: No color space specified and relative references are not allowed here`);
411
+ if (i = r(o), i === "number" || i === "string" && o >= 0) {
412
+ let e = Object.entries(a.coords)[o];
413
+ if (e) return {
414
+ space: a,
415
+ id: e[0],
416
+ index: o,
417
+ ...e[1]
418
+ };
419
+ }
420
+ a = e.get(a);
421
+ let s = o.toLowerCase(), c = 0;
422
+ for (let e in a.coords) {
423
+ let t = a.coords[e];
424
+ if (e.toLowerCase() === s || t.name?.toLowerCase() === s) return {
425
+ space: a,
426
+ id: e,
427
+ index: c,
428
+ ...t
429
+ };
430
+ c++;
431
+ }
432
+ throw TypeError(`No "${o}" coordinate found in ${a.name}. Its coordinates are: ${Object.keys(a.coords).join(", ")}`);
433
+ }
434
+ };
435
+ e(O, "registry", {}), e(O, "DEFAULT_FORMAT", {
436
+ type: "functions",
437
+ name: "color"
438
+ });
439
+ function re(e) {
440
+ let t = [e];
441
+ for (let n = e; n = n.base;) t.push(n);
442
+ return t;
443
+ }
444
+ function k(e, { coords: t } = {}) {
445
+ if (e.coords && !e.coordGrammar) {
446
+ e.type ||= "function", e.name ||= "color", e.coordGrammar = m(e.coords);
447
+ let n = Object.entries(t).map(([t, n], r) => {
448
+ let i = e.coordGrammar[r][0], a = n.range || n.refRange, o = i.range, s = "";
449
+ return i == "<percentage>" ? (o = [0, 100], s = "%") : i == "<angle>" && (s = "deg"), {
450
+ fromRange: a,
451
+ toRange: o,
452
+ suffix: s
453
+ };
454
+ });
455
+ e.serializeCoords = (e, t) => e.map((e, r) => {
456
+ let { fromRange: a, toRange: o, suffix: s } = n[r];
457
+ return a && o && (e = p(a, o, e)), e = i(e, {
458
+ precision: t,
459
+ unit: s
460
+ }), e;
461
+ });
462
+ }
463
+ return e;
464
+ }
465
+ var A = new O({
466
+ id: "xyz-d65",
467
+ name: "XYZ D65",
468
+ coords: {
469
+ x: { name: "X" },
470
+ y: { name: "Y" },
471
+ z: { name: "Z" }
472
+ },
473
+ white: "D65",
474
+ formats: { color: { ids: ["xyz-d65", "xyz"] } },
475
+ aliases: ["xyz"]
476
+ }), j = class extends O {
477
+ constructor(e) {
478
+ e.coords ||= {
479
+ r: {
480
+ range: [0, 1],
481
+ name: "Red"
482
+ },
483
+ g: {
484
+ range: [0, 1],
485
+ name: "Green"
486
+ },
487
+ b: {
488
+ range: [0, 1],
489
+ name: "Blue"
490
+ }
491
+ }, e.base ||= A, e.toXYZ_M && e.fromXYZ_M && (e.toBase ??= (n) => {
492
+ let r = t(e.toXYZ_M, n);
493
+ return this.white !== this.base.white && (r = T(this.white, this.base.white, r)), r;
494
+ }, e.fromBase ??= (n) => (n = T(this.base.white, this.white, n), t(e.fromXYZ_M, n))), e.referred ??= "display", super(e);
495
+ }
496
+ };
497
+ function M(e, t) {
498
+ return e = D(e), !t || e.space.equals(t) ? e.coords.slice() : (t = O.get(t), t.from(e));
499
+ }
500
+ function N(e, t) {
501
+ e = D(e);
502
+ let { space: n, index: r } = O.resolveCoord(t, e.space);
503
+ return M(e, n)[r];
504
+ }
505
+ function ie(e, t, n) {
506
+ return e = D(e), t = O.get(t), e.coords = t.to(e.space, n), e;
507
+ }
508
+ ie.returns = "color";
509
+ function P(e, t, n) {
510
+ if (e = D(e), arguments.length === 2 && r(arguments[1]) === "object") {
511
+ let t = arguments[1];
512
+ for (let n in t) P(e, n, t[n]);
513
+ } else {
514
+ typeof n == "function" && (n = n(N(e, t)));
515
+ let { space: r, index: i } = O.resolveCoord(t, e.space), a = M(e, r);
516
+ a[i] = n, ie(e, r, a);
517
+ }
518
+ return e;
519
+ }
520
+ P.returns = "color";
521
+ var ae = new O({
522
+ id: "xyz-d50",
523
+ name: "XYZ D50",
524
+ white: "D50",
525
+ base: A,
526
+ fromBase: (e) => T(A.white, "D50", e),
527
+ toBase: (e) => T("D50", A.white, e)
528
+ }), oe = 216 / 24389, F = 24 / 116, se = 24389 / 27, ce = C.D50, I = new O({
529
+ id: "lab",
530
+ name: "Lab",
531
+ coords: {
532
+ l: {
533
+ refRange: [0, 100],
534
+ name: "Lightness"
535
+ },
536
+ a: { refRange: [-125, 125] },
537
+ b: { refRange: [-125, 125] }
538
+ },
539
+ white: ce,
540
+ base: ae,
541
+ fromBase(e) {
542
+ let t = e.map((e, t) => e / ce[t]).map((e) => e > oe ? Math.cbrt(e) : (se * e + 16) / 116);
543
+ return [
544
+ 116 * t[1] - 16,
545
+ 500 * (t[0] - t[1]),
546
+ 200 * (t[1] - t[2])
547
+ ];
548
+ },
549
+ toBase(e) {
550
+ let t = [];
551
+ return t[1] = (e[0] + 16) / 116, t[0] = e[1] / 500 + t[1], t[2] = t[1] - e[2] / 200, [
552
+ t[0] > F ? t[0] ** 3 : (116 * t[0] - 16) / se,
553
+ e[0] > 8 ? ((e[0] + 16) / 116) ** 3 : e[0] / se,
554
+ t[2] > F ? t[2] ** 3 : (116 * t[2] - 16) / se
555
+ ].map((e, t) => e * ce[t]);
556
+ },
557
+ formats: { lab: { coords: [
558
+ "<number> | <percentage>",
559
+ "<number> | <percentage>[-1,1]",
560
+ "<number> | <percentage>[-1,1]"
561
+ ] } }
562
+ });
563
+ function L(e) {
564
+ return (e % 360 + 360) % 360;
565
+ }
566
+ function le(e, t) {
567
+ if (e === "raw") return t;
568
+ let [n, r] = t.map(L), i = r - n;
569
+ return e === "increasing" ? i < 0 && (r += 360) : e === "decreasing" ? i > 0 && (n += 360) : e === "longer" ? -180 < i && i < 180 && (i > 0 ? n += 360 : r += 360) : e === "shorter" && (i > 180 ? n += 360 : i < -180 && (r += 360)), [n, r];
570
+ }
571
+ var ue = new O({
572
+ id: "lch",
573
+ name: "LCH",
574
+ coords: {
575
+ l: {
576
+ refRange: [0, 100],
577
+ name: "Lightness"
578
+ },
579
+ c: {
580
+ refRange: [0, 150],
581
+ name: "Chroma"
582
+ },
583
+ h: {
584
+ refRange: [0, 360],
585
+ type: "angle",
586
+ name: "Hue"
587
+ }
588
+ },
589
+ base: I,
590
+ fromBase(e) {
591
+ let [t, n, r] = e, i, a = .02;
592
+ return i = Math.abs(n) < a && Math.abs(r) < a ? NaN : Math.atan2(r, n) * 180 / Math.PI, [
593
+ t,
594
+ Math.sqrt(n ** 2 + r ** 2),
595
+ L(i)
596
+ ];
597
+ },
598
+ toBase(e) {
599
+ let [t, n, r] = e;
600
+ return n < 0 && (n = 0), isNaN(r) && (r = 0), [
601
+ t,
602
+ n * Math.cos(r * Math.PI / 180),
603
+ n * Math.sin(r * Math.PI / 180)
604
+ ];
605
+ },
606
+ formats: { lch: { coords: [
607
+ "<number> | <percentage>",
608
+ "<number> | <percentage>",
609
+ "<number> | <angle>"
610
+ ] } }
611
+ }), de = 25 ** 7, fe = Math.PI, pe = 180 / fe, R = fe / 180;
612
+ function me(e) {
613
+ let t = e * e;
614
+ return t * t * t * e;
615
+ }
616
+ function he(e, t, { kL: n = 1, kC: r = 1, kH: i = 1 } = {}) {
617
+ [e, t] = D([e, t]);
618
+ let [a, o, s] = I.from(e), c = ue.from(I, [
619
+ a,
620
+ o,
621
+ s
622
+ ])[1], [l, u, d] = I.from(t), f = ue.from(I, [
623
+ l,
624
+ u,
625
+ d
626
+ ])[1];
627
+ c < 0 && (c = 0), f < 0 && (f = 0);
628
+ let p = me((c + f) / 2), m = .5 * (1 - Math.sqrt(p / (p + de))), h = (1 + m) * o, g = (1 + m) * u, _ = Math.sqrt(h ** 2 + s ** 2), v = Math.sqrt(g ** 2 + d ** 2), y = h === 0 && s === 0 ? 0 : Math.atan2(s, h), b = g === 0 && d === 0 ? 0 : Math.atan2(d, g);
629
+ y < 0 && (y += 2 * fe), b < 0 && (b += 2 * fe), y *= pe, b *= pe;
630
+ let x = l - a, C = v - _, w = b - y, T = y + b, ee = Math.abs(w), E;
631
+ _ * v === 0 ? E = 0 : ee <= 180 ? E = w : w > 180 ? E = w - 360 : w < -180 ? E = w + 360 : S.warn("the unthinkable has happened");
632
+ let te = 2 * Math.sqrt(v * _) * Math.sin(E * R / 2), ne = (a + l) / 2, O = (_ + v) / 2, re = me(O), k;
633
+ k = _ * v === 0 ? T : ee <= 180 ? T / 2 : T < 360 ? (T + 360) / 2 : (T - 360) / 2;
634
+ let A = (ne - 50) ** 2, j = 1 + .015 * A / Math.sqrt(20 + A), M = 1 + .045 * O, N = 1;
635
+ N -= .17 * Math.cos((k - 30) * R), N += .24 * Math.cos(2 * k * R), N += .32 * Math.cos((3 * k + 6) * R), N -= .2 * Math.cos((4 * k - 63) * R);
636
+ let ie = 1 + .015 * O * N, P = 30 * Math.exp(-1 * ((k - 275) / 25) ** 2), ae = 2 * Math.sqrt(re / (re + de)), oe = -1 * Math.sin(2 * P * R) * ae, F = (x / (n * j)) ** 2;
637
+ return F += (C / (r * M)) ** 2, F += (te / (i * ie)) ** 2, F += oe * (C / (r * M)) * (te / (i * ie)), Math.sqrt(F);
638
+ }
639
+ var ge = [
640
+ [
641
+ .819022437996703,
642
+ .3619062600528904,
643
+ -.1288737815209879
644
+ ],
645
+ [
646
+ .0329836539323885,
647
+ .9292868615863434,
648
+ .0361446663506424
649
+ ],
650
+ [
651
+ .0481771893596242,
652
+ .2642395317527308,
653
+ .6335478284694309
654
+ ]
655
+ ], _e = [
656
+ [
657
+ 1.2268798758459243,
658
+ -.5578149944602171,
659
+ .2813910456659647
660
+ ],
661
+ [
662
+ -.0405757452148008,
663
+ 1.112286803280317,
664
+ -.0717110580655164
665
+ ],
666
+ [
667
+ -.0763729366746601,
668
+ -.4214933324022432,
669
+ 1.5869240198367816
670
+ ]
671
+ ], ve = [
672
+ [
673
+ .210454268309314,
674
+ .7936177747023054,
675
+ -.0040720430116193
676
+ ],
677
+ [
678
+ 1.9779985324311684,
679
+ -2.42859224204858,
680
+ .450593709617411
681
+ ],
682
+ [
683
+ .0259040424655478,
684
+ .7827717124575296,
685
+ -.8086757549230774
686
+ ]
687
+ ], ye = [
688
+ [
689
+ 1,
690
+ .3963377773761749,
691
+ .2158037573099136
692
+ ],
693
+ [
694
+ 1,
695
+ -.1055613458156586,
696
+ -.0638541728258133
697
+ ],
698
+ [
699
+ 1,
700
+ -.0894841775298119,
701
+ -1.2914855480194092
702
+ ]
703
+ ], z = new O({
704
+ id: "oklab",
705
+ name: "Oklab",
706
+ coords: {
707
+ l: {
708
+ refRange: [0, 1],
709
+ name: "Lightness"
710
+ },
711
+ a: { refRange: [-.4, .4] },
712
+ b: { refRange: [-.4, .4] }
713
+ },
714
+ white: "D65",
715
+ base: A,
716
+ fromBase(e) {
717
+ return t(ve, t(ge, e).map((e) => Math.cbrt(e)));
718
+ },
719
+ toBase(e) {
720
+ return t(_e, t(ye, e).map((e) => e ** 3));
721
+ },
722
+ formats: { oklab: { coords: [
723
+ "<percentage> | <number>",
724
+ "<number> | <percentage>[-1,1]",
725
+ "<number> | <percentage>[-1,1]"
726
+ ] } }
727
+ });
728
+ function be(e, t) {
729
+ [e, t] = D([e, t]);
730
+ let [n, r, i] = z.from(e), [a, o, s] = z.from(t), c = n - a, l = r - o, u = i - s;
731
+ return Math.sqrt(c ** 2 + l ** 2 + u ** 2);
732
+ }
733
+ var xe = 75e-6;
734
+ function B(e, t, { epsilon: n = xe } = {}) {
735
+ e = D(e), t ||= e.space, t = O.get(t);
736
+ let r = e.coords;
737
+ return t !== e.space && (r = t.from(e)), t.inGamut(r, { epsilon: n });
738
+ }
739
+ function V(e) {
740
+ return {
741
+ space: e.space,
742
+ coords: e.coords.slice(),
743
+ alpha: e.alpha
744
+ };
745
+ }
746
+ function Se(e, t, n = "lab") {
747
+ n = O.get(n);
748
+ let r = n.from(e), i = n.from(t);
749
+ return Math.sqrt(r.reduce((e, t, n) => {
750
+ let r = i[n];
751
+ return isNaN(t) || isNaN(r) ? e : e + (r - t) ** 2;
752
+ }, 0));
753
+ }
754
+ function Ce(e, t) {
755
+ return Se(e, t, "lab");
756
+ }
757
+ var we = Math.PI / 180;
758
+ function Te(e, t, { l: n = 2, c: r = 1 } = {}) {
759
+ [e, t] = D([e, t]);
760
+ let [i, a, o] = I.from(e), [, s, c] = ue.from(I, [
761
+ i,
762
+ a,
763
+ o
764
+ ]), [l, u, d] = I.from(t), f = ue.from(I, [
765
+ l,
766
+ u,
767
+ d
768
+ ])[1];
769
+ s < 0 && (s = 0), f < 0 && (f = 0);
770
+ let p = i - l, m = s - f, h = a - u, g = o - d, _ = h ** 2 + g ** 2 - m ** 2, v = .511;
771
+ i >= 16 && (v = .040975 * i / (1 + .01765 * i));
772
+ let y = .0638 * s / (1 + .0131 * s) + .638, b;
773
+ Number.isNaN(c) && (c = 0), b = c >= 164 && c <= 345 ? .56 + Math.abs(.2 * Math.cos((c + 168) * we)) : .36 + Math.abs(.4 * Math.cos((c + 35) * we));
774
+ let x = s ** 4, S = Math.sqrt(x / (x + 1900)), C = y * (S * b + 1 - S), w = (p / (n * v)) ** 2;
775
+ return w += (m / (r * y)) ** 2, w += _ / C ** 2, Math.sqrt(w);
776
+ }
777
+ var Ee = 203, De = new O({
778
+ id: "xyz-abs-d65",
779
+ cssId: "--xyz-abs-d65",
780
+ name: "Absolute XYZ D65",
781
+ coords: {
782
+ x: {
783
+ refRange: [0, 9504.7],
784
+ name: "Xa"
785
+ },
786
+ y: {
787
+ refRange: [0, 1e4],
788
+ name: "Ya"
789
+ },
790
+ z: {
791
+ refRange: [0, 10888.3],
792
+ name: "Za"
793
+ }
794
+ },
795
+ base: A,
796
+ fromBase(e) {
797
+ return e.map((e) => Math.max(e * Ee, 0));
798
+ },
799
+ toBase(e) {
800
+ return e.map((e) => Math.max(e / Ee, 0));
801
+ }
802
+ }), Oe = 1.15, ke = .66, Ae = 2610 / 2 ** 14, je = 2 ** 14 / 2610, Me = 3424 / 2 ** 12, Ne = 2413 / 2 ** 7, Pe = 2392 / 2 ** 7, Fe = 1.7 * 2523 / 2 ** 5, Ie = 2 ** 5 / (1.7 * 2523), Le = -.56, Re = 16295499532821565e-27, ze = [
803
+ [
804
+ .41478972,
805
+ .579999,
806
+ .014648
807
+ ],
808
+ [
809
+ -.20151,
810
+ 1.120649,
811
+ .0531008
812
+ ],
813
+ [
814
+ -.0166008,
815
+ .2648,
816
+ .6684799
817
+ ]
818
+ ], Be = [
819
+ [
820
+ 1.9242264357876067,
821
+ -1.0047923125953657,
822
+ .037651404030618
823
+ ],
824
+ [
825
+ .35031676209499907,
826
+ .7264811939316552,
827
+ -.06538442294808501
828
+ ],
829
+ [
830
+ -.09098281098284752,
831
+ -.3127282905230739,
832
+ 1.5227665613052603
833
+ ]
834
+ ], Ve = [
835
+ [
836
+ .5,
837
+ .5,
838
+ 0
839
+ ],
840
+ [
841
+ 3.524,
842
+ -4.066708,
843
+ .542708
844
+ ],
845
+ [
846
+ .199076,
847
+ 1.096799,
848
+ -1.295875
849
+ ]
850
+ ], He = [
851
+ [
852
+ 1,
853
+ .1386050432715393,
854
+ .05804731615611886
855
+ ],
856
+ [
857
+ .9999999999999999,
858
+ -.1386050432715393,
859
+ -.05804731615611886
860
+ ],
861
+ [
862
+ .9999999999999998,
863
+ -.09601924202631895,
864
+ -.8118918960560388
865
+ ]
866
+ ], Ue = new O({
867
+ id: "jzazbz",
868
+ name: "Jzazbz",
869
+ coords: {
870
+ jz: {
871
+ refRange: [0, 1],
872
+ name: "Jz"
873
+ },
874
+ az: { refRange: [-.5, .5] },
875
+ bz: { refRange: [-.5, .5] }
876
+ },
877
+ base: De,
878
+ fromBase(e) {
879
+ let [n, r, i] = e, [a, o, s] = t(Ve, t(ze, [
880
+ Oe * n - (Oe - 1) * i,
881
+ ke * r - (ke - 1) * n,
882
+ i
883
+ ]).map(function(e) {
884
+ return ((Me + Ne * (e / 1e4) ** Ae) / (1 + Pe * (e / 1e4) ** Ae)) ** Fe;
885
+ }));
886
+ return [
887
+ .43999999999999995 * a / (1 + Le * a) - Re,
888
+ o,
889
+ s
890
+ ];
891
+ },
892
+ toBase(e) {
893
+ let [n, r, i] = e, [a, o, s] = t(Be, t(He, [
894
+ (n + Re) / (.43999999999999995 - Le * (n + Re)),
895
+ r,
896
+ i
897
+ ]).map(function(e) {
898
+ return 1e4 * ((Me - e ** Ie) / (Pe * e ** Ie - Ne)) ** je;
899
+ })), c = (a + (Oe - 1) * s) / Oe;
900
+ return [
901
+ c,
902
+ (o + (ke - 1) * c) / ke,
903
+ s
904
+ ];
905
+ },
906
+ formats: { color: { coords: [
907
+ "<number> | <percentage>",
908
+ "<number> | <percentage>[-1,1]",
909
+ "<number> | <percentage>[-1,1]"
910
+ ] } }
911
+ }), We = new O({
912
+ id: "jzczhz",
913
+ name: "JzCzHz",
914
+ coords: {
915
+ jz: {
916
+ refRange: [0, 1],
917
+ name: "Jz"
918
+ },
919
+ cz: {
920
+ refRange: [0, 1],
921
+ name: "Chroma"
922
+ },
923
+ hz: {
924
+ refRange: [0, 360],
925
+ type: "angle",
926
+ name: "Hue"
927
+ }
928
+ },
929
+ base: Ue,
930
+ fromBase(e) {
931
+ let [t, n, r] = e, i, a = 2e-4;
932
+ return i = Math.abs(n) < a && Math.abs(r) < a ? NaN : Math.atan2(r, n) * 180 / Math.PI, [
933
+ t,
934
+ Math.sqrt(n ** 2 + r ** 2),
935
+ L(i)
936
+ ];
937
+ },
938
+ toBase(e) {
939
+ return [
940
+ e[0],
941
+ e[1] * Math.cos(e[2] * Math.PI / 180),
942
+ e[1] * Math.sin(e[2] * Math.PI / 180)
943
+ ];
944
+ }
945
+ });
946
+ function Ge(e, t) {
947
+ [e, t] = D([e, t]);
948
+ let [n, r, i] = We.from(e), [a, o, s] = We.from(t), c = n - a, l = r - o;
949
+ Number.isNaN(i) && Number.isNaN(s) ? (i = 0, s = 0) : Number.isNaN(i) ? i = s : Number.isNaN(s) && (s = i);
950
+ let u = i - s, d = 2 * Math.sqrt(r * o) * Math.sin(u / 2 * (Math.PI / 180));
951
+ return Math.sqrt(c ** 2 + l ** 2 + d ** 2);
952
+ }
953
+ var Ke = 3424 / 4096, qe = 2413 / 128, Je = 2392 / 128, Ye = 2610 / 16384, Xe = 2523 / 32, Ze = 16384 / 2610, Qe = 32 / 2523, $e = [
954
+ [
955
+ .3592832590121217,
956
+ .6976051147779502,
957
+ -.035891593232029
958
+ ],
959
+ [
960
+ -.1920808463704993,
961
+ 1.100476797037432,
962
+ .0753748658519118
963
+ ],
964
+ [
965
+ .0070797844607479,
966
+ .0748396662186362,
967
+ .8433265453898765
968
+ ]
969
+ ], et = [
970
+ [
971
+ 2048 / 4096,
972
+ 2048 / 4096,
973
+ 0
974
+ ],
975
+ [
976
+ 6610 / 4096,
977
+ -13613 / 4096,
978
+ 7003 / 4096
979
+ ],
980
+ [
981
+ 17933 / 4096,
982
+ -17390 / 4096,
983
+ -543 / 4096
984
+ ]
985
+ ], tt = [
986
+ [
987
+ .9999999999999998,
988
+ .0086090370379328,
989
+ .111029625003026
990
+ ],
991
+ [
992
+ .9999999999999998,
993
+ -.0086090370379328,
994
+ -.1110296250030259
995
+ ],
996
+ [
997
+ .9999999999999998,
998
+ .5600313357106791,
999
+ -.3206271749873188
1000
+ ]
1001
+ ], nt = [
1002
+ [
1003
+ 2.0701522183894223,
1004
+ -1.3263473389671563,
1005
+ .2066510476294053
1006
+ ],
1007
+ [
1008
+ .3647385209748072,
1009
+ .6805660249472273,
1010
+ -.0453045459220347
1011
+ ],
1012
+ [
1013
+ -.0497472075358123,
1014
+ -.0492609666966131,
1015
+ 1.1880659249923042
1016
+ ]
1017
+ ], rt = new O({
1018
+ id: "ictcp",
1019
+ name: "ICTCP",
1020
+ coords: {
1021
+ i: {
1022
+ refRange: [0, 1],
1023
+ name: "I"
1024
+ },
1025
+ ct: {
1026
+ refRange: [-.5, .5],
1027
+ name: "CT"
1028
+ },
1029
+ cp: {
1030
+ refRange: [-.5, .5],
1031
+ name: "CP"
1032
+ }
1033
+ },
1034
+ base: De,
1035
+ fromBase(e) {
1036
+ return it(t($e, e));
1037
+ },
1038
+ toBase(e) {
1039
+ return t(nt, at(e));
1040
+ }
1041
+ });
1042
+ function it(e) {
1043
+ return t(et, e.map(function(e) {
1044
+ return ((Ke + qe * (e / 1e4) ** Ye) / (1 + Je * (e / 1e4) ** Ye)) ** Xe;
1045
+ }));
1046
+ }
1047
+ function at(e) {
1048
+ return t(tt, e).map(function(e) {
1049
+ return 1e4 * (Math.max(e ** Qe - Ke, 0) / (qe - Je * e ** Qe)) ** Ze;
1050
+ });
1051
+ }
1052
+ function ot(e, t) {
1053
+ [e, t] = D([e, t]);
1054
+ let [n, r, i] = rt.from(e), [a, o, s] = rt.from(t);
1055
+ return 720 * Math.sqrt((n - a) ** 2 + .25 * (r - o) ** 2 + (i - s) ** 2);
1056
+ }
1057
+ var st = C.D65, ct = .42, lt = 1 / ct, ut = 2 * Math.PI, dt = [
1058
+ [
1059
+ .401288,
1060
+ .650173,
1061
+ -.051461
1062
+ ],
1063
+ [
1064
+ -.250268,
1065
+ 1.204414,
1066
+ .045854
1067
+ ],
1068
+ [
1069
+ -.002079,
1070
+ .048952,
1071
+ .953127
1072
+ ]
1073
+ ], ft = [
1074
+ [
1075
+ 1.8620678550872327,
1076
+ -1.0112546305316843,
1077
+ .14918677544445175
1078
+ ],
1079
+ [
1080
+ .38752654323613717,
1081
+ .6214474419314753,
1082
+ -.008973985167612518
1083
+ ],
1084
+ [
1085
+ -.015841498849333856,
1086
+ -.03412293802851557,
1087
+ 1.0499644368778496
1088
+ ]
1089
+ ], pt = [
1090
+ [
1091
+ 460,
1092
+ 451,
1093
+ 288
1094
+ ],
1095
+ [
1096
+ 460,
1097
+ -891,
1098
+ -261
1099
+ ],
1100
+ [
1101
+ 460,
1102
+ -220,
1103
+ -6300
1104
+ ]
1105
+ ], mt = {
1106
+ dark: [
1107
+ .8,
1108
+ .525,
1109
+ .8
1110
+ ],
1111
+ dim: [
1112
+ .9,
1113
+ .59,
1114
+ .9
1115
+ ],
1116
+ average: [
1117
+ 1,
1118
+ .69,
1119
+ 1
1120
+ ]
1121
+ }, H = {
1122
+ h: [
1123
+ 20.14,
1124
+ 90,
1125
+ 164.25,
1126
+ 237.53,
1127
+ 380.14
1128
+ ],
1129
+ e: [
1130
+ .8,
1131
+ .7,
1132
+ 1,
1133
+ 1.2,
1134
+ .8
1135
+ ],
1136
+ H: [
1137
+ 0,
1138
+ 100,
1139
+ 200,
1140
+ 300,
1141
+ 400
1142
+ ]
1143
+ }, ht = 180 / Math.PI, gt = Math.PI / 180;
1144
+ function _t(e, t) {
1145
+ return e.map((e) => {
1146
+ let n = _(t * Math.abs(e) * .01, ct);
1147
+ return 400 * g(n, e) / (n + 27.13);
1148
+ });
1149
+ }
1150
+ function vt(e, t) {
1151
+ let n = 100 / t * 27.13 ** lt;
1152
+ return e.map((e) => {
1153
+ let t = Math.abs(e);
1154
+ return g(n * _(t / (400 - t), lt), e);
1155
+ });
1156
+ }
1157
+ function yt(e) {
1158
+ let t = L(e);
1159
+ t <= H.h[0] && (t += 360);
1160
+ let n = y(H.h, t) - 1, [r, i] = H.h.slice(n, n + 2), [a, o] = H.e.slice(n, n + 2), s = H.H[n], c = (t - r) / a;
1161
+ return s + 100 * c / (c + (i - t) / o);
1162
+ }
1163
+ function bt(e) {
1164
+ let t = (e % 400 + 400) % 400, n = Math.floor(.01 * t);
1165
+ t %= 100;
1166
+ let [r, i] = H.h.slice(n, n + 2), [a, o] = H.e.slice(n, n + 2);
1167
+ return L((t * (o * r - a * i) - 100 * r * o) / (t * (o - a) - 100 * o));
1168
+ }
1169
+ function xt(e, n, r, i, a) {
1170
+ let o = {};
1171
+ o.discounting = a, o.refWhite = e, o.surround = i;
1172
+ let s = e.map((e) => e * 100);
1173
+ o.la = n, o.yb = r;
1174
+ let c = s[1], l = t(dt, s);
1175
+ i = mt[o.surround];
1176
+ let u = i[0];
1177
+ o.c = i[1], o.nc = i[2];
1178
+ let f = (1 / (5 * o.la + 1)) ** 4;
1179
+ o.fl = f * o.la + .1 * (1 - f) * (1 - f) * Math.cbrt(5 * o.la), o.flRoot = o.fl ** .25, o.n = o.yb / c, o.z = 1.48 + Math.sqrt(o.n), o.nbb = .725 * o.n ** -.2, o.ncb = o.nbb;
1180
+ let p = a ? 1 : Math.max(Math.min(u * (1 - 1 / 3.6 * Math.exp((-o.la - 42) / 92)), 1), 0);
1181
+ o.dRgb = l.map((e) => d(1, c / e, p)), o.dRgbInv = o.dRgb.map((e) => 1 / e);
1182
+ let m = _t(l.map((e, t) => e * o.dRgb[t]), o.fl);
1183
+ return o.aW = o.nbb * (2 * m[0] + m[1] + .05 * m[2]), o;
1184
+ }
1185
+ var St = xt(st, 64 / Math.PI * .2, 20, "average", !1);
1186
+ function Ct(e, n) {
1187
+ if (!(e.J !== void 0 ^ e.Q !== void 0)) throw Error("Conversion requires one and only one: 'J' or 'Q'");
1188
+ if (!(e.C !== void 0 ^ e.M !== void 0 ^ e.s !== void 0)) throw Error("Conversion requires one and only one: 'C', 'M' or 's'");
1189
+ if (!(e.h !== void 0 ^ e.H !== void 0)) throw Error("Conversion requires one and only one: 'h' or 'H'");
1190
+ if (e.J === 0 || e.Q === 0) return [
1191
+ 0,
1192
+ 0,
1193
+ 0
1194
+ ];
1195
+ let r = 0;
1196
+ r = e.h === void 0 ? bt(e.H) * gt : L(e.h) * gt;
1197
+ let i = Math.cos(r), a = Math.sin(r), o = 0;
1198
+ e.J === void 0 ? e.Q !== void 0 && (o = .25 * n.c * e.Q / ((n.aW + 4) * n.flRoot)) : o = _(e.J, 1 / 2) * .1;
1199
+ let s = 0;
1200
+ e.C === void 0 ? e.M === void 0 ? e.s !== void 0 && (s = 4e-4 * e.s ** 2 * (n.aW + 4) / n.c) : s = e.M / n.flRoot / o : s = e.C / o;
1201
+ let c = _(s * (1.64 - .29 ** n.n) ** -.73, 10 / 9), l = .25 * (Math.cos(r + 2) + 3.8), u = n.aW * _(o, 2 / n.c / n.z), d = 5e4 / 13 * n.nc * n.ncb * l, f = u / n.nbb, p = 23 * (f + .305) * v(c, 23 * d + c * (11 * i + 108 * a));
1202
+ return t(ft, vt(t(pt, [
1203
+ f,
1204
+ p * i,
1205
+ p * a
1206
+ ]).map((e) => e * 1 / 1403), n.fl).map((e, t) => e * n.dRgbInv[t])).map((e) => e / 100);
1207
+ }
1208
+ function wt(e, n) {
1209
+ let r = _t(t(dt, e.map((e) => e * 100)).map((e, t) => e * n.dRgb[t]), n.fl), i = r[0] + (-12 * r[1] + r[2]) / 11, a = (r[0] + r[1] - 2 * r[2]) / 9, o = (Math.atan2(a, i) % ut + ut) % ut, s = .25 * (Math.cos(o + 2) + 3.8), c = _(5e4 / 13 * n.nc * n.ncb * v(s * Math.sqrt(i ** 2 + a ** 2), r[0] + r[1] + 1.05 * r[2] + .305), .9) * (1.64 - .29 ** n.n) ** .73, l = _(n.nbb * (2 * r[0] + r[1] + .05 * r[2]) / n.aW, .5 * n.c * n.z), u = 100 * _(l, 2), d = 4 / n.c * l * (n.aW + 4) * n.flRoot, f = c * l, p = f * n.flRoot, m = L(o * ht), h = yt(m);
1210
+ return {
1211
+ J: u,
1212
+ C: f,
1213
+ h: m,
1214
+ s: 50 * _(n.c * c / (n.aW + 4), 1 / 2),
1215
+ Q: d,
1216
+ M: p,
1217
+ H: h
1218
+ };
1219
+ }
1220
+ var Tt = new O({
1221
+ id: "cam16-jmh",
1222
+ cssId: "--cam16-jmh",
1223
+ name: "CAM16-JMh",
1224
+ coords: {
1225
+ j: {
1226
+ refRange: [0, 100],
1227
+ name: "J"
1228
+ },
1229
+ m: {
1230
+ refRange: [0, 105],
1231
+ name: "Colorfulness"
1232
+ },
1233
+ h: {
1234
+ refRange: [0, 360],
1235
+ type: "angle",
1236
+ name: "Hue"
1237
+ }
1238
+ },
1239
+ base: A,
1240
+ fromBase(e) {
1241
+ let t = wt(e, St);
1242
+ return [
1243
+ t.J,
1244
+ t.M,
1245
+ t.h
1246
+ ];
1247
+ },
1248
+ toBase(e) {
1249
+ return Ct({
1250
+ J: e[0],
1251
+ M: e[1],
1252
+ h: e[2]
1253
+ }, St);
1254
+ }
1255
+ }), Et = C.D65, Dt = 216 / 24389, Ot = 24389 / 27;
1256
+ function kt(e) {
1257
+ return 116 * (e > Dt ? Math.cbrt(e) : (Ot * e + 16) / 116) - 16;
1258
+ }
1259
+ function At(e) {
1260
+ return e > 8 ? ((e + 16) / 116) ** 3 : e / Ot;
1261
+ }
1262
+ function jt(e, t) {
1263
+ let [n, r, i] = e, a = [], o = 0;
1264
+ if (i === 0) return [
1265
+ 0,
1266
+ 0,
1267
+ 0
1268
+ ];
1269
+ let s = At(i);
1270
+ o = i > 0 ? .00379058511492914 * i ** 2 + .608983189401032 * i + .9155088574762233 : 9514440756550361e-21 * i ** 2 + .08693057439788597 * i - 21.928975842194614;
1271
+ let c = 0, l = Infinity;
1272
+ for (; c <= 15;) {
1273
+ a = Ct({
1274
+ J: o,
1275
+ C: r,
1276
+ h: n
1277
+ }, t);
1278
+ let e = Math.abs(a[1] - s);
1279
+ if (e < l) {
1280
+ if (e <= 2e-12) return a;
1281
+ l = e;
1282
+ }
1283
+ o -= (a[1] - s) * o / (2 * a[1]), c += 1;
1284
+ }
1285
+ return Ct({
1286
+ J: o,
1287
+ C: r,
1288
+ h: n
1289
+ }, t);
1290
+ }
1291
+ function Mt(e, t) {
1292
+ let n = kt(e[1]);
1293
+ if (n === 0) return [
1294
+ 0,
1295
+ 0,
1296
+ 0
1297
+ ];
1298
+ let r = wt(e, Nt);
1299
+ return [
1300
+ L(r.h),
1301
+ r.C,
1302
+ n
1303
+ ];
1304
+ }
1305
+ var Nt = xt(Et, 200 / Math.PI * At(50), At(50) * 100, "average", !1), Pt = new O({
1306
+ id: "hct",
1307
+ name: "HCT",
1308
+ coords: {
1309
+ h: {
1310
+ refRange: [0, 360],
1311
+ type: "angle",
1312
+ name: "Hue"
1313
+ },
1314
+ c: {
1315
+ refRange: [0, 145],
1316
+ name: "Colorfulness"
1317
+ },
1318
+ t: {
1319
+ refRange: [0, 100],
1320
+ name: "Tone"
1321
+ }
1322
+ },
1323
+ base: A,
1324
+ fromBase(e) {
1325
+ return Mt(e);
1326
+ },
1327
+ toBase(e) {
1328
+ return jt(e, Nt);
1329
+ },
1330
+ formats: { color: {
1331
+ id: "--hct",
1332
+ coords: [
1333
+ "<number> | <angle>",
1334
+ "<percentage> | <number>",
1335
+ "<percentage> | <number>"
1336
+ ]
1337
+ } }
1338
+ }), Ft = Math.PI / 180, It = [
1339
+ 1,
1340
+ .007,
1341
+ .0228
1342
+ ];
1343
+ function Lt(e) {
1344
+ e[1] < 0 && (e = Pt.fromBase(Pt.toBase(e)));
1345
+ let t = Math.log(Math.max(1 + It[2] * e[1] * Nt.flRoot, 1)) / It[2], n = e[0] * Ft, r = t * Math.cos(n), i = t * Math.sin(n);
1346
+ return [
1347
+ e[2],
1348
+ r,
1349
+ i
1350
+ ];
1351
+ }
1352
+ function Rt(e, t) {
1353
+ [e, t] = D([e, t]);
1354
+ let [n, r, i] = Lt(Pt.from(e)), [a, o, s] = Lt(Pt.from(t));
1355
+ return Math.sqrt((n - a) ** 2 + (r - o) ** 2 + (i - s) ** 2);
1356
+ }
1357
+ var U = {
1358
+ deltaE76: Ce,
1359
+ deltaECMC: Te,
1360
+ deltaE2000: he,
1361
+ deltaEJz: Ge,
1362
+ deltaEITP: ot,
1363
+ deltaEOK: be,
1364
+ deltaEHCT: Rt
1365
+ };
1366
+ function zt(e) {
1367
+ return Math.max(parseFloat(`1e${(e ? Math.floor(Math.log10(Math.abs(e))) : 0) - 2}`), 1e-6);
1368
+ }
1369
+ var Bt = {
1370
+ hct: {
1371
+ method: "hct.c",
1372
+ jnd: 2,
1373
+ deltaEMethod: "hct",
1374
+ blackWhiteClamp: {}
1375
+ },
1376
+ "hct-tonal": {
1377
+ method: "hct.c",
1378
+ jnd: 0,
1379
+ deltaEMethod: "hct",
1380
+ blackWhiteClamp: {
1381
+ channel: "hct.t",
1382
+ min: 0,
1383
+ max: 100
1384
+ }
1385
+ }
1386
+ };
1387
+ function W(e, { method: t = S.gamut_mapping, space: r = void 0, deltaEMethod: i = "", jnd: o = 2, blackWhiteClamp: s = {} } = {}) {
1388
+ if (e = D(e), n(arguments[1]) ? r = arguments[1] : r ||= e.space, r = O.get(r), B(e, r, { epsilon: 0 })) return e;
1389
+ let c;
1390
+ if (t === "css") c = Ht(e, { space: r });
1391
+ else {
1392
+ if (t !== "clip" && !B(e, r)) {
1393
+ Object.prototype.hasOwnProperty.call(Bt, t) && ({method: t, jnd: o, deltaEMethod: i, blackWhiteClamp: s} = Bt[t]);
1394
+ let n = he;
1395
+ if (i !== "") {
1396
+ for (let e in U) if ("deltae" + i.toLowerCase() === e.toLowerCase()) {
1397
+ n = U[e];
1398
+ break;
1399
+ }
1400
+ }
1401
+ let l = W(G(e, r), {
1402
+ method: "clip",
1403
+ space: r
1404
+ });
1405
+ if (n(e, l) > o) {
1406
+ if (Object.keys(s).length === 3) {
1407
+ let t = O.resolveCoord(s.channel), n = N(G(e, t.space), t.id);
1408
+ if (a(n) && (n = 0), n >= s.max) return G({
1409
+ space: "xyz-d65",
1410
+ coords: C.D65
1411
+ }, e.space);
1412
+ if (n <= s.min) return G({
1413
+ space: "xyz-d65",
1414
+ coords: [
1415
+ 0,
1416
+ 0,
1417
+ 0
1418
+ ]
1419
+ }, e.space);
1420
+ }
1421
+ let i = O.resolveCoord(t), l = i.space, u = i.id, d = G(e, l);
1422
+ d.coords.forEach((e, t) => {
1423
+ a(e) && (d.coords[t] = 0);
1424
+ });
1425
+ let f = (i.range || i.refRange)[0], p = zt(o), m = f, h = N(d, u);
1426
+ for (; h - m > p;) {
1427
+ let e = V(d);
1428
+ e = W(e, {
1429
+ space: r,
1430
+ method: "clip"
1431
+ }), n(d, e) - o < p ? m = N(d, u) : h = N(d, u), P(d, u, (m + h) / 2);
1432
+ }
1433
+ c = G(d, r);
1434
+ } else c = l;
1435
+ } else c = G(e, r);
1436
+ if (t === "clip" || !B(c, r, { epsilon: 0 })) {
1437
+ let e = Object.values(r.coords).map((e) => e.range || []);
1438
+ c.coords = c.coords.map((t, n) => {
1439
+ let [r, i] = e[n];
1440
+ return r !== void 0 && (t = Math.max(r, t)), i !== void 0 && (t = Math.min(t, i)), t;
1441
+ });
1442
+ }
1443
+ }
1444
+ return r !== e.space && (c = G(c, e.space)), e.coords = c.coords, e;
1445
+ }
1446
+ W.returns = "color";
1447
+ var Vt = {
1448
+ WHITE: {
1449
+ space: z,
1450
+ coords: [
1451
+ 1,
1452
+ 0,
1453
+ 0
1454
+ ]
1455
+ },
1456
+ BLACK: {
1457
+ space: z,
1458
+ coords: [
1459
+ 0,
1460
+ 0,
1461
+ 0
1462
+ ]
1463
+ }
1464
+ };
1465
+ function Ht(e, { space: t } = {}) {
1466
+ let n = .02, r = 1e-4;
1467
+ e = D(e), t ||= e.space, t = O.get(t);
1468
+ let i = O.get("oklch");
1469
+ if (t.isUnbounded) return G(e, t);
1470
+ let a = G(e, i), o = a.coords[0];
1471
+ if (o >= 1) {
1472
+ let n = G(Vt.WHITE, t);
1473
+ return n.alpha = e.alpha, G(n, t);
1474
+ }
1475
+ if (o <= 0) {
1476
+ let n = G(Vt.BLACK, t);
1477
+ return n.alpha = e.alpha, G(n, t);
1478
+ }
1479
+ if (B(a, t, { epsilon: 0 })) return G(a, t);
1480
+ function s(e) {
1481
+ let n = G(e, t), r = Object.values(t.coords);
1482
+ return n.coords = n.coords.map((e, t) => {
1483
+ if ("range" in r[t]) {
1484
+ let [n, i] = r[t].range;
1485
+ return h(n, e, i);
1486
+ }
1487
+ return e;
1488
+ }), n;
1489
+ }
1490
+ let c = 0, l = a.coords[1], u = !0, d = V(a), f = s(d), p = be(f, d);
1491
+ if (p < n) return f;
1492
+ for (; l - c > r;) {
1493
+ let e = (c + l) / 2;
1494
+ if (d.coords[1] = e, u && B(d, t, { epsilon: 0 })) c = e;
1495
+ else if (f = s(d), p = be(f, d), p < n) {
1496
+ if (n - p < r) break;
1497
+ u = !1, c = e;
1498
+ } else l = e;
1499
+ }
1500
+ return f;
1501
+ }
1502
+ function G(e, t, { inGamut: n } = {}) {
1503
+ e = D(e), t = O.get(t);
1504
+ let r = t.from(e), i = {
1505
+ space: t,
1506
+ coords: r,
1507
+ alpha: e.alpha
1508
+ };
1509
+ return n && (i = W(i, n === !0 ? void 0 : n)), i;
1510
+ }
1511
+ G.returns = "color";
1512
+ function Ut(e, { precision: t = S.precision, format: n = "default", inGamut: r = !0, ...a } = {}) {
1513
+ let o;
1514
+ e = D(e);
1515
+ let s = n;
1516
+ n = e.space.getFormat(n) ?? e.space.getFormat("default") ?? O.DEFAULT_FORMAT;
1517
+ let c = e.coords.slice();
1518
+ if (r ||= n.toGamut, r && !B(e) && (c = W(V(e), r === !0 ? void 0 : r).coords), n.type === "custom") if (a.precision = t, n.serialize) o = n.serialize(c, e.alpha, a);
1519
+ else throw TypeError(`format ${s} can only be used to parse colors, not for serialization`);
1520
+ else {
1521
+ let r = n.name || "color";
1522
+ n.serializeCoords ? c = n.serializeCoords(c, t) : t !== null && (c = c.map((e) => i(e, { precision: t })));
1523
+ let a = [...c];
1524
+ if (r === "color") {
1525
+ let t = n.id || n.ids?.[0] || e.space.id;
1526
+ a.unshift(t);
1527
+ }
1528
+ let s = e.alpha;
1529
+ t !== null && (s = i(s, { precision: t }));
1530
+ let l = e.alpha >= 1 || n.noAlpha ? "" : `${n.commas ? "," : " /"} ${s}`;
1531
+ o = `${r}(${a.join(n.commas ? ", " : " ")}${l})`;
1532
+ }
1533
+ return o;
1534
+ }
1535
+ var Wt = new j({
1536
+ id: "rec2020-linear",
1537
+ cssId: "--rec2020-linear",
1538
+ name: "Linear REC.2020",
1539
+ white: "D65",
1540
+ toXYZ_M: [
1541
+ [
1542
+ .6369580483012914,
1543
+ .14461690358620832,
1544
+ .1688809751641721
1545
+ ],
1546
+ [
1547
+ .2627002120112671,
1548
+ .6779980715188708,
1549
+ .05930171646986196
1550
+ ],
1551
+ [
1552
+ 0,
1553
+ .028072693049087428,
1554
+ 1.060985057710791
1555
+ ]
1556
+ ],
1557
+ fromXYZ_M: [
1558
+ [
1559
+ 1.716651187971268,
1560
+ -.355670783776392,
1561
+ -.25336628137366
1562
+ ],
1563
+ [
1564
+ -.666684351832489,
1565
+ 1.616481236634939,
1566
+ .0157685458139111
1567
+ ],
1568
+ [
1569
+ .017639857445311,
1570
+ -.042770613257809,
1571
+ .942103121235474
1572
+ ]
1573
+ ]
1574
+ }), Gt = 1.09929682680944, Kt = .018053968510807, qt = new j({
1575
+ id: "rec2020",
1576
+ name: "REC.2020",
1577
+ base: Wt,
1578
+ toBase(e) {
1579
+ return e.map(function(e) {
1580
+ return e < Kt * 4.5 ? e / 4.5 : ((e + Gt - 1) / Gt) ** (1 / .45);
1581
+ });
1582
+ },
1583
+ fromBase(e) {
1584
+ return e.map(function(e) {
1585
+ return e >= Kt ? Gt * e ** .45 - (Gt - 1) : 4.5 * e;
1586
+ });
1587
+ }
1588
+ }), Jt = new j({
1589
+ id: "p3-linear",
1590
+ cssId: "--display-p3-linear",
1591
+ name: "Linear P3",
1592
+ white: "D65",
1593
+ toXYZ_M: [
1594
+ [
1595
+ .4865709486482162,
1596
+ .26566769316909306,
1597
+ .1982172852343625
1598
+ ],
1599
+ [
1600
+ .2289745640697488,
1601
+ .6917385218365064,
1602
+ .079286914093745
1603
+ ],
1604
+ [
1605
+ 0,
1606
+ .04511338185890264,
1607
+ 1.043944368900976
1608
+ ]
1609
+ ],
1610
+ fromXYZ_M: [
1611
+ [
1612
+ 2.493496911941425,
1613
+ -.9313836179191239,
1614
+ -.40271078445071684
1615
+ ],
1616
+ [
1617
+ -.8294889695615747,
1618
+ 1.7626640603183463,
1619
+ .023624685841943577
1620
+ ],
1621
+ [
1622
+ .03584583024378447,
1623
+ -.07617238926804182,
1624
+ .9568845240076872
1625
+ ]
1626
+ ]
1627
+ }), Yt = [
1628
+ [
1629
+ .41239079926595934,
1630
+ .357584339383878,
1631
+ .1804807884018343
1632
+ ],
1633
+ [
1634
+ .21263900587151027,
1635
+ .715168678767756,
1636
+ .07219231536073371
1637
+ ],
1638
+ [
1639
+ .01933081871559182,
1640
+ .11919477979462598,
1641
+ .9505321522496607
1642
+ ]
1643
+ ], K = [
1644
+ [
1645
+ 3.2409699419045226,
1646
+ -1.537383177570094,
1647
+ -.4986107602930034
1648
+ ],
1649
+ [
1650
+ -.9692436362808796,
1651
+ 1.8759675015077202,
1652
+ .04155505740717559
1653
+ ],
1654
+ [
1655
+ .05563007969699366,
1656
+ -.20397695888897652,
1657
+ 1.0569715142428786
1658
+ ]
1659
+ ], Xt = new j({
1660
+ id: "srgb-linear",
1661
+ name: "Linear sRGB",
1662
+ white: "D65",
1663
+ toXYZ_M: Yt,
1664
+ fromXYZ_M: K
1665
+ }), Zt = {
1666
+ aliceblue: [
1667
+ 240 / 255,
1668
+ 248 / 255,
1669
+ 1
1670
+ ],
1671
+ antiquewhite: [
1672
+ 250 / 255,
1673
+ 235 / 255,
1674
+ 215 / 255
1675
+ ],
1676
+ aqua: [
1677
+ 0,
1678
+ 1,
1679
+ 1
1680
+ ],
1681
+ aquamarine: [
1682
+ 127 / 255,
1683
+ 1,
1684
+ 212 / 255
1685
+ ],
1686
+ azure: [
1687
+ 240 / 255,
1688
+ 1,
1689
+ 1
1690
+ ],
1691
+ beige: [
1692
+ 245 / 255,
1693
+ 245 / 255,
1694
+ 220 / 255
1695
+ ],
1696
+ bisque: [
1697
+ 1,
1698
+ 228 / 255,
1699
+ 196 / 255
1700
+ ],
1701
+ black: [
1702
+ 0,
1703
+ 0,
1704
+ 0
1705
+ ],
1706
+ blanchedalmond: [
1707
+ 1,
1708
+ 235 / 255,
1709
+ 205 / 255
1710
+ ],
1711
+ blue: [
1712
+ 0,
1713
+ 0,
1714
+ 1
1715
+ ],
1716
+ blueviolet: [
1717
+ 138 / 255,
1718
+ 43 / 255,
1719
+ 226 / 255
1720
+ ],
1721
+ brown: [
1722
+ 165 / 255,
1723
+ 42 / 255,
1724
+ 42 / 255
1725
+ ],
1726
+ burlywood: [
1727
+ 222 / 255,
1728
+ 184 / 255,
1729
+ 135 / 255
1730
+ ],
1731
+ cadetblue: [
1732
+ 95 / 255,
1733
+ 158 / 255,
1734
+ 160 / 255
1735
+ ],
1736
+ chartreuse: [
1737
+ 127 / 255,
1738
+ 1,
1739
+ 0
1740
+ ],
1741
+ chocolate: [
1742
+ 210 / 255,
1743
+ 105 / 255,
1744
+ 30 / 255
1745
+ ],
1746
+ coral: [
1747
+ 1,
1748
+ 127 / 255,
1749
+ 80 / 255
1750
+ ],
1751
+ cornflowerblue: [
1752
+ 100 / 255,
1753
+ 149 / 255,
1754
+ 237 / 255
1755
+ ],
1756
+ cornsilk: [
1757
+ 1,
1758
+ 248 / 255,
1759
+ 220 / 255
1760
+ ],
1761
+ crimson: [
1762
+ 220 / 255,
1763
+ 20 / 255,
1764
+ 60 / 255
1765
+ ],
1766
+ cyan: [
1767
+ 0,
1768
+ 1,
1769
+ 1
1770
+ ],
1771
+ darkblue: [
1772
+ 0,
1773
+ 0,
1774
+ 139 / 255
1775
+ ],
1776
+ darkcyan: [
1777
+ 0,
1778
+ 139 / 255,
1779
+ 139 / 255
1780
+ ],
1781
+ darkgoldenrod: [
1782
+ 184 / 255,
1783
+ 134 / 255,
1784
+ 11 / 255
1785
+ ],
1786
+ darkgray: [
1787
+ 169 / 255,
1788
+ 169 / 255,
1789
+ 169 / 255
1790
+ ],
1791
+ darkgreen: [
1792
+ 0,
1793
+ 100 / 255,
1794
+ 0
1795
+ ],
1796
+ darkgrey: [
1797
+ 169 / 255,
1798
+ 169 / 255,
1799
+ 169 / 255
1800
+ ],
1801
+ darkkhaki: [
1802
+ 189 / 255,
1803
+ 183 / 255,
1804
+ 107 / 255
1805
+ ],
1806
+ darkmagenta: [
1807
+ 139 / 255,
1808
+ 0,
1809
+ 139 / 255
1810
+ ],
1811
+ darkolivegreen: [
1812
+ 85 / 255,
1813
+ 107 / 255,
1814
+ 47 / 255
1815
+ ],
1816
+ darkorange: [
1817
+ 1,
1818
+ 140 / 255,
1819
+ 0
1820
+ ],
1821
+ darkorchid: [
1822
+ 153 / 255,
1823
+ 50 / 255,
1824
+ 204 / 255
1825
+ ],
1826
+ darkred: [
1827
+ 139 / 255,
1828
+ 0,
1829
+ 0
1830
+ ],
1831
+ darksalmon: [
1832
+ 233 / 255,
1833
+ 150 / 255,
1834
+ 122 / 255
1835
+ ],
1836
+ darkseagreen: [
1837
+ 143 / 255,
1838
+ 188 / 255,
1839
+ 143 / 255
1840
+ ],
1841
+ darkslateblue: [
1842
+ 72 / 255,
1843
+ 61 / 255,
1844
+ 139 / 255
1845
+ ],
1846
+ darkslategray: [
1847
+ 47 / 255,
1848
+ 79 / 255,
1849
+ 79 / 255
1850
+ ],
1851
+ darkslategrey: [
1852
+ 47 / 255,
1853
+ 79 / 255,
1854
+ 79 / 255
1855
+ ],
1856
+ darkturquoise: [
1857
+ 0,
1858
+ 206 / 255,
1859
+ 209 / 255
1860
+ ],
1861
+ darkviolet: [
1862
+ 148 / 255,
1863
+ 0,
1864
+ 211 / 255
1865
+ ],
1866
+ deeppink: [
1867
+ 1,
1868
+ 20 / 255,
1869
+ 147 / 255
1870
+ ],
1871
+ deepskyblue: [
1872
+ 0,
1873
+ 191 / 255,
1874
+ 1
1875
+ ],
1876
+ dimgray: [
1877
+ 105 / 255,
1878
+ 105 / 255,
1879
+ 105 / 255
1880
+ ],
1881
+ dimgrey: [
1882
+ 105 / 255,
1883
+ 105 / 255,
1884
+ 105 / 255
1885
+ ],
1886
+ dodgerblue: [
1887
+ 30 / 255,
1888
+ 144 / 255,
1889
+ 1
1890
+ ],
1891
+ firebrick: [
1892
+ 178 / 255,
1893
+ 34 / 255,
1894
+ 34 / 255
1895
+ ],
1896
+ floralwhite: [
1897
+ 1,
1898
+ 250 / 255,
1899
+ 240 / 255
1900
+ ],
1901
+ forestgreen: [
1902
+ 34 / 255,
1903
+ 139 / 255,
1904
+ 34 / 255
1905
+ ],
1906
+ fuchsia: [
1907
+ 1,
1908
+ 0,
1909
+ 1
1910
+ ],
1911
+ gainsboro: [
1912
+ 220 / 255,
1913
+ 220 / 255,
1914
+ 220 / 255
1915
+ ],
1916
+ ghostwhite: [
1917
+ 248 / 255,
1918
+ 248 / 255,
1919
+ 1
1920
+ ],
1921
+ gold: [
1922
+ 1,
1923
+ 215 / 255,
1924
+ 0
1925
+ ],
1926
+ goldenrod: [
1927
+ 218 / 255,
1928
+ 165 / 255,
1929
+ 32 / 255
1930
+ ],
1931
+ gray: [
1932
+ 128 / 255,
1933
+ 128 / 255,
1934
+ 128 / 255
1935
+ ],
1936
+ green: [
1937
+ 0,
1938
+ 128 / 255,
1939
+ 0
1940
+ ],
1941
+ greenyellow: [
1942
+ 173 / 255,
1943
+ 1,
1944
+ 47 / 255
1945
+ ],
1946
+ grey: [
1947
+ 128 / 255,
1948
+ 128 / 255,
1949
+ 128 / 255
1950
+ ],
1951
+ honeydew: [
1952
+ 240 / 255,
1953
+ 1,
1954
+ 240 / 255
1955
+ ],
1956
+ hotpink: [
1957
+ 1,
1958
+ 105 / 255,
1959
+ 180 / 255
1960
+ ],
1961
+ indianred: [
1962
+ 205 / 255,
1963
+ 92 / 255,
1964
+ 92 / 255
1965
+ ],
1966
+ indigo: [
1967
+ 75 / 255,
1968
+ 0,
1969
+ 130 / 255
1970
+ ],
1971
+ ivory: [
1972
+ 1,
1973
+ 1,
1974
+ 240 / 255
1975
+ ],
1976
+ khaki: [
1977
+ 240 / 255,
1978
+ 230 / 255,
1979
+ 140 / 255
1980
+ ],
1981
+ lavender: [
1982
+ 230 / 255,
1983
+ 230 / 255,
1984
+ 250 / 255
1985
+ ],
1986
+ lavenderblush: [
1987
+ 1,
1988
+ 240 / 255,
1989
+ 245 / 255
1990
+ ],
1991
+ lawngreen: [
1992
+ 124 / 255,
1993
+ 252 / 255,
1994
+ 0
1995
+ ],
1996
+ lemonchiffon: [
1997
+ 1,
1998
+ 250 / 255,
1999
+ 205 / 255
2000
+ ],
2001
+ lightblue: [
2002
+ 173 / 255,
2003
+ 216 / 255,
2004
+ 230 / 255
2005
+ ],
2006
+ lightcoral: [
2007
+ 240 / 255,
2008
+ 128 / 255,
2009
+ 128 / 255
2010
+ ],
2011
+ lightcyan: [
2012
+ 224 / 255,
2013
+ 1,
2014
+ 1
2015
+ ],
2016
+ lightgoldenrodyellow: [
2017
+ 250 / 255,
2018
+ 250 / 255,
2019
+ 210 / 255
2020
+ ],
2021
+ lightgray: [
2022
+ 211 / 255,
2023
+ 211 / 255,
2024
+ 211 / 255
2025
+ ],
2026
+ lightgreen: [
2027
+ 144 / 255,
2028
+ 238 / 255,
2029
+ 144 / 255
2030
+ ],
2031
+ lightgrey: [
2032
+ 211 / 255,
2033
+ 211 / 255,
2034
+ 211 / 255
2035
+ ],
2036
+ lightpink: [
2037
+ 1,
2038
+ 182 / 255,
2039
+ 193 / 255
2040
+ ],
2041
+ lightsalmon: [
2042
+ 1,
2043
+ 160 / 255,
2044
+ 122 / 255
2045
+ ],
2046
+ lightseagreen: [
2047
+ 32 / 255,
2048
+ 178 / 255,
2049
+ 170 / 255
2050
+ ],
2051
+ lightskyblue: [
2052
+ 135 / 255,
2053
+ 206 / 255,
2054
+ 250 / 255
2055
+ ],
2056
+ lightslategray: [
2057
+ 119 / 255,
2058
+ 136 / 255,
2059
+ 153 / 255
2060
+ ],
2061
+ lightslategrey: [
2062
+ 119 / 255,
2063
+ 136 / 255,
2064
+ 153 / 255
2065
+ ],
2066
+ lightsteelblue: [
2067
+ 176 / 255,
2068
+ 196 / 255,
2069
+ 222 / 255
2070
+ ],
2071
+ lightyellow: [
2072
+ 1,
2073
+ 1,
2074
+ 224 / 255
2075
+ ],
2076
+ lime: [
2077
+ 0,
2078
+ 1,
2079
+ 0
2080
+ ],
2081
+ limegreen: [
2082
+ 50 / 255,
2083
+ 205 / 255,
2084
+ 50 / 255
2085
+ ],
2086
+ linen: [
2087
+ 250 / 255,
2088
+ 240 / 255,
2089
+ 230 / 255
2090
+ ],
2091
+ magenta: [
2092
+ 1,
2093
+ 0,
2094
+ 1
2095
+ ],
2096
+ maroon: [
2097
+ 128 / 255,
2098
+ 0,
2099
+ 0
2100
+ ],
2101
+ mediumaquamarine: [
2102
+ 102 / 255,
2103
+ 205 / 255,
2104
+ 170 / 255
2105
+ ],
2106
+ mediumblue: [
2107
+ 0,
2108
+ 0,
2109
+ 205 / 255
2110
+ ],
2111
+ mediumorchid: [
2112
+ 186 / 255,
2113
+ 85 / 255,
2114
+ 211 / 255
2115
+ ],
2116
+ mediumpurple: [
2117
+ 147 / 255,
2118
+ 112 / 255,
2119
+ 219 / 255
2120
+ ],
2121
+ mediumseagreen: [
2122
+ 60 / 255,
2123
+ 179 / 255,
2124
+ 113 / 255
2125
+ ],
2126
+ mediumslateblue: [
2127
+ 123 / 255,
2128
+ 104 / 255,
2129
+ 238 / 255
2130
+ ],
2131
+ mediumspringgreen: [
2132
+ 0,
2133
+ 250 / 255,
2134
+ 154 / 255
2135
+ ],
2136
+ mediumturquoise: [
2137
+ 72 / 255,
2138
+ 209 / 255,
2139
+ 204 / 255
2140
+ ],
2141
+ mediumvioletred: [
2142
+ 199 / 255,
2143
+ 21 / 255,
2144
+ 133 / 255
2145
+ ],
2146
+ midnightblue: [
2147
+ 25 / 255,
2148
+ 25 / 255,
2149
+ 112 / 255
2150
+ ],
2151
+ mintcream: [
2152
+ 245 / 255,
2153
+ 1,
2154
+ 250 / 255
2155
+ ],
2156
+ mistyrose: [
2157
+ 1,
2158
+ 228 / 255,
2159
+ 225 / 255
2160
+ ],
2161
+ moccasin: [
2162
+ 1,
2163
+ 228 / 255,
2164
+ 181 / 255
2165
+ ],
2166
+ navajowhite: [
2167
+ 1,
2168
+ 222 / 255,
2169
+ 173 / 255
2170
+ ],
2171
+ navy: [
2172
+ 0,
2173
+ 0,
2174
+ 128 / 255
2175
+ ],
2176
+ oldlace: [
2177
+ 253 / 255,
2178
+ 245 / 255,
2179
+ 230 / 255
2180
+ ],
2181
+ olive: [
2182
+ 128 / 255,
2183
+ 128 / 255,
2184
+ 0
2185
+ ],
2186
+ olivedrab: [
2187
+ 107 / 255,
2188
+ 142 / 255,
2189
+ 35 / 255
2190
+ ],
2191
+ orange: [
2192
+ 1,
2193
+ 165 / 255,
2194
+ 0
2195
+ ],
2196
+ orangered: [
2197
+ 1,
2198
+ 69 / 255,
2199
+ 0
2200
+ ],
2201
+ orchid: [
2202
+ 218 / 255,
2203
+ 112 / 255,
2204
+ 214 / 255
2205
+ ],
2206
+ palegoldenrod: [
2207
+ 238 / 255,
2208
+ 232 / 255,
2209
+ 170 / 255
2210
+ ],
2211
+ palegreen: [
2212
+ 152 / 255,
2213
+ 251 / 255,
2214
+ 152 / 255
2215
+ ],
2216
+ paleturquoise: [
2217
+ 175 / 255,
2218
+ 238 / 255,
2219
+ 238 / 255
2220
+ ],
2221
+ palevioletred: [
2222
+ 219 / 255,
2223
+ 112 / 255,
2224
+ 147 / 255
2225
+ ],
2226
+ papayawhip: [
2227
+ 1,
2228
+ 239 / 255,
2229
+ 213 / 255
2230
+ ],
2231
+ peachpuff: [
2232
+ 1,
2233
+ 218 / 255,
2234
+ 185 / 255
2235
+ ],
2236
+ peru: [
2237
+ 205 / 255,
2238
+ 133 / 255,
2239
+ 63 / 255
2240
+ ],
2241
+ pink: [
2242
+ 1,
2243
+ 192 / 255,
2244
+ 203 / 255
2245
+ ],
2246
+ plum: [
2247
+ 221 / 255,
2248
+ 160 / 255,
2249
+ 221 / 255
2250
+ ],
2251
+ powderblue: [
2252
+ 176 / 255,
2253
+ 224 / 255,
2254
+ 230 / 255
2255
+ ],
2256
+ purple: [
2257
+ 128 / 255,
2258
+ 0,
2259
+ 128 / 255
2260
+ ],
2261
+ rebeccapurple: [
2262
+ 102 / 255,
2263
+ 51 / 255,
2264
+ 153 / 255
2265
+ ],
2266
+ red: [
2267
+ 1,
2268
+ 0,
2269
+ 0
2270
+ ],
2271
+ rosybrown: [
2272
+ 188 / 255,
2273
+ 143 / 255,
2274
+ 143 / 255
2275
+ ],
2276
+ royalblue: [
2277
+ 65 / 255,
2278
+ 105 / 255,
2279
+ 225 / 255
2280
+ ],
2281
+ saddlebrown: [
2282
+ 139 / 255,
2283
+ 69 / 255,
2284
+ 19 / 255
2285
+ ],
2286
+ salmon: [
2287
+ 250 / 255,
2288
+ 128 / 255,
2289
+ 114 / 255
2290
+ ],
2291
+ sandybrown: [
2292
+ 244 / 255,
2293
+ 164 / 255,
2294
+ 96 / 255
2295
+ ],
2296
+ seagreen: [
2297
+ 46 / 255,
2298
+ 139 / 255,
2299
+ 87 / 255
2300
+ ],
2301
+ seashell: [
2302
+ 1,
2303
+ 245 / 255,
2304
+ 238 / 255
2305
+ ],
2306
+ sienna: [
2307
+ 160 / 255,
2308
+ 82 / 255,
2309
+ 45 / 255
2310
+ ],
2311
+ silver: [
2312
+ 192 / 255,
2313
+ 192 / 255,
2314
+ 192 / 255
2315
+ ],
2316
+ skyblue: [
2317
+ 135 / 255,
2318
+ 206 / 255,
2319
+ 235 / 255
2320
+ ],
2321
+ slateblue: [
2322
+ 106 / 255,
2323
+ 90 / 255,
2324
+ 205 / 255
2325
+ ],
2326
+ slategray: [
2327
+ 112 / 255,
2328
+ 128 / 255,
2329
+ 144 / 255
2330
+ ],
2331
+ slategrey: [
2332
+ 112 / 255,
2333
+ 128 / 255,
2334
+ 144 / 255
2335
+ ],
2336
+ snow: [
2337
+ 1,
2338
+ 250 / 255,
2339
+ 250 / 255
2340
+ ],
2341
+ springgreen: [
2342
+ 0,
2343
+ 1,
2344
+ 127 / 255
2345
+ ],
2346
+ steelblue: [
2347
+ 70 / 255,
2348
+ 130 / 255,
2349
+ 180 / 255
2350
+ ],
2351
+ tan: [
2352
+ 210 / 255,
2353
+ 180 / 255,
2354
+ 140 / 255
2355
+ ],
2356
+ teal: [
2357
+ 0,
2358
+ 128 / 255,
2359
+ 128 / 255
2360
+ ],
2361
+ thistle: [
2362
+ 216 / 255,
2363
+ 191 / 255,
2364
+ 216 / 255
2365
+ ],
2366
+ tomato: [
2367
+ 1,
2368
+ 99 / 255,
2369
+ 71 / 255
2370
+ ],
2371
+ turquoise: [
2372
+ 64 / 255,
2373
+ 224 / 255,
2374
+ 208 / 255
2375
+ ],
2376
+ violet: [
2377
+ 238 / 255,
2378
+ 130 / 255,
2379
+ 238 / 255
2380
+ ],
2381
+ wheat: [
2382
+ 245 / 255,
2383
+ 222 / 255,
2384
+ 179 / 255
2385
+ ],
2386
+ white: [
2387
+ 1,
2388
+ 1,
2389
+ 1
2390
+ ],
2391
+ whitesmoke: [
2392
+ 245 / 255,
2393
+ 245 / 255,
2394
+ 245 / 255
2395
+ ],
2396
+ yellow: [
2397
+ 1,
2398
+ 1,
2399
+ 0
2400
+ ],
2401
+ yellowgreen: [
2402
+ 154 / 255,
2403
+ 205 / 255,
2404
+ 50 / 255
2405
+ ]
2406
+ }, Qt = [
2407
+ ,
2408
+ ,
2409
+ ,
2410
+ ].fill("<percentage> | <number>[0, 255]"), $t = [
2411
+ ,
2412
+ ,
2413
+ ,
2414
+ ].fill("<number>[0, 255]"), q = new j({
2415
+ id: "srgb",
2416
+ name: "sRGB",
2417
+ base: Xt,
2418
+ fromBase: (e) => e.map((e) => {
2419
+ let t = e < 0 ? -1 : 1, n = e * t;
2420
+ return n > .0031308 ? t * (1.055 * n ** (1 / 2.4) - .055) : 12.92 * e;
2421
+ }),
2422
+ toBase: (e) => e.map((e) => {
2423
+ let t = e < 0 ? -1 : 1, n = e * t;
2424
+ return n <= .04045 ? e / 12.92 : t * ((n + .055) / 1.055) ** 2.4;
2425
+ }),
2426
+ formats: {
2427
+ rgb: { coords: Qt },
2428
+ rgb_number: {
2429
+ name: "rgb",
2430
+ commas: !0,
2431
+ coords: $t,
2432
+ noAlpha: !0
2433
+ },
2434
+ color: {},
2435
+ rgba: {
2436
+ coords: Qt,
2437
+ commas: !0,
2438
+ lastAlpha: !0
2439
+ },
2440
+ rgba_number: {
2441
+ name: "rgba",
2442
+ commas: !0,
2443
+ coords: $t
2444
+ },
2445
+ hex: {
2446
+ type: "custom",
2447
+ toGamut: !0,
2448
+ test: (e) => /^#([a-f0-9]{3,4}){1,2}$/i.test(e),
2449
+ parse(e) {
2450
+ e.length <= 5 && (e = e.replace(/[a-f0-9]/gi, "$&$&"));
2451
+ let t = [];
2452
+ return e.replace(/[a-f0-9]{2}/gi, (e) => {
2453
+ t.push(parseInt(e, 16) / 255);
2454
+ }), {
2455
+ spaceId: "srgb",
2456
+ coords: t.slice(0, 3),
2457
+ alpha: t.slice(3)[0]
2458
+ };
2459
+ },
2460
+ serialize: (e, t, { collapse: n = !0 } = {}) => {
2461
+ t < 1 && e.push(t), e = e.map((e) => Math.round(e * 255));
2462
+ let r = n && e.every((e) => e % 17 == 0);
2463
+ return "#" + e.map((e) => r ? (e / 17).toString(16) : e.toString(16).padStart(2, "0")).join("");
2464
+ }
2465
+ },
2466
+ keyword: {
2467
+ type: "custom",
2468
+ test: (e) => /^[a-z]+$/i.test(e),
2469
+ parse(e) {
2470
+ e = e.toLowerCase();
2471
+ let t = {
2472
+ spaceId: "srgb",
2473
+ coords: null,
2474
+ alpha: 1
2475
+ };
2476
+ if (e === "transparent" ? (t.coords = Zt.black, t.alpha = 0) : t.coords = Zt[e], t.coords) return t;
2477
+ }
2478
+ }
2479
+ }
2480
+ }), en = new j({
2481
+ id: "p3",
2482
+ cssId: "display-p3",
2483
+ name: "P3",
2484
+ base: Jt,
2485
+ fromBase: q.fromBase,
2486
+ toBase: q.toBase
2487
+ });
2488
+ S.display_space = q;
2489
+ var tn;
2490
+ if (typeof CSS < "u" && CSS.supports) for (let e of [
2491
+ I,
2492
+ qt,
2493
+ en
2494
+ ]) {
2495
+ let t = Ut({
2496
+ space: e,
2497
+ coords: e.getMinCoords(),
2498
+ alpha: 1
2499
+ });
2500
+ if (CSS.supports("color", t)) {
2501
+ S.display_space = e;
2502
+ break;
2503
+ }
2504
+ }
2505
+ function nn(e, { space: t = S.display_space, ...n } = {}) {
2506
+ let r = Ut(e, n);
2507
+ if (typeof CSS > "u" || CSS.supports("color", r) || !S.display_space) r = new String(r), r.color = e;
2508
+ else {
2509
+ let i = e;
2510
+ if ((e.coords.some(a) || a(e.alpha)) && !(tn ??= CSS.supports("color", "hsl(none 50% 50%)")) && (i = V(e), i.coords = i.coords.map(o), i.alpha = o(i.alpha), r = Ut(i, n), CSS.supports("color", r))) return r = new String(r), r.color = i, r;
2511
+ i = G(i, t), r = new String(Ut(i, n)), r.color = i;
2512
+ }
2513
+ return r;
2514
+ }
2515
+ function rn(e, t) {
2516
+ return e = D(e), t = D(t), e.space === t.space && e.alpha === t.alpha && e.coords.every((e, n) => e === t.coords[n]);
2517
+ }
2518
+ function J(e) {
2519
+ return N(e, [A, "y"]);
2520
+ }
2521
+ function an(e, t) {
2522
+ P(e, [A, "y"], t);
2523
+ }
2524
+ function on(e) {
2525
+ Object.defineProperty(e.prototype, "luminance", {
2526
+ get() {
2527
+ return J(this);
2528
+ },
2529
+ set(e) {
2530
+ an(this, e);
2531
+ }
2532
+ });
2533
+ }
2534
+ var sn = /*#__PURE__*/ Object.freeze({
2535
+ __proto__: null,
2536
+ getLuminance: J,
2537
+ register: on,
2538
+ setLuminance: an
2539
+ });
2540
+ function cn(e, t) {
2541
+ e = D(e), t = D(t);
2542
+ let n = Math.max(J(e), 0), r = Math.max(J(t), 0);
2543
+ return r > n && ([n, r] = [r, n]), (n + .05) / (r + .05);
2544
+ }
2545
+ var ln = .56, un = .57, dn = .62, fn = .65, pn = .022, mn = 1.414, hn = .1, gn = 5e-4, _n = 1.14, vn = .027, yn = 1.14;
2546
+ function bn(e) {
2547
+ return e >= pn ? e : e + (pn - e) ** mn;
2548
+ }
2549
+ function Y(e) {
2550
+ return (e < 0 ? -1 : 1) * Math.abs(e) ** 2.4;
2551
+ }
2552
+ function xn(e, t) {
2553
+ t = D(t), e = D(e);
2554
+ let n, r, i, a, o, s;
2555
+ t = G(t, "srgb"), [a, o, s] = t.coords;
2556
+ let c = Y(a) * .2126729 + Y(o) * .7151522 + Y(s) * .072175;
2557
+ e = G(e, "srgb"), [a, o, s] = e.coords;
2558
+ let l = Y(a) * .2126729 + Y(o) * .7151522 + Y(s) * .072175, u = bn(c), d = bn(l), f = d > u;
2559
+ return Math.abs(d - u) < gn ? r = 0 : f ? (n = d ** ln - u ** un, r = n * _n) : (n = d ** fn - u ** dn, r = n * yn), i = Math.abs(r) < hn ? 0 : r > 0 ? r - vn : r + vn, i * 100;
2560
+ }
2561
+ function Sn(e, t) {
2562
+ e = D(e), t = D(t);
2563
+ let n = Math.max(J(e), 0), r = Math.max(J(t), 0);
2564
+ r > n && ([n, r] = [r, n]);
2565
+ let i = n + r;
2566
+ return i === 0 ? 0 : (n - r) / i;
2567
+ }
2568
+ var Cn = 5e4;
2569
+ function wn(e, t) {
2570
+ e = D(e), t = D(t);
2571
+ let n = Math.max(J(e), 0), r = Math.max(J(t), 0);
2572
+ return r > n && ([n, r] = [r, n]), r === 0 ? Cn : (n - r) / r;
2573
+ }
2574
+ function Tn(e, t) {
2575
+ e = D(e), t = D(t);
2576
+ let n = N(e, [I, "l"]), r = N(t, [I, "l"]);
2577
+ return Math.abs(n - r);
2578
+ }
2579
+ var En = 216 / 24389, Dn = 24 / 116, On = 24389 / 27, kn = C.D65, An = new O({
2580
+ id: "lab-d65",
2581
+ name: "Lab D65",
2582
+ coords: {
2583
+ l: {
2584
+ refRange: [0, 100],
2585
+ name: "Lightness"
2586
+ },
2587
+ a: { refRange: [-125, 125] },
2588
+ b: { refRange: [-125, 125] }
2589
+ },
2590
+ white: kn,
2591
+ base: A,
2592
+ fromBase(e) {
2593
+ let t = e.map((e, t) => e / kn[t]).map((e) => e > En ? Math.cbrt(e) : (On * e + 16) / 116);
2594
+ return [
2595
+ 116 * t[1] - 16,
2596
+ 500 * (t[0] - t[1]),
2597
+ 200 * (t[1] - t[2])
2598
+ ];
2599
+ },
2600
+ toBase(e) {
2601
+ let t = [];
2602
+ return t[1] = (e[0] + 16) / 116, t[0] = e[1] / 500 + t[1], t[2] = t[1] - e[2] / 200, [
2603
+ t[0] > Dn ? t[0] ** 3 : (116 * t[0] - 16) / On,
2604
+ e[0] > 8 ? ((e[0] + 16) / 116) ** 3 : e[0] / On,
2605
+ t[2] > Dn ? t[2] ** 3 : (116 * t[2] - 16) / On
2606
+ ].map((e, t) => e * kn[t]);
2607
+ },
2608
+ formats: { "lab-d65": { coords: [
2609
+ "<number> | <percentage>",
2610
+ "<number> | <percentage>[-1,1]",
2611
+ "<number> | <percentage>[-1,1]"
2612
+ ] } }
2613
+ }), jn = 5 ** .5 * .5 + .5;
2614
+ function Mn(e, t) {
2615
+ e = D(e), t = D(t);
2616
+ let n = N(e, [An, "l"]), r = N(t, [An, "l"]), i = Math.abs(n ** +jn - r ** +jn) ** (1 / jn) * Math.SQRT2 - 40;
2617
+ return i < 7.5 ? 0 : i;
2618
+ }
2619
+ var Nn = /*#__PURE__*/ Object.freeze({
2620
+ __proto__: null,
2621
+ contrastAPCA: xn,
2622
+ contrastDeltaPhi: Mn,
2623
+ contrastLstar: Tn,
2624
+ contrastMichelson: Sn,
2625
+ contrastWCAG21: cn,
2626
+ contrastWeber: wn
2627
+ });
2628
+ function Pn(e, t, r = {}) {
2629
+ n(r) && (r = { algorithm: r });
2630
+ let { algorithm: i, ...a } = r;
2631
+ if (!i) {
2632
+ let e = Object.keys(Nn).map((e) => e.replace(/^contrast/, "")).join(", ");
2633
+ throw TypeError(`contrast() function needs a contrast algorithm. Please specify one of: ${e}`);
2634
+ }
2635
+ e = D(e), t = D(t);
2636
+ for (let n in Nn) if ("contrast" + i.toLowerCase() === n.toLowerCase()) return Nn[n](e, t, a);
2637
+ throw TypeError(`Unknown contrast algorithm: ${i}`);
2638
+ }
2639
+ function Fn(e) {
2640
+ let [t, n, r] = M(e, A), i = t + 15 * n + 3 * r;
2641
+ return [4 * t / i, 9 * n / i];
2642
+ }
2643
+ function In(e) {
2644
+ let [t, n, r] = M(e, A), i = t + n + r;
2645
+ return [t / i, n / i];
2646
+ }
2647
+ function Ln(e) {
2648
+ Object.defineProperty(e.prototype, "uv", { get() {
2649
+ return Fn(this);
2650
+ } }), Object.defineProperty(e.prototype, "xy", { get() {
2651
+ return In(this);
2652
+ } });
2653
+ }
2654
+ var Rn = /*#__PURE__*/ Object.freeze({
2655
+ __proto__: null,
2656
+ register: Ln,
2657
+ uv: Fn,
2658
+ xy: In
2659
+ });
2660
+ function X(e, t, r = {}) {
2661
+ n(r) && (r = { method: r });
2662
+ let { method: i = S.deltaE, ...a } = r;
2663
+ for (let n in U) if ("deltae" + i.toLowerCase() === n.toLowerCase()) return U[n](e, t, a);
2664
+ throw TypeError(`Unknown deltaE method: ${i}`);
2665
+ }
2666
+ function zn(e, t = .25) {
2667
+ return P(e, [O.get("oklch", "lch"), "l"], (e) => e * (1 + t));
2668
+ }
2669
+ function Bn(e, t = .25) {
2670
+ return P(e, [O.get("oklch", "lch"), "l"], (e) => e * (1 - t));
2671
+ }
2672
+ var Vn = /*#__PURE__*/ Object.freeze({
2673
+ __proto__: null,
2674
+ darken: Bn,
2675
+ lighten: zn
2676
+ });
2677
+ function Hn(e, t, n = .5, i = {}) {
2678
+ return [e, t] = [D(e), D(t)], r(n) === "object" && ([n, i] = [.5, n]), Wn(e, t, i)(n);
2679
+ }
2680
+ function Un(e, t, n = {}) {
2681
+ let r;
2682
+ Gn(e) && ([r, n] = [e, t], [e, t] = r.rangeArgs.colors);
2683
+ let { maxDeltaE: i, deltaEMethod: a, steps: o = 2, maxSteps: s = 1e3, ...c } = n;
2684
+ r ||= ([e, t] = [D(e), D(t)], Wn(e, t, c));
2685
+ let l = X(e, t), u = i > 0 ? Math.max(o, Math.ceil(l / i) + 1) : o, d = [];
2686
+ if (s !== void 0 && (u = Math.min(u, s)), u === 1) d = [{
2687
+ p: .5,
2688
+ color: r(.5)
2689
+ }];
2690
+ else {
2691
+ let e = 1 / (u - 1);
2692
+ d = Array.from({ length: u }, (t, n) => {
2693
+ let i = n * e;
2694
+ return {
2695
+ p: i,
2696
+ color: r(i)
2697
+ };
2698
+ });
2699
+ }
2700
+ if (i > 0) {
2701
+ let e = d.reduce((e, t, n) => {
2702
+ if (n === 0) return 0;
2703
+ let r = X(t.color, d[n - 1].color, a);
2704
+ return Math.max(e, r);
2705
+ }, 0);
2706
+ for (; e > i;) {
2707
+ e = 0;
2708
+ for (let t = 1; t < d.length && d.length < s; t++) {
2709
+ let n = d[t - 1], i = d[t], a = (i.p + n.p) / 2, o = r(a);
2710
+ e = Math.max(e, X(o, n.color), X(o, i.color)), d.splice(t, 0, {
2711
+ p: a,
2712
+ color: r(a)
2713
+ }), t++;
2714
+ }
2715
+ }
2716
+ }
2717
+ return d = d.map((e) => e.color), d;
2718
+ }
2719
+ function Wn(e, t, n = {}) {
2720
+ if (Gn(e)) {
2721
+ let [n, r] = [e, t];
2722
+ return Wn(...n.rangeArgs.colors, {
2723
+ ...n.rangeArgs.options,
2724
+ ...r
2725
+ });
2726
+ }
2727
+ let { space: r, outputSpace: i, progression: a, premultiplied: o } = n;
2728
+ e = D(e), t = D(t), e = V(e), t = V(t);
2729
+ let s = {
2730
+ colors: [e, t],
2731
+ options: n
2732
+ };
2733
+ if (r = r ? O.get(r) : O.registry[S.interpolationSpace] || e.space, i = i ? O.get(i) : r, e = G(e, r), t = G(t, r), e = W(e), t = W(t), r.coords.h && r.coords.h.type === "angle") {
2734
+ let i = n.hue = n.hue || "shorter", a = [r, "h"], [o, s] = [N(e, a), N(t, a)];
2735
+ isNaN(o) && !isNaN(s) ? o = s : isNaN(s) && !isNaN(o) && (s = o), [o, s] = le(i, [o, s]), P(e, a, o), P(t, a, s);
2736
+ }
2737
+ return o && (e.coords = e.coords.map((t) => t * e.alpha), t.coords = t.coords.map((e) => e * t.alpha)), Object.assign((n) => {
2738
+ n = a ? a(n) : n;
2739
+ let s = e.coords.map((e, r) => {
2740
+ let i = t.coords[r];
2741
+ return d(e, i, n);
2742
+ }), c = d(e.alpha, t.alpha, n), l = {
2743
+ space: r,
2744
+ coords: s,
2745
+ alpha: c
2746
+ };
2747
+ return o && (l.coords = l.coords.map((e) => e / c)), i !== r && (l = G(l, i)), l;
2748
+ }, { rangeArgs: s });
2749
+ }
2750
+ function Gn(e) {
2751
+ return r(e) === "function" && !!e.rangeArgs;
2752
+ }
2753
+ S.interpolationSpace = "lab";
2754
+ function Kn(e) {
2755
+ e.defineFunction("mix", Hn, { returns: "color" }), e.defineFunction("range", Wn, { returns: "function<color>" }), e.defineFunction("steps", Un, { returns: "array<color>" });
2756
+ }
2757
+ var qn = /*#__PURE__*/ Object.freeze({
2758
+ __proto__: null,
2759
+ isRange: Gn,
2760
+ mix: Hn,
2761
+ range: Wn,
2762
+ register: Kn,
2763
+ steps: Un
2764
+ }), Jn = new O({
2765
+ id: "hsl",
2766
+ name: "HSL",
2767
+ coords: {
2768
+ h: {
2769
+ refRange: [0, 360],
2770
+ type: "angle",
2771
+ name: "Hue"
2772
+ },
2773
+ s: {
2774
+ range: [0, 100],
2775
+ name: "Saturation"
2776
+ },
2777
+ l: {
2778
+ range: [0, 100],
2779
+ name: "Lightness"
2780
+ }
2781
+ },
2782
+ base: q,
2783
+ fromBase: (e) => {
2784
+ let t = Math.max(...e), n = Math.min(...e), [r, i, a] = e, [o, s, c] = [
2785
+ NaN,
2786
+ 0,
2787
+ (n + t) / 2
2788
+ ], l = t - n;
2789
+ if (l !== 0) {
2790
+ switch (s = c === 0 || c === 1 ? 0 : (t - c) / Math.min(c, 1 - c), t) {
2791
+ case r:
2792
+ o = (i - a) / l + (i < a ? 6 : 0);
2793
+ break;
2794
+ case i:
2795
+ o = (a - r) / l + 2;
2796
+ break;
2797
+ case a: o = (r - i) / l + 4;
2798
+ }
2799
+ o *= 60;
2800
+ }
2801
+ return s < 0 && (o += 180, s = Math.abs(s)), o >= 360 && (o -= 360), [
2802
+ o,
2803
+ s * 100,
2804
+ c * 100
2805
+ ];
2806
+ },
2807
+ toBase: (e) => {
2808
+ let [t, n, r] = e;
2809
+ t %= 360, t < 0 && (t += 360), n /= 100, r /= 100;
2810
+ function i(e) {
2811
+ let i = (e + t / 30) % 12, a = n * Math.min(r, 1 - r);
2812
+ return r - a * Math.max(-1, Math.min(i - 3, 9 - i, 1));
2813
+ }
2814
+ return [
2815
+ i(0),
2816
+ i(8),
2817
+ i(4)
2818
+ ];
2819
+ },
2820
+ formats: {
2821
+ hsl: { coords: [
2822
+ "<number> | <angle>",
2823
+ "<percentage>",
2824
+ "<percentage>"
2825
+ ] },
2826
+ hsla: {
2827
+ coords: [
2828
+ "<number> | <angle>",
2829
+ "<percentage>",
2830
+ "<percentage>"
2831
+ ],
2832
+ commas: !0,
2833
+ lastAlpha: !0
2834
+ }
2835
+ }
2836
+ }), Yn = new O({
2837
+ id: "hsv",
2838
+ name: "HSV",
2839
+ coords: {
2840
+ h: {
2841
+ refRange: [0, 360],
2842
+ type: "angle",
2843
+ name: "Hue"
2844
+ },
2845
+ s: {
2846
+ range: [0, 100],
2847
+ name: "Saturation"
2848
+ },
2849
+ v: {
2850
+ range: [0, 100],
2851
+ name: "Value"
2852
+ }
2853
+ },
2854
+ base: Jn,
2855
+ fromBase(e) {
2856
+ let [t, n, r] = e;
2857
+ n /= 100, r /= 100;
2858
+ let i = r + n * Math.min(r, 1 - r);
2859
+ return [
2860
+ t,
2861
+ i === 0 ? 0 : 200 * (1 - r / i),
2862
+ 100 * i
2863
+ ];
2864
+ },
2865
+ toBase(e) {
2866
+ let [t, n, r] = e;
2867
+ n /= 100, r /= 100;
2868
+ let i = r * (1 - n / 2);
2869
+ return [
2870
+ t,
2871
+ i === 0 || i === 1 ? 0 : (r - i) / Math.min(i, 1 - i) * 100,
2872
+ i * 100
2873
+ ];
2874
+ },
2875
+ formats: { color: {
2876
+ id: "--hsv",
2877
+ coords: [
2878
+ "<number> | <angle>",
2879
+ "<percentage> | <number>",
2880
+ "<percentage> | <number>"
2881
+ ]
2882
+ } }
2883
+ }), Xn = new O({
2884
+ id: "hwb",
2885
+ name: "HWB",
2886
+ coords: {
2887
+ h: {
2888
+ refRange: [0, 360],
2889
+ type: "angle",
2890
+ name: "Hue"
2891
+ },
2892
+ w: {
2893
+ range: [0, 100],
2894
+ name: "Whiteness"
2895
+ },
2896
+ b: {
2897
+ range: [0, 100],
2898
+ name: "Blackness"
2899
+ }
2900
+ },
2901
+ base: Yn,
2902
+ fromBase(e) {
2903
+ let [t, n, r] = e;
2904
+ return [
2905
+ t,
2906
+ r * (100 - n) / 100,
2907
+ 100 - r
2908
+ ];
2909
+ },
2910
+ toBase(e) {
2911
+ let [t, n, r] = e;
2912
+ n /= 100, r /= 100;
2913
+ let i = n + r;
2914
+ if (i >= 1) return [
2915
+ t,
2916
+ 0,
2917
+ n / i * 100
2918
+ ];
2919
+ let a = 1 - r;
2920
+ return [
2921
+ t,
2922
+ (a === 0 ? 0 : 1 - n / a) * 100,
2923
+ a * 100
2924
+ ];
2925
+ },
2926
+ formats: { hwb: { coords: [
2927
+ "<number> | <angle>",
2928
+ "<percentage> | <number>",
2929
+ "<percentage> | <number>"
2930
+ ] } }
2931
+ }), Zn = new j({
2932
+ id: "a98rgb-linear",
2933
+ cssId: "--a98-rgb-linear",
2934
+ name: "Linear Adobe® 98 RGB compatible",
2935
+ white: "D65",
2936
+ toXYZ_M: [
2937
+ [
2938
+ .5766690429101305,
2939
+ .1855582379065463,
2940
+ .1882286462349947
2941
+ ],
2942
+ [
2943
+ .29734497525053605,
2944
+ .6273635662554661,
2945
+ .07529145849399788
2946
+ ],
2947
+ [
2948
+ .02703136138641234,
2949
+ .07068885253582723,
2950
+ .9913375368376388
2951
+ ]
2952
+ ],
2953
+ fromXYZ_M: [
2954
+ [
2955
+ 2.0415879038107465,
2956
+ -.5650069742788596,
2957
+ -.34473135077832956
2958
+ ],
2959
+ [
2960
+ -.9692436362808795,
2961
+ 1.8759675015077202,
2962
+ .04155505740717557
2963
+ ],
2964
+ [
2965
+ .013444280632031142,
2966
+ -.11836239223101838,
2967
+ 1.0151749943912054
2968
+ ]
2969
+ ]
2970
+ }), Qn = new j({
2971
+ id: "a98rgb",
2972
+ cssId: "a98-rgb",
2973
+ name: "Adobe® 98 RGB compatible",
2974
+ base: Zn,
2975
+ toBase: (e) => e.map((e) => Math.abs(e) ** (563 / 256) * Math.sign(e)),
2976
+ fromBase: (e) => e.map((e) => Math.abs(e) ** (256 / 563) * Math.sign(e))
2977
+ }), $n = new j({
2978
+ id: "prophoto-linear",
2979
+ cssId: "--prophoto-rgb-linear",
2980
+ name: "Linear ProPhoto",
2981
+ white: "D50",
2982
+ base: ae,
2983
+ toXYZ_M: [
2984
+ [
2985
+ .7977666449006423,
2986
+ .13518129740053308,
2987
+ .0313477341283922
2988
+ ],
2989
+ [
2990
+ .2880748288194013,
2991
+ .711835234241873,
2992
+ 8993693872564e-17
2993
+ ],
2994
+ [
2995
+ 0,
2996
+ 0,
2997
+ .8251046025104602
2998
+ ]
2999
+ ],
3000
+ fromXYZ_M: [
3001
+ [
3002
+ 1.3457868816471583,
3003
+ -.25557208737979464,
3004
+ -.05110186497554526
3005
+ ],
3006
+ [
3007
+ -.5446307051249019,
3008
+ 1.5082477428451468,
3009
+ .02052744743642139
3010
+ ],
3011
+ [
3012
+ 0,
3013
+ 0,
3014
+ 1.2119675456389452
3015
+ ]
3016
+ ]
3017
+ }), er = 1 / 512, tr = 16 / 512, nr = new j({
3018
+ id: "prophoto",
3019
+ cssId: "prophoto-rgb",
3020
+ name: "ProPhoto",
3021
+ base: $n,
3022
+ toBase(e) {
3023
+ return e.map((e) => e < tr ? e / 16 : e ** 1.8);
3024
+ },
3025
+ fromBase(e) {
3026
+ return e.map((e) => e >= er ? e ** (1 / 1.8) : 16 * e);
3027
+ }
3028
+ }), rr = new O({
3029
+ id: "oklch",
3030
+ name: "Oklch",
3031
+ coords: {
3032
+ l: {
3033
+ refRange: [0, 1],
3034
+ name: "Lightness"
3035
+ },
3036
+ c: {
3037
+ refRange: [0, .4],
3038
+ name: "Chroma"
3039
+ },
3040
+ h: {
3041
+ refRange: [0, 360],
3042
+ type: "angle",
3043
+ name: "Hue"
3044
+ }
3045
+ },
3046
+ white: "D65",
3047
+ base: z,
3048
+ fromBase(e) {
3049
+ let [t, n, r] = e, i, a = 2e-4;
3050
+ return i = Math.abs(n) < a && Math.abs(r) < a ? NaN : Math.atan2(r, n) * 180 / Math.PI, [
3051
+ t,
3052
+ Math.sqrt(n ** 2 + r ** 2),
3053
+ L(i)
3054
+ ];
3055
+ },
3056
+ toBase(e) {
3057
+ let [t, n, r] = e, i, a;
3058
+ return isNaN(r) ? (i = 0, a = 0) : (i = n * Math.cos(r * Math.PI / 180), a = n * Math.sin(r * Math.PI / 180)), [
3059
+ t,
3060
+ i,
3061
+ a
3062
+ ];
3063
+ },
3064
+ formats: { oklch: { coords: [
3065
+ "<percentage> | <number>",
3066
+ "<number> | <percentage>[0,1]",
3067
+ "<number> | <angle>"
3068
+ ] } }
3069
+ }), ir = C.D65, ar = 216 / 24389, or = 24389 / 27, [sr, cr] = Fn({
3070
+ space: A,
3071
+ coords: ir
3072
+ }), lr = new O({
3073
+ id: "luv",
3074
+ name: "Luv",
3075
+ coords: {
3076
+ l: {
3077
+ refRange: [0, 100],
3078
+ name: "Lightness"
3079
+ },
3080
+ u: { refRange: [-215, 215] },
3081
+ v: { refRange: [-215, 215] }
3082
+ },
3083
+ white: ir,
3084
+ base: A,
3085
+ fromBase(e) {
3086
+ let t = [
3087
+ o(e[0]),
3088
+ o(e[1]),
3089
+ o(e[2])
3090
+ ], n = t[1], [r, i] = Fn({
3091
+ space: A,
3092
+ coords: t
3093
+ });
3094
+ if (!Number.isFinite(r) || !Number.isFinite(i)) return [
3095
+ 0,
3096
+ 0,
3097
+ 0
3098
+ ];
3099
+ let a = n <= ar ? or * n : 116 * Math.cbrt(n) - 16;
3100
+ return [
3101
+ a,
3102
+ 13 * a * (r - sr),
3103
+ 13 * a * (i - cr)
3104
+ ];
3105
+ },
3106
+ toBase(e) {
3107
+ let [t, n, r] = e;
3108
+ if (t === 0 || a(t)) return [
3109
+ 0,
3110
+ 0,
3111
+ 0
3112
+ ];
3113
+ n = o(n), r = o(r);
3114
+ let i = n / (13 * t) + sr, s = r / (13 * t) + cr, c = t <= 8 ? t / or : ((t + 16) / 116) ** 3;
3115
+ return [
3116
+ c * (9 * i / (4 * s)),
3117
+ c,
3118
+ c * ((12 - 3 * i - 20 * s) / (4 * s))
3119
+ ];
3120
+ },
3121
+ formats: { color: {
3122
+ id: "--luv",
3123
+ coords: [
3124
+ "<number> | <percentage>",
3125
+ "<number> | <percentage>[-1,1]",
3126
+ "<number> | <percentage>[-1,1]"
3127
+ ]
3128
+ } }
3129
+ }), ur = new O({
3130
+ id: "lchuv",
3131
+ name: "LChuv",
3132
+ coords: {
3133
+ l: {
3134
+ refRange: [0, 100],
3135
+ name: "Lightness"
3136
+ },
3137
+ c: {
3138
+ refRange: [0, 220],
3139
+ name: "Chroma"
3140
+ },
3141
+ h: {
3142
+ refRange: [0, 360],
3143
+ type: "angle",
3144
+ name: "Hue"
3145
+ }
3146
+ },
3147
+ base: lr,
3148
+ fromBase(e) {
3149
+ let [t, n, r] = e, i, a = .02;
3150
+ return i = Math.abs(n) < a && Math.abs(r) < a ? NaN : Math.atan2(r, n) * 180 / Math.PI, [
3151
+ t,
3152
+ Math.sqrt(n ** 2 + r ** 2),
3153
+ L(i)
3154
+ ];
3155
+ },
3156
+ toBase(e) {
3157
+ let [t, n, r] = e;
3158
+ return n < 0 && (n = 0), isNaN(r) && (r = 0), [
3159
+ t,
3160
+ n * Math.cos(r * Math.PI / 180),
3161
+ n * Math.sin(r * Math.PI / 180)
3162
+ ];
3163
+ },
3164
+ formats: { color: {
3165
+ id: "--lchuv",
3166
+ coords: [
3167
+ "<number> | <percentage>",
3168
+ "<number> | <percentage>",
3169
+ "<number> | <angle>"
3170
+ ]
3171
+ } }
3172
+ }), dr = 216 / 24389, fr = 24389 / 27, pr = K[0][0], mr = K[0][1], hr = K[0][2], gr = K[1][0], _r = K[1][1], vr = K[1][2], yr = K[2][0], br = K[2][1], xr = K[2][2];
3173
+ function Z(e, t, n) {
3174
+ let r = t / (Math.sin(n) - e * Math.cos(n));
3175
+ return r < 0 ? Infinity : r;
3176
+ }
3177
+ function Sr(e) {
3178
+ let t = (e + 16) ** 3 / 1560896, n = t > dr ? t : e / fr, r = n * (284517 * pr - 94839 * hr), i = n * (838422 * hr + 769860 * mr + 731718 * pr), a = n * (632260 * hr - 126452 * mr), o = n * (284517 * gr - 94839 * vr), s = n * (838422 * vr + 769860 * _r + 731718 * gr), c = n * (632260 * vr - 126452 * _r), l = n * (284517 * yr - 94839 * xr), u = n * (838422 * xr + 769860 * br + 731718 * yr), d = n * (632260 * xr - 126452 * br);
3179
+ return {
3180
+ r0s: r / a,
3181
+ r0i: i * e / a,
3182
+ r1s: r / (a + 126452),
3183
+ r1i: (i - 769860) * e / (a + 126452),
3184
+ g0s: o / c,
3185
+ g0i: s * e / c,
3186
+ g1s: o / (c + 126452),
3187
+ g1i: (s - 769860) * e / (c + 126452),
3188
+ b0s: l / d,
3189
+ b0i: u * e / d,
3190
+ b1s: l / (d + 126452),
3191
+ b1i: (u - 769860) * e / (d + 126452)
3192
+ };
3193
+ }
3194
+ function Cr(e, t) {
3195
+ let n = t / 360 * Math.PI * 2, r = Z(e.r0s, e.r0i, n), i = Z(e.r1s, e.r1i, n), a = Z(e.g0s, e.g0i, n), o = Z(e.g1s, e.g1i, n), s = Z(e.b0s, e.b0i, n), c = Z(e.b1s, e.b1i, n);
3196
+ return Math.min(r, i, a, o, s, c);
3197
+ }
3198
+ var wr = new O({
3199
+ id: "hsluv",
3200
+ name: "HSLuv",
3201
+ coords: {
3202
+ h: {
3203
+ refRange: [0, 360],
3204
+ type: "angle",
3205
+ name: "Hue"
3206
+ },
3207
+ s: {
3208
+ range: [0, 100],
3209
+ name: "Saturation"
3210
+ },
3211
+ l: {
3212
+ range: [0, 100],
3213
+ name: "Lightness"
3214
+ }
3215
+ },
3216
+ base: ur,
3217
+ gamutSpace: q,
3218
+ fromBase(e) {
3219
+ let [t, n, r] = [
3220
+ o(e[0]),
3221
+ o(e[1]),
3222
+ o(e[2])
3223
+ ], i;
3224
+ return t > 99.9999999 ? (i = 0, t = 100) : t < 1e-8 ? (i = 0, t = 0) : i = n / Cr(Sr(t), r) * 100, [
3225
+ r,
3226
+ i,
3227
+ t
3228
+ ];
3229
+ },
3230
+ toBase(e) {
3231
+ let [t, n, r] = [
3232
+ o(e[0]),
3233
+ o(e[1]),
3234
+ o(e[2])
3235
+ ], i;
3236
+ return r > 99.9999999 ? (r = 100, i = 0) : r < 1e-8 ? (r = 0, i = 0) : i = Cr(Sr(r), t) / 100 * n, [
3237
+ r,
3238
+ i,
3239
+ t
3240
+ ];
3241
+ },
3242
+ formats: { color: {
3243
+ id: "--hsluv",
3244
+ coords: [
3245
+ "<number> | <angle>",
3246
+ "<percentage> | <number>",
3247
+ "<percentage> | <number>"
3248
+ ]
3249
+ } }
3250
+ });
3251
+ K[0][0], K[0][1], K[0][2], K[1][0], K[1][1], K[1][2], K[2][0], K[2][1], K[2][2];
3252
+ function Q(e, t) {
3253
+ return Math.abs(t) / Math.sqrt(e ** 2 + 1);
3254
+ }
3255
+ function Tr(e) {
3256
+ let t = Q(e.r0s, e.r0i), n = Q(e.r1s, e.r1i), r = Q(e.g0s, e.g0i), i = Q(e.g1s, e.g1i), a = Q(e.b0s, e.b0i), o = Q(e.b1s, e.b1i);
3257
+ return Math.min(t, n, r, i, a, o);
3258
+ }
3259
+ var Er = new O({
3260
+ id: "hpluv",
3261
+ name: "HPLuv",
3262
+ coords: {
3263
+ h: {
3264
+ refRange: [0, 360],
3265
+ type: "angle",
3266
+ name: "Hue"
3267
+ },
3268
+ s: {
3269
+ range: [0, 100],
3270
+ name: "Saturation"
3271
+ },
3272
+ l: {
3273
+ range: [0, 100],
3274
+ name: "Lightness"
3275
+ }
3276
+ },
3277
+ base: ur,
3278
+ gamutSpace: "self",
3279
+ fromBase(e) {
3280
+ let [t, n, r] = [
3281
+ o(e[0]),
3282
+ o(e[1]),
3283
+ o(e[2])
3284
+ ], i;
3285
+ return t > 99.9999999 ? (i = 0, t = 100) : t < 1e-8 ? (i = 0, t = 0) : i = n / Tr(Sr(t)) * 100, [
3286
+ r,
3287
+ i,
3288
+ t
3289
+ ];
3290
+ },
3291
+ toBase(e) {
3292
+ let [t, n, r] = [
3293
+ o(e[0]),
3294
+ o(e[1]),
3295
+ o(e[2])
3296
+ ], i;
3297
+ return r > 99.9999999 ? (r = 100, i = 0) : r < 1e-8 ? (r = 0, i = 0) : i = Tr(Sr(r)) / 100 * n, [
3298
+ r,
3299
+ i,
3300
+ t
3301
+ ];
3302
+ },
3303
+ formats: { color: {
3304
+ id: "--hpluv",
3305
+ coords: [
3306
+ "<number> | <angle>",
3307
+ "<percentage> | <number>",
3308
+ "<percentage> | <number>"
3309
+ ]
3310
+ } }
3311
+ }), Dr = 203, Or = 2610 / 2 ** 14, kr = 2 ** 14 / 2610, Ar = 2523 / 2 ** 5, jr = 2 ** 5 / 2523, Mr = 3424 / 2 ** 12, Nr = 2413 / 2 ** 7, Pr = 2392 / 2 ** 7, Fr = new j({
3312
+ id: "rec2100pq",
3313
+ cssId: "rec2100-pq",
3314
+ name: "REC.2100-PQ",
3315
+ base: Wt,
3316
+ toBase(e) {
3317
+ return e.map(function(e) {
3318
+ return (Math.max(e ** jr - Mr, 0) / (Nr - Pr * e ** jr)) ** kr * 1e4 / Dr;
3319
+ });
3320
+ },
3321
+ fromBase(e) {
3322
+ return e.map(function(e) {
3323
+ let t = Math.max(e * Dr / 1e4, 0);
3324
+ return ((Mr + Nr * t ** Or) / (1 + Pr * t ** Or)) ** Ar;
3325
+ });
3326
+ }
3327
+ }), Ir = .17883277, Lr = .28466892, Rr = .55991073, zr = 3.7743, Br = new j({
3328
+ id: "rec2100hlg",
3329
+ cssId: "rec2100-hlg",
3330
+ name: "REC.2100-HLG",
3331
+ referred: "scene",
3332
+ base: Wt,
3333
+ toBase(e) {
3334
+ return e.map(function(e) {
3335
+ return e <= .5 ? e ** 2 / 3 * zr : (Math.exp((e - Rr) / Ir) + Lr) / 12 * zr;
3336
+ });
3337
+ },
3338
+ fromBase(e) {
3339
+ return e.map(function(e) {
3340
+ return e /= zr, e <= 1 / 12 ? Math.sqrt(3 * e) : Ir * Math.log(12 * e - Lr) + Rr;
3341
+ });
3342
+ }
3343
+ }), Vr = {};
3344
+ x.add("chromatic-adaptation-start", (e) => {
3345
+ e.options.method && (e.M = Ur(e.W1, e.W2, e.options.method));
3346
+ }), x.add("chromatic-adaptation-end", (e) => {
3347
+ e.M ||= Ur(e.W1, e.W2, e.options.method);
3348
+ });
3349
+ function Hr({ id: e, toCone_M: t, fromCone_M: n }) {
3350
+ Vr[e] = arguments[0];
3351
+ }
3352
+ function Ur(e, n, r = "Bradford") {
3353
+ let i = Vr[r], [a, o, s] = t(i.toCone_M, e), [c, l, u] = t(i.toCone_M, n), d = t([
3354
+ [
3355
+ c / a,
3356
+ 0,
3357
+ 0
3358
+ ],
3359
+ [
3360
+ 0,
3361
+ l / o,
3362
+ 0
3363
+ ],
3364
+ [
3365
+ 0,
3366
+ 0,
3367
+ u / s
3368
+ ]
3369
+ ], i.toCone_M);
3370
+ return t(i.fromCone_M, d);
3371
+ }
3372
+ Hr({
3373
+ id: "von Kries",
3374
+ toCone_M: [
3375
+ [
3376
+ .40024,
3377
+ .7076,
3378
+ -.08081
3379
+ ],
3380
+ [
3381
+ -.2263,
3382
+ 1.16532,
3383
+ .0457
3384
+ ],
3385
+ [
3386
+ 0,
3387
+ 0,
3388
+ .91822
3389
+ ]
3390
+ ],
3391
+ fromCone_M: [
3392
+ [
3393
+ 1.8599363874558397,
3394
+ -1.1293816185800916,
3395
+ .21989740959619328
3396
+ ],
3397
+ [
3398
+ .3611914362417676,
3399
+ .6388124632850422,
3400
+ -6370596838649899e-21
3401
+ ],
3402
+ [
3403
+ 0,
3404
+ 0,
3405
+ 1.0890636230968613
3406
+ ]
3407
+ ]
3408
+ }), Hr({
3409
+ id: "Bradford",
3410
+ toCone_M: [
3411
+ [
3412
+ .8951,
3413
+ .2664,
3414
+ -.1614
3415
+ ],
3416
+ [
3417
+ -.7502,
3418
+ 1.7135,
3419
+ .0367
3420
+ ],
3421
+ [
3422
+ .0389,
3423
+ -.0685,
3424
+ 1.0296
3425
+ ]
3426
+ ],
3427
+ fromCone_M: [
3428
+ [
3429
+ .9869929054667121,
3430
+ -.14705425642099013,
3431
+ .15996265166373122
3432
+ ],
3433
+ [
3434
+ .4323052697233945,
3435
+ .5183602715367774,
3436
+ .049291228212855594
3437
+ ],
3438
+ [
3439
+ -.00852866457517732,
3440
+ .04004282165408486,
3441
+ .96848669578755
3442
+ ]
3443
+ ]
3444
+ }), Hr({
3445
+ id: "CAT02",
3446
+ toCone_M: [
3447
+ [
3448
+ .7328,
3449
+ .4296,
3450
+ -.1624
3451
+ ],
3452
+ [
3453
+ -.7036,
3454
+ 1.6975,
3455
+ .0061
3456
+ ],
3457
+ [
3458
+ .003,
3459
+ .0136,
3460
+ .9834
3461
+ ]
3462
+ ],
3463
+ fromCone_M: [
3464
+ [
3465
+ 1.0961238208355142,
3466
+ -.27886900021828726,
3467
+ .18274517938277307
3468
+ ],
3469
+ [
3470
+ .4543690419753592,
3471
+ .4735331543074117,
3472
+ .07209780371722911
3473
+ ],
3474
+ [
3475
+ -.009627608738429355,
3476
+ -.00569803121611342,
3477
+ 1.0153256399545427
3478
+ ]
3479
+ ]
3480
+ }), Hr({
3481
+ id: "CAT16",
3482
+ toCone_M: [
3483
+ [
3484
+ .401288,
3485
+ .650173,
3486
+ -.051461
3487
+ ],
3488
+ [
3489
+ -.250268,
3490
+ 1.204414,
3491
+ .045854
3492
+ ],
3493
+ [
3494
+ -.002079,
3495
+ .048952,
3496
+ .953127
3497
+ ]
3498
+ ],
3499
+ fromCone_M: [
3500
+ [
3501
+ 1.862067855087233,
3502
+ -1.0112546305316845,
3503
+ .14918677544445172
3504
+ ],
3505
+ [
3506
+ .3875265432361372,
3507
+ .6214474419314753,
3508
+ -.008973985167612521
3509
+ ],
3510
+ [
3511
+ -.01584149884933386,
3512
+ -.03412293802851557,
3513
+ 1.0499644368778496
3514
+ ]
3515
+ ]
3516
+ }), Object.assign(C, {
3517
+ A: [
3518
+ 1.0985,
3519
+ 1,
3520
+ .35585
3521
+ ],
3522
+ C: [
3523
+ .98074,
3524
+ 1,
3525
+ 1.18232
3526
+ ],
3527
+ D55: [
3528
+ .95682,
3529
+ 1,
3530
+ .92149
3531
+ ],
3532
+ D75: [
3533
+ .94972,
3534
+ 1,
3535
+ 1.22638
3536
+ ],
3537
+ E: [
3538
+ 1,
3539
+ 1,
3540
+ 1
3541
+ ],
3542
+ F2: [
3543
+ .99186,
3544
+ 1,
3545
+ .67393
3546
+ ],
3547
+ F7: [
3548
+ .95041,
3549
+ 1,
3550
+ 1.08747
3551
+ ],
3552
+ F11: [
3553
+ 1.00962,
3554
+ 1,
3555
+ .6435
3556
+ ]
3557
+ }), C.ACES = [
3558
+ .32168 / .33767,
3559
+ 1,
3560
+ .34065 / .33767
3561
+ ];
3562
+ var Wr = new j({
3563
+ id: "acescg",
3564
+ cssId: "--acescg",
3565
+ name: "ACEScg",
3566
+ coords: {
3567
+ r: {
3568
+ range: [0, 65504],
3569
+ name: "Red"
3570
+ },
3571
+ g: {
3572
+ range: [0, 65504],
3573
+ name: "Green"
3574
+ },
3575
+ b: {
3576
+ range: [0, 65504],
3577
+ name: "Blue"
3578
+ }
3579
+ },
3580
+ referred: "scene",
3581
+ white: C.ACES,
3582
+ toXYZ_M: [
3583
+ [
3584
+ .6624541811085053,
3585
+ .13400420645643313,
3586
+ .1561876870049078
3587
+ ],
3588
+ [
3589
+ .27222871678091454,
3590
+ .6740817658111484,
3591
+ .05368951740793705
3592
+ ],
3593
+ [
3594
+ -.005574649490394108,
3595
+ .004060733528982826,
3596
+ 1.0103391003129971
3597
+ ]
3598
+ ],
3599
+ fromXYZ_M: [
3600
+ [
3601
+ 1.6410233796943257,
3602
+ -.32480329418479,
3603
+ -.23642469523761225
3604
+ ],
3605
+ [
3606
+ -.6636628587229829,
3607
+ 1.6153315916573379,
3608
+ .016756347685530137
3609
+ ],
3610
+ [
3611
+ .011721894328375376,
3612
+ -.008284441996237409,
3613
+ .9883948585390215
3614
+ ]
3615
+ ]
3616
+ }), Gr = 2 ** -16, Kr = -.35828683, qr = (Math.log2(65504) + 9.72) / 17.52, Jr = new j({
3617
+ id: "acescc",
3618
+ cssId: "--acescc",
3619
+ name: "ACEScc",
3620
+ coords: {
3621
+ r: {
3622
+ range: [Kr, qr],
3623
+ name: "Red"
3624
+ },
3625
+ g: {
3626
+ range: [Kr, qr],
3627
+ name: "Green"
3628
+ },
3629
+ b: {
3630
+ range: [Kr, qr],
3631
+ name: "Blue"
3632
+ }
3633
+ },
3634
+ referred: "scene",
3635
+ base: Wr,
3636
+ toBase(e) {
3637
+ return e.map(function(e) {
3638
+ return e <= -.3013698630136986 ? (2 ** (e * 17.52 - 9.72) - Gr) * 2 : e < qr ? 2 ** (e * 17.52 - 9.72) : 65504;
3639
+ });
3640
+ },
3641
+ fromBase(e) {
3642
+ return e.map(function(e) {
3643
+ return e <= 0 ? (Math.log2(Gr) + 9.72) / 17.52 : e < Gr ? (Math.log2(Gr + e * .5) + 9.72) / 17.52 : (Math.log2(e) + 9.72) / 17.52;
3644
+ });
3645
+ }
3646
+ }), Yr = /*#__PURE__*/ Object.freeze({
3647
+ __proto__: null,
3648
+ A98RGB: Qn,
3649
+ A98RGB_Linear: Zn,
3650
+ ACEScc: Jr,
3651
+ ACEScg: Wr,
3652
+ CAM16_JMh: Tt,
3653
+ HCT: Pt,
3654
+ HPLuv: Er,
3655
+ HSL: Jn,
3656
+ HSLuv: wr,
3657
+ HSV: Yn,
3658
+ HWB: Xn,
3659
+ ICTCP: rt,
3660
+ JzCzHz: We,
3661
+ Jzazbz: Ue,
3662
+ LCH: ue,
3663
+ LCHuv: ur,
3664
+ Lab: I,
3665
+ Lab_D65: An,
3666
+ Luv: lr,
3667
+ OKLCH: rr,
3668
+ OKLab: z,
3669
+ P3: en,
3670
+ P3_Linear: Jt,
3671
+ ProPhoto: nr,
3672
+ ProPhoto_Linear: $n,
3673
+ REC_2020: qt,
3674
+ REC_2020_Linear: Wt,
3675
+ REC_2100_HLG: Br,
3676
+ REC_2100_PQ: Fr,
3677
+ XYZ_ABS_D65: De,
3678
+ XYZ_D50: ae,
3679
+ XYZ_D65: A,
3680
+ sRGB: q,
3681
+ sRGB_Linear: Xt
3682
+ }), $ = class e {
3683
+ constructor(...e) {
3684
+ let t;
3685
+ e.length === 1 && (t = D(e[0]));
3686
+ let n, r, i;
3687
+ t ? (n = t.space || t.spaceId, r = t.coords, i = t.alpha) : [n, r, i] = e, Object.defineProperty(this, "space", {
3688
+ value: O.get(n),
3689
+ writable: !1,
3690
+ enumerable: !0,
3691
+ configurable: !0
3692
+ }), this.coords = r ? r.slice() : [
3693
+ 0,
3694
+ 0,
3695
+ 0
3696
+ ], this.alpha = i > 1 || i === void 0 ? 1 : i < 0 ? 0 : i;
3697
+ for (let e = 0; e < this.coords.length; e++) this.coords[e] === "NaN" && (this.coords[e] = NaN);
3698
+ for (let e in this.space.coords) Object.defineProperty(this, e, {
3699
+ get: () => this.get(e),
3700
+ set: (t) => this.set(e, t)
3701
+ });
3702
+ }
3703
+ get spaceId() {
3704
+ return this.space.id;
3705
+ }
3706
+ clone() {
3707
+ return new e(this.space, this.coords, this.alpha);
3708
+ }
3709
+ toJSON() {
3710
+ return {
3711
+ spaceId: this.spaceId,
3712
+ coords: this.coords,
3713
+ alpha: this.alpha
3714
+ };
3715
+ }
3716
+ display(...t) {
3717
+ let n = nn(this, ...t);
3718
+ return n.color = new e(n.color), n;
3719
+ }
3720
+ static get(t, ...n) {
3721
+ return t instanceof e ? t : new e(t, ...n);
3722
+ }
3723
+ static defineFunction(t, n, r = n) {
3724
+ let { instance: i = !0, returns: a } = r, o = function(...t) {
3725
+ let r = n(...t);
3726
+ if (a === "color") r = e.get(r);
3727
+ else if (a === "function<color>") {
3728
+ let t = r;
3729
+ r = function(...n) {
3730
+ let r = t(...n);
3731
+ return e.get(r);
3732
+ }, Object.assign(r, t);
3733
+ } else a === "array<color>" && (r = r.map((t) => e.get(t)));
3734
+ return r;
3735
+ };
3736
+ t in e || (e[t] = o), i && (e.prototype[t] = function(...e) {
3737
+ return o(this, ...e);
3738
+ });
3739
+ }
3740
+ static defineFunctions(t) {
3741
+ for (let n in t) e.defineFunction(n, t[n], t[n]);
3742
+ }
3743
+ static extend(t) {
3744
+ if (t.register) t.register(e);
3745
+ else for (let n in t) e.defineFunction(n, t[n]);
3746
+ }
3747
+ };
3748
+ $.defineFunctions({
3749
+ get: N,
3750
+ getAll: M,
3751
+ set: P,
3752
+ setAll: ie,
3753
+ to: G,
3754
+ equals: rn,
3755
+ inGamut: B,
3756
+ toGamut: W,
3757
+ distance: Se,
3758
+ toString: Ut
3759
+ }), Object.assign($, {
3760
+ util: b,
3761
+ hooks: x,
3762
+ WHITES: C,
3763
+ Space: O,
3764
+ spaces: O.registry,
3765
+ parse: te,
3766
+ defaults: S
3767
+ });
3768
+ for (let e of Object.keys(Yr)) O.register(Yr[e]);
3769
+ for (let e in O.registry) Xr(e, O.registry[e]);
3770
+ x.add("colorspace-init-end", (e) => {
3771
+ Xr(e.id, e), e.aliases?.forEach((t) => {
3772
+ Xr(t, e);
3773
+ });
3774
+ });
3775
+ function Xr(e, t) {
3776
+ let n = e.replace(/-/g, "_");
3777
+ Object.defineProperty($.prototype, n, {
3778
+ get() {
3779
+ let n = this.getAll(e);
3780
+ return typeof Proxy > "u" ? n : new Proxy(n, {
3781
+ has: (e, n) => {
3782
+ try {
3783
+ return O.resolveCoord([t, n]), !0;
3784
+ } catch {}
3785
+ return Reflect.has(e, n);
3786
+ },
3787
+ get: (e, n, r) => {
3788
+ if (n && typeof n != "symbol" && !(n in e)) {
3789
+ let { index: r } = O.resolveCoord([t, n]);
3790
+ if (r >= 0) return e[r];
3791
+ }
3792
+ return Reflect.get(e, n, r);
3793
+ },
3794
+ set: (n, r, i, a) => {
3795
+ if (r && typeof r != "symbol" && !(r in n) || r >= 0) {
3796
+ let { index: a } = O.resolveCoord([t, r]);
3797
+ if (a >= 0) return n[a] = i, this.setAll(e, n), !0;
3798
+ }
3799
+ return Reflect.set(n, r, i, a);
3800
+ }
3801
+ });
3802
+ },
3803
+ set(t) {
3804
+ this.setAll(e, t);
3805
+ },
3806
+ configurable: !0,
3807
+ enumerable: !0
3808
+ });
3809
+ }
3810
+ $.extend(U), $.extend({ deltaE: X }), Object.assign($, { deltaEMethods: U }), $.extend(Vn), $.extend({ contrast: Pn }), $.extend(Rn), $.extend(sn), $.extend(qn), $.extend(Nn);
3811
+ //#endregion
3812
+ export { $ as t };