PageSourceSearch

https://m77go.com/static/js/async/27928.e24ce689.js

js m77go.com collected 2026-10-09 04:55:42 UTC 154,656 bytes, 2 lines download raw bytes

1(self.webpackChunklottery=self.webpackChunklottery||[]).push([["27928"],{73546(e,a,t){"use strict";var n=t(24994),i=t(6305);a.default=void 0;var s=i(t(96540));a.default=(0,n(t(76447)).default)(s.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")},32629(e,a,t){var n=t(9999);e.exports=function(e){return n(e,4)}},77126(e){var a=Array.prototype.reverse;e.exports=function(e){return null==e?e:a.call(e)}},94432(e,a,t){"use strict";t.d(a,{A:()=>i});var n=t(74848);t(96540);let i=e=>{let{className:a}=e;return(0,n.jsx)("span",{className:a,children:"IDR"})}},29056(e,a,t){"use strict";t.d(a,{KP:()=>n,W$:()=>s,k4:()=>i});let n={FOURD_THREED_TWOD:"4d3d2d",COLOK_BEBAS:"colok_bebas",COLOK_BEBAS_TWOD:"colok_bebas_2d",COLOK_NAGA:"colok_naga",COLOK_JITU:"colok_jitu",TEPI_TENGAH:"tepi_tengah",DASAR:"dasar",SHIO:"shio",FIFTY_FIFTY:"5050",FIFTY_FIFTY_TWOD:"5050_2d",KOMBINASI:"kombinasi",SHILANG_HOMO:"silang_homo",KEMBANG_KEMPIS:"kembang_kempis",QUICK_BUY:"quick_buy",ANGKA_TARUNG:"angka_tarung",BB_CAMPURAN:"bb_campuran",TOGEL_6D:"6d"},i={FOURD_THREED_TWOD_DISCOUNT:"4d3d2d_discount",FOURD_THREED_TWOD_2D_DEPAN:"4d3d2d_2d_depan",FOURD_THREED_TWOD_2D_TENGAH:"4d3d2d_2d_tengah",FOURD_THREED_TWOD_3D_DEPAN:"4d3d2d_3d_depan",FOURD_THREED_TWOD_3D_DEPAN_FULLBET:"4d3d2d_3d_depan_fullbet",FOURD_THREED_TWOD_FULLBET:"4d3d2d_fullbet",FOURD_THREED_TWOD_FULLBET_SET:"4d3d2d_fullbet_set",FOURD_THREED_TWOD_PRIZE123:"4d3d2d_prize123",FOURD_THREED_TWOD_PRIZE123_SET:"4d3d2d_prize_123_set",FOURD_THREED_TWOD_BET_BB:"4d3d2d_betbb",FOURD_THREED_TWOD_4D_SET:"4d3d2d_4d_set",FOURD_THREED_QUICK_TWOD:"4d3d2d_quick_2d",FOURD_THREED_TWOD_BOLAK_BALIK:"4d3d2d_quick_2d",FOURD_THREED_TWOD_BOLAK_BALIK_SET:"4d3d2d_quick_2d",ANGKA_TARUNG_DISCOUNT:"angka_tarung_discount",ANGKA_TARUNG_FULLBET:"angka_tarung_fullbet",ANGKA_TARUNG_PRIZE123:"angka_tarung_prize123",BB_CAMPURAN_DISCOUNT:"bb_discount",BB_CAMPURAN_FULLBET:"bb_fullbet",BB_CAMPURAN_PRIZE123:"bb_prize123",BB_CAMPURAN_BET_BB:"bb_betbb",TOGEL_6D_DISCOUNT:"6d_discount",TOGEL_6D_FULLBET:"6d_fullbet"},s=[i.FOURD_THREED_TWOD_DISCOUNT,i.FOURD_THREED_TWOD_2D_DEPAN,i.FOURD_THREED_TWOD_2D_TENGAH,i.FOURD_THREED_TWOD_3D_DEPAN,i.FOURD_THREED_TWOD_3D_DEPAN_FULLBET,i.FOURD_THREED_TWOD_4D_SET,i.FOURD_THREED_TWOD_FULLBET,i.FOURD_THREED_TWOD_PRIZE123,i.FOURD_THREED_TWOD_BET_BB,i.TOGEL_6D_DISCOUNT,i.TOGEL_6D_FULLBET]},29078(e,a,t){"use strict";t.d(a,{A:()=>C,I:()=>N});var n=t(71893),i=t(55456),s=t(31105),l=t(74848),r=t(96540),o=t(18492),d=t(32629),c=t.n(d),_=t(58156),m=t.n(_),u=t(55378),p=t.n(u),h=t(77126),b=t.n(h),x=t(72914),g=t(26655),A=t(59545),j=t(29056),v=t(52970),f=t(38351),y=t(56232);let N=(e,a,t)=>{switch(a){case j.KP.COLOK_BEBAS_TWOD:return(0,l.jsx)(A.A,{i18nKey:"transDetailGuess_colokBebas2D",values:{num1:null==e?void 0:e[0],num2:null==e?void 0:e[1]}});case j.KP.COLOK_NAGA:return(0,l.jsx)(A.A,{i18nKey:"transDetailGuess_colokNaga",values:{num1:null==e?void 0:e[0],num2:null==e?void 0:e[1],num3:null==e?void 0:e[2]}});case j.KP.COLOK_JITU:return(0,l.jsx)(A.A,{i18nKey:"transDetailGuess_colokJitu",values:{digit:null==e?void 0:e[0],position:t(null==e?void 0:e[1])}});case j.KP.KEMBANG_KEMPIS:case j.KP.SHILANG_HOMO:let n=b()(c()(e));return p()(n,e=>t(e)).join(" ");default:return p()(e,e=>t(e)).join(" ")}},C=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return a=>t=>{let{pool:d={},onBack:c=()=>{}}=t,_=(0,s._)(t,["pool","onBack"]),{t:u}=(0,o.B)(),h=(0,y.Y0)(),[b,A]=(0,r.useState)({}),C=(0,r.useMemo)(()=>b.has_win_amount?{Header:(0,l.jsx)("div",{style:{float:"right"},children:u("WinningAmount")}),accessor:"winAmount",Cell:e=>(0,l.jsx)("div",{style:{float:"right"},children:(0,v.A)(e.value)})}:{Header:(0,l.jsx)("div",{style:{float:"right"},children:u("XWin")}),accessor:"xWin",Cell:e=>{switch(e.row.original.gameCode){case j.KP.TEPI_TENGAH:case j.KP.DASAR:case j.KP.FIFTY_FIFTY:case j.KP.FIFTY_FIFTY_TWOD:case j.KP.SHILANG_HOMO:case j.KP.KEMBANG_KEMPIS:return(0,l.jsx)("div",{style:{float:"right"},children:(0,v.A)(e.row.original.winAmount)});default:return(0,l.jsx)("div",{style:{float:"right"},children:e.value})}}},[b.has_win_amount,u]),w=(0,r.useMemo)(()=>{switch(m()(b,"List[0].gameCode")){case j.KP.TEPI_TENGAH:case j.KP.DASAR:case j.KP.FIFTY_FIFTY:case j.KP.FIFTY_FIFTY_TWOD:case j.KP.SHILANG_HOMO:case j.KP.KEMBANG_KEMPIS:return{Header:(0,l.jsxs)("div",{style:{textAlign:"right",whiteSpace:"nowrap"},children:[u("Discount")," / ",u("Kei")]}),accessor:"kei",Cell:e=>(0,l.jsxs)("div",{style:{float:"right"},children:[(0,f.A)(e.row.original.discount),"% / ",(0,f.A)(e.value),"%"]})};default:return{Header:(0,l.jsx)("div",{style:{textAlign:"right"},children:u("Discount")}
1),accessor:"discount",Cell:e=>(0,l.jsxs)("div",{style:{textAlign:"right"},children:[(0,f.A)(e.value),"%"]})}}},[b,u]),k=(0,r.useMemo)(()=>{let a,t={no:{Header:(0,l.jsx)("div",{children:u("NOPoint")}),accessor:"no",Cell:e=>e.row.index+1},date:{Header:(0,l.jsx)("div",{children:u("Date")}),accessor:"date"},gameName:{Header:(0,l.jsx)("div",{children:u("Games")}),accessor:"gameName",Cell:e=>u(e.value)},numbers:{Header:(0,l.jsx)("div",{children:u("Guess")}),accessor:"numbers",Cell:e=>N(e.row.original.numbers,e.row.original.gameCode,u)},status:{Header:(0,l.jsx)("div",{children:u("Status")}),accessor:"status",Cell:e=>u("BetTrStatus_"+e.value)},betAmount:{Header:(0,l.jsx)("div",{style:{float:"right"},children:u("Bet")}),accessor:"betAmount",Cell:e=>(0,l.jsx)("div",{style:{float:"right"},children:(0,v.A)(e.value)})},keiDiscountCol:w,paidAmount:{Header:(0,l.jsx)("div",{style:{float:"right"},children:u("Pay")}),accessor:"paidAmount",Cell:e=>(0,l.jsx)("div",{style:{float:"right"},children:(0,v.A)(e.value)})},winCol:C};return a=h.desktop&&"wap"!==e?["no","date","gameName","numbers","status","betAmount","keiDiscountCol","paidAmount","winCol"]:["gameName","numbers","status","betAmount","keiDiscountCol","paidAmount","winCol"],p()(a,e=>(0,n._)({},t[e]))},[u,h.desktop,C,w]);return(0,l.jsxs)(l.Fragment,{children:[d.bet_game_id&&(0,l.jsx)(g.A,{apiFunc:()=>x.A.getTransactionHistoryDetail(d.bet_game_id),setData:A,deps:[d.bet_game_id]}),(0,l.jsx)(a,(0,i._)((0,n._)({},_),{onBack:c,getColumns:k,details:b,pool:d}))]})}}},2761(e,a,t){"use strict";t.d(a,{A:()=>s});var n=t(13222),i=t.n(n);let s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return i()(e).replace(/\D/g,"")}},5124(e,a,t){"use strict";t.d(a,{A:()=>s});var n=t(13222),i=t.n(n);let s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return i()(e).replace(/\d/g,"")}},38351(e,a,t){"use strict";t.d(a,{A:()=>r});var n=t(99374),i=t.n(n),s=t(13222),l=t.n(s);let r=e=>{let a=l()(e)+"00",t=a.indexOf(".");return -1!==t?t+=2:t=a.length,a=a.replace(".",""),i()(a.slice(0,t)+"."+a.slice(t,a.length-1))}},54950(e,a,t){"use strict";t.d(a,{v:()=>c,y:()=>d});var n=t(62193),i=t.n(n),s=t(85015),l=t.n(s),r=t(13222),o=t.n(r);let d=e=>e.length<6?"profilePasswordLength":e.match(/^[A-Za-z0-9]*(([A-Za-z]+[0-9]+)|([0-9]+[A-Za-z]+))+$/)?void 0:"profilePasswordRequirements",c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(i()(e))return"registerFieldRequired";if(l()(e)){let a=o()(e).replace(/(<([^>]+)>)/g,"");if(i()(a))return"registerFieldRequired"}else{let a=i()(o()(e.getText()).replace(/[\s\t\n]/g,"")),t=!/<img/g.test(e.getHTML());if(a&&t)return"registerFieldRequired"}}},44288(e,a,t){"use strict";t.d(a,{A:()=>c});var n=t(74848);t(96540);var i=t(39608),s=t(59545),l=t(67729),r=t(74476),o=t(30558),d=t(98912);let c=e=>{let{phone:a,handleBack:t,onChange:c,onSubmit:_,disableSubmit:m}=e,u=(0,d.I)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("form",{className:u.codeVerification__wrap,noValidate:!0,onSubmit:_,children:[(0,n.jsx)("div",{className:u.codeVerification__title,children:(0,n.jsx)(s.A,{i18nKey:"CODE VERIFICATION"})}),(0,n.jsx)("div",{children:(0,n.jsx)(s.A,{i18nKey:"Enter one time password send on"})}),(0,n.jsx)("div",{className:u.codeVerification__phone,children:a}),(0,n.jsx)(o.A,{onChange:c,className:u.codeVerification__verificationInput}),(0,n.jsx)(r.A,{type:"submit",name:"submit",className:l.A.profile_submitBtn,disable:m,children:(0,n.jsx)(s.A,{i18nKey:"VERIFY CODE"})})]}),(0,n.jsx)(i.default,{className:u.codeVerification__back,onClick:t})]})}},98912(e,a,t){"use strict";t.d(a,{I:()=>l});var n=t(71893),i=t(93796),s=t(67729);let l=(0,i.default)(()=>({codeVerification__wrap:{display:"flex",alignItems:"center",flexDirection:"column"},codeVerification__title:(0,n._)({fontSize:"1.5rem",fontWeight:900,margin:"0 0 .5rem"},s.A.modal__title),codeVerification__phone:{fontSize:"1.2em",fontWeight:900,margin:".5em 0"},codeVerification__verificationInput:{margin:".5em 0 1em"},codeVerification__back:{fill:s.A.transaction_back||s.A.primary,fontSize:"2em",cursor:"pointer",margin:"0 0 1rem"}}))},85135(e,a,t){"use strict";t.d(a,{I:()=>o});var n=t(71893),i=t(55456),s=t(93796),l=t(67729),r=t(32994);let o=(0,s.default)(()=>({dateRange__container:{position:"relative"},dateRange__wrapper:(0,i._)((0,n._)({height:"3.14285714em",border:"none",borderRadius:".5714285rem",width:"100%",boxSizing:"border-box",display:"grid",gridTemplateColumns:"2.5em auto",cursor:"pointer"},l.A.input),{[r.Ay.mobile]:{borderRadius:".2857142rem",height:"2.428574rem"},"& *":{fontSize:"inherit"}}),dateRange__icon:(0,i._)((0,n._)({mask:'url("'.concat("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTEiIHZpZXdCb3g9IjAgMCAxMCAxMSIgZmlsbD0iI0ZGRkZGRiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik04LjggMS4xSDguMjVWMEg3LjE1VjEuMUgyLjc1VjBIMS42NVYxLjFIMS4xQzAuNDk1IDEuMSAwIDEuNTk1IDAgMi4yVjkuOUMwIDEwLjUwNSAwLjQ5NSAxMSAxLjEgMTFIOC44QzkuNDA1IDExIDkuOSAxMC41MDUgOS45IDkuOVYyLjJDOS45IDEuNTk1IDkuNDA1IDEuMSA4LjggMS4xWk04LjggOS45SDEuMVYzLjg1SDguOFY5LjlaIiAvPgo8cGF0aCBkPSJNNC45NTExNyA0Ljk1SDIuMjAxMTdWNy43SDQuOTUxMTdWNC45NVoiIC8+Cjwvc3ZnPg==",'") no-repeat center / contain'),width:"1.5em",height:"1.5em",justifySelf:"center",alignSelf:"center"},l.A.profile__input__icon),{[r.Ay.mobile_portrait]:(0,n._)({},l.A.profile__input__icon_p)}),dateRange__value:{margin:"auto 0",border:"none !important",background:"transparent !important",outline:"none",whiteSpace:"nowrap",fontWeight:700}
1,dateRange__clickBackground:{position:"fixed",zIndex:1,top:0,bottom:0,left:0,right:0},dateRange__picker:{position:"absolute",top:"110%",zIndex:1400,"&.rdrCalendarWrapper":{fontSize:"1rem",[r.Ay.mobile_landscape]:{fontSize:".8rem"}},"& .rdrMonthAndYearWrapper":{height:"2em",paddingTop:"1em"},"& .rdrMonth":{width:"23em"},"& .rdrDayToday .rdrDayNumber span:after":{bottom:"0",width:"1.2em"},"& .rdrMonthAndYearPickers select":{fontSize:"inherit"},"& .rdrNextPrevButton:first-child":{margin:"0 0 0 .5em"},"& .rdrNextPrevButton:last-child":{margin:"0 .5em 0 0"},"& .rdrStartEdge":{borderTopLeftRadius:"1.5em",borderBottomLeftRadius:"1.5em"},"& .rdrDayStartOfMonth .rdrInRange, .rdrDayStartOfMonth .rdrEndEdge, .rdrDayStartOfWeek .rdrInRange, .rdrDayStartOfWeek .rdrEndEdge":{borderTopLeftRadius:"1.5em",borderBottomLeftRadius:"1.5em"},"& .rdrEndEdge":{borderTopRightRadius:"1.5em",borderBottomRightRadius:"1.5em"},"& .rdrDayEndOfMonth .rdrInRange, .rdrDayEndOfMonth .rdrStartEdge, .rdrDayEndOfWeek .rdrInRange, .rdrDayEndOfWeek .rdrStartEdge":{borderTopRightRadius:"1.5em",borderBottomRightRadius:"1.5em"},"& .rdrDay":{height:"2.5em",lineHeight:"2.5em"},"& .rdrSelected, .rdrInRange, .rdrStartEdge, .rdrEndEdge":{top:".25em",bottom:".25em"},"& .rdrDayStartPreview, .rdrDayInPreview, .rdrDayEndPreview":{top:".125em",bottom:".125em"}},calendarPicker__container:{maxWidth:"17.5rem",width:"100%",[r.Ay.mobile_portrait]:{maxWidth:"100%"}}}))},73892(e,a,t){"use strict";t.d(a,{A:()=>m});var n=t(71893),i=t(55456),s=t(31105),l=t(74848);t(96540);var r=t(18492),o=t(20053),d=t(93796),c=t(67729);let _=(0,d.default)(()=>({pageName:(0,n._)({display:"block",fontSize:"2.857142rem",fontWeight:800,textTransform:"uppercase",textAlign:"center",margin:"0 0 1rem"},c.A.pageName)})),m=e=>{let{text:a="",children:t,className:d}=e,c=(0,s._)(e,["text","children","className"]),m=_(),{t:u}=(0,r.B)();return(0,l.jsxs)("div",(0,i._)((0,n._)({className:(0,o.default)(m.pageName,d)},c),{children:[u(a),t]}))}},48082(e,a,t){"use strict";t.d(a,{A:()=>r});var n=t(74848);t(96540);var i=t(59545),s=t(74476),l=t(11728);let r=e=>{let{title:a,message:t,successBtn:r,buttonLabel:o}=e,d=(0,l.I)();return(0,n.jsxs)(n.Fragment,{children:[a&&(0,n.jsx)(i.A,{i18nKey:a,className:d.successView__title}),(0,n.jsxs)("div",{className:d.successView,children:[(0,n.jsx)("img",{className:d.successView__img,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAS0AAADcCAMAAAAShAfUAAADcWlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS41LWMwMTQgNzkuMTUxNDgxLCAyMDEzLzAzLzEzLTEyOjA5OjE1ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjE3NjkzNDZlLTdkN2YtYWI0Ny1hNDFkLTIwM2QxZjczZDgyNiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo5N0Y4MjkzMDU2OTQxMUVEOThDMUI5OTc0NkE1NEQ2QiIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo5N0Y4MjkyRjU2OTQxMUVEOThDMUI5OTc0NkE1NEQ2QiIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6ZmY1MWQyNGYtMWRiZC00NjQyLTg5NDctOTdkNDg0ZjkyMjU2IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjE3NjkzNDZlLTdkN2YtYWI0Ny1hNDFkLTIwM2QxZjczZDgyNiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0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",alt:""}),t&&(0,n.jsx)(i.A,{i18nKey:t}),(0,n.jsx)(s.A,{onClick:r,className:d.successView__btn,children:(0,n.jsx)(i.A,{i18nKey:o})})]})]})}},11728(e,a,t){"use strict";t.d(a,{I:()=>r});var n=t(71893),i=t(93796),s=t(67729),l=t(32994);let r=(0,i.default)(()=>({successView:{display:"flex",flexDirection:"column",alignItems:"center",fontWeight:900},successView__title:(0,n._)({display:"block",textAlign:"center",fontWeight:900,fontSize:"1.5rem",margin:"0 0 .5rem",textTransform:"uppercase"},s.A.modal__title),successView__img:{maxWidth:"70%",margin:"2em auto",[l.Ay.mobile_landscape]:{maxWidth:"50%"}},successView__img__pw:{width:"".concat(10.5,"rem"),height:"".concat(152/14,"rem"),objectFit:"contain",margin:"1em auto",display:"flex"},successView__btn:{margin:"1em 0"}}))},44173(e,a,t){"use strict";t.d(a,{A:()=>k});var n=t(71893),i=t(55456),s=t(74848),l=t(96540),r=t(56347),o=t(4589),d=t(20053),c=t(24713),_=t.n(c),m=t(56449),u=t.n(m),p=t(1882),h=t.n(p),b=t(55378),x=t.n(b),g=t(56232),A=t(25922),j=t(54625),v=t(93796),f=t(67729),y=t(32994);let N=(0,v.default)(()=>({tab:{cursor:"pointer",textAlign:"center",display:"block"},tab__slot:{position:"relative",height:"5.714285rem",padding:"1rem",width:180,[y.Ay.mobile]:{height:"3rem",padding:".5rem",fontSize:".75rem"},[y.Ay.mobile_landscape]:{width:"15vw"},[y.Ay.mobile_portrait]:{width:"22vw"},"&.active":(0,n._)({},f.A.popularGames__tab_active)},tab__mobile:{fontSize:"1rem",padding:".5rem 2rem",width:"12rem",[y.Ay.mobile_portrait]:{flex:1},"&.active":{fontSize:"1.15rem"}},tab__profile:{flex:"none",textTransform:"uppercase",padding:"0 0 0 1rem",fontWeight:600,"&.active":(0,i._)((0,n._)({},f.A.tab__profile_active),{fontWeight:900}),[y.Ay.mobile]:{lineHeight:1.4,padding:"0 0 0 .8rem"}},tab__deposit:{display:"flex",padding:".5rem",justifyContent:"center",alignItems:"center",cursor:"pointer",flex:1,[y.Ay.mobile_portrait]:{fontSize:".9em"},"&.active":(0,n._)({fontWeight:900},f.A.deposit__tab_active)},tab__guide:{display:"flex",padding:".5rem 2rem",justifyContent:"center",alignItems:"center",cursor:"pointer",whiteSpace:"pre",flex:1,"&.active":(0,n._)({fontWeight:900},f.A.deposit__tab_active)},tab__promo:(0,i._)((0,n._)({padding:"1rem .5rem .5rem",fontWeight:600,display:"flex",justifyContent:"center",alignItems:"start"},f.A.tab__promo),{[y.Ay.desktop]:{width:"11.7rem",height:"8rem",margin:"1rem 1.285714rem",fontSize:"1.142857rem",borderRadius:".75rem","&:nth-child(4n+1)":{marginLeft:0},"&:nth-child(4n)":{marginRight:0}},[y.Ay.mobile]:{padding:".4rem .25rem .25rem"},[y.Ay.mobile_landscape]:{width:"5.4285714rem",height:"4rem",margin:".642857rem .8571425rem",fontSize:".5714285rem",borderRadius:".4rem","&:nth-child(4n+1)":{marginLeft:0},"&:nth-child(4n)":{marginRight:0}},[y.Ay.mobile_portrait]:{width:"5.25rem",height:"3.214286rem",margin:"0 .5rem 0 0",fontSize:".5714285rem",borderRadius:".4rem","&:last-child":{margin:0}},"&.active":(0,n._)({fontWeight:900,borderRadius:0},f.A.tab__promo_active)})})),C=e=>{let{path:a,label:t,type:n,to:i,onClick:o=()=>{},draggable:c=!0,exact:_=!0}=e,m=N(),u=(0,r.useLocation)(),p=(0,l.useMemo)(()=>(0,r.matchPath)(u.pathname,{path:a,exact:_}),[_,u.pathname,a]);return(0,s.jsx)(j.N_,{to:i||"#",className:(0,d.default)(m.tab,m["tab__".concat(n)],{active:p}),onClick:o,draggable:c,children:t})},w=(0,v.default)(()=>({tabList__container:{overflow:"auto","&::-webkit-scrollbar, &::-webkit-scrollbar-track, &::-webkit-scrollbar-thumb":{width:0,height:0,display:"none"}},tabList__container__slot:{overflow:"unset"},tabList__container__guide:{textAlign:"center"},tabList:{position:"relative",display:"flex",margin:0,padding:"0",height:"auto","& .slick-slider":{width:"100%"}},tabList__slot:{width:"calc(100% + 2px)",margin:"0 -1px","& .slick-list":{paddingTop:"1em",[y.Ay.mobile]:{paddingTop:".5em"}},"& .slick-track":(0,n._)({margin:0,minWidth:"100%"},f.A.popularGames__listTab)},tabList__container__profile:(0,i._)((0,n._)({position:"relative"},f.A.tabList__container__profile),{"&:after":(0,n._)({content:'" "',position:"absolute",right:0,top:0,height:"100%",width:"3rem"},f.A.tabList__container__profile_after)}),tabList__profile:{[y.Ay.desktop]:{display:"none"},padding:"1rem 0"}
1,tabList__deposit:(0,i._)((0,n._)({display:"grid",textTransform:"uppercase",textAlign:"center",fontSize:"1.142857rem",borderRadius:".5714285rem",overflow:"hidden",margin:"0 0 1rem",gridAutoFlow:"column"},f.A.deposit__tabs),{[y.Ay.mobile]:{fontSize:".857142rem",borderRadius:".2857142rem"}}),tabList__guide:(0,i._)((0,n._)({display:"flex",textTransform:"uppercase",textAlign:"center",fontSize:"1.142857rem",borderRadius:".5714285rem",overflow:"hidden",margin:"0 0 1rem",width:"fit-content",minWidth:"100%"},f.A.deposit__tabs),{[y.Ay.mobile]:{fontSize:".857142rem",borderRadius:".2857142rem"}}),tabList__mobile:{justifyContent:"flex-start"},tabList__promo:{flexWrap:"wrap",padding:"0 0 1rem",[y.Ay.mobile_portrait]:{display:"inline-flex",flexWrap:"nowrap"}},tabContent:{padding:"0 1em",borderRadius:"0 0 .75rem .75rem",wordBreak:"break-word"},tabContent__mobile:{padding:"1em",minHeight:"50vh"},tabContent__profile:{margin:"1rem auto 0",[y.Ay.desktop]:{margin:"4rem auto 0"}},tabContent__deposit:{padding:0},tabContent__guide:{padding:0},tabContent__slot:(0,i._)((0,n._)({},f.A.slotList),{[y.Ay.mobile_portrait]:{padding:0}}),tabContent__promo:{background:"none",padding:0},tabContentNotPadding:{[y.Ay.mobile]:{padding:0}}})),k=e=>{let{children:a,className:t,classNameTabList:c,type:m,defaultPath:p,exact:b=!0}=e,j=w(),v=(0,g.Y0)(),f=(0,r.useLocation)(),[y,N]=(0,l.useState)(!1),k=(0,l.useMemo)(()=>{if(p&&b){var e,t,n,i;let s=null==a||null==(t=a[0])||null==(e=t.props)?void 0:e["data-path"];u()(s)&&s.push(p);let l=null==a||null==(i=a[0])||null==(n=i.props)?void 0:n["data-link"];u()(l)&&l.push(p)}return a},[a,p,b]),D=(0,l.useMemo)(()=>{let e=v.mobile_portrait?3:5,a=k.length>e,t=Math.max(_()(k,e=>{var a;return!!(0,r.matchPath)(f.pathname,{path:null==e||null==(a=e.props)?void 0:a["data-link"],exact:b})}),0);return{key:null==k?void 0:k.length,arrows:!1,slidesToScroll:1,initialSlide:t,dots:!1,swipeToSlide:!0,lazyLoad:!1,centerMode:!1,slidesToShow:e,infinite:a,variableWidth:a,focusOnSelect:!0,onSwipe:()=>{N(()=>!0)},afterChange:()=>{N(()=>!1)}}},[k.length,v.mobile_portrait]),T=(0,l.useCallback)(function(e,a){var t,i,l,r,o,d;let c=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return(0,s.jsx)(C,(0,n._)({to:y?"#":null==e||null==(i=e.props)||null==(t=i["data-link"])?void 0:t[0],path:null==e||null==(l=e.props)?void 0:l["data-link"],label:null==e||null==(r=e.props)?void 0:r["data-label"],onClick:()=>{var a;h()(null==e||null==(a=e.props)?void 0:a["data-onClickTab"])&&e.props["data-onClickTab"]()},type:m,draggable:c,exact:b},null==e?void 0:e.props),(null==e||null==(d=e.props)||null==(o=d["data-link"])?void 0:o[0])+a)},[b,y,m]),I=(0,l.useMemo)(()=>{switch(m){case"slot":case"profile":return(0,s.jsx)(o.default,(0,i._)((0,n._)({},D),{children:k.map((e,a)=>T(e,a,!1))}));default:return k.map(T)}},[m,k,T,D]),B=(0,l.useMemo)(()=>{var e,a,t;return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(A.A,{className:(0,d.default)(j.tabContent,j["tabContent__".concat(m)],{[j.tabContentNotPadding]:"/profile/transaction-history"===f.pathname}),children:(0,s.jsxs)(r.Switch,{children:[x()(k,(e,a)=>{var t,i,l,o;let d=(null==e||null==(t=e.props)?void 0:t["data-path"])||(null==e||null==(i=e.props)?void 0:i["data-link"]);return(0,s.jsx)(r.Route,(0,n._)({exact:b,path:d},null==e?void 0:e.props),(null==e||null==(o=e.props)||null==(l=o["data-link"])?void 0:l[0])+a)}),(null==k?void 0:k.length)&&(0,s.jsx)(r.Redirect,{to:p||(null==k||null==(t=k[0])||null==(a=t.props)||null==(e=a["data-link"])?void 0:e[0])})]})})})},[j,m,f.pathname,k,p,b]);return(0,s.jsxs)("div",{className:t,children:[(0,s.jsx)("div",{className:(0,d.default)(j.tabList__container,j["tabList__container__".concat(m)],c),children:(0,s.jsx)("div",{className:(0,d.default)(j.tabList,j["tabList__".concat(m)]),children:I})}),B]})}},30558(e,a,t){"use strict";t.d(a,{A:()=>h});var n=t(74848),i=t(96540),s=t(20053),l=t(55378),r=t.n(l),o=t(47542),d=t(71893),c=t(55456),_=t(93796),m=t(67729),u=t(32994);let p=(0,_.default)(()=>({verificationInput__label:{display:"flex",justifyContent:"center",gap:"1em"},verificationInput__input:(0,c._)((0,d._)({fontSize:"3em",width:"1.5em",height:"2em",textAlign:"center",border:"none",outline:"none",borderRadius:".3em",padding:0,fontWeight:900},m.A.input),{[u.Ay.mobile]:{fontSize:"1.8em"},'&:not([value=""])':{background:m.A.input_captcha_bg,color:m.A.input_captcha_txt}})})),h=(0,o.A)((0,i.forwardRef)((e,a)=>{let{values:t=[],handeChange:i=()=>{},handleKeyDown:l=()=>{},handleFocus:o=()=>{},className:d}=e,c=p();return(0,n.jsx)("label",{className:(0,s.default)(c.verificationInput__label,d),children:r()(t,(e,t)=>(0,n.jsx)("input",{className:c.verificationInput__input,ref:e=>{a.current[t]=e}
1,"data-id":t,value:e,onChange:i,onKeyDown:l,onFocus:o,inputMode:"decimal",pattern:"[0-9]*",autoFocus:0===t},t))})}))},79005(e,a,t){"use strict";t.r(a),t.d(a,{default:()=>tE});var n=t(74848),i=t(96540),s=t(18492),l=t(33806),r=t(86552),o=t(69894),d=t(79885),c=t(20053),_=t(62193),m=t.n(_),u=t(83753),p=t(35106),h=t(59545),b=t(14872),x=t(67729),g=t(15857),A=t(71893),j=t(31105),v=t(30020),f=t(95093),y=t.n(f),N=t(56232);t(52737),t(80662);var C=t(85135);let w=e=>{let{value:a={},onChange:t=()=>{},className:s}=e,l=(0,j._)(e,["value","onChange","className"]),r=(0,C.I)(),[o,d]=(0,i.useState)(!1),[_,u]=(0,i.useState)({startDate:new Date,endDate:new Date,key:"selection"}),p=(0,i.useRef)(null),h=(0,N.Y0)(),b=(0,i.useCallback)(()=>{d(!0)},[d]),x=(0,i.useCallback)(()=>{d(!1)},[d]),g=(0,i.useCallback)(e=>{u(e.selection),t(e.selection)},[u,t]),f=(0,i.useCallback)(e=>{e[0]||e[1]||setTimeout(x,300)},[x]);(0,i.useEffect)(()=>{m()(a)||u(e=>(0,A._)({},e,a))},[u,a]);let w=(0,i.useCallback)(()=>{let e=y()(_.startDate),a=e.isValid()?e.format("DD/MM/YYYY"):"",t=y()(_.endDate),n=t.isValid()?t.format("DD/MM/YYYY"):"";return"".concat(a," - ").concat(n)},[_]);return(0,n.jsxs)("div",{className:r.dateRange__container,children:[(0,n.jsxs)("div",{className:(0,c.default)(r.dateRange__wrapper,s),onClick:b,ref:p,children:[(0,n.jsx)("div",{className:r.dateRange__icon}),(0,n.jsx)("div",{className:r.dateRange__value,children:w()})]}),o&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:r.dateRange__clickBackground,onClick:x}),(0,n.jsx)(v.DateRange,(0,A._)({editableDateInputs:!0,onChange:g,onRangeFocusChange:f,moveRangeOnFirstSelection:!1,ranges:[_],className:r.dateRange__picker,months:h.mobile_portrait?1:2,direction:"horizontal",showDateDisplay:!1,monthDisplayFormat:"MM/yyyy",displayMode:"dateRange"},l))]})]})};var k=t(55456),D=t(93796),T=t(32994);let I=(0,D.default)(()=>({line:(0,k._)((0,A._)({height:"4px",marginBottom:"1rem",borderRadius:"50%"},x.A.line),{[T.Ay.mobile]:{height:".25rem"}})})),B=()=>{let e=I();return(0,n.jsx)("div",{className:e.line})};var M=t(21888),S=t(55378),R=t.n(S),L=t(22869),F=t(45066),z=t(2840),E=t(13576),K=t(54950),W=t(41728);let H=e=>(0,n.jsx)(W.A,(0,k._)((0,A._)({viewBox:"0 0 20 9"},e),{children:(0,n.jsx)("path",{d:"M-3.0835e-08 0.705422L0.971622 -8.31757e-07L10 7.13819L19.0284 -4.24709e-08L20 0.705423L10 8.61218L-3.0835e-08 0.705422Z"})}));var O=t(53488);let P=(0,D.default)(()=>({bonus:{[T.Ay.desktop]:{maxWidth:968,margin:"auto"}},bonus__textImg:{display:"block",margin:"1rem auto 0",[T.Ay.mobile]:{margin:"1rem auto",maxWidth:"17.5rem"}},bonus__search:{display:"grid",gridGap:"1em",gridTemplateColumns:"1fr auto",alignItems:"center",margin:"1em auto",[T.Ay.desktop]:{maxWidth:"40rem"}},bonus__search__button:{height:"100%",fontSize:"inherit"},bonus__searchTurnoverTable:(0,A._)({margin:"0 0 1em",[T.Ay.desktop]:{"& th":{paddingTop:"1.5rem",paddingBottom:"1.5rem"}},[T.Ay.mobile_portrait]:{fontSize:".85rem","& th, td":{padding:"1rem .3rem 1.1rem","&:first-child":{paddingLeft:".5rem"},"&:last-child":{paddingRight:".5rem"}}},"& th":{wordBreak:"normal"},"& tbody tr:not(:last-child)":{borderBottom:"1px solid #565657"}},x.A.bonus__searchTurnoverTable),bonus__img:{display:"block",margin:"3rem auto 2rem",padding:"0 1rem",[T.Ay.mobile]:{margin:"1rem auto"}},bonus__pageName:{paddingBottom:0,width:"100%",textTransform:"uppercase",fontWeight:800,fontSize:"1.428571rem",[T.Ay.mobile_portrait]:{fontSize:"1.142857rem"}},bonus__block__title:(0,k._)((0,A._)({margin:"1rem 0 0",padding:"1rem 1.25rem",position:"relative",fontSize:"1.428571rem",fontWeight:800,textTransform:"uppercase"},x.A.bonus__block__title),{display:"flex",flexWrap:"wrap",gap:"1rem",justifyContent:"space-between",alignItems:"center",[T.Ay.mobile_portrait]:{padding:".65rem",fontSize:"1.142857rem"}}),bonus__cancel__button:{textTransform:"uppercase",fontSize:"inherit"},bonus__block:(0,k._)((0,A._)({borderRadius:"0 0 .5rem .5rem",padding:"1rem 1.25rem",lineHeight:1.4,position:"relative",borderTop:0},x.A.bonus__block),{[T.Ay.mobile_portrait]:{padding:".65rem"}}),bonus__label:{fontWeight:800},bonus__block__gameName:{"&:not(:last-child):after":{content:'" | "'}},bonus__freebet__gameName:{"&:not(:last-child):after":{content:'", "'}},bonus__block__freebet:{paddingBottom:"1rem"},bonus__block__conditions:{display:"grid",gridTemplateColumns:"auto 1fr auto",gridGap:".3rem 1rem",alignItems:"center",margin:"1rem 0 0",fontWeight:800,[T.Ay.desktop]:{width:"66%"},[T.Ay.mobile]:{fontSize:12/14+"rem"}},bonus__field:{marginTop:".5rem"},bonus__promoByGame__value:{gridColumn:"2 / 4",whiteSpace:"pre-line"},bonus__progress__wd:{color:x.A.bonus_wd,textAlign:"right",whiteSpace:"nowrap"},bonus__amount__label:{color:x.A.bonus_amount},bonus__amount__value:{color:x.A.bonus_amount,gridColumn:"2 / 4"},bonus__max__label:{color:x.A.bonus_max},bonus__max__value:{color:x.A.bonus_max,gridColumn:"2 / 4"},bonus__conditionGetBonus__label:{color:x.A.bonus_condition},bonus__conditionGetBonus__value:{color:x.A.bonus_condition,textAlign:"right"},bonus__conditionGetBonus__value_na:{gridColumn:"2 / 4",color:x.A.bonus_condition},bonus__conditionWd:{color:x.A.bonus_wd},bonus__conditionWd__value:{color:x.A.bonus_wd,textAlign:"right",whiteSpace:"nowrap"},bonus__conditionWd__value_na:{color:x.A.bonus_wd,gridColumn:"2 / 4",whiteSpace:"pre-line"},bonus__table:(0,A._)({"& tbody tr:not(:last-child)":{borderBottom:"1px solid #565657"}},x.A.bonus__table),bonus__tableTicket:{"& .highlight":{fontWeight:700,color:x.A.bonus__turnover__rate},"& .time":{color:x.A.bonus__turnover__rate},"& .paddingLeft":{paddingLeft:"1.5rem"},"& th, td":{width:"27%","&:first-child":{width:"29%"},"&:nth-child(2)":{width:"19%"}},[T.Ay.mobile_portrait]:{fontSize:".8rem"}},bonus__tableDeposit:{[T.Ay.desktop]:{width:"auto",minWidth:"40%"}},bonus__tableCashback:{[T.Ay.desktop]:{width:"60%","& th, td":{width:"".concat(100/3,"%")}},[T.Ay.mobile]:{fontSize:".9em","& th:nth-child(2)":{width:"40%"},"& tbody":{fontSize:".8rem"},"& thead":{wordBreak:"normal"}},"& .rate_percent":{color:x.A.bonus__turnover__rate}},bonus__tableTurnover:{[T.Ay.desktop]:{"& td:nth-child(4)":{wordBreak:"normal",color:x.A.bonus__turnover__rate}},[T.Ay.mobile]:{fontSize:".6em","& thead":{wordBreak:"normal"},"& td:nth-child(2)":{wordBreak:"normal",color:x.A.bonus__turnover__rate}}},bonus__cashbackInfo:{display:"grid",gridTemplateColumns:"auto 1fr",justifyContent:"space-between",gridGap:".2em 2rem",margin:".5rem 0",color:x.A.bonus__cashbackInfo,[T.Ay.mobile_portrait]:{gridGap:".2em 1rem"}},bonus__progress__container:{gridColumn:"2 / 3"},bonus__turnover__title:{margin:"1rem 0",fontWeight:800},bonus__term:{margin:"1rem 0 0"},bonus__expandContent:{position:"relative",overflow:"hidden",transition:"all .3s"},bonus__expandIcon:{display:"block",cursor:"pointer",height:"3rem",padding:"1rem 0",width:"100%",transition:"all .3s",marginBottom:"-1rem",[T.Ay.mobile_portrait]:{marginBottom:"-.65rem"}}
1,bonus__expandIcon__expanded:{transform:"scaleY(-1)"},bonus__turnover__providerName:{fontWeight:800,color:x.A.bonus__turnover__providerName},bonus__condition__wd_amount:{textAlign:"right",whiteSpace:"nowrap"}})),V=(0,z.A)((0,E.A)((0,i.forwardRef)((e,a)=>{let{title:t,data:i={},table:s,contentHeight:l,expanded:r,toggleExpanded:o,columnGrades:d,renderPeriod:_}=e,{lessRef:m,moreRef:u}=a,b=P(),g=(0,O.F)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:b.bonus__block__title,children:(0,n.jsx)("span",{children:t})}),(0,n.jsxs)("div",{className:b.bonus__block,children:[(0,n.jsxs)("div",{className:b.bonus__expandContent,style:{maxHeight:l},children:[(0,n.jsxs)("div",{className:b.bonus__label,children:[(0,n.jsx)(h.A,{i18nKey:"Promotion by Games"}),":"]}),(0,n.jsx)("div",{children:R()(i.details,e=>(0,n.jsx)(h.A,{i18nKey:e.provider_name,className:b.bonus__block__gameName},e.provider_name))}),(0,n.jsxs)("div",{className:b.bonus__cashbackInfo,children:[(i.period_from||i.period_to)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(h.A,{i18nKey:"Period"}),":"]}),(0,n.jsx)("div",{children:_})]}),i.apply_date&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(h.A,{i18nKey:"Reward At"}),":"]}),(0,n.jsx)("div",{children:i.apply_date})]})]}),(0,n.jsx)("div",{ref:m}),(0,n.jsx)(F.A,{className:(0,c.default)(g.table_primary,b.bonus__table,b.bonus__tableCashback),columns:d(i.calculate_by),data:i.tocb_grades||[]}),i.details&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:b.bonus__turnover__title,children:(0,n.jsx)(h.A,{i18nKey:"CASHBACK ACHIEVEMENT"})}),(0,n.jsx)(p.A,{className:(0,c.default)(g.table_primary,b.bonus__table),table:s})]}),!(0,K.v)(i.toc_content)&&(0,n.jsx)("div",{className:b.bonus__term,children:(0,n.jsx)(L.A,{children:i.toc_content})}),(0,n.jsx)("div",{style:{marginBottom:"1rem"},children:(0,n.jsx)(h.A,{style:x.A.input__required,i18nKey:"bonusTurnoverNote"})}),(0,n.jsx)("div",{ref:u})]}),(0,n.jsx)(H,{onClick:o,className:(0,c.default)(b.bonus__expandIcon,{[b.bonus__expandIcon__expanded]:r})})]})]})})));var q=t(40794),U=t(44524),Y=t(74476);let G=(0,D.default)(()=>({progressBar__bar:{background:"#181818",width:"100%",minWidth:"6em",height:6,borderRadius:3,position:"relative"},progressBar__completed:{borderRadius:3,height:"100%",maxWidth:"100%"},progressBar__percent:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",color:x.A.progressBar_text,textShadow:"1px 1px ".concat(x.A.progressBar_textShadow,", -1px -1px 0 ").concat(x.A.progressBar_textShadow,", 1px -1px 0 ").concat(x.A.progressBar_textShadow,", -1px 1px 0 ").concat(x.A.progressBar_textShadow)}})),Z=e=>{let{percent:a=0,color:t=""}=e,i=G();return(0,n.jsxs)("div",{className:i.progressBar__bar,children:[(0,n.jsx)("div",{className:i.progressBar__completed,style:{width:"".concat(a,"%"),background:t}}),(0,n.jsxs)("div",{className:i.progressBar__percent,children:[a,"%"]})]})},Q=(0,U.A)((0,E.A)((0,i.forwardRef)((e,a)=>{var t,s;let{data:l={},table:r,contentHeight:o,expanded:d,toggleExpanded:_,submitCancel:m}=e,{lessRef:u,moreRef:b}=a,g=P(),A=(0,O.F)(),j=(0,i.useMemo)(()=>l.condition_withdraw_by?"deposit"===l.condition_withdraw_by?(0,n.jsxs)("div",{className:g.bonus__conditionWd__value_na,children:[(0,n.jsx)(h.A,{i18nKey:"Min Deposit"}),": ",l.deposit_amount_required_to_withdraw_display]}):"turnover_and_deposit"===l.condition_withdraw_by?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:g.bonus__conditionWd__value_na,children:[(0,n.jsx)(h.A,{i18nKey:"Min Deposit"}),": ",l.deposit_amount_required_to_withdraw_display]}),(0,n.jsx)("div",{className:g.bonus__progress__container,children:(0,n.jsx)(Z,{percent:l.withdraw_percent,color:x.A.bonus_wd})}),(0,n.jsx)("div",{className:g.bonus__conditionWd__value,children:l.withdraw_amount})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:g.bonus__progress__container,children:(0,n.jsx)(Z,{percent:l.withdraw_percent,color:x.A.bonus_wd})}),(0,n.jsx)("div",{className:g.bonus__conditionWd__value,children:l.withdraw_amount})]}):(0,n.jsx)("div",{className:g.bonus__conditionWd__value_na,children:(0,n.jsx)(h.A,{i18nKey:"N/A"})}),[l.condition_withdraw_by,l.deposit_amount_required_to_withdraw_display,l.withdraw_percent,l.withdraw_amount,g]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:g.bonus__block__title,children:[(0,n.jsx)("span",{children:l.event_name}),(null==l?void 0:l.is_cancelable)&&(0,n.jsx)(Y.A,{name:"button",className:(0,
1c.default)(g.bonus__cancel__button,x.A.btn_cancel),onClick:()=>m(l),children:(0,n.jsx)(h.A,{i18nKey:"Cancel Bonus"})})]}),(0,n.jsxs)("div",{className:g.bonus__block,children:[(0,n.jsxs)("div",{className:g.bonus__expandContent,style:{maxHeight:o},children:[(null==(t=l.details)?void 0:t.length)>0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:g.bonus__label,children:[(0,n.jsx)(h.A,{i18nKey:"Promotion by Games"}),":"]}),(0,n.jsx)("div",{children:R()(l.details,e=>(0,n.jsx)(h.A,{i18nKey:e.provider_name,className:g.bonus__block__gameName},e.provider_name))})]}),(0,n.jsxs)("div",{className:g.bonus__field,children:[(0,n.jsx)(h.A,{i18nKey:"Allow Combine Bonus",className:g.bonus__label}),": ",(0,n.jsx)(q.A,{data:l})]}),(0,n.jsxs)("div",{className:g.bonus__block__conditions,children:[(0,n.jsxs)("div",{className:g.bonus__amount__label,children:[(0,n.jsx)(h.A,{i18nKey:"Bonus Amount"}),":"]}),(0,n.jsx)("div",{className:g.bonus__amount__value,children:l.is_percent?l.rate+"%":l.bonus_amount}),l.max_bonus&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:g.bonus__max__label,children:[(0,n.jsx)(h.A,{i18nKey:"Max Bonus"}),":"]}),(0,n.jsx)("div",{className:g.bonus__max__value,children:l.max_bonus})]}),(0,n.jsxs)("div",{className:g.bonus__conditionWd,children:[(0,n.jsx)("div",{ref:u}),(0,n.jsx)(h.A,{i18nKey:"Condition to do WD"}),":"]}),j]}),(null==(s=l.details)?void 0:s.length)>0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:g.bonus__turnover__title,children:(0,n.jsx)(h.A,{i18nKey:"TURNOVER ACHIEVEMENT"})}),(0,n.jsx)(p.A,{className:(0,c.default)(A.table_primary,g.bonus__table,g.bonus__tableDeposit),table:r})]}),!(0,K.v)(l.toc_content)&&(0,n.jsx)("div",{className:g.bonus__term,children:(0,n.jsx)(L.A,{children:l.toc_content})}),(0,n.jsx)("div",{ref:b})]}),(0,n.jsx)(H,{onClick:_,className:(0,c.default)(g.bonus__expandIcon,{[g.bonus__expandIcon__expanded]:d})})]})]})}))),X=(0,E.A)((0,i.forwardRef)((e,a)=>{let{data:t={},contentHeight:i,expanded:s,toggleExpanded:l}=e,{lessRef:r,moreRef:o}=a,d=P();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:d.bonus__block__title,children:(0,n.jsx)(h.A,{i18nKey:t.request_type})}),(0,n.jsxs)("div",{className:d.bonus__block,children:[(0,n.jsxs)("div",{className:d.bonus__expandContent,style:{maxHeight:i},children:[(0,n.jsxs)("div",{className:d.bonus__block__conditions,children:[(0,n.jsxs)("div",{className:d.bonus__label,children:[(0,n.jsx)(h.A,{i18nKey:"Promotion by Games"}),":"]}),(0,n.jsx)("div",{className:d.bonus__promoByGame__value,children:(0,n.jsx)(h.A,{i18nKey:"Support all games that having Turnover"})}),(0,n.jsxs)("div",{className:d.bonus__amount__label,style:{color:x.A.bonus_amount_lucky},children:[(0,n.jsx)(h.A,{i18nKey:"Bonus Amount"}),":"]}),(0,n.jsx)("div",{className:d.bonus__amount__value,style:{color:x.A.bonus_amount_lucky},children:t.bonus_amount}),(0,n.jsxs)("div",{className:d.bonus__conditionWd,style:{color:x.A.bonus_wd_lucky},children:[(0,n.jsx)(h.A,{i18nKey:"Condition to do WD"}),":"]}),(null==t?void 0:t.has_withdraw_condition)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:d.bonus__progress__container,children:(0,n.jsx)(Z,{percent:null==t?void 0:t.withdraw_percent,color:x.A.bonus_wd_lucky})}),(0,n.jsx)("div",{className:d.bonus__conditionGetBonus__value,style:{color:x.A.bonus_wd_lucky},children:null==t?void 0:t.withdraw_amount})]})]}),(0,n.jsx)("div",{ref:r}),!(0,K.v)(t.toc_content)&&(0,n.jsx)("div",{className:d.bonus__term,children:(0,n.jsx)(L.A,{children:t.toc_content})}),(0,n.jsx)("div",{ref:o})]}),(0,n.jsx)(H,{onClick:l,className:(0,c.default)(d.bonus__expandIcon,{[d.bonus__expandIcon__expanded]:s})})]})]})})),J=(0,U.A)((0,E.A)((0,i.forwardRef)((e,a)=>{let{data:t={},table:i,contentHeight:s,expanded:l,toggleExpanded:r,submitCancel:o}=e,{lessRef:d,moreRef:_}=a,m=P(),u=(0,O.F)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:m.bonus__block__title,children:[(0,n.jsx)("span",{children:t.event_name}),(null==t?void 0:t.is_cancelable)&&(0,n.jsx)(Y.A,{name:"button",className:(0,c.default)(m.bonus__cancel__button,x.A.btn_cancel),onClick:()=>o(t),children:(0,n.jsx)(h.A,{i18nKey:"Cancel Bonus"})})]}),(0,n.jsxs)("div",{className:m.bonus__block,children:[(0,n.jsxs)("div",{className:m.bonus__expandContent,style:{maxHeight:s},children:[(0,n.jsxs)("div",{className:m.bonus__label,children:[(0,n.jsx)(h.A,{i18nKey:"Promotion by Games"}),":"]}),(0,n.jsx)("div",{children:R()(t.details,e=>(0,n.jsx)(h.A,{i18nKey:e.provider_name,className:m.bonus__block__gameName},e.provider_name))}),(0,n.jsxs)("div",{className:m.bonus__field,children:[(0,n.jsx)(h.A,{i18nKey:"Allow Combine Bonus",className:m.bonus__label}),": ",(0,n.jsx)(q.A,{data:t})]}),(0,n.jsxs)("div",{className:m.bonus__block__conditions,children:[(0,n.jsxs)("div",{className:m.bonus__amount__label,children:[(0,n.jsx)(h.A,{i18nKey:"Bonus Amount"}),":"]}),(0,n.jsx)("div",{className:m.bonus__amount__value,children:t.is_percent?t.rate+"%":t.bonus_amount}),t.max_bonus&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:m.bonus__max__label,children:[(0,n.jsx)(h.A,{i18nKey:"Max Bonus"}),":"]}),(0,n.jsx)("div",{className:m.bonus__max__value,children:t.max_bonus})]}),(0,n.jsxs)("div",{className:m.bonus__conditionGetBonus__label,children:[(0,n.jsx)(h.A,{i18nKey:"Condition to get Bonus"}),":"]}),t.get_bonus_amount?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:m.bonus__progress__container,children:(0,n.jsx)(Z,{percent:t.get_bonus_percent,color:x.A.bonus_condition})}),(0,n.jsx)("div",{className:m.bonus__conditionGetBonus__value,children:t.get_bonus_amount})]}):(0,n.jsx)("div",{className:m.bonus__conditionGetBonus__value_na,children:t.get_bonus_percent}),(0,n.jsxs)("div",{className:m.bonus__conditionWd,children:[(0,n.jsx)("div",{ref:d}),(0,n.jsx)(h.A,{i18nKey:"Condition to do WD"}),":"]}),t.withdraw_amount?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:m.bonus__progress__container,children:"credit"===t.condition_withdraw_by?(0,n.jsx)(h.A,{i18nKey:"Min Credit"}):(0,n.jsx)(Z,{percent:t.withdraw_percent,color:x.A.bonus_wd})}),(0,n.jsx)("div",{className:m.bonus__conditionWd__value,children:t.withdraw_amount})]}):(0,n.jsx)("div",{className:m.bonus__conditionWd__value_na,children:t.withdraw_percent})]}),t.details&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:m.bonus__turnover__title,children:(0,n.jsx)(h.A,{i18nKey:"TURNOVER ACHIEVEMENT"})}
1),(0,n.jsx)(p.A,{className:(0,c.default)(u.table_primary,m.bonus__table,m.bonus__tableDeposit),table:i})]}),!(0,K.v)(t.toc_content)&&(0,n.jsx)("div",{className:m.bonus__term,children:(0,n.jsx)(L.A,{children:t.toc_content})}),(0,n.jsx)("div",{ref:_})]}),(0,n.jsx)(H,{onClick:r,className:(0,c.default)(m.bonus__expandIcon,{[m.bonus__expandIcon__expanded]:l})})]})]})}))),$=(0,U.A)((0,E.A)((0,i.forwardRef)((e,a)=>{let{data:t={},table:i,contentHeight:s,expanded:l,toggleExpanded:r,submitCancel:o}=e,{lessRef:d,moreRef:_}=a,m=P(),u=(0,O.F)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:m.bonus__block__title,children:[(0,n.jsx)("span",{children:t.event_name}),(null==t?void 0:t.is_cancelable)&&(0,n.jsx)(Y.A,{name:"button",className:(0,c.default)(m.bonus__cancel__button,x.A.btn_cancel),onClick:()=>o(t),children:(0,n.jsx)(h.A,{i18nKey:"Cancel Bonus"})})]}),(0,n.jsxs)("div",{className:m.bonus__block,children:[(0,n.jsxs)("div",{className:m.bonus__expandContent,style:{maxHeight:s},children:[(0,n.jsxs)("div",{className:m.bonus__label,children:[(0,n.jsx)(h.A,{i18nKey:"Promotion by Games"}),":"]}),(0,n.jsx)("div",{children:R()(t.details,e=>(0,n.jsx)(h.A,{i18nKey:e.provider_name,className:m.bonus__block__gameName},e.provider_name))}),(0,n.jsxs)("div",{className:m.bonus__block__conditions,children:[(0,n.jsxs)("div",{className:m.bonus__amount__label,children:[(0,n.jsx)(h.A,{i18nKey:"Bonus Amount"}),":"]}),(0,n.jsx)("div",{className:m.bonus__amount__value,children:t.is_percent?t.rate+"%":t.bonus_amount}),(0,n.jsxs)("div",{className:m.bonus__conditionWd,children:[(0,n.jsx)(h.A,{i18nKey:"Condition to do WD"}),":"]}),t.withdraw_amount?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:m.bonus__progress__container,children:"credit"===t.condition_withdraw_by?(0,n.jsx)(h.A,{i18nKey:"Min Credit"}):(0,n.jsx)(Z,{percent:t.withdraw_percent,color:x.A.bonus_wd})}),(0,n.jsx)("div",{className:m.bonus__conditionWd__value,children:t.withdraw_amount})]}):(0,n.jsx)("div",{className:m.bonus__conditionWd__value_na,children:t.withdraw_percent})]}),(0,n.jsx)("div",{ref:d}),t.details&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:m.bonus__turnover__title,children:(0,n.jsx)(h.A,{i18nKey:"TURNOVER ACHIEVEMENT"})}),(0,n.jsx)(p.A,{className:(0,c.default)(u.table_primary,m.bonus__table,m.bonus__tableDeposit),table:i})]}),(0,n.jsx)("div",{ref:_})]}),(0,n.jsx)(H,{onClick:r,className:(0,c.default)(m.bonus__expandIcon,{[m.bonus__expandIcon__expanded]:l})})]})]})})));var ee=t(2543);let ea=(0,t(68530).A)((0,E.A)((0,i.forwardRef)((e,a)=>{let{data:t={},table:i,contentHeight:s,expanded:l,toggleExpanded:r}=e,{lessRef:o,moreRef:d}=a,_=P(),m=(0,O.F)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:_.bonus__block__title,children:(0,n.jsx)(h.A,{i18nKey:t.event_name})}),(0,n.jsxs)("div",{className:_.bonus__block,children:[(0,n.jsxs)("div",{className:_.bonus__expandContent,style:{maxHeight:s+27},children:[(0,n.jsxs)("div",{className:_.bonus__label,children:[(0,n.jsx)(h.A,{i18nKey:"Promotion by Games"}),":"]}),(0,n.jsx)("div",{className:_.bonus__promoByGame__value,children:(0,ee.map)(t.details,e=>(0,n.jsx)(h.A,{i18nKey:e.provider_name,className:_.bonus__block__gameName},e.provider_name))}),(0,n.jsxs)("div",{className:_.bonus__field,children:[(0,n.jsx)(h.A,{i18nKey:"Allow Combine Bonus",className:_.bonus__label}),":"]}),(0,n.jsx)("div",{className:_.bonus__promoByGame__value,children:(0,n.jsx)(q.A,{data:t})}),(0,n.jsxs)("div",{className:(0,c.default)(_.bonus__block__conditions,_.bonus__field),children:[(0,n.jsxs)("div",{className:_.bonus__amount__label,style:{color:x.A.bonus_amount_lucky},children:[(0,n.jsx)("div",{ref:o}),(0,n.jsx)(h.A,{i18nKey:"Bonus Amount"}),":"]}),(0,n.jsx)("div",{className:_.bonus__amount__value,style:{color:x.A.bonus_amount_lucky},children:t.bonus_amount}),(0,n.jsxs)("div",{className:_.bonus__conditionWd,style:{color:x.A.bonus_wd_lucky},children:[(0,n.jsx)(h.A,{i18nKey:"Condition to do WD"}),":"]}),t.withdraw_amount?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:_.bonus__progress__container,children:"credit"===t.condition_withdraw_by?(0,n.jsx)(h.A,{i18nKey:"Min Credit"}):(0,n.jsx)(Z,{percent:t.withdraw_percent,color:x.A.bonus_wd})}),(0,n.jsx)("div",{className:_.bonus__condition__wd_amount,style:{color:x.A.bonus_wd_lucky},children:t.withdraw_amount})]}):(0,n.jsx)("div",{className:_.bonus__condition__wd_amount_na,style:{color:x.A.bonus_wd_lucky},children:t.withdraw_percent})]}),t.details&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:_.bonus__turnover__title,children:(0,n.jsx)(h.A,{i18nKey:"TURNOVER ACHIEVEMENT"})}
1),(0,n.jsx)(p.A,{className:(0,c.default)(m.table_primary,_.bonus__table,_.bonus__tableDeposit),table:i})]}),!(0,K.v)(t.toc_content)&&(0,n.jsx)("div",{className:_.bonus__term,children:(0,n.jsx)(L.A,{children:t.toc_content})}),(0,n.jsx)("div",{ref:d})]}),(0,n.jsx)(H,{onClick:r,className:(0,c.default)(_.bonus__expandIcon,{[_.bonus__expandIcon__expanded]:l})})]})]})})));var et=t(52970);let en=(0,E.A)((0,i.forwardRef)(e=>{var a,t,i,s,l,r,o,d;let{data:_={}}=e,m=P();return(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:m.bonus__block__title,children:(0,n.jsx)(h.A,{i18nKey:_.event_name})}),(0,n.jsx)("div",{className:m.bonus__block,children:(0,n.jsx)("div",{className:m.bonus__expandContent,children:(0,n.jsxs)("div",{className:(0,c.default)(m.bonus__block__conditions,m.bonus__block__freebet),children:[(0,n.jsxs)("div",{className:m.bonus__label,children:[(0,n.jsx)(h.A,{i18nKey:"Promotion by Games"}),":"]}),(0,n.jsx)("div",{className:m.bonus__promoByGame__value,children:null==_||null==(a=_.promotion_by_games)?void 0:a.map(e=>(0,n.jsx)(h.A,{i18nKey:e,className:m.bonus__freebet__gameName},e))}),(0,n.jsxs)("div",{className:m.bonus__amount__label,style:{color:x.A.bonus_amount_lucky},children:[(0,n.jsx)(h.A,{i18nKey:"Bonus Amount"}),":"]}),(0,n.jsx)("div",{className:m.bonus__amount__value,style:{color:x.A.bonus_amount_lucky},children:(0,et.A)(_.bonus_amount)}),(0,n.jsxs)("div",{className:m.bonus__conditionWd,style:{color:x.A.bonus_wd_lucky},children:[(0,n.jsx)(h.A,{i18nKey:"Condition to do WD"}),":"]}),(0,n.jsxs)("div",{className:m.bonus__conditionWd__value_na,style:{color:x.A.bonus_wd_lucky},children:[(null==_||null==(t=_.withdraw_condition)?void 0:t.has_deposit_condition)&&(0,n.jsx)(h.A,{i18nKey:"bonus_condition_deposit_amount_min",values:{minAmount:(0,et.A)(null==_||null==(i=_.withdraw_condition)?void 0:i.condition_deposit_amount_min)}}),(0,n.jsx)("br",{}),(null==_||null==(s=_.withdraw_condition)?void 0:s.has_to_condition)&&(0,n.jsx)(h.A,{i18nKey:"bonus_condition_to_multiplier",values:{x:(0,et.A)(null==_||null==(l=_.withdraw_condition)?void 0:l.condition_to_multiplier)}})]}),(null==_||null==(r=_.withdraw_condition)?void 0:r.has_to_condition)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:m.bonus__progress__container,children:(0,n.jsx)(Z,{percent:null==_||null==(o=_.withdraw_condition)?void 0:o.turnover_percent,color:x.A.bonus_wd_lucky})}),(0,n.jsx)("div",{className:m.bonus__condition__wd_amount,style:{color:x.A.bonus_wd_lucky},children:(0,et.A)(null==_||null==(d=_.withdraw_condition)?void 0:d.turnover_target)})]})]})})})]})})),ei=(0,E.A)((0,i.forwardRef)((e,a)=>{let{table:t,contentHeight:i,expanded:s,toggleExpanded:l}=e,{lessRef:r,moreRef:o}=a,d=P(),_=(0,O.F)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:d.bonus__block__title,children:(0,n.jsx)(h.A,{i18nKey:"Ticket List"})}),(0,n.jsxs)("div",{className:d.bonus__block,children:[(0,n.jsxs)("div",{className:d.bonus__expandContent,style:{maxHeight:i},children:[(0,n.jsx)("div",{ref:r}),(0,n.jsx)(p.A,{className:(0,c.default)(_.table_primary,d.bonus__table,d.bonus__tableTicket),table:t}),(0,n.jsx)("div",{ref:o})]}),(0,n.jsx)(H,{onClick:l,className:(0,c.default)(d.bonus__expandIcon,{[d.bonus__expandIcon__expanded]:s})})]})]})}));var es=t(67909);let el=(0,es.A)((0,E.A)((0,i.forwardRef)((e,a)=>{let{data:t={},dataGroup:s,columns:l,contentHeight:r,expanded:o,toggleExpanded:d}=e,{lessRef:_,moreRef:m}=a,u=P(),p=(0,O.F)(),b=(0,N.Y0)(),g=(0,i.useCallback)(e=>(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:u.bonus__turnover__title,children:e.title}),b.desktop?(0,n.jsx)(F.A,{className:(0,c.default)(p.table_primary,u.bonus__table,u.bonus__tableTurnover),columns:l,data:e.data}):(0,n.jsx)(es.y,{detail:e.data,className:(0,c.default)(p.table_primary,u.bonus__table,u.bonus__tableTurnover),classes:u})]},e.title),[u,p,l,b]);return(0,n.jsxs)(n.Fragment,{children:[t.event_name&&(0,n.jsx)("div",{className:u.bonus__block__title,children:(0,n.jsxs)("span",{children:[t.event_name," - ",(0,n.jsx)(h.A,{i18nKey:"AUTO JOIN"})]})}),(0,n.jsxs)("div",{className:u.bonus__block,children:[(0,n.jsxs)("div",{className:u.bonus__expandContent,style:{maxHeight:r},children:[(0,n.jsx)("div",{ref:_}),R()(s,g),!(0,K.v)(t.toc_content)&&(0,n.jsx)("div",{className:u.bonus__term,children:(0,n.jsx)(L.A,{children:t.toc_content})}),(0,n.jsx)("div",{style:{marginBottom:"1rem"},children:(0,n.jsx)(h.A,{style:x.A.input__required,i18nKey:"bonusTurnoverNote"})}),(0,n.jsx)("div",{ref:m})]}
1),(0,n.jsx)(H,{onClick:d,className:(0,c.default)(u.bonus__expandIcon,{[u.bonus__expandIcon__expanded]:o})})]})]})}))),er=(0,b.A)({BonusDeposit:J,BonusTurnover:el,BonusCashback:V,BonusCashbackWithdraw:Q,BonusLuckySpin:ea,BonusDailySpin:X,BonusManualFreebet:en,BonusTicket:ei,BonusDrop:$,InformModal:M.A})(e=>{let{renderBonusEvents:a,turnover:t,tableTurnover:i,date:s,setDate:l,searchTurnover:r}=e,o=P(),d=(0,O.F)();return(0,n.jsxs)("div",{className:o.bonus,children:[(0,n.jsx)(u.A,{src:x.A.bonus__headImg,alt:"Bonus",className:o.bonus__img}),(0,n.jsx)(h.A,{i18nKey:"SEARCH FOR YOUR TURNOVER",className:o.bonus__pageName}),(0,n.jsxs)("div",{className:o.bonus__search,children:[(0,n.jsx)(w,{value:s,onChange:l,maxDate:new Date}),(0,n.jsx)(g.A,{className:o.bonus__search__button,onClick:r,children:(0,n.jsx)(h.A,{i18nKey:"Search"})})]}),!m()(t)&&(0,n.jsx)(p.A,{className:(0,c.default)(d.table_primary,o.bonus__searchTurnoverTable),table:i}),(0,n.jsx)(B,{}),(0,n.jsx)(h.A,{i18nKey:"Bonus Tracking",className:o.bonus__pageName}),a]})});var eo=t(73892),ed=t(44173);let ec=(0,D.default)(()=>({profile__tabContent:{maxWidth:"37.7142857rem",margin:"auto",[T.Ay.desktop]:{padding:"0 1rem"},[T.Ay.mobile]:{width:"30rem"},[T.Ay.mobile_portrait]:{width:"100%"}},profile__formAccount:{[T.Ay.mobile_landscape]:{paddingTop:"1rem"}},profile__formTitle:{fontSize:"1.4285714em",textTransform:"uppercase",fontWeight:900,marginBottom:"1.5rem",[T.Ay.mobile_landscape]:{marginBottom:".5rem",fontSize:"1rem"},[T.Ay.mobile_portrait]:{marginBottom:".5rem",fontSize:"1rem"}},profile__submitBtn:{display:"flex",justifyContent:"center",alignItems:"center",margin:"1.714rem auto",gap:"2rem"},profile__actionBtn:{textTransform:"uppercase",marginTop:"1em"},profile__status:{paddingBottom:"1rem",textTransform:"uppercase",fontWeight:700,fontSize:"1.142rem"},profile__submit_ewallet:{minWidth:"calc(33% - 1.25rem) !important"}}));var e_=t(18185),em=t(43639),eu=t.n(em),ep=t(90972),eh=t(6999);let eb=(0,D.default)(()=>({buttonCopy:{textTransform:"uppercase",whiteSpace:"nowrap",padding:".2em .5em",margin:"0 0 0 .5em",lineHeight:1,minWidth:"unset",minHeight:"unset",width:"fit-content",height:"fit-content",display:"inline-block",fontSize:"1em",wordBreak:"normal"}})),ex=e=>{let{className:a}=e,t=(0,j._)(e,["className"]),i=eb();return(0,n.jsx)(Y.A,(0,k._)((0,A._)({className:(0,c.default)(i.buttonCopy,a,x.A.depositForm__copyBtn)},t),{children:(0,n.jsx)(h.A,{i18nKey:"Copy"})}))};var eg=t(19471);let eA=(0,D.default)(()=>({pendingRequest_center:(0,k._)((0,A._)({display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",gap:"1rem",padding:"1rem",borderRadius:".5714285rem"},x.A.depositForm__destBank_info),{[T.Ay.mobile]:{borderRadius:".2857142rem"}}),pendingRequest:{margin:"1rem 0 0",lineHeight:1.8,overflow:"hidden",whiteSpace:"pre-line",position:"relative"},pendingRequest__border:(0,k._)((0,A._)({margin:"1rem 0",padding:".5rem 1rem 1rem",borderRadius:".5714285rem"},x.A.depositForm__destBank_info),{[T.Ay.mobile]:{borderRadius:".2857142rem"}}),pendingRequest__img:{width:200,[T.Ay.mobile_landscape]:{width:"unset",height:"50vh"},[T.Ay.mobile_portrait]:{width:"50vw"}},pendingRequest__VA__label:{textTransform:"uppercase"},pendingRequest__download:{minHeight:"2.8rem",minWidth:"10rem",padding:"0 1em"},pendingRequest_ewallet:{display:"grid",gridTemplateColumns:"auto auto 1fr",gridGap:"0 .5em",lineHeight:1.8},pendingRequest_ewallet__addressWrap:{display:"grid",gridTemplateColumns:"1fr auto",gridGap:".25em"},pendingRequest_ewallet__address:{wordBreak:"normal",whiteSpace:"nowrap",textOverflow:"ellipsis",lineClamp:1,overflow:"hidden",height:"1.8em"},pendingRequest__label:(0,A._)({fontSize:"1.25em",lineHeight:2,color:x.A.deposit_tab_active,fontWeight:700},x.A.referral__title)})),ej=(0,ep.A)(e=>{let{pendingRequest:a,displayName:t,onCopy:s=()=>{},submitCancel:l,submitOk:r,openConfirm:o,onNextConfirm:d=()=>{},onCloseConfirm:_=()=>{}}=e,m=ec(),u=eA(),p=(0,i.useCallback)(e=>{switch(e.type){case"va":return(0,n.jsxs)("div",{className:u.pendingRequest,children:[(0,n.jsx)(h.A,{i18nKey:"pazemo_va_messages",values:{username:eu()(t)}}),(0,n.jsxs)("div",{className:u.pendingRequest__border,children:[(0,n.jsx)(eg.A,{label:(0,n.jsx)(h.A,{i18nKey:"bank_code Virtual Account",className:u.pendingRequest__VA__label,values:{bank_code:eu()(e.bank_code)}}),value:e.address,After:()=>(0,n.jsx)(ex,{onClick:()=>s(e.address)}),readOnly:!0}),(0,n.jsx)(eg.A,{label:(0,n.jsx)(h.A,{i18nKey:"Deposit Amount",className:u.pendingRequest__VA__label}),value:(0,et.A)(e.amount),readOnly:!0})]}),(null==e?void 0:e.can_member_cancel)&&(0,n.jsxs)("div",{className:m.profile__submitBtn,children:[(0,n.jsx)(Y.A,{onClick:()=>
1l(e),className:(0,c.default)(m.profile__actionBtn,x.A.btn_cancel),children:(0,n.jsx)(h.A,{i18nKey:"CANCEL"})}),(0,n.jsx)(Y.A,{onClick:()=>r(e),className:m.profile__actionBtn,children:(0,n.jsx)(h.A,{i18nKey:"OK"})})]})]});case"qris":return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:(0,c.default)(u.pendingRequest,u.pendingRequest_center),children:[(0,n.jsx)(h.A,{i18nKey:"NoteScanQRToDeposit"}),(0,n.jsx)("img",{src:e.qr_image,alt:"qr",className:u.pendingRequest__img}),(0,n.jsx)(Y.A,{className:u.pendingRequest__download,onClick:()=>(0,eh.A)(e.qr_image),children:(0,n.jsx)(h.A,{i18nKey:"Download"})})]}),(null==e?void 0:e.can_member_cancel)&&(0,n.jsxs)("div",{className:m.profile__submitBtn,children:[(0,n.jsx)(Y.A,{onClick:()=>l(e),className:(0,c.default)(m.profile__actionBtn,x.A.btn_cancel),children:(0,n.jsx)(h.A,{i18nKey:"CANCEL"})}),(0,n.jsx)(Y.A,{onClick:()=>r(e),className:m.profile__actionBtn,children:(0,n.jsx)(h.A,{i18nKey:"OK"})})]})]});case"crypto":return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(h.A,{i18nKey:e.payment_method,className:u.pendingRequest__label}),(0,n.jsxs)("div",{className:u.pendingRequest_ewallet,children:[(0,n.jsx)(h.A,{i18nKey:"Deposit Amount"}),(0,n.jsx)("div",{children:":"}),(0,n.jsxs)("div",{children:[(0,et.A)(e.amount)," IDR"]}),(0,n.jsx)(h.A,{i18nKey:"Crypto Amount"}),(0,n.jsx)("div",{children:":"}),(0,n.jsx)("div",{className:u.pendingRequest_ewallet__addressWrap,children:(0,n.jsxs)("div",{className:u.pendingRequest_ewallet__address,children:[e.crypto_amount," ",e.token]})}),(0,n.jsx)(h.A,{i18nKey:"Chain"}),(0,n.jsx)("div",{children:":"}),(0,n.jsx)("div",{className:u.pendingRequest_ewallet__addressWrap,children:(0,n.jsx)("div",{className:u.pendingRequest_ewallet__address,children:e.chain_name})}),(0,n.jsx)(h.A,{i18nKey:"Address"}),(0,n.jsx)("div",{children:":"}),(0,n.jsxs)("div",{className:u.pendingRequest_ewallet__addressWrap,children:[(0,n.jsx)("div",{className:u.pendingRequest_ewallet__address,children:e.address}),(0,n.jsx)(ex,{onClick:()=>s(e.address)})]})]}),(0,n.jsx)(h.A,{i18nKey:"cryptoFeeInfo",style:{whiteSpace:"break-spaces",display:"block",margin:"1rem 0 0"}}),(0,n.jsxs)("div",{className:(0,c.default)(u.pendingRequest,u.pendingRequest_center),children:[(0,n.jsx)("img",{src:e.qr_image,alt:"qr",className:u.pendingRequest__img}),(0,n.jsx)(Y.A,{className:u.pendingRequest__download,onClick:()=>(0,eh.A)(e.qr_image),children:(0,n.jsx)(h.A,{i18nKey:"Download"})})]}),(null==e?void 0:e.can_member_cancel)&&(0,n.jsx)("div",{className:m.profile__submitBtn,children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(Y.A,{onClick:()=>l(e),className:(0,c.default)(m.profile__actionBtn,m.profile__submit_ewallet,x.A.btn_cancel),children:(0,n.jsx)(h.A,{i18nKey:"CANCEL"})}),(0,n.jsx)(Y.A,{onClick:()=>r(e),className:(0,c.default)(m.profile__actionBtn,m.profile__submit_ewallet),children:(0,n.jsx)(h.A,{i18nKey:"OK"})})]})})]});case"coin2pay":case"ewallet":return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(h.A,{i18nKey:e.type,className:u.pendingRequest__label}),(0,n.jsxs)("div",{className:u.pendingRequest_ewallet,children:[(0,n.jsx)(h.A,{i18nKey:"Deposit Amount"}),(0,n.jsx)("div",{children:":"}),(0,n.jsx)("div",{children:(0,et.A)(e.amount)}),(0,n.jsx)(h.A,{i18nKey:"URL Payment"}),(0,n.jsx)("div",{children:":"}),(0,n.jsxs)("div",{className:u.pendingRequest_ewallet__addressWrap,children:[(0,n.jsx)("div",{className:u.pendingRequest_ewallet__address,children:e.address}),(0,n.jsx)(ex,{onClick:()=>s(e.address)})]})]}),"coin2pay"===e.type&&(0,n.jsx)(h.A,{i18nKey:"cryptoFeeInfo",style:{whiteSpace:"break-spaces",display:"block",margin:"1rem 0 0"}}),(0,n.jsxs)("div",{className:m.profile__submitBtn,children:[(null==e?void 0:e.can_member_cancel)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(Y.A,{onClick:()=>l(e),className:(0,c.default)(m.profile__actionBtn,m.profile__submit_ewallet,x.A.btn_cancel),children:(0,n.jsx)(h.A,{i18nKey:"CANCEL"})}),(0,n.jsx)(Y.A,{onClick:()=>r(e),className:(0,c.default)(m.profile__actionBtn,m.profile__submit_ewallet),children:(0,n.jsx)(h.A,{i18nKey:"OK"})})]}),(0,n.jsx)(Y.A,{onClick:()=>{"ewallet"===e.type?window.open(e.address):window.location.href=e.address}
1,className:(0,c.default)(m.profile__actionBtn,m.profile__submit_ewallet),children:(0,n.jsx)(h.A,{i18nKey:"PAYNOW"})})]})]});default:var a,i,o,d;let _;switch(null==e||null==(a=e.from_bank_account)?void 0:a.provider_type){case"e-money":case"pulsa":_=null==e?void 0:e.emoney_deposit_amount;break;default:_=null==e?void 0:e.autobank_amount}return(0,n.jsxs)("div",{className:u.pendingRequest,children:[(0,n.jsx)(h.A,{i18nKey:"pending_request_message",values:{username:null==e?void 0:e.username}}),(0,n.jsxs)("div",{className:u.pendingRequest__border,children:[(0,n.jsx)(eg.A,{label:"Destination Bank",value:null==e||null==(i=e.destination_bank_account)?void 0:i.bank_code,readOnly:!0}),(0,n.jsx)(eg.A,{label:"Account Name",value:null==e||null==(o=e.destination_bank_account)?void 0:o.account_name,readOnly:!0}),(0,n.jsx)(eg.A,{label:"Account Number",value:null==e||null==(d=e.destination_bank_account)?void 0:d.account_number,After:()=>(0,n.jsx)(ex,{onClick:()=>{var a;return s(null==e||null==(a=e.destination_bank_account)?void 0:a.account_number)}}),readOnly:!0}),(0,n.jsx)(eg.A,{label:"Deposit Amount",value:(0,et.A)(_),After:()=>(0,n.jsx)(ex,{onClick:()=>s(_)}),readOnly:!0})]}),(null==e?void 0:e.can_member_cancel)&&(0,n.jsxs)("div",{className:m.profile__submitBtn,children:[(0,n.jsx)(Y.A,{onClick:()=>l(e),className:(0,c.default)(m.profile__actionBtn,x.A.btn_cancel),children:(0,n.jsx)(h.A,{i18nKey:"CANCEL"})}),(0,n.jsx)(Y.A,{onClick:()=>r(e),className:m.profile__actionBtn,children:(0,n.jsx)(h.A,{i18nKey:"OK"})})]})]})}},[t,u,s,m,l,r]);return(0,n.jsxs)(n.Fragment,{children:[R()(a,e=>(0,n.jsx)(i.Fragment,{children:p(e)},e.id)),(0,n.jsx)(M.A,{open:o,isConfirmPopup:!0,nextAction:d,handleClose:_,title:(0,n.jsx)(h.A,{i18nKey:"Confirm"}),message:(0,n.jsx)(h.A,{i18nKey:null==o?void 0:o.msg}),nextActionLabel:(0,n.jsx)(h.A,{i18nKey:"yes"}),cancelLabel:(0,n.jsx)(h.A,{i18nKey:"no"})})]})});var ev=t(15776),ef=t(46487),ey=t(87612),eN=t.n(ey),eC=t(58156),ew=t.n(eC),ek=t(30440),eD=t(23972),eT=t(56170),eI=t.n(eT),eB=t(9207);let eM=e=>{let{className:a,onClick:t=()=>{}}=e;return(0,n.jsx)(W.A,{viewBox:"0 0 10 9",className:a,onClick:t,children:(0,n.jsx)("path",{d:"M9.99937 1.46145C9.94 0.561182 9.39632 0.0390237 8.43707 1.1912e-05H3.43771C2.50033 -0.002989 1.91603 0.561182 1.87541 1.49746V1.79756H1.56295C0.625569 1.79756 0.0412687 2.36173 0.000648934 3.29801V7.52329C-0.00531266 7.71746 0.029853 7.91077 0.104013 8.0915C0.178174 8.27223 0.289783 8.43661 0.432073 8.57467C0.574364 8.71273 0.744369 8.8216 0.93178 8.89466C1.11919 8.96773 1.3201 9.00348 1.52233 8.99973H6.60293C6.80635 9.00022 7.00779 8.96144 7.19531 8.88572C7.38282 8.80999 7.55258 8.69885 7.69451 8.5589C7.83645 8.41895 7.94765 8.25304 8.02154 8.07101C8.09542 7.88899 8.13047 7.69456 8.12461 7.49928V7.19919H8.47769C8.68111 7.19967 8.88255 7.1609 9.07007 7.08517C9.25758 7.00944 9.42734 6.89831 9.56927 6.75835C9.71121 6.6184 9.82241 6.45249 9.8963 6.27047C9.97018 6.08844 10.0052 5.89402 9.99937 5.69874V1.49746C9.99937 1.49746 9.99937 1.47346 9.99937 1.46145ZM6.54044 7.79937H1.58482C1.29423 7.77836 1.27236 7.71234 1.25049 7.49928V3.32502C1.25049 2.99792 1.35673 2.99792 1.56295 2.99792H6.53419C6.79978 2.99792 6.84665 3.03393 6.87477 3.31902V7.47227C6.87477 7.70034 6.8154 7.77836 6.54044 7.79937ZM8.4152 5.99883H8.12461V3.29801C8.12461 3.29801 8.12461 3.274 8.12461 3.262C8.06524 2.36173 7.52156 1.83957 6.56231 1.80056H3.12525V1.52447C3.12525 1.19737 3.23149 1.19737 3.43771 1.19737H8.40895C8.67454 1.19737 8.72141 1.23339 8.74953 1.51847V5.67173C8.74953 5.8998 8.69016 5.97782 8.4152 5.99883Z"})})},eS=(0,D.default)(()=>({buttonCopy2:(0,A._)({display:"grid",gridTemplateColumns:"auto 1fr",alignItems:"center",borderRadius:"".concat(2/7,"rem"),minHeight:"".concat(10/7,"rem"),padding:"0 ".concat(3/7,"rem 0 0"),gap:"".concat(3/7,"rem"),wordBreak:"normal",lineHeight:1,border:"none",textTransform:"uppercase",fontSize:".7rem",cursor:"pointer",fontWeight:700},x.A.buttonCopy2),buttonCopy2__icon:(0,A._)({borderBottomLeftRadius:"0.2857142857142857rem",borderTopLeftRadius:"0.2857142857142857rem",height:"100%",padding:"".concat(2/7,"rem"),fontSize:"1.2rem"},x.A.buttonCopy2__icon)})),eR=e=>{let{className:a=""}=e,t=(0,j._)(e,["className"]),i=eS();return(0,n.jsxs)("button",(0,k._)((0,A._)({type:"button",className:(0,
1c.default)(i.buttonCopy2,a)},t),{children:[(0,n.jsx)(eM,{className:i.buttonCopy2__icon}),(0,n.jsx)(h.A,{i18nKey:"copy"})]}))};var eL=t(43926);let eF=(0,D.default)(()=>({bankAccounts:{display:"grid",gridTemplateColumns:"1fr 1fr",padding:0,gridGap:".5rem",marginBottom:".5rem",[T.Ay.mobile_portrait]:{gridTemplateColumns:".75fr"}},bankAccount:(0,k._)((0,A._)({display:"flex",flexDirection:"column",cursor:"pointer",borderRadius:".5714285rem",overflow:"hidden"},x.A.bankAccount),{[T.Ay.mobile]:{borderRadius:".2857142rem"}}),bankAccount_active:(0,k._)((0,A._)({},x.A.bankAccount_active),{"& $bankAccount__logo":(0,A._)({},x.A.bankAccount__logo_active)}),bankAccount__logo:(0,k._)((0,A._)({padding:".5rem 1rem",display:"grid",gridAutoFlow:"column",gridGap:".5rem",justifyContent:"space-between",alignItems:"center"},eL.A.fontBold,x.A.bankAccount__logo),{[T.Ay.mobile_portrait]:{padding:".5rem"}}),bankAccount__logoImg:{filter:"drop-shadow(0 2px 2px #000)",display:"block",objectFit:"contain",height:"2.5rem",width:"auto"},bankAccount__tag:(0,k._)((0,A._)({borderRadius:".5rem",padding:".2rem .5rem"},eL.A.fontBold,x.A.bankAccount__tag),{[T.Ay.mobile_portrait]:{fontSize:".8rem"}}),bankAccount__text:{padding:".5rem 1rem",wordBreak:"break-word",[T.Ay.mobile_portrait]:{padding:".5rem"}},bankAccount__accountName:(0,A._)({marginBottom:".25rem"},eL.A.fontBold),bankAccount__accountNum:{display:"flex",alignItems:"center",gap:".5rem"},bankAccount__status_maintenance:{color:"#999"},bankAccount__status_offline:{color:"#E62632"},bankAccount__status_online:{color:"#089052"}})),ez=e=>{let{label:a,options:t=[],value:i={},onChange:s=()=>{},helperText:l,onCopy:r,Outside:o=(0,n.jsx)(n.Fragment,{})}=e,d=eF();return(0,n.jsxs)(eB.A,{label:a,helperText:l,required:!0,children:[eI()(t)&&(0,n.jsx)("div",{className:d.bankAccounts,children:R()(eN()(t,"value"),e=>{var a,t,l,o;let _=null==e?void 0:e._displayStatus;return(0,n.jsxs)("div",{onClick:()=>s(e),className:(0,c.default)(d.bankAccount,{[d.bankAccount_active]:(null==i?void 0:i.value)===(null==e?void 0:e.value)}),children:[(0,n.jsxs)("div",{className:d.bankAccount__logo,children:[!(null==e||null==(a=e.member)?void 0:a.is_crypto)&&(0,n.jsx)(ek.A,{className:d.bankAccount__logoImg,src:null==e?void 0:e.logo,auto:"height"}),(null==e||null==(t=e.member)?void 0:t.is_crypto)&&(0,n.jsxs)("div",{children:[(0,n.jsx)(h.A,{i18nKey:"Token"}),": ",null==e?void 0:e.name]}),(null==e?void 0:e.tag)&&(0,n.jsx)("div",{className:d.bankAccount__tag,children:null==e?void 0:e.tag}),_&&(0,n.jsx)("div",{className:d.bankAccount__tag,children:(0,n.jsx)(h.A,{i18nKey:_,className:(0,c.default)({[d.bankAccount__status_maintenance]:"Maintenance"===_,[d.bankAccount__status_offline]:"offline"===_,[d.bankAccount__status_online]:"online"===_})})})]}),(0,n.jsxs)("div",{className:d.bankAccount__text,children:[(0,n.jsxs)("div",{className:d.bankAccount__accountName,children:[(null==e||null==(l=e.member)?void 0:l.is_crypto)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(h.A,{i18nKey:"Chain"}),": "]}),null==e?void 0:e.accountName]}),(0,n.jsxs)("div",{className:d.bankAccount__accountNum,children:[(0,n.jsxs)("div",{children:[(null==e||null==(o=e.member)?void 0:o.is_crypto)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(h.A,{i18nKey:"Address"}),": "]}),null==e?void 0:e.accountNumber]}),r&&e.copyNumber&&(0,n.jsx)(eR,{onClick:()=>r(null==e?void 0:e.accountNumber)})]})]})]},null==e?void 0:e.value)})}),!eI()(t)&&o]})};var eE=t(72980);let eK=(0,D.default)(()=>({selectMethod:{display:"grid",gridTemplateColumns:"1fr 1fr 1fr",gridGap:".5rem",marginBottom:".5rem",[T.Ay.mobile_portrait]:{gridTemplateColumns:"1fr 1fr"}},selectMethod__item:(0,k._)((0,A._)({display:"flex",justifyContent:"center",alignItems:"center",textAlign:"center",padding:".5rem",gap:".5rem",height:"4rem",cursor:"pointer",textTransform:"uppercase",fontWeight:900,borderRadius:".5714285rem"},x.A.selectMethod__item),{[T.Ay.mobile]:{borderRadius:".2857142rem"},"& .deposit-bankIcon":{height:"1.5em",width:"1.5em",objectFit:"contain",backgroundImage:"linear-gradient(currentColor 0 0) !important"},"& .deposit-qris":{height:"2em",width:"5em",objectFit:"contain",backgroundImage:"linear-gradient(currentColor 0 0) !important"},"& .deposit-bankLogo":{height:"80%",width:"80%",objectFit:"contain",backgroundImage:"linear-gradient(currentColor 0 0) !important"}}),selectMethod__item_active:(0,A._)({},x.A.selectMethod__item_active)})),eW=e=>{let{value:a,options:t,onClick:i,className:s,classNameItem:l,renderItem:r}=e,o=eK();
1return(0,n.jsx)("div",{className:(0,c.default)(o.selectMethod,s),children:R()(t,e=>(0,n.jsx)("div",{onClick:()=>i(e),className:(0,c.default)(o.selectMethod__item,l,{[o.selectMethod__item_active]:(null==a?void 0:a.value)===(null==e?void 0:e.value)}),children:r(e)},null==e?void 0:e.value))})};var eH=t(60588);let eO=(0,D.default)(()=>({depositForm__receiveContent:{marginTop:"2em"},depositForm__errorDestinationBank:(0,A._)({marginTop:"2em",whiteSpace:"pre-line",fontWeight:900},x.A.input__required),depositForm__radioGroup:{display:"grid !important",gridTemplateColumns:"auto auto",gridGap:"1em",marginTop:"1em","& .MuiRadio-root":{padding:"0",marginRight:".7em"}},depositForm__radioLabel:{marginLeft:0,marginRight:"2rem",[T.Ay.mobile_portrait]:{marginRight:"1rem"}},depositForm__radioLabelText:{fontSize:"1em"},depositForm__bonusDetail:(0,k._)((0,A._)({margin:"0 0 1rem",padding:"1rem",borderRadius:".5714285rem"},x.A.depositForm__destBank_info),{[T.Ay.mobile]:{borderRadius:".2857142rem"}}),depositForm__bonusDetail__title:(0,A._)({textAlign:"center",fontWeight:900},x.A.depositForm__bonusDetail__title),depositForm__bonusDetail__eventName:{textAlign:"center",tapHighlightColor:"transparent",fontSize:"1.2em",fontWeight:900},depositForm__bonusDetail__details:{display:"grid",gridTemplateColumns:"auto auto",gridGap:".5rem",whiteSpace:"break-spaces",wordBreak:"keep-all"},depositForm__bonusDetail__detail_m:{gridColumn:"1/-1",marginTop:".5rem"},depositForm__bonusDetail__label_m:{fontWeight:"bold"},depositForm__bonusDetail__details_value:{display:"grid",gridTemplateColumns:"1fr auto",gridGap:".5rem"},depositForm__bonusDetail__line:{borderBottom:"1px solid ".concat(x.A.depositForm__bonusDetail__line),opacity:.3,height:1,paddingTop:".7em",minWidth:"3em"},depositForm__bonusDetail__value:{textAlign:"right"},depositForm__chooseBanks:{gridTemplateColumns:"1fr 1fr 1fr 1fr",[T.Ay.mobile_portrait]:{gridTemplateColumns:"1fr 1fr 1fr"}},depositForm__chooseBank:{height:"auto"},depositForm__bankLogo:{filter:"drop-shadow(0 2px 2px #000)",display:"block",width:"100%",height:"2.5rem",objectFit:"contain"},depositForm__qrcode:(0,A._)({textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",padding:"1rem"},x.A.depositForm__destBank_info),depositForm__img:{width:"12rem",height:"12rem",margin:"1rem 0",objectFit:"contain",[T.Ay.mobile_landscape]:{width:"40vh",height:"40vh"},[T.Ay.mobile_portrait]:{width:"40vw",height:"40vw"}},depositForm__downloadBtn:{minHeight:"2.8rem",minWidth:"10rem",padding:"0 1em"}})),eP=e=>{let{destBankOptions:a,destBankValue:t,handleChangeDestBank:l,methodValue:r,methodOptions:o,handleChangeMethod:d,fromAccountValue:_,fromAccountOptions:u,handleChangeFromAccount:p,amount:b,token:g,setToken:A,tokenOptions:j,chain:v,setChain:f,chainOptions:y,handleChangeInputFormat:C,depositNote:w,handleChangeDepositNote:k,handleBlurDepositNote:D,fieldErrors:T,disableSubmit:I,handleSubmit:B,bonusList:M,bonusSelecting:S,setBonusSelecting:L,bonusDetails:F,showFields:z,onCopy:E}=e,K=ec(),W=eO(),{t:H}=(0,s.B)(),O=(0,N.Y0)(),P=(0,i.useMemo)(()=>{if(z.upline_bank_account)if(m()(a))return(0,n.jsx)("div",{className:W.depositForm__errorDestinationBank,children:(0,n.jsx)(h.A,{i18nKey:"msgBankUnsupported"})});else{let e=ew()(t,"qrcode","");return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(ez,{label:"txDestinationBank",options:a,value:t,onChange:l,helperText:T.upline_bank_account,onCopy:E}),e&&(0,n.jsxs)("div",{className:W.depositForm__qrcode,children:[(0,n.jsx)(h.A,{i18nKey:"NoteScanQRToDeposit"}),(0,n.jsx)("img",{className:W.depositForm__img,alt:"",src:e}),(0,n.jsx)(Y.A,{className:(0,c.default)(W.depositForm__downloadBtn,x.A.depositForm__downloadBtn),onClick:()=>(0,eh.A)(e),children:(0,n.jsx)(h.A,{i18nKey:"Download"})})]})]})}},[W,a,t,l,T.upline_bank_account,z.upline_bank_account,E]),V=(0,i.useMemo)(()=>{if(null==S?void 0:S.value)return(0,n.jsxs)("div",{className:W.depositForm__bonusDetail,children:[(0,n.jsx)("div",{className:W.depositForm__bonusDetail__title,children:(0,n.jsx)(h.A,{i18nKey:"BONUS DETAILS"})}),(0,n.jsx)("div",{className:W.depositForm__bonusDetail__eventName,children:S.event_name}),(0,n.jsx)("div",{className:W.depositForm__bonusDetail__details,children:R()(F,e=>O.mobile&&("Acceptable Banks"===e.label||"Available Games"===e.label)?(0,n.jsxs)("div",{className:W.depositForm__bonusDetail__detail_m,children:[(0,n.jsxs)("div",{className:W.depositForm__bonusDetail__label_m,children:[(0,n.jsx)(h.A,{i18nKey:e.label}),":"]}),(0,n.jsx)("div",{children:e.value})]},e.label):(0,n.jsxs)(i.Fragment,{children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(h.A,{i18nKey:e.label}),":"]}),(0,n.jsxs)("div",{className:W.depositForm__bonusDetail__details_value,children:[(0,n.jsx)("div",{className:W.depositForm__bonusDetail__line}),(0,n.jsx)("div",{className:W.depositForm__bonusDetail__value,children:e.value})]})]},e.label))})]})},[W,S,F,O]);return(0,n.jsxs)("form",{onSubmit:B,noValidate:!0,children:[(0,n.jsx)(eB.A,{label:"Payment Method",required:!0,children:(0,n.jsx)(eW,{value:r,options:o,onClick:d,renderItem:e=>null==e?void 0:e.label})}
1),(0,n.jsx)(eB.A,{label:"Choose Bank",helperText:(0,eD.T)(T.bank_account,{values:T}),children:(0,n.jsx)(eW,{value:_,options:eN()(u,"value"),onClick:p,className:W.depositForm__chooseBanks,classNameItem:W.depositForm__chooseBank,renderItem:e=>(0,n.jsx)(ek.A,{className:W.depositForm__bankLogo,src:null==e?void 0:e.logo,auto:"height"})})}),(0,n.jsx)(eB.A,{label:"Bonus",helperText:T.free_bet_event_id,children:(0,n.jsx)(ef.A,{value:null==S?void 0:S.value,classes:{root:W.depositForm__radioGroup},children:R()(M,e=>(0,n.jsx)(ev.A,{value:null==e?void 0:e.value,label:null==e?void 0:e.label,control:(0,n.jsx)(eH.A,{onClick:()=>L(e)}),classes:{root:W.depositForm__radioLabel,label:W.depositForm__radioLabelText}},null==e?void 0:e.value))},null==S?void 0:S.value)}),V,z.member_bank_account&&(0,n.jsx)(ez,{label:"From Account",value:_,options:[_]}),(0,n.jsx)(eg.A,{label:H(r.value===e_.e.crypto?"Deposit Amount (IDR)":"txAmount"),required:!0,placeholder:H("txDepositAmountPlaceholder"),value:(0,et.A)(b),helperText:(0,eD.T)(T.amount),onChange:C,inputProps:{inputMode:"decimal",pattern:"[0-9]*"}}),z.token&&(0,n.jsx)(eE.A,{required:!0,label:"Token",options:j,value:g,onChange:A,helperText:(0,eD.T)(T.token)}),z.chain&&(0,n.jsx)(eE.A,{required:!0,label:"Chain",options:y,value:v,onChange:f,helperText:(0,eD.T)(T.chain)}),z.note&&(0,n.jsx)(eg.A,{label:H(r.value===e_.e.Bank?"DepositNoteBank":"DepositNoteEMoney"),id:"note",placeholder:H(r.value===e_.e.Bank?"DepositNoteBankPlaceholder":"DepositNoteEMoneyPlaceholder"),value:w,helperText:(0,eD.T)(T.note),onChange:k,maxLength:24,onBlur:D}),P,(0,n.jsx)("div",{className:K.profile__submitBtn,children:(0,n.jsx)(Y.A,{type:"submit",name:"submit",className:K.profile__actionBtn,disable:I,children:H("Submit")})})]})},eV=(0,e_.A)({InformModal:M.A})(e=>{let{note:a,renderPendingRequest:t,renderForm:i}=e,s=(0,j._)(e,["note","renderPendingRequest","renderForm"]),l=eO();return(0,n.jsxs)(n.Fragment,{children:[t&&(0,n.jsx)(ej,(0,A._)({},s)),i&&(0,n.jsx)(eP,(0,A._)({},s)),(0,n.jsx)("div",{className:l.depositForm__receiveContent,children:(0,n.jsx)(L.A,{children:a.content})})]})});var eq=t(33372),eU=t(18272);let eY=(0,D.default)(()=>({neweMoney__tick:{margin:"0 0 1rem"}})),eG=(0,eq.A)(e=>{let{disableSubmit:a,handleSubmit:t,showFields:i,showCrypto:s}=e,l=ec(),r=eY();return(0,n.jsxs)("form",{onSubmit:t,noValidate:!0,children:[s&&(0,n.jsx)(eU.A,(0,k._)((0,A._)({},s),{className:r.neweMoney__tick})),i.map(e=>"select"===e.type?(0,n.jsx)(eE.A,(0,A._)({},e),e.id):(0,n.jsx)(eg.A,(0,A._)({},e),e.id)),(0,n.jsx)("div",{className:l.profile__submitBtn,children:(0,n.jsx)(Y.A,{type:"submit",name:"submit",className:l.profile__actionBtn,disable:a,children:(0,n.jsx)(h.A,{i18nKey:"Add"})})})]})}),eZ=()=>{let e=ec();return(0,n.jsxs)("div",{className:e.profile__tabContent,children:[(0,n.jsx)(N.X8,{children:(0,n.jsx)(eo.A,{text:"Deposit"})}),(0,n.jsxs)(ed.A,{type:"deposit",children:[(0,n.jsx)("div",{"data-link":["/profile/deposit"],"data-label":(0,n.jsx)(h.A,{i18nKey:"Deposit"}),children:(0,n.jsx)(eV,{})}),(0,n.jsx)("div",{"data-link":["/profile/new-payment-account"],"data-label":(0,n.jsx)(h.A,{i18nKey:"New Payment Account"}),children:(0,n.jsx)(eG,{})})]})]})};var eQ=t(32518),eX=t(32885),eJ=t(35688);let e$=e=>(0,n.jsx)(W.A,(0,k._)((0,A._)({width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:(0,n.jsx)("path",{d:"M14.9925 5.15789C14.9925 4.62737 14.715 4.16316 14.2875 3.90526L7.5 0L0.7125 3.90526C0.285 4.16316 0 4.62737 0 5.15789V12.5263C0 13.3368 0.675 14 1.5 14H13.5C14.325 14 15 13.3368 15 12.5263L14.9925 5.15789ZM7.5 8.8421L1.305 5.04L7.5 1.47368L13.695 5.04L7.5 8.8421Z"})})),e0=e=>(0,n.jsx)(W.A,(0,k._)((0,A._)({width:"14",height:"12",viewBox:"0 0 14 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:(0,n.jsx)("path",{d:"M5.83333 3.00131V0.450142C5.83333 0.269545 5.72775 0.106347 5.56617 0.0355475C5.40517 -0.0346516 5.21675 0.000747862 5.09133 0.127346L0.133 5.07729C0.0478333 5.16188 0 5.27828 0 5.40008C0 5.52188 0.0478333 5.63828 0.133 5.72288L5.09133 10.6728C5.21792 10.7988 5.40575 10.8342 5.56617 10.7646C5.72775 10.6938 5.83333 10.5306 5.83333 10.35V7.80005H6.6605C9.36483 7.80005 11.858 9.31203 13.1664 11.7432L13.1787 11.766C13.2568 11.9124 13.405 12 13.5625 12C13.5987 12 13.6348 11.9958 13.671 11.9862C13.8647 11.9352 14 11.7558 14 11.55C14 6.88566 10.3501 3.08171 5.83333 3.00131Z"})})),e1=e=>(0,n.jsx)(W.A,(0,k._)((0,A._)({width:"15",height:"10",viewBox:"0 0 15 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:(0,n.jsx)("path",{d:"M13.5 0H1.5C0.675 0 0.00749999 0.5625 0.00749999 1.25L0 8.75C0 9.4375 0.675 10 1.5 10H13.5C14.325 10 15 9.4375 15 8.75V1.25C15 0.5625 14.325 0 13.5 0ZM13.5 2.5L7.5 5.625L1.5 2.5V1.25L7.5 4.375L13.5 1.25V2.5Z"})}));
1var e5=t(48501),e2=t(95580),e4=t(13222),e8=t.n(e4),e7=t(29369),e3=t(73900),e9=t.n(e3),e6=t(73546),ae=t(67030),aa=t(90430);let at=(0,D.default)(()=>({inputImage__list:{display:"flex",gap:".5rem",flexWrap:"wrap",[T.Ay.mobile_portrait]:{justifyContent:"center"}},inputImage__item:(0,k._)((0,A._)({position:"relative",width:"calc(20% - (2rem / 5))",minHeight:60,aspectRatio:"16/9",borderRadius:".2rem",overflow:"hidden"},x.A.inputImage__upload),{[T.Ay.mobile_portrait]:{width:"calc((100% / 3) - .5rem)"}}),inputImage__close:{position:"absolute",top:0,right:0,width:"1.75rem",height:"1.75rem",cursor:"pointer",filter:"drop-shadow(0 0 .5rem #000)",[T.Ay.mobile_landscape]:{width:"1.2rem",height:"1.2rem"}},inputImage__upload:{width:"100%",height:"100%",cursor:"pointer",display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",gap:".3rem",borderRadius:2,overflow:"hidden",fontSize:".75rem",fontWeight:700,[T.Ay.mobile_landscape]:{fontSize:".6rem"}},inputImage__uploadIcon:(0,k._)((0,A._)({width:"2rem",height:"2rem"},x.A.inputImage__uploadIcon),{[T.Ay.mobile_landscape]:{width:"1rem",he
1ight:"1rem"}}),inputImage__uploadImage:{width:"100%",height:"100%",objectFit:"contain",cursor:"zoom-in"},inputImage__hint:{display:"block",marginBottom:".5em"},inputImage__uploading:{display:"flex",justifyContent:"center",alignItems:"center",position:"absolute",top:0,left:0,width:"100%",height:"100%",background:"#000C",color:"#FFFA",textTransform:"capitalize",cursor:"wait"},inputImage__imgInPopup:{display:"block",width:"100%",minHeight:"10rem"}})),an=(0,aa.A)(e=>{let{className:a="",label:t="",required:s=!1,helperText:l="",helperLink:r,onChangeImage:o,hint:d,imgs:c,removeImage:_,maxNumber:m=1,popupImage:u,setPopupImage:p,viewOnly:b=!1}=e,x=at(),g=(0,i.useCallback)(e=>{let{dragProps:a}=e;return(0,n.jsx)("div",(0,k._)((0,A._)({className:x.inputImage__upload},a),{children:(null==c?void 0:c.length)===0?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("svg",{viewBox:"0 0 14 14",className:x.inputImage__uploadIcon,children:(0,n.jsx)("path",{d:"M7 0C3.13359 0 0 3.13359 0 7C0 10.8664 3.13359 14 7 14C10.8664 14 14 10.8664 14 7C14 3.13359 10.8664 0 7 0ZM9.625 7.65625H7.65625V9.625C7.65625 9.98594 7.36094 10.2812 7.02461 10.2812C6.63906 10.2812 6.34375 9.98594 6.34375 9.625V7.65625H4.375C4.01406 7.65625 3.71875 7.36094 3.71875 7C3.71875 6.63906 4.01406 6.34375 4.375 6.34375H6.34375V4.375C6.34375 4.01406 6.63906 3.71875 7 3.71875C7.36094 3.71875 7.65625 4.01406 7.65625 4.375V6.34375H9.625C9.98594 6.34375 10.2812 6.63906 10.2812 7C10.2812 7.36094 9.98594 7.65625 9.625 7.65625Z"})}),(0,n.jsx)("div",{className:x.inputImage__uploadImage__text,children:(0,n.jsx)(h.A,{i18nKey:"UPLOAD PHOTO"})})]}):"".concat(null==c?void 0:c.length,"/").concat(m)}))},[x,null==c?void 0:c.length,m]);return(0,n.jsxs)(eB.A,{className:a,label:t,required:s,helperText:l,helperLink:r,children:[d&&(0,n.jsx)("small",{className:x.inputImage__hint,children:d}),(0,n.jsxs)("div",{className:x.inputImage__list,children:[R()(c,e=>(0,n.jsxs)("div",{className:x.inputImage__item,children:[(0,n.jsx)(ae.A,{className:x.inputImage__uploadImage,src:(null==e?void 0:e.url)||(null==e?void 0:e.urlBlob),onClick:()=>p(e)}),(null==e?void 0:e.status)!=="done"&&(0,n.jsx)(h.A,{i18nKey:null==e?void 0:e.status,className:x.inputImage__uploading}),!b&&(0,n.jsx)(e6.default,{alt:"close",onClick:()=>_(e),className:x.inputImage__close})]},(null==e?void 0:e.url)||(null==e?void 0:e.urlBlob))),(null==c?void 0:c.length)<m&&!b&&(0,n.jsx)("label",{className:x.inputImage__item,children:(0,n.jsx)(e9(),{multiple:m>1,maxNumber:m,onChange:o,children:g})})]}),(0,n.jsx)(e5.A,{open:!!u,closeBtnFunc:()=>p(null),handleCloseModal:()=>p(null),children:(0,n.jsx)(ae.A,{lazy:!1,src:(null==u?void 0:u.url)||(null==u?void 0:u.urlBlob),className:x.inputImage__imgInPopup})})]})}),ai=(0,D.default)(()=>({compose__container:{textAlign:"left",[T.Ay.mobile_landscape]:{fontSize:".857142rem"}},compose__listBtn:{display:"flex",alignItems:"center",justifyContent:"space-evenly",marginTop:"1em"},replyMail__message:(0,k._)((0,A._)({borderRadius:".5714285rem",padding:".3rem .75rem",margin:".5rem 0 1rem",minHeight:"3em"},x.A.input),{[T.Ay.mobile]:{padding:".3rem .5rem",borderRadius:".2857142rem"}})}));var as=t(45708),al=t.n(as),ar=t(91574),ao=t.n(ar),ad=t(62588);let ac=(0,D.default)(()=>({textEditor__wrap:{fontSize:"1rem !important",[T.Ay.mobile_landscape]:{fontSize:"inherit !important"}},textEditor:{borderRadius:".5714285rem",[T.Ay.mobile]:{borderRadius:".2857142rem"},"&.quill":{margin:0,"& *":{fontSize:"inherit !important"},"& .ql-container":{fontSize:"inherit",height:200,[T.Ay.mobile_landscape]:{height:150},[T.Ay.mobile_portrait]:{height:"10em"},"& .ql-editor":{width:"100%",padding:0}}},"& .ql-toolbar.ql-snow, .ql-container, .ql-container.ql-snow":{fontFamily:"inherit",border:"none",padding:".5em",display:"flex",alignItems:"center",flexWrap:"wrap"},"& .ql-toolbar.ql-snow":{borderRadius:".5714285rem .5714285rem 0 0",[T.Ay.mobile]:{borderRadius:".2857142rem .2857142rem 0 0"},[T.Ay.mobile_portrait]:{fontSize:"0.7em !important"}},"& .ql-container.ql-snow":{borderRadius:"0 0 .5714285rem .5714285rem",[T.Ay.mobile]:{borderRadius:"0 0 .2857142rem .2857142rem"}},"& .ql-toolbar.ql-snow .ql-formats":{marginRight:".5em"},"& .ql-snow .ql-picker.ql-header":{width:"7em"},"& .ql-snow.ql-toolbar button, .ql-snow .ql-toolbar button":{width:"1.5em",height:"1.5em",padding:".1em",boxSizing:"border-box"},"& .ql-snow .ql-tooltip:not(.ql-hidden)":{left:"0 !important",right:"0 !important",display:"flex"},"& .ql-snow .ql-tooltip.ql-editing input[type=text]":{width:"100%"},"& .ql-snow .ql-fill, .ql-snow .ql-stroke.ql-fill, .ql-snow .ql-stroke":{fill:x.A.ql_toolbar_txt},"& .ql-snow .ql-toolbar.snow, .ql-snow .ql-stroke":{fill:"none",stroke:x.A.ql_toolbar_txt},"& .ql-toolbar.ql-snow .ql-picker-label":{color:x.A.ql_toolbar_txt},"& .ql-toolbar":(0,A._)({},x.A.ql_toolbar),"& .ql-container":(0,A._)({},x.A.input)},textEditor__error:(0,A._)({},x.A.input_error),textEditor__helperText:(0,A._)({textAlign:"left"},x.A.input__required)})),a_=ao().import("formats/link"),am=a_.sanitize;a_.sanitize=function(e){return am.call(this,(0,ad.D)(e))};let au={toolbar:[[{header:[1,2,!1]}],["bold","italic","underline","strike","blockquote"],[{list:"ordered"},{list:"bullet"},{indent:"-1"},{indent:"+1"}],["link"]],clipboard:{matchers:[[Node.TEXT_NODE,function(e,a){if("string"!=typeof e.data)return;let t=e.data.match(/https?:\/\/[^\s]+/g);if(t&&t.length>0){let n=[],i=e.data;t.forEach(function(e){let a=i.split(e);
1if(null!==e.match(/\.(png|jpg|jpeg|gif)$/)){let t=a.shift();n.push({insert:t}),n.push({insert:{image:e},attributes:{link:e}}),i=a.join(e)}else{let t=a.shift();n.push({insert:t}),n.push({insert:e,attributes:{link:e}}),i=a.join(e)}}),n.push({insert:i}),a.ops=n}return a}]]}},ap=["header","bold","italic","underline","strike","blockquote","list","bullet","indent","link"],ah=e=>{let{onChange:a,helperText:t}=e,i=(0,j._)(e,["onChange","helperText"]),s=ac();return(0,n.jsxs)("div",{className:s.textEditor__wrap,children:[(0,n.jsx)(al(),(0,A._)({theme:"snow",preserveWhitespace:!0,onChange:(e,t,n,i)=>{a(e,t,n,i)},modules:au,formats:ap,id:"editor",className:(0,c.default)(s.textEditor,{[s.textEditor__error]:t})},i)),t&&(0,n.jsx)("div",{className:s.textEditor__helperText,children:(0,eD.T)(t)})]})},ab=(0,e7.A)(e=>{let{mail:a={},handleCloseModal:t=()=>{},submitForm:i,handleChangeContent:l,handleChangeImage:r,userInput:o,fieldErrors:d,setFieldErrors:c=()=>{},disableSubmit:_}=e,m=ai(),{t:u}=(0,s.B)();return(0,n.jsx)("div",{className:m.compose__container,children:(0,n.jsxs)("form",{onSubmit:i,children:[(0,n.jsx)(eg.A,{value:a.subject,name:"subject",placeholder:u("Subject"),className:m.input,label:"Subject",helperText:d.subject,required:!0,readOnly:!0}),(0,n.jsx)("div",{children:u("Message")}),(0,n.jsx)("div",{className:m.replyMail__message+" wyiswyg",dangerouslySetInnerHTML:{__html:e8()(a.content).replace("“ql-editor”",'"ql-editor"')}}),(0,n.jsx)(an,{name:"image_urls",setFieldErrors:c,label:(0,n.jsx)(h.A,{i18nKey:"Upload images"}),helperText:null==d?void 0:d.image_urls,maxNumber:5,maxSize:1,apiUpload:"memo/upload/image",onChange:r,hint:(0,n.jsx)(h.A,{i18nKey:"Upload memo hint"})}),(0,n.jsx)(ah,{value:o.reply.getHTML&&o.reply.getHTML()||"",onChange:l,helperText:d.reply}),(0,n.jsxs)("div",{className:m.compose__listBtn,children:[(0,n.jsx)(Y.A,{type:"button",className:x.A.btn_cancel,onClick:t,children:u("CANCEL")}),(0,n.jsx)(Y.A,{type:"submit",name:"button",className:x.A.btn_send,disabled:_,children:u("REPLY")})]})]})})}),ax=(0,D.default)(()=>({memoInbox__listAction:{display:"flex",alignItems:"center"},memoInbox__iconWrapper:(0,k._)((0,A._)({padding:".5rem",width:"3rem",height:"2.5rem",cursor:"pointer"},x.A.memoInbox__icon),{borderRadius:".5714285rem","&:not(:first-child)":{marginLeft:"1rem"},[T.Ay.mobile]:{borderRadius:".2857142rem",width:"2rem",height:"1.8rem",padding:".4rem","&:not(:first-child)":{marginLeft:".5rem"}}}),memoInbox__icon:{height:"100%",width:"100%",objectFit:"contain"},memoInbox__icon_unread:(0,A._)({},x.A.memoInbox__icon_unread),memoInbox__icon_read:(0,A._)({},x.A.memoInbox__icon_read),memoInbox__icon_reply:(0,A._)({},x.A.memoInbox__icon_reply),memoInbox__icon_delete:(0,A._)({},x.A.memoInbox__icon_delete),memoInbox__table:{margin:"2rem 0 1rem",[T.Ay.mobile]:{margin:"1rem 0 0"},[T.Ay.mobile_portrait]:{fontSize:".785714rem"},"& th, td":{"&:nth-child(1)":{wordBreak:"normal"},"&:nth-child(2)":{minWidth:"7em"},"&:nth-child(4)":{width:"6em",[T.Ay.mobile_landscape]:{width:"5em"},[T.Ay.mobile_portrait]:{width:"7em"}}}},memoInbox__replyMailModal:{width:"700px !important",[T.Ay.mobile_landscape]:{width:"84% !important",fontSize:14},[T.Ay.mobile_portrait]:{width:"100% !important",fontSize:"3.5vw"}},memoInbox__unread:{},memoInbox__pagination:{gridColumn:"1 / span 2"},memoInbox__iconCompose:{marginRight:".75em",width:"1.5em"},memoInbox__hour:(0,A._)({},x.A.transHis__hour)})),ag=(0,eJ.A)(e=>{let{setAlert:a=()=>{},page:t,openReplyModal:l,handleCloseReplyModal:r,selectedInbox:o,handleOpenReplyModal:d,handleChangePage:_,memo:m}=e,u=(0,O.F)(),h=ax(),{t:b}=(0,s.B)(),x=(0,i.useCallback)(e=>(0,n.jsxs)("div",{className:h.memoInbox__listAction,children:[e.is_unread?(0,n.jsx)("div",{className:h.memoInbox__iconWrapper,children:(0,n.jsx)(e1,{className:(0,c.default)(h.memoInbox__icon,h.memoInbox__icon_unread)})}):(0,n.jsx)("div",{className:h.memoInbox__iconWrapper,children:(0,n.jsx)(e$,{className:(0,c.default)(h.memoInbox__icon,h.memoInbox__icon_read)})}),(0,n.jsx)("div",{className:h.memoInbox__iconWrapper,children:(0,n.jsx)(e0,{className:(0,c.default)(h.memoInbox__icon,h.memoInbox__icon_reply)})})]}),[h]),g=(0,i.useCallback)(e=>{let a=y()(e,"DD MMM YYYY HH:mm:ss");return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{children:a.format("DD MMM YYYY")}),(0,n.jsx)("div",{className:h.memoInbox__hour,children:a.format("HH:mm:ss")})]})},[h]),A=(0,i.useMemo)(()=>[{Header:b("NOPoint"),accessor:"no",style:{width:"15%"},Cell:e=>(t-1)*10+e.row.index+1},{Header:b("Date"),accessor:"sent_date",Cell:e=>g(e.value)},{Header:b("Subject"),accessor:"subject"},{Header:b("Action"),accessor:"action",style:{width:"20%"},Cell:e=>x(e.row.original)}],[b,x,t,g]),j=(0,i.useCallback)(e=>e.original.is_unread?{className:h.memoInbox__unread}:{},[h]),v=(0,eX.useTable)({columns:A,data:m.list||[]});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(e5.A,{open:l,className:h.memoInbox__replyMailModal,children:(0,n.jsx)(ab,{handleCloseModal:r,mail:o,setAlert:a})}
1),(0,n.jsx)(p.A,{className:(0,c.default)(u.table_primary,h.memoInbox__table),table:v,onRowClick:d,setRowProps:j}),(0,n.jsx)(e2.A,{className:h.memoInbox__pagination,page:t,count:Math.ceil(m.total_size/10),handleChangePage:_})]})});var aA=t(1764);let aj=e=>(0,n.jsx)(W.A,(0,k._)((0,A._)({viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:(0,n.jsx)("path",{d:"M7 5L9.57143 2.42857C10.1429 1.85714 10.1429 1 9.57143 0.428571C9 -0.142857 8.14286 -0.142857 7.57143 0.428571L5 3L2.42857 0.428571C1.85714 -0.142857 1 -0.142857 0.428571 0.428571C-0.142857 1 -0.142857 1.85714 0.428571 2.42857L3 5L0.428571 7.57143C-0.142857 8.14286 -0.142857 9 0.428571 9.57143C0.714286 9.85714 1.07143 10 1.42857 10C1.78571 10 2.14286 9.85714 2.42857 9.57143L5 7L7.57143 9.57143C7.85714 9.85714 8.21429 10 8.57143 10C8.92857 10 9.28571 9.85714 9.57143 9.57143C10.1429 9 10.1429 8.14286 9.57143 7.57143L7 5Z",fill:"#DD0707"})})),av=e=>{let{mail:a={},handleCloseModal:t=()=>{}}=e,i=ai(),{t:l}=(0,s.B)();return(0,n.jsx)("div",{className:i.compose__container,children:(0,n.jsxs)("form",{children:[(0,n.jsx)(eg.A,{value:a.subject,name:"subject",type:"text",className:i.input,label:"Subject",disabled:!0,readOnly:!0}),(0,n.jsx)("div",{children:l("Message")}),(0,n.jsx)("div",{className:i.replyMail__message,children:(0,n.jsx)(L.A,{children:a.content_html})}),(0,n.jsx)(an,{value:null==a?void 0:a.image_urls,viewOnly:!0}),(0,n.jsx)("div",{className:i.compose__listBtn,children:(0,n.jsx)(Y.A,{type:"button",onClick:t,children:l("Close")})})]})})},af=(0,aA.A)(e=>{let{openDeleteModal:a,onCloseDeleteModal:t,openReadModal:l,handleCloseReadModal:r,selectedInbox:o,listSent:d,page:_,handleChangePage:m,deleteMemo:u,handleOpenReadModal:h,onOpenDeleteModal:b,setCellProps:x}=e,g=(0,O.F)(),A=ax(),{t:j}=(0,s.B)(),v=(0,i.useCallback)(e=>(0,n.jsxs)("div",{className:A.memoInbox__listAction,children:[(0,n.jsx)("div",{className:A.memoInbox__iconWrapper,onClick:()=>h(e),children:(0,n.jsx)(e$,{className:(0,c.default)(A.memoInbox__icon,A.memoInbox__icon_read)})}),(0,n.jsx)("div",{onClick:()=>b(e),className:A.memoInbox__iconWrapper,children:(0,n.jsx)(aj,{className:(0,c.default)(A.memoInbox__icon,A.memoInbox__icon_delete)})})]}),[A,h,b]),f=(0,i.useCallback)(e=>{let a=y()(e,"DD MMM YYYY HH:mm:ss");return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{children:a.format("DD MMM YYYY")}),(0,n.jsx)("div",{className:A.memoInbox__hour,children:a.format("HH:mm:ss")})]})},[A]),N=(0,i.useMemo)(()=>[{Header:j("NOPoint"),style:{width:"15%"},Cell:e=>(_-1)*10+e.row.index+1},{Header:j("Date"),accessor:"date",Cell:e=>f(e.value)},{Header:j("Subject"),accessor:"subject"},{Header:j("Action"),accessor:"actions",style:{width:"20%"},Cell:e=>v(e.row.original)}],[j,v,_,f]),C=(0,eX.useTable)({columns:N,data:d.list||[]});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(M.A,{open:a,handleClose:t,isConfirmPopup:!0,nextAction:u,title:j("Confirm"),message:j("deleteMemoConfirmMessage")}),(0,n.jsx)(e5.A,{open:l,handleCloseModal:r,className:A.memoInbox__replyMailModal,children:(0,n.jsx)(av,{handleCloseModal:r,mail:o})}),(0,n.jsx)(p.A,{className:(0,c.default)(g.table_primary,A.memoInbox__table),table:C,setCellProps:x}),(0,n.jsx)(e2.A,{className:A.memoInbox__pagination,page:_,count:Math.ceil(d.total_size/10),handleChangePage:m})]})});var ay=t(20125);let aN=e=>(0,n.jsxs)(W.A,(0,k._)((0,A._)({viewBox:"0 0 18 17"},e),{children:[(0,n.jsx)("path",{d:"M4.63672 9.20389L8.15829 12.7243L15.5621 5.31989L12.0421 1.79929L4.63672 9.20389ZM12.8771 4.4847C13.1216 4.72982 13.1216 5.12682 12.8771 5.37155L8.58948 9.658C8.46731 9.78095 8.30688 9.84174 8.14703 9.84174C7.98562 9.84174 7.82558 9.78095 7.70341 9.658C7.45848 9.41288 7.45848 9.01607 7.70341 8.77134L11.9904 4.4847C12.235 4.23978 12.6322 4.23978 12.8771 4.4847Z",fill:"#FAB400"}),(0,n.jsx)("path",{d:"M3.02539 14.2854L6.93775 13.2783L4.07248 10.4131L3.02539 14.2854Z",fill:"#FAB400"}),(0,n.jsx)("path",{d:"M16.991 2.04026L15.322 0.370662C14.8271 -0.123845 13.964 -0.123263 13.471 0.370662L12.9287 0.913145L16.4499 4.43336L16.991 3.89184C17.5005 3.38102 17.5005 2.5503 16.991 2.04026Z",fill:"#FAB400"}),(0,n.jsx)("path",{d:"M15.43 17H0.644453C0.28843 17 0 16.7114 0 16.3553V0.676573C0 0.32055 0.288236 0.0321198 0.644453 0.0321198H10.5721C10.9285 0.0321198 11.2164 0.32055 11.2164 0.676573C11.2164 1.0324 10.9285 1.32103 10.5721 1.32103H1.28891V15.7107H15.43C15.9334 15.7107 16.343 15.3013 16.343 14.7976V6.71244C16.343 6.35642 16.6313 6.06799 16.9873 6.06799C17.3431 6.06799 17.6317 6.35642 17.6317 6.71244V14.7976C17.6319 16.0119 16.6441 17 15.43 17Z",fill:"#FAB400"})]})),aC=(0,t(28046).A)(e=>{let{handleCloseModal:a=()=>{}
1,submitForm:t,userInput:i,handleInputChange:l,handleChangeImage:r,handleChangeContent:o,fieldErrors:d,setFieldErrors:c=()=>{},disableSubmit:_}=e,m=ai(),{t:u}=(0,s.B)();return(0,n.jsx)("div",{className:m.compose__container,children:(0,n.jsxs)("form",{onSubmit:t,noValidate:!0,children:[(0,n.jsx)(eg.A,{value:i.to,name:"to",className:m.input,onChange:l,label:"MailTo",helperText:d.no,disabled:!0}),(0,n.jsx)(eg.A,{value:i.subject,name:"subject",placeholder:u("Subject"),className:m.input,onChange:l,maxLength:50,label:"Subject",helperText:d.subject,required:!0}),(0,n.jsx)(an,{name:"image_urls",setFieldErrors:c,label:(0,n.jsx)(h.A,{i18nKey:"Upload images"}),helperText:null==d?void 0:d.image_urls,maxNumber:5,maxSize:1,apiUpload:"memo/upload/image",onChange:r,hint:(0,n.jsx)(h.A,{i18nKey:"Upload memo hint"})}),(0,n.jsx)("div",{className:m.composeContentRow,children:(0,n.jsx)(ah,{value:i.content.getHTML&&i.content.getHTML()||"",onChange:o,helperText:d.content})}),(0,n.jsxs)("div",{className:m.compose__listBtn,children:[(0,n.jsx)(Y.A,{type:"button",className:x.A.btn_cancel,onClick:a,children:(0,n.jsx)(h.A,{i18nKey:"CANCEL"})}),(0,n.jsx)(Y.A,{type:"submit",name:"button",className:x.A.btn_send,disabled:_,children:(0,n.jsx)(h.A,{i18nKey:"SEND"})})]})]})})}),aw=(0,D.default)(()=>({memoSidebar:{display:"grid",[T.Ay.desktop]:{gridTemplateColumns:"1fr auto 1fr",padding:"0 1rem"},[T.Ay.mobile_landscape]:{gridTemplateColumns:"auto auto"},[T.Ay.mobile_portrait]:{gridTemplateColumns:"1fr",gridGap:"1rem"}},memoSidebar__unread:(0,A._)({minWidth:"1.5rem",height:"1.5rem",borderRadius:".75rem",fontSize:"1rem",display:"flex",justifyContent:"center",alignItems:"center",margin:"0 0 0 1rem",padding:"0 .3rem",fontWeight:900},x.A.memoSidebar__unread),memoSidebar__compose:(0,k._)((0,A._)({justifySelf:"end",display:"grid",gridTemplateColumns:"auto auto",gridGap:".5rem",justifyContent:"center",alignItems:"center",fontWeight:900,textTransform:"uppercase",cursor:"pointer"},x.A.memoSidebar__compose),{[T.Ay.desktop]:{fontSize:"1.428571rem",gridColumn:"3 / 4"},[T.Ay.mobile_portrait]:{justifySelf:"center",gridRow:"1 / 2"}}),memoSidebar__tabs:(0,k._)((0,A._)({display:"flex",textTransform:"uppercase",textAlign:"center",fontSize:"1.142857rem",borderRadius:".5714285rem",overflow:"hidden",margin:0},x.A.deposit__tabs),{[T.Ay.desktop]:{width:"37.7142857rem",gridColumn:"2 / 3"},[T.Ay.mobile]:{fontSize:".857142rem",borderRadius:".2857142rem"}}),memoSidebar__tab:{display:"flex",justifyContent:"center",alignItems:"center",flex:1,padding:".5rem",cursor:"pointer"},memoSidebar__tab_active:(0,A._)({fontWeight:900},x.A.deposit__tab_active)})),ak=[{id:1,label:(0,n.jsx)(h.A,{i18nKey:"Inbox"}),key:"Inbox"},{id:2,label:(0,n.jsx)(h.A,{i18nKey:"Sent"}),key:"Sent"}],aD=e=>{let{onSetCurrentTab:a=()=>{},setAlert:t=()=>{},onRefresh:s=()=>{},currentTab:l,openCompose:r,openComposeModal:o,handleCloseModal:d}=e,_=aw(),m=(0,ay.d)(e=>e.memoUnread),u=(0,i.useMemo)(()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{onClick:r,className:_.memoSidebar__compose,children:[(0,n.jsx)(aN,{className:_.memoSidebar__compose_ic}
1),(0,n.jsx)(h.A,{i18nKey:"Compose"})]}),(0,n.jsx)(e5.A,{open:o,headTxt:(0,n.jsx)(h.A,{i18nKey:"NewMessage"}),children:(0,n.jsx)(aC,{handleCloseModal:d,setAlert:t,onRefresh:s})})]}),[o,d,t,_]),p=(0,i.useMemo)(()=>(0,n.jsx)("div",{className:_.memoSidebar__tabs,children:R()(ak,e=>(0,n.jsxs)("div",{className:(0,c.default)(_.memoSidebar__tab,{[_.memoSidebar__tab_active]:e.key===l}),onClick:()=>a(e.key),children:[(0,n.jsx)(h.A,{i18nKey:e.key}),"Inbox"===e.key&&!!m&&(0,n.jsx)("span",{className:_.memoSidebar__unread,children:m})]},e.key))}),[l,_,m,a]);return(0,n.jsxs)("div",{className:_.memoSidebar,children:[p,u]})},aT=(0,eQ.A)(e=>{let{refreshKey:a,setKey:t,currentTab:s,onSetCurrentTab:l,setAlert:r,openCompose:o,openComposeModal:d,handleCloseModal:c}=e,_=(0,i.useMemo)(()=>"Inbox"===s?(0,n.jsx)(ag,{setAlert:r,openCompose:o}):"Sent"===s?(0,n.jsx)(af,{setAlert:r,openCompose:o}):null,[s]),m=(0,i.useCallback)(()=>{t(Math.random())},[]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(N.X8,{children:(0,n.jsx)(eo.A,{text:"Memo"})}),(0,n.jsxs)("div",{children:[(0,n.jsx)(aD,{currentTab:s,onSetCurrentTab:l,setAlert:r,onRefresh:m,openComposeModal:d,openCompose:o,handleCloseModal:c}),_]},a)]})});var aI=t(7562);let aB=(0,D.default)(()=>({offer:{width:"100%"},offer__pageName:(0,k._)((0,A._)({marginBottom:"1.2rem"},x.A.bonus__pageName),{[T.Ay.mobile]:{marginBottom:"".concat(11/14,"rem")}}),offer__helperText:{display:"block",marginBottom:"1rem"},offer__input_container:{marginBottom:"1rem",display:"block",[T.Ay.desktop]:{"& .inputLabel__label_wrap":{gridTemplateColumns:"18rem 1fr"}}}})),aM=()=>{let e=aB(),a=ec(),{t}=(0,s.B)(),{disableSubmit:i,handleSubmit:l,fieldErrors:r,inputs:o,handleChangeInput:d}=(0,aI.A)();return(0,n.jsxs)("div",{className:a.profile__tabContent,children:[(0,n.jsx)(N.X8,{children:(0,n.jsx)(eo.A,{text:"redeem bonus drop"})}),(0,n.jsx)(h.A,{className:e.offer__helperText,i18nKey:"bonusDropHelper"}),(0,n.jsx)(B,{}),(0,n.jsxs)("form",{onSubmit:l,className:e.offer__form,children:[(0,n.jsx)(eg.A,{className:e.offer__input_container,label:(0,n.jsx)(h.A,{i18nKey:"Code"}),placeholder:t("bonusDropPlaceholder"),name:"bonus_code",required:!0,value:o.bonus_code,helperText:null==r?void 0:r.bonus_code,onChange:d}),(0,n.jsx)("div",{className:a.profile__submitBtn,children:(0,n.jsx)(Y.A,{type:"submit",name:"submit",className:(0,c.default)(a.profile__actionBtn,x.A.profile__submit),disable:i,children:(0,n.jsx)(h.A,{i18nKey:"Submit"})})})]})]})};var aS=t(20122),aR=t(44868);let aL=e=>{let{mobile_portrait:a}=(0,N.Y0)();return a?(0,n.jsxs)(W.A,(0,k._)((0,A._)({viewBox:"0 0 9 10"},e),{children:[(0,n.jsx)("path",{d:"M4.39454 0C2.94141 0 1.75781 1.1836 1.75781 2.63673C1.75781 4.08986 2.94141 5.27346 4.39454 5.27346C5.84767 5.27346 7.03127 4.08986 7.03127 2.63673C7.03127 1.1836 5.84767 0 4.39454 0Z"}),(0,n.jsx)("path",{d:"M7.67581 6.9961C6.95315 6.26367 5.99612 5.85938 4.98049 5.85938H3.80861C2.79298 5.85938 1.83594 6.26367 1.11329 6.9961C0.396486 7.72462 0 8.68751 0 9.70704C0 9.86915 0.13086 10 0.29297 10H8.49612C8.65823 10 8.78909 9.86915 8.78909 9.70704C8.78909 8.68751 8.39261 7.72462 7.67581 6.9961Z"})]})):(0,n.jsxs)(W.A,(0,k._)((0,A._)({viewBox:"0 0 7 9"},e),{children:[(0,n.jsx)("path",{d:"M3.47048 4.43427C3.479 4.43427 3.48752 4.43427 3.49775 4.43427C3.50115 4.43427 3.50456 4.43427 3.50797 4.43427C3.51308 4.43427 3.5199 4.43427 3.52501 4.43427C4.02434 4.42575 4.42823 4.25022 4.72646 3.9145C5.38257 3.17488 5.2735 1.90698 5.26157 1.78598C5.21897 0.877652 4.78951 0.443086 4.43504 0.240289C4.1709 0.0886173 3.86244 0.00681671 3.5182 0H3.50627C3.50456 0 3.50115 0 3.49945 0H3.48923C3.30006 0 2.92855 0.0306752 2.57238 0.233472C2.2145 0.43627 1.77823 0.870835 1.73563 1.78598C1.7237 1.90698 1.61463 3.17488 2.27074 3.9145C2.56727 4.25022 2.97116 4.42575 3.47048 4.43427ZM2.19064 1.82858C2.19064 1.82347 2.19235 1.81836 2.19235 1.81495C2.24858 0.593054 3.11601 0.461832 3.48752 0.461832H3.49434C3.49775 0.461832 3.50286 0.461832 3.50797 0.461832C3.9681 0.472057 4.75032 0.659517 4.80315 1.81495C4.80315 1.82006 4.80315 1.82517 4.80485 1.82858C4.80655 1.84051 4.92585 2.99935 4.38392 3.60945C4.16919 3.85144 3.88289 3.97073 3.50627 3.97414C3.50286 3.97414 3.50115 3.97414 3.49775 3.97414C3.49434 3.97414 3.49263 3.97414 3.48923 3.97414C3.11431 3.97073 2.8263 3.85144 2.61328 3.60945C2.07305 3.00276 2.18894 1.83881 2.19064 1.82858Z"}),(0,n.jsx)("path",{d:"M6.99952 6.53721C6.99952 6.53551 6.99952 6.53381 6.99952 6.5321C6.99952 6.51847 6.99782 6.50483 6.99782 6.4895C6.98759 6.15207 6.96544 5.36304 6.22583 5.11082C6.22071 5.10911 6.2139 5.10741 6.20878 5.1057C5.4402 4.90972 4.80113 4.46664 4.79432 4.46153C4.69036 4.38825 4.54721 4.41381 4.47393 4.51776C4.40065 4.62172 4.42621 4.76487 4.53017 4.83815C4.55914 4.8586 5.2374 5.33066 6.08608 5.54879C6.48316 5.69024 6.52747 6.11458 6.53939 6.50313C6.53939 6.51847 6.53939 6.5321 6.5411 6.54574C6.5428 6.69911 6.53258 6.93599 6.50531 7.07233C6.22923 7.22911 5.14708 7.77104 3.50085 7.77104C1.86143 7.77104 0.772456 7.22741 0.494675 7.07062C0.467409 6.93429 0.455479 6.69741 0.458888 6.54403C0.458888 6.5304 0.460592 6.51676 0.460592 6.50143C0.472521 6.11287 0.51683 5.68853 0.913903 5.54709C1.76258 5.32895 2.44085 4.85519 2.46982 4.83644C2.57377 4.76316 2.59934 4.62001 2.52606 4.51606C2.45278 4.4121 2.30962 4.38654 2.20567 4.45982C2.19885 4.46493 1.5632 4.90802 0.791202 5.104C0.784386 5.1057 0.779273 5.10741 0.774161 5.10911C0.0345474 5.36304 0.0123931 6.15207 0.00216803 6.48779C0.00216803 6.50313 0.00216799 6.51676 0.000463817 6.5304C0.000463817 6.5321 0.000463817 6.53381 0.000463817 6.53551C-0.00124036 6.62413 -0.0029445 7.07914 0.0873769 7.3075C0.104419 7.35181 0.135094 7.3893 0.175994 7.41487C0.22712 7.44895 1.45242 8.22946 3.50255 8.22946C5.55268 8.22946 6.77798 7.44725 6.8291 7.41487C6.8683 7.3893 6.90068 7.35181 6.91772 7.3075C7.00293 7.08085 7.00123 6.62583 6.99952 6.53721Z"})]}))},aF=e=>{let{mobile_portrait:a}=(0,N.Y0)();return a?(0,n.jsxs)(W.A,(0,k._)((0,A._)({viewBox:"0 0 11 11"},e),{children:[(0,n.jsx)("path",{d:"M7.32129 4.39355H9.19133V7.69596H7.32129V4.39355Z"}),(0,n.jsx)("path",{d:"M4.13818 4.39355H6.00822V7.69596H4.13818V4.39355Z"}),(0,n.jsx)("path",{d:"M9.54912 8.29297C9.24872 8.29297 0.960403 8.29297 0.59682 8.29297C0.267733 8.29297 0 8.5607 0 8.88979V9.58608C0 9.91517 0.267733 10.1829 0.59682 10.1829H9.54912C9.87821 10.1829 10.1459 9.91517 10.1459 9.58608V8.88979C10.1459 8.5607 9.87821 8.29297 9.54912 8.29297Z"}),(0,n.jsx)("path",{d:"M9.77193 1.8736C5.17495 -0.00604279 5.29795 0.0442294 5.29465 0.0428965C5.15281 -0.0138611 4.99511 -0.0150149 4.8492 0.0437321L0.374007 1.8736C0.146758 1.96504 0 2.18224 0 2.42727V3.20005C0 3.52914 0.267733 3.79687 0.59682 3.79687H9.54912C9.87821 3.79687 10.1459 3.52914 10.1459 3.20005V2.42727C10.1459 2.18224 9.99918 1.96504 9.77193 1.8736ZM5.37138 2.22523C5.37138 2.39
1003 5.23777 2.52364 5.07297 2.52364C4.90817 2.52364 4.77456 2.39003 4.77456 2.22523V1.58862C4.77456 1.42382 4.90817 1.29021 5.07297 1.29021C5.23777 1.29021 5.37138 1.42382 5.37138 1.58862V2.22523Z"}),(0,n.jsx)("path",{d:"M0.955078 4.39355H2.82511V7.69596H0.955078V4.39355Z"})]})):(0,n.jsx)(W.A,(0,k._)((0,A._)({viewBox:"0 0 9 9"},e),{children:(0,n.jsx)("path",{d:"M8.79545 3.68181C8.90851 3.68181 9 3.59088 9 3.47783V2.65974C9 2.58764 8.96205 2.52073 8.89992 2.48397L4.89869 0.107785C4.89689 0.106577 4.89509 0.105579 4.8933 0.104582C4.64461 -0.0332364 4.36416 -0.0374168 4.10108 0.107382L0.10008 2.48397C0.0379495 2.52071 0 2.58764 0 2.65974V3.47783C0 3.59088 0.0914892 3.68181 0.204552 3.68181H0.818187V7.36379C0.366935 7.36379 0 7.73069 0 8.18188V8.79546C0 8.90851 0.0914892 9 0.204552 9H8.79545C8.90851 9 9 8.90853 9 8.79546V8.18188C9 7.73069 8.63307 7.36379 8.18181 7.36379V3.68181H8.79545ZM8.5909 8.18181V8.59089H0.409084V8.18181C0.409084 7.9563 0.592657 7.77273 0.818168 7.77273H1.02272H7.97726H8.18181C8.40732 7.77271 8.5909 7.95628 8.5909 8.18181ZM1.22727 7.36362V3.68181H2.04546V7.36362H1.22727ZM2.45454 7.36362V3.68181H3.68181V7.36362H2.45454ZM4.0909 7.36362V3.68181H4.90908V7.36362H4.0909ZM5.31817 7.36362V3.68181H6.54544V7.36362H5.31817ZM6.95454 7.36362V3.68181H7.77273V7.36362H6.95454ZM0.409084 3.27273V2.77555L4.30404 0.461622C4.43148 0.391514 4.56691 0.391706 4.69276 0.460222L8.5909 2.77555V3.27273H0.409084Z"})}))},az=e=>{let{mobile_portrait:a}=(0,N.Y0)();return a?(0,n.jsx)(W.A,(0,k._)((0,A._)({viewBox:"0 0 11 9"},e),{children:(0,n.jsx)("path",{d:"M9.9 0H1.1C0.495 0 0.00549999 0.50625 0.00549999 1.125L0 7.875C0 8.49375 0.495 9 1.1 9H9.9C10.505 9 11 8.49375 11 7.875V1.125C11 0.50625 10.505 0 9.9 0ZM9.9 2.25L5.5 5.0625L1.1 2.25V1.125L5.5 3.9375L9.9 1.125V2.25Z"})})):(0,n.jsx)(W.A,(0,k._)((0,A._)({viewBox:"0 0 10 7"},e),{children:(0,n.jsx)("path",{d:"M8.55555 0H0.777784C0.348815 0 0 0.348815 0 0.777784V6.22223C0 6.65119 0.348815 7 0.777784 7H8.55557C8.98452 7 9.33333 6.65119 9.33333 6.22222V0.777784C9.33333 0.348815 8.98452 0 8.55555 0ZM0.777784 0.388883H8.55557C8.58422 0.388883 8.60947 0.399328 8.63636 0.405234C7.96299 1.02151 5.73021 3.06412 4.94885 3.76811C4.88771 3.82318 4.78917 3.88888 4.66668 3.88888C4.5442 3.88888 4.44566 3.82318 4.38432 3.76793C3.60303 3.06405 1.37012 1.02133 0.696865 0.405271C0.723807 0.399365 0.749109 0.388883 0.777784 0.388883ZM0.388883 6.22222V0.777784C0.388883 0.739685 0.400367 0.705122 0.410648 0.670305C0.926023 1.142 2.48396 2.56723 3.49415 3.48585C2.48724 4.35077 0.928904 5.82821 0.409427 6.32357C0.400258 6.2905 0.388883 6.25816 0.388883 6.22222ZM8.55555 6.61112H0.777784C0.746721 6.61112 0.719104 6.60029 0.690102 6.59336C1.2269 6.08163 2.79515 4.5957 3.78436 3.74945C3.91331 3.86642 4.03111 3.97308 4.12397 4.05676C4.28424 4.20146 4.47183 4.27778 4.66667 4.27778C4.8615 4.27778 5.0491 4.20144 5.20917 4.05694C5.30206 3.97323 5.41995 3.86648 5.54898 3.74945C6.53824 4.59561 8.10627 6.08143 8.64323 6.59336C8.61423 6.60029 8.58665 6.61112 8.55555 6.61112ZM8.94445 6.22222C8.94445 6.25815 8.93307 6.2905 8.92392 6.32357C8.40425 5.82796 6.84609 4.35068 5.8392 3.48587C6.84943 2.56725 8.40713 1.14215 8.92268 0.670268C8.93297 0.705086 8.94445 0.739667 8.94445 0.777766V6.22222Z"})}))},aE=e=>{let{mobile_portrait:a}=(0,N.Y0)();return a?(0,n.jsx)(W.A,(0,k._)((0,A._)({viewBox:"0 0 9 9"},e),{children:(0,n.jsx)("path",{d:"M8.27784 5.90747C7.72683 5.90747 7.1858 5.82129 6.6731 5.65186C6.42188 5.56617 6.11304 5.64478 5.95971 5.80226L4.94775 6.56618C3.77416 5.93972 3.05126 5.21705 2.43335 4.05227L3.1748 3.06668C3.36743 2.8743 3.43652 2.59329 3.35374 2.32962C3.18359 1.81423 3.09715 1.27345 3.09715 0.722203C3.09717 0.323977 2.7732 0 2.37499 0H0.72218C0.323977 0 0 0.323977 0 0.72218C0 5.28663 3.71339 9 8.27784 9C8.67605 9 9.00002 8.67602 9.00002 8.27782V6.62963C9 6.23145 8.67602 5.90747 8.27784 5.90747Z"})})):(0,n.jsx)(W.A,(0,k._)((0,A._)({viewBox:"0 0 9 9"},e),{children:(0,n.jsx)("path",{d:"M8.75866 6.61426L7.33927 5.19989C7.01713 4.87699 6.49421 4.87637 6.1713 5.1985C6.17083 5.19898 6.17038 5.19942 6.16991 5.19989L5.35667 6.01314C5.29514 6.07482 5.19818 6.08334 5.12685 6.03335C4.68174 5.72228 4.26507 5.37236 3.88172 4.98774C3.53839 4.64518 3.22256 4.27617 2.93713 3.88403C2.88539 3.81359 2.89291 3.71592 2.9548 3.65421L3.78825 2.82075C4.11004 2.49835 4.11004 1.97632 3.78825 1.65391L2.36886 0.234521C2.04178 -0.0781736 1.52658 -0.0781736 1.19951 0.234521L0.749954 0.684072C0.0710242 1.35537 -0.171347 2.35214 0.123589 3.26021C0.343674 3.92458 0.654769 4.55524 1.04797 5.13422C1.40195 5.
166501 1.80805 6.15911 2.26027 6.60919C2.75191 7.10436 3.2965 7.5439 3.88424 7.91999C4.53035 8.34161 5.23976 8.65708 5.98555 8.85447C6.17728 8.90173 6.37404 8.92547 6.57149 8.92517C7.2484 8.92103 7.89602 8.64856 8.37227 8.16749L8.75869 7.78107C9.08044 7.45869 9.08044 6.93666 8.75866 6.61426ZM8.40101 7.43661C8.40068 7.43694 8.40036 7.43729 8.4 7.43762L8.40252 7.43004L8.0161 7.81646C7.5196 8.31923 6.79651 8.52609 6.10924 8.362C5.41681 8.17666 4.75857 7.88164 4.15946 7.48814C3.60286 7.13241 3.08704 6.71657 2.62136 6.24805C2.19288 5.82271 1.80794 5.35566 1.47219 4.8539C1.10494 4.31399 0.814269 3.72584 0.60842 3.10616C0.372442 2.37819 0.567991 1.57939 1.11356 1.04273L1.56311 0.593179C1.6881 0.467628 1.89119 0.467184 2.01671 0.592173C2.01704 0.592499 2.01739 0.592824 2.01772 0.593179L3.43711 2.01257C3.56266 2.13756 3.56311 2.34066 3.43812 2.46618C3.43779 2.4665 3.43747 2.46683 3.43711 2.46719L2.60366 3.30064C2.36451 3.53718 2.33444 3.91307 2.53295 4.18462C2.8344 4.59833 3.16799 4.98762 3.53058 5.34895C3.93485 5.75496 4.37434 6.1243 4.8439 6.45265C5.11521 6.6419 5.48305 6.60999 5.71776 6.37689L6.52342 5.55858C6.64841 5.43303 6.85151 5.43259 6.97703 5.55758C6.97735 5.5579 6.97768 5.55823 6.97803 5.55858L8.39997 6.98304C8.52555 7.108 8.526 7.31106 8.40101 7.43661Z"})}))};var aK=t(91971),aW=t(32089),aH=t(73149),aO=t(97217);let aP=(0,D.default)(e=>{var a,t,n,i;return{updateContact:{width:"100%",lineBreak:"anywhere",whiteSpace:"pre-line",display:"flex",alignItems:"center",gap:".4rem",[T.Ay.mobile_portrait]:{gap:".2rem"}},updateContact__inputWrap:{flex:1,position:"relative",display:"flex",alignItems:"center",pointerEvents:"none","&.editing":{pointerEvents:"auto"}},updateContact__inputBackground:{".editing &":{display:"block",position:"absolute",top:0,left:"-1.2rem",width:"calc(100% + 1.2rem)",height:"100%",borderRadius:"1.4rem",background:null==(t=e.color)||null==(a=t.global)?void 0:a.bg_3rd,color:null==(i=e.color)||null==(n=i.global)?void 0:n.text_3rd}},updateContact__text:{border:0,background:"none",padding:"0",pointerEvents:"none",outline:"none",position:"relative",width:"100%",fontWeight:700,".editing &":{pointerEvents:"auto",paddingRight:"1rem"}},updateContact__actionButton:(0,k._)((0,A._)({marginTop:"-.175rem",width:"1.8rem",height:"1.8rem",padding:".3rem",borderRadius:"50%",display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer",border:0},x.A.button),{"& svg":{width:"100%",height:"100%",display:"block"},[T.Ay.mobile_portrait]:{width:"1.6rem",height:"1.6rem",padding:".2rem"}})}}),aV=e=>{let{value:a,name:t}=e,i=(0,j._)(e,["value","name"]),s=aP(),{inputRef:l,isEditing:r,startEdit:o,onCancel:d,onSubmit:_,onKeyPress:m}=(0,aK.A)((0,A._)({value:a,name:t},i));return(0,n.jsxs)("form",{className:s.updateContact,onSubmit:_,children:[(0,n.jsxs)("label",{className:(0,c.default)(s.updateContact__inputWrap,r&&"editing"),children:[(0,n.jsx)("div",{className:s.updateContact__inputBackground}),(0,n.jsx)("input",(0,A._)({ref:l,name:t,className:s.updateContact__text,onKeyPress:m},i))]}),!r&&(0,n.jsx)("button",{type:"button",className:(0,c.default)(s.updateContact__actionButton,"edit"),onClick:o,children:(0,n.jsx)(aH.A,{})}),r&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("button",{type:"submit",className:(0,c.default)(s.updateContact__actionButton,"green"),children:(0,n.jsx)(aO.A,{})}),(0,n.jsx)("button",{type:"button",className:(0,c.default)(s.updateContact__actionButton,"red"),onClick:d,children:(0,n.jsx)(aW.A,{})})]})]})},aq=(0,D.default)(()=>({profileInfoTable__tabContent:{width:"50%",margin:"0 auto",[T.Ay.mobile]:{width:"70%",margin:"0 auto"},[T.Ay.mobile_portrait]:{width:"100%"}},profileInfoTable__avatarWrapper:{position:"relative",height:0,textAlign:"center"},profileInfoTable__avatar_img:{position:"absolute",transform:"translate(-50%, -50%)",borderRadius:"50%",objectFit:"contain",width:"10em",height:"10em",[T.Ay.mobile]:{width:"8em",height:"8em"}},profileInfoTable__formAccount:{paddingTop:"5em",[T.Ay.mobile_landscape]:{paddingTop:"3em"},[T.Ay.mobile_portrait]:{paddingTop:".5em"}},profileInfoTable__pageName:{textTransform:"uppercase",marginBottom:"1em"},profileInfoTable__formTitle:{fontSize:"1.2em",fontWeight:900,margin:"1em 0 .5em",textTransform:"uppercase"},profileInfoTable__accountWrapper:(0,k._)((0,A._)({display:"grid",gridTemplateColumns:"12.5em 1fr",gridGap:"2em 1em",borderRadius:".57142857rem",padding:".836em 1em .45em",margin:"0 0 1.7142857rem"},x.A.profileInfoTable__accountWrapper),{[T.Ay.mobile_landscape]:{borderRadius:".2857143rem",padding:"1em 1em .55em",margin:"0 0 .857142rem"}}),profileInfoTable__accountWrapper_portrait:{display:"block","&:not(:last-child)":{margin:"0 0 .7rem"}},profileInfoTable__icon:{display:"block",marginRight:"1rem",[T.Ay.mobile_portrait]:(0,A._)({marginRight:"0.5rem",borderRadius:"50%",width:"1.3571428rem",height:"1.3571428rem",display:"flex",justifyContent:"center",alignItems:"center",fontSize:".8rem"},x.A.profileInfoTable__icon_p)},profileInfoTable__label:{},profileInfoTable__value:(0,k._)((0,A._)({fontWeight:700},x.A.profileInfoTable__value),{[T.Ay.mobile_portrait]:(0,A._)({},x.A.profileInfoTable__value_p)}),profileInfoTable__labelWrapper:{display:"flex",[T.Ay.mobile_portrait]:{margin:"0 0 .2rem"}}})),aU=e=>{let{list:a}=e,t=aq(),{t:i}=(0,s.B)(),l=(0,N.Y0)();return R()(a,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;return(null==e?void 0:e.type)==="membership"?(null==e?void 0:e.showTier)&&e.value:"updateContact"===e.type?(0,n.jsxs)("div",{className:l.mobile_portrait?t.profileInfoTable__accountWrapper_portrait:t.profileInfoTable__accountWrapper,children:[(0,n.jsxs)("div",{className:t.profileInfoTable__labelWrapper,children:[(0,n.jsx)("div",{className:t.profileInfoTable__icon,children:e.icon}),(0,n.jsx)("div",{className:t.profileInfoTable__label,children:i(e.label)})]}),(0,n.jsx)("div",{className:t.profileInfoTable__value,children:(0,n.jsx)(aV,(0,A._)({value:e.value,name:e.name,type:e.type},e))})]},a):(0,n.jsxs)("div",{className:l.mobile_portrait?t.profileInfoTable__accountWrapper_portrait:t.profileInfoTable__accountWrapper,children:[(0,n.jsxs)("div",{className:t.profileInfoTable__labelWrapper,children:[(0,n.jsx)("div",{className:t.profileInfoTable__icon,children:e.icon}),(0,n.jsx)("div",{className:t.profileInfoTable__label,children:i(e.label)})]}),(0,n.jsx)("div",{className:t.profileInfoTable__value,children:e.value})]},a)})};var aY=t(33455),aG=t(1838),aZ=t(30558),aQ=t(98912);let aX=e=>{let{phone:a,onChange:t,onSubmit:i,disableSubmit:s}=e,l=(0,aQ.I)();return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("form",{className:l.codeVerification__wrap,noValidate:!0,onSubmit:i,children:[(0,n.jsx)("div",{className:l.codeVerification__title,children:(0,n.jsx)(h.A,{i18nKey:"CODE VERIFICATION"})}),(0,n.jsx)("div",{children:(0,n.jsx)(h.A,{i18nKey:"Enter one time password send on"})}),(0,n.jsx)("div",{className:l.codeVerification__phone,children:a}),(0,n.jsx)(aZ.A,{onChange:t,className:l.codeVerification__verificationInput}),(0,n.jsx)(Y.A,{type:"submit",name:"submit",className:x.A.profile_submitBtn,disable:s,children:(0,n.jsx)(h.A,{i18nKey:"VERIFY CODE"})})]})})};var aJ=t(84259),a$=t(11728);let a0=e=>{let{title:a,message:t,successBtn:i,buttonLabel:s}=e,l=(0,a$.I)();return(0,n.jsxs)(n.Fragment,{children:[a&&(0,n.jsx)(h.A,{i18nKey:a,className:l.successView__title}),(0,n.jsxs)("div",{className:l.successView,children:[(0,n.jsx)("img",{className:l.successView__img__pw,src:aJ,alt:""}),t&&(0,n.jsx)(h.A,{i18nKey:t}),(0,n.jsx)(Y.A,{onClick:i,className:l.successView__btn,children:(0,n.jsx)(h.A,{i18nKey:s})})]})]})},a1=(0,D.default)(()=>({changePassword__modal:{padding:0},changePassword__content:{padding:"1rem 1.5rem"}})),a5=e=>{let{disableSubmit:a,onSubmitVerifyOTP:t,openVerify:s,openVerified:l,closeVerifyModal:r,closeVerifiedModal:o,whatsappNumber:d,setOtpCode:c}=e,_=a1(),m=(0,i.useMemo)(()=>(0,n.jsx)(e5.A,{open:s,closeBtnFunc:r,classNameChildren:_.changePassword__modal,contentClassName:_.changePassword__content,children:(0,n.jsx)(aX,{phone:d,onChange:c,disableSubmit:a,onSubmit:t})}),[s,r,_,d,c,a,t]),u=(0,i.useMemo)(()=>(0,n.jsx)(e5.A,{open:l,classNameChildren:_.changePassword__modal,children:(0,n.jsx)(a0,{title:"Verified",successBtn:o,buttonLabel:"OK",message:"profilePasswordUpdateMessage"})}),[l,_.changePassword__modal,o]);return(0,n.jsxs)(n.Fragment,{children:[m,u]})},a2=(0,D.default)(()=>({accountData__note:{marginTop:"2rem","& p":{fontSize:14}},accountData__accountData:{[T.Ay.desktop]:{margin:"1rem 0 0"},[T.Ay.mobile_landscape]:{fontSize:".857142rem"},[T.Ay.mobile_portrait]:(0,A._)({margin:"0 0 2rem",borderRadius:".4285714rem"},x.A.accountData__accountData_p)},accountData__icon:(0,k._)((0,A._)({},x.A.accountData__icon),{[T.Ay.mobile_portrait]:{color:"inherit",fontSize:"inherit"}}),accountData__input__icon:(0,k._)((0,A._)({mask:'url("'.concat("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNiIgaGVpZ2h0PSI4IiB2aWV3Qm94PSIwIDAgNiA4IiBmaWxsPSIjRkZGRkZGIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgoJPHBhdGggZmlsbFJ1bGU9ImV2ZW5vZGQiIGNsaXBSdWxlPSJldmVub2RkIiBkPSJNMC43NSAz
1LjVDMC42MTIzMzMgMy41IDAuNSAzLjYxMiAwLjUgMy43NVY3LjI1QzAuNSA3LjM4OCAwLjYxMjMzMyA3LjUgMC43NSA3LjVINS4yNUM1LjM4NzY3IDcuNSA1LjUgNy4zODggNS41IDcuMjVWMy43NUM1LjUgMy42MTIgNS4zODc2NyAzLjUgNS4yNSAzLjVINC43NUgxLjI1SDAuNzVaTTEgM1YyQzEgMC44OTcgMS44OTcgMCAzIDBDNC4xMDMgMCA1IDAuODk3IDUgMlYzSDUuMjVDNS42NjMzMyAzIDYgMy4zMzYzMyA2IDMuNzVWNy4yNUM2IDcuNjYzNjcgNS42NjMzMyA4IDUuMjUgOEgwLjc1QzAuMzM2NjY3IDggMCA3LjY2MzY3IDAgNy4yNVYzLjc1QzAgMy4zMzYzMyAwLjMzNjY2NyAzIDAuNzUgM0gxWk00LjUgM1YyQzQuNSAxLjE3MyAzLjgyNyAwLjUgMyAwLjVDMi4xNzMgMC41IDEuNSAxLjE3MyAxLjUgMlYzSDQuNVpNMi43NSA1LjYxODA1QzIuNTA1ODggNS41MTg5OCAyLjMzMzMzIDUuMjc5MyAyLjMzMzMzIDVDMi4zMzMzMyA0LjYzMjMzIDIuNjMyMzMgNC4zMzMzMyAzIDQuMzMzMzNDMy4zNjc2NyA0LjMzMzMzIDMuNjY2NjcgNC42MzIzMyAzLjY2NjY3IDVDMy42NjY2NyA1LjI3OTMgMy40OTQxMiA1LjUxODk4IDMuMjUgNS42MTgwNVY2LjQxNjY3QzMuMjUgNi41NTQ2NyAzLjEzOCA2LjY2NjY3IDMgNi42NjY2N0MyLjg2MiA2LjY2NjY3IDIuNzUgNi41NTQ2NyAyLjc1IDYuNDE2NjdWNS42MTgwNVpNMyA0LjgzMzMzQzIuOTA4MzMgNC44MzMzMyAyLjgzMzMzIDQuOTA4IDIuODMzMzMgNUMyLjgzMzMzIDUuMDkyIDIuOTA4MzMgNS4xNjY2NyAzIDUuMTY2NjdDMy4wOTE2NyA1LjE2NjY3IDMuMTY2NjcgNS4wOTIgMy4xNjY2NyA1QzMuMTY2NjcgNC45MDggMy4wOTE2NyA0LjgzMzMzIDMgNC44MzMzM1oiIC8+Cjwvc3ZnPg==",'") no-repeat center / contain'),width:"1.5em",height:"1.5em"},x.A.accountData__input__icon),{[T.Ay.mobile_portrait]:(0,A._)({},x.A.accountData__input__icon_p)}),accountData__tier__title:(0,k._)((0,A._)({},x.A.tierTitle),{fontSize:"1rem",fontWeight:700,minHeight:"1.4rem",[T.Ay.mobile]:{fontSize:"1rem",minHeight:"1.4rem"}}),accountData__tier__content:{fontSize:"1rem",fontWeight:700,alignItems:"center",display:"flex",minHeight:"1.4rem",[T.Ay.mobile]:{fontSize:".8rem"}},accountData__tier__number:(0,A._)({fontWeight:700},x.A.profileInfoTable__value),accountData__tier__wrap:{display:"flex",alignItems:"center",position:"relative"},accountData__tier__child:{width:"2.5rem",height:"2.5rem",top:"-.8rem",position:"absolute",[T.Ay.mobile]:{width:"2rem",height:"2rem",top:"-.4rem"}},accountData__tier__rank:{marginLeft:"3rem",textTransform:"uppercase",[T.Ay.mobile]:{marginLeft:"2.5rem"}},accountData__membership__wrap:(0,k._)((0,A._)({gridTemplateColumns:"12.7rem 1fr",width:"100%",display:"grid",gridGap:".9rem",padding:"".concat(25/14,"rem 1rem"),borderRadius:10/14+"rem",alignItems:"center"},x.A.profileInfoTable__accountWrapper),{[T.Ay.mobile]:(0,A._)({width:"auto",borderRadius:"0.5rem",gridTemplateColumns:"8rem 1fr",padding:"1rem .8rem"},x.A.codeVerification__wrap__m)}),tierRenewDate:{display:"flex",alignItems:"center",gap:"1rem"}})),a4=(0,aG.A)(e=>{let{userInput:a,fieldErrors:t,note:i,handleInputChange:l,handleSubmit:r}=e,o=(0,j._)(e,["userInput","fieldErrors","note","handleInputChange","handleSubmit"]),d=ec(),c=a2(),{t:_}=(0,s.B)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("form",{onSubmit:r,noValidate:!0,children:[(0,n.jsx)("div",{className:d.profile__formTitle,children:(0,n.jsx)(h.A,{i18nKey:"profileChangePassword"})}),(0,n.jsx)(eg.A,{type:"password",label:(0,n.jsx)(h.A,{i18nKey:"profileOldPassword"}),id:"old_password",name:"old_password",required:!0,value:a.old_password,onChange:l,placeholder:_("EnterYourOldPasswordHere"),helperText:t.old_password,icon:(0,n.jsx)("div",{className:c.accountData__input__icon})}),(0,n.jsx)(eg.A,{type:"password",label:(0,n.jsx)(h.A,{i18nKey:"profileNewPassword"}),id:"new_password",name:"new_password",value:a.new_password,onChange:l,placeholder:_("EnterYourNewPasswordHere"),required:!0,inputProps:{autoComplete:"new-password"},helperText:t.new_password,icon:(0,n.jsx)("div",{className:c.accountData__input__icon})}),(0,n.jsx)(eg.A,{type:"password",label:(0,n.jsx)(h.A,{i18nKey:"profileConfirmPassword"}),id:"new_password_confirmation",name:"new_password_confirmation",value:a.new_password_confirmation,placeholder:_("profilePasswordConfirmMatch"),onChange:l,required:!0,helperText:t.new_password_confirmation,icon:(0,n.jsx)("div",{className:c.accountData__input__icon})}),(0,n.jsx)("div",{className:c.accountData__note,children:(0,n.jsx)(L.A,{children:i.content})}),(0,n.jsx)("div",{className:d.profile__submitBtn,children:(0,n.jsx)(Y.A,{type:"submit",name:"submit",className:d.profile__actionBtn,children:(0,n.jsx)(h.A,{i18nKey:"Confirm"})})})]}),(0,n.jsx)(a5,(0,A._)({},o))]})});var a8=t(90070),a7=t(94049),a3=t(13770);let a9=(0,D.default)(()=>({tierRequirePopup:{position:"relative",zIndex:10,"&:hover $tierRequirePopup__popupWrap":{opacity:1,pointerEvents:"auto"}},tierRequirePopup__icon:{display:"block",width:"2.5rem",height:"2.5rem",padding:".4rem",borderRadius:".8rem",background:x.A.colorGreen,color:"#FFF",border:".1rem solid black",boxShadow:"0 .1rem .1rem 0 #000c"},tierRequirePopup__popupWrap:{padding:"1rem 0",opacity:0,pointerEvents:"none",[T.Ay.mobile]:{padding:"1rem"}},tierRequirePopup__popup:(0,A._)({display:"block",width:"22rem",padding:"1.5rem 1rem",borderRadius:"1rem",textTransform:"none",fontWeight:"normal",wordBreak:"break-word",lineBreak:"auto",fontSize:"1rem",lineHeight:"1.5"},x.A.modal)})),a6=()=>
1{let e=a9(),{setReferenceElement:a,setPopperElement:t,styles:i,attributes:s}=(0,a3.A)();return(0,n.jsxs)("div",{className:e.tierRequirePopup,children:[(0,n.jsx)(a8.A,{className:e.tierRequirePopup__icon,ref:a}),(0,n.jsx)("div",(0,k._)((0,A._)({className:e.tierRequirePopup__popupWrap,ref:t,style:i.popper},s.popper),{children:(0,n.jsx)(a7.A,{className:e.tierRequirePopup__popup})}))]})},te=(0,aS.A)(e=>{let{user:a,bankAccountValue:t}=e,i=a2(),{showTier:s,currentBadge:l,tierData:r,depositAmountTargetDisplay:o,turnoverAmountTargetDisplay:d}=(0,aR.A)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:i.accountData__accountData,children:(0,n.jsx)(aU,{list:[{icon:(0,n.jsx)(aL,{className:i.accountData__icon}),label:"Username",value:ew()(a,"username","")},{type:"updateContact",name:"email",icon:(0,n.jsx)(az,{className:i.accountData__icon}),label:"Email",value:ew()(a,"email","")},{type:"updateContact",name:"phone_number",icon:(0,n.jsx)(aE,{className:i.accountData__icon}),label:"PhoneNumber",inputMode:"decimal",pattern:"^[0-9]*$",value:ew()(a,"phone_number","")},{icon:(0,n.jsx)(aY.A,{className:i.accountData__icon}),label:"Whatsapp Number",value:ew()(a,"whatsapp_number","")},{icon:(0,n.jsx)(aF,{className:i.accountData__icon}),label:"BankAccountInfo",value:t},{type:"membership",showTier:s,value:(0,n.jsxs)("div",{className:i.accountData__membership__wrap,children:[(0,n.jsxs)("div",{className:i.accountData__tier__title,children:[(0,n.jsx)(h.A,{i18nKey:"Tier class"}),":"]}),(0,n.jsxs)("div",{className:(0,c.default)(i.accountData__tier__content,i.accountData__tier__wrap),children:[(0,n.jsx)("div",{className:i.accountData__tier__child,style:{background:'url("'.concat(l,'") center/100% 100% no-repeat')}}),(0,n.jsx)("div",{className:i.accountData__tier__rank,children:null==r?void 0:r.tier})]}),(0,n.jsxs)("div",{className:i.accountData__tier__title,children:[(0,n.jsx)(h.A,{i18nKey:"Total deposit"}),":"]}),(0,n.jsxs)("div",{className:i.accountData__tier__content,children:[(0,n.jsxs)("span",{className:i.accountData__tier__number,children:["IDR ",(0,et.A)(null==r?void 0:r.deposit_amount)]}),o]}),(0,n.jsxs)("div",{className:i.accountData__tier__title,children:[(0,n.jsx)(h.A,{i18nKey:"Total turnover"}),":"]}),(0,n.jsxs)("div",{className:i.accountData__tier__content,children:[(0,n.jsxs)("span",{className:i.accountData__tier__number,children:["IDR ",(0,et.A)(null==r?void 0:r.to_amount)]}),d]}),(0,n.jsxs)("div",{className:i.accountData__tier__title,children:[(0,n.jsx)(h.A,{i18nKey:"Renewal date"}),":"]}),(0,n.jsx)("div",{className:i.accountData__tier__content,children:(null==r?void 0:r.renewal_date)?(0,n.jsxs)("div",{className:i.tierRenewDate,children:[null==r?void 0:r.renewal_date,(0,n.jsx)(a6,{})]}):(0,n.jsx)(h.A,{i18nKey:"lifetime",style:{textTransform:"uppercase"}})})]})}]})}),(0,n.jsx)(a4,{})]})});var ta=t(99820),tt=t(44288),tn=t(46376);let ti=(0,D.default)(()=>({formUpdateContact__submitBtn:{display:"flex",justifyContent:"center"},formUpdateContact__actionBtn:{textTransform:"uppercase",marginTop:"1em"},formUpdateContact__icon__img:{height:"100%",objectFit:"contain",display:"block",margin:"0 0 0 -.35em"}}));var ts=t(48082);let tl=(0,ta.A)({FormUpdateContact:e=>{let{userInput:a,handleInputChange:t,fieldErrors:i,disableSubmit:l,getOTP:r}=e,{t:o}=(0,s.B)(),d=ti();return(0,n.jsxs)("form",{onSubmit:r,noValidate:!0,children:[(0,n.jsx)(eg.A,{label:(0,n.jsx)(h.A,{i18nKey:"Whatsapp Number"}),id:"whatsapp_number",name:"whatsapp_number",required:!0,value:a.whatsapp_number,onChange:t,placeholder:o("Please enter Whatsapp number here"),helperText:i.whatsapp_number,icon:(0,n.jsx)("img",{className:d.formUpdateContact__icon__img,src:tn,alt:""})}),(0,n.jsx)("div",{className:d.formUpdateContact__submitBtn,children:(0,n.jsx)(Y.A,{type:"submit",name:"submit",className:d.formUpdateContact__actionBtn,disable:l,children:(0,n.jsx)(h.A,{i18nKey:"Confirm"})})})]})},CodeVerification:tt.A,SuccessView:ts.A})(e=>{let{renderView:a}=e;return a}),tr=()=>{let e=ec();return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:e.profile__tabContent,children:(0,n.jsxs)("div",{className:e.profile__formAccount,children:[(0,n.jsx)(N.X8,{children:(0,n.jsx)(eo.A,{text:"Profile"})}),(0,n.jsxs)(ed.A,{type:"deposit",children:[(0,n.jsx)("div",{"data-label":(0,n.jsx)(h.A,{i18nKey:"AccountData"}),"data-link":["/profile"],children:(0,n.jsx)(te,{})}),(0,n.jsx)("div",{"data-label":(0,n.jsx)(h.A,{i18nKey:"UPDATE CONTACT INFO"}),"data-link":["/profile/update-contact-info"],children:(0,n.jsx)(tl,{})})]})]})})})};var to=t(40292),td=t(77392),tc=t(6294),t_=t(37513),tm=t(82758),tu=t(85418),tp=t(31499);let th=(0,D.default)(()=>({hour:(0,A._)({},x.A.transHis__hour),referralList__table:{"& thead":{textTransform:"uppercase",wordBreak:"normal","& tr":{"& th:nth-child(1)":{minWidth:"3.5em"},[T.Ay.desktop]:{"& th:nth-child(2)":{minWidth:"14em"},"& th:nth-child(3)":{minWidth:"12em"},"& th:nth-child(4)":{maxWidth:"12em"}}}},[T.Ay.mobile]:{marginTop:"1em","& td:nth-child(3)":{width:"25%"},"& td:nth-child(4)":{width:"25%"}},[T.Ay.mobile_portrait]:{fontSize:".785714rem"}}})),tb=(0,tu.A)(e=>{let{referralLists:a,total:t,page:l,pageSize:r,handleChangePage:o}=e,d=th(),{t:c}=(0,s.B)(),_=(0,i.useCallback)(e=>{let[a,t]=(0,tp.r)(e).split(" ");return(0,n.jsxs)(n.Fragment,{children:[a,(0,n.jsx)("div",{className:d.hour,children:t})]})},[d]),m=(0,i.useCallback)(()=>({columns:[{label:c("NOPoint"),name:"number_of"},{label:c("UserReferral"),name:"user_referral"},{label:c("referralJoinedDate"),name:"joined_date"},{label:c("LastActivity"),name:"last_activity"},{label:(0,n.jsx)("div",{style:{textAlign:"right"},children:c("BonusReferral")}),name:"bonus_referral"}],rows:(a||[]).map((e,a)=>({number_of:(l-1)*r+a+1,user_referral:e.username,joined_date:_(e.joined_date),last_activity:_(e.last_activity),bonus_referral:(0,n.jsx)(tm.A,{value:e.bonus,tableFormat:!0})}
1))}),[l,r,a,_,c]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t_.A,{dataTable:m(),className:d.referralList__table}),!!t&&(0,n.jsx)(e2.A,{page:l,count:t,handleChangePage:o})]})}),tx=(0,D.default)(()=>({referral__title:(0,A._)({textTransform:"uppercase",margin:"1rem 0",fontWeight:900,fontSize:"1.4285714rem"},x.A.referral__title),referral__info:{marginTop:".5em"},referral__infoRow:{display:"flex",alignItems:"center","&:not(:first-child)":{marginTop:".5em"},"& svg":{cursor:"pointer",color:"orange",marginLeft:"8px"}},referral__infoLabel:{width:"12em"},referral__tableName:{textTransform:"uppercase",textAlign:"center",fontWeight:900,fontSize:"1.4285714rem"},referral__copyIcon:{width:"1em",height:"1em",marginLeft:"1em",cursor:"pointer"},referral__value:{display:"flex",alignItems:"center",fontWeight:900},referral__value__username:{textTransform:"uppercase"},referral__note:(0,A._)({margin:".5rem 0 1rem"},x.A.referral__note),listTablesInfo:{display:"grid",gridTemplateColumns:"repeat(5, 1fr)",gridGap:"1rem",marginBottom:"2rem",[T.Ay.mobile_landscape]:{gridTemplateColumns:"1fr 1fr"},[T.Ay.mobile_portrait]:{gridTemplateColumns:"1fr"},"& .referral__rate":(0,A._)({textAlign:"right",fontWeight:900},x.A.referral__rate)},referral__listTable__column:{display:"flex",flexDirection:"column",gap:"1rem",[T.Ay.mobile_landscape]:{display:"grid",gridTemplateColumns:"1fr 1fr",gridGap:"1rem",gridColumn:"1/3"}},listTablesInfo__table:{"& td":{padding:".7rem 0.4rem !important","&:last-child":{paddingRight:".5em"}}}})),tg=(0,tc.A)(e=>{let{user:a,onCopy:t,getDataTable:s}=e,l=tx(),r=(0,i.useCallback)(e=>(0,n.jsx)("div",{className:l.referral__tableName,children:(0,n.jsx)(h.A,{i18nKey:e})}),[l]),o=(0,i.useMemo)(()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:l.referral__infoRow,children:[(0,n.jsx)("div",{className:l.referral__infoLabel,children:(0,n.jsx)(h.A,{i18nKey:"referralInfoCode"})}),(0,n.jsxs)("div",{className:l.referral__value,children:[(0,n.jsx)("div",{className:l.referral__value__username,children:a.referral_code}),(0,n.jsx)("span",{onClick:()=>t(a.username),children:(0,n.jsx)(eM,{className:l.referral__copyIcon})})]})]}),(0,n.jsxs)("div",{className:l.referral__infoRow,children:[(0,n.jsx)("div",{className:l.referral__infoLabel,children:(0,n.jsx)(h.A,{i18nKey:"referralInfoUrl"})}),(0,n.jsxs)("div",{className:l.referral__value,children:[window.location.origin,"/register?referral=",a.referral_code,(0,n.jsx)("span",{onClick:()=>t("".concat(window.location.origin,"/register?referral=").concat(a.referral_code)),children:(0,n.jsx)(eM,{className:l.referral__copyIcon})})]})]})]}),[l,t,a]),d=(0,i.useMemo)(()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:l.referral__info,children:[o,(0,n.jsx)("div",{className:l.referral__note,children:(0,n.jsx)(h.A,{i18nKey:"referralDesc"})})]}),(0,n.jsxs)("div",{className:l.listTablesInfo,children:[(0,n.jsx)(t_.A,{children:r("headerTogel"),dataTable:s(td.y.TOGEL),className:l.listTablesInfo__table}),(0,n.jsx)(t_.A,{children:r("headerSlot"),dataTable:s(td.y.SLOT),className:l.listTablesInfo__table}),(0,n.jsx)(t_.A,{children:r("Live Casino"),dataTable:s(td.y.CASINO),className:l.listTablesInfo__table}),(0,n.jsx)(t_.A,{children:r("Sports"),dataTable:s(td.y.SPORT),className:l.listTablesInfo__table}),(0,n.jsxs)("div",{className:l.referral__listTable__column,children:[(0,n.jsx)(t_.A,{children:r("Fishing Game"),dataTable:s(td.y.FISHING),className:l.listTablesInfo__table}),to.Es&&(0,n.jsx)(t_.A,{children:r("Live Game"),dataTable:s(td.y.LIVE_GAME),className:l.listTablesInfo__table}),(0,n.jsx)(t_.A,{children:r("Others"),dataTable:s(td.y.OTHER),className:l.listTablesInfo__table})]})]})]}),[l,r,s,o]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(N.X8,{children:(0,n.jsx)(eo.A,{text:"Referral"})}),d,(0,n.jsx)("div",{className:l.referral__title,children:(0,n.jsx)(h.A,{i18nKey:"referralList"})}),(0,n.jsx)(tb,{})]})});var tA=t(3280),tj=t(26467),tv=t(59023),tf=t(86809),ty=t(14670);let tN=e=>{let{page:a=1,handleChangePage:t=()=>{},nextButton:i=!1,className:s}=e,l=(0,ty.I)();
1return i||1!==a?(0,n.jsxs)("div",{className:(0,c.default)(l.pagination,s),children:[(0,n.jsx)("div",{className:l.pagination__item,disabled:a<=1,onClick:e=>t(e,a-1),children:(0,n.jsx)(tv.default,{className:l.pagination__arrow_previous})}),(0,n.jsx)("div",{className:(0,c.default)(l.pagination__item,l.pagination__item_active),children:a}),(0,n.jsx)("div",{className:l.pagination__item,disabled:!i,onClick:e=>t(e,a+1),children:(0,n.jsx)(tf.default,{className:l.pagination__arrow_next})})]}):(0,n.jsx)(n.Fragment,{})};var tC=t(10641),tw=t(39608),tk=t(29078);let tD=function(e){let{columns:a,data:t,className:i,paginationProps:s,onRowClick:l=()=>{},setRowProps:r=()=>({}),setCellProps:o=()=>({})}=e,{getTableProps:d,getTableBodyProps:c,headerGroups:_,prepareRow:m,page:u,pageOptions:p,gotoPage:h,state:{pageIndex:b}}=(0,eX.useTable)({columns:a,data:t,initialState:{pageIndex:0}},eX.usePagination);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("table",(0,k._)((0,A._)({},d()),{className:i,children:[(0,n.jsx)("thead",{children:_.map(e=>(0,n.jsx)("tr",(0,k._)((0,A._)({},e.getHeaderGroupProps()),{children:e.headers.map(e=>(0,n.jsx)("th",(0,k._)((0,A._)({style:e.style},e.getHeaderProps()),{children:e.render("Header")})))})))}),(0,n.jsx)("tbody",(0,k._)((0,A._)({},c()),{children:u.map(e=>(m(e),(0,n.jsx)("tr",(0,k._)((0,A._)({},e.getRowProps(r(e))),{onClick:()=>l(e),children:e.cells.map(e=>(0,n.jsx)("td",(0,k._)((0,A._)({},e.getCellProps(o(e))),{children:e.render("Cell")})))}))))}))]})),(0,n.jsx)(e2.A,(0,A._)({page:b+1,count:p.length,handleChangePage:(e,a)=>{h(a-1)}},s))]})},tT=(0,D.default)(()=>({transactionDetail__table:{marginTop:"1em",[T.Ay.mobile]:{fontSize:"0.71428571rem"},"& th, td":{[T.Ay.mobile]:{padding:"1rem .25rem"}},[T.Ay.mobile_landscape]:{"& th, td":{padding:"8px .2em","&:nth-child(1)":{wordBreak:"keep-all"},"&:nth-child(2)":{wordBreak:"keep-all"},"&:nth-child(3)":{wordBreak:"keep-all"},"&:nth-child(5)":{wordBreak:"keep-all"},"&:nth-child(6)":{wordBreak:"keep-all"},"&:nth-child(7)":{wordBreak:"keep-all"},"&:nth-child(8)":{wordBreak:"keep-all"},"&:nth-child(9)":{wordBreak:"keep-all"}}},[T.Ay.mobile_portrait]:{"& th":{wordBreak:"keep-all"},"& th, td":{padding:"8px .75vw","&:first-child":{paddingLeft:".5rem",wordBreak:"keep-all"},"&:nth-child(3)":{wordBreak:"keep-all"},"&:nth-child(4)":{wordBreak:"keep-all"},"&:nth-child(5)":{wordBreak:"keep-all"},"&:nth-child(6)":{wordBreak:"keep-all"},"&:nth-child(7)":{wordBreak:"keep-all"},"&:last-child":{paddingRight:".5rem",wordBreak:"keep-all",textAlign:"right"}}}},transactionDetail__pagination:{padding:"20px 0"},transactionDetail__back:{cursor:"pointer",textTransform:"uppercase",fontWeight:900,display:"flex",alignItems:"center",width:"min-content",[T.Ay.mobile]:{padding:"0 0 0 1rem"}},transactionDetail__backIcon:{fontSize:"2em"},transactionDetail__title:{fontSize:"2rem",[T.Ay.mobile]:{padding:"0 1rem",fontSize:"1rem"}}})),tI=(0,tk.A)()(e=>{let{pool:a={},onBack:t=()=>{},getColumns:i,details:s}=e,l=(0,O.F)(),r=tT();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(eo.A,{className:r.transactionDetail__title,children:(0,n.jsx)(tC.x,{i18nKey:"TransactionDetailsTitle",values:{period_code:a.period_count}})}),(0,n.jsx)(tD,{className:(0,c.default)(l.table_primary,r.transactionDetail__table),columns:i,data:ew()(s,"list")||[]}),(0,n.jsx)("div",{className:r.transactionDetail__back,onClick:t,children:(0,n.jsx)(tw.default,{className:r.transactionDetail__backIcon})})]})}),tB=(0,D.default)(()=>({transactionHistory__pageName:{cursor:"pointer"},transactionHistory__content:{[T.Ay.mobile]:{padding:"0 1rem"}},transactionHistory__searchLandscape:{display:"flex",justifyContent:"flex-start",alignItems:"center",marginBottom:"1rem"},transactionHistory__searchContainer:{width:"100%",display:"grid",gridTemplateColumns:"15.5em 15.5rem auto",gridGap:"1em",justifyContent:"flex-start",[T.Ay.mobile]:{gridTemplateColumns:"1fr 1fr auto"},[T.Ay.mobile_portrait]:{gridGap:".5em",gridTemplateColumns:"1.2fr 1fr auto",flex:"unset",fontSize:"0.78571rem"}},transactionHistory__btnSearch:{position:"relative",fontSize:"inherit",textTransform:"uppercase",height:"100%","& svg":{fontSize:"2em"},[T.Ay.mobile_portrait]:{padding:"0 .5em"}},transactionHistory__gridItem:{margin:0,flexBasis:"0"},transactionHistory__table:{[T.Ay.mobile_portrait]:{fontSize:"0.71428571rem"},"& .transHis__hour":(0,A._)({},x.A.transHis__hour),"& .transHis__debitCell":(0,A._)({},x.A.transHis__debit),"& .transHis__creditCell":(0,A._)({},x.A.transHis__credit),"& th, td":{[T.Ay.mobile]:{paddingLeft:".25rem",paddingRight:".25rem","&:first-child":{wordBreak:"keep-all"},"&:nth-child(2)":{wordBreak:"keep-all"},"&:nth-child(4), &:nth-child(5)":{wordBreak:"keep-all"}}}}})),tM=(0,tj.A)({})(e=>{let{setKey:a=()=>{},table:t,options:i,userInputDate:r,handleDateChange:o,userSelectType:d,handleChangeType:_,onSearchData:u,handleRowClick:h,handleBackToHistoryList:b,handleChangePage:x,detail:A,page:j,
1checkCleanUp:v,nextButton:f}=e,y=tB(),C=(0,O.F)(),{t:k}=(0,s.B)(),D=(0,N.Y0)();return m()(A)?(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:y.transactionHistory__content,children:[(0,n.jsx)(N.X8,{children:(0,n.jsx)(eo.A,{text:"TransactionHistory",onClick:()=>a((0,l.A)()),className:y.transactionHistory__pageName})}),v&&(0,n.jsx)("div",{className:"cleaning-up-in-process",children:k("is_in_cleaning_up_process")}),(0,n.jsx)("div",{className:y.transactionHistory__searchLandscape,children:(0,n.jsxs)("form",{className:y.transactionHistory__searchContainer,children:[(0,n.jsx)("div",{className:y.transactionHistory__gridItem,children:(0,n.jsx)(w,{value:r,onChange:o,maxDate:new Date})}),(0,n.jsx)("div",{className:y.transactionHistory__gridItem,children:(0,n.jsx)(eE.A,{value:d,defaultValue:d,options:i,onChange:_,isSearchable:!1,transactionHistory:!0})}),(0,n.jsx)("div",{className:y.transactionHistory__gridItem,children:(0,n.jsx)(g.A,{className:y.transactionHistory__btnSearch,onClick:u,children:D.mobile?(0,n.jsx)(tA.default,{}):k("Search")})})]})}),(0,n.jsx)(p.A,{className:(0,c.default)(C.table_primary,y.transactionHistory__table),table:t,onRowClick:h}),(0,n.jsx)(tN,{page:j,handleChangePage:x,nextButton:f})]})}):(0,n.jsx)(tI,{onBack:b,pool:A})});var tS=t(54625),tR=t(65169);let tL=(0,D.default)(()=>({withdraw__senderTitle:{marginTop:"2em",textTransform:"none"},withdraw__formControl:{marginTop:"1em"},withdraw__formRow:{display:"flex",alignItems:"center",fontWeight:900,marginBottom:"1em"},withdraw__receiveContent:{marginTop:"24px"},withdraw__select:{margin:"0 0 .5rem"},withdraw__formLabel:{display:"flex",justifyContent:"flex-start",alignItems:"center",margin:"0 0 .5em",position:"relative",fontWeight:700},withdraw__outsideBtn:{flex:"unset",height:"3.14285714em",fontSize:"1rem",minHeight:"unset",minWidth:"unset",whiteSpace:"nowrap",padding:"0 1rem","&.icon":{aspectRatio:"1 / 1",minWidth:"unset",padding:"0"},[T.Ay.mobile]:{height:"2.428574em"}},withdraw__noBankAccount:(0,A._)({display:"flex",flexDirection:"column",padding:"1rem",fontWeight:700,gap:"0.5rem"},x.A.selectMethod__item,x.A.input__required),withdraw__noBankAccount__button:{fontSize:"0.9rem"},withdraw__noBankAccount__link:{width:"fit-content"},withdraw__requirements:{display:"flex",flexDirection:"column",gap:"1rem",marginTop:"2rem",marginBottom:"2rem",fontWeight:700},withdraw__requirements__grid:{display:"grid",gridTemplateColumns:"auto 1fr",gap:".5rem 1rem",[T.Ay.desktop]:{width:"80%"},[T.Ay.mobile]:{fontSize:".9rem"}},withdraw__requirements__progress:{display:"flex",alignItems:"center",gap:"1rem",color:x.A.bonus_wd,textAlign:"right",whiteSpace:"nowrap"}})),tF=(0,tR.A)({InformModal:M.A})(e=>{var a,t;let{disableSubmit:l,handleSubmit:r,user:o,fieldErrors:d,password:c,handleChangePassword:_,amount:m,handleChangeInputFormat:u,note:p,bankAccounts:b,hasAnyPaymentAccount:g,loadingBanks:A,freeBetTracking:j,hasConditionToWithdraw:v,bonusList:f,bonusSelecting:y,setBonusSelecting:C,getWithdrawBonusFlatDetails:w}=e,k=tL(),D=ec(),T=eO(),I=(0,N.Y0)(),{t:B}=(0,s.B)(),M=(0,i.useMemo)(()=>(null==y?void 0:y.value)?(0,n.jsxs)("div",{className:T.depositForm__bonusDetail,children:[(0,n.jsx)("div",{className:T.depositForm__bonusDetail__title,children:(0,n.jsx)(h.A,{i18nKey:"BONUS DETAILS"})}),(0,n.jsx)("div",{className:T.depositForm__bonusDetail__eventName,children:y.event_name}),(0,n.jsx)("div",{className:T.depositForm__bonusDetail__details,children:R()(w(y),e=>I.mobile&&("Acceptable Banks"===e.label||"Available Games"===e.label)?(0,n.jsxs)("div",{className:T.depositForm__bonusDetail__detail_m,children:[(0,n.jsxs)("div",{className:T.depositForm__bonusDetail__label_m,children:[(0,n.jsx)(h.A,{i18nKey:e.label}),":"]}),(0,n.jsx)("div",{children:e.value})]},e.label):(0,n.jsxs)(i.Fragment,{children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(h.A,{i18nKey:e.label}),":"]}),(0,n.jsxs)("div",{className:T.depositForm__bonusDetail__details_value,children:[(0,n.jsx)("div",{className:T.depositForm__bonusDetail__line}),(0,n.jsx)("div",{className:T.depositForm__bonusDetail__value,children:e.value})]})]},e.label))})]}):null,[y,T,w,I]);return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:D.profile__tabContent,children:[(0,n.jsx)(N.X8,{children:(0,n.jsx)(eo.A,{text:"Withdraw"})}),(0,n.jsxs)("form",{onSubmit:r,noValidate:!0,children:[(0,n.jsx)("div",{className:D.profile__formTitle,children:(0,n.jsx)(h.A,{i18nKey:"txDestination"})}),(0,n.jsxs)("div",{className:k.withdraw__formRow,children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(h.A,{i18nKey:"txBalance"}),":"]}),"\xa0",(0,n.jsxs)("div",{children:["IDR\xa0",(0,n.jsx)("span",{children:(0,n.jsx)(tm.A,{value:o.credit})})]})]}),(0,n.jsx)(ez,{label:"txWithdrawInfo",options:b,value:eI()(b),helperText:(0,eD.T)(d.bank_account||d.upline_bank_account||d.member_bank_id,{values:d}),Outside:!A&&(g?(0,n.jsx)("div",{className:k.withdraw__noBankAccount,children:(0,n.jsx)(h.A,{i18nKey:"no_withdraw_account"})}):(0,n.jsxs)("div",{className:k.withdraw__noBankAccount,children:[(0,n.jsx)(h.A,{i18nKey:"no_bank_account"}),(0,n.jsx)(tS.N_,{to:"/profile/new-payment-account",className:k.withdraw__noBankAccount__link,children:(0,n.jsx)(Y.A,{type:"button",className:k.withdraw__noBankAccount__button,children:(0,n.jsx)(h.A,{i18nKey:"add_new_bank_account"})})})]}))}),(0,n.jsx)(eB.A,{label:"Bonus",helperText:(0,eD.T)(d.free_bet_event_id,{values:d}),children:(0,n.jsx)(ef.A,{value:null==y?void 0:y.value,classes:{root:T.depositForm__radioGroup},children:R()(f,e=>(0,n.jsx)(ev.A,{value:null==e?void 0:e.value,label:null==e?void 0:e.label,control:(0,n.jsx)(eH.A,{onClick:()=>C(e)}),classes:{root:T.depositForm__radioLabel,label:T.depositForm__radioLabelText}},(null==e?void 0:e.value)===""?"no-bonus":null==e?void 0:e.value))},null==y?void 0:y.value)}),M,(0,n.jsx)(eg.A,{placeholder:B("txWithdrawPasswordPlaceholder"),autoCapitalize:"off",label:(0,n.jsx)(h.A,{i18nKey:"Password"}),type:"password",id:"password",value:c,helperText:d.password,onChange:_,required:!0,disabled:!eI()(b)}),(0,n.jsx)(eg.A,{label:(0,n.jsx)(h.A,{i18nKey:"Withdraw Amount (IDR)"}),placeholder:B("txWithdrawAmountPlaceholder"),id:"amount",required:!0,value:(0,et.A)(m),helperText:d.amount,onChange:u,disabled:!eI()(b),inputProps:{inputMode:"decimal",pattern:"[0-9]*"}}),(0,n.jsx)("div",{className:D.profile__submitBtn,children:(0,n.jsx)(Y.A,{type:"submit",name:"submit",className:D.profile__actionBtn,disable:l||!eI()(b),children:(0,n.jsx)(h.A,{i18nKey:"Submit"})})}),v&&(0,n.jsxs)("div",{className:k.withdraw__requirements,children:[(0,n.jsx)(h.A,{i18nKey:"YOUR WITHDRAWAL REQUIREMENTS"}),(0,n.jsxs)("div",{className:k.withdraw__requirements__grid,children:[(0,n.jsx)(h.A,{i18nKey:"Min Turnover"}),(0,n.jsxs)("div",{className:k.withdraw__requirements__progress,children:[(0,n.jsx)(Z,{percent:null==j||null==(a=j.min_turnover)?void 0:a.progress.replace("%",""),color:null===x.A||void 0===x.A?void 0:x.A.bonus_wd}),(0,n.jsx)("div",{children:null==j||null==(t=j.min_turnover)?void 0:t.min_turnover_requirement})]}),(0,n.jsx)(h.A,{i18nKey:"Min Amount"}),(0,n.jsx)("div",{children:null==j?void 0:j.min_credit}),(0,n.jsx)(h.A,{i18nKey:"Deposit with Min Amount"}),(0,n.jsx)("div",{children:null==j?void 0:j.deposit_with_min_amount})]})]})]}),(0,n.jsx)("div",{className:k.withdraw__receiveContent,children:(0,n.jsx)(L.A,{children:p.content})})]})})}),tz=(0,D.default)(()=>({profilePage:{position:"relative",minHeight:"calc(100vh - 329px)"},profilePage__tab:{position:"relative",marginBottom:"2em"},profilePage__unread:(0,A._)({minWidth:"1.4rem",height:"1.4rem",borderRadius:".7rem",fontSize:".8rem",display:"inline-flex",justifyContent:"center",alignItems:"center",margin:"0 0 0 .3rem",padding:"0 .3rem",fontWeight:900},x.A.memoSidebar__unread)})),tE=(0,o.A)(e=>{let{memoUnread:a}=e,t=tz(),{t:o}=(0,s.B)(),[c,_]=(0,i.useState)((0,l.A)()),m=(0,i.useCallback)(()=>{_((0,l.A)())},[]);return(0,n.jsxs)("div",{className:t.profilePage,children:[(0,n.jsx)(d.A,{}),(0,n.jsx)(i.Suspense,{fallback:(0,n.jsx)(r.A,{skeleton:!0}),children:(0,n.jsxs)(ed.A,{className:t.profilePage__tab,type:"profile",children:[(0,n.jsx)("div",{"data-label":o("Profile"),"data-link":["/profile","/profile/update-contact-info"],children:(0,n.jsx)(tr,{})}),(0,n.jsx)("div",{"data-label":o("TransactionHistory"),"data-link":["/profile/transaction-history"],"data-onClickTab":m,children:(0,n.jsx)(tM,{setKey:_},c)}),(0,n.jsx)("div",{"data-label":o("Deposit"),"data-link":["/profile/deposit","/profile/new-payment-account"],children:(0,n.jsx)(eZ,{})}),(0,n.jsx)("div",{"data-label":o("Withdraw"),"data-link":["/profile/withdraw"],children:(0,n.jsx)(tF,{})}),(0,n.jsx)("div",{"data-label":o("Referral"),"data-link":["/profile/referral","/profile/referral/list"],children:(0,n.jsx)(tg,{})}
1),(0,n.jsx)("div",{"data-label":o("Bonus Tracking"),"data-link":["/profile/bonus"],children:(0,n.jsx)(er,{})}),(0,n.jsx)("div",{"data-label":o("Offer"),"data-link":["/profile/offer"],children:(0,n.jsx)(aM,{})}),(0,n.jsx)("div",{"data-label":(0,n.jsxs)(n.Fragment,{children:[o("Memo"),a?(0,n.jsx)("span",{className:t.profilePage__unread,children:a}):""]}),"data-link":["/profile/memo"],children:(0,n.jsx)(aT,{})})]})})]})})},43926(e,a,t){"use strict";t.d(a,{A:()=>r});var n=t(12860);let i={fontFamily:'"Open Sans", '.concat(n.p),fontWeight:400},s={fontFamily:'"Open Sans", '.concat(n.p),fontWeight:700},l={fontFamily:'"Segoe UI", '.concat(n.p),fontWeight:400},r={fontNormal:i,fontBold:s,fontSegoeUIBold:{fontFamily:'"Segoe UI", '.concat(n.p),fontWeight:700},fontSegoeUI:l}}}]);
2//# sourceMappingURL=27928.e24ce689.js.map

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.