"use strict";var t=require("react/jsx-runtime"),a=require("../../lib/cn.js");const l=({inverted:c,neutral:o,progress:d=30,size:e=64,strokeWidth:r=6})=>{const s=e/2,h=Math.abs(d)/100,n=2*Math.PI*s,i=c?"stroke-surface-primary":o?"stroke-text-primary":"stroke-brand-base";return t.jsx("div",{className:"inline-flex items-center justify-center",children:t.jsxs("svg",{width:e,height:e,viewBox:`0 0 ${e} ${e}`,fill:"none",stroke:"none",xmlns:"http://www.w3.org/2000/svg",children:[t.jsx("circle",{className:a.cn(i,"opacity-[0.12]"),cx:"50%",cy:"50%",r:s-r/2,strokeLinecap:"round",strokeWidth:r}),t.jsx("circle",{className:a.cn("animate-spin origin-center",i),cx:"50%",cy:"50%",r:s-r/2,strokeDasharray:n,strokeDashoffset:n-n*h+r*4,strokeLinecap:"round",strokeWidth:r})]})})};exports.LoadingSpinner=l;
//# sourceMappingURL=loading-spinner.js.map
