1import{vn as e}from"./runtime-core.esm-bundler-d4438d0.js";import{t}from"./fetch-d4438d0.js";import{n}from"./pinia-d4438d0.js";import{t as r}from"./logger-d4438d0.js";var i={Default:`DEFAULT`,None:`NONE`,Login:`LOGIN`,RelaxedLogin:`RELAXED_LOGIN`},a=n(`sso-store`,()=>{let n=e(null),a=r(`sso-flow`);return{ssoFlowInfo:n,ssoFlowInit:async(e,r)=>{if(a.debug(`init called`),n.value=null,!r||Array.isArray(r))return`CAN_CONTINUE`;try{n.value=await t.post(`sso/accept-request`,{sessionUid:e,requestUid:r})}catch(e){let n=t.parseFetchError(e);return a.error(`accept request to idm failed: ${n.code}`,e),`CAN_CONTINUE`}switch(n.value.prompt){case i.Login:return`LOGIN_REQUIRED`;case i.RelaxedLogin:return`RELAXED_LOGIN_REQUIRED`}return`CAN_CONTINUE`},setSsoFlowInfo:e=>{n.value=e},clear:()=>{n.value=null}}});export{i as n,a as t};
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.