{"version":3,"file":"Animated_border.DYoQxml6.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/qrRjPvI5ZdQ7CAEO0o1I/W4tXMOQsHLi036RBS9od/Animated_border.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";export function AnimatedBorder({children,radius=8,borderWidth=1,duration=15e3}){return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                @property --angle {\n                    syntax: \"<angle>\";\n                    initial-value: 90deg;\n                    inherits: true;\n                }\n\n                @keyframes borderRotate {\n                    to {\n                        --angle: 420deg;\n                    }\n                }\n\n                .animated-border {\n                    position: absolute;\n                    inset: 0;\n                    border-radius: ${radius}px;\n                    animation: borderRotate ${duration}ms linear infinite;\n                }\n\n                .animated-border::before {\n                    content: \"\";\n                    position: absolute;\n                    inset: 0;\n                    border-radius: inherit;\n                    padding: ${borderWidth}px;\n\n                    background: conic-gradient(\n                        from var(--angle),\n                        #1d1d1b,\n                        #e9cc32 0.1turn,\n                        #e9cc32 0.15turn,\n                        #1d1d1b 0.25turn\n                    );\n\n                    -webkit-mask:\n                        linear-gradient(#fff 0 0) content-box,\n                        linear-gradient(#fff 0 0);\n                    -webkit-mask-composite: xor;\n                    mask-composite: exclude;\n\n                    pointer-events: none;\n                }\n            `}),/*#__PURE__*/_jsx(\"div\",{className:\"animated-border\",children:children})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"AnimatedBorder\":{\"type\":\"reactComponent\",\"name\":\"AnimatedBorder\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Animated_border.map"],"mappings":"kHAA+E,SAAgB,EAAe,CAAC,WAAS,SAAO,EAAE,cAAY,EAAE,WAAS,MAAM,CAAC,OAAoB,EAAMA,EAAU,CAAC,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS;;;;;;;;;;;;;;;;qCAgB7M,EAAO;8CACE,EAAS;;;;;;;;+BAQxB,EAAY;;;;;;;;;;;;;;;;;;cAkB7B,CAAC,CAAc,EAAK,MAAM,CAAC,UAAU,kBAA2B,WAAS,CAAC,CAAC,CAAC,CAAC,kBA3CZ"}