1import{u as h}from"./BgpIJjSS.js";import{u as f}from"./NgicsH21.js";import{O as g}from"./Cjt1qckK.js";class A{id="";label="";active=!1;alias="";date="";time="";constructor(s={}){Object.assign(this,s)}}class w{metadata=void 0;content=void 0;constructor(s={},a){Object.assign(this,s);const e=s?.payload?.content||s;e&&(Array.isArray(e)?a?this.content=e.map(t=>new a(t)):this.content=e:a?this.content=new a(e):this.content=e)}}const p=()=>{const{showUiMessages:c}=h(),{selectedLanguageCode:s}=f();return{fetchApi:async(e,t,n=!1)=>{t.headers=t.headers||{},t.headers["Accept-Language"]=s.value;const i=await $fetch(e,t).catch(r=>{const u=r.response?._data?.metadata||{};throw u.uiMessages&&!n&&c(u.uiMessages),r}),o=i?.metadata?.uiMessages;return!n&&o&&c(o),i}}},M=g(p);export{w as A,A as R,M as u};
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.