{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/d1niJIcVKVFLRrIcRs3f/PaWds5UnXagQgGTvMTo0/ScrollToTopButton.js", "ssg:https://framerusercontent.com/modules/bKEWPqKcZ6fCeR295V6Z/2P66WVYFdCIK9c6HFAGG/E9m4NESNb.js"],
  "sourcesContent": ["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", "// Generated by Framer (915daba)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,SVG,useComponentViewport,useLocaleInfo,useVariantState,withCodeBoundaryForOverrides,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{ScrollToTopButton}from\"https://framerusercontent.com/modules/d1niJIcVKVFLRrIcRs3f/PaWds5UnXagQgGTvMTo0/ScrollToTopButton.js\";const MotionDivScrollToTopButton18ckboe=withCodeBoundaryForOverrides(motion.div,{nodeId:\"nG3iwFXHx\",override:ScrollToTopButton,scopeId:\"E9m4NESNb\"});const enabledGestures={nG3iwFXHx:{hover:true}};const serializationHash=\"framer-dbQ3a\";const variantClassNames={nG3iwFXHx:\"framer-v-18ckboe\"};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,id,width,...props})=>{return{...props,DxFECmhqH:color??props.DxFECmhqH??\"var(--token-b77bf38b-fa7f-417c-afa9-fa6076614463, rgba(0, 0, 0, 0.9))\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,DxFECmhqH,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"nG3iwFXHx\",enabledGestures,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const ref1=React.useRef(null);const defaultLayoutId=React.useId();const componentViewport=useComponentViewport();return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(MotionDivScrollToTopButton18ckboe,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-18ckboe\",className,classNames),\"data-border\":true,\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"nG3iwFXHx\",ref:ref??ref1,style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"var(--token-12b88a2b-a8d4-44a6-84a9-320093433834, rgb(249, 246, 238))\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",backgroundColor:DxFECmhqH,borderBottomLeftRadius:1e3,borderBottomRightRadius:1e3,borderTopLeftRadius:1e3,borderTopRightRadius:1e3,...style},...addPropertyOverrides({\"nG3iwFXHx-hover\":{\"data-framer-name\":undefined}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(SVG,{className:\"framer-1pazrum\",\"data-framer-name\":\"Vector\",layout:\"position\",layoutDependency:layoutDependency,layoutId:\"xSrJvsSxq\",opacity:1,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 24 24\"><path d=\"M 12.444 1.85 C 13.141 1.85 13.707 2.415 13.707 3.113 L 13.707 20.797 C 13.707 21.495 13.141 22.06 12.444 22.06 C 11.746 22.06 11.18 21.495 11.18 20.797 L 11.18 3.113 C 11.18 2.415 11.746 1.85 12.444 1.85 Z\" fill=\"var(--token-b69c9ad2-3aac-49fb-8c4b-a340d31d1524, rgb(142, 143, 144)) /* {&quot;name&quot;:&quot;Grey 3&quot;} */\"></path><path d=\"M 11.55 2.22 C 12.044 1.726 12.843 1.726 13.337 2.22 L 22.179 11.062 C 22.672 11.555 22.672 12.355 22.179 12.848 C 21.686 13.342 20.886 13.342 20.392 12.848 L 12.444 4.899 L 4.495 12.848 C 4.001 13.342 3.202 13.342 2.708 12.848 C 2.215 12.355 2.215 11.555 2.708 11.062 Z\" fill=\"var(--token-b69c9ad2-3aac-49fb-8c4b-a340d31d1524, rgb(142, 143, 144)) /* {&quot;name&quot;:&quot;Grey 3&quot;} */\"></path></svg>',svgContentId:10794990132,withExternalLayout:true,...addPropertyOverrides({\"nG3iwFXHx-hover\":{svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 24 24\"><path d=\"M 12.444 1.85 C 13.141 1.85 13.707 2.415 13.707 3.113 L 13.707 20.797 C 13.707 21.495 13.141 22.06 12.444 22.06 C 11.746 22.06 11.18 21.495 11.18 20.797 L 11.18 3.113 C 11.18 2.415 11.746 1.85 12.444 1.85 Z\" fill=\"var(--token-12b88a2b-a8d4-44a6-84a9-320093433834, rgb(249, 246, 238)) /* {&quot;name&quot;:&quot;White&quot;} */\"></path><path d=\"M 11.55 2.22 C 12.044 1.726 12.843 1.726 13.337 2.22 L 22.179 11.062 C 22.672 11.555 22.672 12.355 22.179 12.848 C 21.686 13.342 20.886 13.342 20.392 12.848 L 12.444 4.899 L 4.495 12.848 C 4.001 13.342 3.202 13.342 2.708 12.848 C 2.215 12.355 2.215 11.555 2.708 11.062 Z\" fill=\"var(--token-12b88a2b-a8d4-44a6-84a9-320093433834, rgb(249, 246, 238)) /* {&quot;name&quot;:&quot;White&quot;} */\"></path></svg>',svgContentId:10303462989}},baseVariant,gestureVariant)})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-dbQ3a.framer-cnt7io, .framer-dbQ3a .framer-cnt7io { display: block; }\",\".framer-dbQ3a.framer-18ckboe { cursor: pointer; height: 60px; position: relative; width: 60px; }\",\".framer-dbQ3a .framer-1pazrum { flex: none; height: 24px; left: calc(50.00000000000002% - 24px / 2); position: absolute; top: calc(50.00000000000002% - 24px / 2); width: 24px; }\",'.framer-dbQ3a[data-border=\"true\"]::after, .framer-dbQ3a [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 60\n * @framerIntrinsicWidth 60\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"v2t6VdIMR\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"DxFECmhqH\":\"color\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramerE9m4NESNb=withCSS(Component,css,\"framer-dbQ3a\");export default FramerE9m4NESNb;FramerE9m4NESNb.displayName=\"Scroll-to-Top Button Copy\";FramerE9m4NESNb.defaultProps={height:60,width:60};addPropertyControls(FramerE9m4NESNb,{DxFECmhqH:{defaultValue:'var(--token-b77bf38b-fa7f-417c-afa9-fa6076614463, rgba(0, 0, 0, 0.9)) /* {\"name\":\"Button\"} */',title:\"Color\",type:ControlType.Color}});addFonts(FramerE9m4NESNb,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerE9m4NESNb\",\"slots\":[],\"annotations\":{\"framerDisplayContentsDiv\":\"false\",\"framerVariables\":\"{\\\"DxFECmhqH\\\":\\\"color\\\"}\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicWidth\":\"60\",\"framerIntrinsicHeight\":\"60\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"v2t6VdIMR\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./E9m4NESNb.map"],
  "mappings": "+PAAoE,SAASA,EAAqB,CAAC,QAAAC,EAAQ,OAAAC,CAAM,EAAE,CAAC,GAAK,CAACC,EAAUC,CAAU,EAAEC,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Ac,GAAK,mBAAmB,YAAY,iBAAiBQ,EAAiB,SAAS,YAAY,IAAIlB,GAAKqB,EAAK,MAAM,CAAC,wBAAwB,MAAM,iBAAiB,wEAAwE,sBAAsB,MAAM,uBAAuB,MAAM,iBAAiB,QAAQ,qBAAqB,MAAM,gBAAgBd,EAAU,uBAAuB,IAAI,wBAAwB,IAAI,oBAAoB,IAAI,qBAAqB,IAAI,GAAGH,CAAK,EAAE,GAAG/B,EAAqB,CAAC,kBAAkB,CAAC,mBAAmB,MAAS,CAAC,EAAEoC,EAAYI,CAAc,EAAE,SAAsBzB,EAAKwC,EAAI,CAAC,UAAU,iBAAiB,mBAAmB,SAAS,OAAO,WAAW,iBAAiBV,EAAiB,SAAS,YAAY,QAAQ,EAAE,IAAI,k2BAAk2B,aAAa,YAAY,mBAAmB,GAAK,GAAG7C,EAAqB,CAAC,kBAAkB,CAAC,IAAI,g2BAAg2B,aAAa,WAAW,CAAC,EAAEoC,EAAYI,CAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,CAAC,EAAQgB,GAAI,CAAC,kFAAkF,gFAAgF,mGAAmG,oLAAoL,+bAA+b,EASnnMC,EAAgBC,EAAQjC,GAAU+B,GAAI,cAAc,EAASG,GAAQF,EAAgBA,EAAgB,YAAY,4BAA4BA,EAAgB,aAAa,CAAC,OAAO,GAAG,MAAM,EAAE,EAAEG,EAAoBH,EAAgB,CAAC,UAAU,CAAC,aAAa,gGAAgG,MAAM,QAAQ,KAAKI,EAAY,KAAK,CAAC,CAAC,EAAEC,EAASL,EAAgB,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,6BAA6B,EAAI,CAAC",
  "names": ["OptimizationFriendly", "loading", "loaded", "isLoading", "setLoading", "e", "scrollToTop", "window", "withLoaded", "Component", "props", "p", "ScrollToTopButton", "ComponentWithLoaded", "MotionDivScrollToTopButton18ckboe", "withCodeBoundaryForOverrides", "motion", "ScrollToTopButton", "enabledGestures", "serializationHash", "variantClassNames", "addPropertyOverrides", "overrides", "variants", "nextOverrides", "variant", "transition1", "Transition", "value", "children", "config", "re", "MotionConfigContext", "transition", "contextValue", "se", "p", "Variants", "x", "getProps", "color", "height", "id", "width", "props", "createLayoutDependency", "Component", "Y", "ref", "activeLocale", "setLocale", "useLocaleInfo", "style", "className", "layoutId", "DxFECmhqH", "restProps", "baseVariant", "classNames", "clearLoadingGesture", "gestureHandlers", "gestureVariant", "isLoading", "setGestureState", "setVariant", "useVariantState", "layoutDependency", "scopingClassNames", "cx", "ref1", "pe", "defaultLayoutId", "ae", "componentViewport", "useComponentViewport", "LayoutGroup", "SVG", "css", "FramerE9m4NESNb", "withCSS", "E9m4NESNb_default", "addPropertyControls", "ControlType", "addFonts"]
}
