@fde-desktop/fde-core 0.4.7 → 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 (284) hide show
  1. package/dist/AccordionChevron-DxpOyInK.js +26 -0
  2. package/dist/AccordionChevron-kn5kSrEc.cjs +1 -0
  3. package/dist/ActionIcon-Drh4p6Fv.js +145 -0
  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-XumS3bIG.js +80 -0
  9. package/dist/AppMenuBar-B9U0n1Vv.cjs +1 -0
  10. package/dist/AppMenuBar-CnIEVjr8.js +2049 -0
  11. package/dist/Box-DSKR_qaa.js +1579 -0
  12. package/dist/Box-zW6Twge8.cjs +1 -0
  13. package/dist/Button-DMlnrqyx.cjs +1 -0
  14. package/dist/Button-wTOTQKxF.js +178 -0
  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-CmxXB9ql.js +25 -0
  19. package/dist/Center-DKUE2pER.cjs +1 -0
  20. package/dist/CheckIcon-CZhtJD1O.cjs +1 -0
  21. package/dist/CheckIcon-N5qBqXQJ.js +25 -0
  22. package/dist/CodeServerApp-BOoGwZ7r.cjs +1 -0
  23. package/dist/CodeServerApp-Be3I5EGg.cjs +1 -0
  24. package/dist/CodeServerApp-DW18EZxa.js +150 -0
  25. package/dist/ColorPicker-BCNqi02x.js +997 -0
  26. package/dist/ColorPicker-BrDE7tMO.cjs +1 -0
  27. package/dist/Colors-ClnDxnyA.js +15 -0
  28. package/dist/Colors-zP2AFgU3.cjs +1 -0
  29. package/dist/CreateItemApp-B12M1E_1.cjs +1 -0
  30. package/dist/CreateItemApp-TAAprby3.js +400 -0
  31. package/dist/CreateItemApp-ePB6ujNl.cjs +1 -0
  32. package/dist/DeviceInfoApp-BMF18BGo.cjs +1 -0
  33. package/dist/DeviceInfoApp-DRy0H3aT.cjs +1 -0
  34. package/dist/DeviceInfoApp-lgpwkeRR.js +223 -0
  35. package/dist/DownloadProgress-EoyCaD5O.js +174 -0
  36. package/dist/DownloadProgress-VNdj22U8.cjs +1 -0
  37. package/dist/FileIcon-7JaSR3Gn.js +89 -0
  38. package/dist/FileIcon-CIXopWLv.cjs +1 -0
  39. package/dist/FilePickerApp-DaMgEqKh.js +409 -0
  40. package/dist/FilePickerApp-DjmuSFqa.cjs +1 -0
  41. package/dist/FilesApp-Bp7wfrBZ.cjs +1 -0
  42. package/dist/FilesApp-BpJJRKhi.cjs +1 -0
  43. package/dist/FilesApp-Cj94QG5o.js +225 -0
  44. package/dist/Group-CtBJSfCo.js +48 -0
  45. package/dist/Group-Dsrf6lEK.cjs +1 -0
  46. package/dist/ImageViewerApp-BaLP3gkO.js +69 -0
  47. package/dist/ImageViewerApp-DlHGeB3S.cjs +1 -0
  48. package/dist/ImageViewerApp-DoXd_Swu.cjs +1 -0
  49. package/dist/ImageViewerMenuBar-CabGSi9r.js +87 -0
  50. package/dist/ImageViewerMenuBar-SAI7UNz7.cjs +1 -0
  51. package/dist/ImageViewerMenuBar-_Jr29gii.cjs +1 -0
  52. package/dist/MenuEditApp-BJjlPTOa.cjs +1 -0
  53. package/dist/MenuEditApp-BTRppYnD.js +497 -0
  54. package/dist/MenuEditApp-JPsGT-S3.cjs +1 -0
  55. package/dist/MenuEditMenuBar-BydGkqMw.cjs +1 -0
  56. package/dist/MenuEditMenuBar-DptlwVPQ.cjs +1 -0
  57. package/dist/MenuEditMenuBar-x1IQrHP2.js +60 -0
  58. package/dist/NotesApp-BOcRGO7w.cjs +1 -0
  59. package/dist/NotesApp-CQe7UfBC.js +364 -0
  60. package/dist/NotesApp-OL07JXRE.cjs +1 -0
  61. package/dist/NotesMenuBar-BSI_2Y7p.cjs +1 -0
  62. package/dist/NotesMenuBar-Df6aW85J.cjs +1 -0
  63. package/dist/NotesMenuBar-VhpIe68v.js +62 -0
  64. package/dist/Paper-BX_9odR6.js +30 -0
  65. package/dist/Paper-D8-BaBx2.cjs +1 -0
  66. package/dist/PdfApp-CNEbty5v.cjs +1 -0
  67. package/dist/PdfApp-CVv3ZCaM.cjs +1 -0
  68. package/dist/PdfApp-DL_R9-Nc.js +39 -0
  69. package/dist/PdfMenuBar--E6kDyrT.cjs +1 -0
  70. package/dist/PdfMenuBar-DZCLSOpR.js +39 -0
  71. package/dist/PdfMenuBar-Dj5cJUkg.cjs +1 -0
  72. package/dist/SettingsApp-BlmHuAjT.js +1831 -0
  73. package/dist/SettingsApp-CNvIgf5B.cjs +1 -0
  74. package/dist/SettingsApp-DWxanNE4.cjs +1 -0
  75. package/dist/SettingsMenuBar-CBoOBCfx.cjs +1 -0
  76. package/dist/SettingsMenuBar-DQooFkZN.cjs +1 -0
  77. package/dist/SettingsMenuBar-YWiJHaxq.js +42 -0
  78. package/dist/Slider-BUiHxjKO.cjs +1 -0
  79. package/dist/Slider-t-NcD60t.js +1176 -0
  80. package/dist/Stack-Bp1Ek2Gp.js +34 -0
  81. package/dist/Stack-D4jAiRfc.cjs +1 -0
  82. package/dist/StorybookApp-CDLV_kja.cjs +1 -0
  83. package/dist/StorybookApp-DKwlPCmo.js +10 -0
  84. package/dist/TerminalApp-BCB7i1lR.cjs +1 -0
  85. package/dist/TerminalApp-BYc_gHLe.js +326 -0
  86. package/dist/TerminalApp-Dviz6aP2.cjs +1 -0
  87. package/dist/TerminalMenuBar-D5tPmgR_.js +113 -0
  88. package/dist/TerminalMenuBar-DNshPmCa.cjs +1 -0
  89. package/dist/TerminalMenuBar-HzMSR7XP.cjs +1 -0
  90. package/dist/TextInput-C-JtGWn1.js +981 -0
  91. package/dist/TextInput-CrsmcOip.cjs +1 -0
  92. package/dist/Tooltip-D5Cd9wtz.cjs +1 -0
  93. package/dist/Tooltip-DOeIvhrO.js +1142 -0
  94. package/dist/UnstyledButton-DGaG-e_G.js +25 -0
  95. package/dist/UnstyledButton-DX2pTahr.cjs +1 -0
  96. package/dist/UploaderApp-C6xA5Rrf2.cjs +1 -0
  97. package/dist/UploaderApp-DnHIRxB_.cjs +1 -0
  98. package/dist/UploaderApp-qBfpukR_.js +488 -0
  99. package/dist/VscIcon-CcMdrFoJ.cjs +1 -0
  100. package/dist/VscIcon-DBfVnArE.js +8 -0
  101. package/dist/create-safe-context-Bboj0GWC.cjs +1 -0
  102. package/dist/create-safe-context-XT2cxc14.js +12 -0
  103. package/dist/desktopStore-CZoA9VHO.cjs +1 -0
  104. package/dist/desktopStore-F8bgLqFl.js +1768 -0
  105. package/dist/getRuntime-BFK0-8R1.cjs +1 -0
  106. package/dist/getRuntime-DAPqFH2W.js +63 -0
  107. package/dist/imageViewerStore-BB_tssZR.cjs +1 -0
  108. package/dist/imageViewerStore-C5kWz0o7.js +50 -0
  109. package/dist/index.cjs +1 -5642
  110. package/dist/index.css +2 -9192
  111. package/dist/index.d.ts +2258 -2019
  112. package/dist/index.js +4826 -4798
  113. package/dist/is-element-Bu_JY8Qy.js +7 -0
  114. package/dist/is-element-CdV0xajp.cjs +1 -0
  115. package/dist/menuEditStore-CTeM_dns.cjs +1 -0
  116. package/dist/menuEditStore-Cj1zAwxQ.js +38 -0
  117. package/dist/notesStore-BCEl1D_v.cjs +1 -0
  118. package/dist/notesStore-BPyRTHEc.js +36 -0
  119. package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
  120. package/dist/settingsAppStore-BDQ3ts1y.js +29 -0
  121. package/dist/settingsAppStore-CMBc13VU.cjs +1 -0
  122. package/dist/terminalStore-IWdf4Mm6.js +30 -0
  123. package/dist/terminalStore-iIuyodfK.cjs +1 -0
  124. package/dist/use-merged-ref-BT8_u6vW.js +25 -0
  125. package/dist/use-merged-ref-n9Gw9LNn.cjs +1 -0
  126. package/dist/use-resolved-styles-api-8OXE2oRq.cjs +1 -0
  127. package/dist/use-resolved-styles-api-DNUlJJZf.js +21 -0
  128. package/dist/use-uncontrolled-A4hm9ATM.js +23 -0
  129. package/dist/use-uncontrolled-DDJVQiM_.cjs +1 -0
  130. package/dist/useAdaptiveDimensions-AVDc_qPa.js +40 -0
  131. package/dist/useAdaptiveDimensions-CfITBJ_m.cjs +1 -0
  132. package/dist/useCloseInterceptor-BZd3VILp.js +51 -0
  133. package/dist/useCloseInterceptor-yntBEzNc.cjs +1 -0
  134. package/dist/useDynamicIcon-Bf0t2foA.js +22 -0
  135. package/dist/useDynamicIcon-DJ_il30E.cjs +1 -0
  136. package/dist/useMenuBarUtils-nJIPJGIQ.cjs +1 -0
  137. package/dist/useMenuBarUtils-nmu9yehT.js +6 -0
  138. package/dist/useOpenApp-CBIm7Gzl.js +279 -0
  139. package/dist/useOpenApp-DW4x79Zg.cjs +1 -0
  140. package/dist/useResolvedUrl-BkMPM1fM.cjs +1 -0
  141. package/dist/useResolvedUrl-DQpLqOoL.js +30 -0
  142. package/package.json +7 -3
  143. package/dist/CalendarApp-CHLUCAI7.css +0 -744
  144. package/dist/CalendarApp-K7ZOUZ6C.js +0 -2
  145. package/dist/CalendarApp-OTGEERSS.cjs +0 -8
  146. package/dist/CodeServerApp-5KZGO7HL.css +0 -75
  147. package/dist/CodeServerApp-LUZFCQBI.js +0 -3
  148. package/dist/CodeServerApp-P3TMJPLY.cjs +0 -9
  149. package/dist/CreateItemApp-ESQ42VHH.js +0 -8
  150. package/dist/CreateItemApp-PQB5GTFG.css +0 -107
  151. package/dist/CreateItemApp-RFE3REWZ.cjs +0 -14
  152. package/dist/DeviceInfoApp-XNIS6ZY6.js +0 -5
  153. package/dist/DeviceInfoApp-ZNLQNOKI.cjs +0 -11
  154. package/dist/DeviceInfoApp-ZSMRSITP.css +0 -7
  155. package/dist/FilesApp-4GEU64QN.js +0 -8
  156. package/dist/FilesApp-E6L5W3T2.css +0 -1817
  157. package/dist/FilesApp-QSLB5IWR.cjs +0 -14
  158. package/dist/ImageViewerApp-N2Q7E7WZ.css +0 -215
  159. package/dist/ImageViewerApp-NCVDKLB3.js +0 -11
  160. package/dist/ImageViewerApp-QB373H5Z.cjs +0 -17
  161. package/dist/ImageViewerMenuBar-I3TFKQPS.cjs +0 -14
  162. package/dist/ImageViewerMenuBar-TV5C6TM2.js +0 -5
  163. package/dist/ImageViewerMenuBar-XLK4LIHW.css +0 -56
  164. package/dist/MenuEditApp-5EFYAPFC.cjs +0 -15
  165. package/dist/MenuEditApp-V5XOPIHX.js +0 -9
  166. package/dist/MenuEditApp-YA6HSAMJ.css +0 -94
  167. package/dist/MenuEditMenuBar-7VHMZNRM.css +0 -56
  168. package/dist/MenuEditMenuBar-GF6L4PGZ.cjs +0 -15
  169. package/dist/MenuEditMenuBar-IUXFPZE5.js +0 -6
  170. package/dist/NotesApp-2YNT7Y3D.js +0 -10
  171. package/dist/NotesApp-IAEE7YHU.cjs +0 -16
  172. package/dist/NotesApp-TQ6IHDNX.css +0 -302
  173. package/dist/NotesMenuBar-25LKN3SE.cjs +0 -15
  174. package/dist/NotesMenuBar-MXLOX7OT.css +0 -56
  175. package/dist/NotesMenuBar-SRV3AIAL.js +0 -6
  176. package/dist/PdfApp-67XIX6AM.js +0 -10
  177. package/dist/PdfApp-BUIC5U5H.css +0 -206
  178. package/dist/PdfApp-GZ6RHTBR.cjs +0 -16
  179. package/dist/PdfMenuBar-NLZC6JHS.js +0 -4
  180. package/dist/PdfMenuBar-QUM72EE4.css +0 -56
  181. package/dist/PdfMenuBar-WBRTKMLN.cjs +0 -13
  182. package/dist/SettingsApp-BPLMGPNK.cjs +0 -20
  183. package/dist/SettingsApp-JVOSEFH3.css +0 -283
  184. package/dist/SettingsApp-LUDIXCYY.js +0 -14
  185. package/dist/SettingsMenuBar-5CBSSMVM.css +0 -56
  186. package/dist/SettingsMenuBar-VLT6TTCM.js +0 -6
  187. package/dist/SettingsMenuBar-Y5QEXDEO.cjs +0 -15
  188. package/dist/StorybookApp-NQ244BER.css +0 -7
  189. package/dist/StorybookApp-NZDV4X3Y.js +0 -1
  190. package/dist/StorybookApp-VF3KIMU3.cjs +0 -7
  191. package/dist/TerminalApp-CDGWRBFJ.cjs +0 -10
  192. package/dist/TerminalApp-EAATMIMX.css +0 -77
  193. package/dist/TerminalApp-GCKJCM55.js +0 -4
  194. package/dist/TerminalMenuBar-3J26O26Q.css +0 -56
  195. package/dist/TerminalMenuBar-7BH7MGNJ.cjs +0 -14
  196. package/dist/TerminalMenuBar-7JAEQUZ4.js +0 -5
  197. package/dist/UploaderApp-6KV3TGCT.css +0 -1817
  198. package/dist/UploaderApp-FJC2J4I5.js +0 -10
  199. package/dist/UploaderApp-HLXJYJZQ.cjs +0 -16
  200. package/dist/chunk-2PSTHGTD.cjs +0 -42
  201. package/dist/chunk-2RQX7QBP.cjs +0 -148
  202. package/dist/chunk-43W6UDUZ.cjs +0 -19
  203. package/dist/chunk-4E45FBAH.js +0 -223
  204. package/dist/chunk-4E4U2A25.cjs +0 -237
  205. package/dist/chunk-4QHX7CMN.cjs +0 -38
  206. package/dist/chunk-4XURSNM4.js +0 -43
  207. package/dist/chunk-4ZCRYHL6.js +0 -407
  208. package/dist/chunk-5C6IQE42.cjs +0 -35
  209. package/dist/chunk-5HUYQDQF.js +0 -36
  210. package/dist/chunk-5NOHYJNH.js +0 -84
  211. package/dist/chunk-5QFZW6HW.js +0 -2241
  212. package/dist/chunk-5YH6AKEO.js +0 -146
  213. package/dist/chunk-756GPSPM.js +0 -283
  214. package/dist/chunk-7WUYUTPN.js +0 -2293
  215. package/dist/chunk-7XCMBW64.js +0 -162
  216. package/dist/chunk-7Y7HB7FB.cjs +0 -53
  217. package/dist/chunk-ABIAPZ6S.cjs +0 -45
  218. package/dist/chunk-ACHGJKCI.cjs +0 -286
  219. package/dist/chunk-BQCD5RAF.cjs +0 -48
  220. package/dist/chunk-BQL3YXMV.js +0 -17429
  221. package/dist/chunk-C3XER4N3.js +0 -442
  222. package/dist/chunk-C6BEZNAM.cjs +0 -45
  223. package/dist/chunk-CILU6BWC.cjs +0 -548
  224. package/dist/chunk-CV5PUHAE.cjs +0 -86
  225. package/dist/chunk-D5MVFFID.js +0 -42
  226. package/dist/chunk-D7R55WWT.js +0 -1601
  227. package/dist/chunk-DFYDUXWP.cjs +0 -34
  228. package/dist/chunk-DWP2SYF7.js +0 -55
  229. package/dist/chunk-E55VXNLK.cjs +0 -17498
  230. package/dist/chunk-E5FW77FG.js +0 -77
  231. package/dist/chunk-EAELL43F.js +0 -42
  232. package/dist/chunk-EX5V2ZTU.js +0 -40
  233. package/dist/chunk-FD7QZCTN.cjs +0 -2329
  234. package/dist/chunk-FH4ILMKF.js +0 -38
  235. package/dist/chunk-FRHBM2U7.js +0 -33
  236. package/dist/chunk-FX2TPX3L.cjs +0 -45
  237. package/dist/chunk-GPXNLTPI.cjs +0 -451
  238. package/dist/chunk-GRYCUBJZ.js +0 -9
  239. package/dist/chunk-HPHHS7FJ.cjs +0 -49
  240. package/dist/chunk-HWHBSAUC.js +0 -40
  241. package/dist/chunk-IDHP3R4I.js +0 -31
  242. package/dist/chunk-IHWGT3DL.js +0 -86
  243. package/dist/chunk-JEBKLIMU.cjs +0 -123
  244. package/dist/chunk-KDZLBI6F.cjs +0 -324
  245. package/dist/chunk-KQHICFX3.js +0 -121
  246. package/dist/chunk-LMJE6V4N.cjs +0 -42
  247. package/dist/chunk-MCHPDWVH.js +0 -444
  248. package/dist/chunk-MVDGM5Y4.js +0 -68
  249. package/dist/chunk-N36HBL53.cjs +0 -165
  250. package/dist/chunk-NV5GNFA3.js +0 -541
  251. package/dist/chunk-NVEGEK3N.js +0 -31
  252. package/dist/chunk-OJIDKDKF.js +0 -68
  253. package/dist/chunk-PGGNSLM7.js +0 -215
  254. package/dist/chunk-PKPQA5NR.js +0 -15
  255. package/dist/chunk-PNDBLFJW.cjs +0 -50
  256. package/dist/chunk-Q3WA72BF.cjs +0 -70
  257. package/dist/chunk-RDIDAZ3S.cjs +0 -9
  258. package/dist/chunk-RGJPRXYY.js +0 -48
  259. package/dist/chunk-RPSYXORB.cjs +0 -219
  260. package/dist/chunk-RQ6OZRUW.cjs +0 -41
  261. package/dist/chunk-SBE4SZAN.cjs +0 -226
  262. package/dist/chunk-TAFNCDUI.js +0 -234
  263. package/dist/chunk-TFIDSENE.cjs +0 -88
  264. package/dist/chunk-TGWMOHAO.js +0 -17
  265. package/dist/chunk-UA6XSTW6.js +0 -48
  266. package/dist/chunk-UIQCTAVM.cjs +0 -59
  267. package/dist/chunk-UKYESVDS.cjs +0 -50
  268. package/dist/chunk-V4N255NL.cjs +0 -2309
  269. package/dist/chunk-VO6KXO2I.js +0 -32
  270. package/dist/chunk-WXSTSC3D.cjs +0 -83
  271. package/dist/chunk-XSK7BWYO.js +0 -47
  272. package/dist/chunk-XVAPJ4PP.cjs +0 -449
  273. package/dist/chunk-XVASHRCE.cjs +0 -70
  274. package/dist/chunk-XYSMVQQD.cjs +0 -1608
  275. package/dist/chunk-YAIWI4Z5.js +0 -7
  276. package/dist/chunk-YGYOLDKR.js +0 -280
  277. package/dist/chunk-YP2PLNOF.cjs +0 -34
  278. package/dist/chunk-YSOLW4FS.cjs +0 -11
  279. package/dist/chunk-YY6OUR2U.js +0 -44
  280. package/dist/chunk-YZWS7FDT.cjs +0 -409
  281. package/dist/chunk-Z5YGWL65.cjs +0 -39
  282. package/dist/chunk-ZHNDXNL4.js +0 -45
  283. package/dist/chunk-ZX3EDZ5C.cjs +0 -17
  284. package/dist/index.d.cts +0 -2019
