PageSourceSearch

https://www.lidl.fr/q/storefront-dist/qRnKwNTa.js

js lidl.fr collected 2026-09-24 21:02:43 UTC 2,605 bytes, 1 lines download raw bytes

1import{f as e}from"./BFzXSaei.js";import{Kt as t,On as n,ct as r,g as i,k as a,mt as o,v as s}from"./B4b-2GOK.js";import{$ as c,I as l,Q as u,a as d,c as f,et as p,it as m,o as h,r as g,t as _}from"./1ami8VgP.js";import{n as v}from"./OyiLy70F.js";import{t as y}from"./Bu1LlNN0.js";import{i as b,n as x,o as S,r as C,t as w}from"./k1AFMiCZ.js";import{t as T}from"./ji-mxj2q.js";import{t as E}from"./CRRqKtkF.js";var D=a({name:`CategoryPageComponent`,__name:`index`,async setup(a){let D,O,k=l(),A=f(),j=_(),M=S(),N=m(),P=g(),{getCurrency:F}=h(),{initPage:I}=C(),{queryParams:L}=d(),{domainUrl:R}=y(),z=e(),{isFeatureEnabled:B}=c(),V=i(()=>R.value===null?null:`${R.value}${z.path}`),H=i(()=>R.value===null?null:`${R.value}${U.value?.url??``}`),U=i(()=>M.allDetails.categoryData),W=i(()=>U.value?.headingTitle||U.value?.name||L.value.q),G=i(()=>U.value?.hasGoogleIndex===`true`||U.value?.hasGoogleIndex===!0),K=i(()=>{let e=[];for(let t of j.filteredProducts){let n=t.gridBox?.gridBoxData;n?.price?.price&&e.push(n.price.price)}return Math.min(...e)}),q=i(()=>{let e=0;for(let t of j.filteredProducts)t.gridBox?.gridBoxData?.ratings&&e++;return e}),J=i(()=>{if(q.value>0){let e=0;for(let t of j.filteredProducts){let n=t.gridBox?.gridBoxData;n?.ratings&&(e+=n.ratings.average)}return e/q.value}}),Y=i(()=>{let e={"@context":`https://schema.org`,"@type":`Product`,name:U.value?.name,description:U.value?.metaDescription||U.value?.name||``,offers:{"@type":`AggregateOffer`,url:``,priceCurrency:F(N.locale),lowPrice:K.value?K.value.toFixed(2):0,offerCount:j.numFound}},t=q.value>0?{aggregateRating:{"@type":`AggregateRating`,ratingValue:J.value?.toFixed(2),reviewCount:q.value}}:{};return JSON.stringify({...e,...t})});r(()=>{P.setPageType(u.category),B(p.isCriteo)&&T().loadCriteoProducts()});let{error:X}=([D,O]=t(async()=>x(async()=>(P.setPageType(u.category),k.setConfig({isEmbedded:!1,paginationType:`loadMore`}),k.setRenderingConfig({onlyGrid:!1,showCategoryPills:!0}),await I(),!0))),D=await D,O(),D);return[D,O]=t(()=>w(X.value)),await D,O(),v({htmlAttrs:{lang:N.iso},title:U.value?.pageTitle||`Lidl`,meta:[{name:`title`,content:U.value?.pageTitle},{name:`description`,content:U.value?.metaDescription},{name:`url`,content:H.value},{name:`robots`,content:E(z.query,A.validOffset,G.value)}],script:[{type:`application/ld+json`,textContent:Y}],link:[{rel:`canonical`,href:V.value}]}),(e,t)=>{let r=b;return o(),s(r,{class:`s-category-page`,"page-heading":n(W),"has-page-header":n(U)?.hasPageHeader,"won-style":n(U)?.wonColor},null,8,[`page-heading`,`has-page-header`,`won-style`])}}});export{D as default};

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.