import{j as o}from"./app-BGey7YPf.js";import{a as s}from"./button-D5r5edT8.js";function p({borderWidth:e=1,duration:n=14,shineColor:a="#000000",className:r,style:t,...i}){return o.jsx("div",{style:{"--border-width":`${e}px`,"--duration":`${n}s`,backgroundImage:`radial-gradient(transparent,transparent, ${Array.isArray(a)?a.join(","):a},transparent,transparent)`,backgroundSize:"300% 300%",mask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",WebkitMask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",WebkitMaskComposite:"xor",maskComposite:"exclude",padding:"var(--border-width)",...t},className:s("pointer-events-none absolute inset-0 size-full rounded-[inherit] will-change-[background-position] motion-safe:animate-shine",r),...i})}export{p as S};
