{"version":3,"file":"Border.CB9J9hQD.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,CAAA,GAA6B,EAAK,EAAU,CAAC,GAAG,EAAM,SAAuB,EAAK,EAAO,IAAI,CAAC,QAAQ,CAAC,WAAW,MAAO,EAAC,QAAQ,CAAC,WAAW,SAAU,EAAC,WAAW,CAAC,SAAS,EAAE,KAAK,SAAS,OAAO,GAAS,EAAC,MAAM,CAAC,MAAM,OAAO,OAAO,MAAO,EAAC,SAAuB,EAAK,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,MAAS,MAAM,OAAO,OAAO,OAAO,OAAO,OAAO,iBAAiB,kEAAkE,EAAM,MAAS,kBAAkB,yBAA0B,CAAC,EAAC,AAAC,EAAC,AAAC,EAAC,AAAI,cAAjnB,GAA2C,IAAkC"}