1import{C as e}from"./BQpMFI2t.js";import{Pt as t,d as n}from"./CB5-eA5X.js";import{t as r}from"./rqsZAQa3.js";var i=`https://test.saastra.ru/catalog/api/v1/client/products`;function a(e,t={}){return r(e,{baseURL:i,...t})}function o(t,n){return e().$customFetch(t,{baseURL:i,...n})}function s(e){return a(`/main`,{key:n(()=>`products:get:${JSON.stringify(t(e))}`),query:e})}function c(e,r){return a(()=>`/category/${t(e)}`,{key:n(()=>`products:category${e.value}`),query:r})}function l(e,r){return a(()=>`/filters`,{key:n(()=>`products:category-filter:${JSON.stringify(t(e))}`),query:e,transform:e=>r?r(e):e})}function u(e,r,i){return a(()=>`/${e.value}`,{key:n(()=>`product:get:${e.value}:${JSON.stringify(t(r))}`),query:r,...i})}function d(e,t,n){return o(`/${e}`,{query:t,signal:n})}function f(e){return o(`/suggestions`,{query:e})}function p(e){return a(()=>`/showcase`,{query:e})}function m(e){return a(()=>`/popular`,{key:n(()=>`products:popular`),query:e})}function h(e,t,r){return a(()=>`/search/${e.value}`,{key:n(()=>`products:${r||`search`}:${e.value}`),query:t,lazy:!0,immediate:!1,watch:!1})}function g(e,t,n){return a(()=>`/search/${e.value}`,{query:t,...n})}function _(e){return a(()=>`/new`,{key:n(()=>`products:new`),query:e})}function v(e){return o(`/favorites`,{query:t(e)})}function y(e){return o(`/favorites`,{method:`POST`,body:{product_id:e}})}function b(e){return o(`/favorites`,{method:`DELETE`,body:{product_id:e}})}function x(e,t){return a(`/discounted`,{key:t,query:e})}export{m as a,f as c,s as d,p as f,g as h,_ as i,c as l,h as m,x as n,d as o,b as p,v as r,u as s,y as t,l 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.