@manafishrov/ui 1.5.8 → 1.5.10

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 (268) hide show
  1. package/dist/Locale.js +1 -1
  2. package/dist/components/Accordion.js +2 -2
  3. package/dist/components/AlertDialog.js +2 -2
  4. package/dist/components/AspectRatio.js +1 -1
  5. package/dist/components/Avatar.js +2 -2
  6. package/dist/components/Badge.js +1 -1
  7. package/dist/components/Breadcrumb.js +1 -1
  8. package/dist/components/Button.js +1 -1
  9. package/dist/components/Card.js +1 -1
  10. package/dist/components/Carousel.js +2 -2
  11. package/dist/components/Checkbox.js +2 -2
  12. package/dist/components/Collapsible.js +2 -2
  13. package/dist/components/Combobox.js +2 -2
  14. package/dist/components/DatePicker.js +2 -2
  15. package/dist/components/Dialog.js +2 -2
  16. package/dist/components/Empty.js +1 -1
  17. package/dist/components/Field.js +3 -3
  18. package/dist/components/HoverCard.js +2 -2
  19. package/dist/components/InputGroup.js +1 -1
  20. package/dist/components/Item.js +1 -1
  21. package/dist/components/Kbd.js +1 -1
  22. package/dist/components/Link.js +1 -1
  23. package/dist/components/Menu.js +2 -2
  24. package/dist/components/MenuCombobox.js +2 -2
  25. package/dist/components/MenuComboboxList.js +3 -3
  26. package/dist/components/MenuComboboxList.js.map +1 -1
  27. package/dist/components/NavigationMenu.js +2 -2
  28. package/dist/components/NumberInput.js +2 -2
  29. package/dist/components/Pagination.js +2 -2
  30. package/dist/components/PasswordInput.js +2 -2
  31. package/dist/components/PinInput.js +2 -2
  32. package/dist/components/Popover.js +2 -2
  33. package/dist/components/Progress.js +2 -2
  34. package/dist/components/RadioGroup.js +2 -2
  35. package/dist/components/ScrollArea.js +2 -2
  36. package/dist/components/Select.js +2 -2
  37. package/dist/components/Separator.js +1 -1
  38. package/dist/components/Sheet.js +2 -2
  39. package/dist/components/Skeleton.js +1 -1
  40. package/dist/components/Slider.js +3 -3
  41. package/dist/components/Spinner.js +1 -1
  42. package/dist/components/Splitter.js +2 -2
  43. package/dist/components/Swap.js +2 -2
  44. package/dist/components/Switch.js +2 -2
  45. package/dist/components/Table.js +1 -1
  46. package/dist/components/Tabs.js +2 -2
  47. package/dist/components/TagsInput.js +2 -2
  48. package/dist/components/TextInput.js +2 -2
  49. package/dist/components/Toggle.js +3 -3
  50. package/dist/components/Tooltip.js +2 -2
  51. package/dist/components/TreeView.js +3 -3
  52. package/dist/components/Typography.js +1 -1
  53. package/dist/components/form/AutoSubmit.js +1 -1
  54. package/dist/components/form/AutoSubmit.js.map +1 -1
  55. package/dist/components/form/Form.js +1 -1
  56. package/dist/components/marquee/Marquee.js +2 -2
  57. package/dist/components/sidebar/SidebarDesktop.js +1 -1
  58. package/dist/components/sidebar/SidebarMenu.js +2 -2
  59. package/dist/components/sidebar/SidebarProvider.js +1 -1
  60. package/dist/components/sidebar/SidebarSubComponents.js +1 -1
  61. package/dist/components/sidebar/utils.js +10 -6
  62. package/dist/components/sidebar/utils.js.map +1 -1
  63. package/dist/components/toaster/Toaster.js +2 -2
  64. package/dist/index.js +11 -11
  65. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/24WXBTEA.js +1 -1
  66. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/24WXBTEA.js.map +1 -1
  67. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/262SJY3P.js +1 -1
  68. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/262SJY3P.js.map +1 -1
  69. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/4YNGVMW2.js +1 -1
  70. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/4YNGVMW2.js.map +1 -1
  71. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/5BSMJBO7.js +2 -2
  72. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/5BSMJBO7.js.map +1 -1
  73. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/6P2AQNUE.js +1 -1
  74. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/6P2AQNUE.js.map +1 -1
  75. package/dist/node_modules/.bun/@ark-ui_solid@5.37.1_ee58d66d663bac7b/node_modules/@ark-ui/solid/dist/chunk/6WEDGJKQ.js +7 -0
  76. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/6WEDGJKQ.js.map +1 -1
  77. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/7CKWCVWS.js +2 -2
  78. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/7CKWCVWS.js.map +1 -1
  79. package/dist/node_modules/.bun/@ark-ui_solid@5.37.1_ee58d66d663bac7b/node_modules/@ark-ui/solid/dist/chunk/7IUG3E2V.js +11 -0
  80. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/7IUG3E2V.js.map +1 -1
  81. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/7TJ23CV6.js +4 -4
  82. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/7TJ23CV6.js.map +1 -1
  83. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/7ZWSMUDG.js +4 -4
  84. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/7ZWSMUDG.js.map +1 -1
  85. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/ABFLCPUB.js +4 -4
  86. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/ABFLCPUB.js.map +1 -1
  87. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/ACLCLMIV.js +4 -4
  88. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/ACLCLMIV.js.map +1 -1
  89. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/B4FK2JQ2.js +4 -4
  90. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/B4FK2JQ2.js.map +1 -1
  91. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/BRHQTJMC.js +1 -1
  92. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/BRHQTJMC.js.map +1 -1
  93. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/BYLUEJKC.js +1 -1
  94. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/BYLUEJKC.js.map +1 -1
  95. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/DK7UDQTF.js +1 -1
  96. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/DK7UDQTF.js.map +1 -1
  97. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/EFII6TXL.js +2 -2
  98. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/EFII6TXL.js.map +1 -1
  99. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/EIL4Q3B2.js +4 -4
  100. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/EIL4Q3B2.js.map +1 -1
  101. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/EQKTJ63X.js +1 -1
  102. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/EQKTJ63X.js.map +1 -1
  103. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/F42QOCL3.js +1 -1
  104. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/F42QOCL3.js.map +1 -1
  105. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/FDUCX4MC.js +4 -4
  106. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/FDUCX4MC.js.map +1 -1
  107. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/GQGTRTK7.js +4 -4
  108. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/GQGTRTK7.js.map +1 -1
  109. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/GSOOONDM.js +4 -4
  110. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/GSOOONDM.js.map +1 -1
  111. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/GYKEGNPI.js +4 -4
  112. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/GYKEGNPI.js.map +1 -1
  113. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/HDGILMRT.js +1 -1
  114. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/HDGILMRT.js.map +1 -1
  115. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/HOPBYFHD.js +1 -1
  116. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/HOPBYFHD.js.map +1 -1
  117. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/HRY5AU2J.js +2 -2
  118. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/HRY5AU2J.js.map +1 -1
  119. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/JCNWK3IN.js +1 -1
  120. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/JCNWK3IN.js.map +1 -1
  121. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/JFFM62IG.js +4 -4
  122. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/JFFM62IG.js.map +1 -1
  123. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/KD4YD745.js +4 -4
  124. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/KD4YD745.js.map +1 -1
  125. package/dist/node_modules/.bun/@ark-ui_solid@5.37.1_ee58d66d663bac7b/node_modules/@ark-ui/solid/dist/chunk/KGOB2IMX.js +6 -0
  126. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/KGOB2IMX.js.map +1 -1
  127. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/KNU3M6A2.js +4 -4
  128. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/KNU3M6A2.js.map +1 -1
  129. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/LESIO3YG.js +4 -4
  130. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/LESIO3YG.js.map +1 -1
  131. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/LXG74MYL.js +1 -1
  132. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/LXG74MYL.js.map +1 -1
  133. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/M2R7NELL.js +4 -4
  134. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/M2R7NELL.js.map +1 -1
  135. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/MGY733CD.js +4 -4
  136. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/MGY733CD.js.map +1 -1
  137. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/MLPK6MO2.js +4 -4
  138. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/MLPK6MO2.js.map +1 -1
  139. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/MPLFL3UT.js +4 -4
  140. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/MPLFL3UT.js.map +1 -1
  141. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/MU5CM6ZP.js +4 -4
  142. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/MU5CM6ZP.js.map +1 -1
  143. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/NCE6DH5U.js +4 -4
  144. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/NCE6DH5U.js.map +1 -1
  145. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/NEU4F4NG.js +2 -2
  146. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/NEU4F4NG.js.map +1 -1
  147. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/OEGORBLT.js +3 -3
  148. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/OEGORBLT.js.map +1 -1
  149. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/OWH3LOUE.js +1 -1
  150. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/OWH3LOUE.js.map +1 -1
  151. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/PT2CJE3O.js +1 -1
  152. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/PT2CJE3O.js.map +1 -1
  153. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/RKHQFO6B.js +4 -4
  154. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/RKHQFO6B.js.map +1 -1
  155. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/T7LMRH7K.js +1 -1
  156. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/T7LMRH7K.js.map +1 -1
  157. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/TD72MSSI.js +4 -4
  158. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/TD72MSSI.js.map +1 -1
  159. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/TG3BV4FJ.js +5 -5
  160. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/TG3BV4FJ.js.map +1 -1
  161. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/TPQNIWB6.js +4 -4
  162. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/TPQNIWB6.js.map +1 -1
  163. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/TPTP4FRI.js +4 -4
  164. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/TPTP4FRI.js.map +1 -1
  165. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/UFYZ7HLU.js +2 -2
  166. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/UFYZ7HLU.js.map +1 -1
  167. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/UZJJWJQM.js +1 -1
  168. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/UZJJWJQM.js.map +1 -1
  169. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/VNMGX67M.js +1 -1
  170. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/VNMGX67M.js.map +1 -1
  171. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/VQPWR4W5.js +1 -1
  172. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/VQPWR4W5.js.map +1 -1
  173. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/WZBYH43M.js +4 -4
  174. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/WZBYH43M.js.map +1 -1
  175. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/X4OUYL6X.js +4 -4
  176. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/X4OUYL6X.js.map +1 -1
  177. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/XRMLYMEN.js +4 -4
  178. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/XRMLYMEN.js.map +1 -1
  179. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/XVU3GCCX.js +1 -1
  180. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/XVU3GCCX.js.map +1 -1
  181. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/YW4KS3S5.js +4 -4
  182. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/YW4KS3S5.js.map +1 -1
  183. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/ZJ6ILZ5N.js +4 -4
  184. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/ZJ6ILZ5N.js.map +1 -1
  185. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/ZOCG4ZHL.js +4 -4
  186. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/chunk/ZOCG4ZHL.js.map +1 -1
  187. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/components/navigation-menu/index.js +4 -4
  188. package/dist/node_modules/.bun/{@ark-ui_solid@5.37.1_da624007e3df32b4 → @ark-ui_solid@5.37.1_ee58d66d663bac7b}/node_modules/@ark-ui/solid/dist/components/navigation-menu/index.js.map +1 -1
  189. package/dist/node_modules/.bun/{@floating-ui_core@1.7.5 → @floating-ui_core@1.8.0}/node_modules/@floating-ui/core/dist/floating-ui.core.js +30 -50
  190. package/dist/node_modules/.bun/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
  191. package/dist/node_modules/.bun/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +324 -0
  192. package/dist/node_modules/.bun/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
  193. package/dist/node_modules/.bun/{@floating-ui_utils@0.2.11 → @floating-ui_utils@0.2.12}/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +2 -2
  194. package/dist/node_modules/.bun/{@floating-ui_utils@0.2.11 → @floating-ui_utils@0.2.12}/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -1
  195. package/dist/node_modules/.bun/{@floating-ui_utils@0.2.11 → @floating-ui_utils@0.2.12}/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +5 -6
  196. package/dist/node_modules/.bun/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
  197. package/dist/node_modules/.bun/{@solid-primitives_keyed@1.5.3_da624007e3df32b4 → @solid-primitives_keyed@1.5.3_ee58d66d663bac7b}/node_modules/@solid-primitives/keyed/dist/index.js +1 -1
  198. package/dist/node_modules/.bun/{@solid-primitives_keyed@1.5.3_da624007e3df32b4 → @solid-primitives_keyed@1.5.3_ee58d66d663bac7b}/node_modules/@solid-primitives/keyed/dist/index.js.map +1 -1
  199. package/dist/node_modules/.bun/@zag-js_checkbox@1.41.2/node_modules/@zag-js/checkbox/dist/checkbox.machine.js +1 -1
  200. package/dist/node_modules/.bun/@zag-js_checkbox@1.41.2/node_modules/@zag-js/checkbox/dist/checkbox.machine.js.map +1 -1
  201. package/dist/node_modules/.bun/@zag-js_collection@1.41.2/node_modules/@zag-js/collection/dist/list-collection.js +2 -2
  202. package/dist/node_modules/.bun/@zag-js_collection@1.41.2/node_modules/@zag-js/collection/dist/list-collection.js.map +1 -1
  203. package/dist/node_modules/.bun/@zag-js_combobox@1.41.2/node_modules/@zag-js/combobox/dist/combobox.machine.js +1 -1
  204. package/dist/node_modules/.bun/@zag-js_combobox@1.41.2/node_modules/@zag-js/combobox/dist/combobox.machine.js.map +1 -1
  205. package/dist/node_modules/.bun/@zag-js_date-utils@1.41.2_3f114a46406f1e64/node_modules/@zag-js/date-utils/dist/locale.js +1 -1
  206. package/dist/node_modules/.bun/@zag-js_date-utils@1.41.2_3f114a46406f1e64/node_modules/@zag-js/date-utils/dist/locale.js.map +1 -1
  207. package/dist/node_modules/.bun/@zag-js_dialog@1.41.2/node_modules/@zag-js/dialog/dist/dialog.connect.js +1 -1
  208. package/dist/node_modules/.bun/@zag-js_dialog@1.41.2/node_modules/@zag-js/dialog/dist/dialog.connect.js.map +1 -1
  209. package/dist/node_modules/.bun/@zag-js_dialog@1.41.2/node_modules/@zag-js/dialog/dist/dialog.machine.js +1 -1
  210. package/dist/node_modules/.bun/@zag-js_dialog@1.41.2/node_modules/@zag-js/dialog/dist/dialog.machine.js.map +1 -1
  211. package/dist/node_modules/.bun/@zag-js_focus-trap@1.41.2/node_modules/@zag-js/focus-trap/dist/focus-trap.js +3 -3
  212. package/dist/node_modules/.bun/@zag-js_focus-trap@1.41.2/node_modules/@zag-js/focus-trap/dist/focus-trap.js.map +1 -1
  213. package/dist/node_modules/.bun/@zag-js_hover-card@1.41.2/node_modules/@zag-js/hover-card/dist/hover-card.connect.js +1 -1
  214. package/dist/node_modules/.bun/@zag-js_hover-card@1.41.2/node_modules/@zag-js/hover-card/dist/hover-card.connect.js.map +1 -1
  215. package/dist/node_modules/.bun/@zag-js_menu@1.41.2/node_modules/@zag-js/menu/dist/menu.connect.js +2 -2
  216. package/dist/node_modules/.bun/@zag-js_menu@1.41.2/node_modules/@zag-js/menu/dist/menu.connect.js.map +1 -1
  217. package/dist/node_modules/.bun/@zag-js_pin-input@1.41.2/node_modules/@zag-js/pin-input/dist/pin-input.utils.js +1 -1
  218. package/dist/node_modules/.bun/@zag-js_pin-input@1.41.2/node_modules/@zag-js/pin-input/dist/pin-input.utils.js.map +1 -1
  219. package/dist/node_modules/.bun/@zag-js_popover@1.41.2/node_modules/@zag-js/popover/dist/popover.connect.js +1 -1
  220. package/dist/node_modules/.bun/@zag-js_popover@1.41.2/node_modules/@zag-js/popover/dist/popover.connect.js.map +1 -1
  221. package/dist/node_modules/.bun/@zag-js_popper@1.41.2/node_modules/@zag-js/popper/dist/get-placement.js +1 -1
  222. package/dist/node_modules/.bun/{@zag-js_solid@1.41.2_da624007e3df32b4 → @zag-js_solid@1.41.2_ee58d66d663bac7b}/node_modules/@zag-js/solid/dist/bindable.js +1 -1
  223. package/dist/node_modules/.bun/{@zag-js_solid@1.41.2_da624007e3df32b4 → @zag-js_solid@1.41.2_ee58d66d663bac7b}/node_modules/@zag-js/solid/dist/bindable.js.map +1 -1
  224. package/dist/node_modules/.bun/{@zag-js_solid@1.41.2_da624007e3df32b4 → @zag-js_solid@1.41.2_ee58d66d663bac7b}/node_modules/@zag-js/solid/dist/machine.js +1 -1
  225. package/dist/node_modules/.bun/{@zag-js_solid@1.41.2_da624007e3df32b4 → @zag-js_solid@1.41.2_ee58d66d663bac7b}/node_modules/@zag-js/solid/dist/machine.js.map +1 -1
  226. package/dist/node_modules/.bun/{@zag-js_solid@1.41.2_da624007e3df32b4 → @zag-js_solid@1.41.2_ee58d66d663bac7b}/node_modules/@zag-js/solid/dist/merge-props.js +1 -1
  227. package/dist/node_modules/.bun/{@zag-js_solid@1.41.2_da624007e3df32b4 → @zag-js_solid@1.41.2_ee58d66d663bac7b}/node_modules/@zag-js/solid/dist/merge-props.js.map +1 -1
  228. package/dist/node_modules/.bun/{@zag-js_solid@1.41.2_da624007e3df32b4 → @zag-js_solid@1.41.2_ee58d66d663bac7b}/node_modules/@zag-js/solid/dist/normalize-props.js +1 -1
  229. package/dist/node_modules/.bun/{@zag-js_solid@1.41.2_da624007e3df32b4 → @zag-js_solid@1.41.2_ee58d66d663bac7b}/node_modules/@zag-js/solid/dist/normalize-props.js.map +1 -1
  230. package/dist/node_modules/.bun/{@zag-js_solid@1.41.2_da624007e3df32b4 → @zag-js_solid@1.41.2_ee58d66d663bac7b}/node_modules/@zag-js/solid/dist/refs.js +1 -1
  231. package/dist/node_modules/.bun/{@zag-js_solid@1.41.2_da624007e3df32b4 → @zag-js_solid@1.41.2_ee58d66d663bac7b}/node_modules/@zag-js/solid/dist/refs.js.map +1 -1
  232. package/dist/node_modules/.bun/{@zag-js_solid@1.41.2_da624007e3df32b4 → @zag-js_solid@1.41.2_ee58d66d663bac7b}/node_modules/@zag-js/solid/dist/track.js +1 -1
  233. package/dist/node_modules/.bun/{@zag-js_solid@1.41.2_da624007e3df32b4 → @zag-js_solid@1.41.2_ee58d66d663bac7b}/node_modules/@zag-js/solid/dist/track.js.map +1 -1
  234. package/dist/node_modules/.bun/@zag-js_tooltip@1.41.2/node_modules/@zag-js/tooltip/dist/tooltip.connect.js +1 -1
  235. package/dist/node_modules/.bun/@zag-js_tooltip@1.41.2/node_modules/@zag-js/tooltip/dist/tooltip.connect.js.map +1 -1
  236. package/dist/node_modules/.bun/{tailwind-variants@3.2.2_353585be07126f0c → tailwind-variants@3.2.2_836190697928d5d4}/node_modules/tailwind-variants/dist/chunk-LQJYWU4O.js +1 -1
  237. package/dist/node_modules/.bun/{tailwind-variants@3.2.2_353585be07126f0c → tailwind-variants@3.2.2_836190697928d5d4}/node_modules/tailwind-variants/dist/chunk-LQJYWU4O.js.map +1 -1
  238. package/dist/node_modules/.bun/{tailwind-variants@3.2.2_353585be07126f0c → tailwind-variants@3.2.2_836190697928d5d4}/node_modules/tailwind-variants/dist/chunk-RZF76H2U.js +1 -1
  239. package/dist/node_modules/.bun/{tailwind-variants@3.2.2_353585be07126f0c → tailwind-variants@3.2.2_836190697928d5d4}/node_modules/tailwind-variants/dist/chunk-RZF76H2U.js.map +1 -1
  240. package/dist/node_modules/.bun/{tailwind-variants@3.2.2_353585be07126f0c → tailwind-variants@3.2.2_836190697928d5d4}/node_modules/tailwind-variants/dist/index.js +1 -1
  241. package/dist/node_modules/.bun/{tailwind-variants@3.2.2_353585be07126f0c → tailwind-variants@3.2.2_836190697928d5d4}/node_modules/tailwind-variants/dist/index.js.map +1 -1
  242. package/dist/paraglide/messages/_index.d.ts +2 -1
  243. package/dist/paraglide/messages/ui_breadcrumb_label.d.ts +3 -3
  244. package/dist/paraglide/messages/ui_carousel_next.d.ts +3 -3
  245. package/dist/paraglide/messages/ui_carousel_previous.d.ts +3 -3
  246. package/dist/paraglide/messages/ui_checkbox_checked.d.ts +3 -3
  247. package/dist/paraglide/messages/ui_common_close.d.ts +3 -3
  248. package/dist/paraglide/messages/ui_common_loading.d.ts +3 -3
  249. package/dist/paraglide/messages/ui_common_more.d.ts +3 -3
  250. package/dist/paraglide/messages/ui_pagination_more.d.ts +3 -3
  251. package/dist/paraglide/messages/ui_pagination_next.d.ts +3 -3
  252. package/dist/paraglide/messages/ui_pagination_previous.d.ts +3 -3
  253. package/dist/paraglide/messages/ui_sidebar_description.d.ts +3 -3
  254. package/dist/paraglide/messages/ui_sidebar_title.d.ts +3 -3
  255. package/dist/paraglide/messages/ui_sidebar_toggle.d.ts +3 -3
  256. package/dist/paraglide/messages/ui_skeleton_loading.d.ts +3 -3
  257. package/dist/paraglide/runtime.d.ts +492 -273
  258. package/dist/paraglide/runtime.js.map +1 -1
  259. package/package.json +3 -3
  260. package/src/components/form/AutoSubmit.tsx +2 -2
  261. package/src/components/sidebar/utils.ts +18 -10
  262. package/dist/node_modules/.bun/@ark-ui_solid@5.37.1_da624007e3df32b4/node_modules/@ark-ui/solid/dist/chunk/6WEDGJKQ.js +0 -7
  263. package/dist/node_modules/.bun/@ark-ui_solid@5.37.1_da624007e3df32b4/node_modules/@ark-ui/solid/dist/chunk/7IUG3E2V.js +0 -11
  264. package/dist/node_modules/.bun/@ark-ui_solid@5.37.1_da624007e3df32b4/node_modules/@ark-ui/solid/dist/chunk/KGOB2IMX.js +0 -6
  265. package/dist/node_modules/.bun/@floating-ui_core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
  266. package/dist/node_modules/.bun/@floating-ui_dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -330
  267. package/dist/node_modules/.bun/@floating-ui_dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
  268. package/dist/node_modules/.bun/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
