try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="3a2bf6ff-9822-4234-8189-5677206136f7",e._sentryDebugIdIdentifier="sentry-dbid-3a2bf6ff-9822-4234-8189-5677206136f7")}catch(e){}("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{}).SENTRY_RELEASE={id:"a34c67398217da8f13771210ac9af709452b2a25"};(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[884],{72060:(n,t,o)=>{o.d(t,{A:()=>l});const l=n=>{try{if(!n)return null;const e=document.createElement("a");return e.href=n,/https?/.test(e.protocol)?new URL(e.protocol+"//"+e.host+e.pathname+e.search+e.hash).toString():null}catch(e){return null}}},90884:(e,n,t)=>{t.r(n),t.d(n,{AuthTokenCallback:()=>f,default:()=>a});var o=t(96540),l=t(89942),d=t(72060);const f=()=>{const e=(0,l.W6)("redirect_uri"),n=(0,l.W6)("token");return(0,o.useEffect)((()=>{e&&n&&(localStorage.setItem("netdataJWT",n),location.href=(0,d.A)(decodeURIComponent(e)))}),[]),null},a=f}}]);