import { jsxs as a, Fragment as K, jsx as e } from "react/jsx-runtime";
import { useState as d, useRef as X, useEffect as Y } from "react";
import { aD as Z, aE as q, aF as J, al as _, aG as Q, aH as V, aI as ee, aJ as ae, aK as se, aL as te, aM as re, aN as le, aO as de, H as ie, T as s, C as i, K as l, c, x as r } from "../index-sdOMz8GW.js";
import { Play as oe, Monitor as ce, Ruler as ne, MousePointer as me, ChevronDown as he, Copy as ge, Settings as ue, LayoutGrid as pe, Zap as be, ChevronLeft as xe, ChevronRight as Ne, Lock as fe, X as we } from "lucide-react";
import "react-router-dom";
import "react-dom";
const Te = () => {
  const [n, C] = d("Hello, World!"), [m, h] = d(!1), [b, x] = d(!1), [S, N] = d(""), [M, f] = d("Checking..."), T = Z(), { isMobile: E } = q(), [w, I] = J(), { addToast: g } = _(), { isGridCompact: u, setIsGridCompact: L } = Q(), { x: R, y: z } = V(), y = ee(), v = X(null), [B, { width: G, height: D }] = ae(), [W, k] = se(), {
    sliderEl: H,
    sliderPrevBtn: $,
    sliderNextBtn: A,
    scrollToTheRight: O,
    scrollToTheLeft: P
  } = te("/");
  re(m), le(v, () => {
    x(!1);
  }), de("keydown", (t) => {
    N(t.key), setTimeout(() => N(""), 1e3);
  }), Y(() => {
    f(y ? "Component is mounted" : "Component is not mounted");
  }, [y]);
  const j = () => {
    I(n), g({
      id: `copy-${Date.now()}`,
      title: "Copied!",
      message: `Copied "${n}" to clipboard`,
      variant: "success"
    });
  }, U = () => {
    const t = !u;
    L(t), g({
      id: `layout-${Date.now()}`,
      title: "Layout Changed",
      message: `Switched to ${t ? "Compact" : "Normal"} layout`,
      variant: "info"
    });
  }, o = (t = "success") => {
    g({
      id: `toast-${Date.now()}`,
      title: "Test Toast",
      message: `This is a ${t} toast notification`,
      variant: t,
      timeout: 3e3
    });
  }, F = Array.from({ length: 10 }, (t, p) => ({
    id: p + 1,
    title: `Item ${p + 1}`,
    content: `Content for item ${p + 1}`
  }));
  return /* @__PURE__ */ a(K, { children: [
    /* @__PURE__ */ e(
      ie,
      {
        title: "Live Hook Demonstrations",
        description: "Interactive examples showing every hook in action. Resize the window, click buttons, and interact with the demos to see real-time hook behavior.",
        icon: /* @__PURE__ */ e("div", { className: "w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-green-500 via-emerald-500 to-teal-500 rounded-full flex items-center justify-center shadow-lg", children: /* @__PURE__ */ e(oe, { className: "w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg" }) })
      }
    ),
    /* @__PURE__ */ a("section", { className: "space-y-8", children: [
      /* @__PURE__ */ a("div", { className: "text-center", children: [
        /* @__PURE__ */ e(s, { tag: "h2", className: "mb-2", children: "Responsive Detection" }),
        /* @__PURE__ */ e(
          s,
          {
            tag: "p",
            className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
            children: "Real-time breakpoint detection and mobile state tracking"
          }
        )
      ] }),
      /* @__PURE__ */ e(i, { children: /* @__PURE__ */ a("div", { className: "w-full space-y-6 p-4 sm:p-6", children: [
        /* @__PURE__ */ a("div", { className: "flex items-center gap-3", children: [
          /* @__PURE__ */ e("div", { className: "p-2 rounded-lg bg-linear-to-br from-blue-500 to-cyan-500 shadow-lg", children: /* @__PURE__ */ e(ce, { className: "w-6 h-6 text-white filter drop-shadow-sm" }) }),
          /* @__PURE__ */ e(s, { tag: "h3", className: "text-base font-semibold", children: "useBreakpoint & useIsMobile" })
        ] }),
        /* @__PURE__ */ a("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-6", children: [
          /* @__PURE__ */ a("div", { className: "bg-white dark:bg-gray-800 p-4 rounded-lg border", children: [
            /* @__PURE__ */ e(s, { tag: "h5", className: "font-medium mb-3", children: "useBreakpoint" }),
            /* @__PURE__ */ a("div", { className: "space-y-2", children: [
              /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
                /* @__PURE__ */ e("span", { className: "text-sm text-gray-600 dark:text-gray-400", children: "Current:" }),
                /* @__PURE__ */ e(l, { className: "text-dark dark:text-white", children: T })
              ] }),
              /* @__PURE__ */ e(s, { tag: "p", className: "text-xs text-gray-500", children: "Resize your window to see changes" })
            ] })
          ] }),
          /* @__PURE__ */ a("div", { className: "bg-white dark:bg-gray-800 p-4 rounded-lg border", children: [
            /* @__PURE__ */ e(s, { tag: "h5", className: "font-medium mb-3", children: "useIsMobile" }),
            /* @__PURE__ */ a("div", { className: "space-y-2", children: [
              /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
                /* @__PURE__ */ e("span", { className: "text-sm text-gray-600 dark:text-gray-400", children: "Is Mobile:" }),
                /* @__PURE__ */ e(l, { className: "text-dark dark:text-white", children: E ? "Yes" : "No" })
              ] }),
              /* @__PURE__ */ e(s, { tag: "p", className: "text-xs text-gray-500", children: "True for xs, sm, md breakpoints (≤768px)" })
            ] })
          ] })
        ] }),
        /* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto", children: /* @__PURE__ */ e(
          c,
          {
            language: "tsx",
            noExpand: !0,
            code: `const breakpoint = useBreakpoint();
// Returns: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl'

const { isMobile } = useIsMobile();
// Returns: { isMobile: boolean } — true for xs/sm/md`
          }
        ) })
      ] }) })
    ] }),
    /* @__PURE__ */ a("section", { className: "space-y-8", children: [
      /* @__PURE__ */ a("div", { className: "text-center", children: [
        /* @__PURE__ */ e(s, { tag: "h2", className: "mb-2", children: "Element Measurement" }),
        /* @__PURE__ */ e(
          s,
          {
            tag: "p",
            className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
            children: "Track element dimensions and bounds in real-time"
          }
        )
      ] }),
      /* @__PURE__ */ e(i, { children: /* @__PURE__ */ a("div", { className: "w-full space-y-6 p-4 sm:p-6", children: [
        /* @__PURE__ */ a("div", { className: "flex items-center gap-3", children: [
          /* @__PURE__ */ e("div", { className: "p-2 rounded-lg bg-linear-to-br from-green-500 to-emerald-500 shadow-lg", children: /* @__PURE__ */ e(ne, { className: "w-6 h-6 text-white filter drop-shadow-sm" }) }),
          /* @__PURE__ */ e(s, { tag: "h3", className: "text-base font-semibold", children: "useElementSize & useMeasure" })
        ] }),
        /* @__PURE__ */ a("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-6", children: [
          /* @__PURE__ */ a("div", { children: [
            /* @__PURE__ */ e(s, { tag: "h5", className: "font-medium mb-3", children: "useElementSize" }),
            /* @__PURE__ */ a(
              "div",
              {
                ref: B,
                className: "bg-blue-100 dark:bg-blue-800 p-4 rounded-lg border-2 border-dashed border-blue-300 dark:border-blue-600 resize overflow-auto min-h-25",
                children: [
                  /* @__PURE__ */ e(s, { tag: "p", className: "text-sm", children: "Resize this element (drag corner)" }),
                  /* @__PURE__ */ a(
                    s,
                    {
                      tag: "p",
                      className: "text-xs text-gray-600 dark:text-gray-400 mt-2",
                      children: [
                        "Size: ",
                        Math.round(G),
                        " ×",
                        " ",
                        Math.round(D),
                        "px"
                      ]
                    }
                  )
                ]
              }
            )
          ] }),
          /* @__PURE__ */ a("div", { children: [
            /* @__PURE__ */ e(s, { tag: "h5", className: "font-medium mb-3", children: "useMeasure" }),
            /* @__PURE__ */ a(
              "div",
              {
                ref: W,
                className: "bg-cyan-100 dark:bg-cyan-800 p-4 rounded-lg border-2 border-dashed border-cyan-300 dark:border-cyan-600 min-h-25",
                children: [
                  /* @__PURE__ */ e(s, { tag: "p", className: "text-sm", children: "Measured element" }),
                  /* @__PURE__ */ a(
                    s,
                    {
                      tag: "p",
                      className: "text-xs text-gray-600 dark:text-gray-400 mt-2",
                      children: [
                        "Bounds: ",
                        Math.round(k.width),
                        " ×",
                        " ",
                        Math.round(k.height),
                        "px"
                      ]
                    }
                  )
                ]
              }
            )
          ] })
        ] }),
        /* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto", children: /* @__PURE__ */ e(
          c,
          {
            language: "tsx",
            noExpand: !0,
            code: `// useElementSize — returns [callbackRef, { width, height }]
const [ref, { width, height }] = useElementSize<HTMLDivElement>();

// useMeasure — returns [callbackRef, bounds]
const [ref, bounds] = useMeasure<HTMLDivElement>();
// bounds: { x, y, width, height, top, right, bottom, left }`
          }
        ) })
      ] }) })
    ] }),
    /* @__PURE__ */ a("section", { className: "space-y-8", children: [
      /* @__PURE__ */ a("div", { className: "text-center", children: [
        /* @__PURE__ */ e(s, { tag: "h2", className: "mb-2", children: "User Interaction" }),
        /* @__PURE__ */ e(
          s,
          {
            tag: "p",
            className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
            children: "Click detection, clipboard, and event handling demos"
          }
        )
      ] }),
      /* @__PURE__ */ e(i, { children: /* @__PURE__ */ a("div", { className: "w-full space-y-6 p-4 sm:p-6", children: [
        /* @__PURE__ */ a("div", { className: "flex items-center gap-3", children: [
          /* @__PURE__ */ e("div", { className: "p-2 rounded-lg bg-linear-to-br from-purple-500 to-violet-500 shadow-lg", children: /* @__PURE__ */ e(me, { className: "w-6 h-6 text-white filter drop-shadow-sm" }) }),
          /* @__PURE__ */ e(s, { tag: "h3", className: "text-base font-semibold", children: "useClickAway & useCopyToClipboard" })
        ] }),
        /* @__PURE__ */ a("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-6", children: [
          /* @__PURE__ */ a("div", { children: [
            /* @__PURE__ */ e(s, { tag: "h5", className: "font-medium mb-3", children: "useClickAway" }),
            /* @__PURE__ */ a("div", { className: "relative", ref: v, children: [
              /* @__PURE__ */ a(
                r,
                {
                  onClick: () => x(!b),
                  variant: "ghost",
                  className: "w-full",
                  children: [
                    /* @__PURE__ */ e(he, { className: "w-4 h-4 mr-2" }),
                    "Click to open dropdown"
                  ]
                }
              ),
              b && /* @__PURE__ */ e("div", { className: "absolute top-full left-0 right-0 mt-2 bg-white dark:bg-gray-800 border rounded-lg shadow-lg p-4 z-10", children: /* @__PURE__ */ e(s, { tag: "p", className: "text-sm", children: "Click outside to close this dropdown" }) })
            ] })
          ] }),
          /* @__PURE__ */ a("div", { children: [
            /* @__PURE__ */ e(s, { tag: "h5", className: "font-medium mb-3", children: "useCopyToClipboard" }),
            /* @__PURE__ */ a("div", { className: "space-y-3", children: [
              /* @__PURE__ */ e(
                "input",
                {
                  type: "text",
                  value: n,
                  onChange: (t) => C(t.target.value),
                  className: "w-full px-3 py-2 border rounded-lg dark:bg-gray-800 dark:border-border",
                  placeholder: "Enter text to copy"
                }
              ),
              /* @__PURE__ */ a(r, { onClick: j, className: "w-full", children: [
                /* @__PURE__ */ e(ge, { className: "w-4 h-4 mr-2" }),
                "Copy to Clipboard"
              ] }),
              w.value && /* @__PURE__ */ a(
                s,
                {
                  tag: "p",
                  className: "text-sm text-green-600 dark:text-green-400",
                  children: [
                    "✓ Copied: ",
                    w.value
                  ]
                }
              )
            ] })
          ] })
        ] }),
        /* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto", children: /* @__PURE__ */ e(
          c,
          {
            language: "tsx",
            noExpand: !0,
            code: `// useCopyToClipboard — returns [state, copyFn]
const [state, copyToClipboard] = useCopyToClipboard();
// state: { value?: string; error?: Error; noUserInteraction: boolean }
copyToClipboard('text');

// useClickAway — detects clicks outside ref
const ref = useRef(null);
useClickAway(ref, () => setIsOpen(false));`
          }
        ) })
      ] }) })
    ] }),
    /* @__PURE__ */ a("section", { className: "space-y-8", children: [
      /* @__PURE__ */ a("div", { className: "text-center", children: [
        /* @__PURE__ */ e(s, { tag: "h2", className: "mb-2", children: "UI State Management" }),
        /* @__PURE__ */ e(
          s,
          {
            tag: "p",
            className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
            children: "Global state hooks for layout and notifications"
          }
        )
      ] }),
      /* @__PURE__ */ e(i, { children: /* @__PURE__ */ a("div", { className: "w-full space-y-6 p-4 sm:p-6", children: [
        /* @__PURE__ */ a("div", { className: "flex items-center gap-3", children: [
          /* @__PURE__ */ e("div", { className: "p-2 rounded-lg bg-linear-to-br from-green-500 to-emerald-500 shadow-lg", children: /* @__PURE__ */ e(ue, { className: "w-6 h-6 text-white filter drop-shadow-sm" }) }),
          /* @__PURE__ */ e(s, { tag: "h3", className: "text-base font-semibold", children: "useGridSwitcher & useToastStore" })
        ] }),
        /* @__PURE__ */ a("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-6", children: [
          /* @__PURE__ */ a("div", { children: [
            /* @__PURE__ */ e(s, { tag: "h5", className: "font-medium mb-3", children: "useGridSwitcher" }),
            /* @__PURE__ */ a("div", { className: "space-y-3", children: [
              /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
                /* @__PURE__ */ e("span", { className: "text-sm text-gray-600 dark:text-gray-400", children: "Current layout:" }),
                /* @__PURE__ */ e(l, { className: "text-dark dark:text-white", children: u ? "Compact" : "Normal" })
              ] }),
              /* @__PURE__ */ a(
                r,
                {
                  onClick: U,
                  variant: "ghost",
                  className: "w-full",
                  children: [
                    /* @__PURE__ */ e(pe, { className: "w-4 h-4 mr-2" }),
                    "Switch to ",
                    u ? "Normal" : "Compact"
                  ]
                }
              )
            ] })
          ] }),
          /* @__PURE__ */ a("div", { children: [
            /* @__PURE__ */ e(s, { tag: "h5", className: "font-medium mb-3", children: "useToastStore" }),
            /* @__PURE__ */ a("div", { className: "grid grid-cols-2 gap-2", children: [
              /* @__PURE__ */ e(
                r,
                {
                  color: "success",
                  fullWidth: !0,
                  onClick: () => o("success"),
                  children: "Success"
                }
              ),
              /* @__PURE__ */ e(
                r,
                {
                  color: "danger",
                  fullWidth: !0,
                  onClick: () => o("destructive"),
                  children: "Error"
                }
              ),
              /* @__PURE__ */ e(
                r,
                {
                  color: "warning",
                  fullWidth: !0,
                  onClick: () => o("warning"),
                  children: "Warning"
                }
              ),
              /* @__PURE__ */ e(
                r,
                {
                  color: "info",
                  fullWidth: !0,
                  onClick: () => o("info"),
                  children: "Info"
                }
              )
            ] })
          ] })
        ] }),
        /* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto", children: /* @__PURE__ */ e(
          c,
          {
            language: "tsx",
            noExpand: !0,
            code: `// useToastStore — Zustand store for notifications
const { addToast, dismissToast, toasts } = useToastStore();
addToast({
  id: 'unique-id',
  title: 'Title',
  message: 'Message text',
  variant: 'success', // 'default' | 'destructive' | 'success' | 'warning' | 'info'
  timeout: 3000,
});

// useGridSwitcher — Zustand store for grid layout
const { isGridCompact, setIsGridCompact } = useGridSwitcher();`
          }
        ) })
      ] }) })
    ] }),
    /* @__PURE__ */ a("section", { className: "space-y-8", children: [
      /* @__PURE__ */ a("div", { className: "text-center", children: [
        /* @__PURE__ */ e(s, { tag: "h2", className: "mb-2", children: "Advanced Utilities" }),
        /* @__PURE__ */ e(
          s,
          {
            tag: "p",
            className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
            children: "Scroll control, event listeners, and lifecycle hooks"
          }
        )
      ] }),
      /* @__PURE__ */ e(i, { children: /* @__PURE__ */ a("div", { className: "w-full space-y-6 p-4 sm:p-6", children: [
        /* @__PURE__ */ a("div", { className: "flex items-center gap-3", children: [
          /* @__PURE__ */ e("div", { className: "p-2 rounded-lg bg-linear-to-br from-orange-500 to-amber-500 shadow-lg", children: /* @__PURE__ */ e(be, { className: "w-6 h-6 text-white filter drop-shadow-sm" }) }),
          /* @__PURE__ */ e(s, { tag: "h3", className: "text-base font-semibold", children: "useScrollableSlider, useEventListener & more" })
        ] }),
        /* @__PURE__ */ a("div", { children: [
          /* @__PURE__ */ e(s, { tag: "h5", className: "font-medium mb-3", children: "useScrollableSlider" }),
          /* @__PURE__ */ a("div", { className: "relative", children: [
            /* @__PURE__ */ e(
              "button",
              {
                ref: $,
                onClick: P,
                className: "absolute left-0 top-1/2 -translate-y-1/2 z-10 bg-white dark:bg-gray-800 border rounded-full p-2 shadow-md opacity-0 invisible transition-opacity",
                children: /* @__PURE__ */ e(xe, { className: "w-4 h-4" })
              }
            ),
            /* @__PURE__ */ e(
              "div",
              {
                ref: H,
                className: "flex gap-4 overflow-x-auto scrollbar-hide py-4",
                children: F.map((t) => /* @__PURE__ */ a(
                  "div",
                  {
                    className: "shrink-0 w-48 p-4 bg-white dark:bg-gray-800 border rounded-lg",
                    children: [
                      /* @__PURE__ */ e(s, { tag: "h6", className: "font-medium mb-2", children: t.title }),
                      /* @__PURE__ */ e(
                        s,
                        {
                          tag: "p",
                          className: "text-sm text-gray-600 dark:text-gray-400",
                          children: t.content
                        }
                      )
                    ]
                  },
                  t.id
                ))
              }
            ),
            /* @__PURE__ */ e(
              "button",
              {
                ref: A,
                onClick: O,
                className: "absolute right-0 top-1/2 -translate-y-1/2 z-10 bg-white dark:bg-gray-800 border rounded-full p-2 shadow-md transition-opacity",
                children: /* @__PURE__ */ e(Ne, { className: "w-4 h-4" })
              }
            )
          ] })
        ] }),
        /* @__PURE__ */ a("div", { className: "grid grid-cols-1 md:grid-cols-3 gap-6", children: [
          /* @__PURE__ */ a("div", { children: [
            /* @__PURE__ */ e(s, { tag: "h5", className: "font-medium mb-3", children: "useEventListener" }),
            /* @__PURE__ */ a("div", { className: "bg-white dark:bg-gray-800 p-4 rounded-lg border", children: [
              /* @__PURE__ */ e(s, { tag: "p", className: "text-sm mb-2", children: "Press any key:" }),
              /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
                /* @__PURE__ */ e("span", { className: "text-sm text-gray-600 dark:text-gray-400", children: "Last key:" }),
                /* @__PURE__ */ e(l, { className: "text-dark dark:text-white", children: S || "None" })
              ] })
            ] })
          ] }),
          /* @__PURE__ */ a("div", { children: [
            /* @__PURE__ */ e(s, { tag: "h5", className: "font-medium mb-3", children: "useWindowScroll" }),
            /* @__PURE__ */ a("div", { className: "bg-white dark:bg-gray-800 p-4 rounded-lg border", children: [
              /* @__PURE__ */ e(s, { tag: "p", className: "text-sm mb-2", children: "Scroll position:" }),
              /* @__PURE__ */ a("div", { className: "flex items-center gap-3", children: [
                /* @__PURE__ */ a(l, { className: "text-dark dark:text-white", children: [
                  "X: ",
                  Math.round(R),
                  "px"
                ] }),
                /* @__PURE__ */ a(l, { className: "text-dark dark:text-white", children: [
                  "Y: ",
                  Math.round(z),
                  "px"
                ] })
              ] })
            ] })
          ] }),
          /* @__PURE__ */ a("div", { children: [
            /* @__PURE__ */ e(s, { tag: "h5", className: "font-medium mb-3", children: "useIsMounted" }),
            /* @__PURE__ */ a("div", { className: "bg-white dark:bg-gray-800 p-4 rounded-lg border", children: [
              /* @__PURE__ */ e(s, { tag: "p", className: "text-sm mb-2", children: "Mount status:" }),
              /* @__PURE__ */ e(l, { className: "text-dark dark:text-white", children: M })
            ] })
          ] })
        ] }),
        /* @__PURE__ */ a("div", { children: [
          /* @__PURE__ */ e(s, { tag: "h5", className: "font-medium mb-3", children: "useLockBodyScroll" }),
          /* @__PURE__ */ a("div", { className: "flex items-center gap-4", children: [
            /* @__PURE__ */ a(r, { onClick: () => h(!0), variant: "ghost", children: [
              /* @__PURE__ */ e(fe, { className: "w-4 h-4 mr-2" }),
              "Open Modal (Locks Scroll)"
            ] }),
            /* @__PURE__ */ a(
              s,
              {
                tag: "p",
                className: "text-sm text-gray-600 dark:text-gray-400",
                children: [
                  "Body scroll is ",
                  m ? "locked" : "unlocked"
                ]
              }
            )
          ] })
        ] })
      ] }) })
    ] }),
    m && /* @__PURE__ */ e("div", { className: "fixed inset-0 bg-black/50 flex items-center justify-center z-50", children: /* @__PURE__ */ a("div", { className: "bg-white dark:bg-gray-800 p-6 rounded-lg max-w-md w-full mx-4", children: [
      /* @__PURE__ */ a("div", { className: "flex items-center justify-between mb-4", children: [
        /* @__PURE__ */ e(s, { tag: "h3", className: "font-semibold", children: "Modal with Locked Scroll" }),
        /* @__PURE__ */ e(
          "button",
          {
            onClick: () => h(!1),
            className: "text-gray-500 hover:text-gray-700",
            children: /* @__PURE__ */ e(we, { className: "w-5 h-5" })
          }
        )
      ] }),
      /* @__PURE__ */ e(
        s,
        {
          tag: "p",
          className: "text-gray-600 dark:text-gray-400 mb-4",
          children: "While this modal is open, body scrolling is locked using useLockBodyScroll. The scrollbar width is preserved to prevent layout shift."
        }
      ),
      /* @__PURE__ */ e(r, { onClick: () => h(!1), className: "w-full", children: "Close Modal" })
    ] }) })
  ] });
};
export {
  Te as default
};
