PageSourceSearch

https://xyes.ai/_next/static/js/8359.ebea068ec5b577cb.js

js xyes.ai collected 2026-10-05 14:49:29 UTC 11,145 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8359,8954,2230,4984,9931],{78359:function(t,e,i){i.r(e),i.d(e,{default:function(){return z}});var n=i(57437),a=i(60033),r=i(79975),o=i(66274),s=i(9467),l=i(63597),d=i(55447),c=i(16593),u=i(45345),p=i(49931);let x=t=>{let{filter:e,populate:i,locale:n}=t,a=(0,p.Aj)(d.Hv.cms.getGameCategoryBanner,{filter:e,populate:i,locale:n});return(0,c.a)({queryKey:["getCMSGameCategoryBanner",a.toString()],queryFn:()=>(0,p.DQ)(a.toString(),"game-category-banners"),placeholderData:u.Wk,refetchOnMount:!0,refetchOnWindowFocus:!0})};var h=i(31691),m=i(82156),g=i(1899),v=i(89414),b=i(47080),f=i(19643),w=i(46387),y=i(59708),Z=i(44811),k=i(38954),j=i(3862),S=i(7748);let C=(0,r.Z)({stopOnMouseEnter:!0,stopOnInteraction:!1});var z=()=>{var t;let{getLang:e}=(0,a.i)(),{data:i,isLoading:r}=x({populate:[{key:"populate",value:"*"}],locale:{key:"locale",value:e()}}),d=(0,o.tv)(),[c,u]=(0,s.Z)({loop:!0},[C]),{autoPlayInterrupted:p,selectedIndex:z,scrollSnaps:P,onDotButtonClick:_}=(0,S.Y)(u),R=(0,h.Z)(),B=t=>"secondary"===t.toLowerCase()?"secondary":"primary",H="@media (min-width: 768px) and (max-width: 943px)",I=(0,m.Z)(R.breakpoints.down("md")),W=null!==(t=null==i?void 0:i.data)&&void 0!==t?t:[];return r?(0,n.jsx)(g.Z,{className:"embla",sx:{position:"relative",mb:2},children:(0,n.jsx)(v.ZP,{container:!0,spacing:1,children:Array.from(Array(I?1:3)).map((t,e)=>(0,n.jsx)(v.ZP,{item:!0,xs:12,sm:12,lg:4,xl:4,display:"flex",justifyContent:"center",my:1.5,children:(0,n.jsx)(b.Z,{variant:"rectangular",width:"100%",height:I?190:178,sx:{borderRadius:2}})},e))})}):0===W.length?null:(0,n.jsxs)(g.Z,{className:"embla",sx:{position:"relative",mb:2},children:[(0,n.jsx)(g.Z,{className:"embla__viewport",ref:c,children:(0,n.jsx)(g.Z,{className:"embla__container",children:W.map((t,e)=>{var i,a,r,o,s,c,u,p,x,h,m,v,b,j,S,C,z,P,_,R,I,W,N,A;return(0,n.jsx)(g.Z,{className:"embla__slide",onClick:()=>{var e,i,n;(null===(e=t.attributes.cta_banner)||void 0===e?void 0:e.isExternal)?window.open((null===(i=t.attributes.cta_banner)||void 0===i?void 0:i.href)||"","_blank","noopener,noreferrer"):d.push((null===(n=t.attributes.cta)||void 0===n?void 0:n.href)||"")},sx:{cursor:"pointer",width:"100%","&:hover":{opacity:.95}},children:(0,n.jsx)(l.Z,{image:null===(r=t.attributes.image)||void 0===r?void 0:null===(a=r.data)||void 0===a?void 0:null===(i=a.attributes)||void 0===i?void 0:i.url,alt:t.attributes.heading,sx:{width:"100%",height:"100%",aspectRatio:"16/9",position:"relative",overflow:"hidden",borderRadius:{xs:"8px",sm:"12px",md:"15px",lg:"20px"},...(null===(c=t.attributes.backgroundImage)||void 0===c?void 0:null===(s=c.data)||void 0===s?void 0:null===(o=s.attributes)||void 0===o?void 0:o.url)&&{backgroundImage:"url(".concat(null===(x=t.attributes.backgroundImage)||void 0===x?void 0:null===(p=x.data)||void 0===p?void 0:null===(u=p.attributes)||void 0===u?void 0:u.url,")"),backgroundSize:"100% 100%",backgroundPosition:"center",backgroundRepeat:"no-repeat"},"& img":{width:"100%",minHeight:{xs:"100%",sm:"100%"},height:"100%",position:"absolute",objectPosition:{xs:"right center",sm:"right center"},objectFit:"100% 100%",right:{xs:50,"@media (min-width: 640px) and (max-width: 767px)":{right:-100},sm:-20,md:-20},top:{xs:-10,sm:0}}},children:(0,n.jsxs)(f.Z,{flexDirection:"column",justifyContent:"center",alignItems:"start",spacing:2,sx:{height:"100%",width:"100%",zIndex:1},children:[(0,n.jsxs)(g.Z,{borderLeft:2,borderColor:"secondary.main",pl:1,children:[(0,n.jsx)(k.Z,{src:null===(v=t.attributes.logoProvider)||void 0===v?void 0:null===(m=v.data)||void 0===m?void 0:null===(h=m.attributes)||void 0===h?void 0:h.url,alt:t.attributes.heading,width:18,height:18,sx:{[H]:{width:"10px",height:"10px"}}}),(0,n.jsx)(w.Z,{variant:"h2",sx:{textShadow:"3px 3px 6px rgba(0, 0, 0, 0.9)",fontWeight:800,color:"common.white",letterSpacing:1,WebkitTextStroke:"1px rgba(0, 0, 0, 0.3)",[H]:{fontSize:"0.7rem"}},children:t.attributes.heading||""}),(0,n.jsx)(w.Z,{variant:"h4",color:"white",sx:{textShadow:"2px 2px 4px rgba(0, 0, 0, 0.8)",fontWeight:700,WebkitTextStroke:"0.5px rgba(0, 0, 0, 0.3)",[H]:{fontSize:"0.6rem"}},children:t.attributes.subHeading||""})]}),t.attributes.badgeButton?(0,n.jsx)(g.Z,{marginTop:1,children:(0,n.jsx)(y.Z,{component:"span",badgeContent:t.attributes.badgeButton,color:"secondary",variant:"standard",anchorOrigin:{vertical:"top",horizontal:"right"},sx:{"& .MuiBadge-badge":{right:25,top:-5,padding:{xs:"0 4px",sm:"0 6px"},fontSize:{xs:"0.6rem",sm:"0.75rem",[H]:{fontSize:"0.6rem"}},whiteSpace:"nowrap",maxWidth:"none"}},children:(0,n.jsx)(Z.Z,{href:(null===(j=t.attributes)||void 0===j?void 0:null===(b=j.cta[0])||void 0===b?void 0:b.href)||"",size:"small",variant:"contained",color:B((null===(C=t.attributes)||void 0===C?void 0:null===(S=C.cta[0])||void 0===S?void 0:S.type)||""),sx:{paddingBlock:{xs:"8px",[H]:{paddingBlock:"8px"},sm:"12px",md:"17px"},height:{xs:"24px",[H]:{height:"24px"},sm:"28px",md:"32px"},minHeight:{xs:"24px",[H]:{minHeight:"24px"},sm:"28px",md:"32px"},fontSize:{xs:"0.6rem",[H]:{fontSize:"0.6rem"},sm:"0.62rem",md:"0.65rem"},lineHeight:"1",borderRadius:1},children:(0,n.jsx)(w.Z,{color:"white",variant:"button",sx:{fontSize:{xs:"0.65rem",sm:"inherit"}},children:null===(P=t.attributes)||void 0===P?void 0:null===(z=P.cta)||void 0===z?void 0:z.label})})})}):(0,n.jsx)(Z.Z,{href:(null===(R=t.attributes)||void 0===R?void 0:null===(_=R.cta[0])||void 0===_?void 0:_.href)||"",size:"small",variant:"contained",color:B((null===(W=t.attributes)||void 0===W?void 0:null===(I=W.cta[0])||void 0===I?void 0:I.type)||""),sx:{paddingBlock:{xs:"8px",[H]:{paddingBlock:"8px"},sm:"12px",md:"17px"},height:{xs:"24px",[H]:{height:"24px"},sm:"28px",md:"32px"},minHeight:{xs:"24px",[H]:{minHeight:"24px"},sm:"28px",md:"32px"},fontSize:{xs:"0.6rem",[H]:{fontSize:"0.6rem"},sm:"0.62rem",md:"0.65rem"},lineHeight:"1",borderRadius:1},children:(0,n.jsx)(w.Z,{color:"white",variant:"button",sx:{fontSize:{xs:"0.65rem",sm:"inherit"}},children:null===(A=t.attributes)||void 0===A?void 0:null===(N=A.cta)||void 0===N?void 0:N.label})})]})})},e)})})}),(0,n.jsx)(g.Z,{sx:{position:"absolute",bottom:R.spacing(1),left:0,right:0,zIndex:10},className:"embla__controls",children:(0,n.jsx)(f.Z,{direction:"row",justifyContent:"center",gap:1,children:P.map((t,e)=>(0,n.jsx)(j.H,{active:e===z,pauseTimer:p,onClick:()=>{_(e)}},e))})})]})}}
1,3862:function(t,e,i){i.d(e,{H:function(){return l}});var n=i(45008),a=i(57437),r=i(1899),o=i(3146);function s(){let t=(0,n._)(["0% { width: 0%; } 100% { width: 100%; }"]);return s=function(){return t},t}let l=t=>{let{active:e,pauseTimer:i,onClick:n}=t;return(0,a.jsx)(r.Z,{sx:{backgroundColor:t=>t.palette.grey[400],borderRadius:e?2:"50%",cursor:e?"default":"pointer",height:8,overflow:"hidden",width:e?40:8,transition:"width 0.2s, border-radius 0.2s"},onClick:()=>!e&&n(),children:(0,a.jsx)(r.Z,{sx:{...e&&{animation:"".concat((0,o.F4)(s())," 3.5s linear 1"),animationPlayState:i?"paused":"running",backgroundColor:t=>t.palette.primary.main,height:"100%"}}})})}},7748:function(t,e,i){i.d(e,{Y:function(){return a}});var n=i(2265);let a=t=>{let[e,i]=(0,n.useState)(!1),[a,r]=(0,n.useState)(0),[o,s]=(0,n.useState)([]),l=(0,n.useCallback)(e=>{t&&(t.scrollTo(e),t.plugins().autoplay.reset())},[t]),d=(0,n.useCallback)(t=>{s(t.scrollSnapList())},[]),c=(0,n.useCallback)(t=>{r(t.selectedScrollSnap())},[]),u=(0,n.useCallback)(()=>{i(!1)},[]),p=(0,n.useCallback)(()=>{i(!0)},[]);return(0,n.useEffect)(()=>{t&&(d(t),c(t),t.on("reInit",d).on("reInit",c).on("select",c).on("autoplay:play",u).on("autoplay:stop",p))},[t,u,p,d,c]),{autoPlayInterrupted:e,selectedIndex:a,scrollSnaps:o,onDotButtonClick:l}}},2230:function(t,e,i){var n=i(57437),a=i(2265),r=i(1899);let o=(0,a.forwardRef)((t,e)=>{let{src:i,width:a=20,height:o=20,sx:s,...l}=t;return(0,n.jsx)(r.Z,{ref:e,component:"div",className:"component-imagify",sx:{width:a,height:o,backgroundImage:"url(".concat(i,")"),backgroundSize:"cover",backgroundPosition:"center",borderRadius:"5.2px",...s},...l})});e.Z=o},38954:function(t,e,i){i.d(e,{Z:function(){return n.Z}});var n=i(2230)},63597:function(t,e,i){i.d(e,{Z:function(){return d}});var n=i(57437);i(2265);var a=i(16210),r=i(1899),o=i(82156);let s=(0,a.ZP)(r.Z)({position:"relative",minWidth:0,zIndex:1}),l=(0,a.ZP)(r.Z)({position:"absolute",overflow:"visible"});var d=t=>{let{image:e,alt:i,sx:d,borderColor:c="none",background:u="linear-gradient(352deg, rgba(0, 114, 255, 0.60) 4.66%, rgba(28, 35, 52, 0.60) 70.04%), #1C2334",children:p,removeImg:x=!1,hideSubtitle:h=!1,noGrid:m=!1,isDrawer:g}=t,v=(0,o.Z)("(min-width:640px)"),b=g?1:1.5,f=(0,a.ZP)(r.Z)({position:"relative",overflow:"hidden",width:"100%",border:"".concat(b,"px solid transparent")});return(0,n.jsxs)(f,{sx:{background:g?"#262C3A":u,borderRadius:g?1:"".concat(8,"px"),display:"flex",flexDirection:"column",borderColor:c,padding:{xs:h?g?"40px":"8px":"".concat(8,"px ").concat(12,"px"),sm:"".concat(8,"px ").concat(12,"px")},gap:{xs:h?0:8,sm:8},width:{xs:"100%",sm:"100%"},...m?{height:"100%",aspectRatio:"auto"}:{...h?{height:{xs:"auto",sm:"auto",md:114},paddingBottom:{xs:g?0:"".concat(50,"%"),sm:g?0:"".concat(34.756097560975604,"%")},position:{xs:"relative",sm:"relative"}}:{height:{xs:"auto",sm:"auto",md:114},aspectRatio:g?0:328/114}},borderTop:"".concat(b,"px solid ").concat(c),borderBottom:g?"".concat(b,"px solid ").concat(c):0,borderLeft:g?"".concat(b,"px solid ").concat(c):0,borderRight:g?"".concat(b,"px solid ").concat(c):0,...d,transition:"transform 0.3s ease"},children:[(0,n.jsx)(s,{sx:{width:"100%",height:h?{xs:"100%",sm:"100%"}:"100%",position:h?{xs:"absolute",sm:"relative"}:"relative",top:0,left:0,right:0,bottom:0,"& > *":{minWidth:0,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis"}},children:p}),!x&&e&&!g&&(0,n.jsx)(l,{sx:{width:{xs:"60%",sm:"80%"},height:{xs:h?"70%":"80%",sm:"80%"},position:"absolute",top:{xs:"60%",sm:"55%"},left:v||h?"50%":"80%",transform:"translate(-50%, -50%)","& img":{width:"100%",height:"100%",objectFit:"contain",filter:"drop-shadow(0 0 20px rgba(0,0,0,0.3))"}},children:(0,n.jsx)("img",{src:e,alt:i||""})})]})}},49931:function(t,e,i){i.d(e,{Aj:function(){return c},DQ:function(){return s},hl:function(){return r},p0:function(){return l},p5:function(){return d}});var n=i(55447);let a={page:1,pageSize:0,pageCount:0,total:0};function r(){return{data:[],meta:{pagination:{...a}}}}function o(){return{data:null,meta:{}}}async function s(t,e){try{var i;let e=await n.ZP.get(t);return null!==(i=e.data)&&void 0!==i?i:r()}catch(t){return r()}}async function l(t,e){try{var i;let e=await n.ZP.get(t);return null!==(i=e.data)&&void 0!==i?i:o()}catch(t){return o()}}async function d(t,e,i,a){try{var r;let i=await n.ZP.get(t,{params:e});return null!==(r=i.data)&&void 0!==r?r:a}catch(t){return a}}function c(t){let{filter:e,populate:i,locale:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=new URL("".concat("https://api.xyes.com/api/v1").concat(t));
1return Array.isArray(i)&&i.forEach(t=>{a.searchParams.append(t.key,t.value)}),e&&a.searchParams.append(e.key,e.value),n&&a.searchParams.append(n.key,n.value),a}}}]);

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.