1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[295],{641:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/login",function(){return r(5750)}])},5750:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>p});var n=r(7876),o=r(5051),i=r(4232),c=r(512),a=r(9099);r(7576);let s="mssal.token",u="msal.redirect";function l(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)"__proto__"!==n&&(e[n]=r[n])}return e}var d=function e(t,r){function n(e,n,o){if("undefined"!=typeof document){"number"==typeof(o=l({},r,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var c in o)o[c]&&(i+="; "+c,!0!==o[c]&&(i+="="+o[c].split(";")[0]));return document.cookie=e+"="+t.write(n,e)+i}}return Object.create({set:n,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],n={},o=0;o<r.length;o++){var i=r[o].split("="),c=i.slice(1).join("=");try{var a=decodeURIComponent(i[0]);if(a in n||(n[a]=t.read(c,a)),e===a)break}catch(e){}}return e?n[e]:n}},remove:function(e,t){n(e,"",l({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,l({},this.attributes,t))},withConverter:function(t){return e(l({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"}),f=r(6326);let p=()=>{let{instance:e,inProgress:t,accounts:r}=(0,o.dk)(),l=(0,o.XI)(),p=(0,a.useRouter)();return(0,i.useEffect)(()=>{(()=>{let{redirectTo:e}=p.query;localStorage.setItem(u,"string"==typeof e?e:"/")})();let r=async()=>{if(!l&&t===c.T$.None)try{await e.loginRedirect(f.$8)}catch(e){}};d.get(s)||(localStorage.removeItem("msal.account.keys"),r()),e.handleRedirectPromise().then(e=>{if(e){var t;t=e.accessToken,d.set(s,t,{expires:1});let r=localStorage.getItem(u);window.location.href=null!=r?r:"/"}})},[e,l,t,r,p]),(0,n.jsx)("div",{className:"kui-login",children:(0,n.jsx)("div",{className:"kui-login__loader"})})}},7576:()=>{},9099:(e,t,r)=>{e.exports=r(6296)}},e=>{e.O(0,[636,593,792],()=>e(e.s=641)),_N_E=e.O()}]);
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.