{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/ObbwdQaCLuEoIVQj6Fxr/ohUGSG59CRpt8VgCDbWa/WghDEsvtW.js", "ssg:https://framerusercontent.com/modules/f8wBTZ8mxclvbvykScIB/6DAlfznMzfm4bNXZ4cAd/ScrollToTopButton.js"],
  "sourcesContent": ["// Generated by Framer (b62c1c2)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCodeBoundaryForOverrides,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import{ScrollToTopButton}from\"https://framerusercontent.com/modules/f8wBTZ8mxclvbvykScIB/6DAlfznMzfm4bNXZ4cAd/ScrollToTopButton.js\";import{Icon as Phosphor}from\"https://framerusercontent.com/modules/tYScH7LTqUtz5KUaUAYP/p8dptk4UIND8hbFWz9V7/Phosphor.js\";const PhosphorFonts=getFonts(Phosphor);const MotionDivScrollToTopButton1wadoo1=withCodeBoundaryForOverrides(motion.div,{nodeId:\"Tjj5SoiZB\",override:ScrollToTopButton,scopeId:\"WghDEsvtW\"});const serializationHash=\"framer-uZnlf\";const variantClassNames={Tjj5SoiZB:\"framer-v-1wadoo1\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={damping:60,delay:0,mass:1,stiffness:500,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=({color,height,iconColor,id,width,...props})=>{return{...props,DxFECmhqH:color??props.DxFECmhqH??\"var(--token-b77bf38b-fa7f-417c-afa9-fa6076614463, rgba(0, 0, 0, 0.9))\",iJ_vf1x3s:iconColor??props.iJ_vf1x3s??\"var(--token-1055a5dc-b1d3-41b9-8066-a3abfbbab218, rgb(255, 255, 255))\"};};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,DxFECmhqH,iJ_vf1x3s,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"Tjj5SoiZB\",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(MotionDivScrollToTopButton1wadoo1,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1wadoo1\",className,classNames),\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"Tjj5SoiZB\",ref:refBinding,style:{backgroundColor:DxFECmhqH,borderBottomLeftRadius:1e3,borderBottomRightRadius:1e3,borderTopLeftRadius:1e3,borderTopRightRadius:1e3,...style},children:/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1i7y5sn-container\",\"data-framer-name\":\"Arrow Icon\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"M2n6d1Z9t-container\",name:\"Arrow Icon\",nodeId:\"M2n6d1Z9t\",rendersWithMotion:true,scopeId:\"WghDEsvtW\",style:{rotate:360},children:/*#__PURE__*/_jsx(Phosphor,{color:iJ_vf1x3s,height:\"100%\",iconSearch:\"arrow-up\",iconSelection:\"Money\",id:\"M2n6d1Z9t\",layoutId:\"M2n6d1Z9t\",mirrored:false,name:\"Arrow Icon\",selectByList:false,style:{height:\"100%\",width:\"100%\"},weight:\"bold\",width:\"100%\"})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-uZnlf.framer-3y4l3s, .framer-uZnlf .framer-3y4l3s { display: block; }\",\".framer-uZnlf.framer-1wadoo1 { height: 60px; position: relative; width: 60px; }\",\".framer-uZnlf .framer-1i7y5sn-container { flex: none; height: 18px; left: calc(50.00000000000002% - 18px / 2); position: absolute; top: calc(50.00000000000002% - 18px / 2); width: 18px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 60\n * @framerIntrinsicWidth 60\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"DxFECmhqH\":\"color\",\"iJ_vf1x3s\":\"iconColor\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramerWghDEsvtW=withCSS(Component,css,\"framer-uZnlf\");export default FramerWghDEsvtW;FramerWghDEsvtW.displayName=\"Scroll-to-Top Button\";FramerWghDEsvtW.defaultProps={height:60,width:60};addPropertyControls(FramerWghDEsvtW,{DxFECmhqH:{defaultValue:'var(--token-b77bf38b-fa7f-417c-afa9-fa6076614463, rgba(0, 0, 0, 0.9)) /* {\"name\":\"Button\"} */',title:\"Color\",type:ControlType.Color},iJ_vf1x3s:{defaultValue:'var(--token-1055a5dc-b1d3-41b9-8066-a3abfbbab218, rgb(255, 255, 255)) /* {\"name\":\"Icon\"} */',title:\"Icon Color\",type:ControlType.Color}});addFonts(FramerWghDEsvtW,[{explicitInter:true,fonts:[]},...PhosphorFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerWghDEsvtW\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"60\",\"framerComponentViewportWidth\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerDisplayContentsDiv\":\"false\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"60\",\"framerVariables\":\"{\\\"DxFECmhqH\\\":\\\"color\\\",\\\"iJ_vf1x3s\\\":\\\"iconColor\\\"}\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WghDEsvtW.map", "import{jsx as _jsx}from\"react/jsx-runtime\";import React from\"react\";function OptimizationFriendly({loading,loaded}){const[isLoading,setLoading]=React.useState(true);React.useEffect(()=>setLoading(false),[]);return isLoading?loading:loaded;}function scrollToTop(){window.scrollTo({top:0,behavior:\"smooth\"});}function withLoaded(Component){return props=>{return /*#__PURE__*/ _jsx(Component,{...props,onClick:scrollToTop});};}export function ScrollToTopButton(Component){return props=>{const ComponentWithLoaded=withLoaded(Component);return /*#__PURE__*/ _jsx(OptimizationFriendly,{loading:/*#__PURE__*/ _jsx(Component,{...props}),loaded:/*#__PURE__*/ _jsx(ComponentWithLoaded,{...props})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"ScrollToTopButton\":{\"type\":\"reactHoc\",\"name\":\"ScrollToTopButton\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ScrollToTopButton.map"],
  "mappings": "qUAAAA,ICAAC,IAAoE,SAASC,EAAqB,CAAC,QAAAC,EAAQ,O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AM,CAAC,gBAAgBY,EAAU,uBAAuB,IAAI,wBAAwB,IAAI,oBAAoB,IAAI,qBAAqB,IAAI,GAAGJ,CAAK,EAAE,SAAsB1B,EAAKiD,EAA0B,CAAC,SAAsBjD,EAAKkD,EAA8B,CAAC,UAAU,2BAA2B,mBAAmB,aAAa,iBAAiB,GAAK,iBAAiB,GAAK,iBAAiBP,EAAiB,SAAS,sBAAsB,KAAK,aAAa,OAAO,YAAY,kBAAkB,GAAK,QAAQ,YAAY,MAAM,CAAC,OAAO,GAAG,EAAE,SAAsB3C,EAAKmD,EAAS,CAAC,MAAMpB,EAAU,OAAO,OAAO,WAAW,WAAW,cAAc,QAAQ,GAAG,YAAY,SAAS,YAAY,SAAS,GAAM,KAAK,aAAa,aAAa,GAAM,MAAM,CAAC,OAAO,OAAO,MAAM,MAAM,EAAE,OAAO,OAAO,MAAM,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,CAAC,EAAQqB,GAAI,CAAC,kFAAkF,gFAAgF,kFAAkF,6LAA6L,EASl0IC,EAAgBC,EAAQzC,GAAUuC,GAAI,cAAc,EAASG,GAAQF,EAAgBA,EAAgB,YAAY,uBAAuBA,EAAgB,aAAa,CAAC,OAAO,GAAG,MAAM,EAAE,EAAEG,EAAoBH,EAAgB,CAAC,UAAU,CAAC,aAAa,gGAAgG,MAAM,QAAQ,KAAKI,EAAY,KAAK,EAAE,UAAU,CAAC,aAAa,8FAA8F,MAAM,aAAa,KAAKA,EAAY,KAAK,CAAC,CAAC,EAAEC,EAASL,EAAgB,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,EAAE,GAAGM,CAAa,EAAE,CAAC,6BAA6B,EAAI,CAAC",
  "names": ["init_ssg_sandbox_shims", "init_ssg_sandbox_shims", "OptimizationFriendly", "loading", "loaded", "isLoading", "setLoading", "e", "scrollToTop", "withLoaded", "Component", "props", "p", "ScrollToTopButton", "ComponentWithLoaded", "PhosphorFonts", "getFonts", "Icon", "MotionDivScrollToTopButton1wadoo1", "withCodeBoundaryForOverrides", "motion", "ScrollToTopButton", "serializationHash", "variantClassNames", "transition1", "Transition", "value", "children", "config", "re", "MotionConfigContext", "transition", "contextValue", "se", "p", "Variants", "motion", "x", "getProps", "color", "height", "iconColor", "id", "width", "props", "createLayoutDependency", "variants", "Component", "Y", "ref", "fallbackRef", "pe", "refBinding", "defaultLayoutId", "ae", "activeLocale", "setLocale", "useLocaleInfo", "componentViewport", "useComponentViewport", "style", "className", "layoutId", "variant", "DxFECmhqH", "iJ_vf1x3s", "restProps", "baseVariant", "classNames", "clearLoadingGesture", "gestureHandlers", "gestureVariant", "isLoading", "setGestureState", "setVariant", "useVariantState", "variantClassNames", "layoutDependency", "scopingClassNames", "cx", "serializationHash", "LayoutGroup", "MotionDivScrollToTopButton1wadoo1", "ComponentViewportProvider", "SmartComponentScopedContainer", "Icon", "css", "FramerWghDEsvtW", "withCSS", "WghDEsvtW_default", "addPropertyControls", "ControlType", "addFonts", "PhosphorFonts"]
}
