@fde-desktop/fde-core 0.4.10 → 0.4.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (221) hide show
  1. package/dist/AppEmptyState-Boej96TB.js +49 -0
  2. package/dist/AppEmptyState-CLc00OOG.cjs +1 -0
  3. package/dist/AppIcon-C8vHUVcb.cjs +1 -0
  4. package/dist/AppIcon-mtEoyzOb.js +22 -0
  5. package/dist/AppMenuBar-CAlkNHjj.cjs +1 -0
  6. package/dist/AppMenuBar-DmSfQRXU.js +197 -0
  7. package/dist/CalendarApp-DOmjWbpl.js +10 -0
  8. package/dist/CalendarApp-Z0bCCYsK.cjs +1 -0
  9. package/dist/ColorPicker-CQRRwY-y.cjs +1 -0
  10. package/dist/ColorPicker-WCeD3Wjf.js +35 -0
  11. package/dist/CreateItemApp-BkFFFdX1.cjs +1 -0
  12. package/dist/CreateItemApp-DR8Y4bwo.js +202 -0
  13. package/dist/DeviceInfoApp-BXQ9uOwF.cjs +1 -0
  14. package/dist/DeviceInfoApp-I63mJRWy.js +195 -0
  15. package/dist/DownloadProgress-CkTGTf0z.cjs +1 -0
  16. package/dist/DownloadProgress-DnVASsv5.js +39 -0
  17. package/dist/FilePickerApp-By6-vbag.cjs +1 -0
  18. package/dist/FilePickerApp-ClHuhm6Z.js +390 -0
  19. package/dist/FilesApp-BC4UPNuw.cjs +1 -0
  20. package/dist/FilesApp-D8MqvC5X.js +210 -0
  21. package/dist/ImageViewerApp-B1niWF75.cjs +1 -0
  22. package/dist/{ImageViewerApp-CWiP6zx-.js → ImageViewerApp-iojtyFEf.js} +18 -17
  23. package/dist/{ImageViewerMenuBar-BULkh_Ku.js → ImageViewerMenuBar-BIsUokxV.js} +15 -14
  24. package/dist/ImageViewerMenuBar-BgzgSF3v.cjs +1 -0
  25. package/dist/MenuEditApp-BHptoJbz.cjs +1 -0
  26. package/dist/MenuEditApp-CJUbJaqh.js +492 -0
  27. package/dist/MenuEditMenuBar-CCOSPAUe.cjs +1 -0
  28. package/dist/{MenuEditMenuBar-B94z4Umw.js → MenuEditMenuBar-DnCL-kaZ.js} +13 -12
  29. package/dist/NotesApp-BmQIBtJ2.cjs +1 -0
  30. package/dist/NotesApp-DJ2dGt4-.js +364 -0
  31. package/dist/NotesMenuBar-BzojwMtH.cjs +1 -0
  32. package/dist/{NotesMenuBar-BB4NkKGf.js → NotesMenuBar-DILZTjnT.js} +10 -9
  33. package/dist/PdfApp-IjY_GtnW.js +39 -0
  34. package/dist/PdfApp-krW8UI97.cjs +1 -0
  35. package/dist/PdfMenuBar-Bd5MTZcZ.js +39 -0
  36. package/dist/PdfMenuBar-DWD0Qa3F.cjs +1 -0
  37. package/dist/SettingsApp-BE22l5UP.cjs +1 -0
  38. package/dist/SettingsApp-BTFtTFY_.js +1228 -0
  39. package/dist/SettingsMenuBar-CZE2evG2.cjs +1 -0
  40. package/dist/SettingsMenuBar-ktC0viTd.js +42 -0
  41. package/dist/UploaderApp-CbypD538.js +263 -0
  42. package/dist/UploaderApp-D_qD3O70.cjs +1 -0
  43. package/dist/{VscIcon-DueRJVTe.js → VscIcon-AEENjKOE.js} +1 -1
  44. package/dist/VscIcon-BYb_Soyy.cjs +1 -0
  45. package/dist/buildBreadcrumbs-Ccd8i11b.cjs +1 -0
  46. package/dist/buildBreadcrumbs-noWhu8os.js +45 -0
  47. package/dist/{desktopStore-B0R1-BeA.js → desktopStore-8cSZlj7s.js} +342 -549
  48. package/dist/desktopStore-C1jR6Fdb.cjs +1 -0
  49. package/dist/{imageViewerStore-CJMRXaQh.js → imageViewerStore-COrD02Zu.js} +1 -1
  50. package/dist/imageViewerStore-Dfylg59V.cjs +1 -0
  51. package/dist/index.cjs +1 -53
  52. package/dist/index.css +1 -1
  53. package/dist/index.d.ts +16 -6
  54. package/dist/index.js +3024 -7513
  55. package/dist/menuEditStore-CYwtfD6H.cjs +1 -0
  56. package/dist/{menuEditStore-C8S_EedM.js → menuEditStore-CxsgLiQu.js} +1 -1
  57. package/dist/notesStore-CrWTO6oB.cjs +1 -0
  58. package/dist/{notesStore-DKRgTTFn.js → notesStore-Dgah46U5.js} +1 -1
  59. package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
  60. package/dist/{settingsAppStore-KOeWRO6h.js → settingsAppStore-DHZhi6Rl.js} +1 -1
  61. package/dist/settingsAppStore-DuYZNeFf.cjs +1 -0
  62. package/dist/useAdaptiveDimensions-3Lz4X0Tc.cjs +1 -0
  63. package/dist/{useAdaptiveDimensions-CunsU0mn.js → useAdaptiveDimensions-DxNLJ7R5.js} +1 -1
  64. package/dist/{useCloseInterceptor-CuKAAFnj.js → useCloseInterceptor-CIxhOZx1.js} +12 -12
  65. package/dist/useCloseInterceptor-CdX-09Ib.cjs +1 -0
  66. package/dist/useDynamicIcon-CK6SjEv5.cjs +1 -0
  67. package/dist/{useDynamicIcon-GJg3vWsJ.js → useDynamicIcon-_wGeWu-b.js} +1 -1
  68. package/dist/useOpenApp-D-FOY88T.cjs +1 -0
  69. package/dist/{useOpenApp-BVpSfNrG.js → useOpenApp-DkZLFFCH.js} +51 -67
  70. package/dist/{useResolvedUrl-DFKXq598.js → useResolvedUrl-B6x4xy0x.js} +1 -2
  71. package/dist/useResolvedUrl-Bb39DpVy.cjs +1 -0
  72. package/package.json +3 -4
  73. package/dist/AccordionChevron-CJXAq5o5.js +0 -26
  74. package/dist/AccordionChevron-DBXp38Lm.cjs +0 -1
  75. package/dist/ActionIcon-C_SfdBfx.cjs +0 -1
  76. package/dist/ActionIcon-CtVbYlGY.js +0 -145
  77. package/dist/AppEmptyState-BTujnL_b.js +0 -4962
  78. package/dist/AppEmptyState-Dc4GaDfu.cjs +0 -1
  79. package/dist/AppIcon--qzR4sgf.cjs +0 -1
  80. package/dist/AppIcon-DCDuaU-t.js +0 -80
  81. package/dist/AppMenuBar-BiHbNg9V.cjs +0 -9
  82. package/dist/AppMenuBar-CHJy8OF0.js +0 -2639
  83. package/dist/Box-DRm8EabO.js +0 -1593
  84. package/dist/Box-D_64wv6n.cjs +0 -1
  85. package/dist/Button-D0FXpkur.cjs +0 -1
  86. package/dist/Button-k7SxX1Xl.js +0 -178
  87. package/dist/CalendarApp-C1HvuJoa.cjs +0 -1
  88. package/dist/CalendarApp-DBEQqsS_.js +0 -1721
  89. package/dist/Center-CyryG5zn.js +0 -25
  90. package/dist/Center-T4No_FAa.cjs +0 -1
  91. package/dist/CheckIcon-C3WjIR2i.js +0 -25
  92. package/dist/CheckIcon-CBMLR6Gc.cjs +0 -1
  93. package/dist/CodeServerApp-B3l5QPuG.cjs +0 -1
  94. package/dist/CodeServerApp-BpeALSaX.js +0 -2
  95. package/dist/CodeServerApp-CRjCngFv.cjs +0 -1
  96. package/dist/CodeServerApp-DY94cy1a.js +0 -149
  97. package/dist/ColorPicker-BL4UbKCV.cjs +0 -1
  98. package/dist/ColorPicker-DvRR-wlQ.js +0 -997
  99. package/dist/CreateItemApp-BU9wmjKM.cjs +0 -1
  100. package/dist/CreateItemApp-CtdH1K1g.js +0 -400
  101. package/dist/CreateItemApp-t9F-a6wD.cjs +0 -1
  102. package/dist/DeviceInfoApp-C306YvtZ.js +0 -223
  103. package/dist/DeviceInfoApp-Cdju_LIB.cjs +0 -1
  104. package/dist/DeviceInfoApp-CyB01v4D.cjs +0 -1
  105. package/dist/DownloadProgress-IRw1dzLX.cjs +0 -1
  106. package/dist/DownloadProgress-hdupSUBT.js +0 -174
  107. package/dist/FileIcon-BCpGMI5U.js +0 -88
  108. package/dist/FileIcon-BCrsxmtt.cjs +0 -1
  109. package/dist/FilePickerApp-DMGuvahM.js +0 -409
  110. package/dist/FilePickerApp-Eu0cr2Cm.cjs +0 -1
  111. package/dist/FilesApp-BQFVHkEn.js +0 -225
  112. package/dist/FilesApp-BZ_dzZnF.cjs +0 -1
  113. package/dist/FilesApp-SIWXFPXt.cjs +0 -1
  114. package/dist/Group-BzwlMeob.js +0 -48
  115. package/dist/Group-DhwePB84.cjs +0 -1
  116. package/dist/ImageViewerApp-BOz59TGc.cjs +0 -1
  117. package/dist/ImageViewerApp-BeqY6voE.cjs +0 -1
  118. package/dist/ImageViewerApp-DBAfJPSo.js +0 -2
  119. package/dist/ImageViewerMenuBar-Cb0Nr5-M.js +0 -2
  120. package/dist/ImageViewerMenuBar-CoEp0RxK.cjs +0 -1
  121. package/dist/ImageViewerMenuBar-zOkJtqKo.cjs +0 -1
  122. package/dist/MenuEditApp-BoKtj2GH.js +0 -2
  123. package/dist/MenuEditApp-D21sEp86.js +0 -2615
  124. package/dist/MenuEditApp-k3cPfTG9.cjs +0 -1
  125. package/dist/MenuEditApp-sz9GlLVH.cjs +0 -5
  126. package/dist/MenuEditMenuBar-6QxlIDpl.cjs +0 -1
  127. package/dist/MenuEditMenuBar-Bv6R42lf.js +0 -2
  128. package/dist/MenuEditMenuBar-CBsmH_-T.cjs +0 -1
  129. package/dist/NotesApp-BtR55Hva.cjs +0 -207
  130. package/dist/NotesApp-C59exz_9.js +0 -16154
  131. package/dist/NotesApp-D47I5LS_.js +0 -2
  132. package/dist/NotesApp-lOwsi2sg.cjs +0 -1
  133. package/dist/NotesMenuBar-BZITC74y.cjs +0 -1
  134. package/dist/NotesMenuBar-Bp0sPqyR.cjs +0 -1
  135. package/dist/NotesMenuBar-xlfODmMA.js +0 -2
  136. package/dist/Paper-DtUYKmYn.js +0 -30
  137. package/dist/Paper-DwCpwWwH.cjs +0 -1
  138. package/dist/PdfApp-1XbFGfoY.cjs +0 -1
  139. package/dist/PdfApp-BhIoJWeK.cjs +0 -1
  140. package/dist/PdfApp-C5Rt1Zaw.js +0 -2
  141. package/dist/PdfApp-C8Hwxxqh.js +0 -38
  142. package/dist/PdfMenuBar-BA9rKuMP.cjs +0 -1
  143. package/dist/PdfMenuBar-JXHqwxhZ.cjs +0 -1
  144. package/dist/PdfMenuBar-R0fu7oYF.js +0 -2
  145. package/dist/PdfMenuBar-sd-9Vk3h.js +0 -38
  146. package/dist/SettingsApp-7EhpjzUE.cjs +0 -1
  147. package/dist/SettingsApp-ByiPAj1I.cjs +0 -1
  148. package/dist/SettingsApp-d6fmBHxR.js +0 -1829
  149. package/dist/SettingsApp-qKJmC0lj.js +0 -2
  150. package/dist/SettingsMenuBar-BPwv8JQK.js +0 -41
  151. package/dist/SettingsMenuBar-D8R7hOik.js +0 -2
  152. package/dist/SettingsMenuBar-DDrjZLmg.cjs +0 -1
  153. package/dist/SettingsMenuBar-DQjUa8g1.cjs +0 -1
  154. package/dist/Slider-BNO-vDFn.js +0 -1175
  155. package/dist/Slider-Bg_EIBg6.cjs +0 -1
  156. package/dist/Stack-BOaJgV3N.cjs +0 -1
  157. package/dist/Stack-CuDEaP7e.js +0 -34
  158. package/dist/StorybookApp-Bkr-7mXp.cjs +0 -1
  159. package/dist/StorybookApp-WYninkJo.js +0 -10
  160. package/dist/TerminalApp-8XbsKAWa.js +0 -10041
  161. package/dist/TerminalApp-Bq2e7QQu.cjs +0 -1
  162. package/dist/TerminalApp-CVu3Axc9.js +0 -2
  163. package/dist/TerminalApp-b7_d0jRO.cjs +0 -36
  164. package/dist/TerminalMenuBar-Cb8x9laS.js +0 -2
  165. package/dist/TerminalMenuBar-De-FH5AE.cjs +0 -1
  166. package/dist/TerminalMenuBar-iKLydNda.js +0 -112
  167. package/dist/TerminalMenuBar-yOaWd-hn.cjs +0 -1
  168. package/dist/TextInput-C3qfxxWI.js +0 -980
  169. package/dist/TextInput-DcYns3hz.cjs +0 -1
  170. package/dist/Tooltip-CAOO-qdx.js +0 -3185
  171. package/dist/Tooltip-DDh_x-CB.cjs +0 -1
  172. package/dist/UnstyledButton-CI3kyRck.js +0 -25
  173. package/dist/UnstyledButton-Cl5RuIid.cjs +0 -1
  174. package/dist/UploaderApp-C76ydsd8.js +0 -487
  175. package/dist/UploaderApp-CHACW8Yr.js +0 -2
  176. package/dist/UploaderApp-Q_a3mBik.cjs +0 -1
  177. package/dist/UploaderApp-htj59ppo.cjs +0 -1
  178. package/dist/VscIcon-CxEmqD80.cjs +0 -1
  179. package/dist/chunk-BQCxAhux.js +0 -23
  180. package/dist/chunk-CiTBaPhY.cjs +0 -1
  181. package/dist/create-safe-context-95P-Bfg3.cjs +0 -1
  182. package/dist/create-safe-context-XT2cxc14.js +0 -12
  183. package/dist/desktopStore-Cox-Og1z.cjs +0 -1
  184. package/dist/fc-DejOsQyD.cjs +0 -1
  185. package/dist/fc-kd8WzIER.js +0 -20536
  186. package/dist/fc-xJ_v2ayq.cjs +0 -184
  187. package/dist/fi-BahYsbim.js +0 -9993
  188. package/dist/fi-BkhyTcZo.cjs +0 -1
  189. package/dist/getRuntime-BLXyQZBB.cjs +0 -1
  190. package/dist/getRuntime-CCRXVzJH.js +0 -63
  191. package/dist/iconBase-B4UCuSvv.cjs +0 -1
  192. package/dist/iconBase-D7iPes7B.js +0 -108
  193. package/dist/imageViewerStore-CH1qW6md.cjs +0 -1
  194. package/dist/is-element-BocgicRg.cjs +0 -1
  195. package/dist/is-element-Bu_JY8Qy.js +0 -7
  196. package/dist/menuEditStore-CU7IAg3L.cjs +0 -1
  197. package/dist/notesStore-zKmChTfF.cjs +0 -1
  198. package/dist/react-DYmzHD0X.js +0 -27
  199. package/dist/react-Dldg32sN.cjs +0 -1
  200. package/dist/settingsAppStore-BrlImdAH.cjs +0 -1
  201. package/dist/terminalStore-LWWjCvCe.js +0 -30
  202. package/dist/terminalStore-fZe5t7Ty.cjs +0 -1
  203. package/dist/use-merged-ref-BI9n1hUK.cjs +0 -1
  204. package/dist/use-merged-ref-BT8_u6vW.js +0 -25
  205. package/dist/use-resolved-styles-api-AVDygMKo.cjs +0 -1
  206. package/dist/use-resolved-styles-api-pEOi2wiK.js +0 -21
  207. package/dist/use-uncontrolled-A4hm9ATM.js +0 -23
  208. package/dist/use-uncontrolled-BPrfGv0W.cjs +0 -1
  209. package/dist/useAdaptiveDimensions-Btp0m5Pm.cjs +0 -1
  210. package/dist/useCloseInterceptor-a_6Lcuqj.cjs +0 -1
  211. package/dist/useDynamicIcon-SytdL1Tu.cjs +0 -1
  212. package/dist/useOpenApp-Br0jo4-y.cjs +0 -1
  213. package/dist/useResolvedUrl-Be5ZlCX7.cjs +0 -1
  214. package/dist/useTranslation-DMRGdqZi.js +0 -279
  215. package/dist/useTranslation-D_O7S4RJ.cjs +0 -1
  216. package/dist/vsc-Ciibqbxo.cjs +0 -1
  217. package/dist/vsc-DGKSpOAR.js +0 -9574
  218. /package/dist/{Colors-BxX4G8kX.cjs → Colors-CNJbU7oq.cjs} +0 -0
  219. /package/dist/{Colors-hca6raEG.js → Colors-CuABn2W4.js} +0 -0
  220. /package/dist/{useMenuBarUtils-ChmpZjwu.js → useMenuBarUtils-ChAfI7OA.js} +0 -0
  221. /package/dist/{useMenuBarUtils-Bp5PiztD.cjs → useMenuBarUtils-DAap0ukp.cjs} +0 -0
