1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8596],{5737:function(e,t,n){n.d(t,{EM:function(){return _},Hg:function(){return y},Mr:function(){return H}});var o=n(57437),r=n(2265),i=n(19643),a=n(17162),l=n(66274),c=n(47897),s=n(60033),p=n(36067),d=n(1899),h=n(97312),m=n(89051),u=n(16210),f=n(11741),x=n(90495),g=n(76975);let b=(0,r.forwardRef)((e,t)=>{let{title:n,path:i,icon:a,info:l,disabled:c,caption:u,roles:f,open:b,depth:w,active:j,haschild:y,externalLink:k,currentRole:C="admin",onClick:Z,ischildcolumn:S,handleToggleMenu:N,showOnHover:E,onMouseEnter:P,onMouseLeave:R,xyesComponent:L,children:W,...I}=e,H=1!==w,{showMessage:T}=(0,p.useSnackbar)(),{t:z}=(0,s.i)(),F=(0,o.jsxs)(v,{ref:t,disableGutters:!0,open:b,depth:w,active:j,disabled:c,onClick:()=>{null==Z||Z(),null==N||N()},ischildcolumn:S,onMouseEnter:e=>{P&&P(e)},onMouseLeave:e=>{R&&R(e)},haschild:null==y?void 0:y.toString(),...I,children:[L?(0,o.jsxs)(o.Fragment,{children:[!H&&a&&(0,o.jsx)(d.Z,{component:"span",className:"icon",children:a}),r.cloneElement(L,{sx:{...L.props.sx,fontSize:{xs:"clamp(0.575rem, 2.4vw, 0.2rem)",sm:"clamp(0.575rem, 2.4vw, 0.2rem)",md:"clamp(0.575rem, 2.4vw, 0.2rem)","@media (max-width: 280px)":{fontSize:"0.5rem"}}}})]}):(0,o.jsxs)(h.Z,{component:x.r,href:i,onClick:e=>{["/racing/horse-racing","/racing/greyhound","/racing/harness","/crypto","/crypto/crypto-trading/"].some(e=>i.includes(e))&&(e.preventDefault(),T(z("errors.comingSoon"),"info"))},...k&&{target:"_blank",rel:"noopener noreferrer"},color:"inherit",underline:"none",sx:{...c&&{cursor:"default"},display:"flex",flexDirection:"column",alignItems:"center",width:"100%",fontSize:{xs:"clamp(0.575rem, 2.4vw, 0.2rem)",sm:"clamp(0.575rem, 2.4vw, 0.2rem)",md:"clamp(0.575rem, 2.4vw, 0.2rem)","@media (max-width: 280px)":{fontSize:"0.5rem"}},textAlign:"center"},children:[!H&&a&&(0,o.jsx)(d.Z,{component:"span",className:"icon",children:a}),H&&a?(0,o.jsx)(d.Z,{component:"span",className:"icon",children:a}):(0,o.jsx)(d.Z,{component:"span",className:"sub-icon"}),n&&(0,o.jsxs)(d.Z,{component:"span",sx:{flex:"1 1 auto",minWidth:0,marginTop:"4px",wordBreak:"break-word"},children:[(0,o.jsx)(d.Z,{component:"span",className:"label",sx:{display:"block",whiteSpace:"normal",overflow:"visible",lineHeight:"1.2"},children:z(n)}),u&&(0,o.jsx)(m.Z,{title:u,placement:"top-start",children:(0,o.jsx)(d.Z,{component:"span",className:"caption",children:u})})]}),l&&(0,o.jsx)(d.Z,{component:"span",className:"info",children:l})]}),y&&(0,o.jsx)(g.Z,{width:16,className:"arrow",icon:b?"eva:arrow-ios-upward-fill":"eva:arrow-ios-downward-fill"}),W]});return f&&!f.includes("".concat(C))?null:F}),v=(0,u.ZP)(f.Z,{shouldForwardProp:e=>"active"!==e})(e=>{let{active:t,open:n,depth:o,theme:r}=e,i=1!==o,a=n&&!t,l=r.palette.primary.light,c={item:{borderRadius:6,color:r.palette.text.primary},icon:{width:22,height:22,flexShrink:0,color:t?"#fff":l},label:{display:"block",whiteSpace:"normal",wordBreak:"break-word",textTransform:"capitalize",lineHeight:"1.2"},caption:{color:r.palette.text.disabled}};return{...!i&&{...c.item,fontSize:"0.5rem",minHeight:64,textAlign:"center",flexDirection:"column",justifyContent:"center",padding:r.spacing(.5),margin:r.spacing(0,.5),fontWeight:r.typography.fontWeightSemiBold,"& .icon":{...c.icon,marginBottom:r.spacing(.5)},"& .label":{...c.label},"& .caption":{...c.caption,top:11,left:6,position:"absolute"},"& .arrow":{top:11,right:6,position:"absolute"},...t&&{fontWeight:r.typography.fontWeightBold,backgroundColor:l,"&:hover":{backgroundColor:"#c35f06 !important"},color:"#fff"},...a&&{color:r.palette.text.primary,backgroundColor:"#82400C"}},...i&&{...c.item,fontSize:"0.5rem",minHeight:64,textAlign:"center",flexDirection:"column",justifyContent:"center",padding:r.spacing(.5),margin:r.spacing(0,.5),fontWeight:r.typography.fontWeightSemiBold,"& .icon":{...c.icon,color:r.palette.text.disabled,marginBottom:r.spacing(.5)},"& .sub-icon":{...c.icon,display:"flex",alignItems:"center",justifyContent:"center",marginBottom:r.spacing(.5),"&:before":{content:'""',width:4,height:4,borderRadius:"50%",backgroundColor:r.palette.text.disabled,transition:r.transitions.create(["transform"],{duration:r.transitions.duration.shorter}),...t&&{transform:"scale(2)",backgroundColor:r.palette.primary.main}}},"& .label":{...c.label,color:r.palette.text.disabled},"& .caption":{...c.caption,top:11,left:6,position:"absolute"},"& .arrow":{top:11,right:6,position:"absolute"},...t&&{color:"#c2cddf",textShadow:"0px 4px 4px rgba(0, 0, 0, 0.25)",backgroundColor:r.palette.orange[700],"&:hover":{backgroundColor:r.palette.orange[600]}},...a&&{color:r.palette.text.primary,backgroundColor:r.palette.action.hover}}}});function w(e){let{data:t,depth:n,slotProps:i,onClick:s}=e,p=(0,l.jD)(),d=(0,c.X)(t.path,!!t.children),[h,m]=(0,r.useState)(d);(0,r.useEffect)(()=>{d||u()}
1,[p]);let u=(0,r.useCallback)(()=>{m(!1)},[]),f=(0,r.useCallback)(()=>{t.children&&m(e=>!e)},[t.children]);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(b,{open:h,onClick:s,title:t.title,path:t.path,icon:t.icon,info:t.info,roles:t.roles,caption:t.caption,disabled:t.disabled,depth:n,haschild:!!t.children,externalLink:t.path.includes("http")||t.path.includes("https"),currentRole:null==i?void 0:i.currentRole,active:d,className:d?"active":"",sx:1===n?null==i?void 0:i.rootItem:null==i?void 0:i.subItem,handleToggleMenu:f,xyesComponent:t.xyesComponent}),!!t.children&&(0,o.jsx)(a.Z,{in:h,unmountOnExit:!0,children:(0,o.jsx)(j,{data:t.children,depth:n,slotProps:i})})]})}function j(e){let{data:t,depth:n,slotProps:r}=e;return(0,o.jsx)(i.Z,{spacing:.5,children:t.map(e=>(0,o.jsx)(w,{data:e,depth:n+1,slotProps:r,onClick:e.onClick},e.title))})}var y=(0,r.memo)(function(e){let{data:t,slotProps:n,...r}=e;return(0,o.jsx)(i.Z,{component:"nav",id:"nav-section-mini",spacing:"".concat((null==n?void 0:n.gap)||4,"px"),...r,children:t.map((e,t)=>(0,o.jsx)(k,{items:e.items,slotProps:n},e.subheader||t))})});function k(e){let{items:t,slotProps:n}=e;return(0,o.jsx)(o.Fragment,{children:t.map(e=>(0,o.jsx)(w,{data:e,depth:1,slotProps:n,onClick:e.onClick,column:e.column,showOnHover:e.showOnHover,xyesComponent:e.xyesComponent},e.title))})}var C=n(2323),Z=n(31691),S=n(82156);let N=(0,r.forwardRef)((e,t)=>{let{title:n,path:r,icon:i,info:a,disabled:l,caption:c,roles:u,open:f,depth:b,active:v,haschild:w,externalLink:j,currentRole:y="admin",onClick:k,ischildcolumn:C,handleToggleMenu:Z,showOnHover:S,onMouseEnter:N,onMouseLeave:P,xyesComponent:R,children:L,...W}=e,I=1!==b,{showMessage:H}=(0,p.useSnackbar)(),{t:T}=(0,s.i)(),z=(0,o.jsxs)(E,{ref:t,disableGutters:!0,open:f,depth:b,active:v,disabled:l,onClick:()=>{null==k||k(),null==Z||Z()},ischildcolumn:C,onMouseEnter:e=>{N&&N(e)},onMouseLeave:e=>{P&&P(e)},haschild:null==w?void 0:w.toString(),...W,children:[R?(0,o.jsxs)(o.Fragment,{children:[!I&&i&&(0,o.jsx)(d.Z,{component:"span",className:"icon",children:i}),R]}):(0,o.jsxs)(h.Z,{component:x.r,href:r,onClick:e=>{["/crypto","/crypto/crypto-trading"].some(e=>r.includes(e))&&(e.preventDefault(),H(T("errors.comingSoon"),"info"))},...j&&{target:"_blank",rel:"noopener noreferrer"},color:"inherit",underline:"none",sx:{...l&&{cursor:"default"},display:"flex",alignItems:"center",width:"100%"},children:[!I&&i&&(0,o.jsx)(d.Z,{component:"span",className:"icon",children:i}),I&&i?(0,o.jsx)(d.Z,{component:"span",className:"icon",children:i}):(0,o.jsx)(d.Z,{component:"span",className:"sub-icon"}),n&&(0,o.jsxs)(d.Z,{component:"span",sx:{flex:"1 1 auto",minWidth:0},children:[(0,o.jsx)(d.Z,{component:"span",className:"label",sx:{display:"block",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:T(n)}),c&&(0,o.jsx)(m.Z,{title:c,placement:"top-start",children:(0,o.jsx)(d.Z,{component:"span",className:"caption",children:c})})]}),a&&(0,o.jsx)(d.Z,{component:"span",className:"info",children:a})]}),w&&(0,o.jsx)(g.Z,{width:16,className:"arrow",icon:f?"eva:arrow-ios-upward-fill":"eva:arrow-ios-downward-fill"}),L]});return u&&!u.includes("".concat(y))?null:z}),E=(0,u.ZP)(f.Z,{shouldForwardProp:e=>"active"!==e})(e=>{let{active:t,open:n,depth:o,theme:r,ischildcolumn:i,haschild:a}=e,l=1!==o,c=Number(o)>2,s=r.palette.primary.light,p={width:"100%",maxWidth:"100%",display:"block",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},d={item:{marginBottom:4,borderRadius:8,color:r.palette.text.primary,padding:i?"0px":r.spacing(.5,1,.5,1.5)},icon:{width:i?0:24,height:24,flexShrink:0,marginRight:i?"0px":r.spacing(2),color:t?"#fff":s},label:{...p,...r.typography.body1,textTransform:"capitalize",fontWeight:700},caption:{...p,...r.typography.caption,color:r.palette.text.disabled},info:{display:"inline-flex",marginLeft:i?"0px":r.spacing(.75)},arrow:{flexShrink:0,marginLeft:r.spacing(.75)}};return{...!l&&{...d.item,minHeight:44,"& .icon":{...d.icon},"& .sub-icon":{display:"none"},"& .label":{...d.label},"& .caption":{...d.caption},"& .info":{...d.info},"& .arrow":{...d.arrow},...t&&{textShadow:"0px 4px 4px rgba(0, 0, 0, 0.25)",...(null==a?void 0:a.toString().toLowerCase())==="false"&&{backgroundColor:"#c35f06 !important","& .icon":{...d.icon,color:"#fff !important"}},"& .icon":{...d.icon,color:(null==a?void 0:a.toString().toLowerCase())==="false"?"#fff":"#c35f06"},"&:hover":{backgroundColor:"#c35f06 !important",color:"#fff","& .icon":{color:"#fff"}}}
1,...n&&!t&&{color:r.palette.text.primary,backgroundColor:"#82400C","& .icon":{...d.icon,color:"#fff"},"&:hover":{backgroundColor:"#c35f06 !important",color:"#fff","& .icon":{color:"#fff"}}}},...l&&{...d.item,minHeight:36,"& .icon":{...d.icon},"& .sub-icon":{...d.icon,display:"flex",alignItems:"center",justifyContent:"center","&:before":{content:'""',width:4,height:4,borderRadius:"50%",backgroundColor:r.palette.text.disabled,transition:r.transitions.create(["transform"],{duration:r.transitions.duration.shorter}),...t&&{transform:"scale(2)",backgroundColor:r.palette.primary.main}}},"& .label":{...d.label},"& .caption":{...d.caption},"& .info":{...d.info},"& .arrow":{...d.arrow},...t&&{color:"#c2cddf",textShadow:"0px 4px 4px rgba(0, 0, 0, 0.25)",backgroundColor:r.palette.orange[700],"&:hover":{backgroundColor:r.palette.orange[600]}}},...c&&{paddingLeft:"".concat(r.spacing(Number(o))," !important")}}});function P(e){let{data:t,depth:n,slotProps:i,onClose:s}=e,p=(0,l.jD)(),d=(0,Z.Z)(),h=(0,c.X)(t.path,!!t.children),m=(0,S.Z)(d.breakpoints.down("md")),[u,f]=(0,r.useState)(h),x=!t.children&&1!==n;(0,r.useEffect)(()=>{h||b()},[p]);let g=(0,r.useCallback)(()=>{t.children?f(e=>!e):m&&"Language"!==t.title&&(null==s||s())},[t.children,t.title,m,s]),b=(0,r.useCallback)(()=>{f(!1)},[]);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(N,{open:u,onClick:g,title:t.title,path:t.path,icon:x?(0,o.jsx)("span",{style:{color:d.palette.grey[400]},children:t.icon}):t.icon,info:t.info,roles:t.roles,caption:t.caption,disabled:t.disabled,depth:n,haschild:!!t.children,externalLink:t.path.includes("http")||t.path.includes("https"),currentRole:null==i?void 0:i.currentRole,active:h,className:h?"active":"",sx:{mb:"".concat(null==i?void 0:i.gap,"px"),...1===n?null==i?void 0:i.rootItem:null==i?void 0:i.subItem,color:x?d.palette.grey[400]:"inherit",pl:x?4:2},xyesComponent:t.xyesComponent}),!!t.children&&(0,o.jsx)(a.Z,{in:u,unmountOnExit:!0,children:(0,o.jsx)(R,{data:t.children,depth:n,slotProps:i,onClose:s})})]})}function R(e){let{data:t,depth:n,slotProps:r,onClose:i}=e;return(0,o.jsx)(o.Fragment,{children:t.map(e=>(0,o.jsx)(P,{data:e,depth:n+1,slotProps:r,onClose:i},e.title))})}var L=n(46387),W=n(88064);let I=()=>{let[e,t]=(0,r.useState)(new Date);return(0,r.useEffect)(()=>{let e=()=>{let e=new Date;0===e.getSeconds()&&t(e)};e();let n=setInterval(e,1e3);return()=>clearInterval(n)},[]),(0,o.jsx)(L.Z,{display:{xs:"none",md:"block"},alignContent:"center",alignItems:"center",align:"center",border:2,borderColor:e=>(0,W.Fq)(e.palette.grey[500],.6),borderRadius:1,color:e=>e.palette.grey[400],height:"100%",variant:"subtitle1",sx:{px:1},children:"".concat(e.toUTCString().slice(17,22)," UTC")})};var H=(0,r.memo)(function(e){let{data:t,slotProps:n,onClose:r,...a}=e;return(0,o.jsxs)(i.Z,{component:"nav",id:"nav-section-vertical",...a,children:[t.map((e,t)=>(0,o.jsx)(T,{subheader:e.subheader,items:e.items,slotProps:n,onClose:r},e.subheader||t)),(0,o.jsx)("div",{style:{margin:"0.3rem 1.5rem 0 1.9rem"},children:(0,o.jsx)(I,{"data-test":"clock"})})]})});function T(e){let{subheader:t,items:n,slotProps:l,onClose:c}=e,[s]=(0,r.useState)(!0),[p,d]=(0,r.useState)(""),h=n.map(e=>(0,o.jsx)(P,{data:e,depth:1,slotProps:l,onClick:e.onClick,column:e.column,showOnHover:e.showOnHover,xyesComponent:e.xyesComponent,navlistTitle:p,setNavlistTitle:d,onClose:c},e.title));return(0,o.jsx)(i.Z,{sx:{px:2},children:t?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(C.Z,{disableGutters:!0,disableSticky:!0,sx:{fontSize:16,cursor:"pointer",fontWeight:700,borderTop:e=>"solid 2px ".concat(e.palette.divider),borderBottom:e=>"solid 2px ".concat(e.palette.divider),display:"inline-flex",color:"text.disabled",mb:"".concat((null==l?void 0:l.gap)||4,"px"),px:"".concat((null==l?void 0:l.gap)||14,"px"),transition:e=>e.transitions.create(["color"],{duration:e.transitions.duration.shortest}),"&:hover":{color:"text.primary"},...null==l?void 0:l.subheader},children:t}),(0,o.jsx)(a.Z,{in:s,children:h})]}):h})}var z=n(38398);let F=(0,r.forwardRef)((e,t)=>{let{title:n,path:r,icon:i,info:a,disabled:l,caption:c,roles:s,open:p,depth:u,active:f,haschild:b,externalLink:v,currentRole:w="admin",...j}=e,y=1!==u,k=(0,o.jsxs)(B,{ref:t,open:p,depth:u,active:f,disabled:l,...j,children:[i&&(0,o.jsx)(d.Z,{component:"span",className:"icon",children:i}),n&&(0,o.jsx)(d.Z,{component:"span",className:"label",children:n}),c&&(0,o.jsx)(m.Z,{title:c,arrow:!0,children:(0,o.jsx)(g.Z,{width:16,icon:"eva:info-outline",className:"caption"})}),a&&(0,o.jsx)(d.Z,{component:"span",className:"info",children:a}),b&&(0,o.jsx)(g.Z,{width:16,className:"arrow",icon:y?"eva:arrow-ios-downward-fill":"eva:arrow-ios-forward-fill"})]});return s&&!s.includes("".concat(w))?null:v?(0,o.jsx)(h.Z,{href:r,target:"_blank",rel:"noopener",color:"inherit",underline:"none",sx:{...l&&{cursor:"default"}},children:k}):(0,o.jsx)(h.Z,{component:x.r,href:r,color:"inherit",underline:"none",sx:{...l&&{cursor:"default"}},children:k})}),B=(0,u.ZP)(f.Z,{shouldForwardProp:e=>"active"!==e})(e=>{let{active:t,open:n,depth:o,theme:r}=e,i=1!==o,a=n&&!t,l={item:{...r.typography.body2,borderRadius:6,color:r.palette.text.secondary,fontWeight:r.typography.fontWeightMedium},icon:{width:22,height:22,flexShrink:0,marginRight:r.spacing(1)},label:{textTransform:"capitalize"},caption:{marginLeft:r.spacing(.75),color:r.palette.text.disabled},info:{display:"inline-flex",marginLeft:r.spacing(.75)},arrow:{marginLeft:r.spacing(.75)}};return{...!i&&{...l.item,minHeight:32,flexShrink:0,padding:r.spacing(0,.75),"& .icon":{...l.icon},"& .label":{...l.label,whiteSpace:"nowrap"},"& .caption":{...l.caption},"& .info":{...l.info},"& .arrow":{...l.arrow},...t&&{color:r.palette.text.primary,backgroundColor:r.palette.action.selected,fontWeight:r.typography.fontWeightSemiBold},...a&&{color:r.palette.text.primary,backgroundColor:r.palette.action.hover}},...i&&{...l.item,minHeight:34,padding:r.spacing(0,1),"& .icon":{...l.icon},"& .label":{...l.label,flexGrow:1},"& .caption":{...l.caption},"& .info":{...l.info},"& .arrow":{...l.arrow,marginRight:r.spacing(-.5)},...t&&{color:r.palette.text.primary,backgroundColor:r.palette.action.selected,fontWeight:r.typography.fontWeightSemiBold},...a&&{color:r.palette.text.primary,backgroundColor:r.palette.action.hover}}}});function M(e){let{data:t,depth:n,slotProps:i}=e,a=(0,r.useRef)(null),s=(0,l.jD)(),p=(0,c.X)(t.path,!!t.children),[d,h]=(0,r.useState)(!1);(0,r.useEffect)(()=>{d&&u()},[s]);let m=(0,r.useCallback)(()=>{t.children&&h(!0)},[t.children]),u=(0,r.useCallback)(()=>{h(!1)},[]);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(F,{ref:a,open:d,onMouseEnter:m,onMouseLeave:u,title:t.title,path:t.path,icon:t.icon,info:t.info,roles:t.roles,caption:t.caption,disabled:t.disabled,depth:n,haschild:!!t.children,externalLink:t.path.includes("http"),currentRole:null==i?void 0:i.currentRole,active:p,className:p?"active":"",sx:1===n?null==i?void 0:i.rootItem:null==i?void 0:i.subItem}),!!t.children&&(0,o.jsx)(z.ZP,{disableScrollLock:!0,open:d,anchorEl:a.current,anchorOrigin:1===n?{vertical:"bottom",horizontal:"left"}:{vertical:"center",horizontal:"right"},transformOrigin:1===n?{vertical:"top",horizontal:"left"}:{vertical:"center",horizontal:"left"},slotProps:{paper:{onMouseEnter:m,onMouseLeave:u,sx:{minWidth:160,...d&&{pointerEvents:"auto"}}}},sx:{pointerEvents:"none"},children:(0,o.jsx)(O,{data:t.children,depth:n,slotProps:i})})]})}function O(e){let{data:t,depth:n,slotProps:r}=e;return(0,o.jsx)(i.Z,{spacing:.5,children:t.map(e=>(0,o.jsx)(M,{data:e,depth:n+1,slotProps:r},e.title))})}var _=(0,r.memo)(function(e){let{data:t,slotProps:n,sx:r,...a}=e;return(0,o.jsx)(i.Z,{component:"nav",id:"nav-section-horizontal",direction:"row",alignItems:"center",spacing:"".concat((null==n?void 0:n.gap)||6,"px"),sx:{mx:"auto",...r},...a,children:t.map((e,t)=>(0,o.jsx)(D,{items:e.items,slotProps:n},e.subheader||t))})});function D(e){let{items:t,slotProps:n}=e;return(0,o.jsx)(o.Fragment,{children:t.map(e=>(0,o.jsx)(M,{data:e,depth:1,slotProps:n},e.title))})}},16539:function(e,t,n){n.d(t,{pG:function(){return i},w$:function(){return r},yf:function(){return o}});let o={H_MOBILE:54,H_TABLET:70,H_DESKTOP:70,H_DESKTOP_OFFSET:62},r={W_VERTICAL:260,W_MINI:88},i=350},90495:function(e,t,n){n.d(t,{r:function(){return a}});var o=n(57437),r=n(2265),i=n(27648),a=(0,r.forwardRef)((e,t)=>{let{...n}=e;return(0,o.jsx)(i.default,{ref:t,...n})})}}]);
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.