1import{c as O,U as n,V as U,W as $,X as x}from"./BOANMPI3.js";import{u as C}from"./Xg8dSWYb.js";function A(o,r,u){const[e={},c]=typeof r=="string"?[{},r]:[r,u],t=O(()=>n(o)),s=e.key||U([c,typeof t.value=="string"?t.value:"",...E(e)]);if(!s||typeof s!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+s);if(!o)throw new Error("[nuxt] [useFetch] request is missing.");const i=s===c?"$f"+s:s;if(!e.baseURL&&typeof t.value=="string"&&t.value[0]==="/"&&t.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:y,lazy:m,default:d,transform:b,pick:g,watch:f,immediate:w,getCachedData:v,deep:_,dedupe:k,...D}=e,h=$({...x,...D,cache:typeof e.cache=="boolean"?void 0:e.cache}),F={server:y,lazy:m,default:d,transform:b,pick:g,immediate:w,getCachedData:v,deep:_,dedupe:k,watch:f===!1?[]:[h,t,...f||[]]};let a;return C(i,()=>{var l;(l=a==null?void 0:a.abort)==null||l.call(a),a=typeof AbortController<"u"?new AbortController:{};const p=n(e.timeout);return p&&setTimeout(()=>a.abort(),p),(e.$fetch||globalThis.$fetch)(t.value,{signal:a.signal,...h})},F)}function E(o){var u;const r=[((u=n(o.method))==null?void 0:u.toUpperCase())||"GET",n(o.baseURL)];for(const e of[o.params||o.query]){const c=n(e);if(!c)continue;const t={};for(const[s,i]of Object.entries(c))t[n(s)]=n(i);r.push(t)}return r}export{A 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.