//Wow.min.js /*! AMIT - v0.1.9 - 2014-05-10 * Copyright (c) 2014 Matthieu Aussaguel; Licensed MIT */(function () { var a, b, c = function (a, b) { return function () { return a.apply(b, arguments) } }; a = function () { function a() { } return a.prototype.extend = function (a, b) { var c, d; for (c in a) d = a[c], null != d && (b[c] = d); return b }, a.prototype.isMobile = function (a) { return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(a) }, a }(), b = this.WeakMap || (b = function () { function a() { this.keys = [], this.values = [] } return a.prototype.get = function (a) { var b, c, d, e, f; for (f = this.keys, b = d = 0, e = f.length; e > d; b = ++d) if (c = f[b], c === a) return this.values[b] }, a.prototype.set = function (a, b) { var c, d, e, f, g; for (g = this.keys, c = e = 0, f = g.length; f > e; c = ++e) if (d = g[c], d === a) return void (this.values[c] = b); return this.keys.push(a), this.values.push(b) }, a }()), this.AMIT = function () { function d(a) { null == a && (a = {}), this.scrollCallback = c(this.scrollCallback, this), this.scrollHandler = c(this.scrollHandler, this), this.start = c(this.start, this), this.scrolled = !0, this.config = this.util().extend(a, this.defaults), this.animationNameCache = new b } return d.prototype.defaults = { boxClass: "AMIT", animateClass: "animated", offset: 0, mobile: !0 }, d.prototype.init = function () { var a; return this.element = window.document.documentElement, "interactive" === (a = document.readyState) || "complete" === a ? this.start() : document.addEventListener("DOMContentLoaded", this.start) }, d.prototype.start = function () { var a, b, c, d; if (this.boxes = this.element.getElementsByClassName(this.config.boxClass), this.boxes.length) { if (this.disabled()) return this.resetStyle(); for (d = this.boxes, b = 0, c = d.length; c > b; b++) a = d[b], this.applyStyle(a, !0); return window.addEventListener("scroll", this.scrollHandler, !1), window.addEventListener("resize", this.scrollHandler, !1), this.interval = setInterval(this.scrollCallback, 50) } }, d.prototype.stop = function () { return window.removeEventListener("scroll", this.scrollHandler, !1), window.removeEventListener("resize", this.scrollHandler, !1), null != this.interval ? clearInterval(this.interval) : void 0 }, d.prototype.show = function (a) { return this.applyStyle(a), a.className = "" + a.className + " " + this.config.animateClass }, d.prototype.applyStyle = function (a, b) { var c, d, e; return d = a.getAttribute("data-AMIT-duration"), c = a.getAttribute("data-AMIT-delay"), e = a.getAttribute("data-AMIT-iteration"), this.animate(function (f) { return function () { return f.customStyle(a, b, d, c, e) } }(this)) }, d.prototype.animate = function () { return "requestAnimationFrame" in window ? function (a) { return window.requestAnimationFrame(a) } : function (a) { return a() } }(), d.prototype.resetStyle = function () { var a, b, c, d, e; for (d = this.boxes, e = [], b = 0, c = d.length; c > b; b++) a = d[b], e.push(a.setAttribute("style", "visibility: visible;")); return e }, d.prototype.customStyle = function (a, b, c, d, e) { return b && this.cacheAnimationName(a), a.style.visibility = b ? "hidden" : "visible", c && this.vendorSet(a.style, { animationDuration: c }), d && this.vendorSet(a.style, { animationDelay: d }), e && this.vendorSet(a.style, { animationIterationCount: e }), this.vendorSet(a.style, { animationName: b ? "none" : this.cachedAnimationName(a) }), a }, d.prototype.vendors = ["moz", "webkit"], d.prototype.vendorSet = function (a, b) { var c, d, e, f; f = []; for (c in b) d = b[c], a["" + c] = d, f.push(function () { var b, f, g, h; for (g = this.vendors, h = [], b = 0, f = g.length; f > b; b++) e = g[b], h.push(a["" + e + c.charAt(0).toUpperCase() + c.substr(1)] = d); return h }.call(this)); return f }, d.prototype.vendorCSS = function (a, b) { var c, d, e, f, g, h; for (d = window.getComputedStyle(a), c = d.getPropertyCSSValue(b), h = this.vendors, f = 0, g = h.length; g > f; f++) e = h[f], c = c || d.getPropertyCSSValue("-" + e + "-" + b); return c }, d.prototype.animationName = function (a) { var b; try { b = this.vendorCSS(a, "animation-name").cssText } catch (c) { b = window.getComputedStyle(a).getPropertyValue("animation-name") } return "none" === b ? "" : b }, d.prototype.cacheAnimationName = function (a) { return this.animationNameCache.set(a, this.animationName(a)) }, d.prototype.cachedAnimationName = function (a) { return this.animationNameCache.get(a) }, d.prototype.scrollHandler = function () { return this.scrolled = !0 }, d.prototype.scrollCallback = function () { var a; return this.scrolled && (this.scrolled = !1, this.boxes = function () { var b, c, d, e; for (d = this.boxes, e = [], b = 0, c = d.length; c > b; b++) a = d[b], a && (this.isVisible(a) ? this.show(a) : e.push(a)); return e }.call(this), !this.boxes.length) ? this.stop() : void 0 }, d.prototype.offsetTop = function (a) { for (var b; void 0 === a.offsetTop;) a = a.parentNode; for (b = a.offsetTop; a = a.offsetParent;) b += a.offsetTop; return b }, d.prototype.isVisible = function (a) { var b, c, d, e, f; return c = a.getAttribute("data-AMIT-offset") || this.config.offset, f = window.pageYOffset, e = f + this.element.clientHeight - c, d = this.offsetTop(a), b = d + a.clientHeight, e >= d && b >= f }, d.prototype.util = function () { return this._util || (this._util = new a) }, d.prototype.disabled = function () { return !this.config.mobile && this.util().isMobile(navigator.userAgent) }, d }() }).call(this); //Types.min.js !function (n) { "use strict"; var t = function (t, i) { this.el = n(t); this.options = n.extend({}, n.fn.typed.defaults, i); this.isInput = this.el.is("input"); this.attr = this.options.attr; this.showCursor = this.isInput ? !1 : this.options.showCursor; this.elContent = this.attr ? this.el.attr(this.attr) : this.el.text(); this.contentType = this.options.contentType; this.typeSpeed = this.options.typeSpeed; this.startDelay = this.options.startDelay; this.backSpeed = this.options.backSpeed; this.backDelay = this.options.backDelay; this.stringsElement = this.options.stringsElement; this.strings = this.options.strings; this.strPos = 0; this.arrayPos = 0; this.stopNum = 0; this.loop = this.options.loop; this.loopCount = this.options.loopCount; this.curLoop = 0; this.stop = !1; this.cursorChar = this.options.cursorChar; this.shuffle = this.options.shuffle; this.sequence = []; this.build() }; t.prototype = { constructor: t, init: function () { var n = this; n.timeout = setTimeout(function () { for (var t = 0; t < n.strings.length; ++t) n.sequence[t] = t; n.shuffle && (n.sequence = n.shuffleArray(n.sequence)); n.typewrite(n.strings[n.sequence[n.arrayPos]], n.strPos) }, n.startDelay) }, build: function () { var t = this, i; this.showCursor === !0 && (this.cursor = n('' + this.cursorChar + "<\/span>"), this.el.after(this.cursor)); this.stringsElement && (t.strings = [], this.stringsElement.hide(), i = this.stringsElement.find("p"), n.each(i, function (i, r) { t.strings.push(n(r).html()) })); this.init() }, typewrite: function (n, t) { if (this.stop !== !0) { var r = Math.round(Math.random() * 70) + this.typeSpeed, i = this; i.timeout = setTimeout(function () { var s = 0, r = n.substr(t), e, u, o, f; if (r.charAt(0) === "^" && (e = 1, /^\^\d+/.test(r) && (r = /\d+/.exec(r)[0], e += r.length, s = parseInt(r)), n = n.substring(0, t) + n.substring(t + e)), i.contentType === "html" && (u = n.substr(t).charAt(0), u === "<" || u === "&")) { for (o = "", f = "", f = u === "<" ? ">" : ";"; n.substr(t).charAt(0) !== f;) o += n.substr(t).charAt(0), t++; t++; o += f } i.timeout = setTimeout(function () { if (t === n.length) { i.options.onStringTyped(i.arrayPos); if (i.arrayPos === i.strings.length - 1 && (i.options.callback(), i.curLoop++, i.loop === !1 || i.curLoop === i.loopCount)) return; i.timeout = setTimeout(function () { i.backspace(n, t) }, i.backDelay) } else { t === 0 && i.options.preStringTyped(i.arrayPos); var r = n.substr(0, t + 1); i.attr ? i.el.attr(i.attr, r) : i.isInput ? i.el.val(r) : i.contentType === "html" ? i.el.html(r) : i.el.text(r); t++; i.typewrite(n, t) } }, s) }, r) } }, backspace: function (n, t) { if (this.stop !== !0) { var r = Math.round(Math.random() * 70) + this.backSpeed, i = this; i.timeout = setTimeout(function () { var u, r; if (i.contentType === "html" && n.substr(t).charAt(0) === ">") { for (u = ""; n.substr(t).charAt(0) !== "<";) u -= n.substr(t).charAt(0), t--; t--; u += "<" } r = n.substr(0, t); i.attr ? i.el.attr(i.attr, r) : i.isInput ? i.el.val(r) : i.contentType === "html" ? i.el.html(r) : i.el.text(r); t > i.stopNum ? (t--, i.backspace(n, t)) : t <= i.stopNum && (i.arrayPos++, i.arrayPos === i.strings.length ? (i.arrayPos = 0, i.shuffle && (i.sequence = i.shuffleArray(i.sequence)), i.init()) : i.typewrite(i.strings[i.sequence[i.arrayPos]], t)) }, r) } }, shuffleArray: function (n) { var r, i, t = n.length; if (t) while (--t) i = Math.floor(Math.random() * (t + 1)), r = n[i], n[i] = n[t], n[t] = r; return n }, reset: function () { var n = this, t; clearInterval(n.timeout); t = this.el.attr("id"); this.el.after(''); this.el.remove(); typeof this.cursor != "undefined" && this.cursor.remove(); n.options.resetCallback() } }; n.fn.typed = function (i) { return this.each(function () { var u = n(this), r = u.data("typed"), f = typeof i == "object" && i; r || u.data("typed", r = new t(this, f)); typeof i == "string" && r[i]() }) }; n.fn.typed.defaults = { strings: ["These are the default values...", "You know what you should do?", "Use your own!", "Have a great day!"], stringsElement: null, typeSpeed: 0, startDelay: 0, backSpeed: 0, shuffle: !1, backDelay: 500, loop: !1, loopCount: !1, showCursor: !0, cursorChar: "|", attr: null, contentType: "html", callback: function () { }, preStringTyped: function () { }, onStringTyped: function () { }, resetCallback: function () { } } }(window.jQuery); /* //# sourceMappingURL=typed.min.js.map */