1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`b979a1dd72c17209561bcc184e5e50b6a97d9243`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`b32b212f-d3d5-4194-9912-55e303545c7a`,e._sentryDebugIdIdentifier=`sentry-dbid-b32b212f-d3d5-4194-9912-55e303545c7a`)}catch{}})();import{a as e}from"./DJ6kPw7i.js";import{$ as t,A as n,C as r,E as i,Ht as a,L as o,M as s,Pt as c,S as l,T as u,X as d,g as f,k as p,mt as m,nn as h,nt as g,pt as _,sn as v,vt as y,w as b}from"./-0IMIAo4.js";import{t as x}from"./Bdehdbl8.js";import{t as S}from"./C1mdIw25.js";import{t as C}from"./Ci6VYL1U.js";import{t as w}from"./BxxvFEha.js";import{t as T}from"./CIBZKv792.js";import{t as E}from"./BSvDJ2D02.js";import{t as D}from"./B-rIQa8Y.js";import{t as O}from"./BZ5xQkjS.js";o(),y(),a();var k=[`id`],A=[`id`],j={key:2,class:`flex flex-row flex-wrap justify-center items-center gap-8`},M=[`slides-per-view`],N={class:`flex flex-col items-center`},P={class:`type-headline-base`},F={key:4,class:`mobOnly:grid mobOnly:grid-cols-2 flex flex-row gap-x-8 gap-y-24`},I={class:`flex flex-col items-center group`},L={class:`w-full flex flex-col items-center gap-8 group type-headline-base text-center`},R=Object.assign(s({__name:`CategoryListingBlock`,props:{blok:{},placement:{}},setup(a){let o=S(),{$sbLinkFix:s,$sbLinkCheck:y}=e(),R=C(),z=a,{desktopWidth:B}=D(z),{firstBynderAsset:V,bynderImageSrc:H,bynderAlt:U}=T(),W=e=>H(V(e.image)),G=e=>U(V(e.image)),K=l(()=>!o.isMobile&&(z.blok.design===`images`||z.blok.design===`images-center`)?z.blok.listItems.length:0),q=e=>{if(e.productLink&&e.productLink[0]?.product&&typeof e.productLink[0].product!=`string`&&e.productLink[0].product.product!==null)return`${R.getPrependPathForManualLinks}/${R.getProductBasePath}/${e.productLink[0].product.product.url}`;if(y(e.link))return s(e.link)},J=e=>q(e)!==void 0;return(e,s)=>{let l=x,y=E,S=w,C=g(`editable`);return m((d(),i(`div`,{class:h([`CategoryListingBlock layout-container text-center`,c(B)(`full`)])},[a.blok.anchorLink?(d(),i(`a`,{key:0,id:a.blok.anchorLink},null,8,k)):u(``,!0),a.blok.showInTopTabs?(d(),i(`a`,{key:1,id:e.$anchorFriendlyname(a.blok.showInTopTabs,a.placement)},null,8,A)):u(``,!0),n(O,{blok:a.blok},null,8,[`blok`]),a.blok.design===`buttons`?(d(),i(`div`,j,[(d(!0),i(f,null,t(a.blok.listItems,e=>m((d(),b(l,{key:e._uid,to:q(e),class:`btn btn--secondary btn--lg`},{default:_(()=>[p(v(e.category),1)]),_:2},1032,[`to`])),[[C,e]])),128))])):u(``,!0),a.blok.swiperMobile&&c(o).isMobile||c(K)>8?(d(),i(`div`,{key:3,class:h([`relative`,{hidden:a.blok.design===`buttons`}])},[n(S,null,{default:_(()=>[r(`swiper-container`,{class:`swiper-cover desk:!overflow-hidden !overflow-visible w-full desk:!pb-40 !pb-32`,"space-between":8,pagination:{clickable:!0},navigation:!0,"slides-per-view":c(o).isMobile?2.1:8,mousewheel:{enabled:!0,forceToAxis:!0}},[(d(!0),i(f,null,t(a.blok.listItems,e=>m((d(),i(`swiper-slide`,{key:e._uid,class:`flex flex-col items-center mb-24 desk:mb-32 deskLarge:!overflow-hidden group`},[n(l,{to:q(e)},{default:_(()=>[r(`div`,N,[r(`div`,{class:h([`relative mb-8 rounded-card overflow-clip`,e.imageBackgroundColor||`bg-surface-raised`])},[W(e)?(d(),b(y,{key:0,preset:`standard`,loading:`lazy`,sizes:`sm:50vw desk:250px`,class:h([`aspect-square h-full w-full transition-transform duration-300`,[e.imageContain?`object-contain p-[8%]`:`object-cover`,{"group-hover:scale-110":J(e)}]]),src:W(e),alt:G(e)},null,8,[`class`,`src`,`alt`])):u(``,!0)],2),r(`div`,P,v(e.category),1)])]),_:2},1032,[`to`])])),[[C,e]])),128))],8,M)]),_:1})],2)):a.blok.design===`images`?(d(),i(`div`,F,[(d(!0),i(f,null,t(a.blok.listItems,e=>m((d(),b(l,{key:e._uid,to:q(e)},{default:_(()=>[r(`div`,I,[r(`div`,L,[r(`div`,{class:h([`w-full h-full rounded-card overflow-clip`,e.imageBackgroundColor||`bg-surface-raised`])},[W(e)?(d(),b(y,{key:0,preset:`standard`,loading:`lazy`,sizes:`sm:50vw desk:250px`,class:h([`aspect-square h-full w-full transition-transform duration-300`,[e.imageContain?`object-contain p-[8%]`:`object-cover`,{"group-hover:scale-110":J(e)}]]),src:W(e),alt:G(e)},null,8,[`class`,`src`,`alt`])):u(``,!0)],2),p(` `+v(e.category),1)])])]),_:2},1032,[`to`])),[[C,e]])),128))])):u(``,!0)],2)),[[C,a.blok]])}}}),{__name:`CategoryListingBlock`});export{R as default}; 2//# sourceMappingURL=GHh3q9im.js.map
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.