vendor: 4,351 bytes, lines 1-14
1/*! 2 * jQuery JavaScript Library v1.11.0 3 * http://jquery.com/ 4 * 5 * Includes Sizzle.js 6 * http://sizzlejs.com/ 7 * 8 * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors 9 * Released under the MIT license 10 * http://jquery.org/license 11 * 12 * Date: 2014-01-23T21:02Z 13 */ 14function recaptchaCallback(){window.__recaptcha_submitted||(window.__recaptcha_submitted=!0,$("form.recaptcha").submit(),setTimeout(function(){window.__recaptcha_submitted=!1},1e3))}!function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function n(t){var e=t.length,n=oe.type(t);return"function"===n||oe.isWindow(t)?!1:1===t.nodeType&&e?!0:"array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t}function i(t,e,n){if(oe.isFunction(e))return oe.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodeType)return oe.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(pe.test(e))return oe.filter(e,t,n);e=oe.filter(e,t)}return oe.grep(t,function(t){return oe.inArray(t,e)>=0!==n})}function r(t,e){do t=t[e];while(t&&1!==t.nodeType);return t}function o(t){var e=xe[t]={};return oe.each(t.match(we)||[],function(t,n){e[n]=!0}),e}function a(){me.addEventListener?(me.removeEventListener("DOMContentLoaded",s,!1),t.removeEventListener("load",s,!1)):(me.detachEvent("onreadystatechange",s),t.detachEvent("onload",s))}function s(){(me.addEventListener||"load"===event.type||"complete"===me.readyState)&&(a(),oe.ready())}function l(t,e,n){if(void 0===n&&1===t.nodeType){var i="data-"+e.replace(_e,"-$1").toLowerCase();if(n=t.getAttribute(i),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:Se.test(n)?oe.parseJSON(n):n}catch(r){}oe.data(t,e,n)}else n=void 0}return n}function u(t){var e;for(e in t)if(("data"!==e||!oe.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function c(t,e,n,i){if(oe.acceptData(t)){var r,o,a=oe.expando,s=t.nodeType,l=s?oe.cache:t,u=s?t[a]:t[a]&&a;if(u&&l[u]&&(i||l[u].data)||void 0!==n||"string"!=typeof e)return u||(u=s?t[a]=G.pop()||oe.guid++:a),l[u]||(l[u]=s?{}:{toJSON:oe.noop}),("object"==typeof e||"function"==typeof e)&&(i?l[u]=oe.extend(l[u],e):l[u].data=oe.extend(l[u].data,e)),o=l[u],i||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[oe.camelCase(e)]=n),"string"==typeof e?(r=o[e],null==r&&(r=o[oe.camelCase(e)])):r=o,r}}function d(t,e,n){if(oe.acceptData(t)){var i,r,o=t.nodeType,a=o?oe.cache:t,s=o?t[oe.expando]:oe.expando;if(a[s]){if(e&&(i=n?a[s]:a[s].data)){oe.isArray(e)?e=e.concat(oe.map(e,oe.camelCase)):e in i?e=[e]:(e=oe.camelCase(e),e=e in i?[e]:e.split(" ")),r=e.length;for(;r--;)delete i[e[r]];if(n?!u(i):!oe.isEmptyObject(i))return}(n||(delete a[s].data,u(a[s])))&&(o?oe.cleanData([t],!0):ie.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}function f(){return!0}function p(){return!1}function h(){try{return me.activeElement}catch(t){}}function m(t){var e=He.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}function g(t,e){var n,i,r=0,o=typeof t.getElementsByTagName!==ke?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!==ke?t.querySelectorAll(e||"*"):void 0;if(!o)for(o=[],n=t.childNodes||t;null!=(i=n[r]);r++)!e||oe.nodeName(i,e)?o.push(i):oe.merge(o,g(i,e));return void 0===e||e&&oe.nodeName(t,e)?oe.merge([t],o):o}function v(t){Me.test(t.type)&&(t.defaultChecked=t.checked)}function y(t,e){return oe.nodeName(t,"table")&&oe.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function b(t){return t.type=(null!==oe.find.attr(t,"type"))+"/"+t.type,t}function w(t){var e=Ge.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function x(t,e){for(var n,i=0;null!=(n=t[i]);i++)oe._data(n,"globalEval",!e||oe._data(e[i],"globalEval"))}function T(t,e){if(1===e.nodeType&&oe.hasData(t)){var n,i,r,o=oe._data(t),a=oe._data(e,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(i=0,r=s[n].length;r>i;i++)oe.event.add(e,n,s[n][i])}a.data&&(a.data=oe.extend({},a.data))}}function C(t,e){var n,i,r;if(1===e.nodeType){if(n=e.nodeName.toLowerCase(),!ie.noCloneEvent&&e[oe.expando]){r=oe._data(e);
vendor: 5,095 bytes, line 14
14for(i in r.events)oe.removeEvent(e,i,r.handle);e.removeAttribute(oe.expando)}"script"===n&&e.text!==t.text?(b(e).text=t.text,w(e)):"object"===n?(e.parentNode&&(e.outerHTML=t.outerHTML),ie.html5Clone&&t.innerHTML&&!oe.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===n&&Me.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===n?e.defaultSelected=e.selected=t.defaultSelected:("input"===n||"textarea"===n)&&(e.defaultValue=t.defaultValue)}}function k(e,n){var i=oe(n.createElement(e)).appendTo(n.body),r=t.getDefaultComputedStyle?t.getDefaultComputedStyle(i[0]).display:oe.css(i[0],"display");return i.detach(),r}function S(t){var e=me,n=tn[t];return n||(n=k(t,e),"none"!==n&&n||(Ke=(Ke||oe("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=(Ke[0].contentWindow||Ke[0].contentDocument).document,e.write(),e.close(),n=k(t,e),Ke.detach()),tn[t]=n),n}function _(t,e){return{get:function(){var n=t();if(null!=n)return n?(delete this.get,void 0):(this.get=e).apply(this,arguments)}}}function E(t,e){if(e in t)return e;for(var n=e.charAt(0).toUpperCase()+e.slice(1),i=e,r=hn.length;r--;)if(e=hn[r]+n,e in t)return e;return i}function $(t,e){for(var n,i,r,o=[],a=0,s=t.length;s>a;a++)i=t[a],i.style&&(o[a]=oe._data(i,"olddisplay"),n=i.style.display,e?(o[a]||"none"!==n||(i.style.display=""),""===i.style.display&&De(i)&&(o[a]=oe._data(i,"olddisplay",S(i.nodeName)))):o[a]||(r=De(i),(n&&"none"!==n||!r)&&oe._data(i,"olddisplay",r?n:oe.css(i,"display"))));for(a=0;s>a;a++)i=t[a],i.style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?o[a]||"":"none"));return t}function D(t,e,n){var i=cn.exec(e);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):e}function A(t,e,n,i,r){for(var o=n===(i?"border":"content")?4:"width"===e?1:0,a=0;4>o;o+=2)"margin"===n&&(a+=oe.css(t,n+$e[o],!0,r)),i?("content"===n&&(a-=oe.css(t,"padding"+$e[o],!0,r)),"margin"!==n&&(a-=oe.css(t,"border"+$e[o]+"Width",!0,r))):(a+=oe.css(t,"padding"+$e[o],!0,r),"padding"!==n&&(a+=oe.css(t,"border"+$e[o]+"Width",!0,r)));return a}function M(t,e,n){var i=!0,r="width"===e?t.offsetWidth:t.offsetHeight,o=en(t),a=ie.boxSizing()&&"border-box"===oe.css(t,"boxSizing",!1,o);if(0>=r||null==r){if(r=nn(t,e,o),(0>r||null==r)&&(r=t.style[e]),on.test(r))return r;i=a&&(ie.boxSizingReliable()||r===t.style[e]),r=parseFloat(r)||0}return r+A(t,e,n||(a?"border":"content"),i,o)+"px"}function P(t,e,n,i,r){return new P.prototype.init(t,e,n,i,r)}function O(){return setTimeout(function(){mn=void 0}),mn=oe.now()}function j(t,e){var n,i={height:t},r=0;for(e=e?1:0;4>r;r+=2-e)n=$e[r],i["margin"+n]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function N(t,e,n){for(var i,r=(xn[e]||[]).concat(xn["*"]),o=0,a=r.length;a>o;o++)if(i=r[o].call(n,e,t))return i}function F(t,e,n){var i,r,o,a,s,l,u,c,d=this,f={},p=t.style,h=t.nodeType&&De(t),m=oe._data(t,"fxshow");n.queue||(s=oe._queueHooks(t,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,d.always(function(){d.always(function(){s.unqueued--,oe.queue(t,"fx").length||s.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],u=oe.css(t,"display"),c=S(t.nodeName),"none"===u&&(u=c),"inline"===u&&"none"===oe.css(t,"float")&&(ie.inlineBlockNeedsLayout&&"inline"!==c?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",ie.shrinkWrapBlocks()||d.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(i in e)if(r=e[i],vn.exec(r)){if(delete e[i],o=o||"toggle"===r,r===(h?"hide":"show")){if("show"!==r||!m||void 0===m[i])continue;h=!0}f[i]=m&&m[i]||oe.style(t,i)}if(!oe.isEmptyObject(f)){m?"hidden"in m&&(h=m.hidden):m=oe._data(t,"fxshow",{}),o&&(m.hidden=!h),h?oe(t).show():d.done(function(){oe(t).hide()}),d.done(function(){var e;oe._removeData(t,"fxshow");for(e in f)oe.style(t,e,f[e])});for(i in f)a=N(h?m[i]:0,i,d),i in m||(m[i]=a.start,h&&(a.end=a.start,a.start="width"===i||"height"===i?1:0))}}function H(t,e){var n,i,r,o,a;for(n in t)if(i=oe.camelCase(n),r=e[i],o=t[n],oe.isArray(o)&&(r=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),a=oe.cssHooks[i],a&&"expand"in a){o=a.expand(o),delete t[i];for(n in o)n in t||(t[n]=o[n],e[n]=r)}else e[i]=r}function L(t,e,n){var i,r,o=0,a=wn.length,s=oe.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=mn||O(),n=Math.max(0,u.startTime+u.duration-e),i=n/u.duration||0,o=1-i,a=0,l=u.tweens.length;l>a;a++)u.tweens[a].run(o);return s.notifyWith(t,[u,o,n]),1>o&&l?n:(s.resolveWith(t,[u]),!1)},u=s.promise({elem:t,props:oe.extend({},e),opts:oe.extend(!0,{specialEasing:{}},n),originalProperties:e,originalOptions:n,startTime:mn||O(),duration:n.duration,tweens:[],createTween:function(e,n){var i=oe.Tween(t,u.opts,e,n,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(i),i},stop:function(e){var n=0,i=e?u.tweens.length:0;if(r)return this;for(r=!0;i>n;n++)u.tweens[n].run(1);return e?s.resolveWith(t,[u,e]):s.rejectWith(t,[u,e]),this}}),c=u.props;
vendor: 2,450 bytes, line 14
14for(H(c,u.opts.specialEasing);a>o;o++)if(i=wn[o].call(u,t,c,u.opts))return i;return oe.map(c,N,u),oe.isFunction(u.opts.start)&&u.opts.start.call(t,u),oe.fx.timer(oe.extend(l,{elem:t,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function z(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,o=e.toLowerCase().match(we)||[];if(oe.isFunction(n))for(;i=o[r++];)"+"===i.charAt(0)?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function I(t,e,n,i){function r(s){var l;return o[s]=!0,oe.each(t[s]||[],function(t,s){var u=s(e,n,i);return"string"!=typeof u||a||o[u]?a?!(l=u):void 0:(e.dataTypes.unshift(u),r(u),!1)}),l}var o={},a=t===Bn;return r(e.dataTypes[0])||!o["*"]&&r("*")}function W(t,e){var n,i,r=oe.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((r[i]?t:n||(n={}))[i]=e[i]);return n&&oe.extend(!0,t,n),t}function R(t,e,n){for(var i,r,o,a,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(a in s)if(s[a]&&s[a].test(r)){l.unshift(a);break}if(l[0]in n)o=l[0];else{for(a in n){if(!l[0]||t.converters[a+" "+l[0]]){o=a;break}i||(i=a)}o=o||i}return o?(o!==l[0]&&l.unshift(o),n[o]):void 0}function Y(t,e,n,i){var r,o,a,s,l,u={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)u[a.toLowerCase()]=t.converters[a];for(o=c.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(a=u[l+" "+o]||u["* "+o],!a)for(r in u)if(s=r.split(" "),s[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){a===!0?a=u[r]:u[r]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&t["throws"])e=a(e);else try{e=a(e)}catch(d){return{state:"parsererror",error:a?d:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}function q(t,e,n,i){var r;if(oe.isArray(e))oe.each(e,function(e,r){n||Zn.test(t)?i(t,r):q(t+"["+("object"==typeof r?e:"")+"]",r,n,i)});else if(n||"object"!==oe.type(e))i(t,e);else for(r in e)q(t+"["+r+"]",e[r],n,i)}function B(){try{return new t.XMLHttpRequest}catch(e){}}function V(){try{return new t.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function U(t){return oe.isWindow(t)?t:9===t.nodeType?t.defaultView||t.parentWindow:!1}var G=[],Z=G.slice,X=G.concat,Q=G.push,J=G.indexOf,K={},te=K.toString,ee=K.hasOwnProperty,ne="".trim,ie={}
vendor: 1,071 bytes, line 14
14,re="1.11.0",oe=function(t,e){return new oe.fn.init(t,e)},ae=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,se=/^-ms-/,le=/-([\da-z])/gi,ue=function(t,e){return e.toUpperCase()};oe.fn=oe.prototype={jquery:re,constructor:oe,selector:"",length:0,toArray:function(){return Z.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:Z.call(this)},pushStack:function(t){var e=oe.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return oe.each(this,t,e)},map:function(t){return this.pushStack(oe.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(Z.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(0>t?e:0);return this.pushStack(n>=0&&e>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:Q,sort:G.sort,splice:G.splice},oe.extend=oe.fn.extend=function(){var t,e,n,i,r,o,a=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{}
vendor: 13,406 bytes, lines 14-24
14,s++),"object"==typeof a||oe.isFunction(a)||(a={}),s===l&&(a=this,s--);l>s;s++)if(null!=(r=arguments[s]))for(i in r)t=a[i],n=r[i],a!==n&&(u&&n&&(oe.isPlainObject(n)||(e=oe.isArray(n)))?(e?(e=!1,o=t&&oe.isArray(t)?t:[]):o=t&&oe.isPlainObject(t)?t:{},a[i]=oe.extend(u,o,n)):void 0!==n&&(a[i]=n));return a},oe.extend({expando:"jQuery"+(re+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===oe.type(t)},isArray:Array.isArray||function(t){return"array"===oe.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return t-parseFloat(t)>=0},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},isPlainObject:function(t){var e;if(!t||"object"!==oe.type(t)||t.nodeType||oe.isWindow(t))return!1;try{if(t.constructor&&!ee.call(t,"constructor")&&!ee.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(ie.ownLast)for(e in t)return ee.call(t,e);for(e in t);return void 0===e||ee.call(t,e)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?K[te.call(t)]||"object":typeof t},globalEval:function(e){e&&oe.trim(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},camelCase:function(t){return t.replace(se,"ms-").replace(le,ue)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,i){var r,o=0,a=t.length,s=n(t);if(i){if(s)for(;a>o&&(r=e.apply(t[o],i),r!==!1);o++);else for(o in t)if(r=e.apply(t[o],i),r===!1)break}else if(s)for(;a>o&&(r=e.call(t[o],o,t[o]),r!==!1);o++);else for(o in t)if(r=e.call(t[o],o,t[o]),r===!1)break;return t},trim:ne&&!ne.call(" ")?function(t){return null==t?"":ne.call(t)}:function(t){return null==t?"":(t+"").replace(ae,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(n(Object(t))?oe.merge(i,"string"==typeof t?[t]:t):Q.call(i,t)),i},inArray:function(t,e,n){var i;if(e){if(J)return J.call(e,t,n);for(i=e.length,n=n?0>n?Math.max(0,i+n):n:0;i>n;n++)if(n in e&&e[n]===t)return n}return-1},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;n>i;)t[r++]=e[i++];if(n!==n)for(;void 0!==e[i];)t[r++]=e[i++];return t.length=r,t},grep:function(t,e,n){for(var i,r=[],o=0,a=t.length,s=!n;a>o;o++)i=!e(t[o],o),i!==s&&r.push(t[o]);return r},map:function(t,e,i){var r,o=0,a=t.length,s=n(t),l=[];if(s)for(;a>o;o++)r=e(t[o],o,i),null!=r&&l.push(r);else for(o in t)r=e(t[o],o,i),null!=r&&l.push(r);return X.apply([],l)},guid:1,proxy:function(t,e){var n,i,r;return"string"==typeof e&&(r=t[e],e=t,t=r),oe.isFunction(t)?(n=Z.call(arguments,2),i=function(){return t.apply(e||this,n.concat(Z.call(arguments)))},i.guid=t.guid=t.guid||oe.guid++,i):void 0},now:function(){return+new Date},support:ie}),oe.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){K["[object "+e+"]"]=e.toLowerCase()});var ce=/*! 15 * Sizzle CSS Selector Engine v1.10.16 16 * http://sizzlejs.com/ 17 * 18 * Copyright 2013 jQuery Foundation, Inc. and other contributors 19 * Released under the MIT license 20 * http://jquery.org/license 21 * 22 * Date: 2014-01-13 23 */ 24function(t){function e(t,e,n,i){var r,o,a,s,l,u,d,h,m,g;if((e?e.ownerDocument||e:I)!==P&&M(e),e=e||P,n=n||[],!t||"string"!=typeof t)return n;if(1!==(s=e.nodeType)&&9!==s)return[];if(j&&!i){if(r=ye.exec(t))if(a=r[1]){if(9===s){if(o=e.getElementById(a),!o||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(e.ownerDocument&&(o=e.ownerDocument.getElementById(a))&&L(e,o)&&o.id===a)return n.push(o),n}else{if(r[2])return K.apply(n,e.getElementsByTagName(t)),n;if((a=r[3])&&C.getElementsByClassName&&e.getElementsByClassName)return K.apply(n,e.getElementsByClassName(a)),n}if(C.qsa&&(!N||!N.test(t))){if(h=d=z,m=e,g=9===s&&t,1===s&&"object"!==e.nodeName.toLowerCase()){for(u=f(t),(d=e.getAttribute("id"))?h=d.replace(we,"\\$&"):e.setAttribute("id",h),h="[id='"+h+"'] ",l=u.length;l--;)u[l]=h+p(u[l]);m=be.test(t)&&c(e.parentNode)||e,g=u.join(",")}if(g)try{return K.apply(n,m.querySelectorAll(g)),n}catch(v){}finally{d||e.removeAttribute("id")}}}return x(t.replace(le,"$1"),e,n,i)}function n(){function t(n,i){return e.push(n+" ")>k.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){return t[z]=!0,t}function r(t){var e=P.createElement("div");try{return!!t(e)}catch(n){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var n=t.split("|"),i=t.length;i--;)k.attrHandle[n[i]]=e}function a(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||G)-(~t.sourceIndex||G);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function s(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function l(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function u(t){return i(function(e){return e=+e,i(function(n,i){for(var r,o=t([],n.length,e),a=o.length;a--;)n[r=o[a]]&&(n[r]=!(i[r]=n[r]))})})}function c(t){return t&&typeof t.getElementsByTagName!==U&&t}function d(){}function f(t,n){var i,r,o,a,s,l,u,c=q[t+" "];if(c)return n?0:c.slice(0);for(s=t,l=[],u=k.preFilter;s;){(!i||(r=ue.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),l.push(o=[])),i=!1,(r=ce.exec(s))&&(i=r.shift(),o.push({value:i,type:r[0].replace(le," ")}),s=s.slice(i.length));for(a in k.filter)!(r=he[a].exec(s))||u[a]&&!(r=u[a](r))||(i=r.shift(),o.push({value:i,type:a,matches:r}),s=s.slice(i.length));if(!i)break}return n?s.length:s?e.error(t):q(t,l).slice(0)}function p(t){for(var e=0,n=t.length,i="";n>e;e++)i+=t[e].value;return i}function h(t,e,n){var i=e.dir,r=n&&"parentNode"===i,o=R++;return e.first?function(e,n,o){for(;e=e[i];)if(1===e.nodeType||r)return t(e,n,o)}:function(e,n,a){var s,l,u=[W,o];if(a){for(;e=e[i];)if((1===e.nodeType||r)&&t(e,n,a))return!0}else for(;e=e[i];)if(1===e.nodeType||r){if(l=e[z]||(e[z]={}),(s=l[i])&&s[0]===W&&s[1]===o)return u[2]=s[2];if(l[i]=u,u[2]=t(e,n,a))return!0}}}function m(t){return t.length>1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function g(t,e,n,i,r){for(var o,a=[],s=0,l=t.length,u=null!=e;l>s;s++)(o=t[s])&&(!n||n(o,i,r))&&(a.push(o),u&&e.push(s));return a}function v(t,e,n,r,o,a){return r&&!r[z]&&(r=v(r)),o&&!o[z]&&(o=v(o,a)),i(function(i,a,s,l){var u,c,d,f=[],p=[],h=a.length,m=i||w(e||"*",s.nodeType?[s]:s,[]),v=!t||!i&&e?m:g(m,f,t,s,l),y=n?o||(i?t:h||r)?[]:a:v;if(n&&n(v,y,s,l),r)for(u=g(y,p),r(u,[],s,l),c=u.length;c--;)(d=u[c])&&(y[p[c]]=!(v[p[c]]=d));if(i){if(o||t){if(o){for(u=[],c=y.length;c--;)(d=y[c])&&u.push(v[c]=d);o(null,y=[],u,l)}for(c=y.length;c--;)(d=y[c])&&(u=o?ee.call(i,d):f[c])>-1&&(i[u]=!(a[u]=d))}}else y=g(y===a?y.splice(h,y.length):y),o?o(null,a,y,l):K.apply(a,y)})}function y(t){for(var e,n,i,r=t.length,o=k.relative[t[0].type],a=o||k.relative[" "],s=o?1:0,l=h(function(t){return t===e},a,!0),u=h(function(t){return ee.call(e,t)>-1},a,!0),c=[function(t,n,i){return!o&&(i||n!==$)||((e=n).nodeType?l(t,n,i):u(t,n,i))}];r>s;s++)if(n=k.relative[t[s].type])c=[h(m(c),n)];else{if(n=k.filter[t[s].type].apply(null,t[s].matches),n[z]){for(i=++s;r>i&&!k.relative[t[i].type];i++);return v(s>1&&m(c),s>1&&p(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(le,"$1"),n,i>s&&y(t.slice(s,i)),r>i&&y(t=t.slice(i)),r>i&&p(t))}c.push(n)}return m(c)}function b(t,n){var r=n.length>0,o=t.length>0,a=function(i,a,s,l,u){var c,d,f,p=0,h="0",m=i&&[],v=[],y=$,b=i||o&&k.find.TAG("*",u),w=W+=null==y?1:Math.random()||.1,x=b.length;for(u&&($=a!==P&&a);h!==x&&null!=(c=b[h]);h++){if(o&&c){for(d=0;f=t[d++];)if(f(c,a,s)){l.push(c);break}u&&(W=w)}r&&((c=!f&&c)&&p--,i&&m.push(c))}if(p+=h,r&&h!==p){for(d=0;f=n[d++];)f(m,v,a,s);if(i){if(p>0)for(;h--;)m[h]||v[h]||(v[h]=Q.call(l));v=g(v)}K.apply(l,v),u&&!i&&v.length>0&&p+n.length>1&&e.uniqueSort(l)}return u&&(W=w,$=y),m};return r?i(a):a}function w(t,n,i){for(var r=0,o=n.length;o>r;r++)e(t,n[r],i);return i}function x(t,e,n,i){var r,o,a,s,l,u=f(t);if(!i&&1===u.length){if(o=u[0]=u[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&C.getById&&9===e.nodeType&&j&&k.relative[o[1].type]){if(e=(k.find.ID(a.matches[0].replace(xe,Te),e)||[])[0],!e)return n;t=t.slice(o.shift().value.length)}for(r=he.needsContext.test(t)?0:o.length;r--&&(a=o[r],!k.relative[s=a.type]);)if((l=k.find[s])&&(i=l(a.matches[0].replace(xe,Te),be.test(o[0].type)&&c(e.parentNode)||e))){if(o.splice(r,1),t=i.length&&p(o),!t)return K.apply(n,i),n;break}}return E(t,u)(i,e,!j,n,be.test(t)&&c(e.parentNode)||e),n}var T,C,k,S,_,E,$,D,A,M,P,O,j,N,F,H,L,z="sizzle"+-new Date,I=t.document,W=0,R=0,Y=n(),q=n(),B=n(),V=function(t,e){return t===e&&(A=!0),0},U="undefined",G=1<<31,Z={}.hasOwnProperty,X=[],Q=X.pop,J=X.push,K=X.push,te=X.slice,ee=X.indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(this[e]===t)return e;return-1},ne="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ie="[\\x20\\t\\r\\n\\f]",re="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",oe=re.replace("w","w#"),ae="\\["+ie+"*("+re+")"+ie+"*(?:([*^$|!~]?=)"+ie+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+oe+")|)|)"+ie+"*\\]",se=":("+re+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+ae.replace(3,8)+")*)|.*)\\)|)",le=new RegExp("^"+ie+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ie+"+$","g"),ue=new RegExp("^"+ie+"*,"+ie+"*"),ce=new RegExp("^"+ie+"*([>+~]|"+ie+")"+ie+"*"),de=new RegExp("="+ie+"*([^\\]'\"]*?)"+ie+"*\\]","g"),fe=new RegExp(se),pe=new RegExp("^"+oe+"$"),he={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re.replace("w","w*")+")"),ATTR:new RegExp("^"+ae),PSEUDO:new RegExp("^"+se),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ie+"*(even|odd|(([+-]|)(\\d*)n|)"+ie+"*(?:([+-]|)"+ie+"*(\\d+)|))"+ie+"*\\)|)","i"),bool:new RegExp("^(?:"+ne+")$","i"),needsContext:new RegExp("^"+ie+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ie+"*((?:-\\d)?\\d*)"+ie+"*\\)|)(?=[^-]|$)","i")},me=/^(?:input|select|textarea|button)$/i,ge=/^h\d$/i,ve=/^[^{]+\{\s*\[native \w/,ye=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,be=/[+~]/,we=/'|\\/g,xe=new RegExp("\\\\([\\da-f]{1,6}"+ie+"?|("+ie+")|.)","ig"),Te=function(t,e,n){var i="0x"+e-65536;return i!==i||n?e:0>i?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)};try{K.apply(X=te.call(I.childNodes),I.childNodes),X[I.childNodes.length].nodeType}catch(Ce){K={apply:X.length?function(t,e){J.apply(t,te.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}C=e.support={},_=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return e?"HTML"!==e.nodeName:!1},M=e.setDocument=function(t){var e,n=t?t.ownerDocument||t:I,i=n.defaultView;return n!==P&&9===n.nodeType&&n.documentElement?(P=n,O=n.documentElement,j=!_(n),i&&i!==i.top&&(i.addEventListener?i.addEventListener("unload",function(){M()},!1):i.attachEvent&&i.attachEvent("onunload",function(){M()})),C.attributes=r(function(t){return t.className="i",!t.getAttribute("className")}),C.getElementsByTagName=r(function(t){return t.appendChild(n.createComment("")),!t.getElementsByTagName("*").length}),C.getElementsByClassName=ve.test(n.getElementsByClassName)&&r(function(t){return t.innerHTML="<div class='a'></div><div class='a i'></div>",t.firstChild.className="i",2===t.getElementsByClassName("i").length}),C.getById=r(function(t){return O.appendChild(t).id=z,!n.getElementsByName||!n.getElementsByName(z).length}),C.getById?(k.find.ID=function(t,e){if(typeof e.getElementById!==U&&j){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},k.filter.ID=function(t){var e=t.replace(xe,Te);return function(t){return t.getAttribute("id")===e}}):(delete k.find.ID,k.filter.ID=function(t){var e=t.replace(xe,Te);return function(t){var n=typeof t.getAttributeNode!==U&&t.getAttributeNode("id");return n&&n.value===e}}),k.find.TAG=C.getElementsByTagName?function(t,e){return typeof e.getElementsByTagName!==U?e.getElementsByTagName(t):void 0}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},k.find.CLASS=C.getElementsByClassName&&function(t,e){return typeof e.getElementsByClassName!==U&&j?e.getElementsByClassName(t):void 0},F=[],N=[],(C.qsa=ve.test(n.querySelectorAll))&&(r(function(t){t.innerHTML="<select t=''><option selected=''></option></select>",t.querySelectorAll("[t^='']").length&&N.push("[*^$]="+ie+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||N.push("\\["+ie+"*(?:value|"+ne+")"),t.querySelectorAll(":checked").length||N.push(":checked")}),r(function(t){var e=n.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&N.push("name"+ie+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||N.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),N.push(",.*:")})),(C.matchesSelector=ve.test(H=O.webkitMatchesSelector||O.mozMatchesSelector||O.oMatchesSelector||O.msMatchesSelector))&&r(function(t){C.disconnectedMatch=H.call(t,"div"),H.call(t,"[s!='']:x"),F.push("!=",se)}),N=N.length&&new RegExp(N.join("|")),F=F.length&&new RegExp(F.join("|")),e=ve.test(O.compareDocumentPosition),L=e||ve.test(O.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i))
vendor: 5,933 bytes, line 24
24)}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},V=e?function(t,e){if(t===e)return A=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i?i:(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&i||!C.sortDetached&&e.compareDocumentPosition(t)===i?t===n||t.ownerDocument===I&&L(I,t)?-1:e===n||e.ownerDocument===I&&L(I,e)?1:D?ee.call(D,t)-ee.call(D,e):0:4&i?-1:1)}:function(t,e){if(t===e)return A=!0,0;var i,r=0,o=t.parentNode,s=e.parentNode,l=[t],u=[e];if(!o||!s)return t===n?-1:e===n?1:o?-1:s?1:D?ee.call(D,t)-ee.call(D,e):0;if(o===s)return a(t,e);for(i=t;i=i.parentNode;)l.unshift(i);for(i=e;i=i.parentNode;)u.unshift(i);for(;l[r]===u[r];)r++;return r?a(l[r],u[r]):l[r]===I?-1:u[r]===I?1:0},n):P},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==P&&M(t),n=n.replace(de,"='$1']"),!(!C.matchesSelector||!j||F&&F.test(n)||N&&N.test(n)))try{var i=H.call(t,n);if(i||C.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(r){}return e(n,P,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==P&&M(t),L(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==P&&M(t);var n=k.attrHandle[e.toLowerCase()],i=n&&Z.call(k.attrHandle,e.toLowerCase())?n(t,e,!j):void 0;return void 0!==i?i:C.attributes||!j?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],i=0,r=0;if(A=!C.detectDuplicates,D=!C.sortStable&&t.slice(0),t.sort(V),A){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)t.splice(n[i],1)}return D=null,t},S=e.getText=function(t){var e,n="",i=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=S(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i++];)n+=S(e);return n},k=e.selectors={cacheLength:50,createPseudo:i,match:he,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(xe,Te),t[3]=(t[4]||t[5]||"").replace(xe,Te),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[5]&&t[2];return he.CHILD.test(t[0])?null:(t[3]&&void 0!==t[4]?t[2]=t[4]:n&&fe.test(n)&&(e=f(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(xe,Te).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=Y[t+" "];return e||(e=new RegExp("(^|"+ie+")"+t+"("+ie+"|$)"))&&Y(t,function(t){return e.test("string"==typeof t.className&&t.className||typeof t.getAttribute!==U&&t.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(r){var o=e.attr(r,t);return null==o?"!="===n:n?(o+="","="===n?o===i:"!="===n?o!==i:"^="===n?i&&0===o.indexOf(i):"*="===n?i&&o.indexOf(i)>-1:"$="===n?i&&o.slice(-i.length)===i:"~="===n?(" "+o+" ").indexOf(i)>-1:"|="===n?o===i||o.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(t,e,n,i,r){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,l){var u,c,d,f,p,h,m=o!==a?"nextSibling":"previousSibling",g=e.parentNode,v=s&&e.nodeName.toLowerCase(),y=!l&&!s;if(g){if(o){for(;m;){for(d=e;d=d[m];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;h=m="only"===t&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&y){for(c=g[z]||(g[z]={}),u=c[t]||[],p=u[0]===W&&u[1],f=u[0]===W&&u[2],d=p&&g.childNodes[p];d=++p&&d&&d[m]||(f=p=0)||h.pop();)if(1===d.nodeType&&++f&&d===e){c[t]=[W,p,f];break}}else if(y&&(u=(e[z]||(e[z]={}))[t])&&u[0]===W)f=u[1];else for(;(d=++p&&d&&d[m]||(f=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++f||(y&&((d[z]||(d[z]={}))[t]=[W,f]),d!==e)););return f-=r,f===i||f%i===0&&f/i>=0}}},PSEUDO:function(t,n){var r,o=k.pseudos[t]||k.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[z]?o(n):o.length>1?(r=[t,t,"",n],k.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,r=o(t,n),a=r.length;a--;)i=ee.call(t,r[a]),t[i]=!(e[i]=r[a])}):function(t){return o(t,0,r)}):o}},pseudos:{not:i(function(t){var e=[],n=[],r=E(t.replace(le,"$1"));return r[z]?i(function(t,e,n,i){for(var o,a=r(t,null,i,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))}):function(t,i,o){return e[0]=t,r(e,null,o,n),!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){return function(e){return(e.textContent||e.innerText||S(e)).indexOf(t)>-1}}),lang:i(function(t){return pe.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(xe,Te).toLowerCase(),function(e){var n;do if(n=j?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===O},focus:function(t){return t===P.activeElement&&(!P.hasFocus||P.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!k.pseudos.empty(t)}
vendor: 7,195 bytes, line 24
24,header:function(t){return ge.test(t.nodeName)},input:function(t){return me.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:u(function(){return[0]}),last:u(function(t,e){return[e-1]}),eq:u(function(t,e,n){return[0>n?n+e:n]}),even:u(function(t,e){for(var n=0;e>n;n+=2)t.push(n);return t}),odd:u(function(t,e){for(var n=1;e>n;n+=2)t.push(n);return t}),lt:u(function(t,e,n){for(var i=0>n?n+e:n;--i>=0;)t.push(i);return t}),gt:u(function(t,e,n){for(var i=0>n?n+e:n;++i<e;)t.push(i);return t})}},k.pseudos.nth=k.pseudos.eq;for(T in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})k.pseudos[T]=s(T);for(T in{submit:!0,reset:!0})k.pseudos[T]=l(T);return d.prototype=k.filters=k.pseudos,k.setFilters=new d,E=e.compile=function(t,e){var n,i=[],r=[],o=B[t+" "];if(!o){for(e||(e=f(t)),n=e.length;n--;)o=y(e[n]),o[z]?i.push(o):r.push(o);o=B(t,b(r,i))}return o},C.sortStable=z.split("").sort(V).join("")===z,C.detectDuplicates=!!A,M(),C.sortDetached=r(function(t){return 1&t.compareDocumentPosition(P.createElement("div"))}),r(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,e,n){return n?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),C.attributes&&r(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,e,n){return n||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),r(function(t){return null==t.getAttribute("disabled")})||o(ne,function(t,e,n){var i;return n?void 0:t[e]===!0?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),e}(t);oe.find=ce,oe.expr=ce.selectors,oe.expr[":"]=oe.expr.pseudos,oe.unique=ce.uniqueSort,oe.text=ce.getText,oe.isXMLDoc=ce.isXML,oe.contains=ce.contains;var de=oe.expr.match.needsContext,fe=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,pe=/^.[^:#\[\.,]*$/;oe.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?oe.find.matchesSelector(i,t)?[i]:[]:oe.find.matches(t,oe.grep(e,function(t){return 1===t.nodeType}))},oe.fn.extend({find:function(t){var e,n=[],i=this,r=i.length;if("string"!=typeof t)return this.pushStack(oe(t).filter(function(){for(e=0;r>e;e++)if(oe.contains(i[e],this))return!0}));for(e=0;r>e;e++)oe.find(t,i[e],n);return n=this.pushStack(r>1?oe.unique(n):n),n.selector=this.selector?this.selector+" "+t:t,n},filter:function(t){return this.pushStack(i(this,t||[],!1))},not:function(t){return this.pushStack(i(this,t||[],!0))},is:function(t){return!!i(this,"string"==typeof t&&de.test(t)?oe(t):t||[],!1).length}});var he,me=t.document,ge=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ve=oe.fn.init=function(t,e){var n,i;if(!t)return this;if("string"==typeof t){if(n="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:ge.exec(t),!n||!n[1]&&e)return!e||e.jquery?(e||he).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof oe?e[0]:e,oe.merge(this,oe.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:me,!0)),fe.test(n[1])&&oe.isPlainObject(e))for(n in e)oe.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}if(i=me.getElementById(n[2]),i&&i.parentNode){if(i.id!==n[2])return he.find(t);this.length=1,this[0]=i}return this.context=me,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):oe.isFunction(t)?"undefined"!=typeof he.ready?he.ready(t):t(oe):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),oe.makeArray(t,this))};ve.prototype=oe.fn,he=oe(me);var ye=/^(?:parents|prev(?:Until|All))/,be={children:!0,contents:!0,next:!0,prev:!0};oe.extend({dir:function(t,e,n){for(var i=[],r=t[e];r&&9!==r.nodeType&&(void 0===n||1!==r.nodeType||!oe(r).is(n));)1===r.nodeType&&i.push(r),r=r[e];return i},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}}),oe.fn.extend({has:function(t){var e,n=oe(t,this),i=n.length;return this.filter(function(){for(e=0;i>e;e++)if(oe.contains(this,n[e]))return!0})},closest:function(t,e){for(var n,i=0,r=this.length,o=[],a=de.test(t)||"string"!=typeof t?oe(t,e||this.context):0;r>i;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&oe.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?oe.unique(o):o)},index:function(t){return t?"string"==typeof t?oe.inArray(this[0],oe(t)):oe.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(oe.unique(oe.merge(this.get(),oe(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),oe.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return oe.dir(t,"parentNode")},parentsUntil:function(t,e,n){return oe.dir(t,"parentNode",n)},next:function(t){return r(t,"nextSibling")},prev:function(t){return r(t,"previousSibling")},nextAll:function(t){return oe.dir(t,"nextSibling")},prevAll:function(t){return oe.dir(t,"previousSibling")},nextUntil:function(t,e,n){return oe.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return oe.dir(t,"previousSibling",n)},siblings:function(t){return oe.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return oe.sibling(t.firstChild)},contents:function(t){return oe.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:oe.merge([],t.childNodes)}},function(t,e){oe.fn[t]=function(n,i){var r=oe.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=oe.filter(i,r)),this.length>1&&(be[t]||(r=oe.unique(r)),ye.test(t)&&(r=r.reverse())),this.pushStack(r)}});var we=/\S+/g,xe={};oe.Callbacks=function(t){t="string"==typeof t?xe[t]||o(t):oe.extend({},t);var e,n,i,r,a,s,l=[],u=!t.once&&[],c=function(o){for(n=t.memory&&o,i=!0,a=s||0,s=0,r=l.length,e=!0;l&&r>a;a++)if(l[a].apply(o[0],o[1])===!1&&t.stopOnFalse){n=!1;break}e=!1,l&&(u?u.length&&c(u.shift()):n?l=[]:d.disable())},d={add:function(){if(l){var i=l.length;!function o(e){oe.each(e,function(e,n){var i=oe.type(n);"function"===i?t.unique&&d.has(n)||l.push(n):n&&n.length&&"string"!==i&&o(n)})}(arguments),e?r=l.length:n&&(s=i,c(n))}return this},remove:function(){return l&&oe.each(arguments,function(t,n){for(var i;(i=oe.inArray(n,l,i))>-1;)l.splice(i,1),e&&(r>=i&&r--,a>=i&&a--)}),this},has:function(t){return t?oe.inArray(t,l)>-1:!(!l||!l.length)},empty:function(){return l=[],r=0,this},disable:function(){return l=u=n=void 0,this},disabled:function(){return!l},lock:function(){return u=void 0,n||d.disable(),this},locked:function(){return!u},fireWith:function(t,n){return!l||i&&!u||(n=n||[],n=[t,n.slice?n.slice():n],e?u.push(n):c(n)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!i}};return d},oe.extend({Deferred:function(t){var e=[["resolve","done",oe.Callbacks("once memory"),"resolved"],["reject","fail",oe.Callbacks("once memory"),"rejected"],["notify","progress",oe.Callbacks("memory")]],n="pe
24nding",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return oe.Deferred(function(n){oe.each(e,function(e,o){var a=oe.isFunction(t[e])&&t[e];r[o[1]](function(){var t=a&&a.apply(this,arguments);t&&oe.isFunction(t.promise)?t.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o[0]+"With"](this===i?n.promise():this,a?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?oe.extend(t,i):i}},r={};return i.pipe=i.then,oe.each(e,function(t,o){var a=o[2],s=o[3];i[o[1]]=a.add,s&&a.add(function(){n=s},e[1^t][2].disable,e[2][2].lock),r[o[0]]=function(){return r[o[0]+"With"](this===r?i:this,arguments),this},r[o[0]+"With"]=a.fireWith}),i.promise(r),t&&t.call(r,r),r},when:function(t){var e,n,i,r=0,o=Z.call(arguments),a=o.length,s=1!==a||t&&oe.isFunction(t.promise)?a:0,l=1===s?t:oe.Deferred(),u=function(t,n,i){return function(r){n[t]=this,i[t]=arguments.length>1?Z.call(arguments):r,i===e?l.notifyWith(n,i):--s||l.resolveWith(n,i)}};if(a>1)for(e=new Array(a),n=new Array(a),i=new Array(a);a>r;r++)o[r]&&oe.isFunction(o[r].promise)?o[r].promise().done(u(r,i,o)).fail(l.reject).progress(u(r,n,e)):--s;return s||l.resolveWith(i,o),l.promise()}});var Te;oe.fn.ready=function(t){return oe.ready.promise().done(t),this},oe.extend({isReady:!1,readyWait:1,holdReady:function(t){t?oe.readyWait++:oe.ready(!0)},ready:function(t){if(t===!0?!--oe.readyWait:!oe.isReady){if(!me.body)return setTimeout(oe.ready);oe.isReady=!0,t!==!0&&--oe.readyWait>0||(Te.resolveWith(me,[oe]),oe.fn.trigger&&oe(me).trigger("ready").off("ready"))}}}),oe.ready.promise=function(e){if(!Te)if(Te=oe.Deferred(),"complete"===me.readyState)setTimeout(oe.ready);else if(me.addEventListener)me.addEventListener("DOMContentLoaded",s,!1),t.addEventListener("load",s,!1);else{me.attachEvent("onreadystatechange",s),t.attachEvent("onload",s);var n=!1;try{n=null==t.frameElement&&me.documentElement}catch(i){}n&&n.doScroll&&!function r(){if(!oe.isReady){try{n.doScroll("left")}catch(t){return setTimeout(r,50)}a(),oe.ready()}}()}return Te.promise(e)};var Ce,ke="undefined";for(Ce in oe(ie))break;ie.ownLast="0"!==Ce,ie.inlineBlockNeedsLayout=!1,oe(function(){var t,e,n=me.getElementsByTagName("body")[0];n&&(t=me.createElement("div"),t.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",e=me.createElement("div"),n.appendChild(t).appendChild(e),typeof e.style.zoom!==ke&&(e.style.cssText="border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1",(ie.inlineBlockNeedsLayout=3===e.offsetWidth)&&(n.style.zoom=1)),n.removeChild(t),t=e=null)}),function(){var t=me.createElement("div");if(null==ie.deleteExpando){ie.deleteExpando=!0;try{delete t.test}catch(e){ie.deleteExpando=!1}}t=null}(),oe.acceptData=function(t){var e=oe.noData[(t.nodeName+" ").toLowerCase()],n=+t.nodeType||1;return 1!==n&&9!==n?!1:!e||e!==!0&&t.getAttribute("classid")===e};var Se=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,_e=/([A-Z])/g;oe.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return t=t.nodeType?oe.cache[t[oe.expando]]:t[oe.expando],!!t&&!u(t)},data:function(t,e,n){return c(t,e,n)},removeData:function(t,e){return d(t,e)},_data:function(t,e,n){return c(t,e,n,!0)},_removeData:function(t,e){return d(t,e,!0)}}),oe.fn.extend({data:function(t,e){var n,i,r,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(r=oe.data(o),1===o.nodeType&&!oe._data(o,"parsedAttrs"))){for(n=a.length;n--;)i=a[n].name,0===i.indexOf("data-")&&(i=oe.camelCase(i.slice(5)),l(o,i,r[i]));oe._data(o,"parsedAttrs",!0)}return r}return"object"==typeof t?this.each(function(){oe.data(this,t)}):arguments.length>1?this.each(function(){oe.data(this,t,e)}):o?l(o,t,oe.data(o,t)):void 0},removeData:function(t){return this.each(function(){oe.removeData(this,t)})}}),oe.extend({queue:function(t,e,n){var i;return t?(e=(e||"fx")+"queue",i=oe._data(t,e),n&&(!i||oe.isArray(n)?i=oe._data(t,e,oe.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(t,e){e=e||"fx";var n=oe.queue(t,e),i=n.length,r=n.shift(),o=oe._queueHooks(t,e),a=function(){oe.dequeue(t,e)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,a,o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return oe._data(t,n)||oe._data(t,n,{empty:oe.Callbacks("once memory").add(function(){oe._removeData(t,e+"queue"),oe._removeData(t,n)})})}}),oe.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?oe.queue(this[0],t):void 0===e?this:this.each(function(){var n=oe.queue(this,t,e);oe._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&oe.dequeue(this,t)})},dequeue:function(t){return this.each(function(){oe.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=oe.Deferred(),o=this,a=this.length,s=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)n=oe._data(o[a],t+"queueHooks"),n&&n.empty&&(i++,n.empty.add(s));return s(),r.promise(e)}});var Ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,$e=["Top","Right","Bottom","Left"],De=function(t,e){return t=e||t,"none"===oe.css(t,"display")||!oe.contains(t.ownerDocument,t)},Ae=oe.access=function(t,e,n,i,r,o,a){var s=0,l=t.length,u=null==n;
vendor: 4,416 bytes, lines 24-25
24if("object"===oe.type(n)){r=!0;for(s in n)oe.access(t,e,s,n[s],!0,o,a)}else if(void 0!==i&&(r=!0,oe.isFunction(i)||(a=!0),u&&(a?(e.call(t,i),e=null):(u=e,e=function(t,e,n){return u.call(oe(t),n)})),e))for(;l>s;s++)e(t[s],n,a?i:i.call(t[s],s,e(t[s],n)));return r?t:u?e.call(t):l?e(t[0],n):o},Me=/^(?:checkbox|radio)$/i;!function(){var t=me.createDocumentFragment(),e=me.createElement("div"),n=me.createElement("input");if(e.setAttribute("className","t"),e.innerHTML=" <link/><table></table><a href='/a'>a</a>",ie.leadingWhitespace=3===e.firstChild.nodeType,ie.tbody=!e.getElementsByTagName("tbody").length,ie.htmlSerialize=!!e.getElementsByTagName("link").length,ie.html5Clone="<:nav></:nav>"!==me.createElement("nav").cloneNode(!0).outerHTML,n.type="checkbox",n.checked=!0,t.appendChild(n),ie.appendChecked=n.checked,e.innerHTML="<textarea>x</textarea>",ie.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,t.appendChild(e),e.innerHTML="<input type='radio' checked='checked' name='t'/>",ie.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,ie.noCloneEvent=!0,e.attachEvent&&(e.attachEvent("onclick",function(){ie.noCloneEvent=!1}),e.cloneNode(!0).click()),null==ie.deleteExpando){ie.deleteExpando=!0;try{delete e.test}catch(i){ie.deleteExpando=!1}}t=e=n=null}(),function(){var e,n,i=me.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})n="on"+e,(ie[e+"Bubbles"]=n in t)||(i.setAttribute(n,"t"),ie[e+"Bubbles"]=i.attributes[n].expando===!1);i=null}();var Pe=/^(?:input|select|textarea)$/i,Oe=/^key/,je=/^(?:mouse|contextmenu)|click/,Ne=/^(?:focusinfocus|focusoutblur)$/,Fe=/^([^.]*)(?:\.(.+)|)$/;oe.event={global:{},add:function(t,e,n,i,r){var o,a,s,l,u,c,d,f,p,h,m,g=oe._data(t);if(g){for(n.handler&&(l=n,n=l.handler,r=l.selector),n.guid||(n.guid=oe.guid++),(a=g.events)||(a=g.events={}),(c=g.handle)||(c=g.handle=function(t){return typeof oe===ke||t&&oe.event.triggered===t.type?void 0:oe.event.dispatch.apply(c.elem,arguments)},c.elem=t),e=(e||"").match(we)||[""],s=e.length;s--;)o=Fe.exec(e[s])||[],p=m=o[1],h=(o[2]||"").split(".").sort(),p&&(u=oe.event.special[p]||{},p=(r?u.delegateType:u.bindType)||p,u=oe.event.special[p]||{},d=oe.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&oe.expr.match.needsContext.test(r),namespace:h.join(".")},l),(f=a[p])||(f=a[p]=[],f.delegateCount=0,u.setup&&u.setup.call(t,i,h,c)!==!1||(t.addEventListener?t.addEventListener(p,c,!1):t.attachEvent&&t.attachEvent("on"+p,c))),u.add&&(u.add.call(t,d),d.handler.guid||(d.handler.guid=n.guid)),r?f.splice(f.delegateCount++,0,d):f.push(d),oe.event.global[p]=!0);t=null}},remove:function(t,e,n,i,r){var o,a,s,l,u,c,d,f,p,h,m,g=oe.hasData(t)&&oe._data(t);if(g&&(c=g.events)){for(e=(e||"").match(we)||[""],u=e.length;u--;)if(s=Fe.exec(e[u])||[],p=m=s[1],h=(s[2]||"").split(".").sort(),p){for(d=oe.event.special[p]||{},p=(i?d.delegateType:d.bindType)||p,f=c[p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=f.length;o--;)a=f[o],!r&&m!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||i&&i!==a.selector&&("**"!==i||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,d.remove&&d.remove.call(t,a));l&&!f.length&&(d.teardown&&d.teardown.call(t,h,g.handle)!==!1||oe.removeEvent(t,p,g.handle),delete c[p])}else for(p in c)oe.event.remove(t,p+e[u],n,i,!0);oe.isEmptyObject(c)&&(delete g.handle,oe._removeData(t,"events"))}},trigger:function(e,n,i,r){var o,a,s,l,u,c,d,f=[i||me],p=ee.call(e,"type")?e.type:e,h=ee.call(e,"namespace")?e.namespace.split("."):[];if(s=c=i=i||me,3!==i.nodeType&&8!==i.nodeType&&!Ne.test(p+oe.event.triggered)&&(p.indexOf(".")>=0&&(h=p.split("."),p=h.shift(),h.sort()),a=p.indexOf(":")<0&&"on"+p,e=e[oe.expando]?e:new oe.Event(p,"object"==typeof e&&e),e.isTrigger=r?2:3,e.namespace=h.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:oe.makeArray(n,[e]),u=oe.event.special[p]||{},r||!u.trigger||u.trigger.apply(i,n)!==!1)){if(!r&&!u.noBubble&&!oe.isWindow(i)){for(l=u.delegateType||p,Ne.test(l+p)||(s=s.parentNode);s;s=s.parentNode)f.push(s),c=s; 25c===(i.ownerDocument||me)&&f.push(c.defaultView||c.parentWindow||t)}for(d=0;(s=f[d++])&&!e.isPropagationStopped();)e.type=d>1?l:u.bindType||p,o=(oe._data(s,"events")||{})[e.type]&&oe._data(s,"handle"),o&&o.apply(s,n),o=a&&s[a],o&&o.apply&&oe.acceptData(s)&&(e.result=
vendor: 4,528 bytes, line 25
25o.apply(s,n),e.result===!1&&e.preventDefault());if(e.type=p,!r&&!e.isDefaultPrevented()&&(!u._default||u._default.apply(f.pop(),n)===!1)&&oe.acceptData(i)&&a&&i[p]&&!oe.isWindow(i)){c=i[a],c&&(i[a]=null),oe.event.triggered=p;try{i[p]()}catch(m){}oe.event.triggered=void 0,c&&(i[a]=c)}return e.result}},dispatch:function(t){t=oe.event.fix(t);var e,n,i,r,o,a=[],s=Z.call(arguments),l=(oe._data(this,"events")||{})[t.type]||[],u=oe.event.special[t.type]||{};if(s[0]=t,t.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,t)!==!1){for(a=oe.event.handlers.call(this,t,l),e=0;(r=a[e++])&&!t.isPropagationStopped();)for(t.currentTarget=r.elem,o=0;(i=r.handlers[o++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(i.namespace))&&(t.handleObj=i,t.data=i.data,n=((oe.event.special[i.origType]||{}).handle||i.handler).apply(r.elem,s),void 0!==n&&(t.result=n)===!1&&(t.preventDefault(),t.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,r,o,a=[],s=e.delegateCount,l=t.target;if(s&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(l.disabled!==!0||"click"!==t.type)){for(r=[],o=0;s>o;o++)i=e[o],n=i.selector+" ",void 0===r[n]&&(r[n]=i.needsContext?oe(n,this).index(l)>=0:oe.find(n,this,null,[l]).length),r[n]&&r.push(i);r.length&&a.push({elem:l,handlers:r})}return s<e.length&&a.push({elem:this,handlers:e.slice(s)}),a},fix:function(t){if(t[oe.expando])return t;var e,n,i,r=t.type,o=t,a=this.fixHooks[r];for(a||(this.fixHooks[r]=a=je.test(r)?this.mouseHooks:Oe.test(r)?this.keyHooks:{}),i=a.props?this.props.concat(a.props):this.props,t=new oe.Event(o),e=i.length;e--;)n=i[e],t[n]=o[n];return t.target||(t.target=o.srcElement||me),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,a.filter?a.filter(t,o):t},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,i,r,o=e.button,a=e.fromElement;return null==t.pageX&&null!=e.clientX&&(i=t.target.ownerDocument||me,r=i.documentElement,n=i.body,t.pageX=e.clientX+(r&&r.scrollLeft||n&&n.scrollLeft||0)-(r&&r.clientLeft||n&&n.clientLeft||0),t.pageY=e.clientY+(r&&r.scrollTop||n&&n.scrollTop||0)-(r&&r.clientTop||n&&n.clientTop||0)),!t.relatedTarget&&a&&(t.relatedTarget=a===t.target?e.toElement:a),t.which||void 0===o||(t.which=1&o?1:2&o?3:4&o?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==h()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){return this===h()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return oe.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(t){return oe.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n,i){var r=oe.extend(new oe.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?oe.event.trigger(r,null,e):oe.event.dispatch.call(e,r),r.isDefaultPrevented()&&n.preventDefault()}},oe.removeEvent=me.removeEventListener?function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)}:function(t,e,n){var i="on"+e;t.detachEvent&&(typeof t[i]===ke&&(t[i]=null),t.detachEvent(i,n))},oe.Event=function(t,e){return this instanceof oe.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&(t.returnValue===!1||t.getPreventDefault&&t.getPreventDefault())?f:p):this.type=t,e&&oe.extend(this,e),this.timeStamp=t&&t.timeStamp||oe.now(),this[oe.expando]=!0,void 0):new oe.Event(t,e)},oe.Event.prototype={isDefaultPrevented:p,isPropagationStopped:p,isImmediatePropagationStopped:p,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=f,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=f,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=f,this.stopPropagation()}}
vendor: 6,072 bytes, line 25
25,oe.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(t,e){oe.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,r=t.relatedTarget,o=t.handleObj;return(!r||r!==i&&!oe.contains(i,r))&&(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),ie.submitBubbles||(oe.event.special.submit={setup:function(){return oe.nodeName(this,"form")?!1:(oe.event.add(this,"click._submit keypress._submit",function(t){var e=t.target,n=oe.nodeName(e,"input")||oe.nodeName(e,"button")?e.form:void 0;n&&!oe._data(n,"submitBubbles")&&(oe.event.add(n,"submit._submit",function(t){t._submit_bubble=!0}),oe._data(n,"submitBubbles",!0))}),void 0)},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&oe.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){return oe.nodeName(this,"form")?!1:(oe.event.remove(this,"._submit"),void 0)}}),ie.changeBubbles||(oe.event.special.change={setup:function(){return Pe.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(oe.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),oe.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),oe.event.simulate("change",this,t,!0)})),!1):(oe.event.add(this,"beforeactivate._change",function(t){var e=t.target;Pe.test(e.nodeName)&&!oe._data(e,"changeBubbles")&&(oe.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||oe.event.simulate("change",this.parentNode,t,!0)}),oe._data(e,"changeBubbles",!0))}),void 0)},handle:function(t){var e=t.target;return this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type?t.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return oe.event.remove(this,"._change"),!Pe.test(this.nodeName)}}),ie.focusinBubbles||oe.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){oe.event.simulate(e,t.target,oe.event.fix(t),!0)};oe.event.special[e]={setup:function(){var i=this.ownerDocument||this,r=oe._data(i,e);r||i.addEventListener(t,n,!0),oe._data(i,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=oe._data(i,e)-1;r?oe._data(i,e,r):(i.removeEventListener(t,n,!0),oe._removeData(i,e))}}}),oe.fn.extend({on:function(t,e,n,i,r){var o,a;if("object"==typeof t){"string"!=typeof e&&(n=n||e,e=void 0);for(o in t)this.on(o,e,n,t[o],r);return this}if(null==n&&null==i?(i=e,n=e=void 0):null==i&&("string"==typeof e?(i=n,n=void 0):(i=n,n=e,e=void 0)),i===!1)i=p;else if(!i)return this;return 1===r&&(a=i,i=function(t){return oe().off(t),a.apply(this,arguments)},i.guid=a.guid||(a.guid=oe.guid++)),this.each(function(){oe.event.add(this,t,i,n,e)})},one:function(t,e,n,i){return this.on(t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,oe(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return(e===!1||"function"==typeof e)&&(n=e,e=void 0),n===!1&&(n=p),this.each(function(){oe.event.remove(this,t,n,e)})},trigger:function(t,e){return this.each(function(){oe.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];return n?oe.event.trigger(t,e,n,!0):void 0}});var He="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Le=/ jQuery\d+="(?:null|\d+)"/g,ze=new RegExp("<(?:"+He+")[\\s/>]","i"),Ie=/^\s+/,We=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Re=/<([\w:]+)/,Ye=/<tbody/i,qe=/<|&#?\w+;/,Be=/<(?:script|style|link)/i,Ve=/checked\s*(?:[^=]|=\s*.checked.)/i,Ue=/^$|\/(?:java|ecma)script/i,Ge=/^true\/(.*)/,Ze=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Xe={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:ie.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},Qe=m(me),Je=Qe.appendChild(me.createElement("div"));Xe.optgroup=Xe.option,Xe.tbody=Xe.tfoot=Xe.colgroup=Xe.caption=Xe.thead,Xe.th=Xe.td,oe.extend({clone:function(t,e,n){var i,r,o,a,s,l=oe.contains(t.ownerDocument,t);if(ie.html5Clone||oe.isXMLDoc(t)||!ze.test("<"+t.nodeName+">")?o=t.cloneNode(!0):(Je.innerHTML=t.outerHTML,Je.removeChild(o=Je.firstChild)),!(ie.noCloneEvent&&ie.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||oe.isXMLDoc(t)))for(i=g(o),s=g(t),a=0;null!=(r=s[a]);++a)i[a]&&C(r,i[a]);if(e)if(n)for(s=s||g(t),i=i||g(o),a=0;null!=(r=s[a]);a++)T(r,i[a]);else T(t,o);return i=g(o,"script"),i.length>0&&x(i,!l&&g(t,"script")),i=s=r=null,o},buildFragment:function(t,e,n,i){for(var r,o,a,s,l,u,c,d=t.length,f=m(e),p=[],h=0;d>h;h++)if(o=t[h],o||0===o)if("object"===oe.type(o))oe.merge(p,o.nodeType?[o]:o);else if(qe.test(o)){for(s=s||f.appendChild(e.createElement("div")),l=(Re.exec(o)||["",""])[1].toLowerCase(),c=Xe[l]||Xe._default,s.innerHTML=c[1]+o.replace(We,"<$1></$2>")+c[2],r=c[0];r--;)s=s.lastChild;if(!ie.leadingWhitespace&&Ie.test(o)&&p.push(e.createTextNode(Ie.exec(o)[0])),!ie.tbody)for(o="table"!==l||Ye.test(o)?"<table>"!==c[1]||Ye.test(o)?0:s:s.firstChild,r=o&&o.childNodes.length;r--;)oe.nodeName(u=o.childNodes[r],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(oe.merge(p,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=f.lastChild}else p.push(e.createTextNode(o));for(s&&f.removeChild(s),ie.appendChecked||oe.grep(g(p,"input"),v),h=0;o=p[h++];)if((!i||-1===oe.inArray(o,i))&&(a=oe.contains(o.ownerDocument,o),s=g(f.appendChild(o),"script"),a&&x(s),n))for(r=0;o=s[r++];)Ue.test(o.type||"")&&n.push(o);return s=null,f},cleanData:function(t,e){for(var n,i,r,o,a=0,s=oe.expando,l=oe.cache,u=ie.deleteExpando,c=oe.event.special;
vendor: 17,000 bytes, line 25
25null!=(n=t[a]);a++)if((e||oe.acceptData(n))&&(r=n[s],o=r&&l[r])){if(o.events)for(i in o.events)c[i]?oe.event.remove(n,i):oe.removeEvent(n,i,o.handle);l[r]&&(delete l[r],u?delete n[s]:typeof n.removeAttribute!==ke?n.removeAttribute(s):n[s]=null,G.push(r))}}}),oe.fn.extend({text:function(t){return Ae(this,function(t){return void 0===t?oe.text(this):this.empty().append((this[0]&&this[0].ownerDocument||me).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=y(this,t);e.appendChild(t)}})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=y(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var n,i=t?oe.filter(t,this):this,r=0;null!=(n=i[r]);r++)e||1!==n.nodeType||oe.cleanData(g(n)),n.parentNode&&(e&&oe.contains(n.ownerDocument,n)&&x(g(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&oe.cleanData(g(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&oe.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null==t?!1:t,e=null==e?t:e,this.map(function(){return oe.clone(this,t,e)})},html:function(t){return Ae(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(Le,""):void 0;if(!("string"!=typeof t||Be.test(t)||!ie.htmlSerialize&&ze.test(t)||!ie.leadingWhitespace&&Ie.test(t)||Xe[(Re.exec(t)||["",""])[1].toLowerCase()])){t=t.replace(We,"<$1></$2>");try{for(;i>n;n++)e=this[n]||{},1===e.nodeType&&(oe.cleanData(g(e,!1)),e.innerHTML=t);e=0}catch(r){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,oe.cleanData(g(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(t,e){t=X.apply([],t);var n,i,r,o,a,s,l=0,u=this.length,c=this,d=u-1,f=t[0],p=oe.isFunction(f);if(p||u>1&&"string"==typeof f&&!ie.checkClone&&Ve.test(f))return this.each(function(n){var i=c.eq(n);p&&(t[0]=f.call(this,n,i.html())),i.domManip(t,e)});if(u&&(s=oe.buildFragment(t,this[0].ownerDocument,!1,this),n=s.firstChild,1===s.childNodes.length&&(s=n),n)){for(o=oe.map(g(s,"script"),b),r=o.length;u>l;l++)i=s,l!==d&&(i=oe.clone(i,!0,!0),r&&oe.merge(o,g(i,"script"))),e.call(this[l],i,l);if(r)for(a=o[o.length-1].ownerDocument,oe.map(o,w),l=0;r>l;l++)i=o[l],Ue.test(i.type||"")&&!oe._data(i,"globalEval")&&oe.contains(a,i)&&(i.src?oe._evalUrl&&oe._evalUrl(i.src):oe.globalEval((i.text||i.textContent||i.innerHTML||"").replace(Ze,"")));s=n=null}return this}}),oe.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){oe.fn[t]=function(t){for(var n,i=0,r=[],o=oe(t),a=o.length-1;a>=i;i++)n=i===a?this:this.clone(!0),oe(o[i])[e](n),Q.apply(r,n.get());return this.pushStack(r)}});var Ke,tn={};!function(){var t,e,n=me.createElement("div"),i="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0";n.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",t=n.getElementsByTagName("a")[0],t.style.cssText="float:left;opacity:.5",ie.opacity=/^0.5/.test(t.style.opacity),ie.cssFloat=!!t.style.cssFloat,n.style.backgroundClip="content-box",n.cloneNode(!0).style.backgroundClip="",ie.clearCloneStyle="content-box"===n.style.backgroundClip,t=n=null,ie.shrinkWrapBlocks=function(){var t,n,r,o;if(null==e){if(t=me.getElementsByTagName("body")[0],!t)return;o="border:0;width:0;height:0;position:absolute;top:0;left:-9999px",n=me.createElement("div"),r=me.createElement("div"),t.appendChild(n).appendChild(r),e=!1,typeof r.style.zoom!==ke&&(r.style.cssText=i+";width:1px;padding:1px;zoom:1",r.innerHTML="<div></div>",r.firstChild.style.width="5px",e=3!==r.offsetWidth),t.removeChild(n),t=n=r=null}return e}}();var en,nn,rn=/^margin/,on=new RegExp("^("+Ee+")(?!px)[a-z%]+$","i"),an=/^(top|right|bottom|left)$/;t.getComputedStyle?(en=function(t){return t.ownerDocument.defaultView.getComputedStyle(t,null)},nn=function(t,e,n){var i,r,o,a,s=t.style;return n=n||en(t),a=n?n.getPropertyValue(e)||n[e]:void 0,n&&(""!==a||oe.contains(t.ownerDocument,t)||(a=oe.style(t,e)),on.test(a)&&rn.test(e)&&(i=s.width,r=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=r,s.maxWidth=o)),void 0===a?a:a+""}):me.documentElement.currentStyle&&(en=function(t){return t.currentStyle},nn=function(t,e,n){var i,r,o,a,s=t.style;return n=n||en(t),a=n?n[e]:void 0,null==a&&s&&s[e]&&(a=s[e]),on.test(a)&&!an.test(e)&&(i=s.left,r=t.runtimeStyle,o=r&&r.left,o&&(r.left=t.currentStyle.left),s.left="fontSize"===e?"1em":a,a=s.pixelLeft+"px",s.left=i,o&&(r.left=o)),void 0===a?a:a+""||"auto"}),function(){function e(){var e,n,i=me.getElementsByTagName("body")[0];i&&(e=me.createElement("div"),n=me.createElement("div"),e.style.cssText=u,i.appendChild(e).appendChild(n),n.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;display:block;padding:1px;border:1px;width:4px;margin-top:1%;top:1%",oe.swap(i,null!=i.style.zoom?{zoom:1}:{},function(){r=4===n.offsetWidth}),o=!0,a=!1,s=!0,t.getComputedStyle&&(a="1%"!==(t.getComputedStyle(n,null)||{}).top,o="4px"===(t.getComputedStyle(n,null)||{width:"4px"}).width),i.removeChild(e),n=i=null)}var n,i,r,o,a,s,l=me.createElement("div"),u="border:0;width:0;height:0;position:absolute;top:0;left:-9999px",c="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0";l.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=l.getElementsByTagName("a")[0],n.style.cssText="float:left;opacity:.5",ie.opacity=/^0.5/.test(n.style.opacity),ie.cssFloat=!!n.style.cssFloat,l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",ie.clearCloneStyle="content-box"===l.style.backgroundClip,n=l=null,oe.extend(ie,{reliableHiddenOffsets:function(){if(null!=i)return i;var t,e,n,r=me.createElement("div"),o=me.getElementsByTagName("body")[0];if(o)return r.setAttribute("className","t"),r.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",t=me.createElement("div"),t.style.cssText=u,o.appendChild(t).appendChild(r),r.innerHTML="<table><tr><td></td><td>t</td></tr></table>",e=r.getElementsByTagName("td"),e[0].style.cssText="padding:0;margin:0;border:0;display:none",n=0===e[0].offsetHeight,e[0].style.display="",e[1].style.display="none",i=n&&0===e[0].offsetHeight,o.removeChild(t),r=o=null,i},boxSizing:function(){return null==r&&e(),r},boxSizingReliable:function(){return null==o&&e(),o},pixelPosition:function(){return null==a&&e(),a},reliableMarginRight:function(){var e,n,i,r;if(null==s&&t.getComputedStyle){if(e=me.getElementsByTagName("body")[0],!e)return;n=me.createElement("div"),i=me.createElement("div"),n.style.cssText=u,e.appendChild(n).appendChild(i),r=i.appendChild(me.createElement("div")),r.style.cssText=i.style.cssText=c,r.style.marginRight=r.style.width="0",i.style.width="1px",s=!parseFloat((t.getComputedStyle(r,null)||{}).marginRight),e.removeChild(n)}return s}})}(),oe.swap=function(t,e,n,i){var r,o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];r=n.apply(t,i||[]);for(o in e)t.style[o]=a[o];return r};var sn=/alpha\([^)]*\)/i,ln=/opacity\s*=\s*([^)]*)/,un=/^(none|table(?!-c[ea]).+)/,cn=new RegExp("^("+Ee+")(.*)$","i"),dn=new RegExp("^([+-])=("+Ee+")","i"),fn={position:"absolute",visibility:"hidden",display:"block"},pn={letterSpacing:0,fontWeight:400},hn=["Webkit","O","Moz","ms"];oe.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=nn(t,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":ie.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,a,s=oe.camelCase(e),l=t.style;if(e=oe.cssProps[s]||(oe.cssProps[s]=E(l,s)),a=oe.cssHooks[e]||oe.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(r=a.get(t,!1,i))?r:l[e];if(o=typeof n,"string"===o&&(r=dn.exec(n))&&(n=(r[1]+1)*r[2]+parseFloat(oe.css(t,e)),o="number"),null!=n&&n===n&&("number"!==o||oe.cssNumber[s]||(n+="px"),ie.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(t,n,i)))))try{l[e]="",l[e]=n}catch(u){}}},css:function(t,e,n,i){var r,o,a,s=oe.camelCase(e);return e=oe.cssProps[s]||(oe.cssProps[s]=E(t.style,s)),a=oe.cssHooks[e]||oe.cssHooks[s],a&&"get"in a&&(o=a.get(t,!0,n)),void 0===o&&(o=nn(t,e,i)),"normal"===o&&e in pn&&(o=pn[e]),""===n||n?(r=parseFloat(o),n===!0||oe.isNumeric(r)?r||0:o):o}}),oe.each(["height","width"],function(t,e){oe.cssHooks[e]={get:function(t,n,i){return n?0===t.offsetWidth&&un.test(oe.css(t,"display"))?oe.swap(t,fn,function(){return M(t,e,i)}):M(t,e,i):void 0},set:function(t,n,i){var r=i&&en(t);return D(t,n,i?A(t,e,i,ie.boxSizing()&&"border-box"===oe.css(t,"boxSizing",!1,r),r):0)}}}),ie.opacity||(oe.cssHooks.opacity={get:function(t,e){return ln.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var n=t.style,i=t.currentStyle,r=oe.isNumeric(e)?"alpha(opacity="+100*e+")":"",o=i&&i.filter||n.filter||"";n.zoom=1,(e>=1||""===e)&&""===oe.trim(o.replace(sn,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===e||i&&!i.filter)||(n.filter=sn.test(o)?o.replace(sn,r):o+" "+r)}}),oe.cssHooks.marginRight=_(ie.reliableMarginRight,function(t,e){return e?oe.swap(t,{display:"inline-block"},nn,[t,"marginRight"]):void 0}),oe.each({margin:"",padding:"",border:"Width"},function(t,e){oe.cssHooks[t+e]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];4>i;i++)r[t+$e[i]+e]=o[i]||o[i-2]||o[0];return r}},rn.test(t)||(oe.cssHooks[t+e].set=D)}),oe.fn.extend({css:function(t,e){return Ae(this,function(t,e,n){var i,r,o={},a=0;if(oe.isArray(e)){for(i=en(t),r=e.length;r>a;a++)o[e[a]]=oe.css(t,e[a],!1,i);return o}return void 0!==n?oe.style(t,e,n):oe.css(t,e)},t,e,arguments.length>1)},show:function(){return $(this,!0)},hide:function(){return $(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){De(this)?oe(this).show():oe(this).hide()})}}),oe.Tween=P,P.prototype={constructor:P,init:function(t,e,n,i,r,o){this.elem=t,this.prop=n,this.easing=r||"swing",this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(oe.cssNumber[n]?"":"px")},cur:function(){var t=P.propHooks[this.prop];return t&&t.get?t.get(this):P.propHooks._default.get(this)},run:function(t){var e,n=P.propHooks[this.prop];return this.pos=e=this.options.duration?oe.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):P.propHooks._default.set(this),this}},P.prototype.init.prototype=P.prototype,P.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=oe.css(t.elem,t.prop,""),e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){oe.fx.step[t.prop]?oe.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[oe.cssProps[t.prop]]||oe.cssHooks[t.prop])?oe.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},P.propHooks.scrollTop=P.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},oe.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},oe.fx=P.prototype.init,oe.fx.step={};var mn,gn,vn=/^(?:toggle|show|hide)$/,yn=new RegExp("^(?:([+-])=|)("+Ee+")([a-z%]*)$","i"),bn=/queueHooks$/,wn=[F],xn={"*":[function(t,e){var n=this.createTween(t,e),i=n.cur(),r=yn.exec(e),o=r&&r[3]||(oe.cssNumber[t]?"":"px"),a=(oe.cssNumber[t]||"px"!==o&&+i)&&yn.exec(oe.css(n.elem,t)),s=1,l=20;if(a&&a[3]!==o){o=o||a[3],r=r||[],a=+i||1;do s=s||".5",a/=s,oe.style(n.elem,t,a+o);while(s!==(s=n.cur()/i)&&1!==s&&--l)}return r&&(a=n.start=+a||+i||0,n.unit=o,n.end=r[1]?a+(r[1]+1)*r[2]:+r[2]),n}]};oe.Animation=oe.extend(L,{tweener:function(t,e){oe.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var n,i=0,r=t.length;r>i;i++)n=t[i],xn[n]=xn[n]||[],xn[n].unshift(e)},prefilter:function(t,e){e?wn.unshift(t):wn.push(t)}}),oe.speed=function(t,e,n){var i=t&&"object"==typeof t?oe.extend({},t):{complete:n||!n&&e||oe.isFunction(t)&&t,duration:t,easing:n&&e||e&&!oe.isFunction(e)&&e};return i.duration=oe.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in oe.fx.speeds?oe.fx.speeds[i.duration]:oe.fx.speeds._default,(null==i.queue||i.queue===!0)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){oe.isFunction(i.old)&&i.old.call(this),i.queue&&oe.dequeue(this,i.queue)},i},oe.fn.extend({fadeTo:function(t,e,n,i){return this.filter(De).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=oe.isEmptyObject(t),o=oe.speed(e,n,i),a=function(){var e=L(this,oe.extend({},t),o);(r||oe._data(this,"finish"))&&e.stop(!0)};return a.finish=a,r||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,r=null!=t&&t+"queueHooks",o=oe.timers,a=oe._data(this);if(r)a[r]&&a[r].stop&&i(a[r]);else for(r in a)a[r]&&a[r].stop&&bn.test(r)&&i(a[r]);for(r=o.length;r--;)o[r].elem!==this||null!=t&&o[r].queue!==t||(o[r].anim.stop(n),e=!1,o.splice(r,1));(e||!n)&&oe.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,n=oe._data(this),i=n[t+"queue"],r=n[t+"queueHooks"],o=oe.timers,a=i?i.length:0;for(n.finish=!0,oe.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;a>e;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),oe.each(["toggle","show","hide"],function(t,e){var n=oe.fn[e];oe.fn[e]=function(t,i,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(j(e,!0),t,i,r)}}),oe.each({slideDown:j("show"),slideUp:j("hide"),slideToggle:j("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){oe.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),oe.timers=[],oe.fx.tick=function(){var t,e=oe.timers,n=0;for(mn=oe.now();n<e.length;n++)t=e[n],t()||e[n]!==t||e.splice(n--,1);e.length||oe.fx.stop(),mn=void 0},oe.fx.timer=function(t){oe.timers.push(t),t()?oe.fx.start():oe.timers.pop()},oe.fx.interval=13,oe.fx.start=function(){gn||(gn=setInterval(oe.fx.tick,oe.fx.interval))},oe.fx.stop=function(){clearInterval(gn),gn=null},oe.fx.speeds={slow:600,fast:200,_default:400},oe.fn.delay=function(t,e){return t=oe.fx?oe.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,n){var i=setTimeout(e,t);n.stop=function(){clearTimeout(i)}})},function(){var t,e,n,i,r=me.createElement("div");r.setAttribute("className","t"),r.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",t=r.getElementsByTagName("a")[0],n=me.createElement("select"),i=n.appendChild(me.createElement("option")),e=r.getElementsByTagName("input")[0],t.style.cssText="top:1px",ie.getSetAttribute="t"!==r.className,ie.style=/top/.test(t.getAttribute("style")),ie.hrefNormalized="/a"===t.getAttribute("href"),ie.checkOn=!!e.value,ie.optSelected=i.selected,ie.enctype=!!me.createElement("form").enctype,n.disabled=!0,ie.optDisabled=!i.disabled,e=me.createElement("input"),e.setAttribute("value",""),ie.input=""===e.getAttribute("value"),e.value="t",e.setAttribute("type","radio"),ie.radioValue="t"===e.value,t=e=n=i=r=null}();var Tn=/\r/g;oe.fn.extend({val:function(t){var e,n,i,r=this[0];{if(arguments.length)return i=oe.isFunction(t),this.each(function(n){var r;1===this.nodeType&&(r=i?t.call(this,n,oe(this).val()):t,null==r?r="":"number"==typeof r?r+="":oe.isArray(r)&&(r=oe.map(r,function(t){return null==t?"":t+""})),e=oe.valHooks[this.type]||oe.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))});if(r)return e=oe.valHooks[r.type]||oe.valHooks[r.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:(n=r.value,"string"==typeof n?n.replace(Tn,""):null==n?"":n)}}}),oe.extend({valHooks:{option:{get:function(t){var e=oe.find.attr(t,"value");return null!=e?e:oe.text(t)}}
vendor: 8,404 bytes, lines 25-26
25,select:{get:function(t){for(var e,n,i=t.options,r=t.selectedIndex,o="select-one"===t.type||0>r,a=o?null:[],s=o?r+1:i.length,l=0>r?s:o?r:0;s>l;l++)if(n=i[l],!(!n.selected&&l!==r||(ie.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&oe.nodeName(n.parentNode,"optgroup"))){if(e=oe(n).val(),o)return e;a.push(e)}return a},set:function(t,e){for(var n,i,r=t.options,o=oe.makeArray(e),a=r.length;a--;)if(i=r[a],oe.inArray(oe.valHooks.option.get(i),o)>=0)try{i.selected=n=!0}catch(s){i.scrollHeight}else i.selected=!1;return n||(t.selectedIndex=-1),r}}}}),oe.each(["radio","checkbox"],function(){oe.valHooks[this]={set:function(t,e){return oe.isArray(e)?t.checked=oe.inArray(oe(t).val(),e)>=0:void 0}},ie.checkOn||(oe.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var Cn,kn,Sn=oe.expr.attrHandle,_n=/^(?:checked|selected)$/i,En=ie.getSetAttribute,$n=ie.input;oe.fn.extend({attr:function(t,e){return Ae(this,oe.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){oe.removeAttr(this,t)})}}),oe.extend({attr:function(t,e,n){var i,r,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return typeof t.getAttribute===ke?oe.prop(t,e,n):(1===o&&oe.isXMLDoc(t)||(e=e.toLowerCase(),i=oe.attrHooks[e]||(oe.expr.match.bool.test(e)?kn:Cn)),void 0===n?i&&"get"in i&&null!==(r=i.get(t,e))?r:(r=oe.find.attr(t,e),null==r?void 0:r):null!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):(oe.removeAttr(t,e),void 0))},removeAttr:function(t,e){var n,i,r=0,o=e&&e.match(we);if(o&&1===t.nodeType)for(;n=o[r++];)i=oe.propFix[n]||n,oe.expr.match.bool.test(n)?$n&&En||!_n.test(n)?t[i]=!1:t[oe.camelCase("default-"+n)]=t[i]=!1:oe.attr(t,n,""),t.removeAttribute(En?n:i)},attrHooks:{type:{set:function(t,e){if(!ie.radioValue&&"radio"===e&&oe.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}}}),kn={set:function(t,e,n){return e===!1?oe.removeAttr(t,n):$n&&En||!_n.test(n)?t.setAttribute(!En&&oe.propFix[n]||n,n):t[oe.camelCase("default-"+n)]=t[n]=!0,n}},oe.each(oe.expr.match.bool.source.match(/\w+/g),function(t,e){var n=Sn[e]||oe.find.attr;Sn[e]=$n&&En||!_n.test(e)?function(t,e,i){var r,o;return i||(o=Sn[e],Sn[e]=r,r=null!=n(t,e,i)?e.toLowerCase():null,Sn[e]=o),r}:function(t,e,n){return n?void 0:t[oe.camelCase("default-"+e)]?e.toLowerCase():null}}),$n&&En||(oe.attrHooks.value={set:function(t,e,n){return oe.nodeName(t,"input")?(t.defaultValue=e,void 0):Cn&&Cn.set(t,e,n)}}),En||(Cn={set:function(t,e,n){var i=t.getAttributeNode(n);return i||t.setAttributeNode(i=t.ownerDocument.createAttribute(n)),i.value=e+="","value"===n||e===t.getAttribute(n)?e:void 0}},Sn.id=Sn.name=Sn.coords=function(t,e,n){var i;return n?void 0:(i=t.getAttributeNode(e))&&""!==i.value?i.value:null},oe.valHooks.button={get:function(t,e){var n=t.getAttributeNode(e);return n&&n.specified?n.value:void 0},set:Cn.set},oe.attrHooks.contenteditable={set:function(t,e,n){Cn.set(t,""===e?!1:e,n)}},oe.each(["width","height"],function(t,e){oe.attrHooks[e]={set:function(t,n){return""===n?(t.setAttribute(e,"auto"),n):void 0}}})),ie.style||(oe.attrHooks.style={get:function(t){return t.style.cssText||void 0},set:function(t,e){return t.style.cssText=e+""}});var Dn=/^(?:input|select|textarea|button|object)$/i,An=/^(?:a|area)$/i;oe.fn.extend({prop:function(t,e){return Ae(this,oe.prop,t,e,arguments.length>1)},removeProp:function(t){return t=oe.propFix[t]||t,this.each(function(){try{this[t]=void 0,delete this[t]}catch(e){}})}}),oe.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(t,e,n){var i,r,o,a=t.nodeType;if(t&&3!==a&&8!==a&&2!==a)return o=1!==a||!oe.isXMLDoc(t),o&&(e=oe.propFix[e]||e,r=oe.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=oe.find.attr(t,"tabindex");return e?parseInt(e,10):Dn.test(t.nodeName)||An.test(t.nodeName)&&t.href?0:-1}}}}),ie.hrefNormalized||oe.each(["href","src"],function(t,e){oe.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),ie.optSelected||(oe.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}}),oe.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){oe.propFix[this.toLowerCase()]=this}),ie.enctype||(oe.propFix.enctype="encoding");var Mn=/[\t\r\n\f]/g;oe.fn.extend({addClass:function(t){var e,n,i,r,o,a,s=0,l=this.length,u="string"==typeof t&&t;if(oe.isFunction(t))return this.each(function(e){oe(this).addClass(t.call(this,e,this.className))});if(u)for(e=(t||"").match(we)||[];l>s;s++)if(n=this[s],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(Mn," "):" ")){for(o=0;r=e[o++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");a=oe.trim(i),n.className!==a&&(n.className=a) 26}return this},removeClass:function(t){var e,n,i,r,o,a,s=0,l=this.length,u=0===arguments.length||"string"==typeof t&&t;if(oe.isFunction(t))return this.each(function(e){oe(this).removeClass(t.call(this,e,this.className))});if(u)for(e=(t||"").match(we)||[];l>s;s++)if(n=this[s],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(Mn," "):"")){for(o=0;r=e[o++];)for(;i.indexOf(" "+r+" ")>=0;)i=i.replace(" "+r+" "," ");a=t?oe.trim(i):"",n.className!==a&&(n.className=a)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):oe.isFunction(t)?this.each(function(n){oe(this).toggleClass(t.call(this,n,this.className,e),e)}):this.each(function(){if("string"===n)for(var e,i=0,r=oe(this),o=t.match(we)||[];e=o[i++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else(n===ke||"boolean"===n)&&(this.className&&oe._data(this,"__className__",this.className),this.className=this.className||t===!1?"":oe._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,i=this.length;i>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(Mn," ").indexOf(e)>=0)return!0;return!1}}),oe.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){oe.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),oe.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}});var Pn=oe.now(),On=/\?/,jn=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;oe.parseJSON=function(e){if(t.JSON&&t.JSON.parse)return t.JSON.parse(e+"");var n,i=null,r=oe.trim(e+"");return r&&!oe.trim(r.replace(jn,function(t,e,r,o){return n&&e&&(i=0),0===i?t:(n=r||e,i+=!o-!r,"")}))?Function("return "+r)():oe.error("Invalid JSON: "+e)},oe.parseXML=function(e){var n,i;if(!e||"string"!=typeof e)return null;try{t.DOMParser?(i=new DOMParser,n=i.parseFromString(e,"text/xml")):(n=new ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(e))}catch(r){n=void 0}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||oe.error("Invalid XML: "+e),n};var Nn,Fn,Hn=/#.*$/,Ln=/([?&])_=[^&]*/,zn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,In=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Wn=/^(?:GET|HEAD)$/,Rn=/^\/\//,Yn=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,qn={},Bn={},Vn="*/".concat("*");try{Fn=location.href}catch(Un){Fn=me.createElement("a"),Fn.href="",Fn=Fn.href}Nn=Yn.exec(Fn.toLowerCase())||[],oe.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Fn,type:"GET",isLocal:In.test(Nn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Vn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":oe.parseJSON,"text xml":oe.parseXML}
vendor: 10,324 bytes, line 26
26,flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?W(W(t,oe.ajaxSettings),e):W(oe.ajaxSettings,t)},ajaxPrefilter:z(qn),ajaxTransport:z(Bn),ajax:function(t,e){function n(t,e,n,i){var r,c,v,y,w,T=e;2!==b&&(b=2,s&&clearTimeout(s),u=void 0,a=i||"",x.readyState=t>0?4:0,r=t>=200&&300>t||304===t,n&&(y=R(d,x,n)),y=Y(d,y,x,r),r?(d.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(oe.lastModified[o]=w),w=x.getResponseHeader("etag"),w&&(oe.etag[o]=w)),204===t||"HEAD"===d.type?T="nocontent":304===t?T="notmodified":(T=y.state,c=y.data,v=y.error,r=!v)):(v=T,(t||!T)&&(T="error",0>t&&(t=0))),x.status=t,x.statusText=(e||T)+"",r?h.resolveWith(f,[c,T,x]):h.rejectWith(f,[x,T,v]),x.statusCode(g),g=void 0,l&&p.trigger(r?"ajaxSuccess":"ajaxError",[x,d,r?c:v]),m.fireWith(f,[x,T]),l&&(p.trigger("ajaxComplete",[x,d]),--oe.active||oe.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,r,o,a,s,l,u,c,d=oe.ajaxSetup({},e),f=d.context||d,p=d.context&&(f.nodeType||f.jquery)?oe(f):oe.event,h=oe.Deferred(),m=oe.Callbacks("once memory"),g=d.statusCode||{},v={},y={},b=0,w="canceled",x={readyState:0,getResponseHeader:function(t){var e;if(2===b){if(!c)for(c={};e=zn.exec(a);)c[e[1].toLowerCase()]=e[2];e=c[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return b||(t=y[n]=y[n]||t,v[t]=e),this},overrideMimeType:function(t){return b||(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(2>b)for(e in t)g[e]=[g[e],t[e]];else x.always(t[x.status]);return this},abort:function(t){var e=t||w;return u&&u.abort(e),n(0,e),this}};if(h.promise(x).complete=m.add,x.success=x.done,x.error=x.fail,d.url=((t||d.url||Fn)+"").replace(Hn,"").replace(Rn,Nn[1]+"//"),d.type=e.method||e.type||d.method||d.type,d.dataTypes=oe.trim(d.dataType||"*").toLowerCase().match(we)||[""],null==d.crossDomain&&(i=Yn.exec(d.url.toLowerCase()),d.crossDomain=!(!i||i[1]===Nn[1]&&i[2]===Nn[2]&&(i[3]||("http:"===i[1]?"80":"443"))===(Nn[3]||("http:"===Nn[1]?"80":"443")))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=oe.param(d.data,d.traditional)),I(qn,d,e,x),2===b)return x;l=d.global,l&&0===oe.active++&&oe.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Wn.test(d.type),o=d.url,d.hasContent||(d.data&&(o=d.url+=(On.test(o)?"&":"?")+d.data,delete d.data),d.cache===!1&&(d.url=Ln.test(o)?o.replace(Ln,"$1_="+Pn++):o+(On.test(o)?"&":"?")+"_="+Pn++)),d.ifModified&&(oe.lastModified[o]&&x.setRequestHeader("If-Modified-Since",oe.lastModified[o]),oe.etag[o]&&x.setRequestHeader("If-None-Match",oe.etag[o])),(d.data&&d.hasContent&&d.contentType!==!1||e.contentType)&&x.setRequestHeader("Content-Type",d.contentType),x.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Vn+"; q=0.01":""):d.accepts["*"]);for(r in d.headers)x.setRequestHeader(r,d.headers[r]);if(d.beforeSend&&(d.beforeSend.call(f,x,d)===!1||2===b))return x.abort();w="abort";for(r in{success:1,error:1,complete:1})x[r](d[r]);if(u=I(Bn,d,e,x)){x.readyState=1,l&&p.trigger("ajaxSend",[x,d]),d.async&&d.timeout>0&&(s=setTimeout(function(){x.abort("timeout")},d.timeout));try{b=1,u.send(v,n)}catch(T){if(!(2>b))throw T;n(-1,T)}}else n(-1,"No Transport");return x},getJSON:function(t,e,n){return oe.get(t,e,n,"json")},getScript:function(t,e){return oe.get(t,void 0,e,"script")}}),oe.each(["get","post"],function(t,e){oe[e]=function(t,n,i,r){return oe.isFunction(n)&&(r=r||i,i=n,n=void 0),oe.ajax({url:t,type:e,dataType:r,data:n,success:i})}}),oe.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){oe.fn[e]=function(t){return this.on(e,t)}}),oe._evalUrl=function(t){return oe.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},oe.fn.extend({wrapAll:function(t){if(oe.isFunction(t))return this.each(function(e){oe(this).wrapAll(t.call(this,e))});if(this[0]){var e=oe(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(t){return oe.isFunction(t)?this.each(function(e){oe(this).wrapInner(t.call(this,e))}):this.each(function(){var e=oe(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=oe.isFunction(t);return this.each(function(n){oe(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){oe.nodeName(this,"body")||oe(this).replaceWith(this.childNodes)}).end()}}),oe.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!ie.reliableHiddenOffsets()&&"none"===(t.style&&t.style.display||oe.css(t,"display"))},oe.expr.filters.visible=function(t){return!oe.expr.filters.hidden(t)};var Gn=/%20/g,Zn=/\[\]$/,Xn=/\r?\n/g,Qn=/^(?:submit|button|image|reset|file)$/i,Jn=/^(?:input|select|textarea|keygen)/i;oe.param=function(t,e){var n,i=[],r=function(t,e){e=oe.isFunction(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=oe.ajaxSettings&&oe.ajaxSettings.traditional),oe.isArray(t)||t.jquery&&!oe.isPlainObject(t))oe.each(t,function(){r(this.name,this.value)});else for(n in t)q(n,t[n],e,r);return i.join("&").replace(Gn,"+")},oe.fn.extend({serialize:function(){return oe.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=oe.prop(this,"elements");return t?oe.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!oe(this).is(":disabled")&&Jn.test(this.nodeName)&&!Qn.test(t)&&(this.checked||!Me.test(t))}).map(function(t,e){var n=oe(this).val();return null==n?null:oe.isArray(n)?oe.map(n,function(t){return{name:e.name,value:t.replace(Xn,"\r\n")}}):{name:e.name,value:n.replace(Xn,"\r\n")}}).get()}}),oe.ajaxSettings.xhr=void 0!==t.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&B()||V()}:B;var Kn=0,ti={},ei=oe.ajaxSettings.xhr();t.ActiveXObject&&oe(t).on("unload",function(){for(var t in ti)ti[t](void 0,!0)}),ie.cors=!!ei&&"withCredentials"in ei,ei=ie.ajax=!!ei,ei&&oe.ajaxTransport(function(t){if(!t.crossDomain||ie.cors){var e;return{send:function(n,i){var r,o=t.xhr(),a=++Kn;if(o.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(r in t.xhrFields)o[r]=t.xhrFields[r];t.mimeType&&o.overrideMimeType&&o.overrideMimeType(t.mimeType),t.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(r in n)void 0!==n[r]&&o.setRequestHeader(r,n[r]+"");o.send(t.hasContent&&t.data||null),e=function(n,r){var s,l,u;if(e&&(r||4===o.readyState))if(delete ti[a],e=void 0,o.onreadystatechange=oe.noop,r)4!==o.readyState&&o.abort();else{u={},s=o.status,"string"==typeof o.responseText&&(u.text=o.responseText);try{l=o.statusText}catch(c){l=""}s||!t.isLocal||t.crossDomain?1223===s&&(s=204):s=u.text?200:404}u&&i(s,l,u,o.getAllResponseHeaders())},t.async?4===o.readyState?setTimeout(e):o.onreadystatechange=ti[a]=e:e()},abort:function(){e&&e(void 0,!0)}}}}),oe.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return oe.globalEval(t),t}}}),oe.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),oe.ajaxTransport("script",function(t){if(t.crossDomain){var e,n=me.head||oe("head")[0]||me.documentElement;return{send:function(i,r){e=me.createElement("script"),e.async=!0,t.scriptCharset&&(e.charset=t.scriptCharset),e.src=t.url,e.onload=e.onreadystatechange=function(t,n){(n||!e.readyState||/loaded|complete/.test(e.readyState))&&(e.onload=e.onreadystatechange=null,e.parentNode&&e.parentNode.removeChild(e),e=null,n||r(200,"success"))},n.insertBefore(e,n.firstChild)},abort:function(){e&&e.onload(void 0,!0)}}}});var ni=[],ii=/(=)\?(?=&|$)|\?\?/;oe.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=ni.pop()||oe.expando+"_"+Pn++;return this[t]=!0,t}}),oe.ajaxPrefilter("json jsonp",function(e,n,i){var r,o,a,s=e.jsonp!==!1&&(ii.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&ii.test(e.data)&&"data");return s||"jsonp"===e.dataTypes[0]?(r=e.jsonpCallback=oe.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(ii,"$1"+r):e.jsonp!==!1&&(e.url+=(On.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return a||oe.error(r+" was not called"),a[0]},e.dataTypes[0]="json",o=t[r],t[r]=function(){a=arguments},i.always(function(){t[r]=o,e[r]&&(e.jsonpCallback=n.jsonpCallback,ni.push(r)),a&&oe.isFunction(o)&&o(a[0]),a=o=void 0}),"script"):void 0}),oe.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||me;var i=fe.exec(t),r=!n&&[];return i?[e.createElement(i[1])]:(i=oe.buildFragment([t],e,r),r&&r.length&&oe(r).remove(),oe.merge([],i.childNodes))};var ri=oe.fn.load;oe.fn.load=function(t,e,n){if("string"!=typeof t&&ri)return ri.apply(this,arguments);var i,r,o,a=this,s=t.indexOf(" ");return s>=0&&(i=t.slice(s,t.length),t=t.slice(0,s)),oe.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(o="POST"),a.length>0&&oe.ajax({url:t,type:o,dataType:"html",data:e}).done(function(t){r=arguments,a.html(i?oe("<div>").append(oe.parseHTML(t)).find(i):t)}).complete(n&&function(t,e){a.each(n,r||[t.responseText,e,t])}),this},oe.expr.filters.animated=function(t){return oe.grep(oe.timers,function(e){return t===e.elem}).length};var oi=t.document.documentElement;oe.offset={setOffset:function(t,e,n){var i,r,o,a,s,l,u,c=oe.css(t,"position"),d=oe(t),f={};"static"===c&&(t.style.position="relative"),s=d.offset(),o=oe.css(t,"top"),l=oe.css(t,"left"),u=("absolute"===c||"fixed"===c)&&oe.inArray("auto",[o,l])>-1,u?(i=d.position(),a=i.top,r=i.left):(a=parseFloat(o)||0,r=parseFloat(l)||0),oe.isFunction(e)&&(e=e.call(t,n,s)),null!=e.top&&(f.top=e.top-s.top+a),null!=e.left&&(f.left=e.left-s.left+r),"using"in e?e.using.call(t,f):d.css(f)}},oe.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){oe.offset.setOffset(this,t,e)});var e,n,i={top:0,left:0}
26,r=this[0],o=r&&r.ownerDocument;if(o)return e=o.documentElement,oe.contains(e,r)?(typeof r.getBoundingClientRect!==ke&&(i=r.getBoundingClientRect()),n=U(o),{top:i.top+(n.pageYOffset||e.scrollTop)-(e.clientTop||0),left:i.left+(n.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):i},position:function(){if(this[0]){var t,e,n={top:0,left:0},i=this[0];return"fixed"===oe.css(i,"position")?e=i.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),oe.nodeName(t[0],"html")||(n=t.offset()),n.top+=oe.css(t[0],"borderTopWidth",!0),n.left+=oe.css(t[0],"borderLeftWidth",!0)),{top:e.top-n.top-oe.css(i,"marginTop",!0),left:e.left-n.left-oe.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||oi;t&&!oe.nodeName(t,"html")&&"static"===oe.css(t,"position");)t=t.offsetParent;return t||oi})}}),oe.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n=/Y/.test(e);oe.fn[t]=function(i){return Ae(this,function(t,i,r){var o=U(t);return void 0===r?o?e in o?o[e]:o.document.documentElement[i]:t[i]:(o?o.scrollTo(n?oe(o).scrollLeft():r,n?r:oe(o).scrollTop()):t[i]=r,void 0)},t,i,arguments.length,null)}}),oe.each(["top","left"],function(t,e){oe.cssHooks[e]=_(ie.pixelPosition,function(t,n){return n?(n=nn(t,e),on.test(n)?oe(t).position()[e]+"px":n):void 0})}),oe.each({Height:"height",Width:"width"},function(t,e){oe.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){oe.fn[i]=function(i,r){var o=arguments.length&&(n||"boolean"!=typeof i),a=n||(i===!0||r===!0?"margin":"border");return Ae(this,function(e,n,i){var r;return oe.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===i?oe.css(e,n,a):oe.style(e,n,i,a)},e,o?i:void 0,o,null)}})}),oe.fn.size=function(){return this.length},oe.fn.andSelf=oe.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return oe});var ai=t.jQuery,si=t.$;return oe.noConflict=function(e){return t.$===oe&&(t.$=si),e&&t.jQuery===oe&&(t.jQuery=ai),oe},typeof e===ke&&(t.jQuery=t.$=oe),oe}),function(t,e){t.rails!==e&&t.error("jquery-ujs has already been loaded!");var n,i=t(document);t.rails=n={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote], a[data-disable-with]",buttonClickSelector:"button[data-remote]",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type])",disableSelector:"input[data-disable-with], button[data-disable-with], textarea[data-disable-with]",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled",requiredInputSelector:"input[name][required]:not([disabled]),textarea[name][required]:not([disabled])",fileInputSelector:"input[type=file]",linkDisableSelector:"a[data-disable-with]",CSRFProtection:function(e){var n=t('meta[name="csrf-token"]').attr("content");n&&e.setRequestHeader("X-CSRF-Token",n)},refreshCSRFTokens:function(){var e=t("meta[name=csrf-token]").attr("content"),n=t("meta[name=csrf-param]").attr("content");t('form input[name="'+n+'"]').val(e)},fire:function(e,n,i){var r=t.Event(n);return e.trigger(r,i),r.result!==!1},confirm:function(t){return confirm(t)},ajax:function(e){return t.ajax(e)},href:function(t){return t.attr("href")},handleRemote:function(i){var r,o,a,s,l,u,c,d;if(n.fire(i,"ajax:before")){if(s=i.data("cross-domain"),l=s===e?null:s,u=i.data("with-credentials")||null,c=i.data("type")||t.ajaxSettings&&t.ajaxSettings.dataType,i.is("form")){r=i.attr("method"),o=i.attr("action"),a=i.serializeArray();var f=i.data("ujs:submit-button");f&&(a.push(f),i.data("ujs:submit-button",null))}else i.is(n.inputChangeSelector)?(r=i.data("method"),o=i.data("url"),a=i.serialize(),i.data("params")&&(a=a+"&"+i.data("params"))):i.is(n.buttonClickSelector)?(r=i.data("method")||"get",o=i.data("url"),a=i.serialize(),i.data("params")&&(a=a+"&"+i.data("params"))):(r=i.data("method"),o=n.href(i),a=i.data("params")||null);d={type:r||"GET",data:a,dataType:c,beforeSend:function(t,r){return r.dataType===e&&t.setRequestHeader("accept","*/*;q=0.5, "+r.accepts.script),n.fire(i,"ajax:beforeSend",[t,r])},success:function(t,e,n){i.trigger("ajax:success",[t,e,n])},complete:function(t,e){i.trigger("ajax:complete",[t,e])},error:function(t,e,n){i.trigger("ajax:error",[t,e,n])},crossDomain:l},u&&(d.xhrFields={withCredentials:u}
26),o&&(d.url=o);var p=n.ajax(d);return i.trigger("ajax:send",p),p}return!1},handleMethod:function(i){var r=n.href(i),o=i.data("method"),a=i.attr("target"),s=t("meta[name=csrf-token]").attr("content"),l=t("meta[name=csrf-param]").attr("content"),u=t('<form method="post" action="'+r+'"></form>'),c='<input name="_method" value="'+o+'" type="hidden" />';l!==e&&s!==e&&(c+='<input name="'+l+'" value="'+s+'" type="hidden" />'),a&&u.attr("target",a),u.hide().append(c).appendTo("body"),u.submit()},disableFormElements:function(e){e.find(n.disableSelector).each(function(){var e=t(this),n=e.is("button")?"html":"val";e.data("ujs:enable-with",e[n]()),e[n](e.data("disable-with")),e.prop("disabled",!0)})},enableFormElements:function(e){e.find(n.enableSelector).each(function(){var e=t(this),n=e.is("button")?"html":"val";e.data("ujs:enable-with")&&e[n](e.data("ujs:enable-with")),e.prop("disabled",!1)})},allowAction:function(t){var e,i=t.data("confirm"),r=!1;return i?(n.fire(t,"confirm")&&(r=n.confirm(i),e=n.fire(t,"confirm:complete",[r])),r&&e):!0},blankInputs:function(e,n,i){var r,o,a=t(),s=n||"input,textarea",l=e.find(s);return l.each(function(){if(r=t(this),o=r.is("input[type=checkbox],input[type=radio]")?r.is(":checked"):r.val(),!o==!i){if(r.is("input[type=radio]")&&l.filter('input[type=radio]:checked[name="'+r.attr("name")+'"]').length)return!0;a=a.add(r)}}),a.length?a:!1},nonBlankInputs:function(t,e){return n.blankInputs(t,e,!0)},stopEverything:function(e){return t(e.target).trigger("ujs:everythingStopped"),e.stopImmediatePropagation(),!1},disableElement:function(t){t.data("ujs:enable-with",t.html()),t.html(t.data("disable-with")),t.bind("click.railsDisable",function(t){return n.stopEverything(t)})},enableElement:function(t){t.data("ujs:enable-with")!==e&&(t.html(t.data("ujs:enable-with")),t.removeData("ujs:enable-with")),t.unbind("click.railsDisable")}},n.fire(i,"rails:attachBindings")&&(t.ajaxPrefilter(function(t,e,i){t.crossDomain||n.CSRFProtection(i)}),i.delegate(n.linkDisableSelector,"ajax:complete",function(){n.enableElement(t(this))}),i.delegate(n.linkClickSelector,"click.rails",function(i){var r=t(this),o=r.data("method"),a=r.data("params"),s=i.metaKey||i.ctrlKey;if(!n.allowAction(r))return n.stopEverything(i);if(!s&&r.is(n.linkDisableSelector)&&n.disableElement(r),r.data("remote")!==e){if(s&&(!o||"GET"===o)&&!a)return!0;var l=n.handleRemote(r);return l===!1?n.enableElement(r):l.error(function(){n.enableElement(r)}),!1}return r.data("method")?(n.handleMethod(r),!1):void 0}),i.delegate(n.buttonClickSelector,"click.rails",function(e){var i=t(this);return n.allowAction(i)?(n.handleRemote(i),!1):n.stopEverything(e)}),i.delegate(n.inputChangeSelector,"change.rails",function(e){var i=t(this);return n.allowAction(i)?(n.handleRemote(i),!1):n.stopEverything(e)}),i.delegate(n.formSubmitSelector,"submit.rails",function(i){var r=t(this),o=r.data("remote")!==e,a=n.blankInputs(r,n.requiredInputSelector),s=n.nonBlankInputs(r,n.fileInputSelector);if(!n.allowAction(r))return n.stopEverything(i);if(a&&r.attr("novalidate")==e&&n.fire(r,"ajax:aborted:required",[a]))return n.stopEverything(i);if(o){if(s){setTimeout(function(){n.disableFormElements(r)},13);var l=n.fire(r,"ajax:aborted:file",[s]);return l||setTimeout(function(){n.enableFormElements(r)},13),l}return n.handleRemote(r),!1}setTimeout(function(){n.disableFormElements(r)},13)}),i.delegate(n.formInputClickSelector,"click.rails",function(e){var i=t(this);if(!n.allowAction(i))return n.stopEverything(e);var r=i.attr("name"),o=r?{name:r,value:i.val()}:null;i.closest("form").data("ujs:submit-button",o)}),i.delegate(n.formSubmitSelector,"ajax:beforeSend.rails",function(e){this==e.target&&n.disableFormElements(t(this))}),i.delegate(n.formSubmitSelector,"ajax:complete.rails",function(e){this==e.target&&n.enableFormElements(t(this))}),t(function(){n.refreshCSRFTokens()}))}(jQuery),/* ======================================================================== 27 * Bootstrap: affix.js v3.1.1 28 * http://getbootstrap.com/javascript/#affix 29 * ======================================================================== 30 * Copyright 2011-2014 Twitter, Inc. 31 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 32 * ======================================================================== */ 33+function(t){"use strict";var e=function(n,i){this.options=t.extend({},e.DEFAULTS,i),this.$window=t(window).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(n),this.affixed=this.unpin=this.pinnedOffset=null,this.checkPosition()};e.RESET="affix affix-top affix-bottom",e.DEFAULTS={offset:0},e.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(e.RESET).addClass("affix");var t=this.$window.scrollTop(),n=this.$element.offset();return this.pinnedOffset=n.top-t},e.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},e.prototype.checkPosition=function(){if(this.$element.is(":visible")){var n=t(document).height(),i=this.$window.scrollTop(),r=this.$element.offset(),o=this.options.offset,a=o.top,s=o.bottom;
vendor: 19,690 bytes, lines 33-96
33"top"==this.affixed&&(r.top+=i),"object"!=typeof o&&(s=a=o),"function"==typeof a&&(a=o.top(this.$element)),"function"==typeof s&&(s=o.bottom(this.$element));var l=null!=this.unpin&&i+this.unpin<=r.top?!1:null!=s&&r.top+this.$element.height()>=n-s?"bottom":null!=a&&a>=i?"top":!1;if(this.affixed!==l){this.unpin&&this.$element.css("top","");var u="affix"+(l?"-"+l:""),c=t.Event(u+".bs.affix");this.$element.trigger(c),c.isDefaultPrevented()||(this.affixed=l,this.unpin="bottom"==l?this.getPinnedOffset():null,this.$element.removeClass(e.RESET).addClass(u).trigger(t.Event(u.replace("affix","affixed"))),"bottom"==l&&this.$element.offset({top:n-s-this.$element.height()}))}}};var n=t.fn.affix;t.fn.affix=function(n){return this.each(function(){var i=t(this),r=i.data("bs.affix"),o="object"==typeof n&&n;r||i.data("bs.affix",r=new e(this,o)),"string"==typeof n&&r[n]()})},t.fn.affix.Constructor=e,t.fn.affix.noConflict=function(){return t.fn.affix=n,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var e=t(this),n=e.data();n.offset=n.offset||{},n.offsetBottom&&(n.offset.bottom=n.offsetBottom),n.offsetTop&&(n.offset.top=n.offsetTop),e.affix(n)})})}(jQuery),/* ======================================================================== 34 * Bootstrap: alert.js v3.1.1 35 * http://getbootstrap.com/javascript/#alerts 36 * ======================================================================== 37 * Copyright 2011-2014 Twitter, Inc. 38 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 39 * ======================================================================== */ 40+function(t){"use strict";var e='[data-dismiss="alert"]',n=function(n){t(n).on("click",e,this.close)};n.prototype.close=function(e){function n(){o.trigger("closed.bs.alert").remove()}var i=t(this),r=i.attr("data-target");r||(r=i.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,""));var o=t(r);e&&e.preventDefault(),o.length||(o=i.hasClass("alert")?i:i.parent()),o.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one(t.support.transition.end,n).emulateTransitionEnd(150):n())};var i=t.fn.alert;t.fn.alert=function(e){return this.each(function(){var i=t(this),r=i.data("bs.alert");r||i.data("bs.alert",r=new n(this)),"string"==typeof e&&r[e].call(i)})},t.fn.alert.Constructor=n,t.fn.alert.noConflict=function(){return t.fn.alert=i,this},t(document).on("click.bs.alert.data-api",e,n.prototype.close)}(jQuery),/* ======================================================================== 41 * Bootstrap: button.js v3.1.1 42 * http://getbootstrap.com/javascript/#buttons 43 * ======================================================================== 44 * Copyright 2011-2014 Twitter, Inc. 45 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 46 * ======================================================================== */ 47+function(t){"use strict";var e=function(n,i){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,i),this.isLoading=!1};e.DEFAULTS={loadingText:"loading..."},e.prototype.setState=function(e){var n="disabled",i=this.$element,r=i.is("input")?"val":"html",o=i.data();e+="Text",o.resetText||i.data("resetText",i[r]()),i[r](o[e]||this.options[e]),setTimeout(t.proxy(function(){"loadingText"==e?(this.isLoading=!0,i.addClass(n).attr(n,n)):this.isLoading&&(this.isLoading=!1,i.removeClass(n).removeAttr(n))},this),0)},e.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")&&(n.prop("checked")&&this.$element.hasClass("active")?t=!1:e.find(".active").removeClass("active")),t&&n.prop("checked",!this.$element.hasClass("active")).trigger("change")}t&&this.$element.toggleClass("active")};var n=t.fn.button;t.fn.button=function(n){return this.each(function(){var i=t(this),r=i.data("bs.button"),o="object"==typeof n&&n;r||i.data("bs.button",r=new e(this,o)),"toggle"==n?r.toggle():n&&r.setState(n)})},t.fn.button.Constructor=e,t.fn.button.noConflict=function(){return t.fn.button=n,this},t(document).on("click.bs.button.data-api","[data-toggle^=button]",function(e){var n=t(e.target);n.hasClass("btn")||(n=n.closest(".btn")),n.button("toggle"),e.preventDefault()})}(jQuery),/* ======================================================================== 48 * Bootstrap: carousel.js v3.1.1 49 * http://getbootstrap.com/javascript/#carousel 50 * ======================================================================== 51 * Copyright 2011-2014 Twitter, Inc. 52 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 53 * ======================================================================== */ 54+function(t){"use strict";var e=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",t.proxy(this.pause,this)).on("mouseleave",t.proxy(this.cycle,this))};e.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},e.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},e.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},e.prototype.to=function(e){var n=this,i=this.getActiveIndex();return e>this.$items.length-1||0>e?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){n.to(e)}):i==e?this.pause().cycle():this.slide(e>i?"next":"prev",t(this.$items[e]))},e.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},e.prototype.next=function(){return this.sliding?void 0:this.slide("next")},e.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},e.prototype.slide=function(e,n){var i=this.$element.find(".item.active"),r=n||i[e](),o=this.interval,a="next"==e?"left":"right",s="next"==e?"first":"last",l=this;if(!r.length){if(!this.options.wrap)return;r=this.$element.find(".item")[s]()}if(r.hasClass("active"))return this.sliding=!1;var u=t.Event("slide.bs.carousel",{relatedTarget:r[0],direction:a});return this.$element.trigger(u),u.isDefaultPrevented()?void 0:(this.sliding=!0,o&&this.pause(),this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid.bs.carousel",function(){var e=t(l.$indicators.children()[l.getActiveIndex()]);e&&e.addClass("active")})),t.support.transition&&this.$element.hasClass("slide")?(r.addClass(e),r[0].offsetWidth,i.addClass(a),r.addClass(a),i.one(t.support.transition.end,function(){r.removeClass([e,a].join(" ")).addClass("active"),i.removeClass(["active",a].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger("slid.bs.carousel")},0)}).emulateTransitionEnd(1e3*i.css("transition-duration").slice(0,-1))):(i.removeClass("active"),r.addClass("active"),this.sliding=!1,this.$element.trigger("slid.bs.carousel")),o&&this.cycle(),this)};var n=t.fn.carousel;t.fn.carousel=function(n){return this.each(function(){var i=t(this),r=i.data("bs.carousel"),o=t.extend({},e.DEFAULTS,i.data(),"object"==typeof n&&n),a="string"==typeof n?n:o.slide;r||i.data("bs.carousel",r=new e(this,o)),"number"==typeof n?r.to(n):a?r[a]():o.interval&&r.pause().cycle()})},t.fn.carousel.Constructor=e,t.fn.carousel.noConflict=function(){return t.fn.carousel=n,this},t(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(e){var n,i=t(this),r=t(i.attr("data-target")||(n=i.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"")),o=t.extend({},r.data(),i.data()),a=i.attr("data-slide-to");a&&(o.interval=!1),r.carousel(o),(a=i.attr("data-slide-to"))&&r.data("bs.carousel").to(a),e.preventDefault()}),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var e=t(this);e.carousel(e.data())})})}(jQuery),/* ======================================================================== 55 * Bootstrap: collapse.js v3.1.1 56 * http://getbootstrap.com/javascript/#collapse 57 * ======================================================================== 58 * Copyright 2011-2014 Twitter, Inc. 59 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 60 * ======================================================================== */ 61+function(t){"use strict";var e=function(n,i){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,i),this.transitioning=null,this.options.parent&&(this.$parent=t(this.options.parent)),this.options.toggle&&this.toggle()};e.DEFAULTS={toggle:!0},e.prototype.dimension=function(){var t=this.$element.hasClass("width");return t?"width":"height"},e.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e=t.Event("show.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var n=this.$parent&&this.$parent.find("> .panel > .in");if(n&&n.length){var i=n.data("bs.collapse");if(i&&i.transitioning)return;n.collapse("hide"),i||n.data("bs.collapse",null)}var r=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[r](0),this.transitioning=1;var o=function(){this.$element.removeClass("collapsing").addClass("collapse in")[r]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return o.call(this);var a=t.camelCase(["scroll",r].join("-"));this.$element.one(t.support.transition.end,t.proxy(o,this)).emulateTransitionEnd(350)[r](this.$element[0][a])}}},e.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return t.support.transition?(this.$element[n](0).one(t.support.transition.end,t.proxy(i,this)).emulateTransitionEnd(350),void 0):i.call(this)}}},e.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var n=t.fn.collapse;t.fn.collapse=function(n){return this.each(function(){var i=t(this),r=i.data("bs.collapse"),o=t.extend({},e.DEFAULTS,i.data(),"object"==typeof n&&n);!r&&o.toggle&&"show"==n&&(n=!n),r||i.data("bs.collapse",r=new e(this,o)),"string"==typeof n&&r[n]()})},t.fn.collapse.Constructor=e,t.fn.collapse.noConflict=function(){return t.fn.collapse=n,this},t(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(e){var n,i=t(this),r=i.attr("data-target")||e.preventDefault()||(n=i.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,""),o=t(r),a=o.data("bs.collapse"),s=a?"toggle":i.data(),l=i.attr("data-parent"),u=l&&t(l);a&&a.transitioning||(u&&u.find('[data-toggle=collapse][data-parent="'+l+'"]').not(i).addClass("collapsed"),i[o.hasClass("in")?"addClass":"removeClass"]("collapsed")),o.collapse(s)})}(jQuery),/* ======================================================================== 62 * Bootstrap: dropdown.js v3.1.1 63 * http://getbootstrap.com/javascript/#dropdowns 64 * ======================================================================== 65 * Copyright 2011-2014 Twitter, Inc. 66 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 67 * ======================================================================== */ 68+function(t){"use strict";function e(e){t(i).remove(),t(r).each(function(){var i=n(t(this)),r={relatedTarget:this};i.hasClass("open")&&(i.trigger(e=t.Event("hide.bs.dropdown",r)),e.isDefaultPrevented()||i.removeClass("open").trigger("hidden.bs.dropdown",r))})}function n(e){var n=e.attr("data-target");n||(n=e.attr("href"),n=n&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i=n&&t(n);return i&&i.length?i:e.parent()}var i=".dropdown-backdrop",r="[data-toggle=dropdown]",o=function(e){t(e).on("click.bs.dropdown",this.toggle)};o.prototype.toggle=function(i){var r=t(this);if(!r.is(".disabled, :disabled")){var o=n(r),a=o.hasClass("open");if(e(),!a){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&t('<div class="dropdown-backdrop"/>').insertAfter(t(this)).on("click",e);var s={relatedTarget:this};if(o.trigger(i=t.Event("show.bs.dropdown",s)),i.isDefaultPrevented())return;o.toggleClass("open").trigger("shown.bs.dropdown",s),r.focus()}return!1}},o.prototype.keydown=function(e){if(/(38|40|27)/.test(e.keyCode)){var i=t(this);if(e.preventDefault(),e.stopPropagation(),!i.is(".disabled, :disabled")){var o=n(i),a=o.hasClass("open");if(!a||a&&27==e.keyCode)return 27==e.which&&o.find(r).focus(),i.click();var s=" li:not(.divider):visible a",l=o.find("[role=menu]"+s+", [role=listbox]"+s);if(l.length){var u=l.index(l.filter(":focus"));38==e.keyCode&&u>0&&u--,40==e.keyCode&&u<l.length-1&&u++,~u||(u=0),l.eq(u).focus()}}}};var a=t.fn.dropdown;t.fn.dropdown=function(e){return this.each(function(){var n=t(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new o(this)),"string"==typeof e&&i[e].call(n)})},t.fn.dropdown.Constructor=o,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=a,this},t(document).on("click.bs.dropdown.data-api",e).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",r,o.prototype.toggle).on("keydown.bs.dropdown.data-api",r+", [role=menu], [role=listbox]",o.prototype.keydown)}(jQuery),/* ======================================================================== 69 * Bootstrap: tab.js v3.1.1 70 * http://getbootstrap.com/javascript/#tabs 71 * ======================================================================== 72 * Copyright 2011-2014 Twitter, Inc. 73 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 74 * ======================================================================== */ 75+function(t){"use strict";var e=function(e){this.element=t(e)};e.prototype.show=function(){var e=this.element,n=e.closest("ul:not(.dropdown-menu)"),i=e.data("target");if(i||(i=e.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var r=n.find(".active:last a")[0],o=t.Event("show.bs.tab",{relatedTarget:r});if(e.trigger(o),!o.isDefaultPrevented()){var a=t(i);this.activate(e.parent("li"),n),this.activate(a,a.parent(),function(){e.trigger({type:"shown.bs.tab",relatedTarget:r})})}}},e.prototype.activate=function(e,n,i){function r(){o.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),e.addClass("active"),a?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu")&&e.closest("li.dropdown").addClass("active"),i&&i()}var o=n.find("> .active"),a=i&&t.support.transition&&o.hasClass("fade");a?o.one(t.support.transition.end,r).emulateTransitionEnd(150):r(),o.removeClass("in")};var n=t.fn.tab;t.fn.tab=function(n){return this.each(function(){var i=t(this),r=i.data("bs.tab");r||i.data("bs.tab",r=new e(this)),"string"==typeof n&&r[n]()})},t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=n,this},t(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(e){e.preventDefault(),t(this).tab("show")})}(jQuery),/* ======================================================================== 76 * Bootstrap: transition.js v3.1.1 77 * http://getbootstrap.com/javascript/#transitions 78 * ======================================================================== 79 * Copyright 2011-2014 Twitter, Inc. 80 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 81 * ======================================================================== */ 82+function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}t.fn.emulateTransitionEnd=function(e){var n=!1,i=this;t(this).one(t.support.transition.end,function(){n=!0});var r=function(){n||t(i).trigger(t.support.transition.end)};return setTimeout(r,e),this},t(function(){t.support.transition=e()})}(jQuery),/* ======================================================================== 83 * Bootstrap: scrollspy.js v3.1.1 84 * http://getbootstrap.com/javascript/#scrollspy 85 * ======================================================================== 86 * Copyright 2011-2014 Twitter, Inc. 87 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 88 * ======================================================================== */ 89+function(t){"use strict";function e(n,i){var r,o=t.proxy(this.process,this);this.$element=t(n).is("body")?t(window):t(n),this.$body=t("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",o),this.options=t.extend({},e.DEFAULTS,i),this.selector=(this.options.target||(r=t(n).attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=t([]),this.targets=t([]),this.activeTarget=null,this.refresh(),this.process()}e.DEFAULTS={offset:10},e.prototype.refresh=function(){var e=this.$element[0]==window?"offset":"position";this.offsets=t([]),this.targets=t([]);{var n=this;this.$body.find(this.selector).map(function(){var i=t(this),r=i.data("target")||i.attr("href"),o=/^#./.test(r)&&t(r);return o&&o.length&&o.is(":visible")&&[[o[e]().top+(!t.isWindow(n.$scrollElement.get(0))&&n.$scrollElement.scrollTop()),r]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){n.offsets.push(this[0]),n.targets.push(this[1])})}},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,i=n-this.$scrollElement.height(),r=this.offsets,o=this.targets,a=this.activeTarget;if(e>=i)return a!=(t=o.last()[0])&&this.activate(t);if(a&&e<=r[0])return a!=(t=o[0])&&this.activate(t);for(t=r.length;t--;)a!=o[t]&&e>=r[t]&&(!r[t+1]||e<=r[t+1])&&this.activate(o[t])},e.prototype.activate=function(e){this.activeTarget=e,t(this.selector).parentsUntil(this.options.target,".active").removeClass("active");var n=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',i=t(n).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")};var n=t.fn.scrollspy;t.fn.scrollspy=function(n){return this.each(function(){var i=t(this),r=i.data("bs.scrollspy"),o="object"==typeof n&&n;r||i.data("bs.scrollspy",r=new e(this,o)),"string"==typeof n&&r[n]()})},t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=n,this},t(window).on("load",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);e.scrollspy(e.data())})})}(jQuery),/* ======================================================================== 90 * Bootstrap: modal.js v3.1.1 91 * http://getbootstrap.com/javascript/#modals 92 * ======================================================================== 93 * Copyright 2011-2014 Twitter, Inc. 94 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 95 * ======================================================================== */ 96+function(t){"use strict";var e=function(e,n){this.options=n,this.$element=t(e),this.$backdrop=this.isShown=null,this.options.remote&&this.$element.find(".modal
96-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};e.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},e.prototype.toggle=function(t){return this[this.isShown?"hide":"show"](t)},e.prototype.show=function(e){var n=this,i=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(i),this.isShown||i.isDefaultPrevented()||(this.isShown=!0,this.escape(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.backdrop(function(){var i=t.support.transition&&n.$element.hasClass("fade");n.$element.parent().length||n.$element.appendTo(document.body),n.$element.show().scrollTop(0),i&&n.$element[0].offsetWidth,n.$element.addClass("in").attr("aria-hidden",!1),n.enforceFocus();var r=t.Event("shown.bs.modal",{relatedTarget:e});i?n.$element.find(".modal-dialog").one(t.support.transition.end,function(){n.$element.focus().trigger(r)}).emulateTransitionEnd(300):n.$element.focus().trigger(r)}))},e.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one(t.support.transition.end,t.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())},e.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.focus()},this))},e.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keyup.dismiss.bs.modal")},e.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.removeBackdrop(),t.$element.trigger("hidden.bs.modal")})},e.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},e.prototype.backdrop=function(e){var n=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var i=t.support.transition&&n;if(this.$backdrop=t('<div class="modal-backdrop '+n+'" />').appendTo(document.body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),i&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;i?this.$backdrop.one(t.support.transition.end,e).emulateTransitionEnd(150):e()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(t.support.transition.end,e).emulateTransitionEnd(150):e()):e&&e()};var n=t.fn.modal;t.fn.modal=function(n,i){return this.each(function(){var r=t(this),o=r.data("bs.modal"),a=t.extend({},e.DEFAULTS,r.data(),"object"==typeof n&&n);o||r.data("bs.modal",o=new e(this,a)),"string"==typeof n?o[n](i):a.show&&o.show(i)})},t.fn.modal.Constructor=e,t.fn.modal.noConflict=function(){return t.fn.modal=n,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(e){var n=t(this),i=n.attr("href"),r=t(n.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,"")),o=r.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(i)&&i},r.data(),n.data());n.is("a")&&e.preventDefault(),r.modal(o,this).one("hide",function(){n.is(":visible")&&n.focus()})}),t(document).on("show.bs.modal",".modal",function(){t(document.body).addClass("modal-open")}).on("hidden.bs.modal",".modal",function(){t(document.body).removeClass("modal-open")})}(jQuery),/* ======================================================================== 97 * Bootstrap: tooltip.js v3.1.1 98 * http://getbootstrap.com/javascript/#tooltip 99 * Inspired by the original jQuery.tipsy by Jason Frame 100 * ======================================================================== 101 * Copyright 2011-2014 Twitter, Inc. 102 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 103 * ======================================================================== */ 104+function(t){"use strict";var e=function(t,e){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",t,e)};e.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},e.prototype.init=function(e,n,i){this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(i);for(var r=this.options.trigger.split(" "),o=r.length;o--;){var a=r[o];if("click"==a)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=a){var s="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},e.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,function(t,i){n[t]!=i&&(e[t]=i)}),e},e.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(n.timeout),n.hoverState="in",n.options.delay&&n.options.delay.show?(n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show),void 0):n.show()},e.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(n.timeout),n.hoverState="out",n.options.delay&&n.options.delay.hide?(n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide),void 0):n.hide()},e.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){if(this.$element.trigger(e),e.isDefaultPrevented())return;var n=this,i=this.tip();this.setContent(),this.options.animation&&i.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,i[0],this.$element[0]):this.options.placement,o=/\s?auto?\s?/i,a=o.test(r);a&&(r=r.replace(o,"")||"top"),i.detach().css({top:0,left:0,display:"block"}).addClass(r),this.options.container?i.appendTo(this.options.container):i.insertAfter(this.$element);var s=this.getPosition(),l=i[0].offsetWidth,u=i[0].offsetHeight;if(a){var c=this.$element.parent(),d=r,f=document.documentElement.scrollTop||document.body.scrollTop,p="body"==this.options.container?window.innerWidth:c.outerWidth(),h="body"==this.options.container?window.innerHeight:c.outerHeight(),m="body"==this.options.container?0:c.offset().left;r="bottom"==r&&s.top+s.height+u-f>
104h?"top":"top"==r&&s.top-f-u<0?"bottom":"right"==r&&s.right+l>p?"left":"left"==r&&s.left-l<m?"right":r,i.removeClass(d).addClass(r)}var g=this.getCalculatedOffset(r,s,l,u);this.applyPlacement(g,r),this.hoverState=null;var v=function(){n.$element.trigger("shown.bs."+n.type)};t.support.transition&&this.$tip.hasClass("fade")?i.one(t.support.transition.end,v).emulateTransitionEnd(150):v()}},e.prototype.applyPlacement=function(e,n){var i,r=this.tip(),o=r[0].offsetWidth,a=r[0].offsetHeight,s=parseInt(r.css("margin-top"),10),l=parseInt(r.css("margin-left"),10);isNaN(s)&&(s=0),isNaN(l)&&(l=0),e.top=e.top+s,e.left=e.left+l,t.offset.setOffset(r[0],t.extend({using:function(t){r.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),r.addClass("in");var u=r[0].offsetWidth,c=r[0].offsetHeight;if("top"==n&&c!=a&&(i=!0,e.top=e.top+a-c),/bottom|top/.test(n)){var d=0;e.left<0&&(d=-2*e.left,e.left=0,r.offset(e),u=r[0].offsetWidth,c=r[0].offsetHeight),this.replaceArrow(d-o+u,u,"left")}else this.replaceArrow(c-a,c,"top");i&&r.offset(e)},e.prototype.replaceArrow=function(t,e,n){this.arrow().css(n,t?50*(1-t/e)+"%":"")},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},e.prototype.hide=function(){function e(){"in"!=n.hoverState&&i.detach(),n.$element.trigger("hidden.bs."+n.type)}var n=this,i=this.tip(),r=t.Event("hide.bs."+this.type);return this.$element.trigger(r),r.isDefaultPrevented()?void 0:(i.removeClass("in"),t.support.transition&&this.$tip.hasClass("fade")?i.one(t.support.transition.end,e).emulateTransitionEnd(150):e(),this.hoverState=null,this)},e.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},e.prototype.hasContent=function(){return this.getTitle()},e.prototype.getPosition=function(){var e=this.$element[0];return t.extend({},"function"==typeof e.getBoundingClientRect?e.getBoundingClientRect():{width:e.offsetWidth,height:e.offsetHeight},this.$element.offset())},e.prototype.getCalculatedOffset=function(t,e,n,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-n}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},e.prototype.getTitle=function(){var t,e=this.$element,n=this.options;return t=e.attr("data-original-title")||("function"==typeof n.title?n.title.call(e[0]):n.title)},e.prototype.tip=function(){return this.$tip=this.$tip||t(this.options.template)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},e.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},e.prototype.enable=function(){this.enabled=!0},e.prototype.disable=function(){this.enabled=!1},e.prototype.toggleEnabled=function(){this.enabled=!this.enabled},e.prototype.toggle=function(e){var n=e?t(e.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type):this;n.tip().hasClass("in")?n.leave(n):n.enter(n)},e.prototype.destroy=function(){clearTimeout(this.timeout),this.hide().$element.off("."+this.type).removeData("bs."+this.type)};var n=t.fn.tooltip;t.fn.tooltip=function(n){return this.each(function(){var i=t(this),r=i.data("bs.tooltip"),o="object"==typeof n&&n;(r||"destroy"!=n)&&(r||i.data("bs.tooltip",r=new e(this,o)),"string"==typeof n&&r[n]())})},t.fn.tooltip.Constructor=e,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=n,this}}(jQuery),/* ======================================================================== 105 * Bootstrap: popover.js v3.1.1 106 * http://getbootstrap.com/javascript/#popovers 107 * ======================================================================== 108 * Copyright 2011-2014 Twitter, Inc. 109 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 110 * ======================================================================== */ 111+function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),e.prototype.constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content")[this.options.html?"string"==typeof n?"html":"append":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},e.prototype.tip=function(){return this.$tip||(this.$tip=t(this.options.template)),this.$tip};var n=t.fn.popover;t.fn.popover=function(n){return this.each(function(){var i=t(this),r=i.data("bs.popover"),o="object"==typeof n&&n;(r||"destroy"!=n)&&(r||i.data("bs.popover",r=new e(this,o)),"string"==typeof n&&r[n]())})},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=n,this}}(jQuery),!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){var e=-1,n=-1,i=function(t){return parseFloat(t)||0},r=function(e){var n=1,r=t(e),o=null,a=[];return r.each(function(){var e=t(this),r=e.offset().top-i(e.css("margin-top")),s=a.length>0?a[a.length-1]:null;null===s?a.push(e):Math.floor(Math.abs(o-r))<=n?a[a.length-1]=s.add(e):a.push(e),o=r}),a},o=function(e){var n={byRow:!0,property:"height",target:null,remove:!1};return"object"==typeof e?t.extend(n,e):("boolean"==typeof e?n.byRow=e:"remove"===e&&(n.remove=!0),n)},a=t.fn.matchHeight=function(e){var n=o(e);if(n.remove){var i=this;return this.css(n.property,""),t.each(a._groups,function(t,e){e.elements=e.elements.not(i)}),this}return this.length<=1&&!n.target?this:(a._groups.push({elements:this,options:n}),a._apply(this,n),this)};a.version="0.7.0",a._groups=[],a._throttle=80,a._maintainScroll=!1,a._beforeUpdate=null,a._afterUpdate=null,a._rows=r,a._parse=i,a._parseOptions=o,a._apply=function(e,n){var s=o(n),l=t(e),u=[l],c=t(window).scrollTop(),d=t("html").outerHeight(!0),f=l.parents().filter(":hidden");return f.each(function(){var e=t(this);e.data("style-cache",e.attr("style"))}),f.css("display","block"),s.byRow&&!s.target&&(l.each(function(){var e=t(this),n=e.css("display");"inline-block"!==n&&"flex"!==n&&"inline-flex"!==n&&(n="block"),e.data("style-cache",e.attr("style")),e.css({display:n,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px",overflow:"hidden"})}),u=r(l),l.each(function(){var e=t(this);e.attr("style",e.data("style-cache")||"")})),t.each(u,function(e,n){var r=t(n),o=0;if(s.target)o=s.target.outerHeight(!1);else{if(s.byRow&&r.length<=1)return void r.css(s.property,"");r.each(function(){var e=t(this),n=e.attr("style"),i=e.css("display");"inline-block"!==i&&"flex"!==i&&"inline-flex"!==i&&(i="block");var r={display:i};r[s.property]="",e.css(r),e.outerHeight(!1)>o&&(o=e.outerHeight(!1)),n?e.attr("style",n):e.css("display","")})}r.each(function(){var e=t(this),n=0;s.target&&e.is(s.target)||("border-box"!==e.css("box-sizing")&&(n+=i(e.css("border-top-width"))+i(e.css("border-bottom-width")),n+=i(e.css("padding-top"))+i(e.css("padding-bottom"))),e.css(s.property,o-n+"px"))})}),f.each(function(){var e=t(this);e.attr("style",e.data("style-cache")||null)}),a._maintainScroll&&t(window).scrollTop(c/d*t("html").outerHeight(!0)),this},a._applyDataApi=function(){var e={};t("[data-match-height], [data-mh]").each(function(){var n=t(this),i=n.attr("data-mh")||n.attr("data-match-height");e[i]=i in e?e[i].add(n):n}),t.each(e,function(){this.matchHeight(!0)})};var s=function(e){a._beforeUpdate&&a._beforeUpdate(e,a._groups),t.each(a._groups,function(){a._apply(this.elements,this.options)}),a._afterUpdate&&a._afterUpdate(e,a._groups)};a._update=function(i,r){if(r&&"resize"===r.type){var o=t(window).width();if(o===e)return;e=o}i?-1===n&&(n=setTimeout(function(){s(r),n=-1},a._throttle)):s(r)},t(a._applyDataApi),t(window).bind("load",function(t){a._update(!1,t)}),t(window).bind("resize orientationchange",function(t){a._update(!0,t)})}),function(t){function e(t,e,n){switch(arguments.length){case 2:return null!=t?t:e;case 3:return null!=t?t:null!=e?e:n;default:throw new Error("Implement me")}}function n(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invali
111dFormat:!1,userInvalidated:!1,iso:!1}}function i(t,e){function n(){de.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}var i=!0;return u(function(){return i&&(n(),i=!1),e.apply(this,arguments)},e)}function r(t,e){return function(n){return f(t.call(this,n),e)}}function o(t,e){return function(n){return this.lang().ordinal(t.call(this,n),e)}}function a(){}function s(t){S(t),u(this,t)}function l(t){var e=y(t),n=e.year||0,i=e.quarter||0,r=e.month||0,o=e.week||0,a=e.day||0,s=e.hour||0,l=e.minute||0,u=e.second||0,c=e.millisecond||0;this._milliseconds=+c+1e3*u+6e4*l+36e5*s,this._days=+a+7*o,this._months=+r+3*i+12*n,this._data={},this._bubble()}function u(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return e.hasOwnProperty("toString")&&(t.toString=e.toString),e.hasOwnProperty("valueOf")&&(t.valueOf=e.valueOf),t}function c(t){var e,n={};for(e in t)t.hasOwnProperty(e)&&Se.hasOwnProperty(e)&&(n[e]=t[e]);return n}function d(t){return 0>t?Math.ceil(t):Math.floor(t)}function f(t,e,n){for(var i=""+Math.abs(t),r=t>=0;i.length<e;)i="0"+i;return(r?n?"+":"":"-")+i}function p(t,e,n,i){var r=e._milliseconds,o=e._days,a=e._months;i=null==i?!0:i,r&&t._d.setTime(+t._d+r*n),o&&ae(t,"Date",oe(t,"Date")+o*n),a&&re(t,oe(t,"Month")+a*n),i&&de.updateOffset(t,o||a)}function h(t){return"[object Array]"===Object.prototype.toString.call(t)}function m(t){return"[object Date]"===Object.prototype.toString.call(t)||t instanceof Date}function g(t,e,n){var i,r=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0;for(i=0;r>i;i++)(n&&t[i]!==e[i]||!n&&w(t[i])!==w(e[i]))&&a++;return a+o}function v(t){if(t){var e=t.toLowerCase().replace(/(.)s$/,"$1");t=tn[t]||en[e]||e}return t}function y(t){var e,n,i={};for(n in t)t.hasOwnProperty(n)&&(e=v(n),e&&(i[e]=t[n]));return i}function b(e){var n,i;if(0===e.indexOf("week"))n=7,i="day";else{if(0!==e.indexOf("month"))return;n=12,i="month"}de[e]=function(r,o){var a,s,l=de.fn._lang[e],u=[];if("number"==typeof r&&(o=r,r=t),s=function(t){var e=de().utc().set(i,t);return l.call(de.fn._lang,e,r||"")},null!=o)return s(o);for(a=0;n>a;a++)u.push(s(a));return u}}function w(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=e>=0?Math.floor(e):Math.ceil(e)),n}function x(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function T(t,e,n){return te(de([t,11,31+e-n]),e,n).week}function C(t){return k(t)?366:365}function k(t){return t%4===0&&t%100!==0||t%400===0}function S(t){var e;t._a&&-2===t._pf.overflow&&(e=t._a[ye]<0||t._a[ye]>11?ye:t._a[be]<1||t._a[be]>x(t._a[ve],t._a[ye])?be:t._a[we]<0||t._a[we]>23?we:t._a[xe]<0||t._a[xe]>59?xe:t._a[Te]<0||t._a[Te]>59?Te:t._a[Ce]<0||t._a[Ce]>999?Ce:-1,t._pf._overflowDayOfYear&&(ve>e||e>be)&&(e=be),t._pf.overflow=e)}function _(t){return null==t._isValid&&(t._isValid=!isNaN(t._d.getTime())&&t._pf.overflow<0&&!t._pf.empty&&!t._pf.invalidMonth&&!t._pf.nullInput&&!t._pf.invalidFormat&&!t._pf.userInvalidated,t._strict&&(t._isValid=t._isValid&&0===t._pf.charsLeftOver&&0===t._pf.unusedTokens.length)),t._isValid}function E(t){return t?t.toLowerCase().replace("_","-"):t}function $(t,e){return e._isUTC?de(t).zone(e._offset||0):de(t).local()}function D(t,e){return e.abbr=t,ke[t]||(ke[t]=new a),ke[t].set(e),ke[t]}function A(t){delete ke[t]}function M(t){var e,n,i,r,o=0,a=function(t){if(!ke[t]&&_e)try{require("./lang/"+t)}catch(e){}return ke[t]};if(!t)return de.fn._lang;if(!h(t)){if(n=a(t))return n;t=[t]}for(;o<t.length;){for(r=E(t[o]).split("-"),e=r.length,i=E(t[o+1]),i=i?i.split("-"):null;e>0;){if(n=a(r.slice(0,e).join("-")))return n;if(i&&i.length>=e&&g(r,i,!0)>=e-1)break;e--}o++}return de.fn._lang}function P(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function O(t){var e,n,i=t.match(Ae);for(e=0,n=i.length;n>e;e++)i[e]=sn[i[e]]?sn[i[e]]:P(i[e]);return function(r){var o="";for(e=0;n>e;e++)o+=i[e]instanceof Function?i[e].call(r,t):i[e];return o}}function j(t,e){return t.isValid()?(e=N(e,t.lang()),nn[e]||(nn[e]=O(e)),nn[e](t)):t.lang().invalidDate()}function N(t,e){function n(t){return e.longDateFormat(t)||t}var i=5;for(Me.lastIndex=0;i>=0&&Me.test(t);)t=t.replace(Me,n),Me.lastIndex=0,i-=1;return t}function F(t,e){var n,i=e._strict;switch(t){case"Q":return Re;case"DDDD":return qe;case"YYYY":case"GGGG":case"gggg":return i?Be:je;case"Y":case"G":case"g":return Ue;case"YYYYYY":case"YYYYY":case"GGGGG":case"ggggg":return i?Ve:Ne;case"S":if(i)return Re;case"SS":if(i)return Ye;case"SSS":if(i)return qe;case"DDD":return Oe;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return He;case"a":case"A":return M(e._l)._meridiemParse;case"X":return Ie;case"Z":case"ZZ":return Le;case"T":return ze;case"SSSS":return Fe;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case"hh":case"mm":case"ss":case"ww":case"WW":return i?Ye:Pe;case"M":case"D":case"d":case"H":case"h":case"m":case"s":case"w":case"W":case"e":case"E":return Pe;case"Do":return We;default:return n=new RegExp(B(q(t.replace("\\","")),"i"))}}function H(t){t=t||"";var e=t.match(Le)||[],n=e[e.length-1]||[],i=(n+"").match(Je)||["-",0,0],r=+(60*i[1])+w(i[2]);return"+"===i[0]?-r:r}function L(t,e,n){var i,r=n._a;switch(t){case"Q":null!=e&&(r[ye]=3*(w(e)-1));break;case"M":case"MM":null!=e&&(r[ye]=w(e)-1);break;case"MMM":case"MMMM":i=M(n._l).monthsParse(e),null!=i?r[ye]=i:n._pf.invali
111dMonth=e;break;case"D":case"DD":null!=e&&(r[be]=w(e));break;case"Do":null!=e&&(r[be]=w(parseInt(e,10)));break;case"DDD":case"DDDD":null!=e&&(n._dayOfYear=w(e));break;case"YY":r[ve]=de.parseTwoDigitYear(e);break;case"YYYY":case"YYYYY":case"YYYYYY":r[ve]=w(e);break;case"a":case"A":n._isPm=M(n._l).isPM(e);break;case"H":case"HH":case"h":case"hh":r[we]=w(e);break;case"m":case"mm":r[xe]=w(e);break;case"s":case"ss":r[Te]=w(e);break;case"S":case"SS":case"SSS":case"SSSS":r[Ce]=w(1e3*("0."+e));break;case"X":n._d=new Date(1e3*parseFloat(e));break;case"Z":case"ZZ":n._useUTC=!0,n._tzm=H(e);break;case"dd":case"ddd":case"dddd":i=M(n._l).weekdaysParse(e),null!=i?(n._w=n._w||{},n._w.d=i):n._pf.invalidWeekday=e;break;case"w":case"ww":case"W":case"WW":case"d":case"e":case"E":t=t.substr(0,1);case"gggg":case"GGGG":case"GGGGG":t=t.substr(0,2),e&&(n._w=n._w||{},n._w[t]=w(e));break;case"gg":case"GG":n._w=n._w||{},n._w[t]=de.parseTwoDigitYear(e)}}function z(t){var n,i,r,o,a,s,l,u;n=t._w,null!=n.GG||null!=n.W||null!=n.E?(a=1,s=4,i=e(n.GG,t._a[ve],te(de(),1,4).year),r=e(n.W,1),o=e(n.E,1)):(u=M(t._l),a=u._week.dow,s=u._week.doy,i=e(n.gg,t._a[ve],te(de(),a,s).year),r=e(n.w,1),null!=n.d?(o=n.d,a>o&&++r):o=null!=n.e?n.e+a:a),l=ee(i,r,o,s,a),t._a[ve]=l.year,t._dayOfYear=l.dayOfYear}function I(t){var n,i,r,o,a=[];if(!t._d){for(r=R(t),t._w&&null==t._a[be]&&null==t._a[ye]&&z(t),t._dayOfYear&&(o=e(t._a[ve],r[ve]),t._dayOfYear>C(o)&&(t._pf._overflowDayOfYear=!0),i=X(o,0,t._dayOfYear),t._a[ye]=i.getUTCMonth(),t._a[be]=i.getUTCDate()),n=0;3>n&&null==t._a[n];++n)t._a[n]=a[n]=r[n];for(;7>n;n++)t._a[n]=a[n]=null==t._a[n]?2===n?1:0:t._a[n];t._d=(t._useUTC?X:Z).apply(null,a),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()+t._tzm)}}function W(t){var e;t._d||(e=y(t._i),t._a=[e.year,e.month,e.day,e.hour,e.minute,e.second,e.millisecond],I(t))}function R(t){var e=new Date;return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Y(t){t._a=[],t._pf.empty=!0;var e,n,i,r,o,a=M(t._l),s=""+t._i,l=s.length,u=0;for(i=N(t._f,a).match(Ae)||[],e=0;e<i.length;e++)r=i[e],n=(s.match(F(r,t))||[])[0],n&&(o=s.substr(0,s.indexOf(n)),o.length>0&&t._pf.unusedInput.push(o),s=s.slice(s.indexOf(n)+n.length),u+=n.length),sn[r]?(n?t._pf.empty=!1:t._pf.unusedTokens.push(r),L(r,n,t)):t._strict&&!n&&t._pf.unusedTokens.push(r);t._pf.charsLeftOver=l-u,s.length>0&&t._pf.unusedInput.push(s),t._isPm&&t._a[we]<12&&(t._a[we]+=12),t._isPm===!1&&12===t._a[we]&&(t._a[we]=0),I(t),S(t)}function q(t){return t.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,r){return e||n||i||r})}function B(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function V(t){var e,i,r,o,a;if(0===t._f.length)return t._pf.invalidFormat=!0,t._d=new Date(0/0),void 0;for(o=0;o<t._f.length;o++)a=0,e=u({},t),e._pf=n(),e._f=t._f[o],Y(e),_(e)&&(a+=e._pf.charsLeftOver,a+=10*e._pf.unusedTokens.length,e._pf.score=a,(null==r||r>a)&&(r=a,i=e));u(t,i||e)}function U(t){var e,n,i=t._i,r=Ge.exec(i);if(r){for(t._pf.iso=!0,e=0,n=Xe.length;n>e;e++)if(Xe[e][1].exec(i)){t._f=Xe[e][0]+(r[6]||" ");break}for(e=0,n=Qe.length;n>e;e++)if(Qe[e][1].exec(i)){t._f+=Qe[e][0];break}i.match(Le)&&(t._f+="Z"),Y(t)}else de.createFromInputFallback(t)}function G(e){var n=e._i,i=Ee.exec(n);n===t?e._d=new Date:i?e._d=new Date(+i[1]):"string"==typeof n?U(e):h(n)?(e._a=n.slice(0),I(e)):m(n)?e._d=new Date(+n):"object"==typeof n?W(e):"number"==typeof n?e._d=new Date(n):de.createFromInputFallback(e)}function Z(t,e,n,i,r,o,a){var s=new Date(t,e,n,i,r,o,a);return 1970>t&&s.setFullYear(t),s}function X(t){var e=new Date(Date.UTC.apply(null,arguments));return 1970>t&&e.setUTCFullYear(t),e}function Q(t,e){if("string"==typeof t)if(isNaN(t)){if(t=e.weekdaysParse(t),"number"!=typeof t)return null}else t=parseInt(t,10);return t}function J(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}function K(t,e,n){var i=ge(Math.abs(t)/1e3),r=ge(i/60),o=ge(r/60),a=ge(o/24),s=ge(a/365),l=i<rn.s&&["s",i]||1===r&&["m"]||r<rn.m&&["mm",r]||1===o&&["h"]||o<rn.h&&["hh",o]||1===a&&["d"]||a<=rn.dd&&["dd",a]||a<=rn.dm&&["M"]||a<rn.dy&&["MM",ge(a/30)]||1===s&&["y"]||["yy",s];return l[2]=e,l[3]=t>0,l[4]=n,J.apply({},l)}function te(t,e,n){var i,r=n-e,o=n-t.day();return o>r&&(o-=7),r-7>o&&(o+=7),i=de(t).add("d",o),{week:Math.ceil(i.dayOfYear()/7),year:i.year()}}function ee(t,e,n,i,r){var o,a,s=X(t,0,1).getUTCDay();return s=0===s?7:s,n=null!=n?n:r,o=r-s+(s>i?7:0)-(r>s?7:0),a=7*(e-1)+(n-r)+o+1,{year:a>0?t:t-1,dayOfYear:a>0?a:C(t-1)+a}}function ne(e){var n=e._i,i=e._f;return null===n||i===t&&""===n?de.invalid({nullInput:!0}):("string"==typeof n&&(e._i=n=M().preparse(n)),de.isMoment(n)?(e=c(n),e._d=new Date(+n._d)):i?h(i)?V(e):Y(e):G(e),new s(e))}function ie(t,e){var n,i;if(1===e.length&&h(e[0])&&(e=e[0]),!e.length)return de();for(n=e[0],i=1;i<e.length;++i)e[i][t](n)&&(n=e[i]);return n}function re(t,e){var n;return"string"==typeof e&&(e=t.lang().monthsParse(e),"number"!=typeof e)?t:(n=Math.min(t.date(),x(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t)}function oe(t,e){return t._d["get"+(t._isUTC?"UTC":"")+e]()}function ae(t,e,n){return"Month"===e?re(t,n):t._d["set"+(t._isUTC?"UTC":"")+e](n)}function se(t,e){return function(n){return null!=n?(ae(this,t,n),de.updateOffset(this,e),this):oe(this,t)}}function le(t){de.duration.fn[t]=function(){return this._data[t]}}function ue(t,e){de.duration.fn["as"+t]=function(){return+this/e}}function ce(t){"undefined"==typeof ender&&(fe=me.moment,me.moment=t?i("Accessing Moment through the global scope is deprecated, and will be removed in an upcoming release.",de):de)}for(var de,fe,pe,he="2.6.0",me="undefined"!=typeof global?global:this,ge=Math.round,ve=0,ye=1,be=2,we=3,xe=4,Te=5,Ce=6,ke={},Se={_isAMomentObject:null,_i:null,_f:null,_l:null,_strict:null,_tzm:null,_isUTC:null,_offset:null,_pf:null,_lang:null},_e="undefined"!=typeof module&&module.exports,Ee=/^\/?Date\((\-?\d+)/i,$e=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,De=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,Ae=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}
111|X|zz?|ZZ?|.)/g,Me=/(\[[^\[]*\])|(\\)?(LT|LL?L?L?|l{1,4})/g,Pe=/\d\d?/,Oe=/\d{1,3}/,je=/\d{1,4}/,Ne=/[+\-]?\d{1,6}/,Fe=/\d+/,He=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Le=/Z|[\+\-]\d\d:?\d\d/gi,ze=/T/i,Ie=/[\+\-]?\d+(\.\d{1,3})?/,We=/\d{1,2}/,Re=/\d/,Ye=/\d\d/,qe=/\d{3}/,Be=/\d{4}/,Ve=/[+-]?\d{6}/,Ue=/[+-]?\d+/,Ge=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ze="YYYY-MM-DDTHH:mm:ssZ",Xe=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],Qe=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],Je=/([\+\-]|\d\d)/gi,Ke=("Date|Hours|Minutes|Seconds|Milliseconds".split("|"),{Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,Days:864e5,Months:2592e6,Years:31536e6}),tn={ms:"millisecond",s:"second",m:"minute",h:"hour",d:"day",D:"date",w:"week",W:"isoWeek",M:"month",Q:"quarter",y:"year",DDD:"dayOfYear",e:"weekday",E:"isoWeekday",gg:"weekYear",GG:"isoWeekYear"},en={dayofyear:"dayOfYear",isoweekday:"isoWeekday",isoweek:"isoWeek",weekyear:"weekYear",isoweekyear:"isoWeekYear"},nn={},rn={s:45,m:45,h:22,dd:25,dm:45,dy:345},on="DDD w W M D d".split(" "),an="M D H h m s w W".split(" "),sn={M:function(){return this.month()+1},MMM:function(t){return this.lang().monthsShort(this,t)},MMMM:function(t){return this.lang().months(this,t)},D:function(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){return this.day()},dd:function(t){return this.lang().weekdaysMin(this,t)},ddd:function(t){return this.lang().weekdaysShort(this,t)},dddd:function(t){return this.lang().weekdays(this,t)},w:function(){return this.week()},W:function(){return this.isoWeek()},YY:function(){return f(this.year()%100,2)},YYYY:function(){return f(this.year(),4)},YYYYY:function(){return f(this.year(),5)},YYYYYY:function(){var t=this.year(),e=t>=0?"+":"-";return e+f(Math.abs(t),6)},gg:function(){return f(this.weekYear()%100,2)},gggg:function(){return f(this.weekYear(),4)},ggggg:function(){return f(this.weekYear(),5)},GG:function(){return f(this.isoWeekYear()%100,2)},GGGG:function(){return f(this.isoWeekYear(),4)},GGGGG:function(){return f(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWeekday()},a:function(){return this.lang().meridiem(this.hours(),this.minutes(),!0)},A:function(){return this.lang().meridiem(this.hours(),this.minutes(),!1)},H:function(){return this.hours()},h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return w(this.milliseconds()/100)},SS:function(){return f(w(this.milliseconds()/10),2)},SSS:function(){return f(this.milliseconds(),3)},SSSS:function(){return f(this.milliseconds(),3)},Z:function(){var t=-this.zone(),e="+";return 0>t&&(t=-t,e="-"),e+f(w(t/60),2)+":"+f(w(t)%60,2)},ZZ:function(){var t=-this.zone(),e="+";return 0>t&&(t=-t,e="-"),e+f(w(t/60),2)+f(w(t)%60,2)},z:function(){return this.zoneAbbr()},zz:function(){return this.zoneName()},X:function(){return this.unix()},Q:function(){return this.quarter()}},ln=["months","monthsShort","weekdays","weekdaysShort","weekdaysMin"];on.length;)pe=on.pop(),sn[pe+"o"]=o(sn[pe],pe);for(;an.length;)pe=an.pop(),sn[pe+pe]=r(sn[pe],2);for(sn.DDDD=r(sn.DDD,3),u(a.prototype,{set:function(t){var e,n;for(n in t)e=t[n],"function"==typeof e?this[n]=e:this["_"+n]=e},_months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),months:function(t){return this._months[t.month()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),monthsShort:function(t){return this._monthsShort[t.month()]},monthsParse:function(t){var e,n,i;for(this._monthsParse||(this._monthsParse=[]),e=0;12>e;e++)if(this._monthsParse[e]||(n=de.utc([2e3,e]),i="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[e]=new RegExp(i.replace(".",""),"i")),this._monthsParse[e].test(t))return e},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdays:function(t){return this._weekdays[t.day()]},_weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysShort:function(t){return this._weekdaysShort[t.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysMin:function(t){return this._weekdaysMin[t.day()]},weekdaysParse:function(t){var e,n,i;for(this._weekdaysParse||(this._weekdaysParse=[]),e=0;7>e;e++)if(this._weekdaysParse[e]||(n=de([2e3,1]).day(e),i="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[e]=new RegExp(i.replace(".",""),"i")),this._weekdaysParse[e].test(t))return e},_longDateFormat:{LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D YYYY",LLL:"MMMM D YYYY LT",LLLL:"dddd, MMMM D YYYY LT"},longDateFormat:function(t){var e=this._longDateFormat[t];return!e&&this._longDateFormat[t.toUpperCase()]&&(e=this._longDateFormat[t.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t]=e),e},isPM:function(t){return"p"===(t+"").toLowerCase().charAt(0)},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},_calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},calendar:function(t,e){var n=this._calendar[t];return"function"==typeof n?n.apply(e):n},_relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},relativeTime:function(t,e,n,i){var r=this._relativeTime[n];return"function"==typeof r?r(t,e,n,i):r.replace(/%d/i,t)},pastFuture:function(t,e){var n=this._relativeTime[t>0?"future":"past"];return"function"==typeof n?n(e):n.replace(/%s/i,e)},ordinal:function(t){return this._ordinal.replace("%d",t)},_ordinal:"%d",preparse:function(t){return t},postformat:function(t){return t},week:function(t){return te(t,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},_invalidDate:"Invalid date",invalidDate:function(){return this._invalidDate}}),de=function(e,i,r,o){var a;return"boolean"==typeof r&&(o=r,r=t),a={},a._isAMomentObject=!0,a._i=e,a._f=i,a._l=r,a._strict=o,a._isUTC=!1,a._pf=n(),ne(a)},de.suppressDeprecationWarnings=!1,de.createFromInputFallback=i("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(t){t._d=new Date(t._i)}),de.min=function(){var t=[].slice.call(arguments,0);return ie("isBefore",t)},de.max=function(){var t=[].slice.call(arguments,0);return ie("isAfter",t)},de.utc=function(e,i,r,o){var a;return"boolean"==typeof r&&(o=r,r=t),a={},a._isAMomentObject=!0,a._useUTC=!0,a._isUTC=!0,a._l=r,a._i=e,a._f=i,a._strict=o,a._pf=n(),ne(a).utc()},de.unix=function(t){return de(1e3*t)},de.duration=function(t,e){var n,i,r,o=t,a=null;return de.isDuration(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(o={},e?o[e]=t:o.milliseconds=t):(a=$e.exec(t))?(n="-"===a[1]?-1:1,o={y:0,d:w(a[be])*n,h:w(a[we])*n,m:w(a[xe])*n,s:w(a[Te])*n,ms:w(a[Ce])*n}):(a=De.exec(t))&&(n="-"===a[1]?-1:1,r=function(t){var e=t&&parseFloat(t.replace(",","."));return(isNaN(e)?0:e)*n}
111,o={y:r(a[2]),M:r(a[3]),d:r(a[4]),h:r(a[5]),m:r(a[6]),s:r(a[7]),w:r(a[8])}),i=new l(o),de.isDuration(t)&&t.hasOwnProperty("_lang")&&(i._lang=t._lang),i},de.version=he,de.defaultFormat=Ze,de.momentProperties=Se,de.updateOffset=function(){},de.relativeTimeThreshold=function(e,n){return rn[e]===t?!1:(rn[e]=n,!0)},de.lang=function(t,e){var n;return t?(e?D(E(t),e):null===e?(A(t),t="en"):ke[t]||M(t),n=de.duration.fn._lang=de.fn._lang=M(t),n._abbr):de.fn._lang._abbr},de.langData=function(t){return t&&t._lang&&t._lang._abbr&&(t=t._lang._abbr),M(t)},de.isMoment=function(t){return t instanceof s||null!=t&&t.hasOwnProperty("_isAMomentObject")},de.isDuration=function(t){return t instanceof l},pe=ln.length-1;pe>=0;--pe)b(ln[pe]);de.normalizeUnits=function(t){return v(t)},de.invalid=function(t){var e=de.utc(0/0);return null!=t?u(e._pf,t):e._pf.userInvalidated=!0,e},de.parseZone=function(){return de.apply(null,arguments).parseZone()},de.parseTwoDigitYear=function(t){return w(t)+(w(t)>68?1900:2e3)},u(de.fn=s.prototype,{clone:function(){return de(this)},valueOf:function(){return+this._d+6e4*(this._offset||0)},unix:function(){return Math.floor(+this/1e3)},toString:function(){return this.clone().lang("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDate:function(){return this._offset?new Date(+this):this._d},toISOString:function(){var t=de(this).utc();return 0<t.year()&&t.year()<=9999?j(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):j(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},toArray:function(){var t=this;return[t.year(),t.month(),t.date(),t.hours(),t.minutes(),t.seconds(),t.milliseconds()]},isValid:function(){return _(this)},isDSTShifted:function(){return this._a?this.isValid()&&g(this._a,(this._isUTC?de.utc(this._a):de(this._a)).toArray())>0:!1},parsingFlags:function(){return u({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function(){return this.zone(0)},local:function(){return this.zone(0),this._isUTC=!1,this},format:function(t){var e=j(this,t||de.defaultFormat);return this.lang().postformat(e)},add:function(t,e){var n;return n="string"==typeof t?de.duration(+e,t):de.duration(t,e),p(this,n,1),this},subtract:function(t,e){var n;return n="string"==typeof t?de.duration(+e,t):de.duration(t,e),p(this,n,-1),this},diff:function(t,e,n){var i,r,o=$(t,this),a=6e4*(this.zone()-o.zone());return e=v(e),"year"===e||"month"===e?(i=432e5*(this.daysInMonth()+o.daysInMonth()),r=12*(this.year()-o.year())+(this.month()-o.month()),r+=(this-de(this).startOf("month")-(o-de(o).startOf("month")))/i,r-=6e4*(this.zone()-de(this).startOf("month").zone()-(o.zone()-de(o).startOf("month").zone()))/i,"year"===e&&(r/=12)):(i=this-o,r="second"===e?i/1e3:"minute"===e?i/6e4:"hour"===e?i/36e5:"day"===e?(i-a)/864e5:"week"===e?(i-a)/6048e5:i),n?r:d(r)},from:function(t,e){return de.duration(this.diff(t)).lang(this.lang()._abbr).humanize(!e)},fromNow:function(t){return this.from(de(),t)},calendar:function(t){var e=t||de(),n=$(e,this).startOf("day"),i=this.diff(n,"days",!0),r=-6>i?"sameElse":-1>i?"lastWeek":0>i?"lastDay":1>i?"sameDay":2>i?"nextDay":7>i?"nextWeek":"sameElse";return this.format(this.lang().calendar(r,this))},isLeapYear:function(){return k(this.year())},isDST:function(){return this.zone()<this.clone().month(0).zone()||this.zone()<this.clone().month(5).zone()},day:function(t){var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Q(t,this.lang()),this.add({d:t-e})):e},month:se("Month",!0),startOf:function(t){switch(t=v(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t?this.weekday(0):"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this},endOf:function(t){return t=v(t),this.startOf(t).add("isoWeek"===t?"week":t,1).subtract("ms",1)},isAfter:function(t,e){return e="undefined"!=typeof e?e:"millisecond",+this.clone().startOf(e)>+de(t).startOf(e)},isBefore:function(t,e){return e="undefined"!=typeof e?e:"millisecond",+this.clone().startOf(e)<+de(t).startOf(e)},isSame:function(t,e){return e=e||"ms",+this.clone().startOf(e)===+$(t,this).startOf(e)},min:i("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(t){return t=de.apply(null,arguments),this>t?this:t}),max:i("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(t){return t=de.apply(null,arguments),t>this?this:t}),zone:function(t,e){var n=this._offset||0;return null==t?this._isUTC?n:this._d.getTimezoneOffset():("string"==typeof t&&(t=H(t)),Math.abs(t)<16&&(t=60*t),this._offset=t,this._isUTC=!0,n!==t&&(!e||this._changeInProgress?p(this,de.duration(n-t,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,de.updateOffset(this,!0),this._changeInProgress=null)),this)},zoneAbbr:function(){return this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal Time":""},parseZone:function(){return this._tzm?this.zone(this._tzm):"string"==typeof this._i&&this.zone(this._i),this},hasAlignedHourOffset:function(t){return t=t?de(t).zone():0,(this.zone()-t)%60===0},daysInMonth:function(){return x(this.year(),this.month())},dayOfYear:function(t){var e=ge((de(this).startOf("day")-de(this).startOf("year"))/864e5)+1;return null==t?e:this.add("d",t-e)},quarter:function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},weekYear:function(t){var e=te(this,this.lang()._week.dow,this.lang()._week.doy).year;return null==t?e:this.add("y",t-e)},isoWeekYear:function(t){var e=te(this,1,4).year;return null==t?e:this.add("y",t-e)},week:function(t){var e=this.lang().week(this);return null==t?e:this.add("d",7*(t-e))},isoWeek:function(t){var e=te(this,1,4).week;return null==t?e:this.add("d",7*(t-e))},weekday:function(t){var e=(this.day()+7-this.lang()._week.dow)%7;return null==t?e:this.add("d",t-e)},isoWeekday:function(t){return null==t?this.day()||7:this.day(this.day()%7?t:t-7)},isoWeeksInYear:function(){return T(this.year(),1,4)},weeksInYear:function(){var t=this._lang._week;return T(this.year(),t.dow,t.doy)},get:function(t){return t=v(t),this[t]()},set:function(t,e){return t=v(t),"function"==typeof this[t]&&this[t](e),this},lang:function(e){return e===t?this._lang:(this._lang=M(e),this)}}),de.fn.millisecond=de.fn.milliseconds=se("Milliseconds",!1),de.fn.second=de.fn.seconds=se("Seconds",!1),de.fn.minute=de.fn.minutes=se("Minutes",!1),de.fn.hour=de.fn.hours=se("Hours",!0),de.fn.date=se("Date",!0),de.fn.dates=i("dates accessor is deprecated. Use date instead.",se("Date",!0)),de.fn.year=se("FullYear",!0),de.fn.years=i("years accessor is deprecated. Use year instead.",se("FullYear",!0)),de.fn.days=de.fn.day,de.fn.months=de.fn.month,de.fn.weeks=de.fn.week,de.fn.isoWeeks=de.fn.isoWeek,de.fn.quarters=de.fn.quarter,de.fn.toJSON=de.fn.toISOString,u(de.duration.fn=l.prototype,{_bubble:function(){var t,e,n,i,r=this._milliseconds,o=this._days,a=this._months,s=this._data;s.milliseconds=r%1e3,t=d(r/1e3),s.seconds=t%60,e=d(t/60),s.minutes=e%60,n=d(e/60),s.hours=n%24,o+=d(n/24),s.days=o%30,a+=d(o/30),s.months=a%12,i=d(a/12),s.years=i},weeks:function(){return d(this.days()/7)}
111,valueOf:function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12)},humanize:function(t){var e=+this,n=K(e,!t,this.lang());return t&&(n=this.lang().pastFuture(e,n)),this.lang().postformat(n)},add:function(t,e){var n=de.duration(t,e);return this._milliseconds+=n._milliseconds,this._days+=n._days,this._months+=n._months,this._bubble(),this},subtract:function(t,e){var n=de.duration(t,e);return this._milliseconds-=n._milliseconds,this._days-=n._days,this._months-=n._months,this._bubble(),this},get:function(t){return t=v(t),this[t.toLowerCase()+"s"]()},as:function(t){return t=v(t),this["as"+t.charAt(0).toUpperCase()+t.slice(1)+"s"]()},lang:de.fn.lang,toIsoString:function(){var t=Math.abs(this.years()),e=Math.abs(this.months()),n=Math.abs(this.days()),i=Math.abs(this.hours()),r=Math.abs(this.minutes()),o=Math.abs(this.seconds()+this.milliseconds()/1e3);return this.asSeconds()?(this.asSeconds()<0?"-":"")+"P"+(t?t+"Y":"")+(e?e+"M":"")+(n?n+"D":"")+(i||r||o?"T":"")+(i?i+"H":"")+(r?r+"M":"")+(o?o+"S":""):"P0D"}});for(pe in Ke)Ke.hasOwnProperty(pe)&&(ue(pe,Ke[pe]),le(pe.toLowerCase()));ue("Weeks",6048e5),de.duration.fn.asMonths=function(){return(+this-31536e6*this.years())/2592e6+12*this.years() 112},de.lang("en",{ordinal:function(t){var e=t%10,n=1===w(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),_e?module.exports=de:"function"==typeof define&&define.amd?(define("moment",function(t,e,n){return n.config&&n.config()&&n.config().noGlobal===!0&&(me.moment=fe),de}),ce(!0)):ce()}.call(this),function(t){"function"==typeof define&&define.amd?define(["jquery","moment"],t):t(jQuery,moment)}(function(t,e){function n(t,e){return e.longDateFormat("LT").replace(":mm","(:mm)").replace(/(\Wmm)$/,"($1)").replace(/\s*a$/i,"t")}function i(t,e){var n=e.longDateFormat("L");return n=n.replace(/^Y+[^\w\s]*|[^\w\s]*Y+$/g,""),t.isRTL?n+=" ddd":n="ddd "+n,n}function r(t){o(Ee,t)}function o(e){function n(n,i){t.isPlainObject(i)&&t.isPlainObject(e[n])&&!a(n)?e[n]=o({},e[n],i):void 0!==i&&(e[n]=i)}for(var i=1;i<arguments.length;i++)t.each(arguments[i],n);return e}function a(t){return/(Time|Duration)$/.test(t)}function s(n,i){function r(t){oe?f()&&(b(),v(t)):a()}function a(){ae=te.theme?"ui":"fc",n.addClass("fc"),te.isRTL?n.addClass("fc-rtl"):n.addClass("fc-ltr"),te.theme&&n.addClass("ui-widget"),oe=t("<div class='fc-content' />").prependTo(n),ie=new l(J,te),re=ie.render(),re&&n.prepend(re),h(te.defaultView),te.handleWindowResize&&t(window).resize(x),p()||s()}function s(){setTimeout(function(){!se.start&&p()&&g()},0)}function c(){se&&(Q("viewDestroy",se,se,se.element),se.triggerEventDestroy()),t(window).unbind("resize",x),ie.destroy(),oe.remove(),n.removeClass("fc fc-rtl ui-widget")}function f(){return n.is(":visible")}function p(){return t("body").is(":visible")}function h(t){se&&t==se.name||m(t)}function m(e){ge++,se&&(Q("viewDestroy",se,se,se.element),N(),se.triggerEventDestroy(),V(),se.element.remove(),ie.deactivateButton(se.name)),ie.activateButton(e),se=new Me[e](t("<div class='fc-view fc-view-"+e+"' />").appendTo(oe),J),g(),U(),ge--}function g(t){se.start&&!t&&ce.isWithin(se.intervalStart,se.intervalEnd)||f()&&v(t)}function v(t){ge++,se.start&&(Q("viewDestroy",se,se,se.element),N(),E()),V(),t&&(ce=se.incrementDate(ce,t)),se.render(ce.clone()),w(),U(),(se.afterRender||_)(),P(),O(),Q("viewRender",se,se,se.element),ge--,$()}function y(){f()&&(N(),E(),b(),w(),S())}function b(){ue=te.contentHeight?te.contentHeight:te.height?te.height-(re?re.height():0)-T(oe):Math.round(oe.width()/Math.max(te.aspectRatio,.5))}function w(){void 0===ue&&b(),ge++,se.setHeight(ue),se.setWidth(oe.width()),ge--,le=n.outerWidth()}function x(){if(!ge)if(se.start){var t=++me;setTimeout(function(){t==me&&!ge&&f()&&le!=(le=n.outerWidth())&&(ge++,y(),se.trigger("windowResize",he),ge--)},200)}else s()}function C(){E(),D()}function k(t){E(),S(t)}function S(t){f()&&(se.renderEvents(ve,t),se.trigger("eventAfterAllRender"))}function E(){se.triggerEventDestroy(),se.clearEvents(),se.clearEventData()}function $(){!te.lazyFetching||fe(se.start,se.end)?D():S()}function D(){pe(se.start,se.end)}function A(t){ve=t,S()}function M(t){k(t)}function P(){ie.updateTitle(se.title)}function O(){var t=J.getNow();t.isWithin(se.intervalStart,se.intervalEnd)?ie.disableButton("today"):ie.enableButton("today")}function j(t,e){se.select(t,e)}function N(){se&&se.unselect()}function F(){g(-1)}function H(){g(1)}function L(){ce.add("years",-1),g()}function z(){ce.add("years",1),g()}function I(){ce=J.getNow(),g()}function R(t){ce=J.moment(t),g()}function Y(t){ce.add(e.duration(t)),g()}function B(){return ce.clone()}function V(){oe.css({width:"100%",height:oe.height(),overflow:"hidden"})}function U(){oe.css({width:"",height:"",overflow:""})}function G(){return J}function Z(){return se}function X(t,e){return void 0===e?te[t]:(("height"==t||"contentHeight"==t||"aspectRatio"==t)&&(te[t]=e,y()),void 0)}function Q(t,e){return te[t]?te[t].apply(e||he,Array.prototype.slice.call(arguments,2)):void 0}var J=this;i=i||{};var K,te=o({},Ee,i);K=te.lang in $e?$e[te.lang]:$e[Ee.lang],K&&(te=o({},Ee,K,i)),te.isRTL&&(te=o({},Ee,De,K||{}
112,i)),J.options=te,J.render=r,J.destroy=c,J.refetchEvents=C,J.reportEvents=A,J.reportEventChange=M,J.rerenderEvents=k,J.changeView=h,J.select=j,J.unselect=N,J.prev=F,J.next=H,J.prevYear=L,J.nextYear=z,J.today=I,J.gotoDate=R,J.incrementDate=Y,J.getDate=B,J.getCalendar=G,J.getView=Z,J.option=X,J.trigger=Q;var ee=d(e.langData(te.lang));if(te.monthNames&&(ee._months=te.monthNames),te.monthNamesShort&&(ee._monthsShort=te.monthNamesShort),te.dayNames&&(ee._weekdays=te.dayNames),te.dayNamesShort&&(ee._weekdaysShort=te.dayNamesShort),null!=te.firstDay){var ne=d(ee._week);ne.dow=te.firstDay,ee._week=ne}J.defaultAllDayEventDuration=e.duration(te.defaultAllDayEventDuration),J.defaultTimedEventDuration=e.duration(te.defaultTimedEventDuration),J.moment=function(){var t;return"local"===te.timezone?(t=Ae.moment.apply(null,arguments),t.hasTime()&&t.local()):t="UTC"===te.timezone?Ae.moment.utc.apply(null,arguments):Ae.moment.parseZone.apply(null,arguments),t._lang=ee,t},J.getIsAmbigTimezone=function(){return"local"!==te.timezone&&"UTC"!==te.timezone},J.rezoneDate=function(t){return J.moment(t.toArray())},J.getNow=function(){var t=te.now;return"function"==typeof t&&(t=t()),J.moment(t)},J.calculateWeekNumber=function(t){var e=te.weekNumberCalculation;return"function"==typeof e?e(t):"local"===e?t.week():"ISO"===e.toUpperCase()?t.isoWeek():void 0},J.getEventEnd=function(t){return t.end?t.end.clone():J.getDefaultEventEnd(t.allDay,t.start)},J.getDefaultEventEnd=function(t,e){var n=e.clone();return t?n.stripTime().add(J.defaultAllDayEventDuration):n.add(J.defaultTimedEventDuration),J.getIsAmbigTimezone()&&n.stripZone(),n},J.formatRange=function(t,e,n){return"function"==typeof n&&(n=n.call(J,te,ee)),q(t,e,n,null,te.isRTL)},J.formatDate=function(t,e){return"function"==typeof e&&(e=e.call(J,te,ee)),W(t,e)},u.call(J,te);var ie,re,oe,ae,se,le,ue,ce,de,fe=J.isFetchNeeded,pe=J.fetchEvents,he=n[0],me=0,ge=0,ve=[];ce=null!=te.defaultDate?J.moment(te.defaultDate):J.getNow(),te.droppable&&t(document).bind("dragstart",function(e,n){var i=e.target,r=t(i);if(!r.parents(".fc").length){var o=te.dropAccept;(t.isFunction(o)?o.call(i,r):r.is(o))&&(de=i,se.dragStart(de,e,n))}}).bind("dragstop",function(t,e){de&&(se.dragStop(de,t,e),de=null)})}function l(e,n){function i(){f=n.theme?"ui":"fc";var e=n.header;return e?p=t("<table class='fc-header' style='width:100%'/>").append(t("<tr/>").append(o("left")).append(o("center")).append(o("right"))):void 0}function r(){p.remove()}function o(i){var r=t("<td class='fc-header-"+i+"'/>"),o=n.header[i];return o&&t.each(o.split(" "),function(i){i>0&&r.append("<span class='fc-header-space'/>");var o;t.each(this.split(","),function(i,a){if("title"==a)r.append("<span class='fc-header-title'><h2> </h2></span>"),o&&o.addClass(f+"-corner-right"),o=null;else{var s;if(e[a]?s=e[a]:Me[a]&&(s=function(){h.removeClass(f+"-state-hover"),e.changeView(a)}),s){var l,u=D(n.themeButtonIcons,a),c=D(n.buttonIcons,a),d=D(n.defaultButtonText,a),p=D(n.buttonText,a);l=p?A(p):u&&n.theme?"<span class='ui-icon ui-icon-"+u+"'></span>":c&&!n.theme?"<span class='fc-icon fc-icon-"+c+"'></span>":A(d||a);var h=t("<span class='fc-button fc-button-"+a+" "+f+"-state-default'>"+l+"</span>").click(function(){h.hasClass(f+"-state-disabled")||s()}).mousedown(function(){h.not("."+f+"-state-active").not("."+f+"-state-disabled").addClass(f+"-state-down")}).mouseup(function(){h.removeClass(f+"-state-down")}).hover(function(){h.not("."+f+"-state-active").not("."+f+"-state-disabled").addClass(f+"-state-hover")},function(){h.removeClass(f+"-state-hover").removeClass(f+"-state-down")}).appendTo(r);P(h),o||h.addClass(f+"-corner-left"),o=h}}}),o&&o.addClass(f+"-corner-right")}),r}function a(t){p.find("h2").html(t)}function s(t){p.find("span.fc-button-"+t).addClass(f+"-state-active")}function l(t){p.find("span.fc-button-"+t).removeClass(f+"-state-active")}function u(t){p.find("span.fc-button-"+t).addClass(f+"-state-disabled")}function c(t){p.find("span.fc-button-"+t).removeClass(f+"-state-disabled")}var d=this;d.render=i,d.destroy=r,d.updateTitle=a,d.activateButton=s,d.deactivateButton=l,d.disableButton=u,d.enableButton=c;var f,p=t([])}function u(e){function n(t,e){return!S||t.clone().stripZone()<S.clone().stripZone()||e.clone().stripZone()>_.clone().stripZone()}function i(t,e){S=t,_=e,L=[];var n=++O,i=P.length;j=i;for(var o=0;i>o;o++)r(P[o],n)}function r(t,e){o(t,function(n){if(e==O){if(n)for(var i=0;i<n.length;i++){var r=y(n[i],t);r&&L.push(r)}j--,j||D(L)}})}function o(n,i){var r,a,s=Ae.sourceFetchers;for(r=0;r<s.length;r++){if(a=s[r].call(k,n,S.clone(),_.clone(),e.timezone,i),a===!0)return;if("object"==typeof a)return o(a,i),void 0}var l=n.events;if(l)t.isFunction(l)?(g(),l.call(k,S.clone(),_.clone(),e.timezone,function(t){i(t),v()})):t.isArray(l)?i(l):i();else{var u=n.url;if(u){var c,d=n.success,f=n.error,p=n.complete;c=t.isFunction(n.data)?n.data():n.data;var h=t.extend({},c||{}),m=F(n.startParam,e.startParam),y=F(n.endParam,e.endParam),b=F(n.timezoneParam,e.timezoneParam);m&&(h[m]=S.format()),y&&(h[y]=_.format()),e.timezone&&"local"!=e.timezone&&(h[b]=e.timezone),g(),t.ajax(t.extend({},Pe,n,{data:h,success:function(e){e=e||[];var n=N(d,this,arguments);t.isArray(n)&&(e=n),i(e)},error:function(){N(f,this,arguments),i()},complete:function(){N(p,this,arguments),v()}}))}else i()}}function a(t){t=s(t),t&&(j++,r(t,O))}function s(e){return t.isFunction(e)||t.isArray(e)?e={events:e}:"string"==typeof e&&(e={url:e}),"object"==typeof e?(x(e),P.push(e),e):void 0}function l(e){P=t.grep(P,function(t){return!T(t,e)}),L=t.grep(L,function(t){return!T(t.source,e)}),D(L)}function u(t){t.start=k.moment(t.start),t.end&&(t.end=k.moment(t.end)),b(t),d(t),D(L)}function d(t){var e,n,i,r;for(e=0;e<L.length;e++)if(n=L[e],n._id==t._id&&n!==t)for(i=0;i<W.length;i++)r=W[i],void 0!==t[r]&&(n[r]=t[r])}function f(t,e){var n=y(t);
112n&&(n.source||(e&&(M.events.push(n),n.source=M),L.push(n)),D(L))}function h(e){var n;if(e){if(!t.isFunction(e)){var i=e+"";e=function(t){return t._id==i}}for(L=t.grep(L,e,!0),n=0;n<P.length;n++)t.isArray(P[n].events)&&(P[n].events=t.grep(P[n].events,e,!0))}else for(L=[],n=0;n<P.length;n++)t.isArray(P[n].events)&&(P[n].events=[]);D(L)}function m(e){return t.isFunction(e)?t.grep(L,e):e?(e+="",t.grep(L,function(t){return t._id==e})):L}function g(){H++||E("loading",null,!0,$())}function v(){--H||E("loading",null,!1,$())}function y(n,i){var r,o,a,s,l={};return e.eventDataTransform&&(n=e.eventDataTransform(n)),i&&i.eventDataTransform&&(n=i.eventDataTransform(n)),r=k.moment(n.start||n.date),r.isValid()&&(o=null,!n.end||(o=k.moment(n.end),o.isValid()))?(a=n.allDay,void 0===a&&(s=F(i?i.allDayDefault:void 0,e.allDayDefault),a=void 0!==s?s:!(r.hasTime()||o&&o.hasTime())),a?(r.hasTime()&&r.stripTime(),o&&o.hasTime()&&o.stripTime()):(r.hasTime()||(r=k.rezoneDate(r)),o&&!o.hasTime()&&(o=k.rezoneDate(o))),t.extend(l,n),i&&(l.source=i),l._id=n._id||(void 0===n.id?"_fc"+Oe++:n.id+""),l.className=n.className?"string"==typeof n.className?n.className.split(/\s+/):n.className:[],l.allDay=a,l.start=r,l.end=o,e.forceEventDuration&&!l.end&&(l.end=A(l)),c(l),l):void 0}function b(t,e,n){var i,r,o,a=t._allDay,s=t._start,l=t._end,u=!1;return e||n||(e=t.start,n=t.end),i=t.allDay!=a?t.allDay:!(e||n).hasTime(),i&&(e&&(e=e.clone().stripTime()),n&&(n=n.clone().stripTime())),e&&(r=i?p(e,s.clone().stripTime()):p(e,s)),i!=a?u=!0:n&&(o=p(n||k.getDefaultEventEnd(i,e||s),e||s).subtract(p(l||k.getDefaultEventEnd(a,s),s))),w(m(t._id),u,i,r,o)}function w(n,i,r,o,a){var s=k.getIsAmbigTimezone(),l=[];return t.each(n,function(t,n){var u=n._allDay,d=n._start,f=n._end,p=null!=r?r:u,h=d.clone(),m=!i&&f?f.clone():null;p?(h.stripTime(),m&&m.stripTime()):(h.hasTime()||(h=k.rezoneDate(h)),m&&!m.hasTime()&&(m=k.rezoneDate(m))),m||!e.forceEventDuration&&!+a||(m=k.getDefaultEventEnd(p,h)),h.add(o),m&&m.add(o).add(a),s&&(+o||+a)&&(h.stripZone(),m&&m.stripZone()),n.allDay=p,n.start=h,n.end=m,c(n),l.push(function(){n.allDay=u,n.start=d,n.end=f,c(n)})}),function(){for(var t=0;t<l.length;t++)l[t]()}}function x(t){t.className?"string"==typeof t.className&&(t.className=t.className.split(/\s+/)):t.className=[];for(var e=Ae.sourceNormalizers,n=0;n<e.length;n++)e[n].call(k,t)}function T(t,e){return t&&e&&C(t)==C(e)}function C(t){return("object"==typeof t?t.events||t.url:"")||t}var k=this;k.isFetchNeeded=n,k.fetchEvents=i,k.addEventSource=a,k.removeEventSource=l,k.updateEvent=u,k.renderEvent=f,k.removeEvents=h,k.clientEvents=m,k.mutateEvent=b;var S,_,E=k.trigger,$=k.getView,D=k.reportEvents,A=k.getEventEnd,M={events:[]},P=[M],O=0,j=0,H=0,L=[],z=e.eventSources||[];e.events&&z.push(e.events);for(var I=0;I<z.length;I++)s(z[I]);var W=["title","url","allDay","className","editable","color","backgroundColor","borderColor","textColor"]}function c(t){t._allDay=t.allDay,t._start=t.start.clone(),t._end=t.end?t.end.clone():null}function d(t){var e=function(){};return e.prototype=t,new e}function f(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}function p(t,n){return e.duration({days:t.clone().stripTime().diff(n.clone().stripTime(),"days"),ms:t.time()-n.time()})}function h(t){return"[object Date]"===Object.prototype.toString.call(t)||t instanceof Date}function m(e,n,i){e.unbind("mouseover").mouseover(function(e){for(var r,o,a,s=e.target;s!=this;)r=s,s=s.parentNode;void 0!==(o=r._fci)&&(r._fci=void 0,a=n[o],i(a.event,a.element,a),t(e.target).trigger(e)),e.stopPropagation()})}function g(e,n,i){for(var r,o=0;o<e.length;o++)r=t(e[o]),r.width(Math.max(0,n-y(r,i)))}function v(e,n,i){for(var r,o=0;o<e.length;o++)r=t(e[o]),r.height(Math.max(0,n-T(r,i)))}function y(t,e){return b(t)+x(t)+(e?w(t):0)}function b(e){return(parseFloat(t.css(e[0],"paddingLeft",!0))||0)+(parseFloat(t.css(e[0],"paddingRight",!0))||0)}function w(e){return(parseFloat(t.css(e[0],"marginLeft",!0))||0)+(parseFloat(t.css(e[0],"marginRight",!0))||0)}function x(e){return(parseFloat(t.css(e[0],"borderLeftWidth",!0))||0)+(parseFloat(t.css(e[0],"borderRightWidth",!0))||0)}function T(t,e){return C(t)+S(t)+(e?k(t):0)}function C(e){return(parseFloat(t.css(e[0],"paddingTop",!0))||0)+(parseFloat(t.css(e[0],"paddingBottom",!0))||0)}function k(e){return(parseFloat(t.css(e[0],"marginTop",!0))||0)+(parseFloat(t.css(e[0],"marginBottom",!0))||0)}function S(e){return(parseFloat(t.css(e[0],"borderTopWidth",!0))||0)+(parseFloat(t.css(e[0],"borderBottomWidth",!0))||0)}function _(){}function E(t,e){return t-e}function $(t){return Math.max.apply(Math,t)}function D(t,e){if(t=t||{},void 0!==t[e])return t[e];for(var n,i=e.split(/(?=[A-Z])/),r=i.length-1;r>=0;r--)if(n=t[i[r].toLowerCase()],void 0!==n)return n;return t["default"]}function A(t){return(t+"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,""").replace(/\n/g,"<br />")}function M(t){return t.replace(/&.*?;/g,"")}function P(t){t.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return!1})}function O(t){t.children().removeClass("fc-first fc-last").filter(":first-child").addClass("fc-first").end().filter(":last-child").addClass("fc-last")}function j(t,e){var n=t.source||{},i=t.color,r=n.color,o=e("eventColor"),a=t.backgroundColor||i||n.backgroundColor||r||e("eventBackgroun
112dColor")||o,s=t.borderColor||i||n.borderColor||r||e("eventBorderColor")||o,l=t.textColor||n.textColor||e("eventTextColor"),u=[];return a&&u.push("background-color:"+a),s&&u.push("border-color:"+s),l&&u.push("color:"+l),u.join(";")}function N(e,n,i){if(t.isFunction(e)&&(e=[e]),e){var r,o;for(r=0;r<e.length;r++)o=e[r].apply(n,i)||o;return o}}function F(){for(var t=0;t<arguments.length;t++)if(void 0!==arguments[t])return arguments[t]}function H(n,i,r){var o,a,s,l,u=n[0],c=1==n.length&&"string"==typeof u;return e.isMoment(u)?(l=e.apply(null,n),u._ambigTime&&(l._ambigTime=!0),u._ambigZone&&(l._ambigZone=!0)):h(u)||void 0===u?l=e.apply(null,n):(o=!1,a=!1,c?Ne.test(u)?(u+="-01",n=[u],o=!0,a=!0):(s=Fe.exec(u))&&(o=!s[5],a=!0):t.isArray(u)&&(a=!0),l=i?e.utc.apply(e,n):e.apply(null,n),o?(l._ambigTime=!0,l._ambigZone=!0):r&&(a?l._ambigZone=!0:c&&l.zone(u))),new L(l)}function L(t){f(this,t)}function z(t){var e,n=[],i=!1,r=!1;for(e=0;e<t.length;e++)n.push(Ae.moment(t[e])),i=i||n[e]._ambigTime,r=r||n[e]._ambigZone;for(e=0;e<n.length;e++)i?n[e].stripTime():r&&n[e].stripZone();return n}function I(t,n){return e.fn.format.call(t,n)}function W(t,e){return R(t,U(e))}function R(t,e){var n,i="";for(n=0;n<e.length;n++)i+=Y(t,e[n]);return i}function Y(t,e){var n,i;return"string"==typeof e?e:(n=e.token)?He[n]?He[n](t):I(t,n):e.maybe&&(i=R(t,e.maybe),i.match(/[1-9]/))?i:""}function q(t,e,n,i,r){return t=Ae.moment.parseZone(t),e=Ae.moment.parseZone(e),n=t.lang().longDateFormat(n)||n,i=i||" - ",B(t,e,U(n),i,r)}function B(t,e,n,i,r){var o,a,s,l,u="",c="",d="",f="",p="";for(a=0;a<n.length&&(o=V(t,e,n[a]),o!==!1);a++)u+=o;for(s=n.length-1;s>a&&(o=V(t,e,n[s]),o!==!1);s--)c=o+c;for(l=a;s>=l;l++)d+=Y(t,n[l]),f+=Y(e,n[l]);return(d||f)&&(p=r?f+i+d:d+i+f),u+p+c}function V(t,e,n){var i,r;return"string"==typeof n?n:(i=n.token)&&(r=Le[i.charAt(0)],r&&t.isSame(e,r))?I(t,i):!1}function U(t){return t in ze?ze[t]:ze[t]=G(t)}function G(t){for(var e,n=[],i=/\[([^\]]*)\]|\(([^\)]*)\)|(LT|(\w)\4*o?)|([^\w\[\(]+)/g;e=i.exec(t);)e[1]?n.push(e[1]):e[2]?n.push({maybe:G(e[2])}):e[3]?n.push({token:e[3]}):e[5]&&n.push(e[5]);return n}function Z(t,e){function n(t,e){return t.clone().stripTime().add("months",e).startOf("month")}function i(t){r.intervalStart=t.clone().stripTime().startOf("month"),r.intervalEnd=r.intervalStart.clone().add("months",1),r.start=r.intervalStart.clone().startOf("week"),r.start=r.skipHiddenDays(r.start),r.end=r.intervalEnd.clone().add("days",(7-r.intervalEnd.weekday())%7),r.end=r.skipHiddenDays(r.end,-1,!0);var n=Math.ceil(r.end.diff(r.start,"weeks",!0));"fixed"==r.opt("weekMode")&&(r.end.add("weeks",6-n),n=6),r.title=e.formatDate(r.intervalStart,r.opt("titleFormat")),r.renderBasic(n,r.getCellsPerWeek(),!0)}var r=this;r.incrementDate=n,r.render=i,J.call(r,t,e,"month")}function X(t,e){function n(t,e){return t.clone().stripTime().add("weeks",e).startOf("week")}function i(t){r.intervalStart=t.clone().stripTime().startOf("week"),r.intervalEnd=r.intervalStart.clone().add("weeks",1),r.start=r.skipHiddenDays(r.intervalStart),r.end=r.skipHiddenDays(r.intervalEnd,-1,!0),r.title=e.formatRange(r.start,r.end.clone().subtract(1),r.opt("titleFormat")," â "),r.renderBasic(1,r.getCellsPerWeek(),!1)}var r=this;r.incrementDate=n,r.render=i,J.call(r,t,e,"basicWeek")}function Q(t,e){function n(t,e){var n=t.clone().stripTime().add("days",e);return n=r.skipHiddenDays(n,0>e?-1:1)}function i(t){r.start=r.intervalStart=t.clone().stripTime(),r.end=r.intervalEnd=r.start.clone().add("days",1),r.title=e.formatDate(r.start,r.opt("titleFormat")),r.renderBasic(1,1,!1)}var r=this;r.incrementDate=n,r.render=i,J.call(r,t,e,"basicDay")}function J(e,n,i){function r(t,e,n){Z=t,X=e,Q=n,o(),L||a(),s()}function o(){ie=ae("theme")?"ui":"fc",re=ae("columnFormat"),oe=ae("weekNumbers")}function a(){q=t("<div class='fc-event-container' style='position:absolute;z-index:8;top:0;left:0'/>").appendTo(e)}function s(){var n=l();N&&N.remove(),N=t(n).appendTo(e),F=N.find("thead"),H=F.find(".fc-day-header"),L=N.find("tbody"),z=L.find("tr"),I=L.find(".fc-day"),W=z.find("td:first-child"),R=z.eq(0).find(".fc-day > div"),Y=z.eq(0).find(".fc-day-content > div"),O(F.add(F.find("tr"))),O(z),z.eq(0).addClass("fc-first"),z.filter(":last").addClass("fc-last"),I.each(function(e,n){var i=de(Math.floor(e/X),e%X);se("dayRender",j,i,t(n))}),h(I)}function l(){var t="<table class='fc-border-separate' style='width:100%' cellspacing='0'>"+u()+c()+"</table>";return t}function u(){var t,e,n=ie+"-widget-header",i="";for(i+="<thead><tr>",oe&&(i+="<th class='fc-week-number "+n+"'>"+A(ae("weekNumberTitle"))+"</th>"),t=0;X>t;t++)e=de(0,t),i+="<th class='fc-day-header fc-"+je[e.day()]+" "+n+"'>"+A(he(e,re))+"</th>";return i+="</tr></thead>"}function c(){var t,e,n,i=ie+"-widget-content",r="";for(r+="<tbody>",t=0;Z>t;t++){for(r+="<tr class='fc-week'>",oe&&(n=de(t,0),r+="<td class='fc-week-number "+i+"'><div>"+A(me(n))+"</div></td>"),e=0;X>e;e++)n=de(t,e),r+=d(n);r+="</tr>"}return r+="</tbody>"}function d(t){var e=j.intervalStart.month(),i=n.getNow().stripTime(),r="",o=ie+"-widget-content",a=["fc-day","fc-"+je[t.day()],o];return t.month()!=e&&a.push("fc-other-month"),t.isSame(i,"day")?a.push("fc-today",ie+"-state-highlight"):i>t?a.push("fc-past"):a.push("fc-future"),r+="<td class='"+a.join(" ")+"' data-date='"+t.format()+"'><div>",Q&&(r+="<div class='fc-day-number'>"+t.date()+"</div>"),r+="<div class='fc-day-content'><div style='position:relative'>
112 </div></div></div></td>"}function f(e){V=e;var n,i,r,o=Math.max(V-F.height(),0);"variable"==ae("weekMode")?n=i=Math.floor(o/(1==Z?2:6)):(n=Math.floor(o/Z),i=o-n*(Z-1)),W.each(function(e,o){Z>e&&(r=t(o),r.find("> div").css("min-height",(e==Z-1?i:n)-T(r)))})}function p(t){B=t,ee.clear(),ne.clear(),G=0,oe&&(G=F.find("th.fc-week-number").outerWidth()),U=Math.floor((B-G)/X),g(H.slice(0,-1),U)}function h(t){t.click(m).mousedown(ce)}function m(e){if(!ae("selectable")){var i=n.moment(t(this).data("date"));se("dayClick",this,i,e)}}function v(t,e,n){n&&J.build();for(var i=pe(t,e),r=0;r<i.length;r++){var o=i[r];h(y(o.row,o.leftCol,o.row,o.rightCol))}}function y(t,n,i,r){var o=J.rect(t,n,i,r,e);return le(o,e)}function b(t){return t.clone().stripTime().add("days",1)}function w(t,e){v(t,e,!0)}function x(){ue()}function C(t,e){var n=fe(t),i=I[n.row*X+n.col];se("dayClick",i,t,e)}function k(t,e){te.start(function(t){if(ue(),t){var e=de(t),i=e.clone().add(n.defaultAllDayEventDuration);v(e,i)}},e)}function S(t,e,n){var i=te.stop();ue(),i&&se("drop",t,de(i),e,n)}function _(t){return ee.left(t)}function E(t){return ee.right(t)}function $(t){return ne.left(t)}function D(t){return ne.right(t)}function M(t){return z.eq(t)}var j=this;j.renderBasic=r,j.setHeight=f,j.setWidth=p,j.renderDayOverlay=v,j.defaultSelectionEnd=b,j.renderSelection=w,j.clearSelection=x,j.reportDayClick=C,j.dragStart=k,j.dragStop=S,j.getHoverListener=function(){return te},j.colLeft=_,j.colRight=E,j.colContentLeft=$,j.colContentRight=D,j.getIsCellAllDay=function(){return!0},j.allDayRow=M,j.getRowCnt=function(){return Z},j.getColCnt=function(){return X},j.getColWidth=function(){return U},j.getDaySegmentContainer=function(){return q},ge.call(j,e,n,i),Te.call(j),xe.call(j),K.call(j);var N,F,H,L,z,I,W,R,Y,q,B,V,U,G,Z,X,Q,J,te,ee,ne,ie,re,oe,ae=j.opt,se=j.trigger,le=j.renderOverlay,ue=j.clearOverlays,ce=j.daySelectionMousedown,de=j.cellToDate,fe=j.dateToCell,pe=j.rangeToSegments,he=n.formatDate,me=n.calculateWeekNumber;P(e.addClass("fc-grid")),J=new Ce(function(e,n){var i,r,o;H.each(function(e,a){i=t(a),r=i.offset().left,e&&(o[1]=r),o=[r],n[e]=o}),o[1]=r+i.outerWidth(),z.each(function(n,a){Z>n&&(i=t(a),r=i.offset().top,n&&(o[1]=r),o=[r],e[n]=o)}),o[1]=r+i.outerHeight()}),te=new ke(J),ee=new _e(function(t){return R.eq(t)}),ne=new _e(function(t){return Y.eq(t)})}function K(){function t(t,e){n.renderDayEvents(t,e)}function e(){n.getDaySegmentContainer().empty()}var n=this;n.renderEvents=t,n.clearEvents=e,ve.call(n)}function te(t,e){function n(t,e){return t.clone().stripTime().add("weeks",e).startOf("week")}function i(t){r.intervalStart=t.clone().stripTime().startOf("week"),r.intervalEnd=r.intervalStart.clone().add("weeks",1),r.start=r.skipHiddenDays(r.intervalStart),r.end=r.skipHiddenDays(r.intervalEnd,-1,!0),r.title=e.formatRange(r.start,r.end.clone().subtract(1),r.opt("titleFormat")," â "),r.renderAgenda(r.getCellsPerWeek())}var r=this;r.incrementDate=n,r.render=i,re.call(r,t,e,"agendaWeek")}function ee(t,e){function n(t,e){var n=t.clone().stripTime().add("days",e);return n=r.skipHiddenDays(n,0>e?-1:1)}function i(t){r.start=r.intervalStart=t.clone().stripTime(),r.end=r.intervalEnd=r.start.clone().add("days",1),r.title=e.formatDate(r.start,r.opt("titleFormat")),r.renderAgenda(1)}var r=this;r.incrementDate=n,r.render=i,re.call(r,t,e,"agendaDay")}function ne(t,e){return e.longDateFormat("LT").replace(":mm","(:mm)").replace(/(\Wmm)$/,"($1)").replace(/\s*a$/i,"a")}function ie(t,e){return e.longDateFormat("LT").replace(/\s*a$/i,"")}function re(n,i,r){function o(t){Ee=t,a(),V?l():s()}function a(){Oe=ze("theme")?"ui":"fc",Ne=ze("isRTL"),Le=ze("columnFormat"),Fe=e.duration(ze("minTime")),He=e.duration(ze("maxTime")),ve=e.duration(ze("slotDuration")),be=ze("snapDuration"),be=be?e.duration(be):ve}function s(){var i,r,o,a,s=Oe+"-widget-header",u=Oe+"-widget-content",c=ve.asMinutes()%15===0;for(l(),ee=t("<div style='position:absolute;z-index:2;left:0;width:100%'/>").appendTo(n),ze("allDaySlot")?(ne=t("<div class='fc-event-container' style='position:absolute;z-index:8;top:0;left:0'/>").appendTo(ee),i="<table style='width:100%' class='fc-agenda-allday' cellspacing='0'><tr><th class='"+s+" fc-agenda-axis'>"+(ze("allDayHTML")||A(ze("allDayText")))+"</th><td><div class='fc-day-content'><div style='position:relative'/></div></td><th class='"+s+" fc-agenda-gutter'> </th></tr></table>",ie=t(i).appendTo(ee),re=ie.find("tr"),y(re.find("td")),ee.append("<div class='fc-agenda-divider "+s+"'><div class='fc-agenda-divider-inner'/></div>")):ne=t([]),ae=t("<div style='position:absolute;width:100%;overflow-x:hidden;overflow-y:auto'/>").appendTo(ee),se=t("<div style='position:relative;width:100%;overflow:hidden'/>
112").appendTo(ae),le=t("<div class='fc-event-container' style='position:absolute;z-index:8;top:0;left:0'/>").appendTo(se),i="<table class='fc-agenda-slots' style='width:100%' cellspacing='0'><tbody>",r=e.duration(+Fe),$e=0;He>r;)o=B.start.clone().time(r),a=o.minutes(),i+="<tr class='fc-slot"+$e+" "+(a?"fc-minor":"")+"'><th class='fc-agenda-axis "+s+"'>"+(c&&a?" ":A(Xe(o,ze("axisFormat"))))+"</th><td class='"+u+"'><div style='position:relative'> </div></td></tr>",r.add(ve),$e++;i+="</tbody></table>",ue=t(i).appendTo(se),b(ue.find("td"))}function l(){var e=u();V&&V.remove(),V=t(e).appendTo(n),U=V.find("thead"),G=U.find("th").slice(1,-1),Z=V.find("tbody"),X=Z.find("td").slice(0,-1),Q=X.find("> div"),J=X.find(".fc-day-content > div"),K=X.eq(0),te=Q.eq(0),O(U.add(U.find("tr"))),O(Z.add(Z.find("tr")))}function u(){var t="<table style='width:100%' class='fc-agenda-days fc-border-separate' cellspacing='0'>"+c()+d()+"</table>";return t}function c(){var t,e,n,i=Oe+"-widget-header",r="";for(r+="<thead><tr>",ze("weekNumbers")?(t=Ue(0,0),e=Qe(t),Ne?e+=ze("weekNumberTitle"):e=ze("weekNumberTitle")+e,r+="<th class='fc-agenda-axis fc-week-number "+i+"'>"+A(e)+"</th>"):r+="<th class='fc-agenda-axis "+i+"'> </th>",n=0;Ee>n;n++)t=Ue(0,n),r+="<th class='fc-"+je[t.day()]+" fc-col"+n+" "+i+"'>"+A(Xe(t,Le))+"</th>";return r+="<th class='fc-agenda-gutter "+i+"'> </th></tr></thead>"}function d(){var t,e,n,r,o,a=Oe+"-widget-header",s=Oe+"-widget-content",l=i.getNow().stripTime(),u="";for(u+="<tbody><tr><th class='fc-agenda-axis "+a+"'> </th>",n="",e=0;Ee>e;e++)t=Ue(0,e),o=["fc-col"+e,"fc-"+je[t.day()],s],t.isSame(l,"day")?o.push(Oe+"-state-highlight","fc-today"):l>t?o.push("fc-past"):o.push("fc-future"),r="<td class='"+o.join(" ")+"'><div><div class='fc-day-content'><div style='position:relative'> </div></div></div></td>",n+=r;return u+=n,u+="<td class='fc-agenda-gutter "+s+"'> </td></tr></tbody>"}function f(t){void 0===t&&(t=fe),fe=t,Je={};var e=Z.position().top,n=ae.position().top,i=Math.min(t-e,ue.height()+n+1);te.height(i-T(K)),ee.css("top",e),ae.height(i-n-1);var r=ue.find("tr:first").height()+1,o=ue.find("tr:eq(1)").height();ye=(r+o)/2,we=ve/be,Se=ye/we}function p(e){de=e,Me.clear(),Pe.clear();var n=U.find("th:first");ie&&(n=n.add(ie.find("th:first"))),n=n.add(ue.find("th:first")),pe=0,g(n.width("").each(function(e,n){pe=Math.max(pe,t(n).outerWidth())}),pe);var i=V.find(".fc-agenda-gutter");ie&&(i=i.add(ie.find("th.fc-agenda-gutter")));var r=ae[0].clientWidth;me=ae.width()-r,me?(g(i,me),i.show().prev().removeClass("fc-last")):i.hide().prev().addClass("fc-last"),he=Math.floor((r-pe)/Ee),g(G.slice(0,-1),he)}function h(){function t(){ae.scrollTop(n)}var n=F(e.duration(ze("scrollTime")))+1;t(),setTimeout(t,0)}function m(){h()}function y(t){t.click(w).mousedown(Be)}function b(t){t.click(w).mousedown(W)}function w(t){if(!ze("selectable")){var e=Math.min(Ee-1,Math.floor((t.pageX-V.offset().left-pe)/he)),n=Ue(0,e),r=this.parentNode.className.match(/fc-slot(\d+)/);if(r){var o=parseInt(r[1],10);n.add(Fe+o*ve),n=i.rezoneDate(n),Ie("dayClick",X[e],n,t)}else Ie("dayClick",X[e],n,t)}}function x(t,e,n){n&&De.build();for(var i=Ze(t,e),r=0;r<i.length;r++){var o=i[r];y(C(o.row,o.leftCol,o.row,o.rightCol))}}function C(t,e,n,i){var r=De.rect(t,e,n,i,ee);return We(r,ee)}function k(t,e){t=t.clone().stripZone(),e=e.clone().stripZone();for(var n=0;Ee>n;n++){var i=Ue(0,n),r=i.clone().add("days",1),o=t>i?t:i,a=e>r?r:e;if(a>o){var s=De.rect(0,n,0,n,se),l=N(o,i),u=N(a,i);s.top=l,s.height=u-l,b(We(s,se))}}}function S(t){return Me.left(t)}function _(t){return Pe.left(t)}function $(t){return Me.right(t)}function D(t){return Pe.right(t)}function M(t){return ze("allDaySlot")&&!t.row}function j(t){var n=Ue(0,t.col),r=t.row;return ze("allDaySlot")&&r--,r>=0&&(n.time(e.duration(Fe+r*be)),n=i.rezoneDate(n)),n}function N(t,n){return F(e.duration(t.clone().stripZone()-n.clone().stripTime()))}function F(t){if(Fe>t)return 0;if(t>=He)return ue.height();var e=(t-Fe)/ve,n=Math.floor(e),i=e-n,r=Je[n];void 0===r&&(r=Je[n]=ue.find("tr").eq(n).find("td div")[0].offsetTop);var o=r-1+i*ye;return o=Math.max(o,0)}function H(t){return t.hasTime()?t.clone().add(ve):t.clone().add("days",1)}function L(t,e){t.hasTime()||e.hasTime()?z(t,e):ze("allDaySlot")&&x(t,e,!0)}function z(e,n){var i=ze("selectHelper");if(De.build(),i){var r=Ge(e).col;if(r>=0&&Ee>r){var o=De.rect(0,r,0,r,se),a=N(e,e),s=N(n,e);if(s>a){if(o.top=a,o.height=s-a,o.left+=2,o.width-=5,t.isFunction(i)){var l=i(e,n);l&&(o.position="absolute",ce=t(l).css(o).appendTo(se))}else o.isStart=!0,o.isEnd=!0,ce=t(Ve({title:"",start:e,end:n,className:["fc-select-helper"],editable:!1},o)),ce.css("opacity",ze("dragOpacity"));ce&&(b(ce),se.append(ce),g(ce,o.width,!0),v(ce,o.height,!0))}}}else k(e,n)}function I(){Re(),ce&&(ce.remove(),ce=null)}function W(e){if(1==e.which&&ze("selectable")){qe(e);var n;Ae.start(function(t,e){if(I(),t&&t.col==e.col&&!M(t)){var i=j(e),r=j(t);n=[i,i.clone().add(be),r,r.clone().add(be)].sort(E),z(n[0],n[3])}else n=null},e),t(document).one("mouseup",function(t){Ae.stop(),n&&(+n[0]==+n[1]&&R(n[0],t),Ye(n[0],n[3],t))})}}function R(t,e){Ie("dayClick",X[Ge(t).col],t,e)}function Y(t,e){Ae.start(function(t){if(Re(),t){var e=j(t),n=e.clone();e.hasTime()?(n.add(i.defaultTimedEventDuration),k(e,n)):(n.add(i.defaultAllDayEventDuration),x(e,n))}},e)}function q(t,e,n){var i=Ae.stop();Re(),i&&Ie("drop",t,j(i),e,n)}var B=this;B.renderAgenda=o,B.setWidth=p,B.setHeight=f,B.afterRender=m,B.computeDateTop=N,B.getIsCellAllDay=M,B.allDayRow=function(){return re},B.getCoordinateGrid=function(){return De},B.getHoverListener=function(){return Ae},B.colLeft=S,B.colRight=$,B.colContentLeft=_,B.colContentRight=D,B.getDaySegmentContainer=function(){return ne},B.getSlotSegmentContainer=function(){return le},B.getSlotContainer=function(){return se},B.getRowCnt=function(){return 1},B.getColCnt=function(){return Ee},B.getColWidth=function(){return he},B.getSnapHeight=function(){return Se},B.getSnapDuration=function(){return be},B.getSlotHeight=function(){return ye},B.getSlotDuration=function(){return ve},B.getMinTime=function(){return Fe},B.getMaxTime=function(){return He},B.defaultSelectionEnd=H,B.renderDayOverlay=x,B.renderSelection=L,B.clearSelection=I,B.reportDayClick=R,B.dragStart=Y,B.dragStop=q,ge.call(B,n,i,r),Te.call(B),xe.call(B),oe.call(B);var V,U,G,Z,X,Q,J,K,te,ee,ne,ie,re,ae,se,le,ue,ce,de,fe,pe,he,me,ve,ye,be,we,Se,Ee,$e,De,Ae,Me,Pe,Oe,Ne,Fe,He,Le,ze=B.opt,Ie=B.trigger,We=B.renderOverlay,Re=B.clearOverlays,Ye=
112B.reportSelection,qe=B.unselect,Be=B.daySelectionMousedown,Ve=B.slotSegHtml,Ue=B.cellToDate,Ge=B.dateToCell,Ze=B.rangeToSegments,Xe=i.formatDate,Qe=i.calculateWeekNumber,Je={};P(n.addClass("fc-agenda")),De=new Ce(function(e,n){function i(t){return Math.max(l,Math.min(u,t))}var r,o,a;G.each(function(e,i){r=t(i),o=r.offset().left,e&&(a[1]=o),a=[o],n[e]=a}),a[1]=o+r.outerWidth(),ze("allDaySlot")&&(r=re,o=r.offset().top,e[0]=[o,o+r.outerHeight()]);for(var s=se.offset().top,l=ae.offset().top,u=l+ae.outerHeight(),c=0;$e*we>c;c++)e.push([i(s+Se*c),i(s+Se*(c+1))])}),Ae=new ke(De),Me=new _e(function(t){return Q.eq(t)}),Pe=new _e(function(t){return J.eq(t)})}function oe(){function n(t,e){var n,i=t.length,o=[],s=[];for(n=0;i>n;n++)t[n].allDay?o.push(t[n]):s.push(t[n]);p("allDaySlot")&&(U(o,e),x()),a(r(s),e)}function i(){C().empty(),k().empty()}function r(t){var e,n,i,r,a,s=P(),l=G(),u=Z(),c=[]; 113for(n=0;s>n;n++)for(e=M(0,n),a=o(t,e.clone().time(l),e.clone().time(u)),a=ae(a),i=0;i<a.length;i++)r=a[i],r.col=n,c.push(r);return c}function o(t,e,n){e=e.clone().stripZone(),n=n.clone().stripZone();var i,r,o,a,s,l,u,c,d=[],f=t.length;for(i=0;f>i;i++)r=t[i],o=r.start.clone().stripZone(),a=K(r).stripZone(),a>e&&n>o&&(e>o?(s=e.clone(),u=!1):(s=o,u=!0),a>n?(l=n.clone(),c=!1):(l=a,c=!0),d.push({event:r,start:s,end:l,isStart:u,isEnd:c}));return d.sort(me)}function a(e,n){var i,r,o,a,u,c,d,f,g,v,b,w,x,C,S,E,A=e.length,M="",P=k(),O=p("isRTL");for(i=0;A>i;i++)r=e[i],o=r.event,a=_(r.start,r.start),u=_(r.end,r.start),c=$(r.col),d=D(r.col),f=d-c,d-=.025*f,f=d-c,g=f*(r.forwardCoord-r.backwardCoord),p("slotEventOverlap")&&(g=Math.max(2*(g-10),g)),O?(b=d-r.backwardCoord*f,v=b-g):(v=c+r.backwardCoord*f,b=v+g),v=Math.max(v,c),b=Math.min(b,d),g=b-v,r.top=a,r.left=v,r.outerWidth=g,r.outerHeight=u-a,M+=s(o,r);for(P[0].innerHTML=M,w=P.children(),i=0;A>i;i++)r=e[i],o=r.event,x=t(w[i]),C=h("eventRender",o,o,x),C===!1?x.remove():(C&&C!==!0&&(x.remove(),x=t(C).css({position:"absolute",top:r.top,left:r.left}).appendTo(P)),r.element=x,o._id===n?l(o,x,r):x[0]._fci=i,I(o,x));for(m(P,e,l),i=0;A>i;i++)r=e[i],(x=r.element)&&(r.vsides=T(x,!0),r.hsides=y(x,!0),S=x.find(".fc-event-title"),S.length&&(r.contentTop=S[0].offsetTop));for(i=0;A>i;i++)r=e[i],(x=r.element)&&(x[0].style.width=Math.max(0,r.outerWidth-r.hsides)+"px",E=Math.max(0,r.outerHeight-r.vsides),x[0].style.height=E+"px",o=r.event,void 0!==r.contentTop&&E-r.contentTop<10&&(x.find("div.fc-event-time").text(Q(o.start,p("timeFormat"))+" - "+o.title),x.find("div.fc-event-title").remove()),h("eventAfterRender",o,o,x))}function s(t,e){var n="<",i=t.url,r=j(t,p),o=["fc-event","fc-event-vert"];return g(t)&&o.push("fc-event-draggable"),e.isStart&&o.push("fc-event-start"),e.isEnd&&o.push("fc-event-end"),o=o.concat(t.className),t.source&&(o=o.concat(t.source.className||[])),n+=i?"a href='"+A(t.url)+"'":"div",n+=" class='"+o.join(" ")+"' style='position:absolute;top:"+e.top+"px;left:"+e.left+"px;"+r+"'><div class='fc-event-inner'><div class='fc-event-time'>",n+=t.end?A(J(t.start,t.end,p("timeFormat"))):A(Q(t.start,p("timeFormat"))),n+="</div><div class='fc-event-title'>"+A(t.title||"")+"</div></div><div class='fc-event-bg'></div>",e.isEnd&&b(t)&&(n+="<div class='ui-resizable-handle ui-resizable-s'>=</div>"),n+="</"+(i?"a":"div")+">"}function l(t,e,n){var i=e.find("div.fc-event-time");g(t)&&c(t,e,i),n.isEnd&&b(t)&&d(t,e,i),w(t,e)}function u(t,n,i){function r(){u||(n.width(o).height("").draggable("option","grid",null),u=!0)}var o,a,s,l=i.isStart,u=!0,c=S(),d=O(),f=G(),m=L(),g=H(),y=F(),b=N();n.draggable({opacity:p("dragOpacity","month"),revertDuration:p("dragRevertDuration"),start:function(e,i){h("eventDragStart",n,t,e,i),R(t,n),o=n.width(),c.start(function(e,i){if(V(),e){a=!1;var o=M(0,i.col),c=M(0,e.col);s=c.diff(o,"days"),e.row?l?u&&(n.width(d-10),v(n,X.defaultTimedEventDuration/m*g),n.draggable("option","grid",[d,1]),u=!1):a=!0:(B(t.start.clone().add("days",s),K(t).add("days",s)),r()),a=a||u&&!s}else r(),a=!0;n.draggable("option","revert",a)},e,"drag")},stop:function(i,o){if(c.stop(),V(),h("eventDragStop",n,t,i,o),a)r(),n.css("filter",""),W(t,n);else{var l,d,p=t.start.clone().add("days",s);u||(d=Math.round((n.offset().top-z().offset().top)/b),l=e.duration(f+d*y),p=X.rezoneDate(p.clone().time(l))),Y
113(this,t,p,i,o)}}})}function c(t,e,n){function i(){V(),s&&(u?(n.hide(),e.draggable("option","grid",null),B(b,w)):(r(),n.css("display",""),e.draggable("option","grid",[C,k])))}function r(){var e;b&&(e=t.end?J(b,w,p("timeFormat")):Q(b,p("timeFormat")),n.text(e))}var o,a,s,l,u,c,d,m,g,v,y,b,w,x=f.getCoordinateGrid(),T=P(),C=O(),k=N(),S=F();e.draggable({scroll:!1,grid:[C,k],axis:1==T?"y":!1,opacity:p("dragOpacity"),revertDuration:p("dragRevertDuration"),start:function(n,i){h("eventDragStart",e,t,n,i),R(t,e),x.build(),o=e.position(),a=x.cell(n.pageX,n.pageY),s=l=!0,u=c=E(a),d=m=0,g=0,v=y=0,b=null,w=null},drag:function(n,r){var f=x.cell(n.pageX,n.pageY);if(s=!!f){if(u=E(f),d=Math.round((r.position.left-o.left)/C),d!=m){var p=M(0,a.col),h=a.col+d;h=Math.max(0,h),h=Math.min(T-1,h);var _=M(0,h);g=_.diff(p,"days")}u||(v=Math.round((r.position.top-o.top)/k))}(s!=l||u!=c||d!=m||v!=y)&&(u?(b=t.start.clone().stripTime().add("days",g),w=b.clone().add(X.defaultAllDayEventDuration)):(b=t.start.clone().add(v*S).add("days",g),w=K(t).add(v*S).add("days",g)),i(),l=s,c=u,m=d,y=v),e.draggable("option","revert",!s)},stop:function(n,r){V(),h("eventDragStop",e,t,n,r),s&&(u||g||v)?Y(this,t,b,n,r):(s=!0,u=!1,d=0,g=0,v=0,i(),e.css("filter",""),e.css(o),W(t,e))}})}function d(t,e,n){var i,r,o,a=N(),s=F();e.resizable({handles:{s:".ui-resizable-handle"},grid:a,start:function(n,o){i=r=0,R(t,e),h("eventResizeStart",this,t,n,o)},resize:function(l,u){if(i=Math.round((Math.max(a,e.height())-u.originalSize.height)/a),i!=r){o=K(t).add(s*i);var c;c=i||t.end?J(t.start,o,p("timeFormat")):Q(t.start,p("timeFormat")),n.text(c),r=i}},stop:function(n,r){h("eventResizeStop",this,t,n,r),i?q(this,t,o,n,r):W(t,e)}})}var f=this;f.renderEvents=n,f.clearEvents=i,f.slotSegHtml=s,ve.call(f);var p=f.opt,h=f.trigger,g=f.isEventDraggable,b=f.isEventResizable,w=f.eventElementHandlers,x=f.setHeight,C=f.getDaySegmentContainer,k=f.getSlotSegmentContainer,S=f.getHoverListener,_=f.computeDateTop,E=f.getIsCellAllDay,$=f.colContentLeft,D=f.colContentRight,M=f.cellToDate,P=f.getColCnt,O=f.getColWidth,N=f.getSnapHeight,F=f.getSnapDuration,H=f.getSlotHeight,L=f.getSlotDuration,z=f.getSlotContainer,I=f.reportEventElement,W=f.showEvents,R=f.hideEvents,Y=f.eventDrop,q=f.eventResize,B=f.renderDayOverlay,V=f.clearOverlays,U=f.renderDayEvents,G=f.getMinTime,Z=f.getMaxTime,X=f.calendar,Q=X.formatDate,J=X.formatRange,K=X.getEventEnd;f.draggableDayEvent=u}function ae(t){var e,n=se(t),i=n[0];if(le(n),i){for(e=0;e<i.length;e++)ue(i[e]);for(e=0;e<i.length;e++)ce(i[e],0,0)}return de(n)}function se(t){var e,n,i,r=[];for(e=0;e<t.length;e++){for(n=t[e],i=0;i<r.length&&fe(n,r[i]).length;i++);(r[i]||(r[i]=[])).push(n)}return r}function le(t){var e,n,i,r,o;for(e=0;e<t.length;e++)for(n=t[e],i=0;i<n.length;i++)for(r=n[i],r.forwardSegs=[],o=e+1;o<t.length;o++)fe(r,t[o],r.forwardSegs)}function ue(t){var e,n,i=t.forwardSegs,r=0;if(void 0===t.forwardPressure){for(e=0;e<i.length;e++)n=i[e],ue(n),r=Math.max(r,1+n.forwardPressure);t.forwardPressure=r}}function ce(t,e,n){var i,r=t.forwardSegs;if(void 0===t.forwardCoord)for(r.length?(r.sort(he),ce(r[0],e+1,n),t.forwardCoord=r[0].backwardCoord):t.forwardCoord=1,t.backwardCoord=t.forwardCoord-(t.forwardCoord-n)/(e+1),i=0;i<r.length;i++)ce(r[i],0,t.forwardCoord)}function de(t){var e,n,i,r=[];for(e=0;e<t.length;e++)for(n=t[e],i=0;i<n.length;i++)r.push(n[i]);return r}function fe(t,e,n){n=n||[];for(var i=0;i<e.length;i++)pe(t,e[i])&&n.push(e[i]);return n}function pe(t,e){return t.end>e.start&&t.start<e.end}function he(t,e){return e.forwardPressure-t.forwardPressure||(t.backwardCoord||0)-(e.backwardCoord||0)||me(t,e)}function me(t,e){return t.start-e.start||e.end-e.start-(t.end-t.start)||(t.event.title||"").localeCompare(e.event.title)}function ge(n,i,r){function o(e,n){var i=H[e];return t.isPlainObject(i)&&!a(e)?D(i,n||r):i}function s(t,e){return i.trigger.apply(i,[t,e||P].concat(Array.prototype.slice.call(arguments,2),[P]))}function l(t){var e=t.source||{};return F(t.startEditable,e.startEditable,o("eventStartEditable"),t.editable,e.editable,o("editable"))}function u(t){var e=t.source||{};return F(t.durationEditable,e.durationEditable,o("eventDurationEditable"),t.editable,e.editable,o("editable"))}function c(){j={},N=[]}function d(t,e){N.push({event:t,element:e}),j[t._id]?j[t._id].push(e):j[t._id]=[e]}function f(){t.each(N,function(t,e){P.trigger("eventDestroy",e.event,e.event,e.element)})}function p(t,e){e.click(function(n){return e.hasClass("ui-draggable-dragging")||e.hasClass("ui-resizable-resizing")?void 0:s("eventClick",this,t,n)}).hover(function(e){s("eventMouseover",this,t,e)},function(e){s("eventMouseout",this,t,e)})}function h(t,e){g(t,e,"show")}function m(t,e){g(t,e,"hide")}function g(t,e,n){var i,r=j[t._id],o=r.length;for(i=0;o>i;i++)e&&r[i][0]==e[0]||r[i][n]()}function v(t,e,n,r,o){var a=i.mutateEvent(e,n,null);s("eventDrop",t,e,function(){a(),O(e._id)},r,o),O(e._id)}function y(t,e,n,r,o){var a=i.mutateEvent(e,null,n);s("eventResize",t,e,function(){a(),O(e._id)},r,o),O(e._id)}function b(t){return e.isMoment(t)&&(t=t.day()),W[t]}function w(){return z}function x(t,e,n){var i=t.clone();for(e=e||1;W[(i.day()+(n?e:0)+7)%7];)i.add("days",e);return i}function T(){var t=C.apply(null,arguments),e=k(t),n=S(e);return n}function C(t,e){var n=P.getColCnt(),i=q?-1:1,r=q?n-1:0;"object"==typeof t&&(e=t.col,t=t.row);var o=t*n+(e*i+r);return o}function k(t){var e=P.start.day();return t+=R[e],7*Math.floor(t/z)+Y[(t%z+z)%z]-e}function S(t){return P.start.clone().add("days",t)}function _(t){var e=E(t),n=$(e),i=A(n);return i}function E(t){return t.clone().stripTime().diff(P.start,"days")}function $(t){var e=P.start.day();return t+=e,Math.floor(t/7)*z+R[(t%7+7)%7]-R[e]}function A(t){var e=P.getColCnt(),n=q?-1:1,i=q?e-1:0,r=Math.floor(t/e),o=(t%e+e)%e*n+i;return{row:r,col:o}}
113function M(t,e){var n=P.getRowCnt(),i=P.getColCnt(),r=[],o=E(t),a=E(e),s=+e.time();s&&s>=L&&a++,a=Math.max(a,o+1);for(var l=$(o),u=$(a)-1,c=0;n>c;c++){var d=c*i,f=d+i-1,p=Math.max(l,d),h=Math.min(u,f);if(h>=p){var m=A(p),g=A(h),v=[m.col,g.col].sort(),y=k(p)==o,b=k(h)+1==a;r.push({row:c,leftCol:v[0],rightCol:v[1],isStart:y,isEnd:b})}}return r}var P=this;P.element=n,P.calendar=i,P.name=r,P.opt=o,P.trigger=s,P.isEventDraggable=l,P.isEventResizable=u,P.clearEventData=c,P.reportEventElement=d,P.triggerEventDestroy=f,P.eventElementHandlers=p,P.showEvents=h,P.hideEvents=m,P.eventDrop=v,P.eventResize=y;var O=i.reportEventChange,j={},N=[],H=i.options,L=e.duration(H.nextDayThreshold);P.isHiddenDay=b,P.skipHiddenDays=x,P.getCellsPerWeek=w,P.dateToCell=_,P.dateToDayOffset=E,P.dayOffsetToCellOffset=$,P.cellOffsetToCell=A,P.cellToDate=T,P.cellToCellOffset=C,P.cellOffsetToDayOffset=k,P.dayOffsetToDate=S,P.rangeToSegments=M;var z,I=o("hiddenDays")||[],W=[],R=[],Y=[],q=o("isRTL");!function(){o("weekends")===!1&&I.push(0,6);for(var e=0,n=0;7>e;e++)R[e]=n,W[e]=-1!=t.inArray(e,I),W[e]||(Y[n]=e,n++);if(z=n,!z)throw"invalid hiddenDays"}()}function ve(){function e(t,e){var n=i(t,!1,!0);be(n,function(t,e){E(t.event,e)}),v(n,e),be(n,function(t,e){k("eventAfterRender",t.event,t.event,e)})}function n(t,e,n){var r=i([t],!0,!1),o=[];return be(r,function(t,i){t.row===e&&i.css("top",n),o.push(i[0])}),o}function i(e,n,i){var o,l,d=q(),f=n?t("<div/>"):d,p=r(e);return a(p),o=s(p),f[0].innerHTML=o,l=f.children(),n&&d.append(l),u(p,l),be(p,function(t,e){t.hsides=y(e,!0)}),be(p,function(t,e){e.width(Math.max(0,t.outerWidth-t.hsides))}),be(p,function(t,e){t.outerHeight=e.outerHeight(!0)}),c(p,i),p}function r(t){for(var e=[],n=0;n<t.length;n++){var i=o(t[n]);e.push.apply(e,i)}return e}function o(t){for(var e=Z(t.start,ne(t)),n=0;n<e.length;n++)e[n].event=t;return e}function a(t){for(var e=C("isRTL"),n=0;n<t.length;n++){var i=t[n],r=(e?i.isEnd:i.isStart)?R:I,o=(e?i.isStart:i.isEnd)?Y:W,a=r(i.leftCol),s=o(i.rightCol);i.left=a,i.outerWidth=s-a}}function s(t){for(var e="",n=0;n<t.length;n++)e+=l(t[n]);return e}function l(t){var e="",n=C("isRTL"),i=t.event,r=i.url,o=["fc-event","fc-event-hori"];S(i)&&o.push("fc-event-draggable"),t.isStart&&o.push("fc-event-start"),t.isEnd&&o.push("fc-event-end"),o=o.concat(i.className),i.source&&(o=o.concat(i.source.className||[]));var a=j(i,C);return e+=r?"<a href='"+A(r)+"'":"<div",e+=" class='"+o.join(" ")+"' style='position:absolute;left:"+t.left+"px;"+a+"'><div class='fc-event-inner'>",!i.allDay&&t.isStart&&(e+="<span class='fc-event-time'>"+A(ie(i.start,C("timeFormat")))+"</span>"),e+="<span class='fc-event-title'>"+A(i.title||"")+"</span></div>",i.allDay&&t.isEnd&&_(i)&&(e+="<div class='ui-resizable-handle ui-resizable-"+(n?"w":"e")+"'> </div>"),e+="</"+(r?"a":"div")+">"}function u(e,n){for(var i=0;i<e.length;i++){var r=e[i],o=r.event,a=n.eq(i),s=k("eventRender",o,o,a);s===!1?a.remove():(s&&s!==!0&&(s=t(s).css({position:"absolute",left:r.left}),a.replaceWith(s),a=s),r.element=a)}}function c(t,e){var n,i=d(t),r=g(),o=[];if(e)for(n=0;n<r.length;n++)r[n].height(i[n]);for(n=0;n<r.length;n++)o.push(r[n].position().top);be(t,function(t,e){e.css("top",o[t.row]+t.top)})}function d(t){for(var e,n=H(),i=L(),r=[],o=f(t),a=0;n>a;a++){var s=o[a],l=[];for(e=0;i>e;e++)l.push(0);for(var u=0;u<s.length;u++){var c=s[u];for(c.top=$(l.slice(c.leftCol,c.rightCol+1)),e=c.leftCol;e<=c.rightCol;e++)l[e]=c.top+c.outerHeight}r.push($(l))}return r}function f(t){var e,n,i,r=H(),o=[];for(e=0;e<t.length;e++)n=t[e],i=n.row,n.element&&(o[i]?o[i].push(n):o[i]=[n]);for(i=0;r>i;i++)o[i]=p(o[i]||[]);return o}function p(t){for(var e=[],n=h(t),i=0;i<n.length;i++)e.push.apply(e,n[i]);return e}function h(t){t.sort(we);for(var e=[],n=0;n<t.length;n++){for(var i=t[n],r=0;r<e.length&&ye(i,e[r]);r++);e[r]?e[r].push(i):e[r]=[i]}return e}function g(){var t,e=H(),n=[];for(t=0;e>t;t++)n[t]=z(t).find("div.fc-day-content > div");return n}function v(t,e){var n=q();be(t,function(t,n,i){var r=t.event;r._id===e?b(r,n,t):n[0]._fci=i}),m(n,t,b)}function b(t,e,n){S(t)&&T.draggableDayEvent(t,e,n),t.allDay&&n.isEnd&&_(t)&&T.resizableDayEvent(t,e,n),D(t,e)}function w(t,e){var n,i,r=G();e.draggable({delay:50,opacity:C("dragOpacity"),revertDuration:C("dragRevertDuration"),start:function(o,a){k("eventDragStart",e,t,o,a),O(t,e),r.start(function(r,o,a,s){if
113(e.draggable("option","revert",!r||!a&&!s),V(),r){var l=X(o),u=X(r);n=u.diff(l,"days"),i=t.start.clone().add("days",n),B(i,ne(t).add("days",n))}else n=0},o,"drag")},stop:function(o,a){r.stop(),V(),k("eventDragStop",e,t,o,a),n?N(this,t,i,o,a):(e.css("filter",""),M(t,e))}})}function x(e,i,r){var o=C("isRTL"),a=o?"w":"e",s=i.find(".ui-resizable-"+a),l=!1;P(i),i.mousedown(function(t){t.preventDefault()}).click(function(t){l&&(t.preventDefault(),t.stopImmediatePropagation())}),s.mousedown(function(o){function s(n){k("eventResizeStop",this,e,n),t("body").css("cursor",""),f.stop(),V(),u&&F(this,e,c,n),setTimeout(function(){l=!1},0)}if(1==o.which){l=!0;var u,c,d,f=G(),p=i.css("top"),h=t.extend({},e),m=te(K(e.start));U(),t("body").css("cursor",a+"-resize").one("mouseup",s),k("eventResizeStart",this,e,o),f.start(function(i,o){if(i){var s=Q(o),l=Q(i);if(l=Math.max(l,m),u=J(l)-J(s),c=ne(e).add("days",u),u){h.end=c;var f=d;d=n(h,r.row,p),d=t(d),d.find("*").css("cursor",a+"-resize"),f&&f.remove(),O(e)}else d&&(M(e),d.remove(),d=null);V(),B(e.start,c)}},o)}})}var T=this;T.renderDayEvents=e,T.draggableDayEvent=w,T.resizableDayEvent=x;var C=T.opt,k=T.trigger,S=T.isEventDraggable,_=T.isEventResizable,E=T.reportEventElement,D=T.eventElementHandlers,M=T.showEvents,O=T.hideEvents,N=T.eventDrop,F=T.eventResize,H=T.getRowCnt,L=T.getColCnt,z=T.allDayRow,I=T.colLeft,W=T.colRight,R=T.colContentLeft,Y=T.colContentRight,q=T.getDaySegmentContainer,B=T.renderDayOverlay,V=T.clearOverlays,U=T.clearSelection,G=T.getHoverListener,Z=T.rangeToSegments,X=T.cellToDate,Q=T.cellToCellOffset,J=T.cellOffsetToDayOffset,K=T.dateToDayOffset,te=T.dayOffsetToCellOffset,ee=T.calendar,ne=ee.getEventEnd,ie=ee.formatDate}function ye(t,e){for(var n=0;n<e.length;n++){var i=e[n];if(i.leftCol<=t.rightCol&&i.rightCol>=t.leftCol)return!0}return!1}function be(t,e){for(var n=0;n<t.length;n++){var i=t[n],r=i.element;r&&e(i,r,n)}}function we(t,e){return e.rightCol-e.leftCol-(t.rightCol-t.leftCol)||e.event.allDay-t.event.allDay||t.event.start-e.event.start||(t.event.title||"").localeCompare(e.event.title)}function xe(){function e(t,e){n(),t=a.moment(t),e=e?a.moment(e):u(t),c(t,e),i(t,e)}function n(t){f&&(f=!1,d(),l("unselect",null,t))}function i(t,e,n){f=!0,l("select",null,t,e,n)}function r(e){var r=o.cellToDate,a=o.getIsCellAllDay,l=o.getHoverListener(),u=o.reportDayClick;if(1==e.which&&s("selectable")){n(e);var f;l.start(function(t,e){d(),t&&a(t)?(f=[r(e),r(t)].sort(E),c(f[0],f[1].clone().add("days",1))):f=null},e),t(document).one("mouseup",function(t){l.stop(),f&&(+f[0]==+f[1]&&u(f[0],t),i(f[0],f[1].clone().add("days",1),t))})}}var o=this;o.select=e,o.unselect=n,o.reportSelection=i,o.daySelectionMousedown=r;var a=o.calendar,s=o.opt,l=o.trigger,u=o.defaultSelectionEnd,c=o.renderSelection,d=o.clearSelection,f=!1;s("selectable")&&s("unselectAuto")&&t(document).mousedown(function(e){var i=s("unselectCancel");i&&t(e.target).parents(i).length||n(e)})}function Te(){function e(e,n){var i=o.shift();return i||(i=t("<div class='fc-cell-overlay' style='position:absolute;z-index:3'/>")),i[0].parentNode!=n[0]&&i.appendTo(n),r.push(i.css(e).show()),i}function n(){for(var t;t=r.shift();)o.push(t.hide().unbind())}var i=this;i.renderOverlay=e,i.clearOverlays=n;var r=[],o=[]}function Ce(t){var e,n,i=this;i.build=function(){e=[],n=[],t(e,n)},i.cell=function(t,i){var r,o=e.length,a=n.length,s=-1,l=-1;for(r=0;o>r;r++)if(i>=e[r][0]&&i<e[r][1]){s=r;break}for(r=0;a>r;r++)if(t>=n[r][0]&&t<n[r][1]){l=r;break}return s>=0&&l>=0?{row:s,col:l}:null},i.rect=function(t,i,r,o,a){var s=a.offset();return{top:e[t][0]-s.top,left:n[i][0]-s.left,width:n[o][1]-n[i][0],height:e[r][1]-e[t][0]}}}function ke(e){function n(t){Se(t);var n=e.cell(t.pageX,t.pageY);(Boolean(n)!==Boolean(a)||n&&(n.row!=a.row||n.col!=a.col))&&(n?(o||(o=n),r(n,o,n.row-o.row,n.col-o.col)):r(n,o),a=n)}var i,r,o,a,s=this;s.start=function(s,l,u){r=s,o=a=null,e.build(),n(l),i=u||"mousemove",t(document).bind(i,n)},s.stop=function(){return t(document).unbind(i,n),a}}function Se(t){void 0===t.pageX&&(t.pageX=t.originalEvent.pageX,t.pageY=t.originalEvent.pageY)}function _e(t){function e(e){return i[e]=i[e]||t(e)}var n=this,i={},r={},o={};n.left=function(t){return r[t]=void 0===r[t]?e(t).position().left:r[t]},n.right=function(t){return o[t]=void 0===o[t]?n.left(t)+e(t).width():o[t]},n.clear=function(){i={},r={},o={}}}var Ee={lang:"en",defaultTimedEventDuration:"02:00:00",defaultAllDayEventDuration:{days:1},forceEventDuration:!1,nextDayThreshold:"09:00:00",defaultView:"month",aspectRatio:1.35,header:{left:"title",center:"",right:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberTitle:"W",weekNumberCalculation:"local",lazyFetching:!0,startParam:"start",endParam:"end",timezoneParam:"timezone",timezone:!1,titleFormat:{month:"MMMM YYYY",week:"ll",day:"LL"},columnFormat:{month:"ddd",week:i,day:"dddd"},timeFormat:{"default":n}
113,isRTL:!1,defaultButtonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",today:"today",month:"month",week:"week",day:"day"},buttonIcons:{prev:"left-single-arrow",next:"right-single-arrow",prevYear:"left-double-arrow",nextYear:"right-double-arrow"},theme:!1,themeButtonIcons:{prev:"circle-triangle-w",next:"circle-triangle-e",prevYear:"seek-prev",nextYear:"seek-next"},unselectAuto:!0,dropAccept:"*",handleWindowResize:!0},$e={en:{columnFormat:{week:"ddd M/D"}}},De={header:{left:"next,prev today",center:"",right:"title"},buttonIcons:{prev:"right-single-arrow",next:"left-single-arrow",prevYear:"right-double-arrow",nextYear:"left-double-arrow"},themeButtonIcons:{prev:"circle-triangle-e",next:"circle-triangle-w",nextYear:"seek-prev",prevYear:"seek-next"}},Ae=t.fullCalendar={version:"2.0.0"},Me=Ae.views={};t.fn.fullCalendar=function(e){var n=Array.prototype.slice.call(arguments,1),i=this;return this.each(function(r,o){var a,l=t(o),u=l.data("fullCalendar");"string"==typeof e?u&&t.isFunction(u[e])&&(a=u[e].apply(u,n),r||(i=a),"destroy"===e&&l.removeData("fullCalendar")):u||(u=new s(l,e),l.data("fullCalendar",u),u.render())}),i},Ae.langs=$e,Ae.datepickerLang=function(e,n,i){var r=$e[e];r||(r=$e[e]={}),o(r,{isRTL:i.isRTL,weekNumberTitle:i.weekHeader,titleFormat:{month:i.showMonthAfterYear?"YYYY["+i.yearSuffix+"] MMMM":"MMMM YYYY["+i.yearSuffix+"]"},defaultButtonText:{prev:M(i.prevText),next:M(i.nextText),today:M(i.currentText)}}),t.datepicker&&(t.datepicker.regional[n]=t.datepicker.regional[e]=i,t.datepicker.regional.en=t.datepicker.regional[""],t.datepicker.setDefaults(i))},Ae.lang=function(t,e){var n;e&&(n=$e[t],n||(n=$e[t]={}),o(n,e||{})),Ee.lang=t},Ae.sourceNormalizers=[],Ae.sourceFetchers=[];var Pe={dataType:"json",cache:!1},Oe=1;Ae.applyAll=N;var je=["sun","mon","tue","wed","thu","fri","sat"],Ne=/^\s*\d{4}-\d\d$/,Fe=/^\s*\d{4}-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?)?$/;Ae.moment=function(){return H(arguments)},Ae.moment.utc=function(){var t=H(arguments,!0);return t.hasTime()&&t.utc(),t},Ae.moment.parseZone=function(){return H(arguments,!0,!0)},L.prototype=d(e.fn),L.prototype.clone=function(){return H([this])},L.prototype.time=function(t){return null==t?e.duration({hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}):(delete this._ambigTime,e.isDuration(t)||e.isMoment(t)||(t=e.duration(t)),this.hours(t.hours()+24*t.days()).minutes(t.minutes()).seconds(t.seconds()).milliseconds(t.milliseconds()))},L.prototype.stripTime=function(){var t=this.toArray();return e.fn.utc.call(this),this._ambigTime=!0,this._ambigZone=!0,this.year(t[0]).month(t[1]).date(t[2]).hours(0).minutes(0).seconds(0).milliseconds(0),this},L.prototype.hasTime=function(){return!this._ambigTime},L.prototype.stripZone=function(){var t=this.toArray(),n=this._ambigTime;return e.fn.utc.call(this),this.year(t[0]).month(t[1]).date(t[2]).hours(t[3]).minutes(t[4]).seconds(t[5]).milliseconds(t[6]),n&&(this._ambigTime=!0),this._ambigZone=!0,this},L.prototype.hasZone=function(){return!this._ambigZone},L.prototype.zone=function(t){return null!=t&&(delete this._ambigTime,delete this._ambigZone),e.fn.zone.apply(this,arguments)},L.prototype.local=function(){var t=this.toArray(),n=this._ambigZone;return delete this._ambigTime,delete this._ambigZone,e.fn.local.apply(this,arguments),n&&this.year(t[0]).month(t[1]).date(t[2]).hours(t[3]).minutes(t[4]).seconds(t[5]).milliseconds(t[6]),this},L.prototype.utc=function(){return delete this._ambigTime,delete this._ambigZone,e.fn.utc.apply(this,arguments)},L.prototype.format=function(){return arguments[0]?W(this,arguments[0]):this._ambigTime?I(this,"YYYY-MM-DD"):this._ambigZone?I(this,"YYYY-MM-DD[T]HH:mm:ss"):I(this)},L.prototype.toISOString=function(){return this._ambigTime?I(this,"YYYY-MM-DD"):this._ambigZone?I(this,"YYYY-MM-DD[T]HH:mm:ss"):e.fn.toISOString.apply(this,arguments)},L.prototype.isWithin=function(t,e){var n=z([this,t,e]);return n[0]>=n[1]&&n[0]<n[2]},t.each(["isBefore","isAfter","isSame"],function(t,n){L.prototype[n]=function(t,i){var r=z([this,t]);return e.fn[n].call(r[0],r[1],i)}});var He={t:function(t){return I(t,"a").charAt(0)},T:function(t){return I(t,"A").charAt(0)}};Ae.formatRange=q;var Le={Y:"year",M:"month",D:"day",d:"day",A:"second",a:"second",T:"second",t:"second",H:"second",h:"second",m:"second",s:"second"},ze={};Me.month=Z,Me.basicWeek=X,Me.basicDay=Q,r({weekMode:"fixed"}),Me.agendaWeek=te,Me.agendaDay=ee,r({allDaySlot:!0,allDayText:"all-day",scrollTime:"06:00:00",slotDuration:"00:30:00",axisFormat:ne,timeFormat:{agenda:ie},dragOpacity:{agenda:.5},minTime:"00:00:00",maxTime:"24:00:00",slotEventOverlap:!0})}),function(t){"function"==typeof define&&define.amd?define(t):window.purl=t()}(function(){function t(t,e){for(var n=decodeURI(t),i=m[e?"strict":"loose"].exec(n),r={attr:{},param:{},seg:{}},a=14;a--;)r.attr[p[a]]=i[a]||"";return r.param.query=o(r.attr.query),r.param.fragment=o(r.attr.fragment),r.seg.path=r.attr.path.replace(/^\/+|\/+$/g,"").split("/"),r.seg.fragment=r.attr.fragment.replace(/^\/+|\/+$/g,"").split("/"),r.attr.base
113=r.attr.host?(r.attr.protocol?r.attr.protocol+"://"+r.attr.host:r.attr.host)+(r.attr.port?":"+r.attr.port:""):"",r}function e(t){var e=t.tagName;return"undefined"!=typeof e?f[e.toLowerCase()]:e}function n(t,e){if(0===t[e].length)return t[e]={};var n={};for(var i in t[e])n[i]=t[e][i];return t[e]=n,n}function i(t,e,r,o){var a=t.shift();if(a){var s=e[r]=e[r]||[];"]"==a?u(s)?""!==o&&s.push(o):"object"==typeof s?s[c(s).length]=o:s=e[r]=[e[r],o]:~a.indexOf("]")?(a=a.substr(0,a.length-1),!g.test(a)&&u(s)&&(s=n(e,r)),i(t,s,a,o)):(!g.test(a)&&u(s)&&(s=n(e,r)),i(t,s,a,o))}else u(e[r])?e[r].push(o):e[r]="object"==typeof e[r]?o:"undefined"==typeof e[r]?o:[e[r],o]}function r(t,e,n){if(~e.indexOf("]")){var r=e.split("[");i(r,t,"base",n)}else{if(!g.test(e)&&u(t.base)){var o={};for(var s in t.base)o[s]=t.base[s];t.base=o}""!==e&&a(t.base,e,n)}return t}function o(t){return l(String(t).split(/&|;/),function(t,e){try{e=decodeURIComponent(e.replace(/\+/g," "))}catch(n){}var i=e.indexOf("="),o=s(e),a=e.substr(0,o||i),l=e.substr(o||i,e.length);return l=l.substr(l.indexOf("=")+1,l.length),""===a&&(a=e,l=""),r(t,a,l)},{base:{}}).base}function a(t,e,n){var i=t[e];"undefined"==typeof i?t[e]=n:u(i)?i.push(n):t[e]=[i,n]}function s(t){for(var e,n,i=t.length,r=0;i>r;++r)if(n=t[r],"]"==n&&(e=!1),"["==n&&(e=!0),"="==n&&!e)return r}function l(t,e){for(var n=0,i=t.length>>0,r=arguments[2];i>n;)n in t&&(r=e.call(void 0,r,t[n],n,t)),++n;return r}function u(t){return"[object Array]"===Object.prototype.toString.call(t)}function c(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}function d(e,n){return 1===arguments.length&&e===!0&&(n=!0,e=void 0),n=n||!1,e=e||window.location.toString(),{data:t(e,n),attr:function(t){return t=h[t]||t,"undefined"!=typeof t?this.data.attr[t]:this.data.attr},param:function(t){return"undefined"!=typeof t?this.data.param.query[t]:this.data.param.query},fparam:function(t){return"undefined"!=typeof t?this.data.param.fragment[t]:this.data.param.fragment},segment:function(t){return"undefined"==typeof t?this.data.seg.path:(t=0>t?this.data.seg.path.length+t:t-1,this.data.seg.path[t])},fsegment:function(t){return"undefined"==typeof t?this.data.seg.fragment:(t=0>t?this.data.seg.fragment.length+t:t-1,this.data.seg.fragment[t])}}}var f={a:"href",img:"src",form:"action",base:"href",script:"src",iframe:"src",link:"href",embed:"src",object:"data"},p=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","fragment"],h={anchor:"fragment"},m={strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/},g=/^[0-9]+$/;return d.jQuery=function(t){null!=t&&(t.fn.url=function(n){var i="";return this.length&&(i=t(this).attr(e(this[0]))||""),d(i,n)},t.url=d)},d.jQuery(window.jQuery),d}),/** 114 * Copyright (c) 2011-2014 Felix Gnass 115 * Licensed under the MIT license 116 */ 117function(t,e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Spinner=e()}(this,function(){"use strict";function t(t,e){var n,i=document.createElement(t||"div");for(n in e)i[n]=e[n];return i}function e(t){for(var e=1,n=arguments.length;n>e;e++)t.appendChild(arguments[e]);return t}function n(t,e,n,i){var r=["opacity",e,~~(100*t),n,i].join("-"),o=.01+n/i*100,a=Math.max(1-(1-t)/e*(100-o),t),s=u.substring(0,u.indexOf("Animation")).toLowerCase(),l=s&&"-"+s+"-"||"";return d[r]||(f.insertRule("@"+l+"keyframes "+r+"{0%{opacity:"+a+"}"+o+"%{opacity:"+t+"}"+(o+.01)+"%{opacity:1}"+(o+e)%100+"%{opacity:"+t+"}100%{opacity:"+a+"}}",f.cssRules.length),d[r]=1),r}function i(t,e){var n,i,r=t.style;for(e=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<c.length;i++)if(n=c[i]+e,void 0!==r[n])return n;return void 0!==r[e]?e:void 0}function r(t,e){for(var n in e)t.style[i(t,n)||n]=e[n];return t}function o(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)void 0===t[i]&&(t[i]=n[i])}return t}function a(t,e){return"string"==typeof t?t:t[e%t.length]}function s(t){this.opts=o(t||{},s.defaults,p)}function l(){function n(e,n){return t("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">',n)}f.addRule(".spin-vml","behavior:url(#default#VML)"),s.prototype.lines=function(t,i){function o(){return r(n("group",{coordsize:c+" "+c,coordorigin:-u+" "+-u}),{width:c,height:c})}
vendor: 1,330 bytes, line 117
117function s(t,s,l){e(f,e(r(o(),{rotation:360/i.lines*t+"deg",left:~~s}),e(r(n("roundrect",{arcsize:i.corners}),{width:u,height:i.width,left:i.radius,top:-i.width>>1,filter:l}),n("fill",{color:a(i.color,t),opacity:i.opacity}),n("stroke",{opacity:0}))))}var l,u=i.length+i.width,c=2*u,d=2*-(i.width+i.length)+"px",f=r(o(),{position:"absolute",top:d,left:d});if(i.shadow)for(l=1;l<=i.lines;l++)s(l,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(l=1;l<=i.lines;l++)s(l);return e(t,f)},s.prototype.opacity=function(t,e,n,i){var r=t.firstChild;i=i.shadow&&i.lines||0,r&&e+i<r.childNodes.length&&(r=r.childNodes[e+i],r=r&&r.firstChild,r=r&&r.firstChild,r&&(r.opacity=n))}}var u,c=["webkit","Moz","ms","O"],d={},f=function(){var n=t("style",{type:"text/css"});return e(document.getElementsByTagName("head")[0],n),n.sheet||n.styleSheet}(),p={lines:12,length:7,width:5,radius:10,rotate:0,corners:1,color:"#000",direction:1,speed:1,trail:100,opacity:.25,fps:20,zIndex:2e9,className:"spinner",top:"50%",left:"50%",position:"absolute"};s.defaults={},o(s.prototype,{spin:function(e){this.stop();{var n=this,i=n.opts,o=n.el=r(t(0,{className:i.className}),{position:i.position,width:0,zIndex:i.zIndex});i.radius+i.length+i.width}if(e&&(e.insertBefore(o,e.firstChild||null),r(o,{left:i.left,top:i.top}
117)),o.setAttribute("role","progressbar"),n.lines(o,n.opts),!u){var a,s=0,l=(i.lines-1)*(1-i.direction)/2,c=i.fps,d=c/i.speed,f=(1-i.opacity)/(d*i.trail/100),p=d/i.lines;!function h(){s++;for(var t=0;t<i.lines;t++)a=Math.max(1-(s+(i.lines-t)*p)%d*f,i.opacity),n.opacity(o,t*i.direction+l,a,i);n.timeout=n.el&&setTimeout(h,~~(1e3/c))}()}return n},stop:function(){var t=this.el;return t&&(clearTimeout(this.timeout),t.parentNode&&t.parentNode.removeChild(t),this.el=void 0),this},lines:function(i,o){function s(e,n){return r(t(),{position:"absolute",width:o.length+o.width+"px",height:o.width+"px",background:e,boxShadow:n,transformOrigin:"left",transform:"rotate("+~~(360/o.lines*c+o.rotate)+"deg) translate("+o.radius+"px,0)",borderRadius:(o.corners*o.width>>1)+"px"})}for(var l,c=0,d=(o.lines-1)*(1-o.direction)/2;c<o.lines;c++)l=r(t(),{position:"absolute",top:1+~(o.width/2)+"px",transform:o.hwaccel?"translate3d(0,0,0)":"",opacity:o.opacity,animation:u&&n(o.opacity,o.trail,d+c*o.direction,o.lines)+" "+1/o.speed+"s linear infinite"}),o.shadow&&e(l,r(s("#000","0 0 4px #000"),{top:"2px"})),e(i,e(l,s(a(o.color,c),"0 0 1px rgba(0,0,0,.1)")));return i},opacity:function(t,e,n){e<t.childNodes.length&&(t.childNodes[e].style.opacity=n)}});var h=r(t("group"),{behavior:"url(#default#VML)"});return!i(h,"transform")&&h.adj?l():u=i(h,"animation"),s}),function(){!function(t){var e;return e=function(){function e(e,n){var i,r,o;this.$el=t(e),"content"===n.model?(i="/contents_calendar",o="/contents/"):(i="/calendar",o="/schedules/"),r=t.url(location.href).attr("query"),r&&(i+="?"+r),this.$el.fullCalendar({events:i,timeFormat:"",eventDataTransform:function(e){var n,i,r,a,s;return a={title:t("<div>").html(e.title).text(),start:moment(e.event_datetime),url:o+e.id},r=[],(n=e.artists)&&t.each(n,function(t,e){return e.url_name?r.push("artist-"+e.url_name):void 0}),(i=e.categories)&&t.each(i,function(t,e){return r.push("category-"+e.url_name)}),(s=e.tags)&&t.each(s,function(t,e){return r.push("tag-"+e.name)}),r.length&&(a.className=r.join(" ")),e.event_end_datetime&&(a.end=moment(e.event_end_datetime).add("days",1).format("YYYY-MM-DD")),a},eventClick:function(t){return window.location.href=t.url,!1},loading:t.proxy(this.loading,this)})}return e.prototype.loading=function(e){return e?this.spinner=this.createSpinner().spin(this.$el[0]):this.spinner?function(e){return t(e.el).animate({opacity:0}
117,60,function(){return e.stop()})}(this.spinner):void 0},e.prototype.createSpinner=function(){var t;return t={lines:13,length:4,width:2,radius:8,corners:1,rotate:0,direction:1,color:"#000",speed:1,trail:60,shadow:!1,hwaccel:!1,className:"spinner",zIndex:2e9,top:"50%",left:"50%"},new Spinner(t)},e}(),t.fn.calendarView=function(n){return this.each(function(){var i,r,o;return i=t(this),r=i.data("calendar-view"),o="object"==typeof n&&n,r||i.data("calendar-view",r=new e(this,o)),i})}}(window.$)}.call(this),window.__recaptcha_submitted=window.__recaptcha_submitted||!1,function(){window.console&&console.log||!function(){var t,e,n,i,r;for(i=function(){},n=["assert","clear","count","debug","dir","dirxml","error","exception","group","groupCollapsed","groupEnd","info","log","markTimeline","profile","profileEnd","markTimeline","table","time","timeEnd","timeStamp","trace","warn"],e=n.length,t=window.console={},r=[];e--;)r.push(t[n[e]]=i);return r}()}.call(this),function(){$(".js-dashboardContentMore").length&&$(".dashboard-content-wrap").length&&$(".js-dashboardContentMore").on("click",function(){var t;return t=$(this).parents(".dashboard-content-wrap"),t.toggleClass("is-open")})}.call(this),function(){!function(t){var e,n;return n=function(t){return'<p class="form-error-message">'+t+"</p>"},t.showErrorMessage=function(e,i,r){var o,a,s,l,u,c;return null==i&&(i=[]),null==r&&(r=null),u='<div class="alert alert-danger">',"object"===t.type(e)?t.each(e,function(){return function(e,n){return t.showErrorMessage(n,i.concat([e]),r)}}(this)):("Crowdfunding::Order"===i[0]&&(i[0]=i[0].split("::").join("_").toLowerCase()),c=i.join("_").toLowerCase().replace(/(.*)::/,""),r||(r=t("body")),l=r.find("#"+c),l.length?(s=l.closest(".form-group"),s.length?(a=s.children("div").last(),a.hasClass("checkbox")&&(a=a.parent()),o=a.find(".alert-danger"),o.length||(o=t(u).appendTo(a))):o=t(u).appendTo(l),o.append(n(e))):(a=r.find(".panel-body, .modal-body, .card-body"),o=t(u).appendTo(a),o.append(n(e))))},e=function(){function e(e){this.$el=t(e),this.$form=this.$el.closest("form"),this.authorized=this.$el.data("authorized"),this.$image=this.$el.find("img[data-src]"),this.$el.find("[type=submit]").on("click",t.proxy(this.submit,this))}return e.prototype.submit=function(e){var n,i;return this.authorized?(i=1e3,this.$image.each(function(e,n){var r;return r=t(n),r.attr("src",r.data("src")),r.data("wait")>i?i=parseInt(r.data("wait")):void 0}),n=t(e.currentTarget),n.prop("disabled",!0),setTimeout(function(t){return function(){return t.$form.submit()}}(this),i),!1):this.$form.submit()},t.fn.gacha=function(n){return this.each(function(){var i,r,o;return i=t(this),r=i.data("gacha"),o="object"==typeof n&&n,r||i.data("gacha",r=new e(this,o)),i})},e}()}(window.$),$(function(){return $("a.disabled").on("click",function(){return!1}),$('[data-remote="true"]').each(function(t,e){var n;return n=$(e),n.on("ajax:before",function(){}),n.on("ajax:beforeSend",function(){return n.find("[type=submit]").attr("disabled",!0)}),n.on("ajax:success",function(t,e){switch(n.find(".alert-danger").remove(),e.status){case 400:return e.errors.email_uniqueness_error&&(e.errors.User.email=e.errors.email_uniqueness_error,delete e.errors.email_uniqueness_error),$.showErrorMessage(e.errors,[],n)}}),n.on("ajax:error",function(){}),n.on("ajax:complete",function(){return n.find("[type=submit]").attr("disabled",!1)}),n.on("ajax:aborted:required",function(){}),n.on("ajax:aborted:file",function(){})}),$("[data-toggle=collapse-group]").each(function(t,e){var n,i,r;return i=$(e),n=i.find(".collapse").collapse({toggle:!1}),r=i.find("[data-toggle=radio-collapse]"),r.on("change",function(t){var e;return e=$($(t.currentTarget).closest("[data-target]").data("target")),n.not(e).collapse("hide"),e.collapse("show")})}),$("[data-toggle=collapse-check-group]").each(function(t,e){var n,i,r,o;return r=$(e),i=r.find(".collapse"),o=r.find("[data-toggle=check-collapse]"),n=r.find("[type=checkbox]"),n.prop("checked")?i.collapse({toggle:!0}):i.collapse({toggle:!1}),o.on("change",function(t){var e;return e=$($(t.currentTarget).closest("[data-target]").data("target")),e.collapse("show"),e.collapse("hide")})}),$("form .gacha").gacha(),$("form").each(function(t,e){var n,i,r,o,a;return i=$(e),n=i.find(".user_profile_country_id select"),r=i.find(".user_profile_global_state"),a=r.find("input"),o=r.find("select"),n.on("change",function(){return"Japan"===n.find("option:selected").text()?(a.addClass("hide"),a.prop("disabled",!0),o.removeClass("hide"),o.prop("disabled",!1)):(o.addClass("hide"),o.prop("disabled",!0),a.removeClass("hide"),a.prop("disabled",!1))})}),$(".birthday").on("change",function(){var t,e,n,i,r,o,a,s;return a=new Date,s=a.getMonth()+1,o=$("#user_year").val(),n=$("#user_month").val(),e=$("#user_day").val(),o&&n&&e?(r=parseInt(n,10),i=parseInt(e,10),t=a.getUTCFullYear()-o,(n>s||r===s&&i>a.getDate())&&t--,$(".birthday-age").text(t)):void 0})})}.call(this),function(){!function(t){var e;return e={"zip-auto":"éµä¾¿çªå·ã«è©²å½ãã使ãè¦ã¤ããã¾ããã§ãã"},t.zip2addr=function(n,i){var r,o,a,s,l,u,c,d,f,p,h;try{if(c=[n+"[zip1]",n+"[zip2]",n+"[prefecture_id]",n+"[city]",n+"[address1]"],i)for(l=p=0,h=c.length;h>p;l=++p)u=c[l],c[l]=u.replace(/\[(.*)\]/,"["+i+"_$1]");if(a=t.map(c,function(e){return t('[name="'+e+'"]').last()[0]}),r=t(a[0]),o=t(a[1]),d=r.val(),f=o.val(),3===d.length&&4===f.length)return r.val(t.toOneByteAlphaNumeric(d)),o.val(t.toOneByteAlphaNumeric(f)),AjaxZip3.zip2addr(a[0],a[1],a[2],a[3],a[4]);throw""}catch(m){return s=m,t.showErrorMessage(e)}},t.toOneByteAlphaNumeric=function(t){return t.replace(/[A-Zï½-ï½ï¼-ï¼]/g,function(t){return String.fromCharCode(t.charCodeAt(0)-65248)}
117)},t(function(){var n;return"undefined"!=typeof AjaxZip3&&(n=AjaxZip3.callback,AjaxZip3.callback=t.proxy(function(i){var r;return r=i[AjaxZip3.nzip],r?n(i):t.showErrorMessage(e)},this)),t(".zip-auto").on("click",function(e){var n,i,r;return n=t(e.currentTarget),n.closest(".form-group").find(".alert-danger").remove(),i=n.data("model"),r=n.data("shipping-type"),t.zip2addr(i,r),!1})})}(window.$)}.call(this),function(){!function(t){var e;return e=function(){function e(e,n){var i,r,o,a;this.$el=t(e),"content"===n.model?(r="/contents_calendar",a="/contents/"):(r="/calendar",a="/schedules/"),o=t.url(location.href).attr("query"),o&&(r+="?"+o),i={events:r,eventDataTransform:function(e){var n,i,r,o,s;return o={title:t("<div>").html(e.title).text(),start:moment(e.event_datetime).format("YYYY-MM-DD"),url:a+e.id},r=[],(n=e.artists)&&t.each(n,function(t,e){return e.url_name?r.push("artist-"+e.url_name):void 0}),(i=e.categories)&&t.each(i,function(t,e){return r.push("category-"+e.url_name)}),(s=e.tags)&&t.each(s,function(t,e){return r.push("tag-"+e.name)}),r.length&&(o.className=r.join(" ")),e.event_end_datetime&&(o.end=moment(e.event_end_datetime).add("days",1).format("YYYY-MM-DD")),o},eventClick:function(t){return window.location.href=t.url,!1},loading:t.proxy(this.loading,this)},n.titleFormat&&(i.titleFormat=n.titleFormat),this.$el.fullCalendar(i)}return e.prototype.loading=function(e){return e?this.spinner=this.createSpinner().spin(this.$el[0]):this.spinner?function(e){return t(e.el).animate({opacity:0}
117,60,function(){return e.stop()})}(this.spinner):void 0},e.prototype.createSpinner=function(){var t;return t={lines:13,length:4,width:2,radius:8,corners:1,rotate:0,direction:1,color:"#000",speed:1,trail:60,shadow:!1,hwaccel:!1,className:"spinner",zIndex:2e9,top:"50%",left:"50%"},new Spinner(t)},e}(),t.fn.calendarView=function(n){return this.each(function(){var i,r,o;return i=t(this),r=i.data("calendar-view"),o="object"==typeof n&&n,r||i.data("calendar-view",r=new e(this,o)),i})}}(window.$)}.call(this),/*! Magnific Popup - v0.9.9 - 2014-09-06 118* http://dimsemenov.com/plugins/magnific-popup/ 119* Copyright (c) 2014 Dmitry Semenov; */ 120function(t){var e,n,i,r,o,a,s,l="Close",u="BeforeClose",c="AfterClose",d="BeforeAppend",f="MarkupParse",p="Open",h="Change",m="mfp",g="."+m,v="mfp-ready",y="mfp-removing",b="mfp-prevent-close",w=function(){},x=!!window.jQuery,T=t(window),C=function(t,n){e.ev.on(m+t+g,n)},k=function(e,n,i,r){var o=document.createElement("div");return o.className="mfp-"+e,i&&(o.innerHTML=i),r?n&&n.appendChild(o):(o=t(o),n&&o.appendTo(n)),o},S=function(n,i){e.ev.triggerHandler(m+n,i),e.st.callbacks&&(n=n.charAt(0).toLowerCase()+n.slice(1),e.st.callbacks[n]&&e.st.callbacks[n].apply(e,t.isArray(i)?i:[i]))},_=function(n){return n===s&&e.currTemplate.closeBtn||(e.currTemplate.closeBtn=t(e.st.closeMarkup.replace("%title%",e.st.tClose)),s=n),e.currTemplate.closeBtn},E=function(){t.magnificPopup.instance||(e=new w,e.init(),t.magnificPopup.instance=e)},$=function(){var t=document.createElement("p").style,e=["ms","O","Moz","Webkit"];if(void 0!==t.transition)return!0;for(;e.length;)if(e.pop()+"Transition"in t)return!0;return!1};w.prototype={constructor:w,init:function(){var n=navigator.appVersion;e.isIE7=-1!==n.indexOf("MSIE 7."),e.isIE8=-1!==n.indexOf("MSIE 8."),e.isLowIE=e.isIE7||e.isIE8,e.isAndroid=/android/gi.test(n),e.isIOS=/iphone|ipad|ipod/gi.test(n),e.supportsTransition=$(),e.probablyMobile=e.isAndroid||e.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),r=t(document),e.popupsCache={}},open:function(n){i||(i=t(document.body));var o;if(n.isObj===!1){e.items=n.items.toArray(),e.index=0;var s,l=n.items;for(o=0;l.length>
120o;o++)if(s=l[o],s.parsed&&(s=s.el[0]),s===n.el[0]){e.index=o;break}}else e.items=t.isArray(n.items)?n.items:[n.items],e.index=n.index||0;if(e.isOpen)return e.updateItemHTML(),void 0;e.types=[],a="",e.ev=n.mainEl&&n.mainEl.length?n.mainEl.eq(0):r,n.key?(e.popupsCache[n.key]||(e.popupsCache[n.key]={}),e.currTemplate=e.popupsCache[n.key]):e.currTemplate={},e.st=t.extend(!0,{},t.magnificPopup.defaults,n),e.fixedContentPos="auto"===e.st.fixedContentPos?!e.probablyMobile:e.st.fixedContentPos,e.st.modal&&(e.st.closeOnContentClick=!1,e.st.closeOnBgClick=!1,e.st.showCloseBtn=!1,e.st.enableEscapeKey=!1),e.bgOverlay||(e.bgOverlay=k("bg").on("click"+g,function(){e.close()}),e.wrap=k("wrap").attr("tabindex",-1).on("click"+g,function(t){e._checkIfClose(t.target)&&e.close()}),e.container=k("container",e.wrap)),e.contentContainer=k("content"),e.st.preloader&&(e.preloader=k("preloader",e.container,e.st.tLoading));var u=t.magnificPopup.modules;for(o=0;u.length>o;o++){var c=u[o];c=c.charAt(0).toUpperCase()+c.slice(1),e["init"+c].call(e)}S("BeforeOpen"),e.st.showCloseBtn&&(e.st.closeBtnInside?(C(f,function(t,e,n,i){n.close_replaceWith=_(i.type)}),a+=" mfp-close-btn-in"):e.wrap.append(_())),e.st.alignTop&&(a+=" mfp-align-top"),e.fixedContentPos?e.wrap.css({overflow:e.st.overflowY,overflowX:"hidden",overflowY:e.st.overflowY}):e.wrap.css({top:T.scrollTop(),position:"absolute"}),(e.st.fixedBgPos===!1||"auto"===e.st.fixedBgPos&&!e.fixedContentPos)&&e.bgOverlay.css({height:r.height(),position:"absolute"}),e.st.enableEscapeKey&&r.on("keyup"+g,function(t){27===t.keyCode&&e.close()}),T.on("resize"+g,function(){e.updateSize()}),e.st.closeOnContentClick||(a+=" mfp-auto-cursor"),a&&e.wrap.addClass(a);var d=e.wH=T.height(),h={};if(e.fixedContentPos&&e._hasScrollBar(d)){var m=e._getScrollbarSize();m&&(h.marginRight=m)}e.fixedContentPos&&(e.isIE7?t("body, html").css("overflow","hidden"):h.overflow="hidden");var y=e.st.mainClass;return e.isIE7&&(y+=" mfp-ie7"),y&&e._addClassToMFP(y),e.updateItemHTML(),S("BuildControls"),t("html").css(h),e.bgOverlay.add(e.wrap).prependTo(e.st.prependTo||i),e._lastFocusedEl=document.activeElement,setTimeout(function(){e.content?(e._addClassToMFP(v),e._setFocus()):e.bgOverlay.addClass(v),r.on("focusin"+g,e._onFocusIn)},16),e.isOpen=!0,e.updateSize(d),S(p),n},close:function(){e.isOpen&&(S(u),e.isOpen=!1,e.st.removalDelay&&!e.isLowIE&&e.supportsTransition?(e._addClassToMFP(y),setTimeout(function(){e._close()},e.st.removalDelay)):e._close())},_close:function(){S(l);var n=y+" "+v+" ";if(e.bgOverlay.detach(),e.wrap.detach(),e.container.empty(),e.st.mainClass&&(n+=e.st.mainClass+" "),e._removeClassFromMFP(n),e.fixedContentPos){var i={marginRight:""};e.isIE7?t("body, html").css("overflow",""):i.overflow="",t("html").css(i)}r.off("keyup"+g+" focusin"+g),e.ev.off(g),e.wrap.attr("class","mfp-wrap").removeAttr("style"),e.bgOverlay.attr("class","mfp-bg"),e.container.attr("class","mfp-container"),!e.st.showCloseBtn||e.st.closeBtnInside&&e.currTemplate[e.currItem.type]!==!0||e.currTemplate.closeBtn&&e.currTemplate.closeBtn.detach(),e._lastFocusedEl&&t(e._lastFocusedEl).focus(),e.currItem=null,e.content=null,e.currTemplate=null,e.prevHeight=0,S(c)},updateSize:function(t){if(e.isIOS){var n=document.documentElement.clientWidth/window.innerWidth,i=window.innerHeight*n;e.wrap.css("height",i),e.wH=i}else e.wH=t||T.height();e.fixedContentPos||e.wrap.css("height",e.wH),S("Resize")},updateItemHTML:function(){var n=e.items[e.index];e.contentContainer.detach(),e.content&&e.content.detach(),n.parsed||(n=e.parseEl(e.index));var i=n.type;if(S("BeforeChange",[e.currItem?e.currItem.type:"",i]),e.currItem=n,!e.currTemplate[i]){var r=e.st[i]?e.st[i].markup:!1;S("FirstMarkupParse",r),e.currTemplate[i]=r?t(r):!0}o&&o!==n.type&&e.container.removeClass("mfp-"+o+"-holder");var a=e["get"+i.charAt(0).toUpperCase()+i.slice(1)](n,e.currTemplate[i]);e.appendContent(a,i),n.preloaded=!0,S(h,n),o=n.type,e.container.prepend(e.contentContainer),S("AfterChange")},appendContent:function(t,n){e.content=t,t?e.st.showCloseBtn&&e.st.closeBtnInside&&e.currTemplate[n]===!0?e.content.find(".mfp-close").length||e.content.append(_()):e.content=t:e.content="",S(d),e.container.addClass("mfp-"+n+"-holder"),e.contentContainer.append(e.content)},parseEl:function(n){var i,r=e.items[n];if(r.tagName?r={el:t(r)}:(i=r.type,r={data:r,src:r.src}),r.el){for(var o=e.types,a=0;o.length>a;a++)if(r.el.hasClass("mfp-"+o[a])){i=o[a];break}r.src=r.el.attr("data-mfp-src"),r.src||(r.src=r.el.attr("href"))}return r.type=i||e.st.type||"inline",r.index=n,r.parsed=!0,e.items[n]=r,S("ElementParse",r),e.items[n]},addGroup:function(t,n){var i=function(i){i.mfpEl=this,e._openClick(i,t,n)};n||(n={});var r="click.magnificPopup";n.mainEl=t,n.items?(n.isObj=!0,t.off(r).on(r,i)):(n.isObj=!1,n.delegate?t.off(r).on(r,n.delegate,i):(n.items=t,t.off(r).on(r,i)))},_openClick:function(n,i,r){var o=void 0!==r.midClick?r.midClick:t.magnificPopup.defaults.midClick;if(o||2!==n.which&&!n.ctrlKey&&!n.metaKey){var a=void 0!==r.disableOn?r.disableOn:t.magnificPopup.defaults.disableOn;if(a)if(t.isFunction(a)){if(!a.call(e))return!0}else if(a>T.width())return!0;n.type&&(n.preventDefault(),e.isOpen&&n.stopPropagation()),r.el=t(n.mfpEl),r.delegate&&(r.items=i.find(r.delegate)),e.o
120pen(r)}},updateStatus:function(t,i){if(e.preloader){n!==t&&e.container.removeClass("mfp-s-"+n),i||"loading"!==t||(i=e.st.tLoading);var r={status:t,text:i};S("UpdateStatus",r),t=r.status,i=r.text,e.preloader.html(i),e.preloader.find("a").on("click",function(t){t.stopImmediatePropagation()}),e.container.addClass("mfp-s-"+t),n=t}},_checkIfClose:function(n){if(!t(n).hasClass(b)){var i=e.st.closeOnContentClick,r=e.st.closeOnBgClick;if(i&&r)return!0;if(!e.content||t(n).hasClass("mfp-close")||e.preloader&&n===e.preloader[0])return!0;if(n===e.content[0]||t.contains(e.content[0],n)){if(i)return!0}else if(r&&t.contains(document,n))return!0;return!1}},_addClassToMFP:function(t){e.bgOverlay.addClass(t),e.wrap.addClass(t)},_removeClassFromMFP:function(t){this.bgOverlay.removeClass(t),e.wrap.removeClass(t)},_hasScrollBar:function(t){return(e.isIE7?r.height():document.body.scrollHeight)>(t||T.height())},_setFocus:function(){(e.st.focus?e.content.find(e.st.focus).eq(0):e.wrap).focus()},_onFocusIn:function(n){return n.target===e.wrap[0]||t.contains(e.wrap[0],n.target)?void 0:(e._setFocus(),!1)},_parseMarkup:function(e,n,i){var r;i.data&&(n=t.extend(i.data,n)),S(f,[e,n,i]),t.each(n,function(t,n){if(void 0===n||n===!1)return!0;if(r=t.split("_"),r.length>1){var i=e.find(g+"-"+r[0]);if(i.length>0){var o=r[1];"replaceWith"===o?i[0]!==n[0]&&i.replaceWith(n):"img"===o?i.is("img")?i.attr("src",n):i.replaceWith('<img src="'+n+'" class="'+i.attr("class")+'" />'):i.attr(r[1],n)}}else e.find(g+"-"+t).html(n)})},_getScrollbarSize:function(){if(void 0===e.scrollbarSize){var t=document.createElement("div");t.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),e.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return e.scrollbarSize}},t.magnificPopup={instance:null,proto:w.prototype,modules:[],open:function(e,n){return E(),e=e?t.extend(!0,{},e):{},e.isObj=!0,e.index=n||0,this.instance.open(e)},close:function(){return t.magnificPopup.instance&&t.magnificPopup.instance.close()}
120,registerModule:function(e,n){n.options&&(t.magnificPopup.defaults[e]=n.options),t.extend(this.proto,n.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">×</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},t.fn.magnificPopup=function(n){E();var i=t(this);if("string"==typeof n)if("open"===n){var r,o=x?i.data("magnificPopup"):i[0].magnificPopup,a=parseInt(arguments[1],10)||0;o.items?r=o.items[a]:(r=i,o.delegate&&(r=r.find(o.delegate)),r=r.eq(a)),e._openClick({mfpEl:r},i,o)}else e.isOpen&&e[n].apply(e,Array.prototype.slice.call(arguments,1));else n=t.extend(!0,{},n),x?i.data("magnificPopup",n):i[0].magnificPopup=n,e.addGroup(i,n);return i};var D,A,M,P="inline",O=function(){M&&(A.after(M.addClass(D)).detach(),M=null)};t.magnificPopup.registerModule(P,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){e.types.push(P),C(l+"."+P,function(){O()})},getInline:function(n,i){if(O(),n.src){var r=e.st.inline,o=t(n.src);if(o.length){var a=o[0].parentNode;a&&a.tagName&&(A||(D=r.hiddenClass,A=k(D),D="mfp-"+D),M=o.after(A).detach().removeClass(D)),e.updateStatus("ready")}else e.updateStatus("error",r.tNotFound),o=t("<div>");return n.inlineElement=o,o}return e.updateStatus("ready"),e._parseMarkup(i,{},n),i}}});var j,N="ajax",F=function(){j&&i.removeClass(j)},H=function(){F(),e.req&&e.req.abort()};t.magnificPopup.registerModule(N,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){e.types.push(N),j=e.st.ajax.cursor,C(l+"."+N,H),C("BeforeChange."+N,H)},getAjax:function(n){j&&i.addClass(j),e.updateStatus("loading");var r=t.extend({url:n.src,success:function(i,r,o){var a={data:i,xhr:o};S("ParseAjax",a),e.appendContent(t(a.data),N),n.finished=!0,F(),e._setFocus(),setTimeout(function(){e.wrap.addClass(v)},16),e.updateStatus("ready"),S("AjaxContentAdded")},error:function(){F(),n.finished=n.loadError=!0,e.updateStatus("error",e.st.ajax.tError.replace("%url%",n.src))}},e.st.ajax.settings);return e.req=t.ajax(r),""}}});var L,z=function(n){if(n.data&&void 0!==n.data.title)return n.data.title;var i=e.st.image.titleSrc;if(i){if(t.isFunction(i))return i.call(e,n);if(n.el)return n.el.attr(i)||""}return""};t.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var t=e.st.image,n=".image";e.types.push("image"),C(p+n,function(){"image"===e.currItem.type&&t.cursor&&i.addClass(t.cursor)}),C(l+n,function(){t.cursor&&i.removeClass(t.cursor),T.off("resize"+g)}),C("Resize"+n,e.resizeImage),e.isLowIE&&C("AfterChange",e.resizeImage)},resizeImage:function(){var t=e.currItem;if(t&&t.img&&e.st.image.verticalFit){var n=0;e.isLowIE&&(n=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",e.wH-n)}},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,L&&clearInterval(L),t.isCheckingImgSize=!1,S("ImageHasSize",t),t.imgHidden&&(e.content&&e.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(t){var n=0,i=t.img[0],r=function(o){L&&clearInterval(L),L=setInterval(function(){return i.naturalWidth>0?(e._onImageHasSize(t),void 0):(n>200&&clearInterval(L),n++,3===n?r(10):40===n?r(50):100===n&&r(500),void 0)},o)};r(1)},getImage:function(n,i){var r=0,o=function(){n&&(n.img[0].complete?(n.img.off(".mfploader"),n===e.currItem&&(e._onImageHasSize(n),e.updateStatus("ready")),n.hasSize=!0,n.loaded=!0,S("ImageLoadComplete")):(r++,200>r?setTimeout(o,100):a()))},a=function(){n&&(n.img.off(".mfploader"),n===e.currItem&&(e._onImageHasSize(n),e.updateStatus("error",s.tError.replace("%url%",n.src))),n.hasSize=!0,n.loaded=!0,n.loadError=!0)},s=e.st.image,l=i.find(".mfp-img");if(l.length){var u=document.createElement("img");u.className="mfp-img",n.img=t(u).on("load.mfploader",o).on("error.mfploader",a),u.src=n.src,l.is("img")&&(n.img=n.img.clone()),u=n.img[0],u.naturalWi
120dth>0?n.hasSize=!0:u.width||(n.hasSize=!1)}return e._parseMarkup(i,{title:z(n),img_replaceWith:n.img},n),e.resizeImage(),n.hasSize?(L&&clearInterval(L),n.loadError?(i.addClass("mfp-loading"),e.updateStatus("error",s.tError.replace("%url%",n.src))):(i.removeClass("mfp-loading"),e.updateStatus("ready")),i):(e.updateStatus("loading"),n.loading=!0,n.hasSize||(n.imgHidden=!0,i.addClass("mfp-loading"),e.findImageSize(n)),i)}}});var I,W=function(){return void 0===I&&(I=void 0!==document.createElement("p").style.MozTransform),I};t.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(t){return t.is("img")?t:t.find("img")}},proto:{initZoom:function(){var t,n=e.st.zoom,i=".zoom";if(n.enabled&&e.supportsTransition){var r,o,a=n.duration,s=function(t){var e=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),i="all "+n.duration/1e3+"s "+n.easing,r={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},o="transition";return r["-webkit-"+o]=r["-moz-"+o]=r["-o-"+o]=r[o]=i,e.css(r),e},c=function(){e.content.css("visibility","visible")};C("BuildControls"+i,function(){if(e._allowZoom()){if(clearTimeout(r),e.content.css("visibility","hidden"),t=e._getItemToZoom(),!t)return c(),void 0;o=s(t),o.css(e._getOffset()),e.wrap.append(o),r=setTimeout(function(){o.css(e._getOffset(!0)),r=setTimeout(function(){c(),setTimeout(function(){o.remove(),t=o=null,S("ZoomAnimationEnded")},16)},a)},16)}}),C(u+i,function(){if(e._allowZoom()){if(clearTimeout(r),e.st.removalDelay=a,!t){if(t=e._getItemToZoom(),!t)return;o=s(t)}o.css(e._getOffset(!0)),e.wrap.append(o),e.content.css("visibility","hidden"),setTimeout(function(){o.css(e._getOffset())},16)}}),C(l+i,function(){e._allowZoom()&&(c(),o&&o.remove(),t=null)})}},_allowZoom:function(){return"image"===e.currItem.type},_getItemToZoom:function(){return e.currItem.hasSize?e.currItem.img:!1},_getOffset:function(n){var i;i=n?e.currItem.img:e.st.zoom.opener(e.currItem.el||e.currItem);var r=i.offset(),o=parseInt(i.css("padding-top"),10),a=parseInt(i.css("padding-bottom"),10);r.top-=t(window).scrollTop()-o;var s={width:i.width(),height:(x?i.innerHeight():i[0].offsetHeight)-a-o};return W()?s["-moz-transform"]=s.transform="translate("+r.left+"px,"+r.top+"px)":(s.left=r.left,s.top=r.top),s}}});var R="iframe",Y="//about:blank",q=function(t){if(e.currTemplate[R]){var n=e.currTemplate[R].find("iframe");n.length&&(t||(n[0].src=Y),e.isIE8&&n.css("display",t?"block":"none"))}};t.magnificPopup.registerModule(R,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){e.types.push(R),C("BeforeChange",function(t,e,n){e!==n&&(e===R?q():n===R&&q(!0))}),C(l+"."+R,function(){q()})},getIframe:function(n,i){var r=n.src,o=e.st.iframe;t.each(o.patterns,function(){return r.indexOf(this.index)>-1?(this.id&&(r="string"==typeof this.id?r.substr(r.lastIndexOf(this.id)+this.id.length,r.length):this.id.call(this,r)),r=this.src.replace("%id%",r),!1):void 0});var a={};return o.srcAction&&(a[o.srcAction]=r),e._parseMarkup(i,a,n),e.updateStatus("ready"),i}}});var B=function(t){var n=e.items.length;return t>n-1?t-n:0>t?n+t:t},V=function(t,e,n){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,n)};t.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var n=e.st.gallery,i=".mfp-gallery",o=Boolean(t.fn.mfpFastClick);return e.direction=!0,n&&n.enabled?(a+=" mfp-gallery",C(p+i,function(){n.navigateByImgClick&&e.wrap.on("click"+i,".mfp-img",function(){return e.items.length>1?(e.next(),!1):void 0}
120),r.on("keydown"+i,function(t){37===t.keyCode?e.prev():39===t.keyCode&&e.next()})}),C("UpdateStatus"+i,function(t,n){n.text&&(n.text=V(n.text,e.currItem.index,e.items.length))}),C(f+i,function(t,i,r,o){var a=e.items.length;r.counter=a>1?V(n.tCounter,o.index,a):""}),C("BuildControls"+i,function(){if(e.items.length>1&&n.arrows&&!e.arrowLeft){var i=n.arrowMarkup,r=e.arrowLeft=t(i.replace(/%title%/gi,n.tPrev).replace(/%dir%/gi,"left")).addClass(b),a=e.arrowRight=t(i.replace(/%title%/gi,n.tNext).replace(/%dir%/gi,"right")).addClass(b),s=o?"mfpFastClick":"click";r[s](function(){e.prev()}),a[s](function(){e.next()}),e.isIE7&&(k("b",r[0],!1,!0),k("a",r[0],!1,!0),k("b",a[0],!1,!0),k("a",a[0],!1,!0)),e.container.append(r.add(a))}}),C(h+i,function(){e._preloadTimeout&&clearTimeout(e._preloadTimeout),e._preloadTimeout=setTimeout(function(){e.preloadNearbyImages(),e._preloadTimeout=null},16)}),C(l+i,function(){r.off(i),e.wrap.off("click"+i),e.arrowLeft&&o&&e.arrowLeft.add(e.arrowRight).destroyMfpFastClick(),e.arrowRight=e.arrowLeft=null}),void 0):!1},next:function(){e.direction=!0,e.index=B(e.index+1),e.updateItemHTML()},prev:function(){e.direction=!1,e.index=B(e.index-1),e.updateItemHTML()},goTo:function(t){e.direction=t>=e.index,e.index=t,e.updateItemHTML()},preloadNearbyImages:function(){var t,n=e.st.gallery.preload,i=Math.min(n[0],e.items.length),r=Math.min(n[1],e.items.length);for(t=1;(e.direction?r:i)>=t;t++)e._preloadItem(e.index+t);for(t=1;(e.direction?i:r)>=t;t++)e._preloadItem(e.index-t)},_preloadItem:function(n){if(n=B(n),!e.items[n].preloaded){var i=e.items[n];i.parsed||(i=e.parseEl(n)),S("LazyLoad",i),"image"===i.type&&(i.img=t('<img class="mfp-img" />').on("load.mfploader",function(){i.hasSize=!0}).on("error.mfploader",function(){i.hasSize=!0,i.loadError=!0,S("LazyLoadError",i)}).attr("src",i.src)),i.preloaded=!0}}}});var U="retina";t.magnificPopup.registerModule(U,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,function(t){return"@2x"+t})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var t=e.st.retina,n=t.ratio;n=isNaN(n)?n():n,n>1&&(C("ImageHasSize."+U,function(t,e){e.img.css({"max-width":e.img[0].naturalWidth/n,width:"100%"})}),C("ElementParse."+U,function(e,i){i.src=t.replaceSrc(i,n)}))}}}}),function(){var e=1e3,n="ontouchstart"in window,i=function(){T.off("touchmove"+o+" touchend"+o)},r="mfpFastClick",o="."+r;t.fn.mfpFastClick=function(r){return t(this).each(function(){var a,s=t(this);if(n){var l,u,c,d,f,p;s.on("touchstart"+o,function(t){d=!1,p=1,f=t.originalEvent?t.originalEvent.touches[0]:t.touches[0],u=f.clientX,c=f.clientY,T.on("touchmove"+o,function(t){f=t.originalEvent?t.originalEvent.touches:t.touches,p=f.length,f=f[0],(Math.abs(f.clientX-u)>10||Math.abs(f.clientY-c)>10)&&(d=!0,i())}).on("touchend"+o,function(t){i(),d||p>1||(a=!0,t.preventDefault(),clearTimeout(l),l=setTimeout(function(){a=!1},e),r())})})}s.on("click"+o,function(){a||r()})})},t.fn.destroyMfpFastClick=function(){t(this).off("touchstart"+o+" click"+o),n&&T.off("touchmove"+o+" touchend"+o)}}(),E()}(window.jQuery||window.Zepto),window.Modernizr=function(t,e,n){function i(t){y.cssText=t}function r(t,e){return typeof t===e}function o(t,e){return!!~(""+t).indexOf(e)}function a(t,e){for(var i in t){var r=t[i];if(!o(r,"-")&&y[r]!==n)return"pfx"==e?r:!0}return!1}function s(t,e,i){for(var o in t){var a=e[t[o]];if(a!==n)return i===!1?t[o]:r(a,"function")?a.bind(i||e):a}return!1}function l(t,e,n){var i=t.charAt(0).toUpperCase()+t.slice(1),o=(t+" "+x.join(i+" ")+i).split(" ");return r(e,"string")||r(e,"undefined")?a(o,e):(o=(t+" "+T.join(i+" ")+i).split(" "),s(o,e,n))}var u,c,d,f="2.6.2",p={},h=!0,m=e.documentElement,g="modernizr",v=e.createElement(g),y=v.style,b=({}.toString," -webkit- -moz- -o- -ms- ".split(" ")),w="Webkit Moz O ms",x=w.split(" "),T=w.toLowerCase().split(" "),C={},k=[],S=k.slice,_=function(t,n,i,r){var o,a,s,l,u=e.createElement("div"),c=e.body,d=c||e.createElement("body");if(parseInt(i,10))for(;i--;)s=e.createElement("div"),s.id=r?r[i]:g+(i+1),u.appendChild(s);return o=["­",'<style id="s',g,'">',t,"</style>"].join(""),u.id=g,(c?u:d).innerHTML+=o,d.appendChild(u),c||(d.style.background="",d.style.overflow="hidden",l=m.style.overflow,m.style.overflow="hidden",m.appendChild(d)),a=n(u,t),c?u.parentNode.removeChild(u):(d.parentNode.removeChild(d),m.style.overflow=l),!!a},E={}.hasOwnProperty;d=r(E,"undefined")||r(E.call,"undefined")?function(t,e){return e in t&&r(t.constructor.prototype[e],"undefined")}:function(t,e){return E.call(t,e)},Function.prototype.bind||(Function.prototype.bind=function(t){var e=this;if("function"!=typeof e)throw new TypeError;
120var n=S.call(arguments,1),i=function(){if(this instanceof i){var r=function(){};r.prototype=e.prototype;var o=new r,a=e.apply(o,n.concat(S.call(arguments)));return Object(a)===a?a:o}return e.apply(t,n.concat(S.call(arguments)))};return i}),C.csstransforms=function(){return!!l("transform")},C.csstransforms3d=function(){var t=!!l("perspective");return t&&"webkitPerspective"in m.style&&_("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(e){t=9===e.offsetLeft&&3===e.offsetHeight}),t},C.csstransitions=function(){return l("transition")};for(var $ in C)d(C,$)&&(c=$.toLowerCase(),p[c]=C[$](),k.push((p[c]?"":"no-")+c));return p.addTest=function(t,e){if("object"==typeof t)for(var i in t)d(t,i)&&p.addTest(i,t[i]);else{if(t=t.toLowerCase(),p[t]!==n)return p;e="function"==typeof e?e():e,"undefined"!=typeof h&&h&&(m.className+=" "+(e?"":"no-")+t),p[t]=e}return p},i(""),v=u=null,p._version=f,p._prefixes=b,p._domPrefixes=T,p._cssomPrefixes=x,p.testProp=function(t){return a([t])},p.testAllProps=l,p.testStyles=_,p.prefixed=function(t,e,n){return e?l(t,e,n):l(t,"pfx")},m.className=m.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(h?" js "+k.join(" "):""),p}(this,this.document),/* 121* jQuery throttle / debounce - v1.1 - 3/7/2010 122* http://benalman.com/projects/jquery-throttle-debounce-plugin/ 123* 124* Copyright (c) 2010 "Cowboy" Ben Alman 125* Dual licensed under the MIT and GPL licenses. 126* http://benalman.com/about/license/ 127*/ 128function(t,e){var n,i=t.jQuery||t.Cowboy||(t.Cowboy={});i.throttle=n=function(t,n,r,o){function a(){function i(){l=+new Date,r.apply(u,d)}function a(){s=e}var u=this,c=+new Date-l,d=arguments;o&&!s&&i(),s&&clearTimeout(s),o===e&&c>t?i():n!==!0&&(s=setTimeout(o?a:i,o===e?t-c:t))}var s,l=0;return"boolean"!=typeof n&&(o=r,r=n,n=e),i.guid&&(a.guid=r.guid=r.guid||i.guid++),a},i.debounce=function(t,i,r){return r===e?n(t,i,!1):n(t,r,i!==!1)}}(this),!function(t){"function"==typeof define&&define.amd?define(["jquery","modernizr"],t):"object"==typeof exports?module.exports=t(require("jquery"),window.Modernizr):window.Shuffle=t(window.jQuery,window.Modernizr)}(function(t,e,n){"use strict";function i(t){return t?t.replace(/([A-Z])/g,function(t,e){return"-"+e.toLowerCase()}).replace(/^ms-/,"-ms-"):""}function r(e,n,i){var r,o,a,s=null,l=0;i=i||{};var u=function(){l=i.leading===!1?0:t.now(),s=null,a=e.apply(r,o),r=o=null};return function(){var c=t.now();l||i.leading!==!1||(l=c);var d=n-(c-l);return r=this,o=arguments,0>=d||d>n?(clearTimeout(s),s=null,l=c,a=e.apply(r,o),r=o=null):s||i.trailing===!1||(s=setTimeout(u,d)),a}}function o(t,e,n){for(var i=0,r=t.length;r>i;i++)if(e.call(n,t[i],i,t)==={})return}function a(e,n,i){return setTimeout(t.proxy(e,n),i)}function s(t){return Math.max.apply(Math,t)}function l(t){return Math.min.apply(Math,t)}function u(e){return t.isNumeric(e)?e:0}function c(t){var e,n,i=t.length;if(!i)return t;for(;--i;)n=Math.floor(Math.random()*(i+1)),e=t[n],t[n]=t[i],t[i]=e;return t}if("object"!=typeof e)throw new Error("Shuffle.js requires Modernizr.\nhttp://vestride.github.io/Shuffle/#dependencies");var d=e.prefixed("transition"),f=e.prefixed("transitionDelay"),p=e.prefixed("transitionDuration"),h={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[d],m=e.prefixed("transform"),g=i(m),v=e.csstransforms&&e.csstransitions,y=e.csstransforms3d,b=!!window.getComputedStyle,w="shuffle",x="all",T="groups",C=1,k=.001,S=window.getComputedStyle||function(){},_=function(t,e){this.x=u(t),this.y=u(e)};_.equals=function(t,e){return t.x===e.x&&t.y===e.y};var E=function(){if(!b)return!1;var t=document.body||document.documentElement,e=document.createElement("div");e.style.cssText="width:10px;padding:2px;-webkit-box-sizing:border-box;box-sizing:border-box;",t.appendChild(e);var n=S(e,null).width,i="10px"===n;return t.removeChild(e),i}
128(),$=0,D=t(window),A=function(e,n){n=n||{},t.extend(this,A.options,n,A.settings),this.$el=t(e),this.element=e,this.unique="shuffle_"+$++,this._fire(A.EventType.LOADING),this._init(),a(function(){this.initialized=!0,this._fire(A.EventType.DONE)},this,16)};return A.EventType={LOADING:"loading",DONE:"done",LAYOUT:"layout",REMOVED:"removed"},A.ClassName={BASE:w,SHUFFLE_ITEM:"shuffle-item",FILTERED:"filtered",CONCEALED:"concealed"},A.options={group:x,speed:250,easing:"ease-out",itemSelector:"",sizer:null,gutterWidth:0,columnWidth:0,delimeter:null,buffer:0,columnThreshold:b?.01:.1,initialSort:null,throttle:r,throttleTime:300,sequentialFadeDelay:150,supported:v},A.settings={useSizer:!1,itemCss:{position:"absolute",top:0,left:0,visibility:"visible"},revealAppendedDelay:300,lastSort:{},lastFilter:x,enabled:!0,destroyed:!1,initialized:!1,_animations:[],_transitions:[],_isMovementCanceled:!1,styleQueue:[]},A.Point=_,A._getItemTransformString=function(t,e){return y?"translate3d("+t.x+"px, "+t.y+"px, 0) scale3d("+e+", "+e+", 1)":"translate("+t.x+"px, "+t.y+"px) scale("+e+")"},A._getNumberStyle=function(e,n,i){if(b){i=i||S(e,null);var r=A._getFloat(i[n]);return E||"width"!==n?E||"height"!==n||(r+=A._getFloat(i.paddingTop)+A._getFloat(i.paddingBottom)+A._getFloat(i.borderTopWidth)+A._getFloat(i.borderBottomWidth)):r+=A._getFloat(i.paddingLeft)+A._getFloat(i.paddingRight)+A._getFloat(i.borderLeftWidth)+A._getFloat(i.borderRightWidth),r}return A._getFloat(t(e).css(n))},A._getFloat=function(t){return u(parseFloat(t))},A._getOuterWidth=function(t,e){var n=S(t,null),i=A._getNumberStyle(t,"width",n);if(e){var r=A._getNumberStyle(t,"marginLeft",n),o=A._getNumberStyle(t,"marginRight",n);i+=r+o}return i},A._getOuterHeight=function(t,e){var n=S(t,null),i=A._getNumberStyle(t,"height",n);if(e){var r=A._getNumberStyle(t,"marginTop",n),o=A._getNumberStyle(t,"marginBottom",n);i+=r+o}return i},A._skipTransition=function(t,e,n){var i=t.style[p];t.style[p]="0ms",e.call(n);var r=t.offsetWidth;r=null,t.style[p]=i},A.prototype._init=function(){this.$items=this._getItems(),this.sizer=this._getElementOption(this.sizer),this.sizer&&(this.useSizer=!0),this.$el.addClass(A.ClassName.BASE),this._initItems(),D.on("resize."+w+"."+this.unique,this._getResizeFunction());var t=this.$el.css(["position","overflow"]),e=A._getOuterWidth(this.element);this._validateStyles(t),this._setColumns(e),this.shuffle(this.group,this.initialSort),this.supported&&a(function(){this._setTransitions(),this.element.style[d]="height "+this.speed+"ms "+this.easing},this)},A.prototype._getResizeFunction=function(){var e=t.proxy(this._onResize,this);return this.throttle?this.throttle(e,this.throttleTime):e},A.prototype._getElementOption=function(t){return"string"==typeof t?this.$el.find(t)[0]||null:t&&t.nodeType&&1===t.nodeType?t:t&&t.jquery?t[0]:null},A.prototype._validateStyles=function(t){"static"===t.position&&(this.element.style.position="relative"),"hidden"!==t.overflow&&(this.element.style.overflow="hidden")},A.prototype._filter=function(t,e){t=t||this.lastFilter,e=e||this.$items;var n=this._getFilteredSets(t,e);return this._toggleFilterClasses(n.filtered,n.concealed),this.lastFilter=t,"string"==typeof t&&(this.group=t),n.filtered},A.prototype._getFilteredSets=function(e,n){var i=t(),r=t();return e===x?i=n:o(n,function(n){var o=t(n);this._doesPassFilter(e,o)?i=i.add(o):r=r.add(o)},this),{filtered:i,concealed:r}},A.prototype._doesPassFilter=function(e,n){if(t.isFunction(e))return e.call(n[0],n,this);var i=n.data(T),r=this.delimeter&&!t.isArray(i)?i.split(this.delimeter):i;return t.inArray(e,r)>-1},A.prototype._toggleFilterClasses=function(t,e){t.removeClass(A.ClassName.CONCEALED).addClass(A.ClassName.FILTERED),e.removeClass(A.ClassName.FILTERED).addClass(A.ClassName.CONCEALED)},A.prototype._initItems=function(t){t=t||this.$items,t.addClass([A.ClassName.SHUFFLE_ITEM,A.ClassName.FILTERED].join(" ")),t.css(this.itemCss).data("point",new _).data("scale",C)},A.prototype._updateItemCount=function(){this.visibleItems=this._getFilteredItems().length},A.prototype._setTransition=function(t){t.style[d]=g+" "+this.speed+"ms "+this.easing+", opacity "+this.speed+"ms "+this.easing},A.prototype._setTransitions=function(t){t=t||this.$items,o(t,function(t){this._setTransition(t)},this)},A.prototype._setSequentialDelay=function(t){this.supported&&o(t,function(t,e){t.style[f]="0ms,"+(e+1)*this.sequentialFadeDelay+"ms"},this)},A.prototype._getItems=function(){return this.$el.children(this.itemSelector)},A.prototype._getFilteredItems=function(){return this.$items.filter("."+A.ClassName.FILTERED)},A.prototype._getConcealedItems=function(){return this.$items.filter("."+A.ClassName.CONCEALED)},A.prototype._getColumnSize=function(e,n){var i;return i=t.isFunction(this.columnWidth)?this.columnWidth(e):this.useSizer?A._getOuterWidth(this.sizer):this.columnWidth?this.columnWidth:this.$items.length>0?A._getOuterWidth(this.$items[0],!0):e,0===i&&(i=e),i+n},A.prototype._getGutterSize=function(e){var n;return n=t.isFunction(this.gutterWidth)?this.gutterWidth(e):this.useSizer?A._getNumberStyle(this.sizer,"marginLeft"):this.gutterWidth},A.prototype._setColumns=function(t){var e=t||A._getOuterWidth(this.element),n=this._getGutterSize(e),i=this._getColumnSize(e,n),r=(e+n)/i;Math.abs(Math.round(r)-r)<this.columnThreshold&&(r=Math.round(r)),this.cols=Math.max(Math.floor(r),1),this.containerWidth=e,this.colWidth=i},A.prototype._setContainerSize=function(){this.$el.css("height",this._getContainerSize())},A.prototype._getContainerSize=function(){return s(this.positions)},A.prototype._fire=function(t,e){this.$el.trigger(t+"."+w,e&&e.length?e:[this])},A.prototype._resetCols=function(){var t=this.cols;for(this.positions=[];t--;)this.positions.push(0)},A.prototype._layout=function(t,e){o(t,function(t){this._layoutItem(t,!!e)},this),this._processStyleQueue(),this._setContainerSize()},A.prototype._layoutItem=function(e,n){var i=t(e),r=i.data(),o=r.point,a=r.scale,s={width:A._getOuterWidth(e,!0),height:A._getOuterHeight(e,!0)},l=this._getItemPosition(s);_.equals(o,l)&&a===C||(r.point=l,r.scale=C,this.styleQueue.push({$item:i,point:l,scale:C,opacity:n?0:1,skipTransition:n||0===this.speed,callfront:function(){n||i.css("visibility","visible")},callback:function(){n&&i.css("visibility","hidden")}}))},A.prototype._getItemPosition=function(t){for(var e=this._getColumnSpan(t.width,this.colWidth,this.cols),n=this._getColumnSet(e,this.cols),i=this._getShortColumn(n,this.buffer),r=new _(Math.round(this.colWidth*i),Math.round(n[i])),o=n[i]+t.height,a=this.cols+1-n.length,s=0;a>s;s++)this.positions[i+s]=o;return r},A.prototype._getColumnSpan=function(t,e,n){var i=t/e;return Math.abs(Math.round(i)-i)<this.columnThreshold&&(i=Math.round(i)),Math.min(Math.ceil(i),n)},A.prototype._getColumnSet=function(t,e){if(1===t)return this.positions;for(var n=e+1-t,i=[],r=0;n>r;r++)i[r]=s(this.positions.slice(r,r+t));return i},A.prototype._getShortColumn=function(t,e){for(var n=l(t),i=0,r=t.length;r>i;i++)if(t[i]>=n-e&&t[i]<=n+e)return i;return 0},A.prototype._shrink=function(e){var n=e||this._getConcealedItems();o(n,function(e){var n=t(e),i=n.data();i.scale!==k&&(i.scale=k,this.styleQueue.push({$item:n,point:i.point,scale:k,opacity:0,callback:function(){n.css("visibility","hidden")}}))},this)},A.prototype._onResize=function(){if(this.enabled&&!this.destroyed){var t=A._getOuterWidth(this.element);t!==this.containerWidth&&this.update()}},A.prototype._getStylesForTransition=function(t){var e={opacity:t.opacity};return this.supported?e[m]=A._getItemTransformString(t.point,t.scale):(e.left=t.point.x,e.top=t.point.y),e},A.prototype._transition=function(e){var n=this._getStylesForTransition(e);this._startItemAnimation(e.$item,n,e.callfront||t.noop,e.callback||t.noop)},A.prototype._startItemAnimation=function(e,n,i,r){function o(e){e.target===e.currentTarget&&(t(e.target).off(h,o),a._removeTransitionReference(s),r()
128)}var a=this,s={$element:e,handler:o};if(i(),!this.initialized)return e.css(n),void r();if(this.supported)e.css(n),e.on(h,o),this._transitions.push(s);else{var l=e.stop(!0).animate(n,this.speed,"swing",r);this._animations.push(l.promise())}},A.prototype._processStyleQueue=function(e){this.isTransitioning&&this._cancelMovement();var n=t();o(this.styleQueue,function(t){t.skipTransition?this._styleImmediately(t):(n=n.add(t.$item),this._transition(t))},this),n.length>0&&this.initialized&&this.speed>0?(this.isTransitioning=!0,this.supported?this._whenCollectionDone(n,h,this._movementFinished):this._whenAnimationsDone(this._movementFinished)):e||a(this._layoutEnd,this),this.styleQueue.length=0},A.prototype._cancelMovement=function(){this.supported?o(this._transitions,function(t){t.$element.off(h,t.handler)}):(this._isMovementCanceled=!0,this.$items.stop(!0),this._isMovementCanceled=!1),this._transitions.length=0,this.isTransitioning=!1},A.prototype._removeTransitionReference=function(e){var n=t.inArray(e,this._transitions);n>-1&&this._transitions.splice(n,1)},A.prototype._styleImmediately=function(t){A._skipTransition(t.$item[0],function(){t.$item.css(this._getStylesForTransition(t))},this)},A.prototype._movementFinished=function(){this.isTransitioning=!1,this._layoutEnd()},A.prototype._layoutEnd=function(){this._fire(A.EventType.LAYOUT)},A.prototype._addItems=function(t,e,n){this._initItems(t),this._setTransitions(t),this.$items=this._getItems(),this._shrink(t),o(this.styleQueue,function(t){t.skipTransition=!0}),this._processStyleQueue(!0),e?this._addItemsToEnd(t,n):this.shuffle(this.lastFilter)},A.prototype._addItemsToEnd=function(t,e){var n=this._filter(null,t),i=n.get();this._updateItemCount(),this._layout(i,!0),e&&this.supported&&this._setSequentialDelay(i),this._revealAppended(i)},A.prototype._revealAppended=function(e){a(function(){o(e,function(e){var n=t(e);this._transition({$item:n,opacity:1,point:n.data("point"),scale:C})},this),this._whenCollectionDone(t(e),h,function(){t(e).css(f,"0ms"),this._movementFinished()})},this,this.revealAppendedDelay)},A.prototype._whenCollectionDone=function(e,n,i){function r(e){e.target===e.currentTarget&&(t(e.target).off(n,r),o++,o===a&&(s._removeTransitionReference(l),i.call(s)))}var o=0,a=e.length,s=this,l={$element:e,handler:r};e.on(n,r),this._transitions.push(l)},A.prototype._whenAnimationsDone=function(e){t.when.apply(null,this._animations).always(t.proxy(function(){this._animations.length=0,this._isMovementCanceled||e.call(this)},this))},A.prototype.shuffle=function(t,e){this.enabled&&(t||(t=x),this._filter(t),this._updateItemCount(),this._shrink(),this.sort(e))},A.prototype.sort=function(t){if(this.enabled){this._resetCols();var e=t||this.lastSort,n=this._getFilteredItems().sorted(e);this._layout(n),this.lastSort=e}},A.prototype.update=function(t){this.enabled&&(t||this._setColumns(),this.sort())},A.prototype.layout=function(){this.update(!0)},A.prototype.appended=function(t,e,n){this._addItems(t,e===!0,n!==!1)},A.prototype.disable=function(){this.enabled=!1},A.prototype.enable=function(t){this.enabled=!0,t!==!1&&this.update()},A.prototype.remove=function(e){function n(){e.remove(),this.$items=this._getItems(),this._updateItemCount(),this._fire(A.EventType.REMOVED,[e,this]),e=null}e.length&&e.jquery&&(this._toggleFilterClasses(t(),e),this._shrink(e),this.sort(),this.$el.one(A.EventType.LAYOUT+"."+w,t.proxy(n,this)))},A.prototype.destroy=function(){D.off("."+this.unique),this.$el.removeClass(w).removeAttr("style").removeData(w),this.$items.removeAttr("style").removeData("point").removeData("scale").removeClass([A.ClassName.CONCEALED,A.ClassName.FILTERED,A.ClassName.SHUFFLE_ITEM].join(" ")),this.$items=null,this.$el=null,this.sizer=null,this.element=null,this._transitions=null,this.destroyed=!0},t.fn.shuffle=function(e){var n=Array.prototype.slice.call(arguments,1);return this.each(function(){var i=t(this),r=i.data(w);r?"string"==typeof e&&r[e]&&r[e].apply(r,n):(r=new A(this,e),i.data(w,r))})},t.fn.sorted=function(e){var i=t.extend({},t.fn.sorted.defaults,e),r=this.get(),o=!1;
128return r.length?i.randomize?c(r):(t.isFunction(i.by)&&r.sort(function(e,r){if(o)return 0;var a=i.by(t(e)),s=i.by(t(r));return a===n&&s===n?(o=!0,0):s>a||"sortFirst"===a||"sortLast"===s?-1:a>s||"sortLast"===a||"sortFirst"===s?1:0}),o?this.get():(i.reverse&&r.reverse(),r)):[]},t.fn.sorted.defaults={reverse:!1,by:null,randomize:!1},A}),function(t){t.fn.tile=function(e){var n,i,r,o,a,s,l=document.body.style,u=["height"],c=this.length-1;return e||(e=this.length),s=l.removeProperty?l.removeProperty:l.removeAttribute,this.each(function(){s.apply(this.style,u)}).each(function(s){o=s%e,0==o&&(n=[]),i=n[o]=t(this),a="border-box"==i.css("box-sizing")?i.outerHeight():i.innerHeight(),(0==o||a>r)&&(r=a),(s==c||o==e-1)&&t.each(n,function(){this.css("height",r)})})}}(jQuery),/*! 129Waypoints - 4.0.1 130Copyright © 2011-2016 Caleb Troughton 131Licensed under the MIT license. 132https://github.com/imakewebthings/waypoints/blob/master/licenses.txt 133*/ 134!function(){"use strict";function t(i){if(!i)throw new Error("No options passed to Waypoint constructor");if(!i.element)throw new Error("No element option passed to Waypoint constructor");if(!i.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,i),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=i.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),n[this.key]=this,e+=1}var e=0,n={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete n[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var i in n)e.push(n[i]);for(var r=0,o=e.length;o>r;r++)e[r][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){t.Context.refreshAll();for(var e in n)n[e].enabled=!0;return this},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){this.element=t,this.Adapter=r.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+n,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,i[t.waypointContextKey]=this,n+=1,r.windowContext||(r.windowContext=!0,r.windowContext=new e(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var n=0,i={},r=window.Waypoint,o=window.onload;e.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical),n=this.element==this.element.window;t&&e&&!n&&(this.adapter.off(".waypoints"),delete i[this.key])},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",function(){e.didResize||(e.didResize=!0,r.requestAnimationFrame(t))})},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",function(){(!e.didScroll||r.isTouch)&&(e.didScroll=!0,r.requestAnimationFrame(t))})},e.prototype.handleResize=function(){r.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var n in e){var i=e[n],r=i.newScroll>i.oldScroll,o=r?i.forward:i.backward;for(var a in this.waypoints[n]){var s=this.waypoints[n][a];if(null!==s.triggerPoint){var l=i.oldScroll<s.triggerPoint,u=i.newScroll>=s.triggerPoint,c=l&&u,d=!l&&!u;(c||d)&&(s.queueTrigger(o),t[s.group.id]=s.group)}}}for(var f in t)t[f].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}}
vendor: 6,116 bytes, line 134
134,e.prototype.innerHeight=function(){return this.element==this.element.window?r.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?r.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var n in this.waypoints[e])t.push(this.waypoints[e][n]);for(var i=0,r=t.length;r>i;i++)t[i].destroy()},e.prototype.refresh=function(){var t,e=this.element==this.element.window,n=e?void 0:this.adapter.offset(),i={};this.handleScroll(),t={horizontal:{contextOffset:e?0:n.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:n.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};for(var o in t){var a=t[o];for(var s in this.waypoints[o]){var l,u,c,d,f,p=this.waypoints[o][s],h=p.options.offset,m=p.triggerPoint,g=0,v=null==m;p.element!==p.element.window&&(g=p.adapter.offset()[a.offsetProp]),"function"==typeof h?h=h.apply(p):"string"==typeof h&&(h=parseFloat(h),p.options.offset.indexOf("%")>-1&&(h=Math.ceil(a.contextDimension*h/100))),l=a.contextScroll-a.contextOffset,p.triggerPoint=Math.floor(g+l-h),u=m<a.oldScroll,c=p.triggerPoint>=a.oldScroll,d=u&&c,f=!u&&!c,!v&&d?(p.queueTrigger(a.backward),i[p.group.id]=p.group):!v&&f?(p.queueTrigger(a.forward),i[p.group.id]=p.group):v&&a.oldScroll>=p.triggerPoint&&(p.queueTrigger(a.forward),i[p.group.id]=p.group)}}return r.requestAnimationFrame(function(){for(var t in i)i[t].flushTriggers()}),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in i)i[t].refresh()},e.findByElement=function(t){return i[t.waypointContextKey]},window.onload=function(){o&&o(),e.refreshAll()},r.requestAnimationFrame=function(e){var n=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t;n.call(window,e)},r.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function n(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),i[this.axis][this.name]=this}var i={vertical:{},horizontal:{}},r=window.Waypoint;n.prototype.add=function(t){this.waypoints.push(t)},n.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},n.prototype.flushTriggers=function(){for(var n in this.triggerQueues){var i=this.triggerQueues[n],r="up"===n||"left"===n;i.sort(r?e:t);for(var o=0,a=i.length;a>o;o+=1){var s=i[o];(s.options.continuous||o===i.length-1)&&s.trigger([n])}}this.clearTriggerQueues()},n.prototype.next=function(e){this.waypoints.sort(t);var n=r.Adapter.inArray(e,this.waypoints),i=n===this.waypoints.length-1;return i?null:this.waypoints[n+1]},n.prototype.previous=function(e){this.waypoints.sort(t);var n=r.Adapter.inArray(e,this.waypoints);return n?this.waypoints[n-1]:null},n.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},n.prototype.remove=function(t){var e=r.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},n.prototype.first=function(){return this.waypoints[0]},n.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},n.findOrCreate=function(t){return i[t.axis][t.name]||new n(t)},r.Group=n}(),function(){"use strict";function t(t){this.$element=e(t)}var e=window.jQuery,n=window.Waypoint;e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(e,n){t.prototype[n]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[n].apply(this.$element,t)}}),e.each(["extend","inArray","isEmptyObject"],function(n,i){t[i]=e[i]}),n.adapters.push({name:"jquery",Adapter:t}),n.Adapter=t}(),function(){"use strict";function t(t){return function(){var n=[],i=arguments[0];return t.isFunction(arguments[0])&&(i=t.extend({},arguments[1]),i.handler=arguments[0]),this.each(function(){var r=t.extend({},i,{element:this});"string"==typeof r.context&&(r.context=t(this).closest(r.context)[0]),n.push(new e(r))}),n}}var e=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}(),!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){"use strict";var e=window.Slick||{};e=function(){function e(e,i){var r,o=this;o.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:t(e),appendDots:t(e),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,e){return'<button type="button" data-role="none" role="button" aria-required="false" tabindex="0">'+(e+1)+"</button>"},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!1,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},o.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,
vendor: 9,250 bytes, line 134
134sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},t.extend(o,o.initials),o.activeBreakpoint=null,o.animType=null,o.animProp=null,o.breakpoints=[],o.breakpointSettings=[],o.cssTransitions=!1,o.hidden="hidden",o.paused=!1,o.positionProp=null,o.respondTo=null,o.rowCount=1,o.shouldClick=!0,o.$slider=t(e),o.$slidesCache=null,o.transformType=null,o.transitionType=null,o.visibilityChange="visibilitychange",o.windowWidth=0,o.windowTimer=null,r=t(e).data("slick")||{},o.options=t.extend({},o.defaults,r,i),o.currentSlide=o.options.initialSlide,o.originalSettings=o.options,"undefined"!=typeof document.mozHidden?(o.hidden="mozHidden",o.visibilityChange="mozvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(o.hidden="webkitHidden",o.visibilityChange="webkitvisibilitychange"),o.autoPlay=t.proxy(o.autoPlay,o),o.autoPlayClear=t.proxy(o.autoPlayClear,o),o.changeSlide=t.proxy(o.changeSlide,o),o.clickHandler=t.proxy(o.clickHandler,o),o.selectHandler=t.proxy(o.selectHandler,o),o.setPosition=t.proxy(o.setPosition,o),o.swipeHandler=t.proxy(o.swipeHandler,o),o.dragHandler=t.proxy(o.dragHandler,o),o.keyHandler=t.proxy(o.keyHandler,o),o.autoPlayIterator=t.proxy(o.autoPlayIterator,o),o.instanceUid=n++,o.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,o.registerBreakpoints(),o.init(!0),o.checkResponsive(!0)}var n=0;return e}(),e.prototype.addSlide=e.prototype.slickAdd=function(e,n,i){var r=this;if("boolean"==typeof n)i=n,n=null;else if(0>n||n>=r.slideCount)return!1;r.unload(),"number"==typeof n?0===n&&0===r.$slides.length?t(e).appendTo(r.$slideTrack):i?t(e).insertBefore(r.$slides.eq(n)):t(e).insertAfter(r.$slides.eq(n)):i===!0?t(e).prependTo(r.$slideTrack):t(e).appendTo(r.$slideTrack),r.$slides=r.$slideTrack.children(this.options.slide),r.$slideTrack.children(this.options.slide).detach(),r.$slideTrack.append(r.$slides),r.$slides.each(function(e,n){t(n).attr("data-slick-index",e)}),r.$slidesCache=r.$slides,r.reinit()},e.prototype.animateHeight=function(){var t=this;if(1===t.options.slidesToShow&&t.options.adaptiveHeight===!0&&t.options.vertical===!1){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.animate({height:e},t.options.speed)}},e.prototype.animateSlide=function(e,n){var i={},r=this;r.animateHeight(),r.options.rtl===!0&&r.options.vertical===!1&&(e=-e),r.transformsEnabled===!1?r.options.vertical===!1?r.$slideTrack.animate({left:e},r.options.speed,r.options.easing,n):r.$slideTrack.animate({top:e},r.options.speed,r.options.easing,n):r.cssTransitions===!1?(r.options.rtl===!0&&(r.currentLeft=-r.currentLeft),t({animStart:r.currentLeft}).animate({animStart:e},{duration:r.options.speed,easing:r.options.easing,step:function(t){t=Math.ceil(t),r.options.vertical===!1?(i[r.animType]="translate("+t+"px, 0px)",r.$slideTrack.css(i)):(i[r.animType]="translate(0px,"+t+"px)",r.$slideTrack.css(i))},complete:function(){n&&n.call()}})):(r.applyTransition(),e=Math.ceil(e),i[r.animType]=r.options.vertical===!1?"translate3d("+e+"px, 0px, 0px)":"translate3d(0px,"+e+"px, 0px)",r.$slideTrack.css(i),n&&setTimeout(function(){r.disableTransition(),n.call()},r.options.speed))},e.prototype.asNavFor=function(e){var n=this,i=n.options.asNavFor;i&&null!==i&&(i=t(i).not(n.$slider)),null!==i&&"object"==typeof i&&i.each(function(){var n=t(this).slick("getSlick");n.unslicked||n.slideHandler(e,!0)})},e.prototype.applyTransition=function(t){var e=this,n={};n[e.transitionType]=e.options.fade===!1?e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:"opacity "+e.options.speed+"ms "+e.options.cssEase,e.options.fade===!1?e.$slideTrack.css(n):e.$slides.eq(t).css(n)},e.prototype.autoPlay=function(){var t=this;t.autoPlayTimer&&clearInterval(t.autoPlayTimer),t.slideCount>t.options.slidesToShow&&t.paused!==!0&&(t.autoPlayTimer=setInterval(t.autoPlayIterator,t.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){var t=this;t.autoPlayTimer&&clearInterval(t.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var t=this;t.options.infinite===!1?1===t.direction?(t.currentSlide+1===t.slideCount-1&&(t.direction=0),t.slideHandler(t.currentSlide+t.options.slidesToScroll)):(t.currentSlide-1===0&&(t.direction=1),t.slideHandler(t.currentSlide-t.options.slidesToScroll)):t.slideHandler(t.currentSlide+t.options.slidesToScroll)},e.prototype.buildArrows=function(){var e=this;e.options.arrows===!0&&(e.$prevArrow=t(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=t(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),e.options.infinite!==!0&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},e.prototype.buildDots=function(){var e,n,i=this;if(i.options.dots===!0&&i.slideCount>i.options.slidesToShow){for(n='<ul class="'+i.options.dotsClass+'">',e=0;e<=i.getDotCount();e+=1)n+="<li>"+i.options.customPaging.call(this,i,e)+"</li>";n+="</ul>",i.$dots=t(n).appendTo(i.options.appendDots),i.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,n){t(n).attr("data-slick-index",e).data("originalStyling",t(n).attr("style")||"")}),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?t('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),(e.options.centerMode===!0||e.options.swipeToSlide===!0)&&(e.options.slidesToScroll=1),t("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.options.draggable===!0&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var t,e,n,i,r,o,a,s=this;if(i=document.createDocumentFragment(),o=s.$slider.children(),s.options.rows>1){for(a=s.options.slidesPerRow*s.options.rows,r=Math.ceil(o.length/a),t=0;r>t;t++){var l=document.createElement("div");for(e=0;e<s.options.rows;e++){var u=document.createElement("div");for(n=0;n<s.options.slidesPerRow;n++){var c=t*a+(e*s.options.slidesPerRow+n);o.get(c)&&u.appendChild(o.get(c))}l.appendChild(u)}i.appendChild(l)}s.$slider.html(i),s.$slider.children().children().children().css({width:100/s.options.slidesPerRow+"%",display:"inline-block"})}},e.prototype.checkResponsive=function(e,n){var i,r,o,a=this,s=!1,l=a.$slider.width(),u=window.innerWidth||t(window).width();if("window"===a.respondTo?o=u:"slider"===a.respondTo?o=l:"min"===a.respondTo&&(o=Math.min(u,l)),a.options.responsive&&a.options.responsive.length&&null!==a.options.responsive){r=null;for(i in a.breakpoints)a.breakpoints.hasOwnProperty(i)&&(a.originalSettings.mobileFirst===!1?o<a.breakpoints[i]&&(r=a.breakpoints[i]):o>a.breakpoints[i]&&(r=a.breakpoints[i]));null!==r?null!==a.activeBreakpoint?(r!==a.activeBreakpoint||n)&&(a.activeBreakpoint=r,"unslick"===a.breakpointSettings[r]?a.unslick(r):(a.options=t.extend({},a.originalSettings,a.breakpointSettings[r]),e===!0&&(a.currentSlide=a.options.initialSlide),a.refresh(e)),s=r):(a.activeBreakpoint=r,"unslick"===a.breakpointSettings[r]?a.unslick(r):(a.options=t.extend({},a.originalSettings,a.breakpointSettings[r]),e===!0&&(a.currentSlide=a.options.initialSlide),a.refresh(e)),s=r):null!==a.activeBreakpoint&&(a.activeBreakpoint=null,a.options=a.originalSettings,e===!0&&(a.currentSlide=a.options.initialSlide),a.refresh(e),s=r),e||s===!1||a.$slider.trigger("breakpoint",[a,s])}},e.prototype.changeSlide=function(e,n){var i,r,o,a=this,s=t(e.target);switch(s.is("a")&&e.preventDefault(),s.is("li")||(s=s.closest("li")),o=a.slideCount%a.options.slidesToScroll!==0,i=o?0:(a.slideCount-a.currentSlide)%a.options.slidesToScroll,e.data.message){case"previous":r=0===i?a.options.slidesToScroll:a.options.slidesToShow-i,a.slideCount>a.options.slidesToShow&&a.slideHandler(a.currentSlide-r,!1,n);break;case"next":r=0===i?a.options.slidesToScroll:i,a.slideCount>a.options.slidesToShow&&a.slideHandler(a.currentSlide+r,!1,n);break;case"index":var l=0===e.data.index?0:e.data.index||s.index()*a.options.slidesToScroll;a.slideHandler(a.checkNavigable(l),!1,n),s.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(t){var e,n,i=this;if(e=i.getNavigableIndexes(),n=0,t>e[e.length-1])t=e[e.length-1];else for(var r in e){if(t<e[r]){t=n;break}n=e[r]}return t},e.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&(t("li",e.$dots).off("click.slick",e.changeSlide),e.options.pauseOnDotsHover===!0&&e.options.autoplay===!0&&t("li",e.$dots).off("mouseenter.slick",t.proxy(e.setPaused,e,!0)).off("mouseleave.
134slick",t.proxy(e.setPaused,e,!1))),e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide)),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),t(document).off(e.visibilityChange,e.visibility),e.$list.off("mouseenter.slick",t.proxy(e.setPaused,e,!0)),e.$list.off("mouseleave.slick",t.proxy(e.setPaused,e,!1)),e.options.accessibility===!0&&e.$list.off("keydown.slick",e.keyHandler),e.options.focusOnSelect===!0&&t(e.$slideTrack).children().off("click.slick",e.selectHandler),t(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),t(window).off("resize.slick.slick-"+e.instanceUid,e.resize),t("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),t(window).off("load.slick.slick-"+e.instanceUid,e.setPosition),t(document).off("ready.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.cleanUpRows=function(){var t,e=this;e.options.rows>1&&(t=e.$slides.children().children(),t.removeAttr("style"),e.$slider.html(t))},e.prototype.clickHandler=function(t){var e=this;e.shouldClick===!1&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},e.prototype.destroy=function(e){var n=this;n.autoPlayClear(),n.touchObject={},n.cleanUpEvents(),t(".slick-cloned",n.$slider).detach(),n.$dots&&n.$dots.remove(),n.$prevArrow&&n.$prevArrow.length&&(n.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),n.htmlExpr.test(n.options.prevArrow)&&n.$prevArrow.remove()),n.$nextArrow&&n.$nextArrow.length&&(n.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),n.htmlExpr.test(n.options.nextArrow)&&n.$nextArrow.remove()),n.$slides&&(n.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){t(this).attr("style",t(this).data("originalStyling"))}),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.detach(),n.$list.detach(),n.$slider.append(n.$slides)),n.cleanUpRows(),n.$slider.removeClass("slick-slider"),n.$slider.removeClass("slick-initialized"),n.unslicked=!0,e||n.$slider.trigger("destroy",[n])},e.prototype.disableTransition=function(t){var e=this,n={};n[e.transitionType]="",e.options.fade===!1?e.$slideTrack.css(n):e.$slides.eq(t).css(n)},e.prototype.fadeSlide=function(t,e){var n=this;n.cssTransitions===!1?(n.$slides.eq(t).css({zIndex:n.options.zIndex}),n.$slides.eq(t).animate({opacity:1},n.options.speed,n.options.easing,e)):(n.applyTransition(t),n.$slides.eq(t).css({opacity:1,zIndex:n.options.zIndex}),e&&setTimeout(function(){n.disableTransition(t),e.call()},n.options.speed))},e.prototype.fadeSlideOut=function(t){var e=this;e.cssTransitions===!1?e.$slides.eq(t).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(t),e.$slides.eq(t).css({opacity:0,zIndex:e.options.zIndex-2}))},e.prototype.filterSlides=e.prototype.slickFilter=function(t){var e=this;null!==t&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(t).appendTo(e.$slideTrack),e.reinit())},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){var t=this;return t.currentSlide},e.prototype.getDotCount=function(){var t=this,e=0,n=0,i=0;if(t.options.infinite===!0)for(;e<t.slideCount;)++i,e=n+t.options.slidesToScroll,n+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else if(t.options.centerMode===!0)i=t.slideCount;else for(;e<t.slideCount;)++i,e=n+t.options.slidesToScroll,n+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return i-1},e.prototype.getLeft=function(t){var e,n,i,r=this,o=0;return r.slideOffset=0,n=r.$slides.first().outerHeight(!0),r.options.infinite===!0?(r.slideCount>r.options.slidesToShow&&(r.slideOffset=r.slideWidth*r.options.slidesToShow*-1,o=n*r.options.slidesToShow*-1),r.slideCount%r.options.slidesToScroll!==0&&t+r.options.slidesToScroll>r.slideCount&&r.slideCount>r.options.slidesToShow&&(t>r.slideCount?(r.slideOffset=(r.options.slidesToShow-(t-r.slideCount))*r.slideWidth*-1,o=(r.options.slidesToShow-(t-r.slideCount))*n*-1):(r.slideOffset=r.slideCount%r.options.slidesToScroll*r.slideWidth*-1,o=r.slideCount%r.options.slidesToScroll*n*-1))):t+r.options.slidesToShow>r.slideCount&&(r.slideOffset=(t+r.options.slidesToShow-r.slideCount)*r.slideWidth,o=(t+r.options.slidesToShow-r.slideCount)*n),r.slideCount<=r.options.slidesToShow&&(r.slideOffset=0,o=0),r.options.centerMode===!0&&r.options.infinite===!0?r.slideOffset+=r.slideWidth*Math.floor(r.options.slidesToShow/2)-r.slideWidth:r.options.centerMode===!0&&(r.slideOffset=0,r.slideOffset+=r.slideWidth*Math.floor(r.options.slidesToShow/2)),e=r.options.vertical===!1?t*r.slideWidth*-1+r.slideOffset:t*n*-1+o,r.options.variableWidth===!0&&(i=r.slideCount<=r.options.slidesToShow||r.options.infinite===!1?r.$slideTrack.children(".slick-slide").eq(t):r.$slideTrack.children(".slick-slide").eq(t+r.options.slidesToShow),e=r.options.rtl===!0?i[0]?-1*(r.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,r.options.centerMode===!0&&(i=r.slideCount<=r.options.slidesToShow||r.options.infinite===!1?r.$slideTrack.children(".slick-slide").eq(t):r.$slideTrack.children(".slick-slide").eq(t+r.options.slidesToShow+1),e=r.options.rtl===!0?i[0]?-1*(r.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,e+=(r.$list.width()-i.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(t){var e=this;return e.options[t]},e.prototype.getNavigableIndexes=function(){var t,e=this,n=0,i=0,r=[];for(e.options.infinite===!1?t=e.slideCount:(n=-1*e.options.slidesToScroll,i=-1*e.options.slidesToScroll,t=2*e.slideCount);t>n;)r.push(n),n=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return r},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,n,i,r=this;return i=r.options.centerMode===!0?r.slideWidth*Math.floor(r.options.slidesToShow/2):0,r.options.swipeToSlide===!0?(r.$slideTrack.find(".slick-slide").each(function(e,o){return o.offsetLeft-i+t(o).outerWidth()/2>-1*r.swipeLeft?(n=o,!1):void 0}),e=Math.abs(t(n).attr("data-slick-index")-r.currentSlide)||1):r.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(t,e){var n=this;
vendor: 7,376 bytes, lines 134-135
134n.changeSlide({data:{message:"index",index:parseInt(t)}},e)},e.prototype.init=function(e){var n=this;t(n.$slider).hasClass("slick-initialized")||(t(n.$slider).addClass("slick-initialized"),n.buildRows(),n.buildOut(),n.setProps(),n.startLoad(),n.loadSlider(),n.initializeEvents(),n.updateArrows(),n.updateDots()),e&&n.$slider.trigger("init",[n]),n.options.accessibility===!0&&n.initADA()},e.prototype.initArrowEvents=function(){var t=this;t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.on("click.slick",{message:"previous"},t.changeSlide),t.$nextArrow.on("click.slick",{message:"next"},t.changeSlide))},e.prototype.initDotEvents=function(){var e=this;e.options.dots===!0&&e.slideCount>e.options.slidesToShow&&t("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),e.options.dots===!0&&e.options.pauseOnDotsHover===!0&&e.options.autoplay===!0&&t("li",e.$dots).on("mouseenter.slick",t.proxy(e.setPaused,e,!0)).on("mouseleave.slick",t.proxy(e.setPaused,e,!1))},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"},e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),t(document).on(e.visibilityChange,t.proxy(e.visibility,e)),e.$list.on("mouseenter.slick",t.proxy(e.setPaused,e,!0)),e.$list.on("mouseleave.slick",t.proxy(e.setPaused,e,!1)),e.options.accessibility===!0&&e.$list.on("keydown.slick",e.keyHandler),e.options.focusOnSelect===!0&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),t(window).on("orientationchange.slick.slick-"+e.instanceUid,t.proxy(e.orientationChange,e)),t(window).on("resize.slick.slick-"+e.instanceUid,t.proxy(e.resize,e)),t("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),t(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),t(document).on("ready.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.initUI=function(){var t=this;t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.show(),t.$nextArrow.show()),t.options.dots===!0&&t.slideCount>t.options.slidesToShow&&t.$dots.show(),t.options.autoplay===!0&&t.autoPlay()},e.prototype.keyHandler=function(t){var e=this;t.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===t.keyCode&&e.options.accessibility===!0?e.changeSlide({data:{message:"previous"}}):39===t.keyCode&&e.options.accessibility===!0&&e.changeSlide({data:{message:"next"}}))},e.prototype.lazyLoad=function(){function e(e){t("img[data-lazy]",e).each(function(){var e=t(this),n=t(this).attr("data-lazy"),i=document.createElement("img");i.onload=function(){e.animate({opacity:0},100,function(){e.attr("src",n).animate({opacity:1},200,function(){e.removeAttr("data-lazy").removeClass("slick-loading")})})},i.src=n})}var n,i,r,o,a=this;a.options.centerMode===!0?a.options.infinite===!0?(r=a.currentSlide+(a.options.slidesToShow/2+1),o=r+a.options.slidesToShow+2):(r=Math.max(0,a.currentSlide-(a.options.slidesToShow/2+1)),o=2+(a.options.slidesToShow/2+1)+a.currentSlide):(r=a.options.infinite?a.options.slidesToShow+a.currentSlide:a.currentSlide,o=r+a.options.slidesToShow,a.options.fade===!0&&(r>0&&r--,o<=a.slideCount&&o++)),n=a.$slider.find(".slick-slide").slice(r,o),e(n),a.slideCount<=a.options.slidesToShow?(i=a.$slider.find(".slick-slide"),e(i)):a.currentSlide>=a.slideCount-a.options.slidesToShow?(i=a.$slider.find(".slick-cloned").slice(0,a.options.slidesToShow),e(i)):0===a.currentSlide&&(i=a.$slider.find(".slick-cloned").slice(-1*a.options.slidesToShow),e(i))},e.prototype.loadSlider=function(){var t=this;t.setPosition(),t.$slideTrack.css({opacity:1}),t.$slider.removeClass("slick-loading"),t.initUI(),"progressive"===t.options.lazyLoad&&t.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){var t=this;t.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){var t=this;t.checkResponsive(),t.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){var t=this;t.autoPlayClear(),t.paused=!0},e.prototype.play=e.prototype.slickPlay=function(){var t=this;t.paused=!1,t.autoPlay()},e.prototype.postSlide=function(t){var e=this;e.$slider.trigger("afterChange",[e,t]),e.animating=!1,e.setPosition(),e.swipeLeft=null,e.options.autoplay===!0&&e.paused===!1&&e.autoPlay(),e.options.accessibility===!0&&e.initADA()},e.prototype.prev=e.prototype.slickPrev=function(){var t=this;t.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(t){t.preventDefault()},e.prototype.progressiveLazyLoad=function(){var e,n,i=this;e=t("img[data-lazy]",i.$slider).length,e>0&&(n=t("img[data-lazy]",i.$slider).first(),n.attr("src",null),n.attr("src",n.attr("data-lazy")).removeClass("slick-loading").load(function(){n.removeAttr("data-lazy"),i.progressiveLazyLoad(),i.options.adaptiveHeight===!0&&i.setPosition()}).error(function(){n.removeAttr("data-lazy"),i.progressiveLazyLoad()}))},e.prototype.refresh=function(e){var n,i,r=this;i=r.slideCount-r.options.slidesToShow,r.options.infinite||(r.slideCount<=r.options.slidesToShow?r.currentSlide=0:r.currentSlide>i&&(r.currentSlide=i)),n=r.currentSlide,r.destroy(!0),t.extend(r,r.initials,{currentSlide:n}),r.init(),e||r.changeSlide({data:{message:"index",index:n}},!1)},e.prototype.registerBreakpoints=function(){var e,n,i,r=this,o=r.options.responsive||null;if("array"===t.type(o)&&o.length){r.respondTo=r.options.respondTo||"window";for(e in o)if(i=r.breakpoints.length-1,n=o[e].breakpoint,o.hasOwnProperty(e)){for(;i>=0;)r.breakpoints[i]&&r.breakpoints[i]===n&&r.breakpoints.splice(i,1),i--;r.breakpoints.push(n),r.breakpointSettings[n]=o[e].settings}r.breakpoints.sort(function(t,e){return r.options.mobileFirst?t-e:e-t})}},e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.checkResponsive(!1,!0),e.options.focusOnSelect===!0&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses(0),e.setPosition(),e.$slider.trigger("reInit",[e]),e.options.autoplay===!0&&e.focusHandler() 135},e.prototype.resize=function(){var e=this;t(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=t(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()},50))},e.prototype.removeSlide=e.prototype.slickRemove=function(t,e,n){var i=this;return"boolean"==typeof t?(e=t,t=e===!0?0:i.slideCount-1):t=e===!0?--t:t,i.slideCount<1||0>t||t>i.slideCount-1?!1:(i.unload(),n===!0?i.$slideTrack.children().remove():i.$slideTrack.children(this.options.slide).eq(t).remove(),i.$slides=i.$slideTrack.children(this.options.slide),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.append(i.$slides),i.$slidesCache=i.$slides,void i.reinit())},e.prototype.setCSS=function(t){var e,n,i=this,r={};
vendor: 1,493 bytes, line 135
135i.options.rtl===!0&&(t=-t),e="left"==i.positionProp?Math.ceil(t)+"px":"0px",n="top"==i.positionProp?Math.ceil(t)+"px":"0px",r[i.positionProp]=t,i.transformsEnabled===!1?i.$slideTrack.css(r):(r={},i.cssTransitions===!1?(r[i.animType]="translate("+e+", "+n+")",i.$slideTrack.css(r)):(r[i.animType]="translate3d("+e+", "+n+", 0px)",i.$slideTrack.css(r)))},e.prototype.setDimensions=function(){var t=this;t.options.vertical===!1?t.options.centerMode===!0&&t.$list.css({padding:"0px "+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),t.options.centerMode===!0&&t.$list.css({padding:t.options.centerPadding+" 0px"})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),t.options.vertical===!1&&t.options.variableWidth===!1?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):t.options.variableWidth===!0?t.$slideTrack.width(5e3*t.slideCount):(t.slideWidth=Math.ceil(t.listWidth),t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(!0)*t.$slideTrack.children(".slick-slide").length)));var e=t.$slides.first().outerWidth(!0)-t.$slides.first().width();t.options.variableWidth===!1&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},e.prototype.setFade=function(){var e,n=this;n.$slides.each(function(i,r){e=n.slideWidth*i*-1,n.options.rtl===!0?t(r).css({position:"relative",right:e,top:0,zIndex:n.options.zIndex-2,opacity:0}
vendor: 7,953 bytes, line 135
135):t(r).css({position:"relative",left:e,top:0,zIndex:n.options.zIndex-2,opacity:0})}),n.$slides.eq(n.currentSlide).css({zIndex:n.options.zIndex-1,opacity:1})},e.prototype.setHeight=function(){var t=this;if(1===t.options.slidesToShow&&t.options.adaptiveHeight===!0&&t.options.vertical===!1){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(e,n,i){var r,o,a=this;if("responsive"===e&&"array"===t.type(n))for(o in n)if("array"!==t.type(a.options.responsive))a.options.responsive=[n[o]];else{for(r=a.options.responsive.length-1;r>=0;)a.options.responsive[r].breakpoint===n[o].breakpoint&&a.options.responsive.splice(r,1),r--;a.options.responsive.push(n[o])}else a.options[e]=n;i===!0&&(a.unload(),a.reinit())},e.prototype.setPosition=function(){var t=this;t.setDimensions(),t.setHeight(),t.options.fade===!1?t.setCSS(t.getLeft(t.currentSlide)):t.setFade(),t.$slider.trigger("setPosition",[t])},e.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=t.options.vertical===!0?"top":"left","top"===t.positionProp?t.$slider.addClass("slick-vertical"):t.$slider.removeClass("slick-vertical"),(void 0!==e.WebkitTransition||void 0!==e.MozTransition||void 0!==e.msTransition)&&t.options.useCSS===!0&&(t.cssTransitions=!0),t.options.fade&&("number"==typeof t.options.zIndex?t.options.zIndex<3&&(t.options.zIndex=3):t.options.zIndex=t.defaults.zIndex),void 0!==e.OTransform&&(t.animType="OTransform",t.transformType="-o-transform",t.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.MozTransform&&(t.animType="MozTransform",t.transformType="-moz-transform",t.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(t.animType=!1)),void 0!==e.webkitTransform&&(t.animType="webkitTransform",t.transformType="-webkit-transform",t.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.msTransform&&(t.animType="msTransform",t.transformType="-ms-transform",t.transitionType="msTransition",void 0===e.msTransform&&(t.animType=!1)),void 0!==e.transform&&t.animType!==!1&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=t.options.useTransform&&null!==t.animType&&t.animType!==!1},e.prototype.setSlideClasses=function(t){var e,n,i,r,o=this;n=o.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),o.$slides.eq(t).addClass("slick-current"),o.options.centerMode===!0?(e=Math.floor(o.options.slidesToShow/2),o.options.infinite===!0&&(t>=e&&t<=o.slideCount-1-e?o.$slides.slice(t-e,t+e+1).addClass("slick-active").attr("aria-hidden","false"):(i=o.options.slidesToShow+t,n.slice(i-e+1,i+e+2).addClass("slick-active").attr("aria-hidden","false")),0===t?n.eq(n.length-1-o.options.slidesToShow).addClass("slick-center"):t===o.slideCount-1&&n.eq(o.options.slidesToShow).addClass("slick-center")),o.$slides.eq(t).addClass("slick-center")):t>=0&&t<=o.slideCount-o.options.slidesToShow?o.$slides.slice(t,t+o.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):n.length<=o.options.slidesToShow?n.addClass("slick-active").attr("aria-hidden","false"):(r=o.slideCount%o.options.slidesToShow,i=o.options.infinite===!0?o.options.slidesToShow+t:t,o.options.slidesToShow==o.options.slidesToScroll&&o.slideCount-t<o.options.slidesToShow?n.slice(i-(o.options.slidesToShow-r),i+r).addClass("slick-active").attr("aria-hidden","false"):n.slice(i,i+o.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false")),"ondemand"===o.options.lazyLoad&&o.lazyLoad()},e.prototype.setupInfinite=function(){var e,n,i,r=this;if(r.options.fade===!0&&(r.options.centerMode=!1),r.options.infinite===!0&&r.options.fade===!1&&(n=null,r.slideCount>r.options.slidesToShow)){for(i=r.options.centerMode===!0?r.options.slidesToShow+1:r.options.slidesToShow,e=r.slideCount;e>r.slideCount-i;e-=1)n=e-1,t(r.$slides[n]).clone(!0).attr("id","").attr("data-slick-index",n-r.slideCount).prependTo(r.$slideTrack).addClass("slick-cloned");for(e=0;i>e;e+=1)n=e,t(r.$slides[n]).clone(!0).attr("id","").attr("data-slick-index",n+r.slideCount).appendTo(r.$slideTrack).addClass("slick-cloned");r.$slideTrack.find(".slick-cloned").find("[id]").each(function(){t(this).attr("id","")})}},e.prototype.setPaused=function(t){var e=this;e.options.autoplay===!0&&e.options.pauseOnHover===!0&&(e.paused=t,t?e.autoPlayClear():e.autoPlay())},e.prototype.selectHandler=function(e){var n=this,i=t(e.target).is(".slick-slide")?t(e.target):t(e.target).parents(".slick-slide"),r=parseInt(i.attr("data-slick-index"));return r||(r=0),n.slideCount<=n.options.slidesToShow?(n.setSlideClasses(r),void n.asNavFor(r)):void n.slideHandler(r)},e.prototype.slideHandler=function(t,e,n){var i,r,o,a,s=null,l=this;return e=e||!1,l.animating===!0&&l.options.waitForAnimate===!0||l.options.fade===!0&&l.currentSlide===t||l.slideCount<=l.options.slidesToShow?void 0:(e===!1&&l.asNavFor(t),i=t,s=l.getLeft(i),a=l.getLeft(l.currentSlide),l.currentLeft=null===l.swipeLeft?a:l.swipeLeft,l.options.infinite===!1&&l.options.centerMode===!1&&(0>t||t>l.getDotCount()*l.options.slidesToScroll)?void(l.options.fade===!1&&(i=l.currentSlide,n!==!0?l.animateSlide(a,function(){l.postSlide(i)}):l.postSlide(i))):l.options.infinite===!1&&l.options.centerMode===!0&&(0>t||t>l.slideCount-l.options.slidesToScroll)?void(l.options.fade===!1&&(i=l.currentSlide,n!==!0?l.animateSlide(a,function(){l.postSlide(i)}):l.postSlide(i))):(l.options.autoplay===!0&&clearInterval(l.autoPlayTimer),r=0>i?l.slideCount%l.options.slidesToScroll!==0?l.slideCount-l.slideCount%l.options.slidesToScroll:l.slideCount+i:i>=l.slideCount?l.slideCount%l.options.slidesToScroll!==0?0:i-l.slideCount:i,l.animating=!0,l.$slider.trigger("beforeChange",[l,l.currentSlide,r]),o=l.currentSlide,l.currentSlide=r,l.setSlideClasses(l.currentSlide),l.updateDots(),l.updateArrows(),l.options.fade===!0?(n!==!0?(l.fadeSlideOut(o),l.fadeSlide(r,function(){l.postSlide(r)})):l.postSlide(r),void l.animateHeight()):void(n!==!0?l.animateSlide(s,function(){l.postSlide(r)}):l.postSlide(r))))},e.prototype.startLoad=function(){var t=this;t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),t.options.dots===!0&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var t,e,n,i,r=this;return t=r.touchObject.startX-r.touchObject.curX,e=r.touchObject.startY-r.touchObject.curY,n=Math.atan2(e,t),i=Math.round(180*n/Math.PI),0>i&&(i=360-Math.abs(i)),45>=i&&i>=0?r.options.rtl===!1?"left":"right":360>=i&&i>=315?r.options.rtl===!1?"left":"right":i>=135&&225>=i?r.options.rtl===!1?"right":"left":r.options.verticalSwiping===!0?i>=35&&135>=i?"left":"right":"vertical"},e.prototype.swipeEnd=function(){var t,e=this;if(e.dragging=!1,e.shouldClick=e.touchObject.swipeLength>10?!1:!0,void 0===e.touchObject.curX)return!1;if(e.touchObject.edgeHit===!0&&e.$slider.trigger("edge",[e,e.swipeDirection()]),e.touchObject.swipeLength>=e.touchObject.minSwipe)switch(e.swipeDirection()){case"left":t=e.options.swipeToSlide?e.checkNavigable(e.currentSlide+e.getSlideCount()):e.currentSlide+e.getSlideCount(),e.slideHandler(t),e.currentDirection=0,e.touchObject={},e.$slider.trigger("swipe",[e,"left"]);break;case"right":t=e.options.swipeToSlide?e.checkNavigable(e.currentSlide-e.getSlideCount()):e.currentSlide-e.getSlideCount(),e.slideHandler(t),e.currentDirection=1,e.touchObject={},e.$slider.trigger("swipe",[e,"right"])}else e.touchObject.startX!==e.touchObject.curX&&(e.slideHandler(e.currentSlide),e.touchObject={})},e.prototype.swipeHandler=function(t){var e=this;if(!(e.options.swipe===!1||"ontouchend"in document&&e.options.swipe===!1||e.options.draggable===!1&&-1!==t.type.indexOf("mou
135se")))switch(e.touchObject.fingerCount=t.originalEvent&&void 0!==t.originalEvent.touches?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,e.options.verticalSwiping===!0&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),t.data.action){case"start":e.swipeStart(t);break;case"move":e.swipeMove(t);break;case"end":e.swipeEnd(t)}},e.prototype.swipeMove=function(t){var e,n,i,r,o,a=this;return o=void 0!==t.originalEvent?t.originalEvent.touches:null,!a.dragging||o&&1!==o.length?!1:(e=a.getLeft(a.currentSlide),a.touchObject.curX=void 0!==o?o[0].pageX:t.clientX,a.touchObject.curY=void 0!==o?o[0].pageY:t.clientY,a.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(a.touchObject.curX-a.touchObject.startX,2))),a.options.verticalSwiping===!0&&(a.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(a.touchObject.curY-a.touchObject.startY,2)))),n=a.swipeDirection(),"vertical"!==n?(void 0!==t.originalEvent&&a.touchObject.swipeLength>4&&t.preventDefault(),r=(a.options.rtl===!1?1:-1)*(a.touchObject.curX>a.touchObject.startX?1:-1),a.options.verticalSwiping===!0&&(r=a.touchObject.curY>a.touchObject.startY?1:-1),i=a.touchObject.swipeLength,a.touchObject.edgeHit=!1,a.options.infinite===!1&&(0===a.currentSlide&&"right"===n||a.currentSlide>=a.getDotCount()&&"left"===n)&&(i=a.touchObject.swipeLength*a.options.edgeFriction,a.touchObject.edgeHit=!0),a.swipeLeft=a.options.vertical===!1?e+i*r:e+i*(a.$list.height()/a.listWidth)*r,a.options.verticalSwiping===!0&&(a.swipeLeft=e+i*r),a.options.fade===!0||a.options.touchMove===!1?!1:a.animating===!0?(a.swipeLeft=null,!1):void a.setCSS(a.swipeLeft)):void 0)},e.prototype.swipeStart=function(t){var e,n=this;return 1!==n.touchObject.fingerCount||n.slideCount<=n.options.slidesToShow?(n.touchObject={},!1):(void 0!==t.originalEvent&&void 0!==t.originalEvent.touches&&(e=t.originalEvent.touches[0]),n.touchObject.startX=n.touchObject.curX=void 0!==e?e.pageX:t.clientX,n.touchObject.startY=n.touchObject.curY=void 0!==e?e.pageY:t.clientY,void(n.dragging=!0))},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var t=this;null!==t.$slidesCache&&(t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.appendTo(t.$slideTrack),t.reinit())},e.prototype.unload=function(){var e=this;t(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},e.prototype.unslick=function(t){var e=this;e.$slider.trigger("unslick",[e,t]),e.destroy()},e.prototype.updateArrows=function(){var t,e=this;t=Math.floor(e.options.slidesToShow/2),e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):e.currentSlide>=e.slideCount-e.options.slidesToShow&&e.options.centerMode===!1?(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):e.currentSlide>=e.slideCount-1&&e.options.centerMode===!0&&(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},e.prototype.updateDots=function(){var t=this;null!==t.$dots&&(t.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),t.$dots.find("li").eq(Math.floor(t.currentSlide/t.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))},e.prototype.visibility=function(){var t=this;document[t.hidden]?(t.paused=!0,t.autoPlayClear()):t.options.autoplay===!0&&(t.paused=!1,t.autoPlay())},e.prototype.initADA=function(){var e=this;e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),e.$slideTrack.attr("role","listbox"),e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function(n){t(this).attr({role:"option","aria-describedby":"slick-slide"+e.instanceUid+n})}),null!==e.$dots&&e.$dots.attr("role","tablist").find("li").each(function(n){t(this).attr({role:"presentation","aria-selected":"false","aria-controls":"navigation"+e.instanceUid+n,id:"slick-slide"+e.instanceUid+n})}).first().attr("aria-selected","true").end().find("button").attr("role","button").end().closest("div").attr("role","toolbar"),e.activateADA()},e.prototype.activateADA=function(){var t=this;t.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})}
135,e.prototype.focusHandler=function(){var e=this;e.$slider.on("focus.slick blur.slick","*",function(n){n.stopImmediatePropagation();var i=t(this);setTimeout(function(){e.isPlay&&(i.is(":focus")?(e.autoPlayClear(),e.paused=!0):(e.paused=!1,e.autoPlay()))},0)})},t.fn.slick=function(){var t,n,i=this,r=arguments[0],o=Array.prototype.slice.call(arguments,1),a=i.length;for(t=0;a>t;t++)if("object"==typeof r||"undefined"==typeof r?i[t].slick=new e(i[t],r):n=i[t].slick[r].apply(i[t].slick,o),"undefined"!=typeof n)return n;return i}}),function(){var t=this,e=t._,n={},i=Array.prototype,r=Object.prototype,o=Function.prototype,a=i.push,s=i.slice,l=i.concat,u=r.toString,c=r.hasOwnProperty,d=i.forEach,f=i.map,p=i.reduce,h=i.reduceRight,m=i.filter,g=i.every,v=i.some,y=i.indexOf,b=i.lastIndexOf,w=Array.isArray,x=Object.keys,T=o.bind,C=function(t){return t instanceof C?t:this instanceof C?(this._wrapped=t,void 0):new C(t)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=C),exports._=C):t._=C,C.VERSION="1.6.0";var k=C.each=C.forEach=function(t,e,i){if(null==t)return t;if(d&&t.forEach===d)t.forEach(e,i);else if(t.length===+t.length){for(var r=0,o=t.length;o>r;r++)if(e.call(i,t[r],r,t)===n)return}else for(var a=C.keys(t),r=0,o=a.length;o>r;r++)if(e.call(i,t[a[r]],a[r],t)===n)return;return t};C.map=C.collect=function(t,e,n){var i=[];return null==t?i:f&&t.map===f?t.map(e,n):(k(t,function(t,r,o){i.push(e.call(n,t,r,o))}),i)};var S="Reduce of empty array with no initial value";C.reduce=C.foldl=C.inject=function(t,e,n,i){var r=arguments.length>2;if(null==t&&(t=[]),p&&t.reduce===p)return i&&(e=C.bind(e,i)),r?t.reduce(e,n):t.reduce(e);if(k(t,function(t,o,a){r?n=e.call(i,n,t,o,a):(n=t,r=!0)}),!r)throw new TypeError(S);return n},C.reduceRight=C.foldr=function(t,e,n,i){var r=arguments.length>2;if(null==t&&(t=[]),h&&t.reduceRight===h)return i&&(e=C.bind(e,i)),r?t.reduceRight(e,n):t.reduceRight(e);var o=t.length;if(o!==+o){var a=C.keys(t);o=a.length}if(k(t,function(s,l,u){l=a?a[--o]:--o,r?n=e.call(i,n,t[l],l,u):(n=t[l],r=!0)}),!r)throw new TypeError(S);return n},C.find=C.detect=function(t,e,n){var i;return _(t,function(t,r,o){return e.call(n,t,r,o)?(i=t,!0):void 0}),i},C.filter=C.select=function(t,e,n){var i=[];return null==t?i:m&&t.filter===m?t.filter(e,n):(k(t,function(t,r,o){e.call(n,t,r,o)&&i.push(t)}),i)},C.reject=function(t,e,n){return C.filter(t,function(t,i,r){return!e.call(n,t,i,r)},n)},C.every=C.all=function(t,e,i){e||(e=C.identity);var r=!0;return null==t?r:g&&t.every===g?t.every(e,i):(k(t,function(t,o,a){return(r=r&&e.call(i,t,o,a))?void 0:n}),!!r)};var _=C.some=C.any=function(t,e,i){e||(e=C.identity);var r=!1;return null==t?r:v&&t.some===v?t.some(e,i):(k(t,function(t,o,a){return r||(r=e.call(i,t,o,a))?n:void 0}),!!r)};C.contains=C.include=function(t,e){return null==t?!1:y&&t.indexOf===y?-1!=t.indexOf(e):_(t,function(t){return t===e})},C.invoke=function(t,e){var n=s.call(arguments,2),i=C.isFunction(e);return C.map(t,function(t){return(i?e:t[e]).apply(t,n)})},C.pluck=function(t,e){return C.map(t,C.property(e))},C.where=function(t,e){return C.filter(t,C.matches(e))},C.findWhere=function(t,e){return C.find(t,C.matches(e))},C.max=function(t,e,n){if(!e&&C.isArray(t)&&t[0]===+t[0]&&t.length<65535)return Math.max.apply(Math,t);var i=-1/0,r=-1/0;return k(t,function(t,o,a){var s=e?e.call(n,t,o,a):t;s>r&&(i=t,r=s)}),i},C.min=function(t,e,n){if(!e&&C.isArray(t)&&t[0]===+t[0]&&t.length<65535)return Math.min.apply(Math,t);var i=1/0,r=1/0;return k(t,function(t,o,a){var s=e?e.call(n,t,o,a):t;r>s&&(i=t,r=s)}),i},C.shuffle=function(t){var e,n=0,i=[];return k(t,function(t){e=C.random(n++),i[n-1]=i[e],i[e]=t}),i},C.sample=function(t,e,n){return null==e||n?(t.length!==+t.length&&(t=C.values(t)),t[C.random(t.length-1)]):C.shuffle(t).slice(0,Math.max(0,e))};var E=function(t){return null==t?C.identity:C.isFunction(t)?t:C.property(t)};C.sortBy=function(t,e,n){return e=E(e),C.pluck(C.map(t,function(t,i,r){return{value:t,index:i,criteria:e.call(n,t,i,r)}}).sort(function(t,e){var n=t.criteria,i=e.criteria;if(n!==i){if(n>i||void 0===n)return 1;if(i>n||void 0===i)return-1}return t.index-e.index}),"value")};var $=function(t){return function(e,n,i){var r={};return n=E(n),k(e,function(o,a){var s=n.call(i,o,a,e);t(r,s,o)}),r}};C.groupBy=$(function(t,e,n){C.has(t,e)?t[e].push(n):t[e]=[n]}),C.indexBy=$(function(t,e,n){t[e]=n}),C.countBy=$(function(t,e){C.has(t,e)?t[e]++:t[e]=1}),C.sortedIndex=function(t,e,n,i){n=E(n);for(var r=n.call(i,e),o=0,a=t.length;a>o;){var s=o+a>>>1;n.call(i,t[s])<r?o=s+1:a=s}return o},C.toArray=function(t){return t?C.isArray(t)?s.call(t):t.length===+t.length?C.map(t,C.identity):C.values(t):[]},C.size=function(t){return null==t?0:t.length===+t.length?t.length:C.keys(t).length},C.first=C.head=C.take=function(t,e,n){return null==t?void 0:null==e||n?t[0]:0>e?[]:s.call(t,0,e)},C.initial=function(t,e,n){return s.call(t,0,t.length-(null==e||n?1:e))},C.last=function(t,e,n){return null==t?void 0:null==e||n?t[t.length-1]:s.call(t,Math.max(t.length-e,0))},C.rest=C.tail=C.drop=function(t,e,n){return s.call(t,null==e||n?1:e)},C.compact=function(t){return C.filter(t,C.identity)};var D=function(t,e,n){return e&&C.every(t,C.isArray)?l.apply(n,t):(k(t,function(t){C.isArray(t)||C.isArguments(t)?e?a.apply(n,t):D(t,e,n):n.push(t)}),n)};C.flatten=function(t,e){return D(t,e,[])}
135,C.without=function(t){return C.difference(t,s.call(arguments,1))},C.partition=function(t,e){var n=[],i=[];return k(t,function(t){(e(t)?n:i).push(t)}),[n,i]},C.uniq=C.unique=function(t,e,n,i){C.isFunction(e)&&(i=n,n=e,e=!1);var r=n?C.map(t,n,i):t,o=[],a=[];return k(r,function(n,i){(e?i&&a[a.length-1]===n:C.contains(a,n))||(a.push(n),o.push(t[i]))}),o},C.union=function(){return C.uniq(C.flatten(arguments,!0))},C.intersection=function(t){var e=s.call(arguments,1);return C.filter(C.uniq(t),function(t){return C.every(e,function(e){return C.contains(e,t)})})},C.difference=function(t){var e=l.apply(i,s.call(arguments,1));return C.filter(t,function(t){return!C.contains(e,t)})},C.zip=function(){for(var t=C.max(C.pluck(arguments,"length").concat(0)),e=new Array(t),n=0;t>n;n++)e[n]=C.pluck(arguments,""+n);return e},C.object=function(t,e){if(null==t)return{};for(var n={},i=0,r=t.length;r>i;i++)e?n[t[i]]=e[i]:n[t[i][0]]=t[i][1];return n},C.indexOf=function(t,e,n){if(null==t)return-1;var i=0,r=t.length;if(n){if("number"!=typeof n)return i=C.sortedIndex(t,e),t[i]===e?i:-1;i=0>n?Math.max(0,r+n):n}if(y&&t.indexOf===y)return t.indexOf(e,n);for(;r>i;i++)if(t[i]===e)return i;return-1},C.lastIndexOf=function(t,e,n){if(null==t)return-1;var i=null!=n;if(b&&t.lastIndexOf===b)return i?t.lastIndexOf(e,n):t.lastIndexOf(e);for(var r=i?n:t.length;r--;)if(t[r]===e)return r;return-1},C.range=function(t,e,n){arguments.length<=1&&(e=t||0,t=0),n=arguments[2]||1;for(var i=Math.max(Math.ceil((e-t)/n),0),r=0,o=new Array(i);i>r;)o[r++]=t,t+=n;return o};var A=function(){};C.bind=function(t,e){var n,i;if(T&&t.bind===T)return T.apply(t,s.call(arguments,1));if(!C.isFunction(t))throw new TypeError;return n=s.call(arguments,2),i=function(){if(!(this instanceof i))return t.apply(e,n.concat(s.call(arguments)));A.prototype=t.prototype;var r=new A;A.prototype=null;var o=t.apply(r,n.concat(s.call(arguments)));return Object(o)===o?o:r}},C.partial=function(t){var e=s.call(arguments,1);return function(){for(var n=0,i=e.slice(),r=0,o=i.length;o>r;r++)i[r]===C&&(i[r]=arguments[n++]);for(;n<arguments.length;)i.push(arguments[n++]);return t.apply(this,i)}},C.bindAll=function(t){var e=s.call(arguments,1);if(0===e.length)throw new Error("bindAll must be passed function names");return k(e,function(e){t[e]=C.bind(t[e],t)}),t},C.memoize=function(t,e){var n={};return e||(e=C.identity),function(){var i=e.apply(this,arguments);return C.has(n,i)?n[i]:n[i]=t.apply(this,arguments)}},C.delay=function(t,e){var n=s.call(arguments,2);return setTimeout(function(){return t.apply(null,n)},e)},C.defer=function(t){return C.delay.apply(C,[t,1].concat(s.call(arguments,1)))},C.throttle=function(t,e,n){var i,r,o,a=null,s=0;n||(n={});var l=function(){s=n.leading===!1?0:C.now(),a=null,o=t.apply(i,r),i=r=null};return function(){var u=C.now();s||n.leading!==!1||(s=u);var c=e-(u-s);return i=this,r=arguments,0>=c?(clearTimeout(a),a=null,s=u,o=t.apply(i,r),i=r=null):a||n.trailing===!1||(a=setTimeout(l,c)),o}},C.debounce=function(t,e,n){var i,r,o,a,s,l=function(){var u=C.now()-a;e>u?i=setTimeout(l,e-u):(i=null,n||(s=t.apply(o,r),o=r=null))};return function(){o=this,r=arguments,a=C.now();var u=n&&!i;return i||(i=setTimeout(l,e)),u&&(s=t.apply(o,r),o=r=null),s}},C.once=function(t){var e,n=!1;return function(){return n?e:(n=!0,e=t.apply(this,arguments),t=null,e)}},C.wrap=function(t,e){return C.partial(e,t)},C.compose=function(){var t=arguments;return function(){for(var e=arguments,n=t.length-1;n>=0;n--)e=[t[n].apply(this,e)];return e[0]}},C.after=function(t,e){return function(){return--t<1?e.apply(this,arguments):void 0}},C.keys=function(t){if(!C.isObject(t))return[];if(x)return x(t);var e=[];for(var n in t)C.has(t,n)&&e.push(n);return e},C.values=function(t){for(var e=C.keys(t),n=e.length,i=new Array(n),r=0;n>r;r++)i[r]=t[e[r]];return i},C.pairs=function(t){for(var e=C.keys(t),n=e.length,i=new Array(n),r=0;n>r;r++)i[r]=[e[r],t[e[r]]];return i},C.invert=function(t){for(var e={},n=C.keys(t),i=0,r=n.length;r>i;i++)e[t[n[i]]]=n[i];return e},C.functions=C.methods=function(t){var e=[];for(var n in t)C.isFunction(t[n])&&e.push(n);return e.sort()}
135,C.extend=function(t){return k(s.call(arguments,1),function(e){if(e)for(var n in e)t[n]=e[n]}),t},C.pick=function(t){var e={},n=l.apply(i,s.call(arguments,1));return k(n,function(n){n in t&&(e[n]=t[n])}),e},C.omit=function(t){var e={},n=l.apply(i,s.call(arguments,1));for(var r in t)C.contains(n,r)||(e[r]=t[r]);return e},C.defaults=function(t){return k(s.call(arguments,1),function(e){if(e)for(var n in e)void 0===t[n]&&(t[n]=e[n])}),t},C.clone=function(t){return C.isObject(t)?C.isArray(t)?t.slice():C.extend({},t):t},C.tap=function(t,e){return e(t),t};var M=function(t,e,n,i){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return t===e;t instanceof C&&(t=t._wrapped),e instanceof C&&(e=e._wrapped);var r=u.call(t);if(r!=u.call(e))return!1;switch(r){case"[object String]":return t==String(e);case"[object Number]":return t!=+t?e!=+e:0==t?1/t==1/e:t==+e;case"[object Date]":case"[object Boolean]":return+t==+e;case"[object RegExp]":return t.source==e.source&&t.global==e.global&&t.multiline==e.multiline&&t.ignoreCase==e.ignoreCase}if("object"!=typeof t||"object"!=typeof e)return!1;for(var o=n.length;o--;)if(n[o]==t)return i[o]==e;var a=t.constructor,s=e.constructor;if(a!==s&&!(C.isFunction(a)&&a instanceof a&&C.isFunction(s)&&s instanceof s)&&"constructor"in t&&"constructor"in e)return!1;n.push(t),i.push(e);var l=0,c=!0;if("[object Array]"==r){if(l=t.length,c=l==e.length)for(;l--&&(c=M(t[l],e[l],n,i)););}else{for(var d in t)if(C.has(t,d)&&(l++,!(c=C.has(e,d)&&M(t[d],e[d],n,i))))break;if(c){for(d in e)if(C.has(e,d)&&!l--)break;c=!l}}return n.pop(),i.pop(),c};C.isEqual=function(t,e){return M(t,e,[],[])},C.isEmpty=function(t){if(null==t)return!0;if(C.isArray(t)||C.isString(t))return 0===t.length;for(var e in t)if(C.has(t,e))return!1;return!0},C.isElement=function(t){return!(!t||1!==t.nodeType)},C.isArray=w||function(t){return"[object Array]"==u.call(t)},C.isObject=function(t){return t===Object(t)},k(["Arguments","Function","String","Number","Date","RegExp"],function(t){C["is"+t]=function(e){return u.call(e)=="[object "+t+"]"}}),C.isArguments(arguments)||(C.isArguments=function(t){return!(!t||!C.has(t,"callee"))}),"function"!=typeof/./&&(C.isFunction=function(t){return"function"==typeof t}),C.isFinite=function(t){return isFinite(t)&&!isNaN(parseFloat(t))},C.isNaN=function(t){return C.isNumber(t)&&t!=+t},C.isBoolean=function(t){return t===!0||t===!1||"[object Boolean]"==u.call(t)},C.isNull=function(t){return null===t},C.isUndefined=function(t){return void 0===t},C.has=function(t,e){return c.call(t,e)},C.noConflict=function(){return t._=e,this},C.identity=function(t){return t},C.constant=function(t){return function(){return t}},C.property=function(t){return function(e){return e[t]}},C.matches=function(t){return function(e){if(e===t)return!0;for(var n in t)if(t[n]!==e[n])return!1;return!0}},C.times=function(t,e,n){for(var i=Array(Math.max(0,t)),r=0;t>r;r++)i[r]=e.call(n,r);return i},C.random=function(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))},C.now=Date.now||function(){return(new Date).getTime()};var P={escape:{"&":"&","<":"<",">":">",'"':""","'":"'"}};P.unescape=C.invert(P.escape);var O={escape:new RegExp("["+C.keys(P.escape).join("")+"]","g"),unescape:new RegExp("("+C.keys(P.unescape).join("|")+")","g")};C.each(["escape","unescape"],function(t){C[t]=function(e){return null==e?"":(""+e).replace(O[t],function(e){return P[t][e]})}}),C.result=function(t,e){if(null==t)return void 0;var n=t[e];return C.isFunction(n)?n.call(t):n},C.mixin=function(t){k(C.functions(t),function(e){var n=C[e]=t[e];C.prototype[e]=function(){var t=[this._wrapped];return a.apply(t,arguments),L.call(this,n.apply(C,t))}})};var j=0;C.uniqueId=function(t){var e=++j+"";return t?t+e:e},C.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var N=/(.)^/,F={"'":"'","\\":"\\","\r":"r","\n":"n"," ":"t","\u2028":"u2028","\u2029":"u2029"},H=/\\|'|\r|\n|\t|\u2028|\u2029/g;C.template=function(t,e,n){var i;n=C.defaults({},n,C.templateSettings);var r=new RegExp([(n.escape||N).source,(n.interpolate||N).source,(n.evaluate||N).source].join("|")+"|$","g"),o=0,a="__p+='";t.replace(r,function(e,n,i,r,s){return a+=t.slice(o,s).replace(H,function(t){return"\\"+F[t]}),n&&(a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'"),i&&(a+="'+\n((__t=("+i+"))==null?'':__t)+\n'"),r&&(a+="';\n"+r+"\n__p+='"),o=s+e.length,e}),a+="';\n",n.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{i=new Function(n.variable||"obj","_",a)}catch(s){throw s.source=a,s}if(e)return i(e,C);var l=function(t){return i.call(this,t,C)};
135return l.source="function("+(n.variable||"obj")+"){\n"+a+"}",l},C.chain=function(t){return C(t).chain()};var L=function(t){return this._chain?C(t).chain():t};C.mixin(C),k(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=i[t];C.prototype[t]=function(){var n=this._wrapped;return e.apply(n,arguments),"shift"!=t&&"splice"!=t||0!==n.length||delete n[0],L.call(this,n)}}),k(["concat","join","slice"],function(t){var e=i[t];C.prototype[t]=function(){return L.call(this,e.apply(this._wrapped,arguments))}}),C.extend(C.prototype,{chain:function(){return this._chain=!0,this},value:function(){return this._wrapped}}),"function"==typeof define&&define.amd&&define("underscore",[],function(){return C})}.call(this),!function(t){function e(t){var e=t.length,i=n.type(t);return"function"===i||n.isWindow(t)?!1:1===t.nodeType&&e?!0:"array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t}if(!t.jQuery){var n=function(t,e){return new n.fn.init(t,e)};n.isWindow=function(t){return null!=t&&t==t.window},n.type=function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?r[a.call(t)]||"object":typeof t},n.isArray=Array.isArray||function(t){return"array"===n.type(t)},n.isPlainObject=function(t){var e;if(!t||"object"!==n.type(t)||t.nodeType||n.isWindow(t))return!1;try{if(t.constructor&&!o.call(t,"constructor")&&!o.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(i){return!1}for(e in t);return void 0===e||o.call(t,e)},n.each=function(t,n,i){var r,o=0,a=t.length,s=e(t);if(i){if(s)for(;a>o&&(r=n.apply(t[o],i),r!==!1);o++);else for(o in t)if(r=n.apply(t[o],i),r===!1)break}else if(s)for(;a>o&&(r=n.call(t[o],o,t[o]),r!==!1);o++);else for(o in t)if(r=n.call(t[o],o,t[o]),r===!1)break;return t},n.data=function(t,e,r){if(void 0===r){var o=t[n.expando],a=o&&i[o];if(void 0===e)return a;
vendor: 33,341 bytes, lines 135-136
135if(a&&e in a)return a[e]}else if(void 0!==e){var o=t[n.expando]||(t[n.expando]=++n.uuid);return i[o]=i[o]||{},i[o][e]=r,r}},n.removeData=function(t,e){var r=t[n.expando],o=r&&i[r];o&&n.each(e,function(t,e){delete o[e]})},n.extend=function(){var t,e,i,r,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[l]||{},l++),"object"!=typeof s&&"function"!==n.type(s)&&(s={}),l===u&&(s=this,l--);u>l;l++)if(null!=(o=arguments[l]))for(r in o)t=s[r],i=o[r],s!==i&&(c&&i&&(n.isPlainObject(i)||(e=n.isArray(i)))?(e?(e=!1,a=t&&n.isArray(t)?t:[]):a=t&&n.isPlainObject(t)?t:{},s[r]=n.extend(c,a,i)):void 0!==i&&(s[r]=i));return s},n.queue=function(t,i,r){function o(t,n){var i=n||[];return null!=t&&(e(Object(t))?!function(t,e){for(var n=+e.length,i=0,r=t.length;n>i;)t[r++]=e[i++];if(n!==n)for(;void 0!==e[i];)t[r++]=e[i++];return t.length=r,t}(i,"string"==typeof t?[t]:t):[].push.call(i,t)),i}if(t){i=(i||"fx")+"queue";var a=n.data(t,i);return r?(!a||n.isArray(r)?a=n.data(t,i,o(r)):a.push(r),a):a||[]}},n.dequeue=function(t,e){n.each(t.nodeType?[t]:t,function(t,i){e=e||"fx";var r=n.queue(i,e),o=r.shift();"inprogress"===o&&(o=r.shift()),o&&("fx"===e&&r.unshift("inprogress"),o.call(i,function(){n.dequeue(i,e)}))})},n.fn=n.prototype={init:function(t){if(t.nodeType)return this[0]=t,this;throw new Error("Not a DOM node.")},offset:function(){var e=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:e.top+(t.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:e.left+(t.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)} 136},position:function(){function t(){for(var t=this.offsetParent||document;t&&"html"===!t.nodeType.toLowerCase&&"static"===t.style.position;)t=t.offsetParent;return t||document}var e=this[0],t=t.apply(e),i=this.offset(),r=/^(?:body|html)$/i.test(t.nodeName)?{top:0,left:0}:n(t).offset();return i.top-=parseFloat(e.style.marginTop)||0,i.left-=parseFloat(e.style.marginLeft)||0,t.style&&(r.top+=parseFloat(t.style.borderTopWidth)||0,r.left+=parseFloat(t.style.borderLeftWidth)||0),{top:i.top-r.top,left:i.left-r.left}}};var i={};n.expando="velocity"+(new Date).getTime(),n.uuid=0;for(var r={},o=r.hasOwnProperty,a=r.toString,s="Boolean Number String Function Array Date RegExp Object Error".split(" "),l=0;l<s.length;l++)r["[object "+s[l]+"]"]=s[l].toLowerCase();n.fn.init.prototype=n.fn,t.Velocity={Utilities:n}}}(window),function(t){"object"==typeof module&&"object"==typeof module.exports?module.exports=t():"function"==typeof define&&define.amd?define(t):t()}(function(){return function(t,e,n,i){function r(t){for(var e=-1,n=t?t.length:0,i=[];++e<n;){var r=t[e];r&&i.push(r)}return i}function o(t){return m.isWrapped(t)?t=[].slice.call(t):m.isNode(t)&&(t=[t]),t}function a(t){var e=f.data(t,"velocity");return null===e?i:e}function s(t){return function(e){return Math.round(e*t)*(1/t)}}function l(t,n,i,r){function o(t,e){return 1-3*e+3*t}function a(t,e){return 3*e-6*t}function s(t){return 3*t}function l(t,e,n){return((o(e,n)*t+a(e,n))*t+s(e))*t}function u(t,e,n){return 3*o(e,n)*t*t+2*a(e,n)*t+s(e)}function c(e,n){for(var r=0;m>r;++r){var o=u(n,t,i);if(0===o)return n;var a=l(n,t,i)-e;n-=a/o}return n}function d(){for(var e=0;b>e;++e)C[e]=l(e*w,t,i)}function f(e,n,r){var o,a,s=0;do a=n+(r-n)/2,o=l(a,t,i)-e,o>0?r=a:n=a;while(Math.abs(o)>v&&++s<y);return a}function p(e){for(var n=0,r=1,o=b-1;r!=o&&C[r]<=e;++r)n+=w;--r;var a=(e-C[r])/(C[r+1]-C[r]),s=n+a*w,l=u(s,t,i);return l>=g?c(e,s):0==l?s:f(e,n,n+w)}function h(){k=!0,(t!=n||i!=r)&&d()}var m=4,g=.001,v=1e-7,y=10,b=11,w=1/(b-1),x="Float32Array"in e;if(4!==arguments.length)return!1;for(var T=0;4>T;++T)if("number"!=typeof arguments[T]||isNaN(arguments[T])||!isFinite(arguments[T]))return!1;t=Math.min(t,1),i=Math.min(i,1),t=Math.max(t,0),i=Math.max(i,0);var C=x?new Float32Array(b):new Array(b),k=!1,S=function(e){return k||h(),t===n&&i===r?e:0===e?0:1===e?1:l(p(e),n,r)};S.getControlPoints=function(){return[{x:t,y:n},{x:i,y:r}]};var _="generateBezier("+[t,n,i,r]+")";return S.toString=function(){return _},S}function u(t,e){var n=t;return m.isString(t)?b.Easings[t]||(n=!1):n=m.isArray(t)&&1===t.length?s.apply(null,t):m.isArray(t)&&2===t.length?w.apply(null,t.concat([e])):m.isArray(t)&&4===t.length?l.apply(null,t):!1,n===!1&&(n=b.Easings[b.defaults.easing]?b.defaults.easing:y),n}function c(t){if(t){var e=(new Date).getTime(),n=b.State.calls.length;n>1e4&&(b.State.calls=r(b.State.calls));for(var o=0;n>o;o++)if(b.State.calls[o]){var s=b.State.calls[o],l=s[0],u=s[2],p=s[3],h=!!p,g=null;p||(p=b.State.calls[o][3]=e-16);for(var v=Math.min((e-p)/u.duration,1),y=0,w=l.length;w>y;y++){var T=l[y],k=T.element;if(a(k)){var S=!1;if(u.display!==i&&null!==u.display&&"none"!==u.display){if("flex"===u.display){var _=["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"];f.each(_,function(t,e){x.setPropertyValue(k,"display",e)})}x.setPropertyValue(k,"display",u.display)}u.visibility!==i&&"hidden"!==u.visibility&&x.setPropertyValue(k,"visibility",u.visibility);for(var E in T)if("element"!==E){var $,D=T[E],A=m.isString(D.easing)?b.Easings[D.easing]:D.easing;if(1===v)$=D.endValue;else{var M=D.endValue-D.startValue;if($=D.startValue+M*A(v,u,M),!h&&$===D.currentValue)continue}if(D.currentValue=$,"tween"===E)g=$;else{if(x.Hooks.registered[E]){var P=x.Hooks.getRoot(E),O=a(k).rootPropertyValueCache[P];O&&(D.rootPropertyValue=O)}var j=x.setPropertyValue(k,E,D.currentValue+(0===parseFloat($)?"":D.unitType),D.rootPropertyValue,D.scrollData);x.Hooks.registered[E]&&(a(k).rootPropertyValueCache[P]=x.Normalizations.registered[P]?x.Normalizations.registered[P]("extract",null,j[1]):j[1]),"transform"===j[0]&&(S=!0)}}u.mobileHA&&a(k).transformCache.translate3d===i&&(a(k).transformCache.translate3d="(0px, 0px, 0px)",S=!0),S&&x.flushTransformCache(k)}}u.display!==i&&"none"!==u.display&&(b.State.calls[o][2].display=!1),u.visibility!==i&&"hidden"!==u.visibility&&(b.State.calls[o][2].visibility=!1),u.progress&&u.progress.call(s[1],s[1],v,Math.max(0,p+u.duration-e),p,g),1===v&&d(o)}}b.State.isTicking&&C(c)}function d(t,e){if(!b.State.calls[t])return!1;for(var n=b.State.calls[t][0],r=b.State.calls[t][1],o=b.State.calls[t][2],s=b.State.calls[t][4],l=!1,u=0,c=n.length;c>u;u++){var d=n[u].element;if(e||o.loop||("none"===o.display&&x.setPropertyValue(d,"display",o.display),"hidden"===o.visibility&&x.setPropertyValue(d,"visibility",o.visibility)),o.loop!==!0&&(f.queue(d)[1]===i||!/\.velocityQueueEntryFlag/i.test(f.queue(d)[1]))&&a(d)){a(d).isAnimating=!1,a(d).rootPropertyValueCache={};var p=!1;f.each(x.Lists.transforms3D,function(t,e){var n=/^scale/.test(e)?1:0,r=a(d).transformCache[e];a(d).transformCache[e]!==i&&new RegExp("^\\("+n+"[^.]").test(r)&&(p=!0,delete a(d).transformCache[e])}),o.mobileHA&&(p=!0,delete a(d).transformCache.translate3d),p&&x.flushTransformCache(d),x.Values.removeClass(d,"velocity-animating")}if(!e&&o.complete&&!o.loop&&u===c-1)try{o.complete.call(r,r)}catch(h){setTimeout(function(){throw h},1)}s&&o.loop!==!0&&s(r),a(d)&&o.loop===!0&&!e&&(f.each(a(d).tweensContainer,function(t,e){/^rotate/.test(t)&&360===parseFloat(e.endValue)&&(e.endValue=0,e.startValue=360),/^backgroundPosition/.test(t)&&100===parseFloat(e.endValue)&&"%"===e.unitType&&(e.endValue=0,e.startValue=100)}),b(d,"reverse",{loop:!0,delay:o.delay})),o.queue!==!1&&f.dequeue(d,o.queue)}b.State.calls[t]=!1;for(var m=0,g=b.State.calls.length;g>m;m++)if(b.State.calls[m]!==!1){l=!0;break}l===!1&&(b.State.isTicking=!1,delete b.State.calls,b.State.calls=[])}var f,p=function(){if(n.documentMode)return n.documentMode;for(var t=7;t>4;t--){var e=n.createElement("div");if(e.innerHTML="<!--[if IE "+t+"]><span></span><![endif]-->",e.getElementsByTagName("span").length)return e=null,t}return i}(),h=function(){var t=0;return e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||function(e){var n,i=(new Date).getTime();return n=Math.max(0,16-(i-t)),t=i+n,setTimeout(function(){e(i+n)},n)}}(),m={isString:function(t){return"string"==typeof t},isArray:Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},isFunction:function(t){return"[object Function]"===Object.prototype.toString.call(t)},isNode:function(t){return t&&t.nodeType},isNodeList:function(t){return"object"==typeof t&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(Object.prototype.toString.call(t))&&t.length!==i&&(0===t.length||"object"==typeof t[0]&&t[0].nodeType>0)},isWrapped:function(t){return t&&(t.jquery||e.Zepto&&e.Zepto.zepto.isZ(t))},isSVG:function(t){return e.SVGElement&&t instanceof e.SVGElement},isEmptyObject:function(t){for(var e in t)return!1;return!0}},g=!1;if(t.fn&&t.fn.jquery?(f=t,g=!0):f=e.Velocity.Utilities,8>=p&&!g)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(7>=p)return void(jQuery.fn.velocity=jQuery.fn.animate);var v=400,y="swing",b={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:e.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:n.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[]},CSS:{},Utilities:f,Redirects:{},Easings:{},Promise:e.Promise,defaults:{queue:"",duration:v,easing:y,begin:i,complete:i,progress:i,display:i,visibility:i,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0},init:function(t){f.data(t,"velocity",{isSVG:m.isSVG(t),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:2,patch:2},debug:!1};e.pageYOffset!==i?(b.State.scrollAnchor=e,b.State.scrollPropertyLeft="pageXOffset",b.State.scrollPropertyTop="pageYOffset"):(b.State.scrollAnchor=n.documentElement||n.body.parentNode||n.body,b.State.scrollPropertyLeft="scrollLeft",b.State.scrollPropertyTop="scrollTop");var w=function(){function t(t){return-t.tension*t.x-t.friction*t.v}function e(e,n,i){var r={x:e.x+i.dx*n,v:e.v+i.dv*n,tension:e.tension,friction:e.friction};return{dx:r.v,dv:t(r)}}function n(n,i){var r={dx:n.v,dv:t(n)},o=e(n,.5*i,r),a=e(n,.5*i,o),s=e(n,i,a),l=1/6*(r.dx+2*(o.dx+a.dx)+s.dx),u=1/6*(r.dv+2*(o.dv+a.dv)+s.dv);return n.x=n.x+l*i,n.v=n.v+u*i,n}return function i(t,e,r){var o,a,s,l={x:-1,v:0,tension:null,friction:null},u=[0],c=0,d=1e-4,f=.016;for(t=parseFloat(t)||500,e=parseFloat(e)||20,r=r||null,l.tension=t,l.friction=e,o=null!==r,o?(c=i(t,e),a=c/r*f):a=f;s=n(s||l,a),u.push(1+s.x),c+=16,Math.abs(s.x)>d&&Math.abs(s.v)>d;);return o?function(t){return u[t*(u.length-1)|0]}:c}}();b.Easings={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},spring:function(t){return 1-Math.cos(4.5*t*Math.PI)*Math.exp(6*-t)}},f.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(t,e){b.Easings[e[0]]=l.apply(null,e[1])});var x=b.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"]},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var t=0;t<x.Lists.colors.length;t++){var e="color"===x.Lists.colors[t]?"0 0 0 1":"255 255 255 1";x.Hooks.templates[x.Lists.colors[t]]=["Red Green Blue Alpha",e]}var n,i,r;if(p)for(n in x.Hooks.templates){i=x.Hooks.templates[n],r=i[0].split(" ");var o=i[1].match(x.RegEx.valueSplit);"Color"===r[0]&&(r.push(r.shift()),o.push(o.shift()),x.Hooks.templates[n]=[r.join(" "),o.join(" ")])}for(n in x.Hooks.templates){i=x.Hooks.templates[n],r=i[0].split(" ");for(var t in r){var a=n+r[t],s=t;x.Hooks.registered[a]=[n,s]}}},getRoot:function(t){var e=x.Hooks.registered[t];return e?e[0]:t},cleanRootPropertyValue:function(t,e){return x.RegEx.valueUnwrap.test(e)&&(e=e.match(x.RegEx.valueUnwrap)[1]),x.Values.isCSSNullValue(e)&&(e=x.Hooks.templates[t][1]),e},extractValue:function(t,e){var n=x.Hooks.registered[t];if(n){var i=n[0],r=n[1];return e=x.Hooks.cleanRootPropertyValue(i,e),e.toString().match(x.RegEx.valueSplit)[r]}return e},injectValue:function(t,e,n){var i=x.Hooks.registered[t];if(i){var r,o,a=i[0],s=i[1];return n=x.Hooks.cleanRootPropertyValue(a,n),r=n.toString().match(x.RegEx.valueSplit),r[s]=e,o=r.join(" ")}return n}},Normalizations:{registered:{clip:function(t,e,n){switch(t){case"name":return"clip";case"extract":var i;return x.RegEx.wrappedValueAlreadyExtracted.test(n)?i=n:(i=n.toString().match(x.RegEx.valueUnwrap),i=i?i[1].replace(/,(\s+)?/g," "):n),i;case"inject":return"rect("+n+")"}},blur:function(t,e,n){switch(t){case"name":return b.State.isFirefox?"filter":"-webkit-filter";case"extract":var i=parseFloat(n);if(!i&&0!==i){var r=n.toString().match(/blur\(([0-9]+[A-z]+)\)/i);i=r?r[1]:0}return i;case"inject":return parseFloat(n)?"blur("+n+")":"none"}},opacity:function(t,e,n){if(8>=p)switch(t){case"name":return"filter";case"extract":var i=n.toString().match(/alpha\(opacity=(.*)\)/i);return n=i?i[1]/100:1;case"inject":return e.style.zoom=1,parseFloat(n)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(n),10)+")"}else switch(t){case"name":return"opacity";case"extract":return n;case"inject":return n}}},register:function(){9>=p||b.State.isGingerbread||(x.Lists.transformsBase=x.Lists.transformsBase.concat(x.Lists.transforms3D));for(var t=0;t<x.Lists.transformsBase.length;t++)!function(){var e=x.Lists.transformsBase[t];x.Normalizations.registered[e]=function(t,n,r){switch(t){case"name":return"transform";case"extract":return a(n)===i||a(n).transformCache[e]===i?/^scale/i.test(e)?1:0:a(n).transformCache[e].replace(/[()]/g,"");case"inject":var o=!1;switch(e.substr(0,e.length-1)){case"translate":o=!/(%|px|em|rem|vw|vh|\d)$/i.test(r);break;case"scal":case"scale":b.State.isAndroid&&a(n).transformCache[e]===i&&1>r&&(r=1),o=!/(\d)$/i.test(r);break;case"skew":o=!/(deg|\d)$/i.test(r);break;case"rotate":o=!/(deg|\d)$/i.test(r)}return o||(a(n).transformCache[e]="("+r+")"),a(n).transformCache[e]}}}();for(var t=0;t<x.Lists.colors.length;t++)!function(){var e=x.Lists.colors[t];x.Normalizations.registered[e]=function(t,n,r){switch(t){case"name":return e;case"extract":var o;if(x.RegEx.wrappedValueAlreadyExtracted.test(r))o=r;else{var a,s={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(r)?a=s[r]!==i?s[r]:s.black:x.RegEx.isHex.test(r)?a="rgb("+x.Values.hexToRgb(r).join(" ")+")":/^rgba?\(/i.test(r)||(a=s.black),o=(a||r).toString().match(x.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return 8>=p||3!==o.split(" ").length||(o+=" 1"),o;case"inject":return 8>=p?4===r.split(" ").length&&(r=r.split(/\s+/).slice(0,3).join(" ")):3===r.split(" ").length&&(r+=" 1"),(8>=p?"rgb":"rgba")+"("+r.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")"}}}()}},Names:{camelCase:function(t){return t.replace(/-(\w)/g,function(t,e){return e.toUpperCase()})},SVGAttribute:function(t){var e="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(p||b.State.isAndroid&&!b.State.isChrome)&&(e+="|transform"),new RegExp("^("+e+")$","i").test(t)},prefixCheck:function(t){if(b.State.prefixMatches[t])return[b.State.prefixMatches[t],!0];for(var e=["","Webkit","Moz","ms","O"],n=0,i=e.length;i>n;n++){var r;if(r=0===n?t:e[n]+t.replace(/^\w/,function(t){return t.toUpperCase()}),m.isString(b.State.prefixElement.style[r]))return b.State.prefixMatches[t]=r,[r,!0]}return[t,!1]}},Values:{hexToRgb:function(t){var e,n=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;return t=t.replace(n,function(t,e,n,i){return e+e+n+n+i+i}),e=i.exec(t),e?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]:[0,0,0]},isCSSNullValue:function(t){return 0==t||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(t)},getUnitType:function(t){return/^(rotate|skew)/i.test(t)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(t)?"":"px"},getDisplayType:function(t){var e=t&&t.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(e)?"inline":/^(li)$/i.test(e)?"list-item":/^(tr)$/i.test(e)?"table-row":/^(table)$/i.test(e)?"table":/^(tbody)$/i.test(e)?"table-row-group":"block"},addClass:function(t,e){t.classList?t.classList.add(e):t.className+=(t.className.length?" ":"")+e},removeClass:function(t,e){t.classList?t.classList.remove(e):t.className=t.className.toString().replace(new RegExp("(^|\\s)"+e.split(" ").join("|")+"(\\s|$)","gi")," ")}},getPropertyValue:function(t,n,r,o){function s(t,n){function r(){u&&x.setPropertyValue(t,"display","none")}var l=0;if(8>=p)l=f.css(t,n);else{var u=!1;if(/^(width|height)$/.test(n)&&0===x.getPropertyValue(t,"display")&&(u=!0,x.setPropertyValue(t,"display",x.Values.getDisplayType(t))),!o){if("height"===n&&"border-box"!==x.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var c=t.offsetHeight-(parseFloat(x.getPropertyValue(t,"borderTopWidth"))||0)-(parseFloat(x.getPropertyValue(t,"borderBottomWidth"))||0)-(parseFloat(x.getPropertyValue(t,"paddingTop"))||0)-(parseFloat(x.getPropertyValue(t,"paddingBottom"))||0);return r(),c}if("width"===n&&"border-box"!==x.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var d=t.offsetWidth-(parseFloat(x.getPropertyValue(t,"borderLeftWidth"))||0)-(parseFloat(x.getPropertyValue(t,"borderRightWidth"))||0)-(parseFloat(x.getPropertyValue(t,"paddingLeft"))||0)-(parseFloat(x.getPropertyValue(t,"paddingRight"))||0);return r(),d}}var h;h=a(t)===i?e.getComputedStyle(t,null):a(t).computedStyle?a(t).computedStyle:a(t).computedStyle=e.getComputedStyle(t,null),"borderColor"===n&&(n="borderTopColor"),l=9===p&&"filter"===n?h.getPropertyValue(n):h[n],(""===l||null===l)&&(l=t.style[n]),r()}if("auto"===l&&/^(top|right|bottom|left)$/i.test(n)){var m=s(t,"position");("fixed"===m||"absolute"===m&&/top|left/i.test(n))&&(l=f(t).position()[n]+"px")}return l}var l;if(x.Hooks.registered[n]){var u=n,c=x.Hooks.getRoot(u);r===i&&(r=x.getPropertyValue(t,x.Names.prefixCheck(c)[0])),x.Normalizations.registered[c]&&(r=x.Normalizations.registered[c]("extract",t,r)),l=x.Hooks.extractValue(u,r)}else if(x.Normalizations.registered[n]){var d,h;d=x.Normalizations.registered[n]("name",t),"transform"!==d&&(h=s(t,x.Names.prefixCheck(d)[0]),x.Values.isCSSNullValue(h)&&x.Hooks.templates[n]&&(h=x.Hooks.templates[n][1])),l=x.Normalizations.registered[n]("extract",t,h)}if(!/^[\d-]/.test(l))if(a(t)&&a(t).isSVG&&x.Names.SVGAttribute(n))if(/^(height|width)$/i.test(n))try{l=t.getBBox()[n]}catch(m){l=0}else l=t.getAttribute(n);else l=s(t,x.Names.prefixCheck(n)[0]);return x.Values.isCSSNullValue(l)&&(l=0),b.debug>=2&&console.log("Get "+n+": "+l),l},setPropertyValue:function(t,n,i,r,o){var s=n;if("scroll"===n)o.container?o.container["scroll"+o.direction]=i:"Left"===o.direction?e.scrollTo(i,o.alternateValue):e.scrollTo(o.alternateValue,i);else if(x.Normalizations.registered[n]&&"transform"===x.Normalizations.registered[n]("name",t))x.Normalizations.registered[n]("inject",t,i),s="transform",i=a(t).transformCache[n];else{if(x.Hooks.registered[n]){var l=n,u=x.Hooks.getRoot(n);r=r||x.getPropertyValue(t,u),i=x.Hooks.injectValue(l,i,r),n=u}if(x.Normalizations.registered[n]&&(i=x.Normalizations.registered[n]("inject",t,i),n=x.Normalizations.registered[n]("name",t)),s=x.Names.prefixCheck(n)[0],8>=p)try{t.style[s]=i}catch(c){b.debug&&console.log("Browser does not support ["+i+"] for ["+s+"]")}else a(t)&&a(t).isSVG&&x.Names.SVGAttribute(n)?t.setAttribute(n,i):t.style[s]=i;b.debug>=2&&console.log("Set "+n+" ("+s+"): "+i)}return[s,i]},flushTransformCache:function(t){function e(e){return parseFloat(x.getPropertyValue(t,e))}var n="";if((p||b.State.isAndroid&&!b.State.isChrome)&&a(t).isSVG){var i={translate:[e("translateX"),e("translateY")],skewX:[e("skewX")],skewY:[e("skewY")],scale:1!==e("scale")?[e("scale"),e("scale")]:[e("scaleX"),e("scaleY")],rotate:[e("rotateZ"),0,0]};f.each(a(t).transformCache,function(t){/^translate/i.test(t)?t="translate":/^scale/i.test(t)?t="scale":/^rotate/i.test(t)&&(t="rotate"),i[t]&&(n+=t+"("+i[t].join(" ")+") ",delete i[t])})}else{var r,o;f.each(a(t).transformCache,function(e){return r=a(t).transformCache[e],"transformPerspective"===e?(o=r,!0):(9===p&&"rotateZ"===e&&(e="rotate"),void(n+=e+r+" "))}),o&&(n="perspective"+o+" "+n)}x.setPropertyValue(t,"transform",n)}};x.Hooks.register(),x.Normalizations.register(),b.hook=function(t,e,n){var r=i;return t=o(t),f.each(t,function(t,o){if(a(o)===i&&b.init(o),n===i)r===i&&(r=b.CSS.getPropertyValue(o,e));else{var s=b.CSS.setPropertyValue(o,e,n);"transform"===s[0]&&b.CSS.flushTransformCache(o),r=s}}),r};var T=function(){function t(){return s?E.promise||null:l}function r(){function t(){function t(t,e){var n=i,r=i,a=i;return m.isArray(t)?(n=t[0],!m.isArray(t[1])&&/^[\d-]/.test(t[1])||m.isFunction(t[1])||x.RegEx.isHex.test(t[1])?a=t[1]:(m.isString(t[1])&&!x.RegEx.isHex.test(t[1])||m.isArray(t[1]))&&(r=e?t[1]:u(t[1],s.duration),t[2]!==i&&(a=t[2]))):n=t,e||(r=r||s.easing),m.isFunction(n)&&(n=n.call(o,k,C)),m.isFunction(a)&&(a=a.call(o,k,C)),[n||0,r,a]}function d(t,e){var n,i;return i=(e||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(t){return n=t,""}),n||(n=x.Values.getUnitType(t)),[i,n]}function p(){var t={myParent:o.parentNode||n.body,position:x.getPropertyValue(o,"position"),fontSize:x.getPropertyValue(o,"fontSize")},i=t.position===j.lastPosition&&t.myParent===j.lastParent,r=t.fontSize===j.lastFontSize;j.lastParent=t.myParent,j.lastPosition=t.position,j.lastFontSize=t.fontSize;var s=100,l={};if(r&&i)l.emToPx=j.lastEmToPx,l.percentToPxWidth=j.lastPercentToPxWidth,l.percentToPxHeight=j.lastPercentToPxHeight;else{var u=a(o).isSVG?n.createElementNS("http://www.w3.org/2000/svg","rect"):n.createElement("div");b.init(u),t.myParent.appendChild(u),f.each(["overflow","overflowX","overflowY"],function(t,e){b.CSS.setPropertyValue(u,e,"hidden")}),b.CSS.setPropertyValue(u,"position",t.position),b.CSS.setPropertyValue(u,"fontSize",t.fontSize),b.CSS.setPropertyValue(u,"boxSizing","content-box"),f.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(t,e){b.CSS.setPropertyValue(u,e,s+"%")}),b.CSS.setPropertyValue(u,"paddingLeft",s+"em"),l.percentToPxWidth=j.lastPercentToPxWidth=(parseFloat(x.getPropertyValue(u,"width",null,!0))||1)/s,l.percentToPxHeight=j.lastPercentToPxHeight=(parseFloat(x.getPropertyValue(u,"height",null,!0))||1)/s,l.emToPx=j.lastEmToPx=(parseFloat(x.getPropertyValue(u,"paddingLeft"))||1)/s,t.myParent.removeChild(u)}return null===j.remToPx&&(j.remToPx=parseFloat(x.getPropertyValue(n.body,"fontSize"))||16),null===j.vwToPx&&(j.vwToPx=parseFloat(e.innerWidth)/100,j.vhToPx=parseFloat(e.innerHeight)/100),l.remToPx=j.remToPx,l.vwToPx=j.vwToPx,l.vhToPx=j.vhToPx,b.debug>=1&&console.log("Unit ratios: "+JSON.stringify(l),o),l}if(s.begin&&0===k)try{s.begin.call(h,h)}catch(v){setTimeout(function(){throw v},1)}if("scroll"===$){var w,T,S,_=/^x$/i.test(s.axis)?"Left":"Top",D=parseFloat(s.offset)||0;s.container?m.isWrapped(s.container)||m.isNode(s.container)?(s.container=s.container[0]||s.container,w=s.container["scroll"+_],S=w+f(o).position()[_.toLowerCase()]+D):s.container=null:(w=b.State.scrollAnchor[b.State["scrollProperty"+_]],T=b.State.scrollAnchor[b.State["scrollProperty"+("Left"===_?"Top":"Left")]],S=f(o).offset()[_.toLowerCase()]+D),l={scroll:{rootPropertyValue:!1,startValue:w,currentValue:w,endValue:S,unitType:"",easing:s.easing,scrollData:{container:s.container,direction:_,alternateValue:T}},element:o},b.debug&&console.log("tweensContainer (scroll): ",l.scroll,o)}else if("reverse"===$){if(!a(o).tweensContainer)return void f.dequeue(o,s.queue);"none"===a(o).opts.display&&(a(o).opts.display="auto"),"hidden"===a(o).opts.visibility&&(a(o).opts.visibility="visible"),a(o).opts.loop=!1,a(o).opts.begin=null,a(o).opts.complete=null,y.easing||delete s.easing,y.duration||delete s.duration,s=f.extend({},a(o).opts,s);var A=f.extend(!0,{},a(o).tweensContainer);for(var M in A)if("element"!==M){var P=A[M].startValue;A[M].startValue=A[M].currentValue=A[M].endValue,A[M].endValue=P,m.isEmptyObject(y)||(A[M].easing=s.easing),b.debug&&console.log("reverse tweensContainer ("+M+"): "+JSON.stringify(A[M]),o)}l=A}else if("start"===$){var A;a(o).tweensContainer&&a(o).isAnimating===!0&&(A=a(o).tweensContainer),f.each(g,function(e,n){if(RegExp("^"+x.Lists.colors.join("$|^")+"$").test(e)){var r=t(n,!0),o=r[0],a=r[1],s=r[2];if(x.RegEx.isHex.test(o)){for(var l=["Red","Green","Blue"],u=x.Values.hexToRgb(o),c=s?x.Values.hexToRgb(s):i,d=0;d<l.length;d++){var f=[u[d]];a&&f.push(a),c!==i&&f.push(c[d]),g[e+l[d]]=f}delete g[e]}}});for(var O in g){var F=t(g[O]),H=F[0],L=F[1],z=F[2];O=x.Names.camelCase(O);var I=x.Hooks.getRoot(O),W=!1;if(a(o).isSVG||"tween"===I||x.Names.prefixCheck(I)[1]!==!1||x.Normalizations.registered[I]!==i){(s.display!==i&&null!==s.display&&"none"!==s.display||s.visibility!==i&&"hidden"!==s.visibility)&&/opacity|filter/.test(O)&&!z&&0!==H&&(z=0),s._cacheValues&&A&&A[O]?(z===i&&(z=A[O].endValue+A[O].unitType),W=a(o).rootPropertyValueCache[I]):x.Hooks.registered[O]?z===i?(W=x.getPropertyValue(o,I),z=x.getPropertyValue(o,O,W)):W=x.Hooks.templates[I][1]:z===i&&(z=x.getPropertyValue(o,O));var R,Y,q,B=!1;if(R=d(O,z),z=R[0],q=R[1],R=d(O,H),H=R[0].replace(/^([+-\/*])=/,function(t,e){return B=e,""}),Y=R[1],z=parseFloat(z)||0,H=parseFloat(H)||0,"%"===Y&&(/^(fontSize|lineHeight)$/.test(O)?(H/=100,Y="em"):/^scale/.test(O)?(H/=100,Y=""):/(Red|Green|Blue)$/i.test(O)&&(H=H/100*255,Y="")),/[\/*]/.test(B))Y=q;else if(q!==Y&&0!==z)if(0===H)Y=q;else{r=r||p();var V=/margin|padding|left|right|width|text|word|letter/i.test(O)||/X$/.test(O)||"x"===O?"x":"y";switch(q){case"%":z*="x"===V?r.percentToPxWidth:r.percentToPxHeight;break;case"px":break;default:z*=r[q+"ToPx"]}switch(Y){case"%":z*=1/("x"===V?r.percentToPxWidth:r.percentToPxHeight);break;case"px":break;default:z*=1/r[Y+"ToPx"]}}switch(B){case"+":H=z+H;break;case"-":H=z-H;break;case"*":H=z*H;break;case"/":H=z/H}l[O]={rootPropertyValue:W,startValue:z,currentValue:z,endValue:H,unitType:Y,easing:L},b.debug&&console.log("tweensContainer ("+O+"): "+JSON.stringify(l[O]),o)}else b.debug&&console.log("Skipping ["+I+"] due to a lack of browser support.")}l.element=o}l.element&&(x.Values.addClass(o,"velocity-animating"),N.push(l),""===s.queue&&(a(o).tweensContainer=l,a(o).opts=s),a(o).isAnimating=!0,k===C-1?(b.State.calls.push([N,h,s,null,E.resolver]),b.State.isTicking===!1&&(b.State.isTicking=!0,c())):k++)}var r,o=this,s=f.extend({},b.defaults,y),l={};switch(a(o)===i&&b.init(o),parseFloat(s.delay)&&s.queue!==!1&&f.queue(o,s.queue,function(t){b.velocityQueueEntryFlag=!0,a(o).delayTimer={setTimeout:setTimeout(t,parseFloat(s.delay)),next:t}}),s.duration.toString().toLowerCase()){case"fast":s.duration=200;break;case"normal":s.duration=v;break;case"slow":s.duration=600;break;default:s.duration=parseFloat(s.duration)||1}b.mock!==!1&&(b.mock===!0?s.duration=s.delay=1:(s.duration*=parseFloat(b.mock)||1,s.delay*=parseFloat(b.mock)||1)),s.easing=u(s.easing,s.duration),s.begin&&!m.isFunction(s.begin)&&(s.begin=null),s.progress&&!m.isFunction(s.progress)&&(s.progress=null),s.complete&&!m.isFunction(s.complete)&&(s.complete=null),s.display!==i&&null!==s.display&&(s.display=s.display.toString().toLowerCase(),"auto"===s.display&&(s.display=b.CSS.Values.getDisplayType(o))),s.visibility!==i&&null!==s.visibility&&(s.visibility=s.visibility.toString().toLowerCase()),s.mobileHA=s.mobileHA&&b.State.isMobile&&!b.State.isGingerbread,s.queue===!1?s.delay?setTimeout(t,s.delay):t():f.queue(o,s.queue,function(e,n){return n===!0?(E.promise&&E.resolver(h),!0):(b.velocityQueueEntryFlag=!0,void t(e))}),""!==s.queue&&"fx"!==s.queue||"inprogress"===f.queue(o)[0]||f.dequeue(o)}var s,l,p,h,g,y,w=arguments[0]&&(arguments[0].p||f.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||m.isString(arguments[0].properties));if(m.isWrapped(this)?(s=!1,p=0,h=this,l=this):(s=!0,p=1,h=w?arguments[0].elements||arguments[0].e:arguments[0]),h=o(h)){w?(g=arguments[0].properties||arguments[0].p,y=arguments[0].options||arguments[0].o):(g=arguments[p],y=arguments[p+1]);var C=h.length,k=0;if(!/^(stop|finish|finishAll)$/i.test(g)&&!f.isPlainObject(y)){var S=p+1;y={};for(var _=S;_<arguments.length;_++)m.isArray(arguments[_])||!/^(fast|normal|slow)$/i.test(arguments[_])&&!/^\d/.test(arguments[_])?m.isString(arguments[_])||m.isArray(arguments[_])?y.easing=arguments[_]:m.isFunction(arguments[_])&&(y.complete=arguments[_]):y.duration=arguments[_]}var E={promise:null,resolver:null,rejecter:null};s&&b.Promise&&(E.promise=new b.Promise(function(t,e){E.resolver=t,E.rejecter=e}));var $;switch(g){case"scroll":$="scroll";break;case"reverse":$="reverse";break;case"finish":case"finishAll":case"stop":f.each(h,function(t,e){a(e)&&a(e).delayTimer&&(clearTimeout(a(e).delayTimer.setTimeout),a(e).delayTimer.next&&a(e).delayTimer.next(),delete a(e).delayTimer),"finishAll"!==g||y!==!0&&!m.isString(y)||(f.each(f.queue(e,m.isString(y)?y:""),function(t,e){m.isFunction(e)&&e()}),f.queue(e,m.isString(y)?y:"",[]))});var D=[];return f.each(b.State.calls,function(t,e){e&&f.each(e[1],function(n,r){var o=y===i?"":y;return o===!0||e[2].queue===o||y===i&&e[2].queue===!1?void f.each(h,function(n,i){i===r&&((y===!0||m.isString(y))&&(f.each(f.queue(i,m.isString(y)?y:""),function(t,e){m.isFunction(e)&&e(null,!0)}),f.queue(i,m.isString(y)?y:"",[])),"stop"===g?(a(i)&&a(i).tweensContainer&&o!==!1&&f.each(a(i).tweensContainer,function(t,e){e.endValue=e.currentValue}),D.push(t)):("finish"===g||"finishAll"===g)&&(e[2].duration=1))}):!0})}),"stop"===g&&(f.each(D,function(t,e){d(e,!0)}),E.promise&&E.resolver(h)),t();default:if(!f.isPlainObject(g)||m.isEmptyObject(g)){if(m.isString(g)&&b.Redirects[g]){var A=f.extend({},y),M=A.duration,P=A.delay||0;return A.backwards===!0&&(h=f.extend(!0,[],h).reverse()),f.each(h,function(t,e){parseFloat(A.stagger)?A.delay=P+parseFloat(A.stagger)*t:m.isFunction(A.stagger)&&(A.delay=P+A.stagger.call(e,t,C)),A.drag&&(A.duration=parseFloat(M)||(/^(callout|transition)/.test(g)?1e3:v),A.duration=Math.max(A.duration*(A.backwards?1-t/C:(t+1)/C),.75*A.duration,200)),b.Redirects[g].call(e,e,A||{},t,C,h,E.promise?E:i)}),t()}var O="Velocity: First argument ("+g+") was not a property map, a known action, or a registered redirect. Aborting.";return E.promise?E.rejecter(new Error(O)):console.log(O),t()}$="start"}var j={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},N=[];f.each(h,function(t,e){m.isNode(e)&&r.call(e)});var F,A=f.extend({},b.defaults,y);if(A.loop=parseInt(A.loop),F=2*A.loop-1,A.loop)for(var H=0;F>H;H++){var L={delay:A.delay,progress:A.progress};H===F-1&&(L.display=A.display,L.visibility=A.visibility,L.complete=A.complete),T(h,"reverse",L)}return t()}};b=f.extend(T,b),b.animate=T;var C=e.requestAnimationFrame||h;return b.State.isMobile||n.hidden===i||n.addEventListener("visibilitychange",function(){n.hidden?(C=function(t){return setTimeout(function(){t(!0)},16)},c()):C=e.requestAnimationFrame||h}),t.Velocity=b,t!==e&&(t.fn.velocity=T,t.fn.velocity.defaults=b.defaults),f.each(["Down","Up"],function(t,e){b.Redirects["slide"+e]=function(t,n,r,o,a,s){var l=f.extend({},n),u=l.begin,c=l.complete,d={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""},p={};l.display===i&&(l.display="Down"===e?"inline"===b.CSS.Values.getDisplayType(t)?"inline-block":"block":"none"),l.begin=function(){u&&u.call(a,a);for(var n in d){p[n]=t.style[n];var i=b.CSS.getPropertyValue(t,n);d[n]="Down"===e?[i,0]:[0,i]}p.overflow=t.style.overflow,t.style.overflow="hidden"},l.complete=function(){for(var e in p)t.style[e]=p[e];
136c&&c.call(a,a),s&&s.resolver(a)},b(t,d,l)}}),f.each(["In","Out"],function(t,e){b.Redirects["fade"+e]=function(t,n,r,o,a,s){var l=f.extend({},n),u={opacity:"In"===e?1:0},c=l.complete;l.complete=r!==o-1?l.begin=null:function(){c&&c.call(a,a),s&&s.resolver(a)},l.display===i&&(l.display="In"===e?"auto":"none"),b(this,u,l)}}),b}(window.jQuery||window.Zepto||window,window,document)}),function(){$(function(){var t,e,n,i,r,o,a,s,l,u,c,d,f,p,h,m,g,v,y,b,w,x,T,C,k;return l=$(window),o=$(".header"),n=$(".fanclub-item"),C=720,T=992,x=1200,p=0,m=function(){var t,e,n,i;return n=l.height(),i=$(".wrapper-content").height(),t=$(".footer").outerHeight(!0),n>i+t?(e=n-t,$(".wrapper").css({height:n}),$(".footer").addClass("footer-fixed").css({top:e})):($(".wrapper").removeAttr("style"),$(".footer").removeClass("footer-fixed").removeAttr("style"))},g=function(){return p!==window.innerWidth?(m(),p=window.innerWidth):void 0},w=_.throttle(g,100),$(window).resize(w),$("a[href^='#']:not(data-control)").on("click",function(t){var e,n,i;return t.preventDefault(),n=$(this).attr("href"),e=$("#"===n||""===n?"html":n),i="#"===n?e.offset().top:e.offset().top-$(".header").outerHeight(),$("html, body").animate({scrollTop:i},500,"swing") 137}),s=$(".header-menu-sp"),e=$(".btn-menu"),u=$(".wrapper"),t=$("body"),e.on("click",function(e){var n,i;return e.preventDefault(),i=l.scrollTop(),t.toggleClass("is-open-menu"),u.toggleClass("is-open-menu"),s.toggleClass("is-open"),$(this).toggleClass("is-open"),$(this).hasClass("is-open")?t.attr({"data-offsettop":i}).css({top:-1*i}):(n=t.attr("data-offsettop"),window.scrollTo(0,n))}),c=function(){var n,i;return $(window).width()>x&&t.hasClass("is-open-menu")?(i=l.scrollTop(),t.removeClass("is-open-menu"),u.removeClass("is-open-menu"),s.removeClass("is-open"),e.removeClass("is-open"),n=t.attr("data-offsettop"),window.scrollTo(0,n)):void 0},d=_.throttle(c,100),$(window).resize(d),$(".header-menu").find(".member-menu").hover(function(){return $(this).find(".sub-menu").stop().velocity("stop").velocity("fadeIn",{duration:500})},function(){return $(this).find(".sub-menu").stop().velocity("stop").delay(1e3).velocity("fadeOut",{duration:500})}),l.on("load",function(){return m(),p=window.innerWidth}),"/"===location.pathname&&($(".pickup-item").length>1&&$(".pickup-list").slick({centerMode:!0,centerPadding:"30%",dots:!0,slidesToShow:1,infinite:!0,speed:500,arrows:!0,cssEase:"linear",autoplay:!1,responsive:[{breakpoint:C,settings:{centerMode:!0,centerPadding:"10%",dots:!0,slidesToShow:1,infinite:!0,speed:500,arrows:!0,cssEase:"linear",autoplay:!1}}]}),$("#discoList").slick({centerMode:!1,centerPadding:"0",dots:!1,slidesToShow:3,infinite:!1,speed:0,arrows:!1,cssEase:"linear",autoplay:!1,responsive:[{breakpoint:C,settings:{centerMode:!0,centerPadding:"20%",dots:!1,slidesToShow:1,infinite:!0,speed:300,arrows:!1,cssEase:"linear",autoplay:!1}}]}),h=function(){var t,e;return e=$(".mainvisual-wrapper").height(),t=$(window).scrollTop(),e>t?$(".header").removeClass("is-fixed"):$(".header").addClass("is-fixed")},k=_.throttle(h,100),$(window).scroll(k),$("#maximage-pc, #maximage-sp").slick({dots:!1,infinite:!0,speed:500,fade:!0,arrows:!1,autoplay:!0,cssEase:"linear"}),f=window.innerHeight>550?window.innerHeight:550,y=function(){return $(".mainvisual-wrapper").css({height:f}),window.innerHeight>550?window.innerHeight:550},v=function(){return p!==window.innerWidth?y():void 0},l.on("load",function(){return y(),$(".loading").velocity({opacity:0},{duration:500,delay:1e3,easing:"linear",complete:function(){return function(){return $(".loading").remove(),$("body").removeClass("js-loading"),$(".top-whatsnew-title").find(".title-pc").addClass("is-anim")}}(this)}),$("#pickup").waypoint({handler:function(){return $("#pickup").find(".title-pc").addClass("is-anim"),$("#pickup").find(".section-body").removeClass("is-hide")},offset:"70%"}),$("#news").waypoint({handler:function(){return $("#news").find(".title-pc").addClass("is-anim"),$("#news").find(".section-body").removeClass("is-hide")},offset:"70%"}),$("#schedule").waypoint({handler:function(){return $("#schedule").find(".title-pc").addClass("is-anim"),$("#schedule").find(".section-body").removeClass("is-hide")},offset:"70%"}),$("#discography").waypoint({handler:function(){return $("#discography").find(".title-pc").addClass("is-anim"),$("#discography").find(".section-body").removeClass("is-hide")},offset:"70%"}),$("#membersmenu").waypoint({handler:function(){return $("#membersmenu").find(".title-pc").addClass("is-anim"),$("#membersmenu").find(".section-body").removeClass("is-hide")},offset:"70%"}),$("#profile").waypoint({handler:function(){return $("#profile").find(".title-pc").addClass("is-anim"),$("#profile").find(".profile-text").removeClass("is-hide"),$("#profile").find(".profile-artsist-list").removeClass("is-hide")},offset:"70%"}),$("#youtube").waypoint({handler:function(){return $("#youtube").find(".title-pc").addClass("is-anim"),$("#youtube").find(".section-body").removeClass("is-hide")},offset:"70%"}),$("#sns").waypoint({handler:function(){return $("#sns").find(".title-pc").addClass("is-anim"),$("#sns").find(".section-body").removeClass("is-hide")},offset:"70%"})}
137)),$("#calendar").calendarView({model:"content"}),b=function(){var t;return t=$(".thumbnail-list").find(".title"),l.width()>T?t.tile(3):t.tile(2)},$(".thumbnail-list").length>0&&(b(),l.on("resize",function(){return b()})),i=$(".parent-container [data-original]"),r=i.map(function(t,e){return{src:$(e).data("original")}}),a=$(".parent-container").magnificPopup({items:$.makeArray(r),type:"image",gallery:{enabled:!0}}),a.on("mfpOpen",function(t){var e,n;return e=$(t.target),n=e.data("index"),e.magnificPopup("goTo",n)}),i.on("click",function(t){var e,n;return e=$(t.currentTarget),n=a.find("[data-original]").index(this),a.data("index",n)}),$("#display_item_groups").on("contextmenu",function(){return!1}),"/discography"===location.pathname?$(".music-item .music-caption").matchHeight():void 0})}.call(this);
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.