1/* 2Plugin Name: BrowserSelector 3Written by: Okler Themes - (http://www.okler.net) 4Theme Version: 5.7.2 5*/ 6!function (a) { a.extend({ browserSelector: function () { !function (a) { (jQuery.browser = jQuery.browser || {}).mobile = /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(a) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0, 4)) }(navigator.userAgent || navigator.vendor || window.opera); var b = "ontouchstart" in window || navigator.msMaxTouchPoints, d = navigator.userAgent, e = d.toLowerCase(), f = function (a) { return e.indexOf(a) > -1 }, g = "gecko", h = "webkit", i = "safari", j = "opera", k = document.documentElement, l = [!/opera|webtv/i.test(e) && /msie\s(\d)/.test(e) ? "ie ie" + parseFloat(navigator.appVersion.split("MSIE")[1]) : f("firefox/2") ? g + " ff2" : f("firefox/3.5") ? g + " ff3 ff3_5" : f("firefox/3") ? g + " ff3" : f("gecko/") ? g : f("opera") ? j + (/version\/(\d+)/.test(e) ? " " + j + RegExp.jQuery1 : /opera(\s|\/)(\d+)/.test(e) ? " " + j + RegExp.jQuery2 : "") : f("konqueror") ? "konqueror" : f("chrome") ? h + " chrome" : f("iron") ? h + " iron" : f("applewebkit/") ? h + " " + i + (/version\/(\d+)/.test(e) ? " " + i + RegExp.jQuery1 : "") : f("mozilla/") ? g : "", f("j2me") ? "mobile" : f("iphone") ? "iphone" : f("ipod") ? "ipod" : f("mac") ? "mac" : f("darwin") ? "mac" : f("webtv") ? "webtv" : f("win") ? "win" : f("freebsd") ? "freebsd" : f("x11") || f("linux") ? "linux" : "", "js"]; c = l.join(" "), a.browser.mobile && (c += " mobile"), b && (c += " touch"), k.className += " " + c; var m = !window.ActiveXObject && "ActiveXObject" in window; return m ? void a("html").removeClass("gecko").addClass("ie ie11") : (a("body").hasClass("dark") && a("html").addClass("dark"), void (a("body").hasClass("boxed") && a("html").addClass("boxed"))) } }), a.browserSelector() }(jQuery), function (a) { function b(a, b) { return a.toFixed(b.decimals) } a.fn.countTo = function (b) { return b = b || {}, a(this).each(function () { function c() { k += g, j++, d(k), "function" == typeof e.onUpdate && e.onUpdate.call(h, k), j >= f && (i.removeData("countTo"), clearInterval(l.interval), k = e.to, "function" == typeof e.onComplete && e.onComplete.call(h, k)) } function d(a) { var b = e.formatter.call(h, a, e); i.html(b) } var e = a.extend({}, a.fn.countTo.defaults, { from: a(this).data("from"), to: a(this).data("to"), speed: a(this).data("speed"), refreshInterval: a(this).data("refresh-interval"), decimals: a(this).data("decimals") }
6, b), f = Math.ceil(e.speed / e.refreshInterval), g = (e.to - e.from) / f, h = this, i = a(this), j = 0, k = e.from, l = i.data("countTo") || {}; i.data("countTo", l), l.interval && clearInterval(l.interval), l.interval = setInterval(c, e.refreshInterval), d(k) }) }, a.fn.countTo.defaults = { from: 0, to: 0, speed: 1e3, refreshInterval: 100, decimals: 0, formatter: b, onUpdate: null, onComplete: null } }(jQuery), !function (a) { var b = a(window); a.fn.visible = function (a, c, d) { if (!(this.length < 1)) { var e = this.length > 1 ? this.eq(0) : this, f = e.get(0), g = b.width(), h = b.height(), d = d ? d : "both", i = c === !0 ? f.offsetWidth * f.offsetHeight : !0; if ("function" == typeof f.getBoundingClientRect) { var j = f.getBoundingClientRect(), k = j.top >= 0 && j.top < h, l = j.bottom > 0 && j.bottom <= h, m = j.left >= 0 && j.left < g, n = j.right > 0 && j.right <= g, o = a ? k || l : k && l, p = a ? m || n : m && n; if ("both" === d) return i && o && p; if ("vertical" === d) return i && o; if ("horizontal" === d) return i && p } else { var q = b.scrollTop(), r = q + h, s = b.scrollLeft(), t = s + g, u = e.offset(), v = u.top, w = v + e.height(), x = u.left, y = x + e.width(), z = a === !0 ? w : v, A = a === !0 ? v : w, B = a === !0 ? y : x, C = a === !0 ? x : y; if ("both" === d) return !!i && r >= A && z >= q && t >= C && B >= s; if ("vertical" === d) return !!i && r >= A && z >= q; if ("horizontal" === d) return !!i && t >= C && B >= s } } } }(jQuery), function (a) { "use strict"; var b, c = { action: function () { }, runOnLoad: !1, duration: 500 }, d = c, e = !1, f = {}; f.init = function () { for (var b = 0; b <= arguments.length; b++) { var c = arguments[b]; switch (typeof c) { case "function": d.action = c; break; case "boolean": d.runOnLoad = c; break; case "number": d.duration = c } } return this.each(function () { d.runOnLoad && d.action(), a(this).resize(function () { f.timedAction.call(this) }) }) }, f.timedAction = function (a, c) { var f = function () { var a = d.duration; if (e) { var c = new Date - b; if (a = d.duration - c, 0 >= a) return clearTimeout(e), e = !1, void d.action() } g(a) }, g = function (a) { e = setTimeout(f, a) }; b = new Date, "number" == typeof c && (d.duration = c), "function" == typeof a && (d.action = a), e || f() }, a.fn.afterResize = function (a) { return f[a] ? f[a].apply(this, Array.prototype.slice.call(arguments, 1)) : f.init.apply(this, arguments) } }(jQuery), function (a) { var b = -1, c = -1, d = function (b) { var c = 1, d = a(b), f = null, g = []; return d.each(function () { var b = a(this), d = b.offset().top - e(b.css("margin-top")), h = g.length > 0 ? g[g.length - 1] : null; null === h ? g.push(b) : Math.floor(Math.abs(f - d)) <= c ? g[g.length - 1] = h.add(b) : g.push(b), f = d }), g }, e = function (a) { return parseFloat(a) || 0 }, f = function (b) { var c = { byRow: !0, remove: !1, property: "height" }; return "object" == typeof b ? a.extend(c, b) : ("boolean" == typeof b ? c.byRow = b : "remove" === b && (c.remove = !0), c) }, g = a.fn.matchHeight = function (b) { var c = f(b); if (c.remove) { var d = this; return this.css(c.property, ""), a.each(g._groups, function (a, b) { b.elements = b.elements.not(d) }), this } return this.length <= 1 ? this : (g._groups.push({ elements: this, options: c }), g._apply(this, c), this) }; g._groups = [], g._throttle = 80, g._maintainScroll = !1, g._beforeUpdate = null, g._afterUpdate = null, g._apply = function (b, c) { var h = f(c), i = a(b), j = [i], k = a(window).scrollTop(), l = a("html").outerHeight(!0), m = i.parents().filter(":hidden"); return m.each(function () { var b = a(this); b.data("style-cache", b.attr("style")) }), m.css("display", "block"), h.byRow && (i.each(function () { var b = a(this), c = "inline-block" === b.css("display") ? "inline-block" : "block"; b.data("style-cache", b.attr("style")), b.css({ display: c, "padding-top": "0", "padding-bottom": "0", "margin-top": "0", "margin-bottom": "0", "border-top-width": "0", "border-bottom-width": "0", height: "100px" }) }), j = d(i), i.each(function () { var b = a(this); b.attr("style", b.data("style-cache") || "") })), a.each(j, function (b, c) { var d = a(c), f = 0; return h.byRow && d.length <= 1 ? void d.css(h.property, "") : (d.each(function () { var b = a(this), c = "inline-block" === b.css("display") ? "inline-block" : "block", d = { display: c }; d[h.property] = "", b.css(d), b.outerHeight(!1) > f && (f = b.outerHeight(!1)), b.css("display", "") }), void d.each(function () { var b = a(this), c = 0; "border-box" !== b.css("box-sizing") && (c += e(b.css("border-top-width")) + e(b.css("border-bottom-width")), c += e(b.css("padding-top")) + e(b.css("padding-bottom"))), b.css(h.property, f - c) })) }), m.each(function () { var b = a(this); b.attr("style", b.data("style-cache") || null) }), g._maintainScroll && a(window).scrollTop(k / l * a("html").outerHeight(!0)), this }, g._applyDataApi = function () { var b = {}; a("[data-match-height], [data-mh]").each(function () { var c = a(this), d = c.attr("data-match-height") || c.attr("data-mh"); d in b ? b[d] = b[d].add(c) : b[d] = c }), a.each(b, function () { this.matchHeight(!0) }) };
6 var h = function (b) { g._beforeUpdate && g._beforeUpdate(b, g._groups), a.each(g._groups, function () { g._apply(this.elements, this.options) }), g._afterUpdate && g._afterUpdate(b, g._groups) }; g._update = function (d, e) { if (e && "resize" === e.type) { var f = a(window).width(); if (f === b) return; b = f } d ? -1 === c && (c = setTimeout(function () { h(e), c = -1 }, g._throttle)) : h(e) }, a(g._applyDataApi), a(window).bind("load", function (a) { g._update(!1, a) }), a(window).bind("resize orientationchange", function (a) { g._update(!0, a) }) }(jQuery),/* 7Plugin Name: jQuery.pin 8Written by: Okler Themes - (http://www.okler.net) 9Theme Version: 5.7.2 10 11Based on: 12 13 https://github.com/webpop/jquery.pin 14 Licensed under the terms of the MIT license. 15 16*/ 17function (a) { "use strict"; a.fn.pin = function (b) { var c = 0, d = [], e = !1, f = a(window); b = b || {}; var g = function () { for (var c = 0, g = d.length; g > c; c++) { var h = d[c]; if (b.minWidth && f.width() <= b.minWidth) h.parent().is(".pin-wrapper") && h.unwrap(), h.css({ width: "", left: "", top: "", position: "" }), b.activeClass && h.removeClass(b.activeClass), e = !0; else { e = !1; var i = b.containerSelector ? h.closest(b.containerSelector) : a(document.body), j = h.offset(), k = i.offset(), l = h.parent().offset(); h.parent().is(".pin-wrapper") || h.wrap("<div class='pin-wrapper'>"); var m = a.extend({ top: 0, bottom: 0 }, b.padding || {}); h.data("pin", { pad: m, from: (b.containerSelector ? k.top : j.top) - m.top, to: k.top + i.height() - h.outerHeight() - m.bottom, end: k.top + i.height(), parentTop: l.top }), h.css({ width: h.outerWidth() }), h.parent().css("height", h.outerHeight()) } } }, h = function () { if (!e) { c = f.scrollTop(); for (var g = [], h = 0, i = d.length; i > h; h++) { var j = a(d[h]), k = j.data("pin"); if (k) { g.push(j); var l = k.from - k.pad.bottom, m = k.to - k.pad.top; l + j.outerHeight() > k.end ? j.css("position", "") : c > l && m > c ? (!("fixed" == j.css("position")) && j.css({ left: j.offset().left, top: k.pad.top }).css("position", "fixed"), b.activeClass && j.addClass(b.activeClass)) : c >= m ? (j.css({ left: "", top: m - k.parentTop + k.pad.top }).css("position", "absolute"), b.activeClass && j.addClass(b.activeClass)) : (j.css({ position: "", top: "", left: "" }), b.activeClass && j.removeClass(b.activeClass)) } } d = g } }, i = function () { g(), h() }; return this.each(function () { var b = a(this), c = a(this).data("pin") || {}; c && c.update || (d.push(b), a("img", this).one("load", g), c.update = i, a(this).data("pin", c)) }), f.scroll(h), f.resize(function () { g() }), g(), f.on("load", i), this } }(jQuery), /iPad|iPhone|iPod/.test(navigator.platform) && $(document).ready(function (a) { a(".thumb-info").attr("onclick", "return true") }),/* jQuery-FontSpy.js v3.0.0 18 * https://github.com/patrickmarabeas/jQuery-FontSpy.js 19 * 20 * Copyright 2013, Patrick Marabeas http://pulse-dev.com 21 * Released under the MIT license 22 * http://opensource.org/licenses/mit-license.php 23 * 24 * Date: 02/11/2015 25 */ 26function (a, b) { fontSpy = function (a, c) { var d = b("html"), e = b("body"), f = a; if ("string" != typeof f || "" === f) throw "A valid fontName is required. fontName must be a string and must not be an empty string."; var g = { font: f, fontClass: f.toLowerCase().replace(/\s/g, ""), success: function () { }, failure: function () { }, testFont: "Courier New", testString: "QW@HhsXJ", glyphs: "", delay: 50, timeOut: 1e3, callback: b.noop }, h = b.extend(g, c), i = b("<span>" + h.testString + h.glyphs + "</span>").css("position", "absolute").css("top", "-9999px").css("left", "-9999px").css("visibility", "hidden").css("fontFamily", h.testFont).css("fontSize", "250px"); e.append(i); var j = i.outerWidth(); i.css("fontFamily", h.font + "," + h.testFont); var k = function () { d.addClass("no-" + h.fontClass), h && h.failure && h.failure(), h.callback(new Error("FontSpy timeout")), i.remove() }, l = function () { h.callback(), d.addClass(h.fontClass), h && h.success && h.success(), i.remove() }, m = function () { setTimeout(n, h.delay), h.timeOut = h.timeOut - h.delay }, n = function () { var a = i.outerWidth(); j !== a ? l() : h.timeOut < 0 ? k() : m() }; n() } }(this, jQuery), function (a) { "function" == typeof define && define.amd ? define(["jquery"], a) : "object" == typeof exports ? module.exports = a(require("jquery")) : a(jQuery) }(function (a) { var b = "waitForImages"; a.waitForImages = { hasImageProperties: ["backgroundImage", "listStyleImage", "borderImage", "borderCornerImage", "cursor"], hasImageAttributes: ["srcset"] }, a.expr[":"]["has-src"] = function (b) { return a(b).is('img[src][src!=""]') }, a.expr[":"].uncached = function (b) { return a(b).is(":has-src") ? !b.complete : !1 }, a.fn.waitForImages = function () { var c, d, e, f = 0, g = 0, h = a.Deferred(); if (a.isPlainObject(arguments[0]) ? (e = arguments[0].waitForAll, d = arguments[0].each, c = arguments[0].finished) : 1 === arguments.length && "boolean" === a.type(arguments[0]) ? e = arguments[0] : (c = arguments[0], d = arguments[1], e = arguments[2]), c = c || a.noop, d = d || a.noop, e = !!e, !a.isFunction(c) || !a.isFunction(d)) throw new TypeError("An invalid callback was supplied."); return this.each(function () { var i = a(this), j = [], k = a.waitForImages.hasImageProperties || [], l = a.waitForImages.hasImageAttributes || [], m = /url\(\s*(['"]?)(.*?)\1\s*\)/g; e ? i.find("*").addBack().each(function () { var b = a(this); b.is("img:has-src") && !b.is("[srcset]") && j.push({ src: b.attr("src"), element: b[0] }), a.each(k, function (a, c) { var d, e = b.css(c); if (!e) return !0; for (; d = m.exec(e) ;) j.push({ src: d[2], element: b[0] }) }), a.each(l, function (a, c) { var d = b.attr(c); return d ? void j.push({ src: b.attr("src"), srcset: b.attr("srcset"), element: b[0] }) : !0 }) }) : i.find("img:has-src").each(function () { j.push({ src: this.src, element: this }) }), f = j.length, g = 0, 0 === f && (c.call(i[0]), h.resolveWith(i[0])), a.each(j, function (e, j) { var k = new Image, l = "load." + b + " error." + b; a(k).one(l, function m(b) { var e = [g, f, "load" == b.type]; return g++, d.apply(j.element, e), h.notifyWith(j.element, e), a(this).off(l, m), g == f ? (c.call(i[0]), h.resolveWith(i[0]), !1) : void 0 }), j.srcset && (k.srcset = j.srcset), k.src = j.src }) }), h.promise() } });
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.