(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[636],{92:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(52862)}])},1602:(e,t,n)=>{var o=n(19031);e.exports=function(){return o.Date.now()}},1637:(e,t,n)=>{"use strict";function o(){if(console&&console.warn){for(var e,t=arguments.length,n=Array(t),o=0;os,R8:()=>o,dM:()=>a,mc:()=>i});var r={};function i(){for(var e=arguments.length,t=Array(e),n=0;n2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0===t.options.ignoreJSONStructure?function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=t.languages[0],r=!!t.options&&t.options.fallbackLng,i=t.languages[t.languages.length-1];if("cimode"===o.toLowerCase())return!0;var a=function(e,n){var o=t.services.backendConnector.state["".concat(e,"|").concat(n)];return -1===o||2===o};return(!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1)||!t.services.backendConnector.backend||!t.isLanguageChangingTo||!!a(t.isLanguageChangingTo,e))&&!!(t.hasResourceBundle(o,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||a(o,e)&&(!r||a(i,e)))}(e,t,n):t.hasLoadedNamespace(e,{precheck:function(t,o){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!o(t.isLanguageChangingTo,e))return!1}}):(i("i18n.languages were undefined or empty",t.languages),!0)}},1678:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});let o={NOWBUX_REWARD_DETAILS:"NOWBUX_REWARD_DETAILS",NOWBUX_REWARD_CREDIT:"NOWBUX_REWARD_CREDIT",REDEMPTION_FLOW:"REDEMPTION_FLOW",UPDATE_ACCUMULATED_TIME_SECS:"UPDATE_ACCUMULATED_TIME_SECS",SHOW_NOWBUX_TOAST:"SHOW_NOWBUX_TOAST",JACKPOT_FLOW:"JACKPOT_FLOW",FETCH_IAP_DATA_SUCCESS:"FETCH_IAP_DATA_SUCCESS",FETCH_IAP_GAME_LISTS_SUCCESS:"FETCH_IAP_GAME_LISTS_SUCCESS",FETCH_IAP_AND_GAME_DATA_SUCCESS:"FETCH_IAP_AND_GAME_DATA_SUCCESS"}},1719:(e,t,n)=>{"use strict";n.d(t,{CZ:()=>r,ly:()=>o});let o={isOpen:!1,native:!0,downMap:{},upEvents:{},downEvents:{}},r={ended:!1}},2331:(e,t,n)=>{var o=n(94552),r=n(35536),i=n(17565),a=n(76217),s=n(47129);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t{"use strict";let o;n.d(t,{$k:()=>v,Ay:()=>w,Ud:()=>S,oB:()=>A});var r=n(59319),i=n(83515),a=n(56047),s=n(62920),l=n(29359),c=n(35402),u=n(19786),d=n(42920),p=n(71278),f=n(70780);let g="authServiceHost",h="ncmHost",y=new AbortController,m=y.signal,v=()=>{if(void 0===o)try{o="keepalive"in new Request("")}catch(e){o=!1}return!!o};function A(e,t){return(n,o)=>{var y,S,w,b;return y=this,S=void 0,w=void 0,b=function*(){var y,S;let w="",b="",E=null,_=!!(t.keepAlive&&v())||void 0;try{let v=t.host===g||t.host===h?t.path:"/oapi".concat(l.Ay.prefix||"").concat(t.path),A=t.paymentsHost?t.paymentsHost:t.host===g&&!l.Ay.authUseThirdPartyFlow&&"https://".concat(l.Ay.appInfo.authServiceHost)?"https://".concat(l.Ay.appInfo.authServiceHost):t.host!==h||t.useCurrentOrigin?window.location.origin:l.Ay.ngNcmHost,T=new URL(v,A);n&&(T.search=new URLSearchParams(n).toString());let P=(0,d.kj)(),O=null==(y=null==window?void 0:window.nggParams)?void 0:y[s.xwu];(0,a.N1)()&&(P="NowV2");let I={headers:{}},R=(0,a.qk)(s.ilC),k=(0,a.Q0)();if((0,a.IV)())if(!P||!O)return{status:c.wD.FailureForbidden,errorMessage:"Partner Failure Forbidden"};else I.headers={Authorization:"".concat(P," ").concat(O),"x-ngg-playuser-token":k||""};else P&&O?I.headers={Authorization:"".concat(P," ").concat(O),"x-ngg-playuser-token":k||""}:!t.path.includes("/accounts/auth/v2/access-token")&&R&&(I.headers={Authorization:"NowV2 ".concat(R),"x-ngg-playuser-token":k||""});b=T.toString();let x=t.avoidAbortSignal?void 0:m;if(E="GET"===e?yield fetch(b,{credentials:t.host===h?"omit":"include",headers:Object.assign({"x-ngg-fe-version":r.CU,"x-ngg-skip-evar-check":t.skipEvarCheck?t.skipEvarCheck:"true"},I.headers),signal:x,keepalive:_}):"PATCH"===e?yield fetch(b,{method:"PATCH",credentials:"include",headers:Object.assign({"content-type":"application/json","x-ngg-fe-version":r.CU},null==I?void 0:I.headers),keepalive:_,body:o?JSON.stringify(o):void 0}):yield fetch(b,{method:"POST",credentials:"include",headers:Object.assign({"content-type":"application/json","x-ngg-fe-version":r.CU,"x-ngg-skip-evar-check":t.skipEvarCheck?t.skipEvarCheck:"true"},null==I?void 0:I.headers),keepalive:_,body:o?JSON.stringify(o):void 0}),409===E.status&&p.A.dispatch({type:f.A.SET_ERROR,payload:{error:c.wD.FailureValidationError,clientId:"1300",sessionId:"",isAndroidConnected:!1,errorDescription:""}}),205===E.status)throw window.nggVersionMismatch=!0,yield(0,a.cb)(1e4),(0,u.Yi)("StartSession"),Error("Version Mismatch");w=yield E.text();let D=JSON.parse(w);if(D.status&&s.v9[D.status]&&(0,d.Ay)(s.v9[D.status],"","NowggIfpSdkEvent"),401===E.status){let r=yield(0,i.E5)(e,t,n,o,D.status,E.url,JSON.stringify(D));if(r)return r;return D}if(!E.ok)return(0,r.Ay)(Error("fetch: ".concat(b," failed, response.ok: ").concat(E.ok)),{response:E}),{status:c.wD.FailureUnexpectedHttpStatusCode,errorMessage:"Http Status Code ".concat(E.status,", JSON Status: ").concat(null==D?void 0:D.status,", JSON Message: ").concat(null==D?void 0:D.errorMessage),errorData:D};if(!t.host&&D.status===c.wD.FailureUnauthorized)return(0,i.ri)({reason:"StatusFailureUnauthorized",url:null==(S=null==E?void 0:E.url)?void 0:S.split("?")[0]}),{status:c.wD.JsonStatusFailureUnauthorized,errorMessage:"Http Status Code 401"};if(!D||!(D.status||"boolean"==typeof D.success))return{status:c.wD.FailureMalformedJSONResponse,errorMessage:"JSON Status ".concat(E.status)};return D}catch(i){if("AbortError"!==i.name&&(0,r.Ay)("Api Failed: ".concat(i.message),{error:{e:i,type:"".concat(i.name),message:"".concat(i.message),path:"".concat(e," ").concat(t.path),finalUrl:b,responseText:w},response:E,requestData:{query:n,body:o,options:t,method:e},appState:{ngNcmHost:l.Ay.ngNcmHost,authUseThirdPartyFlow:l.Ay.authUseThirdPartyFlow,prefix:l.Ay.prefix}}),t.feFetchExceptionRetryCount&&t.feFetchExceptionRetryCount>0)return yield A(e,Object.assign(Object.assign({},t),{feFetchExceptionRetryCount:t.feFetchExceptionRetryCount-1}))(n,o);return{status:c.wD.FailureFeFetchException,errorMessage:t.forwardError?"".concat(i.name,": ").concat(i.message):void 0,errorStack:t.forwardError?i.stack:void 0}}},new(w||(w=Promise))(function(e,t){function n(e){try{r(b.next(e))}catch(e){t(e)}}function o(e){try{r(b.throw(e))}catch(e){t(e)}}function r(t){var r;t.done?e(t.value):((r=t.value)instanceof w?r:new w(function(e){e(r)})).then(n,o)}r((b=b.apply(y,S||[])).next())})}}let S=e=>{y.abort(e)},w={startSession:A("GET",{host:null,path:"/play/v1/startSession",authorize:!0,forwardError:!0}),validateMembershipId:A("GET",{host:null,path:"/play/v1/validateMembershipId",authorize:!0,forwardError:!0}),setAnswerSdp:A("POST",{host:null,path:"/play/v1/setAnswerSdp",authorize:!0,forwardError:!0}),getSessionStatus:A("GET",{host:null,path:"/play/v1/getSessionStatus",authorize:!0}),createTicket:A("POST",{host:null,path:"/supp/v1/createTicket",authorize:!0}),trackEvent:A("POST",{host:null,path:"/play/v1/reportEvent",authorize:!1,avoidAbortSignal:!0}),trackEventInBackground:A("POST",{host:null,path:"/play/v1/reportEvent",authorize:!1,avoidAbortSignal:!0,keepAlive:!0}),generateToken:A("POST",{host:g,path:"/accounts/auth/v2/access-token",authorize:!0,avoidAbortSignal:!0}),generatePaymentToken:A("GET",{host:g,path:"/accounts/auth/v2/access-token",authorize:!0,paymentsHost:"https://sandbox-nowgg.fun"}),googleLogin:A("POST",{host:g,path:"/accounts/auth/v1/google-auth",authorize:!0}),getUserProfile:A("GET",{host:g,path:"/accounts/users/v1/userinfo",authorize:!0}),updateUserProfile:A("PATCH",{host:g,path:"/accounts/users/v1/userinfo",authorize:!0}),logout:A("GET",{host:g,path:"/accounts/auth/v1/logout",authorize:!0}),getAppsList:A("GET",{host:h,path:"/ncm/appsc/v1/getAppsList",authorize:!1,useCurrentOrigin:!0}),getUserPreferences:A("GET",{host:null,path:"/user/v1/getPreference",authorize:!0}),updateUserPreferences:A("POST",{host:null,path:"/user/v1/updatePreference",authorize:!0}),getAppPlayFeatures:A("GET",{host:null,path:"/play/v1/getAppPlayFeatures",authorize:!0}),getInviteLink:A("POST",{host:null,path:"/invite/v1/getUrl",authorize:!0}),checkActivitiesStatus:A("POST",{host:null,path:"/rwd/v1/checkActivitiesStatus",authorize:!0}),checkWalletBalance:A("GET",{host:g,path:"/wallet/nowbux/v1/check-balance",authorize:!0}),redeemReward:A("POST",{host:null,path:"/rwd/v1/redeem",authorize:!0}),getRedemptionHistory:A("POST",{host:null,path:"/rwd/v1/getRedemptionHistory",authorize:!0}),creditReward:A("POST",{host:null,path:"/rwd/v1/credit",authorize:!0}),getJackpotReward:A("POST",{host:null,path:"/rwd/v1/getReward",authorize:!0}),getPlaytime:A("GET",{host:null,path:"/user/v1/playerStats",authorize:!0}),profileImageUpload:A("POST",{host:g,path:" /accounts/users/v1/image-upload",authorize:!0}),getHandleSuggestions:A("GET",{host:g,path:"/accounts/users/v1/handle-suggestions",authorize:!0}),getQuestInfo:A("GET",{host:null,path:"/play/v1/getQuestInfo",authorize:!0}),claimQuestReward:A("POST",{host:null,path:"/play/v1/claimQuestReward",authorize:!0}),getLeaderboard:A("GET",{host:null,path:"/rwd/v1/getLeaderboard",authorize:!0}),checkUserAccount:A("POST",{host:g,path:"/accounts/auth/v1/check-account",authorize:!0}),createUserAccount:A("POST",{host:g,path:"/accounts/auth/v1/signup",authorize:!0}),loginUser:A("POST",{host:g,path:"/accounts/auth/v1/pwd-auth",authorize:!0}),getWalletTransactions:A("GET",{host:g,path:"/wallet/nowbux/v1/transactions-list",authorize:!0}),forgotPassword:A("POST",{host:g,path:"/accounts/auth/v1/forgot-pwd",authorize:!0}),updatePassword:A("POST",{host:g,path:"/accounts/auth/v1/update-pwd",authorize:!0}),getMaintenanceStatus:A("GET",{host:null,path:"/play/v1/getMaintenanceStatus",authorize:!1}),startAiChatSession:A("POST",{host:null,path:"/bot/v1/session",authorize:!1}),getAiChatSession:A("GET",{host:null,path:"/bot/v1/session",authorize:!1}),updateAiChat:A("POST",{host:null,path:"/bot/v1/chat",authorize:!0}),createPlayUser:A("POST",{host:null,path:"/play/v1/createPlayUser",authorize:!0,feFetchExceptionRetryCount:3}),unsetNowbuxRevaluation:A("POST",{host:null,path:"/rwd/v1/updateNowbuxRevaluationAnimation",authorize:!0}),analyzeBotScreenshot:A("POST",{host:null,path:"/bot/v1/analyze",authorize:!1}),getPlayPassInfo:A("GET",{host:null,path:"/np/v1/playPass",authorize:!0}),initiate:A("POST",{host:null,path:"/np/v1/initiate",authorize:!0}),confirmSubscription:A("POST",{host:null,path:"/np/v1/confirm",authorize:!0}),purchaseWithNowBux:A("POST",{host:null,path:"/np/v1/purchaseWithNowbux",authorize:!0}),generateCouponCode:A("POST",{host:null,path:"/play/v1/generatePlayCode",authorize:!0}),rwdNowbuxTxn:A("POST",{host:null,path:"/rwd/v1/nowbuxTxn",authorize:!0})}},4858:(e,t,n)=>{"use strict";n.d(t,{Dh:()=>E,Ed:()=>ei,F0:()=>j,HZ:()=>_,IC:()=>k,Jo:()=>K,LD:()=>Z,LT:()=>$,M6:()=>eo,OJ:()=>D,Pd:()=>J,Pi:()=>H,Ry:()=>w,SQ:()=>C,St:()=>x,UL:()=>P,X9:()=>b,Xg:()=>G,Zj:()=>V,aH:()=>es,bY:()=>q,f_:()=>N,i2:()=>L,iD:()=>en,jQ:()=>z,jz:()=>X,lJ:()=>T,mu:()=>ea,nF:()=>O,os:()=>M,sG:()=>R,vf:()=>ee});var o=n(56047),r=n(29359),i=n(8716),a=n(71278),s=n(39324),l=n.n(s),c=n(5241),u=n(93007),d=n.n(u),p=n(10025),f=n(62920);n(29822);var g=n(18808),h=n(9097),y=n(67648);n(70780);var m=n(42920),v=n(65364);let A="rewardedPremiumExpiryTimestamp";function S(){let{packageName:e}=(null===r.Ay||void 0===r.Ay?void 0:r.Ay.appInfo)||{},t=(0,o.Rm)(f.J0m)||"NA";return"".concat(e,"_").concat(t)}function w(){let e,t=localStorage.getItem(A);try{e=JSON.parse(t||"")||{}}catch(t){e={}}let n=Object.keys(e);for(let t=0;t-1)return!0}catch(e){}return!1}function E(){let e;w();let t=localStorage.getItem(A),n=S();try{e=JSON.parse(t||"")||{}}catch(t){e={}}return e[n]}function _(e){let t;w();let n=localStorage.getItem(A),o=S();try{t=JSON.parse(n||"")||{}}catch(e){t={}}t[o]=e,localStorage.setItem(A,"".concat(JSON.stringify(t)))}function T(){let{publicRuntimeConfig:e}=l()(),t=v.env.NEXT_PUBLIC_ENVIRONMENT||e.NEXT_PUBLIC_ENVIRONMENT||"development";return!!(t&&t.indexOf("prod")>-1)}function P(){let{publicRuntimeConfig:e}=l()(),t=v.env.NEXT_PUBLIC_ENVIRONMENT||e.NEXT_PUBLIC_ENVIRONMENT||"development",n=!!(t&&t.indexOf("staging")>-1),o=!!(t&&t.indexOf("qa")>-1),r=!!(t&&t.indexOf("dev")>-1),i=window.location.hostname.indexOf("now.gg")>-1,a=!!(t&&t.indexOf("engg")>-1),s="staging-demo.abctest.in"===window.location.hostname,c=window.location.hostname.indexOf("restudythis")>-1,u=window.location.href.indexOf("mmoculture.com/news")>-1,d=(0,m.kj)();return(i||n||o||r||a||c||u)&&!s&&!d}function O(){var e;let{ads:t}=(null==(e=r.Ay.appInfo)?void 0:e.playFeFeatures)||{},{mobile:n,desktop:i}=t||{};return!(0,o.Fr)()||(0,o.v1)()||(0,o.bh)()?Object.assign(Object.assign({},i),{embeddedFullScreenAdsEnabled:r.Ay.embeddedFullScreenAdsEnabled}):Object.assign(Object.assign({},n),{embeddedFullScreenAdsEnabled:r.Ay.embeddedFullScreenAdsEnabled})}let I=0,R=e=>{var t;(0,c.sx)("AdBlockerDetected",Object.assign({type:e,repeatCount:I,prebidFailed:r.Ay.prebidFailed,fcFailed:r.Ay.fcFailed,typeGetAdBlockerStatus:typeof(null==(t=window.googlefc)?void 0:t.getAdBlockerStatus)},e===g.Y.GOOGLE_AD_BLOCKER?(0,o.h)():{})),I+=1};function k(){let{enableDisplayAds:e,enableMidrollAds:t,enablePrerollAds:n,embeddedFullScreenAdsEnabled:o}=O();return e||t||n||o}function x(){let{enableDisplayAds:e,enableMidrollAds:t}=O();a.A.dispatch((0,i.Gg)(t,e))}function D(e,t,n,o,i){r.Ay.appInfo.playFeFeatures&&(r.Ay.appInfo.playFeFeatures.ads={desktop:{enablePrerollAds:e,enableDisplayAds:t,enableMidrollAds:n,enableRewardedAds:o},mobile:{enablePrerollAds:e,enableDisplayAds:t,enableMidrollAds:n,enableRewardedAds:o}}),r.Ay.embeddedFullScreenAdsEnabled=i}function N(e){try{if(!e)return 0;let t=Date.now();return(new Date(e).getTime()-t)/1e3}catch(e){return 0}}function C(){let e=(0,m.kj)();if(e){r.Ay.appInfo.iapLoginPromptEnabled=!1;let t=(0,o.Qn)(e),n=!1,i=!1,a=!1,s=!1,l=O().enableRewardedAds;t&&(n=-1!==t.indexOf("b"),i=-1!==t.indexOf("a"),a=-1!==t.indexOf("c"),s=-1!==t.indexOf("d")),D(i,n,a,l,s)}(0,o.ZA)()&&D(!1,!1,!1,!1,!1)}function L(e){var t;try{let n=null==(t=null==e?void 0:e.slot)?void 0:t.getTargeting("hb_format");if(d()(n)&&n.length>0)return n.join("");return"empty"}catch(e){return"error"}}let F={AD_SQUARE_MIDROLL_VIDEO_AD_BASE_DIV_ID:"pb-slot-incontent-square-with-video",AD_SQUARE_MIDROLL_DISPLAY_AD_BASE_DIV_ID:"pb-slot-incontent-square",APP_PAGE_AD_LEADER_BOARD_BASE_DIV_ID:"pb-slot-incontent-small",APP_PAGE_AD_SKYSCRAPER_BASE_DIV_ID:"pb-slot-incontent-large"},U={AD_SQUARE_MIDROLL_VIDEO_AD_BASE_DIV_ID:"pb-slot-float",AD_SQUARE_MIDROLL_DISPLAY_AD_BASE_DIV_ID:"pb-slot-float",APP_PAGE_AD_LEADER_BOARD_BASE_DIV_ID:"pb-slot-incontent-small",APP_PAGE_AD_SKYSCRAPER_BASE_DIV_ID:"pb-slot-incontent-large"};function M(e){return e?F:U}function j(e){let t=sessionStorage.getItem(f.RwR);t&&(sessionStorage.removeItem(f.RwR),e&&(0,p.vd)(t))}let B=!1;function G(){return B}function H(e){B=e}let W=!1;function z(){return W}function V(e){W=e}let Y=null;function $(){return function(){var e;let t=localStorage.getItem("rwd_ad_".concat(null==(e=null===r.Ay||void 0===r.Ay?void 0:r.Ay.appInfo)?void 0:e.packageName)),n=new Date;if(!t)return{remainingTimeInSecs:f.G1w,shouldResetTimer:!0};let o=new Date(t);if(o.getDate()!==n.getDate()||o.getMonth()!==n.getMonth()||o.getFullYear()!==n.getFullYear())return{remainingTimeInSecs:f.G1w,shouldResetTimer:!0};let i=Math.floor((n.getTime()-o.getTime())/1e3);return{remainingTimeInSecs:i0}function q(e){window.tude.cmd.push(()=>{let t=(0,y.Ay)(e||(null===r.Ay||void 0===r.Ay?void 0:r.Ay.appInfo));window.tude.setPageTargeting(Object.assign({},t))}),Y||(Y=setInterval(()=>{let t=(0,y.Ay)(e||(null===r.Ay||void 0===r.Ay?void 0:r.Ay.appInfo));window.tude.cmd.push(()=>{window.tude.setPageTargeting({tbin:t.tbin})})},y.Ip/5))}let J=4,X=164;function K(){return(0,o.RT)()?5:(0,o.LD)()||(null===r.Ay||void 0===r.Ay?void 0:r.Ay.isMultiSubscriptionFlow)?20:15}let Q=null;function Z(e){Q=e}function ee(){var e;try{null==(e=null==Q?void 0:Q.closeInterstitial)||e.call(Q)}catch(e){}}let et=!1;function en(){return et}function eo(e){et=e}let er=!1;function ei(){return er}function ea(e){er=e}function es(){return new Promise(e=>{setTimeout(e,0)})}},4917:(e,t,n)=>{var o=n(98825),r=n(1602),i=n(52782),a=Math.max,s=Math.min;e.exports=function(e,t,n){var l,c,u,d,p,f,g=0,h=!1,y=!1,m=!0;if("function"!=typeof e)throw TypeError("Expected a function");function v(t){var n=l,o=c;return l=c=void 0,g=t,d=e.apply(o,n)}function A(e){var n=e-f,o=e-g;return void 0===f||n>=t||n<0||y&&o>=u}function S(){var e,n,o,i=r();if(A(i))return w(i);p=setTimeout(S,(e=i-f,n=i-g,o=t-e,y?s(o,u-n):o))}function w(e){return(p=void 0,m&&l)?v(e):(l=c=void 0,d)}function b(){var e,n=r(),o=A(n);if(l=arguments,c=this,f=n,o){if(void 0===p)return g=e=f,p=setTimeout(S,t),h?v(e):d;if(y)return clearTimeout(p),p=setTimeout(S,t),v(f)}return void 0===p&&(p=setTimeout(S,t)),d}return t=i(t)||0,o(n)&&(h=!!n.leading,u=(y="maxWait"in n)?a(i(n.maxWait)||0,t):u,m="trailing"in n?!!n.trailing:m),b.cancel=function(){void 0!==p&&clearTimeout(p),g=0,l=f=c=p=void 0},b.flush=function(){return void 0===p?d:w(r())},b}},5241:(e,t,n)=>{"use strict";n.d(t,{Dv:()=>y,Ih:()=>b,LB:()=>E,ZI:()=>m,b7:()=>P,dN:()=>w,md:()=>I,qI:()=>O,sx:()=>v});var o=n(4208),r=n(29359),i=n(19362),a=n(83515),s=n(62920),l=n(59319),c=n(56047),u=n(43446),d=n(88548),p=n(71278),f=n(52094),g=n(4858);let h=!1,y=e=>{h=e},m=()=>navigator.maxTouchPoints&&navigator.maxTouchPoints>2&&(0,c.x7)()?"tablet":"",v=function(e){var t,n,a,d,p,g;let y=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},m=arguments.length>2?arguments[2]:void 0,v=arguments.length>3&&void 0!==arguments[3]?arguments[3]:u.p.PLAY_PAGE,A=(arguments.length>4&&void 0!==arguments[4]&&arguments[4],arguments.length>5&&void 0!==arguments[5]?arguments[5]:"");if(!(0,i.fU)()){let i="".concat(v).concat(e);if(s.FQ$[i])return;e===s.m1E&&(h=!0);let{utmSource:u,utmMedium:S,utmCampaign:w}=(0,r.Zl)();y||(y={});let b=Object.assign(Object.assign(Object.assign(Object.assign({},(0,c.TZ)()),{feSessionId:window.feSessionId||"",packageName:A||(null==(t=null===r.Ay||void 0===r.Ay?void 0:r.Ay.appInfo)?void 0:t.packageName)||"",originTimestamp:new Date,eventName:i,extraData:Object.assign(Object.assign({},y),{nggVersionMismatch:!!window.nggVersionMismatch,timeSinceNavMsecs:null!=(n=null==performance?void 0:performance.now())?n:0,timeSinceBootstrapMsecs:(null==performance?void 0:performance.now)?performance.now()-window.timeSinceBootstrapMsecs:0,isWebrtcConnected:"connected"===(0,f.Zu)(),webrtcConnectionState:(0,f.Zu)(),workflowCategory:r.Ay.appInfo.workflowCategory,pUserType:(0,c.Yw)()}),utmSource:u,utmMedium:S,utmCampaign:w,accessCode:sessionStorage.getItem("access_code")||"",ngReferrer:sessionStorage.getItem("ngReferrer")||"NA",pageReferrer:sessionStorage.getItem("pageReferrer")||"NA",ngEntryPoint:sessionStorage.getItem("ngEntryPoint")||"NA",playSessionId:r.Ay.playSessionId||"NA",visitId:window.ngVisitId,ntmSource:sessionStorage.getItem("ntmSource")||"NA",feSessionTags:(0,c.zE)()}),(0,c.el)()),(0,c.ib)());if("function"==typeof m&&(0,o.$k)())o.Ay.trackEventInBackground({},b),m();else a=void 0,d=void 0,p=void 0,g=function*(){yield o.Ay.trackEvent({},b);try{m&&"function"==typeof m&&m()}catch(e){(0,l.Ay)(Error("Invalid Callback"),{error:b,event:e})}},new(p||(p=Promise))(function(e,t){function n(e){try{r(g.next(e))}catch(e){t(e)}}function o(e){try{r(g.throw(e))}catch(e){t(e)}}function r(t){var r;t.done?e(t.value):((r=t.value)instanceof p?r:new p(function(e){e(r)})).then(n,o)}r((g=g.apply(a,d||[])).next())})}},A=0,S={},w=e=>{if(!S[e.type]){let t=s.MZ[e.type];t===s.MZ.pointerdown&&"touch"===e.pointerType&&(t=""),t&&(S[e.type]=!0,setTimeout(()=>{v(s.wHH,{element:"Window",action:t,mousePollingRate:r.Ay.pollingRate})},0))}},b=()=>{A&&(clearTimeout(A),A=0)},E=e=>{setTimeout(()=>{if(!S[e.type]){let t=s.MZ[e.type];t&&(S[e.type]=!0,v(s.wHH,{element:"Window",action:t}))}(0,c.Fr)()&&p.A.getState().play.keyboardActive&&!A&&(A=window.setTimeout(()=>{(0,d.pd)(e)},800))},0)},_=!1,T=(e,t,n,o)=>{var r,i,s,l,c,d;let f=n===u.p.APP_PAGE,y=n===u.p.PLAY_PAGE,m=(0,a.VM)(),{play:A,ads:S}=p.A.getState(),{isPlayerLoaded:w,gameDisplayed:b,premiumPassType:E}=A||{},{adsEnded:T,rewardedPremiumTimeInSec:P}=S||{},O={elapsedTime:(Date.now()-e)/1e3,isTabVisible:"visible"===document.visibilityState,intervalDurationSecs:30,authUserId:m?m.userId:"",reduxGameDisplayed:b,reduxAdsEnded:T,totalJSHeapSize:(null==(i=null==(r=null==window?void 0:window.performance)?void 0:r.memory)?void 0:i.totalJSHeapSize)||-1,jsHeapSizeLimit:(null==(l=null==(s=null==window?void 0:window.performance)?void 0:s.memory)?void 0:l.jsHeapSizeLimit)||-1,usedJSHeapSize:(null==(d=null==(c=null==window?void 0:window.performance)?void 0:c.memory)?void 0:d.usedJSHeapSize)||-1};O.isGameDisplayed=!t&&h,(f||y)&&(O.isPlayerLoaded=w,P>0?(0,g.LT)()?O.playtimeType="AdFreeTrial":O.playtimeType="AdFreeRewarded":O.playtimeType=E||"NA"),w&&sessionStorage.setItem("lastUptimeEventTime",Date.now().toString());let I=_?"Uptime":"FirstUptime";"2"===o?v("Uptime".concat(o||""),O,void 0,n):(0,a.fg)()||!_?(_=!0,v("".concat(I).concat(o||""),O,void 0,n)):v("LoginScreenUptime",O,void 0)},P=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:3e4,r=Date.now();return T(r,e,t,n),setInterval(()=>{T(r,e,t,n)},o)},O=(e,t)=>{if(t===s.G$3.premiumSubscription){let t=sessionStorage.getItem(s.eT9);e=Object.assign(Object.assign({},e),{nowPassSource:t||p.A.getState().play.subscriptionFlowSource})}return e},I=e=>{let t=p.A.getState().play.subscriptionFlowSource;t&&(sessionStorage.setItem(s.eT9,t),sessionStorage.setItem(s.dOB,e))}},6801:(e,t,n)=>{"use strict";var o,r;n.d(t,{E4:()=>l,G3:()=>d,Ls:()=>r,Tl:()=>u,g5:()=>c,yO:()=>i,yY:()=>a,z6:()=>s});let i=32767,a=6,s=41,l=42,c={InpMouseMove:0,InpMouseLDown:1,InpMouseLUp:2,InpMouseMDown:3,InpMouseMUp:4,InpMouseRDown:5,InpMouseRUp:6,InpMouseX1Down:7,InpMouseX1Up:8,InpMouseX2Down:9,InpMouseX2Up:10,InpMouseWheel:11},u=["L","M","R","X1","X2"],d=/(Mac|iPhone|iPod|iPad)/i.test(null==(o=null==window?void 0:window.navigator)?void 0:o.platform)?50:25;!function(e){e[e.DOWN=1]="DOWN",e[e.UP=2]="UP",e[e.MOVE=3]="MOVE"}(r||(r={}))},8716:(e,t,n)=>{"use strict";n.d(t,{FU:()=>c,Gg:()=>s,rE:()=>l});var o=n(29822),r=n(29359),i=n(56047),a=n(42920);let s=(e,t)=>n=>{(0,a.kj)()?n({type:o.A.LOAD_MID_ROLL,payload:{midRollAdsFullScreen:r.Ay.embeddedFullScreenAdsEnabled,midRollAds:e,showInGameAds:t}}):!(0,i.Fr)()||(0,i.v1)()||(0,i.bh)()?(0,i.Fr)()||(0,i.v1)()||(0,i.bh)()?((0,i.v1)()||(0,i.bh)())&&n((0,i.ZZ)()?{type:o.A.LOAD_MID_ROLL,payload:{midRollAdsMobile:!0,showInGameAds:t}}:{type:o.A.LOAD_MID_ROLL,payload:{showInGameAds:t}}):n({type:o.A.LOAD_MID_ROLL,payload:{midRollAds:e,showInGameAds:t}}):n((0,i.ZZ)()?{type:o.A.LOAD_MID_ROLL,payload:{midRollAdsMobile:!0,mobileExperiment:t}}:{type:o.A.LOAD_MID_ROLL,payload:{mobileExperiment:t}})},l=e=>t=>{t({type:o.A.SET_IN_GAME_AD,payload:{inGameAd:e}})},c=(e,t,n,r)=>i=>{i({type:o.A.SET_IN_GAME_AD,payload:{skyScraperRef1:e,skyScraperRef2:t,leaderBoardRef1:n,leaderBoardRef2:r}})}},9097:(e,t,n)=>{"use strict";let o;n.d(t,{CQ:()=>w,Ek:()=>C,Gt:()=>_,Ld:()=>k,Lt:()=>v,M6:()=>N,M7:()=>E,O2:()=>R,TW:()=>P,UE:()=>b,UZ:()=>D,_T:()=>S,e5:()=>O,h9:()=>m,mw:()=>A,ql:()=>T,vS:()=>I});var r=n(29359),i=n(71278),a=n(70780),s=n(29822),l=n(56047),c=n(35402),u=n(4858),d=n(10025),p=n(21555),f=n(4208),g=n(62920),h=n(37110),y=function(e,t,n,o){return new(n||(n=Promise))(function(r,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((o=o.apply(e,t||[])).next())})};let m=["US","GB","BR","AU","IN","ID","VN","TH","PH","CA"],v=()=>y(void 0,void 0,void 0,function*(){let e,t;if((0,l.mJ)())try{let n=yield f.Ay.generatePaymentToken({implicitGuestLogin:!0},{});if(n.success)e=n.access_token,t="https://sandbox-now.gg";else throw Error("Fail generatePaymentToken: ".concat(JSON.stringify(n)))}catch(e){throw Error("generatePaymentToken API error: ".concat(e))}else e=localStorage.getItem(g.ilC),t="https://".concat(r.Ay.appInfo.authServiceHost);return{accessToken:e,hostUrl:t}});function A(e){return y(this,void 0,void 0,function*(){let{accessToken:t,hostUrl:n}=yield v();return p.A.silenceCallback({},{access_token:t,hostUrl:n,appId:e,countryCode:r.Ay.countryCode||"US",oauthId:11,type:"NowV2",channel:"nowgg_cloud"})})}function S(e){let{productId:t,orderNumber:n,purchaseToken:o,token:a}=e;return y(this,void 0,void 0,function*(){return f.Ay.confirmSubscription({},{appId:r.Ay.appInfo.appId,productId:t,orderNumber:n,purchaseToken:o,token:a,feSessionId:window.feSessionId||"NA",uaSessionId:(0,l.Rm)(g.J0m),uaId:(0,l.qk)(g.kk8),playSessionId:r.Ay.playSessionId||"NA",pageReferrer:sessionStorage.getItem("pageReferrer")||"NA",ngReferrer:sessionStorage.getItem("ngReferrer")||"NA",ngEntryPoint:sessionStorage.getItem("ngEntryPoint")||"NA",utmSource:sessionStorage.getItem("utm_source")||"NA",utmCampaign:sessionStorage.getItem("utm_campaign")||"NA",utmMedium:sessionStorage.getItem("utm_medium")||"NA",visitId:window.ngVisitId,ntmSource:sessionStorage.getItem("ntmSource")||"NA",feDeviceType:(0,l.el)().feDeviceType,feOsName:(0,l.el)().feOsName,feSessionTags:(0,l.zE)(),userSource:localStorage.getItem("userSource")||"NA",visitSource:(0,l.fT)(),userCampaign:localStorage.getItem("userCampaign")||"NA",visitCampaign:sessionStorage.getItem("utm_campaign")||"NA",userAcqVar:localStorage.getItem("userAcqVar")||"NA",nowPassSource:i.A.getState().play.subscriptionFlowSource})})}let w=e=>"nowbux"===e,b=()=>(0,l.mP)()&&!(0,r.a2)()&&!r.Ay.isMultiSubscriptionFlow&&"US"===r.Ay.countryCode&&r.Ay.appInfo.playFeFeatures.enableSubscriptionPass,E=()=>{var e,t,n,o,i;return(null==(t=null==(e=r.Ay.appInfo)?void 0:e.playFeFeatures)?void 0:t.enableSubscriptionPass)&&(r.Ay.isAppPage||r.Ay.isHomePage)&&m.includes(r.Ay.countryCode)&&!(null==(i=null==(o=null==(n=r.Ay.appInfo)?void 0:n.playFeFeatures)?void 0:o.tryAndDownload)?void 0:i.isEnabled)&&!(0,r.a2)()},_=()=>{var e,t,n;return((0,l.RT)()||r.Ay.isAppPage)&&!(null==(n=null==(t=null==(e=r.Ay.appInfo)?void 0:e.playFeFeatures)?void 0:t.tryAndDownload)?void 0:n.isEnabled)&&!(0,r.a2)()&&(0,l.Yw)()!==h.to.PROXY&&(r.Ay.appInfo.playFeFeatures.enableSubscriptionPass&&(r.Ay.isMultiSubscriptionFlow||(0,u.IC)())||(0,l.LD)()||(0,l.RT)())&&!(0,l.oN)()},T=()=>r.Ay.appInfo.playFeFeatures.enableSubscriptionPass&&(0,l.xl)()&&m.includes(r.Ay.countryCode),P=()=>!1,O=86400;function I(e,t){if(clearInterval(o),!e)return;let{playPassTimeLeft:n=0}=e||{},{type:u=""}=e||{},p="";e.expiryAt&&(p=(e=>{let t=new Date(e),n="".concat(t.getDate(),"\n ").concat(l.oy[t.getMonth()]," ").concat(t.getFullYear(),", ");return n+="".concat((t.getHours()%12).toString().padStart(2,"0"),":").concat(t.getMinutes().toString().padStart(2,"0")),n+=t.getHours()>11?"PM":"AM"})(e.expiryAt)),i.A.dispatch({type:a.A.NOWPREMIUM_SUBSCRIPTION_STATUS,payload:{formattedNpDate:p,nowPremiumSubscriptionActive:!0,premiumPassType:u,activeSubscriptionTimeSecs:n,activeSubscriptionMembershipId:e.membershipId,activeSubscriptionExpiryAt:e.expiryAt}}),i.A.dispatch({type:s.A.UPDATE_ADS_STATE,payload:{adsEnded:!0}}),t&&i.A.dispatch({type:a.A.NOWPREMIUM_SUBSCRIPTION_STATUS,payload:{isCreatePlayUserPremiumResolved:!0}}),108e3{i.A.dispatch({type:a.A.NOWPREMIUM_SUBSCRIPTION_STATUS,payload:{activeSubscriptionTimeSecs:n-=1}}),n<1&&(i.A.dispatch({type:a.A.NOWPREMIUM_SUBSCRIPTION_STATUS,payload:{nowPremiumSubscriptionActive:!1,premiumPassType:"",formattedNpDate:"",showSubscriptionExpiredModal:!(0,l.ZA)()&&!r.Ay.isMultiSubscriptionFlow}}),(0,l.ZA)()&&!(0,l.oN)()&&((0,d.gD)(),i.A.dispatch({type:a.A.SET_ERROR,payload:{error:c.wD.FailureProxyUserLimitExceeded,clientId:"",sessionId:"",isAndroidConnected:!1,errorDescription:"Premium subscription end"}})),clearInterval(o),(0,l.oN)()?((0,d.gD)(),i.A.dispatch({type:a.A.UPDATE_PLAY_STATE,payload:{isSubscriptionExpiredInMiddleOfGame:!0}})):r.Ay.isMultiSubscriptionFlow&&!(0,l.ZA)()&&((0,d.gD)(),i.A.dispatch({type:a.A.UPDATE_PLAY_STATE,payload:{isSubscriptionExpiredInMiddleOfGame:!0,showMultiSubscriptionModal:!0}})))},1e3))}function R(e,t,n){return y(this,void 0,void 0,function*(){try{let o=t||"";if(!o){let t=yield A(e);if(!t.success)throw Error("silenceCallback API Fail: ".concat(JSON.stringify(t)));o=t.data.token}if(o){let t=yield p.A.getPurchases({},{appId:e,token:o,channel:"nowgg_cloud"});if(!t.success)throw Error("getPurchases API Fail: ".concat(JSON.stringify(t)));let{INAPP_PURCHASE_DATA_LIST:r}=(null==t?void 0:t.data)||{},s=[];if((null==r?void 0:r.length)>0)for(let e=0;e<(null==r?void 0:r.length);e+=1){let{productId:t,orderId:n,purchaseToken:i}=r[e];s.push(S({productId:t,orderNumber:n,purchaseToken:i,token:o}))}let l=yield Promise.any(s);if(l.status===c.wD.Success)return i.A.dispatch({type:a.A.NOWPREMIUM_SUBSCRIPTION_STATUS,payload:{nowPremiumSubscriptionActive:!0,showSubscriptionEnabledModal:!0,showSubscriptionModal:!1,paymentInProgress:!1}}),I(l.subscriptionInfo),n&&i.A.dispatch({type:a.A.NOWPREMIUM_SUBSCRIPTION_STATUS,payload:{isCreatePlayUserPremiumResolved:!0}}),!0;return n&&i.A.dispatch({type:a.A.NOWPREMIUM_SUBSCRIPTION_STATUS,payload:{isCreatePlayUserPremiumResolved:!0}}),!1}}catch(e){}return n&&i.A.dispatch({type:a.A.NOWPREMIUM_SUBSCRIPTION_STATUS,payload:{isCreatePlayUserPremiumResolved:!0}}),!1})}let k=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return y(void 0,void 0,void 0,function*(){if(void 0!==t&&i.A.dispatch({type:a.A.UPDATE_PLAY_STATE,payload:{nowbuxCreditLimitExceeded:t}}),!e)return void i.A.dispatch({type:a.A.NOWPREMIUM_SUBSCRIPTION_STATUS,payload:{isCreatePlayUserPremiumResolved:!0}});let{status:n}=e;"pending"===n?R(e.subscriptionAppId,void 0,!0):I(e,!0)})},x="NOW_BUX_GRANTED",D=()=>sessionStorage.getItem(x)===r.hy,N=()=>{sessionStorage.setItem(x,r.hy)},C=()=>{sessionStorage.removeItem(x)}},10025:(e,t,n)=>{"use strict";let o,r,i,a,s,l,c,u,d,p,f,g;n.d(t,{mZ:()=>en,CB:()=>Z,M_:()=>ew,Iv:()=>eh,LI:()=>eP,Ci:()=>eu,LE:()=>ed,gD:()=>ec,UJ:()=>eM,uW:()=>eH,eg:()=>es,Tu:()=>ej,vd:()=>er,fE:()=>el,Pq:()=>ei,mJ:()=>ea,zz:()=>eO,QM:()=>eW});var h=n(59319),y=n(1719),m=n(69025),v=n(49889),A=n(62920),S=n(35402),w=n(70780),b=n(80082),E=n(29822),_=n(59803),T=n(71278),P=n(56047),O=n(88548),I=n(95036),R=n(63148),k=n(29359),x=n(55022),D=n(80782),N=n.n(D),C=n(86887),L=n(38538),F=n(5241),U=n(92786),M=n(65712),j=n(34754),B=n(69990),G=n(47078),H=n(42920),W=n(88981),z=n(18808),V=n(73319);let Y=e=>{if(e.accelerationIncludingGravity&&null!==e.accelerationIncludingGravity.x&&null!==e.accelerationIncludingGravity.y&&null!==e.accelerationIncludingGravity.z){let t=Math.floor(1e6*e.accelerationIncludingGravity.x),n=Math.floor(1e6*e.accelerationIncludingGravity.y),o=Math.floor(1e6*e.accelerationIncludingGravity.z);(0,P.OF)()&&(t=t<0?Math.abs(t):-t,n=n<0?Math.abs(n):-n,o=o<0?Math.abs(o):-o);try{window.screen.orientation.type.includes("secondary")&&(t=-t,n=-n,o=-o)}catch(e){}let r=[t,n,o];(0,V.v)((0,m.ZT)(201,r))}};var $=n(73302),q=n(4858),J=n(52094),X=n(25553),K=n(83806),Q=function(e,t,n,o){return new(n||(n=Promise))(function(r,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((o=o.apply(e,t||[])).next())})};let Z="fe-roblox-exp-id",ee=!1,et={receivedBuffer:[],receivedSize:0,name:"",totalSize:0,initiated:!1},en={};function eo(e){et.receivedBuffer=[],et.receivedSize=0,et.name="",et.totalSize=0,et.initiated=!1,T.A.dispatch({type:w.A.UPDATE_DOWNLOAD_STATE,payload:{showLoader:!0,loaderType:e}}),setTimeout(()=>{T.A.dispatch({type:w.A.UPDATE_DOWNLOAD_STATE,payload:{showLoader:!1}})},3e3)}let er=e=>{if(o&&(null==o?void 0:o.readyState)==="open")try{o.send(e)}catch(e){}},ei=e=>er("osd::".concat(e)),ea=e=>er("showtouches::".concat(e)),es=e=>{let t=e.coords;er("".concat(A.sXX.location).concat(t.latitude,"::").concat(t.longitude))},el=N()(er,16),ec=()=>{var e;try{let{play:t}=T.A.getState();"function"==typeof(null==(e=null==t?void 0:t.peerConnection)?void 0:e.close)&&t.peerConnection.close(),t.peerConnection=null}catch(e){}},eu=e=>{e?er(A.sXX.backToGame):er("".concat(A.sXX.backToGame,"::force"))},ed=()=>{let e="visible"===document.visibilityState;er("".concat(A.sXX.tab).concat(e?"active":"inactive")),v.zR.tabVisible=e;let t=T.A.getState(),{muted:n,videoRef:o,peerConnection:r}=t.play;if((0,P.OF)()?(0,P.OF)()&&!e&&o&&o.current&&(o.current.muted=!0):e?!n&&o&&o.current&&(o.current.muted=!1):!n&&o&&o.current&&(o.current.muted=!0),ee&&e&&r){let{sessionMigrated:e,showDisconnectScreen:n,error:o,inactiveTimeout:i,sessionComplete:a}=t.play;!(e||n||o||i||a)&&(0,k.v5)((null==r?void 0:r.connectionState)||"closed")&&(0,J.Lc)()}},ep=()=>{B.A.type&&"desktop"===B.A.type&&!(0,P.Fr)()&&T.A.dispatch({type:w.A.IME_STATUS,payload:{isImeEnabled:!!y.ly.isOpen}})},ef=e=>{if(et.receivedBuffer.push(e.data),et.receivedSize+=e.data.byteLength,et.receivedSize>=et.totalSize){let e=document.createElement("a");if(e)try{let t=new Blob(et.receivedBuffer);e.href=URL.createObjectURL(t),e.download=et.name,e.click(),URL.revokeObjectURL(e.href),eo("success")}catch(e){eo("warning"),er("fileupload::failed")}}};function eg(){T.A.dispatch({type:w.A.SHOW_FILE_UPLOADER,payload:{showFileUploader:!1,fileUploaderAccept:""}}),setTimeout(()=>{T.A.dispatch({type:w.A.UPDATE_UPLOAD_STATE,payload:{showLoader:!1}})},3e3)}function eh(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];i&&(i.close(),i=null),eg();let t={loaderType:"warning"};e&&(t.showLoader=!0),T.A.dispatch({type:w.A.UPDATE_UPLOAD_STATE,payload:t})}let ey=!1,em={audio:!1,video:{width:{exact:320},height:{exact:240}}},ev={audio:!1,video:{width:{exact:640},height:{exact:480}}};function eA(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Q(this,void 0,void 0,function*(){let{orientationValue:n}=T.A.getState().play;(0,P.Fr)()&&(em.video.width.exact=240,em.video.height.exact=320,"0"===e?(em.video.facingMode={exact:"environment"},ev.video.facingMode={exact:"environment"}):(em.video.facingMode={exact:"user"},ev.video.facingMode={exact:"user"}));try{s=yield navigator.mediaDevices.getUserMedia(em)}catch(e){try{s=yield navigator.mediaDevices.getUserMedia(ev)}catch(e){return!1}}return t&&l.replaceTrack(s.getTracks()[0]).catch(console.log),!0})}let eS=()=>{c.getTracks().forEach(e=>e.stop()),u.replaceTrack(null).catch(console.log)};function ew(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];arguments.length>1&&void 0!==arguments[1]&&arguments[1],e||er("mic::off"),c&&(c.getTracks().forEach(e=>e.stop()),u.replaceTrack(null).catch(console.log),window.removeEventListener("beforeunload",eS))}function eb(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Q(this,void 0,void 0,function*(){let{play:t}=T.A.getState();if(e||er("mic::on"),d){try{c=yield navigator.mediaDevices.getUserMedia({audio:!0,video:!1}),window.addEventListener("beforeunload",eS)}catch(e){ew()}if(!u&&t.peerConnection){let e=c.getTracks()[0];return u=t.peerConnection.addTrack(e,c),!0}return u.replaceTrack(c.getTracks()[0]).catch(console.log),!0}})}function eE(e){return Q(this,void 0,void 0,function*(){yield new Promise(t=>setTimeout(t,e))})}function e_(e){(0,F.sx)("NegotiationNeeded")}let eT=0,eP=()=>(!eT&&((eT=+"".concat(sessionStorage.getItem(Z)))||(eT=0)),eT),eO=()=>{T.A.dispatch({type:w.A.SESSION_DISCONNECT_TOAST,payload:{showDisconnectScreen:!0,showDisconnectWarning:!1}})},eI=e=>{var t;let{play:n}=T.A.getState(),o=n.nativeMouseEnabled;if((0,P.N5)(k.XJ.appInfo.packageName,B.A.currentPackageName)&&(e&&e>0?v.zR.native=!0:(v.zR.native=!1,sessionStorage.removeItem(Z),C.Ay.experienceEnded())),v.zR.native){o||(0,m.fu)(!0);let n=(0,G.kt)(e);(0,U.xJ)(B.A.currentPackageName,JSON.stringify({Images:(null==n?void 0:n.images)||[],MultipleTextureCRC:!!(null==(t=null==n?void 0:n.images)?void 0:t.length)}))}else(0,m.xE)();en.nativeM=v.zR.native,C.Ay.showLookAroundToasts=!1,o!==v.zR.native&&(T.A.dispatch({type:w.A.UPDATE_BACK_BTN,payload:{nativeMouseEnabled:v.zR.native}}),T.A.dispatch({type:_.A.SET_LEGACY_CONTROLS,payload:{legacyControls:!v.zR.native}}))},eR=e=>{B.A.currentPackageName=e,B.A.lastAppChanged=Date.now()},ek=(e,t,n)=>{var o;let r=e?"".concat(n,"::").concat(e):n,{ads:i,play:a}=T.A.getState(),{adBlockerMethodType:s}=a,l=s!==z.Y.NONE,{enableRewardedAds:c}=(0,q.nF)();c?(0,P.qv)()&&l?er(null==r?void 0:r.replace("::fail","::adblocker_detected")):l||"visible"!==document.visibilityState||(null==(o=window.nggClientIpInfo)?void 0:o.browserCode)==="mob"?er(r):(sessionStorage.setItem(A.RwR,null==r?void 0:r.replace("::fail","::user_refreshed_page")),!i.rewardAdsLoadAdsSdk&&c&&T.A.dispatch({type:E.A.UPDATE_REWARDED_SDK_STATE,payload:{rewardAdsLoadAdsSdk:!0}}),T.A.dispatch({type:E.A.UPDATE_REWARDED_SDK_STATE,payload:{rewardedAdType:t,rewardedAdsSDK:!0,sdkType:e||null}})):er(null==r?void 0:r.replace("::fail","::rewarded_ads_disabled"))},ex=e=>{var t,n;if(!(0,P.Fr)()&&!(0,P.v1)()&&!(0,P.bh)()&&!k.XJ.appInfo.playFeFeatures.disableImap&&"Html"!==k.XJ.appInfo.appType&&(0,R.TH)()){let{videoRef:o}=T.A.getState().play;try{C.Ay.initialize(e,(null==(t=null==o?void 0:o.current)?void 0:t.width)||1280,(null==(n=null==o?void 0:o.current)?void 0:n.height)||720,v.zR.splitScreenPerc)}catch(e){}}},eD=!1,eN=e=>{var t;if("com.android.permissioncontroller"===e.packageName)return;en[A.QVW]=e,v.zR.isRoblox=(0,P.ZZ)(e.packageName);let n=(0,P.N5)(k.XJ.appInfo.packageName,e.packageName)||"tv.game"===e.packageName||"gg.now.client.android"===e.packageName||"gg.now.reward.gateway"===e.packageName;if((0,F.sx)("TopActivity",{isGameOnTop:n,gameVisibleWithTopActivity:eD,appInfoPackageName:k.XJ.appInfo.packageName,androidPackageName:e.packageName}),n&&!eD&&(ey||ex(k.XJ.appInfo.packageName),ey=!0,T.A.dispatch({type:w.A.GAME_DISPLAYED,payload:{gameDisplayed:!0}}),eD=!0),ee&&B.A.currentPackageName!==e.packageName&&(ex(e.packageName),(0,F.sx)("AppChanged",{from:B.A.currentPackageName,to:e.packageName,timeSpent:Math.round((Date.now()-B.A.lastAppChanged)/1e3)}),eR(e.packageName)),B.A.currentPackageName=e.packageName,!(0,P.Fr)()){let{nativeMouseActivities:t}=k.XJ.appInfo.playFeFeatures;if("gg.now.client.android"===e.packageName||"tv.game"===e.packageName||"gg.now.reward.gateway"===e.packageName)v.zR.native=!1,(0,m.xE)();else if(n&&t&&(t.indexOf(e.activityName)>=0||t.indexOf("*")>=0)){if(v.zR.native)return;v.zR.native=!0,(0,m.fu)(!0),en.nativeM=v.zR.native,C.Ay.showLookAroundToasts=!0,"com.roblox.client/.game.ActivityGame"!==e.activityName&&T.A.dispatch({type:w.A.ROBLOX_TOAST,payload:{robloxToast:!1}}),T.A.dispatch({type:w.A.UPDATE_BACK_BTN,payload:{nativeMouseEnabled:v.zR.native}})}else t&&(0>t.indexOf(e.activityName)||0>t.indexOf("*"))?(v.zR.native=!1,(0,m.xE)()):(0,P.ZZ)(e.packageName)&&eI(eP())}T.A.dispatch({type:_.A.SET_LEGACY_CONTROLS,payload:{legacyControls:!v.zR.native}}),T.A.dispatch({type:w.A.UPDATE_BACK_BTN,payload:{showBackbtn:!n&&(null==(t=null===k.XJ||void 0===k.XJ?void 0:k.XJ.appInfo)?void 0:t.enableBackButton)}});let o=e.activityName===A.e5L;T.A.dispatch({type:w.A.UPDATE_PLAY_STATE,payload:{androidActivityName:e.activityName}}),o&&(0,F.sx)(A.v9Q,{authProvider:"google"})},eC=function(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";er("screen::orientation::".concat(n||(null==(t=null==(e=window.screen)?void 0:e.orientation)?void 0:t.type)||"landscape-primary"))},eL=e=>{eC(e.target.type)},eF=e=>{g&&e.data&&"CLOSE"===e.data.action&&(g.close(),g=null)},eU=!1,eM=()=>eU,ej=(e,t)=>{e&&t&&er("screen::size::".concat(e,"::").concat(t))},eB=e=>()=>{switch(e){case"close":eg(),i&&(i.close(),i=null);break;case"error":eh(!0),i&&(i.close(),i=null)}},eG=e=>()=>{switch(e){case"open":T.A.dispatch({type:w.A.UPDATE_DOWNLOAD_STATE,payload:{showLoader:!0,loaderType:"downloading"}});break;case"close":eo(T.A.getState().play.fileDownloadState.loaderType),a&&(a.close(),a=null);break;case"error":eo("warning"),a&&(a.close(),a=null)}},eH=e=>{let{channel:t}=e;if((0,F.sx)("DataChannelCallback",{label:null==t?void 0:t.label}),"fileUpload"===t.label){(i=t).binaryType="arraybuffer",i.onopen=function e(){if(!i)return;let t=i;for(t.bufferedAmountLowThreshold=Math.floor(131072);r&&r.byteLength;){t.bufferedAmountLowThreshold=Math.floor(131072),t.onbufferedamountlow=()=>{t.bufferedAmount>t.bufferedAmountLowThreshold&&((null==t?void 0:t.onbufferedamountlow)&&(t.onbufferedamountlow=null),e())};let n=r.slice(0,262144);r=r.slice(262144,r.byteLength),(null==t?void 0:t.readyState)==="open"&&t.send(n)}},i.onclose=eB("close"),i.onerror=eB("error");return}if("fileDownload"===t.label){(a=t).onmessage=ef,a.onopen=eG("open"),a.onclose=eG("close"),a.onerror=eG("error");return}o=t,t.onmessage=e=>{(e=>Q(void 0,void 0,void 0,function*(){var t,n,o,i,a,c;switch(e.msgType){case A.d75:{let t=e.accountTypesPresent&&e.accountTypesPresent.includes("com.google");T.A.dispatch({type:w.A.UPDATE_PLAY_STATE,payload:{iapUserLogin:t}}),t&&(0,F.sx)(A.oT1,{authProvider:"google"});break}case A.UB7:{(0,F.sx)("AndroidReady",{packageName:e.packageName,repeatCount:(0,K.Cr)(),splitScreenPerc:e.splitScreenPercentage,screenorientation:e.screenorientation});try{(null==(n=null==(t=window.screen)?void 0:t.orientation)?void 0:n.addEventListener)&&window.screen.orientation.addEventListener("change",eL)}catch(e){(0,h.Ay)(e)}let{ads:r}=T.A.getState(),{enableRewardedAds:i}=(0,q.nF)();!r.rewardAdsLoadAdsSdk&&i&&T.A.dispatch({type:E.A.UPDATE_REWARDED_SDK_STATE,payload:{rewardAdsLoadAdsSdk:!0}}),T.A.dispatch({type:w.A.GAME_DISPLAYED,payload:{gameDisplayed:!0}}),(0,P.N5)(k.XJ.appInfo.packageName,e.packageName)&&eN(e),"true"===e.showGoogleLoginPopup&&T.A.dispatch({type:w.A.SHOW_GOOGLE_ACCOUNT_REQUIRED_POPUP,payload:{showGoogleAccountRequiredPopup:!0}}),(0,K.jn)(),(0,F.sx)("AppReady"),eC(),v.zR.splitScreenPerc=(0,X.A)(Number(e.splitScreenPercentage)||0,2),(0,H.Ay)("APP_LAUNCHED","","NowggIfpSdkEvent"),setTimeout(()=>{var e,t,n;let{isAndroidConnected:o}=T.A.getState().play;(null==(n=null==(t=null==(e=k.XJ.appInfo)?void 0:e.playFeFeatures)?void 0:t.tryAndDownload)?void 0:n.isEnabled)&&o&&T.A.dispatch({type:w.A.SHOW_LOGIN_TIP,payload:{loginTip:!0}})},6e5),ei("0"),ea("0"),(null==(o=null===k.XJ||void 0===k.XJ?void 0:k.XJ.features)?void 0:o.enableMotionSensor)&&(0,P.Fr)()&&((0,P.OF)()?document.addEventListener("mouseup",()=>{if(window.DeviceMotionEvent){let e=DeviceOrientationEvent.requestPermission;"function"==typeof e&&e().then(e=>{"granted"===e&&window.addEventListener("devicemotion",Y)}).catch(console.error)}},{once:!0}):window.addEventListener("devicemotion",Y)),(0,P.xl)()&&navigator&&navigator.maxTouchPoints>0&&"en"===j.Ay.resolvedLanguage&&er("soft_keyboard::disable"),ed(),eR(k.XJ.appInfo.packageName),ee=!0;let a=parseInt(e.streamingWidth,10),s=parseInt(e.streamingHeight,10);if(eU=a>=s,e.screenorientation&&(0,x.x9)(e.screenorientation),y.ly.native=k.XJ.appInfo.playFeFeatures.enableNativeKeyboard,T.A.dispatch({type:w.A.START_CONNECTION,payload:{isAndroidConnected:!0}}),window.InputMapperApi.sendKeyToAndroid=L.UK,ey||ex(k.XJ.appInfo.packageName),ey=!0,(k.XJ.appInfo.playFeFeatures.disableImap||!(0,R.TH)())&&T.A.dispatch({type:_.A.SET_LEGACY_CONTROLS,payload:{legacyControls:!1}}),Number.isNaN(a)||Number.isNaN(s))("smartphone"===e.deviceType||"phablet"===e.deviceType)&&(0,x.u1)(2,1);else{let e=(0,P.p_)(a,s);(0,x.u1)(s/e,a/e)}B.A.type=e.deviceType,ep(),(0,$.G)();break}case A.ODc:navigator.geolocation&&"function"==typeof navigator.geolocation.getCurrentPosition&&T.A.dispatch({type:w.A.GET_PERMISSION,payload:{permissionType:"Location"}});break;case A.PyA:T.A.dispatch({type:w.A.UPDATE_POINTER_CAPTURE,payload:{pointerCaptureStatus:"true"===e.state}});break;case A.QVW:Q(void 0,void 0,void 0,function*(){eN(e)});break;case A.fGS:(0,P.p4)(),B.A.inactivity=e,T.A.dispatch({type:w.A.MODAL_STATUS,payload:{inactivityModal:!0}});break;case A.NRj:(0,H.Ay)(e.eventName,e.eventData,"NowggIfpEvent");break;case A.odZ:if(B.A.trackEvent=e,e.roblox_placeId){eT=Number(e.roblox_placeId);let t=sessionStorage.getItem(Z);if(eT)(0,F.sx)("RobloxExperienceStarted",{robloxExperience:e.roblox_placeId}),sessionStorage.setItem(Z,"".concat(e.roblox_placeId));else if(null!==t){sessionStorage.removeItem(Z);let e=T.A.getState().play.robloxExperienceId;-1!==e&&(C.Ay.experienceEnded(),(0,F.sx)("RobloxExperienceEnded",{activeDuration:(Date.now()-T.A.getState().play.currentRobloxExperienceTimer)/1e3,robloxExperience:e}),T.A.dispatch({type:w.A.SET_EXPERIENCE_STATE,payload:{isExperienceEnded:!0}}))}T.A.dispatch({type:w.A.SET_ROBLOX_EXPERIENCE_ID,payload:{robloxExperienceId:e.roblox_placeId,currentRobloxExperienceTimer:Date.now()}}),eI(eT);try{C.Ay.experienceStarted(e.roblox_placeId)}catch(e){}}break;case A.Tl3:let u;if((u=e.packageName)===A.EpD||"com.android.provision"===u)return;ee&&(0,x.x9)(e.rotation);break;case A.UZ3:if(y.ly.native&&(0,P.Bm)())return;y.ly.isOpen="true"===e.enabled,T.A.dispatch({type:w.A.UPDATE_PLAY_STATE,payload:{keyboardActive:y.ly.isOpen}}),ep(),T.A.dispatch({type:b.A.IMAP_STATUS,payload:{isActive:!y.ly.isOpen}}),C.Ay.updateActive(!y.ly.isOpen,0);break;case A.BwX:{B.A.sessionComplete=e,(0,F.sx)("SessionCompleted",Object.assign({},e)),ec(),(0,P.p4)();let{play:t}=T.A.getState(),n=(0,P.P0)((0,H.kj)())&&A.q1Y.includes(e.reason);if(!(0,P.qv)()&&"FeAdBlockerDetected"===e.reason&&!t.error)return void T.A.dispatch((0,K.iJ)("ForbiddenAdBlockerAndroid"));if(e.reason===S.wD.FailureServiceNotInRegion)return void T.A.dispatch({type:w.A.SET_ERROR,payload:{error:S.wD.Failure,errorCode:"2101",clientId:"",sessionId:"",isAndroidConnected:!1,errorDescription:""}});if((0,P.P0)((0,H.kj)())&&"OtherSessionInitiated"===e.reason)return void T.A.dispatch({type:w.A.SESSION_MIGRATED,payload:{sessionMigrated:!0}});if(t.isRecording&&T.A.dispatch({type:w.A.UPDATE_IS_RECORDING,payload:{showRecordingModalBeforeExit:!0,showRecordingModalBeforeExitSource:A.q1Y.includes(e.reason)?"inactiveTimeout":"sessionComplete"}}),e.reason===A.E2K.BCPU_SPOT_INTERRUPTION&&!t.isRecording){let t=e.reason;T.A.dispatch({type:w.A.SESSION_DISCONNECT_TOAST,payload:{sessionDisconnectScreenType:t}})}if(e.reason===A.E2K.PROXY_PLAYTIME_EXCEEDED){let t=e.reason;T.A.dispatch({type:w.A.SESSION_DISCONNECT_TOAST,payload:{sessionDisconnectScreenType:t,showDisconnectScreen:!0,showDisconnectWarning:!1}});return}if(!n&&t.sessionDisconnectScreenType)return void T.A.dispatch({type:w.A.SESSION_DISCONNECT_TOAST,payload:{showDisconnectWarning:!1,showDisconnectScreen:!0}});if(T.A.dispatch({type:w.A.SESSION_INACTIVE,payload:{sessionComplete:!0}}),!n&&0!==t.disconnecTimer&&Date.now()-t.disconnecTimer>55)return void eO();if(A.q1Y.includes(e.reason))T.A.dispatch({type:w.A.UPDATE_INACTIVE_TIMEOUT,payload:{inactiveTimeout:!0}});else{if(null==(c=null==(a=null==(i=k.XJ.appInfo)?void 0:i.playFeFeatures)?void 0:a.tryAndDownload)?void 0:c.isEnabled)return void T.A.dispatch({type:w.A.SHOW_TRY_NOW,payload:{endingTryNow:!0}});if(t.error)return;e.reason===A.E2K.TIME_LIMIT?T.A.dispatch({type:I.A.TOGGLE_LOGIN,payload:{showLogin:!0}}):T.A.dispatch({type:w.A.SET_ERROR,payload:{error:S.wD.Failure,errorCode:"2001",clientId:"",sessionId:"",isAndroidConnected:!1,errorDescription:e.reason}})}break}case A.G6X:(e=>{var t,n;let o=e.reason,r=null==(n=null==(t=k.XJ.appInfo.playFeFeatures)?void 0:t.tryAndDownload)?void 0:n.isEnabled;if(o===A.E2K.TIME_LIMIT&&r)return;let i=decodeURIComponent(e.graceIntervalMessage||""),a=e.graceIntervalSecs;T.A.dispatch({type:w.A.SESSION_DISCONNECT_TOAST,payload:{sessionDisconnectScreenType:o,disconnecTimer:Date.now(),graceIntervalSecs:a,graceIntervalMessage:i,showDisconnectScreen:!1,showDisconnectWarning:!0}}),(0,k.QO)(o,+a,i||"",Date.now())})(e);break;case A.r1A:T.A.dispatch({type:w.A.SESSION_DISCONNECT_TOAST,payload:{sessionDisconnectScreenType:"",disconnecTimer:0,graceIntervalSecs:59,graceIntervalMessage:"",showDisconnectScreen:!1,showDisconnectWarning:!1}}),(0,k.v8)();break;case A.P5M:(0,O.qQ)(e.data);break;case A.g_8:case A.pTh:(0,P.nr)()||k.XJ.features.enableExternalUrlPrompt?T.A.dispatch({type:w.A.OPEN_URL,payload:{urlToOpen:e.url||e.paymentUrl}}):(window.addEventListener("message",eF),g=window.open(e.url||e.paymentUrl,"_blank"));break;case A.oFY:{let e=parseInt((0,k.f_)(),10);e<3?((0,k.ni)((e+1).toString()),T.A.dispatch({type:w.A.SET_ERROR,payload:{error:S.wD.Failure,errorCode:null,clientId:"",sessionId:"",isAndroidConnected:!1,errorDescription:A.oFY}})):(T.A.dispatch({type:w.A.SET_ERROR,payload:{error:S.wD.Failure,errorCode:"4005",clientId:"",sessionId:"",errorDescription:A.VKc}}),(0,k.OG)());break}case A.OLT:T.A.dispatch({type:w.A.SHOW_FILE_UPLOADER,payload:{showFileUploader:!0,fileUploaderAccept:e.type}});break;case A.ZC2:r=null,eg(),T.A.dispatch({type:w.A.UPDATE_UPLOAD_STATE,payload:{loaderType:"success",showLoader:!0}});break;case A.fEj:et.initiated=!0,et.name=e.fileName,et.totalSize=parseInt(e.fileSize,10);break;case A.fv3:(function(e,t){return Q(this,void 0,void 0,function*(){for(p=!0;f;)yield eE(1e3);let{play:n}=T.A.getState();if(n.peerConnection)try{yield n.peerConnection.setRemoteDescription(new RTCSessionDescription(t));let o=yield eA(e);if(s){let e=s.getTracks()[0];l=n.peerConnection.addTrack(e,s)}let r=yield n.peerConnection.createAnswer(),i=(0,M.mW)(r);er("answer_camera::".concat(i).concat(o?"":":::camera_denied")),n.peerConnection.onnegotiationneeded=e_,yield n.peerConnection.setLocalDescription(r),p=!1}catch(e){}})})(e.facing,{type:"offer",sdp:e.sdp_camera}).catch(console.log);break;case A.K90:(function(e){return Q(this,void 0,void 0,function*(){for(f=!0;p;)yield eE(1e3);let{play:t}=T.A.getState();if(t.peerConnection)try{yield t.peerConnection.setRemoteDescription(new RTCSessionDescription(e)),d=!0;let n=yield eb(!0),o=yield t.peerConnection.createAnswer(),r=(0,M.mW)(o);er("answer_mic::".concat(r).concat(n?"":":::mic_denied")),t.peerConnection.onnegotiationneeded=e_,yield t.peerConnection.setLocalDescription(o),f=!1}catch(e){}})})({type:"offer",sdp:e.sdp_mic}).catch(console.log);break;case A.GIi:"on"===e.cmd&&eb(!0),"off"===e.cmd&&ew(!0);break;case A.oCj:"on"===e.cmd&&eA(e.facing,!0).catch(console.log),"off"===e.cmd&&function(){let{play:e}=T.A.getState();(null==e?void 0:e.peerConnection)&&s&&(s.getTracks().forEach(e=>e.stop()),l.replaceTrack(null).catch(console.log))}();break;case A.irw:ek(e["sdk-type"],A.YSw.rewarded,"ADS::rewardedAdLoad::fail");break;case A.M0g:ek(e["sdk-type"],A.YSw.interstitial,"ADS::interstitialAdLoad::fail");break;case A.$5N:delete e.msgType,B.A.meta=e;break;case A.m0v:(0,U.JZ)(e);break;case A.odk:{let{isLoggedIn:t}=T.A.getState().auth;if(!t){sessionStorage.setItem("sideloadAppId",e.sideloadAppId);let{dispatch:t}=T.A;t((0,W.o)(e.sideloadAppId))}break}case A.T51:{let{isLoggedIn:e}=T.A.getState().auth;e&&(0,P.B3)();break}case A.z4F:(0,F.sx)("SessionCompleted",Object.assign({},e)),T.A.dispatch({type:w.A.SESSION_MIGRATED,payload:{sessionMigrated:!0}})}}))((e=>{let t={},n="".concat(e);return n.length&&n.split(":$:").forEach(e=>{e.startsWith("sdp_camera")?t.sdp_camera=e.split("sdp_camera=")[1]:e.startsWith("sdp_mic")?t.sdp_mic=e.split("sdp_mic=")[1]:Object.assign(t,(e=>{let t={},n="".concat(e);return n.length&&n.split("\n").forEach(e=>{let n=e.split("=")[0];try{t[n]=e.substring(e.indexOf("".concat(n,"="))+n.length+1)}catch(e){(0,h.Ay)(e)}}),t})(e))}),t})(e.data))},t.onopen=()=>{(0,F.sx)("DataChannelOpened",{label:null==t?void 0:t.label})},t.onclose=()=>{},t.onerror=()=>{}};function eW(e){var t;return Q(this,void 0,void 0,function*(){let{play:n}=T.A.getState(),o=e.target.files;if(T.A.dispatch({type:w.A.SHOW_FILE_UPLOADER,payload:{showFileUploader:!1,fileUploaderAccept:""}}),!o||!o.length)return;if((null==(t=n.peerConnection)?void 0:t.connectionState)!=="connected")return void eh(!0);let i=o[0];r=yield i.arrayBuffer(),er("fileupload::".concat(i.name,"::").concat(r.byteLength)),T.A.dispatch({type:w.A.UPDATE_UPLOAD_STATE,payload:{loaderType:"uploading",showLoader:!0}})})}},10253:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});var o=n(73319);let r=(e,t)=>{let n=new ArrayBuffer(2*t.length+2),r=new Uint16Array(n);r[0]=e;for(let e=0;e{var o=n(36187);e.exports=function(e){return o(this.__data__,e)>-1}},10810:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var o=n(54945);function r(e){var t=function(e,t){if("object"!=(0,o.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=(0,o.A)(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,o.A)(t)?t:t+""}},12613:(e,t)=>{"use strict";function n(e){return(n="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 o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function r(e){for(var t=1;t{"use strict";function o(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{A:()=>o})},14216:e=>{e.exports=function(){this.__data__=[],this.size=0}},15861:e=>{!function(){var t={229:function(e){var t,n,o,r=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}var l=[],c=!1,u=-1;function d(){c&&o&&(c=!1,o.length?l=o.concat(l):u=-1,l.length&&p())}function p(){if(!c){var e=s(d);c=!0;for(var t=l.length;t;){for(o=l,l=[];++u1)for(var n=1;n{var o,r;void 0===(r="function"==typeof(o=function(){"use strict";function e(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function t(e,t){for(var n=0;n{var o=n(14216),r=n(17248),i=n(45261),a=n(10441),s=n(45705);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t{var o=n(36187),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=o(t,e);return!(n<0)&&(n==t.length-1?t.pop():r.call(t,n,1),--this.size,!0)}},17520:(e,t,n)=>{"use strict";function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);nr})},17565:(e,t,n)=>{var o=n(66521);e.exports=function(e){return o(this,e).get(e)}},18808:(e,t,n)=>{"use strict";var o,r;n.d(t,{Y:()=>r,r:()=>o}),function(e){e.PANEL_TOP="PanelTop",e.PANEL_Bottom="PanelBottom",e.LEADERBOARD_BOTTOM="LeaderboardBottom",e.LEADERBOARD_TOP="LeaderboardTop",e.SKYSCRAPER_RIGHT="SkyscraperRight",e.SKYSCRAPER_Left="SkyscraperLeft",e.ANCHORED_TOP="AnchoredTop",e.PREROLL="Preroll",e.MIDROLL_VIDEO_BOTTOM="MidrollVideoBottom",e.EMBEDED_FULL_SCREEN="EmbededFullScreen",e.CONTEXTUAL_FULL_SCREEN="ContextualFullScreen",e.REWARDED_FULL_SCREEN="RewardedFullScreen",e.REWARDED_FALLBACK_FULL_SCREEN="RewardedFallbackFullScreen",e.MEDIUM_RECTANGLE_AD_1="MEDIUM_RECTANGLE_AD_1",e.MEDIUM_RECTANGLE_AD_2="MEDIUM_RECTANGLE_AD_2",e.LARGE_RECTANGLE_AD_1="LARGE_RECTANGLE_AD_1",e.LARGE_RECTANGLE_AD_2="LARGE_RECTANGLE_AD_2",e.NEW_REWARDED_ADS="NewRewardedAds",e.CUSTOM_REWARDED_ADS="CustomRewardedAds",e.UNKNOWN="unknown"}(o||(o={})),function(e){e.NONE="none",e.GOOGLE_AD_BLOCKER="googleAdBlocker",e.DEV_AD_BLOCKER="devAdBlocker"}(r||(r={}))},18847:(e,t,n)=>{e.exports=n(71147)},19031:(e,t,n)=>{var o=n(24298),r="object"==typeof self&&self&&self.Object===Object&&self;e.exports=o||r||Function("return this")()},19073:(e,t,n)=>{"use strict";t.Fz=t.pE=t.Rx=t.BL=t.QB=t.wD=void 0;var o=n(51376);Object.defineProperty(t,"wD",{enumerable:!0,get:function(){return o.NgStatus}}),Object.defineProperty(t,"QB",{enumerable:!0,get:function(){return o.NgOrientation}}),Object.defineProperty(t,"BL",{enumerable:!0,get:function(){return o.NgMimeTypes}}),Object.defineProperty(t,"Rx",{enumerable:!0,get:function(){return o.NgRewardStatus}}),Object.defineProperty(t,"pE",{enumerable:!0,get:function(){return o.NgSubscriptionStatus}});var r=n(61962);Object.defineProperty(t,"Fz",{enumerable:!0,get:function(){return r.PlaySessionStatus}})},19362:(e,t,n)=>{"use strict";n.d(t,{fU:()=>i,n:()=>a,u_:()=>r});var o=n(48449);let r=e=>(0,o.Ak)(e||10),i=()=>!1,a=()=>!1},19786:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>h,Yi:()=>g,oS:()=>f,iR:()=>p});var o=n(62920),r=n(71278),i=n(29359),a=n(35402),s=n(56047),l=n(75998),c=n.n(l),u=n(59319);let d=c()(()=>{let e=new URLSearchParams;return e.set("ng_uaId",encodeURIComponent((0,s.qk)(o.kk8)||"")),e.set("ng_uaSessionId",encodeURIComponent((0,s.Rm)(o.J0m)||"")),e.set("ng_visitId",encodeURIComponent(window.ngVisitId)),e.set("ng_ngReferrer",encodeURIComponent(sessionStorage.getItem("ngReferrer")||"")),e.set("ng_ngEntryPoint",encodeURIComponent(sessionStorage.getItem("ngEntryPoint")||"")),e.set("ng_utmSource",encodeURIComponent(sessionStorage.getItem("utm_source")||"")),e.set("ng_utmMedium",encodeURIComponent(sessionStorage.getItem("utm_medium")||"")),e.set("ng_utmCampaign",encodeURIComponent(sessionStorage.getItem("utm_campaign")||"")),e.set("ng_ntmSource",sessionStorage.getItem("ntmSource")||"NA"),e.set("ng_userSource",encodeURIComponent(localStorage.getItem("userSource")||"")),e.set("ng_userCampaign",encodeURIComponent(localStorage.getItem("userCampaign")||"")),e.set("ng_userAcqVar",encodeURIComponent(localStorage.getItem("userAcqVar")||"")),e}),p=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";arguments.length>2&&arguments[2];try{let n=new URL(e);e.startsWith("/")&&(n=new URL(e,"https://".concat(window.location.hostname)));let o=new URLSearchParams(Object.assign(Object.assign({},Object.fromEntries(n.searchParams)),Object.fromEntries(d())));return t&&o.set("ng_ntmSource",t),n.search=o.toString(),n.toString()}catch(n){return(0,u.Ay)("error in updateUtmParam",{e:n,url:e,source:t}),e}},f=()=>{let{orientation:e}=r.A.getState().play,{inGameAd:t}=r.A.getState().ads;return!(0,i.a2)()&&(e===a.QB.portrait||t===o.z_4)&&!(null===i.Ay||void 0===i.Ay?void 0:i.Ay.isAppPage)},g=function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1],window.location.href=p(window.location.href)},h=p},19850:(e,t,n)=>{var o=n(89950),r=n(98825);e.exports=function(e){if(!r(e))return!1;var t=o(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},21540:(e,t,n)=>{"use strict";var o,r=n(91532),i=n(22108),a=[],s=function(){function e(e){this.$$observationTargets=[],this.$$activeTargets=[],this.$$skippedTargets=[];var t,n=void 0===(t=e)?"Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.":"function"!=typeof t?"Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.":void 0;if(n)throw TypeError(n);this.$$callback=e}return e.prototype.observe=function(e){var t,n=c("observe",e);if(n)throw TypeError(n);u(this.$$observationTargets,e)>=0||(this.$$observationTargets.push(new r.ResizeObservation(e)),t=this,0>a.indexOf(t)&&(a.push(t),y()))},e.prototype.unobserve=function(e){var t=c("unobserve",e);if(t)throw TypeError(t);var n=u(this.$$observationTargets,e);n<0||(this.$$observationTargets.splice(n,1),0===this.$$observationTargets.length&&l(this))},e.prototype.disconnect=function(){this.$$observationTargets=[],this.$$activeTargets=[],l(this)},e}();function l(e){var t=a.indexOf(e);t>=0&&(a.splice(t,1),v())}function c(e,t){return void 0===t?"Failed to execute '"+e+"' on 'ResizeObserver': 1 argument required, but only 0 present.":t&&t.nodeType===window.Node.ELEMENT_NODE?void 0:"Failed to execute '"+e+"' on 'ResizeObserver': parameter 1 is not of type 'Element'."}function u(e,t){for(var n=0;ne?t.$$activeTargets.push(n):t.$$skippedTargets.push(n))})})},p=function(){var e=1/0;return a.forEach(function(t){if(t.$$activeTargets.length){var n=[];t.$$activeTargets.forEach(function(t){var o=new i.ResizeObserverEntry(t.target);n.push(o),t.$$broadcastWidth=o.contentRect.width,t.$$broadcastHeight=o.contentRect.height;var r=g(t.target);r{"use strict";n.d(t,{A:()=>y});var o=n(59319),r=n(62920),i=n(35402),a=n(56047),s=n(70780),l=n(71278),c=n(29359),u=n(19786),d=n(42920),p=n(83515),f=n(34754);let g=new AbortController().signal;function h(e,t){return(n,h)=>{var y,m,v,A;return y=this,m=void 0,v=void 0,A=function*(){var y;let m="",v="",A=null;try{let S="https://".concat(c.Ay.appInfo.paymentSdkHost),w=new URL(t.path,S);n&&(w.search=new URLSearchParams(n).toString()),v=w.toString();let b=t.avoidAbortSignal?void 0:g,E=l.A.getState().play.paymentAppId;if(A="GET"===e?yield fetch(v,{credentials:"omit",headers:{"content-type":"application/json",Lang:f.Ay.language,"X-Location":'{"location": "game_sdk", "versionName": "'.concat(o.CU,'", "appId": "').concat(E,'", "countryCode": "').concat(c.Ay.countryCode||"IN",'", "platform": "cloud", "deviceType": "').concat((0,a.el)().feDeviceType,'"}'),Authorization:"jwt"},signal:b}):"PATCH"===e?yield fetch(v,{method:"PATCH",credentials:"omit",headers:{"content-type":"application/json",Lang:f.Ay.language,"X-Location":'{"location": "game_sdk", "versionName": "'.concat(o.CU,'", "appId": "').concat(E,'", "countryCode": "').concat(c.Ay.countryCode||"IN",'", "platform": "cloud", "deviceType": "').concat((0,a.el)().feDeviceType,'"}'),Authorization:"jwt"},body:h?JSON.stringify(h):void 0,signal:b}):yield fetch(v,{method:"POST",credentials:"omit",headers:{"content-type":"application/json",Lang:f.Ay.language,"X-Location":'{"location": "game_sdk", "versionName": "'.concat(o.CU,'", "appId": "').concat(E,'", "countryCode": "').concat(c.Ay.countryCode||"IN",'", "platform": "cloud", "deviceType": "').concat((0,a.el)().feDeviceType,'"}'),Authorization:"jwt"},body:h?JSON.stringify(h):void 0,signal:b}),409===A.status&&l.A.dispatch({type:s.A.SET_ERROR,payload:{error:i.wD.FailureValidationError,clientId:"1300",sessionId:"",isAndroidConnected:!1,errorDescription:""}}),205===A.status)throw window.nggVersionMismatch=!0,yield(0,a.cb)(1e4),(0,u.Yi)("StartSession"),Error("Version Mismatch");m=yield A.text();let _=JSON.parse(m);if(_.status&&r.v9[_.status]&&(0,d.Ay)(r.v9[_.status],"","NowggIfpSdkEvent"),401===A.status){let o=yield(0,p.E5)(e,t,n,h,_.status,A.url,JSON.stringify("json"));if(o)return o;return _}if(!A.ok)return(0,o.Ay)(Error("fetch: ".concat(v," failed, response.ok: ").concat(A.ok)),{response:A}),{status:i.wD.FailureUnexpectedHttpStatusCode,errorMessage:"Http Status Code ".concat(A.status,", JSON Status: ").concat(null==_?void 0:_.status,", JSON Message: ").concat(null==_?void 0:_.errorMessage),errorData:_};if(!t.host&&_.status===i.wD.FailureUnauthorized)return(0,p.ri)({reason:"StatusFailureUnauthorized",url:null==(y=null==A?void 0:A.url)?void 0:y.split("?")[0]}),{status:i.wD.JsonStatusFailureUnauthorized,errorMessage:"Http Status Code 401"};if(!_||!(_.status||"boolean"==typeof _.success))return{status:i.wD.FailureMalformedJSONResponse,errorMessage:"JSON Status ".concat(A.status)};return _}catch(r){return"AbortError"!==r.name&&(0,o.Ay)("Api Failed: ".concat(r.message),{error:{e:r,type:"".concat(r.name),message:"".concat(r.message),path:"".concat(e," ").concat(t.path),finalUrl:v,responseText:m},response:A,requestData:{query:n,body:h,options:t,method:e},appState:{ngNcmHost:c.Ay.ngNcmHost,authUseThirdPartyFlow:c.Ay.authUseThirdPartyFlow,prefix:c.Ay.prefix}}),{status:i.wD.FailureFeFetchException,errorMessage:t.forwardError?"".concat(r.name,": ").concat(r.message):void 0,errorStack:t.forwardError?r.stack:void 0}}},new(v||(v=Promise))(function(e,t){function n(e){try{r(A.next(e))}catch(e){t(e)}}function o(e){try{r(A.throw(e))}catch(e){t(e)}}function r(t){var r;t.done?e(t.value):((r=t.value)instanceof v?r:new v(function(e){e(r)})).then(n,o)}r((A=A.apply(y,m||[])).next())})}}let y={silenceCallback:h("POST",{host:null,path:"/v1/oauth2/silenceCallback",authorize:!0}),createOrder:h("POST",{host:null,path:"/v2/order/create",authorize:!0}),getPurchases:h("POST",{host:null,path:"/v1/getPurchases",authorize:!0}),pollPaymentStatus:h("POST",{host:null,path:"/v1/order/formatOrderData",authorize:!0}),payTypeSupportedList:h("POST",{host:null,path:"v2/payment/payTypeList",authorize:!0}),nowBuxPaymentDetails:h("POST",{host:null,path:"v2/order/nowbux/paymentDetails",authorize:!0}),createNowBuxOrder:h("POST",{host:null,path:"v2/nowbux/createNowbuxOrder",authorize:!0})}},21650:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return o}});let o=n(64252)._(n(14232)).default.createContext(null)},22108:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(93409);t.ResizeObserverEntry=function(e){this.target=e,this.contentRect=o.ContentRect(e)}},23520:(e,t,n)=>{"use strict";var o=n(68128),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return o.isMemo(e)?a:s[e.$$typeof]||r}s[o.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[o.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(t,n,o){if("string"!=typeof n){if(g){var r=f(n);r&&r!==g&&e(t,r,o)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),h=l(n),y=0;y{"use strict";let o;n.d(t,{jv:()=>r,sG:()=>i,tR:()=>a});let r=["algebra","geometry","trigonometry"];function i(e){o=e}function a(){clearTimeout(o)}},24022:(e,t,n)=>{"use strict";let o;n.d(t,{A:()=>g,T:()=>f});var r=n(86887),i=n(80688),a=n(64416);let s=[];for(let e=0;e<5;e+=1){s[e]=[];for(let t=1;t<=15;t+=1)s[e][t]=0}let l=!1,c=performance.now(),u=!0;function d(){if(!l)return;u&&((0,a.Ic)(i.C6),u=!1);let e=navigator.getGamepads();for(let t=0;t.75)),s[t][e]=o[e].value);try{window.Module.Gamepad(n.timestamp,0,1-n.buttons[6].value,1-n.buttons[7].value,~~(128*e[0]*255),~~-(255*(128*e[1])),~~(128*e[2]*255),~~-(255*(128*e[3])))}catch(e){}c=n.timestamp}}}let p={gamepad:null,setActiveSchemeHasGamepad(e){l=r.Ay.inUse()&&e},onconnected:e=>{(()=>{var e;(null==(e=null===r.Ay||void 0===r.Ay?void 0:r.Ay.config[r.Ay.packageName])?void 0:e.anySchemeHasGamepad)&&!o&&(o=setInterval(d,16))})(),p.gamepad=e.gamepad,(0,a.Ic)(i.bc,!0)},ondisconnected:e=>{(0,a.Ic)(i.bc,!1),clearInterval(o),p.gamepad=null,u=!0}},f=()=>!!p.gamepad,g=p},24298:(e,t,n)=>{e.exports="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g},25553:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});let o=(e,t)=>Math.round(10*t*e)/(10*t)},26875:(e,t,n)=>{"use strict";n.d(t,{B:()=>f});var o=n(83784),r=n(17520),i=n(13163),a=n(85190),s=n(14232),l=n(34377),c=n(1637);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function d(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},a=n.i18n,u=(0,s.useContext)(l.gJ)||{},f=u.i18n,g=u.defaultNS,h=a||f||(0,l.TO)();if(h&&!h.reportNamespaces&&(h.reportNamespaces=new l.hz),!h){(0,c.mc)("You will need to pass in an i18next instance by using initReactI18next");var y=function(e){return Array.isArray(e)?e[e.length-1]:e},m=[y,{},!1];return m.t=y,m.i18n={},m.ready=!1,m}h.options.react&&void 0!==h.options.react.wait&&(0,c.mc)("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var v=d(d(d({},(0,l.rV)()),h.options.react),n),A=v.useSuspense,S=v.keyPrefix,w=e||g||h.options&&h.options.defaultNS;w="string"==typeof w?[w]:w||["translation"],h.reportNamespaces.addUsedNamespaces&&h.reportNamespaces.addUsedNamespaces(w);var b=(h.isInitialized||h.initializedStoreOnce)&&w.every(function(e){return(0,c.NM)(e,h,v)});function E(){return h.getFixedT(null,"fallback"===v.nsMode?w:w[0],S)}var _=(t=(0,s.useState)(E),(0,o.A)(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,s=[],l=!0,c=!1;try{i=(n=n.call(e)).next,!1;for(;!(l=(o=i.call(n)).done)&&(s.push(o.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,2)||(0,r.A)(t,2)||(0,i.A)()),T=_[0],P=_[1],O=w.join(),I=p(O),R=(0,s.useRef)(!0);(0,s.useEffect)(function(){var e=v.bindI18n,t=v.bindI18nStore;function n(){R.current&&P(E)}return R.current=!0,b||A||(0,c.dM)(h,w,function(){R.current&&P(E)}),b&&I&&I!==O&&R.current&&P(E),e&&h&&h.on(e,n),t&&h&&h.store.on(t,n),function(){R.current=!1,e&&h&&e.split(" ").forEach(function(e){return h.off(e,n)}),t&&h&&t.split(" ").forEach(function(e){return h.store.off(e,n)})}},[h,O]);var k=(0,s.useRef)(!0);(0,s.useEffect)(function(){R.current&&!k.current&&P(E),k.current=!1},[h,S]);var x=[T,h,b];if(x.t=T,x.i18n=h,x.ready=b,b||!b&&!A)return x;throw new Promise(function(e){(0,c.dM)(h,w,function(){e()})})}},27148:e=>{e.exports=function(e){return e}},28062:e=>{"use strict";e.exports=JSON.parse('{"and":"and","disclaimerSub1":"All rights reserved.","disclaimerSub2":"By using now.gg you agree to our ","disclaimerSub3":"including cookie use.","loading":"Loading","logo":"Logo","or":"Or","including":"including","privacyPolicy":"Privacy Policy","refreshNow":"Refresh now ","support":"Support","termsOfUse":"Terms of Use","website":"Website","backToGame":"Back to Game","back":"Back","takeMeBack":"Take me back","soundIcon":"Sound Icon","mutedSoundIcon":"Muted Sound Icon","playInBrowser":"Play in browser","download":"Download","exploreMoreGames":"Explore more games","nerdMode":"Nerd mode","nerdModeDescription":"Nerd mode impacts gameplay performance. Please use Nerd mode only when required.","platform":"Platform","cancel":"Cancel","restartNow":"Restart Now","yes":"Yes","next":"Next","appPackage":"App Package","country":"Country","connectionState":"Connection State","ping":"Ping","viewport":"Viewport","buildVersion":"Build version","devicePixelRatio":"Device Pixel Ratio","currentResolution":"Current Resolution","frames":"Frames","framesPerSecond":"Frames per second","reportAProblem":"Report a Problem","clientID":"Client ID","sessionID":"Session ID","copiedToClipboard":"Copied to clipboard","networkLost":"Network lost. Trying to reconnect...","reconnecting":"Trying to reconnect...","connected":"Connected","faqs":"FAQs","clickToUnmute":"Click to unmute","tapToUnmute":"Tap to unmute","launchingGame":"loading, be patient. https://discord.gg/unblockedgames | https://frogiesarcade.win","fullscreen":"Fullscreen","exitFullscreen":"Exit fullscreen","enterFullscreen":"Enter fullscreen","robloxToastMsg":"Hold right click to rotate camera","closeAdIn":"Close ad in {{time}}","ad":"Ad","other":"Other","runDiagnostics":"Run a diagnostic report","email":"Email","problemDescription":"Problem Description","uploadScreenshot":"Upload picture or screenshot","problemInfo":"Use atleast 12 characters to describe the problem you are experiencing","min12Characters":"Minimum 12 Characters are required","uploadFromDevice":"Upload from device","captureScreen":"Capture screen","thankYou":"Thank you","submissionFailed":"Submission Failed","feedbackFailedTryAgain":"Failed to submit the feedback, please try again.","reviewingResponse":"We have received your response and it\'s being reviewed by our Support Team.","invalidFileTryAgain":"Uploaded file is not a valid image. Please try again.","areYouThere":"Hey, are you still there?","idleScreentext":"You’ll be logged out of the session if you’re away from the screen for a while. Don’t worry, everything will be saved automatically.","iAmStillHere":"I\'m still here","stoppingGame":"Stopping game in 30 Second(s)","disclaimer":"By using now.gg, you agree to the","rights":"\xa9 {{year}} now.gg. All rights reserved.","copyright":"\xa9 {{year}} now.gg.","cookieUse":"Cookie Use","signInHead":"Sign in to start playing","signInProg":"Sign in to save progress","signInInactive":"Sign in to continue playing","endLogin":"Playtime limit reached. Sign in to continue playing.","continuePlayingHere":"Continue Playing Here","logout":"Logout","lockCursor":"Lock mouse cursor","cursorLockedInfo":"to unlock cursor","cursorLocked":"Cursor locked. Press [Esc] to exit.","unsupportedBrowser":"Browser not supported","switchBrowser":"For best experience switch to one of these browsers","googleChrome":"Google Chrome","appleSafari":"Apple Safari","microsoftEdge":"Microsoft Edge","linkCopied":"Link copied","okay":"Okay","OkGotIt":"Ok, got it","permission":"This game needs permission for the following","spotInstanceShortMsg":"Assigning a new server.","spotInstanceLongMsg":"Due to high traffic, we may switch users to a different server","sessionEndShortMsg":"Your session is almost over! Please save your progress before it ends","sessionEndLongMsg":"As part of our fair usage policy, game sessions have a time limit to ensure a smooth experience for everyone","serverBusy":"Server busy","serverBusyMsg":"Refresh the page to get on a new server and continue playing!","restart":"Restart","gameTile":"Game tile","roundLoader":"Round loader","infoIcon":"Info icon","closeIcon":"Close icon","overlay.klook":"Tip: Hold","overlay.look":"Tip: Press","overlay.tip2":" to use mouse for look around.","controls.title":"Game controls","mouseSensitivity":"Mouse sensitivity","mouseLock":"Mouse lock (Ctrl + Shift + 1)","video":"Video","audio":"Audio","bitrate":"Bitrate","codec":"Codec","packets":"Packets","slowNetwork":"Extremely high latency may impact gameplay","unstableNetwork":"High latency may impact gameplay","currentlyPoor":"Currently poor","slowInternetConnection":"Slow intenet connection","recommendations":"Recommendations","networkStability":"Network stability","troubleshootAndHelp":"Troubleshooting & Help","knowMore":"Know more","moveCloser":"If you are using Wifi, try moving closer.","avoidActivities":"Avoid activities with heavy internet usage.","connectToEthernet":"Connect to Ethernet.","farFromServer":"Maybe you are far away from server location.","shiftLockMsg":"to activate/deactivate shift lock","shiftLockActive":"Shift lock activated","shiftLockInactive":"Shift lock deactivated","press":"Press","proxyDetected":"Proxy/VPN Detected","toPlayGame":"To play the game:","disableVpn":"Disable any active VPN connection","reloadPage":"Reload the page","useURL":"Use the following URL","copyUrl":"Copy URL","uploadingFile":"Uploading file","uploadedSuccessfully":"Uploaded successfully","uploadFailed":"Upload failed","downloadingFile":"Downloading file","downloadedSuccessfully":"Downloaded successfully","downloadFailed":"Download failed","diagnosingProblem":"Diagnosing problem","sidebar.onscreenControls":"On-screen controls","sidebar.keyboard":"Keyboard","sidebar.gamepad":"Gamepad","sidebar.specialKey":"Special Key","sidebar.gamepadNotDetected":"Gamepad not detected","sidebar.gamepadNotSupported":"Gamepad not supported","sidebar.gamepadNotDetectedInfo":"If you have one, make sure it’s plugged-in/paired, and press buttons to wake it up.","sidebar.gamepadNotSupportedInfo":"Unfortunately, this game does not support gamepad.","loginPromptHead":"Save your game progress","guestToast":"Playing as Guest","player":"Player","welcome":"Welcome","pwaTitle":"Pro tip: Install game shortcut","completeHead":"Gameplay time limit reached","completeMsg":"This session has a playtime limit to promote fair usage of our services. Please restart to play again.","inactiveHead":"Game stopped due to inactivity","inactiveMsg":"Your game session stops when you\'re away from the screen for a while. Don\'t worry, everything is saved automatically.","disconnectedHead":"Game connection lost","disconnectedMsg":"Please refresh the page to continue playing.","migratedHead":"Screen Limit","duplicateHead":"Tab Limit","migratedMsg":"Your account may be in use on more than one device or screen. Play on this screen with just one click.","duplicateMsg":"This game is already active in another tab. You can start playing here by clicking on the button below.","sessionEndTimeLimitHead":"Time Limit","playNow":"Play now","gettingReady":"Getting ready","volume":"Volume","helpAndSupport":"Help & Support","retry":"Retry","somethingWrong":"Something went wrong","playing":"Playing","login":"Login","profile":"Profile","profilePic":"Profile pic","searchPremiumGames":"Search","searchGames":"Search","allGames":"All Games","close":"Close","gameplay.label":"Gameplay","gameplay.gameUpdate":"Game Update","gameplay.gameFroze":"Game froze during gameplay","gameplay.gameStuck":"Game stuck at loading screen","gameplay.gameLagging":"Game is lagging","gamecontrols.label":"Game Controls","gamecontrols.keyControls":"Key controls","gamecontrols.mouseIssues":"Mouse-related issues","gamecontrols.gamepadIssues":"Gamepad support issues","accountLogin.label":"Account login","accountLogin.incorrectPassword":"Incorrect password","accountLogin.LoginIssues":"Now.gg login issues","accountLogin.unableToSave":"Unable to save progress","appOrGameRequest.label":"App or game request","appOrGameRequest.appRequest":"App request","appOrGameRequest.gameRequest":"Game request","createDeviceProfile":"Creating device profile","collectingStats":"Collecting stats","collectingOtherInformation":"Collecting other information","sendingProblemReport":"Sending problem report","compilingInformation":"Compiling information","processingProblemReport":"Processing problem report","recentlyPlayed":"Recently played","otherGamesYouMayLike":"Other games you may like","clear":"Clear","trendingThisWeek":"Trending games","tryOtherGames":"Try other games","error":"ERROR","errorServerOverloadedTimerEnd1":"We couldn\'t allocate an instance at this time.","errorServerOverloadedTimerEnd2":"Please try again later","errorServerOverloadedCatchingUp":"Welp! Servers overloaded! Catching up soon","errorNotSupported":"Uh oh! Looks like {{appName}} is not supported on your device","errorGameNotFound":"Oops! Looks like the game could not be found","errorServiceNotInRegion":"Sorry, this game is not available in your region...yet!","errorFailure":"An unexpected error has occurred","errorInvalidPlayToken":"Error connecting to now.gg servers","errorNotFound":"404: that page is MIA!","errorFailureTokenExpired.heading":"Oops! Our magic token just expired","errorFailureTokenExpired.subHeading":"It seems we need a refresh. Just a quick click should do the trick.","errorFailureInvalidToken.heading":"Uh oh! Token Mishap: Quick Reset Needed!","errorFailureInvalidToken.subHeading":"Looks like our internal key went off track. Let\'s reset and roll!","errorFailureForbidden.heading":"Whoa! Unknown Realms!","errorFailureForbidden.subHeading":"Looks like we sailed into uncharted territory. Best to return to known shores.","errorFailureAdBlockerDetected.heading":"Uh oh! Ad blocker detected!","errorFailureAdBlockerDetected.subHeading":"To play, please switch your ad blocker off","playAmazingGames":"But you can still play these amazing games.","checkEpicGames":"Feeling adventurous? Check out these epic games instead.","tryPerformingGames":"No sweat, try out these top-performing games instead.","checkFunGames":"You can always check out other fun games!","refreshSecs":"Hit refresh in {0} seconds","tryRefresh":"Try refreshing now!","browseGames":"Browse more games","goRogue":"Or Go Rogue","play":"Play","tp.toggle":"Show visual feeback for taps/clicks","recordFilenameOp0":"Epic {0} Gameplay","recordFilenameOp1":"Awesome {0} clutch in now.gg","recordFilenameOp2":"{0} on now.gg lit gameplay","recordFilenameOp3":"Epic now.gg {0} clip","recordFilenameOp4":"Super {0} clutch on now.gg","recordFilenameOp5":"Legendary {0} clutch in now.gg","recordFilenameOp6":"Mind-blowing {0} plays on now.gg","recordFilenameOp7":"Spectacular {0} moments on now.gg","recordFilenameOp8":"Lit now.gg {0} round","recordingTransitionTitle":"Starting recording mode","recordingTransitionInfo":"Let’s create something exciting","recordingComplete":"Recording complete","recCompleteDesc":"Your gameplay was lit! Ready to blow up the internet?","discardRecording":"Discard recording?","discardRecDescription":"Your current recording will be permanantly deleted if you haven\'t saved it.","goBack":"Go back","iapTitle":"Enable in-app purchases","iapDescription":"Login to your Google Play Store account to enable in-app purchases","iapBtnText":"Continue to login","iapToastText":"in-app purchases enabled","iapLoaderText":"Activating in-app purchases","pleaseWait":"Please wait...","pleaseAllowAds":"Please allow ads on now.gg","adBlockerMsg":"Uh oh- looks like you are using an ad blocker. now.gg uses ads to keep the cloud free for everyone. Please turn off your ad blocker and press refresh to continue.","adBlockerCnfrmMsg":"I have turned off ad blocker","cantTurnOff":"Can’t turn off ad-blocker?","joinOnDiscord":"Join us on Discord","discard":"Discard","save":"Save","micBlocked.head":"Microphone Blocked","micBlocked.info1":"Now.gg requires access to your microphone so. Click on the blocked Mic","micBlocked.info2":"or camera icon","micBlocked.info3":"in your address bar.","install":"Install","tryNow":"Try now","noInstallMsg":"No install required, play instantly in browser","progressMsg":"Progress and Purchased items from trial will be restored in the downloaded version if you log in to the game","accountSecurityMsg":"To enhance account security, log out from the game on shared PCs","scanPhone":"Scan on your phone","scanPhoneDownload":"Scan on your phone to download","wantToTry":"Want to try before installing?","installToContinue":"Install to continue playing game","trialLimitReached":"Trial limit reached","tip":"Tip","useEmail":"Use email to create in-game account and save progress","notSupported":"Try now is currently not supported in your region","secretPassage":"Secret Passage","toPlayGames":"To play now.gg games with ad blocker on","searchFor":"Search for “<1>Online games” on Google Search","findBelow":"Find the below result to play with Ad blocker","hint":"Hint","secretPassageTutorial":"Secret Passage Tutorial","exploreTooltipText":"Choose from list of popular games to play","warning":"Warning","recordingStopOnGameSwitch":"Recording can’t continue if you choose to play a different game.","startRecordingSwitch":"Save recording & switch","stopRecordingSwitch":"Stop recording & switch","continueRecording":"Continue recording","recordingStopped":"Recording stopped","queueModal.youAreIn":"You are in {{queueType}} queue","queueModal.priority":"a priority","queue.pos":"Your position:","queue.members":"members can","queue.jump":"jump the queue","queue.est":"Estimated waiting time","queue.success":"Membership Verified","queue.njp":"now.jp membership number","queue.invalid":"Invalid membership. Please check your details.","queue.verifying":"Verifying Membership Number","queue.submit":"Submit Membership Number","recordingStoppedGametime":"Your gameplay was stopped due to gametime limit reached, what do you want to do with the last recording?","saveRecording":"Save recording","discardRecordingNoQM":"Discard recording","recordingStoppedDuplicateTab":"Your gameplay was stopped because you switched to another tab, what do you want to do with the last recording?","recordingStoppedInactivity":"Your gameplay was stopped due to inactivity, what do you want to do with the last recording?","recordingStoppedLogin":"Recording needs to be stopped to continue logging in.","endScreenHeading":"Gameplay time is over","endScreenSubHeading":"Due to fair usage policy the gameplay time for every session has been restricted, so that every user gets a chance to play.","restartSession":"Restart Session","restartSessionModalMessage":"Your current session will terminate and a new session will start","youtube":"YouTube","discord":"Discord","apple":"Apple","facebook":"Facebook","tiktok":"TikTok","iap":"In-app purchases","startRecording":"Start Recording","stopRecording":"Stop Recording","processingRecording":"Processing Recording","toggleMic":"Mute/Unmute your mic","showingResults":"Showing results for","resultsFor":"Results for","gamepadWarning":"Gamepad warning","mouseLockKey":"Mouse lock","shiftLockKey":"Shift lock","search":"search","signInGoogle":"Sign in with Google","signInApple":"Sign in with Apple","recorder":"Recorder","learnMore":"Learn more","emailPlaceholder":"Enter your email address","loginEmailPlaceholder":"Enter your email","exisitingloginPasswordPlaceholder":"Enter your password","newloginPasswordPlaceholder":"Create a password","appIcon":"App Icon","copy":"Copy","frameDrop":"dropped out of","frameLost":"lost out of","claimPlayTime":"Sign in to claim your play time","invitationToPlay":"You have an invitation to play ad free on now.gg","removeAds":"Remove Ads","invite&Earn":"Invite & Earn","inviteFriends":"Invite your friends and earn 30 minutes of ad free gameplay for each friend you invite","rewardValue":"1 New Friend = 30 minutes","loginToInvite":"Login to Invite","signinToPlayAdFreeTime":"Please sign in to play ad free on now.gg","copyInviteLink":"Copy Invite Link","copyLink":"Copy Link","inviteLinkCopied":"Invite link copied","earnedAdFreeMinutes":"You earned {{minutes}} ad-free minutes","earnedMinutes":"You earned {{minutes}} minutes","inviteMoreFriends":"Invite more friends","accountAlreadyExists":"Account already exists!","stillWinAdFreeTime":"Do not worry, you can still win ad-free time.","adFreeTimeOver":"Your ad-free time is over","adFreeTimeLeft":"ad-free time left","getMoreTime":"Get more time","inviteAndEarn":"Invite and earn","earnFreePlayTime":"Earn up-to 500 minutes ad free playtime","giveGameplayName":"Give your lit gameplay a name","loadMore":"Load More","videos":"Videos","retryNow":"Retry Now","uploading":"Uploading...","signInToShare":"Sign in to share","findSolitaire":"Play “<1>Solitaire” on now.gg.","getAdFree":"Get ad-free Roblox!","stilConfused":"Still confused?","askForHelp":"Ask for help on our Discord","cheatCode":"Cheat Code?","playInstantly":"Play Roblox Ad-Free Instantly","popularGames":"Popular Games","readMore":"Read more","readLess":"Read less","videoClips":"Video Clips","moreGames":"More Games","anaGreetingText":"Hello! I am Ana, I am here to make your journey more fun!","anaDisclaimer":"Ana can make mistakes. Consider checking important information.","aiApps":"AI Apps","byogClaimBtn":"Claim secret phone","byogPlayonCloud":"Play any game in the cloud","faq":"Frequently asked questions","shortVideosText":"Enjoy some Short videos","topGames":"Top Games","exploreByCategory":"Explore by Categories","showMoreCategories":"Show more categories","casualGames":"Casual Games","games":"Games","home":"Home","playRoblox":"Play Roblox without ads","downloading":"Downloading","loader":"Loader","edit":"Edit","delete":"Delete","addControls":"Add New Control","saveChanges":"Save changes","discardChanges":"Discard changes","downloadConfig":"Download cfg","addControlScheme":"Add Control scheme","copyControlScheme":"Add Copy of current scheme","deleteControlScheme":"Delete current scheme","saveRecordingLogin":"Save recording & login","stopRecordingLogin":"Stop recording & login","submit":"Submit","tryAgain":"Try Again","playOnlineOnNowgg":"Play {{appName}} online on now.gg","sports":"Sports","adventure":"Adventure","puzzle":"Puzzle","simulation":"Simulation","casual":"Casual","card":"Card","casino":"Casino","social":"Social","action":"Action","arcade":"Arcade","educational":"Educational","racing":"Racing","portal":"Portal","onScreenKeyboard":"On-screen Keyboard","externalPopupMessage":"This link will open in a new tab","nowPassText":"Unavailable in your region","nowPassHeading":"We will roll out in your geo soon","choosePlan":"Choose your plan","select":"Select","bestValue":"Best Value","limitedOfferLabel":"Limited Offer","chosenPlan":"Your chosen plan","changePlan":"Change plan","enterEmailAddress":"Enter email address","getNowPass":"Get nowPass","autoRenew":"Auto renew on plan expiry","lockedPrice":"We have locked your price","subscribeNowPassLaunches":"You will be able to subscribe at the above price when nowPass launches.","enablingNowPass":"Enabling nowPass","hourly":"hourly","daily":"daily","monthly":"monthly","continuePlayingOnAnyDevice":"Continue playing on any device","noAds":"No Ads","fullScreenImmersiveGameplay":"Full-screen immersive gameplay","unlimitedPlaytime":"Unlimited playtime","playInFullscreen":"Play in Full Screen","testDrive":"TEST DRIVE","adFree":"Ad-free","robloxNotAvailable":"Roblox is currently not available in your region","talkieNotAvailable":"Talkie: Soulful AI is currently not available in your region","similarGame":"Don’t worry, here is a similar game:","earnedNowbux":"You have earned a nowBux","wonNowbuxMessage":"Hurray! You have won a nowBux","wonNowbuxAfterGameplay":"You win 1 nowBux for every {{minutes}} minutes of gameplay","nowbuxTermsCondition":"All rewards earned will expire if you do not login to your now.gg account for 30 days.","termAndConditions":"Terms and Conditions","dontLoseReward":"Don’t lose your reward","quitNowMessage":"You are {{minutes}} minutes away from winning a nowBux. You will lose your progress if you quit now","loseReward":"Lose my reward","keepPlaying":"Keep Playing","claimReward":"Claim your reward","nowbuxInAccount":"You have a nowBux in your account to be claimed. Login to claim now","loginToClaim":"Login to claim","redeemedCodes":"Redeemed codes","redeemNowbux":"Redeem {{rewardRedemption}}","nowbuxWon":"nowBux won","byPlayingNowgg":"by playing on now.gg","distributedSoFar":"distributed so far","oneNowbuxForGameplay":"Win 1 nowBux for every {{minutes}} minutes of the continuous gameplay on now.gg","couponUnavailable":"Coupon not available","minutes":"{{minutes}} minutes","min":"min","mins":"mins","tryMyLuck":"Try my luck","get":"Get","winANowbuxCard":"Get a chance to win {{nowbux}} nowBux","dailySpinsRemaining":"Daily spins remaining","betterLuck":"Better luck next time","yay":"Yay!","nowbuxCount":"you won {{nowbuxCreditsRewarded}} nowBux!","shareOnDiscord":"Share on discord","earnNowbuxToTry":"Earn atleast 1 nowBux to Try","spinFor":"Spin for","emailId":"Email address","enterHere":"Enter here","emailMismatchError":"Entered email address does not match your login email address","verifyAndGetSpin":"Verify and get free spin","reportIssue":"Report issue","guest":"Guest","signInToClaimReward":"Claim nowBux & save progress","gamesPlayed":"Games played","totalPlaytime":"Total playtime","signIn":"Sign in","aboutUs":"About us","developers":"Developers","nowbuxRewards":"nowBux rewards","yourProfile":"Your Profile","loginClaimNowbux":"Login to claim nowBux to your account to prevent losing","claimNowbux":"Hurray, you can redeem nowBux for an actual {{value}} Robux card","haveNowbux":"Wow! Turn Your nowBux into Robux!","redeem":"Redeem","time":"Time","nowbux":"nowBux","recent":"Recent","winNowbuxEveryMinutes":"Win 1 nowBux every {{minutes}} mins","remainingMinutes":"{{minutes}}m remaining","youCanRedeemNowbux":"Click here to redeem","nowbuxCode":"{{nowbux}} Robux Code","viewAllPreviousCodes":"View all Previous Codes","checkBackWithin":"Check back in {{time}} hours","noAppRecents":"Play a game to unlock this section","loginForUserMetrics":"Login to unlock your gaming stats","footerText":"{{totalDistributedNowbux}}distributed so farTerms and Conditions","newUsername":"New username","newAvatar":"New picture","gameLaunchAfterAd":"{{gameName}} will launch after the ad","preparingToLaunch":"Preparing to launch","logoTitle":"Play {{title}} Online","rankings":"Rankings","today":"Today","thisWeek":"This Week","thisMonth":"This Month","leaderboard":"Leaderboard","name":"Name","you":"You","winNowbuxTitle":"Win nowBux","taskCompleteMsg":"You have successfully completed {{task}} and won {{reward}} nowBux. Check your Rewards to claim it.","viewRewards":"View Rewards","taskCompleted":"{{task}} completed","nowbuxWonSoFar":"nowBux won so far","quests":"Quests","winNowbuxHead":"Win nowBux","notEnoughNowbuxHead":"Not enough nowBux?","buyInGameItems":"Buy in-game items","buyIngameItemsDescription":"Make in-app purchases using nowBux in games below","earnNowbuxToRedeem":"Earn {{minNowbuxRqd}} nowBux to redeem.","boostNowbuxChances":"Boost your chances of winning robux by doing daily quest","claimNow":"Claim now","claiming":"Claiming...","claimed":"Claimed","daysLeft":"Days left","dayLeft":"Day left","hoursLeft":"Hours left","hourLeft":"Hour left","completed":"Completed","completedNewQuest":"You completed a new quest!","loginToViewRank":"Login to view your rank","lastUpdated":"Last updated:","seconds":"{{seconds}} secs","tiktokAccount":"Tiktok Account","tiktokPlaceholder":"Enter tiktok username here","cloudDevice":"Cloud device","cloudDeviceLocation":"Cloud device location","signingToCloudService":"You are signing in to a cloud device","securePlatform":"You are on a secure platform","continuePlaying":"Continue Playing","unmuteMic":"Unmute mic","muteMic":"Mute mic","no":"No","showMore":"Show More","controls":"Controls","native":"Native","scheme":"Scheme","seeGameControls":"See game controls from here","fortniteLabel":"Fortnite is not a part of Open Gaming Store and is not supported for one-click play","signInOrCreate":"Login or Sign up","saveProgressAndEarn":"Save your progress & earn rewards","continue":"Continue","orSignInWith":"Or sign in with","signInToAccount":"Sign in to your account","createFreeAccount":"Create your free account","forgotPassword":"Forgot Password?","sendPwdResetLink":"Send password reset link","resetPwd":"Reset Password","registeredEmail":"Registered Email","resetPwdLinkSent":"Reset password link sent","resetDesc1":"If there’s a now.gg account associated with {{email}} you’ll get a link in your inbox to reset your password.","resetDesc2":"If you don’t get the link, check your spam folder or re-enter your email address.","goBackToSignIn":"Go back to sign in","changePassword":"Change password","account":"Account","currentPwd":"Current Password","newPwd":"New Password","confirmPwd":"Confirm Password","updatePassword":"Update password","incorrectEmailOrPwd":"The password entered was incorrect","chooseAStrongPwd":"Please choose a stronger password. Try a mix of letters and numbers.","pwdMismatch":"The new password does not match","pwdUpdated":"Password Updated","updatingPassword":"Updating Password","google":"Google","noAccountFound":"This Account does not exist!","loginWithEmail":"Login with Email","emailIsIncorrect":"Please enter a valid email","continueToLogin":"Continue to login","createAccount":"Create account","creatingAccount":"Creating account","tryTheseGamesInstead":"Try this game instead","adHelpFree":"Ads help keep now.gg Free!","blogs":"Blogs","topPicks":"Top Picks","googleAccountRequiredHeading":"Google account required","googleAccountRequiredDesc":"This game requires a Google account to play","appUnavailable":"\'{{appName}}\' is not officially available on now.gg","sideloadAndPlay":"Sideload & Play","findingYourGame":"Finding your game","searchingApk":"Searching for APK on the web","poweredBy":"Powered by","bestSource":"Best source","evaluatingResults":"Evaluating Search Results","foundBestSource":"Found the best source","openingAptoideStore":"Opening Aptoide App Store","wait":"Please wait","doNotClose":"Do not close tab","new":"NEW","codeCopied":"Code copied","copyCode":"Copy code","copyToClipboard":"Copy to clipboard","textYouSelected":"Text you selected","paste":"Paste","forbiddenZone":"Forbidden Zone!","unsafeProxy":"Unsafe proxy or VPN detected!","visitOfficialProxy":"For a secure and smooth experience, please connect to our official proxy and turn off any VPN.","setPasswordFirst":"Please create your password through \'Forgot Password\'","robuxEqualsNowbux":"Your Robux are now equal-value nowBux!","emptyQuestsText":"Stay tuned for more adventures!","more":"More","helloIAmAna":"Ana","launchSecretPhone":"Launch secret phone","history":"History","emptyNowbuxHistory":"You haven’t done any transaction yet.","help&Support":"Help & Support","searchWithAna":"Search {{text}} with Ana AI","PoweredByAI":"Powered by AI","forbiddenTitle":"Content Unavailable","forbiddenMsg":"This content is currently not available.","goToHome":"Go to Homepage","aboutNowbux":"About nowBux","chatFlagMsg":"Message flagged. Use of inappropriate language","playOnVpn":"Play on any Proxy or VPN","pass":"Pass","unofficialProxyDetected":"Unofficial proxy detected!","selectSubPlan":"Please select a subscription plan to continue playing","visitOurProxy":"Here’s an alternate, please visit our official proxy.","getNowPrime":"Get nowPrime","won":"Won","cannotAccessGame":"Sorry, you can\'t access this game right now.","errorFailureAnotherSessionActive.heading":"Multiple Sessions Detected!","errorFailureAnotherSessionActive.subHeading":"Looks like you\'re already playing in another window.","errorFailureSessionEnded.heading":"Game Session Over!","errorFailureSessionEnded.subHeading":" Your game session has ended.","errorFailureUnauthorized.heading":"Unauthorized Access!","errorFailureUnauthorized.subHeading":"Oops, you\'re not authorized to access this game.","migratedHeadMondia":"Game Session Over!","refreshMsg":"To restart the game, please refresh this page.","migratedMsgMondia":"Your game session has ended because you initiated a new session on another tab or device.","errorFailureInsufficientPlaytime.heading":"Insufficient Playtime credit","errorFailureInsufficientPlaytime.subHeading":"You\'re unable to play because you don\'t have enough playtime credit.","errorFailureSessionMigrated.heading":"Game Session Over!","errorFailureSessionMigrated.subHeading":"Your game session has ended because you initiated a new session on another tab or device.","selectFile":"Select file","uploadFile":"Upload from your device","subscription":"Subscriptions","manageSubscriptions":"Manage your subscriptions from here","manageSubButtonText":"Manage Subscription","oneAccount":"One account for","commonDisclaimer":"By signing up, you agree to the","unableToFetch":"Unable to fetch data","fetchingData":"Fetching Data","nowPrime":"nowPrime","paymentMethods":"Payment Method","pay":"Pay","termsAccepted":"I have read and accepted the","paymentPending":"Payment pending","completePayment":"Please complete your payment on the browser in:","checkingStatus":"Checking Status","contact":"Contact","help":"for any help","nowPrimeTime":"nowPrime Ad-free gameplay time left","enabledSuccessfully":"enabled successfully","paymentFailed":"Payment failed","cancelTransaction":"Cancel transaction","paymentIncomplete":"Payment not complete","confirmCancellation":"Are you sure you want to cancel the transaction?","paymentIncompleteDesc":"You didn’t complete the payment on time","paymentFailedDesc":"We were unable to process your payment","confirm":"Confirm","dontCancel":"Don’t cancel","reachOutIfCharged":"If you were charged please reach out to us on","buy":"Buy","timeMinPass":"{{min}} mins Pass","watchAd":"Watch Ad","watch1AdForPremium":"Watch 1 ad to get free premium","watchAdNow":"Watch Ad now","lookingForAd":"Looking for an Ad","adErrorMsg":"No ads available right now, please try again later.","almostThere":"Almost there!","watch1stAd":"Watch 1st Ad","watc2ndAd":"Watch 2nd Ad","adFreeRewarded":"{{min}} Min AdFree Reward","watch2Ad":"Watch 2nd Ad now","revaluationTooltipText":"{{nowbuxAdded}} nowBux added due to a change in nowBux value","anaSpectatePrompt":"Whoa! This looks cool! Can I watch you play?","anaWatchMsg":"Awesome, I\'ll keep it low-key while I watch!","anaUnmute":"Unmute Ana","anaMute":"Mute Ana for this session","showAnaMessages":"Talk to Ana","anaNoSpectate":"Thanks! I’ll be here quietly cheering you on!","youCanStillPlay":"You can still play","sidebarRewardedInfo":"Expires if you do not login in 30 days.","sidebarPurchasedInfo":"Always stay in your account.","accountRewardedInfo":"nowBux earned through rewards expires after 30 days of inactivity.","accountPurchasedInfo":"Purchased nowBux will never expire from your account.","transactionHistory":"Transaction history","premium":"premium","expiresOn":"Expires on","hotNow":"Hot now","addMoreTime":"Add more time","1ad":"1 Ad","subscriptionNotAutoRenew":"This subscription will not auto-renew","cancelToRefund":"Cancel within 7 days for a full refund.","redirectForPayment":"You will be redirected to a new browser window to complete the purchase.","letsGo":"Let\'s go","pleaseDontCloseTab":"Please don\'t close this tab","orderNo":"Order number:","playWithoutLimits":"Play without limits,","goAdFree":"Go Ad-free","playAdFree":"Play Ad-free","testdriveThingsSetup":"We\'re setting things up to launch your game.","testDriveLoading":"Loading the test environment may take up to 5 minutes if inactive for over an hour.","nowPrime.label":"nowPrime Subscription","nowPrime.paymentIssues":"Payment issues","nowPrime.featureIssues":"Feature-Related issues","nowPrime.accountAccess":"Account access","noPaymentPage":"Payment page not showing?","showPaymentScreen":"Complete payment","matureContentWarning":"Mature Content Warning","matureContentDescription":"This game may contain content that is not appropriate for all ages. By proceeding, you affirm that you are at least 18 years old.","min18YearsDisclaimer":"You must be at least 18 years old to access this game","yesIam18":"Yes, I\'m 18+","downloadRecordingTooltipMsg":"Download your saved recordings by November 15th. After that, they will no longer be available.","videoDiscarded":"Video Discarded","pickYourPlayStyle":"Pick your play style","vipMiniPass":"VIP Mini Pass","timeMinsAdFree":"{{min}} mins, Ad-free","noPaymentRequired":"No payment required","playWithoutLimits2":"Play without Limits","startsAt":"Starts at","freeAccess":"Free access","limitedExperience":"Limited experience","notAvailableForThisGame":"Not available for this game","buyNow":"Buy Now","adBlockerMessage":"Didn’t see an Ad? Disable Ad-blocker and reload!","allProblemResolved":"All your problems solved.","reachToEmailHelp":"Reach out to {{email}} for more help.","termPrivacy":"Terms and Privacy","copyrightPolicy":"Copyright Dispute Policy","euPrivacy":"EU Privacy","amazon":"Amazon","dmmGames":"DMM Games","upcomingStores":"Upcoming stores","partnerGames":"Partner games","cancelMembership":"Cancel Membership","youNowjpmember":"You are a {{brandName}} member","membershipConfirmed":"Membership confirmed","successReceivedRequest":"We’ve successfully received your request.","nowjpMemberId":"now.jp Member ID:","connectPaypal":"Connect your PayPal email","emailId1":"Email ID","connect":"Connect","connectPaypalInfo":"Email ID cannot be changed after submission.","confirmPaypalConfirmation":"Are you sure you want to connect?","connecting":"Connecting","playUnlimited":"Play unlimited","maxLimitExceedMsg":"You\'ve reached today\'s limit for earning nowBux through ads","earn1NowBuxWatchAd":"Earn 1 nowBux by watching an ad!","1Nowbux":"1 nowbux","successfullyAddedToBalance":"successfully added to your balance!","watchAnotherAd":"Watch Another Ad","skipForNow":"Skip for now","off":"off","okayGotIt":"Okay, got it","limitReachMsg":"You\'ve reached today\'s limit for earning nowBux through ads.","1NowbuxEarned":"1 nowbux earned","claimItByLogin":"Claim it by logging in to your account","discardNowBux":"Discard nowBux","yourNowBuxWillBeLost":"Your nowBux will be lost!","nowBuxConfirmationModalDescription":"This action is irreversible. Your earned nowBux will be permanently lost","confirmDiscard":"Confirm discard","keepMyNowBux":"Keep my nowBux","earnedNowbuxDiscarded":"Earned nowbux discarded","robloxMoved":"Roblox has moved","migrateToLinkFinder":"To find playable Roblox links, goto wsup.ai via the below link, and talk to the character \\"Roblox link finder\\"","launchLinkFinder":"Launch Roblox Link Finder","atleast8Chars":"At least 8 chars,","number":"1 number.","specialChar":"Optional symbols: !@#$%^&*","togglePwd":"Toggle password","yourBenefits":"Your benefits","expiryDate":"Expiry Date","id":"ID","logoMembershipPerks":"{{brandName}} membership perks","premiumStores":"Premium Stores","runGameStoreChoice":"Run games from the store of your choice","AiPoweredGPUs":"AI-Powered GPUs","nextGenAIGpu":"Next-gen AI GPUs for seamless gaming","priorityAccess":"Priority Access","getPriorityAccessPremiumGame":"Never run out of space with endless storage","perMonth":"per month","claimEarlyBirdOffer":"Claim Early Bird Offer","cancel7DayRefund":"Cancel within 7 days for a full refund","additionalBenefits":"Additional benefits","sorryToLetGo":"We’re sorry to see you go!","membershipCancelSubscriptionNotice":"Your membership is active until {{expiryDate}}. If you cancel now, you’ll still have access to exclusive perks till the end of your subscription period.","keepMembership":"Keep Membership","leaveNowPrime":"Leave nowPrime","getOwnCloudPhone":"Get your own cloud phone","getPriorityExperience":"Get priority experience","availableAcrossMultipleGame":"Available across mutiple games","robuxAlertMsg":"Last chance! Robux gift card redemption is closing on 25th December","youAreInQueue":"You are in the queue","estimatedWaitTime":"Estimated wait time","tiredOfWaiting":"Tired of waiting? Get priority access now!","hurrayPriorityQueue":"Hurray! You are in priority queue","whatIsNowPrimeQuestion":"What is nowPrime?","whatIsNowPrimeAnswer":"As a nowPrime member, you get access to premium games, exclusive in-game discounts, a personal cloud phone, and AI-powered GPU support—all working together to provide a smooth and superior gaming experience.","canPlayMultipleDevicesQuestion":"Can I play on multiple devices?","canPlayMultipleDevicesAnswer":"Absolutely. Your personal cloud phone and game library are accessible across various compatible devices so that you can enjoy gaming anywhere, anytime.","aiGpuDifferenceQuestion":"Do AI-powered GPUs make a difference?","aiGpuDifferenceAnswer":"Yes. AI-powered GPUs deliver enhanced performance, reduce lag, and create a smoother gaming environment. You’ll notice faster load times and more responsive gameplay.","howDataProtectedQuestion":"How is my personal data protected?","howDataProtectedAnswer":"We are committed to maintaining the highest level of privacy and security for your personal data. Rigorous measures are in place to ensure your information remains fully protected and confidential.","priorityAccessQuestion":"Do I get priority access to premium games?","priorityAccessAnswer":"Yes. nowPrime members enjoy priority access, allowing you to jump right into new releases and exclusive titles without waiting in line.","specialDiscountsQuestion":"Are there special discounts on in-game items?","specialDiscountsAnswer":"Yes. nowPrime members receive exclusive in-game discounts, helping you save on your favorite titles and enjoy extra value.","tryNowPrimeQuestion":"Can I try nowPrime?","tryNowPrimeAnswer":"Yes. We offer a 7-day free trial, allowing you to experience our features, performance, and game library risk-free before deciding.","cancelAnytimeQuestion":"Can I cancel my membership anytime?","cancelAnytimeAnswer":"Yes. You’re free to cancel anytime. If you cancel within the first 7 days, you’ll receive a full refund—no questions asked.","specialDiscountInGame":"Special Discounts on in-game items","immersiveFullScreenExperience":"Immersive full-screen experience","fullhdGameExperience":"Full HD gaming experience","balance":"Balance","cashableBalance":"Cashable Balance","cashout":"Cashout","offerProgress":"Offer Progress","offerProgress.completed":"Completed","offerProgress.cashedOut":"Cashed out","offerProgress.expired":"Expired","offerProgress.gameInstalled":"Game Installed","offerProgress.installationVerified":"Installation Verified","offerProgress.installationVerifiedTooltip":"We verified your Installation","offerProgress.playTheGame":"Play the game for {{minutes}} minutes","offerProgress.purchaseItems":"Purchase items at least worth {{purchase_amount}} in {{purchase_in_days}} days","offerProgress.purchaseItems.remainingAmount":"({{amount}} remaining)","loyaltyProgram.title":"Game Hunt","loyaltyProgram.description":"Discover games you”ll love and earn rewards for playing","loyaltyProgram.discover":"Discover the program","bluestacks":"BlueStacks","details":"Details","progress":"Progress","complete":"Complete","errorMsg":"There was an error, please try again.","requestSubmitted":"Request submitted","requestSubmittedMsg":"Your withdrawal request {{transaction_id}} is received. Funds will transfer in {{days}} business days, and you\'ll get an email notification.","requestSubmittedSupport":"Reach out to us on {{email}} for any queries.","noRedeemableFunds":"No redeemable funds","noRedeemableFundsMsg":"You can withdraw only after you complete all steps in an offer.","withdrawlNote":"Your reward will be sent to this email address. Make sure this email is linked to your PayPal account.","withdrawlConfirmation.1":"I confirm this PayPal email can receive payments","withdrawlConfirmation.2":"I understand my order is non-refundable","withdraw":"Withdraw","currency":"Currency","eligibleGames":"Eligible Games","paypalAccount":"PayPal account","withdrawalFees":"Withdrawal Fees","amount":"Amount","willRecieve":"You will receive","nowbuxGotABoost":"just got a boost, use nowbux to make payments throughout now.gg","really?How?":"Really? How?","useNowbuxForEverything":"Use nowbux for everything","buySubs":"Buy Subscriptions","buyInGame":"Buy in-game items","mulNowbux":"Multiply nowBux","gameUpgrades":"Game Upgrades","boosts":"Boosts","enjoyGameplay":"Enjoy uninterrupted gameplay with no ads or distractions.","startingAt":"Starting at just","redeemAnytime":"Redeem anytime from here","gotIt":"Got it","nowbuxPayments":"For payments & lot more on now.gg","expired":"Expired","expiredModalDescription":"Renew to continue playing without Ads with immersive gameplay","renewNow":"Renew now","continueWithAds":"Continue with Ads","nowBuxAddedSuccessfully":"nowBux added Successfully!","ThankYouForYourPayment":"Thank you for your payment","orderNumber":"Order number:","playPremiumGames2":"Play Premium Games","playOnAnyProxyOrVPN":"Play on any Proxy or VPN","continuePlaying2":"Continue playing","FullScreenGameplay":"Full screen gameplay","insufficientBalance":"Insufficient balance","addMoreNowbuxToBuyThisItem":"Add more nowbux to buy this item","itemPrice":"Item Price","nowBuxBalance":"nowBux balance","nowBuxNeeded":"nowBux needed","buySubscription":"Buy Subscription","addMinsToGameplay":"Add {{min}} mins to your gameplay","getMorePlaytime":"Get more playtime by watching an ad","enjoyFreeGameplay":"Enjoy 5 mins of free gameplay!","codeValidForSingleUse":"Code is valid for single use only","couponCode":"Coupon Code","watch2minAd":"Watch 2 min ad to generate free coupon that can be used to unlock rewards","disableAdBlockerGenerateCoupon":"Disable ad-blocker to continue","generateCoupon":"Generate Coupon","generatingCodeIn":"Generating coupon code in","noMoreCoupon":"No more coupons
available at the moment.","checkBackLater":"Please check back later!","adFreeModeActivate":"Ad-free mode activated!","enjoyTimeUniterruptedMin":"Enjoy {{timeInMin}} uninterrupted minutes of gaming!","letsGo!":"Let’s Go!","topSearches":"Top searches","yourPrivacySettings":"Your privacy settings"}')},28198:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>ec,t:()=>el});var o=n(54945),r=n(59524),i=n(44212);function a(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}function c(e,t){if(t&&("object"==(0,o.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return a(e)}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=n(85190),p=n(83784),f=n(17520),g=n(13163);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function y(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};(0,r.A)(this,e),this.init(t,n)}return(0,i.A)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||m,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=Array(e),n=0;n1?t-1:0),o=1;o-1?e.replace(/###/g,"."):e}function r(){return!e||"string"==typeof e}for(var i="string"!=typeof t?[].concat(t):t.split(".");i.length>1;){if(r())return{};var a=o(i.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return r()?{}:{obj:e,k:o(i.shift())}}function E(e,t,n){var o=b(e,t,Object);o.obj[o.k]=n}function _(e,t){var n=b(e,t),o=n.obj,r=n.k;if(o)return o[r]}function T(e,t,n){var o=_(e,n);return void 0!==o?o:_(t,n)}function P(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var O={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function I(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,function(e){return O[e]}):e}var R="undefined"!=typeof window&&window.navigator&&void 0===window.navigator.userAgentData&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,k=[" ",",","?","!",";"];function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function D(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return(0,r.A)(this,o),t=n.call(this),R&&A.call(a(t)),t.data=e||{},t.options=i,void 0===t.options.keySeparator&&(t.options.keySeparator="."),void 0===t.options.ignoreJSONStructure&&(t.options.ignoreJSONStructure=!0),t}return(0,i.A)(o,[{key:"addNamespaces",value:function(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator,i=void 0!==o.ignoreJSONStructure?o.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(r?n.split(r):n)),e.indexOf(".")>-1&&(a=e.split("."));var s=_(this.data,a);return s||!i||"string"!=typeof n?s:function e(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(t){if(t[n])return t[n];for(var r=n.split(o),i=t,a=0;aa+s;)s++,c=i[l=r.slice(a,a+s).join(o)];if(void 0===c)return;if(null===c)return null;if(n.endsWith(l)){if("string"==typeof c)return c;if(l&&"string"==typeof c[l])return c[l]}var u=r.slice(a+s).join(o);if(u)return e(c,u,o);return}i=i[r[a]]}return i}}(this.data&&this.data[e]&&this.data[e][t],n,r)}},{key:"addResource",value:function(e,t,n,o){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=this.options.keySeparator;void 0===i&&(i=".");var a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(a=e.split("."),o=t,t=a[1]),this.addNamespaces(t),E(this.data,a,o),r.silent||this.emit("added",e,t,n,o)}},{key:"addResources",value:function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var r in n)("string"==typeof n[r]||"[object Array]"===Object.prototype.toString.apply(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});o.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,o,r){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),o=n,n=t,t=a[1]),this.addNamespaces(t);var s=_(this.data,a)||{};o?function e(t,n,o){for(var r in n)"__proto__"!==r&&"constructor"!==r&&(r in t?"string"==typeof t[r]||t[r]instanceof String||"string"==typeof n[r]||n[r]instanceof String?o&&(t[r]=n[r]):e(t[r],n[r],o):t[r]=n[r]);return t}(s,n,r):s=D(D({},s),n),E(this.data,a,s),i.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return(t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI)?D(D({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(function(e){return t[e]&&Object.keys(t[e]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),o}(A),C={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,o,r){var i=this;return e.forEach(function(e){i.processors[e]&&(t=i.processors[e].process(t,n,o,r))}),t}};function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function F(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return(0,r.A)(this,s),i=n.call(this),R&&A.call(a(i)),t=["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],o=a(i),t.forEach(function(t){e[t]&&(o[t]=e[t])}),i.options=l,void 0===i.options.keySeparator&&(i.options.keySeparator="."),i.logger=v.create("translator"),i}return(0,i.A)(s,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var o=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,r=t.ns||this.options.defaultNS||[],i=n&&e.indexOf(n)>-1,a=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!function(e,t,n){t=t||"",n=n||"";var o=k.filter(function(e){return 0>t.indexOf(e)&&0>n.indexOf(e)});if(0===o.length)return!0;var r=new RegExp("(".concat(o.map(function(e){return"?"===e?"\\?":e}).join("|"),")")),i=!r.test(e);if(!i){var a=e.indexOf(n);a>0&&!r.test(e.substring(0,a))&&(i=!0)}return i}(e,n,o);if(i&&!a){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:r};var l=e.split(n);(n!==o||n===o&&this.options.ns.indexOf(l[0])>-1)&&(r=l.shift()),e=l.join(o)}return"string"==typeof r&&(r=[r]),{key:e,namespaces:r}}},{key:"translate",value:function(e,t,n){var r=this;if("object"!==(0,o.A)(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var i=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,a=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,l=this.extractFromKey(e[e.length-1],t),c=l.key,u=l.namespaces,d=u[u.length-1],p=t.lng||this.language,f=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(p&&"cimode"===p.toLowerCase()){if(f){var g=t.nsSeparator||this.options.nsSeparator;return i?(h.res="".concat(d).concat(g).concat(c),h):"".concat(d).concat(g).concat(c)}return i?(h.res=c,h):c}var h=this.resolve(e,t),y=h&&h.res,m=h&&h.usedKey||c,v=h&&h.exactUsedKey||c,A=Object.prototype.toString.apply(y),S=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,w=!this.i18nFormat||this.i18nFormat.handleAsObject,b="string"!=typeof y&&"boolean"!=typeof y&&"number"!=typeof y;if(w&&y&&b&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(A)&&("string"!=typeof S||"[object Array]"!==A)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var E=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,y,F(F({},t),{},{ns:u})):"key '".concat(c," (").concat(this.language,")' returned an object instead of string.");return i?(h.res=E,h):E}if(a){var _="[object Array]"===A,T=_?[]:{},P=_?v:m;for(var O in y)if(Object.prototype.hasOwnProperty.call(y,O)){var I="".concat(P).concat(a).concat(O);T[O]=this.translate(I,F(F({},t),{joinArrays:!1,ns:u})),T[O]===I&&(T[O]=y[O])}y=T}}else if(w&&"string"==typeof S&&"[object Array]"===A)(y=y.join(S))&&(y=this.extendTranslation(y,e,t,n));else{var R=!1,k=!1,x=void 0!==t.count&&"string"!=typeof t.count,D=s.hasDefaultValue(t),N=x?this.pluralResolver.getSuffix(p,t.count,t):"",C=t["defaultValue".concat(N)]||t.defaultValue;!this.isValidLookup(y)&&D&&(R=!0,y=C),this.isValidLookup(y)||(k=!0,y=c);var L=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&k?void 0:y,U=D&&C!==y&&this.options.updateMissing;if(k||R||U){if(this.logger.log(U?"updateKey":"missingKey",p,d,c,U?C:y),a){var M=this.resolve(c,F(F({},t),{},{keySeparator:!1}));M&&M.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var j=[],B=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&B&&B[0])for(var G=0;G1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach(function(e){if(!a.isValidLookup(t)){var l=a.extractFromKey(e,s),c=l.key;n=c;var u=l.namespaces;a.options.fallbackNS&&(u=u.concat(a.options.fallbackNS));var d=void 0!==s.count&&"string"!=typeof s.count,p=d&&!s.ordinal&&0===s.count&&a.pluralResolver.shouldUseIntlApi(),f=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,g=s.lngs?s.lngs:a.languageUtils.toResolveHierarchy(s.lng||a.language,s.fallbackLng);u.forEach(function(e){a.isValidLookup(t)||(i=e,!U["".concat(g[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(i)&&(U["".concat(g[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(g.join(", "),'" won\'t get resolved as namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),g.forEach(function(n){if(!a.isValidLookup(t)){r=n;var i,l=[c];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(l,c,n,e,s);else{d&&(u=a.pluralResolver.getSuffix(n,s.count,s));var u,g="".concat(a.options.pluralSeparator,"zero");if(d&&(l.push(c+u),p&&l.push(c+g)),f){var h="".concat(c).concat(a.options.contextSeparator).concat(s.context);l.push(h),d&&(l.push(h+u),p&&l.push(h+g))}}for(;i=l.pop();)a.isValidLookup(t)||(o=i,t=a.getResource(n,e,i,s))}}))})}}),{res:t,usedKey:n,exactUsedKey:o,usedLng:r,usedNS:i}}},{key:"isValidLookup",value:function(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,o):this.resourceStore.getResource(e,t,n,o)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}]),s}(A);function j(e){return e.charAt(0).toUpperCase()+e.slice(1)}var B=function(){function e(t){(0,r.A)(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=v.create("languageUtils")}return(0,i.A)(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||0>e.indexOf("-"))return null;var t=e.split("-");return 2===t.length||(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||0>e.indexOf("-"))return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map(function(e){return e.toLowerCase()}):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=j(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=j(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=j(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach(function(e){if(!t){var o=n.formatLanguageCode(e);(!n.options.supportedLngs||n.isSupportedCode(o))&&(t=o)}}),!t&&this.options.supportedLngs&&e.forEach(function(e){if(!t){var o=n.getLanguagePartFromCode(e);if(n.isSupportedCode(o))return t=o;t=n.options.supportedLngs.find(function(e){if(0===e.indexOf(o))return e})}}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,o=this.getFallbackCodes(t||this.options.fallbackLng||[],e),r=[],i=function(e){e&&(n.isSupportedCode(e)?r.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),o.forEach(function(e){0>r.indexOf(e)&&i(n.formatLanguageCode(e))}),r}}]),e}(),G=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],H={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(+(1!=e&&(e%10!=1||e%100==11)))},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:3*(e%100==3||e%100==4))},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},W=["v1","v2","v3"],z={zero:0,one:1,two:2,few:3,many:4,other:5},V=function(){function e(t){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,r.A)(this,e),this.languageUtils=t,this.options=o,this.logger=v.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(n={},G.forEach(function(e){e.lngs.forEach(function(t){n[t]={numbers:e.nr,plurals:H[e.fc]}})}),n)}return(0,i.A)(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map(function(e){return"".concat(t).concat(e)})}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=this.getRule(e,n);return o?this.shouldUseIntlApi()?o.resolvedOptions().pluralCategories.sort(function(e,t){return z[e]-z[t]}).map(function(e){return"".concat(t.options.prepend).concat(e)}):o.numbers.map(function(o){return t.getSuffix(e,o,n)}):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=this.getRule(e,n);return o?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(o.select(t)):this.getSuffixRetroCompatible(o,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,o=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),r=e.numbers[o];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===r?r="plural":1===r&&(r=""));var i=function(){return n.options.prepend&&r.toString()?n.options.prepend+r.toString():r.toString()};return"v1"===this.options.compatibilityJSON?1===r?"":"number"==typeof r?"_plural_".concat(r.toString()):i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}},{key:"shouldUseIntlApi",value:function(){return!W.includes(this.options.compatibilityJSON)}}]),e}();function Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function $(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};(0,r.A)(this,e),this.logger=v.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return(0,i.A)(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:I,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?P(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?P(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?P(t.nestingPrefix):t.nestingPrefixEscaped||P("$t("),this.nestingSuffix=t.nestingSuffix?P(t.nestingSuffix):t.nestingSuffixEscaped||P(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,o){var r,i,a,s=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(e){return e.replace(/\$/g,"$$$$")}var u=function(e){if(0>e.indexOf(s.formatSeparator)){var r=T(t,l,e);return s.alwaysFormat?s.format(r,void 0,n,$($($({},o),t),{},{interpolationkey:e})):r}var i=e.split(s.formatSeparator),a=i.shift().trim(),c=i.join(s.formatSeparator).trim();return s.format(T(t,l,a),c,n,$($($({},o),t),{},{interpolationkey:a}))};this.resetRegExp();var d=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,p=o&&o.interpolation&&void 0!==o.interpolation.skipOnVariables?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return c(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?c(s.escape(e)):c(e)}}].forEach(function(t){for(a=0;r=t.regex.exec(e);){var n=r[1].trim();if(void 0===(i=u(n)))if("function"==typeof d){var l=d(e,r,o);i="string"==typeof l?l:""}else if(o&&o.hasOwnProperty(n))i="";else if(p){i=r[0];continue}else s.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),i="";else"string"==typeof i||s.useRawValueToEscape||(i=w(i));var c=t.safeValue(i);if(e=e.replace(r[0],c),p?(t.regex.lastIndex+=i.length,t.regex.lastIndex-=r[0].length):t.regex.lastIndex=0,++a>=s.maxReplaces)break}}),e}},{key:"nest",value:function(e,t){var n,o,r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=$({},i);function s(e,t){var n=this.nestingOptionsSeparator;if(0>e.indexOf(n))return e;var o=e.split(new RegExp("".concat(n,"[ ]*{"))),r="{".concat(o[1]);e=o[0];var i=(r=this.interpolate(r,a)).match(/'/g),s=r.match(/"/g);(i&&i.length%2==0&&!s||s.length%2!=0)&&(r=r.replace(/'/g,'"'));try{a=JSON.parse(r),t&&(a=$($({},t),a))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(r)}return delete a.defaultValue,e}for(a.applyPostProcessor=!1,delete a.defaultValue;n=this.nestingRegexp.exec(e);){var l=[],c=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var u=n[1].split(this.formatSeparator).map(function(e){return e.trim()});n[1]=u.shift(),l=u,c=!0}if((o=t(s.call(this,n[1].trim(),a),a))&&n[0]===e&&"string"!=typeof o)return o;"string"!=typeof o&&(o=w(o)),o||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),o=""),c&&(o=l.reduce(function(e,t){return r.format(e,t,i.lng,$($({},i),{},{interpolationkey:n[1].trim()}))},o.trim())),e=e.replace(n[0],o),this.regexp.lastIndex=0}return e}}]),e}();function J(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function X(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};(0,r.A)(this,e),this.logger=v.create("formatter"),this.options=t,this.formats={number:K(function(e,t){var n=new Intl.NumberFormat(e,t);return function(e){return n.format(e)}}),currency:K(function(e,t){var n=new Intl.NumberFormat(e,X(X({},t),{},{style:"currency"}));return function(e){return n.format(e)}}),datetime:K(function(e,t){var n=new Intl.DateTimeFormat(e,X({},t));return function(e){return n.format(e)}}),relativetime:K(function(e,t){var n=new Intl.RelativeTimeFormat(e,X({},t));return function(e){return n.format(e,t.range||"day")}}),list:K(function(e,t){var n=new Intl.ListFormat(e,X({},t));return function(e){return n.format(e)}})},this.init(t)}return(0,i.A)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=t.interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"addCached",value:function(e,t){this.formats[e.toLowerCase().trim()]=K(t)}},{key:"format",value:function(e,t,n,o){var r=this;return t.split(this.formatSeparator).reduce(function(e,t){var i=function(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var o=e.split("(");t=o[0].toLowerCase().trim();var r=o[1].substring(0,o[1].length-1);"currency"===t&&0>r.indexOf(":")?n.currency||(n.currency=r.trim()):"relativetime"===t&&0>r.indexOf(":")?n.range||(n.range=r.trim()):r.split(";").forEach(function(e){if(e){var t,o=(t=e.split(":"),(0,p.A)(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||(0,f.A)(t)||(0,g.A)()),r=o[0],i=o.slice(1).join(":").trim().replace(/^'+|'+$/g,"");n[r.trim()]||(n[r.trim()]=i),"false"===i&&(n[r.trim()]=!1),"true"===i&&(n[r.trim()]=!0),isNaN(i)||(n[r.trim()]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}}(t),a=i.formatName,s=i.formatOptions;if(r.formats[a]){var l=e;try{var c=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},u=c.locale||c.lng||o.locale||o.lng||n;l=r.formats[a](e,u,X(X(X({},s),o),c))}catch(e){r.logger.warn(e)}return l}return r.logger.warn("there was no format function for ".concat(a)),e},e)}}]),e}();function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function ee(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:{};return(0,r.A)(this,o),s=n.call(this),R&&A.call(a(s)),s.backend=e,s.store=t,s.services=i,s.languageUtils=i.languageUtils,s.options=l,s.logger=v.create("backendConnector"),s.waitingReads=[],s.maxParallelReads=l.maxParallelReads||10,s.readingCalls=0,s.maxRetries=l.maxRetries>=0?l.maxRetries:5,s.retryTimeout=l.retryTimeout>=1?l.retryTimeout:350,s.state={},s.queue=[],s.backend&&s.backend.init&&s.backend.init(i,l.backend,l),s}return(0,i.A)(o,[{key:"queueLoad",value:function(e,t,n,o){var r=this,i={},a={},s={},l={};return e.forEach(function(e){var o=!0;t.forEach(function(t){var s="".concat(e,"|").concat(t);!n.reload&&r.store.hasResourceBundle(e,t)?r.state[s]=2:r.state[s]<0||(1===r.state[s]?void 0===a[s]&&(a[s]=!0):(r.state[s]=1,o=!1,void 0===a[s]&&(a[s]=!0),void 0===i[s]&&(i[s]=!0),void 0===l[t]&&(l[t]=!0)))}),o||(s[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}},{key:"loaded",value:function(e,t,n){var o=e.split("|"),r=o[0],i=o[1];t&&this.emit("failedLoading",r,i,t),n&&this.store.addResourceBundle(r,i,n),this.state[e]=t?-1:2;var a={};this.queue.forEach(function(n){var o,s,l,c,u;o=n.loaded,(c=(l=b(o,[r],Object)).obj)[u=l.k]=c[u]||[],s||c[u].push(i),void 0!==n.pending[e]&&(delete n.pending[e],n.pendingCount--),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(function(e){a[e]||(a[e]={});var t=n.loaded[e];t.length&&t.forEach(function(t){void 0===a[e][t]&&(a[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(function(e){return!e.done})}},{key:"read",value:function(e,t,n){var o=this,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;return e.length?this.readingCalls>=this.maxParallelReads?void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:a}):(this.readingCalls++,this.backend[n](e,t,function(s,l){if(o.readingCalls--,o.waitingReads.length>0){var c=o.waitingReads.shift();o.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}if(s&&l&&r2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var i=this.queueLoad(e,t,o,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach(function(e){n.loadOne(e)})}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=e.split("|"),r=o[0],i=o[1];this.read(r,i,"read",void 0,void 0,function(o,a){o&&t.logger.warn("".concat(n,"loading namespace ").concat(i," for language ").concat(r," failed"),o),!o&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(i," for language ").concat(r),a),t.loaded(e,o,a)})}},{key:"saveMissing",value:function(e,t,n,o,r){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))return void this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,o,null,ee(ee({},i),{},{isUpdate:r})),e&&e[0]&&this.store.addResource(e[0],t,n,o))}}]),o}(A);function en(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&0>e.supportedLngs.indexOf("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function eo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function er(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;if((0,r.A)(this,s),t=n.call(this),R&&A.call(a(t)),t.options=en(o),t.services={},t.logger=v,t.modules={external:[]},Object.getOwnPropertyNames(Object.getPrototypeOf(e=a(t))).forEach(function(t){"function"==typeof e[t]&&(e[t]=e[t].bind(e))}),i&&!t.isInitialized&&!o.isClone){if(!t.options.initImmediate)return t.init(o,i),c(t,a(t));setTimeout(function(){t.init(o,i)},0)}return t}return(0,i.A)(s,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:0>t.ns.indexOf("translation")&&(t.defaultNS=t.ns[0]));var r={debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===(0,o.A)(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===(0,o.A)(e[2])||"object"===(0,o.A)(e[3])){var n=e[3]||e[2];Object.keys(n).forEach(function(e){t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:function(e,t,n,o){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}};function i(e){return e?"function"==typeof e?new e:e:null}if(this.options=er(er(er({},r),this.options),en(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=er(er({},r.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){this.modules.logger?v.init(i(this.modules.logger),this.options):v.init(null,this.options),this.modules.formatter?a=this.modules.formatter:"undefined"!=typeof Intl&&(a=Q);var a,s=new B(this.options);this.store=new N(this.options.resources,this.options);var l=this.services;l.logger=v,l.resourceStore=this.store,l.languageUtils=s,l.pluralResolver=new V(s,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),a&&(!this.options.interpolation.format||this.options.interpolation.format===r.interpolation.format)&&(l.formatter=i(a),l.formatter.init(l,this.options),this.options.interpolation.format=l.formatter.format.bind(l.formatter)),l.interpolator=new q(this.options),l.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},l.backendConnector=new et(i(this.modules.backend),l.resourceStore,l,this.options),l.backendConnector.on("*",function(t){for(var n=arguments.length,o=Array(n>1?n-1:0),r=1;r1?n-1:0),r=1;r0&&"dev"!==c[0]&&(this.options.lng=c[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}});var u=S(),d=function(){var t=function(t,o){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),u.resolve(o),n(t,o)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?d():setTimeout(d,0),u}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ei,o=n,r="string"==typeof e?e:this.language;if("function"==typeof e&&(o=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase())return o();var i=[],a=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach(function(e){0>i.indexOf(e)&&i.push(e)})};r?a(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(function(e){return a(e)}),this.options.preload&&this.options.preload.forEach(function(e){return a(e)}),this.services.backendConnector.load(i,this.options.ns,function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),o(e)})}else o(null)}},{key:"reloadResources",value:function(e,t,n){var o=S();return e||(e=this.languages),t||(t=this.options.ns),n||(n=ei),this.services.backendConnector.reload(e,t,function(e){o.resolve(),n(e)}),o}},{key:"use",value:function(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&C.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var o=S();this.emit("languageChanging",e);var r=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},i=function(e,i){i?(r(i),n.translator.changeLanguage(i),n.isLanguageChangingTo=void 0,n.emit("languageChanged",i),n.logger.log("languageChanged",i)):n.isLanguageChangingTo=void 0,o.resolve(function(){return n.t.apply(n,arguments)}),t&&t(e,function(){return n.t.apply(n,arguments)})},a=function(t){e||t||!n.services.languageDetector||(t=[]);var o="string"==typeof t?t:n.services.languageUtils.getBestMatchFromCodes(t);o&&(n.language||r(o),n.translator.language||n.translator.changeLanguage(o),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(o)),n.loadResources(o,function(e){i(e,o)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),o}},{key:"getFixedT",value:function(e,t,n){var r=this,i=function e(t,i){if("object"!==(0,o.A)(i)){for(var a,s=arguments.length,l=Array(s>2?s-2:0),c=2;c1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var o=this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===o.toLowerCase())return!0;var a=function(e,n){var o=t.services.backendConnector.state["".concat(e,"|").concat(n)];return -1===o||2===o};if(n.precheck){var s=n.precheck(this,a);if(void 0!==s)return s}return!!(this.hasResourceBundle(o,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(o,e)&&(!r||a(i,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,o=S();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach(function(e){0>n.options.ns.indexOf(e)&&n.options.ns.push(e)}),this.loadResources(function(e){o.resolve(),t&&t(e)}),o):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=S();"string"==typeof e&&(e=[e]);var o=this.options.preload||[],r=e.filter(function(e){return 0>o.indexOf(e)});return r.length?(this.options.preload=o.concat(r),this.loadResources(function(e){n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){return(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),e)?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ei,o=er(er(er({},this.options),t),{isClone:!0}),r=new s(o);return(void 0!==t.debug||void 0!==t.prefix)&&(r.logger=r.logger.clone(t)),["store","services","language"].forEach(function(t){r[t]=e[t]}),r.services=er({},this.services),r.services.utils={hasLoadedNamespace:r.hasLoadedNamespace.bind(r)},r.translator=new M(r.services,r.options),r.translator.on("*",function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new ea(e,t)});var es=ea.createInstance();es.createInstance=ea.createInstance,es.createInstance,es.init,es.loadResources,es.reloadResources,es.use,es.changeLanguage,es.getFixedT;var el=es.t;es.exists,es.setDefaultNamespace,es.hasLoadedNamespace,es.loadNamespaces,es.loadLanguages;let ec=es},28654:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},29044:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103,r=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,g=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,y=n?Symbol.for("react.lazy"):60116,m=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,A=n?Symbol.for("react.responder"):60118,S=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case u:case d:case i:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case y:case h:case l:return e;default:return t}}case r:return t}}}function b(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=o,t.ForwardRef=p,t.Fragment=i,t.Lazy=y,t.Memo=h,t.Portal=r,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return b(e)||w(e)===u},t.isConcurrentMode=b,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===y},t.isMemo=function(e){return w(e)===h},t.isPortal=function(e){return w(e)===r},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===f||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===h||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===v||e.$$typeof===A||e.$$typeof===S||e.$$typeof===m)},t.typeOf=w},29103:(e,t,n)=>{"use strict";n.d(t,{Eh:()=>s,Kk:()=>l,c8:()=>a});var o=n(10025),r=n(49268);let i=()=>{(0,o.vd)("tabstatus::active"),window.focus(),document.removeEventListener("pointerdown",i)},a=()=>{(0,o.vd)("tabstatus::inactive"),document.addEventListener("pointerdown",i)},s=e=>{try{e.exitFullscreen?e.exitFullscreen().catch(e=>console.error(e)):e.webkitExitFullscreen?e.webkitExitFullscreen():e.msExitFullscreen?e.msExitFullscreen():e.mozCancelFullScreen&&e.mozCancelFullScreen()}catch(e){}(0,r.a4)()},l=e=>{try{e.requestFullscreen?e.requestFullscreen().catch(e=>console.error(e)):e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen?e.msRequestFullscreen():e.mozRequestFullScreen&&e.mozRequestFullScreen()}catch(e){}(0,r.a4)()}},29176:(e,t,n)=>{"use strict";n.d(t,{$O:()=>i,JR:()=>o,xl:()=>r});let o="https://now.us/?utm_source=now.gg&utm_campaign=navigation&utm_medium=main-site",r="cloudfront-viewer-country",i={heading:"BattleCoin Arcade",subHeading:'Step into the ultimate PVP playground with BattleCoin Arcade, the premiere cloud arcade for skill-based competitive games! Play freely with no platform restrictions and no cheating. Learn more at BattleCoin.com'}},29257:(e,t,n)=>{var o=n(76014);e.exports=function(e,t,n){for(var r=-1,i=e.length;++r{"use strict";let o,r,i;n.d(t,{$$:()=>Y,A_:()=>E,Ay:()=>J,Bt:()=>T,Gg:()=>y,HW:()=>P,OG:()=>S,QO:()=>M,Rs:()=>H,Sb:()=>_,U5:()=>g,VP:()=>W,XJ:()=>f,Zl:()=>b,a2:()=>G,b:()=>j,f_:()=>v,gA:()=>D,hk:()=>z,hy:()=>d,ni:()=>A,tl:()=>V,tr:()=>I,un:()=>q,ux:()=>k,v2:()=>$,v5:()=>L,v8:()=>B,vD:()=>R,wW:()=>C,x4:()=>O,zA:()=>F});var a=n(4208),s=n(62920),l=n(35402),c=n(56047),u=n(37110);let d="true",p={appInfo:{status:l.wD.Success,playPageHost:"",appId:"",appName:"",appSlug:"",appDeveloperInfo:{name:"",developerSlug:""},companyName:"",state:"active",appRating:5,appGenre:"",appPageUrl:"",appType:"Android",initialOrientation:l.QB.unspecified,embeddedGameUrl:"",packageName:"",enableUnifiedPage:!1,recaptchaSiteKey:"",enablePlayPage:!1,isAltDomain:!1,media:{desktop:{banner:"",launchVideo:""},mobile:{banner:"",launchVideo:""},icon:"",tile:"",logo:""},widgets:{desktopFullScreen:{left:0,top:0},mobileMenu:{left:0,top:0}},playFeFeatures:{requireAuth:!1,enableHotjar:!1,enableLiveChat:!1,enableCouponGenerator:!1,enableTestDriveUi:!1,enableB2BNoResoureUi:!1,enablePlayModeWithPd:!1,enableRecording:!0,enableSubscriptionPass:!1,maintenanceWindowStrings:{title:"",message:""},ads:{desktop:{enablePrerollAds:!1,enableMidrollAds:!1,enableDisplayAds:!1,enableRewardedAds:!1},mobile:{enablePrerollAds:!1,enableMidrollAds:!1,enableDisplayAds:!1,enableRewardedAds:!1}},tryAndDownload:{isEnabled:!1,cumulativeTimeLimitSecs:0,clientLink:""},nativeMouseActivities:[],enableNativeKeyboard:!1,enableNativePointer:!1,enableLowCostUi:!1,enableFpsBasedMousePolling:!1,disableImap:!1,enableKeymapEditor:!1,enableMouseLock:!1,enableMotionSensor:!1,feAnswerSdpModifications:[],gl:{maxFps:30,enableImageDetection:!1},enableRobuxRewards:!1,enableSocialIcons:!1,enablePokelaboUi:!1,enableAiBot:!1,enableAiScreenshot:!1,authType:"NA",partnerSessionEndInfo:{enable:!1,warningMessage:"",warningCtaText:"",sessionEndMessage:"",sessionEndCtaText:""},enablePwa:!0,uiConfig:{enablePerfMonitor:!1,enableHeader:!0,enableIframeHeader:!0,enableSearch:!0,enableWelcomeToast:!0,enableB2bErrorUi:!1,enableHeaderLogoRedirection:!0,enableSupportWidget:!0,enableAppRestartButton:!1,enableMatureContentWarning:!0,enableDebugOverlay:!0,footer:{enabled:!0,enableBrandLogo:!0},mobileMenu:{enabled:!0,enableBrandLogo:!0,enableProfileAction:!0},customPreloader:{enabled:!1,backgroundUrl:"",backgroundVideo:{videoUrl:"",posterUrl:""}},sessionModal:{enableGameTile:!0,enableRestartButton:!0,enableDisconnectScreen:!1},disableLocationPermissionModal:!1}},metaTags:"",alternateUrlForProxies:"",wasmChromeTrialToken:"",userQueuePollingSecs:10,enablePriorityQueue:!1,premiumQueueMethod:"NowPrime",authServiceHost:"",paymentSdkHost:"",paymentBaseRedirectHost:"",requireRewardedAdsOrPremium:!1,authClientId:"",authUseThirdPartyFlow:!1,pwaNudgeDelayMs:6e5,playDomain:"",imapCfgHost:"",requireHomepageLaunch:!1,iapLoginPromptEnabled:!1,enableBackButton:!0,appleAppStoreUrl:"",redirectProxyTrafficPlayDomain:"",googlePlayStoreUrl:"",rwdMinPlayTimeIntervalInSecs:0,rwdMinRedemptionCredits:0,enablePlayUrlForwarding:!1,rwdRobuxCreditsRequiredForSpin:0,rwdDailySpinLimit:0,showNewAdsLayout:!0,isServerSideDesktopAdsEnabled:!0,authGoogleOauthClientId:"",genreTags:[],workflowCategory:"workflow1",workflowPageDetails:null},features:{},isCfMobile:!1,adBlockerDetected:!1,authRedirectionUrl:"",authUseThirdPartyFlow:!1,prefix:"",compressedPackage:"",pwaSupported:!0,playSessionId:"NA",ngNcmHost:"",embeddedFullScreenAdsEnabled:!1,ngInviteId:null,isAppPage:!1,feErrorNotInRegion:!1,isHomePage:!1,isJpHomePage:!1,incognitoMode:u.PI.UNKNOWN,prebidFailed:!1,fcFailed:!1,countryCode:"",isQuancastPopupSupportByCountry:!1,startSession:{},pollingRate:8,thirdPartyAuthUrl:"",pageType:s.g6_.Unspecified,isCfDesktop:!1,pwaIconHost:"",pwaNudgeDelayMs:void 0,playDomain:"",ssrOrigin:"",isProdEnv:!1,isMultiPanelAdsEnabled:!1,isMultiSubscriptionFlow:!1},f=JSON.parse(JSON.stringify(p)),g=()=>{Object.assign(f,JSON.parse(JSON.stringify(p)))},h="kommunicate-chat",y=()=>f.appInfo.widgets.desktopFullScreen,m=(e,t)=>(sessionStorage.setItem(e,t),!0),v=()=>sessionStorage.getItem("appCrashRetryAttempts")||"0",A=e=>{m("appCrashRetryAttempts",e)},S=()=>{m("appCrashRetryAttempts","0")},w=e=>{if(!navigator.cookieEnabled)return"";if("undefined"!=typeof document){let t="".concat(e,"="),n=document.cookie.split(";");for(let e=0;e{var e,t,n;return{utmSource:(null==(e=window.sessionStorage)?void 0:e.getItem("utm_source"))||w("utm_source")||"NA",utmMedium:(null==(t=window.sessionStorage)?void 0:t.getItem("utm_medium"))||w("utm_medium")||"NA",utmCampaign:(null==(n=window.sessionStorage)?void 0:n.getItem("utm_campaign"))||w("utm_campaign")||"NA"}},E=()=>sessionStorage.getItem(s.I4d)!==d,_=()=>{sessionStorage.setItem(s.I4d,d)},T=()=>sessionStorage.getItem(s.AAi)===d,P=()=>sessionStorage.setItem(s.AAi,d),O=()=>{sessionStorage.removeItem(s.AAi)},I=()=>(localStorage.getItem("portalExperiment")&&localStorage.removeItem("portalExperiment"),sessionStorage.getItem(s.FhF)===d),R=()=>sessionStorage.setItem(s.FhF,d),k=()=>sessionStorage.removeItem(s.FhF),x={gamesList:{topApps:[],topBarApps:[],remainingApps:[],otherApps:[]},searchGamesList:[]},D=()=>(function(e,t,n,o){return new(n||(n=Promise))(function(r,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((o=o.apply(e,t||[])).next())})})(void 0,void 0,void 0,function*(){return o&&r?{gamesList:o,searchGamesList:r}:i||(i=new Promise((e,t)=>{try{let t=f.isHomePage,n={};if(t){let{feOsName:e,feDeviceType:t}=(0,c.el)();n={feOsName:e,feDeviceType:t}}a.Ay.getAppsList(n,{}).then(t=>{let{topApps:n=[],topBarApps:i=[],remainingApps:a=[],otherApps:s=[],showcaseApps:l=[]}=(0,c.jy)(t,window.location.host,(0,c.sA)()),u={topApps:n.slice(0,5),topBarApps:i,remainingApps:a,otherApps:[...n.slice(5),...s],showcaseApps:l};r=[...n,...i,...a,...s],(0,c.ct)()&&(u.topApps=(0,c.$$)(u.topApps)||[],u.topBarApps=(0,c.$$)(u.topBarApps)||[],u.remainingApps=(0,c.$$)(u.remainingApps)||[],u.otherApps=(0,c.$$)(u.otherApps)||[],r=(0,c.$$)(r)||[]),o=u,e({gamesList:o,searchGamesList:r})}).catch(t=>{e(x)})}catch(t){e(x)}}))}),N="fe_gameState",C=e=>{e?sessionStorage.setItem(N,e):sessionStorage.removeItem(N)},L=e=>sessionStorage.getItem(N)===s.Ofs&&e!==s.Ofs,F=()=>!((0,c.Fr)()&&(0,c.v1)()&&(0,c.bh)())&&(localStorage.getItem(h)||localStorage.setItem(h,.01>Math.random()?d:"false"),localStorage.getItem(h)===d),U="sessionDisconnectScreenType",M=(e,t,n,o)=>{let r={type:e,expiryTime:Date.now()/1e3+t,disconnecTimer:o,graceIntervalMessage:n,appId:f.appInfo.appId};sessionStorage.setItem(U,JSON.stringify(r))},j=()=>{let e=sessionStorage.getItem(U);if(e){let{type:t,expiryTime:n,disconnecTimer:o,appId:r,graceIntervalMessage:i}=JSON.parse(e);if(r!==f.appInfo.appId)return!1;let a=n-Date.now()/1e3;return!((a=Math.floor(a))<=0)&&{type:t,graceIntervalSecs:a,disconnecTimer:o,graceIntervalMessage:i}}return null},B=()=>{sessionStorage.removeItem(U)},G=()=>"Html"===f.appInfo.appType,H=()=>sessionStorage.getItem(s.Pxn),W=()=>{sessionStorage.removeItem(s.Pxn)},z=()=>{sessionStorage.setItem(s.Pxn,"true")},V=()=>sessionStorage.getItem(s.M$J),Y=()=>{sessionStorage.removeItem(s.M$J)},$=()=>{sessionStorage.setItem(s.M$J,"true")},q=()=>{var e;return(null==(e=null==f?void 0:f.appInfo)?void 0:e.appType)==="Android"},J=f},29822:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});let o={UPDATE_IMAERROR:"UPDATE_IMAERROR",UPDATE_ADS_STATE:"UPDATE_ADS_STATE",UPDATE_APP_STATE:"UPDATE_APP_STATE",LOAD_MID_ROLL:"LOAD_MID_ROLL",SET_IN_GAME_AD:"SET_IN_GAME_AD",SET_ADS_REF:"SET_ADS_REF",UPDATE_REWARDED_SDK_STATE:"UPDATE_REWARDED_SDK_STATE",UPDATE_PLAYTIME:"UPDATE_PLAYTIME",LOAD_ADS_SDK_ON_DEMAND:"LOAD_ADS_SDK_ON_DEMAND",RIGHT_SIDE_PANEL_LAYOUT_UPDATE:"RIGHT_SIDE_PANEL_LAYOUT_UPDATE",PREROll_ADS_DURATION:"PREROLL_ADS_DURATION",PREROLL_AD_PAUSED:"PREROLL_AD_PAUSED",UPDATE_REWARDED_AD_ERROR:"UPDATE_REWARDED_AD_ERROR",UPDATE_REWARDED_AD_STATUS:"UPDATE_REWARDED_AD_STATUS"}},33065:(e,t,n)=>{var o=n(50224),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return o?void 0!==t[e]:r.call(t,e)}},33875:e=>{e.exports=function(e,t,n,o){var r=n?n.call(o,e,t):void 0;if(void 0!==r)return!!r;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l{"use strict";n.d(t,{gJ:()=>g,hz:()=>y,rV:()=>h,TO:()=>m,r9:()=>v});var o,r=n(59524),i=n(44212),a=n(85190),s=n(14232),l=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,c={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"\xa9","©":"\xa9","®":"\xae","®":"\xae","…":"…","…":"…","/":"/","/":"/"},u=function(e){return c[e]};function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function p(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};f=p(p({},f),e)}(e.options.react),o=e}}},34754:(e,t,n)=>{"use strict";n.d(t,{dL:()=>x,Ay:()=>D,Ki:()=>R,hi:()=>I,mX:()=>k});var o=n(28198),r=n(34377),i=n(59524),a=n(44212),s=[],l=s.forEach,c=s.slice,u=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,d=function(e,t,n){var o=n||{};o.path=o.path||"/";var r=encodeURIComponent(t),i="".concat(e,"=").concat(r);if(o.maxAge>0){var a=o.maxAge-0;if(Number.isNaN(a))throw Error("maxAge should be a Number");i+="; Max-Age=".concat(Math.floor(a))}if(o.domain){if(!u.test(o.domain))throw TypeError("option domain is invalid");i+="; Domain=".concat(o.domain)}if(o.path){if(!u.test(o.path))throw TypeError("option path is invalid");i+="; Path=".concat(o.path)}if(o.expires){if("function"!=typeof o.expires.toUTCString)throw TypeError("option expires is invalid");i+="; Expires=".concat(o.expires.toUTCString())}if(o.httpOnly&&(i+="; HttpOnly"),o.secure&&(i+="; Secure"),o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:case"strict":i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"none":i+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return i},p={create:function(e,t,n,o){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};n&&(r.expires=new Date,r.expires.setTime(r.expires.getTime()+60*n*1e3)),o&&(r.domain=o),document.cookie=d(e,encodeURIComponent(t),r)},read:function(e){for(var t="".concat(e,"="),n=document.cookie.split(";"),o=0;o-1&&(n=window.location.hash.substring(window.location.hash.indexOf("?")));for(var o=n.substring(1).split("&"),r=0;r0&&o[r].substring(0,i)===e.lookupQuerystring&&(t=o[r].substring(i+1))}}return t}},h=null,y=function(){if(null!==h)return h;try{h="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){h=!1}return h},m={name:"localStorage",lookup:function(e){var t;if(e.lookupLocalStorage&&y()){var n=window.localStorage.getItem(e.lookupLocalStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&y()&&window.localStorage.setItem(t.lookupLocalStorage,e)}},v=null,A=function(){if(null!==v)return v;try{v="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){v=!1}return v},S={name:"sessionStorage",lookup:function(e){var t;if(e.lookupSessionStorage&&A()){var n=window.sessionStorage.getItem(e.lookupSessionStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupSessionStorage&&A()&&window.sessionStorage.setItem(t.lookupSessionStorage,e)}},w={name:"navigator",lookup:function(e){var t=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var n=0;n0?t:void 0}},b={name:"htmlTag",lookup:function(e){var t,n=e.htmlTag||("undefined"!=typeof document?document.documentElement:null);return n&&"function"==typeof n.getAttribute&&(t=n.getAttribute("lang")),t}},E={name:"path",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(n instanceof Array)if("number"==typeof e.lookupFromPathIndex){if("string"!=typeof n[e.lookupFromPathIndex])return;t=n[e.lookupFromPathIndex].replace("/","")}else t=n[0].replace("/","")}return t}},_={name:"subdomain",lookup:function(e){var t="number"==typeof e.lookupFromSubdomainIndex?e.lookupFromSubdomainIndex+1:1,n="undefined"!=typeof window&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(n)return n[t]}},T=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.A)(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return(0,a.A)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=function(e){return l.call(c.call(arguments,1),function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])}),e}(t,this.options||{},{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=n,this.addDetector(f),this.addDetector(g),this.addDetector(m),this.addDetector(S),this.addDetector(w),this.addDetector(b),this.addDetector(E),this.addDetector(_)}},{key:"addDetector",value:function(e){this.detectors[e.name]=e}},{key:"detect",value:function(e){var t=this;e||(e=this.options.order);var n=[];return(e.forEach(function(e){if(t.detectors[e]){var o=t.detectors[e].lookup(t.options);o&&"string"==typeof o&&(o=[o]),o&&(n=n.concat(o))}}),this.services.languageUtils.getBestMatchFromCodes)?n:n.length>0?n[0]:null}},{key:"cacheUserLanguage",value:function(e,t){var n=this;t||(t=this.options.caches),t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach(function(t){n.detectors[t]&&n.detectors[t].cacheUserLanguage(e,n.options)}))}}]),e}();T.type="languageDetector";var P=n(28062),O=function(e,t,n,o){return new(n||(n=Promise))(function(r,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((o=o.apply(e,t||[])).next())})};let I="ja",R="en",k=["en","ko","ja","de"];function x(e){return O(this,void 0,void 0,function*(){try{let t=yield n(53747)("./".concat(e,"/common.json"));if("object"==typeof t.default&&null!==t.default)o.Ay.addResourceBundle(e,"translation",t.default,!0,!0);else throw Error("Invalid translation file format")}catch(e){}})}o.Ay.use(T).use(r.r9).init({resources:{en:{translation:P}},interpolation:{escapeValue:!1},fallbackLng:"en",supportedLngs:k,nonExplicitSupportedLngs:!1}),o.Ay.languages=["en"],O(void 0,void 0,void 0,function*(){if("undefined"!=typeof navigator){let e=navigator.language.split("-")[0];k.includes(e)&&e!==(null===o.Ay||void 0===o.Ay?void 0:o.Ay.languages[0])&&(yield O(void 0,void 0,void 0,function*(){let t=e.split("-")[0];k.includes(t)&&("en"!==t&&(yield x(t)),yield o.Ay.changeLanguage(t).catch(e=>{}))}))}});let D=o.Ay},35402:(e,t,n)=>{"use strict";n.d(t,{BL:()=>o.BL,Fz:()=>o.Fz,QB:()=>o.QB,Rx:()=>o.Rx,pE:()=>o.pE,wD:()=>o.wD});var o=n(19073)},35536:(e,t,n)=>{var o=n(66521);e.exports=function(e){var t=o(this,e).delete(e);return this.size-=!!t,t}},36187:(e,t,n)=>{var o=n(79364);e.exports=function(e,t){for(var n=e.length;n--;)if(o(e[n][0],t))return n;return -1}},36315:(e,t,n)=>{e.exports=n(43622)(n(19031),"Map")},37110:(e,t,n)=>{"use strict";var o,r,i,a;n.d(t,{Dx:()=>i,PI:()=>o,m7:()=>r,to:()=>a}),function(e){e.FALSE="0",e.TRUE="1",e.ERROR="2",e.UNKNOWN="3"}(o||(o={})),(r||(r={})).FailureAdBlockerDetected="FailureAdBlockerDetected",function(e){e.REWARDED_ADS="rewarded_ads",e.PREMIUM_PASS="premium_pass"}(i||(i={})),function(e){e.UNKNOWN="u",e.PROXY="p",e.NON_PROXY="np"}(a||(a={}))},38538:(e,t,n)=>{"use strict";n.d(t,{hH:()=>h,Ay:()=>S,Xk:()=>A,UK:()=>v});var o=n(62920),r=n(86887),i=n(70780),a=n(71278),s=n(73319),l=n(56047),c=n(29359),u=n(5241),d=n(46075),p=n(1719);let f=e=>(e.shiftKey&&d.bN.SHIFT)|(e.altKey&&d.bN.ALT)|(e.ctrlKey&&d.bN.CTRL)|(e.metaKey&&d.bN.META)|(((null==e?void 0:e.getModifierState)?null==e?void 0:e.getModifierState("CapsLock"):0)&&d.bN.CAPS_LOCK)|(((null==e?void 0:e.getModifierState)?null==e?void 0:e.getModifierState("ScrollLock"):0)&&d.bN.SCROLL_LOCK)|(((null==e?void 0:e.getModifierState)?null==e?void 0:e.getModifierState("NumLock"):0)&&d.bN.NUM_LOCK);var g=n(69025);let h={justEnded:!1},y=(e,t,n,o)=>{let r=o.key;if("Unidentified"!==r){if(!p.ly.isOpen&&p.ly.native){let o=new ArrayBuffer(4),r=new Uint8Array(o);r[0]=t,r[1]=1,r[2]=e,r[3]=n,(0,s.v)(o)}else if(r.length>1||(!p.ly.isOpen||(e=>e.altKey||e.ctrlKey||e.metaKey)(o))&&(r>="a"&&r<="z"||r>="A"&&r<="Z"||" "===r)){if(r.length>1&&d.bR[e])return;let o=new ArrayBuffer(4),i=new Uint8Array(o);i[0]=t,i[1]=1,i[2]=e,i[3]=n,(0,s.v)(o)}else if(101===t&&!o.isComposing){if(p.CZ.ended){p.CZ.ended=!1;return}let e=new ArrayBuffer(6),t=new Uint8Array(e),n=new Uint16Array([r.codePointAt(0)||0]),o=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);t[0]=103,t[1]=0,t[2]=0,t[3]=0,t[4]=o[0],t[5]=o[1],(0,s.v)(e)}}},m=e=>{var t,n,o,i,a,s;let c=null==(n=null==(t=null==document?void 0:document.activeElement)?void 0:t.className)?void 0:n.indexOf("_hj-"),u=null==(i=null==(o=null==document?void 0:document.activeElement)?void 0:o.className)?void 0:i.indexOf("now-ai-chat-input");if(e.isComposing||(null==(a=null==document?void 0:document.activeElement)?void 0:a.id)==="sensitivity-box"||(null==(s=null==document?void 0:document.activeElement)?void 0:s.id)==="search-box"||void 0!==u&&u>-1||void 0!==c&&c>-1)return;let g=e.which||e.keyCode;if(!e.isComposing&&h.justEnded){h.justEnded=!1;return}switch(delete p.ly.downMap[g],g){case 86:if(e.metaKey||e.ctrlKey)return;break;case 65:case 67:case 88:if("mac"===(0,l.R0)()&&e.metaKey)return void y(g,d.P4.UP,4,e);break;default:e.preventDefault()}r.Ay.inUse()?(p.ly.upEvents[g]=e,e.preventDefault(),r.Ay.keyUp(g)):y(g,!p.ly.isOpen&&p.ly.native?d.P4.NATIVE_UP:d.P4.UP,f(e),e)},v=(e,t)=>{let n=101;if(t||(n=102),263===e||264===e||e<=o.tIK.MAX&&e>=o.tIK.MIN)return;let r=t?p.ly.downEvents[e]:p.ly.upEvents[e];try{let o=new ArrayBuffer(4),i=new Uint8Array(o);i[0]=n,i[1]=1,i[2]=e,i[3]=r?f(r):0,t?delete p.ly.downEvents[e]:delete p.ly.upEvents[e],(0,s.v)(o)}catch(e){}},A=()=>{r.Wo.onblur(),Object.keys(p.ly.downEvents).forEach(e=>{let t=p.ly.downEvents[Number(e)];try{let e=t.which||t.keyCode;p.ly.downEvents[e]&&m(t)}catch(e){}})},S={keyDownEvent:e=>{var t,n,s,m,v,A,S;let w=null==(n=null==(t=null==document?void 0:document.activeElement)?void 0:t.className)?void 0:n.indexOf("_hj-"),b=null==(m=null==(s=null==document?void 0:document.activeElement)?void 0:s.className)?void 0:m.indexOf("now-ai-chat-input");if(e.isComposing||(null==(v=null==document?void 0:document.activeElement)?void 0:v.id)==="sensitivity-box"||(null==(A=null==document?void 0:document.activeElement)?void 0:A.id)==="search-box"||(null==(S=null==document?void 0:document.activeElement)?void 0:S.id)==="controls-box"||void 0!==b&&b>-1||void 0!==w&&w>-1)return;let E=e.which||e.keyCode;if(229!==E){if(p.ly.downMap[E]=!0,!e.isComposing&&h.justEnded){h.justEnded=!1;return}switch(E){case 86:if(e.metaKey||e.ctrlKey)return;break;case 65:case 67:case 88:if("mac"===(0,l.R0)()&&e.metaKey)return void y(E,d.P4.DOWN,4,e);break;case 81:{let t=a.A.getState(),{legacyControls:n}=t.appPreferences,{nativeMouseEnabled:r,shiftLockActive:s}=t.play,l=c.Ay.features.shiftLock;if(e.shiftKey&&l&&!n&&r){(0,u.sx)(o.wHH,{element:"ShiftLock",state:"".concat(s?"Disabled":"Enabled"),robloxExperience:a.A.getState().play.robloxExperienceId}),a.A.dispatch({type:i.A.UPDATE_SHIFT_LOCK}),s?(0,g.wF)():(0,g.MR)();return}e.preventDefault(),e.stopPropagation();break}case 49:{let t=a.A.getState(),{nativeMouseEnabled:n,mouseLockActive:o}=t.play,{legacyControls:r}=t.appPreferences,i=c.Ay.appInfo.playFeFeatures.enableMouseLock;if(!e.ctrlKey||!e.shiftKey||!n||!i||r){e.preventDefault(),e.stopPropagation();break}o?("function"==typeof document.exitPointerLock&&document.exitPointerLock(),(0,g.lb)()):(0,g.dg)(0,0,!0,"fromKeyboardShortcut");return}case 122:a.A.dispatch({type:i.A.UPDATE_F11_PRESSED}),e.preventDefault(),e.stopPropagation();break;default:e.preventDefault(),e.stopPropagation()}p.ly.downEvents[E]=e,r.Ay.inUse()?(e.preventDefault(),r.Ay.keyDown(E)):y(E,!p.ly.isOpen&&p.ly.native?d.P4.NATIVE_DOWN:d.P4.DOWN,f(e),e),setTimeout(()=>{(0,u.dN)(e)},0)}},keyUpEvent:m,sendKeyToAndroid:v,keyBlurEvent:A}},39324:(e,t,n)=>{e.exports=n(3420)},39824:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},40087:(e,t,n)=>{e.exports=n(19031)["__core-js_shared__"]},41543:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});let o={GET_SUPPORT:"GET_SUPPORT",CLOSE_SUPPORT:"CLOSE_SUPPORT",SET_ERROR_TYPE:"SET_ERROR_TYPE"}},42920:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>a,kj:()=>i});var o=n(62920),r=n(56047);let i=()=>(0,r.Rm)(o.M0u),a=(e,t,n)=>{try{window.parent&&"function"==typeof window.parent.postMessage&&window.parent.postMessage({type:n,data:{name:e,data:t}},"*")}catch(e){}}},43446:(e,t,n)=>{"use strict";var o;n.d(t,{p:()=>o}),function(e){e.PLAY_PAGE="Fe",e.HOME_PAGE="Hp",e.APP_PAGE="Ap",e.VIDEO_PAGE="Video",e.COUPON_PAGE="Cp",e.NONE=""}(o||(o={}))},43581:(e,t)=>{"use strict";var n=60103,o=60106,r=60107,i=60108,a=60114,s=60109,l=60110,c=60112,u=60113,d=60120,p=60115,f=60116;if("function"==typeof Symbol&&Symbol.for){var g=Symbol.for;n=g("react.element"),o=g("react.portal"),r=g("react.fragment"),i=g("react.strict_mode"),a=g("react.profiler"),s=g("react.provider"),l=g("react.context"),c=g("react.forward_ref"),u=g("react.suspense"),d=g("react.suspense_list"),p=g("react.memo"),f=g("react.lazy"),g("react.block"),g("react.server.block"),g("react.fundamental"),g("react.debug_trace_mode"),g("react.legacy_hidden")}},43622:(e,t,n)=>{var o=n(46141),r=n(49318);e.exports=function(e,t){var n=r(e,t);return o(n)?n:void 0}},44017:(e,t,n)=>{"use strict";n.d(t,{cx:()=>a,iL:()=>i,oM:()=>r});let o="membershipId",r=e=>{sessionStorage.setItem(o,e)},i=()=>sessionStorage.getItem(o)||"",a=()=>{sessionStorage.removeItem(o)}},44212:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var o=n(10810);function r(e,t){for(var n=0;n{e.exports=n(87195)},45261:(e,t,n)=>{var o=n(36187);e.exports=function(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]}},45705:(e,t,n)=>{var o=n(36187);e.exports=function(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},46075:(e,t,n)=>{"use strict";var o;n.d(t,{P4:()=>o,bN:()=>r,bR:()=>i});let r={SHIFT:1,ALT:2,CTRL:4,META:8,CAPS_LOCK:16,SCROLL_LOCK:32,NUM_LOCK:64};!function(e){e[e.DOWN=101]="DOWN",e[e.UP=102]="UP",e[e.NATIVE_DOWN=91]="NATIVE_DOWN",e[e.NATIVE_UP=92]="NATIVE_UP"}(o||(o={}));let i={27:!0}},46141:(e,t,n)=>{var o=n(19850),r=n(98506),i=n(98825),a=n(82675),s=/^\[object .+?Constructor\]$/,l=Object.prototype,c=Function.prototype.toString,u=l.hasOwnProperty,d=RegExp("^"+c.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||r(e))&&(o(e)?d:s).test(a(e))}},47078:(e,t,n)=>{"use strict";n.d(t,{VW:()=>a,kt:()=>i});var o=n(92786);let r=[{experiences:{0x108c7b1b7:!0,0x1bc052f13:!0,0xa4256a9d:!0},type:"ChangeNativeToTouch",images:[{ImageId:"Shoot",ImageType:"Version 1",DetectColor:!1,DetectPosition:!0,MatchColor:"0x0",TextureCRC:"0x3D1C04D4 0x3D1C04D4",TextureIndex:4,VertexIndex:0,TextureCoord:[.4,.4],VertexRect:[5,5,95,95]}]}],i=e=>r.find(t=>t.experiences[e])||{},a=e=>{var t,n;let r=i(e);if(null==(t=null==r?void 0:r.images)?void 0:t.length){let e=null==(n=r.images[0])?void 0:n.ImageId;if(e&&o.VA.images[e])return{type:r.type,coord:o.VA.images[e]}}return{type:""}}},47129:(e,t,n)=>{var o=n(66521);e.exports=function(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=+(n.size!=r),this}},48449:(e,t,n)=>{"use strict";n.d(t,{d_:()=>r,Ak:()=>i});let o=e=>crypto.getRandomValues(new Uint8Array(e)),r=(e,t=21)=>((e,t,n)=>{let o=(2<{let a="";for(;;){let t=n(r),s=0|r;for(;s--;)if((a+=e[t[s]&o]||"").length>=i)return a}}})(e,0|t,o),i=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&n[e]];return t}},49268:(e,t,n)=>{"use strict";n.d(t,{a4:()=>I,dG:()=>E,cG:()=>D,cT:()=>R,tG:()=>j,Je:()=>k,rO:()=>F,o3:()=>U});var o=n(71278),r=n(56047),i=n(80782),a=n.n(i),s=n(86887),l=n(29359),c=n(62920),u=n(35402),d=n(5241),p=n(10025),f=n(6801),g=n(69025),h=n(49889),y=n(10253);let m={state:0,startX:0,startY:0,x1:0,y1:0,x2:0,y2:0,radius:10},v=(e,t,n,o,r)=>!!(e>=n-r)&&!!(e<=n+r)&&!!(t>=o-r)&&!!(t<=o+r),A=()=>{m.state=0,(0,y.c)(f.Ls.UP,[1,m.x1,m.y1]),(0,y.c)(f.Ls.UP,[2,m.x2,m.y2]),m.x1=0,m.y1=0,m.x2=0,m.y2=0,m.startX=0,m.startY=0};var S=n(1719);let w=()=>{let{orientation:e}=o.A.getState().play;return e===u.QB.portrait},b=(e,t)=>e["movement".concat(t)]||e["mozMovement".concat(t)]||e["webkitMovement".concat(t)]||0,E=e=>(0,p.UJ)()?[b(e,"X"),b(e,"Y")]:[b(e,"Y"),b(e,"X")],_=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e.target.getBoundingClientRect(),{orientationValue:i}=o.A.getState().play,a=e.offsetX,c=e.offsetY;if(s.Ay.pointerLock){let n=b(e,"X"),o=b(e,"Y");return s.Ay.mouseLockMoved.x+=n,s.Ay.mouseLockMoved.y+=o,s.Ay.mouseLockMoved.x<=s.Ay.splitScreenSize&&s.Ay.mouseLockMoved.x>=0&&(s.Ay.mouseLockMoved.x=s.Ay.mouseLockMoved.x-s.Ay.splitScreenSize-1),[t,s.Ay.mouseLockMoved.x,s.Ay.mouseLockMoved.y]}if((0,r.Fr)()){if(((0,r.v1)()||(0,r.bh)())&&w()&&l.Ay.isAppPage&&!l.Ay.isMultiPanelAdsEnabled){if((0,p.UJ)())return 1===i?window.innerWidth>window.innerHeight?[t,c,n.height-a]:[t,c,n.width-a]:window.innerWidth>window.innerHeight?[t,n.width-c,a]:[t,n.height-c,a];return 2===i?window.innerWidth>window.innerHeight?[t,n.width-a,n.height-c]:[t,n.height-a,n.width-c]:[t,a,c]}return window.innerHeight>window.innerWidth&&!w()?[t,Math.ceil(e.clientY-n.y),Math.ceil(n.right-e.clientX)]:window.innerHeight{h.zR.shouldTrackMove=Object.keys(h.zR.pressed).filter(e=>h.zR.pressed[Number(e)]).length},P=new Map,O=[],I=()=>{for(let e=0;e<10;e+=1)O[e]=0;let e=Array.from(P.values());for(let t=0;t{var t,n,r,i;if("touch"===e.pointerType){let t=(()=>{for(let e=0;e<10;e+=1)if(!O[e])return O[e]=1,e;return 0})(),n=_(e,t);P.set(e.pointerId,{slot:t,slotData:n}),(0,y.c)(f.Ls.DOWN,n)}else{let a=_(e);if(h.zR.pressed[e.button]=!0,s.Ay.inUse())a[1]<=s.Ay.splitScreenSize?(0,y.c)(f.Ls.DOWN,a):s.Ay.mouseDown(e.button,a[1]-s.Ay.splitScreenSize,a[2]);else if(h.zR.native){let s=o.A.getState().play.isFullscreen;h.zR.autoLockOnFocus&&((0,g.dg)(e.clientX,e.clientY),h.zR.autoLockOnFocus=!1),l.Ay.appInfo.playFeFeatures.enableMouseLock&&(document.pointerLockElement?(null==(i=null==(r=null===l.Ay||void 0===l.Ay?void 0:l.Ay.appInfo)?void 0:r.playFeFeatures)?void 0:i.enableNativePointer)&&e.button:((null==(n=null==(t=null===l.Ay||void 0===l.Ay?void 0:l.Ay.appInfo)?void 0:t.playFeFeatures)?void 0:n.enableNativePointer)&&(0,g.dg)(e.clientX,e.clientY),s&&(0,g.dg)(e.clientX,e.clientY))),(0,g.ch)(e,a[1],a[2])}else(0,y.c)(f.Ls.DOWN,a);T()}h.zR.tabVisible||(h.zR.tabVisible=!0,(0,d.sx)("TabHidden",{visibilityState:null==document?void 0:document.visibilityState,hidden:null==document?void 0:document.hidden}))},k=e=>{var t;let n=_(e);if(3===e.which||2===e.button){let{shiftLockActive:e}=o.A.getState().play;if(e)return}if("touch"===e.pointerType){let n=null==(t=P.get(e.pointerId))?void 0:t.slot;"number"==typeof n&&((0,y.c)(f.Ls.UP,_(e,n)),P.delete(e.pointerId),O[n]=0)}else h.zR.pressed[e.button]&&(h.zR.pressed[e.button]=!1,s.Ay.inUse()?n[1]<=s.Ay.splitScreenSize?(0,y.c)(f.Ls.UP,n):s.Ay.mouseUp(e.button,n[1]-s.Ay.splitScreenSize,n[2]):h.zR.native?(0,g.ch)(e,n[1],n[2]):(0,y.c)(f.Ls.UP,n));T()},x=e=>{var t;if(h.zR.pollingOnFps&&(null==M||M.cancel()),1===m.state&&A(),"touch"===e.pointerType){let n=(null==(t=P.get(e.pointerId))?void 0:t.slot)||0,o=_(e,n);P.set(e.pointerId,{slot:n,slotData:o}),(0,y.c)(f.Ls.MOVE,_(e,n))}else{let t=_(e);if(-1!==e.button){let{shiftLockActive:n}=o.A.getState().play;if(n)return;h.zR.pressed[e.button]?(h.zR.pressed[e.button]=!1,s.Ay.inUse()&&(h.zR.shouldTrackMove>0||s.Ay.pointerLock)?s.Ay.mouseUp(e.button,t[1]-s.Ay.splitScreenSize,t[2]):h.zR.native?(0,g.ch)(Object.assign(Object.assign({},e),{type:c.n3n,button:e.button,target:e.target}),t[1],t[2]):h.zR.shouldTrackMove&&(0,y.c)(f.Ls.UP,t)):(h.zR.pressed[e.button]=!0,s.Ay.inUse()&&(h.zR.shouldTrackMove>0||s.Ay.pointerLock)?s.Ay.mouseDown(e.button,t[1]-s.Ay.splitScreenSize,t[2]):h.zR.native?(0,g.ch)(Object.assign(Object.assign({},e),{type:c.eO5,button:e.button,target:e.target}),t[1],t[2]):h.zR.shouldTrackMove&&(0,y.c)(f.Ls.DOWN,t))}else s.Ay.inUse()&&(h.zR.shouldTrackMove>0||s.Ay.pointerLock)?s.Ay.mouseMove(t[1]-s.Ay.splitScreenSize,t[2]):h.zR.native?(g.Xy.x=t[1],g.Xy.y=t[2],(0,g.ch)(e,t[1],t[2])):h.zR.shouldTrackMove&&(0,y.c)(f.Ls.MOVE,t);T()}},D=e=>{let t=Object.keys(h.zR.pressed),n=_(e);for(let o=0,r=t.length;o{if(e&&e.target){let t=e.target.getBoundingClientRect(),n=e.offsetX,o=e.offsetY;w()||(n=Math.ceil(e.clientX-t.x),o=Math.ceil(e.clientY-t.y));let r=e.deltaY?-(120*e.deltaY):-(1.5*e.deltaX);s.Ay.mouseScroll(n,o,r)}},30),C=Date.now(),L=e=>{if(e.preventDefault(),e.stopPropagation(),s.Ay.inUse()){if(!0===e.ctrlKey){S.ly.downMap[17]||s.Ay.keyDown(17),N(e),C=Date.now();return}s.Ay.keyUp(17)}let t=_(e);if(!0===e.ctrlKey&&!h.zR.native)return void((e,t,n)=>{if(0===m.state){let o=null==e?void 0:e.target,r=Math.min((null==o?void 0:o.offsetHeight)||0,(null==o?void 0:o.offsetWidth)||0);m.radius=Math.round((r=Math.max(r=Math.round(r/10),50))/10),e.deltaY>0?(m.x1=t+r,m.y1=n+r,m.x2=t-r,m.y2=n-r):(m.x1=t+m.radius,m.y1=n+m.radius,m.x2=t-m.radius,m.y2=n-m.radius),m.startX=t,m.startY=n,m.state=1,(0,y.c)(f.Ls.DOWN,[1,m.x1,m.y1]),(0,y.c)(f.Ls.DOWN,[2,m.x2,m.y2])}else if(1===m.state){if(e.deltaY>0?(m.x1-=e.deltaY,m.y1-=e.deltaY,m.x2+=e.deltaY,m.y2+=e.deltaY):(m.x1+=e.deltaY,m.y1+=e.deltaY,m.x2-=e.deltaY,m.y2-=e.deltaY),m.x1=Math.round(m.x1),m.y1=Math.round(m.y1),m.x2=Math.round(m.x2),m.y2=Math.round(m.y2),e.deltaY<0&&(!v(m.x1,m.y1,m.startX,m.startY,7*m.radius)||!v(m.x2,m.y2,m.startX,m.startY,7*m.radius))||e.deltaY>0&&(v(m.x1,m.y1,m.startX,m.startY,2*m.radius)||v(m.x1,m.y1,m.startX,m.startY,2*m.radius)))return A();(0,y.c)(f.Ls.MOVE,[1,m.x1,m.y1]),(0,y.c)(f.Ls.MOVE,[2,m.x2,m.y2])}})(e,t[1],t[2]);if(1===m.state&&A(),!(Date.now()-C<1e3)){if(h.zR.native)(0,g.ch)(e,t[1],t[2]);else if(!h.zR.shouldTrackMove){let n=e.wheelDeltaY?e.wheelDeltaY===-3*e.deltaY:0===e.deltaMode;h.XJ.started||(0,y.c)(f.Ls.DOWN,t),h.XJ.started=!0;let r=e.target.getBoundingClientRect(),{orientation:i}=o.A.getState().play;if(clearTimeout(h.XJ.moveTimeout),n){let t=e.deltaY/120*f.G3,n=e.deltaX/120*f.G3;h.XJ.y=Math.floor(h.XJ.y+t),h.XJ.x=Math.floor(h.XJ.x+n);let o=[];o=i===u.QB.landscape?[0,Math.ceil(e.clientX-r.x)-h.XJ.x,Math.ceil(e.clientY-r.y)-h.XJ.y]:[0,e.offsetX-h.XJ.x,e.offsetY-h.XJ.y],h.XJ.lastX=o[1],h.XJ.lastY=o[2],h.XJ.moveTimeout=window.setTimeout(()=>{(0,y.c)(f.Ls.MOVE,o)},10)}else{let t=e.deltaY/120*f.G3;t<0&&t>-10?t=-10:t>0&&t<10&&(t=10),h.XJ.y=Math.floor(h.XJ.y+t);let n=[];n=i===u.QB.landscape?[0,Math.ceil(e.clientX-r.x),Math.ceil(e.clientY-r.y)-h.XJ.y]:[0,e.offsetX,e.offsetY-h.XJ.y],h.XJ.lastX=n[1],h.XJ.lastY=n[2],h.XJ.moveTimeout=window.setTimeout(()=>{(0,y.c)(f.Ls.MOVE,n)},10)}h.XJ.upTimeout&&clearTimeout(h.XJ.upTimeout),h.XJ.upTimeout=window.setTimeout(()=>{let e=[0,h.XJ.lastX,h.XJ.lastY];(0,y.c)(f.Ls.UP,e),h.XJ.lastX=0,h.XJ.lastY=0,h.XJ.y=0,h.XJ.x=0,h.XJ.started=!1},100),e.preventDefault()}}},F=L,U=a()(L,16),M=null,j=e=>(h.zR.pollingOnFps=8!==e,M=a()(x,e))},49318:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},49889:(e,t,n)=>{"use strict";n.d(t,{XJ:()=>r,zR:()=>o});let o={pressed:{},native:!1,pollingOnFps:!1,tabVisible:!1,splitScreenSize:0,lastX:0,lastY:0,splitScreenPerc:0,shouldTrackMove:0,lastMouseLockExitTime:Date.now(),autoLockOnFocus:!1,isRoblox:!1},r={started:!1,x:0,y:0,upTimeout:0,moveTimeout:0,lastX:0,lastY:0}},50224:(e,t,n)=>{e.exports=n(43622)(Object,"create")},51201:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});let o=()=>{try{if(window.KommunicateGlobal){let e=window.KommunicateGlobal.document.getElementById("km-chat-widget-close-button");e&&e.click()}}catch(e){}}},51376:(e,t,n)=>{"use strict";var o=Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]};Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)}(n(62003),t)},51682:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});let o={UPDATE_ACTION:"UPDATE_ACTION",TOGGLE_VIEW:"TOGGLE_VIEW",UPDATE_TASK:"UPDATE_TASK",UPDATE_RANKINGS:"UPDATE_RANKINGS"}},52094:(e,t,n)=>{"use strict";let o;n.d(t,{Ei:()=>B,Ji:()=>R,Lc:()=>I,TE:()=>W,Wv:()=>D,Zu:()=>O,cb:()=>F,el:()=>U,jV:()=>M,pf:()=>j,w$:()=>L});var r=n(62920),i=n(4208),a=n(10025),s=n(55022),l=n(59319),c=n(71278),u=n(70780),d=n(29359),p=n(5241),f=n(35402),g=n(56047),h=n(19786),y=n(85570),m=n(65712),v=n(1678),A=n(88940),S=n(4858),w=n(29822),b=n(44017),E=n(21555),_=n(67768),T=function(e,t,n,o){return new(n||(n=Promise))(function(r,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((o=o.apply(e,t||[])).next())})};let P=null,O=()=>{var e;return null!=(e=null==P?void 0:P.connectionState)?e:"undefined"},I=()=>{c.A.dispatch({type:u.A.UPDATE_PLAY_STATE,payload:{webrtcFailed:!0}})};function R(){return o}let k=0,x=-1,D=e=>T(void 0,void 0,void 0,function*(){x+=1,(0,p.sx)("PreSessionRequestBegin",{repeatCount:x});try{let t=c.A.getState().play.videoRef;(0,d.wW)(),(0,a.M_)(!0);let n=(e=>{if(void 0===o&&(o=new MediaStream),P)try{P.close(),P=null}catch(e){}try{P=new RTCPeerConnection(r.Nk_)}catch(e){throw window.location.reload(),e}let t=!1;return P.ondatachannel=a.uW,P.addEventListener("track",n=>{e&&e.current&&!t&&o&&(e.current.srcObject=o,e.current.disablePictureInPicture=!0,(0,s.DH)(),(0,s.nC)(),t=!0),n.track&&o?(0,y.Oe)(n.track,o):(0,l.Ay)(Error("Track not found"))}),P})(e||t),m=-1,v=0;n.onconnectionstatechange=e=>{(0,d.wW)(n.connectionState),c.A.dispatch({type:u.A.UPDATE_PEER_CONNECTION_STATE,payload:{peerConnectionState:n.connectionState}});let t=c.A.getState();if("connected"===n.connectionState&&((0,p.sx)("WebRtcConnected",{repeatCount:k}),k+=1,clearInterval(m)),"disconnected"===n.connectionState){let{disconnecTimer:e}=c.A.getState().play;if(e&&Date.now()-e>55)return void(0,a.zz)();T(void 0,void 0,void 0,function*(){let e=yield i.Ay.getSessionStatus(Object.assign(Object.assign({},(0,g.TZ)()),{customData:(0,g.Rm)(r.tRz)}),{});t.play.duplicateTab||t.play.sessionMigrated||t.play.sessionComplete||(null==e?void 0:e.status)!==f.wD.Success||e.sessionStatus!==f.Fz.Migrated||c.A.dispatch({type:u.A.SESSION_MIGRATED,payload:{sessionMigrated:!0}}),(null==e?void 0:e.status)!==f.wD.Success&&c.A.dispatch({type:u.A.SET_ERROR_DESCRIPTION,payload:{errorDescription:"SessionStatus-PeerDisconnected-".concat(JSON.stringify(e))}})}),(0,a.Iv)()}if("failed"===n.connectionState){if(clearInterval(m),t.play.showDisconnectWarning||t.play.sessionDisconnectScreenType){let e=t.play.sessionDisconnectScreenType;c.A.dispatch({type:u.A.SESSION_DISCONNECT_TOAST,payload:{sessionDisconnectScreenType:e,showDisconnectWarning:!1}});return}t.play.duplicateTab||t.play.sessionMigrated||t.play.sessionComplete||t.play.error||(t.play.isAndroidConnected?(c.A.dispatch({type:u.A.ROBLOX_TOAST,payload:{robloxToast:!1}}),T(void 0,void 0,void 0,function*(){try{let e=yield i.Ay.getSessionStatus(Object.assign(Object.assign({},(0,g.TZ)()),{customData:(0,g.Rm)(r.tRz)}),{});if((null==e?void 0:e.status)!==f.wD.Success||e.sessionStatus!==f.Fz.Migrated)throw Error(null==e?void 0:e.status);clearInterval(m),c.A.dispatch({type:u.A.SESSION_MIGRATED,payload:{sessionMigrated:!0}})}catch(e){clearInterval(m),v=0,m=window.setInterval(()=>{let e=c.A.getState();if(v+=1,e.play.error)return void clearInterval(m);T(void 0,void 0,void 0,function*(){if(navigator.onLine&&e.play.isAndroidConnected){let t=yield i.Ay.getSessionStatus(Object.assign(Object.assign({},(0,g.TZ)()),{customData:(0,g.Rm)(r.tRz)}),{});(null==t?void 0:t.status)===f.wD.Success&&(clearInterval(m),(null==t?void 0:t.sessionStatus)===f.Fz.Active?(null==e?void 0:e.play.videoRef)?yield D(null==e?void 0:e.play.videoRef):(0,h.Yi)("VideoNotFound"):(null==t?void 0:t.sessionStatus)===f.Fz.BcpuSpotInterrupted?(c.A.dispatch({type:u.A.SESSION_DISCONNECT_TOAST,payload:{sessionDisconnectScreenType:r.E2K.BCPU_SPOT_INTERRUPTION}}),(0,a.zz)()):I())}})},2e3)}})):t.play.sessionComplete||(t.play.isRecording&&c.A.dispatch({type:u.A.UPDATE_IS_RECORDING,payload:{showRecordingModalBeforeExit:!0,showRecordingModalBeforeExitSource:"inactiveTimeout"}}),I()))}},yield C(n)}catch(e){(0,p.sx)("PreSessionRequestBeginError",{error:e,repeatCount:x}),(0,l.Ay)(e),c.A.dispatch({type:u.A.SET_ERROR,payload:{error:f.wD.Failure,errorCode:"6301",clientId:"",sessionId:"",errorDescription:e instanceof Error?e.message:e}})}}),N=-1,C=e=>T(void 0,void 0,void 0,function*(){var t,n,o;clearTimeout(N);try{(0,p.sx)("SessionRequestBegin",{repeatCount:x});let{utmSource:a,utmMedium:s,utmCampaign:l}=(0,d.Zl)(),y=sessionStorage.getItem(r.lIi);sessionStorage.removeItem(r.lIi);let E=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,g.TZ)()),{feSessionId:window.feSessionId||"",visitId:window.ngVisitId,initialOrientation:(null==(t=null===d.Ay||void 0===d.Ay?void 0:d.Ay.appInfo)?void 0:t.initialOrientation)||f.QB.unspecified,utmSource:a,utmMedium:s,utmCampaign:l,deepLinkUrl:sessionStorage.getItem(r.bUq)||"",accessCode:sessionStorage.getItem("access_code")||"",ngReferrer:sessionStorage.getItem("ngReferrer")||"NA",pageReferrer:sessionStorage.getItem("pageReferrer")||"NA",ngEntryPoint:sessionStorage.getItem("ngEntryPoint")||"NA",ntmSource:sessionStorage.getItem("ntmSource")||"NA",customData:(0,g.Rm)(r.tRz),appLaunchExtraData:(0,g.Rm)("appLaunchExtraData"),launcherData:(0,g.Rm)("launcherData"),feSessionTags:(0,g.zE)().toString(),membershipId:(0,b.iL)(),sdpType:"",isIframe:(0,g.al)()}),(0,g.el)()),y&&{ngInviteId:y}),(0,g.ib)());sessionStorage.getItem("framebufferSizeWidth")&&(E.framebufferSizeWidth=Number(sessionStorage.getItem("framebufferSizeWidth"))),sessionStorage.getItem("framebufferSizeHeight")&&(E.framebufferSizeHeight=Number(sessionStorage.getItem("framebufferSizeHeight"))),sessionStorage.getItem("maxFps")&&(E.maxFps=Number(sessionStorage.getItem("maxFps"))),sessionStorage.getItem("maxStreamBitrateKbps")&&(E.maxStreamBitrateKbps=Number(sessionStorage.getItem("maxStreamBitrateKbps")));let P=yield i.Ay.startSession(E,{});if((0,p.sx)("SessionRequestEnd",{status:P.status,repeatCount:x,errorMessage:P.errorMessage,errorStack:P.errorStack}),(0,g.LD)()&&(0,S.iD)())return;if(P.status===f.wD.Success&&(d.Ay.startSession.warningCtaUrl=P.warningCtaUrl||"",d.Ay.startSession.sessionEndCtaUrl=P.sessionEndCtaUrl||"",P.secondSessionDetected&&(0,A.A)({event:"second_session"})),P.status===f.wD.FailureUaIdRevoked){sessionStorage.clear(),localStorage.clear(),window.location.reload();return}if(P.status===f.wD.FailureTryAgain&&(0,h.Yi)("StartSessionTryAgain"),(null==P?void 0:P.status)===f.wD.FailureUnderMaintenance)return void c.A.dispatch({type:u.A.SET_ERROR,payload:{error:null==P?void 0:P.status,clientId:"",sessionId:"",isAndroidConnected:!1,errorDescription:"startSession-".concat(null==P?void 0:P.status,"-").concat(JSON.stringify(P))}});if((null==P?void 0:P.status)===f.wD.FailureUserStorageBusy||(null==P?void 0:P.status)===f.wD.FailureNotReady)return void((null==P?void 0:P.status)!==f.wD.FailureUserStorageBusy&&x>21?c.A.dispatch({type:u.A.SET_ERROR,payload:{error:null==P?void 0:P.status,clientId:"",sessionId:"",isAndroidConnected:!1,errorDescription:"startSession-retry-count-limit-exceeed-".concat(null==P?void 0:P.status,"-").concat(JSON.stringify(P))}}):(yield new Promise(e=>setTimeout(e,3e3)),yield D()));if(P.status===f.wD.FailureTrialTimeLimitExceeded){c.A.dispatch({type:u.A.SHOW_TRY_NOW,payload:{endingTryNow:!0}}),null==(n=null==document?void 0:document.body)||n.classList.remove(r.pHP,r.x3W);return}if(P.status===f.wD.FailureInvalidMembershipId&&(0,b.cx)(),P.status===f.wD.WaitingInPriorityQueue||P.status===f.wD.WaitingInQueue){c.A.dispatch({type:u.A.SHOW_QUEUE_MODAL,payload:{error:P.status,queuePosition:P.queuePosition?P.queuePosition:-1}});let e=()=>{clearTimeout(N),N=setTimeout(()=>{clearTimeout(N);let{membershipModalOpen:t,duplicateTab:n}=c.A.getState().play;if(n)return void c.A.dispatch({type:u.A.SET_ERROR,payload:{error:null,errorCode:null,queuePosition:-1}});"visible"!==document.visibilityState||t?e():D()},1e3*d.Ay.appInfo.userQueuePollingSecs)};e();return}if(c.A.dispatch({type:u.A.SET_ERROR,payload:{error:null,errorCode:null,queuePosition:-1}}),(null==P?void 0:P.status)!==f.wD.Success)return void c.A.dispatch({type:u.A.SET_ERROR,payload:{error:null==P?void 0:P.status,errorCode:null==P?void 0:P.errCode,clientId:"",sessionId:"",isAndroidConnected:!1,errorDescription:"startSession-".concat(null==P?void 0:P.status,"-").concat(JSON.stringify(P))}});(0,p.sx)("SetRemoteDescriptionBegin",{status:null==P?void 0:P.status,repeatCount:x});try{yield e.setRemoteDescription({type:"offer",sdp:P.offerSdp})}catch(e){yield D();return}(0,p.sx)("SetRemoteDescriptionEnd",{status:null==P?void 0:P.status,repeatCount:x}),d.Ay.playSessionId=P.playSessionId||"NA";let O=(0,S.f_)((0,S.Dh)());if(O>0&&c.A.dispatch({type:w.A.UPDATE_REWARDED_AD_STATUS,payload:{rewardedPremiumTimeInSec:O}}),(0,_.wI)(),c.A.dispatch({type:u.A.START_CONNECTION,payload:{peerConnection:e,uaId:(0,g.qk)(r.kk8),uaSessionId:(0,g.Rm)(r.J0m),error:null,errorCode:null,servingRegion:P.servingRegion||""}}),(null==P?void 0:P.totalRobuxCreditsEarnedByAllUsers)&&c.A.dispatch({type:v.A.NOWBUX_REWARD_DETAILS,payload:{peerConnection:e,uaId:(0,g.qk)(r.kk8),uaSessionId:(0,g.Rm)(r.J0m),error:null,errorCode:null,servingRegion:P.servingRegion||"",totalNowbuxCreditsEarnedByAllUsers:P.totalRobuxCreditsEarnedByAllUsers}}),P.rewards){if(P.rewards.status===f.Rx.Success){let e=P.rewards.adFreeTimeAccumulatedSecs||0,t=+(localStorage.getItem(r.bFM)||"0");localStorage.setItem(r.bFM,e.toString()),c.A.dispatch({type:u.A.UPDATE_REFER_EARN_DATA,payload:{adFreeTimeSecs:P.rewards.adFreeTimeSecs||0,adFreeTimeGainedSecs:e-t,isNewInvitee:!!y}})}c.A.dispatch({type:u.A.UPDATE_REFER_EARN_DATA,payload:{rewardStatus:P.rewards.status}}),c.A.dispatch({type:u.A.UPDATE_PLAY_STATE,payload:{peerConnection:e,uaId:(0,g.qk)(r.kk8),uaSessionId:(0,g.Rm)(r.J0m),error:null,errorCode:null,servingRegion:P.servingRegion||"",deviceLocationDisplayString:P.deviceLocationDisplayString}})}(0,p.sx)("CreateAnswerBegin",{status:null==P?void 0:P.status,repeatCount:x});let I=yield e.createAnswer();if((0,p.sx)("CreateAnswerEnd",{answerSdpLength:null==(o=null==I?void 0:I.sdp)?void 0:o.length,repeatCount:x}),!I.sdp){let e="answer.sdp is undefined - ".concat(JSON.stringify(I));throw c.A.dispatch({type:u.A.SET_ERROR,payload:{error:f.wD.Failure,errorCode:"6300",clientId:"",sessionId:"",isAndroidConnected:!1,errorDescription:e}}),Error(e)}I.sdp=(0,m.mW)(I),yield e.setLocalDescription(I);for(let t=0;tT(void 0,void 0,void 0,function*(){yield D()}),1e4);else if(R.status===f.wD.FailureTryAgain)(0,h.Yi)("SetAnswerTryAgain");else if((null==R?void 0:R.status)!==f.wD.Success){let e="setAnswerSdp-".concat(null==R?void 0:R.status,"-").concat(JSON.stringify(R));c.A.dispatch({type:u.A.SET_ERROR,payload:{error:null==R?void 0:R.status,clientId:"",sessionId:"",isAndroidConnected:!1,errorDescription:e}})}}catch(e){(0,l.Ay)(e),c.A.dispatch({type:u.A.SET_ERROR_FROM_EXCEPTION,payload:{error:f.wD.Failure,errorCode:"1000",clientId:"",sessionId:"",isAndroidConnected:!1,errorDescription:e instanceof Error?e.message:e}})}}),L=(e,t)=>{let n=t(),o=n.play.availableNowPasses,a=n.play.limitedOrderPremiumPass;if((null==o?void 0:o.length)>0||a)return;let s=(null===d.Ay||void 0===d.Ay?void 0:d.Ay.isJpHomePage)?"subscription":"playPass";i.Ay.getPlayPassInfo({category:s},{}).then(t=>{if(t.playPass.length){let n=null,o=null,i=null,a=t.playPass.reduce((e,t)=>(t.enablePaymentSdkFlow||"nowbux"!==t.currency?t.label===r.MTH.limitedOffer?n=t:t.label===r.MTH.bestValue?i=t:e.push(t):o=t,e),[]);a.length>2&&(a.length=2),i&&a.push(i);let s=1/0,c="";a.length&&a.forEach(e=>{s>e.offerPrice&&(s=e.offerPrice,c=e.currencySymbol)}),null!==o&&(null==o?void 0:o.offerPrice)(null==n?void 0:n.offerPrice)&&(s=n.offerPrice,c=n.currencySymbol);let d="";try{d=t.playPass.filter(e=>!!e.appId)[0].appId}catch(e){(0,l.Ay)("appId issue in PlayPass API",{error:e})}e({type:u.A.NOWPREMIUM_SUBSCRIPTION_STATUS,payload:{minPassData:{symbol:c,value:s},availableNowPasses:a.slice(0,3),limitedOrderPremiumPass:n,nowBuxPlayPass:o,paymentAppId:d}})}}).catch(e=>{})},F=(e,t)=>E.A.nowBuxPaymentDetails({},{token:t,type:"inapp",appId:e.appId,productId:e.productId,countryCode:d.Ay.countryCode||"US",channel:"nowgg_cloud"}),U=(e,t,n,o)=>E.A.createNowBuxOrder({},{token:t,appId:e.appId,countryCode:d.Ay.countryCode||"US",amountToBuy:o,developerPayload:"",payType:n,productId:e.productId,channel:"nowgg_cloud"}),M=(e,t)=>i.Ay.purchaseWithNowBux({},{appId:e.appId,productId:e.productId,token:t,uaId:(0,g.qk)(r.kk8),uaSessionId:(0,g.Rm)(r.J0m),pageReferrer:sessionStorage.getItem("pageReferrer")||"NA",ngReferrer:sessionStorage.getItem("ngReferrer")||"NA",ngEntryPoint:sessionStorage.getItem("ngEntryPoint")||"NA",utmSource:sessionStorage.getItem("utm_source")||"NA",utmCampaign:sessionStorage.getItem("utm_campaign")||"NA",utmMedium:sessionStorage.getItem("utm_medium")||"NA",feSessionId:window.feSessionId||"NA",visitId:window.ngVisitId,ntmSource:sessionStorage.getItem("ntmSource")||"NA",feDeviceType:(0,g.el)().feDeviceType,feSessionTags:(0,g.zE)(),feOsName:(0,g.el)().feOsName,userSource:localStorage.getItem("userSource")||"NA",visitSource:(0,g.fT)(),userCampaign:localStorage.getItem("userCampaign")||"NA",visitCampaign:sessionStorage.getItem("utm_campaign")||"NA",userAcqVar:localStorage.getItem("userAcqVar")||"NA",nowPassSource:c.A.getState().play.subscriptionFlowSource,playSessionId:d.Ay.playSessionId||"NA"}),j=(e,t,n,o)=>i.Ay.initiate({},{appId:d.Ay.appInfo.appId,productId:e.productId,orderNumber:n,token:t,feSessionId:window.feSessionId||"NA",uaSessionId:(0,g.Rm)(r.J0m),uaId:(0,g.qk)(r.kk8),playSessionId:d.Ay.playSessionId||"NA",pageReferrer:sessionStorage.getItem("pageReferrer")||"NA",ngReferrer:sessionStorage.getItem("ngReferrer")||"NA",ngEntryPoint:sessionStorage.getItem("ngEntryPoint")||"NA",utmSource:sessionStorage.getItem("utm_source")||"NA",utmCampaign:sessionStorage.getItem("utm_campaign")||"NA",utmMedium:sessionStorage.getItem("utm_medium")||"NA",visitId:window.ngVisitId,ntmSource:sessionStorage.getItem("ntmSource")||"NA",feDeviceType:(0,g.el)().feDeviceType,feOsName:(0,g.el)().feOsName,feSessionTags:(0,g.zE)(),userSource:localStorage.getItem("userSource")||"NA",visitSource:(0,g.fT)(),userCampaign:localStorage.getItem("userCampaign")||"NA",visitCampaign:sessionStorage.getItem("utm_campaign")||"NA",userAcqVar:localStorage.getItem("userAcqVar")||"NA",nowPassSource:c.A.getState().play.subscriptionFlowSource,subscriptionId:o}),B=e=>{c.A.dispatch({type:u.A.UPDATE_PLAY_STATE,payload:{debugOverlay:e}})},G=["control","shift","n","o","w","g","g"],H=[],W={tapCount:0,lastTapTime:0,maxTouchPoints:5,keydown:e=>{H.push(e.key.toLowerCase()),H.length===G.length&&G.every((e,t)=>H[t]===e)&&B(!0),H=H.slice(-G.length+1)},onTouchStart:e=>{let t=Date.now(),n=Math.min(W.maxTouchPoints,(null==navigator?void 0:navigator.maxTouchPoints)||5);n>1&&(e.touches.length===n&&(t-W.lastTapTime<500?W.tapCount+=1:W.tapCount=1,W.lastTapTime=t),W.tapCount>=n&&(B(!0),W.tapCount=0))}}},52100:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});let o=n(64252)._(n(14232)),r=n(21650),i=[],a=[],s=!1;function l(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class c{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function u(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),i=null;function l(){if(!i){let t=new c(e,n);i={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return i.promise()}if(!s){let e=n.webpack&&1?n.webpack():n.modules;e&&a.push(t=>{for(let n of e)if(t.includes(n))return l()})}function u(e,t){l();let a=o.default.useContext(r.LoadableContext);a&&Array.isArray(n.modules)&&n.modules.forEach(e=>{a(e)});let s=o.default.useSyncExternalStore(i.subscribe,i.getCurrentValue,i.getCurrentValue);return o.default.useImperativeHandle(t,()=>({retry:i.retry}),[]),o.default.useMemo(()=>{var t;return s.loading||s.error?o.default.createElement(n.loading,{isLoading:s.loading,pastDelay:s.pastDelay,timedOut:s.timedOut,error:s.error,retry:i.retry}):s.loaded?o.default.createElement((t=s.loaded)&&t.default?t.default:t,e):null},[e,s])}return u.preload=()=>l(),u.displayName="LoadableComponent",o.default.forwardRef(u)}(l,e)}function d(e,t){let n=[];for(;e.length;){let o=e.pop();n.push(o(t))}return Promise.all(n).then(()=>{if(e.length)return d(e,t)})}u.preloadAll=()=>new Promise((e,t)=>{d(i).then(e,t)}),u.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let n=()=>(s=!0,t());d(a,e).then(n,n)})),window.__NEXT_PRELOADREADY=u.preloadReady;let p=u},52399:()=>{!function(){"use strict";if("object"==typeof window){if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}var e=function(e){for(var t=e,n=r(t);n;)n=r(t=n.ownerDocument);return t}(window.document),t=[],n=null,o=null;a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return n||(n=function(e,n){o=e&&n?p(e,n):u(),t.forEach(function(e){e._checkForIntersections()})}),n},a._resetCrossOriginUpdater=function(){n=null,o=null},a.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!(e&&1==e.nodeType))throw Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},a.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]})},a.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},a.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var o=this._checkForIntersections,i=null,a=null;if(this.POLL_INTERVAL?i=n.setInterval(o,this.POLL_INTERVAL):(s(n,"resize",o,!0),s(t,"scroll",o,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(a=new n.MutationObserver(o)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push(function(){var e=t.defaultView;e&&(i&&e.clearInterval(i),l(e,"resize",o,!0)),l(t,"scroll",o,!0),a&&a.disconnect()}),t!=(this.root&&(this.root.ownerDocument||this.root)||e)){var c=r(t);c&&this._monitorIntersections(c.ownerDocument)}}},a.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var o=this.root&&(this.root.ownerDocument||this.root)||e;if(!this._observationTargets.some(function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=o;){var i=r(n);if((n=i&&i.ownerDocument)==t)return!0}return!1})){var i=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),i(),t!=o){var a=r(t);a&&this._unmonitorIntersections(a.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t=0&&s>=0&&{top:n,bottom:o,left:r,right:i,width:a,height:s}||null}(u,a)),!a)break;s=s&&g(s)}return a}},a.prototype._getRootRect=function(){var t;if(this.root&&!h(this.root))t=c(this.root);else{var n=h(this.root)?this.root:e,o=n.documentElement,r=n.body;t={top:0,left:0,right:o.clientWidth||r.clientWidth,width:o.clientWidth||r.clientWidth,bottom:o.clientHeight||r.clientHeight,height:o.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},a.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map(function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100}),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},a.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,o=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==o)for(var r=0;rt.indexOf(this)&&t.push(this)},a.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=a,window.IntersectionObserverEntry=i}function r(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(e){return null}}function i(e){this.time=e.time,this.target=e.target,this.rootBounds=d(e.rootBounds),this.boundingClientRect=d(e.boundingClientRect),this.intersectionRect=d(e.intersectionRect||u()),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,o=this.intersectionRect,r=o.width*o.height;n?this.intersectionRatio=Number((r/n).toFixed(4)):this.intersectionRatio=+!!this.isIntersecting}function a(e,t){var n,o,r,i=t||{};if("function"!=typeof e)throw Error("callback must be a function");if(i.root&&1!=i.root.nodeType&&9!=i.root.nodeType)throw Error("root must be a Document or Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),o=this.THROTTLE_TIMEOUT,r=null,function(){r||(r=setTimeout(function(){n(),r=null},o))}),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(i.rootMargin),this.thresholds=this._initThresholds(i.threshold),this.root=i.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(e,t,n,o){"function"==typeof e.addEventListener?e.addEventListener(t,n,o||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function l(e,t,n,o){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,o||!1):"function"==typeof e.detachEvent&&e.detachEvent("on"+t,n)}function c(e){var t;try{t=e.getBoundingClientRect()}catch(e){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):u()}function u(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function d(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function p(e,t){var n=t.top-e.top,o=t.left-e.left;return{top:n,left:o,height:t.height,width:t.width,bottom:n+t.height,right:o+t.width}}function f(e,t){for(var n=t;n;){if(n==e)return!0;n=g(n)}return!1}function g(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?r(t):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host)?n.host:n}function h(e){return e&&9===e.nodeType}}()},52782:(e,t,n)=>{var o=n(88046),r=n(98825),i=n(76014),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return a;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=o(e);var n=l.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):s.test(e)?a:+e}},52862:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>I});var o=n(37876),r=n(14232),i=n(64320),a=n(71278),s=n(59319),l=n(21540);n(16865),n(52399);var c=n(77328),u=n.n(c),d=n(45105),p=n.n(d),f=n(29359),g=n(56047);let h={"now.us":"G-E227PG5FJL","now.jp":"G-80GLMH1TCE","now.gg":"G-8VVPTD9ZTY","restudythis.com":"G-3GK0CB1ZYP"},y=e=>{let{domain:t="now.gg"}=e,[n,i]=(0,r.useState)(!1);(0,r.useEffect)(()=>{function e(){(!f.Ay.isQuancastPopupSupportByCountry||(0,g.Ri)("addtl_consent"))&&i(!0)}return e(),window.addEventListener("nggGaScriptLoad",e),()=>{window.removeEventListener("nggGaScriptLoad",e)}},[]);let a=h[t]||h["now.gg"];return n?(0,o.jsx)(p(),{id:"gtag-script",async:!0,type:"text/javascript",src:"https://www.googletagmanager.com/gtag/js?id=".concat(a),onLoad:()=>{function e(){window.dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],e("js",new Date),e("config",a)}}):null};var m=n(62920),v=n(34754),A=n(28198),S=n(18847),w=n.n(S);let b=w()(()=>n.e(4592).then(n.bind(n,94592)),{loadableGenerated:{webpack:()=>[94592]}}),E=w()(()=>Promise.all([n.e(7581),n.e(5434)]).then(n.bind(n,85434)),{loadableGenerated:{webpack:()=>[85434]}}),_=e=>{let{isEnablePlayModeWithAdBlocker:t}=e,n=(0,i.d4)(e=>e.play.isLoadAdBlockerLib);return(0,o.jsxs)(o.Fragment,{children:[n&&(0,o.jsx)(b,{}),!t&&(0,o.jsx)(E,{})]})};var T=n(70780),P=n(18808),O=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let I=e=>{var t,{Component:n,pageProps:c}=e;O(e,["Component","pageProps"]),window.ResizeObserver||(0,l.ai)();let d=e=>{let t=document.createElement("link");t.href=e,e===m.pQd&&(0,g.Qi)()&&(t.onerror=()=>{a.A.dispatch({type:T.A.UPDATE_PLAY_STATE,payload:{adBlockerMethodType:P.Y.DEV_AD_BLOCKER}})}),t.rel="stylesheet",document.head.appendChild(t)};return(0,r.useEffect)(()=>{d(m.pQd),d(m.rKt),((null==c?void 0:c.pageType)===m.g6_.UnifiedAppPage||(null==c?void 0:c.pageType)===m.g6_.PlayPage)&&function(){var e;let t=window,n=window,o=t.screen&&t.screen.orientation&&"function"==typeof t.screen.orientation.addEventListener,r=t.screen&&(null==(e=Object.getOwnPropertyDescriptor(t.screen,"orientation"))?void 0:e.writable);if((!o||r)&&(t.screen||(t.screen={}),!o||r))try{t.screen.orientation=new function(){this.type=a(),this.angle=i();let e=new Map;this.addEventListener=function(t,n){if("change"===t){let t=()=>{let e=a(),t=i();(e!==this.type||t!==this.angle)&&(this.type=e,this.angle=t,n(new Event("change")))};e.set(n,t),window.addEventListener("resize",t)}},this.removeEventListener=function(t,n){if("change"===t){let t=e.get(n);t&&(window.removeEventListener("resize",t),e.delete(n))}}}}catch(e){}function i(){return"number"==typeof n.orientation?Math.abs(n.orientation):0}function a(){if("number"==typeof n.orientation)switch(n.orientation){case 0:default:return"portrait-primary";case 90:return"landscape-primary";case -90:return"landscape-secondary";case 180:return"portrait-secondary"}return window.innerWidth>window.innerHeight?"landscape-primary":"portrait-primary"}}(),!function(){var e,t,n,o,r,i,a;o=this,r=void 0,i=void 0,a=function*(){try{let o=null==c?void 0:c.countryCode,r=null==(t=null==(e=null==c?void 0:c.appInfo)?void 0:e.playFeFeatures)?void 0:t.fallbackLanguageCode,i=navigator.language.split("-")[0];(null==(n=c.appInfo)?void 0:n.appId)==="jpportal"?(A.Ay.options.fallbackLng=v.hi,A.Ay.options.supportedLngs=[v.hi,v.Ki],"IN"===o?A.Ay.language!==v.Ki&&A.Ay.changeLanguage(v.Ki).catch(e=>{}):i!==v.hi&&(yield(0,v.dL)(v.hi),A.Ay.changeLanguage(v.hi).catch(e=>{}))):r&&"en"!==r&&i!==r&&v.mX.includes(r)&&(yield(0,v.dL)(r),A.Ay.options.fallbackLng=r,v.mX.includes(i)||A.Ay.changeLanguage(r).catch(e=>{}))}catch(e){}},new(i||(i=Promise))(function(e,t){function n(e){try{l(a.next(e))}catch(e){t(e)}}function s(e){try{l(a.throw(e))}catch(e){t(e)}}function l(t){var o;t.done?e(t.value):((o=t.value)instanceof i?o:new i(function(e){e(o)})).then(n,s)}l((a=a.apply(o,r||[])).next())})}()},[]),(0,f.U5)(),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(u(),{children:[(0,o.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, viewport-fit=cover, shrink-to-fit=no, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"},"viewport"),(0,o.jsx)("meta",{name:"msapplication-TileImage",content:"https://cdn.now.gg/apps-content/common/img/favicon.ico"},"msicon"),(0,o.jsx)("meta",{charSet:"UTF-8"},"metacharset"),(0,o.jsx)("meta",{name:"HandheldFriendly",content:"true"},"metahandheld"),!1]}),(0,o.jsx)(y,{domain:null==(t=null==c?void 0:c.appInfo)?void 0:t.playDomain}),(0,o.jsx)(s.mv,{children:(0,o.jsxs)(i.Kq,{store:a.A,children:[(0,o.jsx)(n,{...c}),(0,o.jsx)(_,{isEnablePlayModeWithAdBlocker:(0,g.qv)(c.appInfo)})]})})]})}},53512:(e,t,n)=>{var o=n(50224);e.exports=function(){this.__data__=o?o(null):{},this.size=0}},53747:(e,t,n)=>{var o={"./de/common.json":[54698,4698],"./en/common.json":[28062],"./ja/common.json":[87320,7320],"./ko/common.json":[9325,9325]};function r(e){if(!n.o(o,e))return Promise.resolve().then(()=>{var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=o[e],r=t[0];return Promise.all(t.slice(1).map(n.e)).then(()=>n.t(r,19))}r.keys=()=>Object.keys(o),r.id=53747,e.exports=r},54935:e=>{e.exports=function(e){return null===e}},54945:(e,t,n)=>{"use strict";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)}n.d(t,{A:()=>o})},55022:(e,t,n)=>{"use strict";let o;n.d(t,{DA:()=>b,DH:()=>_,Mj:()=>O,n$:()=>R,nC:()=>T,oQ:()=>k,u1:()=>v,x9:()=>P});var r=n(62920),i=n(86887),a=n(70780),s=n(71278),l=n(10025),c=n(56047),u=n(35402),d=n(29359),p=n(51201),f=n(49889),g=n(25553);let h=[u.QB.portrait,u.QB.landscape,u.QB.portrait,u.QB.landscape],y=[u.QB.landscape,u.QB.portrait,u.QB.landscape,u.QB.portrait],m={w:16,h:9},v=(e,t)=>{m.w=e,m.h=t},A=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?Math.round(e/m.h*m.w):Math.round(e/m.w*m.h)},S=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?Math.round(e/m.w*m.h):Math.round(e/m.h*m.w)},w=()=>{try{let e=100*getComputedStyle(document.body).getPropertyValue("--vh").split("px")[0],t=100*getComputedStyle(document.body).getPropertyValue("--vw").split("px")[0];if("number"==typeof e&&"number"==typeof t)return{actualHeight:Math.floor(e),actualWidth:Math.floor(t)}}catch(e){}return{actualHeight:Math.floor(Math.min(window.outerHeight,window.innerHeight)),actualWidth:Math.floor(Math.min(window.outerWidth,window.innerWidth))}},b=()=>{let e=s.A.getState(),{orientation:t,isFullscreen:n,error:o}=e.play,{isLoggedIn:r,guestFlow:i}=e.auth;if(!(r||i)||o)return;let{actualHeight:a,actualWidth:l}=w(),p=document.querySelector("body");p&&!(0,c.xl)()&&(t===u.QB.portrait?(p.style.height="".concat(a,"px"),p.style.width="".concat(l,"px")):(p.style.height="".concat(l,"px"),p.style.width="".concat(a,"px")),a>l&&t===u.QB.landscape||t===u.QB.portrait&&((((0,c.v1)()||(0,c.bh)())&&!d.Ay.isMultiPanelAdsEnabled?!d.Ay.isAppPage:(0,c.Fr)())?l>a:a>l)?(p.style.width="".concat(a,"px"),p.style.height="".concat(l,"px")):(p.style.width="".concat(l,"px"),p.style.height="".concat(a,"px")))},E=function(e,t,n,o,i){var a,p,f,g,h,y,m,v,b,E,_,T,P,O,I,R,k;let x,D,N,C,L=arguments.length>5&&void 0!==arguments[5]?arguments[5]:u.QB.landscape,F=arguments.length>6?arguments[6]:void 0,U=s.A.getState(),{videoContainerRef:M,videoRef:j,isRecording:B,tryNowRef:G,displayAdRef:H,nowPremiumSubscriptionActive:W}=U.play,{rewardedPremiumTimeInSec:z}=U.ads,V=null==(f=null==(p=null==(a=d.Ay.appInfo)?void 0:a.playFeFeatures)?void 0:p.tryAndDownload)?void 0:f.isEnabled,Y=((e,t,n,o,i,a)=>{var l,p,f;if((0,c.Fr)()||(0,c.v1)()||(0,c.bh)())return 0;let g=null==(f=null==(p=null==(l=d.Ay.appInfo)?void 0:l.playFeFeatures)?void 0:p.tryAndDownload)?void 0:f.isEnabled,h=0,{play:y}=s.A.getState(),{tryNowRef:m}=y;return e?y.isRecording&&(h+=72):(y.consoleFooterRef&&y.consoleFooterRef.current&&(!i||i===r.tFK)&&(h+=y.consoleFooterRef.current.clientHeight,t===u.QB.portrait&&d.Ay.isPlayPage&&(h+=4)),y.consoleHeaderRef&&y.consoleHeaderRef.current&&!a&&(h+=y.consoleHeaderRef.current.clientHeight)),y.consoleHeaderRef&&y.consoleHeaderRef.current&&i===r.z_4&&t===u.QB.landscape&&(h+=180),g&&!(0,c.VV)()&&m&&(null==m?void 0:m.current)&&(h+=m.current.offsetHeight),h})(t,L,0,0,e,null===d.Ay||void 0===d.Ay?void 0:d.Ay.isAppPage);i=i||(0,c.ZA)()||W||z>0;let $=L===u.QB.landscape,q=null==(g=null==M?void 0:M.current)?void 0:g[$?"offsetHeight":"offsetWidth"],J=null==(h=null==M?void 0:M.current)?void 0:h[$?"offsetWidth":"offsetHeight"];if(d.Ay.isMultiPanelAdsEnabled)if(q&&J){if(D=q,x=J-4,!(W||z>0)){let[e,t]=(0,c.Fr)()?[r.txv,r.S3y]:[r.I_I,r.rPg];$?(D-=t,x-=e):(D-=e,x-=t)}let e=(null==(v=null==(m=null==(y=null==U?void 0:U.play)?void 0:y.consoleFooterRef)?void 0:m.current)?void 0:v.clientHeight)||0,n=(null==(_=null==(E=null==(b=null==U?void 0:U.play)?void 0:b.consoleHeaderRef)?void 0:E.current)?void 0:_.clientHeight)||0;t||($?D-=e+n:x-=e+n)}else D=0,x=0;else if((0,c.Fr)()&&L===u.QB.landscape)D=q||0,x=J||0;else{if((0,c.Fr)()&&L===u.QB.portrait)window.innerWidth>window.innerHeight?(x=window.innerWidth,D=window.innerHeight):(x=window.innerHeight,D=window.innerWidth);else if(null===d.Ay||void 0===d.Ay?void 0:d.Ay.isAppPage)D=q||0,x=J||0;else{let{actualHeight:e,actualWidth:t}=w();x=$?t:e,D=$?e:t}$?D-=Y+24*!!W:x-=Y+24*!!W}if(H&&H.current&&($?D-=r.pH3:x-=r.pH3),!(0,c.xl)()&&U.play.isAnnouncementBarVisible&&($?D-=40:x-=40),(0,c.Fr)()&&L===u.QB.portrait&&V&&!(0,c.VV)()&&G&&(null==G?void 0:G.current)&&(x-=G.current.offsetHeight),!i&&e&&!W&&(!B||!(0,c.Ku)())&&(e===r.z_4?$?D-=210:x-=210:e===r.tFK&&((0,c.xl)()||(0,c.v1)()||(0,c.bh)())&&((((0,c.v1)()||(0,c.bh)())&&d.Ay.isAppPage?L===u.QB.portrait:L===u.QB.landscape)?x-=350:D-=350)),L===u.QB.landscape)if($){let e=!(0,l.UJ)();A(D,e)>x&&(D=S(x,e)),x=A(D,e),e&&([D,x]=[x,D]),N=D,C=x}else A(x)>D&&(x=S(D)),D=A(x),N=x,C=D;else if((0,l.UJ)()){let e=L===u.QB.portrait;e?(F&&((0,c.v1)()||(0,c.bh)())&&!d.Ay.isMultiPanelAdsEnabled&&([D,x]=[x,D]),A(x,e)>D&&(x=S(D,e)),D=A(x,e),[D,x]=[x,D]):(A(D)>x&&(D=S(x)),x=A(D)),N=D,C=x}else((0,c.v1)()||(0,c.bh)())&&F&&!d.Ay.isMultiPanelAdsEnabled&&([D,x]=[x,D]),A(x)>D&&(x=S(D)),N=D=A(x),C=x;if((0,c.Fr)()){let e=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--sat"),10);Number.isNaN(e)&&(e=0);let t=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--sab"),10);Number.isNaN(t)&&(t=0);let n=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--sal"),10);Number.isNaN(n)&&(n=0);let o=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--sar"),10);Number.isNaN(o)&&(o=0),(null==M?void 0:M.current)&&(M.current.style.paddingLeft="",M.current.style.paddingRight="",M.current.style.paddingTop="",M.current.style.paddingBottom=""),L!==u.QB.portrait&&0===window.orientation?(null==M?void 0:M.current)&&(M.current.style.paddingLeft="".concat(e,"px"),D-=e):L!==u.QB.portrait&&90===window.orientation?(null==M?void 0:M.current)&&(M.current.style.paddingLeft="".concat(n,"px"),D-=n):L!==u.QB.portrait&&-90===window.orientation?(null==M?void 0:M.current)&&(M.current.style.paddingRight="".concat(o,"px"),D-=o):L===u.QB.portrait&&0===window.orientation?(null==M?void 0:M.current)&&(M.current.style.paddingTop="".concat(e,"px"),M.current.style.paddingBottom="".concat(t,"px"),x=x-e-t):L===u.QB.portrait&&90===window.orientation?(null==M?void 0:M.current)&&(M.current.style.paddingTop="".concat(n,"px"),x-=n):L===u.QB.portrait&&-90===window.orientation&&(null==M?void 0:M.current)&&(M.current.style.paddingTop="".concat(o,"px"),x-=o)}if(L===u.QB.portrait&&!t&&(null==j?void 0:j.current)?j.current.style.objectFit="cover":(null==j?void 0:j.current)&&(j.current.style.objectFit="fill"),(0,c.Fr)()&&((0,c.VB)()||(0,c.OF)())&&t&&!(0,c.bh)())return(null==j?void 0:j.current)&&(j.current.style.position="absolute",j.current.style.height="".concat(C,"px"),j.current.style.width="".concat(N,"px")),{width:D,height:x,arWidth:N,arHeight:C,styleVideo:!1};if((0,c.Fr)()&&((0,c.VB)()||(0,c.OF)())&&!t||(0,c.bh)()){if(D=N,x=C,null==j?void 0:j.current)if(j.current.style.top="50%",j.current.style.left="50%",j.current.style.position="absolute",j.current.style.objectFit="cover",L===u.QB.portrait?j.current.style.transformOrigin="":j.current.style.transformOrigin="0 0",j.current.style.transform="",j.current.style.height="".concat(x,"px"),j.current.style.width="".concat(D,"px"),!(0,c.xl)()&&U.play.isAnnouncementBarVisible){let e=20;H&&H.current&&(e+=r.pH3/2),j.current.style.top="calc(50% + ".concat(e,"px)")}else H&&H.current&&(j.current.style.top="calc(50% + ".concat(r.pH3/2,"px)"));return{width:D,height:x,arWidth:N,arHeight:C,styleVideo:!1}}if(!(0,c.xl)()&&U.play.isAnnouncementBarVisible&&(null==j?void 0:j.current)){let e=20;H&&H.current&&(e+=r.pH3/2),j.current.style.top="calc(50% + ".concat(e,"px)")}else if(d.Ay.isMultiPanelAdsEnabled&&(null==j?void 0:j.current)){let e=(null==(O=null==(P=null==(T=null==U?void 0:U.play)?void 0:T.consoleHeaderRef)?void 0:P.current)?void 0:O.clientHeight)||0,t=(null==(k=null==(R=null==(I=null==U?void 0:U.play)?void 0:I.consoleFooterRef)?void 0:R.current)?void 0:k.clientHeight)||0;L===u.QB.portrait&&(j.current.style.top="92px !important"),j.current.style.top="calc(50% - ".concat(z>0?0:W?58*!!(0,c.xl)():(t-e)/2,"px)")}return{height:x,width:D}},_=()=>{let e=new Event("resize");window.dispatchEvent(e)},T=()=>{let e=s.A.getState(),{disableAllAds:t}=e.ads,{videoRef:n,isAndroidConnected:o,orientation:a,videoContainerRef:h,isFullscreen:y,showBloxdErrorScreen:m}=e.play;if((0,p.A)(),(0,d.a2)())return;let{skyScraperRef1:v,skyScraperRef2:A,leaderBoardRef1:S,leaderBoardRef2:w,inGameAd:b,showInGameAds:_,imaError:T,adBlocker:P}=e.ads,{height:O,width:I,styleVideo:R=!0,arHeight:k,arWidth:x}=E(b,y,T,P,t,a,null===d.Ay||void 0===d.Ay?void 0:d.Ay.isAppPage);if(b&&_){if(b===r.z_4)S&&(null==S?void 0:S.current)&&w&&(null==w?void 0:w.current)&&h&&h.current&&(S.current.style.top="2px",w.current.style.bottom="2px");else if(b===r.tFK&&v&&(null==v?void 0:v.current)&&A&&(null==A?void 0:A.current)&&h&&h.current){let e=(h.current.offsetWidth-I)/2-160;if((0,c.xl)())v.current.style.left="0px",A.current.style.right="0px";else if(e>0)if(e>19)v.current.style.left="".concat(e/2,"px"),A.current.style.right="".concat(e/2,"px");else{let t=e-10;v.current.style.left="".concat(t,"px"),A.current.style.right="".concat(t,"px")}}}n&&n.current&&R&&(n.current.style.width="".concat(O,"px"),n.current.style.height="".concat(I,"px")),a===u.QB.landscape&&(null==n?void 0:n.current)?(n.current.style.height="".concat(x,"px"),n.current.style.width="".concat(k,"px")):(null==n?void 0:n.current)&&a===u.QB.portrait&&(n.current.style.height="".concat((0,c.OF)()?k:O,"px"),n.current.style.width="".concat((0,c.OF)()?x:I,"px")),f.zR.splitScreenSize=(0,g.A)(I*f.zR.splitScreenPerc,2);let D=a===u.QB.landscape;if(o||m){let[e,t]=D?[Math.max(I,O),Math.min(I,O)]:[I,O],[n,o]=(0,l.UJ)()&&!D?[t,e]:[e,t];(0,l.Tu)(n,o),i.Ay.initialized&&(i.Ay.setDimensions(e,t,f.zR.splitScreenPerc),i.Ay.updateDimensions())}let N=new Event("resizeDone");window.dispatchEvent(N)},P=e=>{let t=parseInt(e,10),n=(0,l.UJ)()?y[t]:h[t];s.A.dispatch({type:a.A.UPDATE_ORIENTATION,payload:{orientation:n,orientationValue:t}}),_(),T(),i.Ay.imapHandleOrientation(t)},O=()=>{let e=s.A.getState(),{videoRef:t,orientation:n,orientationValue:o}=e.play,{isLoggedIn:i,guestFlow:a}=e.auth;if(i||a){if((null==t?void 0:t.current)&&(null==t||t.current.classList.remove("landscape-0","landscape-1","landscape-2","landscape-3"),null==t||t.current.classList.remove("portrait-0","portrait-1","portrait-2","portrait-3"),null==t||t.current.classList.add("".concat((0,l.UJ)()?"landscape":"portrait","-").concat(o))),n===u.QB.portrait){let e=document.body;e&&(((0,c.v1)()||(0,c.bh)())&&d.Ay.isAppPage&&!d.Ay.isMultiPanelAdsEnabled?(e.classList.add(r.pHP),e.classList.remove(r.x3W)):e.classList.contains(r.pHP)?(e.classList.remove(r.pHP),e.classList.add(r.x3W),setTimeout(()=>_(),100)):(0,c.Fr)()&&e.classList.add(r.x3W)),(null==t?void 0:t.current)&&(2===o&&(null==t||t.current.classList.add("inverted")),null==t||t.current.classList.remove("landscape"))}else{let e=document.body;e&&e.classList.remove(r.x3W),(null==t?void 0:t.current)&&(null==t||t.current.classList.remove("inverted")),(0,c.Fr)()&&e&&(e.classList.add(r.pHP),e.classList.contains(r.pHP)||(e.classList.add(r.pHP),setTimeout(()=>_(),100)))}setTimeout(()=>_(),100)}},I=e=>+(Math.round(100*e)/100).toFixed(2),R=()=>{let e=I(.01*Math.min(window.innerHeight,window.outerHeight||1/0)),t=I(.01*Math.min(window.innerWidth,window.outerWidth||1/0));document.documentElement.style.setProperty("--vh","".concat(e,"px")),document.documentElement.style.setProperty("--vw","".concat(t,"px"))},k=e=>{clearInterval(o),o=setTimeout(()=>{if(R(),d.Ay.isHomePage)return;let{isPlayerLoaded:e,duplicateTab:t}=s.A.getState().play;(0,d.a2)()||!e||t||b(),T()},500)}},56047:(e,t,n)=>{"use strict";let o;n.d(t,{qO:()=>tB,oy:()=>tW,N5:()=>tK,T:()=>Y,p7:()=>te,BP:()=>tT,Bn:()=>ex,G_:()=>tl,P0:()=>tm,lJ:()=>e2,B3:()=>e3,cb:()=>eg,RT:()=>M,X_:()=>e1,ph:()=>tU,p_:()=>eD,vx:()=>eK,Qn:()=>ek,OP:()=>eG,ib:()=>eY,Ri:()=>el,tp:()=>eC,ns:()=>eU,lp:()=>eR,Hb:()=>tF,LD:()=>t_,qv:()=>tw,el:()=>eM,eo:()=>eF,O7:()=>eL,zE:()=>eH,mZ:()=>e$,Mf:()=>eT,h:()=>tP,v6:()=>eJ,sA:()=>tZ,oN:()=>tE,ZA:()=>e6,$R:()=>e9,Bw:()=>F,iN:()=>eZ,Q0:()=>td,R0:()=>es,Yw:()=>e7,Wg:()=>e0,D_:()=>$,eK:()=>tD,fT:()=>ez,TZ:()=>V,be:()=>tq,Zb:()=>ed,qk:()=>B,Rm:()=>W,CX:()=>ta,ig:()=>ti,ND:()=>ey,Ei:()=>tV,al:()=>e8,US:()=>eh,Ku:()=>eI,j_:()=>tS,YT:()=>er,Bm:()=>eO,gK:()=>eo,C:()=>eA,I0:()=>ty,Zs:()=>et,xl:()=>eW,DV:()=>ej,KQ:()=>tb,VQ:()=>tn,iB:()=>eV,gF:()=>ew,bh:()=>ee,A7:()=>tI,YZ:()=>tR,mJ:()=>tO,x7:()=>J,Fr:()=>X,oz:()=>eQ,mv:()=>ef,Qi:()=>tQ,VV:()=>eB,N1:()=>tp,mP:()=>eq,w3:()=>eu,It:()=>tk,Mz:()=>tx,mL:()=>tN,_o:()=>tv,IV:()=>tf,A6:()=>tA,ZZ:()=>em,nr:()=>ec,Ti:()=>eP,v1:()=>K,lz:()=>ev,RM:()=>en,sl:()=>tH,y:()=>eS,OF:()=>Q,VB:()=>Z,j0:()=>q,oV:()=>tL,$$:()=>ts,_z:()=>H,Hk:()=>z,eG:()=>e4,rZ:()=>eX,o1:()=>th,FY:()=>U,nQ:()=>tu,Vv:()=>t$,pl:()=>G,ct:()=>tr,IN:()=>tJ,wo:()=>tC,Rz:()=>tG,kf:()=>to,p4:()=>tt,jy:()=>t0,Lo:()=>e5,PG:()=>tj,zf:()=>ep});var r=n(75998),i=n.n(r),a=n(29359),s=n(62920),l=n(95566),c=n(71278),u=n(35402),d=n(70780),p=n(59319),f=n(4208),g=n(92634),h=n(1678),y=n(51682),m=n(70670),v=n.n(m),A=n(52094),S={d:(e,t)=>{for(var n in t)S.o(t,n)&&!S.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},w={};S.d(w,{A:()=>_,k:()=>E});var b=function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){var c=[s,l];if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(a=0)),a;)try{if(n=1,o&&(r=2&c[0]?o.return:c[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,c[1])).done)return r;switch(o=0,r&&(c=[2&c[0],r.value]),c[0]){case 0:case 1:r=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,o=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(r=(r=a.trys).length>0&&r[r.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]L,U=()=>{L=!L},M=()=>{var e;let{enableLowCostUi:t}=(null==(e=null===a.Ay||void 0===a.Ay?void 0:a.Ay.appInfo)?void 0:e.playFeFeatures)||{};return t},j=(e,t)=>{var n;return(null==(n=null==window?void 0:window.nggParams)?void 0:n[t])||(null==e?void 0:e.getItem(t))||""},B=e=>j(window.localStorage,e),G=(e,t)=>{try{window.nggParams[e]=t}catch(e){}window.localStorage.setItem(e,t)},H=e=>{try{delete window.nggParams[e]}catch(e){}window.localStorage.removeItem(e)},W=e=>j(window.sessionStorage,e),z=e=>{try{delete window.nggParams[e]}catch(e){}window.sessionStorage.removeItem(e)},V=()=>({appId:a.Ay.appInfo.appId,uaId:B(s.kk8),uaSessionId:W(s.J0m)}),Y=(()=>{let e=e=>e.test(window.navigator.userAgent);switch(!0){case e(/edg/i):return"Microsoft Edge";case e(/trident/i):return"Microsoft Internet Explorer";case e(/firefox|fxios/i):return"Mozilla Firefox";case e(/opr\//i):return"Opera";case e(/ucbrowser/i):return"UC Browser";case e(/samsungbrowser/i):return"Samsung Browser";case e(/chrome|chromium|crios/i):return"Google Chrome";case e(/safari/i):return"Apple Safari";default:return"Other"}})(),$=()=>{var e,t;try{return{width:window.screen.width,height:window.screen.height,availHeight:window.screen.availHeight,availWidth:window.screen.availWidth,colorDepth:window.screen.colorDepth,pixelDepth:window.screen.pixelDepth,orientation:{angle:null==(e=window.screen.orientation)?void 0:e.angle,type:null==(t=window.screen.orientation)?void 0:t.type}}}catch(e){return{}}},q="MacIntel",J=()=>-1!==q.indexOf(navigator.platform),X=i()(()=>{let e;return void 0===o&&(e=navigator.userAgent,o=/Android|webOS|iPhone|iPad|iPod|BlackBerry|Windows Phone|Opera Mini|IEMobile|WPDesktop/i.test(e)||/iPad|iPhone|iPod/.test(navigator.platform)||J()&&navigator.maxTouchPoints>1),o}),K=i()(()=>{let e=navigator.userAgent.toLowerCase().split(s.H$Y)[0];return/(ipad|tablet|(android(?!.*mobile))|(windows(?!.*phone)(.*touch))|kindle|playbook|silk|(puffin(?!.*(IP|AP|WP))))/.test(e)||en()&&navigator.maxTouchPoints>=5&&!et()}),Q=i()(()=>/iPad|iPhone|iPod/.test(navigator.platform)||J()&&navigator.maxTouchPoints>1),Z=i()(()=>!!(/iPad|iPhone|iPod/.test(navigator.platform)||J()&&navigator.maxTouchPoints>1)&&-1!==navigator.userAgent.indexOf("Safari")),ee=i()(()=>!!(navigator.maxTouchPoints&&navigator.maxTouchPoints>2&&J()));i()(()=>[/Android/i].some(e=>!!navigator.userAgent.match(e)&&navigator.userAgent.match(/Safari/i))),i()(()=>-1!==navigator.userAgent.indexOf("SamsungBrowser"));let et=function(){return/\bCrOS\b/.test(navigator.userAgent)},en=function(){var e;return(null==(e=null==navigator?void 0:navigator.userAgent)?void 0:e.indexOf("X11"))!==-1},eo=function(){return/BeOS/.test(navigator.userAgent)},er=function(){return/AmigaOS/.test(navigator.userAgent)},ei=i()(()=>{try{let e=navigator.userAgent.toLowerCase(),t=["smarttv","googletv","appletv","hbbtv","netcast","webos","tizen","viera","roku","firetv"];for(let n=0;n-1)return!0;if(!(X()||ee()||K())&&e.indexOf("jiopages")>-1)return!0;return!1}catch(e){return!1}}),ea={mac:"mac",window:"window",ios:"ios",android:"android",chrome_os:"chrome_os",unix:"unix",beos:"beos",amigaos:"amigaos",linux:"linux"},es=i()(()=>{let e=window.navigator.platform,t=["Macintosh",q,"MacPPC","Mac68K"],n=(0,N.F)()||"other";return -1!==["iPhone","iPad","iPod"].indexOf(e)?n=ea.ios:-1!==t.indexOf(e)?n=ee()||K()?ea.ios:ea.mac:-1!==["Win32","Win64","Windows","WinCE"].indexOf(e)?n=ea.window:-1!==["Android","Linux","Linux armv81"].indexOf(e)||"Android"===n?n=ea.android:et()?n=ea.chrome_os:en()?n=ea.unix:eo()?n=ea.beos:er()&&(n=ea.amigaos),n}),el=e=>{if(!navigator.cookieEnabled)return"";if("undefined"!=typeof document){let t="".concat(e,"="),n=document.cookie.split(";");for(let e=0;e{let e=navigator.vendor.match(/[Aa]+pple/);return!!e&&!!(e.length>0)}),eu=()=>!X()&&!K()&&!ee(),ed=()=>{let e=[{mime:"video/mp4;codecs=avc1",extension:".mp4"},{mime:"video/webm;codecs=avc1",extension:".webm"},{mime:"video/webm;codecs=vp8,opus",extension:".webm"},{mime:"video/x-matroska;codecs=avc1",extension:".mkv"}],t={mime:"video/mp4;codecs=avc1",extension:".mp4"};for(let n=0;n1&&void 0!==arguments[1]?arguments[1]:{};return t=Object.assign(Object.assign({},t),{ng_ngReferrer:encodeURIComponent(sessionStorage.getItem("ngReferrer")||"")}),"".concat(e,"?state=").concat(JSON.stringify(t))},ef=()=>"true"===sessionStorage.getItem(s.jad),eg=e=>C(void 0,void 0,void 0,function*(){return new Promise(t=>setTimeout(t,e))}),eh=()=>{let e=es();"mac"===e||"ios"===e?window.open(a.Ay.appInfo.appleAppStoreUrl,"_blank","noreferrer"):window.open(a.Ay.appInfo.googlePlayStoreUrl,"_blank","noreferrer")},ey=()=>"https://www.google.com/"===sessionStorage.getItem("ngReferrer"),em=e=>{var t;return void 0===e&&(e=null==(t=null===a.Ay||void 0===a.Ay?void 0:a.Ay.appInfo)?void 0:t.packageName),"com.roblox.client"===e},ev=e=>{var t;return void 0===e&&(e=null==(t=null===a.Ay||void 0===a.Ay?void 0:a.Ay.appInfo)?void 0:t.packageName),"com.weaver.app.prod"===e},eA=e=>{var t;return void 0===e&&(e=null==(t=null===a.Ay||void 0===a.Ay?void 0:a.Ay.appInfo)?void 0:t.packageName),"com.nowgg.h5.pub511.app51240"===e},eS=e=>{var t;return void 0===e&&(e=null==(t=null===a.Ay||void 0===a.Ay?void 0:a.Ay.appInfo)?void 0:t.packageName),"com.nowgg.h5.pub501.app51946"===e},ew=e=>{var t;return void 0===e&&(e=null==(t=null===a.Ay||void 0===a.Ay?void 0:a.Ay.appInfo)?void 0:t.packageName),"com.gravityneocyon.dc79zbw"===e},eb="10005",eE=e=>e.showTile&&"workflow3"!==e.workflowCategory,e_="51946",eT=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],{list:i}=(e=>{let t=new Set;return{list:e.filter(e=>!t.has(e.appId)&&(t.add(e.appId),eE(e)))}})([...e.topApps,...e.otherApps,...e.remainingApps]),{androidApps:a,htmlApps:s,remainingApps:l,androidStoreApp:c}=i.reduce((e,t)=>(t.appId===eb&&(e.androidStoreApp=t),e.androidApps.length<30&&("Android"===t.appType||t.appId===e_)?e.androidApps.push(t):e.htmlApps.length<30-e.androidApps.length&&"Html"===t.appType&&t.appId!==e_?e.htmlApps.push(t):e.remainingApps.push(t),e),{androidApps:[],htmlApps:[],remainingApps:[],androidStoreApp:null}),u=[...a,...s,...l],d=null;if(n&&"US"===o&&c){if(r)return d=c,{otherApps:[],topApps:[],remainingApps:[],topBarApps:[],showcaseApps:e.showcaseApps||null,byogGameApp:d};u=u.filter(e=>e.appId!==eb),d=c}let p=u.slice(0,t);return n&&"US"===o&&c&&!r&&!p.some(e=>e.appId===eb)&&p.push(c),{otherApps:p,topApps:[],remainingApps:[],topBarApps:e.topBarApps.filter(eE),showcaseApps:e.showcaseApps?e.showcaseApps:null,byogGameApp:d}},eP=e=>{var t;return void 0===e&&(e=null==(t=null===a.Ay||void 0===a.Ay?void 0:a.Ay.appInfo)?void 0:t.packageName),"com.nowgg.h5.pub152.app51237"===e},eO=e=>{var t;return void 0===e&&(e=null==(t=null===a.Ay||void 0===a.Ay?void 0:a.Ay.appInfo)?void 0:t.packageName),"com.battleco.battlesnails"===e},eI=()=>!em(),eR=()=>Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),ek=e=>s.cpZ[e],ex=()=>{if(!c.A.getState().play.isFullscreen&&!l.H.fullscreenElement&&!l.H.mozFullScreenElement&&!l.H.webkitFullscreenElement&&!l.H.msFullscreenElement){let e=document.documentElement;e&&(0,k.Kk)(e)}},eD=(e,t)=>{for(e=Math.abs(e),t=Math.abs(t);t;){let n=t;t=e%t,e=n}return e},eN=[ea.mac,ea.window,ea.chrome_os,ea.unix,ea.beos,ea.amigaos,ea.linux];function eC(){try{let e=navigator.userAgent.toLowerCase(),t=navigator.platform.toLowerCase(),n=window.screen.width,o=navigator.maxTouchPoints||0,r=/smart-tv|smarttv|hbbtv|appletv|googletv|tizen|webos|netcast|viera|chromecast/.test(e);if((/mac|win|linux/.test(t)||n>1366)&&!r)return"desktop";if(/ipad|tablet|(android(?!.*mobile))|kindle|silk|playbook|nexus 7|nexus 10|touchpad/.test(e)&&n>=600&&n<=1366&&o>=5)return"tablet";if(/iphone|ipod|android.*mobile|windows phone|blackberry.*mobile|bb10.*mobile|opera mobi|opera mini|mobile safari/.test(e)&&n<=820)return"smartphone";return"other"}catch(e){return(0,p.Ay)(Error("Error in getDeviceTypeResolution"),{exception:e}),"other"}}let eL=()=>{var e;try{let t="other",n=window.screen.width,o=es();if(ee()||K()){let o=null==(e=window.navigator.platform)?void 0:e.toLowerCase();t=navigator.maxTouchPoints>2&&o.includes("win")&&n>1366||o.includes("mac")&&0===navigator.maxTouchPoints?"desktop":"tablet"}else X()?t="smartphone":-1===eN.indexOf(null==o?void 0:o.toLowerCase())||ei()||(t="desktop");return t}catch(e){return(0,p.Ay)(Error("Error in getFeDeviceDetailsTabletSplit"),{exception:e}),"other"}},eF=()=>{try{let e="other",t=es();return -1===eN.indexOf(null==t?void 0:t.toLowerCase())||ei()?ee()||K()?e="tablet":X()&&(e="smartphone"):e="desktop",e}catch(e){return(0,p.Ay)(Error("Error in getFeDeviceDetailsDesktopFirst"),{exception:e}),"other"}};function eU(){try{let e=navigator.userAgent;if(/tablet|ipad|playbook|silk|(android(?!.*mobi))/i.test(e))return"tablet";if(/Mobile|iPhone|Android|BlackBerry|IEMobile|Silk|Opera Mini/i.test(e))return"smartphone";return"desktop"}catch(e){return(0,p.Ay)(Error("Error in getDeviceTypeUa"),{exception:e}),"other"}}let eM=()=>{let e="other",t=es();return ee()||K()?e="tablet":X()?e="smartphone":-1===eN.indexOf(null==t?void 0:t.toLowerCase())||ei()||(e="desktop"),{feDeviceType:e,feOsName:t}},ej=()=>!!(0,D.kj)(),eB=()=>{let e=(0,D.kj)();return!!e&&"nowgg"===e},eG=(e,t,n)=>{let{studioSlug:o,developers_details:r,nowgg_id:i}=(null==e?void 0:e.data)||{},{slug:a}=r||{};return"".concat("https://".concat(t),"/").concat(n?"".concat(n,"/"):"","apps/").concat(a,"/").concat(i,"/").concat(o,".html")},eH=()=>{var e;let t=[];try{(null==(e=a.Ay.appInfo.playFeFeatures.tryAndDownload)?void 0:e.isEnabled)&&t.push(s.NkS.tryAndDownload);let n=sessionStorage.getItem("ntmSource");n&&s.NkS.topBarRecommendation===n?t.push(s.NkS.topBarRecommendation):n&&s.NkS.topBarRecommendationForLearning===n&&t.push(s.NkS.topBarRecommendationForLearning),t.push((0,D.kj)()?s.NkS.iframe:s.NkS.nowgg)}catch(e){}return t},eW=()=>!X()&&!K()&&!ee();function ez(){let e=sessionStorage.getItem("ngReferrer"),t=sessionStorage.getItem("utm_campaign"),n=sessionStorage.getItem("utm_source"),o=sessionStorage.getItem("utm_medium");if("ad"===o||"paid"===o)return"paid";let r=!!e&&"NA"!==e,i=!!t&&"NA"!==t,a=!!n&&"NA"!==n,s=!!o&&"NA"!==o;return!i&&!a&&!s&&r&&(e.indexOf("google")>-1||e.indexOf("bing")>-1)?"organic":i||a||s||!r?i||a||s||r?"others":"direct":"referral"}let eV=()=>{let e=document.documentElement;return e.requestFullscreen||e.mozRequestFullScreen||e.webkitRequestFullscreen||e.msRequestFullscreen};function eY(){let e=localStorage.getItem("userSource")||"NA",t=ez(),n=localStorage.getItem("userCampaign")||"NA";return{userSource:e,visitSource:t,userCampaign:n,visitCampaign:sessionStorage.getItem("utm_campaign")||"NA",userAcqVar:localStorage.getItem("userAcqVar")||"NA"}}function e$(){let{userSource:e,visitSource:t,userCampaign:n,visitCampaign:o,userAcqVar:r}=eY()||{};return{user_source:e,visit_source:t,user_campaign:n,visit_campaign:o,user_acq_var:r}}let eq=()=>{var e,t,n,o,r;return!(a.Ay.appInfo.appId.indexOf("7958")>-1||a.Ay.appInfo.appId.indexOf("7959")>-1)&&(window.location.href.includes("now.us/play/")||!a.Ay.authUseThirdPartyFlow)&&!(0,D.kj)()&&(null==(e=window.nggClientIpInfo)?void 0:e.browserCode)!=="mob"&&!(null==(n=null==(t=null===a.Ay||void 0===a.Ay?void 0:a.Ay.appInfo)?void 0:t.playFeFeatures)?void 0:n.enableTestDriveUi)&&(null==(r=null==(o=null===a.Ay||void 0===a.Ay?void 0:a.Ay.appInfo)?void 0:o.playFeFeatures)?void 0:r.enableRobuxRewards)&&"US"===a.Ay.countryCode};function eJ(e){var t,n,o,r,i,s,l;if(!(0,a.a2)())return!1;let{displayAdMode:c}=(null==(o=null==(n=null==(t=null===a.Ay||void 0===a.Ay?void 0:a.Ay.appInfo)?void 0:t.playFeFeatures)?void 0:n.ads)?void 0:o.desktop)||{};if(!X()||K()||ee()||(c=null==(l=null==(s=null==(i=null==(r=null===a.Ay||void 0===a.Ay?void 0:a.Ay.appInfo)?void 0:r.playFeFeatures)?void 0:i.ads)?void 0:s.mobile)?void 0:l.displayAdMode),!c||"all"===c)return!1;if(e){if("fullscreen"!==c)return!0}else if("windowed"!==c)return!0;return!1}let eX=e=>{c.A.dispatch({type:d.A.APK_FINDER,payload:{showApkFinder:!0,aptoideSearchText:e}}),(0,O.sx)(s.wHH,{element:"SearchResult",action:"Clicked",packageName:s.e4C,appId:s.$jL})},eK=e=>{let{status:t,url:n}=e,o=[u.wD.FailureForbidden];return!!(t&&o.includes(t))&&(c.A.dispatch({type:d.A.SET_ERROR,payload:t===u.wD.FailureForbidden?{videoModalError:u.wD.FailureForbidden,errorDescription:"".concat(t,"-").concat(n)}:{error:t,clientId:"",sessionId:"",errorDescription:"".concat(t,"-").concat(n)}}),H(s.ilC),H(s.kLH),!0)};function eQ(){let{showNewAdsLayout:e}=(null===a.Ay||void 0===a.Ay?void 0:a.Ay.appInfo)||{};return!(0,a.a2)()&&!!e}function eZ(){let{isServerSideDesktopAdsEnabled:e}=(null===a.Ay||void 0===a.Ay?void 0:a.Ay.appInfo)||{};return e}let e0=()=>{let{utmSource:e,utmMedium:t,utmCampaign:n}=(0,a.Zl)();return Object.assign(Object.assign({uaId:B(s.kk8),uaSessionId:W(s.J0m),pageReferrer:sessionStorage.getItem("pageReferrer")||"NA",ngReferrer:sessionStorage.getItem("ngReferrer")||"NA",ngEntryPoint:sessionStorage.getItem("ngEntryPoint")||"NA",utmSource:e,utmMedium:t,utmCampaign:n,feSessionId:window.feSessionId||"",visitId:window.ngVisitId,ntmSource:sessionStorage.getItem("ntmSource")||"NA",playSessionId:a.Ay.playSessionId||"NA"},eM()),eY())},e1=()=>{f.Ay.getQuestInfo(Object.assign({feSessionTags:eH().toString()},e0()),{}).then(e=>{if(e.status===u.wD.Success){let t=e.quests.questsInfo.filter(e=>new Date(e.questBeginDateTimeUTC.toString()).toISOString()<=new Date().toISOString());c.A.dispatch({type:g.A.SET_QUEST_INFO,payload:{questsInfo:t,questsIcon:e.quests.questsIcon,questsTitle:e.quests.questsTitle}});let{isPlayerLoaded:n}=c.A.getState().play;if(n){let e=[];if(t.forEach(t=>{let o=0;1!==t.progressRatio&&(n?(("PlayGameXForYMinutes"===t.type&&a.Ay.appInfo.appId===t.appId||"PlayForYMinutes"===t.type)&&(o=0===t.progressRatio?t.requiredMinutes:Math.round(t.requiredMinutes*(1-t.progressRatio))),"PlayXGamesForMinYMinutesEach"===t.type&&(!sessionStorage.getItem("previousProgressRatio")||t.progressRatio<=parseInt(sessionStorage.getItem("previousProgressRatio"),10))&&(o=t.requiredMinutes,sessionStorage.getItem("previousProgressRatio")||sessionStorage.setItem("previousProgressRatio",t.progressRatio.toString()))):"ViewGameForYMinutes"===t.type&&(o=0===t.progressRatio?t.requiredMinutes:Math.round(t.requiredMinutes*(1-t.progressRatio))),0!==o&&e.push(o))}),e.length){let t=60*Math.min(...e.filter(e=>0!==e))*1e3;t&&setTimeout(()=>{e1()},t)}}let o=!1,{showProfileView:r,showNowbuxView:i}=c.A.getState().gamification;r||i||t.forEach(e=>{1===e.progressRatio&&e.earnCount-e.claimCount!=0&&(localStorage.getItem(s.XGk)?o||c.A.dispatch({type:y.A.UPDATE_ACTION,payload:{showTaskCompleteToast:!0,showNotifDot:!0}}):(localStorage.setItem(s.XGk,"true"),c.A.dispatch({type:y.A.UPDATE_ACTION,payload:{showTaskCompletePopup:e}}),o=!0))})}}).catch(e=>{})},e2=()=>{eW()&&f.Ay.checkActivitiesStatus({},{uaSessionId:W(s.J0m),uaId:B(s.kk8),playSessionId:a.Ay.playSessionId||"NA"}).then(e=>{if(e.status===u.wD.Success){let{isPlayerLoaded:t}=c.A.getState().play;c.A.dispatch({type:h.A.NOWBUX_REWARD_DETAILS,payload:{nowbuxPopupViewCount:Number(localStorage.getItem(s.mEC))||0,startNowbuxTimer:!!(em()&&t),accumulatedTimeSecs:em()&&t?a.Ay.appInfo.rwdMinPlayTimeIntervalInSecs-e.robuxRemainingTimeForCreditSecs:0,extraTimeSecs:em()&&t?e.unaccountedPlayTimeSecs+e.robuxRemainingTimeForCreditSecs:0,dailySpinCount:e.dailySpinCount,showNowbuxRevaluationAnimation:e.showNowbuxRevaluationAnimation,nowbuxRevaluationAmount:e.nowbuxRevaluationAmount}})}}).catch(e=>{})},e3=()=>{f.Ay.checkWalletBalance({},{}).then(e=>{if(e.success){let{totalBalance:t,nowbuxPayBalance:n,nowbuxRewardBalance:o}=e||{};c.A.dispatch({type:h.A.NOWBUX_REWARD_DETAILS,payload:{nowbuxCreditsEarned:t,nowbuxPayBalance:n,nowbuxRewardBalance:o}})}}).catch(e=>{})},e5=e=>{if(e.status!==u.wD.Success)return;let{gamification:t}=c.A.getState(),n=t.selfDailyRank,o=t.dailyRankings,r=t.selfWeeklyRank,i=t.weeklyRankings,a=t.selfMonthlyRank,s=t.monthlyRankings,l=o,d=n;e.dailyLeaderboard.status===u.wD.Success&&(l=e.dailyLeaderboard.rankings,d={rank:e.dailyLeaderboard.selfRank,nowbuxEarned:e.dailyLeaderboard.selfRobuxEarned});let p=i,f=r;e.weeklyLeaderboard.status===u.wD.Success&&(p=e.weeklyLeaderboard.rankings,f={rank:e.weeklyLeaderboard.selfRank,nowbuxEarned:e.weeklyLeaderboard.selfRobuxEarned});let g=s,h=a;e.monthlyLeaderboard.status===u.wD.Success&&(g=e.monthlyLeaderboard.rankings,h={rank:e.monthlyLeaderboard.selfRank,nowbuxEarned:e.monthlyLeaderboard.selfRobuxEarned});let m=v()([e.dailyLeaderboard.lastUpdatedAt,e.weeklyLeaderboard.lastUpdatedAt,e.monthlyLeaderboard.lastUpdatedAt]),A=Date.parse((null==m?void 0:m.toString())||"");A||(A=Date.now()),c.A.dispatch({type:y.A.UPDATE_RANKINGS,payload:{dailyRankings:l,selfDailyRank:d,weeklyRankings:p,selfWeeklyRank:f,monthlyRankings:g,selfMonthlyRank:h,lastUpdatedAt:A}})},e4=function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0],document.body.scrollTop=0,document.documentElement.scrollTop=0},e8=()=>{try{return window.self!==window.top}catch(e){return!1}};function e9(e){let t=e.headers[I.xl]||"";return{isQuancastPopupSupportByCountry:!!s.a9[t]}}function e6(){var e;return(null==(e=window.nggClientIpInfo)?void 0:e.browserCode)==="mob"}function e7(){var e,t;return(null==(e=null==window?void 0:window.nggClientIpInfo)?void 0:e.browserCode)?(null==(t=window.nggClientIpInfo)?void 0:t.browserCode)==="mob"?P.to.PROXY:P.to.NON_PROXY:P.to.UNKNOWN}let te=function(e){var t,n;let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("function"==typeof navigator.sendBeacon){let r=(a.Ay.prefix||"")+e,i=new URL(r,window.location.origin),{utmSource:s,utmMedium:l,utmCampaign:c}=(0,a.Zl)(),u=Object.assign(Object.assign(Object.assign(Object.assign({},V()),{feSessionId:window.feSessionId||"",packageName:(null==(t=null===a.Ay||void 0===a.Ay?void 0:a.Ay.appInfo)?void 0:t.packageName)||"",originTimestamp:new Date,userType:(0,x.f0)()?"Guest":"Authorised",eventName:"FeGameEnded",extraData:Object.assign(Object.assign({},o),{nggVersionMismatch:!!window.nggVersionMismatch,timeSinceNavMsecs:null!=(n=null==performance?void 0:performance.now())?n:0,timeSinceBootstrapMsecs:(null==performance?void 0:performance.now)?performance.now()-window.timeSinceBootstrapMsecs:0,isWebrtcConnected:"connected"===(0,A.Zu)(),webrtcConnectionState:(0,A.Zu)()}),utmSource:s,utmMedium:l,utmCampaign:c,accessCode:sessionStorage.getItem("access_code")||"",ngReferrer:sessionStorage.getItem("ngReferrer")||"NA",pageReferrer:sessionStorage.getItem("pageReferrer")||"NA",ngEntryPoint:sessionStorage.getItem("ngEntryPoint")||"NA",playSessionId:a.Ay.playSessionId||"NA",visitId:window.ngVisitId,ntmSource:sessionStorage.getItem("ntmSource")||"NA",feSessionTags:eH()}),eM()),eY()),d=new Blob([JSON.stringify(u)],{type:"application/json"});navigator.sendBeacon(i,d)}},tt=()=>{let e=sessionStorage.getItem("lastUptimeEventTime")?Number(sessionStorage.getItem("lastUptimeEventTime")):Date.now();e&&((0,O.sx)("GameEnded",{isTabVisible:"visible"===document.visibilityState,timeSinceLastUptimeEvent:(Date.now()-e)/1e3}),sessionStorage.removeItem("lastUptimeEventTime"))},tn=()=>!!(l.H.fullscreenElement||l.H.mozFullScreenElement||l.H.webkitFullscreenElement||l.H.msFullscreenElement),to=()=>{tn()?(0,k.Eh)(l.H):document.documentElement&&(0,k.Kk)(document.documentElement)},tr=()=>{let e=eM();return a.Ay.isHomePage&&("US"===a.Ay.countryCode||"CA"===a.Ay.countryCode)&&e.feOsName!==ea.window&&e.feOsName!==ea.chrome_os};function ti(){try{let e="IncognitoMode";T().then(t=>{t.isPrivate?(a.Ay.pwaSupported=!1,a.Ay.incognitoMode=P.PI.TRUE,(0,O.sx)("".concat(e,"Detected"))):a.Ay.incognitoMode=P.PI.FALSE}).catch(t=>{a.Ay.incognitoMode=P.PI.ERROR,(0,O.sx)("".concat(e,"DetectionFailed"),{error:t})})}catch(e){}}function ta(){C(this,void 0,void 0,function*(){if(a.Ay.appInfo.packageName&&a.Ay.appInfo.packageName.length>40){let e,t=yield(e=a.Ay.appInfo.packageName,C(void 0,void 0,void 0,function*(){let t=new TextEncoder().encode(e);return Array.from(new Uint8Array((yield crypto.subtle.digest("SHA-1",t)))).map(e=>e.toString(16).padStart(2,"0")).join("")}));a.Ay.compressedPackage=t}}).then(()=>{}).catch(e=>console.log(e))}let ts=e=>e.filter(e=>"Android"===e.appType||"51946"===e.appId),tl=e=>e.match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/),tc="",tu=e=>{tc=e},td=()=>tc,tp=()=>{var e;let t=null==(e=null==window?void 0:window.nggParams)?void 0:e[s.SQR];return t&&"nowv2"===t.toLocaleLowerCase()},tf=()=>{var e;let{requireAuth:t,authType:n}=(null==(e=null===a.Ay||void 0===a.Ay?void 0:a.Ay.appInfo)?void 0:e.playFeFeatures)||{},o=null==n?void 0:n.toLowerCase();return!!(t&&("now"!==o||tp()))},tg=!1,th=e=>{tg=e},ty=()=>tg,tm=e=>!!e&&(null==e?void 0:e.toLowerCase())==="mondia",tv=()=>{var e;let{requireAuth:t,authType:n}=(null==(e=null===a.Ay||void 0===a.Ay?void 0:a.Ay.appInfo)?void 0:e.playFeFeatures)||{},o=null==n?void 0:n.toLowerCase();return!!t&&!!o&&"now"===o};function tA(){var e;let t=(0,D.kj)(),n=window.nggParams[s.xwu],{authType:o}=(null==(e=null===a.Ay||void 0===a.Ay?void 0:a.Ay.appInfo)?void 0:e.playFeFeatures)||{},r=null==o?void 0:o.toLowerCase(),i=null==t?void 0:t.toLowerCase();return!(!tf()||t&&n&&o&&(r===i||tp()))}let tS=()=>{var e,t;return B(s.ob9)&&localStorage.removeItem(s.ob9),null==(t=null==(e=null===a.Ay||void 0===a.Ay?void 0:a.Ay.appInfo)?void 0:e.playFeFeatures)?void 0:t.enableAiBot};function tw(e){var t,n;return null==(n=null==(t=e||(null===a.Ay||void 0===a.Ay?void 0:a.Ay.appInfo))?void 0:t.playFeFeatures)?void 0:n.enablePlayModeWithPd}let tb=()=>navigator.userAgent.indexOf(s.H$Y)>-1,tE=()=>{var e,t;return null==(t=null==(e=null===a.Ay||void 0===a.Ay?void 0:a.Ay.appInfo)?void 0:e.playFeFeatures)?void 0:t.enablePaidOnlyMode},t_=()=>{var e,t;return(null==(t=null==(e=null===a.Ay||void 0===a.Ay?void 0:a.Ay.appInfo)?void 0:e.playFeFeatures)?void 0:t.forcedRewardedAds)&&!tE()},tT=e=>{var t;return!("7958"===e||"8272"===e||a.Ay.isMultiSubscriptionFlow||tE())&&((null==(t=sessionStorage.getItem(s.bUq))?void 0:t.includes("aptoidesearch"))||tb()||"now.us"===window.location.host||window.autoLaunchByNtm)};function tP(){try{let e=document.getElementsByClassName("fc-ab-root")[0];if(!e)return{googleAdBlockerElementStatus:"noFound"};let t=window.getComputedStyle(e);return{googleAdBlockerElementStatus:"found",googleAdBlockerElementDisplay:null==t?void 0:t.display,googleAdBlockerElementBisibility:null==t?void 0:t.visibility,googleAdBlockerElementOpacity:null==t?void 0:t.opacity}}catch(e){return{googleAdBlockerElementStatus:"error"}}}let tO=i()(()=>"local.testngg.net:8443"===window.location.host),tI=()=>{var e,t;return void 0!==window.screen&&((null==(t=null==(e=window.screen)?void 0:e.orientation)?void 0:t.type)&&"landscape-primary"===window.screen.orientation.type||90===window.orientation)},tR=()=>{var e,t;return void 0!==window.screen&&((null==(t=null==(e=window.screen)?void 0:e.orientation)?void 0:t.type)&&"landscape-secondary"===window.screen.orientation.type||-90===window.orientation)},tk=()=>{var e,t;return void 0!==window.screen&&((null==(t=null==(e=window.screen)?void 0:e.orientation)?void 0:t.type)&&"portrait-primary"===window.screen.orientation.type||0===window.orientation)},tx=()=>{var e,t;return void 0!==window.screen&&((null==(t=null==(e=window.screen)?void 0:e.orientation)?void 0:t.type)&&"portrait-secondary"===window.screen.orientation.type||180===window.orientation)},tD=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=parseInt("".concat(e/3600),10),o=parseInt("".concat(e%3600/60),10),r=parseInt("".concat(e%60),10);return"".concat(n>0||!t?"".concat(n<10?"0":"").concat(n,":"):"").concat(o<10?"0":"").concat(o,":").concat(r<10?"0":"").concat(r)},tN=(e,t)=>e>0?e<600:t<300,tC=e=>{c.A.dispatch({type:d.A.TOGGLE_SUBSCRIPTION_MODAL,payload:{showSubscriptionModal:!0,subscriptionFlowSource:e}})};function tL(){var e;return null==(e=null==window?void 0:window.open("https://".concat(a.Ay.appInfo.authServiceHost,"/myaccount/subscription")))?void 0:e.focus()}function tF(e){return"NOW.JP/".concat(e)}function tU(e){try{let t=new Date(e),n=t.getDate().toString().padStart(2,"0"),o=t.toLocaleString("en-US",{month:"short"}),r=t.getFullYear(),i=t.getHours().toString().padStart(2,"0"),a=t.getMinutes().toString().padStart(2,"0"),s=t.getSeconds().toString().padStart(2,"0");return"".concat(n,"-").concat(o,"-").concat(r," ").concat(i,":").concat(a,":").concat(s)}catch(e){return""}}let tM=(0,R.d_)("useandom26T198340PX75pxJACKVERYMINDBUSHWOLFGQZbfghjklqvwyzrict",21);function tj(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:21;return(e?"".concat(e,"-"):"")+tM(t)}let tB=560,tG=()=>window.location.host.indexOf("xn--31byd1i.net")>-1&&em(),tH=e=>/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d!@#$%^&*]{8,50}$/.test(e),tW=["January","February","March","April","May","June","July","August","September","October","November","December"];function tz(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=[];for(let n=0;n{tY=e},tq=()=>tY,tJ=()=>{var e,t,n;return(null==(n=null==(t=null==(e=null===a.Ay||void 0===a.Ay?void 0:a.Ay.appInfo)?void 0:e.playFeFeatures)?void 0:t.uiConfig)?void 0:n.enableMatureContentWarning)&&!localStorage.getItem(s.TW6)},tX=["com.roblox.client","com.roblox.clients"],tK=(e,t)=>!!(e===t||tX.includes(e)&&tX.includes(t)),tQ=()=>!window.location.host.includes("now.gg"),tZ=()=>{var e;return null==(e=null===a.Ay||void 0===a.Ay?void 0:a.Ay.appInfo)?void 0:e.isAltDomain},t0=(e,t,n)=>{try{if(!t||!e||!n)return e;let o=e=>{let n=Object.assign({},e);return e.playUrl&&(n.playUrl=e.playUrl.replace(/now\.gg/g,t)),e.appPageUrl&&(n.appPageUrl=e.appPageUrl.replace(/now\.gg/g,t)),n},r=Object.keys(e),i={};for(let t=0;t{"use strict";n.d(t,{vZ:()=>a});var o=n(62920),r=n(70780),i=n(71278);new AbortController().signal;let a=function(){var e;let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];try{window.localStorage.removeItem(o.Vd9);let n=null==(e=null==window?void 0:window.indexedDB)?void 0:e.deleteDatabase("nggVideoDb");n&&(t&&i.A.dispatch({type:r.A.UPDATE_IS_RECORDING,payload:{recordingData:[],showRecordModal:!1}}),n.onerror=()=>{},n.onsuccess=()=>{})}catch(e){}}},58528:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t}},59319:(e,t,n)=>{"use strict";let o,r,i,a,s,l,c,u;n.d(t,{mv:()=>nQ,CU:()=>nX,Ay:()=>nZ,mA:()=>nK});var d,p=n(37876),f=n(14232),g=n(19362),h=n(39324),y=n.n(h),m=n(62920),v=n(29359),A=n(10025),S=n(63148),w=n(56047);let b="9.8.0",E=globalThis;function _(){return T(E),E}function T(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||b,t[b]=t[b]||{}}function P(e,t,n=E){let o=n.__SENTRY__=n.__SENTRY__||{},r=o[b]=o[b]||{};return r[e]||(r[e]=t())}let O=Object.prototype.toString;function I(e){switch(O.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return M(e,Error)}}function R(e,t){return O.call(e)===`[object ${t}]`}function k(e){return R(e,"ErrorEvent")}function x(e){return R(e,"DOMError")}function D(e){return R(e,"String")}function N(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function C(e){return null===e||N(e)||"object"!=typeof e&&"function"!=typeof e}function L(e){return R(e,"Object")}function F(e){return"undefined"!=typeof Event&&M(e,Event)}function U(e){return!!(e?.then&&"function"==typeof e.then)}function M(e,t){try{return e instanceof t}catch(e){return!1}}function j(e){return!!("object"==typeof e&&null!==e&&(e.__isVue||e._isVue))}function B(e,t={}){if(!e)return"";try{let n,o=e,r=[],i=0,a=0,s=Array.isArray(t)?t:t.keyAttrs,l=!Array.isArray(t)&&t.maxStringLength||80;for(;o&&i++<5&&(n=function(e,t){let n=[];if(!e?.tagName)return"";if(E.HTMLElement&&e instanceof HTMLElement&&e.dataset){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}n.push(e.tagName.toLowerCase());let o=t?.length?t.filter(t=>e.getAttribute(t)).map(t=>[t,e.getAttribute(t)]):null;if(o?.length)o.forEach(e=>{n.push(`[${e[0]}="${e[1]}"]`)});else{e.id&&n.push(`#${e.id}`);let t=e.className;if(t&&D(t))for(let e of t.split(/\s+/))n.push(`.${e}`)}for(let t of["aria-label","type","name","title","alt"]){let o=e.getAttribute(t);o&&n.push(`[${t}="${o}"]`)}return n.join("")}(o,s),"html"!==n&&(!(i>1)||!(a+3*r.length+n.length>=l)));)r.push(n),a+=n.length,o=o.parentNode;return r.reverse().join(" > ")}catch(e){return""}}function G(){try{return E.document.location.href}catch(e){return""}}let H="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,W=["debug","info","warn","error","log","assert","trace"],z={};function V(e){if(!("console"in E))return e();let t=E.console,n={},o=Object.keys(z);o.forEach(e=>{let o=z[e];n[e]=t[e],t[e]=o});try{return e()}finally{o.forEach(e=>{t[e]=n[e]})}}let Y=P("logger",function(){let e=!1,t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return H?W.forEach(n=>{t[n]=(...t)=>{e&&V(()=>{E.console[n](`Sentry Logger [${n}]:`,...t)})}}):W.forEach(e=>{t[e]=()=>void 0}),t});function $(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function q(e,t){if(!Array.isArray(e))return"";let n=[];for(let t=0;t(function(e,t,n=!1){return!!D(e)&&(R(t,"RegExp")?t.test(e):!!D(t)&&(n?e===t:e.includes(t)))})(e,t,n))}function X(e,t,n){if(!(t in e))return;let o=e[t];if("function"!=typeof o)return;let r=n(o);"function"==typeof r&&Q(r,o);try{e[t]=r}catch{H&&Y.log(`Failed to replace method "${t}" in object`,e)}}function K(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){H&&Y.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function Q(e,t){try{let n=t.prototype||{};e.prototype=t.prototype=n,K(e,"__sentry_original__",t)}catch(e){}}function Z(e){return e.__sentry_original__}function ee(e){if(I(e))return{message:e.message,name:e.name,stack:e.stack,...en(e)};if(!F(e))return e;{let t={type:e.type,target:et(e.target),currentTarget:et(e.currentTarget),...en(e)};return"undefined"!=typeof CustomEvent&&M(e,CustomEvent)&&(t.detail=e.detail),t}}function et(e){try{return"undefined"!=typeof Element&&M(e,Element)?B(e):Object.prototype.toString.call(e)}catch(e){return""}}function en(e){if("object"!=typeof e||null===e)return{};{let t={};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}}function eo(e){return function e(t,n){if(function(e){if(!L(e))return!1;try{let t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch{return!0}}(t)){let o=n.get(t);if(void 0!==o)return o;let r={};for(let o of(n.set(t,r),Object.getOwnPropertyNames(t)))void 0!==t[o]&&(r[o]=e(t[o],n));return r}if(Array.isArray(t)){let o=n.get(t);if(void 0!==o)return o;let r=[];return n.set(t,r),t.forEach(t=>{r.push(e(t,n))}),r}return t}(e,new Map)}function er(){return Date.now()/1e3}let ei=function(){let{performance:e}=E;if(!e?.now)return er;let t=Date.now()-e.now(),n=void 0==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/1e3}();function ea(e=E.crypto||E.msCrypto){let t=()=>16*Math.random();try{if(e?.randomUUID)return e.randomUUID().replace(/-/g,"");e?.getRandomValues&&(t=()=>{let t=new Uint8Array(1);return e.getRandomValues(t),t[0]})}catch(e){}return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&t())>>e/4).toString(16))}function es(e){return e.exception?.values?.[0]}function el(e){let{message:t,event_id:n}=e;if(t)return t;let o=es(e);return o?o.type&&o.value?`${o.type}: ${o.value}`:o.type||o.value||n||"":n||""}function ec(e,t,n){let o=e.exception=e.exception||{},r=o.values=o.values||[],i=r[0]=r[0]||{};i.value||(i.value=t||""),i.type||(i.type=n||"Error")}function eu(e,t){let n=es(e);if(!n)return;let o=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...o,...t},t&&"data"in t){let e={...o?.data,...t.data};n.mechanism.data=e}}function ed(e){if(function(e){try{return e.__sentry_captured__}catch{}}(e))return!0;try{K(e,"__sentry_captured__",!0)}catch(e){}return!1}function ep(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||ei(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:ea()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function ef(){return ea().substring(16)}function eg(e,t,n=2){if(!t||"object"!=typeof t||n<=0)return t;if(e&&0===Object.keys(t).length)return e;let o={...e};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(o[e]=eg(o[e],t[e],n-1));return o}let eh="_sentrySpan";function ey(e,t){t?K(e,eh,t):delete e[eh]}class em{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:ea(),sampleRand:Math.random()}}clone(){let e=new em;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,ey(e,this[eh]),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&ep(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let t="function"==typeof e?e(this):e,{tags:n,extra:o,user:r,contexts:i,level:a,fingerprint:s=[],propagationContext:l}=(t instanceof em?t.getScopeData():L(t)?e:void 0)||{};return this._tags={...this._tags,...n},this._extra={...this._extra,...o},this._contexts={...this._contexts,...i},r&&Object.keys(r).length&&(this._user=r),a&&(this._level=a),s.length&&(this._fingerprint=s),l&&(this._propagationContext=l),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,ey(this,void 0),this._attachments=[],this.setPropagationContext({traceId:ea(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let n="number"==typeof t?t:100;if(n<=0)return this;let o={timestamp:er(),...e};return this._breadcrumbs.push(o),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:this[eh]}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=eg(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let n=t?.event_id||ea();if(!this._client)return Y.warn("No client configured on scope - will not capture exception!"),n;let o=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:o,...t,event_id:n},this),n}captureMessage(e,t,n){let o=n?.event_id||ea();if(!this._client)return Y.warn("No client configured on scope - will not capture message!"),o;let r=Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:r,...n,event_id:o},this),o}captureEvent(e,t){let n=t?.event_id||ea();return this._client?this._client.captureEvent(e,{...t,event_id:n},this):Y.warn("No client configured on scope - will not capture event!"),n}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}class ev{constructor(e,t){let n,o;n=e||new em,o=t||new em,this._stack=[{scope:n}],this._isolationScope=o}withScope(e){let t,n=this._pushScope();try{t=e(n)}catch(e){throw this._popScope(),e}return U(t)?t.then(e=>(this._popScope(),e),e=>{throw this._popScope(),e}):(this._popScope(),t)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function eA(){let e=T(_());return e.stack=e.stack||new ev(P("defaultCurrentScope",()=>new em),P("defaultIsolationScope",()=>new em))}function eS(e){return eA().withScope(e)}function ew(e,t){let n=eA();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function eb(e){return eA().withScope(()=>e(eA().getIsolationScope()))}function eE(e){let t=T(e);return t.acs?t.acs:{withIsolationScope:eb,withScope:eS,withSetScope:ew,withSetIsolationScope:(e,t)=>eb(t),getCurrentScope:()=>eA().getScope(),getIsolationScope:()=>eA().getIsolationScope()}}function e_(){return eE(_()).getCurrentScope()}function eT(){return eE(_()).getIsolationScope()}function eP(...e){let t=eE(_());if(2===e.length){let[n,o]=e;return n?t.withSetScope(n,o):t.withScope(o)}return t.withScope(e[0])}function eO(){return e_().getClient()}let eI="production",eR="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function ek(e){return new eD(t=>{t(e)})}function ex(e){return new eD((t,n)=>{n(e)})}!function(e){e[e.PENDING=0]="PENDING",e[e.RESOLVED=1]="RESOLVED",e[e.REJECTED=2]="REJECTED"}(d||(d={}));class eD{constructor(e){this._state=d.PENDING,this._handlers=[],this._runExecutor(e)}then(e,t){return new eD((n,o)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){o(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){o(e)}else o(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new eD((t,n)=>{let o,r;return this.then(t=>{r=!1,o=t,e&&e()},t=>{r=!0,o=t,e&&e()}).then(()=>{if(r)return void n(o);t(o)})})}_executeHandlers(){if(this._state===d.PENDING)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(this._state===d.RESOLVED&&e[1](this._value),this._state===d.REJECTED&&e[2](this._value),e[0]=!0)})}_runExecutor(e){let t=(e,t)=>{if(this._state===d.PENDING){if(U(t))return void t.then(n,o);this._state=e,this._value=t,this._executeHandlers()}},n=e=>{t(d.RESOLVED,e)},o=e=>{t(d.REJECTED,e)};try{e(n,o)}catch(e){o(e)}}}let eN=/\(error: (.*)\)/,eC=/captureMessage|captureException/;function eL(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,o=0)=>{let r=[],i=e.split("\n");for(let e=n;e1024)continue;let a=eN.test(n)?n.replace(eN,"$1"):n;if(!a.match(/\S*Error: /)){for(let e of t){let t=e(a);if(t){r.push(t);break}}if(r.length>=50+o)break}}var a=r.slice(o);if(!a.length)return[];let s=Array.from(a);return/sentryWrapped/.test(eF(s).function||"")&&s.pop(),s.reverse(),eC.test(eF(s).function||"")&&(s.pop(),eC.test(eF(s).function||"")&&s.pop()),s.slice(0,50).map(e=>({...e,filename:e.filename||eF(s).filename,function:e.function||"?"}))}}function eF(e){return e[e.length-1]||{}}let eU="";function eM(e){try{if(!e||"function"!=typeof e)return eU;return e.name||eU}catch(e){return eU}}function ej(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch(e){}}}function eB(e,t=100,n=Infinity){try{return function e(t,n,o=Infinity,r=Infinity,i=function(){let e=new WeakSet;return[function(t){return!!e.has(t)||(e.add(t),!1)},function(t){e.delete(t)}]}()){let[a,s]=i;if(null==n||["boolean","string"].includes(typeof n)||"number"==typeof n&&Number.isFinite(n))return n;let l=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!=typeof global&&t===global)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if(j(t))return"[VueViewModel]";if(L(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t)return"[SyntheticEvent]";if("number"==typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"==typeof t)return`[Function: ${eM(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;let n=function(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}(t);if(/^HTML(\w*)Element$/.test(n))return`[HTMLElement: ${n}]`;return`[object ${n}]`}catch(e){return`**non-serializable** (${e})`}}(t,n);if(!l.startsWith("[object "))return l;if(n.__sentry_skip_normalization__)return n;let c="number"==typeof n.__sentry_override_normalization_depth__?n.__sentry_override_normalization_depth__:o;if(0===c)return l.replace("object ","");if(a(n))return"[Circular ~]";if(n&&"function"==typeof n.toJSON)try{let t=n.toJSON();return e("",t,c-1,r,i)}catch(e){}let u=Array.isArray(n)?[]:{},d=0,p=ee(n);for(let t in p){if(!Object.prototype.hasOwnProperty.call(p,t))continue;if(d>=r){u[t]="[MaxProperties ~]";break}let n=p[t];u[t]=e(t,n,c-1,r,i),d++}return s(n),u}("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}let eG="sentry.profile_id",eH="sentry.exclusive_time",eW=/^sentry-/;function ez(e){return e.split(",").map(e=>e.split("=").map(e=>decodeURIComponent(e.trim()))).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}function eV(e){return{scope:e._sentryScope,isolationScope:e._sentryIsolationScope}}let eY=!1;function e$(e){return"number"==typeof e?eq(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?eq(e.getTime()):ei()}function eq(e){return e>0x2540be3ff?e/1e3:e}function eJ(e){var t;if("function"==typeof e.getSpanJSON)return e.getSpanJSON();let{spanId:n,traceId:o}=e.spanContext();if((t=e).attributes&&t.startTime&&t.name&&t.endTime&&t.status){let{attributes:t,startTime:r,name:i,endTime:a,parentSpanId:s,status:l,links:c}=e;return eo({span_id:n,trace_id:o,data:t,description:i,parent_span_id:s,start_timestamp:e$(r),timestamp:e$(a)||void 0,status:function(e){if(e&&0!==e.code)return 1===e.code?"ok":e.message||"unknown_error"}(l),op:t["sentry.op"],origin:t["sentry.origin"],links:c&&c.length>0?c.map(({context:{spanId:e,traceId:t,traceFlags:n,...o},attributes:r})=>({span_id:e,trace_id:t,sampled:1===n,attributes:r,...o})):void 0})}return{span_id:n,trace_id:o,start_timestamp:0,data:{}}}function eX(e){return e._sentryRootSpan||e}function eK(){eY||(V(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly.")}),eY=!0)}function eQ(e,t){let n=t.getOptions(),{publicKey:o}=t.getDsn()||{},r=eo({environment:n.environment||eI,release:n.release,public_key:o,trace_id:e});return t.emit("createDsc",r),r}function eZ(e,t){let{extra:n,tags:o,user:r,contexts:i,level:a,sdkProcessingMetadata:s,breadcrumbs:l,fingerprint:c,eventProcessors:u,attachments:d,propagationContext:p,transactionName:f,span:g}=t;e0(e,"extra",n),e0(e,"tags",o),e0(e,"user",r),e0(e,"contexts",i),e.sdkProcessingMetadata=eg(e.sdkProcessingMetadata,s,2),a&&(e.level=a),f&&(e.transactionName=f),g&&(e.span=g),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),c.length&&(e.fingerprint=[...e.fingerprint,...c]),u.length&&(e.eventProcessors=[...e.eventProcessors,...u]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...p}}function e0(e,t,n){e[t]=eg(e[t],n,1)}let e1=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function e2(e,t){return e_().captureException(e,function(e){if(e){var t;return(t=e)instanceof em||"function"==typeof t||Object.keys(e).some(e=>e1.includes(e))?{captureContext:e}:e}}(t))}function e3(e,t){return e_().captureEvent(e,t)}function e5(e){let t=eT(),n=e_(),{userAgent:o}=E.navigator||{},r=function(e){let t=ei(),n={sid:ea(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>{var e;return e=n,eo({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}};return e&&ep(n,e),n}({user:n.getUser()||t.getUser(),...o&&{userAgent:o},...e}),i=t.getSession();return i?.status==="ok"&&ep(i,{status:"exited"}),e4(),t.setSession(r),r}function e4(){let e,t=eT(),n=e_().getSession()||t.getSession();n&&(e={},"ok"===n.status&&(e={status:"exited"}),ep(n,e)),e8(),t.setSession()}function e8(){let e=eT(),t=eO(),n=e.getSession();n&&t&&t.captureSession(n)}function e9(e=!1){if(e)return void e4();e8()}let e6=[];function e7(e,t){for(let n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function te(e,t,n){if(n[t.name]){eR&&Y.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,-1===e6.indexOf(t.name)&&"function"==typeof t.setupOnce&&(t.setupOnce(),e6.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){let n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,o)=>n(t,o,e))}if("function"==typeof t.processEvent){let n=t.processEvent.bind(t),o=Object.assign((t,o)=>n(t,o,e),{id:t.name});e.addEventProcessor(o)}eR&&Y.log(`Integration installed: ${t.name}`)}function tt(e){let t=[];e.message&&t.push(e.message);try{let n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch(e){}return t}let tn=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/];function to(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:tn],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}function tr(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length),n=t?.stacktrace?.frames;return n?function(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&""!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch(t){return eR&&Y.error(`Cannot extract url for event ${el(e)}`),null}}let ti=new WeakMap;function ta(e,t){let n=ej(e),o=ej(t);if(!n&&!o)return!0;if(n&&!o||!n&&o||o.length!==n.length)return!1;for(let e=0;e{console.error(`Invalid Sentry Dsn: ${e}`)});let[n,o,r="",i="",a="",s=""]=t.slice(1),l="",c=s,u=c.split("/");if(u.length>1&&(l=u.slice(0,-1).join("/"),c=u.pop()),c){let e=c.match(/^\d+/);e&&(c=e[0])}return tf({host:i,pass:r,path:l,projectId:c,port:a,protocol:n,publicKey:o})}(e):tf(e);if(t&&function(e){if(!H)return!0;let{port:t,projectId:n,protocol:o}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(Y.error(`Invalid Sentry Dsn: ${t} missing`),!0))&&(n.match(/^\d+$/)?"http"!==o&&"https"!==o?(Y.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),!1):!(t&&isNaN(parseInt(t,10)))||(Y.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(Y.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(t))return t}function th(e){let t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function ty(e,t=[]){return[e,t]}function tm(e,t){for(let n of e[1]){let e=n[0].type;if(t(n,e))return!0}return!1}function tv(e){let t=T(E);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}let tA={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",otel_log:"log_item"};function tS(e){if(!e?.sdk)return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}class tw extends Error{constructor(e,t="warn"){super(e),this.message=e,this.logLevel=t}}let tb="Not capturing exception because it's already been captured.",tE="Discarded session because of missing or non-string release";class t_{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=tg(e.dsn):eR&&Y.warn("No DSN provided, client will not send events."),this._dsn){let t=function(e,t,n){return t||`${th(e)}${e.projectId}/envelope/?${function(e,t){let n={sentry_version:"7"};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}(e,n)}`}(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}}captureException(e,t,n){let o=ea();if(ed(e))return eR&&Y.log(tb),o;let r={event_id:o,...t};return this._process(this.eventFromException(e,r).then(e=>this._captureEvent(e,r,n))),r.event_id}captureMessage(e,t,n,o){let r={event_id:ea(),...n},i=N(e)?e:String(e),a=C(e)?this.eventFromMessage(i,t,r):this.eventFromException(e,r);return this._process(a.then(e=>this._captureEvent(e,r,o))),r.event_id}captureEvent(e,t,n){let o=ea();if(t?.originalException&&ed(t.originalException))return eR&&Y.log(tb),o;let r={event_id:o,...t},i=e.sdkProcessingMetadata||{},a=i.capturedSpanScope,s=i.capturedSpanIsolationScope;return this._process(this._captureEvent(e,r,a||n,s)),r.event_id}captureSession(e){this.sendSession(e),ep(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){let t=this._transport;return t?(this.emit("flush"),this._isClientDoneProcessing(e).then(n=>t.flush(e).then(e=>n&&e))):ek(!0)}close(e){return this.flush(e).then(e=>(this.getOptions().enabled=!1,this.emit("close"),e))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){let t=this._integrations[e.name];te(this,e,this._integrations),t||e7(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=function(e,t,n,o){var r;let i=tS(n),a=e.type&&"replay_event"!==e.type?e.type:"event";(r=n?.sdk)&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||r.name,e.sdk.version=e.sdk.version||r.version,e.sdk.integrations=[...e.sdk.integrations||[],...r.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...r.packages||[]]);let s=function(e,t,n,o){let r=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&o&&{dsn:tp(o)},...r&&{trace:eo({...r})}}}(e,i,o,t);return delete e.sdkProcessingMetadata,ty(s,[[{type:a},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])n=function(e,t){let[n,o]=e;return[n,[...o,t]]}(n,function(e){let t="string"==typeof e.data?tv(e.data):e.data;return[eo({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}(e));let o=this.sendEnvelope(n);o&&o.then(t=>this.emit("afterSendEvent",e,t),null)}sendSession(e){let{release:t,environment:n=eI}=this._options;if("aggregates"in e){let o=e.attrs||{};if(!o.release&&!t){eR&&Y.warn(tE);return}o.release=o.release||t,o.environment=o.environment||n,e.attrs=o}else{if(!e.release&&!t){eR&&Y.warn(tE);return}e.release=e.release||t,e.environment=e.environment||n}this.emit("beforeSendSession",e);let o=function(e,t,n,o){let r=tS(n);return ty({sent_at:new Date().toISOString(),...r&&{sdk:r},...!!o&&t&&{dsn:tp(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(o)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){let o=`${e}:${t}`;eR&&Y.log(`Recording outcome: "${o}"${n>1?` (${n} times)`:""}`),this._outcomes[o]=(this._outcomes[o]||0)+n}}on(e,t){let n=this._hooks[e]=this._hooks[e]||[];return n.push(t),()=>{let e=n.indexOf(t);e>-1&&n.splice(e,1)}}emit(e,...t){let n=this._hooks[e];n&&n.forEach(e=>e(...t))}sendEnvelope(e){return(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)?this._transport.send(e).then(null,e=>(eR&&Y.error("Error while sending envelope:",e),e)):(eR&&Y.error("Transport disabled"),ek({}))}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=function(e,t){let n={};return t.forEach(t=>{t&&te(e,t,n)}),n}(this,e),e7(this,e)}_updateSessionFromEvent(e,t){let n="fatal"===t.level,o=!1,r=t.exception?.values;if(r)for(let e of(o=!0,r)){let t=e.mechanism;if(t?.handled===!1){n=!0;break}}let i="ok"===e.status;(i&&0===e.errors||i&&n)&&(ep(e,{...n&&{status:"crashed"},errors:e.errors||Number(o||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new eD(t=>{let n=0,o=setInterval(()=>{0==this._numProcessing?(clearInterval(o),t(!0)):(n+=1,e&&n>=e&&(clearInterval(o),t(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,a){let s=this.getOptions(),l=Object.keys(this._integrations);return!t.integrations&&l?.length&&(t.integrations=l),this.emit("preprocessEvent",e,t),e.type||a.setLastEventId(e.event_id||t.event_id),(function(e,t,n,a,s,l){var c,u,d,p,f,g;let{normalizeDepth:h=3,normalizeMaxBreadth:y=1e3}=e,m={...t,event_id:t.event_id||n.event_id||ea(),timestamp:t.timestamp||er()},v=n.integrations||e.integrations.map(e=>e.name);(function(e,t){let{environment:n,release:o,dist:r,maxValueLength:i=250}=t;e.environment=e.environment||n||eI,!e.release&&o&&(e.release=o),!e.dist&&r&&(e.dist=r),e.message&&(e.message=$(e.message,i));let a=e.exception?.values?.[0];a?.value&&(a.value=$(a.value,i));let s=e.request;s?.url&&(s.url=$(s.url,i))})(m,e),c=m,(u=v).length>0&&(c.sdk=c.sdk||{},c.sdk.integrations=[...c.sdk.integrations||[],...u]),s&&s.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){let n=function(e){let t=E._sentryDebugIds;if(!t)return{};let n=Object.keys(t);return i&&n.length===r?i:(r=n.length,i=n.reduce((n,r)=>{o||(o={});let i=o[r];if(i)n[i[0]]=i[1];else{let i=e(r);for(let e=i.length-1;e>=0;e--){let a=i[e],s=a?.filename,l=t[r];if(s&&l){n[s]=l,o[r]=[s,l];break}}}return n},{}))}(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=n[e.filename])})})}(m,e.stackParser);let A=function(e,t){if(!t)return e;let n=e?e.clone():new em;return n.update(t),n}(a,n.captureContext);n.mechanism&&eu(m,n.mechanism);let S=s?s.getEventProcessors():[],w=P("globalScope",()=>new em).getScopeData();l&&eZ(w,l.getScopeData()),A&&eZ(w,A.getScopeData());let b=[...n.attachments||[],...w.attachments];b.length&&(n.attachments=b);let{fingerprint:_,span:T,breadcrumbs:O,sdkProcessingMetadata:I}=w;return function(e,t){let{extra:n,tags:o,user:r,contexts:i,level:a,transactionName:s}=t,l=eo(n);Object.keys(l).length&&(e.extra={...l,...e.extra});let c=eo(o);Object.keys(c).length&&(e.tags={...c,...e.tags});let u=eo(r);Object.keys(u).length&&(e.user={...u,...e.user});let d=eo(i);Object.keys(d).length&&(e.contexts={...d,...e.contexts}),a&&(e.level=a),s&&"transaction"!==e.type&&(e.transaction=s)}(m,w),T&&function(e,t){e.contexts={trace:function(e){let{spanId:t,traceId:n,isRemote:o}=e.spanContext(),r=o?t:eJ(e).parent_span_id,i=eV(e).scope;return eo({parent_span_id:r,span_id:o?i?.getPropagationContext().propagationSpanId||ef():t,trace_id:n})}(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:function(e){let t=eO();if(!t)return{};let n=eX(e),o=eJ(n),r=o.data,i=n.spanContext().traceState,a=i?.get("sentry.sample_rate")??r["sentry.sample_rate"];function s(e){return("number"==typeof a||"string"==typeof a)&&(e.sample_rate=`${a}`),e}let l=n._frozenDsc;if(l)return s(l);let c=i?.get("sentry.dsc"),u=c&&function(e){let t=function(e){if(e&&(D(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>(Object.entries(ez(t)).forEach(([t,n])=>{e[t]=n}),e),{}):ez(e)}(e);if(!t)return;let n=Object.entries(t).reduce((e,[t,n])=>(t.match(eW)&&(e[t.slice(7)]=n),e),{});return Object.keys(n).length>0?n:void 0}(c);if(u)return s(u);let d=eQ(e.spanContext().traceId,t),p=r["sentry.source"],f=o.description;return"url"!==p&&f&&(d.transaction=f),function(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let t=eO()?.getOptions();return!!t&&(null!=t.tracesSampleRate||!!t.tracesSampler)}()&&(d.sampled=String(function(e){let{traceFlags:t}=e.spanContext();return 1===t}(n)),d.sample_rand=i?.get("sentry.sample_rand")??eV(n).scope?.getPropagationContext().sampleRand.toString()),s(d),t.emit("createDsc",d,n),d}(t),...e.sdkProcessingMetadata};let n=eJ(eX(t)).description;n&&!e.transaction&&"transaction"===e.type&&(e.transaction=n)}(m,T),d=m,p=_,d.fingerprint=d.fingerprint?Array.isArray(d.fingerprint)?d.fingerprint:[d.fingerprint]:[],p&&(d.fingerprint=d.fingerprint.concat(p)),d.fingerprint.length||delete d.fingerprint,function(e,t){let n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(m,O),f=m,g=I,f.sdkProcessingMetadata={...f.sdkProcessingMetadata,...g},(function e(t,n,o,r=0){return new eD((i,a)=>{let s=t[r];if(null===n||"function"!=typeof s)i(n);else{let l=s({...n},o);eR&&s.id&&null===l&&Y.log(`Event processor "${s.id}" dropped event`),U(l)?l.then(n=>e(t,n,o,r+1).then(i)).then(null,a):e(t,l,o,r+1).then(i).then(null,a)}})})([...S,...w.eventProcessors],m,n).then(e=>(e&&function(e){let t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:"sourcemap",code_file:e,debug_id:t})})}(e),"number"==typeof h&&h>0)?function(e,t,n){if(!e)return null;let o={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:eB(e.data,t,n)}}))},...e.user&&{user:eB(e.user,t,n)},...e.contexts&&{contexts:eB(e.contexts,t,n)},...e.extra&&{extra:eB(e.extra,t,n)}};return e.contexts?.trace&&o.contexts&&(o.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(o.contexts.trace.data=eB(e.contexts.trace.data,t,n))),e.spans&&(o.spans=e.spans.map(e=>({...e,...e.data&&{data:eB(e.data,t,n)}}))),e.contexts?.flags&&o.contexts&&(o.contexts.flags=eB(e.contexts.flags,3,n)),o}(e,h,y):e)})(s,e,t,n,this,a).then(e=>(null===e||(this.emit("postprocessEvent",e,t),e.contexts={trace:function(e){let{traceId:t,parentSpanId:n,propagationSpanId:o}=e.getPropagationContext();return eo({trace_id:t,span_id:o||ef(),parent_span_id:n})}(n),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:function(e,t){let n=t.getPropagationContext();return n.dsc||eQ(n.traceId,e)}(this,n),...e.sdkProcessingMetadata}),e))}_captureEvent(e,t={},n=e_(),o=eT()){return eR&&tT(e)&&Y.log(`Captured error event \`${tt(e)[0]||""}\``),this._processEvent(e,t,n,o).then(e=>e.event_id,e=>{eR&&(e instanceof tw&&"log"===e.logLevel?Y.log(e.message):Y.warn(e))})}_processEvent(e,t,n,o){let r=this.getOptions(),{sampleRate:i}=r,a=tP(e),s=tT(e),l=e.type||"error",c=`before send for type \`${l}\``,u=void 0===i?void 0:function(e){if("boolean"==typeof e)return Number(e);let t="string"==typeof e?parseFloat(e):e;if(!("number"!=typeof t||isNaN(t))&&!(t<0)&&!(t>1))return t}(i);if(s&&"number"==typeof u&&Math.random()>u)return this.recordDroppedEvent("sample_rate","error"),ex(new tw(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));let d="replay_event"===l?"replay":l;return this._prepareEvent(e,t,n,o).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",d),new tw("An event processor returned `null`, will not send event.","log");return t.data&&!0===t.data.__sentry__?e:function(e,t){let n=`${t} must return \`null\` or a valid event.`;if(U(e))return e.then(e=>{if(!L(e)&&null!==e)throw new tw(n);return e},e=>{throw new tw(`${t} rejected with ${e}`)});if(!L(e)&&null!==e)throw new tw(n);return e}(function(e,t,n,o){let{beforeSend:r,beforeSendTransaction:i,beforeSendSpan:a}=t,s=n;if(tT(s)&&r)return r(s,o);if(tP(s)){if(a){let e=a(function(e){let{trace_id:t,parent_span_id:n,span_id:o,status:r,origin:i,data:a,op:s}=e.contexts?.trace??{};return eo({data:a??{},description:e.transaction,op:s,parent_span_id:n,span_id:o??"",start_timestamp:e.start_timestamp??0,status:r,timestamp:e.timestamp,trace_id:t??"",origin:i,profile_id:a?.[eG],exclusive_time:a?.[eH],measurements:e.measurements,is_segment:!0})}(s));if(e)s=eg(n,eo({type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[eG]:e.profile_id},...e.exclusive_time&&{[eH]:e.exclusive_time}}}},measurements:e.measurements}));else eK();if(s.spans){let e=[];for(let t of s.spans){let n=a(t);n?e.push(n):(eK(),e.push(t))}s.spans=e}}if(i){if(s.spans){let e=s.spans.length;s.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return i(s,o)}}return s}(0,r,e,t),c)}).then(r=>{if(null===r){if(this.recordDroppedEvent("before_send",d),a){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw new tw(`${c} returned \`null\`, will not send event.`,"log")}let i=n.getSession()||o.getSession();if(s&&i&&this._updateSessionFromEvent(i,r),a){let e=(r.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(r.spans?r.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let l=r.transaction_info;return a&&l&&r.transaction!==e.transaction&&(r.transaction_info={...l,source:"custom"}),this.sendEvent(r,t),r}).then(null,e=>{if(e instanceof tw)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new tw(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. Reason: ${e}`)})}_process(e){this._numProcessing++,e.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[n,o]=e.split(":");return{reason:n,category:o,quantity:t}})}_flushOutcomes(){var e;eR&&Y.log("Flushing outcomes...");let t=this._clearOutcomes();if(0===t.length){eR&&Y.log("No outcomes to send");return}if(!this._dsn){eR&&Y.log("No dsn provided, will not send outcomes");return}eR&&Y.log("Sending outcomes:",t);let n=ty((e=this._options.tunnel&&tp(this._dsn))?{dsn:e}:{},[[{type:"client_report"},{timestamp:er(),discarded_events:t}]]);this.sendEnvelope(n)}}function tT(e){return void 0===e.type}function tP(e){return"transaction"===e.type}function tO(e){return[{type:"otel_log"},e]}let tI=new WeakMap;function tR(e){e.user?.ip_address===void 0&&(e.user={...e.user,ip_address:"{{auto}}"})}function tk(e){"aggregates"in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}function tx(e,t){let n=tN(e,t),o={type:function(e){let t=e?.name;return!t&&tL(e)?e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception":t}(t),value:function(e){let t=e?.message;return tL(e)?Array.isArray(e.message)&&2==e.message.length?e.message[1]:"wasm exception":t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}(t)};return n.length&&(o.stacktrace={frames:n}),void 0===o.type&&""===o.value&&(o.value="Unrecoverable error caught"),o}function tD(e,t){return{exception:{values:[tx(e,t)]}}}function tN(e,t){var n,o;let r=t.stacktrace||t.stack||"",i=(n=t)&&tC.test(n.message)?1:0,a="number"==typeof(o=t).framesToPop?o.framesToPop:0;try{return e(r,i,a)}catch(e){}return[]}let tC=/Minified React error #\d+;/i;function tL(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function tF(e,t,n,o,r){let i;if(k(t)&&t.error)return tD(e,t.error);if(x(t)||R(t,"DOMException")){if("stack"in t)i=tD(e,t);else{let r=t.name||(x(t)?"DOMError":"DOMException"),a=t.message?`${r}: ${t.message}`:r;ec(i=tU(e,a,n,o),a)}return"code"in t&&(i.tags={...i.tags,"DOMException.code":`${t.code}`}),i}return I(t)?tD(e,t):(L(t)||F(t)?eu(i=function(e,t,n,o){let r=eO(),i=r?.getOptions().normalizeDepth,a=function(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)){let n=e[t];if(n instanceof Error)return n}}(t),s={__serialized__:function e(t,n=3,o=102400){let r=eB(t,n);return~-encodeURI(JSON.stringify(r)).split(/%..|./).length>o?e(t,n-1,o):r}(t,i)};if(a)return{exception:{values:[tx(e,a)]},extra:s};let l={exception:{values:[{type:F(t)?t.constructor.name:o?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:t}){let n=function(e,t=40){let n=Object.keys(ee(e));n.sort();let o=n[0];if(!o)return"[object has no keys]";if(o.length>=t)return $(o,t);for(let e=n.length;e>0;e--){let o=n.slice(0,e).join(", ");if(!(o.length>t)){if(e===n.length)return o;return $(o,t)}}return""}(e),o=t?"promise rejection":"exception";if(k(e))return`Event \`ErrorEvent\` captured as ${o} with message \`${e.message}\``;if(F(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e);return`Event \`${t}\` (type=${e.type}) captured as ${o}`}return`Object captured as ${o} with keys: ${n}`}(t,{isUnhandledRejection:o})}]},extra:s};if(n){let t=tN(e,n);t.length&&(l.exception.values[0].stacktrace={frames:t})}return l}(e,t,n,r),{synthetic:!0}):(ec(i=tU(e,t,n,o),`${t}`,void 0),eu(i,{synthetic:!0})),i)}function tU(e,t,n,o){let r={};if(o&&n){let o=tN(e,n);o.length&&(r.exception={values:[{value:t,stacktrace:{frames:o}}]}),eu(r,{synthetic:!0})}if(N(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return r.logentry={message:e,params:n},r}return r.message=t,r}let tM=0;function tj(e,t={}){if("function"!=typeof e)return e;try{let t=e.__sentry_wrapped__;if(t)if("function"==typeof t)return t;else return e;if(Z(e))return e}catch(t){return e}let n=function(...n){try{let o=n.map(e=>tj(e,t));return e.apply(this,o)}catch(e){throw tM++,setTimeout(()=>{tM--}),eP(o=>{o.addEventProcessor(e=>(t.mechanism&&(ec(e,void 0,void 0),eu(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),e2(e)}),e}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}catch{}Q(n,e),K(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>e.name})}catch{}return n}class tB extends t_{constructor(e){let t={parentSpanIsAlwaysRootSpan:!0,...e};!function(e,t,n=[t],o="npm"){let r=e._metadata||{};r.sdk||(r.sdk={name:`sentry.javascript.${t}`,packages:n.map(e=>({name:`${o}:@sentry/${e}`,version:b})),version:b}),e._metadata=r}(t,"browser",["browser"],E.SENTRY_SDK_SOURCE||"npm"),super(t),t.sendClientReports&&E.document&&E.document.addEventListener("visibilitychange",()=>{"hidden"===E.document.visibilityState&&(this._flushOutcomes(),this._options._experiments?.enableLogs&&function(e,t){let n=(void 0)??tI.get(e)??[];if(0===n.length)return;let o=e.getOptions(),r=function(e,t,n,o){let r={};return t?.sdk&&(r.sdk={name:t.sdk.name,version:t.sdk.version}),n&&o&&(r.dsn=tp(o)),ty(r,e.map(tO))}(n,o._metadata,o.tunnel,e.getDsn());n.length=0,e.sendEnvelope(r)}(this))}),this._options.sendDefaultPii&&(this.on("postprocessEvent",tR),this.on("beforeSendSession",tk))}eventFromException(e,t){return function(e,t,n,o){let r=tF(e,t,n?.syntheticException||void 0,o);return eu(r),r.level="error",n?.event_id&&(r.event_id=n.event_id),ek(r)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",o,r){let i=tU(e,t,o?.syntheticException||void 0,r);return i.level=n,o?.event_id&&(i.event_id=o.event_id),ek(i)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,o){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n,o)}}let tG="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,tH="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,tW="9.8.0",tz=globalThis,tV=["debug","info","warn","error","log","assert","trace"],tY={},t$=function(e,t,n=tz){let o=n.__SENTRY__=n.__SENTRY__||{},r=o[tW]=o[tW]||{};return r[e]||(r[e]=t())}("logger",function(){let e=!1,t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return tH?tV.forEach(n=>{t[n]=(...t)=>{e&&function(e){if(!("console"in tz))return e();let t=tz.console,n={},o=Object.keys(tY);o.forEach(e=>{let o=tY[e];n[e]=t[e],t[e]=o});try{return e()}finally{o.forEach(e=>{t[e]=n[e]})}}(()=>{tz.console[n](`Sentry Logger [${n}]:`,...t)})}}):tV.forEach(e=>{t[e]=()=>void 0}),t}),tq="",tJ={},tX={};function tK(e,t){tJ[e]=tJ[e]||[],tJ[e].push(t)}function tQ(e,t){if(!tX[e]){tX[e]=!0;try{t()}catch(t){tH&&t$.error(`Error while instrumenting ${e}`,t)}}}function tZ(e,t){let n=e&&tJ[e];if(n)for(let o of n)try{o(t)}catch(t){tH&&t$.error(`Error while triggering instrumentation handler. Type: ${e} Name: ${function(e){try{if(!e||"function"!=typeof e)return tq;return e.name||tq}catch(e){return tq}}(o)} Error:`,t)}}function t0(e,t,n){if(!(t in e))return;let o=e[t];if("function"!=typeof o)return;let r=n(o);"function"==typeof r&&function(e,t){try{let n=t.prototype||{};e.prototype=t.prototype=n,t1(e,"__sentry_original__",t)}catch(e){}}(r,o);try{e[t]=r}catch{tH&&t$.log(`Failed to replace method "${t}" in object`,e)}}function t1(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){tH&&t$.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function t2(){if(!tz.document)return;let e=tZ.bind(null,"dom"),t=t3(e,!0);tz.document.addEventListener("click",t,!1),tz.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let n=tz[t]?.prototype;n?.hasOwnProperty?.("addEventListener")&&(t0(n,"addEventListener",function(t){return function(n,o,r){if("click"===n||"keypress"==n)try{let o=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},i=o[n]=o[n]||{refCount:0};if(!i.handler){let o=t3(e);i.handler=o,t.call(this,n,o,r)}i.refCount++}catch(e){}return t.call(this,n,o,r)}}),t0(n,"removeEventListener",function(e){return function(t,n,o){if("click"===t||"keypress"==t)try{let n=this.__sentry_instrumentation_handlers__||{},r=n[t];r&&(r.refCount--,r.refCount<=0&&(e.call(this,t,r.handler,o),r.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,o)}}))})}function t3(e,t=!1){return n=>{var o;if(!n||n._sentryCaptured)return;let r=function(e){try{return e.target}catch(e){return null}}(n);if(o=n.type,"keypress"===o&&(!r?.tagName||"INPUT"!==r.tagName&&"TEXTAREA"!==r.tagName&&!r.isContentEditable&&1))return;t1(n,"_sentryCaptured",!0),r&&!r._sentryId&&t1(r,"_sentryId",function(e=tz.crypto||tz.msCrypto){let t=()=>16*Math.random();try{if(e?.randomUUID)return e.randomUUID().replace(/-/g,"");e?.getRandomValues&&(t=()=>{let t=new Uint8Array(1);return e.getRandomValues(t),t[0]})}catch(e){}return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&t())>>e/4).toString(16))}());let i="keypress"===n.type?"input":n.type;!function(e){if(e.type!==l)return!1;try{if(!e.target||e.target._sentryId!==c)return!1}catch(e){}return!0}(n)&&(e({event:n,name:i,global:t}),l=n.type,c=r?r._sentryId:void 0),clearTimeout(s),s=tz.setTimeout(()=>{c=void 0,l=void 0},1e3)}}function t5(){return Date.now()/1e3}let t4=function(){let{performance:e}=tz;if(!e?.now)return t5;let t=Date.now()-e.now(),n=void 0==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/1e3}(),t8=Object.prototype.toString;function t9(e){return"[object String]"===t8.call(e)}let t6="__sentry_xhr_v3__";function t7(){if(!tz.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let o=Error(),r=1e3*t4(),i=t9(n[0])?n[0].toUpperCase():void 0,a=function(e){if(t9(e))return e;try{return e.toString()}catch{}}(n[1]);if(!i||!a)return e.apply(t,n);t[t6]={method:i,url:a,request_headers:{}},"POST"===i&&a.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let s=()=>{let e=t[t6];if(e&&4===t.readyState){try{e.status_code=t.status}catch(e){}tZ("xhr",{endTimestamp:1e3*t4(),startTimestamp:r,xhr:t,virtualError:o})}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(s(),e.apply(t,n))}):t.addEventListener("readystatechange",s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[o,r]=n,i=t[t6];return i&&t9(o)&&t9(r)&&(i.request_headers[o.toLowerCase()]=r),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){let o=t[t6];return o&&(void 0!==n[0]&&(o.body=n[0]),tZ("xhr",{startTimestamp:1e3*t4(),xhr:t})),e.apply(t,n)}})}function ne(e){let t="history";tK(t,e),tQ(t,nt)}function nt(){function e(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let o=u,r=String(n);if(u=r,o===r)return e.apply(this,t);tZ("history",{from:o,to:r})}return e.apply(this,t)}}tz.addEventListener("popstate",()=>{let e=tz.location.href,t=u;u=e,t!==e&&tZ("history",{from:t,to:e})}),"history"in tz&&tz.history&&(t0(tz.history,"pushState",e),t0(tz.history,"replaceState",e))}let nn={},no={};function nr(e,t){nn[e]=nn[e]||[],nn[e].push(t)}function ni(e,t){if(!no[e]){no[e]=!0;try{t()}catch(t){H&&Y.error(`Error while instrumenting ${e}`,t)}}}function na(e,t){let n=e&&nn[e];if(n)for(let o of n)try{o(t)}catch(t){H&&Y.error(`Error while triggering instrumentation handler. Type: ${e} Name: ${eM(o)} Error:`,t)}}function ns(){"console"in E&&W.forEach(function(e){e in E.console&&X(E.console,e,function(t){return z[e]=t,function(...t){na("console",{args:t,level:e});let n=z[e];n?.apply(E.console,t)}})})}function nl(e,t){return!!e&&"object"==typeof e&&!!e[t]}function nc(e){return"string"==typeof e?e:e?nl(e,"url")?e.url:e.toString?e.toString():"":""}function nu(e,t){let n=eO(),o=eT();if(!n)return;let{beforeBreadcrumb:r=null,maxBreadcrumbs:i=100}=n.getOptions();if(i<=0)return;let a={timestamp:er(),...e},s=r?V(()=>r(a,t)):a;null!==s&&(n.emit&&n.emit("beforeAddBreadcrumb",s,t),o.addBreadcrumb(s,i))}function nd(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}function np(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||"",o=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:o,relative:t[5]+n+o}}let nf=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];function ng(e){return function(...t){let n=t[0];return t[0]=tj(n,{mechanism:{data:{function:eM(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function nh(e){return function(t){return e.apply(this,[tj(t,{mechanism:{data:{function:"requestAnimationFrame",handler:eM(e)},handled:!1,type:"instrument"}})])}}function ny(e){return function(...t){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&X(n,e,function(t){let n={mechanism:{data:{function:e,handler:eM(t)},handled:!1,type:"instrument"}},o=Z(t);return o&&(n.mechanism.data.handler=eM(o)),tj(t,n)})}),e.apply(this,t)}}function nm(e){let t=E[e]?.prototype;t?.hasOwnProperty?.("addEventListener")&&(X(t,"addEventListener",function(t){return function(n,o,r){try{var i;i=o,"function"==typeof i.handleEvent&&(o.handleEvent=tj(o.handleEvent,{mechanism:{data:{function:"handleEvent",handler:eM(o),target:e},handled:!1,type:"instrument"}}))}catch{}return t.apply(this,[n,tj(o,{mechanism:{data:{function:"addEventListener",handler:eM(o),target:e},handled:!1,type:"instrument"}}),r])}}),X(t,"removeEventListener",function(e){return function(t,n,o){try{let r=n.__sentry_wrapped__;r&&e.call(this,t,r,o)}catch(e){}return e.call(this,t,n,o)}}))}let nv=null;function nA(){nv=E.onerror,E.onerror=function(e,t,n,o,r){return na("error",{column:o,error:r,line:n,msg:e,url:t}),!!nv&&nv.apply(this,arguments)},E.onerror.__SENTRY_INSTRUMENTED__=!0}let nS=null;function nw(){nS=E.onunhandledrejection,E.onunhandledrejection=function(e){return na("unhandledrejection",e),!nS||nS.apply(this,arguments)},E.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function nb(e){tG&&Y.log(`Global Handler attached: ${e}`)}function nE(){let e=eO();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function n_(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function nT(e,t,n,o){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:o}}function nP(e,t,n,o){let r={filename:e,function:""===t?"?":t,in_app:!0};return void 0!==n&&(r.lineno=n),void 0!==o&&(r.colno=o),r}let nO=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,nI=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,nR=/\((\S*)(?::(\d+))(?::(\d+))\)/,nk=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,nx=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,nD=eL([30,e=>{let t=nO.exec(e);if(t){let[,e,n,o]=t;return nP(e,"?",+n,+o)}let n=nI.exec(e);if(n){if(n[2]&&0===n[2].indexOf("eval")){let e=nR.exec(n[2]);e&&(n[2]=e[1],n[3]=e[2],n[4]=e[3])}let[e,t]=nN(n[1]||"?",n[2]);return nP(t,e,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],[50,e=>{let t=nk.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=nx.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||"?";return[n,e]=nN(n,e),nP(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),nN=(e,t)=>{let n=-1!==e.indexOf("safari-extension"),o=-1!==e.indexOf("safari-web-extension");return n||o?[-1!==e.indexOf("@")?e.split("@")[0]:"?",n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},nC="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,nL={};function nF(e,t=function(e){var t;let n=nL[e];if(n)return n;let o=tz[e];if((t=o)&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString()))return nL[e]=o.bind(tz);let r=tz.document;if(r&&"function"==typeof r.createElement)try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let n=t.contentWindow;n?.[e]&&(o=n[e]),r.head.removeChild(t)}catch(t){nC&&t$.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return o?nL[e]=o.bind(tz):o}("fetch")){let n=0,o=0;return function(e,t,n=function(e){let t=[];function n(e){return t.splice(t.indexOf(e),1)[0]||Promise.resolve(void 0)}return{$:t,add:function(o){if(!(void 0===e||t.lengthn(r)).then(null,()=>n(r).then(null,()=>{})),r},drain:function(e){return new eD((n,o)=>{let r=t.length;if(!r)return n(!0);let i=setTimeout(()=>{e&&e>0&&n(!1)},e);t.forEach(e=>{ek(e).then(()=>{--r||(clearTimeout(i),n(!0))},o)})})}}}(e.bufferSize||64)){let o={};return{send:function(r){let i=[];if(tm(r,(t,n)=>{let r=tA[n];!function(e,t,n=Date.now()){return(e[t]||e.all||0)>n}(o,r)?i.push(t):e.recordDroppedEvent("ratelimit_backoff",r)}),0===i.length)return ek({});let a=ty(r[0],i),s=t=>{tm(a,(n,o)=>{e.recordDroppedEvent(t,tA[o])})};return n.add(()=>t({body:function(e){let[t,n]=e,o=JSON.stringify(t);function r(e){"string"==typeof o?o="string"==typeof e?o+e:[tv(o),e]:o.push("string"==typeof e?tv(e):e)}for(let e of n){let[t,n]=e;if(r(` ${JSON.stringify(t)} `),"string"==typeof n||n instanceof Uint8Array)r(n);else{let e;try{e=JSON.stringify(n)}catch(t){e=JSON.stringify(eB(n))}r(e)}}return"string"==typeof o?o:function(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),n=0;for(let o of e)t.set(o,n),n+=o.length;return t}(o)}(a)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&eR&&Y.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),o=function(e,{statusCode:t,headers:n},o=Date.now()){let r={...e},i=n?.["x-sentry-rate-limits"],a=n?.["retry-after"];if(i)for(let e of i.trim().split(",")){let[t,n,,,i]=e.split(":",5),a=parseInt(t,10),s=(isNaN(a)?60:a)*1e3;if(n)for(let e of n.split(";"))"metric_bucket"===e?(!i||i.split(";").includes("custom"))&&(r[e]=o+s):r[e]=o+s;else r.all=o+s}else a?r.all=o+function(e,t=Date.now()){let n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;let o=Date.parse(`${e}`);return isNaN(o)?6e4:o-t}(a,o):429===t&&(r.all=o+6e4);return r}(o,e),e),e=>{throw s("network_error"),e})).then(e=>e,e=>{if(e instanceof tw)return eR&&Y.error("Skipped sending event because buffer is full."),s("queue_overflow"),ek({});throw e})},flush:e=>n.drain(e)}}(e,function(r){let i=r.body.length;n+=i,o++;let a={body:r.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&o<15,...e.fetchOptions};if(!t)return nL.fetch=void 0,ex("No fetch implementation available");try{return t(e.url,a).then(e=>(n-=i,o--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}))}catch(e){return nL.fetch=void 0,n-=i,o--,ex(e)}})}function nU(e={}){if(!E.document){tG&&Y.error("Global document not defined in showReportDialog call");return}let t=e_(),n=t.getClient(),o=n?.getDsn();if(!o){tG&&Y.error("DSN not configured for showReportDialog call");return}if(t&&(e.user={...t.getUser(),...e.user}),!e.eventId){let t=eT().lastEventId();t&&(e.eventId=t)}let r=E.document.createElement("script");r.async=!0,r.crossOrigin="anonymous",r.src=function(e,t){let n=tg(e);if(!n)return"";let o=`${th(n)}embed/error-page/`,r=`dsn=${tp(n)}`;for(let e in t)if("dsn"!==e&&"onClose"!==e)if("user"===e){let e=t.user;if(!e)continue;e.name&&(r+=`&name=${encodeURIComponent(e.name)}`),e.email&&(r+=`&email=${encodeURIComponent(e.email)}`)}else r+=`&${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`;return`${o}?${r}`}(o,e),e.onLoad&&(r.onload=e.onLoad);let{onClose:i}=e;if(i){let e=t=>{if("__sentry_reportdialog_closed__"===t.data)try{i()}finally{E.removeEventListener("message",e)}};E.addEventListener("message",e)}let a=E.document.head||E.document.body;a?a.appendChild(r):tG&&Y.error("Not injecting report dialog. No injection point found in HTML")}let nM="9.8.0",nj=globalThis,nB="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,nG=["debug","info","warn","error","log","assert","trace"],nH={},nW=function(e,t,n=nj){let o=n.__SENTRY__=n.__SENTRY__||{},r=o[nM]=o[nM]||{};return r[e]||(r[e]=t())}("logger",function(){let e=!1,t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return nB?nG.forEach(n=>{t[n]=(...t)=>{e&&function(e){if(!("console"in nj))return e();let t=nj.console,n={},o=Object.keys(nH);o.forEach(e=>{let o=nH[e];n[e]=t[e],t[e]=o});try{return e()}finally{o.forEach(e=>{t[e]=n[e]})}}(()=>{nj.console[n](`Sentry Logger [${n}]:`,...t)})}}):nG.forEach(e=>{t[e]=()=>void 0}),t}),nz="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,nV=Object.prototype.toString,nY={componentStack:null,error:null,eventId:null};class n$ extends f.Component{constructor(e){super(e),this.state=nY,this._openFallbackReportDialog=!0;let t=eO();t&&e.showDialog&&(this._openFallbackReportDialog=!1,this._cleanupHook=t.on("afterSendEvent",t=>{!t.type&&this._lastEventId&&t.event_id===this._lastEventId&&nU({...e.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(e,t){let{componentStack:n}=t,{beforeCapture:o,onError:r,showDialog:i,dialogOptions:a}=this.props;eP(s=>{o&&o(s,e,n);let l=function(e,{componentStack:t},n){if(function(e){let t=e.match(/^([^.]+)/);return null!==t&&parseInt(t[0])>=17}(f.version)&&function(e){switch(nV.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:var t=e,n=Error;try{return t instanceof n}catch(e){return!1}}}(e)&&t){let n=Error(e.message);n.name=`React ErrorBoundary ${e.name}`,n.stack=t;let o=new WeakSet;!function e(t,n){if(!o.has(t)){if(t.cause)return o.add(t),e(t.cause,n);t.cause=n}}(e,n)}return eP(o=>(o.setContext("react",{componentStack:t}),e2(e,n)))}(e,t,{mechanism:{handled:null!=this.props.handled?this.props.handled:!!this.props.fallback}});r&&r(e,n,l),i&&(this._lastEventId=l,this._openFallbackReportDialog&&nU({...a,eventId:l})),this.setState({error:e,componentStack:n,eventId:l})})}componentDidMount(){let{onMount:e}=this.props;e&&e()}componentWillUnmount(){let{error:e,componentStack:t,eventId:n}=this.state,{onUnmount:o}=this.props;o&&(this.state===nY?o(null,null,null):o(e,t,n)),this._cleanupHook&&(this._cleanupHook(),this._cleanupHook=void 0)}resetErrorBoundary(){let{onReset:e}=this.props,{error:t,componentStack:n,eventId:o}=this.state;e&&e(t,n,o),this.setState(nY)}render(){let{fallback:e,children:t}=this.props,n=this.state;if(null===n.componentStack)return"function"==typeof t?t():t;let o="function"==typeof e?f.createElement(e,{error:n.error,componentStack:n.componentStack,resetError:()=>this.resetErrorBoundary(),eventId:n.eventId}):e;return f.isValidElement(o)?o:(e&&nz&&nW.warn("fallback did not produce a valid ReactElement"),null)}}var nq=n(65364);let{publicRuntimeConfig:nJ}=y()(),nX=nq.env.NEXT_PUBLIC_FE_VERSION||nJ.NEXT_PUBLIC_FE_VERSION||"0.0.0.0",nK=nq.env.NEXT_PUBLIC_ENVIRONMENT||nJ.NEXT_PUBLIC_ENVIRONMENT||"development";!function(e){var t;let n={...e};!function(e,t,n=[t],o="npm"){let r=e._metadata||{};r.sdk||(r.sdk={name:`sentry.javascript.${t}`,packages:n.map(e=>({name:`${o}:@sentry/${e}`,version:nM})),version:nM}),e._metadata=r}(n,"react"),t={version:f.version},eT().setContext("react",t),function(e={}){var t,n;let o=function(e={}){let t;return{...{defaultIntegrations:[((e={})=>({...((e={})=>{let t;return{name:"EventFilters",setup(n){t=to(e,n.getOptions())},processEvent:(n,o,r)=>(t||(t=to(e,r.getOptions())),!function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;let n=e.transaction;return!!n&&J(n,t)}(e,t.ignoreTransactions))return eR&&Y.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. Event: ${el(e)}`),!0}else{var n,o,r;if(t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(e))return eR&&Y.warn(`Event dropped due to being internal Sentry Error. Event: ${el(e)}`),!0;if(n=e,o=t.ignoreErrors,o?.length&&tt(n).some(e=>J(e,o)))return eR&&Y.warn(`Event dropped due to being matched by \`ignoreErrors\` option. Event: ${el(e)}`),!0;if(r=e,r.exception?.values?.length&&!r.message&&!r.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))return eR&&Y.warn(`Event dropped due to not having an error message, error type or stacktrace. Event: ${el(e)}`),!0;if(function(e,t){if(!t?.length)return!1;let n=tr(e);return!!n&&J(n,t)}(e,t.denyUrls))return eR&&Y.warn(`Event dropped due to being matched by \`denyUrls\` option. Event: ${el(e)}. Url: ${tr(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;let n=tr(e);return!n||J(n,t)}(e,t.allowUrls))return eR&&Y.warn(`Event dropped due to not being matched by \`allowUrls\` option. Event: ${el(e)}. Url: ${tr(e)}`),!0}return!1}(n,t)?n:null)}})(e),name:"InboundFilters"}))(),{name:"FunctionToString",setupOnce(){a=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=Z(this),n=ti.has(eO())&&void 0!==t?t:this;return a.apply(n,e)}}catch{}},setup(e){ti.set(e,!0)}},((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&X(E,"setTimeout",ng),t.setInterval&&X(E,"setInterval",ng),t.requestAnimationFrame&&X(E,"requestAnimationFrame",nh),t.XMLHttpRequest&&"XMLHttpRequest"in E&&X(XMLHttpRequest.prototype,"send",ny);let e=t.eventTarget;e&&(Array.isArray(e)?e:nf).forEach(nm)}}})(),((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n,o,r,i,a,s,l;t.console&&function(e){let t="console";nr(t,e),ni(t,ns)}((n=e,function(e){var t;if(eO()!==n)return;let o={category:"console",data:{arguments:e.args,logger:"console"},level:"warn"===(t=e.level)?"warning":["fatal","error","warning","log","info","debug"].includes(t)?t:"log",message:q(e.args," ")};if("assert"===e.level)if(!1!==e.args[0])return;else o.message=`Assertion failed: ${q(e.args.slice(1)," ")||"console.assert"}`,o.data.arguments=e.args.slice(1);nu(o,{input:e.args,level:e.level})})),t.dom&&(tK("dom",(o=e,r=t.dom,function(e){let t,n;if(eO()!==o)return;let i="object"==typeof r?r.serializeAttribute:void 0,a="object"==typeof r&&"number"==typeof r.maxStringLength?r.maxStringLength:void 0;a&&a>1024&&(tG&&Y.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${a} was configured. Sentry will use 1024 instead.`),a=1024),"string"==typeof i&&(i=[i]);try{var s;let o=e.event,r=(s=o)&&s.target?o.target:o;t=B(r,{keyAttrs:i,maxStringLength:a}),n=function(e){if(!E.HTMLElement)return null;let t=e;for(let e=0;e<5&&t;e++){if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}(r)}catch(e){t=""}if(0===t.length)return;let l={category:`ui.${e.name}`,message:t};n&&(l.data={"ui.component_name":n}),nu(l,{event:e.event,name:e.name,global:e.global})})),tQ("dom",t2)),t.xhr&&(tK("xhr",(i=e,function(e){if(eO()!==i)return;let{startTimestamp:t,endTimestamp:n}=e,o=e.xhr[t6];if(!t||!n||!o)return;let{method:r,url:a,status_code:s,body:l}=o,c={xhr:e.xhr,input:l,startTimestamp:t,endTimestamp:n},u={category:"xhr",data:{method:r,url:a,status_code:s},type:"http",level:nd(s)};i.emit("beforeOutgoingRequestBreadcrumb",u,c),nu(u,c)})),tQ("xhr",t7)),t.fetch&&function(e,t){let n="fetch";nr(n,e),ni(n,()=>(function(e,t=!1){(!t||function(){if("string"==typeof EdgeRuntime)return!0;if(!tc())return!1;if(tu(E.fetch))return!0;let e=!1,t=E.document;if(t&&"function"==typeof t.createElement)try{let n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=tu(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){H&&Y.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}())&&X(E,"fetch",function(t){return function(...n){let o=Error(),{method:r,url:i}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,n]=e;return{url:nc(t),method:nl(n,"method")?String(n.method).toUpperCase():"GET"}}let t=e[0];return{url:nc(t),method:nl(t,"method")?String(t.method).toUpperCase():"GET"}}(n),a={args:n,fetchData:{method:r,url:i},startTimestamp:1e3*ei(),virtualError:o};return e||na("fetch",{...a}),t.apply(E,n).then(async t=>(e?e(t):na("fetch",{...a,endTimestamp:1e3*ei(),response:t}),t),e=>{throw na("fetch",{...a,endTimestamp:1e3*ei(),error:e}),I(e)&&void 0===e.stack&&(e.stack=o.stack,K(e,"framesToPop",1)),e})}})})(void 0,void 0))}((a=e,function(e){if(eO()!==a)return;let{startTimestamp:t,endTimestamp:n}=e;if(n&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.fetchData.method,e.fetchData.url,e.error){let o=e.fetchData,r={data:e.error,input:e.args,startTimestamp:t,endTimestamp:n},i={category:"fetch",data:o,level:"error",type:"http"};a.emit("beforeOutgoingRequestBreadcrumb",i,r),nu(i,r)}else{let o=e.response,r={...e.fetchData,status_code:o?.status};e.fetchData.request_body_size,e.fetchData.response_body_size,o?.status;let i={input:e.args,response:o,startTimestamp:t,endTimestamp:n},s={category:"fetch",data:r,type:"http",level:nd(r.status_code)};a.emit("beforeOutgoingRequestBreadcrumb",s,i),nu(s,i)}})),t.history&&ne((s=e,function(e){if(eO()!==s)return;let t=e.from,n=e.to,o=np(E.location.href),r=t?np(t):void 0,i=np(n);r?.path||(r=o),o.protocol===i.protocol&&o.host===i.host&&(n=i.relative),o.protocol===r.protocol&&o.host===r.host&&(t=r.relative),nu({category:"navigation",data:{from:t,to:n}})})),t.sentry&&e.on("beforeSendEvent",(l=e,function(e){eO()===l&&nu({category:`sentry.${"transaction"===e.type?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:el(e)},{event:e})}))}}})(),((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(function(e){let t="error";nr(t,t=>{let{stackParser:n,attachStacktrace:o}=nE();if(eO()!==e||tM>0)return;let{msg:r,url:i,line:a,column:s,error:l}=t,c=function(e,t,n,o){let r=e.exception=e.exception||{},i=r.values=r.values||[],a=i[0]=i[0]||{},s=a.stacktrace=a.stacktrace||{},l=s.frames=s.frames||[],c=D(t)&&t.length>0?t:G();return 0===l.length&&l.push({colno:o,filename:c,function:"?",in_app:!0,lineno:n}),e}(tF(n,l||r,void 0,o,!1),i,a,s);c.level="error",e3(c,{originalException:l,mechanism:{handled:!1,type:"onerror"}})}),ni(t,nA)}(e),nb("onerror")),t.onunhandledrejection&&(function(e){let t="unhandledrejection";nr(t,t=>{var n;let{stackParser:o,attachStacktrace:r}=nE();if(eO()!==e||tM>0)return;let i=function(e){if(C(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}(t),a=C(i)?(n=i,{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(n)}`}]}}):tF(o,i,void 0,r,!0);a.level="error",e3(a,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})}),ni(t,nw)}(e),nb("onunhandledrejection"))}}})(),((e={})=>{let t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,o,r){let i=r.getOptions();!function(e,t,n=250,o,r,i,a){var s,l;if(!i.exception?.values||!a||!M(a.originalException,Error))return;let c=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;c&&(i.exception.values=(s=function e(t,n,o,r,i,a,s,l){if(a.length>=o+1)return a;let c=[...a];if(M(r[i],Error)){n_(s,l);let a=t(n,r[i]),u=c.length;nT(a,i,u,l),c=e(t,n,o,r[i],i,[a,...c],a,u)}return Array.isArray(r.errors)&&r.errors.forEach((r,a)=>{if(M(r,Error)){n_(s,l);let u=t(n,r),d=c.length;nT(u,`errors[${a}]`,d,l),c=e(t,n,o,r,i,[u,...c],u,d)}}),c}(e,t,r,a.originalException,o,i.exception.values,c,0),l=n,s.map(e=>(e.value&&(e.value=$(e.value,l)),e))))}(tx,i.stackParser,i.maxValueLength,n,t,e,o)}}})(),{name:"Dedupe",processEvent(e){if(e.type)return e;try{var n,o;if(n=e,(o=t)&&(function(e,t){let n=e.message,o=t.message;return(!!n||!!o)&&(!n||!!o)&&(!!n||!o)&&n===o&&!!ts(e,t)&&!!ta(e,t)&&!0}(n,o)||function(e,t){let n=tl(t),o=tl(e);return!!n&&!!o&&n.type===o.type&&n.value===o.value&&!!ts(e,t)&&!!ta(e,t)}(n,o)))return eR&&Y.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return t=e}},{name:"HttpContext",preprocessEvent(e){if(!E.navigator&&!E.location&&!E.document)return;let t=e.request?.url||G(),{referrer:n}=E.document||{},{userAgent:o}=E.navigator||{},r={...e.request?.headers,...n&&{Referer:n},...o&&{"User-Agent":o}},i={...e.request,...t&&{url:t},headers:r};e.request=i}},{name:"BrowserSession",setupOnce(){if(void 0===E.document){tG&&Y.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}e5({ignoreDuration:!0}),e9(),ne(({from:e,to:t})=>{void 0!==e&&e!==t&&(e5({ignoreDuration:!0}),e9())})}}],release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:E.SENTRY_RELEASE?.id,sendClientReports:!0},...function(e){let t={};for(let n of Object.getOwnPropertyNames(e))void 0!==e[n]&&(t[n]=e[n]);return t}(e)}}(e);if(!o.skipBrowserExtensionCheck&&function(){let e=void 0!==E.window&&E;if(!e)return!1;let t=e.chrome?"chrome":"browser",n=e[t],o=n?.runtime?.id,r=G()||"",i=!!o&&E===E.top&&["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"].some(e=>r.startsWith(`${e}//`)),a=void 0!==e.nw;return!!o&&!i&&!a}()){tG&&V(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});return}tG&&!tc()&&Y.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill.");let r={...o,stackParser:Array.isArray(t=o.stackParser||nD)?eL(...t):t,integrations:function(e){let t,n=e.defaultIntegrations||[],o=e.integrations;if(n.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(o))t=[...n,...o];else if("function"==typeof o){let e=o(n);t=Array.isArray(e)?e:[e]}else t=n;let r={};return t.forEach(e=>{let{name:t}=e,n=r[t];n&&!n.isDefaultInstance&&e.isDefaultInstance||(r[t]=e)}),Object.values(r)}(o),transport:o.transport||nF};!0===r.debug&&(eR?Y.enable():V(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),e_().update(r.initialScope);let i=new tB(r);n=i,e_().setClient(n),i.init()}(n)}({dsn:"https://7781d844d79befbc7c3aa6ca351a497c@fuhno/9",release:nX,environment:nK,tracesSampleRate:1,beforeSend(e){var t,n,o,r;let i=window.location.host,a=null==(r=null==(o=null==(n=null==(t=null==e?void 0:e.exception)?void 0:t.values)?void 0:n[0])?void 0:o.stacktrace)?void 0:r.frames,s=null==a?void 0:a[a.length-1],l=null==s?void 0:s.filename;return"development"!==e.environment&&l&&i&&!l.includes(i)?null:e}});let nQ=e=>{let{children:t}=e;return(0,g.n)()?(0,p.jsx)(p.Fragment,{children:t}):(0,p.jsx)(n$,{children:t})},nZ=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"error";try{e2(e,o=>{var r,i,a,s;return o.clear(),o.setTag("appType",(0,g.fU)()?"server":"browser"),o.setContext("userData",{uaSessionId:(0,w.Rm)(m.J0m),uaId:(0,w.qk)(m.kk8)}),o.setContext("appInfo",{id:null===v.Ay||void 0===v.Ay?void 0:v.Ay.appInfo.appId,prefix:null===v.Ay||void 0===v.Ay?void 0:v.Ay.prefix,authRedirectionUrl:null===v.Ay||void 0===v.Ay?void 0:v.Ay.authRedirectionUrl}),o.setContext("androidInfo",A.mZ),o.setContext("clientInfo",{touchStart:"ontouchstart"in document.documentElement,maxTouchPoints:navigator.maxTouchPoints,userAgent:null==navigator?void 0:navigator.userAgent,hardwareConcurrency:null==navigator?void 0:navigator.hardwareConcurrency,visibilityState:null==document?void 0:document.visibilityState,onLine:null==navigator?void 0:navigator.onLine,utm:(0,v.Zl)(),wasmSupported:(0,S.TH)(),url:null==(r=null==window?void 0:window.location)?void 0:r.href,platform:(0,w.el)()}),o.setContext("memoryInfo",{totalJSHeapSize:null==(i=window.performance.memory)?void 0:i.totalJSHeapSize,jsHeapSizeLimit:null==(a=window.performance.memory)?void 0:a.jsHeapSizeLimit,usedJSHeapSize:null==(s=window.performance.memory)?void 0:s.usedJSHeapSize}),o.setLevel(n),void 0!==t&&Object.entries(t).forEach(e=>{let[t,n]=e;n instanceof Error?o.setContext(t,{ErrorStack:null==n?void 0:n.stack}):n instanceof Object?o.setContext(t,{[t]:JSON.stringify(n)}):o.setContext(t,{value:n})}),e instanceof Error?o.setFingerprint([e.message]):o.setFingerprint([e.toString()]),o})}catch(e){e2(e)}}},59524:(e,t,n)=>{"use strict";function o(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}n.d(t,{A:()=>o})},59803:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});let o={VOLUME:"VOLUME",OVERLAY:"OVERLAY",FS_WIDGET:"FS_WIDGET",MOUSE_SENSITIVITY:"MOUSE_SENSITIVITY",LEGACY_CONTROLS:"LEGACY_CONTROLS",SET_LEGACY_CONTROLS:"SET_LEGACY_CONTROLS",UPDATE_PREFERENCES:"UPDATE_PREFERENCES",UPDATE_CONFIG:"UPDATE_CONFIG"}},61962:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PlaySessionStatus=void 0,function(e){e.NotFound="NotFound",e.Active="Active",e.Migrated="Migrated",e.BcpuSpotInterrupted="BcpuSpotInterrupted"}(t.PlaySessionStatus||(t.PlaySessionStatus={}))},62003:(e,t)=>{"use strict";var n,o;Object.defineProperty(t,"__esModule",{value:!0}),t.PlayEventsWithOptionalPlayUser=t.PlayEventNames=t.NgEnvironmentTypes=t.NgBotStatus=t.NgRewardStatus=t.NgMimeTypes=t.NgOrientation=t.NgPlayCodeStatus=t.NgSubscriptionStatus=t.NgLeaderboardStatus=t.NgQuestStatus=t.NgVidStatus=t.NgErrorCodeToStatusMap=t.NgErrorCode=t.NgStatus=void 0,function(e){e.Success="Success",e.NeedsRedirect="NeedsRedirect",e.Pending="Pending",e.Failure="Failure",e.WaitingInQueue="WaitingInQueue",e.WaitingInPriorityQueue="WaitingInPriorityQueue",e.FailureInvalidMembershipId="FailureInvalidMembershipId",e.FailureAlreadyExists="FailureAlreadyExists",e.FailureValidationError="FailureValidationError",e.FailureTryAgain="FailureTryAgain",e.FailureRetryStartSessionLater="FailureRetryStartSessionLater",e.FailureSessionMigrated="FailureSessionMigrated",e.FailureSessionTooExpensive="FailureSessionTooExpensive",e.FailureInvalidPlayToken="FailureInvalidPlayToken",e.FailureInvalidPlayUser="FailureInvalidPlayUser",e.FailurePlayUserUnavailable="FailurePlayUserUnavailable",e.FailureNoResource="FailureNoResource",e.FailureInvalidParameter="FailureInvalidParameter",e.FailureInvalidState="FailureInvalidState",e.FailureUnauthorized="FailureUnauthorized",e.FailureUserStorageBusy="FailureUserStorageBusy",e.FailureServiceNotInRegion="FailureServiceNotInRegion",e.FailureUnderMaintenance="FailureUnderMaintenance",e.FailureTabletNotSupported="FailureTabletNotSupported",e.FailureOsNotSupported="FailureOsNotSupported",e.FailureMobileNotSupported="FailureMobileNotSupported",e.FailureDesktopNotSupported="FailureDesktopNotSupported",e.FailureAppNotAvailable="FailureAppNotAvailable",e.FailureTrialTimeLimitExceeded="FailureTrialTimeLimitExceeded",e.FailureTokenExpired="FailureTokenExpired",e.FailureInvalidToken="FailureInvalidToken",e.FailureExpiredCustomToken="FailureExpiredCustomToken",e.FailureInvalidCustomToken="FailureInvalidCustomToken",e.FailureForbidden="FailureForbidden",e.FailureUaIdRevoked="FailureUaIdRevoked",e.FailureMalformedJSONResponse="FailureMalformedJSONResponse",e.FailureUnexpectedHttpStatusCode="FailureUnexpectedHttpStatusCode",e.JsonStatusFailureUnauthorized="JsonStatusFailureUnauthorized",e.FailureFeFetchException="FailureFeFetchException",e.FailureProxyUserLimitExceeded="FailureProxyUserLimitExceeded",e.SuccessUserCreated="SuccessUserCreated",e.SuccessUserUpdated="SuccessUserUpdated",e.SuccessUserExists="SuccessUserExists",e.FailureAnotherSessionActive="FailureAnotherSessionActive",e.FailureSessionEnded="FailureSessionEnded",e.FailureNotReady="FailureNotReady",e.FailureInsufficientPlaytime="FailureInsufficientPlaytime",e.FailureTokenDecode="FailureTokenDecode",e.FailureNowbuxCreditLimitExceeded="FailureNowbuxCreditLimitExceeded",e.FailureInsufficientInstanceCapacity="FailureInsufficientInstanceCapacity"}(n=t.NgStatus||(t.NgStatus={})),function(e){e.Unknown="1000",e.InternalServerError="1001",e.Timeout="1002",e.NetworkError="1003",e.InvalidJson="1004",e.ServiceUnavailable="1005",e.DatabaseError="1006",e.AuthUnauthorized="1100",e.AuthForbidden="1101",e.AuthInvalidToken="1102",e.AuthTokenExpired="1103",e.AuthUaIdRevoked="1104",e.AuthInvalidMembershipId="1105",e.AuthInvalidCustomToken="1106",e.AuthExpiredCustomToken="1107",e.InvalidParameter="1200",e.InvalidAppId="1201",e.InvalidPlayDomain="1202",e.InvalidPlayUserId="1203",e.InvalidMembershipId="1204",e.InvalidInviteId="1205",e.InvalidAccessCode="1206",e.ValidationError="1300",e.InvalidState="1301",e.MalformedRequest="1302",e.BadRequest="1303",e.UaIdRevoked="1304",e.SessionNotFound="2000",e.SessionEnded="2001",e.SessionMigrated="2002",e.SessionTryAgain="2003",e.SessionNotReady="2004",e.SessionAlreadyExists="2005",e.SessionUserStorageBusy="2006",e.SessionAnotherActive="2007",e.NoResourceAvailable="2100",e.ServiceNotInRegion="2101",e.UnderMaintenance="2102",e.AppNotAvailable="2103",e.InsufficientInstanceCapacity="2104",e.TabletNotSupported="3000",e.MobileNotSupported="3001",e.DesktopNotSupported="3002",e.OsNotSupported="3003",e.NowbuxCreditLimitExceeded="3101",e.ProxyUserLimitExceeded="3102",e.InsufficientPlaytime="3103",e.AndroidStartupFailure="4000",e.StartSessionApiFailed="4001",e.ContainerInitFailure="4002",e.AndroidSetAnswerFailure="4003",e.StopSessionApiFailed="4004",e.AndroidAppCrashed="4005",e.InstanceNotFound="4006",e.WaitingInQueue="4100",e.WaitingInPriorityQueue="4101",e.QueuePositionLost="4102",e.InvalidLuaScriptResponse="4103",e.UserWaitingInQueue="4104",e.UserWaitingInPriorityQueue="4105",e.InstanceNotReady="4106",e.PartnerApiFailure="5000",e.PartnerAuthFailure="5001",e.PartnerQuotaExceeded="5002",e.NoValidRuleFound="6000",e.EnvCheckFailed="6001",e.ActiveEnvCheckFailed="6002",e.Forbidden="6100",e.EmailNotVerified="6101",e.EmailNotAllowed="6102",e.AuthTypeMismatch="6103",e.AccountAlreadyExists="6200",e.RewardsUpdateFailed="6201",e.MaintenanceModeActive="6202",e.InvalidAscZone="6203",e.ClientWebRtcSdpFailure="6300",e.ClientWebRtcConnectionFailure="6301",e.ClientCreatePlayUserFailed="6302"}(o=t.NgErrorCode||(t.NgErrorCode={})),t.NgErrorCodeToStatusMap={[o.Unknown]:n.Failure,[o.InternalServerError]:n.Failure,[o.Timeout]:n.Failure,[o.NetworkError]:n.Failure,[o.InvalidJson]:n.Failure,[o.ServiceUnavailable]:n.Failure,[o.DatabaseError]:n.Failure,[o.AuthUnauthorized]:n.FailureUnauthorized,[o.AuthForbidden]:n.FailureForbidden,[o.AuthInvalidToken]:n.FailureInvalidToken,[o.AuthTokenExpired]:n.FailureTokenExpired,[o.AuthUaIdRevoked]:n.FailureUaIdRevoked,[o.AuthInvalidMembershipId]:n.FailureInvalidMembershipId,[o.AuthInvalidCustomToken]:n.FailureInvalidCustomToken,[o.AuthExpiredCustomToken]:n.FailureExpiredCustomToken,[o.InvalidParameter]:n.FailureInvalidParameter,[o.InvalidAppId]:n.FailureInvalidParameter,[o.InvalidPlayDomain]:n.FailureInvalidParameter,[o.InvalidPlayUserId]:n.FailureInvalidParameter,[o.InvalidMembershipId]:n.FailureInvalidMembershipId,[o.InvalidInviteId]:n.FailureValidationError,[o.InvalidAccessCode]:n.FailureValidationError,[o.ValidationError]:n.FailureValidationError,[o.InvalidState]:n.FailureInvalidState,[o.MalformedRequest]:n.FailureMalformedJSONResponse,[o.BadRequest]:n.FailureUnexpectedHttpStatusCode,[o.UaIdRevoked]:n.FailureUaIdRevoked,[o.SessionNotFound]:n.Failure,[o.SessionEnded]:n.FailureSessionEnded,[o.SessionMigrated]:n.FailureSessionMigrated,[o.SessionTryAgain]:n.FailureTryAgain,[o.SessionNotReady]:n.FailureNotReady,[o.SessionAlreadyExists]:n.Failure,[o.SessionUserStorageBusy]:n.FailureUserStorageBusy,[o.SessionAnotherActive]:n.FailureAnotherSessionActive,[o.NoResourceAvailable]:n.FailureNoResource,[o.ServiceNotInRegion]:n.FailureServiceNotInRegion,[o.UnderMaintenance]:n.FailureUnderMaintenance,[o.AppNotAvailable]:n.FailureAppNotAvailable,[o.InsufficientInstanceCapacity]:n.FailureInsufficientInstanceCapacity,[o.TabletNotSupported]:n.FailureTabletNotSupported,[o.MobileNotSupported]:n.FailureMobileNotSupported,[o.DesktopNotSupported]:n.FailureDesktopNotSupported,[o.OsNotSupported]:n.FailureOsNotSupported,[o.NowbuxCreditLimitExceeded]:n.FailureNowbuxCreditLimitExceeded,[o.ProxyUserLimitExceeded]:n.FailureProxyUserLimitExceeded,[o.InsufficientPlaytime]:n.FailureInsufficientPlaytime,[o.AndroidStartupFailure]:n.Failure,[o.StartSessionApiFailed]:n.Failure,[o.ContainerInitFailure]:n.Failure,[o.AndroidSetAnswerFailure]:n.Failure,[o.StopSessionApiFailed]:n.Failure,[o.AndroidAppCrashed]:n.Failure,[o.InstanceNotFound]:n.Failure,[o.WaitingInQueue]:n.WaitingInQueue,[o.WaitingInPriorityQueue]:n.WaitingInPriorityQueue,[o.QueuePositionLost]:n.Failure,[o.InvalidLuaScriptResponse]:n.Failure,[o.UserWaitingInQueue]:n.WaitingInQueue,[o.UserWaitingInPriorityQueue]:n.WaitingInPriorityQueue,[o.InstanceNotReady]:n.FailureNotReady,[o.PartnerApiFailure]:n.Failure,[o.PartnerAuthFailure]:n.Failure,[o.PartnerQuotaExceeded]:n.Failure,[o.NoValidRuleFound]:n.Failure,[o.EnvCheckFailed]:n.Failure,[o.ActiveEnvCheckFailed]:n.FailureTryAgain,[o.Forbidden]:n.FailureForbidden,[o.EmailNotVerified]:n.FailureForbidden,[o.EmailNotAllowed]:n.FailureForbidden,[o.AuthTypeMismatch]:n.FailureForbidden,[o.AccountAlreadyExists]:n.FailureAlreadyExists,[o.RewardsUpdateFailed]:n.Failure,[o.MaintenanceModeActive]:n.FailureUnderMaintenance,[o.InvalidAscZone]:n.Failure,[o.ClientWebRtcSdpFailure]:n.Failure,[o.ClientWebRtcConnectionFailure]:n.Failure,[o.ClientCreatePlayUserFailed]:n.Failure},function(e){e.FailureUserChannelExist="FailureUserChannelExist",e.FailureChannelExist="FailureChannelExist",e.FailureChannelNotExist="FailureChannelNotExist",e.FailureVideoNotExist="FailureVideoNotExist",e.FailureNotPublished="FailureNotPublished"}(t.NgVidStatus||(t.NgVidStatus={})),function(e){e.FailureQuestNotExist="FailureQuestNotExist",e.FailureInvalidQuestUserAccountRecord="FailureInvalidQuestUserAccountRecord"}(t.NgQuestStatus||(t.NgQuestStatus={})),(t.NgLeaderboardStatus||(t.NgLeaderboardStatus={})).FailureLeaderboardNotAvailable="FailureLeaderboardNotAvailable",function(e){e.SubscriptionAlreadyActive="SubscriptionAlreadyActive",e.SubscriptionAlreadyInitiated="SubscriptionAlreadyInitiated",e.NoSubscriptionPresentToConfirm="NoSubscriptionPresentToConfirm"}(t.NgSubscriptionStatus||(t.NgSubscriptionStatus={})),(t.NgPlayCodeStatus||(t.NgPlayCodeStatus={})).PlaySessionNotActive="PlaySessionNotActive",function(e){e.landscape="landscape",e.portrait="portrait",e.unspecified="unspecified"}(t.NgOrientation||(t.NgOrientation={})),function(e){e.None="none",e.Jpeg="image/jpeg",e.Png="image/png",e.Tiff="image/tiff",e.Svg="image/svg+xml"}(t.NgMimeTypes||(t.NgMimeTypes={})),function(e){e.Success="Success",e.Failure="Failure",e.FailureAccountAlreadyExists="FailureAccountAlreadyExists",e.FailureInvalidInviteId="FailureInvalidInviteId"}(t.NgRewardStatus||(t.NgRewardStatus={})),function(e){e.Success="Success",e.Failure="Failure",e.FailureRateLimitExceeded="FailureRateLimitExceeded"}(t.NgBotStatus||(t.NgBotStatus={})),t.NgEnvironmentTypes=["Dev","Qa","Staging","TestDrive","Prod"];let r=["FePreAdBlocker","FeAdBlockerTimeout","FeAdBlockerReady","FeAdBlockerDetected","FeAdBlockerDetectedDBlock","FeAdBlockerDetected2","FeAdDisplayed","FeAdNotFilled","FeAdRequestTimeout","FeAdRequested","FeAdRequestException","FeAdRequestedNg","FeAdRequestedNg2","FePrerollEnd","FePrerollBegin","FeAdAddDisplayAdListenersCalled","FeAdGPTCallbacksRegisterException","FeAdGPTCallbacksRegistered","FeNowggAdBlockCheckCrossed","FeGoogleAdBlockCheckCrossed","FeTudeCustomEvent","FeWatchFirstAdFreePlaytimeClicked","FePlayExperienceScreenViewed","FeWatchSecondAdFreePlaytimeClicked","FeRewardEarned","FeGeneratePlayCodeClicked","FePlayCodeCopied","FeRewardEarnedFailure"],i=["FePwaBeforeInstallPrompt","FePwaNudgeDisplayed","FePwaNudgeAccepted","FePwaNudgeDismissed","FePwaNudgeLimitReached","FePreNudgeWaitCompleted","FePwaPromptDisplayed","FePwaPromptAccepted","FePwaPromptDismissed","FePwaInstalled"],a=["FeVideoLoaderLoadStart","FeVideoLoaderEnded","FeVideoLoaderError","FeVideoLoaderUnmount","FeUptime2","FeTopActivity"];t.PlayEventNames=[...r,...a,...i,"FeSecretPassageViewed","FePlayTokenInitiated","FePlayTokenBegin","FePlayTokenEnd","FeSecretPassageHintViewed","FeNowbuxIconClicked","FeFirstNowbuxWonPromptDisplayed","FeFirstNowbuxLoginToClaimClicked","FeNowbuxExitPopupLostRewardDisplayed","FeNowbuxExitPopupLoginPromptDisplayed","FeNowbuxExitPopupLoginToClaimClicked","FeNowbuxDistributed","FeNowbuxJackpotSpinClicked","FeNowbuxCounterStarted","FeNowbuxCounterStopped","FeNowBuxTimerCycleCompleted","FeNowBuxEnabled","FeNowBuxDisabled","FeAuthProviderClicked","FeOldAdsLayout","FeAuthSuccess","FeAuthSuccessInAndroid","FeGuestSuccess","FeProxyDetected","FeProxyThrottled","FePlayTokenSuccess","FePlayTokenFailure","FeLoginPageDisplayed","FeLoginPageDisplayedInAndroid","FeLogoutClicked","FePlayAsGuestClicked","FeAndroidPlayerLoaded","FeVideoElementLoaded","FeSessionRequestedComplete","FeSessionRequestEnd","FeSetAnswerSdpStarted","FeSetAnswerSdpCompleted","FeErrorScreenReportIssue","FeProfileIconClicked","FeNowbuxQuestButtonClicked","FeNowbuxJackpotButtonClicked","FeNowbuxRedeemButtonClicked","FeLeaderboardIconClicked","FeLeaderboardDailyButtonClicked","FeLeaderboardWeeklyButtonClicked","FeLeaderboardMonthlyButtonClicked","FeNowbuxQuestCompletePromptDisplayed","FeSetRemoteDescriptionBegin","FeSetRemoteDescriptionEnd","FeCreateAnswerBegin","FeCreateAnswerEnd","FeAndroidReady","FeDataChannelCallback","FeWebRtcConnected","FeDataChannelOpened","FePreSessionRequestedError","FePreSessionRequested","FePreSessionRequestBeginError","FePreSessionRequestBegin","FeDuplicateTab","FeDuplicateTab2","FeShowErrorOverlay","FePlayPageLoaded","FeAccessTokenBegin","FeAccessTokenEnd","FeAppReady","FeAppChanged","FeUptime","FeGameDisplayed","FeSessionCompleted","FeIncognitoModeDetected","FeIncognitoModeDetectionFailed","FeRobloxExperienceEnded","FeRobloxExperienceStarted","FeGameEnded","FeCreatePlayUserBegin","FeCreatePlayUserEnd","FeBootstrap","FeTabVisible","FeTabHidden","FeUnsupportedBrowser","PortalBootstrap","CpBootstrap","JpPortalBootstrap","FeBootstrap2","FeUnsupportedBrowser","FePreloaderDisplayed","FePreloaderDisplayed2","FePreloaderDisplayed3","FeErrorScreen","FeSessionCompletedScreen","FeDisconnected","FePortalViewed","FeProxyScreenShown","FeSessionRequested","FeSessionRequestBegin","FeUserInteraction","FeNegotiationNeeded","FeTopBarAppsDisplayed","FeManualLogout","FeAuthRequired","FeGoogleOneTap","FeGoogleOneTapSuccess","FeGoogleOneTapScriptLoaded","FeGoogleOneTapApiSuccess","FeGoogleOneTapApiFailure","FeGoogleOneTapApiError","FeGoogleOneTapDisplayed","FeGoogleOneTapNotDisplayed","FeGoogleOneTapSkipped","FeGoogleOneTapDismissed","FeGoogleOneTapUnknown","FeSearchBarClicked","FeSearchBarGameClicked","FeSearchBarQuery","FeCopyInviteLinkClicked","FeLoginToInviteClicked","FeInvalidInviteDisplayed","FeInvalidIframe","HpBootstrap","HpLoginClicked","HpPlayAsGuestClicked","HpAuthProviderClicked","AuthProviderClicked","HpUptime","ApBootstrap","ApGameAutoLaunched","ApPreloaderDisplayed","ApRenderComplete","CpRenderComplete","ApPortalButtonDisplayed","ApPortalButtonClicked","ApDownloadBsButtonClicked","ApLaunchGameButtonDisplayed","ApLaunchGameButtonClicked","ApGameAutoLaunchedPostAction","ApSuggestedAppClicked","ApLaunchGameButtonViewed","ApUptime","PortalUptime","VideoPageBootstrap","VideoChannelBootstrap","FeVideoChannelCreated","FeVideoCopyLinkClicked","ApDBlockScriptMounted","ApDBlockScriptUseEffectError","ApDBlockScriptUseEffectReturnError","IfpDisplayed","IfpClicked","FeStartStreamDisplayed","FeStartStreamingClicked","FeStreamPaused","FeStreamMicToggled","FeStreamResumed","FeCopyStreamLinkClicked","FeWatchLiveStreamClicked","FeStreamViewStarted","FeSwitchStreamClicked","FeUnableToViewStream","FeStreamViewJoinStageBegin","FeFirebaseInitFailed","BpBootstrap","BwBootstrap","FeChatBotPopUpDisplayed","FeChatBotPlayNowClicked","FeChatBotReset","FeChatBotClosed","FeChatBotSpectatePopUpDisplayed","FeChatBotSpectatePopUpClicked","FeFirstUptime","HpFirstUptime","ApFirstUptime","PortalFirstUptime","FeLoginScreenUptime","FeRemoveAdsButtonViewed","FeRemoveAdsButtonClicked","FeCloseAdButtonClicked","FeNowPassPlanViewed","FeNowPassPlanClicked","FeNowPassChosenPlanViewed","FeGetNowPassClicked","FeNowPassUnavailableInRegion","FeManageSubscriptionClicked","FePaymentMethodSelectionDisplayed","FePayNowClicked","FeNowPassSuccessPopupDisplayed","FePaymentOrderCreated","FeNowPassSufficientBalanceScreenShown","FeNowPassInsufficientBalanceScreenShown","FeBuySubscriptionClicked","FeBuyNowBuxClicked","FeNowBuxPurchasedSuccessfully","FeAdMoreTimeButtonClicked","FeManageSubscriptionClicked","FeRewardedAdClosed","ApWsupChatWidgetComponentMounted","ApWsupChatWidgetScriptLoaded","ApWsupChatWidgetScriptLoadError"],t.PlayEventsWithOptionalPlayUser=[...r,...a,...i,"FeBootstrap","FeTabVisible","FeTabHidden","FeUnsupportedBrowser","PortalBootstrap","CpBootstrap","JpPortalBootstrap","FeBootstrap2","HpBootstrap","FeShowErrorOverlay","ApBootstrap","VideoPageBootstrap","VideoChannelBootstrap","BpBootstrap","FePreloaderDisplayed","FePreloaderDisplayed2","FePreloaderDisplayed3","ApPreloaderDisplayed","ApRenderComplete","CpRenderComplete","FeIncognitoModeDetected","FeIncognitoModeDetectionFailed","FeAccessTokenBegin","FeAccessTokenEnd","ApLaunchGameButtonDisplayed","FeFirstUptime","HpFirstUptime","ApFirstUptime","PortalFirstUptime","ApLaunchGameButtonViewed","FeLoginPageDisplayed","FeAuthProviderClicked","FeErrorScreen","FeLoginScreenUptime","FeSessionCompletedScreen","FeDisconnected","FeSessionCompleted","PwaBeforeInstallPrompt","FePlayAsGuestClicked","ApGameAutoLaunched","FePwaBeforeInstallPrompt","FeCreatePlayUserBegin","FeCreatePlayUserEnd","FeUserInteraction","FeChatBotPopUpDisplayed","IfpDisplayed","IfpClicked","FeOldAdsLayout","FeProfileIconClicked","FeUnsupportedBrowser","ApLaunchGameButtonClicked","FeNowbuxCounterStarted","FeNowbuxCounterStopped","FeNowBuxTimerCycleCompleted","FeNowBuxEnabled","FeNowBuxDisabled","ApWsupChatWidgetComponentMounted","ApWsupChatWidgetScriptLoaded","ApWsupChatWidgetScriptLoadError","ApDBlockScriptMounted","ApDBlockScriptUseEffectError","ApDBlockScriptUseEffectReturnError"]},62920:(e,t,n)=>{"use strict";n.d(t,{vuH:()=>tJ,L$p:()=>t9,eYt:()=>t_,z_4:()=>R,tFK:()=>k,jab:()=>L,r9O:()=>j,SuL:()=>F,CGS:()=>M,ob9:()=>ti,znv:()=>t8,jti:()=>tK,oCj:()=>ec,P5M:()=>K,oFY:()=>Q,VKc:()=>et,OLT:()=>ea,ZC2:()=>es,fEj:()=>el,NRj:()=>X,e5L:()=>em,m0v:()=>ey,fGS:()=>J,q1Y:()=>tr,M0g:()=>eg,UZ3:()=>$,ODc:()=>er,GIi:()=>eu,fv3:()=>ed,K90:()=>ep,pTh:()=>en,Tl3:()=>Y,g_8:()=>eo,PyA:()=>eG,UB7:()=>z,irw:()=>ef,BwX:()=>ei,$5N:()=>eh,odk:()=>ev,QVW:()=>V,odZ:()=>q,d75:()=>W,G6X:()=>Z,r1A:()=>ee,EpD:()=>f,XH1:()=>U,ZB3:()=>B,aPr:()=>G,$jL:()=>y,e4C:()=>h,sXX:()=>d,tuk:()=>tQ,Bmg:()=>T,LO2:()=>tb,i0Q:()=>e9,rEF:()=>e6,x3W:()=>I,pHP:()=>O,Uox:()=>H,FQ$:()=>tq,u4v:()=>td,sQ2:()=>tp,boD:()=>tc,a9:()=>t$,mUe:()=>eU,ezQ:()=>eM,oT1:()=>ej,$ne:()=>eH,vLN:()=>eW,eO5:()=>eE,syO:()=>e0,vIb:()=>eY,mpD:()=>eV,m1E:()=>eC,oTA:()=>e2,VWM:()=>eL,v9Q:()=>eF,ixx:()=>eK,caU:()=>eQ,T1w:()=>eX,Ikl:()=>eJ,KZd:()=>eq,s8l:()=>e$,lN2:()=>ez,_7k:()=>eZ,g30:()=>eB,Rgq:()=>e1,MZ:()=>ta,n3n:()=>e_,wHH:()=>eN,v9:()=>tk,kk8:()=>eI,tRz:()=>eO,KBH:()=>eR,J0m:()=>eP,pQd:()=>tM,pKk:()=>tY,tIK:()=>P,rKt:()=>tj,Hr_:()=>tH,Cph:()=>ts,mEK:()=>t1,M0u:()=>e3,G1w:()=>t7,meU:()=>te,Pxn:()=>tT,M$J:()=>tP,YoG:()=>t3,doM:()=>t5,G$3:()=>tI,I4d:()=>ew,QXH:()=>e7,AAi:()=>eb,XnJ:()=>tX,U_l:()=>g,rlj:()=>tf,zcy:()=>D,K5U:()=>tx,pH3:()=>tD,zvJ:()=>x,rPg:()=>tC,S3y:()=>tF,txv:()=>tL,I_I:()=>tN,bUq:()=>tw,Hsg:()=>tS,lIi:()=>th,v33:()=>ty,bFM:()=>tm,H_7:()=>tA,jad:()=>tv,dOB:()=>w,TW6:()=>nt,wGw:()=>tB,XOu:()=>tl,mEC:()=>tO,Sl:()=>tZ,Cpe:()=>tU,FA2:()=>t2,H$Y:()=>_,Nk_:()=>u,MTH:()=>s,c4L:()=>t6,y5H:()=>tG,cpZ:()=>tg,xwu:()=>b,BeU:()=>to,ceq:()=>tV,NYm:()=>e4,Vlg:()=>p,FY4:()=>ne,g6_:()=>a,RmT:()=>l,WM_:()=>i,XGk:()=>tt,pte:()=>tn,VNk:()=>e8,YSw:()=>r,kmF:()=>eT,RwR:()=>tz,z4F:()=>eS,ll$:()=>tW,NkS:()=>tR,eT9:()=>t4,gq2:()=>tu,$Lj:()=>N,H3b:()=>C,fM_:()=>eD,tqQ:()=>ek,YiN:()=>ex,E2K:()=>o,ilC:()=>m,kLH:()=>v,SQR:()=>E,gcw:()=>nn,p0j:()=>S,T51:()=>eA,Vd9:()=>tE,Ofs:()=>e5,FhF:()=>A,p53:()=>t0});var o,r,i,a,s,l,c=n(35402);let u={iceServers:[]},d={audio:{mute:"audio::mute",unmute:"audio::unmute"},backToGame:"backtogame",clipboard:"clipboard::",tab:"tabstatus::",location:"location::",reportproblem:"reportproblem",keyboard:{enable:"soft_keyboard::enable",disable:"soft_keyboard::disable"},openDeepLink:"open_deep_link::::"},p={[c.wD.FailureProxyUserLimitExceeded]:!0},f="com.bluestacks.appmart",g=1024,h="com.aptoide.partners.nowgg.store",y="10002",m="ng_token_v2",v="ng_token_expiry_v2",A="greetingShown",S="tryNowClicked",w="ngg-login-page-context",b="partnerToken",E="tokenScheme",_="gg.now.client.android",T={theme:"colored",position:"top-center",autoClose:5e3,hideProgressBar:!0,closeOnClick:!1,pauseOnHover:!1,draggable:!1,progress:void 0,style:{minWidth:"max-content"}},P={MIN:266,MAX:361},O="rotate-screen",I="portrait-mode",R="leaderboard",k="skyscraper",x="multi-ad-layout",D="mobile-anchor-ad",N="streaming-leaderboard-ad",C="streaming-small-leaderboard-ad",L="square-midroll-display-ad",F="square-midroll-video-ad",U="app-page-leaderboard",M="div-ad-square-midroll-video",j="div-ad-square-midroll-display",B="div-ad-app-page-leaderboard",G="div-ad-app-page-skyscraper",H=5,W="userAccountInfo",z="androidReady",V="topActivity",Y="screenorientation",$="keyboardStatus",q="trackEvent",J="noUserActivity",X="fwdToParentWindow",K="clipboard",Q="appcrash_fatal",Z="showDisconnectTimer",ee="discardDisconnectTimer",et="appCrashRetryComplete",en="openUrl",eo="paymentSDKURL",er="sendLocation",ei="sessionComplete",ea="showFileChooser",es="fileUploadResult",el="fileTransfer",ec="camera",eu="mic",ed="offer_camera",ep="offer_mic",ef="ADS::showRewardedVideoAd",eg="ADS::showInterstitialAd",eh="sessionMeta",ey="imgd",em="com.google.android.gms/.auth.uiflows.minutemaid.MinuteMaidActivity",ev="sideloadAppDownloadNotification",eA="updateNowbuxBalance",eS="sessionMigrated",ew="loginPrompted",eb="ngg-manualLogout",eE="pointerdown",e_="pointerup",eT={COMPLETE:"complete",INACTIVE:"inactive",MIGRATED:"migrated",DUPLICATE:"duplicate",DISCONNECTED:"disconnected"},eP="fe_uaSessionId",eO="customData",eI="fe_uaId",eR="fe-nowbux-played-seconds",ek="Search",ex="".concat(ek,"Window"),eD="Portal",eN="UserInteraction",eC="GameDisplayed",eL="LoginPageDisplayed",eF="LoginPageDisplayedInAndroid",eU="AuthProviderClicked",eM="AuthSuccess",ej="AuthSuccessInAndroid",eB="NowPassPlanClicked",eG="requestPointerCapture",eH="CreatePlayUserBegin",eW="CreatePlayUserEnd",ez="NowbuxIconClicked",eV="FirstNowbuxWonPromptDisplayed",eY="FirstNowbuxLoginToClaimClicked",e$="NowbuxExitPopupLostRewardDisplayed",eq="NowbuxExitPopupLoginPromptDisplayed",eJ="NowbuxExitPopupLoginToClaimClicked",eX="NowbuxDistributed",eK="NowbuxCounterStarted",eQ="NowbuxCounterStopped",eZ="NowBuxTimerCycleCompleted",e0="ErrorScreenReportIssue",e1="ProfileIconClicked",e2="InvalidIframe",e3="partnerName",e5="connected",e4="PlayToken",e8="RemoveAdsButtonClicked",e9="CloseAdButtonClicked",e6="CopyInviteLinkClicked",e7="LoginToInviteClicked",te="InvalidInviteDisplayed",tt="questOnboardingComplete",tn="questToastShown",to="PaymentOrderCreated",tr=["UserIdleTimeout","TabHiddenTimeout"],ti="ngg-ai-chat-experiment",ta={pointerdown:"MouseDown",keydown:"KeyDown",touchstart:"TouchDown"},ts=["NotFound",c.wD.FailureInvalidPlayToken,c.wD.FailureAppNotAvailable,c.wD.FailureMobileNotSupported,c.wD.FailureDesktopNotSupported,c.wD.FailureTabletNotSupported,c.wD.FailureOsNotSupported],tl=[c.wD.FailureMobileNotSupported,c.wD.FailureDesktopNotSupported,c.wD.FailureTabletNotSupported,c.wD.FailureOsNotSupported],tc={Failure:"3401",FailureInvalidParameter:"3402",FailureInvalidState:"3403"},tu=[{icon:{src:"/_next/static/media/discord.308beb79.svg",height:24,width:24,blurWidth:0,blurHeight:0},element:"DiscordIcon",channelUrl:"https://discord.gg/eHn8qk6K9w"},{icon:{src:"/_next/static/media/youtube.4281af53.svg",height:24,width:24,blurWidth:0,blurHeight:0},element:"YoutubeIcon",channelUrl:"https://www.youtube.com/channel/UCJ56IoBJr4vtNrtTw0CEpYg"}],td="https://discord.gg/dVnNnEDfGw",tp="https://discord.com/invite/eA8S27XbrY",tf="https://nowgg.zendesk.com/hc/en-us/articles/18575796578073",tg={mmoculture:"ad"};!function(e){e.TIME_LIMIT="SessionTimeLimitExceeded",e.BCPU_SPOT_INTERRUPTION="BcpuSpotInterruption",e.BGPU_SPOT_INTERRUPTION="BgpuSpotInterruption",e.MAINTENANCE="AppUnderMaintenance",e.PROXY_PLAYTIME_EXCEEDED="ProxyPlaytimeExceeded"}(o||(o={}));let th="ngg-fe-inviteId",ty="ngg-fe-triggeredBy",tm="ngg-free-time-secs",tv="ngg-is-new-user",tA="ngg-is-new-user-for-exp",tS="ngg-exit-modal-visible",tw="ngg-deep-link",tb="ngg-fe-video-channel",tE="ngg-video-title",t_="ngg-ad-free-popup-activated",tT="ngg-is-app-page-player-on",tP="ngg-is-required-auth-play-button-clicked",tO="ngg-nowbux-popup-viewed",tI={pre:"Pre",mid:"Mid",post:"Post",profile:"Profile",logout:"Logout",inviter:"inviter",invitee:"invitee",requireAuth:"RequireAuth",saveVideoToNowgg:"SaveVideoToNowgg",firstNowbuxPopup:"FirstNowbuxPopUp",exitNowbuxPopup:"ExitNowbuxPopUp",nowbuxWindow:"NowbuxWindow",premiumSubscription:"PremiumSubscription",nowBuxCreditModal:"NowBuxCreditModal"};!function(e){e.rewarded="rewarded",e.interstitial="interstitial"}(r||(r={}));let tR={tryAndDownload:"TryAndDownload",topBarRecommendationForLearning:"TopBarRecommendationForLearning",topBarRecommendation:"TopBarRecommendation",nowgg:"nowgg",iframe:"iFrame"},tk={[c.wD.FailureServiceNotInRegion]:"FAILURE_UNSUPPORTED_REGION",[c.wD.FailureTabletNotSupported]:"FAILURE_UNSUPPORTED_DEVICE",[c.wD.FailureOsNotSupported]:"FAILURE_UNSUPPORTED_DEVICE",[c.wD.FailureMobileNotSupported]:"FAILURE_UNSUPPORTED_DEVICE",[c.wD.FailureDesktopNotSupported]:"FAILURE_UNSUPPORTED_DEVICE",[c.wD.FailureExpiredCustomToken]:"FAILURE_EXPIRED_SESSION_TOKEN",[c.wD.FailureInvalidCustomToken]:"FAILURE_INVALID_SESSION_TOKEN",[c.wD.FailureNoResource]:"FAILURE_NO_RESOURCE",[c.wD.FailureUnderMaintenance]:"FAILURE_UNDER_MAINTENANCE",[c.wD.FailureTryAgain]:"FAILURE_TRY_AGAIN",[c.wD.Failure]:"FAILURE"},tx=50,tD=78,tN=620,tC=190,tL=0,tF=100,tU="https://cdn.now.gg/nowgg-static/",tM="".concat(tU,"fonts/fonts.css"),tj="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap",tB="ngVisitId",tG="PAGE_START_TIMESTAMP",tH="GTM_EVENT_SENT",tW="SESSION_START_TIMESTAMP",tz="SESSION_INCOMPLETE_REWARED_ADS_EVENT",tV={PENDING:"pending",LOADING:"loading",LOADED:"loaded",ERROR:"error"},tY="com.epicgames.fortnite",t$={AT:"Austria",BE:"Belgium",BG:"Bulgaria",HR:"Croatia",CY:"Cyprus",CZ:"Czech Republic",DK:"Denmark",EE:"Estonia",FI:"Finland",FR:"France",DE:"Germany",GR:"Greece",HU:"Hungary",IE:"Ireland, Republic of (EIRE) IE",IT:"Italy",LV:"Latvia",LT:"Lithuania",LU:"Luxembourg",MT:"Malta",NL:"Netherlands",PL:"Poland",PT:"Portugal",RO:"Romania",SK:"Slovakia",SI:"Slovenia",ES:"Spain",SE:"Sweden",GB:"United Kingdom"},tq={FeAdAddDisplayAdListenersCalled:!0,FeAdGPTCallbacksRegisterException:!0,FeAdGPTCallbacksRegistered:!0,FeTudeCustomEvent:!0,FeAndroidPlayerLoaded:!0,FeVideoElementLoaded:!0,FeSetRemoteDescriptionBegin:!0,FeSetRemoteDescriptionEnd:!0,FeCreateAnswerBegin:!0,FeCreateAnswerEnd:!0,FeSetAnswerSdpStarted:!0,FeDataChannelCallback:!0,FeWebRtcConnected:!0,FeDataChannelOpened:!0,FePreSessionRequestedError:!0,FePreSessionRequested:!0,FePreSessionRequestBeginError:!0,FePreSessionRequestBegin:!0,FeDuplicateTab:!0,FeDuplicateTab2:!0,FePlayPageLoaded:!0,FeAccessTokenBegin:!0,FeAccessTokenEnd:!0,FePreloaderDisplayed2:!0,FePreloaderDisplayed3:!0,FePlayTokenInitiated:!0,FePlayTokenBegin:!0,FePlayTokenEnd:!0,FeProxyDetected:!0,FePlayTokenSuccess:!0,FePlayTokenFailure:!0,FeSessionRequested:!0,FeBootstrap2:!0,FePortalViewed:!0,FeTopBarAppsDisplayed:!0,FeNowPassPlanClicked:!1,FeGetNowPassClicked:!0},tJ=10;!function(e){e.success="1",e.fail="2"}(i||(i={}));let tX=10;!function(e){e.UnifiedAppPage="UnifiedAppPage",e.PlayPage="PlayPage",e.BattleWorldDeveloperPage="BattleWorldDeveloperPage",e.NowBuxPage="NowBuxPage",e.HomePage="HomePage",e.AdSdkPage="AdSdkPage",e.NotFound="NotFound",e.Unspecified="Unspecified",e.Proxy="ProxyPage",e.JpHomePage="JpHomePage"}(a||(a={}));let tK="https://now.gg/games.html",tQ="https://now.gg/games/#category.html",tZ="portal",t0="51946",t1="https://now.gg/blog/product-updates.html";!function(e){e.bestValue="BEST VALUE",e.limitedOffer="LIMITED OFFER"}(s||(s={})),function(e){e.BottomBarRemoveAdsButton="BottomBarRemoveAdsButton",e.ProxyScreen="ProxyScreen",e.FloatingWidgetRemoveAdsButton="FloatingWidgetRemoveAdsButton",e.CloseAdsButton="CloseAdsButton",e.HeavyAdsLayoutRemoveAdsButton="HeavyAdsLayoutRemoveAdsButton",e.AdblockerModalFooter="AdblockerModalFooter",e.NowPremiumPlanScreen="NowPremiumPlanScreen",e.JpHomePage="JpHomePage",e.QueueScreen="QueueScreen",e.SidebarNowbuxRedeem="SidebarNowbuxRedeem",e.SubscriptionExpiredModal="SubscriptionExpiredModal"}(l||(l={}));let t2="".concat(tU,"assets/videos/now-pass.mp4"),t3="".concat(tU,"assets/videos/jp-home-page-banner-en.mp4"),t5="".concat(tU,"assets/videos/jp-home-page-banner-jp.mp4"),t4="ng-subscription-signin-source",t8="allowFpsRotation",t9="https://www.bluestacks.com/products/deals.html?utm_source=account&utm_medium=nowbux-account&utm_campaign=nowbux-account",t6={Completed:"complete",InProgress:"inprogress",CashedOut:"cashout",Expired:"expired"},t7=300,ne="proxyMonetizationPage",nt="ng_isAgeVerified",nn=["com.roblox.client","com.weaver.app.prod","ai.nextday.mobile.android.spicychat"]},63148:(e,t,n)=>{"use strict";n.d(t,{TH:()=>a,mN:()=>s});var o=n(19362);let r=(()=>{try{if("function"!=typeof SharedArrayBuffer||"object"!=typeof Atomics)return!1;if("object"==typeof WebAssembly&&"function"==typeof WebAssembly.instantiate){let e=new WebAssembly.Module(Uint8Array.of(0,97,115,109,1,0,0,0));if(e instanceof WebAssembly.Module)return new WebAssembly.Instance(e)instanceof WebAssembly.Instance}}catch(e){}return!1})(),i=window.document&&!("ontouchstart"in document.documentElement)&&r,a=()=>!(0,o.fU)()&&i,s=({deferrerd:{promise:null,resolve:null,reject:null},getDeferred(){if(!this.deferrerd.promise){let e={promise:null,resolve:null,reject:null},t=new Promise((t,n)=>{e.resolve=t,e.reject=n});e.promise=t,this.deferrerd=e}return this.deferrerd}}).getDeferred()},64320:(e,t,n)=>{"use strict";n.d(t,{Kq:()=>c,wA:()=>f,d4:()=>h});var o=n(14232),r=o.createContext(null),i=function(e){e()},a={notify:function(){},get:function(){return[]}};function s(e,t){var n,o=a;function r(){l.onStateChange&&l.onStateChange()}function s(){if(!n){var a,s,l;n=t?t.addNestedSub(r):e.subscribe(r),a=i,s=null,l=null,o={clear:function(){s=null,l=null},notify:function(){a(function(){for(var e=s;e;)e.callback(),e=e.next})},get:function(){for(var e=[],t=s;t;)e.push(t),t=t.next;return e},subscribe:function(e){var t=!0,n=l={callback:e,next:null,prev:l};return n.prev?n.prev.next=n:s=n,function(){t&&null!==s&&(t=!1,n.next?n.next.prev=n.prev:l=n.prev,n.prev?n.prev.next=n.next:s=n.next)}}}}}var l={addNestedSub:function(e){return s(),o.subscribe(e)},notifyNestedSubs:function(){o.notify()},handleChangeWrapper:r,isSubscribed:function(){return!!n},trySubscribe:s,tryUnsubscribe:function(){n&&(n(),n=void 0,o.clear(),o=a)},getListeners:function(){return o}};return l}var l="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?o.useLayoutEffect:o.useEffect;let c=function(e){var t=e.store,n=e.context,i=e.children,a=(0,o.useMemo)(function(){var e=s(t);return{store:t,subscription:e}},[t]),c=(0,o.useMemo)(function(){return t.getState()},[t]);l(function(){var e=a.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),c!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}},[a,c]);var u=n||r;return o.createElement(u.Provider,{value:a},i)};function u(){return(0,o.useContext)(r)}function d(e){void 0===e&&(e=r);var t=e===r?u:function(){return(0,o.useContext)(e)};return function(){return t().store}}n(23520),n(74817);var p=d(),f=function(e){void 0===e&&(e=r);var t=e===r?p:d(e);return function(){return t().dispatch}}(),g=function(e,t){return e===t},h=function(e){void 0===e&&(e=r);var t=e===r?u:function(){return(0,o.useContext)(e)};return function(e,n){void 0===n&&(n=g);var r=t(),i=function(e,t,n,r){var i,a=(0,o.useReducer)(function(e){return e+1},0)[1],c=(0,o.useMemo)(function(){return s(n,r)},[n,r]),u=(0,o.useRef)(),d=(0,o.useRef)(),p=(0,o.useRef)(),f=(0,o.useRef)(),g=n.getState();try{if(e!==d.current||g!==p.current||u.current){var h=e(g);i=void 0!==f.current&&t(h,f.current)?f.current:h}else i=f.current}catch(e){throw u.current&&(e.message+="\nThe error may be correlated with this previous error:\n"+u.current.stack+"\n\n"),e}return l(function(){d.current=e,p.current=g,f.current=i,u.current=void 0}),l(function(){function e(){try{var e=n.getState();if(e===p.current)return;var o=d.current(e);if(t(o,f.current))return;f.current=o,p.current=e}catch(e){u.current=e}a()}return c.onStateChange=e,c.trySubscribe(),e(),function(){return c.tryUnsubscribe()}},[n,c]),i}(e,n,r.store,r.subscription);return(0,o.useDebugValue)(i),i}}();i=n(98477).unstable_batchedUpdates},64416:(e,t,n)=>{"use strict";n.d(t,{Cm:()=>c,I1:()=>l,Ic:()=>u,Mv:()=>s,eD:()=>d});var o=n(86887),r=n(59319),i=n(80688);let a=e=>{let t=!1;return e.forEach(e=>{let[n,o]=e.split(":");i.a[n]===o&&(t=!0)}),t},s=e=>{if(e){let t="";e.ControlSchemes=e.ControlSchemes.filter(e=>{o.Ay.schemes[e.Name]=e;let t=(e=>{let t=[];try{e.forEach(e=>{let[n,o]=e.split(":");"experienceId"===n&&t.push(o)})}catch(e){}return t})(e.SchemeTags);if(t.length){for(let n=0;n(n.isGamepadControlsPresent=!1,n.SchemeTags&&a(n.SchemeTags)?t=n.Name:!t&&n.Selected&&(t=n.Name),n.Selected=n.SchemeTags&&a(n.SchemeTags),n.GameControls=n.GameControls.map(e=>(e.Type===i.J3.Tap||e.Type===i.J3.TapRepeat||e.Type===i.J3.Swipe?n.isGamepadControlsPresent=!!(n.isGamepadControlsPresent||e.Key_alt1):e.Type===i.J3.Dpad?n.isGamepadControlsPresent=!!(n.isGamepadControlsPresent||e.GamepadStick||e.KeyUp_alt1||e.KeyDown_alt1||e.KeyLeft_alt1||e.KeyRight_alt1):e.Type===i.J3.MOBASkill?n.isGamepadControlsPresent=!!(n.isGamepadControlsPresent||e.GamepadStick):"Pan"===e.Type&&(n.isGamepadControlsPresent=!!(n.isGamepadControlsPresent||e.KeyStartStop_alt1||e.KeySuspend_alt1||e.KeyLookAround_alt1||e.GamepadStick)),e)),n.isGamepadControlsPresent=!!n.isGamepadControlsPresent,e.anySchemeHasGamepad=e.anySchemeHasGamepad||n.isGamepadControlsPresent,n)),e.ControlSchemes=e.ControlSchemes.map(e=>(e.Name===t?e.Selected=!0:e.Selected=!1,e)),e.ControlSchemes.map(e=>{let t=e.GameControls.reduce((e,t)=>((e[t.GuidanceCategory||""]=e[t.GuidanceCategory||""]||[]).push(t),e),{}),n=[];return Object.keys(t).forEach(e=>{n.push(...t[e])}),e.GameControls=n,e})}return e},l=(e,t)=>(t.ControlSchemes=t.ControlSchemes.map(t=>(t.Selected&&(t.GameControls=t.GameControls.map(t=>"lol.onevone"===e&&"Pan"===t.Type?Object.assign(Object.assign({},t),{Sensitivity:.3}):t)),t)),t),c=(e,t,n)=>"https://".concat(n,"/get_cfg_info?package_name=").concat(e,"&parser_version=").concat(t),u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};window.dispatchEvent(new CustomEvent(e,{detail:t}))},d=(e,t,n)=>{try{(0,r.Ay)(Error("IMAP: ".concat(t)),{gameInfo:Object.assign({error:e,package:o.Ay.packageName},n)})}catch(e){(0,r.Ay)(e,{gameInfo:Object.assign({error:e},n)})}}},64451:(e,t,n)=>{e.exports=n(19031).Symbol},65364:(e,t,n)=>{"use strict";var o,r;e.exports=(null==(o=n.g.process)?void 0:o.env)&&"object"==typeof(null==(r=n.g.process)?void 0:r.env)?n.g.process:n(15861)},65712:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>g,Fe:()=>u,QU:()=>p,mW:()=>f,ze:()=>d});var o=n(62920),r=n(71278),i=n(10025),a=n(59803),s=n(70780),l=n(56047),c=n(29359);let u=()=>{let e=r.A.getState(),{videoRef:t}=e.play;t&&t.current&&(t.current.muted=!1);let n=0===e.appPreferences.volume?parseFloat(sessionStorage.getItem("userVolume")||"0"):e.appPreferences.volume;((0,l.Fr)()||(0,l.v1)()||(0,l.bh)())&&(n=1),r.A.dispatch({type:a.A.VOLUME,payload:{volume:n}}),r.A.dispatch({type:s.A.MUTE,payload:{muted:!1}}),(0,i.vd)(o.sXX.audio.unmute)},d=()=>(function(e,t,n,o){return new(n||(n=Promise))(function(r,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((o=o.apply(e,t||[])).next())})})(void 0,void 0,void 0,function*(){let{video:e}=(yield n.e(3770).then(n.bind(n,53770))).default;return(yield e({inline:!0})).result}),p=()=>{let{videoRef:e}=r.A.getState().play;e&&e.current&&(e.current.muted=!0),r.A.dispatch({type:s.A.MUTE,payload:{muted:!0}}),(0,i.vd)(o.sXX.audio.mute)},f=e=>{var t,n;try{let o=(null==(n=null==(t=null===c.Ay||void 0===c.Ay?void 0:c.Ay.appInfo)?void 0:t.playFeFeatures)?void 0:n.feAnswerSdpModifications)||[];for(let t=0;t{var o=n(78598);e.exports=function(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}},67648:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>h,Ip:()=>p,P0:()=>f,j5:()=>g,vX:()=>m});var o=n(71278),r=n(29359),i=n(83515),a=n(62920),s=n(56047),l=n(37110),c=n(5241),u=n(42920),d=function(e,t,n,o){return new(n||(n=Promise))(function(r,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((o=o.apply(e,t||[])).next())})};let p=9e5;function f(){let e=Math.min(Math.floor(performance.now()/p),12),t="test"===(0,s.Ri)("cw-test-20250417-refresh-limiter");return"".concat(e+13*!!t)}let g=()=>{let e={},{ipv4:t,ipv6:n}=window.nggClientIpInfo||{};t&&"NA"!==t&&(e.i4=t),n&&"NA"!==n&&(e.i6=n),window.tude.cmd.push(()=>d(void 0,void 0,void 0,function*(){let t="",n=(0,i.VM)();if(n&&(t=JSON.parse(JSON.stringify(n)).email),t)try{let n;t=yield(n=t,d(void 0,void 0,void 0,function*(){let e=new TextEncoder().encode(n);return Array.from(new Uint8Array((yield crypto.subtle.digest("SHA-256",e)))).map(e=>e.toString(16).padStart(2,"0")).join("")}));let o=Object.assign(Object.assign({},e),{e:t});window.tude.setIdProfile(Object.assign({},o))}catch(e){}}))},h=e=>{var t;let n=o.A.getState().play.servingRegion,i="true"===sessionStorage.getItem("gdprApplies"),c=r.Ay.compressedPackage||"",{utmCampaign:d,utmSource:p}=(0,r.Zl)(),g="true"===sessionStorage.getItem(a.jad),h="now.us"===window.location.hostname,y=(0,u.kj)(),m={};(null==y?void 0:y.toLowerCase())==="takeone"&&(m["ngg-longtail"]="takeone");let v=null==(t=null==window?void 0:window.adshield)?void 0:t.isAdBlockerDetected,A=Object.assign(Object.assign(Object.assign(Object.assign({game:null==e?void 0:e.appSlug,genre:null==e?void 0:e.appGenre,"instance-region":n,ads_project:"v3",ads_site:"nowgg_proxy"===d?"mathsspot":"ropro"===d?"ropro":"fredboat"===d?"fredboat":"carl"===d?"carl":h?"nowus":"nowgg",app_package:e.packageName.length<40?e.packageName:c,utype:g?"new":"returning",ads_status:(0,s.Yw)(),ads_device:(0,s.el)().feDeviceType},{ads_device_res:(0,s.tp)(),ads_device_typ1:(0,s.O7)(),ads_device_typ2:(0,s.eo)(),ads_device_typ3:(0,s.ns)()}),{ad:d,inc:r.Ay.incognitoMode||l.PI.UNKNOWN,evar:(null===r.Ay||void 0===r.Ay?void 0:r.Ay.ssrEvar)||"",tbin:f(),dblock_detect:"boolean"==typeof v?v?"y":"n":"u"}),(0,s.mZ)()),m);return i&&(A.cs="true"===sessionStorage.getItem("userConsent")?"t":"f"),"gamepix"===p&&(A.ads_campaign="gamepix"),A},y=!1;function m(e,t){y||((0,c.sx)("PrerollEnd",{endReason:e,isFallback:t}),y=!0)}},67768:(e,t,n)=>{"use strict";let o;n.d(t,{$B:()=>R,ds:()=>E,lp:()=>T,wI:()=>O});var r=n(71278),i=n(5241),a=n(29822),s=n(29359),l=n(59319),c=n(70780),u=n(56047),d=n(9097),p=n(37110),f=n(35402),g=n(79356),h=n(23746),y=n(62920),m=n(84109),v=n(10025),A=n(4858),S=n(18808);let w=-1,b=-1,E=["custom-rewarded-banner-1","custom-rewarded-banner-2","custom-rewarded-video-adx"],_=null;function T(){_&&clearInterval(_)}function P(){var e;return"rwd_ad_".concat(null==(e=null===s.Ay||void 0===s.Ay?void 0:s.Ay.appInfo)?void 0:e.packageName)}function O(){T(),(0,u.LD)()&&(0,A.f_)((0,A.Dh)())&&!(0,u.xl)()&&r.A.dispatch({type:c.A.UPDATE_PLAY_STATE,payload:{showMobileHeaderFooter:!0}}),_=setInterval(()=>{var e;let{rewardedPremiumTimeInSec:t}=r.A.getState().ads,{enableLowCostUi:n}=(null==(e=null===s.Ay||void 0===s.Ay?void 0:s.Ay.appInfo)?void 0:e.playFeFeatures)||{},o=t-1;if(o>=0)r.A.dispatch({type:a.A.UPDATE_REWARDED_AD_STATUS,payload:{rewardedPremiumTimeInSec:o}});else{let e=localStorage.getItem(P()),o=e?new Date(e):null,l=0;if(o){let e=new Date;if(o.getDate()===e.getDate()&&o.getMonth()===e.getMonth()&&o.getFullYear()===e.getFullYear()){let t=Math.floor((e.getTime()-o.getTime())/1e3);l=t>=300?0:300-t}else l=300,localStorage.setItem(P(),"".concat(new Date().toISOString()))}else l=300,localStorage.setItem(P(),"".concat(new Date().toISOString()));r.A.dispatch({type:a.A.UPDATE_REWARDED_AD_STATUS,payload:{rewardedPremiumTimeInSec:n?l:0}}),T(),(0,A.Ry)(),n&&(l?((0,u.FY)(),O()):((0,u.Bw)()?(0,v.gD)():r.A.dispatch({type:a.A.UPDATE_REWARDED_AD_STATUS,payload:{initialRwdAdHangup:!0}}),r.A.dispatch({type:a.A.UPDATE_REWARDED_AD_STATUS,payload:{showAddMoreTimeFirstAdPopover:!0}})));let p=r.A.getState().play.activeSubscriptionTimeSecs;(0,u.LD)()?setTimeout(()=>{let e=r.A.getState();(0,A.Ed)()&&!e.play.nowPremiumSubscriptionActive&&!e.ads.isRewardedAdPlaying&&!(0,A.iD)()&&(0,d.Gt)()&&((0,i.sx)("WatchFirstAdFreePlaytimeClicked",{nowPassSource:"autoRenew"}),R())},0):s.Ay.isMultiSubscriptionFlow&&t<1&&p<1&&!(0,u.ZA)()&&((0,v.gD)(),r.A.dispatch({type:c.A.UPDATE_PLAY_STATE,payload:{isSubscriptionExpiredInMiddleOfGame:!0,showMultiSubscriptionModal:!0}}))}},1e3)}function I(e){var t,n,o,i,a;let l=r.A.getState(),{videoRef:c}=l.play,u=(null==(t=null==c?void 0:c.current)?void 0:t.clientHeight)||0,d=(null==(n=null==c?void 0:c.current)?void 0:n.clientWidth)||0,p=window.devicePixelRatio,{adBlocker:f}=l.ads,g=(null==(o=null==e?void 0:e.slot)?void 0:o.getSlotElementId())||"";return{retryCount:w,repeatCount:b,adContext:"Rewarded",adType:"Video",viewPortInnerWidth:window.innerWidth,viewPortInnerHeight:window.innerHeight,androidWidth:u,androidHeight:d,pixelRatio:p,isTabVisible:"visible"===document.visibilityState,isTudeLoaded:void 0!==(null==(i=null==window?void 0:window.tude)?void 0:i.refreshAdsViaDivMappings),isGptLoaded:void 0!==(null==(a=null==window?void 0:window.googletag)?void 0:a.pubads),adBlocker:f,slotId:g,adSlot:S.r.NEW_REWARDED_ADS,ssrEvar:(null===s.Ay||void 0===s.Ay?void 0:s.Ay.ssrEvar)||""}}function R(e){try{s.Ay.isMultiSubscriptionFlow&&r.A.getState().ads.imaError&&r.A.dispatch({type:c.A.UPDATE_PLAY_STATE,payload:{adBlockerMethodType:S.Y.DEV_AD_BLOCKER}}),window.tude=window.tude||{cmd:[],initCustomRewarded:()=>{}};let t={countdownTime:60};e===y.FY4&&(t.text={heading:"Watch 2 minutes of ads to get 20 minutes of ad-free experience. \nStay on this page to ensure your coupon is successfully generated"},t.countdownTime=120),((null===s.Ay||void 0===s.Ay?void 0:s.Ay.isMultiSubscriptionFlow)||(0,u.RT)())&&(t.countdownTime=120),(0,u.LD)()&&(t.text={heading:"Watch 2 minutes of ads to get 20 minutes of ad-free experience. \nStay on this page to ensure your coupon is successfully generated"},t.countdownTime=120),window.tude.cmd.push(()=>{w+=1,b+=1,(0,i.sx)("AdRequested",Object.assign({adWidth:"100vw",adHeight:"100vh",source:e},I()));let n=window.tude.initCustomRewarded(Object.assign({onOpen:t=>{let n="unknown",o="unknown";try{let e=null==t?void 0:t.target;if(e){let{width:t,height:r}=e.getBoundingClientRect();n="number"==typeof t?"".concat(Math.round(t),"px"):n,o="number"==typeof r?"".concat(Math.round(r),"px"):o}}catch(e){}e===y.FY4&&(0,h.tR)(),r.A.dispatch({type:a.A.UPDATE_REWARDED_AD_ERROR,payload:{isRewardedAdPlaying:!0,rewardedAdFirstInfoPopup:!1}}),(0,i.sx)("AdDisplayed",Object.assign({adWidth:n,adHeight:o,source:e,isSlotRewardGranted:!0},I()))},onSkip:()=>{(0,A.Zj)(!1),clearTimeout(o)},onRewardGranted:()=>{(0,A.Zj)(!0),o=setTimeout(()=>{(0,A.vf)()},2e3)},onClose:function(){for(var t=arguments.length,n=Array(t),o=0;o{(0,s.hk)(),window.location.reload()},0);return}if(!(0,u.LD)()&&(0,d.UE)()){if(!r.A.getState().auth.isLoggedIn){(0,i.sx)("RewardEarned",{rewardType:"nowbux",value:1}),(0,d.M6)(),r.A.dispatch({type:c.A.UPDATE_PLAY_STATE,payload:{showNowBuxCreditedModal:!0}});return}try{let e=yield(0,g.vs)("CR");e.status===f.wD.Success?((0,u.B3)(),(0,i.sx)("RewardEarned",{rewardType:"nowbux",value:1}),r.A.dispatch({type:c.A.UPDATE_PLAY_STATE,payload:{showNowBuxCreditedModal:!0}})):e.status===f.wD.FailureNowbuxCreditLimitExceeded&&r.A.dispatch({type:c.A.UPDATE_PLAY_STATE,payload:{nowbuxCreditLimitExceeded:!0,showNowBuxCreditedModal:!0,isUserCreditEligible:e.isUserCreditEligible}})}catch(e){(0,l.Ay)("handleRewardGrant: failed",{error:JSON.stringify(e)})}return}if(e===y.FY4)return void r.A.dispatch({type:a.A.UPDATE_REWARDED_AD_STATUS,payload:{isRewardedAdPlaying:!1,rewardedAdFirstLoading:!1,showAddMoreTimeFirstAdPopover:!1,isRewardedAdRewardGrantProcessCompleted:!0}});let t=60*(0,A.Jo)();T();let n=r.A.getState().ads.rewardedPremiumTimeInSec;(0,u.LD)()&&(n=(0,A.f_)((0,A.Dh)()));let o=Math.max(n,0)+t,h=new Date;if(h.setSeconds(h.getSeconds()+o),(0,A.HZ)(h.toISOString()),r.A.dispatch({type:a.A.UPDATE_REWARDED_AD_STATUS,payload:{rewardedPremiumTimeInSec:o,isRewardedAdPlaying:!1,rewardedAdFirstLoading:!1,showAddMoreTimeFirstAdPopover:!1}}),(0,i.sx)("RewardEarned",{rewardType:"playtime",value:t}),(0,u.LD)()){let e=localStorage.getItem(y.eYt),t=!1;if(e){let[n,o]=e.split(",");o&&3>Number(o)&&new Date().toDateString()!==new Date(n).toDateString()&&(t=!0)}else t=!0;t&&r.A.dispatch({type:c.A.UPDATE_PLAY_STATE,payload:{isAddFreeModePopupVisible:!0}})}O();let{isSubscriptionExpiredInMiddleOfGame:m}=r.A.getState().play;m?((0,s.hk)(),window.location.reload()):(null===s.Ay||void 0===s.Ay?void 0:s.Ay.isMultiSubscriptionFlow)&&n<1&&r.A.dispatch({type:c.A.UPDATE_PLAY_STATE,payload:{autoLaunchByMultiSubscriptionModal:(null===s.Ay||void 0===s.Ay?void 0:s.Ay.isMultiSubscriptionFlow)&&!(0,u.ZA)()?p.Dx.REWARDED_ADS:""}})},new(o||(o=Promise))(function(e,r){function i(e){try{s(h.next(e))}catch(e){r(e)}}function a(e){try{s(h.throw(e))}catch(e){r(e)}}function s(t){var n;t.done?e(t.value):((n=t.value)instanceof o?n:new o(function(e){e(n)})).then(i,a)}s((h=h.apply(t,n||[])).next())})}(e);else{e===y.FY4&&r.A.dispatch({type:c.A.UPDATE_COUPON_GENERATION_STATE,payload:{isGeneratingCoupon:!1}});let t=(0,A.f_)((0,A.Dh)());r.A.dispatch({type:a.A.UPDATE_REWARDED_AD_STATUS,payload:{isRewardedAdPlaying:!1,rewardedAdFirstLoading:!1,showAddMoreTimeFirstAdPopover:!!((0,u.RT)()&&t<=0&&!(0,A.LT)())}});let n=r.A.getState();if((0,u.LD)()&&t<1&&!(0,u.ZA)()&&!n.play.nowPremiumSubscriptionActive){(0,A.M6)(!0),r.A.dispatch({type:c.A.SET_ERROR,payload:{error:f.wD.FailureInsufficientPlaytime,errorCode:"3103",clientId:"",sessionId:"",isAndroidConnected:!1,errorDescription:"aditudeInitCustomRewardedAd - insufficient playtime"}});let e=r.A.getState().nowbuxRewards.accumulatedTimeSecs;(0,i.sx)(y.caU,{reason:f.wD.FailureInsufficientPlaytime,accumulatedTimeSecs:e}),(0,m.J5)()}}}},t));(0,A.LD)(n)})}catch(e){}}},68128:(e,t,n)=>{"use strict";e.exports=n(29044)},68329:(e,t,n)=>{var o=n(50224);e.exports=function(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=o&&void 0===t?"__lodash_hash_undefined__":t,this}},69025:(e,t,n)=>{"use strict";n.d(t,{Z2:()=>W,ZT:()=>P,MR:()=>G,lb:()=>j,wF:()=>H,dg:()=>B,Xy:()=>D,JZ:()=>$,ch:()=>M,fu:()=>V,xE:()=>Y});var o=n(10025),r=n(71278),i=n(70780),a=n(56047),s=n(92634),l=n(5241),c=n(62920),u=n(99342),d=n.n(u),p=n(54935),f=n.n(p),g=n(29359),h=n(83455),y=n(49268),m=n(47078),v=n(25553),A=n(6801),S=n(49889);let w={0x8834f7b:.9765625,0xa4256a9d:.9765625,0xd5d6b999:.9765625,0x36df0be5:.9765625,0xb10df6d:.9765625,0x10bb5755f:.9765625,0x24c71f90e:.9765625,0x112430846:.9765625};var b=n(10253),E=n(1719),_=n(46075);let T=A.yY,P=(e,t)=>{let n=new ArrayBuffer(4+4*t.length),o=new Int32Array(n);o[0]=e;for(let e=1;e<=t.length;e+=1)o[e]=t[e-1];return n},O=-1,I=-1,R=0,k=!1,x=!1,D={x:-1,y:-1},N=()=>{var e,t;let{videoRef:n}=r.A.getState().play,o=null==(e=null==n?void 0:n.current)?void 0:e.offsetWidth,i=null==(t=null==n?void 0:n.current)?void 0:t.offsetHeight,a=0,s=0;return o&&i&&(a=Math.round(D.x/i*A.yO),s=Math.round(D.y/o*A.yO)),{x:a,y:s}},C=function(e,t,n,r,i){let a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];i?(0,o.fE)(P(a?A.E4:A.z6,[e,t,n,r])):(0,o.vd)(P(a?A.E4:A.z6,[e,t,n,r]))},L=!1,F=(e,t,n,o)=>{let r=Math.floor(e/n*A.yO),i=Math.floor(t/o*A.yO);C(0,Math.floor(r),Math.floor(i),0,!1),C(5,Math.floor(r),Math.floor(i),0,!1),L=!1},U=e=>(0,o.UJ)()?[e.offsetWidth,e.offsetHeight]:[e.offsetHeight,e.offsetWidth],M=(e,t,n)=>{var i,s,l,u,p,h,P,D;let N=r.A.getState();if(N.appPreferences.legacyControls)return;let M=A.g5[(e=>{switch(e.type){case c.eO5:return"InpMouse".concat(A.Tl[e.button],"Down");case c.n3n:return"InpMouse".concat(A.Tl[e.button],"Up");case"pointermove":return"InpMouseMove";case"wheel":return"InpMouseWheel";case"pointerleave":if(!0===S.zR.pressed[0])return"InpMouse".concat(A.Tl[0],"Up");return"";default:return""}})(e)],j=null==e?void 0:e.target,B=(0,o.LI)(),G=N.play.pointerCaptureStatus;if(G&&(0,a.ZZ)()){let[t,n]=(0,y.dG)(e),o=N.appPreferences.mouseSensitivity;(d()(o)||f()(o)||Number.isNaN(o))&&(o=c.Uox),C(M,t*o*2,n*o*3,Math.floor(-e.deltaY)||0,!1,!0);return}if(document.pointerLockElement){let[o,l]=U(j);if(e.type!==c.eO5&&e.type!==c.n3n){let[t,n]=(0,y.dG)(e),o=(e=>((d()(e)||f()(e)||Number.isNaN(e))&&(e=c.Uox),e>=c.Uox?1+(e-c.Uox)/2:1/(1+(c.Uox-e)/2)))(N.appPreferences.mouseSensitivity);O+=t*o,I+=n*o,R=10*Math.sqrt(t*t+n*n)}if(!(null==(s=null==(i=g.Ay.appInfo)?void 0:i.playFeFeatures)?void 0:s.enableNativePointer)){let e=w[B]||(B?.703125:null);if(e){if(I>l&&(I=l),I<0&&(I=0),O>o){let t=(0,v.A)(o*S.zR.splitScreenPerc,2);O=t+(o-t)*(1-e),k=!0}if(Ol&&(I=0,k=!0),I<0&&(I=l,k=!0),O>o&&(O=0,k=!0),Ol&&(I=0,k=!0),I<0&&(I=l,k=!0)),t=O,n=I;let{videoRef:u,fullscreenWidgetRef:p,isFullscreen:h}=N.play;h&&((e,t,n,o,i)=>{let{play:a}=r.A.getState();if(a.shiftLockActive)return;let s=null==e?void 0:e.getBoundingClientRect(),l=null==t?void 0:t.getBoundingClientRect();if(s&&l){let e=s.x<=l.x+n&&s.x+s.width>=l.x+n,t=s.y<=l.y+o&&s.y+s.height>=l.y+o;e&&t&&(document.exitPointerLock(),"midRoll"===i&&(x=!0))}})(null==p?void 0:p.current,null==u?void 0:u.current,t,n,"fsWidget")}let H=(0,m.VW)(B);if((null==H?void 0:H.type)==="ChangeNativeToTouch"){let e=(null==(l=H.coord)?void 0:l.x)?Math.round(((null==(u=H.coord)?void 0:u.x)+1.1)*j.offsetHeight/100):t,r=(null==(p=H.coord)?void 0:p.y)?Math.round(((null==(h=H.coord)?void 0:h.y)+2.5)*j.offsetWidth/100):n;if(M===A.g5.InpMouseLDown){let i=Object.keys(E.ly.downMap);i.forEach(e=>{let t=new ArrayBuffer(4),n=new Uint8Array(t);n[0]=_.P4.NATIVE_UP,n[1]=1,n[2]=Number(e),n[3]=0,(0,o.vd)(t)}),S.zR.pressed[2]&&C(6,Math.floor(Math.floor(t/(null==j?void 0:j.offsetHeight)*A.yO)),Math.floor(Math.floor(n/(null==j?void 0:j.offsetWidth)*A.yO)),0,!1),(0,b.c)(A.Ls.DOWN,[0,e,r]),(0,b.c)(A.Ls.UP,[0,e,r]),setTimeout(()=>{i.forEach(e=>{let t=new ArrayBuffer(4),n=new Uint8Array(t);n[0]=_.P4.NATIVE_DOWN,n[1]=1,n[2]=Number(e),n[3]=0,(0,o.vd)(t)})},5);return}let{shiftLockActive:i}=N.play;if((S.zR.pressed[2]||M===A.g5.InpMouseLDown&&i)&&(L=!0),M===A.g5.InpMouseLUp&&L)return void F(t,n,null==j?void 0:j.offsetHeight,null==j?void 0:j.offsetWidth)}L&&F(t,n,null==j?void 0:j.offsetHeight,null==j?void 0:j.offsetWidth);let[W,z]=U(j);if(M===A.g5.InpMouseMove){let o=Math.floor(t/W*A.yO);if(null==(D=null==(P=null===g.Ay||void 0===g.Ay?void 0:g.Ay.appInfo)?void 0:P.playFeFeatures)?void 0:D.enableNativePointer){k=!1;let e=Number((t/(null==j?void 0:j.offsetHeight)).toFixed(2));e<-.1&&(o=Math.floor(.98*A.yO),O=Math.floor((null==j?void 0:j.offsetHeight)*.98)),e>1.1&&(o=Math.floor(.02*A.yO),O=Math.floor((null==j?void 0:j.offsetHeight)*.02)),(0,a.Bm)()&&!G&&(t>=(null==j?void 0:j.offsetHeight)&&(t=null==j?void 0:j.offsetHeight,O=(null==j?void 0:j.offsetHeight)-1),t<=0&&(t=1,O=1)),(0,a.Bm)()&&G||(n>=(null==j?void 0:j.offsetWidth)&&(n=null==j?void 0:j.offsetWidth,I=(null==j?void 0:j.offsetWidth)-1),n<=0&&(n=1,I=1))}let r=Math.floor(n/z*A.yO);k?(k=!1,setTimeout(()=>{C(M,o,r,Math.floor(e.deltaY)||0,!0)},Math.min((1e3-R)/20,20))):C(M,o,r,Math.floor(e.deltaY)||0,!0)}else if(M===A.g5.InpMouseWheel){if(T<=0||T===A.yY||Math.abs(e.deltaY)>100){let o=e.deltaY<0?Math.abs(e.deltaY):-1*e.deltaY;C(M,Math.floor(t/(null==j?void 0:j.offsetHeight)*A.yO),Math.floor(n/(null==j?void 0:j.offsetWidth)*A.yO),Math.floor(S.zR.isRoblox?o/120:o),!0),T=A.yY-1;return}T-=1}else{let o=(t/W||1)*A.yO,r=(n/z||1)*A.yO;o<0&&(o=0),r<0&&(r=0),o>A.yO&&(o=A.yO),r>A.yO&&(r=A.yO),C(M,Math.floor(o),Math.floor(r),Math.floor(e.deltaY)||0,!1)}},j=()=>{let{shiftLockActive:e}=r.A.getState().play;if(!document.pointerLockElement&&(S.zR.lastMouseLockExitTime=Date.now(),r.A.dispatch({type:i.A.UPDATE_MOUSE_LOCK,payload:{mouseLockActive:!1}}),document.removeEventListener("pointerlockchange",j),document.removeEventListener("mozpointerlockchange",j),document.removeEventListener("webkitpointerlockchange",j),document.removeEventListener("pointerlockerror",j),document.removeEventListener("mozpointerlockerror",j),document.removeEventListener("webkitpointerlockerror",j),e)){let{x:e,y:t}=N();C(A.g5.InpMouseRUp,e,t,0,!1),r.A.dispatch({type:i.A.UPDATE_SHIFT_LOCK}),(0,l.sx)(c.wHH,{element:"ShiftLock",state:"Disabled",robloxExperience:r.A.getState().play.robloxExperienceId})}},B=function(e,t){var n,o;let a=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(arguments.length>3&&void 0!==arguments[3]&&arguments[3],document.pointerLockElement)return;let l=r.A.getState(),{videoRef:c}=l.play;if(c&&"function"==typeof(null==(n=c.current)?void 0:n.requestPointerLock))try{let n=null==(o=null==c?void 0:c.current)?void 0:o.getBoundingClientRect(),u=e>=n.left&&e<=n.left+n.width,d=t>=n.top&&t<=n.top+n.height;u&&d?(O=e,I=t):(O=c.current.clientHeight/2,I=c.current.clientWidth/2);try{document.pointerLockElement||c.current.requestPointerLock()}catch(e){return}!l.play.isFullscreen&&a&&l.user.mouseLockOnboardingCount<3&&(r.A.dispatch({type:i.A.UPDATE_MOUSE_LOCK,payload:{showMouseLockOnboarding:!0}}),r.A.dispatch({type:s.A.MOUSE_LOCK_ONBOARDING_COUNT,payload:{mouseLockOnboardingCount:l.user.mouseLockOnboardingCount+1}})),r.A.dispatch({type:i.A.UPDATE_MOUSE_LOCK,payload:{mouseLockActive:!0}}),document.addEventListener("pointerlockchange",j,!1),document.addEventListener("mozpointerlockchange",j,!1),document.addEventListener("webkitpointerlockchange",j,!1),document.addEventListener("pointerlockerror",j,!1),document.addEventListener("mozpointerlockerror",j,!1),document.addEventListener("webkitpointerlockerror",j,!1)}catch(e){}},G=()=>{B(D.x,D.y,!1,"fromShiftLock");let{x:e,y:t}=N();C(A.g5.InpMouseRDown,e,t,0,!1),o.mZ.lockS=!0},H=()=>{let{x:e,y:t}=N();C(A.g5.InpMouseRUp,e,t,0,!1),"function"==typeof document.exitPointerLock&&document.exitPointerLock(),j(),o.mZ.lockS=!1},W=()=>{x&&B(0,0,!1,"fromMidroll")},z=!0,V=e=>{var t,n,s,l,c;if((0,a.Fr)())return;e&&(z=!1);let u=r.A.getState(),{legacyControls:d}=u.appPreferences,{lastRobloxToastDate:p}=u.user,{videoRef:f}=u.play;S.zR.splitScreenSize=(0,v.A)(((null==(t=null==f?void 0:f.current)?void 0:t.offsetHeight)||0)*S.zR.splitScreenPerc,2),!(!(null==(s=null==(n=null===g.Ay||void 0===g.Ay?void 0:g.Ay.appInfo)?void 0:n.playFeFeatures)?void 0:s.enableNativePointer)&&(!d&&e||!e)&&!z&&3>parseInt(localStorage.getItem("robloxToastViewCount")||"0",10)&&(0,h.W)(p,new Date().toDateString()))||(r.A.dispatch({type:i.A.ROBLOX_TOAST,payload:{robloxToast:!0}}),z=!0),(()=>{let{x:e,y:t}=N();C(1,e,t,0,!1),C(2,e,t,0,!1)})(),(null==(c=null==(l=null===g.Ay||void 0===g.Ay?void 0:g.Ay.appInfo)?void 0:l.playFeFeatures)?void 0:c.enableNativePointer)&&(0,o.vd)("controlnativedevices::1")},Y=()=>{var e,t;(null==(t=null==(e=null===g.Ay||void 0===g.Ay?void 0:g.Ay.appInfo)?void 0:e.playFeFeatures)?void 0:t.enableNativePointer)&&(0,o.vd)("controlnativedevices::0"),document.pointerLockElement&&"function"==typeof document.exitPointerLock&&document.exitPointerLock()},$=()=>{S.zR.autoLockOnFocus=Date.now()-S.zR.lastMouseLockExitTime<40}},69990:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});let o={type:"",currentPackageName:"",lastAppChanged:Date.now(),trackEvent:{},sessionComplete:{},meta:{},inactivity:{}}},70670:(e,t,n)=>{var o=n(29257),r=n(98978),i=n(27148);e.exports=function(e){return e&&e.length?o(e,i,r):void 0}},70780:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});let o={IME_STATUS:"IME_STATUS",LAUNCH_CLICKED:"LAUNCH_CLICKED",ROBLOX_TOAST:"ROBLOX_TOAST",GET_PERMISSION:"GET_PERMISSION",SHOW_QUEUE_MODAL:"SHOW_QUEUE_MODAL",SET_QUEUE_POSITION:"SET_QUEUE_POSITION",SET_ERROR:"SET_ERROR",GAME_DISPLAYED:"GAME_DISPLAYED",SET_ERROR_FROM_EXCEPTION:"SET_ERROR_FROM_EXCEPTION",SET_ERROR_DESCRIPTION:"SET_ERROR_DESCRIPTION",UPDATE_POINTER_CAPTURE:"UPDATE_POINTER_CAPTURE",MUTE:"MUTE",SET_FULLSCREEN:"SET_FULLSCREEN",SET_ONLINE_STATE:"SET_ONLINE_STATE",START_CONNECTION:"START_CONNECTION",STOP_CONNECTION:"STOP_CONNECTION",UPDATE_BACK_BTN:"UPDATE_BACK_BTN",UPDATE_GAME_ENDED:"UPDATE_GAME_ENDED",UPDATE_KEYBOARD_STATUS:"UPDATE_KEYBOARD_STATUS",UPDATE_NERD_MODE_STATE:"UPDATE_NERD_MODE_STATE",MODAL_STATUS:"MODAL_STATUS",SET_REF:"SET_REF",UPDATE_ORIENTATION:"UPDATE_ORIENTATION",UPDATE_PEER_CONNECTION_STATE:"UPDATE_PEER_CONNECTION_STATE",SESSION_MIGRATED:"SESSION_MIGRATED",DUPLICATE_TAB:"DUPLICATE_TAB",SESSION_INACTIVE:"SESSION_INACTIVE",DRAGGABLE:"DRAGGABLE",SESSION_DISCONNECT_TOAST:"SESSION_DISCONNECT_TOAST",LISTENERS_ATTACHED:"LISTENERS_ATTACHED",OPEN_URL:"OPEN_URL",UPDATE_MOUSE_LOCK:"UPDATE_MOUSE_LOCK",SET_WIDGET:"SET_WIDGET",SHOW_MOUSE_LOCK_ONBOARDING:"SHOW_MOUSE_LOCK_ONBOARDING",SET_MID_ROLL_AD:"SET_MID_ROLL_AD",SET_SENSITIVITY_POPUP:"SET_SENSITIVITY_POPUP",SET_COUNTRY_CODE:"SET_COUNTRY_CODE",UPDATE_UPLOAD_STATE:"UPDATE_UPLOAD_STATE",SHOW_FILE_UPLOADER:"SHOW_FILE_UPLOADER",UPDATE_DOWNLOAD_STATE:"UPDATE_DOWNLOAD_STATE",UPDATE_SHIFT_LOCK:"UPDATE_SHIFT_LOCK",PWA_PROMPT_STATUS:"PWA_PROMPT_STATUS",TP_ENABLED:"TP_ENABLED",SET_ROBLOX_EXPERIENCE_ID:"SET_ROBLOX_EXPERIENCE_ID",UPDATE_LOGIN_TOOLTIP:"UPDATE_LOGIN_TOOLTIP",UPDATE_TEXTFIELD_FOCUS:"UPDATE_TEXTFIELD_FOCUS",UPDATE_F11_PRESSED:"UPDATE_F11_PRESSED",UPDATE_F11_PROCESSED:"UPDATE_F11_PROCESSED",UPDATE_INACTIVE_TIMEOUT:"UPDATE_INACTIVE_TIMEOUT",HOTJAR_LOADED:"HOTJAR_LOADED",UPDATE_SEARCH_APPS_LIST:"UPDATE_SEARCH_APPS_LIST",SET_EXPERIENCE_STATE:"SET_EXPERIENCE_STATE",HTML_GAME:"HTML_GAME",UPDATE_TAB_VISIBILITY_STATE:"UPDATE_TAB_VISIBILITY_STATE",COMPRESSED_PACKAGE:"COMPRESSED_PACKAGE",SET_PROXY_USER:"SET_PROXY_USER",SET_PROXY_USER_FINAL:"SET_PROXY_USER_FINAL",UPDATE_IS_RECORDING:"UPDATE_IS_RECORDING",TOGGLE_IAP_POPUP_STATE:"TOGGLE_IAP_POPUP_STATE",UPDATE_PLAY_STATE:"UPDATE_PLAY_STATE",SHOW_TRY_NOW:"SHOW_TRY_NOW",SHOW_LOGIN_TIP:"SHOW_LOGIN_TIP",CHANNEL_DETAILS:"CHANNEL_DETAILS",VIDEO_UPLOAD_STATUS:"VIDEO_UPLOAD_STATUS",VIDEO_DETAILS:"VIDEO_DETAILS",UPDATE_REFER_EARN_DATA:"UPDATE_REFER_EARN_DATA",MY_VIDEOS_ONBOARDING:"MY_VIDEOS_ONBOARDING",SCRIPT_EDITOR:"SHOW_SCRIPT_EDITOR",SHOW_BLOXD_ERROR_SCREEN:"SHOW_BLOXD_ERROR_SCREEN",COPY_PASTE_PROMPT:"COPY_PASTE_PROMPT",SHOW_CONTROLS_TOAST:"SHOW_CONTROLS_TOAST",SET_HTML_FRAME_REF:"SET_HTML_FRAME_REF",SHOW_GOOGLE_ACCOUNT_REQUIRED_POPUP:"SHOW_GOOGLE_ACCOUNT_REQUIRED_POPUP",APK_FINDER:"APK_FINDER",UPDATE_IS_NOWGG_URL:"UPDATE_IS_NOWGG_URL",TOGGLE_SUBSCRIPTION_MODAL:"TOGGLE_SUBSCRIPTION_MODAL",NOWPREMIUM_SUBSCRIPTION_STATUS:"NOWPREMIUM_SUBSCRIPTION_STATUS",UPDATE_PLAY_PAGE_MODE:"UPDATE_PLAY_PAGE_MODE",UPDATE_ANA_BOT_STATE:"UPDATE_ANA_BOT_STATE",SET_CHAT_HISTORY:"SET_CHAT_HISTORY",UPDATE_AI_SESSION_STATUS:"AI_SESSION_STATUS",SET_PAYMENT_STATUS:"SET_PAYMENT_STATUS",SET_APP_PAGE_LOGIN_POPUP_ENABLED:"SET_APP_PAGE_LOGIN_POPUP_ENABLED",ERROR_COUNTDOWN_TICK:"ERROR_COUNTDOWN_TICK",HIDE_ADS_FOR_PROXY_USER:"HIDE_ADS_FOR_PROXY_USER",UPDATE_COUPON_GENERATION_STATE:"UPDATE_COUPON_GENERATION_STATE"}},70789:(e,t)=>{"use strict";var n,o=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen");n=Symbol.for("react.module.reference"),t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===s||e===a||e===p||e===f||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===g||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===n||void 0!==e.getModuleId)||!1},t.typeOf=function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case i:case s:case a:case p:case f:return e;default:switch(e=e&&e.$$typeof){case u:case c:case d:case h:case g:case l:return e;default:return t}}case r:return t}}}},71147:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return s},noSSR:function(){return a}});let o=n(64252);n(37876),n(14232);let r=o._(n(52100));function i(e){return{default:(null==e?void 0:e.default)||e}}function a(e,t){return delete t.webpack,delete t.modules,e(t)}function s(e,t){let n=r.default,o={loading:e=>{let{error:t,isLoading:n,pastDelay:o}=e;return null}};e instanceof Promise?o.loader=()=>e:"function"==typeof e?o.loader=e:"object"==typeof e&&(o={...o,...e});let s=(o={...o,...t}).loader;return(o.loadableGenerated&&(o={...o,...o.loadableGenerated},delete o.loadableGenerated),"boolean"!=typeof o.ssr||o.ssr)?n({...o,loader:()=>null!=s?s().then(i):Promise.resolve(i(()=>null))}):(delete o.webpack,delete o.modules,a(n,o))}("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)},71278:(e,t,n)=>{"use strict";n.d(t,{A:()=>ep,q:()=>ed});var o=n(85190);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function i(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:N,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case S:return D({},e,{registry:[].concat(k(e.registry),[t.key])});case y:var n=e.registry.indexOf(t.key),o=k(e.registry);return o.splice(n,1),D({},e,{registry:o,bootstrapped:0===o.length});default:return e}},L=n(77570),F=n(12613),U=n(62920),M=n(35402),j=n(18808),B=n(56047),G=n(70780);let H={isAndroidConnected:!1,permissionType:"",locationAsked:!1,locationDenied:!1,muted:!0,peerConnection:null,gameDisplayed:!1,webrtcFailed:!1,uaId:"",uaSessionId:"",videoRef:null,htmlFrameRef:null,consoleHeaderRef:null,consoleFooterRef:null,mobileConsoleFooterRef:null,urlToOpen:"",queuePosition:0,sessionMigrated:!1,duplicateTab:!1,sessionComplete:!1,orientation:M.QB.landscape,videoModalError:"",error:null,errorCode:"",errorDescription:null,isPeerConnectionOnline:!0,isFullscreen:!1,debugOverlay:!1,isProxyUser:!1,hideAdsForProxyUser:!1,showBackbtn:!1,nativeMouseEnabled:!1,videoContainerRef:null,peerConnectionState:"",isNerdMode:!1,showPwaPrompt:!1,robloxToast:!1,servingRegion:"",membershipModalOpen:!1,listenersAttached:!1,isImeEnabled:!1,inactivityModal:!1,showAboutUs:!1,showAllGamesOverlay:!1,showExploreGamesOverlay:!1,draggableState:"click",orientationValue:1,disconnecTimer:0,graceIntervalSecs:59,graceIntervalMessage:"",sessionDisconnectScreenType:"",showDisconnectWarning:!1,showDisconnectScreen:!1,mouseLockActive:!1,tpEnabled:!1,fullscreenWidgetRef:null,showMouseLockOnboarding:!1,midRollAdRef:null,midRollAdVisible:!1,isSensitivityPopupOpen:!1,countryCode:"-",fileUploadState:{showLoader:!1,loaderType:""},fileUploaderAccept:"",showFileUploader:!1,fileDownloadState:{showLoader:!1,loaderType:""},shiftLockActive:!1,robloxExperienceId:-1,isTooltipVisible:!1,uiTextfieldInFocus:!1,f11KeysPressed:0,f11KeysProcessed:0,inactiveTimeout:!1,currentRobloxExperienceTimer:0,searchAppsList:[],isExperienceEnded:!1,isTabVisible:!0,adBlockerMethodType:j.Y.NONE,isLoadAdBlockerLib:!1,isRecording:!1,recordingMediaStream:null,recordingMediaRecorder:null,recordingData:[],recordingTimerText:"00:00",showRecordModal:!1,recordingUserAudioTrack:null,recordingAudioDestinationNode:null,recordingAudioContext:null,showMicBlockedModal:!1,showIAPPopup:!1,hideIAPIcon:!1,iapUserLogin:!1,isRecordingProcessing:!1,saveRecordingPostConversion:!1,tryNowModal:!1,endingTryNow:!1,loginTip:!1,stopVideoRecording:!1,showRecordingTransition:!1,keyboardActive:!1,isNewInvitee:!1,adFreeTimeSecs:0,adFreeTimeGainedSecs:0,inviteLink:"",rewardStatus:M.wD.Failure,showRecordingModalBeforeExit:!1,showRecordingModalBeforeExitSource:"",urlToOpenAfterRecordModalExit:"",stopAndDownloadRecording:!1,channelHandle:"",channelDisplayName:"",videoId:"",tryNowRef:null,recordActionRef:null,displayAdRef:null,showScriptEditor:!1,scriptCommands:[],showBloxdErrorScreen:!1,showCopyPastePrompt:{type:"",event:null,copyText:""},isPlayerLoaded:!1,androidActivityName:"",deviceLocationDisplayString:"",isGamePlayerOnFromAppPage:!1,showGoogleAccountRequiredPopup:!1,gameControlsToast:!1,showApkFinder:!1,aptoideSearchText:"",isRecordedVideoVisible:!1,isNowGGURL:!0,pointerCaptureStatus:!1,envDetected:!1,isNowGGURLDetectionProcessComplete:!1,showSubscriptionModal:!1,showSubscriptionExpiredModal:!1,proxyErrorRef:null,nowPremiumSubscriptionActive:!1,isCreatePlayUserPremiumResolved:!1,activeSubscriptionTimeSecs:0,activeSubscriptionMembershipId:"",activeSubscriptionExpiryAt:"",formattedNpDate:"",premiumPassType:"",showSubscriptionEnabledModal:!1,availableNowPasses:[],minPassData:{symbol:"",value:""},limitedOrderPremiumPass:null,nowBuxPlayPass:null,paymentAppId:"",anaSpectatingGameplay:!1,muteAnaSpectateMessages:!1,anaNotifResponded:!1,chatHistory:[],isPlayPageMode:!1,isEmbeddedFrame:!1,pwaTimeoutTrigerred:!1,aiSessionUpdateInProgress:!1,paymentInProgress:!1,showMobileHeaderFooter:!1,isAppPageLoginPopupEnabled:!1,subscriptionFlowSource:U.RmT.BottomBarRemoveAdsButton,showRecordingDiscardedPopup:!1,showMultiSubscriptionModal:!1,showNowBuxCreditedModal:!1,isUserCreditEligible:!0,autoLaunchByMultiSubscriptionModal:"",isSubscriptionExpiredInMiddleOfGame:!1,shoSubscriptionModalAfterLogin:!1,errorCountdownTimer:300,nowbuxCreditLimitExceeded:!1,showNowBuxToastNotification:!1,isGeneratingCoupon:!1,proxyUserType:(0,B.Yw)(),isAddFreeModePopupVisible:!1,gamePlayerWrapperRef:null,isAnnouncementBarVisible:!1,isWsupScriptEnabled:!1,isWsupChatWidgetEnabled:!1};var W=n(29822);let z={imaError:!1,adsEnded:!1,adBlocker:!1,midRollAds:!1,showInGameAds:!1,inGameAd:null,showDisplayMidRoll:!0,fallbackDisplayed:!1,fallbackRewardedAdTimeout:null,rewardedAdsSDK:!1,isLoadingRewardedAds:!0,rewardedAdType:null,sdkType:null,skyScraperRef1:null,skyScraperRef2:null,leaderBoardRef1:null,leaderBoardRef2:null,playtime:1,midRollAdsMobile:!1,midRollAdsFullScreen:!1,disableAllAds:!1,displayAdLoaded:!1,mobileExperiment:!1,rewardAdsLoadAdsSdk:!1,preRollAdsDuration:0,preRollAdPaused:!1,rewardedAdFirst:!0,rewardedAdFirstInfoPopup:!1,rewardedAdSecond:!1,rewardedAdFirstError:!1,rewardedAdFirstLoading:!1,rewardedAdSecondLoading:!1,isRewardedAdPlaying:!1,rewardedPremiumTimeInSec:0,showRewardUpdate:!1,showAddMoreTimeFirstAdPopover:!1,initialRwdAdHangup:!1,isRewardedAdRewardGrantProcessCompleted:!1};var V=n(41543);let Y={showSupport:!1,errorType:""};var $=n(95036);let q={isLoggedIn:!1,isLoginResolved:!1,userInactive:!1,showPreloader:!0,guestFlow:!1,showLogin:!1,manualLogoutShowLogin:!1,showGoogleOneTap:!1,loginContext:"",userStoreUpdated:!1,showResetPassword:!1,showChangePwdModal:!1,userEmail:"",playCodeRefId:""};var J=n(80082);let X={isActive:!1,initialized:!1,guideVisible:!1,keymappingEditMode:!1};var K=n(29359),Q=n(59803);let Z={imapOverlay:!0,volume:.5,imapScheme:"",fsWidget:{x:-1,y:-1},mouseSensitivity:U.Uox,legacyControls:!1,config:null};var ee=n(92634);let et={mouseLockOnboardingCount:0,shiftlockToastCount:0,lastShiftLockToastDate:new Date(0).toDateString(),lastRobloxToastDate:new Date(0).toDateString(),gameGuideNotificationCount:0,lastGameGuideNotifDate:new Date(0).toDateString(),loginNotificationCount:0,lastLoginNotifDate:new Date(0).toDateString(),recentPlayedApps:[],gameplayRecordingTooltipCount:0,lastGameplayRecordingTooltipDate:new Date(0).toDateString(),micRecordingEnabled:!1,totalPlayedApps:0,totalPlaytime:0,questsInfo:[],questsTitle:"",questsIcon:"",gameGuideOnboarding:!0,showAnaBot:!1,userMsgFromSearch:"",hideAnaBotChat:!1,deviceOrientation:M.QB.unspecified,searchBarOpened:!1};var en=n(1678);let eo={remainingTimeSecs:null,nowbuxCreditsEarned:0,totalNowbuxCreditsEarnedByAllUsers:0,showNowbuxToast:!1,nowbuxPopupViewCount:0,nowbuxPopupOpen:!1,nowbuxRedemptionCodeList:[],showRedemptionFlow:!1,redemptionType:"",redemptionCode:"",redemptionCodeError:!1,startNowbuxTimer:!1,accumulatedTimeSecs:0,extraTimeSecs:0,showJackpotFlow:!1,dailySpinCount:0,nowbuxCreditsRewarded:0,showRewardPopup:!1,nowbuxFetchError:!1,nowbuxErrorTransition:!1,showNowbuxRevaluationAnimation:!1,nowbuxRevaluationAmount:0,inGameIAPList:[],isIAPGameDataFetched:!1,nowbuxPayBalance:0,nowbuxRewardBalance:0};var er=n(51682);let ei={gamificationActionsRef:null,anaRef:null,showProfileView:!1,showNowbuxView:!1,showLeaderboardView:!1,showRedeemSectionFirst:!1,showTaskCompletePopup:void 0,showTaskCompleteToast:!1,questClaimed:!1,dailyRankings:[],selfDailyRank:{rank:99999,nowbuxEarned:0},weeklyRankings:[],selfWeeklyRank:{rank:99999,nowbuxEarned:0},monthlyRankings:[],selfMonthlyRank:{rank:99999,nowbuxEarned:0},lastUpdatedAt:Date.now(),showNotifDot:!1},ea=function(e){for(var t,n=Object.keys(e),o={},r=0;r0&&void 0!==arguments[0]?arguments[0]:H,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case G.A.START_CONNECTION:case G.A.STOP_CONNECTION:case G.A.UPDATE_ORIENTATION:case G.A.SET_ERROR:case G.A.SET_ERROR_DESCRIPTION:return Object.assign(Object.assign({},e),t.payload);case G.A.SET_ERROR_FROM_EXCEPTION:return t.payload.error=e.error||M.wD.Failure,Object.assign(Object.assign({},e),t.payload);case G.A.UPDATE_BACK_BTN:case G.A.UPDATE_GAME_ENDED:case G.A.LAUNCH_CLICKED:return Object.assign(Object.assign({},e),t.payload);case G.A.MUTE:return Object.assign(Object.assign({},e),{muted:!!t.payload.muted});case G.A.UPDATE_PEER_CONNECTION_STATE:return Object.assign(Object.assign({},e),t.payload);case G.A.SESSION_MIGRATED:return Object.assign(Object.assign({},e),{sessionMigrated:!!t.payload.sessionMigrated,isAndroidConnected:!1});case G.A.DUPLICATE_TAB:return Object.assign(Object.assign({},e),{duplicateTab:!!t.payload.duplicateTab,isAndroidConnected:!1});case G.A.SESSION_INACTIVE:return Object.assign(Object.assign({},e),{sessionComplete:!!t.payload.sessionComplete,isAndroidConnected:!1});case G.A.UPDATE_NERD_MODE_STATE:case G.A.SET_ONLINE_STATE:case G.A.SET_FULLSCREEN:case G.A.IME_STATUS:case G.A.PWA_PROMPT_STATUS:case G.A.TP_ENABLED:case G.A.ROBLOX_TOAST:case G.A.SET_REF:case G.A.MODAL_STATUS:case G.A.DRAGGABLE:case G.A.GET_PERMISSION:case G.A.UPDATE_MOUSE_LOCK:case G.A.SET_WIDGET:case G.A.SHOW_MOUSE_LOCK_ONBOARDING:case G.A.SET_MID_ROLL_AD:case G.A.SESSION_DISCONNECT_TOAST:case G.A.OPEN_URL:case G.A.SET_SENSITIVITY_POPUP:case G.A.SET_COUNTRY_CODE:return Object.assign(Object.assign({},e),t.payload);case G.A.UPDATE_UPLOAD_STATE:return Object.assign(Object.assign({},e),{fileUploadState:Object.assign(Object.assign({},e.fileUploadState),t.payload)});case G.A.GAME_DISPLAYED:case G.A.SHOW_FILE_UPLOADER:return Object.assign(Object.assign({},e),t.payload);case G.A.UPDATE_DOWNLOAD_STATE:return Object.assign(Object.assign({},e),{fileDownloadState:Object.assign(Object.assign({},e.fileDownloadState),t.payload)});case G.A.UPDATE_SHIFT_LOCK:return Object.assign(Object.assign({},e),{shiftLockActive:!e.shiftLockActive});case G.A.SET_ROBLOX_EXPERIENCE_ID:case G.A.UPDATE_LOGIN_TOOLTIP:return Object.assign(Object.assign({},e),t.payload);case G.A.UPDATE_F11_PRESSED:return Object.assign(Object.assign({},e),{f11KeysPressed:e.f11KeysPressed+1});case G.A.UPDATE_F11_PROCESSED:return Object.assign(Object.assign({},e),{f11KeysProcessed:e.f11KeysProcessed+1});case G.A.UPDATE_TEXTFIELD_FOCUS:case G.A.UPDATE_INACTIVE_TIMEOUT:case G.A.HOTJAR_LOADED:case G.A.UPDATE_SEARCH_APPS_LIST:case G.A.SET_EXPERIENCE_STATE:case G.A.HTML_GAME:case G.A.UPDATE_TAB_VISIBILITY_STATE:case G.A.COMPRESSED_PACKAGE:case G.A.SET_PROXY_USER_FINAL:case G.A.SET_PROXY_USER:case G.A.UPDATE_IS_RECORDING:case G.A.UPDATE_PLAY_STATE:return Object.assign(Object.assign({},e),t.payload);case G.A.TOGGLE_IAP_POPUP_STATE:return Object.assign(Object.assign({},e),{showIAPPopup:!e.showIAPPopup});case G.A.SHOW_TRY_NOW:case G.A.SHOW_LOGIN_TIP:case G.A.CHANNEL_DETAILS:case G.A.VIDEO_UPLOAD_STATUS:case G.A.VIDEO_DETAILS:case G.A.UPDATE_REFER_EARN_DATA:case G.A.MY_VIDEOS_ONBOARDING:case G.A.SCRIPT_EDITOR:case G.A.SHOW_BLOXD_ERROR_SCREEN:case G.A.COPY_PASTE_PROMPT:case G.A.SHOW_GOOGLE_ACCOUNT_REQUIRED_POPUP:case G.A.SHOW_CONTROLS_TOAST:case G.A.SET_HTML_FRAME_REF:case G.A.APK_FINDER:case G.A.UPDATE_POINTER_CAPTURE:case G.A.UPDATE_PLAY_PAGE_MODE:case G.A.UPDATE_IS_NOWGG_URL:case G.A.TOGGLE_SUBSCRIPTION_MODAL:case G.A.UPDATE_ANA_BOT_STATE:case G.A.NOWPREMIUM_SUBSCRIPTION_STATUS:return Object.assign(Object.assign({},e),t.payload);case G.A.ERROR_COUNTDOWN_TICK:return Object.assign(Object.assign({},e),{errorCountdownTimer:e.errorCountdownTimer-1});case G.A.HIDE_ADS_FOR_PROXY_USER:case G.A.SET_CHAT_HISTORY:case G.A.SET_QUEUE_POSITION:case G.A.SHOW_QUEUE_MODAL:case G.A.SET_PAYMENT_STATUS:case G.A.UPDATE_AI_SESSION_STATUS:case G.A.SET_APP_PAGE_LOGIN_POPUP_ENABLED:case G.A.UPDATE_COUPON_GENERATION_STATE:return Object.assign(Object.assign({},e),t.payload);default:return e}},ads:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:z,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case W.A.UPDATE_IMAERROR:case W.A.UPDATE_ADS_STATE:case W.A.UPDATE_APP_STATE:case W.A.LOAD_MID_ROLL:case W.A.SET_IN_GAME_AD:case W.A.SET_ADS_REF:case W.A.UPDATE_REWARDED_SDK_STATE:case W.A.UPDATE_PLAYTIME:case W.A.LOAD_ADS_SDK_ON_DEMAND:case W.A.RIGHT_SIDE_PANEL_LAYOUT_UPDATE:case W.A.PREROll_ADS_DURATION:case W.A.PREROLL_AD_PAUSED:case W.A.UPDATE_REWARDED_AD_ERROR:case W.A.UPDATE_REWARDED_AD_STATUS:return Object.assign(Object.assign({},e),t.payload);default:return e}},support:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Y,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case V.A.GET_SUPPORT:return Object.assign(Object.assign({},e),{showSupport:!0});case V.A.CLOSE_SUPPORT:return Object.assign(Object.assign({},e),{showSupport:!1});case V.A.SET_ERROR_TYPE:return Object.assign(Object.assign({},e),{errorType:t.payload.errorType||""});default:return e}},auth:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:q,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case $.A.SET_LOGGED_IN:return Object.assign(Object.assign({},e),{isLoggedIn:t.payload.isLoggedIn,showPreloader:t.payload.showPreloader,isLoginResolved:t.payload.isLoginResolved});case $.A.SET_USER_ACTIVITY:return Object.assign(Object.assign({},e),{userInactive:t.payload.userInactive});case $.A.GUEST_FLOW:case $.A.TOGGLE_LOGIN:case $.A.TOGGLE_MANUAL_LOGOUT_LOGIN:case $.A.SET_PLAY_TOKEN:case $.A.UPDATE_LOGIN_CONTEXT:return Object.assign(Object.assign({},e),t.payload);case $.A.USER_STORE_UPDATED:return Object.assign(Object.assign({},e),{userStoreUpdated:!e.userStoreUpdated});case $.A.UPDATE_PASSWORD:case $.A.UPDATE_USER_EMAIL:case $.A.SET_PLAYCODE_REF_ID:return Object.assign(Object.assign({},e),t.payload);default:return e}},imap:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:X,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case J.A.IMAP_STATUS:return Object.assign(Object.assign({},e),t.payload);case J.A.TOGGLE_SIDEBAR:return Object.assign(Object.assign({},e),{guideVisible:!e.guideVisible});default:return e}},appPreferences:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Z,t=arguments.length>1?arguments[1]:void 0,{type:n,payload:o}=t;switch(n){case Q.A.UPDATE_PREFERENCES:case Q.A.OVERLAY:case Q.A.VOLUME:return Object.assign(Object.assign({},e),o);case Q.A.FS_WIDGET:if(o){let t=(0,K.Gg)(),n=o.fsWidget,r=(null==n?void 0:n.x)||t.left,i=(null==n?void 0:n.y)||t.top;return Object.assign(Object.assign({},e),{fsWidget:{x:r,y:i}})}break;case Q.A.LEGACY_CONTROLS:return Object.assign(Object.assign({},e),{legacyControls:!e.legacyControls});case Q.A.SET_LEGACY_CONTROLS:case Q.A.MOUSE_SENSITIVITY:case Q.A.UPDATE_CONFIG:return Object.assign(Object.assign({},e),o)}return e},user:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:et,t=arguments.length>1?arguments[1]:void 0,{type:n,payload:o}=t;switch(n){case ee.A.UPDATE_PREFERENCES:case ee.A.MOUSE_LOCK_ONBOARDING_COUNT:case ee.A.SHIFT_LOCK_TOAST_UPDATE:case ee.A.ROBLOX_TOAST_UPDATE:case ee.A.GAME_GUIDE_NOTIF_COUNT_UPDATE:case ee.A.LOGIN_NOTIF_UPDATE:case ee.A.RECORDING_UPDATE:case ee.A.SET_QUEST_INFO:case ee.A.SET_LIVE_STREAMING_COUNT:case ee.A.SHOW_ANA_BOT:case ee.A.UPDATE_USER_AND_DEVICE_DATA:case ee.A.SEARCH_BAR_OPENED:return Object.assign(Object.assign({},e),o);default:return e}},nowbuxRewards:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:eo,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case en.A.NOWBUX_REWARD_DETAILS:case en.A.REDEMPTION_FLOW:case en.A.SHOW_NOWBUX_TOAST:return Object.assign(Object.assign({},e),t.payload);case en.A.NOWBUX_REWARD_CREDIT:{let{nowbuxCreditsEarned:n,totalNowbuxCreditsEarnedByAllUsers:o}=t.payload||{};return Object.assign(Object.assign({},e),{nowbuxCreditsEarned:void 0!==n?n:e.nowbuxCreditsEarned+1,totalNowbuxCreditsEarnedByAllUsers:o||e.totalNowbuxCreditsEarnedByAllUsers+1})}case en.A.UPDATE_ACCUMULATED_TIME_SECS:return Object.assign(Object.assign({},e),{accumulatedTimeSecs:e.accumulatedTimeSecs+1});case en.A.JACKPOT_FLOW:return Object.assign(Object.assign({},e),t.payload);case en.A.FETCH_IAP_AND_GAME_DATA_SUCCESS:return Object.assign(Object.assign({},e),{inGameIAPList:t.payload,isIAPGameDataFetched:!0});default:return e}},gamification:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ei,t=arguments.length>1?arguments[1]:void 0,{type:n,payload:o}=t;switch(n){case er.A.UPDATE_ACTION:case er.A.TOGGLE_VIEW:case er.A.UPDATE_TASK:case er.A.UPDATE_RANKINGS:return Object.assign(Object.assign({},e),t.payload);default:return e}}}),es={},el=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.whitelist||null,r=n.blacklist||null;function i(e){return!!o&&-1===o.indexOf(e)||!!r&&-1!==r.indexOf(e)}return{in:function(t,n,o){return!i(n)&&e?e(t,n,o):t},out:function(e,n,o){return!i(n)&&t?t(e,n,o):e}}}((e,t)=>{var n;if("appPreferences"===t&&(null==(n=null==window?void 0:window.gameInfo)?void 0:n.id)){if(window.gameInfo.fsWidget){let{x:t,y:n}=window.gameInfo.fsWidget;e.fsWidget&&(-1===e.fsWidget.x&&(e.fsWidget.x=t||20),-1===e.fsWidget.y&&(e.fsWidget.y=n||10))}return es[window.gameInfo.id]=e,es}return e},(e,t)=>{var n;return(Object.keys(e).forEach(t=>{let n=parseInt(t,10);void 0!==n&&(es[n]=e[n])}),"appPreferences"===t&&(null==(n=null==window?void 0:window.gameInfo)?void 0:n.id))?void 0!==e[window.gameInfo.id]?e[window.gameInfo.id]:void 0:e}),ec=[f],eu=u(function(e,t){var n=void 0!==e.version?e.version:-1;e.debug;var o=void 0===e.stateReconciler?E:e.stateReconciler,r=e.getStoredState||T,i=void 0!==e.timeout?e.timeout:5e3,a=null,s=!1,l=!0,c=function(e){return e._persist.rehydrated&&a&&!l&&a.update(e),e};return function(u,d){var p,f,S=u||{},w=S._persist,b=function(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(S,["_persist"]);if(d.type===v){var E=!1,T=function(t,n){E||(d.rehydrate(e.key,t,n),E=!0)};if(i&&setTimeout(function(){E||T(void 0,Error('redux-persist: persist timed out for persist key "'.concat(e.key,'"')))},i),l=!1,a||(a=function(e){var t,n=e.blacklist||null,o=e.whitelist||null,r=e.transforms||[],i=e.throttle||0,a="".concat(void 0!==e.keyPrefix?e.keyPrefix:g).concat(e.key),s=e.storage;t=!1===e.serialize?function(e){return e}:"function"==typeof e.serialize?e.serialize:_;var l=e.writeFailHandler||null,c={},u={},d=[],p=null,f=null;function h(){if(0===d.length){p&&clearInterval(p),p=null;return}var e=d.shift(),n=r.reduce(function(t,n){return n.in(t,e,c)},c[e]);if(void 0!==n)try{u[e]=t(n)}catch(e){console.error("redux-persist/createPersistoid: error serializing state",e)}else delete u[e];0===d.length&&(Object.keys(u).forEach(function(e){void 0===c[e]&&delete u[e]}),f=s.setItem(a,t(u)).catch(m))}function y(e){return(!o||-1!==o.indexOf(e)||"_persist"===e)&&(!n||-1===n.indexOf(e))}function m(e){l&&l(e)}return{update:function(e){Object.keys(e).forEach(function(t){y(t)&&c[t]!==e[t]&&-1===d.indexOf(t)&&d.push(t)}),Object.keys(c).forEach(function(t){void 0===e[t]&&y(t)&&-1===d.indexOf(t)&&void 0!==c[t]&&d.push(t)}),null===p&&(p=setInterval(h,i)),c=e},flush:function(){for(;0!==d.length;)h();return f||Promise.resolve()}}}(e)),w)return R({},t(b,d),{_persist:w});if("function"!=typeof d.rehydrate||"function"!=typeof d.register)throw Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return d.register(e.key),r(e).then(function(t){(e.migrate||function(e,t){return Promise.resolve(e)})(t,n).then(function(e){T(e)},function(e){T(void 0,e)})},function(e){T(void 0,e)}),R({},t(b,d),{_persist:{version:n,rehydrated:!1}})}if(d.type===A)return s=!0,d.result((p=e.storage,f="".concat(void 0!==e.keyPrefix?e.keyPrefix:g).concat(e.key),p.removeItem(f,O))),R({},t(b,d),{_persist:w});if(d.type===h)return d.result(a&&a.flush()),R({},t(b,d),{_persist:w});if(d.type===m)l=!0;else if(d.type===y){if(s)return R({},b,{_persist:R({},w,{rehydrated:!0})});if(d.key===e.key){var P=t(b,d),I=d.payload;return c(R({},!1!==o&&void 0!==I?o(I,u,P,e):P,{_persist:R({},w,{rehydrated:!0})}))}}if(!w)return t(u,d);var k=t(b,d);return k===b?u:c(R({},k,{_persist:w}))}}({key:"root",storage:L.A,debug:!1,stateReconciler:F.A,whitelist:["appPreferences","user"],transforms:[el]},ea),d(function(){for(var e=arguments.length,t=Array(e),n=0;n{"use strict";n.d(t,{G:()=>l});var o=n(62920),r=n(56047),i=n(83515),a=n(29359);let s=!1;function l(){try{let{enableHotjar:n}=a.Ay.features||{};if(s||!n)return;s=!0;var e=window,t=document;e.hj=e.hj||function(){for(var t=arguments.length,n=Array(t),o=0;o{var e;return window.hj("identify",(0,r.Rm)(o.J0m),{ngCountry:a.Ay.countryCode||"-",ngUserType:(0,i.f0)()?"Guest":"Authorised",ngDeviceType:(0,r.el)().feDeviceType,ngProxy:(null==(e=null==window?void 0:window.nggClientIpInfo)?void 0:e.browserCode)||"unknown"})}),l.appendChild(c)}catch(e){}}},73319:(e,t,n)=>{"use strict";n.d(t,{v:()=>o.vd});var o=n(10025)},74817:(e,t,n)=>{"use strict";n(43581)},75998:(e,t,n)=>{var o=n(2331);function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var o=arguments,r=t?t.apply(this,o):o[0],i=n.cache;if(i.has(r))return i.get(r);var a=e.apply(this,o);return n.cache=i.set(r,a)||i,a};return n.cache=new(r.Cache||o),n}r.Cache=o,e.exports=r},76014:(e,t,n)=>{var o=n(89950),r=n(28654);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==o(e)}},76217:(e,t,n)=>{var o=n(66521);e.exports=function(e){return o(this,e).has(e)}},77328:(e,t,n)=>{e.exports=n(89836)},77570:(e,t,n)=>{"use strict";t.A=void 0,t.A=(0,function(e){return e&&e.__esModule?e:{default:e}}(n(99989)).default)("local")},78598:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},79235:(e,t)=>{"use strict";function n(e){return(n="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 o(){}t.__esModule=!0,t.default=function(e){var t="".concat(e,"Storage");return!function(e){if(("undefined"==typeof self?"undefined":n(self))!=="object"||!(e in self))return!1;try{var t=self[e],o="redux-persist ".concat(e," test");t.setItem(o,"test"),t.getItem(o),t.removeItem(o)}catch(e){return!1}return!0}(t)?r:self[t]};var r={getItem:o,setItem:o,removeItem:o}},79356:(e,t,n)=>{"use strict";n.d(t,{J:()=>A,p9:()=>m,qx:()=>y,vs:()=>v});var o=n(14232),r=n(4208),i=n(62920),a=n(64320),s=n(71278),l=n(35402),c=n(29359),u=n(5241),d=n(56047),p=n(70780),f=n(9097),g=n(1678),h=function(e,t,n,o){return new(n||(n=Promise))(function(r,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((o=o.apply(e,t||[])).next())})};let y=()=>{let[e,t]=(0,o.useState)(!1),n=(0,a.d4)(e=>e.auth.isLoggedIn),s=(0,a.wA)();return{loading:e,creditReward:e=>h(void 0,void 0,void 0,function*(){t(!0);try{if(n){let t=(0,d.qk)(i.kk8),n=(0,d.Rm)(i.J0m);t&&n&&e>0&&(yield r.Ay.creditReward({},{uaId:t,uaSessionId:n,playTimeSecs:e,playSessionId:c.Ay.playSessionId||"NA"})).status===l.wD.Success&&((0,u.sx)(i.T1w,{robuxDistributed:1,category:"playtime"}),(0,d.B3)(),s({type:g.A.SHOW_NOWBUX_TOAST,payload:{showNowbuxToast:!0}}))}else(0,u.sx)(i.T1w,{robuxDistributed:1,category:"playtime"}),s({type:g.A.NOWBUX_REWARD_CREDIT}),s({type:g.A.SHOW_NOWBUX_TOAST,payload:{showNowbuxToast:!0}})}finally{t(!1)}})}},m=()=>(e,t)=>h(void 0,void 0,void 0,function*(){var n;let{isIAPGameDataFetched:o}=t().nowbuxRewards;if(!o)try{let[t,o]=yield Promise.all([fetch("".concat(c.Ay.ngNcmHost,"/studio/playcfg/iap/getNowbuxEnabledApps")).then(e=>{if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));return e.json()}),(0,c.gA)()]),r=[];(null==t?void 0:t.success)&&(null==(n=null==t?void 0:t.data)?void 0:n.length)>0&&(r=t.data);let{gamesList:i}=o,a=[...i.otherApps,...i.remainingApps,...i.topApps,...i.topBarApps];if(r.length>0){let t=new Map(r.map(e=>[e.appId,e])),n=[];for(let e=0;ee.nowbuxAmount-t.nowbuxAmount);n.push(Object.assign(Object.assign({},o),{iapItems:e,firstIapItemName:e[0].iapName,firstIapItemNowbuxAmount:e[0].nowbuxAmount,remainingItemsCount:e.length-1}))}}let o=n.sort((e,t)=>e.firstIapItemNowbuxAmount-t.firstIapItemNowbuxAmount);e({type:g.A.FETCH_IAP_AND_GAME_DATA_SUCCESS,payload:o})}}catch(e){}}),v=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={txnType:e,productId:t,uaId:(0,d.qk)(i.kk8),uaSessionId:(0,d.Rm)(i.J0m),playSessionId:c.Ay.playSessionId||"NA",pageReferrer:sessionStorage.getItem("pageReferrer")||"NA",ngReferrer:sessionStorage.getItem("ngReferrer")||"NA",ngEntryPoint:sessionStorage.getItem("ngEntryPoint")||"NA",utmSource:sessionStorage.getItem("utm_source")||"NA",utmCampaign:sessionStorage.getItem("utm_campaign")||"NA",utmMedium:sessionStorage.getItem("utm_medium")||"NA",feSessionId:window.feSessionId||"NA",visitId:window.ngVisitId,ntmSource:sessionStorage.getItem("ntmSource")||"NA",feDeviceType:(0,d.el)().feDeviceType,feOsName:(0,d.el)().feOsName,feSessionTags:(0,d.zE)(),userSource:localStorage.getItem("userSource")||"NA",visitSource:(0,d.fT)(),userCampaign:localStorage.getItem("userCampaign")||"NA",visitCampaign:sessionStorage.getItem("utm_campaign")||"NA",userAcqVar:localStorage.getItem("userAcqVar")||"NA"};return r.Ay.rwdNowbuxTxn({},n)},A=()=>h(void 0,void 0,void 0,function*(){try{let e=yield v("CR");e.status===l.wD.Success?((0,f.Ek)(),(0,d.B3)(),s.A.dispatch({type:p.A.UPDATE_PLAY_STATE,payload:{showNowBuxCreditedModal:!0}})):e.status===l.wD.FailureNowbuxCreditLimitExceeded&&((0,f.Ek)(),s.A.dispatch({type:p.A.UPDATE_PLAY_STATE,payload:{nowbuxCreditLimitExceeded:!0,showNowBuxCreditedModal:!0,isUserCreditEligible:e.isUserCreditEligible}}))}catch(e){}})},79364:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},80082:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});let o={IMAP_STATUS:"IMAP_STATUS",TOGGLE_SIDEBAR:"TOGGLE_SIDEBAR"}},80688:(e,t,n)=>{"use strict";var o;n.d(t,{C6:()=>y,CB:()=>p,EU:()=>m,J3:()=>o,Lh:()=>h,P_:()=>d,QD:()=>c,Ut:()=>i,XP:()=>s,a:()=>r,bc:()=>u,cZ:()=>f,wX:()=>a,xC:()=>l,xj:()=>g});let r={resolution:"1280x720"},i={0:177,1:178,2:179,3:180,4:175,5:176,8:171,9:172,10:173,11:174,12:167,13:168,14:169,15:170},a={0:4,1:6,2:8,3:10,4:12},s={0:5,1:7,2:9,3:11,4:13},l={MOUSE_MOVE:3,MOUSE_SCROLL:14},c="IMAP_EVENT_INITIALIZED",u="GAMEPAD_EVENT",d="IMAP_EVENT_TERMINATED",p="IMAP_EVENT_RESIZED",f="IMAP_EVENT_FAILURE",g="IMAP_EVENT_UPDATE",h="CFG_UPDATED",y="IMAP_GAMEPAD_IN_USE",m="IMAP_POINTER_LOCK";!function(e){e.Tap="Tap",e.Script="Script",e.Swipe="Swipe",e.TapRepeat="TapRepeat",e.FreeLook="FreeLook",e.Pan="Pan",e.Dpad="Dpad",e.Zoom="Zoom",e.MouseZoom="MouseZoom",e.MOBASkill="MOBASkill",e.EdgeScroll="EdgeScroll",e.Scroll="Scroll",e.State="State",e.Rotate="Rotate",e.Tilt="Tilt",e.MOBADpad="MOBADpad"}(o||(o={}))},80782:(e,t,n)=>{var o=n(4917),r=n(98825);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw TypeError("Expected a function");return r(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),o(e,t,{leading:i,maxWait:t,trailing:a})}},82675:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},83455:(e,t,n)=>{"use strict";n.d(t,{W:()=>o});let o=(e,t)=>{e||(e=new Date(0).toDateString());let n=e.split(" "),o=t.split(" ");return parseInt(n[3],10)parseInt(o[3],10))&&(parseInt(n[1],10)parseInt(o[1],10))&&parseInt(n[2],10){"use strict";n.d(t,{E5:()=>I,Ay:()=>j,VM:()=>k,f0:()=>x,ri:()=>C,fg:()=>N,Ry:()=>D,eg:()=>L}),function(e){e.NEW_GUEST_USER="NEW_GUEST_USER",e.EXISTING_GUEST_USER="EXISTING_GUEST_USER",e.NEW_AUTHORIZED_USER="NEW_AUTHORIZED_USER",e.EXISTING_AUTHORIZED_USER="EXISTING_AUTHORIZED_USER",e.AUTHORIZATION_EMPTY="AUTHORIZATION_EMPTY",e.AUTHORIZATION_INVALID="AUTHORIZATION_INVALID",e.AUTHORIZATION_EXPIRED="AUTHORIZATION_EXPIRED"}(o||(o={}));var o,r=n(4208),i=n(71278),a=n(95036),s=n(10025),l=n(29103),c=n(62920),u=n(59319),d=n(29359),p=n(5241),f=n(51201),g=n(19786),h=n(57112),y=n(56047),m=n(42920),v=n(35402),A=n(70780),S=n(9097),w=n(79356),b=function(e,t,n,o){return new(n||(n=Promise))(function(r,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((o=o.apply(e,t||[])).next())})};let E=0,_=0,T=(e,t,n)=>{var o,r;let{isLoginResolved:a,guestFlow:s,showGoogleOneTap:l,showLogin:p,isLoggedIn:f,userInactive:g,manualLogoutShowLogin:h}=i.A.getState().auth,v=(0,m.kj)(),A=null==(o=null==window?void 0:window.nggParams)?void 0:o[c.xwu],{requireAuth:S,authType:w}=(null==(r=null===d.Ay||void 0===d.Ay?void 0:d.Ay.appInfo)?void 0:r.playFeFeatures)||{};(0,u.Ay)(Error("Detect loop in ".concat(e,":").concat(t," ").concat(n)),{requireAuth:S,authType:w,hasNGAndPlayUserTokenExists:!!N(),isLoginResolved:a,guestFlow:s,showGoogleOneTap:l,showLogin:p,isLoggedIn:f,userInactive:g,manualLogoutShowLogin:h,isNowV2TokenScheme:(0,y.N1)(),isRequirePartnerAuth:(0,y.IV)(),isRequireNowggAuth:(0,y._o)(),hasPartnerToken:!!A,partner:v,isPlayPage:d.Ay.isPlayPage,isHomePage:d.Ay.isHomePage,isAppPage:d.Ay.isAppPage,incognitoMode:d.Ay.incognitoMode})},P=null,O=null;function I(e,t,n,s,l,u,f){var g;return b(this,void 0,void 0,function*(){let h=(0,m.kj)(),w=null==(g=null==window?void 0:window.nggParams)?void 0:g[c.xwu];return[v.wD.FailureInvalidPlayUser].includes(l)&&!t.path.includes("/play/v1/createPlayUser")?yield function(e,t,n,o,a,s){return b(this,void 0,void 0,function*(){_===c.XnJ&&T("handleFailureInvalidPlayUser",a,s);try{_+=1;let a=yield b(void 0,void 0,void 0,function*(){return P||(P=new Promise((e,t)=>{(0,p.sx)(c.$ne,{}),r.Ay.createPlayUser({},{uaId:(0,y.qk)(c.kk8)}).then(t=>b(void 0,void 0,void 0,function*(){(0,S.Ld)(t.subscriptionInfo,t.nowbuxCreditLimitExceeded),t.playUserToken&&((0,y.nQ)(t.playUserToken),yield(0,y.cb)(500)),(0,p.sx)(c.vLN,{status:t.status}),e(t)})).catch(e=>{t(e)}).finally(()=>{P=null})})),P});if(a.status===v.wD.Failure)return i.A.dispatch({type:A.A.SET_ERROR,payload:{error:v.wD.Failure,errorCode:"6302",clientId:"",sessionId:"",errorDescription:"createPlayUser-failure"}}),!1;if(a.playUserToken)return(0,y.nQ)(a.playUserToken),yield(0,r.oB)(e,t)(n,o)}catch(e){}return!1})}(e,t,n,s,u,f):![v.wD.FailureTokenExpired,v.wD.FailureInvalidToken].includes(l)||t.path.includes("/accounts/auth/v2/access-token")||(0,y.IV)()||h&&w?!(0,y.vx)({status:l,url:u.toString()})&&{status:v.wD.FailureUnauthorized,errorMessage:"Http Status Code 401"}:yield function(e,t,n,s,l,u){return b(this,void 0,void 0,function*(){let p;E===c.XnJ&&T("handleTokenErr",l,u);try{E+=1,p=yield b(void 0,void 0,void 0,function*(){return O||(O=new Promise((e,t)=>{var n;let{requireAuth:o}=(null==(n=null===d.Ay||void 0===d.Ay?void 0:d.Ay.appInfo)?void 0:n.playFeFeatures)||{},i=!(0,d.Bt)();o&&(i=!1),r.Ay.generateToken({implicitGuestLogin:i},{}).then(t=>b(void 0,void 0,void 0,function*(){t.success&&R(t),e(t)})).catch(e=>{t(e)}).finally(()=>{O=null})})),O})}catch(e){}return p&&(null==p?void 0:p.success)?yield(0,r.oB)(e,t)(n,s):(((null==p?void 0:p.code)===o.AUTHORIZATION_EMPTY||(null==p?void 0:p.code)===o.AUTHORIZATION_INVALID||(null==p?void 0:p.code)===o.AUTHORIZATION_EXPIRED)&&(i.A.dispatch({type:a.A.TOGGLE_LOGIN,payload:{showPreloader:!1,isLoggedIn:!1,isLoginResolved:!1}}),i.A.dispatch({type:a.A.TOGGLE_LOGIN,payload:{showLogin:!0}})),!1)})}(e,t,n,s,u,f)})}let R=e=>{(0,y.pl)(c.ilC,e.access_token),(0,y.pl)(c.kLH,e.access_token_expiry),(0,d.x4)()},k=()=>{let e=(0,y.qk)("user");return e?JSON.parse(e):null},x=()=>{let e=k();return!e||e.isGuestUser},D=()=>{(0,y._z)(c.ilC),(0,y._z)(c.kLH)},N=()=>!!((0,y.qk)(c.ilC)&&(0,y.Q0)()),C=function(e){var t;let n=!(arguments.length>1)||void 0===arguments[1]||arguments[1],{play:o,auth:u}=i.A.getState();if((0,s.vd)("userstop::UserLogout"),"function"==typeof(null==(t=null==o?void 0:o.peerConnection)?void 0:t.close))try{o.peerConnection.close()}catch(e){}o.isPlayerLoaded&&n&&u.isLoginResolved&&(0,y.p4)(),(0,f.A)(),(0,h.vZ)(),o.isFullscreen&&(0,l.Eh)(document),i.A.dispatch({type:a.A.SET_LOGGED_IN,payload:{showPreloader:!0,isLoggedIn:!1}}),(0,m.Ay)("Logout","","NowggIfpSdkEvent"),r.Ay.logout({},{}).finally(()=>{(0,y._z)(c.ilC),(0,y._z)(c.kLH),(0,y._z)("user"),(0,y._z)("token"),localStorage.removeItem(c.LO2),n&&(0,g.Yi)((null==e?void 0:e.reason)||"LogoutFunc",e)})},L=e=>{i.A.dispatch({type:a.A.USER_STORE_UPDATED}),e.userData?(0,y.pl)("user",JSON.stringify(e.userData)):(0,y._z)("user"),window.dispatchEvent(new Event("nggProfileDetailsUpdated"))},F=()=>{let e=i.A.getState().auth.loginContext||(0,y.Rm)(c.dOB),t=e?(0,p.qI)({loginPageContext:e},e):{};(0,p.sx)(c.ezQ,t),i.A.dispatch({type:a.A.SET_LOGGED_IN,payload:{showPreloader:!1,isLoggedIn:!0,isLoginResolved:!0}}),M(),(0,S.UZ)()&&(0,w.J)(),sessionStorage.removeItem(c.eT9),sessionStorage.removeItem(c.dOB)},U=e=>{var t,n;let o=null==(n=null==(t=d.Ay.appInfo.playFeFeatures)?void 0:t.tryAndDownload)?void 0:n.isEnabled;(0,y._o)()?((0,p.sx)("AuthRequired"),i.A.dispatch({type:a.A.SET_LOGGED_IN,payload:{showPreloader:!1,isLoggedIn:!1,isLoginResolved:!0}}),i.A.dispatch({type:a.A.GUEST_FLOW,payload:{guestFlow:!1}}),i.A.dispatch({type:a.A.TOGGLE_LOGIN,payload:{showLogin:!0}})):e&&(0,d.Bt)()&&!o?((0,p.sx)("ManualLogout"),i.A.dispatch({type:a.A.SET_LOGGED_IN,payload:{showPreloader:!1,isLoggedIn:!1,isLoginResolved:!0}}),i.A.dispatch({type:a.A.TOGGLE_MANUAL_LOGOUT_LOGIN,payload:{manualLogoutShowLogin:!0,showGoogleOneTap:!0}})):((0,p.sx)("GuestSuccess"),(0,d.x4)(),i.A.dispatch({type:a.A.GUEST_FLOW,payload:{showPreloader:!1,guestFlow:!0,isLoginResolved:!0,showGoogleOneTap:!0}}))},M=()=>{let{shoSubscriptionModalAfterLogin:e}=i.A.getState().play;(0,y.xl)()&&e&&i.A.dispatch({type:A.A.UPDATE_PLAY_STATE,payload:{showSubscriptionModal:!0,shoSubscriptionModalAfterLogin:!1}})},j=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return b(void 0,void 0,void 0,function*(){if(i.A.getState().auth.isLoginResolved)return;let t=(0,m.kj)(),n=window.nggParams[c.xwu];if((0,y.IV)()||t&&n){(0,p.sx)(c.$ne,{});let e=yield r.Ay.createPlayUser({},{uaId:(0,y.qk)(c.kk8)});return((0,S.Ld)(e.subscriptionInfo,e.nowbuxCreditLimitExceeded),e.playUserToken&&(0,y.nQ)(e.playUserToken),(0,p.sx)(c.vLN,{status:e.status}),e.playUserToken)?void((0,y.N1)()?r.Ay.getUserProfile({},{}).then(e=>{L(e),F()}).catch(F):i.A.dispatch({type:a.A.GUEST_FLOW,payload:{showPreloader:!1,isLoginResolved:!0}})):void i.A.dispatch({type:A.A.SET_ERROR,payload:{error:e.status,clientId:"",sessionId:"",errorDescription:"createPlayUser-failure"}})}yield b(void 0,void 0,void 0,function*(){var t;let n;(0,p.sx)("AccessTokenBegin"),(0,y.Hk)(c.dOB);try{let{requireAuth:e}=(null==(t=null===d.Ay||void 0===d.Ay?void 0:d.Ay.appInfo)?void 0:t.playFeFeatures)||{},o=!(0,d.Bt)();e&&(o=!1),n=yield r.Ay.generateToken({implicitGuestLogin:o},{})}catch(e){}if(null==n?void 0:n.success){R(n),(0,p.sx)(c.$ne,{});let t=yield r.Ay.createPlayUser({},{uaId:(0,y.qk)(c.kk8)});if((0,S.Ld)(t.subscriptionInfo,t.nowbuxCreditLimitExceeded),t.playUserToken&&(0,y.nQ)(t.playUserToken),(0,p.sx)(c.vLN,{status:t.status}),!t.playUserToken)return void i.A.dispatch({type:A.A.SET_ERROR,payload:{error:t.status,clientId:"",sessionId:"",errorDescription:"createPlayUser-failure"}});n.code===o.NEW_GUEST_USER||n.code===o.EXISTING_GUEST_USER?U(e):k()?F():r.Ay.getUserProfile({},{}).then(e=>{L(e),F()}).catch(F)}else(null==n?void 0:n.code)===o.AUTHORIZATION_EMPTY||(null==n?void 0:n.code)===o.AUTHORIZATION_INVALID||(null==n?void 0:n.code)===o.AUTHORIZATION_EXPIRED?(i.A.dispatch({type:a.A.SET_LOGGED_IN,payload:{showPreloader:!1,isLoggedIn:!1,isLoginResolved:!1}}),i.A.dispatch({type:a.A.TOGGLE_LOGIN,payload:{showLogin:!0}})):U(e);(0,p.sx)("AccessTokenEnd")})})}},83784:(e,t,n)=>{"use strict";function o(e){if(Array.isArray(e))return e}n.d(t,{A:()=>o})},83806:(e,t,n)=>{"use strict";n.d(t,{Cr:()=>s,iJ:()=>i,jn:()=>l});var o=n(70780),r=n(37110);let i=e=>{let t={error:r.m7.FailureAdBlockerDetected,clientId:"",sessionId:"",isAndroidConnected:!1,errorDescription:e};return{type:o.A.SET_ERROR,payload:t}},a=0;function s(){return a}function l(){a+=1}},84109:(e,t,n)=>{"use strict";let o;n.d(t,{Ay:()=>g,J5:()=>d,Z1:()=>f});var r=n(1678),i=n(71278),a=n(56047),s=n(42920),l=n(59319),c=n(5241),u=n(29359);let d=()=>{clearInterval(o)},p=!1,f=()=>{var e,t,n;if(!p){p=!0;try{(0,a.mP)()?(0,c.sx)("NowBuxEnabled"):(0,c.sx)("NowBuxDisabled",{authUseThirdPartyFlow:u.Ay.authUseThirdPartyFlow,getPartnerName:(0,s.kj)(),browserCode:null==(e=null==window?void 0:window.nggClientIpInfo)?void 0:e.browserCode,enableRobuxRewards:null==(n=null==(t=null===u.Ay||void 0===u.Ay?void 0:u.Ay.appInfo)?void 0:t.playFeFeatures)?void 0:n.enableRobuxRewards,countryCode:null===u.Ay||void 0===u.Ay?void 0:u.Ay.countryCode})}catch(e){(0,l.Ay)(Error("Error sending NowBuxEnabled event"),{error:e})}}},g=()=>(clearInterval(o),o=setInterval(()=>{i.A.dispatch({type:r.A.UPDATE_ACCUMULATED_TIME_SECS})},1e3))},84237:(e,t,n)=>{var o=n(50224),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(o){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(t,e)?t[e]:void 0}},84779:(e,t,n)=>{var o=n(53512),r=n(58528),i=n(84237),a=n(33065),s=n(68329);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t{"use strict";n.d(t,{A:()=>r});var o=n(10810);function r(e,t,n){return(t=(0,o.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},85570:(e,t,n)=>{"use strict";function o(e,t){let n=null,o=null;t.getTracks().forEach(e=>{"audio"===e.kind?n=e:"video"===e.kind&&(o=e)}),"audio"===e.kind&&n&&t.removeTrack(n),"video"===e.kind&&o&&t.removeTrack(o),t.addTrack(e)}function r(){var e,t,n,o,r;return t=this,n=void 0,o=void 0,r=function*(){if(null==(e=null==window?void 0:window.navigator)||!e.getBattery)return"getBattery API not supported";try{let e=yield window.navigator.getBattery();if(!e)return"getBattery API not supported";return{level:(null==e?void 0:e.level)?100*e.level:"N/A",charging:(null==e?void 0:e.charging)?e.charging:"N/A"}}catch(e){return"getBattery API not supported"}},new(o||(o=Promise))(function(e,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(t){var n;t.done?e(t.value):((n=t.value)instanceof o?n:new o(function(e){e(n)})).then(a,s)}l((r=r.apply(t,n||[])).next())})}n.d(t,{Oe:()=>o,iF:()=>r})},86887:(e,t,n)=>{"use strict";n.d(t,{Wo:()=>O,Ay:()=>I});var o=n(19362),r=n(10025);let i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=new ArrayBuffer(2*t.length+2),o=new Uint16Array(n);o[0]=e;for(let e=0;e1&&void 0!==arguments[1]?arguments[1]:300;e!==this.active&&(t?setTimeout(()=>{this.active=e,(0,w.Ic)(S.xj,e)},t):(this.active=e,(0,w.Ic)(S.xj,e)))},updateCfgWithSensitivity(){var e,t;let n=s.A.getState().appPreferences.mouseSensitivity;!(p()(n)||u()(n))&&(this.config[this.packageName]&&(null==(e=this.config[this.packageName])?void 0:e.ControlSchemes)&&(null==(t=this.config[this.packageName])||t.ControlSchemes.forEach(e=>{e&&e.GameControls&&e.GameControls.forEach(e=>{let t=n>=l.Uox?1+(n-l.Uox)/2:1/(1+(l.Uox-n)/2);void 0!==e.Sensitivity&&(e.Sensitivity=t)})})),E.config[E.packageName]&&E.loadCfg(E.config[E.packageName]))},initialize(e,t,n,o){return b(this,void 0,void 0,function*(){let r=e;this.packageName=e,this.splitScreenPerc=o;try{b(this,void 0,void 0,function*(){var o,i,a,l;if(void 0===this.config[this.packageName])try{(0,h.ZZ)(r)&&(r+="_imgd"),"com.dts.freefireth"===this.packageName&&(r+="_cloud");let t=yield fetch((0,w.Cm)(r,99,f.Ay.appInfo.imapCfgHost));if(this.packageName=e,t.ok){let n=yield t.json();if(this.packageName=e,null==(o=null==n?void 0:n.cfg_file_url)?void 0:o.normal){let t=null==(i=null==n?void 0:n.cfg_file_url)?void 0:i.normal;if(t=t.replace("http://","https://"),n.success&&t){let n=yield fetch(t);if(n.ok){let t=yield n.json();this.packageName=e,this.config[this.packageName]=(0,w.I1)(e,t)}else throw Error("Cannot find config file")}else throw Error("Cannot find config file ".concat(r))}else throw Error("CFG api failed ".concat(r))}else this.config[this.packageName]=s.A.getState().appPreferences.config}catch(t){this.config[e]=null,this.initialized=!1,this.clear()}this.config[this.packageName]?(null==(a=window.Module)?void 0:a.ImapLibInit)?this.parseCfg(this.packageName,t,n):(null==(l=y.mN.promise)||l.then(()=>{this.parseCfg(this.packageName,t,n)}).catch(e=>{(0,w.eD)(e,"imap getting instances error catch")}),yield m.getInstance(),this.packageName=e):null===this.config[this.packageName]&&(this.initialized=!1,this.clear())})}catch(t){this.config[e]=null,(0,w.eD)(t,"initialize failed"),this.initialized=!1,this.clear()}})},parseCfg(e,t,n){var o,r,i,a;this.updateCfgWithSensitivity(),this.config[e]=(0,w.Mv)(this.config[e]),this.cfgParserVersion=Number(null==(o=this.config[e])?void 0:o.MetaData.ParserVersion)||-1;try{this.setDimensions(t,n,this.splitScreenPerc),t-=this.splitScreenSize,window.Module.ImapLibInit(e,t,n,!(null==(a=null==(i=null==(r=f.Ay.appInfo)?void 0:r.playFeFeatures)?void 0:i.gl)?void 0:a.enableImageDetection),JSON.stringify(this.config[e])||"")}catch(o){"number"==typeof o&&window.Module.GetExceptionMessage(o),(0,w.eD)(o,"Lib Init Failed",{params:{packageName:e,width:t,height:n,config:JSON.stringify(this.config[e])}}),this.initialized=!1,this.clear()}},loadCfg(e){if(e&&E.inUse()){this.config[this.packageName]=e;try{window.Module.ImapLoadCfg(JSON.stringify(e))}catch(e){(0,w.eD)(e,"loadCfg failed")}}},setDimensions(e,t,n){this.splitScreenPerc=n,this.splitScreenSize=(0,A.A)(e*this.splitScreenPerc,2),this.height=t,this.width=e-this.splitScreenSize},updateDimensions(){if(this.inUse())try{window.Module.ImapHandleResize(0,0,this.width,this.height)}catch(e){window.Module.GetExceptionMessage(e),(0,w.eD)(e,"updateDimensions failed")}(0,w.Ic)(S.CB,{width:this.width,height:this.height})},updateFocus(){if(E.active)try{window.Module.ImapOnWindowActivate(!0),this.outOfFocus=!1}catch(e){(0,w.eD)(e,"updateFocus failed")}},handleKey(e,t){try{window.Module.ImapHandleKey(e,t)}catch(e){(0,w.eD)(e,"handleKey failed")}},keyDown(e){this.outOfFocus&&this.updateFocus(),this.handleKey(e,1)},keyUp(e){this.handleKey(e,0)},imagesDetected(e,t,n){try{window.Module.UpdateImages(e,t,n)}catch(e){(0,w.eD)(e,"UpdateImages failed")}},setTags(e){try{window.Module&&E.initialized&&"function"==typeof window.Module.SetTags&&window.Module.SetTags(e)}catch(e){(0,w.eD)(e,"setTags failed")}},mouseMove(e,t){try{this.pointerLock?window.Module.HandleRawMouse(S.xC.MOUSE_MOVE,e,t,0):window.Module.ImapHandleMouseMove(S.xC.MOUSE_MOVE,e,t,0)}catch(e){(0,w.eD)(e,"mouseMove failed")}},mouseDown(e,t,n){try{this.pointerLock?window.Module.HandleRawMouse(S.wX[e],t,n,0):window.Module.ImapHandleMouseControls(S.wX[e],t,n,0)}catch(e){(0,w.eD)(e,"mouseDown failed")}},mouseUp(e,t,n){try{this.pointerLock?window.Module.HandleRawMouse(S.XP[e],t,n,0):window.Module.ImapHandleMouseControls(S.XP[e],t,n,0)}catch(e){(0,w.eD)(e,"mouseUp failed")}},mouseScroll(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;try{E.pointerLock?window.Module.HandleRawMouse(S.xC.MOUSE_SCROLL,e,t,0):window.Module.ImapHandleMouseMove(S.xC.MOUSE_SCROLL,e,t,n)}catch(e){(0,w.eD)(e,"mouseScroll failed")}},exitPanMode(){try{window.Module&&"function"==typeof window.Module.ExitPanMode&&window.Module.ExitPanMode()}catch(e){(0,w.eD)(e,"exitPanMode failed")}},imapHandleOrientation(e){E.orientation=e},onWindowActivate(e){try{window.Module&&"function"==typeof window.Module.ImapOnWindowActivate&&window.Module.ImapOnWindowActivate(e)}catch(e){(0,w.eD)(e,"onWindowActivate failed")}}};function _(){E.setTags(""),E.active&&(E.exitPanMode(),E.onWindowActivate(!1))}function T(){E.active&&(E.onWindowActivate(!0),E.exitPanMode())}function P(){E.changeRequested||(_(),T())}let O={onblur:_,onfocus:T};if(!(0,o.fU)()){let e={},t={},n=n=>{let o=e[n];if(o){let a=[n,o.x+E.splitScreenSize,o.y];(0,r.vd)(i(2,a)),t[n]=0,e[n]=null}};window.InputMapperApi=window.InputMapperApi||{imapInitSuccess:()=>{E.initialized=!0,E.active=!0,E.addEventListener(),(0,w.Ic)(S.QD,E.config[E.packageName]||{}),window.addEventListener("gamepadconnected",e=>g.A.onconnected(e),!1),window.addEventListener("gamepaddisconnected",e=>g.A.ondisconnected(e),!1),(0,a.nC)(),E.imapHandleOrientation(E.orientation)},enableRawMouseInput:(e,t,n)=>{var o,r,i;if(E.pointerLock=1===e,E.changeRequested=!0,e){let{videoRef:e}=s.A.getState().play;try{(null==e?void 0:e.current)&&!document.pointerLockElement&&e.current.requestPointerLock(),E.mouseLockMoved.x=t+E.splitScreenSize,E.mouseLockMoved.y=n}catch(e){}}else"function"==typeof document.exitPointerLock&&(document.exitPointerLock(),E.mouseLockMoved.x=E.splitScreenSize,E.mouseLockMoved.y=0,(0,w.Ic)(S.EU,0));setTimeout(()=>{E.changeRequested=!1},(null==(i=null==(r=null==(o=f.Ay.appInfo)?void 0:o.playFeFeatures)?void 0:r.gl)?void 0:i.enableImageDetection)?400:100)},sendFakeEvents:()=>{},sendNativeMouse:()=>{},sendControlStatus:e=>{var t,n,o;if(null==(o=null==(n=null==(t=f.Ay.appInfo)?void 0:t.playFeFeatures)?void 0:n.gl)?void 0:o.enableImageDetection)try{let t={};e?(e.split("|").map(e=>e.split("=")).map(e=>{if(e[0]&&e[1]){let[n,o]=e[0].split("&"),[r,...i]=e[1].split("-");n&&o&&r&&i&&(t[Number(r)]={type:n,enabled:"1"===o,index:Number(r),points:i.join("-").split(":").filter(e=>!!e).map(Number)})}return e}),E.controlIndexToStateMap=t):E.controlIndexToStateMap=null,(0,w.Ic)(S.CB,{width:E.width,height:E.height})}catch(t){(0,w.eD)(t,"sendControlStatus failed",{str:e})}},sendAccelerometerData:function(e,t,n){let o=e*l.vuH,i=t*l.vuH,a=n*l.vuH;0===E.orientation||2===E.orientation?(o=-o,i=-i):[o,i]=[-i,o];let s=[o,i,a];(0,r.vd)((0,v.ZT)(201,s))},sendTouchPoints:o=>{if(E.inUse()&&o)try{let a=[];o.forEach((o,s)=>{if(t[s]&&o.x>1e4&&o.y>1e4)n(s);else if(1===t[s]&&o.x<1e4&&o.y<1e4)e[s]=o,a.push(s,o.x+E.splitScreenSize,o.y);else if(e[s]&&o.x>1e4&&o.y>1e4)n(s);else if(o.x<1e4&&o.y<1e4){let n=[s,o.x+E.splitScreenSize,o.y];e[s]=o,(0,r.vd)(i(1,n)),t[s]=1}}),a.length&&(0,r.vd)(i(3,a))}catch(e){(0,w.eD)(e,"sendTouchPoints failed",{points:o.join(",")})}},sendKeyToAndroid:()=>{},imapInitFailure:()=>{E.initialized=!1,E.clear(),(0,w.Ic)(S.cZ,!1)}}}let I=E},88046:(e,t,n)=>{var o=n(39824),r=/^\s+/;e.exports=function(e){return e?e.slice(0,o(e)+1).replace(r,""):e}},88548:(e,t,n)=>{"use strict";n.d(t,{LS:()=>c,o_:()=>u,pd:()=>l,qQ:()=>d});var o=n(62920),r=n(71278),i=n(10025),a=n(56047),s=n(70780);let l=e=>(function(e,t,n,o){return new(n||(n=Promise))(function(r,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((o=o.apply(e,t||[])).next())})})(void 0,void 0,void 0,function*(){r.A.dispatch({type:s.A.COPY_PASTE_PROMPT,payload:{showCopyPastePrompt:{type:"paste",event:e}}})}),c=e=>{(0,i.vd)("".concat(o.sXX.clipboard).concat(e));let t=new ArrayBuffer(4),n=new Uint8Array(t);n[0]=101,n[1]=1,n[2]=86,n[3]=4,(0,i.vd)(t)},u=e=>{r.A.getState().play.uiTextfieldInFocus||e.preventDefault();let{clipboardData:t}=e,n=null==t?void 0:t.getData("text");(n=null==n?void 0:n.slice(0,o.U_l))&&c(n)},d=e=>{try{((0,a.nr)()||(0,a.OF)())&&r.A.dispatch({type:s.A.COPY_PASTE_PROMPT,payload:{showCopyPastePrompt:{type:"copy",copyText:e}}}),navigator.clipboard.writeText(e).catch(()=>{})}catch(e){}}},88940:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});let o=e=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push(e)}},88981:(e,t,n)=>{"use strict";n.d(t,{P:()=>m,o:()=>y});var o=n(35402),r=n(4208),i=n(29359),a=n(71278),s=n(56047),l=n(62920),c=n(59803),u=function(e,t,n,o){return new(n||(n=Promise))(function(r,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((o=o.apply(e,t||[])).next())})};let d="fe-user-preferences",p="fe-recent-played-apps",f=()=>JSON.parse(window.localStorage.getItem(d)||"[]").find(e=>{let{appId:t}=e;return t===i.Ay.appInfo.appId}),g=()=>{let e=a.A.getState().play.isPlayerLoaded,t=JSON.parse(window.localStorage.getItem(p)||"[]"),n=t.find(e=>{let{appId:t}=e;return t===i.Ay.appInfo.appId});return n?t=t.filter(e=>{let{appId:t}=e;return t!==i.Ay.appInfo.appId}):e&&(n={appId:i.Ay.appInfo.appId,icon:i.Ay.appInfo.media.icon,name:i.Ay.appInfo.appName,playUrl:window.location.href,appPageUrl:i.Ay.appInfo.appPageUrl,packageName:i.Ay.appInfo.packageName,appDeveloperName:i.Ay.appInfo.appDeveloperInfo.name}),n&&(null==n?void 0:n.appId)!==l.Sl&&t.unshift(n),window.localStorage.setItem(p,JSON.stringify(t)),t},h=()=>u(void 0,void 0,void 0,function*(){let e=yield r.Ay.getPlaytime({},{});e.status===o.wD.Success&&a.A.dispatch({type:c.A.UPDATE_PREFERENCES,payload:{totalPlaytime:e.totalPlaytime}})}),y=e=>t=>u(void 0,void 0,void 0,function*(){var n,y;let m=a.A.getState().auth.isLoggedIn;if(m||i.Ay.isHomePage||e){yield u(void 0,void 0,void 0,function*(){let e=f();if((0,i.a2)()&&!e)return;let t=g(),n=[];t.forEach(e=>{n.push(e.appId)});let c={recentPlayedApp:n,appId:i.Ay.appInfo.appId,appPreferences:e?e.appPreferences:{},uaId:(0,s.qk)(l.kk8)},{isLoggedIn:u}=a.A.getState().auth;(yield r.Ay.updateUserPreferences({},c)).status===o.wD.Success&&u&&(window.localStorage.removeItem(d),window.localStorage.removeItem(p))});let n=sessionStorage.getItem("sideloadAppId"),y=g(),v=[];y.forEach(e=>{v.push(e.appId)}),(n||e)&&v.push(n||e);let A={recentPlayedApp:v,appId:n||e||i.Ay.appInfo.appId,uaId:(0,s.qk)(l.kk8)};yield r.Ay.updateUserPreferences({},A);let S=yield r.Ay.getUserPreferences({appId:i.Ay.appInfo.appId,uaId:(0,s.qk)(l.kk8)},{});if(m&&sessionStorage.removeItem("sideloadAppId"),S.status===o.wD.Success){let e,{imapOverlay:n,imapScheme:o,volume:r=0}=S.appPreferences;sessionStorage.setItem("userVolume",null==r?void 0:r.toString());let a=yield(e=S.recentPlayedApps,u(void 0,void 0,void 0,function*(){let{gamesList:t}=yield(0,i.gA)();try{let n=[...t.topApps.map(e=>e.appId),...t.topBarApps.map(e=>e.appId),...t.remainingApps.map(e=>e.appId),...t.otherApps.map(e=>e.appId)];return t.showcaseApps&&n.push(...t.showcaseApps.map(e=>e.appId)),(null==t?void 0:t.byogGameApp)&&n.push(t.byogGameApp.appId),e.reduce((e,t)=>(n.includes(t.appId)&&e.push(t),e),[])}catch(e){}return e}));t({type:c.A.UPDATE_PREFERENCES,payload:Object.assign(Object.assign(Object.assign(Object.assign({},void 0!==n&&{imapOverlay:n}),void 0!==o&&{imapScheme:o}),void 0!==r&&{volume:r}),{recentPlayedApps:a,totalPlayedApps:S.totalPlayedApps})})}yield h(),(0,i.a2)()&&setInterval(()=>{h()},6e4)}else{let e=f(),o=g();sessionStorage.setItem("userVolume",(null==(y=null==(n=null==e?void 0:e.appPreferences)?void 0:n.volume)?void 0:y.toString())||"0"),(e||o)&&t({type:c.A.UPDATE_PREFERENCES,payload:Object.assign(Object.assign({},null==e?void 0:e.appPreferences),{recentPlayedApps:o})})}}),m=e=>{let{imapScheme:t,imapOverlay:n,volume:p}=e;return e=>u(void 0,void 0,void 0,function*(){let u=a.A.getState().auth.isLoggedIn,f=Object.assign(Object.assign(Object.assign({},void 0!==n&&{imapOverlay:n}),void 0!==t&&{imapScheme:t}),void 0!==p&&p>=0&&p<=1&&{volume:p}),g={appId:i.Ay.appInfo.appId,appPreferences:f,uaId:(0,s.qk)(l.kk8)},h=null==f?void 0:f.volume;h&&sessionStorage.setItem("userVolume",(null==h?void 0:h.toString())||"0"),u?(yield r.Ay.updateUserPreferences({},g)).status===o.wD.Success&&e({type:c.A.UPDATE_PREFERENCES,payload:f}):((e=>{let{appId:t,appPreferences:n}=e,o=JSON.parse(window.localStorage.getItem(d)||"[]"),r=o.findIndex(e=>e.appId===t);-1!==r?o[r].appPreferences=Object.assign(Object.assign({},o[r].appPreferences),n):o.push({appId:t,appPreferences:n}),window.localStorage.setItem(d,JSON.stringify(o))})(g),e({type:c.A.UPDATE_PREFERENCES,payload:f}))})}},89950:(e,t,n)=>{var o=n(64451),r=n(97023),i=n(99828),a=o?o.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?r(e):i(e)}},91532:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(93409);t.ResizeObservation=function(){function e(e){this.target=e,this.$$broadcastWidth=this.$$broadcastHeight=0}return Object.defineProperty(e.prototype,"broadcastWidth",{get:function(){return this.$$broadcastWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"broadcastHeight",{get:function(){return this.$$broadcastHeight},enumerable:!0,configurable:!0}),e.prototype.isActive=function(){var e=o.ContentRect(this.target);return!!e&&(e.width!==this.broadcastWidth||e.height!==this.broadcastHeight)},e}()},91672:(e,t,n)=>{"use strict";n.d(t,{F:()=>o});let o=()=>{try{let e=navigator.userAgent;if(/iPhone/.test(e)||/iPad/.test(e)||/iPod/.test(e))return"iOS";if(/Android/i.test(e))return"Android";if(/CrOS/.test(e))return"Chrome OS";if(/Linux/.test(e))return"Linux";if(/Win/i.test(e))return"Windows";if(/Mac/i.test(e))return"OS X";return"unknown"}catch(e){return"exception"}}},92634:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});let o={MOUSE_LOCK_ONBOARDING_COUNT:"MOUSE_LOCK_ONBOARDING_COUNT",SHIFT_LOCK_TOAST_UPDATE:"SHIFT_LOCK_TOAST_UPDATE",ROBLOX_TOAST_UPDATE:"ROBLOX_TOAST_UPDATE",GAME_GUIDE_NOTIF_COUNT_UPDATE:"GAME_GUIDE_NOTIF_COUNT_UPDATE",LOGIN_NOTIF_UPDATE:"LOGIN_NOTIF_UPDATE",UPDATE_PREFERENCES:"UPDATE_PREFERENCES",RECORDING_UPDATE:"RECORDING_UPDATE",SET_QUEST_INFO:"SET_QUEST_INFO",SET_LIVE_STREAMING_COUNT:"SET_LIVE_STREAMING_COUNT",SHOW_ANA_BOT:"SHOW_ANA_BOT",UPDATE_USER_AND_DEVICE_DATA:"UPDATE_USER_AND_DEVICE_DATA",SEARCH_BAR_OPENED:"SEARCH_BAR_OPENED"}},92786:(e,t,n)=>{"use strict";let o;n.d(t,{JZ:()=>l,VA:()=>s,xJ:()=>a});var r=n(86887),i=n(73319);let a=(e,t)=>{"imgd::set::".concat(e,"::").concat(t),(0,i.v)("imgd::set::".concat(e,"::").concat(t)),r.Ay.setTags("")},s={images:{}},l=e=>{clearTimeout(o);try{let{detected:t}=e;if(t){let e=t.split(";");if(e&&(null==e?void 0:e.length)){let t={},n=null==e?void 0:e.map(e=>{let n=e.split(",");return t[n[0]]={x:parseFloat(n[1]),y:parseFloat(n[2])},r.Ay.inUse()&&r.Ay.imagesDetected(n[0],parseFloat(n[1]),parseFloat(n[2])),n[0]}).join(",");r.Ay.inUse()?(r.Ay.setTags(n),s.images={}):s.images=t}else s.images={}}}catch(e){s.images={}}o=setTimeout(()=>{r.Ay.inUse()&&r.Ay.setTags(""),s.images={}},500)}},93007:e=>{e.exports=Array.isArray},93409:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContentRect=function(e){if("getBBox"in e){var t=e.getBBox();return Object.freeze({height:t.height,left:0,top:0,width:t.width})}var n=window.getComputedStyle(e);return Object.freeze({height:parseFloat(n.height||"0"),left:parseFloat(n.paddingLeft||"0"),top:parseFloat(n.paddingTop||"0"),width:parseFloat(n.width||"0")})}},94552:(e,t,n)=>{var o=n(84779),r=n(17099),i=n(36315);e.exports=function(){this.size=0,this.__data__={hash:new o,map:new(i||r),string:new o}}},95036:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});let o={SET_LOGGED_IN:"SET_LOGGED_IN",SHOW_PRELOADER:"SHOW_PRELOADER",GUEST_FLOW:"GUEST_FLOW",TOGGLE_LOGIN:"TOGGLE_LOGIN",SET_USER_ACTIVITY:"SET_USER_ACTIVITY",TOGGLE_MANUAL_LOGOUT_LOGIN:"TOGGLE_MANUAL_LOGOUT_LOGIN",SET_PLAY_TOKEN:"SET_PLAY_TOKEN",UPDATE_LOGIN_CONTEXT:"UPDATE_LOGIN_CONTEXT",USER_STORE_UPDATED:"USER_STORE_UPDATED",UPDATE_PASSWORD:"UPDATE_PASSWORD",UPDATE_USER_EMAIL:"UPDATE_USER_EMAIL",SET_PLAYCODE_REF_ID:"SET_PLAYCODE_REF_ID"}},95566:(e,t,n)=>{"use strict";n.d(t,{A:()=>d,H:()=>u});var o=n(37876),r=n(26875),i=n(14232),a=n(64320),s=n(70780),l=n(99397),c=n(56047);let u="undefined"!=typeof document?document:null,d=()=>{let{t:e}=(0,r.B)(),t=(0,a.d4)(e=>e.play.draggableState),n=(0,a.d4)(e=>e.play.f11KeysPressed),u=(0,a.d4)(e=>e.play.f11KeysProcessed),d=(0,a.d4)(e=>e.play.isFullscreen),p=(0,a.wA)();return(0,i.useEffect)(()=>{n!==u&&(p({type:s.A.UPDATE_F11_PROCESSED}),(0,c.kf)())},[n]),(0,o.jsx)(l.A,{alt:e(d?"exitFullscreen":"enterFullscreen"),title:e(d?"exitFullscreen":"enterFullscreen"),onClick:()=>{"drag"!==t&&(p({type:s.A.UPDATE_PLAY_STATE,payload:{showMobileHeaderFooter:!1}}),(0,c.kf)())},name:d?"exit-fullscreen":"enter-fullscreen"})}},97023:(e,t,n)=>{var o=n(64451),r=Object.prototype,i=r.hasOwnProperty,a=r.toString,s=o?o.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var o=!0}catch(e){}var r=a.call(e);return o&&(t?e[s]=n:delete e[s]),r}},97225:(e,t,n)=>{"use strict";e.exports=n(70789)},98506:(e,t,n)=>{var o=n(40087),r=function(){var e=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!r&&r in e}},98684:(e,t,n)=>{"use strict";n.d(t,{NP:()=>e_,AH:()=>ey,Ay:()=>eR,i7:()=>eO,DP:()=>eI});var o=n(97225),r=n(14232),i=n(33875),a=n.n(i);let s=function(e){function t(e,t,o){var r=t.trim().split(g);t=r;var i=r.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";so&&(o=(t=t.trim()).charCodeAt(0)),o){case 38:return t.replace(h,"$1"+e.trim());case 58:return e.trim()+t.replace(h,"$1"+e.trim());default:if(0<+n&&0l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102s.charCodeAt(0)&&(s=s.trim()),s=[s],0f)&&(j=(H=H.replace(" ",":")).length),0e.charCodeAt(2)}),d=n(23520),p=n.n(d),f=n(65364);function g(){return(g=Object.assign||function(e){for(var t=1;t1?t-1:0),o=1;o0?" Args: "+n.join(", "):""))}var P=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)(r<<=1)<0&&T(16,""+e);this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var i=o;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,i=o;i=R&&(R=t+1),O.set(e,t),I.set(t,e)},D="style["+b+'][data-styled-version="5.3.11"]',N=RegExp("^"+b+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),C=function(e,t,n){for(var o,r=n.split(","),i=0,a=r.length;i=0;n--){var o=t[n];if(o&&1===o.nodeType&&o.hasAttribute(b))return o}}(n),i=void 0!==r?r.nextSibling:null;o.setAttribute(b,"active"),o.setAttribute("data-styled-version","5.3.11");var a=F();return a&&o.setAttribute("nonce",a),n.insertBefore(o,i),o},M=function(){function e(e){var t=this.element=U(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n=0){var n=document.createTextNode(t),o=this.nodes[e];return this.element.insertBefore(n,o||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e0&&(u+=e+",")}),o+=""+l+c+'{content:"'+u+'"}/*!sc*/\n'}}}return o}(this)},e}(),z=/(a)(d)/gi,V=function(e){return String.fromCharCode(e+(e>25?39:97))};function Y(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=V(t%52)+n;return(V(t%52)+n).replace(z,"$1-$2")}var $=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},q=function(e){return $(5381,e)};function J(e){for(var t=0;t>>0);if(!t.hasNameForId(o,a)){var s=n(i,"."+a,void 0,o);t.insertRules(o,a,s)}r.push(a),this.staticRulesId=a}else{for(var l=this.rules.length,c=$(this.baseHash,n.hash),u="",d=0;d>>0);if(!t.hasNameForId(o,h)){var y=n(u,"."+h,void 0,o);t.insertRules(o,h,y)}r.push(h)}}return r.join(" ")},e}(),Q=/^\s*\/\/.*$/gm,Z=[":","[",".","#"];function ee(e){var t,n,o,r,i=void 0===e?v:e,a=i.options,l=void 0===a?v:a,c=i.plugins,u=void 0===c?m:c,d=new s(l),p=[],f=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,o,r,i,a,s,l,c,u,d){switch(n){case 1:if(0===u&&64===o.charCodeAt(0))return e(o+";"),"";break;case 2:if(0===c)return o+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(r[0]+o),"";default:return o+(0===d?"/*|*/":"")}case -2:o.split("/*|*/}").forEach(t)}}}(function(e){p.push(e)}),g=function(e,o,i){return 0===o&&-1!==Z.indexOf(i[n.length])||i.match(r)?e:"."+t};function h(e,i,a,s){void 0===s&&(s="&");var l=e.replace(Q,""),c=i&&a?a+" "+i+" { "+l+" }":l;return t=s,o=RegExp("\\"+(n=i)+"\\b","g"),r=RegExp("(\\"+n+"\\b){2,}"),d(a||!i?"":i,c)}return d.use([].concat(u,[function(e,t,r){2===e&&r.length&&r[0].lastIndexOf(n)>0&&(r[0]=r[0].replace(o,g))},f,function(e){if(-2===e){var t=p;return p=[],t}}])),h.hash=u.length?u.reduce(function(e,t){return t.name||T(15),$(e,t.name)},5381).toString():"",h}var et=r.createContext(),en=(et.Consumer,r.createContext()),eo=(en.Consumer,new W),er=ee();function ei(){return(0,r.useContext)(et)||eo}function ea(e){var t=(0,r.useState)(e.stylisPlugins),n=t[0],o=t[1],i=ei(),s=(0,r.useMemo)(function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target]),l=(0,r.useMemo)(function(){return ee({options:{prefix:!e.disableVendorPrefixes},plugins:n})},[e.disableVendorPrefixes,n]);return(0,r.useEffect)(function(){a()(n,e.stylisPlugins)||o(e.stylisPlugins)},[e.stylisPlugins]),r.createElement(et.Provider,{value:s},r.createElement(en.Provider,{value:l},e.children))}var es=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=er);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"))},this.toString=function(){return T(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=er),this.name+e.hash},e}(),el=/([A-Z])/,ec=/([A-Z])/g,eu=/^ms-/,ed=function(e){return"-"+e.toLowerCase()};function ep(e){return el.test(e)?e.replace(ec,ed).replace(eu,"-ms-"):e}var ef=function(e){return null==e||!1===e||""===e};function eg(e,t,n,o){if(Array.isArray(e)){for(var r,i=[],a=0,s=e.length;a1?t-1:0),o=1;o?@[\\\]^`{|}~-]+/g,ev=/(^-|-$)/g;function eA(e){return e.replace(em,"-").replace(ev,"")}var eS=function(e){return Y(q(e)>>>0)};function ew(e){return"string"==typeof e}var eb=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},eE=r.createContext();function e_(e){var t=(0,r.useContext)(eE),n=(0,r.useMemo)(function(){var n;return n=e.theme,n?A(n)?n(t):Array.isArray(n)||"object"!=typeof n?T(8):t?g({},t,{},n):n:T(14)},[e.theme,t]);return e.children?r.createElement(eE.Provider,{value:n},e.children):null}eE.Consumer;var eT={},eP=function(e){return function e(t,n,r){if(void 0===r&&(r=v),!(0,o.isValidElementType)(n))return T(1,String(n));var i=function(){return t(n,r,ey.apply(void 0,arguments))};return i.withConfig=function(o){return e(t,n,g({},r,{},o))},i.attrs=function(o){return e(t,n,g({},r,{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},i}(function e(t,n,o){var i=w(t),a=!ew(t),s=n.attrs,l=void 0===s?m:s,c=n.componentId,d=void 0===c?(_=n.displayName,T=n.parentComponentId,eT[P="string"!=typeof _?"sc":eA(_)]=(eT[P]||0)+1,O=P+"-"+eS("5.3.11"+P+eT[P]),T?T+"-"+O:O):c,f=n.displayName,h=void 0===f?ew(t)?"styled."+t:"Styled("+S(t)+")":f,y=n.displayName&&n.componentId?eA(n.displayName)+"-"+n.componentId:n.componentId||d,b=i&&t.attrs?Array.prototype.concat(t.attrs,l).filter(Boolean):l,E=n.shouldForwardProp;i&&t.shouldForwardProp&&(E=n.shouldForwardProp?function(e,o,r){return t.shouldForwardProp(e,o,r)&&n.shouldForwardProp(e,o,r)}:t.shouldForwardProp);var _,T,P,O,I,R=new K(o,y,i?t.componentStyle:void 0),k=R.isStatic&&0===l.length,x=function(e,t){return function(e,t,n,o){var i,a,s,l,c,d,p,f=e.attrs,h=e.componentStyle,y=e.defaultProps,m=e.foldedComponentIds,S=e.shouldForwardProp,w=e.styledComponentId,b=e.target,E=(i=(0,r.useContext)(eE),void 0===(a=y)&&(a=v),s=t.theme!==a.theme&&t.theme||i||a.theme||v,void 0===s&&(s=v),l=g({},t,{theme:s}),c={},f.forEach(function(e){var t,n,o,r=e;for(t in A(r)&&(r=r(l)),r)l[t]=c[t]="className"===t?(n=c[t],o=r[t],n&&o?n+" "+o:n||o):r[t]}),[l,c]),_=E[0],T=E[1],P=(d=ei(),p=(0,r.useContext)(en)||er,o?h.generateAndInjectStyles(v,d,p):h.generateAndInjectStyles(_,d,p)),O=T.$as||t.$as||T.as||t.as||b,I=ew(O),R=T!==t?g({},t,{},T):t,k={};for(var x in R)"$"!==x[0]&&"as"!==x&&("forwardedAs"===x?k.as=R[x]:(S?S(x,u,O):!I||u(x))&&(k[x]=R[x]));return t.style&&T.style!==t.style&&(k.style=g({},t.style,{},T.style)),k.className=Array.prototype.concat(m,w,P!==w?P:null,t.className,T.className).filter(Boolean).join(" "),k.ref=n,(0,r.createElement)(O,k)}(I,e,t,k)};return x.displayName=h,(I=r.forwardRef(x)).attrs=b,I.componentStyle=R,I.displayName=h,I.shouldForwardProp=E,I.foldedComponentIds=i?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):m,I.styledComponentId=y,I.target=i?t.target:t,I.withComponent=function(t){var r=n.componentId,i=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(n,["componentId"]),a=r&&r+"-"+(ew(t)?t:eA(S(t)));return e(t,g({},i,{attrs:b,componentId:a}),o)},Object.defineProperty(I,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function e(t){for(var n=arguments.length,o=Array(n>1?n-1:0),r=1;r1?t-1:0),o=1;o2&&W.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o)}}(),function(){var e=(function(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=F();return""},this.getStyleTags=function(){return e.sealed?T(2):e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)return T(2);var t,n=((t={})[b]="",t["data-styled-version"]="5.3.11",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),o=F();return o&&(n.nonce=o),[r.createElement("style",g({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new W({isServer:!0}),this.sealed=!1}).prototype;e.collectStyles=function(e){return this.sealed?T(2):r.createElement(ea,{sheet:this.instance},e)},e.interleaveWithNodeStream=function(e){return T(3)}}();var eI=function(){return(0,r.useContext)(eE)};let eR=eP},98825:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},98978:e=>{e.exports=function(e,t){return e{e.exports=function(e){return void 0===e}},99397:(e,t,n)=>{"use strict";n.d(t,{I:()=>i,A:()=>a});var o=n(37876);n(14232);let r=n(98684).Ay.i.withConfig({componentId:"sc-a9d1dfcf-0"})(["display:flex;font-size:",";&.prime-enable-popup{width:40px;height:40px;display:flex;justify-content:center;align-items:center;}"],e=>{let{size:t}=e;return"".concat(t,"px")}),i=e=>{let{name:t,size:n=25,onClick:i,style:a,id:s,className:l}=e;return(0,o.jsx)(r,{size:n,className:"icon-".concat(t," ").concat(l),onClick:i,style:a,id:s})},a=i},99828:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},99989:(e,t,n)=>{"use strict";t.__esModule=!0,t.default=function(e){var t=(0,o.default)(e);return{getItem:function(e){return new Promise(function(n,o){n(t.getItem(e))})},setItem:function(e,n){return new Promise(function(o,r){o(t.setItem(e,n))})},removeItem:function(e){return new Promise(function(n,o){n(t.removeItem(e))})}}};var o=function(e){return e&&e.__esModule?e:{default:e}}(n(79235))}},e=>{var t=t=>e(e.s=t);e.O(0,[1869,8792],()=>(t(92),t(48253))),_N_E=e.O()}]); //# sourceMappingURL=_app-9e5072549a032ba3.js.map