@synnaxlabs/pluto 0.37.0 → 0.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (301) hide show
  1. package/dist/{Animated-ByIJT_wA.js → Animated-CBm9-vEt.js} +3 -3
  2. package/dist/{Animated-BOjwPkTJ.cjs → Animated-Cv0kRBvj.cjs} +1 -1
  3. package/dist/{Item-Bamd13Tl.cjs → Item-D4eTqW7p.cjs} +1 -1
  4. package/dist/{Item-CQ2ZuDfi.js → Item-DfHOrsI4.js} +9 -9
  5. package/dist/{LinePlot-Ci-61YDW.js → LinePlot-BLovx_K1.js} +1779 -1706
  6. package/dist/LinePlot-BXBKDBXS.cjs +56 -0
  7. package/dist/{Link-Cm6yn4zC.cjs → Link-CcELhLK5.cjs} +1 -1
  8. package/dist/{Link-ZlOdu4jA.js → Link-DsUveQ8_.js} +2 -2
  9. package/dist/Pack-SDIuOEWr.cjs +1 -0
  10. package/dist/Pack-meMPpnLE.js +143 -0
  11. package/dist/Toggle--8qqNnzb.cjs +163 -0
  12. package/dist/{Toggle-DlYB4nmh.js → Toggle-Bkpw4raJ.js} +15326 -15675
  13. package/dist/Video-D9_mAnaf.cjs +1 -0
  14. package/dist/Video-M2UhBzQi.js +9 -0
  15. package/dist/{aggregator-CWsCIyed.js → aggregator-BpyoaCoW.js} +2941 -2922
  16. package/dist/aggregator-By11htYo.cjs +77 -0
  17. package/dist/align.cjs +1 -1
  18. package/dist/align.js +1 -1
  19. package/dist/button.cjs +1 -1
  20. package/dist/button.js +1 -1
  21. package/dist/color.cjs +1 -1
  22. package/dist/color.js +1 -1
  23. package/dist/{css-Bo-hsQHb.cjs → css-CRd0zXr-.cjs} +1 -1
  24. package/dist/{css-Csw1Dn4s.js → css-CxwKC6TD.js} +216 -216
  25. package/dist/css.cjs +1 -1
  26. package/dist/css.js +2 -2
  27. package/dist/dropdown.cjs +1 -1
  28. package/dist/dropdown.js +1 -1
  29. package/dist/ether.cjs +1 -1
  30. package/dist/ether.js +58 -56
  31. package/dist/{external-DsJYjdNk.cjs → external---lrKeGh.cjs} +1 -1
  32. package/dist/{external-CyPQsB1T.cjs → external--jF6DCow.cjs} +1 -1
  33. package/dist/{external-DXD4PtTK.js → external-BDI5gGZT.js} +2 -2
  34. package/dist/external-BDxOWeCJ.js +34 -0
  35. package/dist/{external-2PznkZYs.js → external-BOqGZoJO.js} +113 -112
  36. package/dist/external-BXEbAbxf.cjs +1 -0
  37. package/dist/external-BdhgaSFj.cjs +1 -0
  38. package/dist/external-BlB1LKU5.cjs +1 -0
  39. package/dist/external-ByzAGKGm.cjs +1 -0
  40. package/dist/{external-BTnFzhMM.js → external-BzzIJ4wP.js} +4 -5
  41. package/dist/external-CDa3lybi.js +277 -0
  42. package/dist/{external-4ikhWnyq.js → external-CEAUuDRU.js} +2 -2
  43. package/dist/{external-vYsKqfFS.js → external-Cc7R9gIf.js} +186 -187
  44. package/dist/{external-BpeQ9rNJ.js → external-CqOmm0mk.js} +88 -88
  45. package/dist/{external-DIwKYTmY.js → external-CsLjI7EJ.js} +2 -2
  46. package/dist/{external-C_th4MW9.cjs → external-DN8Ec8n8.cjs} +1 -1
  47. package/dist/{external-CyYaJ5TW.js → external-DSHJn336.js} +5 -5
  48. package/dist/{external-vMTeF1dc.cjs → external-DaTbvfth.cjs} +1 -1
  49. package/dist/external-Dqh2Lbnl.cjs +1 -0
  50. package/dist/{external-VEFOprRU.cjs → external-Dvj3Y4C_.cjs} +1 -1
  51. package/dist/external-NDebmx0l.js +123 -0
  52. package/dist/external-biLn9KfP.cjs +1 -0
  53. package/dist/{external-rGv5AzBK.js → external-hZWRSBEb.js} +14 -14
  54. package/dist/external-mT9bNf0F.cjs +1 -0
  55. package/dist/header.cjs +1 -1
  56. package/dist/header.js +1 -1
  57. package/dist/index.cjs +13 -13
  58. package/dist/index.js +6746 -6604
  59. package/dist/input.cjs +1 -1
  60. package/dist/input.js +1 -1
  61. package/dist/{jsx-runtime-Dx-03ztt.js → jsx-runtime-Bdg6XQ1m.js} +134 -134
  62. package/dist/jsx-runtime-D8EVjfnb.cjs +31 -0
  63. package/dist/list.cjs +1 -1
  64. package/dist/list.js +1 -1
  65. package/dist/menu.cjs +1 -1
  66. package/dist/menu.js +1 -1
  67. package/dist/pluto.css +1 -1
  68. package/dist/src/aether/aether/index.d.ts +1 -2
  69. package/dist/src/aether/aether/index.d.ts.map +1 -1
  70. package/dist/src/aether/main.d.ts +18 -19
  71. package/dist/src/aether/main.d.ts.map +1 -1
  72. package/dist/src/alamos/Provider.d.ts +2 -4
  73. package/dist/src/alamos/Provider.d.ts.map +1 -1
  74. package/dist/src/align/Center.d.ts +2 -3
  75. package/dist/src/align/Center.d.ts.map +1 -1
  76. package/dist/src/align/Pack.d.ts +1 -2
  77. package/dist/src/align/Pack.d.ts.map +1 -1
  78. package/dist/src/align/Space.d.ts +1 -1
  79. package/dist/src/align/Space.d.ts.map +1 -1
  80. package/dist/src/breadcrumb/Breadcrumb.d.ts.map +1 -1
  81. package/dist/src/button/Button.d.ts +4 -4
  82. package/dist/src/button/Button.d.ts.map +1 -1
  83. package/dist/src/button/Icon.d.ts +2 -2
  84. package/dist/src/button/Icon.d.ts.map +1 -1
  85. package/dist/src/button/Toggle.d.ts +3 -3
  86. package/dist/src/button/Toggle.d.ts.map +1 -1
  87. package/dist/src/channel/LinePlot.d.ts.map +1 -1
  88. package/dist/src/channel/Select.d.ts +2 -0
  89. package/dist/src/channel/Select.d.ts.map +1 -1
  90. package/dist/src/color/core/external.d.ts +1 -0
  91. package/dist/src/color/core/external.d.ts.map +1 -1
  92. package/dist/src/color/core/transformColorsToHex.d.ts +6 -0
  93. package/dist/src/color/core/transformColorsToHex.d.ts.map +1 -0
  94. package/dist/src/color/external.d.ts +1 -0
  95. package/dist/src/color/external.d.ts.map +1 -1
  96. package/dist/src/divider/index.d.ts +1 -2
  97. package/dist/src/divider/index.d.ts.map +1 -1
  98. package/dist/src/dropdown/index.d.ts +1 -2
  99. package/dist/src/dropdown/index.d.ts.map +1 -1
  100. package/dist/src/form/Field.d.ts +6 -6
  101. package/dist/src/form/Field.d.ts.map +1 -1
  102. package/dist/src/form/synced.d.ts.map +1 -1
  103. package/dist/src/generic/Generic.d.ts +1 -1
  104. package/dist/src/generic/Generic.d.ts.map +1 -1
  105. package/dist/src/hardware/device/Select.d.ts.map +1 -1
  106. package/dist/src/haul/Haul.d.ts +3 -3
  107. package/dist/src/haul/Haul.d.ts.map +1 -1
  108. package/dist/src/hooks/ref.d.ts +5 -5
  109. package/dist/src/hooks/ref.d.ts.map +1 -1
  110. package/dist/src/hooks/useCursorDrag/useVirtualCursorDragWebKit.d.ts.map +1 -1
  111. package/dist/src/index.d.ts +2 -3
  112. package/dist/src/index.d.ts.map +1 -1
  113. package/dist/src/input/Date.d.ts +2 -1
  114. package/dist/src/input/Date.d.ts.map +1 -1
  115. package/dist/src/input/Numeric.d.ts +2 -1
  116. package/dist/src/input/Numeric.d.ts.map +1 -1
  117. package/dist/src/input/Switch.d.ts +2 -1
  118. package/dist/src/input/Switch.d.ts.map +1 -1
  119. package/dist/src/input/Text.d.ts +2 -1
  120. package/dist/src/input/Text.d.ts.map +1 -1
  121. package/dist/src/input/TextArea.d.ts +3 -3
  122. package/dist/src/input/TextArea.d.ts.map +1 -1
  123. package/dist/src/input/Time.d.ts +1 -1
  124. package/dist/src/input/Time.d.ts.map +1 -1
  125. package/dist/src/input/types.d.ts +2 -2
  126. package/dist/src/input/types.d.ts.map +1 -1
  127. package/dist/src/label/Select.d.ts.map +1 -1
  128. package/dist/src/list/Hover.d.ts.map +1 -1
  129. package/dist/src/list/Selector.d.ts.map +1 -1
  130. package/dist/src/menu/ContextMenu.d.ts +2 -2
  131. package/dist/src/menu/ContextMenu.d.ts.map +1 -1
  132. package/dist/src/mosaic/Mosaic.d.ts +2 -5
  133. package/dist/src/mosaic/Mosaic.d.ts.map +1 -1
  134. package/dist/src/nav/Drawer.d.ts +1 -3
  135. package/dist/src/nav/Drawer.d.ts.map +1 -1
  136. package/dist/src/os/Controls/index.d.ts +2 -3
  137. package/dist/src/os/Controls/index.d.ts.map +1 -1
  138. package/dist/src/ranger/SelectLabel.d.ts.map +1 -1
  139. package/dist/src/resize/Core.d.ts +2 -2
  140. package/dist/src/resize/Core.d.ts.map +1 -1
  141. package/dist/src/resize/Multiple.d.ts +1 -1
  142. package/dist/src/resize/Multiple.d.ts.map +1 -1
  143. package/dist/src/select/Alignment.d.ts.map +1 -1
  144. package/dist/src/select/ComponentSize.d.ts +1 -1
  145. package/dist/src/select/ComponentSize.d.ts.map +1 -1
  146. package/dist/src/select/Multiple.d.ts +13 -12
  147. package/dist/src/select/Multiple.d.ts.map +1 -1
  148. package/dist/src/select/Select.spec.d.ts.map +1 -1
  149. package/dist/src/select/Single.d.ts +2 -2
  150. package/dist/src/select/Single.d.ts.map +1 -1
  151. package/dist/src/select/external.d.ts +1 -1
  152. package/dist/src/select/external.d.ts.map +1 -1
  153. package/dist/src/status/Aggregator.d.ts +6 -4
  154. package/dist/src/status/Aggregator.d.ts.map +1 -1
  155. package/dist/src/synnax/Provider.d.ts +2 -4
  156. package/dist/src/synnax/Provider.d.ts.map +1 -1
  157. package/dist/src/table/Table.d.ts +4 -6
  158. package/dist/src/table/Table.d.ts.map +1 -1
  159. package/dist/src/table/cells/Cells.d.ts +4 -4
  160. package/dist/src/tabs/Selector.d.ts.map +1 -1
  161. package/dist/src/telem/Provider.d.ts +2 -4
  162. package/dist/src/telem/Provider.d.ts.map +1 -1
  163. package/dist/src/telem/aether/convertSeries.d.ts +20 -6
  164. package/dist/src/telem/aether/convertSeries.d.ts.map +1 -1
  165. package/dist/src/telem/aether/pipeline.d.ts +16 -16
  166. package/dist/src/telem/aether/remote.d.ts.map +1 -1
  167. package/dist/src/telem/aether/telem.d.ts +30 -30
  168. package/dist/src/telem/client/cache/dynamic.d.ts.map +1 -1
  169. package/dist/src/telem/client/cache/index.d.ts +1 -2
  170. package/dist/src/telem/client/cache/index.d.ts.map +1 -1
  171. package/dist/src/telem/client/cache/static.d.ts.map +1 -1
  172. package/dist/src/telem/control/Chip.d.ts +2 -3
  173. package/dist/src/telem/control/Chip.d.ts.map +1 -1
  174. package/dist/src/telem/control/Controller.d.ts +2 -4
  175. package/dist/src/telem/control/Controller.d.ts.map +1 -1
  176. package/dist/src/telem/control/Indicator.d.ts +2 -4
  177. package/dist/src/telem/control/Indicator.d.ts.map +1 -1
  178. package/dist/src/telem/control/Legend.d.ts +2 -3
  179. package/dist/src/telem/control/Legend.d.ts.map +1 -1
  180. package/dist/src/telem/control/StateProvider.d.ts +2 -4
  181. package/dist/src/telem/control/StateProvider.d.ts.map +1 -1
  182. package/dist/src/telem/control/aether/chip.d.ts +16 -16
  183. package/dist/src/telem/control/aether/controller.d.ts.map +1 -1
  184. package/dist/src/telem/control/aether/indicator.d.ts +16 -16
  185. package/dist/src/telem/control/aether/state.d.ts.map +1 -1
  186. package/dist/src/text/DateTime.d.ts +3 -6
  187. package/dist/src/text/DateTime.d.ts.map +1 -1
  188. package/dist/src/text/Editable.d.ts.map +1 -1
  189. package/dist/src/text/Link.d.ts +3 -5
  190. package/dist/src/text/Link.d.ts.map +1 -1
  191. package/dist/src/text/Text.d.ts +1 -1
  192. package/dist/src/text/Text.d.ts.map +1 -1
  193. package/dist/src/theming/Provider.d.ts +1 -3
  194. package/dist/src/theming/Provider.d.ts.map +1 -1
  195. package/dist/src/theming/aether/index.d.ts +1 -2
  196. package/dist/src/theming/aether/index.d.ts.map +1 -1
  197. package/dist/src/theming/aether/provider.d.ts +315 -315
  198. package/dist/src/theming/core/theme.d.ts +116 -116
  199. package/dist/src/theming/core/theme.d.ts.map +1 -1
  200. package/dist/src/tooltip/wrap.d.ts +2 -2
  201. package/dist/src/tooltip/wrap.d.ts.map +1 -1
  202. package/dist/src/tree/Tree.d.ts +1 -1
  203. package/dist/src/tree/Tree.d.ts.map +1 -1
  204. package/dist/src/tree/core.d.ts.map +1 -1
  205. package/dist/src/triggers/Provider.d.ts.map +1 -1
  206. package/dist/src/triggers/hooks.d.ts +2 -2
  207. package/dist/src/triggers/hooks.d.ts.map +1 -1
  208. package/dist/src/util/removeProps.d.ts.map +1 -1
  209. package/dist/src/video/Video.d.ts +2 -2
  210. package/dist/src/video/Video.d.ts.map +1 -1
  211. package/dist/src/viewport/Mask.d.ts +2 -1
  212. package/dist/src/viewport/Mask.d.ts.map +1 -1
  213. package/dist/src/viewport/use.d.ts +3 -3
  214. package/dist/src/viewport/use.d.ts.map +1 -1
  215. package/dist/src/vis/button/aether/button.d.ts +8 -8
  216. package/dist/src/vis/canvas/Canvas.d.ts +2 -4
  217. package/dist/src/vis/canvas/Canvas.d.ts.map +1 -1
  218. package/dist/src/vis/diagram/Diagram.d.ts +2 -1
  219. package/dist/src/vis/diagram/Diagram.d.ts.map +1 -1
  220. package/dist/src/vis/diagram/aether/Diagram.d.ts.map +1 -1
  221. package/dist/src/vis/diagram/edge/paths.d.ts.map +1 -1
  222. package/dist/src/vis/eraser/use.d.ts +5 -6
  223. package/dist/src/vis/eraser/use.d.ts.map +1 -1
  224. package/dist/src/vis/light/aether/light.d.ts +8 -8
  225. package/dist/src/vis/line/Line.d.ts +4 -4
  226. package/dist/src/vis/line/Line.d.ts.map +1 -1
  227. package/dist/src/vis/line/aether/line.d.ts +24 -16
  228. package/dist/src/vis/line/aether/line.d.ts.map +1 -1
  229. package/dist/src/vis/lineplot/Axis.d.ts +2 -1
  230. package/dist/src/vis/lineplot/Axis.d.ts.map +1 -1
  231. package/dist/src/vis/lineplot/Legend.d.ts +1 -1
  232. package/dist/src/vis/lineplot/Legend.d.ts.map +1 -1
  233. package/dist/src/vis/lineplot/Line.d.ts +4 -4
  234. package/dist/src/vis/lineplot/Line.d.ts.map +1 -1
  235. package/dist/src/vis/lineplot/LinePlot.d.ts +4 -5
  236. package/dist/src/vis/lineplot/LinePlot.d.ts.map +1 -1
  237. package/dist/src/vis/lineplot/Title.d.ts.map +1 -1
  238. package/dist/src/vis/lineplot/Viewport.d.ts +2 -2
  239. package/dist/src/vis/lineplot/Viewport.d.ts.map +1 -1
  240. package/dist/src/vis/lineplot/aether/LinePlot.d.ts.map +1 -1
  241. package/dist/src/vis/lineplot/aether/axis.d.ts.map +1 -1
  242. package/dist/src/vis/lineplot/aether/index.d.ts +1 -2
  243. package/dist/src/vis/lineplot/aether/index.d.ts.map +1 -1
  244. package/dist/src/vis/lineplot/range/Annotation.d.ts +3 -4
  245. package/dist/src/vis/lineplot/range/Annotation.d.ts.map +1 -1
  246. package/dist/src/vis/lineplot/range/Provider.d.ts +4 -4
  247. package/dist/src/vis/lineplot/range/Provider.d.ts.map +1 -1
  248. package/dist/src/vis/lineplot/range/aether/annotation.d.ts.map +1 -1
  249. package/dist/src/vis/lineplot/tooltip/Tooltip.d.ts +4 -4
  250. package/dist/src/vis/lineplot/tooltip/Tooltip.d.ts.map +1 -1
  251. package/dist/src/vis/log/Log.d.ts +3 -4
  252. package/dist/src/vis/log/Log.d.ts.map +1 -1
  253. package/dist/src/vis/log/aether/Log.d.ts +12 -12
  254. package/dist/src/vis/measure/Measure.d.ts +4 -4
  255. package/dist/src/vis/measure/Measure.d.ts.map +1 -1
  256. package/dist/src/vis/measure/aether/measure.d.ts.map +1 -1
  257. package/dist/src/vis/rule/Rule.d.ts +4 -4
  258. package/dist/src/vis/rule/Rule.d.ts.map +1 -1
  259. package/dist/src/vis/rule/aether/aether.d.ts +1 -1
  260. package/dist/src/vis/rule/aether/aether.d.ts.map +1 -1
  261. package/dist/src/vis/schematic/Symbols.d.ts.map +1 -1
  262. package/dist/src/vis/schematic/primitives/Primitives.d.ts.map +1 -1
  263. package/dist/src/vis/setpoint/aether/setpoint.d.ts +16 -16
  264. package/dist/src/vis/toggle/aether/toggle.d.ts +16 -16
  265. package/dist/src/vis/value/aether/value.d.ts +24 -24
  266. package/dist/src/vis/value/use.d.ts +8 -8
  267. package/dist/tabs.cjs +1 -1
  268. package/dist/tabs.js +1 -1
  269. package/dist/text.cjs +1 -1
  270. package/dist/text.js +2 -2
  271. package/dist/theming.cjs +1 -1
  272. package/dist/theming.js +2 -2
  273. package/dist/transformColorsToHex-1p-bBtDw.cjs +1 -0
  274. package/dist/transformColorsToHex-CjnZ3Lo3.js +14 -0
  275. package/dist/tree.cjs +1 -1
  276. package/dist/tree.js +1 -1
  277. package/dist/triggers.cjs +1 -1
  278. package/dist/triggers.js +1 -1
  279. package/dist/{units-CJ76Jzvw.js → units-Bz3KAVba.js} +1 -1
  280. package/dist/{units-CXFC0OLO.cjs → units-Cq6pBqSd.cjs} +1 -1
  281. package/dist/video.cjs +1 -1
  282. package/dist/video.js +1 -1
  283. package/package.json +13 -15
  284. package/dist/LinePlot-D4V1ltNT.cjs +0 -24
  285. package/dist/Pack-CyaEXvnu.cjs +0 -1
  286. package/dist/Pack-DNCFnyuR.js +0 -140
  287. package/dist/Toggle-vgmhy8wZ.cjs +0 -163
  288. package/dist/Video-g30B90s-.cjs +0 -1
  289. package/dist/Video-jaT7Y97L.js +0 -14
  290. package/dist/aggregator-DX8ts24k.cjs +0 -77
  291. package/dist/external-BS9Bfsj3.cjs +0 -1
  292. package/dist/external-Bt_kX5KM.cjs +0 -1
  293. package/dist/external-CEcxrva2.js +0 -254
  294. package/dist/external-CMEDU76u.cjs +0 -1
  295. package/dist/external-CWincA61.cjs +0 -1
  296. package/dist/external-Dn4tpDVi.js +0 -32
  297. package/dist/external-Dtr4ZxR6.cjs +0 -1
  298. package/dist/external-IztUjYjX.cjs +0 -1
  299. package/dist/external-WZW4OBZx.js +0 -91
  300. package/dist/external-kAduhcvp.cjs +0 -1
  301. package/dist/jsx-runtime-DGh1k5sI.cjs +0 -31
