PageSourceSearch

https://vigorjpo.com/static/js/async/19993.9076e812.js

js vigorjpo.com collected 2026-10-09 22:47:28 UTC 42,242 bytes, 2 lines download raw bytes

1(self.webpackChunklottery=self.webpackChunklottery||[]).push([["19993"],{43292(e,t,n){"use strict";n.d(t,{A:()=>c});var a=n(96540),o=n(40961),i=n(61475),r=n(74801),s=n(22319);function l(e){return e.substring(2).toLowerCase()}let c=function(e){var t=e.children,n=e.disableReactTree,c=void 0!==n&&n,d=e.mouseEvent,_=void 0===d?"onClick":d,p=e.onClickAway,u=e.touchEvent,m=void 0===u?"onTouchEnd":u,g=a.useRef(!1),h=a.useRef(null),f=a.useRef(!1),b=a.useRef(!1);a.useEffect(function(){return setTimeout(function(){f.current=!0},0),function(){f.current=!1}},[]);var x=a.useCallback(function(e){h.current=o.findDOMNode(e)},[]),v=(0,r.A)(t.ref,x),A=(0,s.A)(function(e){var t=b.current;if(b.current=!1,!(!f.current||!h.current||document.documentElement.clientWidth<e.clientX||document.documentElement.clientHeight<e.clientY)){if(g.current){g.current=!1;return}(e.composedPath?e.composedPath().indexOf(h.current)>-1:!(0,i.A)(h.current).documentElement.contains(e.target)||h.current.contains(e.target))||!c&&t||p(e)}}),k=function(e){return function(n){b.current=!0;var a=t.props[e];a&&a(n)}},j={ref:v};return!1!==m&&(j[m]=k(m)),a.useEffect(function(){if(!1!==m){var e=l(m),t=(0,i.A)(h.current),n=function(){g.current=!0};return t.addEventListener(e,A),t.addEventListener("touchmove",n),function(){t.removeEventListener(e,A),t.removeEventListener("touchmove",n)}}},[A,m]),!1!==_&&(j[_]=k(_)),a.useEffect(function(){if(!1!==_){var e=l(_),t=(0,i.A)(h.current);return t.addEventListener(e,A),function(){t.removeEventListener(e,A)}}},[A,_]),a.createElement(a.Fragment,null,a.cloneElement(t,j))}},73486(e,t,n){"use strict";n.d(t,{A:()=>d});var a=n(58168),o=n(80045),i=n(96540),r=n(20053),s=n(32150),l=n(76171),c=i.forwardRef(function(e,t){var n=e.children,s=e.classes,c=e.className,d=e.component,_=e.dense,p=void 0!==_&&_,u=e.disablePadding,m=e.subheader,g=(0,o.A)(e,["children","classes","className","component","dense","disablePadding","subheader"]),h=i.useMemo(function(){return{dense:p}},[p]);return i.createElement(l.A.Provider,{value:h},i.createElement(void 0===d?"ul":d,(0,a.A)({className:(0,r.default)(s.root,c,p&&s.dense,!(void 0!==u&&u)&&s.padding,m&&s.subheader),ref:t},g),m,n))});let d=(0,s.A)({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(c)},76171(e,t,n){"use strict";n.d(t,{A:()=>a});let a=n(96540).createContext({})},71846(e,t,n){"use strict";n.d(t,{A:()=>l});var a=n(96540),o=n(40961),i=n(24960),r=n(74801),s="u">typeof window?a.useLayoutEffect:a.useEffect;let l=a.forwardRef(function(e,t){var n=e.children,l=e.container,c=e.disablePortal,d=void 0!==c&&c,_=e.onRendered,p=a.useState(null),u=p[0],m=p[1],g=(0,r.A)(a.isValidElement(n)?n.ref:null,t);return(s(function(){var e;d||m((e="function"==typeof(e=l)?e():e,o.findDOMNode(e)||document.body))},[l,d]),s(function(){if(u&&!d)return(0,i.A)(t,u),function(){(0,i.A)(t,null)}},[t,u,d]),s(function(){_&&(u||d)&&_()},[_,u,d]),d)?a.isValidElement(n)?a.cloneElement(n,{ref:g}):n:u?o.createPortal(n,u):u})},6674(e,t,n){"use strict";function a(){var e=document.createElement("div");e.style.width="99px",e.style.height="99px",e.style.position="absolute",e.style.top="-9999px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}n.d(t,{A:()=>a})},83915(e,t,n){var a=n(38859),o=n(15325),i=n(29905),r=n(34932),s=n(27301),l=n(19219);e.exports=function(e,t,n,c){var d=-1,_=o,p=!0,u=e.length,m=[],g=t.length;if(!u)return m;n&&(t=r(t,s(n))),c?(_=i,p=!1):t.length>=200&&(_=l,p=!1,t=new a(t));e:for(;++d<u;){var h=e[d],f=null==n?h:n(h);if(h=c||0!==h?h:0,p&&f==f){for(var b=g;b--;)if(t[b]===f)continue e;m.push(h)}else _(t,f,c)||m.push(h)}return m}},32629(e,t,n){var a=n(9999);e.exports=function(e){return a(e,4)}},66245(e,t,n){var a=n(83915),o=n(83120),i=n(69302),r=n(83693);e.exports=i(function(e,t){return r(e)?a(e,o(t,1,r,!0)):[]})},90972(e,t,n){"use strict";n.d(t,{A:()=>d});var a=n(71893),o=n(55456),i=n(74848),r=n(96540),s=n(20125),l=n(58156),c=n.n(l);let d=e=>(0,r.forwardRef)((t,n)=>{let r=(0,s.d)(e=>e.user),l=c()(r,"display_name","")||c()(r,"username","");return(0,i.jsx)(e,(0,o._)((0,a._)({ref:n},t),{user:r,displayName:l}))})},90311(e,t,n){"use strict";n.d(t,{A:()=>p});var a=n(71893),o=n(55456),i=n(31105),r=n(74848),s=n(96540),l=n(20125),c=n(56347),d=n(25176),_=n(72050);let p=e=>(0,s.forwardRef)((t,n)=>{let[p,...u]=[t,n],{userInput:m,fieldErrors:g={},handleSubmit:h,handleInputChange:f,handleKeyPress:b,handleChangeCaptchaId:x,renderLoginButtonLabel:v,disableLoginButton:A}
1=p,k=(0,i._)(p,["userInput","fieldErrors","handleSubmit","handleInputChange","handleKeyPress","handleChangeCaptchaId","renderLoginButtonLabel","disableLoginButton"]),[j]=u,[w,L]=(0,d.L4)(_.UW),[y,N]=(0,s.useState)(!0),D=(0,c.useLocation)(),C=(0,c.useHistory)(),T=(0,l.d)(e=>e.auth),I=(0,s.useCallback)(()=>{"/register"===D.pathname?C.go():L(()=>!0)},[D.pathname,C,L]),B=(0,s.useCallback)(()=>{L(()=>!1)},[L]),R=(0,s.useCallback)(()=>{N(e=>!e)},[]);return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(e,(0,o._)((0,a._)({ref:j},k),{userInput:m,fieldErrors:g,handleSubmit:h,handleInputChange:f,handleKeyPress:b,handleChangeCaptchaId:x,auth:T,renderLoginButtonLabel:v,disableLoginButton:A,openModalRegister:w,isShowPassword:y,onToggleShowPassword:R,onCloseModalRegister:B,onOpenModalRegister:I}))})})},69894(e,t,n){"use strict";n.d(t,{A:()=>u});var a=n(71893),o=n(74848),i=n(96540),r=n(96338),s=n(20125),l=n(58156),c=n.n(l),d=n(72914),_=n(26655),p=n(74646);let u=e=>t=>{let n=(0,r.w)(),l=(0,s.d)(e=>e.auth),u=(0,s.d)(e=>e.memoUnread),m=(0,i.useCallback)(e=>{n((0,p.Y)(c()(e,"total.unread")))},[n]);return(0,o.jsxs)(o.Fragment,{children:[l.token&&(0,o.jsx)(_.A,{apiFunc:()=>d.A.getMemoList({page:1,page_size:1}),setData:m}),(0,o.jsx)(e,(0,a._)({memoUnread:u},t))]})}},87232(e,t,n){"use strict";n.d(t,{A:()=>w});var a=n(71893),o=n(55456),i=n(74848),r=n(96540),s=n(96338),l=n(20125),c=n(21585),d=n.n(c),_=n(62193),p=n.n(_),u=n(55378),m=n.n(u),g=n(37530),h=n.n(g),f=n(25176),b=n(22418),x=n(26655),v=n(37730),A=n(98382),k=n(56232),j=n(77772);let w=e=>{let{NotificationModal:t,page_size:n=10,isNavbar:c=!1}=e;return e=>_=>{let u=(0,k.Y0)(),g=(0,l.d)(e=>e.notification.read),w=(0,s.w)(),[L,y]=(0,r.useState)({list:[],total_size:0}),N=(0,r.useMemo)(()=>m()(L.list,e=>(0,o._)((0,a._)({},e),{unRead:-1===d()(g,e.id)})),[L,g]),[D,C]=(0,r.useState)(!1),[T,I]=(0,r.useState)(),B=(0,r.useCallback)(e=>{c||(C(!0),I(e))},[]),[R,E]=(0,r.useState)(1),[S,M]=(0,r.useState)([]),[z,P]=(0,r.useState)([]),F=(0,r.useCallback)((e,t)=>{E(t)},[]);(0,r.useEffect)(()=>{let e=(R-1)*n;M(h()(N,e,e+n))},[N,R]),(0,r.useEffect)(()=>{p()(T)||w((0,A.Y)(T.id))},[w,T]),(0,r.useEffect)(()=>{let e=()=>{P(Math.random())};return window.addEventListener("focus",e),()=>{window.removeEventListener("focus",e)}},[]);let[H,W]=(0,f.L4)(j.f),K=(0,r.useMemo)(()=>!!H&&"granted"!==H&&(!u.desktop||!!c),[H,u]),V=(0,r.useCallback)(()=>{H&&("denied"===H?w((0,v.p)("err_notifications_denied")):Notification.requestPermission().then(()=>{W(Notification.permission)}))},[H,w,W]);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(x.A,{apiFunc:()=>(0,b.A)("app_notification",null,1e4),setData:y,deps:[z],loaderEffect:!1}),t&&(0,i.jsx)(t,{open:D,handleClose:()=>C(!1),notification:T}),(0,i.jsx)(e,(0,o._)((0,a._)({},_),{data:L,handleOpenNotification:B,notifications:N,page:R,handleChangePage:F,countPage:Math.ceil(L.total_size/n),dataPagination:S,showTurnOnNotifications:K,requestPermission:V,isNavbar:c}))]})}}},11321(e,t,n){"use strict";n.d(t,{A:()=>_});var a=n(71893),o=n(55456),i=n(74848),r=n(96540),s=n(18492),l=n(22708),c=n(86161),d=n(23245);let _=e=>t=>{let[n,_]=(0,r.useState)(!1),[p,u]=(0,r.useState)(null),{i18n:m}=(0,s.B)();(0,r.useEffect)(()=>{if(m.language){let e=c.A.find(e=>e.code===m.language);e&&((0,d.JK)()&&(0,d.y)("language",{lang:e.code}),u(e),document.documentElement.setAttribute("lang",e.code))}},[m.language]);let g=(0,r.useCallback)(()=>{_(!1)},[]),h=(0,r.useCallback)(()=>{_(e=>!e)},[]),f=(0,r.useCallback)(e=>{u(e),_(!1),m.changeLanguage(e.code),localStorage.setItem("i18nextLng",e.code)},[m]);return l.N.length<=1?null:(0,i.jsx)(e,(0,o._)((0,a._)({},t),{currentLanguage:p,openDropdownLanguage:n,onCloseDropDownLanguage:g,toggleDropDownLanguage:h,onSelectLanguage:f}))}},30529(e,t,n){"use strict";n.d(t,{A:()=>i});var a=n(96540),o=n(56347);let i=()=>{let e=(0,o.useLocation)();return(0,a.useCallback)(function(t){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a="/"===t;return(0,o.matchPath)(e.pathname,{path:t,exact:n||a,strict:a})},[e.pathname])}},56165(e,t,n){"use strict";n.d(t,{A:()=>d});var a=n(96540),o=n(83850),i=n(56347),r=n(85178),s=n(15632),l=n(80752),c=n(37730);let d=()=>{let{enabled:e}=(()=>{let e=(0,i.useLocation)(),t=(0,i.useHistory)(),n=(0,o.wA)(),d=(0,o.d4)(e=>e.auth),[_]=(0,l.A)({apiFunc:()=>(0,r.A)("bonus_battles/is_enabled"),loaderEffect:!1,errorPopup:!1}),p=(0,a.useMemo)(()=>(null==_?void 0:_.is_enabled)!==!1,[_]),[u]=(0,l.A)({apiFunc:()=>(0,s.A)("bonus_battles/get_unfinished_battle"),enableFetch:!!(null==d?void 0:d.token)&&null!==_&&p,loaderEffect:!1,errorPopup:p});return(0,a.useEffect)(()=>{(null==d?void 0:d.acceptTerms)&&p&&(null==u?void 0:u.id)&&e.pathname!=="/bonus-battles/detail/".concat(null==u?void 0:u.id)&&n((0,c._)({messages:[{message:"bonus_battle_not_closed_yet"}]}))},[null==d?void 0:d.acceptTerms,null==u?void 0:u.id,n,p]),(0,a.useEffect)(()=>{null!==_&&!p&&e.pathname.startsWith("/bonus-battles")&&t.replace("/")},[e.pathname,t,_,p]),{enabled:p}})();return{linkBonusBattlesPage:(0,a.useMemo)(()=>e?"/bonus-battles":"#",[e]),enabled:e}}},92127(e,t,n){"use strict";n.d(t,{A:()=>i});var a=n(96540),o=n(82459);let i=()=>{let{enabled:e}=(0,o.A)();return{linkMembershipPage:(0,a.useMemo)(()=>e?"/membership":"#",[e])}}},82459(e,t,n){"use strict";n.d(t,{A:()=>s});var a=n(96540),o=n(56347),i=n(85178),r=n(80752);let s=()=>{let e=(0,o.useLocation)(),t=(0,o.useHistory)(),[n]=(0,r.A)({apiFunc:()=>(0,i.A)("member_tiers"),loaderEffect:!1}),s=(0,a.useMemo)(()=>(null==n?void 0:n.is_enabled)!==!1,[n]);return(0,a.useEffect)(()=>{"/membership"!==e.pathname||s||t.replace("/")},[e.pathname,t,n,s]),{membership:n,enabled:s}}},38338(e,t,n){"use strict";n.d(t,{A:()=>b});var a=n(96540),o=n(96338),i=n(20125),r=n(66245),s=n.n(r),l=n(87612),c=n.n(l),d=n(7309),_=n.n(d),p=n(58156),u=n.n(p),m=n(62193),g=n.n(m),h=n(22418),f=n(98382);let b=()=>{let e=(0,o.w)(),t=(0,i.d)(e=>e.notification.read),[n,r]=(0,a.useState)({list:[],total_size:0}),l=(0,a.useMemo)(()=>Math.max(n.total_size-u()(t,"length",0),0),[n.total_size,t]);return(0,a.useEffect)(()=>
1{if(g()(n.list))return;let a=c()(t,e=>_()(n.list,t=>t.id===e));g()(s()(a,t))&&g()(s()(t,a))||e((0,f.b)(a))},[e,n.list,t]),(0,a.useEffect)(()=>{(async()=>{let e=await (0,h.A)("app_notification",null,1e4);u()(e,"data.success")&&r(u()(e,"data.data"))})()},[]),l}},74646(e,t,n){"use strict";n.d(t,{Y:()=>o});var a=n(77024);let o=e=>({type:a.wZ,payload:e})},98382(e,t,n){"use strict";n.d(t,{Y:()=>o,b:()=>i});var a=n(77024);let o=e=>({type:a.Mh,payload:e}),i=e=>({type:a.Rk,payload:e})},84943(e,t,n){"use strict";n.d(t,{A:()=>i});var a=n(21585),o=n.n(a);let i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return o()(e,t)>=0}},93108(e,t,n){"use strict";n.d(t,{A:()=>o});var a=n(96540);function o(e,t){let n=(0,a.useCallback)(n=>{!e.current||e.current.contains(n.target)||t(n)},[t,e]);(0,a.useEffect)(()=>(document.addEventListener("mousedown",n),document.addEventListener("touchstart",n),()=>{document.removeEventListener("mousedown",n),document.removeEventListener("touchstart",n)}),[n])}},18246(e,t,n){"use strict";n.d(t,{A:()=>s});var a=n(71893),o=n(55456),i=n(74848);n(96540);var r=n(41728);let s=e=>(0,i.jsx)(r.A,(0,o._)((0,a._)({viewBox:"0 0 24.303 24.303"},e),{children:(0,i.jsx)("path",{d:"M10.269,11.298V1.883C10.269,0.844,11.113,0,12.152,0s1.883,0.844,1.883,1.883v9.415   c0,1.039-0.844,1.883-1.883,1.883S10.269,12.337,10.269,11.298z M19.616,2.761c-0.61-0.483-1.5-0.377-1.983,0.234   c-0.483,0.612-0.378,1.5,0.234,1.984c2.24,1.767,3.524,4.413,3.524,7.261c0,5.094-4.145,9.239-9.238,9.239   c-5.094,0-9.239-4.145-9.239-9.239c0-2.847,1.283-5.492,3.521-7.258c0.612-0.483,0.717-1.371,0.234-1.984   c-0.483-0.612-1.37-0.716-1.984-0.234C1.764,5.069,0.089,8.523,0.089,12.24c0,6.652,5.412,12.063,12.063,12.063   s12.063-5.412,12.063-12.063C24.215,8.521,22.538,5.067,19.616,2.761z"})}))},55411(e,t,n){"use strict";n.d(t,{A:()=>s});var a=n(71893),o=n(55456),i=n(74848);n(96540);var r=n(41728);let s=e=>(0,i.jsx)(r.A,(0,o._)((0,a._)({viewBox:"0 0 145 174"},e),{children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M72.501 32.625C50.5107 32.625 32.625 50.5098 32.625 72.5V92.7129C32.625 110.266 24.9336 126.838 11.5283 138.17C11.3594 138.314 11.1265 138.562 10.9893 138.924C10.9199 139.107 10.875 139.32 10.875 139.562C10.875 140.014 11.0479 140.43 11.3296 140.75C11.6641 141.131 12.1528 141.375 12.6885 141.375H50.751H94.251H132.313C133.298 141.375 134.125 140.549 134.125 139.562C134.125 138.838 133.727 138.389 133.487 138.186C120.067 126.838 112.375 110.266 112.375 92.7129V72.5C112.375 50.5098 94.4897 32.625 72.501 32.625ZM67.0635 5.4375V22.0391C41.6255 24.7598 21.75 46.3516 21.75 72.5V92.7129C21.75 107.061 15.4644 120.604 4.43799 129.92C1.6167 132.334 0 135.85 0 139.562C0 146.559 5.69092 152.25 12.6885 152.25H45.8594C48.3848 164.645 59.3696 174 72.501 174C85.6323 174 96.6172 164.645 99.1426 152.25H132.313C139.31 152.25 145 146.559 145 139.562C145 135.85 143.383 132.334 140.491 129.869C129.536 120.604 123.25 107.061 123.25 92.7129V72.5C123.25 46.3516 103.375 24.7598 77.9385 22.0391V5.4375C77.9385 2.43555 75.5024 0 72.501 0C69.4995 0 67.0635 2.43555 67.0635 5.4375ZM72.501 163.125C79.5918 163.125 85.6387 158.58 87.8823 152.25H57.1196C59.3628 158.58 65.4087 163.125 72.501 163.125Z"})}))},92683(e,t,n){"use strict";n.d(t,{A:()=>h});var a=n(74848),o=n(96540),i=n(87270),r=n(20053),s=n(58156),l=n.n(s),c=n(11321),d=n(86161),_=n(93108),p=n(93796),u=n(67729),m=n(32994);let g=(0,p.default)(()=>({selectLanguage:{position:"relative"},dropDownLanguage:{position:"relative",padding:"0 .5em",background:u.A.lang_bg,color:u.A.lang_txt,border:u.A.lang_bd,display:"flex",alignItems:"center",justifyContent:"space-between",width:"13em",height:36,borderRadius:18,zIndex:11,cursor:"pointer",[m.Ay.mobile]:{height:"2.5em",borderRadius:"1.25em",border:u.A.lang_m_bd,background:u.A.lang_m_bg,color:u.A.lang_m_txt}},dropDownLanguage_open:{borderBottomLeftRadius:0,borderBottomRightRadius:0},dropDownLeft:{display:"flex",alignItems:"center"},countryFlag:{width:27,height:27,marginRight:10,objectFit:"cover",borderRadius:"50%",border:"2px s
1olid ".concat(u.A.lang_flag),[m.Ay.mobile]:{width:"1.75em",height:"1.75em",marginRight:".75em"}},language:{textTransform:"uppercase",lineHeight:"1em"},listLanguageDropdown:{zIndex:12,background:u.A.lang_bg,color:u.A.lang_txt,border:u.A.lang_bd,borderTop:"none",padding:0,position:"absolute",top:"calc(100% - 1px)",listStyle:"none",width:"13em",borderRadius:"0 0 18px 18px",overflow:"hidden",margin:0,[m.Ay.mobile]:{top:"calc(100% - 1px)",border:u.A.lang_m_bd,background:u.A.lang_m_bg,color:u.A.lang_m_txt},"& li":{padding:"1em",display:"flex",alignItems:"center",cursor:"pointer","&:hover":{background:u.A.lang_hv_bg,color:u.A.lang_hv_txt}}}})),h=(0,c.A)(e=>{let{currentLanguage:t,openDropdownLanguage:n,toggleDropDownLanguage:s,onCloseDropDownLanguage:c,onSelectLanguage:p}=e,u=g(),m=(0,o.useRef)();(0,_.A)(m,c);let h=(0,o.useCallback)(()=>n?(0,a.jsx)("ul",{className:u.listLanguageDropdown,children:d.A.map(e=>(0,a.jsxs)("li",{className:u.itemLanguageDropdown,onClick:()=>p(e),children:[(0,a.jsx)("img",{src:e.flag,alt:"flag",className:u.countryFlag}),(0,a.jsx)("span",{className:u.language,children:e.language})]},e.id))}):"",[u,n,p]);return(0,a.jsxs)("div",{className:u.selectLanguage,ref:m,children:[(0,a.jsxs)("div",{className:(0,r.default)(u.dropDownLanguage,n&&u.dropDownLanguage_open),onClick:s,children:[(0,a.jsxs)("div",{className:u.dropDownLeft,children:[(0,a.jsx)("img",{src:l()(t,"flag"),alt:"flag",className:u.countryFlag}),(0,a.jsx)("span",{className:u.language,children:l()(t,"language")})]}),(0,a.jsx)("div",{className:u.dropDownRight,children:(0,a.jsx)(i.default,{})})]}),h()]})})},48057(e,t,n){"use strict";n.d(t,{A:()=>u});var a=n(74848);n(96540);var o=n(54625),i=n(20053),r=n(62193),s=n.n(r),l=n(55378),c=n.n(l),d=n(59545),_=n(55411),p=n(25520);let u=e=>{let{notifications:t=[],dataPagination:n=[],handleOpenNotification:r=()=>{},showTurnOnNotifications:l,requestPermission:u}=e,m=(0,p.I)();return(0,a.jsxs)(a.Fragment,{children:[l&&(0,a.jsxs)("div",{className:m.notification__memo,onClick:u,children:[(0,a.jsx)(_.A,{className:m.notification__memoIc}),(0,a.jsx)(d.A,{i18nKey:"turn on notifications"})]}),(0,a.jsx)("div",{className:"whitespace-break-spaces",children:s()(t)?(0,a.jsx)(d.A,{i18nKey:"NoNotificationTip"}):c()(n,e=>(0,a.jsxs)(o.N_,{to:"/notification",className:(0,i.default)({[m.notification__item]:!0,[m.notification__item_unread]:e.unRead}),onClick:()=>r(e),children:[(0,a.jsx)("div",{className:m.notification__item__title,children:e.title}),(0,a.jsx)("div",{className:m.notification__item__date,children:e.created_at}),(0,a.jsx)("div",{className:m.notification__item__content,children:e.content})]},e.id))})]})}},25520(e,t,n){"use strict";n.d(t,{I:()=>c});var a=n(71893),o=n(55456),i=n(93796),r=n(67729),s=n(32994),l=n(22598);let c=(0,i.default)(()=>({notificationPage:{[s.Ay.desktop]:{padding:"0 1rem",maxWidth:"42rem !important"}},notification__title:{margin:"1rem 0 !important"},notification__item:{background:r.A.noti_bg,color:r.A.noti_txt,padding:"1rem",borderRadius:"1rem",cursor:"pointer",display:"block","&:not(:last-child)":{marginBottom:"1rem"}},notification__item__title:(0,o._)((0,a._)({fontSize:"1.133333rem"},l.A.fontBold),{display:"-webkit-box",lineClamp:2,boxOrient:"vertical",whiteSpace:"normal",overflow:"hidden"}),notification__item__date:{color:r.A.noti_date_txt},notification__item__content:{borderTop:"1px solid ".concat(r.A.noti_txt),paddingTop:".5em",marginTop:".5em",display:"-webkit-box",lineClamp:3,boxOrient:"vertical",whiteSpace:"normal",overflow:"hidden"},notification__item_unread:{background:r.A.noti_bg_unread,boxShadow:r.A.noti_sd_unread,border:r.A.noti_bd_unread},notification__memo:(0,a._)({width:"100%",height:"3.52rem",fontSize:"1.12rem",textTransform:"uppercase",display:"flex",justifyContent:"center",alignItems:"center",gap:".5rem",borderRadius:".32rem",marginBottom:"1rem",cursor:"pointer"},l.A.fontBold,r.A.notification__memo),notification__memoIc:(0,a._)({width:"2rem",height:"2rem",padding:".4rem",borderRadius:"50%"},r.A.notification__memoIc)}))},48805(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>eX});var a=n(74848),o=n(96540),i=n(56347),r=n(93796),s=n(84606),l=n(83753),c=n(86552),d=n(67729),_=n(18742),p=n(62193),u=n.n(p),m=n(81126),g=n(51953),h=n(57423),f=n(33433);let b=(0,r.default)(()=>({contactDesktop__list:{boxSizing:"content-box !important",flexDirection:"column",borderRadius:".75em",position:"fixed",right:"1em",top:"15em",width:"fit-content",padding:"1em",background:d.A.contact_bg||d.A.contact_d_bg,display:"flex",justifyContent:"center",alignItems:"center",flexFlow:"wrap",zIndex:1e3,"&:hover $contactDesktop__info":{width:"9em",margin:"0 .5em .2em 0",o
1pacity:1}},contactDesktop__row:{display:"flex",alignItems:"center",justifyContent:"flex-start",width:"100%",background:d.A.contact_item_bg,color:d.A.contact_item_txt,height:"3em",borderRadius:"1.5em",margin:".5em 0","&:first-child":{marginTop:"0"},"&:last-child":{marginBottom:"0"}},contactDesktop__icon:{width:"3em",height:"3em",borderRadius:"50%",fontSize:"inherit",background:d.A.contact_item_bg,color:d.A.contact_item_txt},contactDesktop__info:{margin:0,width:0,opacity:0,transition:"all .5s",fontSize:17,fontWeight:"bold",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",wordBreak:"normal"}})),x=(0,g.A)(()=>{let e=b(),t=(0,h.A)(),n=(0,o.useMemo)(()=>(0,f.A)(t),[t]);return(0,a.jsx)(a.Fragment,{children:!u()(n)&&(0,a.jsx)("div",{className:e.contactDesktop__list,children:(0,a.jsx)(m.A,{contactList:n,className:e.contactDesktop__row,children:t=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t.icon,{className:e.contactDesktop__icon}),(0,a.jsx)("div",{className:e.contactDesktop__info,children:t.info})]})})})})});var v=n(51153),A=n(25650),k=n(37877),j=n(71893),w=n(55456),L=n(20125),y=n(54625),N=n(20053),D=n(32629),C=n.n(D),T=n(37530),I=n.n(T),B=n(30440),R=n(59545),E=n(40292),S=n(30529),M=n(56165),z=n(92127),P=n(22598);let F=(0,r.default)(()=>({navbarDesktop__wrap:{minHeight:"".concat(10.56,"rem")},navbarDesktop__headerTop:{display:"flex",justifyContent:"space-between",alignItems:"center",height:70,padding:"0 1em",background:d.A.navDesk_bg},navbarDesktop__headerTop_left:{display:"flex",alignItems:"center",gap:"".concat(.8,"rem")},navbarDesktop__couponIconWrapper:{display:"flex",alignItems:"center"},navbarDesktop__couponIcon:{width:"auto",height:"".concat(3.52,"rem"),display:"block",minHeight:"".concat(3.52,"rem"),objectFit:"contain"},navbarDesktop__menu:{position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",height:62,overflow:"visible",padding:"0 1em",gap:"".concat(.8,"rem"),color:d.A.menu_txt,background:d.A.menu_bg,boxShadow:d.A.menu_sd,border:d.A.menu_bd},navbarDesktop__pageLogo:{position:"relative",zIndex:3,cursor:"pointer",height:70,width:273,display:"flex",justifyContent:"center",alignItems:"center",alignSelf:"start",background:d.A.menu_logo_bg,margin:"0 ".concat(2.4,"rem"),top:d.A.menu_logo_top||0,filter:"drop-shadow(".concat(d.A.menu_logo_sd,")"),"& img":{width:"100%",height:d.A.menu_logo_height||"100%",objectFit:"contain",zIndex:2,background:d.A.menu_logo_bg}},navbarDesktop__pageLogo__img:{width:"100%",height:"100%",display:"block"},navbarDesktop__pageLogo_before:(0,j._)({position:"absolute",left:-32,width:"calc(50% + 45px)",height:"100%",zIndex:1,transform:"skew(20deg)",background:d.A.menu_logo_bg_before||d.A.menu_logo_bg,borderRadius:"0 0 0 20px",border:"2px solid transparent"},d.A.navbarDesktop__pageLogo_after),navbarDesktop__pageLogo_after:(0,j._)({position:"absolute",right:-32,width:"calc(50% + 45px)",height:"100%",zIndex:1,transform:"skew(-20deg)",background:d.A.menu_logo_bg_after||d.A.menu_logo_bg,borderRadius:"0 0 20px 0",border:"2px solid transparent",borderLeft:0},d.A.navbarDesktop__pageLogo_after),navbarDesktop__listNav:{zIndex:2,display:"flex",alignItems:"center",justifyContent:"space-between",listStyle:"none",padding:0,flex:1,"&:last-child $navbarDesktop__navItem":{padding:"0 .5em .2em"}},navbarDesktop__navItem:{display:"flex",alignItems:"center",textTransform:"uppercase",height:30,borderRadius:15,padding:"0 1em .2em",margin:"1.5rem 0",position:"relative","&:hover $navbar__group__wrap":{transform:"translateX(0) translateY(0%)",visibility:"visible"},"& a":{textDecoration:"none",whiteSpace:"pre"}},navbarDesktop__navItemActive:(0,w._)((0,j._)({},P.A.fontBold),{color:d.A.menu_active_txt,background:d.A.menu_active_bg,transition:"all 0.3s ease-in-out"}),navbar__group:(0,w._)((0,j._)({display:"flex",flexDirection:"column",padding:0,borderRadius:"10px"},d.A.navbar__group),{marginTop:"1rem",overflow:"hidden"}),navbar__group__wrap:{position:"absolute",top:"2rem",left:"-1rem",zIndex:10,transition:"transform 0.3s, opacity 0.3s",transform:"translateX(0) translateY(30%)",visibility:"hidden"},navbar__popper__item:(0,w._)((0,j._)({width:"100%",display:"flex",justifyContent:"start",padding:"1rem 1.5rem",cursor:"pointer",fontSize:"12px",fontWeight:600,overflow:"hidden"},d.A.navbar__popper__item),{"&:hover":(0,w._)((0,j._)({},d.A.navbar__popper__active),{fontWeight:700})}),navbar__popper__active:(0,j._)({fontWeight:700},d.A.navbar__popper__active)})),H=()=>{let e=F(),t=(0,i.useHistory)(),n=(0,i.useLocation)(),r=(0,L.d)(e=>e.base.logo),s=(0,S.A)(),{linkMembershipPage:l}=(0,z.A)(),{linkBonusBattlesPage:c,enabled:d}=(0,M.A)(),_=(0,o.useMemo)(()=>[{name:"headerHome",path:"/"},{name:"Sports",path:["/sports"]},{name:"headerSlot",path:["/slot"]},{name:"Casino",path:["/casino"]},{name:"headerTogel",path:["/togel"]},{name:"Fishing Game",path:["/tembak-ikan"]},...E.Es?[{name:"Live Game",path:["/live-game"]}]:[],{name:"Others",path:["/others"]},...E.Es?[]:[{name:"Mobile",path:["/mobile"]}],{name:"WAP",path:["/wap"],linkProps:{target:"_blank",rel:"noopener noreferrer"}},{name:"headerPromo",path:["/promo","/membership","/bonus-battles"],subMenu:[{name:"headerPromo",path:"/promo"},{name:"membership",path:l},...d?[{name:"Bonus Battles",path:c}]:[]]},...E.Es?[{name:"Guide",path:["/guide","/mobile"],subMenu:[{name:"Guide",path:"/guide"},{name:"Mobile",path:"/mobile"}]}]:[{name:"Guide",path:["/guide"]}]],[d,c,l]),p=(0,o.useCallback)(t=>(0,a.jsxs)("div",{className:(0,N.default)({[e.navbarDesktop__navItem]:!0,[e.navbarDesktop__navItemActive]:s(t.path)}),children:[(0,a.jsx)(y.N_,(0,w._)((0,j._)({to:t.path[0]},t.linkProps),{children:(0,a.jsx)(R.A,{i18nKey:t.name})}
1)),(0,a.jsx)("div",{className:e.navbar__group__wrap,children:(null==t?void 0:t.subMenu)&&(0,a.jsx)("div",{className:e.navbar__group,children:null==t?void 0:t.subMenu.map(t=>(0,a.jsx)(y.N_,{to:t.path,className:(0,N.default)(e.navbar__popper__item,{[e.navbar__popper__active]:n.pathname.includes(t.path)}),children:(0,a.jsx)(R.A,{i18nKey:t.name})},t.path))})})]},t.path),[e,s,n.pathname]);return(0,a.jsxs)("nav",{className:e.navbarDesktop__menu,children:[(0,a.jsx)("div",{className:e.navbarDesktop__listNav,children:I()(C()(_),0,5).map(p)}),(0,a.jsxs)("div",{className:e.navbarDesktop__pageLogo,onClick:()=>t.push("/"),children:[(0,a.jsx)("div",{className:e.navbarDesktop__pageLogo_before}),r&&(0,a.jsx)(B.A,{src:r,alt:"page-logo",className:e.navbarDesktop__pageLogo__img}),(0,a.jsx)("div",{className:e.navbarDesktop__pageLogo_after})]}),(0,a.jsx)("div",{className:e.navbarDesktop__listNav,children:I()(C()(_),5,11).map(p)})]})};var W=n(59437),K=n(15659),V=n(92683),O=n(43292),G=n(78896),Y=n(84630),q=n(19008),Z=n(3148),$=n(59109),U=n(58156),X=n.n(U),J=n(55378),Q=n.n(J),ee=n(82758),et=n(40913),en=n(90972),ea=n(57418),eo=n(69894),ei=n(44868),er=n(84943),es=n(23972),el=n(40253),ec=n(18246),ed=n(16160),e_=n(87232),ep=n(38338),eu=n(93108),em=n(55411),eg=n(48057);let eh=(0,r.default)(()=>({notificationNavbar__item:(0,j._)({display:"flex",position:"relative",height:"2.8rem",width:"3.2rem",cursor:"pointer",padding:".5rem",borderRadius:"1.4rem",alignItems:"center"},d.A.notificationNavbar__item),notificationNavbar__notiIc:(0,j._)({width:"100%",height:"100%"},d.A.notificationNavbar__notiIc),notificationNavbar__notiDot:(0,j._)({position:"absolute",minWidth:"1.44rem",height:"1.44rem",padding:"0px 1px 1px",top:"-.2rem",right:"-.5rem",borderRadius:".72rem",fontSize:".8rem",display:"flex",justifyContent:"center",alignItems:"center"},d.A.notificationNavbar__notiDot),notificationNavbar__list:(0,j._)({position:"absolute",top:"calc(100% + 10px)",width:380,padding:14,borderRadius:2,right:0,zIndex:9999,cursor:"auto"},d.A.notificationNavbar__list),notificationNavbar__seeAll:(0,j._)({textAlign:"center",margin:"14px auto 0",display:"block",fontSize:16,fontWeight:700},P.A.fontBold,d.A.notificationNavbar__seeAll)})),ef=(0,e_.A)({page_size:3,isNavbar:!0})((0,o.memo)(e=>{let t=eh(),[n,i]=(0,o.useState)(!1),r=(0,o.useRef)(),s=(0,ep.A)(),l=(0,o.useCallback)(()=>{i(()=>!1)},[]),c=(0,o.useCallback)(()=>{i(e=>!e)},[]);return(0,eu.A)(r,l),(0,a.jsxs)("div",{ref:r,className:t.notificationNavbar__item,onClick:c,children:[(0,a.jsx)(em.A,{className:t.notificationNavbar__notiIc}),s>0&&(0,a.jsx)("div",{className:t.notificationNavbar__notiDot,children:s}),n&&(0,a.jsxs)("div",{className:t.notificationNavbar__list,children:[(0,a.jsx)(eg.A,(0,j._)({},e)),(0,a.jsx)(y.N_,{to:"/notification",children:(0,a.jsx)(R.A,{i18nKey:"See All",className:t.notificationNavbar__seeAll})})]})]})}));var eb=n(19625),ex=n(57103);let ev=(0,r.default)(()=>({headerTopAfterLogin:{display:"flex"},headerTopAfterLogin__item:(0,w._)((0,j._)({display:"flex",alignItems:"center",color:d.A.navDesk_item_txt,textDecoration:"none",width:163,height:35,borderRadius:18,background:d.A.navDesk_item_bg},P.A.fontBold),{zIndex:12,position:"relative",marginBottom:"0.4rem"}),headerTopAfterLogin__textItem:{textTransform:"uppercase",paddingBottom:3},headerTopAfterLogin__logoutBtn:{background:d.A.navDesk_logout_bg,color:d.A.navDesk_logout_txt,width:42,he
1ight:35,border:"none",boxShadow:"none",padding:"0 0 0 1px",display:"flex",justifyContent:"center",alignItems:"center",margin:" 0 0 0 14px"},headerTopAfterLogin__rankIcon:{margin:"0 0px 0 5px",color:d.A.navDesk_item_ic,width:"2.72rem",height:"2.72rem"},headerTopAfterLogin__usernameIcon:{margin:"0 5px 0 10px",color:d.A.navDesk_item_ic,width:"1.92rem",height:"1.92rem"},headerTopAfterLogin__textIcon:{margin:"0 8px 5px 10px",fontSize:"1.3em",color:d.A.navDesk_item_ic},headerTopAfterLogin__popper:{width:163,zIndex:11,cursor:"pointer","& .MuiPaper-root":{transform:"translate(0, -18px) !important",background:d.A.navDesk_menu_bg,color:d.A.navDesk_menu_txt},"& .MuiList-root":{paddingTop:16},"& .MuiMenuItem-root":{height:45,justifyContent:"center",padding:0,fontSize:"1em","&:not(:first-child)":{borderTop:"1px solid transparent",borderImageSlice:1,borderImageSource:d.A.navDesk_menu_line},"&:hover":{background:d.A.navDesk_menu_txt+" !important",color:d.A.navDesk_menu_bg+" !important","& $headerTopAfterLogin__profileLink":{background:"unset","-webkit-background-clip":"initial","-webkit-text-fill-color":"initial"}}}},headerTopAfterLogin__profileLink:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},headerTopAfterLogin__profileLink__active:{background:d.A.navDesk_menu_active,"-webkit-background-clip":"text","-webkit-text-fill-color":"transparent"},headerTopAfterLogin__unread_icon:(0,w._)((0,j._)({fontSize:".8em",width:"1.8em",height:"1.8em",borderRadius:"50%",color:d.A.navDesk_menu_unread_txt,background:d.A.navDesk_menu_unread_bg},P.A.fontBold),{display:"inline-flex",justifyContent:"center",alignItems:"center",marginLeft:".5em",paddingBottom:".1em","-webkit-text-fill-color":"initial"}),headerTopAfterLogin__smarticoPoints:{cursor:"pointer",padding:0,marginRight:15,height:35,width:135,borderRadius:18,border:"1px solid #000"},headerTopAfterLogin__smarticoPoints__text:{top:17,left:41,fontSize:14}})),eA=(0,eo.A)((0,ea.A)()((0,en.A)((0,o.forwardRef)((e,t)=>{let{handleLogout:n,user:r,displayName:s,memoUnread:l}=e,c=ev(),d=(0,o.useRef)(null),[_,p]=(0,o.useState)(!1),u=(0,i.useLocation)(),{showTier:m,currentBadge:g}=(0,ei.A)(),h=(0,o.useCallback)(()=>{p(!0)},[]),f=(0,o.useCallback)(()=>{p(!0)},[]),b=(0,o.useCallback)(e=>{d.current&&d.current.contains(e.target)||p(!1)},[d]),x=(0,o.useCallback)(e=>{"Tab"===e.key&&(e.preventDefault(),p(!1))},[]),v=(0,o.useRef)(_);(0,o.useEffect)(()=>{!0===v.current&&!1===_&&d.current.focus(),v.current=_},[_]),(0,o.useImperativeHandle)(t,()=>({reset:()=>{}}));let A=(0,o.useMemo)(()=>[{label:"Profile",link:["/profile","/profile/update-contact-info"]},{label:"TransactionHistory",link:["/profile/transaction-history"]},{label:"Deposit",link:["/profile/deposit","/profile/new-payment-account"]},{label:"Withdraw",link:["/profile/withdraw"]},{label:"Referral",link:["/profile/referral"]},{label:"Bonus Tracking",link:["/profile/bonus"]},{label:"Offer",link:["/profile/offer"]},{label:"Memo",link:["/profile/memo"],unread:l}],[l]);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:c.headerTopAfterLogin,children:[(0,a.jsx)(et.A,{className:c.headerTopAfterLogin__smarticoPoints,classNamePoint:c.headerTopAfterLogin__smarticoPoints__text}),(0,a.jsx)(eb.A,{}),(0,a.jsxs)("div",{ref:d,"aria-controls":_?"menu-list-grow":"","aria-haspopup":"true",onClick:h,onMouseEnter:h,onMouseLeave:f,style:{cursor:"pointer",position:"relative"},children:[(0,a.jsxs)("div",{className:c.headerTopAfterLogin__item,children:[m?(0,a.jsx)("div",{className:c.headerTopAfterLogin__rankIcon,style:{background:'url("'.concat(g,'") center 0.2rem / 2.2rem 2.2rem no-repeat')}}):(0,a.jsx)(el.A,{className:c.headerTopAfterLogin__usernameIcon}),(0,a.jsx)("span",{className:c.headerTopAfterLogin__textItem,children:s})]}),(0,a.jsx)(ex.A,{}),(0,a.jsx)($.A,{className:c.headerTopAfterLogin__popper,open:_,anchorEl:d.current,transition:!0,disablePortal:!0,children:e=>{let{TransitionProps:t,placement:n}=e;return(0,a.jsx)(G.A,(0,w._)((0,j._)({},t),{style:{transformOrigin:"bottom"===n?"center top":"center bottom"},children:(0,a.jsx)(Z.A,{children:(0,a.jsx)(O.A,{onClickAway:b,children:(0,a.jsx)(q.A,{autoFocusItem:_,id:"menu-list-grow",onKeyDown:x,children:Q()(A,e=>(0,a.jsx)(Y.A,{onClick:b,children:(0,a.jsxs)(y.N_,{to:e.link[0],className:(0,N.default)({[c.headerTopAfterLogin__profileLink]:!0,[c.headerTopAfterLogin__profileLink__active]:(0,er.A)(e.link,u.pathname)}),children:[(0,es.T)(e.label),!!e.unread&&(0,a.jsx)("span",{className:c.headerTopAfterLogin__unread_icon,children:e.unread})]})},e.link[0]))})})})}))}})]}),(0,a.jsxs)("div",{className:c.headerTopAfterLogin__item,style:{margin:"0 15px"},children:[(0,a.jsx)("div",{className:c.headerTopAfterLogin__textIcon,children:"IDR"}),(0,a.jsx)("span",{className:c.headerTopAfterLogin__textItem,children:(0,a.jsx)(ee.A,{value:X()(r,"credit","")})})]}),(0,a.jsx)(ef,{}),(0,a.jsx)(ed.A,{onClick:n,className:c.headerTopAfterLogin__logoutBtn,children:(0,a.jsx)(ec.A,{})})]})})}))));var ek=n(18492),ej=n(82788),ew=n(16923),eL=n(99624),ey=n.n(eL),eN=n(90311),eD=n(12831),eC=n(6795);let eT=(0,r.default)(()=>({headerTopBeforeLogin__loginForm:{display:"flex",alignItems:"center",marginLeft:10},headerTopBeforeLogin__inputItem:{position:"relative",display:"grid",gridGap:".25em",alignItems:"center",height:36,borderRadius:18,border:"1px solid transparent",background:d.A.navDesk_input_bg,width:150,padding:"0 5px 0 9px",boxShadow:d.A.navDesk_input_sd,margin:"0 20px 0 0"},headerTopBeforeLogin__inputItem__username:{gridTemplateColumns:"1.25em auto"},headerTopBeforeLogin__inputItem__password:{position:"relative",gridTemplateColumns:"1.25em auto auto"},headerTopBeforeLogin__inputItem__captcha:{padding:"0 .5em 0 0",gridTemplateColumns:"auto auto",width:160},headerTopBeforeLogin__eyeIcon:{cursor:"pointer",fontSize:"1.2em",color:d.A.navDesk_input_txt,"&:hover":{background:d.A.navDesk_input_txt+"88",color:d.A.navDesk_input_txt,borderRadius:"50%"}},headerTopBeforeLogin__inputLogin:{outline:"none",width:"100%",border:"none",lineHeight:"1em",background:"transparent !important",color:d.A.navDesk_input_txt+" !important"},headerTopBeforeLogin__actionBtn:{height:"36px",width:"125px",maxWidth:"calc(50% - 10px
1)",marginRight:10,padding:"0 .5em .2em"},headerTopBeforeLogin__fieldError:{position:"absolute",top:"100%",left:9,fontSize:".75em",color:d.A.navDesk_input_err,width:"max-content"},headerTopBeforeLogin__captcha__wrapper:{width:70,height:"100%",background:d.A.navDesk_captcha_bg,display:"flex",justifyContent:"center",alignItems:"center",padding:"0 .3em 0 .7em",borderRadius:"18px 0 0 18px",marginLeft:-1},headerTopBeforeLogin__listActionbtn:{marginLeft:20},headerTopBeforeLogin__login__icon:{fontSize:"1.25em",objectFit:"contain",color:d.A.navDesk_input_ic}})),eI=(0,ea.A)()((0,eN.A)((0,o.forwardRef)((e,t)=>{let{userInput:n={},handleSubmit:i,handleInputChange:r,handleKeyPress:s,handleChangeCaptchaId:l,renderLoginButtonLabel:c,disableLoginButton:_,isShowPassword:p,onToggleShowPassword:u,onOpenModalRegister:m}=e,g=eT(),{t:h}=(0,ek.B)(),f=(0,o.useRef)();return(0,o.useImperativeHandle)(t,()=>({reset:()=>{var e;(null==f||null==(e=f.current)?void 0:e.reset)&&f.current.reset()}})),(0,a.jsxs)("form",{onSubmit:i,className:g.headerTopBeforeLogin__loginForm,noValidate:!0,children:[(0,a.jsxs)("div",{className:(0,N.default)(g.headerTopBeforeLogin__inputItem,g.headerTopBeforeLogin__inputItem__username),children:[(0,a.jsx)(el.A,{className:g.headerTopBeforeLogin__login__icon}),(0,a.jsx)("div",{children:(0,a.jsx)("input",{placeholder:ey()("".concat(h("Username"))),type:"text",name:"username",className:g.headerTopBeforeLogin__inputLogin,value:n.username,onChange:r,onKeyPress:s,required:!0})})]}),(0,a.jsxs)("div",{className:(0,N.default)(g.headerTopBeforeLogin__inputItem,g.headerTopBeforeLogin__inputItem__password),children:[(0,a.jsx)(eD.A,{className:g.headerTopBeforeLogin__login__icon}),(0,a.jsx)("input",{className:g.headerTopBeforeLogin__inputLogin,placeholder:ey()("".concat(h("Password"))),type:p?"password":"text",autoCapitalize:"off",name:"password",value:n.password,onChange:r,onKeyPress:s,required:!0}),p?(0,a.jsx)(ej.default,{className:g.headerTopBeforeLogin__eyeIcon,onClick:u}):(0,a.jsx)(ew.default,{className:g.headerTopBeforeLogin__eyeIcon,onClick:u}),(0,a.jsx)("div",{className:g.headerTopBeforeLogin__fieldError,children:(0,a.jsx)(y.N_,{to:"/forgot-password",tabIndex:-1,children:(0,a.jsx)(R.A,{i18nKey:"Forgot Password?"})})})]}),(0,a.jsxs)("div",{className:(0,N.default)(g.headerTopBeforeLogin__inputItem,g.headerTopBeforeLogin__inputItem__captcha),children:[(0,a.jsx)("div",{className:g.headerTopBeforeLogin__captcha__wrapper,children:(0,a.jsx)(eC.A,{ref:f,height:25,width:57,onChangeId:l})}),(0,a.jsx)("input",{className:g.headerTopBeforeLogin__inputLogin,placeholder:ey()("".concat(h("Captcha"))),type:"text",name:"captcha",value:n.captcha||"",onChange:r,onKeyPress:s,required:!0,pattern:"[0-9]*",inputMode:"decimal"})]}),(0,a.jsxs)("div",{className:g.headerTopBeforeLogin__listActionbtn,children:[(0,a.jsx)(ed.A,{type:"submit",className:(0,N.default)(g.headerTopBeforeLogin__actionBtn,d.A.login_btn),disable:_,children:c()}),(0,a.jsx)(ed.A,{className:(0,N.default)(g.headerTopBeforeLogin__actionBtn,d.A.register_btn),onClick:m,children:h("Register")})]}),(0,a.jsx)(ef,{})]})}))),eB=()=>{let e=F(),t=(0,L.d)(e=>e.auth),n=(0,K.A)(),i=(0,o.useCallback)(()=>t.token?(0,a.jsx)(eA,{}):(0,a.jsx)(eI,{}),[t.token]);return(0,a.jsxs)("div",{className:e.navbarDesktop__headerTop,children:[(0,a.jsxs)("div",{className:e.navbarDesktop__headerTop_left,children:[(0,a.jsx)(V.A,{}),n&&(0,a.jsx)(y.N_,{to:"/coupon",className:e.navbarDesktop__couponIconWrapper,children:(0,a.jsx)(B.A,{className:e.navbarDesktop__couponIcon,src:W,auto:"height",alt:"coupon"})})]}),i()]})},eR=()=>{let e=F();return(0,a.jsxs)(k.A,{className:e.navbarDesktop__wrap,children:[(0,a.jsx)(eB,{}),(0,a.jsx)(H,{})]})};var eE=n(81865),eS=n(85453),eM=n(43729),ez=n(32596),eP=n(6151),eF=n(74912),eH=n(8580),eW=n(60241),eK=n(47787),eV=n(79961),eO=n(55076),eG=n(62374);let eY=(0,r.default)(()=>({homeDesktop__banner:{position:"relative",height:"100%","& .slick-slider":{position:"absolute",width:"100%",height:"100%",top:0,"& .slick-list":{position:"absolute",width:"100%",height:"100%",top:0}}},homeDesktop__banner__container:{display:"grid",gridTemplateAreas:"\n			'slider static_1'\n			'slider static_2'\n		",gridGap:3,gridTemplateColumns:"69.49% 1fr",height:"".concat(33.28,"rem"),overflow:"hidden"},homeDesktop__banner__slider:{gridArea:"slider"},homeDesktop__banner__static_1:{gridArea:"static_1"},homeDesktop__banner__static_2:{gridArea:"static_2"},homeDesktop__banner__static_image:{width:"100%",height:"100%",aspectRatio:357/206},homeDesktop__banner__static_img:{display:"block",width:"100%",height:"100%",objectFit:"cover"},homeDesktop__listTogelHome_section:{marginTop:"1rem"},homeDesktop__listTogelHome__container:{minHeight:"".concat(26.16,"rem"),display:"grid",gridTemplateColumns:"55.52% auto",gridGap:25},homeDesktop__listTogelHome__togel__list:{width:"100%",margin:"-.85em 0",padding:".74rem 0",position:"relative","&:after":{content:'" "',position:"absolute",height:"100%",right:"-.5rem",top:0,width:"3.5rem",background:"linear-gradient(to right, ".concat(d.A.page_bg,"00, ").concat(d.A.page_bg," 80%)")}},homeDesktop__bannerDownloadApp:{height:"100%",width:"100%",objectFit:"cover",cursor:"pointer",aspectRatio:500/337}})),eq=(0,ez.A)((0,eP.A)()(e=>{let{homeData:t,handleDownloadApp:n}=e,i=eY(),r=(0,o.useMemo)(()=>X()(t,"other_banner[0]"),[t]),s=(0,o.useMemo)(()=>X()(t,"other_banner[2]"),[t]),l=(0,o.useMemo)(()=>X()(t,"other_banner[3]"),[t]),c=(0,o.useRef)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eW.A,{data:t.popup_banner}),(0,a.jsx)(eK.A,{}),(0,a.jsxs)(k.A,{className:i.homeDesktop__banner__container,style:{gridTemplateAreas:"\n						'slider".concat(s||l?" static_1":"","'\n						'slider").concat(s||l?" static_2":"","'\n					"),gridTemplateColumns:"".concat(s||l?"69.49% 1fr":"100%")},children:[(0,a.jsx)("div",{className:i.homeDesktop__banner__slider,children:(0,a.jsx)(eF.A,{lazy:!1,width:window.bannerSize,image:t.slider_banners_desktop||window.firstBanner,className:i.homeDesktop__banner})}),s&&(0,a.jsx)(B.A,{src:s,className:(0,N.default)(i.homeDesktop__banner__static_image,i.homeDesktop__banner__static_1)}),l&&(0,a.jsx)(B.A,{src:l,className:(0,N.default)(i.homeDesktop__banner__static_image,i.homeDesktop__banner__static_2)})]}),(0,a.jsx)(eH.A,{}),(0,a.jsx)("section",{className:i.homeDesktop__listTogelHome_section,children:(0,a.jsxs)(k.A,{className:i.homeDesktop__listTogelHome__container,children:[(0,a.jsx)("div",{className:i.homeDesktop__listTogelHome__togel__list,children:(0,a.jsx)(eO.A,{})}),(0,a.jsx)(B.A,{ref:c,onClick:n,className:i.homeDesktop__listTogelHome__toggleContent__right,src:r})]})}),(0,a.jsx)(eV.A,{}),(0,a.jsx)(eG.A,{})]})}));var eZ=n(13416);let e$=o.lazy(()=>(0,_.A)(()=>Promise.all([n.e("97462"),n.e("41974"),n.e("60828"),n.e("50554"),n.e("85773")]).then(n.bind(n,69340)))),eU=(0,r.default)(()=>({page_bg:{position:"fixed",zIndex:1,width:"100vw",minHeight:"100vh",top:0,objectFit:"cover"}})),eX=(0,o.memo)(()=>{let e=(0,eZ.I)(),t=eU();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.A,{}),(0,a.jsx)(l.A,{src:d.A.page_bg_img,className:t.page_bg}),(0,a.jsxs)("div",{className:e.app,children:[(0,a.jsx)(eM.A,{}),(0,a.jsx)(eR,{}),(0,a.jsx)(x,{}),(0,a.jsx)(o.Suspense,{fallback:(0,a.jsx)(c.A,{skeleton:!0}),children:(0,a.jsxs)(i.Switch,{children:[(0,a.jsx)(i.Route,{exact:!0,path:"/",component:eq}),(0,a.jsx)(i.Route,{path:"*",component:e$})]})}),(0,a.jsx)(eE.A,{}),(0,a.jsx)(eS.A,{}),(0,a.jsx)(A.A,{}),(0,a.jsx)(v.A,{})]})]})})}}]);
2//# sourceMappingURL=19993.9076e812.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.