1import{r as i,R as m,j as f,l as g,n as v,p as x}from"./index-BlPOvDWi.js";var h=Symbol.for("react.lazy"),u=m[" use ".trim().toString()];function E(e){return typeof e=="object"&&e!==null&&"then"in e}function y(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===h&&"_payload"in e&&E(e._payload)}function S(e){const t=C(e),n=i.forwardRef((o,r)=>{let{children:s,...a}=o;y(s)&&typeof u=="function"&&(s=u(s._payload));const l=i.Children.toArray(s),d=l.find(j);if(d){const c=d.props.children,b=l.map(p=>p===d?i.Children.count(c)>1?i.Children.only(null):i.isValidElement(c)?c.props.children:null:p);return f.jsx(t,{...a,ref:r,children:i.isValidElement(c)?i.cloneElement(c,void 0,b):null})}return f.jsx(t,{...a,ref:r,children:s})});return n.displayName=`${e}.Slot`,n}var _=S("Slot");function C(e){const t=i.forwardRef((n,o)=>{let{children:r,...s}=n;if(y(r)&&typeof u=="function"&&(r=u(r._payload)),i.isValidElement(r)){const a=V(r),l=w(s,r.props);return r.type!==i.Fragment&&(l.ref=o?g(o,a):a),i.cloneElement(r,l)}return i.Children.count(r)>1?i.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var R=Symbol("radix.slottable");function j(e){return i.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===R}function w(e,t){const n={...t};for(const o in t){const r=e[o],s=t[o];/^on[A-Z]/.test(o)?r&&s?n[o]=(...l)=>{const d=s(...l);return r(...l),d}:r&&(n[o]=r):o==="style"?n[o]={...r,...s}:o==="className"&&(n[o]=[r,s].filter(Boolean).join(" "))}return{...e,...n}}function V(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}const P=x("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover-elevate active-elevate-2",{variants:{variant:{default:"bg-primary text-primary-foreground border border-primary-border",destructive:"bg-destructive text-destructive-foreground shadow-sm border-destructive-border",outline:" border [border-color:var(--button-outline)] shadow-xs active:shadow-none ",secondary:"border bg-secondary text-secondary-foreground border border-secondary-border ",ghost:"border border-transparent",link:"text-primary underline-offset-4 hover:underline"},size:{default:"min-h-9 px-4 py-2",sm:"min-h-8 rounded-md px-3 text-xs",lg:"min-h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),A=i.forwardRef(({className:e,variant:t,size:n,asChild:o=!1,...r},s)=>{const a=o?_:"button";return f.jsx(a,{className:v(P({variant:t,size:n,className:e})),ref:s,...r})});A.displayName="Button";export{A as B};
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.