(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2203],{72473:function(e,a,n){Promise.resolve().then(n.bind(n,80766))},80766:function(e,a,n){"use strict";n.r(a);var s=n(57437),l=n(88862),i=n(2265),t=n(54887);n(13936);var r=n(87798),c=n(4097),d=n(29874),o=n(95805),u=n(48570),m=n(1019),h=n(94575),p=n(40364),x=n(61266),v=n(35775),j=n(86484),f=n(29918),b=n(68361),N=n(8927),g=n(17901),w=n(28264);let y=(e,a,n,s)=>{try{let l=localStorage.getItem("TOKEN"),i="undefined"!=typeof document&&document.documentElement.classList.contains("su-plugin");f.et.post("/events/premium",{kind:e,planType:a,planName:n,isPlugin:i,source:s},l?{headers:{Authorization:"Bearer ".concat(l)}}:void 0).catch(()=>{})}catch(e){}},k=e=>e.toLocaleString("ko-KR"),E=[{name:"Starter",price:7700,sheets:10,pbr:5,per:770},{name:"Basic",price:16900,sheets:25,pbr:12,per:676,badge:"인기",feat:!0},{name:"Pro",price:29900,sheets:50,pbr:25,per:598,badge:"최대 할인",gold:!0}],S={name:"무료",price:0,free:!0,badge:"무료 체험",cta:"무료로 시작"},P=[S,{name:"Lite",price:4900,sheets:7,per:700,badge:"부담 없는 시작"},{name:"Standard",price:12900,sheets:24,per:538,badge:"추천",feat:!0},{name:"Pro",price:24900,sheets:55,per:453,badge:"최저 개당가",gold:!0}],C=e=>{var a,n;let{p:l,kind:i,showUnit:t,onBuy:r}=e,c="sub"===i;return l.free?(0,s.jsxs)("div",{className:"plan plan-free",children:[l.badge&&(0,s.jsx)("span",{className:"plan-badge",children:l.badge}),(0,s.jsx)("div",{className:"plan-name",children:l.name}),(0,s.jsx)("div",{className:"plan-price",children:(0,s.jsx)("span",{className:"amt",children:"₩0"})}),(0,s.jsxs)("div",{className:"plan-qty",children:["고품질 심리스 ",(0,s.jsx)("b",{children:"5장"}),(0,s.jsx)("span",{className:"qmo",children:" 무료 체험"})]}),(0,s.jsx)("div",{className:"plan-conv",children:"또는 PBR 약 2세트"}),(0,s.jsxs)("div",{className:"plan-foot",children:[(0,s.jsxs)("div",{className:"plan-valid",children:[(0,s.jsx)("span",{className:"vdot"}),"소진 시 제휴로 무제한"]}),(0,s.jsx)("a",{href:"".concat("https://macodi.co.kr","/login"),className:"plan-cta",onClick:()=>y("CLICK",i,l.name),children:l.cta})]})]}):(0,s.jsxs)("div",{className:"plan".concat(l.feat?" feat":""),children:[l.badge&&(0,s.jsx)("span",{className:"plan-badge".concat(l.gold?" gold":""),children:l.badge}),(0,s.jsx)("div",{className:"plan-name",children:l.name}),(0,s.jsxs)("div",{className:"plan-price",children:[(0,s.jsx)("span",{className:"won",children:"₩"}),(0,s.jsx)("span",{className:"amt",children:k(l.price)})]}),(0,s.jsxs)("div",{className:"plan-qty",children:["고품질 심리스 ",(0,s.jsxs)("b",{children:[l.sheets,"장"]}),c&&(0,s.jsx)("span",{className:"qmo",children:" / 월"})]}),(0,s.jsxs)("div",{className:"plan-conv",children:["또는 PBR 약 ",Math.floor((null!==(a=l.sheets)&&void 0!==a?a:0)/2),"세트"]}),t&&(0,s.jsxs)("div",{className:"plan-unit",children:[(0,s.jsx)("span",{className:"u-l",children:"개당 (고품질 심리스 1장)"}),(0,s.jsxs)("span",{className:"u-v",children:["₩",k(null!==(n=l.per)&&void 0!==n?n:0)]})]}),(0,s.jsxs)("div",{className:"plan-foot",children:[(0,s.jsxs)("div",{className:"plan-valid",children:[(0,s.jsx)("span",{className:"vdot"}),c?"매월 자동 갱신 \xb7 미사용분 1개월 이월":"잔여 수량 1년 유효"]}),(0,s.jsx)("a",{href:"#",className:"plan-cta".concat(c?" soon":l.feat?" primary":""),onClick:e=>{e.preventDefault(),r(l,i)},"aria-disabled":c,children:c?"준비중":"구매하기"})]})]})},I="https://macodi-asset.s3.ap-northeast-2.amazonaws.com/macodi_b2b_proposal_ver21.pdf",_=e=>{let{onInquire:a}=e;return(0,s.jsx)("section",{className:"ent",id:"enterprise",children:(0,s.jsx)("div",{className:"wrap",children:(0,s.jsxs)("div",{className:"ent-card",children:[(0,s.jsxs)("div",{className:"ent-main",children:[(0,s.jsx)("h3",{children:"엔터프라이즈 — 기업\xb7팀 도입"}),(0,s.jsxs)("div",{className:"ent-grid",children:[(0,s.jsxs)("div",{className:"ent-feat",children:[(0,s.jsx)("span",{className:"ef-ic",children:"∞"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("b",{children:"심리스 \xb7 PBR 텍스처 무제한"}),(0,s.jsx)("em",{children:"수량 제한 없이 \xb7 신규 등록 제품까지 계속 제공"})]})]}),(0,s.jsxs)("div",{className:"ent-feat",children:[(0,s.jsx)("span",{className:"ef-ic",children:"\uD83D\uDCE6"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("b",{children:"실물 마감재 샘플 무료"}),(0,s.jsx)("em",{children:"샘플비 \xb7 배송비 전액 지원"})]})]}),(0,s.jsxs)("div",{className:"ent-feat",children:[(0,s.jsx)("span",{className:"ef-ic",children:"₩"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("b",{children:"현장 \xb7 설계 지원금"}),(0,s.jsx)("em",{children:"스펙인 시 발주액의 3~6% 지원금 지급"})]})]}),(0,s.jsxs)("div",{className:"ent-feat",children:[(0,s.jsx)("span",{className:"ef-ic",children:"\uD83D\uDD0E"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("b",{children:"원하는 브랜드 \xb7 제품 우선 업데이트"}),(0,s.jsx)("em",{children:"기업이 요청한 제품을 먼저 확보\xb7등록"})]})]})]})]}),(0,s.jsxs)("div",{className:"ent-side",children:[(0,s.jsx)("div",{className:"ent-price-lbl",children:"가격"}),(0,s.jsx)("div",{className:"ent-price",children:"전 서비스 무료"}),(0,s.jsx)("button",{className:"ent-cta",onClick:()=>{y("PARTNERSHIP"),a()},children:"엔터프라이즈 제휴 신청"}),(0,s.jsxs)("a",{className:"ent-dl",href:I,download:"macodi_b2b_proposal_ver21.pdf",onClick:e=>{e.preventDefault(),y("PROPOSAL"),(0,g.Z)(I)},children:[(0,s.jsx)("span",{className:"ent-dl-ic",children:"↓"}),"엔터프라이즈 제휴 제안서"]}),(0,s.jsx)("div",{className:"ent-note",children:"1영업일 내 연락"})]})]})})})},A=["오전 (9–12시)","오후 (13–18시)","시간 무관"],R=["온라인 (화상)","방문 미팅"],z=()=>new Date().toISOString().slice(0,10),L=e=>{var a,n,l,r,c,d;let{onClose:o}=e,[u,m]=(0,i.useState)(!1),[h,p]=(0,i.useState)(null),v=(0,x.Z)({onSuccess:()=>m(!0),onError:e=>alert("string"==typeof e?e:"미팅 신청 중 오류가 발생했어요. 잠시 후 다시 시도해 주세요.")}),[j,b]=(0,i.useState)(null);(0,i.useEffect)(()=>{let e=localStorage.getItem("TOKEN");e&&f.et.get("/user/me",{headers:{Authorization:"Bearer ".concat(e)}}).then(e=>b(e.data)).catch(()=>{})},[]),(0,i.useEffect)(()=>{let e=e=>{"Escape"===e.key&&o()};window.addEventListener("keydown",e);let a=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{window.removeEventListener("keydown",e),document.body.style.overflow=a}},[o]);let N=(0,s.jsx)("div",{className:"imodal-overlay",onMouseDown:e=>{e.target===e.currentTarget&&o()},children:(0,s.jsxs)("div",{className:"imodal",role:"dialog","aria-modal":"true","aria-label":"엔터프라이즈 제휴 신청",children:[(0,s.jsx)("button",{className:"imodal-x",onClick:o,"aria-label":"닫기",children:"✕"}),u?(0,s.jsxs)("div",{className:"idone",children:[(0,s.jsx)("div",{className:"idone-ic",children:"✓"}),(0,s.jsx)("h3",{children:"미팅 신청이 접수되었습니다"}),(0,s.jsxs)("p",{children:["담당 파트너가 ",(0,s.jsx)("b",{children:"1영업일 이내"})," 희망 일정을 확인해 미팅을 확정해 드립니다. 미팅에서 무료 샘플\xb7체험 진행 방식을 함께 안내드릴게요."]}),(0,s.jsxs)("div",{className:"idone-summary",children:[(0,s.jsxs)("div",{className:"row",children:[(0,s.jsx)("span",{className:"k",children:"회사명"}),(0,s.jsx)("span",{className:"v",children:null==h?void 0:h.company})]}),(0,s.jsxs)("div",{className:"row",children:[(0,s.jsx)("span",{className:"k",children:"담당자"}),(0,s.jsx)("span",{className:"v",children:null==h?void 0:h.name})]}),(0,s.jsxs)("div",{className:"row",children:[(0,s.jsx)("span",{className:"k",children:"희망 일정"}),(0,s.jsxs)("span",{className:"v",children:[null==h?void 0:h.date1,(null==h?void 0:h.time)?" \xb7 ".concat(h.time):""]})]})]}),(0,s.jsx)("button",{className:"idone-close",onClick:o,children:"닫기"})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"imodal-eye",children:"ENTERPRISE \xb7 미팅 신청"}),(0,s.jsx)("h3",{children:"엔터프라이즈 제휴 신청"}),(0,s.jsx)("p",{className:"imodal-sub",children:"담당 파트너가 미팅에서 무료 샘플\xb7체험 진행 방식을 안내드립니다. 희망 일정을 남겨주시면 1영업일 내 일정을 확정해 연락드립니다."}),(0,s.jsxs)("form",{onSubmit:e=>{var a,n,s,l,i,t,r,c;e.preventDefault();let d=Object.fromEntries(new FormData(e.currentTarget).entries());p(d);let o=(null===(a=w.Pl.find(e=>e.value===d.size))||void 0===a?void 0:a.label)||"-",u=(null===(n=w.N$.find(e=>e.value===d.job))||void 0===n?void 0:n.label)||"-",m=localStorage.getItem("TOKEN"),h=!!j&&(d.company!==(null!==(s=j.companyName)&&void 0!==s?s:"")||d.name!==(null!==(l=j.name)&&void 0!==l?l:"")||d.phone!==(null!==(i=j.phoneNumber)&&void 0!==i?i:"")||(d.email||"")!==(null!==(t=j.email)&&void 0!==t?t:"")||(d.size||"")!==(null!==(r=j.companySize)&&void 0!==r?r:"")||(d.job||"")!==(null!==(c=j.job)&&void 0!==c?c:""));if(m&&j&&h){let e=new FormData;e.append("companyName",d.company),e.append("name",d.name),e.append("phoneNumber",d.phone),e.append("email",d.email||j.email||""),e.append("companySize",d.size||j.companySize||""),e.append("job",d.job||j.job||""),e.append("mainTask",j.mainTask||""),e.append("baseAddress",j.baseAddress||""),e.append("detailAddress",j.detailAddress||""),f.et.post("/user/me",e,{headers:{Authorization:"Bearer ".concat(m),"Content-Type":"multipart/form-data"}}).catch(()=>{})}let x=["회사명: ".concat(d.company),"담당자: ".concat(d.name),"연락처: ".concat(d.phone),"이메일: ".concat(d.email||"-"),"회사규모: ".concat(o),"업종: ".concat(u),"1순위 희망일: ".concat(d.date1||"-"),"2순위 희망일: ".concat(d.date2||"-"),"희망 시간대: ".concat(d.time||"-"),"진행 방식: ".concat(d.way||"-")].join("\n");v.mutate({name:d.name,position:u,companyName:d.company,email:d.email||"-",phoneNumber:d.phone,memo:x,inquirySource:"프리미엄 엔터프라이즈 미팅"})},children:[(0,s.jsxs)("div",{className:"if-row if-2",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("label",{children:["회사명",(0,s.jsx)("span",{className:"req",children:"*"})]}),(0,s.jsx)("input",{name:"company",required:!0,placeholder:"(주)마코디",defaultValue:null!==(a=null==j?void 0:j.companyName)&&void 0!==a?a:""})]}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("label",{children:["담당자명",(0,s.jsx)("span",{className:"req",children:"*"})]}),(0,s.jsx)("input",{name:"name",required:!0,placeholder:"홍길동",defaultValue:null!==(n=null==j?void 0:j.name)&&void 0!==n?n:""})]})]}),(0,s.jsxs)("div",{className:"if-row if-2",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("label",{children:["연락처",(0,s.jsx)("span",{className:"req",children:"*"})]}),(0,s.jsx)("input",{name:"phone",required:!0,placeholder:"010-0000-0000",defaultValue:null!==(l=null==j?void 0:j.phoneNumber)&&void 0!==l?l:""})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{children:"이메일"}),(0,s.jsx)("input",{name:"email",type:"email",placeholder:"name@company.com",defaultValue:null!==(r=null==j?void 0:j.email)&&void 0!==r?r:""})]})]}),(0,s.jsxs)("div",{className:"if-row if-2",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{children:"회사 규모"}),(0,s.jsxs)("select",{name:"size",defaultValue:null!==(c=null==j?void 0:j.companySize)&&void 0!==c?c:"",children:[(0,s.jsx)("option",{value:"",disabled:!0,children:"선택"}),w.Pl.map(e=>(0,s.jsx)("option",{value:e.value,children:e.label},e.value))]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{children:"업종"}),(0,s.jsxs)("select",{name:"job",defaultValue:null!==(d=null==j?void 0:j.job)&&void 0!==d?d:"",children:[(0,s.jsx)("option",{value:"",disabled:!0,children:"선택"}),w.N$.map(e=>(0,s.jsx)("option",{value:e.value,children:e.label},e.value))]})]})]}),(0,s.jsxs)("div",{className:"if-meet",children:[(0,s.jsx)("div",{className:"if-meet-lbl",children:"희망 미팅 일정"}),(0,s.jsxs)("div",{className:"if-row if-2",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("label",{children:["1순위 날짜",(0,s.jsx)("span",{className:"req",children:"*"})]}),(0,s.jsx)("input",{name:"date1",type:"date",required:!0,min:z()})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{children:"2순위 날짜"}),(0,s.jsx)("input",{name:"date2",type:"date",min:z()})]})]}),(0,s.jsxs)("div",{className:"if-row if-2",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{children:"희망 시간대"}),(0,s.jsxs)("select",{name:"time",defaultValue:"",children:[(0,s.jsx)("option",{value:"",disabled:!0,children:"선택"}),A.map(e=>(0,s.jsx)("option",{children:e},e))]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{children:"진행 방식"}),(0,s.jsxs)("select",{name:"way",defaultValue:"",children:[(0,s.jsx)("option",{value:"",disabled:!0,children:"선택"}),R.map(e=>(0,s.jsx)("option",{children:e},e))]})]})]})]}),(0,s.jsx)("div",{className:"imodal-foot",children:(0,s.jsx)("button",{type:"submit",className:"imodal-submit",disabled:v.isLoading,children:v.isLoading?"신청 중…":"미팅 신청하기 →"})}),(0,s.jsx)("p",{className:"imodal-priv",children:"제출하신 정보는 미팅 일정 조율 목적으로만 사용됩니다 \xb7 담당 파트너가 1영업일 이내 일정을 확정해 연락드립니다."})]},j?"user":"guest")]})]})});return"undefined"==typeof document?null:(0,t.createPortal)((0,s.jsx)("div",{className:"mcd-premium-modal-root",children:N}),document.body)},T=()=>{let[e,a]=(0,i.useState)("pack"),n="pack"===e,l=n?[S,...E]:P,[t,r]=(0,i.useState)(!1),[c,d]=(0,i.useState)(!1),o=(0,v.Z)(),u=(0,j.useQueryClient)();(0,i.useEffect)(()=>{y("VIEW",void 0,void 0,new URLSearchParams(window.location.search).get("src")||void 0)},[]);let m=async e=>{if(c)return;let a=window.sketchup,n=localStorage.getItem("TOKEN");if(!n){alert("결제는 로그인 후 이용할 수 있어요."),window.location.href="".concat("https://macodi.co.kr","/login");return}let s={headers:{Authorization:"Bearer ".concat(n)}};d(!0);try{let{data:a}=await f.et.post("/toss/orders/prepare",{type:"PREMIUM_PACK",planName:e.name},s),l=null==a?void 0:a.orderId,i=Number(null==a?void 0:a.amount);if(!l||!Number.isFinite(i)){alert((null==a?void 0:a.message)||"결제 준비 중이에요. 잠시 후 다시 시도해 주세요."),d(!1);return}let t=await (0,b.nx)((0,b.Mr)((null==o?void 0:o.id)?String(o.id):void 0)),r={method:"CARD",amount:{value:Math.trunc(i),currency:"KRW"},orderId:l,orderName:"마코디 프리미엄 ".concat(e.name," 팩 (고품질 심리스 ").concat(e.sheets,"장)"),card:{flowMode:"DEFAULT"}};if(/Mobi|Android|iPhone|iPad/i.test("undefined"!=typeof navigator?navigator.userAgent:"")){let e=new URL("https://macodi.co.kr/checkout/success"),a=new URL(window.location.href);e.searchParams.set("redirect","".concat(a.pathname).concat(a.search).concat(a.hash)),await t.requestPayment({...r,successUrl:e.toString(),failUrl:"https://macodi.co.kr/checkout/fail"});return}let c=await t.requestPayment(r),m=await f.et.post("/toss/payments/confirm",{paymentKey:c.paymentKey,orderId:c.orderId,amount:Math.trunc(i)},s);if(m.status>=200&&m.status<300){let a=["user/me",n];u.setQueryData(a,a=>{var n,s;return a?{...a,premiumSheets:(null!==(n=a.premiumSheets)&&void 0!==n?n:0)+(null!==(s=e.sheets)&&void 0!==s?s:0)}:a}),u.invalidateQueries(a)}else alert("결제 승인에 실패했어요.")}catch(c){var l,i,t,r;let n=null!==(l=null==c?void 0:c.code)&&void 0!==l?l:"",s=/USER_CANCEL|CANCEL|취소/i.test("".concat(n," ").concat(null!==(i=null==c?void 0:c.message)&&void 0!==i?i:""));if(!s&&(null==a?void 0:a.openExternal))try{a.openExternal(await (0,N.db)("".concat("https://macodi.co.kr","/premium/?src=plugin&plan=").concat(encodeURIComponent(e.name)))),alert("플러그인 안에서 결제창을 열지 못해 기본 브라우저로 이동했어요.")}catch(e){alert(null!==(t=null==c?void 0:c.message)&&void 0!==t?t:"결제 처리 중 문제가 발생했어요.")}else s||alert(null!==(r=null==c?void 0:c.message)&&void 0!==r?r:"결제 처리 중 문제가 발생했어요.")}finally{d(!1)}};return(0,s.jsxs)("main",{children:[(0,s.jsx)("section",{className:"phero",children:(0,s.jsxs)("div",{className:"wrap phero-in",children:[(0,s.jsx)("span",{className:"eye",children:"MACODI ENTERPRISE"}),(0,s.jsxs)("h1",{children:[(0,s.jsx)("em",{children:"텍스처 \xb7 샘플 \xb7 지원금 \xb7 소싱"}),"까지,",(0,s.jsx)("br",{}),"모든 마감재 업무 지원."]}),(0,s.jsxs)("p",{className:"phero-sub",children:["AI 마감재 코디네이터 마코디와 ",(0,s.jsx)("b",{children:"무료 제휴"}),"하고,"," ",(0,s.jsx)("b",{children:"경쟁사보다 한발 앞서가세요."})]})]})}),(0,s.jsx)(_,{onInquire:()=>r(!0)}),(0,s.jsx)("section",{className:"plans",children:(0,s.jsxs)("div",{className:"wrap",children:[(0,s.jsxs)("div",{className:"plans-head",children:[(0,s.jsx)("span",{className:"eye",children:"MACODI PREMIUM"}),(0,s.jsxs)("h2",{children:["고품질 ",(0,s.jsx)("em",{children:"심리스 \xb7 PBR"})," 텍스처를,",(0,s.jsx)("br",{}),"필요한 만큼만."]}),(0,s.jsx)("p",{children:"제휴가 부담된다면, 필요한 만큼만 현금 팩\xb7월 구독으로 이용하세요."})]}),(0,s.jsx)("div",{className:"seg-wrap",children:(0,s.jsxs)("div",{className:"seg",children:[(0,s.jsx)("div",{className:"seg-thumb",style:{left:n?"5px":"50%",width:"calc(50% - 5px)"}}),(0,s.jsxs)("button",{className:"seg-btn".concat(n?" on":""),onClick:()=>a("pack"),children:["현금 팩",(0,s.jsx)("small",{children:"필요할 때만 \xb7 1년 유효"})]}),(0,s.jsxs)("button",{className:"seg-btn".concat(n?"":" on"),onClick:()=>a("sub"),children:["월 구독",(0,s.jsx)("small",{children:"무료 포함 \xb7 개당 더 저렴"})]})]})}),(0,s.jsx)("div",{className:"plans-grid ".concat(n?"packs":"subs"," ").concat("feat-border").concat(" hide-unit"),children:l.map(e=>(0,s.jsx)(C,{p:e,kind:n?"pack":"sub",showUnit:!1,onBuy:(e,a)=>{y("CLICK",a,e.name),"pack"===a&&m(e)}},e.name))})]})}),(0,s.jsx)("section",{className:"rules",children:(0,s.jsxs)("div",{className:"wrap",children:[(0,s.jsxs)("div",{className:"rules-grid",children:[(0,s.jsxs)("div",{className:"rule",children:[(0,s.jsx)("div",{className:"rule-ic",children:"⚡"}),(0,s.jsx)("h4",{children:"다운로드 단위"}),(0,s.jsxs)("p",{children:["심리스는 ",(0,s.jsx)("b",{children:"1장"}),", PBR 세트는 ",(0,s.jsx)("b",{children:"심리스 2장"}),"으로 차감됩니다. 재다운로드 시 추가 차감 없이 1년간 무료이고, ",(0,s.jsx)("b",{children:"구독을 해지해도"})," 구독 중 받았던 제품은 그대로 다시 받을 수 있습니다."]})]}),(0,s.jsxs)("div",{className:"rule",children:[(0,s.jsx)("div",{className:"rule-ic",children:"⏱"}),(0,s.jsx)("h4",{children:"유효기간 \xb7 이월"}),(0,s.jsxs)("p",{children:[(0,s.jsx)("b",{children:"1년은 미사용 잔여 수량의 유효기간일 뿐"}),", 이미 받은 제품과는 무관합니다. 현금 팩 미사용 수량은 1년, 구독 미사용분은"," ",(0,s.jsx)("b",{children:"1개월까지 이월"}),"됩니다."]})]}),(0,s.jsxs)("div",{className:"rule",children:[(0,s.jsx)("div",{className:"rule-ic",children:"♻"}),(0,s.jsx)("h4",{children:"구독 캡 \xb7 갱신"}),(0,s.jsxs)("p",{children:["월 구독은 ",(0,s.jsx)("b",{children:"월 다운로드 수량이 곧 상한"}),"입니다. 매월 갱신되며, 언제든 다음 결제일 전 해지할 수 있습니다."]})]}),(0,s.jsxs)("div",{className:"rule",children:[(0,s.jsx)("div",{className:"rule-ic",children:"₩"}),(0,s.jsx)("h4",{children:"결제 \xb7 환불"}),(0,s.jsxs)("p",{children:["Toss로 바로 결제하며 ",(0,s.jsx)("b",{children:"세금계산서"}),"를 발행합니다. 미사용 잔여 수량은 결제일로부터 7일 이내 정액 환불됩니다."]})]})]}),(0,s.jsxs)("p",{className:"rule-note",children:["표시 금액은 모두 ",(0,s.jsx)("b",{children:"부가세 포함(₩, VAT 포함)"}),"이며, 학생 인증 시 추가 할인이 적용됩니다."]})]})}),t&&(0,s.jsx)(L,{onClose:()=>r(!1)})]})};a.default=()=>{(0,h.Z)(),(0,p.Z)();let e=(0,i.useCallback)(()=>{},[]),a=(0,i.useCallback)(()=>{},[]),n=(0,i.useRef)(null),l=(0,i.useCallback)(()=>{var e;null===(e=n.current)||void 0===e||e.scrollTo({top:0,behavior:"smooth"})},[]);return(0,s.jsxs)(m._z,{children:[(0,s.jsx)(r.Z,{}),(0,s.jsxs)(m.v5,{isLandingPage:!0,children:[(0,s.jsx)(c.Z,{onClickAi:e,onClickSample:a}),(0,s.jsxs)(D,{ref:n,children:[(0,s.jsx)("div",{className:"mcd-premium",children:(0,s.jsx)(T,{})}),(0,s.jsx)(d.Z,{})]})]}),(0,s.jsx)(u.Z,{onClickTop:l,liftForBottomNav:!0,showTopInPlugin:!0}),(0,s.jsx)(o.Z,{})]})};let D=l.ZP.div.withConfig({componentId:"sc-7bc3499c-0"})(["flex:1;overflow-y:auto;overflow-x:hidden;background:#fff;"])},48570:function(e,a,n){"use strict";n.d(a,{u:function(){return c}});var s=n(57437);n(2265);var l=n(33145),i=n(88862),t=n(17553);let r=i.ZP.div.withConfig({componentId:"sc-b0640c18-0"})(["display:flex;flex-direction:column;gap:12px;position:fixed;bottom:25px;right:25px;z-index:10;@media screen and (max-width:500px){bottom:50px;right:15px;}"]),c=i.ZP.a.withConfig({componentId:"sc-b0640c18-1"})(["box-sizing:border-box;aspect-ratio:1 / 1;"," display:flex;justify-content:center;align-items:center;width:56px;height:56px;border-radius:50%;background:",";border:1px solid ",";box-shadow:0 2px 6px rgba(16,24,40,0.1),0 10px 28px rgba(16,24,40,0.18);color:",";font-size:14px;font-weight:400;line-height:normal;letter-spacing:-0.6px;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:box-shadow 180ms ease,transform 180ms ease;&:hover{box-shadow:0 4px 10px rgba(16,24,40,0.12),0 16px 36px rgba(16,24,40,0.22);}&:active{transform:scale(0.98);box-shadow:0 2px 4px rgba(16,24,40,0.1),0 8px 20px rgba(16,24,40,0.18);}@media screen and (max-width:1440px){width:40px;height:40px;font-size:12px;img{width:28px;height:28px;}}html.su-plugin &{width:40px;height:40px;font-size:11px;img{width:26px;height:26px;}}"],e=>{let{$hideOnMobile:a}=e;return a&&"@media (max-width: 768px) { display: none !important; }"},e=>{let{$purple:a}=e;return a?"#413D7D":"#ffffff"},e=>{let{$purple:a}=e;return a?"rgba(65, 61, 125, 0.6)":"rgba(255, 255, 255, 0.92)"},e=>{let{$purple:a}=e;return a?"#ffffff":"#1b2c33"}),d=(0,i.ZP)(c).withConfig({componentId:"sc-b0640c18-2"})(["@media screen and (max-width:1023px){display:none;}",""],e=>{let{$showInPlugin:a}=e;return a&&"\n html.su-plugin & {\n display: flex;\n }\n "});a.Z=e=>{let{onClickTop:a,ctaHref:n="/associate",ctaLabel:i,ctaAriaLabel:o="입점 신청",hideCtaOnMobile:u=!1,liftForBottomNav:m=!1,showTopInPlugin:h=!1}=e;return(0,s.jsxs)(r,{$lift:m,children:[(0,s.jsx)(d,{as:"button",onClick:a,type:"button","aria-label":"맨 위로",$showInPlugin:h,children:(0,s.jsx)(l.default,{src:t.Z,alt:"Scroll to top",width:35,height:35})}),(0,s.jsx)(c,{as:"a",href:n,"aria-label":o,$purple:!0,$hideOnMobile:u,children:null!=i?i:(0,s.jsxs)(s.Fragment,{children:["입점",(0,s.jsx)("br",{}),"신청"]})})]})}},28264:function(e,a,n){"use strict";n.d(a,{N$:function(){return s},Pl:function(){return l},ky:function(){return t},x$:function(){return i}});let s=[{value:"real_estate",label:"부동산"},{value:"construction",label:"건설"},{value:"architecture",label:"건축"},{value:"interior",label:"인테리어"},{value:"exhibition",label:"전시"},{value:"furniture",label:"가구"},{value:"3d_render",label:"3D투시도"},{value:"etc",label:"기타"}],l=[{value:"small",label:"1인~5인"},{value:"medium",label:"5인~10인"},{value:"large",label:"10인~30인"},{value:"xlarge",label:"30인 이상"},{value:"none",label:"해당없음"}],i=[{value:"residential",label:"주거공간"},{value:"commercial",label:"상업공간"},{value:"office",label:"사무공간"},{value:"education",label:"교육/문화공간"},{value:"medical",label:"의료/복지공간"},{value:"exhibition",label:"전시/홍보관"},{value:"lodging",label:"숙박공간"},{value:"none",label:"해당없음"}],t=[{value:"네이버 (검색, 블로그, 카페 등)",label:"네이버 (검색, 블로그, 카페 등)"},{value:"구글 검색",label:"구글 검색"},{value:"인스타그램/스레드",label:"인스타그램/스레드"},{value:"유튜브",label:"유튜브"},{value:"지인추천",label:"지인추천"},{value:"이메일 뉴스레터",label:"이메일 뉴스레터"},{value:"온라인 광고/배너",label:"온라인 광고/배너"},{value:"기타",label:"기타"}]},94575:function(e,a,n){"use strict";var s=n(2265);a.Z=()=>{let[e,a]=(0,s.useState)(0);return(0,s.useEffect)(()=>{a(window.document.body.offsetWidth);let e=()=>a(window.document.body.offsetWidth);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}},40364:function(e,a,n){"use strict";var s=n(2265);a.Z=()=>{let e=()=>{let e=.01*window.innerHeight;document.documentElement.style.setProperty("--vh","".concat(e,"px"))};(0,s.useEffect)(()=>(e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)),[])}},68361:function(e,a,n){"use strict";n.d(a,{Mr:function(){return i},nx:function(){return r}});let s="macodi_customer_key",l=null;function i(e){if(e)return"user_".concat(e);try{let e=localStorage.getItem(s);if(e)return e}catch(e){}let a="anon_".concat(function(){let e=globalThis,a=(null==e?void 0:e.crypto)&&"function"==typeof e.crypto.getRandomValues,n=new Uint8Array(16);if(a)e.crypto.getRandomValues(n);else for(let e=0;e<16;e++)n[e]=256*Math.random()|0;n[6]=15&n[6]|64,n[8]=63&n[8]|128;let s=Array.from(n,e=>e.toString(16).padStart(2,"0"));return s.slice(0,4).join("")+"-"+s.slice(4,6).join("")+"-"+s.slice(6,8).join("")+"-"+s.slice(8,10).join("")+"-"+s.slice(10,16).join("")}());try{localStorage.setItem(s,a)}catch(e){}return a}async function t(){return await (window.TossPayments?Promise.resolve():l||(l=new Promise((e,a)=>{let n="tosspayments-sdk-v2";if(document.getElementById(n)){e();return}let s=document.createElement("script");s.id=n,s.src="https://js.tosspayments.com/v2/standard",s.async=!0,s.onload=()=>e(),s.onerror=()=>a(Error("Failed to load TossPayments SDK")),document.head.appendChild(s)}))),window.TossPayments("live_ck_Gv6LjeKD8aa7Jje1q1EY8wYxAdXy")}async function r(e){return(await t()).payment({customerKey:null!=e?e:i()})}},8927:function(e,a,n){"use strict";n.d(a,{db:function(){return l},ik:function(){return t},nZ:function(){return i}});var s=n(29918);let l=async e=>{try{var a;let n=localStorage.getItem("TOKEN");if(!n)return e;let l=await s.et.post("/user/oauth/handoff",{},{headers:{Authorization:"Bearer ".concat(n)}}),i=null==l?void 0:null===(a=l.data)||void 0===a?void 0:a.id;if(!i)return e;let t=new URL(e,window.location.origin);return t.searchParams.set("handoff",String(i)),t.toString()}catch(a){return e}},i=e=>{let a=window;if(a.sketchup||"undefined"!=typeof document&&document.documentElement.classList.contains("su-plugin"))try{var n;if("function"==typeof(null===(n=a.sketchup)||void 0===n?void 0:n.openExternal)){a.sketchup.openExternal(e);return}if("function"==typeof a.__mcdOpenExternal){a.__mcdOpenExternal(e);return}}catch(e){}try{window.open(e,"_blank","noopener,noreferrer,width=1100,height=720,menubar=no,toolbar=no")}catch(e){}},t=async()=>{let e="";try{e=new URLSearchParams(window.location.search).get("handoff")||""}catch(e){return!1}if(!e)return!1;let a=/^[A-Za-z0-9_-]{8,64}$/.test(e);try{let e=new URL(window.location.href);e.searchParams.delete("handoff"),window.history.replaceState(null,"",e.toString())}catch(e){}if(!a)return!1;try{if(localStorage.getItem("TOKEN"))return!1}catch(e){}try{var n;let a=await s.et.get("/user/oauth/handoff/".concat(e)),l=null==a?void 0:null===(n=a.data)||void 0===n?void 0:n.token;if(!l)return!1;return localStorage.setItem("TOKEN",l),s.et.defaults.headers.common.Authorization="Bearer ".concat(l),!0}catch(e){return!1}}},13936:function(){},17553:function(e,a){"use strict";a.Z={src:"/_next/static/media/arrowTop.940fead8.svg",height:40,width:40,blurWidth:0,blurHeight:0}}},function(e){e.O(0,[5378,5676,691,9759,156,6484,7648,3400,5719,8606,389,6842,9874,6058,8672,2971,2117,1744],function(){return e(e.s=72473)}),_N_E=e.O()}]);