PageSourceSearch

https://kapusta-fashion.ru/wp-content/plugins/saveto-wishlist-lite…/dist/common/restApi.D0GENJNf.js

js kapusta-fashion.ru collected 2026-09-28 22:53:20 UTC 753 bytes, 1 lines download raw bytes

1import{D as m}from"./index.y-jXc8sl.js";var o;const n=(o=window.savetowishlistObj)!=null&&o.maxRequests?Number(window.savetowishlistObj.maxRequests):8,p=Math.floor(1e3/n);let e=0;const v=(a={},r={})=>{const i=r.maxRequests||n,c=r.intervalInMs||p,t=m.create({timeout:3e4,responseType:"json",headers:{"Content-Type":"application/json;charset=UTF-8","X-WP-Nonce":window.savetowishlistObj.wpNonce,Nonce:window.savetowishlistObj.wcNonce},baseURL:window.savetowishlistObj.restApiUrl,...a});return t.interceptors.request.use(s=>new Promise(w=>{let l=setInterval(()=>{e<i&&(e++,clearInterval(l),w(s))},c)})),t.interceptors.response.use(s=>(e=Math.max(0,e-1),Promise.resolve(s)),s=>(e=Math.max(0,e-1),Promise.reject({error:s.response.data}))),t};export{v as r};

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.