@fde-desktop/fde-core 0.4.8 → 0.4.9

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 (250) hide show
  1. package/dist/{AccordionChevron-CJXAq5o5.js → AccordionChevron-DxpOyInK.js} +1 -1
  2. package/dist/AccordionChevron-kn5kSrEc.cjs +1 -0
  3. package/dist/{ActionIcon-CtVbYlGY.js → ActionIcon-Drh4p6Fv.js} +32 -32
  4. package/dist/ActionIcon-alk2zZD6.cjs +1 -0
  5. package/dist/AppEmptyState-BWCUbf-B.cjs +1 -0
  6. package/dist/AppEmptyState-Bxpit0JV.js +49 -0
  7. package/dist/AppIcon-BU7a3ZNH.cjs +1 -0
  8. package/dist/{AppIcon-DCDuaU-t.js → AppIcon-XumS3bIG.js} +4 -4
  9. package/dist/AppMenuBar-B9U0n1Vv.cjs +1 -0
  10. package/dist/AppMenuBar-CnIEVjr8.js +2049 -0
  11. package/dist/{Box-DRm8EabO.js → Box-DSKR_qaa.js} +257 -271
  12. package/dist/Box-zW6Twge8.cjs +1 -0
  13. package/dist/Button-DMlnrqyx.cjs +1 -0
  14. package/dist/{Button-k7SxX1Xl.js → Button-wTOTQKxF.js} +38 -38
  15. package/dist/CalendarApp-B_e1B1Yn.cjs +1 -0
  16. package/dist/CalendarApp-C-l9D6nd.cjs +1 -0
  17. package/dist/CalendarApp-D0ftTCTG.js +1399 -0
  18. package/dist/{Center-CyryG5zn.js → Center-CmxXB9ql.js} +1 -1
  19. package/dist/Center-DKUE2pER.cjs +1 -0
  20. package/dist/CheckIcon-CZhtJD1O.cjs +1 -0
  21. package/dist/{CheckIcon-C3WjIR2i.js → CheckIcon-N5qBqXQJ.js} +1 -1
  22. package/dist/CodeServerApp-BOoGwZ7r.cjs +1 -0
  23. package/dist/CodeServerApp-Be3I5EGg.cjs +1 -0
  24. package/dist/{CodeServerApp-DY94cy1a.js → CodeServerApp-DW18EZxa.js} +48 -47
  25. package/dist/{ColorPicker-DvRR-wlQ.js → ColorPicker-BCNqi02x.js} +364 -364
  26. package/dist/ColorPicker-BrDE7tMO.cjs +1 -0
  27. package/dist/CreateItemApp-B12M1E_1.cjs +1 -0
  28. package/dist/{CreateItemApp-CtdH1K1g.js → CreateItemApp-TAAprby3.js} +13 -13
  29. package/dist/CreateItemApp-ePB6ujNl.cjs +1 -0
  30. package/dist/DeviceInfoApp-BMF18BGo.cjs +1 -0
  31. package/dist/DeviceInfoApp-DRy0H3aT.cjs +1 -0
  32. package/dist/{DeviceInfoApp-C306YvtZ.js → DeviceInfoApp-lgpwkeRR.js} +7 -7
  33. package/dist/{DownloadProgress-hdupSUBT.js → DownloadProgress-EoyCaD5O.js} +15 -15
  34. package/dist/DownloadProgress-VNdj22U8.cjs +1 -0
  35. package/dist/{FileIcon-BCpGMI5U.js → FileIcon-7JaSR3Gn.js} +26 -25
  36. package/dist/FileIcon-CIXopWLv.cjs +1 -0
  37. package/dist/{FilePickerApp-DMGuvahM.js → FilePickerApp-DaMgEqKh.js} +115 -115
  38. package/dist/FilePickerApp-DjmuSFqa.cjs +1 -0
  39. package/dist/FilesApp-Bp7wfrBZ.cjs +1 -0
  40. package/dist/FilesApp-BpJJRKhi.cjs +1 -0
  41. package/dist/{FilesApp-VXrmtt63.js → FilesApp-Cj94QG5o.js} +21 -21
  42. package/dist/{Group-BzwlMeob.js → Group-CtBJSfCo.js} +1 -1
  43. package/dist/Group-Dsrf6lEK.cjs +1 -0
  44. package/dist/{ImageViewerApp-CWiP6zx-.js → ImageViewerApp-BaLP3gkO.js} +18 -17
  45. package/dist/ImageViewerApp-DlHGeB3S.cjs +1 -0
  46. package/dist/ImageViewerApp-DoXd_Swu.cjs +1 -0
  47. package/dist/{ImageViewerMenuBar-BULkh_Ku.js → ImageViewerMenuBar-CabGSi9r.js} +15 -14
  48. package/dist/ImageViewerMenuBar-SAI7UNz7.cjs +1 -0
  49. package/dist/ImageViewerMenuBar-_Jr29gii.cjs +1 -0
  50. package/dist/MenuEditApp-BJjlPTOa.cjs +1 -0
  51. package/dist/MenuEditApp-BTRppYnD.js +497 -0
  52. package/dist/MenuEditApp-JPsGT-S3.cjs +1 -0
  53. package/dist/MenuEditMenuBar-BydGkqMw.cjs +1 -0
  54. package/dist/MenuEditMenuBar-DptlwVPQ.cjs +1 -0
  55. package/dist/{MenuEditMenuBar-B94z4Umw.js → MenuEditMenuBar-x1IQrHP2.js} +13 -12
  56. package/dist/NotesApp-BOcRGO7w.cjs +1 -0
  57. package/dist/NotesApp-CQe7UfBC.js +364 -0
  58. package/dist/NotesApp-OL07JXRE.cjs +1 -0
  59. package/dist/NotesMenuBar-BSI_2Y7p.cjs +1 -0
  60. package/dist/NotesMenuBar-Df6aW85J.cjs +1 -0
  61. package/dist/{NotesMenuBar-BB4NkKGf.js → NotesMenuBar-VhpIe68v.js} +10 -9
  62. package/dist/{Paper-DtUYKmYn.js → Paper-BX_9odR6.js} +3 -3
  63. package/dist/Paper-D8-BaBx2.cjs +1 -0
  64. package/dist/PdfApp-CNEbty5v.cjs +1 -0
  65. package/dist/PdfApp-CVv3ZCaM.cjs +1 -0
  66. package/dist/PdfApp-DL_R9-Nc.js +39 -0
  67. package/dist/PdfMenuBar--E6kDyrT.cjs +1 -0
  68. package/dist/PdfMenuBar-DZCLSOpR.js +39 -0
  69. package/dist/PdfMenuBar-Dj5cJUkg.cjs +1 -0
  70. package/dist/SettingsApp-BlmHuAjT.js +1831 -0
  71. package/dist/SettingsApp-CNvIgf5B.cjs +1 -0
  72. package/dist/SettingsApp-DWxanNE4.cjs +1 -0
  73. package/dist/SettingsMenuBar-CBoOBCfx.cjs +1 -0
  74. package/dist/SettingsMenuBar-DQooFkZN.cjs +1 -0
  75. package/dist/SettingsMenuBar-YWiJHaxq.js +42 -0
  76. package/dist/Slider-BUiHxjKO.cjs +1 -0
  77. package/dist/{Slider-BNO-vDFn.js → Slider-t-NcD60t.js} +148 -147
  78. package/dist/{Stack-CuDEaP7e.js → Stack-Bp1Ek2Gp.js} +1 -1
  79. package/dist/Stack-D4jAiRfc.cjs +1 -0
  80. package/dist/StorybookApp-CDLV_kja.cjs +1 -0
  81. package/dist/{StorybookApp-WYninkJo.js → StorybookApp-DKwlPCmo.js} +1 -1
  82. package/dist/TerminalApp-BCB7i1lR.cjs +1 -0
  83. package/dist/TerminalApp-BYc_gHLe.js +326 -0
  84. package/dist/TerminalApp-Dviz6aP2.cjs +1 -0
  85. package/dist/{TerminalMenuBar-iKLydNda.js → TerminalMenuBar-D5tPmgR_.js} +15 -14
  86. package/dist/TerminalMenuBar-DNshPmCa.cjs +1 -0
  87. package/dist/TerminalMenuBar-HzMSR7XP.cjs +1 -0
  88. package/dist/{TextInput-C3qfxxWI.js → TextInput-C-JtGWn1.js} +264 -263
  89. package/dist/TextInput-CrsmcOip.cjs +1 -0
  90. package/dist/Tooltip-D5Cd9wtz.cjs +1 -0
  91. package/dist/Tooltip-DOeIvhrO.js +1142 -0
  92. package/dist/{UnstyledButton-CI3kyRck.js → UnstyledButton-DGaG-e_G.js} +1 -1
  93. package/dist/UnstyledButton-DX2pTahr.cjs +1 -0
  94. package/dist/UploaderApp-C6xA5Rrf2.cjs +1 -0
  95. package/dist/UploaderApp-DnHIRxB_.cjs +1 -0
  96. package/dist/{UploaderApp-C9W_yCT-.js → UploaderApp-qBfpukR_.js} +118 -117
  97. package/dist/VscIcon-CcMdrFoJ.cjs +1 -0
  98. package/dist/{VscIcon-DueRJVTe.js → VscIcon-DBfVnArE.js} +1 -1
  99. package/dist/create-safe-context-Bboj0GWC.cjs +1 -0
  100. package/dist/desktopStore-CZoA9VHO.cjs +1 -0
  101. package/dist/{desktopStore-B0R1-BeA.js → desktopStore-F8bgLqFl.js} +256 -393
  102. package/dist/getRuntime-BFK0-8R1.cjs +1 -0
  103. package/dist/{getRuntime-CCRXVzJH.js → getRuntime-DAPqFH2W.js} +5 -5
  104. package/dist/imageViewerStore-BB_tssZR.cjs +1 -0
  105. package/dist/{imageViewerStore-CJMRXaQh.js → imageViewerStore-C5kWz0o7.js} +1 -1
  106. package/dist/index.cjs +1 -53
  107. package/dist/index.css +1 -1
  108. package/dist/index.js +1293 -5468
  109. package/dist/is-element-CdV0xajp.cjs +1 -0
  110. package/dist/menuEditStore-CTeM_dns.cjs +1 -0
  111. package/dist/{menuEditStore-C8S_EedM.js → menuEditStore-Cj1zAwxQ.js} +1 -1
  112. package/dist/notesStore-BCEl1D_v.cjs +1 -0
  113. package/dist/{notesStore-DKRgTTFn.js → notesStore-BPyRTHEc.js} +1 -1
  114. package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
  115. package/dist/{settingsAppStore-KOeWRO6h.js → settingsAppStore-BDQ3ts1y.js} +1 -1
  116. package/dist/settingsAppStore-CMBc13VU.cjs +1 -0
  117. package/dist/{terminalStore-LWWjCvCe.js → terminalStore-IWdf4Mm6.js} +1 -1
  118. package/dist/terminalStore-iIuyodfK.cjs +1 -0
  119. package/dist/use-merged-ref-n9Gw9LNn.cjs +1 -0
  120. package/dist/{use-resolved-styles-api-AVDygMKo.cjs → use-resolved-styles-api-8OXE2oRq.cjs} +1 -1
  121. package/dist/{use-resolved-styles-api-pEOi2wiK.js → use-resolved-styles-api-DNUlJJZf.js} +1 -1
  122. package/dist/use-uncontrolled-DDJVQiM_.cjs +1 -0
  123. package/dist/{useAdaptiveDimensions-CunsU0mn.js → useAdaptiveDimensions-AVDc_qPa.js} +1 -1
  124. package/dist/useAdaptiveDimensions-CfITBJ_m.cjs +1 -0
  125. package/dist/{useCloseInterceptor-CuKAAFnj.js → useCloseInterceptor-BZd3VILp.js} +12 -12
  126. package/dist/useCloseInterceptor-yntBEzNc.cjs +1 -0
  127. package/dist/{useDynamicIcon-GJg3vWsJ.js → useDynamicIcon-Bf0t2foA.js} +1 -1
  128. package/dist/useDynamicIcon-DJ_il30E.cjs +1 -0
  129. package/dist/{useOpenApp-JHCPTBWa.js → useOpenApp-CBIm7Gzl.js} +3 -3
  130. package/dist/useOpenApp-DW4x79Zg.cjs +1 -0
  131. package/dist/useResolvedUrl-BkMPM1fM.cjs +1 -0
  132. package/dist/{useResolvedUrl-DFKXq598.js → useResolvedUrl-DQpLqOoL.js} +2 -2
  133. package/package.json +1 -1
  134. package/dist/AccordionChevron-DBXp38Lm.cjs +0 -1
  135. package/dist/ActionIcon-C_SfdBfx.cjs +0 -1
  136. package/dist/AppEmptyState-BTujnL_b.js +0 -4962
  137. package/dist/AppEmptyState-Dc4GaDfu.cjs +0 -1
  138. package/dist/AppIcon--qzR4sgf.cjs +0 -1
  139. package/dist/AppMenuBar-BiHbNg9V.cjs +0 -9
  140. package/dist/AppMenuBar-CHJy8OF0.js +0 -2639
  141. package/dist/Box-D_64wv6n.cjs +0 -1
  142. package/dist/Button-D0FXpkur.cjs +0 -1
  143. package/dist/CalendarApp-C1HvuJoa.cjs +0 -1
  144. package/dist/CalendarApp-DBEQqsS_.js +0 -1721
  145. package/dist/Center-T4No_FAa.cjs +0 -1
  146. package/dist/CheckIcon-CBMLR6Gc.cjs +0 -1
  147. package/dist/CodeServerApp-B3l5QPuG.cjs +0 -1
  148. package/dist/CodeServerApp-BpeALSaX.js +0 -2
  149. package/dist/CodeServerApp-CRjCngFv.cjs +0 -1
  150. package/dist/ColorPicker-BL4UbKCV.cjs +0 -1
  151. package/dist/CreateItemApp-BU9wmjKM.cjs +0 -1
  152. package/dist/CreateItemApp-t9F-a6wD.cjs +0 -1
  153. package/dist/DeviceInfoApp-Cdju_LIB.cjs +0 -1
  154. package/dist/DeviceInfoApp-CyB01v4D.cjs +0 -1
  155. package/dist/DownloadProgress-IRw1dzLX.cjs +0 -1
  156. package/dist/FileIcon-BCrsxmtt.cjs +0 -1
  157. package/dist/FilePickerApp-Eu0cr2Cm.cjs +0 -1
  158. package/dist/FilesApp-30OjnOuP.cjs +0 -1
  159. package/dist/FilesApp-BvlzPNuO.cjs +0 -1
  160. package/dist/Group-DhwePB84.cjs +0 -1
  161. package/dist/ImageViewerApp-BOz59TGc.cjs +0 -1
  162. package/dist/ImageViewerApp-BeqY6voE.cjs +0 -1
  163. package/dist/ImageViewerApp-DBAfJPSo.js +0 -2
  164. package/dist/ImageViewerMenuBar-Cb0Nr5-M.js +0 -2
  165. package/dist/ImageViewerMenuBar-CoEp0RxK.cjs +0 -1
  166. package/dist/ImageViewerMenuBar-zOkJtqKo.cjs +0 -1
  167. package/dist/MenuEditApp-BoKtj2GH.js +0 -2
  168. package/dist/MenuEditApp-D21sEp86.js +0 -2615
  169. package/dist/MenuEditApp-k3cPfTG9.cjs +0 -1
  170. package/dist/MenuEditApp-sz9GlLVH.cjs +0 -5
  171. package/dist/MenuEditMenuBar-6QxlIDpl.cjs +0 -1
  172. package/dist/MenuEditMenuBar-Bv6R42lf.js +0 -2
  173. package/dist/MenuEditMenuBar-CBsmH_-T.cjs +0 -1
  174. package/dist/NotesApp-BtR55Hva.cjs +0 -207
  175. package/dist/NotesApp-C59exz_9.js +0 -16154
  176. package/dist/NotesApp-D47I5LS_.js +0 -2
  177. package/dist/NotesApp-lOwsi2sg.cjs +0 -1
  178. package/dist/NotesMenuBar-BZITC74y.cjs +0 -1
  179. package/dist/NotesMenuBar-Bp0sPqyR.cjs +0 -1
  180. package/dist/NotesMenuBar-xlfODmMA.js +0 -2
  181. package/dist/Paper-DwCpwWwH.cjs +0 -1
  182. package/dist/PdfApp-1XbFGfoY.cjs +0 -1
  183. package/dist/PdfApp-BhIoJWeK.cjs +0 -1
  184. package/dist/PdfApp-C5Rt1Zaw.js +0 -2
  185. package/dist/PdfApp-C8Hwxxqh.js +0 -38
  186. package/dist/PdfMenuBar-BA9rKuMP.cjs +0 -1
  187. package/dist/PdfMenuBar-JXHqwxhZ.cjs +0 -1
  188. package/dist/PdfMenuBar-R0fu7oYF.js +0 -2
  189. package/dist/PdfMenuBar-sd-9Vk3h.js +0 -38
  190. package/dist/SettingsApp-BA-5B4RA.cjs +0 -1
  191. package/dist/SettingsApp-B_rev1xh.cjs +0 -1
  192. package/dist/SettingsApp-Ck4aUXs5.js +0 -2
  193. package/dist/SettingsApp-DUMKSA3K.js +0 -2425
  194. package/dist/SettingsMenuBar-BPwv8JQK.js +0 -41
  195. package/dist/SettingsMenuBar-D8R7hOik.js +0 -2
  196. package/dist/SettingsMenuBar-DDrjZLmg.cjs +0 -1
  197. package/dist/SettingsMenuBar-DQjUa8g1.cjs +0 -1
  198. package/dist/Slider-Bg_EIBg6.cjs +0 -1
  199. package/dist/Stack-BOaJgV3N.cjs +0 -1
  200. package/dist/StorybookApp-Bkr-7mXp.cjs +0 -1
  201. package/dist/TerminalApp-8XbsKAWa.js +0 -10041
  202. package/dist/TerminalApp-Bq2e7QQu.cjs +0 -1
  203. package/dist/TerminalApp-CVu3Axc9.js +0 -2
  204. package/dist/TerminalApp-b7_d0jRO.cjs +0 -36
  205. package/dist/TerminalMenuBar-Cb8x9laS.js +0 -2
  206. package/dist/TerminalMenuBar-De-FH5AE.cjs +0 -1
  207. package/dist/TerminalMenuBar-yOaWd-hn.cjs +0 -1
  208. package/dist/TextInput-DcYns3hz.cjs +0 -1
  209. package/dist/Tooltip-CAOO-qdx.js +0 -3185
  210. package/dist/Tooltip-DDh_x-CB.cjs +0 -1
  211. package/dist/UnstyledButton-Cl5RuIid.cjs +0 -1
  212. package/dist/UploaderApp-BZXW75A0.cjs +0 -1
  213. package/dist/UploaderApp-CPpStgP5.cjs +0 -1
  214. package/dist/UploaderApp-DHsMQN-f.js +0 -2
  215. package/dist/VscIcon-CxEmqD80.cjs +0 -1
  216. package/dist/chunk-BQCxAhux.js +0 -23
  217. package/dist/chunk-CiTBaPhY.cjs +0 -1
  218. package/dist/create-safe-context-95P-Bfg3.cjs +0 -1
  219. package/dist/desktopStore-Cox-Og1z.cjs +0 -1
  220. package/dist/fc-DejOsQyD.cjs +0 -1
  221. package/dist/fc-kd8WzIER.js +0 -20536
  222. package/dist/fc-xJ_v2ayq.cjs +0 -184
  223. package/dist/fi-BahYsbim.js +0 -9993
  224. package/dist/fi-BkhyTcZo.cjs +0 -1
  225. package/dist/getRuntime-BLXyQZBB.cjs +0 -1
  226. package/dist/iconBase-B4UCuSvv.cjs +0 -1
  227. package/dist/iconBase-D7iPes7B.js +0 -108
  228. package/dist/imageViewerStore-CH1qW6md.cjs +0 -1
  229. package/dist/is-element-BocgicRg.cjs +0 -1
  230. package/dist/menuEditStore-CU7IAg3L.cjs +0 -1
  231. package/dist/notesStore-zKmChTfF.cjs +0 -1
  232. package/dist/react-DYmzHD0X.js +0 -27
  233. package/dist/react-Dldg32sN.cjs +0 -1
  234. package/dist/settingsAppStore-BrlImdAH.cjs +0 -1
  235. package/dist/terminalStore-fZe5t7Ty.cjs +0 -1
  236. package/dist/use-merged-ref-BI9n1hUK.cjs +0 -1
  237. package/dist/use-uncontrolled-BPrfGv0W.cjs +0 -1
  238. package/dist/useAdaptiveDimensions-Btp0m5Pm.cjs +0 -1
  239. package/dist/useCloseInterceptor-a_6Lcuqj.cjs +0 -1
  240. package/dist/useDynamicIcon-SytdL1Tu.cjs +0 -1
  241. package/dist/useOpenApp-BdarhIgl.cjs +0 -1
  242. package/dist/useResolvedUrl-Be5ZlCX7.cjs +0 -1
  243. package/dist/useTranslation-DMRGdqZi.js +0 -279
  244. package/dist/useTranslation-D_O7S4RJ.cjs +0 -1
  245. package/dist/vsc-Ciibqbxo.cjs +0 -1
  246. package/dist/vsc-DGKSpOAR.js +0 -9574
  247. /package/dist/{Colors-hca6raEG.js → Colors-ClnDxnyA.js} +0 -0
  248. /package/dist/{Colors-BxX4G8kX.cjs → Colors-zP2AFgU3.cjs} +0 -0
  249. /package/dist/{useMenuBarUtils-Bp5PiztD.cjs → useMenuBarUtils-nJIPJGIQ.cjs} +0 -0
  250. /package/dist/{useMenuBarUtils-ChmpZjwu.js → useMenuBarUtils-nmu9yehT.js} +0 -0
