1import{o as e,r as t}from"./DH_oPWig.js";import"./R5tlv5WR.js";import"./CQpw5WZQ.js";var n=(e,t)=>{let n=new Headers(e??{});for(let[e,r]of Object.entries(t))n.set(e,r);return n},r=()=>typeof process<`u`&&({}.VITEST===`true`||!1),i=e=>((t,n)=>{let r=typeof t==`string`&&!t.startsWith(`http`)?`${e}${t}`:t;return globalThis.$fetch(r,n)}),a=(e,t)=>{let n=typeof t==`string`?t.match(/^\/api\/(v[\d.]+)\//)?.[1]:void 0;return n&&e.api[n]||e.api.v2},o=t=>{let n=e(),i=n.public.siteConfig;return r()?{baseURL:a(i,t),tenant:i.tenant}:{baseURL:n.public.apiBasePublic||i.api.v2,tenant:i.tenant}},s=t(()=>{let{baseURL:e,tenant:t}=o();return r()?{provide:{customFetch:i(e)}}:{provide:{customFetch:$fetch.create({baseURL:e,onRequest({options:e}){if(r())return;let i={tenant:t};e.headers=n(e.headers,i)},onResponseError({error:e}){console.dir(e)}})}}});export{o as n,s 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.