1import{r as n,j as u}from"./chunk-4WY6JWTD-DoFnijRJ.js";import{c as y,T as x}from"./Typography-CTmNgK65.js";const f=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),g=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,o)=>o?o.toUpperCase():r.toLowerCase()),b=t=>{const e=g(t);return e.charAt(0).toUpperCase()+e.slice(1)},d=(...t)=>t.filter((e,r,o)=>!!e&&e.trim()!==""&&o.indexOf(e)===r).join(" ").trim(),h=t=>{for(const e in t)if(e.startsWith("aria-")||e==="role"||e==="title")return!0};var v={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const w=n.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:s="",children:a,iconNode:i,...c},p)=>n.createElement("svg",{ref:p,...v,width:e,height:e,stroke:t,strokeWidth:o?Number(r)*24/Number(e):r,className:d("lucide",s),...!a&&!h(c)&&{"aria-hidden":"true"},...c},[...i.map(([l,m])=>n.createElement(l,m)),...Array.isArray(a)?a:[a]]));const A=(t,e)=>{const r=n.forwardRef(({className:o,...s},a)=>n.createElement(w,{ref:a,iconNode:e,className:d(`lucide-${f(b(t))}`,`lucide-${t}`,o),...s}));return r.displayName=b(t),r},k=({variant:t="primary",disabled:e=!1,prefixIcon:r,suffixIcon:o,iconOnly:s=!1,className:a,children:i,...c})=>{const p=["flex gap-x-[8px] justify-center rounded-[1000px] transition-colors ease-out duration-300 focus:outline-none focus-visible:ring-2 focus-visible:ring-cyan-600 disabled:opacity-[0.2] cursor-pointer",t!=="nav"?s?"p-[8px]":"w-full md:w-auto px-[24px] py-[16px]":""].join(" "),l={primary:"bg-btn-primary hover:bg-btn-primary-hover disabled:hover:bg-btn-primary text-btn-primary-text",secondary:"bg-btn-secondary hover:bg-btn-secondary-hover disabled:hover:bg-btn-secondary text-white",nav:"p-[16px] hover:bg-btn-primary hover:text-btn-primary-text"};return u.jsxs("button",{className:y(p,l[t],a),disabled:e,...c,children:[r,i?u.jsx(x,{variant:"bodyStrong",children:i}):null,o]})};export{k as B,A as c};
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.