File: //opt/netdata/usr/local/share/netdata/web/v3/884.c3f3d331e623dbc46c21.chunk.js
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]="ceb02cfd-a5b8-4a2a-8898-ef49784e4ab8",e._sentryDebugIdIdentifier="sentry-dbid-ceb02cfd-a5b8-4a2a-8898-ef49784e4ab8")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"7c174a810ceb580519f3181b86370f2046d11e4e"}}catch(e){}}(),(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[884],{72060:(n,t,o)=>{o.d(t,{A:()=>d});const d=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:()=>a,default:()=>f});var o=t(96540),d=t(89942),l=t(72060);const a=()=>{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},f=a}}]);