PageSourceSearch

https://www.playfull.com/_next/static/chunks/20417-3d99113108298410.js

js playfull.com collected 2026-10-07 23:45:58 UTC 21,196 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[20417],{6379:function(n,t,e){var i,o=e(94746);function r(){return(r=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var i in e)({}).hasOwnProperty.call(e,i)&&(n[i]=e[i])}return n}).apply(null,arguments)}t.Z=function(n){return o.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:14,height:17,fill:"none",viewBox:"0 0 14 17"},n),i||(i=o.createElement("path",{fill:"currentColor",d:"m8.686 1.969.661-1.26a.146.146 0 0 0-.051-.19.128.128 0 0 0-.181.054l-.668 1.273a4.302 4.302 0 0 0-1.81-.4c-.622 0-1.238.136-1.808.4L4.161.573a.135.135 0 0 0-.08-.067.127.127 0 0 0-.101.011.14.14 0 0 0-.064.085.148.148 0 0 0 .01.107l.662 1.26a3.9 3.9 0 0 0-1.536 1.457 4.198 4.198 0 0 0-.593 2.089h8.358a4.197 4.197 0 0 0-.594-2.09A3.9 3.9 0 0 0 8.686 1.97ZM4.71 3.899a.336.336 0 0 1-.194-.062.365.365 0 0 1-.128-.165.388.388 0 0 1 .076-.402.332.332 0 0 1 .38-.08.354.354 0 0 1 .157.136.384.384 0 0 1-.044.466.34.34 0 0 1-.247.107Zm3.858 0a.336.336 0 0 1-.194-.062.365.365 0 0 1-.128-.165.388.388 0 0 1 .076-.402.332.332 0 0 1 .38-.08.354.354 0 0 1 .157.136.384.384 0 0 1-.044.466.34.34 0 0 1-.247.107Zm-6.11 8.362c0 .14.026.279.077.409.05.13.125.247.22.347.093.099.205.178.328.231a.965.965 0 0 0 .388.08h.67v2.183c0 .262.098.514.274.7.176.185.414.289.663.289a.912.912 0 0 0 .662-.29c.176-.185.275-.437.275-.7V13.33h1.249v2.182c0 .262.099.514.274.699.176.185.414.29.662.29a.912.912 0 0 0 .663-.29c.175-.186.274-.437.274-.7V13.33h.67a.964.964 0 0 0 .388-.081c.122-.054.234-.132.328-.232.094-.099.168-.216.22-.346.05-.13.076-.268.076-.409V5.864h-8.36v6.397ZM1.171 5.694a.914.914 0 0 0-.662.29 1.02 1.02 0 0 0-.274.7v4.122c0 .13.024.259.071.379.047.12.116.229.203.32.087.092.19.165.304.215a.894.894 0 0 0 1.02-.215.994.994 0 0 0 .204-.32c.047-.12.071-.249.071-.379V6.683c0-.262-.1-.513-.275-.699a.914.914 0 0 0-.662-.29Zm10.931 0a.914.914 0 0 0-.662.29 1.02 1.02 0 0 0-.274.7v4.122a.995.995 0 0 0 .274.7c.087.091.19.164.304.214a.894.894 0 0 0 1.02-.215.992.992 0 0 0 .204-.32c.047-.12.07-.249.07-.379V6.683c0-.262-.098-.513-.274-.699a.914.914 0 0 0-.662-.29Z"})))}},80919:function(n,t,e){var i,o,r=e(94746);function l(){return(l=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var i in e)({}).hasOwnProperty.call(e,i)&&(n[i]=e[i])}return n}).apply(null,arguments)}t.Z=function(n){return r.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"none",viewBox:"0 0 48 48"},n),i||(i=r.createElement("g",{clipPath:"url(#a)"},r.createElement("circle",{cx:24,cy:24,r:24,fill:"currentColor"}),r.createElement("path",{fill:"#000",d:"M8.084 31.68h2.646V20.42H8.084v11.26Zm1.318-12.737c.828 0 1.476-.637 1.476-1.434 0-.807-.648-1.445-1.476-1.445-.818 0-1.466.638-1.466 1.445 0 .797.648 1.434 1.466 1.434Zm10.134-2.847c-4.472 0-7.277 3.049-7.277 7.925 0 4.876 2.805 7.914 7.277 7.914 4.462 0 7.266-3.038 7.266-7.914 0-4.876-2.804-7.925-7.266-7.925Zm0 2.337c2.73 0 4.473 2.167 4.473 5.588 0 3.41-1.743 5.577-4.473 5.577-2.74 0-4.472-2.167-4.472-5.577 0-3.42 1.732-5.588 4.472-5.588Zm8.382 8.934c.117 2.826 2.433 4.568 5.96 4.568 3.707 0 6.044-1.827 6.044-4.738 0-2.284-1.317-3.57-4.43-4.28l-1.763-.404c-1.88-.447-2.655-1.042-2.655-2.061 0-1.275 1.168-2.125 2.9-2.125 1.752 0 2.953.86 3.08 2.295h2.613c-.063-2.699-2.294-4.526-5.672-4.526-3.336 0-5.705 1.838-5.705 4.558 0 2.188 1.339 3.547 4.164 4.196l1.987.467c1.933.457 2.72 1.094 2.72 2.2 0 1.274-1.286 2.187-3.134 2.187-1.87 0-3.283-.924-3.453-2.337h-2.656Z"}))),o||(o=r.createElement("defs",null,r.createElement("clipPath",{id:"a"},r.createElement("path",{fill:"currentColor",d:"M0 0h48v48H0z"})))))}},56987:function(n,t,e){var i,o,r=e(94746);function l(){return(l=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var i in e)({}).hasOwnProperty.call(e,i)&&(n[i]=e[i])}return n}).apply(null,arguments)}t.Z=function(n){return r.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"2.93 3.68 17.07 17.07"},n),r.createElement("mask",{id:"mask0_3050_6922",width:18,height:18,x:2,y:3,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},i||(i=r.createElement("path",{fill:"currentColor",d:"M20 3.68H2.93v17.07H20V3.68Z"}))),o||(o=r.createElement("g",{mask:"url(#mask0_3050_6922)"},r.createElement("path",{fill:"currentColor",d:"M17.902 9.602c.33.807.511 1.69.511 2.618h1.067a7.98 7.98 0 0 0-.59-3.021l-.988.403Zm.511 2.618c0 .493-.051.973-.149 1.436l1.044.22a8.032 8.032 0 0 0 .172-1.655h-1.067Zm-.149 1.436a6.944 6.944 0 0 1-5.35 5.35l.22 1.045a8.01 8.01 0 0 0 6.174-6.175l-1.044-.22Zm-5.35 5.35a6.964 6.964 0 0 1-1.436.15v1.066c.567 0 1.121-.059 1.656-.171l-.22-1.044Zm-1.436.15c-.492 0-.973-.052-1.435-.15l-.22 1.045a8.032 8.032 0 0 0 1.655.171v-1.067ZM4.543 12.22c0-.929.183-1.813.512-2.621l-.987-.403a7.98 7.98 0 0 0-.591 3.024h1.066Zm5.5 6.786a6.944 6.944 0 0 1-5.35-5.35l-1.045.219a8.011 8.011 0 0 0 6.175 6.175l.22-1.044Zm-5.35-5.35a6.966 6.966 0 0 1-.15-1.437H3.477c0 .567.059 1.121.171 1.656l1.044-.22ZM5.054 9.6a6.949 6.949 0 0 1 4.988-4.166l-.22-1.044a8.015 8.015 0 0 0-5.755 4.807l.987.403Zm4.988-4.166a6.966 6.966 0 0 1 1.435-.148V4.219c-.567 0-1.12.059-1.655.171l.22 1.044Zm1.435-.148c.493 0 .973.051 1.436.148l.22-1.044a8.033 8.033 0 0 0-1.656-.171v1.067Zm1.436.148a6.948 6.948 0 0 1 4.988 4.168l.988-.403a8.015 8.015 0 0 0-5.756-4.809l-.22 1.044Zm-.398-.36c.206.647.97 3.132 1.282 5.417l1.057-.145c-.326-2.381-1.114-4.94-1.323-5.596l-1.016.324Zm1.282 5.417c.084.612.134 1.2.134 1.73H15c0-.592-.056-1.232-.144-1.875l-1.057.145Zm4.382-1.576c-.82.249-2.36.685-3.95.979l.193 1.049a39.257 39.257 0 0 0 4.067-1.007l-.31-1.021Zm-3.95.979c-.964.178-1.928.3-2.752.3v1.066c.916 0 1.951-.133 2.945-.317l-.193-1.05Zm-.298 2.326c0 .784-.11 1.694-.274 2.611l1.05.188c.17-.948.291-1.927.291-2.799h-1.067Zm-.274 2.611c-.36 2.012-.964 3.975-1.142 4.535l1.016.325c.183-.574.804-2.59 1.176-4.672l-1.05-.188Zm4.966-1.573c-.56.179-2.523.783-4.535 1.142l.188 1.05c2.082-.372 4.097-.993 4.672-1.176l-.325-1.016ZM14.09 14.4c-.917.164-1.828.274-2.61.274v1.067c.87 0 1.85-.12 2.798-.29l-.188-1.05Zm-2.61.274c-.784 0-1.694-.11-2.612-.274l-.188 1.05c.949.17 1.928.291 2.8.291v-1.067ZM8.866 14.4c-2.011-.36-3.975-.963-4.535-1.142l-.324 1.016c.574.183 2.59.804 4.671 1.177l.188-1.05Zm-.91-2.18c0 .872.122 1.851.291 2.8l1.05-.188c-.164-.918-.274-1.829-.274-2.612H7.958Zm.291 2.8c.372 2.08.993 4.097 1.177 4.67l1.016-.324c-.179-.56-.783-2.523-1.143-4.534l-1.05.187ZM9.425 4.75c-.21.655-.997 3.215-1.324 5.596l1.057.145c.313-2.285 1.077-4.77 1.283-5.417L9.425 4.75ZM8.1 10.346a14.05 14.05 0 0 0-.143 1.874h1.066c0-.528.05-1.117.134-1.73L8.1 10.346Zm3.377-.153c-.823 0-1.787-.121-2.751-.3l-.194 1.05c.994.184 2.03.317 2.945.317v-1.067Zm-2.751-.3a38.209 38.209 0 0 1-3.951-.978l-.31 1.02c.837.254 2.42.704 4.067 1.008l.194-1.05Zm9.423-.966a.182.182 0 0 1 .03-.012l.31 1.02a.886.886 0 0 0 .152-.061l-.492-.947Zm-13.867.926a.787.787 0 0 0 .183.082l.31-1.02a.28.28 0 0 1 .064.028l-.557.91Z"}))))}},64594:function(n,t,e){var i,o,r,l=e(94746);function c(){return(c=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var i in e)({}).hasOwnProperty.call(e,i)&&(n[i]=e[i])}return n}).apply(null,arguments)}t.Z=function(n){return l.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},n),i||(i=l.createElement("path",{fill:"#fff",d:"m4.971 12.252-.989-.41a1.705 1.705 0 0 0 2.192.843 1.713 1.713 0 0 0-1.256-3.186l1.022.424a1.262 1.262 0 0 1-.969 2.329Z"})),o||(o=l.createElement("path",{fill:"#fff",d:"M7.983 0A8.001 8.001 0 0 0 0 7.469l.003.005 4.299 1.77a2.198 2.198 0 0 1 1.31-.364L7.57 6.036v-.04a3.044 3.044 0 0 1 3.038-3.042 3.044 3.044 0 1 1-.069 6.086l-2.8 2.002a2.22 2.22 0 0 1-3.92 1.485 2.217 2.217 0 0 1-.463-.945l-3.028-1.25A8.005 8.005 0 0 0 7.983 16a8 8 0 1 0 0-16Z"})),r||(r=l.createElement("path",{fill:"#fff",d:"M12.634 5.996a2.03 2.03 0 0 0-2.024-2.028 2.029 2.029 0 0 0 0 4.056 2.028 2.028 0 0 0 2.024-2.028Zm-3.541-.002c0-.842.681-1.524 1.52-1.524a1.522 1.522 0 0 1 .582 2.93 1.522 1.522 0 0 1-2.102-1.407Z"})))}},80599:function(n,t,e){e.d(t,{ZK:function(){return r},m_:function(){return i},su:function(){return l}});let i=n=>{var t,e,i,o,r;let l=null===(t=n.item.userQuests)||void 0===t?void 0:t[0],c=null===(i=n.item.questMissions)||void 0===i?void 0:null===(e=i[0])||void 0===e?void 0:e.mission,a=null==c?void 0:null===(o=c.userMissions)||void 0===o?void 0:o[0],u="quest"===n._type?l:a;return{startedAt:null==u?void 0:u.startedAt,completedAt:null==u?void 0:u.completedAt,userExpiredAt:null==u?void 0:u.expiredAt,globalEndedAt:"quest"===n._type?null===(r=n.item)||void 0===r?void 0:r.endedAt:null==c?void 0:c.endedAt}},o=n=>{var t;return null!==(t=null==n?void 0:n.some(n=>!!n.startedAt))&&void 0!==t&&t},r=n=>{let{current:t,any:e}=n;return o(e)&&!o(t)},l=n=>{var t,e;let i=null===(e=n.item.questMissions)||void 0===e?void 0:null===(t=e[0])||void 0===t?void 0:t.mission;return"quest"===n._type?r({current:n.item.userQuests,any:n.item.allUserQuests}):r({current:null==i?void 0:i.userMissions,any:null==i?void 0:i.allUserMissions})}},14490:function(n,t,e){e.d(t,{c:function(){return i}});function i(n){let{userExpiredAt:t,globalEndedAt:e,now:i=new Date}=n,o=t?new Date(t):null,r=e?new Date(e):null;return null!==o&&o<=i||null!==r&&r<=i}},1262:function(n,t,e){var i=e(57437),o=e(27648);let r=(0,e(2265).forwardRef)((n,t)=>{let{prefetch:e=!1,...r}=n;return(0,i.jsx)(o.default,{ref:t,prefetch:e,...r})});r.displayName="Link",t.Z=r},91272:function(n,t,e){e.d(t,{BH:function(){return o},Mj:function(){return u},Nz:function(){return c},QN:function(){return l},em:function(){return i},lV:function(){return a},s6:function(){return r}});let i="auth-redirect-uri",o="auth-initiated-uri",r="origin-uri",l="adops-redirect-uri",c="auth_source",a="referral-code",u="quest-purchase-context"},7737:function(n,t,e){e.d(t,{$H:function(){return g},Uc:function(){return d},Uf:function(){return h},XA:function(){return v},kU:function(){return p},xw:function(){return f},zN:function(){return w}});var i=e(99376),o=e(2265),r=e(16050),l=e(91272),c=e(37397);let a=["auth","onboarding","welcome","offerwall-signup"],u=()=>(0,r.Xs)(l.em,"/"),s=()=>(0,r.Xs)(l.s6,"/"),m=()=>(0,r.Xs)(l.QN,void 0),g=()=>{let n=(0,i.usePathname)(),t=(0,i.useSearchParams)(),[,e]=u(),r=(0,o.useMemo)(()=>
1{if(!t)return"";let n=Array.from(t.entries()).filter(n=>{let[t]=n;return"redirect_uri"!==t&&"openNewTab"!==t});return n.length?new URLSearchParams(n).toString():""},[t]);(0,o.useEffect)(()=>{!n||a.some(t=>n.includes("/".concat(t)))||e(r?"".concat(n,"?").concat(r):n)},[n,r,e])},p=()=>{let[,n]=s();(0,o.useEffect)(()=>{n(window.location.origin)},[n])},h=()=>{let n=(0,i.useSearchParams)(),[,t]=m();(0,o.useEffect)(()=>{let e=null==n?void 0:n.get("redirect_uri"),i=window.location.origin;e&&(0,c.v)(e,i)&&t(e)},[n,t])},d=()=>{let[n]=u();return n},f=()=>{let[n]=s();return n},w=()=>{let[n]=m();return n},v=()=>{let[n]=(0,r.Xs)(l.Nz,void 0);return n}},78872:function(n,t,e){e.d(t,{p:function(){return u}});var i=e(57437),o=e(6379),r=e(80919),l=e(56987),c=e(64594);let a={ios:[(0,i.jsx)(r.Z,{style:{width:16,height:16}},"ios")],"i os":[(0,i.jsx)(r.Z,{style:{width:16,height:16}},"ios")],android:[(0,i.jsx)(o.Z,{style:{width:16,height:16}},"android")],web:[(0,i.jsx)(l.Z,{style:{width:16,height:16}},"web")],desktop:[(0,i.jsx)(l.Z,{style:{width:16,height:16}},"desktop")],windows:[(0,i.jsx)(c.Z,{size:16},"windows")],all:[(0,i.jsx)(r.Z,{style:{width:16,height:16}},"ios"),(0,i.jsx)(o.Z,{style:{width:16,height:16}},"android"),(0,i.jsx)(c.Z,{size:16},"windows"),(0,i.jsx)(l.Z,{style:{width:16,height:16}},"web")]},u=n=>n&&0!==n.length?n.flatMap((n,t)=>{let e=a[n.toLowerCase()];if(!e)return[];let i=s(n);return e.map((e,o)=>({key:"".concat(n,"-").concat(t,"-").concat(o),icon:e,name:i,rawValue:n}))}):[],s=n=>{let t=n.toLowerCase();return"ios"===n||"i os"===n?"iOS":"windows"===t?"Web":"desktop"===t?"Desktop":n.charAt(0).toUpperCase()+n.slice(1)}},9225:function(n,t,e){e.d(t,{C:function(){return o}});var i=e(37333);e(97055);let o=i.qSe},72422:function(n,t,e){e.d(t,{S:function(){return o}});var i=e(37333);e(97055);let o=i.ud9},8159:function(n,t,e){var i,o,r,l,c,a,u,s,m,g,p,h;e.d(t,{C$:function(){return r},Ho:function(){return i},ID:function(){return l},im:function(){return c},pA:function(){return a},uT:function(){return o}}),(u=i||(i={})).Apple="Apple",u.Discord="Discord",u.Email="Email",u.EpicGames="EpicGames",u.Google="Google",u.Metamask="Metamask",u.Steam="Steam",u.Telegram="Telegram",u.TikTok="TikTok",u.Twitch="Twitch",u.Twitter="Twitter",u.Xbox="Xbox",u.Playstation="Playstation",(s=o||(o={})).Playfull="PLAYFULL",s.UA_LANDING_PAGE="UA_LANDING_PAGE",s.PocketPlayfull="POCKET_PLAYFULL",s.Offerwall="OFFERWALL",s.WhiteLabelBattlePass="BATTLE_PASS",(m=r||(r={})).Offerwall="OFFERWALL",m.PocketPlayfull="POCKET_PLAYFULL",(g=l||(l={})).OfferwallMission="OFFERWALL_MISSION",g.PocketPlayfullMission="POCKET_PLAYFULL_MISSION",(p=c||(c={}))[p.Connect=0]="Connect",p[p.ConnectOrSignUp=1]="ConnectOrSignUp",p[p.Login=2]="Login",p[p.SignUp=3]="SignUp",(h=a||(a={})).ConnectDiscord="connectDiscord",h.ConnectDiscordAndClaimTopTenGames="connectDiscordAndClaimTopTenGames",h.ConnectEpicGames="connectEpicGames",h.ConnectGoogle="connectGoogle",h.ConnectSteam="connectSteam",h.ConnectTelegram="connectTelegram",h.ConnectTiktok="connectTiktok",h.ConnectTwitch="connectTwitch",h.ConnectTwitter="connectTwitter",h.ConnectXbox="connectXbox",h.ConnectPlaystation="connectPlaystation",h.ConnectOrSignUpDiscord="connectOrSignUpDiscord",h.ConnectOrSignUpSteam="connectOrSignUpSteam",h.ConnectOrSignUpTelegram="connectOrSignUpTelegram",h.ConnectOrSignUpTiktok="connectOrSignUpTiktok",h.ConnectOrSignUpTwitch="connectOrSignUpTwitch",h.ConnectOrSignUpTwitter="connectOrSignUpTwitter",h.LoginWithDiscord="loginWithDiscord",h.LoginWithGoogle="loginWithGoogle",h.LoginWithSteam="loginWithSteam",h.LoginWithTelegram="loginWithTelegram",h.LoginWithTiktok="loginWithTiktok",h.LoginWithTwitter="loginWithTwitter",h.SignUpWithDiscord="signUpWithDiscord",h.SignUpWithGoogle="signUpWithGoogle",h.SignUpWithSteam="signUpWithSteam",h.SignUpWithTelegram="signUpWithTelegram",h.SignUpWithTiktok="signUpWithTiktok",h.SignUpWithTwitch="signUpWithTwitch",h.SignUpWithTwitter="signUpWithTwitter"},54672:function(n,t,e){e.d(t,{ID:function(){return i.ID},C$:function(){return i.C$},Ho:function(){return i.Ho},uT:function(){return i.uT},pA:function(){return i.pA},im:function(){return i.im},Fc:function(){return u},z0:function(){return g},JD:function(){return r}});var i=e(8159),o=e(7737);let r=n=>{let t=(0,o.xw)();switch(n){case i.uT.Playfull:return"".concat(t,"/playfull/auth/callback");case i.uT.WhiteLabelBattlePass:return"".concat(t,"/white-label-battlepass-v2/auth/callback");default:return"".concat(t,"/playfull/auth/callback")}};var l=e(91272);let c={[i.Ho.Apple]:null,[i.Ho.Discord]:"/discord/authorize",[i.Ho.Email]:null,[i.Ho.EpicGames]:"/epic-games/authorize",[i.Ho.Xbox]:"/xbox/authorize",[i.Ho.Playstation]:null,[
1i.Ho.Google]:"/google/authorize",[i.Ho.Metamask]:null,[i.Ho.Steam]:"/steam/authorize",[i.Ho.Telegram]:"/telegram/authorize",[i.Ho.TikTok]:"/tiktok/authorize",[i.Ho.Twitch]:"/twitch/authorize",[i.Ho.Twitter]:"/twitter/oauth2/authorize"},a={[i.Ho.Apple]:{[i.im.Connect]:null,[i.im.ConnectOrSignUp]:null,[i.im.Login]:null,[i.im.SignUp]:null},[i.Ho.Discord]:{[i.im.Connect]:i.pA.ConnectDiscord,[i.im.ConnectOrSignUp]:i.pA.ConnectOrSignUpDiscord,[i.im.Login]:i.pA.LoginWithDiscord,[i.im.SignUp]:i.pA.SignUpWithDiscord},[i.Ho.Email]:{[i.im.Connect]:null,[i.im.ConnectOrSignUp]:null,[i.im.Login]:null,[i.im.SignUp]:null},[i.Ho.EpicGames]:{[i.im.Connect]:i.pA.ConnectEpicGames,[i.im.ConnectOrSignUp]:null,[i.im.Login]:null,[i.im.SignUp]:null},[i.Ho.Xbox]:{[i.im.Connect]:i.pA.ConnectXbox,[i.im.ConnectOrSignUp]:null,[i.im.Login]:null,[i.im.SignUp]:null},[i.Ho.Playstation]:{[i.im.Connect]:i.pA.ConnectPlaystation,[i.im.ConnectOrSignUp]:null,[i.im.Login]:null,[i.im.SignUp]:null},[i.Ho.Google]:{[i.im.Connect]:i.pA.ConnectGoogle,[i.im.ConnectOrSignUp]:null,[i.im.Login]:i.pA.LoginWithGoogle,[i.im.SignUp]:i.pA.SignUpWithGoogle},[i.Ho.Metamask]:{[i.im.Connect]:null,[i.im.ConnectOrSignUp]:null,[i.im.Login]:null,[i.im.SignUp]:null},[i.Ho.Steam]:{[i.im.Connect]:i.pA.ConnectSteam,[i.im.ConnectOrSignUp]:i.pA.ConnectOrSignUpSteam,[i.im.Login]:i.pA.LoginWithSteam,[i.im.SignUp]:i.pA.SignUpWithSteam},[i.Ho.Telegram]:{[i.im.Connect]:i.pA.ConnectTelegram,[i.im.ConnectOrSignUp]:i.pA.ConnectOrSignUpTelegram,[i.im.Login]:i.pA.LoginWithTelegram,[i.im.SignUp]:i.pA.SignUpWithTelegram},[i.Ho.TikTok]:{[i.im.Connect]:i.pA.ConnectTiktok,[i.im.ConnectOrSignUp]:i.pA.ConnectOrSignUpTiktok,[i.im.Login]:i.pA.LoginWithTiktok,[i.im.SignUp]:i.pA.SignUpWithTiktok},[i.Ho.Twitch]:{[i.im.Connect]:i.pA.ConnectTwitch,[i.im.ConnectOrSignUp]:i.pA.ConnectOrSignUpTwitch,[i.im.Login]:null,[i.im.SignUp]:i.pA.SignUpWithTwitch},[i.Ho.Twitter]:{[i.im.Connect]:i.pA.ConnectTwitter,[i.im.ConnectOrSignUp]:i.pA.ConnectOrSignUpTwitter,[i.im.Login]:i.pA.LoginWithTwitter,[i.im.SignUp]:i.pA.SignUpWithTwitter}},u=n=>{let{redirectBy:t,authProvider:e,actionSource:i,captchaToken:o,overridedState:r,overrideRedirectUrl:u}=n,s=c[e];if(!s)return null;let m=new URL("".concat("https://oauth-connects.playfull.com").concat(s)),g=null!=r?r:a[e][t];if(!g)return null;let p=window.location.toString();{let n="".concat(window.location.pathname).concat(window.location.search);try{window.sessionStorage.setItem(l.BH,JSON.stringify(n))}catch(n){}}let h=new URL(u||p);return h.hash="",h.searchParams.append("state",g),i&&h.searchParams.set("action_source",i),o&&h.searchParams.set("cpt_token",o),m.searchParams.append("return_to",h.toString()),{oauthConnectsUrl:m.toString(),redirectUrl:h}};e(75685);var s=e(57774);let m=async n=>{let t=new URL("https://oauth.telegram.org/auth");t.searchParams.append("bot_id",n),t.searchParams.append("origin",window.location.origin);let e=Math.max(0,(window.screen.width-550)/2),i=Math.max(0,(window.screen.height-470)/2),o=window.open(t,"_blank","width=".concat(550,",height=").concat(470,",left=").concat(e,",top=").concat(i,",status=0,location=0,menubar=0,toolbar=0")),{promise:r,resolve:l,reject:c}=(0,s.B)(),a=n=>{if(n.origin===t.origin&&"string"==typeof n.data)try{let t=JSON.parse(n.data);if("auth_result"!==t.event)return;let e=new TextEncoder().encode(JSON.stringify(t.result)).toBase64();l(e)}catch(n){c(n)}};window.addEventListener("message",a);let u=setInterval(()=>{(null==o?void 0:o.closed)&&c(Error("You have closed the Telegram login window"))},1e3);try{return await (0,s.u)({promise:r,timeoutMs:6e5})}finally{window.removeEventListener("message",a),clearInterval(u)}},g=async n=>{var t,e;let i,{redirectBy:o,authProvider:r,actionSource:l,captchaToken:c,overrideRedirectUrl:a,battlePassTelegramBotId:s}=n;if(!(i=s||((null===(t=window)||void 0===t?void 0:t.location.hostname.endsWith("playfull.com"))?"8185841204":"7401425931")))throw TypeError("Telegram bot ID is not provided");let g=await m(i),{redirectUrl:p}=null!==(e=u({redirectBy:o,authProvider:r,actionSource:l,captchaToken:c,overrideRedirectUrl:a}))&&void 0!==e?e:{};if(!p)return;let h=new URLSearchParams;h.set("telegram_token",g);let d=new URL(p);return d.hash=h.toString(),d.toString()}},34999:function(n,t,e){e.d(t,{S1:function(){return o},T0:function(){return r},nU:function(){return l}});var i=e(83598);let o=(n,t)=>{var e,o,r;let l=null!=n?n:0,c=null!==(e=null==t?void 0:t.placeholder)&&void 0!==e?e:"";return(0,i.Rw)(n)&&(null==t?void 0:t.skipNullish)||0===l&&(null==t?void 0:t.skipZero)?c:"".concat(null!==(o=null==t?void 0:t.prefix)&&void 0!==o?o:"").concat(l.toLocaleStr
1ing("en-US")).concat(null!==(r=null==t?void 0:t.suffix)&&void 0!==r?r:"")},r=function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3;return Intl.NumberFormat("en-US",{notation:"compact",maximumSignificantDigits:t}).format(n)},l=n=>Math.round(100*n)},57774:function(n,t,e){e.d(t,{B:function(){return o},u:function(){return i}});let i=async n=>{let{promise:t,timeoutError:e="Failed to execute promise within time limit",timeoutMs:i=5e3}=n;return await Promise.race([t,new Promise((n,t)=>{setTimeout(()=>{t(Error(e))},i)})])},o=()=>{let n=()=>{},t=()=>{};return{promise:new Promise((e,i)=>{n=e,t=i}),resolve:n,reject:t}}},37397:function(n,t,e){e.d(t,{c:function(){return s},v:function(){return u}});var i=e(25566);let o=["earnalliance.com","playfull.com","pudgyworld.com","gamingonavax.com"],r=()=>{var n;return(null!==(n=i.env.NEXT_PUBLIC_ALLOWED_REDIRECT_ORIGINS)&&void 0!==n?n:"").split(",").map(n=>n.trim()).filter(Boolean)},l=(n,t)=>{try{return new URL(n,t)}catch(n){return null}},c=n=>o.some(t=>n===t||n.endsWith(".".concat(t))),a=n=>r().includes(n),u=(n,t)=>{if(!n)return!1;let e=l(n,t);return!!e&&!!["https:","http:"].includes(e.protocol)&&!e.username&&!e.password&&(!!t&&e.origin===t||"https:"===e.protocol&&(c(e.hostname)||a(e.origin)))},s=(n,t,e)=>{var i,o;return n&&u(n,e)&&null!==(o=null===(i=l(n,e))||void 0===i?void 0:i.toString())&&void 0!==o?o:t}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.