@@ -0,0 +1,1579 @@
1
+ import { createContext as e, use as t, useId as n, useMemo as r } from "react";
2
+ import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
3
+ import s from "clsx";
4
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/keys/keys.mjs
5
+ function c(e) {
6
+ return Object.keys(e);
7
+ }
8
+ //#endregion
9
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/deep-merge/deep-merge.mjs
10
+ function l(e) {
11
+ return e && typeof e == "object" && !Array.isArray(e);
12
+ }
13
+ function u(e, t) {
14
+ let n = { ...e }, r = t;
15
+ return l(e) && l(t) && Object.keys(t).forEach((t) => {
16
+ l(r[t]) && t in e ? n[t] = u(n[t], r[t]) : n[t] = r[t];
17
+ }), n;
18
+ }
19
+ //#endregion
20
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/camel-to-kebab-case/camel-to-kebab-case.mjs
21
+ function d(e) {
22
+ return e.replace(/[A-Z]/g, (e) => `-${e.toLowerCase()}`);
23
+ }
24
+ //#endregion
25
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/units-converters/rem.mjs
26
+ function f(e) {
27
+ return e === "0rem" ? "0rem" : `calc(${e} * var(--mantine-scale))`;
28
+ }
29
+ function p(e, { shouldScale: t = !1 } = {}) {
30
+ function n(r) {
31
+ if (r === 0 || r === "0") return `0${e}`;
32
+ if (typeof r == "number") {
33
+ let n = `${r / 16}${e}`;
34
+ return t ? f(n) : n;
35
+ }
36
+ if (typeof r == "string") {
37
+ if (r === "" || r.startsWith("calc(") || r.startsWith("clamp(") || r.includes("rgba(")) return r;
38
+ if (r.includes(",")) return r.split(",").map((e) => n(e)).join(",");
39
+ if (r.includes(" ")) return r.split(" ").map((e) => n(e)).join(" ");
40
+ let i = r.replace("px", "");
41
+ if (!Number.isNaN(Number(i))) {
42
+ let n = `${Number(i) / 16}${e}`;
43
+ return t ? f(n) : n;
44
+ }
45
+ }
46
+ return r;
47
+ }
48
+ return n;
49
+ }
50
+ var m = p("rem", { shouldScale: !0 }), h = p("em");
51
+ //#endregion
52
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/filter-props/filter-props.mjs
53
+ function g(e) {
54
+ return Object.keys(e).reduce((t, n) => (e[n] !== void 0 && (t[n] = e[n]), t), {});
55
+ }
56
+ //#endregion
57
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/is-number-like/is-number-like.mjs
58
+ function _(e) {
59
+ if (typeof e == "number") return !0;
60
+ if (typeof e == "string") {
61
+ if (e.startsWith("calc(") || e.startsWith("var(") || e.includes(" ") && e.trim() !== "") return !0;
62
+ let t = /^[+-]?[0-9]+(\.[0-9]+)?(px|em|rem|ex|ch|lh|rlh|vw|vh|vmin|vmax|vb|vi|svw|svh|lvw|lvh|dvw|dvh|cm|mm|in|pt|pc|q|cqw|cqh|cqi|cqb|cqmin|cqmax|%)?$/;
63
+ return e.trim().split(/\s+/).every((e) => t.test(e));
64
+ }
65
+ return !1;
66
+ }
67
+ //#endregion
68
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/get-size/get-size.mjs
69
+ function v(e, t = "size", n = !0) {
70
+ if (e !== void 0) return _(e) ? n ? m(e) : e : `var(--${t}-${e})`;
71
+ }
72
+ function y(e) {
73
+ return v(e, "mantine-spacing");
74
+ }
75
+ function b(e) {
76
+ return e === void 0 ? "var(--mantine-radius-default)" : v(e, "mantine-radius");
77
+ }
78
+ function x(e) {
79
+ return v(e, "mantine-font-size");
80
+ }
81
+ function S(e) {
82
+ return v(e, "mantine-line-height", !1);
83
+ }
84
+ function C(e) {
85
+ if (e) return v(e, "mantine-shadow", !1);
86
+ }
87
+ //#endregion
88
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/create-vars-resolver/create-vars-resolver.mjs
89
+ function w(e) {
90
+ return e;
91
+ }
92
+ //#endregion
93
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/resolve-class-names/resolve-class-names.mjs
94
+ var T = {};
95
+ function E(e) {
96
+ let t = {};
97
+ return e.forEach((e) => {
98
+ Object.entries(e).forEach(([e, n]) => {
99
+ t[e] ? t[e] = s(t[e], n) : t[e] = n;
100
+ });
101
+ }), t;
102
+ }
103
+ function D({ theme: e, classNames: t, props: n, stylesCtx: r }) {
104
+ return E((Array.isArray(t) ? t : [t]).map((t) => typeof t == "function" ? t(e, n, r) : t || T));
105
+ }
106
+ //#endregion
107
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-styles/resolve-styles.mjs
108
+ function O({ theme: e, styles: t, props: n, stylesCtx: r }) {
109
+ let i = Array.isArray(t) ? t : [t], a = {};
110
+ for (let t of i) typeof t == "function" ? Object.assign(a, t(e, n, r)) : t && Object.assign(a, t);
111
+ return a;
112
+ }
113
+ //#endregion
114
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-primary-shade/get-primary-shade.mjs
115
+ function k(e, t) {
116
+ return typeof e.primaryShade == "number" ? e.primaryShade : t === "dark" ? e.primaryShade.dark : e.primaryShade.light;
117
+ }
118
+ //#endregion
119
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/to-rgba/to-rgba.mjs
120
+ function ee(e) {
121
+ return /^#?([0-9A-F]{3}){1,2}([0-9A-F]{2})?$/i.test(e);
122
+ }
123
+ function te(e) {
124
+ let t = e.replace("#", "");
125
+ if (t.length === 3) {
126
+ let e = t.split("");
127
+ t = [
128
+ e[0],
129
+ e[0],
130
+ e[1],
131
+ e[1],
132
+ e[2],
133
+ e[2]
134
+ ].join("");
135
+ }
136
+ if (t.length === 8) {
137
+ let e = parseInt(t.slice(6, 8), 16) / 255;
138
+ return {
139
+ r: parseInt(t.slice(0, 2), 16),
140
+ g: parseInt(t.slice(2, 4), 16),
141
+ b: parseInt(t.slice(4, 6), 16),
142
+ a: e
143
+ };
144
+ }
145
+ let n = parseInt(t, 16);
146
+ return {
147
+ r: n >> 16 & 255,
148
+ g: n >> 8 & 255,
149
+ b: n & 255,
150
+ a: 1
151
+ };
152
+ }
153
+ function ne(e) {
154
+ let [t, n, r, i] = e.replace(/[^0-9,./]/g, "").split(/[/,]/).map(Number);
155
+ return {
156
+ r: t,
157
+ g: n,
158
+ b: r,
159
+ a: i === void 0 ? 1 : i
160
+ };
161
+ }
162
+ function re(e) {
163
+ let t = e.match(/^hsla?\(\s*(\d+)\s*,\s*(\d+%)\s*,\s*(\d+%)\s*(,\s*(0?\.\d+|\d+(\.\d+)?))?\s*\)$/i);
164
+ if (!t) return {
165
+ r: 0,
166
+ g: 0,
167
+ b: 0,
168
+ a: 1
169
+ };
170
+ let n = parseInt(t[1], 10), r = parseInt(t[2], 10) / 100, i = parseInt(t[3], 10) / 100, a = t[5] ? parseFloat(t[5]) : void 0, o = (1 - Math.abs(2 * i - 1)) * r, s = n / 60, c = o * (1 - Math.abs(s % 2 - 1)), l = i - o / 2, u, d, f;
171
+ return s >= 0 && s < 1 ? (u = o, d = c, f = 0) : s >= 1 && s < 2 ? (u = c, d = o, f = 0) : s >= 2 && s < 3 ? (u = 0, d = o, f = c) : s >= 3 && s < 4 ? (u = 0, d = c, f = o) : s >= 4 && s < 5 ? (u = c, d = 0, f = o) : (u = o, d = 0, f = c), {
172
+ r: Math.round((u + l) * 255),
173
+ g: Math.round((d + l) * 255),
174
+ b: Math.round((f + l) * 255),
175
+ a: a || 1
176
+ };
177
+ }
178
+ function A(e) {
179
+ return ee(e) ? te(e) : e.startsWith("rgb") ? ne(e) : e.startsWith("hsl") ? re(e) : {
180
+ r: 0,
181
+ g: 0,
182
+ b: 0,
183
+ a: 1
184
+ };
185
+ }
186
+ //#endregion
187
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/luminance/luminance.mjs
188
+ function j(e) {
189
+ return e <= .03928 ? e / 12.92 : ((e + .055) / 1.055) ** 2.4;
190
+ }
191
+ function ie(e) {
192
+ let t = e.match(/oklch\((.*?)%\s/);
193
+ return t ? parseFloat(t[1]) : null;
194
+ }
195
+ function M(e) {
196
+ if (e.startsWith("oklch(")) return (ie(e) || 0) / 100;
197
+ let { r: t, g: n, b: r } = A(e), i = t / 255, a = n / 255, o = r / 255, s = j(i), c = j(a), l = j(o);
198
+ return .2126 * s + .7152 * c + .0722 * l;
199
+ }
200
+ function N(e, t = .179) {
201
+ return e.startsWith("var(") ? !1 : M(e) > t;
202
+ }
203
+ //#endregion
204
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/parse-theme-color/parse-theme-color.mjs
205
+ function P({ color: e, theme: t, colorScheme: n }) {
206
+ if (typeof e != "string") throw Error(`[@mantine/core] Failed to parse color. Expected color to be a string, instead got ${typeof e}`);
207
+ if (e === "bright") return {
208
+ color: e,
209
+ value: n === "dark" ? t.white : t.black,
210
+ shade: void 0,
211
+ isThemeColor: !1,
212
+ isLight: N(n === "dark" ? t.white : t.black, t.luminanceThreshold),
213
+ variable: "--mantine-color-bright"
214
+ };
215
+ if (e === "dimmed") return {
216
+ color: e,
217
+ value: n === "dark" ? t.colors.dark[2] : t.colors.gray[7],
218
+ shade: void 0,
219
+ isThemeColor: !1,
220
+ isLight: N(n === "dark" ? t.colors.dark[2] : t.colors.gray[6], t.luminanceThreshold),
221
+ variable: "--mantine-color-dimmed"
222
+ };
223
+ if (e === "white" || e === "black") return {
224
+ color: e,
225
+ value: e === "white" ? t.white : t.black,
226
+ shade: void 0,
227
+ isThemeColor: !1,
228
+ isLight: N(e === "white" ? t.white : t.black, t.luminanceThreshold),
229
+ variable: `--mantine-color-${e}`
230
+ };
231
+ let [r, i] = e.split("."), a = i ? Number(i) : void 0, o = r in t.colors;
232
+ if (o) {
233
+ let e = a === void 0 ? t.colors[r][k(t, n || "light")] : t.colors[r][a];
234
+ return {
235
+ color: r,
236
+ value: e,
237
+ shade: a,
238
+ isThemeColor: o,
239
+ isLight: N(e, t.luminanceThreshold),
240
+ variable: i ? `--mantine-color-${r}-${a}` : `--mantine-color-${r}-filled`
241
+ };
242
+ }
243
+ return {
244
+ color: e,
245
+ value: e,
246
+ isThemeColor: o,
247
+ isLight: N(e, t.luminanceThreshold),
248
+ shade: a,
249
+ variable: void 0
250
+ };
251
+ }
252
+ //#endregion
253
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-theme-color/get-theme-color.mjs
254
+ function F(e, t) {
255
+ let n = P({
256
+ color: e || t.primaryColor,
257
+ theme: t
258
+ });
259
+ return n.variable ? `var(${n.variable})` : e;
260
+ }
261
+ //#endregion
262
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/darken/darken.mjs
263
+ function I(e, t) {
264
+ if (e.startsWith("var(")) return `color-mix(in srgb, ${e}, black ${t * 100}%)`;
265
+ let { r: n, g: r, b: i, a } = A(e), o = 1 - t, s = (e) => Math.round(e * o);
266
+ return `rgba(${s(n)}, ${s(r)}, ${s(i)}, ${a})`;
267
+ }
268
+ //#endregion
269
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-gradient/get-gradient.mjs
270
+ function L(e, t) {
271
+ let n = {
272
+ from: e?.from || t.defaultGradient.from,
273
+ to: e?.to || t.defaultGradient.to,
274
+ deg: e?.deg ?? t.defaultGradient.deg ?? 0
275
+ }, r = F(n.from, t), i = F(n.to, t);
276
+ return `linear-gradient(${n.deg}deg, ${r} 0%, ${i} 100%)`;
277
+ }
278
+ //#endregion
279
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/rgba/rgba.mjs
280
+ function R(e, t) {
281
+ if (typeof e != "string" || t > 1 || t < 0) return "rgba(0, 0, 0, 1)";
282
+ if (e.startsWith("var(")) return `color-mix(in srgb, ${e}, transparent ${(1 - t) * 100}%)`;
283
+ if (e.startsWith("oklch")) return e.includes("/") ? e.replace(/\/\s*[\d.]+\s*\)/, `/ ${t})`) : e.replace(")", ` / ${t})`);
284
+ let { r: n, g: r, b: i } = A(e);
285
+ return `rgba(${n}, ${r}, ${i}, ${t})`;
286
+ }
287
+ var ae = R, oe = ({ color: e, theme: t, variant: n, gradient: r, autoContrast: i }) => {
288
+ let a = P({
289
+ color: e,
290
+ theme: t
291
+ }), o = typeof i == "boolean" ? i : t.autoContrast;
292
+ if (n === "none") return {
293
+ background: "transparent",
294
+ hover: "transparent",
295
+ color: "inherit",
296
+ border: "none"
297
+ };
298
+ if (n === "filled") {
299
+ let t = o && a.isLight ? "var(--mantine-color-black)" : "var(--mantine-color-white)";
300
+ return a.isThemeColor ? a.shade === void 0 ? {
301
+ background: `var(--mantine-color-${e}-filled)`,
302
+ hover: `var(--mantine-color-${e}-filled-hover)`,
303
+ color: t,
304
+ border: `${m(1)} solid transparent`
305
+ } : {
306
+ background: `var(--mantine-color-${a.color}-${a.shade})`,
307
+ hover: `var(--mantine-color-${a.color}-${a.shade === 9 ? 8 : a.shade + 1})`,
308
+ color: t,
309
+ border: `${m(1)} solid transparent`
310
+ } : {
311
+ background: e,
312
+ hover: I(e, .1),
313
+ color: t,
314
+ border: `${m(1)} solid transparent`
315
+ };
316
+ }
317
+ if (n === "light") {
318
+ if (a.isThemeColor) {
319
+ if (a.shade === void 0) return {
320
+ background: `var(--mantine-color-${e}-light)`,
321
+ hover: `var(--mantine-color-${e}-light-hover)`,
322
+ color: `var(--mantine-color-${e}-light-color)`,
323
+ border: `${m(1)} solid transparent`
324
+ };
325
+ let n = t.colors[a.color][a.shade];
326
+ return {
327
+ background: n,
328
+ hover: I(n, .1),
329
+ color: `var(--mantine-color-${a.color}-light-color)`,
330
+ border: `${m(1)} solid transparent`
331
+ };
332
+ }
333
+ return {
334
+ background: e,
335
+ hover: I(e, .1),
336
+ color: N(e) ? "var(--mantine-color-black)" : "var(--mantine-color-white)",
337
+ border: `${m(1)} solid transparent`
338
+ };
339
+ }
340
+ if (n === "outline") return a.isThemeColor ? a.shade === void 0 ? {
341
+ background: "transparent",
342
+ hover: `var(--mantine-color-${e}-outline-hover)`,
343
+ color: `var(--mantine-color-${e}-outline)`,
344
+ border: `${m(1)} solid var(--mantine-color-${e}-outline)`
345
+ } : {
346
+ background: "transparent",
347
+ hover: R(t.colors[a.color][a.shade], .05),
348
+ color: `var(--mantine-color-${a.color}-${a.shade})`,
349
+ border: `${m(1)} solid var(--mantine-color-${a.color}-${a.shade})`
350
+ } : {
351
+ background: "transparent",
352
+ hover: R(e, .05),
353
+ color: e,
354
+ border: `${m(1)} solid ${e}`
355
+ };
356
+ if (n === "subtle") {
357
+ if (a.isThemeColor) {
358
+ if (a.shade === void 0) return {
359
+ background: "transparent",
360
+ hover: `var(--mantine-color-${e}-light-hover)`,
361
+ color: `var(--mantine-color-${e}-light-color)`,
362
+ border: `${m(1)} solid transparent`
363
+ };
364
+ let n = t.colors[a.color][a.shade];
365
+ return {
366
+ background: "transparent",
367
+ hover: R(n, .12),
368
+ color: `var(--mantine-color-${a.color}-${Math.min(a.shade, 6)})`,
369
+ border: `${m(1)} solid transparent`
370
+ };
371
+ }
372
+ return {
373
+ background: "transparent",
374
+ hover: R(e, .12),
375
+ color: e,
376
+ border: `${m(1)} solid transparent`
377
+ };
378
+ }
379
+ return n === "transparent" ? a.isThemeColor ? a.shade === void 0 ? {
380
+ background: "transparent",
381
+ hover: "transparent",
382
+ color: `var(--mantine-color-${e}-light-color)`,
383
+ border: `${m(1)} solid transparent`
384
+ } : {
385
+ background: "transparent",
386
+ hover: "transparent",
387
+ color: `var(--mantine-color-${a.color}-${Math.min(a.shade, 6)})`,
388
+ border: `${m(1)} solid transparent`
389
+ } : {
390
+ background: "transparent",
391
+ hover: "transparent",
392
+ color: e,
393
+ border: `${m(1)} solid transparent`
394
+ } : n === "white" ? a.isThemeColor ? a.shade === void 0 ? {
395
+ background: "var(--mantine-color-white)",
396
+ hover: I(t.white, .01),
397
+ color: `var(--mantine-color-${e}-filled)`,
398
+ border: `${m(1)} solid transparent`
399
+ } : {
400
+ background: "var(--mantine-color-white)",
401
+ hover: I(t.white, .01),
402
+ color: `var(--mantine-color-${a.color}-${a.shade})`,
403
+ border: `${m(1)} solid transparent`
404
+ } : {
405
+ background: "var(--mantine-color-white)",
406
+ hover: I(t.white, .01),
407
+ color: e,
408
+ border: `${m(1)} solid transparent`
409
+ } : n === "gradient" ? {
410
+ background: L(r, t),
411
+ hover: L(r, t),
412
+ color: "var(--mantine-color-white)",
413
+ border: "none"
414
+ } : n === "default" ? {
415
+ background: "var(--mantine-color-default)",
416
+ hover: "var(--mantine-color-default-hover)",
417
+ color: "var(--mantine-color-default-color)",
418
+ border: `${m(1)} solid var(--mantine-color-default-border)`
419
+ } : {};
420
+ }, z = e(null);
421
+ function B() {
422
+ let e = t(z);
423
+ if (!e) throw Error("[@mantine/core] MantineProvider was not found in tree");
424
+ return e;
425
+ }
426
+ function se() {
427
+ return B().cssVariablesResolver;
428
+ }
429
+ function ce() {
430
+ return B().classNamesPrefix;
431
+ }
432
+ function V() {
433
+ return B().getStyleNonce;
434
+ }
435
+ function le() {
436
+ return B().withStaticClasses;
437
+ }
438
+ function ue() {
439
+ return B().headless;
440
+ }
441
+ function de() {
442
+ return B().stylesTransform?.sx;
443
+ }
444
+ function H() {
445
+ return B().stylesTransform?.styles;
446
+ }
447
+ function fe() {
448
+ return B().env || "default";
449
+ }
450
+ //#endregion
451
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/default-colors.mjs
452
+ var pe = {
453
+ dark: [
454
+ "#C9C9C9",
455
+ "#b8b8b8",
456
+ "#828282",
457
+ "#696969",
458
+ "#424242",
459
+ "#3b3b3b",
460
+ "#2e2e2e",
461
+ "#242424",
462
+ "#1f1f1f",
463
+ "#141414"
464
+ ],
465
+ gray: [
466
+ "#f8f9fa",
467
+ "#f1f3f5",
468
+ "#e9ecef",
469
+ "#dee2e6",
470
+ "#ced4da",
471
+ "#adb5bd",
472
+ "#868e96",
473
+ "#495057",
474
+ "#343a40",
475
+ "#212529"
476
+ ],
477
+ red: [
478
+ "#fff5f5",
479
+ "#ffe3e3",
480
+ "#ffc9c9",
481
+ "#ffa8a8",
482
+ "#ff8787",
483
+ "#ff6b6b",
484
+ "#fa5252",
485
+ "#f03e3e",
486
+ "#e03131",
487
+ "#c92a2a"
488
+ ],
489
+ pink: [
490
+ "#fff0f6",
491
+ "#ffdeeb",
492
+ "#fcc2d7",
493
+ "#faa2c1",
494
+ "#f783ac",
495
+ "#f06595",
496
+ "#e64980",
497
+ "#d6336c",
498
+ "#c2255c",
499
+ "#a61e4d"
500
+ ],
501
+ grape: [
502
+ "#f8f0fc",
503
+ "#f3d9fa",
504
+ "#eebefa",
505
+ "#e599f7",
506
+ "#da77f2",
507
+ "#cc5de8",
508
+ "#be4bdb",
509
+ "#ae3ec9",
510
+ "#9c36b5",
511
+ "#862e9c"
512
+ ],
513
+ violet: [
514
+ "#f3f0ff",
515
+ "#e5dbff",
516
+ "#d0bfff",
517
+ "#b197fc",
518
+ "#9775fa",
519
+ "#845ef7",
520
+ "#7950f2",
521
+ "#7048e8",
522
+ "#6741d9",
523
+ "#5f3dc4"
524
+ ],
525
+ indigo: [
526
+ "#edf2ff",
527
+ "#dbe4ff",
528
+ "#bac8ff",
529
+ "#91a7ff",
530
+ "#748ffc",
531
+ "#5c7cfa",
532
+ "#4c6ef5",
533
+ "#4263eb",
534
+ "#3b5bdb",
535
+ "#364fc7"
536
+ ],
537
+ blue: [
538
+ "#e7f5ff",
539
+ "#d0ebff",
540
+ "#a5d8ff",
541
+ "#74c0fc",
542
+ "#4dabf7",
543
+ "#339af0",
544
+ "#228be6",
545
+ "#1c7ed6",
546
+ "#1971c2",
547
+ "#1864ab"
548
+ ],
549
+ cyan: [
550
+ "#e3fafc",
551
+ "#c5f6fa",
552
+ "#99e9f2",
553
+ "#66d9e8",
554
+ "#3bc9db",
555
+ "#22b8cf",
556
+ "#15aabf",
557
+ "#1098ad",
558
+ "#0c8599",
559
+ "#0b7285"
560
+ ],
561
+ teal: [
562
+ "#e6fcf5",
563
+ "#c3fae8",
564
+ "#96f2d7",
565
+ "#63e6be",
566
+ "#38d9a9",
567
+ "#20c997",
568
+ "#12b886",
569
+ "#0ca678",
570
+ "#099268",
571
+ "#087f5b"
572
+ ],
573
+ green: [
574
+ "#ebfbee",
575
+ "#d3f9d8",
576
+ "#b2f2bb",
577
+ "#8ce99a",
578
+ "#69db7c",
579
+ "#51cf66",
580
+ "#40c057",
581
+ "#37b24d",
582
+ "#2f9e44",
583
+ "#2b8a3e"
584
+ ],
585
+ lime: [
586
+ "#f4fce3",
587
+ "#e9fac8",
588
+ "#d8f5a2",
589
+ "#c0eb75",
590
+ "#a9e34b",
591
+ "#94d82d",
592
+ "#82c91e",
593
+ "#74b816",
594
+ "#66a80f",
595
+ "#5c940d"
596
+ ],
597
+ yellow: [
598
+ "#fff9db",
599
+ "#fff3bf",
600
+ "#ffec99",
601
+ "#ffe066",
602
+ "#ffd43b",
603
+ "#fcc419",
604
+ "#fab005",
605
+ "#f59f00",
606
+ "#f08c00",
607
+ "#e67700"
608
+ ],
609
+ orange: [
610
+ "#fff4e6",
611
+ "#ffe8cc",
612
+ "#ffd8a8",
613
+ "#ffc078",
614
+ "#ffa94d",
615
+ "#ff922b",
616
+ "#fd7e14",
617
+ "#f76707",
618
+ "#e8590c",
619
+ "#d9480f"
620
+ ]
621
+ }, U = "-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", W = {
622
+ scale: 1,
623
+ fontSmoothing: !0,
624
+ focusRing: "auto",
625
+ white: "#fff",
626
+ black: "#000",
627
+ colors: pe,
628
+ primaryShade: {
629
+ light: 6,
630
+ dark: 8
631
+ },
632
+ primaryColor: "blue",
633
+ variantColorResolver: oe,
634
+ autoContrast: !1,
635
+ luminanceThreshold: .3,
636
+ fontFamily: U,
637
+ fontFamilyMonospace: "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace",
638
+ respectReducedMotion: !1,
639
+ cursorType: "default",
640
+ defaultGradient: {
641
+ from: "blue",
642
+ to: "cyan",
643
+ deg: 45
644
+ },
645
+ defaultRadius: "md",
646
+ activeClassName: "mantine-active",
647
+ focusClassName: "",
648
+ headings: {
649
+ fontFamily: U,
650
+ fontWeight: "700",
651
+ textWrap: "wrap",
652
+ sizes: {
653
+ h1: {
654
+ fontSize: m(34),
655
+ lineHeight: "1.3"
656
+ },
657
+ h2: {
658
+ fontSize: m(26),
659
+ lineHeight: "1.35"
660
+ },
661
+ h3: {
662
+ fontSize: m(22),
663
+ lineHeight: "1.4"
664
+ },
665
+ h4: {
666
+ fontSize: m(18),
667
+ lineHeight: "1.45"
668
+ },
669
+ h5: {
670
+ fontSize: m(16),
671
+ lineHeight: "1.5"
672
+ },
673
+ h6: {
674
+ fontSize: m(14),
675
+ lineHeight: "1.5"
676
+ }
677
+ }
678
+ },
679
+ fontSizes: {
680
+ xs: m(12),
681
+ sm: m(14),
682
+ md: m(16),
683
+ lg: m(18),
684
+ xl: m(20)
685
+ },
686
+ lineHeights: {
687
+ xs: "1.4",
688
+ sm: "1.45",
689
+ md: "1.55",
690
+ lg: "1.6",
691
+ xl: "1.65"
692
+ },
693
+ fontWeights: {
694
+ regular: "400",
695
+ medium: "600",
696
+ bold: "700"
697
+ },
698
+ radius: {
699
+ xs: m(2),
700
+ sm: m(4),
701
+ md: m(8),
702
+ lg: m(16),
703
+ xl: m(32)
704
+ },
705
+ spacing: {
706
+ xs: m(10),
707
+ sm: m(12),
708
+ md: m(16),
709
+ lg: m(20),
710
+ xl: m(32)
711
+ },
712
+ breakpoints: {
713
+ xs: "36em",
714
+ sm: "48em",
715
+ md: "62em",
716
+ lg: "75em",
717
+ xl: "88em"
718
+ },
719
+ shadows: {
720
+ xs: `0 ${m(1)} ${m(3)} rgba(0, 0, 0, 0.05), 0 ${m(1)} ${m(2)} rgba(0, 0, 0, 0.1)`,
721
+ sm: `0 ${m(1)} ${m(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${m(10)} ${m(15)} ${m(-5)}, rgba(0, 0, 0, 0.04) 0 ${m(7)} ${m(7)} ${m(-5)}`,
722
+ md: `0 ${m(1)} ${m(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${m(20)} ${m(25)} ${m(-5)}, rgba(0, 0, 0, 0.04) 0 ${m(10)} ${m(10)} ${m(-5)}`,
723
+ lg: `0 ${m(1)} ${m(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${m(28)} ${m(23)} ${m(-7)}, rgba(0, 0, 0, 0.04) 0 ${m(12)} ${m(12)} ${m(-7)}`,
724
+ xl: `0 ${m(1)} ${m(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${m(36)} ${m(28)} ${m(-7)}, rgba(0, 0, 0, 0.04) 0 ${m(17)} ${m(17)} ${m(-7)}`
725
+ },
726
+ other: {},
727
+ components: {}
728
+ }, me = "[@mantine/core] MantineProvider: Invalid theme.primaryColor, it accepts only key of theme.colors, learn more – https://mantine.dev/theming/colors/#primary-color", he = "[@mantine/core] MantineProvider: Invalid theme.primaryShade, it accepts only 0-9 integers or an object { light: 0-9, dark: 0-9 }";
729
+ function G(e) {
730
+ return e < 0 || e > 9 ? !1 : parseInt(e.toString(), 10) === e;
731
+ }
732
+ function ge(e) {
733
+ if (!(e.primaryColor in e.colors)) throw Error(me);
734
+ if (typeof e.primaryShade == "object" && (!G(e.primaryShade.dark) || !G(e.primaryShade.light)) || typeof e.primaryShade == "number" && !G(e.primaryShade)) throw Error(he);
735
+ }
736
+ function _e(e, t) {
737
+ if (!t) return ge(e), e;
738
+ let n = u(e, t);
739
+ return t.fontFamily && !t.headings?.fontFamily && (n.headings.fontFamily = t.fontFamily), ge(n), n;
740
+ }
741
+ //#endregion
742
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs
743
+ var K = e(null), ve = () => t(K) || W;
744
+ function q() {
745
+ let e = t(K);
746
+ if (!e) throw Error("@mantine/core: MantineProvider was not found in component tree, make sure you have it in your app");
747
+ return e;
748
+ }
749
+ function ye({ theme: e, children: t, inherit: n = !0 }) {
750
+ let i = ve();
751
+ return /* @__PURE__ */ a(K, {
752
+ value: r(() => _e(n ? i : W, e), [
753
+ e,
754
+ i,
755
+ n
756
+ ]),
757
+ children: t
758
+ });
759
+ }
760
+ ye.displayName = "@mantine/core/MantineThemeProvider";
761
+ //#endregion
762
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/use-props/use-props.mjs
763
+ function be(e, t, n) {
764
+ let r = q(), i = r.components[e]?.defaultProps, a = typeof i == "function" ? i(r) : i;
765
+ return {
766
+ ...t,
767
+ ...a,
768
+ ...g(n)
769
+ };
770
+ }
771
+ //#endregion
772
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-global-class-names/get-global-class-names.mjs
773
+ var xe = {
774
+ always: "mantine-focus-always",
775
+ auto: "mantine-focus-auto",
776
+ never: "mantine-focus-never"
777
+ };
778
+ function Se({ theme: e, options: t, unstyled: n }) {
779
+ return s(t?.focusable && !n && (e.focusClassName || xe[e.focusRing]), t?.active && !n && e.activeClassName);
780
+ }
781
+ //#endregion
782
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-options-class-names/get-options-class-names.mjs
783
+ function Ce({ selector: e, stylesCtx: t, options: n, props: r, theme: i }) {
784
+ return D({
785
+ theme: i,
786
+ classNames: n?.classNames,
787
+ props: n?.props || r,
788
+ stylesCtx: t
789
+ })[e];
790
+ }
791
+ //#endregion
792
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-resolved-class-names/get-resolved-class-names.mjs
793
+ function we({ selector: e, stylesCtx: t, theme: n, classNames: r, props: i }) {
794
+ return D({
795
+ theme: n,
796
+ classNames: r,
797
+ props: i,
798
+ stylesCtx: t
799
+ })[e];
800
+ }
801
+ //#endregion
802
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-root-class-name/get-root-class-name.mjs
803
+ function Te({ rootSelector: e, selector: t, className: n }) {
804
+ return e === t ? n : void 0;
805
+ }
806
+ //#endregion
807
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-selector-class-name/get-selector-class-name.mjs
808
+ function Ee({ selector: e, classes: t, unstyled: n }) {
809
+ return n ? void 0 : t[e];
810
+ }
811
+ //#endregion
812
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-static-class-names/get-static-class-names.mjs
813
+ function De({ themeName: e, classNamesPrefix: t, selector: n, withStaticClass: r }) {
814
+ return r === !1 ? [] : e.map((e) => `${t}-${e}-${n}`);
815
+ }
816
+ //#endregion
817
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-variant-class-name/get-variant-class-name.mjs
818
+ function Oe({ options: e, classes: t, selector: n, unstyled: r }) {
819
+ return e?.variant && !r ? t[`${n}--${e.variant}`] : void 0;
820
+ }
821
+ //#endregion
822
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-class-name.mjs
823
+ function ke({ theme: e, options: t, themeName: n, selector: r, classNamesPrefix: i, resolvedClassNames: a, resolvedThemeClassNames: o, classes: c, unstyled: l, className: u, rootSelector: d, props: f, stylesCtx: p, withStaticClasses: m, headless: h, transformedStyles: g }) {
824
+ return s(Se({
825
+ theme: e,
826
+ options: t,
827
+ unstyled: l || h
828
+ }), o.map((e) => e[r]), Oe({
829
+ options: t,
830
+ classes: c,
831
+ selector: r,
832
+ unstyled: l || h
833
+ }), a[r], we({
834
+ selector: r,
835
+ stylesCtx: p,
836
+ theme: e,
837
+ classNames: g,
838
+ props: f
839
+ }), Ce({
840
+ selector: r,
841
+ stylesCtx: p,
842
+ options: t,
843
+ props: f,
844
+ theme: e
845
+ }), Te({
846
+ rootSelector: d,
847
+ selector: r,
848
+ className: u
849
+ }), Ee({
850
+ selector: r,
851
+ classes: c,
852
+ unstyled: l || h
853
+ }), m && !h && De({
854
+ themeName: n,
855
+ classNamesPrefix: i,
856
+ selector: r,
857
+ withStaticClass: t?.withStaticClass
858
+ }), t?.className);
859
+ }
860
+ //#endregion
861
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-style/resolve-style.mjs
862
+ function J({ style: e, theme: t }) {
863
+ return Array.isArray(e) ? e.reduce((e, n) => ({
864
+ ...e,
865
+ ...J({
866
+ style: n,
867
+ theme: t
868
+ })
869
+ }), {}) : typeof e == "function" ? e(t) : e ?? {};
870
+ }
871
+ //#endregion
872
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/get-style.mjs
873
+ function Ae({ theme: e, selector: t, options: n, props: r, stylesCtx: i, rootSelector: a, withStylesTransform: o, resolvedStyles: s, resolvedThemeStyles: c, resolvedVars: l, resolvedRootStyle: u }) {
874
+ return {
875
+ ...c[t],
876
+ ...s[t],
877
+ ...!o && O({
878
+ theme: e,
879
+ styles: n?.styles,
880
+ props: n?.props || r,
881
+ stylesCtx: i
882
+ })[t],
883
+ ...l[t],
884
+ ...a === t ? u : null,
885
+ ...J({
886
+ style: n?.style,
887
+ theme: e
888
+ })
889
+ };
890
+ }
891
+ //#endregion
892
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-vars/merge-vars.mjs
893
+ function je(e) {
894
+ return e.reduce((e, t) => (t && Object.keys(t).forEach((n) => {
895
+ e[n] = {
896
+ ...e[n],
897
+ ...g(t[n])
898
+ };
899
+ }), e), {});
900
+ }
901
+ //#endregion
902
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/use-styles/use-transformed-styles.mjs
903
+ function Me({ props: e, stylesCtx: t, themeName: n, theme: r }) {
904
+ let i = H()?.();
905
+ return {
906
+ getTransformedStyles: (a) => i ? [...a.map((n) => i(n, {
907
+ props: e,
908
+ theme: r,
909
+ ctx: t
910
+ })), ...n.map((n) => i(r.components[n]?.styles, {
911
+ props: e,
912
+ theme: r,
913
+ ctx: t
914
+ }))].filter(Boolean) : [],
915
+ withStylesTransform: !!i
916
+ };
917
+ }
918
+ //#endregion
919
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/use-styles/use-styles.mjs
920
+ function Ne({ name: e, classes: t, props: n, stylesCtx: r, className: i, style: a, rootSelector: o = "root", unstyled: s, classNames: c, styles: l, vars: u, varsResolver: d, attributes: f }) {
921
+ let p = q(), m = ce(), h = le(), g = ue(), _ = (Array.isArray(e) ? e : [e]).filter((e) => e), { withStylesTransform: v, getTransformedStyles: y } = Me({
922
+ props: n,
923
+ stylesCtx: r,
924
+ themeName: _,
925
+ theme: p
926
+ }), b = D({
927
+ theme: p,
928
+ classNames: c,
929
+ props: n,
930
+ stylesCtx: r
931
+ }), x = _.map((e) => D({
932
+ theme: p,
933
+ classNames: p.components[e]?.classNames,
934
+ props: n,
935
+ stylesCtx: r
936
+ })), S = v ? {} : O({
937
+ theme: p,
938
+ styles: l,
939
+ props: n,
940
+ stylesCtx: r
941
+ }), C = {};
942
+ if (!v) for (let e of _) {
943
+ let t = O({
944
+ theme: p,
945
+ styles: p.components[e]?.styles,
946
+ props: n,
947
+ stylesCtx: r
948
+ });
949
+ for (let e of Object.keys(t)) C[e] = {
950
+ ...C[e],
951
+ ...t[e]
952
+ };
953
+ }
954
+ let w = je([
955
+ g ? {} : d?.(p, n, r),
956
+ ..._.map((e) => p.components?.[e]?.vars?.(p, n, r)),
957
+ u?.(p, n, r)
958
+ ]), T = J({
959
+ style: a,
960
+ theme: p
961
+ });
962
+ return (e, a) => ({
963
+ ...f?.[e],
964
+ className: ke({
965
+ theme: p,
966
+ options: a,
967
+ themeName: _,
968
+ selector: e,
969
+ classNamesPrefix: m,
970
+ resolvedClassNames: b,
971
+ resolvedThemeClassNames: x,
972
+ classes: t,
973
+ unstyled: s,
974
+ className: i,
975
+ rootSelector: o,
976
+ props: n,
977
+ stylesCtx: r,
978
+ withStaticClasses: h,
979
+ headless: g,
980
+ transformedStyles: y([a?.styles, l])
981
+ }),
982
+ style: Ae({
983
+ theme: p,
984
+ selector: e,
985
+ options: a,
986
+ props: n,
987
+ stylesCtx: r,
988
+ rootSelector: o,
989
+ withStylesTransform: v,
990
+ resolvedStyles: S,
991
+ resolvedThemeStyles: C,
992
+ resolvedVars: w,
993
+ resolvedRootStyle: T
994
+ })
995
+ });
996
+ }
997
+ //#endregion
998
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/InlineStyles/css-object-to-string/css-object-to-string.mjs
999
+ function Y(e) {
1000
+ return c(e).reduce((t, n) => e[n] === void 0 ? t : `${t}${d(n)}:${e[n]};`, "").trim();
1001
+ }
1002
+ //#endregion
1003
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/InlineStyles/styles-to-string/styles-to-string.mjs
1004
+ function Pe({ selector: e, styles: t, media: n, container: r }) {
1005
+ let i = t ? Y(t) : "", a = Array.isArray(n) ? n.map((t) => `@media${t.query}{${e}{${Y(t.styles)}}}`) : [], o = Array.isArray(r) ? r.map((t) => `@container ${t.query}{${e}{${Y(t.styles)}}}`) : [];
1006
+ return `${i ? `${e}{${i}}` : ""}${a.join("")}${o.join("")}`.trim();
1007
+ }
1008
+ //#endregion
1009
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/InlineStyles/InlineStyles.mjs
1010
+ function Fe(e) {
1011
+ let t = V();
1012
+ return /* @__PURE__ */ a("style", {
1013
+ "data-mantine-styles": "inline",
1014
+ nonce: t?.(),
1015
+ dangerouslySetInnerHTML: { __html: Pe(e) }
1016
+ });
1017
+ }
1018
+ //#endregion
1019
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/style-props/extract-style-props/extract-style-props.mjs
1020
+ function Ie(e) {
1021
+ let { m: t, mx: n, my: r, mt: i, mb: a, ml: o, mr: s, me: c, ms: l, mis: u, mie: d, p: f, px: p, py: m, pt: h, pb: _, pl: v, pr: y, pe: b, ps: x, pis: S, pie: C, bd: w, bdrs: T, bg: E, c: D, opacity: O, ff: k, fz: ee, fw: te, lts: ne, ta: re, lh: A, fs: j, tt: ie, td: M, w: N, miw: P, maw: F, h: I, mih: L, mah: R, bgsz: ae, bgp: oe, bgr: z, bga: B, pos: se, top: ce, left: V, bottom: le, right: ue, inset: de, display: H, flex: fe, hiddenFrom: pe, visibleFrom: U, lightHidden: W, darkHidden: me, sx: he, ...G } = e;
1022
+ return {
1023
+ styleProps: g({
1024
+ m: t,
1025
+ mx: n,
1026
+ my: r,
1027
+ mt: i,
1028
+ mb: a,
1029
+ ml: o,
1030
+ mr: s,
1031
+ me: c,
1032
+ ms: l,
1033
+ mis: u,
1034
+ mie: d,
1035
+ p: f,
1036
+ px: p,
1037
+ py: m,
1038
+ pt: h,
1039
+ pb: _,
1040
+ pl: v,
1041
+ pr: y,
1042
+ pis: S,
1043
+ pie: C,
1044
+ pe: b,
1045
+ ps: x,
1046
+ bd: w,
1047
+ bg: E,
1048
+ c: D,
1049
+ opacity: O,
1050
+ ff: k,
1051
+ fz: ee,
1052
+ fw: te,
1053
+ lts: ne,
1054
+ ta: re,
1055
+ lh: A,
1056
+ fs: j,
1057
+ tt: ie,
1058
+ td: M,
1059
+ w: N,
1060
+ miw: P,
1061
+ maw: F,
1062
+ h: I,
1063
+ mih: L,
1064
+ mah: R,
1065
+ bgsz: ae,
1066
+ bgp: oe,
1067
+ bgr: z,
1068
+ bga: B,
1069
+ pos: se,
1070
+ top: ce,
1071
+ left: V,
1072
+ bottom: le,
1073
+ right: ue,
1074
+ inset: de,
1075
+ display: H,
1076
+ flex: fe,
1077
+ bdrs: T,
1078
+ hiddenFrom: pe,
1079
+ visibleFrom: U,
1080
+ lightHidden: W,
1081
+ darkHidden: me,
1082
+ sx: he
1083
+ }),
1084
+ rest: G
1085
+ };
1086
+ }
1087
+ //#endregion
1088
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/style-props/style-props-data.mjs
1089
+ var Le = {
1090
+ m: {
1091
+ type: "spacing",
1092
+ property: "margin"
1093
+ },
1094
+ mt: {
1095
+ type: "spacing",
1096
+ property: "marginTop"
1097
+ },
1098
+ mb: {
1099
+ type: "spacing",
1100
+ property: "marginBottom"
1101
+ },
1102
+ ml: {
1103
+ type: "spacing",
1104
+ property: "marginLeft"
1105
+ },
1106
+ mr: {
1107
+ type: "spacing",
1108
+ property: "marginRight"
1109
+ },
1110
+ ms: {
1111
+ type: "spacing",
1112
+ property: "marginInlineStart"
1113
+ },
1114
+ me: {
1115
+ type: "spacing",
1116
+ property: "marginInlineEnd"
1117
+ },
1118
+ mis: {
1119
+ type: "spacing",
1120
+ property: "marginInlineStart"
1121
+ },
1122
+ mie: {
1123
+ type: "spacing",
1124
+ property: "marginInlineEnd"
1125
+ },
1126
+ mx: {
1127
+ type: "spacing",
1128
+ property: "marginInline"
1129
+ },
1130
+ my: {
1131
+ type: "spacing",
1132
+ property: "marginBlock"
1133
+ },
1134
+ p: {
1135
+ type: "spacing",
1136
+ property: "padding"
1137
+ },
1138
+ pt: {
1139
+ type: "spacing",
1140
+ property: "paddingTop"
1141
+ },
1142
+ pb: {
1143
+ type: "spacing",
1144
+ property: "paddingBottom"
1145
+ },
1146
+ pl: {
1147
+ type: "spacing",
1148
+ property: "paddingLeft"
1149
+ },
1150
+ pr: {
1151
+ type: "spacing",
1152
+ property: "paddingRight"
1153
+ },
1154
+ ps: {
1155
+ type: "spacing",
1156
+ property: "paddingInlineStart"
1157
+ },
1158
+ pe: {
1159
+ type: "spacing",
1160
+ property: "paddingInlineEnd"
1161
+ },
1162
+ pis: {
1163
+ type: "spacing",
1164
+ property: "paddingInlineStart"
1165
+ },
1166
+ pie: {
1167
+ type: "spacing",
1168
+ property: "paddingInlineEnd"
1169
+ },
1170
+ px: {
1171
+ type: "spacing",
1172
+ property: "paddingInline"
1173
+ },
1174
+ py: {
1175
+ type: "spacing",
1176
+ property: "paddingBlock"
1177
+ },
1178
+ bd: {
1179
+ type: "border",
1180
+ property: "border"
1181
+ },
1182
+ bdrs: {
1183
+ type: "radius",
1184
+ property: "borderRadius"
1185
+ },
1186
+ bg: {
1187
+ type: "color",
1188
+ property: "background"
1189
+ },
1190
+ c: {
1191
+ type: "textColor",
1192
+ property: "color"
1193
+ },
1194
+ opacity: {
1195
+ type: "identity",
1196
+ property: "opacity"
1197
+ },
1198
+ ff: {
1199
+ type: "fontFamily",
1200
+ property: "fontFamily"
1201
+ },
1202
+ fz: {
1203
+ type: "fontSize",
1204
+ property: "fontSize"
1205
+ },
1206
+ fw: {
1207
+ type: "identity",
1208
+ property: "fontWeight"
1209
+ },
1210
+ lts: {
1211
+ type: "size",
1212
+ property: "letterSpacing"
1213
+ },
1214
+ ta: {
1215
+ type: "identity",
1216
+ property: "textAlign"
1217
+ },
1218
+ lh: {
1219
+ type: "lineHeight",
1220
+ property: "lineHeight"
1221
+ },
1222
+ fs: {
1223
+ type: "identity",
1224
+ property: "fontStyle"
1225
+ },
1226
+ tt: {
1227
+ type: "identity",
1228
+ property: "textTransform"
1229
+ },
1230
+ td: {
1231
+ type: "identity",
1232
+ property: "textDecoration"
1233
+ },
1234
+ w: {
1235
+ type: "spacing",
1236
+ property: "width"
1237
+ },
1238
+ miw: {
1239
+ type: "spacing",
1240
+ property: "minWidth"
1241
+ },
1242
+ maw: {
1243
+ type: "spacing",
1244
+ property: "maxWidth"
1245
+ },
1246
+ h: {
1247
+ type: "spacing",
1248
+ property: "height"
1249
+ },
1250
+ mih: {
1251
+ type: "spacing",
1252
+ property: "minHeight"
1253
+ },
1254
+ mah: {
1255
+ type: "spacing",
1256
+ property: "maxHeight"
1257
+ },
1258
+ bgsz: {
1259
+ type: "size",
1260
+ property: "backgroundSize"
1261
+ },
1262
+ bgp: {
1263
+ type: "identity",
1264
+ property: "backgroundPosition"
1265
+ },
1266
+ bgr: {
1267
+ type: "identity",
1268
+ property: "backgroundRepeat"
1269
+ },
1270
+ bga: {
1271
+ type: "identity",
1272
+ property: "backgroundAttachment"
1273
+ },
1274
+ pos: {
1275
+ type: "identity",
1276
+ property: "position"
1277
+ },
1278
+ top: {
1279
+ type: "size",
1280
+ property: "top"
1281
+ },
1282
+ left: {
1283
+ type: "size",
1284
+ property: "left"
1285
+ },
1286
+ bottom: {
1287
+ type: "size",
1288
+ property: "bottom"
1289
+ },
1290
+ right: {
1291
+ type: "size",
1292
+ property: "right"
1293
+ },
1294
+ inset: {
1295
+ type: "size",
1296
+ property: "inset"
1297
+ },
1298
+ display: {
1299
+ type: "identity",
1300
+ property: "display"
1301
+ },
1302
+ flex: {
1303
+ type: "identity",
1304
+ property: "flex"
1305
+ }
1306
+ };
1307
+ //#endregion
1308
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/color-resolver/color-resolver.mjs
1309
+ function X(e, t) {
1310
+ let n = P({
1311
+ color: e,
1312
+ theme: t
1313
+ });
1314
+ return n.color === "dimmed" ? "var(--mantine-color-dimmed)" : n.color === "bright" ? "var(--mantine-color-bright)" : n.variable ? `var(${n.variable})` : n.color;
1315
+ }
1316
+ function Re(e, t) {
1317
+ let n = P({
1318
+ color: e,
1319
+ theme: t
1320
+ });
1321
+ return n.isThemeColor && n.shade === void 0 ? `var(--mantine-color-${n.color}-text)` : X(e, t);
1322
+ }
1323
+ //#endregion
1324
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/border-resolver/border-resolver.mjs
1325
+ function ze(e, t) {
1326
+ if (typeof e == "number") return m(e);
1327
+ if (typeof e == "string") {
1328
+ let [n, r, ...i] = e.split(" ").filter((e) => e.trim() !== ""), a = `${m(n)}`;
1329
+ return r && (a += ` ${r}`), i.length > 0 && (a += ` ${X(i.join(" "), t)}`), a.trim();
1330
+ }
1331
+ return e;
1332
+ }
1333
+ //#endregion
1334
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/font-family-resolver/font-family-resolver.mjs
1335
+ var Be = {
1336
+ text: "var(--mantine-font-family)",
1337
+ mono: "var(--mantine-font-family-monospace)",
1338
+ monospace: "var(--mantine-font-family-monospace)",
1339
+ heading: "var(--mantine-font-family-headings)",
1340
+ headings: "var(--mantine-font-family-headings)"
1341
+ };
1342
+ function Ve(e) {
1343
+ return typeof e == "string" && e in Be ? Be[e] : e;
1344
+ }
1345
+ //#endregion
1346
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/font-size-resolver/font-size-resolver.mjs
1347
+ var He = [
1348
+ "h1",
1349
+ "h2",
1350
+ "h3",
1351
+ "h4",
1352
+ "h5",
1353
+ "h6"
1354
+ ];
1355
+ function Ue(e, t) {
1356
+ return typeof e == "string" && e in t.fontSizes ? `var(--mantine-font-size-${e})` : typeof e == "string" && He.includes(e) ? `var(--mantine-${e}-font-size)` : typeof e == "number" || typeof e == "string" ? m(e) : e;
1357
+ }
1358
+ //#endregion
1359
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/identity-resolver/identity-resolver.mjs
1360
+ function We(e) {
1361
+ return e;
1362
+ }
1363
+ //#endregion
1364
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/line-height-resolver/line-height-resolver.mjs
1365
+ var Ge = [
1366
+ "h1",
1367
+ "h2",
1368
+ "h3",
1369
+ "h4",
1370
+ "h5",
1371
+ "h6"
1372
+ ];
1373
+ function Ke(e, t) {
1374
+ return typeof e == "string" && e in t.lineHeights ? `var(--mantine-line-height-${e})` : typeof e == "string" && Ge.includes(e) ? `var(--mantine-${e}-line-height)` : e;
1375
+ }
1376
+ //#endregion
1377
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/radius-resolver/radius-resolver.mjs
1378
+ function qe(e, t) {
1379
+ return typeof e == "string" && e in t.radius ? `var(--mantine-radius-${e})` : typeof e == "number" || typeof e == "string" ? m(e) : e;
1380
+ }
1381
+ //#endregion
1382
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/size-resolver/size-resolver.mjs
1383
+ function Je(e) {
1384
+ return typeof e == "number" ? m(e) : e;
1385
+ }
1386
+ //#endregion
1387
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/spacing-resolver/spacing-resolver.mjs
1388
+ function Ye(e, t) {
1389
+ if (typeof e == "number") return m(e);
1390
+ if (typeof e == "string") {
1391
+ let n = e.replace("-", "");
1392
+ if (!(n in t.spacing)) return m(e);
1393
+ let r = `--mantine-spacing-${n}`;
1394
+ return e.startsWith("-") ? `calc(var(${r}) * -1)` : `var(${r})`;
1395
+ }
1396
+ return e;
1397
+ }
1398
+ //#endregion
1399
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/index.mjs
1400
+ var Z = {
1401
+ color: X,
1402
+ textColor: Re,
1403
+ fontSize: Ue,
1404
+ spacing: Ye,
1405
+ radius: qe,
1406
+ identity: We,
1407
+ size: Je,
1408
+ lineHeight: Ke,
1409
+ fontFamily: Ve,
1410
+ border: ze
1411
+ };
1412
+ //#endregion
1413
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/style-props/parse-style-props/sort-media-queries.mjs
1414
+ function Xe(e) {
1415
+ return e.replace("(min-width: ", "").replace("em)", "");
1416
+ }
1417
+ function Ze({ media: e, ...t }) {
1418
+ let n = Object.keys(e).sort((e, t) => Number(Xe(e)) - Number(Xe(t))).map((t) => ({
1419
+ query: t,
1420
+ styles: e[t]
1421
+ }));
1422
+ return {
1423
+ ...t,
1424
+ media: n
1425
+ };
1426
+ }
1427
+ //#endregion
1428
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/style-props/parse-style-props/parse-style-props.mjs
1429
+ function Qe(e) {
1430
+ if (typeof e != "object" || !e) return !1;
1431
+ let t = Object.keys(e);
1432
+ return !(t.length === 1 && t[0] === "base");
1433
+ }
1434
+ function $e(e) {
1435
+ return typeof e == "object" && e ? "base" in e ? e.base : void 0 : e;
1436
+ }
1437
+ function et(e) {
1438
+ return typeof e == "object" && e ? c(e).filter((e) => e !== "base") : [];
1439
+ }
1440
+ function tt(e, t) {
1441
+ return typeof e == "object" && e && t in e ? e[t] : e;
1442
+ }
1443
+ function nt({ styleProps: e, data: t, theme: n }) {
1444
+ return Ze(c(e).reduce((r, i) => {
1445
+ if (i === "hiddenFrom" || i === "visibleFrom" || i === "sx") return r;
1446
+ let a = t[i], o = Array.isArray(a.property) ? a.property : [a.property], s = $e(e[i]);
1447
+ if (!Qe(e[i])) return o.forEach((e) => {
1448
+ r.inlineStyles[e] = Z[a.type](s, n);
1449
+ }), r;
1450
+ r.hasResponsiveStyles = !0;
1451
+ let c = et(e[i]);
1452
+ return o.forEach((t) => {
1453
+ s != null && (r.styles[t] = Z[a.type](s, n)), c.forEach((o) => {
1454
+ let s = `(min-width: ${n.breakpoints[o]})`;
1455
+ r.media[s] = {
1456
+ ...r.media[s],
1457
+ [t]: Z[a.type](tt(e[i], o), n)
1458
+ };
1459
+ });
1460
+ }), r;
1461
+ }, {
1462
+ hasResponsiveStyles: !1,
1463
+ styles: {},
1464
+ inlineStyles: {},
1465
+ media: {}
1466
+ }));
1467
+ }
1468
+ //#endregion
1469
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/use-random-classname/use-random-classname.mjs
1470
+ function Q() {
1471
+ return `__m__-${n().replace(/[:«»]/g, "")}`;
1472
+ }
1473
+ //#endregion
1474
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/factory/create-polymorphic-component.mjs
1475
+ function rt(e) {
1476
+ return e;
1477
+ }
1478
+ var it = rt;
1479
+ //#endregion
1480
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/factory/factory.mjs
1481
+ function at(e) {
1482
+ return e;
1483
+ }
1484
+ function ot(e) {
1485
+ let t = e;
1486
+ return t.extend = at, t.withProps = (e) => {
1487
+ let n = (n) => /* @__PURE__ */ a(t, {
1488
+ ...e,
1489
+ ...n
1490
+ });
1491
+ return n.extend = t.extend, n.displayName = `WithProps(${t.displayName})`, n;
1492
+ }, t;
1493
+ }
1494
+ function st(e) {
1495
+ return ot(e);
1496
+ }
1497
+ //#endregion
1498
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/factory/polymorphic-factory.mjs
1499
+ function ct(e) {
1500
+ let t = e;
1501
+ return t.withProps = (e) => {
1502
+ let n = (n) => /* @__PURE__ */ a(t, {
1503
+ ...e,
1504
+ ...n
1505
+ });
1506
+ return n.extend = t.extend, n.displayName = `WithProps(${t.displayName})`, n;
1507
+ }, t.extend = at, t;
1508
+ }
1509
+ //#endregion
1510
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/get-box-mod/get-box-mod.mjs
1511
+ function lt(e) {
1512
+ return `data-${(e.startsWith("data-") ? e.slice(5) : e).replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase()}`;
1513
+ }
1514
+ function ut(e) {
1515
+ return Object.keys(e).reduce((t, n) => {
1516
+ let r = e[n];
1517
+ return r === void 0 || r === "" || r === !1 || r === null || (t[lt(n)] = e[n]), t;
1518
+ }, {});
1519
+ }
1520
+ function dt(e) {
1521
+ return e ? typeof e == "string" ? { [lt(e)]: !0 } : Array.isArray(e) ? [...e].reduce((e, t) => ({
1522
+ ...e,
1523
+ ...dt(t)
1524
+ }), {}) : ut(e) : null;
1525
+ }
1526
+ //#endregion
1527
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/get-box-style/get-box-style.mjs
1528
+ function $(e, t) {
1529
+ return Array.isArray(e) ? [...e].reduce((e, n) => ({
1530
+ ...e,
1531
+ ...$(n, t)
1532
+ }), {}) : typeof e == "function" ? e(t) : e ?? {};
1533
+ }
1534
+ function ft({ theme: e, style: t, vars: n, styleProps: r }) {
1535
+ let i = $(t, e), a = $(n, e);
1536
+ return {
1537
+ ...i,
1538
+ ...a,
1539
+ ...r
1540
+ };
1541
+ }
1542
+ //#endregion
1543
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/Box.mjs
1544
+ function pt({ component: e, style: t, __vars: n, className: r, variant: c, mod: l, size: u, hiddenFrom: d, visibleFrom: f, lightHidden: p, darkHidden: m, renderRoot: h, __size: g, ref: v, ...y }) {
1545
+ let b = q(), x = e || "div", { styleProps: S, rest: C } = Ie(y), w = de()?.()?.(S.sx), T = Q(), E = nt({
1546
+ styleProps: S,
1547
+ theme: b,
1548
+ data: Le
1549
+ }), D = {
1550
+ ref: v,
1551
+ style: ft({
1552
+ theme: b,
1553
+ style: t,
1554
+ vars: n,
1555
+ styleProps: E.inlineStyles
1556
+ }),
1557
+ className: s(r, w, {
1558
+ [T]: E.hasResponsiveStyles,
1559
+ "mantine-light-hidden": p,
1560
+ "mantine-dark-hidden": m,
1561
+ [`mantine-hidden-from-${d}`]: d,
1562
+ [`mantine-visible-from-${f}`]: f
1563
+ }),
1564
+ "data-variant": c,
1565
+ "data-size": _(u) ? void 0 : u || void 0,
1566
+ size: g,
1567
+ ...dt(l),
1568
+ ...C
1569
+ };
1570
+ return /* @__PURE__ */ o(i, { children: [E.hasResponsiveStyles && /* @__PURE__ */ a(Fe, {
1571
+ selector: `.${T}`,
1572
+ styles: E.styles,
1573
+ media: E.media
1574
+ }), typeof h == "function" ? h(D) : /* @__PURE__ */ a(x, { ...D })] });
1575
+ }
1576
+ pt.displayName = "@mantine/core/Box";
1577
+ var mt = it(pt);
1578
+ //#endregion
1579
+ export { b as A, M as C, w as D, D as E, h as F, m as I, u as L, v as M, y as N, x as O, g as P, c as R, P as S, O as T, ae as _, Q as a, I as b, Ne as c, q as d, W as f, V as g, fe as h, st as i, C as j, S as k, be as l, se as m, ct as n, Ie as o, z as p, ot as r, Fe as s, mt as t, ye as u, R as v, k as w, F as x, L as y };