1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3728],{57334:function(r,e){"use strict";e.Z={src:"/_next/static/media/left-disabled.eb4a4922.svg",height:24,width:24,blurWidth:0,blurHeight:0}},41228:function(r,e){"use strict";e.Z={src:"/_next/static/media/left.f26086c2.svg",height:24,width:24,blurWidth:0,blurHeight:0}},39237:function(r,e){"use strict";e.Z={src:"/_next/static/media/right-disabled.68b4e50f.svg",height:24,width:24,blurWidth:0,blurHeight:0}},1333:function(r,e){"use strict";e.Z={src:"/_next/static/media/right.dda0df45.svg",height:24,width:24,blurWidth:0,blurHeight:0}},72195:function(r,e,a){"use strict";var s=a(85893),i=a(11163),l=a(67294),t=a(57334),c=a(41228),d=a(39237),_=a(1333),o=a(72022),n=a.n(o);e.Z=r=>{let[e,a]=(0,l.useState)(!1),[o,u]=(0,l.useState)(!0),h=r.cardList.length,[x,g]=(0,l.useState)(!1),b=(0,l.useRef)([]),m=(0,l.useRef)(null),p=(0,l.useRef)(0),[f,j]=(0,l.useState)(0);(0,l.useEffect)(()=>{let r=m.current,e=b.current[0];if(!r||!e)return;let s=b.current.length>=3?b.current[2].offsetLeft-b.current[1].offsetLeft:e.offsetWidth;if(!s)return;p.current=s,j(r.offsetWidth/s);let i=r=>{r>1&&r<s*(h-f)?(a(!0),u(!0)):0===r?(a(!1),u(!0)):r>=s*(h-f)&&(u(!1),a(!0))},l=()=>{i(r.scrollLeft)};return r.addEventListener("scroll",l),()=>{r.removeEventListener("scroll",l)}},[h,f]);let v=r=>{let e=p.current;r>1&&r<e*(h-f)?(a(!0),u(!0)):0===r?(a(!1),u(!0)):r>=e*(h-f)&&(u(!1),a(!0))};function C(r){let e=p.current;switch(r){case"display-all":g(!0);break;case"reduce":g(!1);break;case"right":m.current.scrollLeft=m.current.scrollLeft+e,v(m.current.scrollLeft);break;case"left":m.current.scrollLeft=m.current.scrollLeft-e,v(m.current.scrollLeft)}}let N=(0,i.useRouter)(),w={it:"pagina precedente",en:"previous page",de:"vorherige Seite"},Z={it:"pagina successiva",en:"next page",de:"n\xe4chste Seite"},S=()=>{let e="".concat(r.showMoreText," (").concat(h,")");return r.showMoreTextUrl?(0,s.jsx)("a",{href:r.showMoreTextUrl,"aria-label":r.ShowMoreAriaLabel||void 0,children:(0,s.jsx)("span",{className:n().grid_carousel__text,children:e})}):(0,s.jsx)("span",{className:n().grid_carousel__text_static,children:e})},L=r.tag||"h2";return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:n().xl_dek,children:[r.title&&(0,s.jsx)("div",{className:n().grid_carousel__box_title,children:(0,s.jsxs)(L,{className:n().h2_headline,style:{color:r.colorTitle},children:[r.title," ",r.header]})}),r.description&&(0,s.jsx)("div",{className:n().grid_carousel__box_title,children:(0,s.jsx)("p",{className:n().paragraph,children:r.description})}),(0,s.jsxs)("div",{className:n().grid_carousel__box_d,children:[!x&&(0,s.jsxs)(l.Fragment,{children:[S(),h>f&&(0,s.jsxs)(l.Fragment,{children:[(0,s.jsx)("button",{className:n().grid_carousel__arrow,"aria-label":w[N.locale],"aria-disabled":!e,onClick:e?()=>C("left"):void 0,disabled:!e,children:(0,s.jsx)("img",{src:e?c.Z.src:t.Z.src,alt:""})}),(0,s.jsx)("button",{className:n().grid_carousel__arrow,"aria-label":Z[N.locale],"aria-disabled":!o,onClick:o?()=>C("right"):void 0,disabled:!o,children:(0,s.jsx)("img",{src:o?_.Z.src:d.Z.src,alt:""})})]})]}),x&&(0,s.jsxs)(l.Fragment,{children:[(0,s.jsx)("button",{type:"button",className:n().grid_carousel__text,onClick:()=>C("reduce"),children:r.showLessText}),(0,s.jsxs)("div",{className:n().box_arrow_flex,children:[(0,s.jsx)("button",{className:n().grid_carousel__arrow,"aria-label":w[N.locale],"aria-disabled":"true",disabled:!0,children:(0,s.jsx)("img",{src:t.Z.src,alt:""})}),(0,s.jsx)("button",{className:n().grid_carousel__arrow,"aria-label":Z[N.locale],"aria-disabled":"true",disabled:!0,children:(0,s.jsx)("img",{src:d.Z.src,alt:""})})]})]})]})]}),!x&&(0,s.jsx)("div",{className:n().flex_carousel,ref:m,children:r.cardList.map((e,a)=>(0,s.jsx)("div",{ref:r=>b.current[a]=r,children:r.sliderCard(e)},a))}),x&&(0,s.jsx)("div",{className:n().grid_carousel,ref:m,children:r.cardList.map((e,a)=>(0,s.jsx)("div",{ref:r=>b.current[a]=r,children:r.sliderCard(e)},a))}),(0,s.jsxs)("div",{className:n().grid_carousel__box,children:[!x&&(0,s.jsxs)(l.Fragment,{children:[S(),h>f&&(0,s.jsxs)("div",{className:n().box_arrow_flex,children:[(0,s.jsx)("button",{className:n().grid_carousel__arrow,"aria-label":w[N.locale],"aria-disabled":!e,onClick:e?()=>C("left"):void 0,disabled:!e,children:(0,s.jsx)("img",{src:e?c.Z.src:t.Z.src,alt:""})}),(0,s.jsx)("button",{className:n().grid_carousel__arrow,"aria-label":Z[N.locale],"aria-disabled":!o,onClick:o?()=>C("right"):void 0,disabled:!o,children:(0,s.jsx)("img",{src:o?_.Z.src:d.Z.src,alt:""})})]})]}),x&&(0,s.jsxs)(l.Fragment,{children:[(0,s.jsx)("button",{type:"button",className:n().grid_carousel__text,onClick:()=>C("reduce"),children:r.showLessText}),(0,s.jsxs)("div",{className:n().box_arrow_flex,children:[(0,s.jsx)("button",{className:n().grid_carousel__arrow,"aria-label":w[N.locale],"aria-disabled":"true",disabled:!0,children:(0,s.jsx)("img",{src:t.Z.src,alt:""})}),(0,s.jsx)("button",{className:n().grid_carousel__arrow,"aria-label":Z[N.locale],"aria-disabled":"true",disabled:!0,children:(0,s.jsx)("img",{src:d.Z.src,alt:""})})]})]})]})]})}}
1,72022:function(r){r.exports={grid_carousel:"MiniCardSlider_grid_carousel__eUDvl",h2_headline:"MiniCardSlider_h2_headline__Fdr3T",grid_carousel__box_title:"MiniCardSlider_grid_carousel__box_title__F38Qw",grid_carousel__text:"MiniCardSlider_grid_carousel__text__iJr1d",grid_carousel__text_static:"MiniCardSlider_grid_carousel__text_static__xnybJ",grid_carousel__box:"MiniCardSlider_grid_carousel__box__iLRPc",grid_carousel__arrow:"MiniCardSlider_grid_carousel__arrow__EJMqK",grid_carousel__box_d:"MiniCardSlider_grid_carousel__box_d__blocn",flex_carousel:"MiniCardSlider_flex_carousel__CjKpW",box_arrow_flex:"MiniCardSlider_box_arrow_flex__Rn8OR",paragraph:"MiniCardSlider_paragraph__BKD4I",xl_dek:"MiniCardSlider_xl_dek__pVnrx","grid_carousel__box-title":"MiniCardSlider_grid_carousel__box-title__eO3UA"}},58246:function(r){r.exports={card_promo:"CardPromo_card_promo__Zu7Oe",card_promo__box:"CardPromo_card_promo__box__NIs32",paragraph__large:"CardPromo_paragraph__large__j53JI",paragraph__medium:"CardPromo_paragraph__medium__DRuZ7",paragraph__small:"CardPromo_paragraph__small__WwJOb",card_promo__img:"CardPromo_card_promo__img__9aCGq"}},63728:function(r,e,a){"use strict";a.r(e),a.d(e,{default:function(){return c}});var s=a(85893),i=a(45697),l=a(72195),t=a(59915);function c(r){let{attributes:e}=r;return e={...e,cardList:JSON.parse(decodeURIComponent(e.cardList))},(0,s.jsx)(s.Fragment,{children:e?(0,s.jsx)(l.Z,{...e,sliderCard:r=>(0,s.jsx)(t.Z,{imgUrl:r.image.url,altImage:r.altImage,ctaUrl:r.url,title:r.title,price:r.price,bottomText:r.bottomText,newTab:r.newTab,tag:e.tagCard})}):"There was a problem with attributes in LzbBlockMiniCardSlider.js."})}c.propTypes={attributes:i.object}},59915:function(r,e,a){"use strict";var s=a(85893),i=a(27194),l=a(58246);e.Z=r=>{let{imgUrl:e,ctaUrl:a="/",title:t,price:c,bottomText:d,newTab:_,textPrice:o,altImage:n,tag:u}=r;return(0,s.jsx)("a",{href:a,target:_?"_blank":"",children:(0,s.jsxs)("div",{className:l.card_promo,children:[(0,s.jsxs)("div",{className:l.card_promo__box,children:[(0,s.jsxs)("div",{children:[(0,s.jsx)(u||"p",{className:l.paragraph__large,children:t}),(0,s.jsxs)("p",{className:l.paragraph__medium,children:[o," ",(0,s.jsx)("span",{className:l.paragraph__semibold,children:c})]})]}),(0,s.jsx)("p",{className:l.paragraph__small,children:d})]}),(0,s.jsx)("img",{src:e||i.Z.src,alt:"",className:l.card_promo__img})]})})}}}]);
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.