1import{c as e}from"./BXKBYBul.js";import{t}from"./BIWqZPiD.js";import{t as n}from"./iZQd7mIs.js";import{t as r}from"./Dw6Hl37X.js";import{t as i}from"./BrTUeDwj.js";var a=class{basePath;_axiosClient=null;constructor(e){this.basePath=e}get axiosClient(){if(this._axiosClient)return this._axiosClient;let e=n.create({headers:{Accept:`application/json`}});return i(e,{maxRetries:1}),this._axiosClient=e,this._axiosClient}#e(n={}){let r=e(),i=t(),a=i.tenantCode||``,o;o=r.public?.useLocalProxy?this.basePath.replace(/^\/api\/qb\/v2/,`/_proxy/qb/v2`).replace(/^\/api\/v2/,`/_proxy/v2`):`${i.apiBaseUrl||r.public?.queroBolsaHost}${this.basePath}`;let s={...n,system:a};return a&&(s[`Tenant-Code`]=a),{baseURL:o,headers:s}}async get(e,t=null,n={},i=!0){let a=this.#e(n),o=await this.axiosClient.get(e,{baseURL:a.baseURL,params:t,headers:a.headers,withCredentials:i});return r(o.data,{deep:!0})}async post(e,t,n={}){let i=this.#e(n),a=await this.axiosClient.post(e,t,{baseURL:i.baseURL,headers:i.headers,withCredentials:!0});return r(a.data)}async delete(e,t={}){let n=this.#e(t),i=await this.axiosClient.delete(e,{baseURL:n.baseURL,headers:n.headers,withCredentials:!0});return r(i.data)}};function o(e=`/api/v2`){return new a(e)}var s=o(`/api/v2`);o(`/api/qb/v2`);export{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.