PageSourceSearch

https://assets-dashboard.cloud-ara.tyk.io/assets/146d069390625a476471.83.js

js tyk.io collected 2026-10-02 03:23:36 UTC 1,119 bytes, 1 lines download raw bytes

1"use strict";(()=>{(self.webpackChunktyk_ara_ui=self.webpackChunktyk_ara_ui||[]).push([[83],{508:(v,i,t)=>{t.d(i,{i:()=>f,r:()=>c});var a=t(7868);const u=r=>a.A.post("/api/login",r).then(o=>o.data).catch(o=>{if(o.response.data.error)return Promise.reject(new Error(o.response.data.error));const{data:l}=o.response,e=new Error(l.Message);return e.data=l,Promise.reject(e)}),d=()=>a.A.post("/api/logout").then(r=>r.data).catch(r=>Promise.reject(new Error(r.response.data.error)));var g=t(9844),h=t(7841),n=t(6640);let s=null;function f(r){return u(r).then(g.Wc).then(o=>{n.M_.dispatch((0,n.nh)(o));const{roles:l}=o;if(Array.isArray(l)&&l.every(e=>e.role===h.iK.BILLING_ADMIN)){const e=(0,n.yk)(n.M_.getState());window.location.href=e}return s=null,o})}function c(){return s||(s=d().then(()=>{n.M_.dispatch({type:"LOGOUT"})}),s)}},4083:(v,i,t)=>{t.r(i),t.d(i,{default:()=>s});var a=t(6540),u=t(7767),d=t(5996),g=t(3919),h=t(508);function n(){const f=(0,u.Zp)();return(0,a.useEffect)(()=>{(0,h.r)().catch(c=>{console.error(c),d.A.danger(c.message)}).finally(()=>f("/login"))}),a.createElement(g.A,null)}const s=n}}]);})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.