1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8263],{5645:(s,e,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/instructor/mypage",function(){return l(94797)}])},35592:s=>{s.exports={container:"styles_container__Qs_oe",header:"styles_header__rIGIe",title:"styles_title__i_vj3",content:"styles_content__KP9e9",section:"styles_section__QkVwS",sectionTitle:"styles_sectionTitle__Y_kMf",profileCard:"styles_profileCard__99wq1",profileInfo:"styles_profileInfo__n7Szz",avatar:"styles_avatar__ibWiZ",userInfo:"styles_userInfo__ucB_9",userName:"styles_userName__RndPC",userEmail:"styles_userEmail__qNloh",status:"styles_status__IpzyZ",loading:"styles_loading__WomMr",menuList:"styles_menuList__agacv",menuItem:"styles_menuItem__lLdC9",menuLabel:"styles_menuLabel__c65jz",menuArrow:"styles_menuArrow__qXBjT"}},94797:(s,e,l)=>{"use strict";l.r(e),l.d(e,{default:()=>p});var n=l(37876),r=l(14232),a=l(89099),t=l(77328),i=l.n(t),o=l(31777),c=l(89848),u=l(67082),d=l(66462),m=l(35592),_=l.n(m),h=l(89919),N=l(49693);let p=()=>{let s=(0,a.useRouter)(),e=(0,o.wA)(),l=(0,o.d4)(s=>s.auth.user),t=(0,o.d4)(s=>s.auth.instructorDocumentInfo),m=null==l?void 0:l.userId,[p,x]=(0,r.useState)(null),[j,v]=(0,r.useState)(!0);(0,r.useEffect)(()=>{(async()=>{if(!m)return v(!1);v(!0);try{let s=await u.InstructorProfileService.getProfile(m);if((0,N.vp)(s.code))x(s.result);else{if(s.code===N.h.HTTP_UNAUTHORIZED||(0,N.kG)(s.code))return void console.error("ì¸ì¦ ì¤ë¥ (axios ì¸í°ì
í°ìì ì²ë¦¬):",s.code);c.oR.error(s.message||"ê°ì¬ ì 보를 ë¶ë¬ì¤ëë° ì¤í¨íìµëë¤.")}}catch(o){var s,e,l,n,r,a,t,i;if(console.error("ê°ì¬ ì ë³´ ì¡°í ì¤ë¥:",o),(null==(s=o.response)?void 0:s.status)===401||(0,N.kG)(null==(l=o.response)||null==(e=l.data)?void 0:e.code))return void console.error("ì¸ì¦ ì¤ë¥ (axios ì¸í°ì
í°ìì ì²ë¦¬):",(null==(a=o.response)?void 0:a.status)||(null==(i=o.response)||null==(t=i.data)?void 0:t.code));c.oR.error((null==(r=o.response)||null==(n=r.data)?void 0:n.message)||"ê°ì¬ ì 보를 ë¶ë¬ì¤ëë° ì¤í¨íìµëë¤.")}finally{v(!1)}})()},[m,s,e]);let f=async()=>{if(confirm("ë¡ê·¸ìì íìê² ìµëê¹?"))try{await d.DL.logoutUser(!1,e,{showToast:!0}),c.oR.success("ë¡ê·¸ììëììµëë¤."),s.push("/instructor/user/login")}catch(e){console.error("ë¡ê·¸ìì ì¤ ì¤ë¥ ë°ì:",e),s.push("/instructor/user/login")}};return j?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i(),{children:(0,n.jsx)("title",{children:"ë§ì´íì´ì§"})}),(0,n.jsx)("div",{className:_().container,children:(0,n.jsx)("div",{className:_().loading,children:"ë¡ë© ì¤..."})})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i(),{children:(0,n.jsx)("title",{children:"ë§ì´íì´ì§"})}),(0,n.jsx)("div",{className:_().container,children:(0,n.jsxs)("div",{className:_().content,children:[(0,n.jsx)("div",{className:_().section,children:(0,n.jsx)("div",{className:_().profileCard,children:(0,n.jsx)("div",{className:_().profileInfo,children:(0,n.jsxs)("div",{className:_().userInfo,children:[(0,n.jsxs)("p",{className:_().userName,children:[(null==p?void 0:p.name)||(null==l?void 0:l.name)||"ê°ì¬ ì´ë¦"," ë"]}),(0,n.jsx)("p",{className:_().userEmail,children:(null==p?void 0:p.email)||(null==l?void 0:l.loginId)||"[email protected]"}),(null==p?void 0:p.status)&&(0,n.jsxs)("p",{className:_().status,children:["ìí:"," ","APPROVED"===p.status?"ì¹ì¸ë¨":"PENDING"===p.status?"ë기 ì¤":"REJECTED"===p.status?"ê±°ë¶ë¨":"ì ì ìì"]})]})})})}),(0,n.jsxs)("div",{className:_().section,children:[(0,n.jsx)("h2",{className:_().sectionTitle,children:"ì¤ì "}),(0,n.jsxs)("div",{className:_().menuList,children:[(0,n.jsxs)("button",{className:_().menuItem,onClick:()=>{if(!m)return void c.oR.error("ê°ì¬ ì 보를 ì°¾ì ì ììµëë¤.");s.push("/instructor/user/verify-password")},children:[(0,n.jsx)("span",{className:_().menuLabel,children:"íë¡í ìì "}),(0,n.jsx)("span",{className:_().menuArrow,children:"âº"})]}),(0,n.jsxs)("button",{className:_().menuItem,onClick:()=>{(null==t?void 0:t.idCardImageUrl)||(null==t?void 0:t.bankbookImageUrl)?s.push("/instru
1ctor/user/verify-password?redirect=upload-documents"):s.push("/instructor/user/upload-documents")},children:[(0,n.jsx)("span",{className:_().menuLabel,children:"문ì ê´ë¦¬"}),(0,n.jsx)("span",{className:_().menuArrow,children:"âº"})]}),(0,n.jsxs)("button",{className:_().menuItem,disabled:!0,children:[(0,n.jsx)("span",{className:_().menuLabel,children:"ì림 ì¤ì "}),(0,n.jsx)("span",{className:_().menuArrow,children:"âº"})]})]})]}),(0,n.jsxs)("div",{className:_().section,children:[(0,n.jsx)("h2",{className:_().sectionTitle,children:"ê³ì "}),(0,n.jsx)("div",{className:_().menuList,children:(0,n.jsxs)("button",{className:_().menuItem,onClick:f,children:[(0,n.jsx)("span",{className:_().menuLabel,children:"ë¡ê·¸ìì"}),(0,n.jsx)("span",{className:_().menuArrow,children:"âº"})]})})]})]})}),(0,n.jsx)(h.A,{})]})}}},s=>{s.O(0,[7082,636,6593,8792],()=>s(s.s=5645)),_N_E=s.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.