{"version":3,"file":"Lb3aLeWht.QK6gnLrP.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","Image1"],"sources":["https:/framerusercontent.com/modules/dgXMak3vsUABrLEbY039/MTDXTzwLACPyvrUCa7Tp/Lb3aLeWht.js"],"sourcesContent":["// Generated by Framer (f36d8c8)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getLoadingLazyAtYPosition,Image as Image1,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const enabledGestures={FGCUGMNPY:{hover:true}};const cycleOrder=[\"FGCUGMNPY\",\"PbPjeYoXM\"];const serializationHash=\"framer-7cF7R\";const variantClassNames={FGCUGMNPY:\"framer-v-jl1pe7\",PbPjeYoXM:\"framer-v-1ygo3cf\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const S4UjIs5tv=undefined;const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const transformTemplate1=(_,t)=>`translateX(-50%) ${t}`;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 humanReadableVariantMap={\"Variant 1\":\"FGCUGMNPY\",phone:\"PbPjeYoXM\"};const Variants=motion.create(React.Fragment);const getProps=({click,height,id,width,...props})=>{return{...props,S4UjIs5tv:click??props.S4UjIs5tv,variant:humanReadableVariantMap[props.variant]??props.variant??\"FGCUGMNPY\"};};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,S4UjIs5tv,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"FGCUGMNPY\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap10htt8d=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(S4UjIs5tv){const res=await S4UjIs5tv(...args);if(res===false)return false;}});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-jl1pe7\",className,classNames),\"data-framer-name\":\"Variant 1\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"FGCUGMNPY\",onTap:onTap10htt8d,ref:refBinding,style:{...style},...addPropertyOverrides({\"FGCUGMNPY-hover\":{\"data-framer-name\":undefined},PbPjeYoXM:{\"data-framer-name\":\"phone\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-11uki97\",\"data-framer-name\":\"Top버튼_원형\",layoutDependency:layoutDependency,layoutId:\"IaLGQnpmR\",style:{backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:56,borderBottomRightRadius:56,borderTopLeftRadius:56,borderTopRightRadius:56},variants:{PbPjeYoXM:{borderBottomLeftRadius:28,borderBottomRightRadius:28,borderTopLeftRadius:28,borderTopRightRadius:28}},children:/*#__PURE__*/_jsx(Image1,{background:{alt:\"\",fit:\"fill\",intrinsicHeight:55,intrinsicWidth:87,loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0+13),pixelHeight:55,pixelWidth:87,sizes:\"36px\",src:\"https://framerusercontent.com/images/DYOaItwJtRTohf8Ofd62JfBoM.png?width=87&height=55\"},className:\"framer-k1fepy\",\"data-framer-name\":\"top버튼_화살표\",layoutDependency:layoutDependency,layoutId:\"H341fBKdi\",transformTemplate:transformTemplate1,...addPropertyOverrides({\"FGCUGMNPY-hover\":{background:{alt:\"\",fit:\"fill\",intrinsicHeight:55,intrinsicWidth:87,loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0+7),pixelHeight:55,pixelWidth:87,sizes:\"36px\",src:\"https://framerusercontent.com/images/DYOaItwJtRTohf8Ofd62JfBoM.png?width=87&height=55\"}},PbPjeYoXM:{background:{alt:\"\",fit:\"fill\",intrinsicHeight:55,intrinsicWidth:87,loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0+6.5),pixelHeight:55,pixelWidth:87,sizes:\"18px\",src:\"https://framerusercontent.com/images/DYOaItwJtRTohf8Ofd62JfBoM.png?width=87&height=55\"}}},baseVariant,gestureVariant)})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-7cF7R.framer-xaievq, .framer-7cF7R .framer-xaievq { display: block; }\",\".framer-7cF7R.framer-jl1pe7 { cursor: pointer; height: 79px; overflow: var(--overflow-clip-fallback, clip); position: relative; width: 79px; }\",\".framer-7cF7R .framer-11uki97 { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 79px); left: 0px; overflow: var(--overflow-clip-fallback, clip); position: absolute; right: 0px; top: 0px; will-change: var(--framer-will-change-override, transform); z-index: 3; }\",\".framer-7cF7R .framer-k1fepy { aspect-ratio: 1.5818181818181818 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 23px); left: 51%; overflow: visible; position: absolute; top: 13px; width: 36px; }\",\".framer-7cF7R.framer-v-1ygo3cf.framer-jl1pe7 { height: 39px; width: 39px; }\",\".framer-7cF7R.framer-v-1ygo3cf .framer-11uki97 { height: var(--framer-aspect-ratio-supported, 39px); }\",\".framer-7cF7R.framer-v-1ygo3cf .framer-k1fepy { height: var(--framer-aspect-ratio-supported, 11px); top: 7px; width: 18px; }\",\".framer-7cF7R.framer-v-jl1pe7.hover.framer-jl1pe7 { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; justify-content: center; padding: 30px; }\",\".framer-7cF7R.framer-v-jl1pe7.hover .framer-k1fepy { top: 7px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 79\n * @framerIntrinsicWidth 79\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"PbPjeYoXM\":{\"layout\":[\"fixed\",\"fixed\"]},\"sUiRGd86n\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"S4UjIs5tv\":\"click\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerLb3aLeWht=withCSS(Component,css,\"framer-7cF7R\");export default FramerLb3aLeWht;FramerLb3aLeWht.displayName=\"top버튼\";FramerLb3aLeWht.defaultProps={height:79,width:79};addPropertyControls(FramerLb3aLeWht,{variant:{options:[\"FGCUGMNPY\",\"PbPjeYoXM\"],optionTitles:[\"Variant 1\",\"phone\"],title:\"Variant\",type:ControlType.Enum},S4UjIs5tv:{title:\"Click\",type:ControlType.EventHandler}});addFonts(FramerLb3aLeWht,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerLb3aLeWht\",\"slots\":[],\"annotations\":{\"framerVariables\":\"{\\\"S4UjIs5tv\\\":\\\"click\\\"}\",\"framerColorSyntax\":\"true\",\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicHeight\":\"79\",\"framerIntrinsicWidth\":\"79\",\"framerAutoSizeImages\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"PbPjeYoXM\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"sUiRGd86n\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Lb3aLeWht.map"],"mappings":"gVACqjB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,6CAAlrB,IAA8L,IAAkE,IAA4B,CAAgC,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,CAAC,CAAO,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,mBAAmB,CAAwN,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAO,GAAoB,EAAE,IAAI,oBAAoB,IAAU,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOA,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,EAAwB,CAAC,YAAY,YAAY,MAAM,YAAY,CAAO,EAAS,E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