PageSourceSearch

https://www.gyg77.com/_next/static/chunks/8346-fd8744862ea61c4e.js

js gyg77.com collected 2026-09-29 08:06:32 UTC 305,214 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8346,1427,9617],{3109:function(e,a,n){"use strict";n.d(a,{p:function(){return ChangePasswordForm}});var t=n(52322),s=n(61842),l=n(38201),i=n(72779),r=n.n(i),o=n(82981);let ChangePasswordForm=e=>{var a,n;let{onSubmit:i,changePasswordForm:c,isPopup:d}=e,{t:m}=(0,o.$G)(),{register:_,handleSubmit:u,formState:p}=c,{errors:h,touchedFields:b,isSubmitting:x,isDirty:v,isValid:j}=p;return(0,t.jsxs)("form",{className:r()({changePassWord:!d,resetPassWord:d}),onSubmit:e=>{e.preventDefault(),u(i)},children:[(0,t.jsx)(s.Wz,{register:_("oldPassword",{required:{value:!0,message:m("Label_ChangePassword_PasswordReq")}}),password:!0,title:m("Label_ChangePassword_OldPassword")||"",touched:!!b.oldPassword,errorMessage:null===(a=h.oldPassword)||void 0===a?void 0:a.message,error:!!h.oldPassword}),(0,t.jsx)(s.Wz,{register:_("newPassword",{required:{value:!0,message:m("Label_ChangePassword_PasswordReq")},pattern:{value:l.zU,message:m("Label_General_PasswordValidate")}}),password:!0,title:m("Label_ChangePassword_NewPassword")||"",touched:!!b.newPassword,errorMessage:null===(n=h.newPassword)||void 0===n?void 0:n.message,error:!!h.newPassword}),(0,t.jsx)("div",{className:"btnGroup",children:(0,t.jsx)("button",{className:"primary",onClick:u(i),type:"submit",disabled:!v||!j||x,children:m("Label_General_Submit")})})]})}},55499:function(e,a,n){"use strict";var t=n(52322),s=n(23882);n(2784),a.Z=e=>{let{dataSource:a,columns:n,mainClassName:l,headerClassName:i,bodyClassName:r,isShowBodyDivElement:o=!0,footer:c}=e,renderColumns=(e,a)=>n.map(n=>(0,t.jsx)("div",{children:n.render?n.render({item:e,index:a}):e[n.dataIndex]},n.key));return(0,t.jsxs)("div",{className:l,children:[(0,t.jsx)("div",{className:i,children:n.map(e=>(0,t.jsx)("div",{children:e.title},e.key))}),o?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:r,children:a.map((e,a)=>(0,t.jsx)("div",{children:renderColumns(e,a)},(0,s.Z)()))}),c&&c()]}):(0,t.jsxs)(t.Fragment,{children:[a.map((e,a)=>(0,t.jsx)("div",{children:renderColumns(e,a)},(0,s.Z)())),c&&c()]})]})}},84797:function(e,a,n){"use strict";var t=n(52322),s=n(70744),l=n(38201),i=n(78287),r=n(93364),o=n(28879),c=n.n(o),d=n(82981),m=n(55499);a.Z=e=>{let{dataSource:a,onReload:n}=e,{t:o}=(0,d.$G)(),{userInfo:{currencyId:_}}=(0,i.aC)(),u=[{title:o("Label_General_Numero"),dataIndex:"no",key:"no",render:e=>{let{index:a}=e;return a+1}},{title:"".concat(o("Label_History_Date")," (").concat(l.PB[_],")"),dataIndex:"createTime",key:"createTime",render:e=>{let{item:{createTime:a}}=e;return(0,t.jsxs)(t.Fragment,{children:[c()(a).utcOffset(l.PB[_]).format("MM/DD/YYYY"),(0,t.jsx)("span",{className:"txt-gray",children:c()(a).utcOffset(l.PB[_]).format("hh:mm:ss A")})]})}},{title:o("Label_History_ID"),dataIndex:"transId",key:"transId"},{title:o("Label_History_Direction"),dataIndex:"direction",key:"direction",render:e=>{let{item:{direction:a,isAdjustment:n,tpName:s}}=e,{startWallet:l,endWallet:i}=(0,r.B$)({direction:a,displayMainWallet:o("Label_History_MainWallet"),displayAdjustment:o("Label_History_Adjustment"),isAdjustment:n,tpName:s});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"txt-gray",children:l}),n?(0,t.jsx)("i",{children:"\xa0\xa0"}):(0,t.jsx)("i",{className:"icon icon-keyboard_arrow_right"}),i]})}},{title:o("Label_History_Amount"),dataIndex:"amount",key:"amount",render:e=>{let{item:{amount:a}}=e;return(0,r.Y4)(a,_,0)}},{title:(0,t.jsxs)(t.Fragment,{children:[o("Label_History_Status"),(0,t.jsx)(s.Z,{onClick:n})]}),dataIndex:"status",key:"status",render:e=>{let{item:{status:a}}=e,n=0===a?o("Label_General_Success"):o("Label_General_Fail");return(0,t.jsx)("div",{className:0===a?"approved":"cancel",children:n})}}];return(0,t.jsx)(m.Z,{dataSource:a,columns:u,mainClassName:"list history",headerClassName:"listHeader",bodyClassName:"listBody"})}},77226:function(e,a,n){"use strict";n.d(a,{Z:function(){return error}});var t=n(52322),s=n(78287),l=n(50591),i=n(82981),r=n(5632),o=n(16240),c=n.n(o),icons_ErrorWarningIcon=()=>(0,t.jsxs)("svg",{width:112,height:112,viewBox:"0 0 112 112",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("circle",{cx:"56",cy:"56",r:"54",fill:"rgba(92, 16, 16, 0.6)",stroke:"#FF3333",strokeWidth:"1",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M59 33 Q56 28 53 33 L31 71 Q28 76 34 76 L78 76 Q84 76 81 71 L59 33 Z",stroke:"#FF3333",strokeWidth:"3",fill:"none"}),(0,t.jsx)("path",{d:"M56 46v10M56 66v2",stroke:"#FF3333",strokeWidth:"3",strokeLinecap:"round"})]}),icons_LiveChatIcon=()=>(0,t.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"})}),error=()=>{let{getBannerUrl:e}=(0,s.U5)(),a=(0,r.useRouter)(),{openLiveChat:n}=(0,l.bKX)(),{t:o}=(0,i.$G)();return(0,t.jsxs)("div",{className:c().errorpageContainer,children:[(0,t.jsx)("div",{className:c().errorpageHeader,children:(0,t.jsx)("img",{src:e("/desktop/img/12bet-logo.png"),alt:"logo"})}),(0,t.jsx)("div",{className:c().background,style:{backgroundImage:"url(".concat(e("/errorpage/exception/img/Backgroun
1dImage.jpg"),")")},children:(0,t.jsx)("div",{className:c().middleOverlay,children:(0,t.jsxs)("div",{className:c().errorContent,children:[(0,t.jsx)(icons_ErrorWarningIcon,{}),(0,t.jsx)("div",{className:c().title,children:o("Label_ErrorPage_Title")}),(0,t.jsxs)("div",{className:c().content,children:[(0,t.jsx)(i.cC,{i18nKey:"Label_ErrorPage_Description",components:{br:(0,t.jsx)("br",{})}}),(0,t.jsxs)("button",{type:"button",className:c().button,onClick:()=>n(),children:[(0,t.jsx)("div",{className:c().buttonIcon,children:(0,t.jsx)(icons_LiveChatIcon,{})}),o("Label_General_LiveChat")]}),a.query.Message&&(0,t.jsxs)("div",{className:c().errorMessage,children:["Error ID: ",(0,t.jsx)("br",{}),a.query.Message]})]})]})})})]})}},38346:function(e,a,n){"use strict";n.d(a,{cy:function(){return bank_info},ZR:function(){return blog_BlogList},GR:function(){return change_password},Wl:function(){return cockfighting},gq:function(){return crypto_wallet},z5:function(){return deposit},Jx:function(){return desi_hits},ud:function(){return esport},en:function(){return games_lobby},Ay:function(){return components_history},SK:function(){return home},WL:function(){return home_HomePopup},Wz:function(){return o.Wz},BQ:function(){return keno},Ar:function(){return a5.Z},sk:function(){return W.Z},N6:function(){return live_casino},z8:function(){return lottery},rD:function(){return luckyWheel},zx:function(){return numberGame},NZ:function(){return profile},wF:function(){return rebate_exclude},G7:function(){return referral},Ph:function(){return o.Ph},t6:function(){return self_exclusion},Vt:function(){return slots},Vv:function(){return sports},Ps:function(){return statement},Xz:function(){return thirty_days_mission},p9:function(){return triton_poker_TritonPoker},py:function(){return under_maintenance},sF:function(){return Vip},ci:function(){return vip_lobby_VipLobby},wc:function(){return withdrawal},$c:function(){return isMainBannerPopupSeen}});var t,s,l,i,r=n(52322),o=n(61842),c=n(88213),d=n(80133),m=n(50591),_=n(72779),u=n.n(_),p=n(82981),h=n(25237),b=n.n(h),x=n(2784),v=n(78287);let CardList=()=>{let{bankInfoDetail:e,onDeleteCard:a}=(0,m.a9L)(),{modal:n}=(0,c.JT)(),{getPaymentUrl:t}=(0,v.U5)(),{t:s}=(0,p.$G)();return e&&0!==e.length?(0,r.jsx)("div",{className:"infoModule",children:(0,r.jsx)("div",{className:"walletModule",children:(0,r.jsx)("div",{className:"addBank haveBank",children:e.map(e=>{let{bankName:l,bankLogo:i,accountNo:o,sysId:c}=e;return(0,r.jsxs)("div",{className:"addBankName",children:[(0,r.jsx)("div",{className:"addBankInfo",children:(0,r.jsxs)("div",{className:"bankName",children:[(0,r.jsx)("img",{alt:l,src:t("/square/".concat(i.toLowerCase())),style:{width:"45px",height:"45px"}}),(0,r.jsxs)("div",{className:"bankName-text",children:[(0,r.jsx)("div",{children:l}),(0,r.jsx)("div",{className:"txt-blue",children:o})]})]})}),(0,r.jsx)("div",{className:"addBankInfo",children:(0,r.jsx)("button",{className:"icon icon-bin",onClick:()=>n.confirm((0,r.jsxs)("div",{children:[s("Label_BankInfo_AreYouSureDelete"),(0,r.jsx)("br",{}),s("Label_BankInfo_CantBeRestore")]}),{onOK:()=>a({accountNo:o,sysId:c})})})})]},c)})})})}):null};var j=n(58507);let AddCardPanel=()=>{let{t:e}=(0,p.$G)(),{modal:a}=(0,c.JT)(),{bankInfoDetail:n}=(0,m.a9L)(),{accountName:t}=(0,m.xTZ)(),s=n.length,{handleAddBankCard:l}=(0,m.hQP)({accountName:t,bankData:{bankInfoDetail:n,custEWalletInfo:[],usdtDetail:[]},addBankCardModalCallBack:e=>{let{type:n,bankData:t,bankDropDown:s,onSubmitCard:l}=e;a.open((0,r.jsx)(j.default,{type:n,bankData:t,bankDropDown:s,onSubmitCard:l}))}});return(0,r.jsx)("div",{className:"walletModule",children:(0,r.jsxs)("div",{className:"addBank",children:[(0,r.jsx)("div",{className:u()("addBankName noBank",{"custom-cursor-on-hover":3===s}),onClick:()=>{3!==s&&l({errorCallback:e=>a.error(e)})},children:3===s?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"icon icon-warning"}),(0,r.jsx)("div",{children:e("Label_BankInfo_BankCardsFull")})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"icon icon-plus"}),(0,r.jsx)("div",{children:e("Label_BankInfo_AddBankAccount")}
1)]})}),(0,r.jsxs)("div",{className:"remainder",children:[e("Label_BankInfo_NumberOfBankAccounts"),": ",s,"/3"]})]})})},g=b()(()=>n.e(3588).then(n.bind(n,33588)),{loadableGenerated:{webpack:()=>[33588]},ssr:!1});var bank_info=()=>{let{t:e}=(0,p.$G)(),{modal:a}=(0,c.JT)(),{accountName:n}=(0,m.xTZ)(),{loading:t}=(0,m.a9L)(),[s,l]=(0,x.useState)(!1),{shouldShowModal:i}=(0,d.y7)();return((0,m.Su9)({onProfileInvalid:()=>i&&a.open((0,r.jsx)(g,{}))}),t)?(0,r.jsx)(o.gb,{}):(0,r.jsxs)("div",{className:"rightModule",children:[(0,r.jsxs)("div",{className:"infoModule",children:[(0,r.jsxs)("div",{className:"inside-title",children:[(0,r.jsx)("span",{className:"icon icon-icon32px_bank-account",children:e("Label_General_BankInfo")}),(0,r.jsx)("div",{children:e("Label_BankInfo_UpdateBankInfo")})]}),n&&(0,r.jsxs)("div",{className:"accountName",children:[e("Label_BankInfo_BankAccountName"),(0,r.jsx)("span",{children:n}),(0,r.jsx)("button",{className:"icon icon-error",onClick:()=>l(e=>!e)}),(0,r.jsx)("div",{className:u()("tip",{active:s}),children:e("Label_BankInfo_BankAccountHint")})]}),(0,r.jsx)(AddCardPanel,{})]}),(0,r.jsx)(CardList,{})]})},N=n(70090),f=n(5632),C=n.n(f),y=n(37409),k=n.n(y),blog_BlogFilter=e=>{let{handleCategoryChange:a,isLoading:n}=e,{t}=(0,p.$G)(),{userInfo:{langId:s,currencyId:l}}=(0,v.aC)(),i=(0,f.useRouter)(),o=N.qo[l][s];return(0,r.jsx)("section",{className:u()(k().filterSection,{[k().disabled]:n}),children:(0,r.jsx)("div",{className:k().filterButtons,children:Object.entries(o).map((e,n)=>{let[,s]=e;return(0,r.jsx)("button",{className:u()(k().filterButton,{[k().active]:s===Number(i.query.categoryID)}),onClick:()=>{a(s)},children:t(N.ZP[n])},s)})})})},L=n(93364),w=n(28879),I=n.n(w),T=n(23882),P=n(39097),B=n.n(P),blog_BlogSkeleton=()=>(0,r.jsx)("div",{className:k().blogCardContainer,children:(0,r.jsxs)("div",{className:k().blogCard,children:[(0,r.jsx)("div",{className:k().blogImageContainer,children:(0,r.jsx)("div",{className:k().skeletonImage})}),(0,r.jsxs)("div",{className:k().blogContent,children:[(0,r.jsx)("div",{className:k().skeletonTitle}),(0,r.jsx)("div",{className:k().skeletonExcerpt}),(0,r.jsxs)("div",{className:k().blogMeta,children:[(0,r.jsx)("div",{className:k().skeletonDate}),(0,r.jsx)("div",{className:k().skeletonReadMore})]})]})]})}),blog_BlogList=()=>{let{t:e}=(0,p.$G)(),{getBannerUrl:a}=(0,v.U5)(),n=(0,f.useRouter)(),{getPost:t,handleQueryChange:s,isLoading:l,isNavigating:i}=(0,m.eom)(),{userInfo:{currencyId:c,langId:d}}=(0,v.aC)(),[_,u]=(0,x.useState)([]),[h,b]=(0,x.useState)(1),handlePageChange=async e=>{let{selected:a}=e;s({page:a+1})};return(0,x.useEffect)(()=>{let e=Number(n.query.page)||1,a=Number(n.query.categoryID)||0,getPostData=async()=>{let{blogList:l,totalPages:i}=await t({page:e,perPage:9,categories:a&&a,langId:d,currencyId:c});u(Array.isArray(l)?l:[]),b(Number.isFinite(i)?i:0),n.query.page||s({page:1,categoryID:0})};getPostData()},[d,c,n.query.page,n.query.categoryID]),(0,r.jsxs)("div",{className:k().blogContainer,children:[(0,r.jsxs)("div",{className:k().blogTag,children:[(0,r.jsxs)("div",{className:k().blogTagIconContainer,children:[(0,r.jsx)("img",{className:k().blogTagIcon,src:a("/desktop/img/icon/icon-blog.svg"),alt:"Blog"}),e("Label_General_Blog")]}),(0,r.jsx)("div",{className:k().blogUnderline})]}),i&&(0,r.jsx)(o.gb,{}),(0,r.jsx)(blog_BlogFilter,{isLoading:l,handleCategoryChange:e=>{s({page:1,categoryID:e})}}),l?(0,r.jsx)("div",{className:k().blogContent,children:(0,r.jsx)("div",{className:k().blogGrid,children:Array.from({length:9}).map(e=>(0,r.jsx)(blog_BlogSkeleton,{},"skeleton-".concat((0,T.Z)())))})}):(0,r.jsx)("div",{className:k().blogContent,children:(0,r.jsx)("div",{className:k().blogGrid,children:_.map(a=>{let{id:n,title:{rendered:t}={},content:{rendered:s}={},date:l,thumbnailUrl:i,slug:o}=a,d=decodeURIComponent(o);return(0,r.jsx)(B(),{legacyBehavior:!0,href:"/".concat((0,L.KJ)(c),"/blog/").concat(d),children:(0,r.jsx)("div",{className:k().blogCardContainer,children:(0,r.jsxs)("div",{className:k().blogCard,children:[(0,r.jsx)("div",{className:k().blogImageContainer,children:(0,r.jsx)("img",{className:k().blogImage,src:i,alt:t})}),(0,r.jsxs)("div",{className:k().blogContent,children:[(0,r.jsx)("h3",{className:k().blogTitle,dangerouslySetInnerHTML:{__html:(0,L.Z6)(t)}}),(0,r.jsx)("p",{className:k().blogExcerpt,children:(e=>{let a=e.match(/<strong>(.*?)<\/strong>/);if(a)return a[1].replace(/<[^>]*>/g,"").trim();let n=e.match(/<p>(.*?)<\/p>/);
1return n?n[1].replace(/<[^>]*>/g,"").trim():t})(s)}),(0,r.jsxs)("div",{className:k().blogMeta,children:[(0,r.jsxs)("span",{className:k().publishDate,children:["".concat(e("Label_Blog_Published"))," ",I()(l).format("MMMM D, YYYY")]}),(0,r.jsx)("div",{className:k().readMoreContainer,children:(0,r.jsx)("p",{className:k().readMore,children:e("Label_Blog_Read_More")})})]})]})]})})},n)})})}),0===_.length&&(0,r.jsx)("div",{className:"nodata icon icon-nodata",children:(0,r.jsx)("div",{children:e("Label_General_NoData")})}),_.length>0&&(0,r.jsx)("div",{className:k().paginationContainer,children:(0,r.jsx)(o.tl,{totalPage:h||1,currentPage:Number(n.query.page)||1,onPageChange:handlePageChange})})]})},M=n(3109),change_password=()=>{let{t:e}=(0,p.$G)(),{modal:a}=(0,c.JT)(),{changePasswordForm:n,onSetChangePassword:t}=(0,m.VtI)(),{reset:s}=n,showErrorModal=e=>{a.error(e)},showInfoModal=()=>{a.info([e("Label_ChangePassword_ChangePswUpdateSuccess"),e("Label_ChangePassword_ChangePswSuccessHint")],{icon:"icon icon-icon32px_password",title:e("Label_General_ChangePassword"),onOK:s})};return(0,r.jsx)("div",{className:"rightModule",children:(0,r.jsxs)("div",{className:"infoModule",children:[(0,r.jsxs)("div",{className:"inside-title",children:[(0,r.jsx)("span",{className:"icon icon-icon32px_password",children:e("Label_General_ChangePassword")}),(0,r.jsx)("div",{children:e("Label_ChangePassword_ChangePasswordHint")})]}),(0,r.jsx)(M.p,{onSubmit:e=>{t(e,showInfoModal,showErrorModal)},changePasswordForm:n,isPopup:!1})]})})},cockfighting_CockfightingBanner=()=>{let{bannerList:e,isLoading:a}=(0,m.EuQ)();return(0,r.jsxs)("div",{className:"lobby-banner",children:[a&&(0,r.jsx)(o.gb,{}),(0,r.jsx)(o.$2,{bannerList:e,className:"banner"})]})},G=n(14048),S=n(73550);let D=b()(()=>Promise.resolve().then(n.bind(n,61427)),{loadableGenerated:{webpack:()=>[61427]},ssr:!1}),R=b()(()=>n.e(9345).then(n.bind(n,89345)),{loadableGenerated:{webpack:()=>[89345]},ssr:!1});var cockfighting_CockfightingList=()=>{var e;let{modal:a}=(0,c.JT)(),{menuList:n=[],onMenuOpen:t}=(0,m.H9d)(),s=null===(e=(0,S.Z)(n,{category:G.ZL.Cockfighting}))||void 0===e?void 0:e.subMenu,onItemClick=e=>{t(e,{loginCallback:()=>a.open((0,r.jsx)(D,{})),messageCallBack:e=>a.error(e),liveStreamingCallback:()=>a.open((0,r.jsx)(R,{}))})};return(0,r.jsx)("div",{className:"lobby-content",children:null==s?void 0:s.map(e=>(0,r.jsx)(o.WS,{subMenuItem:e,onItemClick:onItemClick},null==e?void 0:e.tpGameIdNo))})},cockfighting=()=>(0,r.jsxs)("main",{className:"lobby",children:[(0,r.jsx)(cockfighting_CockfightingBanner,{}),(0,r.jsx)(cockfighting_CockfightingList,{})]});let V=b()(()=>n.e(8066).then(n.bind(n,38066)),{loadableGenerated:{webpack:()=>[38066]},ssr:!1}),AddWallet=()=>{let{t:e}=(0,p.$G)(),{modal:a}=(0,c.JT)(),onAddWalletModal=e=>{let{cryptoNetworkList:n,cryptoCurrencyOptions:t,handleGetOtpInfo:s,handleGetEmailOtpInfo:l,handleSetCustCryptoWallet:i}=e;a.open((0,r.jsx)(V,{cryptoNetworkList:n,cryptoCurrencyOptions:t,handleGetOtpInfo:s,handleGetEmailOtpInfo:l,handleSetCustCryptoWallet:i}))},{USDTDetail:n,handleAddWallet:t}=(0,m.$Qi)();return(0,r.jsx)("div",{className:"walletModule",children:(0,r.jsxs)("div",{className:"addBank",children:[3===n.length?(0,r.jsxs)("div",{className:"addBankName noBank",children:[(0,r.jsx)("div",{className:"icon icon-warning"}),(0,r.jsx)("div",{children:e("Label_Wallet_Is_Full")})]}):(0,r.jsxs)("div",{className:"addBankName noBank ",onClick:()=>t({onAddWalletModal}),children:[(0,r.jsx)("div",{className:"icon icon-plus"}),(0,r.jsx)("div",{children:e("Label_CryptoWallet_AddCryptoWallet")})]}),(0,r.jsxs)("div",{className:"remainder",children:[e("Label_CryptoWallet_NumberOfWallet"),":",n.length,"/3"]}),(0,r.jsx)("div",{className:"tip active",children:e("Label_CryptoWallet_CryptoWalletSubmitNote")})]})})},WalletList=()=>{let{USDTDetail:e}=(0,m.$Qi)();return e&&0!==e.length?(0,r.jsx)("div",{className:"infoModule",children:(0,r.jsx)("div",{className:"walletModule",children:(0,r.jsx)("div",{className:"addBank haveBank",children:e.map(e=>{let{currencyId:a,usdtAddress:n,nickName:t}=e;return(0,r.jsxs)("div",{className:"addBankName",children:[(0,r.jsxs)("div",{className:"cryptoInfo",children:[(0,r.jsx)("i",{className:"icon icon-USDT"}),(0,r.jsx)("div",{children:n})]}),(0,r.jsx)("div",{className:"walletNickname",children:t})]},"".concat(a,"-").concat(n))})})})}):null},A=b()(()=>n.e(3588).then(n.bind(n,33588)),{loadableGenerated:{webpack:()=>[33588]},ssr:!1});var crypto_wallet=()=>{let{t:e}
1=(0,p.$G)(),{modal:a}=(0,c.JT)(),{accountName:n}=(0,m.xTZ)(),[t,s]=(0,x.useState)(!1),{loading:l}=(0,m.$Qi)(),{shouldShowModal:i}=(0,d.y7)();return((0,m.Su9)({onProfileInvalid:()=>i&&a.open((0,r.jsx)(A,{}))}),l)?(0,r.jsx)(o.gb,{}):(0,r.jsx)("div",{className:"rightModule",children:(0,r.jsxs)("div",{className:"infoModule",children:[(0,r.jsxs)("div",{className:"inside-title",children:[(0,r.jsx)("span",{className:"icon icon icon-USDT",children:e("Label_General_CryptoWallet")}),(0,r.jsx)("div",{children:e("Label_CryptoWallet_UpdateCryptoWallet")})]}),n&&(0,r.jsxs)("div",{className:"accountName",children:[e("Label_General_AccountName"),(0,r.jsx)("span",{children:n}),(0,r.jsx)("button",{className:"icon icon-error",onClick:()=>s(e=>!e)}),(0,r.jsx)("div",{className:u()("tip",{active:t}),children:e("Label_General_BankAccountHint")})]}),(0,r.jsx)(AddWallet,{}),(0,r.jsx)(WalletList,{})]})})},E=n(38201),W=n(4268),F=n(28585),O=n.n(F),H=n(38740),U=n(34864),deposit_DepositImportant=()=>{let{t:e}=(0,p.$G)(),{openLiveChat:a}=(0,m.bKX)();return(0,r.jsxs)("div",{className:"important",children:[(0,r.jsxs)("div",{className:"title",children:[(0,r.jsx)("span",{className:"icon icon-warning"}),e("Label_General_ImportantNotice")]}),(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:(0,r.jsx)(p.cC,{i18nKey:"Label_Deposit_ImportantNoticeContent1",components:{span:(0,r.jsx)("span",{})}})}),(0,r.jsx)("li",{children:(0,r.jsx)(p.cC,{i18nKey:"Label_Deposit_ImportantNoticeContent2",components:{span:(0,r.jsx)("span",{})}})}),(0,r.jsx)("li",{children:e("Label_Deposit_ImportantNoticeContent3",{})}),(0,r.jsx)("li",{children:(0,r.jsx)(p.cC,{i18nKey:"Label_Deposit_ImportantNoticeContent4",components:{span:(0,r.jsx)("span",{})},values:{site:(0,U.Z)(H.X.NEXT_PUBLIC_SITE_NAME||"")}})}),(0,r.jsx)("li",{children:(0,r.jsx)(p.cC,{i18nKey:"Label_Deposit_ImportantNoticeContent5",components:{span:(0,r.jsx)("span",{})}})}),(0,r.jsx)("li",{children:(0,r.jsx)(p.cC,{i18nKey:"Label_Deposit_ImportantNoticeContent6",components:{Link:(0,r.jsx)("a",{onClick:a})}})}),(0,r.jsx)("li",{children:(0,r.jsx)(p.cC,{i18nKey:"Label_Deposit_ImportantNoticeContent8",components:{span:(0,r.jsx)("span",{})}})})]})]})},Z=n(70744),q=n(10264),Y=n.n(q),J=n(97513),$=n(72689),K=n(55499);I().extend(Y());let z=b()(()=>n.e(9215).then(n.bind(n,89215)),{loadableGenerated:{webpack:()=>[89215]},ssr:!1}),Q=b()(()=>n.e(2279).then(n.bind(n,42279)),{loadableGenerated:{webpack:()=>[42279]},ssr:!1});var historyTable_DepositHistoryTable=e=>{let{dataSource:a,onReload:n,onSubmit:t,onCancel:s}=e,{t:l}=(0,p.$G)(),{userInfo:{currencyId:i}}=(0,v.aC)(),{modal:o}=(0,c.JT)(),d=[{title:l("Label_General_Numero"),dataIndex:"no",key:"no",render:e=>{let{index:a}=e;return a+1}},{title:"".concat(l("Label_History_Date")," (").concat(E.PB[i],")"),dataIndex:"createTime",key:"createTime",render:e=>{let{item:{createTime:a}}=e;return(0,r.jsxs)(r.Fragment,{children:[I()(a).utcOffset(E.PB[i]).format("MM/DD/YYYY"),(0,r.jsx)("span",{className:"txt-gray",children:I()(a).utcOffset(E.PB[i]).format("hh:mm:ss A")})]})}},{title:l("Label_History_ID"),dataIndex:"transId",key:"transId"},{title:l("Label_General_Method"),dataIndex:"depositType",key:"depositType",render:e=>{let{item:{depositType:a}}=e;return l("Label_DepositType".concat(a))}},{title:l("Label_History_Amount"),dataIndex:"amount",key:"amount",render:e=>{let{item:{amount:a}}=e;return(0,L.Y4)(a,i,0)}},{title:l("Label_History_Status"),dataIndex:"status",key:"status",render:e=>{let{item:{status:a,transId:n,depositMessages:t}}=e,s=J.ct[a],i=l("Label_DepositStatus".concat(a));return(0,r.jsxs)("div",{className:s,children:[i,t&&t.length>0&&(0,r.jsx)("button",{className:"infobtn",onClick:()=>{o.open((0,r.jsx)(z,{transId:n,messageDetail:t}),{className:"statuspop"})}})]})}},{title:(0,r.jsxs)(r.Fragment,{children:[l("Label_History_Action"),(0,r.jsx)(Z.Z,{onClick:n})]}),dataIndex:"action",key:"action",render:e=>{let{item:a}=e,n=(0,$.Z)(E.So,null==a?void 0:a.depositType),i=null;return(0,$.Z)(E.eV,a.depositType)&&(a.status===J.iS.Pending||a.status===J.iS.OnHold)&&(i=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("button",{className:"white btn-check icon icon-pencil upload-btn",onClick:()=>{var e,s,l,i,c,d;return o.open((0,r.jsx)(Q,{mode:null==a?void 0:null===(e=a.detail)||void 0===e?void 0:e.mode,bankName:null==a?void 0:null===(s=a.bankInfo)||void 0===s?void 0:s.bankName,bankSite:null==a?void 0:null===(l=a.bankInfo)||void 0===l?void 0:l.bankSite,accountName:null==a?void 0:null===(i=a.detail)||void 0===i?void 0:i.accountName,accountNo:null==a?void 0:null===(c=a.detail)||void 0===c?void 0:c.accountNo,code:null==a?void 0:null===(d=a.detail)||void 0===d?void 0:d.code,transId:null==a?void 0:a.transId,depositReceipt:null==a?void 0:a.depositReceipt,isShowReceiptInfo:n,onSubmit:t}))},children:l("Label_General_SubmitBankSlip")}),a.depositType===J.YX.BankTransfer&&(0,r.jsx)("button",{className:"ghost dark",onClick:()=>{o.confirm(l("Label_History_CancelConfirm"),{onOK:()=>s(a.transId)})},"data-ttid":"deposit-history-table-cancel-btn",children:l("Label_General_Cancel")})]})),(0,r.jsxs)("div",{className:"btnGroup",children:[i,null==a?void 0:a.thirdId]})}}];return(0,r.jsx)(K.Z,{dataSource:a,columns:d,mainClassName:"list history",headerClassName:"listHeader",bodyClassName:"listBody"})},deposit_DepositRecentHistory=()=>{let{loading:e,depositInfoRecentList:a,refetchDepositInfoRecentList:n,onUploadReceipt:t,onCancelDepositSlip:s}=(0,m.I20)();return(0,r.jsxs)(r.Fragment,{children:[e&&(0,r.jsx)(o.gb,{}),(0,r.jsx)(historyTable_DepositHistoryTable,{dataSource:a,onReload:n,onSubmit:t,onCancel:s}),(0,r.jsx)(B(),{href:{pathname:E.Hb.history.root,query:{kind:"deposit"}},className:"icon icon-books"})]})},X=n(14482),ee=n(34180),ea=n(84780),en=n(74582),et=n(21241),es=n(38895),el=n.n(es),ei=n(92201),er=n.n(ei),deposit_form_AccountDetailBlock=e=>{var a,n;let{extraDataType:t,selectedId:s,onChange:l,setValue:i}=e,{t:c}=(0,p.$G)(),{accountName:d}=(0,m.xTZ)(),{isBankCardType:_,isEWalletType:h,custBankInfo:b,custEWalletInfo:x,accountValue:v,onAccountChange:j}=(0,m.jO9)({extraDataType:t,selectedId:s,onChange:l,setValue:i}),{handleAddCards:g}=(0,en.h)({accountName:String(d),bankData:{bankInfoDetail:b,custEWalletInfo:x}});return(0,r.jsxs)("div",{className:u()("subModule bankQR",er()["deposit-block"],el()["account-detail-block"]),children:[(0,r.jsxs)("div",{className:u()("subModuleTitle",er().label),children:[(0,r.jsx)("i",{className:er().required,
1children:"*"}),c("Label_Deposit_Your_Bank_Details")]}),(0,r.jsxs)("div",{className:el()["bank-select-wrapper"],children:[_&&(0,r.jsxs)("div",{className:el()["bank-select"],children:[(0,r.jsx)(o.Ph,{value:v,options:(null!=b?b:[]).map(e=>{let{bankName:a,accountNo:n,sysId:t,bankLogo:s}=e;return{label:"".concat(a," - ").concat(n),value:(0,L.Or)(t,n),prefixOptionIcon:(0,r.jsx)("img",{alt:"",src:(0,L.k$)("".concat(H.X.NEXT_PUBLIC_PAYMENT_HOST,"/square/").concat(s.toLowerCase()))})}}),onChange:e=>{void 0!==e&&j(e)},placeholder:null!==(a=c("Label_BankInfo_SelectBank"))&&void 0!==a?a:""}),(null!=b?b:[]).length<3&&(0,r.jsx)("button",{type:"button",className:el()["add-bank-btn"],onClick:()=>g(et.e4.LocalBank),children:(0,r.jsx)("span",{className:"icon icon-plus"})})]}),h&&(0,r.jsxs)("div",{className:el()["bank-select"],children:[(0,r.jsx)(o.Ph,{value:v,options:(null!=x?x:[]).map(e=>{let{eWalletName:a,accountNo:n,sysId:t,eWalletLogo:s}=e;return{label:"".concat(a," - ").concat(n),value:(0,L.Or)(t,n),prefixOptionIcon:(0,r.jsx)("img",{alt:"",src:(0,L.k$)("".concat(H.X.NEXT_PUBLIC_PAYMENT_HOST,"/square/").concat(s.toLowerCase()))})}}),onChange:e=>{void 0!==e&&j(e)},placeholder:null!==(n=c("Label_selectEwallet"))&&void 0!==n?n:""}),(null!=x?x:[]).length<3&&(0,r.jsx)("button",{type:"button",className:el()["add-bank-btn"],onClick:()=>g(et.e4.EWallet),children:(0,r.jsx)("span",{className:"icon icon-plus"})})]})]})]})},eo=n(90772),ec=n(4977),ed=n(74149),em=n.n(ed),deposit_form_DepositBlock=e=>{var a;let{register:n,watch:t,setValue:s,trigger:l,formState:{touchedFields:i,errors:c},selectedMinAmount:d=0,selectedMaxAmount:m=0,isHideShortcut:_=!1,childrenBlock:h}=e,{userInfo:{currencyId:b}}=(0,v.aC)(),{t:x}=(0,p.$G)(),j=t("amount"),g=(0,L.yp)(d,b),N=(0,L.yp)(m,b),f=(0,L.is)({convertedMinAmount:g,convertedMaxAmount:N}),isShortcutDisabled=e=>!!((0,ec.Z)(g)&&(0,ec.Z)(N))&&(e<g||e>N);return(0,r.jsxs)("div",{className:u()("subModule",er()["deposit-block"]),children:[(0,r.jsxs)("div",{className:u()("subModuleTitle",er().label),children:[(0,r.jsx)("i",{className:er().required,children:"*"}),x("Label_General_DepositAmount")]}),(0,r.jsx)("div",{className:"column"}),h,(0,r.jsx)(o.Wz,{"data-ttid":"amount-input",type:"number",className:u()("inputBox-white",er()["amount-input"]),onKeyDown:e=>{E.Hv.includes(e.key)&&e.preventDefault()},register:n("amount",{valueAsNumber:!0,required:{value:!0,message:x("Label_General_AmountLessThan",{value1:(0,L.Y4)(d,b,0)})},min:{value:g,message:x("Label_General_AmountLessThan",{value1:(0,L.Y4)(d,b,0)})},max:{value:N,message:x("Label_General_NotInLimit")},validate:{notZero:e=>0!==Number(e)||x("Label_General_AmountLessThan",{value1:(0,L.Y4)(d,b,0)}),isInteger:e=>Number.isInteger(Number(e))||"Amount must be a positive integer."}}),format:(0,L.dt)(b),placeholder:x("Label_General_AmountMinMaxLimit",{value1:(0,L.Et)(g),value2:(0,L.Et)(N)}),touched:!!(0,eo.Z)(i,"amount"),errorMessage:null===(a=(0,eo.Z)(c,"amount"))||void 0===a?void 0:a.message,error:!!(0,eo.Z)(c,"amount")}),(0,r.jsx)("div",{className:"tip"}),!_&&(0,ec.Z)(g)&&(0,ec.Z)(N)&&f.length>0&&(0,r.jsx)("div",{className:"btnGroup shortcut ".concat(em()["shortcut-list"]),"data-ttid":"shortcut-list",children:f.map((e,a)=>{let n=isShortcutDisabled(e),t=(0,L.Et)(e,0),i=0===a,o=a===f.length-1,c=t;return i?c="".concat(x("Label_General_Min")):o&&(c="".concat(x("Label_General_Max"))),(0,r.jsx)("button",{style:{pointerEvents:n?"none":"auto"},disabled:n,className:u()({active:e===Number(j),"first-item":i,"last-item":o},em()["shortcut-item"]),onClick:()=>{s("amount",Number(e)),l("amount")},children:c},"shortcut-".concat(e))})})]})},deposit_module_DepositPromotionSelect=e=>{let{watchAmount:a,watchBonusCode:n,setValue:t,register:s,touchedFields:l,promotionOptions:i}=e,{userInfo:{currencyId:c}}=(0,v.aC)(),{t:d}=(0,p.$G)(),m=(0,L.HC)(a,c),_=(()=>{let e={label:d("Label_General_None"),value:"",disabled:!1,className:""},a=i.map(e=>{if(""===e.value)return e;let a=Number(m)<Number(e.requireAmount);return{...e,disabled:a}});return[e,...a]})();return(0,x.useEffect)(()=>{let e="true"===sessionStorage.getItem(E.dn);e||t("bonusCode","")},[a,t]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.Ph,{value:n,options:_,onChange:e=>{let a=String(e),n=sessionStorage.getItem(E.jJ),s=n&&String(a)===String(n);s?sessionStorage.setItem(E.dn,"true"):sessionStorage.setItem(E.dn,"false"),t("bonusCode",a),t("promoCode",void 0)}}),!n&&(0,r.jsx)(o.Wz,{className:"inputBox-white",register:s("promoCode"),placeholder:d("Label_Promotions_PromoCode")||"",touched:!!l.promoCode,onChange:()=>{t("bonusCode",void 0)}})]})},e_=n(86878),eu=n.n(e_),deposit_form_PromotionBlock=e=>{let{watchAmount:a,watchBonusCode:n,setValue:t,register:s,touchedFields:l,promotionOptions:i}=e,{t:o}=(0,p.$G)();return(0,r.jsxs)("div",{className:u()("subModule",er()["deposit-block"],er()["promotion-block"]),children:[(0,r.jsx)("div",{className:u()("subModuleTitle",er().label),children:o("Label_Deposit_ChooseAvailablePromotion")}),(0,r.jsx)("div",{className:u()(er()["promotion-input"],eu()["promotion-wrapper"]),children:(0,r.jsx)(deposit_module_DepositPromotionSelect,{watchAmount:Number(a),watchBonusCode:n,setValue:t,register:s,touchedFields:l,promotionOptions:i})})]})},ep=n(69917),eh=n.n(ep);let isBankInfoData=e=>"object"==typeof e&&null!==e&&"bankName"in e&&"sysId"in e,isIDepositMethodsData=e=>"object"==typeof e&&null!==e&&"displayGroupName"in e&&"depositType"
1in e,isIDepositMethodChannel=e=>"object"==typeof e&&null!==e&&"channelId"in e;var deposit_form_SelectMethod=e=>{let{title:a,dataSource:n,selectedId:t,onChange:s,className:l}=e,{t:i}=(0,p.$G)(),{getPaymentUrl:c}=(0,v.U5)();return(0,r.jsxs)("div",{className:u()("subModule","bankQR",eh()["select-method-block"],er()["deposit-block"],l),children:[(0,r.jsxs)("div",{className:u()("subModuleTitle",er().label),children:[(0,r.jsx)("i",{className:er().required,children:"*"}),a||i("Label_BankInfo_SelectBank")]}),(0,r.jsx)("div",{children:(0,r.jsx)(o.Ph,{showSearch:!0,options:n.map(e=>{if(isBankInfoData(e))return{sysId:e.sysId,displayName:e.bankName,img:c("/square/".concat(e.bankLogo.toLowerCase()))};if(isIDepositMethodsData(e))return{sysId:e.groupId,displayName:e.displayGroupName,img:e.fileName?c("/".concat(e.fileName)):void 0};if(isIDepositMethodChannel(e)){let a=0!==e.channelId&&e.fileName?c("/".concat(e.fileName)):void 0;return{sysId:e.channelId,displayName:0===e.channelId?i("Label_Deposit_AutoChannel"):e.displayChannelName,img:a}}return null}).filter(e=>null!==e).map(e=>({label:e.displayName,value:e.sysId,...e.img?{prefixOptionIcon:(0,r.jsx)("img",{src:e.img,alt:""})}:{}})),onChange:e=>{s&&void 0!==e&&s(e)},placeholder:a||i("Label_BankInfo_SelectBank"),value:t})})]})},eb=n(7279);let ex=b()(()=>n.e(592).then(n.bind(n,30592)),{loadableGenerated:{webpack:()=>[30592]},ssr:!1}),ev=b()(()=>n.e(6216).then(n.bind(n,16216)),{loadableGenerated:{webpack:()=>[16216]},ssr:!1}),ej=b()(()=>n.e(154).then(n.bind(n,80154)),{loadableGenerated:{webpack:()=>[80154]},ssr:!1});var deposit_form_AutoDepositForm=e=>{var a;let{dataSource:n,updateRealName:t}=e,{t:s}=(0,p.$G)(),{modal:l}=(0,c.JT)(),{register:i,watch:d,setValue:_,trigger:h,formState:b,selectedChannels:x,selectedChannel:v,handleChannelChange:j,onSysIdChange:g,resetFormFields:N,promotionOptions:f,loading:C,currencyId:y,watchAmount:k,watchBonusCode:L,selectedMinAmount:w,selectedMaxAmount:I,onSubmit:T}=(0,m.Ax5)({dataSource:n,depositType:G.TU.BankAutoChannel,updateRealName:t,promoModals:{FTDThresholdModal:ex,DualThresholdModal:ev,BonusThresholdModal:ej},onError:l.error,channelIdDefaultValue:0,channelIdWithTrigger:!1}),P=(null==v?void 0:v.extraDataType)===G.RL.none,B=P&&!(0,eb.Z)(null==v?void 0:v.supportBanks)&&y!==G.CurrenciesEnum.VND;return(0,r.jsxs)(r.Fragment,{children:[C&&(0,r.jsx)(o.gb,{}),x.length>1&&(0,r.jsx)(deposit_form_SelectMethod,{className:er()["channel-select"],title:"".concat(s("Label_Deposit_SelectChannel")," ").concat(s("Label_Deposit_SelectChannel_Note")),dataSource:x,selectedId:null!==(a=null==v?void 0:v.channelId)&&void 0!==a?a:0,onChange:j}),B&&(0,r.jsx)(deposit_form_SelectMethod,{className:er()["bank-select"],dataSource:(null==v?void 0:v.supportBanks)||[],selectedId:d("sysId"),onChange:e=>{g(e),N()}}),!P&&(0,r.jsx)(deposit_form_AccountDetailBlock,{extraDataType:(null==v?void 0:v.extraDataType)||0,selectedId:d("sysId"),setValue:_,onChange:e=>{g(e),N()}}),(0,r.jsx)(deposit_form_DepositBlock,{register:i,watch:d,setValue:_,trigger:h,formState:b,selectedMaxAmount:I,selectedMinAmount:w}),(0,r.jsx)(deposit_form_PromotionBlock,{watchAmount:Number(k),watchBonusCode:L,setValue:_,register:i,touchedFields:b.touchedFields,promotionOptions:f}),y===G.CurrenciesEnum.VND&&(0,r.jsx)("div",{className:u()("note",er().note),children:(0,r.jsxs)("ol",{children:[(0,r.jsxs)("li",{className:"title",children:[(0,r.jsx)("span",{className:"icon icon-warning"}),s("Label_General_ImportantNotes")]}),(0,r.jsx)("li",{children:s("Label_Deposit_Note_1")}),(0,r.jsx)("li",{children:s("Label_Deposit_Note_2")})]})}),(0,r.jsx)(o.l0,{onSubmit:T,children:(0,r.jsx)("div",{className:"btnGroup primary",children:(0,r.jsx)("button",{type:"submit","data-ttid":"form-submit-btn",style:{pointerEvents:b.isValid&&!C?"auto":"none"},className:u()(er()["btn-submit"],{[er()["btn-invalid"]]:!b.isValid,[er()["btn-valid"]]:b.isValid}),children:s("Label_General_Submit")})})})]})},deposit_form_RefIdBlock=e=>{var a;let{register:n,formState:{touchedFields:t,errors:s},bankAccountInfo:l}=e,{t:i}=(0,p.$G)(),{userInfo:{currencyId:c,langId:d}}=(0,v.aC)(),m=c===G.CurrenciesEnum.INR;return l?(0,r.jsxs)("div",{className:u()("subModule",er()["deposit-block"]),children:[(0,r.jsxs)("div",{className:u()("subModuleTitle",er().label),children:[m&&(0,r.jsx)("i",{className:"txt-blue",children:"*"}),"".concat(m&&"en"===d?"UTR/":"").concat(i("Label_Deposit_RefId"))]}),(0,r.jsx)(o.Wz,{className:u()("inputBox-white",er()["inputBox-refId"]),register:n("refId",{required:{value:m,message:i("Label_Deposit_RefId_Required")}}),placeholder:i("Label_Deposit_RefId")||"",touched:!!(0,eo.Z)(t,"refId"),errorMessage:(null===(a=(0,eo.Z)(s,"refId"))||void 0===a?void 0:a.message)||"",error:!!(0,eo.Z)(s,"refId")})]}):null},eg=n(57643),eN=n(95762),ef=n.n(eN),deposit_form_BankAccountBlock=e=>{var a;let{qrCodeUrl:n,bankAccountInfo:t}=e,{t:s}=(0,p.$G)(),[,l]=(0,eg.m9)();return t?(0,r.jsxs)("div",{className:u()("subModule",er()["deposit-block"]),children:[(0,r.jsxs)("div",{className:u()("subModuleTitle",er().label),children:[(0,r.jsx)("i",{className:er().required,
1children:"*"}),s("Label_General_BankAccount")]}),(0,r.jsxs)("div",{className:ef()["content-area"],children:[(0,r.jsx)("div",{className:ef()["deposit-info"],children:(0,r.jsxs)("div",{className:ef()["info-item-list"],children:[(0,r.jsx)("span",{className:er().label,children:s("Label_Deposit_BankAccountDescription")}),(0,r.jsxs)("div",{className:ef()["info-item"],children:[(0,r.jsx)("span",{className:ef().label,children:s("Label_General_BankName")}),(0,r.jsx)("span",{className:ef().value,children:t.bankName}),(0,r.jsx)("button",{className:ef()["icon-button"],children:(0,r.jsx)("a",{target:"_blank",rel:"noreferrer",href:t.bankSite,className:"icon icon-new-tab"})})]}),(0,r.jsxs)("div",{className:ef()["info-item"],children:[(0,r.jsx)("span",{className:ef().label,children:s("Label_General_AccountName")}),(0,r.jsx)("span",{className:ef().value,children:t.accountName}),(0,r.jsx)("button",{className:ef()["icon-button"],onClick:()=>l(t.accountName),children:(0,r.jsx)("i",{className:"icon icon-files-empty"})})]}),(0,r.jsxs)("div",{className:ef()["info-item"],children:[(0,r.jsx)("span",{className:ef().label,children:s("Label_BankInfo_AccountNumber")}),(0,r.jsx)("span",{className:ef().value,children:t.accountNo}),(0,r.jsx)("button",{className:ef()["icon-button"],onClick:()=>l(t.accountNo),children:(0,r.jsx)("i",{className:"icon icon-files-empty"})})]}),t.ifscCode&&(0,r.jsxs)("div",{className:ef()["info-item"],children:[(0,r.jsx)("span",{className:ef().label,children:s("Label_BankInfo_IFSCCode")}),(0,r.jsx)("span",{className:ef().value,children:t.ifscCode}),(0,r.jsx)("button",{className:ef()["icon-button"],onClick:()=>l(t.ifscCode),children:(0,r.jsx)("i",{className:"icon icon-files-empty"})})]}),(0,r.jsxs)("div",{className:ef()["info-item"],children:[(0,r.jsx)("span",{className:ef().label,children:s("Label_General_Remark")}),(0,r.jsx)("span",{className:ef().value,children:null!==(a=t.code)&&void 0!==a?a:""}),(0,r.jsx)("button",{className:ef()["icon-button"],onClick:()=>l(t.code||""),children:(0,r.jsx)("i",{className:"icon icon-files-empty"})})]})]})}),n&&(0,r.jsxs)("div",{className:ef()["qr-section"],children:[(0,r.jsx)("p",{className:ef()["required-field"],children:s("Label_Deposit_ScanQR")}),(0,r.jsx)("img",{className:ef()["qr-placeholder"],src:(0,L.k$)("".concat(H.X.NEXT_PUBLIC_PAYMENT_HOST).concat(n)),alt:"img-qr-code"})]})]})]}):null};let eC=b()(()=>n.e(2279).then(n.bind(n,42279)),{loadableGenerated:{webpack:()=>[42279]},ssr:!1}),ey=b()(()=>n.e(592).then(n.bind(n,30592)),{loadableGenerated:{webpack:()=>[30592]},ssr:!1}),ek=b()(()=>n.e(6216).then(n.bind(n,16216)),{loadableGenerated:{webpack:()=>[16216]},ssr:!1}),eL=b()(()=>n.e(154).then(n.bind(n,80154)),{loadableGenerated:{webpack:()=>[80154]},ssr:!1});var deposit_form_BankTransferForm=e=>{var a;let{dataSource:n,updateRealName:t}=e,{t:s}=(0,p.$G)(),{modal:l}=(0,c.JT)(),{register:i,watch:d,setValue:_,trigger:h,formState:b,selectedBank:x,bankAccountInfo:v,loading:j,promotionOptions:g,watchedSysId:N,watchAmount:f,watchBonusCode:C,watchReceipt:y,watchCanSubmit:k,isFormValid:L,selectedMinAmount:w,selectedMaxAmount:I,onSysIdChange:T,resetFormFields:P,onSubmit:B}=(0,m.ecy)({dataSource:n,updateRealName:t,promoModals:{FTDThresholdModal:ey,DualThresholdModal:ek,BonusThresholdModal:eL},onError:l.error}),{value:M,toggle:G}=(0,eg.kt)(!1);return(0,r.jsxs)(r.Fragment,{children:[j&&(0,r.jsx)(o.gb,{}),(0,r.jsx)(deposit_form_SelectMethod,{dataSource:n,selectedId:N,onChange:e=>{T(e),P()}}),(0,r.jsx)(deposit_form_DepositBlock,{selectedMinAmount:w,selectedMaxAmount:I,register:i,watch:d,setValue:_,trigger:h,formState:b}),(0,r.jsx)(deposit_form_BankAccountBlock,{qrCodeUrl:null!==(a=null==x?void 0:x.qrCodeUrl)&&void 0!==a?a:"",bankAccountInfo:v}),(0,r.jsxs)("div",{className:u()("subModule",er()["deposit-block"]),children:[(0,r.jsxs)("div",{className:u()("subModuleTitle",er().label),children:[(0,r.jsx)("i",{className:er().required,children:"*"}),s("Label_General_SubmitBankSlip")]}),(0,r.jsxs)("div",{className:"btnGroup",children:[(0,r.jsx)("button",{className:u()(er()["btn-blue"]),onClick:()=>{(null==v?void 0:v.bankName)&&l.open((0,r.jsx)(eC,{defaultReceipt:y,bankName:v.bankName,bankSite:v.bankSite,accountName:v.accountName,code:v.code,accountNo:v.accountNo,onSubmit:async e=>{let{receipt:a}=e;a&&_("receipt",a)},amount:Number(f)}))},"data-ttid":"deposit-upload-receipt-btn",children:s("Label_General_UploadReceipt")}),(0,r.jsx)("i",{className:u()("icon",y?"icon-icon32px_check":"icon-warning"),onClick:G}),(0,r.jsx)("div",{className:u()("tip",{active:M}),children:s("Label_Deposit_SubmitBankSlipInfo")})]})]}),(0,r.jsx)(deposit_form_RefIdBlock,{register:i,formState:b,bankAccountInfo:v}),(0,r.jsx)(deposit_form_PromotionBlock,{watchAmount:Number(f),watchBonusCode:C,setValue:_,register:i,touchedFields:b.touchedFields,promotionOptions:g}),(0,r.jsx)(o.l0,{onSubmit:B,children:k?(0,r.jsx)("div",{className:u()("btnGroup",er()["submit-btn-group"]),children:(0,r.jsx)("button",{type:"submit","data-ttid":"form-submit-btn",style:{pointerEvents:L&&!j?"auto":"none"},className:u()({[er()["btn-invalid"]]:!L,[er()["btn-valid"]]:L}),children:s("Label_General_Submit")})}):(0,r.jsx)("div",{className:u()("btnGroup",er()["submit-btn-group"]),children:(0,r.jsx)("button",{"data-ttid":"form-pending-btn",className:"btn-org",style:{pointerEvents:"none"},children:s("Label_General_Pending")})})}),!k&&(0,r.jsx)("div",{className:"text-center",style:{color:"#5574a7"},children:s("Label_Deposit_ProcessingDescription")})]})};let ew=b()(()=>n.e(592).then(n.bind(n,30592)),{loadableGenerated:{webpack:()=>[30592]},ssr:!1}),eI=b()(()=>n.e(6216).then(n.bind(n,16216)),{loadableGenerated:{webpack:()=>[16216]},ssr:!1}),eT=b()(()=>n.e(154).then(n.bind(n,80154)),{loadableGenerated:{webpack:()=>[80154]},ssr:!1});var deposit_form_ChatTransferForm=e=>{var a;let{dataSource:n,updateRealName:t}=e,{t:s}=(0,p.$G)(),{modal:l}=(0,c.JT)(),{register:i,watch:d,setValue:_,trigger:h,formState:b,selectedChannels:x,selectedChannel:v,handleChannelChange:j,handleGroupChange:g,onSysIdChange:N,resetFormFields:f,promotionOptions:C,loading:y,watchAmount:k,watchBonusCode:L,selectedMinAmount:w,selectedMaxAmount:I,onSubmit:T}=(0,m.Ax5)({dataSource:n,depositType:G.TU.ChatTransfer,updateRealName:t,promoModals:{FTDThresholdModal:ew,DualThresholdModal:eI,BonusThresholdModal:eT},onError:l.error});return(0,r.jsxs)(r.Fragment,{children:[y&&(0,r.jsx)(o.gb,{}),x.length>1&&(0,r.jsx)(deposit_form_SelectMethod,{className:er()["channel-select"],title:"".concat(s("Label_Deposit_SelectChannel")," ").concat(s("Label_Deposit_SelectChannel_Note")),dataSource:x,selectedId:null!==(a=null==v?void 0:v.channelId)&&void 0!==a?a:0,onChange:j}),(0,r.jsx)(deposit_form_SelectMethod,{className:er()["bank-select"],title:s("Label_selectEwallet"),dataSource:n,selectedId:d("groupId"),onChange:g}),(0,r.jsx)(deposit_form_DepositBlock,{register:i,watch:d,setValue:_,trigger:h,formState:b,selectedMinAmount:w,selectedMaxAmount:I}),(null==v?void 0:v.extraDataType)!==G.RL.none&&(0,r.jsx)(deposit_form_AccountDetailBlock,{extraDataType:(null==v?void 0:v.extraDataType)||0,selectedId:d("sysId"),onChange:e=>{N(e),f()},setValue:_}),(0,r.jsx)(deposit_form_PromotionBlock,{watchAmount:Number(k),watchBonusCode:L,setValue:_,register:i,touchedFields:b.touchedFields,promotionOptions:C}),(0,r.jsx)(o.l0,{onSubmit:T,children:(0,r.jsx)("div",{className:"btnGroup",children:(0,r.jsx)("button",{"data-ttid":"form-submit-btn",type:"submit",style:{pointerEvents:b.isValid&&!y?"auto":"none"},className:u()({[er()["btn-invalid"]]:!b.isValid,[er()["btn-valid"]]:b.isValid}),children:s("Label_General_Submit")})})})]})};let eP=b()(()=>n.e(592).then(n.bind(n,30592)),{loadableGenerated:{webpack:()=>[30592]},ssr:!1}),eB=b()(()=>n.e(6216).then(n.bind(n,16216)),{loadableGenerated:{webpack:()=>[16216]},ssr:!1}),eM=b()(()=>n.e(154).then(n.bind(n,80154)),{loadableGenerated:{webpack:()=>[80154]},ssr:!1});var deposit_form_CryptoPayForm=e=>{var a;let{dataSource:n,updateRealName:t}=e,{t:s}=(0,p.$G)(),{modal:l}=(0,c.JT)(),{register:i,watch:d,setValue:_,trigger:h,formState:b,selectedChannels:x,selectedChannel:v,handleChannelChange:j,handleGroupChange:g,promotionOptions:N,loading:f,watchAmount:C,watchBonusCode:y,selectedMinAmount:k,selectedMaxAmount:L,onSubmit:w}=(0,m.Ax5)({dataSource:n,depositType:G.TU.CryptoPay,updateRealName:t,promoModals:{FTDThresholdModal:eP,DualThresholdModal:eB,BonusThresholdModal:eM},onError:l.error,withSysId:!1,extraResetFields:[]});return(0,r.jsxs)(r.Fragment,{children:[f&&(0,r.jsx)(o.gb,{}),x.length>1&&(0,r.jsx)(deposit_form_SelectMethod,{className:er()["channel-select"],title:"".concat(s("Label_Deposit_SelectChannel")," ").concat(s("Label_Deposit_SelectChannel_Note")),dataSource:x,selectedId:null!==(a=null==v?void 0:v.channelId)&&void 0!==a?a:0,onChange:j}),(0,r.jsx)(deposit_form_SelectMethod,{className:er()["bank-select"],title:s("Label_SelectCrypto"),dataSource:n,selectedId:d("groupId"),onChange:g}),(0,r.jsx)(deposit_form_DepositBlock,{register:i,watch:d,setValue:_,trigger:h,formState:b,selectedMinAmount:k,selectedMaxAmount:L}),(0,r.jsx)(deposit_form_PromotionBlock,{watchAmount:Number(C),watchBonusCode:y,setValue:_,register:i,touchedFields:b.touchedFields,promotionOptions:N}),(0,r.jsx)(o.l0,{onSubmit:w,children:(0,r.jsx)("div",{className:"btnGroup",children:(0,r.jsx)("button",{"data-ttid":"form-submit-btn",type:"submit",style:{pointerEvents:b.isValid&&!f?"auto":"none"},className:u()({[er()["btn-invalid"]]:!b.isValid,[er()["btn-valid"]]:b.isValid}),children:s("Label_General_Submit")})})})]})};let eG=b()(()=>n.e(592).then(n.bind(n,30592)),{loadableGenerated:{webpack:()=>[30592]},ssr:!1}),eS=b()(()=>n.e(6216).then(n.bind(n,16216)),{loadableGenerated:{webpack:()=>[16216]},ssr:!1}),eD=b()(()=>n.e(154).then(n.bind(n,80154)),{loadableGenerated:{webpack:()=>[80154]},ssr:!1});var deposit_form_DigitalWalletForm=e=>{var a;let{dataSource:n,updateRealName:t}=e,{t:s}=(0,p.$G)(),{modal:l}=(0,c.JT)(),{register:i,watch:d,setValue:_,trigger:h,formState:b,selectedChannels:x,selectedChannel:v,handleChannelChange:j,handleGroupChange:g,onSysIdChange:N,resetFormFields:f,promotionOptions:C,loading:y,watchAmount:k,watchBonusCode:L,selectedMinAmount:w,selectedMaxAmount:I,onSubmit:T}=(0,m.Ax5)({dataSource:n,depositType:G.TU.DigitalWallet,updateRealName:t,promoModals:{FTDThresholdModal:eG,DualThresholdModal:eS,BonusThresholdModal:eD},onError:l.error});return(0,r.jsxs)(r.Fragment,{children:[y&&(0,r.jsx)(o.gb,{}),x.length>1&&(0,r.jsx)(deposit_form_SelectMethod,{className:er()["channel-select"],title:"".concat(s("Label_Deposit_SelectChannel")," ").concat(s("Label_Deposit_SelectChannel_Note")),dataSource:x,selectedId:null!==(a=null==v?void 0:v.channelId)&&void 0!==a?a:0,onChange:j}),(0,r.jsx)(deposit_form_SelectMethod,{className:er()["bank-select"],title:s("Label_selectEwallet"),dataSource:n,selectedId:d("groupId"),onChange:g}),(0,r.jsx)(deposit_form_DepositBlock,{register:i,watch:d,setValue:_,trigger:h,formState:b,selectedMinAmount:w,selectedMaxAmount:I}),(null==v?void 0:v.extraDataType)!==G.RL.none&&(0,r.jsx)(deposit_form_AccountDetailBlock,{extraDataType:(null==v?void 0:v.extraDataType)||0,selectedId:d("sysId"),onChange:e=>{N(e),f()},setValue:_}),(0,r.jsx)(deposit_form_PromotionBlock,{watchAmount:Number(k),watchBonusCode:L,setValue:_,register:i,touchedFields:b.touchedFields,promotionOptions:C}),(0,r.jsx)(o.l0,{onSubmit:T,children:(0,r.jsx)("div",{className:"btnGroup",children:(0,r.jsx)("button",{type:"submit","data-ttid":"form-submit-btn",style:{pointerEvents:b.isValid&&!y?"auto":"none"},className:u()({[er()["btn-invalid"]]:!b.isValid,[er()["btn-valid"]]:b.isValid}),children:s("Label_General_Submit")})})})]})},eR=n(65134),eV=n.n(eR);let eA=b()(()=>n.e(592).then(n.bind(n,30592)),{loadableGenerated:{webpack:()=>[30592]},ssr:!1}),eE=b()(()=>n.e(6216).then(n.bind(n,16216)),{loadableGenerated:{webpack:()=>[16216]},ssr:!1}),eW=b()(()=>n.e(154).then(n.bind(n,80154)),{loadableGenerated:{webpack:()=>[80154]},ssr:!1});var deposit_form_FPXForm=e=>{var a;let{dataSource:n,updateRealName:t}=e,{t:s}=(0,p.$G)(),{modal:l}=(0,c.JT)(),{register:i,watch:d,setValue:_,trigger:h,formState:b,selectedChannels:x,selectedChannel:v,handleChannelChange:j,onSysIdChange:g,resetFormFields:N,promotionOptions:f,loading:C,watchAmount:y,watchBonusCode:k,selectedMinAmount:L,selectedMaxAmount:w,onSubmit:I}=(0,m.Ax5)({dataSource:n,depositType:G.TU.FPX,updateRealName:t,promoModals:{FTDThresholdModal:eA,DualThresholdModal:eE,BonusThresholdModal:eW},onError:l.error,channelIdDefaultValue:0,channelIdWithTrigger:!1}),T=(null==v?void 0:v.extraDataType)===G.RL.none,P=T&&!(0,eb.Z)(null==v?void 0:v.supportBanks);
1return(0,r.jsxs)(r.Fragment,{children:[C&&(0,r.jsx)(o.gb,{}),x.length>1&&(0,r.jsx)(deposit_form_SelectMethod,{className:er()["channel-select"],title:"".concat(s("Label_Deposit_SelectChannel")," ").concat(s("Label_Deposit_SelectChannel_Note")),dataSource:x,selectedId:null!==(a=null==v?void 0:v.channelId)&&void 0!==a?a:0,onChange:j}),P&&(0,r.jsx)(deposit_form_SelectMethod,{className:er()["bank-select"],dataSource:(null==v?void 0:v.supportBanks)||[],selectedId:d("sysId"),onChange:e=>{g(e),N()}}),!T&&(0,r.jsx)(deposit_form_AccountDetailBlock,{extraDataType:(null==v?void 0:v.extraDataType)||0,selectedId:d("sysId"),setValue:_,onChange:e=>{g(e),N()}}),(0,r.jsx)(deposit_form_DepositBlock,{register:i,watch:d,setValue:_,trigger:h,formState:b,selectedMaxAmount:w,selectedMinAmount:L}),(0,r.jsx)(deposit_form_PromotionBlock,{watchAmount:Number(y),watchBonusCode:k,setValue:_,register:i,touchedFields:b.touchedFields,promotionOptions:f}),(0,r.jsx)(o.l0,{onSubmit:I,children:(0,r.jsx)("div",{className:"btnGroup primary",children:(0,r.jsx)("button",{type:"submit","data-ttid":"form-submit-btn",style:{pointerEvents:b.isValid&&!C?"auto":"none"},className:u()({[er()["btn-invalid"]]:!b.isValid,[er()["btn-valid"]]:b.isValid}),children:s("Label_General_Submit")})})})]})};let eF=b()(()=>n.e(592).then(n.bind(n,30592)),{loadableGenerated:{webpack:()=>[30592]},ssr:!1}),eO=b()(()=>n.e(6216).then(n.bind(n,16216)),{loadableGenerated:{webpack:()=>[16216]},ssr:!1}),eH=b()(()=>n.e(154).then(n.bind(n,80154)),{loadableGenerated:{webpack:()=>[80154]},ssr:!1});var deposit_form_MobilePayForm=e=>{var a;let{dataSource:n,updateRealName:t}=e,{t:s}=(0,p.$G)(),{modal:l}=(0,c.JT)(),{register:i,watch:d,setValue:_,trigger:h,formState:b,selectedChannels:x,selectedChannel:v,handleChannelChange:j,handleGroupChange:g,onSysIdChange:N,resetFormFields:f,promotionOptions:C,loading:y,watchAmount:k,watchBonusCode:L,selectedMinAmount:w,selectedMaxAmount:I,onSubmit:T}=(0,m.Ax5)({dataSource:n,depositType:G.TU.MobilePayment,updateRealName:t,promoModals:{FTDThresholdModal:eF,DualThresholdModal:eO,BonusThresholdModal:eH},onError:l.error});return(0,r.jsxs)(r.Fragment,{children:[y&&(0,r.jsx)(o.gb,{}),x.length>1&&(0,r.jsx)(deposit_form_SelectMethod,{className:er()["channel-select"],title:"".concat(s("Label_Deposit_SelectChannel")," ").concat(s("Label_Deposit_SelectChannel_Note")),dataSource:x,selectedId:null!==(a=null==v?void 0:v.channelId)&&void 0!==a?a:0,onChange:j}),n.length>0&&(0,r.jsx)(deposit_form_SelectMethod,{className:er()["bank-select"],title:s("Label_selectEwallet"),dataSource:n,selectedId:d("groupId"),onChange:g}),(0,r.jsx)(deposit_form_DepositBlock,{register:i,watch:d,setValue:_,trigger:h,formState:b,selectedMinAmount:w,selectedMaxAmount:I}),(null==v?void 0:v.extraDataType)!==G.RL.none&&(0,r.jsx)(deposit_form_AccountDetailBlock,{extraDataType:(null==v?void 0:v.extraDataType)||0,selectedId:d("sysId"),onChange:e=>{N(e),f()},setValue:_}),(0,r.jsx)(deposit_form_PromotionBlock,{watchAmount:Number(k),watchBonusCode:L,setValue:_,register:i,touchedFields:b.touchedFields,promotionOptions:C}),(0,r.jsx)(o.l0,{onSubmit:T,children:(0,r.jsx)("div",{className:"btnGroup primary",children:(0,r.jsx)("button",{type:"submit","data-ttid":"form-submit-btn",style:{pointerEvents:b.isValid&&!y?"auto":"none"},className:u()({[er()["btn-invalid"]]:!b.isValid,[er()["btn-valid"]]:b.isValid}),children:s("Label_General_Submit")})})})]})};let eU=b()(()=>n.e(592).then(n.bind(n,30592)),{loadableGenerated:{webpack:()=>[30592]},ssr:!1}),eZ=b()(()=>n.e(6216).then(n.bind(n,16216)),{loadableGenerated:{webpack:()=>[16216]},ssr:!1}),eq=b()(()=>n.e(154).then(n.bind(n,80154)),{loadableGenerated:{webpack:()=>[80154]},ssr:!1});var deposit_form_OnlineBankingForm=e=>{var a;let{dataSource:n,updateRealName:t}=e,{t:s}=(0,p.$G)(),{modal:l}=(0,c.JT)(),{register:i,watch:d,setValue:_,trigger:h,formState:b,selectedChannels:x,selectedChannel:v,handleChannelChange:j,onSysIdChange:g,resetFormFields:N,promotionOptions:f,loading:C,currencyId:y,watchAmount:k,watchBonusCode:L,selectedMinAmount:w,selectedMaxAmount:I,onSubmit:T}=(0,m.Ax5)({dataSource:n,depositType:G.TU.OnlineBanking,updateRealName:t,promoModals:{FTDThresholdModal:eU,DualThresholdModal:eZ,BonusThresholdModal:eq},onError:l.error,channelIdDefaultValue:0,channelIdWithTrigger:!1}),P=(null==v?void 0:v.extraDataType)===G.RL.none,B=P&&!(0,eb.Z)(null==v?void 0:v.supportBanks)&&y!==G.CurrenciesEnum.VND;
1return(0,r.jsxs)(r.Fragment,{children:[C&&(0,r.jsx)(o.gb,{}),x.length>1&&(0,r.jsx)(deposit_form_SelectMethod,{className:er()["channel-select"],title:"".concat(s("Label_Deposit_SelectChannel")," ").concat(s("Label_Deposit_SelectChannel_Note")),dataSource:x,selectedId:null!==(a=null==v?void 0:v.channelId)&&void 0!==a?a:0,onChange:j}),B&&(0,r.jsx)(deposit_form_SelectMethod,{className:er()["bank-select"],dataSource:(null==v?void 0:v.supportBanks)||[],selectedId:d("sysId"),onChange:e=>{g(e),N()}}),!P&&(0,r.jsx)(deposit_form_AccountDetailBlock,{extraDataType:(null==v?void 0:v.extraDataType)||0,selectedId:d("sysId"),setValue:_,onChange:e=>{g(e),N()}}),(0,r.jsx)(deposit_form_DepositBlock,{register:i,watch:d,setValue:_,trigger:h,formState:b,selectedMaxAmount:I,selectedMinAmount:w}),(0,r.jsx)(deposit_form_PromotionBlock,{watchAmount:Number(k),watchBonusCode:L,setValue:_,register:i,touchedFields:b.touchedFields,promotionOptions:f}),y===G.CurrenciesEnum.VND&&(0,r.jsx)("div",{className:u()("note",er().note),children:(0,r.jsxs)("ol",{children:[(0,r.jsxs)("li",{className:"title",children:[(0,r.jsx)("span",{className:"icon icon-warning"}),s("Label_General_ImportantNotes")]}),(0,r.jsx)("li",{children:s("Label_Deposit_Note_1")}),(0,r.jsx)("li",{children:s("Label_Deposit_Note_2")})]})}),(0,r.jsx)(o.l0,{onSubmit:T,children:(0,r.jsx)("div",{className:"btnGroup primary",children:(0,r.jsx)("button",{type:"submit","data-ttid":"form-submit-btn",style:{pointerEvents:b.isValid&&!C?"auto":"none"},className:u()({[er()["btn-invalid"]]:!b.isValid,[er()["btn-valid"]]:b.isValid}),children:s("Label_General_Submit")})})})]})};let eY=b()(()=>n.e(592).then(n.bind(n,30592)),{loadableGenerated:{webpack:()=>[30592]},ssr:!1}),eJ=b()(()=>n.e(6216).then(n.bind(n,16216)),{loadableGenerated:{webpack:()=>[16216]},ssr:!1}),e$=b()(()=>n.e(154).then(n.bind(n,80154)),{loadableGenerated:{webpack:()=>[80154]},ssr:!1});var deposit_form_QRPayForm=e=>{var a;let{dataSource:n,updateRealName:t}=e,{t:s}=(0,p.$G)(),{modal:l}=(0,c.JT)(),{register:i,watch:d,setValue:_,trigger:h,formState:b,selectedChannels:x,selectedChannel:v,handleChannelChange:j,handleGroupChange:g,onSysIdChange:N,resetFormFields:f,promotionOptions:C,loading:y,currencyId:k,watchAmount:L,watchBonusCode:w,selectedMinAmount:I,selectedMaxAmount:T,onSubmit:P}=(0,m.Ax5)({dataSource:n,depositType:G.TU.QRPay,updateRealName:t,promoModals:{FTDThresholdModal:eY,DualThresholdModal:eJ,BonusThresholdModal:e$},onError:l.error});return(0,r.jsxs)(r.Fragment,{children:[y&&(0,r.jsx)(o.gb,{}),x.length>1&&(0,r.jsx)(deposit_form_SelectMethod,{className:er()["channel-select"],title:"".concat(s("Label_Deposit_SelectChannel")," ").concat(s("Label_Deposit_SelectChannel_Note")),dataSource:x,selectedId:null!==(a=null==v?void 0:v.channelId)&&void 0!==a?a:0,onChange:j}),k!==G.CurrenciesEnum.VND&&(0,r.jsx)(deposit_form_SelectMethod,{className:er()["bank-select"],dataSource:n,selectedId:d("groupId"),onChange:g}),(0,r.jsx)(deposit_form_DepositBlock,{register:i,watch:d,setValue:_,trigger:h,formState:b,selectedMaxAmount:T,selectedMinAmount:I}),(null==v?void 0:v.extraDataType)!==G.RL.none&&(0,r.jsx)(deposit_form_AccountDetailBlock,{extraDataType:(null==v?void 0:v.extraDataType)||0,selectedId:d("sysId"),onChange:e=>{N(e),f()},setValue:_}),(0,r.jsx)(deposit_form_PromotionBlock,{watchAmount:Number(L),watchBonusCode:w,setValue:_,register:i,touchedFields:b.touchedFields,promotionOptions:C}),k===G.CurrenciesEnum.VND&&(0,r.jsx)("div",{className:u()("note",er().note),children:(0,r.jsxs)("ol",{children:[(0,r.jsxs)("li",{className:"title",children:[(0,r.jsx)("span",{className:"icon icon-warning"}),s("Label_General_ImportantNotes")]}),(0,r.jsx)("li",{children:s("Label_Deposit_Note_1")}),(0,r.jsx)("li",{children:s("Label_Deposit_Note_2")})]})}),(0,r.jsx)(o.l0,{onSubmit:P,children:(0,r.jsx)("div",{className:"btnGroup",children:(0,r.jsx)("button",{"data-ttid":"form-submit-btn",type:"submit",style:{pointerEvents:b.isValid&&!y?"auto":"none"},className:u()({[er()["btn-invalid"]]:!b.isValid,[er()["btn-valid"]]:b.isValid}),children:s("Label_General_Submit")})})})]})};
1let eK=b()(()=>n.e(592).then(n.bind(n,30592)),{loadableGenerated:{webpack:()=>[30592]},ssr:!1}),ez=b()(()=>n.e(6216).then(n.bind(n,16216)),{loadableGenerated:{webpack:()=>[16216]},ssr:!1}),eQ=b()(()=>n.e(154).then(n.bind(n,80154)),{loadableGenerated:{webpack:()=>[80154]},ssr:!1});var deposit_form_QrLiteForm=e=>{var a;let{dataSource:n,updateRealName:t}=e,{t:s}=(0,p.$G)(),{modal:l}=(0,c.JT)(),{register:i,watch:d,setValue:_,trigger:h,formState:b,selectedChannels:x,selectedChannel:v,handleChannelChange:j,handleGroupChange:g,onSysIdChange:N,resetFormFields:f,promotionOptions:C,loading:y,watchAmount:k,watchBonusCode:L,selectedMinAmount:w,selectedMaxAmount:I,onSubmit:T}=(0,m.Ax5)({dataSource:n,depositType:G.TU.QrLite,updateRealName:t,promoModals:{FTDThresholdModal:eK,DualThresholdModal:ez,BonusThresholdModal:eQ},onError:l.error});return(0,r.jsxs)(r.Fragment,{children:[y&&(0,r.jsx)(o.gb,{}),x.length>1&&(0,r.jsx)(deposit_form_SelectMethod,{className:er()["channel-select"],title:"".concat(s("Label_Deposit_SelectChannel")," ").concat(s("Label_Deposit_SelectChannel_Note")),dataSource:x,selectedId:null!==(a=null==v?void 0:v.channelId)&&void 0!==a?a:0,onChange:j}),(0,r.jsx)(deposit_form_SelectMethod,{className:er()["bank-select"],dataSource:n,selectedId:d("groupId"),onChange:g}),(0,r.jsx)(deposit_form_DepositBlock,{register:i,watch:d,setValue:_,trigger:h,formState:b,selectedMaxAmount:I,selectedMinAmount:w}),(null==v?void 0:v.extraDataType)!==G.RL.none&&(0,r.jsx)(deposit_form_AccountDetailBlock,{extraDataType:(null==v?void 0:v.extraDataType)||0,selectedId:d("sysId"),onChange:e=>{N(e),f()},setValue:_}),(0,r.jsx)(deposit_form_PromotionBlock,{watchAmount:Number(k),watchBonusCode:L,setValue:_,register:i,touchedFields:b.touchedFields,promotionOptions:C}),(0,r.jsx)(o.l0,{onSubmit:T,children:(0,r.jsx)("div",{className:"btnGroup",children:(0,r.jsx)("button",{"data-ttid":"form-submit-btn",type:"submit",style:{pointerEvents:b.isValid&&!y?"auto":"none"},className:u()({[er()["btn-invalid"]]:!b.isValid,[er()["btn-valid"]]:b.isValid}),children:s("Label_General_Submit")})})})]})};let eX=b()(()=>n.e(592).then(n.bind(n,30592)),{loadableGenerated:{webpack:()=>[30592]},ssr:!1}),e0=b()(()=>n.e(6216).then(n.bind(n,16216)),{loadableGenerated:{webpack:()=>[16216]},ssr:!1}),e1=b()(()=>n.e(154).then(n.bind(n,80154)),{loadableGenerated:{webpack:()=>[80154]},ssr:!1});var deposit_form_QuickTransferForm=e=>{var a;let{dataSource:n,updateRealName:t}=e,{t:s}=(0,p.$G)(),{modal:l}=(0,c.JT)(),{register:i,watch:d,setValue:_,trigger:h,formState:b,selectedChannels:x,selectedChannel:v,handleChannelChange:j,onSysIdChange:g,resetFormFields:N,promotionOptions:f,loading:C,currencyId:y,watchAmount:k,watchBonusCode:L,selectedMinAmount:w,selectedMaxAmount:I,onSubmit:T}=(0,m.Ax5)({dataSource:n,depositType:G.TU.QuickTransfer,updateRealName:t,promoModals:{FTDThresholdModal:eX,DualThresholdModal:e0,BonusThresholdModal:e1},onError:l.error,channelIdDefaultValue:0,channelIdWithTrigger:!1}),P=(null==v?void 0:v.extraDataType)===G.RL.none,B=P&&!(0,eb.Z)(null==v?void 0:v.supportBanks)&&y!==G.CurrenciesEnum.VND;return(0,r.jsxs)(r.Fragment,{children:[C&&(0,r.jsx)(o.gb,{}),x.length>1&&(0,r.jsx)(deposit_form_SelectMethod,{className:er()["channel-select"],title:"".concat(s("Label_Deposit_SelectChannel")," ").concat(s("Label_Deposit_SelectChannel_Note")),dataSource:x,selectedId:null!==(a=null==v?void 0:v.channelId)&&void 0!==a?a:0,onChange:j}),B&&(0,r.jsx)(deposit_form_SelectMethod,{className:er()["bank-select"],dataSource:(null==v?void 0:v.supportBanks)||[],selectedId:d("sysId"),onChange:e=>{g(e),N()}}),!P&&(0,r.jsx)(deposit_form_AccountDetailBlock,{extraDataType:(null==v?void 0:v.extraDataType)||0,selectedId:d("sysId"),setValue:_,onChange:e=>{g(e),N()}}),(0,r.jsx)(deposit_form_DepositBlock,{register:i,watch:d,setValue:_,trigger:h,formState:b,selectedMinAmount:w,selectedMaxAmount:I}),(0,r.jsx)(deposit_form_PromotionBlock,{watchAmount:Number(k),watchBonusCode:L,setValue:_,register:i,touchedFields:b.touchedFields,promotionOptions:f}),y===G.CurrenciesEnum.VND&&(0,r.jsx)("div",{className:u()("note",er().note),
1children:(0,r.jsxs)("ol",{children:[(0,r.jsxs)("li",{className:"title",children:[(0,r.jsx)("span",{className:"icon icon-warning"}),s("Label_General_ImportantNotes")]}),(0,r.jsx)("li",{children:s("Label_Deposit_Note_1")}),(0,r.jsx)("li",{children:s("Label_Deposit_Note_2")})]})}),(0,r.jsx)(o.l0,{onSubmit:T,children:(0,r.jsx)("div",{className:u()("btnGroup",er()["submit-btn-group"]),children:(0,r.jsx)("button",{type:"submit","data-ttid":"form-submit-btn",style:{pointerEvents:b.isValid&&!C?"auto":"none"},className:u()({[er()["btn-invalid"]]:!b.isValid,[er()["btn-valid"]]:b.isValid}),children:s("Label_General_Submit")})})})]})},e2=n(39517),e4=n.n(e2);let e8=b()(()=>n.e(592).then(n.bind(n,30592)),{loadableGenerated:{webpack:()=>[30592]},ssr:!1}),e5=b()(()=>n.e(6216).then(n.bind(n,16216)),{loadableGenerated:{webpack:()=>[16216]},ssr:!1}),e3=b()(()=>n.e(154).then(n.bind(n,80154)),{loadableGenerated:{webpack:()=>[80154]},ssr:!1});var deposit_form_TopUpCardForm=e=>{var a;let{dataSource:n,updateRealName:t}=e,{t:s}=(0,p.$G)(),{modal:l}=(0,c.JT)(),[,i]=(0,eg.m9)(),{register:d,watch:_,setValue:h,trigger:b,formState:x,selectedChannels:v,selectedChannel:j,handleChannelChange:g,handleGroupChange:N,promotionOptions:f,loading:C,watchAmount:y,watchBonusCode:k,selectedMinAmount:L,selectedMaxAmount:w,onSubmit:I}=(0,m.Ax5)({dataSource:n,depositType:G.TU.TopUpCard,updateRealName:t,promoModals:{FTDThresholdModal:e8,DualThresholdModal:e5,BonusThresholdModal:e3},onError:l.error,withSysId:!1,extraResetFields:["code","serial"]}),{value:T,toggle:P}=(0,eg.kt)(!1),B=(0,U.Z)(H.X.NEXT_PUBLIC_SITE_NAME);return(0,r.jsxs)(r.Fragment,{children:[C&&(0,r.jsx)(o.gb,{}),v.length>1&&(0,r.jsx)(deposit_form_SelectMethod,{className:er()["channel-select"],title:"".concat(s("Label_Deposit_SelectChannel")," ").concat(s("Label_Deposit_SelectChannel_Note")),dataSource:v,selectedId:null!==(a=null==j?void 0:j.channelId)&&void 0!==a?a:0,onChange:g}),(0,r.jsx)(deposit_form_SelectMethod,{className:er()["bank-select"],title:s("Label_selectEwallet"),dataSource:n,selectedId:_("groupId"),onChange:N}),(0,r.jsx)(deposit_form_DepositBlock,{register:d,watch:_,setValue:h,trigger:b,formState:x,selectedMinAmount:L,selectedMaxAmount:w,isHideShortcut:!0,childrenBlock:(null==j?void 0:j.extraDataType)===G.RL.topUpCardCode?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"input-column",children:[(0,r.jsxs)("div",{className:e4()["topupcard-row"],children:[(0,r.jsx)(o.Wz,{className:u()("inputBox-white",e4()["topupcard-input"]),register:d("code",{required:!0}),placeholder:s("Label_Deposit_CardCode")||"",touched:!!x.touchedFields.code,error:!!x.errors.code,onInfoClick:()=>P()}),(0,r.jsx)("button",{className:u()("icon icon-files-empty",e4()["topupcard-icon"]),onClick:()=>{var e;i(null!==(e=_("code"))&&void 0!==e?e:"")}})]}),(0,r.jsx)("div",{className:e4()["topupcard-tip"],children:s("Label_Deposit_ProvideBankSlip")}),(0,r.jsxs)("div",{className:e4()["topupcard-input-container"],children:[(0,r.jsx)(o.Wz,{className:u()("inputBox-white",e4()["topupcard-input"]),register:d("serial",{required:!0}),placeholder:s("Label_Deposit_CardSerial")||"",touched:!!x.touchedFields.serial,error:!!x.errors.serial,onInfoClick:()=>P()}),(0,r.jsx)("button",{className:u()("icon icon-files-empty",e4()["topupcard-icon"]),onClick:()=>{var e;i(null!==(e=_("serial"))&&void 0!==e?e:"")}})]}),(0,r.jsx)("div",{className:e4()["topupcard-tip"],children:s("Label_Deposit_ProvideBankSlip")})]}),(0,r.jsx)("div",{className:u()("tipImg",{active:T}),children:(0,r.jsx)(o.Ei,{src:"".concat(H.X.NEXT_PUBLIC_BANNER_HOST,"/desktop/img/cardinfo.png"),alt:"img-cardinfo"})})]}):null}),(0,r.jsx)(deposit_form_PromotionBlock,{watchAmount:Number(y),watchBonusCode:k,setValue:h,register:d,touchedFields:x.touchedFields,promotionOptions:f}),(0,r.jsx)("div",{className:u()("note",er().note),children:(0,r.jsxs)("ol",{children:[(0,r.jsxs)("li",{className:"title",children:[(0,r.jsx)("span",{className:"icon icon-warning"}),s("Label_General_ImportantNotes")]}),(0,r.jsx)("li",{children:s("Label_Deposit_LoadCardNoticeContent1",{site:B})}),(0,r.jsx)("li",{children:s("Label_Deposit_LoadCardNoticeContent2")})]})}),(0,r.jsx)(o.l0,{onSubmit:I,children:(0,r.jsx)("div",{className:u()(er()["submit-btn-group"]),children:(0,r.jsx)("button",{type:"submit","data-ttid":"form-submit-btn",style:{pointerEvents:x.isValid&&!C?"auto":"none"},className:u()({[er()["btn-invalid"]]:!x.isValid,[er()["btn-valid"]]:x.isValid}),children:s("Label_General_Submit")})})})]})};let{AutoDeposit:e6,BankTransfer:e9,OnlineBanking:e7,MobilePay:ae,CryptoPay:aa,QRPay:an,TopUpCardPay:at,QuickTransfer:as,ChatTransfer:al,DigitalWallet:ai,QrLite:ar,FPX:ao}=G.DepositPaymentEnum,ac={loop:!0},ad=b()(()=>Promise.resolve().then(n.bind(n,61427)),{loadableGenerated:{webpack:()=>[61427]},ssr:!1}),am=b()(()=>n.e(957).then(n.bind(n,80957)),{loadableGenerated:{webpack:()=>[80957]},ssr:!1}),a_=b()(()=>n.e(2177).then(n.bind(n,22177)),{loadableGenerated:{webpack:()=>[22177]},ssr:!1});var deposit_form=()=>{let{t:e}=(0,p.$G)(),{userInfo:{langId:a,currencyId:n,actStatus:t}}=(0,v.aC)(),{push:s,pathname:l,query:{paymentType:i}}=(0,f.useRouter)(),{modal:o}=(0,c.JT)(),{accountName:d}=(0,m.xTZ)(),{getBannerUrl:_,isAbleToSeeThirtyDaysMission:h}=(0,v.U5)(),{payments:b,DEPOSIT_PAYMENT_OPTIONS:j,depositMethodsList:g,isOnlinePaymentLimit:C}=(0,m.EYw)(),updateRealName=()=>{d||o.open((0,r.jsx)(a_,{}))},y=(0,$.Z)(N.IV.LUCKY_WHEEL,Number(n)),getDepositBannerInfo=(e,a,n)=>({bannerName:e,bannerPCUrl:a,urlRouter:n,bannerType:G.QQ.Main,actionMode:G.oU.NoAction,behavior:G.h7.Banner}),k=(0,L.Mg)({getBannerUrl:_,currencyId:n,langId:a,eventPeriod:N.KM.WC26_HUB}),w=[...k];h&&w.push(getDepositBannerInfo("thirtyDaysMission",_("/desktop/img/event/missions-rewards/banner-img-desktop-".concat(a,".png")),E.Hb.thirtyDaysMission.root)),y&&w.push(getDepositBannerInfo("lucky-wheel",_("/desktop/img/event/lucky-wheel-promo/deposit-page-banner-img-desktop-".concat(a,".png")),E.Hb.luckyWheel.root));let{bannerDataList:I,handleBannerClick:T}=(0,m.SKk)(w),P=(0,x.useMemo)(()=>
1[(0,ee.Z)({delay:5e3,stopOnInteraction:!1})],[]),{emblaRef:B,selectedIndex:M,scrollTo:S}=(0,m.xPb)(ac,P),onBannerClick=e=>{"lucky-wheel"===e.bannerName?(0,ea.o)({eventName:"LuckyWheel",eventSource:"deposit-banner",isFTD:String(Number(t)===X.kyP.NonDeposit)}):"thirtyDaysMission"===e.bannerName&&(0,ea.o)({eventName:"ThirtyDaysTracking",eventValue:"depositBanner-30days"}),T({...e,redirectLink:e.urlRouter},{loginCallback:()=>o.open((0,r.jsx)(ad,{}))})},D=I.length>1;return(0,r.jsxs)("div",{className:"subModuleListColumn",children:[I.length>0&&(0,r.jsx)("div",{className:eV().banner,children:(0,r.jsx)("div",{className:eV().carousel,children:D?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"embla",ref:B,children:(0,r.jsx)("div",{className:"embla__container",children:I.map(e=>(0,r.jsx)("div",{className:"embla__slide",onClick:()=>onBannerClick(e),children:(0,r.jsx)("img",{src:e.bannerPCUrl,alt:e.bannerName})},e.bannerName))})}),(0,r.jsx)("div",{className:"embla__dots",children:I.map((e,a)=>(0,r.jsx)("button",{type:"button",className:u()("embla__dot",{"embla__dot--selected":a===M}),onClick:()=>S(a)},e.bannerName))})]}):(0,r.jsx)("div",{className:eV().item,onClick:()=>onBannerClick(I[0]),children:(0,r.jsx)("img",{src:I[0].bannerPCUrl,alt:I[0].bannerName})})})}),(0,r.jsxs)("div",{className:er()["option-container"],children:[(0,r.jsxs)("div",{className:"subModuleTitle",children:[(0,r.jsx)("i",{className:er()["option-required"],children:"*"}),e("Label_Deposit_DepositOptions")]}),(0,r.jsx)("div",{className:er().btnGroup,children:Object.keys(b).map(a=>{let t=j[a];if(!t)return null;let{icon:c,labelDisplayKey:d}=t,m=n===G.CurrenciesEnum.VND&&a===G.DepositPaymentEnum.AutoDeposit?"Label_Deposit_Quick_Transfer":d,p=a!==G.DepositPaymentEnum.BankTransfer&&C;return(0,r.jsxs)("button",{type:"button",className:u()(er()["option-btn"],{[er().selected]:i===a,[er().disabled]:p}),onClick:()=>{if(a===G.DepositPaymentEnum.LinePay){var e;o.open((0,r.jsx)(am,{link:null===(e=b[G.DepositPaymentEnum.LinePay])||void 0===e?void 0:e.link}));return}i!==a&&s({pathname:l,query:{paymentType:a}},void 0,{shallow:!0})},children:[(0,r.jsx)("div",{className:er()["icon-container"],children:a===G.DepositPaymentEnum.FPX?(0,r.jsx)("img",{src:_("/icon/IconFpxSquare.svg"),alt:"fpx"}):(0,r.jsx)("div",{className:"icon ".concat(u()(c))})}),e(m)||""]},a)})})]}),i===e9&&b[G.DepositPaymentEnum.BankTransfer]&&(0,r.jsx)(deposit_form_BankTransferForm,{dataSource:b[G.DepositPaymentEnum.BankTransfer],updateRealName:updateRealName}),i===e7&&(0,r.jsx)(deposit_form_OnlineBankingForm,{dataSource:g,updateRealName:updateRealName}),i===ao&&(0,r.jsx)(deposit_form_FPXForm,{dataSource:g,updateRealName:updateRealName}),i===e6&&(0,r.jsx)(deposit_form_AutoDepositForm,{dataSource:g,updateRealName:updateRealName}),i===an&&(0,r.jsx)(deposit_form_QRPayForm,{dataSource:g,updateRealName:updateRealName}),i===ar&&(0,r.jsx)(deposit_form_QrLiteForm,{dataSource:g,updateRealName:updateRealName}),i===ae&&(0,r.jsx)(deposit_form_MobilePayForm,{dataSource:g,updateRealName:updateRealName}),i===al&&(0,r.jsx)(deposit_form_ChatTransferForm,{dataSource:g,updateRealName:updateRealName}),i===ai&&(0,r.jsx)(deposit_form_DigitalWalletForm,{dataSource:g,updateRealName:updateRealName}),i===aa&&(0,r.jsx)(deposit_form_CryptoPayForm,{dataSource:g,updateRealName:updateRealName}),i===at&&(0,r.jsx)(deposit_form_TopUpCardForm,{dataSource:g,updateRealName:updateRealName}),i===as&&b[G.DepositPaymentEnum.QuickTransfer]&&(0,r.jsx)(deposit_form_QuickTransferForm,{dataSource:g,updateRealName:updateRealName})]})};let au=b()(()=>n.e(3888).then(n.bind(n,93888)),{loadableGenerated:{webpack:()=>[93888]},ssr:!1}),ap=b()(()=>n.e(2177).then(n.bind(n,22177)),{loadableGenerated:{webpack:()=>[22177]},ssr:!1});var deposit=e=>{let{options:a,withdrawalBlockSetting:n}=e,{t}=(0,p.$G)(),s=(0,f.useRouter)(),{loading:l}=(0,m.EYw)(),{userInfo:{phoneVerified:i}}=(0,v.aC)(),{dealVerifyFlags:d,accountName:_}=(0,m.xTZ)(),{showReferralButton:h}=a,{modal:b}=(0,c.JT)(),j=(0,x.useRef)(!1);return(0,x.useEffect)(()=>{let handleRouteChangeStart=e=>{let a=/^\/[a-z]{2}(\/|$)/,normalize=e=>e.replace(a,"/").split("?")[0],n=normalize(s.asPath),t=normalize(e);n===E.Hb.deposit.root&&t!==E.Hb.deposit.root&&(sessionStorage.removeItem(E.jJ),sessionStorage.removeItem(E.dn))};return s.events.on("routeChangeStart",handleRouteChangeStart),()=>{s.events.off("routeChangeStart",handleRouteChangeStart)}},[s.asPath,s.events]),(0,x.useEffect)(()=>{let e=!l&&void 0!==d&&void 0!==i&&void 0!==_;if(!e){j.current=!1;return}if(!j.current){j.current=!0;let e=[()=>{d!==G.xW.NeedCheckOtp||i?openNextPopup():b.open((0,r.jsx)(au,{closeCallback:()=>{openNextPopup()}}))},()=>{_?openNextPopup():b.open((0,r.jsx)(ap,{closeCallback:()=>{openNextPopup()}}))}],openNextPopup=()=>
1{if(e.length>0){let a=e.pop();a&&a()}};setTimeout(()=>{openNextPopup()},100)}},[l,_,d,i,b]),(0,r.jsx)("main",{children:(0,r.jsxs)("section",{className:"inside",children:[(0,r.jsx)(W.Z,{withdrawalBlockSetting:n}),l?(0,r.jsx)(o.gb,{}):(0,r.jsxs)("div",{className:"rightModule",children:[(0,r.jsxs)("div",{className:"infoModule",children:[(0,r.jsxs)("div",{className:"inside-title",children:[(0,r.jsx)("span",{className:"icon icon-icon32px_deposit",children:t("Label_General_Deposit")}),(0,r.jsx)("div",{children:t("Label_Deposit_SubTitle")}),(0,r.jsx)("div",{className:O()["btn-container"],children:h&&(0,r.jsx)(B(),{legacyBehavior:!0,href:E.Hb.referral.root,passHref:!0,children:(0,r.jsx)("a",{className:u()(O()["btn-group"],O()["referral-btn"]),children:(0,r.jsx)("span",{children:t("Label_Deposit_ReferFriendsRewards")})})})})]}),(0,r.jsx)(deposit_form,{}),(0,r.jsx)(deposit_DepositImportant,{})]}),(0,r.jsx)(deposit_DepositRecentHistory,{})]})]})})},desi_hits_DesiHitsBanner=()=>{let{bannerList:e,isLoading:a}=(0,m.EuQ)();return(0,r.jsxs)("div",{className:"lobby-banner",children:[a&&(0,r.jsx)(o.gb,{}),(0,r.jsx)(o.$2,{bannerList:e,className:"banner"})]})};let ah=b()(()=>Promise.resolve().then(n.bind(n,61427)),{loadableGenerated:{webpack:()=>[61427]},ssr:!1}),ab=b()(()=>n.e(9345).then(n.bind(n,89345)),{loadableGenerated:{webpack:()=>[89345]},ssr:!1});var desi_hits_DesiHitsList=()=>{var e;let{modal:a}=(0,c.JT)(),{menuList:n=[],onMenuOpen:t}=(0,m.H9d)(),s=null===(e=(0,S.Z)(n,{category:G.ZL.DesiHits}))||void 0===e?void 0:e.subMenu,onItemClick=e=>{t(e,{loginCallback:()=>a.open((0,r.jsx)(ah,{})),messageCallBack:e=>a.error(e),liveStreamingCallback:()=>a.open((0,r.jsx)(ab,{}))})};return(0,r.jsx)("div",{className:"lobby-content",children:null==s?void 0:s.map(e=>(0,r.jsx)(o.WS,{subMenuItem:e,onItemClick:onItemClick},null==e?void 0:e.tpGameIdNo))})},desi_hits=()=>(0,r.jsxs)("main",{className:"lobby",children:[(0,r.jsx)(desi_hits_DesiHitsBanner,{}),(0,r.jsx)(desi_hits_DesiHitsList,{})]});n(77226);var esport_ESportBanner=()=>{let{bannerList:e,isLoading:a}=(0,m.EuQ)();return(0,r.jsxs)("div",{className:"lobby-banner",children:[a&&(0,r.jsx)(o.gb,{}),(0,r.jsx)(o.$2,{bannerList:e,className:"banner"})]})};let ax=b()(()=>Promise.resolve().then(n.bind(n,61427)),{loadableGenerated:{webpack:()=>[61427]},ssr:!1}),av=b()(()=>n.e(9345).then(n.bind(n,89345)),{loadableGenerated:{webpack:()=>[89345]},ssr:!1});var esport_ESportFooterList=()=>{var e;let{getBannerUrl:a}=(0,v.U5)(),{PRODUCTS:n}=(0,v.V4)(),{t}=(0,p.$G)(),{onMenuOpen:s,menuList:l=[]}=(0,m.H9d)(),{modal:i}=(0,c.JT)(),d=null===(e=(0,S.Z)(l,{category:G.ZL.ESports}))||void 0===e?void 0:e.subMenu,_=null==d?void 0:d.find(e=>e.tpGameIdNo===n.ESportALL.tpGameIdNo),h={[G.VE.NO_ICON]:null,[G.VE.New]:(0,r.jsx)(p.Wb,{children:e=>(0,r.jsx)("div",{className:"new-icon",children:e("Label_General_New")})})},onItemClick=e=>{s(e,{loginCallback:()=>i.open((0,r.jsx)(ax,{})),messageCallBack:e=>i.error(e),liveStreamingCallback:()=>i.open((0,r.jsx)(av,{}))})},{iconType:b,iconStartTime:x,iconEndTime:j}=_||{},g=(0,L.fi)({start:x,end:j})&&h[b]||null;return _?(0,r.jsxs)("div",{className:"esports-game-list",children:[(0,r.jsxs)("a",{className:u()({under:null==_?void 0:_.isTpMaintain}),children:[(null==_?void 0:_.isTpMaintain)&&(0,r.jsx)("div",{className:"under-text",children:t("Label_General_UnderMaintenance")}),g,(0,r.jsx)(o.Ei,{onClick:()=>onItemClick(_),src:a("/desktop/img/4.0/lobby-esports/lol.png"),alt:"lol"})]}),(0,r.jsxs)("a",{className:u()({under:null==_?void 0:_.isTpMaintain}),children:[(null==_?void 0:_.isTpMaintain)&&(0,r.jsx)("div",{className:"under-text",children:t("Label_General_UnderMaintenance")}),g,(0,r.jsx)(o.Ei,{onClick:()=>onItemClick(_),src:a("/desktop/img/4.0/lobby-esports/king.png"),alt:"king"})]}),(0,r.jsxs)("a",{className:u()({under:null==_?void 0:_.isTpMaintain}),children:[(null==_?void 0:_.isTpMaintain)&&(0,r.jsx)("div",{className:"under-text",children:t("Label_General_UnderMaintenance")}),g,(0,r.jsx)(o.Ei,{onClick:()=>onItemClick(_),src:a("/desktop/img/4.0/lobby-esports/cs.png"),alt:"cs"})]}),(0,r.jsxs)("a",{className:u()({under:null==_?void 0:_.isTpMaintain}),children:[(null==_?void 0:_.isTpMaintain)&&(0,r.jsx)("div",{className:"under-text",children:t("Label_General_UnderMaintenance")}),g,(0,r.jsx)(o.Ei,{onClick:()=>
1onItemClick(_),src:a("/desktop/img/4.0/lobby-esports/dota.png"),alt:"dota"})]})]}):null};let aj=b()(()=>Promise.resolve().then(n.bind(n,61427)),{loadableGenerated:{webpack:()=>[61427]},ssr:!1}),ag=b()(()=>n.e(9345).then(n.bind(n,89345)),{loadableGenerated:{webpack:()=>[89345]},ssr:!1});var esport_ESportList=()=>{var e;let{modal:a}=(0,c.JT)(),{menuList:n=[],onMenuOpen:t}=(0,m.H9d)(),s=null===(e=(0,S.Z)(n,{category:G.ZL.ESports}))||void 0===e?void 0:e.subMenu,onItemClick=e=>{t(e,{loginCallback:()=>a.open((0,r.jsx)(aj,{})),messageCallBack:e=>a.error(e),liveStreamingCallback:()=>a.open((0,r.jsx)(ag,{}))})};return(0,r.jsx)("div",{className:"lobby-content esports",children:null==s?void 0:s.map(e=>(0,r.jsx)(o.WS,{subMenuItem:e,onItemClick:onItemClick},null==e?void 0:e.tpGameIdNo))})},esport=()=>(0,r.jsxs)("main",{className:"lobby",children:[(0,r.jsx)(esport_ESportBanner,{}),(0,r.jsx)(esport_ESportList,{}),(0,r.jsx)(esport_ESportFooterList,{})]}),games_lobby_Banner=()=>{let{bannerList:e,isLoading:a}=(0,m.EuQ)();return(0,r.jsxs)("div",{className:"lobby-banner",children:[a&&(0,r.jsx)(o.gb,{}),(0,r.jsx)(o.$2,{bannerList:e,className:"banner"})]})},aN=n(54714),af=n.n(aN);let aC=b()(()=>Promise.resolve().then(n.bind(n,61427)),{loadableGenerated:{webpack:()=>[61427]},ssr:!1}),ay=b()(()=>n.e(9345).then(n.bind(n,89345)),{loadableGenerated:{webpack:()=>[89345]},ssr:!1});var games_lobby_GameList=()=>{let{gameInfos:e}=(0,m.EuQ)(),{onMenuOpen:a}=(0,m.H9d)(),{modal:n}=(0,c.JT)(),{t}=(0,p.$G)(),{getBannerUrl:s,getImageUrl:l}=(0,v.U5)(),handlePlay=e=>{a({tpId:e.tpId,gameId:e.gameId,tpGameType:e.tpGameType,isTpMaintain:e.isMaintain,desktop:{menuActionType:G.AS.EnterPage}},{loginCallback:()=>n.open((0,r.jsx)(aC,{})),messageCallBack:e=>n.error(e),liveStreamingCallback:()=>n.open((0,r.jsx)(ay,{}))})};return e.length?(0,r.jsx)("div",{className:af().gameLobbyList,children:e.map(e=>{let{tpId:a,gameId:n,tpName:s,imageName:i,productName:o,isMaintain:c}=e;return(0,r.jsxs)("div",{className:af().gameLobbyListItem,style:{pointerEvents:c?"none":"auto"},children:[c&&(0,r.jsx)("div",{className:af().under,children:t("Label_General_UnderMaintenance")}),(0,r.jsxs)("div",{className:af().imgWrapper,children:[(0,r.jsx)("img",{src:l("/".concat(s,"/").concat(i)),style:{aspectRatio:1},alt:o}),(0,r.jsx)("div",{className:af().btnContainer,children:(0,r.jsx)("button",{className:af().btnPlay,onClick:()=>handlePlay(e),children:t("Label_Play")})})]}),(0,r.jsx)("div",{className:af().details,children:(0,r.jsx)("div",{className:af().gameLobbyInfo,
1children:(0,r.jsxs)("div",{className:af().gameLobbyContent,children:[(0,r.jsx)("div",{className:af().gameLobbyName,children:o}),(0,r.jsx)("div",{className:af().provider,children:s})]})})})]},"game-lobby-".concat(a,"-").concat(n))})}):(0,r.jsxs)("div",{className:af().nodata,children:[(0,r.jsx)("img",{src:s("/desktop/img/4.0/nodata-icon.png"),alt:"No Data"}),(0,r.jsx)("div",{children:t("Label_General_NoData")})]})},games_lobby_SearchBox=()=>{let{t:e}=(0,p.$G)(),{searchText:a,onSearchTextChange:n}=(0,m.EuQ)();return(0,r.jsxs)("div",{className:"search-bar",children:[(0,r.jsx)("img",{src:(0,L.k$)("".concat(H.X.NEXT_PUBLIC_BANNER_HOST,"/desktop/img/4.0/lobby-slots/search-icon.png")),alt:""}),(0,r.jsx)("input",{className:"search-input",type:"text",onChange:e=>n(e.target.value),placeholder:e("Label_SearchGames"),value:a})]})};let VendorItem=e=>{let{isActive:a,displayName:n,imgSrc:t,onClick:s}=e;return(0,r.jsxs)("a",{onClick:s,className:u()("provider-list-item",{active:a}),children:[(0,r.jsx)("div",{children:(0,r.jsx)("img",{src:t,alt:n})}),(0,r.jsx)("div",{children:n})]})};var games_lobby_VendorFilter=()=>{let{providers:e,activeVendorTpId:a,isActiveDropdown:n,onVendorChange:t,onToggleDropdown:s}=(0,m.EuQ)(),{getBannerUrl:l}=(0,v.U5)();return(0,r.jsxs)("div",{className:"provider ".concat(u()({active:n})),children:[(0,r.jsx)("div",{className:"provider-list",children:e.map(e=>{let{tpId:n,displayName:s,imageName:i}=e;return(0,r.jsx)(VendorItem,{isActive:a===n,displayName:s,imgSrc:l("/desktop/img/4.0/lobby-slots/provider-logo/".concat(i)),onClick:()=>t({tpId:n})},"vendor-".concat(n))})}),(0,r.jsx)("button",{onClick:()=>s(),children:(0,r.jsx)("img",{src:(0,L.k$)("".concat(H.X.NEXT_PUBLIC_BANNER_HOST,"/desktop/img/4.0/lobby-slots/down.png")),alt:""})})]})},games_lobby=()=>(0,r.jsxs)("main",{className:"lobby",children:[(0,r.jsx)(games_lobby_Banner,{}),(0,r.jsxs)("div",{className:"lobby-content slots",children:[(0,r.jsxs)("div",{className:"top",children:[(0,r.jsx)(games_lobby_SearchBox,{}),(0,r.jsx)(games_lobby_VendorFilter,{})]}),(0,r.jsx)(games_lobby_GameList,{})]})]}),ak=n(17518),history_HistoryFilter=()=>{let{startDate:e,endDate:a,minDate:n,maxEndDate:t,yearRange:s,activePeriod:l,QUICK_PICK_LIST:i,onQuickPickChange:c,onStartDateChange:d,onEndDateChange:_,onSearch:u}=(0,m.k67)(),{t:h}=(0,p.$G)();return(0,r.jsxs)("div",{className:"quickSelect",children:[(0,r.jsx)("div",{children:(0,r.jsx)(o.Ph,{options:i,isTranslation:!0,placeholder:"-",value:l,defaultValue:l,prefixText:h("Label_History_QuickPick"),onChange:e=>c(e)})}),(0,r.jsxs)("div",{className:"inputBox-blue",children:[(0,r.jsx)("i",{className:"txt-gray",children:h("Label_History_From")}),(0,r.jsx)("div",{className:"rdt",children:(0,r.jsx)(o.TY,{selected:e,onChange:e=>d(e),selectsStart:!0,startDate:e,endDate:a,minDate:n,maxDate:a||void 0,yearRange:s,restrictRecentYears:!0})}),(0,r.jsx)("div",{className:"iconModule",children:(0,r.jsx)("i",{className:"icon icon-calendar"})})]}),(0,r.jsxs)("div",{className:"inputBox-blue",children:[(0,r.jsx)("i",{className:"txt-gray",children:h("Label_History_To")}),(0,r.jsx)("div",{className:"rdt",children:(0,r.jsx)(o.TY,{selected:a,onChange:e=>_(e),selectsEnd:!0,startDate:e,endDate:a,minDate:e||n,maxDate:t||new Date,yearRange:s,restrictRecentYears:!0})}),(0,r.jsx)("div",{className:"iconModule",children:(0,r.jsx)("i",{className:"icon icon-calendar"})})]}),(0,r.jsx)("div",{className:"btnGroup",children:(0,r.jsx)("button",{className:"btn-check primary",onClick:u,children:h("Label_General_Submit")})})]})},aL=n(2491);let aw=b()(()=>n.e(9215).then(n.bind(n,89215)),{loadableGenerated:{webpack:()=>[89215]},ssr:!1});var historyTable_FinancialHistoryTable=e=>{let{dataSource:a,onReload:n}=e,{t}=(0,p.$G)(),{userInfo:{currencyId:s}}=(0,v.aC)(),{modal:l}=(0,aL.JT)(),i=[{title:t("Label_General_Numero"),dataIndex:"no",key:"no",render:e=>{let{index:a}=e;return a+1}},{title:"".concat(t("Label_History_Date")," (").concat(E.PB[s],")"),dataIndex:"createTime",key:"createTime",render:e=>{let{item:{createTime:a}}=e;return(0,r.jsxs)(r.Fragment,{children:[I()(a).utcOffset(E.PB[s]).format("MM/DD/YYYY"),(0,r.jsx)("span",{className:"txt-gray",children:I()(a).utcOffset(E.PB[s]).format("hh:mm:ss A")})]})}},{title:t("Label_History_RefTransId"),dataIndex:"refTransId",key:"refTransId",render:e=>{let{item:{refTransId:a,withdrawalMessageDetail:n}}=e;return(0,r.jsxs)("div",{className:"financialRefTrans",children:[a,n&&n.length>0&&(0,r.jsx)("button",{className:"infobtn",onClick:()=>{l.open((0,r.jsx)(aw,{transId:a,messageDetail:n}),{className:"statuspop"})}})]})}},{title:t("Label_History_TypeName"),dataIndex:"typeName",key:"typeName"},{title:t("Label_History_ChangeAmount"),dataIndex:"changeAmount",ke
1y:"changeAmount",render:e=>{let{item:{changeAmount:a}}=e;return(0,L.Y4)(a,s,2)}},{title:t("Label_History_BeforeAmount"),dataIndex:"beforeAmount",key:"beforeAmount",render:e=>{let{item:{beforeAmount:a}}=e;return(0,L.Y4)(a,s,2)}},{title:(0,r.jsxs)(r.Fragment,{children:[t("Label_History_AfterAmount"),(0,r.jsx)(Z.Z,{onClick:n})]}),dataIndex:"afterAmount",key:"afterAmount",render:e=>{let{item:{afterAmount:a}}=e;return(0,L.Y4)(a,s,2)}}];return(0,r.jsx)(K.Z,{dataSource:a,columns:i,mainClassName:"list history",headerClassName:"listHeader",bodyClassName:"listBody"})},historyTable_ReferralHistoryTable=e=>{let{dataSource:a}=e,{t:n}=(0,p.$G)(),{userInfo:{currencyId:t}}=(0,v.aC)(),s=[{title:n("Label_General_Numero"),dataIndex:"no",key:"no",render:e=>{let{index:a}=e;return a+1}},{title:"".concat(n("Label_History_RegisterDate")," (").concat(E.PB[t],")"),dataIndex:"registerDate",key:"registerDate",render:e=>{let{item:{settledDate:a}}=e;return(0,r.jsxs)(r.Fragment,{children:[I()(a).utcOffset(E.PB[t]).format("MM/DD/YYYY"),(0,r.jsx)("span",{className:"txt-gray",children:I()(a).utcOffset(E.PB[t]).format("hh:mm:ss A")})]})}},{title:n("Label_General_Username"),dataIndex:"userName",key:"userName"},{title:n("Label_History_TotalDeposit"),dataIndex:"totalDeposit",key:"totalDeposit",render:e=>{let{item:{totalDeposit:a}}=e;return(0,L.Y4)(a,t,0)}},{title:n("Label_General_BonusAmount"),dataIndex:"bonusAmount",key:"bonusAmount",render:e=>{let{item:{rewardAmount:a}}=e;return(0,L.Y4)(a,t,0)}}];return(0,r.jsx)(K.Z,{dataSource:a,columns:s,mainClassName:"list history",headerClassName:"listHeader",bodyClassName:"listBody"})},aI=n(84797);let aT=b()(()=>n.e(9215).then(n.bind(n,89215)),{loadableGenerated:{webpack:()=>[89215]},ssr:!1});var historyTable_WithdrawalHistoryTable=e=>{let{dataSource:a,onReload:n,onCancel:t,classNames:s="list history"}=e,{t:l}=(0,p.$G)(),{userInfo:{currencyId:i}}=(0,v.aC)(),{modal:o}=(0,c.JT)(),d=[{title:l("Label_General_Numero"),dataIndex:"no",key:"no",render:e=>{let{index:a}=e;return a+1}},{title:"".concat(l("Label_History_Date")," (").concat(E.PB[i],")"),dataIndex:"createTime",key:"createTime",render:e=>{let{item:{createTime:a}}=e;return(0,r.jsxs)(r.Fragment,{children:[I()(a).utcOffset(E.PB[i]).format("MM/DD/YYYY"),(0,r.jsx)("span",{className:"txt-gray",children:I()(a).utcOffset(E.PB[i]).format("hh:mm:ss A")})]})}},{title:l("Label_History_ID"),dataIndex:"transId",key:"transId"},{title:l("Label_History_Amount"),dataIndex:"amount",key:"amount",render:e=>{let{item:{amount:a}}=e;return(0,L.Y4)(a,i,0)}},{title:l("Label_History_BankAccount"),dataIndex:"bankAccount",key:"bankAccount"},{title:l("Label_History_Status"),dataIndex:"status",key:"status",render:e=>{let{item:{status:a,transId:n,messages:t}}=e,s=J.ef[a],i=l("Label_WithdrawalStatus".concat(a));return(0,r.jsxs)("div",{className:s,children:[i,t&&t.length>0&&(0,r.jsx)("button",{className:"infobtn",onClick:()=>{o.open((0,r.jsx)(aT,{transId:n,messageDetail:t}),{className:"statuspop"})}})]})}},{title:(0,r.jsxs)(r.Fragment,{children:[l("Label_History_Action"),(0,r.jsx)(Z.Z,{onClick:n})]}),dataIndex:"action",key:"action",render:e=>{let{item:{canCancel:a,transId:n}}=e;return a&&(0,r.jsx)("div",{className:"btnGroup",children:(0,r.jsx)("button",{"data-ttid":"withdrawal-history-cancel-btn",className:"btn-cancel ghost dark",onClick:()=>{o.confirm(l("Label_History_CancelConfirm"),{onOK:()=>t(n)})},children:l("Label_General_Cancel")})})}}];return(0,r.jsx)(K.Z,{dataSource:a,columns:d,mainClassName:s,headerClassName:"listHeader",bodyClassName:"listBody"})},statementTable_ByCategoryStatementTable=e=>{let{dataSource:a,targetTab:n,onDetails:t}=e,{t:s}=(0,p.$G)(),{userInfo:{currencyId:l}}=(0,v.aC)(),i=[{title:"".concat(s("Label_General_SettledDate")," (").concat(E.PB[l],")"),dataIndex:"settledDate",key:"settledDate",render:e=>{let{item:{settledDate:a}}=e;return(0,L.Ss)(a).format("YYYY-MM-DD")}},{title:s("Label_General_GameTypeName"),dataIndex:"gameTypeName",key:"gameTypeName"},{title:s("Label_General_Turnover"),dataIndex:"turnOver",key:"turnOver",render:e=>{let{item:{turnOver:a}}=e;return(0,L.Y4)(a,l,2)}},{title:s("Label_General_ValidBet"),dataIndex:"validBet",key:"validBet",render:e=>{let{item:{validBet:a}}=e;return(0,L.Y4)(a,l,2)}},{title:s("Label_General_WinlostAmount"),dataIndex:"winlostAmount",ke
1y:"winlostAmount",render:e=>{let{item:{winlostAmount:a}}=e;return(0,L.Y4)(a,l,2)}},{title:s("Label_History_Action"),key:"action",dataIndex:"",render:e=>{let{item:{settledDate:a,gameTypeID:l}}=e;return(0,r.jsx)("div",{className:"btnGroup",onClick:()=>t({selDate:a,gameTypeId:l,targetTab:n}),children:(0,r.jsx)("a",{role:"link","aria-hidden":!0,className:"thrid",children:s("Label_General_Details")})})}}];return(0,r.jsx)(K.Z,{dataSource:a,columns:i,mainClassName:"statement",isShowBodyDivElement:!1})},statementTable_ByDayStatementTable=e=>{let{dataSource:a,targetTab:n,onDetails:t}=e,{t:s}=(0,p.$G)(),{userInfo:{currencyId:l}}=(0,v.aC)(),i=[{title:"".concat(s("Label_General_SettledDate")," (").concat(E.PB[l],")"),dataIndex:"settledDate",key:"settledDate",render:e=>{let{item:{settledDate:a}}=e;return(0,L.Ss)(a).format("YYYY-MM-DD")}},{title:s("Label_General_CategoryName"),dataIndex:"categoryName",key:"categoryName"},{title:s("Label_General_Turnover"),dataIndex:"turnOver",key:"turnOver",render:e=>{let{item:{turnOver:a}}=e;return(0,L.Y4)(a,l,2)}},{title:s("Label_General_ValidBet"),dataIndex:"validBet",key:"validBet",render:e=>{let{item:{validBet:a}}=e;return(0,L.Y4)(a,l,2)}},{title:s("Label_General_WinlostAmount"),dataIndex:"winlostAmount",key:"winlostAmount",render:e=>{let{item:{winlostAmount:a}}=e;return(0,L.Y4)(a,l,2)}},{title:s("Label_History_Action"),key:"action",dataIndex:"",render:e=>{let{item:{settledDate:a,categoryId:l}}=e;return(0,r.jsx)("div",{className:"btnGroup",onClick:()=>t({selDate:a,categoryId:l,targetTab:n}),children:(0,r.jsx)("a",{role:"link","aria-hidden":!0,className:"thrid",children:s("Label_General_Details")})})}}];return(0,r.jsx)(K.Z,{dataSource:a,columns:i,mainClassName:"statement",isShowBodyDivElement:!1})},statementTable_ByDetailStatementTable=e=>{let{dataSource:a}=e,{t:n}=(0,p.$G)(),{userInfo:{currencyId:t}}=(0,v.aC)(),{totalTurnover:s,totalWinlostAmount:l}=(0,m.TBu)(),i=[{title:n("Label_General_TransId"),dataIndex:"transId",key:"transId"},{title:n("Label_General_BonusId"),dataIndex:"bonusId",key:"bonusId"},{title:n("Label_General_BonusCode"),dataIndex:"bonusCode",key:"bonusCode"},{title:n("Label_General_Turnover"),dataIndex:"turnOver",key:"turnOver",render:e=>{let{item:{turnOver:a}}=e;return(0,L.Y4)(a,t,2)}},{title:n("Label_General_ValidBet"),dataIndex:"validBet",key:"validBet",render:e=>{let{item:{validBet:a}}=e;return(0,L.Y4)(a,t,2)}},{title:n("Label_General_WinlostAmount"),dataIndex:"winlostAmount",key:"winlostAmount",render:e=>{let{item:{winlostAmount:a}}=e;return(0,L.Y4)(a,t,2)}},{title:"".concat(n("Label_General_SettledDate")," (").concat(E.PB[t],")"),dataIndex:"settledTime",key:"settledTime",render:e=>{let{item:{settledTime:a}}=e;return(0,L.Ss)(a).format("YYYY-MM-DD HH:mm:ss")}}];return(0,r.jsx)(K.Z,{dataSource:a,columns:i,mainClassName:"statement",isShowBodyDivElement:!1,footer:()=>(0,r.jsxs)("div",{className:"total",children:[n("Label_General_TurnOverTotal"),":",(0,r.jsx)("span",{children:s}),"\xa0\xa0 ",n("Label_General_WinlostAmountTotal"),":",(0,r.jsx)("span",{children:l})]})})},statementTable_DateRangeStatementTable=e=>{let{dataSource:a,targetTab:n,onDetails:t}=e,{t:s}=(0,p.$G)(),{userInfo:{currencyId:l}}=(0,v.aC)(),i=[{title:"".concat(s("Label_General_SettledDate")," (").concat(E.PB[l],")"),dataIndex:"settledDate",key:"settledDate",render:e=>{let{item:{settledDate:a}}=e;return(0,L.Ss)(a).format("YYYY-MM-DD")}},{title:s("Label_General_Turnover"),dataIndex:"turnOver",key:"turnOver",render:e=>{let{item:{turnOver:a}}=e;return(0,L.Y4)(a,l,2)}},{title:s("Label_General_ValidBet"),dataIndex:"validBet",key:"validBet",render:e=>{let{item:{validBet:a}}=e;return(0,L.Y4)(a,l,2)}},{title:s("Label_General_WinlostAmount"),dataIndex:"winlostAmount",key:"winlostAmount",render:e=>{let{item:{winlostAmount:a}}=e;return(0,L.Y4)(a,l,2)}},{title:s("Label_History_Action"),dataIndex:"settledDate",key:"action",render:e=>{let{item:{settledDate:a}}=e;return(0,r.jsx)("div",{className:"btnGroup",onClick:()=>t({selDate:a,targetTab:n}),children:(0,r.jsx)("a",{role:"link","aria-hidden":!0,className:"thrid",children:s("Label_General_Details")})})}}];return(0,r.jsx)(K.Z,{dataSource:a,columns:i,mainClassName:"statement",isShowBodyDivElement:!1})},table_useTable=e=>{let{dataSource:a,onReload:n,onSubmit:t,onCancel:s,onDetails:l}=e;return{TransferHistoryTable:()=>(0,r.jsx)(aI.Z,{dataSource:a,onReload:n}),DepositHistoryTable:()=>(0,r.jsx)(historyTable_DepositHistoryTable,{dataSource:a,onReload:n,onSubmit:t,onCancel:s}),WithdrawalHistoryTable:()=>(0,r.jsx)(historyTable_WithdrawalHistoryTable,{dataSource:a,onReload:n,onCancel:s}),FinancialHistoryTable:()=>(0,r.jsx)(historyTable_FinancialHistoryTable,{dataSource:a,onReload:n}),ReferralHistoryTable:()=>(0,r.jsx)(historyTable_ReferralHistoryTable,{dataSource:a}),DateRangeStatementTable:()=>(0,r.jsx)(statementTable_DateRangeStatementTable,{dataSource:a,targetTab:"byDay",onDetails:l}),ByDayStatementTable:()=>(0,r.jsx)(statementTable_ByDayStatementTable,{dataSource:a,targetTab:"byCategory",onDetails:l}),ByCategoryStatementTable:()=>(0,r.jsx)(statementTable_ByCategoryStatementTable,{dataSource:a,targetTab:"byDetail",onDetails:l}),ByDetailStatementTable:()=>(0,r.jsx)(statementTable_ByDetailStatementTable,{dataSource:a})}},history_HistoryTable=()=>{let{activeTab:e,displayColumns:a,onSubmit:n,onReloadSpin:t,onDepositCancel:s}=(0,m.k67)(),{t:l}=(0,p.$G)(),{TransferHistoryTable:i,DepositHistoryTable:o,WithdrawalHistoryTable:c,FinancialHistoryTable:d,ReferralHistoryTable:_}=table_useTable({dataSource:a,onSubmit:n,onCancel:s,onReload:t});if(0===a.length)return(0,r.jsx)("div",{className:"nodata icon icon-nodata",children:(0,r.jsx)("div",{children:l("Label_General_NoData")})});switch(e){case m.tAG.Transfer:return(0,r.jsx)(i,{});case m.tAG.Deposit:return(0,r.jsx)(o,{});case m.tAG.Withdrawal:return(0,r.jsx)(c,{});case m.tAG.Financial:return(0,r.jsx)(d,{});case m.tAG.Referral:return(0,r.jsx)(_,{});default:return null}},history_HistoryTabs=()=>{let{activeTab:e,onTabChange:a,HISTORY_TABS:n}=(0,m.k67)(),{t}=(0,p.$G)(),s=(0,f.useRouter)(),{queryTabId:l}=s.query||{},{userInfo:{currencyId:i}}=(0,v.aC)();return(0,x.useEffect)(()=>{l&&a(Number(l))},[l]),(0,r.jsx)("div",{className:"btnGroup historyTag",children:n.filter(e=>!e.allowCurrencies||e.allowCurrencies.includes(i)).map(n=>{let{id:s,displayKey:l}=n;return(0,r.jsx)("button",{onClick:()=>a(s),className:u()({active:e===s}),children:t(l)},s)})})},components_history=()=>{let{displayColumns:e,currentPage:a,totalPage:n,isLoading:t,onPageChange:s}=(0,m.k67)(),{t:l}=(0,p.$G)();return(0,r.jsx)("div",{className:"rightModule",children:(0,r.jsxs)("div",{className:"infoModule",children:[(0,r.jsx)("div",{className:"inside-title",children:(0,r.jsx)("span",{className:"icon icon-icon32px_History",children:l("Label_History")})}),(0,r.jsx)(history_HistoryTabs,{}),(0,r.jsxs)("div",{className:"historyModule active",children:[(0,r.jsx)(history_HistoryFilter,{}),t?(0,r.jsx)(o.gb,{}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(history_HistoryTable,{}),e.length>0&&(0,r.jsx)(ak.Z,{totalPage:n,currentPage:a,onPageChange:s})]})]})]})})},aP=n(12381),aB=n(83444);let aM=b()(()=>n.e(1752).then(n.bind(n,1752)),{loadableGenerated:{webpack:()=>[1752]}}),aG=b()(()=>n.e(8111).then(n.bind(n,18111)),{loadableGenerated:{webpack:()=>[18111]},ssr:!1}),aS=b()(()=>n.e(190).then(n.bind(n,30190)),{loadableGenerated:{webpack:()=>[30190]},ssr:!1}),aD=b()(()=>n.e(4267).then(n.bind(n,42292)),{loadableGenerated:{webpack:()=>[42292]},ssr:!1,loading:()=>(0,r.jsx)("div",{className:"home-marquee-reserve"})}),aR=b()(()=>n.e(1964).then(n.bind(n,71964)),{loadableGenerated:{webpack:()=>[71964]},ssr:!1,loading:()=>(0,r.jsx)("div",{className:"saba-widget-reserve"})}),aV=b()(()=>
1n.e(1877).then(n.bind(n,11877)),{loadableGenerated:{webpack:()=>[11877]}}),aA=b()(()=>n.e(6110).then(n.bind(n,86110)),{loadableGenerated:{webpack:()=>[86110]},ssr:!1,loading:()=>(0,r.jsx)("div",{className:"home-information-reserve"})});var home=()=>{let{userInfo:{currencyId:e}}=(0,v.aC)(),{ALLOWED_CURRENCIES:a}=(0,v.V4)(),{siteConfig:n}=(0,v.U5)(),{originCurrencyId:t}=(0,m._uG)(),s=(0,$.Z)(a.SPORTS_SABA_WIDGET_CLUB,e),l=(0,eo.Z)(n,"enableAnnouncement",!0),i=(0,eo.Z)(n,"enableRecentlyView",!0),o=(0,eo.Z)(n,"enableSabaWidget",!0),c=(0,eo.Z)(n,"enablePromotion",!0),d=(0,eo.Z)(n,"enableInformation",!0);return(0,r.jsxs)("main",{className:"index",children:[(0,r.jsx)(aB.z9,{i18nKey:"Label_12Bet_Seo_H1_Home_".concat(t)}),l&&(0,r.jsx)(aD,{}),(0,r.jsxs)("div",{className:"home-banner",children:[(0,r.jsx)(aM,{}),!s&&(0,r.jsx)(aG,{})]}),i&&(0,r.jsx)(aS,{}),o&&s&&(0,r.jsx)(aR,{}),c&&(0,r.jsx)(aP.XU,{children:(0,r.jsx)(aV,{})}),d&&(0,r.jsx)(aA,{})]})},aE=n(35196),aW=n(97729),aF=n.n(aW);let aO=b()(()=>n.e(7992).then(n.bind(n,27992)),{loadableGenerated:{webpack:()=>[27992]},ssr:!1}),aH=b()(()=>n.e(6449).then(n.bind(n,76449)),{loadableGenerated:{webpack:()=>[76449]},ssr:!1}),aU=b()(()=>n.e(8054).then(n.bind(n,79197)),{loadableGenerated:{webpack:()=>[79197]},ssr:!1}),aZ=b()(()=>n.e(2679).then(n.bind(n,2679)),{loadableGenerated:{webpack:()=>[2679]},ssr:!1}),aq=b()(()=>n.e(3261).then(n.bind(n,3261)),{loadableGenerated:{webpack:()=>[3261]},ssr:!1}),aY=b()(()=>n.e(1306).then(n.bind(n,1306)),{loadableGenerated:{webpack:()=>[1306]},ssr:!1}),aJ=b()(()=>n.e(2598).then(n.bind(n,82598)),{loadableGenerated:{webpack:()=>[82598]},ssr:!1}),a$=b()(()=>Promise.resolve().then(n.bind(n,61427)),{loadableGenerated:{webpack:()=>[61427]},ssr:!1}),aK=b()(()=>n.e(4546).then(n.bind(n,44546)),{loadableGenerated:{webpack:()=>[44546]},ssr:!1}),az=b()(()=>n.e(6532).then(n.bind(n,56532)),{loadableGenerated:{webpack:()=>[56532]},ssr:!1}),aQ=b()(()=>n.e(8486).then(n.bind(n,18486)),{loadableGenerated:{webpack:()=>[18486]},ssr:!1}),aX=b()(()=>n.e(1173).then(n.bind(n,9393)),{loadableGenerated:{webpack:()=>[9393]},ssr:!1}),a0=b()(()=>n.e(6898).then(n.bind(n,86898)),{loadableGenerated:{webpack:()=>[86898]},ssr:!1}),a1=b()(()=>n.e(5392).then(n.bind(n,15392)),{loadableGenerated:{webpack:()=>[15392]},ssr:!1}),a2="MainBannerPopup_",getMainBannerPopupCookieName=e=>"".concat(a2).concat(e),isMainBannerPopupSeen=e=>Object.entries(e).some(e=>{let[a,n]=e;return a.startsWith(a2)&&n===G.n4.On});var home_HomePopup=e=>{var a;let{persistPopupBannerData:t,isPopupBannerSeen:s}=e,{modal:l}=(0,c.JT)(),{auth:{isLogin:i},userInfo:{currencyId:o,langId:_,userName:u}}=(0,v.aC)(),{regTime:h,isSentTrustpilot:b,custId:j,accountName:g,isLoading:N}=(0,m.xTZ)(),{t:C}=(0,p.$G)(),{ALLOWED_CURRENCIES:y}=(0,v.V4)(),{custAvailableCampaignsData:{isRunning:k}}=(0,v.U5)(),[w]=(0,X.RlC)(),[T]=(0,X.Ex)(),[P]=(0,X.BOl)(),[B]=(0,X.VkQ)(),[M]=(0,X.Yd)(),[S]=(0,X.Wh)(),[D]=(0,X.PjQ)(),[R]=(0,X.lnl)(),V=(0,f.useRouter)(),A=(0,d.ww)(),W=(0,d.bR)(),{asPath:F}=V,O=(0,L.Ph)(V.query,"redirectTo"),U="leaderboard_invited_".concat(j),isInvitationPending=()=>!!i&&!!j&&(0,aE.hasCookie)(U),Z=t&&t.currencyId===o&&t.langId===_?t.bannerList:void 0,indo12betReLoginPopup=async()=>{let e=(0,L.Ph)(V.query,"IsFrom12BetSite");"true"===H.X.NEXT_PUBLIC_IS_INDO12BET&&"true"===e?l.info(C("Label_LogInAgain_WelcomeIndo12Bet"),{onOK:()=>openNextPopup()}):openNextPopup()},promotionPopup=async()=>{let e="popupPromotions".concat(u);if(!i||!g||(0,aE.getCookie)(e)===G.n4.On){openNextPopup();return}let{data:{bonusCode:a=null}={}}=await w({langId:_}).unwrap();a?((0,L.d8)(e,G.n4.On,{maxAge:72e3}),l.open((0,r.jsx)(aU,{bonusCode:a,closeCallback:openNextPopup}))):openNextPopup()},depositPopup=async()=>{let e="balanceHint".concat(u);if(!i||!g||(0,aE.getCookie)(e)===G.n4.On){openNextPopup();return}let{data:{balance:a=0,tpWallets:n=[]}={}}=await T(null).unwrap(),t=!!a||(null==n?void 0:n.filter(e=>e.balance>0).length)>=1;A&&!t?(l.open((0,r.jsx)(aQ,{closeCallback:openNextPopup})),(0,L.d8)(e,G.n4.On,{maxAge:72e3})):t?openNextPopup():(l.open((0,r.jsx)(aH,{closeCallback:openNextPopup})),(0,L.d8)(e,G.n4.On,{maxAge:72e3}))},bigWinProfitPopup=async()=>{let e="BigWinProfit".concat(u);if(i&&(0,aE.getCookie)(e)!==G.n4.On&&o===G.CurrenciesEnum.IDR)try{let{data:a}=await P({deviceType:G.VB.Desktop}).unwrap();null!==a.userName?((0,L.d8)(e,G.n4.On,{maxAge:72e3}
1),l.open((0,r.jsx)(aZ,{bigWinData:a,closeCallback:openNextPopup}))):openNextPopup()}catch(e){l.error(e.message)}else openNextPopup()},getJoinSuccessPopupByABTest=()=>{let e=(0,$.Z)(y.LUCKY_WHEEL,Number(o));if(!e)return(0,r.jsx)(aO,{});let a=j%2==1;return a?(0,r.jsx)(aO,{}):(0,r.jsx)(aq,{})},trustpilotPopup=async()=>{let e=I()(h),a=I()().subtract(1,"year");if(b||e.isAfter(a))return openNextPopup();try{l.open((0,r.jsx)(aY,{closeCallback:openNextPopup})),await B(null).unwrap(),await M({isSentTrustpilot:!0}).unwrap()}catch(e){l.error(e.message)}},bannerPopup=async()=>{let e=getMainBannerPopupCookieName(u);if((0,aE.getCookie)(e)===G.n4.On){openNextPopup();return}try{let a=null!=Z?Z:(await S({bannerType:G.QQ.Main,behavior:G.h7.Popup,currencyId:o,langId:_}).unwrap()).data;a.length>0?((0,L.d8)(e,G.n4.On,{maxAge:72e3}),l.open((0,r.jsx)(aJ,{bannerList:a,closeCallback:openNextPopup}))):openNextPopup()}catch(e){l.error(e.message)}},askUserChangePasswordPopup=async()=>{let e="AskUserChangePasswordPopup_".concat(u),a="AskUserChangePasswordPopup_shouldShowPopup_".concat(u),showPopup=()=>{l.open((0,r.jsx)(aX,{closeCallback:openNextPopup,setCheckPasswordReminder:()=>{R(),(0,L.d8)(a,G.n4.Off,{maxAge:86400})}}))};if((0,aE.getCookie)(a)===G.n4.On){showPopup();return}if(i&&(0,aE.getCookie)(e)!==G.n4.On)try{(0,L.d8)(e,G.n4.On,{maxAge:86400});let{data:n}=await D().unwrap();n?((0,L.d8)(a,G.n4.On,{maxAge:86400}),showPopup()):openNextPopup()}catch(e){l.error(e.message)}else openNextPopup()},openLeaderboardInvitationPopup=()=>{l.open((0,r.jsx)(a1,{onCheckNow:()=>(0,L.kT)(U)}))},q=[indo12betReLoginPopup,depositPopup,askUserChangePasswordPopup,promotionPopup,bigWinProfitPopup,bannerPopup,()=>{let e="hasSeenRegisterPopup_".concat(j),a=sessionStorage.getItem(e)===G.n4.On,n=!!h&&1>I()().diff(I()(h),"minute");i&&n&&!a?(sessionStorage.setItem(e,G.n4.On),o===G.CurrenciesEnum.IDR?l.open(getJoinSuccessPopupByABTest()):l.open((0,r.jsx)(aQ,{closeCallback:openNextPopup}))):openNextPopup()},trustpilotPopup,()=>{let e="cookieUsageNoticePopup";if((0,aE.getCookie)(e)===G.n4.On){openNextPopup();return}l.info(C("Label_Message_Cookie_Usage"),{onOK:()=>{(0,L.d8)(e,G.n4.On,{maxAge:3456e4}),openNextPopup()},okText:C("Label_Message_Cookie_Usage_ok")})},()=>{let e="ThirtyDaysMissionStart_".concat(u);if(!i||!k||(0,aE.getCookie)(e)===G.n4.On){openNextPopup();return}l.open((0,r.jsx)(a0,{closeCallback:()=>{(0,L.d8)(e,G.n4.On,{maxAge:72e3}),openNextPopup()}}))},()=>{let e=(0,L.Ph)(V.query,"tgError"),a=Array.isArray(e)?e[0]:null!=e?e:"";a?l.error(C("Label_TG_Error_Msg_".concat(a)),{onOK:()=>{let e={...V.query};delete e.tgError,V.replace({pathname:V.pathname,query:e},void 0,{shallow:!0}),openNextPopup()}}):openNextPopup()}],Y=(0,m.st8)({popStack:q,isLogin:i}),openNextPopup=()=>{isInvitationPending()||Y.openNextPopup()},prefetchPopupModalChunks=()=>{(0,aE.getCookie)(getMainBannerPopupCookieName(u))!==G.n4.On&&n.e(2598).then(n.bind(n,82598)).catch(()=>void 0)};(0,x.useEffect)(()=>{N||i&&("guest"===u||F.startsWith(E.Hb.login.root))||(F.startsWith(E.Hb.login.root)?l.open((0,r.jsx)(a$,{redirectTo:O})):W||(isInvitationPending()?openLeaderboardInvitationPopup():Y.startPopupSequence(prefetchPopupModalChunks)))},[i,N,j,g,u,F,o,_,h,A,W]),(0,m.fB8)((e,a)=>{e===X.aPZ.Email?l.open((0,r.jsx)(az,{authToken:a})):e===X.aPZ.TOTP&&l.open((0,r.jsx)(aK,{authToken:a}))});let J=!s&&(null==Z?void 0:null===(a=Z[0])||void 0===a?void 0:a.bannerPCUrl)?(0,L.k$)(Z[0].bannerPCUrl):"";return J?(0,r.jsx)(aF(),{children:(0,r.jsx)("link",{rel:"preload",as:"image",href:J,fetchpriority:"low"})}):null};n(18283);var keno_KenoBanner=()=>{let{bannerList:e,isLoading:a}=(0,m.EuQ)();return(0,r.jsxs)("div",{className:"lobby-banner",children:[a&&(0,r.jsx)(o.gb,{}),(0,r.jsx)(o.$2,{bannerList:e,className:"banner"})]})};let a4=b()(()=>Promise.resolve().then(n.bind(n,61427)),{loadableGenerated:{webpack:()=>[61427]},ssr:!1}),a8=b()(()=>n.e(9345).then(n.bind(n,89345)),{loadableGenerated:{webpack:()=>[89345]},ssr:!1});var keno_KenoList=()=>{var e;let{modal:a}=(0,c.JT)(),{menuList:n=[],onMenuOpen:t}=(0,m.H9d)(),s=null===(e=(0,S.Z)(n,{category:G.ZL.Keno}))||void 0===e?void 0:e.subMenu,onItemClick=e=>{t(e,{loginCallback:()=>a.open((0,r.jsx)(a4,{})),messageCallBack:e=>a.error(e),liveStreamingCallback:()=>a.open((0,r.jsx)(a8,{}))})};return(0,r.jsx)("div",{className:"lobby-content",children:null==s?void 0:s.map(e=>(0,r.jsx)(o.WS,{subMenuItem:e,onItemClick:onItemClick},null==e?void 0:e.tpGameIdNo))})},keno=()=>(0,r.jsxs)("main",{className:"lobby",children:[(0,r.jsx)(keno_KenoBanner,{}),(0,r.jsx)(keno_KenoList,{})]}
1),a5=n(38868);n(59207);var live_casino_LiveCasinoBanner=()=>{let{bannerList:e,isLoading:a}=(0,m.EuQ)();return(0,r.jsxs)("div",{className:"lobby-banner",children:[a&&(0,r.jsx)(o.gb,{}),(0,r.jsx)(o.$2,{bannerList:e,className:"banner"})]})};let a3=b()(()=>Promise.resolve().then(n.bind(n,61427)),{loadableGenerated:{webpack:()=>[61427]},ssr:!1}),a6=b()(()=>n.e(9345).then(n.bind(n,89345)),{loadableGenerated:{webpack:()=>[89345]},ssr:!1});var live_casino_LiveCasinoList=()=>{var e;let{modal:a}=(0,c.JT)(),{menuList:n=[],onMenuOpen:t}=(0,m.H9d)(),s=null===(e=(0,S.Z)(n,{category:G.ZL.Casino}))||void 0===e?void 0:e.subMenu,onItemClick=e=>{t(e,{loginCallback:()=>a.open((0,r.jsx)(a3,{})),messageCallBack:e=>a.error(e),liveStreamingCallback:()=>a.open((0,r.jsx)(a6,{}))})};return(0,r.jsx)("div",{className:"lobby-content",children:null==s?void 0:s.map(e=>(0,r.jsx)(o.WS,{subMenuItem:e,onItemClick:onItemClick},null==e?void 0:e.tpGameIdNo))})},live_casino=()=>(0,r.jsxs)("main",{className:"lobby",children:[(0,r.jsx)(live_casino_LiveCasinoBanner,{}),(0,r.jsx)(live_casino_LiveCasinoList,{})]}),lottery_LotteryBanner=()=>{let{bannerList:e,isLoading:a}=(0,m.EuQ)();return(0,r.jsxs)("div",{className:"lobby-banner",children:[a&&(0,r.jsx)(o.gb,{}),(0,r.jsx)(o.$2,{bannerList:e,className:"banner"})]})};let a9=b()(()=>Promise.resolve().then(n.bind(n,61427)),{loadableGenerated:{webpack:()=>[61427]},ssr:!1}),a7=b()(()=>n.e(9345).then(n.bind(n,89345)),{loadableGenerated:{webpack:()=>[89345]},ssr:!1});var lottery_LotteryList=()=>{var e;let{modal:a}=(0,c.JT)(),{menuList:n=[],onMenuOpen:t}=(0,m.H9d)(),s=null===(e=(0,S.Z)(n,{category:G.ZL.Lottery}))||void 0===e?void 0:e.subMenu,onItemClick=e=>{t(e,{loginCallback:()=>a.open((0,r.jsx)(a9,{})),messageCallBack:e=>a.error(e),liveStreamingCallback:()=>a.open((0,r.jsx)(a7,{}))})};return(0,r.jsx)("div",{className:"lobby-content",children:null==s?void 0:s.map(e=>(0,r.jsx)(o.WS,{subMenuItem:e,onItemClick:onItemClick},null==e?void 0:e.tpGameIdNo))})},lottery=()=>(0,r.jsxs)("main",{className:"lobby",children:[(0,r.jsx)(lottery_LotteryBanner,{}),(0,r.jsx)(lottery_LotteryList,{})]}),ne=n(72028),na=n.n(ne),wheel_Wheel=e=>{let{spinning:a,className:n="",prizes:t,prizeIndex:s=null,framePointerImage:l,bgImage:i,buttonImage:o,width:c=400,height:d=400,duration:m=3e3,playSpinBtnAnimation:_=!0,onSpinStart:p,onSpinEnd:h}=e,b=x.useRef(null),[v,j]=(0,x.useState)({width:0,height:0});(0,x.useEffect)(()=>{if(b.current){let{width:e,height:a}=b.current.getBoundingClientRect();j({width:e,height:a})}},[c,d]);let[g,N]=(0,x.useState)(0),f=360/t.length,C=.3*Math.min(v.width,v.height);return(0,x.useEffect)(()=>{if(a&&s){let e=1800-s*f;N(e);let a=setTimeout(()=>{h(s)},m);return()=>clearTimeout(a)}},[a,s,f,m,h]),(0,r.jsxs)("div",{ref:b,className:"".concat(na().wheelContainer," ").concat(n),style:{width:c,height:d},children:[(0,r.jsx)("img",{src:l,alt:"img-wheelCover",className:na().framePointer,style:{width:v.width,height:v.height}}),(0,r.jsx)("button",{onClick:p,className:na().spinButton,style:{left:(v.width-C)/2,top:(v.height-C)/2,width:C,height:C},children:(0,r.jsx)("img",{src:o,alt:"img-wheelBtn",className:u()(na().spinButtonImage,{[na().btnAnimation]:_})})}),(0,r.jsxs)("div",{className:na().wheelBody,style:{width:v.width,height:v.height,transition:a?"transform ".concat(m,"ms cubic-bezier(0.33,1,0.68,1)"):void 0,transform:"rotate(".concat(g,"deg)")},children:[(0,r.jsx)("img",{src:i,alt:"wheel-img",className:na().wheelBackgroun
1d}),(0,r.jsx)("ul",{className:na().prizeList,children:t.map((e,a)=>{let n=t.length,s=-90+360/n*a,l=v.width/2-v.width/4.5,i=l*Math.cos(s*Math.PI/180),o=l*Math.sin(s*Math.PI/180);return(0,r.jsx)("li",{className:na().prizeItem,style:{top:"calc(50% + ".concat(o,"px)"),left:"calc(50% + ".concat(i,"px)"),transform:"translate(-50%, -50%) rotate(".concat(s,"deg)"),color:e.color,width:v.width/4},children:e.name},s)})})]})]})},nn=n(61427),nt=n(4565),ns=n.n(nt);let nl={loop:!0,align:"center"};var luckyWheel_LuckyWheelCarousel=e=>{let{rewardList:a}=e,[n,t]=(0,x.useState)(!1),s=(0,x.useMemo)(()=>[(0,ee.Z)({delay:3e3,stopOnInteraction:!1})],[]),{emblaRef:l,selectedIndex:i,scrollPrev:o,scrollNext:c,scrollTo:d}=(0,m.xPb)(nl,s);return(0,r.jsxs)("div",{className:ns().rewardCarousel,onMouseOver:()=>t(!0),onMouseOut:()=>t(!1),onFocus:()=>0,onBlur:()=>0,children:[(0,r.jsx)("div",{className:"embla",ref:l,children:(0,r.jsx)("div",{className:"embla__container",children:a.map((e,a)=>{let{name:n,imageUrl:t}=e;return(0,r.jsx)("div",{className:u()("embla__slide",{[ns().active]:a===i}),children:(0,r.jsxs)("div",{className:ns().rewardImgWrapper,children:[(0,r.jsx)("img",{src:t,alt:n}),(0,r.jsx)("div",{className:ns().rewardName,children:n})]})},n)})})}),(0,r.jsx)("button",{type:"button",style:{opacity:n?1:.2},className:u()(ns().navBtn,ns().prevBtn),onClick:o,"aria-label":"previous"}),(0,r.jsx)("button",{type:"button",style:{opacity:n?1:.2},className:u()(ns().navBtn,ns().nextBtn),onClick:c,"aria-label":"next"}),(0,r.jsx)("div",{className:"embla__dots",children:a.map((e,a)=>{let{name:n}=e;return(0,r.jsx)("button",{type:"button",className:u()("embla__dot",{"embla__dot--selected":a===i}),onClick:()=>d(a)},n)})})]})},luckyWheel=()=>{let{push:e}=(0,f.useRouter)(),{t:a}=(0,p.$G)(),{getBannerUrl:n,getPHPBannerUrl:t}=(0,v.U5)(),{modal:s,closeModal:l}=(0,c.JT)(),{custDrawPrizeList:i,displayDrawPrizeList:d,loading:_,getDrawPrize:h}=(0,m.Yu3)(),{userInfo:{currencyId:b,langId:j,actStatus:g}}=(0,v.aC)(),[C,y]=(0,x.useState)(!1),[k,w]=(0,x.useState)(null),P=N.fL[b],B=Number(g)===X.kyP.NonDeposit,M=(0,x.useMemo)(()=>b&&d?d.map((e,n)=>{let{prizeId:t}=e,s=n+1,l=s>3,i=l?N.BM[s][b]:null,r=N.M[b];return{name:l?a("Label_LuckyWheel_Prize_FreeBet",{prize:i}):3===s?a("Label_LuckyWheel_Prize_3",{brand:r[N.Cj.Brand],gram:r[N.Cj.Gram]}):a("Label_LuckyWheel_Prize_".concat(s)),color:[0,3,6].includes(n)?"black":"white",prizeID:t}}):[],[d,b]),getCustDrawPrize=e=>{let n=a("Label_LuckyWheel_Prize_FreeBet",{prize:(0,L.Et)(e)});return n},rewardedCallback=()=>{s.open((0,r.jsx)("div",{className:"".concat(ns().oneTwoWheelPop," pop"),children:(0,r.jsx)("div",{className:"active",children:(0,r.jsxs)("div",{className:ns().wheelContent,children:[(0,r.jsx)("div",{className:ns().title,children:(0,r.jsx)("img",{src:n("/desktop/img/event/lucky-wheel-promo/popup-icon-winning-desktop.png "),alt:"icon"})}),(0,r.jsxs)("div",{className:ns().text,children:[(0,r.jsx)("div",{className:ns().title,children:a("Label_LuckyWheel_Rewarded_Modal_Message_1")}),(0,r.jsx)("div",{className:ns().message,children:a("Label_LuckyWheel_Rewarded_Modal_Message_2")})]}),(0,r.jsx)("div",{className:"btnGroup",children:(0,r.jsx)("button",{className:"btn-check primary",onClick:l,children:a("Label_LuckyWheel_Rewarded_Modal_Message_3")})})]})})}))},infoCallback=()=>{s.open((0,r.jsx)("div",{className:"".concat(ns().oneTwoWheelPop," pop"),children:(0,r.jsx)("div",{className:"active",children:(0,r.jsxs)("div",{className:ns().wheelContent,children:[(0,r.jsx)("div",{className:ns().title,children:(0,r.jsx)("img",{src:n("/desktop/img/event/lucky-wheel-promo/popup-icon-no-deposit-desktop.png"),alt:"icon"})}),(0,r.jsxs)("div",{className:ns().text,children:[(0,r.jsx)("div",{className:ns().title,children:a("Label_LuckyWheel_Info_Modal_Message_1")}),(0,r.jsx)("div",{className:ns().message,children:a("Label_LuckyWheel_Info_Modal_Message_2",{deposit:P})})]}),(0,r.jsx)("div",{className:"btnGroup",children:(0,r.jsx)("button",{className:"btn-check primary",onClick:()=>{l(),e(E.Hb.deposit.root)},children:a("Label_EuropeCup_Deposit_Now").toUpperCase()})})]})})}))},errorCallback=e=>{let t=e.split("(")[0],i=e.split("(")[1],o=i.split(")")[0],c=i.split(")")[1];s.open((0,r.jsx)("div",{className:"".concat(ns().oneTwoWheelPop," pop"),children:(0,r.jsx)("div",{className:"active",children:(0,r.jsxs)("div",{className:ns().wheelContent,children:[(0,r.jsx)("div",{className:ns().title,children:(0,r.jsx)("img",{src:n("/desktop/img/event/lucky-wheel-promo/popup-icon-remind-desktop.png"),alt:"icon"})}),(0,r.jsxs)("div",{className:ns().text,children:[(0,r.jsx)("div",{className:ns().message,children:t}),(0,r.jsx)("div",{className:ns().traceId,children:o}),(0,r.jsx)("div",{className:ns().traceId,children:c})]}),(0,r.jsx)("div",{className:"btnGroup",children:(0,r.jsx)("button",{className:"btn-check primary",onClick:l,children:a("Label_General_Close")})})]})})}))}
1,findPrizeIndex=e=>M.findIndex(a=>{let{prizeID:n}=a;return n===e}),handleSpin=async()=>{let e=await h({loginCallback:()=>s.open((0,r.jsx)(nn.default,{})),infoCallback,rewardedCallback,errorCallback});e&&(y(!0),w(findPrizeIndex(e)),(0,ea.o)({eventName:"LuckyWheel",eventSource:"lucky-wheel-spin-button",isFTD:String(B)}))};return _?(0,r.jsx)(o.gb,{}):(0,r.jsx)("main",{className:ns().wheelEvent,children:(0,r.jsxs)("div",{className:ns().eventPage,children:[(0,r.jsxs)("div",{className:ns().wheelContainer,children:[(0,r.jsx)("img",{className:ns().bg1,src:n("/desktop/img/event/lucky-wheel-promo/banner1-bg-desktop.jpg"),alt:"bg"}),(0,r.jsxs)("div",{className:ns().eventTitleBg,children:[(0,r.jsx)("img",{src:n("/desktop/img/event/lucky-wheel-promo/banner1-title-desktop.png"),alt:"eventTitleBg"}),(0,r.jsx)("div",{className:ns().eventTitle,children:a("Label_LuckyWheel_12Title")})]}),(0,r.jsx)(wheel_Wheel,{prizes:M,prizeIndex:k,spinning:C,className:ns().wheelModule,onSpinEnd:t=>{y(!1),s.open((0,r.jsx)("div",{className:"".concat(ns().oneTwoWheelPop," pop"),children:(0,r.jsx)("div",{className:"active",children:(0,r.jsxs)("div",{className:ns().wheelContent,children:[(0,r.jsx)("div",{className:ns().title,children:(0,r.jsx)("img",{src:n("/desktop/img/event/lucky-wheel-promo/popup-icon-winning-desktop.png "),alt:"event-banner"})}),(0,r.jsxs)("div",{className:ns().text,children:[(0,r.jsx)("div",{className:ns().title,children:a("Label_LuckyWheel_Reward_Modal_Message_1")}),(0,r.jsx)("div",{className:ns().prizeItem,children:(0,r.jsx)(p.cC,{i18nKey:"Label_LuckyWheel_Reward_Modal_Message_2",values:{prize:M[t].name},components:{span:(0,r.jsx)("span",{style:{color:"#D70000"}})}})}),B?(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:(0,r.jsx)(p.cC,{i18nKey:"Label_LuckyWheel_FTD_Reward_Modal_Message_1",values:{deposit:P},components:{span:(0,r.jsx)("span",{style:{color:"#D70000"}})}})}),(0,r.jsx)("li",{children:a("Label_LuckyWheel_FTD_Reward_Modal_Message_2")}),(0,r.jsx)("li",{children:a("Label_LuckyWheel_FTD_Reward_Modal_Message_3",{deposit:P,prize:M[t].name})})]}):(0,r.jsx)("div",{className:ns().message,children:a("Label_LuckyWheel_Reward_Modal_Message_3")})]}),(0,r.jsx)("div",{className:"btnGroup",children:(0,r.jsx)("button",{className:"btn-check primary",onClick:()=>{l(),B?e(E.Hb.deposit.root):e(E.Hb.home.root)},children:B?"".concat(a("Label_EuropeCup_Deposit_Now").toUpperCase()," !"):a("Label_LuckyWheel_Reward_Modal_Message_5")})})]})})}))},onSpinStart:handleSpin,framePointerImage:n("/desktop/img/event/lucky-wheel-promo/banner1-img-box-desktop.png"),bgImage:n("/desktop/img/event/lucky-wheel-promo/banner1-img-turntable-desktop.png"),buttonImage:n("/desktop/img/event/lucky-wheel-promo/banner1-btn-".concat(j,"-desktop.png")),width:440,height:440,duration:3e3})]}),(0,r.jsxs)("div",{className:ns().wheelInfoContainer,style:{background:"url(".concat(n("/desktop/img/event/lucky-wheel-promo/banner2-bg-desktop.jpg"),") no-repeat top center"),backgroundSize:"cover"},children:[(0,r.jsx)("img",{className:ns().banner,src:n("/desktop/img/event/lucky-wheel-promo/banner2-img-desktop.jpg"),alt:"banner"}),(0,r.jsx)("div",{className:ns().prizeTitle,children:a("Label_LuckyWheel_Prize_Title")}),(0,r.jsx)(luckyWheel_LuckyWheelCarousel,{rewardList:M.map((e,a)=>{let{name:t}=e;return{name:t,imageUrl:n("/desktop/img/event/lucky-wheel-promo/prizes-img-desktop-".concat(a+1,".png"))}})}),(0,r.jsxs)("div",{className:ns().termsContainer,children:[(0,r.jsx)("p",{className:ns().termsTitle,children:a("Label_LeaderBoard_Terms&Conditions").toUpperCase()}),(0,r.jsx)("div",{className:ns().termsContent,children:Array.from({length:13}).map((e,s)=>{let l;let i=s+1,o=3===i||12===i,c=13===i;return l=o?a("Label_LuckyWheel_T&C_".concat(i),{deposit:P}):c?(0,r.jsx)(p.cC,{i18nKey:"Label_LuckyWheel_T&C_13",components:{a:(0,r.jsx)("a",{style:{color:"#e9c894"},href:(0,L.bX)()?t("/Static/".concat(j,"/Promotion.html")):n("/Static/".concat(j,"/Promotion.html")),target:"_blank",rel:"noreferrer noopener"})}}):a("Label_LuckyWheel_T&C_".concat(i)),(0,r.jsx)("p",{children:l},i)})})]}),(0,r.jsxs)("div",{className:ns().rewardTableSection,children:[(0,r.jsx)("p",{className:ns().rewardTableTitle,children:a("Label_LuckyWheel_12MyLuckWheelRewards")}),(0,r.jsx)("div",{className:ns().rewardTableWrapper,children:i.length>0?(0,r.jsx)("div",{className:u()(ns().rewardTableScroll,{[ns().scrollable]:i.length>10}),children:(0,r.jsxs)("table",{className:ns().rewardTable,children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:a("Label_History_Date")}),(0,r.jsx)("th",{children:a("Label_General_Rewards")})]})}),(0,r.jsx)("tbody",{children:i.map(e=>{let{drawTime:n,status:t,amount:s}=e;return(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:I()(n).utcOffset(E.PB[b]).format("YYYY-MM-DD HH:mm:ss")}),(0,r.jsx)("td",{children:(0,r.jsxs)("div",{className:ns().prizeName,children:[(0,r.jsx)("div",{children:getCustDrawPrize(s)}),t===N.FR.Pending&&(0,r.jsx)("div",{className:ns().penddingTag,children:a("Label_General_Deposit_Pending")}),t===N.FR.Forfeit&&(0,r.jsx)("div",{className:ns().forfeitTag,children:a("Label_General_Forfeit")})]})})]},(0,T.Z)())})})]})}):(0,r.jsx)("div",{className:"nodata icon icon-nodata",children:(0,r.jsx)("div",{children:a("Label_General_NoData")})})})]})]})]})})};n(51180);var numberGame_NumberGameBanner=()=>{let{bannerList:e,isLoading:a}=(0,m.EuQ)();return(0,r.jsxs)("div",{className:"lobby-banner",children:[a&&(0,r.jsx)(o.gb,{}),(0,r.jsx)(o.$2,{bannerList:e,className:"banner"})]})};let ni=b()(()=>Promise.resolve().then(n.bind(n,61427)),{loadableGenerated:{webpack:()=>[61427]},ssr:!1}),nr=b()(()=>n.e(9345).then(n.bind(n,89345)),{loadableGenerated:{webpack:()=>[89345]},ssr:!1});var numberGame_NumberGameList=()=>{var e;let{modal:a}=(0,c.JT)(),{menuList:n=[],onMenuOpen:t}=(0,m.H9d)(),s=null===(e=(0,S.Z)(n,{category:G.ZL.NumberGame}))||void 0===e?void 0:e.subMenu,onItemClick=e=>{t(e,{loginCallback:()=>a.open((0,r.jsx)(ni,{})),messageCallBack:e=>a.error(e),liveStreamingCallback:()=>a.open((0,r.jsx)(nr,{}))})};return(0,r.jsx)("div",{className:"lobby-content",children:null==s?void 0:s.map(e=>(0,r.jsx)(o.WS,{subMenuItem:e,onItemClick:onItemClick},null==e?void 0:e.tpGameIdNo))})},numberGame=()=>(0,r.jsxs)("main",{className:"lobby",children:[(0,r.jsx)(numberGame_NumberGameBanner,{}),(0,r.jsx)(numberGame_NumberGameList,{})]}),no=n(84402),nc=n(63955),nd=n(31414);let Address=()=>{var e,a,n,t,s;let{t:l}=(0,p.$G)(),{push:i}=(0,f.useRouter)(),{modal:d}=(0,c.JT)(),{ALLOWED_CURRENCIES:_}=(0,v.V4)(),{userInfo:{currencyId:u}}=(0,v.aC)(),{addressCity:h,addressState:b,addressCountry:x,addressPostCode:j,addressLineFirst:g,addressLineSecond:N}=(0,m.xTZ)(),{errors:C,touchedFields:y,register:k,trigger:L,handleSubmit:w,handleSubmitForm:I}=(0,m.SFn)(),showConfirmModal=()=>{d.confirm((0,r.jsxs)("div",{children:[l("Label_General_Awesome"),"!",(0,r.jsx)("br",{}),l("Label_Profile_VertifyContactConfirm")]}),{icon:"icon icon-icon32px_notification",title:l("Label_General_UpdateSuccessful"),okText:l("Label_Profile_VertifyNow"),cancelText:l("Label_Profile_Later"),onOK:()=>d.open((0,r.jsx)(nd.default,{}))})},showErrorModal=e=>d.error(e),showPrevPageConfirmModal=(e,a,n)=>{d.confirm(l(a),{icon:"icon icon-icon32px_notification",title:l("Label_General_ImportantNotes"),okText:l(n),cancelText:l("Label_Profile_Later"),onOK:()=>i(e)})},showProfileModifyWarningModal=e=>{d.confirm(l("Label_Profile_ProfileModifyWarning"),{icon:"icon icon-icon32px_notification",title:l("Label_General_ImportantNotes"),okText:l("Label_General_Confirm"),cancelText:l("Label_Profile_ReModify"),onOK:e})};return(0,$.Z)(_.ADDRESS,u)?(0,r.jsx)("div",{className:"addressModule",children:(0,r.jsxs)("div",{className:"address-container",children:[(0,r.jsxs)("div",{className:"inside-title",children:[(0,r.jsxs)("span",{children:[l("Label_Profile_ShippingAddress"),"(",l("Label_Profile_Option2"),")"]}),(0,r.jsx)("div",{children:l("Label_Profile_ShippingHint")})]}),(0,r.jsx)("div",{className:"sub-title",children:l("Label_Profile_Address")}),(0,r.jsx)(o.l0,{onSubmit:w(()=>I(showConfirmModal,showErrorModal,showPrevPageConfirmModal,showProfileModifyWarningModal)),children:(0,r.jsx)("div",{className:"address-list",children:x?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{children:g}),N&&(0,r.jsx)("div",{children:N}),(0,r.jsxs)("div",{children:[h,", ",j]}),(0,r.jsxs)("div",{children:[b,", ",x]})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{children:l("Label_Profile_Line1")}),(0,r.jsx)("div",{children:(0,r.jsx)(o.Wz,{register:k("formLineFirst",{required:{value:!0,message:l("Label_Profile_ContentNotEmpty")},onBlur:()=>L("formLineFirst")}),errorMessage:null===(e=C.formLineFirst)||void 0===e?void 0:e.message,error:!!C.formLineFirst,touched:!!y.formLineFirst,infoMessage:l("Label_Profile_EnterAddress")||""})})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{children:l("Label_Profile_Line2")}),(0,r.jsx)("div",{children:(0,r.jsx)(o.Wz,{register:k("formLineSecond",{onBlur:()=>L("formLineSecond")}),error:!!C.formLineSecond,touched:!!y.formLineSecond,infoMessage:l("Label_Profile_EnterAddress")||""})})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{children:l("Label_Profile_City")}),(0,r.jsx)("div",{children:(0,r.jsx)(o.Wz,{register:k("formCity",{required:{value:!0,message:l("Label_Profile_ContentNotEmpty")},onBlur:()=>L("formCity")}),errorMessage:null===(a=C.formCity)||void 0===a?void 0:a.message,error:!!C.formCity,touched:!!y.formCity,infoMessage:l("Label_Profile_EnterCity")||""})})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{children:l("Label_Profile_PostCo
1de")}),(0,r.jsx)("div",{children:(0,r.jsx)(o.Wz,{register:k("formPostCode",{required:{value:!0,message:l("Label_Profile_ContentNotEmpty")},onBlur:()=>L("formPostCode")}),type:"number",min:"0",style:{WebkitAppearance:"none"},errorMessage:null===(n=C.formPostCode)||void 0===n?void 0:n.message,error:!!C.formPostCode,touched:!!y.formPostCode,infoMessage:l("Label_Profile_EnterPostCode")||""})})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{children:l("Label_Profile_State")}),(0,r.jsx)("div",{children:(0,r.jsx)(o.Wz,{register:k("formState",{required:{value:!0,message:l("Label_Profile_ContentNotEmpty")},onBlur:()=>L("formState")}),errorMessage:null===(t=C.formState)||void 0===t?void 0:t.message,error:!!C.formState,touched:!!y.formState,infoMessage:l("Label_Profile_EnterState")||""})})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{children:l("Label_Profile_Country")}),(0,r.jsx)("div",{children:(0,r.jsx)(o.Wz,{register:k("formCountry",{required:{value:!0,message:l("Label_Profile_ContentNotEmpty")},onBlur:()=>L("formCountry")}),errorMessage:null===(s=C.formCountry)||void 0===s?void 0:s.message,error:!!C.formCountry,touched:!!y.formCountry,infoMessage:l("Label_Profile_EnterCountry")||""})})]}),(0,r.jsx)("div",{className:"btnGroup",children:(0,r.jsx)("button",{type:"submit",className:"btn-check primary",children:l("Label_General_Submit")})})]})})})]})}):null},Info=()=>{var e,a,n,t;let{t:s}=(0,p.$G)(),{modal:l}=(0,c.JT)(),{userInfo:{areaCode:i,userName:d,currencyId:_,currencyName:h,phoneVerified:b,emailVerified:j}}=(0,v.aC)(),{birth_d:g,birth_m:N,birth_y:f,email:C,regTime:y,emailReward:k,phoneNo:w,phoneReward:T,lastLogin:P,accountName:B}=(0,m.xTZ)(),{formMethods:M,watchedBirth:S,phoneErrorTip:D,existsEmailLoading:R,areaCodeSelectOptions:V,checkEmail:A,checkPhone:W,onEmailVerify:F,selectAreaCode:O}=(0,m.P$Q)(),{trigger:H,setValue:U,register:Z,getValues:q,formState:Y}=M,{errors:J,touchedFields:$}=Y,K=I()().subtract(18,"year"),z=_===G.CurrenciesEnum.INR?s("Label_General_GivenName_Surname"):s("Label_General_RealName");(0,x.useEffect)(()=>{U("formAreaCode",E.Ps[_])},[]);let showErrorModal=e=>l.error(e),showPhoneOtpModal=e=>l.open((0,r.jsx)(nd.default,{isEditPhoneNumber:e})),showInfoModal=()=>l.info(s("Label_Profile_EmailOTPHint1"));return P?(0,r.jsxs)("div",{className:"profile",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{children:_===G.CurrenciesEnum.INR?s("Label_General_Name"):s("Label_RealName")}),(0,r.jsx)("div",{children:B||(0,r.jsx)(o.Wz,{register:Z("formRealName",{required:{value:!0,message:s("Label_Join_RealNameReq",{realName:z})},pattern:{value:E.qL,message:s("Label_Join_EnterRealName",{realName:z})},onBlur:()=>H("formRealName")}),icon:"icon-member txt-blue",placeholder:z,errorMessage:null===(e=J.formRealName)||void 0===e?void 0:e.message,error:!!J.formRealName,touched:!!$.formRealName,infoMessage:s("Label_General_RemindForName",{realName:_===G.CurrenciesEnum.INR?s("Label_General_GivenName_Surname"):"FULL NAME"})})})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{children:s("Label_Profile_Birthday")}),g?(0,r.jsxs)("div",{children:[g," / ",N," / ",f]}):(0,r.jsxs)("div",{className:"profile-birthday-field",children:[(0,r.jsxs)("div",{className:u()("inputBox-blue",{error:!!J.birth}),style:{width:"auto"},children:[(0,r.jsx)(o.TY,{...Z("birth",{required:{value:!0,message:s("Label_Profile_BirthRequired")},onBlur:()=>H("birth")}),selected:S,onChange:e=>{U("birth",e),H("birth")},maxDate:I()(K).toDate(),placeholderText:"DD/MM/YYYY",closeOnScroll:!0,showDisabledMonthNavigation:!0,showYearDropdown:!0}),(0,r.jsx)("div",{className:"iconModule",children:(0,r.jsx)("i",{className:"icon icon-calendar"})})]}),(null===(a=J.birth)||void 0===a?void 0:a.message)&&(0,r.jsx)("div",{className:"tip active txt-red",children:null===(n=J.birth)||void 0===n?void 0:n.message})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{children:s("Label_General_Username")}),(0,r.jsx)("div",{children:d})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{children:s("Label_General_Phone")}),w?(0,r.jsxs)("div",{children:[(0,r.jsxs)(r.Fragment,{children:["(",i,")",w]}),b?(0,r.jsx)("span",{className:"icon icon-Shield"}):(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("button",{type:"button",className:"icon icon-mobile btn-org",onClick:()=>showPhoneOtpModal(!1),children:[s("Label_Profile_PhoneVerification"),(0,r.jsxs)("div",{className:"description",children:[(0,r.jsx)("div",{className:"title",children:s("Label_Profile_PhoneVerification")}),(0,r.jsx)("div",{children:s("Label_Profile_PhoneVerificationHint1")}),(0,r.jsx)("div",{children:s("Label_Profile_PhoneVerificationHint2",{currency:h,amount:(0,L.Y4)(null!=T?T:0,_)})})]})]})}),(0,r.jsx)("button",{type:"button",className:"icon icon-pencil pencil",onClick:()=>showPhoneOtpModal(!0)})]}):(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"phone",style:{display:"flex",flexWrap:"nowrap"},children:[(0,r.jsx)(o.Ph,{showSearch:!0,options:V,prefixIcon:(0,r.jsx)("i",{className:"icon icon-phone txt-blue"}),onChange:e=>O(e),value:q("formAreaCode"),errorMessage:D}),(0,r.jsx)(o.Wz,{register:Z("formPhone",{required:{value:!0,message:s("Label_Join_PhoneRequired")},onBlur:W}),placeholder:s("Label_General_Phone"),error:!!J.formPhone||!!D,touched:!!$.formPhone,infoMessage:s("Label_Join_CantChangePhone"),type:"number"})]}),D&&(0,r.jsx)("div",{className:"phoneErrorTip",children:D})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{children:s("Label_General_Email")}),C?(0,r.jsxs)("div",{children:[C,j?(0,r.jsx)("span",{className:"icon icon-Shield"}):(0,r.jsxs)("button",{type:"button",className:"icon icon-envelope btn-org",onClick:()=>{F(showInfoModal,showErrorModal)},children:[s("Label_Profile_EmailVerification"),(0,r.jsxs)("div",{className:"description",children:[(0,r.jsx)("div",{className:"title",children:s("Label_Profile_EmailVerification")}),(0,r.jsx)("div",{children:s("Label_Profile_EmailVerificationHint1")}),(0,r.jsx)("div",{children:s("Label_Profile_EmailVerificationHint2",{currency:h,amount:(0,L.Y4)(null!=k?k:0,_)})})]})]})]}):(0,r.jsx)("div",{children:(0,r.jsx)(o.Wz,{register:Z("formEmail",{required:{value:!0,message:s("Label_Profile_EmailReq")},pattern:{value:E.CU,message:s("Label_Profile_MailWrongFormat")||""},onBlur:A}),icon:"icon icon-email txt-blue",placeholder:s("Label_General_Email"),loading:R,errorMessage:null===(t=J.formEmail)||void 0===t?void 0:t.message,error:!!J.formEmail,touched:!!$.formEmail})})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{children:s("Label_Profile_RegisterTime")}),(0,r.jsx)("div",{children:I()(y).format("DD/MM/YYYY HH:mm:ss")})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{children:s("Label_Profile_LastLogin")}),(0,r.jsx)("div",{children:I()(P).format("DD/MM/YYYY HH:mm:ss")})]})]}):(0,r.jsx)(o.gb,{})};
1var profile_BindingButton=e=>{let{isBound:a,iconUrl:n,checkedIconUrl:t,onBind:s,style:l}=e,[i,o]=x.useState(!1);return(0,r.jsx)("div",{style:{position:"relative",display:"inline-block",...l},children:a?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("img",{src:(0,L.k$)(n),alt:"icon",style:{width:"40px",height:"40px",border:"5px solid white",borderRadius:"50%",display:"block",backgroundColor:"white",boxSizing:"border-box"}}),t&&(0,r.jsx)("img",{src:(0,L.k$)(t),alt:"Checked",style:{position:"absolute",bottom:0,right:"1.1px",width:"12px",height:"20px"}})]}):(0,r.jsx)("div",{style:{width:"47px",height:"47px",border:i?"5px solid white":"1.5px solid gray",borderRadius:"50%",display:"flex",justifyContent:"center",alignItems:"center",boxSizing:"border-box",cursor:"pointer",backgroundColor:i?"white":"transparent",transition:"all 0.2s ease"},onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),onClick:s,children:(0,r.jsx)("img",{src:(0,L.k$)(n),alt:"icon",style:{width:"35px",height:"35px",transition:"all 0.2s ease"}})})})};let Verification=()=>{let{t:e}=(0,p.$G)(),a=(0,f.useRouter)(),{getBannerUrl:n}=(0,v.U5)(),{userInfo:{vipLevelId:t}}=(0,v.aC)(),{isLineBinding:s,oAuthBinding:{telegram:l=null}={},twoFactorAuthenticationStatus:i}=(0,m.xTZ)(),{handleLineBinding:o}=(0,m.O6s)(),{safetyLv:c,safetyDisplayKey:d,ALLOWED_CURRENCIES:_,accountName:h,currencyId:b,currencyName:x,emailReward:j,phoneReward:g,phoneVerified:N,emailVerified:C,sportsRebateStatus:y}=(0,m._dV)(),{handleTgBinding:k}=(0,m.agh)(),w=!(0,L.bX)(),I=!(0,L.$y)(b);return(0,m.fB8)(),(0,r.jsxs)("div",{className:"vipLv",children:[(0,r.jsx)("div",{className:"vipbg",children:"number"==typeof t?(0,r.jsx)("img",{src:"".concat(n("/desktop/img/growth-vip/icon/growth-vip")).concat(t,".png"),alt:"VIP-".concat(t)}):(0,r.jsx)("div",{className:"icon icon-member"})}),(0,$.Z)(_.VIP,b)&&(0,r.jsxs)("div",{className:"vipname",children:["VIP\xa0",t]}),(0,r.jsxs)("div",{className:"accountSafety",children:[(0,r.jsxs)("div",{children:[e("Label_Profile_AccountSafety"),":"]}),"\xa0",(0,r.jsx)("div",{children:e(d)})]}),(0,r.jsxs)("div",{className:"safetyLv",children:[(0,r.jsx)("span",{className:u()({active:c>=1})}),(0,r.jsx)("span",{className:u()({active:c>=2})}),(0,r.jsx)("span",{className:u()({active:c>=3})})]}),(0,r.jsxs)("div",{className:"userVerification",children:[(0,r.jsxs)("div",{children:[e("Label_Profile_UserVerification"),":"]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:u()("icon icon-person",{active:h}),children:(0,r.jsxs)("div",{className:"description",children:[(0,r.jsx)("div",{className:"title",children:e("Label_Profile_ProfileVerification")}),(0,r.jsx)("div",{children:e("Label_Profile_ProfileVerificationHint1")}),(0,r.jsxs)("div",{children:["(",e("Label_Profile_ProfileVerificationHint2"),")"]})]})}),(0,r.jsx)("div",{className:u()("icon icon-email",{active:C}),children:(0,r.jsxs)("div",{className:"description",children:[(0,r.jsx)("div",{className:"title",children:e("Label_Profile_EmailVerification")}),(0,r.jsx)("div",{children:e("Label_Profile_EmailVerificationHint1")}),(0,r.jsx)("div",{children:e("Label_Profile_EmailVerificationHint2",{currency:x,amount:(0,L.Y4)(null!=j?j:0,b)})})]})}),(0,r.jsx)("div",{className:u()("icon icon-mobile",{active:N}),children:(0,r.jsxs)("div",{className:"description",children:[(0,r.jsx)("div",{className:"title",children:e("Label_Profile_PhoneVerification")}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{children:e("Label_Profile_PhoneVerificationHint1")}),(0,r.jsxs)("span",{children:["\xa0",e("Label_Profile_PhoneVerificationHint2",{currency:x,amount:(0,L.Y4)(null!=g?g:0,b)})]})]})]})}),(0,r.jsxs)("div",{className:u()("icon icon-2fa",{active:i===X.aPZ.Email||i===X.aPZ.TOTP}),children:[(0,r.jsx)("img",{src:n("/desktop/img/profile-icon-2fa-desktop.svg"),alt:"2FA"}),(0,r.jsxs)("div",{className:"description",children:[(0,r.jsx)("div",{className:"title",children:e("Label_Profile_2FA_Verification")}),(0,r.jsx)("div",{children:(0,r.jsx)("span",{children:e("Label_Profile_2FA_Verification_Hint1")})})]})]})]})]}),w&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"binding-border-warpper",children:(0,r.jsx)("div",{className:"binding-divider",children:(0,r.jsx)("span",{children:e("Label_ThirdParty_Connect")})})}),(0,r.jsxs)("div",{className:"binding-buttons-container",children:[(0,r.jsx)(profile_BindingButton,{isBound:l,iconUrl:n(E.bo.desktop.telegram),checkedIconUrl:n(E.bo.desktop.checked),onBind:k}),(0,r.jsx)(profile_BindingButton,{isBound:s,iconUrl:n(E.bo.desktop.line),checkedIconUrl:n(E.bo.desktop.checked),onBind:()=>o(s)})]}),I&&(0,r.jsx)("div",{className:"sportsRebateStatus",style:{marginTop:"10px"},children:(0,r.jsxs)("div",{children:[e("Label_Profile_SportsRebateStatus"),":\xa0",y&&(0,r.jsx)(r.Fragment,{children:e("Label_Profile_".concat(y))})]})})]}),(0,r.jsxs)("button",{type:"button",className:"two-factor-btn",onClick:()=>a.push(E.Hb.twoFactor.root),children:[(0,r.jsx)("span",{className:"two-factor-btn__icon-group",children:(0,r.jsx)("img",{src:n("/desktop/img/profile-icon-2fa-desktop.svg"),alt:"2FA icon"})}),(0,r.jsxs)("span",{className:"two-factor-btn__text-group",children:[(0,r.jsx)("span",{className:"two-factor-btn__title",children:e("Label_2FA_Profile_Card_Title")}),(0,r.jsx)("span",{className:"two-factor-btn__desc",children:e("Label_2FA_Profile_Card_Desc")})]}),(0,r.jsx)("span",{className:"two-factor-btn__arrow",children:">"})]})]})};var profile=()=>{let{t:e}=(0,p.$G)(),{onVerifyEmail:a}=(0,m.hUS)(),{query:n,push:t}=(0,f.useRouter)(),{key:s,emailcode:l}=n,{modal:i}=(0,c.JT)(),{formMethods:o,showSubmitBtn:d,handleSubmitForm:_}=(0,m.P$Q)(),{handleSubmit:u}=o,showConfirmModal=()=>{i.confirm((0,r.jsxs)("div",{children:[e("Label_General_Awesome"),"!",(0,r.jsx)("br",{}),e("Label_Profile_VertifyContactConfirm")]}),{icon:"icon icon-icon32px_notification",title:e("Label_General_UpdateSuccessful"),okText:e("Label_Profile_VertifyNow"),cancelText:e("Label_Profile_Later"),onOK:()=>i.open((0,r.jsx)(nd.default,{}))})},showErrorModal=e=>i.error(e),showPrevPageConfirmModal=(a,n,s)=>{i.confirm(e(n),{icon:"icon icon-icon32px_notification",title:e("Label_General_ImportantNotes"),okText:e(s),cancelText:e("Label_Profile_Later"),onOK:()=>t(a)})},showProfileModifyWarningModal=a=>{i.confirm(e("Label_Profile_ProfileModifyWarning"),{icon:"icon icon-icon32px_notification",title:e("Label_General_ImportantNotes"),okText:e("Label_General_Confirm"),cancelText:e("Label_Profile_ReModify"),onOK:a})};return(0,x.useEffect)(()=>{(0,no.Z)(s)||(0,no.Z)(l)||a({key:s,code:l,errorCallBack:showErrorModal})},[s,l]),(0,r.jsx)("div",{className:"rightModule",children:(0,r.jsxs)("div",{className:"infoModule",children:[(0,r.jsxs)("div",{className:"inside-title",children:[(0,r.jsx)("span",{className:"icon icon-icon32px_Profile",children:e("Label_General_Profile")}),(0,r.jsx)("div",{children:e("Label_Profile_ProfileModifyWarning")})]}),(0,r.jsx)(nc.RV,{...o,children:(0,r.jsx)("form",{onSubmit:u(()=>_(showConfirmModal,showErrorModal,showPrevPageConfirmModal,showProfileModifyWarningModal)),children:(0,r.jsxs)("div",{className:"profileModule",children:[(0,r.jsx)(Verification,{}),(0,r.jsxs)("div",{className:"infoContent",children:[(0,r.jsx)(Info,{}),d&&(0,r.jsx)("div",{className:"btnGroup",children:(0,r.jsx)("button",{className:"btn-check primary",type:"submit",children:e("Label_General_Submit")})})]})]})})}),(0,r.jsx)(Address,{})]})})},rebate_exclude=()=>{let{t:e}=(0,p.$G)(),{loading:a,rebateExcludeGameList:n}=(0,d.w2)(),t=(0,L.bX)()?"2025":"2008 - ".concat(new Date().getFullYear().toString()),s=(0,U.Z)(H.X.NEXT_PUBLIC_SITE_NAME),l=(0,L.bX)()?21:18;return a?(0,r.jsx)(o.gb,{}):(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"subheader",children:(0,r.jsx)("div",{className:"subheader__container",children:(0,r.jsx)(B(),{legacyBehavior:!0,href:"/",children:(0,r.jsx)("a",{})})})}),(0,r.jsx)("main",{className:"exclude",children:(0,r.jsxs)("div",{className:"exclude__container",children:[(0,r.jsx)("div",{className:"exclude__title",children:e("Label_RebateExclude_Title")}),(0,r.jsxs)("div",{className:"exclude__table",children:[(0,r.jsxs)("div",{className:"exclude__table__item",children:[(0,r.jsx)("div",{children:e("Label_General_Product")}),(0,r.jsx)("div",{children:(0,r.jsx)("span",{children:e("Label_RebateExclude_GameName")}
1)})]}),n.map(e=>{let{tpGameType:a,tpGameTypeName:n,gameNameList:t}=e;return(0,r.jsxs)("div",{className:"exclude__table__item",children:[(0,r.jsx)("div",{children:n}),(0,r.jsx)("div",{children:t.map(e=>(0,r.jsx)("span",{children:e},"".concat(a,"-").concat(e)))})]},a)})]})]})}),(0,r.jsx)("div",{className:"subcopyright",children:(0,r.jsxs)("span",{className:"text",children:[!(0,L.bX)()&&e("Label_Footer_License_Curacao"),"\xa0",e("Label_Footer_Copyright",{year:t,site:s,age:l})]})})]})},nm=n(7964),modal_ReferralDetailModal=e=>{let{referralSettingDetail:a}=e,{closeModal:n}=(0,c.JT)(),{referralContent:t}=null!=a?a:{},s=(0,x.useMemo)(()=>(null==t?void 0:t.detail)?(0,L.Z6)(t.detail):"",[null==t?void 0:t.detail]);return(0,r.jsxs)("div",{className:"promoInfoPop active",children:[(0,r.jsx)("div",{className:"promoInfoPopMask active"}),(0,r.jsxs)("div",{className:"promotionsInfo",children:[(0,r.jsx)("div",{className:"icon icon-close",onClick:n}),!(0,nm.Z)(null==t?void 0:t.bannerUrl)&&(0,r.jsx)(o.Ei,{src:t.bannerUrl,alt:"banner"}),(0,r.jsxs)("div",{className:"proData",children:[(0,r.jsx)("div",{className:"proDataTitle",children:(0,r.jsxs)("div",{className:"txt-darkBlue",children:[null==t?void 0:t.title,(0,r.jsx)("div",{className:"txt-gray",children:null==t?void 0:t.description})]})}),!!(null==t?void 0:t.detail)&&(0,r.jsx)("div",{className:"proDataBody",dangerouslySetInnerHTML:{__html:s}})]})]})]})},referral_ReferralBanner=()=>{let{userInfo:{langId:e}}=(0,v.aC)(),{getBannerUrl:a}=(0,v.U5)(),{modal:n}=(0,c.JT)(),{onGetReferralDetail:t}=(0,m.p$9)(),referralDetailModalCallback=e=>{n.open((0,r.jsx)(modal_ReferralDetailModal,{referralSettingDetail:e}))},errorCallback=e=>{n.error(e)};return(0,r.jsx)(o.Ei,{onClick:()=>t(referralDetailModalCallback,errorCallback),src:a("/desktop/img/referral-topBanner-".concat(e,".jpg")),alt:"img-referral-topBanner",className:"refer-topbanner"})},n_=n(56174),referral_ReferralInfoLeft=()=>{let{t:e}=(0,p.$G)(),{getBannerUrl:a}=(0,v.U5)();return(0,r.jsxs)("div",{className:"referinfo-left",children:[(0,r.jsx)("div",{className:"title",children:e("Label_Referral_Simple3StepsToShare")}),(0,r.jsxs)("div",{className:"referinfo-step",children:[(0,r.jsx)("div",{className:"icon",children:(0,r.jsx)(o.Ei,{src:a("/desktop/img/referral-step-01.png"),alt:"img-referral-step-01"})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"subtitle",children:e("Label_General_Share")}),(0,r.jsx)("p",{children:(0,n_.Z)(e("Label_Referral_ShareDescription")||"")})]})]}),(0,r.jsxs)("div",{className:"referinfo-step",children:[(0,r.jsx)("div",{className:"icon",children:(0,r.jsx)(o.Ei,{src:a("/desktop/img/referral-step-02.png"),alt:"img-referral-step-02"})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"subtitle",children:(0,n_.Z)(e("Label_General_Recharge")||"")}),(0,r.jsx)("p",{children:(0,n_.Z)(e("Label_Referral_Recharge")||"")})]})]}),(0,r.jsxs)("div",{className:"referinfo-step",children:[(0,r.jsx)("div",{className:"icon",children:(0,r.jsx)(o.Ei,{src:a("/desktop/img/referral-step-03.png"),alt:"img-referral-step-03"})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"subtitle",children:e("Label_General_Rewards")}),(0,r.jsx)("p",{children:e("Label_Referral_RewardsDescription")})]})]})]})},nu=n(29782),referral_ReferralSocialMediaList=()=>{let{t:e}=(0,p.$G)(),{getBannerUrl:a}=(0,v.U5)(),{referralLink:n}=(0,m.p$9)(),t=(0,N.Ao)(n,e("Label_Referral_Welcome"));return(0,r.jsxs)("div",{className:"referinfo-list",children:[(0,r.jsx)("div",{className:"subtitle",children:e("Label_Referral_ShareAcrossSocialMedia")}),(0,r.jsx)("div",{className:"referinfo-share",children:t.map(e=>{let{name:n,desktopImg:t,hoverImg:s,url:l}=e;return(0,r.jsx)(o.Ei,{onClick:()=>(0,L.uk)(l),src:a(t),hoverImg:a(s),alt:n},n)})})]})},referral_ReferralInfoRight=()=>{let{t:e}=(0,p.$G)(),[,a]=(0,eg.m9)(),{referralCode:n,referralLink:t}=(0,m.p$9)();return(0,r.jsxs)("div",{className:"referinfo-right",children:[(0,r.jsx)("div",{className:"title",children:(0,r.jsx)("div",{children:e("Label_Referral_YourLinkInvite")})}),(0,r.jsxs)("div",{className:"referinfo-list",children:[(0,r.jsx)("div",{className:"subtitle",children:(0,n_.Z)(e("Label_Referral_ReferralCode")||"")}),(0,r.jsx)("div",{className:"inputcopy",onClick:()=>n&&a(n),children:(0,r.jsx)("input",{id:"ref_code",type:"text",value:n,readOnly:!0})})]}),(0,r.jsxs)("div",{className:"referinfo-list",children:[(0,r.jsx)("div",{className:"subtitle",children:(0,n_.Z)(e("Label_Referral_ReferralLink")||"")}),(0,r.jsx)("div",{className:"inputcopy",onClick:()=>a(t),children:(0,r.jsx)("input",{type:"text",id:"ref_link",value:t,readOnly:!0})})]}),(0,r.jsxs)("div",{className:"referinfo-list",children:[(0,r.jsx)("div",{className:"subtitle",children:"QR CODE"}),(0,r.jsx)(nu.ZP,{value:t})]}),(0,r.jsx)(referral_ReferralSocialMediaList,{})]})},referral_ReferralStatus=()=>{let{t:e}=(0,p.$G)(),{userInfo:{currencyName:a,currencyId:n}}=(0,v.aC)(),{referralSummaryData:t}=(0,m.p$9)();return(0,r.jsxs)("div",{className:"referstatus",children:[(0,r.jsxs)("div",{className:"title",children:[e("Label_Referral_YourReferralStatus"),(0,r.jsx)(B(),{legacyBehavior:!0,href:{pathname:E.Hb.history.root,query:{queryTabId:4}},passHref:!0,children:(0,r.jsx)("a",{className:"refer-history secondary",rel:"noopener noreferrer",children:e("Label_General_History")})})]}),(0,r.jsxs)("div",{className:"referstatus-item",children:[(0,r.jsxs)("div",{className:"card",children:[(0,n_.Z)(e("Label_Referral_NoOfAchievements")||""),(0,r.jsx)("div",{children:(null==t?void 0:t.referralCount)||0})]}),(0,r.jsxs)("div",{className:"card",children:[(0,n_.Z)(e("Label_Referral_AccumulateRewardAmount")||""),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{children:a}
1),(0,L.Y4)((null==t?void 0:t.amountSum)||0,n,0)]})]})]})]})},referral=e=>{let{onLoginRequired:a}=e,{auth:{isLogin:n},userInfo:{currencyId:t}}=(0,v.aC)(),{isLoading:s}=(0,m.p$9)();return((0,x.useEffect)(()=>{!n&&(0,$.Z)(N.IV.REFER_FRIENDS,Number(t))&&(null==a||a())},[]),s)?(0,r.jsx)(o.gb,{}):(0,r.jsx)("div",{className:"rightModule",children:(0,r.jsxs)("div",{className:"infoModule refer",children:[(0,r.jsx)(referral_ReferralBanner,{}),(0,r.jsx)(referral_ReferralStatus,{}),(0,r.jsxs)("div",{className:"referinfo",children:[(0,r.jsx)(referral_ReferralInfoLeft,{}),(0,r.jsx)(referral_ReferralInfoRight,{})]})]})})};n(16990);var self_exclusion=()=>{let{t:e}=(0,p.$G)(),{getBannerUrl:a}=(0,v.U5)(),{openLiveChat:n}=(0,m.bKX)();return(0,r.jsx)("div",{className:"rightModule",children:(0,r.jsxs)("div",{className:"infoModule",children:[(0,r.jsx)("div",{className:"inside-title",children:(0,r.jsx)("span",{className:"exclusion-title",children:e("Label_General_SelfExclusion")})}),(0,r.jsxs)("div",{className:"exclusion-text",children:[(0,r.jsxs)("a",{onClick:n,children:[(0,r.jsx)("img",{src:a("/desktop/img/4.0/livechat.png"),alt:""}),e("Label_General_LiveChat")]}),(0,r.jsx)("div",{children:e("Label_SelfExclusion_Hint")})]})]})})};let np=b()(()=>n.e(2598).then(n.bind(n,82598)),{loadableGenerated:{webpack:()=>[82598]},ssr:!1});var slots_Banner=()=>{let{bannerList:e}=(0,m.Rrd)(),{modal:a}=(0,c.JT)(),[n]=(0,X.Wh)(),{auth:{isLogin:t},userInfo:{userName:s,currencyId:l,langId:i}}=(0,v.aC)(),{events:d,asPath:_}=(0,f.useRouter)(),bannerPopup=async()=>{let e="SlotsBannerPopup_".concat(s);if("1"!==(0,aE.getCookie)(e))try{let{data:t}=await n({bannerType:G.QQ.Slots,behavior:G.h7.Popup,currencyId:l,langId:i}).unwrap();t.length>0&&((0,L.d8)(e,"1",{maxAge:72e3}),a.open((0,r.jsx)(np,{bannerList:t})))}catch(e){a.error(e.message)}},u=(0,x.useRef)(!1);return(0,x.useEffect)(()=>{let handleRouteChangeStart=e=>{let a=_.replace(/^\/[a-z]{2}(\/|$)/,"/"),n=e.replace(/^\/[a-z]{2}(\/|$)/,"/");a!==n&&(u.current=!0)},handleRouteChangeComplete=()=>{u.current=!1},handleRouteChangeError=()=>{u.current=!1};return d.on("routeChangeStart",handleRouteChangeStart),d.on("routeChangeComplete",handleRouteChangeComplete),d.on("routeChangeError",handleRouteChangeError),()=>{d.off("routeChangeStart",handleRouteChangeStart),d.off("routeChangeComplete",handleRouteChangeComplete),d.off("routeChangeError",handleRouteChangeError)}},[d]),(0,x.useEffect)(()=>{t&&"guest"===s||u.current||bannerPopup()},[t,s,l,i,s]),(0,r.jsx)("div",{className:"lobby-banner",children:(0,r.jsx)(o.$2,{bannerList:e,className:"banner"})})},nh=n(85),nb=n.n(nh);let nx={dragFree:!0,containScroll:"trimSnaps"};var slots_CategoryFilter=e=>{let{onOverflowChange:a}=e,{slotCategoryList:n,onCategoryIdChange:t,activeCategoryId:s}=(0,m.Rrd)(),{t:l}=(0,p.$G)(),{getBannerUrl:i}=(0,v.U5)(),o=(0,x.useRef)(null),c=(0,x.useRef)(null),d=(0,m.INr)({wrapperRef:c,contentRef:o,dependencies:[n]}),_=n.findIndex(e=>e.id===s),{emblaRef:h,emblaApi:b,scrollTo:j}=(0,m.xPb)(nx);(0,x.useEffect)(()=>{a(d)},[d,a]),(0,x.useEffect)(()=>{d&&-1!==_&&j(Math.max(0,_-1))},[s,d,_,j]),(0,x.useEffect)(()=>{null==b||b.reInit(nx)},[b,d,n]);let g=(0,x.useCallback)((e,a,n)=>{let s=(0,L.D5)(e),o=(0,r.jsxs)(r.Fragment,{children:[s===X.d1A.Hot&&(0,r.jsx)("img",{src:i("/desktop/img/hot-icon.png"),alt:"hot",className:nb().hotIcon}),s===X.d1A.New&&(0,r.jsx)("span",{className:nb()["new-badge"],children:l("Label_General_New")}),(0,r.jsx)("span",{className:nb().label,children:e.displayName})]});return n?(0,r.jsx)("div",{className:nb().slide,children:(0,r.jsx)("div",{onClick:()=>t(e.id),className:u()(nb().item,{[nb().active]:a}),children:o})},e.id):(0,r.jsx)("div",{onClick:()=>t(e.id),className:u()(nb().item,{[nb().active]:a}),children:o},e.id)},[l,i,t]),N=(0,x.useMemo)(()=>n.map(e=>g(e,e.id===s,!1)),[n,s,g]),f=(0,x.useMemo)(()=>n.map(e=>g(e,e.id===s,!0)),[n,s,g]);return(0,r.jsxs)("div",{className:nb().wrapper,ref:c,children:[(0,r.jsx)("div",{ref:o,className:u()(nb().list,nb().hidden),children:N}),d?(0,r.jsx)("div",{className:u()(nb().embla,{[nb().hideLeftGradient]:0===_}),ref:h,children:(0,r.jsx)("div",{className:nb().emblaContainer,children:f})}):(0,r.jsx)("div",{className:nb().list,children:N})]})},nv=n(22828),nj=n(48463),ng=n.n(nj),slots_SearchBox=()=>{let{t:e}=(0,p.$G)(),{searchCategoryText:a,suggestions:n,isSearchNoResult:t,onSearchCategoryTextChange:s}=(0,m.Rrd)(),[l]=n;return(0,r.jsxs)("div",{className:u()(ng().searchBox,{[ng().isNoResult]:t}),children:[(0,r.jsxs)("div",{className:"search-bar",children:[(0,r.jsx)(nv.eaK,{className:ng().searchIcon}
1),(0,r.jsx)("input",{className:"search-input",type:"text",onChange:e=>s(e.target.value),placeholder:e("Label_SearchGames"),value:a}),""!==a&&(0,r.jsx)("button",{type:"button",className:ng().btnClear,onClick:()=>s(""),children:(0,r.jsx)(nv.bjh,{})})]}),t&&(0,r.jsx)("div",{className:ng().searchMessage,children:l?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{children:e("Label_Slot_SearchSuggestion")}),(0,r.jsx)("button",{type:"button",className:ng().suggestion,onClick:()=>s(l),children:l})]}):(0,r.jsx)("span",{children:e("Label_Slot_SearchNoResultHint")})})]})},nN=n(53031),nf=n.n(nN),game_list_GameList=()=>{let{slotsGameList:e,vendorMap:a,gameListRef:n,onGamePlay:t,onFavoritesToggle:s,newGameIds:l}=(0,m.Rrd)(),{t:i}=(0,p.$G)(),{getBannerUrl:o,getImageUrl:c}=(0,v.U5)();return(0,r.jsxs)(r.Fragment,{children:[e&&e.length>0?(0,r.jsx)("div",{className:nf().slotsList,children:e.map(e=>{let{tpId:n,gameId:d,imageName:m,gameName:_,playFree:p,isMaintain:h,isFavorite:b,rtp:x}=e,v=a.get(n),j=null==v?void 0:v.displayName,g="/".concat(null==v?void 0:v.tpName,"/").concat(m);return(0,r.jsxs)("div",{className:nf().slotsListItem,style:{pointerEvents:h?"none":"auto"},children:[h&&(0,r.jsx)("div",{className:nf().under,children:i("Label_General_UnderMaintenance")}),l.has("".concat(n,"-").concat(d))&&(0,r.jsx)("div",{className:nf().newIcon,children:i("Label_General_New")}),(0,r.jsxs)("div",{className:nf().imgWrapper,children:[(0,r.jsx)("img",{src:c(g),style:{aspectRatio:1},alt:_}),(0,r.jsxs)("div",{className:nf().btnContainer,children:[(0,r.jsx)("button",{className:nf().btnPlay,onClick:()=>t({tpId:n,gameId:d,playFree:!1}),children:i("Label_Play")}),p?(0,r.jsx)("button",{className:nf().btnDemo,onClick:()=>t({tpId:n,gameId:d,playFree:p}),children:i("Label_Demo")}):null]})]}),(0,r.jsxs)("div",{className:nf().details,children:[(0,r.jsxs)("div",{className:nf().slotInfo,children:[(0,r.jsxs)("div",{className:nf().slotContent,children:[(0,r.jsx)("div",{className:nf().slotName,children:_}),(0,r.jsx)("div",{className:nf().provider,children:j})]}),(0,r.jsx)("div",{className:u()(nf().favoriteIcon,{[nf().active]:b}),onClick:()=>s({tpId:n,gameId:d}),children:(0,r.jsx)("img",{src:o(b?"/desktop/img/4.0/lobby-slots/star-icon-active.png":"/desktop/img/4.0/lobby-slots/star-icon.png"),alt:"favorite"})})]}),x?(0,r.jsx)("div",{className:nf().rtpTag,children:"RTP ".concat(x," %")}):(0,r.jsx)("div",{className:nf().placeholderContent})]})]},"casino-game-".concat(n,"-").concat(d))})}):(0,r.jsxs)("div",{className:nf().nodata,children:[(0,r.jsx)("img",{src:o("/desktop/img/4.0/nodata-icon.png"),alt:"No Data"}),(0,r.jsx)("div",{children:i("Label_General_NoData")})]}),(0,r.jsx)("span",{ref:n})]})},nC=n(82425),ny=n.n(nC),nk=n(81370),nL=n.n(nk),slider_module_CloseIcon=e=>{let{className:a="",width:n=24,height:t=24}=e;return(0,r.jsxs)("svg",{className:a,style:{cursor:"pointer"},width:n,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),(0,r.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})},slider_module_CategoryPopup=e=>{let{onClose:a,triggerRef:n}=e,{slotCategoryList:t,onCategoryIdChange:s,activeCategoryId:l}=(0,m.Rrd)(),{t:i}=(0,p.$G)(),{getBannerUrl:o}=(0,v.U5)(),c=(0,x.useRef)(null),d=(0,x.useRef)(null),handleClick=e=>{s(e),a()};return(0,x.useEffect)(()=>{let handleClickOutside=e=>{let t=e.target;d.current&&!d.current.contains(t)&&n.current&&!n.current.contains(t)&&a()};return document.addEventListener("mousedown",handleClickOutside),()=>{document.removeEventListener("mousedown",handleClickOutside)}},[a,n]),(0,r.jsxs)("div",{className:nL().card,ref:d,children:[(0,r.jsxs)("header",{className:nL().header,children:[(0,r.jsx)("h2",{children:i("Label_General_Category")}),(0,r.jsx)("button",{onClick:()=>{a()},className:nL().closeBtn,children:(0,r.jsx)(slider_module_CloseIcon,{})})]}),(0,r.jsx)("div",{className:nL().list,ref:c,children:t.map(e=>{let a=e.id===l,n=(0,L.D5)(e);return(0,r.jsxs)("div",{onClick:()=>handleClick(e.id),className:u()(nL().item,{[nL().active]:a,[nL().inactive]:!a}),children:[n===X.d1A.Hot&&(0,r.jsx)("img",{src:o("/desktop/img/hot-icon.png"),alt:"hot",className:nL().hotIcon}),n===X.d1A.New&&(0,r.jsx)("span",{className:nL()["new-badge"],children:i("Label_General_New")}),(0,r.jsx)("span",{children:e.displayName})]},e.id)})})]})},slider_module_SlidersIcon=e=>{let{className:a="",width:n=40,height:t=40}=e;return(0,r.jsxs)("svg",{className:a,width:n,height:t,viewBox:"0 0 100 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("line",{x1:"20",y1:"30",x2:"80",y2:"30",stroke:"currentColor",strokeWidth:"6",strokeLinecap:"round"}
1),(0,r.jsx)("circle",{cx:"65",cy:"30",r:"8",fill:"black",stroke:"currentColor",strokeWidth:"6"}),(0,r.jsx)("line",{x1:"20",y1:"50",x2:"80",y2:"50",stroke:"currentColor",strokeWidth:"6",strokeLinecap:"round"}),(0,r.jsx)("circle",{cx:"40",cy:"50",r:"8",fill:"black",stroke:"currentColor",strokeWidth:"6"}),(0,r.jsx)("line",{x1:"20",y1:"70",x2:"80",y2:"70",stroke:"currentColor",strokeWidth:"6",strokeLinecap:"round"}),(0,r.jsx)("circle",{cx:"55",cy:"70",r:"8",fill:"black",stroke:"currentColor",strokeWidth:"6"})]})},nw=n(23286),nI=n.n(nw),slider_module=()=>{let[e,a]=(0,x.useState)(!1),n=(0,x.useRef)(null),{activeCategoryId:t}=(0,m.Rrd)();return(0,x.useEffect)(()=>{a(!1)},[t]),(0,r.jsx)("div",{className:nI().wrapper,children:(0,r.jsxs)("div",{className:nI().container,children:[(0,r.jsx)("button",{ref:n,onClick:()=>{a(e=>!e)},className:nI().button,children:(0,r.jsx)(slider_module_SlidersIcon,{width:24,height:24})}),e&&(0,r.jsx)(slider_module_CategoryPopup,{triggerRef:n,onClose:()=>a(!1)})]})})},vendorFilter_VendorItem=e=>{let{isActive:a,displayName:n,imageName:t,onClick:s}=e,{getBannerUrl:l}=(0,v.U5)();return(0,r.jsxs)("a",{onClick:s,className:u()("provider-list-item",{active:a}),children:[(0,r.jsx)("div",{children:(0,r.jsx)("img",{src:l("/desktop/img/4.0/lobby-slots/provider-logo/".concat(t)),alt:n})}),(0,r.jsx)("div",{children:n})]})},vendorFilter=()=>{let{vendorList:e,activeVendorTpId:a,isActiveDropdown:n,onVendorChange:t,onToggleDropdown:s}=(0,m.Rrd)(),{getBannerUrl:l}=(0,v.U5)();return(0,r.jsxs)("div",{className:u()("provider",{active:n}),children:[(0,r.jsx)("div",{className:"provider-list",children:e.map(e=>{let{tpId:n,imageName:s,displayName:l}=e;return(0,r.jsx)(vendorFilter_VendorItem,{onClick:()=>t({tpId:n}),isActive:a===n,displayName:l,imageName:s},"slot-swiper-".concat(n))})}),(0,r.jsx)("button",{onClick:s,children:(0,r.jsx)("img",{src:l("/desktop/img/4.0/lobby-slots/down.png"),alt:""})})]})},slots=()=>{let{isGetBannerFetching:e}=(0,m.Rrd)(),[a,n]=(0,x.useState)(!1);return(0,r.jsxs)("main",{className:"lobby",children:[e?(0,r.jsx)(o.gb,{}):(0,r.jsx)(slots_Banner,{}),(0,r.jsxs)("div",{className:"lobby-content slots",children:[(0,r.jsxs)("div",{className:"top",children:[(0,r.jsx)(slots_SearchBox,{}),(0,r.jsx)(vendorFilter,{})]}),(0,r.jsxs)("div",{className:ny().filtersContainer,children:[(0,r.jsx)(slots_CategoryFilter,{onOverflowChange:n}),a&&(0,r.jsx)(slider_module,{})]}),(0,r.jsx)(game_list_GameList,{})]})]})},sports=()=>{let e=(0,eg.O_)(),{query:{provider:a,tpId:n,gameId:t,matchId:s}}=(0,f.useRouter)(),{userInfo:{langId:l}}=(0,v.aC)(),{onDefaultEnterPage:i}=(0,m.H9d)(),o=E.bQ[a],c=(0,S.Z)(E.bQ,e=>{let{tpId:a,gameId:s}=e;return a===Number(n)&&s===Number(t)}),{tpId:d,gameId:_,tpGameType:u}=o||c||E.bQ.Soccer,p=i({langId:l,tpId:d,gameId:_,matchid:s?String(s):"",tpGameType:u});return e?(0,r.jsx)("iframe",{title:"sport","data-target":"sport_iframe",src:p}):null},breadcrumb=e=>{let{items:a,activeItem:n,onClick:t}=e,s=a.findIndex(e=>e.value===n)+1;return(0,r.jsx)("nav",{className:"breadcrumb",children:(0,r.jsx)("ul",{children:a.slice(0,s).map(e=>{let{displayKey:a,value:n}=e;return(0,r.jsx)("li",{className:"icon breadcrumb-item",children:(0,r.jsx)("a",{onClick:()=>t(n),children:a})},a)})})})},statement_StatementTable=()=>{let{activeTab:e,displayColumns:a,onDetails:n}=(0,m.TBu)(),{DateRangeStatementTable:t,ByDayStatementTable:s,ByCategoryStatementTable:l,ByDetailStatementTable:i}=table_useTable({dataSource:a,onDetails:n});switch(e){case"":return(0,r.jsx)(t,{});case"byDay":return(0,r.jsx)(s,{});case"byCategory":return(0,r.jsx)(l,{});case"byDetail":return(0,r.jsx)(i,{});default:return null}},statement=()=>{let{t:e}=(0,p.$G)(),{QUICK_PICK_LIST:a,activePeriod:n,activeTab:t,displayColumns:s,breadcrumbs:l,totalPage:i,currentPage:c,loading:d,onPageChange:_,onQuickPickChange:u,onTabChange:h,onSearch:b}=(0,m.TBu)();return(0,r.jsx)("div",{className:"rightModule",children:(0,r.jsxs)("div",{className:"infoModule",children:[(0,r.jsx)("div",{className:"inside-title",children:(0,r.jsx)("span",{className:"icon icon-icon32px_History",children:e("Label_General_Statement")})}),(0,r.jsx)(breadcrumb,{items:l,activeItem:t,onClick:h}),(0,r.jsxs)("div",{className:"quickSelect",children:[(0,r.jsx)("div",{children:(0,r.jsx)(o.Ph,{options:a,isTranslation:!0,placeholder:"-",value:n,defaultValue:n,prefixText:e("Label_History_QuickPick"),onChange:e=>u(e,!1)})}),(0,r.jsx)("div",{className:"btnGroup",onClick:b,children:(0,r.jsxs)("button",{className:"btn-check primary",children:[" ",e("Label_General_Submit")]})})]}),d?(0,r.jsx)(o.gb,{}):(0,r.jsx)(statement_StatementTable,{}),0===s.length&&(0,r.jsx)("div",{className:"nodata icon icon-nodata",children:(0,r.jsx)("div",{children:e("Label_General_NoData")})}),s.length>0&&!d&&(0,r.jsx)(o.tl,{totalPage:i,currentPage:c,onPageChange:_})]})})};n(36960);var nT=n(33094),nP=n(45337),nB=n.n(nP),mainMission_DailyMission=()=>{let{t:e}=(0,p.$G)(),{getBannerUrl:a}=(0,v.U5)(),{userInfo:{currencyName:n}}=(0,v.aC)(),{activeMission:t,dailyMissionStatus:s,missionConfigs:l=[],statusButton:i}=(0,m.kim)();if(!t)return null;let{loginStatus:o,depositStatus:c}=s[0],{dailyDisplayStatus:d,custDailyMissions:_}=t,{currentValue:h}=(0,S.Z)(_,e=>e.missionType===G.Sp.Deposit)||{},{rewardPoint:b=0}=(0,S.Z)(l,e=>e.missionType===G.Sp.Login)||{},{targetValue:x=0,rewardPoint:j=0}=(0,S.Z)(l,e=>e.missionType===G.Sp.Deposit)||{},g=x>0?Math.min(h/x*100,100):0;return(0,r.jsx)("div",{className:nB().dailyMissionContainer,children:(0,r.jsxs)("div",{className:nB().missionList,children:[(0,r.jsx)("div",{className:u()(nB().missionItem,{[nB().claimed]:o.claimed,[nB().eligible]:o.eligible,[nB().unclaimed]:o.unclaimed,[nB().locked]:o.locked}),children:(0,r.jsxs)("div",{className:nB().missionItemContent,children:[(d===G.mZ.Eligible||d===G.mZ.Claimed)&&(0,r.jsxs)("div",{className:u()(nB().points
1Badge,{"animate__animated animate__bounce animate__infinite animate__slow":!0===o.eligible}),children:[(0,r.jsx)("img",{src:a("/desktop/img/event/missions-rewards/icon-lightning".concat(o.claimed?"-black":"",".png")),alt:"lightning-icon"}),(0,r.jsx)("span",{children:"+".concat(b," ").concat(e("Label_General_Points"))})]}),(0,r.jsx)("div",{className:nB().missionIconWrapper,children:(0,r.jsx)("div",{className:"".concat(nB().iconCircle," ").concat(nB().iconLogin),children:(0,r.jsx)("img",{src:a("/desktop/img/event/missions-rewards/icon-login.png"),alt:"login-icon"})})}),(0,r.jsxs)("div",{className:nB().missionDescription,children:[(0,r.jsx)("div",{className:nB().missionTitleRow,children:(0,r.jsx)("span",{className:nB().missionTitle,children:e("Label_30Days_Missions_Daily_Login_Title")})}),(0,r.jsx)("span",{className:nB().missionDesc,children:o.claimed||o.eligible?"+".concat(b," ").concat(e("Label_General_Points")):(0,r.jsx)("span",{className:nB().missionDescIneligible,children:e("Label_30Days_Missions_Daily_Login_Desc")})})]}),(0,r.jsx)("div",{className:nB().missionAction,children:i({status:o,missionId:t.custDailyMissions[0].missionId,className:{claimedButton:nB().claimedButton,eligibleButton:nB().eligibleButton,unclaimedButton:nB().unclaimedButton,lockedButton:nB().lockedButton},deviceType:"desktop"})})]})}),(0,r.jsxs)("div",{className:u()(nB().missionItem,{[nB().claimed]:c.claimed,[nB().eligible]:c.eligible,[nB().unclaimed]:c.unclaimed,[nB().locked]:c.locked}),children:[(0,r.jsxs)("div",{className:nB().missionItemContent,children:[(c.claimed||c.eligible)&&(0,r.jsxs)("div",{className:u()(nB().pointsBadge,{"animate__animated animate__bounce animate__infinite animate__slow":!0===c.eligible}),children:[(0,r.jsx)("img",{src:a("/desktop/img/event/missions-rewards/icon-lightning".concat(c.claimed?"-black":"",".png")),alt:"lightning-icon"}),(0,r.jsx)("span",{children:"+".concat(j," ").concat(e("Label_General_Points"))})]}),(0,r.jsx)("div",{className:nB().missionIconWrapper,children:(0,r.jsx)("div",{className:"".concat(nB().iconCircle," ").concat(nB().iconDeposit),children:(0,r.jsx)("span",{className:"icon icon-icon32px_deposit"})})}),(0,r.jsxs)("div",{className:nB().missionDescription,children:[(0,r.jsx)("div",{className:nB().missionTitleRow,children:(0,r.jsx)("span",{className:nB().missionTitle,children:e("Label_30Days_Missions_Daily_Deposit_Title")})}),(0,r.jsx)("span",{className:nB().missionDesc,children:c.claimed||c.eligible||c.unclaimed&&h>0?(0,r.jsx)(p.cC,{i18nKey:"Label_30Days_Missions_Daily_Deposit_Desc",values:{currencyName:n,targetValue:(0,L.Et)(x),rewardPoints:j}}):(0,r.jsx)("span",{className:nB().missionDescIneligible,children:(0,r.jsx)(p.cC,{i18nKey:"Label_30Days_Missions_Daily_Deposit_More",values:{currencyName:n,targetValue:(0,L.Et)(x)}})})})]}),(0,r.jsx)("div",{className:nB().missionAction,children:i({status:c,missionId:t.custDailyMissions[1].missionId,className:{claimedButton:nB().claimedButton,eligibleButton:nB().eligibleButton,unclaimedButton:nB().unclaimedButton,lockedButton:nB().lockedButton},deviceType:"desktop"})})]}),c.eligible||c.locked||c.unclaimed&&h>0?(0,r.jsxs)("div",{className:nB().missionProgress,children:[(0,r.jsx)("div",{className:nB().missionProgressText,children:(0,r.jsxs)("span",{children:[n," ",(0,L.Et)(h)," /"," ",n," ",(0,L.Et)(x)]})}),(0,r.jsx)("div",{className:nB().missionProgressBar,children:(0,r.jsx)("div",{className:nB().missionProgressBarFill,style:{width:"".concat(g,"%")}})})]}):(0,r.jsx)(r.Fragment,{})]})]})})},nM=n(6514),nG=n.n(nM),mainMission_JourneyProgress=()=>{let{t:e}=(0,p.$G)(),{getBannerUrl:a,custAvailableCampaignsData:{isRunning:n}}=(0,v.U5)(),{getStatusClass:t,getStatusIcon:s,dailyList:l,nowDay:i,getActiveMission:o,activeMission:c}=(0,m.kim)(),{dayIndex:d}=null!=c?c:{};return(0,r.jsxs)("div",{className:nG().journeyProgressContainer,children:[(0,r.jsx)("div",{className:nG().header,children:(0,r.jsxs)("div",{className:nG().legend,children:[(0,r.jsxs)("div",{className:u()(nG().legendItem,nG().eligibleItem),children:[(0,r.jsx)("img",{src:a("/desktop/img/event/missions-rewards/icon-star.png"),alt:"eligible-icon"}),(0,r.jsx)("span",{children:e("Label_General_Eligible")})]}),(0,r.jsxs)("div",{className:u()(nG().legendItem,nG().claimedItem),children:[(0,r.jsx)("img",{src:a("/desktop/img/event/missions-rewards/icon-check.png"),alt:"claimed-icon"}),(0,r.jsx)("span",{children:e("Label_Promotion_Tag_Claimed")})]}),(0,r.jsxs)("div",{className:u()(nG().legendItem,nG().unclaimedItem),children:[(0,r.jsx)("img",{src:a("/desktop/img/event/missions-rewards/icon-ineligible.png"),alt:"unclaimed-icon"}),e("Label_General_Unclaimed")]})]})}),(0,r.jsx)("div",{className:nG().gridContainer,children:l.map(e=>{let{dayIndex:l,dailyDisplayStatus:c}=e;return(0,r.jsxs)("div",{className:u()(nG().gridItem,nG()[t(c)],{[nG().active]:l===d}),onClick:()=>{o(l)},children:[(0,r.jsx)("span",{className:u()(nG().dayText,{[nG().active]:l===i&&n}),children:(0,r.jsx)(p.cC,{i18nKey:"Label_30Days_Missions_Day_Title",values:{day:l}})}),(0,r.jsx)("div",{className:nG().statusIcon,children:(0,r.jsx)("img",{src:a(s(c,"desktop")),alt:"status-icon"})})]},"".concat(l,"-").concat(c))})})]})},nS=n(21840),nD=n.n(nS),mainMission=()=>{let{getBannerUrl:e,custAvailableCampaignsData:a}=(0,v.U5)(),{userInfo:{actStatus:n}}=(0,v.aC)(),{activeMission:t,getStatusClass:s,getStatusIcon:l,getStatusText:i}=(0,m.kim)(),{dailyDisplayStatus:o,dayIndex:c}=null!=t?t:{};return(0,r.jsxs)("div",{className:u()(nD().mainMissionContainer,{[nD().nonFTD]:!(null==a?void 0:a.isRunning)&&n===X.kyP.NonDeposit}),children:[(0,r.jsxs)("div",{className:u()(nD().header,{[nD().failed]:o===G.mZ.Unclaimed||o===G.mZ.Locked}),children:[(0,r.jsxs)("div",{className:nD().titleWithIcon,children:[(0,r.jsx)("img",{src:e("/desktop/img/event/missions-rewards/icon-calendar.png"),alt:"calendar-icon"}),(0,r.jsx)(p.cC,{i18nKey:"Label_30Days_Missions_Day_Title",values:{day:c}})]}),(0,r.jsxs)("button",{className:u()(nD().buttonHeader,nD()[s(o)]),children:[(0,r.jsx)("img",{src:e(l(o,"desktop")),alt:"status-icon"}),(0,r.jsx)("span",{children:i(o)})]})]}),(0,r.jsxs)("div",{className:nD().content,children:[(0,r.jsx)(mainMission_JourneyProgress,{}),(0,r.jsx)(mainMission_DailyMission,{})]})]})},nR=n(61090),nV=n.n(nR),termsAndConditions=()=>{let{t:e}=(0,p.$G)(),{getBannerUrl:a}=(0,v.U5)(),{userInfo:{langId:n,currencyId:t}}=(0,v.aC)(),s=Array.from({length:15},(e,a)=>{let n="Label_30Days_Missions_Terms_Conditions_".concat(a+1);return 4===a?"".concat(n,"_").concat(t):n});return(0,r.jsxs)("div",{className:nV().termsAndConditionsContainer,children:[(0,r.jsxs)("div",{className:nV().header,children:[(0,r.jsx)("img",{src:a("/desktop/img/event/missions-rewards/icon-t&c.png"),alt:"T&C-icon"}),(0,r.jsx)("span",{className:nV().title,children:e("Label_Join_SignUpTerms2").toUpperCase()})]}),(0,r.jsx)("ol",{className:nV().content,children:s.map(e=>(0,r.jsx)("li",{className:nV().termItem,children:(0,r.jsx)("span",{className:nV().text,children:(0,r.jsx)(p.cC,{i18nKey:e,components:{a:(0,r.jsx)("a",{className:nV().link,href:a("/Static/".concat(n,"/Promotion.html")),target:"_blank",rel:"noreferrer noopener"})}})})},e))})]})},nA=n(13158),nE=n.n(nA),titleAndPoints=()=>{let{t:e}=(0,p.$G)(),{getBannerUrl:a}=(0,v.U5)(),{nowRewardPoint:n=0,totalRewardPoint:t=0}=(0,m.kim)();return(0,r.jsxs)("div",{className:nE().titleAndPointsContainer,children:[(0,r.jsxs)("div",{className:nE().leftContent,children:[(0,r.jsx)("div",{className:nE().championIcon,children:(0,r.jsx)("img",{src:a("/desktop/img/event/missions-rewards/icon-champion.png"),alt:"champion-icon"})}),(0,r.jsx)("h1",{className:nE().title,children:e("Label_30Days_Missions_Main_Title")})]}
1),(0,r.jsxs)("div",{className:nE().pointsBox,children:[(0,r.jsxs)("div",{className:nE().pointsHeader,children:[(0,r.jsx)("span",{className:nE().label,children:e("Label_30Days_Missions_Main_Total_Points")}),(0,r.jsxs)("div",{className:nE().pointsValue,children:[(0,r.jsx)("span",{className:nE().current,children:n}),(0,r.jsxs)("span",{className:nE().total,children:[" / ",t]})]})]}),(0,r.jsx)("div",{className:nE().progressBarContainer,children:(0,r.jsx)("div",{className:nE().progressBar,style:{width:"".concat(Math.min(n/t*100,100)||0,"%")}})})]})]})},thirty_days_mission=()=>{let{t:e}=(0,p.$G)(),{isloading:a}=(0,m.kim)(),{getBannerUrl:n}=(0,v.U5)();return a?(0,r.jsx)(nT.Z,{}):(0,r.jsx)("div",{className:u()("rightModule"),children:(0,r.jsxs)("div",{className:"infoModule",children:[(0,r.jsx)("div",{className:"inside-title",children:(0,r.jsxs)("span",{children:[(0,r.jsx)("img",{className:"icon-champion",src:n("/desktop/img/event/missions-rewards/icon-champion-white.png"),alt:"champion-icon-white"}),e("Label_30Days_Missions_Rewards")]})}),(0,r.jsxs)("div",{style:{padding:"24px 20px"},children:[(0,r.jsx)(titleAndPoints,{}),(0,r.jsx)(mainMission,{}),(0,r.jsx)(termsAndConditions,{})]})]})})},nW=n(67223),nF=n.n(nW),triton_poker_Banner=()=>{let{t:e}=(0,p.$G)(),{getBannerUrl:a}=(0,v.U5)();return(0,r.jsxs)("div",{className:nF().banner,children:[(0,r.jsx)("img",{src:a("/desktop/img/event/triton-poker-series-jeju-2025/banner-bg.jpg"),alt:"triton-poker-banner"}),(0,r.jsxs)("div",{className:nF().content,children:[(0,r.jsx)("p",{children:e("Label_TritonPoker_Banner_Title_1")}),(0,r.jsx)("p",{children:e("Label_TritonPoker_Banner_Title_2")})]})]})},nO=n(34445),nH=n(4535),nU=n.n(nH),triton_poker_Countdown=()=>{let{t:e}=(0,p.$G)(),{days:a,hours:n,minutes:t,seconds:s}=(0,d.dC)(nO.bs.TRITON_POKER.period.end);return(0,r.jsxs)("div",{className:nU().countdown,children:[(0,r.jsx)("p",{className:nU().mainTitle,children:e("Label_TritonPoker_Countdown")}),(0,r.jsxs)("div",{className:nU().countdownDate,children:[(0,r.jsxs)("div",{className:nU().countdownItem,children:[(0,r.jsx)("p",{className:nU().countdownNumber,children:a}),(0,r.jsx)("p",{className:nU().unit,children:e("Label_General_Days")})]}),(0,r.jsxs)("div",{className:nU().countdownItem,children:[(0,r.jsx)("p",{className:nU().countdownNumber,children:n}),(0,r.jsx)("p",{className:nU().unit,children:e("Label_General_Hours")})]}),(0,r.jsxs)("div",{className:nU().countdownItem,children:[(0,r.jsx)("p",{className:nU().countdownNumber,children:t}),(0,r.jsx)("p",{className:nU().unit,children:e("Label_General_Minutes")})]}),(0,r.jsxs)("div",{className:nU().countdownItem,children:[(0,r.jsx)("p",{className:nU().countdownNumber,children:s}),(0,r.jsx)("p",{className:nU().unit,children:e("Label_General_Seconds")})]})]})]})},nZ=n(92526),nq=n.n(nZ),triton_poker_Terms=()=>{let{t:e}=(0,p.$G)(),{getBannerUrl:a,getPHPBannerUrl:n}=(0,v.U5)(),{userInfo:{langId:t,currencyId:s}}=(0,v.aC)();return(0,r.jsxs)("div",{className:nq().terms,children:[(0,r.jsx)("div",{className:nq().title,children:e("Label_General_TermsConditions")}),(0,r.jsx)("div",{className:nq().content,children:(0,r.jsxs)("ol",{children:[(0,r.jsx)("li",{children:e("Label_TritonPoker_Terms_1_".concat(s))}),(0,r.jsx)("li",{children:(0,r.jsx)(p.cC,{i18nKey:"Label_TritonPoker_Terms_2",components:{span:(0,r.jsx)("span",{})}})}),(0,r.jsx)("li",{children:e("Label_TritonPoker_Terms_3")}),(0,r.jsx)("li",{children:e("Label_TritonPoker_Terms_4")}),(0,r.jsx)("li",{children:e("Label_TritonPoker_Terms_5")}),(0,r.jsx)("li",{children:e("Label_TritonPoker_Terms_6")}),(0,r.jsx)("li",{children:e("Label_TritonPoker_Terms_7")}),(0,r.jsx)("li",{children:e("Label_TritonPoker_Terms_8")}),(0,r.jsx)("li",{children:e("Label_TritonPoker_Terms_9")}),(0,r.jsx)("li",{children:e("Label_TritonPoker_Terms_10")}),(0,r.jsx)("li",{children:e("Label_TritonPoker_Terms_11")}),(0,r.jsx)("li",{children:e("Label_TritonPoker_Terms_12")}),(0,r.jsx)("li",{children:(0,r.jsx)(p.cC,{i18nKey:"Label_TritonPoker_Terms_13",components:{span:(0,r.jsx)("span",{})}})}),(0,r.jsx)("li",{children:(0,r.jsx)(p.cC,{i18nKey:"Label_TritonPoker_Terms_14",components:{a:(0,r.jsx)("a",{href:(0,L.bX)()?n("/Static/".concat(t,"/Promotion.html")):a("/Static/".concat(t,"/Promotion.html")),target:"_blank",rel:"noreferrer noopener"})}})})]})})]})},nY=n(33512),nJ=n.n(nY),n$=n(94176),nK=n.n(n$),main_content_Information=()=>{let{t:e}=(0,p.$G)(),{getBannerUrl:a}=(0,v.U5)();return(0,r.jsxs)("div",{className:nK().information,children:[(0,r.jsxs)("div",{className:nK().informationItem,children:[(0,r.jsx)("img",{src:a("/desktop/img/event/triton-poker-series-jeju-2025/triton-points-icon.png"),alt:"triton-points-icon"}),(0,r.jsx)("p",{children:e("Label_TritonPoker_Info_1")}
1)]}),(0,r.jsxs)("div",{className:nK().informationItem,children:[(0,r.jsx)("img",{src:a("/desktop/img/event/triton-poker-series-jeju-2025/triton-points-icon.png"),alt:"triton-points-icon"}),(0,r.jsx)("p",{children:e("Label_TritonPoker_Info_2")})]}),(0,r.jsxs)("div",{className:nK().informationItem,children:[(0,r.jsx)("img",{src:a("/desktop/img/event/triton-poker-series-jeju-2025/triton-points-icon.png"),alt:"triton-points-icon"}),(0,r.jsx)("p",{children:e("Label_TritonPoker_Info_3")})]})]})},nz=n(60577),nQ=n.n(nz);let nX={LEADERBOARD_SIZE:20,TOP_RANK_THRESHOLD:3};var main_content_Leaderboard=()=>{let{t:e}=(0,p.$G)(),{userInfo:{userName:a},auth:{isLogin:n}}=(0,v.aC)(),{getBannerUrl:t}=(0,v.U5)(),{data:{data:s=[]}={},isFetching:l}=(0,X.I3p)({TopNum:nX.LEADERBOARD_SIZE,EventType:G.KL.TritonPoker},{refetchOnMountOrArgChange:!0}),{data:{data:i={custRank:0,point:0,status:0}}={},isFetching:c}=(0,X.pBP)({EventType:G.KL.TritonPoker},{skip:!n,refetchOnMountOrArgChange:!0}),d=(0,x.useMemo)(()=>Array.from({length:nX.LEADERBOARD_SIZE},()=>({custId:(0,T.Z)(),userName:"-",point:0})),[]),m=(0,x.useMemo)(()=>s.length>0?s:d,[s,d]),formatPoints=(e,a)=>e>=0&&"-"!==a?e.toLocaleString():"-",getRankIconUrl=e=>{let a=e<=nX.TOP_RANK_THRESHOLD&&e>0?"no".concat(e):"normal";return t("/desktop/img/event/triton-poker-series-jeju-2025/rank-icon-".concat(a,".png"))},{custRank:_=0,point:h=0}=i;return l||c?(0,r.jsx)(o.gb,{}):(0,r.jsxs)("div",{className:nQ().leaderboard,children:[(0,r.jsx)("p",{className:nQ().title,children:e("Label_General_LeaderBoard")}),(0,r.jsxs)("div",{className:u()(nQ().leaderboardContent,{[nQ().isLogin]:n}),children:[(0,r.jsxs)("div",{className:nQ().leaderboardHead,children:[(0,r.jsx)("div",{className:nQ().item,children:e("Label_LeaderBoard_Ranking")}),(0,r.jsx)("div",{className:nQ().item,children:e("Label_General_Username")}),(0,r.jsx)("div",{className:nQ().item,children:e("Label_LeaderBoard_Points")})]}),(0,r.jsxs)("div",{className:nQ().leaderboardData,children:[null==m?void 0:m.map((e,a)=>{let n=a+1;return(0,r.jsxs)("div",{className:nQ().leaderboardRow,children:[(0,r.jsxs)("div",{className:nQ().rankColumn,children:[(0,r.jsx)("img",{src:getRankIconUrl(n),alt:"rank"}),(0,r.jsxs)("span",{className:nQ().rankText,children:["TOP ",n]})]}),(0,r.jsx)("div",{className:nQ().usernameColumn,children:e.userName}),(0,r.jsx)("div",{className:nQ().pointsColumn,children:formatPoints(e.point,e.userName)})]},e.custId)}),n&&(0,r.jsxs)("div",{className:u()(nQ().leaderboardRow,nQ().currentUser),children:[(0,r.jsxs)("div",{className:nQ().rankColumn,children:[(0,r.jsx)("img",{src:getRankIconUrl(_),alt:"rank"}),(0,r.jsx)("span",{children:_<=20&&_>0?"TOP ".concat(_):"20+"})]}),(0,r.jsx)("div",{className:nQ().usernameColumn,children:a}),(0,r.jsx)("div",{className:nQ().pointsColumn,children:h.toLocaleString()})]})]})]})]})},n0=n(42274),n1=n.n(n0),n2=n(69112),n4=n.n(n2),main_content_Rewards=()=>{let{t:e}=(0,p.$G)(),{getBannerUrl:a}=(0,v.U5)(),{userInfo:{currencyId:n}}=(0,v.aC)();return(0,r.jsxs)("div",{className:n4().rewardList,children:[(0,r.jsx)("p",{className:n4().mainTitle,children:e("Label_General_Rewards")}),(0,r.jsxs)("div",{className:n4().rewardListItem,children:[(0,r.jsxs)("div",{className:n4().rewardItem,children:[(0,r.jsxs)("div",{className:u()(n4().rewardItemTitle,n4().champion),children:[(0,r.jsx)("div",{className:n4().tier,children:e("Label_TritonPoker_Winning_Tier")}),(0,r.jsx)("div",{className:n4().title,children:e("Label_LeaderBoard_RankChampion")})]}),(0,r.jsxs)("div",{className:n4().rewardItemContent,children:[(0,r.jsx)("img",{src:a("/desktop/img/event/triton-poker-series-jeju-2025/leaderboard-reward-icon-champion.png"),alt:"champion"}),(0,r.jsxs)("div",{className:u()(n4().content,n4().specialContent),children:[(0,r.jsxs)("div",{children:[e("Label_TritonPoker_Reward_Seat"),"\xa0",(0,r.jsx)(p.cC,{i18nKey:"Label_TritonPoker_Reward_Buy_In_2",components:{span:(0,r.jsx)("span",{})}})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(p.cC,{i18nKey:"Label_TritonPoker_Reward_Fly",components:{span:(0,r.jsx)("span",{})}}),"\xa0",(0,r.jsx)(p.cC,{i18nKey:"Label_TritonPoker_Reward_2Pax",components:{span:(0,r.jsx)("span",{})}})]})]})]})]}),(0,r.jsxs)("div",{className:n4().rewardItem,children:[(0,r.jsxs)("div",{className:n4().rewardItemTitle,children:[(0,r.jsx)("div",{className:n4().tier,children:e("Label_TritonPoker_Winning_Tier")}),(0,r.jsx)("div",{className:n4().title,children:(0,r.jsx)(p.cC,{i18nKey:"Label_TritonPoker_Second_Place",components:{sup:(0,r.jsx)("sup",{})}})})]}),(0,r.jsxs)("div",{className:n4().rewardItemContent,children:[(0,r.jsx)("img",{src:a("/desktop/img/event/triton-poker-series-jeju-2025/leaderboard-reward-icon-2.png"),alt:"reward-icon-2"}),(0,r.jsxs)("div",{className:n4().content,children:[(0,r.jsxs)("div",{children:[e("Label_TritonPoker_Reward_Seat"),"\xa0",(0,r.jsx)(p.cC,{i18nKey:"Label_TritonPoker_Reward_Buy_In_2",components:{span:(0,r.jsx)("span",{})}})]}),(0,r.jsx)("div",{children:(0,r.jsx)(p.cC,{i18nKey:"Label_TritonPoker_Reward_Fly",components:{span:(0,r.jsx)("span",{})}})})]})]})]}),(0,r.jsxs)("div",{className:n4().rewardItem,children:[(0,r.jsxs)("div",{className:n4().rewardItemTitle,children:[(0,r.jsx)("div",{className:n4().tier,children:e("Label_TritonPoker_Winning_Tier")}),(0,r.jsx)("div",{className:n4().title,children:(0,r.jsx)(p.cC,{i18nKey:"Label_TritonPoker_Third_Place",components:{sup:(0,r.jsx)("sup",{})}})})]}),(0,r.jsxs)("div",{className:n4().rewardItemContent,children:[(0,r.jsx)("img",{src:a("/desktop/img/event/triton-poker-series-jeju-2025/leaderboard-reward-icon-2.png"),alt:"reward-icon-3"}),(0,r.jsxs)("div",{className:n4().content,children:[(0,r.jsxs)("div",{children:[e("Label_TritonPoker_Reward_Seat"),"\xa0",(0,r.jsx)(p.cC,{i18nKey:"Label_TritonPoker_Reward_Buy_In_1",components:{span:(0,r.jsx)("span",{})}})]}),(0,r.jsx)("div",{children:(0,r.jsx)(p.cC,{i18nKey:"Label_TritonPoker_Reward_Fly",components:{span:(0,r.jsx)("span",{})}})})]})]})]}),(0,r.jsxs)("div",{className:n4().rewardItem,children:[(0,r.jsxs)("div",{className:n4().rewardItemTitle,children:[(0,r.jsx)("div",{className:n4().tier,children:e("Label_TritonPoker_Winning_Tier")}),(0,r.jsx)("div",{className:n4().title,children:(0,r.jsx)(p.cC,{i18nKey:"Label_TritonPoker_Fourth_Place",components:{sup:(0,r.jsx)("sup",{})}})})]}),(0,r.jsxs)("div",{className:n4().rewardItemContent,children:[(0,r.jsx)("img",{src:a("/desktop/img/event/triton-poker-series-jeju-2025/leaderboard-reward-icon-4.png"),alt:"reward-icon-4"}),(0,r.jsx)("div",{className:n4().content,children:e("Label_TritonPoker_Reward_IPhone")})]})]}),(0,r.jsxs)("div",{className:n4().rewardItem,children:[(0,r.jsxs)("div",{className:n4().rewardItemTitle,children:[(0,r.jsx)("div",{className:n4().tier,children:e("Label_TritonPoker_Winning_Tier")}),(0,r.jsx)("div",{className:n4().title,children:(0,r.jsx)(p.cC,{i18nKey:"Label_TritonPoker_5-10_Place",components:{sup:(0,r.jsx)("sup",{})}})})]}),(0,r.jsxs)("div",{className:n4().rewardItemContent,children:[(0,r.jsx)("img",{src:a("/desktop/img/event/triton-poker-series-jeju-2025/leaderboard-reward-icon-5.png"),alt:"reward-icon-5"}),(0,r.jsx)("div",{className:n4().content,children:(0,r.jsx)(p.cC,{i18nKey:"Label_TritonPoker_Reward_Free_Bet_".concat(n),components:{span:(0,r.jsx)("span",{})}})})]})]}),(0,r.jsxs)("div",{className:n4().rewardItem,children:[(0,r.jsxs)("div",{className:n4().rewardItemTitle,children:[(0,r.jsx)("div",{className:n4().tier,children:e("Label_TritonPoker_Winning_Tier")}),(0,r.jsx)("div",{className:n4().title,children:(0,r.jsx)(p.cC,{i18nKey:"Label_TritonPoker_11-20_Place",components:{sup:(0,r.jsx)("sup",{})}})})]}),(0,r.jsxs)("div",{className:n4().rewardItemContent,children:[(0,r.jsx)("img",{src:a("/desktop/img/event/triton-poker-series-jeju-2025/leaderboard-reward-icon-6.png"),alt:"reward-icon-6"}),(0,r.jsx)("div",{className:n4().content,children:e("Label_TritonPoker_Reward_Merchandise")})]})]})]})]})},main_content_MainContent=()=>{let{getBannerUrl:e}=(0,v.U5)();return(0,r.jsxs)("div",{className:n1().mainContent,style:{backgroundImage:"url(".concat(e("/desktop/img/event/triton-poker-series-jeju-2025/main-bg.jpg"),")"),backgroundSize:"cover",backgroundPosition:"center -2vw",backgroundRepeat:"no-repeat"},children:[(0,r.jsx)(main_content_Information,{}),(0,r.jsx)(main_content_Leaderboard,{}),(0,r.jsx)(main_content_Rewards,{})]})},triton_poker_TritonPoker=()=>(0,r.jsxs)("main",{className:nJ().tritonPoker,children:[(0,r.jsx)(triton_poker_Banner,{}),(0,r.jsx)(triton_poker_Countdown,{}),(0,r.jsx)(main_content_MainContent,{}),(0,r.jsx)(triton_poker_Terms,{})]}),n8=n(26782),n5=n.n(n8);let n3={en:{email:"[email protected]",facebook:"https://www.facebook.com/12betmy/",y
1outube:"https://www.youtube.com/user/12BetMalaysia",liveChatGroup:"27"},vn:{email:"[email protected]",facebook:"https://www.facebook.com/Official12BET/",youtube:"https://www.youtube.com/c/12BETMalaysiaOfficialPage",liveChatGroup:"3"},th:{email:"[email protected]",facebook:"https://www.facebook.com/Official12BET/",youtube:"https://www.youtube.com/c/12BETMalaysiaOfficialPage",liveChatGroup:"4"},id:{email:"[email protected]",facebook:"https://www.facebook.com/Official12BET/",youtube:"https://www.youtube.com/c/12BETMalaysiaOfficialPage",liveChatGroup:"5"},ko:{facebook:"https://www.facebook.com/Official12BET/",twitter:"https://twitter.com/12BETKO",liveChatGroup:"6"},bd:{email:"[email protected]",facebook:"https://www.facebook.com/Official12BET/",youtube:"https://www.youtube.com/c/12BETMalaysiaOfficialPage",liveChatGroup:"11"},cs:{email:"[email protected]",facebook:"https://www.facebook.com/12betmy/",youtube:"https://www.youtube.com/user/12BetMalaysia",liveChatGroup:"2"},te:{email:"[email protected]",facebook:"https://www.facebook.com/Official12BET/",youtube:"https://www.youtube.com/c/12BETMalaysiaOfficialPage",liveChatGroup:"8"}},n6=n3.en,getLiveChatUrl=e=>"https://secure.livechatinc.com/licence/7903821/v2/open_chat.cgi?group=".concat(e,"&name=");var under_maintenance=e=>{let{UTCTimeStart:a,UTCTimeEnd:n}=e,{t}=(0,p.$G)(),{locale:s}=(0,f.useRouter)(),[l,i]=(0,x.useState)({startTime:"",endTime:"",formattedOffset:""}),o=(0,x.useMemo)(()=>n3[s]||n6,[s]),c=(0,x.useMemo)(()=>getLiveChatUrl(o.liveChatGroup),[o.liveChatGroup]),openLiveChat=()=>{window.open(c,"_blank","height=475,width=400")};return(0,x.useEffect)(()=>{let e=I().unix(a).format(E.i$),t=I().unix(n).format(E.i$),s=I()().utcOffset()/60,l="GMT".concat(s>=0?"+":"").concat(s);i({startTime:e,endTime:t,formattedOffset:l})},[a,n]),(0,r.jsxs)("div",{className:n5().maintenancePage,children:[(0,r.jsxs)(aF(),{children:[(0,r.jsx)("meta",{httpEquiv:"Content-Type",content:"text/html; charset=utf-8"}),(0,r.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),(0,r.jsx)("meta",{name:"description",content:""}),(0,r.jsx)("meta",{name:"author",content:""}),(0,r.jsx)("title",{children:t("Label_Maintenance_PageTitle")}),(0,r.jsx)("link",{rel:"shortcut icon",href:"/underMaintenance/img/favicon.ico"})]}),(0,r.jsx)("div",{className:n5().topDiv,children:(0,r.jsxs)("div",{className:n5().container,children:[(0,r.jsx)("h1",{className:n5().logo,children:(0,r.jsx)("img",{src:"https://banner.picasso12.com/desktop/img/12bet-logo.png",alt:"12BET Logo"})}),(0,r.jsx)("div",{className:n5().liveChat,children:(0,r.jsxs)("button",{type:"button",onClick:openLiveChat,className:n5().btnRed,children:[(0,r.jsx)("i",{className:n5().commentIcon}),(0,r.jsx)("span",{children:t("Label_General_LiveChat")})]})})]})}),(0,r.jsx)("div",{className:n5().overlay}),(0,r.jsx)("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,className:n5().videoBg,preload:"auto",children:(0,r.jsx)("source",{src:"https://banner.picasso12.com/errorpage/UM/img/bg.webm",type:"video/mp4"})}),(0,r.jsx)("div",{className:n5().contentWrap,children:(0,r.jsxs)("div",{className:n5().container,children:[(0,r.jsxs)("div",{className:n5().masthead,children:[(0,r.jsx)("h1",{children:t("Label_Maintenance_Title")}),(0,r.jsx)("p",{children:t("Label_Maintenance_Upgrading")}),(0,r.jsx)("p",{children:t("Label_Maintenance_BackAt")}),(0,r.jsxs)("h2",{children:[l.endTime," (",l.formattedOffset,")"]})]}),(0,r.jsxs)("div",{className:n5().casinoWrap,children:[(0,r.jsx)("img",{src:"/underMaintenance/img/chips-cards.png",className:n5().chip1,alt:"Chips"}),(0,r.jsx)("img",{src:"/underMaintenance/img/chips.png",className:n5().chip2,alt:"Chips"}),(0,r.jsx)("a",{href:c,rel:"nofollow noreferrer",target:"_blank",className:n5().btnRed,children:(0,r.jsx)("u",{children:t("Label_General_LiveChat")})})]}),(0,r.jsxs)("p",{className:n5().contact,children:[t("Label_Maintenance_StillHaveQuestions")," ",(0,r.jsx)("button",{type:"button",onClick:openLiveChat,className:n5().linkButton,children:(0,r.jsx)("b",{children:t("Label_Maintenance_24_7_LiveChat")})})]}),(0,r.jsxs)("div",{className:n5().socialMedia,children:[o.email&&(0,r.jsx)("a",{href:"mailto:".concat(o.email),children:(0,r.jsx)("img",{src:"/underMaintenance/img/icon-mail.png",alt:"Email"})}),o.twitter&&(0,r.jsx)("a",{href:o.twitter,target:"_blank",rel:"noreferrer",children:(0,r.jsx)("img",{src:"/underMaintenance/img/icon-twitter.png",alt:"Twitter"})}),(0,r.jsx)("a",{href:o.facebook,target:"_blank",rel:"noreferrer",children:(0,r.jsx)("img",{src:"/underMaintenance/img/icon-facebook.png",alt:"Facebook"})}),o.youtube&&(0,r.jsx)("a",{href:o.youtube,target:"_blank",rel:"noreferrer",children:(0,r.jsx)("img",{src:"/underMaintenance/img/icon-youtube.png",alt:"YouTube"})})]})]})})]})}
1,n9=n(24636),n7=n.n(n9),festival_gift_FestivalGift=()=>{let{t:e}=(0,p.$G)(),{getBannerUrl:a}=(0,v.U5)();return(0,r.jsxs)("div",{className:n7().festivalGiftContainer,children:[(0,r.jsx)("img",{className:n7().vipLevelImg,src:a("/desktop/img/coming-soon.png"),alt:"coming soon"}),(0,r.jsx)("div",{children:e("Label_VIP_Lobby_ComingSoon")})]})},te=n(4790),ta=n.n(te),vip_level_info_VipLevelInfo=()=>{let{t:e}=(0,p.$G)(),{userInfo:{currencyId:a}}=(0,v.aC)(),{getBannerUrl:n}=(0,v.U5)(),{currentVIPLevelID:t,allVipLevels:s,setCurrentVIPLevelID:l,custVipInfo:i,isVipGrowthInfoLoading:o}=(0,m.pi2)(),c=(0,eo.Z)(i,"currentTurnover",0),d=(0,eo.Z)(i,"levelName",0),_=(0,eo.Z)(i,"levelId",0),h=(0,eo.Z)(i,"unClaimedVipLevels",[]),b=s.length-1,x=(0,L.VI)(_,b);return(0,r.jsxs)("div",{className:ta().vipLevelInfo,children:[(0,r.jsx)("div",{className:ta().info,children:o?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(aB.Od,{width:"5vw",height:"5vw",borderRadius:"50%"}),(0,r.jsxs)("div",{className:ta().vipLevelInfoText,children:[(0,r.jsx)(aB.Od,{width:"15vw",height:"2vh",marginBottom:12}),(0,r.jsx)(aB.Od,{width:"15vw",height:"2vh",marginBottom:8}),(0,r.jsx)(aB.Od,{width:"15vw",height:"2vh"})]})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("img",{className:ta().vipLevelImg,src:n("/desktop/img/growth-vip/icon/growth-vip".concat(_,".png")),alt:"Level Logo"}),(0,r.jsxs)("div",{className:ta().vipLevelInfoText,children:[(0,r.jsxs)("div",{className:ta().vipLevelName,children:[e("Label_VIP_Lobby_Current_VIP_Level")," ",d]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:ta().turnoverText,children:e("Label_VIP_Lobby_Total_Valid_Turnover")}),(0,r.jsx)("div",{className:ta().turnoverValue,children:(0,L.xP)((0,L.Et)(c,0),a)})]})]})]})}),(0,r.jsxs)("div",{className:ta().vipLevelContainer,children:[(0,r.jsx)("div",{className:ta().vipLevelTitle,children:e("Label_VIP_Lobby_VIP_Level")}),(0,r.jsxs)("div",{className:ta().progressBarContainer,children:[(0,r.jsx)("div",{className:ta().levelimgContainer,children:s.map((e,a)=>{let{levelId:s,levelName:i}=e,o=s>_?"growth-vip".concat(a,"-locked"):"growth-vip".concat(a),c=h.includes(s);return(0,r.jsxs)("div",{style:{left:"".concat((0,L.VI)(a,b),"%")},className:ta().imgContainer,onClick:()=>l(s),children:[(0,r.jsx)("img",{className:u()(ta().levelImg,{[ta().activeLevelImg]:s===t}),src:n("/desktop/img/growth-vip/icon/".concat(o,".png")),alt:i}),(0,r.jsxs)("div",{className:ta().levelImgText,children:[c&&(0,r.jsx)("div",{className:ta().dot}),(0,r.jsx)("div",{className:u()({[ta().activeText]:s===t}),children:i})]})]},s)})}),(0,r.jsx)("div",{className:ta().progressBar,children:(0,r.jsx)("div",{style:{width:"".concat(x,"%")},className:ta().progressBarFill})})]})]})]})},tn=n(18916),tt=n.n(tn),vip_next_level_turnover_VipNextLevelTurnover=()=>{let{t:e}=(0,p.$G)(),{userInfo:{currencyId:a}}=(0,v.aC)(),{custVipInfo:n}=(0,m.pi2)(),t=(0,eo.Z)(n,"currentTurnover",0),s=(0,eo.Z)(n,"targetTurnover",0),l=(0,eo.Z)(n,"levelName",""),i=(0,eo.Z)(n,"targetLevelName",""),o=(0,eo.Z)(n,"levelId",0),c=(0,eo.Z)(n,"targetLevelId",0),d=o>=c,_=Math.ceil(s-t),u=(0,L.FZ)(c),h=(0,L.VI)(t,s);return(0,r.jsx)("div",{className:tt().nextLeveContainer,children:u?(0,r.jsx)("div",{className:tt().infoContainer,children:(0,r.jsx)("div",{className:tt().invitedOnly,children:e("Label_VIP_Lobby_Invited_Only")})}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:tt().nextLevelTitle,children:e("Label_VIP_Lobby_Next _VIP_Level_Turnover")}),(0,r.jsxs)("div",{className:tt().infoContainer,children:[(0,r.jsx)("div",{className:tt().currentVipLevel,children:l}),(0,r.jsxs)("div",{className:tt().progressBarContainer,children:[(0,r.jsxs)("p",{className:tt().turnoverValue,children:[(0,L.Et)(t,0)," /"," ",(0,L.Et)(s,0)]}),(0,r.jsx)("div",{className:tt().progressBar,children:(0,r.jsx)("div",{style:{width:"".concat(d?100:h,"%")},className:tt().progressBarFill})}),(0,r.jsx)("p",{className:tt().turnoverText,children:d?e("Label_General_Achieved"):(0,r.jsx)(p.cC,{i18nKey:"Label_VIP_Lobby_Turnover_To Level_Up",values:{turnover:(0,L.xP)((0,L.Et)(_,0),a)},components:{span:(0,r.jsx)("span",{style:{color:"#CBA465"}})}})})]}),(0,r.jsx)("div",{className:tt().nextVipLevel,children:!d&&i})]})]})})},ts=n(98614),tl=n(47746),ti=n.n(tl),vip_privilege_items_VipPrivilegeItems=()=>{let{t:e}=(0,ts.$G)(),a=(0,x.useRef)(null),{privilegeInfos:n,custVipInfo:t}=(0,m.pi2)(),{userInfo:{currencyId:s}}=(0,v.aC)(),l=(0,eo.Z)(t,"targetLevelName",0),i=(0,eo.Z)(t,"targetLevelId",0),o=(0,L.FZ)(i),c=(0,L.$y)(s);return(0,r.jsxs)("div",{className:ti().vipPrivilegeItems,children:[(0,r.jsx)("div",{className:ti().privilegeTitle,children:e("Label_VIP_Lobby_Privilege_Title",{level:l})}),(0,r.jsx)("div",{ref:a,className:ti().privilegeContainer,children:n.filter(e=>{if(c){let a=e.type===N.E9.UpgradePoints||e.type===N.E9.PointMultiplier;if(a)return!1}return!0}).map(a=>{let{resourceKey:n,value:t,type:l}=a,i=t;switch(l){case N.E9.UpgradeBonus:case N.E9.DailyWithdrawalLimit:i=(0,L.xP)(t,s);break;case N.E9.VIPWeeklyMission:i=e("Label_VIP_Lobby_".concat(t));break;default:i=t}return o&&(i=e("Label_VIP_Lobby_Invited_Only")),(0,r.jsxs)("div",{className:ti().privilegeItem,children:[(0,r.jsx)("div",{className:ti().privilegeValue,children:i}),(0,r.jsx)("div",{className:ti().privilegeLabel,children:e("Label_VIP_Lobby_".concat(n))})]},n)})})]})},tr=n(5123),to=n(84893),tc=n(8546),td=n.n(tc),vip_rebate_table_VipRebateTable=()=>{let{t:e}=(0,p.$G)(),{getBannerUrl:a}=(0,v.U5)(),{modal:n}=(0,c.JT)(),{custVipInfo:t,exclusiveRebateInfos:s,isVipGrowthInfoLoading:l,currentVIPLevelID:i}=(0,m.pi2)(),{userInfo:{currencyId:o,langId:d}}=(0,v.aC)(),_=(0,to.TL)(),u=(0,eo.Z)(t,"targetLevelName",0),h=(0,eo.Z)(t,"targetLevelId",0),b=(0,L.FZ)(h),j=(0,eo.Z)(t,"isRebateApplied",!1),g=(0,L.$y)(o),[N]=(0,X.rbY)(),f=(0,x.useRef)(null),[y,k]=(0,x.useState)(0),handleApplyRebate=async()=>{try{await N({langId:d}).unwrap(),_((0,X.dzI)({targetVipLevelId:i})),n.info(e("Label_ApplicationSuccessful"),{title:e("Label_Join_Congratulations")})}catch(e){n.error(e.message)}};return(0,x.useLayoutEffect)(()=>
1{if(!l&&f.current){let e=f.current.offsetHeight;k(e)}},[s,l]),(0,r.jsxs)("div",{className:td().vipRebateTable,children:[(0,r.jsxs)("div",{className:td().rebateTitleContainer,children:[(0,r.jsx)("div",{className:td().rebateTitle,children:e("Label_VIP_Lobby_Exclusive_Rebate_Title",{level:u})}),j&&(0,r.jsxs)("div",{className:td().appliedStatus,children:[(0,r.jsx)("i",{className:"icon icon-checkmark"}),(0,r.jsx)("span",{children:e("Label_VIP_Lobby_RebateApplied")})]})]}),(0,r.jsxs)("div",{className:td().rebateContent,children:[(0,r.jsx)("div",{ref:f,className:td().rebateTableSection,children:(0,r.jsxs)("table",{className:td().rebateTable,children:[(0,r.jsx)("thead",{children:(0,r.jsx)("tr",{children:(0,r.jsx)("th",{className:td().headerCenter,colSpan:2,children:e("Label_VIP_Lobby_Exclusive_Rebate_Table_Header")})})}),(0,r.jsx)("tbody",{children:s.filter(e=>!g||"SABA_SPORTS"!==e.resourceKey).map(a=>{let{resourceKey:n,rate:t}=a,s="SABA_SPORTS"===n;return(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{className:td().categoryCell,children:e("Label_VIP_Lobby_".concat(n))}),(0,r.jsx)("td",{className:td().valueCell,children:b?e("Label_VIP_Lobby_Invited_Only"):s?(0,r.jsx)("a",{href:"".concat(E.Hb.promotion.root,"?BonusCode=sportb_rebate"),target:"_blank",rel:"noreferrer noopener",style:{color:"#cba465",textDecoration:"underline",cursor:"pointer"},children:e("Label_General_UpTo",{number:t})}):t})]},n)})})]})}),(0,r.jsxs)("div",{className:td().termsSection,style:{height:"".concat(y,"px")},children:[(0,r.jsx)("div",{className:td().termsTitle,children:e("Label_VIP_Lobby_Promo_Terms_Conditions_Title")}),(0,r.jsx)("ol",{className:td().termsContent,children:Array.from({length:10},(n,t)=>{let s;let l="Label_VIP_Lobby_Rebate_Terms_".concat(t+1);return s=0===t?e(l,{currency:tr.k_[o]}):3===t?(0,r.jsx)(p.cC,{i18nKey:l,components:{br:(0,r.jsx)("br",{})}}):5===t?(0,r.jsx)(p.cC,{i18nKey:l,components:{Link:(0,r.jsx)("a",{style:{color:"#e9c894",textDecoration:"underline"},onClick:()=>C().push(E.Hb.rebateExclude.root),target:"_blank",rel:"noreferrer noopener"})}}):9===t?(0,r.jsx)(p.cC,{i18nKey:l,components:{Link:(0,r.jsx)("a",{className:td().linkHere,onClick:()=>window.open("".concat(a("/Static/".concat(d,"/Promotion.html"))),"_blank")})}}):e(l),(0,r.jsx)("li",{className:td().termsItem,children:(0,r.jsx)("span",{className:td().termsText,children:s})},"rebate-tc-".concat(t+1))})})]})]}),!j&&(0,r.jsx)("div",{className:td().buttonContainer,children:(0,r.jsx)("button",{className:td().applyButton,onClick:handleApplyRebate,children:e("Label_VIP_Lobby_One_Click_Apply_All_Rebate")})})]})},tm=n(80476),t_=n.n(tm),claimed_history_modal_ClaimedHistoryModal=e=>{let{records:a,levelName:n,onClose:t}=e,{t:s}=(0,p.$G)(),{userInfo:{currencyId:l}}=(0,v.aC)();return(0,r.jsx)("div",{className:"".concat(t_().vipRecordsPop," pop"),children:(0,r.jsx)("div",{className:"active",children:(0,r.jsxs)("div",{className:t_().vipRecordsPopContent,children:[(0,r.jsx)("button",{className:t_().closeButton,type:"button",onClick:t,children:"✕"}),(0,r.jsx)("div",{className:t_().vipRecordsPopTitle,children:(0,r.jsx)("div",{className:t_().title,children:s("Label_VIP_Lobby_Get_Records_Redeemed_History",{VIP:n})})}),(0,r.jsx)("div",{className:t_().vipGrowthPopText,children:a.length>0?(0,r.jsxs)("div",{className:t_().recordsTable,children:[(0,r.jsxs)("div",{className:t_().tableHeader,children:[(0,r.jsx)("div",{className:t_().headerCell,children:s("Label_VIP_Lobby_Get_Records_Item")}),(0,r.jsx)("div",{className:t_().headerCell,children:s("Label_VIP_Lobby_Get_Records_Amount")}),(0,r.jsx)("div",{className:t_().headerCell,children:s("Label_VIP_Lobby_Get_Records_Date")})]}),(0,r.jsx)("div",{className:t_().tableBody,children:a.map((e,n)=>{let{benefitType:t,benefitAmount:i,claimTime:o,resourceKey:c}=e,d=(0,L.Et)(i,0);return t===N.Fx.UpgradeBonus&&(d=(0,L.xP)((0,L.Et)(i,0),l)),(0,r.jsxs)("div",{className:u()(t_().tableRow,{[t_().lastRow]:n===a.length-1}),children:[(0,r.jsx)("div",{className:t_().tableCell,children:s("Label_VIP_Lobby_".concat(c))}),(0,r.jsx)("div",{className:t_().tableCell,children:d}),(0,r.jsx)("div",{className:t_().tableCell,children:I()(o).format("YYYY-MM-DD HH:mm:ss")})]},"".concat(t,"-").concat(I()(o).valueOf(),"-").concat(i))})})]}):(0,r.jsx)("div",{className:"nodata icon icon-nodata",children:(0,r.jsx)("div",{children:s("Label_General_NoData")})})})]})})})},tu=n(37485),tp=n.n(tu),vip_reward_center_VipRewardCenter=()=>{let{t:e}=(0,p.$G)(),{userInfo:{currencyId:a}}=(0,v.aC)(),{getBannerUrl:n}=(0,v.U5)(),{modal:t,closeModal:s}=(0,c.JT)(),{openChat:l}=(0,m.zGU)(),{isClaiming:i,rewardCenterInfos:o,custVipInfo:d,currentVIPLevelID:_,getClaimedHistory:h,setClaimCustBenefits:b,refetchVipGrowthInfo:x,setA
1ctiveTab:j}=(0,m.pi2)(),g=(0,eo.Z)(d,"targetLevelName",0),f=(0,L.$y)(a),handleGetRecords=async()=>{await h({targetVipLevelId:_,successCallback:e=>{claimedHistoryModal(e)},errorCallback:e=>{t.error(e)}})},handleClaimClick=async(e,a)=>{switch(a){case N.Fx.VIPManager:l();return;case N.Fx.UpgradeBonus:case N.Fx.UpgradePoints:if(i)return;await b({benefitId:e,benefitType:a,successCallback:()=>{x()},errorCallback:e=>{t.error(e)}});break;case N.Fx.VIPWeeklyMission:j(N.g4.VipWeeklyMission);case N.Fx.FestivalGift:}},claimedHistoryModal=e=>{t.open((0,r.jsx)(claimed_history_modal_ClaimedHistoryModal,{records:e,levelName:g,onClose:s}))};return(0,r.jsxs)("div",{className:tp().vipRewardCenter,children:[(0,r.jsxs)("div",{className:tp().rewardCenterTitle,children:[(0,r.jsx)("span",{children:e("Label_VIP_Lobby_Reward_Center",{VIP:g})}),(0,r.jsx)("button",{className:tp().recordsButton,onClick:handleGetRecords,children:e("Label_VIP_Lobby_Get_Records")})]}),(0,r.jsx)("div",{className:tp().rewardItemContainer,children:o.filter(e=>{let{type:a}=e;return!f||a!==N.Fx.UpgradePoints}).map(t=>{let s,l,{value:i,status:o,type:c,name:d,resourceKey:m,id:p}=t,h=o===N.UJ.Ineligible,b=o===N.UJ.Claimed,x=c===N.Fx.UpgradeBonus||c===N.Fx.UpgradePoints,v=c===N.Fx.VIPManager,j=c===N.Fx.VIPWeeklyMission,g=c===N.Fx.FestivalGift,f=(0,L.FZ)(_),C=!1;x?C=h||b:v?C=h||(null==i?void 0:i.toLowerCase())==="no":j?C=f:g&&(C=!0);let y=m.toLowerCase().replace(/_/g,"-");switch(s=j&&!f?e("Label_More_Details"):j||g?e("Label_VIP_Lobby_ComingSoon"):v?e("Label_VIP_Lobby_Contact_VIP_Manager"):b?e("Label_VIP_Lobby_Claimed"):e("Label_Promotion_ClaimNow"),c){case N.Fx.UpgradeBonus:l=(0,L.xP)(i,a);break;case N.Fx.VIPWeeklyMission:case N.Fx.FestivalGift:case N.Fx.VIPManager:l=e("Label_VIP_Lobby_".concat(i));break;default:l=i}return f&&(l=e("Label_VIP_Lobby_Invited_Only")),(0,r.jsxs)("div",{className:tp().rewardItem,children:[(0,r.jsx)("img",{className:u()({[tp().disabledImg]:b}),src:n("/desktop/img/growth-vip/icon/".concat(y,".png")),alt:d}),(0,r.jsx)("div",{className:u()(tp().rewardItemText,{[tp().disabledText]:b}),children:e("Label_VIP_Lobby_".concat(m))}),(0,r.jsx)("div",{className:u()(tp().rewardAmount,{[tp().disabledText]:b}),children:l}),(0,r.jsx)("button",{onClick:()=>{C||handleClaimClick(p,c)},className:u()({[tp().claimButton]:!C&&!b,[tp().disabledButton]:C,[tp().claimedButton]:b}),children:s})]},c)})})]})},th=n(77045),tb=n.n(th),vip_terms_conditions_VipTermsConditions=()=>{let{t:e}=(0,ts.$G)(),{getBannerUrl:a}=(0,v.U5)(),{userInfo:{langId:n,currencyId:t}}=(0,v.aC)();return(0,r.jsxs)("div",{className:tb().vipTermsConditions,children:[(0,r.jsx)("div",{className:tb().termsTitle,children:e("Label_VIP_Lobby_Standard_Terms_Conditions_Title")}),(0,r.jsx)("ol",{className:tb().termsList,children:Array.from({length:10},(s,l)=>{let i;let o=(0,L.$y)(t);if(o&&5===l)return null;let c=0===l||1===l,d=2===l||4===l||7===l,m=9===l,_=o?"Label_VIP_Lobby_Standard_Terms_IDR_".concat(l+1):"Label_VIP_Lobby_Standard_Terms_".concat(l+1);return i=c?e(_,{currency:tr.k_[t]}):d?(0,r.jsx)(ts.cC,{i18nKey:_,components:{b:(0,r.jsx)("b",{style:{fontWeight:"bold"}}),br:(0,r.jsx)("br",{})}}):m?(0,r.jsx)(ts.cC,{i18nKey:_,components:{Link:(0,r.jsx)("a",{className:tb().linkHere,onClick:()=>window.open("".concat(a("/Static/".concat(n,"/Promotion.html"))),"_blank")})}}):e(_),(0,r.jsx)("li",{className:tb().termsListItem,children:i},l)})})]})},tx=n(4963),tv=n.n(tx),my_vip_MyVip=()=>{let{isVipGrowthInfoLoading:e}=(0,m.pi2)();return(0,r.jsxs)("div",{className:tv().infoContent,children:[(0,r.jsx)(vip_level_info_VipLevelInfo,{}),[{Component:vip_next_level_turnover_VipNextLevelTurnover,key:"nextLevelTurnover"},{Component:vip_reward_center_VipRewardCenter,key:"rewardCenter"},{Component:vip_privilege_items_VipPrivilegeItems,key:"privilegeItems"},{Component:vip_rebate_table_VipRebateTable,key:"rebateTable"},{Component:vip_terms_conditions_VipTermsConditions,key:"termsConditions"}].map(a=>{let{Component:n,key:t}=a;return e?(0,r.jsx)(aB.Od,{width:"100%",height:"30vh",marginBottom:"1vh"},t):(0,r.jsx)(n,{},t)})]})},tj=n(59798),tg=n.n(tj),tN=n(12288),tf=n(30950),tC=n.n(tf),vip_level_swiper_VipLevelSwiper=()=>{let{getBannerUrl:e}=(0,v.U5)(),{allVipLevels:a,setCurrentVIPLevelID:n,currentVIPLevelID:t}=(0,m.pi2)(),s=(0,x.useMemo)(()=>a&&0!==a.length?a.map(e=>{let{levelId:a}=e;return{id:a,level:a,image:"/desktop/img/growth-vip/card/growth-vip".concat(a,".png")}}):[],[a]),[l]=(0,x.useState)(()=>({align:"center",startIndex:t,containScroll:!1,skipSnaps:!0})),{emblaRef:i,selectedIndex:o,scrollPrev:c,scrollNext:d,scrollTo:_}=(0,m.xPb)(l);if((0,x.useEffect)(()=>{let e=s[o];e&&n(e.id)},[o,s,n]),0===s.length)return null;let p=o>0,h=o<s.length-1;return(0,r.jsxs)("div",{className:tC().vipLevelSwiper,children:[(0,r.jsx)("div",{className:"embla",ref:i,children:(0,r.jsx)("div",{className:"embla__container",children:s.map((a,n)=>{let t=n===o,s=n===o-1,l=n===o+1;return(0,r.jsx)("div",{className:u()("embla__slide",tC().vipCard,{[tC().active]:t,[tC().prev]:s,[tC().next]:l,[tC().hidden]:!(t||s||l)}),onClick:()=>_(n),children:(0,r.jsx)("div",{className:tC().vipCardContent,children:(0,r.jsx)("img",{src:e(a.image),alt:"VIP ".concat(a.level),"data-level":a.level})})},a.id)})})}),p&&(0,r.jsx)("button",{type:"button",className:u()(tC().navBtn,tC().prevBtn),onClick:c,children:(0,r.jsx)(tN.G1X,{})}),h&&(0,r.jsx)("button",{type:"button",className:u()(tC().navBtn,tC().nextBtn),onClick:d,children:(0,r.jsx)(tN.FNi,{})}),(0,r.jsx)("div",{className:"embla__dots",children:s.map((e,a)=>(0,r.jsx)("button",{type:"button",className:u()("embla__dot",{"embla__dot--selected":a===o}),onClick:()=>_(a)},e.id))})]})},ty=n(13363),tk=n(65108),tL=n.n(tk);(t=l||(l={}))[t.Label=0]="Label",t[t.NowLevel=1]="NowLevel",t[t.NextLevel=2]="NextLevel",(s=i||(i={}))[s.NowLevel=0]="NowLevel",s[s.NextLevel=1]="NextLevel";var vip_requirement_privilege_table_VipRequirementPrivilegeTable=()=>{let{t:e}=(0,ts.$G)(),{userInfo:{currencyId:a}}=(0,v.aC)(),{vipProgramInfosData:n,currentVIPLevelID:t}=(0,m.pi2)(),s=(0,L.FZ)(t),l=10===t||11===t,i=e("Label_VIP_Lobby_Invited_Only"),o=[{columnIndex:0,className:tL().labelColumn,content:""},{columnIndex:1,className:tL().vipLevelNowColumn,content:(0,eo.Z)(n,[0,"levelName"])},{columnIndex:2,className:tL().vipLevelNextColumn,content:(0,eo.Z)(n,[1,"levelName"])||""}];if(!(0,eo.Z)(n,[0]))return(0,r.jsx)("div",{className:tL().vipRequirementPrivilegeTable,children:(0,r.jsx)("div",{className:tL().tableTitle,children:e("Label_VIP_Lobby_VIP_Requirement_Privilege")})});let getTextByPrivilegeType=(n,t)=>{if(!t)return"";switch(n){case ty.E9.UpgradeBonus:case ty.E9.DailyWithdrawalLimit:return(0,L.xP)(t,a);case ty.E9.FestivalGift:case ty.E9.VIPManager:case ty.E9.DepositPriority:case ty.E9.WithdrawalPri
1ority:case ty.E9.VIPLivechat:case ty.E9.VIPValidity:return e("Label_VIP_Lobby_".concat(t));default:return t}},c={label:e("Label_VIP_Lobby_Lifetime_Turnover_Requirement"),nowValue:s?i:(0,L.xP)((0,eo.Z)(n,[0,"turnover"]),a),nextValue:l?i:(0,L.xP)((0,eo.Z)(n,[1,"turnover"]),a)},filterPrivileges=e=>e.filter(e=>!((0,L.$y)(a)&&(e.type===ty.E9.UpgradePoints||e.type===ty.E9.PointMultiplier))),d=filterPrivileges((0,eo.Z)(n,[0,"privilegeInfos"],[])),_=filterPrivileges((0,eo.Z)(n,[1,"privilegeInfos"],[])),u=d.map(a=>{let n=_.find(e=>e.type===a.type);return{label:e("Label_VIP_Lobby_".concat(a.resourceKey)),nowValue:s?i:getTextByPrivilegeType(a.type,a.value),nextValue:l?i:getTextByPrivilegeType(a.type,(null==n?void 0:n.value)||"")}}),p=[c,...u];return(0,r.jsxs)("div",{className:tL().vipRequirementPrivilegeTable,children:[(0,r.jsx)("div",{className:tL().tableTitle,children:e("Label_VIP_Lobby_VIP_Requirement_Privilege")}),(0,r.jsx)("div",{className:tL().tableContainer,children:(0,r.jsxs)("table",{className:tL().comparisonTable,children:[(0,r.jsx)("thead",{children:(0,r.jsx)("tr",{children:o.map((e,a)=>(0,r.jsx)("th",{className:e.className,style:{borderBottom:1===a?"3px solid #cba465":2===a&&e.content?"3px solid #ffffff":"none"},children:e.content},"".concat(e.content,"-").concat(e.columnIndex)))})}),(0,r.jsx)("tbody",{children:p.map(e=>(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{className:tL().labelCell,children:e.label}),(0,r.jsx)("td",{className:tL().vipLevelNowCell,children:e.nowValue}),(0,r.jsx)("td",{className:tL().vipLevelNextCell,style:{backgroundColor:e.nextValue?"#1e1f1d":"black"},children:e.nextValue})]},e.label))})]})})]})},vip_program_VipProgram=()=>{let{isVipProgramInfosLoading:e}=(0,m.pi2)();return(0,r.jsxs)("div",{className:tg().infoContent,children:[(0,r.jsx)(vip_level_swiper_VipLevelSwiper,{}),e?(0,r.jsx)(aB.Od,{width:"100%",height:"80vh",marginBottom:"1vh"}):(0,r.jsx)(vip_requirement_privilege_table_VipRequirementPrivilegeTable,{})]})},tw=n(94269),tI=n.n(tw);let getVipFolder=e=>e<0?null:e<=1?"vip0-1":e<=4?"vip".concat(e):e<=12?"vip5-12":null,getBonusCode=e=>e<0?null:e<=1?N.Y2.Vip1:2===e?N.Y2.Vip2:3===e?N.Y2.Vip3:4===e?N.Y2.Vip4:e<=12?N.Y2.Vip5:null;var vip_weekly_mission_VipWeeklyMission=()=>{var e;let{t:a}=(0,p.$G)(),{getBannerUrl:n}=(0,v.U5)(),{push:t}=(0,f.useRouter)(),{isLoadingUserInfo:s,userInfo:{vipLevelId:l,currencyId:i,langId:o}}=(0,v.aC)();if(s)return null;let c=getVipFolder(l),d=getBonusCode(l),m=null===(e=tr.k_[i])||void 0===e?void 0:e.toLowerCase();return c&&m?(0,r.jsx)("button",{type:"button",className:tI().vipWeeklyBannerButton,onClick:()=>{(0,ea.o)({eventName:"VIP Weekly Mission",eventLabel:"banner",eventSource:d,vip:l,position:"VIP Lobby Tab"}),t(d?"".concat(E.Hb.promotion.root,"?bonusCode=").concat(d):E.Hb.promotion.root)},children:(0,r.jsx)("img",{className:tI().vipWeeklyBanner,src:n("/desktop/img/growth-vip/vip-weekly-mission/".concat(c,"/bn-").concat(m,"-").concat(o,".webp")),alt:"vip weekly mission"})}):(0,r.jsxs)("div",{className:tI().vipWeeklyMissionContainer,children:[(0,r.jsx)("img",{className:tI().vipLevelImg,src:n("/desktop/img/coming-soon.png"),alt:"coming soon"}),(0,r.jsx)("div",{children:a("Label_VIP_Lobby_ComingSoon")})]})},tT=n(45908),tP=n.n(tT);let tB={width:48,height:48,flexShrink:0};var vip_lobby_VipLobby=()=>{let{userInfo:e}=(0,v.aC)(),{langId:a}=e,n=(0,eo.Z)(e,"vipLevelId",0),t=(0,eo.Z)(e,"userName"),s="vipWeeklyMissionVisited_".concat(t,"_").concat(n),{t:l}=(0,p.$G)(),{getBannerUrl:i}=(0,v.U5)(),{modal:o}=(0,c.JT)(),{hasUnClaimedRewards:d,activeTab:_,setActiveTab:h,setCurrentVIPLevelID:b}=(0,m.pi2)();(0,m.luH)(()=>o.info(l("Label_VIP_Lobby_Modal_Message_2"),{icon:(0,r.jsx)("img",{style:tB,src:i("/desktop/img/growth-vip/icons/ball.webp"),alt:"vip-new-tiers-notice"}),title:l("Label_VIP_Lobby_Modal_Message_1"),okText:l("Label_VIP_Lobby_Modal_Button"),onOK:()=>window.open("/".concat(a).concat(E.Hb.event.vipGrowthV2.root),"_blank")}));let j=(0,x.useRef)(!0),[g,f]=(0,x.useState)(!1);return(0,x.useEffect)(()=>{try{let e=localStorage.getItem(s);f(null===e)}catch(e){f(!1)}},[t,n]),(0,x.useEffect)(()=>
1{if(j.current){j.current=!1;return}window.scrollTo({top:0})},[_]),(0,r.jsx)("div",{className:"".concat(tP().vipLobbyContainer," rightModule"),children:(0,r.jsxs)("div",{className:"infoModule",children:[(0,r.jsxs)("div",{className:"inside-title",children:[(0,r.jsxs)("span",{children:[(0,r.jsx)("img",{src:i("/desktop/img/profile-icon-vip.svg"),alt:"vip-lobby"}),l("Label_VIP_Lobby_Vip_Lobby")]}),(0,r.jsx)("div",{children:l("Label_VIP_Lobby_Vip_Lobby_Modify_Warning")})]}),(0,r.jsxs)("div",{className:tP().content,children:[(0,r.jsx)("div",{className:tP().buttonContainer,children:N.$p.map(e=>{let{tab:a,displayKey:t}=e,i=a===N.g4.MyVip&&d,o=a===N.g4.VipWeeklyMission&&g;return(0,r.jsx)("div",{className:u()(tP().vipLobbyButton,{[tP().active]:_===a}),onClick:()=>{if((0,ea.o)({eventName:"VIP Lobby",eventLabel:"tab",eventSource:l(t),vip:n,position:"VIP Lobby Tab"}),h(a),b(n),a===N.g4.VipWeeklyMission&&g){try{localStorage.setItem(s,"true")}catch(e){}f(!1)}},children:(0,r.jsxs)("div",{className:tP().tabLabel,children:[l(t),(i||o)&&(0,r.jsx)("div",{className:tP().dot})]})},a)})}),(()=>{switch(_){case N.g4.MyVip:return(0,r.jsx)(my_vip_MyVip,{});case N.g4.VipProgram:return(0,r.jsx)(vip_program_VipProgram,{});case N.g4.FestivalGift:return(0,r.jsx)(festival_gift_FestivalGift,{});case N.g4.VipWeeklyMission:return(0,r.jsx)(vip_weekly_mission_VipWeeklyMission,{});default:return null}})()]})]})})},tM=n(50416),tG=n.n(tM),tS=n(26618),tD=n.n(tS),tR=n(61653),tV=n.n(tR);let tA={};var vip_middle_VipSwiperBanner=()=>{let{getBannerUrl:e}=(0,v.U5)(),{userInfo:{currencyId:a,langId:n}}=(0,v.aC)(),t=(0,N.D6)(a,n),s=(0,x.useMemo)(()=>[(0,ee.Z)({delay:3e3,stopOnInteraction:!1})],[]),{emblaRef:l,selectedIndex:i,scrollTo:o}=(0,m.xPb)(tA,s);return(0,r.jsxs)("div",{className:tV().vipSwiperBanner,children:[(0,r.jsx)("div",{className:"embla",ref:l,children:(0,r.jsx)("div",{className:"embla__container",children:t.map(a=>(0,r.jsx)("div",{className:"embla__slide",children:(0,r.jsx)("img",{src:e(a.srcUrl),alt:a.alt})},a.id))})}),(0,r.jsx)("div",{className:"embla__dots",children:t.map((e,a)=>(0,r.jsx)("button",{type:"button",className:u()("embla__dot",{"embla__dot--selected":a===i}),onClick:()=>o(a)},e.id))})]})},vip_middle_VipMiddle=()=>{let{t:e}=(0,p.$G)();return(0,r.jsxs)("div",{className:tD().vipMiddle,children:[(0,r.jsx)(vip_middle_VipSwiperBanner,{}),(0,r.jsxs)("div",{className:tD().vipMiddleInfo,children:[(0,r.jsx)("div",{className:tD().infoTitle,children:e("Label_VIP_Page_Middle_InfoTitle")}),(0,r.jsx)("div",{className:tD().infoList,children:(0,r.jsxs)("ol",{children:[(0,r.jsx)("li",{children:e("Label_VIP_Page_Middle_InfoList_1")}),(0,r.jsx)("li",{children:e("Label_VIP_Page_Middle_InfoList_2")}),(0,r.jsx)("li",{children:e("Label_VIP_Page_Middle_InfoList_3")})]})})]})]})},tE=n(40610),tW=n.n(tE),vip_tier_info_VipTableContent=()=>{let{t:e}=(0,ts.$G)(),{userInfo:{currencyId:a}}=(0,v.aC)(),{tableData:n}=(0,m.NnL)(),{getBannerUrl:t}=(0,v.U5)(),s=(0,eo.Z)(n,"levels",[]),l=(0,eo.Z)(n,"i18nKeys",[]),i=(0,eo.Z)(n,"privilegeValueMap",{}),renderCellValue=(n,t)=>{var s;if((0,L.FZ)(n))return e("Label_VIP_Lobby_Invited_Only");let l=null!==(s=i[n][t])&&void 0!==s?s:"-";switch(t){case"Upgrade_Bonus":case"Daily_Withdrawal_Limit":return(0,L.xP)(l,a);case"VIP_Manager":case"VIP_Livechat":case"VIP_Validity":case"Withdrawal_Priority":case"Deposit_Priority":case"Festival_Gift":if("Yes"===l)return e("Label_VIP_Lobby_Yes");if("No"===l)return e("Label_VIP_Lobby_No");if("Lifetime"===l)return e("Label_VIP_Lobby_Lifetime");return l;default:return l}};return(0,r.jsx)("div",{className:tW().tableWrapper,children:(0,r.jsxs)("table",{className:tW().table,children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{className:tW().headerLabel,children:"\xa0"}),s.map(e=>{let a=(0,eo.Z)(e,"levelId",""),n=(0,eo.Z)(e,"levelName","");return(0,r.jsx)("th",{className:tW().headerCell,children:(0,r.jsxs)("div",{className:tW().levelHeader,children:[(0,r.jsx)("img",{className:tW().levelIcon,src:"".concat(t("/desktop/img/growth-vip/icon/growth-vip".concat(e.levelId,".png"))),alt:"vip-level-".concat(a)}),(0,r.jsx)("span",{children:n})]})},a)})]})}),(0,r.jsxs)("tbody",{children:[(0,r.jsxs)("tr",{className:tW().bodyRow,children:[(0,r.jsx)("th",{className:tW().privilegeName,children:e("Label_VIP_Lobby_Lifetime_Turnover_Requirement")}),s.map(n=>{let t=(0,eo.Z)(n,"levelId",""),s=(0,eo.Z)(n,"turnover","-");return(0,r.jsx)("td",{className:tW().valueCell,children:(0,L.FZ)(t)?e("Label_VIP_Lobby_Invited_Only"):(0,L.xP)(s,a)},t)})]}),l.map(a=>(0,r.jsxs)("tr",{className:tW().bodyRow,children:[(0,r.jsx)("th",{scope:"row",className:tW().privilegeName,children:e("Label_VIP_Lobby_".concat(a))}),s.map(e=>{let n=(0,eo.Z)(e,"levelId");return(0,r.jsx)("td",{className:tW().valueCell,children:renderCellValue(n,a)},"".concat(n,"-").concat(a))})]},a))]})]})})},tF=n(80623),tO=n.n(tF),vip_tier_info_VipTierInfo=()=>{let{activeTab:e,isGetVipTableDataLoading:a,setActiveTab:n}=(0,m.NnL)();return(0,r.jsxs)("div",{className:tO().vipTierInfo,children:[(0,r.jsx)("div",{className:tO().tabButton,children:Object.values(N.XG).map(a=>{let{tab:t,displayName:s}=a;return(0,r.jsx)("button",{className:e===t?tO().tabButtonItemActive:tO().tabButtonItem,onClick:()=>{n(t)},children:s},s)})}),(0,r.jsx)("div",{className:tO().tabContent,children:a?(0,r.jsx)(aB.Od,{width:"100%",height:"80vh",marginTop:"24px"}):(0,r.jsx)(vip_tier_info_VipTableContent,{})})]})},tH=n(39785),tU=n.n(tH),vip_top_banner_VipTopBanner=()=>{let{userInfo:{currencyId:e,langId:a}}=(0,v.aC)(),{getBannerUrl:n}=(0,v.U5)();return(0,r.jsx)("div",{className:tU().banner,children:(0,r.jsx)("img",{src:"".concat(n("/desktop/img/growth-vip/vip-landing-page/TopBanner-".concat((0,L.KJ)(e),"-").concat(a,".webp"))),alt:"banner"})})},Vip=()=>(0,r.jsxs)("main",{className:tG().vip,children:[(0,r.jsx)(vip_top_banner_VipTopBanner,{}),(0,r.jsxs)("div",{className:tG().wrapper,children:[(0,r.jsx)(vip_middle_VipMiddle,{}),(0,r.jsx)(vip_tier_info_VipTierInfo,{})]})]});let ImportNotice=()=>{let{t:e}=(0,p.$G)(),{openLiveChat:a}=(0,m.bKX)();return(0,r.jsxs)("div",{className:"important",children:[(0,r.jsxs)("div",{className:"title",children:[(0,r.jsx)("span",{className:"icon icon-warning"}),e("Label_General_ImportantNotice")]}),(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:(0,r.jsx)(p.cC,{i18nKey:"Label_Withdrawal_ImportantNoticeContent1",components:{Link:(0,r.jsx)("a",{onClick:a})}})}),(0,r.jsx)("li",{children:e("Label_Withdrawal_ImportantNoticeContent2")}),(0,r.jsx)("li",{children:e("Label_Withdrawal_ImportantNoticeContent3")}),(0,r.jsx)("li",{children:e("Label_Withdrawal_ImportantNoticeContent4")}),(0,r.jsx)("li",{children:(0,r.jsx)(p.cC,{i18nKey:"Label_Withdrawal_ImportantNoticeContent5",components:{Link:(0,r.jsx)("a",{onClick:a})}})})]})]})},PendingPanel=()=>{let{t:e}=(0,p.$G)();return(0,r.jsx)("div",{className:"subModuleList kycHeight",children:(0,r.jsx)("div",{className:"subModule",children:(0,r.jsxs)("div",{className:"subModuleBody column align-items-center",children:[(0,r.jsx)("div",{className:"icon icon-icon32px_worker"}),(0,r.jsx)("span",{className:"title txt-yellow",children:e("Label_Withdrawal_WaitKYC")}),(0,r.jsx)("div",{className:"txt-lightgray",children:e("Label_Withdrawal_WaitKYCHint")})]})})})},KycPanel=()=>{let{t:e}=(0,p.$G)(),{kycStatus:a,handleUploadKyc:n}=(0,m.J7_)(),{onSubmit:t,kycFiles:s,onChangeInput:l,onDropDown:i,removeFile:c,isUploading:d,hasUploadError:_,accept:h}=(0,m.WJp)(async e=>{await n(e)}),{getBannerUrl:b}=(0,v.U5)();return a===G.sF.KycPending?(0,r.jsx)(PendingPanel,{}):(0,r.jsxs)(r.Fragment,{children:[d&&(0,r.jsx)(o.gb,{}),(0,r.jsx)("div",{className:"subModuleList",children:(0,r.jsx)("div",{className:"subModule",children:(0,r.jsxs)("div",{className:"subModuleBody column txt-gray",children:[(0,r.jsx)("span",{className:"title",children:e("Label_Withdrawal_SubmitPhotoId")}),(0,r.jsx)("div",{className:"titleContent",children:e("Label_Withdrawal_SubmitPhotoIdList_Title")}),(0,r.jsx)("div",{className:"upload-module-list",children:(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:e("Label_Withdrawal_FrontSideNationalId")}),(0,r.jsx)("li",{children:e("Label_Withdrawal_SelfieHoldingNationalId")}),(0,r.jsx)("li",{children:e("Label_Withdrawal_SupportingDocuments")})]})}),(0,r.jsxs)("div",{className:u()("uploadModule","kyc-upload-module"),children:[s.length<5&&(0,r.jsxs)("label",{className:u()("upload_img",{error:_}),onDragOver:e=>e.preventDefault(),onDrop:e=>{i(e)},children:[(0,r.jsx)("input",{type:"file",accept:h,onChange:e=>{l(e)}}),(0,r.jsx)("i",{className:"icon icon-plus"})]}),s.map((e,a)=>(0,r.jsxs)("label",{className:"upload_img",children:[(0,r.jsx)("input",{type:"file"}),(0,r.jsx)("img",{alt:"kyc",src:e.fileData.type.startsWith("image/")?(0,L.k$)(e.fileImg):b("/desktop/img/pdf-img.png")}),(0,r.jsx)("button",{className:"remove-btn",onClick:e=>{e.preventDefault(),c(a)},children:(0,r.jsx)("i",{className:"icon icon-close"})})]},e.id))]}),(0,r.jsx)("div",{className:"directions",children:(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:e("Label_Withdrawal_SubmitPhotoIdList_Content1")}),(0,r.jsx)("li",{children:e("Label_Withdrawal_SubmitPhotoIdList_Content2")}),(0,r.jsx)("li",{children:e("Label_KYC_Upload_Supported_Formats")})]})}),(0,r.jsx)("div",{className:"btnGroup",children:(0,r.jsx)("button",{className:s.length>0?"primary":"ghost",onClick:t,disabled:0===s.length||d,children:e("Label_General_Submit")})})]})})})]})};var tZ=n(24586);let WalletInfo=()=>{let{t:e}=(0,p.$G)(),{userInfo:{currencyId:a}}=(0,v.aC)(),{accountName:n}=(0,m.xTZ)(),{withdrawalBalance:t,refetchWithdrawalBalance:s}=(0,m.J7_)(),{availableBalance:l=0}=null!=t?t:{},{value:i,toggle:o}=(0,eg.kt)(!1);return(0,r.jsxs)("div",{"data-ttid":"wallet-info",className:"walletModule",children:[(0,r.jsxs)("div",{className:"walletBalanceModule",children:[(0,r.jsx)("span",{className:"icon icon-balance",children:e("Label_Withdrawal_BankAccountName")}
1),(0,r.jsx)("span",{children:null!=n?n:""}),(0,r.jsx)("button",{className:"icon icon-information",onClick:o}),(0,r.jsx)("div",{className:u()("tip",{active:i}),children:i&&e("Label_Withdrawal_BankAccountHint")})]}),(0,r.jsxs)("div",{className:"walletBalanceModule",children:[(0,r.jsx)("span",{className:"icon icon-balance",children:e("Label_Withdrawal_EligibleWithdrawalAmount")}),(0,r.jsx)("span",{children:(0,L.Y4)(l,a)}),(0,r.jsx)(tZ.kJ,{onClick:s})]})]})},RecentHistory=()=>{let{t:e}=(0,p.$G)(),{withdrawalRecentInfo:a,refetchWithdrawalRecentInfo:n,cancelWithdrawal:t}=(0,m.J7_)();return(0,r.jsxs)(r.Fragment,{children:[a.length>0?(0,r.jsx)(historyTable_WithdrawalHistoryTable,{classNames:"list",dataSource:a,onReload:n,onCancel:t}):(0,r.jsx)("div",{className:"nodata icon icon-nodata",children:(0,r.jsx)("div",{children:e("Label_General_NoData")})}),(0,r.jsx)(B(),{legacyBehavior:!0,href:E.Hb.history.root,children:(0,r.jsx)("a",{className:"icon icon-books"})})]})},Amount=()=>{var e,a,n;let{userInfo:{currencyId:t,phoneVerified:s}}=(0,v.aC)(),{t:l}=(0,p.$G)(),{selectedBankInfo:i,withdrawalBalance:c,withdrawalLimit:d,handleSubmitAmount:_,amountForm:u,checkAmount:h}=(0,m.J7_)(),{register:b,formState:x,getValues:j,handleSubmit:g}=u,{errors:N,dirtyFields:f}=x,{type:C}=i,y=C===m.e4w.EWallet,{balance:k=0,deduction:w=0,availableBalance:I=0}=null!=c?c:{},{withdrawalTimes:T=0,maxTimes:P=0,usdtList:B=[],withdrawalMin:M=0,unlimited:D=!1,withdrawalAvailableAmount:R=0,eWalletWithdrawalMin:V=0,eWalletWithdrawalAvailableAmount:A=0}=null!=d?d:{},E=(0,S.Z)(B,e=>{let{currencyId:a,network:n}=e;return a===i.currencyId&&n===i.network}),W="".concat(l("Label_Withdrawal_DailyMinMaxAmount",{min:(0,L.Y4)(C===m.e4w.Crypto?null!==(a=null==E?void 0:E.withdrawalMin)&&void 0!==a?a:0:M,t,2),max:D?l("Label_General_Unlimited"):(0,L.Y4)(R,t,2)})),F=!!N.amount||!f.amount||t===G.CurrenciesEnum.INR&&!s||P>0&&T>=P;return(0,r.jsx)("div",{className:"subModule",children:(0,r.jsxs)("div",{className:"subModuleBody",children:[(0,r.jsxs)("div",{className:"calculation",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{children:l("Label_Withdrawal_Balance")}),(0,r.jsxs)("div",{children:[l("Label_General_Currency_".concat(t)),(0,r.jsx)("span",{children:(0,L.Y4)(k,t)})]})]}),(0,r.jsx)("div",{children:"-"}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{children:l("Label_Withdrawal_Deduction")}),(0,r.jsxs)("div",{children:[l("Label_General_Currency_".concat(t)),(0,r.jsx)("span",{children:(0,L.Y4)(w,t)})]})]}),(0,r.jsx)("div",{children:"="}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{children:l("Label_Withdrawal_EligibleWithdrawalAmount")}),(0,r.jsxs)("div",{children:[l("Label_General_Currency_".concat(t)),(0,r.jsx)("span",{children:(0,L.Y4)(I,t)})]})]})]}),(0,r.jsxs)("form",{className:"inputModuleRow",onSubmit:g(()=>{let{amount:e}=j();_(e)}),children:[(0,r.jsx)(o.Wz,{"data-ttid":"amount-input",register:b("amount",{required:{value:!0,message:l("Label_Withdrawal_Insufficientbalance")},onChange:h,onBlur:h}),touched:!!f.amount,title:null!==(n=l("Label_Withdrawal_Amount"))&&void 0!==n?n:"",type:"number",placeholder:y?"".concat(l("Label_Withdrawal_MinMaxAmount")," ").concat((0,L.Y4)(V,t)," / ").concat(D?l("Label_General_Unlimited"):(0,L.Y4)(A,t)):"",error:!!N.amount,errorMessage:null===(e=N.amount)||void 0===e?void 0:e.message}),(0,r.jsxs)("div",{className:"tip active",children:[(0,r.jsxs)("span",{children:[l("Label_General_Times"),":"," ","".concat(T," / ").concat(0===P?l("Label_General_Unlimited"):P)]}),W]}),t===G.CurrenciesEnum.INR&&(0,r.jsxs)("div",{className:"importantNotes",children:[(0,r.jsxs)("div",{className:"title",children:[(0,r.jsx)("i",{className:"icon icon-information"}),(0,r.jsx)("p",{children:l("Label_General_ImportantNote")})]}),(0,r.jsx)("p",{className:"info",children:l("Label_Withdrawal_INR_ImportNote")})]}),(0,r.jsx)("div",{className:"btnGroup",children:(0,r.jsx)("button",{"data-ttid":"form-submit-btn",type:"submit",className:"primary",disabled:F,children:l("Label_General_Submit")})})]})]})})},CardItem=e=>{var a,n;let{item:t,type:s}=e,{t:l}=(0,p.$G)(),{userInfo:{currencyId:i}}=(0,v.aC)(),{getPaymentUrl:o}=(0,v.U5)(),{modal:d}=(0,c.JT)(),{selectedBankInfo:_,withdrawalStatus:h,accountName:b,handleSelectCard:x}=(0,m.J7_)(),[j]=(0,X.wh3)(),[g]=(0,X.C6B)(),{accountNo:N="",sysId:f}=t,C=null!==(a=null==t?void 0:t.bankLogo)&&void 0!==a?a:null==t?void 0:t.eWalletLogo,y=null!==(n=null==t?void 0:t.bankName)&&void 0!==n?n:null==t?void 0:t.eWalletName,{ifscCode:k,disabled:L=!1}=t,w=N===_.accountNo&&y===_.bankName&&s===_.type&&(null==_.sysId||String(f)===String(_.sysId)),I=String(C).toLowerCase(),handleDeleteBankCard=async e=>{var a,n;d.confirm([null!==(a=l("Label_Withdrawal_DeleteConfirm1"))&&void 0!==a?a:"",null!==(n=l("Label_Withdrawal_DeleteConfirm2"))&&void 0!==n?n:""],{title:l("Label_General_Oh"),onOK:async()=>{try{await j(e).unwrap()}catch(e){d.error(e.message)}},okText:l("Label_General_Yes"),cancelText:l("Label_General_No")})},handleDeleteEWalletCard=async e=>{var a,n;d.confirm([null!==(a=l("Label_Withdrawal_DeleteConfirm1"))&&void 0!==a?a:"",null!==(n=l("Label_Withdrawal_DeleteConfirm2"))&&void 0!==n?n:""],{title:l("Label_General_Oh"),onOK:async()=>{try{await g(e).unwrap()}catch(e){d.error(e.message)}},okText:l("Label_General_Yes"),cancelText:l("Label_General_No")})};return(0,r.jsxs)("div",{className:u()("addBankName",{pending:L}),children:[L&&(0,r.jsx)("div",{className:"mask",children:l("Label_General_UnderMaintenance")}),(0,r.jsxs)("div",{className:"addBankInfo",children:[(0,r.jsxs)("div",{className:"bankName",children:[(0,r.jsx)("img",{src:o("/square/".concat(I
1)),alt:""}),(0,r.jsxs)("div",{children:[y,(0,r.jsxs)("div",{className:"txt-blue",children:[(0,r.jsx)("span",{children:N.slice(0,4)}),(0,r.jsx)("span",{children:N.slice(4,8)}),(0,r.jsx)("span",{children:N.slice(8,12)}),(0,r.jsx)("span",{children:N.slice(12,16)})]}),i===G.CurrenciesEnum.INR&&s===m.e4w.LocalBank&&(0,r.jsx)("div",{className:"txt-gray",children:(0,r.jsxs)("span",{children:[l("Label_Withdrawal_IFSCCode"),":",null!=k?k:""]})})]})]}),(0,r.jsxs)("div",{className:"checkbox",children:[(0,r.jsx)("input",{"data-ttid":"card-checkbox",type:"checkbox",id:"".concat(N,"-").concat(f,"-").concat(s),onChange:()=>{x({bankName:y,accountNo:N,sysId:f,ifscCode:k,type:s})},checked:w,disabled:L}),(0,r.jsx)("label",{"data-ttid":"card-checkbox-label",htmlFor:"".concat(N,"-").concat(f,"-").concat(s),className:"icon icon-checkbox-checked"})]})]}),h===m.Mab.Confirm?null:(0,r.jsx)("button",{className:"icon icon-bin",onClick:()=>{s===m.e4w.LocalBank?handleDeleteBankCard({accountNo:N,accountName:b,sysId:f}):handleDeleteEWalletCard({accountNo:N,sysId:f})}})]},"".concat(N,"-").concat(f))},BankCard=()=>{let{t:e}=(0,p.$G)(),{bankData:a,handleAddBankCard:n,withdrawalAllowed:{bankCardAllowed:t}}=(0,m.J7_)(),{modal:s}=(0,c.JT)(),{bankInfoDetail:l}=null!=a?a:{};return t?(0,r.jsx)("div",{"data-ttid":"local-bank",className:"walletModule",children:(0,r.jsxs)("div",{className:"addBank",children:[l.map(e=>(0,r.jsx)(CardItem,{item:e,type:m.e4w.LocalBank},"".concat(e.accountNo,"-").concat(e.sysId))),l.length<3&&(0,r.jsxs)("div",{className:"addBankName noBank",onClick:()=>n({errorCallback:e=>s.error(e)}),children:[(0,r.jsx)("div",{className:"icon icon-plus"}),(0,r.jsx)("div",{children:e("Label_Withdrawal_AddBankAccount")})]})]})}):null},tq=b()(()=>n.e(8578).then(n.bind(n,88578)),{loadableGenerated:{webpack:()=>[88578]},ssr:!1}),tY=b()(()=>Promise.all([n.e(9606),n.e(4663),n.e(4795),n.e(5074)]).then(n.bind(n,55074)),{loadableGenerated:{webpack:()=>[55074]},ssr:!1}),tJ=b()(()=>n.e(4786).then(n.bind(n,54786)),{loadableGenerated:{webpack:()=>[54786]},ssr:!1}),Confirm=()=>{let{t:e}=(0,p.$G)(),{modal:a,closeModal:n}=(0,c.JT)(),{siteConfig:t}=(0,v.U5)(),{hasPinCode:s}=(0,m.xTZ)(),{selectedBankInfo:l,withdrawalAmount:i,handleCancelSubmit:o,accountName:d,exchangeInfo:{exchangeAmount:_},handleWithdrawalConfirm:u}=(0,m.J7_)(),{userInfo:{currencyId:h}}=(0,v.aC)(),b=(0,L.dt)(h),x=(0,L.Y4)(b?1e3*i:i,h),{usdtAddress:j,bankName:g,accountNo:N,ifscCode:f,nickName:C,currencyName:y,type:k}=l;return(0,r.jsx)("div",{className:"subModule",children:(0,r.jsxs)("div",{className:"subModuleBody column align-items-center",children:[(0,r.jsx)("span",{className:"title",children:e("Label_General_ImportantNote")}),(0,r.jsx)("div",{className:"txt-lightgray",children:e("Label_Withdrawal_ConfirmWithdrawal")}),k!==m.e4w.Crypto?(0,r.jsxs)("div",{className:"smallList",children:[(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:e("Label_Withdrawal_WithdrawalTo")}),(0,r.jsx)("li",{children:g})]}),(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:e("Label_Withdrawal_AccountNumber")}),(0,r.jsxs)("li",{className:"accountNumber",children:[(0,r.jsx)("span",{children:null==N?void 0:N.slice(0,4)}),(0,r.jsx)("span",{children:null==N?void 0:N.slice(4,8)}),(0,r.jsx)("span",{children:null==N?void 0:N.slice(8,12)}),(0,r.jsx)("span",{children:null==N?void 0:N.slice(12,16)})]})]}),(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:e("Label_Withdrawal_BankAccountName")}),(0,r.jsx)("li",{children:d})]}),(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:e("Label_Withdrawal_WithdrawalAmount")}),(0,r.jsx)("li",{children:x})]}),f&&(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:e("Label_Withdrawal_IFSCCode")}),(0,r.jsx)("li",{children:null!=f?f:""})]})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"smallList",children:[(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:e("Label_Withdrawal_CryptoWalletAddress")}),(0,r.jsx)("li",{children:j})]}),(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:e("Label_CryptoWalletNickName")}),(0,r.jsx)("li",{children:C})]}),(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:e("Label_Withdrawal_WithdrawalAmount")}),(0,r.jsx)("li",{children:x})]}),(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:e("Label_Withdrawal_ReceiveUSDT",{currencyName:y})}),(0,r.jsx)("li",{children:_})]})]}),(0,r.jsx)("div",{className:"txt-lightgray",children:e("Label_Withdrawal_WithdrawalCryptoNote")})]}),(0,r.jsxs)("div",{className:"btnGroup",children:[(0,r.jsx)("button",{className:"ghost",onClick:o,children:e("Label_General_Cancel")}),(0,r.jsx)("button",{"data-ttid":"withdrawal-confirm-btn",className:"primary",onClick:()=>{let successCallback=e=>{a.open((0,r.jsx)(tq,{onClick:()=>{n(),e()}}))};(null==t?void 0:t.enablePinCode)?s?a.open((0,r.jsx)(tY,{onVerifySuccess:(e,a)=>{u({pinCode:e},{successCallback,errorCallback:a})}})):a.open((0,r.jsx)(tJ,{onPinSetSuccess:()=>a.open((0,r.jsx)(tY,{onVerifySuccess:(e,a)=>u({pinCode:e},{successCallback,errorCallback:a})}))})):u({},{successCallback,errorCallback:e=>{a.error(e)}})},children:e("Label_General_Submit")})]})]})})},CryptoCardItem=e=>{let{item:a}=e,{t:n}=(0,p.$G)(),{selectedBankInfo:t,handleSelectCard:s}=(0,m.J7_)(),{usdtAddress:l,currencyId:i,network:o,currencyName:c,disabled:d,nickName:_}=a,u=l===t.usdtAddress&&i===t.currencyId,h=o===c?o:"".concat(c,"-").concat(o),b="".concat(i,"-").concat(l);return(0,r.jsxs)("div",{className:"addBankName ".concat(d?"pending":""),children:[d&&(0,r.jsx)("div",{className:"mask",children:n("Label_General_UnderMaintenance")}),(0,r.jsxs)("div",{className:"cryptoInfo",children:[(0,r.jsx)("div",{className:"title",children:_}),(0,r.jsx)("div",{className:"title",children:h}),(0,r.jsx)("i",{className:"icon icon-USDT"}),(0,r.jsx)("div",{children:l}),(0,r.jsxs)("div",{className:"checkbox",children:[(0,r.jsx)("input",{type:"checkbox",id:b,onChange:()=>{s({usdtAddress:l,nickName:_,currencyId:i,network:o,currencyName:c,type:m.e4w.Crypto})},checked:u,disabled:d}),(0,r.jsx)("label",{htmlFor:b,className:"icon icon-checkbox-checked"})]})]})]})},t$=b()(()=>n.e(8066).then(n.bind(n,38066)),{loadableGenerated:{webpack:()=>[38066]},ssr:!1}),CryptoCard=()=>{let{t:e}=(0,p.$G)(),{bankData:a,withdrawalAllowed:{cryptoCardAllowed:n}}=(0,m.J7_)(),{handleAddWallet:t}=(0,m.$Qi)(),{modal:s}=(0,c.JT)(),{usdtDetail:l}=a,onAddWalletModal=e=>{let{cryptoNetworkList:a,cryptoCurrencyOptions:n,handleGetOtpInfo:t,handleGetEmailOtpInfo:l,handleSetCustCryptoWallet:i}=e;s.open((0,r.jsx)(t$,{cryptoNetworkList:a,cryptoCurrencyOptions:n,handleGetOtpInfo:t,handleGetEmailOtpInfo:l,handleSetCustCryptoWallet:i}))};return n?(0,r.jsx)("div",{className:"walletModule",children:(0,r.jsxs)("div",{className:"addBank",children:[l.map(e=>(0,r.jsx)(CryptoCardItem,{item:e},e.usdtAddress)),l.length<3&&(0,r.jsxs)("div",{className:"addBankName noBank",onClick:()=>t({onAddWalletModal}),children:[(0,r.jsx)("div",{className:"icon icon-plus"}),(0,r.jsx)("div",{children:e("Label_Withdrawal_AddCryptoWallet")})]},"add-bank"),(0,r.jsxs)("div",{className:"remainder",children:[e("Label_Withdrawal_NumberOfWallet"),":",l.length," / 3"]}),(0,r.jsx)("div",{className:"tip active",children:e("Label_Withdrawal_CryptoWalletSubmitNote")})]})}):null},EWalletCard=()=>{let{t:e}=(0,p.$G)(),{bankData:a,handleAddEWallet:n,withdrawalAllowed:{eWalletCardAllowed:t}}=(0,m.J7_)(),{modal:s}=(0,c.JT)(),{custEWalletInfo:l}=null!=a?a:{};return t?(0,r.jsx)("div",{className:"walletModule",children:(0,r.jsxs)("div",{className:"addBank",children:[l.map(e=>(0,r.jsx)(CardItem,{item:e,type:m.e4w.EWallet},"".concat(e.accountNo,"-").concat(e.sysId))),l.length<3&&(0,r.jsxs)("div",{className:"addBankName noBank",onClick:()=>n({errorCallback:e=>s.error(e)}),children:[(0,r.jsx)("div",{className:"icon icon-plus"}),(0,r.jsx)("div",{children:e("Label_Withdrawal_AddEAccount")}
1)]}),(0,r.jsxs)("div",{className:"remainder",children:[e("Label_Withdrawal_NumberOfWallet"),":",l.length," / 3"]}),(0,r.jsx)("div",{className:"tip active",children:e("Label_Withdrawal_EWalletSubmitNote")})]})}):null},WalletPanel=()=>{let{withdrawalStatus:e}=(0,m.J7_)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(BankCard,{}),(0,r.jsx)(EWalletCard,{}),(0,r.jsx)(CryptoCard,{}),(0,r.jsx)("div",{className:"subModuleList",children:e===m.Mab.Init?(0,r.jsx)(Amount,{}):(0,r.jsx)(Confirm,{})})]})},tK=b()(()=>n.e(3588).then(n.bind(n,33588)),{loadableGenerated:{webpack:()=>[33588]},ssr:!1});var withdrawal=e=>{let{withdrawalBlockSetting:a}=e,{t:n}=(0,p.$G)(),{modal:t}=(0,c.JT)(),{restoreAll:s,loading:l,kycStatus:i,checkKyc:_}=(0,m.J7_)(),{shouldShowModal:u}=(0,d.y7)();return(0,m.Su9)({onProfileInvalid:()=>u&&t.open((0,r.jsx)(tK,{}))}),(0,x.useEffect)(()=>{_()},[]),(0,r.jsx)("main",{"data-ttid":"withdrawal-main",children:(0,r.jsxs)("section",{className:"inside",children:[(0,r.jsx)(W.Z,{withdrawalBlockSetting:a}),l?(0,r.jsx)(o.gb,{}):(0,r.jsxs)("div",{className:"rightModule",children:[(0,r.jsxs)("div",{className:"infoModule",children:[(0,r.jsxs)("div",{className:"inside-title",children:[(0,r.jsx)("span",{className:"icon icon-icon32px_Withdraw",children:n("Label_General_Withdrawal")}),(0,r.jsx)("button",{onClick:s,className:"icon icon-history",children:(0,r.jsx)("span",{children:n("Label_Withdrawal_RestoreAll")})})]}),i!==G.sF.Normal?(0,r.jsx)(KycPanel,{}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"infoModuleLeft",children:[(0,r.jsx)(WalletInfo,{}),(0,r.jsx)(WalletPanel,{})]}),(0,r.jsx)(ImportNotice,{})]})]}),(0,r.jsx)(RecentHistory,{})]})]})})}},18283:function(e,a,n){"use strict";n.r(a),n.d(a,{default:function(){return join}});var t=n(52322),s=n(50591),l=n(5632),i=n(61427),r=n(88213),o=n(72779),c=n.n(o),d=n(34180),m=n(2784),_=n(98356),u=n.n(_);let p={loop:!0,duration:10};var join_Banner=e=>{let{isDisableClick:a=!1}=e,{modal:n}=(0,r.JT)(),{registerBannerList:l}=(0,s.i8F)(),{bannerDataList:o,handleBannerClick:_}=(0,s.SKk)(l),h=(0,m.useMemo)(()=>[(0,d.Z)({delay:3e3,stopOnInteraction:!1})],[]),{emblaRef:b,selectedIndex:x,scrollTo:v}=(0,s.xPb)(p,h),onBannerClick=e=>{a||_(e,{loginCallback:()=>n.open((0,t.jsx)(i.default,{}))})};return(0,t.jsxs)("div",{className:c()(u().banner,{[u().noBanner]:0===o.length}),children:[1===o.length&&(0,t.jsx)("div",{onClick:()=>onBannerClick(o[0]),children:(0,t.jsx)("img",{src:o[0].bannerPCUrl,alt:o[0].bannerName})}),o.length>1&&(0,t.jsxs)("div",{className:"embla",ref:b,children:[(0,t.jsx)("div",{className:"embla__container",children:o.map(e=>(0,t.jsx)("div",{className:"embla__slide",onClick:()=>onBannerClick(e),children:(0,t.jsx)("img",{src:e.bannerPCUrl,alt:e.bannerName})},e.itemKey))}),(0,t.jsx)("div",{className:"embla__dots",children:o.map((e,a)=>(0,t.jsx)("button",{type:"button",className:c()("embla__dot",{"embla__dot--selected":a===x}),onClick:()=>v(a)},e.itemKey))})]})]})},h=n(38201),b=n(78287),x=n(80133),v=n(14482),j=n(93364),g=n(35196),N=n(1456),f=n(72689),C=n(4977),y=n(82981),k=n(63955),L=n(71426),w=n(38962),I=n(61842);let Form=()=>{var e,a,n,i,o,d,_,u,p,T;let{t:P}=(0,y.$G)(),{modal:B}=(0,r.JT)(),{getBannerUrl:M,getPHPBannerUrl:G}=(0,b.U5)(),{LANG_GROUPS:S,TERMS_CONDITIONS:D}=(0,b.V4)(),R=(0,l.useRouter)(),{query:V}=R,A=R.pathname.includes("tg-join"),[E,W]=(0,m.useState)(""),[F,O]=(0,m.useState)(""),[H,U]=(0,m.useState)(""),[Z,q]=(0,m.useState)(""),[Y,J]=(0,m.useState)(0),[$,K]=(0,m.useState)(!1),z=(0,j.Ph)(V,"affId"),Q=(0,j.Ph)(V,"affCode"),X=(0,j.Ph)(V,"affMediaLinkId"),ee=(0,j.Ph)(V,"clickId"),ea=(0,j.Ph)(V,"trackingCode"),en=(0,j.Ph)(V,"idCode"),et=(0,j.Ph)(V,"oClickId"),es=(0,j.Ph)(V,"oLinkId"),el=(0,g.getCookies)(),ei=A?z:z||el.AffId,er="0"===Q?"":Q,eo=A?er:er||el.AffCode,ec=ei||eo,ed=(0,j.Ph)(V,"providerUserId"),em=el[h.$r.LineUserId],e_=X||el.AffMediaLinkId,eu=ee||el.ClickId,ep=ea||sessionStorage.getItem("trackingCode"),eh=en||el.idCode,eb=et||el.oClickId,ex=es||el.oLinkId,{ALLOWED_CURRENCIES:ev}=(0,b.V4)(),ej=(0,m.useMemo)(()=>{let e=["head-show","head-hide"];return e[Math.floor(Math.random()*e.length)]},[]),{formState:eg,trigger:eN,setError:ef,setValue:eC,register:ey,getValues:ek,clearErrors:eL,handleSubmit:ew,getFieldState:eI,control:eT}=(0,k.cI)({mode:"onTouched"}),{errors:eP,touchedFields:eB}=eg,{userInfo:{langId:eM,currencyId:eG}}=(0,b.aC)(),{data:{data:eS}={}}=(0,v.h7O)(eG,{skip:!eG}),eD=null!==(T=null==eS?void 0:eS.enableTelegram)&&void 0!==T?T:b.T$.enableTelegram,{data:{data:eR=[]}={}}=(0,v.s13)(),[eV]=(0,v.Q8X)(),[eA]=(0,v.HjS)(),[eE,{isFetching:eW}]=(0,v.dYL)(),[eF,{isFetching:eO}]=(0,v.xbE)(),eH=el[h.$r.IPCountry],[eU]=(0,v.BlB)(),[eZ]=(0,v.nEA)(),{Captcha:eq,getToken:eY,captchaType:eJ}=(0,s.C9C)(),{setRiskCheck:e$}=(0,x.Zv)(),{handleTgRegister:eK}=(0,s.agh)(),[ez,eQ]=(0,m.useState)([]),[eX,e0]=(0,m.useState)(0),e1=(0,m.useRef)(Date.now()).current,{isEzplayEntered:e2,isEzplayIdentity:e4,trackingParams:e8}=(0,x.oz)(),e5=(0,j.bX)()?21:18,{showAreaCodeWarning:e3}=(0,x.KN)(eT,"+84"),e6=(0,j.xZ)({siteCurrencyList:eR}).filter(e=>{let a=ek("affiliate"),n=ek("currencyId");return!ei||!a||e===n}).map(e=>({value:e,label:P("Label_General_Currency_".concat(e)),prefixOptionIcon:(0,t.jsx)("div",{className:c()("flag",h.al[e])})})),e9=(0,k.qo)({control:eT,name:"currencyId"}),e7=ez.length>0||!!eX,ae=(0,x.jE)({supportedCurrencyOptions:e6,isLocked:e7,setValue:eC,trigger:eN}),handleCurrencyDefaultValue=()=>{var e,a;let n=e6.filter(e=>{var a;return(null===(a=h.al[e.value])||void 0===a?void 0:a.toUpperCase())===eH}),t=e6.filter(e=>e.value===eG);return(null===(e=n[0])||void 0===e?void 0:e.value)||(null===(a=t[0])||void 0===a?void 0:a.value)},aa=Object.values(h._b),an=aa.map(e=>({value:e.AreaCode,label:"".concat(e.AreaCode," ").concat(e.Name)})),handleAreaCodeDefaultValue=()=>{var e;let a=eH&&aa.find(e=>e.Abbr===eH),n=Object.values(h._b).filter(e=>e.AreaCode===h.Ps[eG]);return(null==a?void 0:a.AreaCode)||(null===(e=n[0])||void 0===e?void 0:e.AreaCode)},checkUsername=async()=>{await eN("username");let{error:e}=eI("username"),a=ek("username");if(e)return!1;try{let{data:e,message:n}=await eE({username:a,langId:eM}
1).unwrap();if(e)return ef("username",{type:"duplicate",message:n}),!1;return!0}catch(e){return!1}},checkEmail=async()=>{await eN("email");let{error:e}=eI("email"),a=ek("email");if(!e&&a)try{let{data:e}=await eF({email:a}).unwrap();e&&""!==a&&ef("email",{type:"duplicate",message:"".concat(P("Label_Profile_MailExisted"))})}catch(e){}},validatePhone=async()=>{eN("areaCode");let e=ek("areaCode"),a=ek("phone");if(!e)return P("Label_Join_PhoneRequired");if(Object.values(h.Ps).includes(e)&&!h.t$.test(e+a)){let a=h.hI[e];return P("Label_Join_PhoneNumberErrorTip",{digitalArea:a})}},checkCurrency=()=>{let e=ek("currencyId");return e?(eL("currencyId"),!0):(ef("currencyId",{type:"required",message:P("Label_Join_RemindPrefferedCurrency")}),!1)},checkAffiliate=async()=>{let e=ek("affiliate");if(!e)return!0;try{let{data:a}=await eV({affCode:e}).unwrap();if(Number(a)){selectCurrency(Number(a));let e=eR.filter(e=>e===Number(a)).map(e=>({value:e,label:P("Label_General_Currency_".concat(e)),prefixOptionIcon:(0,t.jsx)("div",{className:c()("flag",h.al[e])})}));eQ(e)}return eL("affiliate"),!0}catch(e){return ef("affiliate",{type:"invalid",message:P("Label_Join_AffiliateIdWrong")}),!1}},selectCurrency=e=>{let a=ek("currencyId");if((0,C.Z)(e)&&e!==a){if(eC("currencyId",e),eL("currencyId"),!A){let a=h.Ps[e];a&&eC("areaCode",a)}ek("phone")&&eN("phone")}},checkUrlAffiliate=async()=>{if(ec)try{if(ei){let{data:{currencyId:e}}=await eA({affId:ei}).unwrap();e&&(selectCurrency(e),eC("affiliate",ei),e0(e))}else if(eo){let{errorCode:e,data:a}=await eV({affCode:eo}).unwrap();0===e&&(eC("affiliate",eo),(0,C.Z)(a)&&a>0&&(selectCurrency(a),e0(a)))}}catch(e){}},at=(0,N.Z)(async()=>{var e,a;if($)return;K(!0);let{username:n,password:t,email:s,currencyId:l,areaCode:i,phone:r,affiliate:o}=ek(),c=Math.round((Date.now()-e1)/1e3);(0,j.Fh)(),(0,j.pP)({eventName:"registerSubmit",eventValue:n});let d=checkCurrency(),m=await checkAffiliate(),_=eJ===v.vRB.Number?ek("reCaptchaToken"):await eY();if(!d||!m){K(!1);return}let u=o&&ei?String(o):null,p=!ei&&m?String(o):null,b=null!==(a=null===(e=S[l].find(e=>{let{langCode:a}=e;return a===eM}))||void 0===e?void 0:e.langCode)&&void 0!==a?a:"en",x=(0,w.Z)().replace(/-/g,"").slice(0,14),g=n.slice(0,4)+x;try{await eU({affCode:p,affId:u,currencyId:l,email:s,areaCode:i,phoneNo:r,referralUrl:document.referrer,userLang:b,userName:n,userpwd:t,langId:b,..._&&{reCaptchaToken:_,captchaType:eJ},lineUserId:em,...ed&&{providerUserId:ed},affMediaLinkId:E,affClickId:F,trackingUserName:g,trackingCode:ep,idCode:H,idCodeClickId:Z,idCodeLinkId:Y}).unwrap(),e$(v.huq.FPS,v.IlQ.Registration),e$(v.huq.Iovation,v.IlQ.Registration);try{await eZ({DeviceType:(0,j.l7)(),TrackingPage:"join",TrackingCode:"",ABTestName:"registration-page-type",ABTestValue:{joinByRegisterType:ej}}).unwrap()}catch(e){}try{await eZ({DeviceType:(0,j.l7)(),TrackingPage:"join",TrackingCode:"",ABTestName:"registration-duration-time",ABTestValue:{registrationDurationTime:c}}).unwrap()}catch(e){}if(ep?(0,j.pP)({eventName:"CompleteRegistrationIConvert",trackingUserName:g}):(0,j.pP)({eventName:"CompleteRegistration",eventValue:n}),(0,j.Tz)(n,V),e2&&((0,j.sn)("signup_success",e8),e4)){R.push(h.Hb.deposit.root);return}R.push(h.Hb.home.root)}catch(e){K(!1),B.error(e.message)}},1e3);(0,m.useEffect)(()=>{ec&&checkUrlAffiliate()},[ec]),(0,m.useEffect)(()=>{W((null==e_?void 0:e_.toString())||""),O((null==eu?void 0:eu.toString())||""),U((null==eh?void 0:eh.toString())||""),q((null==eb?void 0:eb.toString())||""),J(ex?Number(ex):0)},[]),(0,m.useEffect)(()=>{let{areaCode:e,currencyId:a}=ek();eC("currencyId",a||handleCurrencyDefaultValue()),A||eC("areaCode",e||handleAreaCodeDefaultValue())},[handleCurrencyDefaultValue,handleAreaCodeDefaultValue]),(0,m.useEffect)(()=>{let e=V.errorCode;A&&e&&e!==h.lj&&R.replace({pathname:h.Hb.home.root,query:{tgError:e}})},[V.errorCode,A]),(0,m.useEffect)(()=>{if(!A)return;let autoFill=async()=>{V.username&&(eC("username",V.username,{shouldValidate:!0,shouldTouch:!0}),await checkUsername()),eC("password",(0,j.F2)(),{shouldValidate:!0,shouldTouch:!0}),eN("password"),V.areaCode&&"0"!==V.areaCode&&eC("areaCode","+".concat(V.areaCode),{shouldTouch:!0}),V.phone&&"0"!==V.phone&&eC("phone",V.phone,{shouldTouch:!0}),(V.areaCode||V.phone)&&await eN("phone"),V.affCode&&"0"!==V.affCode&&(eC("affiliate",V.affCode,{shouldValidate:!0,shouldTouch:!0}),await checkAffiliate()),V.IdCode&&U(V.IdCode),V.IdCodeClickId&&q(V.IdCodeClickId),V.IdCodeLinkId&&J(Number(V.IdCodeLinkId))};autoFill()},[V.username,V.areaCode,V.phone,V.affCode,V.IdCode,V.IdCodeClickId,V.IdCodeLinkId,A]);let as=P("Label_Join_CantChangePhone");return e3?as=P("Label_Join_AreaCode84Warning_OT"):A&&(as=P("Label_TgJoin_PhoneWarning")),(0,t.jsxs)("form",{className:"joinloginFunction ".concat(ej),onSubmit:ew(at),children:[(0,t.jsx)("div",{className:"title",children:A?P("Label_TgJoin_CreateAccount"):P("Label_Join_QuickRegistration")}),!A&&!(0,j.bX)()&&eD&&(0,t.jsx)("div",{className:"register-telegram",style:{marginBottom:"16
1px",display:"flex",justifyContent:"center"},children:(0,t.jsxs)("button",{type:"button",className:"btn-telegram",style:{width:"50%"},onClick:()=>eK({affCode:eo?String(eo):"0"}),children:[(0,t.jsx)("img",{src:M(h.bo.desktop.telegram),alt:"Telegram"}),(0,t.jsx)("span",{children:P("Label_General_Telegram")})]})}),A&&V.phone&&(0,t.jsx)("div",{style:{marginBottom:"16px",padding:"0 10px"},children:(0,t.jsxs)("div",{className:"tg-connected-banner",style:{display:"flex",justifyContent:"space-between",alignItems:"center",background:"#172429",border:"1px solid #112E65",borderRadius:"18px",padding:"12px 16px"},children:[(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"18px"},children:[(0,t.jsx)("img",{src:M(h.bo.desktop.telegram),alt:"Telegram",style:{width:"24px",height:"24px",borderRadius:"50%",flexShrink:0}}),(0,t.jsx)("span",{style:{color:"#fff",fontSize:"12px"},children:P("Label_TgJoin_ConnectedBanner")})]}),(0,t.jsx)(L.osu,{size:15,color:"#00C853","aria-hidden":!0,style:{flexShrink:0}})]})}),(0,t.jsxs)("div",{className:"inputModule",children:[A&&V.phone&&(0,t.jsx)("div",{style:{fontSize:"12px",textAlign:"left",color:"#cba873",padding:"0 10px"},children:P("Label_TgJoin_UsernamePasswordHint")}),(0,t.jsx)(I.Wz,{"data-ttid":"join-username-input",register:ey("username",{required:P("Label_General_UsernameReq"),pattern:{value:h.ME,message:P("Label_General_UserNameLength")},onBlur:checkUsername}),requiredIcon:!0,placeholder:P("Label_General_Username"),loading:eW,errorMessage:null===(e=eP.username)||void 0===e?void 0:e.message,error:!!eP.username,touched:!!eB.username,successMessage:P("Label_Join_CantChangeUsername"),infoMessage:P("Label_Join_UsernameTooltip")}),(0,t.jsx)(I.Wz,{"data-ttid":"join-password-input",register:ey("password",{required:P("Label_General_PasswordRequired"),pattern:{value:h.zU,message:P("Label_General_PasswordValidate")},onBlur:()=>eN("password")}),password:!0,requiredIcon:!0,placeholder:P("Label_General_Password"),errorMessage:null===(a=eP.password)||void 0===a?void 0:a.message,error:!!eP.password,touched:!!eB.password,initialShowPassword:A}),(0,t.jsxs)("div",{className:"input-group",children:[(0,t.jsx)(I.Ph,{showSearch:!0,defaultValue:handleAreaCodeDefaultValue(),options:an,placeholder:"",requiredIcon:!0,onChange:e=>{ek("phone")&&eN("phone");let a=ek("areaCode");e!==a&&eC("areaCode",e),ae(e)},value:ek("areaCode"),errorMessage:null===(n=eP.areaCode)||void 0===n?void 0:n.message,showValue:!0,"data-ttid":"join-areaCode-select",disabled:A&&!!ek("areaCode")}),(0,t.jsx)(I.Wz,{"data-ttid":"join-phone-input",register:ey("phone",{required:P("Label_Join_PhoneRequired"),validate:validatePhone}),requiredIcon:!0,placeholder:P("Label_General_Phone"),error:!!eP.phone,touched:!!eB.phone,type:"number",disabled:A&&!!ek("phone")&&!!ek("areaCode")})]}),(0,t.jsx)("div",{className:c()("tip active",{"txt-red":eP.phone,"txt-yellow":!eP.phone&&(e3||A)}),children:(null===(i=eP.phone)||void 0===i?void 0:i.message)||(e3?P("Label_Join_AreaCode84Warning_OT"):P("Label_Join_CantChangePhone"))||as}),(0,t.jsx)(I.Ph,{options:0===ez.length?e6:ez,defaultValue:handleCurrencyDefaultValue(),value:e9||handleCurrencyDefaultValue(),placeholder:P("Label_Join_PrefferedCurrency"),requiredIcon:!0,onChange:selectCurrency,errorMessage:null===(o=eP.currencyId)||void 0===o?void 0:o.message,"data-ttid":"join-currency",disabled:e7}),(0,t.jsx)("div",{className:"tip active",children:(null===(d=eP.currencyId)||void 0===d?void 0:d.message)||P("Label_Join_CantChangePreferredCurrency")}),(0,t.jsx)(I.Wz,{"data-ttid":"join-email-input",register:ey("email",{pattern:{value:h.CU,message:P("Label_Join_MailWrongFormat")},onBlur:checkEmail}),placeholder:"".concat(P("Label_General_Email")," (").concat(P("Label_Profile_Option2"),")"),loading:eO,errorMessage:null===(_=eP.email)||void 0===_?void 0:_.message,error:!!eP.email,touched:ek("email")&&!!eB.email,successMessage:P("Label_Join_CantChangeEmail"),infoMessage:P("Label_Join_EmailToolTip")}),(0,f.Z)(ev.AFFILIATE,eG)&&!(ec&&ek("affiliate"))&&(0,t.jsx)(I.Wz,{"data-ttid":"join-affiliate-input",register:ey("affiliate",{onBlur:checkAffiliate}),icon:"icon icon-affiliate txt-blue",placeholder:P("Label_Join_Affiliate_ID"),errorMessage:null===(u=eP.affiliate)||void 0===u?void 0:u.message,error:!!eP.affiliate,touched:!!eB.affiliate,infoMessage:P("Label_Join_Please_Enter_Affiliate_ID")})]}),(0,t.jsx)("div",{style:{textAlign:"center"},children:(0,t.jsx)(eq,{})}),eJ===v.vRB.Number&&(0,t.jsx)(I.Wz,{"data-ttid":"join-reCaptchaToken-input",register:ey("reCaptchaToken",{required:!0}),icon:"icon txt-blue",placeholder:P("Label_General_EnterCaptchaCode"),errorMessage:null===(p=eP.reCaptchaToken)||void 0===p?void 0:p.message,error:!!eP.reCaptchaToken,touched:!!eB.reCaptchaToken}),(0,t.jsx)("div",{className:"btnGroup",children:(0,t.jsx)("button",{"data-ttid":"join-submit-btn",className:"btn-check primary",style:{textTransform:"uppercase"},type:"submit",disabled:$,children:P("Label_General_Register")})}),(0,t.jsxs)("div",{className:"Terms",children:[P("Label_12Bet_Join_SignUpTerms1",{age:e5}),(0,t.jsx)("a",{className:"txt-blue",target:"_blank",rel:"noreferrer",href:(0,j.bX)()?G(D({langId:"en"}).TermsConditions):M(D({langId:"en"}).TermsConditions),children:P("Label_Join_SignUpTerms2")}),P("Label_Join_SignUpTerms3")]})]})};var join=()=>{let e=(0,l.useRouter)(),a=e.pathname.includes("tg-join");return(0,t.jsx)("div",{className:"joinpop registration",children:(0,t.jsxs)("div",{className:"joinloginModule",children:[(0,t.jsx)(join_Banner,{isDisableClick:a}),(0,t.jsx)(s.w4m,{children:(0,t.jsx)(Form,{})})]})})}},59207:function(e,a,n){"use strict";n.d(a,{Z:function(){return leaderboard}});var t=n(52322),s=n(78287),l=n(80133),i=n(28879),r=n.n(i),o=n(10264),c=n.n(o),d=n(82981),m=n(99657),_=n.n(m);let formatCompetitionTime=e=>r()(e).utcOffset(8).format("D MMM HH:mm"),CountdownItem=e=>{let{value:a,label:n}=e;return(0,t.jsxs)("div",{className:_().countdownItem,children:[(0,t.jsx)("span",{className:_().countdownBox,children:String(a).padStart(2,"0")}),(0,t.jsx)("span",{className:_().countdownLabel,children:n})]})};r().extend(c());var banner=e=>{let{activeTab:a}=e,{t:n}=(0,d.$G)(),{getBannerUrl:i}=(0,s.U5)(),{board:r,showPast:o,notActivate:c}=(0,l.K5)(a),{totalPlayers:m,competitionPeriod:u}=r.competition,{days:p,hours:h,minutes:b,seconds:x}=(0,l.dC)(u.endDate);return(0,t.jsxs)("div",{className:_().banner,children:[(0,t.jsxs)("div",{className:_().bannerContent,children:[(0,t.jsx)("p",{className:_().title,children:n("Label_Events_Leaderboard")}),(0,t.jsxs)("div",{className:_().metaRow,children:[(0,t.jsxs)("span",{className:_().metaItem,children:[(0,t.jsx)("img",{src:i("/desktop/img/event/leaderboard/king-of-the-board/Player.svg"),alt:"player icon"}),c?"-":m," ",n("Label_General_Player")]}),(0,t.jsxs)("span",{className:_().metaItem,children:[(0,t.jsx)("img",{src:i("/desktop/img/event/leaderboard/king-of-the-board/Date.svg"),alt:"date icon"}),c?"-":(0,t.jsxs)(t.Fragment,{children:[formatCompetitionTime(u.startDate)," –"," ",formatCompetitionTime(u.endDate),"\xa0 GMT+8"]})]})]}),!o&&!c&&(0,t.jsxs)("div",{className:_().endsInRow,children:[(0,t.jsxs)("span",{className:_().endsInLabel,children:[(0,t.jsx)("img",{src:i("/desktop/img/event/leaderboard/king-of-the-board/Clock.svg"),alt:"clock icon"}),n("Label_General_Ends_In")]}),(0,t.jsxs)("div",{className:_().countdown,children:[(0,t.jsx)(CountdownItem,{value:p,label:n("Label_General_Days")}),(0,t.jsx)(CountdownItem,{value:h,label:n("Label_General_Hours")}),(0,t.jsx)(CountdownItem,{value:b,label:n("Label_General_Minutes")}),(0,t.jsx)(CountdownItem,{value:x,label:n("Label_General_Seconds")})]})]})]}),(0,t.jsx)("img",{className:_().bannerImage,src:i("/desktop/img/event/leaderboard/king-of-the-board/LeaderboardBanner.webp"),alt:n("Label_Events_Leaderboard")})]})},u=n(14482),p=n(93364),h=n(72779),b=n.n(h),x=n(2784),v=n(22828),j=n(34375),g=n.n(j);let createRuleGroup=(e,a)=>({start:e,keys:Array.from({length:a-e+1},(a,n)=>"Label_Events_Leaderboard_Competition_Rules_".concat(e+n))}),N=createRuleGroup(1,5),f=createRuleGroup(6,6),C=createRuleGroup(7,8),toOrdinal=e=>{var a;let n=e%100;if(n>=11&&n<=13)return"".concat(e,"th");
1let t=null!==(a=["th","st","nd","rd"][e%10])&&void 0!==a?a:"th";return"".concat(e).concat(t)},y={[u.A1$.Sport]:"Sport",[u.A1$.Slot]:"Slot",[u.A1$.LiveCasino]:"Live Casino",[u.A1$.Others]:"Others"};var competition_rules=e=>{let{activeTab:a}=e,{t:n}=(0,d.$G)(),{getBannerUrl:i}=(0,s.U5)(),{userInfo:{currencyId:r,langId:o}}=(0,s.aC)(),{board:c,showPast:m}=(0,l.K5)(a),[_,u]=(0,x.useState)(!1),{pointCalculation:h,prizeTable:j,competition:k}=c,{minimumPoint:L}=k,renderRuleGroup=e=>{let{start:a,keys:n}=e;return(0,t.jsx)("ol",{className:g().ruleList,start:a,children:n.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(d.cC,{i18nKey:e,components:{span:(0,t.jsx)("span",{className:g().highlight}),a:(0,t.jsx)("a",{href:i("/Static/".concat(o,"/Promotion.html")),target:"_blank",rel:"noopener noreferrer"})},values:{minimumPoints:(0,p.Et)(L)}})},e))})};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:g().competitionRules,children:[(0,t.jsxs)("button",{type:"button",className:g().header,onClick:()=>u(e=>!e),children:[(0,t.jsxs)("span",{className:g().headerTitle,children:[(0,t.jsx)("img",{src:i("/desktop/img/event/leaderboard/king-of-the-board/Info.svg"),alt:"info"}),(0,t.jsxs)("span",{children:[" ",n("Label_Events_Leaderboard_Competition_Rules_Title")]})]}),(0,t.jsx)(v.CgR,{className:b()(g().chevron,{[g().chevronOpen]:_})})]}),(0,t.jsx)("div",{className:b()(g().bodyWrapper,{[g().bodyOpen]:_}),children:(0,t.jsxs)("div",{className:g().body,children:[renderRuleGroup(N),(0,t.jsxs)("table",{className:g().table,children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{children:n("Label_General_Rank")}),(0,t.jsx)("th",{children:n("Label_General_Rewards")}),(0,t.jsx)("th",{children:"Min. PTS"})]})}),(0,t.jsx)("tbody",{children:j.map(e=>(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{children:toOrdinal(e.rank)}),(0,t.jsxs)("td",{className:g().reward,children:[(0,p.Et)(e.rewardAmount)," ",n("Label_Currency_".concat(r))]}),(0,t.jsxs)("td",{children:[(0,p.Et)(L)," PTS"]})]},e.rank))})]}),renderRuleGroup(f),(0,t.jsxs)("table",{className:g().table,children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{children:n("Label_General_Games")}),(0,t.jsx)("th",{children:n("Label_General_Turnover")}),(0,t.jsx)("th",{children:"PTS"})]})}),(0,t.jsx)("tbody",{children:h.map(e=>(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{children:y[e.categoryId]}),(0,t.jsxs)("td",{children:[(0,p.Et)(e.validTurnover)," ",n("Label_Currency_".concat(r))]}),(0,t.jsx)("td",{children:"1 PTS"})]},e.categoryId))})]}),renderRuleGroup(C)]})})]}),!m&&(0,t.jsx)("div",{className:g().qualifyNoticeWrapper,children:(0,t.jsx)("p",{className:g().qualifyNotice,children:(0,t.jsx)(d.cC,{i18nKey:"Label_Events_Leaderboard_Competition_Rules_Qualify_Notice",values:{minimumPoints:(0,p.Et)(L),currencyCode:n("Label_Currency_".concat(r))},components:{span:(0,t.jsx)("span",{})}})})})]})},k=n(64479),L=n.n(k);let w=[{id:"current",labelKey:"Label_General_Current"},{id:"past",labelKey:"Label_General_Past"}];var current_past_tab=e=>{let{activeTab:a,onTabChange:n}=e,{t:s}=(0,d.$G)();return(0,t.jsx)("div",{className:L().currentPastTab,children:w.map(e=>{let{id:l,labelKey:i}=e;return(0,t.jsx)("button",{type:"button",className:b()(L().tab,{[L().active]:a===l}),onClick:()=>n(l),children:s(i)},l)})})},I=n(52148),T=n.n(I);let P="/desktop/img/event/leaderboard/king-of-the-board";var ranking_board=e=>{let{rankings:a,customerRank:n,prizeTable:i,showPast:r,notActivate:o}=e,{getBannerUrl:c}=(0,s.U5)(),{userInfo:{currencyName:d}}=(0,s.aC)(),{currentUserRowRef:m,isFlashing:_,handleFlashEnd:u}=(0,l.Mt)(a,n),h=a.filter(e=>{let{rank:a}=e;return a<=2}),x=a.filter(e=>{let{rank:a}=e;return a>2}),getFlagUrl=e=>c("".concat(P,"/").concat(e,".svg"));return(0,t.jsxs)("div",{className:T().ranking,children:[(0,t.jsx)("div",{className:T().topCards,children:h.map(e=>{var a,s;let{rank:l,countryCode:m,maskedUserName:_,totalPoint:u}=e,h=c("".concat(P,"/").concat(1===e.rank?"1st":"2nd","Reward.webp")),x=null!==(s=null===(a=i.find(e=>{let{rank:a}=e;return a===l}))||void 0===a?void 0:a.rewardAmount)&&void 0!==s?s:0,v=l===n;return(0,t.jsxs)("div",{className:b()(T().topCard,1===l?T().top1:T().top2,{[T().currentUser]:v}),children:[(0,t.jsxs)("span",{className:T().topBadge,children:["TOP",l]}),(0,t.jsxs)("div",{className:T().cardBody,children:[(0,t.jsxs)("span",{className:T().rewardImageWrapper,children:[(0,t.jsx)("img",{className:T().rewardImage,src:h,alt:"top ".concat(l," reward")}),(0,t.jsx)("img",{className:T().rewardImageShine,src:h,alt:"","aria-hidden":!0})]}
1),(0,t.jsxs)("div",{className:T().topInfo,children:[m?(0,t.jsx)("img",{className:T().topFlag,src:getFlagUrl(m),alt:m}):(0,t.jsx)("div",{className:T().noFlag}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:T().topName,children:_}),(0,t.jsxs)("p",{className:T().topPoints,children:[o?"-":(0,p.Et)(u)," PTS"]})]})]}),!r&&(0,t.jsxs)("p",{className:T().rewardAmount,children:[o?"-":(0,p.Et)(x)," ",(0,t.jsx)("span",{children:d})]})]})]},l)})}),(0,t.jsx)("ul",{className:T().rankingList,children:x.map(e=>{let{rank:a,countryCode:s,maskedUserName:l,totalPoint:i}=e,r=a===n;return(0,t.jsxs)("li",{ref:r?m:void 0,className:b()(T().row,{[T().currentUser]:r,[T().flash]:r&&_}),onAnimationEnd:r?u:void 0,children:[(0,t.jsx)("span",{className:T().rank,children:a}),s?(0,t.jsx)("img",{className:T().flag,src:getFlagUrl(s),alt:s}):(0,t.jsx)("div",{className:T().noFlag}),(0,t.jsx)("span",{className:T().name,children:l}),(0,t.jsxs)("span",{className:b()(T().points,{[T().topFive]:a<=5}),children:[o?"-":(0,p.Et)(i),(0,t.jsx)("span",{className:T().pts,children:"PTS"})]})]},a)})})]})},ranking=e=>{let{activeTab:a}=e,{board:n,showPast:s,notActivate:i}=(0,l.K5)(a);return(0,t.jsx)(ranking_board,{rankings:n.rankings,customerRank:n.competition.customerRank,prizeTable:n.prizeTable,showPast:s,notActivate:i})},B=n(88213),M=n(38201),G=n(25237),S=n.n(G),D=n(5632),R=n(45495),V=n.n(R);let A=S()(()=>n.e(7428).then(n.bind(n,7428)),{loadableGenerated:{webpack:()=>[7428]},ssr:!1}),E={[u.$gE.NotParticipated]:"Label_Events_Leaderboard_Competition_Not_Participated_Modal",[u.$gE.HasEverParticipated]:"Label_Events_Leaderboard_Competition_Has_Ever_Participated_Modal"};var leaderboard=()=>{let e=(0,D.useRouter)(),{isError:a,error:n}=(0,u.uxc)(null),{modal:s}=(0,B.JT)(),[i,r]=(0,x.useState)("current"),{hasTab:o,showPast:c}=(0,l.K5)(i),{errorCode:d,errorCodePrefix:m}=null!=n?n:{},_=(null==m?void 0:m.toLowerCase())===u.iVq&&d?E[d]:void 0,p=(0,x.useRef)(!1);(0,x.useEffect)(()=>{_&&!p.current&&(p.current=!0,s.open((0,t.jsx)(A,{i18nKey:_})))},[_,s]);let h=(0,x.useRef)(!1);return(0,x.useEffect)(()=>{var t;if(!a||_||h.current)return;h.current=!0;let l=n&&"message"in n&&null!==(t=n.message)&&void 0!==t?t:"",backToHome=()=>e.push(M.Hb.home.root);s.error(l,{onOK:backToHome,onCancel:backToHome})},[a,n,_,s,e]),(0,t.jsxs)("div",{className:V().leaderboard,children:[(0,t.jsx)(banner,{activeTab:i}),o&&(0,t.jsx)(current_past_tab,{activeTab:i,onTabChange:r}),!c&&(0,t.jsx)(competition_rules,{activeTab:i}),(0,t.jsx)(ranking,{activeTab:i})]})}},4268:function(e,a,n){"use strict";var t=n(52322),s=n(78287),l=n(50591),i=n(70090),r=n(14048),o=n(93364),c=n(72779),d=n.n(c),m=n(84780),_=n(82981);a.Z=e=>{let{withdrawalBlockSetting:a}=e,{t:n}=(0,_.$G)(),{isAbleToSeeThirtyDaysMission:c}=(0,s.U5)(),{menuList:u,handleMenuClick:p}=(0,l.LUe)({withdrawalBlockSetting:a}),{userInfo:{currencyId:h}}=(0,s.aC)();return(0,t.jsx)("div",{id:"leftMenu",children:u.map(e=>{let{displayKey:a,submenuList:s}=e;return(0,t.jsxs)("div",{className:"menuModule",children:[(0,t.jsx)("button",{className:"menuHeader",style:{cursor:"auto"},children:n(a)}),s.map(e=>{let{displayKey:a,pathname:s,isActive:l,isVisible:_,id:u}=e;return c||u!==r.uB.thirtyDaysMission?_&&(0,t.jsx)("a",{id:u&&u,className:d()("menuSelect",{active:l,"new-btn":(0,o.T0)(i.RR[u],h),"hot-btn":"Label_General_Deposit"===a&&!1}),onClick:()=>{p(s),u===r.uB.thirtyDaysMission&&(0,m.o)({eventName:"ThirtyDaysTracking",eventValue:"LeftMenuBtn-30days"})},children:(0,t.jsx)("span",{style:{fontSize:u===r.uB.thirtyDaysMission?"13px":void 0},children:n(a)})},a):null})]},a)})})}},51180:function(e,a,n){"use strict";n.d(a,{Z:function(){return message}});var t=n(52322),s=n(24586),l=n(88213),i=n(80133),r=n(72779),o=n.n(r),c=n(7279),d=n(82981),m=n(2784),_=n(12021),u=n(14482),p=n(93364),h=n(28879),b=n.n(h),x=n(17739);let MessageItem=e=>{let{flag:a,id:n,title:s,createTime:i,isPopup:r=!1,selectedMessage:c,onCheckBox:d}=e,{modal:_}=(0,l.JT)(),[h,v]=(0,m.useState)(!1),[j,{data:{data:g={}}={}}]=(0,u.khP)(),N=(0,m.useMemo)(()=>g.content?(0,p.Z6)(g.content):"",[g.content]),handleFetchMsgContent=async function(e){let a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(a)try{await j({msgId:e}).unwrap(),v(!0)}catch(e){_.error(e.message)}else v(!1)};return(0,m.useEffect)(()=>{r&&handleFetchMsgContent(n,!0)},[r]),(0,t.jsxs)("div",{className:o()({haveRead:a}),children:[(0,t.jsxs)("div",{className:o()("listHeader",{active:h}),children:[(0,t.jsxs)("div",{className:"checkbox",children:[(0,t.jsx)("input",{type:"checkbox",id:"msgList-checkBox-".concat(n),onChange:()=>d(n),checked:(0,x.Z)(c,{msgId:n}
1)}),(0,t.jsx)("label",{"aria-label":"msgList-checkBox",htmlFor:"msgList-checkBox-".concat(n),className:"icon icon-checkbox-checked"})]}),(0,t.jsx)("div",{className:"message-content",onClick:()=>handleFetchMsgContent(n,!h),children:(0,t.jsx)("div",{className:"message-title",children:s})}),(0,t.jsxs)("div",{className:o()("message-date",{expanded:h}),onClick:()=>handleFetchMsgContent(n,!h),children:[(0,t.jsx)("span",{className:"date-text",children:h?b()(i).format("YYYY-MM-DD HH:mm:ss"):1>b()().diff(i,"day")?b()(i).format("HH:mm:ss"):b()(i).format("YYYY-MM-DD")}),(0,t.jsx)("button",{className:o()("icon icon-keyboard_arrow_down",{active:h})})]})]}),(0,t.jsx)("div",{className:o()("listBody backstage",{active:h}),dangerouslySetInnerHTML:{__html:N}})]})};var message=()=>{let{t:e}=(0,d.$G)(),{modal:a}=(0,l.JT)(),[n,r]=(0,m.useState)(0),{messageModeResponse:u}=(0,i.Sg)({mode:"PaginationMode",activeTab:n}),{isMsgListLoading:p,isDeletingMsg:h,paginationMode:b,msgId:x,msgList:v,selectedMessage:j,mergedCategoryData:g,refetchMsgList:N,onReadSelectedMsg:f,onDeleteMessage:C,onClickCheckBox:y,onToggleCheckedAll:k}=u,{currentPage:L,totalPages:w,onPageChange:I}=b,handleChangeTab=e=>()=>{r(e)};return p?(0,t.jsx)(s.gb,{}):(0,t.jsxs)("div",{className:"rightModule",children:[(0,t.jsxs)("div",{className:"infoModule",children:[(0,t.jsx)("div",{className:"inside-title",children:(0,t.jsx)("span",{className:"icon icon-icon32px_openmail",children:e("Label_Message_PersonalMsg")})}),(0,t.jsxs)("div",{className:"personal",children:[(0,t.jsx)("div",{className:"tab-area",children:g.map(a=>{let{categoryId:s,label:l,totalCount:i,hasUnread:r}=a;return(0,t.jsxs)("div",{className:o()("tab-item",{active:n===s}),onClick:handleChangeTab(s),children:[(0,t.jsxs)("span",{children:[e(l)," "]}),(0,t.jsxs)("span",{children:["(",i>99?"99+":i,")"]}),r&&(0,t.jsx)("div",{className:"tab-unread"})]},s)})}),(0,t.jsxs)("div",{className:"main-area",children:[(0,t.jsxs)("div",{className:"checkbox top-menu",children:[(0,t.jsxs)("div",{className:"top-menu-left",children:[(0,t.jsx)("input",{type:"checkbox",id:"message-selectAll",onChange:k,disabled:h,checked:v.length===j.length&&0!==v.length}),(0,t.jsx)("label",{htmlFor:"message-selectAll",className:"icon icon-checkbox-checked"}),(0,t.jsx)("label",{htmlFor:"message-selectAll",className:"selectAll-text",children:e("Label_General_Select_or_Deselect")})]}),(0,t.jsxs)("div",{className:"top-menu-right",children:[(0,t.jsx)("button",{className:o()("icon icon-icon32px_openmail",{active:!(0,c.Z)(j)}),onClick:f,disabled:h,children:(0,t.jsx)("span",{children:e("Label_Message_Mark_As_Read")})}),(0,t.jsx)("button",{className:o()("icon icon-bin",{active:!(0,c.Z)(j)}),onClick:function(){a.confirm([e("Label_General_AreYouSureDelete"),e("Label_General_CantBeRestore")],{onOK:C})},disabled:h,children:(0,t.jsx)("span",{children:e("Label_General_Delete")})}),(0,t.jsx)("div",{children:(0,t.jsx)(s.kJ,{onClick:N})})]})]}),(0,t.jsxs)("div",{className:"list",children:[(0,t.jsxs)("div",{className:"functionMenu",children:[(0,t.jsx)("span",{children:e("Label_General_Subject")}),(0,t.jsx)("span",{children:e("Label_General_Day")})]}),(0,c.Z)(v)?(0,t.jsx)("div",{className:"nodata icon icon-nodata",children:(0,t.jsx)("div",{children:e("Label_General_NoData")})}):v.map(e=>(0,t.jsx)(MessageItem,{...e,isPopup:Number(x)===e.id,selectedMessage:j,onCheckBox:y},e.id))]})]}),(0,t.jsx)("div",{className:"pagination",children:(0,t.jsx)(_.Z,{totalPage:w,currentPage:L,onPageChange:I})})]})]}),h&&(0,t.jsx)(s.gb,{})]})}},58507:function(e,a,n){"use strict";n.r(a);var t=n(52322),s=n(88213),l=n(38201),i=n(78287),r=n(50591),o=n(14482),c=n(14048),d=n(93364),m=n(73550),_=n(82981),u=n(2784),p=n(63955),h=n(61842);a.default=e=>{var a,n,b,x,v,j,g;let{type:N,bankData:f,bankDropDown:C,onSubmitCard:y}=e,{t:k}=(0,_.$G)(),{userInfo:{currencyId:L}}=(0,i.aC)(),{accountName:w}=(0,r.xTZ)(),{modal:I}=(0,s.JT)(),T=N===r.e4w.LocalBank,P=N===r.e4w.LocalBank&&L===c.CurrenciesEnum.INR,B=(0,d.$y)(L),{bankInfoDetail:M,custEWalletInfo:G}=null!=f?f:{},{control:S,register:D,trigger:R,formState:V,getValues:A,setValue:E,reset:W,getFieldState:F,setError:O,handleSubmit:H}=(0,p.cI)(),{touchedFields:U,errors:Z}=V,{closeModal:q}=(0,s.JT)(),Y=L===c.CurrenciesEnum.MYR&&A("sysId")===l.Kw.TouchNGO,handleSelectBankCard=e=>{let a=A("sysId");e!==a&&E("sysId",e)},checkAccountNo=async()=>{await R("accountNo");let{error:e}=F("accountNo");if(e)return;let{accountNo:a,sysId:n}=A(),t=T?(0,m.Z)(M,e=>e.accountNo===a&&e.sysId===n):(0,m.Z)(G,e=>e.accountNo===a&&e.sysId===n);if(t){var s;O("accountNo",{type:"duplicate",message:null!==(s=k("Label_Withdrawal_DuplicateBankAccount"))&&void 0!==s?s:""})}},checkIsfcCode=async()=>{await R("isfcCode");let{error:e}=F("isfcCode");if(e)return;let{isfcCode:a}=A();if(11!==a.length){var n;O("isfcCode",{type:"lengthError",message:null!==(n=k("Label_Withdrawal_IFSCCodeLength"))&&void 0!==n?n:""})}},J=(0,r.PA6)(l.sZ.AddBankAccount),{timer:$,startUnixTime:K,setTimer:z,handleSendOtpSMS:Q,handleVerifyOtp:X}=J,[ee,ea]=(0,u.useState)(0),en=(0,o.gmW)(),[et]=en,handleGetOtpInfo=async()=>{let e;try{let{data:a}=await et().unwrap();e=a}catch(e){I.error(e.message)}return e},onSubmit=async e=>{R("accountNo"),R("sysId"),R("isfcCode"),await checkAccountNo(),P&&await checkIsfcCode();let{error:a}=F("accountNo"),{error:n}=F("isfcCode");if(a||n)return;let t=await X({otpCode:e.otpCode,callbackFn:()=>{y({type:N,value:e,successCallback:()=>I.info(k("Label_General_UpdateSuccessful"),{title:k("Label_Withdrawal_AddBankAccount"),icon:"icon icon-library"}),errorCallback:I.error})},skipOtp:B});t?I.error(t):q()},handleCheckOtpInfo=async()=>{let{startUnixTime:e}=await (null==handleGetOtpInfo?void 0:handleGetOtpInfo())||{};e&&(z(!0),ea(e))};return(0,u.useEffect)(()=>{handleCheckOtpInfo()},[]),(0,t.jsx)("div",{className:"pop",children:(0,t.jsxs)("div",{className:"addBankpop active",children:[(0,t.jsx)("span",{className:"title",children:T?k("Label_Withdrawal_AddBankAccount"):k("Label_Withdrawal_AddEAccount")}
1),(0,t.jsx)("div",{className:"txt-lightgray",children:k("Label_Withdrawal_UpdateBankInfo")}),(0,t.jsxs)(h.l0,{onSubmit:H(onSubmit),children:[(0,t.jsx)("div",{className:"txt",children:(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"txt-gray",children:k("Label_Withdrawal_BankAccountName")}),(0,t.jsx)("span",{children:w})]})}),(0,t.jsx)(p.Qr,{name:"sysId",control:S,rules:{required:T?null!==(b=k("Label_BankInfo_SelectBank"))&&void 0!==b?b:"":null!==(x=k("Label_selectEwallet"))&&void 0!==x?x:""},render:e=>{var a,n,s;let{field:{value:l}}=e;return(0,t.jsx)(h.Ph,{showSearch:!0,options:C,value:l,placeholder:T?null!==(n=k("Label_BankInfo_SelectBank"))&&void 0!==n?n:"":null!==(s=k("Label_selectEwallet"))&&void 0!==s?s:"",onChange:e=>{handleSelectBankCard(e),R("sysId")},errorMessage:null===(a=Z.sysId)||void 0===a?void 0:a.message})}}),(0,t.jsx)(h.Wz,{register:D("accountNo",{required:{value:!0,message:k("Label_Withdrawal_NeedAccountNo")},pattern:T?{value:l.zN,message:k("Label_BankInfo_AccountWrongFormat")}:Y?{value:l.aK,message:k("Label_Withdrawal_TouchGo_Validation")}:void 0,onChange:e=>{let a=e.target.value.replace(T?l.Di:l.AG,"");e.target.value=a},onBlur:checkAccountNo}),title:T?null!==(v=k("Label_Withdrawal_AccountNumber"))&&void 0!==v?v:"":null!==(j=k("Label_Withdrawal_EWalletAccountNumber"))&&void 0!==j?j:"",touched:!!U.accountNo,type:"text",error:!!Z.accountNo,errorMessage:null===(a=Z.accountNo)||void 0===a?void 0:a.message,infoMessage:k("Label_Withdrawal_AccountNumber")}),P&&(0,t.jsx)(h.Wz,{register:D("isfcCode",{required:{value:!0,message:k("Label_Withdrawal_PleaseEnterIFSCCode")},onChange:e=>{let a=e.target.value.toUpperCase();e.target.value=a},onBlur:checkIsfcCode}),title:null!==(g=k("Label_Withdrawal_IFSCCode"))&&void 0!==g?g:"",touched:!!U.isfcCode,error:!!Z.isfcCode,errorMessage:null===(n=Z.isfcCode)||void 0===n?void 0:n.message}),!B&&(0,t.jsxs)("div",{className:"inputModuleRow",children:[(0,t.jsx)(h.Wz,{style:{paddingRight:"80px",width:"100%"},register:D("otpCode",{required:!0,onBlur:()=>R("otpCode")}),placeholder:k("Label_OTP_Six_Digit"),touched:!!U.otpCode,error:!!Z.otpCode}),(0,t.jsx)("div",{className:"btnGroup",style:{margin:"10px",marginRight:0},children:$?(0,t.jsx)("button",{className:"btn-cancel ghost dark",type:"button",children:(0,t.jsx)(h.Fj,{timer:$,startUnixTime:K||ee,setTimer:z})}):(0,t.jsx)("button",{type:"button",className:"btn-check primary",onClick:()=>Q(I.error),children:(0,t.jsx)("span",{children:k("Label_General_Resend_Otp")})})})]}),(0,t.jsxs)("div",{className:"btnGroup",children:[(0,t.jsx)("button",{className:"btn-cancel ghost",onClick:()=>{W(),q()},children:k("Label_General_Cancel")}),(0,t.jsx)("button",{className:"btn-check primary",type:"submit",children:k("Label_General_Submit")})]})]})]})})}},61427:function(e,a,n){"use strict";n.r(a);var t=n(52322),s=n(61842),l=n(88213),i=n(38201),r=n(78287),o=n(80133),c=n(50591),d=n(14482),m=n(93364),_=n(82981),u=n(25237),p=n.n(u),h=n(39097),b=n.n(h),x=n(5632),v=n(2784),j=n(63955);let g=p()(()=>Promise.all([n.e(3668),n.e(4119)]).then(n.bind(n,93668)),{loadableGenerated:{webpack:()=>[93668]},ssr:!1}),N=p()(()=>n.e(4546).then(n.bind(n,44546)),{loadableGenerated:{webpack:()=>[44546]},ssr:!1}),f=p()(()=>n.e(6532).then(n.bind(n,56532)),{loadableGenerated:{webpack:()=>[56532]},ssr:!1});a.default=e=>{var a,n;let{onLineLogin:u,redirectTo:p,closeOnly:h=!1,disableRedirectOnCancel:C=!1}=e,y=(0,x.useRouter)(),{redirectAfterLogin:k}=(0,o.I8)(),{t:L}=(0,_.$G)(),{modal:w,closeModal:I}=(0,l.JT)(),{getBannerUrl:T}=(0,r.U5)(),{onSignIn:P}=(0,r.aC)(),{formState:B,trigger:M,setError:G,register:S,getValues:D,handleSubmit:R}=(0,j.cI)(),{errors:V,touchedFields:A}=B,[E,W]=(0,v.useState)(0),{handleTgLogin:F}=(0,c.agh)(),handleSubmitForm=async()=>{let{username:e,password:a}=D();W(0);try{await P({userName:e,password:a}),I(),await k(p)}catch(i){let{errorCode:e,message:a,data:n}=i;if(107===e){let{twoFactorAuthenticationStatus:e,authToken:a}=n;if(e===d.aPZ.Email){w.open((0,t.jsx)(f,{authToken:a,redirectTo:p}));return}if(e===d.aPZ.TOTP){w.open((0,t.jsx)(N,{authToken:a,redirectTo:p}));return}}1104===e&&W(n.loginErrorCount);let s={username:[1101,1102,1103,9e3],password:[1104]},l=Object.values(s).findIndex(a=>a.includes(e));if(-1!==l){let e=Object.keys(s)[l];G(e,{type:"mismatch",message:a})}else w.error(a)}},handleForgetPassword=()=>w.open((0,t.jsx)(g,{})),O=!(0,m.bX)();return(0,t.jsx)("div",{className:"pop pop-login",children:(0,t.jsx)("div",{className:"loginpop active",children:(0,t.jsxs)("div",{className:"joinloginModule",children:[(0,t.jsx)("div",{className:"banner",children:(0,t.jsx)("img",{alt:"banner",src:T("/desktop/img/login-banner.png")})}),(0,t.jsxs)("form",{className:"joinloginFunction",method:"post",onSubmit:R(handleSubmitForm),
1children:[(0,t.jsx)("div",{className:"title txt-orange",children:L("Label_General_Login")}),(0,t.jsxs)("div",{className:"noAccount",children:[L("Label_Join_DontHaveAccount"),(0,t.jsx)(b(),{legacyBehavior:!0,href:i.Hb.join.root,children:(0,t.jsx)("a",{className:"txt-orange",onClick:I,children:L("Label_General_Register")})})]}),(0,t.jsxs)("div",{className:"inputModule",children:[(0,t.jsx)(s.Wz,{register:S("username",{required:{value:!0,message:L("Label_General_UsernameReq")},onBlur:()=>M("username")}),icon:"icon-member txt-blue",placeholder:L("Label_General_Username")||"",errorMessage:null===(a=V.username)||void 0===a?void 0:a.message,error:!!V.username,touched:!!A.username,infoMessage:L("Label_Join_UsernameTooltip")||"","data-ttid":"login-username-input"}),(0,t.jsx)(s.Wz,{register:S("password",{required:{value:!0,message:L("Label_General_PasswordRequired")},onBlur:()=>M("password")}),password:!0,icon:"icon icon-key txt-blue",placeholder:L("Label_General_Password")||"",errorMessage:null===(n=V.password)||void 0===n?void 0:n.message,error:!!V.password,touched:!!A.password,"data-ttid":"login-password-input"}),E>=i.yd.ShowLoginReminder&&(0,t.jsx)("div",{className:"tip active",style:{color:"#eb4549"},children:(0,t.jsx)(_.cC,{i18nKey:E===i.yd.LockAccount?"Label_General_ContactCSD":"Label_General_LoginReminder",components:{ForgetPassword:(0,t.jsx)("a",{onClick:handleForgetPassword}),LiveChat:(0,t.jsx)("a",{onClick:m.NL})}})}),(0,t.jsx)("a",{className:"forgot",onClick:handleForgetPassword,children:L("Label_Header_ForgetPassword")})]}),(0,t.jsxs)("div",{className:"btnGroup",children:[(0,t.jsx)("button",{className:"ghost",type:"button",onClick:h?I:()=>{p&&!C&&y.push(i.Hb.home.root),I()},children:L("Label_General_Cancel")}),(0,t.jsx)("button",{className:"primary",type:"submit","data-ttid":"login-submit-btn",children:L("Label_General_Login")})]}),O&&(0,t.jsxs)("div",{className:"line-login-container",children:[(0,t.jsx)("p",{className:"divider",children:"or"}),(0,t.jsxs)("div",{className:"login-buttons-container",children:[(0,t.jsx)("button",{type:"button",onClick:F,className:"login-btn login-btn--telegram",children:(0,t.jsx)("img",{src:T(i.bo.desktop.telegram),alt:"Telegram"})}),(0,t.jsx)("button",{type:"button",onClick:u,className:"login-btn login-btn--line",children:(0,t.jsx)("img",{src:T(i.bo.desktop.line),alt:"line"})})]})]})]})]})})})}},31414:function(e,a,n){"use strict";n.r(a),n.d(a,{default:function(){return modal_PhoneOtpModal}});var t=n(52322),s=n(61842),l=n(88213),i=n(38201),r=n(78287),o=n(50591),c=n(14482),d=n(72779),m=n.n(d),_=n(82981),u=n(25237),p=n.n(u),h=n(2784),b=n(63955);let x=p()(()=>Promise.resolve().then(n.bind(n,31414)),{loadableGenerated:{webpack:()=>[31414]},ssr:!1});var modal_PhoneModifyModal=()=>{var e,a;let{t:n}=(0,_.$G)(),{modal:d}=(0,l.JT)(),{userInfo:{areaCode:u}}=(0,r.aC)(),{country:p}=(0,o.xTZ)(),{formState:v,handleSubmit:j,getValues:g,trigger:N,setValue:f,register:C}=(0,b.cI)({mode:"onTouched",defaultValues:{areaCode:u}}),{errors:y,touchedFields:k}=v,[L]=(0,c.QyC)();(0,h.useEffect)(()=>{f("areaCode",u),N("phone")},[u,f,N]);let validatePhone=(e,a,n)=>{if(!a)return e("Label_Join_PhoneRequired");if(Object.values(i.Ps).includes(a)&&!i.t$.test(a+n)){let n=i.hI[a];return e("Label_Join_PhoneNumberErrorTip",{digitalArea:n})}},w=Object.values(i._b).map(e=>({value:e.AreaCode,label:"".concat(e.AreaCode," ").concat(e.Name)})),selectAreaCode=e=>{g("phone")&&N("phone");let a=g("areaCode");e!==a&&f("areaCode",String(e))},validatePhoneField=async()=>validatePhone(n,g("areaCode"),g("phone")),handleSubmitForm=async e=>{try{await L({AreaCode:e.areaCode,PhoneNo:e.phone,CountryCode:p}).unwrap(),d.confirm((0,t.jsxs)("div",{children:[n("Label_General_Awesome"),"!",(0,t.jsx)("br",{}),n("Label_Profile_VertifyContactConfirm"),(0,t.jsx)("br",{}),e.areaCode," ",e.phone]}),{icon:"icon icon-icon32px_notification",title:n("Label_General_UpdateSuccessful"),okText:n("Label_Profile_VertifyNow"),cancelText:n("Label_Profile_Later"),onOK:()=>d.open((0,t.jsx)(x,{}))})}catch(e){d.error(e.message)}};return(0,t.jsx)("div",{className:"pop ",children:(0,t.jsx)("div",{className:"phoneModify active",children:(0,t.jsx)("div",{className:"phoneModify-container",children:(0,t.jsx)("div",{className:"form-content",children:(0,t.jsxs)("form",{className:"edit-phone",onSubmit:j(handleSubmitForm),
1children:[(0,t.jsxs)("div",{className:"title",children:[" ",n("Label_Enter_New_Phone_Number")," "]}),(0,t.jsxs)("div",{className:"input-group",children:[(0,t.jsx)(s.Ph,{showSearch:!0,options:w,placeholder:"",requiredIcon:!0,onChange:e=>{selectAreaCode(e),N("phone")},value:g("areaCode"),defaultValue:u,errorMessage:null===(e=y.phone)||void 0===e?void 0:e.message,showValue:!0}),(0,t.jsx)(s.Wz,{register:C("phone",{required:n("Label_Join_PhoneRequired"),validate:validatePhoneField}),requiredIcon:!0,placeholder:n("Label_General_Phone"),error:!!y.phone,touched:!!k.phone,type:"number"})]}),(0,t.jsx)("div",{className:m()("tip active",{"txt-red":y.phone}),children:null===(a=y.phone)||void 0===a?void 0:a.message}),(0,t.jsx)("div",{className:"btnGroup",children:(0,t.jsx)("button",{className:"btn-check primary",style:{textTransform:"uppercase"},type:"submit",children:n("Label_General_Submit")})})]})})})})})},v=n(5632),modal_PhoneOtpModal=e=>{var a;let{isEditPhoneNumber:n=!1}=e,{t:i}=(0,_.$G)(),{push:r}=(0,v.useRouter)(),{modal:c,closeModal:d}=(0,l.JT)(),{timer:u,errors:p,startUnixTime:b,trigger:x,register:j,setTimer:g,handleSubmit:N,handleSubmitForm:f,handleSendOtpSMS:C}=(0,o.rO8)(),showPrevPageConfirmModal=(e,a,n)=>{c.confirm(i(a),{icon:"icon icon-icon32px_notification",title:i("Label_General_ImportantNotes"),okText:i(n),cancelText:i("Label_Profile_Later"),onOK:()=>r(e)})},showPhoneModifyModal=()=>{c.open((0,t.jsx)(modal_PhoneModifyModal,{}))};return(0,h.useEffect)(()=>{C()},[C]),(0,t.jsx)("div",{className:"pop",children:(0,t.jsxs)("div",{className:"editSuccess active",children:[(0,t.jsx)("div",{className:"icon icon-icon32px_notification"}),(0,t.jsx)("div",{className:"title",children:i("Label_General_ImportantNotes")}),(0,t.jsx)("div",{children:i("Label_Profile_SendVerificationCode")}),(0,t.jsxs)("form",{onSubmit:N(()=>f(showPrevPageConfirmModal,n?showPhoneModifyModal:null,d)),style:{display:"contents"},children:[(0,t.jsx)("div",{className:m()("inputBox-white",{error:p.otpCode}),children:(0,t.jsx)("input",{...j("otpCode",{required:{value:!0,message:i("Label_Profile_EnterOTPCode")},onBlur:()=>x("otpCode")}),placeholder:i("Label_OTP_Six_Digit")})}),(0,t.jsx)("div",{className:"inputModuleRow",children:(0,t.jsx)("div",{className:"tip active txt-red",children:null===(a=p.otpCode)||void 0===a?void 0:a.message})}),(0,t.jsxs)("div",{className:"btnGroup",children:[(0,t.jsx)("button",{className:"btn-cancel ghost",onClick:d,children:i("Label_General_Close")}),(0,t.jsx)("button",{type:"submit",className:"btn-check primary",children:i("Label_General_Submit")})]})]}),(0,t.jsxs)("div",{className:"resend",children:[i("Label_Profile_OTPNotReceiveVerificationCode"),(0,t.jsx)("div",{className:"btnGroup",children:(0,t.jsx)("button",{style:{minHeight:"36px",maxHeight:"36px"},className:"primary",disabled:u,onClick:C,children:i("Label_General_Resend_Otp")})}),u&&(0,t.jsx)(s.Fj,{timer:u,startUnixTime:b,setTimer:g})]})]})})}},74582:function(e,a,n){"use strict";n.d(a,{h:function(){return useManageCards}});var t=n(52322),s=n(88213),l=n(21241),i=n(14482),r=n(38740),o=n(93364),c=n(82981),d=n(25237),m=n.n(d);let _=m()(()=>n.e(2468).then(n.bind(n,42468)),{loadableGenerated:{webpack:()=>[42468]},ssr:!1}),waitForSync=e=>new Promise(a=>{setTimeout(a,e)}),useManageCards=e=>{let{accountName:a,bankData:n,onAddCardSuccess:d,onDeleteCardSuccess:m}=e,{t:u}=(0,c.$G)(),{modal:p}=(0,s.JT)(),[h]=(0,i.xgh)(),[b]=(0,i.Sgu)(),[x]=(0,i.sye)(),[v]=(0,i.oVm)(),[j]=(0,i.wh3)(),[g]=(0,i.C6B)(),handleSubmitAddCard=async e=>{let{type:n,value:t}=e;try{if(n===l.e4.LocalBank){let{sysId:e,accountNo:n,isfcCode:s}=t;await h({accountName:a,sysId:e,accountNo:n,IFSCCode:s}).unwrap()}if(n===l.e4.EWallet){let{accountNo:e,sysId:a}=t;await b({accountNo:e,sysId:a}).unwrap()}await waitForSync(300),d&&d(n,t),p.info(u("Label_General_UpdateSuccessful"),{title:u("Label_Withdrawal_AddBankAccount"),icon:"icon icon-library"})}catch(e){p.error(null==e?void 0:e.message)}},handleAddBankCard=async()=>{try{let{data:e=[]}=await x(null).unwrap(),a=e.map(e=>{let{bankName:a,sysId:n,bankLogo:s}=e,l=s?"".concat(r.X.NEXT_PUBLIC_PAYMENT_HOST,"/square/").concat(s.toLowerCase()):"";return{value:n,label:a,prefixOptionIcon:(0,t.jsx)("img",{src:(0,o.k$)(l),alt:""})}});
1p.open((0,t.jsx)(_,{type:l.e4.LocalBank,bankData:n,bankDropDown:a,onSubmitCard:handleSubmitAddCard}))}catch(e){p.error(null==e?void 0:e.message)}},handleAddEWallet=async()=>{try{let{data:e=[]}=await v(null).unwrap(),a=e.map(e=>{let{eWalletName:a,sysId:n,eWalletLogo:s}=e,l=s?"".concat(r.X.NEXT_PUBLIC_PAYMENT_HOST,"/square/").concat(s.toLowerCase()):"";return{value:n,label:a,prefixOptionIcon:(0,t.jsx)("img",{src:(0,o.k$)(l),alt:""})}});p.open((0,t.jsx)(_,{type:l.e4.EWallet,bankData:n,bankDropDown:a,onSubmitCard:handleSubmitAddCard}))}catch(e){p.error(null==e?void 0:e.message)}},handleDeleteBankCard=async e=>{var a,n;p.confirm([null!==(a=u("Label_Withdrawal_DeleteConfirm1"))&&void 0!==a?a:"",null!==(n=u("Label_Withdrawal_DeleteConfirm2"))&&void 0!==n?n:""],{title:u("Label_General_Oh"),onOK:async()=>{try{await j(e).unwrap(),m&&m(e)}catch(e){p.error(e.message)}},okText:u("Label_General_Yes"),cancelText:u("Label_General_No")})},handleDeleteEWalletCard=async e=>{var a,n;p.confirm([null!==(a=u("Label_Withdrawal_DeleteConfirm1"))&&void 0!==a?a:"",null!==(n=u("Label_Withdrawal_DeleteConfirm2"))&&void 0!==n?n:""],{title:u("Label_General_Oh"),onOK:async()=>{try{await g(e).unwrap(),m&&m(e)}catch(e){p.error(e.message)}},okText:u("Label_General_Yes"),cancelText:u("Label_General_No")})};return{handleAddCards:e=>{switch(e){case l.e4.LocalBank:handleAddBankCard();break;case l.e4.EWallet:handleAddEWallet()}},handleDeleteBankCard,handleDeleteEWalletCard}}},37409:function(e){e.exports={blogContainer:"blog_blogContainer__npThY",blogTag:"blog_blogTag__Cp1Lk",blogTagIconContainer:"blog_blogTagIconContainer__uMqJM",blogTagIcon:"blog_blogTagIcon__JkfQo",blogUnderline:"blog_blogUnderline__K7lOx",filterSection:"blog_filterSection__cFqO6",filterButtons:"blog_filterButtons__1Mpgu",filterButton:"blog_filterButton__doa0z",active:"blog_active__cgtvS",blogContent:"blog_blogContent__tPpqH",blogGrid:"blog_blogGrid__2WThW",blogCardContainer:"blog_blogCardContainer__wu598",blogCard:"blog_blogCard__ydk3I",blogImageContainer:"blog_blogImageContainer__Ws4XK",blogImage:"blog_blogImage__PaZcs",blogTitle:"blog_blogTitle__fam5p",blogExcerpt:"blog_blogExcerpt__H31pM",blogMeta:"blog_blogMeta__LW5VT",publishDate:"blog_publishDate__zbl1f",readMoreContainer:"blog_readMoreContainer__HysME",readMore:"blog_readMore___Kl3x",paginationContainer:"blog_paginationContainer___fa0Z",disabled:"blog_disabled__sLH61",paginationInfo:"blog_paginationInfo__hHGXG",skeletonImage:"blog_skeletonImage__9uG9t",shimmer:"blog_shimmer__JM0Cq",skeletonTitle:"blog_skeletonTitle__gN9NU",skeletonExcerpt:"blog_skeletonExcerpt__nUcet",skeletonDate:"blog_skeletonDate__l9N_p",skeletonReadMore:"blog_skeletonReadMore__lIi_W"}},72028:function(e){e.exports={btnAnimation:"style_btnAnimation__Fj4at","scale-pulse-translate":"style_scale-pulse-translate__PcIkM",wheelContainer:"style_wheelContainer__4bl5A",framePointer:"style_framePointer__szDT5",spinButton:"style_spinButton__W4ui3",spinButtonImage:"style_spinButtonImage__jQLjy",wheelBody:"style_wheelBody__ob_gB",wheelBackgroun
1d:"style_wheelBackground__gK1X4",prizeList:"style_prizeList___c6Pw",prizeItem:"style_prizeItem__wsnSO"}},28585:function(e){e.exports={overlay:"Deposit_overlay__V6AwH","btn-container":"Deposit_btn-container__jnJtu",tooltip:"Deposit_tooltip__SQshy","btn-group":"Deposit_btn-group__Qe_cq","referral-btn":"Deposit_referral-btn__swqjG","tooltip-close":"Deposit_tooltip-close__pr9xR","tooltip-title":"Deposit_tooltip-title__ZrmtX","tooltip-content":"Deposit_tooltip-content__DJT5z"}},38895:function(e){e.exports={"account-detail-block":"AccountDetailBlock_account-detail-block__NgyhN","bank-select-wrapper":"AccountDetailBlock_bank-select-wrapper__ZYere","bank-select":"AccountDetailBlock_bank-select__rqqld","add-bank-btn":"AccountDetailBlock_add-bank-btn__coh8E",icon:"AccountDetailBlock_icon__XrqPB"}},95762:function(e){e.exports={"content-area":"BankAccountBlock_content-area__JLGaj","deposit-info":"BankAccountBlock_deposit-info__ecxbL","required-field":"BankAccountBlock_required-field__0tNtJ","info-item-list":"BankAccountBlock_info-item-list__P3RNC","info-item":"BankAccountBlock_info-item__dLDji",label:"BankAccountBlock_label__jwOfB",value:"BankAccountBlock_value__wTqbb","icon-button":"BankAccountBlock_icon-button__54oDd","qr-section":"BankAccountBlock_qr-section__HqBQ5","qr-placeholder":"BankAccountBlock_qr-placeholder__3esTN"}},74149:function(e){e.exports={"shortcut-list":"DepositBlock_shortcut-list__GhfEc","shortcut-item":"DepositBlock_shortcut-item__7GJVd"}},92201:function(e){e.exports={"option-container":"DepositForm_option-container__ELlF2",btnGroup:"DepositForm_btnGroup__glaFV","option-btn":"DepositForm_option-btn__XY15k",selected:"DepositForm_selected__CxsbD",disabled:"DepositForm_disabled__7CQo2","icon-container":"DepositForm_icon-container__P8B6H","amount-input":"DepositForm_amount-input___V10s","btn-submit":"DepositForm_btn-submit__tn7U6","btn-valid":"DepositForm_btn-valid__UcUD6","btn-invalid":"DepositForm_btn-invalid__x7qPG","deposit-block":"DepositForm_deposit-block__L6jDQ","btn-blue":"DepositForm_btn-blue__l_Dln","inputBox-refId":"DepositForm_inputBox-refId__dhJnD",note:"DepositForm_note__lfZYH",required:"DepositForm_required__FiISK",label:"DepositForm_label__F6u3F","promotion-block":"DepositForm_promotion-block__JIAGQ","promotion-input":"DepositForm_promotion-input__gyGbt","submit-btn-group":"DepositForm_submit-btn-group__XcKJS","option-required":"DepositForm_option-required__MZWzz","channel-select":"DepositForm_channel-select__RtQcA","bank-select":"DepositForm_bank-select__S4XEC"}},65134:function(e){e.exports={banner:"EventBanner_banner__pxaP1",carousel:"EventBanner_carousel__gupFy",item:"EventBanner_item__SvfTS"}},86878:function(e){e.exports={"promotion-wrapper":"PromotionBlock_promotion-wrapper__5gaxZ"}},69917:function(e){e.exports={"select-method-block":"SelectMethod_select-method-block__WW0qa"}},39517:function(e){e.exports={"topupcard-row":"TopUpCardForm_topupcard-row__pInKg","topupcard-input-container":"TopUpCardForm_topupcard-input-container__MtZR8","topupcard-input":"TopUpCardForm_topupcard-input__iHPJm","topupcard-icon":"TopUpCardForm_topupcard-icon__YLmu8","topupcard-tip":"TopUpCardForm_topupcard-tip__ifT6d"}},16240:function(e){e.exports={errorpageContainer:"error_errorpageContainer__qGTuL",errorpageHeader:"error_errorpageHeader__G7Bmi",background:"error_background__Erk_0",middleOverlay:"error_middleOverlay__12CqG",errorContent:"error_errorContent__gKJ7H",title:"error_title__Kf8lP",content:"error_content__wbHIP",button:"error_button__WO7Lz",buttonIcon:"error_buttonIcon__71h5L",errorMessage:"error_errorMessage__6wtdU"}},54714:function(e){e.exports={gameLobbyList:"GamesLobby_gameLobbyList__27EC0",gameLobbyListItem:"GamesLobby_gameLobbyListItem__SWrUp",under:"GamesLobby_under__cxnZe",imgWrapper:"GamesLobby_imgWrapper__Vur8e",btnContainer:"GamesLobby_btnContainer___t0dA",btnPlay:"GamesLobby_btnPlay__ForYx",details:"GamesLobby_details__dwRJS",gameLobbyInfo:"GamesLobby_gameLobbyInfo__s2jPh",gameLobbyContent:"GamesLobby_gameLobbyContent__IW03K",gameLobbyName:"GamesLobby_gameLobbyName__XIk_o",provider:"GamesLobby_provider__IH9CA",nodata:"GamesLobby_nodata__IGYDK"}},98356:function(e){e.exports={preloader:"Banner_preloader__EWdZL","preloader-logo":"Banner_preloader-logo__azTeq",logofader:"Banner_logofader__Htx1q",spin:"Banner_spin__ZtNue",banner:"Banner_banner__kfiFP",noBanner:"Banner_noBanner__P_csJ"}},45495:function(e){e.exports={leaderboard:"Leaderboard_leaderboard__aKblZ"}},99657:function(e){e.exports={banner:"Banner_banner__8zdU8",bannerContent:"Banner_bannerContent__OA1VZ",title:"Banner_title__9upAp",metaRow:"Banner_metaRow__tMcw8",metaItem:"Banner_metaItem__psszO",endsInRow:"Banner_endsInRow__HrvIr",endsInLabel:"Banner_endsInLabel__L7SYW",countdown:"Banner_countdown__suIrk",countdownItem:"Banner_countdownItem__wQyr2",countdownBox:"Banner_countdownBox__WZO3h",countdownLabel:"Banner_countdownLabel__AXrQM",bannerImage:"Banner_bannerImage__X25i_"}},34375:function(e){e.exports={competitionRules:"CompetitionRules_competitionRules__myOI2",header:"CompetitionRules_header__aqLKL",headerTitle:"CompetitionRules_headerTitle__hBsJY",chevron:"CompetitionRules_chevron__I7jlf",chevronOpen:"CompetitionRules_chevronOpen__4Fgqd",bodyWrapper:"C
1ompetitionRules_bodyWrapper__KkAUL",bodyOpen:"CompetitionRules_bodyOpen__aoTCE",body:"CompetitionRules_body__GRtX2",ruleList:"CompetitionRules_ruleList__KuHKQ",highlight:"CompetitionRules_highlight__RwI5u",table:"CompetitionRules_table__OA80U",reward:"CompetitionRules_reward__aSYfr",qualifyNoticeWrapper:"CompetitionRules_qualifyNoticeWrapper__xuQoR",qualifyNotice:"CompetitionRules_qualifyNotice__LdGcr"}},64479:function(e){e.exports={currentPastTab:"CurrentPastTab_currentPastTab__jT0FZ",tab:"CurrentPastTab_tab__Jd5fF",active:"CurrentPastTab_active__mZpT9"}},52148:function(e){e.exports={ranking:"Ranking_ranking__dMlpb",topFlag:"Ranking_topFlag__lWP_v",topCards:"Ranking_topCards__Xjz3a",topCard:"Ranking_topCard__CymQo",topBadge:"Ranking_topBadge__3LRW3",cardBody:"Ranking_cardBody__WQzFW",rewardImageWrapper:"Ranking_rewardImageWrapper__0xMji",rewardImage:"Ranking_rewardImage__8ar4q",rewardImageShine:"Ranking_rewardImageShine__L_Er0","reward-shine":"Ranking_reward-shine__E3noZ",topInfo:"Ranking_topInfo__Hn7PC",noFlag:"Ranking_noFlag__Ta1qQ",topName:"Ranking_topName__pEna7",topPoints:"Ranking_topPoints__C_2tB",rewardAmount:"Ranking_rewardAmount__4ziM_",currentUser:"Ranking_currentUser__1rP4r",top1:"Ranking_top1__4RZpd",top2:"Ranking_top2__zByiX",rankingList:"Ranking_rankingList__oUbAk",row:"Ranking_row__MCeBI",flag:"Ranking_flag__Ysqnj",rank:"Ranking_rank__f2PUu",name:"Ranking_name__s3oRu",points:"Ranking_points__dkvQQ",topFive:"Ranking_topFive__zpDrX",pts:"Ranking_pts__Ir4WW",flash:"Ranking_flash__cQr4C","leaderboard-current-flash":"Ranking_leaderboard-current-flash__TXzWg"}},4565:function(e){e.exports={wheelEvent:"style_wheelEvent__oCtga",eventPage:"style_eventPage__ewZ_E",wheelContainer:"style_wheelContainer__g_128",bg1:"style_bg1__aWfmv",eventTitleBg:"style_eventTitleBg__cSEWh",eventTitle:"style_eventTitle__eMNIf",wheelModule:"style_wheelModule__m1WaD",wheelInfoContainer:"style_wheelInfoContainer__VP7c_",banner:"style_banner__XK3iO",prizeTitle:"style_prizeTitle__G2wcC",rewardCarousel:"style_rewardCarousel__qP64g",rewardImgWrapper:"style_rewardImgWrapper__tvDB_",rewardName:"style_rewardName__bLcsp",active:"style_active__4vf2p",navBtn:"style_navBtn__X_WhB",nextBtn:"style_nextBtn__niC_O",prevBtn:"style_prevBtn__zSp_F",termsContainer:"style_termsContainer__hiUrE",termsTitle:"style_termsTitle__DNxhY",termsContent:"style_termsContent__b57Oy",rewardTableSection:"style_rewardTableSection__O3DUH",rewardTableTitle:"style_rewardTableTitle__9Kjbu",rewardTableWrapper:"style_rewardTableWrapper__cOIvj",rewardTableScroll:"style_rewardTableScroll__NueA2",scrollable:"style_scrollable__jGSpv",rewardTable:"style_rewardTable__iTTlq",prizeName:"style_prizeName__x2YID",penddingTag:"style_penddingTag__vuRz4",forfeitTag:"style_forfeitTag__PRtOO",oneTwoWheelPop:"style_oneTwoWheelPop__a4rLz",wheelContent:"style_wheelContent__s3lpH",title:"style_title__I_aJT",text:"style_text__IeIB0",prizeItem:"style_prizeItem__E1KiQ",message:"style_message__xo2lT",precautions:"style_precautions__IjxEa",traceId:"style_traceId__q6CG4",btnGroup:"style_btnGroup__3Qnd_","btn-check":"style_btn-check__Z04L5",primary:"style_primary__Jej1Y"}},85:function(e){e.exports={wrapper:"CategoryFilter_wrapper___QpY1",embla:"CategoryFilter_embla__AgMUu",hideLeftGradient:"CategoryFilter_hideLeftGradient__ADhe7",emblaContainer:"CategoryFilter_emblaContainer__LUXIJ",slide:"CategoryFilter_slide__jw_BX",list:"CategoryFilter_list__us_5X",item:"CategoryFilter_item__wIXmP",label:"CategoryFilter_label__veRIC",hotIcon:"CategoryFilter_hotIcon__bTlHL","new-badge":"CategoryFilter_new-badge__rVOdf",active:"CategoryFilter_active__qqvVU",borderBottom:"CategoryFilter_borderBottom__Ehg18",hidden:"CategoryFilter_hidden__VUlMH"}},48463:function(e){e.exports={preloader:"SearchBox_preloader__dVrn6","preloader-logo":"SearchBox_preloader-logo__wRpw7",logofader:"SearchBox_logofader__8AmCB",spin:"SearchBox_spin__Q_KHh",searchBox:"SearchBox_searchBox__hETa6",searchIcon:"SearchBox_searchIcon__esE0m",btnClear:"SearchBox_btnClear__9zcJL",isNoResult:"SearchBox_isNoResult__vOzte",searchMessage:"SearchBox_searchMessage__1P0at",suggestion:"SearchBox_suggestion__KGXQd"}},53031:function(e){e.exports={slotsList:"GameList_slotsList__3u_NS",slotsListItem:"GameList_slotsListItem__jA5TC",under:"GameList_under__YCVnk",newIcon:"GameList_newIcon__6wSAl",imgWrapper:"GameList_imgWrapper__NmKpM",btnContainer:"GameList_btnContainer__PBaCD",btnPlay:"GameList_btnPlay__r3Y2l",btnDemo:"GameList_btnDemo__zUTrj",details:"GameList_details__CwoGI",slotInfo:"GameList_slotInfo__Cxa_u",slotContent:"GameList_slotContent__d5QFr",slotName:"GameList_slotName__L8xlh",provider:"GameList_provider__Vv_to",favoriteIcon:"GameList_favoriteIcon__zfSHm",active:"GameList_active__0kKjW",rtpTag:"GameList_rtpTag__aWI8E",placeholderContent:"GameList_placeholderContent__f7vY8",nodata:"GameList_nodata__omdsT"}},82425:function(e){e.exports={filtersContainer:"slots_filtersContainer__sXQU9"}},81370:function(e){e.exports={overlay:"CategoryPopup_overlay__uwNzF",card:"CategoryPopup_card__NUsec",header:"CategoryPopup_header__dQAsC",closeBtn:"CategoryPopup_closeBtn__UuJk_",list:"CategoryPopup_list__kgvPC",item:"CategoryPopup_
1item__qSln1","new-badge":"CategoryPopup_new-badge__CfkM8",inactive:"CategoryPopup_inactive__M06cI",active:"CategoryPopup_active__EorgH",hotIcon:"CategoryPopup_hotIcon__zrCwT"}},23286:function(e){e.exports={wrapper:"slider-module_wrapper__yezf0",container:"slider-module_container__obUwG",button:"slider-module_button__S78F9"}},45337:function(e){e.exports={dailyMissionContainer:"DailyMission_dailyMissionContainer__QouBT",missionList:"DailyMission_missionList__CMzLD",missionItem:"DailyMission_missionItem__oAdD1",missionItemContent:"DailyMission_missionItemContent__cqsgQ",pointsBadge:"DailyMission_pointsBadge__2IsLW",missionIconWrapper:"DailyMission_missionIconWrapper__D5adz",iconCircle:"DailyMission_iconCircle__t5ayo",iconDeposit:"DailyMission_iconDeposit__jcjxn",missionDescription:"DailyMission_missionDescription__7vUUg",missionTitleRow:"DailyMission_missionTitleRow__x29lF",missionTitle:"DailyMission_missionTitle__474rb",missionDesc:"DailyMission_missionDesc__Fc7Mh",missionDescIneligible:"DailyMission_missionDescIneligible__O_IbS",missionAction:"DailyMission_missionAction__pGXjr",missionProgress:"DailyMission_missionProgress__gNpgu",missionProgressText:"DailyMission_missionProgressText__K2Zge",missionProgressBar:"DailyMission_missionProgressBar__Qi9Ht",missionProgressBarFill:"DailyMission_missionProgressBarFill__vyZ06",eligible:"DailyMission_eligible__fv9NQ",eligibleButton:"DailyMission_eligibleButton__03LN5",claimed:"DailyMission_claimed__qbTkf",claimedButton:"DailyMission_claimedButton__7HhM5",unclaimed:"DailyMission_unclaimed__XzRfh",unclaimedButton:"DailyMission_unclaimedButton__IK9bL",locked:"DailyMission_locked__g5vu_",lockedButton:"DailyMission_lockedButton__dO_sm"}},6514:function(e){e.exports={journeyProgressContainer:"JourneyProgress_journeyProgressContainer__wFriZ",header:"JourneyProgress_header__1SHxT",legend:"JourneyProgress_legend__hTc_P",legendItem:"JourneyProgress_legendItem__Ps7UI",claimedItem:"JourneyProgress_claimedItem__SzJCF",eligibleItem:"JourneyProgress_eligibleItem__XHY1T",unclaimedItem:"JourneyProgress_unclaimedItem__0QpzI",icon:"JourneyProgress_icon__9bBSt",gridContainer:"JourneyProgress_gridContainer__MEH9K",gridItem:"JourneyProgress_gridItem__Z7i_i",active:"JourneyProgress_active__XlyoP",dayText:"JourneyProgress_dayText__iAWnq",statusIcon:"JourneyProgress_statusIcon__bzzdL",eligible:"JourneyProgress_eligible__BegUh",claimed:"JourneyProgress_claimed__4oWlQ",unclaimed:"JourneyProgress_unclaimed__zl2Lp",locked:"JourneyProgress_locked__daPPL"}},21840:function(e){e.exports={mainMissionContainer:"MainMission_mainMissionContainer__Hxz_1",nonFTD:"MainMission_nonFTD__J4SX2",header:"MainMission_header__vWYUl",failed:"MainMission_failed__FcchV",titleWithIcon:"MainMission_titleWithIcon__YiO2N",buttonHeader:"MainMission_buttonHeader__6WJzj",claimed:"MainMission_claimed__DWhQH",eligible:"MainMission_eligible__183Ro",unclaimed:"MainMission_unclaimed__fmLad",locked:"MainMission_locked__N4m_3",content:"MainMission_content__jW0tq"}},61090:function(e){e.exports={termsAndConditionsContainer:"TermsAndConditions_termsAndConditionsContainer__z2gVV",header:"TermsAndConditions_header__nP_9P",title:"TermsAndConditions_title__WQ88a",content:"TermsAndConditions_content__bK6_V",termItem:"TermsAndConditions_termItem__XpXx3",text:"TermsAndConditions_text__9VhnA",link:"TermsAndConditions_link__blfkR"}},13158:function(e){e.exports={titleAndPointsContainer:"TitleAndPoints_titleAndPointsContainer__ZJa6K",leftContent:"TitleAndPoints_leftContent__SlFJL",championIcon:"TitleAndPoints_championIcon__ddN9k",title:"TitleAndPoints_title__UI_5b",pointsBox:"TitleAndPoints_pointsBox___ZZxM",pointsHeader:"TitleAndPoints_pointsHeader__sKD7l",label:"TitleAndPoints_label__OndB3",pointsValue:"TitleAndPoints_pointsValue__ztT_l",current:"TitleAndPoints_current__2wxFX",total:"TitleAndPoints_total__IEDnt",progressBarContainer:"TitleAndPoints_progressBarContainer__K1EEM",progressBar:"TitleAndPoints_progressBar__cIz4b"}},67223:function(e){e.exports={banner:"Banner_banner__sAuAX",content:"Banner_content__FHm_e"}},4535:function(e){e.exports={countdown:"Countdown_countdown__AjOtv",mainTitle:"Countdown_mainTitle__rZiz_",countdownDate:"Countdown_countdownDate__vgVEu",countdownItem:"Countdown_countdownItem__hG_1S",countdownNumber:"Countdown_countdownNumber__fiqpO",unit:"Countdown_unit__lLmDy"}},92526:function(e){e.exports={terms:"Terms_terms__jN1Dr",title:"Terms_title__0tRVX",content:"Terms_content__hL5fj"}},33512:function(e){e.exports={tritonPoker:"TritonPoker_tritonPoker__WD8JR"}},94176:function(e){e.exports={information:"Information_information__Ba8HV",informationItem:"Information_informationItem__qEpQM"}},60577:function(e){e.exports={leaderboard:"Leaderboard_leaderboard__d989A",title:"Leaderboard_title__dnvb_",leaderboardContent:"Leaderboard_leaderboardContent__Eys9r",isLogin:"Leaderboard_
1isLogin__KfRUn",leaderboardHead:"Leaderboard_leaderboardHead__OZbVP",item:"Leaderboard_item__pktVZ",leaderboardData:"Leaderboard_leaderboardData__0P8Eb",leaderboardRow:"Leaderboard_leaderboardRow__A83l7",rankColumn:"Leaderboard_rankColumn__JdQip",rankText:"Leaderboard_rankText__wrQmS",usernameColumn:"Leaderboard_usernameColumn__PXahI",pointsColumn:"Leaderboard_pointsColumn__d8GOX",currentUser:"Leaderboard_currentUser__oyugW"}},42274:function(e){e.exports={mainContent:"MainContent_mainContent__3QMWQ"}},69112:function(e){e.exports={rewardList:"Rewards_rewardList__fOjiV",mainTitle:"Rewards_mainTitle__QOlVr",rewardListItem:"Rewards_rewardListItem__m3VML",rewardItem:"Rewards_rewardItem__tDBYe",rewardItemTitle:"Rewards_rewardItemTitle__BCDUD",champion:"Rewards_champion__AHIDA",tier:"Rewards_tier__v_UNX",title:"Rewards_title__g_eJn",rewardItemContent:"Rewards_rewardItemContent__W5_Oa",content:"Rewards_content__x7OUo",specialContent:"Rewards_specialContent__gOp15",rewardItemTitleOthers:"Rewards_rewardItemTitleOthers__e10G7"}},26782:function(e){e.exports={maintenancePage:"under-maintenance_maintenancePage__waaJS",topDiv:"under-maintenance_topDiv__DBqvg",container:"under-maintenance_container__Gt2y6",logo:"under-maintenance_logo__umMdo",liveChat:"under-maintenance_liveChat__fY1i_",overlay:"under-maintenance_overlay__uFnVa",videoBg:"under-maintenance_videoBg__LI8oc",contentWrap:"under-maintenance_contentWrap__MZ7JT",masthead:"under-maintenance_masthead__DrKbT",casinoWrap:"under-maintenance_casinoWrap__TBHLk",chip1:"under-maintenance_chip1__qQTfc",chip2:"under-maintenance_chip2__wJpP6",contact:"under-maintenance_contact__tbW42",socialMedia:"under-maintenance_socialMedia__bj86f",btnRed:"under-maintenance_btnRed__a7Z9j",linkButton:"under-maintenance_linkButton__WdUwX",commentIcon:"under-maintenance_commentIcon__kN_Zz"}},45908:function(e){e.exports={vipLobbyContainer:"VipLobby_vipLobbyContainer__n5tw6",content:"VipLobby_content__lNCiW",buttonContainer:"VipLobby_buttonContainer__p_OV_",vipLobbyButton:"VipLobby_vipLobbyButton__QIiIo",active:"VipLobby_active__ATLV_",tabLabel:"VipLobby_tabLabel__4Qc_5",dot:"VipLobby_dot__KSHYb"}},24636:function(e){e.exports={festivalGiftContainer:"FestivalGift_festivalGiftContainer__khYL4"}},4963:function(e){e.exports={vipGrowthPop:"MyVip_vipGrowthPop__dHmtH",vipGrowthContent:"MyVip_vipGrowthContent__3fsTj",vipGrowthPopText:"MyVip_vipGrowthPopText__0gVRg",infoContent:"MyVip_infoContent__qDCwd",vipGrowthPopTitle:"MyVip_vipGrowthPopTitle__0gE50",title:"MyVip_title__7MEK4",message:"MyVip_message__38JRi",btnGroup:"MyVip_btnGroup__cdRkU","btn-check":"MyVip_btn-check__qPN2y",primary:"MyVip_primary__yY8VC"}},80476:function(e){e.exports={vipRecordsPop:"ClaimedHistoryModal_vipRecordsPop__CI2qd",vipRecordsPopContent:"ClaimedHistoryModal_vipRecordsPopContent__zXToG",vipGrowthPopText:"ClaimedHistoryModal_vipGrowthPopText__7dC0G",recordsTable:"ClaimedHistoryModal_recordsTable__MLyK5",tableBody:"ClaimedHistoryModal_tableBody__7i900",closeButton:"ClaimedHistoryModal_closeButton__eEF2l",vipRecordsPopTitle:"ClaimedHistoryModal_vipRecordsPopTitle__4Eo4j",title:"ClaimedHistoryModal_title__tkdQm",tableHeader:"ClaimedHistoryModal_tableHeader__w8aBn",headerCell:"ClaimedHistoryModal_headerCell__WOB25",tableRow:"ClaimedHistoryModal_tableRow__grWzn",lastRow:"ClaimedHistoryModal_lastRow__3bd6F",tableCell:"ClaimedHistoryModal_tableCell__GBlf_"}},4790:function(e){e.exports={vipLevelInfo:"VipLevelInfo_vipLevelInfo__DIc17",info:"VipLevelInfo_info__qskC6",vipLevelImg:"VipLevelInfo_vipLevelImg__jkTKa",vipLevelInfoText:"VipLevelInfo_vipLevelInfoText__P2eCS",vipLevelName:"VipLevelInfo_vipLevelName__sS8pr",turnoverText:"VipLevelInfo_turnoverText__yHbzs",turnoverValue:"VipLevelInfo_turnoverValue__LSRuo",vipLevelContainer:"VipLevelInfo_vipLevelContainer__hXbXK",vipLevelTitle:"VipLevelInfo_vipLevelTitle__mIDf8",progressBarContainer:"VipLevelInfo_progressBarContainer__KKevz",levelimgContainer:"VipLevelInfo_levelimgContainer__Et_Yh",imgContainer:"VipLevelInfo_imgContainer__07PKM",levelImg:"VipLevelInfo_levelImg__0SBK5",activeLevelImg:"VipLevelInfo_activeLevelImg__kYBYY",activeText:"VipLevelInfo_activeText__75nAx",levelImgText:"VipLevelInfo_levelImgText__2kzPT",dot:"VipLevelInfo_dot__xVtXC",progressBar:"VipLevelInfo_progressBar__9iNkZ",progressBarFill:"VipLevelInfo_progressBarFill__qN4ZD"}},18916:function(e){e.exports={nextLeveContainer:"VipNextLevelTurnover_nextLeveContainer__w4151",nextLevelTitle:"VipNextLevelTurnover_nextLevelTitle__5UxSM",infoContainer:"VipNextLevelTurnover_infoContainer__Bb6aG",invitedOnly:"VipNextLevelTurnover_invitedOnly__QFNl7",currentVipLevel:"VipNextLevelTurnover_currentVipLevel__AjQs0",nextVipLevel:"VipNextLevelTurnover_nextVipLevel__TW596",progressBarContainer:"VipNextLevelTurnover_progressBarContainer__SzU0G",turnoverValue:"VipNextLevelTurnover_turnoverValue__40XvX",progressBar:"VipNextLevelTurnover_progressBar__ZC2sV",progressBarFill:"VipNextLevelTurnover_progressBarFill___wiYE",turnoverText:"VipNextLevelTurnover_turnoverText__sudvR"}},47746:function(e){e.exports={vipPrivilegeItems:"VipPrivilegeItems_vipPrivilegeItems__JZHCE",privilegeContainer:"VipPrivilegeItems_privilegeContainer__3_hf1",privilegeTitle:"VipPrivilegeItems_privilegeTitle__Ot0gb",privilegeItem:"VipPrivilegeItems_privilegeItem__1kifb",privilegeValue:"VipPrivilegeItems_privilegeValue__EXlGI",privilegeLabel:"VipPrivilegeItems_privilegeLabel__PW3TU"}},8546:function(e){e.exports={vipRebateTable:"VipRebateTable_vipRebateTable__sIZu4",rebateContent:"VipRebateTable_rebateContent__UmgTC",termsSection:"VipRebateTable_termsSection__qk6Iq",rebateTitleContainer:"VipRebateTable_rebateTitleContainer__EJmFD",rebateTitle:"VipRebateTable_rebateTitle__0yZNl",appliedStatus:"VipRebateTable_appliedStatus__XDdho",rebateTableSection:"VipRebateTable_rebateTableSection__KzVsc",rebateTable:"VipRebateTable_rebateTable__2lLgT",headerCenter:"VipRebateTable_headerCenter__WdvKJ",categoryCell:"VipRebateTable_categoryCell__WfHpo",valueCell:"VipRebateTable_valueCell__N_XOL",termsTitle:"VipRebateTable_termsTitle__uJxeI",linkHere:"VipRebateTable_linkHere__uQ_bS",termsContent:"VipRebateTable_termsContent___BuXP",termsItem:"VipRebateTable_termsItem__jcagt",termsText:"VipRebateTable_termsText__FGcM8",termsExample:"VipRebateTable_termsExample__0XRiL",buttonContainer:"VipRebateTable_buttonContainer__YMwnC",applyButton:"VipRebateTable_applyButton___FbE2"}},37485:function(e){e.exports={vipRewardCenter:"VipRewardCenter_vipRewardCenter__ARNqC",rewardCenterTitle:"VipRewardCenter_rewardCenterTitle__lggKF",recordsButton:"VipRewardCenter_recordsButton__dlA22",rewardItemContainer:"VipRewardCenter_rewardItemContainer__0o30q",rewardItem:"VipRewardCenter_rewardItem__C5mry",rewardItemText:"VipRewardCenter_rewardItemText__ABN
1pA",disabledImg:"VipRewardCenter_disabledImg__mP4P8",disabledText:"VipRewardCenter_disabledText__WbCnL",rewardAmount:"VipRewardCenter_rewardAmount__u8LgS",disabledButton:"VipRewardCenter_disabledButton__K7q9Z",claimedButton:"VipRewardCenter_claimedButton__jgSwO",claimButton:"VipRewardCenter_claimButton__a9VlG"}},77045:function(e){e.exports={vipTermsConditions:"VipTermsConditions_vipTermsConditions__xoV6l",termsTitle:"VipTermsConditions_termsTitle___GuNI",linkHere:"VipTermsConditions_linkHere__WU_pr",termsList:"VipTermsConditions_termsList__8IcBz",termsListItem:"VipTermsConditions_termsListItem__4MvQQ"}},59798:function(e){e.exports={infoContent:"VipProgram_infoContent__nH0nq"}},30950:function(e){e.exports={vipLevelSwiper:"VipLevelSwiper_vipLevelSwiper__JmBbD",vipCard:"VipLevelSwiper_vipCard__NDow5",prev:"VipLevelSwiper_prev__M0vhk",next:"VipLevelSwiper_next__tEGj_",active:"VipLevelSwiper_active__Xjg_e",hidden:"VipLevelSwiper_hidden__yC6YI",vipCardContent:"VipLevelSwiper_vipCardContent__zHyjG",navBtn:"VipLevelSwiper_navBtn__MgLj6",prevBtn:"VipLevelSwiper_prevBtn__XkZll",nextBtn:"VipLevelSwiper_nextBtn__v6lIo"}},65108:function(e){e.exports={vipRequirementPrivilegeTable:"VipRequirementPrivilegeTable_vipRequirementPrivilegeTable__YHNk_",tableTitle:"VipRequirementPrivilegeTable_tableTitle__28fKb",tableContainer:"VipRequirementPrivilegeTable_tableContainer__ieURK",comparisonTable:"VipRequirementPrivilegeTable_comparisonTable__pk5TU",labelColumn:"VipRequirementPrivilegeTable_labelColumn__2SJ6G",vipLevelNowColumn:"VipRequirementPrivilegeTable_vipLevelNowColumn__v0Ka1",vipLevelNextColumn:"VipRequirementPrivilegeTable_vipLevelNextColumn___GK4t",labelCell:"VipRequirementPrivilegeTable_labelCell__v2ecZ",vipLevelNowCell:"VipRequirementPrivilegeTable_vipLevelNowCell__Wle2h",vipLevelNextCell:"VipRequirementPrivilegeTable_vipLevelNextCell__GDSW0"}},94269:function(e){e.exports={vipWeeklyMissionContainer:"VipWeeklyMission_vipWeeklyMissionContainer__pFfIr",vipWeeklyBanner:"VipWeeklyMission_vipWeeklyBanner__X6g9D",vipWeeklyBannerButton:"VipWeeklyMission_vipWeeklyBannerButton__qfXCl"}},50416:function(e){e.exports={vip:"Vip_vip__2i4iO",wrapper:"Vip_wrapper__nwbqW"}},26618:function(e){e.exports={vipMiddle:"VipMiddle_vipMiddle__4QsP6",vipMiddleInfo:"VipMiddle_vipMiddleInfo__6aIwM",infoTitle:"VipMiddle_infoTitle__Ay3xj",infoList:"VipMiddle_infoList__23a8o"}},61653:function(e){e.exports={vipSwiperBanner:"VipSwiperBanner_vipSwiperBanner__V5ogb"}},40610:function(e){e.exports={tableWrapper:"VipTableContent_tableWrapper__AvalX",table:"VipTableContent_table__fPIZQ",headerLabel:"VipTableContent_headerLabel__0Ch9y",headerCell:"VipTableContent_headerCell__Zn2_f",levelHeader:"VipTableContent_levelHeader__5KgSv",levelIcon:"VipTableContent_levelIcon__QervU",bodyRow:"VipTableContent_bodyRow__7zOhS",privilegeName:"VipTableContent_privilegeName__z_wB7",valueCell:"VipTableContent_valueCell__r_CDm"}},80623:function(e){e.exports={vipTierInfo:"VipTierInfo_vipTierInfo__p16u9",tabButton:"VipTierInfo_tabButton__XftvC",tabButtonItem:"VipTierInfo_tabButtonItem__CYp6t",tabButtonItemActive:"VipTierInfo_tabButtonItemActive__Q3g61",tabContent:"VipTierInfo_tabContent__yg0Si"}},39785:function(e){e.exports={banner:"VipTopBanner_banner__3O8iD"}}}]);

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.