@@ -1,102 +1,102 @@
1
- import { C as e, F as t, L as n, N as r, O as i, P as a, a as o, c as s, d as c, j as l, l as u, n as d, r as f, s as p, t as m, z as h } from "./Box-DRm8EabO.js";
2
- import { d as g, f as _, n as v } from "./Tooltip-CAOO-qdx.js";
3
- import { t as y } from "./use-uncontrolled-A4hm9ATM.js";
4
- import { d as b, f as x, i as S, n as C, r as ee } from "./TextInput-C3qfxxWI.js";
5
- import { r as te } from "./use-merged-ref-BT8_u6vW.js";
6
- import { t as ne } from "./use-resolved-styles-api-pEOi2wiK.js";
7
- import { t as re } from "./UnstyledButton-CI3kyRck.js";
8
- import { t as ie } from "./ActionIcon-CtVbYlGY.js";
9
- import { t as w } from "./CheckIcon-C3WjIR2i.js";
10
- import { t as T } from "./Colors-hca6raEG.js";
11
- import { createContext as E, createElement as D, use as O, useCallback as k, useEffect as A, useRef as j, useState as M } from "react";
12
- import { Fragment as N, jsx as P, jsxs as F } from "react/jsx-runtime";
1
+ import { A as e, C as t, D as n, I as r, M as i, N as a, P as o, R as s, a as c, c as l, d as u, l as d, n as f, r as p, s as m, t as h } from "./Box-DSKR_qaa.js";
2
+ import { d as g, n as _, u as ee } from "./Tooltip-DOeIvhrO.js";
3
+ import { t as v } from "./use-uncontrolled-A4hm9ATM.js";
4
+ import { d as y, f as b, i as x, n as S, r as te } from "./TextInput-C-JtGWn1.js";
5
+ import { r as ne } from "./use-merged-ref-BT8_u6vW.js";
6
+ import { t as re } from "./use-resolved-styles-api-DNUlJJZf.js";
7
+ import { t as ie } from "./UnstyledButton-DGaG-e_G.js";
8
+ import { t as ae } from "./ActionIcon-Drh4p6Fv.js";
9
+ import { t as C } from "./CheckIcon-N5qBqXQJ.js";
10
+ import { t as w } from "./Colors-ClnDxnyA.js";
11
+ import { createContext as T, createElement as E, use as D, useCallback as O, useEffect as k, useRef as A, useState as j } from "react";
12
+ import { Fragment as M, jsx as N, jsxs as P } from "react/jsx-runtime";
13
13
  //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/units-converters/px.mjs
