1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9335],{96642:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/claimcallback/[contract]",function(){return t(40687)}])},81924:function(e,n,t){"use strict";var r=t(47568),c=t(20414),i=t(85893),u=t(67294),s=t(80138),a=t(11163),o=t.n(a),l=t(52083),f=t(2481);n.Z=function(e){(0,f.aF)({redirectTo:e.redirectTo?e.redirectTo:"/",redirectIfFound:!0});var n=(0,a.useRouter)().query,t=n.provider,d=n.magic_credential;(0,u.useEffect)((function(){t?h():v()}),[t,d]);var h=function(){var e=(0,r.Z)((function(){var e;return(0,c.__generator)(this,(function(n){switch(n.label){case 0:return[4,new l.s$("pk_live_463AF6A1D645FD87").oauth.getRedirectResult()];case 1:return e=n.sent(),p(e.magic.idToken),[2]}}))}));return function(){return e.apply(this,arguments)}}(),v=function(){var e=new l.s$("pk_live_463AF6A1D645FD87");d&&e.auth.loginWithCredential().then((function(e){return p(e)}))},p=function(){var e=(0,r.Z)((function(e){var n,t,r;return(0,c.__generator)(this,(function(c){switch(c.label){case 0:return c.trys.push([0,5,,6]),t={},[4,fetch("/api/login",(t.method="POST",t.headers={"Content-Type":"application/json",Authorization:"Bearer "+e},t))];case 1:return 200!==(n=c.sent()).status?[3,2]:(o().reload(),[3,4]);case 2:return _=Error.bind,[4,n.text()];case 3:throw new _.apply(void 0,[void 0,c.sent()]);case 4:return[3,6];case 5:return r=c.sent(),console.error("An unexpected error happened occurred:",r),[3,6];case 6:return[2]}}
1))}));return function(n){return e.apply(this,arguments)}}();return(0,i.jsx)(s.Z,{text:"Logging in..."})}},80138:function(e,n,t){"use strict";var r=t(85893);n.Z=function(e){return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"flex flex-row justify-center items-center animate-pulse space-x-2 mx-auto mt-16",children:[(0,r.jsx)("p",{className:"text-nftyverse-brand font-semibold text-lg",children:e.text?e.text:"Fetching"}),(0,r.jsx)("div",{className:"rounded-full bg-nftyverse-link h-4 w-4"}),(0,r.jsx)("div",{className:"rounded-full bg-nftyverse-rewards-action h-4 w-4"}),(0,r.jsx)("div",{className:"rounded-full bg-nftyverse-green-action h-4 w-4"})]})})}},40687:function(e,n,t){"use strict";t.r(n);var r=t(85893),c=t(11163),i=t(23077),u=t(81924);n.default=function(){var e=(0,c.useRouter)();return e.query.contract?(0,r.jsx)(i.Z,{children:(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsx)("div",{className:"w-96 place-self-center",children:(0,r.jsx)(u.Z,{redirectTo:"/claim/"+e.query.contract})})})}):null}},47568:function(e,n,t){"use strict";function r(e,n,t,r,c,i,u){try{var s=e[i](u),a=s.value}catch(o){return void t(o)}s.done?n(a):Promise.resolve(a).then(r,c)}function c(e){return function(){var n=this,t=arguments;return new Promise((function(c,i){var u=e.apply(n,t);function s(e){r(u,c,i,s,a,"next",e)}function a(e){r(u,c,i,s,a,"throw",e)}s(void 0)}))}}t.d(n,{Z:function(){return c}})}},function(e){e.O(0,[5646,750,2083,3077,9774,2888,179],(function(){return n=96642,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
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.