1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3145],{89408:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/igame/detail/[id]",function(){return n(59556)}])},75611:function(e,t,n){"use strict";var s=n(85893);n(67294);var a=n(69767);let r=()=>(0,s.jsx)("div",{className:"transition-default badge absolute -right-3 -top-3 z-10 h-8 md:h-10 w-8 md:w-10 md:uppercase rotate-[30deg] rounded-full font-normal max-md:text-xs group-hover:rotate-0",children:"Hot"}),l=e=>{let{name:t,image:n,descriptionElement:l,isHot:i,isOutstanding:c,isHotWeek:o,categories:d,numberOfPlayer:m,classNameWrapper:u,classNameImage:x,index:h}=e;return(0,s.jsxs)("div",{className:"group relative flex cursor-pointer flex-col justify-start gap-2 md:gap-4 ".concat(u),children:[i&&(0,s.jsx)(r,{}),(0,s.jsxs)("div",{className:"transition-default relative overflow-hidden rounded-[1rem] ".concat(x),children:[(0,s.jsx)("img",{src:n,alt:t,className:"w-full transition-default object-cover group-hover:scale-110 "}),c&&(0,s.jsx)("div",{className:"absolute bottom-0 max-md:hidden left-0",children:(0,s.jsx)(a.Z,{text:"Game ná»i báºt"})})]}),(0,s.jsx)("h5",{className:"card-title line-clamp-1 font-bold md:text-base xl:text-xl",children:t}),l||(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("span",{className:"text-neutral-500 md:max-xl:-mt-2 text-sm hidden md:inline",children:[o?"Hot tuần ⢠":"",d.length>0?"".concat(d[0]," ⢠"):"",m?"".concat(m," ngưá»i tham gia"):""]}),(0,s.jsxs)("span",{className:"text-neutral-500 text-sm -mt-2 md:hidden",children:[o?"Hot tuần ⢠":"",d.length>0?"".concat(d[0]):""]})]})]})};t.Z=l},75462:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var s=n(85893),a=n(86010);n(67294);var r=JSON.parse('[{"icon":"/icons/others/facebook.svg","name":"facebook"},{"icon":"/icons/others/instagram.svg","name":"instagram"},{"icon":"/icons/others/twitter.svg","name":"twitter"},{"icon":"/icons/others/message.svg","name":"message"},{"icon":"/icons/others/zalo.svg","name":"zalo"}]'),l=n(64857);let i=e=>{let{itemImage:t,itemName:n,itemDesc:i,withLink:c,from:o,href:d,onCopy:m,onShare:u}=e;return(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)("div",{children:(0,s.jsxs)("div",{className:"card flex-row gap-x-3 bg-neutral-50 p-3 text-sm",children:[(0,s.jsx)("div",{className:"w-12",children:(0,s.jsx)("div",{className:"card-image block-img block-square",children:(0,s.jsx)("img",{src:t,alt:n,className:(0,a.Z)("object-contain","rounded-lg")})})}),(0,s.jsxs)("div",{className:"overflow-hidden",children:[(0,s.jsx)("p",{children:n}),i&&(0,s.jsx)("p",{className:"font-medium truncate",children:i})]})]})}),c&&(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"font-bold",children:"ÄÆ°á»ng dẫn"}),(0,s.jsxs)("div",{className:"mt-2 flex w-full gap-x-2 rounded-lg border border-neutral-300 p-4",children:[(0,s.jsx)("p",{id:"test",className:"truncate text-subtle-content flex-1",children:d}),(0,s.jsx)("button",{type:"button",onClick:m,children:(0,s.jsx)(l.Z,{src:"/icons/bold/copy.svg",width:24,height:24})})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"font-bold",children:"Chia sẻ Äến"}),(0,s.jsx)("ul",{className:"mt-2 flex gap-x-3",children:r.map(e=>{let{name:t,icon:n}=e;return(0,s.jsx)("li",{children:(0,s.jsx)("button",{type:"button",className:"p-1","data-target":t,"data-href":d,onClick:u,children:(0,s.jsx)(l.Z,{width:32,height:32,src:n})})},t)})})]})]})};var c=i},34630:function(e,t,n){"use strict";var s=n(85893),a=n(75462);let r=e=>(0,s.jsxs)("div",{className:"space-y-4 px-6 py-4",children:[(0,s.jsx)("p",{className:"font-bold",children:"Chia sẻ"}),(0,s.jsx)("div",{children:(0,s.jsx)(a.Z,{...e})})]});t.Z=r},54207:function(e,t,n){"use strict";var s=n(85893),a=n(3539),r=n(64110),l=n(45097),i=n(86010),c=n(41664),o=n.n(c),d=n(11163),m=n(67294),u=n(64857),x=n(79107),h=n(77472),f=n(86940);let p=e=>{let{title:t,type:n="sticky",theme:c="light",mode:p="back",withCart:v,withMenu:g,withSearch:j,classNameTitle:y="",onClose:N=()=>void 0,children:w}=e,I=(0,d.useRouter)(),{menu:k,search:R}=(0,r.b)(),Z=(0,m.useRef)(null),C=(0,x.Z)(Z,{}),T=k.value?k.setFalse:"back"===p?I.back:N,P="sticky"===n||C,M=(0,m.useMemo)(()=>I.locale?a.k.find(e=>
1e.locale===I.locale):a.k[0],[I.locale]);return(0,s.jsxs)(s.Fragment,{children:["fixed"===n?(0,s.jsx)("hr",{className:"border-none absolute w-full h-px pointer-events-none",ref:Z}):null,(0,s.jsx)("nav",{className:(0,i.Z)(n,"md:hidden w-full top-0 z-30"),children:k.value?(0,s.jsx)("div",{className:"container relative bg-neutral-0 py-3",children:(0,s.jsxs)("div",{className:"flex",children:[(0,s.jsx)("div",{className:"flex-1 flex items-center",children:(0,s.jsx)(o(),{href:l.Z.HOME,children:(0,s.jsx)(u.Z,{src:"/logo/logo-color.svg",width:78,height:32,className:"text-red-500 dark:text-neutral-0"})})}),(0,s.jsxs)("div",{className:"flex items-center gap-x-3",children:[(0,s.jsx)(o(),{href:I.asPath,locale:"vi"===I.locale?"en":"vi",className:"btn-sm btn-tertiary btn rounded-full",children:null==M?void 0:M.short}),(0,s.jsx)(h.Z,{}),(0,s.jsx)(f.Z,{})]})]})}):(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("div",{className:(0,i.Z)(P?"bg-base-100 text-base-content":"bg-transparent text-base-content transition-default","absolute inset-0")}),(0,s.jsxs)("div",{className:"relative container pl-2 flex items-center py-3",children:[(0,s.jsx)("button",{type:"button",className:(0,i.Z)("btn btn-sm btn-circle btn-tertiary transition-default",P?"text-base-content bg-transparent border-transparent":"text-base-content"),onClick:T,children:(0,s.jsx)(u.Z,{src:"back"===p?"/icons/line/arrow-left.svg":"/icons/line/close.svg",width:24,height:24})}),(0,s.jsx)("h2",{className:(0,i.Z)(P?"text-base-content":"text-transparent pointer-events-none","transition-colors flex-1 text-[1.125rem] select-none truncate",y),children:(0,s.jsx)("b",{children:t})}),(0,s.jsxs)("div",{className:"ml-2 flex gap-3",children:[j&&(0,s.jsx)(b,{onClick:R.setTrue}),v&&(0,s.jsx)(h.Z,{}),g&&(0,s.jsx)(f.Z,{})]})]}),w]})})]})},b=e=>(0,s.jsx)("button",{className:(0,i.Z)("btn-tertiary btn btn-sm btn-circle"),...e,children:(0,s.jsx)(u.Z,{src:"/icons/bold/vector.svg",width:20,height:20})});t.Z=p},28287:function(e,t,n){"use strict";var s=n(85893),a=n(4130),r=n(75462),l=n(64857);let i=e=>{let{close:t}=(0,a.dd)();return(0,s.jsxs)("div",{className:"px-4 py-6 md:p-0",children:[(0,s.jsxs)("div",{className:"flex items-center",children:[(0,s.jsx)("h2",{className:"text-xl md:text-s-md font-bold",children:"Chia sẻ"}),(0,s.jsx)("button",{className:"btn-ghost btn btn-circle absolute right-5 top-4 !mt-0 md:bg-neutral-100 xl:hover:bg-neutral-50",type:"button",onClick:t,children:(0,s.jsx)(l.Z,{src:"/icons/line/close.svg",width:24,height:24})})]}),(0,s.jsx)("p",{className:"max-md:hidden mt-2 text-subtle-content",children:"Vui l\xf2ng ÄÄng nháºp/ ÄÄng k\xfd Äá» sá» dụng chức nÄng n\xe0y!"}),(0,s.jsx)("div",{className:"mt-4 md:mt-8",children:(0,s.jsx)(r.Z,{...e})})]})};t.Z=i},25739:function(e,t,n){"use strict";var s=n(85893);n(67294);let a=e=>{let{title:t,children:n,href:a,rightElement:r,classNameTitle:l="",...i}=e;return(0,s.jsx)("section",{children:(0,s.jsxs)("div",{...i,children:[(0,s.jsxs)("div",{className:"flex items-center",children:[(0,s.jsx)("h2",{className:"flex-1 font-itel text-xl md:text-h4 font-bold xl:text-h3 ".concat(l),children:t}),r||null]}),n]})})};t.Z=a},69767:function(e,t,n){"use strict";var s=n(85893);n(67294);let a=e=>{let{text:t}=e;return(0,s.jsx)("span",{className:"tag tag-vector tag-md h-auto bg-gradient-to-r from-yellow-500 to-red-500 py-2",children:t})};t.Z=a},28754:function(e,t,n){"use strict";var s=n(67294);let a=()=>{let[e,t]=(0,s.useState)({width:void 0,height:void 0});return(0,s.useEffect)(()=>{function e(){t({width:window.innerWidth,height:window.innerHeight})}return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e};t.Z=a},59556:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return Z}});var s=n(85893),a=n(93898),r=n(9008),l=n.n(r),i=n(47154),c=n(15312),o=n(75611),d=n(25739),m=n(67294),u=n(72510),x=n(64857),h=n(34630),f=n(4130),p=n(28287),b=n(78812),v=n(86501),g=n(41664),j=n.n(g),y=n(84163),N=n(2295),w=n(64110),I=n(28754),k=n(54207);let R=e=>{let{game:t,similarGames:n}=e,{withAuth:r}=(0,w.b)(),{value:i,toggle:g}=(0,b.Z)(!1),R=window.location.href,{width:Z}=(0,I.Z)(),C=(0,m.useCallback)(()=>{f.oC.open({render:e=>(0,s.jsx)("div",{className:"container py-6",style:{minHeight:"30vh"},children:(0,s.jsx)(p.Z,{href:R,onCopy:T,withLink:!0,itemImage:t.image,itemName:"Game",itemDesc:t.name})}),closeButton:!0,className:"modal-box max-w-[35rem]"})},[t]);function T(){(0,N.Z)(R).then(()=>v.Am.success("Ä\xe3 sao ch\xe9p"))}let P=e=>{e.preventDefault(),e.stopPropagation(),f.oC.open({render:e=>(0,s.jsx)("div",{className:"container py-1",style:{minHeight:"30vh"},children:(0,s.jsx)(p.Z,{href:R,onCopy:T,withLink:!0,itemImage:t.image,itemName:"Game",itemDesc:t.name})}),className:"modal-box shadow-itel",classNameContainer:"modal-bottom-sheet",classNameOverwrite:!0,closeButton:!1,transition:!1})},M=t.playingPlatforms.includes("Website"),E=r(e=>{window.open(c.Z.IGAME_PLAY.replace("[id]",e))},[]),[S,D]=(0,m.useState)(1),[F,A]=(0,m.useState)(0),_=()=>{let e=window.pageYOffset;A(e)};(0,m.useEffect)(()=>(window.addEventListener("scroll",_,{passive:!0}),()=>{window.removeEventListener("scroll",_)}
1),[]);let O=(0,m.useMemo)(()=>Z&&Z>760?F>800&&F<1200:Z&&Z>0&&Z<=760?F>520&&F<780:void 0,[Z,F]);return(0,s.jsxs)("div",{className:"max-md:bg-neutral-0",children:[(0,s.jsx)(k.Z,{title:"Chi tiết game",withSearch:!0,withMenu:!0}),(0,s.jsx)(l(),{children:(0,s.jsx)("title",{children:"IGame - ".concat(t.name)})}),O?(0,s.jsxs)("div",{className:"fixed z-50 bottom-0 xl:hidden justify-between max-md:gap-3 flex max-md:flex-col py-4 w-screen px-4 md:px-6 bg-neutral-0 border-t-[1px] border-neutral-200",children:[(0,s.jsxs)("div",{className:"flex flex-col w-1/2 max-md:w-full",children:[(0,s.jsx)("p",{className:"text-neutral-500 text-sm",children:"Game"}),(0,s.jsxs)("p",{className:"text-xl font-bold line-clamp-1",children:["Game ",t.name]})]}),(0,s.jsxs)("div",{className:"flex gap-2 w-1/2 max-md:w-full",children:[(0,s.jsx)("button",{type:"button",className:"w-1/2 btn btn-lg rounded-full ".concat(M?"btn-secondary":"btn-primary w-full"),children:"ChÆ¡i tr\xean app"}),M&&(0,s.jsx)("button",{type:"button",onClick:()=>E(t.id),className:"btn-primary btn btn-lg rounded-full w-1/2",children:"ChÆ¡i ngay"})]})]}):null,(0,s.jsx)("div",{className:O?"hidden":void 0,children:(0,s.jsx)(a.Z,{})}),(0,s.jsx)("section",{children:(0,s.jsxs)("div",{className:"container py-10 xl:pr-10 py-4 md:py-10 xl:py-20 flex flex-col xl:flex-row w-full gap-10",children:[(0,s.jsxs)("div",{className:"game-info w-full xl:w-2/3",children:[(0,s.jsx)("img",{src:t.image,alt:t.name,className:"mb-5 md:mb-6 rounded-2xl w-full transition-default object-cover group-hover:scale-110 "}),(0,s.jsxs)("div",{className:"game-social-card-tablet xl:hidden",children:[(0,s.jsxs)("div",{className:"flex justify-between mb-2 md:mb-3",children:[(0,s.jsx)("h2",{className:"flex-1 font-itel md:text-h4 font-bold text-xl xl:text-h3",children:t.name}),(0,s.jsxs)("div",{className:"relative space-x-3",children:[(0,s.jsx)("button",{type:"button",className:"transition-default max-md:hidden md:btn-tertiary md:btn md:btn-circle",onClick:C,children:(0,s.jsx)(x.Z,{src:"/icons/bold/share.svg",width:24,height:24})}),(0,s.jsx)("button",{type:"button",className:"transition-default md:hidden md:btn-tertiary md:btn md:btn-circle",onClick:()=>{i?v.Am.success("Ä\xe3 bá» khá»i danh s\xe1ch y\xeau th\xedch cá»§a t\xf4i"):v.Am.success("Ä\xe3 th\xeam v\xe0o danh s\xe1ch y\xeau th\xedch"),g()},children:i?(0,s.jsx)(x.Z,{className:"text-red-500 font-bold",src:"/icons/others/heart.svg",width:24,height:24}):(0,s.jsx)(x.Z,{src:"/icons/bold/heart-outline.svg",className:"font-bold",width:24,height:24})}),(0,s.jsx)("button",{type:"button",className:"transition-default md:hidden md:btn-tertiary md:btn md:btn-circle",onClick:P,children:(0,s.jsx)(x.Z,{src:"/icons/bold/share.svg",width:24,height:24})}),(0,s.jsx)("button",{type:"button",className:"transition-default max-md:hidden md:btn-tertiary md:btn md:btn-circle",onClick:()=>{i?v.Am.success("Ä\xe3 bá» khá»i danh s\xe1ch y\xeau th\xedch cá»§a t\xf4i"):v.Am.success("Ä\xe3 th\xeam v\xe0o danh s\xe1ch y\xeau th\xedch"),g()},children:i?(0,s.jsx)(x.Z,{className:"text-red-500 font-bold",src:"/icons/others/heart.svg",width:24,height:24}):(0,s.jsx)(x.Z,{src:"/icons/bold/heart-outline.svg",className:"font-bold",width:24,height:24})})]})]}),(0,s.jsx)("div",{className:"card-tags mb-4",children:t.categories.map(e=>(0,s.jsx)("span",{className:"tag tag-primary text-xs md:text-base py-1.5 px-3 h-auto",children:e},e))}),(0,s.jsxs)("div",{className:"mb-6",children:[(0,s.jsx)("p",{className:"text-base mb-2 text-neutral-500",children:"Ná»n tảng chÆ¡i"}),(0,s.jsx)("span",{className:"font-bold text-xl",children:t.playingPlatforms.length>0?t.playingPlatforms.join(" v\xe0 "):t.playingPlatforms[0]})]}),(0,s.jsxs)("div",{className:"flex flex-row gap-4 mb-6",children:[(0,s.jsx)("button",{type:"button",className:"w-1/2 btn btn-lg rounded-full ".concat(M?"btn-secondary":"btn-primary w-full md:w-1/2"),children:"ChÆ¡i tr\xean app"}),M&&(0,s.jsx)("button",{type:"button",onClick:()=>E(t.id),className:"btn-primary btn btn-lg rounded-full w-1/2",children:"ChÆ¡i ngay"})]}),(0,s.jsx)("div",{className:"bg-neutral-200 h-[1px] mb-6"})]}),(0,s.jsxs)("div",{className:"game-description max-md:hidden",children:[(0,s.jsx)("h5",{className:"font-bold xl:text-xl mb-4",children:"Th\xf4ng tin chung"}),(0,s.jsx)("p",{className:"md:text-base mb-4",children:t.generalInfo}),(0,s.jsx)("h5",{className:"font-bold xl:text-xl mb-4",children:"Th\xf4ng tin t\xedch Äiá»m"}),(0,s.jsx)("h6",{className:"font-bold mb-4",children:"T\xedch Äiá»m"}),(0,s.jsx)("p",{className:"md:text-base mb-4",children:t.points
1Info.pointInfo}),(0,s.jsx)("h6",{className:"font-bold mb-4",children:"Äiá»u kiá»n, thá» lá»:"}),(0,s.jsx)("p",{className:"md:text-base mb-4",children:t.pointsInfo.rulesAndConditions})]}),(0,s.jsxs)("div",{className:"md:hidden",children:[(0,s.jsx)("div",{className:"flex items-center justify-start md:hidden mt-4 border-b border-neutral-100 mb-4",children:[{id:1,label:"Th\xf4ng tin chung"},{id:2,label:"Th\xf4ng tin t\xedch Äiá»m"}].map(e=>(0,s.jsx)(y.Z,{className:"w-1/2",label:e.label,onClick:()=>D(e.id),isActive:S===e.id,size:"large"},e.id))}),(0,s.jsx)("div",{className:"".concat(1===S?"":"hidden"," transition-all duration-500"),children:(0,s.jsx)("p",{className:"md:text-base mb-4",children:t.generalInfo})}),(0,s.jsxs)("div",{className:"".concat(2===S?"":"hidden"," transition-all duration-500"),children:[(0,s.jsx)("h6",{className:"font-bold mb-4",children:"T\xedch Äiá»m"}),(0,s.jsx)("p",{className:"md:text-base mb-4",children:t.pointsInfo.pointInfo}),(0,s.jsx)("h6",{className:"font-bold mb-4",children:"Äiá»u kiá»n, thá» lá»:"}),(0,s.jsx)("p",{className:"md:text-base mb-4",children:t.pointsInfo.rulesAndConditions})]})]})]}),(0,s.jsxs)("div",{className:"game-social-card-pc hidden xl:flex flex-col w-1/3 border border-neutral-300 rounded-2xl xl:h-fit xl:min-h-[650px] p-8",children:[(0,s.jsx)("h2",{className:"flex-1 font-itel text-h4 font-bold xl:text-h3 mb-5",children:t.name}),(0,s.jsxs)("div",{className:"mb-4",children:[(0,s.jsx)("p",{className:"text-base mb-2",children:"Loại game"}),(0,s.jsx)("div",{className:"card-tags",children:t.categories.map(e=>(0,s.jsx)("span",{className:"tag tag-primary text-base py-1.5 px-3 h-auto",children:e},e))})]}),(0,s.jsxs)("div",{className:"mb-6",children:[(0,s.jsx)("p",{className:"text-base mb-2 text-neutral-500",children:"Ná»n tảng chÆ¡i"}),(0,s.jsx)("span",{className:"font-bold text-xl",children:t.playingPlatforms.length>0?t.playingPlatforms.join(" v\xe0 "):t.playingPlatforms[0]})]}),(0,s.jsx)("div",{className:"bg-neutral-200 h-[1px] mb-6"}),(0,s.jsxs)("div",{className:"mb-6",children:[(0,s.jsx)("p",{className:"font-bold text-xl mb-2",children:"T\xf3m tắt"}),(0,s.jsx)("span",{className:"text-base",children:t.summary})]}),(0,s.jsxs)("div",{className:"relative flex justify-around align-center mb-4",children:[(0,s.jsxs)(u.v,{children:[(0,s.jsxs)(u.v.Button,{type:"button",className:"flex items-center justify-center gap-2 w-1/2 py-3 transition-default hover:text-primary max-xl:hidden",children:[(0,s.jsx)(x.Z,{src:"/icons/bold/share.svg",width:24,height:24}),(0,s.jsx)("span",{className:"font-bold",children:"Chia sẻ"})]}),(0,s.jsx)(u.v.Items,{className:"absolute right-0 z-10 mt-2 w-[25rem] origin-top-right rounded-2xl shadow-itel","data-theme":"light",children:(0,s.jsx)(h.Z,{withLink:!0,itemImage:t.image,itemName:"Game",itemDesc:t.name,href:R,onCopy:T})})]}),(0,s.jsx)("button",{type:"button",className:"flex hover:text-primary items-center gap-2 w-1/2 py-3 transition-default",onClick:()=>{i?v.Am.success("Ä\xe3 bá» khá»i danh s\xe1ch y\xeau th\xedch cá»§a t\xf4i"):v.Am.success("Ä\xe3 th\xeam v\xe0o danh s\xe1ch y\xeau th\xedch"),g()},children:i?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(x.Z,{className:"text-red-500",src:"/icons/others/heart.svg",width:24,height:24}),(0,s.jsx)("span",{className:"font-bold",children:"Ä\xe3 y\xeau th\xedch"})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(x.Z,{src:"/icons/bold/heart-outline.svg",width:24,height:24}),(0,s.jsx)("span",{className:"font-bold",children:"Y\xeau th\xedch"})]})})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-4",children:[M&&(0,s.jsx)("button",{type:"button",onClick:()=>E(t.id),className:"btn-primary btn btn-lg rounded-full w-full",children:"ChÆ¡i ngay"}),(0,s.jsx)("button",{type:"button",className:" btn btn-lg rounded-full ".concat(M?"btn-secondary border-0 text-neutral-800 hover:bg-neutral-0 hover:border hover:text-primary":"btn-primary"),children:"ChÆ¡i tr\xean app"})]})]})]})}),(0,s.jsx)("div",{className:"bg-neutral-50",children:(0,s.jsx)(d.Z,{title:"Game tương tá»±",className:"game-similar container py-10 xl:pr-10 xl:py-20 max-md:py-4",href:c.Z.IGAME,children:(0,s.jsx)("div",{className:"max-md:-mx-1 -mx-3 mt-3 flex flex-wrap gap-y-6 md:mt-6 xl:mt-8 xl:gap-y-8",children:n.map(e=>(0,s.jsx)("div",{className:"w-1/2 px-1.5 md:px-3 md:w-1/2 xl:w-1/3",children:(0,s.jsx)(j(),{href:{pathname:c.Z.IGAME_DETAIL,query:{id:e.id}},children:(0,s.jsx)(o.Z,{id:e.id,name:e.name,image:e.image,categories:e.categories,numberOfPlayer:e.numberOfPlayer,isHotWeek:e.isHotWeek,isHot:e.isHot,isOutstanding:e.isOutstanding,playingPlatforms:e.playingPlatforms})})},e.id))})})})]})};R.getLayout=function(e,t){return(0,s.jsx)(i.ZP,{children:e})};var Z=!0;t.default=R},72510:function(e,t,n){"use strict";n.d(t,{v:function(){return _}});var s,a,r,l=n(67294),i=n(32984),c=n(12351),o=n(9362),d=n(94192),m=n(16723),u=n(23784),x=n(19946),h=n(61363),f=n(11497),p=n(64103),b=n(84575),v=n(39650),g=n(31591),j=n(16567),y=n(14157),N=n(51074),w=n(73781),I=n(40476),k=n(55918),R=((s=R||{})[s.Open=0]="Open",s[s.Closed=1]="Closed",s),Z=((a=Z||{})[a.Pointer=0]="Pointer",a[a.Other=1]="Other",a),C=((r=C||{})[r.OpenMenu=0]="OpenMenu",r[r.CloseMenu=1]="CloseMenu",r[r.GoToItem=2]="GoToItem",r[r.Search=3]="Search",r[r.ClearSearch=4]="ClearSearch",r[r.RegisterItem=5]="RegisterItem",r[r.UnregisterItem=6]="UnregisterItem",r);function T(e,t=e=>e){let n=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,
1s=(0,b.z2)(t(e.items.slice()),e=>e.dataRef.current.domRef.current),a=n?s.indexOf(n):null;return -1===a&&(a=null),{items:s,activeItemIndex:a}}let P={1:e=>1===e.menuState?e:{...e,activeItemIndex:null,menuState:1},0:e=>0===e.menuState?e:{...e,__demoMode:!1,menuState:0},2:(e,t)=>{var n;let s=T(e),a=(0,f.d)(t,{resolveItems:()=>s.items,resolveActiveIndex:()=>s.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...s,searchQuery:"",activeItemIndex:a,activationTrigger:null!=(n=t.trigger)?n:1}},3:(e,t)=>{let n=""!==e.searchQuery?0:1,s=e.searchQuery+t.value.toLowerCase(),a=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find(e=>{var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(s))&&!e.dataRef.current.disabled}),r=a?e.items.indexOf(a):-1;return -1===r||r===e.activeItemIndex?{...e,searchQuery:s}:{...e,searchQuery:s,activeItemIndex:r,activationTrigger:1}},4:e=>""===e.searchQuery?e:{...e,searchQuery:"",searchActiveItemIndex:null},5:(e,t)=>{let n=T(e,e=>[...e,{id:t.id,dataRef:t.dataRef}]);return{...e,...n}},6:(e,t)=>{let n=T(e,e=>{let n=e.findIndex(e=>e.id===t.id);return -1!==n&&e.splice(n,1),e});return{...e,...n,activationTrigger:1}}},M=(0,l.createContext)(null);function E(e){let t=(0,l.useContext)(M);if(null===t){let t=Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,E),t}return t}function S(e,t){return(0,i.E)(t.type,P,e,t)}M.displayName="MenuContext";let D=l.Fragment,F=c.AN.RenderStrategy|c.AN.Static,A=l.Fragment,_=Object.assign((0,c.yV)(function(e,t){let{__demoMode:n=!1,...s}=e,a=(0,l.useReducer)(S,{__demoMode:n,menuState:n?0:1,buttonRef:(0,l.createRef)(),itemsRef:(0,l.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:r,itemsRef:o,buttonRef:d},m]=a,x=(0,u.T)(t);(0,v.O)([d,o],(e,t)=>{var n;m({type:1}),(0,b.sP)(t,b.tJ.Loose)||(e.preventDefault(),null==(n=d.current)||n.focus())},0===r);let h=(0,w.z)(()=>{m({type:1})}),f=(0,l.useMemo)(()=>({open:0===r,close:h}),[r,h]);return l.createElement(M.Provider,{value:a},l.createElement(j.up,{value:(0,i.E)(r,{0:j.ZM.Open,1:j.ZM.Closed})},(0,c.sY)({ourProps:{ref:x},theirProps:s,slot:f,defaultTag:D,name:"Menu"})))}),{Button:(0,c.yV)(function(e,t){var n;let s=(0,x.M)(),{id:a=`headlessui-menu-button-${s}`,...r}=e,[i,o]=E("Menu.Button"),m=(0,u.T)(i.buttonRef,t),b=(0,d.G)(),v=(0,w.z)(e=>{switch(e.key){case h.R.Space:case h.R.Enter:case h.R.ArrowDown:e.preventDefault(),e.stopPropagation(),o({type:0}),b.nextFrame(()=>o({type:2,focus:f.T.First}));break;case h.R.ArrowUp:e.preventDefault(),e.stopPropagation(),o({type:0}),b.nextFrame(()=>o({type:2,focus:f.T.Last}))}}),g=(0,w.z)(e=>{e.key===h.R.Space&&e.preventDefault()}),j=(0,w.z)(t=>{if((0,p.P)(t.currentTarget))return t.preventDefault();e.disabled||(0===i.menuState?(o({type:1}),b.nextFrame(()=>{var e;return null==(e=i.buttonRef.current)?void 0:e.focus({preventScroll:!0})}
1)):(t.preventDefault(),o({type:0})))}),N=(0,l.useMemo)(()=>({open:0===i.menuState}),[i]),I={ref:m,id:a,type:(0,y.f)(e,i.buttonRef),"aria-haspopup":"menu","aria-controls":null==(n=i.itemsRef.current)?void 0:n.id,"aria-expanded":e.disabled?void 0:0===i.menuState,onKeyDown:v,onKeyUp:g,onClick:j};return(0,c.sY)({ourProps:I,theirProps:r,slot:N,defaultTag:"button",name:"Menu.Button"})}),Items:(0,c.yV)(function(e,t){var n,s;let a=(0,x.M)(),{id:r=`headlessui-menu-items-${a}`,...i}=e,[m,p]=E("Menu.Items"),v=(0,u.T)(m.itemsRef,t),y=(0,N.i)(m.itemsRef),I=(0,d.G)(),k=(0,j.oJ)(),R=null!==k?(k&j.ZM.Open)===j.ZM.Open:0===m.menuState;(0,l.useEffect)(()=>{let e=m.itemsRef.current;e&&0===m.menuState&&e!==(null==y?void 0:y.activeElement)&&e.focus({preventScroll:!0})},[m.menuState,m.itemsRef,y]),(0,g.B)({container:m.itemsRef.current,enabled:0===m.menuState,accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let Z=(0,w.z)(e=>{var t,n;switch(I.dispose(),e.key){case h.R.Space:if(""!==m.searchQuery)return e.preventDefault(),e.stopPropagation(),p({type:3,value:e.key});case h.R.Enter:if(e.preventDefault(),e.stopPropagation(),p({type:1}),null!==m.activeItemIndex){let{dataRef:e}=m.items[m.activeItemIndex];null==(n=null==(t=e.current)?void 0:t.domRef.current)||n.click()}(0,b.wI)(m.buttonRef.current);break;case h.R.ArrowDown:return e.preventDefault(),e.stopPropagation(),p({type:2,focus:f.T.Next});case h.R.ArrowUp:return e.preventDefault(),e.stopPropagation(),p({type:2,focus:f.T.Previous});case h.R.Home:case h.R.PageUp:return e.preventDefault(),e.stopPropagation(),p({type:2,focus:f.T.First});case h.R.End:case h.R.PageDown:return e.preventDefault(),e.stopPropagation(),p({type:2,focus:f.T.Last});case h.R.Escape:e.preventDefault(),e.stopPropagation(),p({type:1}),(0,o.k)().nextFrame(()=>{var e;return null==(e=m.buttonRef.current)?void 0:e.focus({preventScroll:!0})});break;case h.R.Tab:e.preventDefault(),e.stopPropagation(),p({type:1}),(0,o.k)().nextFrame(()=>{(0,b.EO)(m.buttonRef.current,e.shiftKey?b.TO.Previous:b.TO.Next)});break;default:1===e.key.length&&(p({type:3,value:e.key}),I.setTimeout(()=>p({type:4}),350))}}),C=(0,w.z)(e=>{e.key===h.R.Space&&e.preventDefault()}),T=(0,l.useMemo)(()=>({open:0===m.menuState}),[m]),P={"aria-activedescendant":null===m.activeItemIndex||null==(n=m.items[m.activeItemIndex])?void 0:n.id,"aria-labelledby":null==(s=m.buttonRef.current)?void 0:s.id,id:r,onKeyDown:Z,onKeyUp:C,role:"menu",tabIndex:0,ref:v};return(0,c.sY)({ourProps:P,theirProps:i,slot:T,defaultTag:"div",features:F,visible:R,name:"Menu.Items"})}),Item:(0,c.yV)(function(e,t){let n=(0,x.M)(),{id:s=`headlessui-menu-item-${n}`,disabled:a=!1,...r}=e,[i,d]=E("Menu.Item"),h=null!==i.activeItemIndex&&i.items[i.activeItemIndex].id===s,p=(0,l.useRef)(null),v=(0,u.T)(t,p);(0,m.e)(()=>{if(i.__demoMode||0!==i.menuState||!h||0===i.activationTrigger)return;let e=(0,o.k)();return e.requestAnimationFrame(()=>{var e,t;null==(t=null==(e=p.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}),e.dispose},[i.__demoMode,p,h,i.menuState,i.activationTrigger,i.activeItemIndex]);let g=(0,k.x)(p),j=(0,l.useRef)({disabled:a,domRef:p,get textValue(){return g()}});(0,m.e)(()=>{j.current.disabled=a},[j,a]),(0,m.e)(()=>(d({type:5,id:s,dataRef:j}),()=>d({type:6,id:s})),[j,s]);let y=(0,w.z)(()=>{d({type:1})}),N=(0,w.z)(e=>{if(a)return e.preventDefault();d({type:1}),(0,b.wI)(i.buttonRef.current)}),R=(0,w.z)(()=>{if(a)return d({type:2,focus:f.T.Nothing});d({type:2,focus:f.T.Specific,id:s})}),Z=(0,I.g)(),C=(0,w.z)(e=>Z.update(e)),T=(0,w.z)(e=>{Z.wasMoved(e)&&(a||h||d({type:2,focus:f.T.Specific,id:s,trigger:0}))}),P=(0,w.z)(e=>{Z.wasMoved(e)&&(a||h&&d({type:2,focus:f.T.Nothing}))}),M=(0,l.useMemo)(()=>({active:h,disabled:a,close:y}),[h,a,y]);return(0,c.sY)({ourProps:{id:s,ref:v,role:"menuitem",tabIndex:!0===a?void 0:-1,"aria-disabled":!0===a||void 0,disabled:void 0,onClick:N,onFocus:R,onPointerEnter:C,onMouseEnter:C,onPointerMove:T,onMouseMove:T,onPointerLeave:P,onMouseLeave:P},theirProps:r,slot:M,defaultTag:A,name:"Menu.Item"})})})},55918:function(e,t,n){"use strict";n.d(t,{x:function(){return i}});var s=n(67294);let a=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function r(e){var t,n;let s=null!=(t=e.innerText)?t:"",r=e.cloneNode(!0);if(!(r instanceof HTMLElement))return s;let l=!1;for(let e of r.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))e.remove(),l=!0;let i=l?null!=(n=r.innerText)?n:"":s;return a.test(i)&&(i=i.replace(a,"")),i}var l=n(73781);function i(e){let t=(0,s.useRef)(""),n=(0,s.useRef)("");return(0,l.z)(()=>{let s=e.current;if(!s)return"";let a=s.innerText;if(t.current===a)return n.current;let l=(function(e){let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let e=n.split(" ").map(e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label");return"string"==typeof e?e.trim():r(t).trim()}return null}
1).filter(Boolean);if(e.length>0)return e.join(", ")}return r(e).trim()})(s).trim().toLowerCase();return t.current=a,n.current=l,l})}}},function(e){e.O(0,[9774,5375,5151,5162,7154,2888,179],function(){return e(e.s=89408)}),_N_E=e.O()}]);
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.