PageSourceSearch

https://leyossupermarket.com/build/_shared/chunk-Z5EXOLMZ.js

js leyossupermarket.com collected 2026-10-05 02:33:52 UTC 1,094 bytes, 1 lines download raw bytes

1import{y as a}from"/build/_shared/chunk-O2G27HIH.js";import{A as p,f as u}from"/build/_shared/chunk-ZSEETMYI.js";p();async function m(t,n){try{let e=window.ENV.apiBaseURL,r=u(n);return await a(`${e}/search/api/v1/coupons${r}`,t,!0)}catch(e){console.log("Error: ",e);return}}async function f(t,n,e){try{let r=window.ENV.apiBaseURL,i=u(n),s=e==null?void 0:e.map(l=>`filter=${encodeURIComponent(l)}`),o=s?`&${s.join("&")}`:"";return await a(`${r}/search/api/v1/products${i}${o}`,t,!0)}catch(r){console.log("Error: ",r);return}}var h=(t,n,e,r,i,s,o,c)=>({signals:{name:n||null,itemSignals:e?[{type:"Product",id:e}]:null,promotion:{fixedPrice:r?{price:Number(r)}:null,splitPrice:i&&s?{count:Number(i),price:Number(s)}:null,bogo:o&&c?{buyQuantity:Number(o),getQuantity:Number(c)}:null}},filters:{storeId:t},entities:{include:["FlyerItem"]},pagination:{limit:1}});async function y(t,n){try{let e=window.ENV.apiBaseURL,r=window.ENV.chainId;return await a(`${e}/search/v2/${r}/match`,t,!0,void 0,"POST",JSON.stringify(n))}catch(e){console.error("Error: ",e);return}}export{m as a,f as b,h as c,y as d};

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.