1 line
788 B
JavaScript
1 line
788 B
JavaScript
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[421],{5450:(t,e,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/500",function(){return r(9499)}])},2900:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var u=r(3698);function n(t){let{setUser:e}=t,r=localStorage.getItem("user");if(r)try{e(JSON.parse(r));return}catch(t){e({});return}(0,u.A)("/api/clientSideAuth",{method:"post",body:{}},!0).then(t=>{let r=t.user?t.user:{};e(r),localStorage.setItem("user",JSON.stringify(r))}).catch(t=>{console.log(t)})}},9499:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>n}),r(4848);var u=r(6540);function n(t){return u.useEffect(()=>{window.location.href="https://datasquirel.com"},[]),null}r(3444),r(6411),r(2900),r(3698)}},t=>{var e=e=>t(t.s=e);t.O(0,[636,6593,8792],()=>e(5450)),_N_E=t.O()}]); |