try{!function(){var 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]="98ab0a14-5bf8-486a-afc4-cb0b2a5638ef",e._sentryDebugIdIdentifier="sentry-dbid-98ab0a14-5bf8-486a-afc4-cb0b2a5638ef")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"f4547e36230aa8f74486618baff2f1a6f3242a7f"}}catch(e){}}(),(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[884],{72060:(n,t,o)=>{o.d(t,{A:()=>f});const f=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:()=>l,default:()=>d});var o=t(96540),f=t(89942),a=t(72060);const l=()=>{const e=(0,f.W6)("redirect_uri"),n=(0,f.W6)("token");return(0,o.useEffect)((()=>{e&&n&&(localStorage.setItem("netdataJWT",n),location.href=(0,a.A)(decodeURIComponent(e)))}),[]),null},d=l}}]);