!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c2177306-81c6-4419-b681-0682451f2293",e._sentryDebugIdIdentifier="sentry-dbid-c2177306-81c6-4419-b681-0682451f2293")}catch(e){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"4c4e0af8211f6cc5779d35dea21bc1aab0b3690c"},(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[7529],{39347:(e,n,t)=>{t.d(n,{A:()=>o});const o=e=>{try{if(!e)return null;const n=document.createElement("a");return n.href=e,/https?/.test(n.protocol)?new URL(n.protocol+"//"+n.host+n.pathname+n.search+n.hash).toString():null}catch(n){return null}}},67529:(e,n,t)=>{t.r(n),t.d(n,{AuthTokenCallback:()=>r,default:()=>c});var o=t(96540),d=t(38819),l=t(39347);const r=()=>{const e=(0,d.W6)("redirect_uri"),n=(0,d.W6)("token");return(0,o.useEffect)((()=>{e&&n&&(localStorage.setItem("netdataJWT",n),location.href=(0,l.A)(decodeURIComponent(e)))}),[]),null},c=r}}]);