1import{b as e}from"./tokenStore.browser-DmK0f0qq.js";import{i as t}from"./token-Canclo8G.js";import{R as s}from"./index-Cg3RhaS9.js";import{g as n}from"./index-B5EMHoxQ.js";import{c as r}from"./imagineComposerDraft-BNvlIhbb.js";function a(){return e.getToken()?.accessToken??void 0}function k(){const o=e.getToken();return o?.accessToken?{accessToken:o.accessToken,refreshToken:o.refreshToken??""}:void 0}function i(){return t(a())}async function T(){return await e.reseed(),i()}async function h(){r();try{n().instance.publish("AuthLoggedOut",void 0)}catch{}try{await fetch(`/${s.Auth}/logout`,{credentials:"same-origin",method:"POST"})}catch{}finally{e.reset()}}export{k as a,a as g,i,h as l,T as s}; 2//# sourceMappingURL=auth-Bac35O1l.js.map
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.