@@ -1,1593 +0,0 @@
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
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/keys/keys.mjs
4
- function s(e) {
5
- return Object.keys(e);
6
- }
7
- //#endregion
8
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/deep-merge/deep-merge.mjs
9
- function c(e) {
10
- return e && typeof e == "object" && !Array.isArray(e);
11
- }
12
- function l(e, t) {
13
- let n = { ...e }, r = t;
14
- return c(e) && c(t) && Object.keys(t).forEach((t) => {
15
- c(r[t]) && t in e ? n[t] = l(n[t], r[t]) : n[t] = r[t];
16
- }), n;
17
- }
18
- //#endregion
19
- //#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
20
- function u(e) {
21
- return e.replace(/[A-Z]/g, (e) => `-${e.toLowerCase()}`);
22
- }
23
- //#endregion
24
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/units-converters/rem.mjs
25
- function d(e) {
26
- return e === "0rem" ? "0rem" : `calc(${e} * var(--mantine-scale))`;
27
- }
28
- function f(e, { shouldScale: t = !1 } = {}) {
29
- function n(r) {
30
- if (r === 0 || r === "0") return `0${e}`;
31
- if (typeof r == "number") {
32
- let n = `${r / 16}${e}`;
33
- return t ? d(n) : n;
34
- }
35
- if (typeof r == "string") {
36
- if (r === "" || r.startsWith("calc(") || r.startsWith("clamp(") || r.includes("rgba(")) return r;
37
- if (r.includes(",")) return r.split(",").map((e) => n(e)).join(",");
38
- if (r.includes(" ")) return r.split(" ").map((e) => n(e)).join(" ");
39
- let i = r.replace("px", "");
40
- if (!Number.isNaN(Number(i))) {
41
- let n = `${Number(i) / 16}${e}`;
42
- return t ? d(n) : n;
43
- }
44
- }
45
- return r;
46
- }
47
- return n;
48
- }
49
- var p = f("rem", { shouldScale: !0 }), m = f("em");
50
- //#endregion
51
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/filter-props/filter-props.mjs
52
- function h(e) {
53
- return Object.keys(e).reduce((t, n) => (e[n] !== void 0 && (t[n] = e[n]), t), {});
54
- }
55
- //#endregion
56
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/is-number-like/is-number-like.mjs
57
- function g(e) {
58
- if (typeof e == "number") return !0;
59
- if (typeof e == "string") {
60
- if (e.startsWith("calc(") || e.startsWith("var(") || e.includes(" ") && e.trim() !== "") return !0;
61
- 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|%)?$/;
62
- return e.trim().split(/\s+/).every((e) => t.test(e));
63
- }
64
- return !1;
65
- }
66
- //#endregion
67
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/get-size/get-size.mjs
68
- function _(e, t = "size", n = !0) {
69
- if (e !== void 0) return g(e) ? n ? p(e) : e : `var(--${t}-${e})`;
70
- }
71
- function v(e) {
72
- return _(e, "mantine-spacing");
73
- }
74
- function y(e) {
75
- return e === void 0 ? "var(--mantine-radius-default)" : _(e, "mantine-radius");
76
- }
77
- function b(e) {
78
- return _(e, "mantine-font-size");
79
- }
80
- function x(e) {
81
- return _(e, "mantine-line-height", !1);
82
- }
83
- function S(e) {
84
- if (e) return _(e, "mantine-shadow", !1);
85
- }
86
- //#endregion
87
- //#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
88
- function C(e) {
89
- return e;
90
- }
91
- //#endregion
92
- //#region ../../node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
93
- function w(e) {
94
- var t, n, r = "";
95
- if (typeof e == "string" || typeof e == "number") r += e;
96
- else if (typeof e == "object") if (Array.isArray(e)) {
97
- var i = e.length;
98
- for (t = 0; t < i; t++) e[t] && (n = w(e[t])) && (r && (r += " "), r += n);
99
- } else for (n in e) e[n] && (r && (r += " "), r += n);
100
- return r;
101
- }
102
- function T() {
103
- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = w(e)) && (r && (r += " "), r += t);
104
- return r;
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-class-name/resolve-class-names/resolve-class-names.mjs
108
- var E = {};
109
- function D(e) {
110
- let t = {};
111
- return e.forEach((e) => {
112
- Object.entries(e).forEach(([e, n]) => {
113
- t[e] ? t[e] = T(t[e], n) : t[e] = n;
114
- });
115
- }), t;
116
- }
117
- function O({ theme: e, classNames: t, props: n, stylesCtx: r }) {
118
- return D((Array.isArray(t) ? t : [t]).map((t) => typeof t == "function" ? t(e, n, r) : t || E));
119
- }
120
- //#endregion
121
- //#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
122
- function k({ theme: e, styles: t, props: n, stylesCtx: r }) {
123
- let i = Array.isArray(t) ? t : [t], a = {};
124
- for (let t of i) typeof t == "function" ? Object.assign(a, t(e, n, r)) : t && Object.assign(a, t);
125
- return a;
126
- }
127
- //#endregion
128
- //#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
129
- function A(e, t) {
130
- return typeof e.primaryShade == "number" ? e.primaryShade : t === "dark" ? e.primaryShade.dark : e.primaryShade.light;
131
- }
132
- //#endregion
133
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/to-rgba/to-rgba.mjs
134
- function ee(e) {
135
- return /^#?([0-9A-F]{3}){1,2}([0-9A-F]{2})?$/i.test(e);
136
- }
137
- function te(e) {
138
- let t = e.replace("#", "");
139
- if (t.length === 3) {
140
- let e = t.split("");
141
- t = [
142
- e[0],
143
- e[0],
144
- e[1],
145
- e[1],
146
- e[2],
147
- e[2]
148
- ].join("");
149
- }
150
- if (t.length === 8) {
151
- let e = parseInt(t.slice(6, 8), 16) / 255;
152
- return {
153
- r: parseInt(t.slice(0, 2), 16),
154
- g: parseInt(t.slice(2, 4), 16),
155
- b: parseInt(t.slice(4, 6), 16),
156
- a: e
157
- };
158
- }
159
- let n = parseInt(t, 16);
160
- return {
161
- r: n >> 16 & 255,
162
- g: n >> 8 & 255,
163
- b: n & 255,
164
- a: 1
165
- };
166
- }
167
- function ne(e) {
168
- let [t, n, r, i] = e.replace(/[^0-9,./]/g, "").split(/[/,]/).map(Number);
169
- return {
170
- r: t,
171
- g: n,
172
- b: r,
173
- a: i === void 0 ? 1 : i
174
- };
175
- }
176
- function re(e) {
177
- let t = e.match(/^hsla?\(\s*(\d+)\s*,\s*(\d+%)\s*,\s*(\d+%)\s*(,\s*(0?\.\d+|\d+(\.\d+)?))?\s*\)$/i);
178
- if (!t) return {
179
- r: 0,
180
- g: 0,
181
- b: 0,
182
- a: 1
183
- };
184
- 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;
185
- 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), {
186
- r: Math.round((u + l) * 255),
187
- g: Math.round((d + l) * 255),
188
- b: Math.round((f + l) * 255),
189
- a: a || 1
190
- };
191
- }
192
- function j(e) {
193
- return ee(e) ? te(e) : e.startsWith("rgb") ? ne(e) : e.startsWith("hsl") ? re(e) : {
194
- r: 0,
195
- g: 0,
196
- b: 0,
197
- a: 1
198
- };
199
- }
200
- //#endregion
201
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/luminance/luminance.mjs
202
- function M(e) {
203
- return e <= .03928 ? e / 12.92 : ((e + .055) / 1.055) ** 2.4;
204
- }
205
- function ie(e) {
206
- let t = e.match(/oklch\((.*?)%\s/);
207
- return t ? parseFloat(t[1]) : null;
208
- }
209
- function N(e) {
210
- if (e.startsWith("oklch(")) return (ie(e) || 0) / 100;
211
- let { r: t, g: n, b: r } = j(e), i = t / 255, a = n / 255, o = r / 255, s = M(i), c = M(a), l = M(o);
212
- return .2126 * s + .7152 * c + .0722 * l;
213
- }
214
- function P(e, t = .179) {
215
- return e.startsWith("var(") ? !1 : N(e) > t;
216
- }
217
- //#endregion
218
- //#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
219
- function F({ color: e, theme: t, colorScheme: n }) {
220
- if (typeof e != "string") throw Error(`[@mantine/core] Failed to parse color. Expected color to be a string, instead got ${typeof e}`);
221
- if (e === "bright") return {
222
- color: e,
223
- value: n === "dark" ? t.white : t.black,
224
- shade: void 0,
225
- isThemeColor: !1,
226
- isLight: P(n === "dark" ? t.white : t.black, t.luminanceThreshold),
227
- variable: "--mantine-color-bright"
228
- };
229
- if (e === "dimmed") return {
230
- color: e,
231
- value: n === "dark" ? t.colors.dark[2] : t.colors.gray[7],
232
- shade: void 0,
233
- isThemeColor: !1,
234
- isLight: P(n === "dark" ? t.colors.dark[2] : t.colors.gray[6], t.luminanceThreshold),
235
- variable: "--mantine-color-dimmed"
236
- };
237
- if (e === "white" || e === "black") return {
238
- color: e,
239
- value: e === "white" ? t.white : t.black,
240
- shade: void 0,
241
- isThemeColor: !1,
242
- isLight: P(e === "white" ? t.white : t.black, t.luminanceThreshold),
243
- variable: `--mantine-color-${e}`
244
- };
245
- let [r, i] = e.split("."), a = i ? Number(i) : void 0, o = r in t.colors;
246
- if (o) {
247
- let e = a === void 0 ? t.colors[r][A(t, n || "light")] : t.colors[r][a];
248
- return {
249
- color: r,
250
- value: e,
251
- shade: a,
252
- isThemeColor: o,
253
- isLight: P(e, t.luminanceThreshold),
254
- variable: i ? `--mantine-color-${r}-${a}` : `--mantine-color-${r}-filled`
255
- };
256
- }
257
- return {
258
- color: e,
259
- value: e,
260
- isThemeColor: o,
261
- isLight: P(e, t.luminanceThreshold),
262
- shade: a,
263
- variable: void 0
264
- };
265
- }
266
- //#endregion
267
- //#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
268
- function I(e, t) {
269
- let n = F({
270
- color: e || t.primaryColor,
271
- theme: t
272
- });
273
- return n.variable ? `var(${n.variable})` : e;
274
- }
275
- //#endregion
276
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/darken/darken.mjs
277
- function L(e, t) {
278
- if (e.startsWith("var(")) return `color-mix(in srgb, ${e}, black ${t * 100}%)`;
279
- let { r: n, g: r, b: i, a } = j(e), o = 1 - t, s = (e) => Math.round(e * o);
280
- return `rgba(${s(n)}, ${s(r)}, ${s(i)}, ${a})`;
281
- }
282
- //#endregion
283
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-gradient/get-gradient.mjs
284
- function R(e, t) {
285
- let n = {
286
- from: e?.from || t.defaultGradient.from,
287
- to: e?.to || t.defaultGradient.to,
288
- deg: e?.deg ?? t.defaultGradient.deg ?? 0
289
- }, r = I(n.from, t), i = I(n.to, t);
290
- return `linear-gradient(${n.deg}deg, ${r} 0%, ${i} 100%)`;
291
- }
292
- //#endregion
293
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/rgba/rgba.mjs
294
- function z(e, t) {
295
- if (typeof e != "string" || t > 1 || t < 0) return "rgba(0, 0, 0, 1)";
296
- if (e.startsWith("var(")) return `color-mix(in srgb, ${e}, transparent ${(1 - t) * 100}%)`;
297
- if (e.startsWith("oklch")) return e.includes("/") ? e.replace(/\/\s*[\d.]+\s*\)/, `/ ${t})`) : e.replace(")", ` / ${t})`);
298
- let { r: n, g: r, b: i } = j(e);
299
- return `rgba(${n}, ${r}, ${i}, ${t})`;
300
- }
301
- var ae = z, oe = ({ color: e, theme: t, variant: n, gradient: r, autoContrast: i }) => {
302
- let a = F({
303
- color: e,
304
- theme: t
305
- }), o = typeof i == "boolean" ? i : t.autoContrast;
306
- if (n === "none") return {
307
- background: "transparent",
308
- hover: "transparent",
309
- color: "inherit",
310
- border: "none"
311
- };
312
- if (n === "filled") {
313
- let t = o && a.isLight ? "var(--mantine-color-black)" : "var(--mantine-color-white)";
314
- return a.isThemeColor ? a.shade === void 0 ? {
315
- background: `var(--mantine-color-${e}-filled)`,
316
- hover: `var(--mantine-color-${e}-filled-hover)`,
317
- color: t,
318
- border: `${p(1)} solid transparent`
319
- } : {
320
- background: `var(--mantine-color-${a.color}-${a.shade})`,
321
- hover: `var(--mantine-color-${a.color}-${a.shade === 9 ? 8 : a.shade + 1})`,
322
- color: t,
323
- border: `${p(1)} solid transparent`
324
- } : {
325
- background: e,
326
- hover: L(e, .1),
327
- color: t,
328
- border: `${p(1)} solid transparent`
329
- };
330
- }
331
- if (n === "light") {
332
- if (a.isThemeColor) {
333
- if (a.shade === void 0) return {
334
- background: `var(--mantine-color-${e}-light)`,
335
- hover: `var(--mantine-color-${e}-light-hover)`,
336
- color: `var(--mantine-color-${e}-light-color)`,
337
- border: `${p(1)} solid transparent`
338
- };
339
- let n = t.colors[a.color][a.shade];
340
- return {
341
- background: n,
342
- hover: L(n, .1),
343
- color: `var(--mantine-color-${a.color}-light-color)`,
344
- border: `${p(1)} solid transparent`
345
- };
346
- }
347
- return {
348
- background: e,
349
- hover: L(e, .1),
350
- color: P(e) ? "var(--mantine-color-black)" : "var(--mantine-color-white)",
351
- border: `${p(1)} solid transparent`
352
- };
353
- }
354
- if (n === "outline") return a.isThemeColor ? a.shade === void 0 ? {
355
- background: "transparent",
356
- hover: `var(--mantine-color-${e}-outline-hover)`,
357
- color: `var(--mantine-color-${e}-outline)`,
358
- border: `${p(1)} solid var(--mantine-color-${e}-outline)`
359
- } : {
360
- background: "transparent",
361
- hover: z(t.colors[a.color][a.shade], .05),
362
- color: `var(--mantine-color-${a.color}-${a.shade})`,
363
- border: `${p(1)} solid var(--mantine-color-${a.color}-${a.shade})`
364
- } : {
365
- background: "transparent",
366
- hover: z(e, .05),
367
- color: e,
368
- border: `${p(1)} solid ${e}`
369
- };
370
- if (n === "subtle") {
371
- if (a.isThemeColor) {
372
- if (a.shade === void 0) return {
373
- background: "transparent",
374
- hover: `var(--mantine-color-${e}-light-hover)`,
375
- color: `var(--mantine-color-${e}-light-color)`,
376
- border: `${p(1)} solid transparent`
377
- };
378
- let n = t.colors[a.color][a.shade];
379
- return {
380
- background: "transparent",
381
- hover: z(n, .12),
382
- color: `var(--mantine-color-${a.color}-${Math.min(a.shade, 6)})`,
383
- border: `${p(1)} solid transparent`
384
- };
385
- }
386
- return {
387
- background: "transparent",
388
- hover: z(e, .12),
389
- color: e,
390
- border: `${p(1)} solid transparent`
391
- };
392
- }
393
- return n === "transparent" ? a.isThemeColor ? a.shade === void 0 ? {
394
- background: "transparent",
395
- hover: "transparent",
396
- color: `var(--mantine-color-${e}-light-color)`,
397
- border: `${p(1)} solid transparent`
398
- } : {
399
- background: "transparent",
400
- hover: "transparent",
401
- color: `var(--mantine-color-${a.color}-${Math.min(a.shade, 6)})`,
402
- border: `${p(1)} solid transparent`
403
- } : {
404
- background: "transparent",
405
- hover: "transparent",
406
- color: e,
407
- border: `${p(1)} solid transparent`
408
- } : n === "white" ? a.isThemeColor ? a.shade === void 0 ? {
409
- background: "var(--mantine-color-white)",
410
- hover: L(t.white, .01),
411
- color: `var(--mantine-color-${e}-filled)`,
412
- border: `${p(1)} solid transparent`
413
- } : {
414
- background: "var(--mantine-color-white)",
415
- hover: L(t.white, .01),
416
- color: `var(--mantine-color-${a.color}-${a.shade})`,
417
- border: `${p(1)} solid transparent`
418
- } : {
419
- background: "var(--mantine-color-white)",
420
- hover: L(t.white, .01),
421
- color: e,
422
- border: `${p(1)} solid transparent`
423
- } : n === "gradient" ? {
424
- background: R(r, t),
425
- hover: R(r, t),
426
- color: "var(--mantine-color-white)",
427
- border: "none"
428
- } : n === "default" ? {
429
- background: "var(--mantine-color-default)",
430
- hover: "var(--mantine-color-default-hover)",
431
- color: "var(--mantine-color-default-color)",
432
- border: `${p(1)} solid var(--mantine-color-default-border)`
433
- } : {};
434
- }, B = e(null);
435
- function V() {
436
- let e = t(B);
437
- if (!e) throw Error("[@mantine/core] MantineProvider was not found in tree");
438
- return e;
439
- }
440
- function se() {
441
- return V().cssVariablesResolver;
442
- }
443
- function ce() {
444
- return V().classNamesPrefix;
445
- }
446
- function H() {
447
- return V().getStyleNonce;
448
- }
449
- function le() {
450
- return V().withStaticClasses;
451
- }
452
- function ue() {
453
- return V().headless;
454
- }
455
- function de() {
456
- return V().stylesTransform?.sx;
457
- }
458
- function fe() {
459
- return V().stylesTransform?.styles;
460
- }
461
- function pe() {
462
- return V().env || "default";
463
- }
464
- //#endregion
465
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/default-colors.mjs
466
- var me = {
467
- dark: [
468
- "#C9C9C9",
469
- "#b8b8b8",
470
- "#828282",
471
- "#696969",
472
- "#424242",
473
- "#3b3b3b",
474
- "#2e2e2e",
475
- "#242424",
476
- "#1f1f1f",
477
- "#141414"
478
- ],
479
- gray: [
480
- "#f8f9fa",
481
- "#f1f3f5",
482
- "#e9ecef",
483
- "#dee2e6",
484
- "#ced4da",
485
- "#adb5bd",
486
- "#868e96",
487
- "#495057",
488
- "#343a40",
489
- "#212529"
490
- ],
491
- red: [
492
- "#fff5f5",
493
- "#ffe3e3",
494
- "#ffc9c9",
495
- "#ffa8a8",
496
- "#ff8787",
497
- "#ff6b6b",
498
- "#fa5252",
499
- "#f03e3e",
500
- "#e03131",
501
- "#c92a2a"
502
- ],
503
- pink: [
504
- "#fff0f6",
505
- "#ffdeeb",
506
- "#fcc2d7",
507
- "#faa2c1",
508
- "#f783ac",
509
- "#f06595",
510
- "#e64980",
511
- "#d6336c",
512
- "#c2255c",
513
- "#a61e4d"
514
- ],
515
- grape: [
516
- "#f8f0fc",
517
- "#f3d9fa",
518
- "#eebefa",
519
- "#e599f7",
520
- "#da77f2",
521
- "#cc5de8",
522
- "#be4bdb",
523
- "#ae3ec9",
524
- "#9c36b5",
525
- "#862e9c"
526
- ],
527
- violet: [
528
- "#f3f0ff",
529
- "#e5dbff",
530
- "#d0bfff",
531
- "#b197fc",
532
- "#9775fa",
533
- "#845ef7",
534
- "#7950f2",
535
- "#7048e8",
536
- "#6741d9",
537
- "#5f3dc4"
538
- ],
539
- indigo: [
540
- "#edf2ff",
541
- "#dbe4ff",
542
- "#bac8ff",
543
- "#91a7ff",
544
- "#748ffc",
545
- "#5c7cfa",
546
- "#4c6ef5",
547
- "#4263eb",
548
- "#3b5bdb",
549
- "#364fc7"
550
- ],
551
- blue: [
552
- "#e7f5ff",
553
- "#d0ebff",
554
- "#a5d8ff",
555
- "#74c0fc",
556
- "#4dabf7",
557
- "#339af0",
558
- "#228be6",
559
- "#1c7ed6",
560
- "#1971c2",
561
- "#1864ab"
562
- ],
563
- cyan: [
564
- "#e3fafc",
565
- "#c5f6fa",
566
- "#99e9f2",
567
- "#66d9e8",
568
- "#3bc9db",
569
- "#22b8cf",
570
- "#15aabf",
571
- "#1098ad",
572
- "#0c8599",
573
- "#0b7285"
574
- ],
575
- teal: [
576
- "#e6fcf5",
577
- "#c3fae8",
578
- "#96f2d7",
579
- "#63e6be",
580
- "#38d9a9",
581
- "#20c997",
582
- "#12b886",
583
- "#0ca678",
584
- "#099268",
585
- "#087f5b"
586
- ],
587
- green: [
588
- "#ebfbee",
589
- "#d3f9d8",
590
- "#b2f2bb",
591
- "#8ce99a",
592
- "#69db7c",
593
- "#51cf66",
594
- "#40c057",
595
- "#37b24d",
596
- "#2f9e44",
597
- "#2b8a3e"
598
- ],
599
- lime: [
600
- "#f4fce3",
601
- "#e9fac8",
602
- "#d8f5a2",
603
- "#c0eb75",
604
- "#a9e34b",
605
- "#94d82d",
606
- "#82c91e",
607
- "#74b816",
608
- "#66a80f",
609
- "#5c940d"
610
- ],
611
- yellow: [
612
- "#fff9db",
613
- "#fff3bf",
614
- "#ffec99",
615
- "#ffe066",
616
- "#ffd43b",
617
- "#fcc419",
618
- "#fab005",
619
- "#f59f00",
620
- "#f08c00",
621
- "#e67700"
622
- ],
623
- orange: [
624
- "#fff4e6",
625
- "#ffe8cc",
626
- "#ffd8a8",
627
- "#ffc078",
628
- "#ffa94d",
629
- "#ff922b",
630
- "#fd7e14",
631
- "#f76707",
632
- "#e8590c",
633
- "#d9480f"
634
- ]
635
- }, U = "-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", W = {
636
- scale: 1,
637
- fontSmoothing: !0,
638
- focusRing: "auto",
639
- white: "#fff",
640
- black: "#000",
641
- colors: me,
642
- primaryShade: {
643
- light: 6,
644
- dark: 8
645
- },
646
- primaryColor: "blue",
647
- variantColorResolver: oe,
648
- autoContrast: !1,
649
- luminanceThreshold: .3,
650
- fontFamily: U,
651
- fontFamilyMonospace: "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace",
652
- respectReducedMotion: !1,
653
- cursorType: "default",
654
- defaultGradient: {
655
- from: "blue",
656
- to: "cyan",
657
- deg: 45
658
- },
659
- defaultRadius: "md",
660
- activeClassName: "mantine-active",
661
- focusClassName: "",
662
- headings: {
663
- fontFamily: U,
664
- fontWeight: "700",
665
- textWrap: "wrap",
666
- sizes: {
667
- h1: {
668
- fontSize: p(34),
669
- lineHeight: "1.3"
670
- },
671
- h2: {
672
- fontSize: p(26),
673
- lineHeight: "1.35"
674
- },
675
- h3: {
676
- fontSize: p(22),
677
- lineHeight: "1.4"
678
- },
679
- h4: {
680
- fontSize: p(18),
681
- lineHeight: "1.45"
682
- },
683
- h5: {
684
- fontSize: p(16),
685
- lineHeight: "1.5"
686
- },
687
- h6: {
688
- fontSize: p(14),
689
- lineHeight: "1.5"
690
- }
691
- }
692
- },
693
- fontSizes: {
694
- xs: p(12),
695
- sm: p(14),
696
- md: p(16),
697
- lg: p(18),
698
- xl: p(20)
699
- },
700
- lineHeights: {
701
- xs: "1.4",
702
- sm: "1.45",
703
- md: "1.55",
704
- lg: "1.6",
705
- xl: "1.65"
706
- },
707
- fontWeights: {
708
- regular: "400",
709
- medium: "600",
710
- bold: "700"
711
- },
712
- radius: {
713
- xs: p(2),
714
- sm: p(4),
715
- md: p(8),
716
- lg: p(16),
717
- xl: p(32)
718
- },
719
- spacing: {
720
- xs: p(10),
721
- sm: p(12),
722
- md: p(16),
723
- lg: p(20),
724
- xl: p(32)
725
- },
726
- breakpoints: {
727
- xs: "36em",
728
- sm: "48em",
729
- md: "62em",
730
- lg: "75em",
731
- xl: "88em"
732
- },
733
- shadows: {
734
- xs: `0 ${p(1)} ${p(3)} rgba(0, 0, 0, 0.05), 0 ${p(1)} ${p(2)} rgba(0, 0, 0, 0.1)`,
735
- sm: `0 ${p(1)} ${p(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${p(10)} ${p(15)} ${p(-5)}, rgba(0, 0, 0, 0.04) 0 ${p(7)} ${p(7)} ${p(-5)}`,
736
- md: `0 ${p(1)} ${p(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${p(20)} ${p(25)} ${p(-5)}, rgba(0, 0, 0, 0.04) 0 ${p(10)} ${p(10)} ${p(-5)}`,
737
- lg: `0 ${p(1)} ${p(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${p(28)} ${p(23)} ${p(-7)}, rgba(0, 0, 0, 0.04) 0 ${p(12)} ${p(12)} ${p(-7)}`,
738
- xl: `0 ${p(1)} ${p(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${p(36)} ${p(28)} ${p(-7)}, rgba(0, 0, 0, 0.04) 0 ${p(17)} ${p(17)} ${p(-7)}`
739
- },
740
- other: {},
741
- components: {}
742
- }, G = "[@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 }";
743
- function K(e) {
744
- return e < 0 || e > 9 ? !1 : parseInt(e.toString(), 10) === e;
745
- }
746
- function ge(e) {
747
- if (!(e.primaryColor in e.colors)) throw Error(G);
748
- if (typeof e.primaryShade == "object" && (!K(e.primaryShade.dark) || !K(e.primaryShade.light)) || typeof e.primaryShade == "number" && !K(e.primaryShade)) throw Error(he);
749
- }
750
- function _e(e, t) {
751
- if (!t) return ge(e), e;
752
- let n = l(e, t);
753
- return t.fontFamily && !t.headings?.fontFamily && (n.headings.fontFamily = t.fontFamily), ge(n), n;
754
- }
755
- //#endregion
756
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs
757
- var q = e(null), ve = () => t(q) || W;
758
- function J() {
759
- let e = t(q);
760
- if (!e) throw Error("@mantine/core: MantineProvider was not found in component tree, make sure you have it in your app");
761
- return e;
762
- }
763
- function ye({ theme: e, children: t, inherit: n = !0 }) {
764
- let i = ve();
765
- return /* @__PURE__ */ a(q, {
766
- value: r(() => _e(n ? i : W, e), [
767
- e,
768
- i,
769
- n
770
- ]),
771
- children: t
772
- });
773
- }
774
- ye.displayName = "@mantine/core/MantineThemeProvider";
775
- //#endregion
776
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/use-props/use-props.mjs
777
- function be(e, t, n) {
778
- let r = J(), i = r.components[e]?.defaultProps, a = typeof i == "function" ? i(r) : i;
779
- return {
780
- ...t,
781
- ...a,
782
- ...h(n)
783
- };
784
- }
785
- //#endregion
786
- //#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
787
- var xe = {
788
- always: "mantine-focus-always",
789
- auto: "mantine-focus-auto",
790
- never: "mantine-focus-never"
791
- };
792
- function Se({ theme: e, options: t, unstyled: n }) {
793
- return T(t?.focusable && !n && (e.focusClassName || xe[e.focusRing]), t?.active && !n && e.activeClassName);
794
- }
795
- //#endregion
796
- //#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
797
- function Ce({ selector: e, stylesCtx: t, options: n, props: r, theme: i }) {
798
- return O({
799
- theme: i,
800
- classNames: n?.classNames,
801
- props: n?.props || r,
802
- stylesCtx: t
803
- })[e];
804
- }
805
- //#endregion
806
- //#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
807
- function we({ selector: e, stylesCtx: t, theme: n, classNames: r, props: i }) {
808
- return O({
809
- theme: n,
810
- classNames: r,
811
- props: i,
812
- stylesCtx: t
813
- })[e];
814
- }
815
- //#endregion
816
- //#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
817
- function Te({ rootSelector: e, selector: t, className: n }) {
818
- return e === t ? n : void 0;
819
- }
820
- //#endregion
821
- //#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
822
- function Ee({ selector: e, classes: t, unstyled: n }) {
823
- return n ? void 0 : t[e];
824
- }
825
- //#endregion
826
- //#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
827
- function De({ themeName: e, classNamesPrefix: t, selector: n, withStaticClass: r }) {
828
- return r === !1 ? [] : e.map((e) => `${t}-${e}-${n}`);
829
- }
830
- //#endregion
831
- //#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
832
- function Oe({ options: e, classes: t, selector: n, unstyled: r }) {
833
- return e?.variant && !r ? t[`${n}--${e.variant}`] : void 0;
834
- }
835
- //#endregion
836
- //#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
837
- function ke({ theme: e, options: t, themeName: n, selector: r, classNamesPrefix: i, resolvedClassNames: a, resolvedThemeClassNames: o, classes: s, unstyled: c, className: l, rootSelector: u, props: d, stylesCtx: f, withStaticClasses: p, headless: m, transformedStyles: h }) {
838
- return T(Se({
839
- theme: e,
840
- options: t,
841
- unstyled: c || m
842
- }), o.map((e) => e[r]), Oe({
843
- options: t,
844
- classes: s,
845
- selector: r,
846
- unstyled: c || m
847
- }), a[r], we({
848
- selector: r,
849
- stylesCtx: f,
850
- theme: e,
851
- classNames: h,
852
- props: d
853
- }), Ce({
854
- selector: r,
855
- stylesCtx: f,
856
- options: t,
857
- props: d,
858
- theme: e
859
- }), Te({
860
- rootSelector: u,
861
- selector: r,
862
- className: l
863
- }), Ee({
864
- selector: r,
865
- classes: s,
866
- unstyled: c || m
867
- }), p && !m && De({
868
- themeName: n,
869
- classNamesPrefix: i,
870
- selector: r,
871
- withStaticClass: t?.withStaticClass
872
- }), t?.className);
873
- }
874
- //#endregion
875
- //#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
876
- function Y({ style: e, theme: t }) {
877
- return Array.isArray(e) ? e.reduce((e, n) => ({
878
- ...e,
879
- ...Y({
880
- style: n,
881
- theme: t
882
- })
883
- }), {}) : typeof e == "function" ? e(t) : e ?? {};
884
- }
885
- //#endregion
886
- //#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
887
- function Ae({ theme: e, selector: t, options: n, props: r, stylesCtx: i, rootSelector: a, withStylesTransform: o, resolvedStyles: s, resolvedThemeStyles: c, resolvedVars: l, resolvedRootStyle: u }) {
888
- return {
889
- ...c[t],
890
- ...s[t],
891
- ...!o && k({
892
- theme: e,
893
- styles: n?.styles,
894
- props: n?.props || r,
895
- stylesCtx: i
896
- })[t],
897
- ...l[t],
898
- ...a === t ? u : null,
899
- ...Y({
900
- style: n?.style,
901
- theme: e
902
- })
903
- };
904
- }
905
- //#endregion
906
- //#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
907
- function je(e) {
908
- return e.reduce((e, t) => (t && Object.keys(t).forEach((n) => {
909
- e[n] = {
910
- ...e[n],
911
- ...h(t[n])
912
- };
913
- }), e), {});
914
- }
915
- //#endregion
916
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/use-styles/use-transformed-styles.mjs
917
- function Me({ props: e, stylesCtx: t, themeName: n, theme: r }) {
918
- let i = fe()?.();
919
- return {
920
- getTransformedStyles: (a) => i ? [...a.map((n) => i(n, {
921
- props: e,
922
- theme: r,
923
- ctx: t
924
- })), ...n.map((n) => i(r.components[n]?.styles, {
925
- props: e,
926
- theme: r,
927
- ctx: t
928
- }))].filter(Boolean) : [],
929
- withStylesTransform: !!i
930
- };
931
- }
932
- //#endregion
933
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/use-styles/use-styles.mjs
934
- 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 }) {
935
- let p = J(), m = ce(), h = le(), g = ue(), _ = (Array.isArray(e) ? e : [e]).filter((e) => e), { withStylesTransform: v, getTransformedStyles: y } = Me({
936
- props: n,
937
- stylesCtx: r,
938
- themeName: _,
939
- theme: p
940
- }), b = O({
941
- theme: p,
942
- classNames: c,
943
- props: n,
944
- stylesCtx: r
945
- }), x = _.map((e) => O({
946
- theme: p,
947
- classNames: p.components[e]?.classNames,
948
- props: n,
949
- stylesCtx: r
950
- })), S = v ? {} : k({
951
- theme: p,
952
- styles: l,
953
- props: n,
954
- stylesCtx: r
955
- }), C = {};
956
- if (!v) for (let e of _) {
957
- let t = k({
958
- theme: p,
959
- styles: p.components[e]?.styles,
960
- props: n,
961
- stylesCtx: r
962
- });
963
- for (let e of Object.keys(t)) C[e] = {
964
- ...C[e],
965
- ...t[e]
966
- };
967
- }
968
- let w = je([
969
- g ? {} : d?.(p, n, r),
970
- ..._.map((e) => p.components?.[e]?.vars?.(p, n, r)),
971
- u?.(p, n, r)
972
- ]), T = Y({
973
- style: a,
974
- theme: p
975
- });
976
- return (e, a) => ({
977
- ...f?.[e],
978
- className: ke({
979
- theme: p,
980
- options: a,
981
- themeName: _,
982
- selector: e,
983
- classNamesPrefix: m,
984
- resolvedClassNames: b,
985
- resolvedThemeClassNames: x,
986
- classes: t,
987
- unstyled: s,
988
- className: i,
989
- rootSelector: o,
990
- props: n,
991
- stylesCtx: r,
992
- withStaticClasses: h,
993
- headless: g,
994
- transformedStyles: y([a?.styles, l])
995
- }),
996
- style: Ae({
997
- theme: p,
998
- selector: e,
999
- options: a,
1000
- props: n,
1001
- stylesCtx: r,
1002
- rootSelector: o,
1003
- withStylesTransform: v,
1004
- resolvedStyles: S,
1005
- resolvedThemeStyles: C,
1006
- resolvedVars: w,
1007
- resolvedRootStyle: T
1008
- })
1009
- });
1010
- }
1011
- //#endregion
1012
- //#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
1013
- function X(e) {
1014
- return s(e).reduce((t, n) => e[n] === void 0 ? t : `${t}${u(n)}:${e[n]};`, "").trim();
1015
- }
1016
- //#endregion
1017
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/InlineStyles/styles-to-string/styles-to-string.mjs
1018
- function Pe({ selector: e, styles: t, media: n, container: r }) {
1019
- let i = t ? X(t) : "", a = Array.isArray(n) ? n.map((t) => `@media${t.query}{${e}{${X(t.styles)}}}`) : [], o = Array.isArray(r) ? r.map((t) => `@container ${t.query}{${e}{${X(t.styles)}}}`) : [];
1020
- return `${i ? `${e}{${i}}` : ""}${a.join("")}${o.join("")}`.trim();
1021
- }
1022
- //#endregion
1023
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/InlineStyles/InlineStyles.mjs
1024
- function Fe(e) {
1025
- let t = H();
1026
- return /* @__PURE__ */ a("style", {
1027
- "data-mantine-styles": "inline",
1028
- nonce: t?.(),
1029
- dangerouslySetInnerHTML: { __html: Pe(e) }
1030
- });
1031
- }
1032
- //#endregion
1033
- //#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
1034
- function Ie(e) {
1035
- 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: g, 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: A, fw: ee, lts: te, ta: ne, lh: re, fs: j, tt: M, td: ie, w: N, miw: P, maw: F, h: I, mih: L, mah: R, bgsz: z, bgp: ae, bgr: oe, bga: B, pos: V, top: se, left: ce, bottom: H, right: le, inset: ue, display: de, flex: fe, hiddenFrom: pe, visibleFrom: me, lightHidden: U, darkHidden: W, sx: G, ...he } = e;
1036
- return {
1037
- styleProps: h({
1038
- m: t,
1039
- mx: n,
1040
- my: r,
1041
- mt: i,
1042
- mb: a,
1043
- ml: o,
1044
- mr: s,
1045
- me: c,
1046
- ms: l,
1047
- mis: u,
1048
- mie: d,
1049
- p: f,
1050
- px: p,
1051
- py: m,
1052
- pt: g,
1053
- pb: _,
1054
- pl: v,
1055
- pr: y,
1056
- pis: S,
1057
- pie: C,
1058
- pe: b,
1059
- ps: x,
1060
- bd: w,
1061
- bg: E,
1062
- c: D,
1063
- opacity: O,
1064
- ff: k,
1065
- fz: A,
1066
- fw: ee,
1067
- lts: te,
1068
- ta: ne,
1069
- lh: re,
1070
- fs: j,
1071
- tt: M,
1072
- td: ie,
1073
- w: N,
1074
- miw: P,
1075
- maw: F,
1076
- h: I,
1077
- mih: L,
1078
- mah: R,
1079
- bgsz: z,
1080
- bgp: ae,
1081
- bgr: oe,
1082
- bga: B,
1083
- pos: V,
1084
- top: se,
1085
- left: ce,
1086
- bottom: H,
1087
- right: le,
1088
- inset: ue,
1089
- display: de,
1090
- flex: fe,
1091
- bdrs: T,
1092
- hiddenFrom: pe,
1093
- visibleFrom: me,
1094
- lightHidden: U,
1095
- darkHidden: W,
1096
- sx: G
1097
- }),
1098
- rest: he
1099
- };
1100
- }
1101
- //#endregion
1102
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/style-props/style-props-data.mjs
1103
- var Le = {
1104
- m: {
1105
- type: "spacing",
1106
- property: "margin"
1107
- },
1108
- mt: {
1109
- type: "spacing",
1110
- property: "marginTop"
1111
- },
1112
- mb: {
1113
- type: "spacing",
1114
- property: "marginBottom"
1115
- },
1116
- ml: {
1117
- type: "spacing",
1118
- property: "marginLeft"
1119
- },
1120
- mr: {
1121
- type: "spacing",
1122
- property: "marginRight"
1123
- },
1124
- ms: {
1125
- type: "spacing",
1126
- property: "marginInlineStart"
1127
- },
1128
- me: {
1129
- type: "spacing",
1130
- property: "marginInlineEnd"
1131
- },
1132
- mis: {
1133
- type: "spacing",
1134
- property: "marginInlineStart"
1135
- },
1136
- mie: {
1137
- type: "spacing",
1138
- property: "marginInlineEnd"
1139
- },
1140
- mx: {
1141
- type: "spacing",
1142
- property: "marginInline"
1143
- },
1144
- my: {
1145
- type: "spacing",
1146
- property: "marginBlock"
1147
- },
1148
- p: {
1149
- type: "spacing",
1150
- property: "padding"
1151
- },
1152
- pt: {
1153
- type: "spacing",
1154
- property: "paddingTop"
1155
- },
1156
- pb: {
1157
- type: "spacing",
1158
- property: "paddingBottom"
1159
- },
1160
- pl: {
1161
- type: "spacing",
1162
- property: "paddingLeft"
1163
- },
1164
- pr: {
1165
- type: "spacing",
1166
- property: "paddingRight"
1167
- },
1168
- ps: {
1169
- type: "spacing",
1170
- property: "paddingInlineStart"
1171
- },
1172
- pe: {
1173
- type: "spacing",
1174
- property: "paddingInlineEnd"
1175
- },
1176
- pis: {
1177
- type: "spacing",
1178
- property: "paddingInlineStart"
1179
- },
1180
- pie: {
1181
- type: "spacing",
1182
- property: "paddingInlineEnd"
1183
- },
1184
- px: {
1185
- type: "spacing",
1186
- property: "paddingInline"
1187
- },
1188
- py: {
1189
- type: "spacing",
1190
- property: "paddingBlock"
1191
- },
1192
- bd: {
1193
- type: "border",
1194
- property: "border"
1195
- },
1196
- bdrs: {
1197
- type: "radius",
1198
- property: "borderRadius"
1199
- },
1200
- bg: {
1201
- type: "color",
1202
- property: "background"
1203
- },
1204
- c: {
1205
- type: "textColor",
1206
- property: "color"
1207
- },
1208
- opacity: {
1209
- type: "identity",
1210
- property: "opacity"
1211
- },
1212
- ff: {
1213
- type: "fontFamily",
1214
- property: "fontFamily"
1215
- },
1216
- fz: {
1217
- type: "fontSize",
1218
- property: "fontSize"
1219
- },
1220
- fw: {
1221
- type: "identity",
1222
- property: "fontWeight"
1223
- },
1224
- lts: {
1225
- type: "size",
1226
- property: "letterSpacing"
1227
- },
1228
- ta: {
1229
- type: "identity",
1230
- property: "textAlign"
1231
- },
1232
- lh: {
1233
- type: "lineHeight",
1234
- property: "lineHeight"
1235
- },
1236
- fs: {
1237
- type: "identity",
1238
- property: "fontStyle"
1239
- },
1240
- tt: {
1241
- type: "identity",
1242
- property: "textTransform"
1243
- },
1244
- td: {
1245
- type: "identity",
1246
- property: "textDecoration"
1247
- },
1248
- w: {
1249
- type: "spacing",
1250
- property: "width"
1251
- },
1252
- miw: {
1253
- type: "spacing",
1254
- property: "minWidth"
1255
- },
1256
- maw: {
1257
- type: "spacing",
1258
- property: "maxWidth"
1259
- },
1260
- h: {
1261
- type: "spacing",
1262
- property: "height"
1263
- },
1264
- mih: {
1265
- type: "spacing",
1266
- property: "minHeight"
1267
- },
1268
- mah: {
1269
- type: "spacing",
1270
- property: "maxHeight"
1271
- },
1272
- bgsz: {
1273
- type: "size",
1274
- property: "backgroundSize"
1275
- },
1276
- bgp: {
1277
- type: "identity",
1278
- property: "backgroundPosition"
1279
- },
1280
- bgr: {
1281
- type: "identity",
1282
- property: "backgroundRepeat"
1283
- },
1284
- bga: {
1285
- type: "identity",
1286
- property: "backgroundAttachment"
1287
- },
1288
- pos: {
1289
- type: "identity",
1290
- property: "position"
1291
- },
1292
- top: {
1293
- type: "size",
1294
- property: "top"
1295
- },
1296
- left: {
1297
- type: "size",
1298
- property: "left"
1299
- },
1300
- bottom: {
1301
- type: "size",
1302
- property: "bottom"
1303
- },
1304
- right: {
1305
- type: "size",
1306
- property: "right"
1307
- },
1308
- inset: {
1309
- type: "size",
1310
- property: "inset"
1311
- },
1312
- display: {
1313
- type: "identity",
1314
- property: "display"
1315
- },
1316
- flex: {
1317
- type: "identity",
1318
- property: "flex"
1319
- }
1320
- };
1321
- //#endregion
1322
- //#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
1323
- function Z(e, t) {
1324
- let n = F({
1325
- color: e,
1326
- theme: t
1327
- });
1328
- return n.color === "dimmed" ? "var(--mantine-color-dimmed)" : n.color === "bright" ? "var(--mantine-color-bright)" : n.variable ? `var(${n.variable})` : n.color;
1329
- }
1330
- function Re(e, t) {
1331
- let n = F({
1332
- color: e,
1333
- theme: t
1334
- });
1335
- return n.isThemeColor && n.shade === void 0 ? `var(--mantine-color-${n.color}-text)` : Z(e, t);
1336
- }
1337
- //#endregion
1338
- //#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
1339
- function ze(e, t) {
1340
- if (typeof e == "number") return p(e);
1341
- if (typeof e == "string") {
1342
- let [n, r, ...i] = e.split(" ").filter((e) => e.trim() !== ""), a = `${p(n)}`;
1343
- return r && (a += ` ${r}`), i.length > 0 && (a += ` ${Z(i.join(" "), t)}`), a.trim();
1344
- }
1345
- return e;
1346
- }
1347
- //#endregion
1348
- //#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
1349
- var Be = {
1350
- text: "var(--mantine-font-family)",
1351
- mono: "var(--mantine-font-family-monospace)",
1352
- monospace: "var(--mantine-font-family-monospace)",
1353
- heading: "var(--mantine-font-family-headings)",
1354
- headings: "var(--mantine-font-family-headings)"
1355
- };
1356
- function Ve(e) {
1357
- return typeof e == "string" && e in Be ? Be[e] : e;
1358
- }
1359
- //#endregion
1360
- //#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
1361
- var He = [
1362
- "h1",
1363
- "h2",
1364
- "h3",
1365
- "h4",
1366
- "h5",
1367
- "h6"
1368
- ];
1369
- function Ue(e, t) {
1370
- 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" ? p(e) : e;
1371
- }
1372
- //#endregion
1373
- //#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
1374
- function We(e) {
1375
- return e;
1376
- }
1377
- //#endregion
1378
- //#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
1379
- var Ge = [
1380
- "h1",
1381
- "h2",
1382
- "h3",
1383
- "h4",
1384
- "h5",
1385
- "h6"
1386
- ];
1387
- function Ke(e, t) {
1388
- 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;
1389
- }
1390
- //#endregion
1391
- //#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
1392
- function qe(e, t) {
1393
- return typeof e == "string" && e in t.radius ? `var(--mantine-radius-${e})` : typeof e == "number" || typeof e == "string" ? p(e) : e;
1394
- }
1395
- //#endregion
1396
- //#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
1397
- function Je(e) {
1398
- return typeof e == "number" ? p(e) : e;
1399
- }
1400
- //#endregion
1401
- //#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
1402
- function Ye(e, t) {
1403
- if (typeof e == "number") return p(e);
1404
- if (typeof e == "string") {
1405
- let n = e.replace("-", "");
1406
- if (!(n in t.spacing)) return p(e);
1407
- let r = `--mantine-spacing-${n}`;
1408
- return e.startsWith("-") ? `calc(var(${r}) * -1)` : `var(${r})`;
1409
- }
1410
- return e;
1411
- }
1412
- //#endregion
1413
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/index.mjs
1414
- var Q = {
1415
- color: Z,
1416
- textColor: Re,
1417
- fontSize: Ue,
1418
- spacing: Ye,
1419
- radius: qe,
1420
- identity: We,
1421
- size: Je,
1422
- lineHeight: Ke,
1423
- fontFamily: Ve,
1424
- border: ze
1425
- };
1426
- //#endregion
1427
- //#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
1428
- function Xe(e) {
1429
- return e.replace("(min-width: ", "").replace("em)", "");
1430
- }
1431
- function Ze({ media: e, ...t }) {
1432
- let n = Object.keys(e).sort((e, t) => Number(Xe(e)) - Number(Xe(t))).map((t) => ({
1433
- query: t,
1434
- styles: e[t]
1435
- }));
1436
- return {
1437
- ...t,
1438
- media: n
1439
- };
1440
- }
1441
- //#endregion
1442
- //#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
1443
- function Qe(e) {
1444
- if (typeof e != "object" || !e) return !1;
1445
- let t = Object.keys(e);
1446
- return !(t.length === 1 && t[0] === "base");
1447
- }
1448
- function $e(e) {
1449
- return typeof e == "object" && e ? "base" in e ? e.base : void 0 : e;
1450
- }
1451
- function et(e) {
1452
- return typeof e == "object" && e ? s(e).filter((e) => e !== "base") : [];
1453
- }
1454
- function tt(e, t) {
1455
- return typeof e == "object" && e && t in e ? e[t] : e;
1456
- }
1457
- function nt({ styleProps: e, data: t, theme: n }) {
1458
- return Ze(s(e).reduce((r, i) => {
1459
- if (i === "hiddenFrom" || i === "visibleFrom" || i === "sx") return r;
1460
- let a = t[i], o = Array.isArray(a.property) ? a.property : [a.property], s = $e(e[i]);
1461
- if (!Qe(e[i])) return o.forEach((e) => {
1462
- r.inlineStyles[e] = Q[a.type](s, n);
1463
- }), r;
1464
- r.hasResponsiveStyles = !0;
1465
- let c = et(e[i]);
1466
- return o.forEach((t) => {
1467
- s != null && (r.styles[t] = Q[a.type](s, n)), c.forEach((o) => {
1468
- let s = `(min-width: ${n.breakpoints[o]})`;
1469
- r.media[s] = {
1470
- ...r.media[s],
1471
- [t]: Q[a.type](tt(e[i], o), n)
1472
- };
1473
- });
1474
- }), r;
1475
- }, {
1476
- hasResponsiveStyles: !1,
1477
- styles: {},
1478
- inlineStyles: {},
1479
- media: {}
1480
- }));
1481
- }
1482
- //#endregion
1483
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/use-random-classname/use-random-classname.mjs
1484
- function rt() {
1485
- return `__m__-${n().replace(/[:«»]/g, "")}`;
1486
- }
1487
- //#endregion
1488
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/factory/create-polymorphic-component.mjs
1489
- function it(e) {
1490
- return e;
1491
- }
1492
- var at = it;
1493
- //#endregion
1494
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/factory/factory.mjs
1495
- function ot(e) {
1496
- return e;
1497
- }
1498
- function st(e) {
1499
- let t = e;
1500
- return t.extend = ot, t.withProps = (e) => {
1501
- let n = (n) => /* @__PURE__ */ a(t, {
1502
- ...e,
1503
- ...n
1504
- });
1505
- return n.extend = t.extend, n.displayName = `WithProps(${t.displayName})`, n;
1506
- }, t;
1507
- }
1508
- function ct(e) {
1509
- return st(e);
1510
- }
1511
- //#endregion
1512
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/factory/polymorphic-factory.mjs
1513
- function lt(e) {
1514
- let t = e;
1515
- return t.withProps = (e) => {
1516
- let n = (n) => /* @__PURE__ */ a(t, {
1517
- ...e,
1518
- ...n
1519
- });
1520
- return n.extend = t.extend, n.displayName = `WithProps(${t.displayName})`, n;
1521
- }, t.extend = ot, t;
1522
- }
1523
- //#endregion
1524
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/get-box-mod/get-box-mod.mjs
1525
- function ut(e) {
1526
- return `data-${(e.startsWith("data-") ? e.slice(5) : e).replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase()}`;
1527
- }
1528
- function dt(e) {
1529
- return Object.keys(e).reduce((t, n) => {
1530
- let r = e[n];
1531
- return r === void 0 || r === "" || r === !1 || r === null || (t[ut(n)] = e[n]), t;
1532
- }, {});
1533
- }
1534
- function ft(e) {
1535
- return e ? typeof e == "string" ? { [ut(e)]: !0 } : Array.isArray(e) ? [...e].reduce((e, t) => ({
1536
- ...e,
1537
- ...ft(t)
1538
- }), {}) : dt(e) : null;
1539
- }
1540
- //#endregion
1541
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/get-box-style/get-box-style.mjs
1542
- function $(e, t) {
1543
- return Array.isArray(e) ? [...e].reduce((e, n) => ({
1544
- ...e,
1545
- ...$(n, t)
1546
- }), {}) : typeof e == "function" ? e(t) : e ?? {};
1547
- }
1548
- function pt({ theme: e, style: t, vars: n, styleProps: r }) {
1549
- let i = $(t, e), a = $(n, e);
1550
- return {
1551
- ...i,
1552
- ...a,
1553
- ...r
1554
- };
1555
- }
1556
- //#endregion
1557
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/Box.mjs
1558
- function mt({ component: e, style: t, __vars: n, className: r, variant: s, mod: c, size: l, hiddenFrom: u, visibleFrom: d, lightHidden: f, darkHidden: p, renderRoot: m, __size: h, ref: _, ...v }) {
1559
- let y = J(), b = e || "div", { styleProps: x, rest: S } = Ie(v), C = de()?.()?.(x.sx), w = rt(), E = nt({
1560
- styleProps: x,
1561
- theme: y,
1562
- data: Le
1563
- }), D = {
1564
- ref: _,
1565
- style: pt({
1566
- theme: y,
1567
- style: t,
1568
- vars: n,
1569
- styleProps: E.inlineStyles
1570
- }),
1571
- className: T(r, C, {
1572
- [w]: E.hasResponsiveStyles,
1573
- "mantine-light-hidden": f,
1574
- "mantine-dark-hidden": p,
1575
- [`mantine-hidden-from-${u}`]: u,
1576
- [`mantine-visible-from-${d}`]: d
1577
- }),
1578
- "data-variant": s,
1579
- "data-size": g(l) ? void 0 : l || void 0,
1580
- size: h,
1581
- ...ft(c),
1582
- ...S
1583
- };
1584
- return /* @__PURE__ */ o(i, { children: [E.hasResponsiveStyles && /* @__PURE__ */ a(Fe, {
1585
- selector: `.${w}`,
1586
- styles: E.styles,
1587
- media: E.media
1588
- }), typeof m == "function" ? m(D) : /* @__PURE__ */ a(b, { ...D })] });
1589
- }
1590
- mt.displayName = "@mantine/core/Box";
1591
- var ht = at(mt);
1592
- //#endregion
1593
- export { x as A, N as C, T as D, O as E, h as F, m as I, p as L, S as M, _ as N, C as O, v as P, l as R, F as S, k as T, ae as _, rt as a, L as b, Ne as c, J as d, W as f, H as g, pe as h, ct as i, y as j, b as k, be as l, se as m, lt as n, Ie as o, B as p, st as r, Fe as s, ht as t, ye as u, z as v, A as w, I as x, R as y, s as z };