{"version":3,"file":"BackgroundScrollLock.CRLa09sJ.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/mngwhMfD2qnZmFr3Wyah/w6rwYnKqAAbD2BgStqd7/KTouhStwz.js","https:/framerusercontent.com/modules/ACfJn0FQ8baUXPLsVqu8/hXFDS8W1M9H9imNCDM1C/BackgroundScrollLock.js"],"sourcesContent":["// Generated by Framer (9eb3b99)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,RichText,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const cycleOrder=[\"mXmLW0PS5\",\"grDh0LCM6\"];const serializationHash=\"framer-SsKr8\";const variantClassNames={grDh0LCM6:\"framer-v-yoambx\",mXmLW0PS5:\"framer-v-1cr0dav\"};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 humanReadableVariantMap={\"Variant 1\":\"mXmLW0PS5\",\"Variant 2_mobile\":\"grDh0LCM6\"};const getProps=({click,height,hover,id,width,...props})=>{return{...props,ESb3rByfu:hover??props.ESb3rByfu,INVFkmshm:click??props.INVFkmshm,variant:humanReadableVariantMap[props.variant]??props.variant??\"mXmLW0PS5\"};};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,INVFkmshm,ESb3rByfu,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"mXmLW0PS5\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTape9evh3=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(INVFkmshm){const res=await INVFkmshm(...args);if(res===false)return false;}});const onMouseEnter5fjtwn=activeVariantCallback(async(...args)=>{setGestureState({isHovered:true});if(ESb3rByfu){const res=await ESb3rByfu(...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-1cr0dav\",className,classNames),\"data-framer-name\":\"Variant 1\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"mXmLW0PS5\",onMouseEnter:onMouseEnter5fjtwn,onTap:onTape9evh3,ref:refBinding,style:{backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:16,borderBottomRightRadius:16,borderTopLeftRadius:16,borderTopRightRadius:16,boxShadow:\"0px 1px 20px 0px rgba(190, 192, 196, 0.25)\",...style},variants:{grDh0LCM6:{borderBottomLeftRadius:12,borderBottomRightRadius:12,borderTopLeftRadius:12,borderTopRightRadius:12}},...addPropertyOverrides({grDh0LCM6:{\"data-framer-name\":\"Variant 2_mobile\",onMouseEnter:undefined}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h4,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgSlAgU2VtaUJvbGQ=\",\"--framer-font-family\":'\"Pretendard JP SemiBold\", \"Pretendard JP SemiBold Placeholder\", sans-serif',\"--framer-font-open-type-features\":\"'blwf' on, 'cv09' on, 'cv03' on, 'cv04' on, 'cv11' on\",\"--framer-font-size\":\"18px\",\"--framer-letter-spacing\":\"-0.54px\",\"--framer-line-height\":\"150%\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-1eung3n, var(--token-44654a4a-43ac-4d19-bb1b-d1181eba4725, rgb(106, 106, 117)))\"},children:\"달램 서비스 소개서 받기\"})}),className:\"framer-vrfraa\",\"data-framer-name\":\"Text 1\",fonts:[\"CUSTOM;Pretendard JP SemiBold\"],layoutDependency:layoutDependency,layoutId:\"mTTYAyKEi\",style:{\"--extracted-1eung3n\":\"var(--token-44654a4a-43ac-4d19-bb1b-d1181eba4725, rgb(106, 106, 117))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({grDh0LCM6:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h4,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgSlAgQm9sZA==\",\"--framer-font-family\":'\"Pretendard JP Bold\", \"Pretendard JP Bold Placeholder\", sans-serif',\"--framer-font-open-type-features\":\"'blwf' on, 'cv09' on, 'cv03' on, 'cv04' on, 'cv11' on\",\"--framer-letter-spacing\":\"-0.54px\",\"--framer-line-height\":\"150%\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-1eung3n, var(--token-44654a4a-43ac-4d19-bb1b-d1181eba4725, rgb(106, 106, 117)))\"},children:\"달램 서비스 소개서 받기\"})}),fonts:[\"CUSTOM;Pretendard JP Bold\"]}},baseVariant,gestureVariant)})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-SsKr8.framer-1hec0bc, .framer-SsKr8 .framer-1hec0bc { display: block; }\",\".framer-SsKr8.framer-1cr0dav { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 12px; height: 64px; justify-content: center; overflow: visible; padding: 16px 28px 16px 28px; position: relative; width: min-content; }\",\".framer-SsKr8 .framer-vrfraa { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-SsKr8.framer-v-yoambx.framer-1cr0dav { height: 56px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 64\n * @framerIntrinsicWidth 217\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"fixed\"]},\"grDh0LCM6\":{\"layout\":[\"auto\",\"fixed\"]}}}\n * @framerVariables {\"INVFkmshm\":\"click\",\"ESb3rByfu\":\"hover\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerKTouhStwz=withCSS(Component,css,\"framer-SsKr8\");export default FramerKTouhStwz;FramerKTouhStwz.displayName=\"달램 서비스 소개서 받기\";FramerKTouhStwz.defaultProps={height:64,width:217};addPropertyControls(FramerKTouhStwz,{variant:{options:[\"mXmLW0PS5\",\"grDh0LCM6\"],optionTitles:[\"Variant 1\",\"Variant 2_mobile\"],title:\"Variant\",type:ControlType.Enum},INVFkmshm:{title:\"Click\",type:ControlType.EventHandler},ESb3rByfu:{title:\"Hover\",type:ControlType.EventHandler}});addFonts(FramerKTouhStwz,[{explicitInter:true,fonts:[{cssFamilyName:\"Pretendard JP SemiBold\",source:\"custom\",uiFamilyName:\"Pretendard JP SemiBold\",url:\"https://framerusercontent.com/assets/dCJlwkOdCp03hRiN422u3fPuTsc.woff\"},{cssFamilyName:\"Pretendard JP Bold\",source:\"custom\",uiFamilyName:\"Pretendard JP Bold\",url:\"https://framerusercontent.com/assets/x4Jgi8c8AAG34FYUvfYcD3GLVyI.woff2\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerKTouhStwz\",\"slots\":[],\"annotations\":{\"framerVariables\":\"{\\\"INVFkmshm\\\":\\\"click\\\",\\\"ESb3rByfu\\\":\\\"hover\\\"}\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"grDh0LCM6\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]}}}\",\"framerContractVersion\":\"1\",\"framerAutoSizeImages\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicWidth\":\"217\",\"framerImmutableVariables\":\"true\",\"framerColorSyntax\":\"true\",\"framerIntrinsicHeight\":\"64\",\"framerDisplayContentsDiv\":\"false\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./KTouhStwz.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";export function withScrollLock(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{\"data-lock\":true,ref:ref,...props});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withScrollLock\":{\"type\":\"reactHoc\",\"name\":\"withScrollLock\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BackgroundScrollLock.map"],"mappings":"yUACqe,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAA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