PageSourceSearch

https://www.casino.org/assets/app/_next/static/chunks/5143.0b2060599254cbdf.js

js casino.org collected 2026-10-01 10:15:19 UTC 65,197 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2ca16439-328e-4f74-af94-36ffbb6caaf0",e._sentryDebugIdIdentifier="sentry-dbid-2ca16439-328e-4f74-af94-36ffbb6caaf0")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5143],{5143:(e,t,a)=>{a.r(t),a.d(t,{default:()=>ef});var l=a(68764),r=a(78764),s=a(73709),n=a.n(s),i=a(29186),o=a(19856),c=a(39433),d=a(27676),m=a(34899),u=a(86195),f=a(78925),p=a(17275),g=a(93985),h=a(67456),b=a(56913);let x=e=>{let t,a=(0,r.c)(3),{iconName:s,iconSrc:n}=e,i=void 0===s?"icons-corg-font/slots":s;return a[0]!==i||a[1]!==n?(t=(0,l.jsx)("div",{"aria-hidden":"true",className:"flex size-5 shrink-0 items-center justify-center rounded-round text-fg-brand-default md:size-6",children:n?(0,l.jsx)(g.default,{src:n,alt:"",width:24,height:24,className:"size-full object-contain"}):(0,l.jsx)(u.Icon,{name:i,size:16})}),a[0]=i,a[1]=n,a[2]=t):t=a[2],t},y=()=>{let e,t=(0,r.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,l.jsx)("div",{"aria-hidden":"true",className:"flex size-5 shrink-0 items-center justify-center rounded-round md:size-6",children:(0,l.jsx)(g.default,{src:b.A,alt:"",width:24,height:24,className:"object-contain"})}),t[0]=e):e=t[0],e},v=e=>{let t,a,s=(0,r.c)(4),{name:n}=e;return s[0]!==n?(t=n.split(/\s+/).filter(Boolean).slice(0,2).map(T).join("").toUpperCase(),s[0]=n,s[1]=t):t=s[1],s[2]!==t?(a=(0,l.jsx)(u.Typography,{as:"span","aria-hidden":"true",bold:!0,className:"flex size-5 shrink-0 items-center justify-center rounded-round bg-bg-light text-[9px] text-fg-brand-default md:size-6 md:text-2xs",children:t}),s[2]=t,s[3]=a):a=s[3],a},w=e=>{let t,a=(0,r.c)(3),{imageHash:s,name:n}=e;return a[0]!==s||a[1]!==n?(t=(0,l.jsx)("div",{className:"flex size-6 shrink-0 items-center justify-center rounded-sm",children:(0,l.jsx)(g.default,{loader:h.S_,src:s,alt:"",width:24,height:24,className:"max-h-6 w-auto max-w-[24px] object-contain","aria-hidden":"true",title:n})}),a[0]=s,a[1]=n,a[2]=t):t=a[2],t},j=e=>{let t,a=(0,r.c)(3),{src:s,name:n}=e;return a[0]!==n||a[1]!==s?(t=(0,l.jsx)("div",{className:"flex size-6 shrink-0 items-center justify-center rounded-sm",children:(0,l.jsx)(g.default,{src:s,alt:"",width:24,height:24,className:"max-h-6 w-auto max-w-[24px] object-contain","aria-hidden":"true",title:n})}),a[0]=n,a[1]=s,a[2]=t):t=a[2],t};function T(e){return e[0]}var N=a(50055),k=a(90294);let L=(e,t)=>{let a,l,s,n=(0,r.c)(6),i=void 0===t?"":t;n[0]===Symbol.for("react.memo_cache_sentinel")?(a={canScrollLeft:!1,canScrollRight:!1},n[0]=a):a=n[0];let[c,d]=(0,o.useState)(a);return n[1]!==e?(l=()=>{let t=e.current;if(!t)return;let a=()=>{let e=t.scrollWidth-t.clientWidth,a={canScrollLeft:t.scrollLeft>1,canScrollRight:t.scrollLeft<e-1};d(e=>e.canScrollLeft===a.canScrollLeft&&e.canScrollRight===a.canScrollRight?e:a)};a(),t.addEventListener("scroll",a,{passive:!0}),window.addEventListener("resize",a);let l="u">typeof ResizeObserver?new ResizeObserver(a):null;return l?.observe(t),()=>{t.removeEventListener("scroll",a),window.removeEventListener("resize",a),l?.disconnect()}},n[1]=e,n[2]=l):l=n[2],n[3]!==e||n[4]!==i?(s=[e,i],n[3]=e,n[4]=i,n[5]=s):s=n[5],(0,o.useEffect)(l,s),c};var C=a(72506);let S=e=>{let t,a,s,n=(0,r.c)(14),{selected:i,disabled:o,children:d,leading:m,ariaLabel:f,className:p,onClick:g}=e;return n[0]!==p||n[1]!==o||n[2]!==i?(t=(0,c.cn)("h-12 shrink-0 rounded-pill border-sm border-s-default bg-bg-default p-2-5 text-sm font-regular text-fg-brand-default transition md:text-md","hover:border-s-brand focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-s-brand",{"border-s-brand bg-bg-light font-semibold !text-fg-brand-default":i,"cursor-not-allowed bg-bg-light text-fg-disabled hover:border-s-default":o},p),n[0]=p,n[1]=o,n[2]=i,n[3]=t):t=n[3],n[4]!==d?(a=(0,l.jsx)(u.Typography,{as:"span",className:"max-w-[150px] truncate md:max-w-[180px]",children:d}),n[4]=d,n[5]=a):a=n[5],n[6]!==f||n[7]!==o||n[8]!==m||n[9]!==g||n[10]!==i||n[11]!==t||n[12]!==a?(s=(0,l.jsxs)(u.Button,{intent:"mobileNavigationMute",type:"button","aria-pressed":i,"aria-label":f,disabled:o,onClick:g,className:t,children:[m,a]}),n[6]=f,n[7]=o,n[8]=m,n[9]=g,n[10]=i,n[11]=t,n[12]=a,n[13]=s):s=n[13],s};var A=a(60123),F=a(11303),B=a(90234);let P=(e,t)=>{(0,p.N)({componentName:"Show More Button",componentOption:`Advanced Filters Arcade Modal::${e}`,componentValue:t?"Show All":"Show Less",componentType:"Button",interactionType:"Click",componentLocation:f.D.NOT_APPLICABLE})},I=(e,t)=>{(0,p.N)({componentName:"Tooltip",componentOption:`Advanced Filters Arcade Modal::${V(e)}`,componentValue:e,componentType:"Tooltip",interactionType:t,componentLocation:f.D.NOT_APPLICABLE})},z=e=>"game-type"===e.filterMode,_=e=>e.filterValue??e.name,M=e=>
1{let t=[e.id,e.name,e.gameTypeName].filter(Boolean).map(e=>(0,k.JL)(e));return B.Rz.find(e=>e.aliases.some(e=>t.includes((0,k.JL)(e))))},R=e=>M(e)?.iconSrc,J=e=>e.attributes[0]?.filterId??e.id,q=e=>{let t=M(e),a=t?.key??(0,k.JL)(e.name),l=t?.key??(0,k.JL)(e.id),r=B.V3.findIndex(e=>e===a||e===l);return -1===r?B.V3.length:r},O={baccarat:"arcade.baccarat",bingo:"arcade.bingo",blackjack:"arcade.blackjack",craps:"arcade.craps","hi lo":"arcade.hiLo",keno:"arcade.keno",roulette:"arcade.roulette","scratch cards":"arcade.scratchCards"},E=(e,t)=>{let a=e.filterValue??e.name,l=O[(0,k.JL)(a)];return{...e,filterValue:a,name:l?(0,k.fq)(t,l,e.name):e.name}},G=e=>{if(!e)return!1;let t=(0,k.JL)(e.name),a=(0,k.JL)(e.id);return"slots"===t||"slots"===a},$=(e,t)=>{let a=J(t);return t.attributes.every(t=>e?.some(e=>e.filterId===a&&e.attributeType===t.attributeType&&e.value===t.value&&e.comparisonOperator===t.comparisonOperator))},V=e=>e.replace(/([a-z])([A-Z])/g,"$1 $2").split(/[\s_-]+/).filter(Boolean).map(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join(""),H=e=>{let t,a,s,n,i=(0,r.c)(11),{icon:o,iconSrc:c,title:d,rightSlot:m}=e;return i[0]!==o||i[1]!==c?(t=c?(0,l.jsx)(g.default,{src:c,alt:"","aria-hidden":"true",width:20,height:20,className:"shrink-0 size-5 md:size-6"}):o?(0,l.jsx)(u.Icon,{"aria-hidden":"true",name:o,size:18,className:"shrink-0 text-fg-brand-default"}
1):null,i[0]=o,i[1]=c,i[2]=t):t=i[2],i[3]!==d?(a=(0,l.jsx)(u.Typography,{as:"span",className:"text-sm md:text-md font-semibold",children:d}),i[3]=d,i[4]=a):a=i[4],i[5]!==t||i[6]!==a?(s=(0,l.jsxs)("div",{className:"flex min-w-0 items-center gap-section-xs",children:[t,a]}),i[5]=t,i[6]=a,i[7]=s):s=i[7],i[8]!==m||i[9]!==s?(n=(0,l.jsxs)("div",{className:"flex items-center justify-between gap-section-xs",children:[s,m]}),i[8]=m,i[9]=s,i[10]=n):n=i[10],n},D=e=>{let t,a,s=(0,r.c)(7),{selected:n,children:i,onClick:o}=e;return s[0]!==n?(t=(0,c.cn)("min-h-9 rounded-pill border-sm border-s-default bg-bg-default px-2 py-1 text-sm font-regular text-fg-default transition","hover:border-s-brand focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-s-brand",{"border-s-brand bg-bg-brand-primary text-fg-on-dark-default":n}),s[0]=n,s[1]=t):t=s[1],s[2]!==i||s[3]!==o||s[4]!==n||s[5]!==t?(a=(0,l.jsx)("button",{type:"button","aria-pressed":n,onClick:o,className:t,children:i}),s[2]=i,s[3]=o,s[4]=n,s[5]=t,s[6]=a):a=s[6],a},K=e=>{let t,a,s,n,i,o,d=(0,r.c)(19),{icon:m,title:f,className:p,showTooltip:g,tooltipContent:h,onTooltipHover:b,onTooltipClick:x}=e,y=g&&h;return d[0]!==p?(t=(0,c.cn)("me-1-5 shrink-0 w-[14px] h-[14px] md:w-4 md:h-4",p),d[0]=p,d[1]=t):t=d[1],d[2]!==m||d[3]!==t?(a=(0,l.jsx)(u.Icon,{"aria-hidden":"true",name:m,size:14,className:t}),d[2]=m,d[3]=t,d[4]=a):a=d[4],d[5]!==p?(s=(0,c.cn)("text-xs md:text-sm",p),d[5]=p,d[6]=s):s=d[6],d[7]!==s||d[8]!==f?(n=(0,l.jsx)(u.Typography,{as:"span",bold:!0,className:s,children:f}),d[7]=s,d[8]=f,d[9]=n):n=d[9],d[10]!==x||d[11]!==b||d[12]!==y||d[13]!==h?(i=y?(0,l.jsxs)("span",{className:"group relative ml-1 inline-flex size-3 shrink-0 items-center justify-center",children:[(0,l.jsx)("button",{type:"button",tabIndex:0,onMouseEnter:b,onClick:x,className:"inline-flex size-3 cursor-help items-center justify-center text-fg-light focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-s-brand",children:(0,l.jsx)(u.Icon,{"aria-hidden":"true",name:"icons-corg-font/info-filled",size:12,className:"text-fg-light"})}),(0,l.jsxs)("span",{role:"tooltip",className:"pointer-events-none absolute left-[calc(100%+6px)] top-1/2 z-[1000] hidden w-max max-w-[196px] -translate-y-1/2 whitespace-normal rounded-sm bg-bg-default p-2 text-xs font-regular leading-md text-fg-default shadow-bottom-md group-hover:block group-focus-within:block",children:[h,(0,l.jsx)("span",{"aria-hidden":"true",className:"absolute right-full top-1/2 h-0 w-0 -translate-y-1/2 border-y-[5px] border-r-[5px] border-y-transparent border-r-bg-default"})]})]}):null,d[10]=x,d[11]=b,d[12]=y,d[13]=h,d[14]=i):i=d[14],d[15]!==a||d[16]!==n||d[17]!==i?(o=(0,l.jsxs)("legend",{className:"flex items-center text-fg-default mb-1-5",children:[a,n,i]}),d[15]=a,d[16]=n,d[17]=i,d[18]=o):o=d[18],o},U=e=>{let t,a,s,n,i=(0,r.c)(11),{expanded:o,label:c,showLessLabel:d,onClick:m}=e,f=o?d:c;i[0]!==f?(t=f.split(" ").map(e=>e?`${e[0].toUpperCase()}${e.slice(1)}`:e).join(" "),i[0]=f,i[1]=t):t=i[1],i[2]!==t?(a=(0,l.jsx)("span",{className:"underline underline-offset-4",children:t}),i[2]=t,i[3]=a):a=i[3];let p=o?"icons-corg-font/chevron-up":"icons-corg-font/add";return i[4]!==p?(s=(0,l.jsx)(u.Icon,{"aria-hidden":"true",name:p,size:10,className:"block"}),i[4]=p,i[5]=s):s=i[5],i[6]!==o||i[7]!==m||i[8]!==a||i[9]!==s?(n=(0,l.jsxs)("button",{type:"button","aria-expanded":o,onClick:m,className:"inline-flex min-h-8 items-center gap-section-2xs text-xs font-bold text-fg-brand-default transition hover:text-fg-brand-hover focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-s-brand",children:[a,s]}),i[6]=o,i[7]=m,i[8]=a,i[9]=s,i[10]=n):n=i[10],n},W=e=>{let t,a,s,n,i,o=(0,r.c)(16),{category:d,selected:m,onClick:f}=e;o[0]!==d?(t=R(d),o[0]=d,o[1]=t):t=o[1];let p=t,h=d.name;if(o[2]!==m?(a=(0,c.cn)("flex h-12 shrink-0 items-center gap-section-xs rounded-pill border-sm border-s-default bg-bg-default px-2-5 text-sm font-regular text-fg-brand-default","hover:border-s-brand focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-s-brand",{"border-s-brand bg-bg-light font-semibold":m}),o[2]=m,o[3]=a):a=o[3],o[4]!==d||o[5]!==p){let e;s=(0,l.jsx)("span",{"aria-hidden":"true",className:"flex size-5 md:size-6 shrink-0 items-center justify-center",children:p?(0,l.jsx)(g.default,{src:p,alt:"",width:24,height:24,className:"size-full"}):(0,l.jsx)(u.Icon,{name:(e=d.name.toLowerCase(),d.gameTypeName?(0,k.Xe)(d.gameTypeName):e.includes("slot")?"icons-corg-font/slots":e.includes("casino")?"icons-corg-font/casino":"icons-corg-font/game-controller"),size:24,className:"size-full"})}),o[4]=d,o[5]=p,o[6]=s}else s=o[6];return o[7]!==d.name?(n=(0,l.jsx)(u.Typography,{as:"span",size:"md",className:"max-w-[180px] truncate",children:d.name}),o[7]=d.name,o[8]=n):n=o[8],o[9]!==d.name||o[10]!==f||o[11]!==m||o[12]!==a||o[13]!==s||o[14]!==n?(i=(0,l.jsxs)("button",{type:"button","aria-pressed":m,"aria-label":h,onClick:f,className:a,children:[s,n]}),o[9]=d.name,o[10]=f,o[11]=m,o[12]=a,o[13]=s,o[14]=n,o[15]=i):i=o[15],i},Y=e=>{let t,a,s,n,i,o,d,m=(0,r.c)(21),{label:f,selected:p,background:h,imageSrc:b,onClick:x}=e;return m[0]!==p?(t=(0,c.cn)("relative flex size-full items-center overflow-hidden rounded-md border-sm border-transparent px-2-5 py-1-5 text-left text-sm font-bold text-fg-on-dark-default transition","hover:border-s-brand focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-s-brand",{"border-s-brand":p}),m[0]=p,m[1]=t):t=m[1],m[2]!==h?(a={background:h},m[2]=h,m[3]=a):a=m[3],m[4]!==f?(s=(0,l.jsx)("span",{className:"relative z-10 max-w-[65%]",children:f}),m[4]=f,m[5]=s):s=m[5],m[6]!==b?(n=(0,l.jsx)("span",{className:"pointer-events-none absolute bottom-0 right-0 h-full w-[110px]",children:(0,l.jsx)(g.default,{src:b,alt:"","aria-hidden":"true",fill:!0,sizes:"110px",className:"object-contain object-right-bottom"})}),m[6]=b,m[7]=n):n=m[7],m[8]!==f||m[9]!==x||m[10]!==p||m[11]!==t||m[12]!==a||m[13]!==s||m[14]!==n?(i=(0,l.jsxs)("button",{type:"button","aria-pressed":p,"aria-label":f,onClick:x,className:t,style:a,children:[s,n]}
1),m[8]=f,m[9]=x,m[10]=p,m[11]=t,m[12]=a,m[13]=s,m[14]=n,m[15]=i):i=m[15],m[16]!==p?(o=p?(0,l.jsx)("span",{className:"pointer-events-none absolute -right-[3px] -top-[6px] z-20 flex size-[19px] items-center justify-center rounded-round bg-fg-brand-default text-fg-on-dark-default",children:(0,l.jsx)(u.Icon,{"aria-hidden":"true",name:"icons-corg-font/checkmark",size:13})}):null,m[16]=p,m[17]=o):o=m[17],m[18]!==i||m[19]!==o?(d=(0,l.jsxs)("span",{className:"relative h-[52px] min-w-[200px] flex-none md:h-[58px] md:min-w-[288px]",children:[i,o]}),m[18]=i,m[19]=o,m[20]=d):d=m[20],d},Q=e=>{let t,a,s,n=(0,r.c)(8),{checked:i,label:o,onChange:c}=e;return n[0]!==i||n[1]!==c?(t=(0,l.jsx)(u.Checkbox,{inputSize:"sm",checked:i,onChange:c}),n[0]=i,n[1]=c,n[2]=t):t=n[2],n[3]!==o?(a=(0,l.jsx)("span",{children:o}),n[3]=o,n[4]=a):a=n[4],n[5]!==t||n[6]!==a?(s=(0,l.jsxs)("label",{className:"flex min-h-8 items-start gap-section-xs text-sm text-fg-default md:items-center",children:[t,a]}),n[5]=t,n[6]=a,n[7]=s):s=n[7],s},X=(e,t)=>e?.images?.find(e=>e.tags?.includes(t))?.hash,Z=e=>{let t,a=(0,r.c)(3),{logoHash:s,providerName:n}=e;if(!s)return null;let i=n?`${n} logo`:"";return a[0]!==s||a[1]!==i?(t=(0,l.jsx)("span",{className:"absolute right-1 bottom-1 px-1-5 z-30 flex h-[22px] w-[34px] items-center justify-center rounded-sm border-s-default border-spacing-px bg-bg-default md:w-10 lg:h-[46px] lg:w-auto lg:max-w-[80px] lg:px-2-5",children:(0,l.jsx)(g.default,{loader:h.S_,src:s,alt:i,width:40,height:22,className:"max-h-full w-auto max-w-full object-contain"})}),a[0]=s,a[1]=i,a[2]=t):t=a[2],t},ee=e=>{let t,a,s,n,i,o,d,m,u,f,p,b,x,y,v,w,j,T=(0,r.c)(49),{game:N,title:k,ctaLabel:L,onPlay:C}=e;T[0]!==N?(t=X(N,"background"),T[0]=N,T[1]=t):t=T[1];let S=t;T[2]!==N?(a=X(N,"asset"),T[2]=N,T[3]=a):a=T[3];let A=a;T[4]!==N?(s=X(N,"stacked-logo"),T[4]=N,T[5]=s):s=T[5];let F=s;T[6]!==N||T[7]!==F?(n=F??X(N,"logo")??N?.imageHash,T[6]=N,T[7]=F,T[8]=n):n=T[8];let B=n,P=!F&&!!B;if(T[9]!==N)i=X(N,"banner")??N?.imageHash,T[9]=N,T[10]=i;else i=T[10];let I=i,z=!S,_=S??I;if(!N||!_)return null;let M=N.provider?.logo,R=N.provider?.name;T[11]!==M||T[12]!==R?(o=(0,l.jsx)(Z,{logoHash:M,providerName:R}),T[11]=M,T[12]=R,T[13]=o):o=T[13];let J=o,q=z?"popular-game-banner-image":"popular-game-banner-background";T[14]!==N.name||T[15]!==_||T[16]!==q?(d=(0,l.jsx)(g.default,{loader:h.S_,src:_,alt:N.name,fill:!0,sizes:"(min-width: 768px) 820px, 100vw",className:"object-cover"}),T[14]=N.name,T[15]=_,T[16]=q,T[17]=d):d=T[17];let O=z?"bg-[linear-gradient(90deg,rgba(0,0,0,0.45)_0%,rgba(0,0,0,0.08)_50%,rgba(0,0,0,0.2)_100%)]":"bg-[linear-gradient(90deg,rgba(0,0,0,0.35)_0%,rgba(0,0,0,0.06)_50%,rgba(0,0,0,0.2)_100%)]";T[18]!==O?(m=(0,c.cn)("absolute inset-0",O),T[18]=O,T[19]=m):m=T[19],T[20]!==m?(u=(0,l.jsx)("div",{className:m}),T[20]=m,T[21]=u):u=T[21],T[22]!==N.name||T[23]!==P||T[24]!==B?(f=B?(0,l.jsx)("div",{className:(0,c.cn)("absolute top-0 bottom-0 left-4 lg:left-[88px] z-10 w-[92px] min-h-full max-h-full md:w-[132px]",P&&"py-2 lg:py-1-5"),children:(0,l.jsx)(g.default,{loader:h.S_,src:B,alt:`${N.name} logo`,width:500,height:500,className:(0,c.cn)("h-full min-h-full max-h-full w-auto max-w-full object-contain",P&&"rounded-md")})}):null,T[22]=N.name,T[23]=P,T[24]=B,T[25]=f):f=T[25],T[26]!==A?(p=A?(0,l.jsx)("div",{className:"absolute bottom-0 right-0 lg:right-[88px] z-10 h-full lg:h-[110%] w-[112px] md:w-[164px]",children:(0,l.jsx)(g.default,{loader:h.S_,src:A,alt:"","aria-hidden":"true",fill:!0,sizes:"(min-width: 768px) 164px, 112px",className:"object-contain object-bottom"})}):null,T[26]=A,T[27]=p):p=T[27],T[28]!==L?(b=(0,l.jsx)("div",{className:"relative z-20 flex w-full items-center justify-center px-2-5",children:(0,l.jsx)("span",{className:"rounded-md bg-bg-default px-4 py-1-5 text-sm font-bold text-fg-brand-default shadow-bottom-sm md:px-6 md:text-md",children:L})}
1),T[28]=L,T[29]=b):b=T[29],T[30]!==J||T[31]!==d||T[32]!==u||T[33]!==f||T[34]!==p||T[35]!==b?(x=(0,l.jsxs)("div",{className:"relative flex h-[92px] overflow-hidden rounded-md bg-bg-medium md:h-[114px]",children:[d,u,f,p,b,J]}),T[30]=J,T[31]=d,T[32]=u,T[33]=f,T[34]=p,T[35]=b,T[36]=x):x=T[36];let E=x;T[37]!==k?(y=(0,l.jsx)(H,{iconSrc:"/images/icon/favorites.svg",title:k}),T[37]=k,T[38]=y):y=T[38];let G=`${L} ${N.name}`;return T[39]!==N||T[40]!==C?(v=()=>C(N),T[39]=N,T[40]=C,T[41]=v):v=T[41],T[42]!==E||T[43]!==G||T[44]!==v?(w=(0,l.jsx)("button",{type:"button","aria-label":G,onClick:v,className:"block w-full border-0 bg-transparent p-0 text-left",children:E}),T[42]=E,T[43]=G,T[44]=v,T[45]=w):w=T[45],T[46]!==y||T[47]!==w?(j=(0,l.jsxs)("section",{className:"flex flex-col gap-section-sm",children:[y,w]}),T[46]=y,T[47]=w,T[48]=j):j=T[48],j};var et=a(79311);let ea=e=>{let t,a,s,n,i,o,c,d,m,f,p,g,h,b,x,y,v=(0,r.c)(81),{labels:w,selectedCategory:j,selectedCategoryTitle:T,categoryChildOptions:N,hasPanelFilters:L,visibleBonusFeatureOptions:C,visibleGameMechanicOptions:S,visibleThemeOptions:A,showAllBonusFeatures:F,showAllGameMechanics:P,showAllThemes:I,onShowAllBonusFeaturesChange:z,onShowAllGameMechanicsChange:_,onShowAllThemesChange:M,onTooltipHover:J,onTooltipClick:q,getLabel:O,isGameTypeCategorySelected:E,isAdvancedOptionSelected:$,onGameTypeCategoryToggle:V,onAdvancedOptionToggle:W,onResetDraft:Y}=e;v[0]!==j?(t=j?R(j):et.A,v[0]=j,v[1]=t):t=v[1];let X=!L;return v[2]!==w.resetFilters?(a=(0,l.jsx)(u.Typography,{as:"span",bold:!0,className:"!text-xs text-fg-brand-default underline underline-offset-4",children:w.resetFilters}),v[2]=w.resetFilters,v[3]=a):a=v[3],v[4]===Symbol.for("react.memo_cache_sentinel")?(s=(0,l.jsx)(u.Icon,{"aria-hidden":"true",name:"icons-corg-font/refresh-arrow",size:10,className:"ms-1 size-[10px] text-fg-brand-default"}),v[4]=s):s=v[4],v[5]!==w.resetFilters||v[6]!==Y||v[7]!==X||v[8]!==a?(n=(0,l.jsxs)(u.Button,{type:"button",intent:"link",size:"extraSmall","aria-label":w.resetFilters,disabled:X,onClick:Y,className:"min-h-6 !bg-transparent px-0 hover:!bg-transparent focus:!bg-transparent active:!bg-transparent disabled:!bg-transparent gap-none","data-aac-tracker":"Advanced Filters Arcade Modal::Reset Sub Category Filters",children:[a,s]}),v[5]=w.resetFilters,v[6]=Y,v[7]=X,v[8]=a,v[9]=n):n=v[9],v[10]!==T||v[11]!==t||v[12]!==n?(i=(0,l.jsx)(H,{iconSrc:t,title:T,rightSlot:n}),v[10]=T,v[11]=t,v[12]=n,v[13]=i):i=v[13],v[14]!==N||v[15]!==E||v[16]!==w.gameType||v[17]!==V||v[18]!==j||v[19]!==T?(o=((e,t=[])=>!!(e&&[(0,k.JL)(e.name),(0,k.JL)(e.id)].some(e=>["table games","arcade","arcade games","lottery games"].includes(e))&&t.length))(j,N)?(0,l.jsxs)("fieldset",{className:"flex flex-col gap-section-xs",children:[(0,l.jsx)(K,{icon:"icons-corg-font/game-type",title:w.gameType}),(0,l.jsx)("div",{className:"flex flex-wrap gap-section-xs",children:N.map(e=>(0,l.jsx)(D,{selected:E(e),onClick:()=>V(e,{inputType:"Button",analyticsLabel:T}),children:e.name},e.id))})]}):null,v[14]=N,v[15]=E,v[16]=w.gameType,v[17]=V,v[18]=j,v[19]=T,v[20]=o):o=v[20],v[21]!==O||v[22]!==$||v[23]!==w.bonusFeature||v[24]!==w.gameMechanic||v[25]!==w.gameMechanicTooltip||v[26]!==w.showAll||v[27]!==w.showLess||v[28]!==w.volatilityRiskLevel||v[29]!==w.volatilityRiskLevelTooltip||v[30]!==W||v[31]!==z||v[32]!==_||v[33]!==q||v[34]!==J||v[35]!==j||v[36]!==T||v[37]!==F||v[38]!==P||v[39]!==C||v[40]!==S?(c=G(j)?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("fieldset",{className:"flex flex-col gap-section-xs",children:[(0,l.jsx)(K,{icon:"icons-corg-font/gift",title:w.bonusFeature}),(0,l.jsxs)("div",{className:"flex flex-wrap gap-section-xs",children:[C.map(e=>(0,l.jsx)(D,{selected:$(e),onClick:()=>W(e,{analyticsLabel:"Bonus Feature",inputType:"Button",optionCategory:T}),children:O(e)}
1,e.id)),B.ei.length>B.xE?(0,l.jsx)(U,{expanded:F,label:w.showAll,showLessLabel:w.showLess,onClick:()=>z(!F)}):null]})]}),(0,l.jsxs)("fieldset",{className:"flex flex-col gap-section-xs",children:[(0,l.jsx)(K,{icon:"icons-corg/settings",title:w.gameMechanic,showTooltip:!0,tooltipContent:w.gameMechanicTooltip,onTooltipHover:()=>J("Game Mechanic"),onTooltipClick:()=>q("Game Mechanic")}),(0,l.jsxs)("div",{className:"flex flex-wrap gap-section-xs",children:[S.map(e=>(0,l.jsx)(D,{selected:$(e),onClick:()=>W(e,{analyticsLabel:"Game Mechanic",inputType:"Button",optionCategory:T}),children:O(e)},e.id)),B.LZ.length>B.xE?(0,l.jsx)(U,{expanded:P,label:w.showAll,showLessLabel:w.showLess,onClick:()=>_(!P)}):null]})]}),(0,l.jsxs)("fieldset",{className:"flex flex-col gap-section-xs",children:[(0,l.jsx)(K,{icon:"icons-corg-font/interface-essential",title:w.volatilityRiskLevel,className:"text-fg-default",showTooltip:!0,tooltipContent:w.volatilityRiskLevelTooltip,onTooltipHover:()=>J("Volatility"),onTooltipClick:()=>q("Volatility")}),(0,l.jsx)("div",{className:"grid gap-y-section-xs md:grid-cols-2 md:gap-x-content-block-xl",children:B.WA.map(e=>{let t=B.BQ[e.id];return(0,l.jsx)(Q,{label:(0,l.jsxs)("span",{className:"text-sm",children:[O(e)," ",(0,l.jsxs)("span",{className:"text-2xs md:hidden",children:["(",t,")"]}),(0,l.jsx)("span",{className:"hidden text-2xs md:inline",children:t})]}),checked:$(e),onChange:()=>W(e,{analyticsLabel:"Volatility",inputType:"Checkbox",labelValue:O(e),optionCategory:T})},e.id)})})]})]}):null,v[21]=O,v[22]=$,v[23]=w.bonusFeature,v[24]=w.gameMechanic,v[25]=w.gameMechanicTooltip,v[26]=w.showAll,v[27]=w.showLess,v[28]=w.volatilityRiskLevel,v[29]=w.volatilityRiskLevelTooltip,v[30]=W,v[31]=z,v[32]=_,v[33]=q,v[34]=J,v[35]=j,v[36]=T,v[37]=F,v[38]=P,v[39]=C,v[40]=S,v[41]=c):c=v[41],v[42]!==J?(d=()=>J("RTP"),v[42]=J,v[43]=d):d=v[43],v[44]!==q?(m=()=>q("RTP"),v[44]=q,v[45]=m):m=v[45],v[46]!==w.returnToPlayer||v[47]!==w.returnToPlayerTooltip||v[48]!==m||v[49]!==d?(f=(0,l.jsx)(K,{icon:"icons-corg-font/arrows-diagrams",title:w.returnToPlayer,className:"text-fg-default",showTooltip:!0,tooltipContent:w.returnToPlayerTooltip,onTooltipHover:d,onTooltipClick:m}),v[46]=w.returnToPlayer,v[47]=w.returnToPlayerTooltip,v[48]=m,v[49]=d,v[50]=f):f=v[50],v[51]!==O||v[52]!==$||v[53]!==W||v[54]!==T?(p=B.XR.map(e=>(0,l.jsxs)("label",{className:"flex min-h-8 items-center gap-section-xs bg-bg-default text-sm text-fg-default",children:[(0,l.jsx)(u.Checkbox,{inputSize:"sm",checked:$(e),onChange:()=>W(e,{analyticsLabel:"RTP",inputType:"Checkbox",labelValue:O(e),optionCategory:T})}),O(e)]},e.id)),v[51]=O,v[52]=$,v[53]=W,v[54]=T,v[55]=p):p=v[55],v[56]!==p?(g=(0,l.jsx)("div",{className:"flex flex-wrap gap-section-md",children:p}),v[56]=p,v[57]=g):g=v[57],v[58]!==f||v[59]!==g?(h=(0,l.jsxs)("fieldset",{className:"flex flex-col gap-section-xs",children:[f,g]}),v[58]=f,v[59]=g,v[60]=h):h=v[60],v[61]!==O||v[62]!==$||v[63]!==w.filterByTheme||v[64]!==w.showAll||v[65]!==w.showLess||v[66]!==W||v[67]!==M||v[68]!==j||v[69]!==T||v[70]!==I||v[71]!==A?(b=G(j)?(0,l.jsxs)("fieldset",{className:"flex flex-col gap-section-xs",children:[(0,l.jsx)(K,{icon:"icons-corg-font/show-theater-mask-happy",title:w.filterByTheme,className:"text-fg-default"}),(0,l.jsxs)("div",{className:"flex flex-wrap gap-section-xs",children:[A.map(e=>(0,l.jsx)(D,{selected:$(e),onClick:()=>W(e,{analyticsLabel:"Theme",inputType:"Button",optionCategory:T}),children:O(e)}
1,e.id)),B.m0.length>B.xE?(0,l.jsx)(U,{expanded:I,label:w.showAll,showLessLabel:w.showLess,onClick:()=>M(!I)}):null]})]}):null,v[61]=O,v[62]=$,v[63]=w.filterByTheme,v[64]=w.showAll,v[65]=w.showLess,v[66]=W,v[67]=M,v[68]=j,v[69]=T,v[70]=I,v[71]=A,v[72]=b):b=v[72],v[73]!==h||v[74]!==b||v[75]!==o||v[76]!==c?(x=(0,l.jsxs)("div",{className:"flex flex-col gap-section-md md:gap-section-lg rounded-md bg-bg-default p-2 md:p-2-5",children:[o,c,h,b]}),v[73]=h,v[74]=b,v[75]=o,v[76]=c,v[77]=x):x=v[77],v[78]!==x||v[79]!==i?(y=(0,l.jsx)("section",{className:"rounded-md border-sm border-s-brand bg-bg-light p-2-5 md:p-3",children:(0,l.jsxs)("div",{className:"flex flex-col gap-section-sm",children:[i,x]})}),v[78]=x,v[79]=i,v[80]=y):y=v[80],y},el=e=>{let t,a,s,n,i,c=(0,r.c)(17),{labels:d,categoryOptions:m,isCategorySelected:f,onCategoryToggle:p}=e,g=(0,o.useRef)(null),h=L(g,m.length);c[0]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{g.current&&g.current.scrollBy({left:(0,k.Rt)(g.current),behavior:"smooth"})},c[0]=t):t=c[0];let b=t;c[1]===Symbol.for("react.memo_cache_sentinel")?(a=()=>{g.current&&g.current.scrollBy({left:-(0,k.Rt)(g.current),behavior:"smooth"})},c[1]=a):a=c[1];let x=a,{isMobile:y}=(0,C.A)();return c[2]!==d.filterByCategory?(s=(0,l.jsx)(H,{iconSrc:"/images/icon/modular.svg",title:d.filterByCategory}),c[2]=d.filterByCategory,c[3]=s):s=c[3],c[4]!==m||c[5]!==h||c[6]!==f||c[7]!==y||c[8]!==d.filterByCategory||c[9]!==d.noFiltersAvailable||c[10]!==d.showMoreFilters||c[11]!==d.showPreviousFilters||c[12]!==p?(n=m.length?(0,l.jsxs)("div",{className:"-mx-2-5 flex items-center gap-section-xs overflow-hidden px-2-5 pr-0 last:pr-2-5 md:mx-0 md:px-0 md:last:pr-0 ",children:[y?null:(0,l.jsx)(l.Fragment,{children:h.canScrollLeft?(0,l.jsx)(u.Button,{intent:"mobileNavigationMute",type:"button","aria-label":d.showPreviousFilters,onClick:x,className:"h-10 w-10 shrink-0 rounded-round border-sm border-s-default bg-bg-default shadow-bottom-sm transition hover:border-s-brand hover:text-fg-brand-default focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-s-brand",children:(0,l.jsx)(u.Icon,{name:"icons-corg-font/arrow-left",size:16,className:"min-h-4 min-w-4"})}):null}),(0,l.jsxs)("div",{className:"relative min-w-0 flex-1 overflow-hidden",children:[(0,l.jsx)("div",{ref:g,className:"flex h-12 gap-section-xs overflow-x-auto overflow-y-hidden scroll-smooth [&::-webkit-scrollbar]:hidden [-ms-overflow-style:none] [scrollbar-width:none]",role:"group","aria-label":d.filterByCategory,children:m.map(e=>(0,l.jsx)(W,{category:e,selected:f(e),onClick:()=>p(e)},e.id))}),h.canScrollLeft?(0,l.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute left-0 top-0 z-10 h-12 w-[45px] bg-[linear-gradient(270deg,rgba(255,255,255,0)_0%,#FFF_100%)]"}):null,h.canScrollRight?(0,l.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute right-0 top-0 z-10 h-12 w-[45px] bg-gradient-to-r from-transparent to-bg-default"}):null]}),y?null:(0,l.jsx)(l.Fragment,{children:h.canScrollRight?(0,l.jsx)(u.Button,{intent:"mobileNavigationMute",type:"button","aria-label":d.showMoreFilters,onClick:b,className:"h-10 w-10 shrink-0 rounded-round border-sm border-s-default bg-bg-default shadow-bottom-sm transition hover:border-s-brand hover:text-fg-brand-default focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-s-brand",children:(0,l.jsx)(u.Icon,{name:"icons-corg-font/arrow-right",size:16,className:"min-h-4 min-w-4"})}):null})]}):(0,l.jsx)(u.Typography,{as:"p",className:"text-sm text-fg-light",children:d.noFiltersAvailable}),c[4]=m,c[5]=h,c[6]=f,c[7]=y,c[8]=d.filterByCategory,c[9]=d.noFiltersAvailable,c[10]=d.showMoreFilters,c[11]=d.showPreviousFilters,c[12]=p,c[13]=n):n=c[13],c[14]!==s||c[15]!==n?(i=(0,l.jsxs)("section",{className:"flex flex-col gap-section-md",children:[s,n]}),c[14]=s,c[15]=n,c[16]=i):i=c[16],i},er=e=>{let t,a,s=(0,r.c)(5),{provider:n}=e;return s[0]!==n.imageHash||s[1]!==n.name?(t=n.imageHash?(0,l.jsx)(g.default,{loader:h.S_,src:n.imageHash,alt:"",width:104,height:54,className:"max-h-full w-auto max-w-full object-contain","aria-hidden":"true"}
1):n.name.split(/\s+/).filter(Boolean).slice(0,2).map(e=>e[0]).join("").toUpperCase(),s[0]=n.imageHash,s[1]=n.name,s[2]=t):t=s[2],s[3]!==t?(a=(0,l.jsx)("span",{className:"flex h-[54px] w-full max-w-[104px] items-center justify-center rounded-xs px-1-5 text-xs font-regular text-fg-default",children:t}),s[3]=t,s[4]=a):a=s[4],a},es=e=>{let t,a,s,n,i,o=(0,r.c)(16),{provider:d,selected:m,onClick:f}=e,p=d.name;return o[0]!==m?(t=(0,c.cn)("relative flex h-[88px] flex-col items-center justify-center gap-section-xs rounded-md border-sm border-s-default bg-bg-default px-4 py-1 text-center","hover:border-s-brand focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-s-brand",{"border-s-brand bg-bg-light":m}),o[0]=m,o[1]=t):t=o[1],o[2]!==m?(a=m?(0,l.jsx)("span",{className:"pointer-events-none absolute -right-[3px] -top-[6px] z-20 flex size-[19px] items-center justify-center rounded-round bg-fg-brand-default text-fg-on-dark-default",children:(0,l.jsx)(u.Icon,{"aria-hidden":"true",name:"icons-corg-font/checkmark",size:12})}):null,o[2]=m,o[3]=a):a=o[3],o[4]!==d?(s=(0,l.jsx)(er,{provider:d}),o[4]=d,o[5]=s):s=o[5],o[6]!==d.name?(n=(0,l.jsx)("span",{className:"line-clamp-2 text-xs leading-lg text-fg-default",children:d.name}),o[6]=d.name,o[7]=n):n=o[7],o[8]!==f||o[9]!==d.name||o[10]!==m||o[11]!==t||o[12]!==a||o[13]!==s||o[14]!==n?(i=(0,l.jsxs)("button",{type:"button","aria-pressed":m,"aria-label":p,onClick:f,className:t,children:[a,s,n]}),o[8]=f,o[9]=d.name,o[10]=m,o[11]=t,o[12]=a,o[13]=s,o[14]=n,o[15]=i):i=o[15],i},en=e=>{let t,a,s,n=(0,r.c)(9),{expanded:i,label:o,onClick:c}=e;n[0]!==o?(t=(0,l.jsx)("span",{className:"underline underline-offset-4",children:o}),n[0]=o,n[1]=t):t=n[1];let d=i?"icons-corg-font/chevron-up":"icons-corg-font/add";return n[2]!==d?(a=(0,l.jsx)(u.Icon,{"aria-hidden":"true",name:d,size:10,className:"size-[10px]"}),n[2]=d,n[3]=a):a=n[3],n[4]!==i||n[5]!==c||n[6]!==t||n[7]!==a?(s=(0,l.jsxs)("button",{type:"button","aria-expanded":i,onClick:c,className:"flex h-[88px] items-center justify-center gap-section-2xs rounded-md border-sm border-s-default bg-bg-default px-1-5 text-xs font-bold text-fg-brand-default transition hover:border-s-brand focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-s-brand",children:[t,a]}),n[4]=i,n[5]=c,n[6]=t,n[7]=a,n[8]=s):s=n[8],s},ei=e=>{let t,a,s,n,i,o,c=(0,r.c)(25),{labels:d,providers:m,visibleProviders:f,filteredProviders:p,providerSearch:g,showAllProviders:h,selectedProviderIds:b,setProviderSearch:x,onShowAllProvidersChange:y,onProviderToggle:v}=e;c[0]!==d.gameProviders?(t=(0,l.jsx)(H,{iconSrc:"/images/icon/casino-bonus-software-providers.svg",title:d.gameProviders}),c[0]=d.gameProviders,c[1]=t):t=c[1],c[2]===Symbol.for("react.memo_cache_sentinel")?(a=(0,l.jsx)(u.Icon,{name:"icons-corg-font/search",size:14}),c[2]=a):a=c[2],c[3]!==x?(s=e=>x(e.target.value),c[3]=x,c[4]=s):s=c[4];let w=!m.length;return c[5]!==d.searchByProviders||c[6]!==g||c[7]!==s||c[8]!==w?(n=(0,l.jsx)(u.Input,{"aria-label":d.searchByProviders,placeholder:d.searchByProviders,icon:a,iconPosition:"left",inputSize:"md",value:g,onChange:s,disabled:w}),c[5]=d.searchByProviders,c[6]=g,c[7]=s,c[8]=w,c[9]=n):n=c[9],c[10]!==p||c[11]!==d.noFiltersAvailable||c[12]!==d.showAll||c[13]!==d.showLess||c[14]!==v||c[15]!==y||c[16]!==m.length||c[17]!==b||c[18]!==h||c[19]!==f?(i=m.length?(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-section-xs sm:grid-cols-3 md:grid-cols-5",children:[f.map(e=>{let t=Number(e.id);return(0,l.jsx)(es,{provider:e,selected:b.includes(t),onClick:()=>v(t,e.name)},e.id)}),p.length>B.Rr?(0,l.jsx)(en,{expanded:h,label:h?d.showLess:d.showAll,onClick:()=>y(!h)}):null]}):(0,l.jsx)(u.Typography,{as:"p",className:"text-sm text-fg-light",children:d.noFiltersAvailable}),c[10]=p,c[11]=d.noFiltersAvailable,c[12]=d.showAll,c[13]=d.showLess,c[14]=v,c[15]=y,c[16]=m.length,c[17]=b,c[18]=h,c[19]=f,c[20]=i):i=c[20],c[21]!==t||c[22]!==n||c[23]!==i?(o=(0,l.jsxs)("section",{className:"flex flex-col gap-section-sm",children:[t,n,i]}),c[21]=t,c[22]=n,c[23]=i,c[24]=o):o=c[24],o},eo={analyticsLabel:"Advanced Filters Arcade Modal::Recommended",inputType:"Button"},ec=e=>{let t,a,s,n,i=(0,r.c)(11),{labels:o,getLabel:c,isAdvancedOptionSelected:d,onAdvancedOptionToggle:m}=e;return i[0]!==o.recommendedForYou?(t=(0,l.jsx)(H,{iconSrc:"/images/illustrations/rating-stars.svg",title:o.recommendedForYou}),i[0]=o.recommendedForYou,i[1]=t):t=i[1],i[2]!==c||i[3]!==d||i[4]!==m?(a=B.zJ.map(e=>(0,l.jsx)(Y,{label:c(e),background:e.background,imageSrc:e.imageSrc,selected:d(e),onClick:()=>m(e,eo)},e.id)),i[2]=c,i[3]=d,i[4]=m,i[5]=a):a=i[5],i[6]!==a?(s=(0,l.jsx)("div",{className:"-mx-2-5 -my-[6px] flex gap-section-xs overflow-x-auto px-2-5 py-[6px] md:mx-0 md:px-0 [&::-webkit-scrollbar]:hidden [scrollbar-width:none]",children:a}),i[6]=a,i[7]=s):s=i[7],i[8]!==t||i[9]!==s?(n=(0,l.jsxs)("section",{className:"flex flex-col gap-section-md",children:[t,s]}),i[8]=t,i[9]=s,i[10]=n):n=i[10],n},ed=(0,A.default)(()=>
1Promise.all([a.e(2956),a.e(2678)]).then(a.bind(a,12956)),{loadableGenerated:{webpack:()=>[12956]},ssr:!1}),em=({isOpen:e,onClose:t})=>{let{t:a}=(0,d.B)(),s=(()=>{let e,t,a,l,s,n,i,o,c,m,u,f,p,g,h,b,x,y,v,w,j,T,N,L,C,S,A,F=(0,r.c)(79),{t:B}=(0,d.B)();return F[0]!==B?(e=(0,k.fq)(B,"arcade.filterGames","Filter Games"),F[0]=B,F[1]=e):e=F[1],F[2]!==B?(t=(0,k.fq)(B,"arcade.filterGamesMobile","Game Filter"),F[2]=B,F[3]=t):t=F[3],F[4]!==B?(a=(0,k.fq)(B,"arcade.filtersModalCloseAriaLabel","Close filters modal"),F[4]=B,F[5]=a):a=F[5],F[6]!==B?(l=(0,k.fq)(B,"arcade.noFiltersAvailable","No filters available"),F[6]=B,F[7]=l):l=F[7],F[8]!==B?(s=(0,k.fq)(B,"arcade.recommendedForYou","Recommended for you"),F[8]=B,F[9]=s):s=F[9],F[10]!==B?(n=(0,k.fq)(B,"arcade.mostPopularGame","Casino.org Most Popular Game"),F[10]=B,F[11]=n):n=F[11],F[12]!==B?(i=(0,k.fq)(B,"arcade.playNow","Play Now!"),F[12]=B,F[13]=i):i=F[13],F[14]!==B?(o=(0,k.fq)(B,"arcade.filterByCategory","Filter by category"),F[14]=B,F[15]=o):o=F[15],F[16]!==B?(c=(0,k.fq)(B,"arcade.slotsAdvancedFilter","Slots advanced filter"),F[16]=B,F[17]=c):c=F[17],F[18]!==B?(m=(0,k.fq)(B,"arcade.gameType","Game Type"),F[18]=B,F[19]=m):m=F[19],F[20]!==B?(u=(0,k.fq)(B,"arcade.resetFilters","Reset filters"),F[20]=B,F[21]=u):u=F[21],F[22]!==B?(f=(0,k.fq)(B,"arcade.bonusFeature","Bonus Feature"),F[22]=B,F[23]=f):f=F[23],F[24]!==B?(p=(0,k.fq)(B,"arcade.gameMechanic","Game Mechanic"),F[24]=B,F[25]=p):p=F[25],F[26]!==B?(g=(0,k.fq)(B,"arcade.gameMechanicTooltip","Built-in features that shape how a slot plays and pays, making the game more engaging and increasing the potential for bigger wins."),F[26]=B,F[27]=g):g=F[27],F[28]!==B?(h=(0,k.fq)(B,"arcade.volatilityRiskLevel","Volatility (Risk Level)"),F[28]=B,F[29]=h):h=F[29],F[30]!==B?(b=(0,k.fq)(B,"arcade.volatilityRiskLevelTooltip","Volatility measures the risk and reward of a slot, how often it pays, and how big the wins could be."),F[30]=B,F[31]=b):b=F[31],F[32]!==B?(x=(0,k.fq)(B,"arcade.returnToPlayer","Return to Player (RTP)"),F[32]=B,F[33]=x):x=F[33],F[34]!==B?(y=(0,k.fq)(B,"arcade.returnToPlayerTooltip","RTP is the percentage of money wagered that a slot is designed to pay back over time, calculated across millions of spins."),F[34]=B,F[35]=y):y=F[35],F[36]!==B?(v=(0,k.fq)(B,"arcade.filterByTheme","Theme"),F[36]=B,F[37]=v):v=F[37],F[38]!==B?(w=(0,k.fq)(B,"arcade.gameProviders","Game providers"),F[38]=B,F[39]=w):w=F[39],F[40]!==B?(j=(0,k.fq)(B,"arcade.searchForYourFavouriteGameProvider","Search for your favourite game provider..."),F[40]=B,F[41]=j):j=F[41],F[42]!==B?(T=(0,k.fq)(B,"arcade.resetAllFilters","Reset All Filters"),F[42]=B,F[43]=T):T=F[43],F[44]!==B?(N=(0,k.fq)(B,"arcade.showAll","Show All"),F[44]=B,F[45]=N):N=F[45],F[46]!==B?(L=(0,k.fq)(B,"arcade.showLess","Show Less"),F[46]=B,F[47]=L):L=F[47],F[48]!==B?(C=(0,k.fq)(B,"arcade.showMoreFilters","Show more filters"),F[48]=B,F[49]=C):C=F[49],F[50]!==B?(S=(0,k.fq)(B,"arcade.showPreviousFilters","Show previous filters"),F[50]=B,F[51]=S):S=F[51],F[52]!==e||F[53]!==t||F[54]!==u||F[55]!==f||F[56]!==p||F[57]!==g||F[58]!==h||F[59]!==b||F[60]!==x||F[61]!==y||F[62]!==v||F[63]!==w||F[64]!==a||F[65]!==j||F[66]!==T||F[67]!==N||F[68]!==L||F[69]!==C||F[70]!==S||F[71]!==l||F[72]!==s||F[73]!==n||F[74]!==i||F[75]!==o||F[76]!==c||F[77]!==m?(A={filterGames:e,filterGamesMobile:t,close:a,noFiltersAvailable:l,recommendedForYou:s,mostPopularGame:n,playNow:i,filterByCategory:o,slotsAdvancedFilter:c,gameType:m,resetFilters:u,bonusFeature:f,gameMechanic:p,gameMechanicTooltip:g,volatilityRiskLevel:h,volatilityRiskLevelTooltip:b,returnToPlayer:x,returnToPlayerTooltip:y,filterByTheme:v,gameProviders:w,searchByProviders:j,resetAllFilters:T,showAll:N,showLess:L,showMoreFilters:C,showPreviousFilters:S},F[52]=e,F[53]=t,F[54]=u,F[55]=f,F[56]=p,F[57]=g,F[58]=h,F[59]=b,F[60]=x,F[61]=y,F[62]=v,F[63]=w,F[64]=a,F[65]=j,F[66]=T,F[67]=N,F[68]=L,F[69]=C,F[70]=S,F[71]=l,F[72]=s,F[73]=n,F[74]=i,F[75]=o,F[76]=c,F[77]=m,F[78]=A):A=F[78],A})(),{isMobile:n}=(0,C.A)(),{filters:i,setFilters:c,providers:g=[],gameTypes:h=[],gameCategories:b=[],pagination:x,isErrorState:y,defaultOptions:v,requestGames:w,setQuickFilterMode:j}=(0,m.x3)("filters","setFilters","providers","gameTypes","gameCategories","pagination","isErrorState","defaultOptions","requestGames","setQuickFilterMode"),[T,N]=(0,o.useState)(()=>(0,k.n$)(i)),[L,S]=(0,o.useState)(""),[A,R]=(0,o.useState)(!1),[O,H]=(0,o.useState)(!1),[D,K]=(0,o.useState)(!1),[U,W]=(0,o.useState)(!1),[Y,Q]=(0,o.useState)(),[X,Z]=(0,o.useState)(),[et,er]=(0,o.useState)(null),[es,en]=(0,o.useState)(x.rowsFound??0);(0,o.useEffect)(()=>{e&&(N((0,k.n$)(i)),en(x.rowsFound??0),S(""),R(!1),H(!1),K(!1),W(!1),Q(void 0))},[i,e,x.rowsFound]);let eo=(0,o.useMemo)(()=>(({gameTypes:e,gameCategories:t,translate:a})=>{let l=new Map;
1e.forEach(e=>{l.set((0,k.JL)(e.name),e)}),t.forEach(e=>{let t;if(!e.gameTypeName)return;let a=(0,k.JL)(e.gameTypeName);l.has(a)||l.set(a,{id:t=e.gameTypeName,name:t})});let r=new Map;return Array.from(l.values()).map(e=>{let t;return(t=M(e))?{...e,name:(0,k.fq)(a,t.labelKey,t.fallbackLabel)}:null}).filter(e=>null!==e).forEach(e=>{let t=(0,k.JL)(e.name);r.has(t)||r.set(t,e)}),Array.from(r.values()).sort((e,t)=>q(e)-q(t))})({gameTypes:h,gameCategories:b,translate:a}),[b,h,a]),em=(0,o.useMemo)(()=>{let e=eo.find(e=>Y&&((0,k.JL)(e.id)===(0,k.JL)(Y)||(0,k.JL)(e.name)===(0,k.JL)(Y)));if(e)return e;let t=T.gameTypes[0],a=T.gameTypeCategories?.[0],l=(({gameType:e,categories:t})=>{if(!e)return;let a=(0,k.JL)(e),l=Object.entries(B.Cl).find(([,e])=>e.some(e=>{let t=(0,k.JL)(e),l=(0,k.JL)(B.R[t]??e);return t===a||l===a}))?.[0];if(l)return t.find(e=>{let t=(0,k.JL)(e.id),a=(0,k.JL)(e.name);return t===l||a===l})})({gameType:t,categories:eo});if(l)return l;let r=a?.name??t;return r?eo.find(e=>(0,k.JL)(e.id)===(0,k.JL)(r)||(0,k.JL)(e.name)===(0,k.JL)(r))??eo[0]:eo[0]},[eo,T.gameTypeCategories,T.gameTypes,Y]),eu=(0,o.useMemo)(()=>(({category:e,gameCategories:t,translate:a})=>{if(!e)return[];let l=(0,k.JL)(e.name),r=(0,k.JL)(e.id),s=t.filter(e=>{if(!e.gameTypeName)return!1;let t=(0,k.JL)(e.gameTypeName);return t===l||t===r});return s.length?s.map(e=>E({...e,filterMode:"game-type-category"},a)):(B.Cl[l]??B.Cl[r]??[]).map(t=>E({id:`${e.id}:${t}`,name:t,gameTypeName:e.id,filterValue:B.R[(0,k.JL)(t)]??t,filterMode:"game-type"},a))})({category:em,gameCategories:b,translate:a}),[b,em,a]),ef=L.trim().toLowerCase();(0,o.useEffect)(()=>{if(!ef)return;let e=window.setTimeout(()=>{(0,p.N)({componentName:"Search Box",componentOption:"Advanced Filters Arcade Modal::GameProvidersSearch",componentValue:ef,componentType:"Input",interactionType:"On Search",componentLocation:f.D.NOT_APPLICABLE})},1e3);return()=>{window.clearTimeout(e)}},[ef]);let ep=ef?g.filter(e=>e.name.toLowerCase().includes(ef)):g,eg=(0,o.useMemo)(()=>em?new Set([em.id,em.name].map(e=>(0,k.JL)(e))):new Set,[em]),eh=(0,o.useMemo)(()=>new Set(eu.filter(z).map(_).map(k.JL)),[eu]),eb=(0,o.useMemo)(()=>!!(T.gameTypes.some(e=>eh.has((0,k.JL)(e)))||T.gameTypeCategories?.some(e=>eg.has((0,k.JL)(e.name)))),[T.gameTypeCategories,T.gameTypes,eh,eg]),ex=!!(T.attributes?.length||eb),ey=A?ep:ep.slice(0,B.Rr),ev=O?B.ei:B.ei.slice(0,B.xE),ew=D?B.LZ:B.LZ.slice(0,B.xE),ej=U?B.m0:B.m0.slice(0,B.xE),eT=(0,k.$6)(T),eN=es.toLocaleString(),ek=(0,k.fq)(a,"arcade.showGamesWithCount",`Show games (${eN})`).replace("{{count}}",eN),eL=e=>(0,k.fq)(a,e.labelKey,e.fallbackLabel),eC=(0,o.useMemo)(()=>({...v,ids:void 0,name:void 0,providerIds:[],attributes:[],gameTypes:[{name:"Slots"}],pageNumber:1,pageSize:1,sortingFields:v.sortingFields??{searchVolume:"desc"}}),[v]),eS=(0,o.useMemo)(()=>{let e;return{...v,ids:void 0,name:T.name,providerIds:T.providerIds.filter(Boolean),attributes:(e=T.attributes,e?.map(e=>{let t={...e};return delete t.filterId,t})),gameTypes:T.gameTypeCategories?.length?T.gameTypeCategories.filter(({name:e,categoryName:t})=>e&&t).map(({name:e,categoryName:t})=>({name:e,category:{name:t}})):T.gameTypes.filter(Boolean).map(e=>({name:e})),pageNumber:1,pageSize:1,sortingFields:v.sortingFields??{searchVolume:"desc"}}},[v,T]);(0,o.useEffect)(()=>{if(!e)return;let t=!0,a=window.setTimeout(async()=>{try{let e=await w(eS);t&&en(e.pagination.rowsFound??0)}catch{t&&en(0)}},250);return()=>{t=!1,window.clearTimeout(a)}},[eS,e,w]),(0,o.useEffect)(()=>{if(!e)return;let t=!0;return(async()=>{try{let e=await w(eC);t&&Z(e.games[0])}catch{t&&Z(void 0)}})(),()=>{t=!1}},[e,eC,w]);let eA=(0,o.useCallback)(e=>{if(!em)return!1;let t=(0,k.JL)(e);return![em.id,em.name].some(e=>(0,k.JL)(e)===t)},[em]),eF=(0,o.useCallback)(e=>{var t;let a=eA(e.id);t=e.name,(0,p.N)({componentName:"Filter Chips",componentOption:"Advanced Filters Arcade Modal::CategoryQuickLinks",componentValue:t,componentType:"Button",interactionType:"Click",componentLocation:f.D.NOT_APPLICABLE}),Q(e.id),N(t=>({...t,name:void 0,attributes:a?[]:t.attributes,gameTypes:[e.id],gameTypeCategories:[]}))},[eA]),eB=(0,o.useCallback)((e,t)=>{var a;let l;a=z(e)?_(e):e.name,l=V(t.analyticsLabel),(0,p.N)({componentName:"Filter Chips",componentOption:`Advanced Filters Arcade Modal::Category${l}::GameType`,componentValue:a,componentType:"Button",interactionType:"Click",componentLocation:f.D.NOT_APPLICABLE});let r=e.gameTypeName;if(!r)return;let s=eA(r);Q(r),N(t=>{if(z(e)){let a=_(e),l=(0,k.JL)(r),n=(0,k.JL)(a),i=new Set(eu.filter(z).filter(e=>e.gameTypeName&&(0,k.JL)(e.gameTypeName)===l).map(_).map(k.JL)),o=t.gameTypes.filter(e=>i.has((0,k.JL)(e))),c=o.some(e=>(0,k.JL)(e)===n)?o.filter(e=>(0,k.JL)(e)!==n):[...o,a],d=s?[]:t.gameTypes.filter(e=>{let t=(0,k.JL)(e);return t!==l&&!i.has(t)});return{...t,name:void 0,attributes:s?[]:t.attributes,gameTypes:Array.from(new Set(c.length?[...d,...c]:[...d,r])),gameTypeCategories:[]}}let a=t.gameTypeCategories?.some(t=>t.name===r&&t.categoryName===_(e)),l=s?[]:t.gameTypeCategories??[],n=a?l.filter(t=>t.name!==r||t.categoryName!==_(e)):[...l.filter(e=>e.name!==r),{name:r,categoryName:_(e)}],i=s?[]:t.gameTypes.filter(e=>(0,k.JL)(e)!==(0,k.JL)(r));return{...t,attributes:s?[]:t.attributes,name:void 0,gameTypes:n.some(e=>
1e.name===r)?i:[...i,r],gameTypeCategories:n}})},[eu,eA]),eP=(0,o.useCallback)(e=>{N(t=>{var a;let l,r;return{...t,name:void 0,attributes:(a=t.attributes,l=a??[],r=J(e),$(l,e)?l.filter(e=>e.filterId!==r):[...l.filter(e=>e.filterId!==r),...e.attributes.map(e=>({...e}))])}})},[]),eI=(0,o.useCallback)((e,t)=>{let a,l=$(T.attributes,e);a="",a=e.attributes[0]?.attributeType??"",(0,p.N)({componentName:t.analyticsLabel,componentValue:(l?"Uncheck":"Check")??"",componentType:"Button",interactionType:"Click",componentLocation:f.D.NOT_APPLICABLE,componentOption:a}),eP(e)},[T.attributes,eP]),ez=(0,o.useCallback)((e,t)=>{let a,l;a="Checkbox"===t.inputType?"Filter Checkboxes":"Filter Chips",l=V(t.optionCategory??""),(0,p.N)({componentName:a,componentOption:`Advanced Filters Arcade Modal::Category${l}::${t.analyticsLabel}`,componentLocation:f.D.NOT_APPLICABLE,componentType:t.inputType,componentValue:e.fallbackLabel??"",interactionType:"Click"}),eP(e)},[eP]),e_=(0,o.useCallback)(()=>{H(!1),K(!1),W(!1),N(e=>{let t=em?.id,a=e.gameTypes.some(e=>eg.has((0,k.JL)(e))),l=e.gameTypes.some(e=>eh.has((0,k.JL)(e))),r=e.gameTypeCategories?.some(e=>eg.has((0,k.JL)(e.name))),s=!!(t&&(a||l||r)),n=e.gameTypes.filter(e=>{let t=(0,k.JL)(e);return!eg.has(t)&&!eh.has(t)}),i=s?Array.from(new Set([...n,t])):n;return{...e,attributes:[],gameTypes:i,gameTypeCategories:e.gameTypeCategories?.filter(e=>!eg.has((0,k.JL)(e.name)))}})},[em?.id,eh,eg]),eM=e=>$(T.attributes,e),eR=em?G(em)?s.slotsAdvancedFilter:em.name:s.slotsAdvancedFilter;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(u.Modal.Root,{isOpen:e,onClose:t,fullWidth:n,renderWhenClosed:!1,autoFocusDisabled:!0,className:"w-full md:w-[480px] lg:w-[960px] max-h-[100dvh] md:max-h-[90vh]",children:[(0,l.jsxs)(u.Modal.Header,{className:"relative h-[52px] shrink-0 px-2-5 py-2-5 md:h-20 md:px-6 border-transparent",children:[(0,l.jsxs)("div",{className:"flex items-center gap-x-section-xs md:gap-x-section-sm",children:[(0,l.jsx)(u.Icon,{"aria-hidden":"true",name:"icons-corg-font/filter-set",size:n?14:16,className:"text-fg-default"}),(0,l.jsx)(u.Typography,{as:"h3",className:"text-md font-semibold md:text-xl md:font-bold",children:n?s.filterGamesMobile:s.filterGames})]}),(0,l.jsx)(F.O,{isMobile:n,onClick:t,"aria-label":s.close,className:"ml-auto text-fg-default","data-aac-tracker":"ArcadeAdvancedFiltersModalClose::Click"}),(0,l.jsx)("div",{"aria-hidden":"true",className:"absolute bottom-0 left-4 right-4 h-[1px] bg-s-default md:left-0 md:right-0"})]}),(0,l.jsxs)(u.Modal.Body,{className:"min-h-0 flex flex-col gap-section-lg border-b-0 bg-bg-default p-2-5 md:p-4xl",children:[y?(0,l.jsx)(u.Typography,{as:"p",className:"text-sm text-fg-error-dark",children:s.noFiltersAvailable}):null,(0,l.jsx)(ee,{game:X,title:s.mostPopularGame,ctaLabel:s.playNow,onPlay:e=>{var a;a=e.name,(0,p.N)({componentName:"Advanced Filters Arcade Modal::Popular Game Banner",componentOption:a,componentValue:"Play Now!",componentType:"Banner",interactionType:"Click",componentLocation:f.D.NOT_APPLICABLE}),er(e),t()}}),(0,l.jsx)(ec,{labels:s,getLabel:eL,isAdvancedOptionSelected:eM,onAdvancedOptionToggle:eI}),(0,l.jsxs)("div",{className:"flex flex-col gap-section-sm",children:[(0,l.jsx)(el,{labels:s,categoryOptions:eo,isCategorySelected:e=>!!(em&&((0,k.JL)(em.id)===(0,k.JL)(e.id)||(0,k.JL)(em.name)===(0,k.JL)(e.name))),onCategoryToggle:eF}),(0,l.jsx)(ea,{labels:s,selectedCategory:em,selectedCategoryTitle:eR,categoryChildOptions:eu,hasPanelFilters:ex,visibleBonusFeatureOptions:ev,visibleGameMechanicOptions:ew,visibleThemeOptions:ej,showAllBonusFeatures:O,showAllGameMechanics:D,showAllThemes:U,onShowAllBonusFeaturesChange:e=>{P("BonusFeature",e),H(e)},onShowAllGameMechanicsChange:e=>{P("GameMechanic",e),K(e)},onShowAllThemesChange:e=>{P("Theme",e),W(e)},onTooltipHover:e=>{I(e,"Hover")},onTooltipClick:e=>{I(e,"Click")},getLabel:eL,isGameTypeCategorySelected:e=>!!(e.gameTypeName&&(z(e)?T.gameTypes.some(t=>(0,k.JL)(t)===(0,k.JL)(_(e))):T.gameTypeCategories?.some(t=>t.name===e.gameTypeName&&t.categoryName===_(e)))),isAdvancedOptionSelected:eM,onGameTypeCategoryToggle:eB,onAdvancedOptionToggle:ez,onResetDraft:e_})]}),(0,l.jsx)(ei,{labels:s,providers:g,visibleProviders:ey,filteredProviders:ep,providerSearch:L,showAllProviders:A,selectedProviderIds:T.providerIds,setProviderSearch:S,onShowAllProvidersChange:e=>{P("GameProviders",e),R(e)},onProviderToggle:(e,t)=>
1{let a=T.providerIds.includes(e);(0,p.N)({componentName:"Advanced Filters Arcade Modal::GameProviders",componentOption:t,componentValue:a?"Uncheck":"Check",componentType:"Button",interactionType:"Click",componentLocation:f.D.NOT_APPLICABLE}),N(t=>{let a;return{...t,name:void 0,providerIds:(a=t.providerIds,a.includes(e)?a.filter(t=>t!==e):[...a,e])}})}})]}),(0,l.jsx)(u.Modal.Footer,{className:"shrink-0 border-t-sm border-s-light bg-bg-default p-2-5 md:p-2-5",children:(0,l.jsxs)("div",{className:"flex w-full flex-col gap-section-xs md:flex-row md:items-center",children:[(0,l.jsx)(u.Button,{type:"button",intent:"ghost","aria-label":s.resetAllFilters,onClick:()=>{Q(void 0),N(k.sn)},disabled:0===eT,className:"w-full !text-fg-default disabled:!text-fg-disabled max-h-12",icon:(0,l.jsx)(u.Icon,{name:"icons-corg-font/refresh-arrow",size:16,className:"text-current"}),"data-aac-tracker":"Advanced Filters Arcade Modal::Reset Filters",children:s.resetAllFilters}),(0,l.jsx)(u.Button,{type:"button",intent:"primary",onClick:()=>{j(eT>0?"custom":"all"),c(T),t()},className:"w-full max-h-12","data-aac-tracker":"Advanced Filters Arcade Modal::Show Games",children:ek})]})})]}),et?(0,l.jsx)(ed,{game:et,onClose:()=>{er(null)},gameImageSrc:et.imageHash}):null]})};var eu=a(44705);let ef=e=>{let t,a,s,p,g,h,b,T,A,F,B,P,I,z,_,M,R,J,q,O,E,G,$,V,H,D,K,U,W,Y,Q,X,Z,ee,et,ea,el,er,es,en,ei,eo,ec,ed=(0,r.c)(91),{quickFilterChipOrder:ef}=e,eh=void 0===ef?N.dv:ef,{t:eb}=(0,d.B)(),{isMobile:ex}=(0,C.A)(),ey=(0,i.usePathname)(),ev=(0,o.useRef)(null),ew=(0,o.useRef)(null),{providers:ej,gameTypes:eT,filters:eN,setFilters:ek,activeFilterCount:eL,isErrorState:eC,defaultOptions:eS,showFilters:eA,quickFilterMode:eF,setQuickFilterMode:eB,quickFilterSearchValue:eP,setQuickFilterSearchValue:eI,pageDefaultFilters:ez}=(0,m.x3)("providers","gameTypes","filters","setFilters","activeFilterCount","isErrorState","defaultOptions","showFilters","quickFilterMode","setQuickFilterMode","quickFilterSearchValue","setQuickFilterSearchValue","pageDefaultFilters"),[e_,eM]=(0,o.useState)(eP),[eR,eJ]=(0,o.useState)(!1),eq=L(ev,`${eT.length}:${ej.length}`);ed[0]!==ek?(s=n()(e=>{ek({name:""!==e?e:void 0})},600),ed[0]=ek,ed[1]=s):s=ed[1];let eO=s;ed[2]===Symbol.for("react.memo_cache_sentinel")?(p=(0,f.T)(N.gQ),ed[2]=p):p=ed[2];let eE=p;ed[3]===Symbol.for("react.memo_cache_sentinel")?(g=(0,f.T)({componentName:"Advanced filters button",componentOption:"Advanced filters arcade",componentValue:"Filter",componentType:"Button",interactionType:"Click",componentLocation:f.D.NOT_APPLICABLE}),ed[3]=g):g=ed[3];let eG=g;ed[4]===Symbol.for("react.memo_cache_sentinel")?(h=n()(ep,1e3),ed[4]=h):h=ed[4];let e$=h;ed[5]!==eP?(b=()=>{eM(eP)},T=[eP],ed[5]=eP,ed[6]=b,ed[7]=T):(b=ed[6],T=ed[7]),(0,o.useEffect)(b,T),ed[8]!==eN.name||ed[9]!==eI?(A=()=>{if(ew.current!==eN.name){if(!eN.name){ew.current=null,eM(""),eI("");return}N._c.some(e=>e.query===eN.name)&&(ew.current=eN.name)}},F=[eN.name,eI],ed[8]=eN.name,ed[9]=eI,ed[10]=A,ed[11]=F):(A=ed[10],F=ed[11]),(0,o.useEffect)(A,F),ed[12]!==eO?(B=()=>()=>{eO.cancel(),e$.cancel()},P=[e$,eO],ed[12]=eO,ed[13]=B,ed[14]=P):(B=ed[13],P=ed[14]),(0,o.useEffect)(B,P);let eV=(0,k.Hk)(eS),eH=(0,k.$V)({gameTypes:eT,primaryGameTypeNames:eV}),eD=(0,k.s4)({defaultOptions:eS,gameTypes:eT}),eK=(0,k.RP)(ej),eU=(0,k.ub)({primaryGameType:eH,visibleGameTypes:eD,visibleProviders:eK}),eW=!eU||eC,eY=(e=>{let t,a,l,s,n,i=(0,r.c)(11),{storageKey:c,filters:d,setFilters:m,enabled:u}=e,f=void 0===u||u,p=(0,o.useRef)(!1),g=(0,o.useRef)(!1),[h,b]=(0,o.useState)(!1);i[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,eu.R)("sessionStorage"),i[0]=t):t=i[0];let x=t;return i[1]!==f||i[2]!==m||i[3]!==c?(a=()=>{if(!f)return void b(!0);if(p.current)return;p.current=!0;let e=(e=>{if(!e)return null;try{let t,a,l,r,s=JSON.parse(e);return{name:"string"==typeof s.name?s.name:void 0,providerIds:(t=s.providerIds,Array.isArray(t)&&t.every(e=>"number"==typeof e&&Number.isFinite(e)))?s.providerIds:[],gameTypes:(a=s.gameTypes,Array.isArray(a)&&a.every(e=>"string"==typeof e))?s.gameTypes:[],gameTypeCategories:(l=s.gameTypeCategories,Array.isArray(l)&&l.every(e=>"object"==typeof e&&null!==e&&"name"in e&&"categoryName"in e&&"string"==typeof e.name&&"string"==typeof e.categoryName))?s.gameTypeCategories:[],attributes:(r=s.attributes,Array.isArray(r)&&r.every(e=>"object"==typeof e&&null!==e&&"attributeType"in e&&"value"in e&&"string"==typeof e.attributeType&&"string"==typeof e.value&&(!("comparisonOperator"in e)||void 0===e.comparisonOperator||"string"==typeof e.comparisonOperator)&&(!("logicalOperator"in e)||void 0===e.logicalOperator||"string"==typeof e.logicalOperator)&&(!("filterId"in e)||void 0===e.filterId||"string"==typeof e.filterId)))?s.attributes:[]}}catch{return null}})(x.getItem(c));e&&(g.current=!0,m(e)),b(!0)},l=[f,m,x,c],i[1]=f,i[2]=m,i[3]=c,i[4]=a,i[5]=l):(a=i[4],l=i[5]),(0,o.useEffect)(a,l),i[6]!==f||i[7]!==d||i[8]!==c?(s=()=>
1{if(f&&p.current){if(g.current){g.current=!1;return}x.setItem(c,JSON.stringify((0,k.n$)(d)))}},n=[f,d,x,c],i[6]=f,i[7]=d,i[8]=c,i[9]=s,i[10]=n):(s=i[9],n=i[10]),(0,o.useEffect)(s,n),h})({storageKey:(t=ey??"arcade",a=JSON.stringify({showFilters:eA,gameTypes:eS?.gameTypes?.map(e=>e.name)??[],pageSize:eS?.pageSize}),`arcade-filters-${encodeURIComponent(t)}-${encodeURIComponent(a)}`),filters:eN,setFilters:ek,enabled:eU})?eL:0,eQ=()=>{let e=eN.name&&N._c.some(e=>e.query===eN.name);return ew.current||e?(ew.current=null,{name:void 0}):{}};ed[15]!==eT?(I=e=>{if(!e.length)return[];let t=(0,k.Od)(eT,e);return[t?.id??e[0]]},ed[15]=eT,ed[16]=I):I=ed[16];let eX=I,eZ=()=>{("all"!==eF||0!==eL)&&((0,k.uH)("All Games"),eB("all"),ek({...eQ(),providerIds:[],gameTypes:[],gameTypeCategories:[],attributes:[]}))},e0=eg;ed[17]===Symbol.for("react.memo_cache_sentinel")?(z=()=>{e0(!0),ev.current&&ev.current.scrollBy({left:(0,k.Rt)(ev.current),behavior:"smooth"})},ed[17]=z):z=ed[17];let e1=z;ed[18]===Symbol.for("react.memo_cache_sentinel")?(_=()=>{e0(!1),ev.current&&ev.current.scrollBy({left:-(0,k.Rt)(ev.current),behavior:"smooth"})},ed[18]=_):_=ed[18];let e2=_;ed[19]!==eW?(M=()=>{eW||(eG(),eJ(!0))},ed[19]=eW,ed[20]=M):M=ed[20];let e4=M;ed[21]===Symbol.for("react.memo_cache_sentinel")?(R=()=>{eJ(!1)},ed[21]=R):R=ed[21];let e5=R;ed[22]===Symbol.for("react.memo_cache_sentinel")?(J=e=>{let t=ev.current;if(!t||"function"!=typeof t.scrollBy)return;let a=t.getBoundingClientRect(),l=e.getBoundingClientRect(),r=l.left-a.left-48,s=l.right-a.right+48;r<0?t.scrollBy({left:r,behavior:"smooth"}):s>0&&t.scrollBy({left:s,behavior:"smooth"})},ed[22]=J):J=ed[22];let e3=J;ed[23]===Symbol.for("react.memo_cache_sentinel")?(q=(e,t)=>{if(!t){if("function"==typeof window.requestAnimationFrame)return void window.requestAnimationFrame(()=>e3(e));window.setTimeout(()=>e3(e),0)}},ed[23]=q):q=ed[23];let e6=q;ed[24]!==eO||ed[25]!==eI?(O=e=>{let t=e.target.value;ew.current=null,eO(t),eM(t),eI(t),t&&e$(t)},ed[24]=eO,ed[25]=eI,ed[26]=O):O=ed[26];let e7=O;ed[27]!==eO||ed[28]!==eI?(E=()=>{ew.current=null,eM(""),eI(""),eO("")},ed[27]=eO,ed[28]=eI,ed[29]=E):E=ed[29];let e8=E;ed[30]!==ex||ed[31]!==eb?(G=(0,k.hZ)(eb,ex),ed[30]=ex,ed[31]=eb,ed[32]=G):G=ed[32];let e9=G,te="all"!==eF;ed[33]!==eW?($=e=>(0,c.cn)(e,N.ET,N.RH,{"cursor-not-allowed bg-bg-disabled text-fg-disabled shadow-none":eW}),ed[33]=eW,ed[34]=$):$=ed[34];let tt=$;ed[35]===Symbol.for("react.memo_cache_sentinel")?(V=()=>{let e=ev.current;if(e){if("function"==typeof e.scrollTo)return void e.scrollTo({left:0,behavior:"smooth"});e.scrollLeft=0}},ed[35]=V):V=ed[35];let ta=V;ed[36]!==ex?(H=()=>{if(!ex)return;let e=()=>{let e=ev.current?.querySelector('button[aria-pressed="true"]');e&&e3(e)};"function"==typeof window.requestAnimationFrame?window.requestAnimationFrame(e):window.setTimeout(e,0)},ed[36]=ex,ed[37]=H):H=ed[37];let tl=H;ed[38]===Symbol.for("react.memo_cache_sentinel")?(D=()=>(window.addEventListener(N.RL,ta),()=>{window.removeEventListener(N.RL,ta)}),K=[ta],ed[38]=D,ed[39]=K):(D=ed[38],K=ed[39]),(0,o.useEffect)(D,K),ed[40]!==tl?(U=()=>(window.addEventListener(N.Xk,tl),()=>{window.removeEventListener(N.Xk,tl)}),W=[tl],ed[40]=tl,ed[41]=U,ed[42]=W):(U=ed[41],W=ed[42]),(0,o.useEffect)(U,W),ed[43]!==eW||ed[44]!==e4||ed[45]!==eR||ed[46]!==e9.filterButton||ed[47]!==eY?(Y=()=>{let e=eY>0?`${e9.filterButton} (${eY})`:e9.filterButton;return(0,l.jsxs)("div",{className:"order-1 relative shrink-0 md:order-3",children:[(0,l.jsxs)(u.Button,{intent:"primary",type:"button","aria-label":e,"aria-haspopup":"dialog","aria-expanded":eR,disabled:eW,onClick:e4,className:(0,c.cn)("h-12 min-w-12 px-0 lg:min-w-[97px] lg:px-2-5","shrink-0 rounded-md bg-bg-brand-primary text-sm font-bold text-fg-on-dark-default shadow-bottom-sm transition md:text-md","hover:bg-bg-brand-hover focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-s-brand",{"cursor-not-allowed bg-bg-disabled text-fg-disabled shadow-none":eW}),children:[(0,l.jsx)(u.Icon,{name:"icons-corg-font/filter-set",size:16}),(0,l.jsx)(u.Typography,{as:"span",size:"md",bold:!0,className:"hidden lg:inline",children:e9.filterButton})]}),eY>0?(0,l.jsx)("span",{className:"absolute -right-1 -top-1 flex size-5 items-center justify-center rounded-round border-sm border-s-brand bg-fg-error-default text-xs font-regular leading-lg text-fg-on-dark-default",children:eY}):null]})},ed[43]=eW,ed[44]=e4,ed[45]=eR,ed[46]=e9.filterButton,ed[47]=eY,ed[48]=Y):Y=ed[48];let tr=Y,ts=e9.searchBy,tn=e9.searchPlaceholder;return ed[49]!==e_?(Q=(0,c.cn)({"text-fg-default":e_}),ed[49]=e_,ed[50]=Q):Q=ed[50],ed[51]!==Q?(X=(0,l.jsx)(u.Icon,{name:"icons-corg-font/search",size:16,className:Q}),ed[51]=Q,ed[52]=X):X=ed[52],ed[53]!==e7||ed[54]!==eC||ed[55]!==e9.searchBy||ed[56]!==e9.searchPlaceholder||ed[57]!==e_||ed[58]!==X?(Z=(0,l.jsx)(u.Input,{"aria-label":ts,placeholder:tn,icon:X,iconPosition:"left",inputSize:"lg",value:e_,onInput:e7,onClick:eE,disabled:eC}),ed[53]=e7,ed[54]=eC,ed[55]=e9.searchBy,ed[56]=e9.searchPlaceholder,ed[57]=e_,ed[58]=X,ed[59]=Z):Z=ed[59],ed[60]!==e8||ed[61]!==e9.clearSearch||ed[62]!==e_?(ee=e_?(0,l.jsx)(u.Button,{intent:"mute",type:"button",onClick:e8,"aria-label":e9.clearSearch,className:"absolute right-2 top-2",size:"small",children:(0,l.jsx)(u.Icon,{name:"icons-corg-font/close-tiny",size:16})}):null,ed[60]=e8,ed[61]=e9.clearSearch,ed[62]=e_,ed[63]=ee):ee=ed[63],ed[64]!==Z||ed[65]!==ee?(et=(0,l.jsx)("div",{className:"-mt-[156px] lg:-mt-[180px] max-w-full md:max-w-md xl:max-w-lg mx-auto w-full",children:(0,l.jsx)("div",{className:"flex justify-between items-center pb-[28px] gap-section-sm max-w-[510px] mx-auto",children:(0,l.jsxs)("div",{className:"grow relative",children:[Z,ee]})})}),ed[64]=Z,ed[65]=ee,ed[66]=et):et=ed[66],ed[67]!==tr?(ea=tr(),ed[67]=tr,ed[68]=ea):ea=ed[68],ed[69]!==eq.canScrollLeft||ed[70]!==eW||ed[71]!==e9.showPreviousFilters||ed[72]!==tt?(el=eq.canScrollLeft?(0,l.jsx)(u.Button,{intent:"mobileNavigationMute",type:"button","aria-label":e9.showPreviousFilters,disabled:eW,onClick:e2,className:tt("order-1"),children:(0,l.jsx)(u.Icon,{name:"icons-corg-font/arrow-left",size:16,className:"min-w-4 min-h-4"})}):null,ed[69]=eq.canScrollLeft,ed[70]=eW,ed[71]=e9.showPreviousFilters,ed[72]=tt,ed[73]=el):el=ed[73],ed[74]===Symbol.for("react.memo_cache_sentinel")?(er=(0,l.jsx)(y,{}),ed[74]=er):er=ed[74],ed[75]!==eq.canScrollLeft?(es=eq.canScrollLeft?(0,l.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute left-0 top-0 z-10 h-12 w-[45px] bg-[linear-gradient(270deg,rgba(255,255,255,0)_0%,#FFF_100%)]"}):null,ed[75]=eq.canScrollLeft,ed[76]=es):es=ed[76],ed[77]!==eq.canScrollRight?(en=eq.canScrollRight?(0,l.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute right-0 top-0 z-10 h-12 w-[45px] bg-gradient-to-r from-transparent to-bg-default"}):null,ed[77]=eq.canScrollRight,ed[78]=en):en=ed[78],ed[79]!==eq.canScrollRight||ed[80]!==eW||ed[81]!==e1||ed[82]!==e9.showMoreFilters||ed[83]!==tt?(ei=eq.canScrollRight?(0,l.jsx)(u.Button,{intent:"mobileNavigationMute",type:"button","aria-label":e9.showMoreFilters,disabled:eW,onClick:e1,className:tt("order-2"),children:(0,l.jsx)(u.Icon,{name:"icons-corg-font/arrow-right",size:16,className:"min-w-4 min-h-4"})}):null,ed[79]=eq.canScrollRight,ed[80]=eW,ed[81]=e1,ed[82]=e9.showMoreFilters,ed[83]=tt,ed[84]=ei):ei=ed[84],ed[85]!==eU||ed[86]!==e9.noFiltersAvailable?(eo=eU?null:(0,l.jsx)(u.Typography,{as:"p",className:"text-sm text-fg-light",children:e9.noFiltersAvailable}
1),ed[85]=eU,ed[86]=e9.noFiltersAvailable,ed[87]=eo):eo=ed[87],ed[88]!==e5||ed[89]!==eR?(ec=(0,l.jsx)(em,{isOpen:eR,onClose:e5}),ed[88]=e5,ed[89]=eR,ed[90]=ec):ec=ed[90],(0,l.jsxs)("div",{className:"relative z-10 flex flex-col gap-section-xs pb-1-5 w-full",children:[et,(0,l.jsxs)("div",{className:"relative left-2/4 flex h-20 w-screen -translate-x-1/2 items-center gap-section-md overflow-hidden bg-bg-default px-2-5 py-2-5 shadow-bottom-lg lg:left-auto lg:mx-auto lg:max-w-full lg:translate-x-0 lg:rounded-lg",children:[ea,el,(0,l.jsxs)("div",{className:"order-2 relative flex min-w-0 flex-1 items-center overflow-hidden md:order-1",children:[(0,l.jsxs)("div",{ref:ev,className:"flex h-12 w-full gap-section-xs overflow-x-auto overflow-y-hidden scroll-smooth [&::-webkit-scrollbar]:hidden [-ms-overflow-style:none] [scrollbar-width:none]",role:"group","aria-label":e9.filterButton,children:[eH?(0,l.jsx)(S,{selected:"default"===eF,disabled:eW,ariaLabel:eH.name,onClick:e=>{"default"===eF?eZ():((0,k.uH)(eH?eH.name:"All Games"),eB("default"),ek({...eQ(),providerIds:ez.providerIds,gameTypes:ez.gameTypes,gameTypeCategories:ez.gameTypeCategories,attributes:ez.attributes})),e6(e.currentTarget,"default"===eF)},leading:(0,l.jsx)(x,{iconName:(0,k.Xe)(eH.name),iconSrc:(0,k.C5)(eH.name)}),className:"min-w-fit",children:(0,k.$d)(eb,eH.name)}):null,(0,l.jsx)(S,{selected:!te,disabled:eW,ariaLabel:e9.allGames,onClick:e=>{eZ(),e6(e.currentTarget,!te)},leading:er,children:e9.allGames}),eh.map(e=>(e=>{switch(e.type){case"provider":return(e=>{let t=eK.find(t=>t.key===e);if(!t)return null;let{provider:a}=t,r=Number(a.id),s=eN.providerIds.includes(r),n=(0,k.fq)(eb,t.labelKey,t.fallbackLabel);return(0,l.jsx)(S,{selected:s,disabled:eW,ariaLabel:n,onClick:e=>{var l,n;l=a.name,n=t.gameTypeAliases,eN.providerIds.includes(r)?eZ():((0,k.ZW)(l),eB("custom"),ek({...eQ(),providerIds:[r],gameTypes:eX(n),gameTypeCategories:[],attributes:[]})),e6(e.currentTarget,s)},leading:"logoSrc"in t&&t.logoSrc?(0,l.jsx)(j,{src:t.logoSrc,name:n}):a.imageHash?(0,l.jsx)(w,{imageHash:a.imageHash,name:a.imageAlt??a.name}):(0,l.jsx)(v,{name:a.name}),className:"min-w-min",children:n},`quick-provider-${a.id}`)})(e.key);case"game-type":return(e=>{let t=eD.find(t=>t.key===e);if(!t)return null;let{option:a}=t,r=eN.gameTypes.includes(a.id),s=(0,k.fq)(eb,t.labelKey,t.fallbackLabel);return(0,l.jsx)(S,{selected:r,disabled:eW,ariaLabel:s,onClick:e=>{var l,s;let n,i;l=a.id,n=void 0===(s=t.trackingValue)?l:s,i=eN.gameTypes.includes(l),((0,k.uH)(i?"All Games":n),i)?eZ():(eB("custom"),ek({...eQ(),gameTypes:[l],providerIds:[],gameTypeCategories:[],attributes:[]})),e6(e.currentTarget,r)},leading:(0,l.jsx)(x,{iconName:(0,k.Xe)(a.name),iconSrc:t.iconSrc}),className:"min-w-[150px] md:min-w-[166px]",children:s},`quick-game-type-${t.key}`)})(e.key);case"attribute":return(e=>{let t=N.Ey.find(t=>t.key===e);if(!t)return null;let a=!!(0,k.gR)(eN,t.attribute),r=(0,k.fq)(eb,t.labelKey,t.fallbackLabel);return(0,l.jsx)(S,{selected:a,disabled:eW,ariaLabel:r,onClick:e=>{var l,r;let s;l=t.attribute,r=t.trackingValue,s=(0,k.gR)(eN,l),((0,k.uH)(s?"All Games":r),s)?eZ():(eB("custom"),ek({...eQ(),providerIds:[],gameTypes:[],gameTypeCategories:[],attributes:[l]})),e6(e.currentTarget,a)},leading:(0,l.jsx)(x,{iconSrc:t.iconSrc}),className:"min-w-[150px] md:min-w-[166px]",children:r},`quick-attribute-${t.key}`)})(e.key);case"category":return(e=>{let t=N.GN.find(t=>t.key===e);if(!t)return null;let a=!!(0,k.YJ)(eN,t),r=(0,k.fq)(eb,t.labelKey,t.fallbackLabel);return(0,l.jsx)(S,{selected:a,disabled:eW,ariaLabel:r,onClick:e=>{let l;l=eN.gameTypeCategories?.some(e=>e.name===t.gameTypeName&&e.categoryName===t.categoryName),((0,k.uH)(l?"All Games":t.trackingValue),l)?eZ():(eB("custom"),ek({...eQ(),providerIds:[],gameTypes:[],gameTypeCategories:[{name:t.gameTypeName,categoryName:t.categoryName}],attributes:[]})),e6(e.currentTarget,a)},leading:(0,l.jsx)(x,{iconSrc:t.iconSrc}),className:"min-w-[150px] md:min-w-[166px]",children:r},`quick-game-type-category-${t.key}`)})(e.key);case"search":return(e=>{let t=N._c.find(t=>t.key===e);if(!t)return null;let a=eN.name===t.query,r=(0,k.fq)(eb,t.labelKey,t.fallbackLabel);return(0,l.jsx)(S,{selected:a,disabled:eW,ariaLabel:r,onClick:e=>{var l,r;let s;l=t.query,r=t.trackingValue,s=eN.name===l?void 0:l,((0,k.uH)(s?r:"All Games"),eO.cancel(),ew.current=s??null,s)?(eB("custom"),ek({name:s,providerIds:[],gameTypes:[],gameTypeCategories:[],attributes:[]})):eZ(),e6(e.currentTarget,a)},leading:(0,l.jsx)(x,{iconSrc:t.iconSrc}),className:"min-w-[150px] md:min-w-[166px]",children:r},`quick-hidden-search-${t.key}`)}
1)(e.key)}})(e))]}),es,en]}),ei]}),eo,ec]})};function ep(e){(0,k.aA)(e)}function eg(e){(0,p.N)({componentName:"Filter Chips",componentOption:e?"Scroll Right":"Scroll Left",componentValue:e?"Right":"Left",componentType:"Button",interactionType:"Click",componentLocation:f.D.NOT_APPLICABLE})}},44705:(e,t,a)=>{a.d(t,{R:()=>l});function l(e){let t,a=window[e];return function(e){if(!e)return!1;try{let t=`__probe_${Math.random().toString(36).slice(2)}`;return e.setItem(t,"1"),e.removeItem(t),!0}catch{return!1}}(a)?a:(t=new Map,{getItem:e=>t.has(e)?t.get(e)??null:null,setItem:(e,a)=>{t.set(e,a)},removeItem:e=>{t.delete(e)}})}}}]);

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.