1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[78],{I1E3:function(t,e,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/TransferDepInsideCoop",function(){return a("gBVf")}])},MoW8:function(t,e,a){"use strict";var n=a("1OyB"),o=a("vuIU"),i=a("Ji7U"),s=a("md7G"),l=a("foSv"),r=a("q1tI"),c=a.n(r),d=(a("YFqc"),a("Z3vd")),u=(a("WM+0"),a("LvDl")),p=a.n(u),f=a("xtEs"),g=(a("wd/R"),a("yLiY")),m=a.n(g),h=a("/MKj"),y=a("nOHt"),O=a.n(y),A=a("fH4n"),x=a("9kay"),N=c.a.createElement;function E(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var a,n=Object(l.a)(t);if(e){var o=Object(l.a)(this).constructor;a=Reflect.construct(n,arguments,o)}else a=n.apply(this,arguments);return Object(s.a)(this,a)}}var v=m()().publicRuntimeConfig,T=function(t){Object(i.a)(a,t);var e=E(a);function a(t){var o;return Object(n.a)(this,a),(o=e.call(this,t)).state={},o}return Object(o.a)(a,[{key:"componentDidMount",value:function(){}},{key:"getPageTitle",value:function(){var t=this.props,e=(t.MEMBER_INFO,t.MENU_LIST),a=e.data&&e.data.MENU_HOME?e.data.MENU_HOME:[],n=e.data&&e.data.MENU_SETTING?e.data.MENU_SETTING:[],o=e.data&&e.data.MENU_TRANSACTION?e.data.MENU_TRANSACTION:[],i=e.data&&e.data.MENU_TRANSACTION_INSIDE?e.data.MENU_TRANSACTION_INSIDE:[],s=e.data&&e.data.MENU_TRANSACTION_OUTSIDE?e.data.MENU_TRANSACTION_OUTSIDE:[];return p.a.find(a,{MENU_COMPONENT:Object(f.k)(O.a.pathname)})?"th"==A.a.language?p.a.find(a,{MENU_COMPONENT:Object(f.k)(O.a.pathname)}).MENU_NAME:p.a.find(a,{MENU_COMPONENT:Object(f.k)(O.a.pathname)}).MENU_NAME_EN:p.a.find(n,{MENU_COMPONENT:Object(f.k)(O.a.pathname)})?"th"==A.a.language?p.a.find(n,{MENU_COMPONENT:Object(f.k)(O.a.pathname)}).MENU_NAME:p.a.find(n,{MENU_COMPONENT:Object(f.k)(O.a.pathname)}).MENU_NAME_EN:p.a.find(o,{MENU_COMPONENT:Object(f.k)(O.a.pathname)})?"th"==A.a.language?p.a.find(o,{MENU_COMPONENT:Object(f.k)(O.a.pathname)}).MENU_NAME:p.a.find(o,{MENU_COMPONENT:Object(f.k)(O.a.pathname)}).MENU_NAME_EN:p.a.find(i,{MENU_COMPONENT:Object(f.k)(O.a.pathname)})?"th"==A.a.language?p.a.find(i,{MENU_COMPONENT:Object(f.k)(O.a.pathname)}).MENU_NAME:p.a.find(i,{MENU_COMPONENT:Object(f.k)(O.a.pathname)}).MENU_NAME_EN:p.a.find(s,{MENU_COMPONENT:Object(f.k)(O.a.pathname)})?"th"==A.a.language?p.a.find(s,{MENU_COMPONENT:Object(f.k)(O.a.pathname)}).MENU_NAME:p.a.find(s,{MENU_COMPONENT:Object(f.k)(O.a.pathname)}).MENU_NAME_EN:"th"==A.a.language?this.props.th||"":this.props.en||""}},{key:"render",value:function(){this.props.MENU_LIST;var t=this.getPageTitle();return N("div",{style:{marginBottom:10}},N("div",{style:{flexDirection:"row",display:"flex",alignItems:"center"}},N("div",{style:{fontSize:"1.2em",display:"flex",alignItems:"center"}},N("span",{className:"header-title",style:{padding:"0 0.5em",fontWeight:"bold"}},t))),N("div",null,N(d.a,{style:{minWidth:"unset"},onClick:function(){O.a.push("/","".concat(v.prefixPath))},size:"small"},A.a.t("HomeName")),"/",N(d.a,{color:"primary",style:{minWidth:"unset"},size:"small"},t)))}}]),a}(c.a.Component);e.a=Object(h.b)((function(t){return{MENU_LIST:t.MENU_LIST}}),(function(t){return{}}))(Object(x.c)()(T))},Xd8E:function(t,e,a){"use strict";var n=a("q1tI"),o=a.n(n),i=a("wx14"),s=a("Ff2n"),l=(a("17x9"),a("iuhU")),r=a("H2TA"),c=a("ye/S"),d=n.forwardRef((function(t,e){var a=t.absolute,o=void 0!==a&&a,r=t.classes,c=t.className,d=t.component,u=void 0===d?"hr":d,p=t.flexItem,f=void 0!==p&&p,g=t.light,m=void 0!==g&&g,h=t.orientation,y=void 0===h?"horizontal":h,O=t.role,A=void 0===O?"hr"!==u?"separator":void 0:O,x=t.variant,N=void 0===x?"fullWidth":x,E=Object(s.a)(t,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return n.createElement(u,Object(i.a)({className:Object(l.a)(r.root,c,"fullWidth"!==N&&r[N],o&&r.absolute,f&&r.flexItem,m&&r.light,"vertical"===y&&r.vertical),role:A,ref:e},E))})),u=Object(r.a)((function(t){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:t.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:Object(c.a)(t.palette.divider,.08)},middle:{marginLeft:t.spacing(2),marginRight:t.spacing(2)},vertical:{height:"100%",width:1},flexItem:{alignSelf:"stretch",height:"auto"}}}),{name:"MuiDivider"})(d),p=a("469l"),f=a("hlFM"),g=a("CtXQ"),m=a("BMrR"),h=a("kPKH"),y=a("fmKo"),O=a("yLiY"),A=a.n(O),x=a("/MKj"),N=a("fH4n"),E=a("9kay"),v=a("nOHt"),T=a.n(v),C=a("PArb"),b=o.a.createElement,S=A()().publicRuntimeConfig,w=a("fmKo").default,M=function(t){return b(f.a,null,b(f.a,{style:{display:"flex",flexWrap:"wrap",justifyContent:"flex-end",alignItem:"center",margin:"0 -8px",paddingTop:8}},w.POLICY_URL&&b(f.a,{sx:{color:t.isLightBg?"#535353":"white",cursor:"pointer",margin:"8px",opacity:.6,transition:".3s all","&:hover":{opacity:1}},onClick:function(){window.open(w.POLICY_URL)}},"\u0e19\u0e42\u0e22\u0e1a\u0e32\u0e22\u0e01\u0e32\u0e23\u0e04\u0e38\u0e49\u0e21\u0e04\u0e23\u0e2d\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e2a\u0e48\u0e27\u0e19\u0e1a\u0e38\u0e04\u0e04\u0e25 (Privacy Policy)"),b(f.a,{sx:{color:t.isLightBg?"#535353":"white",cursor:"pointer",margin:"8px",opacity:.6,transition:".3s all","&:hover":{opacity:1}},onClick:function(){window.open("".concat(S.prefixPath,"CookiePolicy"))}},"\u0e1b\u0e23\u0e30\u0e01\u0e32\u0e28\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e04\u0e38\u0e01\u0e01\u0e35\u0e49 (Cookies Policy)")),b(C.a,{style:{margin:0,opacity:.4}}))},D=o.a.createElement,k=A()().publicRuntimeConfig;e.a=Object(x.b)((function(t){return{MENU_LIST:t.MENU_LIST}}),(function(t){return{}}))(Object(E.c)()((function(t){var e=t.disabledMenu,a=t.MENU_LIST,n=null!==a&&void 0!==a&&a.data&&a.data.MENU_HOME?a.data.MENU_HOME:[];return D("div",{className:t.className,style:{maxWidth:"100vw"}},!!t.isSubFooter&&!!y.default.COOP_HELP&&D("div",{className:"footer",style:{padding:"10px 40px",backgroundColor:y.default.FILTERED_FOOTER?"var(--coop-main-filter)":"var(--coop-second-color)",color:!y.default.IS_LIGHTSUBFOOTER&&"white",display:"flex",justifyContent:"center"}},!!y.default.COOP_HELP&&D("div",{onClick:function(){return window.open("".concat(y.default.COOP_HELP))},style:{textAlign:"center",padding:"0 10px",cursor:"pointer",width:"100%",maxWidth:1280,margin:"auto"}},D(g.a,{type:"question-circle",style:{fontSize:"25px"}}),D("div",null,N.a.t("FrequentlyQuestions")))),D("div",{className:"footer main-footer",style:{background:y.default.FOOTER_COLORED?"var(--gd-title-header)":"var(--gd-black)",color:"white",fontSize:"smaller",whiteSpace:"pre-wrap"}},D(m.a,{style:{width:"100%",maxWidth:1280,margin:"auto"}},D(h.a,{sm:24,md:12,lg:12,xl:12,xxl:12},D("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:"10px"}},D("picture",null,D("source",{srcSet:"".concat(k.logoFolder,"/logo.webp"),type:"image/webp"}),D("source",{srcSet:"".concat(k.logoFolder,"/logo.png"),type:"image/png"}),D("img",{alt:"coop-icon",src:"".concat(k.logoFolder,"/logo.png"),type:"image/png",style:{height:"3em",maxWidth:"3em"}})),D("div",{className:y.default.COOP_WEB?"coop-web-url":"",onClick:function(){return window.open(y.default.COOP_WEB)},style:{paddingLeft:10,fontSize:"initial"}},D("div",null,"th"==N.a.language?y.default.COOP_NAME:y.default.COOP_NAME_EN),D("div",{style:{fontSize:"smaller"}},"th"==N.a.language?y.default.COOP_NAME_EN:y.default.COOP_NAME))),D("div",{style:{paddingTop:10}},D("div",{style:{fontSize:"larger",padding:"5px 0",color:y.default.FOOTER_COLORED?"white":"var(--footer-text-color)"}},N.a.t("ContactInformation")," :"),D("div",null,y.default.COOP_ADDRESS)),!!y.default.COOP_CONTRACT&&D("div",{style:{paddingTop:5}},y.default.COOP_CONTRACT),!e&&D("div",{style:{paddingTop:20}},D(u,null),D("div",{style:{fontSize:"larger",padding:"5px 0",color:y.default.FOOTER_COLORED?"white":"var(--footer-text-color)"}},N.a.t("Menu")," :"),_.take(n.filter(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;return-1==t.indexOf(parseInt(e.ID_MENU))}.bind(undefined,[24,43,15,42])),6).map((function(t,e){return D("div",{onClick:function(){T.a.push("/".concat(t.MENU_COMPONENT),"".concat(k.prefixPath).concat(t.MENU_COMPONENT))},key:e,className:"footer-navigation",style:{padding:"2px 0"}},"th"==N.a.language?t.MENU_NAME:t.MENU_NAME_EN)})))),D(h.a,{sm:24,md:12,lg:12,xl:12,xxl:12},y.default.COOP_FACEBOOK||y.default.COOP_LINE||y.default.COOP_YOUTUBE?D("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"flex-end",padding:"10px 0"}},!!y.default.COOP_FACEBOOK&&!y.default.IS_FACEBOOKPAGE&&D("div",{onClick:function(){return window.open(y.default.COOP_FACEBOOK)},style:{marginLeft:"10px"}},y.default.FOOTER_COLORED?D(p.a,{alt:"facebook",className:"social-contract-icon",src:"".concat(k.svgFolder,"/facebook.svg")}):D(p.a,{variant:"square",alt:"facebook",className:"social-contract-icon-dark",src:"".concat(k.svgFolder,"/facebook_white.svg")})),!!y.default.COOP_YOUTUBE&&D("div",{onClick:function(){return window.open(y.default.COOP_YOUTUBE)},style:{marginLeft:"10px"}},y.default.FOOTER_COLORED?D(p.a,{alt:"youtube",className:"social-contract-icon",src:"".concat(k.svgFolder,"/youtube.svg")}):D(p.a,{variant:"square",alt:"youtube",className:"social-contract-icon-dark",src:"".concat(k.svgFolder,"/youtube_white.svg")})),!!y.default.COOP_LINE&&D("div",{onClick:function(){return window.open(y.default.COOP_LINE)},style:{marginLeft:"10px"}},y.default.FOOTER_COLORED?D(p.a,{alt:"line",className:"social-contract-icon",src:"".concat(k.svgFolder,"/line.svg")}):D("div",{className:"social-contract-icon-dark",style:{display:"flex",alignItems:"center",width:"unset",fontSize:"1em",paddingRight:5,borderRadius:2}},D(p.a,{variant:"square",alt:"line",src:"".concat(k.svgFolder,"/line_white.svg")}),D("div",null,"\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e19")))):null,!!y.default.COOP_FACEBOOK&&!!y.default.IS_FACEBOOKPAGE&&D("div",{style:{display:"flex",justifyContent:"flex-end"}},D("div",{style:{width:340}},D("iframe",{src:y.default.FACEBOOKPAGE_IFRAME_URL,height:"75",style:{border:"none",overflow:"hidden",
1width:"100%",height:"75px"},scrolling:"no",frameBorder:"0",allowFullScreen:!0,allow:"autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"}))))),D(f.a,{style:{width:"100%",maxWidth:1280,margin:"auto"}},D(M,null)),!!y.default.POWERED_BY&&D("div",{style:{paddingTop:10,textAlign:"right",fontSize:"smaller",width:"100%",maxWidth:1280,margin:"auto"}},y.default.POWERED_BY)))})))},gBVf:function(t,e,a){"use strict";a.r(e);var n=a("o0o1"),o=a.n(n),i=a("HaE+"),s=a("1OyB"),l=a("vuIU"),r=a("JX7q"),c=a("Ji7U"),d=a("md7G"),u=a("foSv"),p=a("rePB"),f=a("q1tI"),g=a.n(f),m=a("8Kt/"),h=a.n(m),y=a("ECub"),O=a("BMrR"),A=a("kPKH"),x=a("PArb"),N=a("wCAj"),E=a("CtXQ"),v=a("nOHt"),T=a.n(v),C=a("WM+0"),b=a("xtEs"),S=a("fmKo"),w=a("VlGh"),M=a("yLiY"),D=a.n(M),k=a("Y0NT"),P=a("/MKj"),I=a("5VHT"),F=a.n(I),j=a("n0zQ"),U=a("sdZm"),R=a("pIR8"),B=a("Xd8E"),L=a("ZiQX"),V=a("DObr"),H=a("Xt1q"),K=a("+Isj"),z=a("PsDL"),W=a("Z3vd"),G=a("ADg1"),Y=a("iae6"),q=a("KmP9"),X=a("kKU3"),J=a("olcQ"),Q=a("KPTR"),Z=a("bkve"),$=a("1AYd"),tt=a("pdwK"),et=a("hQDC"),at=a("MoW8"),nt=a("fH4n"),ot=a("9kay"),it=g.a.createElement;function st(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function lt(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?st(Object(a),!0).forEach((function(e){Object(p.a)(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):st(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function rt(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var a,n=Object(u.a)(t);if(e){var o=Object(u.a)(this).constructor;a=Reflect.construct(n,arguments,o)}else a=n.apply(this,arguments);return Object(d.a)(this,a)}}var ct=D()().publicRuntimeConfig,dt=function(t){Object(c.a)(a,t);var e=rt(a);function a(t){var n,l;return Object(s.a)(this,a),l=e.call(this,t),Object(p.a)(Object(r.a)(l),"fetchAllowAccount",Object(i.a)(o.a.mark((function t(){var e;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:l.setState({loading:!0}),e={menu_component:"TransferDepInsideCoop"},C.a.fetchAllowAccountTransfer(e).then((function(t){if(t.response){if(t.response.status>=300)throw t.response}else if("Network Error"==t.message)throw"networkError";if(t.RESULT){var e=[];if(t.FORMAT_DEPT)t.FORMAT_DEPT.split("-").map((function(t){e.push(t.length)}));l.setState({accArr:t.ACCOUNT_ALLOW,favArr:t.ACCOUNT_FAV||[],dept_format:e},(function(){l.state.accArr[0]&&l.setState({myAccount:l.state.accArr[0],onSelectAccList:0,transferValue:null})}))}else l.setState(lt({},l.props.checkResultFalseMessage(t,{},nt.a.t("SavingAccNotFound"))));l.setState({loading:!1,isInitialLoading:!1})})).catch((function(t){l.setState({loading:!1,isInitialLoading:!1}),l.setState(lt({},l.props.checkCatchMessage(t)))}));case 3:case"end":return t.stop()}}),t)})))),Object(p.a)(Object(r.a)(l),"getFeeFundTransfer",Object(i.a)(o.a.mark((function t(){var e;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:l.setState({loadingNext:!0,failedVerify:null}),e={deptaccount_no:l.state.myAccount.DEPTACCOUNT_NO,amt_transfer:l.state.transferValue,menu_component:"TransferDepInsideCoop"},C.a.FeefundTransfer(e).then((function(t){if(t.response){if(t.response.status>=300)throw t.response}else if("Network Error"==t.message)throw"networkError";t.RESULT?t.CAUTION?l.setState({alertData:{isOpen:!0,title:null,detail:t.CAUTION.RESPONSE_MESSAGE,type:"confirm",icon:null,loading:!1,onClose:function(){l.setState({alertData:{}})},onConfirm:function(){l.setState({penaltyAMT:t.PENALTY_AMT,feeAMT:t.FEE_AMT,failedTransfer:null,currentStep:1,alertData:{}})},confirmText:t.CAUTION.CONFIRM_TEXT,cancelText:t.CAUTION.CANCEL_TEXT,disabledConfirm:!t.CAUTION.CONFIRM_TEXT}}):l.setState({penaltyAMT:t.PENALTY_AMT,feeAMT:t.FEE_AMT,failedTransfer:null,currentStep:1}):l.setState({penaltyAMT:null,feeAMT:null,failedVerify:t.RESPONSE_MESSAGE?t.RESPONSE_MESSAGE:nt.a.t("ErrorAndTryagain")}),l.setState({loadingNext:!1})}
1)).catch((function(t){l.setState({loadingNext:!1}),l.setState({penaltyAMT:null,feeAMT:null,failedVerify:nt.a.t("ErrorAndTryagain")})}));case 3:case"end":return t.stop()}}),t)})))),Object(p.a)(Object(r.a)(l),"FundTransfer",Object(i.a)(o.a.mark((function t(){var e;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:l.setState({loadingConfirm:!0,failedTransfer:null}),e={from_deptaccount_no:l.state.myAccount.DEPTACCOUNT_NO,to_deptaccount_no:l.state.toAccount.DEPTACCOUNT_NO,amt_transfer:l.state.transferValue,penalty_amt:l.state.penaltyAMT,fee_amt:l.state.feeAMT,remark:l.state.transferRemark,menu_component:"TransferDepInsideCoop"},C.a.fundTransferInCoop(e).then((function(t){if(t.response){if(t.response.status>=300)throw t.response}else if("Network Error"==t.message)throw"networkError";t.RESULT?l.setState({slip_no:t.TRANSACTION_NO,transaction_date:t.TRANSACTION_DATE,currentStep:2}):l.setState({failedTransfer:t.RESPONSE_MESSAGE?t.RESPONSE_MESSAGE:nt.a.t("FailedAndTryagain")}),l.setState({loadingConfirm:!1})})).catch((function(t){l.setState({loadingConfirm:!1}),l.setState({failedTransfer:nt.a.t("FailedAndTryagain")})}));case 3:case"end":return t.stop()}}),t)})))),Object(p.a)(Object(r.a)(l),"fetchDesAccount",Object(i.a)(o.a.mark((function t(){var e;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:l.setState({loadingDes:!0,failedVerify:null}),e={source_deptaccount_no:l.state.myAccount.DEPTACCOUNT_NO,deptaccount_no:l.state.transferAccNo,menu_component:"TransferDepInsideCoop"},C.a.fetchAccountDestination(e).then((function(t){if(t.response){if(t.response.status>=300)throw t.response}else if("Network Error"==t.message)throw"networkError";t.RESULT?l.setState({onSelectedTo:!0,toAccount:t.ACCOUNT_DATA,onSelectAccList:3}):l.setState({failedVerify:t.RESPONSE_MESSAGE?t.RESPONSE_MESSAGE:nt.a.t("ErrorAndTryagain")}),l.setState({loadingDes:!1})})).catch((function(t){l.setState({loadingDes:!1}),l.setState({failedVerify:nt.a.t("ErrorAndTryagain")})}));case 3:case"end":return t.stop()}}),t)})))),Object(p.a)(Object(r.a)(l),"onPressSelectedCustomAccount",(function(t){var e=t.item,a=(t.index,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"sender");"sender"==a?l.setState({myAccount:e,transferValue:"",openSelectAcc:!1}):l.setState({toAccount:e,openSelectAcc:!1})})),l.state=(n={statusCode:200,errData:null,loading:!0,notifyOn:0,pathName:"",transferValue:null,accArr:[],favArr:[],myAccount:{},toAccount:{},onSelectAccList:1,isShowSlip:!1,transferAccNo:null,onSelectedTo:!1,dept_format:[],isConfirmTrans:!1,feeAMT:null,penaltyAMT:null,loadingTransfer:!1,loadingFund:!1,slip_no:"",transaction_date:"",isInitialLoading:!0},Object(p.a)(n,"transaction_date",""),Object(p.a)(n,"currentStep",0),Object(p.a)(n,"openSelectAcc",!1),Object(p.a)(n,"select_acc_on","sender"),Object(p.a)(n,"transferRemark",null),Object(p.a)(n,"alertData",{}),n),l}return Object(l.a)(a,[{key:"componentDidMount",value:function(){this.setState({pathName:Object(b.k)(T.a.pathname)}),this.fetchAllowAccount()}},{key:"componentDidUpdate",value:function(t,e){0==t.isSuccessOTP&&1==this.props.isSuccessOTP&&this.FundTransfer()}},{key:"renderModalSelectAccount",value:function(){var t,e,a=this,n=this.props.HIDE_ACCOUNT_NO.data,o=this.state.select_acc_on,i="sender"==o?null!==(t=this.state.accArr)&&void 0!==t?t:[]:(null!==(e=this.state.accArr)&&void 0!==e?e:[]).filter((function(t){return _.isEmpty(a.state.myAccount)?t:t.DEPTACCOUNT_NO!=a.state.myAccount.DEPTACCOUNT_NO}));return it(H.a,{open:this.state.openSelectAcc,onClose:function(){a.setState({openSelectAcc:!1})},closeAfterTransition:!0,BackdropComponent:K.a,BackdropProps:{timeout:500},style:{}},it("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",overflow:"auto",width:"100%",height:"100vh",padding:"20px 0"}},it("div",{style:{position:"absolute",top:20,right:40,zIndex:3}},it(z.a,{onClick:function(){a.setState({openSelectAcc:!1})},style:{backgroundColor:"rgba(255,255,255,0.5)"}},it(j.a,null))),it("div",{onClick:function(){a.setState({openSelectAcc:!1})},style:{position:"fixed",top:0,right:0,width:"100%",height:"100%"}}),it("div",{className:"sub-content",style:{backgroundColor:"white",margin:"auto",minHeight:"unset",width:"unset",zIndex:2}}
1,it("div",{style:{paddingBottom:20,position:"sticky",top:60}},it("div",{style:{fontSize:"1.2em",textDecoration:"underline",backgroundColor:"white"}},nt.a.t("SelectAcc"))),i.length>0?i.map((function(t,e){return it("div",{key:e,style:{marginBottom:20}},"sender"==o?it(W.a,{onClick:function(){a.onPressSelectedCustomAccount({item:t,index:e},o)},color:a.state.myAccount.DEPTACCOUNT_NO==t.DEPTACCOUNT_NO?"primary":"default",variant:"outlined",style:{textTransform:"none"}},it("div",{style:{padding:"20px 0"}},it("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"}},t.DEPT_TYPE||"-"),it("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"}},it("div",{style:{padding:"0 20px",textAlign:"left"}},it("div",{style:{paddingTop:10}},(n?t.DEPTACCOUNT_NO_FORMAT_HIDE:t.DEPTACCOUNT_NO_FORMAT)||"xxx-xxx-xxxx"),it("div",null,t.DEPTACCOUNT_NAME||"")),it("div",{style:{textAlign:"right",padding:"0 20px"}},it("div",{style:{paddingTop:10}},nt.a.t("WithdrawableAmtTHB")),it("div",{className:"highlight-text",style:{fontSize:"1.2em"}},t.BALANCE_FORMAT||"-"))))):it(W.a,{onClick:function(){a.onPressSelectedCustomAccount({item:t,index:e},o)},disabled:a.state.myAccount.DEPTACCOUNT_NO==t.DEPTACCOUNT_NO,color:a.state.toAccount.DEPTACCOUNT_NO==t.DEPTACCOUNT_NO?"primary":"default",variant:"outlined",style:{textTransform:"none"}},it("div",null,it("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"20px 0"}},it("div",{style:{padding:"0 20px"}},_.isEmpty(t.BANK_LOGO)?it("picture",null,it("source",{srcSet:"".concat(ct.logoFolder,"/logo.webp"),type:"image/webp"}),it("source",{srcSet:"".concat(ct.logoFolder,"/logo.png"),type:"image/png"}),it("img",{alt:"coop-icon",src:"".concat(ct.logoFolder,"/logo.png"),type:"image/png",style:{height:"40px",width:"40px",overflow:"hidden",margin:"auto"}})):it("img",{alt:"icon",style:{height:"40px",width:"40px",overflow:"hidden",margin:"auto"},src:t.BANK_LOGO?t.BANK_LOGO:null})),it("div",{style:{textAlign:"right",padding:"0 20px"}},it("div",null,t.DEPTACCOUNT_NO_FORMAT||"xxx-xxx-xxxx"),it("div",null,t.DEPTACCOUNT_NAME||""))))))})):it(y.a,{className:"empty-div",description:nt.a.t("DataNotFound"),style:{fontSize:"small"},image:it("picture",null,it("source",{srcSet:"".concat(ct.imageFolder,"/notfound.webp"),type:"image/webp"}),it("source",{srcSet:"".concat(ct.imageFolder,"/notfound.png"),type:"image/png"}),it("img",{alt:"notfound-icon",src:"".concat(ct.imageFolder,"/notfound.png"),type:"image/png",style:{userSelect:"none",opacity:.6}}))}))))}},{key:"onVerify",value:function(){S.default.isAllowSelectedSource;if(this.setState({loadingNext:!0}),_.isEmpty(this.state.myAccount))this.setState({failedVerify:nt.a.t("pleaseSelectAccountForTransactions"),loadingNext:!1});else if(_.isEmpty(this.state.toAccount))this.setState({failedVerify:nt.a.t("pleaseSelectDestinationAccount"),loadingNext:!1});else{(parseFloat(this.state.transferValue)||0)>(_.has(this.state.myAccount,"BALANCE")&&parseFloat(this.state.myAccount.BALANCE)||0)?this.setState({failedVerify:nt.a.t("notEnoughMoneyForTransaction"),loadingNext:!1}):this.getFeeFundTransfer()}}},{key:"renderAccount",value:function(){var t,e,a,n,o=this,i=this.props.HIDE_ACCOUNT_NO.data;return it("div",null,it(O.a,{type:"flex",gutter:[{xs:8,sm:8,md:8,lg:16,xl:24,xxl:24},{xs:8,sm:8,md:8,lg:16,xl:24,xxl:24}]},it(A.a,{xs:24,sm:24,md:12,lg:12,xl:{span:8,offset:4},xxl:{span:8,offset:4},style:{textAlign:"center",backgroundColor:"rgba(90, 183, 120, 0.08)"}},it(W.a,{onClick:function(){o.setState({select_acc_on:"sender",openSelectAcc:!0})},variant:"outlined",color:_.isEmpty(this.state.myAccount)?"default":"primary",style:{textTransform:"none",backgroundColor:"white",padding:"20px",height:"100%",minWidth:"50%"}},it("div",null,it("div",null,this.state.myAccount.DEPT_TYPE||nt.a.t("CoopAccount")),it("div",{style:{paddingTop:10}},_.isEmpty(this.state.myAccount)?"xxx-xxx-xxxx":i?this.state.myAccount.DEPTACCOUNT_NO_FORMAT_HIDE:this.state.myAccount.DEPTACCOUNT_NO_FORMAT),it("div",null,this.state.myAccount.BALANCE_FORMAT||"x.xx"))),it("div",{className:"transfer-right-arrow"},it("div",{style:{textAlign:"center"}},it(z.a,{color:"primary",disableRipple:!0},it(U.a,null))))),it(A.a,{className:"transfer-down-arrow",xs:24,sm:24,md:12,lg:12,xl:{span:8,offset:4},xxl:{span:8,offset:4},style:{textAlign:"center",backgroundColor:"rgba(90, 183, 120, 0.08)"}},it(x.a,null,it(R.a,{style:{color:"#3F51B5"}}))),it(A.a,{xs:24,sm:24,md:12,lg:12,xl:8,xxl:8,style:{textAlign:"center",backgroundColor:"rgba(90, 183, 120, 0.08)"}},it(W.a,{onClick:function(){document.getElementById("input-accountno")&&document.getElementById("input-accountno").focus()},variant:"outlined",color:_.isEmpty(this.state.toAccount)?"default":"primary",style:{textTransform:"none",backgroundColor:"white",padding:"20px",height:"100%",minWidth:"50%"}}
1,it("div",null,it("div",null,_.isEmpty(this.state.toAccount.BANK_LOGO)?it("picture",null,it("source",{srcSet:"".concat(ct.logoFolder,"/logo.webp"),type:"image/webp"}),it("source",{srcSet:"".concat(ct.logoFolder,"/logo.png"),type:"image/png"}),it("img",{alt:"coop-icon",src:"".concat(ct.logoFolder,"/logo.png"),type:"image/png",style:{height:"40px",width:"40px",overflow:"hidden",margin:"auto"}})):it("img",{alt:"icon",style:{height:"40px",width:"40px",overflow:"hidden",margin:"auto"},src:this.state.toAccount.BANK_LOGO?this.state.toAccount.BANK_LOGO:null})),it("div",{style:{paddingTop:10}},it("div",null,null===(t=this.state.toAccount)||void 0===t?void 0:t.ACCOUNT_NAME),it("div",null,(null===(e=this.state.toAccount)||void 0===e?void 0:e.DEPTACCOUNT_NO_FORMAT)||this.state.transferAccNoFormat||"xxx-xxx-xxxx")))))),it(O.a,{type:"flex",gutter:[{xs:8,sm:8,md:8,lg:16,xl:24,xxl:24},{xs:8,sm:8,md:8,lg:16,xl:24,xxl:24}]},it(A.a,{xs:0,sm:0,md:24,lg:24,xl:{span:16,offset:4},xxl:{span:16,offset:4},style:{textAlign:"center",paddingTop:40}},it(N.a,{className:"description-table",useFixedHeader:!1,bordered:!1,size:"small",pagination:!1,showHeader:!1,dataSource:[{key:"accNo",label:"".concat(nt.a.t("ToAccountNo")," : "),value:it("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"flex-start"}},it("div",{style:{marginBottom:10}},it(G.a,{size:"small",variant:"outlined"},this.state.dept_format.length>0?it(F.a,{id:"input-accountno",disabled:!(this.state.myAccount&&!this.state.loadingDes),name:"transferAccNo",className:"cleave-input-number ant-input-number",placeholder:_.isEmpty(this.state.myAccount)?nt.a.t("pleaseSelectAccountForTransactions"):nt.a.t("EnterDesAccountNo"),options:{numericOnly:!0,blocks:this.state.dept_format,delimiter:"-"},value:this.state.transferAccNo||"",onChange:function(t){return o.setState({transferAccNo:t.target.rawValue,transferAccNoFormat:t.target.value})},onKeyDown:function(t){"Enter"==t.key&&o.state.transferAccNo&&o.fetchDesAccount()}}):it(F.a,{id:"input-accountno",disabled:!(this.state.myAccount&&!this.state.loadingDes),name:"transferAccNo",className:"cleave-input-number ant-input-number",placeholder:_.isEmpty(this.state.myAccount)?nt.a.t("pleaseSelectAccountForTransactions"):nt.a.t("EnterDesAccountNo"),options:{numericOnly:!0,blocks:[3,2,5],delimiter:"-"},value:this.state.transferAccNo||"",onChange:function(t){return o.setState({transferAccNo:t.target.rawValue,transferAccNoFormat:t.target.value})},onKeyDown:function(t){"Enter"==t.key&&o.state.transferAccNo&&o.fetchDesAccount()}}))),it("div",{style:{marginBottom:10,marginLeft:40}},it(W.a,{disabled:!this.state.transferAccNo||_.isEmpty(this.state.myAccount)||!!this.state.loadingDes,disableRipple:!!this.state.loadingDes,onClick:function(){!o.state.loadingDes&&o.fetchDesAccount()},color:"primary",variant:"contained",endIcon:this.state.loadingDes?it(Y.a,{style:{width:"1em",height:"1em",color:"white"}}):it(U.a,null),style:{whiteSpace:"nowrap"}},nt.a.t("CheckTransfer"))))},!_.isEmpty(this.state.toAccount)&&{key:"Value",label:"".concat(nt.a.t("TransactionAmtTHB")," : "),value:it("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"flex-end"}},it("div",{style:{marginBottom:10}},it(G.a,{size:"small",variant:"outlined"},it(q.a,(a={id:"transfer-value-outlined",disabled:_.isEmpty(this.state.myAccount),key:"transfer-value",value:this.state.transferValue,onChange:function(t){t.target.value&&parseFloat(t.target.value)>parseFloat(o.state.myAccount.BALANCE)?o.setState({transferValue:o.state.myAccount.BALANCE}):o.setState({transferValue:t.target.value})},placeholder:_.isEmpty(this.state.myAccount)?nt.a.t("pleaseSelectAccountForTransactions"):"0.00",inputProps:{autoComplete:"off"},name:"formatted-numberformat-input"},Object(p.a)(a,"id","formatted-numberformat-input"),Object(p.a)(a,"variant","outlined"),Object(p.a)(a,"onKeyDown",(function(t){"Enter"==t.key&&o.state.transferValue&&o.onVerify()})),Object(p.a)(a,"inputComponent",b.a),a)))),it("div",{style:{marginBottom:10,marginLeft:40}},it(W.a,{disabled:!this.state.transferValue||!this.state.transferAccNo,disableRipple:!!this.state.loadingNext,onClick:function(){!o.state.loadingNext&&o.onVerify()},color:"primary",variant:"contained",endIcon:this.state.loadingNext?it(Y.a,{style:{width:"1em",height:"1em",color:"white"}}):it(U.a,null),style:{whiteSpace:"nowrap"}},nt.a.t("Next"))))}],columns:[{title:"label",dataIndex:"label",key:"label",className:"description-label"},{title:"value",dataIndex:"value",key:"value"}]})),it(A.a,{xs:24,sm:24,md:0,lg:0,xl:0,xxl:0,style:{paddingTop:40}},it("div",null,it("div",null,"".concat(nt.a.t("ToAccountNo")," : ")),it("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"flex-end"}},it("div",{style:{marginBottom:10,width:"100%"}}
1,it(G.a,{size:"small",variant:"outlined",fullWidth:!0},this.state.dept_format.length>0?it(F.a,{id:"input-accountno",disabled:!(this.state.myAccount&&!this.state.loadingDes),name:"transferAccNo",className:"cleave-input-number ant-input-number",placeholder:_.isEmpty(this.state.myAccount)?nt.a.t("pleaseSelectAccountForTransactions"):nt.a.t("EnterDesAccountNo"),options:{numericOnly:!0,blocks:this.state.dept_format,delimiter:"-"},value:this.state.transferAccNo||"",onChange:function(t){return o.setState({transferAccNo:t.target.rawValue,transferAccNoFormat:t.target.value})},onKeyDown:function(t){"Enter"==t.key&&o.state.transferAccNo&&o.fetchDesAccount()}}):it(F.a,{id:"input-accountno",disabled:!(this.state.myAccount&&!this.state.loadingDes),name:"transferAccNo",className:"cleave-input-number ant-input-number",placeholder:_.isEmpty(this.state.myAccount)?nt.a.t("pleaseSelectAccountForTransactions"):nt.a.t("EnterDesAccountNo"),options:{numericOnly:!0,blocks:[3,2,5],delimiter:"-"},value:this.state.transferAccNo||"",onChange:function(t){return o.setState({transferAccNo:t.target.rawValue,transferAccNoFormat:t.target.value})},onKeyDown:function(t){"Enter"==t.key&&o.state.transferAccNo&&o.fetchDesAccount()}}))),it("div",{style:{marginBottom:10,marginLeft:40}},it(W.a,{disabled:!this.state.transferAccNo||_.isEmpty(this.state.myAccount)||!!this.state.loadingDes,disableRipple:!!this.state.loadingDes,onClick:function(){!o.state.loadingDes&&o.fetchDesAccount()},color:"primary",variant:"contained",endIcon:this.state.loadingDes?it(Y.a,{style:{width:"1em",height:"1em",color:"white"}}):it(U.a,null),style:{whiteSpace:"nowrap"}},nt.a.t("CheckTransfer")))),!_.isEmpty(this.state.toAccount)&&it("div",null,it("div",null,"".concat(nt.a.t("TransactionAmtTHB")," : ")),it("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"flex-end"}},it("div",{style:{marginBottom:10,width:"100%"}},it(G.a,{size:"small",variant:"outlined",fullWidth:!0},it(q.a,(n={id:"transfer-value-outlined",disabled:_.isEmpty(this.state.myAccount),key:"transfer-value",value:this.state.transferValue,onChange:function(t){t.target.value&&parseFloat(t.target.value)>parseFloat(o.state.myAccount.BALANCE)?o.setState({transferValue:o.state.myAccount.BALANCE}):o.setState({transferValue:t.target.value})},placeholder:_.isEmpty(this.state.myAccount)?nt.a.t("pleaseSelectAccountForTransactions"):"0.00",inputProps:{autoComplete:"off"},name:"formatted-numberformat-input"},Object(p.a)(n,"id","formatted-numberformat-input"),Object(p.a)(n,"variant","outlined"),Object(p.a)(n,"onKeyDown",(function(t){"Enter"==t.key&&o.state.transferValue&&o.onVerify()})),Object(p.a)(n,"inputComponent",b.a),n)))),it("div",{style:{marginBottom:10,marginLeft:40}},it(W.a,{disabled:!this.state.transferValue||!this.state.transferAccNo,disableRipple:!!this.state.loadingNext,onClick:function(){!o.state.loadingNext&&o.onVerify()},color:"primary",variant:"contained",endIcon:this.state.loadingNext?it(Y.a,{style:{width:"1em",height:"1em",color:"white"}}):it(U.a,null),style:{whiteSpace:"nowrap"}},nt.a.t("Next")))))))),it(X.a,{in:!!this.state.failedVerify},it(O.a,{type:"flex",gutter:[{xs:8,sm:8,md:8,lg:16,xl:24,xxl:24},{xs:8,sm:8,md:8,lg:16,xl:24,xxl:24}]},it(A.a,{xs:24,sm:24,md:24,lg:24,xl:{span:16,offset:4},xxl:{span:16,offset:4},style:{textAlign:"center",paddingTop:24}},it("div",null,it(L.a,{severity:"error",style:{position:"relative"},onClick:function(){o.setState({failedVerify:null})}},it(j.a,{style:{cursor:"pointer",position:"absolute",top:10,right:10}}),it(V.a,{style:{textAlign:"left"}},this.state.failedVerify)))))))}},{key:"render",value:function(){var t=this,e=this.props,a=(e.MENU_LIST,e.HIDE_ACCOUNT_NO.data);return this.state.statusCode>=300&&this.state.statusCode<500?it(k.default,{statusCode:this.state.statusCode,err:this.state.errData,showModalLogout:function(){return t.props.showModalLogout()}}):it("div",{className:"main-layout",style:{position:"relative"}},it("div",{style:{width:"100%"}},it(w.a,{checked:!this.state.loading||!this.state.isInitialLoading}),it(h.a,null,it("link",{rel:"stylesheet",href:"".concat(ct.cssFolder,"/transfer.css")})),it(et.a,{isOpen:!!this.state.alertData.isOpen,title:this.state.alertData.title,de
1scription:this.state.alertData.detail,type:this.state.alertData.type,svgIcon:this.state.alertData.icon,loading:!!this.state.alertData.loading,onClose:this.state.alertData.onClose,onConfirm:this.state.alertData.onConfirm,confirmText:this.state.alertData.confirmText,cancelText:this.state.alertData.cancelText,disabledConfirm:!!this.state.alertData.disabledConfirm}),this.renderModalSelectAccount(),it("div",{className:"main-content",style:{width:"100%"}},it("div",{className:"sub-content",style:{display:"flex",flexDirection:"column",padding:0}},it("div",{className:"sub-content",style:{flex:1,width:"100%"}},it(at.a,{th:"\u0e42\u0e2d\u0e19\u0e20\u0e32\u0e22\u0e43\u0e19\u0e1a\u0e31\u0e0d\u0e0a\u0e35\u0e2a\u0e2b\u0e01\u0e23\u0e13\u0e4c",en:"Transfer in Coop"}),it(O.a,{type:"flex",gutter:[{xs:8,sm:8,md:8,lg:16,xl:24,xxl:24},{xs:8,sm:8,md:8,lg:16,xl:24,xxl:24}]},it(A.a,{xs:24,sm:24,md:24,lg:24,xl:{span:16,offset:4},xxl:{span:16,offset:4},style:{textAlign:"center"}},it(J.a,{color:"second",activeStep:this.state.currentStep,alternativeLabel:!0},it(Q.a,null,it(Z.a,{disabled:1!=this.state.currentStep,onClick:function(){return t.setState({currentStep:0})}},nt.a.t("FillInfo"))),it(Q.a,null,it(Z.a,{disabled:!0},nt.a.t("CheckInfo"))),it(Q.a,null,it(Z.a,{disabled:!0},nt.a.t("SuccessfulTransaction")))))),it("div",{style:{padding:"40px 0"}},0==this.state.currentStep?this.renderAccount():1==this.state.currentStep?it("div",null,it(O.a,{type:"flex",gutter:[{xs:8,sm:8,md:8,lg:16,xl:24,xxl:24},{xs:8,sm:8,md:8,lg:16,xl:24,xxl:24}]},it(A.a,{xs:24,sm:24,md:12,lg:12,xl:{span:12,offset:6},xxl:{span:8,offset:8}},it("div",{style:{textAlign:"center",fontSize:"1.5em",fontWeight:"bold"}},nt.a.t("CheckInfo")),it("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",paddingTop:20}},it("div",null,it("picture",null,it("source",{srcSet:"".concat(ct.logoFolder,"/logo.webp"),type:"image/webp"}),it("source",{srcSet:"".concat(ct.logoFolder,"/logo.png"),type:"image/png"}),it("img",{alt:"coop-icon",src:"".concat(ct.logoFolder,"/logo.png"),type:"image/png",style:{height:"40px",width:"40px",overflow:"hidden",margin:"auto"}}))),it("div",{style:{textAlign:"right"}},it("div",null,this.state.myAccount.DEPTACCOUNT_NAME||"-"),it("div",{style:{paddingTop:10}},_.isEmpty(this.state.myAccount)?"xxx-xxx-xxxx":a?this.state.myAccount.DEPTACCOUNT_NO_FORMAT_HIDE:this.state.myAccount.DEPTACCOUNT_NO_FORMAT))),it(x.a,null,it(R.a,{style:{color:"grey"}})),it("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"}},it("div",null,_.isEmpty(this.state.toAccount.BANK_LOGO)?it("picture",null,it("source",{srcSet:"".concat(ct.logoFolder,"/logo.webp"),type:"image/webp"}),it("source",{srcSet:"".concat(ct.logoFolder,"/logo.png"),type:"image/png"}),it("img",{alt:"coop-icon",src:"".concat(ct.logoFolder,"/logo.png"),type:"image/png",style:{height:"40px",width:"40px",overflow:"hidden",margin:"auto"}})):it("img",{alt:"icon",style:{height:"40px",width:"40px",overflow:"hidden",margin:"auto"},src:this.state.toAccount.BANK_LOGO?this.state.toAccount.BANK_LOGO:null})),it("div",{style:{textAlign:"right"}},it("div",null,this.state.toAccount&&this.state.toAccount.DEPTACCOUNT_NAME||nt.a.t("ToAccount")),it("div",{style:{paddingTop:10}},this.state.toAccount.DEPTACCOUNT_NO_FORMAT||"xxx-xxx-xxxx"))),it("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",paddingTop:24}},it("div",null,nt.a.t("Amount")),it("div",{style:{textAlign:"right",fontSize:"1.2em"}},it("span",{style:{color:"var(--balance-text-color)"}},Object(b.p)(this.state.transferValue)||"0.00")," ",nt.a.t("THB"))),!!this.state.feeAMT&&it("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",paddingTop:12}},it("div",null,nt.a.t("Fee")),it("div",{style:{textAlign:"right"}},it("span",{style:{color:"var(--red-text-color)"}},Object(b.p)(this.state.feeAMT&&this.state.feeAMT||"0.00"))," ",nt.a.t("THB"))),!!this.state.penaltyAMT&&it("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",paddingTop:12}},it("div",null,nt.a.t("PenaltyCoop")),it("div",{style:{textAlign:"right"}},it("span",{style:{color:"var(--red-text-color)"}},Object(b.p)(this.state.penaltyAMT&&this.state.penaltyAMT||"0.00"))," ",nt.a.t("THB"))),it("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",paddingTop:24}},it(G.a,{size:"small",variant:"standard",fullWidth:!0},it($.a,null,nt.a.t("Memo")),it(tt.a,{key:"transfer-value",value:this.state.transferRemark,label:nt.a.t("Memo"),onChange:function(e){t.setState({transferRemark:e.target.value})},inputProps:{autoComplete:"off"},name:"transferRemark-input",id:"transferRemark-input"}))),it("div",{style:{paddingTop:32}},it(W.a,{disableRipple:!!this.state.loadingConfirm,onClick:function(){!t.state.loadingConfirm&&(S.default.transactionOTP?t.props.onOTPTransfer(MEMBER_INFO.data&&MEMBER_INFO.data.PHONE.replace(/\s/g,""),MEMBER_INFO.data&&MEMBER_INFO.data.MEMBER_NO,Object(b.k)(T.a.pathname)):t.FundTransfer()
1)},color:"primary",variant:"contained",size:"large",fullWidth:!0,endIcon:this.state.loadingConfirm&&it(Y.a,{style:{width:"1em",height:"1em",color:"white"}})},nt.a.t("Confirm"))),it("div",{style:{marginTop:16}},it(W.a,{onClick:function(){t.setState({currentStep:0})},color:"default",variant:"text",fullWidth:!0,style:{whiteSpace:"nowrap"}},nt.a.t("Back"))),it(X.a,{in:!!this.state.failedTransfer},it("div",null,it(L.a,{severity:"error",style:{position:"relative",marginTop:24},onClick:function(){t.setState({failedTransfer:null})}},it(j.a,{style:{cursor:"pointer",position:"absolute",top:10,right:10}}),it(V.a,{style:{textAlign:"left"}},this.state.failedTransfer))))))):it("div",null,it(O.a,{type:"flex",gutter:[{xs:8,sm:8,md:8,lg:16,xl:24,xxl:24},{xs:8,sm:8,md:8,lg:16,xl:24,xxl:24}]},it(A.a,{xs:24,sm:24,md:12,lg:12,xl:{span:12,offset:6},xxl:{span:8,offset:8}},it("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},it("div",{style:{textAlign:"center",fontSize:"1.5em",fontWeight:"bold"}},nt.a.t("SuccessfulTransaction")),it("div",{className:"success-slip-icon",style:{marginLeft:10,fontSize:"x-large",color:"white",height:"1em",width:"1em",borderRadius:"1em",right:"0",top:"0",background:"var(--gd-success-color)",display:"flex",justifyContent:"center",alignItems:"center",overflow:"hidden",position:"relative"}},it(E.a,{type:"check",style:{position:"relative",fontSize:"small"}}),it("div",{className:"success-slip-overlay",style:{fontSize:"x-large",color:"white",height:"1.5em",width:"1.5em",borderRadius:"1.5em",right:"0",top:"0",background:"var(--gd-success-color)",display:"flex",justifyContent:"center",alignItems:"center",position:"absolute"}}))),it("div",{style:{paddingBottom:"10px"}},it(O.a,{type:"flex",gutter:{xs:1,sm:1,md:1,lg:2,xl:2},style:{padding:"0px 20px"}},it(A.a,{span:24,style:{textAlign:"center"}},this.state.transaction_date)),it(O.a,{type:"flex",gutter:{xs:1,sm:1,md:1,lg:2,xl:2},align:"middle",style:{padding:"10px 20px 0px 20px"}},it(A.a,{span:24,style:{display:"flex",flexDirection:"column",alignItems:"center"}},"".concat(nt.a.t("RefNo")," : ")+this.state.slip_no))),it("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",paddingTop:20}},it("div",null,it("picture",null,it("source",{srcSet:"".concat(ct.logoFolder,"/logo.webp"),type:"image/webp"}),it("source",{srcSet:"".concat(ct.logoFolder,"/logo.png"),type:"image/png"}),it("img",{alt:"coop-icon",src:"".concat(ct.logoFolder,"/logo.png"),type:"image/png",style:{height:"40px",width:"40px",overflow:"hidden",margin:"auto"}}))),it("div",{style:{textAlign:"right"}},it("div",null,this.state.myAccount.DEPTACCOUNT_NAME||"-"),it("div",{style:{paddingTop:10}},_.isEmpty(this.state.myAccount)?"xxx-xxx-xxxx":a?this.state.myAccount.DEPTACCOUNT_NO_FORMAT_HIDE:this.state.myAccount.DEPTACCOUNT_NO_FORMAT))),it(x.a,null,it(R.a,{style:{color:"grey"}})),it("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"}},it("div",null,_.isEmpty(this.state.myAccount.BANK_LOGO)?it("picture",null,it("source",{srcSet:"".concat(ct.logoFolder,"/logo.webp"),type:"image/webp"}),it("source",{srcSet:"".concat(ct.logoFolder,"/logo.png"),type:"image/png"}),it("img",{alt:"coop-icon",src:"".concat(ct.logoFolder,"/logo.png"),type:"image/png",style:{height:"40px",width:"40px",overflow:"hidden",margin:"auto"}})):it("img",{alt:"icon",style:{height:"40px",width:"40px",overflow:"hidden",margin:"auto"},src:this.state.myAccount.BANK_LOGO?this.state.myAccount.BANK_LOGO:null})),it("div",{style:{textAlign:"right"}},it("div",null,this.state.toAccount&&this.state.toAccount.DEPTACCOUNT_NAME||nt.a.t("ToAccount")),it("div",{style:{paddingTop:10}},this.state.toAccount.DEPTACCOUNT_NO_FORMAT||"xxx-xxx-xxxx"))),it("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",paddingTop:24}},it("div",null,nt.a.t("Amount")),it("div",{style:{textAlign:"right",fontSize:"1.2em"}},it("span",{style:{color:"var(--balance-text-color)"}},Object(b.p)(this.state.transferValue)||"0.00")," ",nt.a.t("THB"))),!!this.state.feeAMT&&it("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",paddingTop:12}},it("div",null,nt.a.t("Fee")),it("div",{style:{textAlign:"right"}},it("span",{style:{color:"var(--red-text-color)"}},Object(b.p)(this.state.feeAMT&&this.state.feeAMT||"0.00"))," ",nt.a.t("THB"))),!!this.state.penaltyAMT&&it("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",paddingTop:12}},it("div",null,nt.a.t("PenaltyCoop")),it("div",{style:{textAlign:"right"}},it("span",{style:{color:"var(--red-text-color)"}},Object(b.p)(this.state.penaltyAMT&&this.state.penaltyAMT||"0.00"))," ",nt.a.t("THB"))),this.state.transferRemark&&it("div",{style:{paddingTop:24}},it("div",{style:{fontSize:"smaller"}},nt.a.t("Memo")),it("div",null,this.state.transferRemark)),it("div",{style:{paddingTop:32}},it(W.a,{onClick:function(){T.a.push("/")},color:"primary",variant:"outlined",size:"large",fullWidth:!0,endIcon:this.state.loadingConfirm&&it(Y.a,{style:{width:"1em",height:"1em",color:"white"}})},nt.a.t("ReturnMainPage")))))))),it(B.a,null)))))}}]),a}(f.PureComponent);e.default=Object(P.b)((function(t){return{HIDE_ACCOUNT_NO:t.HIDE_ACCOUNT_NO,MEMBER_INFO:t.MEMBER_INFO,MENU_LIST:t.MENU_LIST,HISTORY_BADGE:t.HISTORY_BADGE}}),(function(t){return{}}))(Object(ot.c)()(dt))},pIR8:function(t,e,a){"use strict";var n=a("q1tI"),o=a("5AJ6");e.a=Object(o.a)(n.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 13l-4-4h8z"}),"ArrowDropDownCircleOutlined")},sdZm:function(t,e,a){"use strict";var n=a("q1tI"),o=a("5AJ6");e.a=Object(o.a)(n.createElement("path",{d:"M12 8V4l8 8-8 8v-4H4V8z"}),"Forward")}},[["I1E3",0,2,3,4,8,5,1,6,7,9,10,11,13,18]]]);
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.