File: //opt/netdata/usr/local/local/share/netdata/web/v3/884.29e754c20294a1686624.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]="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:"d29fe0107f7247ab49a8017c886bc1ba13e7faa8"}}catch(e){}}(),(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[884],{72060:(n,t,o)=>{o.d(t,{A:()=>a});const a=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:()=>d,default:()=>l});var o=t(96540),a=t(89942),f=t(72060);const d=()=>{const e=(0,a.W6)("redirect_uri"),n=(0,a.W6)("token");return(0,o.useEffect)((()=>{e&&n&&(localStorage.setItem("netdataJWT",n),location.href=(0,f.A)(decodeURIComponent(e)))}),[]),null},l=d}}]);