{"version":3,"file":"WV09fUVOe.PDm4AF-N.mjs","names":["MobileScrollTop","React.useContext","React.useMemo","React.Fragment","useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/ZAGP1TSdNlkjS1vxNzCF/CaSMlbmUeAS5sEKxXRgU/WV09fUVOe.js"],"sourcesContent":["// Generated by Framer (dc3a148)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,ComponentViewportProvider,cx,getFonts,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import MobileScrollTop from\"https://framerusercontent.com/modules/jut2cbtHhK7Xbhn2wAH3/NAN3zlDSxAU7UGA6klcP/hw_eZJRhN.js\";const MobileScrollTopFonts=getFonts(MobileScrollTop);const enabledGestures={I8IMWJnnt:{hover:true}};const serializationHash=\"framer-zNhdx\";const variantClassNames={I8IMWJnnt:\"framer-v-12mtfak\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"I8IMWJnnt\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-12mtfak\",className,classNames),\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"I8IMWJnnt\",ref:refBinding,style:{...style},...addPropertyOverrides({\"I8IMWJnnt-hover\":{\"data-framer-name\":undefined}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(ComponentViewportProvider,{height:30,width:\"30px\",y:(componentViewport?.y||0)+(0+((componentViewport?.height||30)-0-30)/2),children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-15pi3xu-container\",layoutDependency:layoutDependency,layoutId:\"buZyTZUyF-container\",nodeId:\"buZyTZUyF\",rendersWithMotion:true,scopeId:\"WV09fUVOe\",children:/*#__PURE__*/_jsx(MobileScrollTop,{height:\"100%\",id:\"buZyTZUyF\",layoutId:\"buZyTZUyF\",style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-zNhdx.framer-rx4b03, .framer-zNhdx .framer-rx4b03 { display: block; }\",\".framer-zNhdx.framer-12mtfak { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; padding: 0px; position: relative; width: min-content; }\",\".framer-zNhdx .framer-15pi3xu-container { flex: none; height: 30px; position: relative; width: 30px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 30\n * @framerIntrinsicWidth 30\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"K8iWVLpFq\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerWV09fUVOe=withCSS(Component,css,\"framer-zNhdx\");export default FramerWV09fUVOe;FramerWV09fUVOe.displayName=\"Scroll Top Button\";FramerWV09fUVOe.defaultProps={height:30,width:30};addFonts(FramerWV09fUVOe,[{explicitInter:true,fonts:[]},...MobileScrollTopFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerWV09fUVOe\",\"slots\":[],\"annotations\":{\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicHeight\":\"30\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"30\",\"framerAutoSizeImages\":\"true\",\"framerColorSyntax\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"K8iWVLpFq\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerImmutableVariables\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"qXAC2nB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,yCAAxvB,IAA4J,IAAkE,IAA4B,IAAoJ,CAAM,EAAqB,EAASA,EAAgB,CAAO,EAAgB,CAAC,UAAU,CAAC,MA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