1import{j as c,A as e,a as f,n as r}from"./swlRYnLC.js";const o=c("offers",{state:()=>({OFFERSCAT:{},OFFER:{},OFFERS:{}}),actions:{async getOffersCat(){if(!this.OFFERSCAT.length)try{await(await $fetch(`${e()}/offers/categories?city=${f().CITYID}`)).forEach(s=>{this.OFFERSCAT[s.slug]=s})}catch(t){console.log(t),await r("/error")}},async getOffers(t){try{if(!this.OFFERS[t]){const s=await $fetch(`${e()}/offers/categories/${t}/offers?city=${f().CITYID}`);this.OFFERS[t]=s.data??[]}this.OFFERS[t].length===1&&this.getOffer(this.OFFERS[t][0].slug,t)}catch(s){console.log(s),await r("/error")}},async getOffer(t,s){try{const a=await $fetch(`${e()}/offers/${t}?city=${f().CITYID}`);this.OFFER[t]=a}catch(a){console.log(a),await r(`/${s}`)}}}});export{o 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.