(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[16,7297,9682],{412:(e,t,i)=>{"use strict";i.d(t,{A:()=>l});var n=i(37876);i(14232);var o=i(26875),r=i(64320);let a=i(98684).Ay.div.withConfig({componentId:"sc-38e638f2-0"})(["",""],e=>{let{theme:t}=e;return"\n color: ".concat(t.colors.white60,";\n font-weight: 400;\n font-size: 12px;\n line-height: 150%;\n a {\n color: ").concat(t.colors.white60,";\n font-weight: 400;\n font-size: 12px;\n line-height: 150%;\n }\n ")}),l=e=>{let{t}=(0,o.B)(),i=(0,r.d4)(e=>e.auth.showLogin);return(0,n.jsxs)(a,{...e,children:[t(i?"commonDisclaimer":"disclaimer")," ",(0,n.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://nowgg.fun/terms-and-privacy.html#terms",children:t("termsOfUse")})," ".concat(t("and")," "),(0,n.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://now.gg/terms-and-privacy.html#privacy",children:t("privacyPolicy")}),", ".concat(t("including")," "),(0,n.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://now.gg/terms-and-privacy.html#cookie-policy",children:t("cookieUse")})]})}},2609:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},4517:(e,t,i)=>{var n=i(37973),o=i(57410),r=i(44577);e.exports=n&&1/r(new n([,-0]))[1]==1/0?function(e){return new n(e)}:o},4756:(e,t,i)=>{e=i.nmd(e);var n=i(19031),o=i(34705),r=t&&!t.nodeType&&t,a=r&&e&&!e.nodeType&&e,l=a&&a.exports===r?n.Buffer:void 0,s=l?l.isBuffer:void 0;e.exports=s||o},4976:(e,t,i)=>{"use strict";i.r(t),i.d(t,{NotFound:()=>m,__N_SSP:()=>f,default:()=>b,extractErrorProps:()=>w});var n=i(37876),o=i(84366),r=i(54551),a=i(77328),l=i.n(a),s=i(26617),d=i(55409),c=i(18847),p=i.n(c),u=i(86360),h=i(85179),g=i(65364);let x=p()(()=>Promise.all([i.e(8842),i.e(8938),i.e(9682),i.e(16),i.e(3496)]).then(i.bind(i,28938)),{loadableGenerated:{webpack:()=>[28938]}});var f=!0;let m=e=>{let{prefix:t,ngNcmHost:i,errorReason:a,isQuancastPopupSupportByCountry:c,errorStatusCode:p}=e;s.Ay.appInfo.appId="404",s.Ay.appInfo.packageName="com.nowgg.404",s.Ay.prefix=t||"",s.Ay.ngNcmHost=i||"",s.Ay.feErrorNotInRegion=!0,s.Ay.isQuancastPopupSupportByCountry=c;let u=Object.assign({},s.Ay);return(0,n.jsxs)(r.c8,{children:[(0,n.jsxs)(l(),{children:[(0,n.jsxs)("title",{children:[p," ","| now.gg"," "]}),(0,n.jsx)("meta",{name:"robots",content:"noindex,nofollow,noarchive"}),(0,n.jsx)("meta",{httpEquiv:"Cache-control",content:"private, no-cache, no-store, max-age=0, must-revalidate"}),(0,n.jsx)("meta",{httpEquiv:"Pragma",content:"no-cache"})]}),(0,n.jsx)(o.A,{children:(0,n.jsx)(d.A,{children:(0,n.jsx)(h.A.Provider,{value:u,children:(0,n.jsx)(x,{error:"FailureFromServer",errorName:"Status-".concat(p,"-NotFoundScreen-").concat(a||"LambdaRequest"),errorCode:"2103"})})})})]})},w=(e,t,i)=>{let{host:n=""}=e.headers,o=n.indexOf("localhost")>=0?"".concat(g.env.NG_LOCAL_PROXY_HOST||"local.testngg.net",":8443"):n,r=g.env.NG_ROUTE_PREFIX?g.env.NG_ROUTE_PREFIX:"";return t.statusCode=i,t.setHeader("cache-control","private, no-cache, no-store, max-age=0, must-revalidate"),{props:Object.assign({prefix:r,ngNcmHost:g.env.NG_NCM_HOST||"https://".concat(o,"/")},(0,u.$R)(e))}},b=m},5051:(e,t,i)=>{var n=i(92441),o=i(71266);e.exports=function(e,t,i,r){var a=i.length,l=a,s=!r;if(null==e)return!l;for(e=Object(e);a--;){var d=i[a];if(s&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++a{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},5711:(e,t,i)=>{"use strict";i.d(t,{Q:()=>r});var n=i(37876),o=i(54551);let r=e=>{let{color:t="white",onClick:i,width:r="16",height:a="17"}=e;return(0,n.jsx)("svg",{onClick:i,width:r,height:a,viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.3536 6.11617C12.1583 5.92091 11.8417 5.92091 11.6464 6.11617L8 9.76262L4.35355 6.11617C4.15829 5.92091 3.84171 5.92091 3.64645 6.11617C3.45118 6.31143 3.45118 6.62802 3.64645 6.82328L7.64645 10.8233C7.84171 11.0185 8.15829 11.0185 8.35355 10.8233L12.3536 6.82328C12.5488 6.62802 12.5488 6.31144 12.3536 6.11617Z",fill:o.JX.colors[t]})})}},6216:(e,t,i)=>{e.exports=i(97791)(Object.keys,Object)},6242:(e,t,i)=>{"use strict";i.d(t,{$n:()=>h,Ay:()=>x,CU:()=>s,EY:()=>u,Y9:()=>d,hE:()=>p,nB:()=>c,wi:()=>g});var n=i(98684),o=i(10534),r=i(74678),a=i(17679);let l=n.Ay.div.withConfig({componentId:"sc-de84892b-0"})(["display:flex;flex-direction:column;align-items:center;gap:24px;h3{color:",";}"],e=>{let{theme:t}=e;return t.colors.white90}),s=(0,n.AH)(["width:440px;&> div{padding:32px;margin:0;}"]),d=n.Ay.div.withConfig({componentId:"sc-de84892b-1"})(["display:flex;position:relative;img{max-width:170px;}img:nth-child(2),img:nth-child(3){position:absolute;transform:scale(0.5)}img:nth-child(2){left:-55px;top:-83px;}img:nth-child(3){top:10px;left:30px;}"]),c=n.Ay.div.withConfig({componentId:"sc-de84892b-2"})([""," flex-direction:column;"],a.gX),p=n.Ay.h3.withConfig({componentId:"sc-de84892b-3"})(["margin:0;padding:0;font-size:20px;font-weight:600;line-height:30px;"]),u=(0,n.Ay)(r.Dp).withConfig({componentId:"sc-de84892b-4"})(["margin-top:8px;color:",";text-align:center;"],e=>{let{theme:t}=e;return t.colors.white80}),h=(0,n.Ay)(o.SC).withConfig({componentId:"sc-de84892b-5"})(["margin-top:24px;padding:9.5px 24px;border-radius:24px;"]),g=n.Ay.div.withConfig({componentId:"sc-de84892b-6"})(["p,a{color:",";text-align:center;}"],e=>{let{theme:t}=e;return t.colors.white70}),x=l},7485:(e,t,i)=>{"use strict";i.d(t,{A:()=>x});var n=i(37876),o=i(26359),r=i(80549),a=i(91226),l=i(64320),s=i(14232),d=i(3672),c=i(71744),p=i(26617),u=i(17679),h=i(47030);let g={src:"/_next/static/media/horizontal-light-prime.2a092986.webp",height:40,width:137,blurDataURL:"data:image/webp;base64,UklGRnQAAABXRUJQVlA4WAoAAAAQAAAABwAAAQAAQUxQSBEAAAAAZpUceHBeUTSjtCwHGUVEJgBWUDggPAAAANABAJ0BKggAAgACQDglqAJ0APSXjezQAP7s82dI75XIkPVw0/lGPL6BaKBkUooO8zGHGp/cwr7geSgAAA==",blurWidth:8,blurHeight:2},x=e=>{var t,i,x;let{type:f="dark",showInfoIcon:m=!0,style:w={},iconStyle:b={},hasTagline:A=!0,isAppPage:y,ssrOrigin:v,className:C="",mobileHeaderUI:j=!1}=e,I=(0,l.wA)(),k=(0,l.d4)(e=>e.play.showAboutUs),E=(0,l.d4)(e=>e.play.isNowGGURL),S=null==(x=null==(i=null==(t=p.Ay.appInfo)?void 0:t.playFeFeatures)?void 0:i.uiConfig)?void 0:x.enableHeaderLogoRedirection,P=(0,l.d4)(e=>e.play.nowPremiumSubscriptionActive),D=(0,c.A)(),_=(0,s.useMemo)(()=>(0,n.jsx)(o.A,{hasTagline:A,style:Object.assign({width:j?95:165,height:j?28:50,margin:0},b),themeType:"light",isHeaderLogo:!0}),[A,b,f]),T=p.Ay.isAppPage?"https://".concat(v||"now.gg"):p.Ay.isHomePage?"https://now.gg":window.location.origin;return p.Ay.isPlayPage&&(null==T?void 0:T.indexOf("://now.us"))>-1&&(T=null==T?void 0:T.replace("://now.us","://now.gg")),(0,n.jsxs)(u.Zl,{className:C||"",children:[(0,n.jsx)("a",{style:S?{}:{pointerEvents:"none"},href:E?D&&!p.Ay.isHomePage?(0,d.iR)(T):T:window.location.href,children:P?(0,n.jsx)("img",{alt:"now.gg",src:(0,h._w)(g),style:{width:137,height:40,margin:0}}):_}),m&&(0,n.jsx)(r.A,{className:"ngg-info-icon",name:"info",id:"ng-info",size:15,style:{cursor:"pointer",padding:5*!j},onClick:()=>{I({type:a.A.MODAL_STATUS,payload:{showAboutUs:!k}})}})]})}},7766:(e,t,i)=>{var n=i(23550);e.exports=function(e,t,i){var o=null==e?void 0:n(e,t);return void 0===o?i:o}},8969:(e,t,i)=>{"use strict";i.d(t,{Ay:()=>x,CY:()=>h,q9:()=>g});var n=i(37876),o=i(68827),r=i.n(o),a=i(14232),l=i(86360),s=i(34961),d=i(47030),c=i(81648),p=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]]);return i};let u="".concat(s.Cpe,"placeholder-image.jpg"),h=e=>{var{src:t}=e,i=p(e,["src"]);let[o,s]=(0,a.useState)(t);return(0,n.jsx)(r(),{src:o,onLoadingComplete:e=>{0===e.naturalWidth&&"Mozilla Firefox"!==l.T&&s(u)},onError:()=>{s(u)},objectFit:"cover",layout:"fill",loader:d.Vm,...i})},g=e=>{var{src:t}=e,i=p(e,["src"]);let[o,s]=(0,a.useState)(t),h=(0,a.useRef)(null),g=(0,c.A)(h);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{ref:h}),(0,n.jsx)(r(),{src:g?o:u,onLoadingComplete:e=>{0===e.naturalWidth&&"Mozilla Firefox"!==l.T&&s(u)},onError:()=>{s(u)},objectFit:"cover",layout:"fill",loader:d.Vm,...i,loading:"lazy",fetchPriority:"low"})]})},x=h},10534:(e,t,i)=>{"use strict";i.d(t,{SC:()=>d});var n=i(54551),o=i(98684);let r={primary:{color:n.JX.colors.white,loadingTextColor:"rgba(255, 255, 255, 0.4)",hoverColor:n.JX.colors.white,disableColor:n.JX.colors.white40,activeColor:n.JX.colors.white,backgroundColorNormal:n.JX.colors.ascent,loadingBgColor:"rgba(255, 255, 255, 0.1)",backgroundColorHover:n.JX.colors.ascent40,backgroundColorDisable:"#565656",backgroundColorActive:n.JX.colors.ascent,loadingBoxShadowNormal:"",boxShadowNormal:"0px 4px 4px rgba(0, 0, 0, 0.2)",borderColor:"",loadingBackdropFilter:"blur(120px)"},primary2:{color:n.JX.colors.white,loadingTextColor:"rgba(255, 255, 255, 0.4)",hoverColor:n.JX.colors.white,disableColor:n.JX.colors.white40,activeColor:n.JX.colors.white,backgroundColorNormal:n.JX.colors.ascent,loadingBgColor:n.JX.colors.ascent,backgroundColorHover:n.JX.colors.ascent40,backgroundColorDisable:"#565656",backgroundColorActive:n.JX.colors.ascent,loadingBoxShadowNormal:"",boxShadowNormal:"0px 4px 4px rgba(0, 0, 0, 0.2)",borderColor:"",loadingBackdropFilter:"blur(120px)"},secondary:{color:n.JX.colors.ascent40,hoverColor:n.JX.colors.ascent40,disableColor:n.JX.colors.white40,activeColor:n.JX.colors.ascent40,backgroundColorNormal:n.JX.colors.base50,backgroundColorHover:n.JX.colors.white,backgroundColorDisable:n.JX.colors.white10,backgroundColorActive:n.JX.colors.base50,boxShadowNormal:"0px 4px 4px 0px rgba(0, 0, 0, 0.2)",boxShadowDisable:"",borderColor:""},tertiary:{color:n.JX.colors.base800,hoverColor:n.JX.colors.base900,disableColor:n.JX.colors.white40,activeColor:n.JX.colors.base800,backgroundColorNormal:n.JX.colors.white70,backgroundColorHover:n.JX.colors.white90,backgroundColorDisable:n.JX.colors.white10,backgroundColorActive:n.JX.colors.white70,boxShadowNormal:"0px 4px 4px 0px rgba(0, 0, 0, 0.2)",boxShadowDisable:"",borderColor:""},secondaryOutline:{color:n.JX.colors.white80,hoverColor:n.JX.colors.white,disableColor:n.JX.colors.white40,activeColor:n.JX.colors.white80,backgroundColorNormal:n.JX.colors.transparent,backgroundColorHover:n.JX.colors.transparent,backgroundColorDisable:n.JX.colors.white10,backgroundColorActive:n.JX.colors.transparent,boxShadowNormal:"0px 4px 4px 0px rgba(0, 0, 0, 0.2)",boxShadowDisable:"",borderColor:n.JX.colors.white80,borderHover:"2px solid #FFF"},primaryOutline:{color:n.JX.colors.ascent,hoverColor:n.JX.colors.ascent40,disableColor:n.JX.colors.white40,activeColor:n.JX.colors.ascent,backgroundColorNormal:n.JX.colors.transparent,backgroundColorHover:n.JX.colors.transparent,backgroundColorDisable:n.JX.colors.white10,backgroundColorActive:n.JX.colors.transparent,boxShadowNormal:"0px 4px 4px rgba(0, 0, 0, 0.2)",borderColor:n.JX.colors.ascent,borderHover:"2px solid #FF3392"},transparent:{color:n.JX.colors.white,hoverColor:n.JX.colors.white,disableColor:n.JX.colors.white40,activeColor:n.JX.colors.white,backgroundColorNormal:n.JX.colors.transparent,backgroundColorHover:n.JX.colors.white20,backgroundColorDisable:n.JX.colors.white10,backgroundColorActive:n.JX.colors.white30,boxShadowNormal:"0px 4px 4px rgba(0, 0, 0, 0.2)"},google:{color:n.JX.colors.black,backgroundColorNormal:n.JX.colors.white90,backgroundColorHover:n.JX.colors.white,boxShadowNormal:"",boxShadowDisable:"",borderColor:""},apple:{color:n.JX.colors.black,backgroundColorNormal:n.JX.colors.white90,backgroundColorHover:n.JX.colors.white,boxShadowNormal:"",borderColor:""},facebook:{color:n.JX.colors.white,backgroundColorNormal:"#007AFF",backgroundColorHover:"#2E97FF",boxShadowNormal:"",borderColor:""},discord:{color:n.JX.colors.white,backgroundColorNormal:"#6F42FF",backgroundColorHover:"#865FFF",boxShadowNormal:"",borderColor:""},translucent:{color:n.JX.colors.white,hoverColor:n.JX.colors.white,disableColor:n.JX.colors.white40,activeColor:n.JX.colors.white,backgroundColorNormal:n.JX.colors.white10,backgroundColorHover:n.JX.colors.white20,backgroundColorDisable:"#565656",backgroundColorActive:n.JX.colors.black30,boxShadowNormal:"0px 8px 16px 0px rgba(0, 0, 0, 0.10)",borderColorDisable:"0px 8px 16px 0px rgba(0, 0, 0, 0.10)"},defaultOutline:{color:n.JX.colors.white80,borderColor:n.JX.colors.white80,backgroundColorNormal:n.JX.colors.transparent,backgroundColorHover:n.JX.colors.transparent,borderColorHover:n.JX.colors.white,hoverColor:n.JX.colors.white,boxShadowNormal:"0 4px 4px 0 rgba(0, 0, 0, 0.33)",backgroundColorDisable:n.JX.colors.base700,boxShadowDisable:"0 4px 4px 0 rgba(0, 0, 0, 0.20)",disableColor:n.JX.colors.white30,borderColorDisable:n.JX.colors.base700},primaryLoader:{color:n.JX.colors.white,loadingTextColor:"rgba(255, 255, 255, 0.4)",hoverColor:n.JX.colors.white,disableColor:n.JX.colors.white40,activeColor:n.JX.colors.white,backgroundColorNormal:n.JX.colors.ascent,loadingBgColor:"rgba(0, 0, 0, 0.1)",backgroundColorHover:n.JX.colors.ascent40,backgroundColorDisable:"#565656",backgroundColorActive:n.JX.colors.ascent,loadingBoxShadowNormal:"",boxShadowNormal:"0px 4px 4px rgba(0, 0, 0, 0.2)",borderColor:"",loadingBackdropFilter:"blur(120px)"}},a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"primary",i=arguments.length>2?arguments[2]:void 0,{color:n,hoverColor:o,activeColor:a,backgroundColorNormal:l,backgroundColorHover:s,backgroundColorDisable:d,backgroundColorActive:c,boxShadowNormal:p,boxShadowDisable:u,disableColor:h,borderColor:g,borderColorDisable:x,borderColorHover:f,loadingBgColor:m,loadingTextColor:w,loadingBoxShadowNormal:b,loadingBackdropFilter:A,borderHover:y}=r[t];return"\n color: ".concat(i?"".concat(w," !important"):n,";\n background: ").concat(i?"".concat(m," !important"):l,";\n border: ").concat(g?"1px solid ".concat(i?m:g):"0px",";\n box-shadow: ").concat(i?b:p,";\n ").concat(i?"pointer-events:none;":"","\n ").concat(A?"backdrop-filter:".concat(A,";"):"","\n\n &:hover {\n background: ").concat(s,";\n color: ").concat(o,";\n border-color: ").concat(f,";\n border: ").concat(y,";\n }\n\n &:active {\n background: ").concat(c,";\n color: ").concat(a,";\n border: ").concat(g?"1px solid ".concat(i?m:g):"0px",";\n }\n\n &:disabled, &:hover:disabled {\n cursor: default;\n color: ").concat(h,";\n background: ").concat(d,";\n box-shadow: ").concat(u,";\n border-color: ").concat(x,";\n backdrop-filter: none;\n box-shadow: none;\n border: none;\n }\n ")},l=(e,t)=>{switch(t){case"small":return"\n gap: 4px;\n padding: 4px 12px;\n border-radius: ".concat(e.border.radius,";\n font-weight: 600;\n font-size: 10px;\n line-height: 16px;\n letter-spacing: 0.2px;\n ");case"medium":return"\n gap: 4px;\n padding: 7px 16px;\n border-radius: ".concat(e.border.radius6,";\n font-weight: 600;\n font-size: 12px;\n line-height: 150%;\n ");case"large":return"\n gap: 4px;\n padding: 9.5px 24px;\n border-radius: ".concat(e.border.radius2,";\n font-weight: 600;\n font-size: 14px;\n line-height: 150%;\n ");case"xlarge":return"\n gap: 8px;\n padding: 12px 32px;\n border-radius: ".concat(e.border.radius10,";\n font-weight: 600;\n font-size: 16px;\n line-height: 150%;\n ");default:return"\n gap: 16px;\n padding: 10px;\n border-radius: ".concat(e.border.radius,";\n font-weight: 500;\n font-size: 12px;\n line-height: 150%;\n ")}},s=e=>"\n width: ".concat(e,";\n height: ").concat(e,";\n flex-direction: column;\n gap: 0;\n &::before, &::after {\n display: none;\n }\n"),d=o.Ay.button.withConfig({componentId:"sc-404ed2b-0"})(["cursor:pointer;display:flex;align-items:center;justify-content:center;position:relative;outline:none;border-radius:54px;font-family:inherit;"," "," "," "," &.more-cta{font-size:14px;padding:9px 27px;margin-left:auto;margin-right:auto;@media only screen and (max-width:768px) and (orientation:portrait){width:100%;}}"],e=>{let{variant:t,theme:i,isLoading:n}=e;return a(i,t,n)},e=>{let{size:t,theme:i}=e;return l(i,t)},e=>{let{rounded:t}=e;return t?s(t.diameter):""},e=>{let{shadow:t}=e;return t?"":"box-shadow: none;"});o.Ay.a.withConfig({componentId:"sc-404ed2b-1"})(["cursor:pointer;display:inline-block;align-items:center;justify-content:center;position:relative;outline:none;border-radius:54px;text-decoration:none;"," "," ",""],e=>{let{variant:t,theme:i}=e;return a(i,t)},e=>{let{size:t,theme:i}=e;return l(i,t)},e=>{let{rounded:t}=e;return t?s(t.diameter):""})},10839:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var n=i(37876),o=i(47030),r=i(37102);let a=()=>(0,n.jsxs)("div",{className:"lcpImgWrapper full-wh",children:[(0,n.jsx)("div",{className:"lcpDiv"}),(0,n.jsx)("div",{style:{width:"100%",height:"100%",backgroundImage:"url(".concat((0,o._w)(r.A),")"),backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"repeat"}})]})},11401:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>eI});var n=i(37876),o=i(97634),r=i(79682),a=i(1615),l=i(44498),s=i(50011),d=i(80549),c=i(45872);let p=e=>{let{children:t,center:i}=e;return(0,n.jsx)(c.jl,{center:i,children:t})};var u=i(74678);let h=e=>{let{icon:t,title:i,onClose:o}=e;return(0,n.jsxs)(c.rQ,{children:[t,(0,n.jsx)(u.Zc,{children:i}),o&&(0,n.jsx)(c.Oj,{onClick:o,children:(0,n.jsx)(d.A,{name:"cross-thin",size:14})})]})};var g=i(6196),x=i(79461),f=i(37040),m=i(86360),w=i(26617),b=i(39324),A=i.n(b),y=i(14232),v=i(26875),C=i(64320),j=i(54551),I=i(25827),k=i(98684);let E=k.Ay.div.withConfig({componentId:"sc-dc8ec01c-0"})(['display:flex;input[type="radio"]{display:none;margin:0;&:checked + label{&:after{box-sizing:content-box;position:absolute;left:4px;content:"";height:8px;width:8px;background:',";border-radius:50%;-webkit-transition:.4s;transition:.4s;top:50%;transform:translateY(-50%);}&:before{border:2px solid ",";}color:"," !important;}}label{position:relative;cursor:pointer;color:currentColor !important;",' padding-left:28px;&:before{position:absolute;left:0;top:50%;transform:translateY(-50%);content:"";width:16px;height:16px;border-radius:50%;box-sizing:border-box;background-color:transparent;border:2px solid currentcolor;display:inline-block;margin-right:5px;}}'],e=>{let{theme:t}=e;return t.colors.ascent},e=>{let{theme:t}=e;return t.colors.ascent},e=>{let{theme:t}=e;return t.colors.white},e=>{let{labeltext:t}=e;return t&&(0,k.AH)(["font-weight:400;font-size:12px;line-height:150%;"])});var S=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]]);return i};let P=e=>{var{children:t,labelId:i}=e,o=S(e,["children","labelId"]);return(0,n.jsxs)(E,{...o,children:[(0,n.jsx)("input",{type:"radio",...o}),(0,n.jsx)("label",{htmlFor:o.id,id:i,children:o.labeltext||t})]})},D=k.Ay.div.withConfig({componentId:"sc-ea03a774-0"})([""," border-radius:6px;transition:all 0.3s ease-out;"],e=>{let{theme:t,openState:i}=e;return"\n background-color: ".concat(t.colors.transparent,";\n border: 1px solid ").concat(t.colors.white20,";\n ").concat(i?"":"box-shadow: ".concat(t.shadow.small,";"),"\n ")}),_=k.Ay.div.withConfig({componentId:"sc-ea03a774-1"})(["cursor:pointer;color:",";display:flex;justify-content:space-between;padding:8px 12px;transition:all 0.3s ease-out;svg{stroke:",";}&:hover{background-color:",";}"],e=>{let{theme:t}=e;return t.colors.white80},e=>{let{theme:t,openState:i}=e;return i?t.colors.ascent:t.colors.white60},e=>{let{theme:t}=e;return t.colors.black20}),T=k.Ay.ul.withConfig({componentId:"sc-ea03a774-2"})(["color:",";background-color:",";box-shadow:",";margin:1px;border-radius:6px;overflow:hidden;transition:max-height 0.3s ease-out;max-height:0;list-style:none;padding:0;"],e=>{let{theme:t}=e;return t.colors.white40},e=>{let{theme:t}=e;return t.colors.black10},e=>{let{theme:t}=e;return t.shadow.small}),R=k.Ay.li.withConfig({componentId:"sc-ea03a774-3"})(["cursor:pointer;margin-bottom:8px;padding:8px 12px;color:",";&:last-child{margin-bottom:0;}&:hover{color:",";}"],e=>{let{theme:t}=e;return t.colors.white40},e=>{let{theme:t}=e;return t.colors.white}),F=k.Ay.span.withConfig({componentId:"sc-ea03a774-4"})(["display:inline-flex;align-items:center;transition:transform 0.3s ease-out;",""],e=>{let{rotate:t}=e;return t&&"transform: rotateX(180deg);"});var O=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]]);return i};let B=e=>{var{label:t,options:i=[],selectedValue:o,showOptions:r=!1,onSelectOption:a}=e,l=O(e,["label","options","selectedValue","showOptions","onSelectOption"]);let[s,d]=(0,y.useState)(r),{t:c}=(0,v.B)(),p=(0,y.useRef)(null),h=e=>{p.current&&(p.current.style.maxHeight=e?"".concat(p.current.scrollHeight,"px"):"",d(e))};return(0,y.useEffect)(()=>{h(r)},[r]),i.length?(0,n.jsxs)(D,{openState:s,...l,children:[(0,n.jsxs)(_,{onClick:()=>{h(!s)},openState:s,children:[(0,n.jsx)(u.eg,{children:c(t)}),(0,n.jsx)(F,{rotate:s,children:(0,n.jsx)("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M9 1.46973L5 5.46973L1 1.46973",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),(0,n.jsx)(T,{ref:p,children:i.map(e=>(0,n.jsx)(R,{onClick:()=>a&&a(e),children:(0,n.jsx)(P,{checked:o===e,labelId:e,children:(0,n.jsx)(u.M5,{children:c(e)})})},e))})]}):null};var L=i(46222),H=i(61120),z=i(34961),N=i(80489),U=i(58501),M=i(42384),W=i(27986),G=i(91226),X=i(36816),V=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function a(e){try{s(n.next(e))}catch(e){r(e)}}function l(e){try{s(n.throw(e))}catch(e){r(e)}}function s(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(a,l)}s((n=n.apply(e,t||[])).next())})};function J(e){return V(this,void 0,void 0,function*(){return fetch(e).then(e=>e.blob()).then(e=>new File([e],"screenshot.png",{type:"image/jpeg"})).catch(e=>{throw Error("Oops! unable to convert dataURI to file ".concat(e))})})}let Q=e=>V(void 0,void 0,void 0,function*(){return new Promise(t=>{try{let i=[],n=0;e.forEach((o,r)=>{let{uri:a,name:l}=o,s=new Image;s.src=a,s.onload=()=>{i[r]={element:s,name:l},(n+=1)===e.length&&t(i)}})}catch(e){throw Error("Oops! unable load Images")}})});function Y(e){let t=document.createElement("canvas"),i=t.getContext("2d"),n=e.reduce((e,t)=>{let{element:i}=t;return e+i.width},0)+(e.length-1)*20,o=Math.max(...e.map(e=>{let{element:t}=e;return t.height}));t.width=n,t.height=o+80;let r=0;if(i)return i.font="26px Arial",i.textAlign="center",i.fillStyle="#e3f081",e.forEach(e=>{let{element:t,name:n}=e;i.drawImage(t,r,0,t.width,t.height),i.fillText(n,r+t.width/2,o+40),r+=t.width+20}),t.toDataURL("image/png");throw Error("Oops! unable to get context from canvas")}let K=()=>V(void 0,void 0,void 0,function*(){let e=(0,X.Ji)();if(!e||0===e.getVideoTracks().length)return!1;let t=document.createElement("video");return t.srcObject=e,t.autoplay=!0,t.muted=!0,new Promise(i=>{t.play().catch(e=>{i(!1)}),t.addEventListener("playing",()=>{let n=document.createElement("canvas");n.width=t.videoWidth,n.height=t.videoHeight;let o=n.getContext("2d");if(!o)return void i(!1);setTimeout(()=>{o.drawImage(t,0,0,t.videoWidth,t.videoHeight),i({androidStreamURI:n.toDataURL("image/jpeg"),identifier:e.getVideoTracks()[0].id})},1e3)})})});function q(e,t){let i=document.createElement("canvas"),n=i.getContext("2d");return t===H.QB.landscape?(0,m.Fr)()?(i.width=e.clientHeight,i.height=e.clientWidth,null==n||n.rotate(-Math.PI/2),null==n||n.drawImage(e,-i.width/2,0,i.height,i.width)):(i.width=e.clientHeight,i.height=e.clientWidth,null==n||n.translate(i.width/2,i.height/2),null==n||n.rotate(-Math.PI/2),null==n||n.drawImage(e,-i.height/2,-i.width/2,i.height,i.width)):(i.width=e.clientWidth,i.height=e.clientHeight,null==n||n.drawImage(e,0,0,e.clientWidth,e.clientHeight)),i.toDataURL("image/jpeg")}var $=i(80060),Z=i(92620),ee=i(24987),et=i(81007);let ei=["packetsLost","packetsReceived","bytesReceived","framesReceived","frameWidth","frameHeight","framesPerSecond","framesDecoded","keyFramesDecoded","framesDropped","nackCount"],en=(0,k.AH)(["max-width:100%;max-height:100vh;width:380px;overflow:auto;margin:0;@media screen and (orientation:landscape) and (max-height:575.98px){max-height:calc(100% - 18px);}@media screen and (orientation:portrait) and (max-width:600px){&.addRotation{transform:rotate(-90deg);}width:calc(100vw - 18px);height:auto;max-height:calc(100% - 18px);}"]),eo=(0,k.AH)(["justify-content:center;align-items:center;"]),er=k.Ay.div.withConfig({componentId:"sc-a2d6f976-0"})(["padding:16px;header{color:",";border:0;span{margin-right:8px;}}label{color:",";font-weight:500;letter-spacing:0.6px;}.error{color:",";opacity:0.8;}footer{margin-top:8px;}"],e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.white40},e=>{let{theme:t}=e;return t.colors.error}),ea=k.Ay.span.withConfig({componentId:"sc-a2d6f976-1"})(["text-align:center;width:20px;height:20px;border-radius:50%;background-color:",";font-size:14px;line-height:20px;align-self:center;"],e=>{let{theme:t}=e;return t.colors.warning});k.Ay.div.withConfig({componentId:"sc-a2d6f976-2"})(["display:flex;justify-content:space-between;"]);let el=k.Ay.ul.withConfig({componentId:"sc-a2d6f976-3"})(["padding:0;margin:24px auto 16px;list-style-type:none;"]),es=k.Ay.li.withConfig({componentId:"sc-a2d6f976-4"})(["color:",";display:flex;align-items:center;gap:16px;margin-bottom:16px;&:last-child{margin-bottom:0;}.icon-active{color:",";}"],e=>{let{theme:t}=e;return t.colors.white40},j.JX.colors.green),ed=k.Ay.div.withConfig({componentId:"sc-a2d6f976-5"})(["list-style-type:none;display:flex;margin:0;background:",";border:",";box-shadow:",";border-radius:6px;padding:16px;"],e=>{let{theme:t}=e;return t.colors.black20},e=>{let{theme:t}=e;return t.border.base4},e=>{let{theme:t}=e;return t.shadow.small}),ec=k.Ay.label.withConfig({componentId:"sc-a2d6f976-6"})(["",";width:48px;height:48px;margin-right:auto;background-size:cover;display:flex;align-items:center;justify-content:center;position:relative;cursor:pointer;span{z-index:2;}p{margin-bottom:0;width:16px;height:16px;}.icon-cross-thin{color:white;z-index:1;font-weight:bold;}",""],e=>{let{background:t}=e;return t?'background-image: url("'.concat(t,'")'):""},e=>{let{loading:t}=e;return t?"":(0,k.AH)(["border:1px solid rgba(255,255,255,0.5);border-radius:4px;overflow:hidden;&:hover{&:after{background:",";}}&:after{content:'';position:absolute;left:0;right:0;top:0;bottom:0;background:rgba(0,0,0,0.5);}"],e=>{let{theme:t}=e;return t.colors.modal})}),ep=k.Ay.label.withConfig({componentId:"sc-a2d6f976-7"})(["display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;"," ",";p{margin:13px 0 0;font-weight:400;font-size:12px;line-height:150%;}input{display:none;}"],e=>{let{compact:t}=e;return t?(0,k.AH)(["width:48px;min-width:48px;height:48px;background:",";border-radius:4px;margin-left:8px;"],e=>{let{theme:t}=e;return t.colors.black20}):(0,k.AH)(["flex:1;"])},e=>{let{seperator:t}=e;return t?(0,k.AH)(["border-right:1px solid rgba(255,255,255,0.1)"]):""}),eu=k.Ay.div.withConfig({componentId:"sc-a2d6f976-8"})(["display:flex;align-items:center;color:"," !important;p{margin-right:20px;margin-left:10px;flex:2;color:",";}span{color:",";}"],e=>{let{theme:t}=e;return t.colors.error},e=>{let{theme:t}=e;return t.colors.error},e=>{let{theme:t}=e;return t.colors.error}),eh=k.Ay.div.withConfig({componentId:"sc-a2d6f976-9"})(["width:100%;display:flex;justify-content:center;gap:16px;button{flex:1;max-width:50%;p{padding:1.5px;font-weight:500;}}"]),eg=k.Ay.div.withConfig({componentId:"sc-a2d6f976-10"})(["margin-top:16px;div{color:",";label{color:",";i{color:",";}}}"],e=>{let{theme:t}=e;return t.colors.black20},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.white}),ex=k.Ay.div.withConfig({componentId:"sc-a2d6f976-11"})(["margin-top:16px;"]),ef=k.Ay.div.withConfig({componentId:"sc-a2d6f976-12"})(["margin-bottom:24px;&:last-child{margin-bottom:0;}"]),em=[{label:"gameplay.label",options:["gameplay.gameUpdate","gameplay.gameFroze","gameplay.gameStuck","gameplay.gameLagging","other"]},{label:"gamecontrols.label",options:["gamecontrols.keyControls","gamecontrols.mouseIssues","gamecontrols.gamepadIssues","other"]},{label:"accountLogin.label",options:["accountLogin.incorrectPassword","accountLogin.LoginIssues","accountLogin.unableToSave","other"]},{label:"appOrGameRequest.label",options:["appOrGameRequest.appRequest","appOrGameRequest.gameRequest"]}],ew=["createDeviceProfile","collectingStats","collectingOtherInformation","sendingProblemReport"],eb=["compilingInformation","processingProblemReport","sendingProblemReport"],eA=[{showProblems:!0,buttons:[{type:"close",label:"close",variant:"secondaryOutline"},{type:"next",label:"next"}],nextLayer:1},{showEmail:!0,showDescription:!0,showUpload:!0,showDiagnosisCheckbox:!0,buttons:[{type:"back",label:"back",variant:"secondaryOutline"},{type:"submit",label:"submit"}],prevLayer:0,nextLayer:4},{showEmail:!0,showUpload:!0,showDiagnosisCheckbox:!0,buttons:[{type:"back",label:"back",variant:"secondaryOutline"},{type:"next",label:"next"}],prevLayer:0,nextLayer:3},{showDescription:!0,showDiagnosisCheckbox:!0,buttons:[{type:"back",label:"back",variant:"secondaryOutline"},{type:"submit",label:"submit"}],prevLayer:2,nextLayer:4},{title:"diagnosingProblem",showDiagnosis:!0},{title:"thankYou",showSuccess:!0,buttons:[{type:"close",label:"okay"}]},{title:"submissionFailed",showFailed:!0,buttons:[{type:"tryAgain",label:"tryAgain"}],nextLayer:0},{showEmail:!0,showDescription:!0,showUpload:!0,showDiagnosisCheckbox:!0,buttons:[{type:"submit",label:"submit"}],nextLayer:4},{showEmail:!0,showUpload:!0,showDiagnosisCheckbox:!0,buttons:[{type:"next",label:"next"}],prevLayer:0,nextLayer:3}];var ey=i(65364),ev=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function a(e){try{s(n.next(e))}catch(e){r(e)}}function l(e){try{s(n.throw(e))}catch(e){r(e)}}function s(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(a,l)}s((n=n.apply(e,t||[])).next())})};let{publicRuntimeConfig:eC}=A()(),ej=ey.env.NEXT_PUBLIC_FE_VERSION||eC.NEXT_PUBLIC_FE_VERSION||"",eI=e=>{var t,i;let{isHome:c=!1,isError:b=!1,isAppPage:A}=e,{t:k}=(0,v.B)(),E=(0,C.d4)(e=>e.support.errorType),S=(0,C.d4)(e=>e.play.error),P=(0,C.d4)(e=>e.play.isAndroidConnected),D=(0,C.d4)(e=>e.auth.isLoggedIn),_=(0,C.d4)(e=>e.play.peerConnection),T=(0,C.d4)(e=>e.appPreferences.volume),R=(0,C.d4)(e=>e.play.orientation),F=(0,C.d4)(e=>e.appPreferences.imapOverlay),O=(0,C.wA)(),X=(0,m.Fr)()&&R===H.QB.landscape,[ey,eC]=(0,y.useState)(""),[eI,ek]=(0,y.useState)((0,w.a2)()?(0,m.Fr)()&&!(0,m.v1)()&&X?8:7:0),[eE,eS]=(0,y.useState)(!0),[eP,eD]=(0,y.useState)(""),[e_,eT]=(0,y.useState)(!1),[eR,eF]=(0,y.useState)(!1),[eO,eB]=(0,y.useState)(""),[eL,eH]=(0,y.useState)(!0),[ez,eN]=(0,y.useState)(!1),[eU,eM]=(0,y.useState)(0),[eW,eG]=(0,y.useState)(""),[eX,eV]=(0,y.useState)(null),[eJ,eQ]=(0,y.useState)(!1),[eY,eK]=(0,y.useState)(H.BL.None),[eq,e$]=(0,y.useState)(0),[eZ,e0]=(0,y.useState)(""),[e1]=(0,y.useState)((0,$.Ay)()),e2=(0,y.useRef)(""),e4=(0,y.useRef)(""),e5=(0,y.useRef)(0);w.Ay.countryCode;let[e6,e8]=(0,y.useState)(em);(0,y.useEffect)(()=>{(0,m.Fr)()&&!(0,m.v1)()&&X&&(eA[0].nextLayer=2);let e=D?(0,U.VM)():null;e&&eD(e.email),et.h9.includes(w.Ay.countryCode)&&e8([...e6,{label:"nowPrime.label",options:["nowPrime.paymentIssues","nowPrime.featureIssues","nowPrime.accountAccess","other"]}])},[]);let e3=()=>{O({type:x.A.CLOSE_SUPPORT})};(0,y.useEffect)(()=>{(0!==eI||ey)&&(1!==eI||eP&&!e_&&eO&&!eR)&&(2!==eI||eP&&!e_)&&(3!==eI||eO&&!eR)&&(7!==eI||eP&&!e_&&eO&&!eR)&&(8!==eI||eP&&!e_)?eS(!1):eS(!0)},[ey,e_,eO,eI,eR,eP]);let e7=(e,t)=>{switch(e){case"email":/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(t)?eT(!1):eT(!0),eD(t);break;case"description":0===t.trim().length||t.length<12?eF(!0):eF(!1),eB(t)}},e9=(0,y.useCallback)(()=>ev(void 0,void 0,void 0,function*(){var e;let{videoRef:t,videoContainerRef:i}=g.A.getState().play;eN(!1),eG(""),eK(H.BL.None),eV(null);let n=document.getElementById("overlay");if(n&&(n.style.display="none"),t&&t.current&&(null==(e=null==i?void 0:i.current)?void 0:e.parentElement))try{let e=yield function(e,t,i){return V(this,void 0,void 0,function*(){let n=[],o=q(e,t),r=yield function(e){return V(this,void 0,void 0,function*(){return navigator.mediaDevices.getDisplayMedia({video:!0}).then(t=>{let i=document.createElement("video");return i.srcObject=t,i.autoplay=!0,i.muted=!0,new Promise(n=>{i.play().catch(e=>{n(!1)}),i.addEventListener("playing",()=>{let o=document.createElement("canvas");o.width=i.videoWidth,o.height=i.videoHeight;let r=o.getContext("2d");if(!r){t.getTracks().forEach(e=>e.stop()),n(!1);return}setTimeout(()=>{r.drawImage(i,0,0,i.videoWidth,i.videoHeight),t.getTracks().forEach(e=>e.stop());let a=o.toDataURL("image/jpeg");e.current=a,n(a)},1e3)})})}).catch(e=>!1)})}(i),a=yield K();return a&&n.push({uri:a.androidStreamURI,name:"Android Stream(".concat(a.identifier,")")}),o&&n.push({uri:o,name:"Video Element"}),"string"==typeof r&&n.push({uri:r,name:"Screen Capture"}),Y((yield Q(n)))})}(t.current,R,e2);if(e4.current&&"string"==typeof e){let t=[];t.push({uri:e,name:""}),t.push({uri:e4.current,name:"Uploaded File"});let i=yield Q(t);e=Y(i)}n&&(n.style.display="flex"),eQ(!0);let i=yield J(e);eQ(!1),eK(H.BL.Jpeg),eG(e),eV(i)}catch(e){n&&(n.style.display="flex"),eQ(!1),eG(""),(0,a.Ay)(Error("cannot generate screenshot")),eV(null)}}),[eI]);return(0,n.jsx)(I.A,{className:"".concat(!c&&!b&&!A&&R===H.QB.landscape&&(0,m.Fr)()?"addRotation ":"","\n ").concat(0===eI?"fullSize":""),modalBackgroundColor:j.JX.gradients.glass,overlayStyles:eo,modalStyles:en,style:(0,w.a2)()?{transform:"rotate(0deg)"}:{},children:(0,n.jsxs)(er,{children:[(0,n.jsx)(h,{icon:eA[eI].showFailed?(0,n.jsx)(ea,{children:"!"}):"",title:k(eA[eI].title||"helpAndSupport"),onClose:eA[eI].showDiagnosis?null:e3}),eA[eI].showProblems&&(0,n.jsx)(ex,{children:e6.map((e,t)=>{let{label:i,options:o}=e;return(0,n.jsx)(ef,{onClick:()=>{eq!==t&&e$(t)},children:(0,n.jsx)(B,{label:i,options:o,selectedValue:eZ===i?ey:"",showOptions:t===eq,onSelectOption:e=>{eC(e),e0(i),e5.current=t}})},i)})}),eA[eI].showEmail&&(0,n.jsx)(l.pd,{disabled:D,value:eP,type:"text",id:"email-input",required:!0,error:e_,title:k("email"),onUpdate:e=>e7("email",e),placeholder:k("emailPlaceholder"),pattern:"[a-z0-9._%+-]+@[a-z0-9.-]+.[a-z]{2,}$",onFocus:()=>{O({type:G.A.UPDATE_TEXTFIELD_FOCUS,payload:{uiTextfieldInFocus:!0}})},onBlur:()=>{O({type:G.A.UPDATE_TEXTFIELD_FOCUS,payload:{uiTextfieldInFocus:!1}})}}),eA[eI].showDescription&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l.TM,{limit:200,error:eR,value:eO,id:"description-input",initialValue:eO,title:k("problemDescription"),placeholder:k("problemInfo"),onUpdate:e=>e7("description",e),required:!0,style:eR?{marginBottom:"3px"}:{},onFocus:()=>{O({type:G.A.UPDATE_TEXTFIELD_FOCUS,payload:{uiTextfieldInFocus:!0}})},onBlur:()=>{O({type:G.A.UPDATE_TEXTFIELD_FOCUS,payload:{uiTextfieldInFocus:!1}})}}),eR&&(0,n.jsx)(u.YC,{className:"error",red:!0,med:!0,bold:!0,children:k("min12Characters")})]}),eA[eI].showUpload&&(0,n.jsxs)(eg,{children:[(0,n.jsx)(s.JU,{style:{color:j.JX.colors.white},children:k("uploadScreenshot")}),(0,n.jsxs)(ed,{preview:!!eW,children:[!!(eW||eJ)&&(0,n.jsxs)(ec,{tabIndex:0,loading:!!eJ,background:eW,onClick:()=>eG(""),children:[eW&&(0,n.jsx)(d.I,{name:"cross-thin",size:16}),eJ&&(0,n.jsx)(L.A,{trackColor:j.JX.colors.white,movingColor:j.JX.colors.white40})]}),ez&&(0,n.jsxs)(eu,{children:[(0,n.jsx)(d.I,{name:"warning",size:16}),(0,n.jsx)(u.Rj,{red:!0,children:k("invalidFileTryAgain")})]}),(0,n.jsxs)(ep,{tabIndex:0,seperator:!eW&&P&&(0,$.YU)(),compact:!!(eW||eJ||ez),htmlFor:"uploadFile",children:[(0,n.jsx)(d.I,{name:"upload",size:16}),!(eW||eJ||ez)&&(0,n.jsx)("p",{children:k("uploadFromDevice")}),(0,n.jsx)("input",{type:"file",id:"uploadFile",onChange:e=>ev(void 0,void 0,void 0,function*(){let t=e.target;eN(!1),eG(""),eK(H.BL.None),eV(null);let i=t.files&&t.files.length>0?t.files[0]:null;if(e.target.value="",i)if(["jpg","jpeg","png","svg","tiff"].includes(i.type.split("/")[1])){let e=new FileReader;eK(i.type),eQ(!0),e.onload=e=>ev(void 0,void 0,void 0,function*(){var t,i,n,o;let{videoRef:r}=g.A.getState().play;if((null==(t=null==e?void 0:e.target)?void 0:t.result)&&(e4.current=e.target.result),(null==r?void 0:r.current)&&(null==(i=null==e?void 0:e.target)?void 0:i.result))try{let t=yield function(e,t,i){return V(this,void 0,void 0,function*(){let n=[],o=yield K(),r=q(t,i);return o&&n.push({uri:o.androidStreamURI,name:"Android Stream(".concat(o.identifier,")")}),r&&n.push({uri:r,name:"Video Element"}),e&&n.push({uri:e,name:"Uploaded File"}),Y((yield Q(n)))})}(e.target.result,r.current,R);if(e2.current&&"string"==typeof t){let e=[];e.push({uri:t,name:""}),e.push({uri:e2.current,name:"Screen Capture"});let i=yield Q(e);t=Y(i)}let i=yield J(t);eK(H.BL.Jpeg),eG(t),eV(i)}catch(t){eG(null==(n=null==e?void 0:e.target)?void 0:n.result)}else eG(null==(o=null==e?void 0:e.target)?void 0:o.result);eQ(!1)}),e.onerror=()=>{eQ(!1),eG(""),eK(H.BL.None)},e.readAsDataURL(i),eV(i)}else eN(!0)}),accept:"image/png, image/svg+xml, image/tif, image/gif, image/jpeg, image/jpg, .tif"})]}),P&&(0,$.ZQ)()&&e1&&(0,n.jsxs)(ep,{tabIndex:0,compact:!!(eW||eJ||ez),onClick:e9,children:[(0,n.jsx)(d.I,{name:"screenshot",size:16}),!(eW||eJ||ez)&&(0,n.jsx)("p",{children:k("captureScreen")})]})]})]}),eA[eI].showDiagnosisCheckbox&&(0,n.jsx)(l.oV,{onChange:e=>eH(e.target.checked),checked:eL,children:(0,n.jsx)(u.E2,{children:k("runDiagnostics")})}),eA[eI].showDiagnosis&&(0,n.jsx)(el,{children:(eL?ew:eb).map((e,t)=>(0,n.jsxs)(es,{onClick:()=>eC(e),children:[t{let{type:t,label:i,variant:l="primary"}=e;return(0,n.jsx)(r.$,{text:k(i),onClick:()=>((e,t)=>{if("next"===e&&void 0!==t.nextLayer)ek(t.nextLayer);else if("back"===e&&void 0!==t.prevLayer)ek(t.prevLayer),0===t.prevLayer&&e$(e5.current);else if("submit"===e){if(0===eO.trim().length||eO.length<12)return;void 0!==t.nextLayer&&ek(t.nextLayer),ev(void 0,void 0,void 0,function*(){var e,t,i,n,r,l;let s=g.A.getState();eM(1);try{let d=yield(0,Z.iF)(),c=D?(0,U.VM)():null,p={};eL&&(p={error:S,serviceError:E,proxyUserType:null==(e=window.nggClientIpInfo)?void 0:e.browserCode,errorDescription:s.play.errorDescription,feErrorNotInRegion:w.Ay.feErrorNotInRegion,client:{userAgent:navigator.userAgent,audio:{volume:T}},appType:w.Ay.appInfo.appType,lang:navigator.language,concurrency:navigator.hardwareConcurrency||"none",buildVersion:ej,clientInfo:{os:(0,m.R0)(),description:(0,m.el)(),browser:m.T,isTouchDevice:navigator.maxTouchPoints>0,isMobile:(0,m.Fr)(),mousePollingRate:w.Ay.pollingRate,devicePixelRatio:window.devicePixelRatio,screen:(0,m.D_)(),windowSize:{width:window.innerWidth,height:window.innerHeight}},isPwdSet:(null==c?void 0:c.isPwdSet)||!1},!(0,w.a2)())&&(p=Object.assign(Object.assign({},p),{isAndroidConnected:P,imapState:{isGamepadConnected:(0,M.T)(),isWasmSupported:(0,W.TH)(),overlayActive:F,orientation:R},androidState:f.A,batteryStatus:d}),P&&_ instanceof RTCPeerConnection&&(p.rtcDump=yield(i=void 0,n=void 0,r=void 0,l=function*(){let e={video:{},audio:{},candidate:{},connection:{}};try{let t=yield _.getStats(null);t&&t.forEach(t=>{"inbound-rtp"===t.type&&("audio"===t.kind?e.audio.packetsLost=t.packetsLost:"video"===t.kind&&ei.map(i=>(e.video[i]=t[i],i))),"candidate-pair"===t.type&&(e.candidate.currentRoundTripTime="".concat(parseFloat(((null==t?void 0:t.currentRoundTripTime)*1e3).toString()).toFixed(2),"ms"))})}catch(e){}try{["iceGatheringState","iceConnectionState","connectionState","canTrickleIceCandidates","signalingState"].map(t=>(_[t]&&(e.connection[t]=_[t]),t))}catch(e){}return e},new(r||(r=Promise))(function(e,t){function o(e){try{s(l.next(e))}catch(e){t(e)}}function a(e){try{s(l.throw(e))}catch(e){t(e)}}function s(t){var i;t.done?e(t.value):((i=t.value)instanceof r?i:new r(function(e){e(i)})).then(o,a)}s((l=l.apply(i,n||[])).next())}))));let u=Object.assign({issueTitle:(0,w.a2)()?"H5 feedback":k(ey),issueDescription:eO,email:eP,packageName:null==(t=null===w.Ay||void 0===w.Ay?void 0:w.Ay.appInfo)?void 0:t.packageName,diagnosticReportData:p,uploadImageMimeType:eY||"none",playUrl:window.location.href},(0,m.TZ)());P&&(0,N.v)(z.sXX.reportproblem),setTimeout(()=>{ev(void 0,void 0,void 0,function*(){eM(2);let e=yield o.Ay.createTicket({},u);if(e.status!==H.wD.Success)throw Error("create support ticket failed ".concat(JSON.stringify(e)));eY!==H.BL.None&&(e.uploadImageUrl?fetch(e.uploadImageUrl,{method:"PUT",headers:{"Content-Type":"application/octet-stream"},body:eX}).then().catch(e=>{eM(0),ek(6),(0,a.Ay)(e)}):(0,a.Ay)(Error("image mime type error ".concat(eX," ").concat(eY)))),eM(3),setTimeout(()=>{ek(5)},1e3),E&&(0,ee.sx)(z.syO,{error:E})})},P?2e3:500)}catch(e){(0,a.Ay)(e),eM(0),ek(6)}})}else"tryAgain"===e?(ek(0),eC(""),eG(""),eV(null),eB(""),D||eD(""),eT(!1),eF(!1),eM(0),eK(H.BL.None),eH(!0),ek(0)):e3()})(t,eA[eI]),variant:l,id:"".concat(i.toLowerCase(),"-btn"),...("submit"===t||"next"===t)&&{disabled:eE}},i)})})})]})})}},12104:(e,t,i)=>{"use strict";i.d(t,{A:()=>y});var n=i(37876),o=i(14232),r=i(64320),a=i(92249),l=i(55409);let s=e=>{let{leftSkyScraperContainer:t,rightSkyScraperContainer:i}=e,o=(0,r.d4)(e=>e.ads.imaError),s=(0,r.d4)(e=>e.ads.adBlocker),d=(0,r.d4)(e=>e.ads.disableAllAds),c=(0,r.d4)(e=>e.play.nowPremiumSubscriptionActive);return o||s||d||c?null:(0,n.jsx)(l.A,{children:(0,n.jsx)(a.A,{leftSkyScraperContainer:t,rightSkyScraperContainer:i})})};var d=i(34961),c=i(86360),p=i(66140),u=i(26617),h=i(18847),g=i.n(h),x=i(15039),f=i.n(x),m=i(61262),w=i(42603);let b=g()(()=>i.e(7094).then(i.bind(i,77094)),{loadableGenerated:{webpack:()=>[77094]}}),A=g()(()=>i.e(5185).then(i.bind(i,15185)),{loadableGenerated:{webpack:()=>[15185]}}),y=e=>{var t,i,a,l;let{children:h,playerState:g,isFullscreen:x,isMobileDevice:y,serviceStatus:v}=e,[C,j]=(0,o.useState)(0),I=(0,o.useRef)(null),k=(0,o.useRef)(null),E=(0,r.d4)(e=>e.ads.inGameAd),S=(0,r.d4)(e=>e.ads.showInGameAds),P=null==(a=null==(i=null==(t=u.Ay.appInfo)?void 0:t.playFeFeatures)?void 0:i.tryAndDownload)?void 0:a.isEnabled,D=y&&g===d.ceq.LOADED,_=(0,r.d4)(e=>e.play.showAllGamesOverlay),T=(0,r.d4)(e=>e.play.showExploreGamesOverlay),R=(0,r.d4)(e=>e.play.nowPremiumSubscriptionActive),F=(0,r.d4)(e=>e.play.isEmbeddedFrame),O=(0,r.d4)(e=>e.play.error),{workflowCategory:B}=u.Ay.appInfo,L=(0,r.d4)(e=>e.play.isPlayerLoaded),H=(0,r.d4)(e=>e.ads.rewardedPremiumTimeInSec),z=S&&E===d.tFK&&!(H>0),N=(0,r.d4)(e=>e.play.tryNowRef),U=(0,r.d4)(e=>e.play.videoRef),M=null==U?void 0:U.current,W=(0,r.d4)(e=>{let{gamification:t}=e;return t.showNowbuxView||t.showProfileView||t.showLeaderboardView});return(0,o.useEffect)(()=>{window.addEventListener("beforeinstallprompt",p.Hc)},[]),(0,o.useEffect)(()=>{let{y:e=0,height:t=0}=(null==M?void 0:M.getBoundingClientRect())||{};j(e+t/2)},[x]),(0,o.useEffect)(()=>{x&&g===d.ceq.LOADED||W||_||y&&D?document.body.classList.remove("allow-overflow"):document.body.classList.add("allow-overflow")},[x,g,v,W,_,O,y]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("section",{className:f()({StyledLayout:!0,"full-w-h":D,"raw-page-layout":"workflow3"===B&&!W}),children:[u.Ay.isMultiPanelAdsEnabled&&L&&!R||!O&&y&&g===d.ceq.LOADED?null:(0,n.jsx)(w.A,{isFullscreen:x}),"workflow3"===B?(0,n.jsx)(A,{isMobileDevice:y}):(0,c.oz)()?(0,n.jsx)("div",{className:D?"full-w-h":"",children:h}):(0,n.jsxs)("div",{className:f()("d-flex",D?"full-w-h":""),children:[(0,n.jsx)(m._,{show:!y&&z,ref:I,isFullscreen:x,className:x&&(0,c.xl)()?"thirdLayoutFullScreen":"",adsTopPosition:C}),(0,n.jsxs)("section",{className:f()(["_QVfAxkEnaAlPi_N",x&&(0,c.xl)()?"fullscreen":""]),style:{position:"relative",width:"100%",maxWidth:!y&&z?"calc(100% - 320px)":"100%",height:F&&!S&&(0,c.xl)()&&P&&!(0,c.VV)()&&L?"calc(100vh - ".concat(null==(l=null==N?void 0:N.current)?void 0:l.offsetHeight,"px)"):"auto"},children:[T&&(0,n.jsx)(b,{isOverlay:!0,isAppPage:!0}),h]}),(0,n.jsx)(m._,{show:!y&&z,ref:k,isFullscreen:x,className:x&&(0,c.xl)()?"thirdLayoutFullScreen":"",adsTopPosition:C})]})]}),!(H>0)&&!(0,c.oz)()&&!y&&S&&(0,n.jsx)(s,{leftSkyScraperContainer:I.current,rightSkyScraperContainer:k.current})]})}},12438:(e,t,i)=>{var n=i(59038);e.exports=function(e){return null==e?"":n(e)}},13674:(e,t,i)=>{var n=i(17099);e.exports=function(){this.__data__=new n,this.size=0}},14031:(e,t,i)=>{"use strict";function n(e,t){if(null==e)return{};var i,n,o=function(e,t){if(null==e)return{};var i={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;i[n]=e[n]}return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;nj});var o=i(54945),r=i(85190),a=i(14232),l=i(42443),s=i.n(l),d=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function c(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},i=e.match(/<\/?([^\s]+?)[/\s>]/);if(i&&(t.name=i[1],(s()[i[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var n=e.indexOf("--\x3e");return{type:"comment",comment:-1!==n?e.slice(4,n):""}}for(var o=new RegExp(d),r=null;null!==(r=o.exec(e));)if(r[0].trim())if(r[1]){var a=r[1].trim(),l=[a,""];a.indexOf("=")>-1&&(l=a.split("=")),t.attrs[l[0]]=l[1],o.lastIndex--}else r[2]&&(t.attrs[r[2]]=r[3].trim().substring(1,r[3].length-1));return t}var p=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,u=/^\s*$/,h=Object.create(null);let g={parse:function(e,t){t||(t={}),t.components||(t.components=h);var i,n=[],o=[],r=-1,a=!1;if(0!==e.indexOf("<")){var l=e.indexOf("<");n.push({type:"text",content:-1===l?e:e.substring(0,l)})}return e.replace(p,function(l,s){if(a){if(l!=="")return;a=!1}var d,p="/"!==l.charAt(1),h=l.startsWith("\x3c!--"),g=s+l.length,x=e.charAt(g);if(h){var f=c(l);return r<0?n.push(f):(d=o[r]).children.push(f),n}if(p&&(r++,"tag"===(i=c(l)).type&&t.components[i.name]&&(i.type="component",a=!0),i.voidElement||a||!x||"<"===x||i.children.push({type:"text",content:e.slice(g,e.indexOf("<",g))}),0===r&&n.push(i),(d=o[r-1])&&d.children.push(i),o[r]=i),(!p||i.voidElement)&&(r>-1&&(i.voidElement||i.name===l.slice(2,-1))&&(i=-1==--r?n:o[r]),!a&&"<"!==x&&x)){d=-1===r?n:o[r].children;var m=e.indexOf("<",g),w=e.slice(g,-1===m?void 0:m);u.test(w)&&(w=" "),(m>-1&&r+d.length>=0||" "!==w)&&d.push({type:"text",content:w})}}),n}};var x=i(34377),f=i(1637),m=["format"],w=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function b(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}function A(e){for(var t=1;t0:!!i}function v(e){return e?e.props?e.props.children:e.children:[]}function C(e){return Array.isArray(e)?e:[e]}function j(e){var t=e.children,i=e.count,r=e.parent,l=e.i18nKey,s=e.context,d=e.tOptions,c=void 0===d?{}:d,p=e.values,u=e.defaults,h=e.components,b=e.ns,j=e.i18n,I=e.t,k=e.shouldUnescape,E=n(e,w),S=(0,a.useContext)(x.gJ)||{},P=S.i18n,D=S.defaultNS,_=j||P||(0,x.TO)();if(!_)return(0,f.mc)("You will need to pass in an i18next instance by using i18nextReactModule"),t;var T=I||_.t.bind(_)||function(e){return e};s&&(c.context=s);var R=A(A({},(0,x.rV)()),_.options&&_.options.react),F=b||T.ns||D||_.options&&_.options.defaultNS;F="string"==typeof F?[F]:F||["translation"];var O=u||function e(t,i){if(!t)return"";var r="",l=C(t),s=i.transSupportBasicHtmlNodes&&i.transKeepBasicHtmlNodesFor?i.transKeepBasicHtmlNodesFor:[];return l.forEach(function(t,l){if("string"==typeof t)r+="".concat(t);else if((0,a.isValidElement)(t)){var d=Object.keys(t.props).length,c=s.indexOf(t.type)>-1,p=t.props.children;if(!p&&c&&0===d)r+="<".concat(t.type,"/>");else if(p||c&&0===d)if(t.props.i18nIsDynamicList)r+="<".concat(l,">");else if(c&&1===d&&"string"==typeof p)r+="<".concat(t.type,">").concat(p,"");else{var u=e(p,i);r+="<".concat(l,">").concat(u,"")}else r+="<".concat(l,">")}else if(null===t)(0,f.R8)("Trans: the passed in value is invalid - seems you passed in a null child.");else if("object"===(0,o.A)(t)){var h=t.format,g=Object.keys(n(t,m));if(1===g.length){var x=h?"".concat(g[0],", ").concat(h):g[0];r+="{{".concat(x,"}}")}else(0,f.R8)("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",t)}else(0,f.R8)("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",t)}),r}(t,R)||R.transEmptyNodeValue||l,B=R.hashTransKey,L=l||(B?B(O):O),H=p?c.interpolation:{interpolation:A(A({},c.interpolation),{},{prefix:"#$?",suffix:"?$#"})},z=A(A(A(A({},c),{},{count:i},p),H),{},{defaultValue:O,ns:F}),N=function(e,t,i,n,r,l){if(""===t)return[];var s=n.transKeepBasicHtmlNodesFor||[],d=t&&new RegExp(s.join("|")).test(t);if(!e&&!d)return[t];var c={};!function e(t){C(t).forEach(function(t){"string"!=typeof t&&(y(t)?e(v(t)):"object"!==(0,o.A)(t)||(0,a.isValidElement)(t)||Object.assign(c,t))})}(e);var p=g.parse("<0>".concat(t,"")),u=A(A({},c),r);function h(e,t,i){var n=v(e),o=f(n,t.children,i);return"[object Array]"===Object.prototype.toString.call(n)&&n.every(function(e){return(0,a.isValidElement)(e)})&&0===o.length?n:o}function x(e,t,i,n,o){e.dummy&&(e.children=t),i.push((0,a.cloneElement)(e,A(A({},e.props),{},{key:n}),o?void 0:t))}function f(t,r,c){var p=C(t);return C(r).reduce(function(t,r,g){var m=r.children&&r.children[0]&&r.children[0].content&&i.services.interpolator.interpolate(r.children[0].content,u,i.language);if("tag"===r.type){var w,b,v,C=p[parseInt(r.name,10)];!C&&1===c.length&&c[0][r.name]&&(C=c[0][r.name]),C||(C={});var j=0!==Object.keys(r.attrs).length?(w={props:r.attrs},(v=A({},b=C)).props=Object.assign(w.props,b.props),v):C,I=(0,a.isValidElement)(j),k=I&&y(r,!0)&&!r.voidElement,E=d&&"object"===(0,o.A)(j)&&j.dummy&&!I,S="object"===(0,o.A)(e)&&null!==e&&Object.hasOwnProperty.call(e,r.name);if("string"==typeof j){var P=i.services.interpolator.interpolate(j,u,i.language);t.push(P)}else if(y(j)||k){var D=h(j,r,c);x(j,D,t,g)}else if(E){var _=f(p,r.children,c);t.push((0,a.cloneElement)(j,A(A({},j.props),{},{key:g}),_))}else if(Number.isNaN(parseFloat(r.name)))if(S){var T=h(j,r,c);x(j,T,t,g,r.voidElement)}else if(n.transSupportBasicHtmlNodes&&s.indexOf(r.name)>-1)if(r.voidElement)t.push((0,a.createElement)(r.name,{key:"".concat(r.name,"-").concat(g)}));else{var R=f(p,r.children,c);t.push((0,a.createElement)(r.name,{key:"".concat(r.name,"-").concat(g)},R))}else if(r.voidElement)t.push("<".concat(r.name," />"));else{var F=f(p,r.children,c);t.push("<".concat(r.name,">").concat(F,""))}else if("object"!==(0,o.A)(j)||I)1===r.children.length&&m?t.push((0,a.cloneElement)(j,A(A({},j.props),{},{key:g}),m)):t.push((0,a.cloneElement)(j,A(A({},j.props),{},{key:g})));else{var O=r.children[0]?m:null;O&&t.push(O)}}else if("text"===r.type){var B=n.transWrapTextNodes,L=l?n.unescape(i.services.interpolator.interpolate(r.content,u,i.language)):i.services.interpolator.interpolate(r.content,u,i.language);B?t.push((0,a.createElement)(B,{key:"".concat(r.name,"-").concat(g)},L)):t.push(L)}return t},[])}return v(f([{dummy:!0,children:e||[]}],p,C(e||[]))[0])}(h||t,L?T(L,z):O,_,R,z,k),U=void 0!==r?r:R.defaultTransParent;return U?(0,a.createElement)(U,E,N):N}},15039:(e,t)=>{var i;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e="",t=0;t{e.exports=function(e,t){for(var i=-1,n=null==e?0:e.length;++i{"use strict";i.d(t,{Q:()=>d});var n=i(14232);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function a(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var d=function(e){var t;if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");function i(){var e;if(!(this instanceof i))throw TypeError("Cannot call a class as a function");for(var t,n,l=arguments.length,d=Array(l),c=0;c{"use strict";i.d(t,{$_:()=>s,B1:()=>l,Zl:()=>a,gO:()=>o,gX:()=>r,mD:()=>d});var n=i(98684);let o=(0,n.AH)(["white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"]),r=(0,n.AH)(["display:flex;justify-content:center;align-items:center;"]),a=n.Ay.div.withConfig({componentId:"sc-b5bac989-0"})(["display:flex;align-items :center;gap:",""],e=>{let{gap:t}=e;return"".concat(t,"px")}),l={xxs:420,xs:576,sm:768,md:992,lg:1200,xl:1366},s=(e,t)=>{let i="string"==typeof t?(0,n.AH)(["",""],t):t;return Array.isArray(e)?"@media only screen and (min-width: ".concat(l[e[0]]+1,"px) and (max-width: ").concat(l[e[1]],") { ").concat(i," }"):"@media only screen and (max-width: ".concat(l[e],"px) { ").concat(i," }")},d=(0,n.AH)(["max-width:1440px;margin:0 auto;display:grid;grid-template-columns:3fr 1fr;gap:40px;"])},18767:(e,t,i)=>{"use strict";i.d(t,{A:()=>d,X:()=>s});var n=i(34961),o=i(86360),r=i(26617),a=i(61120),l=i(6196);let s=()=>{let e=l.A.getState().play.orientation;return(0,r.a2)()?(0,o.v1)()||(0,o.bh)()?n.z_4:n.tFK:(0,o.v1)()||(0,o.bh)()?e===a.QB.portrait?n.tFK:n.z_4:n.tFK},d=s},19465:(e,t,i)=>{var n=i(2331),o=i(39004),r=i(66783);function a(e){var t=-1,i=null==e?0:e.length;for(this.__data__=new n;++t{e.exports=function(e){var t=-1,i=Array(e.size);return e.forEach(function(e,n){i[++t]=[n,e]}),i}},20884:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/apps/[...index]",function(){return i(41826)}])},21434:(e,t,i)=>{"use strict";i.d(t,{A:()=>w});var n=i(37876),o=i(74678),r=i(91226),a=i(86360),l=i(26617),s=i(14232),d=i(26875),c=i(64320),p=i(34961),u=i(24987),h=i(88150),g=i(98684);let x=g.Ay.header.withConfig({componentId:"sc-857ef141-0"})(["width:100%;position:relative;background:rgba(0,0,0,0.7);border-bottom:1px solid rgba(255,255,255,0.1);backdrop-filter:blur(12px);padding:8.5px 10px 7.5px;display:flex;justify-content:center;align-items:center;z-index:1;touch-action:none;.appIcon{width:28px;aspect-ratio:1;border-radius:4px;margin-right:12px;}&:after{position:absolute;top:0;left:0;right:0;bottom:0;content:'';background-color:rgba(102,102,102,0.2);pointer-events:none;}"]),f=g.Ay.button.withConfig({componentId:"sc-857ef141-1"})(["background-color:#00ff9d;color:#fff;&:hover{background-color:rgba(255,66,165,0.9);}margin-left:36px;border-radius:6px;padding:4px 12px;border:none;cursor:pointer;text-align:center;"]);g.Ay.p.withConfig({componentId:"sc-857ef141-2"})(["width:461px;height:37px;background:rgba(0,0,0,0.7);border:1px solid rgba(255,255,255,0.1);backdrop-filter:blur(12px);border-radius:8px;position:fixed;left:50%;transform:translateX(-50%);top:52px;font-weight:400;font-size:14px;line-height:150%;color:rgba(255,255,255,0.6);display:flex;align-items:center;justify-content:center;z-index:1;p{cursor:pointer;font-weight:600;color:#fff;margin:0px 0px 0px 3px;}"]),g.Ay.p.withConfig({componentId:"sc-857ef141-3"})(["width:16px;height:16px;cursor:pointer;margin:0px 0px 0px 4px;position:relative;&:after,&:before{width:1px;background-color:rgba(255,255,255,0.8);position:absolute;top:50%;left:50%;content:'';height:11px;}&:after{transform:translate(-50%,-50%) rotate(45deg);}&:before{transform:translate(-50%,-50%) rotate(-45deg);}"]);let m=g.Ay.div.withConfig({componentId:"sc-857ef141-4"})(["display:flex;align-items:center;margin-left:12px;span{margin:0px 0px 0px 4px;font-weight:400;font-size:16px;line-height:100%;color:#fff;&:before{content:'★ ';color:#FFC32A;}}"]),w=()=>{var e,t,i;let{t:g}=(0,d.B)(),w=(0,c.wA)(),b=(0,s.useRef)(null),A=!(0,a.Fr)()&&!(0,a.v1)()&&!(0,a.bh)();return(0,s.useEffect)(()=>{w({type:r.A.SET_REF,payload:{tryNowRef:b}})},[]),(0,n.jsxs)(x,{ref:b,children:[(0,n.jsx)("img",{src:l.Ay.appInfo.media.icon,alt:g("appIcon"),className:"appIcon"}),(0,n.jsx)(o.fI,{children:(0,n.jsx)("span",{style:{color:"#ffffff",marginRight:"12px",marginTop:"4px",display:"inline-flex"},children:null==(e=l.Ay.appInfo)?void 0:e.appName})}),(0,n.jsx)(o.M5,{children:(0,n.jsx)("span",{style:{color:"rgba(255, 255, 255, 0.6)",marginTop:"4px",display:"inline-flex"},children:null==(i=null==(t=l.Ay.appInfo)?void 0:t.appDeveloperInfo)?void 0:i.name})}),(0,n.jsx)(m,{children:(0,n.jsx)("span",{children:"4.8"})}),(0,n.jsx)(f,{onClick:()=>{var e;let t=(0,h.kj)();if(A){let i=null==(e=l.Ay.appInfo.playFeFeatures.tryAndDownload)?void 0:e.clientLink;i&&!(0,a.Zs)()?t?window.open(i,"_parent","noreferrer"):window.open(i,"_self","noreferrer"):w({type:r.A.SHOW_TRY_NOW,payload:{tryNowModal:!0}})}else(0,a.US)();(0,u.sx)(p.wHH,{element:"TopBar",action:"InstallNowClicked",group:"TryAndDownload"})},children:(0,n.jsx)(o.fI,{children:g("install")})})]})}},22225:(e,t,i)=>{var n=i(72200),o=i(93007);e.exports=function(e,t,i){var r=t(e);return o(e)?r:n(r,i(e))}},23218:(e,t,i)=>{e.exports=i(43622)(i(19031),"DataView")},23386:(e,t,i)=>{"use strict";i.d(t,{BU:()=>l,CU:()=>r,Cl:()=>b,EY:()=>w,JK:()=>d,JU:()=>p,Js:()=>a,VI:()=>c,cC:()=>f,fI:()=>u,lS:()=>A,lX:()=>h,mc:()=>s,oq:()=>x,sP:()=>g,xE:()=>m});var n=i(98684),o=i(61120);let r=(0,n.AH)(["@media screen and (orientation:landscape) and (max-height:300px),(orientation:portrait) and (max-width:300px){height:100%;}@media screen and (max-width:400px){width:100%;}max-width:440px;"]),a=(0,n.AH)(["",""],r),l=(0,n.AH)(["padding:20px;background:rgba(0,0,0,0.7) !important;"]),s=n.Ay.div.withConfig({componentId:"sc-84d5480c-0"})(["padding:24px;.link{font-size:12px;text-align:center;display:flex;align-items:center;color:","}"],e=>{let{theme:t}=e;return t.colors.base900}),d=n.Ay.div.withConfig({componentId:"sc-84d5480c-1"})(["display:flex;justify-content:space-between;height:45px;"]),c=n.Ay.span.withConfig({componentId:"sc-84d5480c-2"})(["margin-left:4px;"]),p=n.Ay.label.withConfig({componentId:"sc-84d5480c-3"})(["position:relative;display:inline-block;width:30px;height:18px;margin-left:8px;> input{visibility:hidden;}> span{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;-webkit-transition:.4s;transition:.4s;border-radius:",";border:1px solid ",';width:24px;height:12px;margin:auto 0px;}> span:before{position:absolute;content:"";height:80%;aspect-ratio:1;left:10%;top:10%;background-color:',";-webkit-transition:.4s;transition:.4s;border-radius:50%;}> input:checked + span{background-color:",";&:before{background-color:",";}}> input:checked + span:before{transform:translateX(130%);}"],e=>{let{theme:t}=e;return t.border.radius12},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.ascent},e=>{let{theme:t}=e;return t.colors.white}),u=n.Ay.div.withConfig({componentId:"sc-84d5480c-4"})(["display:flex;flex-direction:row;color:",";margin:8px 0px 0px 0px;span,a{color:"," !important;}.linkStyle{text-align:center;color:",";font-size:12px;}"],e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.white}),h=n.Ay.div.withConfig({componentId:"sc-84d5480c-5"})(["display:flex;justify-content:space-between;padding-top:",";color:",";span,a{color:"," !important;}"],e=>{let{theme:t}=e;return t.spacing.base4},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.white}),g=n.Ay.div.withConfig({componentId:"sc-84d5480c-6"})(["border-radius:8px;background:",";padding:18px;margin-bottom:16px;> div{display:flex;align-items:center;> div:first-child{flex-basis:44px;height:44px;}","}img{width:44px;height:44px;}button{width:100px;}"],e=>{let{theme:t}=e;return t.colors.white10},e=>{let{orientation:t,isMobile:i}=e;return t===o.QB.portrait&&i&&"\n flex-direction: column;\n justify-content: center;\n tex-align: center;\n gap: 8px;\n "}),x=n.Ay.div.withConfig({componentId:"sc-84d5480c-7"})(["display:flex;flex-direction:column;transform:translateX(18px);max-width:50%;",""],e=>{let{orientation:t,isMobile:i}=e;return t===o.QB.portrait&&i&&"\n align-items: center;\n transform: none;\n max-width: 100%;\n "}),f=n.Ay.span.withConfig({componentId:"sc-84d5480c-8"})(["font-size:12px;font-weight:400;line-height:150%;color:",";text-overflow:ellipsis;overflow:hidden;"],e=>{let{theme:t}=e;return t.colors.white60}),m=n.Ay.p.withConfig({componentId:"sc-84d5480c-9"})(["font-size:12px;font-weight:600;line-height:150%;text-overflow:ellipsis;overflow:hidden;margin:0;color:",";display:flex;"],e=>{let{theme:t}=e;return t.colors.white}),w=n.Ay.div.withConfig({componentId:"sc-84d5480c-10"})(["a{color:rgba(255,255,255,0.8);}"]),b=n.Ay.div.withConfig({componentId:"sc-84d5480c-11"})(["font-weight:400;font-size:12px;line-height:150%;text-decoration:underline;cursor:pointer;color:",";"],e=>{let{theme:t}=e;return t.colors.white}),A=n.Ay.div.withConfig({componentId:"sc-84d5480c-12"})(["display:flex;"])},23550:(e,t,i)=>{var n=i(58511),o=i(52141);e.exports=function(e,t){t=n(t,e);for(var i=0,r=t.length;null!=e&&i{var n=i(23218),o=i(36315),r=i(54316),a=i(37973),l=i(96703),s=i(89950),d=i(82675),c="[object Map]",p="[object Promise]",u="[object Set]",h="[object WeakMap]",g="[object DataView]",x=d(n),f=d(o),m=d(r),w=d(a),b=d(l),A=s;(n&&A(new n(new ArrayBuffer(1)))!=g||o&&A(new o)!=c||r&&A(r.resolve())!=p||a&&A(new a)!=u||l&&A(new l)!=h)&&(A=function(e){var t=s(e),i="[object Object]"==t?e.constructor:void 0,n=i?d(i):"";if(n)switch(n){case x:return g;case f:return c;case m:return p;case w:return u;case b:return h}return t}),e.exports=A},24065:e=>{e.exports=function(e,t,i){for(var n=-1,o=null==e?0:e.length;++n{"use strict";i.d(t,{QP:()=>s,SR:()=>a,lr:()=>l,nB:()=>d,qG:()=>r,xT:()=>c});var n=i(98684),o=i(71881);let r=(0,n.i7)(["0%{opacity:0;}100%{opacity:1;}"]),a=n.Ay.div.withConfig({componentId:"sc-89ecfbd7-0"})(["top:0px;width:",";height:100%;position:absolute;overflow-y:scroll;display:flex;flex-direction:column;align-items:center;padding:48px 32px 32px;gap:40px;isolation:isolate;background:#111111;border:1px solid rgba(255,255,255,0.1);z-index:4;animation-name:",";animation-duration:0.3s;.selected-category{border-radius:4px;background:",";div{display:flex;width:fit-content;position:relative;cursor:pointer;padding:8px 16px;text-align:center;gap:6px;align-items:center;height:34px;background:#333;margin:1px;border-radius:4px;font-weight:400;font-size:12px;line-height:150%;color:",";position:relative;transition:background 0.3s ease-out;&:hover{background:#666;}}}#icon-cross-thin{position:absolute;right:15px;top:15px;cursor:pointer;color:",";transition:background 0.3s ease-out;padding:5px;border-radius:50%;&:hover{background:rgba(255,255,255,0.1);}}.trending-section{width:100%;&> p{margin-bottom:16px !important;}ul{display:flex;justify-content:center;flex-wrap:wrap;}li{flex-basis:15%;}@media only screen and (orientation:landscape) and (max-height:575.98px){width:100%;li{flex-basis:15%;}}@media only screen and (orientation:portrait) and (max-width:767px){li{flex-basis:33%;}}@media only screen and (max-width:767px){width:100%;}}.genre-list{display:flex;list-style-type:none;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;padding:0;.genre-list-item{flex-basis:fit-content;position:relative;cursor:pointer;padding:8px 16px;text-align:center;gap:4px;height:34px;background:rgba(255,255,255,0.1);border-radius:4px;font-style:normal;font-weight:400;font-size:12px;line-height:150%;color:",";transition:background 0.3s ease-out;&:hover{background:rgba(255,255,255,0.3);}}}"],e=>{let{isAppPage:t}=e;return t?"100%":"70%"},r,e=>{let{theme:t}=e;return t.colors.ascent},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.white}),l=n.Ay.div.withConfig({componentId:"sc-89ecfbd7-1"})(["display:flex;flex-direction:column;align-items:center;@media only screen and (max-width:767px){p{text-align:center;}}"]),s=(0,n.Ay)(o.hE).withConfig({componentId:"sc-89ecfbd7-2"})(["font-weight:400;span:first-child{color:",";}span:last-child{display:block;}"],e=>{let{theme:t}=e;return t.colors.white60}),d=n.Ay.div.withConfig({componentId:"sc-89ecfbd7-3"})(["width:100%;ul{display:flex;justify-content:center;flex-wrap:wrap;}li{flex-basis:15%;}@media only screen and (orientation:landscape) and (max-height:575.98px){width:100%;}@media only screen and (orientation:portrait) and (max-width:767px){li{flex-basis:33%;}}"]),c=n.Ay.div.withConfig({componentId:"sc-89ecfbd7-4"})(["height:52px;border-radius:12px;background:",";width:100%;display:flex;gap:12px;padding:16px;cursor:pointer;align-items:center;color:",";svg{transform:rotate(-90deg);}p{width:-webkit-fill-available;}"],e=>{let{theme:t}=e;return t.colors.white20},e=>{let{theme:t}=e;return t.colors.white})},25702:(e,t,i)=>{var n=i(47871),o=i(68839);e.exports=function(e,t){return e&&e.length?o(e,n(t,2)):[]}},25827:(e,t,i)=>{"use strict";i.d(t,{A:()=>p});var n=i(37876),o=i(14232),r=i(27903),a=i(86360);let l=i(98684).Ay.div.withConfig({componentId:"sc-d5c54982-0"})(["position:relative;margin:4px;background:transparent;margin-bottom:0;border-top-right-radius:10px;border-top-left-radius:10px;align-self:",";"],e=>{let{center:t}=e;return t?"center":""});var s=i(26359);let d=e=>{let{center:t=!1}=e;return(0,n.jsx)(l,{center:t,children:(0,n.jsx)(s.A,{themeType:"light",hasTagline:!1,style:(0,a.Fr)()?{width:"155px",height:"40px"}:{width:"189.596px",height:"48px"}})})};var c=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]]);return i};let p=e=>{var{children:t,showOverlay:i=!0,overlayBackgroundColor:a,onClickOverlay:l,onPopupClick:s,overlayStyles:p,showAvatarHeader:u=!1,centeredLogo:h=!1,contentStyle:g,className:x="",rotatedModal:f=!1}=e,m=c(e,["children","showOverlay","overlayBackgroundColor","onClickOverlay","onPopupClick","overlayStyles","showAvatarHeader","centeredLogo","contentStyle","className","rotatedModal"]);let w=(0,o.useRef)(null);return(0,n.jsx)(r.hJ,{id:"overlay",className:"modal-overlay ".concat(x),showOverlay:i,overlayBackgroundColor:a,overlayStyles:p,onClick:e=>{e.target!==w.current&&l&&l()},children:(0,n.jsxs)(r.mc,{...m,ref:w,className:"".concat(f?"rotated-modal":""),onClick:e=>{e.stopPropagation(),s&&s()},children:[u&&(0,n.jsx)(d,{center:h}),(0,n.jsx)(r.UC,{style:g,showAvatarHeader:u,children:t})]})})}},26217:(e,t,i)=>{"use strict";i.d(t,{Eg:()=>r,H2:()=>l,YG:()=>d,nj:()=>c,wi:()=>a});var n=i(15060),o=i(98684);let r=(e,t,i)=>{let n="0",o="auto",r="translateY(calc(-100% - 2px))";return i?(n="calc(100% + 2px)",r="none"):t&&(n="100%",o="100%"),"\n &:before {\n content: '".concat(e,"';\n position: absolute;\n top: ").concat(n,";\n right:").concat(o,";\n transform:").concat(r,";\n z-index: 2;\n background: #111111;\n font-weight: 500;\n font-size: 10px;\n line-height: 15px;\n padding: 4px 6px;\n display: none;\n border: 1px solid rgba(255, 255, 255, 0.2);\n border-radius: 4px;\n white-space: nowrap;\n color: #FFF;\n }\n\n &:hover::before {\n display: block;\n }\n")},a=o.Ay.div.withConfig({componentId:"sc-6d8b99af-0"})(["z-index:2;display:flex;position:",";left:0;color:#ffffff;background:rgba(102,102,102,0.2);justify-content:space-between;border:1px solid ",";padding:",";&::before{content:'';width:100%;position:absolute;background:",";backdrop-filter:blur(12px) !important;z-index:-1;left:0;right:0;bottom:0;height:58px;}"," &.premium{width:100% !important;background:",";backdrop-filter:blur(60px);}.footer-content &{border-bottom:unset;&::before{background:none;backdrop-filter:unset;}}"],e=>{let{mobileHeaderUI:t}=e;return t?"relative":"absolute"},e=>{let{theme:t}=e;return t.colors.white20},e=>{let{mobileHeaderUI:t}=e;return t?"0px":"8px"},e=>{let{isPortrait:t}=e;return t?"initial":"rgba(0, 0, 0, 0.7) !important"},e=>{let{mobileHeaderUI:t}=e;return t&&(0,o.AH)(["&::before{content:'';width:100%;height:100%;position:absolute;left:0;top:0;backdrop-filter:blur(1px);background:rgba(102,102,102,0.2);z-index:-1;}"])},e=>{let{theme:t}=e;return t.colors.white10});o.Ay.div.withConfig({componentId:"sc-6d8b99af-1"})(["display:flex;align-items:center;gap:10px;overflow:hidden;text-overflow:ellipsis;> p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}"]),o.Ay.span.withConfig({componentId:"sc-6d8b99af-2"})(["width:calc(var(--vw,1vw) * 2);height:calc(var(--vw,1vw) * 2);position:relative;margin-left:12px;"]);let l=o.Ay.div.withConfig({componentId:"sc-6d8b99af-3"})(["width:100%;display:flex;align-self:center;align-items:center;justify-content:space-between;flex-direction:",";> button{margin:calc(var(--vw,1vw) * 0.2) calc(var(--vw,1vw) * 0.4);&:hover{background-color:rgba(255,255,255,0.2);}i{padding:calc(var(--vw,1vw) * 0.3);}}.soft-keyboard-action{","}.youtubeicon{","}.discordicon{","}#ng-support{"," &:hover::before{left:",";}}#ng-controls{","}#ng-fs{"," &:hover::before{right:",";}}#ng-iap{","}.mouse-sensitivity{","}.mouse-lock{","}.record-screen{"," ","}.record-mic{","}.back-btn{","}.unmute-mic{","}.mute-mic{","}.link{","}.linkCopied{","}button > #ng-sensitivity + div{top:",";border-radius:4px;background:rgba(17,17,17,0.8);right:",";#sensitivity-slider{accent-color:",";}#sensitivity-box{background:",";border-radius:4px;}}button#ng-sound{> #volume-slider{top:",";left:",";width:152px;transform-origin:top left;transform:",";}input{accent-color:rgba(255,66,165,1);}&:hover::before{bottom:100%;top:unset;height:152px;left:",";;width:100%;background:rgba(17,17,17,0.8);transform:",";transform-origin:",";backdrop-filter:blur(24px);border-radius:8px 8px 0px 0px;}&:hover{border-radius:",";}}#ng-profile{","}"],e=>{let{showActionSidebar:t}=e;return t?"column":"row"},r(n.Ay.t("onScreenKeyboard")),r(n.Ay.t("youtube")),r(n.Ay.t("discord")),r(n.Ay.t("helpAndSupport")),e=>{let{isH5Game:t}=e;return t?"0":"auto"},r(n.Ay.t("controls.title")),e=>{let{showActionSidebar:t}=e;return r(n.Ay.t("fullscreen"),t)},e=>{let{isH5Game:t}=e;return t?"0":""},r(n.Ay.t("iap")),r(n.Ay.t("mouseSensitivity")),e=>{let{isMouseLock:t}=e;return!t&&(0,o.AH)(["",""],r(n.Ay.t("mouseLock")))},e=>{let{isRecording:t}=e;return t?(0,o.AH)(["",""],r(n.Ay.t("stopRecording"))):(0,o.AH)(["",""],r(n.Ay.t("startRecording")))},e=>{let{isRecordingProcessing:t}=e;return t&&(0,o.AH)(["",""],r(n.Ay.t("processingRecording")))},r(n.Ay.t("toggleMic")),e=>{let{showActionSidebar:t}=e;return r(n.Ay.t("back"),t)},r(n.Ay.t("unmuteMic")),r(n.Ay.t("muteMic")),r(n.Ay.t("copyLink")),r(n.Ay.t("linkCopied")),e=>{let{showActionSidebar:t}=e;return t?"-12px":"-60px"},e=>{let{showActionSidebar:t}=e;return t?"100%":""},e=>{let{theme:t}=e;return t.colors.ascent},e=>{let{theme:t}=e;return t.colors.white20},e=>{let{showActionSidebar:t}=e;return t?"calc(50% - 15px)":"5%"},e=>{let{showActionSidebar:t}=e;return t?"-154px":"calc(50% - 16px)"},e=>{let{showActionSidebar:t}=e;return t?"rotate(0deg)":""},e=>{let{showActionSidebar:t}=e;return t?"-40px":"-1px"},e=>{let{showActionSidebar:t}=e;return t?"rotate(-90deg)":""},e=>{let{showActionSidebar:t}=e;return t?"bottom right":""},e=>{let{showActionSidebar:t}=e;return t?"0px 8px 8px 0px":"0px 0px 8px 8px"},r(n.Ay.t("profile")));o.Ay.a.withConfig({componentId:"sc-6d8b99af-4"})(["background:#5165F6;box-shadow:0px 4px 16px rgba(0,0,0,0.16);border-radius:8px;display:flex;gap:8px;padding:4px 16px 4px 12px;align-items:center;text-decoration:none;margin:auto;overflow:hidden;min-width:200px;margin:auto 10px;img{width:25px;}"]);let s=(0,o.i7)(["0%{transform:translateY(0);}42%{transform:translateY(0);}47%{transform:translateY(-101%);}50%{transform:translateY(-100%);}92%{transform:translateY(-100%);}97%{transform:translateY(-1%);}100%{transform:translateY(0);}"]);o.Ay.div.withConfig({componentId:"sc-6d8b99af-5"})(["color:#fff;height:26px;animation-name:",";animation-duration:10s;animation-iteration-count:infinite;animation-function:ease-in-out;animation-fill-mode:forwards;animation-direction:normal;text-align:center;p{margin:0;padding:4px 0 5px;font-weight:500;font-size:12px;}"],s);let d=o.Ay.div.withConfig({componentId:"sc-6d8b99af-6"})(["display:inline-flex;min-height:36px;justify-content:center;align-items:center;border-radius:6px;border:1px solid ",";background:",";backdrop-filter:blur(12px);position:absolute;margin:auto;left:50%;transform:translateX(-50%);p{padding:8px 12px;}"],e=>{let{theme:t}=e;return t.colors.white20},e=>{let{theme:t}=e;return t.colors.black70}),c=o.Ay.div.withConfig({componentId:"sc-6d8b99af-7"})(["display:flex;width:36px;padding:10px;justify-content:center;align-items:center;align-self:stretch;border-radius:0px 6px 6px 0px;border-left:1px solid ",";cursor:pointer;&:hover{background:",";}img{width:16px;height:16px;}"],e=>{let{theme:t}=e;return t.colors.white20},e=>{let{theme:t}=e;return t.colors.white10})},26359:(e,t,i)=>{"use strict";i.d(t,{A:()=>h});var n=i(37876),o=i(14232),r=i(26875),a=i(86360),l=i(34961),s=i(26617);let d={src:"/_next/static/media/nowgg-logo.2eda3eaf.svg",height:50,width:165,blurWidth:0,blurHeight:0};var c=i(47030),p=i(69516);let u="".concat(l.Cpe).concat("logo/vertical-light-tagline.svg"),h=e=>{let{themeType:t="dark",orientation:i="horizontal",hasTagline:l=!0,style:h={},isHeaderLogo:g=!1}=e,{t:x}=(0,r.B)(),[f,m]=(0,o.useState)({}),w=(0,c._w)(d);(0,o.useEffect)(()=>{(0,a.Fr)()||m(Object.assign({zIndex:"10",margin:"20px"},h))},[]);let b=s.Ay.isHomePage;return(0,n.jsx)("img",{id:"ng-logo",className:"ngg-logo",width:"vertical"===i?103:120,height:"vertical"===i?l&&89||76:30,src:g||b?"vertical"===i?u:w:(0,p.A)(t,i,l),alt:"now.gg ".concat(x("logo")),style:b?h:Object.assign(Object.assign({},f),h),fetchPriority:"low"})}},26814:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(37876),o=i(14232),r=i(86360),a=i(98477),l=i(74526);let s=e=>{let{children:t}=e,[i,s]=(0,o.useState)(!1),d=(0,o.useCallback)(()=>{setTimeout(()=>{s(window.innerWidth<1024)},100)},[window.innerWidth]);return(0,o.useEffect)(()=>(d(),(0,r.xl)()||window.addEventListener("orientationchange",d),()=>{(0,r.xl)()||window.removeEventListener("orientationchange",d)}),[]),(0,n.jsx)(l.mO,{children:i?a.createPortal(t,document.body):t})}},27136:(e,t,i)=>{var n=i(19850),o=i(52742);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},27371:e=>{e.exports=function(){return[]}},27776:(e,t,i)=>{"use strict";i.d(t,{A:()=>p});var n=i(37876);let o={src:"/_next/static/media/no-ads.da3e4483.png",height:360,width:360,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAVFBMVEVMaXHhubvfh4fmnKDRYmXff4C2dhPhi43MX2G5UVbnx8i2TFDclnjkjpHQWl3XeHreb3HblWzWbG/clorbfIDun5jQYWTdinzxtbfupafwjI7vo4jyg7hBAAAAGHRSTlMA+xf+5qsH/koW+jx3yp7409ll/ezZwfAdXX+8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAPklEQVR4nB3KORKAIBAAweFcQLwFFf7/T0qjThpAaw9wuOveM/itmbMXoEpSZgaWN6nHAdMqIuHbwdpfiBEYSLMByNa5xKcAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8};var r=i(47030),a=i(17679),l=i(98684);let s=(0,l.i7)(["0%{transform:rotate(-15deg)}4%{transform:rotate(-5deg)}6%{transform:rotate(-15deg)}8%{transform:rotate(-10deg)}10%{transform:rotate(-15deg)}45%{transform:rotate(-15deg)}50%{transform:rotate(15deg)}54%{transform:rotate(5deg)}56%{transform:rotate(15deg)}58%{transform:rotate(10deg)}60%{transform:rotate(15deg)}95%{transform:rotate(15deg)}100%{transform:rotate(-15deg)}"]),d=l.Ay.div.withConfig({componentId:"sc-9c241d02-0"})([""," "," ",""],a.gX,e=>{let{$style:t}=e;return t&&(0,l.AH)(t)},e=>{let{applyAnimation:t}=e;return t&&(0,l.AH)(["animation:"," 5s infinite;"],s)});var c=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]]);return i};let p=e=>{var{src:t,style:i,applyAnimation:a}=e,l=c(e,["src","style","applyAnimation"]);return(0,n.jsx)(d,{$style:i,applyAnimation:a,children:(0,n.jsx)("img",{src:(0,r._w)(t||o),alt:"reward & earn",...l})})}},27903:(e,t,i)=>{"use strict";i.d(t,{UC:()=>l,hJ:()=>r,mc:()=>a});var n=i(98684),o=i(17679);let r=n.Ay.div.withConfig({componentId:"sc-8fc4eeab-0"})(["display:flex;z-index:101;transform:inherit;position:",";"," ",""],e=>{let{showOverlay:t}=e;return t?"fixed":"static"},e=>{let{showOverlay:t,overlayBackgroundColor:i,theme:n}=e;return t?"\n background: ".concat(i||n.colors.overlay,";\n left: 0;\n right: 0;\n bottom: 0;\n top: 0;\n "):"\n border-radius: 12px;\n "},e=>{let{overlayStyles:t}=e;return t}),a=n.Ay.div.withConfig({componentId:"sc-8fc4eeab-1"})(["position:relative;width:",";height:",";margin:auto;max-width:100%;border-radius:",";backdrop-filter:blur(",");color:",";display:flex;flex-direction:column;background:",";border:",";&.rotated-modal{width:555px;}"," .bottom-modal &{border-radius:12px;border:1px solid rgba(255,255,255,0.10);overflow:hidden;","}"],e=>{let{width:t}=e;return t||"617px"},e=>{let{height:t}=e;return t||"auto"},e=>{let{theme:t}=e;return t.spacing.base3},e=>{let{theme:t}=e;return t.spacing.base6},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.white20},e=>{let{theme:t}=e;return t.border.base},e=>{let{modalStyles:t}=e;return t},(0,o.$_)("sm",(0,n.AH)(["border-radius:20px 20px 0px 0px;margin-bottom:0;"]))),l=n.Ay.div.withConfig({componentId:"sc-8fc4eeab-2"})(["z-index:1;margin:4px;border-radius:10px;background:transparent;color:",";background-size:cover;overflow:auto;.bottom-modal &{border-radius:0;overflow:hidden;}"," .subscription-enabled-modal &{overflow-x:hidden;}"],e=>{let{theme:t}=e;return t.colors.base900},e=>{let{showAvatarHeader:t,theme:i}=e;return t&&(0,n.AH)(["margin-top:0;.icon-cross-thin{color:",";}"],i.colors.white)})},28375:(e,t,i)=>{var n=i(19465),o=i(15744),r=i(28389);e.exports=function(e,t,i,a,l,s){var d=1&i,c=e.length,p=t.length;if(c!=p&&!(d&&p>c))return!1;var u=s.get(e),h=s.get(t);if(u&&h)return u==t&&h==e;var g=-1,x=!0,f=2&i?new n:void 0;for(s.set(e,t),s.set(t,e);++g{e.exports=function(e,t){return e.has(t)}},28610:(e,t,i)=>{"use strict";i.d(t,{A:()=>k});var n=i(37876),o=i(14232),r=i(47030);let a={src:"/_next/static/media/reload-icon.f9a8621d.svg",height:20,width:20,blurWidth:0,blurHeight:0};var l=i(80489),s=i(26875),d=i(26617),c=i(64320),p=i(68911),u=i(79682),h=i(65539),g=i(80549),x=i(74678),f=i(98684);let m=i(15060).Ay.t("restartSession"),w=f.Ay.button.withConfig({componentId:"sc-d74a5ad0-0"})(["position:absolute;top:12px;right:12px;z-index:1;width:40px;height:40px;border-radius:8px;background:rgba(255,255,255,0.10);box-shadow:0px 8px 16px 0px rgba(0,0,0,0.10);border:none;padding:0;cursor:pointer;display:flex;align-items:center;justify-content:center;&:hover{background:",";}&::before{content:'","';position:absolute;top:50%;right:calc(100% + 5px);transform:translateY(-50%);background:rgba(0,0,0,0.80);border-radius:4px;border:1px solid rgba(255,255,255,0.20);color:white;padding:4px 6px;border-radius:4px;font-size:10px;letter-spacing:0.2px;text-align:center;white-space:nowrap;opacity:0;visibility:hidden;transition:opacity 0.3s,visibility 0.3s;pointer-events:none;}&:hover::before{opacity:1;visibility:visible;}&.ele-relative{position:relative;top:0;right:0;}&.disabled{position:relative;top:0;right:0;cursor:not-allowed;opacity:0.5;pointer-events:none;&:hover{background:rgba(255,255,255,0.10);}&:hover::before{opacity:0;visibility:hidden;}}"],e=>{var t;let{theme:i}=e;return null==(t=i.colors)?void 0:t.white20},()=>m),b=f.Ay.div.withConfig({componentId:"sc-d74a5ad0-1"})(["position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;z-index:1;height:100vh;"]),A=f.Ay.div.withConfig({componentId:"sc-d74a5ad0-2"})(["width:440px;display:flex;flex-direction:column;gap:16px;padding:32px;border-radius:12px;border:1px solid rgba(255,255,255,0.10);background:rgba(0,0,0,0.50);backdrop-filter:blur(60px);"]);f.Ay.button.withConfig({componentId:"sc-d74a5ad0-3"})(["position:absolute;top:10px;right:10px;background:none;border:none;color:white;font-size:20px;cursor:pointer;"]);let y=(0,f.Ay)(x.A$).attrs({as:"h2"}).withConfig({componentId:"sc-d74a5ad0-4"})(["color:white;margin:0;"]),v=(0,f.Ay)(x.Dp).attrs({as:"p"}).withConfig({componentId:"sc-d74a5ad0-5"})(["color:rgba(255,255,255,0.80);"]),C=f.Ay.div.withConfig({componentId:"sc-d74a5ad0-6"})(["display:flex;justify-content:space-between;gap:16px;button{width:50%;}"]),j=e=>{e?document.body.style.overflow="hidden":document.body.style.overflow=""},I=e=>{let{title:t,message:i,onCancel:r,onConfirm:a}=e,{t:l}=(0,s.B)();return(0,o.useEffect)(()=>(j(!0),()=>j(!1)),[]),(0,n.jsx)(b,{children:(0,n.jsxs)(A,{children:[(0,n.jsx)(h.U,{onClick:r,children:(0,n.jsx)(g.A,{name:"cross-thin",size:20})}),(0,n.jsxs)("div",{children:[(0,n.jsx)(y,{children:t}),(0,n.jsx)(v,{children:i})]}),(0,n.jsxs)(C,{children:[(0,n.jsx)(u.$,{variant:"secondary",size:"large",text:l("cancel"),onClick:r}),(0,n.jsx)(u.$,{variant:"primary",size:"large",text:l("restartNow"),onClick:a})]})]})})},k=e=>{let{pageType:t}=e,[i,u]=(0,o.useState)(!1),h=(0,c.d4)(e=>e.play.isAndroidConnected),g=(0,c.d4)(e=>e.play.isEmbeddedFrame),{t:x}=(0,s.B)();return(0,n.jsxs)(n.Fragment,{children:[!g&&(0,n.jsx)(p.ix,{}),(0,n.jsx)(w,{onClick:()=>{u(!0)},className:d.Ay.isAppPage&&!h?"disabled":t?"ele-relative":"",children:(0,n.jsx)("img",{src:(0,r._w)(a),alt:"reload icon"})}),i&&(0,n.jsx)(I,{title:x("restartSession"),message:x("restartSessionModalMessage"),onCancel:()=>{u(!1)},onConfirm:()=>{(0,l.v)("restartapp"),u(!1)}})]})}},29934:(e,t,i)=>{var n=i(59059),o=i(6216),r=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var i in Object(e))r.call(e,i)&&"constructor"!=i&&t.push(i);return t}},31166:(e,t,i)=>{"use strict";i.d(t,{Vp:()=>R,hR:()=>F});var n=i(37876),o=i(18847),r=i.n(o),a=i(7485),l=i(74678),s=i(34961),d=i(91226),c=i(6196),p=i(26617),u=i(14232),h=i(64320),g=i(54551),x=i(86360),f=i(26875),m=i(61120),w=i(56663),b=i(15749),A=i(98477),y=i(8969),v=i(91727),C=i(28610),j=i(55409),I=i(55929),k=i(38192),E=i(71744),S=i(26814),P=i(88150),D=i(68911),_=i(3672);let T=r()(()=>i.e(8923).then(i.bind(i,38923)),{loadableGenerated:{webpack:()=>[38923]}}),R=e=>{var t,i;let{game:o,index:r,rightTooltips:a}=e,l=(0,h.d4)(e=>e.play.isRecording),s=(0,h.wA)();return(0,n.jsx)(D.m7,{id:"tileimg-".concat(null==o?void 0:o.appId),isVideoComplianceLayoutEnabled:(0,x.oz)(),rightTooltips:a||!1,children:(0,n.jsx)("span",{onClick:()=>{let e=(0,_.iR)((null==o?void 0:o.appPageUrl)||(null==o?void 0:o.playUrl),"TopBarRecommendation");if(l)return void s({type:d.A.UPDATE_IS_RECORDING,payload:{showRecordingModalBeforeExit:!0,showRecordingModalBeforeExitSource:"gameTile",urlToOpenAfterRecordModalExit:e}});window.location.href=e},"data-title":null==o?void 0:o.appName,id:"tile-".concat(null==o?void 0:o.appId),children:(null==(t=null==o?void 0:o.media)?void 0:t.icon)&&(0,n.jsx)(y.CY,{src:null==(i=null==o?void 0:o.media)?void 0:i.icon,alt:null==o?void 0:o.appName,quality:80,sizes:"128px"})})})},F=e=>{var t,i,o,r;let{mobileHeaderUI:y=!1,componentStyle:_,ssrGames:F,id:O,isAppPage:B,ssrOrigin:L,isAllGamesHomePageRedirect:H,isTestDriveDisable:z,loginResolved:N}=e,[U,M]=(0,u.useState)(null),W=(0,h.d4)(e=>e.play.showAllGamesOverlay),G=(0,h.d4)(e=>e.play.showExploreGamesOverlay),X=(0,h.d4)(e=>e.play.isFullscreen),V=(0,u.useRef)(null),J=(0,h.wA)(),Q=(0,h.d4)(e=>e.ads.inGameAd),{consoleFooterRef:Y}=c.A.getState().play,[K,q]=(0,u.useState)({top:0,left:0,width:0,right:0,height:0}),$=(0,h.d4)(e=>e.play.orientation),Z=(0,E.A)(),{t:ee}=(0,f.B)(),[et,ei]=(0,u.useState)(""),{enableSearch:en,enableAppRestartButton:eo}=(null==(i=null==(t=p.Ay.appInfo)?void 0:t.playFeFeatures)?void 0:i.uiConfig)||{},er=(0,h.d4)(e=>e.gamification.showLeaderboardView),ea=(0,h.d4)(e=>e.gamification.showNowbuxView),el=(0,h.d4)(e=>e.gamification.showProfileView),es=(0,h.d4)(e=>e.play.showMobileHeaderFooter),[ed,ec]=(0,u.useState)(!1),ep=(0,x.P0)(et),eu=(0,h.d4)(e=>e.ads.showAddMoreTimeFirstAdPopover);(0,u.useEffect)(()=>{ei((0,P.kj)()),setTimeout(()=>{ec(!0)},400)},[]);let eh=(0,u.useMemo)(()=>{var e,t;return!z&&$!==m.QB.portrait&&(null==(t=null==(e=null===p.Ay||void 0===p.Ay?void 0:p.Ay.appInfo)?void 0:e.playFeFeatures)?void 0:t.enableTestDriveUi)},[z,$]),eg=()=>{let{videoRef:e}=c.A.getState().play;setTimeout(()=>{if(e&&e.current){let t=e.current;q({top:null==t?void 0:t.getBoundingClientRect().bottom,width:null==t?void 0:t.getBoundingClientRect().width,left:null==t?void 0:t.getBoundingClientRect().left,right:null==t?void 0:t.getBoundingClientRect().right,height:null==t?void 0:t.getBoundingClientRect().height})}})};return(0,u.useEffect)(()=>((0,p.a2)()||(eg(),window.addEventListener("resizeDone",eg)),eh||function(e,t,i,n){new(i||(i=Promise))(function(o,r){function a(e){try{s(n.next(e))}catch(e){r(e)}}function l(e){try{s(n.throw(e))}catch(e){r(e)}}function s(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(a,l)}s((n=n.apply(e,t||[])).next())})}(void 0,void 0,void 0,function*(){var e,t;let{topApps:i=[],topBarApps:n=[],remainingApps:o=[],otherApps:r=[]}=F||(null==(e=yield(0,p.gA)())?void 0:e.gamesList),a=[...i,...n,...o,...r],l=null==(t=p.Ay.features)?void 0:t.promotedGame;if("2534"===p.Ay.appInfo.appId&&l&&l.length){let e=l[0];a.findIndex(t=>t.appId===e.appId)>-1&&n.unshift(e)}M(n.slice(0,8))}),(0,x.xl)()&&J({type:d.A.SET_REF,payload:{consoleHeaderRef:V}}),()=>{(0,p.a2)()||window.removeEventListener("resizeDone",eg)}),[]),(0,n.jsxs)(D.Y9,{id:O,ref:V,className:W||G?"g-overlay":"",style:Object.assign({opacity:X&&!(0,x.Fr)()?0:1,visibility:X&&!(0,x.Fr)()?"hidden":"visible",display:X&&!(0,x.Fr)()?"none":"flex",alignItems:X&&!(0,x.Fr)()?"normal":"center",position:(0,p.a2)()||Q!==s.z_4||$===m.QB.portrait||es?"relative":"absolute",top:(0,p.a2)()||Q!==s.z_4||$===m.QB.portrait||es?"":Math.max(K.top-K.height-((null==(o=V.current)?void 0:o.clientHeight)||0),90),width:(0,p.a2)()||Q!==s.z_4||$===m.QB.portrait||es?"":((null==(r=null==Y?void 0:Y.current)?void 0:r.clientWidth)||0)+K.width,left:(0,p.a2)()||Q!==s.z_4||$===m.QB.portrait||es?"":K.left,paddingRight:"20px",minHeight:y?"48px":"64px",zIndex:(0,x.RT)()&&eu?10:3,justifyContent:ep?"flex-end":"space-between"},_),children:[!ep&&ed&&(0,n.jsx)(a.A,{isAppPage:B,ssrOrigin:L,hasTagline:!1,mobileHeaderUI:y}),!(0,p.a2)()&&$===m.QB.landscape&&(0,n.jsx)(I.A,{mobileHeaderUI:y}),eh?(0,n.jsx)(D.Iq,{children:(!et||ep)&&(0,n.jsx)(w.SupportAction,{})}):(0,n.jsxs)(n.Fragment,{children:[en&&!y&&(0,n.jsxs)(D.Gd,{style:{background:G?g.JX.colors.ascent:""},id:"ng-search-games",onClick:()=>{let e=!G;J({type:d.A.MODAL_STATUS,payload:{showExploreGamesOverlay:e,showAllGamesOverlay:!e&&void 0}})},children:[(0,n.jsx)(v.v,{}),(0,n.jsx)(l.EY,{children:ee("searchGames")})]}),!y&&(0,n.jsx)(D.hX,{id:"ng-topbar-games-list",children:U&&U.map((e,t)=>(0,n.jsx)(R,{index:t,game:e}))})]}),B||(0,x.N1)()?(0,n.jsxs)(b.Q,{loading:null,persistor:c.q,children:[(0,n.jsx)(D.ix,{}),(0,A.createPortal)((0,n.jsx)(w.ProfilesAction,{}),document.body)]}):!et&&(0,n.jsx)("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:(0,n.jsxs)(j.A,{children:[(0,n.jsx)(k.D1,{children:(0,n.jsx)(w.ProfilesAction,{mobileHeaderUI:y})}),(0,x.j_)()&&!el&&!ea&&!er&&!es&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(D.ix,{pageType:"profile"}),(0,n.jsx)(S.A,{children:(0,n.jsx)(T,{})})]}),eo&&Z&&!(0,x.Fr)()&&!(0,p.a2)()?(0,n.jsx)(C.A,{pageType:"header"}):null]})})]})}},32743:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});let n={src:"/_next/static/media/horizontal-light.8daf5072.svg",height:48,width:181,blurWidth:0,blurHeight:0}},33315:(e,t,i)=>{"use strict";i.d(t,{A:()=>j});var n=i(37876),o=i(14232);let r={src:"/_next/static/media/recorderImg.822cd89f.svg",height:25,width:24,blurWidth:0,blurHeight:0},a={src:"/_next/static/media/recordingBlink.84be0f58.svg",height:7,width:6,blurWidth:0,blurHeight:0},l={src:"/_next/static/media/stopRecording.26f4a0e8.svg",height:7,width:6,blurWidth:0,blurHeight:0},s={src:"/_next/static/media/download.7afc2051.svg",height:11,width:10,blurWidth:0,blurHeight:0};var d=i(47030),c=i(64320),p=i(6196),u=i(91226),h=i(24987),g=i(3672),x=i(86360),f=i(34961),m=i(54551),w=i(16289),b=i(63580),A=i(26617),y=i(62610),v=i(75704),C=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function a(e){try{s(n.next(e))}catch(e){r(e)}}function l(e){try{s(n.throw(e))}catch(e){r(e)}}function s(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(a,l)}s((n=n.apply(e,t||[])).next())})};let j=()=>{let e=(0,c.wA)(),t=(0,c.d4)(e=>e.play.isRecording),i=(0,c.d4)(e=>e.play.recordingMediaRecorder),j=(0,c.d4)(e=>e.play.recordingMediaStream),I=(0,c.d4)(e=>e.play.videoRef),k=(0,c.d4)(e=>e.play.isFullscreen),E=(0,c.d4)(e=>e.play.recordingTimerText),S=(0,c.d4)(e=>e.play.stopVideoRecording),P=(0,c.d4)(e=>e.play.isRecordingProcessing),D=(0,c.d4)(e=>e.play.stopAndDownloadRecording),[_,T]=(0,o.useState)((0,x.Ku)()?"05:00":"00:00"),R=(0,o.useRef)(null),F=(0,c.d4)(e=>e.play.recordingData),O=!(null===A.Ay||void 0===A.Ay?void 0:A.Ay.isAppPage)&&(0,g.oS)(),B=t=>(t=>C(void 0,void 0,void 0,function*(){if(t.data&&t.data.size<=0)return;let i=[...p.A.getState().play.recordingData,t.data];e({type:u.A.UPDATE_IS_RECORDING,payload:{recordingData:i}})}))(t),L=()=>{var t,n;(0,x.Ku)()&&((0,w.Eh)(v.H),p.A.dispatch({type:u.A.SET_FULLSCREEN,payload:{isFullscreen:!1}}),null==(t=null==I?void 0:I.current)||t.classList.remove("isRecording"),(0,b.DH)(),(0,b.nC)()),e({type:u.A.UPDATE_IS_RECORDING,payload:{showRecordModal:!0,stopVideoRecording:!1}});try{null==(n=p.A.getState().play.recordingUserAudioTrack)||n.stop(),null==j||j.getTracks().forEach(e=>e.stop()),null==i||i.stop()}catch(e){}(0,x.Ku)()?T("05:00"):T(O?"00\n00":"00:00"),e({type:u.A.UPDATE_IS_RECORDING,payload:{isRecording:!1,recordingUserAudioTrack:null}})};return(0,o.useEffect)(()=>{if(O&&!k){let e=E.split(":");":"===e[0]&&e.splice(0,1),T(e.join("\n"))}else T(E)},[E]),(0,o.useEffect)(()=>{S&&L()},[S]),(0,o.useEffect)(()=>{D&&L()},[D]),(0,o.useEffect)(()=>{if(P){let e=E.split(":"),t=2===e.length?60*parseInt(e[0],10)+parseInt(e[1],10):60*parseInt(e[0],10)*60+60*parseInt(e[1],10)+parseInt(e[2],10),i=0,n=setInterval(()=>{R.current&&(i+=1,R.current.style.borderImage="conic-gradient(".concat(m.JX.colors.ascent," ").concat(3.6*i,"deg, ").concat(m.JX.colors.white20," 0deg) 1"),90===i&&clearInterval(n))},(t/60+(t/60>5?6:1))*2e3/90)}},[P]),(0,o.useEffect)(()=>{(0,x.Ku)()?T(O&&!k?"05\n00":"05:00"):T(O?"00\n00":"00:00")},[]),(0,n.jsx)(y.ID,{onClick:()=>{if(P)return;let i={element:"VideoRecorder",action:t?"StopIconClicked":"StartIconClicked"};if(t){let e=E.split(":"),t=2===e.length?60*parseInt(e[0],10)+parseInt(e[1],10):60*parseInt(e[0],10)*60+60*parseInt(e[1],10)+parseInt(e[2],10);i=Object.assign(Object.assign({},i),{duration:(0,x.Ku)()?300-t:t})}(0,h.sx)(f.wHH,i),t?L():F.length?e({type:u.A.UPDATE_IS_RECORDING,payload:{showRecordModal:!0}}):C(void 0,void 0,void 0,function*(){yield C(void 0,void 0,void 0,function*(){yield navigator.mediaDevices.getDisplayMedia({video:{width:window.innerWidth,height:window.innerHeight},audio:{suppressLocalAudioPlayback:!1},preferCurrentTab:!0}).then(t=>C(void 0,void 0,void 0,function*(){var i;(0,x.Ku)()&&(e({type:u.A.UPDATE_IS_RECORDING,payload:{showRecordingTransition:!0,isRecording:!0,showRecordingDiscardedPopup:!1}}),(0,x.Bn)(),p.A.dispatch({type:u.A.SET_FULLSCREEN,payload:{isFullscreen:!0}}),null==(i=null==I?void 0:I.current)||i.classList.add("isRecording"),(0,b.DH)(),(0,b.nC)()),(0,h.sx)(f.wHH,{element:"VideoRecorder",action:"ScreenShareAllowed"}),(0,x.Ku)()&&(yield(0,x.cb)(3e3),e({type:u.A.UPDATE_IS_RECORDING,payload:{showRecordingTransition:!1}})),C(void 0,void 0,void 0,function*(){var i;let n=new MediaStream;n.addTrack(((t,i,n)=>{var o;let r=[],a=new AudioContext,l=Math.min(Math.max(0,(null==(o=null==I?void 0:I.current)?void 0:o.volume)||1),.65);t.getAudioTracks().length>0&&r.push({track:t,gain:.2}),i&&i.getAudioTracks().length>0&&r.push({track:i,gain:l}),n&&r.push({track:n,gain:1});let s=a.createMediaStreamDestination();if(0===r.length){let e=a.createOscillator(),t=a.createGain();t.gain.value=0,e.connect(t),t.connect(s)}for(let e=0;e0){let t=a.createMediaStreamSource(r[e].track),i=a.createGain();i.gain.value=r[e].gain,t.connect(i).connect(s)}return e({type:u.A.UPDATE_IS_RECORDING,payload:{recordingAudioDestinationNode:s,recordingAudioContext:a}}),s.stream.getAudioTracks()})(t,null==(i=null==I?void 0:I.current)?void 0:i.srcObject)[0]),n.addTrack(t.getVideoTracks()[0]);let o=new MediaRecorder(n,{mimeType:(0,x.Zb)().mime});o.ondataavailable=B,o.start(2e3),e({type:u.A.UPDATE_IS_RECORDING,payload:{isRecording:!0,recordingMediaStream:t,recordingMediaRecorder:o,showRecordingDiscardedPopup:!1}}),t.getVideoTracks()[0].onended=function(){o.stop(),L();let e=p.A.getState().play.recordingTimerText.split(":"),t=2===e.length?60*parseInt(e[0],10)+parseInt(e[1],10):60*parseInt(e[0],10)*60+60*parseInt(e[1],10)+parseInt(e[2],10);(0,h.sx)(f.wHH,{element:"VideoRecorder",action:"ScreenShareStopped",duration:(0,x.Ku)()?300-t:t})}})})).catch(()=>{(0,h.sx)(f.wHH,{element:"VideoRecorder",action:"ScreenShareCancelled"})})})})},isFullscreen:k,isPortrait:O,isAdFree:(0,x.Ku)(),children:t?(0,n.jsxs)(y.kD,{isFullscreen:k,isPortrait:O,children:[(0,n.jsx)(y.oC,{isFullscreen:k,isPortrait:O,src:(0,d._w)(a)}),(0,n.jsx)(y.Dw,{children:_}),(0,n.jsx)(y.cB,{children:(0,n.jsx)("img",{alt:"Stop",src:(0,d._w)(l),style:{width:"8px",height:"8px"}})})]}):(0,n.jsx)(y.B6,{ref:R,className:"recordIcon",isProcessing:P,isAdFree:(0,x.Ku)(),children:(0,n.jsx)("img",{alt:"Record",src:(0,d._w)(P?s:r)})})})}},33582:(e,t,i)=>{var n=i(93007),o=i(76014),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var i=typeof e;return!!("number"==i||"symbol"==i||"boolean"==i||null==e||o(e))||a.test(e)||!r.test(e)||null!=t&&e in Object(t)}},33854:(e,t,i)=>{var n=i(98825);e.exports=function(e){return e==e&&!n(e)}},33872:(e,t,i)=>{var n=i(92441),o=i(28375),r=i(63700),a=i(78583),l=i(24015),s=i(93007),d=i(4756),c=i(82731),p="[object Arguments]",u="[object Array]",h="[object Object]",g=Object.prototype.hasOwnProperty;e.exports=function(e,t,i,x,f,m){var w=s(e),b=s(t),A=w?u:l(e),y=b?u:l(t);A=A==p?h:A,y=y==p?h:y;var v=A==h,C=y==h,j=A==y;if(j&&d(e)){if(!d(t))return!1;w=!0,v=!1}if(j&&!v)return m||(m=new n),w||c(e)?o(e,t,i,x,f,m):r(e,t,A,i,x,f,m);if(!(1&i)){var I=v&&g.call(e,"__wrapped__"),k=C&&g.call(t,"__wrapped__");if(I||k){var E=I?e.value():e,S=k?t.value():t;return m||(m=new n),f(E,S,i,x,m)}}return!!j&&(m||(m=new n),a(e,t,i,x,f,m))}},34705:e=>{e.exports=function(){return!1}},35502:(e,t,i)=>{"use strict";i.d(t,{A:()=>g});var n=i(14232),o=i(26617),r=i(86360),a=i(53132),l=i(64320),s=i(22030),d=i(83308),c=i(62673),p=i(54736),u=i(91226),h=i(71126);let g=e=>{var t,i;let{appInfo:g,ngNcmHost:x,features:f,authUseThirdPartyFlow:m,prefix:w,authRedirectionUrl:b,serviceStatus:A,countryCode:y,isQuancastPopupSupportByCountry:v,pageType:C,thirdPartyAuthUrl:j,isMultiPanelAdsEnabled:I,isMultiSubscriptionFlow:k,countryFooterLogo:E,pollingRate:S=8,ssrEvar:P}=e,D=(0,n.useRef)(!0),_=(0,n.useRef)(!0),T=(0,n.useRef)(!1),R=null==(i=null==(t=g.playFeFeatures)?void 0:t.tryAndDownload)?void 0:i.isEnabled,F=(0,l.d4)(e=>e.ads.rewardAdsLoadAdsSdk),O=(0,l.wA)();return T&&!(null==T?void 0:T.current)&&(T.current=!0,o.Ay.pollingRate=S,o.Ay.appInfo=g,o.Ay.prefix=w,o.Ay.authUseThirdPartyFlow=m,o.Ay.authRedirectionUrl=b,o.Ay.features=f,o.Ay.ngNcmHost=x,o.Ay.serviceStatus="".concat(A),o.Ay.countryCode=y||"",o.Ay.ssrEvar=P||"",o.Ay.isQuancastPopupSupportByCountry=v,o.Ay.thirdPartyAuthUrl=j,o.Ay.isMultiPanelAdsEnabled=I,o.Ay.isMultiSubscriptionFlow=k,o.Ay.countryFooterLogo=E,"appPage"===C?(o.Ay.isAppPage=!0,o.Ay.isPlayPage=!1):(o.Ay.isPlayPage=!0,o.Ay.isAppPage=!1),R&&(o.Ay.pwaSupported=!1),(0,a.fU)()||((0,c.Ay)(),(0,r.ig)(),(0,r.CX)(),D.current=(0,p.UL)(),(0,p.SQ)(),(0,r.LD)()&&!(0,o.a2)()?_.current=!0:_.current=!!(0,p.IC)())),(0,n.useEffect)(()=>{function e(){(0,s.j5)(),O({type:u.A.SET_PROXY_USER,payload:{proxyUserType:(0,r.Yw)()}}),(0,r.ZA)()&&((0,p.OJ)(!1,!1,!1,!1,!1),_.current=!1,O({type:d.A.UPDATE_ADS_STATE,payload:{adsEnded:!0}}),O({type:u.A.UPDATE_PLAY_STATE,payload:{isProxyUser:!0}}),(0,p.St)()),(0,p.bY)()}return o.Ay.isAppPage&&((0,r.LD)()&&!(0,o.a2)()&&(0,p.OJ)(!1,!1,!1,!0,!1),(0,p.St)()),O({type:u.A.UPDATE_IS_NOWGG_URL,payload:{isNowGGURL:D.current,envDetected:!0}}),e(),window.addEventListener("nggClientIpInfoEvent",e),window.addEventListener("nggProfileDetailsUpdated",s.j5),()=>{"appPage"===C?o.Ay.isAppPage=!1:o.Ay.isPlayPage=!1,window.removeEventListener("nggClientIpInfoEvent",e),window.removeEventListener("nggProfileDetailsUpdated",s.j5),(0,h.lp)()}},[]),{isNowGGURL:null==D?void 0:D.current,adsEnabled:((0,r.RT)()||(null==_?void 0:_.current)||F||o.Ay.isMultiSubscriptionFlow)&&(!(0,r.oN)()||F),isTrialEnabled:R}}},37102:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});let n={src:"/_next/static/media/black-bg.6fdd970d.jpg",height:674,width:1200,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/2wBDAQoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/wgARCAAEAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAf/xAAVAQEBAAAAAAAAAAAAAAAAAAAAAv/aAAwDAQACEAMQAAAAkYt//8QAFBABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQABPwB//8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAgEBPwB//8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAwEBPwB//9k=",blurWidth:8,blurHeight:4}},37305:(e,t,i)=>{"use strict";i.d(t,{j:()=>n});let n=(0,i(14232).createContext)({topApps:[],otherApps:[],remainingApps:[],topBarApps:[],showcaseApps:[]})},37335:(e,t,i)=>{var n=i(5051),o=i(39234),r=i(69525);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?r(t[0][0],t[0][1]):function(i){return i===e||n(i,e,t)}}},37973:(e,t,i)=>{e.exports=i(43622)(i(19031),"Set")},38192:(e,t,i)=>{"use strict";i.d(t,{Ay:()=>c,D1:()=>d,RC:()=>s});var n=i(98684),o=i(17679),r=i(86360),a=i(61262);let l=n.Ay.header.withConfig({componentId:"sc-74ddd4db-0"})(["z-index:",";height:64px;width:100%;padding:0 16px 0px 16px;display:flex;align-items:center;gap:12px;position:sticky;top:0;"," border:",";"," border-width:0 1px 1px 1px;opacity:1;visibility:",";transition:all ","s ease-out;&::before{content:'';width:100%;height:100%;position:absolute;left:0;top:0;backdrop-filter:blur(60px);z-index:-1;}.app-logo{a{display:flex;}}.search-games-container{display:flex;gap:8px;margin-right:auto;width:380px;}.nonStickyHeader{width:100%;}.search-bar{position:relative;transform:initial;left:0;top:0;> .search-box{width:380px;}> .nonStickyHeader{width:100% !important;}@media screen and (min-width:768px) and (max-width:1023px){> .search-box{width:380px;}}@media only screen and (max-width:767px){display:none;}}",""],e=>{let{isFullscreen:t}=e;return 13*!t},e=>{let{isFullscreen:t}=e;return t?"justify-content: flex-end;":""},e=>{let{isFullscreen:t,theme:i}=e;return t?"0":"1px solid ".concat(i.colors.white10)},e=>{let{isOverlayOpen:t,theme:i}=e;return t?"border-bottom-color: ".concat(i.colors.ascent,";"):""},e=>{let{isFullscreen:t}=e;return(0,r.oz)()&&t?"hidden":""},a.H,(0,o.$_)("sm",(0,n.AH)(["height:56px;"]))),s=n.Ay.div.withConfig({componentId:"sc-74ddd4db-1"})(["margin-right:auto;& > ul{padding:0;gap:12px;li{width:40px;height:40px;span{width:100%;height:100%;flex:initial;}@media (max-width:1250px){&:nth-last-child(-n + 2){display:none;}}@media (max-width:1150px){&:nth-last-child(-n + 4){display:none;}}}}@media (max-width:992px){display:none;}"]),d=n.Ay.div.withConfig({componentId:"sc-74ddd4db-2"})(["height:40px;position:relative;> div{margin-right:0;top:0;right:0;}"]);n.Ay.div.withConfig({componentId:"sc-74ddd4db-3"})(["cursor:pointer;position:relative;width:40px;height:40px;border:1px solid ",";border-radius:8px;transition:background 0.3s ease-out 0s;margin-right:12px;"," "," &:hover{background:",";}svg{transition:all 0.6s ease-out;",";}&::after{content:'';position:absolute;right:-12px;top:50%;transform:translateY(-50%);height:20px;width:1px;background:",";}@media (max-width:992px){display:none;}"],e=>{let{theme:t}=e;return t.colors.white20},o.gX,e=>{let{isActive:t,theme:i}=e;return t?"background: ".concat(i.colors.white20,";"):""},e=>{let{theme:t,isActive:i}=e;return i?t.colors.white20:t.colors.white10},e=>{let{isActive:t}=e;return t?"transform: rotateX(180deg);":""},e=>{let{theme:t}=e;return t.colors.white20});let c=l},38765:(e,t,i)=>{"use strict";i.d(t,{A:()=>A});var n=i(37876),o=i(74678),r=i(26875),a=i(94120),l=i(47030),s=i(14232),d=i(53901),c=i(64320),p=i(81007),u=i(86360),h=i(34961),g=i(98684);let x=g.Ay.img.withConfig({componentId:"sc-af4db6b9-0"})(["width:24px;height:24px;transform:unset;"]),f=g.Ay.img.withConfig({componentId:"sc-af4db6b9-1"})(["width:16px;height:16px;opacity:0.6;"]),m=g.Ay.div.withConfig({componentId:"sc-af4db6b9-2"})(["display:flex;flex-direction:row;gap:6px;align-items:center;p{width:68px;}.timer-warning{color:#FF5542;}.default-timer-text{color:",";}"],e=>{let{theme:t}=e;return t.colors.white}),w=g.Ay.div.withConfig({componentId:"sc-af4db6b9-3"})(["display:none;background:",";font-weight:500;font-size:10px;line-height:15px;padding:4px 6px;border:1px solid ",";color:",";margin-left:6px;position:absolute;top:-4px;left:100%;z-index:10;width:max-content;max-width:80vh;border-radius:8px;"],e=>{let{theme:t}=e;return t.colors.black},e=>{let{theme:t}=e;return t.colors.white20},e=>{let{theme:t}=e;return t.colors.white}),b=g.Ay.div.withConfig({componentId:"sc-af4db6b9-4"})(["display:flex;flex-direction:row;align-items:center;cursor:pointer;position:relative;&:hover{div{display:block;}}"]),A=()=>{let{t:e}=(0,r.B)(),t=(0,c.d4)(e=>e.play.activeSubscriptionTimeSecs),i=(0,c.d4)(e=>e.ads.rewardedPremiumTimeInSec),g=(0,c.d4)(e=>e.play.nowPremiumSubscriptionActive),A=(0,s.useMemo)(()=>(0,u.mL)(t,i)?"timer-warning":"",[u.mL,t,i]);return t>p.e5?null:(0,n.jsxs)(m,{children:[(0,n.jsx)(x,{src:(0,l._w)(a.A),alt:""}),(0,n.jsx)(o.Dp,{className:A||"default-timer-text",children:(0,u.eK)(g?t:i)}),(0,n.jsxs)(b,{children:[(0,n.jsx)(f,{alt:"".concat(e("infoIcon")),src:(0,l._w)(d.A),className:"premium-timer"}),(0,n.jsx)(w,{children:e((0,u.RT)()?i>h.G1w?"getMorePlaytime":"enjoyFreeGameplay":"nowPrimeTime")})]})]})}},39004:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},39234:(e,t,i)=>{var n=i(33854),o=i(69750);e.exports=function(e){for(var t=o(e),i=t.length;i--;){var r=t[i],a=e[r];t[i]=[r,a,n(a)]}return t}},39913:(e,t,i)=>{var n=i(67895);e.exports=function(e,t){return!!(null==e?0:e.length)&&n(e,t,0)>-1}},40678:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var n=i(37876),o=i(88471);let r=e=>{let{children:t}=e;return(0,n.jsx)(o.f_,{children:t})}},41826:(e,t,i)=>{"use strict";i.r(t),i.d(t,{__N_SSP:()=>o,default:()=>r});var n=i(94604),o=!0;let r=n.A},42443:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},42603:(e,t,i)=>{"use strict";i.d(t,{A:()=>D});var n=i(37876),o=i(7485),r=i(71027),a=i(14232),l=i(26617),s=i(68911),d=i(18847),c=i.n(d),p=i(64320),u=i(6196),h=i(91727),g=i(50035),x=i(91226),f=i(86360),m=i(21434),w=i(69796),b=i(55409),A=i(71744),y=i(61120),v=i(3672),C=i(34961),j=i(54551),I=i(26814),k=i(28610),E=i(38192);let S=c()(()=>Promise.resolve().then(i.bind(i,56663)).then(e=>e.ProfilesAction),{loadableGenerated:{webpack:()=>[56663]}}),P=c()(()=>i.e(8923).then(i.bind(i,38923)),{loadableGenerated:{webpack:()=>[38923]}}),D=e=>{var t,i,d,c,D,_,T,R,F,O;let{isFullscreen:B,isGamePlayerWidth:L=!1}=e,H=(0,p.d4)(e=>e.play.isPlayerLoaded);(0,p.d4)(e=>e.play.adBlockerMethodType);let z=(0,p.d4)(e=>e.play.showAllGamesOverlay),N=(0,p.wA)(),[U,M]=(0,a.useState)(!1),[W,G]=(0,a.useState)(!1),[X,V]=(0,a.useState)(l.Ay.isCfDesktop),J=(0,a.useRef)(null),Q=(0,p.d4)(e=>e.gamification.showProfileView),Y=(0,p.d4)(e=>e.gamification.showNowbuxView),K=(0,p.d4)(e=>e.gamification.showLeaderboardView),q=(0,p.d4)(e=>e.play.nowPremiumSubscriptionActive),$=(0,A.A)(),Z=(0,p.d4)(e=>e.play.isEmbeddedFrame),ee=(0,p.d4)(e=>e.play.error),{playFeFeatures:et}=l.Ay.appInfo||{},{uiConfig:ei}=et||{},{enableSearch:en,enableAppRestartButton:eo}=ei||{},er=null==(t=null==et?void 0:et.tryAndDownload)?void 0:t.isEnabled;(0,p.d4)(e=>e.ads.disableAllAds),(0,p.d4)(e=>e.ads.adBlocker),null==(c=null==(d=null==(i=l.Ay.appInfo.playFeFeatures)?void 0:i.ads)?void 0:d.desktop)||c.enableDisplayAds;let ea=(0,p.d4)(e=>e.ads.inGameAd),el=!(null===l.Ay||void 0===l.Ay?void 0:l.Ay.isAppPage)&&(0,v.oS)(),[es,ed]=(0,a.useState)({top:0,left:0,width:0,right:0,height:0}),ec=()=>{setTimeout(()=>{let{videoRef:e,orientation:t}=u.A.getState().play;if(e&&e.current){let i=e.current;ed({top:null==i?void 0:i.getBoundingClientRect().bottom,width:((null==i?void 0:i.getBoundingClientRect().width)||0)+261*(t===y.QB.portrait),left:null==i?void 0:i.getBoundingClientRect().left,right:null==i?void 0:i.getBoundingClientRect().right,height:null==i?void 0:i.getBoundingClientRect().height})}})};(0,a.useEffect)(()=>{var e,t,i,n,o,r;return V((0,f.xl)()),N({type:x.A.SET_REF,payload:{consoleHeaderRef:J}}),L&&(!(0,f.Fr)()||(0,f.v1)()||(0,f.bh)()?null==(r=null==(o=null==(n=l.Ay.appInfo.playFeFeatures)?void 0:n.ads)?void 0:o.desktop)||r.enableDisplayAds:null==(i=null==(t=null==(e=l.Ay.appInfo.playFeFeatures)?void 0:e.ads)?void 0:t.mobile)||i.enableDisplayAds,ec(),window.addEventListener("resizeDone",ec)),()=>{L&&window.removeEventListener("resizeDone",ec)}},[]);let ep=Object.assign(Object.assign({top:el?es.top-es.height-(er?50:(null==(D=null==J?void 0:J.current)?void 0:D.clientHeight)||0):(0,l.a2)()||ea!==C.z_4?es.top-(er?50:(null==(_=null==J?void 0:J.current)?void 0:_.clientHeight)||0):es.top-es.height,width:q?"100%":el?"auto":es.width,height:el?es.height:"auto",left:el?es.right:es.left,flexDirection:el?"column":"row"},(()=>{var e,t;let{orientation:i,consoleFooterRef:n}=u.A.getState().play,o=(null==(e=null==J?void 0:J.current)?void 0:e.clientHeight)||0,r=(null==(t=null==n?void 0:n.current)?void 0:t.clientHeight)||0,{inGameAd:a}=u.A.getState().ads,l={top:"calc(50% - ".concat((el?0:es.height/2)+25+(r-o)/2,"px)"),transform:"translateY(-50%)",zIndex:2};return a===C.zvJ&&i===y.QB.portrait&&(l.width="calc(100% - ".concat(C.I_I,"px)")),l})()),{opacity:50>(es.width||(null==(T=J.current)?void 0:T.clientWidth)||0)?"0":"1"}),eu=e=>{G(e),(0,f.eG)()};if((0,a.useEffect)(()=>{er&&!(0,f.VV)()&&H&&M(!0)},[H]),U)return(0,n.jsx)(m.A,{});let eh=null==(O=null==(F=null==(R=l.Ay.appInfo)?void 0:R.playFeFeatures)?void 0:F.uiConfig)?void 0:O.enableIframeHeader;return Z&&!eh||(ee===y.wD.WaitingInPriorityQueue||ee===y.wD.WaitingInQueue)&&(0,f.Fr)()?null:(0,n.jsxs)(E.Ay,{ref:J,isFullscreen:B,isOverlayOpen:z,className:L?"ng-console-header":"",style:L?Object.assign(Object.assign({},ep),{position:"absolute",background:j.JX.colors.white10}):{},children:[!B&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.A,{className:"app-logo",showInfoIcon:!0}),(0,n.jsx)(r.A,{wrapperClass:"search-bar"}),!X&&(0,n.jsx)(g.A,{showExploredGames:W,origin:"browse",close:()=>eu(!1)})]}),(0,n.jsx)("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:(0,n.jsxs)(b.A,{children:[en&&(0,n.jsx)(w.WI,{className:"d-mobile app-search",onClick:()=>{eu(!0)},children:(0,n.jsx)(h.v,{style:{height:"100%",width:"100%",marginRight:"0"}})}),(0,n.jsx)(E.D1,{children:(0,n.jsx)(S,{})}),(0,f.j_)()&&!Q&&!Y&&!K&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.ix,{pageType:"profile"}),(0,n.jsx)(I.A,{children:(0,n.jsx)(P,{})})]}),eo&&$&&!(0,f.Fr)()&&!(0,l.a2)()?(0,n.jsx)(k.A,{pageType:"header"}):null]})})]})}},44498:(e,t,i)=>{"use strict";i.d(t,{TM:()=>g,oV:()=>x,pd:()=>h});var n=i(37876),o=i(14232),r=i(54551),a=i(74678),l=i(26875),s=i(91226),d=i(64320),c=i(80549),p=i(50011),u=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]]);return i};let h=e=>{var{title:t,error:i,disabled:o,onUpdate:h,errorMsg:g,showInfoIcon:x,children:f,wrapperClass:m,errorId:w}=e,b=u(e,["title","error","disabled","onUpdate","errorMsg","showInfoIcon","children","wrapperClass","errorId"]);let{t:A}=(0,l.B)(),y=(0,d.wA)();return(0,n.jsxs)(p.fI,{className:m,children:[(0,n.jsxs)(p.JU,{style:{color:r.JX.colors.white80},children:[t," ",b.required?"*":"",x&&(0,n.jsx)(c.A,{name:"info",className:"label-info",size:12,style:{cursor:"pointer",position:"relative",padding:5}})]}),(0,n.jsx)(p.cl,{className:"ana-chatbot-input",error:!!i,disabled:o||!1,onChange:e=>{h&&"function"==typeof h&&h(e.target.value)},onFocus:()=>{y({type:s.A.UPDATE_TEXTFIELD_FOCUS,payload:{uiTextfieldInFocus:!0}})},onBlur:()=>{y({type:s.A.UPDATE_TEXTFIELD_FOCUS,payload:{uiTextfieldInFocus:!1}})},...b,onKeyUp:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation()}),i&&g&&(0,n.jsx)(a.le,{id:w||"input_error",style:{color:r.JX.colors.warning,marginTop:"4px"},children:A(g)}),f]})},g=e=>{var{title:t,error:i,limit:a,initialValue:l="",style:s,onUpdate:d}=e,c=u(e,["title","error","limit","initialValue","style","onUpdate"]);let[h,g]=(0,o.useState)(l.length);return(0,n.jsxs)(p.fI,{style:s,children:[(0,n.jsxs)(p.JU,{style:{color:r.JX.colors.white},children:[t," ",c.required?"*":""]}),(0,n.jsx)(p.y5,{error:!!i,onChange:e=>{let t=e.target.value.length;a&&ae.stopPropagation(),onKeyDown:e=>e.stopPropagation(),...c}),(0,n.jsxs)(p.I$,{children:[h," ","/"," ",a]})]})},x=e=>{var{children:t,title:i,onChange:o,type:a="checkbox"}=e,l=u(e,["children","title","onChange","type"]);return(0,n.jsx)(p.fI,{children:(0,n.jsxs)(p.Sc,{style:{color:r.JX.colors.white},children:[(0,n.jsx)("input",{type:a,onChange:o,...l}),i||t]})})}},44577:e=>{e.exports=function(e){var t=-1,i=Array(e.size);return e.forEach(function(e){i[++t]=e}),i}},45872:(e,t,i)=>{"use strict";i.d(t,{AO:()=>k,J3:()=>h,MQ:()=>O,O4:()=>A,Oj:()=>s,Ow:()=>c,TF:()=>v,UC:()=>F,Vp:()=>P,_:()=>b,_P:()=>E,dL:()=>C,fV:()=>j,jl:()=>d,mc:()=>R,rQ:()=>l,wD:()=>p,wg:()=>w,xI:()=>T,yQ:()=>r});var n=i(98684);let o=(0,n.i7)(["0%{opacity:0;}90%{opacity:0;}100%{opacity:1;}"]);n.Ay.div.withConfig({componentId:"sc-e61817df-0"})(["background:rgba(0,0,0,0.7);position:fixed;display:flex;left:0;right:0;bottom:0;top:0;z-index:10;transform:inherit;"]);let r=n.Ay.div.withConfig({componentId:"sc-e61817df-1"})(["display:flex;flex-direction:column;"]);n.Ay.div.withConfig({componentId:"sc-e61817df-2"})(["margin:auto;z-index:2;width:",";padding:",";border-radius:",";background:",";backdrop-filter:blur(12px);border:",";box-shadow:",";color:",";"],e=>{let{size:t}=e;return"small"===t?"320px":"medium"===t?"360px":"380px"},e=>{let{theme:t}=e;return t.spacing.base4},e=>{let{theme:t}=e;return t.border.radius4},e=>{let{theme:t}=e;return t.colors.backgroundGlass},e=>{let{theme:t}=e;return t.border.base},e=>{let{theme:t}=e;return t.shadow.big},e=>{let{theme:t,color:i}=e;return i?t.colors[i]:t.colors.base200});let a=n.Ay.h3.withConfig({componentId:"sc-e61817df-3"})(["font-style:normal;font-weight:700;font-size:16px;line-height:200%;margin:0;"]),l=n.Ay.header.withConfig({componentId:"sc-e61817df-4"})(["display:flex;border-bottom:1px solid currentColor;padding-bottom:8px;span + ","{margin-left:12px;}"],a);n.Ay.span.withConfig({componentId:"sc-e61817df-5"})(["margin-right:12px;"]);let s=n.Ay.span.withConfig({componentId:"sc-e61817df-6"})(["color:",";cursor:pointer;margin:0 0 0 auto;padding:5px;"],e=>{let{theme:t}=e;return t.colors.white}),d=n.Ay.footer.withConfig({componentId:"sc-e61817df-7"})(["border-top:",";margin-top:16px;padding-top:16px;display:flex;justify-content:",";"],e=>{let{theme:t}=e;return t.border.base},e=>{let{center:t}=e;return t?"center":"space-between"}),c=n.Ay.div.withConfig({componentId:"sc-e61817df-8"})(["z-index:2;background:radial-gradient( 32.85% 62.63% at 50% 30.49%,rgba(81,165,201,0.2) 0%,rgba(51,80,111,0) 100% ),radial-gradient( 14.95% 28.47% at 64.37% 56.79%,rgba(179,214,97,0.2) 0%,rgba(179,214,97,0) 100% ),radial-gradient( 20.82% 39.68% at 37.22% 60.32%,rgba(255,66,165,0.2) 0%,rgba(255,66,165,0) 100% ),#0b0223;width:100%;height:100%;position:fixed;top:0;left:0;color:white;overflow:scroll;"]),p=n.Ay.div.withConfig({componentId:"sc-e61817df-9"})(["max-height:100vh;width:100%;@media only screen and (max-height:500px){position:relative;height:100%;.mobileErr.-landscape &{height:100vh;&.testdrive-ui{height:100%;display:flex;justify-content:center;}}}&::before{content:'';position:absolute;background:rgba(0,0,0,0.1);opacity:1;transition:opacity 0.3s ease-out;}&.loaded::before{opacity:0;pointer-events:none;}"]),u=(0,n.i7)(["0%{visibility:hidden;}100%{visibility:visible;}"]),h=n.Ay.div.withConfig({componentId:"sc-e61817df-10"})(["display:flex;flex-direction:column;justify-content:start;align-items:center;width:100%;height:100%;padding:24vh 0px 0px 0px;visibility:hidden;animation-name:",";animation-duration:0s;animation-delay:3.5s;animation-fill-mode:forwards;&.tokenErr{padding:calc(19.23vh + 92px) 0px 0px 0px;}.mobileErr.-portrait &{padding:18.49vmax 0px 0px 0px;}.mobileErr.-portrait.errorCode &{@media only screen and (max-height:675px){padding:20vmax 0px 0px 0px;}}@media only screen and (max-height:850px){padding:27vh 0px 0px 0px;}.desktopErr &{@media only screen and (max-height:700px){transform:scale(0.9);}@media only screen and (max-height:580px){transform:scale(0.7);h2{transform:scale(1.42);}}@media only screen and (max-height:500px){padding:18vh 0px 0px 0px;transform:scale(0.5);h2{transform:scale(2);}}@media only screen and (max-height:364px){padding:16vh 0px 0px 0px;transform:scale(0.4);h2{transform:scale(2);}}}"],u),g=(0,n.i7)(["0%{top:50%;opacity:0;}30%{top:50%;opacity:1;}50%{top:50%;opacity:1;}100%{top:19vh;opacity:1;}"]),x=(0,n.i7)(["0%{top:50%;opacity:0;}30%{top:50%;opacity:1;}50%{top:50%;opacity:1;}100%{top:11.9vmax;opacity:1;}"]),f=(0,n.i7)(["0%{top:50%;opacity:0;}30%{top:50%;opacity:1;}50%{top:50%;opacity:1;}100%{top:19.25vh;opacity:1;}"]),m=(0,n.i7)(["0%{left:50%;opacity:0;}15%{left:50%;opacity:1;}40%{left:25.05vmax;opacity:1;}100%{left:25.05vmax;opacity:1;}"]),w=n.Ay.div.withConfig({componentId:"sc-e61817df-11"})(["width:100%;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:9;animation-name:",";animation-duration:3s;animation-fill-mode:forwards;opacity:0;&.noResource{animation-name:",";}.mobileErr.-portrait &{animation-name:",";}.mobileErr.-landscape &{animation-name:",";}"],g,f,x,m),b=n.Ay.h2.withConfig({componentId:"sc-e61817df-12"})(["font-weight:600;font-size:24px;line-height:150%;text-align:center;&.noResource{width:348px;}.mobileErr.-portrait &{width:100%;display:flex;justify-content:center;align-items:center;}.mobileErr.-portrait.errorCode &{@media only screen and (max-height:675px){line-height:120%;}}.mobileErr.-landscape &{max-width:36.1vmax;text-align:left;}"]),A=n.Ay.h2.withConfig({componentId:"sc-e61817df-13"})(["width:fit-content;background:rgba(255,255,255,0.1);border-radius:6px;font-style:normal;font-weight:400;font-size:16px;line-height:150%;color:rgba(255,255,255,0.6);margin:0px 0px 16px 0px;padding:4px 12px;.mobileErr &{margin:0px 0px 8px 0px;}"]),y=(0,n.i7)(["0%{top:50%;opacity:0;}10%{top:50%;opacity:1;}30%{top:50%;opacity:1;}100%{top:calc(14.32vh);opacity:1;}"]),v=n.Ay.div.withConfig({componentId:"sc-e61817df-14"})(["width:100%;h2{font-weight:600;font-size:24px;line-height:150%;margin:0px 0px 8px 0px;text-align:center;animation-name:",";@media (max-width:480px){font-size:18px;}@media (max-width:332px){font-size:16px;}}position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:9;&.non-testdrive-ui{animation-name:",";animation-duration:3s;animation-fill-mode:forwards;}"],x,y);(0,n.i7)(["0%{top:calc(50% + 24px);opacity:0;}10%{top:calc(50% + 24px);opacity:0;}30%{top:calc(50% + 24px);opacity:0;}55%{top:calc(50%);opacity:1;}80%{top:calc(50%);opacity:1;}100%{top:calc(19.23vh + 26px);opacity:1;}"]);let C=n.Ay.div.withConfig({componentId:"sc-e61817df-15"})(["z-index:9;display:flex;flex-direction:column;align-items:center;animation-duration:3s;animation-fill-mode:forwards;.text{color:",";font-weight:400;font-size:12px;line-height:150%;margin:0px 0px 16px 0px;}.mobileErr.-landscape &{position:static;transform:translate(0%,0%);display:block;align-items:left;p{font-size:14px;}div{margin:0px 0px 16px 0px;}}"],e=>{let{theme:t}=e;return t.colors.blue});(0,n.i7)(["0%{left:50%;opacity:0;}15%{left:50%;opacity:1;}40%{left:25.05vmax;opacity:1;}100%{left:25.05vmax;opacity:1;}"]);let j=n.Ay.h2.withConfig({componentId:"sc-e61817df-16"})(["margin:0px 0px 24px 0px;font-weight:400;font-size:16px;line-height:150%;display:flex;align-items:center;text-align:center;color:",";&.tokenErr{margin:0px 0px 16px 0px;}.mobileErr.-portrait &{margin:0px 16px 40px 16px;&.tokenErr{margin:50px 16px 40px 16px;}}.mobileErr.-portrait.errorCode &{@media only screen and (max-height:675px){margin:0px 16px 20px 16px;}}.mobileErr.-landscape &{max-width:36.1vmax;text-align:left;position:absolute;top:50%;left:25.05vmax;transform:translate(-50%,-50%);z-index:9;animation-duration:3s;animation-fill-mode:forwards;}"],e=>{let{theme:t}=e;return t.colors.white60}),I=(0,n.i7)(["0%{top:60vmin;opacity:0;}100%{top:calc(50% - 35px);opacity:1;}"]),k=n.Ay.div.withConfig({componentId:"sc-e61817df-17"})(["display:flex;flex-direction:row;justify-content:center;align-items:center;width:100%;padding:0px 186px;margin:0px 0px 20px 0px;gap:16px;.mobileErr.-portrait &{flex-wrap:wrap;padding:0px 4vmin;gap:3vmin;}.mobileErr.-landscape &{display:grid;grid-template-columns:auto auto auto;padding:0px 4vmin;gap:2vmax;width:46vmax;padding:0px 0px;position:absolute;right:7vmax;top:40vmin;transform:translateY(-50%);animation-name:",";animation-delay:1s;animation-duration:1s;animation-fill-mode:forwards;opacity:0;}.desktopErr &{@media only screen and (max-width:900px){transform:scale(0.7);margin:0px 0px 0px 0px;}@media only screen and (max-width:650px){transform:scale(0.5);margin:0px 0px 0px 0px;}@media only screen and (max-width:450px){transform:scale(0.3);margin:0px 0px 0px 0px;}}"],I),E=n.Ay.div.withConfig({componentId:"sc-e61817df-18"})(["position:absolute;padding:0px 13px 13px 13px;width:100%;height:100%;opacity:0;background:linear-gradient( 180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,0.16) 26.04%,rgba(0,0,0,0.6) 57.81%,rgba(0,0,0,0.88) 100% );border-radius:",";display:flex;flex-direction:column;justify-content:flex-end;cursor:pointer;p{font-weight:600;font-size:13.2388px;line-height:150%;}div{width:100%;max-height:26.48px;background:",";box-shadow:0px 8px 16px rgba(0,0,0,0.1);border-radius:",";font-weight:600;font-size:11.0324px;padding:5px;cursor:pointer;text-align:center;}"],e=>{let{theme:t}=e;return t.border.radius2},e=>{let{theme:t}=e;return t.colors.ascent},e=>{let{theme:t}=e;return t.border.radius}),S=(0,n.i7)(["0%{opacity:1;}100%{opacity:0;}"]),P=n.Ay.div.withConfig({componentId:"sc-e61817df-19"})(["position:relative;backdrop-filter:blur(12px);border-radius:",";display:flex;.imgContainer{position:relative;border-radius:",";width:165px;height:220px;overflow:hidden;.mobileErr.-portrait &{width:28vmin;height:37.49vmin;}.mobileErr.-landscape &{width:20.9vmin;height:28vmin;}}.imgBorder{width:100%;height:100%;border:",";border-radius:",";position:absolute;pointer-events:none;}&:before{content:'';background:rgb(255,66,165);filter:blur(8px);position:absolute;height:calc(100% + 2px);width:calc(100% + 2px);border-radius:",";z-index:-1;opacity:0;pointer-events:none;}&:hover{&:before{opacity:1;animation-name:",";animation-duration:1s;animation-fill-mode:forwards;}.tileContent{opacity:1;}.imgBorder{border:",";}}.mobileErr.-landscape &{img{width:unset;height:28vmin;}}"],e=>{let{theme:t}=e;return t.border.radius2},e=>{let{theme:t}=e;return t.border.radius2},e=>{let{theme:t}=e;return t.border.base},e=>{let{theme:t}=e;return t.border.radius2},e=>{let{theme:t}=e;return t.border.radius2},S,e=>{let{theme:t}=e;return t.border.base7}),D=(0,n.i7)(["0%{top:40%;left:50%;opacity:0;}50%{top:40%;left:7vmax;transform:translateX(0%);opacity:1;}100%{top:calc(50% - 32px);left:7vmax;transform:translateX(0%);transform:translateY(-50%);opacity:1;}"]),_=(0,n.i7)(["0%{opacity:0;}50%{opacity:1;}100%{opacity:1;}"]),T=n.Ay.div.withConfig({componentId:"sc-e61817df-20"})(["display:flex;flex-direction:column;text-align:center;justify-content:center;&.non-testdrive-ui{position:absolute;top:40%;left:50%;transform:translateX(-50%);max-width:36vmax;animation-name:",";animation-duration:2s;animation-fill-mode:forwards;opacity:0;justify-content:unset;text-align:left;}h2{margin:0px 0px 16px 0px;font-weight:600;font-size:16px;line-height:150%;}h3{margin:0px 0px 24px 0px;font-weight:400;font-size:16px;line-height:150%;color:",";;opacity:0;animation-name:",";animation-delay:1s;animation-duration:1s;animation-fill-mode:forwards;}"],D,e=>{let{theme:t}=e;return t.colors.white60},_),R=n.Ay.div.withConfig({componentId:"sc-e61817df-21"})(["z-index:2;background:#000;width:100%;height:100%;position:fixed;top:0;left:0;display:flex;align-items:center;justify-content:center;&::before{content:'';background:linear-gradient(0deg,rgba(0,0,0,0.50) 0%,rgba(0,0,0,0.50) 100%);position:fixed;left:0;right:0;bottom:0;top:0;}"]),F=n.Ay.div.withConfig({componentId:"sc-e61817df-22"})(["display:flex;justify-content:center;align-items:center;position:fixed;color:",";background:",";margin-bottom:inherit;div{margin:",";width:380px;max-width:100%;padding:","}button{margin-top:",";width:380px;}"],e=>{let{theme:t}=e;return t.colors.black},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.spacing.base8},e=>{let{isMaintenanceBox:t}=e;return t?"0 13px;":"0 16px;"},e=>{let{theme:t}=e;return t.spacing.base2}),O=n.Ay.div.withConfig({componentId:"sc-e61817df-23"})(["animation-name:",";animation-iteration-count:1;animation-fill-mode:forwards;animation-duration:5s;display:flex;gap:16px;"," button{width:","}&.noAnimation{animation:none;}.mobileErr.-portrait & button{width:92.27vmin;animation-duration:4s;}"],o,e=>{let{isMobile:t,theme:i}=e;return t&&(0,n.AH)(["flex-direction:column;button:first-child{background:",";color:",";}"],i.colors.base50,i.colors.ascent)},e=>{let{isMobile:t}=e;return t?"160px":"195px"})},46222:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var n=i(37876);i(14232);var o=i(70239);let r=e=>(0,n.jsx)(o.z$,{...e})},47030:(e,t,i)=>{"use strict";i.d(t,{PW:()=>a,Vm:()=>r,_w:()=>o,j$:()=>l});var n=i(26617);let o=e=>(n.Ay.prefix&&!e.src.startsWith(n.Ay.prefix)&&(e.src=n.Ay.prefix+e.src),(!(0,n.un)()||(null===n.Ay||void 0===n.Ay?void 0:n.Ay.isAppPage)||(null===n.Ay||void 0===n.Ay?void 0:n.Ay.isHomePage))&&!e.src.includes("/play/assets/")&&(e.src=e.src.replace("/play/","/play/assets/")),e.src),r=e=>{let{src:t="",width:i,quality:n}=e;return t?"https://cdn.now.gg/assets-opt/_next/image?url=".concat(encodeURIComponent(t),"&w=").concat(i,"&q=").concat(n||70):""},a=e=>r({src:e,width:128,quality:80}),l=(e,t)=>{var i;return r({src:t?null==(i=t[e?"mobile":"desktop"])?void 0:i.banner:"",width:e?640:1200,quality:e?50:40})}},47871:(e,t,i)=>{var n=i(37335),o=i(60490),r=i(27148),a=i(93007),l=i(89059);e.exports=function(e){return"function"==typeof e?e:null==e?r:"object"==typeof e?a(e)?o(e[0],e[1]):n(e):l(e)}},48217:(e,t,i)=>{var n=i(2609),o=i(95318);e.exports=function(e,t){return null!=e&&o(e,t,n)}},48668:(e,t,i)=>{var n=i(75998);e.exports=function(e){var t=n(e,function(e){return 500===i.size&&i.clear(),e}),i=t.cache;return t}},48872:(e,t,i)=>{var n=i(22225),o=i(94806),r=i(69750);e.exports=function(e){return n(e,r,o)}},48894:(e,t,i)=>{var n=i(85590),o=i(28654),r=Object.prototype,a=r.hasOwnProperty,l=r.propertyIsEnumerable;e.exports=n(function(){return arguments}())?n:function(e){return o(e)&&a.call(e,"callee")&&!l.call(e,"callee")}},49035:e=>{e.exports=function(e,t,i){for(var n=i-1,o=e.length;++n{"use strict";i.d(t,{I$:()=>d,JU:()=>l,Sc:()=>c,cl:()=>r,fI:()=>s,y5:()=>a});var n=i(98684);let o=(0,n.AH)(["border:",";border-radius:6px;width:100%;font-size:14px;line-height:150%;padding:8px 12px;color:currentColor;box-shadow:",";&:focus{outline:none;border-color:",";}"],e=>{let{theme:t}=e;return t.border.base4},e=>{let{theme:t}=e;return t.shadow.small},e=>{let{theme:t}=e;return t.colors.ascent}),r=n.Ay.input.withConfig({componentId:"sc-4cbfd15b-0"})([""," ",";",";color:",";background:",";&::placeholder{color:",";}&:disabled{color:",";border-color:",";}&.ana-chatbot-input{&:not(:focus){border:1px solid rgba(0,0,0,0.10);}&:hover{1px solid rgba(0,0,0,0.4);}&:focus{border:1px solid rgba(255,66,165,1);}}"],o,e=>{let{theme:t,error:i}=e;return i?"border-color: ".concat(t.colors.error," !important"):"border-color: ".concat(t.border.base)},e=>{let{theme:t,disabled:i}=e;return i?"border-color: ".concat(t.colors.white20," !important"):"border-color: ".concat(t.border.base)},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.black20},e=>{let{theme:t}=e;return t.colors.white40},e=>{let{theme:t}=e;return t.colors.white50},e=>{let{theme:t}=e;return t.colors.white20}),a=n.Ay.textarea.withConfig({componentId:"sc-4cbfd15b-1"})([""," ",";height:120px;resize:none;color:",";background:",";"],o,e=>{let{theme:t,error:i}=e;return i?"border-color: ".concat(t.colors.error):"border-color: ".concat(t.border.base)},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.black20}),l=n.Ay.label.withConfig({componentId:"sc-4cbfd15b-2"})(["font-size:12px;line-height:15px;color:",";font-weight:600;margin-bottom:4px;display:flex;align-items:center;text-transform:uppercase;.ai-chat-input &{margin-top:16px;}"],e=>{let{theme:t}=e;return t.colors.white}),s=n.Ay.div.withConfig({componentId:"sc-4cbfd15b-3"})(["position:relative;margin:16px 0;.label-info{&:hover{&::after{content:'Password must have: Minimum 8 characters, 1 letter, 1 number';color:",";font-family:",";font-size:10px;font-weight:400;position:absolute;border-radius:4px;border:1px solid ",";background:",";display:flex;padding:4px 6px;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;top:-50%;left:22px;z-index:1;height:42px;width:220px;line-height:11px;}}}"],e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.fontFamily},e=>{let{theme:t}=e;return t.colors.white20},e=>{let{theme:t}=e;return t.colors.black80}),d=n.Ay.p.withConfig({componentId:"sc-4cbfd15b-4"})(["position:absolute;right:10px;bottom:6px;color:",";"],e=>{let{theme:t}=e;return t.colors.white}),c=n.Ay.label.withConfig({componentId:"sc-4cbfd15b-5"})(['display:flex;align-items:center;font-weight:400;font-size:12px;line-height:150%;color:currentColor;cursor:pointer;&:focus-within{outline:none;}input[type="checkbox" i]{margin-right:10px;}'])},50035:(e,t,i)=>{"use strict";i.d(t,{A:()=>y});var n=i(37876),o=i(98477),r=i(14232),a=i(97125),l=i(64320),s=i(61120),d=i(7485),c=i(71027),p=i(85179),u=i(86360),h=i(98684);let g=(0,h.i7)(["0%{top:100px;opacity:0;}100%{top:0;opacity:1;}"]);(0,h.i7)(["0%{top:0;opacity:1;}50%{top:100px;opacity:0;}"]);let x=h.Ay.div.withConfig({componentId:"sc-c50d2da5-0"})(["z-index:100;position:fixed;inset:0;width:calc(var(--vw,1vw) * 100);display:flex;flex-direction:column;animation:"," 0.15s ease-out;"],g),f=h.Ay.div.withConfig({componentId:"sc-c50d2da5-1"})(["padding:20px 24px;background:",";backdrop-filter:blur(60px);z-index:20;flex:0 0 auto;display:flex;justify-content:center;@media only screen and (orientation:landscape){padding:16px 24px;}"],e=>{let{theme:t}=e;return t.colors.black70}),m=h.Ay.div.withConfig({componentId:"sc-c50d2da5-2"})(["background:",";width:100%;flex:1;overflow-y:auto;&::before{content:'';position:absolute;width:100%;height:100%;backdrop-filter:blur(60px);}&.ana-bot-wrapper{position:relative;}"],e=>{let{theme:t}=e;return t.colors.black70}),w=h.Ay.div.withConfig({componentId:"sc-c50d2da5-3"})(["display:flex;justify-content:space-between;align-items:center;position:absolute;left:24px;img{width:124px;height:32px;}@media only screen and (orientation:landscape){img{position:absolute;clip:rect(0,48px,32px,0);}}"]),b=h.Ay.div.withConfig({componentId:"sc-c50d2da5-4"})(["position:relative;height:32px;"]),A=h.Ay.span.withConfig({componentId:"sc-c50d2da5-5"})(["display:inline-block;width:20px;height:20px;z-index:20;position:absolute;top:24px;right:20px;svg{width:100%;height:100%;}"]);h.Ay.div.withConfig({componentId:"sc-c50d2da5-6"})(["margin-top:76px;@media only screen and (orientation:landscape){margin-top:0;}@media only screen and (orientation:portrait){width:100%;}"]),h.Ay.div.withConfig({componentId:"sc-c50d2da5-7"})(["height:100%;&>div{padding:24px;width:100% !important;position:relative;border:0;gap:24px;background:transparent;&.fit-html{left:0;}}.icon-cross-thin,.genre-list{display:none;}.trending-section{display:block;}"]),h.Ay.div.withConfig({componentId:"sc-c50d2da5-8"})(["height:100%;&>div{top:0px;bottom:0px;position:relative;width:100%;padding:24px;background:transparent;backdrop-filter:none;h3{text-align:left;}&.fit-html{left:0;}@media only screen and (orientation:landscape) and (max-height:575.98px){left:0 !important;width:100% !important;padding-top:24px;}}.icon-cross-thin{display:none;}"]);let y=e=>{let{close:t,showExploredGames:i}=e,h=(0,r.useContext)(p.A),g=(0,l.d4)(e=>e.play.orientation),[y,v]=(0,r.useState)(!1),[C,j]=(0,r.useState)(!1),[I,k]=(0,r.useState)(h.isCfMobile);return((0,l.d4)(e=>e.user.deviceOrientation),(0,r.useEffect)(()=>(k((0,u.Fr)()&&!(0,u.v1)()&&!(0,u.bh)()),i&&document.body.classList.add("revert-rotation","overflow-hidden"),j(!0),()=>{document.body.classList.remove("revert-rotation","overflow-hidden")}),[i]),C)?(0,o.createPortal)((0,n.jsxs)(x,{style:{display:i?"flex":"none"},hide:y,children:[(0,n.jsxs)(f,{children:[(0,n.jsx)(w,{isPortrait:s.QB.portrait===g,children:(0,n.jsx)(b,{children:(0,n.jsx)(d.A,{className:"app-logo"})})}),(0,n.jsx)(A,{onClick:()=>{v(!0),t()},children:(0,n.jsx)(a.b,{})})]}),(0,n.jsx)(m,{className:"ana-bot-wrapper",children:(0,n.jsx)(c.A,{autoFocus:!0,showExploredGames:i,chatBotEnabled:!1,wrapperClass:"ana-bot-search"})})]}),document.body):null}},51370:(e,t,i)=>{"use strict";i.d(t,{BU:()=>s,CU:()=>d,Dj:()=>F,Fe:()=>g,IN:()=>f,Ih:()=>O,Mu:()=>E,Nr:()=>w,PU:()=>I,QB:()=>A,R0:()=>C,Rz:()=>b,US:()=>_,VH:()=>v,Xy:()=>k,_E:()=>R,gy:()=>T,iI:()=>x,ix:()=>S,j$:()=>h,lZ:()=>m,mU:()=>j,mc:()=>u,mg:()=>D,nv:()=>P,wv:()=>y});var n=i(79682),o=i(26217),r=i(74678),a=i(15060),l=i(98684);let s=(0,l.AH)(["@media screen and (orientation:landscape) and (max-height:575.98px),(orientation:portrait) and (max-width:600px){justify-content:flex-end;transform:translateX(1px);}@media screen and (orientation:portrait) and (max-width:600px){align-items:flex-end;}overflow:auto;padding:20px 0px;"]),d=(0,l.AH)(["filter:drop-shadow(0px 12px 32px rgba(0,0,0,0.64));width:360px;max-width:95%;padding:24px;@media screen and (orientation:portrait) and (max-width:600px),(orientation:landscape) and (max-height:575.98px){.landscape-view{flex-direction:row;}}@media screen and (orientation:landscape) and (max-height:575.98px){&.split{.landscape-view{gap:16px;}}.login-container::before{border-radius:0;}&.popup{.content-section{gap:16px;}}}@media screen and (orientation:portrait) and (max-width:600px){&.popup{margin:auto;.nowgg-logo,.game-logo{display:none;}}}border-radius:12px;border:1px solid #7B4CFF;background:",";backdrop-filter:blur(32px);padding:0px;clip-path:border-box;"],e=>{var t;let{theme:i}=e;return null==(t=i.colors)?void 0:t.black20}),c=l.Ay.div.withConfig({componentId:"sc-d6f3184e-0"})(["position:relative;height:100px;width:100%;text-align:center;img{max-width:100%;max-height:100%;}@media screen and (orientation:portrait) and (max-width:600px),(orientation:landscape) and (max-height:575.98px){height:80px;}.landscape &{@media screen and (orientation:landscape) and (max-height:575.98px){display:none;}}"]),p=l.Ay.div.withConfig({componentId:"sc-d6f3184e-1"})(["padding:24px;display:flex;align-items:center;img{width:189px !important;height:48px !important;}@media screen and (orientation:portrait) and (max-width:600px),(orientation:landscape) and (max-height:575.98px){padding:4px;margin-top:10px;}.landscape .popup &{@media screen and (orientation:landscape) and (max-height:575.98px){display:none;}}.landscape &{@media screen and (orientation:landscape) and (max-height:575.98px){display:none;}}"]),u=l.Ay.div.withConfig({componentId:"sc-d6f3184e-2"})(["display:flex;color:",";@media screen and (orientation:portrait) and (max-width:600px),(orientation:landscape) and (max-height:575.98px){justify-content:space-around;}> ",",> ","{display:none;}.landscape &.popup{@media screen and (orientation:portrait) and (max-width:600px),(orientation:landscape) and (max-height:575.98px){justify-content:center;}}.landscape &.split{@media screen and (orientation:landscape) and (max-height:575.98px){align-items:flex-end;padding:0;border-radius:0;> ","{position:fixed;bottom:20px;left:20px;display:block;width:200px;text-align:left;}> ","{display:block;position:fixed;left:20px;top:30px;}}}"],e=>{var t;let{theme:i}=e;return null==(t=i.colors)?void 0:t.white},c,p,c,p),h=l.Ay.div.withConfig({componentId:"sc-d6f3184e-3"})(["display:flex;justify-content:center;flex-direction:column;align-items:center;margin:0px;.cross-icon{position:absolute;right:20px;top:20px;color:",";}@media screen and (orientation:landscape) and (max-height:300px){.login-options{span:nth-child(2),span:nth-child(3){margin-bottom:8px;}}}"],e=>{let{theme:t}=e;return t.colors.base900}),g=l.Ay.div.withConfig({componentId:"sc-d6f3184e-4"})(["display:flex;flex-direction:column;align-items:center;gap:16px;padding:24px;",";color:",";padding-top:16px;.classic-options,.more-options{display:flex;flex-direction:column;align-items:center;gap:16px;width:100%;}"],e=>{let{rotatedModal:t}=e;return t&&"padding-top: 16px;"},e=>{let{theme:t}=e;return t.colors.white}),x=l.Ay.div.withConfig({componentId:"sc-d6f3184e-5"})(["position:absolute;bottom:0;left:0;right:0;z-index:11;text-align:center;color:",";font-size:12px;padding:14px;background:rgba(0,0,0,0.3);@media screen and (orientation:portrait) and (max-width:600px),(orientation:landscape) and (max-height:575.98px){display:none;}"],e=>{var t;let{theme:i}=e;return null==(t=i.colors)?void 0:t.white}),f=l.Ay.footer.withConfig({componentId:"sc-d6f3184e-6"})(["padding:6px;border-radius:4px;opacity:.8;font-size:12px;text-align:center;@media screen and (orientation:portrait) and (max-width:600px),(orientation:landscape) and (max-height:575.98px){font-size:11px;padding:4px;}@media screen and (orientation:landscape) and (max-width:600px),(orientation:landscape) and (max-height:575.98px){padding:0 4px;}"]);l.Ay.div.withConfig({componentId:"sc-d6f3184e-7"})(["display:flex;flex-wrap:wrap;gap:16px;@media screen and (orientation:landscape) and (max-height:575.98px){grid-column-start:2;grid-column-end:2;grid-row-start:1;grid-row-end:4;}button{width:calc(50% - 8px);gap:5px;&:first-child{width:100%;}}.guest-btn{width:100%;.landscape .split &{@media screen and (orientation:landscape) and (max-height:575.98px){margin:4px 0;}}}"]),l.Ay.span.withConfig({componentId:"sc-d6f3184e-8"})(["display:flex;border-radius:50%;background:white;padding:4px;box-shadow:inset 0px -2px 0px rgba(0,0,0,0.4);"]);let m=l.Ay.div.withConfig({componentId:"sc-d6f3184e-9"})(["z-index:100;padding:12px 16px;text-align:center;color:",";background-color:",";position:fixed;left:0;top:0;right:0;font-size:14px;line-height:22px;@media screen and (orientation:portrait) and (max-width:600px),(orientation:landscape) and (max-height:575.98px){font-size:12px;padding:4px;}"],e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.warning});l.Ay.div.withConfig({componentId:"sc-d6f3184e-10"})(["position:absolute;top:0;bottom:0;z-index:990;display:none;flex-direction:column;align-items:flex-start;justify-content:space-between;height:100%;padding-left:24px;padding-top:",";max-width:40%;@media screen and (orientation:landscape) and (max-height:575.98px){display:flex;& > span{img{width:190px !important;height:48px !important;}}& > div{display:flex !important;img{width:auto;}}}"],e=>{let{sessionComplete:t}=e;return t?"54px":"24px"});let w=l.Ay.p.withConfig({componentId:"sc-d6f3184e-11"})(["font-weight:600;font-size:20px;line-height:150%;margin:0px;@media screen and (max-device-width:640px),screen and (orientation:landscape) and (max-height:575.98px){font-size:16px;}"]),b=(0,l.Ay)(r.M5).withConfig({componentId:"sc-d6f3184e-12"})(["color:",";margin-top:-16px;"],e=>{let{theme:t}=e;return t.colors.white70}),A=l.Ay.div.withConfig({componentId:"sc-d6f3184e-13"})(["width:100%;gap:16px;display:flex;flex-direction:column;div{&.login-field{margin:0px;label{letter-spacing:1.5px;font-size:10px;}input{border:1px solid ",";border-radius:8px;background:",";box-shadow:0px 2px 8px 0px rgba(0,0,0,0.04);font-size:14px;:not(:focus){border:1px solid ",";}&:hover{border:1px solid ",";}&:focus{border:1px solid rgba(255,66,165,1);}&:error{border:1px solid ",";}&.password-field{padding-right:42px;}}}}"],e=>{let{theme:t}=e;return t.colors.white20},e=>{let{theme:t}=e;return t.colors.black20},e=>{let{theme:t}=e;return t.colors.white50},e=>{let{theme:t}=e;return t.colors.white70},e=>{let{theme:t}=e;return t.colors.error}),y=l.Ay.div.withConfig({componentId:"sc-d6f3184e-14"})(["width:32%;height:1px;background-color:",";"],e=>{let{theme:t}=e;return t.colors.white10}),v=l.Ay.div.withConfig({componentId:"sc-d6f3184e-15"})(["display:flex;flex-direction:column;align-items:center;gap:6px;width:100%;z-index:10;padding-bottom:48px;"]),C=l.Ay.div.withConfig({componentId:"sc-d6f3184e-16"})(["text-align:center;z-index:1;"]),j=(0,l.Ay)(r.Ov).withConfig({componentId:"sc-d6f3184e-17"})(["color:",";"],e=>{let{theme:t}=e;return t.colors.white90}),I=(0,l.Ay)(r.M5).withConfig({componentId:"sc-d6f3184e-18"})(["color:",";margin-top:8px;"],e=>{let{theme:t}=e;return t.colors.white70}),k=l.Ay.div.withConfig({componentId:"sc-d6f3184e-19"})(["display:flex;flex-direction:row;align-items:center;gap:18px;"]),E=(0,l.Ay)(n.$).withConfig({componentId:"sc-d6f3184e-20"})(["width:100%;border-radius:8px;background:linear-gradient(270deg,#7B4CFF 0%,#0EA4C5 99.48%);box-shadow:0px 8px 16px 0px ",";height:40px;&:hover{background:linear-gradient(270deg,#9C79FF 0%,#0FD4FF 99.48%);}"],e=>{let{theme:t}=e;return t.colors.black10}),S=l.Ay.div.withConfig({componentId:"sc-d6f3184e-21"})(["align-self:center;height:100%;width:1px;background:linear-gradient(0deg,rgba(255,255,255,0.00) 0%,rgba(255,255,255,0.40) 50.1%,rgba(255,255,255,0.00) 100%);"]),P=l.Ay.div.withConfig({componentId:"sc-d6f3184e-22"})(["display:flex;flex-direction:row;gap:16px;"]),D=l.Ay.div.withConfig({componentId:"sc-d6f3184e-23"})(["display:flex;flex-direction:column;gap:16px;flex:1;"]),_=l.Ay.span.withConfig({componentId:"sc-d6f3184e-24"})(["color:",";cursor:pointer;margin:0 0 0 auto;padding:8px;position:absolute;right:16px;top:16px;color:white;z-index:11;border-radius:8px;&:hover{background:",";}"],e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.white20}),T=(0,l.Ay)(r.le).withConfig({componentId:"sc-d6f3184e-25"})(["position:absolute;right:4px;top:calc(50% - 6px);cursor:pointer;padding:6px 12px 7px 12px;border-radius:8px;&:hover{background:",";}"],e=>{let{theme:t}=e;return t.colors.white20}),R=l.Ay.div.withConfig({componentId:"sc-d6f3184e-26"})(["display:flex;width:204px;padding:8px 12px;align-items:flex-start;align-content:flex-start;gap:4px;flex-wrap:wrap;flex-shrink:0;background:",";border:1px solid #7B4CFF;backdrop-filter:blur(60px);z-index:5;position:absolute;transform:translate(8px,144px);border-radius:12px;align-items:center;&:before{content:'';width:12px;height:12px;position:absolute;border-top:1px solid #7B4CFF;border-left:1px solid #7B4CFF;background:",";top:-6px;left:12px;right:0px;bottom:0;z-index:2;display:flex;align-items:center;justify-content:center;transform:rotate(45deg);border-radius:3px 0px 0px 0px;clip-path:polygon(100% 0,0% 0%,0 100%);backdrop-filter:blur(60px);}"],e=>{let{theme:t}=e;return t.colors.black70},e=>{let{theme:t}=e;return t.colors.black70}),F=(0,l.Ay)(r.E2).withConfig({componentId:"sc-d6f3184e-27"})(["color:",";&.green{color:",";}"],e=>{let{theme:t}=e;return t.colors.white70},e=>{let{theme:t}=e;return t.colors.lightGreen}),O=l.Ay.img.withConfig({componentId:"sc-d6f3184e-28"})(["position:absolute;top:26px;right:8px;cursor:pointer;",""],(0,o.Eg)(a.Ay.t("togglePwd")))},51885:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var n=i(37876),o=i(14232);let r=e=>{let{initialRender:t=!1,toggle:i,children:r,enteringDelay:a=0,exitingDelay:l=0,exitingCallBack:s=()=>{}}=e,[d,c]=(0,o.useState)(t),p=(0,o.useRef)(-1),u=(0,o.useRef)(-1);return(0,o.useEffect)(()=>{window.clearTimeout(p.current),window.clearTimeout(u.current),i&&a?p.current=window.setTimeout(()=>c(i),1e3*a):!i&&l?u.current=window.setTimeout(()=>{c(i),s()},1e3*l):(c(i),i||s())},[a,l,i]),d?(0,n.jsx)(n.Fragment,{children:r}):null}},52141:(e,t,i)=>{var n=i(76014),o=1/0;e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}},52742:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}},53901:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});let n={src:"/_next/static/media/info-icon.c014906a.svg",height:17,width:17,blurWidth:0,blurHeight:0}},54316:(e,t,i)=>{e.exports=i(43622)(i(19031),"Promise")},54355:e=>{e.exports=function(e,t,i,n){for(var o=e.length,r=i+(n?1:-1);n?r--:++r{"use strict";i.d(t,{JX:()=>r,c8:()=>a});var n=i(37876);i(14232);var o=i(98684);let r={fontFamily:"'Bricolage Grotesque', sans-serif",colors:Object.assign(Object.assign({},{transparent:"transparent",white:"#FFFFFF",black:"#000000"}),{base900:"#0B0223",base800:"#1F1637",base700:"#332A4B",base600:"#473E5F",base500:"#5B5273",base400:"#797091",base300:"#8D84A5",base200:"#A198B9",base100:"#B5ACCD",base50:"#E3DFEC",purple:"#4C4789",blue:"#51A5C9",green:"#398B4D",lightGreen:"#B3D661",grey:"#9D9B9B",brightGreen:"#54BC2F",white90:"rgba(255, 255, 255, 0.9)",white80:"rgba(255, 255, 255, 0.8)",white70:"rgba(255, 255, 255, 0.7)",white60:"rgba(255, 255, 255, 0.6)",white50:"rgba(255, 255, 255, 0.5)",white40:"rgba(255, 255, 255, 0.4)",white30:"rgba(255, 255, 255, 0.3)",white20:"rgba(255, 255, 255, 0.2)",white10:"rgba(255, 255, 255, 0.1)",white5:"rgba(255, 255, 255, 0.05)",black:"rgba(0, 0, 0, 1)",black90:"rgba(0, 0, 0, 0.9)",black80:"rgba(0, 0, 0, 0.8)",black70:"rgba(0, 0, 0, 0.7)",black60:"rgba(0, 0, 0, 0.6)",black50:"rgba(0, 0, 0, 0.5)",black40:"rgba(0, 0, 0, 0.4)",black30:"rgba(0, 0, 0, 0.3)",black20:"rgba(0, 0, 0, 0.2)",black10:"rgba(0, 0, 0, 0.1)",black4:"rgba(0, 0, 0, 0.04)",link:"#0397EB",warning:"#DE5A48",error:"#F33621",info:"#EEE3D9",caution:"#FFC32A",success:"#67C3BB",ascent:"#00ff9d",ascent40:"#FF3392",ascentHover:"#FF339E",surface:"#FAFAFB",background:"#EEEDF0",overlay:"rgba(0, 0, 0, 0.7)",modal:"rgba(0, 0, 0, 0.2)",backgroundGlass:"rgba(255, 255, 255, 0.1)"}),spacing:{base:"4px",base2:"8px",base3:"12px",base4:"16px",base5:"20px",base6:"24px",base8:"32px"},border:{base:"1px solid rgba(255, 255, 255, 0.2)",base2:"1px solid rgba(0, 0, 0, 0.2)",base3:"1px solid rgba(255, 255, 255, 0.1)",base4:"1px solid #EEEDF0",base5:"1px solid rgba(255, 255, 255, 0.3)",base6:"1px solid rgba(255, 255, 255, 0.8)",base7:"1px solid #00ff9d",radius:"4px",radius2:"8px",radius3:"12px",radius4:"16px",radius6:"6px",radius10:"10px",radius12:"48px"},shadow:{button:"0px 4px 0px #AB055C, 0px 10px 8px rgba(0, 0, 0, 0.15)",dark:"0px 4px 8px rgba(0, 0, 0, 0.3)",big:"0px 8px 24px rgba(0, 0, 0, 0.08)",normal:"0px 4px 16px rgba(0, 0, 0, 0.08)",small:"0px 2px 8px rgba(0, 0, 0, 0.04)"},gradients:{glass:"linear-gradient(180deg, rgba(11, 2, 35, 0.48) 0%,\n rgba(11, 2, 35, 0.32) 100%), rgba(255, 255, 255, 0.3)",linearDark:"linear-gradient(180deg, rgba(11, 2, 35, 0.04) 0%, rgba(11, 2, 35, 0.64) 100%)",radialDark:"radial-gradient(126.59% 100% at 50% 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%)",linearDark1:"linear-gradient(180deg, #00ff9d 0%, #D11075 100%)",linearLight1:"linear-gradient(180deg, #FF75BD 0%, #FF1B92 100%)",linearDark2:"linear-gradient(180deg, #4D21FA 0%, #6944FF 100%)",linearLight2:"linear-gradient(180deg, #9B85F3 0%, #5A31FD 100%)",linearDark3:"linear-gradient(180deg, #2178FA 0%, #5344FF 100%)",linearLight3:"linear-gradient(180deg, #85AFF3 0%, #317FFD 100%)",linearDark4:"linear-gradient(180deg, #4DC9FF 0%, #51A5C9 99.48%)",linearLight4:"linear-gradient(180deg, #92DEFF 0%, #77D5FD 99.48%)"}},a=e=>{let{children:t}=e;return(0,n.jsx)(o.NP,{theme:r,children:t})}},55409:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var n=i(37876),o=i(14232);let r=()=>(0,n.jsx)("span",{}),a=e=>{let{children:t}=e,[i,a]=(0,o.useState)(!1);return(0,o.useEffect)(()=>a(!0),[]),(0,n.jsx)(n.Fragment,{children:i?t:(0,n.jsx)(r,{})})}},55929:(e,t,i)=>{"use strict";i.d(t,{A:()=>C,n:()=>v});var n=i(37876),o=i(14232),r=i(64320),a=i(6196),l=i(91226),s=i(26617),d=i(81007),c=i(40678),p=i(68911),u=i(38765),h=i(18847),g=i.n(h),x=i(24987),f=i(67794),m=i(83308),w=i(86360),b=i(34961),A=i(71126);let y=g()(()=>i.e(1381).then(i.bind(i,41381)),{loadableGenerated:{webpack:()=>[41381]}}),v=e=>{let{portraitView:t=!1,mobileHeaderUI:i=!1}=e,h=(0,r.wA)(),g=(0,r.d4)(e=>e.play.nowPremiumSubscriptionActive),v=(0,r.d4)(e=>e.ads.rewardedPremiumTimeInSec),C=(0,r.d4)(e=>e.play.showSubscriptionModal),j=(0,r.d4)(e=>e.play.isRecording),I=(0,o.useCallback)(()=>{if((0,x.sx)("RemoveAdsButtonClicked",{pageCategory:s.Ay.isAppPage?"appPage":"proxyErrorPage"}),(0,f.oh)(),(0,f.WJ)(),a.A.dispatch({type:m.A.UPDATE_REWARDED_AD_ERROR,payload:{rewardedAdFirst:!0,rewardedAdSecond:!1,rewardedAdFirstError:!1,rewardedAdFirstLoading:!1,rewardedAdSecondLoading:!1}}),(0,w.Fr)()&&!(0,w.RT)()){(0,x.sx)("WatchFirstAdFreePlaytimeClicked",{nowPassSource:b.RmT.BottomBarRemoveAdsButton}),(0,A.$B)(),h({type:m.A.UPDATE_REWARDED_AD_STATUS,payload:{rewardedAdFirstLoading:!0}});return}h({type:m.A.UPDATE_APP_STATE,payload:{showAddMoreTimeFirstAdPopover:!0}})},[h]),k=(0,o.useCallback)(()=>{(0,x.sx)("RemoveAdsButtonClicked",{pageCategory:s.Ay.isAppPage?"appPage":"proxyErrorPage"}),(0,f.oh)(),(0,f.WJ)(),a.A.dispatch({type:m.A.UPDATE_REWARDED_AD_ERROR,payload:{rewardedAdFirst:!0,rewardedAdSecond:!1,rewardedAdFirstError:!1,rewardedAdFirstLoading:!1,rewardedAdSecondLoading:!1}}),h({type:l.A.TOGGLE_SUBSCRIPTION_MODAL,payload:{showSubscriptionModal:!0}})},[h]),E=v>0;return(0,n.jsxs)(n.Fragment,{children:[!E&&!g&&((0,d.Gt)()||!C&&(0,d.M7)())&&!j&&!(0,w.RT)()&&(0,n.jsxs)(n.Fragment,{children:[!t&&(0,n.jsx)(p.ix,{}),(0,n.jsx)(y,{onClick:k})]}),((0,d.M7)()&&g||(0,d.Gt)()&&i&&(E||(0,w.RT)()))&&(0,n.jsxs)(c.A,{children:[!t&&(0,n.jsx)(p.ix,{}),(0,n.jsx)(u.A,{}),(0,d.Gt)()&&E&&(0,n.jsx)(y,{isRewardedAddTime:!0,onClick:I})]})]})},C=v},56663:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Controller:()=>tO,GameActions:()=>tG,GlobalActions:()=>tW,MouseLock:()=>tB,MouseSensitivity:()=>tz,ProfilesAction:()=>tM,RecordMic:()=>tH,RecordWidget:()=>tL,SoftKeyboardAction:()=>tU,SupportAction:()=>tN});var n=i(37876),o=i(26617),r=i(6196),a=i(24987),l=i(90080),s=i(80045),d=i(64320),c=i(86360),p=i(26875),u=i(91226),h=i(98684),g=i(74678);h.Ay.div.withConfig({componentId:"sc-90a29998-0"})(["display:flex;align-items:center;z-index:2;padding:0;margin:0;"]);let x=h.Ay.button.withConfig({componentId:"sc-90a29998-1"})(["display:flex;align-items:center;list-style:none;cursor:pointer;position:relative;border-radius:",";outline:none;color:inherit;background:",";border:0;padding:8px;justify-content:center;&:hover{background:",";}"," i{font-size:24px;}",""],e=>{let{theme:t}=e;return t.border.radius2},e=>{let{theme:t,active:i,highlight:n}=e;return i?t.colors.black70:n?t.colors.white20:"none"},e=>{var t;let{theme:i,active:n,isMobile:o}=e;return n||o?"":null==(t=i.colors)?void 0:t.white10},e=>{let{active:t,theme:i}=e;return t?"&:after{\n content: '';\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n background: ".concat(i.colors.black70,";\n z-index: -1;\n border-radius: 8px;\n bottom: 0;\n }"):""},e=>{let{isMobile:t}=e;return t&&"\n padding: 0px;\n "});h.Ay.div.withConfig({componentId:"sc-90a29998-2"})(["display:flex;flex-direction:row;background:linear-gradient( 180deg,rgba(11,2,35,0.24) 0%,rgba(11,2,35,0.16) 100%),rgba(255,255,255,0.15 );backdrop-filter:blur(24px);border:1px solid hsla(0,0%,100%,.2);border-radius:12px;padding:0 10px;margin:0;> "," > span{filter:brightness(100);}&:hover{background:linear-gradient(rgba(11,2,35,0.48) 0%,rgba(11,2,35,0.32) 100%),rgba(255,255,255,0.30);}li:hover{background:hsla(0,0%,100%,.1);}.dragging &{pointer-events:none;}&.fixed{width:fit-content;position:absolute;right:10px;top:10px;}"],x),h.Ay.ul.withConfig({componentId:"sc-90a29998-3"})(["flex-direction:column;display:block;padding:8px;transition:all .2s ease-in-out,top 0s ease-in-out,left 0s ease-in-out;border-radius:8px 8px 100px 100px;background:",";border:1px solid ",";backdrop-filter:blur(12px);"," ",""],e=>{var t;let{theme:i}=e;return null==(t=i.colors)?void 0:t.black80},e=>{var t;let{theme:i}=e;return null==(t=i.colors)?void 0:t.white20},e=>(null==e?void 0:e.display)==="show"&&(0,h.AH)(["pointer-events:all"]),e=>(null==e?void 0:e.display)==="hide"&&(0,h.AH)(["gap:16px;border:",";"],e=>{var t;let{theme:i}=e;return null==(t=i.border)?void 0:t.base}));let f=(0,h.Ay)(x).withConfig({componentId:"sc-90a29998-4"})(['cursor:pointer;&:hover div{display:flex;}&:hover::before{@media (hover:hover) and (pointer:fine){content:"";background:',";height:200px;@-moz-document url-prefix(){height:230px;}position:absolute;z-index:-1;width:46px;top:-1px;left:-6px;border-radius:",";}}"],e=>{let{theme:t}=e;return t.colors.base600},e=>{let{theme:t}=e;return t.border.radius});h.Ay.div.withConfig({componentId:"sc-90a29998-5"})(["box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;max-width:256px;min-width:160px;width:max-content;position:absolute;transform:",";top:",";left:",";right:",";bottom:",";color:",';background:#62676A;border-radius:12px;text-align:left;padding:12px 16px;border:1px solid rgba(255,255,255,0.1);backdrop-filter:blur(12px);&:after{content:" ";position:absolute;transform:',";left:",";bottom:",";right:",";width:0;height:0;border-top:9px solid ",";border-bottom:9px solid transparent;border-left:9px solid ",";border-right:9px solid transparent;z-index:2;transition:border-color 0.2s ease;clip-path:",";}"],e=>{let{isPortrait:t,isH5Game:i}=e;return t?"none":i?"translateY(-100%)":"translate(-50%, -100%)"},e=>{let{isPortrait:t}=e;return t?"auto":"-24px"},e=>{let{isPortrait:t,isH5Game:i}=e;return t||i?"auto":"50%"},e=>{let{isPortrait:t,isH5Game:i}=e;return t?"58px":i?"0":"auto"},e=>{let{isPortrait:t}=e;return t?"-6px":"auto"},e=>{let{theme:t}=e;return t.colors.white},e=>{let{isPortrait:t}=e;return t?"translateX(99%)":"translateX(-50%)"},e=>{let{isPortrait:t,isH5Game:i}=e;return t||i?"auto":"50%"},e=>{let{isPortrait:t}=e;return t?"15px":"-18px"},e=>{let{isPortrait:t,isH5Game:i}=e;return t||i?"0":"auto"},e=>{let{isPortrait:t}=e;return t?"transparent":"#62676A"},e=>{let{isPortrait:t}=e;return t?"#62676A":"transparent"},e=>{let{isPortrait:t}=e;return t?"polygon(0% 0%, 50% 50%, 0% 100%)":"polygon(0% 0%, 100% 0%, 50% 50%)"}),(0,h.Ay)(g.M5).withConfig({componentId:"sc-90a29998-6"})(["margin-top:8px;"]);let m=h.Ay.div.withConfig({componentId:"sc-90a29998-7"})(["display:flex;align-items:center;gap:6px;height:100%;",""],e=>{let{isPortrait:t,isGameAction:i}=e;return t&&"\n flex-direction: column-reverse;\n ".concat(i?"justify-content: space-between;":"","\n ")}),w=h.Ay.div.withConfig({componentId:"sc-90a29998-8"})(["display:flex;gap:6px;",""],e=>{let{isPortrait:t}=e;return t&&(0,h.AH)(["flex-direction:column;&:last-child{flex-direction:column-reverse;}"])}),b=(0,h.Ay)(g.le).attrs({as:"span"}).withConfig({componentId:"sc-90a29998-9"})(["display:inline-block;padding:4px 8px;border-radius:3px;background:",";color:",";align-self:center;margin-left:8px;letter-spacing:1px;"],e=>{let{theme:t}=e;return t.colors.white10},e=>{let{theme:t}=e;return t.colors.white}),A=h.Ay.div.withConfig({componentId:"sc-90a29998-10"})(["display:flex;height:40px;padding-right:0px;align-items:center;gap:8px;border-radius:120px;margin-right:3px;align-self:center;cursor:pointer;position:relative;"]),y=h.Ay.div.withConfig({componentId:"sc-90a29998-11"})(["display:inline-flex;height:58px;justify-content:center;align-items:center;flex-shrink:0;border-radius:6px;border:1px solid ",";background:",";position:fixed;transform:translate(-0%,-115%);backdrop-filter:blur(12px);width:220px;z-index:3;p{padding:8px 12px;}i{font-size:16px;cursor:pointer;padding:8px 12px;height:100%;align-items:center;border-left:1px solid ",";&:hover{background:",";}}&:before{content:'';position:absolute;left:0;right:0;margin:0 auto;width:0;height:0;border-top:5px solid ",";border-left:8px solid transparent;border-right:8px solid transparent;top:100%;}"],e=>{let{theme:t}=e;return t.colors.white20},e=>{let{theme:t}=e;return t.colors.black70},e=>{let{theme:t}=e;return t.colors.white20},e=>{let{theme:t}=e;return t.colors.white10},e=>{let{theme:t}=e;return t.colors.white20}),v=h.Ay.div.withConfig({componentId:"sc-90a29998-12"})(['position:relative;line-height:0;&.portrait{order:4;padding:4px 0 8px;margin-bottom:auto;}&.landscape{padding:0 8px;&:not(:first-child){margin-left:10px;&::after{content:"";position:absolute;left:-8px;top:50%;transform:translateY(-50%);width:1px;height:26px;background-color:',";}}}"],e=>{let{theme:t}=e;return t.colors.white10});var C=i(47030);let j={src:"/_next/static/media/dollar.77f6adad.svg",height:25,width:24,blurWidth:0,blurHeight:0};var I=i(57712);let k=()=>{let e=(0,d.wA)(),{t}=(0,p.B)();return(0,d.d4)(e=>e.play.iapUserLogin)||o.Ay.isMultiPanelAdsEnabled?null:(0,n.jsx)(x,{isMobile:(0,c.Fr)(),id:"ng-iap",onClick:()=>e({type:u.A.TOGGLE_IAP_POPUP_STATE}),children:(0,n.jsx)(I.iO,{className:"".concat((0,c.Fr)()&&"mobile"),children:(0,n.jsx)("img",{alt:t("iap"),style:{opacity:(0,c.Fr)()?.7:1},src:(0,C._w)(j)})})})};var E=i(14232),S=i(34961);let P={src:"/_next/static/media/soft-keyboard.bf96f83c.svg",height:24,width:24,blurWidth:0,blurHeight:0};var D=i(88130),_=i(60044),T=i(80060),R=i(80489),F=i(15060),O=i(74806),B=i(60292),L=i(65960),H=i(97634),z=i(61120),N=i(80549),U=i(81007),M=i(18847),W=i.n(M),G=i(91994),X=i(68911),V=i(40678),J=i(83308),Q=i(67794),Y=i(88150),K=i(52832);let q={support:{title:"helpAndSupport",action:"GET_SUPPORT"},gamepad:{title:"controls.title",action:"TOGGLE_SIDEBAR",fontSize:"23px"}},$=e=>{let{type:t}=e,[i,o]=(0,E.useState)({}),{t:r}=(0,p.B)(),a=(0,d.wA)(),l=(0,d.d4)(e=>e.play.draggableState);(0,E.useEffect)(()=>{t&&q[t]?o(q[t]):o({})},[t]);let s=(0,E.useCallback)(()=>{a({type:i.action})},[i]);return(0,n.jsx)(N.A,{title:r(i.title),onClick:"drag"===l?()=>{}:s,name:t})};var Z=i(75704),ee=i(60988);let et=()=>{let{t:e}=(0,p.B)(),t=(0,d.d4)(e=>e.play.mouseLockActive);return(0,n.jsx)(N.A,{alt:e("lockCursor"),title:e("lockCursor"),onClick:e=>{(0,ee.dg)(e.clientX,e.clientY)},name:t?"lock":"unlock"})};var ei=i(73205),en=i(45900);let eo=h.Ay.div.withConfig({componentId:"sc-f298c76e-0"})(["position:absolute;top:40px;right:0px;background:",";vertical-align:middle;padding:8px;width:200px;z-index:1;justify-content:center;pointer-events:all;border-radius:0px 0px 4px 4px;flex-direction:column;"],e=>{let{theme:t}=e;return t.colors.base600}),er=h.Ay.p.withConfig({componentId:"sc-f298c76e-1"})(["color:",";margin:0;text-align:left;font-size:10px;line-height:15px;font-weight:500;"],e=>{let{theme:t}=e;return t.colors.white}),ea=h.Ay.div.withConfig({componentId:"sc-f298c76e-2"})(["display:flex;align-items:center;input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;}"]),el=h.Ay.input.withConfig({componentId:"sc-f298c76e-3"})(["width:142px;margin-right:8px;accent-color:",";height:3px;cursor:pointer;"],e=>{let{theme:t}=e;return t.colors.ascent}),es=h.Ay.input.withConfig({componentId:"sc-f298c76e-4"})(["width:32px;height:24px;background:",";color:rgba(255,255,255,0.8);border-radius:2px;text-align:center;border:0px;"],e=>{let{theme:t}=e;return t.colors.modal}),ed=e=>{let{fsWidget:t,heading:i="mouseSensitivity",prepend:o=null}=e,{t:r}=(0,p.B)(),a=(0,d.d4)(e=>e.appPreferences.mouseSensitivity||S.Uox),l=(0,d.d4)(e=>e.play.isSensitivityPopupOpen),s=(0,d.d4)(e=>e.play.isFullscreen),c=(0,d.wA)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(N.A,{id:"ng-sensitivity",alt:r("mouseSensitivity"),title:r("mouseSensitivity"),onClick:()=>{c({type:u.A.SET_SENSITIVITY_POPUP,payload:{isSensitivityPopupOpen:!l}})},name:"sensi"}),(0,n.jsxs)(eo,{style:{display:l&&(s&&t||!s&&!t)?"inherit":"none"},children:[o,(0,n.jsx)(er,{children:r(i)}),(0,n.jsxs)(ea,{children:[(0,n.jsx)(el,{id:"sensitivity-slider",type:"range",min:"1",max:"10",value:a,step:"1",onChange:e=>{let t=parseInt(e.target.value,10);c({type:ei.A.MOUSE_SENSITIVITY,payload:{mouseSensitivity:t}}),en.Ay.updateCfgWithSensitivity()}}),(0,n.jsx)(es,{id:"sensitivity-box",type:"number",min:"1",max:"10",step:"1",value:a,onChange:e=>{let t=parseInt(e.target.value,10);t<1&&(t=1),t>10&&(t=10),c({type:ei.A.MOUSE_SENSITIVITY,payload:{mouseSensitivity:t}}),en.Ay.updateCfgWithSensitivity()},onFocus:()=>{c({type:u.A.UPDATE_TEXTFIELD_FOCUS,payload:{uiTextfieldInFocus:!0}})},onBlur:()=>{c({type:u.A.UPDATE_TEXTFIELD_FOCUS,payload:{uiTextfieldInFocus:!1}})}})]})]})]})};var ec=i(87308),ep=i(58501),eu=i(56395),eh=i(89989);let eg=W()(()=>Promise.all([i.e(624),i.e(286)]).then(i.bind(i,50286)),{loadableGenerated:{webpack:()=>[50286]},ssr:!1}),ex=e=>{var t;let{size:i=40,showOnFullscreen:l=!1,mobileHeaderUI:s=!1}=e,c=(0,d.wA)(),p=(0,d.d4)(e=>e.auth.isLoggedIn),h=(0,d.d4)(e=>e.gamification.showNowbuxView),g=(0,d.d4)(e=>e.gamification.showProfileView),[x,f]=(0,E.useState)(null),m=(0,d.d4)(e=>e.play.draggableState),w=(0,d.d4)(e=>e.auth.userStoreUpdated),b=(0,d.d4)(e=>e.gamification.showLeaderboardView),A=(0,d.d4)(e=>e.play.isFullscreen),y=()=>{let e=p?(0,ep.VM)():null;e&&f(e),e&&!e.handle&&H.Ay.getUserProfile({},{}).then(e=>{(0,ep.eg)(e);let t=p?(0,ep.VM)():null;t&&f(t)})};return(0,E.useEffect)(()=>{y(),!p&&(0,o.A_)()&&r.A.dispatch({type:u.A.UPDATE_LOGIN_TOOLTIP,payload:{isTooltipVisible:!0}})},[]),(0,E.useEffect)(()=>{y(),p&&c((0,eu.o)())},[w,p]),(0,n.jsxs)(n.Fragment,{children:[(!A||l||s)&&(0,n.jsx)(eh.Mf,{isLoggedIn:p,size:s?32:i,children:(0,n.jsx)(ec.A,{id:"ng-profile",isLoggedIn:p,user:x,src:null==x?void 0:x.avatar,size:s?32:i,click:()=>void("drag"!==m&&((0,o.Sb)(),r.A.dispatch({type:u.A.UPDATE_LOGIN_TOOLTIP,payload:{isTooltipVisible:!1}}),r.A.dispatch({type:u.A.SET_SENSITIVITY_POPUP,payload:{isSensitivityPopupOpen:!1}}),c({type:L.A.TOGGLE_VIEW,payload:{showProfileView:!0,showNowbuxView:!1,showLeaderboardView:!1}}),(0,a.sx)(S.Rgq)))})}),(g||h||b)&&(0,n.jsx)(eg,{nowbuxView:h&&(null==(t=null==window?void 0:window.nggClientIpInfo)?void 0:t.browserCode)!=="mob",profileView:g,leaderboardView:b,onClose:()=>{c({type:L.A.TOGGLE_VIEW,payload:{showProfileView:!1,showNowbuxView:!1,showLeaderboardView:!1,showRedeemSectionFirst:!1}})},onUpdate:()=>{f(p?(0,ep.VM)():null)},showOnFullscreen:l})]})};var ef=i(4917),em=i.n(ef),ew=i(95014),eb=i(54551);let eA=h.Ay.div.withConfig({componentId:"sc-e0e672b6-0"})(["display:none;position:absolute;top:97px;right:-60px;@-moz-document url-prefix(){right:-76px;top:110px;}z-index:1;padding:12px;transform:rotate(-90deg);"]),ey=h.Ay.input.withConfig({componentId:"sc-e0e672b6-1"})(["accent-color:",";height:3px;background:",";cursor:pointer;width:128px;outline:none;appearance:none;-webkit-appearance:none;&::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;border:none;height:16px;width:16px;border-radius:50%;background:",";margin-top:0px;}&::-moz-range-thumb{appearance:none;-moz-appearance:none;border:none;height:16px;width:16px;border-radius:50%;background:",";margin-top:0px;}"],e=>{let{theme:t}=e;return t.colors.ascent},e=>{let{theme:t,value:i}=e;return"linear-gradient(to right, 0%, ".concat(t.colors.ascent," ").concat(i,"%, ").concat(t.colors.white," ").concat(i,"%, ").concat(t.colors.white," 100%)")},e=>{let{theme:t}=e;return t.colors.ascent},e=>{let{theme:t}=e;return t.colors.ascent}),ev=e=>{let{showSlider:t}=e,{t:i}=(0,p.B)(),o=(0,E.useRef)(null),a=(0,d.d4)(e=>e.appPreferences.volume),l=(0,d.d4)(e=>e.play.muted),s=(0,d.wA)();return(0,E.useEffect)(()=>{let e=l?"0":(10*a).toString();o.current&&(o.current.value=e,o.current.style.background="linear-gradient(to right, ".concat(eb.JX.colors.ascent," 0%, ").concat(eb.JX.colors.ascent," ").concat(10*parseInt(e,10),"%, ").concat(eb.JX.colors.white," ").concat(10*parseInt(e,10),"%, ").concat(eb.JX.colors.white," 100%)"))},[a,l]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(N.A,{id:"ng-vol",alt:i(l?"mutedSoundIcon":"soundIcon"),onClick:()=>(function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function a(e){try{s(n.next(e))}catch(e){r(e)}}function l(e){try{s(n.throw(e))}catch(e){r(e)}}function s(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(a,l)}s((n=n.apply(e,t||[])).next())})})(void 0,void 0,void 0,function*(){if(l)if(t)(0,ew.Ay)();else{let e=r.A.getState(),{videoRef:t}=e.play;t&&t.current&&(t.current.muted=!1);let i=e.appPreferences.volume;s((0,eu.P)({volume:i})),r.A.dispatch({type:u.A.MUTE,payload:{muted:!1}}),(0,R.v)(S.sXX.audio.unmute)}else(0,ew.QU)()}),name:l?"mute-icon":"sound-icon"}),t&&(0,n.jsx)(eA,{id:"volume-slider",children:(0,n.jsx)(ey,{onChange:em()(e=>{if(o.current){o.current.value=e.target.value;let t=parseInt(e.target.value,10),i=t<1;!i&&l&&(0,R.v)(S.sXX.audio.unmute),i&&!l&&(0,R.v)(S.sXX.audio.mute),s({type:u.A.MUTE,payload:{muted:i}}),s((0,eu.P)({volume:t/10}))}},250),onInput:e=>{if(o.current){o.current.value=e.target.value;let t=10*parseInt(e.target.value,10);o.current.style.background="linear-gradient(to right, ".concat(eb.JX.colors.ascent," 0%, ").concat(eb.JX.colors.ascent," ").concat(t,"%, ").concat(eb.JX.colors.white," ").concat(t,"%, ").concat(eb.JX.colors.white," 100%)")}},ref:o,type:"range",min:0,max:10,id:"ng-vol"})})]})};var eC=i(97997),ej=i(33315);let eI={src:"/_next/static/media/return_icon.d8e06009.svg",height:15,width:20,blurWidth:0,blurHeight:0};var ek=i(12873);let eE=(0,h.Ay)(x).withConfig({componentId:"sc-3101fa9e-0"})(["width:40px;height:40px;"," ",""],e=>{let{isPortrait:t}=e;return t&&"\n order: 3;\n margin-bottom: auto;\n "},e=>{let{isPortrait:t}=e;return t?(0,h.AH)(["&> svg:nth-child(2){display:none;}"]):(0,h.AH)(["&> svg:nth-child(1){display:none;}"])}),eS=e=>{let{isPortrait:t}=e;return(0,n.jsx)(eE,{isPortrait:t,onClick:()=>(0,ek.Ci)(!0),className:"back-btn",children:(0,n.jsx)("img",{src:(0,C._w)(eI),alt:"back button"})})},eP=e=>{let{icon:t,element:i,channelUrl:o}=e;return(0,n.jsx)(x,{onClick:()=>{(0,a.sx)("UserInteraction",{element:i,action:"Clicked"}),window.open(o,"_blank","noopener")},className:i.toLowerCase(),children:(0,n.jsx)("img",{alt:"",src:(0,C._w)(t),style:{width:"24px",height:"24px"}})})};var eD=i(84715),e_=i(22690);let eT=()=>{let e=(0,d.wA)(),t=(0,d.d4)(e=>e.auth.isLoggedIn),[i,a]=(0,E.useState)(null),l=(0,d.d4)(e=>e.play.draggableState),s=(0,d.d4)(e=>e.play.isRecording),c=(0,d.d4)(e=>e.auth.guestFlow);return(0,E.useEffect)(()=>{let e=t?(0,ep.VM)():null;e&&a(e),!t&&(0,o.A_)()&&r.A.dispatch({type:u.A.UPDATE_LOGIN_TOOLTIP,payload:{isTooltipVisible:!0}})},[]),(0,n.jsx)(ec.A,{isLoggedIn:t,user:i,src:null==i?void 0:i.avatar,click:()=>(()=>{if("drag"!==l){if((0,o.Sb)(),r.A.dispatch({type:u.A.UPDATE_LOGIN_TOOLTIP,payload:{isTooltipVisible:!1}}),r.A.dispatch({type:u.A.SET_SENSITIVITY_POPUP,payload:{isSensitivityPopupOpen:!1}}),s&&!t)return void e({type:u.A.UPDATE_IS_RECORDING,payload:{showRecordingModalBeforeExit:!0,showRecordingModalBeforeExitSource:"userLogin"}});c&&!t?e({type:e_.A.TOGGLE_LOGIN,payload:{showLogin:!0}}):e({type:u.A.MODAL_STATUS,payload:{showAboutUs:!0}})}})(),size:24})};var eR=i(8969);let eF=h.Ay.div.withConfig({componentId:"sc-9279619c-0"})(["display:flex;flex-direction:column;color:",";height:24px;align-self:center;justify-content:space-between;align-items:baseline;"],e=>{let{theme:t}=e;return t.colors.white}),eO=h.Ay.div.withConfig({componentId:"sc-9279619c-1"})(["gap:8px;display:flex;margin-right:8px;span{position:relative !important;width:24px !important;height:24px !important;}img{border-radius:2px;width:24px;height:24px;}p{margin:0px;}"]),eB=h.Ay.p.withConfig({componentId:"sc-9279619c-2"})(["color:",";text-align:center;font-size:8px;font-weight:500;line-height:8px;letter-spacing:0.4px;text-transform:uppercase;"],e=>{let{theme:t}=e;return t.colors.white40}),eL=()=>(0,n.jsxs)(eO,{children:[(0,n.jsx)(eR.CY,{src:o.Ay.appInfo.media.icon,alt:"".concat(o.Ay.appInfo.appName," icon"),sizes:"32px",quality:100}),(0,n.jsxs)(eF,{children:[(0,n.jsx)(g.Ks,{children:o.Ay.appInfo.appName}),(0,n.jsx)(eB,{children:o.Ay.appInfo.appGenre})]})]});var eH=i(38765),ez=i(74842);let eN={src:"/_next/static/media/secretPassage.56f8c667.jpg",height:460,width:760,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/2wBDAQoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/wgARCAAFAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAf/xAAVAQEBAAAAAAAAAAAAAAAAAAABAv/aAAwDAQACEAMQAAAAnAL/AP/EABsQAAEEAwAAAAAAAAAAAAAAAAEAAgMREkGR/9oACAEBAAE/AJBFYAa4NxOxfaX/xAAWEQADAAAAAAAAAAAAAAAAAAAAATH/2gAIAQIBAT8AdP/EABYRAQEBAAAAAAAAAAAAAAAAAAEAMf/aAAgBAwEBPwB1v//Z",blurWidth:8,blurHeight:5};var eU=i(69180),eM=i(14031),eW=i(79682),eG=i(10534),eX=i(17679);let eV=h.Ay.div.withConfig({componentId:"sc-64af0300-0"})(["color:",";"],e=>{let{theme:t}=e;return t.colors.white}),eJ=(0,h.AH)(["width:428px;&> div{padding:24px 24px 0px;margin:0;}"]),eQ=h.Ay.div.withConfig({componentId:"sc-64af0300-1"})([""," gap:12px;flex-direction:column;margin-top:8px;> p{color:",";text-align:center;}"],eX.gX,e=>{let{theme:t}=e;return t.colors.white70}),eY=(0,h.Ay)(g.IT).withConfig({componentId:"sc-64af0300-2"})(["margin:8px auto 12px;text-align:center;"]),eK=(0,h.Ay)(eG.SC).withConfig({componentId:"sc-64af0300-3"})(["margin:32px auto 0;padding:9.5px 24px;border-radius:8px;"]),eq=h.Ay.div.withConfig({componentId:"sc-64af0300-4"})(["background-color:rgba(0,0,0,0.2);padding:16px 24px 16px;margin:16px -24px 0px -24px;display:flex;justify-content:space-between;align-items:center;color:rgba(255,255,255,0.8);"]),e$=h.Ay.div.withConfig({componentId:"sc-64af0300-5"})(["display:flex;align-items:center;padding:7px 16px;border:1px solid rgba(255,255,255,0.8);border-radius:4px;cursor:pointer;"]),eZ=h.Ay.p.withConfig({componentId:"sc-64af0300-6"})(["position:relative;width:16px;height:16px;margin:0 0 0 4px;&:after{width:8px;height:8px;position:absolute;content:'';transform:translate(-50%,-50%) rotate(45deg);left:50%;top:50%;border-top:1px solid rgba(255,255,255,0.8);border-right:1px solid rgba(255,255,255,0.8);}"]),e0=h.Ay.p.withConfig({componentId:"sc-64af0300-7"})(["font-weight:600;font-size:20px;line-height:150%;margin:0;color:",";"],e=>{let{theme:t}=e;return t.colors.white}),e1=h.Ay.p.withConfig({componentId:"sc-64af0300-8"})(["color:rgba(255,255,255,1);font-size:16px;line-height:24px;font-weight:600;margin:0;"]),e2=h.Ay.div.withConfig({componentId:"sc-64af0300-9"})(["display:flex;align-items:center;margin:0 0 16px 0;"]),e4=h.Ay.ul.withConfig({componentId:"sc-64af0300-10"})(["margin:0;padding:0;list-style-type:decimal;font-weight:400;font-size:16px;line-height:150%;color:rgba(255,255,255,0.7);margin-bottom:8px;padding-left:20px;li{margin:0;padding:0;span{color:#B3D661;}}"]),e5=h.Ay.p.withConfig({componentId:"sc-64af0300-11"})(["margin:0 2px 0 0;"]);var e6=i(27776);let e8=h.Ay.div.withConfig({componentId:"sc-dfc306c7-0"})(["padding:10px 14px;background:",";border:1px solid ",";border-radius:6px;h6{font-weight:700;}"],e=>{let{theme:t}=e;return t.colors.black20},e=>{let{theme:t}=e;return t.colors.success}),e3=()=>{let{t:e}=(0,p.B)();return(0,n.jsx)(e8,{children:(0,n.jsx)(g.le,{children:e("rewardValue")})})};var e7=i(49678);(0,h.Ay)(eG.SC).withConfig({componentId:"sc-f404a7da-0"})(["margin:32px auto 0;padding:9.5px 24px;border-radius:8px;"]);let e9=h.Ay.div.withConfig({componentId:"sc-f404a7da-1"})([""," gap:5px;background:",";border-radius:8px;padding:10.5px 24px;margin:32px auto 0;width:fit-content;"],eX.gX,e=>{let{theme:t}=e;return t.colors.black20}),te=h.Ay.span.withConfig({componentId:"sc-f404a7da-2"})(["position:relative;i{color:",";position:relative;z-index:1;}&::after{content:'';width:50%;height:50%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:",";}"],e=>{let{theme:t}=e;return t.colors.green},e=>{let{theme:t}=e;return t.colors.white}),tt=e=>{let{showMessage:t=!0,btnText:i="",onCopied:r}=e,[l,s]=(0,E.useState)(!1),c=(0,d.d4)(e=>e.play.inviteLink),h=(0,d.wA)(),{t:x}=(0,p.B)();return(0,E.useEffect)(()=>{!function(e,t,i,n){new(i||(i=Promise))(function(o,r){function a(e){try{s(n.next(e))}catch(e){r(e)}}function l(e){try{s(n.throw(e))}catch(e){r(e)}}function s(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(a,l)}s((n=n.apply(e,t||[])).next())})}(void 0,void 0,void 0,function*(){if(!c)try{let e=yield H.Ay.getInviteLink({appId:o.Ay.appInfo.appId},{});e.status===z.wD.Success&&h({type:u.A.UPDATE_REFER_EARN_DATA,payload:{inviteLink:e.inviteUrl}})}catch(e){}})},[c]),l&&t?(0,n.jsxs)(e9,{children:[(0,n.jsx)(te,{children:(0,n.jsx)(N.A,{name:"active",size:22})}),(0,n.jsx)(g.fI,{children:x("inviteLinkCopied")})]}):(0,n.jsx)(eK,{onClick:()=>{c&&((0,e7.qQ)(c),s(!0),(0,a.sx)(S.rEF),r&&r())},disabled:!c,children:(0,n.jsx)(g.fI,{children:x(i||"copyInviteLink")})})},ti=e=>{let{toggle:t,onClose:i,loginToInvite:o,setSecretPassageState:r,secretPassage:l}=e,s=(0,d.d4)(e=>e.auth.isLoggedIn),{t:c}=(0,p.B)(),u=()=>{window.open(S.sQ2,"_blank","noopener"),(0,a.sx)("SecretPassageViewed"),r(!0)};return(0,n.jsx)(ez.A,{modalStyles:eJ,onClose:()=>{setTimeout(()=>{r(!1)},500),i&&i()},toggle:t,children:l?(0,n.jsxs)("div",{children:[(0,n.jsx)(e2,{children:(0,n.jsx)(e0,{children:c("playRoblox")})}),(0,n.jsxs)(e1,{children:[c("hint"),":"]}),(0,n.jsxs)(e4,{children:[(0,n.jsx)("li",{children:(0,n.jsxs)(eM.x,{i18nKey:"findSolitaire",children:["Play “",(0,n.jsx)("span",{children:"Solitaire"}),"” on now.gg."]})}),(0,n.jsx)("li",{children:c("getAdFree")})]}),(0,n.jsx)("img",{src:(0,C._w)(eN),alt:"secretPassage",width:380,height:230}),(0,n.jsxs)(eq,{children:[(0,n.jsx)(g.fI,{children:c("stilConfused")}),(0,n.jsx)(eW.$,{id:"ng-reward-discord-btn",size:"medium",text:c("askForHelp"),variant:"secondaryOutline",onClick:u,children:(0,n.jsx)("img",{src:(0,C._w)(eU.A),alt:"search",width:16,height:16})})]})]}):(0,n.jsxs)(eV,{children:[(0,n.jsx)(e6.A,{height:144,width:144,applyAnimation:!0}),(0,n.jsx)(eY,{children:c("invite&Earn")}),(0,n.jsxs)(eQ,{children:[(0,n.jsx)(g.Dp,{children:c("inviteFriends")}),(0,n.jsx)(e3,{})]}),s?(0,n.jsx)(tt,{}):(0,n.jsx)(eK,{onClick:o,children:(0,n.jsx)(g.fI,{children:c("loginToInvite")})}),(0,n.jsxs)(eq,{children:[(0,n.jsx)(g.fI,{children:c("cheatCode")}),(0,n.jsxs)(e$,{onClick:u,children:[(0,n.jsx)(e5,{children:"⚡"}),(0,n.jsx)(g.le,{children:c("playInstantly")}),(0,n.jsx)(eZ,{})]})]})]})})};var tn=i(63580),to=i(412),tr=i(71141);let ta=h.Ay.div.withConfig({componentId:"sc-3159203e-0"})(["color:",";text-align:center;p{margin-bottom:16px;}div:last-child{margin-top:24px;}button{padding:9.5px;}"],e=>{let{theme:t}=e;return t.colors.white}),tl=(0,h.AH)(["width:440px;&> div{padding:24px;margin:0;}"]),ts=(0,h.Ay)(g.IT).withConfig({componentId:"sc-3159203e-1"})(["margin:16px auto 24px;text-align:center;max-width:270px;font-size:20px;line-height:30px;"]),td=e=>{let{toggle:t,onClose:i}=e,{t:o}=(0,p.B)();return(0,E.useEffect)(()=>{t&&(0,a.sx)(S.VWM,{loginPageContext:S.G$3.inviter})},[t]),(0,n.jsx)(ez.A,{modalStyles:tl,onClose:i,toggle:t,children:(0,n.jsxs)(ta,{children:[(0,n.jsx)(e6.A,{height:144,width:144,applyAnimation:!0}),(0,n.jsx)(ts,{children:o("signinToPlayAdFreeTime")}),(0,n.jsx)(g.M5,{children:o("claimPlayTime")}),(0,n.jsx)(tr.A,{pageContext:S.G$3.inviter,params:{triggeredBy:"rewards"}}),(0,n.jsx)(to.A,{})]})})};var tc=i(98477),tp=i(25827),tu=i(65539),th=i(51885);h.Ay.section.withConfig({componentId:"sc-98bd6abb-0"})(["",""],eX.gX),(0,h.Ay)(eG.SC).withConfig({componentId:"sc-98bd6abb-1"})(["padding:7px 16px;margin-left:6px;"]);let tg=(0,h.i7)(["0%{opacity:0;}100%{opacity:1;}"]),tx=(0,h.i7)(["0%{opacity:1;}100%{opacity:0;}"]),tf=h.Ay.div.withConfig({componentId:"sc-92870b2f-0"})(["position:absolute;height:100%;width:100%;.modal-overlay{top:","px;background:",";transition:all 0.6s ease-out;}",""],e=>{let{topOffset:t}=e;return t},e=>{let{theme:t}=e;return t.colors.black},e=>{let{toggle:t}=e;return t?(0,h.AH)(["animation:"," 0.6s ease-out;"],tg):(0,h.AH)(["animation:"," 0.6s ease-out;"],tx)}),tm=(0,h.AH)(["width:460px;> div{color:",";margin:24px 24px 32px;}"],e=>{let{theme:t}=e;return t.colors.white}),tw=h.Ay.div.withConfig({componentId:"sc-92870b2f-1"})(["color:",";"],e=>{let{theme:t}=e;return t.colors.white}),tb=e=>{let{toggle:t,earnedMinutes:i,onClose:o}=e,[r,a]=(0,E.useState)(0),l=(0,d.d4)(e=>e.play.consoleHeaderRef),{t:s}=(0,p.B)(),c=(0,E.useCallback)(()=>{var e;a((null==(e=null==l?void 0:l.current)?void 0:e.getBoundingClientRect().height)||0)},[l]);return(0,E.useEffect)(()=>(c(),window.addEventListener("resizeDone",c),()=>{window.removeEventListener("resizeDone",c)}),[c]),tc.createPortal((0,n.jsx)(th.A,{toggle:t,exitingDelay:.6,children:(0,n.jsx)(tf,{topOffset:r,toggle:t,children:(0,n.jsxs)(tp.A,{modalStyles:tm,children:[(0,n.jsx)(tu.U,{onClick:o,children:(0,n.jsx)(N.A,{name:"cross-thin",size:24})}),(0,n.jsx)(e6.A,{height:144,width:144,applyAnimation:!0}),(0,n.jsx)(eY,{children:s("earnedAdFreeMinutes",{minutes:i})}),(0,n.jsxs)(eQ,{children:[(0,n.jsx)(g.Dp,{children:s("inviteMoreFriends")}),(0,n.jsx)(e3,{})]}),(0,n.jsx)(tt,{})]})})}),document.body)},tA={src:"/_next/static/media/account-exists.8b2ddecd.svg",height:144,width:144,blurWidth:0,blurHeight:0},ty=h.Ay.div.withConfig({componentId:"sc-25d27dcd-0"})(["color:",";"],e=>{let{theme:t}=e;return t.colors.white}),tv=(0,h.AH)(["width:428px;&> div{padding:24px 24px 40px;margin:0;}"]),tC=h.Ay.div.withConfig({componentId:"sc-25d27dcd-1"})(["display:flex;width:fit-content;margin:auto;"]),tj=e=>{let{toggle:t,onClose:i}=e,{t:o}=(0,p.B)();return(0,n.jsx)(ez.A,{modalStyles:tv,onClose:i,toggle:t,children:(0,n.jsxs)(ty,{children:[(0,n.jsx)(tC,{children:(0,n.jsx)("img",{src:(0,C._w)(tA),height:144,width:144,alt:"account exist"})}),(0,n.jsx)(eY,{children:o("accountAlreadyExists")}),(0,n.jsxs)(eQ,{children:[(0,n.jsxs)(g.Dp,{children:[(0,n.jsx)("strong",{children:o("stillWinAdFreeTime")}),(0,n.jsx)("br",{}),o("inviteMoreFriends")]}),(0,n.jsx)(e3,{})]}),(0,n.jsx)(tt,{})]})})},tI={src:"/_next/static/media/play-time.f80859eb.svg",height:110,width:101,blurWidth:0,blurHeight:0};h.Ay.section.withConfig({componentId:"sc-371e41b2-0"})([""," padding:11px 12px 11px 9px;background:",";margin-top:-12px;margin-bottom:-12px;position:relative;"," ",""],eX.gX,e=>{let{theme:t}=e;return t.colors.white10},e=>{let{countDownStarted:t,theme:i}=e;return t&&(0,h.AH)(["background:rgba(243,54,33,0.1);position:relative;&::before{content:'';width:1px;height:100%;position:absolute;left:0;background:",";}"],i.colors.error)},e=>{let{toggle:t}=e;return t?(0,h.AH)(["animation:"," 0.6s ease-out;"],tg):(0,h.AH)(["animation:"," 0.6s ease-out;"],tx)}),h.Ay.div.withConfig({componentId:"sc-371e41b2-1"})([""," gap:18px;margin-left:25px;button{border:1px solid ",";padding:4px 12px;background:transparent;color:",";border-radius:",";filter:drop-shadow(0px 4px 4px rgba(0,0,0,0.2));box-shadow:none;&:hover,&:focus{background:transparent;color:",";}}img{cursor:pointer;transition:transform 0.6s ease-out;transform:",";}"],eX.gX,e=>{let{theme:t}=e;return t.colors.white80},e=>{let{theme:t}=e;return t.colors.white80},e=>{let{theme:t}=e;return t.border.radius},e=>{let{theme:t}=e;return t.colors.white80},e=>{let{openModal:t}=e;return t?"rotateX(0)":"rotateX(180deg)"}),(0,h.AH)(["display:none;"]),(0,h.AH)(["z-index:1 !important;"]),h.Ay.div.withConfig({componentId:"sc-371e41b2-2"})(["position:absolute;width:100%;left:0;top:-3px;transform:translateY(-100%);background:",";padding:16px;border-radius:12px;isolation:isolate;h4{margin-bottom:8px;font-weight:700;}button{margin:0;padding:7px 16px;white-space:nowrap;border-radius:6px;h5{font-size:12px;line-height:18px;}}p{color:",";}&::before{content:'';position:absolute;left:0;top:0;width:100%;height:100%;backdrop-filter:blur(60px);z-index:-1;}",""],e=>{let{theme:t}=e;return t.colors.black30},e=>{let{theme:t}=e;return t.colors.white70},e=>{let{toggle:t}=e;return t?(0,h.AH)(["animation:"," 0.6s ease-out;"],tg):(0,h.AH)(["animation:"," 0.6s ease-out;"],tx)}),h.Ay.div.withConfig({componentId:"sc-371e41b2-3"})([""," gap:12px;"],eX.gX),h.Ay.span.withConfig({componentId:"sc-371e41b2-4"})(["position:absolute;right:16px;top:16px;cursor:pointer;"]);let tk=h.Ay.div.withConfig({componentId:"sc-371e41b2-5"})(["position:absolute;top:22px;right:50px;background:",";border:1px solid ",";border-radius:4px;padding:4px 6px;p{color:",";}",""],e=>{let{theme:t}=e;return t.colors.black80},e=>{let{theme:t}=e;return t.colors.white20},e=>{let{theme:t}=e;return t.colors.white},e=>{let{toggle:t}=e;return t?(0,h.AH)(["animation:"," 0.6s ease-out;"],tg):(0,h.AH)(["animation:"," 0.6s ease-out;"],tx)}),tE=h.Ay.div.withConfig({componentId:"sc-2dc91533-0"})(["color:",";button{color:",";border:1px solid ",";filter:drop-shadow(0px 4px 4px ",");border-radius:8px;background:none;box-shadow:none;padding:9.5px 45.5px;&:hover,&:focus{background:none;}}h3{margin-top:36px;}"],e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.white80},e=>{let{theme:t}=e;return t.colors.white80},e=>{let{theme:t}=e;return t.colors.black20}),tS=(0,h.AH)(["width:428px;&> div{padding:24px 24px 40px;margin:0;}"]),tP=(0,h.Ay)(tk).withConfig({componentId:"sc-2dc91533-1"})(["top:auto;right:50%;bottom:88px;transform:translateX(50%);"]),tD=e=>{let{toggle:t,onClose:i}=e,[o,r]=(0,E.useState)(!1),{t:a}=(0,p.B)();return(0,n.jsx)(ez.A,{modalStyles:tS,onClose:i,toggle:t,children:(0,n.jsxs)(tE,{children:[(0,n.jsx)(e6.A,{height:110,width:110,src:tI}),(0,n.jsx)(eY,{children:a("adFreeTimeOver")}),(0,n.jsxs)(eQ,{children:[(0,n.jsx)(g.Dp,{children:a("inviteMoreFriends")}),(0,n.jsx)(e3,{})]}),(0,n.jsx)(th.A,{toggle:o,exitingDelay:.6,children:(0,n.jsx)(tP,{toggle:o,children:(0,n.jsx)(g.Ks,{children:a("linkCopied")})})}),(0,n.jsx)(tt,{btnText:"copyLink",showMessage:!1,onCopied:()=>{r(!0),window.setTimeout(()=>{r(!1)},2e3)}})]})})},t_=e=>{let{toggle:t,earnedMinutes:i,onClose:o}=e,{t:r}=(0,p.B)();return(0,n.jsx)(ez.A,{modalStyles:eJ,onClose:o,toggle:t,children:(0,n.jsxs)(tw,{children:[(0,n.jsx)(e6.A,{height:144,width:144,applyAnimation:!0}),(0,n.jsx)(eY,{children:r("earnedMinutes",{minutes:i})}),(0,n.jsxs)(eQ,{children:[(0,n.jsx)(g.Dp,{children:r("inviteMoreFriends")}),(0,n.jsx)(e3,{})]}),(0,n.jsx)(tt,{})]})})},tT=()=>{let[e,t]=(0,E.useState)(!1),[i,o]=(0,E.useState)(!1),[r,l]=(0,E.useState)(!1),[s,c]=(0,E.useState)(!1),[p,h]=(0,E.useState)(!1),[g,x]=(0,E.useState)(!1),[f,m]=(0,E.useState)(!1),w=(0,d.d4)(e=>e.auth.isLoggedIn),b=(0,d.d4)(e=>e.play.isAndroidConnected),A=(0,d.d4)(e=>e.play.adFreeTimeGainedSecs),y=(0,d.d4)(e=>e.play.adFreeTimeSecs),v=(0,d.d4)(e=>e.play.rewardStatus),C=(0,d.d4)(e=>e.play.isNewInvitee),j=(0,d.d4)(e=>e.ads.disableAllAds),I=(0,d.wA)();return(0,E.useEffect)(()=>{w&&b&&"rewards"===localStorage.getItem(S.v33)&&(t(!0),m(!0),localStorage.removeItem(S.v33))},[w,b]),(0,E.useEffect)(()=>{A&&A>0&&(C?l(!0):x(!0))},[A,C]),(0,E.useEffect)(()=>{I({type:J.A.UPDATE_ADS_STATE,payload:{disableAllAds:y>0}})},[y]),(0,E.useEffect)(()=>{(0,tn.nC)()},[j]),(0,E.useEffect)(()=>{document.body.addEventListener("click",()=>{t(!1),o(!1),l(!1),c(!1),h(!1),x(!1),setTimeout(()=>{m(!1)},500)})},[]),(0,E.useEffect)(()=>{v===z.Rx.FailureAccountAlreadyExists&&(c(!0),(0,a.sx)(S.meU))},[v]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(ti,{toggle:e,onClose:()=>t(!1),loginToInvite:()=>{(0,a.sx)(S.QXH),t(!1),o(!0)},setSecretPassageState:m,secretPassage:f}),(0,n.jsx)(td,{toggle:i,onClose:()=>o(!1)}),(0,n.jsx)(tD,{onClose:()=>h(!1),toggle:p}),(0,n.jsx)(tj,{toggle:s,onClose:()=>c(!1)}),(0,n.jsx)(tb,{toggle:r,earnedMinutes:Math.floor((A||0)/60),onClose:()=>{l(!1),I({type:u.A.UPDATE_REFER_EARN_DATA,payload:{adFreeTimeGainedSecs:0}})}}),(0,n.jsx)(t_,{toggle:g,earnedMinutes:Math.floor((A||0)/60),onClose:()=>{x(!1),I({type:u.A.UPDATE_REFER_EARN_DATA,payload:{adFreeTimeGainedSecs:0}})}})]})};var tR=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function a(e){try{s(n.next(e))}catch(e){r(e)}}function l(e){try{s(n.throw(e))}catch(e){r(e)}}function s(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(a,l)}s((n=n.apply(e,t||[])).next())})};let tF=W()(()=>i.e(1381).then(i.bind(i,41381)),{loadableGenerated:{webpack:()=>[41381]}}),tO=e=>{let{widget:t}=e,i=(0,d.wA)(),o=(0,d.d4)(e=>e.imap.guideVisible),c=(0,d.d4)(e=>e.imap.initialized),h=(0,d.d4)(e=>e.user.gameGuideNotificationCount),f=(0,d.d4)(e=>e.user.lastGameGuideNotifDate),[m,w]=(0,E.useState)(!1),[b,A]=(0,E.useState)(!1),v=(0,d.d4)(e=>e.play.gameControlsToast),{t:C}=(0,p.B)();(0,E.useEffect)(()=>{w(!t&&h<3&&(0,s.W)(f,new Date().toDateString()))},[]),(0,E.useEffect)(()=>{m&&i({type:l.A.GAME_GUIDE_NOTIF_COUNT_UPDATE,payload:{gameGuideNotificationCount:h+1,lastGameGuideNotifDate:new Date().toDateString()}})},[m]),(0,E.useEffect)(()=>{o&&A(!0)},[o]);let j=()=>{i({type:u.A.SHOW_CONTROLS_TOAST,payload:{gameControlsToast:!1}})};return c?(0,n.jsxs)(x,{id:"ng-controls",active:o||v,onClick:()=>{(0,a.sx)(S.wHH,{element:"GameGuide",state:"".concat(o?"Disabled":"Enabled"),robloxExperience:r.A.getState().play.robloxExperienceId}),v&&j()},children:[v&&(0,n.jsxs)(y,{children:[(0,n.jsx)(g.E2,{children:C("seeGameControls")}),(0,n.jsx)(N.A,{name:"cross-thin",size:10,onClick:j})]}),(0,n.jsx)($,{type:"gamepad"}),(0,n.jsx)(eC.ln,{style:{display:!m||o||b?"none":"block"}})]}):null},tB=()=>{var e,t,i,a,l,s;let c=(0,d.d4)(e=>e.play.mouseLockActive),p=(0,d.d4)(e=>e.play.nativeMouseEnabled),u=r.A.getState().appPreferences.legacyControls,h=o.Ay.appInfo.playFeFeatures.enableMouseLock,g=r.A.getState().play.isFullscreen;return!p||!h||g||u||(null==(t=null==(e=null===o.Ay||void 0===o.Ay?void 0:o.Ay.appInfo)?void 0:e.playFeFeatures)?void 0:t.enableNativePointer)?null:(0,n.jsx)(x,{active:c,className:"mouse-lock",style:{margin:(null==(a=null==(i=null===o.Ay||void 0===o.Ay?void 0:o.Ay.appInfo)?void 0:i.playFeFeatures)?void 0:a.enableNativePointer)?"0":void 0,border:(null==(s=null==(l=null===o.Ay||void 0===o.Ay?void 0:o.Ay.appInfo)?void 0:l.playFeFeatures)?void 0:s.enableNativePointer)?"none":void 0},children:(0,n.jsx)(et,{})})},tL=()=>{let{t:e}=(0,p.B)(),t=(0,d.wA)(),i=(0,E.useRef)(null),o=(0,E.useRef)(null),r=(0,d.d4)(e=>e.user.gameplayRecordingTooltipCount);(0,d.d4)(e=>e.user.lastGameplayRecordingTooltipDate);let a=(0,d.d4)(e=>e.play.isRecording),s=e=>{var n;(null==(n=i.current)?void 0:n.contains(e.target))||t({type:l.A.RECORDING_UPDATE,payload:{gameplayRecordingTooltipCount:r+1,lastGameplayRecordingTooltipDate:new Date().toDateString()}})};return(0,E.useEffect)(()=>(t({type:u.A.UPDATE_IS_RECORDING,payload:{recordActionRef:o}}),document.body.addEventListener("click",s),()=>{document.body.removeEventListener("click",s)}),[]),(0,T.Ay)()?(0,n.jsx)(x,{className:"record-screen",isRecordingWidget:a,id:"ng-record-screen",ref:o,children:(0,n.jsx)(ej.A,{})}):(0,n.jsx)(n.Fragment,{})},tH=()=>(0,n.jsx)(x,{className:"record-mic",children:(0,n.jsx)(eD.A,{})}),tz=e=>{let{widget:t}=e,i=(0,d.d4)(e=>e.play.isSensitivityPopupOpen),o=(0,d.d4)(e=>e.imap.initialized),a=(0,d.d4)(e=>e.play.nativeMouseEnabled),l=r.A.getState().appPreferences.legacyControls;return o||a&&!l?(0,n.jsx)(x,{active:i,className:"mouse-sensitivity",children:(0,n.jsx)(ed,{fsWidget:t})}):null},tN=()=>{let e=(0,d.d4)(e=>e.support.showSupport);return(0,n.jsx)(x,{id:"ng-support",active:e,children:(0,n.jsx)($,{type:"support"})})},tU=()=>{let{t:e}=(0,p.B)(),[t,i]=(0,E.useState)(!1);return(0,n.jsx)(x,{className:"soft-keyboard-action",onClick:()=>{i(!t),t?(0,R.v)(S.sXX.keyboard.disable):(0,R.v)(S.sXX.keyboard.enable)},active:t,children:(0,n.jsx)("img",{src:(0,C._w)(P),alt:e("onScreenKeyboard")})})},tM=e=>{let{topbarRef:t,searchIconRef:i,mobileHeaderUI:o=!1}=e,r=(0,d.d4)(e=>e.play.adBlockerMethodType),l=(0,d.d4)(e=>e.auth.isLoggedIn),s=(0,E.useRef)(null),p=(0,d.d4)(e=>e.gamification.selfDailyRank),[u,h]=(0,E.useState)(""),g=(0,d.d4)(e=>e.play.isFullscreen),x=(0,d.d4)(e=>e.nowbuxRewards.nowbuxCreditsEarned),f=(0,d.d4)(e=>e.auth.isLoginResolved);(0,d.d4)(e=>e.play.isPlayerLoaded);let m=(0,d.d4)(e=>{let{gamification:t}=e;return t.showNowbuxView||t.showProfileView||t.showLeaderboardView}),w=(0,c.Fr)()&&!(0,c.v1)()&&!(0,c.bh)(),b=(0,c.j_)(),y=(0,d.wA)();return(0,E.useEffect)(()=>{h((0,Y.kj)()),y({type:L.A.UPDATE_ACTION,payload:{gamificationActionsRef:s}})},[s]),(0,E.useEffect)(()=>{f&&(0,c.mP)()&&tR(void 0,void 0,void 0,function*(){let e=yield H.Ay.getLeaderboard({},{});if((0,c.Lo)(e),e.status===z.wD.Success&&(e.dailyLeaderboard.status!==z.wD.Success||e.weeklyLeaderboard.status!==z.wD.Success||e.monthlyLeaderboard.status!==z.wD.Success)){let e=yield H.Ay.getLeaderboard({},{});(0,c.Lo)(e)}setInterval(()=>{tR(void 0,void 0,void 0,function*(){let e=yield H.Ay.getLeaderboard({},{});(0,c.Lo)(e)})},3e5)})},[f]),u&&!(0,c.N1)()?(0,n.jsx)(n.Fragment,{}):(0,n.jsx)(A,{style:w?{zIndex:"1"}:{},ref:s,isSidebarDrawerOpen:m,isAiChatBotEnabled:b,children:w?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(ex,{mobileHeaderUI:o}),l&&(0,c.mP)()&&(0,n.jsxs)(B.y_,{className:"mobile-profile",children:[(0,n.jsx)("img",{src:(0,C._w)(_.A),width:14,alt:""}),x]})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(ex,{mobileHeaderUI:o}),r===G.Y.NONE&&(0,c.mP)()&&(0,n.jsx)(O.A,{creditNowbux:!0}),(0,c.mP)()&&!g&&(0,n.jsxs)(B.Ay,{onClick:()=>{y({type:L.A.TOGGLE_VIEW,payload:{showProfileView:!1,showNowbuxView:!1,showLeaderboardView:!0}}),(0,a.sx)("LeaderboardIconClicked")},children:[(0,n.jsx)("img",{src:(0,C._w)(D.A),width:24,alt:""}),(0,n.jsx)(B.y_,{children:l?p.rank:"--"})]})]})})},tW=e=>{var t,i,l;let{widget:s,isPortrait:h,style:g,countryCode:x,testDriveUi:f=!1}=e,w=(0,Y.kj)(),A=(0,d.d4)(e=>e.play.isRecording),y=(0,d.d4)(e=>e.play.showSubscriptionModal),C=(0,d.d4)(e=>e.play.nowPremiumSubscriptionActive),j=(0,d.d4)(e=>e.ads.rewardedPremiumTimeInSec),I=(0,d.d4)(e=>e.play.showMobileHeaderFooter);(0,d.d4)(e=>e.play.proxyUserType);let{t:k}=(0,p.B)(),P=(0,d.wA)(),{countryFooterLogo:D,appInfo:_}=o.Ay||{},{vertical:T,horizontal:R}=D||{},{isEnabled:F,altText:O}=(null==(t=null==_?void 0:_.playFeFeatures)?void 0:t.customFooterLogo)||{},B=(0,c.P0)(w),L=(!o.Ay.isPlayPage||!h)&&null,H=(0,E.useCallback)(()=>{(0,a.sx)(S.VNk,{nowPassSource:S.RmT.BottomBarRemoveAdsButton}),(0,Q.oh)(),(0,Q.WJ)(),r.A.dispatch({type:J.A.UPDATE_REWARDED_AD_ERROR,payload:{rewardedAdFirst:!0,rewardedAdSecond:!1,rewardedAdFirstError:!1,rewardedAdFirstLoading:!1,rewardedAdSecondLoading:!1}}),P({type:u.A.TOGGLE_SUBSCRIPTION_MODAL,payload:{showSubscriptionModal:!0,subscriptionFlowSource:S.RmT.BottomBarRemoveAdsButton}})},[P]),z=(0,E.useCallback)(()=>{(0,a.sx)("AdMoreTimeButtonClicked"),(0,Q.oh)(),(0,Q.WJ)(),r.A.dispatch({type:J.A.UPDATE_REWARDED_AD_ERROR,payload:{rewardedAdFirst:!0,rewardedAdSecond:!1,rewardedAdFirstError:!1,rewardedAdFirstLoading:!1,rewardedAdSecondLoading:!1}}),P({type:J.A.UPDATE_APP_STATE,payload:{showAddMoreTimeFirstAdPopover:!0}})},[P]),N=j>0,M=(0,d.d4)(e=>e.ads.showAddMoreTimeFirstAdPopover);(0,c.LD)()&&K.to.PROXY;let W=!(0,c.LD)()||!C;return(0,n.jsxs)(m,{isPortrait:h,style:g,children:[!(0,o.a2)()&&!w&&!(0,c.xl)()&&!I&&(0,n.jsx)(eT,{}),(!w||B)&&!f&&!L&&(0,n.jsx)(tN,{}),F&&(0,n.jsx)(v,{className:h?"portrait":"landscape",children:(0,n.jsx)("img",{height:h?51:26,width:h?36:92,src:h?T:R,alt:O,style:{height:"auto",maxHeight:h?"auto":"42px"}})}),(null==(l=null==(i=null===o.Ay||void 0===o.Ay?void 0:o.Ay.appInfo)?void 0:i.playFeFeatures)?void 0:l.enableSocialIcons)&&!h&&!f&&S.gq2.map(e=>(0,n.jsx)(eP,{...e},e.element)),!h&&!(0,c.Fr)()&&(0,c.ZZ)()&&!w&&!f&&(0,n.jsx)(tT,{}),f&&(0,n.jsx)(b,{children:k("testDrive")}),L&&(0,n.jsx)(eL,{}),!N&&!C&&!A&&((0,U.Gt)()||!y&&(0,U.M7)())&&!I&&!(0,c.RT)()&&(0,n.jsx)(tF,{onClick:H,console:!0}),((0,U.M7)()&&C||(0,U.Gt)()&&N||M&&(0,c.RT)())&&!I&&(0,n.jsxs)(V.A,{children:[(0,n.jsx)(X.ix,{}),(0,n.jsx)(eH.A,{}),W&&(0,U.Gt)()&&N&&(0,n.jsx)(tF,{isRewardedAddTime:!0,onClick:z})]})]})},tG=e=>{var t;let{widget:i,isPortrait:r}=e,a=(0,d.d4)(e=>e.play.isRecording),l=(0,c.Fr)(),{enableRecording:s}=(null==(t=null===o.Ay||void 0===o.Ay?void 0:o.Ay.appInfo)?void 0:t.playFeFeatures)||{};return(0,n.jsxs)(m,{isPortrait:r,isGameAction:!0,children:[!(0,o.a2)()&&(0,n.jsx)(eS,{isPortrait:r}),(0,n.jsxs)(w,{isPortrait:r,children:[a&&(0,n.jsx)(tH,{}),s&&!l&&(0,n.jsx)(tL,{}),(0,c.xl)()&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(tB,{}),(0,n.jsx)(tz,{widget:i}),navigator&&navigator.maxTouchPoints>0&&"en"===F.Ay.resolvedLanguage&&(0,n.jsx)(tU,{}),(0,n.jsx)(tO,{widget:i})]})]}),(0,n.jsxs)(w,{isPortrait:r,children:[o.Ay.appInfo.iapLoginPromptEnabled&&(0,n.jsx)(k,{}),(l&&!(0,o.a2)()&&(0,c.OF)()||!l&&!(0,o.a2)())&&(0,n.jsx)(f,{id:"ng-sound",children:(0,n.jsx)(ev,{showSlider:!l})}),(!((0,c.Fr)()&&(0,c.OF)())||(0,c.bh)())&&(0,n.jsx)(x,{id:"ng-fs",children:(0,n.jsx)(Z.A,{})})]})]})}},56751:(e,t,i)=>{var n=i(63592),o=i(48894),r=i(93007),a=i(4756),l=i(68373),s=i(82731),d=Object.prototype.hasOwnProperty;e.exports=function(e,t){var i=r(e),c=!i&&o(e),p=!i&&!c&&a(e),u=!i&&!c&&!p&&s(e),h=i||c||p||u,g=h?n(e.length,String):[],x=g.length;for(var f in e)(t||d.call(e,f))&&!(h&&("length"==f||p&&("offset"==f||"parent"==f)||u&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||l(f,x)))&&g.push(f);return g}},57410:e=>{e.exports=function(){}},57712:(e,t,i)=>{"use strict";i.d(t,{_n:()=>a,ai:()=>l,iO:()=>r,yi:()=>s});var n=i(98684);let o=(0,n.i7)(["0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}"]),r=n.Ay.div.withConfig({componentId:"sc-c5744a83-0"})(["background:transparent;cursor:pointer;display:flex;justify-content:center;align-items:center;width:24px;height:24px;"]),a=n.Ay.div.withConfig({componentId:"sc-c5744a83-1"})(["position:absolute;top:0;left:0;z-index:3;width:100%;height:100%;background:",";&.mobile{z-index:99;}"],e=>{let{theme:t}=e;return t.colors.black70}),l=n.Ay.div.withConfig({componentId:"sc-c5744a83-2"})(["position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:",";border:",";backdrop-filter:blur(60px);border-radius:",";padding:12px 16px 16px 16px;display:flex;flex-direction:column;color:",";i{position:absolute;top:18px;right:18px;cursor:pointer;}.iap-description{font-size:14px;font-weight:400;margin:0px 0px 16px 0px;max-width:313px;}img{animation:"," 1s linear infinite;width:28px;height:28px;margin:0px auto;margin-bottom:12px;}&.loaderContainer{padding:20px 24px 24px 24px;}"],e=>{let{theme:t}=e;return t.colors.white20},e=>{let{theme:t}=e;return t.border.base3},e=>{let{theme:t}=e;return t.border.radius3},e=>{let{theme:t}=e;return t.colors.white},o),s=n.Ay.div.withConfig({componentId:"sc-c5744a83-3"})(["position:fixed;left:50%;top:-10px;transform:translate(-50%,-100%);padding:8px 16px;background:",";border:",";border-radius:",";display:flex;justify-content:center;align-items:center;transition:all 1s ease-in-out;z-index:99;&.slideUp{top:-100px;opacity:0;}&.slideDown{top:100px;opacity:1;}i{font-size:15px;color:",";margin-right:5px;}p{margin:0px;}"],e=>{let{theme:t}=e;return t.colors.green},e=>{let{theme:t}=e;return t.border.base5},e=>{let{theme:t}=e;return t.border.radius},e=>{let{theme:t}=e;return t.colors.white})},58511:(e,t,i)=>{var n=i(93007),o=i(33582),r=i(91364),a=i(12438);e.exports=function(e,t){return n(e)?e:o(e,t)?[e]:r(a(e))}},59038:(e,t,i)=>{var n=i(64451),o=i(59930),r=i(93007),a=i(76014),l=1/0,s=n?n.prototype:void 0,d=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(r(t))return o(t,e)+"";if(a(t))return d?d.call(t):"";var i=t+"";return"0"==i&&1/t==-l?"-0":i}},59059:e=>{var t=Object.prototype;e.exports=function(e){var i=e&&e.constructor;return e===("function"==typeof i&&i.prototype||t)}},59930:e=>{e.exports=function(e,t){for(var i=-1,n=null==e?0:e.length,o=Array(n);++i{"use strict";i.d(t,{A:()=>n});let n={src:"/_next/static/media/nowbux-coin.e7190771.webp",height:72,width:73,blurDataURL:"data:image/webp;base64,UklGRrwAAABXRUJQVlA4WAoAAAAQAAAABwAABwAAQUxQSDgAAAABYBrZtpPXzfOfWC408P2nGdz35HyPooeICCuHa49uzYRE9sSNLroV4GP8J2500bczEtktpGuPblZQOCBeAAAAUAIAnQEqCAAIAAJAOCWwAnS6AAM6VFx94roAAP72Rigdjgauk9NAwkxdqNgfBFVGqD3FQTuhNtE3g//qfP/pfjxj/9GKvmf/m4e+PtL4wH9w2lkGM3xYiMe3VkAAAA==",blurWidth:8,blurHeight:8}},60292:(e,t,i)=>{"use strict";i.d(t,{Ay:()=>d,px:()=>s,y_:()=>l});var n=i(98684);let o=(0,n.i7)(["0%{transform:scale(1);opacity:0.5;}100%{transform:scale(4);opacity:0;}"]),r=(0,n.i7)(["0%{opacity:0;transform:translateY(20px);}100%{opacity:1;transform:translateY(0);}"]),a=n.Ay.div.withConfig({componentId:"sc-3d886d64-0"})(["display:flex;flex-direction:column;align-items:center;gap:4px;cursor:pointer;height:100%;transition:all 0.3s ease-out;border-radius:120px;border:1px solid ",";background:",";box-shadow:0px 8px 16px 0px ",";padding:0px 8px;width:40px;height:40px;justify-content:center;&:hover{border:1px solid ",";}"],e=>{let{theme:t}=e;return t.colors.white20},e=>{let{theme:t}=e;return t.colors.white10},e=>{let{theme:t}=e;return t.colors.black10},e=>{let{theme:t}=e;return t.colors.white40}),l=n.Ay.p.withConfig({componentId:"sc-3d886d64-1"})(["animation:"," 0.3s ease-out;color:white;text-align:center;font-size:8px;font-weight:600;line-height:16px;letter-spacing:0.16px;position:absolute;border-radius:36px;background:",";backdrop-filter:blur(60px);display:flex;height:10px;padding:0px 4px;justify-content:center;align-items:center;transform:translateY(17px);&.mobile-profile{z-index:20;gap:2px;padding-left:0px;}&.mobile-menu{transform:translateY(-4px);}"],r,e=>{let{theme:t}=e;return t.colors.black});n.Ay.span.withConfig({componentId:"sc-3d886d64-2"})([""]);let s=n.Ay.div.withConfig({componentId:"sc-3d886d64-3"})(["position:absolute;top:0;right:10px;&:before,&:after{content:'';color:white;position:absolute;top:0.25em;left:0;width:6px;height:6px;border-radius:50%;background-color:#FF5B36;}&:before{animation:"," 1.7s ease infinite;opacity:0.25;}"],o);n.Ay.span.withConfig({componentId:"sc-3d886d64-4"})(["width:16px;height:16px;svg{width:100%;height:100%;}transition:all 0.3s ease-out;",";"],e=>{let{rotate:t}=e;return t&&(0,n.AH)(["transform:rotateX(180deg)"])});let d=a},60328:(e,t,i)=>{"use strict";i.d(t,{I:()=>f,A:()=>m});var n=i(37876),o=i(14232),r=i(64320),a=i(26875),l=i(4917),s=i.n(l),d=i(91226),c=i(68832);let p={src:"/_next/static/media/gradient-search.0a195319.svg",height:16,width:17,blurWidth:0,blurHeight:0};var u=i(47030),h=i(86360),g=i(26617),x=i(69796);let f=o.memo(e=>{let{timeout:t=100,searchString:i="",autoFocus:l=!0,onChange:f,onBlur:m,onFocus:w,chatBotEnabled:b=!1,dropdownVisible:A=!1,handleKeyDown:y=()=>{},focusedIndex:v=-1,showExploredGames:C,isAltDomain:j}=e,{t:I}=(0,a.B)(),[k,E]=(0,o.useState)(i),S=(0,o.useRef)(null),P=(0,r.wA)(),D=(0,r.d4)(e=>e.user.userMsgFromSearch),_=(0,o.useMemo)(()=>(0,h.v1)()||(0,h.bh)(),[]);(0,o.useEffect)(()=>{var e;l&&S.current&&(null==(e=null==S?void 0:S.current)||e.focus())},[l,C]),(0,o.useEffect)(()=>{E(i)},[i]),(0,o.useEffect)(()=>{D&&S.current&&(S.current.value="",S.current.blur())},[D]);let T=(0,o.useCallback)(s()(e=>{E(e),e.length>=3?null==f||f(e):null==f||f("")},t),[f,t]),R=(0,o.useCallback)(e=>{T(e.target.value)},[T]),F=(0,o.useCallback)(()=>{E(""),null==f||f(""),S.current&&(S.current.focus(),S.current.value="")},[f]),O=(0,o.useCallback)(()=>{null==m||m(k),P({type:d.A.UPDATE_TEXTFIELD_FOCUS,payload:{uiTextfieldInFocus:!1}})},[P,m,k]),B=(0,o.useCallback)(()=>{null==w||w(),P({type:d.A.UPDATE_TEXTFIELD_FOCUS,payload:{uiTextfieldInFocus:!0}})},[P,w]),L=(0,o.useCallback)(e=>{e.stopPropagation()},[]),H=(0,o.useCallback)(()=>{var e;null==(e=S.current)||e.focus()},[]);return(0,o.useEffect)(()=>()=>{T.cancel()},[T]),(0,n.jsxs)(x.Gd,{className:"search-box ".concat(j?"alt-domain":""," ").concat(g.Ay.isMultiPanelAdsEnabled?"nonStickyHeader":""),dropdownVisible:A||k.length>2,onClick:L,children:[(0,n.jsx)(x.WI,{onClick:H,children:(0,n.jsx)("img",{alt:"search","aria-hidden":"true",src:(0,u._w)(p),loading:"eager"})}),!j&&!k.length&&b&&(0,n.jsxs)("div",{className:"label-container",children:[(0,n.jsx)("p",{children:I("PoweredByAI")}),(0,n.jsx)("img",{loading:"eager",alt:"ai icon",src:(0,u._w)(c.A)})]}),(0,n.jsx)(x.DO,{as:"input",id:"search-box",type:"text",autoFocus:l,title:I("searchPremiumGames"),placeholder:I(_?"searchGames":"searchPremiumGames"),defaultValue:k,onChange:R,autoComplete:"off",ref:S,onBlur:O,onFocus:B,role:"combobox","aria-controls":"dropdown-list",onKeyDown:y,"aria-activedescendant":-1!==v?"option-".concat(v):void 0,"aria-expanded":i.length>2}),(0,n.jsx)(x.zd,{onClick:F,style:{display:k.length?"block":"none"},children:I("clear")})]})}),m=f},60490:(e,t,i)=>{var n=i(71266),o=i(7766),r=i(48217),a=i(33582),l=i(33854),s=i(69525),d=i(52141);e.exports=function(e,t){return a(e)&&l(t)?s(d(e),t):function(i){var a=o(i,e);return void 0===a&&a===t?r(i,e):n(t,a,3)}}},61262:(e,t,i)=>{"use strict";i.d(t,{H:()=>o,_:()=>r});var n=i(98684);let o=.6,r=n.Ay.div.withConfig({componentId:"sc-abc28cef-0"})(["width:",";height:calc(100vh - 120px);position:sticky;top:64px;& > div{position:relative;top:0;transform:initial;}display:flex;align-items:center;.skyScraperFirst,.skyScraperSecond{left:0 !important;right:0 !important;}&.thirdLayoutFullScreen > div{position:fixed;top:0;transform:translateY(-50%);top:",";left:auto !important;right:auto !important;}&.thirdLayoutFullScreen > .skyScraperFirst{left:0 !important;}&.thirdLayoutFullScreen > .skyScraperSecond{right:0 !important;}"],e=>{let{show:t}=e;return t?"160px":"0"},e=>{let{adsTopPosition:t}=e;return"".concat(t,"px")})},61663:(e,t,i)=>{"use strict";i.d(t,{A:()=>a,Bg:()=>o,m:()=>r});var n=i(98684);let o=n.Ay.div.withConfig({componentId:"sc-c4e760d1-0"})(["width:100%;height:100%;position:",';left:0;right:0;top:0;bottom:0;pointer-events:none;&:after{content:"";'," background-color:rgba(0,0,0,0.7);position:absolute;left:0;top:0;right:0;bottom:0;}"],e=>{let{isAppPage:t}=e;return t?"absolute":"fixed"},e=>{let{disableOverlay:t}=e;return t?"z-Index: -1;":""}),r=n.Ay.div.withConfig({componentId:"sc-c4e760d1-1"})(["display:flex;flex-direction:column;width:calc(var(--vw,1vw) * 100);height:calc(var(--vh,1vh) * 100);background-position:center;background-repeat:no-repeat;background-size:cover;background-color:#0b0223;body.rotate-screen &,body.portrait-mode &{width:100%;height:100%;}"]),a=r},61733:(e,t,i)=>{var n=i(23550);e.exports=function(e){return function(t){return n(t,e)}}},61963:(e,t,i)=>{"use strict";i.d(t,{$n:()=>g,Ay:()=>x,CU:()=>d,D7:()=>u,En:()=>h,JK:()=>c,hE:()=>p});var n=i(17679),o=i(74678),r=i(98684),a=i(10534),l=i(6242);let s=r.Ay.div.withConfig({componentId:"sc-a6a33ff5-0"})([""," flex-direction:column;h3{color:",";}"],n.gX,e=>{let{theme:t}=e;return t.colors.white}),d=(0,r.AH)(["width:460px;&> div{padding:32px;margin:0;}"]),c=r.Ay.div.withConfig({componentId:"sc-a6a33ff5-1"})([""," width:144px;height:144px;margin-bottom:20px;img{width:100%;}"],n.gX),p=(0,r.Ay)(o.IT).withConfig({componentId:"sc-a6a33ff5-2"})(["margin-bottom:8px;text-wrap:balance;overflow-wrap:anywhere;text-align:center;"]),u=(0,r.Ay)(l.EY).withConfig({componentId:"sc-a6a33ff5-3"})(["color:",";margin-bottom:16px;width:-webkit-fill-available;overflow:auto;overflow-wrap:anywhere;"],e=>{let{theme:t}=e;return t.colors.white80}),h=r.Ay.div.withConfig({componentId:"sc-a6a33ff5-4"})(["width:100%;display:flex;gap:16px;"]),g=(0,r.Ay)(a.SC).withConfig({componentId:"sc-a6a33ff5-5"})(["flex:1 0 0;font-weight:600;"]),x=s},62610:(e,t,i)=>{"use strict";i.d(t,{B6:()=>o,Cf:()=>x,Dw:()=>d,ID:()=>r,cB:()=>c,hE:()=>g,kD:()=>a,oC:()=>s});var n=i(98684);(0,n.i7)(["from{width:0;}"]);let o=n.Ay.div.withConfig({componentId:"sc-dd60fb6a-0"})(["background:transparent;display:flex;margin:0px;cursor:pointer;position:",";top:",";bottom:",";right:",";width:",";height:",";justify-content:center;align-items:center;border:",";border-radius:50%;border-image:",";img{","}"],e=>{let{isFullscreen:t}=e;return t?"absolute":""},e=>{let{isAdFree:t}=e;return t?"":"12px"},e=>{let{isAdFree:t}=e;return t?"24px":""},e=>{let{isAdFree:t}=e;return t?"100px":"94px"},e=>{let{isFullscreen:t}=e;return t?"22px":"calc(var(--vw, 1vw) * 1.5)"},e=>{let{isFullscreen:t}=e;return t?"22px":"calc(var(--vw, 1vw) * 1.5)"},e=>{let{isProcessing:t}=e;return t?"2px solid":""},e=>{let{isProcessing:t,theme:i}=e;return t?"conic-gradient(".concat(i.colors.ascent," 3.6deg, ").concat(i.colors.white20," 0deg) 1"):""},e=>{let{isProcessing:t}=e;return t&&"\n width: 10px;\n "}),r=n.Ay.div.withConfig({componentId:"sc-dd60fb6a-1"})(["align-items:center;position:",";top:",";bottom:",";right:",";display:flex;flex-direction:column;width:",";justify-content:center;"],e=>{let{isFullscreen:t}=e;return t?"absolute":""},e=>{let{isAdFree:t}=e;return t?"":"12px"},e=>{let{isAdFree:t}=e;return t?"24px":""},e=>{let{isAdFree:t}=e;return t?"32px":"24px"},e=>{let{isFullscreen:t}=e;return t?"37px":""}),a=n.Ay.div.withConfig({componentId:"sc-dd60fb6a-2"})(["display:flex;flex-direction:",";padding:0px;gap:6px;align-items:center;cursor:pointer;border:1px solid #F33621;border-radius:",";"],e=>{let{isPortrait:t,isFullscreen:i}=e;return t&&!i?"column":"row"},e=>{let{theme:t}=e;return t.border.radius}),l=(0,n.i7)(["0%{opacity:1;}100%{opacity:0;}"]),s=n.Ay.img.withConfig({componentId:"sc-dd60fb6a-3"})(["animation-name:",";animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear;animation-direction:alternate;width:8px;height:8px;margin:",";"],l,e=>{let{isPortrait:t,isFullscreen:i}=e;return t&&!i?"6px 6px 0px 6px":"6px 0px 6px 6px"}),d=n.Ay.p.withConfig({componentId:"sc-dd60fb6a-4"})(["color:",";font-weight:400;font-size:10px;line-height:150%;display:flex;align-items:center;margin:0px;white-space:pre-line;"],e=>{let{theme:t}=e;return t.colors.white}),c=n.Ay.div.withConfig({componentId:"sc-dd60fb6a-5"})(["width:20px;height:20px;background:#F3362133;border-radius:0px 4px 4px 0px;display:flex;align-items:center;justify-content:center;"]);n.Ay.div.withConfig({componentId:"sc-dd60fb6a-6"})(["display:flex;flex-direction:row;align-items:flex-start;padding:12px 16px;gap:4px;width:379px;height:52px;"]);let p=(0,n.i7)(["0%{top:100%;left:100%;opacity:1;}12.5%{top:0;left:0;opacity:0.85;}75%{opacity:1;}100%{top:0;left:0;opacity:0;}"]),u=(0,n.i7)(["10%{transform:translate(-50%,-100%);opacity:1;top:21.43vh;}70%{transform:translate(-50%,-100%);opacity:1;}100%{transform:translate(-50%,100%);opacity:0;}"]),h=(0,n.i7)(["10%{transform:translate(-50%,100%);opacity:1;}70%{transform:translate(-50%,100%);opacity:1;}100%{transform:translate(-50%,200%);opacity:0;}"]),g=n.Ay.video.withConfig({componentId:"sc-dd60fb6a-7"})(["background:",";position:absolute;width:100%;height:calc(100% - 72px);object-fit:fill;top:100%;left:100%;z-index:1;opacity:1;&.slideIn{animation-name:",";animation-duration:3s;animation-iteration-count:1;animation-timing-function:linear;animation-fill-mode:forwards;}"],e=>{let{theme:t}=e;return t.colors.black20},p),x=n.Ay.div.withConfig({componentId:"sc-dd60fb6a-8"})(["z-index:1;>h1{position:absolute;top:21.43vh;left:50%;transform:translate(-50%,0);opacity:0;color:",";animation-name:",";animation-duration:2.5s;animation-delay:0.5s;animation-iteration-count:1;animation-timing-function:linear;animation-fill-mode:forwards;text-align:center;@media only screen and (max-width:1180px){font-size:32px;}@media only screen and (max-width:800px){font-size:24px;}}>h3{position:absolute;top:21.43vh;left:50%;transform:translate(-50%,0);opacity:0;color:",";animation-name:",";animation-duration:2.5s;animation-delay:0.5s;animation-iteration-count:1;animation-timing-function:linear;animation-fill-mode:forwards;@media only screen and (max-width:1180px){font-size:18px;}@media only screen and (max-width:800px){font-size:14px;}}"],e=>{let{theme:t}=e;return t.colors.white},u,e=>{let{theme:t}=e;return t.colors.white},h)},62673:(e,t,i)=>{"use strict";i.d(t,{Ay:()=>E,fH:()=>w});var n=i(6196),o=i(24987),r=i(83308),a=i(80489),l=i(34961),s=i(63580),d=i(74038),c=i(91994),p=i(54736),u=i(71126);let h=-1,g=()=>{h+=1},x=-1,f=()=>{x+=1},m=-1,w=()=>m,b=-1,A=-1,y=-1,v=-1,C=-1,j=-1,I=-1,k=()=>{I+=1},E=()=>{(0,o.sx)("AdAddDisplayAdListenersCalled"),(0,d.Y6)();let e=window.devicePixelRatio;window.googletag.cmd.push(()=>{try{window.googletag.pubads().addEventListener("slotRequested",t=>{var i,a,s,d,p,E,S,P,D,_,T,R,F,O,B,L,H,z,N,U,M,W,G,X,V,J,Q,Y;try{let Q=n.A.getState(),{videoRef:Y}=Q.play,{adBlocker:K}=Q.ads,q=(null==(i=null==Y?void 0:Y.current)?void 0:i.clientHeight)||0,$=(null==(a=null==Y?void 0:Y.current)?void 0:a.clientWidth)||0,Z=t.slot.getSlotElementId();if(t.slot.getAdUnitPath(),-1!==Z.indexOf("leaderBoard")){let t=0,i=c.r.LEADERBOARD_TOP;-1!==Z.indexOf("leaderBoard-1")?(g(),t=h):(f(),t=x,i=c.r.LEADERBOARD_BOTTOM),(0,o.sx)("AdRequested",{adContext:"Midroll",adType:"Display",adWidth:728,adHeight:90,viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:q,androidHeight:$,pixelRatio:e,isTabVisible:"visible"===document.visibilityState,isTudeLoaded:void 0!==(null==(s=null==window?void 0:window.tude)?void 0:s.refreshAdsViaDivMappings),isGptLoaded:void 0!==(null==(d=null==window?void 0:window.googletag)?void 0:d.pubads),adBlocker:K,slotId:Z,repeatCount:t,adSlot:i})}else if(-1!==Z.indexOf("skyScraper")||-1!==Z.indexOf(l.aPr)){let t=0,i=c.r.SKYSCRAPER_Left;-1!==Z.indexOf("skyScraper-1")?(g(),t=h):(f(),t=x,i=c.r.SKYSCRAPER_RIGHT),(0,o.sx)("AdRequested",{adContext:"Midroll",adType:"Display",adWidth:160,adHeight:600,viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:q,androidHeight:$,pixelRatio:e,isTabVisible:"visible"===document.visibilityState,isTudeLoaded:void 0!==(null==(p=null==window?void 0:window.tude)?void 0:p.refreshAdsViaDivMappings),isGptLoaded:void 0!==(null==(E=null==window?void 0:window.googletag)?void 0:E.pubads),adBlocker:K,slotId:Z,repeatCount:t,adSlot:i})}else -1!==Z.indexOf("div-gpt-ad-rewarded")?(m+=1,(0,o.sx)("AdRequested",{adContext:"Ingame",adType:"Display",adWidth:300,adHeight:250,viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:q,androidHeight:$,pixelRatio:e,isTabVisible:"visible"===document.visibilityState,isTudeLoaded:void 0!==(null==(S=null==window?void 0:window.tude)?void 0:S.refreshAdsViaDivMappings),isGptLoaded:void 0!==(null==(P=null==window?void 0:window.googletag)?void 0:P.pubads),adBlocker:K,slotId:Z,repeatCount:w(),adSlot:c.r.REWARDED_FALLBACK_FULL_SCREEN})):-1!==Z.indexOf("div-gpt-ad-display")||-1!==Z.indexOf("div-gpt-ad-display-1")||-1!==Z.indexOf("div-gpt-ad-display-2")||-1!==Z.indexOf("div-gpt-ad-display-3")?(b+=1,n.A.dispatch({type:r.A.UPDATE_ADS_STATE,payload:{displayAdLoaded:!1}}),(0,o.sx)("AdRequested",{adContext:"Midroll",adType:"Display",adWidth:320,adHeight:50,viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:q,androidHeight:$,pixelRatio:e,isTabVisible:"visible"===document.visibilityState,isTudeLoaded:void 0!==(null==(D=null==window?void 0:window.tude)?void 0:D.refreshAdsViaDivMappings),isGptLoaded:void 0!==(null==(_=null==window?void 0:window.googletag)?void 0:_.pubads),repeatCount:b,adBlocker:K,slotId:Z,adSlot:c.r.ANCHORED_TOP})):-1!==Z.indexOf(l.ZB3)?(v+=1,(0,o.sx)("AdRequested",{adContext:"Midroll",adType:"Display",adWidth:728,adHeight:90,viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:q,androidHeight:$,pixelRatio:e,isTabVisible:"visible"===document.visibilityState,isTudeLoaded:void 0!==(null==(T=null==window?void 0:window.tude)?void 0:T.refreshAdsViaDivMappings),isGptLoaded:void 0!==(null==(R=null==window?void 0:window.googletag)?void 0:R.pubads),adBlocker:K,slotId:Z,adSlot:c.r.LEADERBOARD_BOTTOM,repeatCount:v})):-1!==Z.indexOf(l.r9O)?(A+=1,(0,o.sx)("AdRequested",{adContext:"Midroll",adType:"Display",adWidth:336,adHeight:280,viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:q,androidHeight:$,pixelRatio:e,isTabVisible:"visible"===document.visibilityState,isTudeLoaded:void 0!==(null==(F=null==window?void 0:window.tude)?void 0:F.refreshAdsViaDivMappings),isGptLoaded:void 0!==(null==(O=null==window?void 0:window.googletag)?void 0:O.pubads),adBlocker:K,slotId:Z,adSlot:c.r.PANEL_TOP,repeatCount:A})):-1!==Z.indexOf(l.CGS)?(y+=1,(0,o.sx)("AdRequested",{adContext:"Midroll",adType:"Video",adWidth:336,adHeight:280,viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:q,androidHeight:$,pixelRatio:e,isTabVisible:"visible"===document.visibilityState,isTudeLoaded:void 0!==(null==(B=null==window?void 0:window.tude)?void 0:B.refreshAdsViaDivMappings),isGptLoaded:void 0!==(null==(L=null==window?void 0:window.googletag)?void 0:L.pubads),adBlocker:K,slotId:Z,adSlot:c.r.PANEL_Bottom,repeatCount:y})):-1!==Z.indexOf("div-gpt-ad-mediumRectangleAd-1")?(C+=1,(0,o.sx)("AdRequested",{adContext:"Midroll",adType:"Display",adWidth:300,adHeight:250,viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:q,androidHeight:$,pixelRatio:e,isTabVisible:"visible"===document.visibilityState,isTudeLoaded:void 0!==(null==(H=null==window?void 0:window.tude)?void 0:H.refreshAdsViaDivMappings),isGptLoaded:void 0!==(null==(z=null==window?void 0:window.googletag)?void 0:z.pubads),adBlocker:K,slotId:Z,repeatCount:C})):-1!==Z.indexOf("div-gpt-ad-mediumRectangleAd-2")?(j+=1,(0,o.sx)("AdRequested",{adContext:"Midroll",adType:"Display",adWidth:300,adHeight:250,viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:q,androidHeight:$,pixelRatio:e,isTabVisible:"visible"===document.visibilityState,isTudeLoaded:void 0!==(null==(N=null==window?void 0:window.tude)?void 0:N.refreshAdsViaDivMappings),isGptLoaded:void 0!==(null==(U=null==window?void 0:window.googletag)?void 0:U.pubads),adBlocker:K,slotId:Z,repeatCount:j})):-1!==Z.indexOf("div-gpt-ad-largeRectangleAd-1")?(k(),(0,o.sx)("AdRequested",{adContext:"Midroll",adType:"Display",adWidth:300,adHeight:600,viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:q,androidHeight:$,pixelRatio:e,isTabVisible:"visible"===document.visibilityState,isTudeLoaded:void 0!==(null==(M=null==window?void 0:window.tude)?void 0:M.refreshAdsViaDivMappings),isGptLoaded:void 0!==(null==(W=null==window?void 0:window.googletag)?void 0:W.pubads),adBlocker:K,slotId:Z,repeatCount:I})):-1!==Z.indexOf("div-gpt-ad-largeRectangleAd-2")?(k(),(0,o.sx)("AdRequested",{adContext:"Midroll",adType:"Display",adWidth:300,adHeight:600,viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:q,androidHeight:$,pixelRatio:e,isTabVisible:"visible"===document.visibilityState,isTudeLoaded:void 0!==(null==(G=null==window?void 0:window.tude)?void 0:G.refreshAdsViaDivMappings),isGptLoaded:void 0!==(null==(X=null==window?void 0:window.googletag)?void 0:X.pubads),adBlocker:K,slotId:Z,repeatCount:I})):u.ds.includes(Z)||(0,o.sx)("AdRequested",{adContext:"unknown",adType:"unknown",adWidth:-1,adHeight:-1,viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:q,androidHeight:$,pixelRatio:e,isTabVisible:"visible"===document.visibilityState,isTudeLoaded:void 0!==(null==(V=null==window?void 0:window.tude)?void 0:V.refreshAdsViaDivMappings),isGptLoaded:void 0!==(null==(J=null==window?void 0:window.googletag)?void 0:J.pubads),adBlocker:K,slotId:Z,adSlot:c.r.UNKNOWN})}catch(t){(0,o.sx)("AdRequestException",{adContext:"exception",adType:"exception",adWidth:-1,adHeight:-1,viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,pixelRatio:e,isTabVisible:"visible"===document.visibilityState,isTudeLoaded:void 0!==(null==(Q=null==window?void 0:window.tude)?void 0:Q.refreshAdsViaDivMappings),isGptLoaded:void 0!==(null==(Y=null==window?void 0:window.googletag)?void 0:Y.pubads),exception:(null==t?void 0:t.message)||"unknown",slotId:"unkknown",adSlot:c.r.UNKNOWN})}}),window.googletag.pubads().addEventListener("slotRenderEnded",t=>{var i,d,g;let f=t.slot.getSlotElementId()||"",m=n.A.getState(),{videoRef:k}=m.play,{rewardedAdType:E}=m.ads,S=(null==(i=null==k?void 0:k.current)?void 0:i.clientHeight)||0,P=(null==(d=null==k?void 0:k.current)?void 0:d.clientWidth)||0,D=null==(g=window.pbjs)?void 0:g.getBidResponses(),{bids:_=[]}=(null==D?void 0:D[f])||{},{bidder:T,cpm:R,currency:F,netRevenue:O,status:B,statusMessage:L,timeToRespond:H,ttl:z}=_[0]||{},N={bidder:T,cpm:R,currency:F,netRevenue:O,status:B,statusMessage:L,timeToRespond:H,ttl:z};if(-1!==f.indexOf("leaderBoard")){let i=0,n=c.r.LEADERBOARD_TOP;-1!==f.indexOf("leaderBoard-1")?i=h:(i=x,n=c.r.LEADERBOARD_BOTTOM),t.isEmpty?(0,o.sx)("AdNotFilled",{adContext:"Midroll",adType:"Display",adWidth:728,adHeight:90,viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:S,androidHeight:P,pixelRatio:e,repeatCount:i,slotId:f,adSlot:n}):(0,o.sx)("AdDisplayed",Object.assign({adContext:"Midroll",adType:"Display",adWidth:t.size[0],adHeight:t.size[1],viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:S,androidHeight:P,pixelRatio:e,repeatCount:i,slotId:f,adSlot:n,displayedAdFormat:(0,p.i2)(t)},N))}else if(-1!==f.indexOf("skyScraper")||-1!==f.indexOf(l.aPr)){let i=0,n=c.r.SKYSCRAPER_Left;-1!==f.indexOf("skyScraper-1")?i=h:(i=x,n=c.r.SKYSCRAPER_RIGHT),t.isEmpty?(0,o.sx)("AdNotFilled",{adContext:"Midroll",adType:"Display",adWidth:160,adHeight:600,viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:S,androidHeight:P,pixelRatio:e,slotId:f,repeatCount:i,adSlot:n}):(0,o.sx)("AdDisplayed",Object.assign({adContext:"Midroll",adType:"Display",adWidth:t.size[0],adHeight:t.size[1],viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:S,androidHeight:P,pixelRatio:e,slotId:f,repeatCount:i,adSlot:n,displayedAdFormat:(0,p.i2)(t)},N))}else if(-1!==f.indexOf("div-gpt-ad-rewarded")){n.A.dispatch({type:r.A.UPDATE_ADS_STATE,payload:{isLoadingRewardedAds:!1}});let{fallbackRewardedAdTimeout:i}=n.A.getState().ads;if(i&&clearTimeout(i),(0,p.Xg)())return;if(t.isEmpty){(0,o.sx)("AdNotFilled",{adContext:"Ingame",adType:"Display",adWidth:300,adHeight:250,viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:S,androidHeight:P,pixelRatio:e,slotId:f,repeatCount:w(),adSlot:c.r.REWARDED_FALLBACK_FULL_SCREEN});let t=n.A.getState().ads.sdkType,i=t?"::".concat(t):"";E===l.YSw.rewarded?((0,p.F0)(),(0,a.v)("ADS::rewardedAdLoad::fail".concat(i))):E===l.YSw.interstitial&&((0,p.F0)(),(0,a.v)("ADS::interstitialAdLoad::fail".concat(i))),n.A.dispatch({type:r.A.UPDATE_REWARDED_SDK_STATE,payload:{rewardedAdsSDK:!1,fallbackDisplayed:!1}});let{muted:s}=m.play;!s&&k&&k.current&&(k.current.muted=!1)}else(0,o.sx)("AdDisplayed",Object.assign({adContext:"Ingame",adType:"Display",adWidth:t.size[0],adHeight:t.size[1],viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:S,androidHeight:P,pixelRatio:e,repeatCount:w(),slotId:f,adSlot:c.r.REWARDED_FALLBACK_FULL_SCREEN,displayedAdFormat:(0,p.i2)(t)},N)),n.A.dispatch({type:r.A.UPDATE_ADS_STATE,payload:{fallbackDisplayed:!0}})}else -1!==f.indexOf("div-gpt-ad-display")||-1!==f.indexOf("div-gpt-ad-display-1")||-1!==f.indexOf("div-gpt-ad-display-2")||-1!==f.indexOf("div-gpt-ad-display-3")?t.isEmpty?(0,o.sx)("AdNotFilled",{adContext:"Midroll",adType:"Display",adWidth:320,adHeight:50,viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:S,androidHeight:P,pixelRatio:e,repeatCount:b,slotId:f,adSlot:c.r.ANCHORED_TOP}):((0,o.sx)("AdDisplayed",Object.assign(Object.assign({adContext:"Midroll",adType:"Display",adWidth:t.size[0],adHeight:t.size[1],viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:S,androidHeight:P,pixelRatio:e,repeatCount:b,slotId:f,displayedAdFormat:(0,p.i2)(t)},N),{adSlot:c.r.ANCHORED_TOP})),n.A.dispatch({type:r.A.UPDATE_ADS_STATE,payload:{displayAdLoaded:!0}}),(0,s.DH)(),(0,s.nC)(),setTimeout(()=>{(0,s.DH)(),(0,s.nC)()},2e3)):-1!==f.indexOf(l.ZB3)?t.isEmpty?(0,o.sx)("AdNotFilled",{adContext:"Midroll",adType:"Display",adWidth:728,adHeight:90,viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:S,androidHeight:P,pixelRatio:e,slotId:f,adSlot:c.r.LEADERBOARD_BOTTOM,repeatCount:v}):(0,o.sx)("AdDisplayed",Object.assign(Object.assign({adContext:"Midroll",adType:"Display",adWidth:t.size[0],adHeight:t.size[1],viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:S,androidHeight:P,pixelRatio:e,slotId:f,displayedAdFormat:(0,p.i2)(t),repeatCount:v},N),{adSlot:c.r.LEADERBOARD_BOTTOM})):-1!==f.indexOf(l.r9O)?t.isEmpty?(0,o.sx)("AdNotFilled",{adContext:"Midroll",adType:"Display",adWidth:336,adHeight:280,viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:S,androidHeight:P,pixelRatio:e,slotId:f,adSlot:c.r.PANEL_TOP,repeatCount:A}):(0,o.sx)("AdDisplayed",Object.assign(Object.assign({adContext:"Midroll",adType:"Display",adWidth:t.size[0],adHeight:t.size[1],viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:S,androidHeight:P,pixelRatio:e,slotId:f,displayedAdFormat:(0,p.i2)(t),repeatCount:A},N),{adSlot:c.r.PANEL_TOP})):-1!==f.indexOf(l.CGS)?t.isEmpty?(0,o.sx)("AdNotFilled",{adContext:"Midroll",adType:"Video",adWidth:336,adHeight:280,viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:S,androidHeight:P,pixelRatio:e,repeatCount:y,slotId:f,adSlot:c.r.PANEL_Bottom}):(0,o.sx)("AdDisplayed",Object.assign(Object.assign({adContext:"Midroll",adType:"Video",adWidth:t.size[0],adHeight:t.size[1],viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:S,androidHeight:P,pixelRatio:e,slotId:f,displayedAdFormat:(0,p.i2)(t),repeatCount:y},N),{adSlot:c.r.PANEL_Bottom})):-1!==f.indexOf("div-gpt-ad-mediumRectangleAd-1")?t.isEmpty?(0,o.sx)("AdNotFilled",{adContext:"Midroll",adType:"Display",adWidth:300,adHeight:250,viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:S,androidHeight:P,pixelRatio:e,slotId:f,adSlot:c.r.MEDIUM_RECTANGLE_AD_1,repeatCount:C}):(0,o.sx)("AdDisplayed",Object.assign(Object.assign({adContext:"Midroll",adType:"Display",adWidth:t.size[0],adHeight:t.size[1],viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:S,androidHeight:P,pixelRatio:e,slotId:f,displayedAdFormat:(0,p.i2)(t),repeatCount:C},N),{adSlot:c.r.MEDIUM_RECTANGLE_AD_1})):-1!==f.indexOf("div-gpt-ad-mediumRectangleAd-2")?t.isEmpty?(0,o.sx)("AdNotFilled",{adContext:"Midroll",adType:"Display",adWidth:300,adHeight:250,viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:S,androidHeight:P,pixelRatio:e,slotId:f,adSlot:c.r.MEDIUM_RECTANGLE_AD_2,repeatCount:j}):(0,o.sx)("AdDisplayed",Object.assign(Object.assign({adContext:"Midroll",adType:"Display",adWidth:t.size[0],adHeight:t.size[1],viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:S,androidHeight:P,pixelRatio:e,slotId:f,displayedAdFormat:(0,p.i2)(t),repeatCount:j},N),{adSlot:c.r.MEDIUM_RECTANGLE_AD_2})):-1!==f.indexOf("div-gpt-ad-largeRectangleAd-1")?t.isEmpty?(0,o.sx)("AdNotFilled",{adContext:"Midroll",adType:"Display",adWidth:300,adHeight:600,viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:S,androidHeight:P,pixelRatio:e,slotId:f,adSlot:c.r.LARGE_RECTANGLE_AD_1,repeatCount:I}):(0,o.sx)("AdDisplayed",Object.assign(Object.assign({adContext:"Midroll",adType:"Display",adWidth:t.size[0],adHeight:t.size[1],viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:S,androidHeight:P,pixelRatio:e,slotId:f,displayedAdFormat:(0,p.i2)(t),repeatCount:I},N),{adSlot:c.r.LARGE_RECTANGLE_AD_1})):-1!==f.indexOf("div-gpt-ad-largeRectangleAd-2")&&(t.isEmpty?u.ds.includes(f)||(0,o.sx)("AdNotFilled",{adContext:"Midroll",adType:"Display",adWidth:300,adHeight:600,viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:S,androidHeight:P,pixelRatio:e,slotId:f,adSlot:c.r.LARGE_RECTANGLE_AD_2,repeatCount:-1}):(0,o.sx)("AdDisplayed",Object.assign(Object.assign({adContext:"Midroll",adType:"Display",adWidth:t.size[0],adHeight:t.size[1],viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:S,androidHeight:P,pixelRatio:e,slotId:f,displayedAdFormat:(0,p.i2)(t),repeatCount:-1},N),{adSlot:c.r.LARGE_RECTANGLE_AD_2})))}),(0,d.Ns)(),(0,o.sx)("AdGPTCallbacksRegistered")}catch(e){(0,o.sx)("AdGPTCallbacksRegisterException",{exception:(null==e?void 0:e.message)||"unknown"})}})}},63592:e=>{e.exports=function(e,t){for(var i=-1,n=Array(e);++i{var n=i(64451),o=i(75082),r=i(79364),a=i(28375),l=i(19887),s=i(44577),d=n?n.prototype:void 0,c=d?d.valueOf:void 0;e.exports=function(e,t,i,n,d,p,u){switch(i){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!p(new o(e),new o(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=l;case"[object Set]":var g=1&n;if(h||(h=s),e.size!=t.size&&!g)break;var x=u.get(e);if(x)return x==t;n|=2,u.set(e,t);var f=a(h(e),h(t),n,d,p,u);return u.delete(e),f;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},63786:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return s}});let n=i(14232),o=i(43273),r="function"==typeof IntersectionObserver,a=new Map,l=[];function s(e){let{rootRef:t,rootMargin:i,disabled:s}=e,d=s||!r,[c,p]=(0,n.useState)(!1),u=(0,n.useRef)(null),h=(0,n.useCallback)(e=>{u.current=e},[]);return(0,n.useEffect)(()=>{if(r){if(d||c)return;let e=u.current;if(e&&e.tagName)return function(e,t,i){let{id:n,observer:o,elements:r}=function(e){let t,i={root:e.root||null,margin:e.rootMargin||""},n=l.find(e=>e.root===i.root&&e.margin===i.margin);if(n&&(t=a.get(n)))return t;let o=new Map;return t={id:i,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),i=e.isIntersecting||e.intersectionRatio>0;t&&i&&t(i)})},e),elements:o},l.push(i),a.set(i,t),t}(i);return r.set(e,t),o.observe(e),function(){if(r.delete(e),o.unobserve(e),0===r.size){o.disconnect(),a.delete(n);let e=l.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&l.splice(e,1)}}}(e,e=>e&&p(e),{root:null==t?void 0:t.current,rootMargin:i})}else if(!c){let e=(0,o.requestIdleCallback)(()=>p(!0));return()=>(0,o.cancelIdleCallback)(e)}},[d,i,t,c,u.current]),[h,c,(0,n.useCallback)(()=>{p(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},64657:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(64320),o=i(61120),r=i(86360),a=i(26617),l=i(71744);let s=function(){let e=(0,n.d4)(e=>e.play.isAndroidConnected),t=(0,n.d4)(e=>e.play.orientation),i=(0,n.d4)(e=>e.ads.adsEnded),s=(0,n.d4)(e=>e.play.error),d=(0,n.d4)(e=>e.ads.showInGameAds);return!!(0,l.A)()&&d&&(0,r.xl)()&&t===o.QB.portrait&&e&&!s&&i&&!a.Ay.isMultiPanelAdsEnabled&&(0,r.oz)()}},65539:(e,t,i)=>{"use strict";i.d(t,{A:()=>c,U:()=>d});var n=i(26217),o=i(15060),r=i(98684);let a=(0,r.i7)(["0%{opacity:0;}100%{opacity:1;}"]),l=(0,r.i7)(["0%{opacity:1;}100%{opacity:0;}"]),s=r.Ay.div.withConfig({componentId:"sc-ac825509-0"})([".bottom-modal{z-index:50 !important;}.modal-overlay{z-index:12;top:","px;right:","px;bottom:","px;left:","px;width:",";height:",";"," ","}&.blackBg{.modal-overlay{background:black;}}"],e=>{let{top:t,fullView:i}=e;return i?0:t},e=>{let{right:t,fullView:i}=e;return i?0:t},e=>{let{bottom:t,fullView:i}=e;return i?0:t},e=>{let{left:t,fullView:i}=e;return i?0:t},e=>{let{width:t,fullView:i}=e;return i?"100%":"".concat(t,"px")},e=>{let{height:t,fullView:i}=e;return i?"100%":"".concat(t,"px")},e=>{let{toggle:t}=e;return t?(0,r.AH)(["animation:"," 0.2s ease-out;"],a):(0,r.AH)(["animation:"," 0.2s ease-out;"],l)},e=>{let{fullView:t}=e;return t&&(0,r.AH)(["transition:all 0.5s;"])}),d=r.Ay.span.withConfig({componentId:"sc-ac825509-1"})(["display:inline-block;position:absolute;right:20px;top:20px;cursor:pointer;color:",";border-radius:",";;padding:4px;&:before{transform:translate(-22%,calc(-100% - 2px));}&:hover{background:",";}&.tool-tip{"," &:before{transform:translate(-35%,calc(100%));}}&.credit-modal{width:32px;height:32px;right:6px;top:6px;display:flex;justify-content:center;align-items:center;}.now-bux-subscription &{right:10px;top:10px;i{font-size:20px;}}&.static-icon{position:static;display:flex;justify-content:center;align-items:center;}&.size-40{width:40px;height:40px;}&.subscription-with-now-bux{top:3px;right:3px;display:flex;justify-content:center;align-items:center;z-index:9;}"],e=>{let{theme:t}=e;return t.colors.white80},e=>{let{theme:t}=e;return t.border.radius},e=>{var t;let{theme:i}=e;return null==(t=i.colors)?void 0:t.white20},(0,n.Eg)(o.Ay.t("close"),!1,!1)),c=s},66140:(e,t,i)=>{"use strict";let n;i.d(t,{Ay:()=>A,Hc:()=>C,Kq:()=>m,Q5:()=>v,a$:()=>b,sW:()=>f,xx:()=>x});var o=i(91226),r=i(6196),a=i(86360),l=i(24987),s=i(26617),d=i(34961),c=i(54736);let p=!1,u=null,h=!1,g=()=>"".concat("pwaCount","-").concat(s.Ay.appInfo.appId),x=()=>{let e=window.matchMedia("(display-mode: standalone)").matches;return!!document.referrer.startsWith("android-app://")||!!navigator.standalone||!!e},f=()=>(function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function a(e){try{s(n.next(e))}catch(e){r(e)}}function l(e){try{s(n.throw(e))}catch(e){r(e)}}function s(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(a,l)}s((n=n.apply(e,t||[])).next())})})(void 0,void 0,void 0,function*(){if(null!==u){yield(0,c.aH)(),(0,l.sx)("PwaPromptDisplayed"),h=!0,yield(0,c.aH)(),u.prompt();let{outcome:e}=yield u.userChoice;"accepted"===e?((0,l.sx)("PwaPromptAccepted"),u=null):(0,l.sx)("PwaPromptDismissed")}}),m=()=>{p=!0,(0,l.sx)("PwaInstalled",{pwaNudgeDisplayed:h}),r.A.dispatch({type:o.A.PWA_PROMPT_STATUS,payload:{showPwaPrompt:!1}})},w="".concat(d.H_7,"-").concat("pwaExp"),b=()=>sessionStorage.removeItem(w),A=(e,t)=>{let i=-1!==window.location.href.indexOf("?"),n="".concat(i?window.location.href.split("?")[0]:window.location.href,"?utm_source=PWA_app_icon&utm_medium=PWA_browser&\n utm_campaign=PWA"),o="https://cdn.now.gg/apps-content/".concat(s.Ay.appInfo.packageName,"/pwa");return encodeURIComponent(JSON.stringify({name:e,short_name:e,start_url:n,scope:window.location.href.split("?")[0],display:t?"standalone":"fullscreen",theme_color:"#FF43A6",description:e,icons:[{src:"".concat(o,"/Icon_48.png"),sizes:"48x48",type:"image/png"},{src:"".concat(o,"/Icon_96.png"),sizes:"96x96",type:"image/png"},{src:"".concat(o,"/Icon_144.png"),sizes:"144x144",type:"image/png"},{src:"".concat(o,"/Icon_192.png"),sizes:"192x192",type:"image/png"},{src:"".concat(o,"/Icon_512.png"),sizes:"512x512",type:"image/png"}]}))},y=()=>{f().catch(e=>console.log(e))},v=()=>{var e,t;return null==(t=null==(e=null===s.Ay||void 0===s.Ay?void 0:s.Ay.appInfo)?void 0:e.playFeFeatures)?void 0:t.enablePwa},C=e=>{let t=(0,a.Fr)()?"mobile":"desktop";((0,a.v1)()||(0,l.ZI)())&&(t="tablet"),h=!1,(0,l.sx)("PwaBeforeInstallPrompt",{deviceFormFactor:t,platforms:e.platforms}),u=e,e.preventDefault(),!x()&&!p&&s.Ay.pwaSupported&&v()&&!r.A.getState().play.pwaTimeoutTrigerred&&(r.A.dispatch({type:o.A.PWA_PROMPT_STATUS,payload:{pwaTimeoutTrigerred:!0}}),n&&clearTimeout(n),n=setTimeout(()=>{(0,l.sx)("PreNudgeWaitCompleted"),(0,a.Fr)()&&u&&!x()&&!p?null==window||window.addEventListener(d.n3n,y,{once:!0}):(()=>{let e=(()=>{let e=localStorage.getItem(g());return e?+e:0})();return u&&e<3&&!x()&&!p})()?((()=>{let e=localStorage.getItem(g());localStorage.setItem(g(),"".concat(Number(e||0)+1))})(),r.A.dispatch({type:o.A.PWA_PROMPT_STATUS,payload:{showPwaPrompt:!0}})):(0,l.sx)("PwaNudgeLimitReached")},(0,a.Fr)()?6e4:s.Ay.appInfo.pwaNudgeDelayMs))}},66783:e=>{e.exports=function(e){return this.__data__.has(e)}},67794:(e,t,i)=>{"use strict";i.d(t,{WJ:()=>o,oh:()=>n}),i(6196),i(24987),i(83308),i(91226),i(91994),i(54736),i(71126);let n=()=>{},o=()=>{}},67895:(e,t,i)=>{var n=i(54355),o=i(95975),r=i(49035);e.exports=function(e,t,i){return t==t?r(e,t,i):n(e,o,i)}},68373:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,i){var n=typeof e;return!!(i=null==i?0x1fffffffffffff:i)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e{e.exports=i(90400)},68832:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});let n={src:"/_next/static/media/stars.aea97432.svg",height:14,width:15,blurWidth:0,blurHeight:0}},68839:(e,t,i)=>{var n=i(19465),o=i(39913),r=i(24065),a=i(28389),l=i(4517),s=i(44577);e.exports=function(e,t,i){var d=-1,c=o,p=e.length,u=!0,h=[],g=h;if(i)u=!1,c=r;else if(p>=200){var x=t?null:l(e);if(x)return s(x);u=!1,c=a,g=new n}else g=t?[]:h;e:for(;++d{"use strict";i.d(t,{Gd:()=>s,Iq:()=>p,Y9:()=>l,hX:()=>d,ix:()=>u,m7:()=>c});var n=i(98684),o=i(15060),r=i(26217),a=i(24887);let l=n.Ay.header.withConfig({componentId:"sc-bc53705b-0"})(["border-bottom:1px solid rgba(255,255,255,0.1);display:flex;justify-content:space-between;color:#fff;padding:0 calc(var(--vw,1vw));position:sticky;opacity:1;left:0;right:0;&::before{content:'';width:100%;height:100%;position:absolute;left:0;top:0;backdrop-filter:blur(24px);background:rgba(102,102,102,0.2);z-index:-1;}&.g-overlay:after{content:\"\";position:absolute;bottom:0;left:0;right:0;height:1px;background:",";}.header-content &{border-bottom:unset;&::before{background:none;backdrop-filter:unset;}}"],e=>{let{theme:t}=e;return t.colors.ascent}),s=n.Ay.div.withConfig({componentId:"sc-bc53705b-1"})(["padding:calc(var(--vw,1vw) * 0.4) calc(var(--vw,1vw) * 1.1);display:flex;cursor:pointer;transition:background 0.3s ease-out;align-items:center;margin-right:auto;margin-left:1vw;&:hover{background:",";}p{margin:0;font-size:calc(var(--vw,1vw) * 0.8);}"],e=>{let{theme:t}=e;return t.colors.white10});n.Ay.div.withConfig({componentId:"sc-bc53705b-2"})(["padding:calc(var(--vw,1vw) * 0.4) calc(var(--vw,1vw) * 1.1);display:flex;cursor:pointer;transition:background 0.3s ease-out;align-items:center;border-radius:8px;border:1px solid ",";width:calc(var(--vw,1vw) * 3);height:calc(var(--vw,1vw) * 3);margin:calc(var(--vw,1vw) * 0.4) 0;align-self:center;svg{scale:2.13;}&.active{background:",";svg{transform:rotate(180deg);}}&:hover{background:",";}p{margin:0;font-size:calc(var(--vw,1vw) * 0.8);}"],e=>{let{theme:t}=e;return t.colors.white20},e=>{let{theme:t}=e;return t.colors.white20},e=>{let{theme:t}=e;return t.colors.white10});let d=n.Ay.ul.withConfig({componentId:"sc-bc53705b-3"})(["list-style:unstyled;list-style-type:none;margin:0;display:flex;gap:calc(var(--vw,1vw) * 0.8);padding:calc(var(--vw,1vw) * 0.4) calc(var(--vw,1vw) * 1);"]),c=n.Ay.li.withConfig({componentId:"sc-bc53705b-4"})(["display:flex;align-items:center;span{cursor:pointer;position:relative;display:flex;width:calc(var(--vw,1vw) * 3);height:calc(var(--vw,1vw) * 3);flex:0 0 calc(var(--vw,1vw) * 3);border-radius:4px;background-color:rgba(11,2,35,0.5);&:before{opacity:0;pointer-events:none;content:attr(data-title);position:absolute;top:110%;z-index:2;text-align:center;font-size:calc(var(--vw,1vw) * 0.8);transition:all 0.3s ease-out;background:#111111;border:1px solid ",";border-radius:4px;word-wrap:break-word;"," ",'}&:hover::before{opacity:1;pointer-events:auto;}}span:hover:after{content:"";position:absolute;left:3px;right:3px;background:',";border-radius:100px;animation-name:",";animation-duration:0.3s;","}"],e=>{let{theme:t}=e;return t.colors.white20},e=>{let{isVideoComplianceLayoutEnabled:t}=e;return t?(0,n.AH)(["width:max-content;max-width:250%;left:50%;transform:translateX(-50%);padding:7px 6px;"]):(0,n.AH)(["left:-75%;padding:4px 6px;width:250%;"])},e=>{let{rightTooltips:t}=e;return t&&(0,n.AH)(["left:calc(100% + 56px);top:calc(50% - 16px);"])},e=>{let{theme:t}=e;return t.colors.ascent},a.qG,e=>{let{isVideoComplianceLayoutEnabled:t}=e;return t?(0,n.AH)(["bottom:-1.53px;height:5px;filter:blur(5.5px);"]):(0,n.AH)(["bottom:-4.53px;height:8px;filter:blur(3.5px);"])}),p=n.Ay.div.withConfig({componentId:"sc-bc53705b-5"})(["display:flex;align-items:center;gap:6px;padding:12px 0;margin-left:auto;#ng-support{","}#ng-profile{","}"],(0,r.Eg)(o.Ay.t("helpAndSupport"),!1,!0),(0,r.Eg)(o.Ay.t("profile"),!1,!0)),u=n.Ay.div.withConfig({componentId:"sc-bc53705b-6"})(["height:20px;border-right:1px solid ",";align-self:center;@media (max-width:1023px){display:",";}.header-content &{margin-left:16px;margin-right:16px;}"],e=>{let{theme:t}=e;return t.colors.white20},e=>{let{pageType:t}=e;return"profile"===t?"none":"block"})},69180:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});let n={src:"/_next/static/media/discord.9b1f269d.svg",height:25,width:25,blurWidth:0,blurHeight:0}},69455:e=>{e.exports=function(e){return this.__data__.has(e)}},69516:(e,t,i)=>{"use strict";i.d(t,{A:()=>o});var n=i(34961);let o=(e,t,i)=>"".concat(n.Cpe,"logo/").concat(t,"-").concat(e).concat(i?"-tagline":"",".svg")},69525:e=>{e.exports=function(e,t){return function(i){return null!=i&&i[e]===t&&(void 0!==t||e in Object(i))}}},69750:(e,t,i)=>{var n=i(56751),o=i(29934),r=i(27136);e.exports=function(e){return r(e)?n(e):o(e)}},69796:(e,t,i)=>{"use strict";i.d(t,{DO:()=>a,Gd:()=>r,WI:()=>s,zd:()=>l});var n=i(74678),o=i(98684);let r=o.Ay.div.withConfig({componentId:"sc-b2da6f80-0"})(["width:400px;position:relative;padding:7px 8px 7px 12px;display:flex;align-items:center;z-index:1;background:",';&.alt-domain{width:100%;}:before{content:"";position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;border-radius:8px;padding:1px;background:linear-gradient(270deg,#7B4CFF 0%,#0EA4C5 99.48%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;-webkit-mask-composite:exclude;mask-composite:exclude;z-index:-1;}border:1px solid ',";border-radius:8px;",' &:focus-within{:before{content:"";position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;border-radius:8px;padding:1px;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;-webkit-mask-composite:exclude;mask-composite:exclude;z-index:-1;}}@media only screen and (max-width:850px){width:400px;max-width:100%;margin:auto;}@media only screen and (max-width:567px) and (orientation:portrait){width:100%;}.label-container{height:15px;display:flex;width:fit-content;position:absolute;right:12px;gap:8px;color:',";img{width:14px;height:14px;}}.chat-bot-home-search &{background:",";padding:8px;input{&::placeholder{color:",";}}&::before{content:'';position:absolute;top:-2px;right:-2px;bottom:-2px;left:-2px;border-radius:inherit;background:linear-gradient(270deg,#7B4CFF 0%,#0EA4C5 99.48%);z-index:-1;}&:focus-within{&::before{background:transparent}}}"],e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.white10},e=>{let{dropdownVisible:t}=e;return t&&(0,o.AH)(["border-radius:8px 8px 0px 0px;"])},e=>{let{theme:t}=e;return t.colors.black70},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.black70}),a=(0,o.Ay)(n.M5).withConfig({componentId:"sc-b2da6f80-1"})(["font-family:inherit;width:100%;padding:0 24px 0 12px;border:0;outline:none;background:transparent;line-height:24px;color:",";&::placeholder{color:",";}"],e=>{let{theme:t}=e;return t.colors.black90},e=>{let{theme:t}=e;return t.colors.black70}),l=(0,o.Ay)(n.E2).withConfig({componentId:"sc-b2da6f80-2"})(["cursor:pointer;text-transform:uppercase;margin-left:auto;color:#009DF9;"]),s=o.Ay.span.withConfig({componentId:"sc-b2da6f80-3"})(["cursor:pointer;width:16px;height:16px;flex-shrink:0;&.app-search{margin-left:auto;width:40px;height:40px;padding:10px;border:1px solid rgba(255,255,255,0.8);border-radius:50%;@media (min-width:767px){visibility:hidden !important;}}@media only screen and (max-width:585px){#home-header-search{border:1px solid #ffffff;border-radius:50%;width:40px !important;height:40px !important;padding:10px !important;margin-right:unset !important;}}"])},70239:(e,t,i)=>{"use strict";i.d(t,{H2:()=>o,z$:()=>r});var n=i(98684);let o=(0,n.i7)(["0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}"]);n.Ay.img.withConfig({componentId:"sc-8a75099-0"})(["width:42px;height:42px;animation-name:",";animation-duration:2s;animation-iteration-count:infinite;animation-timing-function:linear;"],o);let r=n.Ay.span.withConfig({componentId:"sc-8a75099-1"})(["",""],e=>{let{width:t="14px",trackSize:i="1px",trackColor:r="#D0E6FFE5",movingColor:a="#0397EB"}=e;return(0,n.AH)(["display:inline-block;position:relative;height:",";width:",";&::before{content:'';position:absolute;height:100%;width:100%;border-radius:50%;border:"," solid ",";border-bottom-color:",";animation-name:",";animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear;}"],t,t,i,r,a,o)})},71027:(e,t,i)=>{"use strict";i.d(t,{A:()=>eE});var n=i(37876),o=i(14232),r=i(74678),a=i(26875),l=i(47030),s=i(75919),d=i(68832);let c={src:"/_next/static/media/black-arrow-right.a1372263.webp",height:16,width:16,blurDataURL:"data:image/webp;base64,UklGRmAAAABXRUJQVlA4WAoAAAAQAAAABwAABwAAQUxQSCIAAAABHyAkIEM0C0VE0EIhG0nQ3K+1CId2aIcX0f+A5U2jPlsAVlA4IBgAAAAwAQCdASoIAAgAAkA4JaQAA3AA/vucwAA=",blurWidth:8,blurHeight:8};var p=i(86360),u=i(5711),h=i(17679),g=i(98684);let x=g.Ay.ul.withConfig({componentId:"sc-49c726f0-0"})(["overflow:auto;max-height:252px;width:100%;position:absolute;margin:0;padding:4px;list-style:none;background:",";border:1px solid ",";box-shadow:0px 4px 16px rgba(0,0,0,0.08);backdrop-filter:blur(12px);border-radius:0px 0px 8px 8px;.app-name{color:",";}.top-searches{color:",";font-size:10px;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;margin-left:4px;margin-top:4px;}::-webkit-scrollbar{width:4px;display:flex;}::-webkit-scrollbar-thumb{background:",';;border-radius:80px;}.ana-ai-li-option{position:sticky;bottom:0px;height:48px;background:#E5E5E5;&:hover,&.focused{.bot-img{height:46px;}.direction-icon{transform:translateX(50%);}:before{content:"";position:absolute;top:1px;left:1px;right:1px;bottom:1px;border-radius:inherit;padding:1px;background:linear-gradient(270deg,#7B4CFF 0%,#0EA4C5 99.48%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;-webkit-mask-composite:exclude;mask-composite:exclude;z-index:-1;}}border-radius:8px;overflow:hidden;cursor:pointer;.content{height:100%;display:flex;align-items:center;gap:8px;margin-left:8px;font-size:12px;color:',";}.direction-icon{transition:all .3s ease-in-out;margin-left:auto;margin-right:16px;}}"],e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.white10},e=>{let{theme:t}=e;return t.colors.black90},e=>{let{theme:t}=e;return t.colors.black50},e=>{let{theme:t}=e;return t.colors.black10},e=>{let{theme:t}=e;return t.colors.black70}),f=g.Ay.li.withConfig({componentId:"sc-49c726f0-1"})(["padding:8px;display:flex;align-items:center;gap:8px;border-radius:6px;cursor:pointer;&:hover,&.focused{background:",";button{display:flex;}}"],e=>{let{theme:t}=e;return t.colors.black10}),m=g.Ay.div.withConfig({componentId:"sc-49c726f0-2"})(["display:flex;border-radius:4px;overflow:hidden;flex-shrink:0;"]),w=(0,g.Ay)(r.E2).withConfig({componentId:"sc-49c726f0-3"})(["",""],h.gO);g.Ay.button.withConfig({componentId:"sc-49c726f0-4"})(["display:none;cursor:pointer;background:",";box-shadow:0px 4px 4px rgba(0,0,0,0.2);border-radius:4px;padding:4px 16px;margin-left:auto;border:none;color:white;"],e=>{let{theme:t}=e;return t.colors.ascent});let b=(0,g.Ay)(f).withConfig({componentId:"sc-49c726f0-5"})(["gap:4px;display:flex;flex-direction:column;align-items:start;&:hover{background:transparent;}"]),A=g.Ay.div.withConfig({componentId:"sc-49c726f0-6"})(["height:36px;border-radius:4px;background:",";width:100%;display:flex;gap:8px;padding:8px;cursor:pointer;align-items:center;margin-top:8px;justify-content:space-between;color:",";svg{transform:rotate(-90deg);}p{width:-webkit-fill-available;}"],e=>{let{theme:t}=e;return t.colors.white10},e=>{let{theme:t}=e;return t.colors.white}),y=e=>{let{searchText:t,items:i,isAptoidePresent:g,onClick:y,handleAnaBotOptionClick:v=()=>{},chatBotEnabled:C=!1,isTopSearchesDropDown:j=!1,focusedIndex:I=-1}=e,{t:k}=(0,a.B)(),E=(0,o.useRef)([]);return(0,o.useEffect)(()=>{var e;-1!==I&&(null==(e=E.current[I])||e.scrollIntoView({block:"center"}))},[I]),(0,n.jsxs)(x,{role:"listbox",onClick:e=>e.stopPropagation(),children:[j&&(0,n.jsx)("p",{className:"top-searches",children:k("topSearches")}),i.length>0?i.map((e,t)=>(0,n.jsxs)(f,{ref:e=>{E.current[t]=e},id:"option-".concat(t),role:"option","aria-selected":t===I,tabIndex:-1,onClick:()=>y(e),className:I===t?"focused":"",children:[(0,n.jsx)(m,{children:(0,n.jsx)("img",{loading:"lazy",src:(0,l.Vm)({src:e.media.icon,quality:80,width:128}),width:32,height:32,alt:e.appName})}),(0,n.jsx)(w,{className:"app-name",children:e.appName})]},e.appId)):C?null:(0,n.jsxs)(b,{children:[(0,n.jsx)(r.fI,{className:"app-name",children:k("appUnavailable",{appName:t})}),g&&(0,n.jsxs)(A,{onClick:()=>{(0,p.rZ)(t)},children:[(0,n.jsxs)(h.Zl,{gap:"8",children:[(0,n.jsx)("img",{alt:"Aptoid ".concat(k("logo")),src:(0,l._w)(s.A),style:{width:"20px",height:"20px"}}),(0,n.jsx)(r.fI,{className:"app-name",children:k("sideloadAndPlay")})]}),(0,n.jsx)(u.Q,{})]})]}),C&&(0,n.jsx)("li",{id:"option-".concat(i.length),tabIndex:-1,className:"\n ".concat(I===i.length?"focused":"","\n ana-ai-li-option\n "),onClick:v,children:(0,n.jsxs)("div",{className:"content",children:[(0,n.jsx)("span",{children:k("searchWithAna",{text:'"'.concat(t.length>18?"".concat(t.slice(0,18),"..."):t,'"')})}),(0,n.jsx)("img",{loading:"eager",alt:"ai icon",src:(0,l._w)(d.A)}),(0,n.jsx)("img",{loading:"eager",className:"direction-icon",alt:"directional arrow",src:(0,l._w)(c)})]})})]})};var v=i(26617),C=i(24987),j=i(34961),I=i(64320),k=i(3672),E=i(37305),S=i(91226),P=i(90080),D=i(55409),_=i(38192),T=i(68911),R=i(31166),F=i(64657);function O(e){return Array.isArray?Array.isArray(e):"[object Array]"===M(e)}let B=1/0;function L(e){return"string"==typeof e}function H(e){return"number"==typeof e}function z(e){return"object"==typeof e}function N(e){return null!=e}function U(e){return!e.trim().length}function M(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}let W=Object.prototype.hasOwnProperty;class G{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(e=>{let i=X(e);this._keys.push(i),this._keyMap[i.id]=i,t+=i.weight}),this._keys.forEach(e=>{e.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function X(e){let t=null,i=null,n=null,o=1,r=null;if(L(e)||O(e))n=e,t=V(e),i=J(e);else{if(!W.call(e,"name"))throw Error("Missing name property in key");let a=e.name;if(n=a,W.call(e,"weight")&&(o=e.weight)<=0)throw Error(`Property 'weight' in key '${a}' must be a positive integer`);t=V(a),i=J(a),r=e.getFn}return{path:t,id:i,weight:o,src:n,getFn:r}}function V(e){return O(e)?e:e.split(".")}function J(e){return O(e)?e.join("."):e}var Q={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx{if(N(e))if(t[r]){var a,l;let s=e[t[r]];if(!N(s))return;if(r===t.length-1&&(L(s)||H(s)||!0===(a=s)||!1===a||z(l=a)&&null!==l&&"[object Boolean]"==M(a)))i.push(null==s?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-B?"-0":t}(s));else if(O(s)){n=!0;for(let e=0,i=s.length;e{this._keysMap[e.id]=t})}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,L(this.docs[0])?this.docs.forEach((e,t)=>{this._addString(e,t)}):this.docs.forEach((e,t)=>{this._addObject(e,t)}),this.norm.clear())}add(e){let t=this.size();L(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,i=this.size();t{let o=t.getFn?t.getFn(e):this.getFn(e,t.path);if(N(o)){if(O(o)){let e=[],t=[{nestedArrIndex:-1,value:o}];for(;t.length;){let{nestedArrIndex:i,value:n}=t.pop();if(N(n))if(L(n)&&!U(n)){let t={v:n,i:i,n:this.norm.get(n)};e.push(t)}else O(n)&&n.forEach((e,i)=>{t.push({nestedArrIndex:i,value:e})})}i.$[n]=e}else if(L(o)&&!U(o)){let e={v:o,n:this.norm.get(o)};i.$[n]=e}}}),this.records.push(i)}toJSON(){return{keys:this.keys,records:this.records}}}function q(e,t,{getFn:i=Q.getFn,fieldNormWeight:n=Q.fieldNormWeight}={}){let o=new K({getFn:i,fieldNormWeight:n});return o.setKeys(e.map(X)),o.setSources(t),o.create(),o}function $(e,{errors:t=0,currentLocation:i=0,expectedLocation:n=0,distance:o=Q.distance,ignoreLocation:r=Q.ignoreLocation}={}){let a=t/e.length;if(r)return a;let l=Math.abs(n-i);return o?a+l/o:l?1:a}let Z=String.prototype.normalize?e=>e.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,""):e=>e;class ee{constructor(e,{location:t=Q.location,threshold:i=Q.threshold,distance:n=Q.distance,includeMatches:o=Q.includeMatches,findAllMatches:r=Q.findAllMatches,minMatchCharLength:a=Q.minMatchCharLength,isCaseSensitive:l=Q.isCaseSensitive,ignoreDiacritics:s=Q.ignoreDiacritics,ignoreLocation:d=Q.ignoreLocation}={}){if(this.options={location:t,threshold:i,distance:n,includeMatches:o,findAllMatches:r,minMatchCharLength:a,isCaseSensitive:l,ignoreDiacritics:s,ignoreLocation:d},e=l?e:e.toLowerCase(),e=s?Z(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;let c=(e,t)=>{this.chunks.push({pattern:e,alphabet:function(e){let t={};for(let i=0,n=e.length;i32){let e=0,t=p%32,i=p-t;for(;e{let{isMatch:g,score:x,indices:f}=function(e,t,i,{location:n=Q.location,distance:o=Q.distance,threshold:r=Q.threshold,findAllMatches:a=Q.findAllMatches,minMatchCharLength:l=Q.minMatchCharLength,includeMatches:s=Q.includeMatches,ignoreLocation:d=Q.ignoreLocation}={}){let c;if(t.length>32)throw Error("Pattern length exceeds max of 32.");let p=t.length,u=e.length,h=Math.max(0,Math.min(n,u)),g=r,x=h,f=l>1||s,m=f?Array(u):[];for(;(c=e.indexOf(t,x))>-1;)if(g=Math.min($(t,{currentLocation:c,expectedLocation:h,distance:o,ignoreLocation:d}),g),x=c+p,f){let e=0;for(;e=s;r-=1){let a=r-1,l=i[e.charAt(a)];if(f&&(m[a]=+!!l),v[r]=(v[r+1]<<1|1)&l,n&&(v[r]|=(w[r+1]|w[r])<<1|1|w[r+1]),v[r]&y&&(b=$(t,{errors:n,currentLocation:a,expectedLocation:h,distance:o,ignoreLocation:d}))<=g){if(g=b,(x=a)<=h)break;s=Math.max(1,2*h-x)}}if($(t,{errors:n+1,currentLocation:h,expectedLocation:h,distance:o,ignoreLocation:d})>g)break;w=v}let v={isMatch:x>=0,score:Math.max(.001,b)};if(f){let e=function(e=[],t=Q.minMatchCharLength){let i=[],n=-1,o=-1,r=0;for(let a=e.length;r=t&&i.push([n,o]),n=-1)}return e[r-1]&&r-n>=t&&i.push([n,r-1]),i}(m,l);e.length?s&&(v.indices=e):v.isMatch=!1}return v}(e,t,i,{location:o+h,distance:r,threshold:a,findAllMatches:l,minMatchCharLength:s,includeMatches:n,ignoreLocation:d});g&&(u=!0),p+=x,g&&f&&(c=[...c,...f])});let h={isMatch:u,score:u?p/this.chunks.length:1};return u&&n&&(h.indices=c),h}}class et{constructor(e){this.pattern=e}static isMultiMatch(e){return ei(e,this.multiRegex)}static isSingleMatch(e){return ei(e,this.singleRegex)}search(){}}function ei(e,t){let i=e.match(t);return i?i[1]:null}class en extends et{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){let t=e===this.pattern;return{isMatch:t,score:+!t,indices:[0,this.pattern.length-1]}}}class eo extends et{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){let t=-1===e.indexOf(this.pattern);return{isMatch:t,score:+!t,indices:[0,e.length-1]}}}class er extends et{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){let t=e.startsWith(this.pattern);return{isMatch:t,score:+!t,indices:[0,this.pattern.length-1]}}}class ea extends et{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){let t=!e.startsWith(this.pattern);return{isMatch:t,score:+!t,indices:[0,e.length-1]}}}class el extends et{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){let t=e.endsWith(this.pattern);return{isMatch:t,score:+!t,indices:[e.length-this.pattern.length,e.length-1]}}}class es extends et{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){let t=!e.endsWith(this.pattern);return{isMatch:t,score:+!t,indices:[0,e.length-1]}}}class ed extends et{constructor(e,{location:t=Q.location,threshold:i=Q.threshold,distance:n=Q.distance,includeMatches:o=Q.includeMatches,findAllMatches:r=Q.findAllMatches,minMatchCharLength:a=Q.minMatchCharLength,isCaseSensitive:l=Q.isCaseSensitive,ignoreDiacritics:s=Q.ignoreDiacritics,ignoreLocation:d=Q.ignoreLocation}={}){super(e),this._bitapSearch=new ee(e,{location:t,threshold:i,distance:n,includeMatches:o,findAllMatches:r,minMatchCharLength:a,isCaseSensitive:l,ignoreDiacritics:s,ignoreLocation:d})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class ec extends et{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,i=0,n=[],o=this.pattern.length;for(;(t=e.indexOf(this.pattern,i))>-1;)i=t+o,n.push([t,i-1]);let r=!!n.length;return{isMatch:r,score:+!r,indices:n}}}let ep=[en,ec,er,ea,es,el,eo,ed],eu=ep.length,eh=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,eg=new Set([ed.type,ec.type]);class ex{constructor(e,{isCaseSensitive:t=Q.isCaseSensitive,ignoreDiacritics:i=Q.ignoreDiacritics,includeMatches:n=Q.includeMatches,minMatchCharLength:o=Q.minMatchCharLength,ignoreLocation:r=Q.ignoreLocation,findAllMatches:a=Q.findAllMatches,location:l=Q.location,threshold:s=Q.threshold,distance:d=Q.distance}={}){this.query=null,this.options={isCaseSensitive:t,ignoreDiacritics:i,includeMatches:n,minMatchCharLength:o,findAllMatches:a,ignoreLocation:r,location:l,threshold:s,distance:d},e=t?e:e.toLowerCase(),e=i?Z(e):e,this.pattern=e,this.query=function(e,t={}){return e.split("|").map(e=>{let i=e.trim().split(eh).filter(e=>e&&!!e.trim()),n=[];for(let e=0,o=i.length;e!!(e[ew.AND]||e[ew.OR]),ey=e=>({[ew.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function ev(e,t,{auto:i=!0}={}){let n=e=>{let o=Object.keys(e),r=!!e[eb.PATH];if(!r&&o.length>1&&!eA(e))return n(ey(e));if(!O(e)&&z(e)&&!eA(e)){let n=r?e[eb.PATH]:o[0],a=r?e[eb.PATTERN]:e[n];if(!L(a))throw Error(`Invalid value for key ${n}`);let l={keyId:J(n),pattern:a};return i&&(l.searcher=em(a,t)),l}let a={children:[],operator:o[0]};return o.forEach(t=>{let i=e[t];O(i)&&i.forEach(e=>{a.children.push(n(e))})}),a};return eA(e)||(e=ey(e)),n(e)}function eC(e,t){let i=e.matches;t.matches=[],N(i)&&i.forEach(e=>{if(!N(e.indices)||!e.indices.length)return;let{indices:i,value:n}=e,o={indices:i,value:n};e.key&&(o.key=e.key.src),e.idx>-1&&(o.refIndex=e.idx),t.matches.push(o)})}function ej(e,t){t.score=e.score}class eI{constructor(e,t={},i){this.options={...Q,...t},this.options.useExtendedSearch,this._keyStore=new G(this.options.keys),this.setCollection(e,i)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof K))throw Error("Incorrect 'index' type");this._myIndex=t||q(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){N(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){let t=[];for(let i=0,n=this._docs.length;i{let i=1;e.matches.forEach(({key:e,norm:n,score:o})=>{let r=e?e.weight:null;i*=Math.pow(0===o&&r?Number.EPSILON:o,(r||1)*(t?1:n))}),e.score=i})}(l,{ignoreFieldNorm:a}),o&&l.sort(r),H(t)&&t>-1&&(l=l.slice(0,t)),function(e,t,{includeMatches:i=Q.includeMatches,includeScore:n=Q.includeScore}={}){let o=[];return i&&o.push(eC),n&&o.push(ej),e.map(e=>{let{idx:i}=e,n={item:t[i],refIndex:i};return o.length&&o.forEach(t=>{t(e,n)}),n})}(l,this._docs,{includeMatches:i,includeScore:n})}_searchStringList(e){let t=em(e,this.options),{records:i}=this._myIndex,n=[];return i.forEach(({v:e,i:i,n:o})=>{if(!N(e))return;let{isMatch:r,score:a,indices:l}=t.searchIn(e);r&&n.push({item:e,idx:i,matches:[{score:a,value:e,norm:o,indices:l}]})}),n}_searchLogical(e){let t=ev(e,this.options),i=(e,t,n)=>{if(!e.children){let{keyId:i,searcher:o}=e,r=this._findMatches({key:this._keyStore.get(i),value:this._myIndex.getValueForItemAtKeyId(t,i),searcher:o});return r&&r.length?[{idx:n,item:t,matches:r}]:[]}let o=[];for(let r=0,a=e.children.length;r{if(N(e)){let a=i(t,e,n);a.length&&(o[n]||(o[n]={idx:n,item:e,matches:[]},r.push(o[n])),a.forEach(({matches:e})=>{o[n].matches.push(...e)}))}}),r}_searchObjectList(e){let t=em(e,this.options),{keys:i,records:n}=this._myIndex,o=[];return n.forEach(({$:e,i:n})=>{if(!N(e))return;let r=[];i.forEach((i,n)=>{r.push(...this._findMatches({key:i,value:e[n],searcher:t}))}),r.length&&o.push({idx:n,item:e,matches:r})}),o}_findMatches({key:e,value:t,searcher:i}){if(!N(t))return[];let n=[];if(O(t))t.forEach(({v:t,i:o,n:r})=>{if(!N(t))return;let{isMatch:a,score:l,indices:s}=i.searchIn(t);a&&n.push({score:l,key:e,value:t,idx:o,norm:r,indices:s})});else{let{v:o,n:r}=t,{isMatch:a,score:l,indices:s}=i.searchIn(o);a&&n.push({score:l,key:e,value:o,norm:r,indices:s})}return n}}eI.version="7.1.0",eI.createIndex=q,eI.parseIndex=function(e,{getFn:t=Q.getFn,fieldNormWeight:i=Q.fieldNormWeight}={}){let{keys:n,records:o}=e,r=new K({getFn:t,fieldNormWeight:i});return r.setKeys(n),r.setIndexRecords(o),r},eI.config=Q,eI.parseQuery=ev,function(...e){ef.push(...e)}(ex);var ek=i(60328);let eE=e=>{var t,i,r;let{wrapperClass:a="",chatBotEnabled:l=!1,showExploredGames:s,autoFocus:d=!1,isAltDomain:c}=e,[u,h]=(0,o.useState)(""),[g,x]=(0,o.useState)(!1),[f,m]=(0,o.useState)(!1),[w,b]=(0,o.useState)(-1),[A,O]=(0,o.useState)([]),[B,L]=(0,o.useState)([]),[H,z]=(0,o.useState)([]),N=(0,o.useContext)(E.j),U=(0,I.d4)(e=>e.play.isRecording),M=(0,I.wA)(),W=(0,I.d4)(e=>e.auth.isLoginResolved),{workflowCategory:G}=v.Ay.appInfo,X=null==(r=null==(i=null==(t=v.Ay.appInfo)?void 0:t.playFeFeatures)?void 0:i.uiConfig)?void 0:r.enableSearch,V=(0,F.A)(),J=(0,o.useMemo)(()=>[...N.topApps,...N.topBarApps,...N.otherApps,...N.remainingApps],[N,N.topApps,N.topBarApps,N.otherApps,N.remainingApps]);(0,o.useEffect)(()=>{if(J){let e=J.filter(e=>e.appId===j.$jL);e.length>0&&z(e)}},[J]),(0,o.useEffect)(()=>{x(!0);let e=()=>{h("")},t=e=>{"Escape"===e.key&&h("")};return document.body.addEventListener("click",e),document.body.addEventListener("keydown",t),()=>{document.body.removeEventListener("click",e),document.body.removeEventListener("keydown",t)}},[]);let Q=(e,t)=>{(0,C.sx)(j.wHH,{element:"".concat(j.tqQ,"Input"),input:e,hasResult:t})};(0,o.useEffect)(()=>{let e=[...N.topApps,...N.topBarApps,...N.otherApps,...N.remainingApps],t=[];j.gcw.forEach(i=>{let n=e.find(e=>e.packageName===i);n&&t.push(n)}),L(t)},[N]);let Y=(0,o.useMemo)(()=>!!(u.length<=2&&B.length&&f),[u,B,f]),K=(0,o.useMemo)(()=>new eI([...B,...J],{keys:["appName"],threshold:.9}),[J,B]),q=e=>{Q(u,A.length>0);let t=e.appPageUrl||e.playUrl;if(U)return void M({type:S.A.UPDATE_IS_RECORDING,payload:{showRecordingModalBeforeExit:!0,showRecordingModalBeforeExitSource:"gameTile",urlToOpenAfterRecordModalExit:t}});window.location.href=(0,k.Ay)(t,"SearchResult")},$=()=>{M({type:P.A.UPDATE_USER_AND_DEVICE_DATA,payload:{userMsgFromSearch:u,hideAnaBotChat:!1}}),h("")};return g?(0,n.jsxs)("div",{className:"search-games-container ".concat(c?"alt-domain":""),children:[X&&(0,n.jsxs)("div",{className:"SearchGames ".concat(c?"alt-domain":""," ").concat(a," ").concat(v.Ay.isMultiPanelAdsEnabled?"nonStickyHeader":""),children:[(0,n.jsx)(ek.I,{showExploredGames:s,onChange:e=>{if(b(-1),""===e){h(e),O([]),Q("",!1);return}let t=[],i=B.find(e=>(0,p.ZZ)(e.packageName));i&&t.push(i);let n=[...K.search(e).map(e=>e.item),...t].filter((e,t,i)=>t===i.findIndex(t=>t.appName===e.appName));h(e),O(n||[]),Q(e,!0)},onBlur:e=>{Q(e,A.length>0),setTimeout(()=>{m(!1),b(-1)},200)},onFocus:()=>{setTimeout(()=>{m(!0)},200)},autoFocus:d,timeout:90,searchString:u,chatBotEnabled:l,dropdownVisible:Y,handleKeyDown:e=>{let t=Y?B:A;if("ArrowDown"===e.key)e.preventDefault(),b(e=>e+1e-1>=0?e-1:t.length+ +!!l-1);else if("Enter"===e.key&&-1!==w){e.preventDefault();let i=t[w];if(void 0===i)return void $();q(i),b(-1)}else"Escape"===e.key&&b(-1)},isAltDomain:c}),Y&&(0,n.jsx)(y,{isAptoidePresent:H[0],searchText:u,items:B,onClick:q,handleAnaBotOptionClick:$,chatBotEnabled:!1,isTopSearchesDropDown:Y,focusedIndex:w}),u.length>2&&(0,n.jsx)(y,{isAptoidePresent:H[0],searchText:u,items:A,onClick:q,handleAnaBotOptionClick:$,chatBotEnabled:l,focusedIndex:w})]}),!v.Ay.isHomePage&&(0,n.jsx)(D.A,{children:W&&(!(0,p.oz)()&&"workflow3"!==G||V)&&(0,n.jsx)(_.RC,{children:(0,n.jsx)(T.hX,{children:N.topBarApps.slice(0,8).map((e,t)=>(0,n.jsx)(R.Vp,{index:t,game:e}))})})})]}):null}},71141:(e,t,i)=>{"use strict";i.d(t,{A:()=>j});var n=i(37876),o=i(14232),r=i(64320),a=i(26875);let l={src:"/_next/static/media/google.ad9f69b8.svg",height:32,width:32,blurWidth:0,blurHeight:0};var s=i(69180);let d={src:"/_next/static/media/apple.0cfe40c8.svg",height:2500,width:2158,blurWidth:0,blurHeight:0},c={src:"/_next/static/media/facebook.76e2ef04.svg",height:25,width:25,blurWidth:0,blurHeight:0};var p=i(26617),u=i(24987),h=i(86360),g=i(79682),x=i(34961),f=i(61120),m=i(98520),w=i(95257),b=i(74678),A=i(47030),y=i(54551);let v=e=>{let{provider:t,icon:i,label:o,variant:r,isFullWidth:l,isLandscapeView:s,pageContext:d,onAuthRedirect:c}=e,{t:p}=(0,a.B)();return(0,n.jsxs)(g.$,{id:"ng-".concat(t),onClick:()=>c(t,d),variant:r,size:"large",style:Object.assign(Object.assign({},s?{justifyContent:"space-between"}:{}),l?{width:"100%"}:{}),text:l&&!s?p("signIn".concat(o)):"",children:[(0,n.jsx)("img",{alt:"",loading:"lazy",src:(0,A._w)(i),width:20,height:20}),s&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(b.fI,{children:p(t.toLowerCase())}),(0,n.jsx)(w.UU,{style:"discord"===t||"facebook"===t?{borderColor:y.JX.colors.white50}:void 0})]})]})},C=[{provider:"discord",icon:s.A,label:"Discord",variant:"discord"},{provider:"facebook",icon:c,label:"Facebook",variant:"facebook"}],j=e=>{let{pageContext:t=x.G$3.pre,showGuestBtn:i,params:b={},style:A={}}=e,{t:y}=(0,a.B)(),j=(0,r.d4)(e=>e.nowbuxRewards.accumulatedTimeSecs),I=(0,r.d4)(e=>e.play.isPlayerLoaded),k=(0,r.d4)(e=>e.play.orientation),E=(0,r.wA)(),S=((p.Ay.isHomePage||!I)&&window.innerHeight{j>0&&sessionStorage.setItem(x.KBH,"".concat(j))},[j]);let P=(e,t)=>{(0,u.md)(t),(0,u.sx)(x.mUe,(0,u.qI)({authProvider:e,loginPageContext:t},t)),(null===p.Ay||void 0===p.Ay?void 0:p.Ay.isAppPage)&&I&&(0,p.hk)();let i=p.Ay.authUseThirdPartyFlow?window.location.pathname:window.location.href.split("?")[0],n=p.Ay.authRedirectionUrl.replace("$provider",e).replace("$continueUrl",(0,h.zf)(i,Object.assign({ng_visitId:encodeURIComponent(window.ngVisitId),ng_feSessionId:encodeURIComponent(window.feSessionId||""),pageReferrer:encodeURIComponent(sessionStorage.getItem("pageReferrer")||"NA"),loginPageContext:t},b)));window.location.href=n};return(0,n.jsxs)(w.Ay,{className:"login-options",style:A,children:[(0,h.OF)()||(0,h.x7)()||(0,h.VB)()?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(v,{provider:"apple",icon:d,label:"Apple",variant:"apple",isFullWidth:!0,isLandscapeView:S,pageContext:t,onAuthRedirect:P}),(0,n.jsx)(v,{provider:"discord",icon:s.A,label:"Discord",variant:"discord",isLandscapeView:S,pageContext:t,onAuthRedirect:P}),(0,n.jsx)(v,{provider:"google",icon:l,label:"Google",variant:"google",isLandscapeView:S,pageContext:t,onAuthRedirect:P}),(0,n.jsx)(v,{provider:"facebook",icon:c,label:"Facebook",variant:"facebook",isLandscapeView:S,pageContext:t,onAuthRedirect:P})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(v,{provider:"google",icon:l,label:"Google",variant:"google",isFullWidth:!0,isLandscapeView:S,pageContext:t,onAuthRedirect:P}),(0,n.jsx)(v,{provider:"apple",icon:d,label:"Apple",variant:"apple",isLandscapeView:S,pageContext:t,onAuthRedirect:P}),C.map(e=>{let{provider:i,icon:o,label:r,variant:a}=e;return(0,n.jsx)(v,{provider:i,icon:o,label:r,variant:a,isLandscapeView:S,pageContext:t,onAuthRedirect:P},i)})]}),!(0,h._o)()&&i&&!p.Ay.isHomePage&&(0,n.jsx)(g.$,{id:"goRogueBtn",className:"guest-btn",variant:"secondaryOutline",text:y("goRogue"),onClick:()=>E((0,m.E)(t))})]})}},71266:(e,t,i)=>{var n=i(33872),o=i(28654);e.exports=function e(t,i,r,a,l){return t===i||(null!=t&&null!=i&&(o(t)||o(i))?n(t,i,r,a,e,l):t!=t&&i!=i)}},71598:e=>{e.exports=function(e){var t=this.__data__,i=t.delete(e);return this.size=t.size,i}},71744:(e,t,i)=>{"use strict";i.d(t,{A:()=>o});var n=i(14232);let o=e=>{let[t,i]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{e||i(!0)},[e]),t}},71881:(e,t,i)=>{"use strict";i.d(t,{hE:()=>o});var n=i(98684);n.Ay.div.withConfig({componentId:"sc-3b4f1e6d-0"})(["margin-bottom:16px;color:",";@media only screen and (max-width:767px),(orientation:landscape) and (max-height:575.98px){h3{font-size:20px;line-height:150%;text-align:center;}}"],e=>{let{theme:t}=e;return t.colors.white90});let o=n.Ay.p.withConfig({componentId:"sc-3b4f1e6d-1"})(["font-style:normal;font-weight:500;font-size:20px;line-height:150%;color:rgba(255,255,255,0.9);"])},72115:(e,t,i)=>{e=i.nmd(e);var n=i(24298),o=t&&!t.nodeType&&t,r=o&&e&&!e.nodeType&&e,a=r&&r.exports===o&&n.process,l=function(){try{var e=r&&r.require&&r.require("util").types;if(e)return e;return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=l},72200:e=>{e.exports=function(e,t){for(var i=-1,n=t.length,o=e.length;++i{"use strict";i.d(t,{K4:()=>h,Ns:()=>p,WK:()=>s,Y6:()=>m,b$:()=>x,iE:()=>d});var n=i(6196),o=i(24987),r=i(34961),a=i(91994);let l=0;function s(){l+=1}function d(){l-=1}let c=!1;function p(){c=!0}let u=!1;function h(){u=!0}function g(){var e,t,i,o,r,a,l,s,d,p,h,g,x,f,m,w,b,A;try{let{imaError:y,adBlocker:v}=n.A.getState().ads;return{isVideoTudeLoaded:void 0!==(null==(e=null==window?void 0:window.tude)?void 0:e.requestInstreamPlayer),isAdGPTCallbacksRegistered:c,isTudeCmdArray:(null==(i=null==(t=null==window?void 0:window.tude)?void 0:t.cmd)?void 0:i.length)!==void 0,isGptCmdArray:(null==(r=null==(o=null==window?void 0:window.googletag)?void 0:o.cmd)?void 0:r.length)!==void 0,isGptCmdArray2:Array.isArray(null==(a=null==window?void 0:window.googletag)?void 0:a.cmd),isGptPubadsReady:null!=(s=null==(l=null==window?void 0:window.googletag)?void 0:l.pubadsReady)&&s,isGptApiReady:null!=(p=null==(d=null==window?void 0:window.googletag)?void 0:d.apiReady)&&p,isGptLoaded2:null!=(g=null==(h=null==window?void 0:window.googletag)?void 0:h._loaded_)&&g,gfcAdBlockerStatus:null!=(m=(null==(x=null==window?void 0:window.googlefc)?void 0:x.getAdBlockerStatus)&&(null==(f=null==window?void 0:window.googlefc)?void 0:f.getAdBlockerStatus()))?m:-1,gfcAllowAdsStatus:null!=(A=(null==(w=null==window?void 0:window.googlefc)?void 0:w.getAllowAdsStatus)&&(null==(b=null==window?void 0:window.googlefc)?void 0:b.getAllowAdsStatus()))?A:-1,isAdBlockerDetectedByGoogle:u,imaError:y,adBlocker:v}}catch(e){return{}}}function x(e,t){var i,s,d,c,p,u;let h=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{let{videoRef:p,isAndroidConnected:u}=n.A.getState().play,x=window.devicePixelRatio,f=(null==(i=null==p?void 0:p.current)?void 0:i.clientHeight)||0,m=(null==(s=null==p?void 0:p.current)?void 0:s.clientWidth)||0,w=0,b=0,A="Midroll",y="Display",v=a.r.UNKNOWN;e===r.zvJ?t.includes("mediumRectangleAd")?(w=300,b=250):t.includes("largeRectangleAd")?(w=300,b=600):t.includes("leaderBoard")&&(w=970,b=90):e===r.z_4||e===r.XH1?(w=728,b=90,v=-1!==t.indexOf("leaderBoard-1")?a.r.LEADERBOARD_TOP:a.r.LEADERBOARD_BOTTOM):e===r.tFK?(w=160,b=600,v=-1!==t.indexOf("skyScraper-1")?a.r.SKYSCRAPER_Left:a.r.SKYSCRAPER_RIGHT):"div-gpt-ad-display"===e?(w=320,b=50,v=a.r.ANCHORED_TOP):"div-gpt-ad-rewarded"===e?(w=320,b=250,A="Ingame",v=a.r.REWARDED_FALLBACK_FULL_SCREEN):e===r.$Lj?(w=728,b=90):e===r.H3b?(w=320,b=100):e===r.jab?(w=336,b=280,v=a.r.PANEL_TOP):e===r.SuL&&(w=336,b=280,y="Video",v=a.r.PANEL_Bottom),(0,o.sx)("AdRequestedNg".concat(h),Object.assign({adContext:A,adType:y,adWidth:w,adHeight:b,viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:f,androidHeight:m,pixelRatio:x,isTabVisible:"visible"===document.visibilityState,isTudeLoaded:void 0!==(null==(d=null==window?void 0:window.tude)?void 0:d.refreshAdsViaDivMappings),isGptLoaded:void 0!==(null==(c=null==window?void 0:window.googletag)?void 0:c.pubads),isAndroidConnected:u,gdprApplies:(null==sessionStorage?void 0:sessionStorage.getItem("gdprApplies"))==="true",userConsent:(null==sessionStorage?void 0:sessionStorage.getItem("userConsent"))==="true",displayAdsQueueSize:l,slotId:t,adSlot:v},g()))}catch(e){(0,o.sx)("AdRequestedNg".concat(h),Object.assign({adContext:"exception",adType:"Display",viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,isTabVisible:"visible"===document.visibilityState,isTudeLoaded:void 0!==(null==(p=null==window?void 0:window.tude)?void 0:p.refreshAdsViaDivMappings),isGptLoaded:void 0!==(null==(u=null==window?void 0:window.googletag)?void 0:u.pubads),gdprApplies:(null==sessionStorage?void 0:sessionStorage.getItem("gdprApplies"))==="true",userConsent:(null==sessionStorage?void 0:sessionStorage.getItem("userConsent"))==="true",displayAdsQueueSize:l,exception:(null==e?void 0:e.message)||"unknown",slotId:t,adSlot:a.r.UNKNOWN},g()))}}function f(e){var t;let{event:i="unknown",data:n}=e.detail||{};(0,o.sx)("TudeCustomEvent",Object.assign({tudeEventName:i,tudeEventPayload:n,isTabVisible:"visible"===document.visibilityState,isGptLoaded:void 0!==(null==(t=null==window?void 0:window.googletag)?void 0:t.pubads)},g()))}function m(){document.addEventListener("tudeCustomEvent",f)}},74047:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});let n={src:"/_next/static/media/sparkling-stars.a3790ffe.gif",height:1004,width:1e3,blurWidth:0,blurHeight:0}},74526:(e,t,i)=>{"use strict";i.d(t,{hX:()=>a,iW:()=>r,mO:()=>o});var n=i(98684);n.Ay.div.withConfig({componentId:"sc-4179b4cc-0"})(["position:fixed;bottom:0;right:4%;z-index:3;height:fit-content;position:relative;audio{display:none;}.ana-bell{width:20px;height:20px;padding:4px;background:",";position:absolute;right:8px;top:42px;z-index:10;border-radius:50%;}"," "," &.hide{visibility:hidden;}"],e=>{let{theme:t}=e;return t.colors.warning},e=>{let{mobileMenu:t,bg:i}=e;return!t&&(0,n.AH)(['@media (min-width:1024px){top:0px;right:0px;z-index:999;}@media (max-width:1023px){bottom:0px;right:-20px;width:88px;height:88px;display:flex;justify-content:center;align-items:center;position:fixed;}@media (max-width:1023px){display:flex;justify-content:center;align-items:center;margin-right:12px;&::-webkit-media-controls-start-playback-button{display:none !important;-webkit-appearance:none;}&::-webkit-media-controls{display:none !important;}&::-webkit-media-controls-overlay-play-button{display:none !important;}&::before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background-image:url(',");background-size:cover;z-index:0;> *{position:relative;z-index:1;}}}"],i)},e=>{let{mobileMenu:t}=e;return t&&(0,n.AH)(["width:64px;height:64px;display:flex;justify-content:center;position:fixed;align-items:center;margin-right:12px;bottom:unset;right:unset;transform:translate(-16px,-30px);&::-webkit-media-controls-start-playback-button{display:none !important;-webkit-appearance:none;}&::-webkit-media-controls{display:none !important;}&::-webkit-media-controls-overlay-play-button{display:none !important;}"])});let o=n.Ay.div.withConfig({componentId:"sc-4179b4cc-1"})(["position:relative;"]);n.Ay.div.withConfig({componentId:"sc-4179b4cc-2"})(["cursor:pointer;position:relative;z-index:10;@media (max-width:1023px){div:nth-child(1){height:72px !important;width:72px !important;margin-right:8px;}}"," canvas{pointer-events:none;}"],e=>{let{mobileMenu:t}=e;return t&&(0,n.AH)(["div:nth-child(1){height:60px !important;width:60px !important;margin-right:8px;}"])});let r=n.Ay.div.withConfig({componentId:"sc-4179b4cc-3"})(["position:fixed;bottom:0;right:4%;z-index:3;height:fit-content;position:relative;"," "," &.hide{visibility:hidden;}"],e=>{let{mobileMenu:t,bg:i}=e;return!t&&(0,n.AH)(['@media (min-width:1024px){top:0px;right:0px;z-index:999;}@media (max-width:1023px){bottom:0px;right:-20px;width:88px;height:88px;display:flex;justify-content:center;align-items:center;position:fixed;}@media (max-width:1023px){display:flex;justify-content:center;align-items:center;margin-right:12px;&::-webkit-media-controls-start-playback-button{display:none !important;-webkit-appearance:none;}&::-webkit-media-controls{display:none !important;}&::-webkit-media-controls-overlay-play-button{display:none !important;}&::before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background-image:url(',");background-size:cover;z-index:0;> *{position:relative;z-index:1;}}}"],i)},e=>{let{mobileMenu:t}=e;return t&&(0,n.AH)(["width:64px;height:64px;display:flex;justify-content:center;position:fixed;align-items:center;margin-right:12px;bottom:unset;right:unset;transform:translate(-16px,-30px);&::-webkit-media-controls-start-playback-button{display:none !important;-webkit-appearance:none;}&::-webkit-media-controls{display:none !important;}&::-webkit-media-controls-overlay-play-button{display:none !important;}"])}),a=n.Ay.div.withConfig({componentId:"sc-4179b4cc-4"})(["cursor:pointer;position:relative;z-index:10;width:56px;height:56px;",""],e=>{let{mobileMenu:t}=e;return t&&(0,n.AH)(["height:60px !important;width:60px !important;position:relative;transform:translateX(-4px);"])})},74678:(e,t,i)=>{"use strict";i.d(t,{A$:()=>v,Dp:()=>M,E2:()=>$,EW:()=>T,EY:()=>j,H4:()=>J,IT:()=>D,Ks:()=>ei,M5:()=>V,NH:()=>h,NQ:()=>q,NT:()=>F,N_:()=>I,OD:()=>z,Ov:()=>C,RD:()=>H,Rj:()=>y,T1:()=>x,T3:()=>f,T4:()=>m,T5:()=>w,T6:()=>b,Uk:()=>S,Vy:()=>K,YC:()=>A,Zc:()=>R,cP:()=>X,cw:()=>Q,d5:()=>N,e:()=>G,eg:()=>ee,fI:()=>B,hJ:()=>en,hM:()=>_,iN:()=>W,le:()=>L,mj:()=>Z,vH:()=>O,w_:()=>Y,yU:()=>k});var n=i(98684);let o=(0,n.AH)(["color:currentColor;font-size:48px;line-height:120%;"]),r=(0,n.AH)(["color:currentColor;font-size:38px;line-height:150%;"]),a=(0,n.AH)(["color:currentColor;font-size:26px;line-height:140%;"]),l=(0,n.AH)(["color:currentColor;font-size:18px;line-height:150%;@media screen and (max-device-width:640px),screen and (orientation:landscape) and (max-height:575.98px){font-size:16px;}"]),s=(0,n.AH)(["color:currentColor;font-size:16px;line-height:150%;@media screen and (max-device-width:640px),screen and (orientation:landscape) and (max-height:575.98px){font-size:14px;}"]),d=(0,n.AH)(["color:currentColor;font-size:14px;line-height:150%;@media screen and (max-device-width:640px),screen and (orientation:landscape) and (max-height:575.98px){font-size:12px;}"]),c=(0,n.AH)(["color:currentColor;font-size:12px;line-height:150%;"]),p=(0,n.AH)(["color:currentColor;font-size:10px;line-height:15px;"]),u=(0,n.AH)(["color:currentColor;font-size:24px;line-height:150%;"]),h=(0,n.AH)(["color:currentColor;font-size:20px;line-height:150%;"]),g={normal:"normal",med:"600",bold:"bold"},x=n.Ay.h1.withConfig({componentId:"sc-3c372983-0"})([""," font-weight:",";color:",";text-align:",";"],o,e=>e.med?g.med:e.bold?g.bold:g.normal,e=>e.primary?e.theme.colors.ascent:"inherit",e=>e.center?"center":"inherit");n.Ay.h2.withConfig({componentId:"sc-3c372983-1"})([""," font-weight:",";color:",";text-align:",";"],r,e=>e.med?g.med:e.bold?g.bold:g.normal,e=>e.primary?e.theme.colors.ascent:"inherit",e=>e.center?"center":"inherit");let f=n.Ay.h3.withConfig({componentId:"sc-3c372983-2"})([""," font-weight:",";color:",";text-align:",";"],a,e=>e.med?g.med:e.bold?g.bold:g.normal,e=>e.primary?e.theme.colors.ascent:"inherit",e=>e.center?"center":"inherit"),m=n.Ay.h4.withConfig({componentId:"sc-3c372983-3"})([""," font-weight:",";color:",";text-align:",";"],l,e=>e.med?g.med:e.bold?g.bold:g.normal,e=>e.primary?e.theme.colors.ascent:e.white?e.theme.colors.white:"inherit",e=>e.center?"center":"inherit"),w=n.Ay.h5.withConfig({componentId:"sc-3c372983-4"})([""," font-weight:",";color:",";text-align:",";"],s,e=>e.med?g.med:e.bold?g.bold:g.normal,e=>e.primary?e.theme.colors.ascent:e.white?e.theme.colors.white:"inherit",e=>e.center?"center":"inherit"),b=n.Ay.h6.withConfig({componentId:"sc-3c372983-5"})([""," font-weight:",";color:",";text-align:",";"],d,e=>e.med?g.med:e.bold?g.bold:g.normal,e=>e.primary?e.theme.colors.ascent:e.white?e.theme.colors.white:"inherit",e=>e.center?"center":"inherit"),A=n.Ay.p.withConfig({componentId:"sc-3c372983-6"})([""," font-weight:",";color:",";text-align:",";"],c,e=>e.med?g.med:e.bold?g.bold:g.normal,e=>e.primary?e.theme.colors.ascent:e.white?e.theme.colors.white:e.lightGreen?e.theme.colors.lightGreen:e.red?"red":"inherit",e=>e.center?"center":"inherit"),y=n.Ay.p.withConfig({componentId:"sc-3c372983-7"})([""," font-weight:",";color:",";text-align:",";"],p,e=>e.med?g.med:e.bold?g.bold:g.normal,e=>e.primary?e.theme.colors.ascent:e.white?e.theme.colors.white:e.lightGreen?e.theme.colors.lightGreen:e.red?"red":"inherit",e=>e.center?"center":"inherit"),v=n.Ay.p.withConfig({componentId:"sc-3c372983-8"})([""," font-weight:",";color:",";text-align:",";"],u,e=>e.med?g.med:e.bold?g.bold:g.normal,e=>e.primary?e.theme.colors.ascent:e.white?e.theme.colors.white:e.lightGreen?e.theme.colors.lightGreen:e.red?"red":"inherit",e=>e.center?"center":"inherit"),C=n.Ay.p.withConfig({componentId:"sc-3c372983-9"})([""," font-weight:",";color:",";text-align:",";"],h,e=>e.med?g.med:e.bold?g.bold:g.normal,e=>e.primary?e.theme.colors.ascent:e.white?e.theme.colors.white:e.lightGreen?e.theme.colors.lightGreen:e.red?"red":"inherit",e=>e.center?"center":"inherit"),j=n.Ay.p.withConfig({componentId:"sc-3c372983-10"})([""," font-weight:",";color:",";text-align:",";"],l,e=>e.med?g.med:e.bold?g.bold:g.normal,e=>e.primary?e.theme.colors.ascent:"inherit",e=>e.center?"center":"inherit"),I=n.Ay.a.withConfig({componentId:"sc-3c372983-11"})([""," color:",";font-style:underline;font-weight:",";text-align:",";"],d,e=>e.primary?e.theme.colors.ascent:e.white?e.theme.colors.white:e.lightGreen?e.theme.colors.lightGreen:e.red?"red":e.theme.colors.link,e=>e.med?g.med:e.bold?g.bold:g.normal,e=>e.center?"center":"inherit"),k=n.Ay.h1.withConfig({componentId:"sc-3c372983-12"})(["color:currentcolor;font-size:48px;font-weight:600;line-height:58px;letter-spacing:0px;margin:0;"]);n.Ay.h1.withConfig({componentId:"sc-3c372983-13"})(["color:currentcolor;font-size:48px;font-weight:normal;line-height:58px;letter-spacing:0px;margin:0;"]);let E="\n color: currentcolor;\n font-size: 36px;\n line-height: 54px;\n letter-spacing: 0px;\n margin: 0;\n",S=n.Ay.h2.withConfig({componentId:"sc-3c372983-14"})([""," font-weight:600;"],E);n.Ay.h2.withConfig({componentId:"sc-3c372983-15"})([""," font-weight:400;"],E);let P="\n color: currentcolor;\n font-size: 24px;\n line-height: 36px;\n letter-spacing: 0px;\n margin: 0;\n",D=n.Ay.h3.withConfig({componentId:"sc-3c372983-16"})([""," font-weight:600;"],P),_=n.Ay.h3.withConfig({componentId:"sc-3c372983-17"})([""," font-weight:400;"],P),T=n.Ay.h3.withConfig({componentId:"sc-3c372983-18"})([""," font-weight:700;line-height:31px;text-transform:uppercase;"],P),R=n.Ay.h4.withConfig({componentId:"sc-3c372983-19"})(["color:currentcolor;font-size:16px;font-weight:600;line-height:24px;letter-spacing:0px;margin:0;@media (max-width:1024px){font-size:12px;}"]),F=n.Ay.h4.withConfig({componentId:"sc-3c372983-20"})(["color:currentcolor;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px;margin:0;"]);n.Ay.h4.withConfig({componentId:"sc-3c372983-21"})(["color:currentcolor;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px;margin:0;"]);let O=n.Ay.h5.withConfig({componentId:"sc-3c372983-22"})(["color:currentcolor;font-size:14px;font-weight:700;line-height:21px;letter-spacing:0px;margin:0;"]),B=n.Ay.h5.withConfig({componentId:"sc-3c372983-23"})(["color:currentcolor;font-size:14px;font-weight:600;line-height:21px;letter-spacing:0px;margin:0;"]),L=n.Ay.p.withConfig({componentId:"sc-3c372983-24"})(["color:currentcolor;font-size:12px;font-weight:600;line-height:18px;letter-spacing:0px;margin:0;"]),H=n.Ay.p.withConfig({componentId:"sc-3c372983-25"})(["color:currentcolor;font-size:12px;font-weight:600;line-height:18px;letter-spacing:0px;margin:0;font-weight:700;"]),z=n.Ay.h6.withConfig({componentId:"sc-3c372983-26"})(["color:currentcolor;font-size:10px;font-weight:400;line-height:15px;letter-spacing:0.02em;margin:0;"]),N=n.Ay.h6.withConfig({componentId:"sc-3c372983-27"})(["color:currentcolor;font-size:10px;font-weight:600;line-height:16px;letter-spacing:0.05em;margin:0;"]),U="\n color: currentcolor;\n font-size: 16px;\n line-height: 24px;\n letter-spacing: 0px;\n margin: 0;\n",M=n.Ay.p.withConfig({componentId:"sc-3c372983-28"})([""," font-weight:400;"],U),W=n.Ay.p.withConfig({componentId:"sc-3c372983-29"})([""," font-weight:600;"],U),G=n.Ay.p.withConfig({componentId:"sc-3c372983-30"})([""," font-weight:700;"],U),X='\n color: rgba(255, 255, 255, 0.70);\n color: color(display-p3 1 1 1 / 0.70);\n font-family: "Bricolage Grotesque";\n font-size: 14px;\n font-style: normal;\n line-height: 150%;\n margin: 0;\n',V=n.Ay.p.withConfig({componentId:"sc-3c372983-31"})([""," font-weight:400;"],X),J=n.Ay.p.withConfig({componentId:"sc-3c372983-32"})([""," font-weight:700;"],X);n.Ay.p.withConfig({componentId:"sc-3c372983-33"})([""," text-decoration-line:underline;"],X);let Q="\n color: currentcolor;\n font-size: 12px;\n line-height: 18px;\n letter-spacing: 0px;\n margin: 0;\n",Y=n.Ay.label.withConfig({componentId:"sc-3c372983-34"})(["color:rgba(255,255,255,0.4);font-size:10px;font-style:normal;font-weight:600;line-height:normal;letter-spacing:1.5px;text-transform:uppercase;"]),K=n.Ay.p.withConfig({componentId:"sc-3c372983-35"})([""," font-weight:700;"],Q),q=n.Ay.p.withConfig({componentId:"sc-3c372983-36"})([""," font-weight:600;"],Q),$=n.Ay.p.withConfig({componentId:"sc-3c372983-37"})([""," font-weight:400;"],Q),Z=n.Ay.p.withConfig({componentId:"sc-3c372983-38"})([""," font-weight:400;text-decoration-line:underline;"],Q),ee=n.Ay.p.withConfig({componentId:"sc-3c372983-39"})([""," font-weight:500;line-height:15px;letter-spacing:0.6px;"],Q),et="\n color: currentcolor;\n font-size: 10px;\n line-height: 12px;\n letter-spacing: 0.05em;\n margin: 0;\n",ei=n.Ay.p.withConfig({componentId:"sc-3c372983-40"})([""," font-weight:500;"],et),en=n.Ay.p.withConfig({componentId:"sc-3c372983-41"})([""," font-weight:600;line-height:16px;"],et)},74806:(e,t,i)=>{"use strict";i.d(t,{A:()=>N});var n=i(37876),o=i(64320),r=i(14232),a=i(6196),l=i(34961),s=i(10756),d=i(51885),c=i(34822),p=i(26617),u=i(81007),h=i(65960),g=i(86360),x=i(86757),f=i(24987),m=i(98684);let w=m.Ay.div.withConfig({componentId:"sc-b3ad5ce7-0"})(["position:relative;"]);var b=i(60044),A=i(47030),y=i(60292);let v=()=>{let e=(0,o.d4)(e=>e.nowbuxRewards.nowbuxCreditsEarned),t=(0,o.d4)(e=>e.nowbuxRewards.nowbuxFetchError);return(0,n.jsxs)(y.Ay,{onClick:()=>{(0,f.sx)(l.lN2)},children:[(0,n.jsx)("img",{src:(0,A._w)(b.A),width:40,height:40,alt:""}),(0,n.jsx)(y.y_,{children:t?"--":e})]})};var C=i(26875),j=i(80549),I=i(74678);let k=(0,m.i7)(["0%{opacity:0;top:0;}100%{opacity:1;top:120%}"]),E=m.Ay.div.withConfig({componentId:"sc-5a96fe3d-0"})(["display:flex;align-items:center;position:absolute;background:",";border-radius:6px;border:1px solid ",";height:36px;gap:8px;right:48px;top:",";backdrop-filter:blur(12px);padding:8px 12px 8px 12px;cursor:pointer;animation:"," 0.3s ease-out;&:before{content:'';display:",";position:absolute;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid ",";top:-6px;right:13px;}",""],e=>{let{theme:t}=e;return t.colors.black70},e=>{let{theme:t}=e;return t.colors.white20},e=>{let{isFullscreen:t}=e;return t?"10px":"120%"},k,e=>{let{isFullscreen:t}=e;return t?"none":"block"},e=>{let{theme:t}=e;return t.colors.white20},e=>{let{isQuestCompleteToast:t}=e;return!t&&"&:hover {\n padding-right: 0px;\n .close-option {\n display: block;\n }\n }"}),S=(0,m.Ay)(I.E2).withConfig({componentId:"sc-5a96fe3d-1"})(["color:",";width:max-content;"],e=>{let{theme:t}=e;return t.colors.white}),P=m.Ay.div.withConfig({componentId:"sc-5a96fe3d-2"})(["display:none;i{font-size:16px;color :",";cursor:pointer;}border-left:1px solid rgba(255,255,255,0.2);padding:9px;"],e=>{let{theme:t}=e;return t.colors.white}),D=()=>{let{t:e}=(0,C.B)(),[t,i]=(0,r.useState)(!0),a=(0,o.wA)(),d=(0,o.d4)(e=>e.gamification.showTaskCompleteToast),c=(0,o.d4)(e=>e.play.isFullscreen);return(0,r.useEffect)(()=>{setTimeout(()=>{i(!1),a({type:s.A.SHOW_NOWBUX_TOAST,payload:{showNowbuxToast:!1}}),a({type:h.A.UPDATE_TASK,payload:{showTaskCompleteToast:!1}}),sessionStorage.setItem(l.pte,"true")},3e3)},[]),t?(0,n.jsxs)(E,{isQuestCompleteToast:d,isFullscreen:c,children:[(0,n.jsx)("img",{src:(0,A._w)(b.A),height:24,width:22,alt:""}),(0,n.jsx)(S,{children:e(d?"completedNewQuest":"earnedNowbux")}),!d&&(0,n.jsx)(P,{className:"close-option",onClick:e=>(e=>{e.stopPropagation(),e.preventDefault(),i(!1),a({type:s.A.SHOW_NOWBUX_TOAST,payload:{showNowbuxToast:!1}}),a({type:h.A.UPDATE_TASK,payload:{showTaskCompleteToast:!1}})})(e),children:(0,n.jsx)(j.A,{name:"cross-thin"})})]}):null};var _=i(74842),T=i(74047);let R={src:"/_next/static/media/nowbux-coin-lg.1fa654d0.png",height:120,width:121,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAb1BMVEVMaXH643/qoAj20jn//N7wxCj0yjXpwjrUgQb+653vtyb963LfkQnkoS36+vXnrELnsR/dlxTOjR7AlTHYrBnMnA3gqBD92Ff88bn54nH1yUDmpSz3vCH7zC3ztSbvtlP0uDvqoBv4xXH5uBPJiAAUcMvNAAAAHnRSTlMAMfz057H0LPyu97b++TT+8/74Kavp6abf+P////7YFnzYAAAACXBIWXMAAAsTAAALEwEAmpwYAAAASElEQVR4nBXLRxKAIBAEwJEoYM4uktT/v9Gy7w1od3KpgcrGvrBNw2V2PXXZoXyIMaQDQ01ElATM3Xo/WYNO5GZ8179JxZcZH5WYBCgfP25mAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8};var F=i(6242);let O=e=>{let{toggle:t,onClose:i,loginToClaim:a,closeFlyout:s}=e,{t:d}=(0,C.B)(),c=(0,o.d4)(e=>e.auth.isLoggedIn);return(0,r.useEffect)(()=>{(0,f.sx)(l.mpD)},[]),(0,n.jsx)(_.A,{toggle:t,onClose:i,modalStyles:F.CU,onPopupClick:s,children:(0,n.jsxs)(F.Ay,{children:[(0,n.jsxs)(F.Y9,{children:[(0,n.jsx)("img",{src:(0,A._w)(R),alt:""}),(0,n.jsx)("img",{src:(0,A._w)(T.A),alt:""}),(0,n.jsx)("img",{src:(0,A._w)(T.A),alt:""})]}),(0,n.jsxs)(F.nB,{children:[(0,n.jsx)(F.hE,{children:d("wonNowbuxMessage")}),(0,n.jsx)(F.EY,{children:d("wonNowbuxAfterGameplay",{minutes:Math.floor(p.Ay.appInfo.rwdMinPlayTimeIntervalInSecs/60)})}),!c&&(0,n.jsx)(F.$n,{onClick:()=>{a&&a(l.G$3.firstNowbuxPopup),(0,f.sx)(l.vIb)},children:(0,n.jsx)(I.fI,{children:d("loginToClaim")})})]}),(0,n.jsx)(F.wi,{children:(0,n.jsxs)(I.E2,{children:[d("nowbuxTermsCondition"),"\xa0",(0,n.jsx)("a",{href:"https://now.gg/terms-and-privacy.html",target:"_blank",rel:"noreferrer",children:d("termAndConditions")})]})})]})})};var B=i(76665),L=i(61963);let H=e=>{let{toggle:t,claimReward:i,onClose:a,loginToClaim:s,onLoseReward:d,closeFlyout:c}=e,{t:u}=(0,C.B)(),h=(0,o.d4)(e=>e.nowbuxRewards.accumulatedTimeSecs),g=p.Ay.appInfo.rwdMinPlayTimeIntervalInSecs-h%p.Ay.appInfo.rwdMinPlayTimeIntervalInSecs;return(0,r.useEffect)(()=>{i?(0,f.sx)(l.KZd):(0,f.sx)(l.s8l)},[]),(0,n.jsx)(_.A,{toggle:t,onClose:a,modalStyles:L.CU,onPopupClick:c,children:(0,n.jsxs)(L.Ay,{children:[(0,n.jsx)(L.JK,{children:(0,n.jsx)("img",{src:(0,A._w)(B.A),alt:""})}),(0,n.jsx)(L.hE,{children:u(i?"claimReward":"dontLoseReward")}),(0,n.jsx)(L.D7,{children:u(i?"nowbuxInAccount":"quitNowMessage",{minutes:"".concat(Math.floor(g/60))})}),(0,n.jsxs)(L.En,{children:[(0,n.jsx)(L.$n,{variant:"secondary",size:"large",onClick:d,children:u("loseReward")}),i?(0,n.jsx)(L.$n,{variant:"primary",size:"large",onClick:()=>{s&&s(l.G$3.exitNowbuxPopup),(0,f.sx)(l.Ikl)},children:u("loginToClaim")}):(0,n.jsx)(L.$n,{variant:"primary",size:"large",onClick:a,children:u("keepPlaying")})]})]})})};var z=i(22123);let N=e=>{let{creditNowbux:t=!1,showOnFullscreen:i=!1}=e,m=(0,o.d4)(e=>e.nowbuxRewards.showNowbuxToast),b=(0,o.d4)(e=>e.gamification.showTaskCompleteToast),A=(0,o.d4)(e=>e.gamification.showNotifDot),C=(0,o.d4)(e=>e.nowbuxRewards.nowbuxPopupOpen),[j,I]=(0,r.useState)(!1),[k,E]=(0,r.useState)(!1),[S,P]=(0,r.useState)(!1);(0,o.d4)(e=>e.auth.showLogin);let[_,T]=(0,r.useState)(""),R=(0,o.d4)(e=>e.play.isPlayerLoaded),F=(0,o.d4)(e=>e.nowbuxRewards.nowbuxCreditsEarned),B=(0,o.d4)(e=>e.play.isAndroidConnected),L=(0,o.d4)(e=>e.auth.isLoggedIn),N=(0,o.d4)(e=>e.nowbuxRewards.startNowbuxTimer),U=(0,o.d4)(e=>e.nowbuxRewards.accumulatedTimeSecs),M=(0,o.d4)(e=>e.nowbuxRewards.extraTimeSecs),W=(0,o.d4)(e=>e.play.showNowBuxCreditedModal),G=(0,o.d4)(e=>e.play.error),X=(0,r.useRef)(0),V=(0,r.useRef)(!1),J=(0,o.d4)(e=>e.play.isFullscreen),[Q]=(()=>{let[e,t]=(0,r.useState)(!1),i=()=>{t(!0)},n=()=>{t(!1)};return(0,r.useEffect)(()=>(document.addEventListener("mouseleave",i),document.addEventListener("mouseenter",n),()=>{document.removeEventListener("mouseleave",i),document.removeEventListener("mouseenter",n)}),[]),[e]})(),{creditReward:Y}=(0,c.qx)(),K=(0,o.wA)(),q=()=>{V.current&&(E(!1),sessionStorage.setItem(l.Hsg,"true"))},$=()=>{let{isPlayerLoaded:e,error:t,sessionDisconnectScreenType:i,sessionMigrated:n,sessionComplete:o,duplicateTab:r}=a.A.getState().play;(!p.Ay.isAppPage||p.Ay.isAppPage&&e)&&!t&&(0,g.ZZ)()&&(0,g.mP)()&&(0,g.xl)()&&!(i||n||o||r)&&((0,f.sx)(l.ixx,{reason:"Window focus",accumulatedTimeSecs:U}),(0,z.Ay)())},Z=()=>{(0,f.sx)(l.caU,{reason:"Window blur",accumulatedTimeSecs:U}),(0,z.J5)()},ee=(0,o.d4)(e=>e.play.sessionMigrated),et=(0,o.d4)(e=>e.play.duplicateTab),ei=(0,o.d4)(e=>e.play.sessionComplete),en=(0,o.d4)(e=>e.play.sessionDisconnectScreenType);(0,r.useEffect)(()=>{0!==U&&U%p.Ay.appInfo.rwdMinPlayTimeIntervalInSecs==0&&(0,f.sx)(l._7k,{isPlayerLoaded:R,creditNowbux:t,accumulatedTimeSecs:U,rwdMinPlayTimeIntervalInSecs:p.Ay.appInfo.rwdMinPlayTimeIntervalInSecs}),(0,g.ZZ)()&&(0,g.mP)()&&R&&(0,g.xl)()&&t&&0!==U&&U%p.Ay.appInfo.rwdMinPlayTimeIntervalInSecs==0&&(Y(M||p.Ay.appInfo.rwdMinPlayTimeIntervalInSecs),M&&K({type:s.A.NOWBUX_REWARD_DETAILS,payload:{extraTimeSecs:0}}))},[U]),(0,r.useEffect)(()=>{N&&(0,g.xl)()&&!(en||ee||ei||et)&&!G&&((0,f.sx)(l.ixx,{reason:"startNowbuxTimer",accumulatedTimeSecs:U}),(0,z.Ay)())},[N,en,ee,ei,et]);let eo=()=>{let e=a.A.getState().nowbuxRewards;(!a.A.getState().auth.isLoggedIn&&e.nowbuxCreditsEarned>0||0===e.nowbuxCreditsEarned)&&(I(!1),E(!0))},er=()=>{(0,f.sx)(l.caU,{reason:"window confirmbeforeunload",accumulatedTimeSecs:U}),(0,z.J5)(),eo()};(0,r.useEffect)(()=>(window.addEventListener("blur",Z),window.addEventListener("focus",$),window.addEventListener("confirmbeforeunload",er),()=>{window.removeEventListener("blur",Z),window.removeEventListener("focus",$),window.removeEventListener("confirmbeforeunload",er)}),[]);let ea=(0,r.useMemo)(()=>W&&!L&&(0,u.UZ)(),[u.UZ,L,W]);(0,r.useEffect)(()=>{B&&Q&&eo()},[Q,B]),(0,r.useEffect)(()=>{(!(0,u.UZ)()||L)&&(void 0!==X.current&&0===X.current&&1===F?(I(!0),(0,u.M6)()):X.current=F)},[F]),(0,r.useEffect)(()=>{V.current=k},[k]);let el=e=>{I(!1),E(!1),T(e),P(!0)},es=()=>{K({type:s.A.NOWBUX_REWARD_DETAILS,payload:{nowbuxPopupOpen:!1}})};return(0,n.jsxs)(n.Fragment,{children:[(!J||i)&&(0,n.jsxs)(w,{onClick:e=>{e.stopPropagation(),(0,g.X_)(),K({type:s.A.NOWBUX_REWARD_DETAILS,payload:{nowbuxPopupOpen:!C}}),K({type:h.A.TOGGLE_VIEW,payload:{showProfileView:!1,showNowbuxView:!0,showLeaderboardView:!1,showNotifDot:!1}})},children:[(0,n.jsx)(v,{}),A&&(0,n.jsx)(y.px,{})]}),(m&&!C||b)&&(0,n.jsx)(D,{}),(0,n.jsx)(d.A,{toggle:j&&(0,g.ZZ)(),exitingDelay:.3,children:(0,n.jsx)(O,{toggle:j,onClose:()=>I(!1),loginToClaim:el,closeFlyout:es})}),(0,n.jsx)(d.A,{toggle:!ea&&k&&!sessionStorage.getItem(l.Hsg)&&(0,g.ZZ)(),exitingDelay:.3,children:(0,n.jsx)(H,{toggle:!ea&&k&&!sessionStorage.getItem(l.Hsg),onClose:q,loginToClaim:el,onLoseReward:q,claimReward:0!==F&&!L,closeFlyout:es})}),(0,n.jsx)(d.A,{toggle:S,exitingDelay:.3,children:(0,n.jsx)(x.default,{onCloseClick:()=>{P(!1)}})})]})}},74842:(e,t,i)=>{"use strict";i.d(t,{A:()=>x});var n=i(37876),o=i(14232),r=i(64320),a=i(98477),l=i(4917),s=i.n(l),d=i(25827),c=i(80549),p=i(51885),u=i(61120),h=i(65539),g=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]]);return i};let x=e=>{var{children:t,handleSubScriptionTile:i,toggle:l=!0,fullView:x=!1,modalClassName:f="",onClose:m}=e,w=g(e,["children","handleSubScriptionTile","toggle","fullView","modalClassName","onClose"]);let b=(0,r.d4)(e=>e.play.videoRef),A=(0,r.d4)(e=>e.play.videoContainerRef),[y,v]=(0,o.useState)({top:0,right:0,bottom:0,left:0,width:0,height:0}),C=(0,r.d4)(e=>e.play.orientation),j=(0,o.useCallback)(()=>{var e,t;let n,o=null==(e=null==b?void 0:b.current)?void 0:e.getBoundingClientRect(),r={top:(null==o?void 0:o.top)||0,right:(null==o?void 0:o.right)||0,bottom:(null==o?void 0:o.bottom)||0,left:(null==o?void 0:o.left)||0,width:(null==o?void 0:o.width)||window.innerWidth,height:(null==o?void 0:o.height)||window.innerHeight};return C===u.QB.portrait&&i&&(n=null==(t=null==A?void 0:A.current)?void 0:t.getBoundingClientRect()),n&&(r.left=n.left,r.width=n.width),r},[b,A]),I=()=>{v(j())};return(0,o.useEffect)(()=>{let e=s()(()=>{v(j())},250);return window.addEventListener("resizeDone",e),C===u.QB.portrait&&i&&window.addEventListener("scroll",I),()=>{window.removeEventListener("resizeDone",e),window.removeEventListener("scroll",I)}},[]),(0,o.useEffect)(()=>{v(j())},[j]),a.createPortal((0,n.jsx)(p.A,{toggle:l,exitingDelay:.6,children:(0,n.jsx)(h.A,{...y,toggle:l,fullView:x,style:{"--overlay-width":Math.max(400,y.height,y.width)},children:(0,n.jsxs)(d.A,{className:f,...w,children:[t,m&&(0,n.jsx)(h.U,{onClick:m,children:(0,n.jsx)(c.A,{name:"cross-thin",size:24})})]})})}),document.body)}},75082:(e,t,i)=>{e.exports=i(19031).Uint8Array},75107:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>eo,getDeveloperGames:()=>en});var n=i(37876),o=i(14232),r=i(64320),a=i(54551),l=i(77328),s=i.n(l),d=i(97826),c=i(94159),p=i(91226),u=i(26617),h=i(58501),g=i(86360),x=i(24987),f=i(54304),m=i(11401),w=i(4976),b=i(86757),A=i(12104),y=i(88954),v=i(34961),C=i(22690),j=i(66140),I=i(47030),k=i(35502),E=i(18847),S=i.n(E),P=i(37305);let D={src:"/_next/static/media/battle-world-bg.34e1f49e.webp",height:777,width:2732,blurDataURL:"data:image/webp;base64,UklGRkgAAABXRUJQVlA4IDwAAACwAQCdASoIAAIAAkA4JQBOgB6QNpQAAP7mzC7pjmvhTwvgXoeG8L8loTHzO6n3dwZXU+2X8miefi2AAAA=",blurWidth:8,blurHeight:2},_={src:"/_next/static/media/battle-world-mobile-bg.b65b1e81.webp",height:133,width:672,blurDataURL:"data:image/webp;base64,UklGRkQAAABXRUJQVlA4IDgAAACwAQCdASoIAAIAAkA4JagCdAD0gwQwAP77mQa+EaaekXUyyoEPrjo/xTvKIHGsf0+wXrH9J0AAAA==",blurWidth:8,blurHeight:2},T={src:"/_next/static/media/skyvu-logo.a5e3b939.svg",height:48,width:138,blurWidth:0,blurHeight:0};var R=i(74678),F=i(79682);let O={src:"/_next/static/media/skyvu-divider.f9b9ae5b.png",height:2,width:1070,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAABCAMAAADU3h9xAAAABlBMVEXMzMzt7e1HYmPzAAAAAnRSTlMCSUulVo4AAAAJcEhZcwAACxMAAAsTAQCanBgAAAARSURBVHicY2BkZGBgYGRkAAAAHQAFRvQJZwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:1};var B=i(17679),L=i(98684);let H=L.Ay.picture.withConfig({componentId:"sc-2e796e57-0"})(["width:100%;img{width:100%;}"]),z=e=>{let{src:t,alt:i,xs:o,md:r,lg:a,xl:l}=e;return(0,n.jsxs)(H,{children:[o&&(0,n.jsx)("source",{media:"(max-width: ".concat(B.B1.xs,"px)"),srcSet:o}),r&&(0,n.jsx)("source",{media:"(max-width: ".concat(B.B1.md,"px)"),srcSet:r}),a&&(0,n.jsx)("source",{media:"(max-width: ".concat(B.B1.xs,"lg)"),srcSet:a}),l&&(0,n.jsx)("source",{media:"(max-width: ".concat(B.B1.xl,"px)"),srcSet:l}),(0,n.jsx)("img",{src:t,alt:i})]})};var N=i(8969);let U={src:"/_next/static/media/play-icon.f8d800f0.svg",height:49,width:48,blurWidth:0,blurHeight:0};L.Ay.section.withConfig({componentId:"sc-5e4654a0-0"})(["position:relative;"]);let M=L.Ay.div.withConfig({componentId:"sc-5e4654a0-1"})(["max-width:1110px;padding-left:20px;padding-right:20px;margin-left:auto;margin-right:auto;width:95%;padding-top:220px;position:relative;",""],(0,B.$_)("sm",(0,L.AH)(["width:100%;padding-top:110px;.battle-world-title{font-size:24px;}.play-title{font-size:16px;}"])));L.Ay.img.withConfig({componentId:"sc-5e4654a0-2"})(["width:100%;"]);let W=L.Ay.div.withConfig({componentId:"sc-5e4654a0-3"})(["position:absolute;width:100%;&:after{content:'';position:absolute;left:0;top:0;bottom:0;right:0;height:100%;width:100%;background:radial-gradient(74.07% 100% at 50% 0%,rgba(0,0,0,0.00) 39.72%,rgba(17,17,17,0.60) 58.01%,rgba(17,17,17,0.96) 80.75%,#111 100%);}"]),G=L.Ay.footer.withConfig({componentId:"sc-5e4654a0-4"})(["display:flex;justify-content:center;align-items:center;position:relative;img{margin-top:40px;margin-bottom:48px;max-width:137px;}"]),X=L.Ay.img.withConfig({componentId:"sc-5e4654a0-5"})(["height:2px;width:100%;"]),V=L.Ay.div.withConfig({componentId:"sc-5e4654a0-6"})(["display:flex;flex-wrap:wrap;margin-bottom:24px;justify-content:space-between;gap:20px;",""],(0,B.$_)("sm",(0,L.AH)(["h4{overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap;}"]))),J=L.Ay.div.withConfig({componentId:"sc-5e4654a0-7"})(["display:flex;margin-bottom:32px;gap:16px;flex-direction:row;flex:0 0 calc(50% - 20px);overflow:hidden;.play-now-icon{display:none;}"," > div{display:flex;gap:10px;flex-direction:column;word-break:break-word;","}.play-now-btn{","}"],(0,B.$_)("sm",(0,L.AH)(["flex:0 0 100%;gap:12px;align-items:center;.play-now-icon{display:block;}"])),(0,B.$_)("sm",(0,L.AH)(["max-width:55%;flex:1;"])),(0,B.$_)("sm",(0,L.AH)(["display:none;"]))),Q=L.Ay.span.withConfig({componentId:"sc-5e4654a0-8"})(["width:148px;height:148px;position:relative;flex:0 0 148px;border-radius:12px;overflow:hidden;",""],(0,B.$_)("sm",(0,L.AH)(["width:88px;height:88px;flex:0 0 88px;"]))),Y=(0,L.Ay)(R.E2).withConfig({componentId:"sc-5e4654a0-9"})(["color:",";height:6em;overflow:hidden;",""],e=>{let{theme:t}=e;return t.colors.white60},(0,B.$_)("sm",(0,L.AH)(["display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;"]))),K=e=>{let{games:t,title:i,subHeading:o,launchGame:r}=e;return(0,n.jsxs)("section",{children:[(0,n.jsx)(W,{children:(0,n.jsx)(z,{alt:"",src:(0,I._w)(D),xs:(0,I._w)(_)})}),(0,n.jsxs)(M,{children:[(0,n.jsxs)("div",{style:{gap:24},children:[i&&(0,n.jsx)(R.yU,{className:"battle-world-title",style:{marginBottom:10},children:i}),o&&(0,n.jsx)(R.E2,{style:{color:"rgba(255, 255, 255, 0.6)"},dangerouslySetInnerHTML:{__html:o}})]}),(0,n.jsx)(R.IT,{className:"play-title",style:{margin:"20px 0",color:"rgba(255, 255, 255, 0.9)"},children:"Play"}),(0,n.jsx)(V,{children:t.map((e,t)=>(0,n.jsxs)(J,{children:[(0,n.jsx)(Q,{children:(0,n.jsx)(N.CY,{sizes:"128px",src:e.icon,alt:"Play ".concat(e.appName)})}),(0,n.jsxs)("div",{children:[(0,n.jsx)(R.Zc,{style:{color:"rgba(255, 255, 255, 0.8)"},children:e.appName}),(0,n.jsx)(Y,{as:"div",dangerouslySetInnerHTML:{__html:e.excerpt}}),(0,n.jsx)(F.$,{className:"play-now-btn",onClick:()=>r(e),style:{marginTop:"auto",width:120},children:"Play now"})]}),(0,n.jsx)("img",{onClick:()=>r(e),src:(0,I._w)(U),className:"play-now-icon",alt:"",height:"48",width:"48",style:{alignSelf:"center",cursor:"pointer"}})]}))}),(0,n.jsx)(X,{src:(0,I._w)(O),alt:""}),(0,n.jsx)(G,{children:(0,n.jsx)("img",{loading:"lazy",src:(0,I._w)(T),alt:"SkyVu Logo"})})]})]})};var q=i(3672),$=i(25702),Z=i.n($),ee=i(10839);let et=S()(()=>i.e(7080).then(i.bind(i,44699)),{loadableGenerated:{webpack:()=>[44699]}}),ei=S()(()=>i.e(5159).then(i.bind(i,25159)),{loadableGenerated:{webpack:()=>[25159]},ssr:!1}),en=(e,t)=>{let i=[...e.topApps,...e.topBarApps,...e.otherApps,...e.remainingApps].filter(e=>e.companyName===t);return Z()(i,"appId")},eo=e=>{var t;let{appInfo:i,ngNcmHost:l,errorStatus:E,features:S,authUseThirdPartyFlow:T,prefix:R,authRedirectionUrl:F,playDomain:O,serviceStatus:B,appPageSpecificData:L,ssrOrigin:H,isCfMobile:z,isProdEnv:N,countryCode:U,errorStatusCode:M,isQuancastPopupSupportByCountry:W,thirdPartyAuthUrl:G,ssrGames:X,games:V,ssrEvar:J}=e,{isNowGGURL:Q,adsEnabled:Y}=(0,k.A)({appInfo:i,ngNcmHost:l,features:S,authUseThirdPartyFlow:T,prefix:R,authRedirectionUrl:F,serviceStatus:B,countryCode:U,isQuancastPopupSupportByCountry:W,pageType:"appPage",thirdPartyAuthUrl:G,ssrEvar:J}),[$,Z]=(0,o.useState)(!1),en=(0,o.useRef)(null),eo=(0,r.d4)(e=>e.auth.isLoginResolved),er=(0,r.d4)(e=>e.play.isWsupScriptEnabled),[ea,el]=(0,o.useState)({isLoggedIn:!1,profileInfo:null}),[es,ed]=(0,o.useState)(v.ceq.PENDING),{packageName:ec}=i,ep=(0,r.wA)(),{videos:eu,appPackageInfo:eh,popularGames:eg=[]}=L||{};(0,r.d4)(e=>e.play.showAllGamesOverlay);let ex=(0,r.d4)(e=>e.play.isGamePlayerOnFromAppPage);(0,r.d4)(e=>e.play.error||B);let ef=(0,r.d4)(e=>e.play.showAboutUs),em=(0,r.d4)(e=>e.play.isFullscreen),ew=(0,r.d4)(e=>{let{gamification:t}=e;return t.showNowbuxView||t.showProfileView||t.showLeaderboardView}),eb=(0,r.d4)(e=>e.support.showSupport),eA=(0,r.d4)(e=>e.auth.showLogin),ey=(0,r.d4)(e=>e.auth.isLoggedIn),ev=(0,r.d4)(e=>e.auth.showResetPassword),eC=(0,o.useRef)(null),[ej,eI]=(0,o.useState)(!1),{webpage_schema:ek,faq_schema:eE,title:eS,meta_description:eP,meta_title:eD,media:e_,genre:eT,rating:eR,ratingCount:eF,overview_description:eO,overview_title:eB}=(null==eh?void 0:eh.data)||{},eL="".concat("https://".concat(H),"/apps/battlecoin"),eH=null==(t=null==e_?void 0:e_.mobile)?void 0:t.ogimage;return((0,o.useEffect)(()=>{let e=(0,x.b7)(!1,f.p.APP_PAGE);eI((0,g.Fr)()),Z(!0),(0,x.sx)("RenderComplete",{isGamePlayerOnFromAppPage:ex},void 0,f.p.APP_PAGE);try{let e=(0,h.VM)();e?el({isLoggedIn:!0,profileInfo:e}):el({isLoggedIn:!1,profileInfo:null})}catch(e){}try{(0,h.Ay)(!0)}catch(e){}ep({type:p.A.UPDATE_ORIENTATION,payload:{orientation:i.initialOrientation}}),(0,j.a$)();let t=(0,h.f0)();return ep({type:C.A.GUEST_FLOW,payload:{guestFlow:t}}),t&&ep({type:C.A.SET_LOGGED_IN,payload:{isLoggedIn:!1,showPreloader:!1}}),()=>{en.current&&clearTimeout(en.current),clearInterval(e)}},[]),(0,o.useEffect)(()=>{eo&&(0,g.mP)()&&(0,g.X_)()},[eo]),(0,o.useEffect)(()=>{ey&&(0,g.mP)()&&((0,g.lJ)(),(0,g.B3)())},[ey]),(0,o.useEffect)(()=>{eC&&eC.current&&(eC.current.innerHTML=eO)},[eC]),(0,o.useEffect)(()=>{ew&&!ej&&(0,g.eG)()},[ej,ew]),E)?(0,n.jsx)(w.default,{errorStatusCode:M,prefix:R,ngNcmHost:l,errorReason:"StatusCode".concat(M,"-Unified").concat(E,"-ServiceStatus").concat(B),isQuancastPopupSupportByCountry:W}):(0,n.jsxs)(a.c8,{children:[er&&(0,n.jsx)(ei,{}),(0,n.jsxs)(s(),{children:[(0,n.jsx)("link",{rel:"preload",href:(0,I._w)(z?_:D),as:"image",fetchPriority:"high"},"linklcp"),N?(0,n.jsx)("meta",{name:"robots",content:"index,follow"},"metarobots"):(0,n.jsx)("meta",{name:"robots",content:"noindex,nofollow"},"metarobots"),(0,n.jsx)("meta",{httpEquiv:"X-UA-Compatible",content:"ie=edge"},"metaxua"),(0,n.jsx)("link",{rel:"canonical",href:eL},"linkcan"),(0,n.jsx)("meta",{name:"description",content:eP},"metadesc"),(0,n.jsx)("meta",{name:"baidu-site-verification",content:"code-y42E1spUr0"},"metabaidu"),(0,n.jsx)("meta",{name:"theme-color",content:"#00ff9d"},"metatheme"),(0,n.jsx)("meta",{property:"og:locale",content:"en"},"metaogl"),(0,n.jsx)("meta",{property:"og:type",content:"website"},"metaogt"),(0,n.jsx)("meta",{property:"og:title",content:eD},"metaogt"),(0,n.jsx)("meta",{property:"og:description",content:eP},"metaogd"),(0,n.jsx)("meta",{property:"og:url",content:eL},"metaogau"),(0,n.jsx)("meta",{property:"og:site_name",content:"now.gg"},"metaogsn"),(0,n.jsx)("meta",{property:"twitter:title",content:eD},"metatt"),(0,n.jsx)("meta",{name:"twitter:description",content:eP},"metatd"),(0,n.jsx)("title",{children:eD}),(0,n.jsx)("meta",{property:"og:image",content:eH},"metaogi"),(0,n.jsx)("meta",{property:"og:image:secure_url",content:eH},"metaogis"),(0,n.jsx)("meta",{property:"og:image:width",content:"1200"},"metaogw"),(0,n.jsx)("meta",{property:"og:image:height",content:"630"},"metaogh"),(0,n.jsx)("meta",{property:"og:image:type",content:"image/jpeg"},"metaogt"),(0,n.jsx)("meta",{name:"twitter:card",content:"summary_large_image"},"metatwc"),(0,n.jsx)("meta",{name:"twitter:image",content:eH},"metatwi"),(0,n.jsx)("link",{rel:"alternate",href:eL,hrefLang:"x-default"},"metaalt"),(0,n.jsx)("style",{children:"\n body {\n background-color: #111;\n }\n .h5 {\n position: static;\n }\n"})]}),(0,n.jsx)(ee.A,{}),(0,n.jsxs)(y.x.Provider,{value:i,children:[(0,n.jsx)(P.j.Provider,{value:X,children:(0,n.jsx)(A.A,{playerState:es,isFullscreen:em,isMobileDevice:ej,children:(0,n.jsx)(K,{launchGame:e=>(function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function a(e){try{s(n.next(e))}catch(e){r(e)}}function l(e){try{s(n.throw(e))}catch(e){r(e)}}function s(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(a,l)}s((n=n.apply(e,t||[])).next())})})(void 0,void 0,void 0,function*(){e&&((0,x.sx)(v.wHH,{type:"SkyvuGameClicked",packageName:e.packageName}),u.Ay.appInfo.appId=e.appId,u.Ay.appInfo.packageName=e.packageName,window.open((0,q.Ay)(e.playUrl),"_self"))}),title:d.$O.heading,subHeading:d.$O.subHeading,games:V})})}),es!==v.ceq.LOADED&&(0,n.jsxs)(n.Fragment,{children:[eb&&(0,n.jsx)(m.default,{isAppPage:!0}),ef&&(0,n.jsx)(c.A,{isAppPage:!0,closeModal:()=>{ep({type:p.A.MODAL_STATUS,payload:{showAboutUs:!1}})},userAuthAndProfileInfo:ea})]}),eA&&(0,n.jsx)(b.default,{}),ev&&(0,n.jsx)(et,{})]})]})}},75919:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});let n={src:"/_next/static/media/sideload_icon.60e0858a.svg",height:21,width:20,blurWidth:0,blurHeight:0}},76665:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});let n={src:"/_next/static/media/nowbux-warn.796f3dba.png",height:278,width:295,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAXVBMVEVMaXHooyvpmxT2yzf6bTz2tyT4vBv87aTy0S7132DBkwf///D53z/PmAz99MvxaCnvTw/xvyX1TCH/5135cBn33lXUkhv543Luk2PuuyXziyL7wjvrtTf91oP5fES9DWjqAAAAG3RSTlMA+/z7/Pv9STIXhXpZ/pCGEInFbfyq/op51Ky69jAhAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAQElEQVR4nB3LNxLAIBDAQJHBOacD//+ZHqxiO0FtqqRzf+wI6Ra32QVWcV6/F8zaiCkthKLUkQMwZN83/xu7CHxaZAJuxS842QAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8}},78483:e=>{e.exports=function(e){return this.__data__.get(e)}},78583:(e,t,i)=>{var n=i(48872),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,i,r,a,l){var s=1&i,d=n(e),c=d.length;if(c!=n(t).length&&!s)return!1;for(var p=c;p--;){var u=d[p];if(!(s?u in t:o.call(t,u)))return!1}var h=l.get(e),g=l.get(t);if(h&&g)return h==t&&g==e;var x=!0;l.set(e,t),l.set(t,e);for(var f=s;++p{"use strict";i.d(t,{$:()=>c});var n=i(37876);i(14232);var o=i(80549),r=i(81918),a=i(10534),l=i(74678);let s=e=>{let{text:t="",size:i="small"}=e;switch(i){case"small":return(0,n.jsx)(l.d5,{children:t});case"medium":default:return(0,n.jsx)(l.le,{children:t});case"large":return(0,n.jsx)(l.fI,{children:t});case"xlarge":return(0,n.jsx)(l.Zc,{children:t})}};var d=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]]);return i};let c=e=>{var{children:t,icon:i,text:l,spinnerWidth:c=24,spinnerHeight:p=24,size:u="medium",isLoading:h=!1,shadow:g=!0}=e,x=d(e,["children","icon","text","spinnerWidth","spinnerHeight","size","isLoading","shadow"]);return(0,n.jsxs)(a.SC,{shadow:g,...x,size:u,isLoading:h,children:[h&&(0,n.jsx)(r.A,{borderWidth:1,style:{width:c,height:p}}),t,(null==i?void 0:i.name)&&(0,n.jsx)(o.A,{name:i.name,size:i.size||32,style:i.style}),l&&(0,n.jsx)(s,{text:l,size:u})]})}},80060:(e,t,i)=>{"use strict";i.d(t,{Ay:()=>l,YU:()=>a,ZQ:()=>r});var n=i(75998),o=i.n(n);let r=o()(()=>{let e=document.createElement("canvas");return!!(e.getContext&&e.getContext("2d"))}),a=o()(()=>{let e="RTCPeerConnection"in window,t=e&&"function"==typeof RTCPeerConnection;return e&&t}),l=()=>{var e;return!!(null==(e=null==navigator?void 0:navigator.mediaDevices)?void 0:e.getDisplayMedia)}},81648:(e,t,i)=>{"use strict";i.d(t,{A:()=>o});var n=i(14232);function o(e){let t=(0,n.useRef)(null),[i,o]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{t.current=new IntersectionObserver(e=>{let[t]=e;o(e=>e||t.isIntersecting)})},[]),(0,n.useEffect)(()=>(e.current&&t.current&&t.current.observe(e.current),()=>{t.current&&t.current.disconnect()}),[e]),i}},81918:(e,t,i)=>{"use strict";i.d(t,{A:()=>d});var n=i(37876),o=i(98684);let r=o.Ay.div.withConfig({componentId:"sc-6867ebd0-0"})(["width:32px;height:32px;display:inline-block;position:relative;border-radius:50%;"]),a=o.Ay.div.withConfig({componentId:"sc-6867ebd0-1"})(["width:100%;height:100%;border-radius:50%;border:",";position:absolute;top:0;left:0;"],e=>{let{theme:t,borderWidth:i}=e;return"".concat(i,"px solid ").concat(t.colors.white40)}),l=(0,o.i7)(["from{transform:rotate(0deg);}to{transform:rotate(360deg);}"]),s=o.Ay.div.withConfig({componentId:"sc-6867ebd0-2"})(["width:100%;height:100%;border-radius:50%;border:",";border-bottom-color:transparent;position:absolute;top:0;left:0;animation:"," 1.5s linear infinite;"],e=>{let{theme:t,borderWidth:i,color:n}=e;return"".concat(i,"px solid ").concat(n||t.colors.white)},l),d=e=>{let{style:t,borderWidth:i=2,className:o,color:l}=e;return(0,n.jsxs)(r,{style:t,className:o,children:[(0,n.jsx)(a,{borderWidth:i}),(0,n.jsx)(s,{borderWidth:i,color:l})]})}},82731:(e,t,i)=>{var n=i(91667),o=i(99969),r=i(72115),a=r&&r.isTypedArray;e.exports=a?o(a):n},84366:(e,t,i)=>{"use strict";i.d(t,{A:()=>d});var n=i(37876);i(14232);var o=i(68827),r=i.n(o),a=i(47030),l=i(86360),s=i(61663);let d=e=>{let{banner:t,children:i,style:o,isAppPage:d}=e;return(0,n.jsxs)(s.m,{className:"landscape",style:o,children:[(0,n.jsx)(s.Bg,{isAppPage:d,disableOverlay:(0,l.gF)(),children:t&&(0,n.jsx)(r(),{src:t,quality:"80",objectFit:"cover",layout:"fill",loader:a.Vm})}),i]})}},84715:(e,t,i)=>{"use strict";i.d(t,{A:()=>m});var n=i(37876),o=i(14232),r=i(64320);let a={src:"/_next/static/media/micMute.81551a0f.svg",height:20,width:20,blurWidth:0,blurHeight:0},l={src:"/_next/static/media/micUnmute.e4e62bb7.svg",height:20,width:20,blurWidth:0,blurHeight:0},s={src:"/_next/static/media/micBlocked.f838d6ff.svg",height:20,width:20,blurWidth:0,blurHeight:0};var d=i(47030),c=i(91226),p=i(90080),u=i(24987),h=i(86360),g=i(34961),x=i(62610),f=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function a(e){try{s(n.next(e))}catch(e){r(e)}}function l(e){try{s(n.throw(e))}catch(e){r(e)}}function s(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(a,l)}s((n=n.apply(e,t||[])).next())})};let m=()=>{let e=(0,r.wA)(),t=(0,r.d4)(e=>e.play.recordingUserAudioTrack),i=(0,r.d4)(e=>e.play.isFullscreen),m=(0,r.d4)(e=>e.play.recordingAudioDestinationNode),w=(0,r.d4)(e=>e.play.recordingAudioContext),b=(0,r.d4)(e=>e.user.micRecordingEnabled),[A,y]=(0,o.useState)(!(null==t?void 0:t.enabled)),[v,C]=(0,o.useState)(!1),[j,I]=(0,o.useState)((0,d._w)(l)),k=()=>f(void 0,void 0,void 0,function*(){yield navigator.mediaDevices.getUserMedia({audio:!0}).then(t=>f(void 0,void 0,void 0,function*(){m&&w&&new MediaStreamAudioSourceNode(w,{mediaStream:t}).connect(m),e({type:c.A.UPDATE_IS_RECORDING,payload:{recordingUserAudioTrack:t.getAudioTracks()[0]}}),y(!1),(0,u.sx)(g.wHH,{element:"VideoRecorderMic",state:"Enabled"})})).catch(e=>{C(!0)})});return(0,o.useEffect)(()=>{v?I((0,d._w)(s)):A?I((0,d._w)(l)):I((0,d._w)(a))},[v,A]),(0,o.useEffect)(()=>{try{navigator.permissions.query({name:"microphone"}).then(e=>{"denied"===e.state&&C(!0),e.onchange=()=>{"denied"===e.state?C(!0):(C(!1),y(!0))}}).catch(e=>{})}catch(e){}!v&&b&&f(void 0,void 0,void 0,function*(){yield k()}),(0,u.sx)(g.wHH,{element:"VideoRecorderMic",state:v||!b?"Disabled":"Enabled"})},[]),(0,n.jsx)(x.B6,{onClick:()=>f(void 0,void 0,void 0,function*(){if(t)t.enabled=!(null==t?void 0:t.enabled),y(!A),e({type:p.A.RECORDING_UPDATE,payload:{micRecordingEnabled:t.enabled}}),(0,u.sx)(g.wHH,{element:"VideoRecorderMic",state:t.enabled?"Enabled":"Disabled"});else{if(v)return void e({type:c.A.UPDATE_IS_RECORDING,payload:{showMicBlockedModal:!0}});yield k()}}),isFullscreen:i,isAdFree:(0,h.Ku)(),children:(0,n.jsx)("img",{alt:"Record",src:j})})}},85179:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});let n=i(14232).createContext({})},85590:(e,t,i)=>{var n=i(89950),o=i(28654);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},86757:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Login:()=>N,default:()=>U});var n=i(37876),o=i(14232),r=i(26875),a=i(88954),l=i(24987),s=i(58501),d=i(64320),c=i(22690),p=i(80549),u=i(25827),h=i(412),g=i(54551),x=i(26617),f=i(86360),m=i(34961),w=i(44498),b=i(17679),A=i(74678),y=i(97634);let v={src:"/_next/static/media/email.be105882.svg",height:21,width:21,blurWidth:0,blurHeight:0},C={src:"/_next/static/media/login-header-vector-1.38d6ecb9.webp",height:122,width:360,blurDataURL:"data:image/webp;base64,UklGRn4AAABXRUJQVlA4WAoAAAAQAAAABwAAAgAAQUxQSBkAAAAAgICAgICAgICAgICAgICAgCIiLT5TaXt7AFZQOCA+AAAA0AEAnQEqCAADAAJAOCWwAnQA9IzyRmAA/uzh2jMxBM5oE6Vj/5NuVWdHAf/y0P+IL2/oB+pKObEhAqTAAAA=",blurWidth:8,blurHeight:3},j={src:"/_next/static/media/login-header-vector-2.31172971.webp",height:134,width:360,blurDataURL:"data:image/webp;base64,UklGRoIAAABXRUJQVlA4WAoAAAAQAAAABwAAAgAAQUxQSBkAAAAAZmZmZmZmZmZmZmZmZmZmZmVcTDstIhscAFZQOCBCAAAAEAIAnQEqCAADAAJAOCWwAnS6AAMJGlsKUAD+pfSOHYwcbmUpnf/Hayc78zKAe4oP3DmqJn7e/xXJRSn07rMvcAAA",blurWidth:8,blurHeight:3},I={src:"/_next/static/media/login-header-landscape-vector-1.7b73f5e3.webp",height:248,width:1110,blurDataURL:"data:image/webp;base64,UklGRnAAAABXRUJQVlA4WAoAAAAQAAAABwAAAQAAQUxQSBEAAAAAgICAgICAgIBEQkZRXmp2fgBWUDggOAAAALABAJ0BKggAAgACQDglqAJ0AMT9dgAA/u9ptBY8ia7lWavWr/5y8t//q0P/nkL9z79Udf7ONjAA",blurWidth:8,blurHeight:2},k={src:"/_next/static/media/login-header-landscape-vector-2.3bc6719f.webp",height:244,width:1110,blurDataURL:"data:image/webp;base64,UklGRnAAAABXRUJQVlA4WAoAAAAQAAAABwAAAQAAQUxQSBEAAAAAZmZmZmZmZmZkYl5XTUdIUABWUDggOAAAAFACAJ0BKggAAgACQDglqAJ0ugH4AALSrVvDgAD+cbl0ofkgP3/zQ1X+uZD0of/DWGPXrFx+yAAA",blurWidth:8,blurHeight:2},E={src:"/_next/static/media/bstk-logo.1ea95aca.webp",height:149,width:506,blurDataURL:"data:image/webp;base64,UklGRmgAAABXRUJQVlA4WAoAAAAQAAAABwAAAQAAQUxQSBEAAAAAn/F9GRAaDxS05U8XIBsdHQBWUDggMAAAALABAJ0BKggAAgACQDgljAAC51IZVAAA/vGsPf/J7IvwDDP7HC6Yhv8EvfA+UtMAAA==",blurWidth:8,blurHeight:2},S={src:"/_next/static/media/closed-eye.d8cee068.webp",height:81,width:80,blurDataURL:"data:image/webp;base64,UklGRpYAAABXRUJQVlA4WAoAAAAQAAAABwAABwAAQUxQSC0AAAABYBvZtpL7wu/+P5kVQ07u9EFE6V5CREwAfpfhQrU5O0DsPdE2DgcjoAIKXgIAVlA4IEIAAACwAQCdASoIAAgAAkA4JaQAAp3RKhUAAP5qQA5ui+RretGEdaJsmP1z0rT/eCOMtryJ9YuZ/xTF719BJ/6c1SUvAAA=",blurWidth:8,blurHeight:8};var P=i(32743),D=i(61120),_=i(47030),T=i(81918),R=i(91226),F=i(98520),O=i(4917),B=i.n(O),L=i(51370),H=i(71141),z=i(95257);let N=e=>{var t;let{withBG:i,onCloseClick:O,showCloseIcon:N=!0,continueUrlParams:U}=e;(0,o.useContext)(a.x);let{t:M}=(0,r.B)(),W=(0,d.wA)(),[G,X]=(0,o.useState)(),[V,J]=(0,o.useState)("Pre"),Q=(0,d.d4)(e=>e.play.isAndroidConnected),Y=(0,d.d4)(e=>e.play.sessionComplete),K=(0,d.d4)(e=>e.auth.loginContext),[q,$]=(0,o.useState)(!1),[Z,ee]=(0,o.useState)(!0),[et,ei]=(0,o.useState)(!0),[en,eo]=(0,o.useState)(""),[er,ea]=(0,o.useState)(""),el=(0,d.d4)(e=>e.play.orientation),[es,ed]=(0,o.useState)(""),[ec,ep]=(0,o.useState)(""),[eu,eh]=(0,o.useState)(!1),[eg,ex]=(0,o.useState)(!1),ef=(0,d.d4)(e=>e.play.isPlayerLoaded),em=(0,d.d4)(e=>e.auth.isLoginResolved),ew=(0,d.d4)(e=>e.play.error),[eb,eA]=(0,o.useState)((0,f.Fr)()&&((x.Ay.isHomePage||!ef)&&window.innerHeight{eA(((x.Ay.isHomePage||!ef)&&window.innerHeight{eA(((x.Ay.isHomePage||!ef)&&window.innerHeight{ej(er.length>=8&&er.length<=50&&/[A-Za-z]/.test(er)),ek(/\d/.test(er)),eS(!/^[A-Za-z0-9!@#$%^&*]*$/.test(er))},[er]),(0,o.useEffect)(()=>{let e=m.G$3.logout;return K?e=K:Y?e=m.G$3.post:Q&&(e=m.G$3.mid),(0,l.sx)(m.VWM,(0,l.qI)({loginPageContext:e},e)),J(e),X(!(0,s.f0)()||(0,x.Bt)()),window.addEventListener("orientationchange",e_),()=>{window.removeEventListener("orientationchange",e_)}},[]);let eT=e=>{e&&W({type:R.A.TOGGLE_SUBSCRIPTION_MODAL,payload:{shoSubscriptionModalAfterLogin:!1}}),em||(0,s.fg)()||W((0,F.E)(V)),(0,f._o)()&&ef&&W({type:R.A.UPDATE_PLAY_STATE,payload:{isPlayerLoaded:!1}}),W({type:c.A.TOGGLE_LOGIN,payload:{showLogin:!1}}),W({type:c.A.TOGGLE_MANUAL_LOGOUT_LOGIN,payload:{manualLogoutShowLogin:!1}}),W({type:c.A.UPDATE_LOGIN_CONTEXT,payload:{loginContext:""}}),sessionStorage.removeItem("loginPrompt"),O&&O()},eR=x.Ay.isHomePage,eF=x.Ay.isJpHomePage;return(0,n.jsxs)(n.Fragment,{children:[Y&&(0,n.jsx)(L.lZ,{children:M("endLogin")}),(0,n.jsxs)(u.A,{className:"\n ".concat(!Q&&G||Y?"split":"popup","\n ").concat(G?"":"rotate-modal","\n ").concat(eR?"browse-login":"","\n "),overlayStyles:L.BU,modalStyles:L.CU,rotatedModal:eb,overlayBackgroundColor:i||m.Vlg[ew]?g.JX.colors.overlay:"none",modalBackgroundColor:g.JX.gradients.radialDark,contentStyle:{margin:"0",overflow:"hidden"},children:[(0,n.jsx)("img",{src:(0,_._w)(eb?I:C),alt:"",style:{position:"absolute",width:"100%",transform:"translateY(-4px)"}}),(0,n.jsx)("img",{src:(0,_._w)(eb?k:j),alt:"",style:{position:"absolute",width:"100%",transform:"translateY(-4px)"}}),(0,n.jsx)(L.mc,{children:(0,n.jsxs)(L.j$,{style:{border:"0"},className:"login-container",children:[N&&!(null==(t=null===x.Ay||void 0===x.Ay?void 0:x.Ay.features)?void 0:t.requireAuth)&&(0,n.jsx)(L.US,{onClick:eT,children:(0,n.jsx)(p.A,{name:"cross-thin",size:16,id:"login-close-icon"})}),(0,n.jsxs)(L.Fe,{className:"content-section",rotatedModal:eb,children:[eF?(0,n.jsxs)(L.R0,{style:{paddingBottom:eb?"20px":"58px"},children:[(0,n.jsx)(L.mU,{med:!0,children:M(q?"signInToAccount":Z?"signInOrCreate":"createFreeAccount")}),(0,n.jsx)(L.PU,{children:M("saveProgressAndEarn")})]}):(0,n.jsxs)(L.VH,{children:[(0,n.jsx)(A.E2,{style:{opacity:"0.8"},children:M("oneAccount")}),(0,n.jsxs)(L.Xy,{children:[(0,n.jsx)("img",{src:(0,_._w)(E),alt:"",style:{width:"126px",height:"37px"}}),(0,n.jsx)(L.ix,{}),(0,n.jsx)("img",{src:(0,_._w)(P.A),alt:"",style:{width:"106px",height:"27px"}})]})]}),(0,n.jsxs)(L.nv,{children:[(0,n.jsxs)(L.mg,{children:[(0,n.jsxs)("div",{className:"classic-options",children:[!eF&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(L.Nr,{children:M(q?"signInToAccount":Z?"signInOrCreate":"createFreeAccount")}),(!(0,f.Fr)()||(0,f.Fr)()&&el===D.QB.portrait)&&(0,n.jsx)(L.Rz,{children:M("saveProgressAndEarn")})]}),x.Ay.authUseThirdPartyFlow?(0,n.jsx)("a",{href:x.Ay.thirdPartyAuthUrl,target:"_self",style:{width:"100%",textDecoration:"none"},children:(0,n.jsxs)(L.Mu,{variant:"primary",style:{width:"100%"},children:[(0,n.jsx)("img",{src:(0,_._w)(v),alt:""}),(0,n.jsx)(A.fI,{children:M("loginWithEmail")})]})}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(L.QB,{children:[(0,n.jsx)(w.pd,{id:"email-textbox",title:M("email"),onUpdate:e=>{eo(e),ep("")},placeholder:M("loginEmailPlaceholder"),type:"text",error:!!ec,errorMsg:ec,disabled:!Z,wrapperClass:"login-field",style:Z?{textOverflow:"ellipsis"}:{textOverflow:"ellipsis",paddingRight:"42px"},children:!Z&&(0,n.jsx)(L.gy,{onClick:()=>{ee(!0),ea(""),$(!1),ed("")},children:M("edit")})}),(q||!Z)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(w.pd,{id:"passwrd-email",className:"password-field",title:M("password"),type:eP?"text":"password",errorId:ey,onUpdate:e=>{ea(e),ed("")},placeholder:M(q?"exisitingloginPasswordPlaceholder":"newloginPasswordPlaceholder"),error:!!es,errorMsg:es,wrapperClass:"login-field",children:(0,n.jsx)(L.Ih,{src:(0,_._w)(S),alt:M("togglePwd"),width:20,height:20,onClick:()=>eD(!eP)})}),!q&&(!eC||!eI||eE)&&(0,n.jsxs)(L._E,{children:[(0,n.jsx)(L.Dj,{className:eC?"green":"",children:M("atleast8Chars")}),(0,n.jsx)(L.Dj,{className:eI?"green":"",children:M("number")}),(0,n.jsx)(L.Dj,{className:eE?"":"green",children:M("specialChar")})]})]})]}),(0,n.jsxs)(L.Mu,{id:Z?"continue-button":"create-account-or-login",variant:"primary",disabled:!en||eu||eg||!Z&&(!eC||!eI||eE),onClick:()=>(function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function a(e){try{s(n.next(e))}catch(e){r(e)}}function l(e){try{s(n.throw(e))}catch(e){r(e)}}function s(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(a,l)}s((n=n.apply(e,t||[])).next())})})(void 0,void 0,void 0,function*(){if(eh(!1),ex(!1),Z)if((0,f.G_)(en)){let e=yield y.Ay.checkUserAccount({},{email:en});e.success&&($(e.data.isAccountExists),ee(!1),ei(e.data.isPwdSet||!0),e.data.isAccountExists&&!e.data.isPwdSet&&ed("setPasswordFirst"))}else ep("emailIsIncorrect");else if(q)ex(!0),(0,l.md)(V),(0,l.sx)(m.mUe,(0,l.qI)({authProvider:"nowgg",loginPageContext:V},V)),(yield y.Ay.loginUser({},{email:en,pwd:er})).success?(W({type:c.A.SET_LOGGED_IN,payload:{isLoginResolved:!1}}),yield(0,s.Ay)(!0),ex(!1),eT()):(ed(et?"incorrectEmailOrPwd":"setPasswordFirst"),ev(et?"warning-on-incorrect-pass":"warning-set-pwd"),ex(!1));else{(0,l.md)(V),(0,l.sx)(m.mUe,(0,l.qI)({authProvider:"nowgg",loginPageContext:V},V)),eh(!0);let e=!1;(0,f.sl)(er)&&(yield y.Ay.createUserAccount({},{email:en,pwd:er})).success&&(yield y.Ay.loginUser({},{email:en,pwd:er})).success&&(e=!0,W({type:c.A.SET_LOGGED_IN,payload:{isLoginResolved:!1}}),yield(0,s.Ay)(!0),eh(!1),eT()),e||(eh(!1),ed("chooseAStrongPwd"),ev("warning-msg-on-less-specs"))}}),children:[(0,n.jsx)(A.fI,{children:M(eu?"creatingAccount":Z?"continue":q?"continueToLogin":"createAccount")}),eu&&(0,n.jsx)(T.A,{style:{height:"16px",width:"16px"}})]}),q&&!Z&&(0,n.jsx)(A.mj,{style:{cursor:"pointer"},onClick:()=>{W({type:c.A.TOGGLE_LOGIN,payload:{showLogin:!1}}),W({type:c.A.UPDATE_PASSWORD,payload:{showResetPassword:!0}}),W({type:c.A.UPDATE_USER_EMAIL,payload:{userEmail:en}})},children:M("forgotPassword")})]}),!eb&&(0,n.jsx)(b.Zl,{gap:"16",style:{width:"100%"},children:(0,n.jsx)(z.zo,{children:(0,n.jsx)(A.M5,{style:{color:g.JX.colors.white50},children:M("orSignInWith")})})})]}),(0,n.jsxs)("div",{className:"more-options",children:[!eb&&(0,n.jsx)(H.A,{pageContext:V,showGuestBtn:G,style:{width:"100%"},params:U}),(0,n.jsx)(L.IN,{children:(0,n.jsx)(h.A,{})})]})]}),eb&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(L.ix,{}),(0,n.jsx)(H.A,{pageContext:V,showGuestBtn:G,params:U,style:{width:"min-content",gap:"16px",flexDirection:"column",alignSelf:"center"}})]})]})]})]})})]}),!(Q&&!Y)&&(0,n.jsx)(L.iI,{children:M("rights",{year:new Date().getFullYear()})})]})},U=N},87308:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(37876),o=i(47030),r=i(26875),a=i(94120),l=i(89989);let s=e=>{let{user:t,click:i,isLoggedIn:s,size:d=40,src:c="",id:p="",premiumLogo:u=!1}=e,h=(null==t?void 0:t.avatar)||"",{t:g}=(0,r.B)();return(0,n.jsxs)(l.VI,{id:s?"user-profile":"guest-profile",bgImg:!0,onClick:i,size:d,children:[s&&h&&(0,n.jsx)("img",{alt:g("profilePic"),src:""===c?h:c,id:p,width:d,height:d}),u&&(0,n.jsx)("img",{className:"premium-logo",src:(0,o._w)(a.A),alt:"premium-logo"})]})}},88130:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});let n={src:"/_next/static/media/leaderboard-cup.20bae4fd.svg",height:24,width:24,blurWidth:0,blurHeight:0}},88471:(e,t,i)=>{"use strict";i.d(t,{de:()=>r,f_:()=>o,hJ:()=>a});var n=i(98684);let o=n.Ay.div.withConfig({componentId:"sc-f453a444-0"})(["position:relative;display:flex;gap:6px;.android-landscape &{margin-right:auto;}"]),r=n.Ay.div.withConfig({componentId:"sc-f453a444-1"})(["position:absolute;left:50%;top:-20px;transform:translate(-50%,-100%);width:100vw;max-width:240px;margin:0;&.forced-custom-rewarded-ads{top:auto;bottom:0;transform:translate(-50%,calc(100% + 10px));&.desktop{bottom:auto;top:-20px;transform:translate(-50%,-100%);}}"]),a=n.Ay.div.withConfig({componentId:"sc-f453a444-2"})(["position:fixed;background:rgba(0,0,0,0.7);top:0;bottom:0;left:0;right:0;z-index:9;"])},88954:(e,t,i)=>{"use strict";i.d(t,{A:()=>o,x:()=>n});let n=i(14232).createContext({}),o=n},89059:(e,t,i)=>{var n=i(5115),o=i(61733),r=i(33582),a=i(52141);e.exports=function(e){return r(e)?n(a(e)):o(e)}},89226:e=>{e.exports=function(e,t){for(var i=-1,n=null==e?0:e.length,o=0,r=[];++i{"use strict";i.d(t,{Mf:()=>a,VI:()=>r});var n=i(98684),o=i(34961);let r=n.Ay.div.withConfig({componentId:"sc-d701e8fe-0"})(["display:flex;width:",";height:",";border-radius:50%;position:relative;cursor:pointer;z-index:1;aspect-ratio:1;flex-shrink:0;&:before{content:'';background-image:",";background-position:center;background-repeat:no-repeat;background-size:cover;position:absolute;text-align:center;left:0;right:0;top:0;width:",";height:",";color:",";font-size:16px;z-index:-1;}img{border-radius:50%;}.premium-logo{position:absolute;width:24px;right:0;bottom:0;}"],e=>{let{size:t}=e;return"".concat(t,"px")},e=>{let{size:t}=e;return"".concat(t,"px")},e=>{let{bgImg:t}=e;return t&&"url('".concat(o.Cpe,"assets/images/profile.svg')")},e=>{let{size:t}=e;return"".concat(t,"px")},e=>{let{size:t}=e;return"".concat(t,"px")},e=>{let{theme:t}=e;return t.colors.white}),a=n.Ay.div.withConfig({componentId:"sc-d701e8fe-1"})(["display:flex;width:40px;height:40px;border:1px solid ",";border-radius:50%;&:hover{border:1px solid ",";}"," "," &.chat-box-avatar{background-color:",";width:24px;height:24px;display:flex;justify-content:center;align-items:center;margin-top:auto;margin-left:8px;}",""],e=>{let{theme:t}=e;return t.colors.white20},e=>{let{theme:t}=e;return t.colors.white40},e=>{let{isLoggedIn:t}=e;return t&&"\n width: 42px;\n height: 42px;\n "},e=>{let{isLoggedIn:t}=e;return!t&&"\n div:nth-child(1) {\n transform: translate(-1px, -1px);\n }\n "},e=>{let{theme:t}=e;return t.colors.black},e=>{let{isLoggedIn:t,size:i}=e;return i&&"\n width: ".concat(2*!!t+i,"px;\n height: ").concat(2*!!t+i,"px;\n ")})},90400:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return I}});let n=i(64252),o=i(88365),r=i(37876),a=o._(i(14232)),l=o._(i(98477)),s=n._(i(29269)),d=i(89161),c=i(63786),p=i(9263);i(26201);let u=i(19783);function h(e){return"/"===e[0]?e.slice(1):e}let g="function"==typeof l.preload,x={deviceSizes:[640,920,1440],imageSizes:[64,128,256,512],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1},f=new Set,m="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",w=new Map([["default",function(e){var t;let{config:i,src:n,width:o,quality:r}=e,a=r||(null==(t=i.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75)t>=o[0]*e),kind:"w"}}return{widths:r,kind:"w"}}return"number"!=typeof t||"fill"===i||"responsive"===i?{widths:o,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>r.find(t=>t>=e)||r[r.length-1]))],kind:"x"}}(t,r,o,l),p=d.length-1;return{sizes:l||"w"!==c?l:"100vw",srcSet:d.map((e,n)=>s({config:t,src:i,quality:a,width:e})+" "+("w"===c?e:n+1)+c).join(", "),src:s({config:t,src:i,quality:a,width:d[p]})}}function y(e){return"number"==typeof e?e:"string"==typeof e?parseInt(e,10):void 0}function v(e){var t;let i=(null==(t=e.config)?void 0:t.loader)||"default",n=w.get(i);if(n)return n(e);throw Object.defineProperty(Error('Unknown "loader" found in "next.config.js". Expected: '+d.VALID_LOADERS.join(", ")+". Received: "+i),"__NEXT_ERROR_CODE",{value:"E338",enumerable:!1,configurable:!0})}function C(e,t,i,n,o,r){e&&e.src!==m&&e["data-loaded-src"]!==t&&(e["data-loaded-src"]=t,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentNode&&(f.add(t),"blur"===n&&r(!0),null==o?void 0:o.current)){let{naturalWidth:t,naturalHeight:i}=e;o.current({naturalWidth:t,naturalHeight:i})}}))}let j=e=>{let{imgAttributes:t,heightInt:i,widthInt:n,qualityInt:o,layout:l,className:s,imgStyle:d,blurStyle:c,isLazy:p,placeholder:u,loading:h,srcString:g,config:x,unoptimized:f,loader:m,onLoadingCompleteRef:w,setBlurComplete:b,setIntersection:y,onLoad:v,onError:j,isVisible:I,noscriptSizes:k,...E}=e;return h=p?"lazy":h,(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("img",{...E,...t,decoding:"async","data-nimg":l,className:s,style:{...d,...c},ref:(0,a.useCallback)(e=>{y(e),(null==e?void 0:e.complete)&&C(e,g,l,u,w,b)},[y,g,l,u,w,b]),onLoad:e=>{C(e.currentTarget,g,l,u,w,b),v&&v(e)},onError:e=>{"blur"===u&&b(!0),j&&j(e)}}),(p||"blur"===u)&&(0,r.jsx)("noscript",{children:(0,r.jsx)("img",{...E,loading:h,decoding:"async","data-nimg":l,style:d,className:s,...A({config:x,src:g,unoptimized:f,layout:l,width:n,quality:o,sizes:k,loader:m})})})]})};function I(e){var t;let i,{src:n,sizes:o,unoptimized:l=!1,priority:u=!1,loading:h,lazyRoot:w=null,lazyBoundary:C,className:I,quality:k,width:E,height:S,style:P,objectFit:D,objectPosition:_,onLoadingComplete:T,placeholder:R="empty",blurDataURL:F,...O}=e,B=(0,a.useContext)(p.ImageConfigContext),L=(0,a.useMemo)(()=>{var e;let t=x||B||d.imageConfigDefault,i=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),n=t.deviceSizes.sort((e,t)=>e-t),o=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:i,deviceSizes:n,qualities:o}},[B]),H=o?"responsive":"intrinsic";"layout"in O&&(O.layout&&(H=O.layout),delete O.layout);let z=v;if("loader"in O){if(O.loader){let e=O.loader;z=t=>{let{config:i,...n}=t;return e(n)}}delete O.loader}let N="";if("object"==typeof(t=n)&&(b(t)||void 0!==t.src)){let e=b(n)?n.default:n;if(!e.src)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(F=F||e.blurDataURL,N=e.src,(!H||"fill"!==H)&&(S=S||e.height,E=E||e.width,!e.height||!e.width))throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0})}let U=!u&&("lazy"===h||void 0===h);((n="string"==typeof n?n:N).startsWith("data:")||n.startsWith("blob:"))&&(l=!0,U=!1),f.has(n)&&(U=!1),L.unoptimized&&(l=!0);let[M,W]=(0,a.useState)(!1),[G,X,V]=(0,c.useIntersection)({rootRef:w,rootMargin:C||"200px",disabled:!U}),J=!U||X,Q={boxSizing:"border-box",display:"block",overflow:"hidden",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},Y={boxSizing:"border-box",display:"block",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},K=!1,q=y(E),$=y(S),Z=y(k),ee=Object.assign({},P,{position:"absolute",top:0,left:0,bottom:0,right:0,boxSizing:"border-box",padding:0,border:"none",margin:"auto",display:"block",width:0,height:0,minWidth:"100%",maxWidth:"100%",minHeight:"100%",maxHeight:"100%",objectFit:D,objectPosition:_}),et="blur"!==R||M?{}:{backgroundSize:D||"cover",backgroundPosition:_||"0% 0%",filter:"blur(20px)",backgroundImage:'url("'+F+'")'};if("fill"===H)Q.display="block",Q.position="absolute",Q.top=0,Q.left=0,Q.bottom=0,Q.right=0;else if(void 0!==q&&void 0!==$){let e=$/q,t=isNaN(e)?"100%":""+100*e+"%";"responsive"===H?(Q.display="block",Q.position="relative",K=!0,Y.paddingTop=t):"intrinsic"===H?(Q.display="inline-block",Q.position="relative",Q.maxWidth="100%",K=!0,Y.maxWidth="100%",i="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%27"+q+"%27%20height=%27"+$+"%27/%3e"):"fixed"===H&&(Q.display="inline-block",Q.position="relative",Q.width=q,Q.height=$)}let ei={src:m,srcSet:void 0,sizes:void 0};J&&(ei=A({config:L,src:n,unoptimized:l,layout:H,width:q,quality:Z,sizes:o,loader:z}));let en=n,eo=g?void 0:{imageSrcSet:ei.srcSet,imageSizes:ei.sizes,crossOrigin:O.crossOrigin,referrerPolicy:O.referrerPolicy},er=a.default.useLayoutEffect,ea=(0,a.useRef)(T),el=(0,a.useRef)(n);(0,a.useEffect)(()=>{ea.current=T},[T]),er(()=>{el.current!==n&&(V(),el.current=n)},[V,n]);let es={isLazy:U,imgAttributes:ei,heightInt:$,widthInt:q,qualityInt:Z,layout:H,className:I,imgStyle:ee,blurStyle:et,loading:h,config:L,unoptimized:l,placeholder:R,loader:z,srcString:en,onLoadingCompleteRef:ea,setBlurComplete:W,setIntersection:G,isVisible:J,noscriptSizes:o,...O};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("span",{style:Q,children:[K?(0,r.jsx)("span",{style:Y,children:i?(0,r.jsx)("img",{style:{display:"block",maxWidth:"100%",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},alt:"","aria-hidden":!0,src:i}):null}):null,(0,r.jsx)(j,{...es})]}),!g&&u?(0,r.jsx)(s.default,{children:(0,r.jsx)("link",{rel:"preload",as:"image",href:ei.srcSet?void 0:ei.src,...eo},"__nimg-"+ei.src+ei.srcSet+ei.sizes)}):null]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},91364:(e,t,i)=>{var n=i(48668),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g;e.exports=n(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,function(e,i,n,o){t.push(n?o.replace(r,"$1"):i||e)}),t})},91667:(e,t,i)=>{var n=i(89950),o=i(52742),r=i(28654),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return r(e)&&o(e.length)&&!!a[n(e)]}},91727:(e,t,i)=>{"use strict";i.d(t,{v:()=>o});var n=i(37876);i(14232);let o=e=>{let{style:t,onClick:i}=e;return(0,n.jsx)("svg",{style:Object.assign({width:"1.3vw",marginRight:"0.5vw"},t),onClick:i,xmlns:"http://www.w3.org/2000/svg",width:"22",height:"21",viewBox:"0 0 22 21",fill:"none",children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.812 14.8257L20.9165 19.929C21.1587 20.1712 21.1587 20.5716 20.9165 20.8137C20.7954 20.9395 20.6324 21 20.4741 21C20.3157 21 20.1527 20.9348 20.0316 20.8137L14.9272 15.7104C13.353 17.0794 11.2991 17.9082 9.05423 17.9082C4.11744 17.9082 0.0981445 13.8898 0.0981445 8.9541C0.0981445 4.0184 4.11278 0 9.05423 0C13.991 0 18.0103 4.01375 18.0103 8.9541C18.0103 11.1984 17.1813 13.2519 15.812 14.8257ZM9.04962 1.25721C4.80678 1.25721 1.35102 4.70755 1.35102 8.95411C1.35102 13.2007 4.80678 16.6557 9.04962 16.6557C13.2971 16.6557 16.7482 13.196 16.7482 8.95411C16.7482 4.7122 13.2971 1.25721 9.04962 1.25721Z",fill:"white"})})}},92249:(e,t,i)=>{"use strict";i.d(t,{A:()=>w});var n=i(37876),o=i(14232),r=i(7758),a=i(63580),l=i(64320),s=i(34961),d=i(26617),c=i(86360),p=i(61120),u=i(98477),h=i(18767),g=i(98684);let x=g.Ay.div.withConfig({componentId:"sc-c9c1c7d2-0"})(["position:absolute;top:50%;left:",";transform:translateY(-50%);pointer-events:all;max-height:calc(100vh - 80px);height:600px;width:160px;overflow-y:scroll;display:flex;align-items:center;justify-content:center;background-color:rgba(255,255,255,0.1);&.skyScraperSecond{right:",";left:unset;}scrollbar-width:none;-ms-overflow-style:none;&.upliftAd{z-index:9;}"],e=>{let{isHtmlGame:t}=e;return t?"8px":"0px"},e=>{let{isHtmlGame:t}=e;return t?"8px":"0px"}),f=g.Ay.div.withConfig({componentId:"sc-c9c1c7d2-1"})(["position:absolute;left:50%;top:",";transform:translateX(-50%);pointer-events:all;max-width:'100vw';background-color:rgba(255,255,255,0.1);",";height:90px;width:970px;overflow-x:scroll;align-items:center;justify-content:center;display:flex;&.leaderBoardSecond{bottom:",";top:unset;}scrollbar-width:none;-ms-overflow-style:none;"],e=>{let{isHtmlGame:t}=e;return t?"8px":"0px"},e=>{var t,i;let{mobile:n,theme:o}=e;return n?null==(t=o.colors)?void 0:t.transparent:null==(i=o.colors)?void 0:i.base800},e=>{let{isHtmlGame:t}=e;return t?"8px":"0px"});var m=i(74038);let w=(0,o.memo)(e=>{let{leftSkyScraperContainer:t,rightSkyScraperContainer:i}=e,g=(0,l.wA)(),w=(0,o.useRef)(null),b=(0,o.useRef)(null),A=(0,o.useRef)(null),y=(0,o.useRef)(null),v=(0,l.d4)(e=>e.play.orientation),C=(0,l.d4)(e=>e.play.videoContainerRef),j=(0,l.d4)(e=>e.play.videoRef),I=(0,l.d4)(e=>e.play.isRecording),[k,E]=(0,o.useState)(""),S=(0,l.d4)(e=>e.play.isFullscreen),P=(0,l.d4)(e=>e.play.showIAPPopup),D=(0,o.useMemo)(()=>(0,c.v6)(S),[S]),_=(0,o.useMemo)(()=>I&&(0,c.Ku)(),[I])||D,T=(0,o.useCallback)(()=>(0,h.X)(),[v,C,j]);(0,o.useEffect)(()=>{g((0,r.FU)(w,b,A,y)),setTimeout(()=>{let e=T();g((0,r.rE)(e)),E(e),(0,a.DH)(),(0,a.nC)()},1e3)},[g,T]),(0,o.useEffect)(()=>{_||"p"!==(0,c.Yw)()&&(k===s.tFK?((0,m.b$)(s.tFK,"div-gpt-ad-skyScraper-1"),(0,m.b$)(s.tFK,"div-gpt-ad-skyScraper-2"),window.tude.cmd.push(()=>{"p"!==(0,c.Yw)()&&((0,m.b$)(s.tFK,"div-gpt-ad-skyScraper-1","2"),(0,m.b$)(s.tFK,"div-gpt-ad-skyScrapper-2","2"),window.tude.refreshAdsViaDivMappings([{divId:"div-gpt-ad-skyScraper-1",baseDivId:"pb-slot-incontent-large",targeting:{ads_loc:"display-ss-left"}},{divId:"div-gpt-ad-skyScraper-2",baseDivId:"pb-slot-incontent-large",targeting:{ads_loc:"display-ss-right"}}]))})):k===s.z_4&&((0,m.b$)(s.z_4,"div-gpt-ad-leaderBoard-1"),(0,m.b$)(s.z_4,"div-gpt-ad-leaderBoard-2"),window.tude.cmd.push(()=>{"p"!==(0,c.Yw)()&&((0,m.b$)(s.z_4,"div-gpt-ad-leaderBoard-1","2"),(0,m.b$)(s.z_4,"div-gpt-ad-leaderBoard-2","2"),window.tude.refreshAdsViaDivMappings([{divId:"div-gpt-ad-leaderBoard-1",baseDivId:"pb-slot-incontent-small",targeting:{ads_loc:"display-lb-top"}},{divId:"div-gpt-ad-leaderBoard-2",baseDivId:"pb-slot-incontent-small",targeting:{ads_loc:"display-lb-bottom"}}]))})))},[k,_,S]);let R=()=>(0,n.jsx)(x,{isHtmlGame:(0,d.a2)(),ref:w,className:"skyScraperFirst ".concat(P?"upliftAd":""),id:"skyScraper-1",children:!_&&(0,n.jsx)("div",{id:"div-gpt-ad-skyScraper-1"})}),F=()=>(0,n.jsx)(x,{isHtmlGame:(0,d.a2)(),ref:b,className:"skyScraperSecond ".concat(P?"upliftAd":""),id:"skyScraper-2",children:!_&&(0,n.jsx)("div",{id:"div-gpt-ad-skyScraper-2"})});return(0,n.jsxs)(n.Fragment,{children:[k===s.tFK&&(0,n.jsxs)(n.Fragment,{children:[t?(0,u.createPortal)(R(),t):R(),i?(0,u.createPortal)(F(),i):F()]}),k===s.z_4&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(f,{isHtmlGame:(0,d.a2)(),mobile:(0,c.Fr)()&&v!==p.QB.portrait,ref:A,className:"leaderBoardFirst",id:"leaderBoard-1",children:!_&&(0,n.jsx)("div",{id:"div-gpt-ad-leaderBoard-1"})}),(0,n.jsx)(f,{isHtmlGame:(0,d.a2)(),mobile:(0,c.Fr)()&&v!==p.QB.portrait,ref:y,className:"leaderBoardSecond",id:"leaderBoard-2",children:!_&&(0,n.jsx)("div",{id:"div-gpt-ad-leaderBoard-2"})})]})]})})},92441:(e,t,i)=>{var n=i(17099),o=i(13674),r=i(71598),a=i(78483),l=i(69455),s=i(92999);function d(e){var t=this.__data__=new n(e);this.size=t.size}d.prototype.clear=o,d.prototype.delete=r,d.prototype.get=a,d.prototype.has=l,d.prototype.set=s,e.exports=d},92999:(e,t,i)=>{var n=i(17099),o=i(36315),r=i(2331);e.exports=function(e,t){var i=this.__data__;if(i instanceof n){var a=i.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++i.size,this;i=this.__data__=new r(a)}return i.set(e,t),this.size=i.size,this}},94120:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});let n={src:"/_next/static/media/now-premium-logo.503a8b9d.webp",height:30,width:30,blurDataURL:"data:image/webp;base64,UklGRsAAAABXRUJQVlA4WAoAAAAQAAAABwAABwAAQUxQSDoAAAABYBvZtpLXxgdSp1bLLP8pNOPuFjPEX4uIiAkAC99HqoH7EkJIr+REGn6y8pcVmcyzbqFDoONzjlQAVlA4IGAAAABQAgCdASoIAAgAAkA4JbACdAaQBAKWJckafAAA/uW/+iJWzvql5hwKBKD5zWGc9JLS9c4dnEEcqhAnWUBjmpNlnmnzrD33U//GPiGHNM+82ut9buu23bynsG1jvebFOAA=",blurWidth:8,blurHeight:8}},94159:(e,t,i)=>{"use strict";i.d(t,{A:()=>j});var n=i(37876),o=i(80549),r=i(74678),a=i(91226),l=i(58501),s=i(14232),d=i(26875),c=i(64320),p=i(25827),u=i(26359),h=i(79461),g=i(24987),x=i(26617),f=i(79682),m=i(86360),w=i(3672),b=i(61120),A=i(34961),y=i(88150),v=i(23386),C=i(87308);let j=e=>{let{closeModal:t,isAppPage:i,userAuthAndProfileInfo:j}=e,{t:I}=(0,d.B)(),k=(0,c.wA)(),E=(0,c.d4)(e=>e.play.isNerdMode),S=(0,c.d4)(e=>e.auth.isLoggedIn),[P,D]=(0,s.useState)(null),_=(0,c.d4)(e=>e.play.isAndroidConnected),T=(0,c.d4)(e=>e.play.isPlayerLoaded),R=(0,y.kj)(),F=(0,m.Fr)(),O=(0,c.d4)(e=>e.play.orientation),B=i?!!(null==j?void 0:j.isLoggedIn):S,[L,H]=(0,s.useState)("portrait"),z=(0,m.v1)();return(0,s.useEffect)(()=>{let e=()=>{H((()=>{try{return window.screen.availHeight>window.screen.availWidth?"portrait":"landscape"}catch(e){return"landscape"}})())};return window.addEventListener("orientationchange",e),()=>{window.removeEventListener("orientationchange",e)}},[]),(0,s.useEffect)(()=>{if(i){let e=B?null==j?void 0:j.profileInfo:null;e&&D(e)}else{let e=B?(0,l.VM)():null;e&&D(e)}},[i,B,P,null==j?void 0:j.profileInfo]),(0,n.jsx)(p.A,{overlayStyles:v.BU,modalStyles:F?v.Js:v.CU,children:(0,n.jsxs)(v.mc,{children:[(0,n.jsxs)(v.JK,{children:[(0,n.jsx)(u.A,{style:{margin:"0px"},themeType:"light",hasTagline:!1}),(0,n.jsx)(o.A,{style:{cursor:"pointer",color:"white",position:"relative",left:"8px"},onClick:t,size:16,name:"cross-thin",id:"ng-info-close"})]}),(!R||(0,m.N1)())&&B&&P&&Object.keys(P).length>1&&(0,n.jsx)(v.sP,{isMobile:F,orientation:(0,x.a2)()||!_?L:O,children:(0,n.jsxs)("div",{className:"user-profile-tile",children:[(0,n.jsx)(C.A,{isLoggedIn:B,user:P}),(0,n.jsxs)(v.oq,{isMobile:F,orientation:(0,x.a2)()||!_?L:O,children:[(0,n.jsx)(v.xE,{children:null==P?void 0:P.handle}),(0,n.jsx)(v.cC,{id:"emailId",children:null==P?void 0:P.email})]}),(0,n.jsx)("div",{style:F&&L===b.QB.landscape||T&&O===b.QB.landscape||!F?{marginLeft:"auto"}:{},children:(0,n.jsx)(f.$,{id:"logout",variant:"primary",size:"medium",onClick:()=>{var e,t;(0,g.sx)("LogoutClicked"),(0,x.HW)(),(0,x.ux)(),(0,l.ri)({reason:"ManualLogout",url:null==(t=null==(e=null==window?void 0:window.location)?void 0:e.href)?void 0:t.split("?")[0]})},text:I("logout")})})]})}),(0,n.jsxs)(v.fI,{children:[(0,n.jsx)(r.T6,{children:(0,n.jsxs)(r.N_,{href:(0,w.Ay)("https://now.gg"),target:"_blank",rel:"noreferrer noopener",white:!0,className:"link",children:[(0,n.jsx)("span",{children:I("website")}),(0,n.jsx)(v.VI,{children:(0,n.jsx)(o.A,{name:"union",size:9})})]})}),(0,n.jsx)(r.T6,{style:{marginBottom:16,marginLeft:15},children:(0,n.jsxs)(r.N_,{href:A.mEK,target:"_blank",rel:"noreferrer noopener",white:!0,className:"link",children:[(0,n.jsx)("span",{children:I("faqs")})," ",(0,n.jsx)(v.VI,{children:(0,n.jsx)(o.A,{name:"union",size:9})})]})})]}),(0,n.jsx)(v.EY,{children:(0,n.jsxs)(r.YC,{style:{marginBottom:0,color:"rgba(255, 255, 255, 0.6)"},children:["".concat(I("copyright",{year:new Date().getFullYear()})," ").concat(I("disclaimerSub1")," "),(0,n.jsx)("br",{}),I("disclaimerSub2"),(0,n.jsx)(r.N_,{style:{fontSize:12},target:"_blank",rel:"noopener noreferrer",href:"https://now.gg/terms-and-privacy.html#terms",children:I("termsOfUse")})," ".concat(I("and")," "),(0,n.jsx)(r.N_,{style:{fontSize:12},target:"_blank",rel:"noopener noreferrer",href:"https://now.gg/terms-and-privacy.html#privacy",children:I("privacyPolicy")}),", ".concat(I("disclaimerSub3")," ")]})}),_&&!F&&!z&&(0,n.jsxs)(v.lX,{children:[(0,n.jsx)(v.Cl,{onClick:()=>{t(),k({type:h.A.GET_SUPPORT})},children:I("reportAProblem")}),(0,n.jsxs)(v.lS,{children:[(0,n.jsx)(r.YC,{style:{marginLeft:"auto",marginBottom:0},children:I("nerdMode")}),(0,n.jsxs)(v.JU,{id:"ng-nerd-mode",children:[(0,n.jsx)("input",{type:"checkbox",checked:E,onChange:()=>{k({type:a.A.START_CONNECTION,payload:{isNerdMode:!E}})}}),(0,n.jsx)("span",{})]})]})]})]})})}},94604:(e,t,i)=>{"use strict";i.d(t,{A:()=>b});var n=i(37876);i(61120),i(39324),i(97826),i(65364),i(1615),i(86360),i(65364),i(26617);var o=i(34961),r=i(18847),a=i.n(r),l=i(64320),s=i(14232),d=i(79461);i(75107),i(65364);let c=a()(()=>Promise.all([i.e(1869),i.e(3328),i.e(5912),i.e(3366),i.e(7064),i.e(3501),i.e(1484)]).then(i.bind(i,71484)),{loadableGenerated:{webpack:()=>[71484]}}),p=a()(()=>Promise.all([i.e(1869),i.e(3261),i.e(7784),i.e(8842),i.e(8938),i.e(5246),i.e(3501),i.e(9311),i.e(1244)]).then(i.bind(i,20086)),{loadableGenerated:{webpack:()=>[20086]}}),u=a()(()=>Promise.resolve().then(i.bind(i,75107)),{loadableGenerated:{webpack:()=>[75107]}}),h=a()(()=>Promise.all([i.e(8230),i.e(8842),i.e(624),i.e(473)]).then(i.bind(i,10473)),{loadableGenerated:{webpack:()=>[10473]}}),g=a()(()=>Promise.all([i.e(1869),i.e(3261),i.e(3328),i.e(5912),i.e(3366),i.e(7064),i.e(4168)]).then(i.bind(i,64168)),{loadableGenerated:{webpack:()=>[64168]}}),x=a()(()=>i.e(8601).then(i.bind(i,18601)),{loadableGenerated:{webpack:()=>[18601]}}),f=a()(()=>Promise.all([i.e(1869),i.e(3366),i.e(2923)]).then(i.bind(i,12923)),{loadableGenerated:{webpack:()=>[12923]}}),m=a()(()=>Promise.resolve().then(i.bind(i,4976)),{loadableGenerated:{webpack:()=>[4976]}}),w=a()(()=>Promise.all([i.e(3261),i.e(3328),i.e(3163)]).then(i.bind(i,48725)),{loadableGenerated:{webpack:()=>[48725]}}),b=e=>{let t=(0,l.wA)(),i=()=>{t({type:d.A.GET_SUPPORT})};return((0,s.useEffect)(()=>(window.addEventListener("support",i),()=>{window.removeEventListener("support",i)}),[]),e.pageType===o.g6_.UnifiedAppPage)?(0,n.jsx)(c,{...e}):e.pageType===o.g6_.PlayPage?(0,n.jsx)(p,{...e}):e.pageType===o.g6_.BattleWorldDeveloperPage?(0,n.jsx)(u,{...e}):e.pageType===o.g6_.NowBuxPage?(0,n.jsx)(h,{...e}):e.pageType===o.g6_.HomePage?(0,n.jsx)(g,{...e}):e.pageType===o.g6_.AdSdkPage?(0,n.jsx)(x,{...e}):e.pageType===o.g6_.Proxy?(0,n.jsx)(f,{...e}):e.pageType===o.g6_.JpHomePage?(0,n.jsx)(w,{...e}):(0,n.jsx)(m,{errorStatusCode:e.errorStatusCode,prefix:e.prefix,ngNcmHost:e.ngNcmHost,errorReason:"StatusCode".concat(e.errorStatusCode,"-Unified").concat(e.errorStatus),isQuancastPopupSupportByCountry:e.isQuancastPopupSupportByCountry})}},94806:(e,t,i)=>{var n=i(89226),o=i(27371),r=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;e.exports=a?function(e){return null==e?[]:n(a(e=Object(e)),function(t){return r.call(e,t)})}:o},95257:(e,t,i)=>{"use strict";i.d(t,{Ay:()=>l,UU:()=>a,zo:()=>r});var n=i(98684);let o=n.Ay.div.withConfig({componentId:"sc-c49ae8c5-0"})(["display:flex;flex-wrap:wrap;gap:10px;@media screen and (orientation:landscape) and (max-height:575.98px){grid-column-start:2;grid-column-end:2;grid-row-start:1;grid-row-end:4;}button{gap:16px;flex:1;width:208px;max-width:208px;max-height:40px;@media screen and (orientation:portrait){min-width:94px;}&:first-child{max-width:100%;flex:1 1 100%;}}.guest-btn{min-width:100%;.landscape .split &{@media screen and (orientation:landscape) and (max-height:575.98px){margin:4px 0;}}}"]),r=n.Ay.p.withConfig({componentId:"sc-c49ae8c5-1"})(["position:relative;font-size:14px;line-height:150%;color:",";text-align:center;margin:10px 0;width:100%;font-display:swap;@media screen and (orientation:portrait) and (max-width:600px),(orientation:landscape) and (max-height:575.98px){margin:3px 0;}&:before,&:after{content:'';position:absolute;height:0.5px;background:",";width:calc(50% - 70px);top:48%;}&:before{left:0;}&:after{right:0;}"],e=>{let{theme:t}=e;return t.colors.base500},e=>{let{theme:t}=e;return t.colors.base500}),a=n.Ay.div.withConfig({componentId:"sc-c49ae8c5-2"})(["border:solid ",";border-width:0 2px 2px 0;display:inline-block;padding:5px;margin-right:2px;transform:rotate(-45deg);-webkit-transform:rotate(-45deg);"],e=>{let{theme:t}=e;return t.colors.black40}),l=o},95318:(e,t,i)=>{var n=i(58511),o=i(48894),r=i(93007),a=i(68373),l=i(52742),s=i(52141);e.exports=function(e,t,i){t=n(t,e);for(var d=-1,c=t.length,p=!1;++d{e.exports=function(e){return e!=e}},96703:(e,t,i)=>{e.exports=i(43622)(i(19031),"WeakMap")},97125:(e,t,i)=>{"use strict";i.d(t,{b:()=>o});var n=i(37876);let o=e=>{let{style:t,size:i=20}=e;return(0,n.jsxs)("svg",{style:Object.assign({},t),width:i,height:i,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M16.875 3.125L3.125 16.875",stroke:"white",strokeLinecap:"round"}),(0,n.jsx)("path",{d:"M16.875 16.875L3.125 3.125",stroke:"white",strokeLinecap:"round"})]})}},97791:e=>{e.exports=function(e,t){return function(i){return e(t(i))}}},97997:(e,t,i)=>{"use strict";i.d(t,{Qz:()=>o,XM:()=>r,ln:()=>a,zj:()=>l});var n=i(98684);let o=n.Ay.div.withConfig({componentId:"sc-7b88b718-0"})(["background:",";border:",";backdrop-filter:blur(12px);box-sizing:border-box;border-radius:",";left:50%;transform:translateX(-50%);opacity:1;background:rgba(0,0,0,0.8);z-index:12;padding:8px 20px 0px 20px;position:fixed;top:5px;"],e=>{let{theme:t}=e;return t.colors.backgroundGlass},e=>{let{theme:t}=e;return t.border.base},e=>{let{theme:t}=e;return t.border.radius}),r=n.Ay.p.withConfig({componentId:"sc-7b88b718-1"})(["font-size:16px;color:",";"],e=>{let{theme:t}=e;return t.colors.white}),a=n.Ay.div.withConfig({componentId:"sc-7b88b718-2"})(["height:6px;width:6px;background-color:#DE5A48;border-radius:50%;position:absolute;top:8px;right:8px;z-index:2;"]),l=n.Ay.div.withConfig({componentId:"sc-7b88b718-3"})(["visibility:collapse;border:4px solid #DE5A48;pointer-events:none;position:fixed;left:0;right:0;top:0;bottom:0;width:100%;height:100%;z-index:8;transition:transform 2s,top 2s,width 2s,height 2s,left 2s,visibility 0s;transition-timing-function:cubic-bezier(0,.86,.01,.99);"])},98520:(e,t,i)=>{"use strict";i.d(t,{E:()=>l});var n=i(58501),o=i(24987),r=i(26617),a=i(22690);let l=e=>(t,i)=>{var l,s;let d=i().play.isPlayerLoaded;(0,o.sx)("PlayAsGuestClicked",{loginPageContext:e}),(null===r.Ay||void 0===r.Ay?void 0:r.Ay.isAppPage)&&d&&(0,r.hk)(),(0,r.x4)(),(0,n.Ry)(),(0,n.ri)({reason:"PlayAsGuestClicked",url:null==(s=null==(l=null==window?void 0:window.location)?void 0:l.href)?void 0:s.split("?")[0]}),t({type:a.A.GUEST_FLOW,payload:{guestFlow:!0,showPreloader:!1}})}},99969:e=>{e.exports=function(e){return function(t){return e(t)}}}},e=>{e.O(0,[1869,636,8792],()=>e(e.s=20884)),_N_E=e.O()}]); //# sourceMappingURL=[...index]-672e0cda0dc9e298.js.map