1function getCoords(e, i) { 2 document.getElementById("branches-map"); 3 e = [e, i]; 4 return new google.maps.LatLng(e[0], e[1]) 5} 6 7function loadBranches() { 8 return [{ 9 type: "grey", 10 name: "ORANGE Engineering GmbH & Co. KG", 11 contact_person: "Uwe Michaelis", 12 street: "Bahnhofstr. 8", 13 zip_location: "28816 Stuhr", 14 phone_number: "0421 163355-30", 15 fax_number: "0421 163355-39", 16 mail: "[email protected]", 17 pos: { 18 lat: "53.08111", 19 lng: "8.81081" 20 } 21 }, { 22 type: "grey", 23 name: "ORANGE Engineering GmbH & Co. KG", 24 contact_person: "Jörg Frühling", 25 street: "Vahrenwalder StraÃe 261", 26 zip_location: "30179 Hannover", 27 phone_number: "", 28 mail: "[email protected]", 29 pos: { 30 lat: "52.41433153617949", 31 lng: "9.733275783937803" 32 } 33 }, { 34 type: "grey", 35 name: "ORANGE Engineering GmbH & Co. KG", 36 contact_person: "Jürgen Ganter", 37 street: "EiffestraÃe 80", 38 zip_location: "20537 Hamburg", 39 phone_number: "040 8906609-0", 40 fax_number: "040 8906609-99", 41 mail: "[email protected]", 42 pos: { 43 lat: "53.57425", 44 lng: "10.061438" 45 } 46 }, { 47 type: "grey", 48 name: "ORANGE Engineering GmbH & Co. KG", 49 contact_person: "Hans-Jürgen Pien", 50 street: "KoboldstraÃe 2", 51 zip_location: "24118 Kiel", 52 phone_number: "0431 247026-60", 53 fax_number: "0431 247026-89", 54 mail: "[email protected]", 55 pos: { 56 lat: "54.341406", 57 lng: "10.123221" 58 } 59 }, { 60 type: "orange", 61 name: "ORANGE Ingenieur- und Konstruktionsdienstleistungsgesellschaft mbH & Co. KG", 62 contact_person: "Andreas Pfeil", 63 street: "GewerbestraÃe 19", 64 zip_location: "08115 Lichtentanne bei Zwickau", 65 phone_number: "0375 211834-0", 66 fax_number: "0375 211834-44", 67 mail: "[email protected]", 68 pos: { 69 lat: "50.678025", 70 lng: "12.422405" 71 } 72 }, { 73 type: "orange", 74 name: "ORANGE Ingenieur- und Konstruktionsdienstleistungsgesellschaft mbH & Co. KG", 75 contact_person: "", 76 street: "Grunaer Weg 30", 77 zip_location: "01277 Dresden", 78 phone_number: "0351 205742-0", 79 fax_number: "0351 205742-29", 80 mail: "[email protected]", 81 pos: { 82 lat: "51.028954", 83 lng: "13.778372" 84 } 85 }, { 86 type: "orange", 87 name: "ORANGE Ingenieur- und Konstruktionsdienstleistungsgesellschaft mbH & Co. KG", 88 contact_person: "", 89 street: "BahnhofstraÃe 1", 90 zip_location: "02625 Bautzen", 91 phone_number: "0049 3591 2709828", 92 fax_number: "", 93 mail: "[email protected]", 94 pos: { 95 lat: "51.185813", 96 lng: "14.442556" 97 } 98 }, { 99 type: "orange", 100 name: "ORANGE Ingenieur- und Konstruktionsdienstleistungsgesellschaft mbH & Co. KG", 101 contact_person: "", 102 street: "Karl-Liebknecht-StraÃe 141", 103 zip_location: "04275 Leipzig", 104 phone_number: "0049 341 30824628", 105 fax_number: "", 106 mail: "[email protected]", 107 pos: { 108 lat: "51.315622", 109 lng: "12.373472" 110 } 111 }, { 112 type: "orange", 113 name: "ORANGE Ingenieur- und Konstruktionsdienstleistungsgesellschaft mbH & Co. KG", 114 contact_person: "Antonije Zivanovic", 115 street: "Spandauer Damm 86", 116 zip_location: "14059 Berlin", 117 phone_number: "030 2062174-0", 118 fax_number: "030 2062174-29", 119 mail: "[email protected]", 120 pos: { 121 lat: "52.509510", 122 lng: "13.400412" 123 } 124 }, { 125 type: "grey", 126 name: "ORANGE Technologies B.V.", 127 contact_person: "", 128 street: "Spoorstraat 75", 129 zip_location: "5831 CK Boxmeer, Niederlande", 130 phone_number: "M (NL): +31 85 076 88 55<br>Tel.: M (GER): +31 85 076 88 55", 131 fax_number: "", 132 mail: "[email protected]", 133 pos: { 134 lat: "51.64674817184833", 135 lng: "5.937551568561432" 136 } 137 }] 138} 139 140function loadMarker(i, t, o, s) { 141 var e = new google.maps.MarkerImage(s[t.type].icon), 142 e = (e.size = new google.maps.Size(48, 64), e.anchor = new google.maps.Point(37, 64), new google.maps.Marker({ 143 position: getCoords(t.pos.lat, t.pos.lng), 144 map: i, 145 icon: e, 146 draggable: !1, 147 title: t.name 148 })); 149 google.maps.event.addListener(e, "click", function () { 150 var e = '<div class="branches-window">', 151 e = (e = (e = (e = (e = (e = (e = (e = (e += '<div class="branches-window__area branches-window__area--image">') + ('<img class="branches-window__image" src="' + s[t.type].image + '">') + "</div>") + '<div class="branches-window__area branches-window__area--data">' + ('<h4 class="branches-window__headline">' + t.name + "</h4>")) + ("PAUSED!" === t.contact_person ? '<span class="branches-window__data">' + t.contact_person + "</span>" : "")) + ("" !== t.street ? '<span class="branches-window__data">' + t.street + "</span>" : "")) + ("" !== t.zip_location ? '<span class="branches-window__data">' + t.zip_location + "</span>" : "")) + ("" !== t.phone_number ? '<span class="branches-window__data">
151Tel.: ' + t.phone_number + "</span>" : ""))) + ("" !== t.mail ? '<a class="branches-window__link" href="mailto:' + t.mail + '">' + t.mail + "</a>" : ""); 152 o.setContent(e = e + "</div>" + "</div>"), o.open(i, this) 153 }) 154} 155 156function initMap() { 157 for (var e, i = { 158 grey: { 159 name: "ORANGE Engineering GmbH & Co. KG GmbH & Co. KG", 160 image: templateUrl + "/image/ORANGE-Engineering_b.png", 161 icon: templateUrl + "/image/ORANGE-Engineering.png" 162 }, 163 orange: { 164 name: "ORANGE Ingenieur- und Konstruktionsdienstleistungsgesellschaft mbH & Co. KG", 165 image: templateUrl + "/image/ORANGE-Ingenieur_b.png", 166 icon: templateUrl + "/image/ORANGE-Ingenieur.png" 167 } 168 }, t = "51.090614", o = "10.382207", s = { 169 zoom: 6, 170 scrollwheel: !1, 171 streetViewControl: !1, 172 zoomControl: !0, 173 scaleControl: !1, 174 rotateControl: !1, 175 panControl: !1, 176 mapTypeControl: !1, 177 center: getCoords(t, o), 178 styles: [{ 179 featureType: "all", 180 stylers: [{ 181 hue: "#327ac3" 182 }, { 183 saturation: -100 184 }, { 185 lightness: 0 186 }, { 187 gamma: 1.51 188 }] 189 }], 190 mapTypeId: google.maps.MapTypeId.ROADMAP 191 }, n = document.getElementById("branches-map"), r = new google.maps.Map(n, s), l = new google.maps.InfoWindow, a = loadBranches(), d = 0; e = a[d]; d++) loadMarker(r, e, l, i); 192 var p, c = document.getElementById("branches-legend"); 193 for (p in i) { 194 var u = i[p], 195 h = u.name, 196 u = u.icon, 197 f = document.createElement("div"); 198 f.innerHTML = h + '<img src="' + u + '">', c.appendChild(f) 199 } 200 r.controls[google.maps.ControlPosition.RIGHT_BOTTOM].push(c), google.maps.event.addDomListener(window, "resize", function () { 201 r.setCenter(getCoords(t, o)) 202 }) 203} 204 205function anchorScroll(e) { 206 $("html, body").stop(!1, !0).animate({ 207 scrollTop: e.offset().top 208 }, 1e3) 209} ! function (e) { 210 "use strict"; 211 "function" == typeof define && define.amd ? define(["jquery"], e) : "undefined" != typeof exports ? module.exports = e(require("jquery")) : e(jQuery) 212}(function (d) { 213 "use strict"; 214 var o, r = window.Slick || {}; 215 o = 0, (r = function (e, i) { 216 var t = this; 217 t.defaults = { 218 accessibility: !0, 219 adaptiveHeight: !1, 220 appendArrows: d(e), 221 appendDots: d(e), 222 arrows: !0, 223 asNavFor: null, 224 prevArrow: '<button class="slick-prev" aria-label="Previous" type="button">Previous</button>', 225 nextArrow: '<button class="slick-next" aria-label="Next" type="button">Next</button>', 226 autoplay: !1, 227 autoplaySpeed: 3e3, 228 centerMode: !1, 229 centerPadding: "50px", 230 cssEase: "ease", 231 customPaging: function (e, i) { 232 return d('<button type="button" />').text(i + 1) 233 }, 234 dots: !1, 235 dotsClass: "slick-dots", 236 draggable: !0, 237 easing: "linear", 238 edgeFriction: .35, 239 fade: !1, 240 focusOnSelect: !1, 241 focusOnChange: !1, 242 infinite: !0, 243 initialSlide: 0, 244 lazyLoad: "ondemand", 245 mobileFirst: !1, 246 pauseOnHover: !0, 247 pauseOnFocus: !0, 248 pauseOnDotsHover: !1, 249 respondTo: "window", 250 responsive: null, 251 rows: 1, 252 rtl: !1, 253 slide: "", 254 slidesPerRow: 1, 255 slidesToShow: 1, 256 slidesToScroll: 1, 257 speed: 500, 258 swipe: !0, 259 swipeToSlide: !1, 260 touchMove: !0, 261 touchThreshold: 5, 262 useCSS: !0, 263 useTransform: !0, 264 variableWidth: !1, 265 vertical: !1, 266 verticalSwiping: !1, 267 waitForAnimate: !0, 268 zIndex: 1e3 269 }, t.initials = { 270 animating: !1, 271 dragging: !1, 272 autoPlayTimer: null, 273 currentDirection: 0, 274 currentLeft: null, 275 currentSlide: 0, 276 direction: 1, 277 $dots: null, 278 listWidth: null, 279 listHeight: null, 280 loadIndex: 0, 281 $nextArrow: null, 282 $prevArrow: null, 283 scrolling: !1, 284 slideCount: null, 285 slideWidth: null, 286 $slideTrack: null, 287 $slides: null, 288 sliding: !1, 289 slideOffset: 0, 290 swipeLeft: null, 291 swiping: !1, 292 $list: null, 293 touchObject: {}, 294 transformsEnabled: !1, 295 unslicked: !1 296 }, d.extend(t, t.initials), t.activeBreakpoint = null, t.animType = null, t.animProp = null, t.breakpoints = [], t.breakpointSettings = [], t.cssTransitions = !1, t.focussed = !1, t.interrupted = !1, t.hidden = "hidden", t.paused = !0, t.positionProp = null, t.respondTo = null, t.rowCount = 1, t.shouldClick = !0, t.$slider = d(e), t.$slidesCache = null, t.transformType = null, t.transitionType = null, t.visibilityChange = "visibilitychange", t.windowWidth = 0, t.windowTimer = null, e = d(e).data("slick") || {}, t.options = d.extend({}, t.defaults, i, e), t.currentSlide = t.options.initialSlide, t.originalSettings = t.options, void 0 !== document.mozHidden ? (t.hidden = "mozHidden", t.visibilityChange = "mozvisibilitychange") : void 0 !== document.webkitHidden && (t.hidden = "webkitHidden", t.visibilityChange = "webkitvisibilitychange"), t.autoPlay = d.proxy(t.autoPlay, t), t.autoPlayClear = d.proxy(t.autoPlayClear, t), t.autoPlayIterator = d.proxy(t.autoPlayIterator, t), t.changeSlide = d.proxy(t.changeSlide, t), t.clickHandler = d.proxy(t.clickHandler, t), t.selectHandler = d.proxy(t.selectHandler, t), t.setPosition = d.proxy(t.setPosition, t), t.swipeHandler = d.proxy(t.swipeHandler, t), t.dragHandler = d.proxy(t.dragHandler, t), t.keyHandler = d.proxy(t.keyHandler, t), t.instanceUid = o++, t.htmlExpr = /^(?:\s*(<[\w\W]+>)[^>]*)$/, t.registerBreakpoints(), t.init(!0) 297 }).prototype.activateADA = function () { 298 this.$slideTrack.find(".slick-active").attr({ 299 "aria-hidden": "false" 300 }).find("a, input, button, select").attr({ 301 tabindex: "0" 302 }) 303 }, r.prototype.addSlide = r.prototype.slickAdd = function (e, i, t) { 304 var o = this; 305 if ("boolean" == typeof i) t = i, i = null; 306 else if (i < 0 || i >= o.slideCount) return !1; 307 o.unload(), "number" == typeof i ? 0 === i && 0 === o.$slides.length ? d(e).appendTo(o.$slideTrack) : t ? d(e).insertBefore(o.$slides.eq(i)) : d(e).insertAfter(o.$slides.eq(i)) : !0 === t ? d(e).prependTo(o.$slideTrack) : d(e).appendTo(o.$slideTrack), o.$slides = o.$slideTrack.children(this.options.slide), o.$slideTrack.children(this.options.slide).detach(), o.$slideTrack.append(o.$slides), o.$slides.each(function (e, i) { 308 d(i).attr("data-slick-index", e) 309 }), o.$slidesCache = o.$slides, o.reinit() 310 }, r.prototype.animateHeight = function () { 311 var e, i = this; 312 1 === i.options.slidesToShow && !0 === i.options.adaptiveHeight && !1 === i.options.vertical && (e = i.$slides.eq(i.currentSlide).outerHeight(!0), i.$list.animate({ 313 height: e 314 }, i.options.speed)) 315 }, r.prototype.animateSlide = function (e, i) { 316 var t = {}, 317 o = this; 318 o.animateHeight(), !0 === o.options.rtl && !1 === o.options.vertical && (e = -e), !1 === o.transformsEnabled ? !1 === o.options.vertical ? o.$slideTrack.animate({ 319 left: e 320 }, o.options.speed, o.options.easing, i) : o.$slideTrack.animate({ 321 top: e 322 }, o.options.speed, o.options.easing, i) : !1 === o.cssTransitions ? (!0 === o.options.rtl && (o.currentLeft = -o.currentLeft), d({ 323 animStart: o.currentLeft 324 }).animate({ 325 animStart: e
vendor: 8,070 bytes, lines 326-438
326 }, { 327 duration: o.options.speed, 328 easing: o.options.easing, 329 step: function (e) { 330 e = Math.ceil(e), !1 === o.options.vertical ? t[o.animType] = "translate(" + e + "px, 0px)" : t[o.animType] = "translate(0px," + e + "px)", o.$slideTrack.css(t) 331 }, 332 complete: function () { 333 i && i.call() 334 } 335 })) : (o.applyTransition(), e = Math.ceil(e), !1 === o.options.vertical ? t[o.animType] = "translate3d(" + e + "px, 0px, 0px)" : t[o.animType] = "translate3d(0px," + e + "px, 0px)", o.$slideTrack.css(t), i && setTimeout(function () { 336 o.disableTransition(), i.call() 337 }, o.options.speed)) 338 }, r.prototype.getNavTarget = function () { 339 var e = this.options.asNavFor; 340 return e = e && null !== e ? d(e).not(this.$slider) : e 341 }, r.prototype.asNavFor = function (i) { 342 var e = this.getNavTarget(); 343 null !== e && "object" == typeof e && e.each(function () { 344 var e = d(this).slick("getSlick"); 345 e.unslicked || e.slideHandler(i, !0) 346 }) 347 }, r.prototype.applyTransition = function (e) { 348 var i = this, 349 t = {}; 350 !1 === i.options.fade ? t[i.transitionType] = i.transformType + " " + i.options.speed + "ms " + i.options.cssEase : t[i.transitionType] = "opacity " + i.options.speed + "ms " + i.options.cssEase, (!1 === i.options.fade ? i.$slideTrack : i.$slides.eq(e)).css(t) 351 }, r.prototype.autoPlay = function () { 352 var e = this; 353 e.autoPlayClear(), e.slideCount > e.options.slidesToShow && (e.autoPlayTimer = setInterval(e.autoPlayIterator, e.options.autoplaySpeed)) 354 }, r.prototype.autoPlayClear = function () { 355 this.autoPlayTimer && clearInterval(this.autoPlayTimer) 356 }, r.prototype.autoPlayIterator = function () { 357 var e = this, 358 i = e.currentSlide + e.options.slidesToScroll; 359 e.paused || e.interrupted || e.focussed || (!1 === e.options.infinite && (1 === e.direction && e.currentSlide + 1 === e.slideCount - 1 ? e.direction = 0 : 0 === e.direction && (i = e.currentSlide - e.options.slidesToScroll, e.currentSlide - 1 == 0) && (e.direction = 1)), e.slideHandler(i)) 360 }, r.prototype.buildArrows = function () { 361 var e = this; 362 !0 === e.options.arrows && (e.$prevArrow = d(e.options.prevArrow).addClass("slick-arrow"), e.$nextArrow = d(e.options.nextArrow).addClass("slick-arrow"), e.slideCount > e.options.slidesToShow ? (e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"), e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"), e.htmlExpr.test(e.options.prevArrow) && e.$prevArrow.prependTo(e.options.appendArrows), e.htmlExpr.test(e.options.nextArrow) && e.$nextArrow.appendTo(e.options.appendArrows), !0 !== e.options.infinite && e.$prevArrow.addClass("slick-disabled").attr("aria-disabled", "true")) : e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({ 363 "aria-disabled": "true", 364 tabindex: "-1" 365 })) 366 }, r.prototype.buildDots = function () { 367 var e, i, t = this; 368 if (!0 === t.options.dots && t.slideCount > t.options.slidesToShow) { 369 for (t.$slider.addClass("slick-dotted"), i = d("<ul />").addClass(t.options.dotsClass), e = 0; e <= t.getDotCount(); e += 1) i.append(d("<li />").append(t.options.customPaging.call(this, t, e))); 370 t.$dots = i.appendTo(t.options.appendDots), t.$dots.find("li").first().addClass("slick-active") 371 } 372 }, r.prototype.buildOut = function () { 373 var e = this; 374 e.$slides = e.$slider.children(e.options.slide + ":not(.slick-cloned)").addClass("slick-slide"), e.slideCount = e.$slides.length, e.$slides.each(function (e, i) { 375 d(i).attr("data-slick-index", e).data("originalStyling", d(i).attr("style") || "") 376 }), e.$slider.addClass("slick-slider"), e.$slideTrack = 0 === e.slideCount ? d('<div class="slick-track"/>').appendTo(e.$slider) : e.$slides.wrapAll('<div class="slick-track"/>').parent(), e.$list = e.$slideTrack.wrap('<div class="slick-list"/>').parent(), e.$slideTrack.css("opacity", 0), !0 !== e.options.centerMode && !0 !== e.options.swipeToSlide || (e.options.slidesToScroll = 1), d("img[data-lazy]", e.$slider).not("[src]").addClass("slick-loading"), e.setupInfinite(), e.buildArrows(), e.buildDots(), e.updateDots(), e.setSlideClasses("number" == typeof e.currentSlide ? e.currentSlide : 0), !0 === e.options.draggable && e.$list.addClass("draggable") 377 }, r.prototype.buildRows = function () { 378 var e, i, t, o = this, 379 s = document.createDocumentFragment(), 380 n = o.$slider.children(); 381 if (0 < o.options.rows) { 382 for (t = o.options.slidesPerRow * o.options.rows, i = Math.ceil(n.length / t), e = 0; e < i; e++) { 383 for (var r = document.createElement("div"), l = 0; l < o.options.rows; l++) { 384 for (var a = document.createElement("div"), d = 0; d < o.options.slidesPerRow; d++) { 385 var p = e * t + (l * o.options.slidesPerRow + d); 386 n.get(p) && a.appendChild(n.get(p)) 387 } 388 r.appendChild(a) 389 } 390 s.appendChild(r) 391 } 392 o.$slider.empty().append(s), o.$slider.children().children().children().css({ 393 width: 100 / o.options.slidesPerRow + "%", 394 display: "inline-block" 395 }) 396 } 397 }, r.prototype.checkResponsive = function (e, i) { 398 var t, o, s, n = this, 399 r = !1, 400 l = n.$slider.width(), 401 a = window.innerWidth || d(window).width(); 402 if ("window" === n.respondTo ? s = a : "slider" === n.respondTo ? s = l : "min" === n.respondTo && (s = Math.min(a, l)), n.options.responsive && n.options.responsive.length && null !== n.options.responsive) { 403 for (t in o = null, n.breakpoints) n.breakpoints.hasOwnProperty(t) && (!1 === n.originalSettings.mobileFirst ? s < n.breakpoints[t] && (o = n.breakpoints[t]) : s > n.breakpoints[t] && (o = n.breakpoints[t])); 404 null !== o ? null !== n.activeBreakpoint && o === n.activeBreakpoint && !i || (n.activeBreakpoint = o, "unslick" === n.breakpointSettings[o] ? n.unslick(o) : (n.options = d.extend({}, n.originalSettings, n.breakpointSettings[o]), !0 === e && (n.currentSlide = n.options.initialSlide), n.refresh(e)), r = o) : null !== n.activeBreakpoint && (n.activeBreakpoint = null, n.options = n.originalSettings, !0 === e && (n.currentSlide = n.options.initialSlide), n.refresh(e), r = o), e || !1 === r || n.$slider.trigger("breakpoint", [n, r]) 405 } 406 }, r.prototype.changeSlide = function (e, i) { 407 var t, o = this, 408 s = d(e.currentTarget); 409 switch (s.is("a") && e.preventDefault(), s.is("li") || (s = s.closest("li")), t = o.slideCount % o.options.slidesToScroll != 0 ? 0 : (o.slideCount - o.currentSlide) % o.options.slidesToScroll, e.data.message) { 410 case "previous": 411 n = 0 == t ? o.options.slidesToScroll : o.options.slidesToShow - t, o.slideCount > o.options.slidesToShow && o.slideHandler(o.currentSlide - n, !1, i); 412 break; 413 case "next": 414 n = 0 == t ? o.options.slidesToScroll : t, o.slideCount > o.options.slidesToShow && o.slideHandler(o.currentSlide + n, !1, i); 415 break; 416 case "index": 417 var n = 0 === e.data.index ? 0 : e.data.index || s.index() * o.options.slidesToScroll; 418 o.slideHandler(o.checkNavigable(n), !1, i), s.children().trigger("focus"); 419 break; 420 default: 421 return 422 } 423 }, r.prototype.checkNavigable = function (e) { 424 var i = this.getNavigableIndexes(), 425 t = 0; 426 if (e > i[i.length - 1]) e = i[i.length - 1]; 427 else 428 for (var o in i) { 429 if (e < i[o]) { 430 e = t; 431 break 432 } 433 t = i[o] 434 } 435 return e 436 }, r.prototype.cleanUpEvents = function () { 437 var e = this; 438 e.options.dots && null !== e.$dots && (d("li", e.$dots).off("click.slick", e.changeSlide).off("mouseenter.slick", d.proxy(e.interrupt, e, !0)).off("mouseleave.
438slick", d.proxy(e.interrupt, e, !1)), !0 === e.options.accessibility) && e.$dots.off("keydown.slick", e.keyHandler), e.$slider.off("focus.slick blur.slick"), !0 === e.options.arrows && e.slideCount > e.options.slidesToShow && (e.$prevArrow && e.$prevArrow.off("click.slick", e.changeSlide), e.$nextArrow && e.$nextArrow.off("click.slick", e.changeSlide), !0 === e.options.accessibility) && (e.$prevArrow && e.$prevArrow.off("keydown.slick", e.keyHandler), e.$nextArrow) && e.$nextArrow.off("keydown.slick", e.keyHandler), e.$list.off("touchstart.slick mousedown.slick", e.swipeHandler), e.$list.off("touchmove.slick mousemove.slick", e.swipeHandler), e.$list.off("touchend.slick mouseup.slick", e.swipeHandler), e.$list.off("touchcancel.slick mouseleave.slick", e.swipeHandler), e.$list.off("click.slick", e.clickHandler), d(document).off(e.visibilityChange, e.visibility), e.cleanUpSlideEvents(), !0 === e.options.accessibility && e.$list.off("keydown.slick", e.keyHandler), !0 === e.options.focusOnSelect && d(e.$slideTrack).children().off("click.slick", e.selectHandler), d(window).off("orientationchange.slick.slick-" + e.instanceUid, e.orientationChange), d(window).off("resize.slick.slick-" + e.instanceUid, e.resize), d("[draggable!=true]", e.$slideTrack).off("dragstart", e.preventDefault), d(window).off("load.slick.slick-" + e.instanceUid, e.setPosition) 439 }, r.prototype.cleanUpSlideEvents = function () { 440 var e = this; 441 e.$list.off("mouseenter.slick", d.proxy(e.interrupt, e, !0)), e.$list.off("mouseleave.slick", d.proxy(e.interrupt, e, !1)) 442 }, r.prototype.cleanUpRows = function () { 443 var e; 444 0 < this.options.rows && ((e = this.$slides.children().children()).removeAttr("style"), this.$slider.empty().append(e)) 445 }, r.prototype.clickHandler = function (e) { 446 !1 === this.shouldClick && (e.stopImmediatePropagation(), e.stopPropagation(), e.preventDefault()) 447 }, r.prototype.destroy = function (e) { 448 var i = this; 449 i.autoPlayClear(), i.touchObject = {}, i.cleanUpEvents(), d(".slick-cloned", i.$slider).detach(), i.$dots && i.$dots.remove(), i.$prevArrow && i.$prevArrow.length && (i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display", ""), i.htmlExpr.test(i.options.prevArrow)) && i.$prevArrow.remove(), i.$nextArrow && i.$nextArrow.length && (i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display", ""), i.htmlExpr.test(i.options.nextArrow)) && i.$nextArrow.remove(), i.$slides && (i.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function () { 450 d(this).attr("style", d(this).data("originalStyling")) 451 }), i.$slideTrack.children(this.options.slide).detach(), i.$slideTrack.detach(), i.$list.detach(), i.$slider.append(i.$slides)), i.cleanUpRows(), i.$slider.removeClass("slick-slider"), i.$slider.removeClass("slick-initialized"), i.$slider.removeClass("slick-dotted"), i.unslicked = !0, e || i.$slider.trigger("destroy", [i]) 452 }, r.prototype.disableTransition = function (e) { 453 var i = {}; 454 i[this.transitionType] = "", (!1 === this.options.fade ? this.$slideTrack : this.$slides.eq(e)).css(i) 455 }, r.prototype.fadeSlide = function (e, i) { 456 var t = this; 457 !1 === t.cssTransitions ? (t.$slides.eq(e).css({ 458 zIndex: t.options.zIndex 459 }), t.$slides.eq(e).animate({ 460 opacity: 1 461 }, t.options.speed, t.options.easing, i)) : (t.applyTransition(e), t.$slides.eq(e).css({ 462 opacity: 1, 463 zIndex: t.options.zIndex 464 }), i && setTimeout(function () { 465 t.disableTransition(e), i.call() 466 }, t.options.speed)) 467 }, r.prototype.fadeSlideOut = function (e) { 468 var i = this; 469 !1 === i.cssTransitions ? i.$slides.eq(e).animate({ 470 opacity: 0, 471 zIndex: i.options.zIndex - 2 472 }, i.options.speed, i.options.easing) : (i.applyTransition(e), i.$slides.eq(e).css({ 473 opacity: 0, 474 zIndex: i.options.zIndex - 2 475 })) 476 }
476, r.prototype.filterSlides = r.prototype.slickFilter = function (e) { 477 var i = this; 478 null !== e && (i.$slidesCache = i.$slides, i.unload(), i.$slideTrack.children(this.options.slide).detach(), i.$slidesCache.filter(e).appendTo(i.$slideTrack), i.reinit()) 479 }, r.prototype.focusHandler = function () { 480 var t = this; 481 t.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick", "*", function (e) { 482 e.stopImmediatePropagation(); 483 var i = d(this); 484 setTimeout(function () { 485 t.options.pauseOnFocus && (t.focussed = i.is(":focus"), t.autoPlay()) 486 }, 0) 487 }) 488 }, r.prototype.getCurrent = r.prototype.slickCurrentSlide = function () { 489 return this.currentSlide 490 }, r.prototype.getDotCount = function () { 491 var e = this, 492 i = 0, 493 t = 0, 494 o = 0; 495 if (!0 === e.options.infinite) 496 if (e.slideCount <= e.options.slidesToShow) ++o; 497 else 498 for (; i < e.slideCount;) ++o, i = t + e.options.slidesToScroll, t += e.options.slidesToScroll <= e.options.slidesToShow ? e.options.slidesToScroll : e.options.slidesToShow; 499 else if (!0 === e.options.centerMode) o = e.slideCount; 500 else if (e.options.asNavFor) 501 for (; i < e.slideCount;) ++o, i = t + e.options.slidesToScroll, t += e.options.slidesToScroll <= e.options.slidesToShow ? e.options.slidesToScroll : e.options.slidesToShow; 502 else o = 1 + Math.ceil((e.slideCount - e.options.slidesToShow) / e.options.slidesToScroll); 503 return o - 1 504 }, r.prototype.getLeft = function (e) { 505 var i, t, o = this, 506 s = 0; 507 return o.slideOffset = 0, i = o.$slides.first().outerHeight(!0), !0 === o.options.infinite ? (o.slideCount > o.options.slidesToShow && (o.slideOffset = o.slideWidth * o.options.slidesToShow * -1, t = -1, !0 === o.options.vertical && !0 === o.options.centerMode && (2 === o.options.slidesToShow ? t = -1.5 : 1 === o.options.slidesToShow && (t = -2)), s = i * o.options.slidesToShow * t), o.slideCount % o.options.slidesToScroll != 0 && e + o.options.slidesToScroll > o.slideCount && o.slideCount > o.options.slidesToShow && (s = e > o.slideCount ? (o.slideOffset = (o.options.slidesToShow - (e - o.slideCount)) * o.slideWidth * -1, (o.options.slidesToShow - (e - o.slideCount)) * i * -1) : (o.slideOffset = o.slideCount % o.options.slidesToScroll * o.slideWidth * -1, o.slideCount % o.options.slidesToScroll * i * -1))) : e + o.options.slidesToShow > o.slideCount && (o.slideOffset = (e + o.options.slidesToShow - o.slideCount) * o.slideWidth, s = (e + o.options.slidesToShow - o.slideCount) * i), o.slideCount <= o.options.slidesToShow && (s = o.slideOffset = 0), !0 === o.options.centerMode && o.slideCount <= o.options.slidesToShow ? o.slideOffset = o.slideWidth * Math.floor(o.options.slidesToShow) / 2 - o.slideWidth * o.slideCount / 2 : !0 === o.options.centerMode && !0 === o.options.infinite ? o.slideOffset += o.slideWidth * Math.floor(o.options.slidesToShow / 2) - o.slideWidth : !0 === o.options.centerMode && (o.slideOffset = 0, o.slideOffset += o.slideWidth * Math.floor(o.options.slidesToShow / 2)), t = !1 === o.options.vertical ? e * o.slideWidth * -1 + o.slideOffset : e * i * -1 + s, !0 === o.options.variableWidth && (i = o.slideCount <= o.options.slidesToShow || !1 === o.options.infinite ? o.$slideTrack.children(".slick-slide").eq(e) : o.$slideTrack.children(".slick-slide").eq(e + o.options.slidesToShow), t = !0 === o.options.rtl ? i[0] ? -1 * (o.$slideTrack.width() - i[0].offsetLeft - i.width()) : 0 : i[0] ? -1 * i[0].offsetLeft : 0, !0 === o.options.centerMode) && (i = o.slideCount <= o.options.slidesToShow || !1 === o.options.infinite ? o.$slideTrack.children(".slick-slide").eq(e) : o.$slideTrack.children(".slick-slide").eq(e + o.options.slidesToShow + 1), t = !0 === o.options.rtl ? i[0] ? -1 * (o.$slideTrack.width() - i[0].offsetLeft - i.width()) : 0 : i[0] ? -1 * i[0].offsetLeft : 0, t += (o.$list.width() - i.outerWidth()) / 2), t 508 }, r.prototype.getOption = r.prototype.slickGetOption = function (e) { 509 return this.options[e] 510 }, r.prototype.getNavigableIndexes = function () { 511 for (var e = this, i = 0, t = 0, o = [], s = !1 === e.options.infinite ? e.slideCount : (i = -1 * e.options.slidesToScroll, t = -1 * e.options.slidesToScroll, 2 * e.slideCount); i < s;) o.push(i), i = t + e.options.slidesToScroll, t += e.options.slidesToScroll <= e.options.slidesToShow ? e.options.slidesToScroll : e.options.slidesToShow; 512 return o 513 }, r.prototype.getSlick = function () { 514 return this 515 }, r.prototype.getSlideCount = function () { 516 var t, o = this, 517 s = !0 === o.options.centerMode ? o.slideWidth * Math.floor(o.options.slidesToShow / 2) : 0; 518 return !0 === o.options.swipeToSlide ? (o.$slideTrack.find(".slick-slide").each(function (e, i) { 519 if (i.offsetLeft - s + d(i).outerWidth() / 2 > -1 * o.swipeLeft) return t = i, !1 520 }), Math.abs(d(t).attr("data-slick-index") - o.currentSlide) || 1) : o.options.slidesToScroll 521 }, r.prototype.goTo = r.prototype.slickGoTo = function (e, i) { 522 this.changeSlide({ 523 data: { 524 message: "index", 525 index: parseInt(e) 526 } 527 }, i) 528 }, r.prototype.init = function (e) { 529 var i = this; 530 d(i.$slider).hasClass("slick-initialized") || (d(i.$slider).addClass("slick-initialized"), i.buildRows(), i.buildOut(), i.setProps(), i.startLoad(), i.loadSlider(), i.initializeEvents(), i.updateArrows(), i.updateDots(), i.checkResponsive(!0), i.focusHandler()), e && i.$slider.trigger("init", [i]), !0 === i.options.accessibility && i.initADA(), i.options.autoplay && (i.paused = !1, i.autoPlay()) 531 }, r.prototype.initADA = function () { 532 var t = this, 533 o = Math.ceil(t.slideCount / t.options.slidesToShow), 534 s = t.getNavigableIndexes().filter(function (e) { 535 return 0 <= e && e < t.slideCount 536 }); 537 t.$slides.add(t.$slideTrack.find(".slick-cloned")).attr({ 538 "aria-hidden": "true", 539 tabindex: "-1" 540 }).find("a, input, button, select").attr({ 541 tabindex: "-1" 542 }), null !== t.$dots && (t.$slides.not(t.$slideTrack.find(".slick-cloned")).each(function (e) { 543 var i = s.indexOf(e); 544 d(this).attr({ 545 role: "tabpanel", 546 id: "slick-slide" + t.instanceUid + e, 547 tabindex: -1 548 }), -1 !== i && (e = "slick-slide-control" + t.instanceUid + i, d("#" + e).length) && d(this).attr({ 549 "aria-describedby": e 550 }) 551 }), t.$dots.attr("role", "tablist").find("li").each(function (e) { 552 var i = s[e]; 553 d(this).attr({ 554 role: "presentation" 555 }), d(this).find("button").first().attr({ 556 role: "tab", 557 id: "slick-slide-control" + t.instanceUid + e, 558 "aria-controls": "slick-slide" + t.instanceUid + i, 559 "aria-label": e + 1 + " of " + o, 560 "aria-selected": null, 561 tabindex: "-1" 562 }) 563 }).eq(t.currentSlide).find("button").attr({ 564 "aria-selected": "true", 565 tabindex: "0" 566 }).end()); 567 for (var e = t.currentSlide, i = e + t.options.slidesToShow; e < i; e++) t.options.focusOnChange ? t.$slides.eq(e).attr({ 568 tabindex: "0" 569 }) : t.$slides.eq(e).removeAttr("tabindex"); 570 t.activateADA() 571 }, r.prototype.initArrowEvents = function () { 572 var e = this; 573 !0 === e.options.arrows && e.slideCount > e.options.slidesToShow && (e.$prevArrow.off("click.slick").on("click.slick", { 574 message: "previous" 575 }, e.changeSlide), e.$nextArrow.off("click.slick").on("click.slick", { 576 message: "next" 577 }, e.changeSlide), !0 === e.options.accessibility) && (e.$prevArrow.on("keydown.slick", e.keyHandler), e.$nextArrow.on("keydown.slick", e.keyHandler)) 578 }, r.prototype.initDotEvents = function () { 579 var e = this; 580 !0 === e.options.dots && e.slideCount > e.options.slidesToShow && (d("li", e.$dots).on("click.slick", { 581 message: "index" 582 }, e.changeSlide), !0 === e.options.accessibility) && e.$dots.on("keydown.slick", e.keyHandler), !0 === e.options.dots && !0 === e.options.pauseOnDotsHover && e.slideCount > e.options.slidesToShow && d("li", e.$dots).on("mouseenter.slick", d.proxy(e.interrupt, e, !0)).on("mouseleave.
vendor: 12,129 bytes, lines 582-751
582slick", d.proxy(e.interrupt, e, !1)) 583 }, r.prototype.initSlideEvents = function () { 584 var e = this; 585 e.options.pauseOnHover && (e.$list.on("mouseenter.slick", d.proxy(e.interrupt, e, !0)), e.$list.on("mouseleave.slick", d.proxy(e.interrupt, e, !1))) 586 }, r.prototype.initializeEvents = function () { 587 var e = this; 588 e.initArrowEvents(), e.initDotEvents(), e.initSlideEvents(), e.$list.on("touchstart.slick mousedown.slick", { 589 action: "start" 590 }, e.swipeHandler), e.$list.on("touchmove.slick mousemove.slick", { 591 action: "move" 592 }, e.swipeHandler), e.$list.on("touchend.slick mouseup.slick", { 593 action: "end" 594 }, e.swipeHandler), e.$list.on("touchcancel.slick mouseleave.slick", { 595 action: "end" 596 }, e.swipeHandler), e.$list.on("click.slick", e.clickHandler), d(document).on(e.visibilityChange, d.proxy(e.visibility, e)), !0 === e.options.accessibility && e.$list.on("keydown.slick", e.keyHandler), !0 === e.options.focusOnSelect && d(e.$slideTrack).children().on("click.slick", e.selectHandler), d(window).on("orientationchange.slick.slick-" + e.instanceUid, d.proxy(e.orientationChange, e)), d(window).on("resize.slick.slick-" + e.instanceUid, d.proxy(e.resize, e)), d("[draggable!=true]", e.$slideTrack).on("dragstart", e.preventDefault), d(window).on("load.slick.slick-" + e.instanceUid, e.setPosition), d(e.setPosition) 597 }, r.prototype.initUI = function () { 598 var e = this; 599 !0 === e.options.arrows && e.slideCount > e.options.slidesToShow && (e.$prevArrow.show(), e.$nextArrow.show()), !0 === e.options.dots && e.slideCount > e.options.slidesToShow && e.$dots.show() 600 }, r.prototype.keyHandler = function (e) { 601 var i = this; 602 e.target.tagName.match("TEXTAREA|INPUT|SELECT") || (37 === e.keyCode && !0 === i.options.accessibility ? i.changeSlide({ 603 data: { 604 message: !0 === i.options.rtl ? "next" : "previous" 605 } 606 }) : 39 === e.keyCode && !0 === i.options.accessibility && i.changeSlide({ 607 data: { 608 message: !0 === i.options.rtl ? "previous" : "next" 609 } 610 })) 611 }, r.prototype.lazyLoad = function () { 612 var e, i, t, n = this; 613 614 function o(e) { 615 d("img[data-lazy]", e).each(function () { 616 var e = d(this), 617 i = d(this).attr("data-lazy"), 618 t = d(this).attr("data-srcset"), 619 o = d(this).attr("data-sizes") || n.$slider.attr("data-sizes"), 620 s = document.createElement("img"); 621 s.onload = function () { 622 e.animate({ 623 opacity: 0 624 }, 100, function () { 625 t && (e.attr("srcset", t), o) && e.attr("sizes", o), e.attr("src", i).animate({ 626 opacity: 1 627 }, 200, function () { 628 e.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading") 629 }), n.$slider.trigger("lazyLoaded", [n, e, i]) 630 }) 631 }, s.onerror = function () { 632 e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"), n.$slider.trigger("lazyLoadError", [n, e, i]) 633 }, s.src = i 634 }) 635 } 636 if (!0 === n.options.centerMode ? t = !0 === n.options.infinite ? (i = n.currentSlide + (n.options.slidesToShow / 2 + 1)) + n.options.slidesToShow + 2 : (i = Math.max(0, n.currentSlide - (n.options.slidesToShow / 2 + 1)), n.options.slidesToShow / 2 + 1 + 2 + n.currentSlide) : (i = n.options.infinite ? n.options.slidesToShow + n.currentSlide : n.currentSlide, t = Math.ceil(i + n.options.slidesToShow), !0 === n.options.fade && (0 < i && i--, t <= n.slideCount) && t++), e = n.$slider.find(".slick-slide").slice(i, t), "anticipated" === n.options.lazyLoad) 637 for (var s = i - 1, r = t, l = n.$slider.find(".slick-slide"), a = 0; a < n.options.slidesToScroll; a++) s < 0 && (s = n.slideCount - 1), e = (e = e.add(l.eq(s))).add(l.eq(r)), s--, r++; 638 o(e), n.slideCount <= n.options.slidesToShow ? o(n.$slider.find(".slick-slide")) : n.currentSlide >= n.slideCount - n.options.slidesToShow ? o(n.$slider.find(".slick-cloned").slice(0, n.options.slidesToShow)) : 0 === n.currentSlide && o(n.$slider.find(".slick-cloned").slice(-1 * n.options.slidesToShow)) 639 }, r.prototype.loadSlider = function () { 640 var e = this; 641 e.setPosition(), e.$slideTrack.css({ 642 opacity: 1 643 }), e.$slider.removeClass("slick-loading"), e.initUI(), "progressive" === e.options.lazyLoad && e.progressiveLazyLoad() 644 }, r.prototype.next = r.prototype.slickNext = function () { 645 this.changeSlide({ 646 data: { 647 message: "next" 648 } 649 }) 650 }, r.prototype.orientationChange = function () { 651 this.checkResponsive(), this.setPosition() 652 }, r.prototype.pause = r.prototype.slickPause = function () { 653 this.autoPlayClear(), this.paused = !0 654 }, r.prototype.play = r.prototype.slickPlay = function () { 655 var e = this; 656 e.autoPlay(), e.options.autoplay = !0, e.paused = !1, e.focussed = !1, e.interrupted = !1 657 }, r.prototype.postSlide = function (e) { 658 var i = this; 659 i.unslicked || (i.$slider.trigger("afterChange", [i, e]), i.animating = !1, i.slideCount > i.options.slidesToShow && i.setPosition(), i.swipeLeft = null, i.options.autoplay && i.autoPlay(), !0 === i.options.accessibility && (i.initADA(), i.options.focusOnChange) && d(i.$slides.get(i.currentSlide)).attr("tabindex", 0).focus()) 660 }, r.prototype.prev = r.prototype.slickPrev = function () { 661 this.changeSlide({ 662 data: { 663 message: "previous" 664 } 665 }) 666 }, r.prototype.preventDefault = function (e) { 667 e.preventDefault() 668 }, r.prototype.progressiveLazyLoad = function (e) { 669 e = e || 1; 670 var i, t, o, s, n = this, 671 r = d("img[data-lazy]", n.$slider); 672 r.length ? (i = r.first(), t = i.attr("data-lazy"), o = i.attr("data-srcset"), s = i.attr("data-sizes") || n.$slider.attr("data-sizes"), (r = document.createElement("img")).onload = function () { 673 o && (i.attr("srcset", o), s) && i.attr("sizes", s), i.attr("src", t).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"), !0 === n.options.adaptiveHeight && n.setPosition(), n.$slider.trigger("lazyLoaded", [n, i, t]), n.progressiveLazyLoad() 674 }, r.onerror = function () { 675 e < 3 ? setTimeout(function () { 676 n.progressiveLazyLoad(e + 1) 677 }, 500) : (i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"), n.$slider.trigger("lazyLoadError", [n, i, t]), n.progressiveLazyLoad()) 678 }, r.src = t) : n.$slider.trigger("allImagesLoaded", [n]) 679 }, r.prototype.refresh = function (e) { 680 var i = this, 681 t = i.slideCount - i.options.slidesToShow; 682 !i.options.infinite && i.currentSlide > t && (i.currentSlide = t), i.slideCount <= i.options.slidesToShow && (i.currentSlide = 0), t = i.currentSlide, i.destroy(!0), d.extend(i, i.initials, { 683 currentSlide: t 684 }), i.init(), e || i.changeSlide({ 685 data: { 686 message: "index", 687 index: t 688 } 689 }, !1) 690 }, r.prototype.registerBreakpoints = function () { 691 var e, i, t, o = this, 692 s = o.options.responsive || null; 693 if ("array" === d.type(s) && s.length) { 694 for (e in o.respondTo = o.options.respondTo || "window", s) 695 if (t = o.breakpoints.length - 1, s.hasOwnProperty(e)) { 696 for (i = s[e].breakpoint; 0 <= t;) o.breakpoints[t] && o.breakpoints[t] === i && o.breakpoints.splice(t, 1), t--; 697 o.breakpoints.push(i), o.breakpointSettings[i] = s[e].settings 698 } o.breakpoints.sort(function (e, i) { 699 return o.options.mobileFirst ? e - i : i - e 700 }) 701 } 702 }, r.prototype.reinit = function () { 703 var e = this; 704 e.$slides = e.$slideTrack.children(e.options.slide).addClass("slick-slide"), e.slideCount = e.$slides.length, e.currentSlide >= e.slideCount && 0 !== e.currentSlide && (e.currentSlide = e.currentSlide - e.options.slidesToScroll), e.slideCount <= e.options.slidesToShow && (e.currentSlide = 0), e.registerBreakpoints(), e.setProps(), e.setupInfinite(), e.buildArrows(), e.updateArrows(), e.initArrowEvents(), e.buildDots(), e.updateDots(), e.initDotEvents(), e.cleanUpSlideEvents(), e.initSlideEvents(), e.checkResponsive(!1, !0), !0 === e.options.focusOnSelect && d(e.$slideTrack).children().on("click.slick", e.selectHandler), e.setSlideClasses("number" == typeof e.currentSlide ? e.currentSlide : 0), e.setPosition(), e.focusHandler(), e.paused = !e.options.autoplay, e.autoPlay(), e.$slider.trigger("reInit", [e]) 705 }, r.prototype.resize = function () { 706 var e = this; 707 d(window).width() !== e.windowWidth && (clearTimeout(e.windowDelay), e.windowDelay = window.setTimeout(function () { 708 e.windowWidth = d(window).width(), e.checkResponsive(), e.unslicked || e.setPosition() 709 }, 50)) 710 }, r.prototype.removeSlide = r.prototype.slickRemove = function (e, i, t) { 711 var o = this; 712 if (e = "boolean" == typeof e ? !0 === (i = e) ? 0 : o.slideCount - 1 : !0 === i ? --e : e, o.slideCount < 1 || e < 0 || e > o.slideCount - 1) return !1; 713 o.unload(), (!0 === t ? o.$slideTrack.children() : o.$slideTrack.children(this.options.slide).eq(e)).remove(), o.$slides = o.$slideTrack.children(this.options.slide), o.$slideTrack.children(this.options.slide).detach(), o.$slideTrack.append(o.$slides), o.$slidesCache = o.$slides, o.reinit() 714 }, r.prototype.setCSS = function (e) { 715 var i, t, o = this, 716 s = {}; 717 !0 === o.options.rtl && (e = -e), i = "left" == o.positionProp ? Math.ceil(e) + "px" : "0px", t = "top" == o.positionProp ? Math.ceil(e) + "px" : "0px", s[o.positionProp] = e, !1 !== o.transformsEnabled && (!(s = {}) === o.cssTransitions ? s[o.animType] = "translate(" + i + ", " + t + ")" : s[o.animType] = "translate3d(" + i + ", " + t + ", 0px)"), o.$slideTrack.css(s) 718 }, r.prototype.setDimensions = function () { 719 var e = this, 720 i = (!1 === e.options.vertical ? !0 === e.options.centerMode && e.$list.css({ 721 padding: "0px " + e.options.centerPadding 722 }) : (e.$list.height(e.$slides.first().outerHeight(!0) * e.options.slidesToShow), !0 === e.options.centerMode && e.$list.css({ 723 padding: e.options.centerPadding + " 0px" 724 })), e.listWidth = e.$list.width(), e.listHeight = e.$list.height(), !1 === e.options.vertical && !1 === e.options.variableWidth ? (e.slideWidth = Math.ceil(e.listWidth / e.options.slidesToShow), e.$slideTrack.width(Math.ceil(e.slideWidth * e.$slideTrack.children(".slick-slide").length))) : !0 === e.options.variableWidth ? e.$slideTrack.width(5e3 * e.slideCount) : (e.slideWidth = Math.ceil(e.listWidth), e.$slideTrack.height(Math.ceil(e.$slides.first().outerHeight(!0) * e.$slideTrack.children(".slick-slide").length))), e.$slides.first().outerWidth(!0) - e.$slides.first().width()); 725 !1 === e.options.variableWidth && e.$slideTrack.children(".slick-slide").width(e.slideWidth - i) 726 }, r.prototype.setFade = function () { 727 var t, o = this; 728 o.$slides.each(function (e, i) { 729 t = o.slideWidth * e * -1, !0 === o.options.rtl ? d(i).css({ 730 position: "relative", 731 right: t, 732 top: 0, 733 zIndex: o.options.zIndex - 2, 734 opacity: 0 735 }) : d(i).css({ 736 position: "relative", 737 left: t, 738 top: 0, 739 zIndex: o.options.zIndex - 2, 740 opacity: 0 741 }) 742 }), o.$slides.eq(o.currentSlide).css({ 743 zIndex: o.options.zIndex - 1, 744 opacity: 1 745 }) 746 }, r.prototype.setHeight = function () { 747 var e, i = this; 748 1 === i.options.slidesToShow && !0 === i.options.adaptiveHeight && !1 === i.options.vertical && (e = i.$slides.eq(i.currentSlide).outerHeight(!0), i.$list.css("height", e)) 749 }, r.prototype.setOption = r.prototype.slickSetOption = function () { 750 var e, i, t, o, s, n = this, 751 r = !1;
752 if ("object" === d.type(arguments[0]) ? (t = arguments[0], r = arguments[1], s = "multiple") : "string" === d.type(arguments[0]) && (t = arguments[0], o = arguments[1], r = arguments[2], "responsive" === arguments[0] && "array" === d.type(arguments[1]) ? s = "responsive" : void 0 !== arguments[1] && (s = "single")), "single" === s) n.options[t] = o; 753 else if ("multiple" === s) d.each(t, function (e, i) { 754 n.options[e] = i 755 }); 756 else if ("responsive" === s) 757 for (i in o) 758 if ("array" !== d.type(n.options.responsive)) n.options.responsive = [o[i]]; 759 else { 760 for (e = n.options.responsive.length - 1; 0 <= e;) n.options.responsive[e].breakpoint === o[i].breakpoint && n.options.responsive.splice(e, 1), e--; 761 n.options.responsive.push(o[i]) 762 } r && (n.unload(), n.reinit()) 763 }, r.prototype.setPosition = function () { 764 var e = this; 765 e.setDimensions(), e.setHeight(), !1 === e.options.fade ? e.setCSS(e.getLeft(e.currentSlide)) : e.setFade(), e.$slider.trigger("setPosition", [e]) 766 }, r.prototype.setProps = function () { 767 var e = this, 768 i = document.body.style; 769 e.positionProp = !0 === e.options.vertical ? "top" : "left", "top" === e.positionProp ? e.$slider.addClass("slick-vertical") : e.$slider.removeClass("slick-vertical"), void 0 === i.WebkitTransition && void 0 === i.MozTransition && void 0 === i.msTransition || !0 === e.options.useCSS && (e.cssTransitions = !0), e.options.fade && ("number" == typeof e.options.zIndex ? e.options.zIndex < 3 && (e.options.zIndex = 3) : e.options.zIndex = e.defaults.zIndex), void 0 !== i.OTransform && (e.animType = "OTransform", e.transformType = "-o-transform", e.transitionType = "OTransition", void 0 === i.perspectiveProperty) && void 0 === i.webkitPerspective && (e.animType = !1), void 0 !== i.MozTransform && (e.animType = "MozTransform", e.transformType = "-moz-transform", e.transitionType = "MozTransition", void 0 === i.perspectiveProperty) && void 0 === i.MozPerspective && (e.animType = !1), void 0 !== i.webkitTransform && (e.animType = "webkitTransform", e.transformType = "-webkit-transform", e.transitionType = "webkitTransition", void 0 === i.perspectiveProperty) && void 0 === i.webkitPerspective && (e.animType = !1), void 0 !== i.msTransform && (e.animType = "msTransform", e.transformType = "-ms-transform", e.transitionType = "msTransition", void 0 === i.msTransform) && (e.animType = !1), void 0 !== i.transform && !1 !== e.animType && (e.animType = "transform", e.transformType = "transform", e.transitionType = "transition"), e.transformsEnabled = e.options.useTransform && null !== e.animType && !1 !== e.animType 770 }, r.prototype.setSlideClasses = function (e) { 771 var i, t, o, s = this, 772 n = s.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden", "true"); 773 s.$slides.eq(e).addClass("slick-current"), !0 === s.options.centerMode ? (t = s.options.slidesToShow % 2 == 0 ? 1 : 0, o = Math.floor(s.options.slidesToShow / 2), !0 === s.options.infinite && ((o <= e && e <= s.slideCount - 1 - o ? s.$slides.slice(e - o + t, e + o + 1) : (i = s.options.slidesToShow + e, n.slice(i - o + 1 + t, i + o + 2))).addClass("slick-active").attr("aria-hidden", "false"), 0 === e ? n.eq(n.length - 1 - s.options.slidesToShow).addClass("slick-center") : e === s.slideCount - 1 && n.eq(s.options.slidesToShow).addClass("slick-center")), s.$slides.eq(e).addClass("slick-center")) : (0 <= e && e <= s.slideCount - s.options.slidesToShow ? s.$slides.slice(e, e + s.options.slidesToShow) : n.length <= s.options.slidesToShow ? n : (t = s.slideCount % s.options.slidesToShow, i = !0 === s.options.infinite ? s.options.slidesToShow + e : e, s.options.slidesToShow == s.options.slidesToScroll && s.slideCount - e < s.options.slidesToShow ? n.slice(i - (s.options.slidesToShow - t), i + t) : n.slice(i, i + s.options.slidesToShow))).addClass("slick-active").attr("aria-hidden", "false"), "ondemand" !== s.options.lazyLoad && "anticipated" !== s.options.lazyLoad || s.lazyLoad() 774 }, r.prototype.setupInfinite = function () { 775 var e, i, t, o = this; 776 if (!0 === o.options.fade && (o.options.centerMode = !1), !0 === o.options.infinite && !1 === o.options.fade && (i = null, o.slideCount > o.options.slidesToShow)) { 777 for (t = !0 === o.options.centerMode ? o.options.slidesToShow + 1 : o.options.slidesToShow, e = o.slideCount; e > o.slideCount - t; --e) d(o.$slides[i = e - 1]).clone(!0).attr("id", "").attr("data-slick-index", i - o.slideCount).prependTo(o.$slideTrack).addClass("slick-cloned"); 778 for (e = 0; e < t + o.slideCount;
vendor: 9,491 bytes, lines 778-866
778 e += 1) i = e, d(o.$slides[i]).clone(!0).attr("id", "").attr("data-slick-index", i + o.slideCount).appendTo(o.$slideTrack).addClass("slick-cloned"); 779 o.$slideTrack.find(".slick-cloned").find("[id]").each(function () { 780 d(this).attr("id", "") 781 }) 782 } 783 }, r.prototype.interrupt = function (e) { 784 e || this.autoPlay(), this.interrupted = e 785 }, r.prototype.selectHandler = function (e) { 786 e = d(e.target).is(".slick-slide") ? d(e.target) : d(e.target).parents(".slick-slide"), e = (e = parseInt(e.attr("data-slick-index"))) || 0; 787 this.slideCount <= this.options.slidesToShow ? this.slideHandler(e, !1, !0) : this.slideHandler(e) 788 }, r.prototype.slideHandler = function (e, i, t) { 789 var o, s, n, r = this; 790 i = i || !1, !0 === r.animating && !0 === r.options.waitForAnimate || !0 === r.options.fade && r.currentSlide === e || (!1 === i && r.asNavFor(e), o = e, i = r.getLeft(o), n = r.getLeft(r.currentSlide), r.currentLeft = null === r.swipeLeft ? n : r.swipeLeft, !1 === r.options.infinite && !1 === r.options.centerMode && (e < 0 || e > r.getDotCount() * r.options.slidesToScroll) || !1 === r.options.infinite && !0 === r.options.centerMode && (e < 0 || e > r.slideCount - r.options.slidesToScroll) ? !1 === r.options.fade && (o = r.currentSlide, !0 !== t && r.slideCount > r.options.slidesToShow ? r.animateSlide(n, function () { 791 r.postSlide(o) 792 }) : r.postSlide(o)) : (r.options.autoplay && clearInterval(r.autoPlayTimer), s = o < 0 ? r.slideCount % r.options.slidesToScroll != 0 ? r.slideCount - r.slideCount % r.options.slidesToScroll : r.slideCount + o : o >= r.slideCount ? r.slideCount % r.options.slidesToScroll != 0 ? 0 : o - r.slideCount : o, r.animating = !0, r.$slider.trigger("beforeChange", [r, r.currentSlide, s]), e = r.currentSlide, r.currentSlide = s, r.setSlideClasses(r.currentSlide), r.options.asNavFor && (n = (n = r.getNavTarget()).slick("getSlick")).slideCount <= n.options.slidesToShow && n.setSlideClasses(r.currentSlide), r.updateDots(), r.updateArrows(), !0 === r.options.fade ? (!0 !== t ? (r.fadeSlideOut(e), r.fadeSlide(s, function () { 793 r.postSlide(s) 794 })) : r.postSlide(s), r.animateHeight()) : !0 !== t && r.slideCount > r.options.slidesToShow ? r.animateSlide(i, function () { 795 r.postSlide(s) 796 }) : r.postSlide(s))) 797 }, r.prototype.startLoad = function () { 798 var e = this; 799 !0 === e.options.arrows && e.slideCount > e.options.slidesToShow && (e.$prevArrow.hide(), e.$nextArrow.hide()), !0 === e.options.dots && e.slideCount > e.options.slidesToShow && e.$dots.hide(), e.$slider.addClass("slick-loading") 800 }, r.prototype.swipeDirection = function () { 801 var e = this, 802 i = e.touchObject.startX - e.touchObject.curX, 803 t = e.touchObject.startY - e.touchObject.curY, 804 t = Math.atan2(t, i), 805 i = Math.round(180 * t / Math.PI); 806 return (i = i < 0 ? 360 - Math.abs(i) : i) <= 45 && 0 <= i || i <= 360 && 315 <= i ? !1 === e.options.rtl ? "left" : "right" : 135 <= i && i <= 225 ? !1 === e.options.rtl ? "right" : "left" : !0 === e.options.verticalSwiping ? 35 <= i && i <= 135 ? "down" : "up" : "vertical" 807 }, r.prototype.swipeEnd = function (e) { 808 var i, t, o = this; 809 if (o.dragging = !1, o.swiping = !1, o.scrolling) return o.scrolling = !1; 810 if (o.interrupted = !1, o.shouldClick = !(10 < o.touchObject.swipeLength), void 0 === o.touchObject.curX) return !1; 811 if (!0 === o.touchObject.edgeHit && o.$slider.trigger("edge", [o, o.swipeDirection()]), o.touchObject.swipeLength >= o.touchObject.minSwipe) { 812 switch (t = o.swipeDirection()) { 813 case "left": 814 case "down": 815 i = o.options.swipeToSlide ? o.checkNavigable(o.currentSlide + o.getSlideCount()) : o.currentSlide + o.getSlideCount(), o.currentDirection = 0; 816 break; 817 case "right": 818 case "up": 819 i = o.options.swipeToSlide ? o.checkNavigable(o.currentSlide - o.getSlideCount()) : o.currentSlide - o.getSlideCount(), o.currentDirection = 1 820 } 821 "vertical" != t && (o.slideHandler(i), o.touchObject = {}, o.$slider.trigger("swipe", [o, t])) 822 } else o.touchObject.startX !== o.touchObject.curX && (o.slideHandler(o.currentSlide), o.touchObject = {}) 823 }, r.prototype.swipeHandler = function (e) { 824 var i = this; 825 if (!(!1 === i.options.swipe || "ontouchend" in document && !1 === i.options.swipe || !1 === i.options.draggable && -1 !== e.type.indexOf("mouse"))) switch (i.touchObject.fingerCount = e.originalEvent && void 0 !== e.originalEvent.touches ? e.originalEvent.touches.length : 1, i.touchObject.minSwipe = i.listWidth / i.options.touchThreshold, !0 === i.options.verticalSwiping && (i.touchObject.minSwipe = i.listHeight / i.options.touchThreshold), e.data.action) { 826 case "start": 827 i.swipeStart(e); 828 break; 829 case "move": 830 i.swipeMove(e); 831 break; 832 case "end": 833 i.swipeEnd(e) 834 } 835 }, r.prototype.swipeMove = function (e) { 836 var i, t, o = this, 837 s = void 0 !== e.originalEvent ? e.originalEvent.touches : null; 838 return !(!o.dragging || o.scrolling || s && 1 !== s.length) && (i = o.getLeft(o.currentSlide), o.touchObject.curX = void 0 !== s ? s[0].pageX : e.clientX, o.touchObject.curY = void 0 !== s ? s[0].pageY : e.clientY, o.touchObject.swipeLength = Math.round(Math.sqrt(Math.pow(o.touchObject.curX - o.touchObject.startX, 2))), s = Math.round(Math.sqrt(Math.pow(o.touchObject.curY - o.touchObject.startY, 2))), !o.options.verticalSwiping && !o.swiping && 4 < s ? !(o.scrolling = !0) : (!0 === o.options.verticalSwiping && (o.touchObject.swipeLength = s), s = o.swipeDirection(), void 0 !== e.originalEvent && 4 < o.touchObject.swipeLength && (o.swiping = !0, e.preventDefault()), e = (!1 === o.options.rtl ? 1 : -1) * (o.touchObject.curX > o.touchObject.startX ? 1 : -1), !0 === o.options.verticalSwiping && (e = o.touchObject.curY > o.touchObject.startY ? 1 : -1), t = o.touchObject.swipeLength, (o.touchObject.edgeHit = !1) === o.options.infinite && (0 === o.currentSlide && "right" === s || o.currentSlide >= o.getDotCount() && "left" === s) && (t = o.touchObject.swipeLength * o.options.edgeFriction, o.touchObject.edgeHit = !0), !1 === o.options.vertical ? o.swipeLeft = i + t * e : o.swipeLeft = i + t * (o.$list.height() / o.listWidth) * e, !0 === o.options.verticalSwiping && (o.swipeLeft = i + t * e), !0 !== o.options.fade && !1 !== o.options.touchMove && (!0 === o.animating ? (o.swipeLeft = null, !1) : void o.setCSS(o.swipeLeft)))) 839 }, r.prototype.swipeStart = function (e) { 840 var i, t = this; 841 if (t.interrupted = !0, 1 !== t.touchObject.fingerCount || t.slideCount <= t.options.slidesToShow) return !(t.touchObject = {}); 842 void 0 !== e.originalEvent && void 0 !== e.originalEvent.touches && (i = e.originalEvent.touches[0]), t.touchObject.startX = t.touchObject.curX = void 0 !== i ? i.pageX : e.clientX, t.touchObject.startY = t.touchObject.curY = void 0 !== i ? i.pageY : e.clientY, t.dragging = !0 843 }, r.prototype.unfilterSlides = r.prototype.slickUnfilter = function () { 844 var e = this; 845 null !== e.$slidesCache && (e.unload(), e.$slideTrack.children(this.options.slide).detach(), e.$slidesCache.appendTo(e.$slideTrack), e.reinit()) 846 }, r.prototype.unload = function () { 847 var e = this; 848 d(".slick-cloned", e.$slider).remove(), e.$dots && e.$dots.remove(), e.$prevArrow && e.htmlExpr.test(e.options.prevArrow) && e.$prevArrow.remove(), e.$nextArrow && e.htmlExpr.test(e.options.nextArrow) && e.$nextArrow.remove(), e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden", "true").css("width", "") 849 }, r.prototype.unslick = function (e) { 850 this.$slider.trigger("unslick", [this, e]), this.destroy() 851 }, r.prototype.updateArrows = function () { 852 var e = this; 853 Math.floor(e.options.slidesToShow / 2); 854 !0 === e.options.arrows && e.slideCount > e.options.slidesToShow && !e.options.infinite && (e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled", "false"), e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled", "false"), 0 === e.currentSlide ? (e.$prevArrow.addClass("slick-disabled").attr("aria-disabled", "true"), e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled", "false")) : (e.currentSlide >= e.slideCount - e.options.slidesToShow && !1 === e.options.centerMode || e.currentSlide >= e.slideCount - 1 && !0 === e.options.centerMode) && (e.$nextArrow.addClass("slick-disabled").attr("aria-disabled", "true"), e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled", "false"))) 855 }, r.prototype.updateDots = function () { 856 var e = this; 857 null !== e.$dots && (e.$dots.find("li").removeClass("slick-active").end(), e.$dots.find("li").eq(Math.floor(e.currentSlide / e.options.slidesToScroll)).addClass("slick-active")) 858 }, r.prototype.visibility = function () { 859 this.options.autoplay && (document[this.hidden] ? this.interrupted = !0 : this.interrupted = !1) 860 }, d.fn.slick = function () { 861 for (var e, i = this, t = arguments[0], o = Array.prototype.slice.call(arguments, 1), s = i.length, n = 0; n < s; n++) 862 if ("object" == typeof t || void 0 === t ? i[n].slick = new r(i[n], t) : e = i[n].slick[t].apply(i[n].slick, o), void 0 !== e) return e; 863 return i 864 } 865}), 866 function (n) {
867 n.overlay = function (e) { 868 var i = this, 869 e = n.extend({}, { 870 headline: !1, 871 content: !1 872 }, e), 873 t = n("<div></div>").addClass("overlay"), 874 o = n("<div></div>").addClass("overlay__background"), 875 o = (o.on("click", function (e) { 876 e.preventDefault(), i.closeOverlay() 877 }), t.append(o), n("<div></div>").addClass("overlay__box")), 878 s = n("<button></button>").addClass("overlay__close"); 879 return s.on("click", function (e) { 880 e.preventDefault(), i.closeOverlay() 881 }), o.append(s), e.headline && (s = n("<h2></h2>").addClass("overlay__headline").html(e.headline), o.append(s)), e.content && (s = n("<p></p>").addClass("overlay__content").html(e.content), o.append(s)), t.append(o), n(".overlay").remove(), n("body").prepend(t), t.addClass("is-open"), this.closeOverlay = function () { 882 t.removeClass("is-open").addClass("is-closed"), setTimeout(function () { 883 t.remove() 884 }, 500) 885 }, this 886 } 887 }(jQuery), $(document).ready(function () { 888 $("#main_nav_trigger").on("click", function () { 889 $("#main_nav").toggleClass("is-hidden") 890 }), $(".menu-item").on("click", function () { 891 $("#main_nav").toggleClass("is-hidden") 892 }), $("#technologies-slider").slick({ 893 adaptiveHeight: !1, 894 arrows: !1, 895 centerMode: !0, 896 centerPadding: "330px", 897 slidesToShow: 2, 898 swipeToSlide: !0, 899 responsive: [{ 900 breakpoint: 1481, 901 settings: { 902 slidesToShow: 4, 903 centerMode: !1 904 } 905 }, { 906 breakpoint: 931, 907 settings: { 908 slidesToShow: 3, 909 centerMode: !1 910 } 911 }, { 912 breakpoint: 769, 913 settings: { 914 slidesToShow: 2, 915 centerMode: !1 916 } 917 }, { 918 breakpoint: 569, 919 settings: { 920 slidesToShow: 1, 921 centerMode: !1 922 } 923 }] 924 }), $("#projects-slider").slick({ 925 arrows: !0, 926 autoplaySpeed: 5e3, 927 nextArrow: $("#project-next"), 928 pauseOnFocus: !1, 929 pauseOnHover: !1, 930 prevArrow: $("#project-prev"), 931 slidesToShow: 5, 932 responsive: [{ 933 breakpoint: 1481, 934 settings: { 935 slidesToShow: 4 936 } 937 }, { 938 breakpoint: 931, 939 settings: { 940 slidesToShow: 3 941 } 942 }, { 943 breakpoint: 769, 944 settings: { 945 slidesToShow: 2 946 } 947 }, { 948 breakpoint: 481, 949 settings: { 950 slidesToShow: 1 951 } 952 }] 953 }), $("#videos-slider").slick({ 954 arrows: !0, 955 autoplaySpeed: 5e3, 956 nextArrow: $("#video-next"), 957 pauseOnFocus: !1, 958 pauseOnHover: !1, 959 prevArrow: $("#video-prev"), 960 slidesToShow: 3, 961 responsive: [{ 962 breakpoint: 1481, 963 settings: { 964 slidesToShow: 2 965 } 966 }, { 967 breakpoint: 769, 968 settings: { 969 slidesToShow: 1 970 } 971 }] 972 }), $("#references-slider").slick({ 973 arrows: !0, 974 autoplaySpeed: 5e3, 975 nextArrow: $("#reference-next"), 976 pauseOnFocus: !1, 977 pauseOnHover: !1, 978 prevArrow: $("#reference-prev"), 979 slidesToShow: 5, 980 responsive: [{ 981 breakpoint: 1481, 982 settings: { 983 slidesToShow: 4 984 } 985 }, { 986 breakpoint: 931, 987 settings: { 988 slidesToShow: 3 989 } 990 }, { 991 breakpoint: 769, 992 settings: { 993 slidesToShow: 2 994 } 995 }, { 996 breakpoint: 481, 997 settings: { 998 slidesToShow: 1 999 } 1000 }] 1001 }) 1002 }), $("a").on("click", function (e) { 1003 var i, t; 1004 "" !== this.hash && (i = this.hash, (t = $(i)).length) && (e.preventDefault(), window.history.pushState(i, i, this.href), anchorScroll(t)) 1005 }), $(window).on("load", function () { 1006 window.scrollTo(0, 0), setTimeout(function () { 1007 var e; 1008 window.location.hash && (e = $(window.location.hash)).length && anchorScroll(e) 1009 }, 250) 1010 });
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.