PageSourceSearch

https://poxdorf.de/_Resources/Static/Packages/DigiPublica.Design/F…/JavaScript/slick-setter.js?bust=8ecfaad6

js poxdorf.de collected 2026-10-02 21:21:01 UTC 29,528 bytes, 881 lines download raw bytes

1/*
2
3
4         ___      __                   __  __             _     
5   _____/ (_)____/ /__      ________  / /_/ /____  _____ (_)____
6  / ___/ / / ___/ //_/_____/ ___/ _ \/ __/ __/ _ \/ ___// / ___/
7 (__  ) / / /__/ ,< /_____(__  )  __/ /_/ /_/  __/ /   / (__  ) 
8/____/_/_/\___/_/|_|     /____/\___/\__/\__/\___/_(_)_/ /____/  
9                                                   /___/        
10
11 Version: 2.1.5
12  Author: digiPublica
13 Website: https://www.digipublica.de
14    Desc: digiPublica Included Initializer for Slick Slider
15
16*/
17
18
19jQuery(document).ready(function(){
20	jQuery(".slider").each(function() {
21		//SETTER FOR EMBEDDED ELEMENT
22		var pageteaser = jQuery(this).find(".pageteaser");
23		var container = jQuery(this).find(".container");
24		var nextevents = jQuery(this).find(".nextevents");
25
26		var slickwrap = jQuery(this);
27		var dataShow = parseInt(jQuery(slickwrap).attr("data-show"));
28		var transition = parseInt(jQuery(slickwrap).attr("data-transition"));
29		var resizeTimer;
30
31		//DETECT IF IS IN BACKEND
32		if (jQuery(slickwrap).is('[data-backend]')) {
33			var sliderAccessibility = false;
34		} else {
35			var sliderAccessibility = true;
36		}
37
38		//DETECT IF HEIGHT IS ADAPTIVE
39		if (jQuery(slickwrap).is('[data-height-adaptive]')) {
40			var sliderAdaptiveHeight = true;
41		} else {
42			var sliderAdaptiveHeight = false;
43		}
44
45		//DETECT IF AUTOPLAY IS SET
46		if (jQuery(slickwrap).is('[data-autoplay]')) {
47			var sliderAutoplay = jQuery(slickwrap).attr("data-autoplay");
48			var sliderPauseOnHover = jQuery(slickwrap).attr("data-pause-on-hover");
49			if (sliderPauseOnHover == "enabled") {
50				var sliderPauseOnHover = true;
51			} else {
52				var sliderPauseOnHover = false;
53			}
54		} else {
55			var sliderAutoplay = false;
56			var sliderPauseOnHover = false;
57		}
58
59		//DETECT IF CONTROLS IS SET
60		if (jQuery(slickwrap).is('[data-controls]')) {
61			var sliderControls = jQuery(slickwrap).attr("data-controls");
62			var sliderButtons = jQuery(slickwrap).attr("data-buttons");
63			var sliderPagination = jQuery(slickwrap).attr("data-pagination");
64			if (sliderButtons == "enabled") {
65				var sliderButtons = true;
66			} else {
67				var sliderButtons = false;
68			}
69			if (sliderPagination == "enabled") {
70				var sliderPagination = true;
71			} else {
72				var sliderPagination = false;
73			}
74		} else {
75			var sliderControls = false;
76			var sliderButtons = false;
77			var sliderPagination = false;
78		}
79
80		//DETECT IF CENTERMODE IS ENABLED
81		if (jQuery(slickwrap).is('[data-centermode]')) {
82			var sliderCentermode = jQuery(slickwrap).attr("data-centermode");
83			if (sliderCentermode == "enabled") {
84				var sliderCentermode = true;
85			} else {
86				var sliderCentermode = false;
87			}
88		}
89
90		//DETECT IF DURATION IS SET
91		if (jQuery(slickwrap).is('[data-duration]')) {
92			var sliderDuration = parseInt(jQuery(slickwrap).attr("data-duration"));		
93		} else {
94			var sliderDuration = 5000;
95		}
96
97		function slickSettings() {
98			if (jQuery(slickwrap).is('[data-height-desktop]') && jQuery(window).width() > 767) {
99				var sliderHeightDesktop = jQuery(slickwrap).attr("data-height-desktop");
100				jQuery(slickwrap).css("height", sliderHeightDesktop);
101			}
102			if (jQuery(slickwrap).is('[data-height-mobile]') && jQuery(window).width() < 767) {
103				var sliderHeightMobile = jQuery(slickwrap).attr("data-height-mobile");
104				jQuery(slickwrap).css("height", sliderHeightMobile);			
105			}
106		}
107		//INITIALIZE SLICK
108		if(jQuery(pageteaser).length) {
109			if (dataShow == 5) {
110				jQuery(slickwrap).find('.pageteaser .pageteaser-content').slick({
111					autoplay: sliderAutoplay,
112					autoplaySpeed: sliderDuration,
113					pauseOnHover: sliderPauseOnHover,
114					pauseOnFocus: sliderPauseOnHover,
115					accessibility: sliderAccessibility,
116					adaptiveHeight: sliderAdaptiveHeight,
117					arrows: sliderButtons,
118	                prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>',
119	                nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>',
120	                customPaging: function(slider, i) {
121	                    return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1);
122	                },
123					dots: sliderPagination,
124					centerMode: sliderCentermode,
125					speed: transition,
126					slide: 'div',
127					slidesToShow: dataShow,
128					slidesToScroll: dataShow,
129					responsive: [
130				    {
131				      breakpoint: 1700,
132				      settings: {
133				        slidesToShow: 4,
134				        slidesToScroll: 4
135				      }
136				    },
137				    {
138				      breakpoint: 1550,
139				      settings: {
140						arrows: sliderButtons,
141						dots: sliderPagination
142				      }
143				    },
144				    {
145				      breakpoint: 1400,
146				      settings: {
147				        slidesToShow: 3,
148				        slidesToScroll: 3,
149						arrows: sliderButtons,
150						dots: sliderPagination
151				      }
152				    },
153				    {
154				      breakpoint: 1100,
155				      settings: {
156				      	autoplay: false,
157				        slidesToShow: 2,
158				        slidesToScroll: 2,
159						arrows: sliderButtons,
160						dots: sliderPagination
161				      }
162				    },
163				    {
164				      breakpoint: 800,
165				      settings: {
166				      	autoplay: false,
167				        slidesToShow: 1,
168				        slidesToScroll: 1,
169						arrows: sliderButtons,
170						dots: sliderPagination
171				      }
172				    }
173				  ]
174				});
175			} else if (dataShow == 4) {
176				jQuery(slickwrap).find('.pageteaser .pageteaser-content').slick({
177					autoplay: sliderAutoplay,
178					autoplaySpeed: sliderDuration,
179					pauseOnHover: sliderPauseOnHover,
180					pauseOnFocus: sliderPauseOnHover,
181					accessibility: sliderAccessibility,
182					adaptiveHeight: sliderAdaptiveHeight,
183					arrows: sliderButtons,
184	                prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>',
185	                nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>',
186	                customPaging: function(slider, i) {
187	                    return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1);
188	                },
189					dots: sliderPagination,
190					centerMode: sliderCentermode,
191					speed: transition,
192					slide: 'div',
193					slidesToShow: dataShow,
194					slidesToScroll: dataShow,
195					responsive: [
196				    {
197				      breakpoint: 1550,
198				      settings: {
199						arrows: sliderButtons,
200						dots: sliderPagination
201				      }
202				    },
203				    {
204				      breakpoint: 1400,
205				      settings: {
206				        slidesToShow: 3,
207				        slidesToScroll: 3,
208						arrows: sliderButtons,
209						dots: sliderPagination
210				      }
211				    },
212				    {
213				      breakpoint: 1100,
214				      settings: {
215				      	autoplay: false,
216				        slidesToShow: 2,
217				        slidesToScroll: 2,
218						arrows: sliderButtons,
219						dots: sliderPagination
220				      }
221				    },
222				    {
223				      breakpoint: 800,
224				      settings: {
225				      	autoplay: false,
226				        slidesToShow: 1,
227				        slidesToScroll: 1,
228						arrows: sliderButtons,
229						dots: sliderPagination
230				      }
231				    }
232				  ]
233				});
234			} else if (dataShow == 3) {
235				jQuery(slickwrap).find('.pageteaser .pageteaser-content').slick({
236					autoplay: sliderAutoplay,
237					autoplaySpeed: sliderDuration,
238					pauseOnHover: sliderPauseOnHover,
239					pauseOnFocus: sliderPauseOnHover,
240					accessibility: sliderAccessibility,
241					adaptiveHeight: sliderAdaptiveHeight,
242					arrows: sliderButtons,
243	                prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>',
244	                nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>',
245	                customPaging: function(slider, i) {
246	                    return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1);
247	                },
248					dots: sliderPagination,
249					centerMode: sliderCentermode,
250					speed: transition,
251					slide: 'div',
252					slidesToShow: dataShow,
253					slidesToScroll: dataShow,
254          swipeToSlide: true,
255					responsive: [
256				    {
257				      breakpoint: 1550,
258				      settings: {
259						arrows: sliderButtons,
260						dots: sliderPagination
261				      }
262				    },
263				    {
264				      breakpoint: 800,
265				      settings: {
266				      	autoplay: false,
267				        slidesToShow: 1,
268				        slidesToScroll: 1,
269						arrows: sliderButtons,
270						dots: sliderPagination
271				      }
272				    }
273				  ]
274				});
275			} else if (dataShow == 2) {
276				jQuery(slickwrap).find('.pageteaser .pageteaser-content').slick({
277					autoplay: sliderAutoplay,
278					autoplaySpeed: sliderDuration,
279					pauseOnHover: sliderPauseOnHover,
280					pauseOnFocus: sliderPauseOnHover,
281					accessibility: sliderAccessibility,
282					adaptiveHeight: sliderAdaptiveHeight,
283					arrows: sliderButtons,
284	                prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>',
285	                nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>',
286	                customPaging: function(slider, i) {
287	                    return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1);
288	                },
289					dots: sliderPagination,
290					centerMode: sliderCentermode,
291					speed: transition,
292					slide: 'div',
293					slidesToShow: dataShow,
294					slidesToScroll: dataShow,
295					responsive: [
296				    {
297				      breakpoint: 1550,
298				      settings: {
299						arrows: sliderButtons,
300						dots: sliderPagination
301				      }
302				    },
303				    {
304				      breakpoint: 800,
305				      settings: {
306				      	autoplay: false,
307				        slidesToShow: 1,
308				        slidesToScroll: 1,
309						arrows: sliderButtons,
310						dots: sliderPagination
311				      }
312				    }
313				  ]
314				});
315			} else if (dataShow == 1) {
316				jQuery(slickwrap).find('.pageteaser .pageteaser-content').slick({
317					autoplay: sliderAutoplay,
318					autoplaySpeed: sliderDuration,
319					pauseOnHover: sliderPauseOnHover,
320					pauseOnFocus: sliderPauseOnHover,
321					accessibility: sliderAccessibility,
322					adaptiveHeight: sliderAdaptiveHeight,
323					arrows: sliderButtons,
324	                prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>',
325	                nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>',
326	                customPaging: function(slider, i) {
327	                    return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1);
328	                },
329					dots: sliderPagination,
330					centerMode: sliderCentermode,
331					speed: transition,
332					slide: 'div',
333					slidesToShow: dataShow,
334					slidesToScroll: dataShow,
335					responsive: [
336				    {
337				      breakpoint: 1550,
338				      settings: {
339						arrows: sliderButtons,
340						dots: sliderPagination
341				      }
342				    },
343				    {
344				      breakpoint: 800,
345				      settings: {
346				      	autoplay: false,
347						arrows: sliderButtons,
348						dots: sliderPagination
349				      }
350				    }
351				  ]
352				});
353			} 
354		} else if (jQuery(container).length) {
355			if (dataShow == 5) {
356				jQuery(slickwrap).find('.slider-content').slick({
357					autoplay: sliderAutoplay,
358					autoplaySpeed: sliderDuration,
359					pauseOnHover: sliderPauseOnHover,
360					pauseOnFocus: sliderPauseOnHover,
361					accessibility: sliderAccessibility,
362					adaptiveHeight: sliderAdaptiveHeight,
363					arrows: sliderButtons,
364	                prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>',
365	                nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>',
366	                customPaging: function(slider, i) {
367	                    return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1);
368	                },
369					dots: sliderPagination,
370					centerMode: sliderCentermode,
371					speed: transition,
372					slide: 'div',
373					slidesToShow: dataShow,
374					slidesToScroll: dataShow,
375					responsive: [
376				    {
377				      breakpoint: 1700,
378				      settings: {
379				        slidesToShow: 4,
380				        slidesToScroll: 4
381				      }
382				    },
383				    {
384				      breakpoint: 1550,
385				      settings: {
386						arrows: sliderButtons,
387						dots: sliderPagination
388				      }
389				    },
390				    {
391				      breakpoint: 1400,
392				      settings: {
393				        slidesToShow: 3,
394				        slidesToScroll: 3,
395						arrows: sliderButtons,
396						dots: sliderPagination
397				      }
398				    },
399				    {
400				      breakpoint: 1100,
401				      settings: {
402				      	autoplay: false,
403				        slidesToShow: 2,
404				        slidesToScroll: 2,
405						arrows: sliderButtons,
406						dots: sliderPagination
407				      }
408				    },
409				    {
410				      breakpoint: 800,
411				      settings: {
412				      	autoplay: false,
413				        slidesToShow: 1,
414				        slidesToScroll: 1,
415						arrows: sliderButtons,
416						dots: sliderPagination
417				      }
418				    }
419				  ]
420				});
421			} else if (dataShow == 4) {
422				jQuery(slickwrap).find('.slider-content').slick({
423					autoplay: sliderAutoplay,
424					autoplaySpeed: sliderDuration,
425					pauseOnHover: sliderPauseOnHover,
426					pauseOnFocus: sliderPauseOnHover,
427					accessibility: sliderAccessibility,
428					adaptiveHeight: sliderAdaptiveHeight,
429					arrows: sliderButtons,
430	                prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>',
431	                nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>',
432	                customPaging: function(slider, i) {
433	                    return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1);
434	                },
435					dots: sliderPagination,
436					centerMode: sliderCentermode,
437					speed: transition,
438					slide: 'div',
439					slidesToShow: dataShow,
440					slidesToScroll: dataShow,
441					responsive: [
442				    {
443				      breakpoint: 1550,
444				      settings: {
445						arrows: sliderButtons,
446						dots: sliderPagination
447				      }
448				    },
449				    {
450				      breakpoint: 1400,
451				      settings: {
452				        slidesToShow: 3,
453				        slidesToScroll: 3,
454						arrows: sliderButtons,
455						dots: sliderPagination
456				      }
457				    },
458				    {
459				      breakpoint: 1100,
460				      settings: {
461				      	autoplay: false,
462				        slidesToShow: 2,
463				        slidesToScroll: 2,
464						arrows: sliderButtons,
465						dots: sliderPagination
466				      }
467				    },
468				    {
469				      breakpoint: 800,
470				      settings: {
471				      	autoplay: false,
472				        slidesToShow: 1,
473				        slidesToScroll: 1,
474						arrows: sliderButtons,
475						dots: sliderPagination
476				      }
477				    }
478				  ]
479				});
480			} else if (dataShow == 3) {
481				jQuery(slickwrap).find('.slider-content').slick({
482					autoplay: sliderAutoplay,
483					autoplaySpeed: sliderDuration,
484					pauseOnHover: sliderPauseOnHover,
485					pauseOnFocus: sliderPauseOnHover,
486					accessibility: sliderAccessibility,
487					adaptiveHeight: sliderAdaptiveHeight,
488					arrows: sliderButtons,
489	                prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>',
490	                nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>',
491	                customPaging: function(slider, i) {
492	                    return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1);
493	                },
494					dots: sliderPagination,
495					centerMode: sliderCentermode,
496					speed: transition,
497					slide: 'div',
498					slidesToShow: dataShow,
499					slidesToScroll: dataShow,
500					responsive: [
501				    {
502				      breakpoint: 1550,
503				      settings: {
504						arrows: sliderButtons,
505						dots: sliderPagination
506				      }
507				    },
508				    {
509				      breakpoint: 1100,
510				      settings: {
511				      	autoplay: false,
512				        slidesToShow: 2,
513				        slidesToScroll: 2,
514						arrows: sliderButtons,
515						dots: sliderPagination
516				      }
517				    },
518				    {
519				      breakpoint: 800,
520				      settings: {
521				      	autoplay: false,
522				        slidesToShow: 1,
523				        slidesToScroll: 1,
524						arrows: sliderButtons,
525						dots: sliderPagination
526				      }
527				    }
528				  ]
529				});
530			} else if (dataShow == 2) {
531				jQuery(slickwrap).find('.slider-content').slick({
532					autoplay: sliderAutoplay,
533					autoplaySpeed: sliderDuration,
534					pauseOnHover: sliderPauseOnHover,
535					pauseOnFocus: sliderPauseOnHover,
536					accessibility: sliderAccessibility,
537					adaptiveHeight: sliderAdaptiveHeight,
538					arrows: sliderButtons,
539	                prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>',
540	                nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>',
541	                customPaging: function(slider, i) {
542	                    return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1);
543	                },
544					dots: sliderPagination,
545					centerMode: sliderCentermode,
546					speed: transition,
547					slide: 'div',
548					slidesToShow: dataShow,
549					slidesToScroll: dataShow,
550					responsive: [
551				    {
552				      breakpoint: 1550,
553				      settings: {
554						arrows: sliderButtons,
555						dots: sliderPagination
556				      }
557				    },
558				    {
559				      breakpoint: 800,
560				      settings: {
561				      	autoplay: false,
562				        slidesToShow: 1,
563				        slidesToScroll: 1,
564						arrows: sliderButtons,
565						dots: sliderPagination
566				      }
567	
567			    }
568				  ]
569				});
570			} else if (dataShow == 1) {
571				if (jQuery('body').hasClass('neos-backend')) {
572					var draggable = false;
573				} else {
574					var draggable = true;
575				}
576				jQuery(slickwrap).find('.slider-content').slick({
577					autoplay: sliderAutoplay,
578					autoplaySpeed: sliderDuration,
579					pauseOnHover: sliderPauseOnHover,
580					pauseOnFocus: sliderPauseOnHover,
581					accessibility: sliderAccessibility,
582					adaptiveHeight: sliderAdaptiveHeight,
583					draggable: draggable,
584					arrows: sliderButtons,
585	                prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>',
586	                nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>',
587	                customPaging: function(slider, i) {
588	                    return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1);
589	                },
590					dots: sliderPagination,
591					centerMode: sliderCentermode,
592					speed: transition,
593					slide: 'div',
594					slidesToShow: dataShow,
595					slidesToScroll: dataShow,
596					responsive: [
597				    {
598				      breakpoint: 1550,
599				      settings: {
600						arrows: sliderButtons,
601						dots: sliderPagination
602				      }
603				    },
604				    {
605				      breakpoint: 800,
606				      settings: {
607				      	autoplay: false,
608						arrows: sliderButtons,
609						dots: sliderPagination
610				      }
611				    }
612				  ]
613				});
614			}
615		} else if (jQuery(nextevents).length) {
616			if (dataShow == 5) {
617				jQuery(slickwrap).find('.nextevents .nextevents-events').slick({
618					autoplay: sliderAutoplay,
619					autoplaySpeed: sliderDuration,
620					pauseOnHover: sliderPauseOnHover,
621					pauseOnFocus: sliderPauseOnHover,
622					accessibility: sliderAccessibility,
623					adaptiveHeight: sliderAdaptiveHeight,
624					arrows: sliderButtons,
625	                prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>',
626	                nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>',
627	                customPaging: function(slider, i) {
628	                    return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1);
629	                },
630					dots: sliderPagination,
631					centerMode: sliderCentermode,
632					speed: transition,
633					slide: 'div',
634					slidesToShow: dataShow,
635					slidesToScroll: dataShow,
636					responsive: [
637				    {
638				      breakpoint: 1700,
639				      settings: {
640				        slidesToShow: 4,
641				        slidesToScroll: 4
642				      }
643				    },
644				    {
645				      breakpoint: 1550,
646				      settings: {
647						arrows: sliderButtons,
648						dots: sliderPagination
649				      }
650				    },
651				    {
652				      breakpoint: 1400,
653				      settings: {
654				        slidesToShow: 3,
655				        slidesToScroll: 3,
656						arrows: sliderButtons,
657						dots: sliderPagination
658				      }
659				    },
660				    {
661				      breakpoint: 1100,
662				      settings: {
663				      	autoplay: false,
664				        slidesToShow: 2,
665				        slidesToScroll: 2,
666						arrows: sliderButtons,
667						dots: sliderPagination
668				      }
669				    },
670				    {
671				      breakpoint: 800,
672				      settings: {
673				      	autoplay: false,
674				        slidesToShow: 1,
675				        slidesToScroll: 1,
676						arrows: sliderButtons,
677						dots: sliderPagination
678				      }
679				    }
680				  ]
681				});
682			} else if (dataShow == 4) {
683				jQuery(slickwrap).find('.nextevents .nextevents-events').slick({
684					autoplay: sliderAutoplay,
685					autoplaySpeed: sliderDuration,
686					pauseOnHover: sliderPauseOnHover,
687					pauseOnFocus: sliderPauseOnHover,
688					accessibility: sliderAccessibility,
689					adaptiveHeight: sliderAdaptiveHeight,
690					arrows: sliderButtons,
691	                prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>',
692	                nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>',
693	                customPaging: function(slider, i) {
694	                    return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1);
695	                },
696					dots: sliderPagination,
697					centerMode: sliderCentermode,
698					speed: transition,
699					slide: 'div',
700					slidesToShow: dataShow,
701					slidesToScroll: dataShow,
702					responsive: [
703				    {
704				      breakpoint: 1550,
705				      settings: {
706						arrows: sliderButtons,
707						dots: sliderPagination
708				      }
709				    },
710				    {
711				      breakpoint: 1400,
712				      settings: {
713				        slidesToShow: 3,
714				        slidesToScroll: 3,
715						arrows: sliderButtons,
716						dots: sliderPagination
717				      }
718				    },
719				    {
720				      breakpoint: 1100,
721				      settings: {
722				      	autoplay: false,
723				        slidesToShow: 2,
724				        slidesToScroll: 2,
725						arrows: sliderButtons,
726						dots: sliderPagination
727				      }
728				    },
729				    {
730				      breakpoint: 800,
731				      settings: {
732				      	autoplay: false,
733				        slidesToShow: 1,
734				        slidesToScroll: 1,
735						arrows: sliderButtons,
736						dots: sliderPagination
737				      }
738				    }
739				  ]
740				});
741			} else if (dataShow == 3) {
742				jQuery(slickwrap).find('.nextevents .nextevents-events').slick({
743					autoplay: sliderAutoplay,
744					autoplaySpeed: sliderDuration,
745					pauseOnHover: sliderPauseOnHover,
746					pauseOnFocus: sliderPauseOnHover,
747					accessibility: sliderAccessibility,
748					adaptiveHeight: sliderAdaptiveHeight,
749					arrows: sliderButtons,
750	                prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>',
751	                nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>',
752	                customPaging: function(slider, i) {
753	                    return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1);
754	                },
755					dots: sliderPagination,
756					centerMode: sliderCentermode,
757					speed: transition,
758					slide: 'div',
759					slidesToShow: dataShow,
760					slidesToScroll: dataShow,
761					responsive: [
762				    {
763				      breakpoint: 1550,
764				      settings: {
765						arrows: sliderButtons,
766						dots: sliderPagination
767				      }
768				    },
769				    {
770				      breakpoint: 1100,
771				      settings: {
772				      	autoplay: false,
773				        slidesToShow: 2,
774				        slidesToScroll: 2,
775						arrows: sliderButtons,
776						dots: sliderPagination
777				      }
778				    },
779				    {
780				      breakpoint: 800,
781				      settings: {
782				      	autoplay: false,
783				        slidesToShow: 1,
784				        slidesToScroll: 1,
785						arrows: sliderButtons,
786						dots: sliderPagination
787				      }
788				    }
789				  ]
790				});
791			} else if (dataShow == 2) {
792				jQuery(slickwrap).find('.nextevents .nextevents-events').slick({
793					autoplay: sliderAutoplay,
794					autoplaySpeed: sliderDuration,
795					pauseOnHover: sliderPauseOnHover,
796					pauseOnFocus: sliderPauseOnHover,
797					accessibility: sliderAccessibility,
798					adaptiveHeight: sliderAdaptiveHeight,
799					arrows: sliderButtons,
800	                prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>',
801	                nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>',
802	                customPaging: function(slider, i) {
803	                    return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1);
804	                },
805					dots: sliderPagination,
806					centerMode: sliderCentermode,
807					speed: transition,
808					slide: 'div',
809					slidesToShow: dataShow,
810					slidesToScroll: dataShow,
811					responsive: [
812				    {
813				      breakpoint: 1550,
814				      settings: {
815						arrows: sliderButtons,
816						dots: sliderPagination
817				      }
818				    },
819				    {
820				      breakpoint: 800,
821				      settings: {
822				      	autoplay: false,
823				        slidesToShow: 1,
824				        slidesToScroll: 1,
825						arrows: sliderButtons,
826						dots: sliderPagination
827				      }
828				    }
829				  ]
830				});
831			} else if (dataShow == 1) {
832				jQuery(slickwrap).find('.nextevents .nextevents-events').slick({
833					autoplay: sliderAutoplay,
834					autoplaySpeed: sliderDuration,
835					pauseOnHover: sliderPauseOnHover,
836					pauseOnFocus: sliderPauseOnHover,
837					accessibility: sliderAccessibility,
838					adaptiveHeight: sliderAdaptiveHeight,
839					arrows: sliderButtons,
840	                prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>',
841	                nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>',
842	                customPaging: function(slider, i) {
843	                    return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1);
844	                },
845					dots: sliderPagination,
846					centerMode: sliderCentermode,
847					speed: transition,
848					slide: 'div',
849					slidesToShow: dataShow,
850					slidesToScroll: dataShow,
851					responsive: [
852				    {
853				      breakpoint: 1550,
854				      settings: {
855						arrows: sliderButtons,
856						dots: sliderPagination
857				      }
858				    },
859				    {
860				      breakpoint: 800,
861				      settings: {
862				      	autoplay: false,
863						arrows: sliderButtons,
864						dots: sliderPagination
865				      }
866				    }
867				  ]
868				});
869			} 
870		}
871
872		jQuery(window).resize(function() {
873		  clearTimeout(resizeTimer);
874		  resizeTimer = setTimeout(function() {
875		    slickSettings(); 
876		  }, 1);
877		});
878		slickSettings();
879
880	});
881});

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.