PageSourceSearch

https://www.revolutionrace.nl/_nuxt/production-273317172/Epyw8A-T.js

js revolutionrace.nl collected 2026-09-26 09:35:16 UTC 4,825 bytes, 1 lines download raw bytes

1import{ck as z,gp as A,go as K,gz as M,bG as u,gB as Y,ge as r,bO as o,bL as n,t as b,f1 as p,bM as P,h9 as v,f7 as N,bN as i,g3 as c,a_ as B,eE as e,bZ as I,c1 as x}from"#entry";import{_ as Z}from"./DGmju1dd.js";import{u as E}from"./DHS2Yzvp.js";(function(){try{var _=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};_.SENTRY_RELEASE={id:"production-273317172"};var f=new _.Error().stack;f&&(_._sentryDebugIds=_._sentryDebugIds||{},_._sentryDebugIds[f]="e7541fb2-49ba-49de-836e-d28a2d49fc24",_._sentryDebugIdIdentifier="sentry-dbid-e7541fb2-49ba-49de-836e-d28a2d49fc24")}catch{}})();const J={key:0,class:"product-comparison-block"},Q={border:"0"},X={key:1},ee={key:0},te={key:0},oe={key:1},se={class:"product-comparison-block__label"},re={key:0},ne={key:2},ae={key:0},le={class:"product-comparison-block__label"},ue={key:0,class:"product-comparison-block__checkmark"},ce={key:1},ie={class:"product-comparison-block__label"},de={key:0},_e={class:"product-comparison-block__label"},be={key:0},pe={key:1},fe=z({__name:"ProductComparisonBlock",props:{block:{type:Object,required:!0}},setup(_){const f=_,m=A(),T=K(),{data:l}=M(u(()=>`product-comparison ${f.block.systemId}`),async()=>{const s=T.current?.country,d=Y(),g=f.block?.fields?.selectedFeatures?.map(k=>k.value).join(","),w=f.block.fields.productCategoryPair.map(k=>k.productSKU).join(","),t=new URLSearchParams({channelSystemId:m.channel?.systemId||"",products:w,features:g});s&&t.append("countryId",s);const a=await $fetch(`${d.restEndpoint}/product/comparison?${t.toString()}`);return Object.values(a||{}).filter(k=>k)},"$n6Fw8fLep-"),D=u(()=>f.block?.fields?.selectedFeatures?.filter(s=>l.value?.some(d=>d.features&&d.features[s.value]!==null&&d.features[s.value]!==void 0&&d.features[s.value]!==""))),j=u(()=>l.value?.some(s=>s&&!!s?.features?.breathability)),G=u(()=>l.value?.some(s=>s&&!!s?.features?.waterproof)),R=u(()=>l.value?.some(s=>s&&!!s?.features?.fillPower)),y=E("comparisonblock"),U=E("product"),$=u(()=>y.get("waterproof_label")),H=u(()=>y.get("breathability_label")),O=u(()=>y.get("fit_label")),V=u(()=>y.get("price_label")),W=u(()=>U.get("fill_power")),L=u(()=>m.channel?.website?.websitePageLinks?.find(s=>s.fieldId==="WaterproofGuidePage")),q=u(()=>l.value?.some(s=>s?.features?.fit)),S=u(()=>m.channel?.website?.websitePageLinks?.find(s=>s.fieldId==="InsulationGuidePage"));function C(s){return s?B:"span"}function h(s){return s?.url}return(s,d)=>{const g=B,w=Z;return r(l)?(e(),o("div",J,[n("table",Q,[n("thead",null,[n("tr",null,[d[0]||(d[0]=n("th",null,null,-1)),(e(!0),o(b,null,p(r(l),(t,a)=>(e(),o("th",{key:a,class:"product-comparison-block__name"},[t.url&&t?(e(),P(g,{key:0,class:"product-comparison-block__link",to:t.url},{default:v(()=>[I(c(t.name),1)]),_:2},1032,["to"])):t.name?(e(),o("span",X,c(t.name),1)):i("",!0)]))),128))])]),n("tbody",null,[r(G)?(e(),o("tr",ee,[n("td",null,[(e(),P(N(C(h(r(L)))),{to:h(r(L)),class:"product-comparison-block__label"},{default:v(()=>[I(c(r($)),1)]),_:1},8,["to"]))]),(e(!0),o(b,null,p(r(l),(t,a)=>(e(),o("td",{key:a},[t.features.waterproof?(e(),o("sub",te,c(Number(t.features.waterproof).toLocaleString(r(m).channel?.locale)),1)):i("",!0)]))),128))])):i("",!0),r(j)?(e(),o("tr",oe,[n("td",null,[n("span",se,c(r(H)),1)]),(e(!0),o(b,null,p(r(l),(t,a)=>(e(),o("td",{key:a},[t.features.breathability?(e(),o("sub",re,c(Number(t.features.breathability).toLocaleString()),1)):i("",!0)]))),128))])):i("",!0),r(R)?(e(),o("tr",ne,[n("td",null,[(e(),P(N(C(h(r(S)))),{to:h(r(S)),class:"product-comparison-block__label"},{default:v(()=>[I(c(r(W)),1)]),_:1},8,["to"]))]),(e(!0),o(b,null,p(r(l),(t,a)=>(e(),o("td",{key:a},[t.features.fillPower?(e(),o("sub",ae,c(t.features.fillPower),1)):i("",!0)]))),128))])):i("",!0),(e(!0),o(b,null,p(r(D),t=>(e(),o("tr",{key:t.index},[n("td",null,[n("sub",le,c(t.name),1)]),(e(!0),o(b,null,p(r(l),(a,F)=>(e(),o("td",{key:F},[n("sub",null,[typeof a.features[t.value]=="boolean"?(e(),o("span",ue," ✓ ")):(e(),o("span",ce,c(a.features[t.value]),1))])]))),128))]))),128)),n("tr",null,[n("td",null,[n("span",ie,c(r(O)),1)]),r(q)?(e(!0),o(b,{key:0},p(r(l),(t,a)=>(e(),o("td",{key:a},[t.features.fit?(e(),o("sub",de,c(t.features.fit),1)):i("",!0)]))),128)):i("",!0)]),n("tr",null,[n("td",null,[n("sub",_e,c(r(V)),1)]),(e(!0),o(b,null,p(r(l),(t,a)=>(e(),o("td",{key:a},[t.price?(e(),o("div",be,[t.url?(e(),P(g,{key:0,class:"product-comparison-block__link",to:t.url},{default:v(()=>[x(w,{class:"product-comparison-block__price",value:Number(t.price)},null,8,["value"])]),_:2},1032,["to"])):(e(),o("span",pe,[x(w,{class:"product-comparison-block__price",value:Number(t.price)},null,8,["value"])]))])):i("",!0)]))),128))])])])])):i("",!0)}}}),he=Object.assign(fe,{__name:"LitiumProductComparisonBlock"});export{he 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.