import{jsxs as i,jsx as t}from"react/jsx-runtime";import{a6 as o,a7 as e,B as m,a8 as p}from"./ui-components-B24mpb8o.js";import{useEditor as n}from"./use-editor-D8T8wKX0.js";import{Eye as a}from"lucide-react";import"next-themes";import"sonner";import"react";import"@radix-ui/react-label";import"class-variance-authority";import"@radix-ui/react-checkbox";import"@radix-ui/react-avatar";import"@radix-ui/react-dropdown-menu";import"@radix-ui/react-scroll-area";import"@radix-ui/react-popover";import"@radix-ui/react-radio-group";import"@radix-ui/react-dialog";import"@radix-ui/react-slot";import"clsx";import"@radix-ui/react-separator";import"@radix-ui/react-tooltip";import"@radix-ui/react-tabs";import"@radix-ui/react-accordion";import"@radix-ui/react-progress";import"@radix-ui/react-select";import"cmdk";import"@radix-ui/react-switch";import"react-day-picker";import"@radix-ui/react-slider";import"embla-carousel-react";import"@radix-ui/react-toggle-group";import"vaul";import"tailwind-merge";import"./editor-provider-CwMLJaUa.js";import"uuid";const H=()=>{const{dispatch:r}=n();return i(o,{children:[t(e,{asChild:!0,children:t(m,{variant:"outline",size:"icon",onClick:()=>{r({type:"TOGGLE_PREVIEW_MODE"}),r({type:"TOGGLE_LIVE_MODE"})},children:t(a,{className:"h-5 w-5","aria-label":"Preview"})})}),t(p,{children:i("p",{className:"inline-flex items-center gap-2",children:["Preview"," ",i("kbd",{className:"pointer-events-none inline-flex h-5 items-center gap-1 rounded border bg-muted px-1.5 font-mono text-[10px] font-medium text-muted-foreground opacity-100 select-none",children:[t("div",{className:"text-xs",children:"⌘"}),"P"]})]})})]})};export{H as default};
