1import{login as f_0}from"./login-BZp3Fr_x.js";function f_1(f_0){const f_1=new URLSearchParams(window.location.search),f_2=f_1.get("returnUrl")??f_1.get("return_url");if(f_2)try{const f_1=new URL(f_2,f_0);if(f_1.origin===f_0)return f_1.href}catch{}return window.location.href}function f_2(f_0){const f_1=f_0.dataset?.returnUrl;return"string"==typeof f_1&&f_1.trim().length?f_1:void 0}function f_3(f_0,f_1){const f_2=function(f_0,f_1){try{const f_2=new URL(f_0,f_1);return f_2.origin!==f_1?"/":`${f_2.pathname}${f_2.search}${f_2.hash}`}catch{return"/"}}(f_0,f_1);try{sessionStorage.setItem("redirectUrl",f_2)}catch{}}async function f_4(f_2){const f_4=window.location.origin;f_3(f_2?.returnUrl??f_1(f_4),f_4),function(){try{sessionStorage.setItem("oidcInteractiveLogin","1")}catch{}}(),await f_0()}document.addEventListener("click",f_0=>{if(!f_0.isTrusted)return;if(0!==f_0.button)return;if(f_0.metaKey||f_0.ctrlKey||f_0.shiftKey||f_0.altKey)return;const f_1=f_0.target?.closest?.('[data-oidc-login="true"]');if(!f_1)return;const f_3=f_1 instanceof HTMLAnchorElement||f_1 instanceof HTMLButtonElement?f_1:f_1.closest("a,button");f_3&&(f_0.preventDefault(),f_4({returnUrl:f_2(f_3)}))}),document.addEventListener("click",f_0=>{if(!f_0.isTrusted)return;if(0!==f_0.button)return;if(f_0.metaKey||f_0.ctrlKey||f_0.shiftKey||f_0.altKey)return;const f_4=f_0.target?.closest?.('[data-oidc-logout="true"]');if(!f_4)return;const f_5=f_4 instanceof HTMLAnchorElement||f_4 instanceof HTMLButtonElement?f_4:f_4.closest("a,button");f_5&&(f_0.preventDefault(),function(f_0){const f_2=window.location.origin,f_4=f_0?.logoutPath??"/logout/";f_3(f_0?.returnUrl??f_1(f_2),f_2),window.location.assign(f_4)}({returnUrl:f_2(f_5)}))});
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.