PageSourceSearch

https://eddiestern.com/wp-content/themes/cardinal/js/combine/theme-scripts.js?ver=2.7.0

js eddiestern.com collected 2026-10-04 03:57:23 UTC 101,487 bytes, 1,355 lines download raw bytes

vendor: 5,001 bytes, lines 1-36
1/*
2 * -- CONTENTS
3 *
4 * - MODERNIZR
5 * - HOVERINTENT
6 * - EASING
7 * - MOUSEWHEEL
8 * - FitVids.js
9 * - FitText
10 * - TouchSwipe
11 * - SMARTRESIZE
12 * - EQUALHEIGHTS
13 * - EASY PIE CHART
14 * - ANIMATE NUMBER
15 * - STICKY
16 * - APPEAR
17 * - COUNTTO
18 * - COUNTDOWN
19 * - STELLAR
20 * - PARALLAX
21 * - VIEWPORTS
22 * - STICKEM
23 * - DOTDOTDOT
24 * - JQUERY TRANSIT
25 * - vCenter
26 *
27 */
28
29/////////////////////////////////////////////
30// MODERNIZR PLUGIN
31/////////////////////////////////////////////
32
33/* Modernizr 2.6.2 (Custom Build) | MIT & BSD
34 * Build: http://modernizr.com/download/#-cssanimations-shiv-cssclasses-testprop-testallprops-domprefixes-load
35 */
36;window.Modernizr=function(a,b,c){function x(a){j.cssText=a}function y(a,b){return x(prefixes.join(a+";")+(b||""))}function z(a,b){return typeof a===b}function A(a,b){return!!~(""+a).indexOf(b)}function B(a,b){for(var d in a){var e=a[d];if(!A(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function C(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:z(f,"function")?f.bind(d||b):f}return!1}function D(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+n.join(d+" ")+d).split(" ");return z(b,"string")||z(b,"undefined")?B(e,b):(e=(a+" "+o.join(d+" ")+d).split(" "),C(e,b,c))}var d="2.6.2",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l={}.toString,m="Webkit Moz O ms",n=m.split(" "),o=m.toLowerCase().split(" "),p={},q={},r={},s=[],t=s.slice,u,v={}.hasOwnProperty,w;!z(v,"undefined")&&!z(v.call,"undefined")?w=function(a,b){return v.call(a,b)}:w=function(a,b){return b in a&&z(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=t.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(t.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(t.call(arguments)))};return e}),p.cssanimations=function(){return D("animationName")};for(var E in p)w(p,E)&&(u=E.toLowerCase(),e[u]=p[E](),s.push((e[u]?"":"no-")+u));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)w(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},x(""),i=k=null,function(a,b){function k(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function l(){var a=r.elements;return typeof a=="string"?a.split(" "):a}function m(a){var b=i[a[g]];return b||(b={},h++,a[g]=h,i[h]=b),b}function n(a,c,f){c||(c=b);if(j)return c.createElement(a);f||(f=m(c));var g;return f.cache[a]?g=f.cache[a].cloneNode():e.test(a)?g=(f.cache[a]=f.createElem(a)).cloneNode():g=f.createElem(a),g.canHaveChildren&&!d.test(a)?f.frag.appendChild(g):g}function o(a,c){a||(a=b);if(j)return a.createDocumentFragment();c=c||m(a);var d=c.frag.cloneNode(),e=0,f=l(),g=f.length;for(;e<g;e++)d.createElement(f[e]);return d}function p(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return r.shivMethods?n(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+l().join().replace(/\w+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(r,b.frag)}function q(a){a||(a=b);var c=m(a);return r.shivCSS&&!f&&!c.hasCSS&&(c.hasCSS=!!k(a,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),j||p(a,c),a}var c=a.html5||{},d=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,e=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,f,g="_html5shiv",h=0,i={},j;(function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",f="hidden"in a,j=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){f=!0,j=!0}})();var r={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,supportsUnknownElements:j,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:q,createElement:n,createDocumentFragment:o};a.html5=r,q(b)}(this,b),e._version=d,e._domPrefixes=o,e._cssomPrefixes=n,e.testProp=function(a){return B([a])},e.testAllProps=D,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+s.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}
vendor: 4,420 bytes, lines 36-61
36function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.length;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};
37
38/**
39 * jQuery Cookie plugin
40 *
41 * Copyright (c) 2010 Klaus Hartl (stilbuero.de)
42 * Dual licensed under the MIT and GPL licenses:
43 * http://www.opensource.org/licenses/mit-license.php
44 * http://www.gnu.org/licenses/gpl.html
45 *
46 */
47jQuery.cookie = function (key, value, options) {
48
49    // key and at least value given, set cookie...
50    if (arguments.length > 1 && String(value) !== "[object Object]") {
51        options = jQuery.extend({}, options);
52
53        if (value === null || value === undefined) {
54            options.expires = -1;
55        }
56
57        if (typeof options.expires === 'number') {
58            var days = options.expires, t = options.expires = new Date();
59            t.setDate(t.getDate() + days);
60        }
61
62        value = String(value);
63
64        return (document.cookie = [
65            encodeURIComponent(key), '=',
66            options.raw ? value : encodeURIComponent(value),
67            options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
68            options.path ? '; path=' + options.path : '',
69            options.domain ? '; domain=' + options.domain : '',
70            options.secure ? '; secure' : ''
71        ].join(''));
72    }
73
74    // key and possibly options given, get cookie...
75    options = value || {};
76    var result, decode = options.raw ? function (s) { return s; } : decodeURIComponent;
77    return (result = new RegExp('(?:^|; )' + encodeURIComponent(key) + '=([^;]*)').exec(document.cookie)) ? decode(result[1]) : null;
78};
79
80
81/////////////////////////////////////////////
82// HOVER INTENT PLUGIN
83/////////////////////////////////////////////
84
85/*!
86 * hoverIntent r7 // 2013.03.11 // jQuery 1.9.1+
87 * http://cherne.net/brian/resources/jquery.hoverIntent.html
88 *
89 * You may use hoverIntent under the terms of the MIT license. Basically that
90 * means you are free to use hoverIntent as long as this header is left intact.
91 * Copyright 2007, 2013 Brian Cherne
92 */
93(function($) {
94    $.fn.hoverIntent = function(handlerIn,handlerOut,selector) {
95
96        // default configuration values
97        var cfg = {
98            interval: 100,
99            sensitivity: 7,
100            timeout: 0
101        };
102
103        if ( typeof handlerIn === "object" ) {
104            cfg = $.extend(cfg, handlerIn );
105        } else if ($.isFunction(handlerOut)) {
106            cfg = $.extend(cfg, { over: handlerIn, out: handlerOut, selector: selector } );
107        } else {
108            cfg = $.extend(cfg, { over: handlerIn, out: handlerIn, selector: handlerOut } );
109        }
110
111        // instantiate variables
112        // cX, cY = current X and Y position of mouse, updated by mousemove event
113        // pX, pY = previous X and Y position of mouse, set by mouseover and polling interval
114        var cX, cY, pX, pY;
115
116        // A private function for getting mouse position
117        var track = function(ev) {
118            cX = ev.pageX;
119            cY = ev.pageY;
120        };
121
122        // A private function for comparing current and previous mouse position
123        var compare = function(ev,ob) {
124            ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t);
125            // compare mouse positions to see if they've crossed the threshold
126            if ( ( Math.abs(pX-cX) + Math.abs(pY-cY) ) < cfg.sensitivity ) {
127                $(ob).off("mousemove.hoverIntent",track);
128                // set hoverIntent state to true (so mouseOut can be called)
129                ob.hoverIntent_s = 1;
130                return cfg.over.apply(ob,[ev]);
131            } else {
132                // set previous coordinates for next time
133                pX = cX; pY = cY;
134                // use self-calling timeout, guarantees intervals are spaced out properly (avoids JavaScript timer bugs)
135                ob.hoverIntent_t = setTimeout( function(){compare(ev, ob);} , cfg.interval );
136            }
137        };
138
139        // A private function for delaying the mouseOut function
140        var delay = function(ev,ob) {
141            ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t);
142            ob.hoverIntent_s = 0;
143            return cfg.out.apply(ob,[ev]);
144        };
145
146        // A private function for handling mouse 'hovering'
147        var handleHover = function(e) {
148            // copy objects to be passed into t (required for event object to be passed in IE)
149            var ev = jQuery.extend({},e);
150            var ob = this;
151
152            // cancel hoverIntent timer if it exists
153            if (ob.hoverIntent_t) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); }
154
155            // if e.type == "mouseenter"
156            if (e.type == "mouseenter") {
157                // set "previous" X and Y position based on initial entry point
158                pX = ev.pageX; pY = ev.pageY;
159                // update "current" X and Y position based on mousemove
160                $(ob).on("mousemove.hoverIntent",track);
161                // start polling interval (self-calling timeout) to compare mouse coordinates over time
162                if (ob.hoverIntent_s != 1) { ob.hoverIntent_t = setTimeout( function(){compare(ev,ob);} , cfg.interval );}
163
164                // else e.type == "mouseleave"
165            } else {
166                // unbind expensive mousemove event
167                $(ob).off("mousemove.hoverIntent",track);
168                // if hoverIntent state is true, then call the mouseOut function after the specified delay
169                if (ob.hoverIntent_s == 1) { ob.hoverIntent_t = setTimeout( function(){delay(ev,ob);} , cfg.timeout );}
170            }
171        };
172
173        // listen for mouseenter and mouseleave
174        return this.on({'mouseenter.hoverIntent':handleHover,'mouseleave.hoverIntent':handleHover}, cfg.selector);
175    };
176})(jQuery);
177
178/////////////////////////////////////////////
vendor: 4,782 bytes, lines 179-319
179// EASING PLUGIN
180/////////////////////////////////////////////
181
182// t: current time, b: begInnIng value, c: change In value, d: duration
183jQuery.easing['jswing'] = jQuery.easing['swing'];
184
185jQuery.extend( jQuery.easing,
186{
187	def: 'easeOutQuad',
188	swing: function (x, t, b, c, d) {
189		//alert(jQuery.easing.default);
190		return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
191	},
192	easeInQuad: function (x, t, b, c, d) {
193		return c*(t/=d)*t + b;
194	},
195	easeOutQuad: function (x, t, b, c, d) {
196		return -c *(t/=d)*(t-2) + b;
197	},
198	easeInOutQuad: function (x, t, b, c, d) {
199		if ((t/=d/2) < 1) return c/2*t*t + b;
200		return -c/2 * ((--t)*(t-2) - 1) + b;
201	},
202	easeInCubic: function (x, t, b, c, d) {
203		return c*(t/=d)*t*t + b;
204	},
205	easeOutCubic: function (x, t, b, c, d) {
206		return c*((t=t/d-1)*t*t + 1) + b;
207	},
208	easeInOutCubic: function (x, t, b, c, d) {
209		if ((t/=d/2) < 1) return c/2*t*t*t + b;
210		return c/2*((t-=2)*t*t + 2) + b;
211	},
212	easeInQuart: function (x, t, b, c, d) {
213		return c*(t/=d)*t*t*t + b;
214	},
215	easeOutQuart: function (x, t, b, c, d) {
216		return -c * ((t=t/d-1)*t*t*t - 1) + b;
217	},
218	easeInOutQuart: function (x, t, b, c, d) {
219		if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
220		return -c/2 * ((t-=2)*t*t*t - 2) + b;
221	},
222	easeInQuint: function (x, t, b, c, d) {
223		return c*(t/=d)*t*t*t*t + b;
224	},
225	easeOutQuint: function (x, t, b, c, d) {
226		return c*((t=t/d-1)*t*t*t*t + 1) + b;
227	},
228	easeInOutQuint: function (x, t, b, c, d) {
229		if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
230		return c/2*((t-=2)*t*t*t*t + 2) + b;
231	},
232	easeInSine: function (x, t, b, c, d) {
233		return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
234	},
235	easeOutSine: function (x, t, b, c, d) {
236		return c * Math.sin(t/d * (Math.PI/2)) + b;
237	},
238	easeInOutSine: function (x, t, b, c, d) {
239		return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
240	},
241	easeInExpo: function (x, t, b, c, d) {
242		return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
243	},
244	easeOutExpo: function (x, t, b, c, d) {
245		return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
246	},
247	easeInOutExpo: function (x, t, b, c, d) {
248		if (t==0) return b;
249		if (t==d) return b+c;
250		if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
251		return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
252	},
253	easeInCirc: function (x, t, b, c, d) {
254		return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
255	},
256	easeOutCirc: function (x, t, b, c, d) {
257		return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
258	},
259	easeInOutCirc: function (x, t, b, c, d) {
260		if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
261		return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
262	},
263	easeInElastic: function (x, t, b, c, d) {
264		var s=1.70158;var p=0;var a=c;
265		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
266		if (a < Math.abs(c)) { a=c; var s=p/4; }
267		else var s = p/(2*Math.PI) * Math.asin (c/a);
268		return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
269	},
270	easeOutElastic: function (x, t, b, c, d) {
271		var s=1.70158;var p=0;var a=c;
272		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
273		if (a < Math.abs(c)) { a=c; var s=p/4; }
274		else var s = p/(2*Math.PI) * Math.asin (c/a);
275		return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
276	},
277	easeInOutElastic: function (x, t, b, c, d) {
278		var s=1.70158;var p=0;var a=c;
279		if (t==0) return b;  if ((t/=d/2)==2) return b+c;  if (!p) p=d*(.3*1.5);
280		if (a < Math.abs(c)) { a=c; var s=p/4; }
281		else var s = p/(2*Math.PI) * Math.asin (c/a);
282		if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
283		return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
284	},
285	easeInBack: function (x, t, b, c, d, s) {
286		if (s == undefined) s = 1.70158;
287		return c*(t/=d)*t*((s+1)*t - s) + b;
288	},
289	easeOutBack: function (x, t, b, c, d, s) {
290		if (s == undefined) s = 1.70158;
291		return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
292	},
293	easeInOutBack: function (x, t, b, c, d, s) {
294		if (s == undefined) s = 1.70158; 
295		if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
296		return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
297	},
298	easeInBounce: function (x, t, b, c, d) {
299		return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
300	},
301	easeOutBounce: function (x, t, b, c, d) {
302		if ((t/=d) < (1/2.75)) {
303			return c*(7.5625*t*t) + b;
304		} else if (t < (2/2.75)) {
305			return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
306		} else if (t < (2.5/2.75)) {
307			return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
308		} else {
309			return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
310		}
311	},
312	easeInOutBounce: function (x, t, b, c, d) {
313		if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
314		return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
315	}
316});
317
318/////////////////////////////////////////////
319// FitVids PLUGIN
320/////////////////////////////////////////////
321
322/*!
323* FitVids 1.1
324*
325* Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
326* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
327* Released under the WTFPL license - http://sam.zoy.org/wtfpl/
328*
329*/
330
331(function( $ ){
332
333  "use strict";
334
335  $.fn.fitVids = function( options ) {
336    var settings = {
337      customSelector: null,
338      ignore: null,
339    };
340
341    if(!document.getElementById('fit-vids-style')) {
342      // appendStyles: https://github.com/toddmotto/fluidvids/blob/master/dist/fluidvids.js
343      var head = document.head || document.getElementsByTagName('head')[0];
344      var css = '.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}';
345      var div = document.createElement('div');
346      div.innerHTML = '<p>x</p><style id="fit-vids-style">' + css + '</style>';
347      head.appendChild(div.childNodes[1]);
348    }
349
350    if ( options ) {
351      $.extend( settings, options );
352    }
353
354    return this.each(function(){
355      var selectors = [
356        "iframe[src*='player.vimeo.com']",
357        "iframe[src*='youtube.com']",
358        "iframe[src*='youtube-nocookie.com']",
359        "iframe[src*='kickstarter.com'][src*='video.html']",
360        "object",
361        "embed"
362      ];
363
364      if (settings.customSelector) {
365        selectors.push(settings.customSelector);
366      }
367
368      var ignoreList = '.fitvidsignore';
369
370      if(settings.ignore) {
371        ignoreList = ignoreList + ', ' + settings.ignore;
372      }
373
374      var $allVideos = $(this).find(selectors.join(','));
375      $allVideos = $allVideos.not("object object"); // SwfObj conflict patch
376      $allVideos = $allVideos.not(ignoreList); // Disable FitVids on this video.
377
378      $allVideos.each(function(){
379        var $this = $(this);
380        if($this.parents(ignoreList).length > 0) {
381          return; // Disable FitVids on this video.
382        }
383        if (this.tagName.toLowerCase() === 'embed' && $this.parent('object').length || $this.parent('.fluid-width-video-wrapper').length) { return; }
384        if ((!$this.css('height') && !$this.css('width')) && (isNaN($this.attr('height')) || isNaN($this.attr('width'))))
385        {
386          $this.attr('height', 9);
387          $this.attr('width', 16);
388        }
389        var height = ( this.tagName.toLowerCase() === 'object' || ($this.attr('height') && !isNaN(parseInt($this.attr('height'), 10))) ) ? parseInt($this.attr('height'), 10) : $this.height(),
390            width = !isNaN(parseInt($this.attr('width'), 10)) ? parseInt($this.attr('width'), 10) : $this.width(),
391            aspectRatio = height / width;
392        if(!$this.attr('id')){
393          var videoID = 'fitvid' + Math.floor(Math.random()*999999);
394          $this.attr('id', videoID);
395        }
396        $this.wrap('<div class="fluid-width-video-wrapper"></div>').parent('.fluid-width-video-wrapper').css('padding-top', (aspectRatio * 100)+"%");
397        $this.removeAttr('height').removeAttr('width');
398      });
399    });
400  };
401// Works with either jQuery or Zepto
402})( jQuery);
403
404
405/////////////////////////////////////////////
406// FitText PLUGIN
407/////////////////////////////////////////////
408
409/*!
410* FitText.js 1.2
411*
412* Copyright 2011, Dave Rupert http://daverupert.com
413* Released under the WTFPL license
414* http://sam.zoy.org/wtfpl/
415*
416* Date: Thu May 05 14:23:00 2011 -0600
417*/
418
419(function( $ ){
420
421  $.fn.fitText = function( kompressor, options ) {
422
423    // Setup options
424    var compressor = kompressor || 1,
425        settings = $.extend({
426          'minFontSize' : Number.NEGATIVE_INFINITY,
427          'maxFontSize' : Number.POSITIVE_INFINITY
428        }, options);
429
430    return this.each(function(){
431
432      // Store the object
433      var $this = $(this);
434
435      // Resizer() resizes items based on the object width divided by the compressor * 10
436      var resizer = function () {
437        $this.css('font-size', Math.max(Math.min($this.width() / (compressor*10), parseFloat(settings.maxFontSize)), parseFloat(settings.minFontSize)));
438      };
439
440      // Call once to set.
441      resizer();
442
443      // Call on resize. Opera debounces their resize by default.
444      $(window).on('resize.fittext orientationchange.fittext', resizer);
445
446    });
447
448  };
449
450})( jQuery );
451
452/////////////////////////////////////////////
453// TOUCHSWIPE PLUGIN
vendor: 9,619 bytes, lines 454-456
454/////////////////////////////////////////////
455
456(function(a){if(typeof define==="function"&&define.amd&&define.amd.jQuery){define(["jquery"],a)}else{a(jQuery)}}(function(f){var p="left",o="right",e="up",x="down",c="in",z="out",m="none",s="auto",l="swipe",t="pinch",A="tap",j="doubletap",b="longtap",y="hold",D="horizontal",u="vertical",i="all",r=10,g="start",k="move",h="end",q="cancel",a="ontouchstart" in window,v=window.navigator.msPointerEnabled&&!window.navigator.pointerEnabled,d=window.navigator.pointerEnabled||window.navigator.msPointerEnabled,B="TouchSwipe";var n={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:true,triggerOnTouchLeave:false,allowPageScroll:"auto",fallbackToMouseEvents:true,excludedElements:"label, button, input, select, textarea, a, .noSwipe"};f.fn.swipe=function(G){var F=f(this),E=F.data(B);if(E&&typeof G==="string"){if(E[G]){return E[G].apply(this,Array.prototype.slice.call(arguments,1))}else{f.error("Method "+G+" does not exist on jQuery.swipe")}}else{if(!E&&(typeof G==="object"||!G)){return w.apply(this,arguments)}}return F};f.fn.swipe.defaults=n;f.fn.swipe.phases={PHASE_START:g,PHASE_MOVE:k,PHASE_END:h,PHASE_CANCEL:q};f.fn.swipe.directions={LEFT:p,RIGHT:o,UP:e,DOWN:x,IN:c,OUT:z};f.fn.swipe.pageScroll={NONE:m,HORIZONTAL:D,VERTICAL:u,AUTO:s};f.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,ALL:i};function w(E){if(E&&(E.allowPageScroll===undefined&&(E.swipe!==undefined||E.swipeStatus!==undefined))){E.allowPageScroll=m}if(E.click!==undefined&&E.tap===undefined){E.tap=E.click}if(!E){E={}}E=f.extend({},f.fn.swipe.defaults,E);return this.each(function(){var G=f(this);var F=G.data(B);if(!F){F=new C(this,E);G.data(B,F)}})}function C(a4,av){var az=(a||d||!av.fallbackToMouseEvents),J=az?(d?(v?"MSPointerDown":"pointerdown"):"touchstart"):"mousedown",ay=az?(d?(v?"MSPointerMove":"pointermove"):"touchmove"):"mousemove",U=az?(d?(v?"MSPointerUp":"pointerup"):"touchend"):"mouseup",S=az?null:"mouseleave",aD=(d?(v?"MSPointerCancel":"pointercancel"):"touchcancel");var ag=0,aP=null,ab=0,a1=0,aZ=0,G=1,aq=0,aJ=0,M=null;var aR=f(a4);var Z="start";var W=0;var aQ=null;var T=0,a2=0,a5=0,ad=0,N=0;var aW=null,af=null;try{aR.bind(J,aN);aR.bind(aD,a9)}catch(ak){f.error("events not supported "+J+","+aD+" on jQuery.swipe")}this.enable=function(){aR.bind(J,aN);aR.bind(aD,a9);return aR};this.disable=function(){aK();return aR};this.destroy=function(){aK();aR.data(B,null);aR=null};this.option=function(bc,bb){if(av[bc]!==undefined){if(bb===undefined){return av[bc]}else{av[bc]=bb}}else{f.error("Option "+bc+" does not exist on jQuery.swipe.options")}return null};function aN(bd){if(aB()){return}if(f(bd.target).closest(av.excludedElements,aR).length>0){return}var be=bd.originalEvent?bd.originalEvent:bd;var bc,bb=a?be.touches[0]:be;Z=g;if(a){W=be.touches.length}else{bd.preventDefault()}ag=0;aP=null;aJ=null;ab=0;a1=0;aZ=0;G=1;aq=0;aQ=aj();M=aa();R();if(!a||(W===av.fingers||av.fingers===i)||aX()){ai(0,bb);T=at();if(W==2){ai(1,be.touches[1]);a1=aZ=au(aQ[0].start,aQ[1].start)}if(av.swipeStatus||av.pinchStatus){bc=O(be,Z)}}else{bc=false}if(bc===false){Z=q;O(be,Z);return bc}else{if(av.hold){af=setTimeout(f.proxy(function(){aR.trigger("hold",[be.target]);if(av.hold){bc=av.hold.call(aR,be,be.target)}},this),av.longTapThreshold)}ao(true)}return null}function a3(be){var bh=be.originalEvent?be.originalEvent:be;if(Z===h||Z===q||am()){return}var bd,bc=a?bh.touches[0]:bh;var bf=aH(bc);a2=at();if(a){W=bh.touches.length}if(av.hold){clearTimeout(af)}Z=k;if(W==2){if(a1==0){ai(1,bh.touches[1]);a1=aZ=au(aQ[0].start,aQ[1].start)}else{aH(bh.touches[1]);aZ=au(aQ[0].end,aQ[1].end);aJ=ar(aQ[0].end,aQ[1].end)}G=a7(a1,aZ);aq=Math.abs(a1-aZ)}if((W===av.fingers||av.fingers===i)||!a||aX()){aP=aL(bf.start,bf.end);al(be,aP);ag=aS(bf.start,bf.end);ab=aM();aI(aP,ag);if(av.swipeStatus||av.pinchStatus){bd=O(bh,Z)}if(!av.triggerOnTouchEnd||av.triggerOnTouchLeave){var bb=true;if(av.triggerOnTouchLeave){var bg=aY(this);bb=E(bf.end,bg)}if(!av.triggerOnTouchEnd&&bb){Z=aC(k)}else{if(av.triggerOnTouchLeave&&!bb){Z=aC(h)}}if(Z==q||Z==h){O(bh,Z)}}}else{Z=q;O(bh,Z)}if(bd===false){Z=q;O(bh,Z)}}function L(bb){var bc=bb.originalEvent;if(a){if(bc.touches.length>0){F();return true}}if(am()){W=ad}a2=at();ab=aM();if(ba()||!an()){Z=q;O(bc,Z)}else{if(av.triggerOnTouchEnd||(av.triggerOnTouchEnd==false&&Z===k)){bb.preventDefault();Z=h;O(bc,Z)}else{if(!av.triggerOnTouchEnd&&a6()){Z=h;aF(bc,Z,A)}else{if(Z===k){Z=q;O(bc,Z)}}}}ao(false);return null}function a9(){W=0;a2=0;T=0;a1=0;aZ=0;G=1;R();ao(false)}function K(bb){var bc=bb.originalEvent;if(av.triggerOnTouchLeave){Z=aC(h);O(bc,Z)}}function aK(){aR.unbind(J,aN);aR.unbind(aD,a9);aR.unbind(ay,a3);aR.unbind(U,L);if(S){aR.unbind(S,K)}ao(false)}function aC(bf){var be=bf;var bd=aA();var bc=an();var bb=ba();if(!bd||bb){be=q}else{if(bc&&bf==k&&(!av.triggerOnTouchEnd||av.triggerOnTouchLeave)){be=h}else{if(!bc&&bf==h&&av.triggerOnTouchLeave){be=q}}}return be}function O(bd,bb){var bc=undefined;if(I()||V()){bc=aF(bd,bb,l)}else{if((P()||aX())&&bc!==false){bc=aF(bd,bb,t)}}if(aG()&&bc!==false){bc=aF(bd,bb,j)}else{if(ap()&&bc!==false){bc=aF(bd,bb,b)}else{if(ah()&&bc!==false){bc=aF(bd,bb,A)}}}if(bb===q){a9(bd)}if(bb===h){if(a){if(bd.touches.length==0){a9(bd)}}else{a9(bd)}}return bc}function aF(be,bb,bd){var bc=undefined;if(bd==l){aR.trigger("swipeStatus",[bb,aP||null,ag||0,ab||0,W,aQ]);if(av.swipeStatus){bc=av.swipeStatus.call(aR,be,bb,aP||null,ag||0,ab||0,W,aQ);if(bc===false){return false}}if(bb==h&&aV()){aR.trigger("swipe",[aP,ag,ab,W,aQ]);if(av.swipe){bc=av.swipe.call(aR,be,aP,ag,ab,W,aQ);if(bc===false){return false}}switch(aP){case p:aR.trigger("swipeLeft",[aP,ag,ab,W,aQ]);if(av.swipeLeft){bc=av.swipeLeft.call(aR,be,aP,ag,ab,W,aQ)}break;case o:aR.trigger("swipeRight",[aP,ag,ab,W,aQ]);if(av.swipeRight){bc=av.swipeRight.call(aR,be,aP,ag,ab,W,aQ)}break;case e:aR.trigger("swipeUp",[aP,ag,ab,W,aQ]);if(av.swipeUp){bc=av.swipeUp.call(aR,be,aP,ag,ab,W,aQ)}break;case x:aR.trigger("swipeDown",[aP,ag,ab,W,aQ]);if(av.swipeDown){bc=av.swipeDown.call(aR,be,aP,ag,ab,W,aQ)}break}}}if(bd==t){aR.trigger("pinchStatus",[bb,aJ||null,aq||0,ab||0,W,G,aQ]);if(av.pinchStatus){bc=av.pinchStatus.call(aR,be,bb,aJ||null,aq||0,ab||0,W,G,aQ);if(bc===false){return false}}if(bb==h&&a8()){switch(aJ){case c:aR.trigger("pinchIn",[aJ||null,aq||0,ab||0,W,G,aQ]);if(av.pinchIn){bc=av.pinchIn.call(aR,be,aJ||null,aq||0,ab||0,W,G,aQ)}break;case z:aR.trigger("pinchOut",[aJ||null,aq||0,ab||0,W,G,aQ]);if(av.pinchOut){bc=av.pinchOut.call(aR,be,aJ||null,aq||0,ab||0,W,G,aQ)}break}}}if(bd==A){if(bb===q||bb===h){clearTimeout(aW);clearTimeout(af);if(Y()&&!H()){N=at();aW=setTimeout(f.proxy(function(){N=null;aR.trigger("tap",[be.target]);if(av.tap){bc=av.tap.call(aR,be,be.target)}},this),av.doubleTapThreshold)}else{N=null;aR.trigger("tap",[be.target]);if(av.tap){bc=av.tap.call(aR,be,be.target)}}}}else{if(bd==j){if(bb===q||bb===h){clearTimeout(aW);N=null;aR.trigger("doubletap",[be.target]);if(av.doubleTap){bc=av.doubleTap.call(aR,be,be.target)}}}else{if(bd==b){if(bb===q||bb===h){clearTimeout(aW);N=null;aR.trigger("longtap",[be.target]);if(av.longTap){bc=av.longTap.call(aR,be,be.target)}}}}}return bc}function an(){var bb=true;if(av.threshold!==null){bb=ag>=av.threshold}return bb}function ba(){var bb=false;if(av.cancelThreshold!==null&&aP!==null){bb=(aT(aP)-ag)>=av.cancelThreshold}return bb}function ae(){if(av.pinchThreshold!==null){return aq>=av.pinchThreshold}return true}function aA(){var bb;if(av.maxTimeThreshold){if(ab>=av.maxTimeThreshold){bb=false}else{bb=true}}else{bb=true}return bb}function al(bb,bc){if(av.allowPageScroll===m||aX()){bb.preventDefault()}else{var bd=av.allowPageScroll===s;switch(bc){case p:if((av.swipeLeft&&bd)||(!bd&&av.allowPageScroll!=D)){bb.preventDefault()}break;case o:if((av.swipeRight&&bd)||(!bd&&av.allowPageScroll!=D)){bb.preventDefault()}break;case e:if((av.swipeUp&&bd)||(!bd&&av.allowPageScroll!=u)){bb.preventDefault()}break;case x:if((av.swipeDown&&bd)||(!bd&&av.allowPageScroll!=u)){bb.preventDefault()}break}}}function a8(){var bc=aO();var bb=X();var bd=ae();return bc&&bb&&bd}function aX(){return !!(av.pinchStatus||av.pinchIn||av.pinchOut)}function P(){return !!(a8()&&aX())}function aV(){var be=aA();var bg=an();var bd=aO();var bb=X();var bc=ba();var bf=!bc&&bb&&bd&&bg&&be;return bf}function V(){return !!(av.swipe||av.swipeStatus||av.swipeLeft||av.swipeRight||av.swipeUp||av.swipeDown)}function I(){return !!(aV()&&V())}function aO(){return((W===av.fingers||av.fingers===i)||!a)}function X(){return aQ[0].end.x!==0}function a6(){return !!(av.tap)}function Y(){return !!(av.doubleTap)}function aU(){return !!(av.longTap)}function Q(){if(N==null){return false}var bb=at();return(Y()&&((bb-N)<=av.doubleTapThreshold))}function H(){return Q()}function ax(){return((W===1||!a)&&(isNaN(ag)||ag<av.threshold))}function a0(){return((ab>av.longTapThreshold)&&(ag<r))}function ah(){return !!(ax()&&a6())}function aG(){return !!(Q()&&Y())}function ap(){return !!(a0()&&aU())}function F(){a5=at();ad=event.touches.length+1}function R(){a5=0;ad=0}function am(){var bb=false;if(a5){var bc=at()-a5;if(bc<=av.fingerReleaseThreshold){bb=true}}return bb}function aB(){return !!(aR.data(B+"_intouch")===true)}function ao(bb){if(bb===true){aR.bind(ay,a3);aR.bind(U,L);if(S){aR.bind(S,K)}}else{aR.unbind(ay,a3,false);aR.unbind(U,L,false);
456if(S){aR.unbind(S,K,false)}}aR.data(B+"_intouch",bb===true)}function ai(bc,bb){var bd=bb.identifier!==undefined?bb.identifier:0;aQ[bc].identifier=bd;aQ[bc].start.x=aQ[bc].end.x=bb.pageX||bb.clientX;aQ[bc].start.y=aQ[bc].end.y=bb.pageY||bb.clientY;return aQ[bc]}function aH(bb){var bd=bb.identifier!==undefined?bb.identifier:0;var bc=ac(bd);bc.end.x=bb.pageX||bb.clientX;bc.end.y=bb.pageY||bb.clientY;return bc}function ac(bc){for(var bb=0;bb<aQ.length;bb++){if(aQ[bb].identifier==bc){return aQ[bb]}}}function aj(){var bb=[];for(var bc=0;bc<=5;bc++){bb.push({start:{x:0,y:0},end:{x:0,y:0},identifier:0})}return bb}function aI(bb,bc){bc=Math.max(bc,aT(bb));M[bb].distance=bc}function aT(bb){if(M[bb]){return M[bb].distance}return undefined}function aa(){var bb={};bb[p]=aw(p);bb[o]=aw(o);bb[e]=aw(e);bb[x]=aw(x);return bb}function aw(bb){return{direction:bb,distance:0}}function aM(){return a2-T}function au(be,bd){var bc=Math.abs(be.x-bd.x);var bb=Math.abs(be.y-bd.y);return Math.round(Math.sqrt(bc*bc+bb*bb))}function a7(bb,bc){var bd=(bc/bb)*1;return bd.toFixed(2)}function ar(){if(G<1){return z}else{return c}}function aS(bc,bb){return Math.round(Math.sqrt(Math.pow(bb.x-bc.x,2)+Math.pow(bb.y-bc.y,2)))}function aE(be,bc){var bb=be.x-bc.x;var bg=bc.y-be.y;var bd=Math.atan2(bg,bb);var bf=Math.round(bd*180/Math.PI);if(bf<0){bf=360-Math.abs(bf)}return bf}function aL(bc,bb){var bd=aE(bc,bb);if((bd<=45)&&(bd>=0)){return p}else{if((bd<=360)&&(bd>=315)){return p}else{if((bd>=135)&&(bd<=225)){return o}else{if((bd>45)&&(bd<135)){return x}else{return e}}}}}function at(){var bb=new Date();return bb.getTime()}function aY(bb){bb=f(bb);var bd=bb.offset();var bc={left:bd.left,right:bd.left+bb.outerWidth(),top:bd.top,bottom:bd.top+bb.outerHeight()};return bc}function E(bb,bc){return(bb.x>bc.left&&bb.x<bc.right&&bb.y>bc.top&&bb.y<bc.bottom)}}}));
457
458
459/////////////////////////////////////////////
460// SMARTRESIZE PLUGIN
461/////////////////////////////////////////////
462
463(function($,sr){
464
465	// USE STRICT
466	"use strict";
467	
468	// debouncing function from John Hann
469	// http://unscriptable.com/index.php/2009/03/20/debouncing-javascript-methods/
470	var debounce = function (func, threshold, execAsap) {
471		var timeout;
472		
473		return function debounced () {
474			var obj = this, args = arguments;
475			function delayed () {
476				if (!execAsap) {
477					func.apply(obj, args);
478					timeout = null;
479				}
480			}
481			
482			if (timeout) {
483				clearTimeout(timeout);
484			} else if (execAsap) {
485				func.apply(obj, args);
486			}
487			
488			timeout = setTimeout(delayed, threshold || 100); 
489		};
490	};
491	
492	// smartresize 
493	jQuery.fn[sr] = function(fn){  return fn ? this.bind('resize', debounce(fn)) : this.trigger(sr); };
494 
495})(jQuery,'smartresize');
496
497
498/////////////////////////////////////////////
499// EQUALHEIGHTS PLUGIN
500/////////////////////////////////////////////
501
502(function($) {
503
504	// USE STRICT
505	"use strict";
506	
507	$.fn.equalHeights = function(px) {
508		$(this).each(function(){
509			var currentTallest = 0;
510			$(this).children().each(function(){
511				if ($(this).height() > currentTallest) { currentTallest = $(this).height(); }
512			});
513			if (!px && Number.prototype.pxToEm) {
514				currentTallest = currentTallest.pxToEm(); //use ems unless px is specified
515			}
516			$(this).children().css({'min-height': currentTallest}); 
517		});
518		return this;
519	};
520})(jQuery);
521
522
523/////////////////////////////////////////////
524// STICKY PLUGIN
525/////////////////////////////////////////////
526
527// Sticky Plugin v1.0.0 for jQuery
528// =============
529// Author: Anthony Garand
530// Improvements by German M. Bravo (Kronuz) and Ruud Kamphuis (ruudk)
531// Improvements by Leonardo C. Daronco (daronco)
532// Created: 2/14/2011
533// Date: 2/12/2012
534// Website: http://labs.anthonygarand.com/sticky
535// Description: Makes an element on the page stick on the screen as you scroll
536//       It will only set the 'top' and 'position' of your element, you
537//       might need to adjust the width in some cases.
538
539(function($) {
540  var defaults = {
541      topSpacing: 0,
542      bottomSpacing: 0,
543      className: 'is-sticky',
544      wrapperClassName: 'sticky-wrapper',
545      center: false,
546      getWidthFrom: '',
547      responsiveWidth: false
548    },
549    $window = $(window),
550    $document = $(document),
551    sticked = [],
552    windowHeight = $window.height(),
553    scroller = function() {
554      var scrollTop = $window.scrollTop(),
555        documentHeight = $document.height(),
556        dwh = documentHeight - windowHeight,
557        extra = (scrollTop > dwh) ? dwh - scrollTop : 0;
558
559      for (var i = 0; i < sticked.length; i++) {
560        var s = sticked[i],
561          elementTop = s.stickyWrapper.offset().top,
562          etse = elementTop - s.topSpacing - extra;
563
564        if (scrollTop <= etse) {
565          if (s.currentTop !== null) {
566            s.stickyElement
567              .css('position', '')
568              .css('top', '');
569            s.stickyElement.trigger('sticky-end', [s]).parent().removeClass(s.className);
570            s.currentTop = null;
571          }
572        }
573        else {
574          var newTop = documentHeight - s.stickyElement.outerHeight()
575            - s.topSpacing - s.bottomSpacing - scrollTop - extra;
576          if (newTop < 0) {
577            newTop = newTop + s.topSpacing;
578          } else {
579            newTop = s.topSpacing;
580          }
581          if (s.currentTop != newTop) {
582            s.stickyElement
583              .css('position', 'fixed')
584              .css('top', newTop);
585
586            if (typeof s.getWidthFrom !== 'undefined') {
587              s.stickyElement.css('width', $(s.getWidthFrom).width());
588            }
589
590            s.stickyElement.trigger('sticky-start', [s]).parent().addClass(s.className);
591            s.currentTop = newTop;
592          }
593        }
594      }
595    },
596    resizer = function() {
597      windowHeight = $window.height();
598
599      for (var i = 0; i < sticked.length; i++) {
600        var s = sticked[i];
601        if (typeof s.getWidthFrom !== 'undefined' && s.responsiveWidth === true) {
602          s.stickyElement.css('width', $(s.getWidthFrom).width());
603        }
604      }
605    },
606    methods = {
607      init: function(options) {
608        var o = $.extend({}, defaults, options);
609        return this.each(function() {
610          var stickyElement = $(this);
611
612          var stickyId = stickyElement.attr('id');
613          var wrapperId = stickyId ? stickyId + '-' + defaults.wrapperClassName : defaults.wrapperClassName 
614          var wrapper = $('<div></div>')
615            .attr('id', stickyId + '-sticky-wrapper')
616            .addClass(o.wrapperClassName);
617          stickyElement.wrapAll(wrapper);
618
619          if (o.center) {
620            stickyElement.parent().css({width:stickyElement.outerWidth(),marginLeft:"auto",marginRight:"auto"});
621          }
622
623          if (stickyElement.css("float") == "right") {
624            stickyElement.css({"float":"none"}).parent().css({"float":"right"});
625          }
626
627          var stickyWrapper = stickyElement.parent();
628          var stickyHeight = stickyElement.outerHeight(true);
629          
630          if (stickyHeight > 0) {
631          stickyWrapper.css('height', stickyElement.outerHeight(true));
632          }
633          sticked.push({
634            topSpacing: o.topSpacing,
635            bottomSpacing: o.bottomSpacing,
636            stickyElement: stickyElement,
637            currentTop: null,
638            stickyWrapper: stickyWrapper,
639            className: o.className,
640            getWidthFrom: o.getWidthFrom,
641            responsiveWidth: o.responsiveWidth
642          });
643        });
644      },
645      update: scroller,
646      unstick: function(options) {
647        return this.each(function() {
648          var unstickyElement = $(this);
649
650          var removeIdx = -1;
651          for (var i = 0; i < sticked.length; i++)
652          {
653            if (sticked[i].stickyElement.get(0) == unstickyElement.get(0))
654            {
655                removeIdx = i;
656            }
657          }
658          if(removeIdx != -1)
659          {
660            sticked.splice(removeIdx,1);
661            unstickyElement.unwrap();
662            unstickyElement.removeAttr('style');
663          }
664        });
665      }
666    };
667
668  // should be more efficient than using $window.scroll(scroller) and $window.resize(resizer):
669  if (window.addEventListener) {
670    window.addEventListener('scroll', scroller, false);
671    window.addEventListener('resize', resizer, false);
672  } else if (window.attachEvent) {
673    window.attachEvent('onscroll', scroller);
674    window.attachEvent('onresize', resizer);
675  }
676
677  $.fn.sticky = function(method) {
678    if (methods[method]) {
679      return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
680    } else if (typeof method === 'object' || !method ) {
681      return methods.init.apply( this, arguments );
682    } else {
683      $.error('Method ' + method + ' does not exist on jQuery.sticky');
684    }
685  };
686
687  $.fn.unstick = function(method) {
688    if (methods[method]) {
689      return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
690    } else if (typeof method === 'object' || !method ) {
691      return methods.unstick.apply( this, arguments );
692    } else {
693      $.error('Method ' + method + ' does not exist on jQuery.sticky');
694    }
695
696  };
697  $(function() {
698    setTimeout(scroller, 0);
699  });
700})(jQuery);
701
702
vendor: 4,340 bytes, lines 703-859
703/////////////////////////////////////////////
704// APPEAR PLUGIN
705/////////////////////////////////////////////
706
707/*
708 * jQuery.appear
709 * https://github.com/bas2k/jquery.appear/
710 * http://code.google.com/p/jquery-appear/
711 * http://bas2k.ru/
712 *
713 * Copyright (c) 2009 Michael Hixson
714 * Copyright (c) 2012-2014 Alexander Brovikov
715 * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
716 */
717(function($) {
718    $.fn.appear = function(fn, options) {
719
720        var settings = $.extend({
721
722            //arbitrary data to pass to fn
723            data: undefined,
724
725            //call fn only on the first appear?
726            one: true,
727
728            // X & Y accuracy
729            accX: 0,
730            accY: 0
731
732        }, options);
733
734        return this.each(function() {
735
736            var t = $(this);
737
738            //whether the element is currently visible
739            t.appeared = false;
740
741            if (!fn) {
742
743                //trigger the custom event
744                t.trigger('appear', settings.data);
745                return;
746            }
747
748            var w = $(window);
749
750            //fires the appear event when appropriate
751            var check = function() {
752
753                //is the element hidden?
754                if (!t.is(':visible')) {
755
756                    //it became hidden
757                    t.appeared = false;
758                    return;
759                }
760
761                //is the element inside the visible window?
762                var a = w.scrollLeft();
763                var b = w.scrollTop();
764                var o = t.offset();
765                var x = o.left;
766                var y = o.top;
767
768                var ax = settings.accX;
769                var ay = settings.accY;
770                var th = t.height();
771                var wh = w.height();
772                var tw = t.width();
773                var ww = w.width();
774
775                if (y + th + ay >= b &&
776                    y <= b + wh + ay &&
777                    x + tw + ax >= a &&
778                    x <= a + ww + ax) {
779
780                    //trigger the custom event
781                    if (!t.appeared) t.trigger('appear', settings.data);
782
783                } else {
784
785                    //it scrolled out of view
786                    t.appeared = false;
787                }
788            };
789
790            //create a modified fn with some additional logic
791            var modifiedFn = function() {
792
793                //mark the element as visible
794                t.appeared = true;
795
796                //is this supposed to happen only once?
797                if (settings.one) {
798
799                    //remove the check
800                    w.unbind('scroll', check);
801                    var i = $.inArray(check, $.fn.appear.checks);
802                    if (i >= 0) $.fn.appear.checks.splice(i, 1);
803                }
804
805                //trigger the original fn
806                fn.apply(this, arguments);
807            };
808
809            //bind the modified fn to the element
810            if (settings.one) t.one('appear', settings.data, modifiedFn);
811            else t.bind('appear', settings.data, modifiedFn);
812
813            //check whenever the window scrolls
814            w.scroll(check);
815
816            //check whenever the dom changes
817            $.fn.appear.checks.push(check);
818
819            //check now
820            (check)();
821        });
822    };
823
824    //keep a queue of appearance checks
825    $.extend($.fn.appear, {
826
827        checks: [],
828        timeout: null,
829
830        //process the queue
831        checkAll: function() {
832            var length = $.fn.appear.checks.length;
833            if (length > 0) while (length--) ($.fn.appear.checks[length])();
834        },
835
836        //check the queue asynchronously
837        run: function() {
838            if ($.fn.appear.timeout) clearTimeout($.fn.appear.timeout);
839            $.fn.appear.timeout = setTimeout($.fn.appear.checkAll, 20);
840        }
841    });
842
843    //run checks when these methods are called
844    $.each(['append', 'prepend', 'after', 'before', 'attr',
845        'removeAttr', 'addClass', 'removeClass', 'toggleClass',
846        'remove', 'css', 'show', 'hide'], function(i, n) {
847        var old = $.fn[n];
848        if (old) {
849            $.fn[n] = function() {
850                var r = old.apply(this, arguments);
851                $.fn.appear.run();
852                return r;
853            }
854        }
855    });
856
857})(jQuery);
858
859
860/////////////////////////////////////////////
861// VIEWPORTS PLUGIN
862/////////////////////////////////////////////
863
864/*
865 * Viewport - jQuery selectors for finding elements in viewport
866 *
867 * Copyright (c) 2008-2009 Mika Tuupola
868 *
869 * Licensed under the MIT license:
870 *   http://www.opensource.org/licenses/mit-license.php
871 *
872 * Project home:
873 *  http://www.appelsiini.net/projects/viewport
874 *
875 */
876(function($) {
877    
878    $.belowthefold = function(element, settings) {
879        var fold = $(window).height() + $(window).scrollTop();
880        return fold <= $(element).offset().top - settings.threshold;
881    };
882
883    $.abovethetop = function(element, settings) {
884        var top = $(window).scrollTop();
885        return top >= $(element).offset().top + $(element).height() - settings.threshold;
886    };
887    
888    $.rightofscreen = function(element, settings) {
889        var fold = $(window).width() + $(window).scrollLeft();
890        return fold <= $(element).offset().left - settings.threshold;
891    };
892    
893    $.leftofscreen = function(element, settings) {
894        var left = $(window).scrollLeft();
895        return left >= $(element).offset().left + $(element).width() - settings.threshold;
896    };
897    
898    $.inviewport = function(element, settings) {
899        return !$.rightofscreen(element, settings) && !$.leftofscreen(element, settings) && !$.belowthefold(element, settings) && !$.abovethetop(element, settings);
900    };
901    
902    $.extend($.expr[':'], {
903        "below-the-fold": function(a, i, m) {
904            return $.belowthefold(a, {threshold : parseInt(m[3]) || 0});
905        },
906        "above-the-top": function(a, i, m) {
907            return $.abovethetop(a, {threshold : parseInt(m[3]) || 0});
908        },
909        "left-of-screen": function(a, i, m) {
910            return $.leftofscreen(a, {threshold : parseInt(m[3]) || 0});
911        },
912        "right-of-screen": function(a, i, m) {
913            return $.rightofscreen(a, {threshold : parseInt(m[3]) || 0});
914        },
915        "in-viewport": function(a, i, m) {
916            return $.inviewport(a, {threshold : parseInt(m[3]) || 0});
917        }
918    });
919
920    
921})(jQuery);
922
923
924/**
925 * @name jQuery Stick 'em
926 * @author Trevor Davis
927 * @version 1.4.1
928 *
929 *	$('.container').stickem({
930 *		item: '.stickem',
931 *		container: '.stickem-container',
932 *		stickClass: 'stickit',
933 *		endStickClass: 'stickit-end',
934 *		offset: 0,
935 *		onStick: null,
936 *		onUnstick: null
937 *	});
938 */
939
940;(function($, window, document, undefined) {
941
942	var Stickem = function(elem, options) {
943		this.elem = elem;
944		this.$elem = $(elem);
945		this.options = options;
946		this.metadata = this.$elem.data("stickem-options");
947		this.$win = $(window);
948	};
949
950	Stickem.prototype = {
951		defaults: {
952			item: '.stickem',
953			container: '.stickem-container',
954			stickClass: 'stickit',
955			endStickClass: 'stickit-end',
956			offset: 0,
957			start: 0,
958			onStick: null,
959			onUnstick: null
960		},
961
962		init: function() {
963			var _self = this;
964
965			//Merge options
966			_self.config = $.extend({}, _self.defaults, _self.options, _self.metadata);
967
968			_self.setWindowHeight();
969			_self.getItems();
970			_self.bindEvents();
971
972			return _self;
973		},
974
975		bindEvents: function() {
976			var _self = this;
977
978			_self.$win.on('scroll.stickem', $.proxy(_self.handleScroll, _self));
979			_self.$win.on('resize.stickem', $.proxy(_self.handleResize, _self));
980		},
981
982		destroy: function() {
983			var _self = this;
984
985			_self.$win.off('scroll.stickem');
986			_self.$win.off('resize.stickem');
987		},
988
989		getItem: function(index, element) {
990			var _self = this;
991			var $this = $(element);
992			var item = {
993				$elem: $this,
994				elemHeight: $this.height(),
995				$container: $this.parents(_self.config.container),
996				isStuck: false
997			};
998
999			//If the element is smaller than the window
1000			if(_self.windowHeight > item.elemHeight) {
1001				item.containerHeight = item.$container.outerHeight();
1002				item.containerInner = {
1003					border: {
1004						bottom: parseInt(item.$container.css('border-bottom'), 10) || 0,
1005						top: parseInt(item.$container.css('border-top'), 10) || 0
1006					},
1007					padding: {
1008						bottom: parseInt(item.$container.css('padding-bottom'), 10) || 0,
1009						top: parseInt(item.$container.css('padding-top'), 10) || 0
1010					}
1011				};
1012
1013				item.containerInnerHeight = item.$container.height();
1014				item.containerStart = item.$container.offset().top - _self.config.offset + _self.config.start + item.containerInner.padding.top + item.containerInner.border.top;
1015				item.scrollFinish = item.containerStart - _self.config.start + (item.containerInnerHeight - item.elemHeight);
1016
1017				//If the element is smaller than the container
1018				if(item.containerInnerHeight > item.elemHeight) {
1019					_self.items.push(item);
1020				}
1021			} else {
1022				item.$elem.removeClass(_self.config.stickClass + ' ' + _self.config.endStickClass);
1023			}
1024		},
1025
1026		getItems: function() {
1027			var _self = this;
1028
1029			_self.items = [];
1030
1031			_self.$elem.find(_self.config.item).each($.proxy(_self.getItem, _self));
1032		},
1033
1034		handleResize: function() {
1035			var _self = this;
1036
1037			_self.getItems();
1038			_self.setWindowHeight();
1039		},
1040
1041		handleScroll: function() {
1042			var _self = this;
1043
1044			if(_self.items.length > 0) {
1045				var pos = _self.$win.scrollTop();
1046
1047				for(var i = 0, len = _self.items.length; i < len; i++) {
1048					var item = _self.items[i];
1049
1050					//If it's stuck, and we need to unstick it, or if the page loads below it
1051					if((item.isStuck && (pos < item.containerStart || pos > item.scrollFinish)) || pos > item.scrollFinish) {
1052						item.$elem.removeClass(_self.config.stickClass);
1053
1054						//only at the bottom
1055						if(pos > item.scrollFinish) {
1056							item.$elem.addClass(_self.config.endStickClass);
1057						}
1058
1059						item.isStuck = false;
1060
1061						//if supplied fire the onUnstick callback
1062						if(_self.config.onUnstick) {
1063							_self.config.onUnstick(item);
1064						}
1065
1066					//If we need to stick it
1067					} else if(item.isStuck === false && pos > item.containerStart && pos < item.scrollFinish) {
1068							item.$elem.removeClass(_self.config.endStickClass).addClass(_self.config.stickClass);
1069							item.isStuck = true;
1070
1071							//if supplied fire the onStick callback
1072							if(_self.config.onStick) {
1073								_self.config.onStick(item);
1074							}
1075					}
1076				}
1077			}
1078		},
1079
1080		setWindowHeight: function() {
1081			var _self = this;
1082
1083			_self.windowHeight = _self.$win.height() - _self.config.offset;
1084		}
1085	};
1086
1087	Stickem.defaults = Stickem.prototype.defaults;
1088
1089	$.fn.stickem = function(options) {
1090		//Create a destroy method so that you can kill it and call it again.
1091		this.destroy = function() {
1092			this.each(function() {
1093				new Stickem(this, options).destroy();
1094			});
1095		};
1096
1097		return this.each(function() {
1098			new Stickem(this, options).init();
1099		});
1100	};
1101
1102})(jQuery, window , document);
1103
1104
1105/**
1106 * Timeago is a jQuery plugin that makes it easy to support automatically
1107 * updating fuzzy timestamps (e.g. "4 minutes ago" or "about 1 day ago").
1108 *
1109 * @name timeago
1110 * @version 1.3.1
1111 * @requires jQuery v1.2.3+
1112 * @author Ryan McGeary
1113 * @license MIT License - http://www.opensource.org/licenses/mit-license.php
1114 *
1115 * For usage and examples, visit:
1116 * http://timeago.yarp.com/
1117 *
1118 * Copyright (c) 2008-2013, Ryan McGeary (ryan -[at]- mcgeary [*dot*] org)
1119 */
1120
1121(function (factory) {
1122  if (typeof define === 'function' && define.amd) {
1123    // AMD. Register as an anonymous module.
1124    define(['jquery'], factory);
1125  } else {
1126    // Browser globals
1127    factory(jQuery);
1128  }
1129}(function ($) {
1130  $.timeago = function(timestamp) {
1131    if (timestamp instanceof Date) {
1132      return inWords(timestamp);
1133    } else if (typeof timestamp === "string") {
1134      return inWords($.timeago.parse(timestamp));
1135    } else if (typeof timestamp === "number") {
1136      return inWords(new Date(timestamp));
1137    } else {
1138      return inWords($.timeago.datetime(timestamp));
1139    }
1140  };
1141  var $t = $.timeago;
1142
1143  $.extend($.timeago, {
1144    settings: {
1145      refreshMillis: 60000,
1146      allowFuture: false,
1147      localeTitle: false,
1148      cutoff: 0,
1149      strings: {
1150        prefixAgo: null,
1151        prefixFromNow: null,
1152        suffixAgo: "ago",
1153        suffixFromNow: "from now",
1154        seconds: "less than a minute",
1155        minute: "about a minute",
1156        minutes: "%d minutes",
1157        hour: "about an hour",
1158        hours: "about %d hours",
1159        day: "a day",
1160        days: "%d days",
1161        month: "about a month",
1162        months: "%d months",
1163        year: "about a year",
1164        years: "%d years",
1165        wordSeparator: " ",
1166        numbers: []
1167      }
1168    },
1169    inWords: function(distanceMillis) {
1170      var $l = this.settings.strings;
1171      var prefix = $l.prefixAgo;
1172      var suffix = $l.suffixAgo;
1173      if (this.settings.allowFuture) {
1174        if (distanceMillis < 0) {
1175          prefix = $l.prefixFromNow;
1176          suffix = $l.suffixFromNow;
1177        }
1178      }
1179
1180      var seconds = Math.abs(distanceMillis) / 1000;
1181      var minutes = seconds / 60;
1182      var hours = minutes / 60;
1183      var days = hours / 24;
1184      var years = days / 365;
1185
1186      function substitute(stringOrFunction, number) {
1187        var string = $.isFunction(stringOrFunction) ? stringOrFunction(number, distanceMillis) : stringOrFunction;
1188        var value = ($l.numbers && $l.numbers[number]) || number;
1189        return string.replace(/%d/i, value);
1190      }
1191
1192      var words = seconds < 45 && substitute($l.seconds, Math.round(seconds)) ||
1193        seconds < 90 && substitute($l.minute, 1) ||
1194        minutes < 45 && substitute($l.minutes, Math.round(minutes)) ||
1195        minutes < 90 && substitute($l.hour, 1) ||
1196        hours < 24 && substitute($l.hours, Math.round(hours)) ||
1197        hours < 42 && substitute($l.day, 1) ||
1198        days < 30 && substitute($l.days, Math.round(days)) ||
1199        days < 45 && substitute($l.month, 1) ||
1200        days < 365 && substitute($l.months, Math.round(days / 30)) ||
1201        years < 1.5 && substitute($l.year, 1) ||
1202        substitute($l.years, Math.round(years));
1203
1204      var separator = $l.wordSeparator || "";
1205      if ($l.wordSeparator === undefined) { separator = " "; }
1206      return $.trim([prefix, words, suffix].join(separator));
1207    },
1208    parse: function(iso8601) {
1209      var s = $.trim(iso8601);
1210      s = s.replace(/\.\d+/,""); // remove milliseconds
1211      s = s.replace(/-/,"/").replace(/-/,"/");
1212      s = s.replace(/T/," ").replace(/Z/," UTC");
1213      s = s.replace(/([\+\-]\d\d)\:?(\d\d)/," $1$2"); // -04:00 -> -0400
1214      s = s.replace(/([\+\-]\d\d)$/," $100"); // +09 -> +0900
1215      return new Date(s * 1000 || s);
1216    },
1217    datetime: function(elem) {
1218      var iso8601 = $t.isTime(elem) ? $(elem).attr("datetime") : $(elem).attr("title");
1219      return $t.parse(iso8601);
1220    },
1221    isTime: function(elem) {
1222      // jQuery's `is()` doesn't play well with HTML5 in IE
1223      return $(elem).get(0).tagName.toLowerCase() === "time"; // $(elem).is("time");
1224    }
1225  });
1226
1227  // functions that can be called via $(el).timeago('action')
1228  // init is default when no action is given
1229  // functions are called with context of a single element
1230  var functions = {
1231    init: function(){
1232      var refresh_el = $.proxy(refresh, this);
1233      refresh_el();
1234      var $s = $t.settings;
1235      if ($s.refreshMillis > 0) {
1236        this._timeagoInterval = setInterval(refresh_el, $s.refreshMillis);
1237      }
1238    },
1239    update: function(time){
1240      var parsedTime = $t.parse(time);
1241      $(this).data('timeago', { datetime: parsedTime });
1242      if($t.settings.localeTitle) $(this).attr("title", parsedTime.toLocaleStr
vendor: 10,018 bytes, lines 1242-1327
1242ing());
1243      refresh.apply(this);
1244    },
1245    updateFromDOM: function(){
1246      $(this).data('timeago', { datetime: $t.parse( $t.isTime(this) ? $(this).attr("datetime") : $(this).attr("title") ) });
1247      refresh.apply(this);
1248    },
1249    dispose: function () {
1250      if (this._timeagoInterval) {
1251        window.clearInterval(this._timeagoInterval);
1252        this._timeagoInterval = null;
1253      }
1254    }
1255  };
1256
1257  $.fn.timeago = function(action, options) {
1258    var fn = action ? functions[action] : functions.init;
1259    if(!fn){
1260      throw new Error("Unknown function name '"+ action +"' for timeago");
1261    }
1262    // each over objects here and call the requested function
1263    this.each(function(){
1264      fn.call(this, options);
1265    });
1266    return this;
1267  };
1268
1269  function refresh() {
1270    var data = prepareData(this);
1271    var $s = $t.settings;
1272
1273    if (!isNaN(data.datetime)) {
1274      if ( $s.cutoff == 0 || distance(data.datetime) < $s.cutoff) {
1275        $(this).text(inWords(data.datetime));
1276      }
1277    }
1278    return this;
1279  }
1280
1281  function prepareData(element) {
1282    element = $(element);
1283    if (!element.data("timeago")) {
1284      element.data("timeago", { datetime: $t.datetime(element) });
1285      var text = $.trim(element.text());
1286      if ($t.settings.localeTitle) {
1287        element.attr("title", element.data('timeago').datetime.toLocaleString());
1288      } else if (text.length > 0 && !($t.isTime(element) && element.attr("title"))) {
1289        element.attr("title", text);
1290      }
1291    }
1292    return element.data("timeago");
1293  }
1294
1295  function inWords(date) {
1296    return $t.inWords(distance(date));
1297  }
1298
1299  function distance(date) {
1300    return (new Date().getTime() - date.getTime());
1301  }
1302
1303  // fix for IE6 suckage
1304  document.createElement("abbr");
1305  document.createElement("time");
1306}));
1307
1308
1309/*
1310 *	jQuery dotdotdot 1.6.13
1311 *
1312 *	Copyright (c) Fred Heusschen
1313 *	www.frebsite.nl
1314 *
1315 *	Plugin website:
1316 *	dotdotdot.frebsite.nl
1317 *
1318 *	Dual licensed under the MIT and GPL licenses.
1319 *	http://en.wikipedia.org/wiki/MIT_License
1320 *	http://en.wikipedia.org/wiki/GNU_General_Public_License
1321 */
1322!function(t,e){function n(t,e,n){var r=t.children(),o=!1;t.empty();for(var i=0,d=r.length;d>i;i++){var l=r.eq(i);if(t.append(l),n&&t.append(n),a(t,e)){l.remove(),o=!0;break}n&&n.detach()}return o}function r(e,n,i,d,l){var s=!1,c="table, thead, tbody, tfoot, tr, col, colgroup, object, embed, param, ol, ul, dl, blockquote, select, optgroup, option, textarea, script, style",u="script";return e.contents().detach().each(function(){var h=this,f=t(h);if("undefined"==typeof h||3==h.nodeType&&0==t.trim(h.data).length)return!0;if(f.is(u))e.append(f);else{if(s)return!0;e.append(f),l&&e[e.is(c)?"after":"append"](l),a(i,d)&&(s=3==h.nodeType?o(f,n,i,d,l):r(f,n,i,d,l),s||(f.detach(),s=!0)),s||l&&l.detach()}}),s}function o(e,n,r,o,d){var c=e[0];if(!c)return!1;var h=s(c),f=-1!==h.indexOf(" ")?" ":" ",p="letter"==o.wrap?"":f,g=h.split(p),v=-1,w=-1,b=0,y=g.length-1;for(o.fallbackToLetter&&0==b&&0==y&&(p="",g=h.split(p),y=g.length-1);y>=b&&(0!=b||0!=y);){var m=Math.floor((b+y)/2);if(m==w)break;w=m,l(c,g.slice(0,w+1).join(p)+o.ellipsis),a(r,o)?(y=w,o.fallbackToLetter&&0==b&&0==y&&(p="",g=g[0].split(p),v=-1,w=-1,b=0,y=g.length-1)):(v=w,b=w)}if(-1==v||1==g.length&&0==g[0].length){var x=e.parent();e.detach();var T=d&&d.closest(x).length?d.length:0;x.contents().length>T?c=u(x.contents().eq(-1-T),n):(c=u(x,n,!0),T||x.detach()),c&&(h=i(s(c),o),l(c,h),T&&d&&t(c).parent().append(d))}else h=i(g.slice(0,v+1).join(p),o),l(c,h);return!0}function a(t,e){return t.innerHeight()>e.maxHeight}function i(e,n){for(;t.inArray(e.slice(-1),n.lastCharacter.remove)>-1;)e=e.slice(0,-1);return t.inArray(e.slice(-1),n.lastCharacter.noEllipsis)<0&&(e+=n.ellipsis),e}function d(t){return{width:t.innerWidth(),height:t.innerHeight()}}function l(t,e){t.innerText?t.innerText=e:t.nodeValue?t.nodeValue=e:t.textContent&&(t.textContent=e)}function s(t){return t.innerText?t.innerText:t.nodeValue?t.nodeValue:t.textContent?t.textContent:""}function c(t){do t=t.previousSibling;while(t&&1!==t.nodeType&&3!==t.nodeType);return t}function u(e,n,r){var o,a=e&&e[0];if(a){if(!r){if(3===a.nodeType)return a;if(t.trim(e.text()))return u(e.contents().last(),n)}for(o=c(a);!o;){if(e=e.parent(),e.is(n)||!e.length)return!1;o=c(e[0])}if(o)return u(t(o),n)}return!1}function h(e,n){return e?"string"==typeof e?(e=t(e,n),e.length?e:!1):e.jquery?e:!1:!1}function f(t){for(var e=t.innerHeight(),n=["paddingTop","paddingBottom"],r=0,o=n.length;o>r;r++){var a=parseInt(t.css(n[r]),10);isNaN(a)&&(a=0),e-=a}return e}if(!t.fn.dotdotdot){t.fn.dotdotdot=function(e){if(0==this.length)return t.fn.dotdotdot.debug('No element found for "'+this.selector+'".'),this;if(this.length>1)return this.each(function(){t(this).dotdotdot(e)});var o=this;o.data("dotdotdot")&&o.trigger("destroy.dot"),o.data("dotdotdot-style",o.attr("style")||""),o.css("word-wrap","break-word"),"nowrap"===o.css("white-space")&&o.css("white-space","normal"),o.bind_events=function(){return o.bind("update.dot",function(e,d){e.preventDefault(),e.stopPropagation(),l.maxHeight="number"==typeof l.height?l.height:f(o),l.maxHeight+=l.tolerance,"undefined"!=typeof d&&(("string"==typeof d||d instanceof HTMLElement)&&(d=t("<div />").append(d).contents()),d instanceof t&&(i=d)),g=o.wrapInner('<div class="dotdotdot" />').children(),g.contents().detach().end().append(i.clone(!0)).find("br").replaceWith("  <br />  ").end().css({height:"auto",width:"auto",border:"none",padding:0,margin:0});var c=!1,u=!1;return s.afterElement&&(c=s.afterElement.clone(!0),c.show(),s.afterElement.detach()),a(g,l)&&(u="children"==l.wrap?n(g,l,c):r(g,o,g,l,c)),g.replaceWith(g.contents()),g=null,t.isFunction(l.callback)&&l.callback.call(o[0],u,i),s.isTruncated=u,u}).bind("isTruncated.dot",function(t,e){return t.preventDefault(),t.stopPropagation(),"function"==typeof e&&e.call(o[0],s.isTruncated),s.isTruncated}).bind("originalContent.dot",function(t,e){return t.preventDefault(),t.stopPropagation(),"function"==typeof e&&e.call(o[0],i),i}).bind("destroy.dot",function(t){t.preventDefault(),t.stopPropagation(),o.unwatch().unbind_events().contents().detach().end().append(i).attr("style",o.data("dotdotdot-style")||"").data("dotdotdot",!1)}),o},o.unbind_events=function(){return o.unbind(".dot"),o},o.watch=function(){if(o.unwatch(),"window"==l.watch){var e=t(window),n=e.width(),r=e.height();e.bind("resize.dot"+s.dotId,function(){n==e.width()&&r==e.height()&&l.windowResizeFix||(n=e.width(),r=e.height(),u&&clearInterval(u),u=setTimeout(function(){o.trigger("update.dot")},10))})}else c=d(o),u=setInterval(function(){var t=d(o);(c.width!=t.width||c.height!=t.height)&&(o.trigger("update.dot"),c=d(o))},100);return o},o.unwatch=function(){return t(window).unbind("resize.dot"+s.dotId),u&&clearInterval(u),o};var i=o.contents(),l=t.extend(!0,{},t.fn.dotdotdot.defaults,e),s={},c={},u=null,g=null;return l.lastCharacter.remove instanceof Array||(l.lastCharacter.remove=t.fn.dotdotdot.defaultArrays.lastCharacter.remove),l.lastCharacter.noEllipsis instanceof Array||(l.lastCharacter.noEllipsis=t.fn.dotdotdot.defaultArrays.lastCharacter.noEllipsis),s.afterElement=h(l.after,o),s.isTruncated=!1,s.dotId=p++,o.data("dotdotdot",!0).bind_events().trigger("update.dot"),l.watch&&o.watch(),o},t.fn.dotdotdot.defaults={ellipsis:"... ",wrap:"word",fallbackToLetter:!0,lastCharacter:{},tolerance:0,callback:null,after:null,height:null,watch:!1,windowResizeFix:!0},t.fn.dotdotdot.defaultArrays={lastCharacter:{remove:[" "," ",",",";",".","!","?"],noEllipsis:[]}},t.fn.dotdotdot.debug=function(){};var p=1,g=t.fn.html;t.fn.html=function(n){return n!=e&&!t.isFunction(n)&&this.data("dotdotdot")?this.trigger("update",[n]):g.apply(this,arguments)};var v=t.fn.text;t.fn.text=function(n){return n!=e&&!t.isFunction(n)&&this.data("dotdotdot")?(n=t("<div />").text(n).html(),this.trigger("update",[n])):v.apply(this,arguments)}}}(jQuery);
1323
1324/*
1325 * jQuery Transit
1326*/
1327(function(t,e){if(typeof define==="function"&&define.amd){define(["jquery"],e)}else if(typeof exports==="object"){module.exports=e(require("jquery"))}else{e(t.jQuery)}})(this,function(t){t.transit={version:"0.9.12",propertyMap:{marginLeft:"margin",marginRight:"margin",marginBottom:"margin",marginTop:"margin",paddingLeft:"padding",paddingRight:"padding",paddingBottom:"padding",paddingTop:"padding"},enabled:true,useTransitionEnd:false};var e=document.createElement("div");var n={};function i(t){if(t in e.style)return t;var n=["Moz","Webkit","O","ms"];var i=t.charAt(0).toUpperCase()+t.substr(1);for(var r=0;r<n.length;++r){var s=n[r]+i;if(s in e.style){return s}}}function r(){e.style[n.transform]="";e.style[n.transform]="rotateY(90deg)";return e.style[n.transform]!==""}var s=navigator.userAgent.toLowerCase().indexOf("chrome")>-1;n.transition=i("transition");n.transitionDelay=i("transitionDelay");n.transform=i("transform");n.transformOrigin=i("transformOrigin");n.filter=i("Filter");n.transform3d=r();var a={transition:"transitionend",MozTransition:"transitionend",OTransition:"oTransitionEnd",WebkitTransition:"webkitTransitionEnd",msTransition:"MSTransitionEnd"};var o=n.transitionEnd=a[n.transition]||null;for(var u in n){if(n.hasOwnProperty(u)&&typeof t.support[u]==="undefined"){t.support[u]=n[u]}}e=null;t.cssEase={_default:"ease","in":"ease-in",out:"ease-out","in-out":"ease-in-out",snap:"cubic-bezier(0,1,.5,1)",easeInCubic:"cubic-bezier(.550,.055,.675,.190)",easeOutCubic:"cubic-bezier(.215,.61,.355,1)",easeInOutCubic:"cubic-bezier(.645,.045,.355,1)",easeInCirc:"cubic-bezier(.6,.04,.98,.335)",easeOutCirc:"cubic-bezier(.075,.82,.165,1)",easeInOutCirc:"cubic-bezier(.785,.135,.15,.86)",easeInExpo:"cubic-bezier(.95,.05,.795,.035)",easeOutExpo:"cubic-bezier(.19,1,.22,1)",easeInOutExpo:"cubic-bezier(1,0,0,1)",easeInQuad:"cubic-bezier(.55,.085,.68,.53)",easeOutQuad:"cubic-bezier(.25,.46,.45,.94)",easeInOutQuad:"cubic-bezier(.455,.03,.515,.955)",easeInQuart:"cubic-bezier(.895,.03,.685,.22)",easeOutQuart:"cubic-bezier(.165,.84,.44,1)",easeInOutQuart:"cubic-bezier(.77,0,.175,1
1327)",easeInQuint:"cubic-bezier(.755,.05,.855,.06)",easeOutQuint:"cubic-bezier(.23,1,.32,1)",easeInOutQuint:"cubic-bezier(.86,0,.07,1)",easeInSine:"cubic-bezier(.47,0,.745,.715)",easeOutSine:"cubic-bezier(.39,.575,.565,1)",easeInOutSine:"cubic-bezier(.445,.05,.55,.95)",easeInBack:"cubic-bezier(.6,-.28,.735,.045)",easeOutBack:"cubic-bezier(.175, .885,.32,1.275)",easeInOutBack:"cubic-bezier(.68,-.55,.265,1.55)"};t.cssHooks["transit:transform"]={get:function(e){return t(e).data("transform")||new f},set:function(e,i){var r=i;if(!(r instanceof f)){r=new f(r)}if(n.transform==="WebkitTransform"&&!s){e.style[n.transform]=r.toString(true)}else{e.style[n.transform]=r.toString()}t(e).data("transform",r)}};t.cssHooks.transform={set:t.cssHooks["transit:transform"].set};t.cssHooks.filter={get:function(t){return t.style[n.filter]},set:function(t,e){t.style[n.filter]=e}};if(t.fn.jquery<"1.8"){t.cssHooks.transformOrigin={get:function(t){return t.style[n.transformOrigin]},set:function(t,e){t.style[n.transformOrigin]=e}};t.cssHooks.transition={get:function(t){return t.style[n.transition]},set:function(t,e){t.style[n.transition]=e}}}p("scale");p("scaleX");p("scaleY");p("translate");p("rotate");p("rotateX");p("rotateY");p("rotate3d");p("perspective");p("skewX");p("skewY");p("x",true);p("y",true);function f(t){if(typeof t==="string"){this.parse(t)}return this}f.prototype={setFromString:function(t,e){var n=typeof e==="string"?e.split(","):e.constructor===Array?e:[e];n.unshift(t);f.prototype.set.apply(this,n)},set:function(t){var e=Array.prototype.slice.apply(arguments,[1]);if(this.setter[t]){this.setter[t].apply(this,e)}else{this[t]=e.join(",")}},get:function(t){if(this.getter[t]){return this.getter[t].apply(this)}else{return this[t]||0}},setter:{rotate:function(t){this.rotate=b(t,"deg")},rotateX:function(t){this.rotateX=b(t,"deg")},rotateY:function(t){this.rotateY=b(t,"deg")},scale:function(t,e){if(e===undefined){e=t}this.scale=t+","+e},skewX:function(t){this.skewX=b(t,"deg")},skewY:function(t){this.skewY=b(t,"deg")},perspective:function(t){this.perspective=b(t,"px")},x:function(t){this.set("translate",t,null)},y:function(t){this.set("translate",null,t)},translate:function(t,e){if(this._translateX===undefined){this._translateX=0}if(this._translateY===undefined){this._translateY=0}if(t!==null&&t!==undefined){this._translateX=b(t,"px")}if(e!==null&&e!==undefined){this._translateY=b(e,"px")}this.translate=this._translateX+","+this._translateY}},getter:{x:function(){return this._translateX||0},y:function(){return this._translateY||0},scale:function(){var t=(this.scale||"1,1").split(",");if(t[0]){t[0]=parseFloat(t[0])}if(t[1]){t[1]=parseFloat(t[1])}return t[0]===t[1]?t[0]:t},rotate3d:function(){var t=(this.rotate3d||"0,0,0,0deg").split(",");for(var e=0;e<=3;++e){if(t[e]){t[e]=parseFloat(t[e])}}if(t[3]){t[3]=b(t[3],"deg")}return t}},parse:function(t){var e=this;t.replace(/([a-zA-Z0-9]+)\((.*?)\)/g,function(t,n,i){e.setFromString(n,i)})},toString:function(t){var e=[];for(var i in this){if(this.hasOwnProperty(i)){if(!n.transform3d&&(i==="rotateX"||i==="rotateY"||i==="perspective"||i==="transformOrigin")){continue}if(i[0]!=="_"){if(t&&i==="scale"){e.push(i+"3d("+this[i]+",1)")}else if(t&&i==="translate"){e.push(i+"3d("+this[i]+",0)")}else{e.push(i+"("+this[i]+")")}}}}return e.join(" ")}};function c(t,e,n){if(e===true){t.queue(n)}else if(e){t.queue(e,n)}else{t.each(function(){n.call(this)})}}function l(e){var i=[];t.each(e,function(e){e=t.camelCase(e);e=t.transit.propertyMap[e]||t.cssProps[e]||e;e=h(e);if(n[e])e=h(n[e]);if(t.inArray(e,i)===-1){i.push(e)}});return i}function d(e,n,i,r){var s=l(e);if(t.cssEase[i]){i=t.cssEase[i]}var a=""+y(n)+" "+i;if(parseInt(r,10)>0){a+=" "+y(r)}var o=[];
1327t.each(s,function(t,e){o.push(e+" "+a)});return o.join(", ")}t.fn.transition=t.fn.transit=function(e,i,r,s){var a=this;var u=0;var f=true;var l=t.extend(true,{},e);if(typeof i==="function"){s=i;i=undefined}if(typeof i==="object"){r=i.easing;u=i.delay||0;f=typeof i.queue==="undefined"?true:i.queue;s=i.complete;i=i.duration}if(typeof r==="function"){s=r;r=undefined}if(typeof l.easing!=="undefined"){r=l.easing;delete l.easing}if(typeof l.duration!=="undefined"){i=l.duration;delete l.duration}if(typeof l.complete!=="undefined"){s=l.complete;delete l.complete}if(typeof l.queue!=="undefined"){f=l.queue;delete l.queue}if(typeof l.delay!=="undefined"){u=l.delay;delete l.delay}if(typeof i==="undefined"){i=t.fx.speeds._default}if(typeof r==="undefined"){r=t.cssEase._default}i=y(i);var p=d(l,i,r,u);var h=t.transit.enabled&&n.transition;var b=h?parseInt(i,10)+parseInt(u,10):0;if(b===0){var g=function(t){a.css(l);if(s){s.apply(a)}if(t){t()}};c(a,f,g);return a}var m={};var v=function(e){var i=false;var r=function(){if(i){a.unbind(o,r)}if(b>0){a.each(function(){this.style[n.transition]=m[this]||null})}if(typeof s==="function"){s.apply(a)}if(typeof e==="function"){e()}};if(b>0&&o&&t.transit.useTransitionEnd){i=true;a.bind(o,r)}else{window.setTimeout(r,b)}a.each(function(){if(b>0){this.style[n.transition]=p}t(this).css(l)})};var z=function(t){this.offsetWidth;v(t)};c(a,f,z);return this};function p(e,i){if(!i){t.cssNumber[e]=true}t.transit.propertyMap[e]=n.transform;t.cssHooks[e]={get:function(n){var i=t(n).css("transit:transform");return i.get(e)},set:function(n,i){var r=t(n).css("transit:transform");r.setFromString(e,i);t(n).css({"transit:transform":r})}}}function h(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}function b(t,e){if(typeof t==="string"&&!t.match(/^[\-0-9\.]+$/)){return t}else{return""+t+e}}function y(e){var n=e;if(typeof n==="string"&&!n.match(/^[\-0-9\.]+/)){n=t.fx.speeds[n]||t.fx.speeds._default}return b(n,"ms")}t.transit.getTransitionValue=d;return t});
1328
1329/////////////////////////////////////////////
1330// HAMMER.JS PLUGIN
1331/////////////////////////////////////////////
1332
1333/*! jQuery plugin for Hammer.JS - v1.1.3 - 2014-05-20
1334 * http://eightmedia.github.com/hammer.js
1335 *
1336 * Copyright (c) 2014 Jorik Tangelder <[email protected]>;
1337 * Licensed under the MIT license */
1338
1339!function(a,b){"use strict";function c(){e.READY||(t.determineEventTypes(),s.each(e.gestures,function(a){v.register(a)}),t.onTouch(e.DOCUMENT,o,v.detect),t.onTouch(e.DOCUMENT,p,v.detect),e.READY=!0)}function d(a,c){Date.now||(Date.now=function(){return(new Date).getTime()}),a.utils.each(["on","off"],function(d){a.utils[d]=function(a,e,f){c(a)[d](e,function(a){var d=c.extend({},a.originalEvent,a);d.button===b&&(d.button=a.which-1),f.call(this,d)})}}),a.Instance.prototype.trigger=function(a,b){var d=c(this.element);return d.has(b.target).length&&(d=c(b.target)),d.trigger({type:a,gesture:b})},c.fn.hammer=function(b){return this.each(function(){var d=c(this),e=d.data("hammer");e?e&&b&&a.utils.extend(e.options,b):d.data("hammer",new a(this,b||{}))})}}var e=function w(a,b){return new w.Instance(a,b||{})};e.VERSION="1.1.3",e.defaults={behavior:{userSelect:"none",touchAction:"pan-y",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},e.DOCUMENT=document,e.HAS_POINTEREVENTS=navigator.pointerEnabled||navigator.msPointerEnabled,e.HAS_TOUCHEVENTS="ontouchstart"in a,e.IS_MOBILE=/mobile|tablet|ip(ad|hone|od)|android|silk/i.test(navigator.userAgent),e.NO_MOUSEEVENTS=e.HAS_TOUCHEVENTS&&e.IS_MOBILE||e.HAS_POINTEREVENTS,e.CALCULATE_INTERVAL=25;var f={},g=e.DIRECTION_DOWN="down",h=e.DIRECTION_LEFT="left",i=e.DIRECTION_UP="up",j=e.DIRECTION_RIGHT="right",k=e.POINTER_MOUSE="mouse",l=e.POINTER_TOUCH="touch",m=e.POINTER_PEN="pen",n=e.EVENT_START="start",o=e.EVENT_MOVE="move",p=e.EVENT_END="end",q=e.EVENT_RELEASE="release",r=e.EVENT_TOUCH="touch";e.READY=!1,e.plugins=e.plugins||{},e.gestures=e.gestures||{};var s=e.utils={extend:function(a,c,d){for(var e in c)!c.hasOwnProperty(e)||a[e]!==b&&d||(a[e]=c[e]);return a},on:function(a,b,c){a.addEventListener(b,c,!1)},off:function(a,b,c){a.removeEventListener(b,c,!1)},each:function(a,c,d){var e,f;
1339if("forEach"in a)a.forEach(c,d);else if(a.length!==b){for(e=0,f=a.length;f>e;e++)if(c.call(d,a[e],e,a)===!1)return}else for(e in a)if(a.hasOwnProperty(e)&&c.call(d,a[e],e,a)===!1)return},inStr:function(a,b){return a.indexOf(b)>-1},inArray:function(a,b){if(a.indexOf){var c=a.indexOf(b);return-1===c?!1:c}for(var d=0,e=a.length;e>d;d++)if(a[d]===b)return d;return!1},toArray:function(a){return Array.prototype.slice.call(a,0)},hasParent:function(a,b){for(;a;){if(a==b)return!0;a=a.parentNode}return!1},getCenter:function(a){var b=[],c=[],d=[],e=[],f=Math.min,g=Math.max;return 1===a.length?{pageX:a[0].pageX,pageY:a[0].pageY,clientX:a[0].clientX,clientY:a[0].clientY}:(s.each(a,function(a){b.push(a.pageX),c.push(a.pageY),d.push(a.clientX),e.push(a.clientY)}),{pageX:(f.apply(Math,b)+g.apply(Math,b))/2,pageY:(f.apply(Math,c)+g.apply(Math,c))/2,clientX:(f.apply(Math,d)+g.apply(Math,d))/2,clientY:(f.apply(Math,e)+g.apply(Math,e))/2})},getVelocity:function(a,b,c){return{x:Math.abs(b/a)||0,y:Math.abs(c/a)||0}},getAngle:function(a,b){var c=b.clientX-a.clientX,d=b.clientY-a.clientY;return 180*Math.atan2(d,c)/Math.PI},getDirection:function(a,b){var c=Math.abs(a.clientX-b.clientX),d=Math.abs(a.clientY-b.clientY);return c>=d?a.clientX-b.clientX>0?h:j:a.clientY-b.clientY>0?i:g},getDistance:function(a,b){var c=b.clientX-a.clientX,d=b.clientY-a.clientY;return Math.sqrt(c*c+d*d)},getScale:function(a,b){return a.length>=2&&b.length>=2?this.getDistance(b[0],b[1])/this.getDistance(a[0],a[1]):1},getRotation:function(a,b){return a.length>=2&&b.length>=2?this.getAngle(b[1],b[0])-this.getAngle(a[1],a[0]):0},isVertical:function(a){return a==i||a==g},setPrefixedCss:function(a,b,c,d){var e=["","Webkit","Moz","O","ms"];b=s.toCamelCase(b);for(var f=0;f<e.length;f++){var g=b;if(e[f]&&(g=e[f]+g.slice(0,1).toUpperCase()+g.slice(1)),g in a.style){a.style[g]=(null==d||d)&&c||"";break}}},toggleBehavior:function(a,b,c){if(b&&a&&a.style){s.each(b,function(b,d){s.setPrefixedCss(a,d,b,c)});var d=c&&function(){return!1};"none"==b.userSelect&&(a.onselectstart=d),"none"==b.userDrag&&(a.ondragstart=d)}},toCamelCase:function(a){return a.replace(/[_-]([a-z])/g,function(a){return a[1].toUpperCase()})}};e.Instance=function(a,b){var d=this;c(),this.element=a,this.enabled=!0,s.each(b,function(a,c){delete b[c],b[s.toCamelCase(c)]=a}),this.options=s.extend(s.extend({},e.defaults),b||{}),this.options.behavior&&s.toggleBehavior(this.element,this.options.behavior,!0),this.eventStartHandler=t.onTouch(a,n,function(a){d.enabled&&a.eventType==n?v.startDetect(d,a):a.eventType==r&&v.detect(a)}),this.eventHandlers=[]},e.Instance.prototype={on:function(a,b){var c=this;return t.on(c.element,a,b,function(a){c.eventHandlers.push({gesture:a,handler:b})}),c},off:function(a,b){var c=this;return t.off(c.element,a,b,function(a){var d=s.inArray({gesture:a,handler:b});d!==!1&&c.eventHandlers.splice(d,1)}),c},trigger:function(a,b){b||(b={});var c=e.DOCUMENT.createEvent("Event");c.initEvent(a,!0,!0),c.gesture=b;var d=this.element;return s.hasParent(b.target,d)&&(d=b.target),d.dispatchEvent(c),this},enable:function(a){return this.enabled=a,this},dispose:function(){var a,b;for(s.toggleBehavior(this.element,this.options.behavior,!1),a=-1;b=this.eventHandlers[++a];)s.off(this.element,b.gesture,b.handler);return this.eventHandlers=[],t.off(this.element,f[n],this.eventStartHandler),null}};var t=e.event={preventMouseEvents:!1,started:!1,shouldDetect:!1,on:function(a,b,c,d){var e=b.split(" ");s.each(e,function(b){s.on(a,b,c),d&&d(b)})},off:function(a,b,c,d){var e=b.split(" ");s.each(e,function(b){s.off(a,b,c),d&&d(b)})},onTouch:function(a,b,c){var d=this,g=function(f){var g,h=f.type.toLowerCase(),i=e.HAS_POINTEREVENTS,j=s.inStr(h,"mouse");j&&d.preventMouseEvents||(j&&b==n&&0===f.button?(d.preventMouseEvents=!1,d.shouldDetect=!0):i&&b==n?d.shouldDetect=1===f.buttons||u.matchType(l,f):j||b!=n||(d.preventMouseEvents=!0,d.shouldDetect=!0),i&&b!=p&&u.updatePointer(b,f),d.shouldDetect&&(g=d.doDetect.call(d,f,b,a,c)),g==p&&(d.preventMouseEvents=!1,d.shouldDetect=!1,u.reset()),i&&b==p&&u.updatePointer(b,f))};return this.on(a,f[b],g),g},doDetect:function(a,b,c,d){var e=this.getTouchList(a,b),f=e.length,g=b,h=e.trigger,i=f;b==n?h=r:b==p&&(h=q,i=e.length-(a.changedTouches?a.changedTouches.length:1)),i>0&&this.started&&(g=o),this.started=!0;var j=this.collectEventData(c,g,e,a);return b!=p&&d.call(v,j),h&&(j.changedLength=i,j.eventType=h,d.call(v,j),j.eventType=g,delete j.changedLength),g==p&&(d.call(v,j),this.started=!1),g},determineEventTypes:function(){var b;return b=e.HAS_POINTEREVENTS?a.PointerEvent?["pointerdown","pointermove","pointerup pointercancel lostpointercapture"]:["MSPointerDown","MSPointerMove","MSPointerUp MSPointerCancel MSLostPointerCapture"]:e.NO_MOUSEEVENTS?["touchstart","touchmove","touchend touchcancel"]:["touchstart mousedown","touchmove mousemove","touchend touchcancel mouseup"],f[n]=b[0],f[o]=b[1],f[p]=b[2],f},getTouchList:function(a,b){if(e.HAS_POINTEREVENTS)return u.getTouchList();if(a.touches){if(b==o)return a.touches;var c=[],d=[].concat(s.toArray(a.touches),s.toArray(a.changedTouches)),f=[];return s.each(d,function(a){s.inArray(c,a.identifier)===!1&&f.push(a),c.push(a.identifier)}),f}return a.identifier=1,[a]},collectEventData:function(a,b,c,d){var e=l;return s.inStr(d.type,"mouse")||u.matchType(k,d)?e=k:u.matchType(m,d)&&(e=m),{center:s.getCenter(c),timeStamp:Date.now(),target:d.target,touches:c,eventType:b,pointerType:e,srcEvent:d,preventDefault:function(){var a=this.srcEvent;a.preventManipulation&&a.preventManipulation(),a.preventDefault&&a.preventDefault()},stopPropagation:function(){this.srcEvent.stopPropagation()},stopDetect:function(){return v.stopDetect()}}}},u=e.PointerEvent={pointers:{},getTouchList:function(){var a=[];return s.each(this.pointers,function(b){a.push(b)}),a},updatePointer:function(a,b){a==p||a!=p&&1!==b.buttons?delete this.pointers[b.pointerId]:(b.identifier=b.pointerId,this.pointers[b.pointerId]=b)},matchType:function(a,b){if(!b.pointerType)return!1;var c=b.pointerType,d={};return d[k]=c===(b.MSPOINTER_TYPE_MOUSE||k),d[l]=c===(b.MSPOINTER_TYPE_TOUCH||l),d[m]=c===(b.MSPOINTER_TYPE_PEN||m),d[a]},reset:function(){this.pointers={}}}
1339,v=e.detection={gestures:[],current:null,previous:null,stopped:!1,startDetect:function(a,b){this.current||(this.stopped=!1,this.current={inst:a,startEvent:s.extend({},b),lastEvent:!1,lastCalcEvent:!1,futureCalcEvent:!1,lastCalcData:{},name:""},this.detect(b))},detect:function(a){if(this.current&&!this.stopped){a=this.extendEventData(a);var b=this.current.inst,c=b.options;return s.each(this.gestures,function(d){!this.stopped&&b.enabled&&c[d.name]&&d.handler.call(d,a,b)},this),this.current&&(this.current.lastEvent=a),a.eventType==p&&this.stopDetect(),a}},stopDetect:function(){this.previous=s.extend({},this.current),this.current=null,this.stopped=!0},getCalculatedData:function(a,b,c,d,f){var g=this.current,h=!1,i=g.lastCalcEvent,j=g.lastCalcData;i&&a.timeStamp-i.timeStamp>e.CALCULATE_INTERVAL&&(b=i.center,c=a.timeStamp-i.timeStamp,d=a.center.clientX-i.center.clientX,f=a.center.clientY-i.center.clientY,h=!0),(a.eventType==r||a.eventType==q)&&(g.futureCalcEvent=a),(!g.lastCalcEvent||h)&&(j.velocity=s.getVelocity(c,d,f),j.angle=s.getAngle(b,a.center),j.direction=s.getDirection(b,a.center),g.lastCalcEvent=g.futureCalcEvent||a,g.futureCalcEvent=a),a.velocityX=j.velocity.x,a.velocityY=j.velocity.y,a.interimAngle=j.angle,a.interimDirection=j.direction},extendEventData:function(a){var b=this.current,c=b.startEvent,d=b.lastEvent||c;(a.eventType==r||a.eventType==q)&&(c.touches=[],s.each(a.touches,function(a){c.touches.push({clientX:a.clientX,clientY:a.clientY})}));var e=a.timeStamp-c.timeStamp,f=a.center.clientX-c.center.clientX,g=a.center.clientY-c.center.clientY;return this.getCalculatedData(a,d.center,e,f,g),s.extend(a,{startEvent:c,deltaTime:e,deltaX:f,deltaY:g,distance:s.getDistance(c.center,a.center),angle:s.getAngle(c.center,a.center),direction:s.getDirection(c.center,a.center),scale:s.getScale(c.touches,a.touches),rotation:s.getRotation(c.touches,a.touches)}),a},register:function(a){var c=a.defaults||{};return c[a.name]===b&&(c[a.name]=!0),s.extend(e.defaults,c,!0),a.index=a.index||1e3,this.gestures.push(a),this.gestures.sort(function(a,b){return a.index<b.index?-1:a.index>b.index?1:0}),this.gestures}};!function(a){function b(b,d){var e=v.current;if(!(d.options.dragMaxTouches>0&&b.touches.length>d.options.dragMaxTouches))switch(b.eventType){case n:c=!1;break;case o:if(b.distance<d.options.dragMinDistance&&e.name!=a)return;var f=e.startEvent.center;if(e.name!=a&&(e.name=a,d.options.dragDistanceCorrection&&b.distance>0)){var k=Math.abs(d.options.dragMinDistance/b.distance);f.pageX+=b.deltaX*k,f.pageY+=b.deltaY*k,f.clientX+=b.deltaX*k,f.clientY+=b.deltaY*k,b=v.extendEventData(b)}(e.lastEvent.dragLockToAxis||d.options.dragLockToAxis&&d.options.dragLockMinDistance<=b.distance)&&(b.dragLockToAxis=!0);var l=e.lastEvent.direction;b.dragLockToAxis&&l!==b.direction&&(b.direction=s.isVertical(l)?b.deltaY<0?i:g:b.deltaX<0?h:j),c||(d.trigger(a+"start",b),c=!0),d.trigger(a,b),d.trigger(a+b.direction,b);var m=s.isVertical(b.direction);(d.options.dragBlockVertical&&m||d.options.dragBlockHorizontal&&!m)&&b.preventDefault();break;case q:c&&b.changedLength<=d.options.dragMaxTouches&&(d.trigger(a+"end",b),c=!1);break;case p:c=!1}}var c=!1;e.gestures.Drag={name:a,index:50,handler:b,defaults:{dragMinDistance:10,dragDistanceCorrection:!0,dragMaxTouches:1,dragBlockHorizontal:!1,dragBlockVertical:!1,dragLockToAxis:!1,dragLockMinDistance:25}}}("drag"),e.gestures.Gesture={name:"gesture",index:1337,handler:function(a,b){b.trigger(this.name,a)}},function(a){function b(b,d){var e=d.options,f=v.current;switch(b.eventType){case n:clearTimeout(c),f.name=a,c=setTimeout(function(){f&&f.name==a&&d.trigger(a,b)},e.holdTimeout);break;case o:b.distance>e.holdThreshold&&clearTimeout(c);break;case q:clearTimeout(c)}}var c;e.gestures.Hold={name:a,index:10,defaults:{holdTimeout:500,holdThreshold:2},handler:b}}("hold"),e.gestures.Release={name:"release",index:1/0,handler:function(a,b){a.eventType==q&&b.trigger(this.name,a)}},e.gestures.Swipe={name:"swipe",index:40,defaults:{swipeMinTouches:1,swipeMaxTouches:1,swipeVelocityX:.6,swipeVelocityY:.6},handler:function(a,b){if(a.eventType==q){var c=a.touches.length,d=b.options;if(c<d.swipeMinTouches||c>d.swipeMaxTouches)return;(a.velocityX>d.swipeVelocityX||a.velocityY>d.swipeVelocityY)&&(b.trigger(this.name,a),b.trigger(this.name+a.direction,a))}}},function(a){function b(b,d){var e,f,g=d.options,h=v.current,i=v.previous;switch(b.eventType){case n:c=!1;break;case o:c=c||b.distance>g.tapMaxDistance;break;case p:!s.inStr(b.srcEvent.type,"cancel")&&b.deltaTime<g.tapMaxTime&&!c&&(e=i&&i.lastEvent&&b.timeStamp-i.lastEvent.timeStamp,f=!1,i&&i.name==a&&e&&e<g.doubleTapInterval&&b.distance<g.doubleTapDistance&&(d.trigger("doubletap",b),f=!0),(!f||g.tapAlways)&&(h.name=a,d.trigger(h.name,b)))}}var c=!1;e.gestures.Tap={name:a,index:100,handler:b,defaults:{tapMaxTime:250,tapMaxDistance:10,tapAlways:!0,doubleTapDistance:20,doubleTapInterval:300}}}("tap"),e.gestures.Touch={name:"touch",index:-1/0,defaults:{preventDefault:!1,preventMouse:!1},handler:function(a,b){return b.options.preventMouse&&a.pointerType==k?void a.stopDetect():(b.options.preventDefault&&a.preventDefault(),void(a.eventType==r&&b.trigger("touch",a)))}},function(a){function b(b,d){switch(b.eventType){case n:c=!1;break;case o:if(b.touches.length<2)return;var e=Math.abs(1-b.scale),f=Math.abs(b.rotation);if(e<d.options.transformMinScale&&f<d.options.transformMinRotation)return;v.current.name=a,c||(d.trigger(a+"start",b),c=!0),d.trigger(a,b),f>d.options.transformMinRotation&&d.trigger("rotate",b),e>d.options.transformMinScale&&(d.trigger("pinch",b),d.trigger("pinch"+(b.scale<1?"in":"out"),b));break;case q:c&&b.changedLength<2&&(d.trigger(a+"end",b),c=!1)}}var c=!1;e.gestures.Transform={name:a,index:45,defaults:{transformMinScale:.01,transformMinRotation:1},handler:b}}("transform"),a.Hammer=e,"undefined"!=typeof module&&module.exports&&(module.exports=e),"function"==typeof define&&define.amd?define(["jquery"],function(b){return d(a.Hammer,b)}):d(a.Hammer,a.jQuery||a.Zepto)}(window);
1340
1341/////////////////////////////////////////////
1342// PACE.JS PLUGIN
1343/////////////////////////////////////////////
1344
vendor: 12,507 bytes, lines 1345-1346
1345/*! pace 1.0.2 */
1346(function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X=[].slice,Y={}.hasOwnProperty,Z=function(a,b){function c(){this.constructor=a}for(var d in b)Y.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a},$=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1};for(u={catchupTime:100,initialRate:.03,minTime:250,ghostTime:100,maxProgressPerFrame:20,easeFactor:1.25,startOnPageLoad:!0,restartOnPushState:!0,restartOnRequestAfter:500,target:"body",elements:{checkInterval:100,selectors:["body"]},eventLag:{minSamples:10,sampleCount:3,lagThreshold:3},ajax:{trackMethods:["GET"],trackWebSockets:!0,ignoreURLs:[]}},C=function(){var a;return null!=(a="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance.now():void 0)?a:+new Date},E=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,t=window.cancelAnimationFrame||window.mozCancelAnimationFrame,null==E&&(E=function(a){return setTimeout(a,50)},t=function(a){return clearTimeout(a)}),G=function(a){var b,c;return b=C(),(c=function(){var d;return d=C()-b,d>=33?(b=C(),a(d,function(){return E(c)})):setTimeout(c,33-d)})()},F=function(){var a,b,c;return c=arguments[0],b=arguments[1],a=3<=arguments.length?X.call(arguments,2):[],"function"==typeof c[b]?c[b].apply(c,a):c[b]},v=function(){var a,b,c,d,e,f,g;for(b=arguments[0],d=2<=arguments.length?X.call(arguments,1):[],f=0,g=d.length;g>f;f++)if(c=d[f])for(a in c)Y.call(c,a)&&(e=c[a],null!=b[a]&&"object"==typeof b[a]&&null!=e&&"object"==typeof e?v(b[a],e):b[a]=e);return b},q=function(a){var b,c,d,e,f;for(c=b=0,e=0,f=a.length;f>e;e++)d=a[e],c+=Math.abs(d),b++;return c/b},x=function(a,b){var c,d,e;if(null==a&&(a="options"),null==b&&(b=!0),e=document.querySelector("[data-pace-"+a+"]")){if(c=e.getAttribute("data-pace-"+a),!b)return c;try{return JSON.parse(c)}catch(f){return d=f,"undefined"!=typeof console&&null!==console?console.error("Error parsing inline pace options",d):void 0}}},g=function(){function a(){}return a.prototype.on=function(a,b,c,d){var e;return null==d&&(d=!1),null==this.bindings&&(this.bindings={}),null==(e=this.bindings)[a]&&(e[a]=[]),this.bindings[a].push({handler:b,ctx:c,once:d})},a.prototype.once=function(a,b,c){return this.on(a,b,c,!0)},a.prototype.off=function(a,b){var c,d,e;if(null!=(null!=(d=this.bindings)?d[a]:void 0)){if(null==b)return delete this.bindings[a];for(c=0,e=[];c<this.bindings[a].length;)e.push(this.bindings[a][c].handler===b?this.bindings[a].splice(c,1):c++);return e}},a.prototype.trigger=function(){var a,b,c,d,e,f,g,h,i;if(c=arguments[0],a=2<=arguments.length?X.call(arguments,1):[],null!=(g=this.bindings)?g[c]:void 0){for(e=0,i=[];e<this.bindings[c].length;)h=this.bindings[c][e],d=h.handler,b=h.ctx,f=h.once,d.apply(null!=b?b:this,a),i.push(f?this.bindings[c].splice(e,1):e++);return i}},a}(),j=window.Pace||{},window.Pace=j,v(j,g.prototype),D=j.options=v({},u,window.paceOptions,x()),U=["ajax","document","eventLag","elements"],Q=0,S=U.length;S>Q;Q++)K=U[Q],D[K]===!0&&(D[K]=u[K]);i=function(a){function b(){return V=b.__super__.constructor.apply(this,arguments)}return Z(b,a),b}(Error),b=function(){function a(){this.progress=0}return a.prototype.getElement=function(){var a;if(null==this.el){if(a=document.querySelector(D.target),!a)throw new i;this.el=document.createElement("div"),this.el.className="pace pace-active",document.body.className=document.body.className.replace(/pace-done/g,""),document.body.className+=" pace-running",this.el.innerHTML='<div class="pace-progress">\n  <div class="pace-progress-inner"></div>\n</div>\n<div class="pace-activity"></div>',null!=a.firstChild?a.insertBefore(this.el,a.firstChild):a.appendChild(this.el)}return this.el},a.prototype.finish=function(){var a;return a=this.getElement(),a.className=a.className.replace("pace-active",""),a.className+=" pace-inactive",document.body.className=document.body.className.replace("pace-running",""),document.body.className+=" pace-done"},a.prototype.update=function(a){return this.progress=a,this.render()},a.prototype.destroy=function(){try{this.getElement().parentNode.removeChild(this.getElement())}catch(a){i=a}return this.el=void 0},a.prototype.render=function(){var a,b,c,d,e,f,g;if(null==document.querySelector(D.target))return!1;for(a=this.getElement(),d="translate3d("+this.progress+"%, 0, 0)",g=["webkitTransform","msTransform","transform"],e=0,f=g.length;f>e;e++)b=g[e],a.children[0].style[b]=d;return(!this.lastRenderedProgress||this.lastRenderedProgress|0!==this.progress|0)&&(a.children[0].setAttribute("data-progress-text",""+(0|this.progress)+"%"),this.progress>=100?c="99":(c=this.progress<10?"0":"",c+=0|this.progress),a.children[0].setAttribute("data-progress",""+c)),this.lastRenderedProgress=this.progress},a.prototype.done=function(){return this.progress>=100},a}(),h=function(){function a(){this.bindings={}}return a.prototype.trigger=function(a,b){var c,d,e,f,g;if(null!=this.bindings[a]){for(f=this.bindings[a],g=[],d=0,e=f.length;e>d;d++)c=f[d],g.push(c.call(this,b));return g}},a.prototype.on=function(a,b){var c;return null==(c=this.bindings)[a]&&(c[a]=[]),this.bindings[a].push(b)},a}(),P=window.XMLHttpRequest,O=window.XDomainRequest,N=window.WebSocket,w=function(a,b){var c,d,e;e=[];for(d in b.prototype)try{e.push(null==a[d]&&"function"!=typeof b[d]?"function"==typeof Object.defineProperty?Object.defineProperty(a,d,{get:function(){return b.prototype[d]},configurable:!0,enumerable:!0}):a[d]=b.prototype[d]:void 0)}catch(f){c=f}return e},A=[],j.ignore=function(){var a,b,c;return b=arguments[0],a=2<=arguments.length?X.call(arguments,1):[],A.unshift("ignore"),c=b.apply(null,a),A.shift(),c},j.track=function(){var a,b,c;return b=arguments[0],a=2<=arguments.length?X.call(arguments,1):[],A.unshift("track"),c=b.apply(null,a),A.shift(),c},J=function(a){var b;if(null==a&&(a="GET"),"track"===A[0])return"force";if(!A.length&&D.ajax){if("socket"===a&&D.ajax.trackWebSockets)return!0;if(b=a.toUpperCase(),$.call(D.ajax.trackMethods,b)>=0)return!0}return!1},k=function(a){function b(){var a,c=this;b.__super__.constructor.apply(this,arguments),a=function(a){var b;return b=a.open,a.open=function(d,e){return J(d)&&c.trigger("request",{type:d,url:e,request:a}),b.apply(a,arguments)}},window.XMLHttpRequest=function(b){var c;return c=new P(b),a(c),c};try{w(window.XMLHttpRequest,P)}catch(d){}if(null!=O){window.XDomainRequest=function(){var b;return b=new O,a(b),b};try{w(window.XDomainRequest,O)}catch(d){}}if(null!=N&&D.ajax.trackWebSockets){window.WebSocket=function(a,b){var d;return d=null!=b?new N(a,b):new N(a),J("socket")&&c.trigger("request",{type:"socket",url:a,protocols:b,request:d}),d};try{w(window.WebSocket,N)}catch(d){}}}return Z(b,a),b}(h),R=null,y=function(){return null==R&&(R=new k),R},I=function(a){var b,c,d,e;for(e=D.ajax.ignoreURLs,c=0,d=e.length;d>c;c++)if(b=e[c],"string"==typeof b){if(-1!==a.indexOf(b))return!0}else if(b.test(a))return!0;return!1},y().on("request",function(b){var c,d,e,f,g;return f=b.type,e=b.request,g=b.url,I(g)?void 0:j.running||D.restartOnRequestAfter===!1&&"force"!==J(f)?void 0:(d=arguments,c=D.restartOnRequestAfter||0,"boolean"==typeof c&&(c=0),setTimeout(function(){var b,c,g,h,i,k;if(b="socket"===f?e.readyState<2:0<(h=e.readyState)&&4>h){for(j.restart(),i=j.sources,k=[],c=0,g=i.length;g>c;c++){if(K=i[c],K instanceof a){K.watch.apply(K,d);break}k.push(void 0)}return k}},c))}),a=function(){function a(){var a=this;this.elements=[],y().on("request",function(){return a.watch.apply(a,arguments)})}return a.prototype.watch=function(a){var b,c,d,e;return d=a.type,b=a.request,e=a.url,I(e)?void 0:(c="socket"===d?new n(b):new o(b),this.elements.push(c))},a}(),o=function(){function a(a){var b,c,d,e,f,g,h=this;if(this.progress=0,null!=window.ProgressEvent)for(c=null,a.addEventListener("progress",function(a){return h.progress=a.lengthComputable?100*a.loaded/a.total:h.progress+(100-h.progress)/2},!1),g=["load","abort","timeout","error"],d=0,e=g.length;e>d;d++)b=g[d],a.addEventListener(b,function(){return h.progress=100},!1);else f=a.onreadystatechange,a.onreadystatechange=function(){var b;return 0===(b=a.readyState)||4===b?h.progress=100:3===a.readyState&&(h.progress=50),"function"==typeof f?f.apply(null,arguments):void 0}}return a}(),n=function(){function a(a){var b,c,d,e,f=this;for(this.progress=0,e=["error","open"],c=0,d=e.length;d>c;c++)b=e[c],a.addEventListener(b,function(){return f.progress=100},!1)}return a}(),d=function(){function a(a){var b,c,d,f;for(null==a&&(a={}),this.elements=[],null==a.selectors&&(a.selectors=[]),f=a.selectors,c=0,d=f.length;d>c;c++)b=f[c],this.elements.push(new e(b))}return a}(),e=function(){function a(a){this.selector=a,this.progress=0,this.check()}return a.prototype.check=function(){var a=this;return document.querySelector(this.selector)?this.done():setTimeout(function(){return a.check()},D.elements.checkInterval)},a.prototype.done=function(){return this.progress=100},a}(),c=function(){function a(){var a,b,c=this;this.progress=null!=(b=this.states[document.readyState])?b:100,a=document.onreadystatechange,document.onreadystatechange=function(){return null!=c.states[document.readyState]&&(c.progress=c.states[document.readyState]),"function"==typeof a?a.apply(null,arguments):void 0}}return a.prototype.states={loading:0,interactive:50,complete:100},a}(),f=function(){function a(){var a,b,c,d,e,f=this;this.progress=0,a=0,e=[],d=0,c=C(),b=setInterval(function(){var g;return g=C()-c-50,c=C(),e.push(g),e.length>D.eventLag.sampleCount&&e.shift(),a=q(e),++d>=D.eventLag.minSamples&&a<D.eventLag.lagThreshold?(f.progress=100,clearInterval(b)):f.progress=100*(3/(a+3))},50)}return a}(),m=function(){function a(a){this.source=a,this.last=this.sinceLastUpdate=0,this.rate=D.initialRate,this.catchup=0,this.progress=this.lastProgress=0,null!=this.source&&(this.progress=F(this.source,"progress"))}return a.prototype.tick=function(a,b){var c;return null==b&&(b=F(this.source,"progress")),b>=100&&(this.done=!0),b===this.last?this.sinceLastUpdate+=a:(this.sinceLastUpdate&&(this.rate=(b-this.last)/this.sinceLastUpdate),this.catchup=(b-this.progress)/D.catchupTime,this.sinceLastUpdate=0,this.last=b),b>this.progress&&(this.progress+=this.catchup*a),c=1-Math.pow(this.progress/100,D.easeFactor),this.progress+=c*this.rate*a,this.progress=Math.min(this.lastProgress+D.maxProgressPerFrame,this.progress),this.progress=Math.max(0,this.progress),this.progress=Math.min(100,this.progress),this.lastProgress=this.progress,this.progress},a}(),L=null,H=null,r=null,M=null,p=null,s=null,j.running=!1,z=function(){return D.restartOnPushState?j.restart():void 0},null!=window.history.pushState&&(T=window.history.pushState,window.history.pushState=function(){return z(),T.apply(window.history,arguments)}),null!=window.history.replaceState&&(W=window.history.replaceState,window.history.replaceState=function(){return z(),W.apply(window.history,arguments)}),l={ajax:a,elements:d,document:c,eventLag:f},(B=function(){var a,c,d,e,f,g,h,i;for(j.sources=L=[],g=["ajax","elements","document","eventLag"],c=0,e=g.length;e>c;c++)a=g[c],D[a]!==!1&&L.push(new l[a](D[a]));for(i=null!=(h=D.extraSources)?h:[],d=0,f=i.length;f>d;d++)K=i[d],L.push(new K(D));return j.bar=r=new b,H=[],M=new m})(),j.stop=function(){return j.trigger("stop"),j.running=!1,r.destroy(),s=!0,null!=p&&("function"==typeof t&&t(p),p=null),B()},j.restart=function(){return j.trigger("restart"),j.stop(),j.start()},j.go=function(){var a;return j.running=!0,r.render(),a=C(),s=!1,p=G(function(b,c){var d,e,f,g,h,i,k,l,n,o,p,q,t,u,v,w;for(l=100-r.progress,e=p=0,f=!0,i=q=0,u=L.length;u>q;i=++q)for(K=L[i],o=null!=H[i]?H[i]:H[i]=[],h=null!=(w=K.elements)?w:[K],k=t=0,v=h.length;v>t;k=++t)g=h[k],n=null!=o[k]?o[k]:o[k]=new m(g),f&=n.done,n.done||(e++,p+=n.tick(b));return d=p/e,r.update(M.tick(b,d)),r.done()||f||s?(r.update(100),j.trigger("done"),setTimeout(function(){return r.finish(),j.running=!1,j.trigger("hide")},Math.max(D.ghostTime,Math.max(D.minTime-(C()-a),0)))):c()})},j.start=function(a){v(D,a),j.running=!0;try{r.render()}catch(b){i=b}return document.querySelector(".pace")?(j.trigger("start"),j.go()):setTimeout(j.start,50)},"function"==typeof define&&define.amd?define(["pace"],function(){return j}):"object"==typeof exports?module.exports=j:D.startOnPageLoad&&j.start()}).call(this);
1346
1347
1348/////////////////////////////////////////////
1349// vCenter PLUGIN
1350/////////////////////////////////////////////
1351
1352(function($) {
1353$.fn.vCenter = function() {return this.each(function(){var height = $(this).outerHeight();$(this).css('margin-bottom',-height/2);});};
1354$.fn.vCenterTop = function() {return this.each(function(){var height = $(this).outerHeight();$(this).css('margin-top',-height/2);});};
1355})(jQuery);

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.