1import{s as e}from"./BdOgpimk.js";var t={list:`/api/payment/getProducts`,byId:`/api/payment/getProduct`,byUuid:`/api/payment/getProductByUuid`,wordPacks:`/api/payment/getWordPacks`};function n(n){let r=async(t,r)=>{try{return(await n.get(t,r)).product??null}catch(t){if(e(t)&&t.status===404)return null;throw t}};return{fetchProducts:async e=>(await n.get(t.list,e)).products??[],fetchProductByUuid:(e,n)=>r(`${t.byUuid}/${encodeURIComponent(e)}`,n),fetchProductById:(e,n)=>r(`${t.byId}/${e}`,n),listWordPacks:async(e,r)=>(await n.get(t.wordPacks,{...r,query:{...r?.query,language:e}})).products??[]}}export{n 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.