PageSourceSearch

https://www.jbl.cz/_next/static/chunks/c0366cb347350e78.js

js jbl.cz collected 2026-10-09 01:26:41 UTC 34,823 bytes, 630 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,81644,52896,e=>{"use strict";e.i(47167);var i=e.i(43476),t=e.i(71645),d=e.i(97053);let o=(0,t.createContext)(null);function a(){let e=(0,t.useContext)(o);if(!e)throw Error("useCarousel must be used within a CarouselProvider");return e}function r({totalSlides:e,visibleSlides:d=1,step:a=1,infinite:r=!1,isPlaying:n=!1,interval:l=5e3,currentSlide:s=0,children:h,className:c}){let[p,m]=t.default.useState(s),g=Math.max(0,e-d),u=(0,t.useCallback)(e=>{r?e<0?m(g):e>g?m(0):m(e):m(Math.max(0,Math.min(e,g)))},[r,g]),b=(0,t.useCallback)(()=>{u(p-a)},[p,a,u]),x=(0,t.useCallback)(()=>{u(p+a)},[p,a,u]),f=!r&&0===p,w=!r&&p>=g;t.default.useEffect(()=>{if(!n||e<=d)return;let i=setInterval(()=>{x()},l);return()=>clearInterval(i)},[n,l,x,e,d]);let y=(0,t.useMemo)(()=>({currentSlide:p,totalSlides:e,visibleSlides:d,step:a,infinite:r,isPlaying:n,interval:l,setCurrentSlide:u,goBack:b,goNext:x,isBackDisabled:f,isNextDisabled:w}),[p,e,d,a,r,n,l,u,b,x,f,w]);return(0,i.jsx)(o.Provider,{value:y,children:(0,i.jsx)("div",{className:c,children:h})})}function n({children:e,className:d,style:o,trayClassName:r}){let{currentSlide:n,totalSlides:l,visibleSlides:s,setCurrentSlide:h,infinite:c}=a(),p=(0,t.useRef)(null),[m,g]=(0,t.useState)(!1),[u,b]=(0,t.useState)(0),[x,f]=(0,t.useState)(0),[w,y]=(0,t.useState)(!0),v=100/l,$=l/s*100,S=-(n*v),_=(0,t.useCallback)(e=>{y(!1),b(e.touches[0].clientX),g(!0)},[]),C=(0,t.useCallback)(e=>{m&&f(e.touches[0].clientX-u)},[m,u]),j=(0,t.useCallback)(()=>{if(!m)return;g(!1),y(!0);let e=p.current;if(!e)return void f(0);if(Math.abs(x)>.15*(e.offsetWidth/l))if(x>0){let e=Math.max(0,l-s);c&&0===n?h(e):h(Math.max(0,n-1))}else{let e=Math.max(0,l-s);c&&n>=e?h(0):h(Math.min(e,n+1))}f(0)},[m,x,l,s,n,h,c]),k=(0,t.useCallback)(e=>{e.preventDefault(),y(!1),b(e.clientX),g(!0)},[]),I=(0,t.useCallback)(e=>{m&&f(e.clientX-u)},[m,u]),N=(0,t.useCallback)(()=>{if(!m)return;g(!1),y(!0);let e=p.current;if(!e)return void f(0);if(Math.abs(x)>.15*(e.offsetWidth/l))if(x>0){let e=Math.max(0,l-s);c&&0===n?h(e):h(Math.max(0,n-1))}else{let e=Math.max(0,l-s);c&&n>=e?h(0):h(Math.min(e,n+1))}f(0)},[m,x,l,s,n,h,c]),B=(0,t.useCallback)(()=>{m&&(g(!1),y(!0),f(0))},[m]),P=m?x:0;return(0,i.jsx)("div",{className:d,style:{overflow:"hidden",width:"100%",...o},role:"listbox",onTouchStart:_,onTouchMove:C,onTouchEnd:j,onMouseDown:k,onMouseMove:I,onMouseUp:N,onMouseLeave:B,children:(0,i.jsx)("div",{ref:p,className:r,style:{display:"flex",width:`${$}%`,transform:`translateX(calc(${S}% + ${P}px))`,transition:w?"transform 0.3s ease":"none",userSelect:"none"},children:e})})}function l({index:e,children:t,className:d,innerClassName:o,style:r}){let{currentSlide:n,visibleSlides:l,totalSlides:s}=a(),h=e>=n&&e<n+l;return(0,i.jsx)("li",{className:`${d||""} ${h?"carousel__slide--visible":"carousel__slide--hidden"}`.trim(),style:{display:"inline-flex",width:`${100/s}%`,flexShrink:0,listStyle:"none",...r},role:"option","aria-selected":h,"aria-label":`slide ${e+1}`,children:(0,i.jsx)("div",{className:o,style:{width:"100%",position:"relative"},children:t})})}let s=t.default.forwardRef(({children:e,disabled:t,onClick:d,className:o,...r},n)=>{let{goBack:l,isBackDisabled:s}=a();return(0,i.jsx)("button",{ref:n,type:"button","aria-label":"previous",className:o,onClick:e=>{l(),d?.(e)},disabled:t??s,...r,children:e})});s.displayName="ButtonBack";let h=t.default.forwardRef(({children:e,disabled:t,onClick:d,className:o,...r},n)=>{let{goNext:l,isNextDisabled:s}=a();return(0,i.jsx)("button",{ref:n,type:"button","aria-label":"next",className:o,onClick:e=>{l(),d?.(e)},disabled:t??s,...r,children:e})});h.displayName="ButtonNext";let c=t.default.forwardRef(({slide:e,children:t,selected:d,disabled:o,onClick:r,className:n,...l},s)=>{let{currentSlide:h,visibleSlides:c,totalSlides:p,setCurrentSlide:m}=a(),g=p-c,u=e>=g?g:e;return(0,i.jsx)("button",{ref:s,type:"button","aria-label":`slide dot ${e}`,className:n,onClick:e=>{m(u),r?.(e)},disabled:o??("boolean"==typeof d?d:e>=h&&e<h+c),...l,children:t})});c.displayName="Dot";var p=e.i(25050),m=e.i(61244),g=e.i(94955);let u=d.default.img.withConfig({displayName:"ResponsiveImage__MainImage",componentId:"sc-650beb78-0"})``,b=e=>{let[d,o]=(0,t.useState)(!1),{path:a,alt:r,lazy:n,preloadQuality:l,preloadQualityTimeout:s,imageStyle:h,defaultWidth:c,preload:p,externalPath:m}=e;t.default.useEffect(()=>{window&&(s?setTimeout(()=>{o(!0)},s):o(!0))},[]);let g=e=>{if(m)return e.path;{let i=[];return i.push(`query=${e.path}`),i.push("webp=1"),i.push("type=cover"),e.width&&i.push(`width=${e.width}`),e.height&&i.push(`height=${e.height}`),e.quality&&i.push(`quality=${e.quality}`),`/proxy-api/image?${i.join("&")}`}},b=!l||n||d?void 0:l,x=g({path:a,quality:b,width:c||void 0});return(0,i.jsxs)("picture",{children:[(t=>{let{autoWidth:d,preload:o}=e,r=d?.addition?d.addition:0;if(!d)return(0,i.jsx)(i.Fragment,{});{let e=[],o=0;for(let n=d?.min;n<=d?.max;n+=d.increment){o++;let l=g({path:a,width:n+r,quality:t}),s=n,h=1===o?0:s-d.increment+1;e.push((0,i.jsx)("source",{media:`(min-width: ${h}px) and (max-width: ${s}px)`,srcSet:l}))}return e}})(b),(t=>{let{manualWidth:d}=e;
1if(!d||!d.length)return(0,i.jsx)(i.Fragment,{});{let e=[];for(let o of d){let d=g({path:a,width:o.loadWidth,quality:t}),r=o.cssMaxWidth,n=o.cssMinWidth;e.push((0,i.jsx)("source",{media:`(min-width: ${n}px) and (max-width: ${r}px)`,srcSet:d}))}return e}})(b),(0,i.jsx)(u,{loading:n?"lazy":void 0,alt:r,src:x,onLoad:()=>{window&&(s?setTimeout(()=>{o(!0)},s):o(!0))},style:h})]})};e.s(["ResponsiveImage",0,b],52896);let x=({title:e,description:t,redirectUrl:d,image:o,isRight:a=!1,buttonDescription:r,position:n})=>{let{__:l}=(0,m.useLangTranslation)("common"),s=!!d&&!!d.match(/http|https/g);return(0,i.jsxs)(f,{children:[(0,i.jsx)(_,{children:(0,i.jsx)(b,{path:o,lazy:0!==n,preload:0===n,preloadQuality:1,preloadQualityTimeout:1e3,autoWidth:{increment:50,min:100,max:1950},imageStyle:{objectFit:"contain",width:"100%"}})}),(0,i.jsxs)(w,{children:[(0,i.jsx)(y,{children:`${e}`.substring(0,100)}),(0,i.jsx)(S,{children:`${t}`.substring(0,150)}),s?(0,i.jsx)(C,{href:d,title:l("Link na externú stránku"),children:r}):(0,i.jsx)($,{href:d,children:r})]})]})},f=d.default.section.withConfig({displayName:"SliderBanner__BannerWrapper",componentId:"sc-384617bd-0"})`
2  position: relative;
3  z-index: 1;
4  overflow: hidden;
5  width: 100%;
6  height: 100%;
7
8  display: flex;
9  align-items: ${e=>e.isRight?"flex-end":"flex-start"};
10  flex-direction: column;
11  justify-content: center;
12
13  ${({theme:e})=>e.mediab.l1150`
14    padding-bottom: 0;
15    padding-top: 0;
16  `}
17
18  ${({theme:e})=>e.mediab.l925`
19    // margin-right: ${(0,p.rem)(16)};
20    // margin-left: ${(0,p.rem)(16)};
21    // margin-bottom: ${(0,p.rem)(16)};
22    // width: calc(100% - 32px);
23  `}
24
25  ${({theme:e})=>e.media(0,"sm")} {
26    padding-bottom: 0;
27    padding-top: 0;
28    background-image: none;
29
30    &::before {
31      display: none;
32    }
33  }
34`,w=d.default.article.withConfig({displayName:"SliderBanner__BannerContent",componentId:"sc-384617bd-1"})`
35  position: absolute;
36  padding: ${(0,p.rem)(152)} 13.5%;
37  /* max-width: 40%; */
38  max-width: 100%;
39  display: inline-block;
40  width: 100%;
41  height: 100%;
42
43  display: flex;
44  flex-direction: column;
45  justify-content: center;
46  align-items: flex-start;
47
48  ${({theme:e})=>e.mediab.l925`
49    justify-content: flex-end;
50    height: initial;
51  `}
52
53  ${({theme:e})=>e.media(0,"sm")} {
54    max-width: 100%;
55    padding: ${(0,p.rem)(16)} ${(0,p.rem)(16)} 0;
56    position: relative;
57    background: ${({theme:e})=>e.mobileBanner.backgroundColor};
58  }
59`,y=d.default.h2.withConfig({displayName:"SliderBanner__Title",componentId:"sc-384617bd-2"})`
60  font-size: ${(0,p.rem)(49)};
61  color: ${({theme:e})=>e.colors.white};
62  margin-bottom: ${(0,p.rem)(16)};
63  line-height: ${(0,p.rem)(56)};
64  font-family: ${({theme:e})=>e.font.primary};
65  font-weight: 600;
66  text-transform: uppercase;
67
68  ${({theme:e})=>e.media(0,"sm")} {
69    font-size: ${(0,p.rem)(24)};
70    line-height: ${(0,p.rem)(28)};
71    margin-bottom: ${(0,p.rem)(24)};
72    color: ${({theme:e})=>e.mobileBanner.textColor};
73  }
74`,v=d.css`
75  display: inline-block;
76  color: ${({theme:e})=>e.colors.white};
77  background-color: ${({theme:e})=>e.colors.primary};
78  border: none;
79  padding: ${(0,p.rem)(18)} ${(0,p.rem)(24)};
80  font-weight: 500;
81  font-size: ${(0,p.rem)(16)};
82  line-height: ${(0,p.rem)(19)};
83  height: initial;
84  border-radius: ${(0,p.rem)(4)};
85  text-decoration: none;
86
87  ${({theme:e})=>e.media(0,"sm")} {
88    padding: ${(0,p.rem)(10)} ${(0,p.rem)(24)};
89    margin-bottom: 0;
90    width: initial;
91    padding: ${(0,p.rem)(14)} ${(0,p.rem)(24)};
92
93    color: ${({theme:e})=>e.mobileBanner.buttonTextColor};
94    background-color: ${({theme:e})=>e.mobileBanner.buttonBackgroundColor};
95  }
96`,$=(0,d.default)(g.default).withConfig({displayName:"SliderBanner__BannerButton",componentId:"sc-384617bd-3"})`
97  ${v};
98`,S=d.default.p.withConfig({displayName:"SliderBanner__BannerText",componentId:"sc-384617bd-4"})`
99  font-family: ${({theme:e})=>e.font.primary};
100  font-size: ${(0,p.rem)(20)};
101  line-height: ${(0,p.rem)(20)};
102  color: ${({theme:e})=>e.colors.white};
103  position: relative;
104  margin: 0;
105  font-weight: 400;
106  margin-bottom: ${(0,p.rem)(32)};
107
108  ${({theme:e})=>e.media(0,"sm")} {
109    font-size: ${(0,p.rem)(14)};
110    line-height: ${(0,p.rem)(18)};
111    color: ${({theme:e})=>e.mobileBanner.textColor};
112  }
113`,_=d.default.div.withConfig({displayName:"SliderBanner__ResponseImageWrapper",componentId:"sc-384617bd-5"})`
114  height: 100%;
115`,C=d.default.a.withConfig({displayName:"SliderBanner__StyledLink",componentId:"sc-384617bd-6"})`
116  ${v};
117`;
117var j=e.i(65333),k=e.i(50609),I=e.i(48330),N=e.i(61412),B=e.i(8097),P=e.i(42090),F=e.i(52038),T=e.i(65038),z=e.i(46858),D=e.i(8388),M=e.i(76878),W=e.i(20805);let R=d.css`
118  position: absolute;
119  height: ${({type:e})=>"photogallery"===e||"banner"===e?"56px":"40px"};
120  width: ${({type:e})=>"photogallery"===e||"banner"===e?"56px":"40px"};
121  background-color: ${({type:e,theme:i})=>"photogallery"===e||"banner"===e?(0,p.rgba)(i.colors.textPrimary,.08):"#DADFED"};
122  z-index: 1;
123  border-radius: 50%;
124  border: none;
125  top: ${({type:e})=>"photogallery"===e?"40%":"brands"===e?"20%":"compare"===e?"35%":"45%"};
126
127  visibility: ${({type:e})=>"product-detail"===e?"hidden":"visible"};
128
129  &:disabled {
130    display: none;
131  }
132
133  @media only screen and (max-width: 925px) {
134    display: none;
135    visibility: hidden;
136    z-index: -10;
137  }
138
139  @media only screen and (max-width: 520px) {
140    visibility: hidden;
141    z-index: -10;
142  }
143`,L=d.css`
144  background-position: center center;
145  background-repeat: no-repeat;
146  position: absolute;
147  height: 30px;
148  width: 30px;
149  z-index: 500;
150  top: -56px;
151  border: none;
152  background-color: transparent;
153  visibility: ${({type:e})=>"product-detail"===e?"hidden":"visible"};
154
155  &:disabled {
156    cursor: unset;
157  }
158
159  @media only screen and (max-width: 580px) {
160    visibility: hidden;
161    z-index: -10;
162  }
163
164  @media only screen and (max-width: 520px) {
165    visibility: hidden;
166    z-index: -10;
167  }
168`,E=(0,d.default)(s).withConfig({displayName:"Slider__BtnBackWrapper",componentId:"sc-913dde37-0"})`
169  cursor: pointer;
170  &:focus {
171    outline: none;
172  }
173
174  &:hover {
175    transition: 0.2s all;
176    background-color: rgba(65, 65, 65, 0.38);
177  }
178
179  left: ${({type:e})=>"photogallery"===e||"banner"===e?`${(0,p.rem)(40)}`:"brands"===e?"-14px":"-20px"};
180
181  ${e=>e.type&&"blog-product"===e.type?`${L};
182    background-image: url('/images/blog_assets/back-arrow.svg');
183    right: 56px;
184    left: unset;
185    &:disabled {
186      background-image: url('/images/blog_assets/arrow_back_gray.svg');
187    }
188    `:R}
189`,O=(0,d.default)(h).withConfig({displayName:"Slider__BtnNextWrapper",componentId:"sc-913dde37-1"})`
190  cursor: pointer;
191  &:focus {
192    outline: none;
193  }
194
195  &:hover {
196    transition: 0.2s all;
197    background-color: rgba(65, 65, 65, 0.38);
198  }
199
200  right: ${({type:e})=>"photogallery"===e?`${(0,p.rem)(40)}`:"brands"===e?"-14px":"compare"===e?"0px":"20px"};
201
202  ${e=>e.type&&"blog-product"===e.type?`${L};
203    background-image: url('/images/blog_assets/right-arrow.svg');
204    right: 0px;
205    left: unset;
206    &:disabled {
207      background-image: url('/images/blog_assets/right-arrow-gray.svg');
208    }
209    `:R};
210`,q=(0,d.default)(j.SvgIcon).withConfig({displayName:"Slider__BtnBack",componentId:"sc-913dde37-2"})`
211  opacity: 1;
212  cursor: pointer;
213  margin-left: auto;
214  margin-right: auto;
215`,X=(0,d.default)(q).withConfig({displayName:"Slider__BtnNext",componentId:"sc-913dde37-3"})`
216  opacity: 1;
217`,U=d.default.div.withConfig({displayName:"Slider__Carousel",componentId:"sc-913dde37-4"})`
218  margin: auto;
219  position: relative;
220  width: 100%;
221  overflow: visible;
222  /* margin-left: -${(0,p.rem)(8)}; */
223`,A=(0,d.default)(c).withConfig({displayName:"Slider__ClassicDotComponent",componentId:"sc-913dde37-5"})`
224  width: 8px;
225  height: 8px;
226  border: none;
227  padding: 0;
228  margin: 0 8px;
229  border-radius: 50%;
230  background-color: #dddddd;
231
232  &:disabled {
233    background-color: ${({theme:e})=>e.colors.textPrimary};
234  }
235`,Z=(0,d.default)(c).withConfig({displayName:"Slider__TransparentDotComponent",componentId:"sc-913dde37-6"})`
236  width: 8px;
237  height: 8px;
238  border: none;
239  padding: 0;
240  margin: 0 8px;
241  border-radius: 50%;
242  background-color: #dddddd;
243
244  &:disabled {
245    background-color: ${({theme:e})=>e.colors.textPrimary};
246  }
247`,K=(0,d.default)(c).withConfig({displayName:"Slider__BannerDotComponent",componentId:"sc-913dde37-7"})`
248  border: none;
249  width: 100%;
250  height: 100%;
251  background-color: ${({type:e})=>"photogallery"===e?"transparent":"#ffffff"};
252  padding: ${({type:e})=>"photogallery"===e?`${(0,p.rem)(12)} ${(0,p.rem)(24)}`:(0,p.rem)(24)};
253  display: flex;
254  flex-direction: row;
255  justify-content: ${({type:e})=>"photogallery"===e?"flex-start":"center"};
256  color: ${({type:e,theme:i})=>"photogallery"===e?"rgba(255, 255, 255, 0.4)":i.colors.disabled};
257
258  @media only screen and (max-width: 925px) {
259    width: ${(0,p.rem)(8)};
260    height: ${(0,p.rem)(8)};
261    border-radius: 50%;
262    padding: 0;
263    border: none;
264    background: ${({theme:e})=>e.mobileBanner.dotsInactiveColor};
265
266    border: ${({type:e,theme:i})=>"instagram"===e?`1px solid ${i.colors.primary}`:""};
267    opacity: 1;
268  }
269
270  &:disabled {
271    opacity: 1;
272    color: ${({type:e,theme:i})=>
272"photogallery"===e?i.colors.white:i.colors.textPrimary};
273    border-bottom: ${(0,p.rem)(2)} solid ${({theme:e})=>e.colors.primary};
274
275    @media only screen and (max-width: 925px) {
276      background: ${({theme:e})=>e.mobileBanner.dotsColor};
277    }
278  }
279
280  &:disabled > p {
281    ${({type:e})=>"photogallery"===e?"opacity: 1; color: white;":""}
282  }
283
284  ${({theme:e})=>e.mediab.l925`
285     background-color: ${({theme:e})=>e.mobileBanner.dotsInactiveColor};
286     &:disabled {
287      border-bottom: ${(0,p.rem)(2)} solid ${({theme:e})=>e.mobileBanner.dotsColor};
288     }
289  `}
290`,Q=d.default.div.withConfig({displayName:"Slider__BannerDotWrapper",componentId:"sc-913dde37-8"})`
291  position: relative;
292  width: 100%;
293
294  ${({type:e,theme:i})=>"photogallery"===e?`
295    margin-right: ${(0,p.rem)(16)};
296    border: ${i.borders.banners};
297    border-radius: 4px;
298    flex: 1;
299    &:last-child {
300      margin-right: 0;
301    }
302    @media only screen and (max-width: 700px) {
303      display: none;
304    }
305  `:`
306    border-left: ${i.borders.banners};
307    border-right: ${i.borders.banners};
308    border-top: none;
309    border-bottom: none;
310  `}
311
312  @media only screen and (max-width: 925px) {
313    border: none;
314    width: initial;
315    padding: ${(0,p.rem)(8)};
316  }
317`,H=d.default.img.withConfig({displayName:"Slider__BannerDotImage",componentId:"sc-913dde37-9"})`
318  margin-right: ${(0,p.rem)(24)};
319  ${({theme:e})=>e.mediab.l925`
320     width: 40px;
321     height: 40px;
322  `}
323
324  @media only screen and (max-width: 925px) {
325    display: none;
326  }
327`,G=(0,d.default)(k.TextP).withConfig({displayName:"Slider__BannerDotName",componentId:"sc-913dde37-10"})`
328  font-weight: 500;
329  font-family: ${({theme:e})=>e.font.primary};
330  color: inherit;
331  font-size: ${(0,p.rem)(16)};
332  line-height: ${(0,p.rem)(20)};
333
334  margin: auto 0;
335
336  ${({theme:e})=>e.mediab.l925`
337     font-size: ${(0,p.rem)(10)};
338  `}
339
340  @media only screen and (max-width: 925px) {
341    display: none;
342  }
343`,J=d.default.div.withConfig({displayName:"Slider__Dots",componentId:"sc-913dde37-11"})`
344  width: 100%;
345  margin: auto;
346  bottom: 0;
347  text-align: center;
348  position: absolute;
349  display: ${({type:e})=>"photogallery"===e?"flex":"block"};
350  flex-direction: row;
351  justify-content: center;
352
353  @media only screen and (max-width: 380px) {
354    bottom: ${({type:e})=>"ebook"===e?"-220px":"initial"};
355  }
356  @media only screen and (max-width: 340px) {
357    bottom: ${({type:e})=>"ebook"===e?"-200px":"initial"};
358  }
359
360  ${({type:e})=>"photogallery"===e?`
361    bottom: 0;
362    position: static;
363    margin-top: ${(0,p.rem)(48)};
364  `:`
365    bottom: 0;
366    position: static;
367    border-radius: ${(0,p.rem)(4)};
368    box-shadow: 0px 1px 4px #00000014;
369  `}
370
371  ${({theme:e})=>e.mediab.l925`
372     box-shadow: none;
373     padding-top: ${(0,p.rem)(28)};
374     padding-bottom: ${(0,p.rem)(28)};
375     background: ${({theme:e})=>e.mobileBanner.dotsBackgroundColor};
376     border-radius: 0;
377  `}
378`,V=(0,d.default)(J).withConfig({displayName:"Slider__TransparentDots",componentId:"sc-913dde37-12"})`
379  display: none;
380  ${({theme:e})=>e.mediab.l925`
381    background: initial;
382    padding-bottom: ${(0,p.rem)(10)};
383    display: block;
384  `}
385`;(0,d.default)(J).withConfig({displayName:"Slider__InstagramDots",componentId:"sc-913dde37-13"})`
386  ${({theme:e})=>e.mediab.l925`
387     background: white;
388  `}
389`;let Y=d.default.div.withConfig({displayName:"Slider__ClassicDots",componentId:"sc-913dde37-14"})`
390  width: 100%;
391  margin: auto;
392  margin-top: -32px;
393  text-align: center;
394  position: absolute;
395  @media only screen and (max-width: 1130px) {
396    margin-top: -35px;
397  }
398  @media only screen and (max-width: 900px) {
399    margin-top: 0px;
400  }
401  @media only screen and (max-width: 620px) {
402    margin-top: -10px;
403  }
404  @media only screen and (max-width: 580px) {
405    margin-top: 0px;
406  }
407  @media only screen and (max-width: 520px) {
408    margin-top: -2vw;
409  }
410  @media only screen and (max-width: 450px) {
411    margin-top: 0;
412  }
413  @media only screen and (max-width: 380px) {
414    bottom: ${({type:e})=>"ebook"===e?"-220px":"initial"};
415  }
416  @media only screen and (max-width: 340px) {
417    bottom: ${({type:e})=>"ebook"===e?"-200px":"initial"};
418  }
419`,ee=d.default.div.withConfig({displayName:"Slider__DotsWrapper",componentId:"sc-913dde37-15"})`
420  display: flex;
421  flex-direction: row;
422  justify-content: ${({isContentCenter:e})=>e?"center":"space-between"};
423  bottom: 0;
424  position: static;
425  width: 100%;
426  max-width: ${({theme:e})=>`${e.grid.container.wide}px`};
427  margin: 0 auto;
428
429  ${({theme:e})=>e.mediab.l925`
430    justify-content: center;
431  `}
432`,ei=d.default.div.withConfig({displayName:"Slider__PhotogalleryItem",componentId:"sc-913dde37-16"})`
433  margin: auto;
434  width: 100%;
435  line-height: 20px;
436  display: flex;
437  height: 100%;
438  /* max-height: ${(0,p.rem)(540)}; */
439
440  div {
441    width: 100%;
442  }
443
444  /* @media only screen and (max-width: 580px) {
445    width: 100%;
446    height: 528px;
447  } */
448
449  /* @media only screen and (max-width: 420px) {
450    width: 100%;
451    height: 210px;
452  }
453  @media only screen and (max-width: 380px) {
454    width: 100%;
455    height: 210px;
456  } */
457`,et=d.default.div.withConfig({displayName:"Slider__InstagramItem",componentId:"sc-913dde37-17"})`
458  height: 100%;
459  /* max-height: ${(0,p.rem)(400)}; */
460`,ed=d.default.div.withConfig({displayName:"Slider__InstagramImage",componentId:"sc-913dde37-18"})`
461  height: 100%;
462  width: 100%;
463`,eo=d.default.a.withConfig({displayName:"Slider__IntagramButton",componentId:"sc-913dde37-19"})`
464  display: inline-block;
465  color: ${({theme:e})=>e.colors.white};
466  background-color: ${({theme:e})=>e.colors.primary};
467  border: none;
468  padding: ${(0,p.rem)(18)} ${(0,p.rem)(24)};
469  font-weight: 500;
470  font-size: ${(0,p.rem)(16)};
471  line-height: ${(0,p.rem)(19)};
472  height: initial;
473  border-radius: ${(0,p.rem)(4)};
474  text-decoration: none;
475  margin-bottom: 0;
476  width: fit-content;
477  min-width: ${(0,p.rem)(182)};
478  padding: ${(0,p.rem)(14)} ${(0,p.rem)(24)};
479
480  position: absolute;
481  bottom: ${(0,p.rem)(16)};
482  left: 50%;
483  transform: translateX(-50%);
484`,ea=d.default.img.withConfig({displayName:"Slider__PhotogalleryCover",componentId:"sc-913dde37-20"})`
485  margin: auto;
486  width: 100%;
487  object-fit: cover;
488  max-width: initial;
489
490  @media only screen and (max-width: 900px) {
491    width: auto;
492  }
493  /* @media only screen and (max-width: 580px) {
494    width: 100%;
495    height: 528px;
496  } */
497  /* @media only screen and (max-width: 420px) {
498    width: 100%;
499    height: 210px;
500  }
501  @media only screen and (max-width: 380px) {
502    width: 100%;
503    height: 210px;
504  } */
505`,er=d.default.div.withConfig({displayName:"Slider__BrandWrapper",componentId:"sc-913dde37-21"})`
506  width: 95%;
507  height: ${(0,p.rem)(80)};
508  margin: 0 auto;
509  background: #ffffff 0% 0% no-repeat padding-box;
510  box-shadow: 0px 1px 4px #00000014;
511  border-radius: 4px;
512  display: flex;
513  align-items: center;
514  justify-content: center;
515`,en=d.default.img.withConfig({displayName:"Slider__BrandImage",componentId:"sc-913dde37-22"})`
516  max-height: 100%;
517  max-width: 100%;
518  object-fit: contain;
519`,el=(0,d.default)(g.default).withConfig({displayName:"Slider__ProductItem",componentId:"sc-913dde37-23"})`
520  text-decoration: none;
521  /* margin: auto; */
522  /* width: ${(0,p.rem)(230)}; */
523  width: 100%;
524  margin: 0 ${(0,p.rem)(8)};
525  height: 231px;
526  display: flex;
527  flex-direction: column;
528  justify-content: center;
529  align-items: center;
530  border-radius: ${(0,p.rem)(4)};
531  background-color: white;
532  box-shadow: 0px 1px 4px #00000014;
533
534  @media only screen and (max-width: 1130px) {
535    margin: auto;
536  }
537  @media only screen and (max-width: 580px) {
538    width: 100%;
539    height: 230px;
540  }
541  @media only screen and (max-width: 420px) {
542    width: 100%;
543    height: 230px;
544  }
545  @media only screen and (max-width: 380px) {
546    width: 100%;
547    height: 230px;
548  }
549`,es=d.css`
550  margin: auto;
551  width: 91px;
552  height: 120px;
553  max-height: 120px;
554`;d.default.img.withConfig({displayName:"Slider__ProductThumb",componentId:"sc-913dde37-24"})`
555  ${es}
556`;let eh=d.default.p.withConfig({displayName:"Slider__ProductName",componentId:"sc-913dde37-25"})`
557  text-transform: uppercase;
558  text-align: center;
559  margin: ${(0,p.rem)(24)} 0 ${(0,p.rem)(24)};
560  width: 85%;
561  color: #414141;
562  font-weight: 500;
563  line-height: ${(0,p.rem)(20)};
564`,ec=d.default.div.withConfig({displayName:"Slider__SliderCustom",componentId:"sc-913dde37-26"})`
565  /* li {
566    min-height: ${(0,p.rem)(20)};
567  }
568
569  @media only screen and (max-width: 1130px) {
570    min-height: initial;
571  } */
572
573  li {
574    @media only screen and (max-width: 580px) {
575      width: 100%;
576      height: 100%;
577
578      article {
579        flex: 1 0 auto;
580      }
581    }
582  }
583`,ep=d.default.div.withConfig({displayName:"Slider__ProductTabDefaultWrapper",componentId:"sc-913dde37-27"})`
584  margin-right: 30px;
585  margin-left: 0px;
586  height: 100%;
587
588  ${({theme:e})=>e.mediab.l925`
589      margin-right: 10px;
590      margin-left: 10px;
591     }
592  `}
593`,em=(0,d.default)(I.DsiProductTabDefault).withConfig({displayName:"Slider__ProductTabDefaulCustom",componentId:"sc-913dde37-28"})`
594  height: 100% !important;
595`,eg=d.default.div.withConfig({displayName:"Slider__RelatedItemWrapper",componentId:"sc-913dde37-29"})`
596  height: 100%;
597  margin-right: ${({theme:e,margin:i})=>i?(0,p.rem)(20):0};
598`,eu=d.default.div.withConfig({displayName:"Slider__BlockProductFavoriteCompareWrapper",componentId:"sc-913dde37-30"})`
599  position: absolute;
600  top: ${(0,p.rem)(8)};
601  right: ${(0,p.rem)(16)};
602  z-index: 1;
603`,eb=d.default.div.withConfig({displayName:"Slider__BlogProductOuterWrapper",componentId:"sc-913dde37-31"})`
604  position: relative;
605  margin: 0 ${(0,p.rem)(8)};
606  height: 231px;
607  display: flex;
608  flex-direction: column;
609  justify-content: center;
610  align-items: center;
611  border-radius: ${(0,p.rem)(4)};
612  background-color: white;
613  box-shadow: 0px 1px 4px #00000014;
614
615  @media only screen and (max-width: 1130px) {
616    margin: auto;
617  }
618  @media only screen and (max-width: 580px) {
619    width: 100%;
620    height: 230px;
621  }
622  @media only screen and (max-width: 420px) {
623    width: 100%;
624    height: 230px;
625  }
626  @media only screen and (max-width: 380px) {
627    width: 100%;
628    height: 230px;
629  }
630`;e.s(["default",0,function({type:e,slides:d,addToCart:o,isPlaying:a,interval:s,productRemove:h,showCompareIcon:c,compareProductIds:p,dispatch:g}){let{__:u}=(0,m.useLangTranslation)("common"),[f,w]=t.useState(()=>"ebook"===e?{width:210,height:360,visibleSlides:4}:"brands"===e?{width:210,height:80,visibleSlides:4}:"compare"===e?{visibleSlides:3}:{width:1920,height:540,visibleSlides:1});t.useEffect(()=>{let e=()=>I(window.innerWidth);return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]);let{width:y,height:v,visibleSlides:$}=f,{productIds:S,toggleProduct:_}=(0,W.useCompare)(),C=e=>{_("string"==typeof e?parseInt(e,10):e)},k=p??S,I=i=>
630{if("photogallery"===e||"banner"===e||"product-detail"===e)i<=1130&&i>=950?w({width:1130,height:500,visibleSlides:1}):i<950&&i>=800?w({width:950,height:450,visibleSlides:1}):i<800&&i>=580?w({width:800,height:560,visibleSlides:1}):i<580&&i>=420?w({width:580,height:580,visibleSlides:1}):i<420&&i>=300?w({width:420,height:650,visibleSlides:1}):w({width:1920,height:540,visibleSlides:1});else if("product"===e)i>1130?w({width:210,height:255,visibleSlides:4}):i<=1130&&i>=780?w({width:210,height:205,visibleSlides:3}):i<780&&i>=680?w({width:200,height:165,visibleSlides:2}):i<680&&i>=580?w({width:200,height:195,visibleSlides:2}):i<580&&i>=550?w({width:400,height:205,visibleSlides:1}):i<550&&i>=480?w({width:400,height:215,visibleSlides:1}):i<480&&i>=440?w({width:400,height:235,visibleSlides:1}):i<440&&i>=420?w({width:400,height:250,visibleSlides:1}):i<420&&i>=380?w({width:350,height:240,visibleSlides:1}):i<420&&i>=380?w({width:300,height:260,visibleSlides:1}):w({width:300,height:280,visibleSlides:1});else if("blog-product"===e)i>1130?w({width:210,height:255,visibleSlides:4}):i<=1130&&i>=780?w({width:210,height:205,visibleSlides:3}):i<780&&i>=680?w({width:200,height:165,visibleSlides:2}):i<680&&i>=580?w({width:200,height:195,visibleSlides:2}):i<580&&i>=550?w({width:400,height:205,visibleSlides:1}):i<550&&i>=480?w({width:400,height:215,visibleSlides:1}):i<480&&i>=440?w({width:400,height:235,visibleSlides:1}):i<440&&i>=420?w({width:400,height:250,visibleSlides:1}):i<420&&i>=380?w({width:350,height:240,visibleSlides:1}):i<420&&i>=380?w({width:300,height:260,visibleSlides:1}):w({width:300,height:280,visibleSlides:1});else if("ebook"===e)i>1300?w({width:210,height:330,visibleSlides:4}):i<=1300&&i>=1150?w({width:210,height:400,visibleSlides:4}):i<1150&&i>=1050?w({width:300,height:464,visibleSlides:3}):i<1050&&i>=800?w({width:250,height:270,visibleSlides:2}):i<800&&i>=700?w({width:250,height:300,visibleSlides:2}):i<700&&i>=560?w({width:250,height:380,visibleSlides:2}):i<560&&i>=500?w({width:250,height:430,visibleSlides:2}):i<500&&i>=430?w({width:300,height:300,visibleSlides:1}):i<430&&i>=370?w({width:300,height:350,visibleSlides:1}):w({width:300,height:450,visibleSlides:1});else if("brands"===e)i>1130?w({width:210,height:80,visibleSlides:4}):i<=1130&&i>=780?w({width:210,height:80,visibleSlides:3}):i<780&&i>=680||i<680&&i>=580?w({width:200,height:80,visibleSlides:2}):i<580&&i>=550||i<550&&i>=480||i<480&&i>=440||i<440&&i>=420?w({width:400,height:80,visibleSlides:1}):i<420&&i>=380?w({width:350,height:80,visibleSlides:1}):w({width:300,height:80,visibleSlides:1});else if("compare"===e)i>1300?w({visibleSlides:3}):w({visibleSlides:2});else if("instagram"===e)i<950&&i>=800?w({width:900,height:450,visibleSlides:1}):i<800&&i>=580?w({width:400,height:300,visibleSlides:1}):w({width:300,height:300,visibleSlides:1});else if("category-product"===e){let e=!1;d.find(e=>!!e?.product_detail?.available_gift_cards?.length)&&(e=!0),e?i>2e3?w({width:210,height:320,visibleSlides:4}):i>1300?w({width:210,height:315+(1920-i)/20*1.5,visibleSlides:4}):i>800?w({width:210,height:280+(1300-i)/3,visibleSlides:3}):i>580?w({width:210,height:310+(800-i)/2,visibleSlides:2}):i>0&&w({width:210,height:200+(580-i)/2,visibleSlides:1}):i>1300?w({width:210,height:e?340:270,visibleSlides:4}):i<=1300&&i>=1150?w({width:210,height:400,visibleSlides:4}):i<1150&&i>=1050?w({width:300,height:464,visibleSlides:3}):i<1050&&i>=800?w({width:250,height:e?320:270,visibleSlides:2}):i<800&&i>=700?w({width:250,height:e?360:270,visibleSlides:2}):i<700&&i>=560?w({width:250,height:e?500:380,visibleSlides:2}):i<560&&i>=500?w({width:250,height:430,visibleSlides:2}):i<500&&i>=430?w({width:300,height:300,visibleSlides:1}):i<430&&i>=370?w({width:300,height:350,visibleSlides:1}):w({width:300,height:450,visibleSlides:1})}};return(0,i.jsx)(i.Fragment,{children:d&&d.length>0?(0,i.jsx)(r,{visibleSlides:$,step:1,totalSlides:d.length,infinite:!0,isPlaying:a,interval:s,children:(0,i.jsxs)(U,{children:[(0,i.jsx)(ec,{children:(0,i.jsx)(n,{children:d.map((t,d)=>(0,i.jsx)(l,{innerClassName:"photogallery"===e?"sliderCentered":"sliderCenteredDefault",index:d,children:((t,d,a)=>
630{if("photogallery"===e)return(0,i.jsx)(ei,{children:(0,i.jsx)("a",{href:a.b_url,target:"_blank",rel:"noopener noreferrer",children:0===t?(0,i.jsx)(ea,{alt:"Obrázok vo fotogalerií",src:(0,B.getImagePath)(d,{width:1105,height:456},!1,!0,!0)}):(0,i.jsx)(ea,{alt:"Obrázok vo fotogalerií",loading:"lazy",src:(0,B.getImagePath)(d,{width:1064,height:456},!1,!0,!0)})})},t);if("banner"===e)return(0,i.jsx)(ei,{children:(0,i.jsx)(x,{position:t,title:a.b_name,description:a.b_description,image:a.b_path,redirectUrl:a.b_url,buttonDescription:a.b_buttontext||u("Zobraziť ponuku")})},t);if("instagram"===e)return(0,i.jsx)(et,{children:(0,i.jsxs)(ed,{children:[(0,i.jsx)(b,{path:a.b_path,externalPath:!0,lazy:!0}),(0,i.jsx)(eo,{target:"__blank",href:a.b_url?a.b_url:"#",children:u("Prejsť na príspevok")})]})},t);if("ebook"===e)return(0,i.jsx)(N.DsiProductTabSmall,{product:a,addToCart:o,addToRequest:()=>{},imgSrc:a.picture?(0,B.getImagePath)(a.picture,{width:80,height:80}):"",name:a.name,description:a.description,price:(0,P.prop)(a,"main_good.unitprice",0),oldPrice:(0,P.prop)(a,"main_good.oldprice",(0,P.prop)(a,"main_good.unitprice")),currency:(0,P.prop)(a,"main_good.currency",(0,P.prop)(a,"main_good.currency")),url:`/${a.url}`,avail_id:(0,P.prop)(a,"main_good.availability.avail_id",0),availability:(0,P.prop)(a,"main_good.availability.avail_uniqid"),isNew:(0,P.prop)(a,"is_new",0),isSale:a.is_sale,isFavorite:a.is_favorite,salePercentage:(0,P.prop)(a,"main_good.sale_percentage"),condition:(0,P.prop)(a,"product_condition"),conditionTextMapping:[{condition:26,text:u("Poškodený obal")},{condition:25,text:u("Rozbalené")},{condition:17,text:u("Zánovné")},{condition:29,text:u("Použité")}],isWaiting:(0,P.prop)(a,"is_waiting",!1)},a.product_id);if("product"===e)return(0,i.jsxs)(el,{href:`/${a.url}`,children:[(0,i.jsx)(D.Picture,{alt:a.name,image:a.image,width:90,height:120,customStyles:es}),(0,i.jsx)(eh,{children:a.name})]},a.id);else if("blog-product"===e){let e=(0,P.prop)(a,"publish.0.content.json_content.name")||a.name,t=a.product_id,d=9===a.type_id;return(0,i.jsxs)(eb,{children:[(0,i.jsx)(eu,{children:(0,i.jsx)(z.FavoriteCompare,{id:t,showCompareIcon:c&&!d,isCompare:k&&k.includes(t),addToCompare:C,isFavorite:!1,hasFavourite:!1,addToFavorite:()=>{}})}),(0,i.jsxs)(el,{href:`/${(0,P.prop)(a,"publish.0.product_url")||a.url}`,children:[(0,i.jsx)(D.Picture,{alt:e,image:a.picture,width:90,height:120,customStyles:es}),(0,i.jsx)(eh,{children:e})]})]},a.product_id)}else if("product-detail"===e)return(0,i.jsx)(ei,{children:(0,i.jsx)(ea,{alt:`Obr\xe1zok vo fotogaleri\xed č. ${t}`,src:(0,B.getImagePath)(d)})},t);else if("brands"===e)return(0,i.jsx)(er,{children:(0,i.jsx)(en,{alt:`Logo značky`,src:(0,B.getImagePath)(d)})});else if("compare"===e){let e=(0,T.getProductDetailInfo)(a.product_detail,"");return(0,i.jsx)(eg,{margin:!0,children:(0,i.jsx)(M.CompareProductSmall,{productId:e.id,name:e.name,picture:`product/${e.image}`,description:e.shortDesc,onRemove:e=>h?h(e):null})})}else if("category-product"===e){let{availid:e,availability:d,picture:r,pictureWebP:n,url:l,name:s,price:h,isNew:p,isSale:m,isFavorite:g,salePercentage:b,id:x,description:f,currency:w,variants:y,isSaleB2b:v,isSaleB2c:$,onStock:S,isSecondHand:_,isFreeDelivery:j,imagePath:I,oldPriceCorporate:N,isBaseType:B}=(0,T.getProductDefaultInfo)(a,null,!1,!0),F=100-(0,P.round)(h/N*100,2);return(0,i.jsx)(ep,{children:(0,i.jsx)(em,{id:x,apiUrl:"/proxy-api",picture:r,pictureWebP:n,price:h,oldPrice:N,availid:e,availability:d,url:l,name:s,addToCart:o,isNew:p,isSale:v||$,isFavorite:g,salePercentage:F?`${F}`:"",product:a,hasFavourite:!1,description:f,currency:w,canOrder:!1,stockCount:0,isSecondHand:_,isFreeDelivery:j,height:"100%",cannotOrderButtonText:u("Zobraziť"),imagePath:I,showCompareIcon:c&&!B,isCompare:k&&k.includes(x),addToCompare:C},t)})}return null})(d,"photogallery"===e||"banner"===e?t.b_path:"brands"===e?t.brand_image:t.img,t)},d))})}),"product-detail"!==e&&d.length>$&&("blog-product"===e?(0,i.jsx)(E,{type:e,children:null}):(0,i.jsx)(E,{type:e,children:"photogallery"===e||"banner"===e?(0,i.jsx)(q,{icon:j.IconType.arrowBack,width:24,height:24,fill:"#FFFFFF"}):(0,i.jsx)(q,{icon:j.IconType.arrowBack,width:16,height:16,fill:"#FFFFFF"})})),"product-detail"!==e&&d.length>$&&("blog-product"===e?(0,i.jsx)(O,{type:e,children:null}):(0,i.jsx)(O,{type:e,children:"photogallery"===e||"banner"===e?(0,i.jsx)(X,{icon:j.IconType.arrowNext,width:24,height:24,fill:"#FFFFFF"}):(0,i.jsx)(X,{icon:j.IconType.arrowNext,width:16,height:16,fill:"#FFFFFF"})})),("photogallery"===e||"banner"===e)&&(0,i.jsx)(J,{type:e,children:(0,i.jsx)(ee,{children:((e,t,d)=>{let o=[];for(let a=0;a<e.length;a+=t)o.push((0,i.jsx)(Q,{type:d,children:(0,i.jsxs)(K,{type:d,slide:a,children:["photogallery"===d&&(0,i.jsx)(H,{src:(0,B.getImagePath)(e[a].b_path,{width:56,height:56},!1,!0,!0)}),(0,i.jsx)(G,{children:e[a].b_name})]})},a));return o}
630)(d,$,e)})}),"instagram"===e&&(0,i.jsx)(V,{type:e,children:(0,i.jsx)(ee,{isContentCenter:!0,children:((e,t)=>{let d=[];for(let o=0;o<e.length;o+=t)d.push((0,i.jsx)(Z,{slide:o}));return d})(d,$)})}),("ebook"===e||"product"===e||"blog-product"===e||"category-product"===e)&&(0,i.jsx)(Y,{type:e,children:((e,t)=>{let d=[];for(let o=0;o<e.length;o+=t)d.push((0,i.jsx)(A,{slide:o}));return d})(d,$)})]})}):(0,i.jsx)(F.NoItemsWrapper,{text:`Nenašli sa žiadne ${"brands"===e?"značky":"produkty"}.`})})}],81644)}]);

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.