{"version":3,"file":"Border.B9TDi_Mk.mjs","names":[],"sources":["https:/framerusercontent.com/modules/emeBjGcJPqNQbdilD0BG/jvUHeaA234XcVVsif39g/Border.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";export function withAnimatedBorder(Component){return props=>{return /*#__PURE__*/ _jsx(Component,{...props,children:/*#__PURE__*/ _jsx(motion.div,{initial:{\"--rotate\":\"0deg\"},animate:{\"--rotate\":\"-360deg\"},transition:{duration:6,ease:\"linear\",repeat:Infinity},style:{width:\"100%\",height:\"100%\"},children:/*#__PURE__*/ _jsx(\"div\",{style:{...props[\"style\"],width:\"100%\",height:\"100%\",border:\"none\",backgroundImage:`conic-gradient(from var(--rotate) at 50% 50%, rgba(0,0,0,0) 0%, ${props[\"style\"][\"--border-color\"]} 15%, rgba(0,0,0,0) 30%)`}})})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withAnimatedBorder\":{\"type\":\"reactHoc\",\"name\":\"withAnimatedBorder\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Border.map"],"mappings":"0MAA6E,SAAgB,EAAmB,EAAU,CAAC,MAAO,IAA6B,EAAK,EAAU,CAAC,GAAG,EAAM,SAAuB,EAAK,EAAO,IAAI,CAAC,QAAQ,CAAC,WAAW,OAAO,CAAC,QAAQ,CAAC,WAAW,UAAU,CAAC,WAAW,CAAC,SAAS,EAAE,KAAK,SAAS,OAAO,IAAS,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,CAAC,SAAuB,EAAK,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,MAAS,MAAM,OAAO,OAAO,OAAO,OAAO,OAAO,gBAAgB,mEAAmE,EAAM,MAAS,kBAAkB,0BAA0B,CAAC,EAAE,EAAE,CAAK"}