@@ -1,10 +1,10 @@
1
- import { a7 as fe, aK as Le, aC as ke, aj as ve, aL as Te, ac as Ce, aM as Ne, ai as $e, aN as Fe, ad as je, aO as De, ae as Ke, aP as Ye, aQ as We, aR as ze, aS as He, aT as Ve, al as Ue, aU as Be, aV as Ge, a6 as Qe, aW as Xe, aX as Je, aY as Ze } from "./Toggle-DlYB4nmh.js";
2
- import { j as qe } from "./jsx-runtime-Dx-03ztt.js";
1
+ import { a7 as fe, aH as ke, aA as Le, aj as Te, aI as Ce, ac as $e, aJ as ve, ai as Fe, aK as Ne, ad as je, aL as Ke, ae as De, aM as We, aN as Ye, aO as ze, aP as He, aQ as Ve, al as Ue, aR as Be, aS as Ge, a6 as Je, aT as Qe, aU as Xe, aV as Ze } from "./Toggle-Bkpw4raJ.js";
2
+ import { j as qe } from "./jsx-runtime-Bdg6XQ1m.js";
3
3
  import { useCallback as et } from "react";
4
- import { x as tt, v as st } from "./aggregator-CWsCIyed.js";
5
- import "./css-Csw1Dn4s.js";
6
- import "./Pack-DNCFnyuR.js";
7
- const de = Symbol(), q = Symbol(), v = "a", $ = "w";
4
+ import { x as tt, v as st } from "./aggregator-BpyoaCoW.js";
5
+ import "./css-CxwKC6TD.js";
6
+ import "./Pack-meMPpnLE.js";
7
+ const de = Symbol(), q = Symbol(), T = "a", F = "w";
8
8
  let rt = (t, e) => new Proxy(t, e);