@@ -0,0 +1,324 @@
1
+ import { createCoords as e, floor as t, max as n, min as r, rectToClientRect as i, round as a } from "../../../../../@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.js";
2
+ import { arrow as o, computePosition as s, flip as c, hide as l, limitShift as u, offset as d, shift as f, size as p } from "../../../../../@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.js";
3
+ import { getComputedStyle as m, getContainingBlock as h, getDocumentElement as g, getFrameElement as _, getNodeName as v, getNodeScroll as y, getOverflowAncestors as b, getParentNode as x, getWindow as S, isContainingBlock as C, isElement as w, isHTMLElement as T, isLastTraversableNode as E, isOverflowElement as D, isTableElement as O, isTopLayer as k, isWebKit as A } from "../../../../../@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js";
4
+ //#region ../../node_modules/.bun/@floating-ui+dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
5
+ function j(e) {
6
+ let t = m(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = T(e), o = i ? e.offsetWidth : n, s = i ? e.offsetHeight : r, c = a(n) !== o || a(r) !== s;
7
+ return c && (n = o, r = s), {
8
+ width: n,
9
+ height: r,
10
+ $: c
11
+ };
12
+ }
13
+ function M(e) {
14
+ return w(e) ? e : e.contextElement;
15
+ }
16
+ function N(t) {
17
+ let n = M(t);
18
+ if (!T(n)) return e(1);
19
+ let r = n.getBoundingClientRect(), { width: i, height: o, $: s } = j(n), c = (s ? a(r.width) : r.width) / i, l = (s ? a(r.height) : r.height) / o;
20
+ return (!c || !Number.isFinite(c)) && (c = 1), (!l || !Number.isFinite(l)) && (l = 1), {
21
+ x: c,
22
+ y: l
23
+ };
24
+ }
25
+ var P = /*#__PURE__*/ e(0);
26
+ function F(e) {
27
+ let t = S(e);
28
+ return !A() || !t.visualViewport ? P : {
29
+ x: t.visualViewport.offsetLeft,
30
+ y: t.visualViewport.offsetTop
31
+ };
32
+ }
33
+ function I(e, t, n) {
34
+ return t === void 0 && (t = !1), !!n && t && n === S(e);
35
+ }
36
+ function L(t, n, r, a) {
37
+ n === void 0 && (n = !1), r === void 0 && (r = !1);
38
+ let o = t.getBoundingClientRect(), s = M(t), c = e(1);
39
+ n && (a ? w(a) && (c = N(a)) : c = N(t));
40
+ let l = I(s, r, a) ? F(s) : e(0), u = (o.left + l.x) / c.x, d = (o.top + l.y) / c.y, f = o.width / c.x, p = o.height / c.y;
41
+ if (s && a) {
42
+ let e = S(s), t = w(a) ? S(a) : a, n = e, r = _(n);
43
+ for (; r && t !== n;) {
44
+ let e = N(r), t = r.getBoundingClientRect(), i = m(r), a = t.left + (r.clientLeft + parseFloat(i.paddingLeft)) * e.x, o = t.top + (r.clientTop + parseFloat(i.paddingTop)) * e.y;
45
+ u *= e.x, d *= e.y, f *= e.x, p *= e.y, u += a, d += o, n = S(r), r = _(n);
46
+ }
47
+ }
48
+ return i({
49
+ width: f,
50
+ height: p,
51
+ x: u,
52
+ y: d
53
+ });
54
+ }
55
+ function R(e, t) {
56
+ let n = y(e).scrollLeft;
57
+ return t ? t.left + n : L(g(e)).left + n;
58
+ }
59
+ function z(e, t) {
60
+ let n = e.getBoundingClientRect();
61
+ return {
62
+ x: n.left + t.scrollLeft - R(e, n),
63
+ y: n.top + t.scrollTop
64
+ };
65
+ }
66
+ function B(t) {
67
+ let { elements: n, rect: r, offsetParent: i, strategy: a } = t, o = a === "fixed", s = g(i), c = n ? k(n.floating) : !1;
68
+ if (i === s || c && o) return r;
69
+ let l = {
70
+ scrollLeft: 0,
71
+ scrollTop: 0
72
+ }, u = e(1), d = e(0), f = T(i);
73
+ if ((f || !o) && ((v(i) !== "body" || D(s)) && (l = y(i)), f)) {
74
+ let e = L(i);
75
+ u = N(i), d.x = e.x + i.clientLeft, d.y = e.y + i.clientTop;
76
+ }
77
+ let p = s && !f && !o ? z(s, l) : e(0);
78
+ return {
79
+ width: r.width * u.x,
80
+ height: r.height * u.y,
81
+ x: r.x * u.x - l.scrollLeft * u.x + d.x + p.x,
82
+ y: r.y * u.y - l.scrollTop * u.y + d.y + p.y
83
+ };
84
+ }
85
+ function V(e) {
86
+ return e.getClientRects ? Array.from(e.getClientRects()) : [];
87
+ }
88
+ function ee(e) {
89
+ let t = y(e), r = e.ownerDocument.body, i = n(e.scrollWidth, e.clientWidth, r.scrollWidth, r.clientWidth), a = n(e.scrollHeight, e.clientHeight, r.scrollHeight, r.clientHeight), o = -t.scrollLeft + R(e), s = -t.scrollTop;
90
+ return m(r).direction === "rtl" && (o += n(e.clientWidth, r.clientWidth) - i), {
91
+ width: i,
92
+ height: a,
93
+ x: o,
94
+ y: s
95
+ };
96
+ }
97
+ var te = 25;
98
+ function H(e, t, n) {
99
+ n === void 0 && (n = "viewport");
100
+ let r = n === "layoutViewport", i = S(e), a = g(e), o = i.visualViewport, s = a.clientWidth, c = a.clientHeight, l = 0, u = 0;
101
+ if (o) {
102
+ let e = !A() || t === "fixed";
103
+ r ? e || (l = -o.offsetLeft, u = -o.offsetTop) : (s = o.width, c = o.height, e && (l = o.offsetLeft, u = o.offsetTop));
104
+ }
105
+ if (R(a) <= 0) {
106
+ let e = a.ownerDocument, t = e.body, n = getComputedStyle(t), r = e.compatMode === "CSS1Compat" && parseFloat(n.marginLeft) + parseFloat(n.marginRight) || 0, i = Math.abs(a.clientWidth - t.clientWidth - r), o = getComputedStyle(a).scrollbarGutter === "stable both-edges" ? i / 2 : i;
107
+ o <= te && (s -= o);
108
+ }
109
+ return {
110
+ width: s,
111
+ height: c,
112
+ x: l,
113
+ y: u
114
+ };
115
+ }
116
+ function U(e, t) {
117
+ let n = L(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = N(e);
118
+ return {
119
+ width: e.clientWidth * a.x,
120
+ height: e.clientHeight * a.y,
121
+ x: i * a.x,
122
+ y: r * a.y
123
+ };
124
+ }
125
+ function W(e, t, n) {
126
+ let r;
127
+ if (t === "viewport" || t === "layoutViewport") r = H(e, n, t);
128
+ else if (t === "document") r = ee(g(e));
129
+ else if (w(t)) r = U(t, n);
130
+ else {
131
+ let n = F(e);
132
+ r = {
133
+ x: t.x - n.x,
134
+ y: t.y - n.y,
135
+ width: t.width,
136
+ height: t.height
137
+ };
138
+ }
139
+ return i(r);
140
+ }
141
+ function G(e, t) {
142
+ let n = t.get(e);
143
+ if (n) return n;
144
+ let r = b(e, [], !1).filter((e) => w(e) && v(e) !== "body"), i = null, a = m(e).position === "fixed", o = a ? x(e) : e;
145
+ for (; w(o) && !E(o);) {
146
+ let e = m(o), t = C(o), n = i ? i.position : a ? "fixed" : "";
147
+ !t && (n === "fixed" || n === "absolute" && e.position === "static") ? r = r.filter((e) => e !== o) : i = e, o = x(o);
148
+ }
149
+ return t.set(e, r), r;
150
+ }
151
+ function K(e) {
152
+ let { element: t, boundary: i, rootBoundary: a, strategy: o } = e, s = [...i === "clippingAncestors" ? k(t) ? [] : G(t, this._c) : [].concat(i), a], c = W(t, s[0], o), l = c.top, u = c.right, d = c.bottom, f = c.left;
153
+ for (let e = 1; e < s.length; e++) {
154
+ let i = W(t, s[e], o);
155
+ l = n(i.top, l), u = r(i.right, u), d = r(i.bottom, d), f = n(i.left, f);
156
+ }
157
+ return {
158
+ width: u - f,
159
+ height: d - l,
160
+ x: f,
161
+ y: l
162
+ };
163
+ }
164
+ function q(e) {
165
+ let { width: t, height: n } = j(e);
166
+ return {
167
+ width: t,
168
+ height: n
169
+ };
170
+ }
171
+ function J(t, n, r) {
172
+ let i = T(n), a = g(n), o = r === "fixed", s = L(t, !0, o, n), c = {
173
+ scrollLeft: 0,
174
+ scrollTop: 0
175
+ }, l = e(0);
176
+ if ((i || !o) && ((v(n) !== "body" || D(a)) && (c = y(n)), i)) {
177
+ let e = L(n, !0, o, n);
178
+ l.x = e.x + n.clientLeft, l.y = e.y + n.clientTop;
179
+ }
180
+ !i && a && (l.x = R(a));
181
+ let u = a && !i && !o ? z(a, c) : e(0);
182
+ return {
183
+ x: s.left + c.scrollLeft - l.x - u.x,
184
+ y: s.top + c.scrollTop - l.y - u.y,
185
+ width: s.width,
186
+ height: s.height
187
+ };
188
+ }
189
+ function Y(e) {
190
+ return m(e).position === "static";
191
+ }
192
+ function X(e, t) {
193
+ if (!T(e) || m(e).position === "fixed") return null;
194
+ if (t) return t(e);
195
+ let n = e.offsetParent;
196
+ return g(e) === n && (n = n.ownerDocument.body), n;
197
+ }
198
+ function Z(e, t) {
199
+ let n = S(e);
200
+ if (k(e)) return n;
201
+ if (!T(e)) {
202
+ let t = x(e);
203
+ for (; t && !E(t);) {
204
+ if (w(t) && !Y(t)) return t;
205
+ t = x(t);
206
+ }
207
+ return n;
208
+ }
209
+ let r = X(e, t);
210
+ for (; r && O(r) && Y(r);) r = X(r, t);
211
+ return r && E(r) && Y(r) && !C(r) ? n : r || h(e) || n;
212
+ }
213
+ var ne = async function(e) {
214
+ let t = this.getOffsetParent || Z, n = this.getDimensions, r = await n(e.floating);
215
+ return {
216
+ reference: J(e.reference, await t(e.floating), e.strategy),
217
+ floating: {
218
+ x: 0,
219
+ y: 0,
220
+ width: r.width,
221
+ height: r.height
222
+ }
223
+ };
224
+ };
225
+ function re(e) {
226
+ return m(e).direction === "rtl";
227
+ }
228
+ var Q = {
229
+ convertOffsetParentRelativeRectToViewportRelativeRect: B,
230
+ getDocumentElement: g,
231
+ getClippingRect: K,
232
+ getOffsetParent: Z,
233
+ getElementRects: ne,
234
+ getClientRects: V,
235
+ getDimensions: q,
236
+ getScale: N,
237
+ isElement: w,
238
+ isRTL: re
239
+ };
240
+ function $(e, t) {
241
+ return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
242
+ }
243
+ function ie(e, i, a) {
244
+ let o = null, s, c = g(e);
245
+ function l() {
246
+ var e;
247
+ clearTimeout(s), (e = o) == null || e.disconnect(), o = null;
248
+ }
249
+ function u(a, d) {
250
+ a === void 0 && (a = !1), d === void 0 && (d = 1), l();
251
+ let f = e.getBoundingClientRect(), { left: p, top: m, width: h, height: g } = f;
252
+ if (a || i(), !h || !g) return;
253
+ let _ = t(m), v = t(c.clientWidth - (p + h)), y = t(c.clientHeight - (m + g)), b = t(p), x = {
254
+ rootMargin: -_ + "px " + -v + "px " + -y + "px " + -b + "px",
255
+ threshold: n(0, r(1, d)) || 1
256
+ }, S = !0;
257
+ function C(t) {
258
+ let n = t[0].intersectionRatio;
259
+ if (!$(f, e.getBoundingClientRect())) return u();
260
+ if (n !== d) {
261
+ if (!S) return u();
262
+ n ? u(!1, n) : s = setTimeout(() => {
263
+ u(!1, 1e-7);
264
+ }, 1e3);
265
+ }
266
+ S = !1;
267
+ }
268
+ try {
269
+ o = new IntersectionObserver(C, {
270
+ ...x,
271
+ root: c.ownerDocument
272
+ });
273
+ } catch {
274
+ o = new IntersectionObserver(C, x);
275
+ }
276
+ o.observe(e);
277
+ }
278
+ let d = S(e), f = () => u(a);
279
+ return d.addEventListener("resize", f), u(!0), () => {
280
+ d.removeEventListener("resize", f), l();
281
+ };
282
+ }
283
+ function ae(e, t, n, r) {
284
+ r === void 0 && (r = {});
285
+ let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = M(e), u = i || a ? [...l ? b(l) : [], ...t ? b(t) : []] : [];
286
+ u.forEach((e) => {
287
+ i && e.addEventListener("scroll", n), a && e.addEventListener("resize", n);
288
+ });
289
+ let d = l && s ? ie(l, n, a) : null, f = -1, p = null;
290
+ o && (p = new ResizeObserver((e) => {
291
+ let [r] = e;
292
+ r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
293
+ var e;
294
+ (e = p) == null || e.observe(t);
295
+ })), n();
296
+ }), l && !c && p.observe(l), t && p.observe(t));
297
+ let m, h = c ? L(e) : null;
298
+ c && g();
299
+ function g() {
300
+ let t = L(e);
301
+ h && !$(h, t) && n(), h = t, m = requestAnimationFrame(g);
302
+ }
303
+ return n(), () => {
304
+ var e;
305
+ u.forEach((e) => {
306
+ i && e.removeEventListener("scroll", n), a && e.removeEventListener("resize", n);
307
+ }), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
308
+ };
309
+ }
310
+ var oe = d, se = f, ce = c, le = p, ue = l, de = o, fe = u, pe = (e, t, n) => {
311
+ let r = /* @__PURE__ */ new Map(), i = n ?? {}, a = {
312
+ ...Q,
313
+ ...i.platform,
314
+ _c: r
315
+ };
316
+ return s(e, t, {
317
+ ...i,
318
+ platform: a
319
+ });
320
+ };
321
+ //#endregion
322
+ export { de as arrow, ae as autoUpdate, pe as computePosition, ce as flip, ue as hide, fe as limitShift, oe as offset, Q as platform, se as shift, le as size };
323
+
324
+ //# sourceMappingURL=floating-ui.dom.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"floating-ui.dom.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/@floating-ui+dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs"],"sourcesContent":["import { rectToClientRect, arrow as arrow$1, autoPlacement as autoPlacement$1, detectOverflow as detectOverflow$1, flip as flip$1, hide as hide$1, inline as inline$1, limitShift as limitShift$1, offset as offset$1, shift as shift$1, size as size$1, computePosition as computePosition$1 } from '@floating-ui/core';\nimport { round, createCoords, max, min, floor } from '@floating-ui/utils';\nimport { getComputedStyle as getComputedStyle$1, isHTMLElement, isElement, getWindow, isWebKit, getFrameElement, getNodeScroll, getDocumentElement, isTopLayer, getNodeName, isOverflowElement, getOverflowAncestors, getParentNode, isLastTraversableNode, isContainingBlock, isTableElement, getContainingBlock } from '@floating-ui/utils/dom';\nexport { getOverflowAncestors } from '@floating-ui/utils/dom';\n\nfunction getCssDimensions(element) {\n const css = getComputedStyle$1(element);\n // In testing environments, the `width` and `height` properties are empty\n // strings for SVG elements, returning NaN. Fallback to `0` in this case.\n let width = parseFloat(css.width) || 0;\n let height = parseFloat(css.height) || 0;\n const hasOffset = isHTMLElement(element);\n const offsetWidth = hasOffset ? element.offsetWidth : width;\n const offsetHeight = hasOffset ? element.offsetHeight : height;\n const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;\n if (shouldFallback) {\n width = offsetWidth;\n height = offsetHeight;\n }\n return {\n width,\n height,\n $: shouldFallback\n };\n}\n\nfunction unwrapElement(element) {\n return !isElement(element) ? element.contextElement : element;\n}\n\nfunction getScale(element) {\n const domElement = unwrapElement(element);\n if (!isHTMLElement(domElement)) {\n return createCoords(1);\n }\n const rect = domElement.getBoundingClientRect();\n const {\n width,\n height,\n $\n } = getCssDimensions(domElement);\n let x = ($ ? round(rect.width) : rect.width) / width;\n let y = ($ ? round(rect.height) : rect.height) / height;\n\n // 0, NaN, or Infinity should always fallback to 1.\n\n if (!x || !Number.isFinite(x)) {\n x = 1;\n }\n if (!y || !Number.isFinite(y)) {\n y = 1;\n }\n return {\n x,\n y\n };\n}\n\nconst noOffsets = /*#__PURE__*/createCoords(0);\nfunction getVisualOffsets(element) {\n const win = getWindow(element);\n if (!isWebKit() || !win.visualViewport) {\n return noOffsets;\n }\n return {\n x: win.visualViewport.offsetLeft,\n y: win.visualViewport.offsetTop\n };\n}\nfunction shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n return !!floatingOffsetParent && isFixed && floatingOffsetParent === getWindow(element);\n}\n\nfunction getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n const clientRect = element.getBoundingClientRect();\n const domElement = unwrapElement(element);\n let scale = createCoords(1);\n if (includeScale) {\n if (offsetParent) {\n if (isElement(offsetParent)) {\n scale = getScale(offsetParent);\n }\n } else {\n scale = getScale(element);\n }\n }\n const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);\n let x = (clientRect.left + visualOffsets.x) / scale.x;\n let y = (clientRect.top + visualOffsets.y) / scale.y;\n let width = clientRect.width / scale.x;\n let height = clientRect.height / scale.y;\n if (domElement && offsetParent) {\n const win = getWindow(domElement);\n const offsetWin = isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;\n let currentWin = win;\n let currentIFrame = getFrameElement(currentWin);\n while (currentIFrame && offsetWin !== currentWin) {\n const iframeScale = getScale(currentIFrame);\n const iframeRect = currentIFrame.getBoundingClientRect();\n const css = getComputedStyle$1(currentIFrame);\n const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;\n const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;\n x *= iframeScale.x;\n y *= iframeScale.y;\n width *= iframeScale.x;\n height *= iframeScale.y;\n x += left;\n y += top;\n currentWin = getWindow(currentIFrame);\n currentIFrame = getFrameElement(currentWin);\n }\n }\n return rectToClientRect({\n width,\n height,\n x,\n y\n });\n}\n\n// If <html> has a CSS width greater than the viewport, then this will be\n// incorrect for RTL.\nfunction getWindowScrollBarX(element, rect) {\n const leftScroll = getNodeScroll(element).scrollLeft;\n if (!rect) {\n return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;\n }\n return rect.left + leftScroll;\n}\n\nfunction getHTMLOffset(documentElement, scroll) {\n const htmlRect = documentElement.getBoundingClientRect();\n const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);\n const y = htmlRect.top + scroll.scrollTop;\n return {\n x,\n y\n };\n}\n\nfunction convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {\n let {\n elements,\n rect,\n offsetParent,\n strategy\n } = _ref;\n const isFixed = strategy === 'fixed';\n const documentElement = getDocumentElement(offsetParent);\n const topLayer = elements ? isTopLayer(elements.floating) : false;\n if (offsetParent === documentElement || topLayer && isFixed) {\n return rect;\n }\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n let scale = createCoords(1);\n const offsets = createCoords(0);\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n if (isOffsetParentAnElement || !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isOffsetParentAnElement) {\n const offsetRect = getBoundingClientRect(offsetParent);\n scale = getScale(offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n }\n }\n const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);\n return {\n width: rect.width * scale.x,\n height: rect.height * scale.y,\n x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,\n y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y\n };\n}\n\nfunction getClientRects(element) {\n return element.getClientRects ? Array.from(element.getClientRects()) : [];\n}\n\n// Gets the entire size of the scrollable document area, even extending outside\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable.\nfunction getDocumentRect(html) {\n const scroll = getNodeScroll(html);\n const body = html.ownerDocument.body;\n const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);\n const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);\n let x = -scroll.scrollLeft + getWindowScrollBarX(html);\n const y = -scroll.scrollTop;\n if (getComputedStyle$1(body).direction === 'rtl') {\n x += max(html.clientWidth, body.clientWidth) - width;\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\n// Safety check: ensure the scrollbar space is reasonable in case this\n// calculation is affected by unusual styles.\n// Most scrollbars leave 15-18px of space.\nconst SCROLLBAR_MAX = 25;\nfunction getViewportRect(element, strategy, rootBoundary) {\n if (rootBoundary === void 0) {\n rootBoundary = 'viewport';\n }\n const isLayoutViewport = rootBoundary === 'layoutViewport';\n const win = getWindow(element);\n const html = getDocumentElement(element);\n const visualViewport = win.visualViewport;\n let width = html.clientWidth;\n let height = html.clientHeight;\n let x = 0;\n let y = 0;\n if (visualViewport) {\n // Client coordinates are relative to the layout viewport, except in\n // WebKit with an `absolute` strategy, where they are relative to the\n // visual viewport.\n const layoutRelativeClientCoords = !isWebKit() || strategy === 'fixed';\n if (isLayoutViewport) {\n if (!layoutRelativeClientCoords) {\n x = -visualViewport.offsetLeft;\n y = -visualViewport.offsetTop;\n }\n } else {\n width = visualViewport.width;\n height = visualViewport.height;\n if (layoutRelativeClientCoords) {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n }\n const windowScrollbarX = getWindowScrollBarX(html);\n // `scrollbar-gutter: stable` on the <html> reserves gutter space that shrinks\n // the visual width but isn't reflected in `html.clientWidth`, so subtract it.\n // Only the inline-end (right) gutter can hold the scrollbar; `both-edges` also\n // reserves an empty inline-start gutter that clips nothing, so exclude just\n // the one scrollbar-side gutter — halve the measured (two-gutter) total. A\n // left-side scrollbar (`windowScrollbarX > 0`) is already handled by\n // `getHTMLOffset`/`visualViewport.width`; skip it here.\n if (windowScrollbarX <= 0) {\n const doc = html.ownerDocument;\n const body = doc.body;\n const bodyStyles = getComputedStyle(body);\n const bodyMarginInline = doc.compatMode === 'CSS1Compat' ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;\n const reservedWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);\n const gutter = getComputedStyle(html).scrollbarGutter === 'stable both-edges' ? reservedWidth / 2 : reservedWidth;\n if (gutter <= SCROLLBAR_MAX) {\n width -= gutter;\n }\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\n// Returns the inner client rect, subtracting scrollbars if present.\nfunction getInnerBoundingClientRect(element, strategy) {\n const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');\n const top = clientRect.top + element.clientTop;\n const left = clientRect.left + element.clientLeft;\n const scale = getScale(element);\n const width = element.clientWidth * scale.x;\n const height = element.clientHeight * scale.y;\n const x = left * scale.x;\n const y = top * scale.y;\n return {\n width,\n height,\n x,\n y\n };\n}\nfunction getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {\n let rect;\n if (clippingAncestor === 'viewport' || clippingAncestor === 'layoutViewport') {\n rect = getViewportRect(element, strategy, clippingAncestor);\n } else if (clippingAncestor === 'document') {\n rect = getDocumentRect(getDocumentElement(element));\n } else if (isElement(clippingAncestor)) {\n rect = getInnerBoundingClientRect(clippingAncestor, strategy);\n } else {\n const visualOffsets = getVisualOffsets(element);\n rect = {\n x: clippingAncestor.x - visualOffsets.x,\n y: clippingAncestor.y - visualOffsets.y,\n width: clippingAncestor.width,\n height: clippingAncestor.height\n };\n }\n return rectToClientRect(rect);\n}\n\n// A \"clipping ancestor\" is an `overflow` element with the characteristic of\n// clipping (or hiding) child elements. This returns all clipping ancestors\n// of the given element up the tree.\nfunction getClippingElementAncestors(element, cache) {\n const cachedResult = cache.get(element);\n if (cachedResult) {\n return cachedResult;\n }\n let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');\n let lastKeptComputedStyle = null;\n const elementIsFixed = getComputedStyle$1(element).position === 'fixed';\n let currentNode = elementIsFixed ? getParentNode(element) : element;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {\n const computedStyle = getComputedStyle$1(currentNode);\n const currentNodeIsContaining = isContainingBlock(currentNode);\n // Position of the containing block chain below the current node. A fixed\n // element whose containing block hasn't been found yet is a fixed chain.\n const lastPosition = lastKeptComputedStyle ? lastKeptComputedStyle.position : elementIsFixed ? 'fixed' : '';\n\n // A non-containing ancestor does not clip the element when the chain\n // below it escapes it: a fixed chain escapes all ancestors up to the\n // next containing block, an absolute chain escapes static ancestors.\n const shouldDropCurrentNode = !currentNodeIsContaining && (lastPosition === 'fixed' || lastPosition === 'absolute' && computedStyle.position === 'static');\n if (shouldDropCurrentNode) {\n // Drop non-containing blocks.\n result = result.filter(ancestor => ancestor !== currentNode);\n } else {\n // The kept node carries the chain position for the next iteration.\n lastKeptComputedStyle = computedStyle;\n }\n currentNode = getParentNode(currentNode);\n }\n cache.set(element, result);\n return result;\n}\n\n// Gets the maximum area that the element is visible in due to any number of\n// clipping ancestors.\nfunction getClippingRect(_ref) {\n let {\n element,\n boundary,\n rootBoundary,\n strategy\n } = _ref;\n const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);\n const clippingAncestors = [...elementClippingAncestors, rootBoundary];\n const firstRect = getClientRectFromClippingAncestor(element, clippingAncestors[0], strategy);\n let top = firstRect.top;\n let right = firstRect.right;\n let bottom = firstRect.bottom;\n let left = firstRect.left;\n for (let i = 1; i < clippingAncestors.length; i++) {\n const rect = getClientRectFromClippingAncestor(element, clippingAncestors[i], strategy);\n top = max(rect.top, top);\n right = min(rect.right, right);\n bottom = min(rect.bottom, bottom);\n left = max(rect.left, left);\n }\n return {\n width: right - left,\n height: bottom - top,\n x: left,\n y: top\n };\n}\n\nfunction getDimensions(element) {\n const {\n width,\n height\n } = getCssDimensions(element);\n return {\n width,\n height\n };\n}\n\nfunction getRectRelativeToOffsetParent(element, offsetParent, strategy) {\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n const isFixed = strategy === 'fixed';\n const rect = getBoundingClientRect(element, true, isFixed, offsetParent);\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n const offsets = createCoords(0);\n if (isOffsetParentAnElement || !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isOffsetParentAnElement) {\n const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n }\n }\n\n // If the <body> scrollbar appears on the left (e.g. RTL systems). Use\n // Firefox with layout.scrollbar.side = 3 in about:config to test this.\n if (!isOffsetParentAnElement && documentElement) {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);\n const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;\n const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;\n return {\n x,\n y,\n width: rect.width,\n height: rect.height\n };\n}\n\nfunction isStaticPositioned(element) {\n return getComputedStyle$1(element).position === 'static';\n}\n\nfunction getTrueOffsetParent(element, polyfill) {\n if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {\n return null;\n }\n if (polyfill) {\n return polyfill(element);\n }\n let rawOffsetParent = element.offsetParent;\n\n // Firefox returns the <html> element as the offsetParent if it's non-static,\n // while Chrome and Safari return the <body> element. The <body> element must\n // be used to perform the correct calculations even if the <html> element is\n // non-static.\n if (getDocumentElement(element) === rawOffsetParent) {\n rawOffsetParent = rawOffsetParent.ownerDocument.body;\n }\n return rawOffsetParent;\n}\n\n// Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nfunction getOffsetParent(element, polyfill) {\n const win = getWindow(element);\n if (isTopLayer(element)) {\n return win;\n }\n if (!isHTMLElement(element)) {\n let svgOffsetParent = getParentNode(element);\n while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {\n if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {\n return svgOffsetParent;\n }\n svgOffsetParent = getParentNode(svgOffsetParent);\n }\n return win;\n }\n let offsetParent = getTrueOffsetParent(element, polyfill);\n while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {\n offsetParent = getTrueOffsetParent(offsetParent, polyfill);\n }\n if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {\n return win;\n }\n return offsetParent || getContainingBlock(element) || win;\n}\n\nconst getElementRects = async function (data) {\n const getOffsetParentFn = this.getOffsetParent || getOffsetParent;\n const getDimensionsFn = this.getDimensions;\n const floatingDimensions = await getDimensionsFn(data.floating);\n return {\n reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),\n floating: {\n x: 0,\n y: 0,\n width: floatingDimensions.width,\n height: floatingDimensions.height\n }\n };\n};\n\nfunction isRTL(element) {\n return getComputedStyle$1(element).direction === 'rtl';\n}\n\nconst platform = {\n convertOffsetParentRelativeRectToViewportRelativeRect,\n getDocumentElement,\n getClippingRect,\n getOffsetParent,\n getElementRects,\n getClientRects,\n getDimensions,\n getScale,\n isElement,\n isRTL\n};\n\nfunction rectsAreEqual(a, b) {\n return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;\n}\n\n// https://samthor.au/2021/observing-dom/\nfunction observeMove(element, onMove, ancestorResize) {\n let io = null;\n let timeoutId;\n const root = getDocumentElement(element);\n function cleanup() {\n var _io;\n clearTimeout(timeoutId);\n (_io = io) == null || _io.disconnect();\n io = null;\n }\n function refresh(skip, threshold) {\n if (skip === void 0) {\n skip = false;\n }\n if (threshold === void 0) {\n threshold = 1;\n }\n cleanup();\n const elementRectForRootMargin = element.getBoundingClientRect();\n const {\n left,\n top,\n width,\n height\n } = elementRectForRootMargin;\n if (!skip) {\n onMove();\n }\n if (!width || !height) {\n return;\n }\n const insetTop = floor(top);\n const insetRight = floor(root.clientWidth - (left + width));\n const insetBottom = floor(root.clientHeight - (top + height));\n const insetLeft = floor(left);\n const rootMargin = -insetTop + \"px \" + -insetRight + \"px \" + -insetBottom + \"px \" + -insetLeft + \"px\";\n const options = {\n rootMargin,\n threshold: max(0, min(1, threshold)) || 1\n };\n let isFirstUpdate = true;\n function handleObserve(entries) {\n const ratio = entries[0].intersectionRatio;\n\n // The entry is a snapshot, so the reference may have moved since the\n // intersection was computed (under performance constraints, or between\n // consecutive frames of a multi-frame layout shift). The reported ratio\n // and the observed area are stale in that case and cannot be trusted to\n // detect subsequent movement, so refresh regardless of the ratio.\n if (!rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {\n return refresh();\n }\n if (ratio !== threshold) {\n if (!isFirstUpdate) {\n return refresh();\n }\n if (!ratio) {\n // If the reference is clipped in place, the ratio is 0. Throttle\n // the refresh to prevent an infinite loop of updates.\n timeoutId = setTimeout(() => {\n refresh(false, 1e-7);\n }, 1000);\n } else {\n refresh(false, ratio);\n }\n }\n isFirstUpdate = false;\n }\n\n // Older browsers don't support a `document` as the root and will throw an\n // error.\n try {\n io = new IntersectionObserver(handleObserve, {\n ...options,\n // Handle <iframe>s\n root: root.ownerDocument\n });\n } catch (_e) {\n io = new IntersectionObserver(handleObserve, options);\n }\n io.observe(element);\n }\n const win = getWindow(element);\n // The window is a resize ancestor, so when `ancestorResize` is enabled its\n // listener already runs the update on resize. Here we only need to rebuild\n // the `IntersectionObserver` for the new root size, skipping a redundant\n // update. When `ancestorResize` is disabled, this becomes the sole update.\n const handleResize = () => refresh(ancestorResize);\n win.addEventListener('resize', handleResize);\n refresh(true);\n return () => {\n win.removeEventListener('resize', handleResize);\n cleanup();\n };\n}\n\n/**\n * Automatically updates the position of the floating element when necessary.\n * Should only be called when the floating element is mounted on the DOM or\n * visible on the screen.\n * @returns cleanup function that should be invoked when the floating element is\n * removed from the DOM or hidden from the screen.\n * @see https://floating-ui.com/docs/autoUpdate\n */\nfunction autoUpdate(reference, floating, update, options) {\n if (options === void 0) {\n options = {};\n }\n const {\n ancestorScroll = true,\n ancestorResize = true,\n elementResize = typeof ResizeObserver === 'function',\n layoutShift = typeof IntersectionObserver === 'function',\n animationFrame = false\n } = options;\n const referenceEl = unwrapElement(reference);\n const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...(floating ? getOverflowAncestors(floating) : [])] : [];\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.addEventListener('scroll', update);\n ancestorResize && ancestor.addEventListener('resize', update);\n });\n const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update, ancestorResize) : null;\n let reobserveFrame = -1;\n let resizeObserver = null;\n if (elementResize) {\n resizeObserver = new ResizeObserver(_ref => {\n let [firstEntry] = _ref;\n if (firstEntry && firstEntry.target === referenceEl && resizeObserver && floating) {\n // Prevent update loops when using the `size` middleware.\n // https://github.com/floating-ui/floating-ui/issues/1740\n resizeObserver.unobserve(floating);\n cancelAnimationFrame(reobserveFrame);\n reobserveFrame = requestAnimationFrame(() => {\n var _resizeObserver;\n (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);\n });\n }\n update();\n });\n if (referenceEl && !animationFrame) {\n resizeObserver.observe(referenceEl);\n }\n if (floating) {\n resizeObserver.observe(floating);\n }\n }\n let frameId;\n let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;\n if (animationFrame) {\n frameLoop();\n }\n function frameLoop() {\n const nextRefRect = getBoundingClientRect(reference);\n if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {\n update();\n }\n prevRefRect = nextRefRect;\n frameId = requestAnimationFrame(frameLoop);\n }\n update();\n return () => {\n var _resizeObserver2;\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.removeEventListener('scroll', update);\n ancestorResize && ancestor.removeEventListener('resize', update);\n });\n cleanupIo == null || cleanupIo();\n (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();\n resizeObserver = null;\n if (animationFrame) {\n cancelAnimationFrame(frameId);\n }\n };\n}\n\n/**\n * Resolves with an object of overflow side offsets that determine how much the\n * element is overflowing a given clipping boundary on each side.\n * - positive = overflowing the boundary by that number of pixels\n * - negative = how many pixels left before it will overflow\n * - 0 = lies flush with the boundary\n * @see https://floating-ui.com/docs/detectOverflow\n */\nconst detectOverflow = detectOverflow$1;\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = offset$1;\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = autoPlacement$1;\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = shift$1;\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = flip$1;\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = size$1;\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = hide$1;\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = arrow$1;\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = inline$1;\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = limitShift$1;\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a given reference element.\n */\nconst computePosition = (reference, floating, options) => {\n // This caches the expensive `getClippingElementAncestors` function so that\n // multiple lifecycle resets re-use the same result. It only lives for a\n // single call. If other functions become expensive, we can add them as well.\n const cache = new Map();\n const mergedOptions = options != null ? options : {};\n const platformWithCache = {\n ...platform,\n ...mergedOptions.platform,\n _c: cache\n };\n return computePosition$1(reference, floating, {\n ...mergedOptions,\n platform: platformWithCache\n });\n};\n\nexport { arrow, autoPlacement, autoUpdate, computePosition, detectOverflow, flip, hide, inline, limitShift, offset, platform, shift, size };\n"],"x_google_ignoreList":[0],"mappings":";;;;AAKA,SAAS,EAAiB,GAAS;CACjC,IAAM,IAAM,EAAmB,CAAO,GAGlC,IAAQ,WAAW,EAAI,KAAK,KAAK,GACjC,IAAS,WAAW,EAAI,MAAM,KAAK,GACjC,IAAY,EAAc,CAAO,GACjC,IAAc,IAAY,EAAQ,cAAc,GAChD,IAAe,IAAY,EAAQ,eAAe,GAClD,IAAiB,EAAM,CAAK,MAAM,KAAe,EAAM,CAAM,MAAM;CAKzE,OAJI,MACF,IAAQ,GACR,IAAS,IAEJ;EACL;EACA;EACA,GAAG;CACL;AACF;AAEA,SAAS,EAAc,GAAS;CAC9B,OAAQ,EAAU,CAAO,IAA6B,IAAzB,EAAQ;AACvC;AAEA,SAAS,EAAS,GAAS;CACzB,IAAM,IAAa,EAAc,CAAO;CACxC,IAAI,CAAC,EAAc,CAAU,GAC3B,OAAO,EAAa,CAAC;CAEvB,IAAM,IAAO,EAAW,sBAAsB,GACxC,EACJ,UACA,WACA,SACE,EAAiB,CAAU,GAC3B,KAAK,IAAI,EAAM,EAAK,KAAK,IAAI,EAA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AGnC,IAAI,GACA,IAAc,IAAiB,EAAsB,CAAS,IAAI;CACtE,AAAI,KACF,EAAU;CAEZ,SAAS,IAAY;EACnB,IAAM,IAAc,EAAsB,CAAS;EAKnD,AAJI,KAAe,CAAC,EAAc,GAAa,CAAW,KACxD,EAAO,GAET,IAAc,GACd,IAAU,sBAAsB,CAAS;CAC3C;CAEA,OADA,EAAO,SACM;EACX,IAAI;EAQJ,AAPA,EAAU,SAAQ,MAAY;GAE5B,AADA,KAAkB,EAAS,oBAAoB,UAAU,CAAM,GAC/D,KAAkB,EAAS,oBAAoB,UAAU,CAAM;EACjE,CAAC,GACD,IAA+B,IAC9B,IAAmB,MAAmB,QAAQ,EAAiB,WAAW,GAC3E,IAAiB,MACb,KACF,qBAAqB,CAAO;CAEhC;AACF;AAmBA,IAAM,KAAS,GAeT,KAAQ,GAQR,KAAO,GAQP,KAAO,GAOP,KAAO,GAOP,KAAQ,GAYR,KAAa,GAMb,MAAmB,GAAW,GAAU,MAAY;CAIxD,IAAM,oBAAQ,IAAI,IAAI,GAChB,IAAgB,KAA4B,CAAC,GAC7C,IAAoB;EACxB,GAAG;EACH,GAAG,EAAc;EACjB,IAAI;CACN;CACA,OAAO,EAAkB,GAAW,GAAU;EAC5C,GAAG;EACH,UAAU;CACZ,CAAC;AACH"}
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.bun/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
1
+ //#region ../../node_modules/.bun/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
2
2
  function e() {
3
3
  return typeof window < "u";
4
4
  }
