{"version":3,"file":"TreatmentProcessGrid.DJ5_DMw8.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/zyDU9ndozCM9b3JBOhvT/z6mjVk8CbDHY0tCYfHYx/TreatmentProcessGrid.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect}from\"react\";/**\n * Treatment Process Grid\n * 2x2 grid layout showing treatment steps\n *\n * @framerIntrinsicWidth 800\n * @framerIntrinsicHeight 400\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function TreatmentProcessGrid(props){const[isMobile,setIsMobile]=useState(false);useEffect(()=>{const checkMobile=()=>{setIsMobile(window.innerWidth<768);};checkMobile();window.addEventListener(\"resize\",checkMobile);return()=>window.removeEventListener(\"resize\",checkMobile);},[]);const{title1=\"프리컨디셔닝(의료기기 부착 전 정리)\",description1=\"의료기기 부착 전 단계에서\\n살을 파고든 발톱 끝을 정리하고,\\n염증 부위의 부담을 줄여주는\\n1차 처치 작업입니다.\",title2=\"의료기기 포돌로게 부착\",description2=\"내성발톱의 곡률을 서서히 펴는 치료로\\n통증을 완화하고 구조를 안정화합니다.\\n발톱 길이에 맞게 부착 가능하며, 스프링 와이어가\\n발톱 중앙을 건인하는 역할을 합니다.\",title3=\"생활 습관 교정 및 홈케어 가이드\",description3=\"재발을 방지하기 위해 걷는 습관, 신발 선택,\\n발톱 자르는 방식 등을 함께 점검하며\\n치료 후 일상 속 관리 가이드를 제공합니다.\",title4=\"맞춤 약물 치료\",description4=\"환자의 건강 상태와 발톱 정도에 따라\\n필요한 약물을 처방하며 포돌로게와 함께\\n외용제 또는 경구 항진균제 치료를 병행합니다.\",processImage={src:\"https://framerusercontent.com/images/e90eeswVgExeQhWJW7pEV4T5P1g.png\",alt:\"치료 과정\"},titleColor=\"#C17A5F\",textColor=\"#333333\",accentColor=\"#C17A5F\",backgroundColor1=\"#F5F5F5\",backgroundColor2=\"#F5F5F5\",backgroundColor3=\"#FFFFFF\",backgroundColor4=\"#FFFFFF\",sliderColor=\"#C17A5F\",sliderHeight=4,titleFont={fontSize:\"26px\",variant:\"Bold\",letterSpacing:\"-0.02em\",lineHeight:\"1.4em\"},bodyFont={fontSize:\"17px\",variant:\"Regular\",letterSpacing:\"0em\",lineHeight:\"1.8em\"},padding=40,titleDescriptionGap=16,rowGap=0}=props;const containerStyle={width:\"100%\",height:\"100%\",backgroundColor:\"transparent\",position:\"relative\",display:\"flex\",flexDirection:\"column\"};const gridContainerStyle={display:\"flex\",flex:1,flexDirection:isMobile?\"column\":\"row\",flexWrap:isMobile?\"nowrap\":\"wrap\"};const cellStyle=bgColor=>({flex:isMobile?\"none\":\"1 1 50%\",width:isMobile?\"100%\":\"50%\",minHeight:isMobile?\"auto\":\"50%\",display:\"flex\",flexDirection:\"column\",justifyContent:\"center\",alignItems:\"center\",padding:isMobile?Math.max(padding*.6,24):padding,textAlign:\"center\",backgroundColor:bgColor,position:\"relative\"});const numberBadgeStyle={position:\"absolute\",top:isMobile?16:24,left:isMobile?16:24,width:isMobile?28:32,height:isMobile?28:32,borderRadius:\"50%\",backgroundColor:accentColor,color:\"#FFFFFF\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",fontSize:isMobile?\"14px\":\"16px\",fontWeight:700,...titleFont};const titleStyle={color:titleColor,marginBottom:titleDescriptionGap,...titleFont};const descriptionStyle={color:textColor,whiteSpace:\"pre-line\",lineHeight:isMobile?1.7:1.8,wordBreak:\"keep-all\",...bodyFont};const boldStyle={fontWeight:700,color:textColor};const sliderContainerStyle={width:\"100%\",height:sliderHeight,display:isMobile?\"none\":\"flex\"};const sliderSegmentStyle=bgColor=>({flex:1,height:\"100%\",backgroundColor:bgColor});return /*#__PURE__*/_jsxs(\"div\",{style:containerStyle,children:[/*#__PURE__*/_jsxs(\"div\",{style:gridContainerStyle,children:[/*#__PURE__*/_jsxs(\"div\",{style:cellStyle(backgroundColor1),children:[/*#__PURE__*/_jsx(\"div\",{style:numberBadgeStyle,children:\"1\"}),/*#__PURE__*/_jsx(\"h3\",{style:titleStyle,children:title1}),/*#__PURE__*/_jsx(\"p\",{style:descriptionStyle,children:description1})]}),/*#__PURE__*/_jsxs(\"div\",{style:cellStyle(backgroundColor2),children:[/*#__PURE__*/_jsx(\"div\",{style:numberBadgeStyle,children:\"2\"}),/*#__PURE__*/_jsx(\"h3\",{style:titleStyle,children:title2}),/*#__PURE__*/_jsx(\"p\",{style:descriptionStyle,children:description2})]}),/*#__PURE__*/_jsxs(\"div\",{style:cellStyle(backgroundColor3),children:[/*#__PURE__*/_jsx(\"div\",{style:numberBadgeStyle,children:\"3\"}),/*#__PURE__*/_jsx(\"h3\",{style:titleStyle,children:title3}),/*#__PURE__*/_jsx(\"p\",{style:descriptionStyle,children:description3})]}),/*#__PURE__*/_jsxs(\"div\",{style:cellStyle(backgroundColor4),children:[/*#__PURE__*/_jsx(\"div\",{style:numberBadgeStyle,children:\"4\"}),/*#__PURE__*/_jsx(\"h3\",{style:titleStyle,children:title4}),/*#__PURE__*/_jsx(\"p\",{style:descriptionStyle,children:description4})]})]}),/*#__PURE__*/_jsxs(\"div\",{style:sliderContainerStyle,children:[/*#__PURE__*/_jsx(\"div\",{style:sliderSegmentStyle(sliderColor)}),/*#__PURE__*/_jsx(\"div\",{style:sliderSegmentStyle(sliderColor)}),/*#__PURE__*/_jsx(\"div\",{style:sliderSegmentStyle(sliderColor)}),/*#__PURE__*/_jsx(\"div\",{style:sliderSegmentStyle(sliderColor)})]})]});}addPropertyControls(TreatmentProcessGrid,{title1:{type:ControlType.String,title:\"Title 1\",defaultValue:\"프리컨디셔닝(의료기기 부착 전 정리)\"},description1:{type:ControlType.String,title:\"Description 1\",defaultValue:\"의료기기 부착 전 단계에서\\n살을 파고든 발톱 끝을 정리하고,\\n염증 부위의 부담을 줄여주는\\n1차 처치 작업입니다.\",displayTextArea:true},title2:{type:ControlType.String,title:\"Title 2\",defaultValue:\"의료기기 포돌로게 부착\"},description2:{type:ControlType.String,title:\"Description 2\",defaultValue:\"내성발톱의 곡률을 서서히 펴는 치료로\\n통증을 완화하고 구조를 안정화합니다.\\n발톱 길이에 맞게 부착 가능하며, 스프링 와이어가\\n발톱 중앙을 건인하는 역할을 합니다.\",displayTextArea:true},title3:{type:ControlType.String,title:\"Title 3\",defaultValue:\"생활 습관 교정 및 홈케어 가이드\"},description3:{type:ControlType.String,title:\"Description 3\",defaultValue:\"재발을 방지하기 위해 걷는 습관, 신발 선택,\\n발톱 자르는 방식 등을 함께 점검하며\\n치료 후 일상 속 관리 가이드를 제공합니다.\",displayTextArea:true},title4:{type:ControlType.String,title:\"Title 4\",defaultValue:\"맞춤 약물 치료\"},description4:{type:ControlType.String,title:\"Description 4\",defaultValue:\"환자의 건강 상태와 발톱 정도에 따라\\n필요한 약물을 처방하며 포돌로게와 함께\\n외용제 또는 경구 항진균제 치료를 병행합니다.\",displayTextArea:true},titleColor:{type:ControlType.Color,title:\"Title Color\",defaultValue:\"#C17A5F\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#333333\"},accentColor:{type:ControlType.Color,title:\"Accent Color\",defaultValue:\"#C17A5F\"},titleFont:{type:ControlType.Font,title:\"Title Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"26px\",variant:\"Bold\",letterSpacing:\"-0.02em\",lineHeight:\"1.4em\"}},bodyFont:{type:ControlType.Font,title:\"Body Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"17px\",variant:\"Regular\",letterSpacing:\"0em\",lineHeight:\"1.8em\"}},padding:{type:ControlType.Number,title:\"Cell Padding\",defaultValue:40,min:20,max:100,step:5,unit:\"px\"},titleDescriptionGap:{type:ControlType.Number,title:\"Title-Desc Gap\",defaultValue:16,min:0,max:40,step:2,unit:\"px\"},backgroundColor1:{type:ControlType.Color,title:\"BG Color 1 (Row 1)\",defaultValue:\"#F5F5F5\"},backgroundColor2:{type:ControlType.Color,title:\"BG Color 2 (Row 2)\",defaultValue:\"#F5F5F5\"},backgroundColor3:{type:ControlType.Color,title:\"BG Color 3 (Row 3)\",defaultValue:\"#FFFFFF\"},backgroundColor4:{type:ControlType.Color,title:\"BG Color 4 (Row 4)\",defaultValue:\"#FFFFFF\"},sliderColor:{type:ControlType.Color,title:\"Slider Color\",defaultValue:\"#C17A5F\"},sliderHeight:{type:ControlType.Number,title:\"Slider Height\",defaultValue:4,min:2,max:20,step:1,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TreatmentProcessGrid\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"400\",\"framerIntrinsicWidth\":\"800\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TreatmentProcessGrid.map"],"mappings":"uMASG,SAAwB,EAAqB,EAAM,CAAC,GAAK,CAAC,EAAS,GAAaA,EAAS,EAAK,EAAE,MAAc,CAAC,IAAM,MAAgB,CAAC,EAAY,EAAO,WAAW,GAAG,CAAE,EAA8D,OAA5D,EAAY,EAAE,EAAO,iBAAiB,SAAS,CAAW,MAAY,EAAO,oBAAoB,SAAS,CAAW,CAAE,EAAE,CAAC,CAAC,EAAE,GAAK,CAAC,SAAO,uBAAuB,eAAa;;;cAAoE,SAAO,eAAe,eAAa;;;sBAAgG,SAAO,qBAAqB,eAAa;;0BAA4E,SAAO,WAAW,eAAa;;2BAAyE,eAAa,CAAC,IAAI,uEAAuE,IAAI,OAAO,EAAE,aAAW,UAAU,YAAU,UAAU,cAAY,UAAU,mBAAiB,UAAU,mBAAiB,UAAU,mBAAiB,UAAU,mBAAiB,UAAU,cAAY,UAAU,eAAa,EAAE,YAAU,CAAC,SAAS,OAAO,QAAQ,OAAO,cAAc,UAAU,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