1(self.webpackChunklottery=self.webpackChunklottery||[]).push([["14482"],{69855(e){e.exports=function(e,a,r){for(var i=r+1;i--&&e[i]!==a;);return i}},23629(e,a,r){var i=r(2523),n=r(85463),t=r(69855),s=r(61489),l=Math.max,d=Math.min;e.exports=function(e,a,r){var o=null==e?0:e.length;if(!o)return -1;var c=o;return void 0!==r&&(c=(c=s(r))<0?l(o+c,0):d(c,o-1)),a==a?t(e,a,c):i(e,n,c,!0)}},42593(e,a,r){"use strict";r.d(a,{A:()=>c});var i=r(71893),n=r(55456),t=r(74848),s=r(96540),l=r(56347),d=r(23629),o=r.n(d);let c=e=>a=>{let r=(0,l.useLocation)(),d=(0,s.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return 1===o()(r.pathname.split("/"),e.slice(1))},[r.pathname]);return(0,t.jsx)(e,(0,n._)((0,i._)({},a),{checkMenuActive:d}))}},35433(e,a,r){"use strict";r.r(a),r.d(a,{default:()=>Q});var i=r(71893),n=r(55456),t=r(74848),s=r(96540),l=r(20125),d=r(54625),o=r(17819),c=r(73486),_=r(50384),C=r(20053),m=r(55378),x=r.n(m),p=r(59545),h=r(40292),w=r(57418),u=r(42593),j=r(30529),g=r(56165),f=r(38338),A=r(23245),k=r(90395),v=r(36798),y=r(41728);let M=e=>(0,t.jsx)(y.A,(0,n._)((0,i._)({viewBox:"0 0 20 20"},e),{children:(0,t.jsx)("path",{d:"M19.6389 9.09576L18.1466 7.47314C17.8882 7.19223 17.5214 7.03125 17.1398 7.03125H11.8171V1.36719C11.8171 0.613251 11.2035 0 10.4494 0H9.66784C8.9136 0 8.30019 0.613251 8.30019 1.36719V2.34375H2.84486C2.48032 2.34375 2.12479 2.49283 1.86936 2.75269L0.392457 4.25491C-0.118409 4.77478 -0.132294 5.60211 0.361176 6.13861L1.85349 7.76123C2.11167 8.04214 2.47864 8.20312 2.86027 8.20312H8.30019V18.6328C8.30019 19.3867 8.91375 20 9.66784 20H10.4494C11.2035 20 11.8171 19.3867 11.8171 18.6328V12.8906H17.1552C17.5197 12.8906 17.8753 12.7415 18.1307 12.4817L19.6076 10.9795C20.1185 10.4596 20.1322 9.63226 19.6389 9.09576ZM8.26113 7.03125H2.86027C2.80579 7.03125 2.7533 7.00821 2.71638 6.96808L1.22406 5.34546C1.15372 5.26886 1.15555 5.1506 1.22864 5.07629L2.70539 3.57407C2.74201 3.53699 2.79282 3.51562 2.84486 3.51562H8.26113V7.03125ZM10.4494 18.8281H9.66784C9.56012 18.8281 9.47253 18.7405 9.47253 18.6328V1.36719C9.47253 1.25946 9.56012 1.17188 9.66784 1.17188H10.4494C10.5571 1.17188 10.6447 1.25946 10.6447 1.36719V18.6328C10.6447 18.7405 10.5571 18.8281 10.4494 18.8281ZM18.7714 10.1581L17.2945 11.6603C17.258 11.6974 17.2072 11.7188 17.1552 11.7188H11.8171V8.20312H17.1398C17.1943 8.20312 17.2468 8.22617 17.2837 8.2663L18.776 9.88892C18.8463 9.96552 18.8445 10.0838 18.7714 10.1581Z",fill:"#E2931A"})}));var b=r(84631),N=r(93980),F=r(70262);let H=e=>(0,t.jsxs)(y.A,(0,n._)((0,i._)({viewBox:"0 0 26 26"},e),{children:[(0,t.jsx)("circle",{cx:"13",cy:"13",r:"12",strokeWidth:"2"}),(0,t.jsx)("path",{d:"M10.227 5H16.1663C17.395 5 18.3936 5.99853 18.3936 7.22723V19.1058C18.3936 20.3345 17.395 21.333 16.1663 21.333H10.227C8.99833 21.333 7.9998 20.3345 7.9998 19.1058V7.22723C7.9998 5.99853 8.99833 5 10.227 5ZM11.7119 19.8482H14.6815V19.1058H11.7119V19.8482ZM9.29901 17.621H17.0943V7.22723H9.29901V17.621Z"})]}));var Z=r(21923),I=r(31778);let K=e=>(0,t.jsxs)(y.A,(0,n._)((0,i._)({viewBox:"0 0 26 26"},e),{children:[(0,t.jsx)("circle",{cx:"13",cy:"13",r:"12",strokeWidth:"2"}),(0,t.jsx)("path",{d:"M12.5918 5C10.4121 5 8.63672 6.77539 8.63672 8.95508C8.63672 11.1348 10.4121 12.9102 12.5918 12.9102C14.7715 12.9102 16.5469 11.1348 16.5469 8.95508C16.5469 6.77539 14.7715 5 12.5918 5Z"}),(0,t.jsx)("path",{d:"M17.5137 15.4941C16.4297 14.3955 14.9941 13.7891 13.4707 13.7891H11.7129C10.1895 13.7891 8.75391 14.3955 7.66992 15.4941C6.59473 16.5869 6 18.0312 6 19.5605C6 19.8037 6.19629 20 6.43945 20H18.7441C18.9873 20 19.1836 19.8037 19.1836 19.5605C19.1836 18.0312 18.5889 16.5869 17.5137 15.4941Z"})]}));var V=r(28851),L=r(7640),E=r(18318),S=r(22355);let W=e=>(0,t.jsxs)(y.A,(0,n._)((0,i._)({viewBox:"0 0 16 27"},e),{children:[(0,t.jsx)("path",{d:"M8.48331 0C9.10175 0.0725806 9.72019 0.130645 10.3386 0.217742C11.1077 0.326613 11.8609 0.515323 12.5507 0.849194C13.3277 1.23387 13.7559 1.8871 14.0968 2.59839C14.636 3.73064 14.8738 4.92823 14.9928 6.14758C15.2148 8.28871 15.1038 10.4298 14.961 12.571C14.7866 15.1694 14.6439 17.7677 14.5408 20.3661C14.4695 22.079 14.4853 23.7919 14.4695 25.5048C14.4615 26.4919 13.9065 27 12.8362 27C9.32376 27 5.81135 27 2.29101 27C1.22064 27 0.673562 26.4919 0.657704 25.5048C0.618061 23.0879 0.602203 20.671 0.514988 18.254C0.44363 16.3161 0.292985 14.3782 0.150268 12.4403C-0.000376661 10.3282 -0.0875922 8.20887 0.134411 6.09677C0.26127 4.92097 0.514988 3.77419 0.990709 2.67097C1.53779 1.40081 2.52887 0.63871 3.97189 0.377419C4.77269 0.232258 5.58142 0.152419 6.39014 0.0435484C6.47736 0.0290323 6.55664 0.0145161 6.64386 0C7.25437 0 7.87281 0 8.48331 0ZM7.56359 26.129C9.33168 26.129 11.
10998 26.129 12.8599 26.129C13.3595 26.129 13.4942 26.0056 13.5022 25.5556C13.5418 23.4944 13.5418 21.4258 13.6211 19.3645C13.7004 17.2016 13.8352 15.046 13.9858 12.8903C14.1523 10.575 14.295 8.25968 14.0096 5.94435C13.8827 4.92097 13.6607 3.91935 13.2326 2.96129C12.8282 2.05403 12.1543 1.46613 11.0919 1.27016C10.521 1.16129 9.95012 1.05242 9.37133 0.987097C7.57152 0.798387 5.79549 0.870968 4.02739 1.2629C2.98081 1.49516 2.29101 2.06129 1.89458 2.96129C1.52986 3.78871 1.29993 4.64516 1.17307 5.53064C0.86385 7.67177 0.919351 9.82742 1.07792 11.9758C1.21271 13.8847 1.37921 15.8008 1.45057 17.7097C1.54572 20.3008 1.5695 22.8919 1.625 25.4831C1.63293 26.0419 1.73601 26.1363 2.35444 26.1363C4.09082 26.129 5.82721 26.129 7.56359 26.129Z",fill:"#FFC700"}),(0,t.jsx)("path",{d:"M11.6387 13.1879C11.6387 11.3443 11.6387 9.53709 11.6387 7.71532C8.91919 7.71532 6.21551 7.71532 3.48804 7.71532C3.48804 9.52983 3.48804 11.3371 3.48804 13.1879C3.63869 13.1879 3.78933 13.1806 3.93205 13.1879C4.20955 13.2097 4.38398 13.3766 4.39191 13.6089C4.39984 13.8484 4.24127 14.0008 3.95584 14.0444C3.91619 14.0516 3.87655 14.0516 3.84483 14.0516C2.94096 14.0952 2.47317 13.979 2.49696 12.8976C2.52867 11.1847 2.50489 9.47177 2.50489 7.75887C2.50489 7.08387 2.77446 6.82983 3.5039 6.82983C6.19965 6.82983 8.8954 6.82983 11.5912 6.82983C12.3285 6.82983 12.606 7.08387 12.606 7.75161C12.606 9.54435 12.606 11.3371 12.606 13.1298C12.606 13.7976 12.3206 14.0516 11.5912 14.0516C9.7517 14.0516 5.9705 14.0516 4.13104 14.0516C3.63946 14.0516 3.42539 13.9137 3.41746 13.6161C3.41746 13.3113 3.63946 13.1734 4.12311 13.1734C5.86742 13.1734 9.55349 13.1734 11.2978 13.1734C11.4088 13.1879 11.5119 13.1879 11.6387 13.1879Z",fill:"#FFC700"}),(0,t.jsx)("path",{d:"M7.57151 14.9589C8.1503 15.0169 8.7291 15.0314 9.28411 15.1476C10.2276 15.3363 10.5606 16.1492 9.99769 16.8677C8.76081 18.4572 6.35842 18.4572 5.12155 16.8677C4.55861 16.1419 4.89162 15.3363 5.83513 15.1476C6.40599 15.0314 6.99272 15.0169 7.57151 14.9589ZM7.54772 15.8371C7.05615 15.8806 6.55664 15.9169 6.06506 15.9822C5.78756 16.0185 5.72413 16.171 5.89856 16.3742C6.08092 16.5774 6.28706 16.7661 6.52492 16.904C7.40501 17.4193 8.58638 17.1943 9.18103 16.425C9.37925 16.171 9.34754 16.0185 9.03039 15.975C8.54674 15.9097 8.04723 15.8879 7.54772 15.8371Z",fill:"#FFC700"}),(0,t.jsx)("path",{d:"M7.57154 3.6726C6.93725 3.54196 6.32674 3.42583 5.71623 3.28067C5.39115 3.20083 5.25637 2.96131 5.33565 2.72905C5.42287 2.47502 5.68452 2.36615 6.01752 2.47502C7.04825 2.81615 8.07898 2.81615 9.10971 2.47502C9.41893 2.37341 9.67265 2.48228 9.77572 2.7218C9.87086 2.95405 9.73607 3.20809 9.41893 3.28793C8.81635 3.42583 8.20584 3.54196 7.57154 3.6726Z",fill:"#FFC700"}),(0,t.jsx)("path",{d:"M7.55533 5.36367C6.93689 5.24029 6.34224 5.13142 5.75551 4.98625C5.39872 4.89916 5.24808 4.65238 5.35115 4.39835C5.45422 4.15158 5.70794 4.04996 6.04095 4.16609C7.05582 4.49996 8.06276 4.49996 9.07763 4.16609C9.42649 4.04996 9.69607 4.15883 9.78329 4.42013C9.8705 4.65964 9.72778 4.89916 9.37892 4.98625C8.78427 5.13142 8.17376 5.24029 7.55533 5.36367Z",fill:"#FFC700"}),(0,t.jsx)("path",{d:"M7.54769 22.0355C7.39705 22.0283 7.23847 22.021 7.09576 22.0065C6.84997 21.9702 6.72311 21.825 6.70725 21.6146C6.69139 21.3823 6.83411 21.2081 7.0799 21.1863C7.39705 21.1573 7.73005 21.1573 8.0472 21.1863C8.29299 21.2081 8.42778 21.3896 8.41985 21.6146C8.41192 21.825 8.27713 21.9775 8.03927 22.0065C7.87277 22.021 7.71419 22.021 7.54769 22.0355Z",fill:"#FFC700"}),(0,t.jsx)("path",{d:"M4.61411 23.7847C4.47932 23.7847 4.34454 23.792 4.20975 23.7847C3.9481 23.7629 3.75781 23.5742 3.75781 23.3565C3.75781 23.1387 3.92431 22.9573 4.18596 22.9355C4.47139 22.9137 4.75683 22.9137 5.04226 22.9355C5.31184 22.9573 5.48627 23.146 5.47834 23.371C5.47041 23.596 5.28012 23.7629 5.01055 23.7847C4.88369 23.792 4.7489 23.7847 4.61411 23.7847Z",fill:"#FFC700"}),(0,t.jsx)("path",{d:"M10.4969 23.7775C10.3542 23.7775 10.2115 23.792 10.0688 23.7775C9.81506 23.7484 9.64062 23.5742 9.64062 23.3565C9.64062 23.1387 9.7992 22.95 10.0608 22.9355C10.3542 22.9137 10.6555 22.9137 10.9489 22.9355C11.2026 22.9573 11.3691 23.146 11.3691 23.3565C11.3691 23.567 11.1867 23.7484 10.9409 23.7775C10.7824 23.792 10.6396 23.7775 10.4969 23.7775Z",fill:"#FFC700"}),(0,t.jsx)("path",{d:"M7.58723 19.1395C7.75373 19.154 7.92024 19.154 8.07088 19.1903C8.29289 19.2339 8.41181 19.3863 8.41974 19.5895C8.42767 19.7928 8.30874 19.9742 8.08674 19.996C7.73788 20.025 7.38109 20.025 7.03222 19.996C6.81022 19.9742 6.69922 19.7928 6.69922 19.5895C6.69922 19.3863 6.81815 19.2339 7.04015 19.1903C7.22251 19.154 7.40487 19.154 7.58723 19.1395Z",fill:"#FFC700"}),(0,t.jsx)("path",{d:"M4.63011 21.7814C4.4874 21.7814 4.34468 21.7887 4.20196 21.7814C3.95617 21.7596 3.77381 21.5854 3.76588 21.3677C3.75796 21.1572 3.93239 20.954 4.17818 20.9395C4.47154 20.925 4.77283 20.925 5.06619 20.9395C5.31991 20.954 5.48641 21.1427 5.48641 21.3604C5.48641 21.5782 5.31198 21.7596 5.05826 21.7814C4.91554 21.7959 4.77283 21.7814 4.63011 21.7814Z",fill:"#FFC700"}),(0,t.jsx)("path",{d:"M10.481 21.7814C10.3383 21.7814 10.1956 21.7959 10.0529 21.7814C9.80711 21.7597 9.62475 21.5637 9.64061 21.3532C9.65647 21.1282 9.79125 20.9613 10.045 20.9468C10.3463 20.925 10.6555 20.925 10.9568 20.9468C11.2105 20.9685 11.3373 21.1355 11.3532 21.3605C11.3691 21.5709 11.1788 21.7597 10.933 21.7887C10.7823 21.7959 10.6317 21.7814 10.481 21.7814Z",fill:"#FFC700"}),(0,t.jsx)("path",{d:"M4.62985 18.9363C4.77257 18.9363 4.91528 18.929 5.058 18.9363C5.30379 18.958 5.48615 19.1395 5.48615 19.3572C5.48615 19.575 5.31965 19.7637 5.07386 19.7782C4.7805 19.7927 4.47921 19.7927 4.18584 19.7782C3.94006 19.7637 3.76562 19.5677 3.76562 19.3572C3.77355 19.1467 3.94798 18.9653 4.19377 18.9363C4.33649 18.9217 4.48713 18.9363 4.62985 18.9363Z",fill:"#FFC700"}
1),(0,t.jsx)("path",{d:"M10.4889 18.9363C10.6395 18.9363 10.7981 18.9217 10.9487 18.9363C11.1866 18.958 11.3769 19.1613 11.361 19.3717C11.3372 19.5967 11.2183 19.7637 10.9567 19.7782C10.6554 19.8 10.3462 19.8 10.0449 19.7782C9.79115 19.7637 9.65637 19.5895 9.64844 19.3645C9.64844 19.1395 9.78323 18.9798 10.0369 18.9435C10.1797 18.9217 10.3303 18.9435 10.4889 18.9363Z",fill:"#FFC700"}),(0,t.jsx)("path",{d:"M7.55552 23.1533C7.70616 23.1533 7.86474 23.1387 8.01538 23.1533C8.25324 23.1823 8.44353 23.3783 8.41974 23.5887C8.39596 23.8137 8.2691 23.9734 8.00745 23.9879C7.71409 24.0097 7.4128 24.0097 7.11944 23.9879C6.86572 23.9734 6.69922 23.7847 6.69922 23.567C6.69922 23.3565 6.88158 23.1678 7.12737 23.146C7.27008 23.146 7.4128 23.1533 7.55552 23.1533Z",fill:"#FFC700"})]}));var P=r(9124),B=r(86280),D=r(14944),R=r(91024),z=r(42561),T=r(93796),$=r(67729),G=r(32994),O=r(43926);let J=(0,T.default)({drawer__paper:{background:$.A.drawer_bg,color:$.A.drawer_txt,width:"75vw",top:"5rem",height:"calc(100% - 5rem)",[G.Ay.mobile_landscape]:{width:"45vw"}},drawer__head:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:0},drawer__listMenu:{height:"100%",display:"flex",flexDirection:"column",justifyContent:"space-between",overflow:"auto","& .MuiList-root":{marginBottom:80}},drawer__listMenuItem:{padding:"0.5vh 0 0","& a":{width:"100%",padding:"1vh 1rem",display:"flex",alignItems:"center",textDecoration:"none",textTransform:"uppercase",tapHighlightColor:"transparent",transition:"background-color .3s",paddingRight:0},"& .MuiExpansionPanelSummary-root":{padding:"0 0 0 1rem",minHeight:"auto"},"& .MuiExpansionPanelSummary-content":{margin:0,gap:"1em",alignItems:"center",padding:".68em 0"},"& .MuiExpansionPanel-root":{padding:0,borderRadius:"0 !important",background:"unset",boxShadow:"unset",color:"unset",width:"100%"},"& .MuiIconButton-edgeEnd":{marginRight:".3em",padding:"0"}},drawer__listMenuItem__text:{marginLeft:"1em",display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%",fontWeight:600},drawer__notiCount:(0,n._)((0,i._)({height:"2em",minWidth:"2em",borderRadius:"1em",background:$.A.drawer_noti_bg,color:$.A.drawer_noti_txt,display:"flex",justifyContent:"center",alignItems:"center",padding:"0 .5em"},O.A.fontBold),{"$drawer__listMenuItem_active &":{background:$.A.drawer_noti_active_bg,color:$.A.drawer_noti_active_txt}}),drawer__listMenuItem_active:{background:$.A.drawer_active_bg,color:$.A.drawer_active_txt,"& $drawer__icon":{"& path":{fill:$.A.drawer_active_txt},"& circle":{stroke:$.A.drawer_active_txt}},"& $drawer__dot":{background:$.A.drawer__dot_not_active},"& $drawer__childWrap":(0,i._)({},$.A.drawer__childWrap),"& $drawer__iconExpand":(0,i._)({},$.A.drawer__iconExpand__active)},drawer__iconDiv:{width:"2em",height:"2em",padding:".3em",borderRadius:"50%",display:"flex",justifyContent:"center",alignItems:"center",fontSize:".9em"},drawer__icon:{fontSize:"1.75em",fill:"none",stroke:"none","& path":{fill:$.A.drawer_icon},"& circle":{stroke:$.A.drawer_icon}},drawer__copyRightText:{padding:"1rem 1rem",fontSize:".8rem"},drawer__child__name:{fontSize:"1.4rem",width:"100%",display:"flex",alignItems:"center",fontWeight:400,textTransform:"uppercase"},drawer__dot__wrap:{alignItems:"center",display:"flex",gap:"1.7em",fontSize:"1rem",textTransform:"uppercase"},drawer__child_active:{background:$.A.drawer_bg_active,color:$.A.drawer__child_active_text,fontWeight:700,"& $drawer__dot":{background:$.A.drawer__dot_active}},drawer__iconExpand:(0,i._)({fontSize:"2rem"},$.A.drawer__iconExpand),drawer__childWrap:{flexDirection:"column",padding:"0","& a":{padding:"0 0 0 1.2em",minHeight:"3.16rem"}},drawer__name:{fontWeight:600},drawer__dot:{width:".4186rem",height:".4186rem",borderRadius:100,background:$.A.drawer__dot},drawer__dot_active:{background:$.A.drawer__dot}}),q=e=>{let{menu:a,toggleDrawer:r}=e,l=J(),[o,c]=(0,s.useState)(!1),_=(0,j.A)(),m=(0,s.useCallback)(()=>{c(!o)},[o]);return(0,s.useEffect)(()=>{_(a.link)&&c(!0)},[_,a.link,c]),(0,t.jsxs)(B.A,{className:l.drawer__listMenuItem,expanded:o,onChange:m,children:[(0,t.jsxs)(D.A,{expandIcon:(0,t.jsx)(z.default,{className:l.drawer__iconExpand}),children:[(0,t.jsx)("div",{className:l.drawer__iconDiv,children:a.icon}),(0,t.jsx)("div",{className:l.drawer__name,children:a.name})]}),(0,t.jsx)(R.A,{className:l.drawer__childWrap,children:a.subMenu.map(e=>(0,t.jsx)(d.N_,(0,n._)((0,i._)({onClick:r,to:e.link,className:(0,C.default)({[l.drawer__child__name]:!0,[l.drawer__child_active]:_(e.link)})},a.linkProps),{children:(0,t.jsxs)("div",{className:l.drawer__dot__wrap,children:[(0,t.jsx)("span",{className:(0,C.default)({[l.drawer__dot]:!0,[l.drawer__dot_active]:_(e.link)})}),e.name]})}),e.link))})]})},Q=(0,u.A)((0,w.A)()((0,s.forwardRef)((e,a)=>{let{open:r=!1,toggleDrawer:m,handleLogout:w}=e,u=J(),y=(0,l.d)(e=>e.auth),B=(0,l.d)(e=>e.base.company_name),D=(0,f.A)(),R=(0,j.A)(),{linkBonusBattlesPage:z,enabled:T}=(0,g.A)();(0,s.useImperativeHandle)(a,()=>({reset:()=>{}}));let $=(0,s.useMemo)(()=>[{name:(0,t.jsx)(p.A,{i18nKey:"headerHome"}),link:"/",icon:(0,t.jsx)(b.A,{className:u.drawer__icon}),type:"home"},{name:(0,t.jsx)(p.A,{i18nKey:"Sports"}),link:"/sports",icon:(0,t.jsx)(E.A,{className:u.drawer__icon}),type:"sport"},{name:(0,t.jsx)(p.A,{i18nKey:"headerSlot"}),link:"/slot",icon:(0,t.jsx)(L.A,{className:u.drawer__icon}),type:"slot"},{name:(0,t.jsx)(p.A,{i18nKey:"Casino"}),link:"/casino",icon:(0,t.jsx)(k.A,{className:u.drawer__icon}),type:"casino"},{name:(0,t.jsx)(p.A,{i18nKey:"headerTogel"}),link:"/togel",icon:(0,t.jsx)(S.A,{className:u.drawer__icon}),type:"togel"},{name:(0,t.jsx)(p.A,{i18nKey:"Fishing Game"}),link:"/tembak-ikan",icon:(0,t.jsx)(v.A,{className:u.drawer__icon}),type:"tembak-ikan"},...h.Es?[{name:(0,t.jsx)(p.A,{i18nKey:"Live Game"}),link:"/live-game",icon:(0,t.jsx)(N.A,{className:u.drawer__icon}),type:"live-game"}]:[],{name:(0,t.jsx)(p.A,{i18nKey:"Others"}),link:"/others",icon:(0,t.jsx)(I.A,{className:u.drawer__icon}),type:"others"},...(0,A.JK)()?[]:[{name:(0,t.jsx)(p.A,{i18nKey:"Mobile"}),link:"/mobile",icon:(0,t.jsx)(H,{className:u.drawer__icon}),type:"mobile"},{name:(0,t.jsx)(p.A,{i18nKey:"WAP"}),link:"/wap",linkProps:{target:"_blank",rel:"noopener noreferrer"},icon:(0,t.jsx)(W,{className:u.drawer__icon}),type:"wap"}],{name:(0,t.jsx)(p.A,{i18nKey:"headerPromo"}),link:["/promo","/membership","/bonus-battles"],icon:(0,t.jsx)(V.A,{className:u.drawer__icon}),type:"promo",subMenu:[{name:(0,t.jsx)(p.A,{i18nKey:"headerPromo"}),link:"/promo"},{name:(0,t.jsx)(p.A,{i18nKey:"membership"}),link:"/membership"},...T?[{name:(0,t.jsx)(p.A,{i18nKey:"Bonus Battles"}),link:z}]:[]]},{name:(0,t.jsx)(p.A,{i18nKey:"Guide"}),link:"/guide",icon:(0,t.jsx)(M,{className:u.drawer__icon}),type:"guide"},{name:(0,t.jsx)(p.A,{i18nKey:"Profile"}),link:"/profile",icon:(0,t.jsx)(K,{className:u.drawer__icon}),type:"profile"},{name:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(p.A,{i18nKey:"Notifications_u"}),!!D&&(0,t.jsx)("div",{className:u.drawer__notiCount,children:D})]}),link:"/notification",icon:(0,t.jsx)(Z.A,{className:u.drawer__icon}),type:"notification"},{name:(0,t.jsx)(p.A,{i18nKey:"LogOut"}),link:"/",icon:(0,t.jsx)(F.A,{className:u.drawer__icon}),type:"logout"}],[u,T,z,D]),G=(0,s.useCallback)(()=>
1{w(),m()},[w,m]),O=(0,s.useCallback)(e=>{if(y.token)return(0,t.jsx)(_.A,{className:u.drawer__listMenuItem,children:(0,t.jsxs)(d.N_,{to:e.link,onClick:G,children:[(0,t.jsx)("div",{className:u.drawer__iconDiv,children:e.icon}),(0,t.jsx)("div",{className:u.drawer__listMenuItem__text,children:e.name})]})},e.type)},[y.token,u,G]);return(0,t.jsxs)(o.Ay,{anchor:"left",open:r,onClose:m,classes:{paper:u.drawer__paper},children:[(0,t.jsx)("div",{className:u.drawer__head,children:(0,t.jsx)(P.A,{})}),(0,t.jsx)("div",{className:u.drawer__listMenu,children:(0,t.jsx)(c.A,{disablePadding:!0,children:x()($,e=>{switch(e.type){case"logout":return O(e);case"profile":return y.token&&(0,t.jsx)(_.A,{className:(0,C.default)({[u.drawer__listMenuItem]:!0,[u.drawer__listMenuItem_active]:R(e.link)}),children:(0,t.jsxs)(d.N_,{onClick:m,to:e.link,children:[(0,t.jsx)("div",{className:u.drawer__iconDiv,children:e.icon}),(0,t.jsx)("div",{className:u.drawer__listMenuItem__text,children:e.name})]})},e.type);default:return(0,t.jsx)(_.A,{className:(0,C.default)({[u.drawer__listMenuItem]:!0,[u.drawer__listMenuItem_active]:R(e.link)}),children:(null==e?void 0:e.subMenu)?(0,t.jsx)(q,{menu:e,toggleDrawer:m}):(0,t.jsxs)(d.N_,(0,n._)((0,i._)({onClick:m,to:e.link},e.linkProps),{children:[(0,t.jsx)("div",{className:u.drawer__iconDiv,children:e.icon}),(0,t.jsx)("span",{className:u.drawer__listMenuItem__text,children:e.name})]}))},e.type)}})})}),(0,t.jsx)("div",{className:u.drawer__copyRightText,children:(0,t.jsx)(p.A,{i18nKey:"FooterCopyright",values:{name:B}})})]})})))}}]); 2//# sourceMappingURL=14482.356a4f2a.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.