1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[408],{29686:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/member/cardManageReg",function(){return n(4903)}])},46898:function(e,t,n){"use strict";var i=n(85893),r=n(67294),a=n(45697),s=n.n(a),u=n(25617),o=n(35956),c=n(11163),d=n(49229),l=(n(88470),n(75408)),m=n(85518),p=function(e){var t=(0,u.I0)(),n=(0,u.v9)((function(e){return e.commonAuth})),a=(n.userInfo,n.isLogin,(0,u.v9)((function(e){return e.commonSystem})).flutterReady),s=(0,c.useRouter)(),p=s.query.tourId,h=s.pathname.split("/"),f=s.pathname.substring(1).split("/")[0];h.length>1&&(f=h[1]);var v=e.title,b=(e.desc,e.isLive),y=e.srhTourId,g=(0,u.v9)((function(e){return e.commonSystem})).isApp,x={tour:"all"===p||"kpga"===p?[]:"54"===p||"55"===p?[{name:(0,o.t)("notice"),uri:"/tour/notice/notice/"},{name:(0,o.t)("competition"),uri:"/tour/game/game/"},{name:(0,o.t)("schedule"),uri:"/tour/schedule/schedule/"},{name:(0,o.t)("record"),uri:"/tour/record/"},{name:(0,o.t)("media"),uri:"/tour/media/media/"}]:"11"===p?[{name:(0,o.t)("notice"),uri:"/tour/notice/notice/"},{name:(0,o.t)("genesisPoint"),uri:"/tour/sponsor/awards/"},{name:(0,o.t)("competition"),uri:"/tour/game/game/"},{name:(0,o.t)("schedule"),uri:"/tour/schedule/schedule/"},{name:(0,o.t)("players"),uri:"/tour/player/player/"},{name:(0,o.t)("record"),uri:"/tour/record/"},{name:(0,o.t)("media"),uri:"/tour/media/media/"}]:[{name:(0,o.t)("notice"),uri:"/tour/notice/notice/"},{name:(0,o.t)("competition"),uri:"/tour/game/game/"},{name:(0,o.t)("schedule"),uri:"/tour/schedule/schedule/"},{name:(0,o.t)("players"),uri:"/tour/player/player/"},{name:(0,o.t)("record"),uri:"/tour/record/"},{name:(0,o.t)("leaderBoard"),uri:"/tour/leaderboard/?tourId=".concat(y)},{name:(0,o.t)("media"),uri:"/tour/media/media/"}],education:[{name:(0,o.t)("educationNotice"),uri:"/education/notice/?year=2023&curriculumType=notice&tabId=list"},{name:(0,o.t)("educationSchedule"),uri:"/education/schedule/"},{name:(0,o.t)("educationGuide"),uri:"/education/edu/"},{name:(0,o.t)("aboutOurEducation"),uri:"/education/about/"}],media:[{name:"PLAYER SHOT",uri:"/media/videoShot/"},{name:"VIDEO",uri:"/media/video/"},{name:(0,o.t)("news"),uri:"/media/news/"},{name:(0,o.t)("photo"),uri:"/media/photo/"}],community:[{name:(0,o.t)("joinPracticeR"),uri:"/community/join/"},{name:(0,o.t)("jobRecruitmentSearch"),uri:"/community/jobOffer/"},{name:(0,o.t)("fieldTraining"),uri:"/community/offSeason/"},{name:(0,o.t)("trading"),uri:"/community/sale/"},{name:(0,o.t)("requestForALesson"),uri:"/community/lesson/"},{name:"KPGA ".concat((0,o.t)("suAffiliateServicesForMembers")),uri:"/community/affiliation"},{name:"KPGA ".concat((0,o.t)("suAssociationForMembers")),uri:"/community/association"},{name:"KPGA ".concat((0,o.t)("bulletinBoardExclusivelyForMembers")),uri:"/community/board/?boardType=member"}],about:[{name:(0,o.t)("aboutTheAssociation"),uri:"/about/about/"},{name:(0,o.t)("ourHistory"),uri:"/about/history/"},{name:(0,o.t)("pastPresidents"),uri:"/about/chairman/"},{name:(0,o.t)("ourOrganization"),uri:"/about/organization/"},{name:(0,o.t)("ourOffice"),uri:"/about/contactUs/"},{name:(0,o.t)("membershipStatus"),uri:"/about/condition/"}],event:[{name:(0,o.t)("event"),uri:"/event/event/?tabId=event"},{name:(0,o.t)("eventInProgress"),uri:"/event/event/?tabId=ing"},{name:(0,o.t)("eventCompleted"),uri:"/event/event/?tabId=end"}]},j=function(e){t((0,l.XK)(!0))};return(0,r.useEffect)((function(){a&&g&&window.flutter_inappwebview&&window.flutter_inappwebview.callHandler&&window.flutter_inappwebview.callHandler("setTitle",v)}),[a]),(0,r.useEffect)((function(){return window.addEventListener("flutterInAppWebViewPlatformReady",j),function(){window.removeEventListener("flutterInAppWebViewPlatformReady",j)}}),[]),(0,i.jsx)("div",{className:"head-wrap new-lvb",children:g?null:(0,i.jsxs)("div",{children:[m.tq&&b?(0,i.jsx)("div",{className:"live-box mobile-only",children:(0,i.jsx)("i",{className:"live-icon",children:"LIVE"})}):null,(0,i.jsxs)("h1",{children:[v,f&&x[f]?x[f].filter((function(e){return e.name!==v})).map((function(e,t){return(0,i.jsx)(d.Z,{href:"tour"===f&&p?e.uri+"?tourId=".concat(p):e.uri,children:(0,i.jsx)("span",{className:"desktop-only",children:e.name})},t)})):null]})]})})};p.propTypes={title:s().string.isRequired,desc:s().string.isRequired},t.Z=p},88967:function(e,t,n){"use strict";var i=n(85893),r=n(67294),a=n(45697),s=n.n(a),u=n(35956),o=function(e){var t=e.isDisplay,n=e.content,a=e.clickOkButton,s=e.clickNoButton;return(0,i.jsx)("div",{className:"popup",style:{display:t?"block":"none"},children:(0,i.jsxs)("div",{className:"pop-wrap pop-style1",children:[(0,i.jsx)("div",{className:"pop-cont",children:(0,i.jsx)("p",{className:"textCenter",children:n.split("\n").map((function(e,t){return(0,i.jsxs)(r.Fragment,{children:[e,(0,i.jsx)("br",{})]},"terms-".concat(t))}))})}),(0,i.jsxs)("div",{className:"pop-btn",children:[(0,i.jsx)("button",{className:"brown",onClick:a,children:(0,u.t)("confirm")}),(0,i.jsx)("button",{className:"gray",onClick:s,children:(0,u.t)("cancel")})]})]})})};o.propTypes={isDisplay:s().bool.isRequired,content:s().string.isRequired,clickOkButton:s().func.isRequired,clickNoButton:s().func.isRequired},t.Z=o},4903:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return b}});var i=n(47568),r=n(20414),a=n(85893),s=n(67294),u=n(15334),o=n(46898),c=n(35956),d=n(25617),l=function(e){var t=e.payInfo,n=e.isDisplay;(0,s.useEffect)((function(){var e=document.payForm;e.method="post",e.acceptCharset="UTF-8",e.hidden=!0,e.action="".concat("https://api.kpga.co.kr","/inipay/cardBill"),e.target="frm",e.submit()}),[]);return(0,a.jsxs)(s.Fragment,{children:[(0,a.jsx)("div",{className:"popup",style:{display:n?"block":"none"},children:(0,a.jsx)("div",{className:"pop-wrap pop-style2",children:(0,a.jsx)("iframe",{id:"iframe",name:"frm",width:"100%",height:"600px"})})}),(0,a.jsx)("div",{id:"formDiv",children:(0,a.jsxs)("form",{name:"payForm",target:"frm",children:[(0,a.jsx)("input",{type:"hidden",name:"memberId",value:t.memberId||""}),(0,a.jsx)("input",{type:"hidden",name:"mid",value:t.mid||""}),(0,a.jsx)("input",{type:"hidden",name:"oid",value:t.oid||""}),(0,a.jsx)("input",{type:"hidden",name:"price",value:t.price||""})]})})]})},m=n(95729),p=n(88967),h=n(73740),f=n(23548),v=n(19574);function b(){var e=(0,d.v9)((function(e){return e.commonAuth}
1)),t=e.isLogin,n=e.userInfo,b=(0,d.I0)(),y=(0,u.x)(),g=(0,s.useState)(!1),x=g[0],j=g[1],w=(0,s.useState)(null),k=w[0],N=w[1],I=(0,s.useState)({}),E=I[0],S=I[1],_=(0,s.useState)(!1),A=_[0],C=_[1],R=(0,s.useState)(""),O=R[0],F=R[1],P=(0,s.useState)("none"),T=P[0],D=P[1],M=(0,s.useState)(!1),L=M[0],q=M[1],B=(0,s.useState)(""),W=B[0],Z=B[1],G=(0,s.useState)(!1),K=G[0],H=G[1],V=y.query.tabId;V=V||"opiDues";var X=(0,s.useState)("opiDues"),Y=X[0],z=X[1],J=[{key:"opiDues",value:(0,c.t)("dues")},{key:"opiJoinFee",value:(0,c.t)("noticeOfEntranceFee")},{key:"opiDuesGuide",value:(0,c.t)("noticeOfMembershipDues")},{key:"unpaidFee",value:(0,c.t)("suStatusOfNonPayment")},{key:"guide",value:(0,c.t)("noticeOfMutualAid")},{key:"event",value:(0,c.t)("familyOccasionOfTheMonth")}],U=function(e){var t=e.currentTarget.dataset.key;z(t),y.push("/member/memDues/?tabId=".concat(t))};(0,s.useEffect)((function(){V&&""!=V&&"all"!=V&&z(V)}),[V]);var Q=function(){var e=(0,i.Z)((function(){var e;return(0,r.__generator)(this,(function(i){return q(!1),t?(e={memberId:n.memberId,mid:"".concat("kpgabill01"),oid:"".concat("kpgabill01","_").concat(n.memberId),price:"25000"},S(e),H(!0),[2]):(C(!0),F((0,c.t)("pleaseTryAgainAfterLoggingIn")),D("login"),[2])}))}));return function(){return e.apply(this,arguments)}}();(0,s.useEffect)((function(){return window.addEventListener("message",(function(e){if(e.data&&(0,h.Pb)(e.data)){var t=JSON.parse(e.data);"Y"==t.successYn||"FAIL"==t.data.code&&(C(!0),F(t.data.message)),H(!1),y.push("/member/cardManage/")}}),!1),function(){window.removeEventListener("message",(function(){}))}}),[]);var $=function(){var e=(0,i.Z)((function(e){var t;return(0,r.__generator)(this,(function(e){switch(e.label){case 0:return[4,f.M7()];case 1:return(t=e.sent())&&200===t.status&&N(t.data),[2]}}))}));return function(t){return e.apply(this,arguments)}}();return(0,s.useEffect)((function(){$()}),[]),(0,s.useEffect)((function(){(0,i.Z)((function(){var e;return(0,r.__generator)(this,(function(t){switch(t.label){case 0:return[4,f.L()];case 1:return(e=t.sent())&&200===e.status?b((0,v.ps)(e.data)):(C(!0),F((0,c.t)("pleaseTryAgainAfterLoggingIn")),D("login")),[2]}}))}))()}),[]),(0,a.jsxs)("div",{id:"container",children:[(0,a.jsx)(o.Z,{title:(0,c.t)("suMyPage"),desc:"\ud68c\uc6d0\ub2d8\uc758 KPGA \ubc29\ubb38\uc744 \ud658\uc601\ud569\ub2c8\ub2e4."}),(0,a.jsxs)("div",{className:"cont-wrap",children:[(0,a.jsx)("ul",{className:"tab-style1 tour",children:J.map((function(e){return(0,a.jsx)("li",{"data-key":e.key,className:Y===e.key?"active":"",onClick:U,children:(0,a.jsx)("span",{children:e.value})},e.key)}))}),(0,a.jsxs)("div",{className:"cont-box",children:[(0,a.jsx)("div",{className:"title block",children:(0,a.jsx)("h4",{children:(0,c.t)("suDuesCardSubscription")})}),(0,a.jsxs)("p",{children:[(0,c.t)("suCardReg1"),(0,c.t)("suCardReg2"),(0,a.jsx)("br",{}),(0,c.t)("suCardReg3")]}),(0,a.jsxs)("div",{className:"cont-desc",children:[(0,a.jsx)("h6",{children:(0,c.t)("suClaimMembershipFees")}),(0,a.jsxs)("ul",{children:[(0,a.jsx)("li",{children:(0,c.t)("suMonthlyFee")}),(0,a.jsx)("li",{children:(0,c.t)("suMembershipFeeRequest")})]})]}),(0,a.jsxs)("div",{className:"cont-desc red",children:[(0,a.jsxs)("h6",{children:["\u203b ",(0,c.t)("suWarnings")]}),(0,a.jsxs)("ul",{children:[(0,a.jsx)("li",{children:(0,c.t)("suWarnings1")}),(0,a.jsx)("li",{children:(0,c.t)("suWarnings2")}),(0,a.jsx)("li",{children:(0,c.t)("suWarnings3")}),(0,a.jsx)("li",{children:(0,c.t)("suWarnings4")})]})]})]}),(0,a.jsxs)("div",{className:"withdrawal-chk",children:[(0,a.jsx)("input",{type:"checkbox",className:"lg",id:"instruction",checked:x,onChange:function(){j(!x)}}),(0,a.jsx)("label",{htmlFor:"instruction",children:(0,a.jsx)("span",{children:(0,c.t)("suWarningsChk")})})]}),(0,a.jsx)("div",{className:"cont-box",children:(0,a.jsx)("div",{className:"btn-wrap",children:(0,a.jsx)("button",{onClick:function(e){return e.stopPropagation(),x?k?(q(!0),void Z((0,c.t)("suMemberShipCardRegWarning"))):(C(!0),void F((0,c.t)("suNotEligibleMembershipCard"))):(C(!0),void F((0,c.t)("suAgreeInstructions")))},children:(0,c.t)("suRegisterCard")})})})]}),(0,a.jsx)(m.Z,{isDisplay:A,content:O,clickCloseButton:function(){C(!1),"login"===T&&y.push("/sign/login")}}),(0,a.jsx)(p.Z,{isDisplay:L,content:W,clickOkButton:function(){Q()},clickNoButton:function(e){return q(!1)}}),K&&(0,a.jsx)(l,{payInfo:E,isDisplay:K})]})}}},function(e){e.O(0,[9774,2888,179],(function(){return t=29686,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.