{"version":3,"file":"shared-lib.CtsaTnCS.mjs","names":["__esmMin","init_ssg_sandbox_shims","window","init_jsx_runtime","c","p","motion","useTransform","useScroll","init_framer_motion_DhsWWWsN","addPropertyControls","init_framer_D1IzEvwH","ControlType","ScrollProgressButton","radius","size","strokeWidth","circumference","strokeDashoffset","scrollYProgress","strokeColor","iconColor","scrollSpeed","init_Scroll_Progress_1"],"sources":["https:/framerusercontent.com/modules/YrnVCWzsMmVfJfp1oDcq/PKnQnsa60FRDYcxlRFvk/Scroll_Progress_1.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{motion,useScroll,useTransform}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";export function ScrollProgressButton({size=60,strokeColor=\"#00ffff\",strokeWidth=4,backgroundColor=\"#1a1a1a\",iconColor=\"#ffffff\",scrollSpeed=.5}){const{scrollYProgress}=useScroll();const radius=(size-strokeWidth)/2;const circumference=2*Math.PI*radius;// Create animated stroke offset\nconst strokeDashoffset=useTransform(scrollYProgress,[0,1],[circumference,0]);const scrollToTop=()=>{window.scrollTo({top:0,behavior:\"smooth\"});};return /*#__PURE__*/_jsxs(motion.div,{onClick:scrollToTop,style:{position:\"fixed\",bottom:\"80px\",right:\"20px\",width:size,height:size,borderRadius:\"50%\",backgroundColor,display:\"flex\",justifyContent:\"center\",alignItems:\"center\",cursor:\"pointer\",zIndex:1e3},whileHover:{scale:1.1},whileTap:{scale:.95},children:[/*#__PURE__*/_jsx(\"svg\",{width:size,height:size,style:{position:\"absolute\",top:0,left:0,transform:\"rotate(-90deg)\"},children:/*#__PURE__*/_jsx(motion.circle,{cx:size/2,cy:size/2,r:radius,fill:\"none\",stroke:strokeColor,strokeWidth:strokeWidth,strokeDasharray:circumference,style:{strokeDashoffset}})}),/*#__PURE__*/_jsx(motion.svg,{xmlns:\"http://www.w3.org/2000/svg\",width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:iconColor,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",initial:{y:4},animate:{y:-2},transition:{repeat:Infinity,repeatType:\"mirror\",duration:scrollSpeed},children:/*#__PURE__*/_jsx(\"path\",{d:\"M5 12l7-7 7 7\"})})]});}// Framer Property Controls\naddPropertyControls(ScrollProgressButton,{size:{type:ControlType.Number,title:\"Button Size\",defaultValue:60,min:40,max:100},strokeColor:{type:ControlType.Color,title:\"Progress Stroke\",defaultValue:\"#00ffff\"},strokeWidth:{type:ControlType.Number,title:\"Stroke Width\",defaultValue:4,min:1,max:10},backgroundColor:{type:ControlType.Color,title:\"Button Background\",defaultValue:\"#1a1a1a\"},iconColor:{type:ControlType.Color,title:\"Arrow Color\",defaultValue:\"#ffffff\"},scrollSpeed:{type:ControlType.Number,title:\"Arrow Bounce Speed (s)\",defaultValue:.5,min:.1,max:3,step:.1}});\nexport const __FramerMetadata__ = {\"exports\":{\"ScrollProgressButton\":{\"type\":\"reactComponent\",\"name\":\"ScrollProgressButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Scroll_Progress_1.map"],"mappings":"A,gPAAsK,SAAgBa,EAAqB,CAAC,OAAK,GAAG,cAAY,UAAU,cAAY,EAAE,kBAAgB,UAAU,YAAU,UAAU,cAAY,IAAI,CAAC,GAAK,CAAC,mBAAiBL,EAAU,EAAQM,GAAQC,EAAKC,GAAa,EAAQC,EAAc,EAAE,KAAK,GAAGH,EACpZI,EAAiBX,EAAaY,EAAgB,CAAC,EAAE,CAAC,EAAE,CAACF,EAAc,CAAC,CAAC,EAAsE,MAAoB,gBAAMX,EAAO,IAAI,CAAC,YAApF,CAACJ,EAAO,SAAS,CAAC,IAAI,EAAE,SAAS,QAAQ,CAAC,CAAE,EAA4D,MAAM,CAAC,SAAS,QAAQ,OAAO,OAAO,MAAM,OAAO,MAAMa,EAAK,OAAOA,EAAK,aAAa,MAAM,kBAAgB,QAAQ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