{"version":3,"file":"NavigateSolutionInquiry.BiXPyHON.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","RichText"],"sources":["https:/framerusercontent.com/modules/i0hFcTfHpyKai3XIfjsl/ggGQkQEFxVJlmRGYl9Ft/Xr6EMalum.js","https:/framerusercontent.com/modules/R8Ij3u3dKAH1fILDTbHB/CTUMhvrfSxFOUOqjqNMf/NavigateSolutionInquiry.js"],"sourcesContent":["// Generated by Framer (98b71dc)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const cycleOrder=[\"Cdfb9MCYb\",\"O2mJWvfkq\"];const serializationHash=\"framer-PR02x\";const variantClassNames={Cdfb9MCYb:\"framer-v-jlvjyo\",O2mJWvfkq:\"framer-v-6d7lvg\"};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={\"Section tag dark\":\"Cdfb9MCYb\",\"Section tag white\":\"O2mJWvfkq\"};const getProps=({_,height,id,width,...props})=>{return{...props,pim2Yv8Ir:_??props.pim2Yv8Ir??\"이커머스&쇼핑몰\",variant:humanReadableVariantMap[props.variant]??props.variant??\"Cdfb9MCYb\"};};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,pim2Yv8Ir,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"Cdfb9MCYb\",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-jlvjyo\",className,classNames),\"data-border\":true,\"data-framer-name\":\"Section tag dark\",layoutDependency:layoutDependency,layoutId:\"Cdfb9MCYb\",ref:refBinding,style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"rgba(0, 0, 0, 0.05)\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",borderBottomLeftRadius:100,borderBottomRightRadius:100,borderTopLeftRadius:100,borderTopRightRadius:100,...style},variants:{O2mJWvfkq:{\"--border-color\":\"rgba(255, 255, 255, 0.1)\"}},...addPropertyOverrides({O2mJWvfkq:{\"data-framer-name\":\"Section tag white\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7Tm90byBTYW5zLTUwMA==\",\"--framer-font-family\":'\"Noto Sans\", \"Noto Sans Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"500\",\"--framer-letter-spacing\":\"-0.03em\",\"--framer-line-height\":\"1em\",\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-0631685d-0785-49fe-add6-9e27b6c77e70, rgb(17, 24, 39)))\"},children:\"이커머스&쇼핑몰\"})}),className:\"framer-dg9vty\",fonts:[\"GF;Noto Sans-500\"],layoutDependency:layoutDependency,layoutId:\"bKYmGOgEM\",style:{\"--extracted-r6o4lv\":\"var(--token-0631685d-0785-49fe-add6-9e27b6c77e70, rgb(17, 24, 39))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:pim2Yv8Ir,variants:{O2mJWvfkq:{\"--extracted-r6o4lv\":\"var(--token-b67fe1f1-1548-462b-9909-4955e80aefdd, rgb(255, 255, 255))\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({O2mJWvfkq:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7Tm90byBTYW5zLTUwMA==\",\"--framer-font-family\":'\"Noto Sans\", \"Noto Sans Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"500\",\"--framer-letter-spacing\":\"-0.03em\",\"--framer-line-height\":\"1em\",\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-b67fe1f1-1548-462b-9909-4955e80aefdd, rgb(255, 255, 255)))\"},children:\"이커머스&쇼핑몰\"})})}},baseVariant,gestureVariant)})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-PR02x.framer-tml06n, .framer-PR02x .framer-tml06n { display: block; }\",\".framer-PR02x.framer-jlvjyo { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 24px; height: min-content; justify-content: flex-start; overflow: hidden; padding: 8px 13px 8px 13px; position: relative; width: min-content; will-change: var(--framer-will-change-override, transform); }\",\".framer-PR02x .framer-dg9vty { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",'.framer-PR02x[data-border=\"true\"]::after, .framer-PR02x [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 30\n * @framerIntrinsicWidth 117.5\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"O2mJWvfkq\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"pim2Yv8Ir\":\"_\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerXr6EMalum=withCSS(Component,css,\"framer-PR02x\");export default FramerXr6EMalum;FramerXr6EMalum.displayName=\"Section Tag\";FramerXr6EMalum.defaultProps={height:30,width:117.5};addPropertyControls(FramerXr6EMalum,{variant:{options:[\"Cdfb9MCYb\",\"O2mJWvfkq\"],optionTitles:[\"Section tag dark\",\"Section tag white\"],title:\"Variant\",type:ControlType.Enum},pim2Yv8Ir:{defaultValue:\"이커머스&쇼핑몰\",displayTextArea:false,title:\"텍스트\",type:ControlType.String}});addFonts(FramerXr6EMalum,[{explicitInter:true,fonts:[{cssFamilyName:\"Noto Sans\",source:\"google\",style:\"normal\",uiFamilyName:\"Noto Sans\",url:\"https://fonts.gstatic.com/s/notosans/v42/o-0mIpQlx3QUlC5A4PNB6Ryti20_6n1iPHjcz6L1SoM-jCpoiyDPA99Y41P6zHtY.woff2\",weight:\"500\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerXr6EMalum\",\"slots\":[],\"annotations\":{\"framerColorSyntax\":\"true\",\"framerVariables\":\"{\\\"pim2Yv8Ir\\\":\\\"_\\\"}\",\"framerAutoSizeImages\":\"true\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicWidth\":\"117.5\",\"framerIntrinsicHeight\":\"30\",\"framerContractVersion\":\"1\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"O2mJWvfkq\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Xr6EMalum.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useAuth}from\"https://framerusercontent.com/modules/dHmTJRVO8BDJcZx3NUaw/U3m2XvfQmvSN31UpH8Bq/AuthStore.js\";import{getApiBaseUrl}from\"https://framerusercontent.com/modules/1Su9eDQgthLiztsjL8Kh/lNj5EloU9pm8FSv3kg7Q/common.js\";// 텍스트 레이어에 적용 (텍스트 변경)\nexport function NavigateSolutionInquiry(Component){return props=>{const{link,title,...restProps}=props;const{isAuthenticated,refreshSession,goToDashboard,goToSignUp}=useAuth();const customTitle=isAuthenticated?\"이용문의\":\"솔루션 상담받기\";const handleClick=async()=>{const API_BASE_URL=getApiBaseUrl();// 클릭 시 세션 재확인\nconst currentAuth=await refreshSession();if(currentAuth.isAuthenticated){window.location.href=`${API_BASE_URL}/brand/customers/serviceInquiry`;}else{window.location.href=`${API_BASE_URL}${props.link}`;// window.location.href = `${API_BASE_URL}/brand/customers/consultingInquiry`\n}};return /*#__PURE__*/_jsx(Component,{...restProps,onTap:handleClick,onClick:handleClick,title:customTitle});};}\nexport const __FramerMetadata__ = {\"exports\":{\"NavigateSolutionInquiry\":{\"type\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