PageSourceSearch

https://www.wingsforlifeworldrun.com/_nuxt/CEfoYzXg.js

js wingsforlifeworldrun.com collected 2026-09-24 08:37:35 UTC 5,977 bytes, 5 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="23601c33-5992-5cae-92a5-5e83aec805a4")}catch(e){}}();
3import{_ as B,a as I}from"./CEz7OimK.js";import{_ as L}from"./DGEgxTye.js";import{aP as U,b7 as $,bk as D,cp as F,bN as V,ch as H,bm as K,bh as h,b4 as x,aY as f,aT as i,aW as s,b3 as l,aV as z,aX as m,b5 as R,bi as G,bj as M,aS as O,cE as X,bw as Y,c5 as q,bO as J}from"./BV2unoxx.js";import{u as Q}from"./tHuZsJ4l.js";import"./fH4JQahK.js";const Z={key:0,class:"relative mb-[200px] h-full w-full"},tt={key:0,class:"grid grid-rows-[auto_auto]"},et={class:"relative col-span-full row-span-full h-[500px] overflow-hidden rounded-5xl tablet:h-[574px] desktop-lg:h-[640px]"},ot={class:"z-10 col-span-full row-start-1 px-l py-12xl text-center tablet:px-5xl desktop:place-items-start desktop:px-7xl desktop:py-10xl desktop:text-left"},st={class:"flex flex-col items-center gap-xl text-white tablet:items-start tablet:gap-3xl"},nt={class:"flex flex-col gap-s tablet:items-start"},at=["textContent"],lt={class:"z-10 col-span-full row-start-2 -mb-[200px] flex w-full items-end overflow-x-hidden"},rt={class:"mx-auto flex snap-x snap-mandatory flex-nowrap gap-2xl overflow-x-auto overflow-y-hidden px-l py-2 no-scrollbar [&::-webkit-scrollbar]:hidden"},it={class:"flex h-[378px] w-full max-w-[300px] origin-bottom-left flex-col justify-between gap-xs overflow-hidden rounded-3xl bg-[#F8F8F8] p-xl transition duration-500 will-change-transform tablet:h-[400px] tablet:group-hover:rotate-[1.5deg] desktop-lg:w-[330px]"},ct=["textContent"],dt=["src","alt"],ut=["src","alt"],pt={class:"flex justify-between gap-xl text-title tablet:group-hover:hidden"},ht=["textContent"],mt=["textContent"],_t="https://www.redbullshop.com/en-int/wings-for-life-world-run/?utm_campaign=navi&utm_source=wingsforlifeworldrun.com&utm_medium=projects&utm_content=en&wt_mc=projects.wingsforlifeworldrun_com.navi",gt=U({__name:"ShopWidget",async setup(xt){let c,b;const d={mobile:"/content/home/shop/mobile.webp",tablet:"/content/home/shop/tablet.webp",desktop:"/content/home/shop/desktop.webp",desktopLg:"/content/home/shop/desktop-xl.webp"},w={model:1,lifestyle:2,product:3,video:4},v={detail:1,side:2,back:3,front:4},S=$(),j=Q(),{globals:P}=D(),_=K(0),k=F("shopWidgetNumbers",()=>[]),{data:y,error:T}=([c,b]=V(async()=>H("shopWidget",async()=>{try{const t=await S.get("shop/teaser-items");return t?[r(t.female),r(t.male),r(t.unisex),r(t.female),r(t.male)].filter(e=>!!e):[]}catch(t){return console.error("Error fetching shop teaser items",t),[]}})),c=await c,b(),c);function C(t){const e=P.value.defaultDonationCurrencyIso3;let n;if(e!=="USD"&&t[e]?n=e:t.EUR&&(n="EUR"),n&&t[n]){const a=t[n];if(a)return j({valueGross:a,currency:n})}}function W(t){const e=t.filter(a=>a.mediaType==="image");return e.length<=0?void 0:e.sort((a,u)=>{const p=w[a.category]-w[u.category];return p!==0?p:v[a.subCategory]-v[u.subCategory]})[0]}function r(t){if(!t||t.length===0)return;const e=k.value[_.value++];return _.value>=k.value.length&&(_.value=0),t[e]}function N(t,e){q("ga4Event",{event_name:"click",click:{value:e||t.currentTarget.innerText,click_url:t.currentTarget.href,method:!0,content_type:"Shop Widget Product Button",element_position:"Home Page"}})}return(t,e)=>{const n=B,a=I,u=L,p=R,E=J;return f(y)?.length?(i(),h("section",Z,[f(T)?x("",!0):(i(),h("div",tt,[s("div",et,[l(a,{src:d.desktopLg,width:"1856",height:"640",srcset:[1856,1856*2],sizes:"1856px",loading:"lazy",alt:"Wings for Life World Run shop",class:"h-[500px] w-full object-cover object-[center_25%] tablet:h-[574px] tablet:object-[center_top] desktop-lg:h-[640px]"},{default:z(()=>[l(n,{media:"(min-width: desktop) and (max-width: desktop-lg)",src:d.desktop,width:"1855",height:"1100",srcset:[1855,1855*2],sizes:"calc(100vw - 64px)"},null,8,["src"]),l(n,{media:"(min-width: tablet) and (max-width: desktop)",src:d.tablet,width:"1400",height:"1457",srcset:[800,1100,1400,2100,2800],sizes:"calc(100vw - 48px)"},null,8,["src"]),l(n,{media:"(max-width: tablet)",src:d.mobile,width:"767",height:"1636",srcset:[425,425*2,767*2],sizes:"100vw"},null,8,["src"])]),_:1},8,["src"]),e[0]||(e[0]=s("div",{class:"pointer-events-none absolute inset-0 hero-gradient"},null,-1))]),s("div",ot,[s("div",st,[s("div",nt,[l(u,{tag:"h2",value:t.$t("home.shop.header1"),class:"break-all text-2 desktop:text-1"},null,8,["value"]),s("p",{class:"tablet:text-body",textContent:m(t.$t("home.shop.subheader1"))},null,8,at)]),l(p,{to:_t,target:"_blank",size:"medium",content:t.$t("home.shop.cta")},null,8,["content"])])]),s("div",lt,[s("div",rt,[(i(!0),h(G,null,M(f(y),(o,A)=>(i(),O(E,{key:o.id,to:o.productUrl,target:"_blank",class:Y(["group relative max-w-[75svw] shrink-0 rounded-3xl tablet:max-w-[40vw] tablet:bg-secondary-brand desktop:max-w-full desktop:shrink",{"desktop:max-desktop-lg:hidden":A>=4}]),onClick:g=>N(g,o.productName),onKeydown:X(g=>N(g,o.productName),["enter"])},{default:z(()=>[s("div",it,[s("p",{class:"text-title text-tertiary tablet:group-hover:hidden",textContent:m(t.$t(`shopWidget.${o.gender}`))},null,8,ct),s("img",{src:o.imageUrl,alt:o.productName,height:"400",width:"300",class:"h-full w-full grow overflow-hidden object-contain tablet:group-hover:hidden",loading:"lazy"},null,8,dt),s("img",{src:W(o.additionalMedia)?W(o.additionalMedia).url:o.imageUrl,alt:o.productName,height:"400",width:"300",class:"hidden h-full w-full grow object-cover tablet:group-hover:block",loading:"lazy"},null,8,ut),s("div",pt,[s("h3",{textContent:m(o.productName)},null,8,ht),C(o.price)?(i(),h("span",{key:0,textContent:m(C(o.price))},null,8,mt)):x("",!0)])])]),_:2},1032,["to","class","onClick","onKeydown"]))),128))])])]))])):x("",!0)}}}),yt=Object.assign(gt,{__name:"HomeShopWidget"});export{yt as default};
4
5//# debugId=23601c33-5992-5cae-92a5-5e83aec805a4

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.