14
- function I(e) {
14
+ function F(e) {
15
15
  return typeof e != "string" || !e.includes("var(--mantine-scale)") ? e : e.match(/^calc\((.*?)\)$/)?.[1].split("*")[0].trim();
16
16
  }
17
- function L(e) {
18
- let t = I(e);
17
+ function I(e) {
18
+ let t = F(e);
19
19
  return typeof t == "number" ? t : typeof t == "string" ? t.includes("calc") || t.includes("var") ? t : t.includes("px") ? Number(t.replace("px", "")) : t.includes("rem") ? Number(t.replace("rem", "")) * 16 : t.includes("em") ? Number(t.replace("em", "")) * 16 : Number(t) : NaN;
20
20
  }
21
21
  //#endregion
22
22
  //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/get-breakpoint-value/get-breakpoint-value.mjs
23
- function R(e, t) {
24
- return e in t ? L(t[e]) : L(e);
23
+ function L(e, t) {
24
+ return e in t ? I(t[e]) : I(e);
25
25
  }
26
26
  //#endregion
27
27
  //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/get-sorted-breakpoints/get-sorted-breakpoints.mjs
28
- function z(e, t) {
28
+ function R(e, t) {
29
29
  let n = e.map((e) => ({
30
30
  value: e,
31
- px: R(e, t)
31
+ px: L(e, t)
32
32
  }));
33
33
  return n.sort((e, t) => e.px - t.px), n;
34
34
  }
35
35
  //#endregion
36
36
  //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/get-base-value/get-base-value.mjs
37
- function B(e) {
37
+ function z(e) {
38
38
  return typeof e == "object" && e ? "base" in e ? e.base : void 0 : e;
39
39
  }
40
40
  //#endregion
41
41
  //#region ../../node_modules/.bun/@mantine+hooks@9.0.0+b1ab299f0a400331/node_modules/@mantine/hooks/esm/use-eye-dropper/use-eye-dropper.mjs
42
- function V() {
43
- let [e, t] = M(!1);
44
- return x(() => {
45
- t(typeof window < "u" && !H() && "EyeDropper" in window);
42
+ function B() {
43
+ let [e, t] = j(!1);
44
+ return b(() => {
45
+ t(typeof window < "u" && !V() && "EyeDropper" in window);
46
46
  }, []), {
47
47
  supported: e,
48
- open: k((t = {}) => e ? new window.EyeDropper().open(t) : Promise.resolve(void 0), [e])
48
+ open: O((t = {}) => e ? new window.EyeDropper().open(t) : Promise.resolve(void 0), [e])
49
49
  };
50
50
  }
51
- function H() {
51
+ function V() {
52
52
  return navigator.userAgent.includes("OPR");
53
53
  }
54
54
  //#endregion
55
55
  //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ColorSwatch/ColorSwatch.module.mjs
56
- var U = {
56
+ var H = {
57
57
  root: "m_de3d2490",
58
58
  colorOverlay: "m_862f3d1b",
59
59
  shadowOverlay: "m_98ae7f22",
60
60
  alphaOverlay: "m_95709ac0",
61
61
  childrenOverlay: "m_93e74e3"
62
- }, W = { withShadow: !0 }, G = i((e, { radius: t, size: r }) => ({ root: {
63
- "--cs-radius": t === void 0 ? void 0 : l(t),
64
- "--cs-size": n(r)
65
- } })), K = d((e) => {
66
- let t = u("ColorSwatch", W, e), { classNames: n, className: r, style: i, styles: a, unstyled: o, vars: c, color: l, radius: d, withShadow: f, children: p, attributes: h, ...g } = u("ColorSwatch", W, t), _ = s({
62
+ }, U = { withShadow: !0 }, W = n((t, { radius: n, size: i }) => ({ root: {
63
+ "--cs-radius": n === void 0 ? void 0 : e(n),
64
+ "--cs-size": r(i)
65
+ } })), G = f((e) => {
66
+ let t = d("ColorSwatch", U, e), { classNames: n, className: r, style: i, styles: a, unstyled: o, vars: s, color: c, radius: u, withShadow: f, children: p, attributes: m, ...g } = d("ColorSwatch", U, t), _ = l({
67
67
  name: "ColorSwatch",
68
68
  props: t,
69
- classes: U,
69
+ classes: H,
70
70
  className: r,
71
71
  style: i,
72
72
  classNames: n,
73
73
  styles: a,
74
74
  unstyled: o,
75
- attributes: h,
76
- vars: c,
77
- varsResolver: G
75
+ attributes: m,
76
+ vars: s,
77
+ varsResolver: W
78
78
  });
79
- return /* @__PURE__ */ F(m, {
79
+ return /* @__PURE__ */ P(h, {
80
80
  ..._("root", { focusable: !0 }),
81
81
  ...g,
82
82
  children: [
83
- /* @__PURE__ */ P("span", { ..._("alphaOverlay") }),
84
- f && /* @__PURE__ */ P("span", { ..._("shadowOverlay") }),
85
- /* @__PURE__ */ P("span", { ..._("colorOverlay", { style: { backgroundColor: l } }) }),
86
- /* @__PURE__ */ P("span", {
83
+ /* @__PURE__ */ N("span", { ..._("alphaOverlay") }),
84
+ f && /* @__PURE__ */ N("span", { ..._("shadowOverlay") }),
85
+ /* @__PURE__ */ N("span", { ..._("colorOverlay", { style: { backgroundColor: c } }) }),
86
+ /* @__PURE__ */ N("span", {
87
87
  ..._("childrenOverlay"),
88
88
  children: p
89
89
  })
90
90
  ]
91
91
  });
92
92
  });
93
- K.classes = U, K.varsResolver = G, K.displayName = "@mantine/core/ColorSwatch";
93
+ G.classes = H, G.varsResolver = W, G.displayName = "@mantine/core/ColorSwatch";
94
94
  //#endregion
95
95
  //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ColorPicker/converters/parsers.mjs
96
- function q(e, t = 0, n = 10 ** t) {
96
+ function K(e, t = 0, n = 10 ** t) {
97
97
  return Math.round(n * e) / n;
98
98
  }
99
- function J({ h: e, s: t, l: n, a: r }) {
99
+ function q({ h: e, s: t, l: n, a: r }) {
100
100
  let i = t * ((n < 50 ? n : 100 - n) / 100);
101
101
  return {
102
102
  h: e,
@@ -105,19 +105,19 @@ function J({ h: e, s: t, l: n, a: r }) {
105
105
  a: r
106
106
  };
107
107
  }
108
- var Y = {
108
+ var J = {
109
109
  grad: 360 / 400,
110
110
  turn: 360,
111
111
  rad: 360 / (Math.PI * 2)
112
112
  };
113
- function ae(e, t = "deg") {
114
- return Number(e) * (Y[t] || 1);
115
- }
116
- var oe = /hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i;
117
- function se(e) {
118
- let t = oe.exec(e);
119
- return t ? J({
120
- h: ae(t[1], t[2]),
113
+ function oe(e, t = "deg") {
114
+ return Number(e) * (J[t] || 1);
115
+ }
116
+ var se = /hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i;
117
+ function ce(e) {
118
+ let t = se.exec(e);
119
+ return t ? q({
120
+ h: oe(t[1], t[2]),
121
121
  s: Number(t[3]),
122
122
  l: Number(t[4]),
123
123
  a: t[5] === void 0 ? 1 : Number(t[5]) / (t[6] ? 100 : 1)
@@ -128,23 +128,23 @@ function se(e) {
128
128
  a: 1
129
129
  };
130
130
  }
131
- function ce({ r: e, g: t, b: n, a: r }) {
131
+ function le({ r: e, g: t, b: n, a: r }) {
132
132
  let i = Math.max(e, t, n), a = i - Math.min(e, t, n), o = a ? i === e ? (t - n) / a : i === t ? 2 + (n - e) / a : 4 + (e - t) / a : 0;
133
133
  return {
134
- h: q(60 * (o < 0 ? o + 6 : o), 3),
135
- s: q(i ? a / i * 100 : 0, 3),
136
- v: q(i / 255 * 100, 3),
134
+ h: K(60 * (o < 0 ? o + 6 : o), 3),
135
+ s: K(i ? a / i * 100 : 0, 3),
136
+ v: K(i / 255 * 100, 3),
137
137
  a: r
138
138
  };
139
139
  }
140
- function le(e) {
140
+ function Y(e) {
141
141
  let t = e[0] === "#" ? e.slice(1) : e;
142
- return t.length === 3 ? ce({
142
+ return t.length === 3 ? le({
143
143
  r: parseInt(t[0] + t[0], 16),
144
144
  g: parseInt(t[1] + t[1], 16),
145
145
  b: parseInt(t[2] + t[2], 16),
146
146
  a: 1
147
- }) : ce({
147
+ }) : le({
148
148
  r: parseInt(t.slice(0, 2), 16),
149
149
  g: parseInt(t.slice(2, 4), 16),
150
150
  b: parseInt(t.slice(4, 6), 16),
@@ -152,24 +152,24 @@ function le(e) {
152
152
  });
153
153
  }
154
154
  function ue(e) {
155
- let t = e[0] === "#" ? e.slice(1) : e, n = (e) => q(parseInt(e, 16) / 255, 3);
155
+ let t = e[0] === "#" ? e.slice(1) : e, n = (e) => K(parseInt(e, 16) / 255, 3);
156
156
  if (t.length === 4) {
157
157
  let e = t.slice(0, 3), r = n(t[3] + t[3]);
158
158
  return {
159
- ...le(e),
159
+ ...Y(e),
160
160
  a: r
161
161
  };
162
162
  }
163
163
  let r = t.slice(0, 6), i = n(t.slice(6, 8));
164
164
  return {
165
- ...le(r),
165
+ ...Y(r),
166
166
  a: i
167
167
  };
168
168
  }
169
169
  var de = /rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i;
170
170
  function fe(e) {
171
171
  let t = de.exec(e);
172
- return t ? ce({
172
+ return t ? le({
173
173
  r: Number(t[1]) / (t[2] ? 100 / 255 : 1),
174
174
  g: Number(t[3]) / (t[4] ? 100 / 255 : 1),
175
175
  b: Number(t[5]) / (t[6] ? 100 / 255 : 1),
@@ -189,12 +189,12 @@ var pe = {
189
189
  hsl: /hsl\(\s*(\d+)\s*,\s*(\d+(?:\.\d+)?%)\s*,\s*(\d+(?:\.\d+)?%)\)/i,
190
190
  hsla: /^hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*(\d*(?:\.\d+)?)\)$/i
191
191
  }, me = {
192
- hex: le,
192
+ hex: Y,
193
193
  hexa: ue,
194
194
  rgb: fe,
195
195
  rgba: fe,
196
- hsl: se,
197
- hsla: se
196
+ hsl: ce,
197
+ hsla: ce
198
198
  };
199
199
  function X(e) {
200
200
  for (let [, t] of Object.entries(pe)) if (t.test(e)) return !0;
@@ -224,11 +224,11 @@ function Z(e) {
224
224
  }
225
225
  //#endregion
226
226
  //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ColorPicker/ColorPicker.context.mjs
227
- var he = E(null);
227
+ var he = T(null);
228
228
  //#endregion
229
229
  //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ColorPicker/Thumb/Thumb.mjs
230
230
  function ge({ position: e, ...t }) {
231
- return /* @__PURE__ */ P(m, {
231
+ return /* @__PURE__ */ N(h, {
232
232
  __vars: {
233
233
  "--thumb-y-offset": `${e.y * 100}%`,
234
234
  "--thumb-x-offset": `${e.x * 100}%`
@@ -251,81 +251,81 @@ var _e = {
251
251
  saturationOverlay: "m_11b3db02",
252
252
  slider: "m_d856d47d",
253
253
  sliderOverlay: "m_8f327113"
254
- }, Q = f((e) => {
255
- let t = u("ColorSlider", null, e), { classNames: r, className: i, style: a, styles: o, unstyled: l, vars: d, onChange: f, onChangeEnd: p, maxValue: h, round: v, size: y = "md", focusable: x = !0, value: S, overlays: C, thumbColor: ee = "transparent", onScrubStart: ne, onScrubEnd: re, __staticSelector: ie = "ColorPicker", attributes: w, ref: T, ...E } = t, k = s({
256
- name: ie,
254
+ }, Q = p((e) => {
255
+ let t = d("ColorSlider", null, e), { classNames: n, className: i, style: a, styles: o, unstyled: s, vars: c, onChange: f, onChangeEnd: p, maxValue: m, round: _, size: v = "md", focusable: b = !0, value: x, overlays: S, thumbColor: te = "transparent", onScrubStart: re, onScrubEnd: ie, __staticSelector: ae = "ColorPicker", attributes: C, ref: w, ...T } = t, O = l({
256
+ name: ae,
257
257
  classes: _e,
258
258
  props: t,
259
259
  className: i,
260
260
  style: a,
261
- classNames: r,
261
+ classNames: n,
262
262
  styles: o,
263
- unstyled: l,
264
- attributes: w,
263
+ unstyled: s,
264
+ attributes: C,
265
265
  rootSelector: "slider"
266
- }), A = O(he)?.getStyles || k, N = c(), [I, L] = M({
266
+ }), k = D(he)?.getStyles || O, M = u(), [F, I] = j({
267
267
  y: 0,
268
- x: S / h
269
- }), R = j(I), z = (e) => v ? Math.round(e * h) : e * h, { ref: B } = _(({ x: e, y: t }) => {
270
- R.current = {
268
+ x: x / m
269
+ }), L = A(F), R = (e) => _ ? Math.round(e * m) : e * m, { ref: z } = g(({ x: e, y: t }) => {
270
+ L.current = {
271
271
  x: e,
272
272
  y: t
273
- }, f?.(z(e));
273
+ }, f?.(R(e));
274
274
  }, {
275
275
  onScrubEnd: () => {
276
- let { x: e } = R.current;
277
- p?.(z(e)), re?.();
276
+ let { x: e } = L.current;
277
+ p?.(R(e)), ie?.();
278
278
  },
279
- onScrubStart: ne
279
+ onScrubStart: re
280
280
  });
281
- b(() => {
282
- L({
281
+ y(() => {
282
+ I({
283
283
  y: 0,
284
- x: S / h
284
+ x: x / m
285
285
  });
286
- }, [S]);
287
- let V = (e, t) => {
286
+ }, [x]);
287
+ let B = (e, t) => {
288
288
  e.preventDefault();
289
- let n = g(t);
290
- f?.(z(n.x)), p?.(z(n.x));
291
- }, H = (e) => {
289
+ let n = ee(t);
290
+ f?.(R(n.x)), p?.(R(n.x));
291
+ }, V = (e) => {
292
292
  switch (e.key) {
293
293
  case "ArrowRight":
294
- V(e, {
295
- x: I.x + .05,
296
- y: I.y
294
+ B(e, {
295
+ x: F.x + .05,
296
+ y: F.y
297
297
  });
298
298
  break;
299
299
  case "ArrowLeft":
300
- V(e, {
301
- x: I.x - .05,
302
- y: I.y
300
+ B(e, {
301
+ x: F.x - .05,
302
+ y: F.y
303
303
  });
304
304
  break;
305
305
  }
306
- }, U = C.map((e, t) => /* @__PURE__ */ D("div", {
307
- ...A("sliderOverlay"),
306
+ }, H = S.map((e, t) => /* @__PURE__ */ E("div", {
307
+ ...k("sliderOverlay"),
308
308
  style: e,
309
309
  key: t
310
310
  }));
311
- return /* @__PURE__ */ F(m, {
312
- ...E,
313
- ref: te(B, T),
314
- ...A("slider"),
315
- size: y,
311
+ return /* @__PURE__ */ P(h, {
312
+ ...T,
313
+ ref: ne(z, w),
314
+ ...k("slider"),
315
+ size: v,
316
316
  role: "slider",
317
- "aria-valuenow": S,
318
- "aria-valuemax": h,
317
+ "aria-valuenow": x,
318
+ "aria-valuemax": m,
319
319
  "aria-valuemin": 0,
320
- tabIndex: x ? 0 : -1,
321
- onKeyDown: H,
322
- "data-focus-ring": N.focusRing,
323
- __vars: { "--cp-thumb-size": `var(--cp-thumb-size-${y})` },
324
- children: [U, /* @__PURE__ */ P(ge, {
325
- position: I,
326
- ...A("thumb", { style: {
327
- top: n(1),
328
- background: ee
320
+ tabIndex: b ? 0 : -1,
321
+ onKeyDown: V,
322
+ "data-focus-ring": M.focusRing,
323
+ __vars: { "--cp-thumb-size": `var(--cp-thumb-size-${v})` },
324
+ children: [H, /* @__PURE__ */ N(ge, {
325
+ position: F,
326
+ ...k("thumb", { style: {
327
+ top: r(1),
328
+ background: te
329
329
  } })
330
330
  })]
331
331
  });
@@ -333,24 +333,24 @@ var _e = {
333
333
  Q.displayName = "@mantine/core/ColorSlider", Q.classes = _e;
334
334
  //#endregion
335
335
  //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ColorPicker/AlphaSlider/AlphaSlider.mjs
336
- var ve = { __staticSelector: "AlphaSlider" }, ye = f((e) => {
337
- let { value: t, onChange: r, onChangeEnd: i, color: a, ...o } = u("AlphaSlider", ve, e);
338
- return /* @__PURE__ */ P(Q, {
336
+ var ve = { __staticSelector: "AlphaSlider" }, ye = p((e) => {
337
+ let { value: t, onChange: n, onChangeEnd: i, color: a, ...o } = d("AlphaSlider", ve, e);
338
+ return /* @__PURE__ */ N(Q, {
339
339
  ...o,
340
340
  value: t,
341
- onChange: (e) => r?.(q(e, 2)),
342
- onChangeEnd: (e) => i?.(q(e, 2)),
341
+ onChange: (e) => n?.(K(e, 2)),
342
+ onChangeEnd: (e) => i?.(K(e, 2)),
343
343
  maxValue: 1,
344
344
  round: !1,
345
345
  "data-alpha": !0,
346
346
  overlays: [
347
347
  {
348
348
  backgroundImage: "linear-gradient(45deg, var(--slider-checkers) 25%, transparent 25%), linear-gradient(-45deg, var(--slider-checkers) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, var(--slider-checkers) 75%), linear-gradient(-45deg, var(--mantine-color-body) 75%, var(--slider-checkers) 75%)",
349
- backgroundSize: `${n(8)} ${n(8)}`,
350
- backgroundPosition: `0 0, 0 ${n(4)}, ${n(4)} ${n(-4)}, ${n(-4)} 0`
349
+ backgroundSize: `${r(8)} ${r(8)}`,
350
+ backgroundPosition: `0 0, 0 ${r(4)}, ${r(4)} ${r(-4)}, ${r(-4)} 0`
351
351
  },
352
352
  { backgroundImage: `linear-gradient(90deg, transparent, ${a})` },
353
- { boxShadow: `rgba(0, 0, 0, .1) 0 0 0 ${n(1)} inset, rgb(0, 0, 0, .15) 0 0 ${n(4)} inset` }
353
+ { boxShadow: `rgba(0, 0, 0, .1) 0 0 0 ${r(1)} inset, rgb(0, 0, 0, .15) 0 0 ${r(4)} inset` }
354
354
  ]
355
355
  });
356
356
  });
@@ -360,7 +360,7 @@ ye.displayName = "@mantine/core/AlphaSlider", ye.classes = Q.classes;
360
360
  function be({ h: e, s: t, v: n, a: r }) {
361
361
  let i = e / 360 * 6, a = t / 100, o = n / 100, s = Math.floor(i), c = o * (1 - a), l = o * (1 - (i - s) * a), u = o * (1 - (1 - i + s) * a), d = s % 6;
362
362
  return {
363
- r: q([
363
+ r: K([
364
364
  o,
365
365
  l,
366
366
  c,
@@ -368,7 +368,7 @@ function be({ h: e, s: t, v: n, a: r }) {
368
368
  u,
369
369
  o
370
370
  ][d] * 255),
371
- g: q([
371
+ g: K([
372
372
  u,
373
373
  o,
374
374
  o,
@@ -376,7 +376,7 @@ function be({ h: e, s: t, v: n, a: r }) {
376
376
  c,
377
377
  c
378
378
  ][d] * 255),
379
- b: q([
379
+ b: K([
380
380
  c,
381
381
  c,
382
382
  u,
@@ -384,12 +384,12 @@ function be({ h: e, s: t, v: n, a: r }) {
384
384
  o,
385
385
  l
386
386
  ][d] * 255),
387
- a: q(r, 2)
387
+ a: K(r, 2)
388
388
  };
389
389
  }
390
390
  function xe(e, t) {
391
391
  let { r: n, g: r, b: i, a } = be(e);
392
- return t ? `rgba(${n}, ${r}, ${i}, ${q(a, 2)})` : `rgb(${n}, ${r}, ${i})`;
392
+ return t ? `rgba(${n}, ${r}, ${i}, ${K(a, 2)})` : `rgb(${n}, ${r}, ${i})`;
393
393
  }
394
394
  function Se({ h: e, s: t, v: n, a: r }, i) {
395
395
  let a = (200 - t) * n / 100, o = {
@@ -397,7 +397,7 @@ function Se({ h: e, s: t, v: n, a: r }, i) {
397
397
  s: Math.round(a > 0 && a < 200 ? t * n / 100 / (a <= 100 ? a : 200 - a) * 100 : 0),
398
398
  l: Math.round(a / 2)
399
399
  };
400
- return i ? `hsla(${o.h}, ${o.s}%, ${o.l}%, ${q(r, 2)})` : `hsl(${o.h}, ${o.s}%, ${o.l}%)`;
400
+ return i ? `hsla(${o.h}, ${o.s}%, ${o.l}%, ${K(r, 2)})` : `hsl(${o.h}, ${o.s}%, ${o.l}%)`;
401
401
  }
402
402
  function Ce(e) {
403
403
  let t = e.toString(16);
@@ -424,29 +424,29 @@ function $(e, t) {
424
424
  }
425
425
  //#endregion
426
426
  //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ColorPicker/HueSlider/HueSlider.mjs
427
- var De = { __staticSelector: "HueSlider" }, Oe = f((e) => {
428
- let { value: t, onChange: r, onChangeEnd: i, color: a, ...o } = u("HueSlider", De, e);
429
- return /* @__PURE__ */ P(Q, {
427
+ var De = { __staticSelector: "HueSlider" }, Oe = p((e) => {
428
+ let { value: t, onChange: n, onChangeEnd: i, color: a, ...o } = d("HueSlider", De, e);
429
+ return /* @__PURE__ */ N(Q, {
430
430
  ...o,
431
431
  value: t,
432
- onChange: r,
432
+ onChange: n,
433
433
  onChangeEnd: i,
434
434
  maxValue: 360,
435
435
  thumbColor: `hsl(${t}, 100%, 50%)`,
436
436
  round: !0,
437
437
  "data-hue": !0,
438
- overlays: [{ backgroundImage: "linear-gradient(to right,hsl(0,100%,50%),hsl(60,100%,50%),hsl(120,100%,50%),hsl(170,100%,50%),hsl(240,100%,50%),hsl(300,100%,50%),hsl(360,100%,50%))" }, { boxShadow: `rgba(0, 0, 0, .1) 0 0 0 ${n(1)} inset, rgb(0, 0, 0, .15) 0 0 ${n(4)} inset` }]
438
+ overlays: [{ backgroundImage: "linear-gradient(to right,hsl(0,100%,50%),hsl(60,100%,50%),hsl(120,100%,50%),hsl(170,100%,50%),hsl(240,100%,50%),hsl(300,100%,50%),hsl(360,100%,50%))" }, { boxShadow: `rgba(0, 0, 0, .1) 0 0 0 ${r(1)} inset, rgb(0, 0, 0, .15) 0 0 ${r(4)} inset` }]
439
439
  });
440
440
  });
441
441
  Oe.displayName = "@mantine/core/HueSlider", Oe.classes = Q.classes;
442
442
  //#endregion
443
443
  //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ColorPicker/Saturation/Saturation.mjs
444
444
  function ke({ className: e, onChange: t, onChangeEnd: n, value: r, saturationLabel: i, focusable: a = !0, size: o, color: s, onScrubStart: c, onScrubEnd: l, ...u }) {
445
- let { getStyles: d } = O(he), [f, p] = M({
445
+ let { getStyles: d } = D(he), [f, p] = j({
446
446
  x: r.s / 100,
447
447
  y: 1 - r.v / 100
448
- }), h = j(f), { ref: v } = _(({ x: e, y: n }) => {
449
- h.current = {
448
+ }), m = A(f), { ref: _ } = g(({ x: e, y: n }) => {
449
+ m.current = {
450
450
  x: e,
451
451
  y: n
452
452
  }, t({
@@ -455,7 +455,7 @@ function ke({ className: e, onChange: t, onChangeEnd: n, value: r, saturationLab
455
455
  });
456
456
  }, {
457
457
  onScrubEnd: () => {
458
- let { x: e, y: t } = h.current;
458
+ let { x: e, y: t } = m.current;
459
459
  n({
460
460
  s: Math.round(e * 100),
461
461
  v: Math.round((1 - t) * 100)
@@ -463,15 +463,15 @@ function ke({ className: e, onChange: t, onChangeEnd: n, value: r, saturationLab
463
463
  },
464
464
  onScrubStart: c
465
465
  });
466
- A(() => {
466
+ k(() => {
467
467
  p({
468
468
  x: r.s / 100,
469
469
  y: 1 - r.v / 100
470
470
  });
471
471
  }, [r.s, r.v]);
472
- let y = (e, r) => {
472
+ let v = (e, r) => {
473
473
  e.preventDefault();
474
- let i = g(r);
474
+ let i = ee(r);
475
475
  t({
476
476
  s: Math.round(i.x * 100),
477
477
  v: Math.round((1 - i.y) * 100)
@@ -479,49 +479,49 @@ function ke({ className: e, onChange: t, onChangeEnd: n, value: r, saturationLab
479
479
  s: Math.round(i.x * 100),
480
480
  v: Math.round((1 - i.y) * 100)
481
481
  });
482
- }, b = (e) => {
482
+ }, y = (e) => {
483
483
  switch (e.key) {
484
484
  case "ArrowUp":
485
- y(e, {
485
+ v(e, {
486
486
  y: f.y - .05,
487
487
  x: f.x
488
488
  });
489
489
  break;
490
490
  case "ArrowDown":
491
- y(e, {
491
+ v(e, {
492
492
  y: f.y + .05,
493
493
  x: f.x
494
494
  });
495
495
  break;
496
496
  case "ArrowRight":
497
- y(e, {
497
+ v(e, {
498
498
  x: f.x + .05,
499
499
  y: f.y
500
500
  });
501
501
  break;
502
502
  case "ArrowLeft":
503
- y(e, {
503
+ v(e, {
504
504
  x: f.x - .05,
505
505
  y: f.y
506
506
  });
507
507
  break;
508
508
  }
509
509
  };
510
- return /* @__PURE__ */ F(m, {
510
+ return /* @__PURE__ */ P(h, {
511
511
  ...d("saturation"),
512
- ref: v,
512
+ ref: _,
513
513
  ...u,
514
514
  role: "slider",
515
515
  "aria-label": i,
516
516
  "aria-valuenow": f.x,
517
517
  "aria-valuetext": $("rgba", r),
518
518
  tabIndex: a ? 0 : -1,
519
- onKeyDown: b,
519
+ onKeyDown: y,
520
520
  children: [
521
- /* @__PURE__ */ P("div", { ...d("saturationOverlay", { style: { backgroundColor: `hsl(${r.h}, 100%, 50%)` } }) }),
522
- /* @__PURE__ */ P("div", { ...d("saturationOverlay", { style: { backgroundImage: "linear-gradient(90deg, #fff, transparent)" } }) }),
523
- /* @__PURE__ */ P("div", { ...d("saturationOverlay", { style: { backgroundImage: "linear-gradient(0deg, #000, transparent)" } }) }),
524
- /* @__PURE__ */ P(ge, {
521
+ /* @__PURE__ */ N("div", { ...d("saturationOverlay", { style: { backgroundColor: `hsl(${r.h}, 100%, 50%)` } }) }),
522
+ /* @__PURE__ */ N("div", { ...d("saturationOverlay", { style: { backgroundImage: "linear-gradient(90deg, #fff, transparent)" } }) }),
523
+ /* @__PURE__ */ N("div", { ...d("saturationOverlay", { style: { backgroundImage: "linear-gradient(0deg, #000, transparent)" } }) }),
524
+ /* @__PURE__ */ N(ge, {
525
525
  position: f,
526
526
  ...d("thumb", { style: { backgroundColor: s } })
527
527
  })
@@ -531,26 +531,26 @@ function ke({ className: e, onChange: t, onChangeEnd: n, value: r, saturationLab
531
531
  ke.displayName = "@mantine/core/Saturation";
532
532
  //#endregion
533
533
  //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ColorPicker/Swatches/Swatches.mjs
534
- function Ae({ className: t, datatype: n, setValue: r, onChangeEnd: i, size: a, focusable: o, data: s, swatchesPerRow: c, value: l, ...u }) {
535
- let d = O(he), f = s.map((t, n) => /* @__PURE__ */ D(K, {
534
+ function Ae({ className: e, datatype: n, setValue: r, onChangeEnd: i, size: a, focusable: o, data: s, swatchesPerRow: c, value: l, ...u }) {
535
+ let d = D(he), f = s.map((e, n) => /* @__PURE__ */ E(G, {
536
536
  ...d.getStyles("swatch"),
537
537
  unstyled: d.unstyled,
538
538
  component: "button",
539
539
  type: "button",
540
- color: t,
540
+ color: e,
541
541
  key: n,
542
542
  radius: "sm",
543
543
  onClick: () => {
544
- r(t), i?.(t);
544
+ r(e), i?.(e);
545
545
  },
546
- "aria-label": t,
546
+ "aria-label": e,
547
547
  tabIndex: o ? 0 : -1,
548
548
  "data-swatch": !0
549
- }, l === t && /* @__PURE__ */ P(w, {
549
+ }, l === e && /* @__PURE__ */ N(C, {
550
550
  size: "35%",
551
- color: e(t) < .5 ? "white" : "black"
551
+ color: t(e) < .5 ? "white" : "black"
552
552
  })));
553
- return /* @__PURE__ */ P(m, {
553
+ return /* @__PURE__ */ N(h, {
554
554
  ...d.getStyles("swatches"),
555
555
  ...u,
556
556
  children: f
@@ -565,16 +565,16 @@ var je = {
565
565
  focusable: !0,
566
566
  size: "md",
567
567
  __staticSelector: "ColorPicker"
568
- }, Me = i((e, { size: t, swatchesPerRow: n }) => ({ wrapper: {
569
- "--cp-preview-size": r(t, "cp-preview-size"),
570
- "--cp-width": r(t, "cp-width"),
568
+ }, Me = n((e, { size: t, swatchesPerRow: n }) => ({ wrapper: {
569
+ "--cp-preview-size": i(t, "cp-preview-size"),
570
+ "--cp-width": i(t, "cp-width"),
571
571
  "--cp-body-spacing": a(t),
572
572
  "--cp-swatch-size": `${100 / n}%`,
573
- "--cp-thumb-size": r(t, "cp-thumb-size"),
574
- "--cp-saturation-height": r(t, "cp-saturation-height")
575
- } })), Ne = f((e) => {
576
- let t = u("ColorPicker", je, e), { classNames: n, className: r, style: i, styles: a, unstyled: o, vars: c, format: l = "hex", value: d, defaultValue: f, onChange: p, onChangeEnd: h, withPicker: g, size: _, saturationLabel: v, hueLabel: x, alphaLabel: S, focusable: C, swatches: ee, swatchesPerRow: te, fullWidth: ne, onColorSwatchClick: re, __staticSelector: ie, mod: w, attributes: T, name: E, hiddenInputProps: D, ...O } = t, k = s({
577
- name: ie,
573
+ "--cp-thumb-size": i(t, "cp-thumb-size"),
574
+ "--cp-saturation-height": i(t, "cp-saturation-height")
575
+ } })), Ne = p((e) => {
576
+ let t = d("ColorPicker", je, e), { classNames: n, className: r, style: i, styles: a, unstyled: o, vars: s, format: c = "hex", value: u, defaultValue: f, onChange: p, onChangeEnd: m, withPicker: g, size: _, saturationLabel: ee, hueLabel: b, alphaLabel: x, focusable: S, swatches: te, swatchesPerRow: ne, fullWidth: re, onColorSwatchClick: ie, __staticSelector: ae, mod: C, attributes: w, name: T, hiddenInputProps: E, ...D } = t, O = l({
577
+ name: ae,
578
578
  props: t,
579
579
  classes: _e,
580
580
  className: r,
@@ -582,113 +582,113 @@ var je = {
582
582
  classNames: n,
583
583
  styles: a,
584
584
  unstyled: o,
585
- attributes: T,
585
+ attributes: w,
586
586
  rootSelector: "wrapper",
587
- vars: c,
587
+ vars: s,
588
588
  varsResolver: Me
589
- }), A = j(l || "hex"), I = j(""), L = j(-1), R = j(!1), z = l === "hexa" || l === "rgba" || l === "hsla", [B, V, H] = y({
590
- value: d,
589
+ }), k = A(c || "hex"), F = A(""), I = A(-1), L = A(!1), R = c === "hexa" || c === "rgba" || c === "hsla", [z, B, V] = v({
590
+ value: u,
591
591
  defaultValue: f,
592
592
  finalValue: "#FFFFFF",
593
593
  onChange: p
594
- }), [U, W] = M(Z(B)), G = () => {
595
- window.clearTimeout(L.current), R.current = !0;
596
- }, q = () => {
597
- window.clearTimeout(L.current), L.current = window.setTimeout(() => {
598
- R.current = !1;
594
+ }), [H, U] = j(Z(z)), W = () => {
595
+ window.clearTimeout(I.current), L.current = !0;
596
+ }, K = () => {
597
+ window.clearTimeout(I.current), I.current = window.setTimeout(() => {
598
+ L.current = !1;
599
599
  }, 200);
600
- }, J = (e) => {
601
- W((t) => {
600
+ }, q = (e) => {
601
+ U((t) => {
602
602
  let n = {
603
603
  ...t,
604
604
  ...e
605
605
  };
606
- return I.current = $(A.current, n), n;
607
- }), V(I.current);
606
+ return F.current = $(k.current, n), n;
607
+ }), B(F.current);
608
608
  };
609
- return b(() => {
610
- typeof d == "string" && X(d) && !R.current && W(Z(d));
611
- }, [d]), b(() => {
612
- A.current = l || "hex", V($(A.current, U));
613
- }, [l]), /* @__PURE__ */ P(he, {
609
+ return y(() => {
610
+ typeof u == "string" && X(u) && !L.current && U(Z(u));
611
+ }, [u]), y(() => {
612
+ k.current = c || "hex", B($(k.current, H));
613
+ }, [c]), /* @__PURE__ */ N(he, {
614
614
  value: {
615
- getStyles: k,
615
+ getStyles: O,
616
616
  unstyled: o
617
617
  },
618
- children: /* @__PURE__ */ F(m, {
619
- ...k("wrapper"),
618
+ children: /* @__PURE__ */ P(h, {
619
+ ...O("wrapper"),
620
620
  size: _,
621
- mod: [{ "full-width": ne }, w],
622
- ...O,
621
+ mod: [{ "full-width": re }, C],
622
+ ...D,
623
623
  children: [
624
- E && /* @__PURE__ */ P("input", {
624
+ T && /* @__PURE__ */ N("input", {
625
625
  type: "hidden",
626
- name: E,
627
- value: B,
628
- ...D
626
+ name: T,
627
+ value: z,
628
+ ...E
629
629
  }),
630
- g && /* @__PURE__ */ F(N, { children: [/* @__PURE__ */ P(ke, {
631
- value: U,
632
- onChange: J,
633
- onChangeEnd: ({ s: e, v: t }) => h?.($(A.current, {
634
- ...U,
630
+ g && /* @__PURE__ */ P(M, { children: [/* @__PURE__ */ N(ke, {
631
+ value: H,
632
+ onChange: q,
633
+ onChangeEnd: ({ s: e, v: t }) => m?.($(k.current, {
634
+ ...H,
635
635
  s: e,
636
636
  v: t
637
637
  })),
638
- color: B,
638
+ color: z,
639
639
  size: _,
640
- focusable: C,
641
- saturationLabel: v,
642
- onScrubStart: G,
643
- onScrubEnd: q
644
- }), /* @__PURE__ */ F("div", {
645
- ...k("body"),
646
- children: [/* @__PURE__ */ F("div", {
647
- ...k("sliders"),
648
- children: [/* @__PURE__ */ P(Oe, {
649
- value: U.h,
650
- onChange: (e) => J({ h: e }),
651
- onChangeEnd: (e) => h?.($(A.current, {
652
- ...U,
640
+ focusable: S,
641
+ saturationLabel: ee,
642
+ onScrubStart: W,
643
+ onScrubEnd: K
644
+ }), /* @__PURE__ */ P("div", {
645
+ ...O("body"),
646
+ children: [/* @__PURE__ */ P("div", {
647
+ ...O("sliders"),
648
+ children: [/* @__PURE__ */ N(Oe, {
649
+ value: H.h,
650
+ onChange: (e) => q({ h: e }),
651
+ onChangeEnd: (e) => m?.($(k.current, {
652
+ ...H,
653
653
  h: e
654
654
  })),
655
655
  size: _,
656
- focusable: C,
657
- "aria-label": x,
658
- onScrubStart: G,
659
- onScrubEnd: q
660
- }), z && /* @__PURE__ */ P(ye, {
661
- value: U.a,
662
- onChange: (e) => J({ a: e }),
656
+ focusable: S,
657
+ "aria-label": b,
658
+ onScrubStart: W,
659
+ onScrubEnd: K
660
+ }), R && /* @__PURE__ */ N(ye, {
661
+ value: H.a,
662
+ onChange: (e) => q({ a: e }),
663
663
  onChangeEnd: (e) => {
664
- h?.($(A.current, {
665
- ...U,
664
+ m?.($(k.current, {
665
+ ...H,
666
666
  a: e
667
667
  }));
668
668
  },
669
669
  size: _,
670
- color: $("hex", U),
671
- focusable: C,
672
- "aria-label": S,
673
- onScrubStart: G,
674
- onScrubEnd: q
670
+ color: $("hex", H),
671
+ focusable: S,
672
+ "aria-label": x,
673
+ onScrubStart: W,
674
+ onScrubEnd: K
675
675
  })]
676
- }), z && /* @__PURE__ */ P(K, {
677
- color: B,
676
+ }), R && /* @__PURE__ */ N(G, {
677
+ color: z,
678
678
  radius: "sm",
679
679
  size: "var(--cp-preview-size)",
680
- ...k("preview")
680
+ ...O("preview")
681
681
  })]
682
682
  })] }),
683
- Array.isArray(ee) && /* @__PURE__ */ P(Ae, {
684
- data: ee,
685
- swatchesPerRow: te,
686
- focusable: C,
687
- setValue: V,
688
- value: B,
683
+ Array.isArray(te) && /* @__PURE__ */ N(Ae, {
684
+ data: te,
685
+ swatchesPerRow: ne,
686
+ focusable: S,
687
+ setValue: B,
688
+ value: z,
689
689
  onChangeEnd: (e) => {
690
- let t = $(l, Z(e));
691
- re?.(t), h?.(t), H || W(Z(e));
690
+ let t = $(c, Z(e));
691
+ ie?.(t), m?.(t), V || U(Z(e));
692
692
  }
693
693
  })
694
694
  ]
@@ -699,7 +699,7 @@ Ne.classes = _e, Ne.varsResolver = Me, Ne.displayName = "@mantine/core/ColorPick
699
699
  //#endregion
700
700
  //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ColorInput/EyeDropperIcon.mjs
701
701
  function Pe({ style: e, ...t }) {
702
- return /* @__PURE__ */ F("svg", {
702
+ return /* @__PURE__ */ P("svg", {
703
703
  xmlns: "http://www.w3.org/2000/svg",
704
704
  style: {
705
705
  width: "var(--ci-eye-dropper-icon-size)",
@@ -714,17 +714,17 @@ function Pe({ style: e, ...t }) {
714
714
  strokeLinejoin: "round",
715
715
  ...t,
716
716
  children: [
717
- /* @__PURE__ */ P("path", {
717
+ /* @__PURE__ */ N("path", {
718
718
  stroke: "none",
719
719
  d: "M0 0h24v24H0z",
720
720
  fill: "none"
721
721
  }),
722
- /* @__PURE__ */ P("path", { d: "M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" }),
723
- /* @__PURE__ */ P("path", { d: "M12 3l0 4" }),
724
- /* @__PURE__ */ P("path", { d: "M12 21l0 -3" }),
725
- /* @__PURE__ */ P("path", { d: "M3 12l4 0" }),
726
- /* @__PURE__ */ P("path", { d: "M21 12l-3 0" }),
727
- /* @__PURE__ */ P("path", { d: "M12 12l0 .01" })
722
+ /* @__PURE__ */ N("path", { d: "M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" }),
723
+ /* @__PURE__ */ N("path", { d: "M12 3l0 4" }),
724
+ /* @__PURE__ */ N("path", { d: "M12 21l0 -3" }),
725
+ /* @__PURE__ */ N("path", { d: "M3 12l4 0" }),
726
+ /* @__PURE__ */ N("path", { d: "M21 12l-3 0" }),
727
+ /* @__PURE__ */ N("path", { d: "M12 12l0 .01" })
728
728
  ]
729
729
  });
730
730
  }
@@ -748,12 +748,12 @@ var Fe = {
748
748
  withEyeDropper: !0,
749
749
  size: "sm",
750
750
  leftSectionPointerEvents: "none"
751
- }, Le = i((e, { size: t }) => ({
752
- eyeDropperIcon: { "--ci-eye-dropper-icon-size": r(t, "ci-eye-dropper-icon-size") },
753
- eyeDropperButton: { "--ci-button-size": r(t, "ci-button-size") },
754
- colorPreview: { "--ci-preview-size": r(t, "ci-preview-size") }
755
- })), Re = f((e) => {
756
- let t = u("ColorInput", Ie, e), { classNames: n, styles: r, unstyled: i, disallowInput: a, fixOnBlur: o, popoverProps: c, withPreview: l, withEyeDropper: d, eyeDropperIcon: f, closeOnColorSwatchClick: p, eyeDropperButtonProps: m, value: h, defaultValue: g, onChange: _, onChangeEnd: x, onClick: C, onFocus: te, onBlur: re, inputProps: w, format: T = "hex", wrapperProps: E, readOnly: D, withPicker: O, swatches: k, disabled: j, leftSection: N, rightSection: I, swatchesPerRow: L, ...R } = ee("ColorInput", Ie, e), z = s({
751
+ }, Le = n((e, { size: t }) => ({
752
+ eyeDropperIcon: { "--ci-eye-dropper-icon-size": i(t, "ci-eye-dropper-icon-size") },
753
+ eyeDropperButton: { "--ci-button-size": i(t, "ci-button-size") },
754
+ colorPreview: { "--ci-preview-size": i(t, "ci-preview-size") }
755
+ })), Re = p((e) => {
756
+ let t = d("ColorInput", Ie, e), { classNames: n, styles: r, unstyled: i, disallowInput: a, fixOnBlur: o, popoverProps: s, withPreview: c, withEyeDropper: u, eyeDropperIcon: f, closeOnColorSwatchClick: p, eyeDropperButtonProps: m, value: h, defaultValue: g, onChange: ee, onChangeEnd: b, onClick: S, onFocus: ne, onBlur: ie, inputProps: C, format: w = "hex", wrapperProps: T, readOnly: E, withPicker: D, swatches: O, disabled: A, leftSection: M, rightSection: F, swatchesPerRow: I, ...L } = te("ColorInput", Ie, e), R = l({
757
757
  name: "ColorInput",
758
758
  props: t,
759
759
  classes: Fe,
@@ -763,135 +763,135 @@ var Fe = {
763
763
  rootSelector: "wrapper",
764
764
  vars: t.vars,
765
765
  varsResolver: Le
766
- }), { resolvedClassNames: B, resolvedStyles: H } = ne({
766
+ }), { resolvedClassNames: z, resolvedStyles: V } = re({
767
767
  classNames: n,
768
768
  styles: r,
769
769
  props: t
770
- }), [U, W] = M(!1), [G, q] = M(""), [J, Y] = y({
770
+ }), [H, U] = j(!1), [W, K] = j(""), [q, J] = v({
771
771
  value: h,
772
772
  defaultValue: g,
773
773
  finalValue: "",
774
- onChange: _
775
- }), { supported: ae, open: oe } = V(), se = /* @__PURE__ */ P(ie, {
774
+ onChange: ee
775
+ }), { supported: oe, open: se } = B(), ce = /* @__PURE__ */ N(ae, {
776
776
  ...m,
777
- ...z("eyeDropperButton", {
777
+ ...R("eyeDropperButton", {
778
778
  className: m?.className,
779
779
  style: m?.style
780
780
  }),
781
781
  variant: "subtle",
782
782
  color: "gray",
783
783
  unstyled: i,
784
- onClick: () => oe().then((e) => {
784
+ onClick: () => se().then((e) => {
785
785
  if (e?.sRGBHex) {
786
- let t = $(T, Z(e.sRGBHex));
787
- Y(t), x?.(t);
786
+ let t = $(w, Z(e.sRGBHex));
787
+ J(t), b?.(t);
788
788
  }
789
789
  }).catch(() => {}),
790
- children: f || /* @__PURE__ */ P(Pe, { ...z("eyeDropperIcon") })
791
- }), ce = (e) => {
792
- te?.(e), W(!0);
793
- }, le = (e) => {
794
- o && Y(G), re?.(e), W(!1);
790
+ children: f || /* @__PURE__ */ N(Pe, { ...R("eyeDropperIcon") })
791
+ }), le = (e) => {
792
+ ne?.(e), U(!0);
793
+ }, Y = (e) => {
794
+ o && J(W), ie?.(e), U(!1);
795
795
  }, ue = (e) => {
796
- C?.(e), W(!0);
796
+ S?.(e), U(!0);
797
797
  };
798
- return A(() => {
799
- (X(J) || J.trim() === "") && q(J);
800
- }, [J]), b(() => {
801
- X(J) && Y($(T, Z(J)));
802
- }, [T]), /* @__PURE__ */ P(S.Wrapper, {
803
- ...E,
804
- classNames: B,
805
- styles: H,
798
+ return k(() => {
799
+ (X(q) || q.trim() === "") && K(q);
800
+ }, [q]), y(() => {
801
+ X(q) && J($(w, Z(q)));
802
+ }, [w]), /* @__PURE__ */ N(x.Wrapper, {
803
+ ...T,
804
+ classNames: z,
805
+ styles: V,
806
806
  __staticSelector: "ColorInput",
807
- children: /* @__PURE__ */ F(v, {
807
+ children: /* @__PURE__ */ P(_, {
808
808
  __staticSelector: "ColorInput",
809
809
  position: "bottom-start",
810
810
  offset: 5,
811
- opened: U,
812
- ...c,
813
- classNames: B,
814
- styles: H,
811
+ opened: H,
812
+ ...s,
813
+ classNames: z,
814
+ styles: V,
815
815
  unstyled: i,
816
816
  withRoles: !1,
817
- disabled: D || O === !1 && (!Array.isArray(k) || k.length === 0),
818
- children: [/* @__PURE__ */ P(v.Target, { children: /* @__PURE__ */ P(S, {
817
+ disabled: E || D === !1 && (!Array.isArray(O) || O.length === 0),
818
+ children: [/* @__PURE__ */ N(_.Target, { children: /* @__PURE__ */ N(x, {
819
819
  autoComplete: "off",
820
- ...R,
821
- ...w,
822
- classNames: B,
823
- styles: H,
824
- disabled: j,
820
+ ...L,
821
+ ...C,
822
+ classNames: z,
823
+ styles: V,
824
+ disabled: A,
825
825
  __staticSelector: "ColorInput",
826
- onFocus: ce,
827
- onBlur: le,
826
+ onFocus: le,
827
+ onBlur: Y,
828
828
  onClick: ue,
829
829
  spellCheck: !1,
830
- value: J,
830
+ value: q,
831
831
  onChange: (e) => {
832
832
  let t = e.currentTarget.value;
833
- Y(t), X(t) && x?.($(T, Z(t)));
833
+ J(t), X(t) && b?.($(w, Z(t)));
834
834
  },
835
- leftSection: N || (l ? /* @__PURE__ */ P(K, {
836
- color: X(J) ? J : "#fff",
835
+ leftSection: M || (c ? /* @__PURE__ */ N(G, {
836
+ color: X(q) ? q : "#fff",
837
837
  size: "var(--ci-preview-size)",
838
- ...z("colorPreview")
838
+ ...R("colorPreview")
839
839
  }) : null),
840
- readOnly: a || D,
840
+ readOnly: a || E,
841
841
  pointer: a,
842
842
  unstyled: i,
843
- rightSection: I || (d && !j && !D && ae ? se : null)
844
- }) }), /* @__PURE__ */ P(v.Dropdown, {
843
+ rightSection: F || (u && !A && !E && oe ? ce : null)
844
+ }) }), /* @__PURE__ */ N(_.Dropdown, {
845
845
  onMouseDown: (e) => e.preventDefault(),
846
846
  className: Fe.dropdown,
847
- children: /* @__PURE__ */ P(Ne, {
847
+ children: /* @__PURE__ */ N(Ne, {
848
848
  __staticSelector: "ColorInput",
849
- value: J,
850
- onChange: Y,
851
- onChangeEnd: x,
852
- format: T,
853
- swatches: k,
854
- swatchesPerRow: L,
855
- withPicker: O,
856
- size: w.size,
849
+ value: q,
850
+ onChange: J,
851
+ onChangeEnd: b,
852
+ format: w,
853
+ swatches: O,
854
+ swatchesPerRow: I,
855
+ withPicker: D,
856
+ size: C.size,
857
857
  focusable: !1,
858
858
  unstyled: i,
859
- styles: H,
860
- classNames: B,
861
- onColorSwatchClick: () => p && W(!1),
862
- attributes: E.attributes
859
+ styles: V,
860
+ classNames: z,
861
+ onColorSwatchClick: () => p && U(!1),
862
+ attributes: T.attributes
863
863
  })
864
864
  })]
865
865
  })
866
866
  });
867
867
  });
868
- Re.classes = C.classes, Re.varsResolver = Le, Re.displayName = "@mantine/core/ColorInput";
868
+ Re.classes = S.classes, Re.varsResolver = Le, Re.displayName = "@mantine/core/ColorInput";
869
869
  //#endregion
870
870
  //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/SimpleGrid/SimpleGridVariables.mjs
871
871
  function ze(e) {
872
- if (e !== void 0) return typeof e == "number" ? n(e) : e;
873
- }
874
- function Be({ spacing: e, verticalSpacing: n, cols: r, minColWidth: i, autoRows: o, selector: s }) {
875
- let l = c(), u = n === void 0 ? e : n, d = i !== void 0, f = t({
876
- "--sg-spacing-x": a(B(e)),
877
- "--sg-spacing-y": a(B(u)),
878
- "--sg-auto-rows": o,
879
- ...d ? { "--sg-min-col-width": ze(i) } : { "--sg-cols": B(r)?.toString() }
880
- }), m = h(l.breakpoints).reduce((t, n) => (t[n] || (t[n] = {}), typeof e == "object" && e[n] !== void 0 && (t[n]["--sg-spacing-x"] = a(e[n])), typeof u == "object" && u[n] !== void 0 && (t[n]["--sg-spacing-y"] = a(u[n])), !d && typeof r == "object" && r[n] !== void 0 && (t[n]["--sg-cols"] = r[n]), t), {});
881
- return /* @__PURE__ */ P(p, {
882
- styles: f,
883
- media: z(h(m), l.breakpoints).filter((e) => h(m[e.value]).length > 0).map((e) => ({
872
+ if (e !== void 0) return typeof e == "number" ? r(e) : e;
873
+ }
874
+ function Be({ spacing: e, verticalSpacing: t, cols: n, minColWidth: r, autoRows: i, selector: c }) {
875
+ let l = u(), d = t === void 0 ? e : t, f = r !== void 0, p = o({
876
+ "--sg-spacing-x": a(z(e)),
877
+ "--sg-spacing-y": a(z(d)),
878
+ "--sg-auto-rows": i,
879
+ ...f ? { "--sg-min-col-width": ze(r) } : { "--sg-cols": z(n)?.toString() }
880
+ }), h = s(l.breakpoints).reduce((t, r) => (t[r] || (t[r] = {}), typeof e == "object" && e[r] !== void 0 && (t[r]["--sg-spacing-x"] = a(e[r])), typeof d == "object" && d[r] !== void 0 && (t[r]["--sg-spacing-y"] = a(d[r])), !f && typeof n == "object" && n[r] !== void 0 && (t[r]["--sg-cols"] = n[r]), t), {});
881
+ return /* @__PURE__ */ N(m, {
882
+ styles: p,
883
+ media: R(s(h), l.breakpoints).filter((e) => s(h[e.value]).length > 0).map((e) => ({
884
884
  query: `(min-width: ${l.breakpoints[e.value]})`,
885
- styles: m[e.value]
885
+ styles: h[e.value]
886
886
  })),
887
- selector: s
887
+ selector: c
888
888
  });
889
889
  }
890
890
  function Ve(e) {
891
- return typeof e == "object" && e ? h(e) : [];
891
+ return typeof e == "object" && e ? s(e) : [];
892
892
  }
893
893
  function He(e) {
894
- return e.sort((e, t) => L(e) - L(t));
894
+ return e.sort((e, t) => I(e) - I(t));
895
895
  }
896
896
  function Ue({ spacing: e, verticalSpacing: t, cols: n, minColWidth: r }) {
897
897
  return He(Array.from(new Set([
@@ -900,19 +900,19 @@ function Ue({ spacing: e, verticalSpacing: t, cols: n, minColWidth: r }) {
900
900
  ...r === void 0 ? Ve(n) : []
901
901
  ])));
902
902
  }
903
- function We({ spacing: e, verticalSpacing: n, cols: r, minColWidth: i, autoRows: o, selector: s }) {
904
- let c = n === void 0 ? e : n, l = i !== void 0, u = t({
905
- "--sg-spacing-x": a(B(e)),
906
- "--sg-spacing-y": a(B(c)),
907
- "--sg-auto-rows": o,
908
- ...l ? { "--sg-min-col-width": ze(i) } : { "--sg-cols": B(r)?.toString() }
903
+ function We({ spacing: e, verticalSpacing: t, cols: n, minColWidth: r, autoRows: i, selector: s }) {
904
+ let c = t === void 0 ? e : t, l = r !== void 0, u = o({
905
+ "--sg-spacing-x": a(z(e)),
906
+ "--sg-spacing-y": a(z(c)),
907
+ "--sg-auto-rows": i,
908
+ ...l ? { "--sg-min-col-width": ze(r) } : { "--sg-cols": z(n)?.toString() }
909
909
  }), d = Ue({
910
910
  spacing: e,
911
- verticalSpacing: n,
912
- cols: r,
913
- minColWidth: i
914
- }), f = d.reduce((t, n) => (t[n] || (t[n] = {}), typeof e == "object" && e[n] !== void 0 && (t[n]["--sg-spacing-x"] = a(e[n])), typeof c == "object" && c[n] !== void 0 && (t[n]["--sg-spacing-y"] = a(c[n])), !l && typeof r == "object" && r[n] !== void 0 && (t[n]["--sg-cols"] = r[n]), t), {});
915
- return /* @__PURE__ */ P(p, {
911
+ verticalSpacing: t,
912
+ cols: n,
913
+ minColWidth: r
914
+ }), f = d.reduce((t, r) => (t[r] || (t[r] = {}), typeof e == "object" && e[r] !== void 0 && (t[r]["--sg-spacing-x"] = a(e[r])), typeof c == "object" && c[r] !== void 0 && (t[r]["--sg-spacing-y"] = a(c[r])), !l && typeof n == "object" && n[r] !== void 0 && (t[r]["--sg-cols"] = n[r]), t), {});
915
+ return /* @__PURE__ */ N(m, {
916
916
  styles: u,
917
917
  container: d.map((e) => ({
918
918
  query: `simple-grid (min-width: ${e})`,
@@ -930,8 +930,8 @@ var Ge = {
930
930
  cols: 1,
931
931
  spacing: "md",
932
932
  type: "media"
933
- }, qe = f((e) => {
934
- let t = u("SimpleGrid", Ke, e), { classNames: n, className: r, style: i, styles: a, unstyled: c, vars: l, cols: d, verticalSpacing: f, spacing: p, type: h, minColWidth: g, autoFlow: _, autoRows: v, attributes: y, ...b } = t, x = s({
933
+ }, qe = p((e) => {
934
+ let t = d("SimpleGrid", Ke, e), { classNames: n, className: r, style: i, styles: a, unstyled: o, vars: s, cols: u, verticalSpacing: f, spacing: p, type: m, minColWidth: g, autoFlow: _, autoRows: ee, attributes: v, ...y } = t, b = l({
935
935
  name: "SimpleGrid",
936
936
  classes: Ge,
937
937
  props: t,
@@ -939,27 +939,27 @@ var Ge = {
939
939
  style: i,
940
940
  classNames: n,
941
941
  styles: a,
942
- unstyled: c,
943
- attributes: y,
944
- vars: l
945
- }), S = o(), C = g === void 0 ? void 0 : _ || "auto-fill";
946
- return h === "container" ? /* @__PURE__ */ F(N, { children: [/* @__PURE__ */ P(We, {
942
+ unstyled: o,
943
+ attributes: v,
944
+ vars: s
945
+ }), x = c(), S = g === void 0 ? void 0 : _ || "auto-fill";
946
+ return m === "container" ? /* @__PURE__ */ P(M, { children: [/* @__PURE__ */ N(We, {
947
947
  ...t,
948
- selector: `.${S}`
949
- }), /* @__PURE__ */ P("div", {
950
- ...x("container"),
951
- children: /* @__PURE__ */ P(m, {
952
- ...x("root", { className: S }),
953
- ...b,
954
- "data-auto-cols": C
948
+ selector: `.${x}`
949
+ }), /* @__PURE__ */ N("div", {
950
+ ...b("container"),
951
+ children: /* @__PURE__ */ N(h, {
952
+ ...b("root", { className: x }),
953
+ ...y,
954
+ "data-auto-cols": S
955
955
  })
956
- })] }) : /* @__PURE__ */ F(N, { children: [/* @__PURE__ */ P(Be, {
956
+ })] }) : /* @__PURE__ */ P(M, { children: [/* @__PURE__ */ N(Be, {
957
957
  ...t,
958
- selector: `.${S}`
959
- }), /* @__PURE__ */ P(m, {
960
- ...x("root", { className: S }),
961
- ...b,
962
- "data-auto-cols": C
958
+ selector: `.${x}`
959
+ }), /* @__PURE__ */ N(h, {
960
+ ...b("root", { className: x }),
961
+ ...y,
962
+ "data-auto-cols": S
963
963
  })] });
964
964
  });
965
965
  qe.classes = Ge, qe.displayName = "@mantine/core/SimpleGrid";
@@ -968,11 +968,11 @@ var Je = {
968
968
  colorRow: "_colorRow_18r9b_7",
969
969
  colorSwatch: "_colorSwatch_18r9b_13",
970
970
  colorInput: "_colorInput_18r9b_38"
971
- }, Ye = ({ value: e, onChange: t, error: n, disabled: r = !1 }) => /* @__PURE__ */ F("div", {
971
+ }, Ye = ({ value: e, onChange: t, error: n, disabled: r = !1 }) => /* @__PURE__ */ P("div", {
972
972
  className: Je.root,
973
- children: [/* @__PURE__ */ P("div", {
973
+ children: [/* @__PURE__ */ N("div", {
974
974
  className: Je.colorRow,
975
- children: T.map((n) => /* @__PURE__ */ P(re, {
975
+ children: w.map((n) => /* @__PURE__ */ N(ie, {
976
976
  className: Je.colorSwatch,
977
977
  "data-selected": e === n || void 0,
978
978
  "data-disabled": r || void 0,
@@ -982,7 +982,7 @@ var Je = {
982
982
  "aria-pressed": e === n,
983
983
  disabled: r
984
984
  }, n))
985
- }), /* @__PURE__ */ P(Re, {
985
+ }), /* @__PURE__ */ N(Re, {
986
986
  value: e,
987
987
  onChange: t,
988
988
  placeholder: "Custom color",
@@ -994,4 +994,4 @@ var Je = {
994
994
  })]
995
995
  });
996
996
  //#endregion
997
- export { qe as n, L as r, Ye as t };
997
+ export { qe as n, I as r, Ye as t };