!function(a) {
	a.fn.fullpage = function(b) {
		function c(c) {
			if (b.autoScrolling) {
				c = window.event || c;
				var d, e = Math.max(-1, Math.min(1, c.wheelDelta || -c.detail)),
					f = a(".section.active");
				if (!D) if (d = f.find(".slides").length ? f.find(".slide.active").find(".scrollable") : f.find(".scrollable"), 0 > e) if (d.length > 0) {
					if (!k("bottom", d)) return !0;
					a.fn.fullpage.moveSectionDown()
				} else a.fn.fullpage.moveSectionDown();
				else if (d.length > 0) {
					if (!k("top", d)) return !0;
					a.fn.fullpage.moveSectionUp()
				} else a.fn.fullpage.moveSectionUp();
				return !1
			}
		}
		function d(c, d) {
			var e, f, g = {};
			if (c.hasClass("top")) f = a("body").offset();
			else if (c.hasClass("bottom")) {
				var h = a("#footer").offset(),
					k = h.top - C + a("#footer").outerHeight(!0);
				f = a.extend(h, {
					top: k
				})
			} else f = c.offset();
			if ("undefined" != typeof f) {
				var m = null !== f ? f.top : null,
					n = l(c),
					o = c.data("anchor"),
					q = c.index(".section"),
					r = c.find(".slide.active");
				if (r.length) var s = r.data("anchor"),
					u = r.index();
				var v = a(".section.active").index(".section") + 1;
				if (c.addClass("active").siblings().removeClass("active"), D = !0, "undefined" != typeof o && t(u, s, o), g.scrollTop = m, e = "html, body", b.css3 && b.autoScrolling) {
					a.isFunction(b.onLeave) && b.onLeave.call(this, v, n);
					var w = "translate3d(0px, -" + m + "px, 0px)";
					p(w, !0), setTimeout(function() {
						a.isFunction(b.afterLoad) && b.afterLoad.call(this, o, q + 1), setTimeout(function() {
							D = !1, a.isFunction(d) && d.call(this)
						}, x)
					}, b.scrollingSpeed)
				} else a.isFunction(b.onLeave) && b.onLeave.call(this, v, n), a(e).animate(g, b.scrollingSpeed, b.easing, function() {
					a.isFunction(b.afterLoad) && b.afterLoad.call(this, o, q + 1), setTimeout(function() {
						D = !1, a.isFunction(d) && d.call(this)
					}, x)
				});
				y = o, b.autoScrolling && (j(o), i(o, q))
			}
		}
		function e() {
			var b = window.location.hash.replace("#", "").split("/"),
				c = b[0],
				e = b[1];
			c ? q(c, e) : d(a(".section.top"))
		}
		function f(c, d) {
			var e = d.position(),
				f = c.find(".slidesContainer").parent(),
				g = d.index(),
				h = c.closest(".section"),
				i = h.index(".section"),
				j = h.data("anchor"),
				k = h.find(".fullPage-slidesNav"),
				l = d.data("anchor"),
				n = E;
			if (b.onSlideLeave) {
				var o = h.find(".slide.active").index(),
					p = m(o, g);
				n || a.isFunction(b.onSlideLeave) && b.onSlideLeave.call(this, j, i + 1, o, p)
			}
			if (d.addClass("active").siblings().removeClass("active"), "undefined" == typeof l && (l = g), h.hasClass("active") && (b.loopHorizontal || (h.find(".controlArrow.prev").toggle(0 != g), h.find(".controlArrow.next").toggle(!d.is(":last-child"))), t(g, l, j)), b.css3) {
				var q = "translate3d(-" + e.left + "px, 0px, 0px)";
				c.find(".slidesContainer").addClass("easing").css({
					"-webkit-transform": q,
					"-moz-transform": q,
					"-ms-transform": q,
					transform: q
				}), setTimeout(function() {
					n || a.isFunction(b.afterSlideLoad) && b.afterSlideLoad.call(this, j, i + 1, l, g), A = !1
				}, b.scrollingSpeed)
			} else f.animate({
				scrollLeft: e.left
			}, b.scrollingSpeed, function() {
				n || a.isFunction(b.afterSlideLoad) && b.afterSlideLoad.call(this, j, i + 1, l, g), A = !1
			});
			k.find(".active").removeClass("active"), k.find("li").eq(g).find("a").addClass("active")
		}
		function g() {
			E = !0;
			var c = a(window).width();
			C = a(window).height(), b.resize && h(C, c), a(".section").each(function() {
				if (C - parseInt(a(this).css("padding-bottom")) - parseInt(a(this).css("padding-top")), b.scrollOverflow) {
					var c = a(this).find(".slide");
					c.length ? c.each(function() {
						n(a(this))
					}) : n(a(this))
				}
				b.verticalCentered && a(this).find(".tableCell").css("height", C + "px"), a(this).hasClass("top") || a(this).hasClass("bottom") || a(this).css("height", C + "px");
				var c = a(this).find(".slides");
				c.length && f(c, c.find(".slide.active"))
			}), a.isFunction(b.afterRender) && b.afterRender.call(this);
			var e = (a(".section.active").position(), a(".section.active"));
			e.index(".section") && d(e), E = !1
		}
		function h(b, c) {
			var d = 825,
				e = b;
			if (825 > b || 900 > c) {
				900 > c && (e = c, d = 900);
				var f = 100 * e / d,
					g = f.toFixed(2);
				a("body").css("font-size", g + "%")
			} else a("body").css("font-size", "100%")
		}
		function i(c, d) {
			b.navigation && (a("#fullPage-nav").find(".active").removeClass("active"), c ? a("#fullPage-nav").find('a[href="#' + c + '"]').addClass("active") : a("#fullPage-nav").find("li").eq(d).find("a").addClass("active"))
		}
		function j(c) {
			b.menu && (a(b.menu).find(".active").removeClass("active"), a(b.menu).find('[data-menuanchor="' + c + '"]').addClass("active"))
		}
		function k(a, b) {
			return "top" === a ? !b.scrollTop() : "bottom" === a ? b.scrollTop() + b.innerHeight() >= b[0].scrollHeight : void 0
		}
		function l(b) {
			var c = a(".section.active").index(".section"),
				d = b.index(".section");
			return c > d ? "up" : "down"
		}
		function m(a, b) {
			return a > b ? "left" : "right"
		}
		function n(a) {
			a.css("overflow", "hidden");
			var c = a.closest(".section"),
				d = a.find(".scrollable");
			if (d.length) var e = a.find(".scrollable").get(0).scrollHeight - parseInt(c.css("padding-bottom")) - parseInt(c.css("padding-top"));
			else var e = a.get(0).scrollHeight - parseInt(c.css("padding-bottom")) - parseInt(c.css("padding-top"));
			if (e > C) {
				var f = C - parseInt(c.css("padding-bottom")) - parseInt(c.css("padding-top"));
				d.length ? d.css("height", f + "px").parent().css("height", f + "px") : (b.verticalCentered ? a.find(".tableCell").wrapInner('<div class="scrollable" />') : a.wrapInner('<div class="scrollable" />'), a.find(".scrollable").slimScroll({
					height: f + "px",
					size: "10px",
					alwaysVisible: !0
				}))
			} else a.find(".scrollable").children().first().unwrap().unwrap(), a.find(".slimScrollBar").remove(), a.find(".slimScrollRail").remove();
			a.css("overflow", "")
		}
		function o(a) {
			a.addClass("table").wrapInner('<div class="tableCell" style="height:' + C + 'px;" />')
		}
		function p(b, c) {
			a("#superContainer").toggleClass("easing", c), a("#superContainer").css({
				"-webkit-transform": b,
				"-moz-transform": b,
				"-ms-transform": b,
				transform: b
			})
		}
		function q(b, c) {
			if (isNaN(b)) var e = a('[data-anchor="' + b + '"]');
			else var e = a(".section").eq(b - 1);
			b === y || e.hasClass("active") ? r(e, c) : d(e, function() {
				r(e, c)
			})
		}
		function r(a, b) {
			if ("undefined" != typeof b) {
				var c = a.find(".slides"),
					d = c.find('[data-anchor="' + b + '"]');
				d.length || (d = c.find(".slide").eq(b)), d.length && f(c, d)
			}
		}
		function s(a, c) {
			a.append('<div class="fullPage-slidesNav"><ul></ul></div>');
			var d = a.find(".fullPage-slidesNav");
			d.addClass(b.slidesNavPosition);
			for (var e = 0; c > e; e++) d.find("ul").append('<li><a href="#"><span></span></a></li>');
			d.css("margin-left", "-" + d.width() / 2 + "px"), d.find("li").first().find("a").addClass("active")
		}
		function t(a, b, c) {
			var d = newhash = "";
			a ? (d = "undefined" != typeof c ? c : "", "undefined" == typeof b && (b = a), z = b, newhash = d + "/" + b) : newhash = "undefined" != typeof a ? c : c, "top" != newhash && "bottom" != newhash ? window.location.hash = newhash : window.history && history.pushState ? history.pushState("", document.title, window.location.pathname) : window.location.hash = "_"
		}
		function u() {
			var a, b = document.createElement("p"),
				c = {
					webkitTransform: "-webkit-transform",
					OTransform: "-o-transform",
					msTransform: "-ms-transform",
					MozTransform: "-moz-transform",
					transform: "transform"
				};
			document.body.insertBefore(b, null);
			for (var d in c) void 0 !== b.style[d] && (b.style[d] = "translate3d(1px,1px,1px)", a = window.getComputedStyle(b).getPropertyValue(c[d]));
			return document.body.removeChild(b), void 0 !== a && a.length > 0 && "none" !== a
		}
		function v() {
			document.addEventListener ? (document.removeEventListener("mousewheel", c, !1), document.removeEventListener("DOMMouseScroll", c, !1)) : document.detachEvent("onmousewheel", c)
		}
		function w() {
			document.addEventListener ? (document.addEventListener("mousewheel", c, !1), document.addEventListener("DOMMouseScroll", c, !1)) : document.attachEvent("onmousewheel", c)
		}
		b = a.extend({
			verticalCentered: !0,
			resize: !0,
			slidesColor: [],
			anchors: [],
			scrollingSpeed: 700,
			easing: "easeInQuart",
			menu: !1,
			navigation: !1,
			navigationCustom: !1,
			navigationPosition: "right",
			navigationColor: "#000",
			navigationTooltips: [],
			slidesNavigation: !1,
			slidesNavPosition: "bottom",
			controlArrowColor: "#fff",
			loopBottom: !1,
			loopTop: !1,
			loopHorizontal: !0,
			autoScrolling: !0,
			scrollOverflow: !1,
			css3: !1,
			paddingTop: 0,
			paddingBottom: 0,
			fixedElements: null,
			normalScrollElements: null,
			afterLoad: null,
			onLeave: null,
			afterRender: null,
			afterSlideLoad: null,
			onSlideLeave: null
		}, b);
		var x = 400;
		a.fn.fullpage.setAutoScrolling = function(c) {
			b.autoScrolling = c;
			var d = a(".section.active");
			if (b.autoScrolling) {
				if (a("body").css({
					overflow: "hidden",
					height: "100%"
				}), d.length) if (b.css3) {
					var e = "translate3d(0px, -" + d.position().top + "px, 0px)";
					p(e, !1)
				} else a("#superContainer").css("top", "-" + d.position().top + "px")
			} else {
				if (a("body").css({
					overflow: "auto",
					height: "auto"
				}), b.css3) {
					var e = "translate3d(0px, 0px, 0px)";
					p(e, !1)
				} else a("#superContainer").css("top", "0px");
				a("html, body").scrollTop(d.position().top)
			}
		}, a.fn.fullpage.setMouseWheelScrolling = function(a) {
			a ? w() : v()
		};
		var y, z, A = !1,
			B = navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|Windows Phone)/),
			C = a(window).height(),
			D = !1,
			E = !1;
		if (a.fn.fullpage.setMouseWheelScrolling(!0), b.css3 && (b.css3 = u()), a("body").wrapInner('<div id="superContainer" />'), b.navigation) {
			b.navigationCustom || a("body").append('<div id="fullPage-nav"><ul></ul></div>');
			var F = a("#fullPage-nav");
			F.css("color", b.navigationColor), F.addClass(b.navigationPosition)
		}
		a(".section").each(function(c) {
			var d = a(this).find(".slide"),
				e = d.length;
			if (c || a(this).addClass("active"), a(this).hasClass("top") || a(this).hasClass("bottom") || (a(this).css("height", C + "px"), (b.paddingTop || b.paddingBottom) && a(this).css("padding", b.paddingTop + " 0 " + b.paddingBottom + " 0"), "undefined" != typeof b.slidesColor[c] && a(this).css("background-color", b.slidesColor[c]), "undefined" != typeof b.anchors[c] && a(this).attr("data-anchor", b.anchors[c])), b.navigation) {
				var f = "",
					g = "";
				f = b.anchors.length ? b.anchors[c] : a(this).data("anchor"), g = b.navigationTooltips.length ? b.navigationTooltips[c] : a(this).data("tooltip"), "undefined" == typeof g && (g = "");
				var h = "";
				(a(this).hasClass("top") || a(this).hasClass("bottom")) && (h = 'style="display: none"'), F.find("ul").append("<li " + h + ' data-tooltip="' + g + '"><a href="#' + f + '"><span></span></a></li>'), a("#mobilePage-nav").find("ul").append('<li ' + h +'><a href="#' + f + '">' + g + '</a></li>')
			}
			if (e > 0) {
				var i = 100 * e,
					j = 100 / e;
				d.wrapAll('<div class="slidesContainer" />'), d.parent().wrap('<div class="slides" />'), a(this).find(".slidesContainer").css("width", i + "%"), a(this).find(".slides").after('<div class="controlArrow prev"></div><div class="controlArrow next"></div>'), a(this).find(".controlArrow.next").css("border-color", "transparent transparent transparent " + b.controlArrowColor), a(this).find(".controlArrow.prev").css("border-color", "transparent " + b.controlArrowColor + " transparent transparent"), b.loopHorizontal || a(this).find(".controlArrow.prev").hide(), b.slidesNavigation && s(a(this), e), d.each(function(c) {
					c || a(this).addClass("active"), a(this).css("width", j + "%"), b.verticalCentered && o(a(this))
				})
			} else b.verticalCentered && (a(this).hasClass("top") || a(this).hasClass("bottom") || o(a(this)))
		}).promise().done(function() {
			a.fn.fullpage.setAutoScrolling(b.autoScrolling), a.isFunction(b.afterRender) && b.afterRender.call(this), b.fixedElements && b.css3 && a(b.fixedElements).appendTo("body"), b.navigation && (F.css("margin-top", "-" + F.height() / 2 + "px"), F.find("li").first().find("a").addClass("active")), b.menu && b.css3 && a(b.menu).appendTo("body"), b.scrollOverflow && a(window).on("load", function() {
				a(".section").each(function() {
					var b = a(this).find(".slide");
					b.length ? b.each(function() {
						n(a(this))
					}) : n(a(this))
				})
			}), a(window).on("load", function() {
				e()
			})
		});
		var G, H = !1;
		a(window).scroll(function() {
			if (!b.autoScrolling) {
				var c = a(window).scrollTop(),
					d = a(".section").map(function() {
						return a(this).offset().top < c + 100 ? a(this) : void 0
					}),
					e = d[d.length - 1];
				if (e && !e.hasClass("active")) {
					H = !0;
					var f = l(e);
					a(".section.active").removeClass("active"), e.addClass("active");
					var g = e.data("anchor");
					a.isFunction(b.onLeave) && b.onLeave.call(this, e.index(".section"), f), a.isFunction(b.afterLoad) && b.afterLoad.call(this, g, e.index(".section") + 1), j(g), i(g, 0), b.anchors.length && !D && (y = g, location.hash = g), clearTimeout(G), G = setTimeout(function() {
						H = !1
					}, 100)
				}
			}
		});
		var I = 0,
			J = 0,
			K = 0,
			L = 0;
		if (a(document).on("touchmove MSPointerMove", function(c) {
			if (b.autoScrolling) {
				c.preventDefault();
				var d, e = c.originalEvent,
					f = a(".section.active");
				if (!D && !A) if (K = e.touches[0].pageY, L = e.touches[0].pageX, f.find(".slides").length && Math.abs(J - L) > Math.abs(I - K)) J > L ? f.find(".controlArrow.next").trigger("click") : L > J && f.find(".controlArrow.prev").trigger("click");
				else if (d = f.find(".slides").length ? f.find(".slide.active").find(".scrollable") : f.find(".scrollable"), I > K) if (d.length > 0) {
					if (!k("bottom", d)) return !0;
					a.fn.fullpage.moveSectionDown()
				} else a.fn.fullpage.moveSectionDown();
				else if (d.length > 0) {
					if (!k("top", d)) return !0;
					a.fn.fullpage.moveSectionUp()
				} else a.fn.fullpage.moveSectionUp()
			}
		}), a(document).on("touchstart MSPointerDown", function(a) {
			if (b.autoScrolling) {
				var c = a.originalEvent;
				I = c.touches[0].pageY, J = c.touches[0].pageX
			}
		}), a.fn.fullpage.moveSectionUp = function() {
			var c = a(".section.active").prev(".section");
			b.loopTop && !c.length && (c = a(".section").last()), (c.length > 0 || !c.length && b.loopTop) && d(c)
		}, a.fn.fullpage.moveSectionDown = function() {
			var c = a(".section.active").next(".section");
			b.loopBottom && !c.length && (c = a(".section").first()), (c.length > 0 || !c.length && b.loopBottom) && d(c)
		}, a.fn.fullpage.moveTo = function(b, c) {
			var e = "";
			e = isNaN(b) ? a('[data-anchor="' + b + '"]') : a(".section").eq(b - 1), "undefined" !== c ? q(b, c) : e.length > 0 && d(e)
		}, a(window).on("hashchange", function() {
			if (!H) {
				var a = window.location.hash.replace("#", "").split("/"),
					b = a[0],
					c = a[1],
					d = "undefined" == typeof y,
					e = "undefined" == typeof y && "undefined" == typeof c;
				(b && b !== y && !d || e || "undefined" != typeof c && !A && z != c) && q(b, c)
			}
		}), a(document).keydown(function(b) {
			if (!D) switch (b.which) {
			case 38:
			case 33:
				a.fn.fullpage.moveSectionUp();
				break;
			case 40:
			case 34:
				a.fn.fullpage.moveSectionDown();
				break;
			case 37:
				a(".section.active").find(".controlArrow.prev").trigger("click");
				break;
			case 39:
				a(".section.active").find(".controlArrow.next").trigger("click");
				break;
			default:
				return
			}
		}), a(document).on("click", "#fullPage-nav a", function(b) {
			b.preventDefault();
			var c = a(this).parent().index();
			d(a(".section").eq(c))
		}), a(document).on({
			mouseenter: function() {
				var c = a(this).data("tooltip");
				a('<div class="fullPage-tooltip ' + b.navigationPosition + '">' + c + "</div>").hide().appendTo(a(this)).fadeIn(200)
			},
			mouseleave: function() {
				a(this).find(".fullPage-tooltip").fadeOut().remove()
			}
		}, "#fullPage-nav li"), b.normalScrollElements && (a(document).on("mouseover", b.normalScrollElements, function() {
			a.fn.fullpage.setMouseWheelScrolling(!1)
		}), a(document).on("mouseout", b.normalScrollElements, function() {
			a.fn.fullpage.setMouseWheelScrolling(!0)
		})), a(".section").on("click", ".controlArrow", function() {
			if (!A) {
				A = !0;
				var b = a(this).closest(".section").find(".slides"),
					c = b.find(".slide.active"),
					d = null;
				d = a(this).hasClass("prev") ? c.prev(".slide") : c.next(".slide"), d.length || (d = c.siblings(a(this).hasClass("prev") ? ":last" : ":first")), f(b, d)
			}
		}), a(".section").on("click", ".toSlide", function(b) {
			b.preventDefault();
			var c = a(this).closest(".section").find(".slides"),
				d = (c.find(".slide.active"), null);
			d = c.find(".slide").eq(a(this).data("index") - 1), d.length > 0 && f(c, d)
		}), !B) {
			var M;
			a(window).resize(function() {
				clearTimeout(M), M = setTimeout(g, 500)
			})
		}
		a(window).bind("orientationchange", function() {
			g()
		}), a(document).on("click", ".fullPage-slidesNav a", function(b) {
			b.preventDefault();
			var c = a(this).closest(".section").find(".slides"),
				d = c.find(".slide").eq(a(this).closest("li").index());
			f(c, d)
		})
	}
}(jQuery);

