{"version":3,"file":"LoadingSpinner.DzT5dk5S.mjs","names":[],"sources":["https:/framerusercontent.com/modules/aXr02ZPhUPzqTHsOttGE/9w82GnJ2aR99TvjlFxpw/LoadingSpinner.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Loading Spinner\n *\n * A customizable loading spinner with color, size, and speed controls.\n *\n * @framerIntrinsicWidth 50\n * @framerIntrinsicHeight 50\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function LoadingSpinner(props){const{color=\"#000000\",size=50,strokeWidth=4,speed=1}=props;const center=size/2;const radius=(size-strokeWidth)/2;const circumference=2*Math.PI*radius;return /*#__PURE__*/_jsx(\"div\",{style:{...props.style,width:size,height:size,display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:/*#__PURE__*/_jsx(motion.svg,{width:size,height:size,viewBox:`0 0 ${size} ${size}`,animate:{rotate:360},transition:{duration:1/speed,repeat:Infinity,ease:\"linear\"},children:/*#__PURE__*/_jsx(\"circle\",{cx:center,cy:center,r:radius,fill:\"none\",stroke:color,strokeWidth:strokeWidth,strokeLinecap:\"round\",strokeDasharray:circumference*.75,strokeDashoffset:0})})});}addPropertyControls(LoadingSpinner,{color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#000000\"},size:{type:ControlType.Number,title:\"Size\",defaultValue:50,min:16,max:200,step:1,unit:\"px\"},strokeWidth:{type:ControlType.Number,title:\"Stroke Width\",defaultValue:4,min:1,max:20,step:1,unit:\"px\"},speed:{type:ControlType.Number,title:\"Speed\",defaultValue:1,min:.1,max:5,step:.1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LoadingSpinner\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"50\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"50\",\"framerSupportedLayoutWidth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