{"version":3,"file":"Conic_Gradient_Component.D0L9Sw7Z.mjs","names":[],"sources":["https:/framerusercontent.com/modules/jsl0VzqHa1KEXpPi60BH/zqkz5VTNbsDYXS6mKba3/Conic_Gradient_Component.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";export default function ConicGradientAnimation({width,height,borderColor=\"#ff00ff\",animationDuration=6,blurRadius=2,borderRadius=0,backgroundColor=\"rgba(255, 255, 255, 0.1)\",overlayBorderColor=\"#ff00ff\",overlayMargin=1,text=\"Rotating Border\",textColor=\"#000000\",fontSize=16,fontWeight=400,fontFamily=\"Inter\",letterSpacing=0,children}){return /*#__PURE__*/_jsxs(\"div\",{style:{width:width||\"100%\",height:height||\"100%\",position:\"relative\",overflow:\"hidden\",borderRadius:`${borderRadius}px`,minWidth:\"12px\",minHeight:\"12px\"},children:[/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",top:\"-450%\",left:0,right:0,bottom:0,height:\"1000%\",background:`conic-gradient(transparent 200deg, ${borderColor})`,borderRadius:`${borderRadius}px`,zIndex:1},initial:{rotate:0},animate:{rotate:360},transition:{duration:animationDuration,ease:\"linear\",repeat:Infinity,repeatDelay:0}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:`${overlayMargin}px`,left:`${overlayMargin}px`,right:`${overlayMargin}px`,bottom:`${overlayMargin}px`,backdropFilter:`blur(${blurRadius}px)`,backgroundColor:backgroundColor,border:`1px solid ${overlayBorderColor}`,borderRadius:`${Math.max(0,borderRadius-overlayMargin)}px`,zIndex:2,pointerEvents:\"none\"}}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",zIndex:3,width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",padding:\"8px\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{color:textColor,fontSize:`${fontSize}px`,fontWeight:fontWeight,fontFamily:fontFamily,letterSpacing:`${letterSpacing}px`,textAlign:\"center\",whiteSpace:\"nowrap\",overflow:\"hidden\",textOverflow:\"ellipsis\",maxWidth:\"100%\",userSelect:\"none\"},children:text}),children]})]});}// Property controls for Framer\naddPropertyControls(ConicGradientAnimation,{// Animation Controls\nborderColor:{type:ControlType.Color,title:\"Conic Color\",defaultValue:\"#ff00ff\"},animationDuration:{type:ControlType.Number,title:\"Animation Duration (seconds)\",defaultValue:6,min:.5,max:20,step:.1},overlayMargin:{type:ControlType.Number,title:\"Animation Margin\",defaultValue:1,min:1,max:4,step:1},// Visual Effects\nblurRadius:{type:ControlType.Number,title:\"Blur Radius\",defaultValue:2,min:0,max:10,step:.5},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:0,min:0,max:50,step:1},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"rgba(255, 255, 255, 0.1)\"},overlayBorderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#ff00ff\"},// Content\ntext:{type:ControlType.String,title:\"Text\",defaultValue:\"Rotating Border\"},// Typography\ntextColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000000\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:16,min:8,max:72,step:1},fontWeight:{type:ControlType.Number,title:\"Font Weight\",defaultValue:400,min:100,max:900,step:100},fontFamily:{type:ControlType.Enum,title:\"Font Family\",defaultValue:\"Inter\",options:[\"Inter\",\"Arial\",\"Helvetica\",\"Times New Roman\",\"Georgia\",\"Verdana\",\"Roboto\",\"Open Sans\",\"Lato\",\"Poppins\",\"Montserrat\",\"Source Sans Pro\"],optionTitles:[\"Inter\",\"Arial\",\"Helvetica\",\"Times New Roman\",\"Georgia\",\"Verdana\",\"Roboto\",\"Open Sans\",\"Lato\",\"Poppins\",\"Montserrat\",\"Source Sans Pro\"]},letterSpacing:{type:ControlType.Number,title:\"Letter Spacing\",defaultValue:0,min:-2,max:10,step:.1},children:{type:ControlType.ComponentInstance,title:\"External Content\",description:\"Link to child element when text content isn't used\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ConicGradientAnimation\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Conic_Gradient_Component.map"],"mappings":"oNAA+I,SAAwB,EAAuB,CAAC,QAAM,SAAO,cAAY,UAAU,oBAAkB,EAAE,aAAW,EAAE,eAAa,EAAE,kBAAgB,2BAA2B,qBAAmB,UAAU,gBAAc,EAAE,OAAK,kBAAkB,YAAU,UAAU,WAAS,GAAG,aAAW,IAAI,aAAW,QAAQ,gBAAc,EAAE,YAAU,CAAC,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,MAAM,GAAO,OAAO,OAAO,GAAQ,OAAO,SAAS,WAAW,SAAS,SAAS,aAAa,GAAG,EAAa,IAAI,SAAS,OAAO,UAAU,MAAM,EAAE,SAAS,CAAc,EAAK,EAAO,IAAI,CAAC,MAAM,CAAC,SAAS,WAAW,IAAI,QAAQ,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,QAAQ,WAAW,sCAAsC,EAAY,GAAG,aAAa,GAAG,EAAa,IAAI,OAAO,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC,OAAO,GAAG,EAAE,WAAW,CAAC,SAAS,EAAkB,KAAK,SAAS,OAAO,IAAS,YAAY,CAAC,CAAC,CAAC,EAAe,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,IAAI,GAAG,EAAc,IAAI,KAAK,GAAG,EAAc,IAAI,MAAM,GAAG,EAAc,IAAI,OAAO,GAAG,EAAc,IAAI,eAAe,QAAQ,EAAW,KAAqB,kBAAgB,OAAO,aAAa,IAAqB,aAAa,GAAG,KAAK,IAAI,EAAE,EAAa,CAAa,EAAE,IAAI,OAAO,EAAE,cAAc,MAAM,CAAC,CAAC,EAAe,EAA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