1import{c as e}from"./SdX45wOF.js";import{rt as t}from"./B_L8V-Hz.js";import{t as n}from"./BW3xJdEx.js";import{t as r}from"./Bc4jKFNp.js";import{t as i}from"./CZbelcRa.js";import{t as a}from"./BjLn8sEO.js";import{n as o}from"./DoavoftT.js";var s=2419200,c=()=>r(`is-staff-logged-in`,()=>!1),l=()=>i(`admin-access-token`,{maxAge:s}),u=()=>r(`admin-access-token`),d=()=>r(`staff-info`);async function f(){let e=o(),t=d(),{data:n,error:r}=await p(`/v1/admin/staffs/me`);r.value?e.add({title:`Error`,description:r.value.data.detail,color:`error`}):n.value&&(t.value=n.value)}function p(r,i={}){let o=u(),s=l(),c={baseURL:e().public.apiBase,headers:o.value?{"x-staff-token":o.value}:{},transform(e){return{...e,fetchedAt:new Date}},getCachedData(e,t){let n=t.payload.data[e]||t.static.data[e];if(!n)return;let r=new Date(n.fetchedAt);if(r.setTime(r.getTime()+3e5),!(r.getTime()<Date.now()))return n},onResponse(e){},async onResponseError(e){if(e.response.status===401)return s.value=o.value=``,t(`/login`)}},d=n(i,c);return a(r,d,`$u7q8MVBoCL`)}export{l as a,u as i,c as n,d as o,p as r,f 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.