PageSourceSearch

https://www.revolutionrace.nl/_nuxt/production-273317172/B6N-0pK1.js

js revolutionrace.nl collected 2026-09-26 09:33:10 UTC 5,338 bytes, 1 lines download raw bytes

1import{ck as te,gs as oe,gT as se,gp as re,gz as ne,cr as O,a3 as A,eh as B,gw as ae,bO as l,bL as D,bM as g,h9 as K,bN as y,ge as s,f7 as ie,ew as z,eu as ce,t as G,f1 as H,bG as o,db as le,f8 as ue,a_ as de,eE as n,bZ as j,g3 as M,dF as C,X as pe,z as me,O as _e,g4 as ge,b0 as ye}from"#entry";import{_ as be}from"./Cxoz92W9.js";import{_ as fe}from"./Ckxg8TSU.js";import{_ as ke}from"./ByIh1y35.js";import{c as ve}from"./XdeQ_Z8i.js";import{u as he}from"./ScRoVB8M.js";import{u as Pe}from"./DHS2Yzvp.js";import{r as Ce}from"./DTpvf9v9.js";import"./DGr9i0Q2.js";import"./DvHGKOW7.js";import"./DGmju1dd.js";import"./Bc0hWtBH.js";import"./DKRjjsMv.js";import"./CnuJzBsR.js";import"./BLAnr847.js";import"./BUzje7sk.js";import"./B-kmahlM.js";import"./C-4tNdD5.js";import"./CaehWC3g.js";import"./B-g9Y6vL.js";import"./B56F53m_.js";import"./CiywKd2U.js";import"./DqEv9lyl.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};r.SENTRY_RELEASE={id:"production-273317172"};var u=new r.Error().stack;u&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[u]="e58de5d2-14b8-4e02-acf1-f029a0aa2a9e",r._sentryDebugIdIdentifier="sentry-dbid-e58de5d2-14b8-4e02-acf1-f029a0aa2a9e")}catch{}})();const Le={class:"products-block"},xe={class:"products-block__viewport"},Se={key:1,class:"products-block__header"},we=["innerHTML"],Ie=["tabindex"],Te=5,V="PERSONAL",Ee=te({__name:"ElevateProductsBlock",props:{productPage:{type:Boolean},productKey:{},blok:{}},setup(r){const u=C(pe,void 0),L=C(me),x=C(_e,!1),e=r,b=oe(),{tabindex:S}=se(),d=re(),w=ve(),$=he(),q=Pe("productsblock"),F=o(()=>q.get("header")),I=o(()=>d.channel?.firstCountryCurrencyId),J=o(()=>L?.value.storyblok??!1),p=o(()=>{const t=le(ue(e.blok.litium_link)??e.blok.link,e.blok.link_suffix,d.channel?.rootPath??"",J.value);return{...t,type:t?.type==="NuxtLink"?de:t?.type}}),T=o(()=>p.value.type!=="div"),E=o(()=>e.blok._uid),a=o(()=>{const t=Number.parseInt(e.blok.number_of_products??"",10);return Number.isFinite(t)&&t>0?t:Te}),m=o(()=>k.value?a.value:i.value?.length||a.value),U=o(()=>({"--product-count":m.value})),R=o(()=>x?m.value>5:m.value>6),X=o(()=>({"products-block__container--large":m.value<=4,"products-block__container--scroll-products":R.value,"products-block__container--blog-post-scroll-products":x&&R.value})),f=o(()=>{try{return e.blok.header?Ce(e.blok.header,d.channel?.rootPath):void 0}catch{return}}),Y=o(()=>!!f.value||T.value&&!!e.blok.link_text),{data:i,status:Z}=ne(`Elevate Products ${E.value}`,async()=>{const{notify:t,viewId:c}=b.querySettings?.value??{};if(e.productPage&&!e.productKey)return[];if(e.productPage&&e.productKey){const h=await b.query?.productPage({productKey:e.productKey,notify:t,viewId:c,presentCustom:A,presentPrices:O},{productGroup:{include:!1},recommendationLists:[{id:"product-block",productRules:e.blok.product_rules,limit:a.value,algorithm:e.blok.algorithm||V}]});return B(h?.recommendationLists[0].productGroups??[],w.value)}const v=await b.query?.landingPage({pageReference:E.value,notify:t,viewId:c,presentCustom:A,presentPrices:O},{recommendationLists:[{id:"product-block",productRules:e.blok.product_rules,limit:a.value,algorithm:e.blok.algorithm||V}]});return B(v?.recommendationLists[0].productGroups??[],w.value)},{server:!1,watch:[e,a]}),k=o(()=>Z.value==="pending"||!i.value),N=o(()=>u!=="Category"?null:{"@context":"https://schema.org","@type":"ItemList",name:e.blok.category||"Category Product List",description:e.blok.description||"A list of products",url:globalThis.location?.href,numberOfItems:i.value?.length,itemListElement:i.value?.map((t,c)=>({"@type":"ListItem",position:c+1,item:{"@type":"Product",name:t.name,url:ge(t.url,d.channel?.baseUrl),image:t.primaryImage,offers:I.value&&t.sellingPrice?{"@type":"Offer",priceCurrency:I.value,price:t.prices?.sellingPrice??t.sellingPrice,availability:t.outOfStock?"https://schema.org/OutOfStock":"https://schema.org/InStock"}:void 0,aggregateRating:t.ratingCount>$.value?{"@type":"AggregateRating",ratingValue:t.rating,reviewCount:t.ratingCount}:void 0}}))}),Q=o(()=>JSON.stringify(N.value)),W=o(()=>N.value?[{type:"application/ld+json",innerHTML:Q.value}]:[]);return ae({script:W}),(t,c)=>{const v=be,h=fe,ee=ke;return n(),l("div",Le,[D("div",xe,[r.productPage?(n(),g(v,{key:0,component:"h3",size:"xl","size-desktop":"3xl",weight:"bold"},{default:K(()=>[j(M(s(F)),1)]),_:1})):y("",!0),s(Y)?(n(),l("div",Se,[s(f)?(n(),l("div",{key:0,class:"products-block__header-text",innerHTML:s(f)},null,8,we)):y("",!0),s(T)&&e.blok.link_text?(n(),g(ie(s(p).type),{key:1,tabindex:s(S),class:"products-block__header-link",to:s(p).to,href:s(p).url},{default:K(()=>[j(M(e.blok.link_text),1)]),_:1},8,["tabindex","to","href"])):y("",!0)])):y("",!0),D("div",{class:ce(["products-block__container",s(X)]),tabindex:s(k)?void 0:s(S),style:z(s(U))},[s(k)?(n(!0),l(G,{key:1},H(Array(s(a)),(P,_)=>(n(),g(ee,{key:`ghost${_}`,style:z({order:_}),class:"ghost-product-card"},null,8,["style"]))),128)):(n(!0),l(G,{key:0},H(s(i),(P,_)=>(n(),g(h,{key:P.articleNumber,product:P,"list-name":e.blok.report_name,position:_,class:"product-card"},null,8,["product","list-name","position"]))),128))],14,Ie)])])}}}),et=Object.assign(ye(Ee,[["__scopeId","data-v-560ddfb7"]]),{__name:"ElevateProductsBlock"});export{et 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.