{"version":3,"file":"VdEUrLLfc.BYAlLS1S.mjs","names":["Button","React.useContext","React.useMemo","React.Fragment","useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/nBAkIq0odQPP48M9cpJl/sXm5ia2BCWgYhHBhtP0l/VdEUrLLfc.js"],"sourcesContent":["// Generated by Framer (e0edd7a)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,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 Button from\"https://framerusercontent.com/modules/e6APFGw7rUc0TThiFkmS/63OVc7ACyk0tWm16cpem/taNtUa5VO.js\";const ButtonFonts=getFonts(Button);const cycleOrder=[\"kN58YDgBU\",\"O1mKcrn7H\"];const serializationHash=\"framer-RcPBF\";const variantClassNames={kN58YDgBU:\"framer-v-1du59h8\",O1mKcrn7H:\"framer-v-vyi1gb\"};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 humanReadableVariantMap={Desktop:\"kN58YDgBU\",Phone:\"O1mKcrn7H\"};const getProps=({background,backgroundHover,backgroundPressed,border,height,id,link,textColor,textColorHover,textColorPressed,width,...props})=>{return{...props,BH43843_7:backgroundPressed??props.BH43843_7??\"var(--token-fcfa7ad1-2aba-44d1-9066-9c2a042c8d1a, rgb(26, 26, 26))\",E4B_msRyf:textColor??props.E4B_msRyf??\"var(--token-fcfa7ad1-2aba-44d1-9066-9c2a042c8d1a, rgb(26, 26, 26))\",FtepQqjQj:textColorHover??props.FtepQqjQj??\"var(--token-51da329a-e2a9-45f6-adb2-a1c76a3f43f1, rgb(255, 255, 255))\",nbIKM5R2N:border??props.nbIKM5R2N??{borderColor:\"var(--token-fcfa7ad1-2aba-44d1-9066-9c2a042c8d1a, rgb(26, 26, 26))\",borderStyle:\"solid\",borderWidth:2},q1xUbbubJ:link??props.q1xUbbubJ,rSOujQZ5a:background??props.rSOujQZ5a??\"var(--token-5b8180fc-726f-462c-b235-cdf7eca44cfe, rgb(247, 247, 248))\",variant:humanReadableVariantMap[props.variant]??props.variant??\"kN58YDgBU\",VlovhGEOK:textColorPressed??props.VlovhGEOK??\"var(--token-51da329a-e2a9-45f6-adb2-a1c76a3f43f1, rgb(255, 255, 255))\",ytEzl_jMi:backgroundHover??props.ytEzl_jMi??\"var(--token-9fd2f7dc-736b-454b-9934-23011001ae89, rgb(0, 121, 175))\"};};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,q1xUbbubJ,nbIKM5R2N,rSOujQZ5a,ytEzl_jMi,BH43843_7,E4B_msRyf,FtepQqjQj,VlovhGEOK,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"kN58YDgBU\",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-1du59h8\",className,classNames),\"data-framer-name\":\"Desktop\",layoutDependency:layoutDependency,layoutId:\"kN58YDgBU\",ref:refBinding,style:{backgroundColor:rSOujQZ5a,...style},...addPropertyOverrides({O1mKcrn7H:{\"data-framer-name\":\"Phone\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1kvzuc8\",\"data-framer-name\":\"Padder\",layoutDependency:layoutDependency,layoutId:\"SnRdd1sK2\",children:/*#__PURE__*/_jsx(ComponentViewportProvider,{height:32,y:(componentViewport?.y||0)+0+(((componentViewport?.height||32)-0-32)/2+0+0)+0+0,children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-9s3v0c-container\",\"data-framer-name\":\"Button\",layoutDependency:layoutDependency,layoutId:\"Y97PVqTyS-container\",name:\"Button\",nodeId:\"Y97PVqTyS\",rendersWithMotion:true,scopeId:\"VdEUrLLfc\",children:/*#__PURE__*/_jsx(Button,{A9oxEyjYW:nbIKM5R2N,AGsXnP7bM:\"↑ Scroll to the Top\",eBsOvyFVc:ytEzl_jMi,gt5NggmRA:FtepQqjQj,height:\"100%\",id:\"Y97PVqTyS\",layoutId:\"Y97PVqTyS\",MHq8TRJug:q1xUbbubJ,name:\"Button\",sSrbeiwgx:BH43843_7,style:{height:\"100%\"},u9he5a6Yp:E4B_msRyf,utTO3lVrb:VlovhGEOK,width:\"100%\",YYbNaEp3G:rSOujQZ5a})})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-RcPBF.framer-1tlh6td, .framer-RcPBF .framer-1tlh6td { display: block; }\",\".framer-RcPBF.framer-1du59h8 { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 16px; height: min-content; justify-content: center; overflow: visible; padding: 0px; position: relative; width: 1120px; }\",\".framer-RcPBF .framer-1kvzuc8 { align-content: flex-start; align-items: flex-start; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 16px; height: min-content; justify-content: center; max-width: 1120px; overflow: visible; padding: 0px 60px 0px 60px; position: relative; width: 100%; }\",\".framer-RcPBF .framer-9s3v0c-container { flex: none; height: 32px; position: relative; width: auto; }\",\".framer-RcPBF.framer-v-vyi1gb.framer-1du59h8 { width: 390px; }\",\".framer-RcPBF.framer-v-vyi1gb .framer-1kvzuc8 { max-width: unset; padding: 0px 30px 0px 30px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 32\n * @framerIntrinsicWidth 1120\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"O1mKcrn7H\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"q1xUbbubJ\":\"link\",\"nbIKM5R2N\":\"border\",\"rSOujQZ5a\":\"background\",\"ytEzl_jMi\":\"backgroundHover\",\"BH43843_7\":\"backgroundPressed\",\"E4B_msRyf\":\"textColor\",\"FtepQqjQj\":\"textColorHover\",\"VlovhGEOK\":\"textColorPressed\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerVdEUrLLfc=withCSS(Component,css,\"framer-RcPBF\");export default FramerVdEUrLLfc;FramerVdEUrLLfc.displayName=\"Scroll Up\";FramerVdEUrLLfc.defaultProps={height:32,width:1120};addPropertyControls(FramerVdEUrLLfc,{variant:{options:[\"kN58YDgBU\",\"O1mKcrn7H\"],optionTitles:[\"Desktop\",\"Phone\"],title:\"Variant\",type:ControlType.Enum},q1xUbbubJ:{title:\"Link\",type:ControlType.Link},nbIKM5R2N:{defaultValue:{borderColor:\"var(--token-fcfa7ad1-2aba-44d1-9066-9c2a042c8d1a, rgb(26, 26, 26))\",borderStyle:\"solid\",borderWidth:2},title:\"Border\",type:ControlType.Border},rSOujQZ5a:{defaultValue:\"var(--token-5b8180fc-726f-462c-b235-cdf7eca44cfe, rgb(247, 247, 248))\",title:\"Background\",type:ControlType.Color},ytEzl_jMi:{defaultValue:\"var(--token-9fd2f7dc-736b-454b-9934-23011001ae89, rgb(0, 121, 175))\",title:\"Background Hover\",type:ControlType.Color},BH43843_7:{defaultValue:\"var(--token-fcfa7ad1-2aba-44d1-9066-9c2a042c8d1a, rgb(26, 26, 26))\",title:\"Background Pressed\",type:ControlType.Color},E4B_msRyf:{defaultValue:\"var(--token-fcfa7ad1-2aba-44d1-9066-9c2a042c8d1a, rgb(26, 26, 26))\",description:\"\",title:\"Text Color\",type:ControlType.Color},FtepQqjQj:{defaultValue:\"var(--token-51da329a-e2a9-45f6-adb2-a1c76a3f43f1, rgb(255, 255, 255))\",title:\"Text Color Hover\",type:ControlType.Color},VlovhGEOK:{defaultValue:\"var(--token-51da329a-e2a9-45f6-adb2-a1c76a3f43f1, rgb(255, 255, 255))\",title:\"Text Color Pressed\",type:ControlType.Color}});addFonts(FramerVdEUrLLfc,[{explicitInter:true,fonts:[]},...ButtonFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerVdEUrLLfc\",\"slots\":[],\"annotations\":{\"framerColorSyntax\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicHeight\":\"32\",\"framerComponentViewportWidth\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"O1mKcrn7H\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicWidth\":\"1120\",\"framerContractVersion\":\"1\",\"framerAutoSizeImages\":\"true\",\"framerVariables\":\"{\\\"q1xUbbubJ\\\":\\\"link\\\",\\\"nbIKM5R2N\\\":\\\"border\\\",\\\"rSOujQZ5a\\\":\\\"background\\\",\\\"ytEzl_jMi\\\":\\\"backgroundHover\\\",\\\"BH43843_7\\\":\\\"backgroundPressed\\\",\\\"E4B_msRyf\\\":\\\"textColor\\\",\\\"FtepQqjQj\\\":\\\"textColorHover\\\",\\\"VlovhGEOK\\\":\\\"textColorPressed\\\"}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"wqBACwpB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,2CAArxB,IAA4L,IAAkE,IAA4B,IAA2I,CAAM,EAAY,EAASA,EAAO,CAAO,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,kBAAkB,CAA8L,EAAY,CAAC,QAAQ,GAAG,MAAM,EAAE,KAAK,EAAE,UAAU,IAAI,KAAK,SAAS,CAAO,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOC,EAAiB,EAAoB,CAAO,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,aAAW,EAAE,CAAC,KAAK,UAAU,EAAW,CAAC,CAAC,CAAC,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,WAAS,CAAC,EAAS,EAAS,EAAO,OAAOC,EAAe,CAAO,EAAwB,CAAC,QAAQ,YAAY,MAAM,YAAY,CAAO,GAAU,CAAC,aAAW,kBAAgB,oBAAkB,SAAO,SAAO,KAAG,OAAK,YAAU,iBAAe,mBAAiB,QAAM,GAAG,MAAgB,CAAC,GAAG,EAAM,UAAU,GAAmB,EAAM,WAAW,qEAAqE,UAAU,GAAW,EAAM,WAAW,qEAAqE,UAAU,GAAgB,EAA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