/*! modernizr 3.1.0 (custom build) | mit * * http://modernizr.com/download/?-backgroundsize-bgsizecover-borderradius-boxshadow-cssanimations-csstransforms-csstransforms3d-csstransitions-touchevents !*/ ! function(e, n, t) { function s(e) { var n = c.classname, t = modernizr._config.classprefix || ""; if (s && (n = n.baseval), modernizr._config.enablejsclass) { var s = new regexp("(^|\\s)" + t + "no-js(\\s|$)"); n = n.replace(s, "$1" + t + "js$2") } modernizr._config.enableclasses && (n += " " + t + e.join(" " + t), s ? c.classname.baseval = n: c.classname = n) } function o(e, n) { return typeof e === n } function r() { var e, n, t, s, r, i, a; for (var f in x) { if (e = [], n = x[f], n.name && (e.push(n.name.tolowercase()), n.options && n.options.aliases && n.options.aliases.length)) for (t = 0; t < n.options.aliases.length; t++) e.push(n.options.aliases[t].tolowercase()); for (s = o(n.fn, "function") ? n.fn() : n.fn, r = 0; r < e.length; r++) i = e[r], a = i.split("."), 1 === a.length ? modernizr[a[0]] = s: (!modernizr[a[0]] || modernizr[a[0]] instanceof boolean || (modernizr[a[0]] = new boolean(modernizr[a[0]])), modernizr[a[0]][a[1]] = s), y.push((s ? "": "no-") + a.join("-")) } } function i() { return "function" != typeof n.createelement ? n.createelement(arguments[0]) : s ? n.createelementns.call(n, "http://www.w3.org/2000/svg", arguments[0]) : n.createelement.apply(n, arguments) } function a() { var e = n.body; return e || (e = i(s ? "svg": "body"), e.fake = !0), e } function f(e, t, s, o) { var r, f, u, l, d = "modernizr", p = i("div"), c = a(); if (parseint(s, 10)) for (; s--;) u = i("div"), u.id = o ? o[s] : d + (s + 1), p.appendchild(u); return r = i("style"), r.type = "text/css", r.id = "s" + d, (c.fake ? c: p).appendchild(r), c.appendchild(p), r.stylesheet ? r.stylesheet.csstext = e: r.appendchild(n.createtextnode(e)), p.id = d, c.fake && (c.style.background = "", c.style.overflow = "hidden", l = c.style.overflow, c.style.overflow = "hidden", c.appendchild(c)), f = t(p, e), c.fake ? (c.parentnode.removechild(c), c.style.overflow = l, c.offsetheight) : p.parentnode.removechild(p), !!f } function u(e, n) { return !! ~ ("" + e).indexof(n) } function l(e) { return e.replace(/([a-z])-([a-z])/g, function(e, n, t) { return n + t.touppercase() }).replace(/^-/, "") } function d(e, n) { return function() { return e.apply(n, arguments) } } function p(e, n, t) { var s; for (var r in e) if (e[r] in n) return t === !1 ? e[r] : (s = n[e[r]], o(s, "function") ? d(s, t || n) : s); return ! 1 } function c(e) { return e.replace(/([a-z])/g, function(e, n) { return "-" + n.tolowercase() }).replace(/^ms-/, "-ms-") } function m(n, s) { var o = n.length; if ("css" in e && "supports" in e.css) { for (; o--;) if (e.css.supports(c(n[o]), s)) return ! 0; return ! 1 } if ("csssupportsrule" in e) { for (var r = []; o--;) r.push("(" + c(n[o]) + ":" + s + ")"); return r = r.join(" or "), f("@supports (" + r + ") { #modernizr { position: absolute; } }", function(e) { return "absolute" == getcomputedstyle(e, null).position }) } return t } function v(e, n, s, r) { function a() { d && (delete j.style, delete j.modelem) } if (r = o(r, "undefined") ? !1 : r, !o(s, "undefined")) { var f = m(e, s); if (!o(f, "undefined")) return f } for (var d, p, c, v, h, g = ["modernizr", "tspan"]; ! j.style;) d = !0, j.modelem = i(g.shift()), j.style = j.modelem.style; for (c = e.length, p = 0; c > p; p++) if (v = e[p], h = j.style[v], u(v, "-") && (v = l(v)), j.style[v] !== t) { if (r || o(s, "undefined")) return a(), "pfx" == n ? v: !0; try { j.style[v] = s } catch(y) {} if (j.style[v] != h) return a(), "pfx" == n ? v: !0 } return a(), !1 } function h(e, n, t, s, r) { var i = e.charat(0).touppercase() + e.slice(1), a = (e + " " + p.join(i + " ") + i).split(" "); return o(n, "string") || o(n, "undefined") ? v(a, n, s, r) : (a = (e + " " + e.join(i + " ") + i).split(" "), p(a, n, t)) } function g(e, n, s) { return h(e, t, t, n, s) } var y = [], x = [], b = { _version: "3.1.0", _config: { classprefix: "", enableclasses: !0, enablejsclass: !0, useprefixes: !0 }, _q: [], on: function(e, n) { var t = this; settimeout(function() { n(t[e]) }, 0) }, addtest: function(e, n, t) { x.push({ name: e, fn: n, options: t }) }, addasynctest: function(e) { x.push({ name: null, fn: e }) } }, modernizr = function() {}; modernizr.prototype = b, modernizr = new modernizr; var c = n.documentelement, s = "svg" === c.nodename.tolowercase(), w = b._config.useprefixes ? " -webkit- -moz- -o- -ms- ".split(" ") : []; b._prefixes = w; var _ = "css" in e && "supports" in e.css, t = "supportscss" in e; modernizr.addtest("supports", _ || t); var z = b.teststyles = f; modernizr.addtest("touchevents", function() { var t; if ("ontouchstart" in e || e.documenttouch && n instanceof documenttouch) t = !0; else { var s = ["@media (", w.join("touch-enabled),("), "heartz", ")", "{#modernizr{top:9px;position:absolute}}"].join(""); z(s, function(e) { t = 9 === e.offsettop }) } return t }); var k = "moz o ms webkit", p = b._config.useprefixes ? k.split(" ") : []; b._cssomprefixes = p; var e = b._config.useprefixes ? k.tolowercase().split(" ") : []; b._domprefixes = e; var n = { elem: i("modernizr") }; modernizr._q.push(function() { delete n.elem }); var j = { style: n.elem.style }; modernizr._q.unshift(function() { delete j.style }), b.testallprops = h, b.testallprops = g, modernizr.addtest("cssanimations", g("animationname", "a", !0)), modernizr.addtest("backgroundsize", g("backgroundsize", "100%", !0)), modernizr.addtest("csstransitions", g("transition", "all", !0)), modernizr.addtest("csstransforms3d", function() { var e = !!g("perspective", "1px", !0), n = modernizr._config.useprefixes; if (e && (!n || "webkitperspective" in c.style)) { var t; modernizr.supports ? t = "@supports (perspective: 1px)": (t = "@media (transform-3d)", n && (t += ",(-webkit-transform-3d)")), t += "{#modernizr{left:9px;position:absolute;height:5px;margin:0;padding:0;border:0}}", z(t, function(n) { e = 9 === n.offsetleft && 5 === n.offsetheight }) } return e }), modernizr.addtest("bgsizecover", g("backgroundsize", "cover")), modernizr.addtest("borderradius", g("borderradius", "0px", !0)), modernizr.addtest("boxshadow", g("boxshadow", "1px 1px", !0)), modernizr.addtest("csstransforms", function() { return - 1 === navigator.useragent.indexof("android 2.") && g("transform", "scale(1)", !0) }), r(), s(y), delete b.addtest, delete b.addasynctest; for (var a = 0; a < modernizr._q.length; a++) modernizr._q[a](); e.modernizr = modernizr } (window, document); /* * jquery easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ * */ jquery.easing.jswing = jquery.easing.swing; jquery.extend(jquery.easing, { def: "easeoutquad", swing: function(e, f, a, h, g) { return jquery.easing[jquery.easing.def](e, f, a, h, g) }, easeinquad: function(e, f, a, h, g) { return h * (f /= g) * f + a }, easeoutquad: function(e, f, a, h, g) { return - h * (f /= g) * (f - 2) + a }, easeinoutquad: function(e, f, a, h, g) { if ((f /= g / 2) < 1) { return h / 2 * f * f + a } return - h / 2 * ((--f) * (f - 2) - 1) + a }, easeincubic: function(e, f, a, h, g) { return h * (f /= g) * f * f + a }, easeoutcubic: function(e, f, a, h, g) { return h * ((f = f / g - 1) * f * f + 1) + a }, easeinoutcubic: function(e, f, a, h, g) { if ((f /= g / 2) < 1) { return h / 2 * f * f * f + a } return h / 2 * ((f -= 2) * f * f + 2) + a }, easeinquart: function(e, f, a, h, g) { return h * (f /= g) * f * f * f + a }, easeoutquart: function(e, f, a, h, g) { return - h * ((f = f / g - 1) * f * f * f - 1) + a }, easeinoutquart: function(e, f, a, h, g) { if ((f /= g / 2) < 1) { return h / 2 * f * f * f * f + a } return - h / 2 * ((f -= 2) * f * f * f - 2) + a }, easeinquint: function(e, f, a, h, g) { return h * (f /= g) * f * f * f * f + a }, easeoutquint: function(e, f, a, h, g) { return h * ((f = f / g - 1) * f * f * f * f + 1) + a }, easeinoutquint: function(e, f, a, h, g) { if ((f /= g / 2) < 1) { return h / 2 * f * f * f * f * f + a } return h / 2 * ((f -= 2) * f * f * f * f + 2) + a }, easeinsine: function(e, f, a, h, g) { return - h * math.cos(f / g * (math.pi / 2)) + h + a }, easeoutsine: function(e, f, a, h, g) { return h * math.sin(f / g * (math.pi / 2)) + a }, easeinoutsine: function(e, f, a, h, g) { return - h / 2 * (math.cos(math.pi * f / g) - 1) + a }, easeinexpo: function(e, f, a, h, g) { return (f == 0) ? a: h * math.pow(2, 10 * (f / g - 1)) + a }, easeoutexpo: function(e, f, a, h, g) { return (f == g) ? a + h: h * ( - math.pow(2, -10 * f / g) + 1) + a }, easeinoutexpo: function(e, f, a, h, g) { if (f == 0) { return a } if (f == g) { return a + h } if ((f /= g / 2) < 1) { return h / 2 * math.pow(2, 10 * (f - 1)) + a } return h / 2 * ( - math.pow(2, -10 * --f) + 2) + a }, easeincirc: function(e, f, a, h, g) { return - h * (math.sqrt(1 - (f /= g) * f) - 1) + a }, easeoutcirc: function(e, f, a, h, g) { return h * math.sqrt(1 - (f = f / g - 1) * f) + a }, easeinoutcirc: function(e, f, a, h, g) { if ((f /= g / 2) < 1) { return - h / 2 * (math.sqrt(1 - f * f) - 1) + a } return h / 2 * (math.sqrt(1 - (f -= 2) * f) + 1) + a }, easeinelastic: function(f, h, e, l, k) { var i = 1.70158; var j = 0; var g = l; if (h == 0) { return e } if ((h /= k) == 1) { return e + l } if (!j) { j = k * 0.3 } if (g < math.abs(l)) { g = l; var i = j / 4 } else { var i = j / (2 * math.pi) * math.asin(l / g) } return - (g * math.pow(2, 10 * (h -= 1)) * math.sin((h * k - i) * (2 * math.pi) / j)) + e }, easeoutelastic: function(f, h, e, l, k) { var i = 1.70158; var j = 0; var g = l; if (h == 0) { return e } if ((h /= k) == 1) { return e + l } if (!j) { j = k * 0.3 } if (g < math.abs(l)) { g = l; var i = j / 4 } else { var i = j / (2 * math.pi) * math.asin(l / g) } return g * math.pow(2, -10 * h) * math.sin((h * k - i) * (2 * math.pi) / j) + l + e }, easeinoutelastic: function(f, h, e, l, k) { var i = 1.70158; var j = 0; var g = l; if (h == 0) { return e } if ((h /= k / 2) == 2) { return e + l } if (!j) { j = k * (0.3 * 1.5) } if (g < math.abs(l)) { g = l; var i = j / 4 } else { var i = j / (2 * math.pi) * math.asin(l / g) } if (h < 1) { return - 0.5 * (g * math.pow(2, 10 * (h -= 1)) * math.sin((h * k - i) * (2 * math.pi) / j)) + e } return g * math.pow(2, -10 * (h -= 1)) * math.sin((h * k - i) * (2 * math.pi) / j) * 0.5 + l + e }, easeinback: function(e, f, a, i, h, g) { if (g == undefined) { g = 1.70158 } return i * (f /= h) * f * ((g + 1) * f - g) + a }, easeoutback: function(e, f, a, i, h, g) { if (g == undefined) { g = 1.70158 } return i * ((f = f / h - 1) * f * ((g + 1) * f + g) + 1) + a }, easeinoutback: function(e, f, a, i, h, g) { if (g == undefined) { g = 1.70158 } if ((f /= h / 2) < 1) { return i / 2 * (f * f * (((g *= (1.525)) + 1) * f - g)) + a } return i / 2 * ((f -= 2) * f * (((g *= (1.525)) + 1) * f + g) + 2) + a }, easeinbounce: function(e, f, a, h, g) { return h - jquery.easing.easeoutbounce(e, g - f, 0, h, g) + a }, easeoutbounce: function(e, f, a, h, g) { if ((f /= g) < (1 / 2.75)) { return h * (7.5625 * f * f) + a } else { if (f < (2 / 2.75)) { return h * (7.5625 * (f -= (1.5 / 2.75)) * f + 0.75) + a } else { if (f < (2.5 / 2.75)) { return h * (7.5625 * (f -= (2.25 / 2.75)) * f + 0.9375) + a } else { return h * (7.5625 * (f -= (2.625 / 2.75)) * f + 0.984375) + a } } } }, easeinoutbounce: function(e, f, a, h, g) { if (f < g / 2) { return jquery.easing.easeinbounce(e, f * 2, 0, h, g) * 0.5 + a } return jquery.easing.easeoutbounce(e, f * 2 - g, 0, h, g) * 0.5 + h * 0.5 + a } }); (function($) { $.fn.running = function() { function n() { var t = $(".animatenum"); var n = { top: $(window).scrolltop(), bottom: $(window).scrolltop() + $(window).height() }; t.each(function() { var t = $(this).attr("data-animatetarget"); n.top <= $(this).offset().top + $(this).height() && n.bottom >= $(this).offset().top && !$(this).data("start") && ($(this).data("start", !0), new animatenum({ obj: $(this), target: t, totaltime: 1e3 })) }) }; function b() { var t = $(".animatebar"); var n = { top: $(window).scrolltop(), bottom: $(window).scrolltop() + $(window).height() }; t.each(function() { var t = $(this).attr("data-animatetarget"); n.top <= $(this).offset().top + $(this).height() && n.bottom >= $(this).offset().top && !$(this).data("start") && ($(this).data("start", !0), new animatebar({ obj: $(this), target: t, totaltime: 1e3 })) }) }; function p() { var t = $(".animatepie"); var n = { top: $(window).scrolltop(), bottom: $(window).scrolltop() + $(window).height() }; t.each(function() { var t = $(this).attr("data-animatetarget"); n.top <= $(this).offset().top + $(this).height() && n.bottom >= $(this).offset().top && !$(this).data("start") && ($(this).data("start", !0), new animatepie({ obj: $(this), target: t, totaltime: 1e3 })) }) }; $(window).bind("scroll", function() { n(); b(); p() }); function animatenum(t) { this.obj = t.obj, this.target = t.target.tostring(), this.totaltime = t.totaltime || 1e3, this.init() }; function animatebar(t) { this.obj = t.obj, this.target = t.target.tostring(), this.totaltime = t.totaltime || 1e3, this.init() }; function animatepie(t) { this.obj = t.obj, this.target = t.target.tostring(), this.totaltime = t.totaltime || 1e3, this.init() }; animatenum.prototype = { init: function() { return this.target ? (this.animation(), void 0) : !1 }, animation: function() { var t = this, i = this.target.indexof("."), e = 0; i >= 0 && (e = this.target.length - i - 1); var n = this.target.replace(".", ""), s = this.totaltime / 30 | 0, a = n / s | 0, r = 0, h = 0; t.timer = setinterval(function() { r++, h += a, t.obj.html(h / math.pow(10, e)), r >= s && (clearinterval(t.timer), t.obj.html(t.target)) }, 30) } }; animatebar.prototype = { init: function() { return this.target ? (this.animation(), void 0) : !1 }, animation: function() { var t = this, i = this.target.indexof("."), e = 0; i >= 0 && (e = this.target.length - i - 1); var n = this.target.replace(".", ""), s = this.totaltime / 30 | 0, a = n / s | 0, r = 0, h = 0; t.timer = setinterval(function() { r++, h += a, t.obj.css('width', h / math.pow(10, e) + '%'), r >= s && (clearinterval(t.timer), t.obj.animate({ 'width': t.target + '%' })) }, 30) } }; animatepie.prototype = { init: function() { return this.target ? (this.animation(), void 0) : !1 }, animation: function() { var t = this; s = this.totaltime / 60 | 0; r = 0; t.i = 0; t.count = 0; t.j = 0; num = t.target; function start1() { t.obj.find('.pieinner span').html(t.i + 1); if (num == 0) return false; t.i = t.i + 1; if (t.i == num) { clearinterval(t.t1) } if (t.i == 50) { clearinterval(t.t1); num2 = num - 50; t.t2 = setinterval(start2, 1) }; t.obj.find(".pieleftinner").css("-o-transform", "rotate(" + t.i * 3.6 + "deg)"); t.obj.find(".pieleftinner").css("-moz-transform", "rotate(" + t.i * 3.6 + "deg)"); t.obj.find(".pieleftinner").css("-webkit-transform", "rotate(" + t.i * 3.6 + "deg)") }; function start2() { t.obj.find('.pieinner span').html(50 + t.j + 1); if (num2 == 0) return false; t.j = t.j + 1; if (t.j == num2) { clearinterval(t.t2) } if (t.j == 50) { clearinterval(t.t2) }; t.obj.find(".pierightinner").css("-o-transform", "rotate(" + t.j * 3.6 + "deg)"); t.obj.find(".pierightinner").css("-moz-transform", "rotate(" + t.j * 3.6 + "deg)"); t.obj.find(".pierightinner").css("-webkit-transform", "rotate(" + t.j * 3.6 + "deg)") }; t.t1 = setinterval(function() { r++; r >= s && (clearinterval(t.timer), start1()) }, 30) } } } })(jquery); (function(e) { "use strict"; e.fn.counterup = function(t) { var n = e.extend({ time: 400, delay: 10 }, t); return this.each(function() { var t = e(this), r = n, i = function() { var e = [], n = r.time / r.delay, i = t.text(), s = /[0-9]+,[0-9]+/.test(i); i = i.replace(/,/g, ""); var o = /^[0-9]+$/.test(i), u = /^[0-9]+\.[0-9]+$/.test(i), a = u ? (i.split(".")[1] || []).length: 0; for (var f = n; f >= 1; f--) { var l = parseint(i / n * f); u && (l = parsefloat(i / n * f).tofixed(a)); if (s) while (/(\d+)(\d{3})/.test(l.tostring())) l = l.tostring().replace(/(\d+)(\d{3})/, "$1,$2"); e.unshift(l) } t.data("counterup-nums", e); t.text("0"); var c = function() { t.text(t.data("counterup-nums").shift()); if (t.data("counterup-nums").length) settimeout(t.data("counterup-func"), r.delay); else { delete t.data("counterup-nums"); t.data("counterup-nums", null); t.data("counterup-func", null) } }; t.data("counterup-func", c); settimeout(t.data("counterup-func"), r.delay) }; t.waypoint(i, { offset: "100%", triggeronce: !0 }) }) } })(jquery); (function() { var t = [].indexof || function(t) { for (var e = 0, n = this.length; e < n; e++) { if (e in this && this[e] === t) return e } return - 1 }, e = [].slice; (function(t, e) { if (typeof define === "function" && define.amd) { return define("waypoints", ["jquery"], function(n) { return e(n, t) }) } else { return e(t.jquery, t) } })(this, function(n, r) { var i, o, l, s, f, u, a, c, h, d, p, y, v, w, g, m; i = n(r); c = t.call(r, "ontouchstart") >= 0; s = { horizontal: {}, vertical: {} }; f = 1; a = {}; u = "waypoints-context-id"; p = "resize.waypoints"; y = "scroll.waypoints"; v = 1; w = "waypoints-waypoint-ids"; g = "waypoint"; m = "waypoints"; o = function() { function t(t) { var e = this; this.$element = t; this.element = t[0]; this.didresize = false; this.didscroll = false; this.id = "context" + f++; this.oldscroll = { x: t.scrollleft(), y: t.scrolltop() }; this.waypoints = { horizontal: {}, vertical: {} }; t.data(u, this.id); a[this.id] = this; t.bind(y, function() { var t; if (! (e.didscroll || c)) { e.didscroll = true; t = function() { e.doscroll(); return e.didscroll = false }; return r.settimeout(t, n[m].settings.scrollthrottle) } }); t.bind(p, function() { var t; if (!e.didresize) { e.didresize = true; t = function() { n[m]("refresh"); return e.didresize = false }; return r.settimeout(t, n[m].settings.resizethrottle) } }) } t.prototype.doscroll = function() { var t, e = this; t = { horizontal: { newscroll: this.$element.scrollleft(), oldscroll: this.oldscroll.x, forward: "right", backward: "left" }, vertical: { newscroll: this.$element.scrolltop(), oldscroll: this.oldscroll.y, forward: "down", backward: "up" } }; if (c && (!t.vertical.oldscroll || !t.vertical.newscroll)) { n[m]("refresh") } n.each(t, function(t, r) { var i, o, l; l = []; o = r.newscroll > r.oldscroll; i = o ? r.forward: r.backward; n.each(e.waypoints[t], function(t, e) { var n, i; if (r.oldscroll < (n = e.offset) && n <= r.newscroll) { return l.push(e) } else if (r.newscroll < (i = e.offset) && i <= r.oldscroll) { return l.push(e) } }); l.sort(function(t, e) { return t.offset - e.offset }); if (!o) { l.reverse() } return n.each(l, function(t, e) { if (e.options.continuous || t === l.length - 1) { return e.trigger([i]) } }) }); return this.oldscroll = { x: t.horizontal.newscroll, y: t.vertical.newscroll } }; t.prototype.refresh = function() { var t, e, r, i = this; r = n.iswindow(this.element); e = this.$element.offset(); this.doscroll(); t = { horizontal: { contextoffset: r ? 0 : e.left, contextscroll: r ? 0 : this.oldscroll.x, contextdimension: this.$element.width(), oldscroll: this.oldscroll.x, forward: "right", backward: "left", offsetprop: "left" }, vertical: { contextoffset: r ? 0 : e.top, contextscroll: r ? 0 : this.oldscroll.y, contextdimension: r ? n[m]("viewportheight") : this.$element.height(), oldscroll: this.oldscroll.y, forward: "down", backward: "up", offsetprop: "top" } }; return n.each(t, function(t, e) { return n.each(i.waypoints[t], function(t, r) { var i, o, l, s, f; i = r.options.offset; l = r.offset; o = n.iswindow(r.element) ? 0 : r.$element.offset()[e.offsetprop]; if (n.isfunction(i)) { i = i.apply(r.element) } else if (typeof i === "string") { i = parsefloat(i); if (r.options.offset.indexof("%") > -1) { i = math.ceil(e.contextdimension * i / 100) } } r.offset = o - e.contextoffset + e.contextscroll - i; if (r.options.onlyonscroll && l != null || !r.enabled) { return } if (l !== null && l < (s = e.oldscroll) && s <= r.offset) { return r.trigger([e.backward]) } else if (l !== null && l > (f = e.oldscroll) && f >= r.offset) { return r.trigger([e.forward]) } else if (l === null && e.oldscroll >= r.offset) { return r.trigger([e.forward]) } }) }) }; t.prototype.checkempty = function() { if (n.isemptyobject(this.waypoints.horizontal) && n.isemptyobject(this.waypoints.vertical)) { this.$element.unbind([p, y].join(" ")); return delete a[this.id] } }; return t } (); l = function() { function t(t, e, r) { var i, o; r = n.extend({}, n.fn[g].defaults, r); if (r.offset === "bottom-in-view") { r.offset = function() { var t; t = n[m]("viewportheight"); if (!n.iswindow(e.element)) { t = e.$element.height() } return t - n(this).outerheight() } } this.$element = t; this.element = t[0]; this.axis = r.horizontal ? "horizontal": "vertical"; this.callback = r.handler; this.context = e; this.enabled = r.enabled; this.id = "waypoints" + v++; this.offset = null; this.options = r; e.waypoints[this.axis][this.id] = this; s[this.axis][this.id] = this; i = (o = t.data(w)) != null ? o: []; i.push(this.id); t.data(w, i) } t.prototype.trigger = function(t) { if (!this.enabled) { return } if (this.callback != null) { this.callback.apply(this.element, t) } if (this.options.triggeronce) { return this.destroy() } }; t.prototype.disable = function() { return this.enabled = false }; t.prototype.enable = function() { this.context.refresh(); return this.enabled = true }; t.prototype.destroy = function() { delete s[this.axis][this.id]; delete this.context.waypoints[this.axis][this.id]; return this.context.checkempty() }; t.getwaypointsbyelement = function(t) { var e, r; r = n(t).data(w); if (!r) { return [] } e = n.extend({}, s.horizontal, s.vertical); return n.map(r, function(t) { return e[t] }) }; return t } (); d = { init: function(t, e) { var r; if (e == null) { e = {} } if ((r = e.handler) == null) { e.handler = t } this.each(function() { var t, r, i, s; t = n(this); i = (s = e.context) != null ? s: n.fn[g].defaults.context; if (!n.iswindow(i)) { i = t.closest(i) } i = n(i); r = a[i.data(u)]; if (!r) { r = new o(i) } return new l(t, r, e) }); n[m]("refresh"); return this }, disable: function() { return d._invoke(this, "disable") }, enable: function() { return d._invoke(this, "enable") }, destroy: function() { return d._invoke(this, "destroy") }, prev: function(t, e) { return d._traverse.call(this, t, e, function(t, e, n) { if (e > 0) { return t.push(n[e - 1]) } }) }, next: function(t, e) { return d._traverse.call(this, t, e, function(t, e, n) { if (e < n.length - 1) { return t.push(n[e + 1]) } }) }, _traverse: function(t, e, i) { var o, l; if (t == null) { t = "vertical" } if (e == null) { e = r } l = h.aggregate(e); o = []; this.each(function() { var e; e = n.inarray(this, l[t]); return i(o, e, l[t]) }); return this.pushstack(o) }, _invoke: function(t, e) { t.each(function() { var t; t = l.getwaypointsbyelement(this); return n.each(t, function(t, n) { n[e](); return true }) }); return this } }; n.fn[g] = function() { var t, r; r = arguments[0], t = 2 <= arguments.length ? e.call(arguments, 1) : []; if (d[r]) { return d[r].apply(this, t) } else if (n.isfunction(r)) { return d.init.apply(this, arguments) } else if (n.isplainobject(r)) { return d.init.apply(this, [null, r]) } else if (!r) { return n.error("jquery waypoints needs a callback function or handler option.") } else { return n.error("the " + r + " method does not exist in jquery waypoints.") } }; n.fn[g].defaults = { context: r, continuous: true, enabled: true, horizontal: false, offset: 0, triggeronce: false }; h = { refresh: function() { return n.each(a, function(t, e) { return e.refresh() }) }, viewportheight: function() { var t; return (t = r.innerheight) != null ? t: i.height() }, aggregate: function(t) { var e, r, i; e = s; if (t) { e = (i = a[n(t).data(u)]) != null ? i.waypoints: void 0 } if (!e) { return [] } r = { horizontal: [], vertical: [] }; n.each(r, function(t, i) { n.each(e[t], function(t, e) { return i.push(e) }); i.sort(function(t, e) { return t.offset - e.offset }); r[t] = n.map(i, function(t) { return t.element }); return r[t] = n.unique(r[t]) }); return r }, above: function(t) { if (t == null) { t = r } return h._filter(t, "vertical", function(t, e) { return e.offset <= t.oldscroll.y }) }, below: function(t) { if (t == null) { t = r } return h._filter(t, "vertical", function(t, e) { return e.offset > t.oldscroll.y }) }, left: function(t) { if (t == null) { t = r } return h._filter(t, "horizontal", function(t, e) { return e.offset <= t.oldscroll.x }) }, right: function(t) { if (t == null) { t = r } return h._filter(t, "horizontal", function(t, e) { return e.offset > t.oldscroll.x }) }, enable: function() { return h._invoke("enable") }, disable: function() { return h._invoke("disable") }, destroy: function() { return h._invoke("destroy") }, extendfn: function(t, e) { return d[t] = e }, _invoke: function(t) { var e; e = n.extend({}, s.vertical, s.horizontal); return n.each(e, function(e, n) { n[t](); return true }) }, _filter: function(t, e, r) { var i, o; i = a[n(t).data(u)]; if (!i) { return [] } o = []; n.each(i.waypoints[e], function(t, e) { if (r(i, e)) { return o.push(e) } }); o.sort(function(t, e) { return t.offset - e.offset }); return n.map(o, function(t) { return t.element }) } }; n[m] = function() { var t, n; n = arguments[0], t = 2 <= arguments.length ? e.call(arguments, 1) : []; if (h[n]) { return h[n].apply(null, t) } else { return h.aggregate.call(null, n) } }; n[m].settings = { resizethrottle: 100, scrollthrottle: 30 }; return i.load(function() { return n[m]("refresh") }) }) }).call(this); ! function(t) { "use strict"; t.fn.countup = function(e) { var a = t.extend({ time: 2e3, delay: 10 }, e); return this.each(function() { var e = t(this), n = a, u = function() { e.data("counterupto") || e.data("counterupto", e.text()); var t = parseint(e.data("counter-time")) > 0 ? parseint(e.data("counter-time")) : n.time, a = parseint(e.data("counter-delay")) > 0 ? parseint(e.data("counter-delay")) : n.delay, u = t / a, r = e.data("counterupto"), o = [r], c = /[0-9]+,[0-9]+/.test(r); r = r.replace(/,/g, ""); for (var d = (/^[0-9]+$/.test(r), /^[0-9]+\.[0-9]+$/.test(r)), s = d ? (r.split(".")[1] || []).length: 0, i = u; i >= 1; i--) { var p = parseint(math.round(r / u * i)); if (d && (p = parsefloat(r / u * i).tofixed(s)), c) for (; /(\d+)(\d{3})/.test(p.tostring());) p = p.tostring().replace(/(\d+)(\d{3})/, "$1,$2"); o.unshift(p) } e.data("counterup-nums", o), e.text("0"); var f = function() { e.text(e.data("counterup-nums").shift()), e.data("counterup-nums").length ? settimeout(e.data("counterup-func"), a) : (delete e.data("counterup-nums"), e.data("counterup-nums", null), e.data("counterup-func", null)) }; e.data("counterup-func", f), settimeout(e.data("counterup-func"), a) }; e.waypoint(u, { offset: "100%", triggeronce: !0 }) }) } } (jquery); /* _ _ _ _ ___| (_) ___| | __ (_)___ / __| | |/ __| |/ / | / __| \__ \ | | (__| < _ | \__ \ |___/_|_|\___|_|\_(_)/ |___/ |__/ version: 1.6.0 author: ken wheeler website: http://kenwheeler.github.io docs: http://kenwheeler.github.io/slick repo: http://github.com/kenwheeler/slick issues: http://github.com/kenwheeler/slick/issues */ ! function(a) { "use strict"; "function" == typeof define && define.amd ? define(["jquery"], a) : "undefined" != typeof exports ? module.exports = a(require("jquery")) : a(jquery) } (function(a) { "use strict"; var b = window.slick || {}; b = function() { function c(c, d) { var f, e = this; e.defaults = { accessibility: !0, adaptiveheight: !1, appendarrows: a(c), appenddots: a(c), arrows: !0, asnavfor: null, prevarrow: '
', nextarrow: '
', autoplay: 1, autoplayspeed: 3e3, centermode: 1, centerpadding: "50px", cssease: "ease", custompaging: function(b, c) { return a('