"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2739],{88750:function(e,t,n){var i=n(57437);n(2265);var r=n(88862),o=n(22681),a=n(39026);let d=r.ZP.div.withConfig({componentId:"sc-1e2d6c1e-0"})(["position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,0.5);display:flex;justify-content:center;align-items:center;z-index:1000;"]),l=r.ZP.div.withConfig({componentId:"sc-1e2d6c1e-1"})(["background-color:white;padding:20px;border-radius:10px;width:550px;height:550px;position:relative;@media (max-width:768px){width:90%;height:400px;}@media (max-width:480px){width:95%;height:350px;}"]);r.ZP.button.withConfig({componentId:"sc-1e2d6c1e-2"})(["position:absolute;top:10px;right:10px;background:none;border:none;font-size:18px;cursor:pointer;@media (max-width:768px){font-size:16px;}@media (max-width:480px){font-size:14px;}"]),t.Z=e=>{let{onClose:t,onComplete:n}=e,r=(0,a.eA)(t);return(0,i.jsx)(d,{onMouseDown:r.onMouseDown,onClick:r.onClick,children:(0,i.jsx)(l,{...r.contentProps,children:(0,i.jsx)(o.ZP,{scriptUrl:"https://t1.kakaocdn.net/mapjsapi/bundle/postcode/prod/postcode.v2.js",onComplete:e=>{n(e),t()},style:{width:"100%",height:"100%"}})})})}},61266:function(e,t,n){var i=n(86484),r=n(29918),o=n(7663);t.Z=e=>{let{onSuccess:t,onError:n}=e;return(0,i.useMutation)(e=>{var t,n;let i=new FormData;return i.append("name",e.name),i.append("position",e.position),i.append("companyName",e.companyName),e.email&&i.append("email",e.email),i.append("phoneNumber",e.phoneNumber),e.area&&i.append("area",e.area),e.projectName&&i.append("projectName",e.projectName),e.productName&&i.append("productName",e.productName),e.productCategory&&i.append("productCategory",e.productCategory),e.productSubCategory&&i.append("productSubCategory",e.productSubCategory),e.storeName&&i.append("storeName",e.storeName),e.materials&&i.append("materials",e.materials),e.timeline&&i.append("timeline",e.timeline),e.memo&&i.append("memo",e.memo),e.inquirySource&&i.append("inquirySource",e.inquirySource),e.inquiryType&&i.append("inquiryType",e.inquiryType),null!=e.memberCompanyId&&i.append("memberCompanyId",String(e.memberCompanyId)),null!=e.attachmentCount&&i.append("attachmentCount",String(e.attachmentCount)),(null===(t=e.items)||void 0===t?void 0:t.length)&&i.append("items",JSON.stringify(e.items)),null!=e.productId&&0!==Number(e.productId)&&i.append("productId",String(e.productId)),(null===(n=e.files)||void 0===n?void 0:n.length)&&e.files.slice(0,3).forEach(e=>i.append("files",e)),r.Wg.post("/partnership",i,{headers:{"Content-Type":"multipart/form-data"}}).then(e=>e.data)},{onSuccess:(e,n)=>{var i,r;(0,o.jW)("inquiry_submit",{inquiry_source:n.inquirySource||"unknown",inquiry_type:n.inquiryType||"none",has_product:n.productName?"yes":"no",item_count:null!==(r=null===(i=n.items)||void 0===i?void 0:i.length)&&void 0!==r?r:0}),t()},onError:e=>{var t,i;n(null!==(i=null===(t=e.response)||void 0===t?void 0:t.data.message)&&void 0!==i?i:"An error occurred")}})}},47466:function(e,t,n){var i=n(57437),r=n(2265),o=n(88862),a=n(54887),d=n(88750),l=n(7261),p=n(61266),s=n(35775),c=n(71626),x=n(64566);let u=["즉시(1~2일)","3일 이내","1주일 이내","1주일 이후\xb7미정"],h=["자재 견적","재고 여부","제품 특징\xb7시공법","기타"],m=[c.mD,"제품 발주","제품 등록","샘플 신청","기타 문의"];t.Z=e=>{let{title:t="시공 견적 문의",subtitle:n="현장 정보만 주시면 자재+시공 통합 견적을 보내드립니다.",submitLabel:o="시공 견적 문의하기 →",compact:g=!1,plain:f=!1,hideUpload:b=!1,uploadSlot:w,hideBudget:j=!1,budgetRequired:v=!1,productName:y,productId:C,productCategory:k,productSubCategory:q,storeName:et,productSize:en,productBrandMode:ei=!1,inquirySource:er,buttonFeedback:eo=!1,privacyNote:ea="신청 정보는 시공 견적 산출 목적으로만 사용됩니다.",successMsg:ed="\uD83C\uDF89 시공 견적 문의 접수 완료\n\uD83D\uDCE9 담당 매니저가 공종별 시공팀 확인 후 연락드립니다",eyebrow:el,quoteItems:ep,defaultProjectName:es,defaultAreaM2:ec,areaOptional:ex,siteAddress:eu,inquiryKind:eh,onSubmitted:em,showInquiryType:eg=!1,showTrades:ef=!1,autoTrades:eb,presetTrades:ew}=e,[ej,ev]=(0,r.useState)(""),[ey,eC]=(0,r.useState)(""),[ek,ez]=(0,r.useState)(null!=es?es:""),[eP,eS]=(0,r.useState)(""),eI=!eg&&!eu,[eZ,eN]=(0,r.useState)(""),[eD,eq]=(0,r.useState)(""),[eE,eM]=(0,r.useState)(""),[eF,eT]=(0,r.useState)(!1),eB=[eD.trim(),eE.trim()].filter(Boolean).join(" "),e_=ef||eg&&eP===c.mD,[eA,eY]=(0,r.useState)([]),e$=(0,r.useCallback)(e=>{eY(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])},[]);(0,r.useEffect)(()=>{ew&&eY(ew)},[ew]);let[eL,eW]=(0,r.useState)(""),eO="material"===eh,[eR,eJ]=(0,r.useState)(""),[eK,eV]=(0,r.useState)(""),eX=!!eh,eG="material"===eh?"희망 수령 시기":"희망 착공 시기",eH="material"===eh?"수령":"착공",eQ=!!ep&&ep.length>0,eU=(null!=ep?ep:[]).reduce((e,t)=>e+(Number(t.quantityM2)||0),0),e0=(0,s.Z)();(0,r.useEffect)(()=>{e0&&(e0.name&&ev(e=>e||e0.name||""),e0.phoneNumber&&eC(e=>e||e0.phoneNumber||""))},[e0]);let[e1,e2]=(0,r.useState)(ec&&ec>0?String(ec):""),[e8,e6]=(0,r.useState)(ec&&ec>0?"m2":"PY"),[e4,e5]=(0,r.useState)(""),e7=v&&!j&&!ei,[e3,e9]=(0,r.useState)(""),[te,tt]=(0,r.useState)(!0),[tn,ti]=(0,r.useState)([]),[tr,to]=(0,r.useState)(!1),ta=(0,r.useCallback)(e=>{if(!e)return;let t=Array.from(e);ti(e=>[...e,...t].slice(0,10))},[]),td=(0,r.useCallback)(e=>{e.preventDefault(),to(!0)},[]),tl=(0,r.useCallback)(e=>{e.preventDefault(),to(!1)},[]),tp=(0,r.useCallback)(e=>{e.preventDefault(),to(!1),ta(e.dataTransfer.files)},[ta]),ts=(0,r.useCallback)(e=>{ta(e.target.files),e.target.value=""},[ta]),tc=(0,r.useCallback)(e=>{ti(t=>t.filter((t,n)=>n!==e))},[]),tx=e=>e<1024?"".concat(e,"B"):e<1048576?"".concat(Math.round(e/1024),"KB"):"".concat((e/1024/1024).toFixed(1),"MB"),[tu,th]=(0,r.useState)(null),tm=(0,r.useRef)(null),tg=(0,r.useCallback)((e,t)=>{if(eo){th(e),tm.current&&clearTimeout(tm.current),tm.current=setTimeout(()=>th(null),3500);return}"success"===t?l.Am.success(e):"error"===t?l.Am.error(e):l.Am.warn(e)},[eo]);(0,r.useEffect)(()=>()=>{tm.current&&clearTimeout(tm.current)},[]);let{mutate:tf,isLoading:tb}=(0,p.Z)({onSuccess:()=>{tg(ed,"success"),null==em||em(),ev(""),eC(""),ez(""),eS(""),eN(""),eY([]),eW(""),eJ(""),eV(""),e2(""),e6("PY"),e5(""),e9(""),tt(!0),ti([])},onError:e=>{tg((Array.isArray(e)?e.join("\n"):e)||"신청에 실패했습니다. 다시 시도해주세요.","error")}}),tw=(0,r.useMemo)(()=>ej.trim().length>0&&ey.trim().length>0&&ek.trim().length>0&&(!eg||eP.trim().length>0)&&(!eI||eZ.length>0)&&(!eu||eB.trim().length>0)&&(!eO||eR.length>0)&&(!eX||eL.length>0)&&(!e_||eA.length>0)&&(ex||(eQ?eU>0:e1.trim().length>0))&&(!e7||e4.trim().length>0)&&(j||!ei||e_||e3.trim().length>0)&&te,[ej,ey,ek,e1,e3,te,j,ei,e7,e4,eQ,eU,eg,eP,eI,eu,eB,eO,eR,eX,eL,ex,eZ,e_,eA]),tj=(0,r.useCallback)(e=>{var t;if(e&&e.preventDefault(),!ej.trim()){tg("담당자명을 입력해주세요.","warn");return}if(!ey.trim()){tg("연락처를 입력해주세요.","warn");return}if(!ek.trim()){tg("현장명을 입력해주세요.","warn");return}if(eg&&!eP.trim()){tg("문의 사항을 선택해주세요.","warn");return}if(eu&&!eB.trim()){tg("현장 주소를 입력해주세요.","warn");return}if(eO&&!eR){tg("문의 내용을 선택해주세요.","warn");return}if(eX&&!eL){tg("".concat(eG,"를 선택해주세요."),"warn");return}if(eI&&!eZ){tg("의뢰 범위를 선택해주세요.","warn");return}if(e_&&0===eA.length){tg("시공할 공종을 1개 이상 선택해주세요.","warn");return}if(ex);else if(eQ){if(!ep.every(e=>Number(e.quantityM2)>0)){tg("모든 제품의 물량(㎡)을 입력해주세요.","warn");return}}else if(!e1.trim()){tg("면적을 입력해주세요.","warn");return}if(e7&&!e4.trim()){tg("예상 공사 예산을 입력해주세요.","warn");return}if(!j&&ei&&!e_&&!e3.trim()){tg("찾으시는 제품 / 브랜드명을 입력해주세요.","warn");return}if(!te){tg("개인정보 수집\xb7이용에 동의해주세요.","warn");return}let n=eQ?eU>0?"".concat(Math.round(100*eU)/100,"㎡"):"면적 미정":e1.trim()?"".concat(e1.trim()).concat("PY"===e8?"평":"㎡"):"면적 미정",i=[!j&&!ei&&e4.trim()?"예산 ".concat(e4.trim(),"만원"):"",eL?"".concat(eH," ").concat(eL):""].filter(Boolean).join(" / "),r=e_?eA:null!=eb?eb:[];tf({name:ej.trim(),phoneNumber:ey.trim(),position:"예약-".concat(n),companyName:"예약접수",email:"-",projectName:ek.trim(),productName:(null==y?void 0:y.trim())||void 0,productCategory:(null==k?void 0:k.trim())||void 0,productSubCategory:(null==q?void 0:q.trim())||void 0,storeName:(null==et?void 0:et.trim())||void 0,materials:n,timeline:i,memo:(()=>{let e=[];return r.length&&e.push("공종: ".concat(r.join(", "))),eu&&eB.trim()&&e.push("현장 주소: ".concat(eB.trim())),eO&&eK.trim()&&e.push("문의 상세: ".concat(eK.trim())),ei&&e3.trim()&&e.push("제품/브랜드명: ".concat(e3.trim())),(null==en?void 0:en.trim())&&e.push("지정 사이즈: ".concat(en.trim())),e.length?e.join("\n"):void 0})(),inquirySource:er||void 0,inquiryType:eg?eP.trim()||void 0:eu?"material"===eh?"".concat(c.je,"(").concat(eR||"기타",")"):c.ox[0]:eZ||void 0,memberCompanyId:null!==(t=null==e0?void 0:e0.id)&&void 0!==t?t:void 0,attachmentCount:tn.length,files:tn,items:eQ?ep:void 0,productId:!eQ&&C?C:void 0})},[ej,ey,ek,eP,eg,eI,eu,eh,eO,eR,eK,eB,ex,eZ,e_,eA,eb,eL,eX,eG,eH,null==e0?void 0:e0.id,e1,e8,e4,e7,e3,te,tn,j,ei,y,C,k,q,et,en,er,tf,tg,eQ,ep,eU]);return(0,i.jsxs)(z,{onSubmit:tj,$compact:g,$plain:f,children:[el&&(0,i.jsx)("div",{style:{marginBottom:12,textAlign:"left"},children:el}),(0,i.jsx)(P,{children:t}),(0,i.jsx)(S,{children:n}),(0,i.jsxs)(Z,{children:[(0,i.jsxs)(I,{children:[(0,i.jsxs)(N,{children:["이름 ",(0,i.jsx)(D,{children:"*"})]}),(0,i.jsx)(E,{type:"text",value:ej,onChange:e=>ev(e.target.value),placeholder:"홍길동"})]}),(0,i.jsxs)(I,{children:[(0,i.jsxs)(N,{children:["연락처 ",(0,i.jsx)(D,{children:"*"})]}),(0,i.jsx)(E,{type:"tel",value:ey,onChange:e=>eC(e.target.value),placeholder:"010-0000-0000"})]})]}),(()=>{let e=(0,i.jsxs)(I,{children:[(0,i.jsxs)(N,{children:["현장명 / 프로젝트명 ",(0,i.jsx)(D,{children:"*"})]}),(0,i.jsx)(E,{type:"text",value:ek,onChange:e=>ez(e.target.value),placeholder:"예: 강남구 주거빌라 인테리어"})]});return eO?(0,i.jsxs)(Z,{children:[e,(0,i.jsxs)(I,{children:[(0,i.jsxs)(N,{children:["문의 내용 ",(0,i.jsx)(D,{children:"*"})]}),(0,i.jsxs)(M,{value:eR,onChange:e=>eJ(e.target.value),"aria-label":"문의 내용","aria-required":!0,children:[(0,i.jsx)("option",{value:"",disabled:!0,children:"무엇을 문의하시나요?"}),h.map(e=>(0,i.jsx)("option",{value:e,children:"기타"===e?"기타":"".concat(e," 문의")},e))]})]})]}):eg?(0,i.jsxs)(Z,{children:[e,(0,i.jsxs)(I,{children:[(0,i.jsxs)(N,{children:["문의 사항 ",(0,i.jsx)(D,{children:"*"})]}),(0,i.jsxs)(M,{value:eP,onChange:e=>eS(e.target.value),"aria-label":"문의 사항",children:[(0,i.jsx)("option",{value:"",disabled:!0,children:"문의 사항을 선택하세요"}),m.map(e=>(0,i.jsx)("option",{value:e,children:e},e))]})]})]}):e})(),eO&&(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(I,{children:[(0,i.jsxs)(N,{children:["문의 상세 ",(0,i.jsx)(R,{children:"(선택)"})]}),(0,i.jsx)(F,{value:eK,onChange:e=>eV(e.target.value.slice(0,500)),placeholder:"재고 여부"===eR?"예: 300\xd7600 50박스 이번 주 출고 가능한지":"제품 특징\xb7시공법"===eR?"예: 욕실 바닥에 써도 되는지, 접착제 종류":"자재 견적"===eR?"예: 100㎡ 기준 단가와 배송비":"궁금한 점을 적어 주세요",rows:2})]})}),eu&&(0,i.jsxs)(I,{"data-addr":"",children:[(0,i.jsxs)(N,{children:["현장 주소 ",(0,i.jsx)(D,{children:"*"})]}),(0,i.jsxs)("div",{style:{flex:1,minWidth:0},children:[(0,i.jsxs)("div",{style:{display:"flex",gap:8},children:[(0,i.jsx)(E,{type:"text",value:eD,readOnly:!0,onClick:()=>eT(!0),placeholder:"주소 찾기로 입력","aria-required":!0,style:{flex:1,minWidth:0,cursor:"pointer"}}),(0,i.jsx)(T,{type:"button",onClick:()=>eT(!0),children:"주소 찾기"})]}),eD?(0,i.jsx)(E,{type:"text",value:eE,onChange:e=>eM(e.target.value),placeholder:"상세 주소(동\xb7호수 등, 선택)",autoComplete:"address-line2",style:{marginTop:8}}):null]}),eF&&"undefined"!=typeof document?(0,a.createPortal)((0,i.jsx)(B,{children:(0,i.jsx)(d.Z,{onClose:()=>eT(!1),onComplete:e=>{var t;eq(null!==(t=null==e?void 0:e.address)&&void 0!==t?t:""),eT(!1)}})}),document.body):null]}),eI&&(0,i.jsxs)(I,{children:[(0,i.jsxs)(N,{children:["의뢰 범위 ",(0,i.jsx)(D,{children:"*"})]}),(0,i.jsx)(A,{role:"radiogroup","aria-label":"의뢰 범위",children:c.ox.map(e=>(0,i.jsx)(Y,{type:"button",role:"radio","aria-checked":eZ===e,$on:eZ===e,onClick:()=>eN(e),children:e},e))})]}),e_&&(0,i.jsxs)(I,{children:[(0,i.jsxs)(N,{children:["시공 공종 ",(0,i.jsx)(D,{children:"*"})," ",(0,i.jsx)(R,{children:"(여러 개 선택)"})]}),(0,i.jsx)(A,{"aria-label":"시공 공종",children:c.b6.map(e=>(0,i.jsx)(Y,{type:"button","aria-pressed":eA.includes(e),$on:eA.includes(e),onClick:()=>e$(e),children:e},e))})]}),(()=>{let e=(0,i.jsxs)(I,{children:[(0,i.jsxs)(N,{children:[eG," ",eX?(0,i.jsx)(D,{children:"*"}):(0,i.jsx)(R,{children:"(선택)"})]}),(0,i.jsxs)(M,{value:eL,onChange:e=>eW(e.target.value),"aria-label":eG,"aria-required":eX,children:[(0,i.jsx)("option",{value:"",children:"선택하세요"}),u.map(e=>(0,i.jsx)("option",{value:e,children:e},e))]})]});return eQ?e:(0,i.jsxs)(Z,{children:[(0,i.jsxs)(I,{children:[(0,i.jsxs)(N,{children:["면적 ",ex?(0,i.jsx)("span",{style:{fontWeight:400,color:"#8a8a94"},children:"(선택)"}):(0,i.jsx)(D,{children:"*"})]}),(0,i.jsxs)("div",{style:{display:"flex",gap:8},children:[(0,i.jsx)(E,{type:"text",inputMode:"decimal",value:e1,onChange:e=>e2(e.target.value.replace(/[^\d.]/g,"")),placeholder:"숫자만 입력",style:{flex:1}}),eu?(0,i.jsx)(_,{role:"group","aria-label":"면적 단위",children:["m2","PY"].map(e=>(0,i.jsx)("button",{type:"button","aria-pressed":e8===e,className:e8===e?"on":void 0,onClick:()=>{e8!==e&&(e2((0,x.hX)(e1,"PY"===e8?"py":"m2","PY"===e?"py":"m2")),e6(e))},children:"m2"===e?"㎡":"평"},e))}):(0,i.jsxs)(M,{value:e8,onChange:e=>e6(e.target.value),style:{width:110,flex:"0 0 auto",paddingLeft:8,paddingRight:8},"aria-label":"면적 단위",children:[(0,i.jsx)("option",{value:"PY",children:"평 (PY)"}),(0,i.jsx)("option",{value:"m2",children:"헤베 (m\xb2)"})]})]})]}),e]})})(),!j&&(0,i.jsx)(I,{children:ei?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(N,{children:["제품 / 브랜드명"," ",e_?(0,i.jsx)(R,{children:"(선택)"}):(0,i.jsx)(D,{children:"*"})]}),(0,i.jsx)(E,{type:"text",value:e3,onChange:e=>e9(e.target.value),placeholder:"예: 한일타일 / KS-100 / 동화자연마루"})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(N,{children:["예상 공사 예산"," ",e7?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(D,{children:"*"})," ",(0,i.jsx)(R,{children:"(자재+시공)"})]}):(0,i.jsx)(R,{children:"(선택 \xb7 자재+시공)"})]}),(0,i.jsxs)($,{children:[(0,i.jsx)(E,{type:"text",inputMode:"numeric",value:e4,onChange:e=>e5(e.target.value.replace(/[^\d]/g,"")),placeholder:e7?"예: 3000":"숫자 입력","aria-required":e7,style:{flex:1}}),(0,i.jsx)(L,{children:"만원"})]})]})}),b&&w&&(0,i.jsx)(I,{"data-slot":"",children:w}),!b&&(0,i.jsxs)(I,{children:[(0,i.jsxs)(N,{children:["현장 도면 / 참고 이미지 ",(0,i.jsx)(R,{children:"(선택)"})]}),(0,i.jsxs)(J,{htmlFor:"landing-inquiry-upload",$active:tr,onDragOver:td,onDragEnter:td,onDragLeave:tl,onDrop:tp,children:[(0,i.jsx)(K,{children:(0,i.jsxs)("svg",{width:"26",height:"26",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,i.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2.5"}),(0,i.jsx)("circle",{cx:"8.5",cy:"8.5",r:"1.5"}),(0,i.jsx)("path",{d:"M21 15l-5-5L5 21"})]})}),(0,i.jsxs)(V,{children:[(0,i.jsx)("strong",{children:"이미지를 끌어다 놓거나 클릭하여 등록"}),(0,i.jsx)("span",{children:"도면(PDF) \xb7 현장 사진 \xb7 참고 이미지 — 최대 10장\xb7장당 20MB"})]}),(0,i.jsx)(X,{id:"landing-inquiry-upload",type:"file",multiple:!0,accept:"image/*,application/pdf",onChange:ts})]}),tn.length>0&&(0,i.jsx)(G,{children:tn.map((e,t)=>(0,i.jsxs)(H,{children:[(0,i.jsx)(Q,{children:e.name}),(0,i.jsx)(U,{children:tx(e.size)}),(0,i.jsx)(ee,{type:"button",onClick:()=>tc(t),"aria-label":"".concat(e.name," 삭제"),children:"\xd7"})]},"".concat(e.name,"-").concat(t)))})]}),(0,i.jsxs)(W,{children:[(0,i.jsx)("input",{type:"checkbox",checked:te,onChange:e=>tt(e.target.checked)}),(0,i.jsxs)("span",{children:[(0,i.jsx)("strong",{children:"개인정보 수집\xb7이용 동의"})," (필수) — ",ea]})]}),(0,i.jsx)(O,{type:"submit",disabled:!tw||tb,$ready:tw&&!tb,$feedback:!!tu,$fixedH:eo,children:tu||(tb?"신청 접수 중...":o)})]})};let g="#413D7D",f="rgba(65, 61, 125, 0.06)",b="#111111",w="#F4F2EE",j="#E5E2DC",v="#888381",y="#5F5C57",C="#2E2C28",k="#E63946",z=o.ZP.form.withConfig({componentId:"sc-2d0d1bac-0"})(["position:relative;background:#fff;color:",";border-radius:28px;padding:44px;box-shadow:",";@media (max-width:980px){padding:32px 24px;}@media (max-width:768px){padding:14px 12px;}@media (max-width:360px){padding:12px 10px;border-radius:20px;}"," ",""],b,"0 20px 50px rgba(0,0,0,0.12)",e=>{let{$compact:t}=e;return t&&(0,o.iv)(["padding:26px 28px;border-radius:20px;> div:nth-of-type(1){margin-bottom:16px;}> div{margin-bottom:10px;}> div > div{margin-bottom:0;}label[for='landing-inquiry-upload']{padding:10px;gap:10px;> div:first-of-type{width:44px;height:44px;border-radius:8px;}}> label:last-of-type{padding:10px 12px;margin-bottom:12px;}button[type='submit']{padding:14px;}"])},e=>{let{$plain:t}=e;return t&&(0,o.iv)(["&&{padding:0;border-radius:0;box-shadow:none;background:transparent;}&& > h3{font-size:17px;margin:0 0 4px;}&& > h3 + div{font-size:12.5px;margin-bottom:16px;}&& label{font-size:12.5px;margin-bottom:5px;}&& input:not([type='checkbox']),&& select,&& textarea{padding:9px 12px;font-size:14px;border-radius:8px;border-width:1px;}&& textarea{min-height:44px;}&& input:not([type='checkbox']),&& select{height:38px;}&& ",",&& ","{height:38px;border-width:1px;border-radius:8px;align-self:stretch;}&& "," button{height:100%;}&& "," button + button{border-left-width:1px;}&& "," > div[style]{align-items:stretch;}&& button[type='submit']{padding:12px;font-size:14px;border-radius:10px;}@media (max-width:768px){&&{display:flex;flex-direction:column;}&& > h3{order:0;font-size:17px;}&& > h3 + div{order:1;margin-bottom:12px;}&& > ","[data-slot]{order:2;display:block;margin-bottom:12px;}&& > ",",&& > ","{order:3;}&& > ","{order:4;margin:4px 0 12px;}&& > button[type='submit']{order:5;position:sticky;bottom:0;z-index:2;box-shadow:0 -14px 0 #fff,0 14px 0 #fff;}&& ","{display:flex;flex-direction:column;gap:0;}&& ",":not([data-slot]){display:grid;grid-template-columns:76px 1fr;align-items:center;column-gap:8px;margin-bottom:10px;}&& "," > ","{margin:0;font-size:12.5px;font-weight:600;color:#6e6e73;line-height:1.3;word-break:keep-all;}&& input:not([type='checkbox']),&& select{height:40px;}&& ","[data-addr]{align-items:start;}&& ","[data-addr] > ","{line-height:40px;}}"],_,T,_,_,I,I,I,Z,W,Z,I,I,N,I,I,N)}),P=o.ZP.h3.withConfig({componentId:"sc-2d0d1bac-1"})(["font-size:22px;font-weight:800;letter-spacing:-0.02em;margin-bottom:6px;color:",";@media (max-width:768px){font-size:14px;margin-bottom:3px;}"],b),S=o.ZP.div.withConfig({componentId:"sc-2d0d1bac-2"})(["font-size:14px;color:",";margin-bottom:28px;@media (max-width:768px){font-size:12px;margin-bottom:10px;}"],y),I=o.ZP.div.withConfig({componentId:"sc-2d0d1bac-3"})(["margin-bottom:18px;@media (max-width:768px){margin-bottom:8px;}"]),Z=o.ZP.div.withConfig({componentId:"sc-2d0d1bac-4"})(["display:grid;grid-template-columns:1fr 1fr;gap:14px;","{margin-bottom:18px;}@media (max-width:768px){grid-template-columns:1fr;gap:8px;","{margin-bottom:8px;}}"],I,I),N=o.ZP.label.withConfig({componentId:"sc-2d0d1bac-5"})(["display:block;font-size:13px;font-weight:700;color:",";margin-bottom:7px;@media (max-width:768px){font-size:12px;margin-bottom:4px;}"],C),D=o.ZP.span.withConfig({componentId:"sc-2d0d1bac-6"})(["color:",";"],k),q=(0,o.iv)(["width:100%;padding:13px 16px;border:1.5px solid ",";border-radius:12px;font-family:inherit;font-size:15px;background:#fff;color:",";transition:all 0.2s;&:focus{outline:none;border-color:",";box-shadow:0 0 0 4px ",";}@media (max-width:768px){padding:8px 12px;font-size:13px;border-radius:10px;}"],j,b,g,f),E=o.ZP.input.withConfig({componentId:"sc-2d0d1bac-7"})(["",";"],q),M=o.ZP.select.withConfig({componentId:"sc-2d0d1bac-8"})(["",";"],q),F=o.ZP.textarea.withConfig({componentId:"sc-2d0d1bac-9"})(["",";resize:vertical;min-height:72px;line-height:1.5;"],q),T=o.ZP.button.withConfig({componentId:"sc-2d0d1bac-10"})(["flex:none;padding:0 14px;border:1.5px solid ",";border-radius:12px;background:#fff;color:",";font-family:inherit;font-size:14px;font-weight:700;white-space:nowrap;cursor:pointer;@media (max-width:768px){padding:0 10px;font-size:12.5px;border-radius:10px;}"],g,g),B=o.ZP.div.withConfig({componentId:"sc-2d0d1bac-11"})(["position:fixed;inset:0;z-index:2147483647;"]),_=o.ZP.span.withConfig({componentId:"sc-2d0d1bac-12"})(["flex:0 0 auto;display:inline-flex;border:1.5px solid ",";border-radius:12px;overflow:hidden;button{min-width:44px;padding:0 12px;border:0;background:#fff;color:",";font-family:inherit;font-size:14px;font-weight:700;cursor:pointer;}button + button{border-left:1.5px solid ",";}button.on{background:",";color:#fff;}@media (max-width:768px){border-radius:10px;button{min-width:40px;padding:0 10px;font-size:13px;}}"],j,y,j,g),A=o.ZP.div.withConfig({componentId:"sc-2d0d1bac-13"})(["display:flex;flex-wrap:wrap;gap:8px;@media (max-width:768px){gap:6px;}"]),Y=o.ZP.button.withConfig({componentId:"sc-2d0d1bac-14"})(["padding:10px 16px;border-radius:999px;border:1.5px solid ",";background:",";color:",";font-family:inherit;font-size:14px;font-weight:700;cursor:pointer;transition:all 0.15s;&:hover{border-color:",";}@media (max-width:768px){padding:6px 11px;font-size:12px;}"],e=>{let{$on:t}=e;return t?g:j},e=>{let{$on:t}=e;return t?g:"#fff"},e=>{let{$on:t}=e;return t?"#fff":C},g),$=o.ZP.div.withConfig({componentId:"sc-2d0d1bac-15"})(["display:flex;align-items:center;gap:8px;"]),L=o.ZP.span.withConfig({componentId:"sc-2d0d1bac-16"})(["flex:0 0 auto;font-size:14px;font-weight:600;color:",";white-space:nowrap;@media (max-width:768px){font-size:13px;}"],y),W=o.ZP.label.withConfig({componentId:"sc-2d0d1bac-17"})(["display:flex;gap:10px;align-items:flex-start;background:",";padding:14px 16px;border-radius:10px;font-size:13px;color:",";line-height:1.6;margin-bottom:20px;cursor:pointer;input{width:18px;height:18px;accent-color:",";margin-top:1px;flex-shrink:0;}strong{color:",";}@media (max-width:768px){padding:8px 10px;gap:7px;font-size:12px;line-height:1.35;color:",";margin-bottom:10px;strong{color:",";font-weight:700;}input{width:14px;height:14px;}}"],w,y,g,b,y,y),O=o.ZP.button.withConfig({componentId:"sc-2d0d1bac-18"})(["width:100%;padding:20px;border:0;border-radius:999px;font-weight:800;font-size:16px;cursor:pointer;font-family:inherit;transition:all 0.25s;background:",";color:#fff;",";",";",";&:disabled{cursor:not-allowed;}@media (max-width:768px){padding:8px;font-size:14px;}"],g,e=>{let{$ready:t}=e;return t&&(0,o.iv)(["box-shadow:",";&:hover{background:",";transform:translateY(-2px);box-shadow:",";}"],"0 8px 24px rgba(65,61,125,0.35)","#2E2B5E","0 30px 80px rgba(65,61,125,0.30)")},e=>{let{$fixedH:t}=e;return t&&(0,o.iv)(["height:60px;padding-top:0;padding-bottom:0;display:flex;align-items:center;justify-content:center;overflow:hidden;@media (max-width:768px){height:40px;}"])},e=>{let{$feedback:t}=e;return t&&(0,o.iv)(["color:#fff;white-space:pre-line;text-align:center;font-size:13.5px;line-height:1.3;@media (max-width:768px){font-size:11.5px;line-height:1.25;}&:disabled{opacity:1;}"])}),R=o.ZP.span.withConfig({componentId:"sc-2d0d1bac-19"})(["color:",";font-weight:500;"],v),J=o.ZP.label.withConfig({componentId:"sc-2d0d1bac-20"})(["display:flex;gap:14px;align-items:center;padding:16px;border:1.5px dashed ",";border-radius:12px;background:",";cursor:pointer;transition:all 0.2s;&:hover{border-color:",";background:",";}@media (max-width:768px){padding:10px;gap:10px;border-radius:10px;}"],e=>{let{$active:t}=e;return t?g:"#C8C4BB"},e=>{let{$active:t}=e;return t?f:w},g,f),K=o.ZP.div.withConfig({componentId:"sc-2d0d1bac-21"})(["flex-shrink:0;width:64px;height:64px;border-radius:10px;background:#fff;border:1px solid ",";display:grid;place-items:center;color:",";@media (max-width:768px){width:40px;height:40px;svg{width:18px;height:18px;}}"],j,g),V=o.ZP.div.withConfig({componentId:"sc-2d0d1bac-22"})(["flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;strong{font-size:14px;font-weight:700;color:",";}span{font-size:12px;color:",";line-height:1.5;}em{font-size:11px;color:",";margin-top:2px;font-style:normal;}@media (max-width:768px){gap:1px;strong{font-size:12px;}span{font-size:10.5px;line-height:1.35;}em{font-size:9.5px;}}"],b,y,v),X=o.ZP.input.withConfig({componentId:"sc-2d0d1bac-23"})(["display:none;"]),G=o.ZP.ul.withConfig({componentId:"sc-2d0d1bac-24"})(["list-style:none;display:grid;gap:6px;margin:10px 0 0;padding:0;"]),H=o.ZP.li.withConfig({componentId:"sc-2d0d1bac-25"})(["display:flex;align-items:center;gap:10px;padding:8px 12px;background:#fff;border:1px solid ",";border-radius:8px;font-size:13px;color:",";"],j,C),Q=o.ZP.span.withConfig({componentId:"sc-2d0d1bac-26"})(["flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]),U=o.ZP.span.withConfig({componentId:"sc-2d0d1bac-27"})(["color:",";font-size:12px;flex-shrink:0;"],v),ee=o.ZP.button.withConfig({componentId:"sc-2d0d1bac-28"})(["background:transparent;border:0;font-size:20px;line-height:1;color:",";cursor:pointer;padding:0 4px;&:hover{color:",";}"],v,k)},71626:function(e,t,n){n.d(t,{LV:function(){return c},b6:function(){return r},ds:function(){return a},fG:function(){return x},je:function(){return p},mD:function(){return l},ox:function(){return d}});var i=n(37270);let r=[...i.nf.map(e=>e.label),"기타"],o={타일:"타일","마루/바닥":"바닥재","도배/필름":"벽지\xb7벽장재",목공:"우드",도장:"페인트\xb7미장",석재:"석재\xb7인조대리석",기타:"기타"},a=e=>{let t=new Set(e.map(e=>{var t;return null!==(t=o[e])&&void 0!==t?t:e}));return r.filter(e=>t.has(e))},d=["턴키(자재+시공)","자재만","시공만"],l="시공 문의(자재 포함)",p="자재 문의",s=[{match:["데코타일","LVT","SPC","카펫"],trade:"마루/바닥"},{match:["인조대리석","석재","대리석","화강","테라조"],trade:"석재"},{match:["타일","포세린","빅슬랩","박판"],trade:"타일"},{match:["마루","원목","강화","장판","륨","바닥"],trade:"마루/바닥"},{match:["벽지","도배","필름","시트"],trade:"도배/필름"},{match:["페인트","도장","도료"],trade:"도장"},{match:["목재","합판","MDF","집성","몰딩","걸레받이","템바","루버","패널","디자인월"],trade:"목공"}];function c(e,t){var n,r;let a=e=>{if(!e)return null;let t=String(e);for(let e of s)if(e.match.some(e=>t.includes(e)))return e.trade;return null},d=String(null!=e?e:"").trim(),l=d?i.nf.find(e=>e.cats.includes(d)):null;if(l)return l.label;let p=null!==(n=a(t))&&void 0!==n?n:a(e);return p?null!==(r=o[p])&&void 0!==r?r:p:"기타"}function x(e){let t=new Set(e.map(e=>c(e.category,e.subCategory)));return r.filter(e=>t.has(e))}},64566:function(e,t,n){n.d(t,{JQ:function(){return a},_e:function(){return r},hX:function(){return o},jo:function(){return i}});let i=3.3058;function r(e,t){let n=Number(e)||0;return n<=0?0:"py"===t?Math.round(n*i*100)/100:n}function o(e,t,n){let r=Number(e)||0;return r<=0||t===n?e:String(Math.round(100*("py"===n?r/i:r*i))/100)}let a=e=>e.replace(/[^\d.]/g,"").slice(0,7)}}]);