"use client"; import { jsxs as c, jsx as f } from "react/jsx-runtime"; import s, { useEffect as u } from "react"; import { extendTheme as l, withDefaultColorScheme as m, Text as p, Input as h, IconButton as B, HStack as E, Button as k, Badge as _, ChakraProvider as a } from "@chakra-ui/react"; import { Global as w } from "@emotion/react"; import { createRoot as x } from "react-dom/client"; import { e as I } from "./chunks/estedad-B1AoGIKy.js"; import { d as b } from "./chunks/feature-registry-B2iuEiEx.js"; const y = l({ direction: "rtl", styles: { global: { html: { fontSize: "14px", direction: "rtl" }, body: { bg: "white", direction: "rtl" }, "*": { boxSizing: "border-box" } } }, fonts: { heading: "Estedad", body: "Estedad" }, colors: { facebook: { 50: "#E8F4F9", 100: "#D9DEE9", 200: "#B7C2DA", 300: "#6482C0", 400: "#4267B2", 500: "#385898", 600: "#314E89", 700: "#29487D", 800: "#223B67", 900: "#1E355B" } } }, m({ colorScheme: "facebook" })); function S({ children: n, theme: o = y, fonts: i = !0, remoteUiEnabled: e = !0, remoteUiChakraProviderProps: r, ...d }) { return u(() => { if (!e || typeof window > "u") return; const t = window.__UIKIT_REMOTE_DEPS__ || {}; window.__UIKIT_REMOTE_DEPS__ = { ...t, React: t.React || s, createRoot: t.createRoot || x, ChakraProvider: t.ChakraProvider || a, Badge: t.Badge || _, Button: t.Button || k, HStack: t.HStack || E, IconButton: t.IconButton || B, Input: t.Input || h, Text: t.Text || p, theme: o, chakraProviderProps: { ...t.chakraProviderProps, ...r } }; }, [e, o, r]), /* @__PURE__ */ c(a, { theme: o, ...d, children: [ i && /* @__PURE__ */ f(w, { styles: `@font-face { font-family: Estedad; src: url("${I}") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }` }), n ] }); } const F = b("Chakra", 10, S); export { F as Chakra, y as defaultBiTheme };