9
9
  const H = Object.getPrototypeOf, ne = /* @__PURE__ */ new WeakMap(), ee = (t) => t && (ne.has(t) ? ne.get(t) : H(t) === Object.prototype || H(t) === Array.prototype), ie = (t) => typeof t == "object" && t !== null, ce = /* @__PURE__ */ new WeakMap(), ge = (t) => t[q] || t, pe = (t, e, s) => {
10
10
  if (!ee(t)) return t;
@@ -15,14 +15,14 @@ const H = Object.getPrototypeOf, ne = /* @__PURE__ */ new WeakMap(), ee = (t) =>
15
15
  let h = !1;
16
16
  const l = (f, g) => {
17
17
  if (!h) {
18
- let p = a[v].get(c);
19
- if (p || (p = {}, a[v].set(c, p)), f === $) p[$] = !0;
18
+ let p = a[T].get(c);
19
+ if (p || (p = {}, a[T].set(c, p)), f === F) p[F] = !0;
20
20
  else {
21
21
  let m = p[f];
22
22
  m || (m = /* @__PURE__ */ new Set(), p[f] = m), m.add(g);
23
23
  }
24
24
  }
25
- }, u = { get: (f, g) => g === q ? c : (l("k", g), pe(Reflect.get(f, g), a[v], a.c)), has: (f, g) => g === de ? (h = !0, a[v].delete(c), !0) : (l("h", g), Reflect.has(f, g)), getOwnPropertyDescriptor: (f, g) => (l("o", g), Reflect.getOwnPropertyDescriptor(f, g)), ownKeys: (f) => (l($), Reflect.ownKeys(f)) };
25
+ }, u = { get: (f, g) => g === q ? c : (l("k", g), pe(Reflect.get(f, g), a[T], a.c)), has: (f, g) => g === de ? (h = !0, a[T].delete(c), !0) : (l("h", g), Reflect.has(f, g)), getOwnPropertyDescriptor: (f, g) => (l("o", g), Reflect.getOwnPropertyDescriptor(f, g)), ownKeys: (f) => (l(F), Reflect.ownKeys(f)) };
26
26
  return o && (u.set = u.deleteProperty = () => !1), [u, a];
