@fde-desktop/fde-core 0.4.8 → 0.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AccordionChevron-CJXAq5o5.js → AccordionChevron-DxpOyInK.js} +1 -1
- package/dist/AccordionChevron-kn5kSrEc.cjs +1 -0
- package/dist/{ActionIcon-CtVbYlGY.js → ActionIcon-Drh4p6Fv.js} +32 -32
- package/dist/ActionIcon-alk2zZD6.cjs +1 -0
- package/dist/AppEmptyState-BWCUbf-B.cjs +1 -0
- package/dist/AppEmptyState-Bxpit0JV.js +49 -0
- package/dist/AppIcon-BU7a3ZNH.cjs +1 -0
- package/dist/{AppIcon-DCDuaU-t.js → AppIcon-XumS3bIG.js} +4 -4
- package/dist/AppMenuBar-B9U0n1Vv.cjs +1 -0
- package/dist/AppMenuBar-CnIEVjr8.js +2049 -0
- package/dist/{Box-DRm8EabO.js → Box-DSKR_qaa.js} +257 -271
- package/dist/Box-zW6Twge8.cjs +1 -0
- package/dist/Button-DMlnrqyx.cjs +1 -0
- package/dist/{Button-k7SxX1Xl.js → Button-wTOTQKxF.js} +38 -38
- package/dist/CalendarApp-B_e1B1Yn.cjs +1 -0
- package/dist/CalendarApp-C-l9D6nd.cjs +1 -0
- package/dist/CalendarApp-D0ftTCTG.js +1399 -0
- package/dist/{Center-CyryG5zn.js → Center-CmxXB9ql.js} +1 -1
- package/dist/Center-DKUE2pER.cjs +1 -0
- package/dist/CheckIcon-CZhtJD1O.cjs +1 -0
- package/dist/{CheckIcon-C3WjIR2i.js → CheckIcon-N5qBqXQJ.js} +1 -1
- package/dist/CodeServerApp-BOoGwZ7r.cjs +1 -0
- package/dist/CodeServerApp-Be3I5EGg.cjs +1 -0
- package/dist/{CodeServerApp-DY94cy1a.js → CodeServerApp-DW18EZxa.js} +48 -47
- package/dist/{ColorPicker-DvRR-wlQ.js → ColorPicker-BCNqi02x.js} +364 -364
- package/dist/ColorPicker-BrDE7tMO.cjs +1 -0
- package/dist/CreateItemApp-B12M1E_1.cjs +1 -0
- package/dist/{CreateItemApp-CtdH1K1g.js → CreateItemApp-TAAprby3.js} +13 -13
- package/dist/CreateItemApp-ePB6ujNl.cjs +1 -0
- package/dist/DeviceInfoApp-BMF18BGo.cjs +1 -0
- package/dist/DeviceInfoApp-DRy0H3aT.cjs +1 -0
- package/dist/{DeviceInfoApp-C306YvtZ.js → DeviceInfoApp-lgpwkeRR.js} +7 -7
- package/dist/{DownloadProgress-hdupSUBT.js → DownloadProgress-EoyCaD5O.js} +15 -15
- package/dist/DownloadProgress-VNdj22U8.cjs +1 -0
- package/dist/{FileIcon-BCpGMI5U.js → FileIcon-7JaSR3Gn.js} +26 -25
- package/dist/FileIcon-CIXopWLv.cjs +1 -0
- package/dist/{FilePickerApp-DMGuvahM.js → FilePickerApp-DaMgEqKh.js} +115 -115
- package/dist/FilePickerApp-DjmuSFqa.cjs +1 -0
- package/dist/FilesApp-Bp7wfrBZ.cjs +1 -0
- package/dist/FilesApp-BpJJRKhi.cjs +1 -0
- package/dist/{FilesApp-VXrmtt63.js → FilesApp-Cj94QG5o.js} +21 -21
- package/dist/{Group-BzwlMeob.js → Group-CtBJSfCo.js} +1 -1
- package/dist/Group-Dsrf6lEK.cjs +1 -0
- package/dist/{ImageViewerApp-CWiP6zx-.js → ImageViewerApp-BaLP3gkO.js} +18 -17
- package/dist/ImageViewerApp-DlHGeB3S.cjs +1 -0
- package/dist/ImageViewerApp-DoXd_Swu.cjs +1 -0
- package/dist/{ImageViewerMenuBar-BULkh_Ku.js → ImageViewerMenuBar-CabGSi9r.js} +15 -14
- package/dist/ImageViewerMenuBar-SAI7UNz7.cjs +1 -0
- package/dist/ImageViewerMenuBar-_Jr29gii.cjs +1 -0
- package/dist/MenuEditApp-BJjlPTOa.cjs +1 -0
- package/dist/MenuEditApp-BTRppYnD.js +497 -0
- package/dist/MenuEditApp-JPsGT-S3.cjs +1 -0
- package/dist/MenuEditMenuBar-BydGkqMw.cjs +1 -0
- package/dist/MenuEditMenuBar-DptlwVPQ.cjs +1 -0
- package/dist/{MenuEditMenuBar-B94z4Umw.js → MenuEditMenuBar-x1IQrHP2.js} +13 -12
- package/dist/NotesApp-BOcRGO7w.cjs +1 -0
- package/dist/NotesApp-CQe7UfBC.js +364 -0
- package/dist/NotesApp-OL07JXRE.cjs +1 -0
- package/dist/NotesMenuBar-BSI_2Y7p.cjs +1 -0
- package/dist/NotesMenuBar-Df6aW85J.cjs +1 -0
- package/dist/{NotesMenuBar-BB4NkKGf.js → NotesMenuBar-VhpIe68v.js} +10 -9
- package/dist/{Paper-DtUYKmYn.js → Paper-BX_9odR6.js} +3 -3
- package/dist/Paper-D8-BaBx2.cjs +1 -0
- package/dist/PdfApp-CNEbty5v.cjs +1 -0
- package/dist/PdfApp-CVv3ZCaM.cjs +1 -0
- package/dist/PdfApp-DL_R9-Nc.js +39 -0
- package/dist/PdfMenuBar--E6kDyrT.cjs +1 -0
- package/dist/PdfMenuBar-DZCLSOpR.js +39 -0
- package/dist/PdfMenuBar-Dj5cJUkg.cjs +1 -0
- package/dist/SettingsApp-BlmHuAjT.js +1831 -0
- package/dist/SettingsApp-CNvIgf5B.cjs +1 -0
- package/dist/SettingsApp-DWxanNE4.cjs +1 -0
- package/dist/SettingsMenuBar-CBoOBCfx.cjs +1 -0
- package/dist/SettingsMenuBar-DQooFkZN.cjs +1 -0
- package/dist/SettingsMenuBar-YWiJHaxq.js +42 -0
- package/dist/Slider-BUiHxjKO.cjs +1 -0
- package/dist/{Slider-BNO-vDFn.js → Slider-t-NcD60t.js} +148 -147
- package/dist/{Stack-CuDEaP7e.js → Stack-Bp1Ek2Gp.js} +1 -1
- package/dist/Stack-D4jAiRfc.cjs +1 -0
- package/dist/StorybookApp-CDLV_kja.cjs +1 -0
- package/dist/{StorybookApp-WYninkJo.js → StorybookApp-DKwlPCmo.js} +1 -1
- package/dist/TerminalApp-BCB7i1lR.cjs +1 -0
- package/dist/TerminalApp-BYc_gHLe.js +326 -0
- package/dist/TerminalApp-Dviz6aP2.cjs +1 -0
- package/dist/{TerminalMenuBar-iKLydNda.js → TerminalMenuBar-D5tPmgR_.js} +15 -14
- package/dist/TerminalMenuBar-DNshPmCa.cjs +1 -0
- package/dist/TerminalMenuBar-HzMSR7XP.cjs +1 -0
- package/dist/{TextInput-C3qfxxWI.js → TextInput-C-JtGWn1.js} +264 -263
- package/dist/TextInput-CrsmcOip.cjs +1 -0
- package/dist/Tooltip-D5Cd9wtz.cjs +1 -0
- package/dist/Tooltip-DOeIvhrO.js +1142 -0
- package/dist/{UnstyledButton-CI3kyRck.js → UnstyledButton-DGaG-e_G.js} +1 -1
- package/dist/UnstyledButton-DX2pTahr.cjs +1 -0
- package/dist/UploaderApp-C6xA5Rrf2.cjs +1 -0
- package/dist/UploaderApp-DnHIRxB_.cjs +1 -0
- package/dist/{UploaderApp-C9W_yCT-.js → UploaderApp-qBfpukR_.js} +118 -117
- package/dist/VscIcon-CcMdrFoJ.cjs +1 -0
- package/dist/{VscIcon-DueRJVTe.js → VscIcon-DBfVnArE.js} +1 -1
- package/dist/create-safe-context-Bboj0GWC.cjs +1 -0
- package/dist/desktopStore-CZoA9VHO.cjs +1 -0
- package/dist/{desktopStore-B0R1-BeA.js → desktopStore-F8bgLqFl.js} +256 -393
- package/dist/getRuntime-BFK0-8R1.cjs +1 -0
- package/dist/{getRuntime-CCRXVzJH.js → getRuntime-DAPqFH2W.js} +5 -5
- package/dist/imageViewerStore-BB_tssZR.cjs +1 -0
- package/dist/{imageViewerStore-CJMRXaQh.js → imageViewerStore-C5kWz0o7.js} +1 -1
- package/dist/index.cjs +1 -53
- package/dist/index.css +1 -1
- package/dist/index.js +1293 -5468
- package/dist/is-element-CdV0xajp.cjs +1 -0
- package/dist/menuEditStore-CTeM_dns.cjs +1 -0
- package/dist/{menuEditStore-C8S_EedM.js → menuEditStore-Cj1zAwxQ.js} +1 -1
- package/dist/notesStore-BCEl1D_v.cjs +1 -0
- package/dist/{notesStore-DKRgTTFn.js → notesStore-BPyRTHEc.js} +1 -1
- package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
- package/dist/{settingsAppStore-KOeWRO6h.js → settingsAppStore-BDQ3ts1y.js} +1 -1
- package/dist/settingsAppStore-CMBc13VU.cjs +1 -0
- package/dist/{terminalStore-LWWjCvCe.js → terminalStore-IWdf4Mm6.js} +1 -1
- package/dist/terminalStore-iIuyodfK.cjs +1 -0
- package/dist/use-merged-ref-n9Gw9LNn.cjs +1 -0
- package/dist/{use-resolved-styles-api-AVDygMKo.cjs → use-resolved-styles-api-8OXE2oRq.cjs} +1 -1
- package/dist/{use-resolved-styles-api-pEOi2wiK.js → use-resolved-styles-api-DNUlJJZf.js} +1 -1
- package/dist/use-uncontrolled-DDJVQiM_.cjs +1 -0
- package/dist/{useAdaptiveDimensions-CunsU0mn.js → useAdaptiveDimensions-AVDc_qPa.js} +1 -1
- package/dist/useAdaptiveDimensions-CfITBJ_m.cjs +1 -0
- package/dist/{useCloseInterceptor-CuKAAFnj.js → useCloseInterceptor-BZd3VILp.js} +12 -12
- package/dist/useCloseInterceptor-yntBEzNc.cjs +1 -0
- package/dist/{useDynamicIcon-GJg3vWsJ.js → useDynamicIcon-Bf0t2foA.js} +1 -1
- package/dist/useDynamicIcon-DJ_il30E.cjs +1 -0
- package/dist/{useOpenApp-JHCPTBWa.js → useOpenApp-CBIm7Gzl.js} +3 -3
- package/dist/useOpenApp-DW4x79Zg.cjs +1 -0
- package/dist/useResolvedUrl-BkMPM1fM.cjs +1 -0
- package/dist/{useResolvedUrl-DFKXq598.js → useResolvedUrl-DQpLqOoL.js} +2 -2
- package/package.json +1 -1
- package/dist/AccordionChevron-DBXp38Lm.cjs +0 -1
- package/dist/ActionIcon-C_SfdBfx.cjs +0 -1
- package/dist/AppEmptyState-BTujnL_b.js +0 -4962
- package/dist/AppEmptyState-Dc4GaDfu.cjs +0 -1
- package/dist/AppIcon--qzR4sgf.cjs +0 -1
- package/dist/AppMenuBar-BiHbNg9V.cjs +0 -9
- package/dist/AppMenuBar-CHJy8OF0.js +0 -2639
- package/dist/Box-D_64wv6n.cjs +0 -1
- package/dist/Button-D0FXpkur.cjs +0 -1
- package/dist/CalendarApp-C1HvuJoa.cjs +0 -1
- package/dist/CalendarApp-DBEQqsS_.js +0 -1721
- package/dist/Center-T4No_FAa.cjs +0 -1
- package/dist/CheckIcon-CBMLR6Gc.cjs +0 -1
- package/dist/CodeServerApp-B3l5QPuG.cjs +0 -1
- package/dist/CodeServerApp-BpeALSaX.js +0 -2
- package/dist/CodeServerApp-CRjCngFv.cjs +0 -1
- package/dist/ColorPicker-BL4UbKCV.cjs +0 -1
- package/dist/CreateItemApp-BU9wmjKM.cjs +0 -1
- package/dist/CreateItemApp-t9F-a6wD.cjs +0 -1
- package/dist/DeviceInfoApp-Cdju_LIB.cjs +0 -1
- package/dist/DeviceInfoApp-CyB01v4D.cjs +0 -1
- package/dist/DownloadProgress-IRw1dzLX.cjs +0 -1
- package/dist/FileIcon-BCrsxmtt.cjs +0 -1
- package/dist/FilePickerApp-Eu0cr2Cm.cjs +0 -1
- package/dist/FilesApp-30OjnOuP.cjs +0 -1
- package/dist/FilesApp-BvlzPNuO.cjs +0 -1
- package/dist/Group-DhwePB84.cjs +0 -1
- package/dist/ImageViewerApp-BOz59TGc.cjs +0 -1
- package/dist/ImageViewerApp-BeqY6voE.cjs +0 -1
- package/dist/ImageViewerApp-DBAfJPSo.js +0 -2
- package/dist/ImageViewerMenuBar-Cb0Nr5-M.js +0 -2
- package/dist/ImageViewerMenuBar-CoEp0RxK.cjs +0 -1
- package/dist/ImageViewerMenuBar-zOkJtqKo.cjs +0 -1
- package/dist/MenuEditApp-BoKtj2GH.js +0 -2
- package/dist/MenuEditApp-D21sEp86.js +0 -2615
- package/dist/MenuEditApp-k3cPfTG9.cjs +0 -1
- package/dist/MenuEditApp-sz9GlLVH.cjs +0 -5
- package/dist/MenuEditMenuBar-6QxlIDpl.cjs +0 -1
- package/dist/MenuEditMenuBar-Bv6R42lf.js +0 -2
- package/dist/MenuEditMenuBar-CBsmH_-T.cjs +0 -1
- package/dist/NotesApp-BtR55Hva.cjs +0 -207
- package/dist/NotesApp-C59exz_9.js +0 -16154
- package/dist/NotesApp-D47I5LS_.js +0 -2
- package/dist/NotesApp-lOwsi2sg.cjs +0 -1
- package/dist/NotesMenuBar-BZITC74y.cjs +0 -1
- package/dist/NotesMenuBar-Bp0sPqyR.cjs +0 -1
- package/dist/NotesMenuBar-xlfODmMA.js +0 -2
- package/dist/Paper-DwCpwWwH.cjs +0 -1
- package/dist/PdfApp-1XbFGfoY.cjs +0 -1
- package/dist/PdfApp-BhIoJWeK.cjs +0 -1
- package/dist/PdfApp-C5Rt1Zaw.js +0 -2
- package/dist/PdfApp-C8Hwxxqh.js +0 -38
- package/dist/PdfMenuBar-BA9rKuMP.cjs +0 -1
- package/dist/PdfMenuBar-JXHqwxhZ.cjs +0 -1
- package/dist/PdfMenuBar-R0fu7oYF.js +0 -2
- package/dist/PdfMenuBar-sd-9Vk3h.js +0 -38
- package/dist/SettingsApp-BA-5B4RA.cjs +0 -1
- package/dist/SettingsApp-B_rev1xh.cjs +0 -1
- package/dist/SettingsApp-Ck4aUXs5.js +0 -2
- package/dist/SettingsApp-DUMKSA3K.js +0 -2425
- package/dist/SettingsMenuBar-BPwv8JQK.js +0 -41
- package/dist/SettingsMenuBar-D8R7hOik.js +0 -2
- package/dist/SettingsMenuBar-DDrjZLmg.cjs +0 -1
- package/dist/SettingsMenuBar-DQjUa8g1.cjs +0 -1
- package/dist/Slider-Bg_EIBg6.cjs +0 -1
- package/dist/Stack-BOaJgV3N.cjs +0 -1
- package/dist/StorybookApp-Bkr-7mXp.cjs +0 -1
- package/dist/TerminalApp-8XbsKAWa.js +0 -10041
- package/dist/TerminalApp-Bq2e7QQu.cjs +0 -1
- package/dist/TerminalApp-CVu3Axc9.js +0 -2
- package/dist/TerminalApp-b7_d0jRO.cjs +0 -36
- package/dist/TerminalMenuBar-Cb8x9laS.js +0 -2
- package/dist/TerminalMenuBar-De-FH5AE.cjs +0 -1
- package/dist/TerminalMenuBar-yOaWd-hn.cjs +0 -1
- package/dist/TextInput-DcYns3hz.cjs +0 -1
- package/dist/Tooltip-CAOO-qdx.js +0 -3185
- package/dist/Tooltip-DDh_x-CB.cjs +0 -1
- package/dist/UnstyledButton-Cl5RuIid.cjs +0 -1
- package/dist/UploaderApp-BZXW75A0.cjs +0 -1
- package/dist/UploaderApp-CPpStgP5.cjs +0 -1
- package/dist/UploaderApp-DHsMQN-f.js +0 -2
- package/dist/VscIcon-CxEmqD80.cjs +0 -1
- package/dist/chunk-BQCxAhux.js +0 -23
- package/dist/chunk-CiTBaPhY.cjs +0 -1
- package/dist/create-safe-context-95P-Bfg3.cjs +0 -1
- package/dist/desktopStore-Cox-Og1z.cjs +0 -1
- package/dist/fc-DejOsQyD.cjs +0 -1
- package/dist/fc-kd8WzIER.js +0 -20536
- package/dist/fc-xJ_v2ayq.cjs +0 -184
- package/dist/fi-BahYsbim.js +0 -9993
- package/dist/fi-BkhyTcZo.cjs +0 -1
- package/dist/getRuntime-BLXyQZBB.cjs +0 -1
- package/dist/iconBase-B4UCuSvv.cjs +0 -1
- package/dist/iconBase-D7iPes7B.js +0 -108
- package/dist/imageViewerStore-CH1qW6md.cjs +0 -1
- package/dist/is-element-BocgicRg.cjs +0 -1
- package/dist/menuEditStore-CU7IAg3L.cjs +0 -1
- package/dist/notesStore-zKmChTfF.cjs +0 -1
- package/dist/react-DYmzHD0X.js +0 -27
- package/dist/react-Dldg32sN.cjs +0 -1
- package/dist/settingsAppStore-BrlImdAH.cjs +0 -1
- package/dist/terminalStore-fZe5t7Ty.cjs +0 -1
- package/dist/use-merged-ref-BI9n1hUK.cjs +0 -1
- package/dist/use-uncontrolled-BPrfGv0W.cjs +0 -1
- package/dist/useAdaptiveDimensions-Btp0m5Pm.cjs +0 -1
- package/dist/useCloseInterceptor-a_6Lcuqj.cjs +0 -1
- package/dist/useDynamicIcon-SytdL1Tu.cjs +0 -1
- package/dist/useOpenApp-BdarhIgl.cjs +0 -1
- package/dist/useResolvedUrl-Be5ZlCX7.cjs +0 -1
- package/dist/useTranslation-DMRGdqZi.js +0 -279
- package/dist/useTranslation-D_O7S4RJ.cjs +0 -1
- package/dist/vsc-Ciibqbxo.cjs +0 -1
- package/dist/vsc-DGKSpOAR.js +0 -9574
- /package/dist/{Colors-hca6raEG.js → Colors-ClnDxnyA.js} +0 -0
- /package/dist/{Colors-BxX4G8kX.cjs → Colors-zP2AFgU3.cjs} +0 -0
- /package/dist/{useMenuBarUtils-Bp5PiztD.cjs → useMenuBarUtils-nJIPJGIQ.cjs} +0 -0
- /package/dist/{useMenuBarUtils-ChmpZjwu.js → useMenuBarUtils-nmu9yehT.js} +0 -0
|
@@ -1,36 +1,37 @@
|
|
|
1
1
|
import { createContext as e, use as t, useId as n, useMemo as r } from "react";
|
|
2
2
|
import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
3
|
+
import s from "clsx";
|
|
3
4
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/keys/keys.mjs
|
|
4
|
-
function
|
|
5
|
+
function c(e) {
|
|
5
6
|
return Object.keys(e);
|
|
6
7
|
}
|
|
7
8
|
//#endregion
|
|
8
9
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/deep-merge/deep-merge.mjs
|
|
9
|
-
function
|
|
10
|
+
function l(e) {
|
|
10
11
|
return e && typeof e == "object" && !Array.isArray(e);
|
|
11
12
|
}
|
|
12
|
-
function
|
|
13
|
+
function u(e, t) {
|
|
13
14
|
let n = { ...e }, r = t;
|
|
14
|
-
return
|
|
15
|
-
|
|
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];
|
|
16
17
|
}), n;
|
|
17
18
|
}
|
|
18
19
|
//#endregion
|
|
19
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
|
|
20
|
-
function
|
|
21
|
+
function d(e) {
|
|
21
22
|
return e.replace(/[A-Z]/g, (e) => `-${e.toLowerCase()}`);
|
|
22
23
|
}
|
|
23
24
|
//#endregion
|
|
24
25
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/units-converters/rem.mjs
|
|
25
|
-
function
|
|
26
|
+
function f(e) {
|
|
26
27
|
return e === "0rem" ? "0rem" : `calc(${e} * var(--mantine-scale))`;
|
|
27
28
|
}
|
|
28
|
-
function
|
|
29
|
+
function p(e, { shouldScale: t = !1 } = {}) {
|
|
29
30
|
function n(r) {
|
|
30
31
|
if (r === 0 || r === "0") return `0${e}`;
|
|
31
32
|
if (typeof r == "number") {
|
|
32
33
|
let n = `${r / 16}${e}`;
|
|
33
|
-
return t ?
|
|
34
|
+
return t ? f(n) : n;
|
|
34
35
|
}
|
|
35
36
|
if (typeof r == "string") {
|
|
36
37
|
if (r === "" || r.startsWith("calc(") || r.startsWith("clamp(") || r.includes("rgba(")) return r;
|
|
@@ -39,22 +40,22 @@ function f(e, { shouldScale: t = !1 } = {}) {
|
|
|
39
40
|
let i = r.replace("px", "");
|
|
40
41
|
if (!Number.isNaN(Number(i))) {
|
|
41
42
|
let n = `${Number(i) / 16}${e}`;
|
|
42
|
-
return t ?
|
|
43
|
+
return t ? f(n) : n;
|
|
43
44
|
}
|
|
44
45
|
}
|
|
45
46
|
return r;
|
|
46
47
|
}
|
|
47
48
|
return n;
|
|
48
49
|
}
|
|
49
|
-
var
|
|
50
|
+
var m = p("rem", { shouldScale: !0 }), h = p("em");
|
|
50
51
|
//#endregion
|
|
51
52
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/filter-props/filter-props.mjs
|
|
52
|
-
function
|
|
53
|
+
function g(e) {
|
|
53
54
|
return Object.keys(e).reduce((t, n) => (e[n] !== void 0 && (t[n] = e[n]), t), {});
|
|
54
55
|
}
|
|
55
56
|
//#endregion
|
|
56
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
|
|
57
|
-
function
|
|
58
|
+
function _(e) {
|
|
58
59
|
if (typeof e == "number") return !0;
|
|
59
60
|
if (typeof e == "string") {
|
|
60
61
|
if (e.startsWith("calc(") || e.startsWith("var(") || e.includes(" ") && e.trim() !== "") return !0;
|
|
@@ -65,68 +66,53 @@ function g(e) {
|
|
|
65
66
|
}
|
|
66
67
|
//#endregion
|
|
67
68
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/get-size/get-size.mjs
|
|
68
|
-
function
|
|
69
|
-
if (e !== void 0) return
|
|
70
|
-
}
|
|
71
|
-
function v(e) {
|
|
72
|
-
return _(e, "mantine-spacing");
|
|
69
|
+
function v(e, t = "size", n = !0) {
|
|
70
|
+
if (e !== void 0) return _(e) ? n ? m(e) : e : `var(--${t}-${e})`;
|
|
73
71
|
}
|
|
74
72
|
function y(e) {
|
|
75
|
-
return
|
|
73
|
+
return v(e, "mantine-spacing");
|
|
76
74
|
}
|
|
77
75
|
function b(e) {
|
|
78
|
-
return
|
|
76
|
+
return e === void 0 ? "var(--mantine-radius-default)" : v(e, "mantine-radius");
|
|
79
77
|
}
|
|
80
78
|
function x(e) {
|
|
81
|
-
return
|
|
79
|
+
return v(e, "mantine-font-size");
|
|
82
80
|
}
|
|
83
81
|
function S(e) {
|
|
84
|
-
|
|
82
|
+
return v(e, "mantine-line-height", !1);
|
|
85
83
|
}
|
|
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
84
|
function C(e) {
|
|
89
|
-
return e;
|
|
85
|
+
if (e) return v(e, "mantine-shadow", !1);
|
|
90
86
|
}
|
|
91
87
|
//#endregion
|
|
92
|
-
//#region ../../node_modules/.bun
|
|
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
|
|
93
89
|
function w(e) {
|
|
94
|
-
|
|
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;
|
|
90
|
+
return e;
|
|
105
91
|
}
|
|
106
92
|
//#endregion
|
|
107
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
|
|
108
|
-
var
|
|
109
|
-
function
|
|
94
|
+
var T = {};
|
|
95
|
+
function E(e) {
|
|
110
96
|
let t = {};
|
|
111
97
|
return e.forEach((e) => {
|
|
112
98
|
Object.entries(e).forEach(([e, n]) => {
|
|
113
|
-
t[e] ? t[e] =
|
|
99
|
+
t[e] ? t[e] = s(t[e], n) : t[e] = n;
|
|
114
100
|
});
|
|
115
101
|
}), t;
|
|
116
102
|
}
|
|
117
|
-
function
|
|
118
|
-
return
|
|
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));
|
|
119
105
|
}
|
|
120
106
|
//#endregion
|
|
121
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
|
|
122
|
-
function
|
|
108
|
+
function O({ theme: e, styles: t, props: n, stylesCtx: r }) {
|
|
123
109
|
let i = Array.isArray(t) ? t : [t], a = {};
|
|
124
110
|
for (let t of i) typeof t == "function" ? Object.assign(a, t(e, n, r)) : t && Object.assign(a, t);
|
|
125
111
|
return a;
|
|
126
112
|
}
|
|
127
113
|
//#endregion
|
|
128
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
|
|
129
|
-
function
|
|
115
|
+
function k(e, t) {
|
|
130
116
|
return typeof e.primaryShade == "number" ? e.primaryShade : t === "dark" ? e.primaryShade.dark : e.primaryShade.light;
|
|
131
117
|
}
|
|
132
118
|
//#endregion
|
|
@@ -189,7 +175,7 @@ function re(e) {
|
|
|
189
175
|
a: a || 1
|
|
190
176
|
};
|
|
191
177
|
}
|
|
192
|
-
function
|
|
178
|
+
function A(e) {
|
|
193
179
|
return ee(e) ? te(e) : e.startsWith("rgb") ? ne(e) : e.startsWith("hsl") ? re(e) : {
|
|
194
180
|
r: 0,
|
|
195
181
|
g: 0,
|
|
@@ -199,31 +185,31 @@ function j(e) {
|
|
|
199
185
|
}
|
|
200
186
|
//#endregion
|
|
201
187
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/luminance/luminance.mjs
|
|
202
|
-
function
|
|
188
|
+
function j(e) {
|
|
203
189
|
return e <= .03928 ? e / 12.92 : ((e + .055) / 1.055) ** 2.4;
|
|
204
190
|
}
|
|
205
191
|
function ie(e) {
|
|
206
192
|
let t = e.match(/oklch\((.*?)%\s/);
|
|
207
193
|
return t ? parseFloat(t[1]) : null;
|
|
208
194
|
}
|
|
209
|
-
function
|
|
195
|
+
function M(e) {
|
|
210
196
|
if (e.startsWith("oklch(")) return (ie(e) || 0) / 100;
|
|
211
|
-
let { r: t, g: n, b: r } =
|
|
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);
|
|
212
198
|
return .2126 * s + .7152 * c + .0722 * l;
|
|
213
199
|
}
|
|
214
|
-
function
|
|
215
|
-
return e.startsWith("var(") ? !1 :
|
|
200
|
+
function N(e, t = .179) {
|
|
201
|
+
return e.startsWith("var(") ? !1 : M(e) > t;
|
|
216
202
|
}
|
|
217
203
|
//#endregion
|
|
218
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
|
|
219
|
-
function
|
|
205
|
+
function P({ color: e, theme: t, colorScheme: n }) {
|
|
220
206
|
if (typeof e != "string") throw Error(`[@mantine/core] Failed to parse color. Expected color to be a string, instead got ${typeof e}`);
|
|
221
207
|
if (e === "bright") return {
|
|
222
208
|
color: e,
|
|
223
209
|
value: n === "dark" ? t.white : t.black,
|
|
224
210
|
shade: void 0,
|
|
225
211
|
isThemeColor: !1,
|
|
226
|
-
isLight:
|
|
212
|
+
isLight: N(n === "dark" ? t.white : t.black, t.luminanceThreshold),
|
|
227
213
|
variable: "--mantine-color-bright"
|
|
228
214
|
};
|
|
229
215
|
if (e === "dimmed") return {
|
|
@@ -231,7 +217,7 @@ function F({ color: e, theme: t, colorScheme: n }) {
|
|
|
231
217
|
value: n === "dark" ? t.colors.dark[2] : t.colors.gray[7],
|
|
232
218
|
shade: void 0,
|
|
233
219
|
isThemeColor: !1,
|
|
234
|
-
isLight:
|
|
220
|
+
isLight: N(n === "dark" ? t.colors.dark[2] : t.colors.gray[6], t.luminanceThreshold),
|
|
235
221
|
variable: "--mantine-color-dimmed"
|
|
236
222
|
};
|
|
237
223
|
if (e === "white" || e === "black") return {
|
|
@@ -239,18 +225,18 @@ function F({ color: e, theme: t, colorScheme: n }) {
|
|
|
239
225
|
value: e === "white" ? t.white : t.black,
|
|
240
226
|
shade: void 0,
|
|
241
227
|
isThemeColor: !1,
|
|
242
|
-
isLight:
|
|
228
|
+
isLight: N(e === "white" ? t.white : t.black, t.luminanceThreshold),
|
|
243
229
|
variable: `--mantine-color-${e}`
|
|
244
230
|
};
|
|
245
231
|
let [r, i] = e.split("."), a = i ? Number(i) : void 0, o = r in t.colors;
|
|
246
232
|
if (o) {
|
|
247
|
-
let e = a === void 0 ? t.colors[r][
|
|
233
|
+
let e = a === void 0 ? t.colors[r][k(t, n || "light")] : t.colors[r][a];
|
|
248
234
|
return {
|
|
249
235
|
color: r,
|
|
250
236
|
value: e,
|
|
251
237
|
shade: a,
|
|
252
238
|
isThemeColor: o,
|
|
253
|
-
isLight:
|
|
239
|
+
isLight: N(e, t.luminanceThreshold),
|
|
254
240
|
variable: i ? `--mantine-color-${r}-${a}` : `--mantine-color-${r}-filled`
|
|
255
241
|
};
|
|
256
242
|
}
|
|
@@ -258,15 +244,15 @@ function F({ color: e, theme: t, colorScheme: n }) {
|
|
|
258
244
|
color: e,
|
|
259
245
|
value: e,
|
|
260
246
|
isThemeColor: o,
|
|
261
|
-
isLight:
|
|
247
|
+
isLight: N(e, t.luminanceThreshold),
|
|
262
248
|
shade: a,
|
|
263
249
|
variable: void 0
|
|
264
250
|
};
|
|
265
251
|
}
|
|
266
252
|
//#endregion
|
|
267
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
|
|
268
|
-
function
|
|
269
|
-
let n =
|
|
254
|
+
function F(e, t) {
|
|
255
|
+
let n = P({
|
|
270
256
|
color: e || t.primaryColor,
|
|
271
257
|
theme: t
|
|
272
258
|
});
|
|
@@ -274,32 +260,32 @@ function I(e, t) {
|
|
|
274
260
|
}
|
|
275
261
|
//#endregion
|
|
276
262
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/darken/darken.mjs
|
|
277
|
-
function
|
|
263
|
+
function I(e, t) {
|
|
278
264
|
if (e.startsWith("var(")) return `color-mix(in srgb, ${e}, black ${t * 100}%)`;
|
|
279
|
-
let { r: n, g: r, b: i, a } =
|
|
265
|
+
let { r: n, g: r, b: i, a } = A(e), o = 1 - t, s = (e) => Math.round(e * o);
|
|
280
266
|
return `rgba(${s(n)}, ${s(r)}, ${s(i)}, ${a})`;
|
|
281
267
|
}
|
|
282
268
|
//#endregion
|
|
283
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
|
|
284
|
-
function
|
|
270
|
+
function L(e, t) {
|
|
285
271
|
let n = {
|
|
286
272
|
from: e?.from || t.defaultGradient.from,
|
|
287
273
|
to: e?.to || t.defaultGradient.to,
|
|
288
274
|
deg: e?.deg ?? t.defaultGradient.deg ?? 0
|
|
289
|
-
}, r =
|
|
275
|
+
}, r = F(n.from, t), i = F(n.to, t);
|
|
290
276
|
return `linear-gradient(${n.deg}deg, ${r} 0%, ${i} 100%)`;
|
|
291
277
|
}
|
|
292
278
|
//#endregion
|
|
293
279
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/rgba/rgba.mjs
|
|
294
|
-
function
|
|
280
|
+
function R(e, t) {
|
|
295
281
|
if (typeof e != "string" || t > 1 || t < 0) return "rgba(0, 0, 0, 1)";
|
|
296
282
|
if (e.startsWith("var(")) return `color-mix(in srgb, ${e}, transparent ${(1 - t) * 100}%)`;
|
|
297
283
|
if (e.startsWith("oklch")) return e.includes("/") ? e.replace(/\/\s*[\d.]+\s*\)/, `/ ${t})`) : e.replace(")", ` / ${t})`);
|
|
298
|
-
let { r: n, g: r, b: i } =
|
|
284
|
+
let { r: n, g: r, b: i } = A(e);
|
|
299
285
|
return `rgba(${n}, ${r}, ${i}, ${t})`;
|
|
300
286
|
}
|
|
301
|
-
var ae =
|
|
302
|
-
let a =
|
|
287
|
+
var ae = R, oe = ({ color: e, theme: t, variant: n, gradient: r, autoContrast: i }) => {
|
|
288
|
+
let a = P({
|
|
303
289
|
color: e,
|
|
304
290
|
theme: t
|
|
305
291
|
}), o = typeof i == "boolean" ? i : t.autoContrast;
|
|
@@ -315,17 +301,17 @@ var ae = z, oe = ({ color: e, theme: t, variant: n, gradient: r, autoContrast: i
|
|
|
315
301
|
background: `var(--mantine-color-${e}-filled)`,
|
|
316
302
|
hover: `var(--mantine-color-${e}-filled-hover)`,
|
|
317
303
|
color: t,
|
|
318
|
-
border: `${
|
|
304
|
+
border: `${m(1)} solid transparent`
|
|
319
305
|
} : {
|
|
320
306
|
background: `var(--mantine-color-${a.color}-${a.shade})`,
|
|
321
307
|
hover: `var(--mantine-color-${a.color}-${a.shade === 9 ? 8 : a.shade + 1})`,
|
|
322
308
|
color: t,
|
|
323
|
-
border: `${
|
|
309
|
+
border: `${m(1)} solid transparent`
|
|
324
310
|
} : {
|
|
325
311
|
background: e,
|
|
326
|
-
hover:
|
|
312
|
+
hover: I(e, .1),
|
|
327
313
|
color: t,
|
|
328
|
-
border: `${
|
|
314
|
+
border: `${m(1)} solid transparent`
|
|
329
315
|
};
|
|
330
316
|
}
|
|
331
317
|
if (n === "light") {
|
|
@@ -334,38 +320,38 @@ var ae = z, oe = ({ color: e, theme: t, variant: n, gradient: r, autoContrast: i
|
|
|
334
320
|
background: `var(--mantine-color-${e}-light)`,
|
|
335
321
|
hover: `var(--mantine-color-${e}-light-hover)`,
|
|
336
322
|
color: `var(--mantine-color-${e}-light-color)`,
|
|
337
|
-
border: `${
|
|
323
|
+
border: `${m(1)} solid transparent`
|
|
338
324
|
};
|
|
339
325
|
let n = t.colors[a.color][a.shade];
|
|
340
326
|
return {
|
|
341
327
|
background: n,
|
|
342
|
-
hover:
|
|
328
|
+
hover: I(n, .1),
|
|
343
329
|
color: `var(--mantine-color-${a.color}-light-color)`,
|
|
344
|
-
border: `${
|
|
330
|
+
border: `${m(1)} solid transparent`
|
|
345
331
|
};
|
|
346
332
|
}
|
|
347
333
|
return {
|
|
348
334
|
background: e,
|
|
349
|
-
hover:
|
|
350
|
-
color:
|
|
351
|
-
border: `${
|
|
335
|
+
hover: I(e, .1),
|
|
336
|
+
color: N(e) ? "var(--mantine-color-black)" : "var(--mantine-color-white)",
|
|
337
|
+
border: `${m(1)} solid transparent`
|
|
352
338
|
};
|
|
353
339
|
}
|
|
354
340
|
if (n === "outline") return a.isThemeColor ? a.shade === void 0 ? {
|
|
355
341
|
background: "transparent",
|
|
356
342
|
hover: `var(--mantine-color-${e}-outline-hover)`,
|
|
357
343
|
color: `var(--mantine-color-${e}-outline)`,
|
|
358
|
-
border: `${
|
|
344
|
+
border: `${m(1)} solid var(--mantine-color-${e}-outline)`
|
|
359
345
|
} : {
|
|
360
346
|
background: "transparent",
|
|
361
|
-
hover:
|
|
347
|
+
hover: R(t.colors[a.color][a.shade], .05),
|
|
362
348
|
color: `var(--mantine-color-${a.color}-${a.shade})`,
|
|
363
|
-
border: `${
|
|
349
|
+
border: `${m(1)} solid var(--mantine-color-${a.color}-${a.shade})`
|
|
364
350
|
} : {
|
|
365
351
|
background: "transparent",
|
|
366
|
-
hover:
|
|
352
|
+
hover: R(e, .05),
|
|
367
353
|
color: e,
|
|
368
|
-
border: `${
|
|
354
|
+
border: `${m(1)} solid ${e}`
|
|
369
355
|
};
|
|
370
356
|
if (n === "subtle") {
|
|
371
357
|
if (a.isThemeColor) {
|
|
@@ -373,97 +359,97 @@ var ae = z, oe = ({ color: e, theme: t, variant: n, gradient: r, autoContrast: i
|
|
|
373
359
|
background: "transparent",
|
|
374
360
|
hover: `var(--mantine-color-${e}-light-hover)`,
|
|
375
361
|
color: `var(--mantine-color-${e}-light-color)`,
|
|
376
|
-
border: `${
|
|
362
|
+
border: `${m(1)} solid transparent`
|
|
377
363
|
};
|
|
378
364
|
let n = t.colors[a.color][a.shade];
|
|
379
365
|
return {
|
|
380
366
|
background: "transparent",
|
|
381
|
-
hover:
|
|
367
|
+
hover: R(n, .12),
|
|
382
368
|
color: `var(--mantine-color-${a.color}-${Math.min(a.shade, 6)})`,
|
|
383
|
-
border: `${
|
|
369
|
+
border: `${m(1)} solid transparent`
|
|
384
370
|
};
|
|
385
371
|
}
|
|
386
372
|
return {
|
|
387
373
|
background: "transparent",
|
|
388
|
-
hover:
|
|
374
|
+
hover: R(e, .12),
|
|
389
375
|
color: e,
|
|
390
|
-
border: `${
|
|
376
|
+
border: `${m(1)} solid transparent`
|
|
391
377
|
};
|
|
392
378
|
}
|
|
393
379
|
return n === "transparent" ? a.isThemeColor ? a.shade === void 0 ? {
|
|
394
380
|
background: "transparent",
|
|
395
381
|
hover: "transparent",
|
|
396
382
|
color: `var(--mantine-color-${e}-light-color)`,
|
|
397
|
-
border: `${
|
|
383
|
+
border: `${m(1)} solid transparent`
|
|
398
384
|
} : {
|
|
399
385
|
background: "transparent",
|
|
400
386
|
hover: "transparent",
|
|
401
387
|
color: `var(--mantine-color-${a.color}-${Math.min(a.shade, 6)})`,
|
|
402
|
-
border: `${
|
|
388
|
+
border: `${m(1)} solid transparent`
|
|
403
389
|
} : {
|
|
404
390
|
background: "transparent",
|
|
405
391
|
hover: "transparent",
|
|
406
392
|
color: e,
|
|
407
|
-
border: `${
|
|
393
|
+
border: `${m(1)} solid transparent`
|
|
408
394
|
} : n === "white" ? a.isThemeColor ? a.shade === void 0 ? {
|
|
409
395
|
background: "var(--mantine-color-white)",
|
|
410
|
-
hover:
|
|
396
|
+
hover: I(t.white, .01),
|
|
411
397
|
color: `var(--mantine-color-${e}-filled)`,
|
|
412
|
-
border: `${
|
|
398
|
+
border: `${m(1)} solid transparent`
|
|
413
399
|
} : {
|
|
414
400
|
background: "var(--mantine-color-white)",
|
|
415
|
-
hover:
|
|
401
|
+
hover: I(t.white, .01),
|
|
416
402
|
color: `var(--mantine-color-${a.color}-${a.shade})`,
|
|
417
|
-
border: `${
|
|
403
|
+
border: `${m(1)} solid transparent`
|
|
418
404
|
} : {
|
|
419
405
|
background: "var(--mantine-color-white)",
|
|
420
|
-
hover:
|
|
406
|
+
hover: I(t.white, .01),
|
|
421
407
|
color: e,
|
|
422
|
-
border: `${
|
|
408
|
+
border: `${m(1)} solid transparent`
|
|
423
409
|
} : n === "gradient" ? {
|
|
424
|
-
background:
|
|
425
|
-
hover:
|
|
410
|
+
background: L(r, t),
|
|
411
|
+
hover: L(r, t),
|
|
426
412
|
color: "var(--mantine-color-white)",
|
|
427
413
|
border: "none"
|
|
428
414
|
} : n === "default" ? {
|
|
429
415
|
background: "var(--mantine-color-default)",
|
|
430
416
|
hover: "var(--mantine-color-default-hover)",
|
|
431
417
|
color: "var(--mantine-color-default-color)",
|
|
432
|
-
border: `${
|
|
418
|
+
border: `${m(1)} solid var(--mantine-color-default-border)`
|
|
433
419
|
} : {};
|
|
434
|
-
},
|
|
435
|
-
function
|
|
436
|
-
let e = t(
|
|
420
|
+
}, z = e(null);
|
|
421
|
+
function B() {
|
|
422
|
+
let e = t(z);
|
|
437
423
|
if (!e) throw Error("[@mantine/core] MantineProvider was not found in tree");
|
|
438
424
|
return e;
|
|
439
425
|
}
|
|
440
426
|
function se() {
|
|
441
|
-
return
|
|
427
|
+
return B().cssVariablesResolver;
|
|
442
428
|
}
|
|
443
429
|
function ce() {
|
|
444
|
-
return
|
|
430
|
+
return B().classNamesPrefix;
|
|
445
431
|
}
|
|
446
|
-
function
|
|
447
|
-
return
|
|
432
|
+
function V() {
|
|
433
|
+
return B().getStyleNonce;
|
|
448
434
|
}
|
|
449
435
|
function le() {
|
|
450
|
-
return
|
|
436
|
+
return B().withStaticClasses;
|
|
451
437
|
}
|
|
452
438
|
function ue() {
|
|
453
|
-
return
|
|
439
|
+
return B().headless;
|
|
454
440
|
}
|
|
455
441
|
function de() {
|
|
456
|
-
return
|
|
442
|
+
return B().stylesTransform?.sx;
|
|
457
443
|
}
|
|
458
|
-
function
|
|
459
|
-
return
|
|
444
|
+
function H() {
|
|
445
|
+
return B().stylesTransform?.styles;
|
|
460
446
|
}
|
|
461
|
-
function
|
|
462
|
-
return
|
|
447
|
+
function fe() {
|
|
448
|
+
return B().env || "default";
|
|
463
449
|
}
|
|
464
450
|
//#endregion
|
|
465
451
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/default-colors.mjs
|
|
466
|
-
var
|
|
452
|
+
var pe = {
|
|
467
453
|
dark: [
|
|
468
454
|
"#C9C9C9",
|
|
469
455
|
"#b8b8b8",
|
|
@@ -638,7 +624,7 @@ var me = {
|
|
|
638
624
|
focusRing: "auto",
|
|
639
625
|
white: "#fff",
|
|
640
626
|
black: "#000",
|
|
641
|
-
colors:
|
|
627
|
+
colors: pe,
|
|
642
628
|
primaryShade: {
|
|
643
629
|
light: 6,
|
|
644
630
|
dark: 8
|
|
@@ -665,37 +651,37 @@ var me = {
|
|
|
665
651
|
textWrap: "wrap",
|
|
666
652
|
sizes: {
|
|
667
653
|
h1: {
|
|
668
|
-
fontSize:
|
|
654
|
+
fontSize: m(34),
|
|
669
655
|
lineHeight: "1.3"
|
|
670
656
|
},
|
|
671
657
|
h2: {
|
|
672
|
-
fontSize:
|
|
658
|
+
fontSize: m(26),
|
|
673
659
|
lineHeight: "1.35"
|
|
674
660
|
},
|
|
675
661
|
h3: {
|
|
676
|
-
fontSize:
|
|
662
|
+
fontSize: m(22),
|
|
677
663
|
lineHeight: "1.4"
|
|
678
664
|
},
|
|
679
665
|
h4: {
|
|
680
|
-
fontSize:
|
|
666
|
+
fontSize: m(18),
|
|
681
667
|
lineHeight: "1.45"
|
|
682
668
|
},
|
|
683
669
|
h5: {
|
|
684
|
-
fontSize:
|
|
670
|
+
fontSize: m(16),
|
|
685
671
|
lineHeight: "1.5"
|
|
686
672
|
},
|
|
687
673
|
h6: {
|
|
688
|
-
fontSize:
|
|
674
|
+
fontSize: m(14),
|
|
689
675
|
lineHeight: "1.5"
|
|
690
676
|
}
|
|
691
677
|
}
|
|
692
678
|
},
|
|
693
679
|
fontSizes: {
|
|
694
|
-
xs:
|
|
695
|
-
sm:
|
|
696
|
-
md:
|
|
697
|
-
lg:
|
|
698
|
-
xl:
|
|
680
|
+
xs: m(12),
|
|
681
|
+
sm: m(14),
|
|
682
|
+
md: m(16),
|
|
683
|
+
lg: m(18),
|
|
684
|
+
xl: m(20)
|
|
699
685
|
},
|
|
700
686
|
lineHeights: {
|
|
701
687
|
xs: "1.4",
|
|
@@ -710,18 +696,18 @@ var me = {
|
|
|
710
696
|
bold: "700"
|
|
711
697
|
},
|
|
712
698
|
radius: {
|
|
713
|
-
xs:
|
|
714
|
-
sm:
|
|
715
|
-
md:
|
|
716
|
-
lg:
|
|
717
|
-
xl:
|
|
699
|
+
xs: m(2),
|
|
700
|
+
sm: m(4),
|
|
701
|
+
md: m(8),
|
|
702
|
+
lg: m(16),
|
|
703
|
+
xl: m(32)
|
|
718
704
|
},
|
|
719
705
|
spacing: {
|
|
720
|
-
xs:
|
|
721
|
-
sm:
|
|
722
|
-
md:
|
|
723
|
-
lg:
|
|
724
|
-
xl:
|
|
706
|
+
xs: m(10),
|
|
707
|
+
sm: m(12),
|
|
708
|
+
md: m(16),
|
|
709
|
+
lg: m(20),
|
|
710
|
+
xl: m(32)
|
|
725
711
|
},
|
|
726
712
|
breakpoints: {
|
|
727
713
|
xs: "36em",
|
|
@@ -731,38 +717,38 @@ var me = {
|
|
|
731
717
|
xl: "88em"
|
|
732
718
|
},
|
|
733
719
|
shadows: {
|
|
734
|
-
xs: `0 ${
|
|
735
|
-
sm: `0 ${
|
|
736
|
-
md: `0 ${
|
|
737
|
-
lg: `0 ${
|
|
738
|
-
xl: `0 ${
|
|
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)}`
|
|
739
725
|
},
|
|
740
726
|
other: {},
|
|
741
727
|
components: {}
|
|
742
|
-
},
|
|
743
|
-
function
|
|
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) {
|
|
744
730
|
return e < 0 || e > 9 ? !1 : parseInt(e.toString(), 10) === e;
|
|
745
731
|
}
|
|
746
732
|
function ge(e) {
|
|
747
|
-
if (!(e.primaryColor in e.colors)) throw Error(
|
|
748
|
-
if (typeof e.primaryShade == "object" && (!
|
|
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);
|
|
749
735
|
}
|
|
750
736
|
function _e(e, t) {
|
|
751
737
|
if (!t) return ge(e), e;
|
|
752
|
-
let n =
|
|
738
|
+
let n = u(e, t);
|
|
753
739
|
return t.fontFamily && !t.headings?.fontFamily && (n.headings.fontFamily = t.fontFamily), ge(n), n;
|
|
754
740
|
}
|
|
755
741
|
//#endregion
|
|
756
742
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs
|
|
757
|
-
var
|
|
758
|
-
function
|
|
759
|
-
let e = t(
|
|
743
|
+
var K = e(null), ve = () => t(K) || W;
|
|
744
|
+
function q() {
|
|
745
|
+
let e = t(K);
|
|
760
746
|
if (!e) throw Error("@mantine/core: MantineProvider was not found in component tree, make sure you have it in your app");
|
|
761
747
|
return e;
|
|
762
748
|
}
|
|
763
749
|
function ye({ theme: e, children: t, inherit: n = !0 }) {
|
|
764
750
|
let i = ve();
|
|
765
|
-
return /* @__PURE__ */ a(
|
|
751
|
+
return /* @__PURE__ */ a(K, {
|
|
766
752
|
value: r(() => _e(n ? i : W, e), [
|
|
767
753
|
e,
|
|
768
754
|
i,
|
|
@@ -775,11 +761,11 @@ ye.displayName = "@mantine/core/MantineThemeProvider";
|
|
|
775
761
|
//#endregion
|
|
776
762
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/use-props/use-props.mjs
|
|
777
763
|
function be(e, t, n) {
|
|
778
|
-
let r =
|
|
764
|
+
let r = q(), i = r.components[e]?.defaultProps, a = typeof i == "function" ? i(r) : i;
|
|
779
765
|
return {
|
|
780
766
|
...t,
|
|
781
767
|
...a,
|
|
782
|
-
...
|
|
768
|
+
...g(n)
|
|
783
769
|
};
|
|
784
770
|
}
|
|
785
771
|
//#endregion
|
|
@@ -790,12 +776,12 @@ var xe = {
|
|
|
790
776
|
never: "mantine-focus-never"
|
|
791
777
|
};
|
|
792
778
|
function Se({ theme: e, options: t, unstyled: n }) {
|
|
793
|
-
return
|
|
779
|
+
return s(t?.focusable && !n && (e.focusClassName || xe[e.focusRing]), t?.active && !n && e.activeClassName);
|
|
794
780
|
}
|
|
795
781
|
//#endregion
|
|
796
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
|
|
797
783
|
function Ce({ selector: e, stylesCtx: t, options: n, props: r, theme: i }) {
|
|
798
|
-
return
|
|
784
|
+
return D({
|
|
799
785
|
theme: i,
|
|
800
786
|
classNames: n?.classNames,
|
|
801
787
|
props: n?.props || r,
|
|
@@ -805,7 +791,7 @@ function Ce({ selector: e, stylesCtx: t, options: n, props: r, theme: i }) {
|
|
|
805
791
|
//#endregion
|
|
806
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
|
|
807
793
|
function we({ selector: e, stylesCtx: t, theme: n, classNames: r, props: i }) {
|
|
808
|
-
return
|
|
794
|
+
return D({
|
|
809
795
|
theme: n,
|
|
810
796
|
classNames: r,
|
|
811
797
|
props: i,
|
|
@@ -834,37 +820,37 @@ function Oe({ options: e, classes: t, selector: n, unstyled: r }) {
|
|
|
834
820
|
}
|
|
835
821
|
//#endregion
|
|
836
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
|
|
837
|
-
function ke({ theme: e, options: t, themeName: n, selector: r, classNamesPrefix: i, resolvedClassNames: a, resolvedThemeClassNames: o, classes:
|
|
838
|
-
return
|
|
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({
|
|
839
825
|
theme: e,
|
|
840
826
|
options: t,
|
|
841
|
-
unstyled:
|
|
827
|
+
unstyled: l || h
|
|
842
828
|
}), o.map((e) => e[r]), Oe({
|
|
843
829
|
options: t,
|
|
844
|
-
classes:
|
|
830
|
+
classes: c,
|
|
845
831
|
selector: r,
|
|
846
|
-
unstyled:
|
|
832
|
+
unstyled: l || h
|
|
847
833
|
}), a[r], we({
|
|
848
834
|
selector: r,
|
|
849
|
-
stylesCtx:
|
|
835
|
+
stylesCtx: p,
|
|
850
836
|
theme: e,
|
|
851
|
-
classNames:
|
|
852
|
-
props:
|
|
837
|
+
classNames: g,
|
|
838
|
+
props: f
|
|
853
839
|
}), Ce({
|
|
854
840
|
selector: r,
|
|
855
|
-
stylesCtx:
|
|
841
|
+
stylesCtx: p,
|
|
856
842
|
options: t,
|
|
857
|
-
props:
|
|
843
|
+
props: f,
|
|
858
844
|
theme: e
|
|
859
845
|
}), Te({
|
|
860
|
-
rootSelector:
|
|
846
|
+
rootSelector: d,
|
|
861
847
|
selector: r,
|
|
862
|
-
className:
|
|
848
|
+
className: u
|
|
863
849
|
}), Ee({
|
|
864
850
|
selector: r,
|
|
865
|
-
classes:
|
|
866
|
-
unstyled:
|
|
867
|
-
}),
|
|
851
|
+
classes: c,
|
|
852
|
+
unstyled: l || h
|
|
853
|
+
}), m && !h && De({
|
|
868
854
|
themeName: n,
|
|
869
855
|
classNamesPrefix: i,
|
|
870
856
|
selector: r,
|
|
@@ -873,10 +859,10 @@ function ke({ theme: e, options: t, themeName: n, selector: r, classNamesPrefix:
|
|
|
873
859
|
}
|
|
874
860
|
//#endregion
|
|
875
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
|
|
876
|
-
function
|
|
862
|
+
function J({ style: e, theme: t }) {
|
|
877
863
|
return Array.isArray(e) ? e.reduce((e, n) => ({
|
|
878
864
|
...e,
|
|
879
|
-
...
|
|
865
|
+
...J({
|
|
880
866
|
style: n,
|
|
881
867
|
theme: t
|
|
882
868
|
})
|
|
@@ -888,7 +874,7 @@ function Ae({ theme: e, selector: t, options: n, props: r, stylesCtx: i, rootSel
|
|
|
888
874
|
return {
|
|
889
875
|
...c[t],
|
|
890
876
|
...s[t],
|
|
891
|
-
...!o &&
|
|
877
|
+
...!o && O({
|
|
892
878
|
theme: e,
|
|
893
879
|
styles: n?.styles,
|
|
894
880
|
props: n?.props || r,
|
|
@@ -896,7 +882,7 @@ function Ae({ theme: e, selector: t, options: n, props: r, stylesCtx: i, rootSel
|
|
|
896
882
|
})[t],
|
|
897
883
|
...l[t],
|
|
898
884
|
...a === t ? u : null,
|
|
899
|
-
...
|
|
885
|
+
...J({
|
|
900
886
|
style: n?.style,
|
|
901
887
|
theme: e
|
|
902
888
|
})
|
|
@@ -908,14 +894,14 @@ function je(e) {
|
|
|
908
894
|
return e.reduce((e, t) => (t && Object.keys(t).forEach((n) => {
|
|
909
895
|
e[n] = {
|
|
910
896
|
...e[n],
|
|
911
|
-
...
|
|
897
|
+
...g(t[n])
|
|
912
898
|
};
|
|
913
899
|
}), e), {});
|
|
914
900
|
}
|
|
915
901
|
//#endregion
|
|
916
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
|
|
917
903
|
function Me({ props: e, stylesCtx: t, themeName: n, theme: r }) {
|
|
918
|
-
let i =
|
|
904
|
+
let i = H()?.();
|
|
919
905
|
return {
|
|
920
906
|
getTransformedStyles: (a) => i ? [...a.map((n) => i(n, {
|
|
921
907
|
props: e,
|
|
@@ -932,29 +918,29 @@ function Me({ props: e, stylesCtx: t, themeName: n, theme: r }) {
|
|
|
932
918
|
//#endregion
|
|
933
919
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/use-styles/use-styles.mjs
|
|
934
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 }) {
|
|
935
|
-
let p =
|
|
921
|
+
let p = q(), m = ce(), h = le(), g = ue(), _ = (Array.isArray(e) ? e : [e]).filter((e) => e), { withStylesTransform: v, getTransformedStyles: y } = Me({
|
|
936
922
|
props: n,
|
|
937
923
|
stylesCtx: r,
|
|
938
924
|
themeName: _,
|
|
939
925
|
theme: p
|
|
940
|
-
}), b =
|
|
926
|
+
}), b = D({
|
|
941
927
|
theme: p,
|
|
942
928
|
classNames: c,
|
|
943
929
|
props: n,
|
|
944
930
|
stylesCtx: r
|
|
945
|
-
}), x = _.map((e) =>
|
|
931
|
+
}), x = _.map((e) => D({
|
|
946
932
|
theme: p,
|
|
947
933
|
classNames: p.components[e]?.classNames,
|
|
948
934
|
props: n,
|
|
949
935
|
stylesCtx: r
|
|
950
|
-
})), S = v ? {} :
|
|
936
|
+
})), S = v ? {} : O({
|
|
951
937
|
theme: p,
|
|
952
938
|
styles: l,
|
|
953
939
|
props: n,
|
|
954
940
|
stylesCtx: r
|
|
955
941
|
}), C = {};
|
|
956
942
|
if (!v) for (let e of _) {
|
|
957
|
-
let t =
|
|
943
|
+
let t = O({
|
|
958
944
|
theme: p,
|
|
959
945
|
styles: p.components[e]?.styles,
|
|
960
946
|
props: n,
|
|
@@ -969,7 +955,7 @@ function Ne({ name: e, classes: t, props: n, stylesCtx: r, className: i, style:
|
|
|
969
955
|
g ? {} : d?.(p, n, r),
|
|
970
956
|
..._.map((e) => p.components?.[e]?.vars?.(p, n, r)),
|
|
971
957
|
u?.(p, n, r)
|
|
972
|
-
]), T =
|
|
958
|
+
]), T = J({
|
|
973
959
|
style: a,
|
|
974
960
|
theme: p
|
|
975
961
|
});
|
|
@@ -1010,19 +996,19 @@ function Ne({ name: e, classes: t, props: n, stylesCtx: r, className: i, style:
|
|
|
1010
996
|
}
|
|
1011
997
|
//#endregion
|
|
1012
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
|
|
1013
|
-
function
|
|
1014
|
-
return
|
|
999
|
+
function Y(e) {
|
|
1000
|
+
return c(e).reduce((t, n) => e[n] === void 0 ? t : `${t}${d(n)}:${e[n]};`, "").trim();
|
|
1015
1001
|
}
|
|
1016
1002
|
//#endregion
|
|
1017
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
|
|
1018
1004
|
function Pe({ selector: e, styles: t, media: n, container: r }) {
|
|
1019
|
-
let i = t ?
|
|
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)}}}`) : [];
|
|
1020
1006
|
return `${i ? `${e}{${i}}` : ""}${a.join("")}${o.join("")}`.trim();
|
|
1021
1007
|
}
|
|
1022
1008
|
//#endregion
|
|
1023
1009
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/InlineStyles/InlineStyles.mjs
|
|
1024
1010
|
function Fe(e) {
|
|
1025
|
-
let t =
|
|
1011
|
+
let t = V();
|
|
1026
1012
|
return /* @__PURE__ */ a("style", {
|
|
1027
1013
|
"data-mantine-styles": "inline",
|
|
1028
1014
|
nonce: t?.(),
|
|
@@ -1032,9 +1018,9 @@ function Fe(e) {
|
|
|
1032
1018
|
//#endregion
|
|
1033
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
|
|
1034
1020
|
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:
|
|
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;
|
|
1036
1022
|
return {
|
|
1037
|
-
styleProps:
|
|
1023
|
+
styleProps: g({
|
|
1038
1024
|
m: t,
|
|
1039
1025
|
mx: n,
|
|
1040
1026
|
my: r,
|
|
@@ -1049,7 +1035,7 @@ function Ie(e) {
|
|
|
1049
1035
|
p: f,
|
|
1050
1036
|
px: p,
|
|
1051
1037
|
py: m,
|
|
1052
|
-
pt:
|
|
1038
|
+
pt: h,
|
|
1053
1039
|
pb: _,
|
|
1054
1040
|
pl: v,
|
|
1055
1041
|
pr: y,
|
|
@@ -1062,40 +1048,40 @@ function Ie(e) {
|
|
|
1062
1048
|
c: D,
|
|
1063
1049
|
opacity: O,
|
|
1064
1050
|
ff: k,
|
|
1065
|
-
fz:
|
|
1066
|
-
fw:
|
|
1067
|
-
lts:
|
|
1068
|
-
ta:
|
|
1069
|
-
lh:
|
|
1051
|
+
fz: ee,
|
|
1052
|
+
fw: te,
|
|
1053
|
+
lts: ne,
|
|
1054
|
+
ta: re,
|
|
1055
|
+
lh: A,
|
|
1070
1056
|
fs: j,
|
|
1071
|
-
tt:
|
|
1072
|
-
td:
|
|
1057
|
+
tt: ie,
|
|
1058
|
+
td: M,
|
|
1073
1059
|
w: N,
|
|
1074
1060
|
miw: P,
|
|
1075
1061
|
maw: F,
|
|
1076
1062
|
h: I,
|
|
1077
1063
|
mih: L,
|
|
1078
1064
|
mah: R,
|
|
1079
|
-
bgsz:
|
|
1080
|
-
bgp:
|
|
1081
|
-
bgr:
|
|
1065
|
+
bgsz: ae,
|
|
1066
|
+
bgp: oe,
|
|
1067
|
+
bgr: z,
|
|
1082
1068
|
bga: B,
|
|
1083
|
-
pos:
|
|
1084
|
-
top:
|
|
1085
|
-
left:
|
|
1086
|
-
bottom:
|
|
1087
|
-
right:
|
|
1088
|
-
inset:
|
|
1089
|
-
display:
|
|
1069
|
+
pos: se,
|
|
1070
|
+
top: ce,
|
|
1071
|
+
left: V,
|
|
1072
|
+
bottom: le,
|
|
1073
|
+
right: ue,
|
|
1074
|
+
inset: de,
|
|
1075
|
+
display: H,
|
|
1090
1076
|
flex: fe,
|
|
1091
1077
|
bdrs: T,
|
|
1092
1078
|
hiddenFrom: pe,
|
|
1093
|
-
visibleFrom:
|
|
1094
|
-
lightHidden:
|
|
1095
|
-
darkHidden:
|
|
1096
|
-
sx:
|
|
1079
|
+
visibleFrom: U,
|
|
1080
|
+
lightHidden: W,
|
|
1081
|
+
darkHidden: me,
|
|
1082
|
+
sx: he
|
|
1097
1083
|
}),
|
|
1098
|
-
rest:
|
|
1084
|
+
rest: G
|
|
1099
1085
|
};
|
|
1100
1086
|
}
|
|
1101
1087
|
//#endregion
|
|
@@ -1320,27 +1306,27 @@ var Le = {
|
|
|
1320
1306
|
};
|
|
1321
1307
|
//#endregion
|
|
1322
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
|
|
1323
|
-
function
|
|
1324
|
-
let n =
|
|
1309
|
+
function X(e, t) {
|
|
1310
|
+
let n = P({
|
|
1325
1311
|
color: e,
|
|
1326
1312
|
theme: t
|
|
1327
1313
|
});
|
|
1328
1314
|
return n.color === "dimmed" ? "var(--mantine-color-dimmed)" : n.color === "bright" ? "var(--mantine-color-bright)" : n.variable ? `var(${n.variable})` : n.color;
|
|
1329
1315
|
}
|
|
1330
1316
|
function Re(e, t) {
|
|
1331
|
-
let n =
|
|
1317
|
+
let n = P({
|
|
1332
1318
|
color: e,
|
|
1333
1319
|
theme: t
|
|
1334
1320
|
});
|
|
1335
|
-
return n.isThemeColor && n.shade === void 0 ? `var(--mantine-color-${n.color}-text)` :
|
|
1321
|
+
return n.isThemeColor && n.shade === void 0 ? `var(--mantine-color-${n.color}-text)` : X(e, t);
|
|
1336
1322
|
}
|
|
1337
1323
|
//#endregion
|
|
1338
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
|
|
1339
1325
|
function ze(e, t) {
|
|
1340
|
-
if (typeof e == "number") return
|
|
1326
|
+
if (typeof e == "number") return m(e);
|
|
1341
1327
|
if (typeof e == "string") {
|
|
1342
|
-
let [n, r, ...i] = e.split(" ").filter((e) => e.trim() !== ""), a = `${
|
|
1343
|
-
return r && (a += ` ${r}`), i.length > 0 && (a += ` ${
|
|
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();
|
|
1344
1330
|
}
|
|
1345
1331
|
return e;
|
|
1346
1332
|
}
|
|
@@ -1367,7 +1353,7 @@ var He = [
|
|
|
1367
1353
|
"h6"
|
|
1368
1354
|
];
|
|
1369
1355
|
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" ?
|
|
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;
|
|
1371
1357
|
}
|
|
1372
1358
|
//#endregion
|
|
1373
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
|
|
@@ -1390,20 +1376,20 @@ function Ke(e, t) {
|
|
|
1390
1376
|
//#endregion
|
|
1391
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
|
|
1392
1378
|
function qe(e, t) {
|
|
1393
|
-
return typeof e == "string" && e in t.radius ? `var(--mantine-radius-${e})` : typeof e == "number" || typeof e == "string" ?
|
|
1379
|
+
return typeof e == "string" && e in t.radius ? `var(--mantine-radius-${e})` : typeof e == "number" || typeof e == "string" ? m(e) : e;
|
|
1394
1380
|
}
|
|
1395
1381
|
//#endregion
|
|
1396
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
|
|
1397
1383
|
function Je(e) {
|
|
1398
|
-
return typeof e == "number" ?
|
|
1384
|
+
return typeof e == "number" ? m(e) : e;
|
|
1399
1385
|
}
|
|
1400
1386
|
//#endregion
|
|
1401
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
|
|
1402
1388
|
function Ye(e, t) {
|
|
1403
|
-
if (typeof e == "number") return
|
|
1389
|
+
if (typeof e == "number") return m(e);
|
|
1404
1390
|
if (typeof e == "string") {
|
|
1405
1391
|
let n = e.replace("-", "");
|
|
1406
|
-
if (!(n in t.spacing)) return
|
|
1392
|
+
if (!(n in t.spacing)) return m(e);
|
|
1407
1393
|
let r = `--mantine-spacing-${n}`;
|
|
1408
1394
|
return e.startsWith("-") ? `calc(var(${r}) * -1)` : `var(${r})`;
|
|
1409
1395
|
}
|
|
@@ -1411,8 +1397,8 @@ function Ye(e, t) {
|
|
|
1411
1397
|
}
|
|
1412
1398
|
//#endregion
|
|
1413
1399
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/index.mjs
|
|
1414
|
-
var
|
|
1415
|
-
color:
|
|
1400
|
+
var Z = {
|
|
1401
|
+
color: X,
|
|
1416
1402
|
textColor: Re,
|
|
1417
1403
|
fontSize: Ue,
|
|
1418
1404
|
spacing: Ye,
|
|
@@ -1449,26 +1435,26 @@ function $e(e) {
|
|
|
1449
1435
|
return typeof e == "object" && e ? "base" in e ? e.base : void 0 : e;
|
|
1450
1436
|
}
|
|
1451
1437
|
function et(e) {
|
|
1452
|
-
return typeof e == "object" && e ?
|
|
1438
|
+
return typeof e == "object" && e ? c(e).filter((e) => e !== "base") : [];
|
|
1453
1439
|
}
|
|
1454
1440
|
function tt(e, t) {
|
|
1455
1441
|
return typeof e == "object" && e && t in e ? e[t] : e;
|
|
1456
1442
|
}
|
|
1457
1443
|
function nt({ styleProps: e, data: t, theme: n }) {
|
|
1458
|
-
return Ze(
|
|
1444
|
+
return Ze(c(e).reduce((r, i) => {
|
|
1459
1445
|
if (i === "hiddenFrom" || i === "visibleFrom" || i === "sx") return r;
|
|
1460
1446
|
let a = t[i], o = Array.isArray(a.property) ? a.property : [a.property], s = $e(e[i]);
|
|
1461
1447
|
if (!Qe(e[i])) return o.forEach((e) => {
|
|
1462
|
-
r.inlineStyles[e] =
|
|
1448
|
+
r.inlineStyles[e] = Z[a.type](s, n);
|
|
1463
1449
|
}), r;
|
|
1464
1450
|
r.hasResponsiveStyles = !0;
|
|
1465
1451
|
let c = et(e[i]);
|
|
1466
1452
|
return o.forEach((t) => {
|
|
1467
|
-
s != null && (r.styles[t] =
|
|
1453
|
+
s != null && (r.styles[t] = Z[a.type](s, n)), c.forEach((o) => {
|
|
1468
1454
|
let s = `(min-width: ${n.breakpoints[o]})`;
|
|
1469
1455
|
r.media[s] = {
|
|
1470
1456
|
...r.media[s],
|
|
1471
|
-
[t]:
|
|
1457
|
+
[t]: Z[a.type](tt(e[i], o), n)
|
|
1472
1458
|
};
|
|
1473
1459
|
});
|
|
1474
1460
|
}), r;
|
|
@@ -1481,23 +1467,23 @@ function nt({ styleProps: e, data: t, theme: n }) {
|
|
|
1481
1467
|
}
|
|
1482
1468
|
//#endregion
|
|
1483
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
|
|
1484
|
-
function
|
|
1470
|
+
function Q() {
|
|
1485
1471
|
return `__m__-${n().replace(/[:«»]/g, "")}`;
|
|
1486
1472
|
}
|
|
1487
1473
|
//#endregion
|
|
1488
1474
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/factory/create-polymorphic-component.mjs
|
|
1489
|
-
function
|
|
1475
|
+
function rt(e) {
|
|
1490
1476
|
return e;
|
|
1491
1477
|
}
|
|
1492
|
-
var
|
|
1478
|
+
var it = rt;
|
|
1493
1479
|
//#endregion
|
|
1494
1480
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/factory/factory.mjs
|
|
1495
|
-
function
|
|
1481
|
+
function at(e) {
|
|
1496
1482
|
return e;
|
|
1497
1483
|
}
|
|
1498
|
-
function
|
|
1484
|
+
function ot(e) {
|
|
1499
1485
|
let t = e;
|
|
1500
|
-
return t.extend =
|
|
1486
|
+
return t.extend = at, t.withProps = (e) => {
|
|
1501
1487
|
let n = (n) => /* @__PURE__ */ a(t, {
|
|
1502
1488
|
...e,
|
|
1503
1489
|
...n
|
|
@@ -1505,12 +1491,12 @@ function st(e) {
|
|
|
1505
1491
|
return n.extend = t.extend, n.displayName = `WithProps(${t.displayName})`, n;
|
|
1506
1492
|
}, t;
|
|
1507
1493
|
}
|
|
1508
|
-
function
|
|
1509
|
-
return
|
|
1494
|
+
function st(e) {
|
|
1495
|
+
return ot(e);
|
|
1510
1496
|
}
|
|
1511
1497
|
//#endregion
|
|
1512
1498
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/factory/polymorphic-factory.mjs
|
|
1513
|
-
function
|
|
1499
|
+
function ct(e) {
|
|
1514
1500
|
let t = e;
|
|
1515
1501
|
return t.withProps = (e) => {
|
|
1516
1502
|
let n = (n) => /* @__PURE__ */ a(t, {
|
|
@@ -1518,24 +1504,24 @@ function lt(e) {
|
|
|
1518
1504
|
...n
|
|
1519
1505
|
});
|
|
1520
1506
|
return n.extend = t.extend, n.displayName = `WithProps(${t.displayName})`, n;
|
|
1521
|
-
}, t.extend =
|
|
1507
|
+
}, t.extend = at, t;
|
|
1522
1508
|
}
|
|
1523
1509
|
//#endregion
|
|
1524
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
|
|
1525
|
-
function
|
|
1511
|
+
function lt(e) {
|
|
1526
1512
|
return `data-${(e.startsWith("data-") ? e.slice(5) : e).replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase()}`;
|
|
1527
1513
|
}
|
|
1528
|
-
function
|
|
1514
|
+
function ut(e) {
|
|
1529
1515
|
return Object.keys(e).reduce((t, n) => {
|
|
1530
1516
|
let r = e[n];
|
|
1531
|
-
return r === void 0 || r === "" || r === !1 || r === null || (t[
|
|
1517
|
+
return r === void 0 || r === "" || r === !1 || r === null || (t[lt(n)] = e[n]), t;
|
|
1532
1518
|
}, {});
|
|
1533
1519
|
}
|
|
1534
|
-
function
|
|
1535
|
-
return e ? typeof e == "string" ? { [
|
|
1520
|
+
function dt(e) {
|
|
1521
|
+
return e ? typeof e == "string" ? { [lt(e)]: !0 } : Array.isArray(e) ? [...e].reduce((e, t) => ({
|
|
1536
1522
|
...e,
|
|
1537
|
-
...
|
|
1538
|
-
}), {}) :
|
|
1523
|
+
...dt(t)
|
|
1524
|
+
}), {}) : ut(e) : null;
|
|
1539
1525
|
}
|
|
1540
1526
|
//#endregion
|
|
1541
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
|
|
@@ -1545,7 +1531,7 @@ function $(e, t) {
|
|
|
1545
1531
|
...$(n, t)
|
|
1546
1532
|
}), {}) : typeof e == "function" ? e(t) : e ?? {};
|
|
1547
1533
|
}
|
|
1548
|
-
function
|
|
1534
|
+
function ft({ theme: e, style: t, vars: n, styleProps: r }) {
|
|
1549
1535
|
let i = $(t, e), a = $(n, e);
|
|
1550
1536
|
return {
|
|
1551
1537
|
...i,
|
|
@@ -1555,39 +1541,39 @@ function pt({ theme: e, style: t, vars: n, styleProps: r }) {
|
|
|
1555
1541
|
}
|
|
1556
1542
|
//#endregion
|
|
1557
1543
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/Box.mjs
|
|
1558
|
-
function
|
|
1559
|
-
let
|
|
1560
|
-
styleProps:
|
|
1561
|
-
theme:
|
|
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,
|
|
1562
1548
|
data: Le
|
|
1563
1549
|
}), D = {
|
|
1564
|
-
ref:
|
|
1565
|
-
style:
|
|
1566
|
-
theme:
|
|
1550
|
+
ref: v,
|
|
1551
|
+
style: ft({
|
|
1552
|
+
theme: b,
|
|
1567
1553
|
style: t,
|
|
1568
1554
|
vars: n,
|
|
1569
1555
|
styleProps: E.inlineStyles
|
|
1570
1556
|
}),
|
|
1571
|
-
className:
|
|
1572
|
-
[
|
|
1573
|
-
"mantine-light-hidden":
|
|
1574
|
-
"mantine-dark-hidden":
|
|
1575
|
-
[`mantine-hidden-from-${
|
|
1576
|
-
[`mantine-visible-from-${
|
|
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
|
|
1577
1563
|
}),
|
|
1578
|
-
"data-variant":
|
|
1579
|
-
"data-size":
|
|
1580
|
-
size:
|
|
1581
|
-
...
|
|
1582
|
-
...
|
|
1564
|
+
"data-variant": c,
|
|
1565
|
+
"data-size": _(u) ? void 0 : u || void 0,
|
|
1566
|
+
size: g,
|
|
1567
|
+
...dt(l),
|
|
1568
|
+
...C
|
|
1583
1569
|
};
|
|
1584
1570
|
return /* @__PURE__ */ o(i, { children: [E.hasResponsiveStyles && /* @__PURE__ */ a(Fe, {
|
|
1585
|
-
selector: `.${
|
|
1571
|
+
selector: `.${T}`,
|
|
1586
1572
|
styles: E.styles,
|
|
1587
1573
|
media: E.media
|
|
1588
|
-
}), typeof
|
|
1574
|
+
}), typeof h == "function" ? h(D) : /* @__PURE__ */ a(x, { ...D })] });
|
|
1589
1575
|
}
|
|
1590
|
-
|
|
1591
|
-
var
|
|
1576
|
+
pt.displayName = "@mantine/core/Box";
|
|
1577
|
+
var mt = it(pt);
|
|
1592
1578
|
//#endregion
|
|
1593
|
-
export {
|
|
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 };
|