@@ -80,7 +80,7 @@ function x(e) {
80
80
  }
81
81
  function S(e) {
82
82
  let t = x(e);
83
- return v(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : o(t) && c(t) ? t : S(t);
83
+ return v(t) ? (e.ownerDocument || e).body : o(t) && c(t) ? t : S(t);
84
84
  }
85
85
  function C(e, t, r) {
86
86
  t === void 0 && (t = []), r === void 0 && (r = !0);
@@ -1 +1 @@
1
- {"version":3,"file":"floating-ui.utils.dom.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs"],"sourcesContent":["function hasWindow() {\n return typeof window !== 'undefined';\n}\nfunction getNodeName(node) {\n if (isNode(node)) {\n return (node.nodeName || '').toLowerCase();\n }\n // Mocked nodes in testing environments may not be instances of Node. By\n // returning `#document` an infinite loop won't occur.\n // https://github.com/floating-ui/floating-ui/issues/2317\n return '#document';\n}\nfunction getWindow(node) {\n var _node$ownerDocument;\n return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n var _ref;\n return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n if (!hasWindow() || typeof ShadowRoot === 'undefined') {\n return false;\n }\n return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nfunction isOverflowElement(element) {\n const {\n overflow,\n overflowX,\n overflowY,\n display\n } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== 'inline' && display !== 'contents';\n}\nfunction isTableElement(element) {\n return /^(table|td|th)$/.test(getNodeName(element));\n}\nfunction isTopLayer(element) {\n try {\n if (element.matches(':popover-open')) {\n return true;\n }\n } catch (_e) {\n // no-op\n }\n try {\n return element.matches(':modal');\n } catch (_e) {\n return false;\n }\n}\nconst willChangeRe = /transform|translate|scale|rotate|perspective|filter/;\nconst containRe = /paint|layout|strict|content/;\nconst isNotNone = value => !!value && value !== 'none';\nlet isWebKitValue;\nfunction isContainingBlock(elementOrCss) {\n const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n // https://drafts.csswg.org/css-transforms-2/#individual-transforms\n return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || '') || containRe.test(css.contain || '');\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else if (isTopLayer(currentNode)) {\n return null;\n }\n currentNode = getParentNode(currentNode);\n }\n return null;\n}\nfunction isWebKit() {\n if (isWebKitValue == null) {\n isWebKitValue = typeof CSS !== 'undefined' && CSS.supports && CSS.supports('-webkit-backdrop-filter', 'none');\n }\n return isWebKitValue;\n}\nfunction isLastTraversableNode(node) {\n return /^(html|body|#document)$/.test(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.scrollX,\n scrollTop: element.scrollY\n };\n}\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n const result =\n // Step into the shadow DOM of the parent of a slotted node.\n node.assignedSlot ||\n // DOM Element detected.\n node.parentNode ||\n // ShadowRoot detected.\n isShadowRoot(node) && node.host ||\n // Fallback.\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n return node.ownerDocument ? node.ownerDocument.body : node.body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n var _node$ownerDocument2;\n if (list === void 0) {\n list = [];\n }\n if (traverseIframes === void 0) {\n traverseIframes = true;\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n const win = getWindow(scrollableAncestor);\n if (isBody) {\n const frameElement = getFrameElement(win);\n return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n } else {\n return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n }\n}\nfunction getFrameElement(win) {\n return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getFrameElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isTopLayer, isWebKit };\n"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,IAAY;CACnB,OAAO,OAAO,SAAW;AAC3B;AACA,SAAS,EAAY,GAAM;CAOzB,OANI,EAAO,CAAI,KACL,EAAK,YAAY,GAAA,CAAI,YAAY,IAKpC;AACT;AACA,SAAS,EAAU,GAAM;CACvB,IAAI;CACJ,QAAQ,KAAQ,SAAS,IAAsB,EAAK,kBAAkB,OAAO,KAAK,IAAI,EAAoB,gBAAgB;AAC5H;AACA,SAAS,EAAmB,GAAM;CAEhC,SAAgB,EAAO,CAAI,IAAI,EAAK,gBAAgB,EAAK,aAAa,OAAO,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IAAM,IAAqB,EAA2B,CAAI,GACpD,IAAS,MAAgD,EAAK,eAAuD,MACrH,IAAM,EAAU,CAAkB;CACxC,IAAI,GAAQ;EACV,IAAM,IAAe,EAAgB,CAAG;EACxC,OAAO,EAAK,OAAO,GAAK,EAAI,kBAAkB,CAAC,GAAG,EAAkB,CAAkB,IAAI,IAAqB,CAAC,GAAG,KAAgB,IAAkB,EAAqB,CAAY,IAAI,CAAC,CAAC;CAC9L,OACE,OAAO,EAAK,OAAO,GAAoB,EAAqB,GAAoB,CAAC,GAAG,CAAe,CAAC;AAExG;AACA,SAAS,EAAgB,GAAK;CAC5B,OAAO,EAAI,UAAU,OAAO,eAAe,EAAI,MAAM,IAAI,EAAI,eAAe;AAC9E"}
1
+ {"version":3,"file":"floating-ui.utils.dom.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs"],"sourcesContent":["function hasWindow() {\n return typeof window !== 'undefined';\n}\nfunction getNodeName(node) {\n if (isNode(node)) {\n return (node.nodeName || '').toLowerCase();\n }\n // Mocked nodes in testing environments may not be instances of Node. By\n // returning `#document` an infinite loop won't occur.\n // https://github.com/floating-ui/floating-ui/issues/2317\n return '#document';\n}\nfunction getWindow(node) {\n var _node$ownerDocument;\n return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n var _ref;\n return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n if (!hasWindow() || typeof ShadowRoot === 'undefined') {\n return false;\n }\n return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nfunction isOverflowElement(element) {\n const {\n overflow,\n overflowX,\n overflowY,\n display\n } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== 'inline' && display !== 'contents';\n}\nfunction isTableElement(element) {\n return /^(table|td|th)$/.test(getNodeName(element));\n}\nfunction isTopLayer(element) {\n try {\n if (element.matches(':popover-open')) {\n return true;\n }\n } catch (_e) {\n // no-op\n }\n try {\n return element.matches(':modal');\n } catch (_e) {\n return false;\n }\n}\nconst willChangeRe = /transform|translate|scale|rotate|perspective|filter/;\nconst containRe = /paint|layout|strict|content/;\nconst isNotNone = value => !!value && value !== 'none';\nlet isWebKitValue;\nfunction isContainingBlock(elementOrCss) {\n const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n // https://drafts.csswg.org/css-transforms-2/#individual-transforms\n return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || '') || containRe.test(css.contain || '');\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else if (isTopLayer(currentNode)) {\n return null;\n }\n currentNode = getParentNode(currentNode);\n }\n return null;\n}\nfunction isWebKit() {\n if (isWebKitValue == null) {\n isWebKitValue = typeof CSS !== 'undefined' && CSS.supports && CSS.supports('-webkit-backdrop-filter', 'none');\n }\n return isWebKitValue;\n}\nfunction isLastTraversableNode(node) {\n return /^(html|body|#document)$/.test(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.scrollX,\n scrollTop: element.scrollY\n };\n}\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n const result =\n // Step into the shadow DOM of the parent of a slotted node.\n node.assignedSlot ||\n // DOM Element detected.\n node.parentNode ||\n // ShadowRoot detected.\n isShadowRoot(node) && node.host ||\n // Fallback.\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n return (node.ownerDocument || node).body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n var _node$ownerDocument2;\n if (list === void 0) {\n list = [];\n }\n if (traverseIframes === void 0) {\n traverseIframes = true;\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n const win = getWindow(scrollableAncestor);\n if (isBody) {\n const frameElement = getFrameElement(win);\n return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n } else {\n return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n }\n}\nfunction getFrameElement(win) {\n return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getFrameElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isTopLayer, isWebKit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AE3B,EAAmB,CAAI;CACvB,OAAO,EAAa,CAAM,IAAI,EAAO,OAAO;AAC9C;AACA,SAAS,EAA2B,GAAM;CACxC,IAAM,IAAa,EAAc,CAAI;CAOrC,OANI,EAAsB,CAAU,KAC1B,EAAK,iBAAiB,EAAA,CAAM,OAElC,EAAc,CAAU,KAAK,EAAkB,CAAU,IACpD,IAEF,EAA2B,CAAU;AAC9C;AACA,SAAS,EAAqB,GAAM,GAAM,GAAiB;CAKzD,AAHI,MAAS,KAAK,MAChB,IAAO,CAAC,IAEN,MAAoB,KAAK,MAC3B,IAAkB;CAEpB,IAAM,IAAqB,EAA2B,CAAI,GACpD,IAAS,MAAgD,EAAK,eAAuD,MACrH,IAAM,EAAU,CAAkB;CACxC,IAAI,GAAQ;EACV,IAAM,IAAe,EAAgB,CAAG;EACxC,OAAO,EAAK,OAAO,GAAK,EAAI,kBAAkB,CAAC,GAAG,EAAkB,CAAkB,IAAI,IAAqB,CAAC,GAAG,KAAgB,IAAkB,EAAqB,CAAY,IAAI,CAAC,CAAC;CAC9L,OACE,OAAO,EAAK,OAAO,GAAoB,EAAqB,GAAoB,CAAC,GAAG,CAAe,CAAC;AAExG;AACA,SAAS,EAAgB,GAAK;CAC5B,OAAO,EAAI,UAAU,OAAO,eAAe,EAAI,MAAM,IAAI,EAAI,eAAe;AAC9E"}
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.bun/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
1
+ //#region ../../node_modules/.bun/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
2
2
  var e = [
3
3
  "top",
4
4
  "right",
@@ -74,11 +74,10 @@ function w(e) {
74
74
  }
75
75
  function T(e) {
76
76
  return {
77
- top: 0,
78
- right: 0,
79
- bottom: 0,
80
- left: 0,
81
- ...e
77
+ top: e.top ?? 0,
78
+ right: e.right ?? 0,
79
+ bottom: e.bottom ?? 0,
80
+ left: e.left ?? 0
82
81
  };
83
82
  }
84
83
  function E(e) {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"floating-ui.utils.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs"],"sourcesContent":["/**\n * Custom positioning reference element.\n * @see https://floating-ui.com/docs/virtual-elements\n */\n\nconst sides = ['top', 'right', 'bottom', 'left'];\nconst alignments = ['start', 'end'];\nconst placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + \"-\" + alignments[0], side + \"-\" + alignments[1]), []);\nconst min = Math.min;\nconst max = Math.max;\nconst round = Math.round;\nconst floor = Math.floor;\nconst createCoords = v => ({\n x: v,\n y: v\n});\nconst oppositeSideMap = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nfunction clamp(start, value, end) {\n return max(start, min(value, end));\n}\nfunction evaluate(value, param) {\n return typeof value === 'function' ? value(param) : value;\n}\nfunction getSide(placement) {\n return placement.split('-')[0];\n}\nfunction getAlignment(placement) {\n return placement.split('-')[1];\n}\nfunction getOppositeAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}\nfunction getAxisLength(axis) {\n return axis === 'y' ? 'height' : 'width';\n}\nfunction getSideAxis(placement) {\n const firstChar = placement[0];\n return firstChar === 't' || firstChar === 'b' ? 'y' : 'x';\n}\nfunction getAlignmentAxis(placement) {\n return getOppositeAxis(getSideAxis(placement));\n}\nfunction getAlignmentSides(placement, rects, rtl) {\n if (rtl === void 0) {\n rtl = false;\n }\n const alignment = getAlignment(placement);\n const alignmentAxis = getAlignmentAxis(placement);\n const length = getAxisLength(alignmentAxis);\n let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';\n if (rects.reference[length] > rects.floating[length]) {\n mainAlignmentSide = getOppositePlacement(mainAlignmentSide);\n }\n return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];\n}\nfunction getExpandedPlacements(placement) {\n const oppositePlacement = getOppositePlacement(placement);\n return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];\n}\nfunction getOppositeAlignmentPlacement(placement) {\n return placement.includes('start') ? placement.replace('start', 'end') : placement.replace('end', 'start');\n}\nconst lrPlacement = ['left', 'right'];\nconst rlPlacement = ['right', 'left'];\nconst tbPlacement = ['top', 'bottom'];\nconst btPlacement = ['bottom', 'top'];\nfunction getSideList(side, isStart, rtl) {\n switch (side) {\n case 'top':\n case 'bottom':\n if (rtl) return isStart ? rlPlacement : lrPlacement;\n return isStart ? lrPlacement : rlPlacement;\n case 'left':\n case 'right':\n return isStart ? tbPlacement : btPlacement;\n default:\n return [];\n }\n}\nfunction getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {\n const alignment = getAlignment(placement);\n let list = getSideList(getSide(placement), direction === 'start', rtl);\n if (alignment) {\n list = list.map(side => side + \"-\" + alignment);\n if (flipAlignment) {\n list = list.concat(list.map(getOppositeAlignmentPlacement));\n }\n }\n return list;\n}\nfunction getOppositePlacement(placement) {\n const side = getSide(placement);\n return oppositeSideMap[side] + placement.slice(side.length);\n}\nfunction expandPaddingObject(padding) {\n var _padding$top, _padding$right, _padding$bottom, _padding$left;\n return {\n top: (_padding$top = padding.top) != null ? _padding$top : 0,\n right: (_padding$right = padding.right) != null ? _padding$right : 0,\n bottom: (_padding$bottom = padding.bottom) != null ? _padding$bottom : 0,\n left: (_padding$left = padding.left) != null ? _padding$left : 0\n };\n}\nfunction getPaddingObject(padding) {\n return typeof padding !== 'number' ? expandPaddingObject(padding) : {\n top: padding,\n right: padding,\n bottom: padding,\n left: padding\n };\n}\nfunction rectToClientRect(rect) {\n const {\n x,\n y,\n width,\n height\n } = rect;\n return {\n width,\n height,\n top: y,\n left: x,\n right: x + width,\n bottom: y + height,\n x,\n y\n };\n}\n\nexport { alignments, clamp, createCoords, evaluate, expandPaddingObject, floor, getAlignment, getAlignmentAxis, getAlignmentSides, getAxisLength, getExpandedPlacements, getOppositeAlignmentPlacement, getOppositeAxis, getOppositeAxisPlacements, getOppositePlacement, getPaddingObject, getSide, getSideAxis, max, min, placements, rectToClientRect, round, sides };\n"],"x_google_ignoreList":[0],"mappings":";AAKA,IAAM,IAAQ;CAAC;CAAO;CAAS;CAAU;AAAM,GAGzC,IAAM,KAAK,KACX,IAAM,KAAK,KACX,IAAQ,KAAK,OACb,IAAQ,KAAK,OACb,KAAe,OAAM;CACzB,GAAG;CACH,GAAG;AACL,IACM,IAAkB;CACtB,MAAM;CACN,OAAO;CACP,QAAQ;CACR,KAAK;AACP;AACA,SAAS,EAAM,GAAO,GAAO,GAAK;CAChC,OAAO,EAAI,GAAO,EAAI,GAAO,CAAG,CAAC;AACnC;AACA,SAAS,EAAS,GAAO,GAAO;CAC9B,OAAO,OAAO,KAAU,aAAa,EAAM,CAAK,IAAI;AACtD;AACA,SAAS,EAAQ,GAAW;CAC1B,OAAO,EAAU,MAAM,GAAG,CAAC,CAAC;AAC9B;AACA,SAAS,EAAa,GAAW;CAC/B,OAAO,EAAU,MAAM,GAAG,CAAC,CAAC;AAC9B;AACA,SAAS,EAAgB,GAAM;CAC7B,OAAO,MAAS,MAAM,MAAM;AAC9B;AACA,SAAS,EAAc,GAAM;CAC3B,OAAO,MAAS,MAAM,WAAW;AACnC;AACA,SAAS,EAAY,GAAW;CAC9B,IAAM,IAAY,EAAU;CAC5B,OAAO,MAAc,OAAO,MAAc,MAAM,MAAM;AACxD;AACA,SAAS,EAAiB,GAAW;CACnC,OAAO,EAAgB,EAAY,CAAS,CAAC;AAC/C;AACA,SAAS,EAAkB,GAAW,GAAO,GAAK;CAChD,AAAI,MAAQ,KAAK,MACf,IAAM;CAER,IAAM,IAAY,EAAa,CAAS,GAClC,IAAgB,EAAiB,CAAS,GAC1C,IAAS,EAAc,CAAa,GACtC,IAAoB,MAAkB,MAAM,OAAe,IAAM,QAAQ,WAAW,UAA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B,EAAQ,QAAgC;CACjE;AACF;AACA,SAAS,EAAiB,GAAS;CACjC,OAAO,OAAO,KAAY,WAA0C;EAClE,KAAK;EACL,OAAO;EACP,QAAQ;EACR,MAAM;CACR,IALqC,EAAoB,CAAO;AAMlE;AACA,SAAS,EAAiB,GAAM;CAC9B,IAAM,EACJ,MACA,MACA,UACA,cACE;CACJ,OAAO;EACL;EACA;EACA,KAAK;EACL,MAAM;EACN,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ;EACA;CACF;AACF"}
@@ -1,6 +1,6 @@
1
1
  import { isServer as e } from "solid-js/web";
2
2
  import { $TRACK as t, createMemo as n, createRoot as r, createSignal as i, onCleanup as a, untrack as o } from "solid-js";
3
- //#region ../../node_modules/.bun/@solid-primitives+keyed@1.5.3+da624007e3df32b4/node_modules/@solid-primitives/keyed/dist/index.js
3
+ //#region ../../node_modules/.bun/@solid-primitives+keyed@1.5.3+ee58d66d663bac7b/node_modules/@solid-primitives/keyed/dist/index.js
4
4
  var s = Symbol("fallback");
5
5
  function c(e) {
6
6
  for (let t of e) t.dispose();
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/@solid-primitives+keyed@1.5.3+da624007e3df32b4/node_modules/@solid-primitives/keyed/dist/index.js"],"sourcesContent":["import { createMemo, createRoot, createSignal, on, onCleanup, untrack, $TRACK, mapArray, } from \"solid-js\";\nimport { isServer } from \"solid-js/web\";\nconst FALLBACK = Symbol(\"fallback\");\nfunction dispose(list) {\n for (const o of list)\n o.dispose();\n}\n/**\n * Reactively maps an array by specified key with a callback function - underlying helper for the `<Key>` control flow.\n * @param list input list of values to map\n * @param keyFn key getter, items will be identified by it's value. changing the value is changing the item.\n * @param mapFn reactive function used to create mapped output item. Similar to `Array.prototype.map` but both item and index are signals, that could change over time.\n * @param options a fallback for when the input list is empty or missing\n * @returns mapped input array signal\n * @see https://github.com/solidjs-community/solid-primitives/tree/main/packages/keyed#keyArray\n */\nexport function keyArray(items, keyFn, mapFn, options = {}) {\n // SERVER NOOP\n if (isServer) {\n const itemsRef = items();\n let s = [];\n if (itemsRef && itemsRef.length) {\n for (let i = 0, len = itemsRef.length; i < len; i++)\n s.push(mapFn(() => itemsRef[i], () => i));\n }\n else if (options.fallback)\n s = [options.fallback()];\n return () => s;\n }\n const prev = new Map();\n onCleanup(() => dispose(prev.values()));\n return () => {\n const list = items() || [];\n list[$TRACK]; // top level store tracking\n return untrack(() => {\n // fast path for empty arrays\n if (!list.length) {\n dispose(prev.values());\n prev.clear();\n if (!options.fallback)\n return [];\n const fb = createRoot(dispose => {\n prev.set(FALLBACK, { dispose });\n return options.fallback();\n });\n return [fb];\n }\n const result = new Array(list.length);\n // fast path for new create or after fallback\n const fb = prev.get(FALLBACK);\n if (!prev.size || fb) {\n fb?.dispose();\n prev.delete(FALLBACK);\n for (let i = 0; i < list.length; i++) {\n const item = list[i];\n const key = keyFn(item, i);\n addNewItem(result, item, i, key);\n }\n return result;\n }\n const prevKeys = new Set(prev.keys());\n for (let i = 0; i < list.length; i++) {\n const item = list[i];\n const key = keyFn(item, i);\n prevKeys.delete(key);\n const lookup = prev.get(key);\n if (lookup) {\n result[i] = lookup.mapped;\n lookup.setIndex?.(i);\n lookup.setItem(() => item);\n }\n else\n addNewItem(result, item, i, key);\n }\n for (const key of prevKeys) {\n prev.get(key)?.dispose();\n prev.delete(key);\n }\n return result;\n });\n };\n function addNewItem(list, item, i, key) {\n createRoot(dispose => {\n const [getItem, setItem] = createSignal(item);\n const save = { setItem, dispose };\n if (mapFn.length > 1) {\n const [index, setIndex] = createSignal(i);\n save.setIndex = setIndex;\n save.mapped = mapFn(getItem, index);\n }\n else\n save.mapped = mapFn(getItem);\n prev.set(key, save);\n list[i] = save.mapped;\n });\n }\n}\n/**\n * creates a list of elements from the input `each` list\n *\n * it receives a map function as its child that receives a **list item signal** and **index signal** and returns a JSX-Element; if the list is empty, an optional fallback is returned:\n * ```tsx\n * <Key each={items()} by={item => item.id} fallback={<div>No items</div>}>\n * {(item, index) => <div data-index={index()}>{item()}</div>}\n * </Key>\n * ```\n *\n * prop `by` can also be an object key:\n * ```tsx\n * <Key each={items()} by=\"id\">\n * ```\n *\n * @see https://github.com/solidjs-community/solid-primitives/tree/main/packages/keyed#Key\n */\nexport function Key(props) {\n const { by } = props;\n return createMemo(keyArray(() => props.each, typeof by === \"function\" ? by : (v) => v[by], props.children, \"fallback\" in props ? { fallback: () => props.fallback } : undefined));\n}\n/**\n * creates a list of elements from the entries of provided object\n *\n * @param props\n * @param props.of object to iterate entries of (`Object.entries(object)`)\n * @param props.children\n * a map render function that receives an object key, **value signal** and **index signal** and returns a JSX-Element; if the list is empty, an optional fallback is returned:\n * ```tsx\n * <Entries of={object()} fallback={<div>No items</div>}>\n * {(key, value, index) => <div data-index={index()}>{key}: {value()}</div>}\n * </Entries>\n * ```\n *\n * @see https://github.com/solidjs-community/solid-primitives/tree/main/packages/keyed#Entries\n */\nexport function Entries(props) {\n // changes to this function may be applicable to similar functions - grep 4A29BECD-767A-4CC0-AEBB-3543D7B444C6\n const mapFn = props.children;\n return createMemo(mapArray(() => props.of && Object.keys(props.of), mapFn.length < 3\n ? key => mapFn(key, () => props.of[key])\n : (key, i) => mapFn(key, () => props.of[key], i), \"fallback\" in props ? { fallback: () => props.fallback } : undefined));\n}\n/**\n * Creates a list of elements from the entries of provided Map\n *\n * @param props\n * @param props.of map to iterate entries of (`myMap.entries()`)\n * @param props.children\n * a map render function that receives a Map key, **value signal** and **index signal** and returns a JSX-Element; if the list is empty, an optional fallback is returned:\n * ```tsx\n * <MapEntries of={map()} fallback={<div>No items</div>}>\n * {(key, value, index) => <div data-index={index()}>{key}: {value()}</div>}\n * </MapEntries>\n * ```\n *\n * @see https://github.com/solidjs-community/solid-primitives/tree/main/packages/keyed#mapentries\n */\nexport function MapEntries(props) {\n // changes to this function may be applicable to similar functions - grep 4A29BECD-767A-4CC0-AEBB-3543D7B444C6\n const mapFn = props.children;\n return createMemo(mapArray(() => props.of && Array.from(props.of.keys()), mapFn.length < 3\n ? key => mapFn(key, () => props.of.get(key))\n : (key, i) => mapFn(key, () => props.of.get(key), i), \"fallback\" in props ? { fallback: () => props.fallback } : undefined));\n}\n/**\n * Creates a list of elements from the values of provided Set\n *\n * @param props\n * @param props.of set to iterate values of (`mySet.values()`)\n * @param props.children\n * a map render function that receives a Set value and **index signal** and returns a JSX-Element; if the list is empty, an optional fallback is returned:\n * ```tsx\n * <SetValues of={set()} fallback={<div>No items</div>}>\n * {(value, index) => <div data-index={index()}>{value)}</div>}\n * </SetValues>\n * ```\n *\n * @see https://github.com/solidjs-community/solid-primitives/tree/main/packages/keyed#setvalues\n */\nexport function SetValues(props) {\n // changes to this function may be applicable to similar functions - grep 4A29BECD-767A-4CC0-AEBB-3543D7B444C6\n const mapFn = props.children;\n return createMemo(mapArray(() => props.of && Array.from(props.of.values()), mapFn.length < 2 ? value => mapFn(value) : mapFn, \"fallback\" in props ? { fallback: () => props.fallback } : undefined));\n}\nexport function Rerun(props) {\n const key = typeof props.on === \"function\" || Array.isArray(props.on) ? props.on : () => props.on;\n return createMemo(on(key, (a, b) => {\n const child = props.children;\n return typeof child === \"function\" && child.length > 0 ? child(a, b) : child;\n }));\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AAEA,IAAM,IAAW,OAAO,UAAU;AAClC,SAAS,EAAQ,GAAM;CACnB,KAAK,IAAM,KAAK,GACZ,EAAE,QAAQ;AAClB;AAUA,SAAgB,EAAS,GAAO,GAAO,GAAO,IAAU,CAAC,GAAG;CAExD,IAAI,GAAU;EACV,IAAM,IAAW,EAAM,GACnB,IAAI,CAAC;EACT,IAAI,KAAY,EAAS,QACrB,KAAK,IAAI,IAAI,GAAG,IAAM,EAAS,QAAQ,IAAI,GAAK,KAC5C,EAAE,KAAK,QAAY,EAAS,UAAU,CAAC,CAAC;OAE3C,AAAI,EAAQ,aACb,IAAI,CAAC,EAAQ,SAAS,CAAC;EAC3B,aAAa;CACjB;CACA,IAA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GACtC,IAAO;IAAE;IAAS;GAAQ;GAChC,IAAI,EAAM,SAAS,GAAG;IAClB,IAAM,CAAC,GAAO,KAAY,EAAa,CAAC;IAExC,AADA,EAAK,WAAW,GAChB,EAAK,SAAS,EAAM,GAAS,CAAK;GACtC,OAEI,EAAK,SAAS,EAAM,CAAO;GAE/B,AADA,EAAK,IAAI,GAAK,CAAI,GAClB,EAAK,KAAK,EAAK;EACnB,CAAC;CACL;AACJ;AAkBA,SAAgB,EAAI,GAAO;CACvB,IAAM,EAAE,UAAO;CACf,OAAO,EAAW,QAAe,EAAM,MAAM,OAAO,KAAO,aAAa,KAAM,MAAM,EAAE,IAAK,EAAM,UAAU,cAAc,IAAQ,EAAE,gBAAgB,EAAM,SAAS,IAAI,KAAA,CAAS,CAAC;AACpL"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/@solid-primitives+keyed@1.5.3+ee58d66d663bac7b/node_modules/@solid-primitives/keyed/dist/index.js"],"sourcesContent":["import { createMemo, createRoot, createSignal, on, onCleanup, untrack, $TRACK, mapArray, } from \"solid-js\";\nimport { isServer } from \"solid-js/web\";\nconst FALLBACK = Symbol(\"fallback\");\nfunction dispose(list) {\n for (const o of list)\n o.dispose();\n}\n/**\n * Reactively maps an array by specified key with a callback function - underlying helper for the `<Key>` control flow.\n * @param list input list of values to map\n * @param keyFn key getter, items will be identified by it's value. changing the value is changing the item.\n * @param mapFn reactive function used to create mapped output item. Similar to `Array.prototype.map` but both item and index are signals, that could change over time.\n * @param options a fallback for when the input list is empty or missing\n * @returns mapped input array signal\n * @see https://github.com/solidjs-community/solid-primitives/tree/main/packages/keyed#keyArray\n */\nexport function keyArray(items, keyFn, mapFn, options = {}) {\n // SERVER NOOP\n if (isServer) {\n const itemsRef = items();\n let s = [];\n if (itemsRef && itemsRef.length) {\n for (let i = 0, len = itemsRef.length; i < len; i++)\n s.push(mapFn(() => itemsRef[i], () => i));\n }\n else if (options.fallback)\n s = [options.fallback()];\n return () => s;\n }\n const prev = new Map();\n onCleanup(() => dispose(prev.values()));\n return () => {\n const list = items() || [];\n list[$TRACK]; // top level store tracking\n return untrack(() => {\n // fast path for empty arrays\n if (!list.length) {\n dispose(prev.values());\n prev.clear();\n if (!options.fallback)\n return [];\n const fb = createRoot(dispose => {\n prev.set(FALLBACK, { dispose });\n return options.fallback();\n });\n return [fb];\n }\n const result = new Array(list.length);\n // fast path for new create or after fallback\n const fb = prev.get(FALLBACK);\n if (!prev.size || fb) {\n fb?.dispose();\n prev.delete(FALLBACK);\n for (let i = 0; i < list.length; i++) {\n const item = list[i];\n const key = keyFn(item, i);\n addNewItem(result, item, i, key);\n }\n return result;\n }\n const prevKeys = new Set(prev.keys());\n for (let i = 0; i < list.length; i++) {\n const item = list[i];\n const key = keyFn(item, i);\n prevKeys.delete(key);\n const lookup = prev.get(key);\n if (lookup) {\n result[i] = lookup.mapped;\n lookup.setIndex?.(i);\n lookup.setItem(() => item);\n }\n else\n addNewItem(result, item, i, key);\n }\n for (const key of prevKeys) {\n prev.get(key)?.dispose();\n prev.delete(key);\n }\n return result;\n });\n };\n function addNewItem(list, item, i, key) {\n createRoot(dispose => {\n const [getItem, setItem] = createSignal(item);\n const save = { setItem, dispose };\n if (mapFn.length > 1) {\n const [index, setIndex] = createSignal(i);\n save.setIndex = setIndex;\n save.mapped = mapFn(getItem, index);\n }\n else\n save.mapped = mapFn(getItem);\n prev.set(key, save);\n list[i] = save.mapped;\n });\n }\n}\n/**\n * creates a list of elements from the input `each` list\n *\n * it receives a map function as its child that receives a **list item signal** and **index signal** and returns a JSX-Element; if the list is empty, an optional fallback is returned:\n * ```tsx\n * <Key each={items()} by={item => item.id} fallback={<div>No items</div>}>\n * {(item, index) => <div data-index={index()}>{item()}</div>}\n * </Key>\n * ```\n *\n * prop `by` can also be an object key:\n * ```tsx\n * <Key each={items()} by=\"id\">\n * ```\n *\n * @see https://github.com/solidjs-community/solid-primitives/tree/main/packages/keyed#Key\n */\nexport function Key(props) {\n const { by } = props;\n return createMemo(keyArray(() => props.each, typeof by === \"function\" ? by : (v) => v[by], props.children, \"fallback\" in props ? { fallback: () => props.fallback } : undefined));\n}\n/**\n * creates a list of elements from the entries of provided object\n *\n * @param props\n * @param props.of object to iterate entries of (`Object.entries(object)`)\n * @param props.children\n * a map render function that receives an object key, **value signal** and **index signal** and returns a JSX-Element; if the list is empty, an optional fallback is returned:\n * ```tsx\n * <Entries of={object()} fallback={<div>No items</div>}>\n * {(key, value, index) => <div data-index={index()}>{key}: {value()}</div>}\n * </Entries>\n * ```\n *\n * @see https://github.com/solidjs-community/solid-primitives/tree/main/packages/keyed#Entries\n */\nexport function Entries(props) {\n // changes to this function may be applicable to similar functions - grep 4A29BECD-767A-4CC0-AEBB-3543D7B444C6\n const mapFn = props.children;\n return createMemo(mapArray(() => props.of && Object.keys(props.of), mapFn.length < 3\n ? key => mapFn(key, () => props.of[key])\n : (key, i) => mapFn(key, () => props.of[key], i), \"fallback\" in props ? { fallback: () => props.fallback } : undefined));\n}\n/**\n * Creates a list of elements from the entries of provided Map\n *\n * @param props\n * @param props.of map to iterate entries of (`myMap.entries()`)\n * @param props.children\n * a map render function that receives a Map key, **value signal** and **index signal** and returns a JSX-Element; if the list is empty, an optional fallback is returned:\n * ```tsx\n * <MapEntries of={map()} fallback={<div>No items</div>}>\n * {(key, value, index) => <div data-index={index()}>{key}: {value()}</div>}\n * </MapEntries>\n * ```\n *\n * @see https://github.com/solidjs-community/solid-primitives/tree/main/packages/keyed#mapentries\n */\nexport function MapEntries(props) {\n // changes to this function may be applicable to similar functions - grep 4A29BECD-767A-4CC0-AEBB-3543D7B444C6\n const mapFn = props.children;\n return createMemo(mapArray(() => props.of && Array.from(props.of.keys()), mapFn.length < 3\n ? key => mapFn(key, () => props.of.get(key))\n : (key, i) => mapFn(key, () => props.of.get(key), i), \"fallback\" in props ? { fallback: () => props.fallback } : undefined));\n}\n/**\n * Creates a list of elements from the values of provided Set\n *\n * @param props\n * @param props.of set to iterate values of (`mySet.values()`)\n * @param props.children\n * a map render function that receives a Set value and **index signal** and returns a JSX-Element; if the list is empty, an optional fallback is returned:\n * ```tsx\n * <SetValues of={set()} fallback={<div>No items</div>}>\n * {(value, index) => <div data-index={index()}>{value)}</div>}\n * </SetValues>\n * ```\n *\n * @see https://github.com/solidjs-community/solid-primitives/tree/main/packages/keyed#setvalues\n */\nexport function SetValues(props) {\n // changes to this function may be applicable to similar functions - grep 4A29BECD-767A-4CC0-AEBB-3543D7B444C6\n const mapFn = props.children;\n return createMemo(mapArray(() => props.of && Array.from(props.of.values()), mapFn.length < 2 ? value => mapFn(value) : mapFn, \"fallback\" in props ? { fallback: () => props.fallback } : undefined));\n}\nexport function Rerun(props) {\n const key = typeof props.on === \"function\" || Array.isArray(props.on) ? props.on : () => props.on;\n return createMemo(on(key, (a, b) => {\n const child = props.children;\n return typeof child === \"function\" && child.length > 0 ? child(a, b) : child;\n }));\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AAEA,IAAM,IAAW,OAAO,UAAU;AAClC,SAAS,EAAQ,GAAM;CACnB,KAAK,IAAM,KAAK,GACZ,EAAE,QAAQ;AAClB;AAUA,SAAgB,EAAS,GAAO,GAAO,GAAO,IAAU,CAAC,GAAG;CAExD,IAAI,GAAU;EACV,IAAM,IAAW,EAAM,GACnB,IAAI,CAAC;EACT,IAAI,KAAY,EAAS,QACrB,KAAK,IAAI,IAAI,GAAG,IAAM,EAAS,QAAQ,IAAI,GAAK,KAC5C,EAAE,KAAK,QAAY,EAAS,UAAU,CAAC,CAAC;OAE3C,AAAI,EAAQ,aACb,IAAI,CAAC,EAAQ,SAAS,CAAC;EAC3B,aAAa;CACjB;CACA,IAAM,oBAAO,IAAI,IAAI;CAErB,OADA,QAAgB,EAAQ,EAAK,OAAO,CAAC,CAAC,SACzB;EACT,IAAM,IAAO,EAAM,KAAK,CAAC;EAEzB,OADA,EAAK,IACE,QAAc;GAEjB,IAAI,CAAC,EAAK,QASN,OARA,EAAQ,EAAK,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AM,CAAO;GAE/B,AADA,EAAK,IAAI,GAAK,CAAI,GAClB,EAAK,KAAK,EAAK;EACnB,CAAC;CACL;AACJ;AAkBA,SAAgB,EAAI,GAAO;CACvB,IAAM,EAAE,UAAO;CACf,OAAO,EAAW,QAAe,EAAM,MAAM,OAAO,KAAO,aAAa,KAAM,MAAM,EAAE,IAAK,EAAM,UAAU,cAAc,IAAQ,EAAE,gBAAgB,EAAM,SAAS,IAAI,KAAA,CAAS,CAAC;AACpL"}
@@ -117,7 +117,7 @@ function d(e) {
117
117
  return e === "indeterminate";
118
118
  }
119
119
  function f(e) {
120
- return d(e) ? !1 : !!e;
120
+ return !d(e) && !!e;
121
121
  }
122
122
  //#endregion
123
123
  export { u as machine };
@@ -1 +1 @@
1
- {"version":3,"file":"checkbox.machine.js","names":["dom.getRootEl","dom.getHiddenInputEl"],"sources":["../../../../../../../../../../node_modules/.bun/@zag-js+checkbox@1.41.2/node_modules/@zag-js/checkbox/dist/checkbox.machine.mjs"],"sourcesContent":["// src/checkbox.machine.ts\nimport { createGuards, createMachine } from \"@zag-js/core\";\nimport { dispatchInputCheckedEvent, setElementChecked, trackFormControl, trackPress } from \"@zag-js/dom-query\";\nimport { trackFocusVisible } from \"@zag-js/focus-visible\";\nimport * as dom from \"./checkbox.dom.mjs\";\nvar { not } = createGuards();\nvar machine = createMachine({\n props({ props }) {\n return {\n value: \"on\",\n ...props,\n defaultChecked: props.defaultChecked ?? false\n };\n },\n initialState() {\n return \"ready\";\n },\n context({ prop, bindable }) {\n return {\n checked: bindable(() => ({\n defaultValue: prop(\"defaultChecked\"),\n value: prop(\"checked\"),\n onChange(checked) {\n prop(\"onCheckedChange\")?.({ checked });\n }\n })),\n fieldsetDisabled: bindable(() => ({ defaultValue: false })),\n focusVisible: bindable(() => ({ defaultValue: false })),\n active: bindable(() => ({ defaultValue: false })),\n focused: bindable(() => ({ defaultValue: false })),\n hovered: bindable(() => ({ defaultValue: false }))\n };\n },\n watch({ track, context, prop, action }) {\n track([() => prop(\"disabled\")], () => {\n action([\"removeFocusIfNeeded\"]);\n });\n track([() => context.get(\"checked\")], () => {\n action([\"syncInputElement\"]);\n });\n },\n effects: [\"trackFormControlState\", \"trackPressEvent\", \"trackFocusVisible\"],\n on: {\n \"CHECKED.TOGGLE\": [\n {\n guard: not(\"isTrusted\"),\n actions: [\"toggleChecked\", \"dispatchChangeEvent\"]\n },\n {\n actions: [\"toggleChecked\"]\n }\n ],\n \"CHECKED.SET\": [\n {\n guard: not(\"isTrusted\"),\n actions: [\"setChecked\", \"dispatchChangeEvent\"]\n },\n {\n actions: [\"setChecked\"]\n }\n ],\n \"CONTEXT.SET\": {\n actions: [\"setContext\"]\n }\n },\n computed: {\n indeterminate: ({ context }) => isIndeterminate(context.get(\"checked\")),\n checked: ({ context }) => isChecked(context.get(\"checked\")),\n disabled: ({ context, prop }) => !!prop(\"disabled\") || context.get(\"fieldsetDisabled\")\n },\n states: {\n ready: {}\n },\n implementations: {\n guards: {\n isTrusted: ({ event }) => !!event.isTrusted\n },\n effects: {\n trackPressEvent({ context, computed, scope }) {\n if (computed(\"disabled\")) return;\n return trackPress({\n pointerNode: dom.getRootEl(scope),\n keyboardNode: dom.getHiddenInputEl(scope),\n isValidKey: (event) => event.key === \" \",\n onPress: () => context.set(\"active\", false),\n onPressStart: () => context.set(\"active\", true),\n onPressEnd: () => context.set(\"active\", false)\n });\n },\n trackFocusVisible({ computed, scope }) {\n if (computed(\"disabled\")) return;\n return trackFocusVisible({ root: scope.getRootNode?.() });\n },\n trackFormControlState({ context, scope }) {\n return trackFormControl(dom.getHiddenInputEl(scope), {\n onFieldsetDisabledChange(disabled) {\n context.set(\"fieldsetDisabled\", disabled);\n },\n onFormReset() {\n context.set(\"checked\", context.initial(\"checked\"));\n }\n });\n }\n },\n actions: {\n setContext({ context, event }) {\n for (const key in event.context) {\n context.set(key, event.context[key]);\n }\n },\n syncInputElement({ context, computed, scope }) {\n const inputEl = dom.getHiddenInputEl(scope);\n if (!inputEl) return;\n setElementChecked(inputEl, computed(\"checked\"));\n inputEl.indeterminate = isIndeterminate(context.get(\"checked\"));\n },\n removeFocusIfNeeded({ context, prop }) {\n if (prop(\"disabled\") && context.get(\"focused\")) {\n context.set(\"focused\", false);\n context.set(\"focusVisible\", false);\n }\n },\n setChecked({ context, event }) {\n context.set(\"checked\", event.checked);\n },\n toggleChecked({ context, computed }) {\n const checked = isIndeterminate(computed(\"checked\")) ? true : !computed(\"checked\");\n context.set(\"checked\", checked);\n },\n dispatchChangeEvent({ computed, scope }) {\n queueMicrotask(() => {\n const inputEl = dom.getHiddenInputEl(scope);\n dispatchInputCheckedEvent(inputEl, { checked: computed(\"checked\") });\n });\n }\n }\n }\n});\nfunction isIndeterminate(checked) {\n return checked === \"indeterminate\";\n}\nfunction isChecked(checked) {\n return isIndeterminate(checked) ? false : !!checked;\n}\nexport {\n machine\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;;;AAKA,IAAI,EAAE,WAAQ,EAAa,GACvB,IAAU,EAAc;CAC1B,MAAM,EAAE,YAAS;EACf,OAAO;GACL,OAAO;GACP,GAAG;GACH,gBAAgB,EAAM,kBAAkB;EAC1C;CACF;CACA,eAAe;EACb,OAAO;CACT;CACA,QAAQ,EAAE,SAAM,eAAY;EAC1B,OAAO;GACL,SAAS,SAAgB;IACvB,cAAc,EAAK,gBAAgB;IACnC,OAAO,EAAK,SAAS;IACrB,SAAS,GAAS;KAChB,EAAK,iBAAiB,CAAC,GAAG,EAAE,WAAQ,CAAC;IACvC;GACF,EAAE;GACF,kBAAkB,SAAgB,EAAE,cAAc,GAAM,EAAE;GAC1D,cAAc,SAAgB,EAAE,cAAc,GAAM,EAAE;GACtD,QAAQ,SAAgB,EAAE,cAAc,GAAM,EAAE;GAChD,SAAS,SAAgB,EAAE,cAAc,GAAM,EAAE;GACjD,SAAS,SAAgB,EAAE,cAAc,GAAM,EAAE;EACnD;CACF;CACA,MAAM,EAAE,UAAO,YAAS,SAAM,aAAU;EAItC,AAHA,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El","dom.getHiddenInputEl"],"sources":["../../../../../../../../../../node_modules/.bun/@zag-js+checkbox@1.41.2/node_modules/@zag-js/checkbox/dist/checkbox.machine.mjs"],"sourcesContent":["// src/checkbox.machine.ts\nimport { createGuards, createMachine } from \"@zag-js/core\";\nimport { dispatchInputCheckedEvent, setElementChecked, trackFormControl, trackPress } from \"@zag-js/dom-query\";\nimport { trackFocusVisible } from \"@zag-js/focus-visible\";\nimport * as dom from \"./checkbox.dom.mjs\";\nvar { not } = createGuards();\nvar machine = createMachine({\n props({ props }) {\n return {\n value: \"on\",\n ...props,\n defaultChecked: props.defaultChecked ?? false\n };\n },\n initialState() {\n return \"ready\";\n },\n context({ prop, bindable }) {\n return {\n checked: bindable(() => ({\n defaultValue: prop(\"defaultChecked\"),\n value: prop(\"checked\"),\n onChange(checked) {\n prop(\"onCheckedChange\")?.({ checked });\n }\n })),\n fieldsetDisabled: bindable(() => ({ defaultValue: false })),\n focusVisible: bindable(() => ({ defaultValue: false })),\n active: bindable(() => ({ defaultValue: false })),\n focused: bindable(() => ({ defaultValue: false })),\n hovered: bindable(() => ({ defaultValue: false }))\n };\n },\n watch({ track, context, prop, action }) {\n track([() => prop(\"disabled\")], () => {\n action([\"removeFocusIfNeeded\"]);\n });\n track([() => context.get(\"checked\")], () => {\n action([\"syncInputElement\"]);\n });\n },\n effects: [\"trackFormControlState\", \"trackPressEvent\", \"trackFocusVisible\"],\n on: {\n \"CHECKED.TOGGLE\": [\n {\n guard: not(\"isTrusted\"),\n actions: [\"toggleChecked\", \"dispatchChangeEvent\"]\n },\n {\n actions: [\"toggleChecked\"]\n }\n ],\n \"CHECKED.SET\": [\n {\n guard: not(\"isTrusted\"),\n actions: [\"setChecked\", \"dispatchChangeEvent\"]\n },\n {\n actions: [\"setChecked\"]\n }\n ],\n \"CONTEXT.SET\": {\n actions: [\"setContext\"]\n }\n },\n computed: {\n indeterminate: ({ context }) => isIndeterminate(context.get(\"checked\")),\n checked: ({ context }) => isChecked(context.get(\"checked\")),\n disabled: ({ context, prop }) => !!prop(\"disabled\") || context.get(\"fieldsetDisabled\")\n },\n states: {\n ready: {}\n },\n implementations: {\n guards: {\n isTrusted: ({ event }) => !!event.isTrusted\n },\n effects: {\n trackPressEvent({ context, computed, scope }) {\n if (computed(\"disabled\")) return;\n return trackPress({\n pointerNode: dom.getRootEl(scope),\n keyboardNode: dom.getHiddenInputEl(scope),\n isValidKey: (event) => event.key === \" \",\n onPress: () => context.set(\"active\", false),\n onPressStart: () => context.set(\"active\", true),\n onPressEnd: () => context.set(\"active\", false)\n });\n },\n trackFocusVisible({ computed, scope }) {\n if (computed(\"disabled\")) return;\n return trackFocusVisible({ root: scope.getRootNode?.() });\n },\n trackFormControlState({ context, scope }) {\n return trackFormControl(dom.getHiddenInputEl(scope), {\n onFieldsetDisabledChange(disabled) {\n context.set(\"fieldsetDisabled\", disabled);\n },\n onFormReset() {\n context.set(\"checked\", context.initial(\"checked\"));\n }\n });\n }\n },\n actions: {\n setContext({ context, event }) {\n for (const key in event.context) {\n context.set(key, event.context[key]);\n }\n },\n syncInputElement({ context, computed, scope }) {\n const inputEl = dom.getHiddenInputEl(scope);\n if (!inputEl) return;\n setElementChecked(inputEl, computed(\"checked\"));\n inputEl.indeterminate = isIndeterminate(context.get(\"checked\"));\n },\n removeFocusIfNeeded({ context, prop }) {\n if (prop(\"disabled\") && context.get(\"focused\")) {\n context.set(\"focused\", false);\n context.set(\"focusVisible\", false);\n }\n },\n setChecked({ context, event }) {\n context.set(\"checked\", event.checked);\n },\n toggleChecked({ context, computed }) {\n const checked = isIndeterminate(computed(\"checked\")) ? true : !computed(\"checked\");\n context.set(\"checked\", checked);\n },\n dispatchChangeEvent({ computed, scope }) {\n queueMicrotask(() => {\n const inputEl = dom.getHiddenInputEl(scope);\n dispatchInputCheckedEvent(inputEl, { checked: computed(\"checked\") });\n });\n }\n }\n }\n});\nfunction isIndeterminate(checked) {\n return checked === \"indeterminate\";\n}\nfunction isChecked(checked) {\n return isIndetermin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