PageSourceSearch

https://podurama.com/_next/static/chunks/pages/twitter-success-8c1a38b27a6208b0dfc8.js

js podurama.com collected 2026-09-24 10:21:28 UTC 2,782 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[381],{67153:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return x}});var r=n(30266),c=n(68216),s=n(25997),i=n(13444),o=n(30268),a=n(92953),u=n(809),l=n.n(u),d=n(67294),f=(n(28216),n(67814)),h=n(68659),p=n(85893);function v(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,a.Z)(e);if(t){var c=(0,a.Z)(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return(0,o.Z)(this,n)}}var x=function(e){(0,i.Z)(n,e);var t=v(n);function n(e){var r;return(0,c.Z)(this,n),(r=t.call(this,e)).state={success:!1,loading:!0},r}return(0,s.Z)(n,[{key:"componentDidMount",value:function(){var e=new URLSearchParams(window.location.search),t=e.get("code"),n=e.get("state");if(t&&n){var r=n.split("_"),c=r[0],s=r[1];this.postData(c,s,t)}else this.setState({success:!1,loading:!1})}},{key:"postData",value:function(){var e=(0,r.Z)(l().mark((function e(t,n,r){var c,s;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("".concat(h.I1S,"logTwitterToken?t=1"),{method:"POST",body:JSON.stringify({code:r,uid:t,verifyCode:n})});case 3:return c=e.sent,e.next=6,c.json();case 6:s=e.sent,this.setState({success:s.success,loading:!1}),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),this.setState({success:!1,loading:!1});case 13:case"end":return e.stop()}}),e,this,[[0,10]])})));return function(t,n,r){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=this.state,t=e.success;return e.loading?(0,p.jsx)("div",{children:"Loading\u2026"}):(0,p.jsx)("div",{children:(0,p.jsxs)("div",{style:{textAlign:"center",marginTop:"80px",padding:"4em",borderRadius:"24px",boxShadow:"0 20px 40px 0 rgba(0,11,40,.14)"},children:[t&&(0,p.jsxs)("div",{children:[" ",(0,p.jsx)(f.G,{style:{color:"green",fontSize:"4em"},icon:"check-circle"}),(0,p.jsx)("h3",{style:{marginTop:"1em"},children:"Success"}),(0,p.jsx)("p",{children:"You can now close this and return to the app."})]}),!t&&(0,p.jsxs)("div",{children:[" ",(0,p.jsx)(f.G,{style:{color:"red",fontSize:"4em"},icon:"exclamation-circle"}),(0,p.jsx)("h3",{style:{marginTop:"1em"},children:"Error"}),(0,p.jsx)("p",{children:"Please try again."})]})]})})}}]),n}(d.Component)},59270:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/twitter-success",function(){return n(67153)}])}},function(e){e.O(0,[9774,2888,179],(function(){return t=59270,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
2//# sourceMappingURL=twitter-success-8c1a38b27a6208b0dfc8.js.map

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.