27
27
  })(r, i), n[1].p = rt(i ? ((c) => {
28
28
  let o = ce.get(c);
@@ -37,7 +37,7 @@ const H = Object.getPrototypeOf, ne = /* @__PURE__ */ new WeakMap(), ee = (t) =>
37
37
  ce.set(c, o);
38
38
  }
39
39
  return o;
40
- })(r) : r, n[0]), s && s.set(r, n)), n[1][v] = e, n[1].c = s, n[1].p;
40
+ })(r) : r, n[0]), s && s.set(r, n)), n[1][T] = e, n[1].c = s, n[1].p;
41
41
  }, me = (t, e, s, r) => {
42
42
  if (Object.is(t, e)) return !1;
43
43
  if (!ie(t) || !ie(e)) return !0;
@@ -51,7 +51,7 @@ const H = Object.getPrototypeOf, ne = /* @__PURE__ */ new WeakMap(), ee = (t) =>
51
51
  let n = null;
52
52
  try {
53
53
  for (const c of i.h || []) if (n = Reflect.has(t, c) !== Reflect.has(e, c), n) return n;
54
- if (i[$] === !0) {
54
+ if (i[F] === !0) {
55
55
  if (n = ((c, o) => {
56
56
  const a = Reflect.ownKeys(c), h = Reflect.ownKeys(o);
57
57
  return a.length !== h.length || a.some((l, u) => l !== h[u]);
@@ -62,17 +62,17 @@ const H = Object.getPrototypeOf, ne = /* @__PURE__ */ new WeakMap(), ee = (t) =>
62
62
  } finally {
63
63
  r && r.set(t, { n: e, g: n });
64
64
  }
65
- }, nt = (t) => !!ee(t) && de in t, Me = (t) => ee(t) && t[q] || null, it = "h", ct = "w", ot = "o", at = "k", V = (t) => typeof t == "object" && t !== null, ye = (t, e) => {
65
+ }, nt = (t) => !!ee(t) && de in t, ye = (t) => ee(t) && t[q] || null, it = "h", ct = "w", ot = "o", at = "k", V = (t) => typeof t == "object" && t !== null, Me = (t, e) => {
66
66
  if (!V(t)) return t;
67
- const s = Me(t);
67
+ const s = ye(t);
68
68
  return s !== null ? (nt(t), s) : (e.has(t) || (e.add(t), Object.entries(t).forEach(([r, i]) => {
69
- const n = ye(i, e);
69
+ const n = Me(i, e);
70
70
  Object.is(n, i) || (t[r] = n);
71
71
  })), t);
72
72
  }, U = (t, e, s) => {
73
73
  var r, i, n;
74
74
  if (!V(t) || !V(e)) return;
75
- const c = s.get(Me(e) || e);
75
+ const c = s.get(ye(e) || e);
76
76
  c && ((r = c[it]) == null || r.forEach((o) => {
77
77
  Reflect.has(t, o);
78
78
  }), c[ct] === !0 && Reflect.ownKeys(t), (i = c[ot]) == null || i.forEach((o) => {
@@ -80,7 +80,7 @@ const H = Object.getPrototypeOf, ne = /* @__PURE__ */ new WeakMap(), ee = (t) =>
80
80
  }), (n = c[at]) == null || n.forEach((o) => {
81
81
  U(t[o], e[o], s);
82
82
  }));
83
- }, K = "o", Y = "r", W = "a";
83
+ }, D = "o", W = "r", Y = "a";
84
84
  function lt(t, e) {
85
85
  var s;
86
86
  let r = 0;
@@ -88,19 +88,19 @@ function lt(t, e) {
88
88
  return (a) => {
89
89
  const h = c == null ? void 0 : c.get(a);
90
90
  if (h)
91
- return h[Y];
91
+ return h[W];
92
92
  for (let p = 0; p < i; p += 1) {
93
93
  const m = n[(r + p) % i];
94
94
  if (!m) break;
95
- if (!me(m[K], a, m[W], /* @__PURE__ */ new WeakMap()))
96
- return U(a, m[K], m[W]), c == null || c.set(a, m), m[Y];
95
+ if (!me(m[D], a, m[Y], /* @__PURE__ */ new WeakMap()))
96
+ return U(a, m[D], m[Y]), c == null || c.set(a, m), m[W];
97
97
  }
98
- const l = /* @__PURE__ */ new WeakMap(), u = pe(a, l), f = ye(t(u), /* @__PURE__ */ new Set());
98
+ const l = /* @__PURE__ */ new WeakMap(), u = pe(a, l), f = Me(t(u), /* @__PURE__ */ new Set());
99
99
  U(a, a, l);
100
100
  const g = {
101
- [K]: a,
102
- [Y]: f,
103
- [W]: l
101
+ [D]: a,
102
+ [W]: f,
103
+ [Y]: l
104
104
  };
105
105
  return r = (r - 1 + i) % i, n[r] = g, c == null || c.set(a, g), f;
106
106
  };
@@ -109,32 +109,31 @@ const ht = (t, e) => tt.RUNTIME === "browser" ? lt(t, e) : t;
109
109
  function x(t) {
110
110
  return Array.isArray ? Array.isArray(t) : Se(t) === "[object Array]";
111
111
  }
112
- const ut = 1 / 0;
113
- function ft(t) {
112
+ function ut(t) {
114
113
  if (typeof t == "string")
115
114
  return t;
116
115
  let e = t + "";
117
- return e == "0" && 1 / t == -ut ? "-0" : e;
116
+ return e == "0" && 1 / t == -1 / 0 ? "-0" : e;
118
117
  }
119
- function dt(t) {
120
- return t == null ? "" : ft(t);
118
+ function ft(t) {
119
+ return t == null ? "" : ut(t);
121
120
  }
122
- function _(t) {
121
+ function E(t) {
123
122
  return typeof t == "string";
124
123
  }
125
- function Ee(t) {
124
+ function _e(t) {
126
125
  return typeof t == "number";
127
126
  }
128
- function gt(t) {
129
- return t === !0 || t === !1 || pt(t) && Se(t) == "[object Boolean]";
127
+ function dt(t) {
128
+ return t === !0 || t === !1 || gt(t) && Se(t) == "[object Boolean]";
130
129
  }
131
- function _e(t) {
130
+ function Ee(t) {
132
131
  return typeof t == "object";
133
132
  }
134
- function pt(t) {
135
- return _e(t) && t !== null;
133
+ function gt(t) {
134
+ return Ee(t) && t !== null;
136
135
  }
137
- function M(t) {
136
+ function y(t) {
138
137
  return t != null;
139
138
  }
140
139
  function z(t) {
@@ -143,8 +142,8 @@ function z(t) {
143
142
  function Se(t) {
144
143
  return t == null ? t === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(t);
145
144
  }
146
- const mt = "Incorrect 'index' type", Mt = (t) => `Invalid value for key ${t}`, yt = (t) => `Pattern length exceeds max of ${t}.`, Et = (t) => `Missing ${t} property in key`, _t = (t) => `Property 'weight' in key '${t}' must be a positive integer`, oe = Object.prototype.hasOwnProperty;
147
- class St {
145
+ const pt = "Incorrect 'index' type", mt = (t) => `Invalid value for key ${t}`, yt = (t) => `Pattern length exceeds max of ${t}.`, Mt = (t) => `Missing ${t} property in key`, _t = (t) => `Property 'weight' in key '${t}' must be a positive integer`, oe = Object.prototype.hasOwnProperty;
146
+ class Et {
148
147
  constructor(e) {
149
148
  this._keys = [], this._keyMap = {};
150
149
  let s = 0;
@@ -167,11 +166,11 @@ class St {
167
166
  }
168
167
  function xe(t) {
169
168
  let e = null, s = null, r = null, i = 1, n = null;
170
- if (_(t) || x(t))
169
+ if (E(t) || x(t))
171
170
  r = t, e = ae(t), s = B(t);
172
171
  else {
173
172
  if (!oe.call(t, "name"))
174
- throw new Error(Et("name"));
173
+ throw new Error(Mt("name"));
175
174
  const c = t.name;
176
175
  if (r = c, oe.call(t, "weight") && (i = t.weight, i <= 0))
177
176
  throw new Error(_t(c));
@@ -185,19 +184,19 @@ function ae(t) {
185
184
  function B(t) {
186
185
  return x(t) ? t.join(".") : t;
187
186
  }
188
- function xt(t, e) {
187
+ function St(t, e) {
189
188
  let s = [], r = !1;
190
189
  const i = (n, c, o) => {
191
- if (M(n))
190
+ if (y(n))
192
191
  if (!c[o])
193
192
  s.push(n);
194
193
  else {
195
194
  let a = c[o];
196
195
  const h = n[a];
197
- if (!M(h))
196
+ if (!y(h))
198
197
  return;
199
- if (o === c.length - 1 && (_(h) || Ee(h) || gt(h)))
200
- s.push(dt(h));
198
+ if (o === c.length - 1 && (E(h) || _e(h) || dt(h)))
199
+ s.push(ft(h));
201
200
  else if (x(h)) {
202
201
  r = !0;
203
202
  for (let l = 0, u = h.length; l < u; l += 1)
@@ -205,9 +204,9 @@ function xt(t, e) {
205
204
  } else c.length && i(h, c, o + 1);
206
205
  }
207
206
  };
208
- return i(t, _(e) ? e.split(".") : e, 0), r ? s : s[0];
207
+ return i(t, E(e) ? e.split(".") : e, 0), r ? s : s[0];
209
208
  }
210
- const Rt = {
209
+ const xt = {
211
210
  // Whether the matches should be included in the result set. When `true`, each record in the result
212
211
  // set will include the indices of the matched characters.
213
212
  // These can consequently be used for highlighting purposes.
@@ -217,7 +216,7 @@ const Rt = {
217
216
  findAllMatches: !1,
218
217
  // Minimum number of characters that must be matched before a result is considered a match
219
218
  minMatchCharLength: 1
220
- }, Ot = {
219
+ }, Rt = {
221
220
  // When `true`, the algorithm continues searching to the end of the input even if a perfect
222
221
  // match is found before the end of the same input.
223
222
  isCaseSensitive: !1,
@@ -229,7 +228,7 @@ const Rt = {
229
228
  shouldSort: !0,
230
229
  // Default sort function: sort by ascending score, ascending index
231
230
  sortFn: (t, e) => t.score === e.score ? t.idx < e.idx ? -1 : 1 : t.score < e.score ? -1 : 1
232
- }, wt = {
231
+ }, Ot = {
233
232
  // Approximately where in the text is the pattern expected to be found?
234
233
  location: 0,
235
234
  // At what point does the match algorithm give up. A threshold of '0.0' requires a perfect match
@@ -241,12 +240,12 @@ const Rt = {
241
240
  // the exact location specified, a threshold of '1000' would require a perfect match
242
241
  // to be within 800 characters of the fuzzy location to be found using a 0.8 threshold.
243
242
  distance: 100
244
- }, It = {
243
+ }, wt = {
245
244
  // When `true`, it enables the use of unix-like search commands
246
245
  useExtendedSearch: !1,
247
246
  // The get function to use when fetching an object's properties.
248
247
  // The default will search nested paths *ie foo.bar.baz*
249
- getFn: xt,
248
+ getFn: St,
250
249
  // When `true`, search will ignore `location` and `distance`, so it won't matter
251
250
  // where in the string the pattern appears.
252
251
  // More info: https://fusejs.io/concepts/scoring-theory.html#fuzziness-score
@@ -259,17 +258,17 @@ const Rt = {
259
258
  fieldNormWeight: 1
260
259
  };
261
260
  var d = {
262
- ...Ot,
263
261
  ...Rt,
264
- ...wt,
265
- ...It
262
+ ...xt,
263
+ ...Ot,
264
+ ...wt
266
265
  };
267
- const At = /[^ ]+/g;
266
+ const It = /[^ ]+/g;
268
267
  function bt(t = 1, e = 3) {
269
268
  const s = /* @__PURE__ */ new Map(), r = Math.pow(10, e);
270
269
  return {
271
270
  get(i) {
272
- const n = i.match(At).length;
271
+ const n = i.match(It).length;
273
272
  if (s.has(n))
274
273
  return s.get(n);
275
274
  const c = 1 / Math.pow(n, 0.5 * t), o = parseFloat(Math.round(c * r) / r);
@@ -299,7 +298,7 @@ class te {
299
298
  });
300
299
  }
301
300
  create() {
302
- this.isCreated || !this.docs.length || (this.isCreated = !0, _(this.docs[0]) ? this.docs.forEach((e, s) => {
301
+ this.isCreated || !this.docs.length || (this.isCreated = !0, E(this.docs[0]) ? this.docs.forEach((e, s) => {
303
302
  this._addString(e, s);
304
303
  }) : this.docs.forEach((e, s) => {
305
304
  this._addObject(e, s);
@@ -308,7 +307,7 @@ class te {
308
307
  // Adds a doc to the end of the index
309
308
  add(e) {
310
309
  const s = this.size();
311
- _(e) ? this._addString(e, s) : this._addObject(e, s);
310
+ E(e) ? this._addString(e, s) : this._addObject(e, s);
312
311
  }
313
312
  // Removes the doc at the specified index of the index
314
313
  removeAt(e) {
@@ -323,7 +322,7 @@ class te {
323
322
  return this.records.length;
324
323
  }
325
324
  _addString(e, s) {
326
- if (!M(e) || z(e))
325
+ if (!y(e) || z(e))
327
326
  return;
328
327
  let r = {
329
328
  v: e,
@@ -336,14 +335,14 @@ class te {
336
335
  let r = { i: s, $: {} };
337
336
  this.keys.forEach((i, n) => {
338
337
  let c = i.getFn ? i.getFn(e) : this.getFn(e, i.path);
339
- if (M(c)) {
338
+ if (y(c)) {
340
339
  if (x(c)) {
341
340
  let o = [];
342
341
  const a = [{ nestedArrIndex: -1, value: c }];
343
342
  for (; a.length; ) {
344
343
  const { nestedArrIndex: h, value: l } = a.pop();
345
- if (M(l))
346
- if (_(l) && !z(l)) {
344
+ if (y(l))
345
+ if (E(l) && !z(l)) {
347
346
  let u = {
348
347
  v: l,
349
348
  i: h,
@@ -358,7 +357,7 @@ class te {
358
357
  });
359
358
  }
360
359
  r.$[n] = o;
361
- } else if (_(c) && !z(c)) {
360
+ } else if (E(c) && !z(c)) {
362
361
  let o = {
363
362
  v: c,
364
363
  n: this.norm.get(c)
@@ -379,11 +378,11 @@ function Re(t, e, { getFn: s = d.getFn, fieldNormWeight: r = d.fieldNormWeight }
379
378
  const i = new te({ getFn: s, fieldNormWeight: r });
380
379
  return i.setKeys(t.map(xe)), i.setSources(e), i.create(), i;
381
380
  }
382
- function Pt(t, { getFn: e = d.getFn, fieldNormWeight: s = d.fieldNormWeight } = {}) {
381
+ function At(t, { getFn: e = d.getFn, fieldNormWeight: s = d.fieldNormWeight } = {}) {
383
382
  const { keys: r, records: i } = t, n = new te({ getFn: e, fieldNormWeight: s });
384
383
  return n.setKeys(r), n.setIndexRecords(i), n;
385
384
  }
386
- function N(t, {
385
+ function v(t, {
387
386
  errors: e = 0,
388
387
  currentLocation: s = 0,
389
388
  expectedLocation: r = 0,
@@ -396,7 +395,7 @@ function N(t, {
396
395
  const o = Math.abs(r - s);
397
396
  return i ? c + o / i : o ? 1 : c;
398
397
  }
399
- function Lt(t = [], e = d.minMatchCharLength) {
398
+ function Pt(t = [], e = d.minMatchCharLength) {
400
399
  let s = [], r = -1, i = -1, n = 0;
401
400
  for (let c = t.length; n < c; n += 1) {
402
401
  let o = t[n];
@@ -404,7 +403,7 @@ function Lt(t = [], e = d.minMatchCharLength) {
404
403
  }
405
404
  return t[n - 1] && n - r >= e && s.push([r, n - 1]), s;
406
405
  }
407
- const b = 32;
406
+ const A = 32;
408
407
  function kt(t, e, s, {
409
408
  location: r = d.location,
410
409
  distance: i = d.distance,
@@ -414,77 +413,77 @@ function kt(t, e, s, {
414
413
  includeMatches: a = d.includeMatches,
415
414
  ignoreLocation: h = d.ignoreLocation
416
415
  } = {}) {
417
- if (e.length > b)
418
- throw new Error(yt(b));
416
+ if (e.length > A)
417
+ throw new Error(yt(A));
419
418
  const l = e.length, u = t.length, f = Math.max(0, Math.min(r, u));
420
419
  let g = n, p = f;
421
420
  const m = o > 1 || a, I = m ? Array(u) : [];
422
421
  let S;
423
422
  for (; (S = t.indexOf(e, p)) > -1; ) {
424
- let y = N(e, {
423
+ let M = v(e, {
425
424
  currentLocation: S,
426
425
  expectedLocation: f,
427
426
  distance: i,
428
427
  ignoreLocation: h
429
428
  });
430
- if (g = Math.min(y, g), p = S + l, m) {
429
+ if (g = Math.min(M, g), p = S + l, m) {
431
430
  let R = 0;
432
431
  for (; R < l; )
433
432
  I[S + R] = 1, R += 1;
434
433
  }
435
434
  }
436
435
  p = -1;
437
- let P = [], A = 1, T = l + u;
436
+ let P = [], b = 1, C = l + u;
438
437
  const Pe = 1 << l - 1;
439
- for (let y = 0; y < l; y += 1) {
440
- let R = 0, O = T;
438
+ for (let M = 0; M < l; M += 1) {
439
+ let R = 0, O = C;
441
440
  for (; R < O; )
442
- N(e, {
443
- errors: y,
441
+ v(e, {
442
+ errors: M,
444
443
  currentLocation: f + O,
445
444
  expectedLocation: f,
446
445
  distance: i,
447
446
  ignoreLocation: h
448
- }) <= g ? R = O : T = O, O = Math.floor((T - R) / 2 + R);
449
- T = O;
450
- let se = Math.max(1, f - O + 1), D = c ? u : Math.min(f + O, u) + l, L = Array(D + 2);
451
- L[D + 1] = (1 << y) - 1;
452
- for (let E = D; E >= se; E -= 1) {
453
- let C = E - 1, re = s[t.charAt(C)];
454
- if (m && (I[C] = +!!re), L[E] = (L[E + 1] << 1 | 1) & re, y && (L[E] |= (P[E + 1] | P[E]) << 1 | 1 | P[E + 1]), L[E] & Pe && (A = N(e, {
455
- errors: y,
456
- currentLocation: C,
447
+ }) <= g ? R = O : C = O, O = Math.floor((C - R) / 2 + R);
448
+ C = O;
449
+ let se = Math.max(1, f - O + 1), K = c ? u : Math.min(f + O, u) + l, k = Array(K + 2);
450
+ k[K + 1] = (1 << M) - 1;
451
+ for (let _ = K; _ >= se; _ -= 1) {
452
+ let $ = _ - 1, re = s[t.charAt($)];
453
+ if (m && (I[$] = +!!re), k[_] = (k[_ + 1] << 1 | 1) & re, M && (k[_] |= (P[_ + 1] | P[_]) << 1 | 1 | P[_ + 1]), k[_] & Pe && (b = v(e, {
454
+ errors: M,
455
+ currentLocation: $,
457
456
  expectedLocation: f,
458
457
  distance: i,
459
458
  ignoreLocation: h
460
- }), A <= g)) {
461
- if (g = A, p = C, p <= f)
459
+ }), b <= g)) {
460
+ if (g = b, p = $, p <= f)
462
461
  break;
463
462
  se = Math.max(1, 2 * f - p);
464
463
  }
465
464
  }
466
- if (N(e, {
467
- errors: y + 1,
465
+ if (v(e, {
466
+ errors: M + 1,
468
467
  currentLocation: f,
469
468
  expectedLocation: f,
470
469
  distance: i,
471
470
  ignoreLocation: h
472
471
  }) > g)
473
472
  break;
474
- P = L;
473
+ P = k;
475
474
  }
476
475
  const j = {
477
476
  isMatch: p >= 0,
478
477
  // Count exact matches (those with a score of 0) to be "almost" exact
479
- score: Math.max(1e-3, A)
478
+ score: Math.max(1e-3, b)
480
479
  };
481
480
  if (m) {
482
- const y = Lt(I, o);
483
- y.length ? a && (j.indices = y) : j.isMatch = !1;
481
+ const M = Pt(I, o);
482
+ M.length ? a && (j.indices = M) : j.isMatch = !1;
484
483
  }
485
484
  return j;
486
485
  }
487
- function vt(t) {
486
+ function Lt(t) {
488
487
  let e = {};
489
488
  for (let s = 0, r = t.length; s < r; s += 1) {
490
489
  const i = t.charAt(s);
@@ -517,17 +516,17 @@ class Oe {
517
516
  const l = (f, g) => {
518
517
  this.chunks.push({
519
518
  pattern: f,
520
- alphabet: vt(f),
519
+ alphabet: Lt(f),
521
520
  startIndex: g
522
521
  });
523
522
  }, u = this.pattern.length;
524
- if (u > b) {
523
+ if (u > A) {
525
524
  let f = 0;
526
- const g = u % b, p = u - g;
525
+ const g = u % A, p = u - g;
527
526
  for (; f < p; )
528
- l(this.pattern.substr(f, b), f), f += b;
527
+ l(this.pattern.substr(f, A), f), f += A;
529
528
  if (g) {
530
- const m = u - b;
529
+ const m = u - A;
531
530
  l(this.pattern.substr(m), m);
532
531
  }
533
532
  } else
@@ -552,7 +551,7 @@ class Oe {
552
551
  } = this.options;
553
552
  let l = [], u = 0, f = !1;
554
553
  this.chunks.forEach(({ pattern: p, alphabet: m, startIndex: I }) => {
555
- const { isMatch: S, score: P, indices: A } = kt(e, p, m, {
554
+ const { isMatch: S, score: P, indices: b } = kt(e, p, m, {
556
555
  location: i + I,
557
556
  distance: n,
558
557
  threshold: c,
@@ -561,7 +560,7 @@ class Oe {
561
560
  includeMatches: r,
562
561
  ignoreLocation: h
563
562
  });
564
- S && (f = !0), u += P, S && A && (l = [...l, ...A]);
563
+ S && (f = !0), u += P, S && b && (l = [...l, ...b]);
565
564
  });
566
565
  let g = {
567
566
  isMatch: f,
@@ -631,7 +630,7 @@ class Ct extends w {
631
630
  };
632
631
  }
633
632
  }
634
- class Nt extends w {
633
+ class $t extends w {
635
634
  constructor(e) {
636
635
  super(e);
637
636
  }
@@ -653,7 +652,7 @@ class Nt extends w {
653
652
  };
654
653
  }
655
654
  }
656
- class $t extends w {
655
+ class vt extends w {
657
656
  constructor(e) {
658
657
  super(e);
659
658
  }
@@ -697,7 +696,7 @@ class Ft extends w {
697
696
  };
698
697
  }
699
698
  }
700
- class jt extends w {
699
+ class Nt extends w {
701
700
  constructor(e) {
702
701
  super(e);
703
702
  }
@@ -783,16 +782,16 @@ class Ie extends w {
783
782
  const G = [
784
783
  Tt,
785
784
  Ie,
786
- Nt,
787
785
  $t,
788
- jt,
786
+ vt,
787
+ Nt,
789
788
  Ft,
790
789
  Ct,
791
790
  we
792
- ], he = G.length, Dt = / +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/, Kt = "|";
793
- function Yt(t, e = {}) {
791
+ ], he = G.length, jt = / +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/, Kt = "|";
792
+ function Dt(t, e = {}) {
794
793
  return t.split(Kt).map((s) => {
795
- let r = s.trim().split(Dt).filter((n) => n && !!n.trim()), i = [];
794
+ let r = s.trim().split(jt).filter((n) => n && !!n.trim()), i = [];
796
795
  for (let n = 0, c = r.length; n < c; n += 1) {
797
796
  const o = r[n];
798
797
  let a = !1, h = -1;
@@ -815,7 +814,7 @@ function Yt(t, e = {}) {
815
814
  });
816
815
  }
817
816
  const Wt = /* @__PURE__ */ new Set([we.type, Ie.type]);
818
- class zt {
817
+ class Yt {
819
818
  constructor(e, {
820
819
  isCaseSensitive: s = d.isCaseSensitive,
821
820
  includeMatches: r = d.includeMatches,
@@ -835,7 +834,7 @@ class zt {
835
834
  location: o,
836
835
  threshold: a,
837
836
  distance: h
838
- }, this.pattern = s ? e : e.toLowerCase(), this.query = Yt(this.pattern, this.options);
837
+ }, this.pattern = s ? e : e.toLowerCase(), this.query = Dt(this.pattern, this.options);
839
838
  }
840
839
  static condition(e, s) {
841
840
  return s.useExtendedSearch;
@@ -879,44 +878,44 @@ class zt {
879
878
  };
880
879
  }
881
880
  }
882
- const Q = [];
883
- function Ht(...t) {
884
- Q.push(...t);
881
+ const J = [];
882
+ function zt(...t) {
883
+ J.push(...t);
885
884
  }
886
- function X(t, e) {
887
- for (let s = 0, r = Q.length; s < r; s += 1) {
888
- let i = Q[s];
885
+ function Q(t, e) {
886
+ for (let s = 0, r = J.length; s < r; s += 1) {
887
+ let i = J[s];
889
888
  if (i.condition(t, e))
890
889
  return new i(t, e);
891
890
  }
892
891
  return new Oe(t, e);
893
892
  }
894
- const F = {
893
+ const N = {
895
894
  AND: "$and",
896
895
  OR: "$or"
897
- }, J = {
896
+ }, X = {
898
897
  PATH: "$path",
899
898
  PATTERN: "$val"
900
- }, Z = (t) => !!(t[F.AND] || t[F.OR]), Vt = (t) => !!t[J.PATH], Ut = (t) => !x(t) && _e(t) && !Z(t), ue = (t) => ({
901
- [F.AND]: Object.keys(t).map((e) => ({
899
+ }, Z = (t) => !!(t[N.AND] || t[N.OR]), Ht = (t) => !!t[X.PATH], Vt = (t) => !x(t) && Ee(t) && !Z(t), ue = (t) => ({
900
+ [N.AND]: Object.keys(t).map((e) => ({
902
901
  [e]: t[e]
903
902
  }))
904
903
  });
905
- function Ae(t, e, { auto: s = !0 } = {}) {
904
+ function be(t, e, { auto: s = !0 } = {}) {
906
905
  const r = (i) => {
907
906
  let n = Object.keys(i);
908
- const c = Vt(i);
907
+ const c = Ht(i);
909
908
  if (!c && n.length > 1 && !Z(i))
910
909
  return r(ue(i));
911
- if (Ut(i)) {
912
- const a = c ? i[J.PATH] : n[0], h = c ? i[J.PATTERN] : i[a];
913
- if (!_(h))
914
- throw new Error(Mt(a));
910
+ if (Vt(i)) {
911
+ const a = c ? i[X.PATH] : n[0], h = c ? i[X.PATTERN] : i[a];
912
+ if (!E(h))
913
+ throw new Error(mt(a));
915
914
  const l = {
916
915
  keyId: B(a),
917
916
  pattern: h
918
917
  };
919
- return s && (l.searcher = X(h, e)), l;
918
+ return s && (l.searcher = Q(h, e)), l;
920
919
  }
921
920
  let o = {
922
921
  children: [],
@@ -931,7 +930,7 @@ function Ae(t, e, { auto: s = !0 } = {}) {
931
930
  };
932
931
  return Z(t) || (t = ue(t)), r(t);
933
932
  }
934
- function Bt(t, { ignoreFieldNorm: e = d.ignoreFieldNorm }) {
933
+ function Ut(t, { ignoreFieldNorm: e = d.ignoreFieldNorm }) {
935
934
  t.forEach((s) => {
936
935
  let r = 1;
937
936
  s.matches.forEach(({ key: i, norm: n, score: c }) => {
@@ -943,10 +942,10 @@ function Bt(t, { ignoreFieldNorm: e = d.ignoreFieldNorm }) {
943
942
  }), s.score = r;
944
943
  });
945
944
  }
946
- function Gt(t, e) {
945
+ function Bt(t, e) {
947
946
  const s = t.matches;
948
- e.matches = [], M(s) && s.forEach((r) => {
949
- if (!M(r.indices) || !r.indices.length)
947
+ e.matches = [], y(s) && s.forEach((r) => {
948
+ if (!y(r.indices) || !r.indices.length)
950
949
  return;
951
950
  const { indices: i, value: n } = r;
952
951
  let c = {
@@ -956,15 +955,15 @@ function Gt(t, e) {
956
955
  r.key && (c.key = r.key.src), r.idx > -1 && (c.refIndex = r.idx), e.matches.push(c);
957
956
  });
958
957
  }
959
- function Qt(t, e) {
958
+ function Gt(t, e) {
960
959
  e.score = t.score;
961
960
  }
962
- function Xt(t, e, {
961
+ function Jt(t, e, {
963
962
  includeMatches: s = d.includeMatches,
964
963
  includeScore: r = d.includeScore
965
964
  } = {}) {
966
965
  const i = [];
967
- return s && i.push(Gt), r && i.push(Qt), t.map((n) => {
966
+ return s && i.push(Bt), r && i.push(Gt), t.map((n) => {
968
967
  const { idx: c } = n, o = {
969
968
  item: e[c],
970
969
  refIndex: c
@@ -974,20 +973,20 @@ function Xt(t, e, {
974
973
  }), o;
975
974
  });
976
975
  }
977
- class k {
976
+ class L {
978
977
  constructor(e, s = {}, r) {
979
- this.options = { ...d, ...s }, this.options.useExtendedSearch, this._keyStore = new St(this.options.keys), this.setCollection(e, r);
978
+ this.options = { ...d, ...s }, this.options.useExtendedSearch, this._keyStore = new Et(this.options.keys), this.setCollection(e, r);
980
979
  }
981
980
  setCollection(e, s) {
982
981
  if (this._docs = e, s && !(s instanceof te))
983
- throw new Error(mt);
982
+ throw new Error(pt);
984
983
  this._myIndex = s || Re(this.options.keys, this._docs, {
985
984
  getFn: this.options.getFn,
986
985
  fieldNormWeight: this.options.fieldNormWeight
987
986
  });
988
987
  }
989
988
  add(e) {
990
- M(e) && (this._docs.push(e), this._myIndex.add(e));
989
+ y(e) && (this._docs.push(e), this._myIndex.add(e));
991
990
  }
992
991
  remove(e = () => !1) {
993
992
  const s = [];
@@ -1011,16 +1010,16 @@ class k {
1011
1010
  sortFn: c,
1012
1011
  ignoreFieldNorm: o
1013
1012
  } = this.options;
1014
- let a = _(e) ? _(this._docs[0]) ? this._searchStringList(e) : this._searchObjectList(e) : this._searchLogical(e);
1015
- return Bt(a, { ignoreFieldNorm: o }), n && a.sort(c), Ee(s) && s > -1 && (a = a.slice(0, s)), Xt(a, this._docs, {
1013
+ let a = E(e) ? E(this._docs[0]) ? this._searchStringList(e) : this._searchObjectList(e) : this._searchLogical(e);
1014
+ return Ut(a, { ignoreFieldNorm: o }), n && a.sort(c), _e(s) && s > -1 && (a = a.slice(0, s)), Jt(a, this._docs, {
1016
1015
  includeMatches: r,
1017
1016
  includeScore: i
1018
1017
  });
1019
1018
  }
1020
1019
  _searchStringList(e) {
1021
- const s = X(e, this.options), { records: r } = this._myIndex, i = [];
1020
+ const s = Q(e, this.options), { records: r } = this._myIndex, i = [];
1022
1021
  return r.forEach(({ v: n, i: c, n: o }) => {
1023
- if (!M(n))
1022
+ if (!y(n))
1024
1023
  return;
1025
1024
  const { isMatch: a, score: h, indices: l } = s.searchIn(n);
1026
1025
  a && i.push({
@@ -1031,7 +1030,7 @@ class k {
1031
1030
  }), i;
1032
1031
  }
1033
1032
  _searchLogical(e) {
1034
- const s = Ae(e, this.options), r = (o, a, h) => {
1033
+ const s = be(e, this.options), r = (o, a, h) => {
1035
1034
  if (!o.children) {
1036
1035
  const { keyId: u, searcher: f } = o, g = this._findMatches({
1037
1036
  key: this._keyStore.get(u),
@@ -1051,13 +1050,13 @@ class k {
1051
1050
  const g = o.children[u], p = r(g, a, h);
1052
1051
  if (p.length)
1053
1052
  l.push(...p);
1054
- else if (o.operator === F.AND)
1053
+ else if (o.operator === N.AND)
1055
1054
  return [];
1056
1055
  }
1057
1056
  return l;
1058
1057
  }, i = this._myIndex.records, n = {}, c = [];
1059
1058
  return i.forEach(({ $: o, i: a }) => {
1060
- if (M(o)) {
1059
+ if (y(o)) {
1061
1060
  let h = r(s, o, a);
1062
1061
  h.length && (n[a] || (n[a] = { idx: a, item: o, matches: [] }, c.push(n[a])), h.forEach(({ matches: l }) => {
1063
1062
  n[a].matches.push(...l);
@@ -1066,9 +1065,9 @@ class k {
1066
1065
  }), c;
1067
1066
  }
1068
1067
  _searchObjectList(e) {
1069
- const s = X(e, this.options), { keys: r, records: i } = this._myIndex, n = [];
1068
+ const s = Q(e, this.options), { keys: r, records: i } = this._myIndex, n = [];
1070
1069
  return i.forEach(({ $: c, i: o }) => {
1071
- if (!M(c))
1070
+ if (!y(c))
1072
1071
  return;
1073
1072
  let a = [];
1074
1073
  r.forEach((h, l) => {
@@ -1087,12 +1086,12 @@ class k {
1087
1086
  }), n;
1088
1087
  }
1089
1088
  _findMatches({ key: e, value: s, searcher: r }) {
1090
- if (!M(s))
1089
+ if (!y(s))
1091
1090
  return [];
1092
1091
  let i = [];
1093
1092
  if (x(s))
1094
1093
  s.forEach(({ v: n, i: c, n: o }) => {
1095
- if (!M(n))
1094
+ if (!y(n))
1096
1095
  return;
1097
1096
  const { isMatch: a, score: h, indices: l } = r.searchIn(n);
1098
1097
  a && i.push({
@@ -1111,18 +1110,18 @@ class k {
1111
1110
  return i;
1112
1111
  }
1113
1112
  }
1114
- k.version = "7.0.0";
1115
- k.createIndex = Re;
1116
- k.parseIndex = Pt;
1117
- k.config = d;
1118
- k.parseQuery = Ae;
1119
- Ht(zt);
1120
- const Jt = {
1113
+ L.version = "7.0.0";
1114
+ L.createIndex = Re;
1115
+ L.parseIndex = At;
1116
+ L.config = d;
1117
+ L.parseQuery = be;
1118
+ zt(Yt);
1119
+ const Qt = {
1121
1120
  threshold: 0.3
1122
- }, Zt = (t) => (e) => {
1123
- const s = new k(e, {
1121
+ }, Xt = (t) => (e) => {
1122
+ const s = new L(e, {
1124
1123
  keys: Object.keys(e[0]),
1125
- ...Jt,
1124
+ ...Qt,
1126
1125
  ...t
1127
1126
  });
1128
1127
  return {
@@ -1131,10 +1130,10 @@ const Jt = {
1131
1130
  search: (r) => s.search(r).map(({ item: i }) => i),
1132
1131
  retrieve: (r) => e.filter((i) => r.includes(i.key))
1133
1132
  };
1134
- }, qt = Zt(), es = ({
1133
+ }, Zt = Xt(), qt = ({
1135
1134
  term: t,
1136
- searcher: e = qt
1137
- }) => ht(({ data: s }) => typeof e == "function" ? t.length === 0 || (s == null ? void 0 : s.length) === 0 ? { data: s, transformed: !1 } : { data: e(s).search(t), transformed: !0 } : { data: e.search(t), transformed: !0 }), be = ({
1135
+ searcher: e = Zt
1136
+ }) => ht(({ data: s }) => typeof e == "function" ? t.length === 0 || (s == null ? void 0 : s.length) === 0 ? { data: s, transformed: !1 } : { data: e(s).search(t), transformed: !0 } : { data: e.search(t), transformed: !0 }), Ae = ({
1138
1137
  debounce: t = 250,
1139
1138
  value: e,
1140
1139
  onChange: s,
@@ -1144,47 +1143,47 @@ const Jt = {
1144
1143
  onChange: s,
1145
1144
  value: e,
1146
1145
  initial: ""
1147
- }), { setTransform: c, deleteTransform: o } = fe(), a = Le(c, t, []), h = et(
1146
+ }), { setTransform: c, deleteTransform: o } = fe(), a = ke(c, t, []), h = et(
1148
1147
  (l) => {
1149
- n(l), l.length === 0 ? o("filter") : (r != null && (l = r(l)), a("filter", es({ term: l })));
1148
+ n(l), l.length === 0 ? o("filter") : (r != null && (l = r(l)), a("filter", qt({ term: l })));
1150
1149
  },
1151
1150
  [n, r]
1152
1151
  );
1153
1152
  return { value: i, onChange: h };
1154
- }, ts = ({
1155
- children: t = (s) => /* @__PURE__ */ qe.jsx(ke, { placeholder: "Filter", ...s }),
1153
+ }, es = ({
1154
+ children: t = (s) => /* @__PURE__ */ qe.jsx(Le, { placeholder: "Filter", ...s }),
1156
1155
  ...e
1157
- }) => t(be(e)), ls = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1156
+ }) => t(Ae(e)), as = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1158
1157
  __proto__: null,
1159
- Column: ve,
1160
- ColumnContext: Te,
1161
- Core: Ce,
1162
- DataProvider: Ne,
1163
- Filter: ts,
1164
- Hover: $e,
1165
- ItemFrame: Fe,
1158
+ Column: Te,
1159
+ ColumnContext: Ce,
1160
+ Core: $e,
1161
+ DataProvider: ve,
1162
+ Filter: es,
1163
+ Hover: Fe,
1164
+ ItemFrame: Ne,
1166
1165
  List: je,
1167
- Search: De,
1168
- Selector: Ke,
1169
- selectValueIsZero: Ye,
1170
- useDataContext: We,
1166
+ Search: Ke,
1167
+ Selector: De,
1168
+ selectValueIsZero: We,
1169
+ useDataContext: Ye,
1171
1170
  useDataUtilContext: fe,
1172
- useFilter: be,
1171
+ useFilter: Ae,
1173
1172
  useGetTransformedData: ze,
1174
1173
  useHoverContext: He,
1175
1174
  useSearch: Ve,
1176
1175
  useSelect: Ue,
1177
1176
  useSelection: Be,
1178
1177
  useSelectionContext: Ge,
1179
- useSelectionUtils: Qe,
1180
- useSetSourceData: Xe,
1181
- useSourceData: Je,
1178
+ useSelectionUtils: Je,
1179
+ useSetSourceData: Qe,
1180
+ useSourceData: Xe,
1182
1181
  useTransformedData: Ze
1183
1182
  }, Symbol.toStringTag, { value: "Module" }));
1184
1183
  export {
1185
- ts as F,
1186
- es as c,
1187
- ls as e,
1188
- Zt as f,
1184
+ es as F,
1185
+ qt as c,
1186
+ as as e,
1187
+ Xt as f,
1189
1188
  ht as p
1190
1189
  };