1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4913],{22742:(e,r,l)=>{"use strict";l.r(r),l.d(r,{default:()=>x});var t=l(10925),n=l(71090),a=l(85759),s=l(35760),o=l(97804),_=l(99158),i=l(14232),d=l(88992),g=l(37499),c=l(39091),b=l(34854),p=l.n(b),u=l(37876);let y={Regist:"Regist",Modify:"Modify",View:"View"},x=()=>{let{0:e,1:r}=(0,i.useState)(y.Regist),{data:l}=(0,a.eP)(),b=c.Ik({blockedPhnum:c.Yj().required("ìì ê±°ë¶ ë²í¸ë¥¼ ì
ë ¥í´ì£¼ì¸ì.").min(5,"ìµì 5ì리 ì´ì ì
ë ¥í´ì£¼ì¸ì.").test("custom","080ì¼ë¡ ììëë ë²í¸ë¥¼ ì
ë ¥í´ì£¼ì¸ì.",e=>e?.startsWith("080")??!1),blockedDstKey:c.Yj()}),{reset:x,watch:h,trigger:m,setValue:k,formState:{errors:w}}=(0,d.mN)({mode:"all",resolver:(0,n.t)(b),defaultValues:{blockedPhnum:"",blockedDstKey:""}});(0,i.useEffect)(()=>{m("blockedPhnum")},[m]),(0,i.useEffect)(()=>{l&&l.regDtt?(r(y.View),x({blockedPhnum:l.blockedPhnum,blockedDstKey:l.blockedDstKey})):(r(y.Regist),x({blockedPhnum:"",blockedDstKey:""}),m("blockedPhnum"))},[l,x,m]);let j=async()=>{if(w?.blockedPhnum)return void window.AlertInfo(w.blockedPhnum.message||"");let e=await s.A.createBiz080Info({blockedPhnum:h("blockedPhnum"),blockedDstKey:h("blockedDstKey")});(0,o.d)(e)?window.AlertInfo(e.error):(window.AlertInfo("ë±ë¡ëììµëë¤."),g.q.invalidateQueries({queryKey:a.T2.all}))},f=async()=>{if(h("blockedPhnum")===l.blockedPhnum&&h("blockedDstKey")===l.blockedDstKey)return void window.AlertInfo("ìì ë ë´ì©ì´ ììµëë¤.");if(w?.blockedPhnum)return void window.AlertInfo(w.blockedPhnum.message||"");let e=await s.A.updateBiz080Info({blockedPhnum:h("blockedPhnum"),blockedDstKey:h("blockedDstKey")});(0,o.d)(e)?window.AlertInfo(e.error):(window.AlertInfo("ìì ëììµëë¤."),g.q.invalidateQueries({queryKey:a.T2.all}))},N=()=>{window.AlertShow(!1)};return(0,u.jsx)(t.aC,{currentTab:4,children:(0,u.jsxs)("div",{className:"form sm",children:[(0,u.jsxs)("div",{className:"sub-txt2",children:[(0,u.jsx)("span",{className:"str",children:"ìì²´ 080 ìì ê±°ë¶ ë²í¸ "}),(0,u.jsx)("span",{children:"ë³´ì ì, 미리 ì¤ì íì¬ ë¬¸ì ë°ì¡ ì ê°í¸íê² ì¬ì©íì¸ì"})]}),(0,u.jsx)("div",{className:"form-box",children:(0,u.jsx)("div",{className:"info",children:(0,u.jsxs)("ul",{className:"info-box list",children:[(0,u.jsxs)("li",{children:["ì¤ì í 080 ìì ê±°ë¶ ë²í¸ ë° ì¸ì¦ì½ëë 문ì ë°ì¡ ì 'ìì²´ 080 ìì ê±°ë¶ ì¬ì©' ì²´í¬ë¥¼ íµí´ ì¬ì©íì¤ ì ììµëë¤.",(0,u.jsx)("br",{}),(0,u.jsx)("span",{className:"api-info",children:"* ì못 ì
ë ¥ë ìì ê±°ë¶ ë²í¸ë¡ ì¸í´ ë°ìíë 문ì ë° ì´ìì ëí ì±
ìì ê³ ê°ì¬ìê² ììµëë¤."})]}),(0,u.jsxs)("li",{children:["ë©ê°ë²ëìì ì ê³µëë ë²í¸ê° ìë ìì²´ ë²í¸ ì¬ì© ì, ìì ê±°ë¶ ì¬ì©ì ë° ì²ë¦¬ ë´ìì ì§ìíì§ ììµëë¤.",(0,u.jsx)("br",{}),(0,u.jsx)("span",{className:"api-info",children:"* ìì ê±°ë¶ ëìì ë° ë´ìì ê³ ê°ì¬ìì ì§ì ê´ë¦¬íì
ì¼ í©ëë¤."})]})]})})}),(0,u.jsx)("div",{className:"table-wrap",children:(0,u.jsx)("div",{className:"fit-table sm",children:(0,u.jsxs)("table",{className:"border-table bg-white bg-box",children:[(0,u.jsx)("colgroup",{children:e===y.Regist?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("col",{width:"50%"}),(0,u.jsx)("col",{width:"50%"})]}):(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("col",{width:"33.3%"}),(0,u.jsx)("col",{width:"33.3%"}),(0,u.jsx)("col",{width:"33.3%"})]})}),(0,u.jsx)("thead",{className:"bg-gray",children:(0,u.jsxs)("tr",{children:[(0,u.jsxs)("th",{children:[(0,u.jsx)("span",{className:"str",children:"080 ìì ê±°ë¶ ë²í¸"}),(0,u.jsx)("span",{className:"str txt-red",children:" *"})]}),(0,u.jsx)("th",{children:(0,u.jsx)("span",{className:"str",children:"ì¸ì¦ì½ë"})}),e!==y.Regist&&(0,u.jsx)("th",{children:(0,u.jsx)("span",{className:"str",children:"ë±ë¡ì¼"})})]})}),(0,u.jsx)("tbody",{children:(0,u.jsxs)("tr",{children:[e===y.View?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("td",{children:(0,u.jsx)("div",{className:"input",children:(0,u.jsx)("p",{children:l?.blockedPhnum})})}),(0,u.jsx)("td",{children:(0,u.jsx)("div",{className:"input",children:(0,u.jsx)("p",{children:l?.blockedDstKey||"-"})})})]}):(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("td",{children:(0,u.jsx)("input",{type:"text",placeholder:"ìì ê±°ë¶ ë²í¸ ì
ë ¥ (íì)",className:"w-100",maxLength:20,value:h("blockedPhnum")||"",onChange:e=>k("blockedPhnum",e.target.value.replace(/[^0-9]/g,""),{shouldValidate:!0})})}),(0,u.jsx)("td",{children:(0,u.jsx)("input",{type:"text",placeholder:"ì¸ì¦ì½ë ì
ë ¥ (ì¸ì¦ì½ë 미ì¬ì© ì ê³µë)",className:"w-100",maxLength:10,value:h("blockedDstKey")||"",onChange:e=>k("blockedDstKey",e.target.value.replace(/[^0-9]/g,""),{shouldValidate:!0})})})]}),e!==y.Regist&&(0,u.jsx)("td",{children:(0,u.jsx)("div",{className:"input",children:(0,u.jsx)("p",{children:l?.regDtt?(0,_.A)(new Date(l.regDtt),"yyyy-MM-dd HH:mm:ss"):"-"})})})]})})]})})}),(0,u.jsx)("br",{}),(0,u.jsx)("div",{className:`d-flex end ${p().flexEndGap10}`,children:e===y.Regist?(0,u.jsx)("button",{className:"btn btn-sm2 bg-primary txt-white",onClick:()=>j(),children:"ë±ë¡"}):e===y.Modify?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("button",{className:"btn btn-sm2 outline-dark txt-dark",onClick:()=>void(r(y.View),x({blockedPhnum:l.blockedPhnum,blockedDstKey:l.blockedDstKey})),children:"ì·¨ì"}),(0,u.jsx)("button",{className:"btn btn-sm2 bg-primary txt-white",onClick:()=>f(),children:"íì¸"})]}):(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("button",{className:"btn btn-sm2 outline-red txt-red",onClick:()=>(()=>{let e=async()=>{let e=await s.A.deleteBiz080Info();(0,o.d)(e)?window.AlertInfo(e.error):(N(),window.AlertInfo("ìì ëììµëë¤."),g.q.invali
1dateQueries({queryKey:a.T2.all}))};window.AlertInfo({message:"080 ìì ê±°ë¶ ë²í¸ë¥¼ ìì íìê² ìµëê¹?",btn:[{name:"ì·¨ì",action:()=>N(),css:"bg-dark"},{name:"íì¸",action:()=>e(),css:"bg-primary"}]})})(),children:"ìì "}),(0,u.jsx)("button",{className:"btn btn-sm2 bg-primary txt-white",onClick:()=>r(y.Modify),children:"ìì "})]})})]})})}},26669:(e,r,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/personal/mypage/blocked",function(){return l(22742)}])},34854:e=>{e.exports={"bg-white":"personal_bg-white__xwOzx",btn:"personal_btn__8yG3k",disable:"personal_disable__dJagR","txt-white":"personal_txt-white__tHxg3","outline-white":"personal_outline-white__XdzK_","bg-gray-100":"personal_bg-gray-100__M1mPq","txt-gray-100":"personal_txt-gray-100__dTTfu","outline-gray-100":"personal_outline-gray-100__WI_KW","bg-gray-200":"personal_bg-gray-200__KZ4PH","txt-gray-200":"personal_txt-gray-200__BtLPd","outline-gray-200":"personal_outline-gray-200__l1RCs","bg-gray-300":"personal_bg-gray-300__Pboml","txt-gray-300":"personal_txt-gray-300__r7BmO","outline-gray-300":"personal_outline-gray-300__zoRhc","bg-gray-400":"personal_bg-gray-400__f3Zx1","txt-gray-400":"personal_txt-gray-400__b1nB8","outline-gray-400":"personal_outline-gray-400__Zsord","bg-gray-500":"personal_bg-gray-500__L3ejp","txt-gray-500":"personal_txt-gray-500__mvcVX","outline-gray-500":"personal_outline-gray-500__g4C0S","bg-gray-600":"personal_bg-gray-600__9QKTp","txt-gray-600":"personal_txt-gray-600__9Lbn0","outline-gray-600":"personal_outline-gray-600__SSPcr","bg-gray-700":"personal_bg-gray-700__wUE1o","txt-gray-700":"personal_txt-gray-700__4zBRT","outline-gray-700":"personal_outline-gray-700__kq2_A","bg-gray-800":"personal_bg-gray-800__b6RiX","txt-gray-800":"personal_txt-gray-800__RR6ec","outline-gray-800":"personal_outline-gray-800__l_48A","bg-gray-900":"personal_bg-gray-900__m7ao_","txt-gray-900":"personal_txt-gray-900__hb6Dv","outline-gray-900":"personal_outline-gray-900__HXR_8","bg-black":"personal_bg-black__RxvF1","txt-black":"personal_txt-black__4A0tu","outline-black":"personal_outline-black__OyqzF","bg-dark":"personal_bg-dark__ovTNe","txt-dark":"personal_txt-dark__EHjTg","outline-dark":"personal_outline-dark__jOUwJ","bg-gray":"personal_bg-gray__idG2S","txt-gray":"personal_txt-gray__0RGIo","outline-gray":"personal_outline-gray__2zY0g","bg-border-gray":"personal_bg-border-gray__mMHlM","txt-border-gray":"personal_txt-border-gray__FRvqv","outline-border-gray":"personal_outline-border-gray__essOZ","bg-primary-light":"personal_bg-primary-light__5CTz8","txt-primary-light":"personal_txt-primary-light__k_2Fl","outline-primary-light":"personal_outline-primary-light__MMIQB","bg-primary":"personal_bg-primary__pVIIs","txt-primary":"personal_txt-primary__cjEoF","outline-primary":"personal_outline-primary__7DzQ_","bg-primary-darken":"personal_bg-primary-darken__FoVHP","txt-primary-darken":"personal_txt-primary-darken__HGwFa","outline-primary-darken":"personal_outline-primary-darken__X7gkz","bg-secondary":"personal_bg-secondary__NPCIA","txt-secondary":"personal_txt-secondary__0njCH","outline-secondary":"personal_outline-secondary__FKfie","bg-secondary-darken":"personal_bg-secondary-darken__RPuKa","txt-secondary-darken":"personal_txt-secondary-darken__D8s6z","outline-secondary-darken":"personal_outline-secondary-darken__3jdi6","bg-success":"personal_bg-success__Ev651","txt-success":"personal_txt-success___OWCW","outline-success":"personal_outline-success__dZ2_P","bg-red":"personal_bg-red__p_wds","txt-red":"personal_txt-red__l1HpB","outline-red":"personal_outline-red___KUZJ","bg-red-light":"personal_bg-red-light__QhGRc","txt-red-light":"personal_txt-red-light__aB23f","outline-red-light":"personal_outline-red-light__GF3Er","bg-red-dark":"personal_bg-red-dark__GuaO8","txt-red-dark":"personal_txt-red-dark__SdbMF","outline-red-dark":"personal_outline-red-dark__59Z5M","bg-green":"personal_bg-green___nEUR","txt-green":"personal_txt-green__Sh2ad","outline-green":"personal_outline-green__KIt4F","bg-green-light":"personal_bg-green-light__Olry5","txt-green-light":"personal_txt-green-light__fF8_q","outline-green-light":"personal_outline-green-light__KBrcm","bg-blue":"personal_bg-blue__08qaG","txt-blue":"personal_txt-blue__7iMS7","outline-blue":"personal_outline-blue__tBmDd","bg-blue-light":"personal_bg-blue-light___gMm8","txt-blue-light":"personal_txt-blue-light__hzX9_","outline-blue-light":"personal_outline-blue-light__pf8yc","bg-purple":"personal_bg-purple__PRXpp","txt-purple":"personal_txt-purple__EIHHw","outline-purple":"personal_outline-purple__VzEcY","bg-yellow":"personal_bg-yellow__T5w0m","txt-yellow":"personal_txt-yellow__Hp2nM","outline-yellow":"personal_outline-yellow__wqtcQ","bg-mint":"personal_bg-mint__kKHNG","txt-mint":"personal_txt-mint__5wCck","outline-mint":"personal_outline-mint__0ra1N",flexEndGap10:"personal_flexEndGap10__b6fNb",colWidth33:"personal_colWidth33__mRUTJ",mb5rem:"personal_mb5rem__uw5dl"}},35760:(e,r,l)=>{"use strict";l.d(r,{A:()=>t.A});var t=l(50674)},85759:(e,r,l)=>{"use strict";l.d(r,{F6:()=>o,T2:()=>a,eP:()=>_,mY:()=>s});var t=l(67914),n=l(82578);let a={all:["blocked"],ars:()=>[...a.all,"ars"],list:e=>[...a.all,"list",e],denyRequest:e=>[...a.all,"deny-request",e],mypageBiz080:()=>[...a.all,"mypage-biz080"]},s=e=>(0,t.I)({queryKey:a.list(e),queryFn:()=>n.Ay.get(e),enabled:!!e&&!e.includes("undefined")}),o=e=>(0,t.I)({queryKey:a.denyRequest(e),queryFn:()=>n.Ay.get(e),enabled:!!e&&!e.includes("undefined")}),_=()=>(0,t.I)({queryKey:a.mypageBiz080(),queryFn:()=>n.Ay.get("/api/fo/member/mypage/biz080")})}},e=>{e.O(0,[8992,7972,925,6759,636,6593,8792],()=>e(e.s=26669)),_N_E=e.O()}]);
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.