1import{aL as i,aM as a}from"./BdQg2pRD.js";const c=()=>{const n=i();return a()!=="v4"&&console.warn("useStrapi4 is only available for v4"),{find:(t,e,o)=>n(`/${t}`,{method:"GET",params:e,...o}),findOne:(t,e,o,r)=>{typeof e=="object"&&(o=e,e=void 0);const s=[t,e].filter(Boolean).join("/");return n(s,{method:"GET",params:o,...r})},create:(t,e)=>n(`/${t}`,{method:"POST",body:{data:e}}),update:(t,e,o)=>{typeof e=="object"&&(o=e,e=void 0);const r=[t,e].filter(Boolean).join("/");return n(r,{method:"PUT",body:{data:o}})},delete:(t,e)=>{const o=[t,e].filter(Boolean).join("/");return n(o,{method:"DELETE"})}}},m=()=>c();export{m as u}; 2//# sourceMappingURL=CZRDwfpw.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.