1"use strict";(self.webpackChunkshop_react_web=self.webpackChunkshop_react_web||[]).push([[9705],{19705:(e,i,t)=>{t.r(i),t.d(i,{default:()=>W});var l=t(61158),r=t(5992),o=t(97605),s=t(23175),n=t(70579);const a=e=>{let{width:i=24,height:t=24,$widthWt:l,$heightWt:r,fill:o="var(--color-primary-500-main)",stroke:a="var(--color-white)"}=e;return(0,n.jsxs)(s.E,{width:i,height:t,$widthWt:l,$heightWt:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("rect",{width:"24",height:"24",rx:"12",fill:o}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.07902 6.9667C4.81712 8.03324 4.33516 9.76811 4.8694 11.3235L5.08121 11.9401C6.05215 14.7668 8.02045 17.1295 10.6156 18.5835L11.1817 18.9007C12.6096 19.7007 14.3895 19.5239 15.6514 18.4574C15.6535 18.4556 15.6555 18.4539 15.6576 18.4521C15.66 18.4501 15.6624 18.448 15.6649 18.446L16.4047 17.8207C17.0103 17.3088 17.0932 16.4039 16.5897 15.7995L15.2222 14.158C14.7187 13.5536 13.8195 13.4786 13.2139 13.9905L12.2353 14.8176C12.1941 14.8524 12.1553 14.8891 12.1189 14.9272C10.7998 13.8825 9.70946 12.5736 8.91708 11.0837C8.96071 11.0543 9.00325 11.0222 9.04452 10.9873L10.0231 10.1603C10.6287 9.64837 10.7116 8.74344 10.2081 8.13905L8.84059 6.49753C8.3371 5.89314 7.43795 5.81815 6.8323 6.33004L6.09247 6.95533C6.09005 6.95738 6.08763 6.95943 6.08523 6.96149C6.08315 6.96322 6.08109 6.96495 6.07902 6.9667Z",stroke:a,strokeWidth:"1.2",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M14.1024 8.64542C15.0685 8.65572 15.8599 9.44717 15.8702 10.4132",stroke:a,strokeWidth:"1.2",strokeLinecap:"round"}),(0,n.jsx)("path",{d:"M14.5873 5.68183C16.9057 5.70653 18.8052 7.60603 18.8299 9.92447",stroke:a,strokeWidth:"1.2",strokeLinecap:"round"})]})};var d=t(399),h=t(59116),c=t(35509),x=t(37849),g=t(65596),p=t(56743),j=t(96154),u=t(7685),f=t(28539),v=t(65043),k=t(83631),C=t(70489),w=t(80168),m=t(79874),T=t(23178),$=t(46655),S=t(98631),z=t(80662);const W=()=>{const{callerInfo:e,setCallerInfo:i,callerInfoRefetch:t,isRegistered:s}=(0,g.A)(),{setToast:W,setDefaultErrorToast:I}=(0,T.W)((0,$.k)((e=>({setToast:e.setToast,setDefaultErrorToast:e.setDefaultErrorToast})))),{setIsFetchKakaoChannelInfo:y}=(0,z.A)(),E=(0,S.D)((e=>e.kakaoChannelInfo)),L=null===e||void 0===e?void 0:e.isRegisteredCallerTel,N=(null===e||void 0===e?void 0:e.callerTel)&&(null===e||void 0===e?void 0:e.applicationStatus)===p.kS.IN_PROGRESS,H=(null===E||void 0===E?void 0:E.status)===p.Yk.PENDING,A=(null===E||void 0===E?void 0:E.status)===p.Yk.CONNECTED,[M,O]=(0,v.useState)(!1),[R,b]=(0,v.useState)(!1),[D,_]=(0,v.useState)(!1),[B,K]=(0,v.useState)(!1),F=e=>{W("\ubc1c\uc2e0 \ubc88\ud638\ub97c \uc124\uc815\ud588\uc5b4\uc694","success"),O(!1),t(),i((i=>({...i,isRegisteredCallerTel:!0,callerTel:e})))};return(0,v.useEffect)((()=>{y(!0);const e=(0,m.Ii)(F,I);return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}}),[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l.A,{title:"\uba54\uc2dc\uc9c0 \uc124\uc815",backMode:"formHasStep"}),(0,n.jsxs)(o.pT,{direction:"column",gap:"16px",align:"start",margin:"32px 0",$marginWt:"32px 0 20px 0",children:[(0,n.jsx)(r.tK,{children:"\ubc1c\uc2e0\ubc88\ud638 \uc124\uc815"}),(0,n.jsx)(o.He,{padding:"24px",children:(0,n.jsxs)(o.pT,{width:"100%",justify:"space-between",children:[(0,n.jsxs)(o.pT,{direction:L||N?"row":"column",gap:L||N?"12px":"6px",align:"start",children:[(0,n.jsxs)(o.pT,{gap:"8px",justify:"start",children:[(0,n.jsx)(a,{}),(0,n.jsx)(d.ld,{fontSize:h.$N.size18,fontWeight:h.sO.semiBold,$lineHeight:h.kj.height26,color:"var(--color-gray-600)",children:"\ubc1c\uc2e0\ubc88\ud638 \ub4f1\ub85d"})]}),L?(0,n.jsx)(d.ld,{fontSize:h.$N.size18,fontWeight:h.sO.regular,$lineHeight:h.kj.height26,color:"var(--color-gray-600)",children:(0,u.iE)(null===e||void 0===e?void 0:e.callerTel)}):N?(0,n.jsxs)(o.pT,{direction:"column",align:"start",children:[(0,n.jsx)(d.ld,{fontSize:h.$N.size18,fontWeight:h.sO.regular,$lineHeight:h.kj.height26,color:"var(--color-gray-600)",children:(0,u.iE)(null===e||void 0===e?void 0:e.callerTel)}),(0,n.jsxs)(o.pT,{gap:"4px",children:[(0,n.jsx)(j.A,{}),(0,n.jsx)(d.x5,{color:"var(--color-green-500-main)",children:"\uac80\uc218\uc911"})]})]}):(0,n.jsx)(d.x5,{color:"var(--color-gray-500)",children:"\ubc1c\uc2e0\ubc88\ud638\ub97c \ub4f1\ub85d\ud574\uc57c \uace0\uac1d\uc5d0\uac8c \ubb38\uc790\uba54\uc2dc\uc9c0\ub97c \ubcf4\ub0bc \uc218 \uc788\uc5b4\uc694"})]}),(0,n.jsx)(c.oT,{width:"max-content",padding:"8px 24px",height:"40px",fontSize:h.$N.size14,$lineHeight:h.kj.height22,onClick:()=>{s?_(!0):O(!0)},children:"\uc124\uc815\ud558\uae30"})]})})]}),(0,n.jsxs)(o.pT,{direction:"column",gap:"16px",align:"start",children:[(0,n.jsx)(r.tK,{children:"\uce74\uce74\uc624 \ube44\uc988\ub2c8\uc2a4 \ucc44\ub110 \uc124\uc815"}),(0,n.jsx)(o.He,{padding:"24px",children:(0,n.jsxs)(o.pT,{width:"100%",justify:"space-between",children:[(0,n.jsxs)(o.pT,{direction:A||H?"row":"column",gap:A||H?"12px":"6px",align:"start",children:[(0,n.jsxs)(o.pT,{gap:"8px",justify:"start",children:[(0,n.jsx)("img",{src:x.A,width:24,alt:"\uce74\uce74\uc624\ube44\uc988\ub2c8\uc2a4\ucc44\ub110"}),(0,n.jsx)(d.ld,{fontSize:h.$N.size18,fontWeight:h.sO.semiBold,$lineHeight:h.kj.height26,color:"var(--color-gray-600)",children:"\ube44\uc988\ub2c8\uc2a4 \ucc44\ub110"})]}),A?(0,n.jsx)(d.ld,{fontSize:h.$N.size18,fontWeight:h.sO.regular,$lineHeight:h.kj.height26,color:"var(--color-gray-600)",children:null===E||void 0===E?void 0:E.
1channelId}):H?(0,n.jsxs)(o.pT,{direction:"column",align:"start",children:[(0,n.jsx)(d.ld,{fontSize:h.$N.size18,fontWeight:h.sO.regular,$lineHeight:h.kj.height26,color:"var(--color-gray-600)",children:null===E||void 0===E?void 0:E.channelId}),(0,n.jsxs)(o.pT,{gap:"4px",children:[(0,n.jsx)(j.A,{}),(0,n.jsx)(d.x5,{color:"var(--color-green-500-main)",children:"\uac80\uc218\uc911"})]})]}):(0,n.jsx)(d.x5,{color:"var(--color-gray-500)",children:"\uc5f0\uacb0\ub41c \ucc44\ub110\uc774 \uc5c6\uc73c\uba74 \ubbf8\uc74c\uc5d0\uc11c \uc54c\ub9bc\ud1a1\uc774 \ubc1c\uc1a1\ub418\uc5b4\uc694"})]}),(0,n.jsx)(c.oT,{width:"max-content",padding:"8px 24px",height:"40px",fontSize:h.$N.size14,$lineHeight:h.kj.height22,onClick:()=>K(!0),children:"\uc124\uc815\ud558\uae30"})]})})]}),(0,n.jsx)(C.A,{modal:M,setModal:O,setShopCallerInfoModal:b}),(0,n.jsx)(w.A,{modal:R,setModal:b,setOpenCallerInfoModal:O}),(0,n.jsx)(f.A,{modal:D,setModal:_,callerInfo:e}),(0,n.jsx)(k.A,{modal:B,setModal:K})]})}}}]); 2//# sourceMappingURL=9705.065c0e8a.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.