1import{b as f}from"/build/_shared/chunk-PSMO2AXZ.js";import{a as d}from"/build/_shared/chunk-PM6BOTDX.js";import{b as i}from"/build/_shared/chunk-LJMIFWWV.js";import{a as l}from"/build/_shared/chunk-Z45G6HN7.js";import{e as c}from"/build/_shared/chunk-XDMRC4Q6.js";var t=c(l(),1);function k({className:n="",type:g="button",onClick:p,disabled:e,destructive:r,to:o,target:s,isExternal:m=!1,autoFocus:a,prefetch:b,children:u,variant:h,size:y,title:v}){let x=i(n,"bg-primary",e&&"cursor-not-allowed opacity-75",r&&"bg-destructive",!e&&r&&"hover:bg-destructive/90 focus:ring-destructive");return(0,t.jsx)(t.Fragment,{children:(()=>!o||e?(0,t.jsx)(f,{onClick:p,type:g,disabled:e,variant:h||"default",size:y||"default",className:i("text-white h-9 space-x-2 border text-base",n),autoFocus:a,title:v,children:u}):o&&m?(0,t.jsx)("a",{href:o,className:x,target:s,autoFocus:a,children:u}):(0,t.jsx)(d,{to:e?"":o,target:s,prefetch:b,className:i(n,"border-transparent focus:ring-ring inline-flex items-center space-x-2 rounded-md border px-4 py-2 text-base text-primary-foreground shadow-sm focus:outline-none focus:ring-2",e&&"cursor-not-allowed opacity-75",!r&&"bg-primary",r&&"bg-destructive",!e&&!r&&!n&&"hover:bg-primary/90 focus:ring-ring",!e&&r&&"hover:bg-destructive/90 focus:ring-destructive"),autoFocus:a,children:u}))()})}export{k as a};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.