1/*! 2 * fullPage 2.9.7 3 * https://github.com/alvarotrigo/fullPage.js 4 * @license MIT licensed 5 * 6 * Copyright (C) 2015 alvarotrigo.com - A project by Alvaro Trigo 7 */ 8! function(e, o) { 9 "use strict"; 10 "function" == typeof define && define.amd ? define(["jquery"], function(n) { 11 return o(n, e, e.document, e.Math) 12 }) : "object" == typeof exports && exports ? module.exports = o(require("jquery"), e, e.document, e.Math) : o(jQuery, e, e.document, e.Math) 13}("undefined" != typeof window ? window : this, function(e, o, n, t, i) { 14 "use strict"; 15 var a = "fullpage-wrapper", 16 l = "." + a, 17 s = "fp-responsive", 18 r = "fp-notransition", 19 c = "fp-destroyed", 20 d = "fp-enabled", 21 f = "fp-viewing", 22 u = "active", 23 h = "." + u, 24 v = "fp-completely", 25 p = "." + v, 26 g = "fp-section", 27 m = "." + g, 28 w = m + h, 29 S = m + ":first", 30 b = m + ":last", 31 x = "fp-tableCell", 32 y = "." + x, 33 C = "fp-auto-height", 34 T = "fp-normal-scroll", 35 k = "fp-nav", 36 L = "#" + k, 37 A = "fp-tooltip", 38 O = "." + A, 39 I = "fp-show-active", 40 E = "fp-slide", 41 M = "." + E, 42 B = M + h, 43 R = "fp-slides", 44 z = "." + R, 45 H = "fp-slidesContainer", 46 D = "." + H, 47 P = "fp-table", 48 q = "fp-slidesNav", 49 F = "." + q, 50 V = F + " a", 51 j = "fp-controlArrow", 52 Y = "." + j, 53 N = "fp-prev", 54 X = j + " " + N, 55 U = Y + ("." + N), 56 W = "fp-next", 57 K = j + " " + W, 58 _ = Y + ".fp-next", 59 Q = e(o), 60 G = e(n); 61 e.fn.fullpage = function(j) { 62 if (e("html").hasClass(d)) $o(); 63 else { 64 var W = e("html, body"), 65 J = e("body"), 66 Z = e.fn.fullpage; 67 j = e.extend({ 68 menu: !1, 69 anchors: [], 70 lockAnchors: !1, 71 navigation: !1, 72 navigationPosition: "right", 73 navigationTooltips: [], 74 showActiveTooltip: !1, 75 slidesNavigation: !1, 76 slidesNavPosition: "bottom", 77 scrollBar: !1, 78 hybrid: !1, 79 css3: !0, 80 scrollingSpeed: 700, 81 autoScrolling: !0, 82 fitToSection: !0, 83 fitToSectionDelay: 1e3, 84 easing: "easeInOutCubic", 85 easingcss3: "ease", 86 loopBottom: !1, 87 loopTop: !1, 88 loopHorizontal: !0, 89 continuousVertical: !1, 90 continuousHorizontal: !1, 91 scrollHorizontally: !1, 92 interlockedSlides: !1, 93 dragAndMove: !1, 94 offsetSections: !1, 95 resetSliders: !1, 96 fadingEffect: !1, 97 normalScrollElements: null, 98 scrollOverflow: !1, 99 scrollOverflowReset: !1, 100 scrollOverflowHandler: e.fn.fp_scrolloverflow ? e.fn.fp_scrolloverflow.iscrollHandler : null, 101 scrollOverflowOptions: null, 102 touchSensitivity: 5, 103 normalScrollElementTouchThreshold: 5, 104 bigSectionsDestination: null, 105 keyboardScrolling: !0, 106 animateAnchor: !0, 107 recordHistory: !0, 108 controlArrows: !0, 109 controlArrowColor: "#fff", 110 verticalCentered: !0, 111 sectionsColor: [], 112 paddingTop: 0, 113 paddingBottom: 0, 114 fixedElements: null, 115 responsive: 0, 116 responsiveWidth: 0, 117 responsiveHeight: 0, 118 responsiveSlides: !1, 119 parallax: !1, 120 parallaxOptions: { 121 type: "reveal", 122 percentage: 62, 123 property: "translate" 124 }, 125 sectionSelector: ".section", 126 slideSelector: ".slide", 127 afterLoad: null, 128 onLeave: null, 129 afterRender: null, 130 afterResize: null, 131 afterReBuild: null, 132 afterSlideLoad: null, 133 onSlideLeave: null, 134 afterResponsive: null, 135 lazyLoading: !0 136 }, j); 137 var $, ee, oe, ne, te = !1, 138 ie = navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/), 139 ae = "ontouchstart" in o || navigator.msMaxTouchPoints > 0 || navigator.maxTouchPoints, 140 le = e(this), 141 se = Q.height(), 142 re = !1, 143 ce = !0, 144 de = !0, 145 fe = [], 146 ue = { 147 m: { 148 up: !0, 149 down: !0, 150 left: !0, 151 right: !0 152 } 153 }; 154 ue.k = e.extend(!0, {}, ue.m); 155 var he, ve, pe, ge, me, we, Se, be = function() { 156 var e; 157 e = o.PointerEvent ? { 158 down: "pointerdown", 159 move: "pointermove" 160 } : { 161 down: "MSPointerDown", 162 move: "MSPointerMove" 163 }; 164 return e 165 }(), 166 xe = { 167 touchmove: "ontouchmove" in o ? "touchmove" : be.move, 168 touchstart: "ontouchstart" in o ? "touchstart" : be.down 169 },
170 ye = 'a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]', 171 Ce = e.extend(!0, {}, j); 172 $o(), e.extend(e.easing, { 173 easeInOutCubic: function(e, o, n, t, i) { 174 return (o /= i / 2) < 1 ? t / 2 * o * o * o + n : t / 2 * ((o -= 2) * o * o + 2) + n 175 } 176 }), e(this).length && (Z.version = "2.9.6", Z.setAutoScrolling = ze, Z.setRecordHistory = He, Z.setScrollingSpeed = De, Z.setFitToSection = Pe, Z.setLockAnchors = function(e) { 177 j.lockAnchors = e 178 }, Z.setMouseWheelScrolling = qe, Z.setAllowScrolling = Fe, Z.setKeyboardScrolling = Ve, Z.moveSectionUp = je, Z.moveSectionDown = Ye, Z.silentMoveTo = Ne, Z.moveTo = Xe, Z.moveSlideRight = Ue, Z.moveSlideLeft = We, Z.fitToSection = Je, Z.reBuild = Ke, Z.setResponsive = _e, Z.destroy = function(o) { 179 ze(!1, "internal"), Fe(!1), Ve(!1), le.addClass(c), clearTimeout(ge), clearTimeout(pe), clearTimeout(ve), clearTimeout(me), clearTimeout(we), Q.off("scroll", Ge).off("hashchange", mo).off("resize", Mo), G.off("keydown", So).off("keyup", xo).off("click touchstart", L + " a").off("mouseenter", L + " li").off("mouseleave", L + " li").off("click touchstart", V).off("mouseover", j.normalScrollElements).off("mouseout", j.normalScrollElements), e(m).off("click touchstart", Y), clearTimeout(ge), clearTimeout(pe), o && function() { 180 Qo(0), le.find("img[data-src], source[data-src], audio[data-src], iframe[data-src]").each(function() { 181 co(e(this), "src") 182 }), le.find("img[data-srcset]").each(function() { 183 co(e(this), "srcset") 184 }), e(L + ", " + F + ", " + Y).remove(), e(m).css({ 185 height: "", 186 "background-color": "", 187 padding: "" 188 }), e(M).css({ 189 width: "" 190 }), le.css({ 191 height: "", 192 position: "", 193 "-ms-touch-action": "", 194 "touch-action": "" 195 }), W.css({ 196 overflow: "", 197 height: "" 198 }), e("html").removeClass(d), J.removeClass(s), e.each(J.get(0).className.split(/\s+/), function(e, o) { 199 0 === o.indexOf(f) && J.removeClass(o) 200 }), e(m + ", " + M).each(function() { 201 j.scrollOverflowHandler && j.scrollOverflowHandler.remove(e(this)), e(this).removeClass(P + " " + u), e(this).attr("style", e(this).data("fp-styles")) 202 }), zo(le), le.find(y + ", " + D + ", " + z).each(function() { 203 e(this).replaceWith(this.childNodes) 204 }), le.css({ 205 "-webkit-transition": "none", 206 transition: "none" 207 }), W.scrollTop(0); 208 var o = [g, E, H]; 209 e.each(o, function(o, n) { 210 e("." + n).removeClass(n) 211 }) 212 }() 213 }, Z.shared = { 214 afterRenderActions: Qe 215 }, function() { 216 j.css3 && (j.css3 = function() { 217 var e, t = n.createElement("p"), 218 a = { 219 webkitTransform: "-webkit-transform", 220 OTransform: "-o-transform", 221 msTransform: "-ms-transform", 222 MozTransform: "-moz-transform", 223 transform: "transform" 224 }; 225 for (var l in n.body.insertBefore(t, null), a) t.style[l] !== i && (t.style[l] = "translate3d(1px,1px,1px)", e = o.getComputedStyle(t).getPropertyValue(a[l])); 226 return n.body.removeChild(t), e !== i && e.length > 0 && "none" !== e 227 }()); 228 j.scrollBar = j.scrollBar || j.hybrid, t = le.find(j.sectionSelector), j.anchors.length || (j.anchors = t.filter("[data-anchor]").map(function() { 229 return e(this).data("anchor").toString() 230 }).get()), j.navigationTooltips.length || (j.navigationTooltips = t.filter("[data-tooltip]").map(function() { 231 return e(this).data("tooltip").toString() 232 }).get()), le.css({ 233 height: "100%", 234 position: "relative" 235 }), le.addClass(a), e("html").addClass(d), se = Q.height(), le.removeClass(c), le.find(j.sectionSelector).addClass(g), le.find(j.slideSelector).addClass(E), e(m).each(function(o) { 236 var n, t, i, a, s = e(this), 237 r = s.find(M), 238 c = r.length; 239 s.data("fp-styles", s.attr("style")), i = s, (a = o) || 0 !== e(w).length || i.addClass(u), ne = e(w), i.css("height", se + "px"), j.paddingTop && i.css("padding-top", j.paddingTop), j.paddingBottom && i.css("padding-bottom", j.paddingBottom), void 0 !== j.sectionsColor[a] && i.css("background-color", j.sectionsColor[a]), void 0 !== j.anchors[a] && i.attr("data-anchor", j.anchors[a]), n = s, t = o, void 0 !== j.anchors[t] && n.hasClass(u) && Ho(j.anchors[t], t), j.menu && j.css3 && e(j.menu).closest(l).length && e(j.menu).appendTo(J), c > 0 ? function(o, n, t) { 240 var i, a = 100 * t, 241 l = 100 / t; 242 n.wrapAll('<div class="' + H + '" />'), n.parent().wrap('<div class="' + R + '" />'), o.find(D).css("width", a + "%"), t > 1 && (j.controlArrows && ((i = o).find(z).after('<div class="' + X + '"></div><div class="' + K + '"></div>'), "#fff" != j.controlArrowColor && (i.find(_).css("border-color", "transparent transparent transparent " + j.controlArrowColor), i.find(U).css("border-color", "transparent " + j.controlArrowColor + " transparent transparent")), j.loopHorizontal || i.find(U).hide()), j.slidesNavigation && function(e, o) { 243 e.append('<div class="' + q + '"><ul></ul></div>'); 244 var n = e.find(F); 245 n.addClass(j.slidesNavPosition); 246 for (var t = 0; t < o; t++) n.find("ul").append('<li><a href="#"><span></span></a></li>');
247 n.css("margin-left", "-" + n.width() / 2 + "px"), n.find("li").first().find("a").addClass(u) 248 }(o, t)), n.each(function(o) { 249 e(this).css("width", l + "%"), j.verticalCentered && Po(e(this)) 250 }); 251 var s = o.find(B); 252 s.length && (0 !== e(w).index(m) || 0 === e(w).index(m) && 0 !== s.index()) ? _o(s, "internal") : n.eq(0).addClass(u) 253 }(s, r, c) : j.verticalCentered && Po(s) 254 }), j.fixedElements && j.css3 && e(j.fixedElements).appendTo(J), j.navigation && function() { 255 J.append('<div id="' + k + '"><ul></ul></div>'); 256 var o = e(L); 257 o.addClass(function() { 258 return j.showActiveTooltip ? I + " " + j.navigationPosition : j.navigationPosition 259 }); 260 for (var n = 0; n < e(m).length; n++) { 261 var t = ""; 262 j.anchors.length && (t = j.anchors[n]); 263 var i = '<li><a href="#' + t + '"><span></span></a>', 264 a = j.navigationTooltips[n]; 265 void 0 !== a && "" !== a && (i += '<div class="' + A + " " + j.navigationPosition + '">' + a + "</div>"), i += "</li>", o.find("ul").append(i) 266 } 267 e(L).css("margin-top", "-" + e(L).height() / 2 + "px"), e(L).find("li").eq(e(w).index(m)).find("a").addClass(u) 268 }(), le.find('iframe[src*="youtube.com/embed/"]').each(function() { 269 var o, n, t; 270 o = e(this), n = "enablejsapi=1", t = o.attr("src"), o.attr("src", t + (/\?/.test(t) ? "&" : "?") + n) 271 }), j.scrollOverflow ? he = j.scrollOverflowHandler.init(j) : Qe(), Fe(!0), ze(j.autoScrolling, "internal"), Bo(), Wo(), "complete" === n.readyState && go(); 272 var t; 273 Q.on("load", go) 274 }(), Q.on("scroll", Ge).on("hashchange", mo).blur(ko).resize(Mo), G.keydown(So).keyup(xo).on("click touchstart", L + " a", Lo).on("click touchstart", V, Ao).on("click", O, bo), e(m).on("click touchstart", Y, To), j.normalScrollElements && (G.on("mouseenter touchstart", j.normalScrollElements, function() { 275 Fe(!1) 276 }), G.on("mouseleave touchend", j.normalScrollElements, function() { 277 Fe(!0) 278 }))); 279 var Te = !1, 280 ke = 0, 281 Le = 0, 282 Ae = 0, 283 Oe = 0, 284 Ie = 0, 285 Ee = (new Date).getTime(), 286 Me = 0, 287 Be = 0, 288 Re = se 289 } 290 291 function ze(o, n) { 292 o || Qo(0), Zo("autoScrolling", o, n); 293 var t = e(w); 294 j.autoScrolling && !j.scrollBar ? (W.css({ 295 overflow: "hidden", 296 height: "100%" 297 }), He(Ce.recordHistory, "internal"), le.css({ 298 "-ms-touch-action": "none", 299 "touch-action": "none" 300 }), t.length && Qo(t.position().top)) : (W.css({ 301 overflow: "visible", 302 height: "initial" 303 }), He(!1, "internal"), le.css({ 304 "-ms-touch-action": "", 305 "touch-action": "" 306 }), t.length && W.scrollTop(t.position().top)) 307 } 308 309 function He(e, o) { 310 Zo("recordHistory", e, o) 311 } 312 313 function De(e, o) { 314 Zo("scrollingSpeed", e, o) 315 } 316 317 function Pe(e, o) { 318 Zo("fitToSection", e, o) 319 } 320 321 function qe(e) { 322 e ? (! function() { 323 var e, t = ""; 324 o.addEventListener ? e = "addEventListener" : (e = "attachEvent", t = "on"); 325 var a = "onwheel" in n.createElement("div") ? "wheel" : n.onmousewheel !== i ? "mousewheel" : "DOMMouseScroll"; 326 "DOMMouseScroll" == a ? n[e](t + "MozMousePixelScroll", io, !1) : n[e](t + a, io, !1) 327 }(), le.on("mousedown", yo).on("mouseup", Co)) : (n.addEventListener ? (n.removeEventListener("mousewheel", io, !1), n.removeEventListener("wheel", io, !1), n.removeEventListener("MozMousePixelScroll", io, !1)) : n.detachEvent("onmousewheel", io), le.off("mousedown", yo).off("mouseup", Co)) 328 } 329 330 function Fe(o, n) { 331 void 0 !== n ? (n = n.replace(/ /g, "").split(","), e.each(n, function(e, n) { 332 Jo(o, n, "m") 333 })) : (Jo(o, "all", "m"), o ? (qe(!0), (ie || ae) && (j.autoScrolling && J.off(xe.touchmove).on(xe.touchmove, $e), e(l).off(xe.touchstart).on(xe.touchstart, no).off(xe.touchmove).on(xe.touchmove, eo))) : (qe(!1), (ie || ae) && (j.autoScrolling && J.off(xe.touchmove), e(l).off(xe.touchstart).off(xe.touchmove)))) 334 } 335 336 function Ve(o, n) { 337 void 0 !== n ? (n = n.replace(/ /g, "").split(","), e.each(n, function(e, n) { 338 Jo(o, n, "k") 339 })) : (Jo(o, "all", "k"), j.keyboardScrolling = o) 340 } 341 342 function je() { 343 var o = e(w).prev(m); 344 o.length || !j.loopTop && !j.continuousVertical || (o = e(m).last()), o.length && so(o, null, !0) 345 } 346 347 function Ye() { 348 var o = e(w).next(m); 349 o.length || !j.loopBottom && !j.continuousVertical || (o = e(m).first()), o.length && so(o, null, !1) 350 } 351 352 function Ne(e, o) { 353 De(0, "internal"), Xe(e, o), De(Ce.scrollingSpeed, "internal") 354 } 355 356 function Xe(e, o) { 357 var n = Vo(e); 358 void 0 !== o ? jo(e, o) : n.length > 0 && so(n) 359 } 360 361 function Ue(e) { 362 ao("right", e) 363 } 364 365 function We(e) { 366 ao("left", e) 367 } 368 369 function Ke(o) { 370 if (!le.hasClass(c)) { 371 re = !0, se = Q.height(), e(m).each(function() { 372 var o = e(this).find(z), 373 n = e(this).find(M); 374 j.verticalCentered && e(this).find(y).css("height", qo(e(this)) + "px"), e(this).css("height", se + "px"), n.length > 1 && Io(o, o.find(B)) 375 }), j.scrollOverflow && he.createScrollBarForAll(); 376 var n = e(w).index(m); 377 n && Ne(n + 1), re = !1, e.isFunction(j.afterResize) && o && j.afterResize.call(le), e.isFunction(j.afterReBuild) && !o && j.afterReBuild.call(le) 378 } 379 } 380 381 function _e(o) { 382 var n = J.hasClass(s); 383 o ? n || (ze(!1, "internal"), Pe(!1, "internal"), e(L).hide(), J.addClass(s), e.isFunction(j.afterResponsive) && j.afterResponsive.call(le, o)) : n && (ze(Ce.autoScrolling, "internal"), Pe(Ce.autoScrolling, "internal"), e(L).show(), J.removeClass(s), e.isFunction(j.afterResponsive) && j.afterResponsive.call(le, o)) 384 } 385 386 function Qe() { 387 var o, n = e(w); 388 n.addClass(v), fo(n), uo(n), j.scrollOverflow && j.scrollOverflowHandler.afterLoad(), (!(o = Vo(wo().section)) || o.length && o.index() === ne.index()) && e.isFunction(j.afterLoad) && j.afterLoad.call(n, n.data("anchor"), n.index(m) + 1), e.isFunction(j.afterRender) && j.afterRender.call(le) 389 } 390 391 function Ge() { 392 var o, t, i; 393 if (!j.autoScrolling || j.scrollBar) { 394 var a = Q.scrollTop(), 395 l = (i = (t = a) > ke ? "down" : "up", ke = t, Me = t, i), 396 s = 0, 397 r = a + Q.height() / 2, 398 c = J.height() - Q.height() === a, 399 d = n.querySelectorAll(m); 400 if (c) s = d.length - 1; 401 else if (a) 402 for (var f = 0; f < d.length; ++f) { 403 d[f].offsetTop <= r && (s = f) 404 } else s = 0; 405 if (function(o) { 406 var n = e(w).position().top, 407 t = n + Q.height(); 408 if ("up" == o) return t >= Q.scrollTop() + Q.height(); 409 return n <= Q.scrollTop() 410 }(l) && (e(w).hasClass(v) || e(w).addClass(v).siblings().removeClass(v)), !(o = e(d).eq(s)).hasClass(u)) { 411 Te = !0; 412 var h, p, g = e(w), 413 S = g.index(m) + 1, 414 b = Do(o), 415 x = o.data("anchor"), 416 y = o.index(m) + 1, 417 C = o.find(B); 418 C.length && (p = C.data("anchor"), h = C.index()), de && (o.addClass(u).siblings().removeClass(u), e.
418isFunction(j.onLeave) && j.onLeave.call(g, S, y, b), e.isFunction(j.afterLoad) && j.afterLoad.call(o, x, y), vo(g), fo(o), uo(o), Ho(x, y - 1), j.anchors.length && ($ = x), No(h, p, x, y)), clearTimeout(me), me = setTimeout(function() { 419 Te = !1 420 }, 100) 421 } 422 j.fitToSection && (clearTimeout(we), we = setTimeout(function() { 423 j.fitToSection && e(w).outerHeight() <= se && Je() 424 }, j.fitToSectionDelay)) 425 } 426 } 427 428 function Je() { 429 de && (re = !0, so(e(w)), re = !1) 430 } 431 432 function Ze(o) { 433 if (ue.m[o]) { 434 var n = "down" === o ? Ye : je; 435 if (j.scrollOverflow) { 436 var t = j.scrollOverflowHandler.scrollable(e(w)), 437 i = "down" === o ? "bottom" : "top"; 438 if (t.length > 0) { 439 if (!j.scrollOverflowHandler.isScrolled(i, t)) return !0; 440 n() 441 } else n() 442 } else n() 443 } 444 } 445 446 function $e(e) { 447 var o = e.originalEvent; 448 j.autoScrolling && oo(o) && e.preventDefault() 449 } 450 451 function eo(o) { 452 var n = o.originalEvent, 453 i = e(n.target).closest(m); 454 if (oo(n)) { 455 j.autoScrolling && o.preventDefault(); 456 var a = Ko(n); 457 Oe = a.y, Ie = a.x, i.find(z).length && t.abs(Ae - Ie) > t.abs(Le - Oe) ? !te && t.abs(Ae - Ie) > Q.outerWidth() / 100 * j.touchSensitivity && (Ae > Ie ? ue.m.right && Ue(i) : ue.m.left && We(i)) : j.autoScrolling && de && t.abs(Le - Oe) > Q.height() / 100 * j.touchSensitivity && (Le > Oe ? Ze("down") : Oe > Le && Ze("up")) 458 } 459 } 460 461 function oo(e) { 462 return void 0 === e.pointerType || "mouse" != e.pointerType 463 } 464 465 function no(e) { 466 var o = e.originalEvent; 467 if (j.fitToSection && W.stop(), oo(o)) { 468 var n = Ko(o); 469 Le = n.y, Ae = n.x 470 } 471 } 472 473 function to(e, o) { 474 for (var n = 0, i = e.slice(t.max(e.length - o, 1)), a = 0; a < i.length; a++) n += i[a]; 475 return t.ceil(n / o) 476 } 477 478 function io(n) { 479 var i = (new Date).getTime(), 480 a = e(p).hasClass(T); 481 if (j.autoScrolling && !oe && !a) { 482 var l = (n = n || o.event).wheelDelta || -n.deltaY || -n.detail, 483 s = t.max(-1, t.min(1, l)), 484 r = void 0 !== n.wheelDeltaX || void 0 !== n.deltaX, 485 c = t.abs(n.wheelDeltaX) < t.abs(n.wheelDelta) || t.abs(n.deltaX) < t.abs(n.deltaY) || !r; 486 fe.length > 149 && fe.shift(), fe.push(t.abs(l)), j.scrollBar && (n.preventDefault ? n.preventDefault() : n.returnValue = !1); 487 var d = i - Ee; 488 if (Ee = i, d > 200 && (fe = []), de) to(fe, 10) >= to(fe, 70) && c && Ze(s < 0 ? "down" : "up"); 489 return !1 490 } 491 j.fitToSection && W.stop() 492 } 493 494 function ao(o, n) { 495 var t = (void 0 === n ? e(w) : n).find(z), 496 i = t.find(M).length; 497 if (!(!t.length || te || i < 2)) { 498 var a = t.find(B), 499 l = null; 500 if (!(l = "left" === o ? a.prev(M) : a.next(M)).length) { 501 if (!j.loopHorizontal) return; 502 l = "left" === o ? a.siblings(":last") : a.siblings(":first") 503 } 504 te = !0, Io(t, l, o) 505 } 506 } 507 508 function lo() { 509 e(B).each(function() { 510 _o(e(this), "internal") 511 }) 512 } 513 514 function so(o, n, i) { 515 if (void 0 !== o) { 516 var a, s, r, c, d, f, h, v, p = { 517 element: o, 518 callback: n, 519 isMovementUp: i, 520 dtop: (s = (a = o).position(), r = s.top, c = s.top > Me, d = r - se + a.outerHeight(), f = j.bigSectionsDestination, a.outerHeight() > se ? (c || f) && "bottom" !== f || (r = d) : (c || re && a.is(":last-child")) && (r = d), Me = r, r), 521 yMovement: Do(o), 522 anchorLink: o.data("anchor"), 523 sectionIndex: o.index(m), 524 activeSlide: o.find(B), 525 activeSection: e(w), 526 leavingSection: e(w).index(m) + 1, 527 localIsResizing: re 528 }; 529 if (!(p.activeSection.is(o) && !re || j.scrollBar && Q.scrollTop() === p.dtop && !o.hasClass(C))) { 530 if (p.activeSlide.length && (h = p.activeSlide.data("anchor"), v = p.activeSlide.index()), e.isFunction(j.onLeave) && !p.localIsResizing) { 531 var g = p.yMovement; 532 if (void 0 !== i && (g = i ? "up" : "down"), !1 === j.onLeave.call(p.activeSection, p.leavingSection, p.sectionIndex + 1, g)) return 533 } 534 j.autoScrolling && j.continuousVertical && void 0 !== p.isMovementUp && (!p.isMovementUp && "up" == p.yMovement || p.isMovementUp && "down" == p.yMovement) && (p = function(o) { 535 o.isMovementUp ? e(w).before(o.activeSection.nextAll(m)) : e(w).after(o.activeSection.prevAll(m).get().reverse()); 536 return Qo(e(w).position().top), lo(), o.wrapAroundElements = o.activeSection, o.dtop = o.element.position().top, o.yMovement = Do(o.element), o.leavingSection = o.activeSection.index(m) + 1, o.sectionIndex = o.element.index(m), o 537 }(p)), p.localIsResizing || vo(p.activeSection), j.scrollOverflow && j.scrollOverflowHandler.beforeLeave(), o.addClass(u).siblings().removeClass(u), fo(o), j.scrollOverflow && j.scrollOverflowHandler.onLeave(), de = !1, No(v, h, p.anchorLink, p.sectionIndex), 538 function(o) { 539 if (j.css3 && j.autoScrolling && !j.scrollBar) { 540 var n = "translate3d(0px, -" + t.round(o.dtop) + "px, 0px)"; 541 Fo(n, !0), j.scrollingSpeed ? (clearTimeout(pe), pe = setTimeout(function() { 542 ro(o) 543 }, j.scrollingSpeed)) : ro(o) 544 } else { 545 var i = function(e) { 546 var o = {}; 547 j.autoScrolling && !j.scrollBar ? (o.options = { 548 top: -e.dtop 549 }, o.element = l) : (o.options = { 550 scrollTop: e.dtop 551 }, o.element = "html, body"); 552 return o 553 }(o); 554 e(i.element).animate(i.options, j.scrollingSpeed, j.easing).promise().done(function() { 555 j.scrollBar ? setTimeout(function() { 556 ro(o) 557 }, 30) : ro(o) 558 }) 559 } 560 }
560(p), $ = p.anchorLink, Ho(p.anchorLink, p.sectionIndex) 561 } 562 } 563 } 564 565 function ro(o) { 566 var n; 567 (n = o).wrapAroundElements && n.wrapAroundElements.length && (n.isMovementUp ? e(S).before(n.wrapAroundElements) : e(b).after(n.wrapAroundElements), Qo(e(w).position().top), lo()), e.isFunction(j.afterLoad) && !o.localIsResizing && j.afterLoad.call(o.element, o.anchorLink, o.sectionIndex + 1), j.scrollOverflow && j.scrollOverflowHandler.afterLoad(), o.localIsResizing || uo(o.element), o.element.addClass(v).siblings().removeClass(v), de = !0, e.isFunction(o.callback) && o.callback.call(this) 568 } 569 570 function co(e, o) { 571 e.attr(o, e.data(o)).removeAttr("data-" + o) 572 } 573 574 function fo(o) { 575 var n; 576 j.lazyLoading && po(o).find("img[data-src], img[data-srcset], source[data-src], source[data-srcset], video[data-src], audio[data-src], iframe[data-src]").each(function() { 577 if (n = e(this), e.each(["src", "srcset"], function(e, o) { 578 var t = n.attr("data-" + o); 579 void 0 !== t && t && co(n, o) 580 }), n.is("source")) { 581 var o = n.closest("video").length ? "video" : "audio"; 582 n.closest(o).get(0).load() 583 } 584 }) 585 } 586 587 function uo(o) { 588 var n = po(o); 589 n.find("video, audio").each(function() { 590 var o = e(this).get(0); 591 o.hasAttribute("data-autoplay") && "function" == typeof o.play && o.play() 592 }), n.find('iframe[src*="youtube.com/embed/"]').each(function() { 593 var o = e(this).get(0); 594 o.hasAttribute("data-autoplay") && ho(o), o.onload = function() { 595 o.hasAttribute("data-autoplay") && ho(o) 596 } 597 }) 598 } 599 600 function ho(e) { 601 e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}', "*") 602 } 603 604 function vo(o) { 605 var n = po(o); 606 n.find("video, audio").each(function() { 607 var o = e(this).get(0); 608 o.hasAttribute("data-keepplaying") || "function" != typeof o.pause || o.pause() 609 }), n.find('iframe[src*="youtube.com/embed/"]').each(function() { 610 var o = e(this).get(0); 611 /youtube\.com\/embed\//.test(e(this).attr("src")) && !o.hasAttribute("data-keepplaying") && e(this).get(0).contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', "*") 612 }) 613 } 614 615 function po(o) { 616 var n = o.find(B); 617 return n.length && (o = e(n)), o 618 } 619 620 function go() { 621 var e = wo(), 622 o = e.section, 623 n = e.slide; 624 o && (j.animateAnchor ? jo(o, n) : Ne(o, n)) 625 } 626 627 function mo() { 628 if (!Te && !j.lockAnchors) { 629 var e = wo(), 630 o = e.section, 631 n = e.slide, 632 t = void 0 === $, 633 i = void 0 === $ && void 0 === n && !te; 634 o && o.length && (o && o !== $ && !t || i || !te && ee != n) && jo(o, n) 635 } 636 } 637 638 function wo() { 639 var e, n, t = o.location.hash; 640 if (t.length) { 641 var i = t.replace("#", "").split("/"), 642 a = t.indexOf("#/") > -1; 643 e = a ? "/" + i[1] : decodeURIComponent(i[0]); 644 var l = a ? i[2] : i[1]; 645 l && l.length && (n = decodeURIComponent(l)) 646 } 647 return { 648 section: e, 649 slide: n 650 } 651 } 652 653 function So(o) { 654 clearTimeout(Se); 655 var n = e(":focus"), 656 t = o.which; 657 if (9 === t) ! function(o) { 658 var n = o.shiftKey, 659 t = e(":focus"), 660 i = e(w), 661 a = i.find(B), 662 l = (a.length ? a : i).find(ye).not('[tabindex="-1"]'); 663 664 function s(e) { 665 return e.preventDefault(), l.first().focus() 666 } 667 t.length ? t.closest(w, B).length || (t = s(o)) : s(o); 668 (!n && t.is(l.last()) || n && t.is(l.first())) && o.preventDefault() 669 }(o); 670 else if (!n.is("textarea") && !n.is("input") && !n.is("select") && "true" !== n.attr("contentEditable") && "" !== n.attr("contentEditable") && j.keyboardScrolling && j.autoScrolling) { 671 e.inArray(t, [40, 38, 32, 33, 34]) > -1 && o.preventDefault(), oe = o.ctrlKey, Se = setTimeout(function() { 672 ! function(o) { 673 var n = o.shiftKey; 674 if (!de && [37, 39].indexOf(o.which) < 0) return; 675 switch (o.which) { 676 case 38: 677 case 33: 678 ue.k.up && je(); 679 break; 680 case 32: 681 if (n && ue.k.up) { 682 je(); 683 break 684 } 685 case 40: 686 case 34: 687 ue.k.down && Ye(); 688 break; 689 case 36: 690 ue.k.up && Xe(1); 691 break; 692 case 35: 693 ue.k.down && Xe(e(m).length); 694 break; 695 case 37: 696 ue.k.left && We(); 697 break; 698 case 39: 699 ue.k.right && Ue(); 700 break; 701 default: 702 ; 703 } 704 }(o) 705 }, 150) 706 } 707 } 708 709 function bo() { 710 e(this).prev().trigger("click") 711 } 712 713 function xo(e) { 714 ce && (oe = e.ctrlKey) 715 } 716 717 function yo(e) { 718 2 == e.which && (Be = e.pageY, le.on("mousemove", Oo)) 719 } 720 721 function Co(e) { 722 2 == e.which && le.off("mousemove") 723 } 724 725 function To() { 726 var o = e(this).closest(m); 727 e(this).hasClass(N) ? ue.m.left && We(o) : ue.m.right && Ue(o) 728 } 729 730 function ko() { 731 ce = !1, oe = !1 732 } 733 734 function Lo(o) { 735 o.preventDefault(); 736 var n = e(this).parent().index(); 737 so(e(m).eq(n)) 738 } 739 740 function Ao(o) { 741 o.preventDefault(); 742 var n = e(this).closest(m).find(z); 743 Io(n, n.find(M).eq(e(this).closest("li").index())) 744 } 745 746 function Oo(e) { 747 de && (e.pageY < Be && ue.m.up ? je() : e.pageY > Be && ue.m.down && Ye()), Be = e.pageY 748 } 749 750 function Io(o, n, i) { 751 var a = o.closest(m), 752 l = { 753 slides: o, 754 destiny: n, 755 direction: i, 756 destinyPos: n.position(), 757 slideIndex: n.index(), 758 section: a, 759 sectionIndex: a.index(m), 760 anchorLink: a.data("anchor"), 761 slidesNav: a.find(F), 762 slideAnchor: Uo(n), 763 prevSlide: a.find(B), 764 prevSlideIndex: a.find(B).index(), 765 localIsResizing: re 766 }; 767 l.xMovement = function(e, o) { 768 if (e == o) return "none"; 769 if (e > o) return "left"; 770 return "right" 771 }(l.prevSlideIndex, l.slideIndex), l.localIsResizing || (de = !1), j.onSlideLeave && !l.localIsResizing && "none" !== l.xMovement && e.isFunction(j.onSlideLeave) && !1 === j.onSlideLeave.call(l.prevSlide, l.anchorLink, l.sectionIndex + 1, l.prevSlideIndex, l.direction, l.slideIndex) ? te = !1 : (n.addClass(u).siblings().removeClass(u), l.localIsResizing || (vo(l.prevSlide), fo(n)), !j.loopHorizontal && j.controlArrows && (a.find(U).toggle(0 !== l.slideIndex), a.find(_).toggle(!n.is(":last-child"))), a.hasClass(u) && !l.localIsResizing && No(l.slideIndex, l.slideAnchor, l.anchorLink, l.sectionIndex), function(e, o, n) { 772 var i = o.destinyPos; 773 if (j.css3) { 774 var a = "translate3d(-" + t.round(i.left) + "px, 0px, 0px)"; 775 Ro(e.find(D)).css(Go(a)), ge = setTimeout(function() { 776 n && Eo(o) 777 }, j.scrollingSpeed, j.easing) 778 } else e.animate({ 779 scrollLeft: t.round(i.left) 780 }, j.scrollingSpeed, j.easing, function() { 781 n && Eo(o) 782 }) 783 }(o, l, !0)) 784 } 785 786 function Eo(o) { 787 var n, t;
788 n = o.slidesNav, t = o.slideIndex, n.find(h).removeClass(u), n.find("li").eq(t).find("a").addClass(u), o.localIsResizing || (e.isFunction(j.afterSlideLoad) && j.afterSlideLoad.call(o.destiny, o.anchorLink, o.sectionIndex + 1, o.slideAnchor, o.slideIndex), de = !0, uo(o.destiny)), te = !1 789 } 790 791 function Mo() { 792 if (Bo(), ie) { 793 var o = e(n.activeElement); 794 if (!o.is("textarea") && !o.is("input") && !o.is("select")) { 795 var i = Q.height(); 796 t.abs(i - Re) > 20 * t.max(Re, i) / 100 && (Ke(!0), Re = i) 797 } 798 } else clearTimeout(ve), ve = setTimeout(function() { 799 Ke(!0) 800 }, 350) 801 } 802 803 function Bo() { 804 var e = j.responsive || j.responsiveWidth, 805 o = j.responsiveHeight, 806 n = e && Q.outerWidth() < e, 807 t = o && Q.height() < o; 808 e && o ? _e(n || t) : e ? _e(n) : o && _e(t) 809 } 810 811 function Ro(e) { 812 var o = "all " + j.scrollingSpeed + "ms " + j.easingcss3; 813 return e.removeClass(r), e.css({ 814 "-webkit-transition": o, 815 transition: o 816 }) 817 } 818 819 function zo(e) { 820 return e.addClass(r) 821 } 822 823 function Ho(o, n) { 824 var t, i, a; 825 t = o, j.menu && (e(j.menu).find(h).removeClass(u), e(j.menu).find('[data-menuanchor="' + t + '"]').addClass(u)), i = o, a = n, j.navigation && (e(L).find(h).removeClass(u), i ? e(L).find('a[href="#' + i + '"]').addClass(u) : e(L).find("li").eq(a).find("a").addClass(u)) 826 } 827 828 function Do(o) { 829 var n = e(w).index(m), 830 t = o.index(m); 831 return n == t ? "none" : n > t ? "up" : "down" 832 } 833 834 function Po(o) { 835 if (!o.hasClass(P)) { 836 var n = e('<div class="' + x + '" />').height(qo(o)); 837 o.addClass(P).wrapInner(n) 838 } 839 } 840 841 function qo(e) { 842 var o = se; 843 if (j.paddingTop || j.paddingBottom) { 844 var n = e; 845 n.hasClass(g) || (n = e.closest(m)); 846 var t = parseInt(n.css("padding-top")) + parseInt(n.css("padding-bottom")); 847 o = se - t 848 } 849 return o 850 } 851 852 function Fo(e, o) { 853 o ? Ro(le) : zo(le), le.css(Go(e)), setTimeout(function() { 854 le.removeClass(r) 855 }, 10) 856 } 857 858 function Vo(o) { 859 var n = le.find(m + '[data-anchor="' + o + '"]'); 860 if (!n.length) { 861 var t = void 0 !== o ? o - 1 : 0; 862 n = e(m).eq(t) 863 } 864 return n 865 } 866 867 function jo(e, o) { 868 var n = Vo(e); 869 if (n.length) { 870 var t, i, a, l = (t = o, (a = (i = n).find(M + '[data-anchor="' + t + '"]')).length || (t = void 0 !== t ? t : 0, a = i.find(M).eq(t)), a); 871 e === $ || n.hasClass(u) ? Yo(l) : so(n, function() { 872 Yo(l) 873 }) 874 } 875 } 876 877 function Yo(e) { 878 e.length && Io(e.closest(z), e) 879 } 880 881 function No(e, o, n, t) { 882 var i = ""; 883 j.anchors.length && !j.lockAnchors && (e ? (void 0 !== n && (i = n), void 0 === o && (o = e), ee = o, Xo(i + "/" + o)) : void 0 !== e ? (ee = o, Xo(n)) : Xo(n)), Wo() 884 } 885 886 function Xo(e) { 887 if (j.recordHistory) location.hash = e; 888 else if (ie || ae) o.history.replaceState(i, i, "#" + e); 889 else { 890 var n = o.location.href.split("#")[0]; 891 o.location.replace(n + "#" + e) 892 } 893 } 894 895 function Uo(e) { 896 var o = e.data("anchor"), 897 n = e.index(); 898 return void 0 === o && (o = n), o 899 } 900 901 function Wo() { 902 var o = e(w), 903 n = o.find(B), 904 t = Uo(o), 905 i = Uo(n), 906 a = String(t); 907 n.length && (a = a + "-" + i), a = a.replace("/", "-").replace("#", ""); 908 var l = new RegExp("\\b\\s?" + f + "-[^\\s]+\\b", "g"); 909 J[0].className = J[0].className.replace(l, ""), J.addClass(f + "-" + a) 910 } 911 912 function Ko(e) { 913 var o = []; 914 return o.y = void 0 !== e.pageY && (e.pageY || e.pageX) ? e.pageY : e.touches[0].pageY, o.x = void 0 !== e.pageX && (e.pageY || e.pageX) ? e.pageX : e.touches[0].pageX, ae && oo(e) && (j.scrollBar || !j.autoScrolling) && (o.y = e.touches[0].pageY, o.x = e.touches[0].pageX), o 915 } 916 917 function _o(e, o) { 918 De(0, "internal"), void 0 !== o && (re = !0), Io(e.closest(z), e), void 0 !== o && (re = !1), De(Ce.scrollingSpeed, "internal") 919 } 920 921 function Qo(e) { 922 var o = t.round(e); 923 j.css3 && j.autoScrolling && !j.scrollBar ? Fo("translate3d(0px, -" + o + "px, 0px)", !1) : j.autoScrolling && !j.scrollBar ? le.css("top", -o) : W.scrollTop(o) 924 } 925 926 function Go(e) { 927 return { 928 "-webkit-transform": e, 929 "-moz-transform": e, 930 "-ms-transform": e, 931 transform: e 932 } 933 } 934 935 function Jo(o, n, t) { 936 "all" !== n ? ue[t][n] = o : e.each(Object.keys(ue[t]), function(e, n) { 937 ue[t][n] = o 938 }) 939 } 940 941 function Zo(e, o, n) { 942 j[e] = o, "internal" !== n && (Ce[e] = o) 943 } 944 945 function $o() { 946 e("html").hasClass(d) ? en("error", "Fullpage.js can only be initialized once and you are doing it multiple times!") : (j.continuousVertical && (j.loopTop || j.loopBottom) && (j.continuousVertical = !1, en("warn", "Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")), j.scrollBar && j.scrollOverflow && en("warn", "Option `scrollBar` is mutually exclusive with `scrollOverflow`. Sections with scrollOverflow might not work well in Firefox"), !j.continuousVertical || !j.scrollBar && j.autoScrolling || (j.continuousVertical = !1, en("warn", "Scroll bars (`scrollBar:true` or `autoScrolling:false`) are mutually exclusive with `continuousVertical`; `continuousVertical` disabled")), j.scrollOverflow && !j.scrollOverflowHandler && (j.scrollOverflow = !1, en("error", "The option `scrollOverflow:true` requires the file `scrolloverflow.min.js`. Please include it before fullPage.js.")), e.each(["fadingEffect", "continuousHorizontal", "scrollHorizontally", "interlockedSlides", "resetSliders", "responsiveSlides", "offsetSections", "dragAndMove", "scrollOverflowReset", "parallax"], function(e, o) { 947 j[o] && en("warn", "fullpage.js extensions require jquery.fullpage.extensions.min.js file instead of the usual jquery.fullpage.js. Requested: " + o) 948 }), e.each(j.anchors, function(o, n) { 949 var t = G.find("[name]").filter(function() { 950 return e(this).attr("name") && e(this).attr("name").toLowerCase() == n.toLowerCase() 951 }), 952 i = G.find("[id]").filter(function() { 953 return e(this).attr("id") && e(this).attr("id").toLowerCase() == n.toLowerCase() 954 }); 955 (i.length || t.length) && (en("error", "data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE)."), i.length && en("error", '"' + n + '" is is being used by another element `id` property'), t.length && en("error", '"' + n + '" is is being used by another element `name` property')) 956 })) 957 } 958 959 function en(e, o) { 960 console && console[e] && console[e]("fullPage: " + o) 961 } 962 } 963}); 964//# sourceMappingURL=jquery.fullpage.min.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.