!function(a) {
	var b = {
		topSpacing: 0,
		bottomSpacing: 0,
		className: "is-sticky",
		wrapperClassName: "sticky-wrapper",
		center: !1,
		getWidthFrom: ""
	},
		c = a(window),
		d = a(document),
		e = [],
		f = c.height(),
		g = function() {
			for (var b = c.scrollTop(), g = d.height(), h = g - f, i = b > h ? h - b : 0, j = 0; j < e.length; j++) {
				var k = e[j],
					l = k.stickyWrapper.offset().top,
					m = l - k.topSpacing - i;
				if (m >= b) null !== k.currentTop && (k.stickyElement.css("position", "").css("top", ""), k.stickyElement.parent().removeClass(k.className), k.currentTop = null);
				else {
					var n = g - k.stickyElement.outerHeight() - k.topSpacing - k.bottomSpacing - b - i;
					0 > n ? n += k.topSpacing : n = k.topSpacing, k.currentTop != n && (k.stickyElement.css("position", "fixed").css("top", n), "undefined" != typeof k.getWidthFrom && k.stickyElement.css("width", a(k.getWidthFrom).width()), k.stickyElement.parent().addClass(k.className), k.currentTop = n)
				}
			}
		},
		h = function() {
			f = c.height()
		},
		i = {
			init: function(c) {
				var d = a.extend(b, c);
				return this.each(function() {
					var b = a(this),
						c = b.attr("id"),
						f = a("<div></div>").attr("id", c + "-sticky-wrapper").addClass(d.wrapperClassName);
					b.wrapAll(f), d.center && b.parent().css({
						width: b.outerWidth(),
						marginLeft: "auto",
						marginRight: "auto"
					}), "right" == b.css("float") && b.css({
						"float": "none"
					}).parent().css({
						"float": "right"
					});
					var g = b.parent();
					g.css("height", b.outerHeight()), e.push({
						topSpacing: d.topSpacing,
						bottomSpacing: d.bottomSpacing,
						stickyElement: b,
						currentTop: null,
						stickyWrapper: g,
						className: d.className,
						getWidthFrom: d.getWidthFrom
					})
				})
			},
			update: g
		};
	window.addEventListener ? (window.addEventListener("scroll", g, !1), window.addEventListener("resize", h, !1)) : window.attachEvent && (window.attachEvent("onscroll", g), window.attachEvent("onresize", h)), a.fn.sticky = function(b) {
		return i[b] ? i[b].apply(this, Array.prototype.slice.call(arguments, 1)) : "object" != typeof b && b ? void a.error("Method " + b + " does not exist on jQuery.sticky") : i.init.apply(this, arguments)
	}, a(function() {
		setTimeout(g, 0)
	})
}(jQuery);
function ShareBar(a) {
	var b = this;
	b.container = $(a.container), b.stickyOptions = a.stickyOptions, b.resizeDelay = 200, b.events = function() {
		b.container.on("click", "a.top", function(a) {
			a.preventDefault(), $("html, body").animate({
				scrollTop: 0
			}, 700)
		}), $(window).resize(function() {
			b.resizeTimeout && clearTimeout(b.resizeTimeout), b.resizeTimeout = setTimeout(function() {
				var a = b.container.attr("style");
				b.container.removeAttr("style"), setTimeout(function() {
					b.container.attr("style", a)
				}, 10)
			}, b.resizeDelay)
		})
	}, b.init = function() {
		b.container.sticky(b.stickyOptions), b.events()
	}()
}
$(document).ready(function() {
	$content = $("#content"), $content.length && $content.hasClass("page-legacy") && ($.fn.fullpage({
		easing: "swing",
		resize: !1,
		autoScrolling: !0,
		css3: !1,
		scrollingSpeed: 1e3,
		navigation: !0,
		navigationCustom: !0,
		navigationPosition: "left",
		afterRender: function() {
			
			var a = skrollr.init({
				mobileCheck: function() {
					return !1
				}
			});
			a.refresh()
		}
	}), $("#sharebar > div").on("click", "a.top", function(a) {
		a.preventDefault(), a.stopPropagation(), $.fn.fullpage.moveTo(1)
	})),
	
	$sharebar = $("#sharebar > div"), $sharebar.length && new ShareBar({
		container: $sharebar,
		stickyOptions: {
			topSpacing: 100,
			bottomSpacing: 100
		}
	});
});