PageSourceSearch

https://main.assets.gameloft.com/static/assets/Header-DZdi_CDk.js

js gameloft.com collected 2026-10-01 09:00:50 UTC 143,035 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Signup-CqddVoam.js","assets/components-M8hx6BVO.js","assets/gsap-ByPAgKVh.js","assets/constants-C56_QoRZ.js","assets/FormBuilder-ud7MRK_J.js","assets/FormBuilder-DfFIGBV4.css","assets/useConsentScope-TBoLHbAF.js","assets/_flatRest-DiK_SNEr.js","assets/Signup-XmKCXBV6.css"])))=>i.map(i=>d[i]);
2import{r as a,j as s,L as _e,R as Q,a as le,d as Ye,N as yt}from"./components-M8hx6BVO.js";import{S as te,f as x,e as Je,aF as kt,aG as Nt,I as At,aw as St,aH as Et,K as Qe,g as Pe,N as Lt,aI as Es,h as Mt,i as Ls,J as Tt,L as Ms,aJ as Ts,d as Ps,aK as Is,aL as Rs,aM as Os,aN as Bs,u as Pt,ap as zs,t as we,aO as Ds,a8 as Hs,aP as Fs,aQ as Us,aR as Ws,aS as Gs,aT as It,a7 as ct,aU as Vs,aV as Rt,o as $e,aW as Ot,aX as Ie,j as Zs,aY as Ys,M as Js,aZ as Qs,av as $s,a_ as Xs,a$ as Ks,b0 as qs,ad as Xe,F as en,Z as tn,B as sn}from"./constants-C56_QoRZ.js";import{g as ae,m as _,_ as nn,b as ze,C as on,n as re,A as B,s as oe,c as J,D as rn,G as ln,N as ve,h as T,L as an,q as cn,r as Ke,y as Ue,x as dt,B as I,u as dn,F as hn,e as un,z as mn,R as gn}from"./FormBuilder-ud7MRK_J.js";import{g as j,S as fn,d as qe,D as Bt}from"./gsap-ByPAgKVh.js";import{t as pn,e as Re,a as se,h as xn,b as $,u as ye,f as wn,d as vn}from"./_flatRest-DiK_SNEr.js";const bn=()=>{const[t,e]=a.useState(!0);return a.useEffect(()=>{const n=()=>{e(!document.hidden)};return window.document.addEventListener("visibilitychange",n),window.document.removeEventListener("visibilitychange",n)}),t},Cn=(t,{onEnter:e,onLeave:n,...i})=>{a.useEffect(()=>{if(!t)return;const o=typeof t=="string"?document.querySelector(t):t.current||t;if(o instanceof Element)return e&&o.addEventListener("mouseenter",e),n&&o.addEventListener("mouseleave",n),()=>{e&&o.removeEventListener("mouseenter",e),n&&o.removeEventListener("mouseleave",n)}},[t,e,n])},jn=t=>{const e=a.useRef();return a.useEffect(()=>{e.current=t},[t]),e.current};var _n=1/0,yn=17976931348623157e292;function kn(t){if(!t)return t===0?t:0;if(t=pn(t),t===_n||t===-1/0){var e=t<0?-1:1;return e*yn}return t===t?t:0}const Nn=t=>{const e="toolbar=0, location=0, menubar=0, directories=0, resizable=yes, scrollbars=yes",n=window.top.outerWidth/2+window.top.screenX-300,i=window.top.outerHeight/2+window.top.screenY-300/2;window.open(t,"",`${e}, width=600, height=300, left=${n}, top=${i} `)},An=(t,e)=>{let n="";switch(t){case"facebook":n=`https://www.facebook.com/share.php?u=${e}`;break;case"twitter":n=`https://twitter.com/share?url=${e}`;break;case"linkedin":n=`https://www.linkedin.com/sharing/share-offsite/?url=${e}`;break}Nn(n)},ke=()=>{const{data:t}=te("common-text");return t},Sn="_icon_1bg8l_1",be={"icon-circle":"_icon-circle_1bg8l_1",icon:Sn,"fill-color":"_fill-color_1bg8l_56","fill-none":"_fill-none_1bg8l_60","layout-fill":"_layout-fill_1bg8l_72","layout-padding":"_layout-padding_1bg8l_83","size-small":"_size-small_1bg8l_90"},z=t=>{const{icon:e,component:n,className:i,href:o,classes:r,isLink:l,layout:c="padding",size:h="medium",fillMode:d="color",...u}=t,p=Je(o),w=l===void 0?!p:l,b=n||(o?w?_e:"a":"span"),f=p&&o?typeof window<"u"&&o.indexOf(window.location.hostname)>-1||/(gameloft\.com|gameloft\.org|gameloft\..*\.com)/.test(o)?void 0:{target:"_blank",rel:"noopener noreferrer"}:void 0;return s.jsx(b,{...w?{to:o}:{href:o},className:x(be["icon-circle"],be[`layout-${c}`],be[`size-${h}`],be[`fill-${d}`],i,r==null?void 0:r.root),...f,...u,children:Q.cloneElement(e,{className:x(be.icon,e.props.className)})})};j.registerPlugin(fn);const En=(t,e,n=.25)=>j.to(t.current||t,{duration:n,scrollTo:e}),Ln={"hide-up":{opacity:0},"active-down":{opacity:1,transition:{duration:.5,staggerChildren:.1,delayChildren:.3}}},Da={hidden:{y:100,opacity:0},show:t=>({y:0,opacity:1,transition:{ease:"easeOut",duration:1,delay:t.index%t.cardNumber/t.cardNumber+.5}})},Mn=(t,e=1,n="100%",i=0)=>{if(t){const o=`${e<0?"-":""}${n}`;j.fromTo(t,{autoAlpha:0,x:0,y:o},{duration:1.25,delay:i,x:0,y:0,overwrite:"auto",autoAlpha:1})}},Tn=t=>{t&&j.set(t,{autoAlpha:0})},zt=t=>a.createElement("svg",{width:22.205,height:22.205,viewBox:"0 0 22.205 22.205",...t},a.createElement("g",{transform:"translate(2.828 2.828)"},a.createElement("line",{x1:16.548,y1:16.548,fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:4}),a.createElement("line",{x1:16.548,y2:16.548,fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:4}))),Pn=Q.lazy(()=>nn(()=>import("./Signup-CqddVoam.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]))),De=se(!1),In=t=>{var o,r,l,c,h;const[e,n]=Re(De),i=()=>{n(!1)};return s.jsx(ae,{isOpen:e,portal:!1,onBackClick:()=>i(),onKeyEcs:()=>i(),children:s.jsxs(_.div,{className:"com-newsletter-popup__wrapper",variants:Ln,initial:"hide-up",animate:"active-down",children:[s.jsx(zt,{className:"com-newsletter-popup__close",onClick:()=>i()}),s.jsx("div",{className:"com-newsletter-popup__scroller",children:s.jsx(Pn,{background:(o=t.custom)==null?void 0:o.background,character:(r=t.custom)==null?void 0:r.character,api:(l=t.custom)==null?void 0:l.api,success:(c=t.custom)==null?void 0:c.success,failed:(h=t.custom)==null?void 0:h.failed,classes:{root:"com-newsletter-popup__container"}})})]})})},Rn=t=>a.createElement("svg",{width:23,height:23,viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},a.createElement("path",{d:"M11.4995 20.2085L11.4995 6.79183",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M4.7912 3.70801L18.2079 3.70801",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M4.79114 13.4999L11.4995 6.79159L18.2078 13.4999",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Dt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD4AAAA+CAYAAABzwahEAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAR0SURBVHgB5Zs7cNNAEIb/u5hHA7gEKtPQohAKurikgCGUVJgG6JKhogBih6E3JV1oqANDH6cnY9U0KE2gNENDEevYPcmOrUiOZOvOUvzNJHpYTvTrdvfu9lYCBnE2VBWXsSoF6gKo8ilFW9qvjV5H5zw659FuTym4PuCKPtzue3EAQwjkzPIbtSpYqMAaHTqYDZceSkcdoZ33Q8hFeNiyD5cEGnRYhxncvkLb3RKfkAMzC195q9aVQDM0ZeOwW/gKzVkfwNTCtUlLbEf91Rb8AJSPRved2MMUZBbOZi2vYJO+uIECQA+g7f9By22LXpbvZRLuvFI1eQG782rlJHTrH6GeJQDKtBeyaZPobtFEM3xPsgKX7zHtd1IJpwD2REp0bAWwKanyPfK9prn4VFPXf0hgG2VCobF/StSfKFybNz1FlBDfJ5+fEPEThYeBrFtw855Ezz+CkxTwYn1cd1lB9C6raKYqKujoUWUMscLDfrqGkqOjPWlJ+GycMvt1EnH+XolexMNQWOTSReDmVeD6iEH+/Rf8/PgdbGcl1HRj7NzogUNd15KlrosFP6sD951gP459D3i+jXxQ2KAu7sPgcMzHKWHQhAW4dT+/AB7fTRadO6RtNNANhXNr2wpoHxvANfv9hc4ZDA6GwsnErcy2HjhzEa0JEyUaLZwHK5g9TZSK+6f8Fw5o7Nv8w/s5Ux9MZHRUp8HKOiyxUos/f9gLAtmvTLPq7HA+kDZ7usWFuTzZGJMCWWvHvGgmTIJC2jTzScLZtC3h6CE5zuMWFowK5/qlpdYuEj75uSSbXzjhPOvkqG6sV91cGz+e5OPRa5lvrjHfdyqUoazlvo4U8iCDLcVdy8JNwOt3ssjz7jxmZnHoeToKjIGR25DCCjcpmims8EPTQ9fbm+qnLT/nefjXhDngnSaswUtOHNwsjJCLBVdfsKkb6jQKTU+qBWxxrrORvjpbqeQ0kJm7kn5PVVFQZvrnSbjb1JUEi+Tnbve1OND9ONn8DhYELh/jbSC8sjh+rs6hzVstvPtWryt1cPbRZs47x0NWVbKqh2lQQWszQ+
2F9iS842326N1oeMhSuo7uys3Y2FyLaTiRfVmjSAkOTFk49vbwX/1nLbL/i7bfE2DLxifVxfwkN2TcT6Dij0ppDx0kJ1afRcyfm4xzhuUwSZwTW8r0pOtHzsYkIyju3EBTOlx0v1HKC5HKvpqotKXRR5nKvc3AG/XaUxNQTRXmP/H0NJYX8+lGSaGZizk2P6NTxYnppoHuO8+tRUq0llKqeNUUdK5N6EWV5S61SN8edUVF9vsfmfVpLD8hWqB8EvF0Ub/XFo0BWn+TTUTLl1Tng9QWWi9TP873wPWURzUz/Mk5g+tuYX+t7PCJLa9pR8nj9igNfE/YegJ5MjVYpTkNuK8ThA+B1ElOFBh3OGfD0OcwTzkTuS+McAGnRfV0FlVSzv2JJ+UBJmeBpTToJUzUBGt0L8Iu0Pm6FJSfVsBChNnpd+FKtzvbyVgns9amF82jZJP4Dzex3VYh4gNEAAAAASUVORK5CYII=",Ht="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD4AAAA+CAYAAABzwahEAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAUWSURBVHgB5Zs9bNtGFMf/R9ESINSAWnVJ0A96cUYrW9tF6tKtSIpOnSQDiWtPdtGtLRB56awOgR0HReQpRbsoSNci1BIvLaKiU7xYBop2aVAFAWJIkHl572hFH6RkSaQsUvoBBsUjRfN/7+7du3cngUmSu5dArJmGtDIQMgEpUlSaoD+j584qpKxCoAaICoRWQZOOP944xoQQ8JubeyRUZqDhOp2l4I0K/Zk4jRT8rgR/hLNlo41rJDgHITKYDFwJBex9uQ8f8C785u4mPSZPT0rgQqAuwf/PYwWML5ybtJBFOPvrBUEVILUc7q6VMQajC7eb9S36tIUgYMkCmrFtFFdro3xtNOG5HQNR7RGmZuV+kPVP9cwoDlAb9kbVtBe0JwicaEYY0E4r6h2HZDjha3ey1J/Ni3NgY8Dvxu/I7zrU7edhP6iIcJE7z+sPFm57bhNhRFI8McDj9xfOjoz7dJCb9yAkhb9WJNXP4bn3cTVkkfcOq2iG3z3SNJUWF9yF2+O0gdAjDOj1W65XHCVh7tf9cOnvTovbYehsIaxib1G3cHvoMjBzCMOeTLXptXgeMwvN6DocXVu4T9ZeeSeJ9PIlJOJRBAr28pwzOEPvuORptmUk38Cjrz+l46I6r/73Avlf/8D+wSECAydKABXR2V7dnnUdwQNPvvscqXeTXWW1l3UsfXufjg0EhjMPbzf1qLYJj/SKZhLxGIy3FhEoOB+Idh/PwCNsXTf+PwmQtRmhkqAknJu592wotn4+cJTlH/6O42cvECgEaSXvriOmr1DeG15hJ1Y+/BfZD5fVOX82D/9BINHraZ1Ee7Z2iypZd5s8eeDRRIaHM1+Ev590d2KdTd3tnucn9dden8f/zPJlNSRyJVb+foYHlSp8h1Z19LOlHXilmM0gc+VSVxm//NI399vn33/h+F7+IY/1T3FPff+y4zrHA1u/HPhbAZZIaSTawBRpBT5uotX1txdR2vgE11IGfIOiOB7ODEyR3EdXXkd7gyhm036Gwcbw6eUJw3EAd41+8QAHQ9kPluEXgRBefPyUQtuflD9486t9FH77y/U+dnx+MXXh7LxW98tdluYh0c3yqfeS8AsWXsUUKf1ZdZTx8GZSADRBqix8pMU2v+k3c5vojE4KEi5kBfOGsGo8jk/V4tNBVMjimol5w5IkvK6PtaMg1MR0Em7vJJiffi5J6+0bx61xvIR5QcDkgy08IkzMCwuRAh9s4Tu0rjRr62VunDVz/tjOq0tRhIekY6lypCYZndROusPO4mNnjp2TDW64pa16nzcyAoX2xxa8vLLQOAr1mvhAZBV760uts/Ykhb27RutLM0u3NmfOae0Or6gYmCm6rc04p6URkcOsoclVR5Hjph21c6CA2aGA3Q2zt9A9EdGIbmPK83R/oCYeV1ocuAtXjs76WG2ZCiv87gt6BgX3zb39U0+7G1Xo4jrCSsT6rBWsuDE452b39xzCR86tX3cy3BJKuPaz5ob59cLwa0cbe2k0ZSmwkR33aW7e51i6xWiLZuu0lm4FdKM+O7Lbk9ioz7DDa0SvIljjfAHx2NVRRDPjL5Ny0z+d8o9xOCIbsmn34n192HZ8eVxUBajYQuZxd/0HeMC78BaqAsQWvZRvOyy6EJQlktTC4tEH/YKSkR4Hv2EHKLVNtZ/McyUISoLSSKJZ5XGbdN8nY5LYowCLXwFvOREiQVYz4PajWtDChrAq6ihRJsuafli2H68AxQ7H8TEwOSEAAAAASUVORK5CYII=",et=t=>a.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},a.createElement("path",{d:"M2.99991 3H14.9999C15.8249 3 16.4999 3.675 16.4999 4.5V13.5C16.4999 14.325 15.8249 15 14.9999 15H2.99991C2.17491 15 1.49991 14.325 1.49991 13.5V4.5C1.49991 3.675 2.17491 3 2.99991 3Z",stroke:"currentColor",strokeWidth:1.42446,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M16.4999 4.5L8.99991 9.75L1.49991 4.5",stroke:"currentColor",strokeWidth:1.42446,strokeLinecap:"round",strokeLinejoin:"round"})),On=t=>a.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},a.createElement("path",{d:"M13.4999 6C14.7425 6 15.7499 4.99264 15.7499 3.75C15.7499 2.50736 14.7425 1.5 13.4999 1.5C12.2573 1.5 11.2499 2.50736 11.2499 3.75C11.2499 4.99264 12.2573 6 13.4999 6Z",stroke:"currentColor",strokeWidth:1.42446,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M4.49991 11.25C5.74255 11.25 6.74991 10.2426 6.74991 9C6.74991 7.75736 5.74255 6.75 4.49991 6.75C3.25727 6.75 2.24991 7.75736 2.24991 9C2.24991 10.2426 3.25727 11.25 4.4999
21 11.25Z",stroke:"currentColor",strokeWidth:1.42446,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M13.4999 16.5C14.7425 16.5 15.7499 15.4926 15.7499 14.25C15.7499 13.0074 14.7425 12 13.4999 12C12.2573 12 11.2499 13.0074 11.2499 14.25C11.2499 15.4926 12.2573 16.5 13.4999 16.5Z",stroke:"currentColor",strokeWidth:1.42446,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M6.44247 10.1325L11.565 13.1175",stroke:"currentColor",strokeWidth:1.42446,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M11.5575 4.88251L6.44247 7.86751",stroke:"currentColor",strokeWidth:1.42446,strokeLinecap:"round",strokeLinejoin:"round"})),Bn=t=>a.createElement("svg",{width:28,height:28,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},a.createElement("path",{d:"M13.8886 25.4622C20.2806 25.4622 25.4623 20.2805 25.4623 13.8885C25.4623 7.49648 20.2806 2.31474 13.8886 2.31474C7.49656 2.31474 2.31482 7.49648 2.31482 13.8885C2.31482 20.2805 7.49656 25.4622 13.8886 25.4622Z",stroke:"currentColor",strokeWidth:1.95863,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M13.8886 18.518C16.4454 18.518 18.5181 16.4453 18.5181 13.8885C18.5181 11.3317 16.4454 9.25899 13.8886 9.25899C11.3318 9.25899 9.25906 11.3317 9.25906 13.8885C9.25906 16.4453 11.3318 18.518 13.8886 18.518Z",stroke:"currentColor",strokeWidth:1.95863,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M5.70572 5.70585L10.613 10.6131",stroke:"currentColor",strokeWidth:1.95863,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M17.164 17.1639L22.0713 22.0711",stroke:"currentColor",strokeWidth:1.95863,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M17.164 10.6131L22.0713 5.70585",stroke:"currentColor",strokeWidth:1.95863,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M17.164 10.6131L21.2495 6.52759",stroke:"currentColor",strokeWidth:1.95863,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M5.70572 22.0711L10.613 17.1639",stroke:"currentColor",strokeWidth:1.95863,strokeLinecap:"round",strokeLinejoin:"round"})),zn=t=>a.createElement("svg",{width:14,height:14,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},a.createElement("rect",{x:.938018,y:5.6525,width:2.1401,height:4.93885,rx:.918598,stroke:"currentColor",strokeWidth:1.26446}),a.createElement("rect",{x:11.151,y:5.6525,width:2.1401,height:4.93885,rx:.918598,stroke:"currentColor",strokeWidth:1.26446}),a.createElement("path",{d:"M12.2222 10.9135V10.9135C12.2222 11.8156 11.4908 12.547 10.5886 12.547H10.066H8.60199",stroke:"currentColor",strokeWidth:1.26446}),a.createElement("path",{d:"M2.00775 5.33048V5.33048C2.00775 2.93228 3.95188 0.988159 6.35007 0.988159H7.87911C10.2773 0.988159 12.2214 2.93228 12.2214 5.33048V5.33048",stroke:"currentColor",strokeWidth:1.26446}),a.createElement("rect",{x:5.81753,y:11.8456,width:2.63943,height:1.40296,rx:.701482,stroke:"currentColor",strokeWidth:1.26446})),Ft="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD0AAAA9CAYAAAAeYmHpAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAdpSURBVHgB7VtNaBRnGH6zm6gHhRRR6w9kL2oPSrf+QDy5XqQFoXpLQMgWFaIIXUWhXjQRoQV/0vWgqQqmKkQvJoIeioIbL4b4wwoeWr1sEDQXZcUfWjWmz/Mx3zAz2dmd2ZlJssEHlpl5d2Z2nu/9+d73nW/rJCKkUqnGN2/epGKxWBMOk8anEZ+E49TC2NhYAdsiPnl8BmbPnp3P5XJFiQh1EiJI9N27d23Y3cxDCQAMRK6urq4/Ho9fGxwcLEiICIX0mjVrUnjAQxKQqBs4APhkHzx40C8hIBDpqMk6gd8qYNMxNDT0pwRAVaSbm5sTo6Oj52WCyJZAD8y+s1qzj4tPQLsZmFovdr+RyUMSz5BetGjRf8+fPx8Un/BFeu3atb8b5jxLJh+z8Czfg3gjiP/l50JP5s2o/P79+9sY3aRMTeRh7lu8mntF0vTfz58/k3BCpjAY5JATbPBCvCzpWiGs4ZV4rNyXINxXK4QJPitmlb5kMtlY7jxX0gxaU9iHyyHZ0NDQVe6EktEbhNPY/Cq1iySi+mu36WycT9eaH5dBERH9u1L+Pc684ROHpgFhovHTp0/nS31h07SRS9+WaQQocMP9+/dzVplN0wj352X64ZBTYGq6Gi0fPHhQNm3aVPacJ0+eyM6dOwUNBfGKOXPmyOnTp2XZsmW2+2zdulWqgVPbpqah5Z/FJ7q6uuTFixdlz+GDb9++Xfxgx44dNsKIwrJ//34JAJu21ZRlROxu8YkPHz4ICnvZuHGjzJw5U8k4CNQKt9QY5StXrlSy4eHhivck4ba2NvOYhGkplQa3HGDBCaDn2bNnr3msSC9cuJDtnc1SBV69eqXIr1u3Th3TjHft2iVXr15VJDkgBL+/efOmvH371vVeLS0tsnv3bpuMGn769KkEBWalIgZwgPuK9OLFi5nBJKRKPH78WJYuXSoYTaXdpqYmRZCkebxixQqlcZrsjRs3St6D1x87dswmO378uNy6dUvCAkirjkuceSomcd+m7QSSAKVVkiR5apyDwQ+1PHfuXEGWpM59+PCh7VpYmpw8eVJdq3HmzBm5ePGihAWa+Pz587MjIyP/xurr60PJr0mys7PTP
2N67d6/SHuU0UR296bOrVq0yzyPR7u5uRVwD7V85d+6chA1wXc9tHKPfhlFISQhgsCE57d/c0pxfvnxp83uSppwyatgZqTOZjPoubIDnCLss8SVLlmQkxH4XzZmkaMrUIs16YGBAyalNEtR+TzewzvM6UnOQogDma5K+Qk23S4AgVgp37twx/ZsktX/Tl61+v3r1avManrNt27ZAU1MlQNOzQDrL5CQhIcPp3/Rjapnyffv2lbzm8OHDkRI2oJoLkZAmqFVGYEKnldxyzj1x4oTtXJ5HF5gAmKQjAyMwMzaCPq7T0cuXL5tywjpVTQTiSEw6JEJQ4wxWOh1lsKK2KUdrWRGmXPt91MDvd0aqaYJ+ai0WOH/Tvykv5fcTAZIuSMSgZnVyQs0ePXpUbaltmrpVHjHUO2+adxrbryVCHDlyRJYvX24ec+6eMWOGSl3v3r1rzuuU44W8kkcBzNN/w7z/oKbzEiFotvRdJ1pbW2X9epUVqulKWwLl1jQ1ZChNx4ylD5GApSJJW3H27Flzn50X7d/WaYxmHoV/IzlRCo7j5l/hoEVChlupeOHCBVu5yayMtTf93msZWi2g4N9g3v/EFyxYMILS8hcJEZVKRWu5afVjynWaSh8PexpDS/gASstiLJ/P085zEhJI2FkqXr9+3VYqOstN7cc8bm9vN+Wc3sLyb2gZVPMF7qt5Guadk5Dg9EcmI2wgOuHmx5Q7/T6MjM3KUbWL5s2b9ygME6dmdEQmKpWKbn7s1n4Kgo8fP7bStLmvSLOFgvk6JQGKD2cX02up6PRjgkmLW/upGnBJFu6Z1ceBmv0a1K4zm6LPeq2caNaXLl0yzVgPFAOclml/r6YzivZ2GgWOuQzLfFULUyxUo20+cDabNfveBCN1X1+f53uwLWxtJ5Go7plrcF+3n3y2kgp4u/GTVWB7Pw3zGoa20+IROlJz2tHo7e2VU6dOiV9Y20lu4EDo9NUroOUMLOeRVTbu/TReyNPEUzINAF/uh5a3OOXjSktEOZpCZCtwJxJIRvaUko9bfsGwzpV4XJgmtY0MInbJRXUl15xwrQaCGvtJzVKb6Ll3794Bty9dOycwc7Y1Ii07I0IBz76n3AmupJmT42IGgYLUDkh4g1FPuKLiMkm84Es0NDQwoidkakMTLlQ6sWJjkDfhzWRqm3reK2HC09JnRnS85ryCooRLnqdacOthMQHCI14v8L2yn4vcjTXfjTKJQOJRxHN0IEpn/V7re2U/pzND6yQ9KWtHWTUh8fjBbR6uhEB/XEFXIw3y1HpCJgYFfNLQbqAXX6H8Rckgz2I6JRHA+I9WR1CyGqH+GY3TWywW+xEDkJbgpp9nwYD79Q8NDT2SEBEqaSs4APX19d8aSzvUXw650BbHtgBoBKQiG3dcmY9SMD86OnqtUoLxBT7xP2kn1JW/mjC3AAAAAElFTkSuQmCC";var Dn=1,Hn=2;function Fn(t,e,n,i){var o=n.length,r=o;if(t==null)return!r;for(t=Object(t);o--;){var l=n[o];if(l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++o<r;){l=n[o];var c=l[0],h=t[c],d=l[1];if(l[2]){if(h===void 0&&!(c in t))return!1}else{var u=new kt,p;if(!(p===void 0?Nt(d,h,Dn|Hn,i,u):p))return!1}}return!0}function Ut(t){return t===t&&!At(t)}function Un(t){for(var e=St(t),n=e.length;n--;){var i=e[n],o=t[i];e[n]=[i,o,Ut(o)]}return e}function Wt(t,e){return function(n){return n==null?!1:n[t]===e&&(e!==void 0||t in Object(n))}}function Wn(t){var e=Un(t);return e.length==1&&e[0][2]?Wt(e[0][0],e[0][1]):function(n){return n===t||Fn(n,t,e)}}var Gn=1,Vn=2;function Zn(t,e){return Et(t)&&Ut(e)?Wt(Qe(t),e):function(n){var i=Pe(n,t);return i===void 0&&i===e?xn(n,t):Nt(e,i,Gn|Vn)}}function Gt(t){return function(e){return e==null?void 0:e[t]}}function Yn(t){return function(e){return Lt(e,t)}}function Jn(t){return Et(t)?Gt(Qe(t)):Yn(t)}function tt(t){return typeof t=="function"?t:t==null?Es:typeof t=="object"?Mt(t)?Zn(t[0],t[1]):Wn(t):Jn(t)}function Qn(t){return function(e,n,i){var o=Object(e);if(!Ls(e)){var r=tt(n);e=St(e),n=function(c){return r(o[c],c,o)}}var l=t(e,n,i);return l>-1?o[r?e[l]:l]:void 0}}function $n(t,e,n,i){for(var o=t.length,r=n+-1;++r<o;)if(e(t[r],r,t))return r;return-1}function st(t){var e=kn(t),n=e%1;return e===e?n?e-n:e:0}var Xn=Math.max;function Kn(t,e,n){var i=t==null?0:t.length;if(!i)return-1;var o=n==null?0:st(n);return o<0&&(o=Xn(i+o,0)),$n(t,tt(e),o)}var ht=Qn(Kn);function qn(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}function nt(t,e,n){var i=-1,o=t.length;e<0&&(e=-e>o?0:o+e),n=n>o?o:n,n<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var r=Array(o);++i<o;)r[i]=t[i+e];return r}function ei(t,e){return e.length<2?t:Lt(t,nt(e,0,-1))}function Vt(t,e){return e=Tt(e,t),t=ei(t,e),t==null||delete t[Qe(qn(e))]}var ti=Array.prototype,si=ti.splice;function ni(t,e){for(var n=t?e.length:0,i=n-1;n--;){var o=e[n];if(n==i||o!==r){var r=o;Ms(o)?si.call(t,o,1):Vt(t,o)}}return t}function ii(t,e){var n=[];if(!(t&&t.length))return n;var i=-1,o=[],r=t.length;for(e=tt(e);++i<r;){var l=t[i];e(l,i,t)&&(n.push(l),o.push(i))}return ni(t,o),n}const Ne=t=>a.createElement("svg",{width:14.277,height:22.898,viewBox:"0 0 14.277 22.898",...t},a.createElement("path",{d:"M0,0,8.62,8.62,17.241,0",transform:"translate(2.828 20.069) rotate(-90)",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:4})),Zt=t=>a.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},a.createElement("path",{d:"M15.1474 15.7199C15.2953 15.8676 15.535 15.8674 15.6827 15.7195C15.8303 15.5715 15.8301 15.3319 15.6822 15.1842L15.1474 15.7199ZM11.8887 11.9325L11.6213 11.6647L11.8887 11.9325ZM7.39368 13.414C4.08931 13.414 1.4106 10.7353 1.4106 7.43095H0.653613C0.653613 11.1534 3.67124 14.171 7.39368 14.171V13.414ZM1.4106 7.43095C1.4106 4.12659 4.08931 1.44787 7.39368 1.44787V0.69089C3.67124 0.69089 0.653613 3.70852 0.653613 7.43095H1.4106ZM7.39368 1.44787C10.698 1.44787 13.3768 4.12659 13.3768 7.43095H14.1337C14.1337 3.70852 11.1161 0.69089 7.39368 0.69089V1.44787ZM13.3768 7.43095C13.3768 9.08479 12.7062 10.5813 11.6213 11.6647L12.1562 12.2003C13.3775 10.9808 14.1337 9.29381 14.1337 7.43095H13.3768ZM11.6213 11.6647C10.5384 12.746 9.04441 13.414 7.39368 13.414V14.171C9.25304 14.171 10.9372 13.4176 12.1562 12.2003L11.6213 11.6647ZM11.6214 12.2004L15.1474 15.7199L15.6822 15.1842L12.1561 11.6646L11.6214 12.2004Z",fill:"currentColor"})),Yt=({classes:t,modifiers:e=[],options:n=[],...i})=>
2{const[o,r]=a.useState(!1),[l,c]=a.useState([]),[h,d]=a.useState(),u=a.useRef(null);ze(u,()=>r(!1)),a.useEffect(()=>{if(i.value){let m;typeof i.value=="string"||typeof i.value=="number"?m=n.filter(g=>typeof g=="string"?g===i.value:g.id===i.value):m=Array.isArray(i.value)?i.value:[i.value],c(m||[])}},[i.value,n]);const p=a.useMemo(()=>h?n.filter(m=>typeof m=="string"?m.toLowerCase().includes(h.toLowerCase()):m.name.toLowerCase().includes(h.toLowerCase())):n,[h,n]),w=i.multiSelect,b=i.onSelected,f=a.useCallback(m=>{const g=!!ht(l,m);let v=[...l];w?g?ii(v,m):v.push(m):g||(v=[m]),c(v),b==null||b(v),w||r(!1)},[w,b,l]);return s.jsxs("div",{ref:u,className:x("com-dropdown-multi",{"com-dropdown-multi--disabled":i.disabled,"com-dropdown-multi--expand":o},t==null?void 0:t.root),children:[s.jsxs("div",{className:x("com-dropdown-multi__text",t==null?void 0:t.text),onClick:()=>r(!o),children:[i.icon,i.renderValue?i.renderValue(l):i.placeholder,i.arrow?s.jsx(s.Fragment,{children:i.arrow}):s.jsx(Ne,{className:"com-dropdown-multi__arrow"})]}),(n==null?void 0:n.length)>0&&s.jsx(on,{className:x("com-dropdown-multi__dropdown",{"com-dropdown-multi__dropdown--active":o},t==null?void 0:t.container),open:!0,disablePortal:!0,anchorElm:u.current,placement:"bottom",modifiers:[{name:"offset",options:{offset:[0,10]}},...e],children:s.jsxs(s.Fragment,{children:[i.enableSearch&&n.length>4&&s.jsxs("div",{className:"com-dropdown-multi__search",children:[s.jsx(Zt,{className:"com-dropdown-multi__search-icon"}),s.jsx("input",{className:"com-dropdown-multi__search-input",onChange:m=>d(m.currentTarget.value),placeholder:i.searchText||"Search"})]}),s.jsx("div",{children:p.map((m,g)=>{const v=!!ht(l,m);return s.jsxs("div",{onClick:()=>f(m),className:x("com-dropdown-multi__option text-body2",v&&(t==null?void 0:t.highlight),{"com-dropdown-multi__option--selected":v}),children:[i.renderOption?i.renderOption(m):typeof m=="string"?m:m==null?void 0:m.name,v&&i.iconSelected&&s.jsx(s.Fragment,{children:i.iconSelected})]},g)})})]})})]})},oi=t=>{const e=le();return Ts(e.pathname)?s.jsx(ri,{...t}):s.jsx(li,{...t})},ri=t=>{var c;const e=le(),n=Ye(),o=new URLSearchParams(e.search).get("lang")||"en";a.useEffect(()=>{Ps.includes(o)&&Is(Rs,o,365)},[o]);const r=(Os(e.pathname)??[]).map(h=>({id:h,name:Bs[h],icon:""})),l=h=>{if(!h.length||h[0].id===o)return;const d=new URLSearchParams(e.search);d.set("lang",h[0].id),n(`${e.pathname}?${d.toString()}`,{replace:!1})};return s.jsx("div",{className:x("com-language-select",(c=t.classes)==null?void 0:c.root),children:s.jsx(Yt,{options:r,value:o,onSelected:l,renderValue:h=>h.length>0?h[0].id:"",renderOption:h=>s.jsx("span",{className:"com-language-select__option",children:h.name}),classes:{text:"com-language-select__text",highlight:"com-language-select__text-selected"}})})},li=t=>{var h;const e=ai(),[n,i]=a.useState([]),o=Pt(),[r,l]=a.useState(o);a.useEffect(()=>{e&&i(e.countries.map(d=>({id:d.code,name:d.name,icon:d.icon})))},[e]);const c=d=>{d.length>0&&d[0].id!==r&&(l(d[0].id),zs(d[0].id))};return s.jsx("div",{className:x("com-language-select",(h=t.classes)==null?void 0:h.root),children:n.length>0&&s.jsx(Yt,{options:n,value:r,onSelected:c,renderValue:d=>d.length>0?d[0].id:"",renderOption:d=>s.jsx("span",{className:"com-language-select__option",children:d.name}),classes:{text:"com-language-select__text",highlight:"com-language-select__text-selected"}})})},ai=()=>{const{data:t}=te("languages");return t},ci="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFF2lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNy4wLWMwMDAgNzkuMTM1N2M5ZSwgMjAyMS8wNy8xNC0wMDozOTo1NiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjUgKFdpbmRvd3MpIiB4bXA6Q3JlYXRlRGF0ZT0iMjAyMS0wOS0wOFQxOToyMjowOSswNzowMCIgeG1wOk1vZGlmeURhdGU9IjIwMjEtMDktMDhUMTk6MjM6NTkrMDc6MDAiIHhtcDpNZXRhZGF0YURhdGU9IjIwMjEtMDktMDhUMTk6MjM6NTkrMDc6MDAiIGRjOmZvcm1hdD0iaW1hZ2UvcG5nIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIzIiBwaG90b3Nob3A6SUNDUHJvZmlsZT0ic1JHQiBJRUM2MTk2Ni0yLjEiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ZmQwYWM2ZWMtZjY5Yy01OTQ1LTliYTgtNTU1MDM3MmE2MTgyIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOmZkMGFjNmVjLWY2OWMtNTk0NS05YmE4LTU1NTAzNzJhNjE4MiIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOmZkMGFjNmVjLWY2OWMtNTk0NS05YmE4LTU1NTAzNzJhNjE4MiI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6ZmQwYWM2ZWMtZjY5Yy01OTQ1LTliYTgtNTU1MDM3MmE2MTgyIiBzdEV2dDp3aGVuPSIyMDIxLTA5LTA4VDE5OjIyOjA5KzA3OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgMjIuNSAoV2luZG93cykiLz4gPC9yZGY6U2VxPiA8L3htcE1NOkhpc3Rvcnk+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+dg5h8QAABaVJREFUWMPFWGtPVFcUvamkIbX/gPYvGNMK/6KpSe0H+6U/oPFRGj/UqCjIa+5c0CiPeY/UgpW22qBo1FrkJVQp8VGQh4AWSAuCSstDBFfXnj0UBu4dBjriSfbcM+ecvfe65+yz7j7HyDoLQ+RQNQwzCKPID8MdoPBp+WCUUgpYL6TkhzkmgHddIWS4gtjlDuI0pYXjH1F3XCRab5E+PndRMljfnEddd4jCZ/FJ2qYPV0B9mWwrom+vB4YnKsYagL1PQJkE1khHSFgCkWdjIXWtEN5LHjAvQQXxFQH1WmsBtEwIBNTvMUPYT2Cb1g3M4tP0I50G6rgE6wbkALKeNre5/OsDtoNGxsxgckFFRF/0CYF9ymfiwPhGO6kw634doGLjb54gP08IGONq+2sHtERkRRh321cAO0hAIgd+YDCGsIVB/3wjgYnQ7wSBbfV7FJyIkVOFiGRXIYUDmq3AxoJamDUCayIDbColKBGjmKQnUhTAPncCoEgbKPABOWXA0bLYdnOJvvTllOpYMxG73BBkgUyrjFjKCSy/gjwlxBfAcDxFEixyy9XJ6RqgsQ243gLke1UEgEjkv0f7mn8DKmtU5yh1C32rboahwgDS5Atj5J4is4ew14k8ydYRUOLw7CWgoxfoHgAabgMX6oCL9cCNW0DrHRWp195gO/uaCKxrQHVEV2wIOCvkTMLEsieXkyUMn8o3uhXvTWSmxMnMC6CHjn69B4yMAa9ewbFI3+g4x94luD7qztBGu9paZdZaCTDVKPIgIx6JHikBvq1RZ39PApNTWHMRnYlJrVdeAA6XxN8Ix3xIl2xhr+M29msA3+tB0sr9biC7VG3H+WTtNlj5xmlANt/MVw1MzyQPmISD/3u1HWdJKwRYq1O6Ist4uQFJL1eadCXi0NNN+Qw9tqWH6O7p6nd28M9knL44sSg2raAzfRDTgGQSY3adeeSi0koG7vRKw3NzShUSJ5fq9f/SPmkT7hLKmJtfqT81rbbFhwOwsbjAFnbj8tL5UAP4wHEg66RSyEIRjss6ARw8rsvV2Wdvo+riKsD488iu
2U8hQYsGu3O1SYHnlCqLj4WKfkOmhE9onY2SsXbnarD6cl1IPDis6C6jU9ru90Snu0jO1wNdFQPXl2F0rdWmTvu9qnXd0e4d+whyD34kuRKl7aeAvY/kXs8DwKDD7cqVTaZM+GRP7OVis9j6OC6xCstU9duwrO+bJ0yX8wzd/9nz9FPFsInb2nk6oD9OeqnYbx7xIN22AyVJKvCyUl9xtA4O6vCPjiQOSlxOdfurOzsVShviw801M2wzySSrz7la7NEee7Z2xjvqHgGsM3BpSwe37wOCfOhtCARJ7Uh9iWxv7an7hBuLYvj9ibdx5sJi12KzWTc7Y24akGJG0x4aFcz2aDfx4hQD+WhJPjJXmdo2RojBQQk4qP6Mi9eKw7riGtsUMRHSHaOPcVbVpl2XEpD35zMcKw0jjzA07fQEWEsSK85oACled/1nbhYvyPIvOFv5LYnjumnKc6FT8pDZkjFPQE8NgAbHkEZNh8cd9KnIQ2bdqSu3VlPnwSc1S453MrSgXyljRkfpqKbZcI3CSJKM2IncTUUnhVDaZwTdzGBHfPIyklBCLiOFl4i/ipxT7sMUVeAPHtyAmmElvFQy+qPx3wJSzHIEZPAx8bAY2dLbmmQx85PYtO/AuB+bSm56d3LIbc0UQxGem+EwQmGQdn5DfRq1w8gFFqCmAEcoObhL1mTAwUQjiQ5cX15N9DUUGqKOPD+SObM3AOFNGPk/FR/J5Mg4jk2/Xbf1/UN2WH/uzK/GWK6h3cOsGll3AdjWSRo7JZLDWu9ewOUxdtnrqf0ndNLl7y6mMrEbSgBnCyHS02R1GOuULOqng/2ZJ7FiXi2G5IB6QNumTMWaIY/14R65N5ZorUWD/AuevgQM1Y3cxAAAAAElFTkSuQmCC",di="https://main.assets.gameloft.com/static/assets/insta-color-CQ8NOqzn.png",hi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD4AAAA+CAYAAABzwahEAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAOMSURBVHgB7ZvrVatAEMeHnPtdOgipINwKwAquHSRWEDuIHWAHagVqBeRWQKwArCCxgrkzLhjg5rWTXR6Jv3NGkANh/zu7s08csAgCuHQIyEJQ535+9Gq3ZrmtyZaFOQAf0BdIbEA2J0vI8ETj34jIhtBF2LNkE7LYgNh9mTCBrkCJmZGtLAquW9pqBuRFOm1Q8LYMCKAp8mIdtSi4bpwWF2xCL/CwXS/v8/4QbJAX7Sbrsq6tjBd9VBG7q4LrNgET9Ey0GfGoindfxNYtAAmoAlmX6/Qh47QPd+kb7BDNzUMMtpsJu3DaF7hDw2DHQ3P4fyDRRzxQWg7T83p9dH13tghP4Ty8XSYjoaPyhUpRR9UMeHB+cKCelS9UPH6m3i7gSY6Ro47wq7hqzNsuBdGrK3V03c01V6OByLLN+Xqt7OPkyRhOwB+y58pVlM6YBAHi4yNimqJ1VivEOEaMIsThUBLk4rpoTyR6PsfW4IyWiQ/KwvXH1+Mxtg6L1xc+Z81FVA9Bl7s7aB3PI/8Fuk/d8J8BqoDmgy6+/iNW0E+HT5pd9vgYJPRXOBOwcP0nuYhJWK/BODrN5IZQJlz2MloboQWSEfUcn57AGDInfBV1fRXcQZHCnZPbWwoxN9WOihSZE3wW7kEbvL0p70+nZjJAD1cmfDQCYzxTD/L6Wl78ZUXdG0AXKIo/Z+jrKzRBN4QXFIObBuiGcBYbRSrqhyE0AQvPQJfVCowxo/mBNJV3gWWBMePxuH6vwkRHhPvYDw9t9QAz9vgSdPn8BDEcheOYJn4XZkTLnLBu1uMsNEnMBjBZWpbs8QXoIu1w6E5BHYMsLV/C/4KE5ntb21nq11R+auBstljpwXW0C7y/gyZf28iKdly/u2RyhCWFS52+AxbfZyhdNurnZOOwkg0o3aPm+4gvL4hJgtbh6WV+D2e460pEJ4VepyR8QocnOJUictdHTTqjqHLgLM7NBNOpky8olIVzO5NCv9fE91FZOPwepOTR/R7Ol/vyPz/LxCWmcH7cHnUXdmvL5qkWbdPo7BDOAY5Dvwf9JiP77egMxPDMt3sdEh/0ROQ2C+EU8BK3dPZU/ARMgv3Yth2CDfASN+qXxF/epxm1DAiw/Y9xQmgLVIGvyQzgujyDrpBnQIL2BMf5O7o5bEYVACM094nl3EaRdsAiuNlRNYbqB7Ve7dYMNrO9fOQp74UjWew4kn9UU0SnqvDzpQAAAABJRU5ErkJggg==",ui="_title_8w6a5_5",mi="_icon_8w6a5_11",W={"social-channel":"_social-channel_8w6a5_1",title:ui,"icon-container":"_icon-container_8w6a5_11",icon:mi},Jt=t=>{var n,i,o,r,l,c,h,d,u;const e=Qt();return s.jsxs("div",{className:x(W["social-channel"],(n=t.classes)==null?void 0:n.root),children:[s.jsx("div",{className:x("text-body2",W.title,(i=t.classes)==null?void 0:i.title),children:e==null?void 0:e.title}),s.jsxs("div",{className:x(W["icon-container"],(o=t.classes)==null?void 0:o.iconContainer),children:[(e==null?void 0:e.facebook)&&s.jsx(z,{href:e==null?void 0:e.facebook,target:"_blank",rel:"noreferrer noopener",icon:s.jsx("img",{src:Dt,alt:"facebook"}),layout:"fill",className:x(W.icon,(r=t.classes)==null?void 0:r.icon)}),(e==null?void 0:e.instagram)&&s.jsx(z,{href:e==null?void 0:e.instagram,target:"_blank",rel:"noreferrer noopener",icon:s.jsx("img",{src:di,alt:"instagram"}),layout:"fill",className:x(W.icon,(l=t.classes)==null?void 0:l.icon)}),(e==null?void 0:e.linkedin)&&s.jsx(z,{href:e==null?void 0:e.linkedin,target:"_blank",rel:"noreferrer noopener",icon:s.jsx("img",{src:Ht,alt:"linkedin"}),layout:"fill",className:x(W.icon,(c=t.classes)==null?void 0:c.icon)}),(e==null?void 0:e.twitter)&&s.jsx(z,{href:e==null?void 0:e.twitter,target:"_blank",rel:"noreferrer noopener",icon:s.jsx("img",{src:Ft,alt:"twitter"}),layout:"fill",className:x(W.icon,(h=t.classes)==null?void 0:h.icon)}),(e==null?void 0:e.discord)&&s.jsx(z,{href:e==null?void 0:e.discord,target:"_blank",rel:"noreferrer noopener",icon:s.jsx("img",{src:ci,alt:"discord"}),layout:"fill",className:x(W.icon,(d=t.classes)==null?void 0:d.icon)}),(e==null?void 0:e.youtube)&&s.jsx(z,{href:e==null?void 0:e.youtube,target:"_blank",rel:"noreferrer noopener",icon:s.jsx("img",{src:hi,alt:"youtube"}),layout:"fill",className:x(W.icon,(u=t.classes)==null?void 0:u.icon)})]})]})},Qt=()=>{const{data:t}=te("social-channel");return t},gi=t=>a.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},a.createElement("path",{d:"M10.9146 5.52479C11.0611 5.37834 11.0611 5.1409 10.9146 4.99446C10.7682 4.84801 10.5307 4.84801 10.3843 4.99446L10.9146 5.52479ZM4.83536 10.5434C4.68892 10.6898 4.68892 10.9273 4.83536 11.0737C4.98181 11.2202 5.21925 11.2202 5.36569 
211.0737L4.83536 10.5434ZM10.3843 11.0737C10.5307 11.2201 10.7682 11.2201 10.9146 11.0737C11.0611 10.9273 11.0611 10.6898 10.9146 10.5434L10.3843 11.0737ZM5.36569 4.99445C5.21925 4.848 4.98181 4.848 4.83536 4.99445C4.68892 5.1409 4.68892 5.37833 4.83536 5.52478L5.36569 4.99445ZM10.3843 4.99446L4.83536 10.5434L5.36569 11.0737L10.9146 5.52479L10.3843 4.99446ZM10.9146 10.5434L5.36569 4.99445L4.83536 5.52478L10.3843 11.0737L10.9146 10.5434ZM14.625 8C14.625 11.7279 11.6029 14.75 7.875 14.75V15.5C12.0171 15.5 15.375 12.1421 15.375 8H14.625ZM7.875 14.75C4.14708 14.75 1.125 11.7279 1.125 8H0.375C0.375 12.1421 3.73286 15.5 7.875 15.5V14.75ZM1.125 8C1.125 4.27208 4.14708 1.25 7.875 1.25V0.5C3.73286 0.5 0.375 3.85786 0.375 8H1.125ZM7.875 1.25C11.6029 1.25 14.625 4.27208 14.625 8H15.375C15.375 3.85786 12.0171 0.5 7.875 0.5V1.25Z",fill:"currentColor"})),fi="_input_12w9p_8",pi="_icon_12w9p_40",xi="_clear_12w9p_44",wi="_dark_12w9p_48",vi="_light_12w9p_52",ue={"search-bar":"_search-bar_12w9p_1",input:fi,"input--hide":"_input--hide_12w9p_40",icon:pi,clear:xi,dark:wi,light:vi},bi=t=>{const{placeholder:e="Search",color:n="dark",classes:i,defaultValue:o,clearOnSearch:r=!1,collapse:l=!1,renderIcon:c}=t,h=a.useRef(null),d=a.useRef(null),[u,p]=a.useState(""),[w,b]=a.useState(l);ze(h,()=>{l&&b(!0)}),a.useEffect(()=>{p(o||"")},[o]),a.useEffect(()=>{var v;l&&!w&&((v=d.current)==null||v.focus())},[w,l]);const f=()=>{var v;l&&w?b(!1):((v=t.onSearch)==null||v.call(t,u),r&&(p(""),d.current&&(d.current.value="")))},m=()=>{var v;p(""),d.current&&(d.current.value=""),(v=t.onChange)==null||v.call(t,"")},g=v=>{var E;(E=t.onChange)==null||E.call(t,v.target.value),p(v.target.value)};return s.jsxs("div",{className:x(ue["search-bar"],"text-body1",ue[`${n}`],i==null?void 0:i.root,w?i==null?void 0:i.collapse:i==null?void 0:i.expanded),ref:h,children:[s.jsx("input",{ref:d,value:u,type:"text",className:x(ue.input,i==null?void 0:i.input,{[ue["input--hide"]]:w}),placeholder:w?"":e,onChange:g,onKeyDown:v=>(v.keyCode===13||v.key==="Enter")&&f()}),s.jsx(_.div,{layout:!0,transition:{duration:.2},className:x(ue.icon,i==null?void 0:i.icon),onClick:f,children:c?c():s.jsx(Zt,{})}),!w&&s.jsx(gi,{className:ue.clear,style:{display:u?"block":"none"},onClick:m})]})},Ci="_root_1v88f_1",ji={root:Ci},$t=t=>{var c;const e=Ye(),{pathname:n}=le(),i=ke(),{onSearch:o,...r}=t.searchBarProps||{},l=h=>{h&&(o==null||o(h),n==="/search"?e(`/search?key=${h}`,{replace:!0}):e(`/search?key=${h}`))};return s.jsx("div",{className:x(ji.root,(c=t.classes)==null?void 0:c.root),children:s.jsx(bi,{onSearch:l,placeholder:(i==null?void 0:i.search)||"Search",clearOnSearch:!0,collapse:!0,...r})})},Oe=se(!1),_i=t=>{const e=ke(),n=$(De),i=$(Oe),o=ye(Oe);return s.jsxs(s.Fragment,{children:[o&&s.jsx(re,{children:s.jsx(_.div,{initial:{opacity:0}
2,animate:{opacity:1},exit:{opacity:0},className:"side-menu__overlay"})}),s.jsxs(_.div,{className:`side-menu ${o?"side-menu--show":"side-menu--hide"}`,animate:o?"show":"hide",children:[s.jsx(yi,{setShowSide:i,isSideOpen:o}),s.jsxs(_.div,{className:"side-menu__content-wrapper text-body2",initial:{display:"none"},variants:{show:{display:"flex",transition:{staggerChildren:.07,delayChildren:.2}},hide:{display:"none",transition:{staggerChildren:.05,staggerDirection:-1,display:{delay:.6}}}},children:[s.jsxs("div",{className:"seo-main-burger-menu-tracking-btn",children:[s.jsx(ki,{setShowSide:i}),s.jsx(Ni,{})]}),s.jsxs(_.button,{className:"side-btn-subsribe seo-main-burger-menu-subscribe-btn",initial:!1,variants:Ae,onClick:()=>n(!0),children:[s.jsx(et,{}),"  ",(e==null?void 0:e.subscribe)||"Subscribe"]}),s.jsx(Si,{})]})]})]})},Ae={show:{x:0,opacity:1,transition:{stiffness:1e3,velocity:-100}},hide:{x:200,opacity:0,transition:{stiffness:1e3}}},yi=t=>s.jsx(_.div,{className:`side-header ${t.isSideOpen?"side-header--show":"side-header--hide"}`,children:s.jsx("div",{className:"side-header__menu-container",children:s.jsxs(_.div,{className:"side-header__menu-icon",initial:!1,whileHover:`hover${t.isSideOpen?"show":"hide"}`,animate:t.isSideOpen?"show":"hide",children:[s.jsx(_.div,{className:"side-menu__background",initial:{opacity:0}
2,variants:{show:{width:"10000px",height:"10000px",opacity:1,transition:{duration:2,opacity:{duration:0}}},hide:{width:"40px",height:"40px",opacity:0,transition:{duration:.5,delay:.3,opacity:{delay:.6}}}}}),s.jsx("svg",{className:"side-header__burger",xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",onClick:()=>t.setShowSide(!t.isSideOpen),children:s.jsxs(_.g,{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"3",children:[s.jsx(_.path,{d:"M3,23L24,23",variants:{hide:{d:"M3,23L24,23",y:0},hoverhide:{d:"M3,23L24,23",y:2,transition:{ease:"easeOut"}},show:{d:"M5.636 24.331L24.272 5.639",y:0},hovershow:{d:"M5.636,24.331,25.947,11.665",y:0}}}),s.jsx(_.path,{d:"M3 15h15",initial:{opacity:1},variants:{hide:{d:"M3 15h15",opacity:1,x:0},hoverhide:{d:"M3,15h21",opacity:1,x:0},show:{opacity:0,x:-8},hovershow:{opacity:.2,x:-8}}}),s.jsx(_.path,{d:"M3,7L24,7",variants:{hide:{d:"M3,7L24,7",y:0},hoverhide:{d:"M3,7L24,7",y:-2,transition:{ease:"easeOut"}},show:{d:"M5.636 5.639l18.693 18.692",y:0},hovershow:{d:"M5.636 5.639l20.311 12.554",y:0}}}),s.jsx("path",{d:"M0 0h30v30H0z",stroke:"none"})]})})]})})}),ki=t=>{const e=n=>{n&&t.setShowSide(!1)};return s.jsx(_.div,{className:"side-search",initial:!1,variants:Ae,children:s.jsx($t,{searchBarProps:{collapse:!1,onSearch:e}})})},Ni=()=>{const t=Ss();return s.jsx(s.Fragment,{children:t==null?void 0:t.map(e=>e.child&&e.top!==!0?a.createElement(Ai,{...e,key:e.label}):e.top!==!0?a.createElement(Xt,{...e,key:e.url}):null)})},Xt=t=>{const{url:e,label:n,side:i,newTab:o,...r}=t,l=Je(e),c=$(Oe);return s.jsx(_.div,{className:"side-link__item text-base leading-[1.8]",initial:!1,variants:Ae,...r,children:l?s.jsx("a",{href:e,onClick:()=>c(!1),children:n}):s.jsx(yt,{to:t.url||"/",onClick:()=>c(!1),className:({isActive:h})=>h?"side-link__item--selected":"",children:n})})},Ai=t=>{const[e,n]=a.useState(!1),i=ye(Oe);return a.useEffect(()=>{i||n(!1)},[i]),s.jsxs("div",{className:x(t.class,"side-link-group"),children:[s.jsxs(_.div,{className:x("side-link__item side-link__item-group-label text-base",e&&"side-link__item-group-label--expand"),initial:!1,variants:Ae,onClick:()=>n(!e),children:[t.label,s.jsx(Ne,{className:x("side-link__item-arrow",e&&"side-link__item-arrow--expand")})]}),s.jsx(_.div,{className:"side-link__item-group",initial:!1,variants:{opened:{height:"auto",transition:{duration:.25,staggerChildren:.05}},closed:{height:0,transition:{duration:.25,staggerChildren:.05,staggerDirection:-1}}},animate:e?"opened":"closed",children:s.jsx("div",{className:"side-link__item-group-container",children:t.child.map(o=>s.jsx(Xt,{...o,variants:{opened:{y:0,opacity:1},closed:{y:"30%",opacity:0,transition:{duration:.1}}}},o.url||o.label))})})]})},Si=()=>s.jsx("div",{children:s.jsx(_.div,{className:"follow-us",initial:!1,variants:Ae,children:s.jsx(Jt,{classes:{root:"follow-us__container",iconContainer:"follow-us__icons seo-side-menu-social-tracking-btn",icon:"follow-us__icon"}})})}),Kt=t=>a.createElement("svg",{width:566.87,height:130.71,viewBox:"0 0 149.98 34.583",...t},a.createElement("g",{transform:"translate(70.456 83.815)"},a.createElement("g",{transform:"matrix(.26457 0 0 .26457 -83.057 -93.761)",fill:"currentColor"},a.createElement("path",{d:"m53.08 147.92c3.2 5.57 8.08 8.18 14.21 8.87 22 2.51 87.63 1.14 87.73 1.14 15.57 0 28.07-7.13 31.45-21.86 0.86-3.75 1.54-16.46 0.76-29.94-0.82-14-7.2-23.25-26.24-24.55-25.29-1.71-61.06-0.9-75.53 0.59-7.73 0.8-12.23 6.08-12.13 13.28 0.23 17.16 0.42 19.8 0.6 20.73 7.68 1.1 7.59 1.17 7.82 0.75a8.64 8.64 0 0 1 6.69-4.46c3.26-0.43 0.8-0.3 68.7-1.33 2.65 0 4.23 1.2 4.72 3.81a38.25 38.25 0 0 1 0.31 10.25c-0.22 2.91-2.62 7.55-7 7.61-0.1 0-48.64 0.23-71.8-0.84-7-0.32-14.67-7.22-14.67-20.06 0-5.45 0-23 0.46-28.45a14.49 14.49 0 0 1 12-13.18c8.64-1.57 89.15-0.62 94.26 0.55 14.53 3.32 15.75 20.73 15.8 21.1 1.36 10 1.49 21.28 1.37 31.47-0.3 23-8.89 28.05-11.76 31.37-0.86 1 0.25 1.46 1.95 2.69 7.22-1.35 17.55-9.25 19.57-26 0.78-6.47 1.38-21.28 0.13-47.85-0.81-17.25-8.06-32.11-32.1-34.85-20.85-2.37-66.77-0.48-87.39 0-36 0.82-35.32 21.37-35.33 29.74-0.14 52.99-0.09 59.85 5.42 69.42z"}),a.createElement("path",{d:"m301.82 79.16a4.92 4.92 0 0 1 3.08 0.93 5.88 5.88 0 0 1 1.84 2.46l18 44.2h-14.25c-0.43-0.09-0.66-0.5-0.85-1.22l-2.41-7.61c-0.1-0.82-0.55-1-1.57-1h-14.07c-1 0-1.47 0.19-1.57 1l-2.41 7.65c-0.18 
20.72-0.41 1.13-0.85 1.22h-14.29l18.05-44.2a5.82 5.82 0 0 1 1.35-2 5.12 5.12 0 0 1 3.61-1.35zm-8.08 27.69h9.77l-4.89-14.17z"}),a.createElement("path",{d:"m254.91 115.47c1.26 0 1.56-0.37 1.52-1.57v-7.34c0-1.81-0.88-2.81-2.43-3.65-0.42-0.22-2.2-1.47-1.06-1.47h14.51c1.2 0 1.58 0.28 1.57 1.53v17c0 3.44-2.36 6.78-6.23 6.78h-24.64c-2.49 0-12.93-1.55-12.93-13.85v-19.85c0-12.3 10.44-13.91 12.93-13.89h29.34c1.26 0 1.55 0.39 1.53 1.59v7.54c0 1.2-0.27 1.57-1.53 1.57h-21.82c-4.82 0-7.2 2.53-7.2 5.66v14.29c0 3.12 2.38 5.66 7.2 5.66 0.46 0-0.55-0.03 9.24 0z"}),a.createElement("path",{d:"m504.45 115.47c-4.81 0-7.19-2.54-7.19-5.66v-14.29c0-3.13 2.38-5.66 7.2-5.66h6.11c4.81 0 7.19 2.53 7.19 5.66v14.29c0 3.12-2.37 5.66-7.19 5.66zm13.63 11.28c2.5 0 12.94-1.55 12.94-13.85v-19.85c0-12.3-10.44-13.91-12.93-13.89h-21.15c-2.5 0-12.93 1.59-12.93 13.89v19.87c0 12.3 10.43 13.87 12.93 13.85z"}),a.createElement("path",{d:"m360.39 126.4 16.5-28.05v26.9c0 0.73 0 1.5 1.38 1.5h10.7c1 0 1.38-0.31 1.38-1.47 0-23 0.12-15.91 0-39.31 0-3.44-2.36-6.81-6.23-6.81h-5.09a3.78 3.78 0 0 0-3.52 1.61c-15.92 24.49-14.87 23.21-15.73 23.4-0.86-0.19 0.2 1.11-15.73-23.4a3.78 3.78 0 0 0-3.52-1.61h-5.14c-3.88 0-6.21 3.37-6.23 6.81v39.31c0 1.16 0.34 1.47 1.38 1.47h10.7c1 0 1.38-0.31 1.38-1.47v-26.93l16.5 28.05a0.7 0.7 0 0 0 1.27 0z"}),a.createElement("path",{d:"m477.91 116.43a1.71 1.71 0 0 0-1.22-0.33h-15.12a1.45 1.45 0 0 1-1.45-1.46v-33.93c0-0.74 0-1.55-1.38-1.55h-10.7c-1 0-1.38 0.35-1.38 1.51v39.31c0 3.45 2.35 6.77 6.23 6.77h30a28.44 28.44 0 0 1-4.98-10.32z"}),a.createElement("path",{d:"m614.39 88.22c-2.4-7.83-10.19-9.08-12.3-9.06h-57.53c-3.87 0-6.19 3.37-6.23 6.81v39.31c0 1.16 0.34 1.47 1.38 1.47h10c1 0 1.38-0.31 1.38-1.47v-15.82a1.46 1.46 0 0 1 1.46-1.46h11.49c1.26 0 1.53-0.35 1.53-1.57v-6.91c0-1.22-0.27-1.57-1.53-1.57h-11.5a1.45 1.45 0 0 1-1.46-1.45v-5.19a1.45 1.45 0 0 1 1.46-1.45h28.2v35.42c0 1.16 0.34 1.47 1.37 1.47h10.71c1 0 1.38-0.31 1.38-1.47v-35.42h18.68c1.26 0 1.92-0.3 1.51-1.64z"}),a.createElement("path",{d:"m436.09 106.43c0 1.22-0.27 1.58-1.53 1.57h-22.29a1.47 1.47 0 0 0-1.46 1.46v5.18a1.46 1.46 0 0 0 1.46 1.46h25c1.26 0 1.53 0.41 1.53 1.57v7.54c0 1.2-0.27 1.55-1.52 1.54h-33c-3.87 0-6.19-3.32-6.22-6.77v-34c0-3.44 2.35-6.81 6.23-6.81h33c1.25 0 1.55 0.39 1.53 1.59v7.54c0 1.16-0.27 1.57-1.52 1.57h-25.03a1.46 1.46 0 0 0-1.46 1.45v5.19a1.46 1.46 0 0 0 1.46 1.45h22.29c1.26 0 1.53 0.35 1.53 1.57z"})))),me="gl-id-token",Ei="community",ge={GLID_LOGIN_URL:"https://id.gameloft.com/{CLIENT_ID}/signin.html?scope=openid%20email&redirect_uri=https://wmt-api.gameloft.com/api/id-connect/callback/&client_id={CLIENT_ID}&state={STATE}&lang={LANG}",GLID_SIGNUP_URL:"https://id.gameloft.com/{CLIENT_ID}/signup.html?scope=openid%20email&redirect_uri=https://wmt-api.gameloft.com/api/id-connect/callback/&client_id={CLIENT_ID}&state={STATE}&lang={LANG}",GLID_CHANGE_PWD_URL:"https://id.gameloft.com/{CLIENT_ID}/change.html?scope=openid%20email&redirect_uri=https://wmt-api.gameloft.com/api/id-connect/callback/&client_id={CLIENT_ID}&state={STATE}&lang={LANG}",GLID_DEL_ACC_URL:"https://id.gameloft.com/{CLIENT_ID}/delete.html?scope=openid%20email&redirect_uri=https://wmt-api.gameloft.com/api/id-connect/callback/&client_id={CLIENT_ID}&state={STATE}&lang={LANG}"},Li=()=>{},je={email:void 0,uuid:void 0,_state:"STATE_NONE",access_token:void 0,_token:void 0,idToken:void 0,expires_in:void 0},qt=se({...je,_needUpdateInfo:!0}),Mi=se(t=>{const{_token:e,idToken:n,email:i,uuid:o,access_token:r,_state:l}=t(qt);return{email:i,uuid:o,access_token:r,token:e,idToken:n,state:l}}),xe=Q.createRef(),Ti=()=>{const t=le(),e=Ye(),i=new URLSearchParams(t.search).get("lang")||"en",[o,r]=Re(qt),l=h=>{var p,w;const d={redirect_uri:`${window.location.href}?need_id_token=1`},u=window.btoa(JSON.stringify(d));return((w=(p=h==null?void 0:h.replaceAll("{STATE}",u))==null?void 0:p.replaceAll("{CLIENT_ID}",Ei))==null?void 0:w.replaceAll("{LANG}",(i==null?void 0:i.toLowerCase())||"en"))||window.location.href},c=a.useCallback(h=>{if(h!==void 0)try{Li("Auth call back: ",h),localStorage.setItem(me,JSON.stringify({token:h})),r(d=>({...d,_token:h,_needUpdateInfo:!1,isLoading:!1,_state:"STATE_NONE"}))}catch{r({...je,_state:"STATE_NONE",_needUpdateInfo:!1})}},[r]);return a.useImperativeHandle(xe,()=>({signup:()=>{window.location.href=l(ge.GLID_SIGNUP_URL)},login:()=>{localStorage.removeItem(me),window.location.href=l(ge.GLID_LOGIN_URL)},logout:()=>{o._token&&(localStorage.removeItem(me),r({...je,_token:void 0,idToken:void 0}))},changePassword:()=>{window.location.href=l(ge.GLID_CHANGE_PWD_URL)},deleteAcc:()=>{window.location.href=l(ge.GLID_DEL_ACC_URL)}})),a.useEffect(()=>{const h=localStorage.getItem(me);if(!h)return;const{token:d}=JSON.parse(h);o._needUpdateInfo&&d&&(r(u=>({...u,_state:"STATE_LOADING",_needUpdateInfo:!1})),(async()=>
2{const u=await we.request(we.get(`${ge.API_GET_GLID}?session=${d}`));u.status===200&&u.data.gameloftId?r({_state:"STATE_NONE",_token:d,idToken:d,email:u.data.gameloftId.email,uuid:u.data.gameloftId.uuid}):(r({...je,_state:"STATE_NONE"}),localStorage.removeItem(me))})())},[o,c,r]),a.useEffect(()=>{const d=new URLSearchParams(t.search).get("session");d&&(c(d),e&&e(t.pathname,{replace:!0}),(async()=>{const u=await we.request(we.get(`${ge.API_GET_GLID}?session=${d}`));u.status===200&&u.data.gameloftId?r({_state:"STATE_NONE",_token:d,idToken:d,email:u.data.gameloftId.email,uuid:u.data.gameloftId.uuid}):(r({...je,_state:"STATE_NONE"}),localStorage.removeItem(me))})())},[c,e,t]),null},q={signup:()=>{var t;return(t=xe.current)==null?void 0:t.signup()},login:()=>{var t;return(t=xe.current)==null?void 0:t.login()},logout:()=>{var t;return(t=xe.current)==null?void 0:t.logout()},changePassword:()=>{var t;return(t=xe.current)==null?void 0:t.changePassword()},deleteAcc:()=>{var t;return(t=xe.current)==null?void 0:t.deleteAcc()}},ce=()=>ye(Mi),Pi="_root_6gjpc_1",Ii="_mask_6gjpc_18",Ri="_arrow_6gjpc_38",Oi="_title_6gjpc_52",Bi="_content_6gjpc_70",H={root:Pi,mask:Ii,"mask--opened":"_mask--opened_6gjpc_1",arrow:Ri,"arrow--opened":"_arrow--opened_6gjpc_1",title:Oi,"title--opened":"_title--opened_6gjpc_1",content:Bi,"content--opened":"_content--opened_6gjpc_1","content--non-title":"_content--non-title_6gjpc_138"},He=t=>{const{title:e,content:n,classes:i}=t,[o,r]=a.useState(!1),l=e===void 0;return s.jsxs("div",{className:x(H.root,i==null?void 0:i.root),children:[s.jsx("div",{className:x(H.mask,{[H["mask--opened"]]:o}),onClick:()=>r(!o),children:s.jsx(Ne,{className:x(H.arrow,{[H["arrow--opened"]]:o})})}),e&&s.jsx("div",{className:x(H.title,{[H["title--opened"]]:o},i==null?void 0:i.title),children:e}),s.jsx(B,{className:x(H.content,{[H["content--opened"]]:o},{[H["content--non-title"]]:l},i==null?void 0:i.content),content:n})]})};j.registerPlugin(qe);const Ha=()=>{qe.refresh()},es=Q.forwardRef((t,e)=>{const{component:n="div",options:i,...o}=t,r=n,[l,c]=a.useState(),h=a.useRef();return oe(()=>{var d;l&&!h.current&&(h.current=qe.create({...i,trigger:l}),(d=i==null?void 0:i.onInit)==null||d.call(i,h.current))},[i,l]),s.jsx(r,{...o,ref:d=>{c(d),e&&(typeof e=="function"?e(d):e.current=d)},children:t.children})});es.displayName="ScrollTriggerElm";const Z=Q.forwardRef((t,e)=>{const{component:n,custom:i,delay:o,id:r,...l}=t;return s.jsx(es,{ref:e,...l,component:n,options:{onInit:c=>Tn(c.trigger),onEnter:c=>Mn(c.trigger,1,i,o),once:!0,start:"top 97%",end:"bottom 5%",id:r,scroller:t.scroller},children:t.children})});Z.displayName="AppearanceItem";const zi=t=>{var o,r,l;const{data:e}=te("footer"),{pathname:n}=le();return oe(()=>{var c,h;(h=(c=document.querySelector(".com-footer__inner-link-content"))==null?void 0:c.querySelector(`a[href="${n}"]`))==null||h.classList.add("com-footer__inner-link-content--active")},[n,{data:e}]),s.jsx("div",{className:"com-footer",children:s.jsxs("div",{className:"com-footer__wrapper",children:[s.jsx(Z,{custom:"100px",children:s.jsx(_e,{to:"/",children:s.jsx(Kt,{className:"com-footer__logo"})})}),s.jsx(Z,{custom:"100px",children:s.jsx(He,{content:(e==null?void 0:e.innerLink)||"",classes:{root:J("com-footer__inner-link",(o=t.classes)==null?void 0:o.innerLink),content:"com-footer__inner-link-content"}})}),s.jsx(Z,{custom:"100px",children:s.jsx(He,{title:(e==null?void 0:e.visitTitle)||"",content:(e==null?void 0:e.visitContent)||"",classes:{root:J("com-footer__visit",(r=t.classes)==null?void 0:r.visit),content:"com-footer__visit-content"}})}),s.jsx(Z,{custom:"100px",children:s.jsx(He,{title:(e==null?void 0:e.legalTitle)||"",content:t.overrideLegalContent??(e==null?void 0:e.legalContent)??"",classes:{root:J("com-footer__legal",(l=t.classes)==null?void 0:l.legal),content:"com-footer__legal-content"}})}),s.jsx(Z,{className:"com-footer__follow-lang",custom:"100px",children:s.jsx("div",{className:"com-footer__follow-us",children:s.jsx(Jt,{classes:{icon:"com-footer__sns-icon",iconContainer:"seo-footer-social-tracking-btn"}})})}),s.jsxs("div",{className:"com-footer__bottom-container",children:[!t.overrideCopyright&&s.jsx(Z,{custom:"100px",children:s.jsx(B,{className:"com-footer__c
2opyright text-body3",content:(e==null?void 0:e.copyright)||""})}),t.copyright&&s.jsx(Z,{custom:"100px",children:s.jsx(B,{className:"com-footer__copyright text-body3",content:(t==null?void 0:t.copyright)||""})}),!t.overrideCopyright&&s.jsxs(Z,{custom:"100px",children:[s.jsx(rn,{className:"com-footer__copyright text-body3",children:s.jsx(B,{content:e==null?void 0:e.postCopyright})}),s.jsx(ln,{className:"com-footer__copyright text-body3"})]})]})]})})},ne=t=>a.createElement("svg",{width:28,height:28,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},a.createElement("path",{d:"M1.07227 1.07227L14.0228 14.0228M14.0228 14.0228L1.07227 26.9734M14.0228 14.0228L26.9734 26.9734M14.0228 14.0228L26.9734 1.07227",stroke:"currentColor",strokeWidth:1.43895,strokeLinecap:"round",strokeLinejoin:"round"})),Di=t=>a.createElement("svg",{width:75,height:57,viewBox:"0 0 75 57",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},a.createElement("path",{d:"M3 18.8737L22.0715 53L66.8495 40.54L71 5.82162C71 5.82162 60.6418 20.6992 51.6463 18.9854C43.0323 17.3442 38.3509 1 38.3509 1C38.3509 1 36.1819 20.8533 26.5388 24.827C17.7769 28.4376 3 18.8737 3 18.8737Z",stroke:"#FFBA08",strokeWidth:6.19565})),Hi="data:image/svg+xml,%3csvg%20width='75'%20height='57'%20viewBox='0%200%2075%2057'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3%2018.8737L22.0715%2053L66.8495%2040.54L71%205.82162C71%205.82162%2060.6418%2020.6992%2051.6463%2018.9854C43.0323%2017.3442%2038.3509%201%2038.3509%201C38.3509%201%2036.1819%2020.8533%2026.5388%2024.827C17.7769%2028.4376%203%2018.8737%203%2018.8737Z'%20stroke='%23FFBA08'%20stroke-width='6.19565'/%3e%3c/svg%3e",Fi="_title_2ch7e_1",Ce={title:Fi,"game-list":"_game-list_2ch7e_43","game-item":"_game-item_2ch7e_76","game-img":"_game-img_2ch7e_81","game-name":"_game-name_2ch7e_110"},it=se(""),Ui=()=>$(it),Wi=t=>{var o,r,l,c,h,d;const e=(o=As())==null?void 0:o.chooseTheGames,n=ee(),i=$(it);return s.jsxs("div",{className:"relative flex h-full w-full flex-col items-center justify-center overflow-hidden rounded-2xl px-2 pb-12 pt-14 text-center lg:rounded-3xl xs:pb-16 xs:pt-24 tablet-xl:px-12 tablet-xl:pt-14 desktop-xl:px-28",children:[s.jsx(ne,{onClick:()=>n(!1),className:"absolute right-4 top-5 h-4 w-4 cursor-pointer transition-transform hover:scale-125 tablet-xl:right-7 tablet-xl:top-8 tablet-xl:h-6 tablet-xl:w-6"}),s.jsx(ve,{src:{default:((r=e==null?void 0:e.backgroundMb)==null?void 0:r.url)||((l=e==null?void 0:e.background)==null?void 0:l.url),"tablet-xl":(c=e==null?void 0:e.background)==null?void 0:c.url},alt:"background",className:"object-top"}),s.jsx(B,{className:Ce.title,content:(d=(h=e==null?void 0:e.title)==null?void 0:h.replace("{{user_name}}","A"))==null?void 0:d.replace("{{crown_icon}}",`<img src=${Hi} alt="crown-icon">`)}),s.jsx("div",{className:`flex w-full flex-wrap items-start justify-center gap-y-5 2xs:w-4/5 mobile-xl:w-11/12 tablet-xl:justify-start desktop-xl:w-full desktop-xl:gap-y-8 ${Ce["game-list"]}`,children:e==null?void 0:e.gameList.map((u,p)=>s.jsxs("div",{className:Ce["game-item"],onClick:()=>i(u==null?void 0:u.game),children:[s.jsx("div",{className:Ce["game-img"],children:s.jsx(T,{src:u.logo.url,alt:u.name,width:198,height:198,className:"h-full w-full overflow-hidden rounded-2xl object-cover tablet:rounded-3xl"})}),s.jsx("div",{className:Ce["game-name"],children:u.name})]},p))})]})};let ts="";const ss=async()=>{var t;const e=Date.now();for(;(!window.grecaptcha||!((t=window.grecaptcha)!=null&&t.execute))&&!(Date.now()-e>2e4);)await new Promise(n=>setTimeout(n,300))},Fa=(t,e)=>(ts=t,an(["https://www.google.com/recaptcha/api.js?render="+t],void 0,void 0,e),async n=>(await ss(),window.grecaptcha?await window.grecaptcha.execute(t,{action:n}):null)),Gi={execute:async(t,e)=>(await ss(),window.grecaptcha?(e||(e=ts),await window.grecaptcha.execute(e,{action:t})):null)},Fe={},Vi=t=>{const{src:e,onLoaded:n,lazyProps:i,component:o="span",className:r,...l}=t,[c,h]=a.useState(""),[d,u]=a.useState(!1),[p,w]=a.useState(!1),b=a.useRef(n),[f,m]=a.useState(!1),g=o;return a.useEffect(()=>{Fe[e]?(h(Fe[e]),u(!0)):f&&fetch(e,{cache:"no-cache"}).then(v=>v.text()).then(v=>{Fe[e]=v,h(v)}).catch(v=>{w(!0)}).then(()=>{u(!0),b.current&&b.current()})},[e,f]),s.jsx(cn,{viewOptions:{rootMargin:"100px"},...i,onLoaded:()=>m(!0),children:s.jsx(g,{className:x("svginline",`svginline-${d?"loaded":"loading"}`,{"svginline-error":p},r),...l,dangerouslySetInnerHTML:{__html:c}})})};function Zi(t,e){for(var n=-1,i=t==null?0:t.length;++n<i&&e(t[n],n,t)!==!1;);return t}function Yi(t,e,n){var i=t.length;return n=n===void 0?i:n,n>=i?t:nt(t,e,n)}var Ji="\\ud800-\\udfff",Qi="\\u0300-\\u036f",$i="\\ufe20-\\ufe2f",Xi="\\u20d0-\\u20ff",Ki=Qi+$i+Xi,qi="\\ufe0e\\ufe0f",eo="\\u200d",to=RegExp("["+eo+Ji+Ki+qi+"]");function ot(t){return to.test(t)}function so(t){return t.split("")}var ns="\\ud800-\\udfff",no="\\u0300-\\u036f",io="\\ufe20-\\ufe2f",oo="\\u20d0-\\u20ff",ro=no+io+oo,lo="\\ufe0e\\ufe0f",ao="["+ns+"]",We="["+ro+"]",Ge="\\ud83c[\\udffb-\\udfff]",co="(?:"+We+"|"+Ge+")",is="[^"+ns+"]",os="(?:\\ud83c[\\udde6-\\uddff]){2}",rs="[\\ud800-\\udbff][\\udc00-\\udfff]",ho="\\u200d",ls=co+"?",as="["+lo+"]?",uo="(?:"+ho+"(?:"+[is,os,rs].join("|")+")"+as+ls+")*",mo=as+ls+uo,go="(?:"+[is+We+"?",We,os,rs,ao].join("|")+")",fo=RegExp(Ge+"
2(?="+Ge+")|"+go+mo,"g");function po(t){return t.match(fo)||[]}function xo(t){return ot(t)?po(t):so(t)}var wo=Math.ceil,vo=Math.max;function bo(t,e,n){e===void 0?e=1:e=vo(st(e),0);var i=t==null?0:t.length;if(!i||e<1)return[];for(var o=0,r=0,l=Array(wo(i/e));o<i;)l[r++]=nt(t,o,o+=e);return l}var Co=Object.getOwnPropertySymbols,jo=Co?function(t){for(var e=[];t;)Hs(e,Fs(t)),t=Us(t);return e}:Ds;function cs(t){return Ws(t,Gs,jo)}var _o=Object.prototype,yo=_o.hasOwnProperty;function ko(t){var e=t.length,n=new t.constructor(e);return e&&typeof t[0]=="string"&&yo.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function No(t,e){var n=It(t.buffer);return new t.constructor(n,t.byteOffset,t.byteLength)}var Ao=/\w*$/;function So(t){var e=new t.constructor(t.source,Ao.exec(t));return e.lastIndex=t.lastIndex,e}var ut=ct?ct.prototype:void 0,mt=ut?ut.valueOf:void 0;function Eo(t){return mt?Object(mt.call(t)):{}}var Lo="[object Boolean]",Mo="[object Date]",To="[object Map]",Po="[object Number]",Io="[object RegExp]",Ro="[object Set]",Oo="[object String]",Bo="[object Symbol]",zo="[object ArrayBuffer]",Do="[object DataView]",Ho="[object Float32Array]",Fo="[object Float64Array]",Uo="[object Int8Array]",Wo="[object Int16Array]",Go="[object Int32Array]",Vo="[object Uint8Array]",Zo="[object Uint8ClampedArray]",Yo="[object Uint16Array]",Jo="[object Uint32Array]";function Qo(t,e,n){var i=t.constructor;switch(e){case zo:return It(t);case Lo:case Mo:return new i(+t);case Do:return No(t);case Ho:case Fo:case Uo:case Wo:case Go:case Vo:case Zo:case Yo:case Jo:return Vs(t,n);case To:return new i;case Po:case Oo:return new i(t);case Io:return So(t);case Ro:return new i;case Bo:return Eo(t)}}var $o="[object Map]";function Xo(t){return Rt(t)&&$e(t)==$o}var gt=Ie&&Ie.isMap,Ko=gt?Ot(gt):Xo,qo="[object Set]";function er(t){return Rt(t)&&$e(t)==qo}var ft=Ie&&Ie.isSet,tr=ft?Ot(ft):er,sr=1,ds="[object Arguments]",nr="[object Array]",ir="[object Boolean]",or="[object Date]",rr="[object Error]",hs="[object Function]",lr="[object GeneratorFunction]",ar="[object Map]",cr="[object Number]",us="[object Object]",dr="[object RegExp]",hr="[object Set]",ur="[object String]",mr="[object Symbol]",gr="[object WeakMap]",fr="[object ArrayBuffer]",pr="[object DataView]",xr="[object Float32Array]",wr="[object Float64Array]",vr="[object Int8Array]",br="[object Int16Array]",Cr="[object Int32Array]",jr="[object Uint8Array]",_r="[object Uint8ClampedArray]",yr="[object Uint16Array]",kr="[object Uint32Array]",k={};k[ds]=k[nr]=k[fr]=k[pr]=k[ir]=k[or]=k[xr]=k[wr]=k[vr]=k[br]=k[Cr]=k[ar]=k[cr]=k[us]=k[dr]=k[hr]=k[ur]=k[mr]=k[jr]=k[_r]=k[yr]=k[kr]=!0;k[rr]=k[hs]=k[gr]=!1;function Me(t,e,n,i,o,r){var l,c=e&sr;if(n&&(l=o?n(t,i,o,r):n(t)),l!==void 0)return l;if(!At(t))return t;var h=Mt(t);if(h)l=ko(t);else{var d=$e(t),u=d==hs||d==lr;if(Zs(t))return Ys(t,c);if(d==us||d==ds||u&&!o)l={};else{if(!k[d])return o?t:{};l=Qo(t,d,c)}}r||(r=new kt);var p=r.get(t);if(p)return p;r.set(t,l),tr(t)?t.forEach(function(f){l.add(Me(f,e,n,f,t,r))}):Ko(t)&&t.forEach(function(f,m){l.set(m,Me(f,e,n,m,t,r))});var w=cs,b=h?void 0:w(t);return Zi(b||t,function(f,m){b&&(m=f,f=t[m]),Js(l,m,Me(f,e,n,m,t,r))}),l}function Nr(t){return Qs(t)?void 0:t}var Ar=1,Sr=2,Er=4,Lr=wn(function(t,e){var n={};if(t==null)return n;var i=!1;e=$s(e,function(r){return r=Tt(r,t),i||(i=r.length>1),r}),Xs(t,cs(t),n),i&&(n=Me(n,Ar|Sr|Er,Nr));for(var o=e.length;o--;)Vt(n,e[o]);return n}),Mr=9007199254740991,Tr=Math.floor;function pt(t,e){var n="";if(!t||e<1||e>Mr)return n;do e%2&&(n+=t),e=Tr(e/2),e&&(t+=t);while(e);return n}var Pr=Gt("length"),ms="\\ud800-\\udfff",Ir="\\u0300-\\u036f",Rr="\\ufe20-\\ufe2f",Or="\\u20d0-\\u20ff",Br=Ir+Rr+Or,zr="\\ufe0e\\ufe0f",Dr="["+ms+"]",Ve="["+Br+"]",Ze="\\ud83c[\\udffb-\\udfff]",Hr="(?:"+Ve+"|"+Ze+")",gs="[^"+ms+"]",fs="(?:\\ud83c[\\udde6-\\uddff]){2}",ps="[\\ud800-\\udbff][\\udc00-\\udfff]",Fr="\\u200d",xs=Hr+"?",ws="["+zr+"]?",Ur="(?:"+Fr+"(?:"+[gs,fs,ps].join("|")+")"+ws+xs+")*",Wr=ws+xs+Ur,Gr="(?:"+[gs+Ve+"?",Ve,fs,ps,Dr].join("|")+")",xt=RegExp(Ze+"(?="+Ze+")|"+Gr+Wr,"g");function Vr(t){for(var e=xt.lastIndex=0;xt.test(t);)++e;return e}function vs(t){return ot(t)?Vr(t):Pr(t)}var Zr=Math.ceil;function Yr(t,e){e=e===void 0?" ":Ks(e);var n=e.length;if(n<2)return n?pt(e,t):e;var i=pt(e,Zr(t/vs(e)));return ot(e)?Yi(xo(i),0,t).join(""):i.slice(0,t)}function Jr(t,e,n){t=qs(t),e=st(e);var i=e?vs(t):0;return e&&i<e?Yr(e-i,n)+t:t}const rt=t=>
2a.createElement("svg",{width:30,height:30,viewBox:"0 0 44 43",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},a.createElement("path",{d:"M33.866 10.3019C31.5883 9.24355 29.1839 8.49273 26.714 8.0686C26.376 8.68183 26.0702 9.31275 25.7978 9.95874C23.1669 9.55636 20.4915 9.55636 17.8605 9.95874C17.588 9.31282 17.2822 8.6819 16.9444 8.0686C14.4729 8.49631 12.0669 9.24892 9.78694 10.3074C5.26071 17.1042 4.03372 23.7321 4.64721 30.2659C7.29789 32.2536 10.2648 33.7653 13.4188 34.7353C14.129 33.7658 14.7575 32.7373 15.2975 31.6607C14.2718 31.2719 13.2819 30.7922 12.3391 30.2272C12.5872 30.0445 12.8299 29.8563 13.0644 29.6737C15.8076 30.9831 18.8018 31.662 21.8333 31.662C24.8648 31.662 27.8589 30.9831 30.6022 29.6737C30.8394 29.8702 31.0821 30.0584 31.3275 30.2272C30.3829 30.7931 29.3911 31.2737 28.3636 31.6635C28.9029 32.7396 29.5314 33.7672 30.2423 34.7353C33.399 33.7692 36.3682 32.2582 39.0193 30.2687C39.7392 22.6915 37.7896 16.1245 33.866 10.3019ZM16.0746 26.2477C14.365 26.2477 12.9526 24.673 12.9526 22.7358C12.9526 20.7986 14.3159 19.2102 16.0691 19.2102C17.8224 19.2102 19.2239 20.7986 19.1939 22.7358C19.1639 24.673 17.8169 26.2477 16.0746 26.2477ZM27.592 26.2477C25.8796 26.2477 24.4727 24.673 24.4727 22.7358C24.4727 20.7986 25.836 19.2102 27.592 19.2102C29.3479 19.2102 30.7385 20.7986 30.7085 22.7358C30.6785 24.673 29.3343 26.2477 27.592 26.2477Z",fill:"currentColor"})),Qr="data:image/svg+xml,%3csvg%20width='30'%20height='30'%20viewBox='0%200%2044%2043'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M33.866%2010.3019C31.5883%209.24355%2029.1839%208.49273%2026.714%208.0686C26.376%208.68183%2026.0702%209.31275%2025.7978%209.95874C23.1669%209.55636%2020.4915%209.55636%2017.8605%209.95874C17.588%209.31282%2017.2822%208.6819%2016.9444%208.0686C14.4729%208.49631%2012.0669%209.24892%209.78694%2010.3074C5.26071%2017.1042%204.03372%2023.7321%204.64721%2030.2659C7.29789%2032.2536%2010.2648%2033.7653%2013.4188%2034.7353C14.129%2033.7658%2014.7575%2032.7373%2015.2975%2031.6607C14.2718%2031.2719%2013.2819%2030.7922%2012.3391%2030.2272C12.5872%2030.0445%2012.8299%2029.8563%2013.0644%2029.6737C15.8076%2030.9831%2018.8018%2031.662%2021.8333%2031.662C24.8648%2031.662%2027.8589%2030.9831%2030.6022%2029.6737C30.8394%2029.8702%2031.0821%2030.0584%2031.3275%2030.2272C30.3829%2030.7931%2029.3911%2031.2737%2028.3636%2031.6635C28.9029%2032.7396%2029.5314%2033.7672%2030.2423%2034.7353C33.399%2033.7692%2036.3682%2032.2582%2039.0193%2030.2687C39.7392%2022.6915%2037.7896%2016.1245%2033.866%2010.3019ZM16.0746%2026.2477C14.365%2026.2477%2012.9526%2024.673%2012.9526%2022.7358C12.9526%2020.7986%2014.3159%2019.2102%2016.0691%2019.2102C17.8224%2019.2102%2019.2239%2020.7986%2019.1939%2022.7358C19.1639%2024.673%2017.8169%2026.2477%2016.0746%2026.2477ZM27.592%2026.2477C25.8796%2026.2477%2024.4727%2024.673%2024.4727%2022.7358C24.4727%2020.7986%2025.836%2019.2102%2027.592%2019.2102C29.3479%2019.2102%2030.7385%2020.7986%2030.7085%2022.7358C30.6785%2024.673%2029.3343%2026.2477%2027.592%2026.2477Z'%20fill='currentColor'/%3e%3c/svg%3e",$r=t=>{var r,l,c,h,d,u;const e=Ke(),n={discord:Qr},i=e.register(t.name,{...t.constraints,pattern:(r=t.constraints)!=null&&r.pattern?Xe((l=t.constraints)==null?void 0:l.pattern):void 0,...(c=t.override)==null?void 0:c.constraints}),o=p=>{i.onChange(p)};return s.jsxs("div",{className:"form-input-field--disabled form-input-field",children:[s.jsx("div",{className:"mb-1 text-body2 font-semibold uppercase text-[#6E6E6E]",children:t==null?void 0:t.label}),s.jsxs("div",{className:"relative",children:[n[t.iconName]&&s.jsx(T,{className:"absolute left-0 top-1/4 h-6 w-auto translate-x-1/2 translate-y-[15%]",src:n[t.iconName],width:31,height:22,alt:"Input Icon"}),s.jsx("input",{className:"w-full bg-[#B6B6B6] pl-14",type:"text",...i,onChange:o,rows:(h=t.constraints)==null?void 0:h.rows,maxLength:(d=t.constraints)==null?void 0:d.maxLength,placeholder:t.placeholder,disabled:!0,...(u=t.override)==null?void 0:u.props})]})]})},Xr=t=>{var l,c,h,d;const e=Ke(),[n,i]=a.useState(void 0);a.useEffect(()=>{const u=e.watch(t.name);i(u)},[e,t.choices,t.name]);const o=e.register(t.name,{...t.constraints,pattern:(l=t.constraints)!=null&&l.pattern?Xe((c=t.constraints)==null?void 0:c.pattern):void 0,...(h=t.override)==null?void 0:h.constraints}
2),r=Pe(e.formState.errors,t.name);return s.jsxs("div",{className:"relative flex flex-col gap-4 text-black ",children:[s.jsx("p",{className:"my-0 text-subtitle2 font-bold text-black",children:t==null?void 0:t.label}),s.jsx("div",{className:"flex gap-28 font-medium",children:t==null?void 0:t.choices.map((u,p)=>{var w;return s.jsxs("div",{children:[s.jsx("input",{...o,type:"radio",id:`${u.value}-${t.name}`,value:u.value,name:t.name,onChange:b=>{i(b.target.value)}}),s.jsx("label",{htmlFor:`${u.value}-${t.name}`,children:u.name}),r&&p===0&&s.jsxs("div",{className:"form-input-field__error",children:[s.jsx(Ue,{className:"form-input-field__error-icon"}),((w=t.errors)==null?void 0:w[r.type])||r.message||"Error"]})]},p)})}),(d=t==null?void 0:t.custom)==null?void 0:d.extra.map(u=>{var w,b;const p=Pe(e.formState.errors,u.name);return s.jsx(s.Fragment,{children:n===u.choice&&s.jsxs("div",{className:"form-input-field relative",children:[s.jsx("label",{className:"font-semibold",children:u.label}),s.jsx("textarea",{className:"mt-1",...e.register(u.name,{...u.constraints}),name:u.name,maxLength:(w=u.constraints)==null?void 0:w.maxLength,placeholder:u.placeholder}),p&&s.jsxs("div",{className:"form-input-field__error",children:[s.jsx(Ue,{className:"form-input-field__error-icon"}),((b=u.errors)==null?void 0:b[p.type])||p.message||"Error"]})]})})})]})},Kr=t=>{var u,p,w,b,f,m,g,v,E,L;const e=Ke(),[n,i]=a.useState(0),o=a.useRef(null),r=Pe(e.formState.errors,t.name),{ref:l,...c}=e.register(t.name,{...t.constraints,pattern:(u=t.constraints)!=null&&u.pattern?Xe((p=t.constraints)==null?void 0:p.pattern):void 0,...(w=t.override)==null?void 0:w.constraints}),h=()=>{o!=null&&o.current&&(o.current.style.height="inherit",o.current.style.height=`${o.current.scrollHeight+4}px`)};a.useEffect(()=>{var A;((A=o==null?void 0:o.current)==null?void 0:A.value)===""&&(o.current.style.height="auto",i(0))},[(b=o==null?void 0:o.current)==null?void 0:b.value]);const d=A=>{h(),c.onChange(A),i(A.target.value.length)};return s.jsxs("div",{className:"form-input-field relative",children:[s.jsx("label",{className:"text-subtitle2 font-bold",children:t.label}),s.jsx("textarea",{className:"mt-1",...c,onChange:d,maxLength:(f=t.constraints)==null?void 0:f.maxLength,placeholder:t.placeholder,disabled:t.disabled,...(m=t.override)==null?void 0:m.props,ref:A=>{dt(l,A),dt(o,A)}}),((g=t==null?void 0:t.constraints)==null?void 0:g.maxLength)&&s.jsxs("div",{className:"text-caption-1 absolute bottom-0 left-4 right-4 flex h-7 translate-y-full select-none items-center justify-end ",children:[(t==null?void 0:t.constraints.maxLength)-(n>0?n:(v=e.watch(t.name))==null?void 0:v.length)," ",((E=t==null?void 0:t.constraints)==null?void 0:E.limitCharacterText)||"characters left"]}),r&&s.jsxs("div",{className:"form-input-field__error",children:[s.jsx(Ue,{className:"form-input-field__error-icon"}),((L=t.errors)==null?void 0:L[r.type])||r.message||"Error"]})]})},qr={show:{opacity:1,scale:1,transition:{duration:.2}},hide:{opacity:0,scale:.6,transition:{duration:.2}}},el=({isShow:t,setIsShow:e,data:n,onClosePopup:i})=>{var o,r,l,c;return s.jsx(re,{children:t&&s.jsxs(ae,{isOpen:t,classes:{content:"rounded-2xl tablet:rounded-3xl max-w-[1000px] overflow-hidden"},onKeyEcs:e,onBackClick:e,children:[s.jsx(ne,{onClick:e,className:"absolute right-4 top-5 z-2 h-4 w-4 cursor-pointer transition-transform hover:scale-125 tablet-xl:right-7 tablet-xl:top-8 tablet-xl:h-6 tablet-xl:w-6"}),s.jsx(ve,{src:{default:((o=n==null?void 0:n.backgroundMobile)==null?void 0:o.url)||((r=n==null?void 0:n.background)==null?void 0:r.url),tablet:(l=n==null?void 0:n.background)==null?void 0:l.url},alt:"Popup background"}),s.jsxs(_.div,{variants:qr,animate:"show",initial:"hide",exit:"hide",className:"relative flex h-[75vh] max-h-[507px] w-11/12 max-w-[507px] flex-col items-center justify-around overflow-auto px-5 pb-11 pt-6 text-center lg:h-[65vh] lg:max-h-none lg:w-[65vw] lg:max-w-none lg:pb-14 lg:pt-11 3xl:pt-16",children:[s.jsx("p",{className:"m-0 w-4/5 pb-7 text-h1 font-bold lg:pb-3 3xl:pb-5",children:n==null?void 0:n.title}),s.jsx(B,{content:n==null?void 0:n.desctiption,className:"m-0 pb-12 text-subtitle2 font-medium lg:pb-10 3xl:pb-15"}),s.jsx(T,{className:"mb-28 h-[6.5rem] w-[6.5rem] lg:mb-15 3xl:mb-24 3xl:h-[7.5rem] 3xl:w-[7.5rem]",src:(c=n==null?void 0:n.character)==null?void 0:c.url,alt:"Character",width:166,height:166}),s.jsx(I,{className:"h-14 w-40 px-4 py-4 text-subtitle2 font-bold",onClick:i,children:n==null?void 0:n.btnText})]})]})})},Se={"player-mod-tab":"_player-mod-tab_44z19_1","player-mod-tab__active":"_player-mod-tab__active_44z19_1","player-mod-tab__passed":"_player-mod-tab__passed_44z19_1","player-mod-form":"_player-mod-form_44z19_48"},wt=[],tl=t=>{const{data:e}=t,[n,i]=a.useState(0),r=!!(ce()||{}).uuid,l="@ahck20834",c=ee(),h=ee(),d=js(),u=a.useMemo(()=>r?{...e==null?void 0:e.applyForm[n],formFields:e==null?void 0:e.applyForm[n].formFields.filter(y=>y.name!=="playerID")}:e==null?void 0:e.applyForm[n],[n,e==null?void 0:e.applyForm,r]),p=(e==null?void 0:e.applyForm.length)??0,[w,b]=a.useState(!1),[f,m]=a.useState({show:!1,success:!0}),g={title:f.success?e==null?void 0:e.successTitle:e==null?void 0:e.failedTitle,de
2sctiption:f.success?e==null?void 0:e.successDesc:e==null?void 0:e.failedDesc,btnText:f.success?e==null?void 0:e.successBtnText:e==null?void 0:e.failedBtnText,btnUrl:f.success?e==null?void 0:e.successBtnUrl:e==null?void 0:e.failedBtnUrl,character:f.success?e==null?void 0:e.successCharacter:e==null?void 0:e.failedCharacter,background:e==null?void 0:e.popupBackground,backgroundMobile:e==null?void 0:e.popupBackgroundMobile},v=dn(),E=async y=>{var N,D,U;if(n===p-1){b(!0),y.captcha=await Gi.execute("SignupForm");const X=await we.request(we.post("",y));if(X.status===200)m({show:!0,success:!0}),v.reset();else if(X.status===422){const M=((D=(N=X.data._error)==null?void 0:N.info)==null?void 0:D.error)||((U=X.data._error)==null?void 0:U.info);let S=!1;for(const de in M)if(Object.keys(y).includes(de)){S=!0;const he=M[de];v.setError(de,{type:(he==null?void 0:he.type)||"server",message:(he==null?void 0:he.message)||"Invalid field"})}S||m({show:!0,success:!1})}else m({show:!0,success:!1});b(!1)}else wt.push(n),i(n+1)},L=y=>{if("name"in y&&y.name==="discordID")return v.register("discordID",{value:l}),{props:{disabled:!0,value:l}}},A=()=>{f.success?(m({show:!1}),h(!1)):(m({show:!1}),i(0))};return s.jsxs("div",{className:"relative h-full w-full overflow-hidden rounded-3xl",children:[s.jsx(ne,{onClick:()=>c(!1),className:"absolute right-4 top-5 h-4 w-4 cursor-pointer transition-transform hover:scale-125 tablet-xl:right-7 tablet-xl:top-8 tablet-xl:h-6 tablet-xl:w-6"}),s.jsx(ve,{src:e==null?void 0:e.background.url,alt:"Game background"}),s.jsxs("div",{className:"flex h-full w-full flex-col justify-center px-5 py-14 pt-8 lg:px-20",children:[s.jsx("div",{className:"mb-7 flex w-full items-center justify-between lg:gap-3",children:e==null?void 0:e.applyForm.map((y,N)=>{const D=n===N,U=wt.includes(N);return s.jsxs(s.Fragment,{children:[s.jsxs("div",{onClick:()=>{U&&i(N)},className:`${Se["player-mod-tab"]} ${D?Se["player-mod-tab__active"]:U?Se["player-mod-tab__passed"]:""} `,children:[s.jsx(Vi,{className:`w-auto [&>svg]:h-6 ${D||U?"[&>svg>path]:fill-white":""} `,src:y.stepIcon.url,width:25,height:17,alt:"Step icon"}),s.jsx("div",{className:`${D?"block":"hidden lg:block"} m-0 text-center text-body1`,children:y.stepTitle})]},y.stepTitle),N<e.applyForm.length-1&&s.jsx("hr",{className:"w-6 max-w-12 xs:w-full 3xl:min-w-20"})]})})}),s.jsx("p",{className:"m-0 pr-5 text-h2 text-[#FF9A00]",children:u==null?void 0:u.title}),s.jsx("div",{className:Se["player-mod-form"],children:s.jsx(hn,{...v,children:s.jsxs("form",{className:"flex flex-col gap-4",onSubmit:v.handleSubmit(E),children:[s.jsx(un,{helpInfo:y=>{var N;return y.name==="playerID"?(N=y.custom)==null?void 0:N.helpInfo:void 0},config:u==null?void 0:u.formFields,disabled:w,override:L,registerCustomType:{inputRadio:Xr,inputIcon:$r,inputTextLength:Kr}}),s.jsx("div",{className:"mt-7 hidden lg:block",children:s.jsx(I,{className:"h-12 w-40 font-bold text-white",loading:w,children:n<((e==null?void 0:e.applyForm.length)??0)-1?u==null?void 0:u.btnText:e==null?void 0:e.submitBtnText})}),s.jsxs("div",{className:"absolute bottom-0 left-0 flex w-full justify-between bg-white px-5 py-4 lg:hidden",children:[s.jsx("div",{className:"flex h-12 w-40 items-center justify-center rounded-lg border-1 border-solid border-[#0095F3] bg-white font-bold text-[#0095F3]",onClick:()=>{n>0?i(y=>y-1):d(!0)},children:e==null?void 0:e.backBtnText}),s.jsx(I,{className:"h-12 w-40 font-bold text-white",disabled:!v.formState.isValid,loading:w,children:n<((e==null?void 0:e.applyForm.length)??0)-1?u==null?void 0:u.btnText:e==null?void 0:e.submitBtnText})]})]})})})]}),s.jsx(el,{isShow:f.show,setIsShow:()=>m({show:!1}),data:g,onClosePopup:A})]})},bs=t=>a.createElement("svg",{width:246,height:348,viewBox:"0 0 246 348",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},a.createElement("path",{d:"M122.09 109.466H227.257L33.4142 342L104.178 156.72H21L170.131 6L122.09 109.466Z",stroke:"#FFE380",strokeWidth:16.8})),vt={"discord-btn":"_discord-btn_vo7l9_1","scroll-wrapper":"_scroll-wrapper_vo7l9_38"},sl=t=>{const{data:e,contentList:n}=t,i=ee(),o=js();return s.jsxs("div",{className:"relative flex h-full w-full items-center justify-center bg-[#2eaeff] px-2 py-10 text-white lg:pb-16 lg:pt-12 xs:px-8 xs:py-14 desktop-l:px-10",children:[s.jsx(ne,{onClick:()=>i(!1),className:"absolute right-4 top-5 h-4 w-4 cursor-pointer transition-transform hover:scale-125 tablet-xl:right-7 tablet-xl:top-8 tablet-xl:h-6 tablet-xl:w-6"}),s.jsxs("div",{className:"flex w-full flex-col items-center justify-center desktop-xl:w-11/12",children:[s.jsx("div",{className:"absolute -right-8 bottom-5 z-1 h-24 w-24 rounded-full bg-[#B7F5FF] tablet-xl:bottom-8 tablet-xl:right-4"}
2),s.jsx(bs,{className:"absolute -left-3.5 top-[35%] z-1 h-auto w-16 xs:w-24 tablet-xl:left-0 tablet-xl:top-[20%] tablet-xl:w-[15%]"}),s.jsx("div",{className:"relative z-2 mb-9 text-center text-3xl font-extrabold lg:mb-10 xl:text-h2",children:e==null?void 0:e.title}),s.jsxs("div",{className:`relative z-2 flex w-full flex-col items-center justify-start gap-7 px-3 lg:gap-10 ${vt["scroll-wrapper"]}`,children:[n==null?void 0:n.map((r,l)=>s.jsxs("div",{className:"w-full",children:[s.jsx("div",{className:"mb-6 text-center text-xl font-bold sm:mb-10 xl:text-subtitle xl:font-bold",children:r==null?void 0:r.title}),s.jsx("div",{className:"relative flex w-full flex-col items-center justify-center rounded-[2.5rem] bg-white px-6 py-8 text-black xs:p-10 desktop-l:py-9",children:s.jsx("div",{className:"relative z-2 flex flex-wrap items-start justify-center gap-7 2xl:gap-8",children:r==null?void 0:r.infoList.map((c,h)=>s.jsxs("div",{className:"flex w-full flex-col items-start justify-start gap-3 lg:w-[30%] lg:gap-4",children:[s.jsxs("div",{className:"flex w-full items-center justify-start gap-4 lg:min-h-12",children:[s.jsx(T,{src:c.icon.url,alt:"info icon",width:40,height:28,className:"h-auto w-9 2xl:w-10"}),s.jsx("div",{className:"text-subtitle2 !font-bold xl:text-body1",children:c.title})]}),s.jsx("div",{className:"w-full text-body1",children:c==null?void 0:c.subTitle})]},h))})})]},l)),s.jsxs(I,{className:vt["discord-btn"],onClick:()=>o(!0),children:[s.jsx(rt,{className:"relative z-2 mr-2.5 w-8 text-white xl:w-10"}),s.jsx("div",{className:"relative z-2 text-body1 !font-bold lg:text-subtitle2",children:e==null?void 0:e.btnText})]})]})]})]})},Cs=se(!1),js=()=>$(Cs),nl=({data:t})=>{const e=ye(Cs);return s.jsx("div",{className:"h-full w-full",children:e?s.jsx(tl,{data:t}):s.jsx(sl,{data:t==null?void 0:t.welcome,contentList:t==null?void 0:t.welcomeContentList})})},il={show:{opacity:1,scale:1,transition:{duration:.2}},hide:{opacity:0,scale:.6,transition:{duration:.2}}},_s=se(!1),ee=()=>$(_s),ol=t=>{const[e,n]=Re(_s),[i,o]=Re(it),r=rl(),l=r==null?void 0:r.find(c=>c.game===i);return a.useEffect(()=>{const c=sessionStorage.getItem("gameApplyPopup");!i&&c&&(o(c),sessionStorage.removeItem("gameApplyPopup"))},[i]),s.jsx(re,{children:e&&s.jsx(ae,{isOpen:e,onBackClick:()=>n(!1),onKeyEcs:()=>n(!1),classes:{content:"w-full mx-5 max-w-[1200px] xl:rounded-3xl overflow-hidden lg:mx-12 rounded-2xl tablet:rounded-3xl desktop:mx-0 desktop-xl:w-full"},children:s.jsx(_.div,{variants:il,style:{width:"100%"},animate:"show",initial:"hide",exit:"hide",children:i?s.jsx(nl,{data:l}):s.jsx(Wi,{})})})})},rl=()=>{const{data:t}=te("player-mod-apply-form");return t},ys=t=>{try{if(!window.Didomi)return[];const e=window.Didomi.getRequiredVendors().find(n=>n.didomiId===t);return(e==null?void 0:e.purposeIds)||[]}catch{return[]}},bt=(t,e)=>{var n,i;try{if(!window.Didomi)return!1;if(!window.Didomi.isConsentRequired())return!0;const o=window.Didomi.getCurrentUserStatus();if(!((i=(n=o==null?void 0:o.vendors)==null?void 0:n[t])!=null&&i.enabled))return!1;const r=[...ys(t),...e||[]];return r.length===0?!0:o.purposes?r.every(l=>{var c;return(c=o.purposes[l])==null?void 0:c.enabled}):!1}catch{return!1}},Ct=(t,e)=>t.reduce((n,i)=>(n[i]={id:i,enabled:e},n),{}),ks=(t,e)=>{if(!t||typeof t!="string")throw new Error("vendorId must be a non-empty string");const[n,i]=a.useState(!1);a.useEffect(()=>{let r=null;const l=()=>{i(bt(t,e)),window.Didomi&&(r=()=>{i(bt(t,e))},window.Didomi.on("consent.changed",r))};return window.Didomi?l():(window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(()=>{l()})),()=>{r&&window.Didomi&&window.Didomi.off("consent.changed",r)}},[t,e]);const o=a.useCallback(r=>{var l;try{if(!((l=window.Didomi)!=null&&l.isConsentRequired()))return;const c=window.Didomi.getUserConsentStatusForAll();if(!c)return;const h=window.Didomi.getRequiredVendors().filter(m=>c.vendors.enabled.includes(m.id)||c.vendors.disabled.includes(m.id)).reduce((m,g)=>(m[g.didomiId]={id:g.didomiId,enabled:c.vendors.enabled.includes(g.id)},m),{}),d=window.Didomi.getRequiredPurposes().filter(m=>c.purposes.enabled.includes(m.id)||c.purposes.disabled.includes(m.id)).reduce((m,g)=>(m[g.id]={id:g.id,enabled:c.purposes.enabled.includes(g.id)},m),{}),u=r?ys(t):[],p=[...e||[],...u],w=Array.from(new Set(p)),b=Ct(w,r),f=Ct([t],r);window.Didomi.setCurrentUserStatus({vendors:{...h,...f},purposes:{...d,...b}})}catch{}},[t,e]);return[n,o]},ll=({vendorId:t,purposeIds:e,children:n,placeholder:i=null})=>{const[o]=ks(t,e);return o?n:i},al=mn,cl=[{vendorId:"youtube",urlRegex:/^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=|embed\/|v\/|shorts\/|share\?v=|\?v=|live\/)?([A-Za-z0-9_-]{11}
2)(?:[?&].*)?$/,name:"YouTube"},{vendorId:"dailymotio-fr3nwMrk",urlRegex:/^(?:https?:\/\/)?(?:www\.)?dailymotion\.com\/(?:video|embed)\/([A-Za-z0-9]+)(?:[?&].*)?$/,name:"Daily Motion"}],dl={show:{opacity:1,scale:1,transition:{duration:.2}},hide:{opacity:0,scale:.6,transition:{duration:.2}}},hl=t=>{const{isOpen:e,url:n,onClose:i,controls:o=!0,playing:r,...l}=t;return s.jsx(re,{children:s.jsxs(ae,{isOpen:e,classes:{content:"relative max-h-[85vh] w-[80vw] max-w-[150vh]",mask:"bg-[#0C0110] opacity-95"},onBackClick:i,onKeyEcs:i,children:[s.jsx(ne,{className:"absolute right-3 top-3 z-1 cursor-pointer text-black",onClick:()=>i==null?void 0:i()}),s.jsx(_.div,{className:"h-full w-full",variants:dl,animate:"show",initial:"hide",exit:"hide",children:s.jsx(ul,{url:n,...l,playing:r??!0})})]})})},ul=({playIcon:t,playing:e,classes:n,width:i,height:o,onPause:r,onPlay:l,className:c,consents:h,...d})=>{const[u,p]=a.useState(e||!1),[w,b]=a.useState(!1),f=ke(),{url:m}=d,g=a.useMemo(()=>{let L;if(!L){const A=cl.find(y=>y.urlRegex.test(m.trim()));A&&(L={vendorId:A.vendorId,name:A.name})}return h&&L&&(L={...L,...h[L.vendorId]}),L},[m,h]),[,v]=ks((g==null?void 0:g.vendorId)||"none",(g==null?void 0:g.additionalPurposes)||void 0),E=g?ll:Q.Fragment;return a.useEffect(()=>{p(e??!1)},[e]),s.jsxs(s.Fragment,{children:[s.jsx(gn,{ratio:56.25,className:J("w-full",c,n==null?void 0:n.root),children:s.jsx(E,{vendorId:(g==null?void 0:g.vendorId)||"",placeholder:s.jsx("div",{className:"absolute left-1/2 top-1/2 flex h-full w-full -translate-x-1/2 -translate-y-1/2 cursor-pointer items-center justify-center rounded-lg bg-white",onClick:()=>b(!0),children:!(g!=null&&g.consentPlaceholder)||typeof(g==null?void 0:g.consentPlaceholder)=="string"?s.jsx(B,{className:"text-h5 px-8 py-5 text-center text-black",content:(g==null?void 0:g.consentPlaceholder)||(f==null?void 0:f["consent-placeholder"])||"<p>This content is unavailable due to your privacy settings.</p><u>Click to manage.</u>"}):g==null?void 0:g.consentPlaceholder}),children:s.jsx(al,{playing:u,className:J("absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 bg-black",n==null?void 0:n.player),width:i||"100%",height:o||"100%",playIcon:t?typeof t=="string"?s.jsx("div",{className:J("absolute left-1/2 top-1/2 flex w-[15%] -translate-x-1/2 -translate-y-1/2 items-center justify-center",n==null?void 0:n.button),children:s.jsx(T,{width:40,height:40,className:"h-auto w-full transition-all hover:scale-110",src:t,alt:"",onClick:()=>p(!0)})}):s.jsx("div",{className:J(n==null?void 0:n.button),onClick:()=>p(!0),children:t}):void 0,onPause:()=>{p(!1),r==null||r()},onPlay:()=>{p(!0),l==null||l()},controls:!0,...d})})}),s.jsx(ae,{isOpen:w,onKeyEcs:()=>b(!1),onBackClick:()=>b(!1),children:s.jsxs("div",{className:"relative min-w-64 rounded-lg bg-white px-8 pb-10 pt-12 md:w-9/12 md:max-w-3xl lg:px-10",children:[s.jsx(ne,{className:"absolute right-3 top-3 z-1 h-6 w-6 cursor-pointer text-black",onClick:()=>b(!1)}),s.jsx(B,{className:"text-sub mb-4 text-center text-black lg:mb-6",content:((g==null?void 0:g.consentRequest)||(f==null?void 0:f["consent-request"])||"This feature is provided by [VENDOR_NAME]. To enable it, you must consent to their use of cookies and the processing of your data in accordance with their privacy policy.").replace("[VENDOR_NAME]",(g==null?void 0:g.name)||"")}),s.jsxs("div",{className:"relative mx-auto flex justify-center gap-4",children:[s.jsx(I,{variant:"secondary",className:"min-w-28",onClick:()=>b(!1),children:(f==null?void 0:f["consent-cancel"])||"Cancel"}),s.jsx(I,{className:"min-w-28 rounded-lg",onClick:()=>{v(!0),b(!1)},children:(f==null?void 0:f["consent-accept"])||"Ok"})]})]})})]})},ml="_root_pxomb_1",gl="_title_pxomb_38",fl="_background_pxomb_50",pl="_content_pxomb_75",xl="_video_pxomb_91",G={root:ml,title:gl,background:fl,"wrapper-title":"_wrapper-title_pxomb_54",content:pl,video:xl,"banner-content":"_banner-content_pxomb_104","banner-title-crown":"_banner-title-crown_pxomb_109","banner-button":"_banner-button_pxomb_131"},wl=t=>{var c,h,d,u,p,w,b,f,m,g;const e=(c=ie())==null?void 0:c.banner,n=ce(),i=ee(),[o,r]=a.useState(!1);a.useEffect(()=>{sessionStorage.getItem("showApplyPopup")==="1"&&n&&(n!=null&&n.email)&&(sessionStorage.removeItem("showApplyPopup"),i(!0))},[n,i]);const l=()=>{if(n&&(n!=null&&n.email)){i(!0),sessionStorage.removeItem("showApplyPopup");return}q.login(),sessionStorage.setItem("showApplyPopup","1")};return s.jsxs("div",{className:G.root,children:[s.jsx(ve,{src:{default:e!=null&&e.backgroundMobile?(h=e==null?void 0:e.backgroundMobile)==null?void 0:h.url:(d=e==null?void 0:e.background)==null?void 0:d.url,"tablet-xl":(u=e==null?void 0:e.background)==null?void 0:u.url},alt:"background overlay",className:G.background}),s.jsxs("div",{className:G["wrapper-title"],children:[s.jsx("h1",{className:x("text-h1",G.title),children:e==null?void 0:e.title}),s.jsx(Di,{className:G["banner-title-crown"]})]}),s.jsxs("div",{className:G.content,children:[s.jsx(B,{content:e==null?void 0:e.description,className:x("text-body1",G["banner-content"])}),s.jsx("div",{className:G["banner-button"],children:s.jsx(I,{color:"orange",onClick:l,children:e==null?void 0:e.btnText})})]}),s.jsxs("div",{className:`relative z-1 w-full overflow-visible ${G.video}`,children:[s.jsx(T,{src:{default:((p=e==null?void 0:e.bannerDecorMb)==null?void 0:p.url)||((w=e==null?void 0:e.bannerDecor)==null?void 0:w.url),tablet:(b=e==null?void 0:e.bannerDecor)==null?void 0:b.url},alt:"video decor",className:"absolute left-1/2 top-1/2 -z-1 h-auto w-[132%] -translate-x-1/2 -translate-y-1/2 select-none lg:w-[120%]",width:942,height:832}),s.jsxs("div",{className:"relative w-full",children:[s.jsx(T,{src:(f=e==null?void 0:e.videoThumbnail)==null?void 0:f.url,alt:"video thumbnail",className:"h-auto w-full",width:942,height:832}),s.jsx(T,{src:(m=e==null?void 0:e.videoDecor)==null?void 0:m.url,alt:"video decor bottom",className:"pointer-events-none absolute bottom-0 left-[90%] z-1 h-auto w-16 -translate-x-full translate-y-1/3 xs:w-24",width:942,height:832}),s.jsx(T,{src:(g=e==null?void 0:e.videoPlayIcon)==null?void 0:g.url,className:"absolute left-1/2 top-1/2 z-2 h-auto w-10 -translate-x-1/2 -translate-y-[65%] cursor-pointer transition-transform hover:scale-125 lg:w-20 xs:w-16",width:76,height:76,alt:"play icon",onClick:()=>r(!0)})]})]}),s.jsx(hl,{isOpen:o,url:(e==null?void 0:e.videoUrl)||"",onClose:()=>r(!1)})]})},vl=t=>{var r,l;const e=(r=ie())==null?void 0:r.communityDashboard,n=ce(),i=ee(),o=()=>
2{if(n&&(n!=null&&n.email)){i(!0);return}q.login()};return s.jsxs("div",{className:"relative px-4 pb-xl pt-l sm:px-cx",children:[s.jsx("div",{className:"absolute right-cx top-2xl z-0 hidden h-20 w-20 rounded-full border-2 border-solid border-[#FF63A0] md:block lg:h-40 lg:w-40"}),s.jsx("div",{className:"absolute -bottom-10 -left-ct z-0 h-40 w-40 rounded-full border-2 border-solid border-[#5CC0FF] lg:h-96 lg:w-96"}),s.jsx("div",{className:"absolute bottom-2xl right-cx z-0 h-16 w-16 rounded-full bg-[#5CC0FF] opacity-20 lg:bottom-3xl lg:h-32 lg:w-32"}),s.jsxs("div",{className:"relative z-1 flex h-full w-full flex-col items-center",children:[s.jsx("h2",{className:"m-0 mb-m text-center text-h1 font-bold",children:e==null?void 0:e.title}),s.jsx("div",{className:"mb-m w-full text-center text-subtitle font-medium lg:mb-l lg:w-4/5 xl:w-full",children:e==null?void 0:e.subtitle}),s.jsx(T,{src:(l=e==null?void 0:e.image)==null?void 0:l.url,width:1621,height:901,className:"ml-4 h-auto w-full max-w-screen-2xl lg:ml-10",alt:(e==null?void 0:e.title)||""}),s.jsx(I,{color:"orange",onClick:o,className:"mt-l text-subtitle2 font-semibold lg:h-15",children:e==null?void 0:e.btnText})]})]})},bl=t=>a.createElement("svg",{width:282,height:258,viewBox:"0 0 282 258",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},a.createElement("g",{style:{mixBlendMode:"multiply"}},a.createElement("path",{d:"M75.7238 174.981C129.766 207.607 191.556 207.383 222.698 189.799C253.841 172.215 263.406 135.754 259.765 106.404C257.61 89.0338 236.979 44.811 164.271 30.9925C108.872 20.4637 63.955 35.7241 35.305 68.0363C-3.07505 111.322 7.54272 214.111 171.743 228.636",stroke:"#5CC0FF",strokeWidth:11.8076})),a.createElement("path",{d:"M121.225 88.769C122.901 74.7852 131.957 59.038 153.649 59.038C175.341 59.038 180.655 75.4986 179.064 88.769C176.141 113.146 146.216 116.352 143.237 141.195M141.391 158.887L139.447 177.114",stroke:"#5CE8FF",strokeWidth:12.4948})),Cl=t=>a.createElement("svg",{width:457,height:75,viewBox:"0 0 457 75",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},a.createElement("path",{d:"M7 23.2917C53.0304 14.7742 189.622 0.294471 367.744 10.5155",stroke:"#F7D458",strokeWidth:12.4127,strokeLinecap:"round"}),a.createElement("path",{d:"M106.77 48.2451C139.485 38.6076 237.388 17.6759 367.281 11.0487",stroke:"#F7D458",strokeWidth:12.4127,strokeLinecap:"round"}),a.createElement("path",{d:"M107.853 48.0694C152.108 43.4094 282.624 39.8309 450.654 62.7965",stroke:"#F7D458",strokeWidth:12.4127,strokeLinecap:"round"})),jl=t=>a.createElement("svg",{width:14,height:9,viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},a.createElement("path",{d:"M0.325017 9.00002L7.06876 0.407776L13.8125 9.00002",fill:"#333333"})),_l="_root_jm0mr_1",yl="_question_jm0mr_14",kl="_answer_jm0mr_24",Nl="_content_jm0mr_37",Al="_arrow_jm0mr_49",fe={root:_l,question:yl,answer:kl,content:Nl,arrow:Al,"arrow-expand":"_arrow-expand_jm0mr_56"},Sl=t=>{const{data:e}=t,[n,i]=a.useState(!1);return s.jsxs(_.div,{initial:"idle",className:fe.root,animate:n?"expanded":"collapsed",children:[s.jsxs("div",{className:x(fe.question,"text-subtitle1 !font-bold xl:text-body1"),onClick:()=>i(!n),children:[s.jsx("span",{children:e.question}),s.jsx("span",{children:e.answer&&s.jsx(jl,{className:x(fe.arrow,{[fe["arrow-expand"]]:n})})})]}),s.jsx(_.div,{className:x(fe.answer),variants:{expanded:{height:"100%",transition:{duration:.2}},collapsed:{height:"0",transition:{duration:.2}}},children:s.jsx(B,{className:x(fe.content,"text-subtitle2 xl:text-body1"),content:e.answer})})]})},El="_root_11vmr_1",K={root:El,"wrapper-margin":"_wrapper-margin_11vmr_15","wrapper-questions":"_wrapper-questions_11vmr_20","zig-zac":"_zig-zac_11vmr_25","question-icon":"_question-icon_11vmr_64","dot-decor":"_dot-decor_11vmr_82"},Ll=t=>{var n;const e=(n=ie())==null?void 0:n.faq;
2return s.jsxs("div",{className:K.root,id:"faq",children:[s.jsx("h2",{className:"m-0 text-h1 xl:mb-3 desktop:font-extrabold",children:e==null?void 0:e.title}),s.jsx(Cl,{className:K["zig-zac"]}),s.jsx("div",{className:`${K["dot-decor"]} absolute -right-44 -top-40 rotate-[19deg] xl:-right-120 2xl:-right-[23rem] 2xl:-top-32 3xl:-right-44`}),s.jsx("div",{className:`${K["dot-decor"]} absolute -left-[28rem] top-72 -rotate-[21deg] opacity-0 xl:opacity-100 2xl:-left-[25rem]`}),s.jsx("div",{className:`${K["dot-decor"]} absolute -bottom-56 -left-40 rotate-[27deg] xl:-bottom-[38rem] xl:left-[30%] xl:rotate-[19deg] 2xl:left-[37%]`}),s.jsx(bl,{className:K["question-icon"]}),s.jsx("div",{className:K["wrapper-margin"],children:s.jsx("div",{className:K["wrapper-questions"],children:e==null?void 0:e.questions.map((i,o)=>s.jsx(Sl,{data:i},o))})})]})},Ml="_root_lmtk1_1",Tl="_thumbnail_lmtk1_50",Pl="_name_lmtk1_58",Il="_link_lmtk1_63",pe={root:Ml,"wrapper-thumbnail":"_wrapper-thumbnail_lmtk1_14",thumbnail:Tl,name:Pl,link:Il},Rl=t=>{var c;const{data:e,btnText:n}=t,i=ce(),o=ee(),r=Ui(),l=()=>{if(i&&(i!=null&&i.email)){r(e==null?void 0:e.game),o(!0);return}sessionStorage.setItem("gameApplyPopup",`${e==null?void 0:e.game}`),sessionStorage.setItem("showApplyPopup","1"),q.login()};return s.jsxs("div",{className:pe.root,children:[s.jsx("div",{className:pe.link,children:s.jsx("div",{className:pe["wrapper-thumbnail"],onClick:l,children:s.jsx(T,{className:pe.thumbnail,src:(c=e==null?void 0:e.thumbnail)==null?void 0:c.url,alt:e==null?void 0:e.name,width:236,height:236})})}),s.jsx("div",{className:pe.link,children:s.jsx("div",{className:x(pe.name,"text-subtitle font-bold"),children:e==null?void 0:e.name})}),s.jsxs(I,{color:"orange",className:"flex h-auto items-center justify-center gap-1 whitespace-nowrap px-2 py-2 md:min-w-[200px] lg:px-4",href:e==null?void 0:e.linkUrl,children:[s.jsx(rt,{className:"h-auto w-7 lg:w-8"}),s.jsx("p",{className:"my-2 text-body2 font-semibold lg:text-body1 lg:font-bold",children:n})]})]})},Ol="_root_15lbo_1",Bl="_title_15lbo_19",Ee={root:Ol,title:Bl,"sub-title":"_sub-title_15lbo_30","wrapper-games":"_wrapper-games_15lbo_44"},zl=t=>{var n;const e=(n=ie())==null?void 0:n.favoriteGame;return s.jsxs("div",{id:"favorite-game",className:Ee.root,children:[s.jsx("h2",{className:Ee.title,children:e==null?void 0:e.title}),s.jsx("div",{className:Ee["sub-title"],children:e==null?void 0:e.subTitle}),s.jsx("div",{className:"flex w-full items-center justify-center",children:s.jsx("div",{className:Ee["wrapper-games"],children:e==null?void 0:e.games.map((i,o)=>s.jsx(Rl,{data:i,btnText:e==null?void 0:e.btnText},o))})})]})};var Dl=Object.defineProperty,Hl=(t,e,n)=>e in t?Dl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,C=(t,e,n)=>(Hl(t,typeof e!="symbol"?e+"":e,n),n);typeof window<"u"&&window.document&&j.registerPlugin(Bt.Draggable);const Y="gslider",Te="gslider__container",Be="gslider__slide";class Fl{constructor(e){C(this,"_defaultConfig"),C(this,"_initialized",!1),C(this,"_resizeObserver"),C(this,"_eventListeners",{}),C(this,"_enable"),C(this,"_dragHandle"),C(this,"DECEL",-150),C(this,"_lastWheelTime",performance.now()),C(this,"_preSize",0),C(this,"id"),C(this,"config"),C(this,"moveAnimation"),C(this,"snapAnimation"),C(this,"bounceAnimation"),C(this,"root"),C(this,"container"),C(this,"slides",[]),C(this,"slideWidth",0),C(this,"slideHeight",0),C(this,"totalSlide",0),C(this,"selectedSlide",0),C(this,"width",0),C(this,"height",0),C(this,"slideSize",0),C(this,"containerSize",0),C(this,"size",0),C(this,"isStart",!1),C(this,"isEnd",!1),C(this,"plugins"),C(this,"dragMin",0),C(this,"dragMax",0),C(this,"progressMin",0),C(this,"progressMax",0),C(this,"containerOriginPos",0),C(this,"rootBound"),C(this,"containerBound"),C(this,"resizeDebounce",vn(this.resize.bind(this),200,{leading:!0})),this._defaultConfig={initialSlide:0,alwaysFill:!1,loop:!0,dragable:!0,align:"start",direction:"horizontal",checkOffset:80,wheelControl:!0,wheelScrollDelay:40},this.config=en(this._defaultConfig,e),this.root=e.root,this.id=Math.random().toString(36).slice(2,7),this.DECEL=e.deceleration??this.DECEL}get enable(){return!!this._enable}get endIndex(){return this.config.alwaysFill?this.totalSlide-Math.round(this.containerSize/this.slideSize):this.totalSlide-1}get dragHandle(){return this._dragHandle}get dragable(){return this._dragHandle.enabled()}set dragable(e){e?this._dragHandle.enable():this._dragHandle.disable(),this.root.classList.toggle(`${Y}--drag-disabled`,!e)}get dragPos(){return this.config.direction==="horizontal"?this._dragHandle.x:this._dragHandle.y}get containerPos(){return j.getProperty(this.container,this.config.direction==="horizontal"?"x":"y")}get slidesElement(){return this.slides.map(e=>e.elm)}init(){if(!this.root||this._initialized)return;this.root.setAttribute("data-id",this.id);const e=this.root.querySelectorAll(`.${Y}[data-id="${this.id}"]>.${Te}>.${Be}`);if(!e||e.length<=0)return;this._initialized=!0,this.initPlugin(),this.invokePlugin("preInit"),this.container=this.root.querySelector(`.${Y}[data-id="${this.id}"]>.${Te}`),this.root.gslider=this,this.totalSlide=e.length,this.slideWidth=e[this.config.initialSlide].getBoundingClientRect().width,this.slideHeight=e[this.config.initialSlide].getBoundingClientRect().height,this.width=this.totalSlide*this.slideWidth,this.height=this.totalSlide*this.slideHeight,this.slideSize=this.config.direction==="horizontal"?this.slideWidth:this.slideHeight,this.size=this.config.direction==="horizontal"?this.width:this.height,this.containerSize=this.config.direction==="horizontal"?this.container.clientWidth:this.container.clientHeight,this.selectedSlide=this.config.initialSlide,this.isStart=this.config.initialSlide===0,this.isEnd=this.config.initialSlide===this.totalSlide-1,this.rootBound=this.root.getBoundingClientRect(),this.containerBound=this.container.getBoundingClientRect(),this.slides=[];for(let i=0;i<this.totalSlide;i++){const o={elm:e[i],index:i,progress:i,tween:void 0};o.elm.setAttribute("gslider-index",""+i),j.set(o.elm,this.config.direction==="horizontal"?{xPercent:0}:{yPercent:0}),this.slides.push(o)}this.invokePlugin("init"),this.moveAnimation||(this.moveAnimation=j.timeline({paused:!0,repeat:-1}
2),this.slides.forEach(i=>{const o=j.fromTo(i.elm,{...this.config.direction==="horizontal"?{xPercent:0}:{yPercent:0}},{...this.config.direction==="horizontal"?{xPercent:`-${this.totalSlide*100}`}:{yPercent:`-${this.totalSlide*100}`},duration:1,ease:"none",modifiers:{...this.config.direction==="horizontal"?{xPercent:(r,l)=>this.moveModifier(r,l)}:{yPercent:(r,l)=>this.moveModifier(r,l)}}});this.moveAnimation.add(o,0),i.tween=o}));const n=document.createElement("div");this._dragHandle=new Bt.Draggable(n,{minimumMovement:8,dragResistance:.2,allowContextMenu:!0,edgeResistance:.65,...this.config.dragOptions,trigger:this.config.dragArea||this.root,type:this.config.direction==="horizontal"?"x":"y",onDragStart:()=>this.handleDragStart(),onDrag:()=>this.handleDrag(),onRelease:i=>this.handleDragEnd(i)}),this.dragable=this.config.dragable,this.config.wheelControl&&this.container.addEventListener("wheel",this.handleWheel.bind(this),{passive:!1}),this.updateProgress(1e-5),this._resizeObserver=new window.ResizeObserver(i=>{var o,r;const l=this.config.direction==="horizontal"?(i==null?void 0:i[0].contentRect.width)||((o=i==null?void 0:i[0].contentBoxSize)==null?void 0:o[0].inlineSize):(i==null?void 0:i[0].contentRect.height)||((r=i==null?void 0:i[0].contentBoxSize)==null?void 0:r[0].blockSize);l!=null&&l!==this._preSize&&(this._preSize=l,this.resizeDebounce())}),this._resizeObserver.observe(this.root),this.config.alwaysFill&&this.config.loop&&(console.warn("Gslider: `alwaysFill` only work with `loop = false`. Force update props!"),this.config.loop=!1),this.resize(),this.invokePlugin("postInit")}initPlugin(){if(this.config.plugins){const e=Array.isArray(this.config.plugins)?this.config.plugins:[this.config.plugins];this.plugins=e.map(n=>new n(this.config.pluginOptions))}}destroy(){var e;this.config.wheelControl&&this.container.removeEventListener("wheel",this.handleWheel.bind(this)),this._initialized=!1,this.moveAnimation.kill(),(e=this.snapAnimation)==null||e.kill(),this._dragHandle.disable(),this._resizeObserver.disconnect(),this.slides=[]}moveModifier(e,n){if(this.config.loop){const i=+(n.getAttribute("gslider-index")||0),o=this.config.offsetMod!==void 0?this.config.offsetMod:this.config.align=="start"?-.01:.01,r=this.config.align==="center"?this.totalSlide/2:this.config.align==="start"?this.totalSlide-1:1,l=(r-i)*100+o,c=(r-i-this.totalSlide)*100+o;return j.utils.wrap(l,c,e)}return e}resize(){if(this._initialized==!1||this.slides.length===0||!this.slides[this.selectedSlide].elm)return;this.slideWidth=this.slides[this.selectedSlide].elm.getBoundingClientRect().width,this.slideHeight=this.slides[this.selectedSlide].elm.getBoundingClientRect().height,this.width=this.totalSlide*this.slideWidth,this.height=this.totalSlide*this.slideHeight,this.slideSize=this.config.direction==="horizontal"?this.slideWidth:this.slideHeight,this.size=this.config.direction==="horizontal"?this.width:this.height,this.containerSize=this.config.direction==="horizontal"?this.container.clientWidth:this.container.clientHeight;const e=this.config.direction==="horizontal"?this.root.offsetWidth:this.root.offsetHeight,n=this._enable;this.size<e+this.config.checkOffset?(this.updateProgress(0),this.slides.forEach(i=>{j.set(i.elm,{...this.config.direction=="horizontal"?{xPercent:0}:{yPercent:0}})}),this._enable=!1,this.dragable=!1,this.containerOriginPos=0,this.config.align==="end"?this.containerOriginPos=e-this.size:this.config.align==="center"&&(this.containerOriginPos=(e-this.size)/2)):(this._enable=!0,this.dragable=this.config.dragable,this.containerOriginPos=0,this.config.align==="end"?this.containerOriginPos=e-this.slideSize:this.config.align==="center"&&(this.containerOriginPos=(e-this.slideSize)/2),this.updateBounds()),this.setTranslate(this.container,this.containerOriginPos),this.rootBound=this.root.getBoundingClientRect(),this.containerBound=this.container.getBoundingClientRect(),this._enable&&this.slideTo(this.selectedSlide,0),(n!==this._enable||n===void 0)&&this.fire("activeChange",this._enable),this.invokePlugin("resize"),this.fire("resized")}updateBounds(){const e=this.config.direction==="horizontal"?this.root.offsetWidth:this.root.offsetHeight;if(this.config.loop)this._dragHandle.applyBounds({minX:void 0,maxX:void 0,minY:void 0,maxY:void 0}),this.dragMin=-this.size,this.dragMax=0;else{const n=this.config.alwaysFill?this.config.align==="center"?-(e-this.slideSize)/2:this.config.align==="end"?-(e-this.slideSize):0:0,i=this.config.alwaysFill?this.config.align==="center"?-(this.size-this.slideSize)+(e-this.slideSize)/2:this.config.align==="end"?-(this.size-this.slideSize):-(this.size-this.slideSize)+(e-this.slideSize):-(this.size-this.slideSize);if(this.config.direction==="horizontal"?this._dragHandle.applyBounds({minX:i,maxX:n,minY:0,maxY:0}):this._dragHandle.applyBounds({minX:0,maxX:0,minY:i,maxY:n}),this.dragMin=i,this.dragMax=n,this.config.alwaysFill){const o=j.utils.clamp(i,n,this.dragPos);this.updateDragPos(o)}}this.progressMin=-(this.dragMax/this.size),this.progressMax=-(this.dragMin/this.size)}canScroll(){const e=performance.now(),n=e-this._lastWheelTime>(this.config.wheelScrollDelay||0);return this._lastWheelTime=e,n}handleWheel(e){this._enable&&(this.config.direction==="horizontal"&&Math.abs(e.deltaX)>0?(e.preventDefault(),Math.abs(e.deltaX)>Math.abs(e.deltaY)&&this.canScroll()&&(e.deltaX>0?this.slideNext():this.slidePrev())):this.config.direction==="vertical"&&Math.abs(e.deltaY)>0&&(e.preventDefault(),Math.abs(e.deltaY)>Math.abs(e.deltaX)&&this.canScroll()&&(e.deltaY<0?this.slidePrev():this.slideNext())))}set3D(e){this.root.classList.toggle(`${Y}-3d`,e),this.container.classList.toggle(`${Te}
2-3d`,e),this.slides.forEach(n=>n.elm.classList.toggle(`${Be}-3d`,e))}updateProgress(e){e!==void 0&&this.moveAnimation.progress(e),this.setTranslate(this._dragHandle.target,-this.moveAnimation.progress()*this.size),this._dragHandle.update()}updateDragPos(e){e!==void 0&&(this.setTranslate(this._dragHandle.target,e),this._dragHandle.update());const n=j.utils.mapRange(this.dragMax,this.dragMin,this.progressMin,this.progressMax,this.dragPos);this.moveAnimation.progress(n)}on(e,n){n&&(this._eventListeners[e]=this._eventListeners[e]||[],this._eventListeners[e].push(n))}off(e,n){if(!n)return;const i=this._eventListeners[e].indexOf(n);i>=0&&this._eventListeners[e].splice(i,1)}fire(e,...n){var i;e==="activeChange"&&this.root.classList.toggle(`${Y}--disable`,!this._enable),(i=this._eventListeners[e])==null||i.forEach(o=>{o(this,...n)})}invokePlugin(e,...n){var i;let o=!1;return(i=this.plugins)==null||i.forEach(r=>{var l;const c=(l=r[e])==null?void 0:l.call(r,this,...n);o=o||!!c}),o}slideTo(e,n=1,i){const o=this.dragPos,r=this.size;let l=-e*this.slideSize,c=this.config.loop?Math.abs(j.utils.wrap(-r,0,l)-o):l-o;if(c===0){this.updateProgress(),this.update();return}if(this.config.loop){c>r&&(c=c%r),c>r/2&&(c=r-c);const h=Math.abs(this.selectedSlide-e)>this.totalSlide/2?-1:1;this.totalSlide>2?this.selectedSlide>e?l=o+c*h:this.selectedSlide<e&&(l=o-c*h):this.selectedSlide<e&&i!=="previous"||this.selectedSlide>e&&i==="next"?l=o-c*h:(this.selectedSlide>e&&i!=="next"||this.selectedSlide<e&&i==="previous")&&(l=o+c*h)}this.invokePlugin("slideTo",e,n)||this.snapTo(l,n)}slidePrev(e=1){const n=this.getNextSlideIdx(this.selectedSlide,-1,this.config.loop);this.slideTo(n,e,"previous")}slideNext(e=1){const n=this.getNextSlideIdx(this.selectedSlide,1,this.config.loop);this.slideTo(n,e,"next")}handleDragStart(){var e,n;this._dragHandle._startPoint={pos:this.config.direction==="horizontal"?this._dragHandle.pointerX:this._dragHandle.pointerY,time:performance.now()},(e=this.snapAnimation)==null||e.kill(),(n=this.bounceAnimation)==null||n.kill(),this.bounceAnimation=void 0,this.invokePlugin("dragStart")}handleDrag(){this.invokePlugin("dragMove")||this.update()}handleDragEnd(e){e.button===1&&e.preventDefault();const n=this._dragHandle._startPoint,i=this.dragPos;if(!n||this._dragHandle.pointerX===0)return;let o=((this.config.direction==="horizontal"?this._dragHandle.pointerX:this._dragHandle.pointerY)-n.pos)/(performance.now()-n.time)||0;o*=1e3,o*=this.config.velocityRatio||.08;let r=i,l=1;if(Math.abs(o)>50){let d=-(o*o)/(2*this.DECEL);d+=d<this.slideSize/2?this.slideSize:0,this.config.maxSlideThrow!==void 0&&this.config.maxSlideThrow>0&&d>this.slideSize*this.config.maxSlideThrow&&(d=this.slideSize*this.config.maxSlideThrow),l=-o/this.DECEL,r+=o<0?-d:+d}this.config.loop||(r=j.utils.clamp(this.dragMin,this.dragMax,r));const c=this.config.alwaysFill&&(r===this.dragMin||r===this.dragMax)?r:Math.round(r/this.slideSize)*this.slideSize;if(this.invokePlugin("dragEnd",o,c))return;const h=Math.abs(this.containerPos-this.containerOriginPos)>=1;if(i!==c){const d=i-c,u=!h||h&&d*o<0;(this.config.loop||u)&&this.snapTo(c,Math.min(Math.max(l,1),3))}if(!this.config.loop&&h&&!this.bounceAnimation){const d=this.slideSize*.85,u=Math.min(Math.abs(this.containerPos-this.containerOriginPos),d),p=this.getEaseValue("power4.out",j.utils.mapRange(0,d,0,1,u),.1,.75);this.bounceAnimation=j.to(this.container,{duration:p,...this.genTranslate(this.containerOriginPos),ease:"power2.out",onUpdate:()=>{this._dragHandle.update(),this.update()},onComplete:()=>{this.updateProgress(),this.bounceAnimation=void 0},onInterrupt:()=>{this.updateProgress(),this.bounceAnimation=void 0}})}}snapTo(e,n=1){var i;if((i=this.snapAnimation)==null||i.kill(),e=this.config.loop?e:j.utils.clamp(this.dragMin,this.dragMax,e),this.invokePlugin("snapTo",e,n))return;const o=this.config.direction==="horizontal"?"x":"y",r=j.utils.unitize(j.utils.wrap(this.dragMax,this.dragMin)),l=e-this.dragPos;this.snapAnimation=j.to(this._dragHandle.target,{duration:n,ease:this.config.snapEase||"power2.out",...this.genTranslate("+="+l),modifiers:{[o]:c=>this.config.loop?r(c):c},onUpdate:()=>
2{this._dragHandle.update(),this.update()},onComplete:()=>{o==="x"&&Math.abs(this.slideWidth+this.dragPos)<.01?j.set(this._dragHandle.target,this.genTranslate(-this.slideWidth)):o==="y"&&Math.abs(this.slideHeight+this.dragPos)<.01&&j.set(this._dragHandle.target,this.genTranslate(-this.slideHeight)),this._dragHandle.update(),this.update()}})}update(){var e,n;const i=this.dragPos,o=this.dragMin,r=this.dragMax,l=this.progressMin,c=this.progressMax;let h=this.config.loop?j.utils.wrap(r,o,i):j.utils.clamp(o,r,i);const d=j.utils.mapRange(r,o,l,c,h);if(this.moveAnimation.progress(d),!this.config.loop){const u=i<o||i>r;if(!this.bounceAnimation&&u){const p=i<o?i-this.dragMin:i-r;this.setTranslate(this.container,this.containerOriginPos+p)}}this.updateProps(),this._eventListeners.movingUpdate&&(this._dragHandle.isDragging?this.fire("movingUpdate","dragging"):(e=this.snapAnimation)!=null&&e.isActive()||(n=this.bounceAnimation)!=null&&n.isActive()?this.fire("movingUpdate","moving"):this.fire("movingUpdate","settle")),this.invokePlugin("update")}updateProps(){var e;const n=this.dragPos,i=this.moveAnimation.progress(),o=this.progressMin*this.size/this.slideSize,r=this.progressMax*this.size/this.slideSize,l=Math.round(j.utils.mapRange(this.progressMin,this.progressMax,o,r,i)),c=j.utils.wrap(0,this.totalSlide,l);this.isStart=!1,this.isEnd=!1,c===0||this.config.alwaysFill&&n===this.dragMax?this.isStart=!0:(c===this.totalSlide-1||this.config.alwaysFill&&n===this.dragMin)&&(this.isEnd=!0),this.config.loop||(this.root.classList.toggle(`${Y}--start`,this.isStart),this.root.classList.toggle(`${Y}--end`,this.isEnd)),c!==this.selectedSlide&&(this.selectedSlide=c,this.fire("slideChange",c));for(let h=0;h<this.totalSlide;h++){if(!((e=this.slides[h])!=null&&e.elm))continue;let d=h*this.slideSize-i*this.size;if(this.config.loop){const p=this.config.offsetMod!==void 0?this.config.offsetMod:this.config.align=="start"?-.01:.01,w=this.config.align==="center"?this.totalSlide/2:this.config.align==="start"?this.totalSlide-1:1,b=w*this.slideSize+p,f=(w-this.totalSlide)*this.slideSize+p;d=j.utils.wrap(b,f,d)}let u=+Number(this.config.direction=="horizontal"?d/this.slideWidth:d/this.slideHeight).toFixed(2);this.slides[h].progress=u}}getNextSlideIdx(e,n,i=!0){return i?j.utils.wrap(0,this.totalSlide,e+n):j.utils.clamp(0,this.totalSlide-1,e+n)}getEaseValue(e,n,i,o){return i+(o-i)*j.parseEase(e)(n)}setTranslate(e,n){j.set(e,this.config.direction==="horizontal"?{x:n}:{y:n})}genTranslate(e){return this.config.direction==="horizontal"?{x:e}:{y:e}}}const Ns=t=>{var e;const{row:n=1,classes:i,options:o,name:r="",active:l=!0}=t,c=a.useRef(null),h=a.useRef(null),d=Q.Children.count(t.children),u=Lr(o,["root","initialSlide"]);return oe(()=>{var p;if(l&&d>0&&c.current){h.current=new Fl({...o,root:c.current}),h.current.init(),(p=t.sliderRef)==null||p.call(t,h.current);for(let w in t.on){const b=w;h.current.on(b,t.on[b])}}return()=>{var w,b;for(let f in t.on){const m=f;(w=h.current)==null||w.off(m,t.on[m])}(b=h.current)==null||b.destroy()}},[d,u,n,r,l]),l?s.jsx("div",{className:x(Y,{[`${Y}-vertical`]:((e=t.options)==null?void 0:e.direction)==="vertical"},i==null?void 0:i.root),ref:c,children:s.jsx("div",{className:x(Te,i==null?void 0:i.container),children:n===1?Q.Children.toArray(t.children).filter(Boolean).map((p,w)=>s.jsx(jt,{className:x(Be,i==null?void 0:i.slide),children:p},w)):bo(Q.Children.toArray(t.children).filter(Boolean),n).map((p,w)=>s.jsx(jt,{className:x(Be,i==null?void 0:i.slide,"gslider__slide-column",i==null?void 0:i.slideColumn),children:p},w))})}):s.jsx("div",{className:i==null?void 0:i.rootInActive,children:t.children})},jt=t=>s.jsx("div",{className:t.className,children:t.children}),_t=t=>a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24.744,height:44.175,viewBox:"0 0 24.744 44.175",...t},a.createElement("path",{d:"M595.083,2302.383l16.654,16.419a3.22,3.22,0,0,0,4.5,0,3.111,3.111,0,0,0,0-4.443l-18.745-18.477a3.666,3.666,0,0,0-4.82,0l-18.744,18.477a3.111,3.111,0,0,0,0,4.443,3.217,3.217,0,0,0,4.5,0Zm0,0",transform:"translate(2319.719 -572.996) rotate(90)",fill:"currentColor"})),Ul="_root_1l10h_1",Wl="_hashtag_1l10h_40",Le={root:Ul,"icon-reason":"_icon-reason_1l10h_27",hashtag:Wl,"hashtag-number":"_hashtag-number_1l10h_44"},Gl=t=>{var n;const{data:e}=t;return s.jsxs("div",{className:Le.root,onClick:t==null?void 0:t.onClick,children:[s.jsx(T,{className:Le["icon-reason"],alt:e==null?void 0:e.title,src:(n=e==null?void 0:e.icon)==null?void 0:n.url,width:88,height:92}),s.jsxs("div",{className:"flex items-start",children:[s.jsxs("span",{className:"mr-2 text-subtitle !font-bold 2xl:mr-4 2xl:text-h4",children:[s.jsx("span",{className:Le.hashtag,children:"#"}),s.jsx("span",{className:Le["hashtag-number"],children:t.index+1})]}),s.jsxs("div",{children:[s.jsx("div",{className:"mb-1.5 text-subtitle !font-bold lg:mb-xs 2xl:mb-s 2xl:mt-1",children:e==null?void 0:e.title}),s.jsx("div",{className:"text-body1 !font-medium",children:e==null?void 0:e.description})]})]})]})},Vl="_root_19bmj_1",Zl="_circle_19bmj_16",Yl="_thunder_19bmj_33",Jl="_title_19bmj_55",Ql="_arrow_19bmj_145",$l="_hashtag_19bmj_197",R={root:Vl,circle:Zl,thunder:Yl,title:Jl,"wrapper-seasons":"_wrapper-seasons_19bmj_68","wrapper-content-modal":"_wrapper-content-modal_19bmj_86","content-popup":"_content-popup_19bmj_112",arrow:Ql,"arrow-prev":"_arrow-prev_19bmj_1","arrow-next":"_arrow-next_19bmj_1",hashtag:$l,"hashtag-number":"_hashtag-number_19bmj_201"},Xl=t=>{var b;const e=(b=ie())==null?void 0:b.howToBecome,[n,i]=a.useState(!1),[o,r]=a.useState(0),[l,c]=a.useState(),h=ce(),d=ee(),u=e==null?void 0:e.reasons.map((f,m)=>({...f,order:m+1}));a.useEffect(()=>{l==null||l.slideTo(o,0)},[o,l]);const p=f=>{f!==void 0&&(i(!0),r(f))},w=()=>
2{if(i(!1),h&&(h!=null&&h.email)){d(!0);return}q.login()};return s.jsxs("div",{className:R.root,children:[s.jsx(bs,{className:R.thunder}),s.jsx("div",{className:R.circle}),s.jsx("h2",{className:R.title,children:e==null?void 0:e.title}),s.jsx("div",{className:"mb-m w-full text-center font-medium text-white lg:mb-l lg:w-4/5 xl:w-full",children:e==null?void 0:e.subtitle}),s.jsx("div",{className:R["wrapper-seasons"],children:u==null?void 0:u.map((f,m)=>{const g=u==null?void 0:u.findIndex(v=>v.order===f.order);return s.jsx(Gl,{data:f,index:m,onClick:()=>p(g)},m)})}),s.jsx(I,{color:"orange",className:"text-subtitle2 !font-semibold lg:h-15",onClick:w,children:e==null?void 0:e.btnText}),s.jsxs(ae,{isOpen:n,onBackClick:()=>i(!1),onKeyEcs:()=>i(!1),children:[s.jsx(Ns,{classes:{root:"w-full lg:w-4/5 max-w-[1520px]",slide:"w-full flex items-center justify-center"},options:{align:"center"},sliderRef:c,children:u==null?void 0:u.map((f,m)=>{var g,v,E;return s.jsxs("div",{className:R["wrapper-content-modal"],children:[s.jsx(ve,{className:"rounded-2xl object-top",alt:"background popup",src:{default:((g=e==null?void 0:e.backgroundPopupMobile)==null?void 0:g.url)??(e==null?void 0:e.backgroundPopup.url),"tablet-xl":(v=e==null?void 0:e.backgroundPopup)==null?void 0:v.url}}),s.jsx(ne,{className:"absolute right-4 top-5 h-4 w-4 cursor-pointer transition-transform hover:scale-125 tablet-xl:right-7 tablet-xl:top-8 tablet-xl:h-6 tablet-xl:w-6",onClick:()=>i(!1)}),s.jsxs("div",{className:"flex h-full w-11/12 flex-col items-center justify-between",children:[s.jsxs("div",{className:"flex w-full flex-col items-center justify-start",children:[s.jsxs("div",{className:"mb-m text-h1",children:[s.jsxs("div",{className:"mb-s",children:[s.jsx("span",{className:R.hashtag,children:"#"}),s.jsx("span",{className:R["hashtag-number"],children:f.order})]}),s.jsx("div",{children:f.title})]}),s.jsx(T,{className:"mb-l h-auto w-20 lg:w-24 2xl:w-32",alt:f==null?void 0:f.title,src:(E=f==null?void 0:f.icon)==null?void 0:E.url,width:88,height:92}),s.jsx(B,{className:R["content-popup"],content:f.content})]}),m===(u==null?void 0:u.length)-1&&s.jsx(I,{color:"orange",onClick:w,className:"mt-l text-subtitle2 !font-semibold lg:h-15",children:e==null?void 0:e.btnText})]})]},f.order)})}),s.jsxs(s.Fragment,{children:[s.jsx("div",{className:x(R.arrow,R["arrow-prev"]),onClick:()=>l==null?void 0:l.slidePrev(),children:s.jsx(_t,{})}),s.jsx("div",{className:x(R.arrow,R["arrow-next"]),onClick:()=>l==null?void 0:l.slideNext(),children:s.jsx(_t,{})})]})]})]})},Kl={"wrapper-content-modal":"_wrapper-content-modal_1wyu1_1"},ql=t=>{var l,c,h;const e=(l=ie())==null?void 0:l.promotionPopup,[n,i]=a.useState(!1),o=ce();a.useEffect(()=>{if(o.state==="STATE_NONE"){const d=setTimeout(()=>{i(!0)},1e4);return()=>clearTimeout(d)}},[o]);const r=()=>{i(!1),q.login()};return s.jsx(ae,{isOpen:n,onBackClick:()=>i(!1),onKeyEcs:()=>i(!1),children:s.jsxs(_.div,{className:J("relative flex items-center justify-center rounded-2xl px-m py-2xl text-center text-black",Kl["wrapper-content-modal"]),initial:{opacity:0,y:150},animate:{opacity:1,y:0,transition:{duration:.3}},children:[s.jsx(ve,{className:"rounded-2xl object-top",alt:"background popup",src:{default:((c=e==null?void 0:e.backgroundMobile)==null?void 0:c.url)??(e==null?void 0:e.background.url),"tablet-xl":(h=e==null?void 0:e.background)==null?void 0:h.url}}),s.jsx(ne,{className:"absolute right-4 top-5 h-4 w-4 cursor-pointer transition-transform hover:scale-125 tablet-xl:right-7 tablet-xl:top-8 tablet-xl:h-6 tablet-xl:w-6",onClick:()=>i(!1)}),s.jsxs("div",{className:"flex h-full w-11/12 flex-col items-center justify-between",children:[s.jsxs("div",{className:"flex w-full flex-col items-center justify-start",children:[s.jsx("div",{className:"mb-m text-h1",children:e==null?void 0:e.title}),s.jsx(B,{className:"text-subtitle font-medium lg:w-3/4",content:e==null?void 0:e.description})]}),s.jsx(I,{color:"main",onClick:r,className:"mt-4 text-subtitle2 font-semibold lg:h-15",children:e==null?void 0:e.btnText})]})]})})},ea=t=>{const{slider:e,className:n,classes:i,autoplayTime:o=5,pause:r,radius:l=20,playTwice:c,svgChildContentElmRender:h,strokeWidth:d=3}
2=t,[u,p]=a.useState({totalSlide:0,selectedSlide:0}),[w,b]=a.useState(!0),[f,m]=a.useState(!1),{selectedSlide:g,totalSlide:v}=u,E=l-d*2,L=E*2*Math.PI,A=a.useRef([]),y=a.useRef([]);let N=a.useRef([]);const D=jn(u.selectedSlide),U=bn(),at=e==null?void 0:e.id;oe(()=>{if(e){const M=()=>{p({totalSlide:e.totalSlide,selectedSlide:e.selectedSlide})},S=()=>{b(e.enable)};return e.on("slideChange",M),e.on("activeChange",S),M(),S(),()=>{e.off("slideChange",M),e.off("activeChange",S)}}},[at]);const X=y.current;return oe(()=>{N.current=Array(v),y.current=y.current.slice(0,v),A.current=y.current.map(M=>c?j.timeline({paused:!1,defaults:{ease:"power4.inOut"}}).set(M,{scaleY:1,y:0,strokeDashoffset:L}).to(M,{strokeDashoffset:0,duration:o*2/3-.1}).set(M,{scaleY:-1,y:E*2}).to(M,{strokeDashoffset:L,duration:o/3,ease:"power3.out"}):j.timeline({paused:!1,defaults:{ease:"power2.inOut"}}).set(M,{scaleY:1,y:0,strokeDashoffset:L}).to(M,{strokeDashoffset:0,duration:o*2/3-.1}))},[v,l,X]),oe(()=>{var M;D!==void 0?((M=A.current[D])==null||M.pause(),clearTimeout(N.current[D])):e==null||e.slideTo(g),clearTimeout(N.current[g]);let S=A.current[g];return S==null||S.progress(0).invalidate().restart(),S==null||S.eventCallback("onComplete",()=>{e==null||e.slideNext()}),r&&(S==null||S.pause(0)),()=>{S==null||S.kill()}},[X,g,v]),oe(()=>{let M=A.current[g];return M&&(r||!U||!w?(M.pause(),clearTimeout(N.current[g])):(clearTimeout(N.current[g]),N.current[g]=setTimeout(()=>M.resume(),2e3))),()=>{clearTimeout(N.current[g])}},[X,r,U,w]),s.jsx("div",{className:x("com-pagination-circle",n,i==null?void 0:i.root),children:w&&Array(v).fill(0).map((M,S)=>s.jsx("svg",{onClick:()=>e==null?void 0:e.slideTo(S),className:x("com-pagination-circle__spin",i==null?void 0:i.spin,{"com-pagination-circle__spin--selected":g===S}),height:l*2,width:l*2,children:s.jsxs("g",{children:[s.jsx("circle",{className:x("com-pagination-circle__spin-background",i==null?void 0:i.background),shapeRendering:"geometricPrecision",strokeDasharray:L,strokeWidth:d,r:E,cx:l,cy:l}),s.jsx("circle",{className:x("com-pagination-circle__spin-fill",i==null?void 0:i.fill),ref:de=>{de&&(y.current[S]=de),!f&&m(!0)},shapeRendering:"geometricPrecision",strokeDasharray:L,strokeWidth:d,r:E,cx:l,cy:l}),h?h(S,l,E):s.jsx("text",{className:x("com-pagination-circle__spin-text",i==null?void 0:i.text),x:"50%",y:"-46%",dominantBaseline:"middle",textAnchor:"middle",children:Jr(`${S+1}`,2,"0")})]})},S))})},ta=t=>a.createElement("svg",{width:566,height:530,viewBox:"0 0 566 530",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},a.createElement("g",{style:{mixBlendMode:"multiply"}},a.createElement("path",{d:"m534.06 128.86s-58.23-98.16-121.21-114.45c-127.28-32.92-155.18 299.26-155.18 299.26 0 0-64.71-113.54-133.54-115.33C2 195.16-15 559-15 559M534.06 139.23 557.18 1.72m-23.13 127.13-126.9-23.16",stroke:"#5CC0FF",strokeWidth:20}))),sa=t=>a.createElement("svg",{width:180,height:179,viewBox:"0 0 180 179",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},a.createElement("path",{d:"M41.6003 82.9619C46.2244 90.0476 60.0204 101.659 78.2118 91.4194M140.011 99.827C132.671 103.547 115.076 107.759 103.416 94.8484M69.3115 118.518C66.2026 141.19 93.9474 154.898 103.725 123.2M163.397 102.11C157.161 147.592 114.483 171.222 74.208 162.671C33.9334 154.12 11.8711 124.498 15.194 81.9474C18.5169 39.3967 61.0038 10.1092 99.6818 15.3713C138.36 20.6333 169.634 56.6282 163.397 102.11Z",stroke:"#8AD1FF",strokeWidth:8.47458})),na="_root_177im_1",ia="_title_177im_25",oa="_character_177im_33",ra="_description_177im_85",V={root:na,"wrapper-card":"_wrapper-card_177im_18",title:ia,character:oa,"reason-content":"_reason-content_177im_44","reason-overlay":"_reason-overlay_177im_61","space-bottom":"_space-bottom_177im_71",description:ra,"title-inner":"_title-inner_177im_113"},la=t=>{var c;const{data:e,color:n}=t,[i,o]=a.useState(!1),r=a.useRef(null);Cn(r,{onEnter:()=>o(!0),onLeave:()=>o(!1)});const l={focus:{opacity:1,visibility:"visible",y:0,transition:{delay:.3}},idle:h=>({opacity:0,y:h||"0",transitionEnd:{visibility:"hidden"},transition:{duration:.2}})};return s.jsxs(_.div,{ref:r,animate:i?"focus":"idle",initial:"idle",style:{backgroundColor:n.color},className:x("why-become-reason",V.root),children:[s.jsx(_.div,{style:{backgroundColor:n.color}
2,className:x(V["reason-overlay"]),variants:{focus:{height:"100%",transition:{duration:.2}},idle:{height:"0%",transition:{delay:.2,duration:.2}}},children:s.jsx("div",{className:V["space-bottom"],style:{backgroundColor:n.overlay}})}),s.jsxs("div",{className:V["wrapper-card"],children:[s.jsx(T,{className:V.character,src:(c=e==null?void 0:e.character)==null?void 0:c.url,alt:e==null?void 0:e.title,width:300,height:300}),s.jsx("p",{className:x(V.title,"text-h3"),children:e==null?void 0:e.title})]}),s.jsxs(_.div,{className:x(V["reason-content"]),variants:l,children:[s.jsx("p",{className:x(V.description,"text-body1"),children:e==null?void 0:e.description}),s.jsx("p",{className:x(V["title-inner"],"text-h3"),children:e==null?void 0:e.title})]})]})},aa="_root_16x8l_1",ca="_title_16x8l_14",da="_slide_16x8l_85",ha="_pagination_16x8l_90",F={root:aa,title:ca,"why-become-arrow":"_why-become-arrow_16x8l_51","why-become-face":"_why-become-face_16x8l_73",slide:da,pagination:ha,"pagination-text":"_pagination-text_16x8l_95","note-btn":"_note-btn_16x8l_100"},ua=[{color:"#0095F3",overlay:"#33AAF5"},{color:"#FF63A0",overlay:"#FF82B3"},{color:"#FF9A00",overlay:"#FFAE33"},{color:"#2CDAF6",overlay:"#60E3F8"}],ma=t=>{var d;const e=(d=ie())==null?void 0:d.whyBecome,[n,i]=a.useState(),[o,r]=a.useState(!1),[l,c]=a.useState(null),{inview:h}=tn(l,{rootMargin:"-20px",once:!0});return a.useEffect(()=>{r(!h)},[h]),s.jsxs("div",{ref:c,className:F.root,children:[s.jsx(ta,{className:F["why-become-arrow"]}),s.jsx(sa,{className:F["why-become-face"]}),s.jsx("div",{className:F["why-become-face"]}),s.jsx("h2",{className:F.title,children:e==null?void 0:e.title}),s.jsxs("div",{className:"flex w-full flex-col items-center",onPointerDown:()=>r(!0),onPointerUp:()=>r(!1),onMouseOver:()=>r(!0),onMouseLeave:()=>r(!1),children:[s.jsx(Ns,{sliderRef:i,options:{align:"center"},classes:{root:F["slider-root"],slide:F.slide},children:e==null?void 0:e.reasons.map((u,p)=>s.jsx(la,{data:u,color:ua[p]},p))}),e&&s.jsx("div",{className:F.pagination,children:s.jsx(ea,{classes:{text:F["pagination-text"]},slider:n,autoplayTime:15,pause:o})})]}),(e==null?void 0:e.noteText)&&s.jsx(B,{content:e.noteText,className:F["note-btn"]})]})},Ua=t=>{const e=ie(),n=e==null?void 0:e.settings;return s.jsxs("div",{className:"overflow-hidden",children:[(n==null?void 0:n.css)&&s.jsx("style",{children:n.css}),s.jsx(Ti,{}),s.jsx(Ta,{signup:!0,support:!0,share:!0,backTop:!0}),s.jsx(wl,{}),s.jsx(ma,{}),s.jsx(vl,{}),s.jsx(Xl,{}),s.jsx(Ll,{}),s.jsx(zl,{}),s.jsx(zi,{}),s.jsx(ol,{}),s.jsx(ql,{})]})},ie=()=>{const{data:t}=te("player-mod");return t},As=()=>{const{data:t}=te("player-mod-application");return t},ga=t=>a.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.7159 4.9375C10.7159 4.62684 10.4641 4.375 10.1534 4.375H2.6875C1.75552 4.375 1 5.13052 1 6.0625V17.3125C1 18.2445 1.75552 19 2.6875 19H13.9375C14.8695 19 15.625 18.2445 15.625 17.3125V9.84659C15.625 9.53593 15.3732 9.28409 15.0625 9.28409C14.7518 9.28409 14.5 9.53593 14.5 9.84659V17.3125C14.5 17.6232 14.2482 17.875 13.9375 17.875H2.6875C2.37684 17.875 2.125 17.6232 2.125 17.3125V6.0625C2.125 5.75184 2.37684 5.5 2.6875 5.5H10.1534C10.4641 5.5 10.7159 5.24816 10.7159 4.9375Z",fill:"#0095F3",stroke:"#0095F3",strokeWidth:.8,strokeLinecap:"round"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19 1.5625C19 1.25184 18.7482 1 18.4375 1H12.8125C12.5018 1 12.25 1.25184 12.25 1.5625C12.25 1.87316 12.5018 2.125 12.8125 2.125H17.0795L7.91475 11.2898C7.69508 11.5094 7.69508 11.8656 7.91475 12.0852C8.13442 12.3049 8.49058 12.3049 8.71025 12.0852L17.875 2.9205V7.1875C17.875 7.49816 18.1268 7.75 18.4375 7.75C18.7482 7.75 19 7.49816 19 7.1875V1.5625Z",fill:"#0095F3",stroke:"#0095F3",strokeWidth:.8,strokeLinecap:"round",strokeLinejoin:"round"})),fa={show:{height:"auto",pointerEvents:"auto",transition:{duration:.5}},hide:{height:0,pointerEvents:"none",transition:{duration:.5}}},pa=["/community/player-mod"],xa=t=>{var h;const e=(h=As())==null?void 0:h.loginInfo,n=ce(),i=a.useRef(null),[o,r]=a.useState(!1),{pathname:l}=le(),c=sn("tablet");if(ze(i,()=>{r(!1)}),!!pa.find(d=>l.includes(d))){if(n&&(n!=null&&n.email)){const d=e==null?void 0:e.roles.find(u=>u.roleId==="moderator");return s.jsxs("div",{className:J("relative ml-2 mr-1 cursor-pointer 3xs:ml-3 3xs:mr-0 tablet:ml-7",t==null?void 0:t.className),ref:i,children:[s.jsx("div",{className:"relative flex h-11 w-11 items-center justify-center overflow-hidden rounded-full border-3 border-solid",style:d!=null&&d.backgroundColor?{borderColor:`${d.backgroundColor}`}:{border:"none"},onClick:()=>r(!o),children:s.jsx(T,{src:e==null?void 0:e.defaultAvatar.url,alt:"user avatar",width:40,height:40,className:"rounded-full"})}),s.jsx(_.div,{variants:fa,animate:o?"show":"hide",initial:!1,className:"absolute right-0 top-full flex h-0 min-w-[248px] curs
2or-default flex-col overflow-hidden",children:s.jsxs("div",{className:"relative mt-4 h-full w-full rounded-xl bg-white px-1.5 py-3.5 text-body1 font-medium text-black",children:[s.jsxs("div",{className:"flex items-center justify-center gap-2 border-b-1 border-solid border-grey-100 px-3 py-2",children:[s.jsx("div",{className:"relative z-1 h-10 w-10 overflow-hidden rounded-full border-2 border-solid p-1",style:d!=null&&d.backgroundColor?{borderColor:`${d.backgroundColor}`}:{border:"none",padding:0},children:s.jsx(T,{src:e==null?void 0:e.defaultAvatar.url,alt:"user avatar",width:40,height:40,className:"rounded-full"})}),s.jsxs("div",{className:"flex flex-col gap-0.5",children:[s.jsx("div",{children:n==null?void 0:n.email}),d&&s.jsx("div",{className:"w-fit rounded-5 px-2 py-1.5 text-body2 font-semibold leading-none",style:{background:`${d.backgroundColor}`,color:`${d.textColor}`},children:d.name})]})]}),e==null?void 0:e.dropdownList.map((u,p)=>s.jsx(_e,{to:u.url,children:s.jsx("div",{className:"cursor-pointer border-b-1 border-solid border-grey-100 px-3 py-4",children:u.text})},p)),(d==null?void 0:d.roleId)==="admin"&&s.jsx(_e,{to:(e==null?void 0:e.cmsBtnUrl)||"",children:s.jsxs("div",{className:"flex cursor-pointer items-center justify-between border-b-1 border-solid border-grey-100 px-3 py-4",children:[s.jsx("div",{children:e==null?void 0:e.cmsBtnText}),s.jsx(ga,{className:"h-5 w-5 [&>path]:fill-black [&>path]:stroke-black"})]})}),s.jsx("div",{className:"mt-1.5 cursor-pointer rounded-lg bg-grey-200 px-3 py-4 text-[#FF3451]",onClick:()=>q.logout(),children:e==null?void 0:e.logOutBtnText})]})})]})}return c?s.jsx(I,{className:"ml-7 h-10 bg-blue text-sm font-semibold leading-none text-white",onClick:()=>{sessionStorage.removeItem("showApplyPopup"),q.login()},children:e==null?void 0:e.logInBtnText}):s.jsx("div",{className:"relative z-1 mx-1 h-10 w-10 overflow-hidden rounded-full 3xs:ml-4 3xs:mr-0 3xs:h-12 3xs:w-12 xs:ml-5",onClick:()=>{sessionStorage.removeItem("showApplyPopup"),q.login()},children:s.jsx(T,{src:e==null?void 0:e.loginAvatar.url,alt:"login avatar",width:40,height:40,className:"rounded-full"})})}},wa="_root_1http_3",P={root:wa,"top-link":"_top-link_1http_17","top-link--selected":"_top-link--selected_1http_1","top-link-text":"_top-link-text_1http_33","link-groupl1":"_link-groupl1_1http_38","groupl1-content":"_groupl1-content_1http_44","link-arrowl1":"_link-arrowl1_1http_48","link-arrow":"_link-arrow_1http_48","link-arrow--expanded":"_link-arrow--expanded_1http_1","link-groupl2":"_link-groupl2_1http_91","link-group-lbl":"_link-group-lbl_1http_95","link-groupl2-content":"_link-groupl2-content_1http_101"},va=t=>{const e=Ss();return s.jsx("div",{className:P.root,children:e==null?void 0:e.map(n=>n.child&&n.side!==!0?a.createElement(ba,{...n,key:n.label}):n.label&&n.url&&n.side!==!0?a.createElement(lt,{...n,key:n.url}):null)})},lt=t=>{const{url:e,label:n}=t,{pathname:i}=le(),o=Je(e);return s.jsx("div",{className:x(P["top-link"],"seo-main-navigation-bar-main-btn"),children:o?s.jsx("a",{className:P["top-link-text"],href:e,children:n}):s.jsx(yt,{end:!0,to:t.url,className:x(P["top-link-text"],{[P["top-link--selected"]]:t.url===i}),children:n})})},ba=t=>{const{label:e,child:n}=t;return s.jsxs("div",{className:x(P["top-link"],P["link-groupl1"]),children:[e,s.jsx(Ne,{className:x(P["link-arrow"],P["link-arrowl1"])}),s.jsx("div",{className:P["groupl1-content"],children:n.map(i=>i.child?a.createElement(Ca,{...i,key:i.label}):i.label&&i.url?a.createElement(lt,{...i,key:i.url}):null)})]})},Ca=t=>{const{label:e,child:n}=t,[i,o]=a.useState(!1);return s.jsxs(_.div,{className:x(P["link-groupl2"],"text-body1"),children:[s.jsxs("div",{className:x(P["top-link"],P["link-group-lbl"]),onClick:()=>o(!i),children:[e,s.jsx(Ne,{className:x(P["link-arrow"],{[P["link-arrow--expanded"]]:i})})]}),s.jsx(_.div,{className:P["link-groupl2-content"],initial:!1,variants:{opened:{height:"auto",transition:{duration:.25,staggerChildren:.05}},closed:{height:0,transition:{duration:.25,staggerChildren:.05,staggerDirection:-1}}},animate:i?"opened":"closed",children:n.map(r=>a.createElement(lt,{...r,key:r.url}))})]})},ja=t=>a.createElement("svg",{width:10,height:18,viewBox:"0 0 10 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},a.createElement("path",{d:"M9.59096 0.23584V2.87864H8.20096C6.75537 2.76737 6.25497 3.15683 6.39397 4.68686V6.77329H9.45196L8.89596 10.1116H6.25497V17.7618C6.25497 18.0956 3.93832 17.9936 2.77999 17.9009V10.1116H0V6.77329H2.77999C2.77999 7.00511 2.80779 6.60638 2.91899 3.15683C3.03019 -0.29272 7.4133 -0.22781 9.59096 0.23584Z",fill:"#337FFF"})),_a=t=>a.createElement("svg",{width:21,height:20,viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},a.createElement("path",{d:"M7.25829 10C7.25829 8.15912 8.75027 6.6664 10.5912 6.6664C12.4322 6.6664 13.925 8.15912 13.925 10C13.925 11.8409 12.4322 13.3336 10.5912 13.3336C8.75027 13.3336 7.25829 11.8409 7.25829 10
2ZM5.45614 10C5.45614 12.836 7.75511 15.1349 10.5912 15.1349C13.4273 15.1349 15.7263 12.836 15.7263 10C15.7263 7.164 13.4273 4.86512 10.5912 4.86512C7.75511 4.86512 5.45614 7.164 5.45614 10ZM14.7295 4.66152C14.7295 4.89886 14.7997 5.13089 14.9315 5.32829C15.0633 5.52568 15.2507 5.67956 15.4699 5.77047C15.6892 5.86138 15.9304 5.88524 16.1632 5.83904C16.396 5.79283 16.6099 5.67862 16.7778 5.51087C16.9457 5.34311 17.0601 5.12934 17.1065 4.89658C17.1529 4.66382 17.1292 4.42253 17.0385 4.20322C16.9477 3.98392 16.794 3.79644 16.5967 3.6645C16.3994 3.53257 16.1674 3.4621 15.9301 3.462H15.9296C15.6115 3.46215 15.3064 3.58856 15.0814 3.81347C14.8564 4.03837 14.7298 4.34339 14.7295 4.66152ZM6.55106 18.1398C5.57606 18.0954 5.04612 17.933 4.69394 17.7958C4.22705 17.614 3.89391 17.3975 3.54366 17.0478C3.1934 16.698 2.9766 16.3652 2.79563 15.8983C2.65834 15.5463 2.49594 15.0162 2.45161 14.0413C2.40313 12.9872 2.39345 12.6706 2.39345 10.0001C2.39345 7.3296 2.40393 7.01384 2.45161 5.95888C2.49602 4.98392 2.65962 4.45488 2.79563 4.10184C2.9774 3.63496 3.19388 3.30184 3.54366 2.9516C3.89343 2.60136 4.22625 2.38456 4.69394 2.2036C5.04596 2.06632 5.57606 1.90392 6.55106 1.8596C7.60518 1.81112 7.92183 1.80144 10.5912 1.80144C13.2606 1.80144 13.5776 1.81192 14.6326 1.8596C15.6076 1.904 16.1366 2.0676 16.4897 2.2036C16.9566 2.38456 17.2897 2.60184 17.64 2.9516C17.9902 3.30136 18.2062 3.63496 18.388 4.10184C18.5253 4.45384 18.6877 4.98392 18.732 5.95888C18.7805 7.01384 18.7902 7.3296 18.7902 10.0001C18.7902 12.6706 18.7805 12.9863 18.732 14.0413C18.6876 15.0162 18.5244 15.5462 18.388 15.8983C18.2062 16.3652 17.9898 16.6983 17.64 17.0478C17.2902 17.3972 16.9566 17.614 16.4897 17.7958C16.1377 17.933 15.6076 18.0954 14.6326 18.1398C13.5785 18.1882 13.2618 18.1979 10.5912 18.1979C7.92063 18.1979 7.60486 18.1882 6.55106 18.1398ZM6.46826 0.06056C5.40365 0.10904 4.67618 0.27784 4.04088 0.52504C3.38293 0.78032 2.82595 1.1228 2.26937 1.67848C1.71279 2.23416 1.37117 2.792 1.11588 3.44992C0.868671 4.0856 0.699865 4.81264 0.651383 5.8772C0.602101 6.94344 0.59082 7.28432 0.59082 10C0.59082 12.7157 0.602101 13.0566 0.651383 14.1228C0.699865 15.1874 0.868671 15.9144 1.11588 16.5501C1.37117 17.2076 1.71287 17.7661 2.26937 18.3215C2.82587 18.877 3.38293 19.219 4.04088 19.475C4.67738 19.7222 5.40365 19.891 6.46826 19.9394C7.5351 19.9879 7.87543 20 10.5912 20C13.307 20 13.6479 19.9887 14.7142 19.9394C15.7789 19.891 16.5059 19.7222 17.1416 19.475C17.7991 19.219 18.3565 18.8772 18.9131 18.3215C19.4697 17.7658 19.8106 17.2076 20.0666 16.5501C20.3138 15.9144 20.4834 15.1874 20.5311 14.1228C20.5795 13.0558 20.5908 12.7157 20.5908 10C20.5908 7.28432 20.5795 6.94344 20.5311 5.8772C20.4826 4.81256 20.3138 4.0852 20.0666 3.44992C19.8106 2.7924 19.4688 2.23504 18.9131 1.67848C18.3574 1.12192 17.7991 0.78032 17.1424 0.52504C16.5059 0.27784 15.7788 0.10824 14.715 0.06056C13.6487 0.01208 13.3078 0 10.592 0C7.87623 0 7.5351 0.01128 6.46826 0.06056Z",fill:"url(#paint0)"}),a.createElement("path",{d:"M7.25829 10C7.25829 8.15912 8.75027 6.6664 10.5912 6.6664C12.4322 6.6664 13.925 8.15912 13.925 10C13.925 11.8409 12.4322 13.3336 10.5912 13.3336C8.75027 13.3336 7.25829 11.8409 7.25829 10ZM5.45614 10C5.45614 12.836 7.75511 15.1349 10.5912 15.1349C13.4273 15.1349 15.7263 12.836 15.7263 10C15.7263 7.164 13.4273 4.86512 10.5912 4.86512C7.75511 4.86512 5.45614 7.164 5.45614 10ZM14.7295 4.66152C14.7295 4.89886 14.7997 5.13089 14.9315 5.32829C15.0633 5.52568 15.2507 5.67956 15.4699 5.77047C15.6892 5.86138 15.9304 5.88525 16.1632 5.83904C16.396 5.79283 16.6099 5.67862 16.7778 5.51087C16.9457 5.34311 17.0601 5.12934 17.1065 4.89658C17.1529 4.66382 17.1292 4.42253 17.0385 4.20322C16.9477 3.98392 16.794 3.79644 16.5967 3.6645C16.3994 3.53257 16.1674 3.4621 15.9301 3.462H15.9296C15.6115 3.46215 15.3064 3.58856 15.0814 3.81347C14.8564 4.03837 14.7298 4.34339 14.7295 4.66152V4.66152ZM6.55106 18.1398C5.57606 18.0954 5.04612 17.933 4.69394 17.7958C4.22705 17.614 3.89391 17.3975 3.54366 17.0478C3.1934 16.698 2.9766 16.3652 2.79563 15.8983C2.65834 15.5463 2.49594 15.0162 2.45161 14.0413C2.40313 12.9872 2.39345 12.6706 2.39345 10.0001C2.39345 7.3296 2.40393 7.01384 2.45161 5.95888C2.49602 4.98392 2.65962 4.45488 2.79563 4.10184C2.9774 3.63496 3.19388 3.30184 3.54366 2.9516C3.89343 2.60136 4.22625 2.38456 4.69394 2.2036C5.04596 2.06632 5.57606 1.90392 6.55106 1.8596C7.60518 1.81112 7.92183 1.80144 10.5912 1.80144C13.2606 1.80144 13.5776 1.81192 14.6326 1.8596C15.6076 1.904 16.1366 2.0676 16.4897 2.2036C16.9566 2.38456 17.2897 2.60184 17.64 2.9516C17.9902 3.30136 18.2062 3.63496 18.388 4.10184C18.5253 4.45384 18.6877 4.98392 18.732 5.95888C18.7805 7.01384 18.7902 7.3296 18.7902 10.0001C18.7902 12.6706 18.7805 12.9863 18.732 14.0413C18.6876 15.0162 18.5244 15.5462 18.388 15.8983C18.2062 16.3652 17.9898 16.6983 17.64 17.0478C17.2902 17.3972 16.9566 17.614 16.4897 17.7958C16.1377 17.933 15.6076 18.0954 14.6326 18.1398C13.5785 18.1882 13.2618 18.1979 10.5912 18.1979C7.92063 18.1979 7.60486 18.1882 6.55106 18.1398V18.1398ZM6.46826 0.06056C5.40365 0.10904 4.67618 0.27784 4.04088 0.52504C3.38293 0.78032 2.82595 1.1228 2.26937 1.67848C1.71279 2.23416 1.37117 2.792 1.11588 3.44992C0.868671 4.0856 0.699865 4.81264 0.651383 5.8772C0.602101 6.94344 0.59082 7.28432 
20.59082 10C0.59082 12.7157 0.602101 13.0566 0.651383 14.1228C0.699865 15.1874 0.868671 15.9144 1.11588 16.5501C1.37117 17.2076 1.71287 17.7661 2.26937 18.3215C2.82587 18.877 3.38293 19.219 4.04088 19.475C4.67738 19.7222 5.40365 19.891 6.46826 19.9394C7.5351 19.9879 7.87543 20 10.5912 20C13.307 20 13.6479 19.9887 14.7142 19.9394C15.7789 19.891 16.5059 19.7222 17.1416 19.475C17.7991 19.219 18.3565 18.8772 18.9131 18.3215C19.4697 17.7658 19.8106 17.2076 20.0666 16.5501C20.3138 15.9144 20.4834 15.1874 20.5311 14.1228C20.5795 13.0558 20.5908 12.7157 20.5908 10C20.5908 7.28432 20.5795 6.94344 20.5311 5.8772C20.4826 4.81256 20.3138 4.0852 20.0666 3.44992C19.8106 2.7924 19.4688 2.23504 18.9131 1.67848C18.3574 1.12192 17.7991 0.78032 17.1424 0.52504C16.5059 0.27784 15.7788 0.10824 14.715 0.06056C13.6487 0.01208 13.3078 0 10.592 0C7.87623 0 7.5351 0.01128 6.46826 0.06056Z",fill:"url(#paint1)"}),a.createElement("defs",null,a.createElement("radialGradient",{id:"paint0",cx:0,cy:0,r:1,gradientUnits:"userSpaceOnUse",gradientTransform:"translate(3.24805 20.0945) scale(26.1094 26.1083)"},a.createElement("stop",{offset:.09,stopColor:"#FA8F21"}),a.createElement("stop",{offset:.78,stopColor:"#D82D7E"})),a.createElement("radialGradient",{id:"paint1",cx:0,cy:0,r:1,gradientUnits:"userSpaceOnUse",gradientTransform:"translate(12.7204 20.9905) scale(20.5778 20.577)"},a.createElement("stop",{stopColor:"#8C3AAA",stopOpacity:0}),a.createElement("stop",{offset:.64,stopColor:"#8C3AAA",stopOpacity:0}),a.createElement("stop",{offset:1,stopColor:"#8C3AAA"})))),ya=t=>a.createElement("svg",{width:17,height:16,viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},a.createElement("path",{d:"M4.22288 15.9996V5.20407H0.792989V15.9996H4.22324H4.22288ZM2.50865 3.73037C3.70447 3.73037 4.44895 2.9014 4.44895 1.86542C4.42657 0.805835 3.70447 0 2.53139 0C1.3575 0 0.59082 0.805835 0.59082 1.86533C0.59082 2.90131 1.33503 3.73028 2.48618 3.73028H2.50838L2.50865 3.73037ZM6.12137 15.9996H9.55099V9.97155C9.55099 9.64933 9.57337 9.32626 9.66398 9.09612C9.91181 8.4512 10.4761 7.78362 11.4239 7.78362C12.6646 7.78362 13.1613 8.77352 13.1613 10.2249V15.9996H16.5908V9.80978C16.5908 6.49399 14.899 4.95098 12.6424 4.95098C10.7924 4.95098 9.97986 6.03276 9.52843 6.76956H9.55126V5.20444H6.12155C6.16631 6.2172 6.12128 16 6.12128 16L6.12137 15.9996Z",fill:"#006699"})),ka=t=>a.createElement("svg",{width:16,height:14,viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},a.createElement("path",{d:"M12.3212 0H14.6213L9.59626 5.93026L15.5078 14H10.8784L7.25305 9.10574L3.10481 14H0.803321L6.17809 7.65692L0.507812 0H5.25333L8.53034 4.47354L12.3198 0H12.3212ZM11.5139 12.5785H12.7884L4.56149 1.34687H3.19381L11.5139 12.5785Z",fill:"black"})),Na=t=>a.createElement("svg",{width:20,height:14,viewBox:"0 0 20 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},a.createElement("path",{d:"M19.3711 2.29916C19.2625 1.88429 19.0509 1.50869 18.7589 1.21229C18.4587 0.906769 18.0907 0.688224 17.6897 0.577281C16.1889 0.153658 10.1762 0.153658 10.1762 0.153658C7.66955 0.123117 5.16353 0.257445 2.67227 0.555886C2.27126 0.675025 1.90395 0.898453 1.60302 1.2063C1.30734 1.51096 1.09317 1.88666 0.981293 2.2983C0.712537 3.8488 0.581957 5.42314 0.591314 7.00009C0.581724 8.57563 0.711984 10.1495 0.981293 11.7019C1.09078 12.1118 1.30415 12.4858 1.60063 12.7879C1.89711 13.09 2.26631 13.3082 2.67227 13.4238C4.19303 13.8465 10.1762 13.8465 10.1762 13.8465C12.686 13.8771 15.1952 13.7428 17.6897 13.4443C18.0907 13.3334 18.4587 13.1148 18.7589 12.8093C19.0508 12.5129 19.2621 12.1373 19.3703 11.7224C19.6461 10.1725 19.7801 8.59753 19.7706 7.01978C19.7914 5.43534 19.6575 3.85293 19.3711 2.2983V2.29916ZM8.26465 9.93037V4.07067L13.2673 7.00095L8.26465 9.93037Z",fill:"#FF3000"})),Aa="_root_hinwo_3",Sa="_icon_hinwo_18",O={root:Aa,icon:Sa},Ea=t=>{const e=Qt();return s.jsxs("div",{className:x(O.root,"seo-main-navigation-bar-social-btn"),children:[(e==null?void 0:e.facebook)&&s.jsx("a",{href:e.facebook,target:"_blank",rel:"noopener noreferrer",className:O.link,children:s.jsx(ja,{className:O.icon})}),(e==null?void 0:e.instagram)&&s.jsx("a",{href:e.instagram,target:"_blank",rel:"noopener noreferrer",className:O.link,children:s.jsx(_a,{className:O.icon})}),(e==null?void 0:e.linkedin)&&s.jsx("a",{href:e.linkedin,target:"_blank",rel:"noopener noreferrer",className:O.link,children:s.jsx(ya,{className:O.icon})}),(e==null?void 0:e.twitter)&&s.jsx("a",{href:e.twitter,target:"_blank",rel:"noopener noreferrer",className:O.link,children:s.jsx(ka,{className:O.icon})}),(e==null?void 0:e.discord)&&s.jsx("a",{href:e.discord,target:"_blank",rel:"noopener noreferrer",className:O.link,children:s.jsx(rt,{className:O.icon})}),(e==null?void 0:e.youtube)&&s.jsx("a",{href:e.youtube,target:"_blank",rel:"noopener noreferrer",className:O.link,children:s.jsx(Na,{className:O.icon})})]})},La=t=>{const e=ke(),n=$(De);return s.jsxs("div",{className:"top-header",children:[s.jsx(_e,{to:"/",className:"top-header__logo-item",children:s.jsx(Kt,{className:"top-header__logo"})}),s.jsx(va,{}),s.jsxs("div",{className:"top-header__rcontent",children:[s.jsx("div",{className:"top-header__search-container",children:s.jsx($t,{classes:{root:"top-header__search-form"},searchBarProps:{classes:{icon:"top-header__search-form-icon seo-main-navigation-bar-search-btn",expanded:"top-header__search-form-expanded"}}})}),s.jsx(oi,{classes:{root:"top-header__language"}}),s.jsx("div",{className:"top-header__sep"}),s.jsx(Ea,{}),s.jsxs("button",{className:"top-header__btn-subsribe seo-main-navigation-bar-subscribe-btn tablet:order-2",onClick:()=>n(!0),children:[s.jsx(et,{}),s.jsxs("span",{className:"top-header__btn-subsribe-text",children:["   ",(e==null?void 0:e.subscribe)||"Subscribe"]})]}
2),s.jsx(xa,{className:"tablet:order-1"})]})]})},Ma=se(void 0),Ta=t=>{const e=typeof t.signup=="object"?t.signup:{show:t.signup||!0},n=typeof t.support=="object"?t.support:{show:t.support||!0},i=typeof t.share=="object"?t.share:{show:t.share||!0};return s.jsxs("div",{className:"com-header",children:[s.jsx(La,{}),s.jsx(Pa,{...t,signup:e,support:n,share:i,slots:t.stickySlots}),s.jsx(_i,{}),s.jsx(In,{custom:{background:e.background,character:e.character,api:e.api,success:e.success,failed:e.failed}})]})},Pa=t=>{var f,m,g,v,E,L,A,y;const{backTop:e=!0}=t,n=ke(),i=a.useRef(null),[o,r]=a.useState("close"),[l,c]=a.useState(!1),h=$(De),d=Pt(),u=ye(Ma),p=u!==void 0?u:!0;a.useEffect(()=>{const N=()=>{window.scrollY>=1500?c(!0):c(!1)};return e&&document.addEventListener("scroll",N),()=>document.removeEventListener("scroll",N)},[e]),ze(i,()=>{o!=="close"&&r("close")});const w=()=>{o==="close"?r("expand"):o==="expand"?r("close"):o==="share"&&r("expand")},b=N=>{An(N,window.location.href)};return s.jsx(re,{children:p&&s.jsxs("div",{className:"sticky-icons",children:[((f=t.slots)==null?void 0:f.left)&&s.jsx("div",{className:"sticky-icons__slot-left",children:(m=t.slots)==null?void 0:m.left}),s.jsxs(_.div,{className:"sticky-icons__container-y",ref:i,exit:{opacity:0},animate:{opacity:1},initial:{opacity:0}
2,children:[e&&s.jsx(re,{children:l&&s.jsx(_.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:s.jsx(I,{variant:"icon",className:x("sticky-icons__back-top"),onClick:()=>{En(window,{y:0})},children:s.jsx(Rn,{className:"sticky-icons__back-top-icon"})})})}),((g=t.slots)==null?void 0:g.top)&&s.jsx("div",{className:"sticky-icons__slot-top",children:(v=t.slots)==null?void 0:v.top}),s.jsxs(_.div,{className:"sticky-icons__container",animate:o==="close"?{backgroundColor:"#f4f4f400"}:{backgroundColor:"#f4f4f4ff"},children:[s.jsx(_.div,{className:"sticky-icons__center seo-main-sticky-btn",onClick:w,children:o==="share"?s.jsx(zt,{className:"sticky-icons__center-icon sticky-icons__close-icon"}):s.jsx(Bn,{className:"sticky-icons__center-icon"})}),s.jsxs(re,{children:[o==="share"&&s.jsxs(_.div,{className:"sticky-icons__group",exit:{opacity:0},animate:{opacity:1},initial:{opacity:1},children:[s.jsx(z,{icon:s.jsx("img",{src:Ft,alt:"twitter"}),layout:"fill",className:x("sticky-icons__icon"),onClick:()=>b("twitter")}),s.jsx(z,{icon:s.jsx("img",{src:Ht,alt:"linkedin"}),layout:"fill",className:x("sticky-icons__icon"),onClick:()=>b("linkedin")}),s.jsx(z,{icon:s.jsx("img",{src:Dt,alt:"facebook"}),layout:"fill",className:x("sticky-icons__icon"),onClick:()=>b("facebook")})]}),o==="expand"&&s.jsxs(_.div,{className:"sticky-icons__group",exit:{opacity:0},animate:{opacity:1},initial:{opacity:0}
2,children:[t.support.show&&s.jsx(z,{icon:s.jsx(zn,{}),fillMode:"none",size:"small",href:t.support.link?t.support.link:`https://gameloft.helpshift.com/hc/${d}`,className:x("sticky-icons__icon seo-main-sticky-customer-care-btn"),title:(n==null?void 0:n["customer care"])||"Customer Care"}),t.share.show&&s.jsx(z,{icon:s.jsx(On,{}),fillMode:"none",size:"small",className:x("sticky-icons__icon seo-main-sticky-share-btn"),onClick:()=>r("share"),title:(n==null?void 0:n.share)||"Share"}),t.signup.show&&s.jsxs("div",{style:{position:"relative"},children:[s.jsx(z,{icon:s.jsx(et,{}),fillMode:"none",size:"small",onClick:()=>{h(!0)},className:x("sticky-icons__icon seo-main-sticky-newsletter-btn"),title:(n==null?void 0:n.newsletter)||"Newsletter"}),t.signup.attachment&&s.jsx("div",{className:x("sticky-icons__tooltip"),children:t.signup.attachment})]})]})]})]}),((E=t.slots)==null?void 0:E.bottom)&&s.jsx("div",{className:"sticky-icons__slot-bot",children:(L=t.slots)==null?void 0:L.bottom})]}),((A=t.slots)==null?void 0:A.right)&&s.jsx("div",{className:"sticky-icons__slot-right",children:(y=t.slots)==null?void 0:y.right})]})})},Ss=()=>{const{data:t}=te("header");return t};export{Ns as $,Z as A,Yt as B,Ua as C,ci as D,Cn as E,zi as F,Ti as G,Ta as H,z as I,$n as J,ne as K,Ht as L,ga as M,jl as N,hl as O,Vi as P,Fa as Q,Ha as R,zt as S,Ft as T,hi as Y,Gi as a,En as b,Dt as c,On as d,_t as e,ht as f,Da as g,Ne as h,ul as i,ce as j,Kt as k,q as l,bi as m,An as n,di as o,Jr as p,ea as q,ii as r,Oe as s,De as t,ke as u,bo as v,Rn as w,jn as x,bn as y,Zt as z};

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.