prosperita-dumbo-react
Version:
**Dumbo React** é uma biblioteca de componentes React que facilita a manipulação de propriedades em seus componentes. Ela fornece uma forma simples e eficiente de gerenciar e manipular props, tornando seu código mais limpo e fácil de manter.
1,632 lines (1,630 loc) • 563 kB
JavaScript
import * as ie from "react";
import ze, { useDebugValue as Ro, createElement as _i, useRef as xe, useContext as wr, useState as J, useEffect as Ve, useCallback as Q, forwardRef as Ji, useLayoutEffect as Zs, useMemo as Le, createContext as zs, Component as ou, Fragment as xi } from "react";
import { createPortal as au } from "react-dom";
const lu = localStorage.getItem("@app:activated_theme_dumbo"), Mo = lu || "banvox", mt = {
default: {
neutral: {
white: "#ffffff",
black: "#000000"
},
primary: {
10: "#dbd9de",
20: "#b8b2bd",
30: "#948c9d",
40: "#70657c",
50: "#4d3f5b",
60: "#29183a",
70: "#21132e",
80: "#190e23",
90: "#100a17",
100: "#08050c"
},
accent: {
10: "#fcebe7",
20: "#fad7d0",
30: "#f7c3b8",
40: "#f4afa0",
50: "#f29b89",
60: "#ef8771",
70: "#bf6c5a",
80: "#8f5144",
90: "#60362d",
100: "#301b17"
},
gray: {
10: "#f4f4f4",
20: "#e0e0e0",
30: "#c6c6c6",
40: "#a8a8a8",
50: "#8d8d8d",
60: "#6f6f6f",
70: "#525252",
80: "#393939",
90: "#262626",
100: "#161616"
},
coolGray: {
10: "#f2f4f8",
20: "#dde1e6",
30: "#c1c7cd",
40: "#a2a9b0",
50: "#878d96",
60: "#697077",
70: "#4d5358",
80: "#343a3f",
90: "#21272a",
100: "#121619"
},
warmGray: {
10: "#f7f3f2",
20: "#e5e0df",
30: "#cac5c4",
40: "#ada8a8",
50: "#8f8b8b",
60: "#726e6e",
70: "#565151",
80: "#3c3838",
90: "#272525",
100: "#171414"
},
success: {
10: "#e1f8ed",
20: "#c2f2db",
30: "#a4ebc9",
40: "#86e4b7",
50: "#67dea5",
60: "#49d793",
70: "#3aac76",
80: "#2c8158",
90: "#1d563b",
100: "#0f2b1d"
},
danger: {
10: "#fbe2e0",
20: "#f7c5c1",
30: "#f3a9a2",
40: "#ee8c82",
50: "#ea6f63",
60: "#e65244",
70: "#b84236",
80: "#8a3129",
90: "#5c211b",
100: "#2e100e"
},
warning: {
10: "#fcf4d6",
20: "#fddc69",
30: "#f1c21b",
40: "#d2a106",
50: "#b28600",
60: "#8e6a00",
70: "#684e00",
80: "#483700",
90: "#302400",
100: "#1c1500"
},
info: {
10: "#e5f6ff",
20: "#bae6ff",
30: "#82cfff",
40: "#33b1ff",
50: "#1192e8",
60: "#0072c3",
70: "#00539a",
80: "#003a6d",
90: "#012749",
100: "#061727"
},
yellow: {
10: "#fcf4d6",
20: "#fddc69",
30: "#f1c21b",
40: "#d2a106",
50: "#b28600",
60: "#8e6a00",
70: "#684e00",
80: "#483700",
90: "#302400",
100: "#1c1500"
},
orange: {
10: "#fff2e8",
20: "#ffd9be",
30: "#ffb784",
40: "#ff832b",
50: "#eb6200",
60: "#ba4e00",
70: "#8a3800",
80: "#5e2900",
90: "#3e1a00",
100: "#231000"
},
red: {
10: "#fff1f1",
20: "#ffd7d9",
30: "#ffb3b8",
40: "#ff8389",
50: "#fa4d56",
60: "#da1e28",
70: "#a2191f",
80: "#750e13",
90: "#520408",
100: "#2d0709"
},
magenta: {
10: "#fff0f7",
20: "#ffd6e8",
30: "#ffafd2",
40: "#ff7eb6",
50: "#ee5396",
60: "#d02670",
70: "#9f1853",
80: "#740937",
90: "#510224",
100: "#2a0a18"
},
purple: {
10: "#f6f2ff",
20: "#e8daff",
30: "#d4bbff",
40: "#be95ff",
50: "#a56eff",
60: "#8a3ffc",
70: "#6929c4",
80: "#491d8b",
90: "#31135e",
100: "#1c0f30"
},
blue: {
10: "#edf5ff",
20: "#d0e2ff",
30: "#a6c8ff",
40: "#78a9ff",
50: "#4589ff",
60: "#0f62fe",
70: "#0043ce",
80: "#002d9c",
90: "#001d6c",
100: "#001141"
},
cyan: {
10: "#e5f6ff",
20: "#bae6ff",
30: "#82cfff",
40: "#33b1ff",
50: "#1192e8",
60: "#0072c3",
70: "#00539a",
80: "#003a6d",
90: "#012749",
100: "#061727"
},
teal: {
10: "#d9fbfb",
20: "#9ef0f0",
30: "#3ddbd9",
40: "#08bdba",
50: "#009d9a",
60: "#007d79",
70: "#005d5d",
80: "#004144",
90: "#022b30",
100: "#081a1c"
},
green: {
10: "#defbe6",
20: "#a7f0ba",
30: "#6fdc8c",
40: "#42be65",
50: "#24a148",
60: "#198038",
70: "#0e6027",
80: "#044317",
90: "#022d0d",
100: "#071908"
}
},
hover: {
neutral: {
white: "#e8e8e8",
black: "#212121"
},
primary: {
10: "#cac6ce",
20: "#a69fad",
30: "#82798d",
40: "#5f526c",
50: "#4d3f5b",
60: "#3b2c4b",
70: "#251634",
80: "#1d1129",
90: "#150c1d",
100: "#08050c"
},
accent: {
10: "#fbe1dc",
20: "#f9cdc4",
30: "#f6b9ac",
40: "#f3a595",
50: "#f1917d",
60: "#d98472",
70: "#d77a66",
80: "#a75f4f",
90: "#784439",
100: "#301b17"
},
gray: {
10: "#e8e8e8",
20: "#d1d1d1",
30: "#b5b5b5",
40: "#999999",
50: "#7a7a7a",
60: "#5e5e5e",
70: "#636363",
80: "#474747",
90: "#333333",
100: "#161616"
},
coolGray: {
10: "#e4e9f1",
20: "#cdd3da",
30: "#adb5bd",
40: "#9199a1",
50: "#757b85",
60: "#585e64",
70: "#5d646a",
80: "#434a51",
90: "#2b3236",
100: "#121619"
},
warmGray: {
10: "#f0e8e6",
20: "#d8d0cf",
30: "#b9b3b1",
40: "#9c9696",
50: "#7f7b7b",
60: "#605d5d",
70: "#696363",
80: "#4c4848",
90: "#343232",
100: "#171414"
},
success: {
10: "#d2f5e4",
20: "#b3efd2",
30: "#95e8c0",
40: "#77e1ae",
50: "#58db9c",
60: "#42c285",
70: "#42c285",
80: "#339767",
90: "#256c4a",
100: "#0f2b1d"
},
danger: {
10: "#f9d4d1",
20: "#f5b7b2",
30: "#f19b92",
40: "#ec7e73",
50: "#e86154",
60: "#cf4a3d",
70: "#cf4a3d",
80: "#a13a30",
90: "#732922",
100: "#2e100e"
},
warning: {
10: "#f8e6a0",
20: "#fccd27",
30: "#ddb00e",
40: "#bc9005",
50: "#9e7700",
60: "#755800",
70: "#806000",
80: "#5c4600",
90: "#3d2e00",
100: "#1c1500"
},
info: {
10: "#cceeff",
20: "#99daff",
30: "#57beff",
40: "#059fff",
50: "#0f7ec8",
60: "#005fa3",
70: "#0066bd",
80: "#00498a",
90: "#013360",
100: "#061727"
},
yellow: {
10: "#f8e6a0",
20: "#fccd27",
30: "#ddb00e",
40: "#bc9005",
50: "#9e7700",
60: "#755800",
70: "#806000",
80: "#5c4600",
90: "#3d2e00",
100: "#332600"
},
orange: {
10: "#ffe2cc",
20: "#ffc69e",
30: "#ff9d57",
40: "#fa6800",
50: "#cc5500",
60: "#9e4200",
70: "#a84400",
80: "#753300",
90: "#522200",
100: "#421e00"
},
red: {
10: "#ffe0e0",
20: "#ffc2c5",
30: "#ff99a0",
40: "#ff6168",
50: "#ee0713",
60: "#b81922",
70: "#c21e25",
80: "#921118",
90: "#66050a",
100: "#540d11"
},
magenta: {
10: "#ffe0ef",
20: "#ffbdda",
30: "#ff94c3",
40: "#ff57a0",
50: "#e3176f",
60: "#b0215f",
70: "#bf1d63",
80: "#8e0b43",
90: "#68032e",
100: "#53142f"
},
purple: {
10: "#ede5ff",
20: "#dcc7ff",
30: "#c5a3ff",
40: "#ae7aff",
50: "#9352ff",
60: "#7822fb",
70: "#7c3dd6",
80: "#5b24ad",
90: "#40197b",
100: "#341c59"
},
blue: {
10: "#dbebff",
20: "#b8d3ff",
30: "#8ab6ff",
40: "#5c97ff",
50: "#1f70ff",
60: "#0050e6",
70: "#0053ff",
80: "#0039c7",
90: "#00258a",
100: "#001f75"
},
cyan: {
10: "#cceeff",
20: "#99daff",
30: "#57beff",
40: "#059fff",
50: "#0f7ec8",
60: "#005fa3",
70: "#0066bd",
80: "#00498a",
90: "#013360",
100: "#0b2947"
},
teal: {
10: "#acf6f6",
20: "#57e5e5",
30: "#25cac8",
40: "#07aba9",
50: "#008a87",
60: "#006b68",
70: "#007070",
80: "#005357",
90: "#033940",
100: "#0f3034"
},
green: {
10: "#b6f6c8",
20: "#74e792",
30: "#36ce5e",
40: "#3bab5a",
50: "#208e3f",
60: "#166f31",
70: "#11742f",
80: "#05521c",
90: "#033b11",
100: "#0d300f"
}
}
}, Ws = {
...mt,
default: {
...mt.default,
primary: {
10: "#dbd9de",
20: "#b8b2bd",
30: "#948c9d",
40: "#70657c",
50: "#4d3f5b",
60: "#29183a",
70: "#21132e",
80: "#190e23",
90: "#100a17",
100: "#08050c"
},
accent: {
10: "#fcebe7",
20: "#fad7d0",
30: "#f7c3b8",
40: "#f4afa0",
50: "#f29b89",
60: "#ef8771",
70: "#bf6c5a",
80: "#8f5144",
90: "#60362d",
100: "#301b17"
}
},
hover: {
...mt.hover,
primary: {
10: "#cac6ce",
20: "#a69fad",
30: "#82798d",
40: "#5f526c",
50: "#3b2c4b",
60: "#241532",
70: "#261636",
80: "#1d1129",
90: "#150c1d",
100: "#08050c"
},
accent: {
10: "#fbe1dc",
20: "#f9cdc4",
30: "#f6b9ac",
40: "#f3a595",
50: "#f1917d",
60: "#cf7562",
70: "#df7e69",
80: "#a75f4f",
90: "#784439",
100: "#301b17"
}
}
}, su = Ws, cu = {
...mt,
default: {
...mt.default,
primary: {
10: "#FDE6D7",
20: "#FBCEAF",
30: "#F9B588",
40: "#F69C60",
50: "#F48438",
60: "#F26B10",
70: "#C2560D",
80: "#91400A",
90: "#612B06",
100: "#301503"
},
accent: {
10: "#E5DEF0",
20: "#CABDE1",
30: "#B09CD2",
40: "#967AC2",
50: "#7B59B3",
60: "#6138A4",
70: "#4E2D83",
80: "#3A2262",
90: "#271642",
100: "#130B21"
}
},
hover: {
...mt.hover,
primary: {
10: "#FCDAC3",
20: "#FAC29C",
30: "#F8A974",
40: "#F5904C",
50: "#F37824",
60: "#D25D0E",
70: "#E2640F",
80: "#AA4B0C",
90: "#793608",
100: "#301503"
},
accent: {
10: "#D8CEE9",
20: "#BDADDA",
30: "#A38BCA",
40: "#896ABB",
50: "#6E49AC",
60: "#54318E",
70: "#5B3499",
80: "#442873",
90: "#311C52",
100: "#130B21"
}
}
}, uu = {
...mt,
default: {
...mt.default,
primary: {
10: "#D6E1EB",
20: "#ADC3D7",
30: "#85A5C3",
40: "#5C86AF",
50: "#33689B",
60: "#0A4A87",
70: "#083B6C",
80: "#062C51",
90: "#041E36",
100: "#020F1B"
},
accent: {
10: "#F5F1E7",
20: "#EAE2CE",
30: "#E0D4B6",
40: "#D6C69E",
50: "#CBB785",
60: "#C1A96D",
70: "#9A8757",
80: "#746541",
90: "#4D442C",
100: "#272216"
}
},
hover: {
...mt.hover,
primary: {
10: "#C2D2E1",
20: "#99B4CD",
30: "#7196B9",
40: "#4877A5",
50: "#1F5991",
60: "#094075",
70: "#09457E",
80: "#07345F",
90: "#052544",
100: "#020F1B"
},
accent: {
10: "#fbe1dc",
20: "#f9cdc4",
30: "#f6b9ac",
40: "#f3a595",
50: "#f1917d",
60: "#cf7562",
70: "#df7e69",
80: "#a75f4f",
90: "#784439",
100: "#301b17"
}
}
}, Qr = {
default: su,
prosperita: Ws,
ivipbank: cu,
banvox: uu
}, du = () => Qr[Mo] !== void 0 ? Qr[Mo] : Qr.default, Ui = du();
if (Ui === void 0)
throw new Error("Active theme is not defined");
const Ae = (e, t) => {
if (!/^#[0-9A-F]{6}$/i.test(e))
throw new Error(
"Invalid hex color format. It should be in the format #RRGGBB."
);
const n = parseInt(e.slice(1, 3), 16), i = parseInt(e.slice(3, 5), 16), r = parseInt(e.slice(5, 7), 16), a = (d, p) => Math.min(255, Math.max(0, Math.round(d * (1 + p / 100)))), l = a(n, t).toString(16).padStart(2, "0"), u = a(i, t).toString(16).padStart(2, "0"), s = a(r, t).toString(16).padStart(2, "0");
return "#" + l + u + s;
}, pu = (e) => ({
/* Background Tokens */
background: e.default.gray[100],
backgroundActive: Ae(e.default.gray[50], 40),
backgroundHover: Ae(e.hover.gray[50], 16),
backgroundSelected: Ae(e.hover.gray[50], 24),
backgroundSelectedHover: Ae(e.hover.gray[50], 32),
backgroundBrand: e.default.primary[60],
backgroundInverse: e.default.gray[10],
backgroundInverseHover: e.hover.gray[10],
/* Layer Tokens */
layer01: e.default.gray[90],
layer02: e.default.gray[80],
layer03: e.default.gray[70],
layerHover01: e.hover.gray[90],
layerHover02: e.hover.gray[80],
layerHover03: e.hover.gray[70],
layerActive01: e.default.gray[70],
layerActive02: e.default.gray[60],
layerActive03: e.default.gray[50],
layerSelected01: e.default.gray[80],
layerSelected02: e.default.gray[70],
layerSelected03: e.default.gray[60],
layerSelectedHover01: e.hover.gray[80],
layerSelectedHover02: e.hover.gray[70],
layerSelectedHover03: e.hover.gray[60],
layerSelectedInverse: e.default.gray[10],
layerSelectedDisabled: e.default.gray[60],
/* Layer accent tokens */
layerAccent01: e.default.gray[80],
layerAccent02: e.default.gray[70],
layerAccent03: e.default.gray[60],
layerAccentHover01: e.hover.gray[80],
layerAccentHover02: e.hover.gray[70],
layerAccentHover03: e.hover.gray[60],
layerAccentActive01: e.hover.gray[70],
layerAccentActive02: e.hover.gray[50],
layerAccentActive03: e.hover.gray[80],
/* Field tokens */
field01: e.default.gray[90],
field02: e.default.gray[80],
field03: e.default.gray[70],
fieldHover01: e.hover.gray[90],
fieldHover02: e.hover.gray[80],
fieldHover03: e.hover.gray[70],
/* Border Tokens */
borderSubtle00: e.default.gray[80],
borderSubtle01: e.default.gray[80],
borderSubtle02: e.default.gray[70],
borderSubtle03: e.default.gray[60],
borderSubtleSelected01: e.default.gray[70],
borderSubtleSelected02: e.default.gray[60],
borderSubtleSelected03: e.default.gray[50],
borderStrong01: e.default.gray[60],
borderStrong02: e.default.gray[50],
borderStrong03: e.default.gray[40],
borderTile01: e.default.gray[70],
borderTile02: e.default.gray[60],
borderTile03: e.default.gray[50],
borderInverse: e.default.gray[10],
borderDisabled: Ae(e.default.gray[50], 50),
borderInteractive: e.default.primary[50],
/* Text tokens */
textPrimary: e.default.gray[10],
textSecondary: e.default.gray[30],
textPlaceholder: e.default.gray[60],
textOnColor: e.default.neutral.white,
textOnColorDisabled: Ae(e.default.neutral.white, 25),
textHelper: e.default.gray[50],
textError: e.default.danger[40],
textInverse: e.default.gray[100],
textDisabled: Ae(e.default.gray[10], 25),
/* Link tokens */
linkPrimary: e.default.primary[40],
linkPrimaryHover: e.hover.primary[30],
linkSecondary: e.default.primary[30],
linkInverse: e.default.primary[60],
linkVisited: e.default.accent[40],
/* Icons tokens */
iconPrimary: e.default.gray[10],
iconSecondary: e.default.gray[30],
iconOnColor: e.default.neutral.white,
iconOnColorDisabled: Ae(e.default.neutral.white, 25),
iconInteractive: e.default.neutral.white,
iconInverse: e.default.gray[100],
iconDisabled: Ae(e.default.gray[10], 25),
/* Support tokens */
supportError: e.default.danger[50],
supportSuccess: e.default.success[40],
supportWarning: e.default.warning[30],
supportInfo: e.default.info[50],
supportErrorInverse: e.default.danger[60],
supportSuccessInverse: e.default.success[50],
supportWarningInverse: e.default.warning[30],
supportInfoInverse: e.default.info[70],
supportCautionMajor: e.default.orange[40],
supportCautionMinor: e.default.warning[30],
supportUndefined: e.default.purple[60],
/* Focus tokens */
focus: e.default.neutral.white,
focusInset: e.default.gray[100],
focusInverse: e.default.info[60],
/* Miscellaneous tokens */
interactive: e.default.primary[50],
highlight: e.default.primary[90],
toogleOff: e.default.gray[60],
overlay: Ae(e.default.gray[100], 70),
skeletonElement: e.default.gray[70],
skeletonBackground: e.hover.gray[80],
/* Button tokens */
buttonPrimary: e.default.primary[60],
buttonPrimaryHover: e.hover.primary[60],
buttonPrimaryActive: e.default.primary[80],
buttonAccent: e.default.accent[60],
buttonAccentHover: e.hover.accent[60],
buttonAccentActive: e.hover.accent[80],
buttonSecondary: e.default.gray[60],
buttonSecondaryHover: e.hover.gray[60],
buttonSecondaryActive: e.default.gray[80],
buttonTertiary: e.default.neutral.white,
buttonTertiaryHover: e.default.gray[10],
buttonTertiaryActive: e.default.gray[30],
buttonDangerPrimary: e.default.danger[60],
buttonDangerSecondary: e.default.danger[50],
buttonDangerHover: e.hover.danger[60],
buttonDangerActive: e.default.danger[80],
buttonSeparator: e.default.gray[100],
buttonDisabled: e.default.gray[70],
/* Primary Tag Tokens */
tagBackgroundPrimary: e.default.primary[70],
tagColorPrimary: e.default.primary[20],
tagHoverPrimary: e.hover.primary[70],
tagBackgroundAccent: e.default.accent[70],
tagColorAccent: e.default.accent[20],
tagHoverAccent: e.hover.accent[70],
tagBackgroundBlue: e.default.info[70],
tagColorBlue: e.default.info[20],
tagHoverBlue: e.hover.info[70],
tagBackgroundGreen: e.default.success[70],
tagColorGreen: e.default.success[20],
tagHoverGreen: e.hover.success[70],
tagBackgroundRed: e.default.danger[70],
tagColorRed: e.default.danger[20],
tagHoverRed: e.hover.danger[70],
tagBackgroundGray: e.default.gray[70],
tagColorGray: e.default.gray[20],
tagHoverGray: e.hover.gray[70],
tagBackgroundCoolGray: e.default.coolGray[70],
tagColorCoolGray: e.default.coolGray[20],
tagHoverCoolGray: e.hover.coolGray[70],
tagBackgroundWarmGray: e.default.warmGray[70],
tagColorWarmGray: e.default.warmGray[20],
tagHoverWarmGray: e.hover.warmGray[70],
/* Notification Tokens */
notificationInfoBackground: e.default.gray[90],
notificationInfoBorder: Ae(e.default.info[40], 50),
notificationSuccessBackground: e.default.gray[90],
notificationSuccessBorder: Ae(e.default.success[40], 50),
notificationErrorBackground: e.default.gray[90],
notificationErrorBorder: Ae(e.default.danger[40], 50),
notificationWarningBackground: e.default.gray[90],
notificationWarningBorder: Ae(e.default.warning[40], 50),
notificationActionHover: e.hover.gray[90],
notificationActionTertiaryInverse: e.default.primary[60],
notificationActionTertiaryInverseText: e.default.neutral.white,
notificationActionTertiaryInverseHover: e.default.primary[70],
/* Inverse white + black Tokens */
whiteInLightThemes: e.default.neutral.black,
blackInLightThemes: e.default.neutral.white
}), fu = pu(Ui), gu = (e) => ({
/* Background Tokens */
background: e.default.neutral.white,
backgroundActive: Ae(e.default.gray[50], 50),
backgroundHover: Ae(e.hover.gray[50], 12),
backgroundSelected: Ae(e.default.gray[50], 20),
backgroundSelectedHover: Ae(e.default.gray[50], 32),
backgroundBrand: e.default.primary[60],
backgroundInverse: e.default.gray[80],
backgroundInverseHover: e.hover.gray[80],
/* Layer Tokens */
layer01: e.default.gray[10],
layer02: e.default.neutral.white,
layer03: e.default.gray[10],
layerHover01: e.hover.gray[10],
layerHover02: e.hover.neutral.white,
layerHover03: e.hover.gray[10],
layerActive01: e.default.gray[30],
layerActive02: e.default.gray[30],
layerActive03: e.default.gray[30],
layerSelected01: e.default.gray[20],
layerSelected02: e.default.gray[20],
layerSelected03: e.default.gray[20],
layerSelectedHover01: e.hover.gray[20],
layerSelectedHover02: e.hover.gray[20],
layerSelectedHover03: e.hover.gray[20],
layerSelectedInverse: e.default.gray[100],
layerSelectedDisabled: e.default.gray[50],
/* Layer accent tokens */
layerAccent01: e.default.gray[20],
layerAccent02: e.default.gray[20],
layerAccent03: e.default.gray[20],
layerAccentHover01: e.hover.gray[20],
layerAccentHover02: e.hover.gray[20],
layerAccentHover03: e.hover.gray[20],
layerAccentActive01: e.hover.gray[40],
layerAccentActive02: e.hover.gray[40],
layerAccentActive03: e.hover.gray[40],
/* Field tokens */
field01: e.default.gray[10],
field02: e.default.neutral.white,
field03: e.default.gray[10],
fieldHover01: e.hover.gray[10],
fieldHover02: e.hover.neutral.white,
fieldHover03: e.hover.gray[10],
/* Border Tokens */
borderSubtle00: e.default.gray[20],
borderSubtle01: e.default.gray[30],
borderSubtle02: e.default.gray[20],
borderSubtle03: e.default.gray[30],
borderSubtleSelected01: e.default.gray[30],
borderSubtleSelected02: e.default.gray[30],
borderSubtleSelected03: e.default.gray[30],
borderStrong01: e.default.gray[50],
borderStrong02: e.default.gray[50],
borderStrong03: e.default.gray[50],
borderTile01: e.default.gray[30],
borderTile02: e.default.gray[40],
borderTile03: e.default.gray[30],
borderInverse: e.default.gray[100],
borderDisabled: e.default.gray[30],
borderInteractive: e.default.primary[60],
/* Text tokens */
textPrimary: e.default.gray[100],
textSecondary: e.default.gray[70],
textPlaceholder: e.default.gray[40],
textOnColor: e.default.neutral.white,
textOnColorDisabled: e.default.gray[50],
textHelper: e.default.gray[60],
textError: e.default.danger[60],
textInverse: e.default.neutral.white,
textDisabled: Ae(e.default.gray[100], 25),
/* Link tokens */
linkPrimary: e.default.primary[60],
linkPrimaryHover: e.hover.primary[70],
linkSecondary: e.default.primary[70],
linkInverse: e.default.primary[40],
linkVisited: e.default.accent[60],
/* Icons tokens */
iconPrimary: e.default.gray[100],
iconSecondary: e.default.gray[70],
iconOnColor: e.default.neutral.white,
iconOnColorDisabled: e.default.gray[50],
iconInteractive: e.default.primary[60],
iconInverse: e.default.neutral.white,
iconDisabled: Ae(e.default.gray[100], 25),
/* Support tokens */
supportError: e.default.danger[60],
supportSuccess: e.default.success[60],
supportWarning: e.default.warning[30],
supportInfo: e.default.info[70],
supportErrorInverse: e.default.danger[50],
supportSuccessInverse: e.default.success[40],
supportWarningInverse: e.default.warning[30],
supportInfoInverse: e.default.info[50],
supportCautionMajor: e.default.orange[40],
supportCautionMinor: e.default.warning[30],
supportUndefined: e.default.purple[60],
/* Focus tokens */
focus: e.default.info[60],
focusInset: e.default.neutral.white,
focusInverse: e.default.neutral.white,
/* Miscellaneous tokens */
interactive: e.default.primary[60],
highlight: e.default.primary[20],
toogleOff: e.default.gray[50],
overlay: e.default.gray[100],
skeletonElement: e.default.gray[30],
skeletonBackground: e.hover.gray[10],
/* Button tokens */
buttonPrimary: e.default.primary[60],
buttonPrimaryHover: e.hover.primary[60],
buttonPrimaryActive: e.default.primary[80],
buttonAccent: e.default.accent[60],
buttonAccentHover: e.hover.accent[60],
buttonAccentActive: e.hover.accent[80],
buttonSecondary: e.default.gray[80],
buttonSecondaryHover: e.hover.gray[80],
buttonSecondaryActive: e.default.gray[60],
buttonTertiary: e.default.primary[60],
buttonTertiaryHover: e.hover.primary[60],
buttonTertiaryActive: e.hover.primary[80],
buttonDangerPrimary: e.default.danger[60],
buttonDangerSecondary: e.default.danger[60],
buttonDangerHover: e.hover.danger[60],
buttonDangerActive: e.default.danger[80],
buttonSeparator: e.default.gray[20],
buttonDisabled: e.default.gray[30],
/* Primary Tag Tokens */
tagBackgroundPrimary: e.default.primary[20],
tagColorPrimary: e.default.primary[70],
tagHoverPrimary: e.hover.primary[20],
tagBackgroundAccent: e.default.accent[20],
tagColorAccent: e.default.accent[70],
tagHoverAccent: e.hover.accent[20],
tagBackgroundBlue: e.default.info[20],
tagColorBlue: e.default.info[70],
tagHoverBlue: e.hover.info[20],
tagBackgroundGreen: e.default.success[20],
tagColorGreen: e.default.success[70],
tagHoverGreen: e.hover.success[20],
tagBackgroundRed: e.default.danger[20],
tagColorRed: e.default.danger[70],
tagHoverRed: e.hover.danger[20],
tagBackgroundGray: e.default.gray[20],
tagColorGray: e.default.gray[70],
tagHoverGray: e.hover.gray[20],
tagBackgroundCoolGray: e.default.coolGray[20],
tagColorCoolGray: e.default.coolGray[70],
tagHoverCoolGray: e.hover.coolGray[20],
tagBackgroundWarmGray: e.default.warmGray[20],
tagColorWarmGray: e.default.warmGray[70],
tagHoverWarmGray: e.hover.warmGray[20],
/* Notification Tokens */
notificationInfoBackground: e.default.info[10],
notificationInfoBorder: Ae(e.default.info[60], 30),
notificationSuccessBackground: e.default.success[10],
notificationSuccessBorder: Ae(e.default.success[60], 30),
notificationErrorBackground: e.default.danger[10],
notificationErrorBorder: Ae(e.default.danger[60], 30),
notificationWarningBackground: e.default.warning[10],
notificationWarningBorder: Ae(e.default.warning[60], 30),
notificationActionHover: Ae(e.default.neutral.white, 0),
notificationActionTertiaryInverse: Ae(
e.default.neutral.white,
0
),
notificationActionTertiaryInverseText: e.default.coolGray[100],
notificationActionTertiaryInverseHover: e.hover.gray[10],
/* Inverse white + black Tokens */
whiteInLightThemes: e.default.neutral.white,
blackInLightThemes: e.default.neutral.black
}), hu = gu(Ui), Go = {
light: hu,
dark: fu
}, bu = () => {
const e = localStorage.getItem("@app:theme_dumbo"), t = String(e) || "light";
return t === "dark" || t === "light" ? Go[t] : Go.light;
}, c = bu();
if (c === void 0)
throw new Error("Contextual theme is not defined");
function mu(e) {
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
}
var Ci = { exports: {} }, pn = {};
/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var Fo;
function vu() {
if (Fo) return pn;
Fo = 1;
var e = ze, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
function l(u, s, d) {
var p, f = {}, h = null, m = null;
d !== void 0 && (h = "" + d), s.key !== void 0 && (h = "" + s.key), s.ref !== void 0 && (m = s.ref);
for (p in s) i.call(s, p) && !a.hasOwnProperty(p) && (f[p] = s[p]);
if (u && u.defaultProps) for (p in s = u.defaultProps, s) f[p] === void 0 && (f[p] = s[p]);
return { $$typeof: t, type: u, key: h, ref: m, props: f, _owner: r.current };
}
return pn.Fragment = n, pn.jsx = l, pn.jsxs = l, pn;
}
var fn = {};
/**
* @license React
* react-jsx-runtime.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var Lo;
function xu() {
return Lo || (Lo = 1, process.env.NODE_ENV !== "production" && function() {
var e = ze, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), u = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), I = Symbol.iterator, C = "@@iterator";
function x(y) {
if (y === null || typeof y != "object")
return null;
var G = I && y[I] || y[C];
return typeof G == "function" ? G : null;
}
var b = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
function S(y) {
{
for (var G = arguments.length, W = new Array(G > 1 ? G - 1 : 0), te = 1; te < G; te++)
W[te - 1] = arguments[te];
w("error", y, W);
}
}
function w(y, G, W) {
{
var te = b.ReactDebugCurrentFrame, he = te.getStackAddendum();
he !== "" && (G += "%s", W = W.concat([he]));
var ye = W.map(function(ue) {
return String(ue);
});
ye.unshift("Warning: " + G), Function.prototype.apply.call(console[y], console, ye);
}
}
var T = !1, A = !1, P = !1, E = !1, F = !1, H;
H = Symbol.for("react.module.reference");
function q(y) {
return !!(typeof y == "string" || typeof y == "function" || y === i || y === a || F || y === r || y === d || y === p || E || y === m || T || A || P || typeof y == "object" && y !== null && (y.$$typeof === h || y.$$typeof === f || y.$$typeof === l || y.$$typeof === u || y.$$typeof === s || // This needs to include all possible module reference object
// types supported by any Flight configuration anywhere since
// we don't know which Flight build this will end up being used
// with.
y.$$typeof === H || y.getModuleId !== void 0));
}
function ne(y, G, W) {
var te = y.displayName;
if (te)
return te;
var he = G.displayName || G.name || "";
return he !== "" ? W + "(" + he + ")" : W;
}
function $(y) {
return y.displayName || "Context";
}
function V(y) {
if (y == null)
return null;
if (typeof y.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof y == "function")
return y.displayName || y.name || null;
if (typeof y == "string")
return y;
switch (y) {
case i:
return "Fragment";
case n:
return "Portal";
case a:
return "Profiler";
case r:
return "StrictMode";
case d:
return "Suspense";
case p:
return "SuspenseList";
}
if (typeof y == "object")
switch (y.$$typeof) {
case u:
var G = y;
return $(G) + ".Consumer";
case l:
var W = y;
return $(W._context) + ".Provider";
case s:
return ne(y, y.render, "ForwardRef");
case f:
var te = y.displayName || null;
return te !== null ? te : V(y.type) || "Memo";
case h: {
var he = y, ye = he._payload, ue = he._init;
try {
return V(ue(ye));
} catch {
return null;
}
}
}
return null;
}
var k = Object.assign, L = 0, O, Z, z, Y, le, fe, M;
function X() {
}
X.__reactDisabledLog = !0;
function ae() {
{
if (L === 0) {
O = console.log, Z = console.info, z = console.warn, Y = console.error, le = console.group, fe = console.groupCollapsed, M = console.groupEnd;
var y = {
configurable: !0,
enumerable: !0,
value: X,
writable: !0
};
Object.defineProperties(console, {
info: y,
log: y,
warn: y,
error: y,
group: y,
groupCollapsed: y,
groupEnd: y
});
}
L++;
}
}
function Ce() {
{
if (L--, L === 0) {
var y = {
configurable: !0,
enumerable: !0,
writable: !0
};
Object.defineProperties(console, {
log: k({}, y, {
value: O
}),
info: k({}, y, {
value: Z
}),
warn: k({}, y, {
value: z
}),
error: k({}, y, {
value: Y
}),
group: k({}, y, {
value: le
}),
groupCollapsed: k({}, y, {
value: fe
}),
groupEnd: k({}, y, {
value: M
})
});
}
L < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
}
}
var ge = b.ReactCurrentDispatcher, Te;
function Ie(y, G, W) {
{
if (Te === void 0)
try {
throw Error();
} catch (he) {
var te = he.stack.trim().match(/\n( *(at )?)/);
Te = te && te[1] || "";
}
return `
` + Te + y;
}
}
var ke = !1, Xe;
{
var je = typeof WeakMap == "function" ? WeakMap : Map;
Xe = new je();
}
function N(y, G) {
if (!y || ke)
return "";
{
var W = Xe.get(y);
if (W !== void 0)
return W;
}
var te;
ke = !0;
var he = Error.prepareStackTrace;
Error.prepareStackTrace = void 0;
var ye;
ye = ge.current, ge.current = null, ae();
try {
if (G) {
var ue = function() {
throw Error();
};
if (Object.defineProperty(ue.prototype, "props", {
set: function() {
throw Error();
}
}), typeof Reflect == "object" && Reflect.construct) {
try {
Reflect.construct(ue, []);
} catch (_e) {
te = _e;
}
Reflect.construct(y, [], ue);
} else {
try {
ue.call();
} catch (_e) {
te = _e;
}
y.call(ue.prototype);
}
} else {
try {
throw Error();
} catch (_e) {
te = _e;
}
y();
}
} catch (_e) {
if (_e && te && typeof _e.stack == "string") {
for (var se = _e.stack.split(`
`), Ye = te.stack.split(`
`), $e = se.length - 1, Me = Ye.length - 1; $e >= 1 && Me >= 0 && se[$e] !== Ye[Me]; )
Me--;
for (; $e >= 1 && Me >= 0; $e--, Me--)
if (se[$e] !== Ye[Me]) {
if ($e !== 1 || Me !== 1)
do
if ($e--, Me--, Me < 0 || se[$e] !== Ye[Me]) {
var nt = `
` + se[$e].replace(" at new ", " at ");
return y.displayName && nt.includes("<anonymous>") && (nt = nt.replace("<anonymous>", y.displayName)), typeof y == "function" && Xe.set(y, nt), nt;
}
while ($e >= 1 && Me >= 0);
break;
}
}
} finally {
ke = !1, ge.current = ye, Ce(), Error.prepareStackTrace = he;
}
var jt = y ? y.displayName || y.name : "", Pt = jt ? Ie(jt) : "";
return typeof y == "function" && Xe.set(y, Pt), Pt;
}
function ct(y, G, W) {
return N(y, !1);
}
function ot(y) {
var G = y.prototype;
return !!(G && G.isReactComponent);
}
function at(y, G, W) {
if (y == null)
return "";
if (typeof y == "function")
return N(y, ot(y));
if (typeof y == "string")
return Ie(y);
switch (y) {
case d:
return Ie("Suspense");
case p:
return Ie("SuspenseList");
}
if (typeof y == "object")
switch (y.$$typeof) {
case s:
return ct(y.render);
case f:
return at(y.type, G, W);
case h: {
var te = y, he = te._payload, ye = te._init;
try {
return at(ye(he), G, W);
} catch {
}
}
}
return "";
}
var Vt = Object.prototype.hasOwnProperty, Rn = {}, Mn = b.ReactDebugCurrentFrame;
function wt(y) {
if (y) {
var G = y._owner, W = at(y.type, y._source, G ? G.type : null);
Mn.setExtraStackFrame(W);
} else
Mn.setExtraStackFrame(null);
}
function Zr(y, G, W, te, he) {
{
var ye = Function.call.bind(Vt);
for (var ue in y)
if (ye(y, ue)) {
var se = void 0;
try {
if (typeof y[ue] != "function") {
var Ye = Error((te || "React class") + ": " + W + " type `" + ue + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof y[ue] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
throw Ye.name = "Invariant Violation", Ye;
}
se = y[ue](G, ue, te, W, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
} catch ($e) {
se = $e;
}
se && !(se instanceof Error) && (wt(he), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", te || "React class", W, ue, typeof se), wt(null)), se instanceof Error && !(se.message in Rn) && (Rn[se.message] = !0, wt(he), S("Failed %s type: %s", W, se.message), wt(null));
}
}
}
var zr = Array.isArray;
function B(y) {
return zr(y);
}
function D(y) {
{
var G = typeof Symbol == "function" && Symbol.toStringTag, W = G && y[Symbol.toStringTag] || y.constructor.name || "Object";
return W;
}
}
function j(y) {
try {
return U(y), !1;
} catch {
return !0;
}
}
function U(y) {
return "" + y;
}
function re(y) {
if (j(y))
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", D(y)), U(y);
}
var ce = b.ReactCurrentOwner, Re = {
key: !0,
ref: !0,
__self: !0,
__source: !0
}, Ke, Wt;
function dn(y) {
if (Vt.call(y, "ref")) {
var G = Object.getOwnPropertyDescriptor(y, "ref").get;
if (G && G.isReactWarning)
return !1;
}
return y.ref !== void 0;
}
function Wr(y) {
if (Vt.call(y, "key")) {
var G = Object.getOwnPropertyDescriptor(y, "key").get;
if (G && G.isReactWarning)
return !1;
}
return y.key !== void 0;
}
function Xr(y, G) {
typeof y.ref == "string" && ce.current;
}
function Gn(y, G) {
{
var W = function() {
Ke || (Ke = !0, S("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", G));
};
W.isReactWarning = !0, Object.defineProperty(y, "key", {
get: W,
configurable: !0
});
}
}
function jr(y, G) {
{
var W = function() {
Wt || (Wt = !0, S("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", G));
};
W.isReactWarning = !0, Object.defineProperty(y, "ref", {
get: W,
configurable: !0
});
}
}
var Y1 = function(y, G, W, te, he, ye, ue) {
var se = {
// This tag allows us to uniquely identify this as a React Element
$$typeof: t,
// Built-in properties that belong on the element
type: y,
key: G,
ref: W,
props: ue,
// Record the component responsible for creating this element.
_owner: ye
};
return se._store = {}, Object.defineProperty(se._store, "validated", {
configurable: !1,
enumerable: !1,
writable: !0,
value: !1
}), Object.defineProperty(se, "_self", {
configurable: !1,
enumerable: !1,
writable: !1,
value: te
}), Object.defineProperty(se, "_source", {
configurable: !1,
enumerable: !1,
writable: !1,
value: he
}), Object.freeze && (Object.freeze(se.props), Object.freeze(se)), se;
};
function _1(y, G, W, te, he) {
{
var ye, ue = {}, se = null, Ye = null;
W !== void 0 && (re(W), se = "" + W), Wr(G) && (re(G.key), se = "" + G.key), dn(G) && (Ye = G.ref, Xr(G, he));
for (ye in G)
Vt.call(G, ye) && !Re.hasOwnProperty(ye) && (ue[ye] = G[ye]);
if (y && y.defaultProps) {
var $e = y.defaultProps;
for (ye in $e)
ue[ye] === void 0 && (ue[ye] = $e[ye]);
}
if (se || Ye) {
var Me = typeof y == "function" ? y.displayName || y.name || "Unknown" : y;
se && Gn(ue, Me), Ye && jr(ue, Me);
}
return Y1(y, se, Ye, he, te, ce.current, ue);
}
}
var Yr = b.ReactCurrentOwner, Eo = b.ReactDebugCurrentFrame;
function Xt(y) {
if (y) {
var G = y._owner, W = at(y.type, y._source, G ? G.type : null);
Eo.setExtraStackFrame(W);
} else
Eo.setExtraStackFrame(null);
}
var _r;
_r = !1;
function Jr(y) {
return typeof y == "object" && y !== null && y.$$typeof === t;
}
function Vo() {
{
if (Yr.current) {
var y = V(Yr.current.type);
if (y)
return `
Check the render method of \`` + y + "`.";
}
return "";
}
}
function J1(y) {
return "";
}
var Po = {};
function U1(y) {
{
var G = Vo();
if (!G) {
var W = typeof y == "string" ? y : y.displayName || y.name;
W && (G = `
Check the top-level render call using <` + W + ">.");
}
return G;
}
}
function To(y, G) {
{
if (!y._store || y._store.validated || y.key != null)
return;
y._store.validated = !0;
var W = U1(G);
if (Po[W])
return;
Po[W] = !0;
var te = "";
y && y._owner && y._owner !== Yr.current && (te = " It was passed a child from " + V(y._owner.type) + "."), Xt(y), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', W, te), Xt(null);
}
}
function Bo(y, G) {
{
if (typeof y != "object")
return;
if (B(y))
for (var W = 0; W < y.length; W++) {
var te = y[W];
Jr(te) && To(te, G);
}
else if (Jr(y))
y._store && (y._store.validated = !0);
else if (y) {
var he = x(y);
if (typeof he == "function" && he !== y.entries)
for (var ye = he.call(y), ue; !(ue = ye.next()).done; )
Jr(ue.value) && To(ue.value, G);
}
}
}
function Q1(y) {
{
var G = y.type;
if (G == null || typeof G == "string")
return;
var W;
if (typeof G == "function")
W = G.propTypes;
else if (typeof G == "object" && (G.$$typeof === s || // Note: Memo only checks outer props here.
// Inner props are checked in the reconciler.
G.$$typeof === f))
W = G.propTypes;
else
return;
if (W) {
var te = V(G);
Zr(W, y.props, "prop", te, y);
} else if (G.PropTypes !== void 0 && !_r) {
_r = !0;
var he = V(G);
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", he || "Unknown");
}
typeof G.getDefaultProps == "function" && !G.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
}
}
function K1(y) {
{
for (var G = Object.keys(y.props), W = 0; W < G.length; W++) {
var te = G[W];
if (te !== "children" && te !== "key") {
Xt(y), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", te), Xt(null);
break;
}
}
y.ref !== null && (Xt(y), S("Invalid attribute `ref` supplied to `React.Fragment`."), Xt(null));
}
}
var ko = {};
function $o(y, G, W, te, he, ye) {
{
var ue = q(y);
if (!ue) {
var se = "";
(y === void 0 || typeof y == "object" && y !== null && Object.keys(y).length === 0) && (se += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
var Ye = J1();
Ye ? se += Ye : se += Vo();
var $e;
y === null ? $e = "null" : B(y) ? $e = "array" : y !== void 0 && y.$$typeof === t ? ($e = "<" + (V(y.type) || "Unknown") + " />", se = " Did you accidentally export a JSX literal instead of a component?") : $e = typeof y, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", $e, se);
}
var Me = _1(y, G, W, he, ye);
if (Me == null)
return Me;
if (ue) {
var nt = G.children;
if (nt !== void 0)
if (te)
if (B(nt)) {
for (var jt = 0; jt < nt.length; jt++)
Bo(nt[jt], y);
Object.freeze && Object.freeze(nt);
} else
S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
else
Bo(nt, y);
}
if (Vt.call(G, "key")) {
var Pt = V(y), _e = Object.keys(G).filter(function(iu) {
return iu !== "key";
}), Ur = _e.length > 0 ? "{key: someKey, " + _e.join(": ..., ") + ": ...}" : "{key: someKey}";
if (!ko[Pt + Ur]) {
var ru = _e.length > 0 ? "{" + _e.join(": ..., ") + ": ...}" : "{}";
S(`A props object containing a "key" prop is being spread into JSX:
let props = %s;
<%s {...props} />
React keys must be passed directly to JSX without using spread:
let props = %s;
<%s key={someKey} {...props} />`, Ur, Pt, ru, Pt), ko[Pt + Ur] = !0;
}
}
return y === i ? K1(Me) : Q1(Me), Me;
}
}
function q1(y, G, W) {
return $o(y, G, W, !0);
}
function eu(y, G, W) {
return $o(y, G, W, !1);
}
var tu = eu, nu = q1;
fn.Fragment = i, fn.jsx = tu, fn.jsxs = nu;
}()), fn;
}
process.env.NODE_ENV === "production" ? Ci.exports = vu() : Ci.exports = xu();
var Qi = Ci.exports;
const R = Qi.Fragment, o = Qi.jsx, v = Qi.jsxs;
var Je = function() {
return Je = Object.assign || function(t) {
for (var n, i = 1, r = arguments.length; i < r; i++) {
n = arguments[i];
for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
}
return t;
}, Je.apply(this, arguments);
};
function Ft(e, t, n) {
if (n || arguments.length === 2) for (var i = 0, r = t.length, a; i < r; i++)
(a || !(i in t)) && (a || (a = Array.prototype.slice.call(t, 0, i)), a[i] = t[i]);
return e.concat(a || Array.prototype.slice.call(t));
}
function Cu(e) {
var t = /* @__PURE__ */ Object.create(null);
return function(n) {
return t[n] === void 0 && (t[n] = e(n)), t[n];
};
}
var yu = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|re