PageSourceSearch

https://centerphiladelphia.com/public/index/js/jquery.fullPage.min.js

js centerphiladelphia.com collected 2026-10-07 19:58:30 UTC 43,345 bytes, 1,013 lines download raw bytes

1/*!
2 * fullPage 2.7.1
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(c, l) {
9    "function" === typeof define && define.amd ? define(["jquery"], function(m) {
10        return l(m, c, c.document, c.Math)
11    }) : "undefined" !== typeof exports ? module.exports = l(require("jquery"), c, c.document, c.Math) : l(jQuery, c, c.document, c.Math)
12})("undefined" !== typeof window ? window : this, function(c, l, m, p, H) {
13    var n = c(l),
14        w = c(m);
15    c.fn.fullpage = function(d) {
16        function La() {
17            h.css({
18                height: "100%",
19                position: "relative"
20            });
21            h.addClass("fullpage-wrapper");
22            c("html").addClass("fp-enabled");
23            d.css3 && (d.css3 = Ma());
24            d.anchors.length || (d.anchors =
25                c("[data-anchor]").map(function() {
26                    return c(this).data("anchor").toString()
27                }).get());
28            e.setAllowScrolling(!0);
29            h.removeClass("fp-destroyed");
30            Na();
31            c(".fp-section").each(function(a) {
32                var b = c(this),
33                    e = b.find(".fp-slide"),
34                    h = e.length;
35                a || 0 !== c(".fp-section.active").length || b.addClass("active");
36                b.css("height", q + "px");
37                d.paddingTop && b.css("padding-top", d.paddingTop);
38                d.paddingBottom && b.css("padding-bottom", d.paddingBottom);
39                "undefined" !== typeof d.sectionsColor[a] && b.css("background-color", d.sectionsColor[a]);
40                "undefined" !==
41                typeof d.anchors[a] && (b.attr("data-anchor", d.anchors[a]), b.hasClass("active") && I(d.anchors[a], a));
42                d.menu && d.css3 && c(d.menu).closest(".fullpage-wrapper").length && c(d.menu).appendTo(r);
43                0 < h ? Oa(b, e, h) : d.verticalCentered && ia(b)
44            });
45            e.setAutoScrolling(d.autoScrolling, "internal");
46            var a = c(".fp-section.active").find(".fp-slide.active");
47            a.length && (0 !== c(".fp-section.active").index(".fp-section") || 0 === c(".fp-section.active").index(".fp-section") && 0 !== a.index()) && U(a);
48            d.fixedElements && d.css3 && c(d.fixedElements).appendTo(r);
49            d.navigation && Pa();
50            d.scrollOverflow ? ("complete" === m.readyState && ja(), n.on("load", ja)) : ka();
51            la();
52            if (!d.animateAnchor && (a = l.location.hash.replace("#", "").split("/")[0], a.length)) {
53                var b = c('[data-anchor="' + a + '"]');
54                b.length && (d.autoScrolling ? x(b.position().top) : (x(0), t.scrollTop(b.position().top)), I(a, null), c.isFunction(d.afterLoad) && d.afterLoad.call(b, a, b.index(".fp-section") + 1), b.addClass("active").siblings().removeClass("active"))
55            }
56            ma();
57            n.on("load", function() {
58                var a = l.location.hash.replace("#", "").split("/"),
59                    b = a[0],
60                    a = a[1];
61                b && V(b, a)
62            })
63        }
64
65        function Oa(a, b, g) {
66            var f = 100 * g,
67                e = 100 / g;
68            b.wrapAll('<div class="fp-slidesContainer" />');
69            b.parent().wrap('<div class="fp-slides" />');
70            a.find(".fp-slidesContainer").css("width", f + "%");
71            1 < g && (d.controlArrows && Qa(a), d.slidesNavigation && Ra(a, g));
72            b.each(function(a) {
73                c(this).css("width", e + "%");
74                d.verticalCentered && ia(c(this))
75            });
76            a = a.find(".fp-slide.active");
77            a.length && (0 !== c(".fp-section.active").index(".fp-section") || 0 === c(".fp-section.active").index(".fp-section") && 0 !== a.index()) ? U(a) :
78                b.eq(0).addClass("active")
79        }
80
81        function Na() {
82            c(d.sectionSelector).each(function() {
83                c(this).addClass("fp-section")
84            });
85            c(d.slideSelector).each(function() {
86                c(this).addClass("fp-slide")
87            })
88        }
89
90        function Qa(a) {
91            a.find(".fp-slides").after('<div class="fp-controlArrow fp-prev"></div><div class="fp-controlArrow fp-next"></div>');
92            "#fff" != d.controlArrowColor && (a.find(".fp-controlArrow.fp-next").css("border-color", "transparent transparent transparent " + d.controlArrowColor), a.find(".fp-controlArrow.fp-prev").css("border-color",
93                "transparent " + d.controlArrowColor + " transparent transparent"));
94            d.loopHorizontal || a.find(".fp-controlArrow.fp-prev").hide()
95        }
96
97        function Pa() {
98            r.append('<div id="fp-nav"><ul></ul></div>');
99            var a = c("#fp-nav");
100            a.addClass(function() {
101                return d.showActiveTooltip ? "fp-show-active " + d.navigationPosition : d.navigationPosition
102            });
103            for (var b = 0; b < c(".fp-section").length; b++) {
104                var g = "";
105                d.anchors.length && (g = d.anchors[b]);
106                var g = '<li><a href="#' + g + '"><span></span></a>',
107                    f = d.navigationTooltips[b];
108                "undefined" !== typeof f && "" !==
109                    f && (g += '<div class="fp-tooltip ' + d.navigationPosition + '">' + f + "</div>");
110                g += "</li>";
111                a.find("ul").append(g)
112            }
113            c("#fp-nav").css("margin-top", "-" + c("#fp-nav").height() / 2 + "px");
114            c("#fp-nav").find("li").eq(c(".fp-section.active").index(".fp-section")).find("a").addClass("active")
115        }
116
117        function ja() {
118            c(".fp-section").each(function() {
119                var a = c(this).find(".fp-slide");
120                a.length ? a.each(function() {
121                    J(c(this))
122                }) : J(c(this))
123            });
124            ka()
125        }
126
127        function ka() {
128            var a = c(".fp-section.active"),
129                b = a.find("SLIDES_WRAPPER"),
130                g = a.find(".fp-scrollable");
131            b.length && (g = b.find(".fp-slide.active"));
132            g.mouseover();
133            K(a);
134            na(a);
135            c.isFunction(d.afterLoad) && d.afterLoad.call(a, a.data("anchor"), a.index(".fp-section") + 1);
136            c.isFunction(d.afterRender) && d.afterRender.call(h)
137        }
138
139        function oa() {
140            var a;
141            if (!d.autoScrolling || d.scrollBar) {
142                for (var b = n.scrollTop(), g = 0, f = p.abs(b - m.querySelectorAll(".fp-section")[0].offsetTop), h = m.querySelectorAll(".fp-section"), k = 0; k < h.length; ++k) {
143                    var l = p.abs(b - h[k].offsetTop);
144                    l < f && (g = k, f = l)
145                }
146                a = c(h).eq(g)
147            }
148            if (!d.autoScrolling || d.scrollBar) {
149                if (!a.hasClass("active") &&
150                    !a.hasClass("fp-auto-height")) {
151                    W = !0;
152                    b = c(".fp-section.active");
153                    g = b.index(".fp-section") + 1;
154                    f = X(a);
155                    h = a.data("anchor");
156                    k = a.index(".fp-section") + 1;
157                    l = a.find(".fp-slide.active");
158                    if (l.length) var r = l.data("anchor"),
159                        q = l.index();
160                    y && (a.addClass("active").siblings().removeClass("active"), c.isFunction(d.onLeave) && d.onLeave.call(b, g, k, f), c.isFunction(d.afterLoad) && d.afterLoad.call(a, h, k), K(a), e.setFitToSection(!a.hasClass("fp-auto-height")), I(h, k - 1), d.anch
160ors.length && (A = h, Y(q, r, h, k)));
161                    clearTimeout(Z);
162                    Z = setTimeout(function() {
163                        W = !1
164                    }, 100)
165                }
166                d.fitToSection && (clearTimeout(aa), aa = setTimeout(function() {
167                    y && d.fitToSection && (c(".fp-section.active").is(a) && requestAnimFrame(function() {
168                        v = !0
169                    }), B(a), v = !1)
170                }, d.fitToSectionDelay))
171            }
172        }
173
174        function pa(a) {
175            return a.find(".fp-slides").length ? a.find(".fp-slide.active").find(".fp-scrollable") : a.find(".fp-scrollable")
176        }
177
178        function L(a, b) {
179            if (k.m[a]) {
180                var d, c;
181                "down" == a ? (d = "bottom", c = e.moveSectionDown) : (d = "top", c = e.moveSectionUp);
182                if (0 < b.length)
183                    if (d = "top" === d ? !b.scrollTop() : "bottom" === d ? b.scrollTop() + 1 + b.innerHeight() >=
184                        b[0].scrollHeight : void 0, d) c();
185                    else return !0;
186                else c()
187            }
188        }
189
190        function Sa(a) {
191            var b = a.originalEvent;
192            if (!qa(a.target) && ba(b)) {
193                d.autoScrolling && a.preventDefault();
194                a = c(".fp-section.active");
195                var g = pa(a);
196                y && !z && (b = ra(b), D = b.y, M = b.x, a.find(".fp-slides").length && p.abs(N - M) > p.abs(E - D) ? p.abs(N - M) > n.width() / 100 * d.touchSensitivity && (N > M ? k.m.right && e.moveSlideRight() : k.m.left && e.moveSlideLeft()) : d.autoScrolling && p.abs(E - D) > n.height() / 100 * d.touchSensitivity && (E > D ? L("down", g) : D > E && L("up", g)))
197            }
198        }
199
200        function qa(a, b) {
201            b = b || 0;
202            var g = c(a).parent();
203            return b < d.normalScrollElementTouchThreshold && g.is(d.normalScrollElements) ? !0 : b == d.normalScrollElementTouchThreshold ? !1 : qa(g, ++b)
204        }
205
206        function ba(a) {
207            return "undefined" === typeof a.pointerType || "mouse" != a.pointerType
208        }
209
210        function Ta(a) {
211            a = a.originalEvent;
212            d.fitToSection && t.stop();
213            ba(a) && (a = ra(a), E = a.y, N = a.x)
214        }
215
216        function sa(a, b) {
217            for (var d = 0, c = a.slice(p.max(a.length - b, 1)), e = 0; e < c.length; e++) d += c[e];
218            return p.ceil(d / b)
219        }
220
221        function u(a) {
222            var b = (new Date).getTime();
223            if (d.autoScrolling && !O) {
224                a = a || l.event;
225                var g = a.wheelDelta || -a.deltaY || -a.detail,
226                    f = p.max(-1, p.min(1, g));
227                149 < C.length && C.shift();
228                C.push(p.abs(g));
229                d.scrollBar && (a.preventDefault ? a.preventDefault() : a.returnValue = !1);
230                a = c(".fp-section.active");
231                a = pa(a);
232                g = b - ta;
233                ta = b;
234                200 < g && (C = []);
235                y && (b = sa(C, 10), g = sa(C, 70), b >= g && (0 > f ? L("down", a) : L("up", a)));
236                return !1
237            }
238            d.fitToSection && t.stop()
239        }
240
241        function ua(a) {
242            var b = c(".fp-section.active").find(".fp-slides"),
243                g = b.find(".fp-slide").length;
244            if (!(!b.length || z || 2 > g)) {
245                var g = b.find(".fp-slide.active"),
246                    f = null,
247                    f = "prev" === a ? g.prev(".fp-slide") :
248                    g.next(".fp-slide");
249                if (!f.length) {
250                    if (!d.loopHorizontal) return;
251                    f = "prev" === a ? g.siblings(":last") : g.siblings(":first")
252                }
253                z = !0;
254                F(b, f)
255            }
256        }
257
258        function va() {
259            c(".fp-slide.active").each(function() {
260                U(c(this), "internal")
261            })
262        }
263
264        function B(a, b, g) {
265            requestAnimFrame(function() {
266                var f = a.position();
267                if ("undefined" !== typeof f) {
268                    var e = a.hasClass("fp-auto-height") ? f.top == 0 ? 0 : f.top - q + a.height() : f.top,
269                        f = {
270                            element: a,
271                            callback: b,
272                            isMovementUp: g,
273                            dest: f,
274                            dtop: e,
275                            yMovement: X(a),
276                            anchorLink: a.data("anchor"),
277                            sectionIndex: a.index(".fp-section"),
278                            activeSlide: a.find(".fp-slide.active"),
279                            activeSection: c(".fp-section.active"),
280                            leavingSection: c(".fp-section.active").index(".fp-section") + 1,
281                            localIsResizing: v
282                        };
283                    if (!(f.activeSection.is(a) && !v || d.scrollBar && n.scrollTop() === f.dtop && !a.hasClass("fp-auto-height"))) {
284                        if (f.activeSlide.length) var h = f.activeSlide.data("anchor"),
285                            k = f.activeSlide.index();
286                        d.autoScrolling && d.continuousVertical && "undefined" !== typeof f.isMovementUp && (!f.isMovementUp && "up" == f.yMovement || f.isMovementUp && "down" == f.yMovement) && (f.isMovementUp ? c(".fp-section.active").before(f.activeSection.nextAll(".fp-section")) :
287                            c(".fp-section.active").after(f.activeSection.prevAll(".fp-section").get().reverse()), x(c(".fp-section.active").position().top), va(), f.wrapAroundElements = f.activeSection, f.dest = f.element.position(), f.dtop = f.dest.top, f.yMovement = X(f.element));
288                        if (c.isFunction(d.onLeave) && !f.localIsResizing) {
289                            if (!1 === d.onLeave.call(f.activeSection, f.leavingSection, f.sectionIndex + 1, f.yMovement)) return;
290                            Ua(f.activeSection)
291                        }
292                        a.addClass("active").siblings().removeClass("active");
293                        K(a);
294                        y = !1;
295                        Y(k, h, f.anchorLink, f.sectionIndex);
296                        Va(f);
297                        A = f.anchorLink;
298                        I(f.anchorLink, f.sectionIndex)
299                    }
300                }
301            })
302        }
303
304        function Va(a) {
305            if (d.css3 && d.autoScrolling && !d.scrollBar) wa("translate3d(0px, -" + a.dtop + "px, 0px)", !0), d.scrollingSpeed ? ca = setTimeout(function() {
306                da(a)
307            }, d.scrollingSpeed) : da(a);
308            else {
309                var b = Wa(a);
310                c(b.element).animate(b.options, d.scrollingSpeed, d.easing).promise().done(function() {
311                    da(a)
312                })
313            }
314        }
315
316        function Wa(a) {
317            var b = {};
318            d.autoScrolling && !d.scrollBar ? (b.options = {
319                top: -a.dtop
320            }, b.element = ".fullpage-wrapper") : (b.options = {
321                scrollTop: a.dtop
322            }, b.element = "html, body");
323            return b
324        }
325
326        function da(a) {
327            a.wrapAroundElements && a.wrapAroundElements.length && (a.isMovementUp ? c(".fp-section:first").before(a.wrapAroundElements) : c(".fp-section:last").after(a.wrapAroundElements), x(c(".fp-section.active").position().top), va());
328            a.element.find(".fp-scrollable").mouseover();
329            e.setFitToSection(!a.element.hasClass("fp-auto-height"));
330            c.isFunction(d.afterLoad) && !a.localIsResizing && d.afterLoad.call(a.element, a.anchorLink, a.sectionIndex + 1);
331            na(a.element);
332            y = !0;
333            c.isFunction(a.callback) && a.callback.call(this)
334        }
335
336        function K(a) {
337            var b = a.find(".fp-slide.active");
338            b.length && (a = c(b));
339            a.find("img[data-src], source[data-src], audio[data-src]").each(function() {
340                c(this).attr("src", c(this).data("src"));
341                c(this).removeAttr("data-src");
342                c(this).is("source") && c(this).closest("video").get(0).load()
343            })
344        }
345
346        function na(a) {
347            a.find("video, audio").each(function() {
348                var a = c(this).get(0);
349                a.hasAttribute("autoplay") && "function" === typeof a.play && a.play()
350            })
351        }
352
353        function Ua(a) {
354            a.find("video, audio").each(function() {
355                var a = c(this).get(0);
356                a.hasAttribute("data-ignore") ||
357                    "function" !== typeof a.pause || a.pause()
358            })
359        }
360
361        function xa() {
362            if (!W && !d.lockAnchors) {
363                var a = l.location.hash.replace("#", "").split("/"),
364                    b = a[0],
365                    a = a[1];
366                if (b.length) {
367                    var c = "undefined" === typeof A,
368                        f = "undefined" === typeof A && "undefined" === typeof a && !z;
369                    (b && b !== A && !c || f || !z && ea != a) && V(b, a)
370                }
371            }
372        }
373
374        function Xa(a) {
375            y && (a.pageY < P ? e.moveSectionUp() : a.pageY > P && e.moveSectionDown());
376            P = a.pageY
377        }
378
379        function F(a, b) {
380            var g = b.position(),
381                f = b.index(),
382                e = a.closest(".fp-section"),
383                h = e.index(".fp-section"),
384                k = e.data("anchor"),
385                l = e.find(".fp-slidesNav"),
386                m = ya(b),
387                n = v;
388            if (d.onSlideLeave) {
389                var r = e.find(".fp-slide.active"),
390                    q = r.index(),
391                    t;
392                t = q == f ? "none" : q > f ? "left" : "right";
393                if (!n && "none" !== t && c.isFunction(d.onSlideLeave) && !1 === d.onSlideLeave.call(r, k, h + 1, q, t, f)) {
394                    z = !1;
395                    return
396                }
397            }
398            b.addClass("active").siblings().removeClass("active");
399            n || K(b);
400            !d.loopHorizontal && d.controlArrows && (e.find(".fp-controlArrow.fp-prev").toggle(0 !== f), e.find(".fp-controlArrow.fp-next").toggle(!b.is(":last-child")));
401            e.hasClass("active") && Y(f, m, k, h);
402            var u = function() {
403                n || c.isFunction(d.afterSlideLoad) &&
404                    d.afterSlideLoad.call(b, k, h + 1, m, f);
405                z = !1
406            };
407            d.css3 ? (g = "translate3d(-" + p.round(g.left) + "px, 0px, 0px)", za(a.find(".fp-slidesContainer"), 0 < d.scrollingSpeed).css(Aa(g)), fa = setTimeout(function() {
408                u()
409            }, d.scrollingSpeed, d.easing)) : a.animate({
410                scrollLeft: p.round(g.left)
411            }, d.scrollingSpeed, d.easing, function() {
412                u()
413            });
414            l.find(".active").removeClass("active");
415            l.find("li").eq(f).find("a").addClass("active")
416        }
417
418        function Ba() {
419            la();
420            if (Q) {
421                var a = c(m.activeElement);
422                a.is("textarea") || a.is("input") || a.is("select") || (a = n.height(),
423                    p.abs(a - ga) > 20 * p.max(ga, a) / 100 && (e.reBuild(!0), ga = a))
424            } else clearTimeout(ha), ha = setTimeout(function() {
425                e.reBuild(!0)
426            }, 350)
427        }
428
429        function la() {
430            var a = d.responsive || d.responsiveWidth,
431                b = d.responsiveHeight;
432            a && e.setResponsive(n.width() < a);
433            b && (h.hasClass("fp-responsive") || e.setResponsive(n.height() < b))
434        }
435
436        function za(a) {
437            var b = "all " + d.scrollingSpeed + "ms " + d.easingcss3;
438            a.removeClass("fp-notransition");
439            return a.css({
440                "-webkit-transition": b,
441                transition: b
442            })
443        }
444
445        function Ya(a, b) {
446            if (825 > a || 900 > b) {
447                var d = p.min(100 * a / 825, 100 * b /
448                    900).toFixed(2);
449                r.css("font-size", d + "%")
450            } else r.css("font-size", "100%")
451        }
452
453        function I(a, b) {
454            d.menu && (c(d.menu).find(".active").removeClass("active"), c(d.menu).find('[data-menuanchor="' + a + '"]').addClass("active"));
455            d.navigation && (c("#fp-nav").find(".active").removeClass("active"), a ? c("#fp-nav").find('a[href="#' + a + '"]').addClass("active") : c("#fp-nav").find("li").eq(b).find("a").addClass("active"))
456        }
457
458        function X(a) {
459            var b = c(".fp-section.active").index(".fp-section");
460            a = a.index(".fp-section");
461            return b == a ? "none" :
462                b > a ? "up" : "down"
463        }
464
465        function J(a) {
466            a.css("overflow", "hidden");
467            var b = a.closest(".fp-section"),
468                c = a.find(".fp-scrollable"),
469                f;
470            c.length ? f = c.get(0).scrollHeight : (f = a.get(0).scrollHeight, d.verticalCentered && (f = a.find(".fp-tableCell").get(0).scrollHeight));
471            b = q - parseInt(b.css("padding-bottom")) - parseInt(b.css("padding-top"));
472            f > b ? c.length ? c.css("height", b + "px").parent().css("height", b + "px") : (d.verticalCentered ? a.find(".fp-tableCell").wrapInner('<div class="fp-scrollable" />') : a.wrapInner('<div class="fp-scrollable" />'),
473                a.find(".fp-scrollable").slimScroll({
474                    allowPageScroll: !0,
475                    height: b + "px",
476                    size: "10px",
477                    alwaysVisible: !0
478                })) : Ca(a);
479            a.css("overflow", "")
480        }
481
482        function Ca(a) {
483            a.find(".fp-scrollable").children().first().unwrap().unwrap();
484            a.find(".slimScrollBar").remove();
485            a.find(".slimScrollRail").remove()
486        }
487
488        function ia(a) {
489            a.addClass("fp-table").wrapInner('<div class="fp-tableCell" style="height:' + Da(a) + 'px;" />')
490        }
491
492        function Da(a) {
493            var b = q;
494            if (d.paddingTop || d.paddingBottom) b = a, b.hasClass("fp-section") || (b = a.closest(".fp-section")), a = parseInt(b.css("padding-top")) +
495                parseInt(b.css("padding-bottom")), b = q - a;
496            return b
497        }
498
499        function wa(a, b) {
500            b ? za(h) : h.addClass("fp-notransition");
501            h.css(Aa(a));
502            setTimeout(function() {
503                h.removeClass("fp-notransition")
504            }, 10)
505        }
506
507        function Ea(a) {
508            var b = c('.fp-section[data-anchor="' + a + '"]');
509            b.length || (b = c(".fp-section").eq(a - 1));
510            return b
511        }
512
513        function V(a, b) {
514            var d = Ea(a);
515            "undefined" === typeof b && (b = 0);
516            a === A || d.hasClass("active") ? Fa(d, b) : B(d, function() {
517                Fa(d, b)
518            })
519        }
520
521        function Fa(a, b) {
522            if ("undefined" !== typeof b) {
523                var d = a.find(".fp-slides"),
524                    c;
525                c = a.find(".fp-slides");
526                var e =
527                    c.find('.fp-slide[data-anchor="' + b + '"]');
528                e.length || (e = c.find(".fp-slide").eq(b));
529                c = e;
530                c.length && F(d, c)
531            }
532        }
533
534        function Ra(a, b) {
535            a.append('<div class="fp-slidesNav"><ul></ul></div>');
536            var c = a.find(".fp-slidesNav");
537            c.addClass(d.slidesNavPosition);
538            for (var f = 0; f < b; f++) c.find("ul").append('<li><a href="#"><span></span></a></li>');
539            c.css("margin-left", "-" + c.width() / 2 + "px");
540            c.find("li").first().find("a").addClass("active")
541        }
542
543        function Y(a, b, c, f) {
544            f = "";
545            d.anchors.length && !d.lockAnchors && (a ? ("undefined" !== typeof c && (f = c),
546                "undefined" === typeof b && (b = a), ea = b, Ga(f + "/" + b)) : ("undefined" !== typeof a && (ea = b), Ga(c)));
547            ma()
548        }
549
550        function Ga(a) {
551            if (d.recordHistory) location.hash = a;
552            else if (Q || R) history.replaceState(H, H, "#" + a);
553            else {
554                var b = l.location.href.split("#")[0];
555                l.location.replace(b + "#" + a)
556            }
557        }
558
559        function ya(a) {
560            var b = a.data("anchor");
561            a = a.index();
562            "undefined" === typeof b && (b = a);
563            return b
564        }
565
566        function ma() {
567            var a = c(".fp-section.active"),
568                b = a.find(".fp-slide.active"),
569                e = a.data("anchor"),
570                f = ya(b),
571                a = a.index(".fp-section"),
572                a = String(a);
573            d.anchors.length &&
574                (a = e);
575            b.length && (a = a + "-" + f);
576            a = a.replace("/", "-").replace("#", "");
577            r[0].className = r[0].className.replace(RegExp("\\b\\s?fp-viewing-[^\\s]+\\b", "g"), "");
578            r.addClass("fp-viewing-" + a)
579        }
580
581        function Ma() {
582            var a = m.createElement("p"),
583                b, c = {
584                    webkitTransform: "-webkit-transform",
585                    OTransform: "-o-transform",
586                    msTransform: "-ms-transform",
587                    MozTransform: "-moz-transform",
588                    transform: "transform"
589                };
590            m.body.insertBefore(a, null);
591            for (var d in c) a.style[d] !== H && (a.style[d] = "translate3d(1px,1px,1px)", b = l.getComputedStyle(a).getPropertyValue(c[d]));
592            m.body.removeChild(a);
593            return b !== H && 0 < b.length && "none" !== b
594        }
595
596        function Za() {
597            if (Q || R) {
598                var a = Ha();
599                c(".fullpage-wrapper").off("touchstart " + a.down).on("touchstart " + a.down, Ta);
600                c(".fullpage-wrapper").off("touchmove " + a.move).on("touchmove " + a.move, Sa)
601            }
602        }
603
604        function $a() {
605            if (Q || R) {
606                var a = Ha();
607                c(".fullpage-wrapper").off("touchstart " + a.down);
608                c(".fullpage-wrapper").off("touchmove " + a.move)
609            }
610        }
611
612        function Ha() {
613            return l.PointerEvent ? {
614                down: "pointerdown",
615                move: "pointermove"
616            } : {
617                down: "MSPointerDown",
618                move: "MSPointerMove"
619            }
620        }
621
622        function ra(a) {
623            var b = [];
624            b.y = "undefined" !== typeof a.pageY && (a.pageY || a.pageX) ? a.pageY : a.touches[0].pageY;
625            b.x = "undefined" !== typeof a.pageX && (a.pageY || a.pageX) ? a.pageX : a.touches[0].pageX;
626            R && ba(a) && d.scrollBar && (b.y = a.touches[0].pageY, b.x = a.touches[0].pageX);
627            return b
628        }
629
630        function U(a, b) {
631            e.setScrollingSpeed(0, "internal");
632            "undefined" !== typeof b && (v = !0);
633            F(a.closest(".fp-slides"), a);
634            "undefined" !== typeof b && (v = !1);
635            e.setScrollingSpeed(G.scrollingSpeed, "internal")
636        }
637
638        function x(a) {
639            d.scrollBar ? h.scrollTop(a) : d.css3 ? wa("translate3d(0px, -" +
640                a + "px, 0px)", !1) : h.css("top", -a)
641        }
642
643        function Aa(a) {
644            return {
645                "-webkit-transform": a,
646                "-moz-transform": a,
647                "-ms-transform": a,
648                transform: a
649            }
650        }
651
652        function Ia(a, b, c) {
653            switch (b) {
654                case "up":
655                    k[c].up = a;
656                    break;
657                case "down":
658                    k[c].down = a;
659                    break;
660                case "left":
661                    k[c].left = a;
662                    break;
663                case "right":
664                    k[c].right = a;
665                    break;
666                case "all":
667                    "m" == c ? e.setAllowScrolling(a) : e.setKeyboardScrolling(a)
668            }
669        }
670
671        function ab() {
672            x(0);
673            c("#fp-nav, .fp-slidesNav, .fp-controlArrow").remove();
674            c(".fp-section").css({
675                height: "",
676                "background-color": "",
677                padding: ""
678            });
679            c(".fp-slide").css({
680                width: ""
681            });
682            h.css({
683                height: "",
684                position: "",
685                "-ms-touch-action": "",
686                "touch-action": ""
687            });
688            t.css({
689                overflow: "",
690                height: ""
691            });
692            c("html").removeClass("fp-enabled");
693            c.each(r.get(0).className.split(/\s+/), function(a, b) {
694                0 === b.indexOf("fp-viewing") && r.removeClass(b)
695            });
696            c(".fp-section, .fp-slide").each(function() {
697                Ca(c(this));
698                c(this).removeClass("fp-table active")
699            });
700            h.addClass("fp-notransition");
701            h.find(".fp-tableCell, .fp-slidesContainer, .fp-slides").each(function() {
702                c(this).replaceWith(this.childNodes)
703            });
704            t.scrollTop(0)
705        }
706
707        function S(a,
708            b, c) {
709            d[a] = b;
710            "internal" !== c && (G[a] = b)
711        }
712
713        function T(a, b) {
714            console && console[a] && console[a]("fullPage: " + b)
715        }
716        var t = c("html, body"),
717            r = c("body"),
718            e = c.fn.fullpage;
719        d = c.extend({
720            menu: !1,
721            anchors: [],
722            lockAnchors: !1,
723            navigation: !1,
724            navigationPosition: "right",
725            navigationTooltips: [],
726            showActiveTooltip: !1,
727            slidesNavigation: !1,
728            slidesNavPosition: "bottom",
729            scrollBar: !1,
730            css3: !0,
731            scrollingSpeed: 700,
732            autoScrolling: !0,
733            fitToSection: !0,
734            fitToSectionDelay: 1E3,
735            easing: "easeInOutCubic",
736            easingcss3: "ease",
737            loopBottom: !1,
738            loopTop: !1,
739            loopHorizontal: !0,
740            continuousVertical: !1,
741            normalScrollElements: null,
742            scrollOverflow: !1,
743            touchSensitivity: 5,
744            normalScrollElementTouchThreshold: 5,
745            keyboardScrolling: !0,
746            animateAnchor: !0,
747            recordHistory: !0,
748            controlArrows: !0,
749            controlArrowColor: "#fff",
750            verticalCentered: !0,
751            resize: !1,
752            sectionsColor: [],
753            paddingTop: 0,
754            paddingBottom: 0,
755            fixedElements: null,
756            responsive: 0,
757            responsiveWidth: 0,
758            responsiveHeight: 0,
759            sectionSelector: ".section",
760            slideSelector: ".slide",
761            afterLoad: null,
762            onLeave: null,
763            afterRender: null,
764            afterResize: null,
765            afterReBuild: null,
766            afterSlideLoad: null,
767            onSlideLeave: null
768        }, d);
769        (function() {
770            d.continuousVertical && (d.loopTop || d.loopBottom) && (d.continuousVertical = !1, T("warn", "Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled"));
771            d.scrollBar && d.scrollOverflow && T("warn", "Option `scrollBar` is mutually exclusive with `scrollOverflow`. Sections with scrollOverflow might not work well in Firefox");
772            d.continuousVertical && d.scrollBar && (d.continuousVertical = !1, T("warn", "Option `scrollBar` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled"));
773            c.each(d.anchors, function(a, b) {
774                (c("#" + b).length || c('[name="' + b + '"]').length) && T("error", "data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE).")
775            })
776        })();
777        c.extend(c.easing, {
778            easeInOutCubic: function(a, b, c, d, e) {
779                return 1 > (b /= e / 2) ? d / 2 * b * b * b + c : d / 2 * ((b -= 2) * b * b + 2) + c
780            }
781        });
782        c.extend(c.easing, {
783            easeInQuart: function(a, b, c, d, e) {
784                return d * (b /= e) * b * b * b + c
785            }
786        });
787        e.setAutoScrolling = function(a, b) {
788            S("autoScrolling", a, b);
789            var g = c(".fp-section.active");
790            d.autoScrolling && !d.scrollBar ?
791                (t.css({
792                    overflow: "hidden",
793                    height: "100%"
794                }), e.setRecordHistory(d.recordHistory, "internal"), h.css({
795                    "-ms-touch-action": "none",
796                    "touch-action": "none"
797                }), g.length && x(g.position().top)) : (t.css({
798                    overflow: "visible",
799                    height: "initial"
800                }), e.setRecordHistory(!1, "internal"), h.css({
801                    "-ms-touch-action": "",
802                    "touch-action": ""
803                }), x(0), g.length && t.scrollTop(g.position().top))
804        };
805        e.setRecordHistory = function(a, b) {
806            S("recordHistory", a, b)
807        };
808        e.setScrollingSpeed = function(a, b) {
809            S("scrollingSpeed", a, b)
810        };
811        e.setFitToSection = function(a, b) {
812            S("fitToSection",
813                a, b)
814        };
815        e.setLockAnchors = function(a) {
816            d.lockAnchors = a
817        };
818        e.setMouseWheelScrolling = function(a) {
819            a ? m.addEventListener ? (m.addEventListener("mousewheel", u, !1), m.addEventListener("wheel", u, !1), m.addEventListener("DOMMouseScroll", u, !1)) : m.attachEvent("onmousewheel", u) : m.addEventListener ? (m.removeEventListener("mousewheel", u, !1), m.removeEventListener("wheel", u, !1), m.removeEventListener("DOMMouseScroll", u, !1)) : m.detachEvent("onmousewheel", u)
820        };
821        e.setAllowScrolling = function(a, b) {
822            "undefined" !== typeof b ? (b = b.replace(/ /g,
823                "").split(","), c.each(b, function(b, c) {
824                Ia(a, c, "m")
825            })) : a ? (e.setMouseWheelScrolling(!0), Za()) : (e.setMouseWheelScrolling(!1), $a())
826        };
827        e.setKeyboardScrolling = function(a, b) {
828            "undefined" !== typeof b ? (b = b.replace(/ /g, "").split(","), c.each(b, function(b, c) {
829                Ia(a, c, "k")
830            })) : d.keyboardScrolling = a
831        };
832        e.moveSectionUp = function() {
833            var a = c(".fp-section.active").prev(".fp-section");
834            a.length || !d.loopTop && !d.continuousVertical || (a = c(".fp-section").last());
835            a.length && B(a, null, !0)
836        };
837        e.moveSectionDown = function() {
838            var a = c(".fp-section.active").next(".fp-section");
839            a.length || !d.loopBottom && !d.continuousVertical || (a = c(".fp-section").first());
840            a.length && B(a, null, !1)
841        };
842        e.silentMoveTo = function(a, b) {
843            requestAnimFrame(function() {
844                e.setScrollingSpeed(0, "internal")
845            });
846            e.moveTo(a, b);
847            requestAnimFrame(function() {
848                e.setScrollingSpeed(G.scrollingSpeed, "internal")
849            })
850        };
851        e.moveTo = function(a, b) {
852            var c = Ea(a);
853            "undefined" !== typeof b ? V(a, b) : 0 < c.length && B(c)
854        };
855        e.moveSlideRight = function() {
856            ua("next")
857        };
858        e.moveSlideLeft = function() {
859            ua("prev")
860        };
861        e.reBuild = function(a) {
862            if (!h.hasClass("fp-destroyed")) {
863                requestAnimFrame(function() {
864                    v = !0
865                });
866                var b = n.width();
867                q = n.height();
868                d.resize && Ya(q, b);
869                c(".fp-section").each(function() {
870                    var a = c(this).find(".fp-slides"),
871                        b = c(this).find(".fp-slide");
872                    d.verticalCentered && c(this).find(".fp-tableCell").css("height", Da(c(this)) + "px");
873                    c(this).css("height", q + "px");
874                    d.scrollOverflow && (b.length ? b.each(function() {
875                        J(c(this))
876                    }) : J(c(this)));
877                    1 < b.length && F(a, a.find(".fp-slide.active"))
878                });
879                (b = c(".fp-section.active").index(".fp-section")) && e.silentMoveTo(b + 1);
880                requestAnimFrame(function() {
881                    v = !1
882                });
883                c.isFunction(d.afterResize) &&
884                    a && d.afterResize.call(h);
885                c.isFunction(d.afterReBuild) && !a && d.afterReBuild.call(h)
886            }
887        };
888        e.setResponsive = function(a) {
889            var b = h.hasClass("fp-responsive");
890            a ? b || (e.setAutoScrolling(!1, "internal"), e.setFitToSection(!1, "internal"), c("#fp-nav").hide(), h.addClass("fp-responsive")) : b && (e.setAutoScrolling(G.autoScrolling, "internal"), e.setFitToSection(G.autoScrolling, "internal"), c("#fp-nav").show(), h.removeClass("fp-responsive"))
891        };
892        var z = !1,
893            Q = navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/),
894            R = "ontouchstart" in l || 0 < navigator.msMaxTouchPoints || navigator.maxTouchPoints,
895            h = c(this),
896            q = n.height(),
897            v = !1,
898            Ja = !0,
899            A, ea, y = !0,
900            C = [],
901            O, k = {
902                m: {
903                    up: !0,
904                    down: !0,
905                    left: !0,
906                    right: !0
907                }
908            };
909        k.k = c.extend(!0, {}, k.m);
910        var G = c.extend(!0, {}, d),
911            ha, ca, fa, Z, aa, Ka;
912        c(this).length && La();
913        var W = !1;
914        n.on("scroll", oa);
915        var E = 0,
916            N = 0,
917            D = 0,
918            M = 0,
919            ta = (new Date).getTime();
920        l.requestAnimFrame = function() {
921            return l.requestAnimationFrame || function(a) {
922                a()
923            }
924        }();
925        n.on("hashchange", xa);
926        w.keydown(function(a) {
927            clearTimeout(Ka);
928            var b = c(":focus");
929            b.is("textarea") ||
930                b.is("input") || b.is("select") || !d.keyboardScrolling || !d.autoScrolling || (-1 < c.inArray(a.which, [40, 38, 32, 33, 34]) && a.preventDefault(), O = a.ctrlKey, Ka = setTimeout(function() {
931                        var b = a.shiftKey;
932                        switch (a.which) {
933                            case 38:
934                            case 33:
935                                k.k.up && e.moveSectionUp();
936                                break;
937                            case 32:
938                                if (b && k.k.up) {
939                                    e.moveSectionUp();
940                                    break
941                                }
942                                case 40:
943                                case 34:
944                                    k.k.down && e.moveSectionDown();
945                                    break;
946                                case 36:
947                                    k.k.up && e.moveTo(1);
948                                    break;
949                                case 35:
950                                    k.k.down && e.moveTo(c(".fp-section").length);
951                                    break;
952                                case 37:
953                                    k.k.left && e.moveSlideLeft();
954                                    break;
955                                case 39:
956                                    k.k.right && e.moveSlideRight()
957                        }
958                    },
959                    150))
960        });
961        w.keyup(function(a) {
962            Ja && (O = a.ctrlKey)
963        });
964        c(l).blur(function() {
965            O = Ja = !1
966        });
967        h.mousedown(function(a) {
968            2 == a.which && (P = a.pageY, h.on("mousemove", Xa))
969        });
970        h.mouseup(function(a) {
971            2 == a.which && h.off("mousemove")
972        });
973        var P = 0;
974        w.on("click touchstart", "#fp-nav a", function(a) {
975            a.preventDefault();
976            a = c(this).parent().index();
977            B(c(".fp-section").eq(a))
978        });
979        w.on("click touchstart", ".fp-slidesNav a", function(a) {
980            a.preventDefault();
981            a = c(this).closest(".fp-section").find(".fp-slides");
982            var b = a.find(".fp-slide").eq(c(this).closest("li").index());
983            F(a, b)
984        });
985        d.normalScrollElements && (w.on("mouseenter", d.normalScrollElements, function() {
986            e.setMouseWheelScrolling(!1)
987        }), w.on("mouseleave", d.normalScrollElements, function() {
988            e.setMouseWheelScrolling(!0)
989        }));
990        c(".fp-section").on("click touchstart", ".fp-controlArrow", function() {
991            c(this).hasClass("fp-prev") ? k.m.left && e.moveSlideLeft() : k.m.right && e.moveSlideRight()
992        });
993        n.resize(Ba);
994        var ga = q;
995        e.destroy = function(a) {
996            e.setAutoScrolling(!1, "internal");
997            e.setAllowScrolling(!1);
998            e.setKeyboardScrolling(!1);
999            h.addClass("fp-destroyed");
1000            clearTimeout(fa);
1001            clearTimeout(ca);
1002            clearTimeout(ha);
1003            clearTimeout(Z);
1004            clearTimeout(aa);
1005            n.off("scroll", oa).off("hashchange", xa).off("resize", Ba);
1006            w.off("click", "#fp-nav a").off("mouseenter", "#fp-nav li").off("mouseleave", "#fp-nav li").off("click", ".fp-sli
1006desNav a").off("mouseover", d.normalScrollElements).off("mouseout", d.normalScrollElements);
1007            c(".fp-section").off("click", ".fp-controlArrow");
1008            clearTimeout(fa);
1009            clearTimeout(ca);
1010            a && ab()
1011        }
1012    }
1013});

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.