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(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t=e.length,n=ot.type(e);return"function"===n||ot.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e}function i(e,t,n){if(ot.isFunction(t))return ot.grep(e,function(e,i){return!!t.call(e,i,e)!==n});if(t.nodeType)return ot.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(pt.test(t))return ot.filter(t,e,n);t=ot.filter(t,e)}return ot.grep(e,function(e){return ot.inArray(e,t)>=0!==n})}function r(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function o(e){var t=kt[e]={};return ot.each(e.match(wt)||[],function(e,n){t[n]=!0}),t}function a(){mt.addEventListener?(mt.removeEventListener("DOMContentLoaded",s,!1),e.removeEventListener("load",s,!1)):(mt.detachEvent("onreadystatechange",s),e.detachEvent("onload",s))}function s(){(mt.addEventListener||"load"===event.type||"complete"===mt.readyState)&&(a(),ot.ready())}function l(e,t,n){if(void 0===n&&1===e.nodeType){var i="data-"+t.replace(_t,"-$1").toLowerCase();if(n=e.getAttribute(i),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:St.test(n)?ot.parseJSON(n):n}catch(r){}ot.data(e,t,n)}else n=void 0}return n}function u(e){var t;for(t in e)if(("data"!==t||!ot.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function c(e,t,n,i){if(ot.acceptData(e)){var r,o,a=ot.expando,s=e.nodeType,l=s?ot.cache:e,u=s?e[a]:e[a]&&a;if(u&&l[u]&&(i||l[u].data)||void 0!==n||"string"!=typeof t)return u||(u=s?e[a]=G.pop()||ot.guid++:a),l[u]||(l[u]=s?{}:{toJSON:ot.noop}),("object"==typeof t||"function"==typeof t)&&(i?l[u]=ot.extend(l[u],t):l[u].data=ot.extend(l[u].data,t)),o=l[u],i||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[ot.camelCase(t)]=n),"string"==typeof t?(r=o[t],null==r&&(r=o[ot.camelCase(t)])):r=o,r}}function d(e,t,n){if(ot.acceptData(e)){var i,r,o=e.nodeType,a=o?ot.cache:e,s=o?e[ot.expando]:ot.expando;if(a[s]){if(t&&(i=n?a[s]:a[s].data)){ot.isArray(t)?t=t.concat(ot.map(t,ot.camelCase)):t in i?t=[t]:(t=ot.camelCase(t),t=t in i?[t]:t.split(" ")),r=t.length;for(;r--;)delete i[t[r]];if(n?!u(i):!ot.isEmptyObject(i))return}(n||(delete a[s].data,u(a[s])))&&(o?ot.cleanData([e],!0):it.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}function f(){return!0}function p(){return!1}function h(){try{return mt.activeElement}catch(e){}}function m(e){var t=Ht.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function g(e,t){var n,i,r=0,o=typeof e.getElementsByTagName!==Ct?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!==Ct?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(i=n[r]);r++)!t||ot.nodeName(i,t)?o.push(i):ot.merge(o,g(i,t));return void 0===t||t&&ot.nodeName(e,t)?ot.merge([e],o):o}function v(e){Pt.test(e.type)&&(e.defaultChecked=e.checked)}function y(e,t){return ot.nodeName(e,"table")&&ot.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function b(e){return e.type=(null!==ot.find.attr(e,"type"))+"/"+e.type,e}function w(e){var t=Gt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function k(e,t){for(var n,i=0;null!=(n=e[i]);i++)ot._data(n,"globalEval",!t||ot._data(t[i],"globalEval"))}function x(e,t){if(1===t.nodeType&&ot.hasData(e)){var n,i,r,o=ot._data(e),a=ot._data(t,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++)ot.event.add(t,n,s[n][i])}a.data&&(a.data=ot.extend({},a.data))}}function T(e,t){var n,i,r;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!it.noCloneEvent&&t[ot.expando]){r=ot._data(t);
vendor: 17,943 bytes, lines 14-24
14for(i in r.events)ot.removeEvent(t,i,r.handle);t.removeAttribute(ot.expando)}"script"===n&&t.text!==e.text?(b(t).text=e.text,w(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),it.html5Clone&&e.innerHTML&&!ot.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Pt.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}function C(t,n){var i=ot(n.createElement(t)).appendTo(n.body),r=e.getDefaultComputedStyle?e.getDefaultComputedStyle(i[0]).display:ot.css(i[0],"display");return i.detach(),r}function S(e){var t=mt,n=en[e];return n||(n=C(e,t),"none"!==n&&n||(Kt=(Kt||ot("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=(Kt[0].contentWindow||Kt[0].contentDocument).document,t.write(),t.close(),n=C(e,t),Kt.detach()),en[e]=n),n}function _(e,t){return{get:function(){var n=e();if(null!=n)return n?(delete this.get,void 0):(this.get=t).apply(this,arguments)}}}function E(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),i=t,r=hn.length;r--;)if(t=hn[r]+n,t in e)return t;return i}function $(e,t){for(var n,i,r,o=[],a=0,s=e.length;s>a;a++)i=e[a],i.style&&(o[a]=ot._data(i,"olddisplay"),n=i.style.display,t?(o[a]||"none"!==n||(i.style.display=""),""===i.style.display&&Dt(i)&&(o[a]=ot._data(i,"olddisplay",S(i.nodeName)))):o[a]||(r=Dt(i),(n&&"none"!==n||!r)&&ot._data(i,"olddisplay",r?n:ot.css(i,"display"))));for(a=0;s>a;a++)i=e[a],i.style&&(t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?o[a]||"":"none"));return e}function D(e,t,n){var i=cn.exec(t);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):t}function M(e,t,n,i,r){for(var o=n===(i?"border":"content")?4:"width"===t?1:0,a=0;4>o;o+=2)"margin"===n&&(a+=ot.css(e,n+$t[o],!0,r)),i?("content"===n&&(a-=ot.css(e,"padding"+$t[o],!0,r)),"margin"!==n&&(a-=ot.css(e,"border"+$t[o]+"Width",!0,r))):(a+=ot.css(e,"padding"+$t[o],!0,r),"padding"!==n&&(a+=ot.css(e,"border"+$t[o]+"Width",!0,r)));return a}function P(e,t,n){var i=!0,r="width"===t?e.offsetWidth:e.offsetHeight,o=tn(e),a=it.boxSizing()&&"border-box"===ot.css(e,"boxSizing",!1,o);if(0>=r||null==r){if(r=nn(e,t,o),(0>r||null==r)&&(r=e.style[t]),on.test(r))return r;i=a&&(it.boxSizingReliable()||r===e.style[t]),r=parseFloat(r)||0}return r+M(e,t,n||(a?"border":"content"),i,o)+"px"}function A(e,t,n,i,r){return new A.prototype.init(e,t,n,i,r)}function j(){return setTimeout(function(){mn=void 0}),mn=ot.now()}function N(e,t){var n,i={height:e},r=0;for(t=t?1:0;4>r;r+=2-t)n=$t[r],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function O(e,t,n){for(var i,r=(kn[t]||[]).concat(kn["*"]),o=0,a=r.length;a>o;o++)if(i=r[o].call(n,t,e))return i}function L(e,t,n){var i,r,o,a,s,l,u,c,d=this,f={},p=e.style,h=e.nodeType&&Dt(e),m=ot._data(e,"fxshow");n.queue||(s=ot._queueHooks(e,"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--,ot.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],u=ot.css(e,"display"),c=S(e.nodeName),"none"===u&&(u=c),"inline"===u&&"none"===ot.css(e,"float")&&(it.inlineBlockNeedsLayout&&"inline"!==c?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",it.shrinkWrapBlocks()||d.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(i in t)if(r=t[i],vn.exec(r)){if(delete t[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]||ot.style(e,i)}if(!ot.isEmptyObject(f)){m?"hidden"in m&&(h=m.hidden):m=ot._data(e,"fxshow",{}),o&&(m.hidden=!h),h?ot(e).show():d.done(function(){ot(e).hide()}),d.done(function(){var t;ot._removeData(e,"fxshow");for(t in f)ot.style(e,t,f[t])});for(i in f)a=O(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(e,t){var n,i,r,o,a;for(n in e)if(i=ot.camelCase(n),r=t[i],o=e[n],ot.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),a=ot.cssHooks[i],a&&"expand"in a){o=a.expand(o),delete e[i];for(n in o)n in e||(e[n]=o[n],t[n]=r)}else t[i]=r}function F(e,t,n){var i,r,o=0,a=wn.length,s=ot.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var t=mn||j(),n=Math.max(0,u.startTime+u.duration-t),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(e,[u,o,n]),1>o&&l?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:ot.extend({},t),opts:ot.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:mn||j(),duration:n.duration,tweens:[],createTween:function(t,n){var i=ot.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(i),i},stop:function(t){var n=0,i=t?u.tweens.length:0;if(r)return this;for(r=!0;i>n;n++)u.tweens[n].run(1);return t?s.resolveWith(e,[u,t]):s.rejectWith(e,[u,t]),this}}),c=u.props;for(H(c,u.opts.specialEasing);a>o;o++)if(i=wn[o].call(u,e,c,u.opts))return i;return ot.map(c,O,u),ot.isFunction(u.opts.start)&&u.opts.start.call(e,u),ot.fx.timer(ot.extend(l,{elem:e,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(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,o=t.toLowerCase().match(wt)||[];if(ot.isFunction(n))for(;i=o[r++];)"+"===i.charAt(0)?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function I(e,t,n,i){function r(s){var l;return o[s]=!0,ot.each(e[s]||[],function(e,s){var u=s(t,n,i);return"string"!=typeof u||a||o[u]?a?!(l=u):void 0:(t.dataTypes.unshift(u),r(u),!1)}),l}var o={},a=e===qn;return r(t.dataTypes[0])||!o["*"]&&r("*")}function W(e,t){var n,i,r=ot.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((r[i]?e:n||(n={}))[i]=t[i]);return n&&ot.extend(!0,e,n),e}function R(e,t,n){for(var i,r,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.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]||e.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 B(e,t,n,i){var r,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.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&&e["throws"])t=a(t);else try{t=a(t)}catch(d){return{state:"parsererror",error:a?d:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}function Y(e,t,n,i){var r;if(ot.isArray(t))ot.each(t,function(t,r){n||Xn.test(e)?i(e,r):Y(e+"["+("object"==typeof r?t:"")+"]",r,n,i)});else if(n||"object"!==ot.type(t))i(e,t);else for(r in t)Y(e+"["+r+"]",t[r],n,i)}function q(){try{return new e.XMLHttpRequest}catch(t){}}function V(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function U(e){return ot.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}var G=[],X=G.slice,Z=G.concat,Q=G.push,J=G.indexOf,K={},et=K.toString,tt=K.hasOwnProperty,nt="".trim,it={},rt="1.11.0",ot=function(e,t){return new ot.fn.init(e,t)},at=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,st=/^-ms-/,lt=/-([\da-z])/gi,ut=function(e,t){return t.toUpperCase()};ot.fn=ot.prototype={jquery:rt,constructor:ot,selector:"",length:0,toArray:function(){return X.call(this)},get:function(e){return null!=e?0>e?this[e+this.length]:this[e]:X.call(this)},pushStack:function(e){var t=ot.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return ot.each(this,e,t)},map:function(e){return this.pushStack(ot.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(X.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:Q,sort:G.sort,splice:G.splice},ot.extend=ot.fn.extend=function(){var e,t,n,i,r,o,a=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||ot.isFunction(a)||(a={}),s===l&&(a=this,s--);l>s;s++)if(null!=(r=arguments[s]))for(i in r)e=a[i],n=r[i],a!==n&&(u&&n&&(ot.isPlainObject(n)||(t=ot.isArray(n)))?(t?(t=!1,o=e&&ot.isArray(e)?e:[]):o=e&&ot.isPlainObject(e)?e:{},a[i]=ot.extend(u,o,n)):void 0!==n&&(a[i]=n));return a},ot.extend({expando:"jQuery"+(rt+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===ot.type(e)},isArray:Array.isArray||function(e){return"array"===ot.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return e-parseFloat(e)>=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==ot.type(e)||e.nodeType||ot.isWindow(e))return!1;try{if(e.constructor&&!tt.call(e,"constructor")&&!tt.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(it.ownLast)for(t in e)return tt.call(e,t);for(t in e);return void 0===t||tt.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?K[et.call(e)]||"object":typeof e},globalEval:function(t){t&&ot.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(st,"ms-").replace(lt,ut)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,i){var r,o=0,a=e.length,s=n(e);if(i){if(s)for(;a>o&&(r=t.apply(e[o],i),r!==!1);o++);else for(o in e)if(r=t.apply(e[o],i),r===!1)break}else if(s)for(;a>o&&(r=t.call(e[o],o,e[o]),r!==!1);o++);else for(o in e)if(r=t.call(e[o],o,e[o]),r===!1)break;return e},trim:nt&&!nt.call(" ")?function(e){return null==e?"":nt.call(e)}:function(e){return null==e?"":(e+"").replace(at,"")},makeArray:function(e,t){var i=t||[];return null!=e&&(n(Object(e))?ot.merge(i,"string"==typeof e?[e]:e):Q.call(i,e)),i},inArray:function(e,t,n){var i;if(t){if(J)return J.call(t,e,n);for(i=t.length,n=n?0>n?Math.max(0,i+n):n:0;i>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;n>i;)e[r++]=t[i++];if(n!==n)for(;void 0!==t[i];)e[r++]=t[i++];return e.length=r,e},grep:function(e,t,n){for(var i,r=[],o=0,a=e.length,s=!n;a>o;o++)i=!t(e[o],o),i!==s&&r.push(e[o]);return r},map:function(e,t,i){var r,o=0,a=e.length,s=n(e),l=[];if(s)for(;a>o;o++)r=t(e[o],o,i),null!=r&&l.push(r);else for(o in e)r=t(e[o],o,i),null!=r&&l.push(r);return Z.apply([],l)},guid:1,proxy:function(e,t){var n,i,r;return"string"==typeof t&&(r=e[t],t=e,e=r),ot.isFunction(e)?(n=X.call(arguments,2),i=function(){return e.apply(t||this,n.concat(X.call(arguments)))},i.guid=e.guid=e.guid||ot.guid++,i):void 0},now:function(){return+new Date},support:it}),ot.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){K["[object "+t+"]"]=t.toLowerCase()});var ct=/*! 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(e){function t(e,t,n,i){var r,o,a,s,l,u,d,h,m,g;if((t?t.ownerDocument||t:I)!==A&&P(t),t=t||A,n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=t.nodeType)&&9!==s)return[];if(N&&!i){if(r=yt.exec(e))if(a=r[1]){if(9===s){if(o=t.getElementById(a),!o||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&F(t,o)&&o.id===a)return n.push(o),n}else{if(r[2])return K.apply(n,t.getElementsByTagName(e)),n;if((a=r[3])&&T.getElementsByClassName&&t.getElementsByClassName)return K.apply(n,t.getElementsByClassName(a)),n}if(T.qsa&&(!O||!O.test(e))){if(h=d=z,m=t,g=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){for(u=f(e),(d=t.getAttribute("id"))?h=d.replace(wt,"\\$&"):t.setAttribute("id",h),h="[id='"+h+"'] ",l=u.length;l--;)u[l]=h+p(u[l]);m=bt.test(e)&&c(t.parentNode)||t,g=u.join(",")}if(g)try{return K.apply(n,m.querySelectorAll(g)),n}catch(v){}finally{d||t.removeAttribute("id")}}}return k(e.replace(lt,"$1"),t,n,i)}function n(){function e(n,i){return t.push(n+" ")>C.cacheLength&&delete e[t.shift()],e[n+" "]=i}var t=[];return e}function i(e){return e[z]=!0,e}function r(e){var t=A.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),i=e.length;i--;)C.attrHandle[n[i]]=t}function a(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||G)-(~e.sourceIndex||G);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function l(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function u(e){return i(function(t){return t=+t,i(function(n,i){for(var r,o=e([],n.length,t),a=o.length;a--;)n[r=o[a]]&&(n[r]=!(i[r]=n[r]))})})}function c(e){return e&&typeof e.getElementsByTagName!==U&&e}function d(){}function f(e,n){var i,r,o,a,s,l,u,c=Y[e+" "];if(c)return n?0:c.slice(0);for(s=e,l=[],u=C.preFilter;s;){(!i||(r=ut.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),l.push(o=[])),i=!1,(r=ct.exec(s))&&(i=r.shift(),o.push({value:i,type:r[0].replace(lt," ")}),s=s.slice(i.length));for(a in C.filter)!(r=ht[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?t.error(e):Y(e,l).slice(0)}function p(e){for(var t=0,n=e.length,i="";n>t;t++)i+=e[t].value;return i}function h(e,t,n){var i=t.dir,r=n&&"parentNode"===i,o=R++;return t.first?function(t,n,o){for(;t=t[i];)if(1===t.nodeType||r)return e(t,n,o)}:function(t,n,a){var s,l,u=[W,o];if(a){for(;t=t[i];)if((1===t.nodeType||r)&&e(t,n,a))return!0}else for(;t=t[i];)if(1===t.nodeType||r){if(l=t[z]||(t[z]={}),(s=l[i])&&s[0]===W&&s[1]===o)return u[2]=s[2];if(l[i]=u,u[2]=e(t,n,a))return!0}}}function m(e){return e.length>1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function g(e,t,n,i,r){for(var o,a=[],s=0,l=e.length,u=null!=t;l>s;s++)(o=e[s])&&(!n||n(o,i,r))&&(a.push(o),u&&t.push(s));return a}function v(e,t,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(t||"*",s.nodeType?[s]:s,[]),v=!e||!i&&t?m:g(m,f,e,s,l),y=n?o||(i?e: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||e){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?tt.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(e){for(var t,n,i,r=e.length,o=C.relative[e[0].type],a=o||C.relative[" "],s=o?1:0,l=h(function(e){return e===t},a,!0),u=h(function(e){return tt.call(t,e)>-1},a,!0),c=[function(e,n,i){return!o&&(i||n!==$)||((t=n).nodeType?l(e,n,i):u(e,n,i))}];r>s;s++)if(n=C.relative[e[s].type])c=[h(m(c),n)];else{if(n=C.filter[e[s].type].apply(null,e[s].matches),n[z]){for(i=++s;r>i&&!C.relative[e[i].type];i++);return v(s>1&&m(c),s>1&&p(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(lt,"$1"),n,i>s&&y(e.slice(s,i)),r>i&&y(e=e.slice(i)),r>i&&p(e))}c.push(n)}return m(c)}function b(e,n){var r=n.length>0,o=e.length>0,a=function(i,a,s,l,u){var c,d,f,p=0,h="0",m=i&&[],v=[],y=$,b=i||o&&C.find.TAG("*",u),w=W+=null==y?1:Math.random()||.1,k=b.length;for(u&&($=a!==A&&a);h!==k&&null!=(c=b[h]);h++){if(o&&c){for(d=0;f=e[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&&t.uniqueSort(l)}return u&&(W=w,$=y),m};return r?i(a):a}function w(e,n,i){for(var r=0,o=n.length;o>r;r++)t(e,n[r],i);return i}function k(e,t,n,i){var r,o,a,s,l,u=f(e);if(!i&&1===u.length){if(o=u[0]=u[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&T.getById&&9===t.nodeType&&N&&C.relative[o[1].type]){if(t=(C.find.ID(a.matches[0].replace(kt,xt),t)||[])[0],!t)return n;e=e.slice(o.shift().value.length)}for(r=ht.needsContext.test(e)?0:o.length;r--&&(a=o[r],!C.relative[s=a.type]);)if((l=C.find[s])&&(i=l(a.matches[0].replace(kt,xt),bt.test(o[0].type)&&c(t.parentNode)||t))){if(o.splice(r,1),e=i.length&&p(o),!e)return K.apply(n,i),n;break}}return E(e,u)(i,t,!N,n,bt.test(e)&&c(t.parentNode)||t),n}var x,T,C,S,_,E,$,D,M,P,A,j,N,O,L,H,F,z="sizzle"+-new Date,I=e.document,W=0,R=0,B=n(),Y=n(),q=n(),V=function(e,t){return e===t&&(M=!0),0},U="undefined",G=1<<31,X={}.hasOwnProperty,Z=[],Q=Z.pop,J=Z.push,K=Z.push,et=Z.slice,tt=Z.indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(this[t]===e)return t;return-1},nt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",it="[\\x20\\t\\r\\n\\f]",rt="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ot=rt.replace("w","w#"),at="\\["+it+"*("+rt+")"+it+"*(?:([*^$|!~]?=)"+it+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+ot+")|)|)"+it+"*\\]",st=":("+rt+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+at.replace(3,8)+")*)|.*)\\)|)",lt=new RegExp("^"+it+"+|((?:^|[^\\\\])(?:\\\\.)*)"+it+"+$","g"),ut=new RegExp("^"+it+"*,"+it+"*"),
vendor: 5,629 bytes, line 24
24ct=new RegExp("^"+it+"*([>+~]|"+it+")"+it+"*"),dt=new RegExp("="+it+"*([^\\]'\"]*?)"+it+"*\\]","g"),ft=new RegExp(st),pt=new RegExp("^"+ot+"$"),ht={ID:new RegExp("^#("+rt+")"),CLASS:new RegExp("^\\.("+rt+")"),TAG:new RegExp("^("+rt.replace("w","w*")+")"),ATTR:new RegExp("^"+at),PSEUDO:new RegExp("^"+st),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+it+"*(even|odd|(([+-]|)(\\d*)n|)"+it+"*(?:([+-]|)"+it+"*(\\d+)|))"+it+"*\\)|)","i"),bool:new RegExp("^(?:"+nt+")$","i"),needsContext:new RegExp("^"+it+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+it+"*((?:-\\d)?\\d*)"+it+"*\\)|)(?=[^-]|$)","i")},mt=/^(?:input|select|textarea|button)$/i,gt=/^h\d$/i,vt=/^[^{]+\{\s*\[native \w/,yt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,bt=/[+~]/,wt=/'|\\/g,kt=new RegExp("\\\\([\\da-f]{1,6}"+it+"?|("+it+")|.)","ig"),xt=function(e,t,n){var i="0x"+t-65536;return i!==i||n?t:0>i?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)};try{K.apply(Z=et.call(I.childNodes),I.childNodes),Z[I.childNodes.length].nodeType}catch(Tt){K={apply:Z.length?function(e,t){J.apply(e,et.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}T=t.support={},_=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},P=t.setDocument=function(e){var t,n=e?e.ownerDocument||e:I,i=n.defaultView;return n!==A&&9===n.nodeType&&n.documentElement?(A=n,j=n.documentElement,N=!_(n),i&&i!==i.top&&(i.addEventListener?i.addEventListener("unload",function(){P()},!1):i.attachEvent&&i.attachEvent("onunload",function(){P()})),T.attributes=r(function(e){return e.className="i",!e.getAttribute("className")}),T.getElementsByTagName=r(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),T.getElementsByClassName=vt.test(n.getElementsByClassName)&&r(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),T.getById=r(function(e){return j.appendChild(e).id=z,!n.getElementsByName||!n.getElementsByName(z).length}),T.getById?(C.find.ID=function(e,t){if(typeof t.getElementById!==U&&N){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},C.filter.ID=function(e){var t=e.replace(kt,xt);return function(e){return e.getAttribute("id")===t}}):(delete C.find.ID,C.filter.ID=function(e){var t=e.replace(kt,xt);return function(e){var n=typeof e.getAttributeNode!==U&&e.getAttributeNode("id");return n&&n.value===t}}),C.find.TAG=T.getElementsByTagName?function(e,t){return typeof t.getElementsByTagName!==U?t.getElementsByTagName(e):void 0}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},C.find.CLASS=T.getElementsByClassName&&function(e,t){return typeof t.getElementsByClassName!==U&&N?t.getElementsByClassName(e):void 0},L=[],O=[],(T.qsa=vt.test(n.querySelectorAll))&&(r(function(e){e.innerHTML="<select t=''><option selected=''></option></select>",e.querySelectorAll("[t^='']").length&&O.push("[*^$]="+it+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||O.push("\\["+it+"*(?:value|"+nt+")"),e.querySelectorAll(":checked").length||O.push(":checked")}),r(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&O.push("name"+it+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||O.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),O.push(",.*:")})),(T.matchesSelector=vt.test(H=j.webkitMatchesSelector||j.mozMatchesSelector||j.oMatchesSelector||j.msMatchesSelector))&&r(function(e){T.disconnectedMatch=H.call(e,"div"),H.call(e,"[s!='']:x"),L.push("!=",st)}),O=O.length&&new RegExp(O.join("|")),L=L.length&&new RegExp(L.join("|")),t=vt.test(j.compareDocumentPosition),F=t||vt.test(j.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},V=t?function(e,t){if(e===t)return M=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i?i:(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&i||!T.sortDetached&&t.compareDocumentPosition(e)===i?e===n||e.ownerDocument===I&&F(I,e)?-1:t===n||t.ownerDocument===I&&F(I,t)?1:D?tt.call(D,e)-tt.call(D,t):0:4&i?-1:1)}:function(e,t){if(e===t)return M=!0,0;var i,r=0,o=e.parentNode,s=t.parentNode,l=[e],u=[t];if(!o||!s)return e===n?-1:t===n?1:o?-1:s?1:D?tt.call(D,e)-tt.call(D,t):0;if(o===s)return a(e,t);for(i=e;i=i.parentNode;)l.unshift(i);for(i=t;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):A},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==A&&P(e),n=n.replace(dt,"='$1']"),!(!T.matchesSelector||!N||L&&L.test(n)||O&&O.test(n)))try{var i=H.call(e,n);if(i||T.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(r){}return t(n,A,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==A&&P(e),F(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==A&&P(e);var n=C.attrHandle[t.toLowerCase()],i=n&&X.call(C.attrHandle,t.toLowerCase())?n(e,t,!N):void 0;return void 0!==i?i:T.attributes||!N?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],i=0,r=0;
vendor: 4,430 bytes, line 24
24if(M=!T.detectDuplicates,D=!T.sortStable&&e.slice(0),e.sort(V),M){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return D=null,e},S=t.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=S(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=S(t);return n},C=t.selectors={cacheLength:50,createPseudo:i,match:ht,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(kt,xt),e[3]=(e[4]||e[5]||"").replace(kt,xt),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[5]&&e[2];return ht.CHILD.test(e[0])?null:(e[3]&&void 0!==e[4]?e[2]=e[4]:n&&ft.test(n)&&(t=f(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(kt,xt).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=B[e+" "];return t||(t=new RegExp("(^|"+it+")"+e+"("+it+"|$)"))&&B(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==U&&e.getAttribute("class")||"")})},ATTR:function(e,n,i){return function(r){var o=t.attr(r,e);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(e,t,n,i,r){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var u,c,d,f,p,h,m=o!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!l&&!s;if(g){if(o){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&y){for(c=g[z]||(g[z]={}),u=c[e]||[],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===t){c[e]=[W,p,f];break}}else if(y&&(u=(t[z]||(t[z]={}))[e])&&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]={}))[e]=[W,f]),d!==t)););return f-=r,f===i||f%i===0&&f/i>=0}}},PSEUDO:function(e,n){var r,o=C.pseudos[e]||C.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[z]?o(n):o.length>1?(r=[e,e,"",n],C.setFilters.hasOwnProperty(e.toLowerCase())?i(function(e,t){for(var i,r=o(e,n),a=r.length;a--;)i=tt.call(e,r[a]),e[i]=!(t[i]=r[a])}):function(e){return o(e,0,r)}):o}},pseudos:{not:i(function(e){var t=[],n=[],r=E(e.replace(lt,"$1"));return r[z]?i(function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:i(function(e){return function(n){return t(e,n).length>0}}),contains:i(function(e){return function(t){return(t.textContent||t.innerText||S(t)).indexOf(e)>-1}}),lang:i(function(e){return pt.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(kt,xt).toLowerCase(),function(t){var n;do if(n=N?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===j},focus:function(e){return e===A.activeElement&&(!A.hasFocus||A.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!C.pseudos.empty(e)},header:function(e){return gt.test(e.nodeName)}
vendor: 7,148 bytes, line 24
24,input:function(e){return mt.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:u(function(){return[0]}),last:u(function(e,t){return[t-1]}),eq:u(function(e,t,n){return[0>n?n+t:n]}),even:u(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:u(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:u(function(e,t,n){for(var i=0>n?n+t:n;--i>=0;)e.push(i);return e}),gt:u(function(e,t,n){for(var i=0>n?n+t:n;++i<t;)e.push(i);return e})}},C.pseudos.nth=C.pseudos.eq;for(x in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})C.pseudos[x]=s(x);for(x in{submit:!0,reset:!0})C.pseudos[x]=l(x);return d.prototype=C.filters=C.pseudos,C.setFilters=new d,E=t.compile=function(e,t){var n,i=[],r=[],o=q[e+" "];if(!o){for(t||(t=f(e)),n=t.length;n--;)o=y(t[n]),o[z]?i.push(o):r.push(o);o=q(e,b(r,i))}return o},T.sortStable=z.split("").sort(V).join("")===z,T.detectDuplicates=!!M,P(),T.sortDetached=r(function(e){return 1&e.compareDocumentPosition(A.createElement("div"))}),r(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),T.attributes&&r(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),r(function(e){return null==e.getAttribute("disabled")})||o(nt,function(e,t,n){var i;return n?void 0:e[t]===!0?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),t}(e);ot.find=ct,ot.expr=ct.selectors,ot.expr[":"]=ot.expr.pseudos,ot.unique=ct.uniqueSort,ot.text=ct.getText,ot.isXMLDoc=ct.isXML,ot.contains=ct.contains;var dt=ot.expr.match.needsContext,ft=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,pt=/^.[^:#\[\.,]*$/;ot.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?ot.find.matchesSelector(i,e)?[i]:[]:ot.find.matches(e,ot.grep(t,function(e){return 1===e.nodeType}))},ot.fn.extend({find:function(e){var t,n=[],i=this,r=i.length;if("string"!=typeof e)return this.pushStack(ot(e).filter(function(){for(t=0;r>t;t++)if(ot.contains(i[t],this))return!0}));for(t=0;r>t;t++)ot.find(e,i[t],n);return n=this.pushStack(r>1?ot.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(i(this,e||[],!1))},not:function(e){return this.pushStack(i(this,e||[],!0))},is:function(e){return!!i(this,"string"==typeof e&&dt.test(e)?ot(e):e||[],!1).length}});var ht,mt=e.document,gt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,vt=ot.fn.init=function(e,t){var n,i;if(!e)return this;if("string"==typeof e){if(n="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:gt.exec(e),!n||!n[1]&&t)return!t||t.jquery?(t||ht).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof ot?t[0]:t,ot.merge(this,ot.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:mt,!0)),ft.test(n[1])&&ot.isPlainObject(t))for(n in t)ot.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}if(i=mt.getElementById(n[2]),i&&i.parentNode){if(i.id!==n[2])return ht.find(e);this.length=1,this[0]=i}return this.context=mt,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):ot.isFunction(e)?"undefined"!=typeof ht.ready?ht.ready(e):e(ot):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),ot.makeArray(e,this))};vt.prototype=ot.fn,ht=ot(mt);var yt=/^(?:parents|prev(?:Until|All))/,bt={children:!0,contents:!0,next:!0,prev:!0};ot.extend({dir:function(e,t,n){for(var i=[],r=e[t];r&&9!==r.nodeType&&(void 0===n||1!==r.nodeType||!ot(r).is(n));)1===r.nodeType&&i.push(r),r=r[t];return i},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),ot.fn.extend({has:function(e){var t,n=ot(e,this),i=n.length;return this.filter(function(){for(t=0;i>t;t++)if(ot.contains(this,n[t]))return!0})},closest:function(e,t){for(var n,i=0,r=this.length,o=[],a=dt.test(e)||"string"!=typeof e?ot(e,t||this.context):0;r>i;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&ot.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?ot.unique(o):o)},index:function(e){return e?"string"==typeof e?ot.inArray(this[0],ot(e)):ot.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ot.unique(ot.merge(this.get(),ot(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ot.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return ot.dir(e,"parentNode")},parentsUntil:function(e,t,n){return ot.dir(e,"parentNode",n)},next:function(e){return r(e,"nextSibling")},prev:function(e){return r(e,"previousSibling")},nextAll:function(e){return ot.dir(e,"nextSibling")},prevAll:function(e){return ot.dir(e,"previousSibling")},nextUntil:function(e,t,n){return ot.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return ot.dir(e,"previousSibling",n)},siblings:function(e){return ot.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return ot.sibling(e.firstChild)},contents:function(e){return ot.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:ot.merge([],e.childNodes)}},function(e,t){ot.fn[e]=function(n,i){var r=ot.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=ot.filter(i,r)),this.length>1&&(bt[e]||(r=ot.unique(r)),yt.test(e)&&(r=r.reverse())),this.pushStack(r)}});var wt=/\S+/g,kt={};ot.Callbacks=function(e){e="string"==typeof e?kt[e]||o(e):ot.extend({},e);var t,n,i,r,a,s,l=[],u=!e.once&&[],c=function(o){for(n=e.memory&&o,i=!0,a=s||0,s=0,r=l.length,t=!0;l&&r>a;a++)if(l[a].apply(o[0],o[1])===!1&&e.stopOnFalse){n=!1;break}t=!1,l&&(u?u.length&&c(u.shift()):n?l=[]:d.disable())},d={add:function(){if(l){var i=l.length;!function o(t){ot.each(t,function(t,n){var i=ot.type(n);"function"===i?e.unique&&d.has(n)||l.push(n):n&&n.length&&"string"!==i&&o(n)})}(arguments),t?r=l.length:n&&(s=i,c(n))}return this},remove:function(){return l&&ot.each(arguments,function(e,n){for(var i;(i=ot.inArray(n,l,i))>-1;)l.splice(i,1),t&&(r>=i&&r--,a>=i&&a--)}),this},has:function(e){return e?ot.inArray(e,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(e,n){return!l||i&&!u||(n=n||[],n=[e,n.slice?n.slice():n],t?u.push(n):c(n)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!i}};return d},ot.extend({Deferred:function(e){var t=[["resolve","done",ot.Callbacks("once memory"),"resolved"],["reject","fail",ot.Callbacks("once memory"),"rejected"],["notify","progress",ot.Callbacks("memory")]],n="pe
24nding",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var e=arguments;return ot.Deferred(function(n){ot.each(t,function(t,o){var a=ot.isFunction(e[t])&&e[t];r[o[1]](function(){var e=a&&a.apply(this,arguments);e&&ot.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o[0]+"With"](this===i?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?ot.extend(e,i):i}},r={};return i.pipe=i.then,ot.each(t,function(e,o){var a=o[2],s=o[3];i[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[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),e&&e.call(r,r),r},when:function(e){var t,n,i,r=0,o=X.call(arguments),a=o.length,s=1!==a||e&&ot.isFunction(e.promise)?a:0,l=1===s?e:ot.Deferred(),u=function(e,n,i){return function(r){n[e]=this,i[e]=arguments.length>1?X.call(arguments):r,i===t?l.notifyWith(n,i):--s||l.resolveWith(n,i)}};if(a>1)for(t=new Array(a),n=new Array(a),i=new Array(a);a>r;r++)o[r]&&ot.isFunction(o[r].promise)?o[r].promise().done(u(r,i,o)).fail(l.reject).progress(u(r,n,t)):--s;return s||l.resolveWith(i,o),l.promise()}});var xt;ot.fn.ready=function(e){return ot.ready.promise().done(e),this},ot.extend({isReady:!1,readyWait:1,holdReady:function(e){e?ot.readyWait++:ot.ready(!0)},ready:function(e){if(e===!0?!--ot.readyWait:!ot.isReady){if(!mt.body)return setTimeout(ot.ready);ot.isReady=!0,e!==!0&&--ot.readyWait>0||(xt.resolveWith(mt,[ot]),ot.fn.trigger&&ot(mt).trigger("ready").off("ready"))}}}),ot.ready.promise=function(t){if(!xt)if(xt=ot.Deferred(),"complete"===mt.readyState)setTimeout(ot.ready);else if(mt.addEventListener)mt.addEventListener("DOMContentLoaded",s,!1),e.addEventListener("load",s,!1);else{mt.attachEvent("onreadystatechange",s),e.attachEvent("onload",s);var n=!1;try{n=null==e.frameElement&&mt.documentElement}catch(i){}n&&n.doScroll&&!function r(){if(!ot.isReady){try{n.doScroll("left")}catch(e){return setTimeout(r,50)}a(),ot.ready()}}()}return xt.promise(t)};var Tt,Ct="undefined";for(Tt in ot(it))break;it.ownLast="0"!==Tt,it.inlineBlockNeedsLayout=!1,ot(function(){var e,t,n=mt.getElementsByTagName("body")[0];n&&(e=mt.createElement("div"),e.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",t=mt.createElement("div"),n.appendChild(e).appendChild(t),typeof t.style.zoom!==Ct&&(t.style.cssText="border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1",(it.inlineBlockNeedsLayout=3===t.offsetWidth)&&(n.style.zoom=1)),n.removeChild(e),e=t=null)}),function(){var e=mt.createElement("div");if(null==it.deleteExpando){it.deleteExpando=!0;try{delete e.test}catch(t){it.deleteExpando=!1}}e=null}(),ot.acceptData=function(e){var t=ot.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return 1!==n&&9!==n?!1:!t||t!==!0&&e.getAttribute("classid")===t};var St=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,_t=/([A-Z])/g;ot.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?ot.cache[e[ot.expando]]:e[ot.expando],!!e&&!u(e)},data:function(e,t,n){return c(e,t,n)},removeData:function(e,t){return d(e,t)},_data:function(e,t,n){return c(e,t,n,!0)},_removeData:function(e,t){return d(e,t,!0)}}),ot.fn.extend({data:function(e,t){var n,i,r,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(r=ot.data(o),1===o.nodeType&&!ot._data(o,"parsedAttrs"))){for(n=a.length;n--;)i=a[n].name,0===i.indexOf("data-")&&(i=ot.camelCase(i.slice(5)),l(o,i,r[i]));ot._data(o,"parsedAttrs",!0)}return r}return"object"==typeof e?this.each(function(){ot.data(this,e)}):arguments.length>1?this.each(function(){ot.data(this,e,t)}):o?l(o,e,ot.data(o,e)):void 0},removeData:function(e){return this.each(function(){ot.removeData(this,e)})}}),ot.extend({queue:function(e,t,n){var i;return e?(t=(t||"fx")+"queue",i=ot._data(e,t),n&&(!i||ot.isArray(n)?i=ot._data(e,t,ot.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=ot.queue(e,t),i=n.length,r=n.shift(),o=ot._queueHooks(e,t),a=function(){ot.dequeue(e,t)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,a,o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return ot._data(e,n)||ot._data(e,n,{empty:ot.Callbacks("once memory").add(function(){ot._removeData(e,t+"queue"),ot._removeData(e,n)})})}}),ot.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?ot.queue(this[0],e):void 0===t?this:this.each(function(){var n=ot.queue(this,e,t);ot._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&ot.dequeue(this,e)})},dequeue:function(e){return this.each(function(){ot.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=ot.Deferred(),o=this,a=this.length,s=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)n=ot._data(o[a],e+"queueHooks"),n&&n.empty&&(i++,n.empty.add(s));return s(),r.promise(t)}});var Et=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,$t=["Top","Right","Bottom","Left"],Dt=function(e,t){return e=t||e,"none"===ot.css(e,"display")||!ot.contains(e.ownerDocument,e)},Mt=ot.access=function(e,t,n,i,r,o,a){var s=0,l=e.length,u=null==n;
vendor: 4,416 bytes, lines 24-25
24if("object"===ot.type(n)){r=!0;for(s in n)ot.access(e,t,s,n[s],!0,o,a)}else if(void 0!==i&&(r=!0,ot.isFunction(i)||(a=!0),u&&(a?(t.call(e,i),t=null):(u=t,t=function(e,t,n){return u.call(ot(e),n)})),t))for(;l>s;s++)t(e[s],n,a?i:i.call(e[s],s,t(e[s],n)));return r?e:u?t.call(e):l?t(e[0],n):o},Pt=/^(?:checkbox|radio)$/i;!function(){var e=mt.createDocumentFragment(),t=mt.createElement("div"),n=mt.createElement("input");if(t.setAttribute("className","t"),t.innerHTML=" <link/><table></table><a href='/a'>a</a>",it.leadingWhitespace=3===t.firstChild.nodeType,it.tbody=!t.getElementsByTagName("tbody").length,it.htmlSerialize=!!t.getElementsByTagName("link").length,it.html5Clone="<:nav></:nav>"!==mt.createElement("nav").cloneNode(!0).outerHTML,n.type="checkbox",n.checked=!0,e.appendChild(n),it.appendChecked=n.checked,t.innerHTML="<textarea>x</textarea>",it.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,e.appendChild(t),t.innerHTML="<input type='radio' checked='checked' name='t'/>",it.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,it.noCloneEvent=!0,t.attachEvent&&(t.attachEvent("onclick",function(){it.noCloneEvent=!1}),t.cloneNode(!0).click()),null==it.deleteExpando){it.deleteExpando=!0;try{delete t.test}catch(i){it.deleteExpando=!1}}e=t=n=null}(),function(){var t,n,i=mt.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})n="on"+t,(it[t+"Bubbles"]=n in e)||(i.setAttribute(n,"t"),it[t+"Bubbles"]=i.attributes[n].expando===!1);i=null}();var At=/^(?:input|select|textarea)$/i,jt=/^key/,Nt=/^(?:mouse|contextmenu)|click/,Ot=/^(?:focusinfocus|focusoutblur)$/,Lt=/^([^.]*)(?:\.(.+)|)$/;ot.event={global:{},add:function(e,t,n,i,r){var o,a,s,l,u,c,d,f,p,h,m,g=ot._data(e);if(g){for(n.handler&&(l=n,n=l.handler,r=l.selector),n.guid||(n.guid=ot.guid++),(a=g.events)||(a=g.events={}),(c=g.handle)||(c=g.handle=function(e){return typeof ot===Ct||e&&ot.event.triggered===e.type?void 0:ot.event.dispatch.apply(c.elem,arguments)},c.elem=e),t=(t||"").match(wt)||[""],s=t.length;s--;)o=Lt.exec(t[s])||[],p=m=o[1],h=(o[2]||"").split(".").sort(),p&&(u=ot.event.special[p]||{},p=(r?u.delegateType:u.bindType)||p,u=ot.event.special[p]||{},d=ot.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&ot.expr.match.needsContext.test(r),namespace:h.join(".")},l),(f=a[p])||(f=a[p]=[],f.delegateCount=0,u.setup&&u.setup.call(e,i,h,c)!==!1||(e.addEventListener?e.addEventListener(p,c,!1):e.attachEvent&&e.attachEvent("on"+p,c))),u.add&&(u.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),r?f.splice(f.delegateCount++,0,d):f.push(d),ot.event.global[p]=!0);e=null}},remove:function(e,t,n,i,r){var o,a,s,l,u,c,d,f,p,h,m,g=ot.hasData(e)&&ot._data(e);if(g&&(c=g.events)){for(t=(t||"").match(wt)||[""],u=t.length;u--;)if(s=Lt.exec(t[u])||[],p=m=s[1],h=(s[2]||"").split(".").sort(),p){for(d=ot.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(e,a));l&&!f.length&&(d.teardown&&d.teardown.call(e,h,g.handle)!==!1||ot.removeEvent(e,p,g.handle),delete c[p])}else for(p in c)ot.event.remove(e,p+t[u],n,i,!0);ot.isEmptyObject(c)&&(delete g.handle,ot._removeData(e,"events"))}},trigger:function(t,n,i,r){var o,a,s,l,u,c,d,f=[i||mt],p=tt.call(t,"type")?t.type:t,h=tt.call(t,"namespace")?t.namespace.split("."):[];if(s=c=i=i||mt,3!==i.nodeType&&8!==i.nodeType&&!Ot.test(p+ot.event.triggered)&&(p.indexOf(".")>=0&&(h=p.split("."),p=h.shift(),h.sort()),a=p.indexOf(":")<0&&"on"+p,t=t[ot.expando]?t:new ot.Event(p,"object"==typeof t&&t),t.isTrigger=r?2:3,t.namespace=h.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:ot.makeArray(n,[t]),u=ot.event.special[p]||{},r||!u.trigger||u.trigger.apply(i,n)!==!1)){if(!r&&!u.noBubble&&!ot.isWindow(i)){for(l=u.delegateType||p,Ot.test(l+p)||(s=s.parentNode);s;s=s.parentNode)f.push(s),c=s; 25c===(i.ownerDocument||mt)&&f.push(c.defaultView||c.parentWindow||e)}for(d=0;(s=f[d++])&&!t.isPropagationStopped();)t.type=d>1?l:u.bindType||p,o=(ot._data(s,"events")||{})[t.type]&&ot._data(s,"handle"),o&&o.apply(s,n),o=a&&s[a],o&&o.apply&&ot.acceptData(s)&&(t.result=
vendor: 4,528 bytes, line 25
25o.apply(s,n),t.result===!1&&t.preventDefault());if(t.type=p,!r&&!t.isDefaultPrevented()&&(!u._default||u._default.apply(f.pop(),n)===!1)&&ot.acceptData(i)&&a&&i[p]&&!ot.isWindow(i)){c=i[a],c&&(i[a]=null),ot.event.triggered=p;try{i[p]()}catch(m){}ot.event.triggered=void 0,c&&(i[a]=c)}return t.result}},dispatch:function(e){e=ot.event.fix(e);var t,n,i,r,o,a=[],s=X.call(arguments),l=(ot._data(this,"events")||{})[e.type]||[],u=ot.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,e)!==!1){for(a=ot.event.handlers.call(this,e,l),t=0;(r=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=r.elem,o=0;(i=r.handlers[o++])&&!e.isImmediatePropagationStopped();)(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,n=((ot.event.special[i.origType]||{}).handle||i.handler).apply(r.elem,s),void 0!==n&&(e.result=n)===!1&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,i,r,o,a=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(l.disabled!==!0||"click"!==e.type)){for(r=[],o=0;s>o;o++)i=t[o],n=i.selector+" ",void 0===r[n]&&(r[n]=i.needsContext?ot(n,this).index(l)>=0:ot.find(n,this,null,[l]).length),r[n]&&r.push(i);r.length&&a.push({elem:l,handlers:r})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},fix:function(e){if(e[ot.expando])return e;var t,n,i,r=e.type,o=e,a=this.fixHooks[r];for(a||(this.fixHooks[r]=a=Nt.test(r)?this.mouseHooks:jt.test(r)?this.keyHooks:{}),i=a.props?this.props.concat(a.props):this.props,e=new ot.Event(o),t=i.length;t--;)n=i[t],e[n]=o[n];return e.target||(e.target=o.srcElement||mt),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,o):e},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(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,i,r,o=t.button,a=t.fromElement;return null==e.pageX&&null!=t.clientX&&(i=e.target.ownerDocument||mt,r=i.documentElement,n=i.body,e.pageX=t.clientX+(r&&r.scrollLeft||n&&n.scrollLeft||0)-(r&&r.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||n&&n.scrollTop||0)-(r&&r.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?t.toElement:a),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==h()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===h()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return ot.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(e){return ot.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,i){var r=ot.extend(new ot.Event,n,{type:e,isSimulated:!0,originalEvent:{}});i?ot.event.trigger(r,null,t):ot.event.dispatch.call(t,r),r.isDefaultPrevented()&&n.preventDefault()}},ot.removeEvent=mt.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var i="on"+t;e.detachEvent&&(typeof e[i]===Ct&&(e[i]=null),e.detachEvent(i,n))},ot.Event=function(e,t){return this instanceof ot.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&(e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault())?f:p):this.type=e,t&&ot.extend(this,t),this.timeStamp=e&&e.timeStamp||ot.now(),this[ot.expando]=!0,void 0):new ot.Event(e,t)},ot.Event.prototype={isDefaultPrevented:p,isPropagationStopped:p,isImmediatePropagationStopped:p,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=f,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=f,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=f,this.stopPropagation()}}
vendor: 4,341 bytes, line 25
25,ot.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){ot.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,r=e.relatedTarget,o=e.handleObj;return(!r||r!==i&&!ot.contains(i,r))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),it.submitBubbles||(ot.event.special.submit={setup:function(){return ot.nodeName(this,"form")?!1:(ot.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=ot.nodeName(t,"input")||ot.nodeName(t,"button")?t.form:void 0;n&&!ot._data(n,"submitBubbles")&&(ot.event.add(n,"submit._submit",function(e){e._submit_bubble=!0}),ot._data(n,"submitBubbles",!0))}),void 0)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&ot.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return ot.nodeName(this,"form")?!1:(ot.event.remove(this,"._submit"),void 0)}}),it.changeBubbles||(ot.event.special.change={setup:function(){return At.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(ot.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),ot.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),ot.event.simulate("change",this,e,!0)})),!1):(ot.event.add(this,"beforeactivate._change",function(e){var t=e.target;At.test(t.nodeName)&&!ot._data(t,"changeBubbles")&&(ot.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||ot.event.simulate("change",this.parentNode,e,!0)}),ot._data(t,"changeBubbles",!0))}),void 0)},handle:function(e){var t=e.target;return this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type?e.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return ot.event.remove(this,"._change"),!At.test(this.nodeName)}}),it.focusinBubbles||ot.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){ot.event.simulate(t,e.target,ot.event.fix(e),!0)};ot.event.special[t]={setup:function(){var i=this.ownerDocument||this,r=ot._data(i,t);r||i.addEventListener(e,n,!0),ot._data(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=ot._data(i,t)-1;r?ot._data(i,t,r):(i.removeEventListener(e,n,!0),ot._removeData(i,t))}}}),ot.fn.extend({on:function(e,t,n,i,r){var o,a;if("object"==typeof e){"string"!=typeof t&&(n=n||t,t=void 0);for(o in e)this.on(o,t,n,e[o],r);return this}if(null==n&&null==i?(i=t,n=t=void 0):null==i&&("string"==typeof t?(i=n,n=void 0):(i=n,n=t,t=void 0)),i===!1)i=p;else if(!i)return this;return 1===r&&(a=i,i=function(e){return ot().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=ot.guid++)),this.each(function(){ot.event.add(this,e,i,n,t)})},one:function(e,t,n,i){return this.on(e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,ot(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return(t===!1||"function"==typeof t)&&(n=t,t=void 0),n===!1&&(n=p),this.each(function(){ot.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){ot.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?ot.event.trigger(e,t,n,!0):void 0}});var Ht="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Ft=/ jQuery\d+="(?:null|\d+)"/g,zt=new RegExp("<(?:"+Ht+")[\\s/>]","i"),It=/^\s+/,Wt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Rt=/<([\w:]+)/,Bt=/<tbody/i,Yt=/<|&#?\w+;/,qt=/<(?:script|style|link)/i,Vt=/checked\s*(?:[^=]|=\s*.checked.)/i,Ut=/^$|\/(?:java|ecma)script/i,Gt=/^true\/(.*)/,Xt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Zt={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:it.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},Qt=m(mt),Jt=Qt.appendChild(mt.createElement("div"));
vendor: 19,082 bytes, line 25
25Zt.optgroup=Zt.option,Zt.tbody=Zt.tfoot=Zt.colgroup=Zt.caption=Zt.thead,Zt.th=Zt.td,ot.extend({clone:function(e,t,n){var i,r,o,a,s,l=ot.contains(e.ownerDocument,e);if(it.html5Clone||ot.isXMLDoc(e)||!zt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Jt.innerHTML=e.outerHTML,Jt.removeChild(o=Jt.firstChild)),!(it.noCloneEvent&&it.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ot.isXMLDoc(e)))for(i=g(o),s=g(e),a=0;null!=(r=s[a]);++a)i[a]&&T(r,i[a]);if(t)if(n)for(s=s||g(e),i=i||g(o),a=0;null!=(r=s[a]);a++)x(r,i[a]);else x(e,o);return i=g(o,"script"),i.length>0&&k(i,!l&&g(e,"script")),i=s=r=null,o},buildFragment:function(e,t,n,i){for(var r,o,a,s,l,u,c,d=e.length,f=m(t),p=[],h=0;d>h;h++)if(o=e[h],o||0===o)if("object"===ot.type(o))ot.merge(p,o.nodeType?[o]:o);else if(Yt.test(o)){for(s=s||f.appendChild(t.createElement("div")),l=(Rt.exec(o)||["",""])[1].toLowerCase(),c=Zt[l]||Zt._default,s.innerHTML=c[1]+o.replace(Wt,"<$1></$2>")+c[2],r=c[0];r--;)s=s.lastChild;if(!it.leadingWhitespace&&It.test(o)&&p.push(t.createTextNode(It.exec(o)[0])),!it.tbody)for(o="table"!==l||Bt.test(o)?"<table>"!==c[1]||Bt.test(o)?0:s:s.firstChild,r=o&&o.childNodes.length;r--;)ot.nodeName(u=o.childNodes[r],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(ot.merge(p,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=f.lastChild}else p.push(t.createTextNode(o));for(s&&f.removeChild(s),it.appendChecked||ot.grep(g(p,"input"),v),h=0;o=p[h++];)if((!i||-1===ot.inArray(o,i))&&(a=ot.contains(o.ownerDocument,o),s=g(f.appendChild(o),"script"),a&&k(s),n))for(r=0;o=s[r++];)Ut.test(o.type||"")&&n.push(o);return s=null,f},cleanData:function(e,t){for(var n,i,r,o,a=0,s=ot.expando,l=ot.cache,u=it.deleteExpando,c=ot.event.special;null!=(n=e[a]);a++)if((t||ot.acceptData(n))&&(r=n[s],o=r&&l[r])){if(o.events)for(i in o.events)c[i]?ot.event.remove(n,i):ot.removeEvent(n,i,o.handle);l[r]&&(delete l[r],u?delete n[s]:typeof n.removeAttribute!==Ct?n.removeAttribute(s):n[s]=null,G.push(r))}}}),ot.fn.extend({text:function(e){return Mt(this,function(e){return void 0===e?ot.text(this):this.empty().append((this[0]&&this[0].ownerDocument||mt).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=y(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=y(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,i=e?ot.filter(e,this):this,r=0;null!=(n=i[r]);r++)t||1!==n.nodeType||ot.cleanData(g(n)),n.parentNode&&(t&&ot.contains(n.ownerDocument,n)&&k(g(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&ot.cleanData(g(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&ot.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return ot.clone(this,e,t)})},html:function(e){return Mt(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(Ft,""):void 0;if(!("string"!=typeof e||qt.test(e)||!it.htmlSerialize&&zt.test(e)||!it.leadingWhitespace&&It.test(e)||Zt[(Rt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(Wt,"<$1></$2>");try{for(;i>n;n++)t=this[n]||{},1===t.nodeType&&(ot.cleanData(g(t,!1)),t.innerHTML=e);t=0}catch(r){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=arguments[0];return this.domManip(arguments,function(t){e=this.parentNode,ot.cleanData(g(this)),e&&e.replaceChild(t,this)}),e&&(e.length||e.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t){e=Z.apply([],e);var n,i,r,o,a,s,l=0,u=this.length,c=this,d=u-1,f=e[0],p=ot.isFunction(f);if(p||u>1&&"string"==typeof f&&!it.checkClone&&Vt.test(f))return this.each(function(n){var i=c.eq(n);p&&(e[0]=f.call(this,n,i.html())),i.domManip(e,t)});if(u&&(s=ot.buildFragment(e,this[0].ownerDocument,!1,this),n=s.firstChild,1===s.childNodes.length&&(s=n),n)){for(o=ot.map(g(s,"script"),b),r=o.length;u>l;l++)i=s,l!==d&&(i=ot.clone(i,!0,!0),r&&ot.merge(o,g(i,"script"))),t.call(this[l],i,l);if(r)for(a=o[o.length-1].ownerDocument,ot.map(o,w),l=0;r>l;l++)i=o[l],Ut.test(i.type||"")&&!ot._data(i,"globalEval")&&ot.contains(a,i)&&(i.src?ot._evalUrl&&ot._evalUrl(i.src):ot.globalEval((i.text||i.textContent||i.innerHTML||"").replace(Xt,"")));s=n=null}return this}}),ot.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){ot.fn[e]=function(e){for(var n,i=0,r=[],o=ot(e),a=o.length-1;a>=i;i++)n=i===a?this:this.clone(!0),ot(o[i])[t](n),Q.apply(r,n.get());return this.pushStack(r)}});var Kt,en={};!function(){var e,t,n=mt.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'/>",e=n.getElementsByTagName("a")[0],e.style.cssText="float:left;opacity:.5",it.opacity=/^0.5/.test(e.style.opacity),it.cssFloat=!!e.style.cssFloat,n.style.backgroundClip="content-box",n.cloneNode(!0).style.backgroundClip="",it.clearCloneStyle="content-box"===n.style.backgroundClip,e=n=null,it.shrinkWrapBlocks=function(){var e,n,r,o;if(null==t){if(e=mt.getElementsByTagName("body")[0],!e)return;o="border:0;width:0;height:0;position:absolute;top:0;left:-9999px",n=mt.createElement("div"),r=mt.createElement("div"),e.appendChild(n).appendChild(r),t=!1,typeof r.style.zoom!==Ct&&(r.style.cssText=i+";width:1px;padding:1px;zoom:1",r.innerHTML="<div></div>",r.firstChild.style.width="5px",t=3!==r.offsetWidth),e.removeChild(n),e=n=r=null}return t}}();var tn,nn,rn=/^margin/,on=new RegExp("^("+Et+")(?!px)[a-z%]+$","i"),an=/^(top|right|bottom|left)$/;e.getComputedStyle?(tn=function(e){return e.ownerDocument.defaultView.getComputedStyle(e,null)},nn=function(e,t,n){var i,r,o,a,s=e.style;return n=n||tn(e),a=n?n.getPropertyValue(t)||n[t]:void 0,n&&(""!==a||ot.contains(e.ownerDocument,e)||(a=ot.style(e,t)),on.test(a)&&rn.test(t)&&(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+""}):mt.documentElement.currentStyle&&(tn=function(e){return e.currentStyle},nn=function(e,t,n){var i,r,o,a,s=e.style;return n=n||tn(e),a=n?n[t]:void 0,null==a&&s&&s[t]&&(a=s[t]),on.test(a)&&!an.test(t)&&(i=s.left,r=e.runtimeStyle,o=r&&r.left,o&&(r.left=e.currentStyle.left),s.left="fontSize"===t?"1em":a,a=s.pixelLeft+"px",s.left=i,o&&(r.left=o)),void 0===a?a:a+""||"auto"}),function(){function t(){var t,n,i=mt.getElementsByTagName("body")[0];i&&(t=mt.createElement("div"),n=mt.createElement("div"),t.style.cssText=u,i.appendChild(t).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%",ot.swap(i,null!=i.style.zoom?{zoom:1}:{},function(){r=4===n.offsetWidth}),o=!0,a=!1,s=!0,e.getComputedStyle&&(a="1%"!==(e.getComputedStyle(n,null)||{}).top,o="4px"===(e.getComputedStyle(n,null)||{width:"4px"}).width),i.removeChild(t),n=i=null)}var n,i,r,o,a,s,l=mt.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",it.opacity=/^0.5/.test(n.style.opacity),it.cssFloat=!!n.style.cssFloat,l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",it.clearCloneStyle="content-box"===l.style.backgroundClip,n=l=null,ot.extend(it,{reliableHiddenOffsets:function(){if(null!=i)return i;var e,t,n,r=mt.createElement("div"),o=mt.getElementsByTagName("body")[0];if(o)return r.setAttribute("className","t"),r.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=mt.createElement("div"),e.style.cssText=u,o.appendChild(e).appendChild(r),r.innerHTML="<table><tr><td></td><td>t</td></tr></table>",t=r.getElementsByTagName("td"),t[0].style.cssText="padding:0;margin:0;border:0;display:none",n=0===t[0].offsetHeight,t[0].style.display="",t[1].style.display="none",i=n&&0===t[0].offsetHeight,o.removeChild(e),r=o=null,i},boxSizing:function(){return null==r&&t(),r},boxSizingReliable:function(){return null==o&&t(),o},pixelPosition:function(){return null==a&&t(),a},reliableMarginRight:function(){var t,n,i,r;if(null==s&&e.getComputedStyle){if(t=mt.getElementsByTagName("body")[0],!t)return;n=mt.createElement("div"),i=mt.createElement("div"),n.style.cssText=u,t.appendChild(n).appendChild(i),r=i.appendChild(mt.createElement("div")),r.style.cssText=i.style.cssText=c,r.style.marginRight=r.style.width="0",i.style.width="1px",s=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight),t.removeChild(n)}return s}})}(),ot.swap=function(e,t,n,i){var r,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];r=n.apply(e,i||[]);for(o in t)e.style[o]=a[o];return r};var sn=/alpha\([^)]*\)/i,ln=/opacity\s*=\s*([^)]*)/,un=/^(none|table(?!-c[ea]).+)/,cn=new RegExp("^("+Et+")(.*)$","i"),dn=new RegExp("^([+-])=("+Et+")","i"),fn={position:"absolute",visibility:"hidden",display:"block"},pn={letterSpacing:0,fontWeight:400},hn=["Webkit","O","Moz","ms"];ot.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=nn(e,"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":it.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,a,s=ot.camelCase(t),l=e.style;if(t=ot.cssProps[s]||(ot.cssProps[s]=E(l,s)),a=ot.cssHooks[t]||ot.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(r=a.get(e,!1,i))?r:l[t];if(o=typeof n,"string"===o&&(r=dn.exec(n))&&(n=(r[1]+1)*r[2]+parseFloat(ot.css(e,t)),o="number"),null!=n&&n===n&&("number"!==o||ot.cssNumber[s]||(n+="px"),it.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(e,n,i)))))try{l[t]="",l[t]=n}catch(u){}}},css:function(e,t,n,i){var r,o,a,s=ot.camelCase(t);return t=ot.cssProps[s]||(ot.cssProps[s]=E(e.style,s)),a=ot.cssHooks[t]||ot.cssHooks[s],a&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=nn(e,t,i)),"normal"===o&&t in pn&&(o=pn[t]),""===n||n?(r=parseFloat(o),n===!0||ot.isNumeric(r)?r||0:o):o}}),ot.each(["height","width"],function(e,t){ot.cssHooks[t]={get:function(e,n,i){return n?0===e.offsetWidth&&un.test(ot.css(e,"display"))?ot.swap(e,fn,function(){return P(e,t,i)}):P(e,t,i):void 0},set:function(e,n,i){var r=i&&tn(e);return D(e,n,i?M(e,t,i,it.boxSizing()&&"border-box"===ot.css(e,"boxSizing",!1,r),r):0)}}}),it.opacity||(ot.cssHooks.opacity={get:function(e,t){return ln.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,i=e.currentStyle,r=ot.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=i&&i.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===ot.trim(o.replace(sn,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||i&&!i.filter)||(n.filter=sn.test(o)?o.replace(sn,r):o+" "+r)}}),ot.cssHooks.marginRight=_(it.reliableMarginRight,function(e,t){return t?ot.swap(e,{display:"inline-block"},nn,[e,"marginRight"]):void 0}),ot.each({margin:"",padding:"",border:"Width"},function(e,t){ot.cssHooks[e+t]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];4>i;i++)r[e+$t[i]+t]=o[i]||o[i-2]||o[0];return r}},rn.test(e)||(ot.cssHooks[e+t].set=D)}),ot.fn.extend({css:function(e,t){return Mt(this,function(e,t,n){var i,r,o={},a=0;if(ot.isArray(t)){for(i=tn(e),r=t.length;r>a;a++)o[t[a]]=ot.css(e,t[a],!1,i);return o}return void 0!==n?ot.style(e,t,n):ot.css(e,t)},e,t,arguments.length>1)},show:function(){return $(this,!0)},hide:function(){return $(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Dt(this)?ot(this).show():ot(this).hide()})}}),ot.Tween=A,A.prototype={constructor:A,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||"swing",this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(ot.cssNumber[n]?"":"px")},cur:function(){var e=A.propHooks[this.prop];return e&&e.get?e.get(this):A.propHooks._default.get(this)},run:function(e){var t,n=A.propHooks[this.prop];return this.pos=t=this.options.duration?ot.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):A.propHooks._default.set(this),this}},A.prototype.init.prototype=A.prototype,A.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=ot.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){ot.fx.step[e.prop]?ot.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[ot.cssProps[e.prop]]||ot.cssHooks[e.prop])?ot.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},A.propHooks.scrollTop=A.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ot.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},ot.fx=A.prototype.init,ot.fx.step={};var mn,gn,vn=/^(?:toggle|show|hide)$/,yn=new RegExp("^(?:([+-])=|)("+Et+")([a-z%]*)$","i"),bn=/queueHooks$/,wn=[L],kn={"*":[function(e,t){var n=this.createTween(e,t),i=n.cur(),r=yn.exec(t),o=r&&r[3]||(ot.cssNumber[e]?"":"px"),a=(ot.cssNumber[e]||"px"!==o&&+i)&&yn.exec(ot.css(n.elem,e)),s=1,l=20;if(a&&a[3]!==o){o=o||a[3],r=r||[],a=+i||1;do s=s||".5",a/=s,ot.style(n.elem,e,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}]};ot.Animation=ot.extend(F,{tweener:function(e,t){ot.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,i=0,r=e.length;r>i;i++)n=e[i],kn[n]=kn[n]||[],kn[n].unshift(t)},prefilter:function(e,t){t?wn.unshift(e):wn.push(e)}}),ot.speed=function(e,t,n){var i=e&&"object"==typeof e?ot.extend({},e):{complete:n||!n&&t||ot.isFunction(e)&&e,duration:e,easing:n&&t||t&&!ot.isFunction(t)&&t};return i.duration=ot.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in ot.fx.speeds?ot.fx.speeds[i.duration]:ot.fx.speeds._default,(null==i.queue||i.queue===!0)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){ot.isFunction(i.old)&&i.old.call(this),i.queue&&ot.dequeue(this,i.queue)},i},ot.fn.extend({fadeTo:function(e,t,n,i){return this.filter(Dt).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=ot.isEmptyObject(e),o=ot.speed(t,n,i),a=function(){var t=F(this,ot.extend({},e),o);(r||ot._data(this,"finish"))&&t.stop(!0)};return a.finish=a,r||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,r=null!=e&&e+"queueHooks",o=ot.timers,a=ot._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!=e&&o[r].queue!==e||(o[r].anim.stop(n),t=!1,o.splice(r,1));(t||!n)&&ot.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=ot._data(this),i=n[e+"queue"],r=n[e+"queueHooks"],o=ot.timers,a=i?i.length:0;for(n.finish=!0,ot.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),ot.each(["toggle","show","hide"],function(e,t){var n=ot.fn[t];ot.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(N(t,!0),e,i,r)}}),ot.each({slideDown:N("show"),slideUp:N("hide"),slideToggle:N("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){ot.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),ot.timers=[],ot.fx.tick=function(){var e,t=ot.timers,n=0;for(mn=ot.now();n<t.length;n++)e=t[n],e()||t[n]!==e||t.splice(n--,1);t.length||ot.fx.stop(),mn=void 0},ot.fx.timer=function(e){ot.timers.push(e),e()?ot.fx.start():ot.timers.pop()},ot.fx.interval=13,ot.fx.start=function(){gn||(gn=setInterval(ot.fx.tick,ot.fx.interval))},ot.fx.stop=function(){clearInterval(gn),gn=null},ot.fx.speeds={slow:600,fast:200,_default:400},ot.fn.delay=function(e,t){return e=ot.fx?ot.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var i=setTimeout(t,e);n.stop=function(){clearTimeout(i)}})},function(){var e,t,n,i,r=mt.createElement("div");r.setAttribute("className","t"),r.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=r.getElementsByTagName("a")[0],n=mt.createElement("select"),i=n.appendChild(mt.createElement("option")),t=r.getElementsByTagName("input")[0],e.style.cssText="top:1px",it.getSetAttribute="t"!==r.className,it.style=/top/.test(e.getAttribute("style")),it.hrefNormalized="/a"===e.getAttribute("href"),it.checkOn=!!t.value,it.optSelected=i.selected,it.enctype=!!mt.createElement("form").enctype,n.disabled=!0,it.optDisabled=!i.disabled,t=mt.createElement("input"),t.setAttribute("value",""),it.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),it.radioValue="t"===t.value,e=t=n=i=r=null}();var xn=/\r/g;ot.fn.extend({val:function(e){var t,n,i,r=this[0];{if(arguments.length)return i=ot.isFunction(e),this.each(function(n){var r;1===this.nodeType&&(r=i?e.call(this,n,ot(this).val()):e,null==r?r="":"number"==typeof r?r+="":ot.isArray(r)&&(r=ot.map(r,function(e){return null==e?"":e+""})),t=ot.valHooks[this.type]||ot.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))});if(r)return t=ot.valHooks[r.type]||ot.valHooks[r.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:(n=r.value,"string"==typeof n?n.replace(xn,""):null==n?"":n)}}}),ot.extend({valHooks:{option:{get:function(e){var t=ot.find.attr(e,"value");return null!=t?t:ot.text(e)}},select:{get:function(e){for(var t,n,i=e.options,r=e.selectedIndex,o="select-one"===e.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||(it.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&ot.nodeName(n.parentNode,"optgroup"))){if(t=ot(n).val(),o)return t;a.push(t)}return a}
vendor: 7,323 bytes, lines 25-26
25,set:function(e,t){for(var n,i,r=e.options,o=ot.makeArray(t),a=r.length;a--;)if(i=r[a],ot.inArray(ot.valHooks.option.get(i),o)>=0)try{i.selected=n=!0}catch(s){i.scrollHeight}else i.selected=!1;return n||(e.selectedIndex=-1),r}}}}),ot.each(["radio","checkbox"],function(){ot.valHooks[this]={set:function(e,t){return ot.isArray(t)?e.checked=ot.inArray(ot(e).val(),t)>=0:void 0}},it.checkOn||(ot.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Tn,Cn,Sn=ot.expr.attrHandle,_n=/^(?:checked|selected)$/i,En=it.getSetAttribute,$n=it.input;ot.fn.extend({attr:function(e,t){return Mt(this,ot.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){ot.removeAttr(this,e)})}}),ot.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return typeof e.getAttribute===Ct?ot.prop(e,t,n):(1===o&&ot.isXMLDoc(e)||(t=t.toLowerCase(),i=ot.attrHooks[t]||(ot.expr.match.bool.test(t)?Cn:Tn)),void 0===n?i&&"get"in i&&null!==(r=i.get(e,t))?r:(r=ot.find.attr(e,t),null==r?void 0:r):null!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):(ot.removeAttr(e,t),void 0))},removeAttr:function(e,t){var n,i,r=0,o=t&&t.match(wt);if(o&&1===e.nodeType)for(;n=o[r++];)i=ot.propFix[n]||n,ot.expr.match.bool.test(n)?$n&&En||!_n.test(n)?e[i]=!1:e[ot.camelCase("default-"+n)]=e[i]=!1:ot.attr(e,n,""),e.removeAttribute(En?n:i)},attrHooks:{type:{set:function(e,t){if(!it.radioValue&&"radio"===t&&ot.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}}}),Cn={set:function(e,t,n){return t===!1?ot.removeAttr(e,n):$n&&En||!_n.test(n)?e.setAttribute(!En&&ot.propFix[n]||n,n):e[ot.camelCase("default-"+n)]=e[n]=!0,n}},ot.each(ot.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Sn[t]||ot.find.attr;Sn[t]=$n&&En||!_n.test(t)?function(e,t,i){var r,o;return i||(o=Sn[t],Sn[t]=r,r=null!=n(e,t,i)?t.toLowerCase():null,Sn[t]=o),r}:function(e,t,n){return n?void 0:e[ot.camelCase("default-"+t)]?t.toLowerCase():null}}),$n&&En||(ot.attrHooks.value={set:function(e,t,n){return ot.nodeName(e,"input")?(e.defaultValue=t,void 0):Tn&&Tn.set(e,t,n)}}),En||(Tn={set:function(e,t,n){var i=e.getAttributeNode(n);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(n)),i.value=t+="","value"===n||t===e.getAttribute(n)?t:void 0}},Sn.id=Sn.name=Sn.coords=function(e,t,n){var i;return n?void 0:(i=e.getAttributeNode(t))&&""!==i.value?i.value:null},ot.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);return n&&n.specified?n.value:void 0},set:Tn.set},ot.attrHooks.contenteditable={set:function(e,t,n){Tn.set(e,""===t?!1:t,n)}},ot.each(["width","height"],function(e,t){ot.attrHooks[t]={set:function(e,n){return""===n?(e.setAttribute(t,"auto"),n):void 0}}})),it.style||(ot.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var Dn=/^(?:input|select|textarea|button|object)$/i,Mn=/^(?:a|area)$/i;ot.fn.extend({prop:function(e,t){return Mt(this,ot.prop,e,t,arguments.length>1)},removeProp:function(e){return e=ot.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(t){}})}}),ot.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(e,t,n){var i,r,o,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)return o=1!==a||!ot.isXMLDoc(e),o&&(t=ot.propFix[t]||t,r=ot.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=ot.find.attr(e,"tabindex");return t?parseInt(t,10):Dn.test(e.nodeName)||Mn.test(e.nodeName)&&e.href?0:-1}}}}),it.hrefNormalized||ot.each(["href","src"],function(e,t){ot.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),it.optSelected||(ot.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),ot.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ot.propFix[this.toLowerCase()]=this}),it.enctype||(ot.propFix.enctype="encoding");var Pn=/[\t\r\n\f]/g;ot.fn.extend({addClass:function(e){var t,n,i,r,o,a,s=0,l=this.length,u="string"==typeof e&&e;if(ot.isFunction(e))return this.each(function(t){ot(this).addClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(wt)||[];l>s;s++)if(n=this[s],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(Pn," "):" ")){for(o=0;r=t[o++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");a=ot.trim(i),n.className!==a&&(n.className=a) 26}return this},removeClass:function(e){var t,n,i,r,o,a,s=0,l=this.length,u=0===arguments.length||"string"==typeof e&&e;if(ot.isFunction(e))return this.each(function(t){ot(this).removeClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(wt)||[];l>s;s++)if(n=this[s],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(Pn," "):"")){for(o=0;r=t[o++];)for(;i.indexOf(" "+r+" ")>=0;)i=i.replace(" "+r+" "," ");a=e?ot.trim(i):"",n.className!==a&&(n.className=a)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):ot.isFunction(e)?this.each(function(n){ot(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n)for(var t,i=0,r=ot(this),o=e.match(wt)||[];t=o[i++];)r.hasClass(t)?r.removeClass(t):r.addClass(t);else(n===Ct||"boolean"===n)&&(this.className&&ot._data(this,"__className__",this.className),this.className=this.className||e===!1?"":ot._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,i=this.length;i>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(Pn," ").indexOf(t)>=0)return!0;return!1}}),ot.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(e,t){ot.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),ot.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var An=ot.now(),jn=/\?/,Nn=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;ot.parseJSON=function(t){if(e.JSON&&e.JSON.parse)return e.JSON.parse(t+"");var n,i=null,r=ot.trim(t+"");return r&&!ot.trim(r.replace(Nn,function(e,t,r,o){return n&&t&&(i=0),0===i?e:(n=r||t,i+=!o-!r,"")}))?Function("return "+r)():ot.error("Invalid JSON: "+t)},ot.parseXML=function(t){var n,i;if(!t||"string"!=typeof t)return null;try{e.DOMParser?(i=new DOMParser,n=i.parseFromString(t,"text/xml")):(n=new ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(t))}catch(r){n=void 0}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||ot.error("Invalid XML: "+t),n};var On,Ln,Hn=/#.*$/,Fn=/([?&])_=[^&]*/,zn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,In=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Wn=/^(?:GET|HEAD)$/,Rn=/^\/\//,Bn=/^([\
vendor: 11,054 bytes, line 26
26w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Yn={},qn={},Vn="*/".concat("*");try{Ln=location.href}catch(Un){Ln=mt.createElement("a"),Ln.href="",Ln=Ln.href}On=Bn.exec(Ln.toLowerCase())||[],ot.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ln,type:"GET",isLocal:In.test(On[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":ot.parseJSON,"text xml":ot.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?W(W(e,ot.ajaxSettings),t):W(ot.ajaxSettings,e)},ajaxPrefilter:z(Yn),ajaxTransport:z(qn),ajax:function(e,t){function n(e,t,n,i){var r,c,v,y,w,x=t;2!==b&&(b=2,s&&clearTimeout(s),u=void 0,a=i||"",k.readyState=e>0?4:0,r=e>=200&&300>e||304===e,n&&(y=R(d,k,n)),y=B(d,y,k,r),r?(d.ifModified&&(w=k.getResponseHeader("Last-Modified"),w&&(ot.lastModified[o]=w),w=k.getResponseHeader("etag"),w&&(ot.etag[o]=w)),204===e||"HEAD"===d.type?x="nocontent":304===e?x="notmodified":(x=y.state,c=y.data,v=y.error,r=!v)):(v=x,(e||!x)&&(x="error",0>e&&(e=0))),k.status=e,k.statusText=(t||x)+"",r?h.resolveWith(f,[c,x,k]):h.rejectWith(f,[k,x,v]),k.statusCode(g),g=void 0,l&&p.trigger(r?"ajaxSuccess":"ajaxError",[k,d,r?c:v]),m.fireWith(f,[k,x]),l&&(p.trigger("ajaxComplete",[k,d]),--ot.active||ot.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var i,r,o,a,s,l,u,c,d=ot.ajaxSetup({},t),f=d.context||d,p=d.context&&(f.nodeType||f.jquery)?ot(f):ot.event,h=ot.Deferred(),m=ot.Callbacks("once memory"),g=d.statusCode||{},v={},y={},b=0,w="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!c)for(c={};t=zn.exec(a);)c[t[1].toLowerCase()]=t[2];t=c[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=y[n]=y[n]||e,v[e]=t),this},overrideMimeType:function(e){return b||(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>b)for(t in e)g[t]=[g[t],e[t]];else k.always(e[k.status]);return this},abort:function(e){var t=e||w;return u&&u.abort(t),n(0,t),this}};if(h.promise(k).complete=m.add,k.success=k.done,k.error=k.fail,d.url=((e||d.url||Ln)+"").replace(Hn,"").replace(Rn,On[1]+"//"),d.type=t.method||t.type||d.method||d.type,d.dataTypes=ot.trim(d.dataType||"*").toLowerCase().match(wt)||[""],null==d.crossDomain&&(i=Bn.exec(d.url.toLowerCase()),d.crossDomain=!(!i||i[1]===On[1]&&i[2]===On[2]&&(i[3]||("http:"===i[1]?"80":"443"))===(On[3]||("http:"===On[1]?"80":"443")))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=ot.param(d.data,d.traditional)),I(Yn,d,t,k),2===b)return k;l=d.global,l&&0===ot.active++&&ot.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Wn.test(d.type),o=d.url,d.hasContent||(d.data&&(o=d.url+=(jn.test(o)?"&":"?")+d.data,delete d.data),d.cache===!1&&(d.url=Fn.test(o)?o.replace(Fn,"$1_="+An++):o+(jn.test(o)?"&":"?")+"_="+An++)),d.ifModified&&(ot.lastModified[o]&&k.setRequestHeader("If-Modified-Since",ot.lastModified[o]),ot.etag[o]&&k.setRequestHeader("If-None-Match",ot.etag[o])),(d.data&&d.hasContent&&d.contentType!==!1||t.contentType)&&k.setRequestHeader("Content-Type",d.contentType),k.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)k.setRequestHeader(r,d.headers[r]);if(d.beforeSend&&(d.beforeSend.call(f,k,d)===!1||2===b))return k.abort();w="abort";for(r in{success:1,error:1,complete:1})k[r](d[r]);if(u=I(qn,d,t,k)){k.readyState=1,l&&p.trigger("ajaxSend",[k,d]),d.async&&d.timeout>0&&(s=setTimeout(function(){k.abort("timeout")},d.timeout));try{b=1,u.send(v,n)}catch(x){if(!(2>b))throw x;n(-1,x)}}else n(-1,"No Transport");return k},getJSON:function(e,t,n){return ot.get(e,t,n,"json")},getScript:function(e,t){return ot.get(e,void 0,t,"script")}}),ot.each(["get","post"],function(e,t){ot[t]=function(e,n,i,r){return ot.isFunction(n)&&(r=r||i,i=n,n=void 0),ot.ajax({url:e,type:t,dataType:r,data:n,success:i})}}),ot.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ot.fn[t]=function(e){return this.on(t,e)}}),ot._evalUrl=function(e){return ot.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},ot.fn.extend({wrapAll:function(e){if(ot.isFunction(e))return this.each(function(t){ot(this).wrapAll(e.call(this,t))});if(this[0]){var t=ot(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return ot.isFunction(e)?this.each(function(t){ot(this).wrapInner(e.call(this,t))}):this.each(function(){var t=ot(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=ot.isFunction(e);return this.each(function(n){ot(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){ot.nodeName(this,"body")||ot(this).replaceWith(this.childNodes)}).end()}}),ot.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!it.reliableHiddenOffsets()&&"none"===(e.style&&e.style.display||ot.css(e,"display"))},ot.expr.filters.visible=function(e){return!ot.expr.filters.hidden(e)};var Gn=/%20/g,Xn=/\[\]$/,Zn=/\r?\n/g,Qn=/^(?:submit|button|image|reset|file)$/i,Jn=/^(?:input|select|textarea|keygen)/i;ot.param=function(e,t){var n,i=[],r=function(e,t){t=ot.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=ot.ajaxSettings&&ot.ajaxSettings.traditional),ot.isArray(e)||e.jquery&&!ot.isPlainObject(e))ot.each(e,function(){r(this.name,this.value)});else for(n in e)Y(n,e[n],t,r);return i.join("&").replace(Gn,"+")},ot.fn.extend({serialize:function(){return ot.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ot.prop(this,"elements");return e?ot.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ot(this).is(":disabled")&&Jn.test(this.nodeName)&&!Qn.test(e)&&(this.checked||!Pt.test(e))}).map(function(e,t){var n=ot(this).val();return null==n?null:ot.isArray(n)?ot.map(n,function(e){return{name:t.name,value:e.replace(Zn,"\r\n")}}):{name:t.name,value:n.replace(Zn,"\r\n")}}).get()}}),ot.ajaxSettings.xhr=void 0!==e.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&q()||V()}:q;var Kn=0,ei={},ti=ot.ajaxSettings.xhr();e.ActiveXObject&&ot(e).on("unload",function(){for(var e in ei)ei[e](void 0,!0)}),it.cors=!!ti&&"withCredentials"in ti,ti=it.ajax=!!ti,ti&&ot.ajaxTransport(function(e){if(!e.crossDomain||it.cors){var t;return{send:function(n,i){var r,o=e.xhr(),a=++Kn;if(o.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(r in e.xhrFields)o[r]=e.xhrFields[r];e.mimeType&&o.overrideMimeType&&o.overrideMimeType(e.mimeType),e.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(e.hasContent&&e.data||null),t=function(n,r){var s,l,u;if(t&&(r||4===o.readyState))if(delete ei[a],t=void 0,o.onreadystatechange=ot.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||!e.isLocal||e.crossDomain?1223===s&&(s=204):s=u.text?200:404}u&&i(s,l,u,o.getAllResponseHeaders())},e.async?4===o.readyState?setTimeout(t):o.onreadystatechange=ei[a]=t:t()},abort:function(){t&&t(void 0,!0)}}}}),ot.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return ot.globalEval(e),e}}}),ot.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),ot.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=mt.head||ot("head")[0]||mt.documentElement;return{send:function(i,r){t=mt.createElement("script"),t.async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){(n||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||r(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}});var ni=[],ii=/(=)\?(?=&|$)|\?\?/;ot.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=ni.pop()||ot.expando+"_"+An++;return this[e]=!0,e}}),ot.ajaxPrefilter("json jsonp",function(t,n,i){var r,o,a,s=t.jsonp!==!1&&(ii.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&ii.test(t.data)&&"data");return s||"jsonp"===t.dataTypes[0]?(r=t.jsonpCallback=ot.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(ii,"$1"+r):t.jsonp!==!1&&(t.url+=(jn.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return a||ot.error(r+" was not called"),a[0]},t.dataTypes[0]="json",o=e[r],e[r]=function(){a=arguments},i.always(function(){e[r]=o,t[r]&&(t.jsonpCallback=n.jsonpCallback,ni.push(r)),a&&ot.isFunction(o)&&o(a[0]),a=o=void 0}),"script"):void 0}),ot.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||mt;var i=ft.exec(e),r=!n&&[];return i?[t.createElement(i[1])]:(i=ot.buildFragment([e],t,r),r&&r.length&&ot(r).remove(),ot.merge([],i.childNodes))};var ri=ot.fn.load;ot.fn.load=function(e,t,n){if("string"!=typeof e&&ri)return ri.apply(this,arguments);var i,r,o,a=this,s=e.indexOf(" ");return s>=0&&(i=e.slice(s,e.length),e=e.slice(0,s)),ot.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&ot.ajax({url:e,type:o,dataType:"html",data:t}).done(function(e){r=arguments,a.html(i?ot("<div>").append(ot.parseHTML(e)).find(i):e)}).complete(n&&function(e,t){a.each(n,r||[e.responseText,t,e])}),this},ot.expr.filters.animated=function(e){return ot.grep(ot.timers,function(t){return e===t.elem}).length};var oi=e.document.documentElement;ot.offset={setOffset:function(e,t,n){var i,r,o,a,s,l,u,c=ot.css(e,"position"),d=ot(e),f={};"static"===c&&(e.style.position="relative"),s=d.offset(),o=ot.css(e,"top"),l=ot.css(e,"left"),u=("absolute"===c||"fixed"===c)&&ot.inArray("auto",[o,l])>-1,u?(i=d.position(),a=i.top,r=i.left):(a=parseFloat(o)||0,r=parseFloat(l)||0),ot.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+r),"using"in t?t.using.call(e,f):d.css(f)}},ot.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){ot.offset.setOffset(this,e,t)});var t,n,i={top:0,left:0}
26,r=this[0],o=r&&r.ownerDocument;if(o)return t=o.documentElement,ot.contains(t,r)?(typeof r.getBoundingClientRect!==Ct&&(i=r.getBoundingClientRect()),n=U(o),{top:i.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:i.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):i},position:function(){if(this[0]){var e,t,n={top:0,left:0},i=this[0];return"fixed"===ot.css(i,"position")?t=i.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),ot.nodeName(e[0],"html")||(n=e.offset()),n.top+=ot.css(e[0],"borderTopWidth",!0),n.left+=ot.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-ot.css(i,"marginTop",!0),left:t.left-n.left-ot.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||oi;e&&!ot.nodeName(e,"html")&&"static"===ot.css(e,"position");)e=e.offsetParent;return e||oi})}}),ot.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);ot.fn[e]=function(i){return Mt(this,function(e,i,r){var o=U(e);return void 0===r?o?t in o?o[t]:o.document.documentElement[i]:e[i]:(o?o.scrollTo(n?ot(o).scrollLeft():r,n?r:ot(o).scrollTop()):e[i]=r,void 0)},e,i,arguments.length,null)}}),ot.each(["top","left"],function(e,t){ot.cssHooks[t]=_(it.pixelPosition,function(e,n){return n?(n=nn(e,t),on.test(n)?ot(e).position()[t]+"px":n):void 0})}),ot.each({Height:"height",Width:"width"},function(e,t){ot.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){ot.fn[i]=function(i,r){var o=arguments.length&&(n||"boolean"!=typeof i),a=n||(i===!0||r===!0?"margin":"border");return Mt(this,function(t,n,i){var r;return ot.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+e],r["scroll"+e],t.body["offset"+e],r["offset"+e],r["client"+e])):void 0===i?ot.css(t,n,a):ot.style(t,n,i,a)},t,o?i:void 0,o,null)}})}),ot.fn.size=function(){return this.length},ot.fn.andSelf=ot.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return ot});var ai=e.jQuery,si=e.$;return ot.noConflict=function(t){return e.$===ot&&(e.$=si),t&&e.jQuery===ot&&(e.jQuery=ai),ot},typeof t===Ct&&(e.jQuery=e.$=ot),ot}),function(e,t){e.rails!==t&&e.error("jquery-ujs has already been loaded!");var n,i=e(document);e.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(t){var n=e('meta[name="csrf-token"]').attr("content");n&&t.setRequestHeader("X-CSRF-Token",n)},refreshCSRFTokens:function(){var t=e("meta[name=csrf-token]").attr("content"),n=e("meta[name=csrf-param]").attr("content");e('form input[name="'+n+'"]').val(t)},fire:function(t,n,i){var r=e.Event(n);return t.trigger(r,i),r.result!==!1},confirm:function(e){return confirm(e)},ajax:function(t){return e.ajax(t)},href:function(e){return e.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===t?null:s,u=i.data("with-credentials")||null,c=i.data("type")||e.ajaxSettings&&e.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(e,r){return r.dataType===t&&e.setRequestHeader("accept","*/*;q=0.5, "+r.accepts.script),n.fire(i,"ajax:beforeSend",[e,r])},success:function(e,t,n){i.trigger("ajax:success",[e,t,n])},complete:function(e,t){i.trigger("ajax:complete",[e,t])},error:function(e,t,n){i.trigger("ajax:error",[e,t,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=e("meta[name=csrf-token]").attr("content"),l=e("meta[name=csrf-param]").attr("content"),u=e('<form method="post" action="'+r+'"></form>'),c='<input name="_method" value="'+o+'" type="hidden" />';l!==t&&s!==t&&(c+='<input name="'+l+'" value="'+s+'" type="hidden" />'),a&&u.attr("target",a),u.hide().append(c).appendTo("body"),u.submit()},disableFormElements:function(t){t.find(n.disableSelector).each(function(){var t=e(this),n=t.is("button")?"html":"val";t.data("ujs:enable-with",t[n]()),t[n](t.data("disable-with")),t.prop("disabled",!0)})},enableFormElements:function(t){t.find(n.enableSelector).each(function(){var t=e(this),n=t.is("button")?"html":"val";t.data("ujs:enable-with")&&t[n](t.data("ujs:enable-with")),t.prop("disabled",!1)})},allowAction:function(e){var t,i=e.data("confirm"),r=!1;return i?(n.fire(e,"confirm")&&(r=n.confirm(i),t=n.fire(e,"confirm:complete",[r])),r&&t):!0},blankInputs:function(t,n,i){var r,o,a=e(),s=n||"input,textarea",l=t.find(s);return l.each(function(){if(r=e(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(e,t){return n.blankInputs(e,t,!0)},stopEverything:function(t){return e(t.target).trigger("ujs:everythingStopped"),t.stopImmediatePropagation(),!1},disableElement:function(e){e.data("ujs:enable-with",e.html()),e.html(e.data("disable-with")),e.bind("click.railsDisable",function(e){return n.stopEverything(e)})},enableElement:function(e){e.data("ujs:enable-with")!==t&&(e.html(e.data("ujs:enable-with")),e.removeData("ujs:enable-with")),e.unbind("click.railsDisable")}},n.fire(i,"rails:attachBindings")&&(e.ajaxPrefilter(function(e,t,i){e.crossDomain||n.CSRFProtection(i)}),i.delegate(n.linkDisableSelector,"ajax:complete",function(){n.enableElement(e(this))}),i.delegate(n.linkClickSelector,"click.rails",function(i){var r=e(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")!==t){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(t){var i=e(this);return n.allowAction(i)?(n.handleRemote(i),!1):n.stopEverything(t)}),i.delegate(n.inputChangeSelector,"change.rails",function(t){var i=e(this);return n.allowAction(i)?(n.handleRemote(i),!1):n.stopEverything(t)}),i.delegate(n.formSubmitSelector,"submit.rails",function(i){var r=e(this),o=r.data("remote")!==t,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")==t&&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(t){var i=e(this);if(!n.allowAction(i))return n.stopEverything(t);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(t){this==t.target&&n.disableFormElements(e(this))}),i.delegate(n.formSubmitSelector,"ajax:complete.rails",function(t){this==t.target&&n.enableFormElements(e(this))}),e(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(e){"use strict";var t=function(n,i){this.options=e.extend({},t.DEFAULTS,i),this.$window=e(window).on("scroll.bs.affix.data-api",e.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",e.proxy(this.checkPositionWithEventLoop,this)),this.$element=e(n),this.affixed=this.unpin=this.pinnedOffset=null,this.checkPosition()};t.RESET="affix affix-top affix-bottom",t.DEFAULTS={offset:0},t.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(t.RESET).addClass("affix");var e=this.$window.scrollTop(),n=this.$element.offset();return this.pinnedOffset=n.top-e},t.prototype.checkPositionWithEventLoop=function(){setTimeout(e.proxy(this.checkPosition,this),1)},t.prototype.checkPosition=function(){if(this.$element.is(":visible")){var n=e(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=e.Event(u+".bs.affix");this.$element.trigger(c),c.isDefaultPrevented()||(this.affixed=l,this.unpin="bottom"==l?this.getPinnedOffset():null,this.$element.removeClass(t.RESET).addClass(u).trigger(e.Event(u.replace("affix","affixed"))),"bottom"==l&&this.$element.offset({top:n-s-this.$element.height()}))}}};var n=e.fn.affix;e.fn.affix=function(n){return this.each(function(){var i=e(this),r=i.data("bs.affix"),o="object"==typeof n&&n;r||i.data("bs.affix",r=new t(this,o)),"string"==typeof n&&r[n]()})},e.fn.affix.Constructor=t,e.fn.affix.noConflict=function(){return e.fn.affix=n,this},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var t=e(this),n=t.data();n.offset=n.offset||{},n.offsetBottom&&(n.offset.bottom=n.offsetBottom),n.offsetTop&&(n.offset.top=n.offsetTop),t.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(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.prototype.close=function(t){function n(){o.trigger("closed.bs.alert").remove()}var i=e(this),r=i.attr("data-target");r||(r=i.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,""));var o=e(r);t&&t.preventDefault(),o.length||(o=i.hasClass("alert")?i:i.parent()),o.trigger(t=e.Event("close.bs.alert")),t.isDefaultPrevented()||(o.removeClass("in"),e.support.transition&&o.hasClass("fade")?o.one(e.support.transition.end,n).emulateTransitionEnd(150):n())};var i=e.fn.alert;e.fn.alert=function(t){return this.each(function(){var i=e(this),r=i.data("bs.alert");r||i.data("bs.alert",r=new n(this)),"string"==typeof t&&r[t].call(i)})},e.fn.alert.Constructor=n,e.fn.alert.noConflict=function(){return e.fn.alert=i,this},e(document).on("click.bs.alert.data-api",t,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(e){"use strict";var t=function(n,i){this.$element=e(n),this.options=e.extend({},t.DEFAULTS,i),this.isLoading=!1};t.DEFAULTS={loadingText:"loading..."},t.prototype.setState=function(t){var n="disabled",i=this.$element,r=i.is("input")?"val":"html",o=i.data();t+="Text",o.resetText||i.data("resetText",i[r]()),i[r](o[t]||this.options[t]),setTimeout(e.proxy(function(){"loadingText"==t?(this.isLoading=!0,i.addClass(n).attr(n,n)):this.isLoading&&(this.isLoading=!1,i.removeClass(n).removeAttr(n))},this),0)},t.prototype.toggle=function(){var e=!0,t=this.$element.closest('[data-toggle="buttons"]');if(t.length){var n=this.$element.find("input");"radio"==n.prop("type")&&(n.prop("checked")&&this.$element.hasClass("active")?e=!1:t.find(".active").removeClass("active")),e&&n.prop("checked",!this.$element.hasClass("active")).trigger("change")}e&&this.$element.toggleClass("active")};var n=e.fn.button;e.fn.button=function(n){return this.each(function(){var i=e(this),r=i.data("bs.button"),o="object"==typeof n&&n;r||i.data("bs.button",r=new t(this,o)),"toggle"==n?r.toggle():n&&r.setState(n)})},e.fn.button.Constructor=t,e.fn.button.noConflict=function(){return e.fn.button=n,this},e(document).on("click.bs.button.data-api","[data-toggle^=button]",function(t){var n=e(t.target);n.hasClass("btn")||(n=n.closest(".btn")),n.button("toggle"),t.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(e){"use strict";var t=function(t,n){this.$element=e(t),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",e.proxy(this.pause,this)).on("mouseleave",e.proxy(this.cycle,this))};t.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},t.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},t.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},t.prototype.to=function(t){var n=this,i=this.getActiveIndex();return t>this.$items.length-1||0>t?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){n.to(t)}):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",e(this.$items[t]))},t.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},t.prototype.next=function(){return this.sliding?void 0:this.slide("next")},t.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},t.prototype.slide=function(t,n){var i=this.$element.find(".item.active"),r=n||i[t](),o=this.interval,a="next"==t?"left":"right",s="next"==t?"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=e.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 t=e(l.$indicators.children()[l.getActiveIndex()]);t&&t.addClass("active")})),e.support.transition&&this.$element.hasClass("slide")?(r.addClass(t),r[0].offsetWidth,i.addClass(a),r.addClass(a),i.one(e.support.transition.end,function(){r.removeClass([t,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=e.fn.carousel;e.fn.carousel=function(n){return this.each(function(){var i=e(this),r=i.data("bs.carousel"),o=e.extend({},t.DEFAULTS,i.data(),"object"==typeof n&&n),a="string"==typeof n?n:o.slide;r||i.data("bs.carousel",r=new t(this,o)),"number"==typeof n?r.to(n):a?r[a]():o.interval&&r.pause().cycle()})},e.fn.carousel.Constructor=t,e.fn.carousel.noConflict=function(){return e.fn.carousel=n,this},e(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(t){var n,i=e(this),r=e(i.attr("data-target")||(n=i.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"")),o=e.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),t.preventDefault()}),e(window).on("load",function(){e('[data-ride="carousel"]').each(function(){var t=e(this);t.carousel(t.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(e){"use strict";var t=function(n,i){this.$element=e(n),this.options=e.extend({},t.DEFAULTS,i),this.transitioning=null,this.options.parent&&(this.$parent=e(this.options.parent)),this.options.toggle&&this.toggle()};t.DEFAULTS={toggle:!0},t.prototype.dimension=function(){var e=this.$element.hasClass("width");return e?"width":"height"},t.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t=e.Event("show.bs.collapse");if(this.$element.trigger(t),!t.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(!e.support.transition)return o.call(this);var a=e.camelCase(["scroll",r].join("-"));this.$element.one(e.support.transition.end,e.proxy(o,this)).emulateTransitionEnd(350)[r](this.$element[0][a])}}},t.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=e.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.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 e.support.transition?(this.$element[n](0).one(e.support.transition.end,e.proxy(i,this)).emulateTransitionEnd(350),void 0):i.call(this)}}},t.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var n=e.fn.collapse;e.fn.collapse=function(n){return this.each(function(){var i=e(this),r=i.data("bs.collapse"),o=e.extend({},t.DEFAULTS,i.data(),"object"==typeof n&&n);!r&&o.toggle&&"show"==n&&(n=!n),r||i.data("bs.collapse",r=new t(this,o)),"string"==typeof n&&r[n]()})},e.fn.collapse.Constructor=t,e.fn.collapse.noConflict=function(){return e.fn.collapse=n,this},e(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(t){var n,i=e(this),r=i.attr("data-target")||t.preventDefault()||(n=i.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,""),o=e(r),a=o.data("bs.collapse"),s=a?"toggle":i.data(),l=i.attr("data-parent"),u=l&&e(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(e){"use strict";function t(t){e(i).remove(),e(r).each(function(){var i=n(e(this)),r={relatedTarget:this};i.hasClass("open")&&(i.trigger(t=e.Event("hide.bs.dropdown",r)),t.isDefaultPrevented()||i.removeClass("open").trigger("hidden.bs.dropdown",r))})}function n(t){var n=t.attr("data-target");n||(n=t.attr("href"),n=n&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i=n&&e(n);return i&&i.length?i:t.parent()}var i=".dropdown-backdrop",r="[data-toggle=dropdown]",o=function(t){e(t).on("click.bs.dropdown",this.toggle)};o.prototype.toggle=function(i){var r=e(this);if(!r.is(".disabled, :disabled")){var o=n(r),a=o.hasClass("open");if(t(),!a){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&e('<div class="dropdown-backdrop"/>').insertAfter(e(this)).on("click",t);var s={relatedTarget:this};if(o.trigger(i=e.Event("show.bs.dropdown",s)),i.isDefaultPrevented())return;o.toggleClass("open").trigger("shown.bs.dropdown",s),r.focus()}return!1}},o.prototype.keydown=function(t){if(/(38|40|27)/.test(t.keyCode)){var i=e(this);if(t.preventDefault(),t.stopPropagation(),!i.is(".disabled, :disabled")){var o=n(i),a=o.hasClass("open");if(!a||a&&27==t.keyCode)return 27==t.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==t.keyCode&&u>0&&u--,40==t.keyCode&&u<l.length-1&&u++,~u||(u=0),l.eq(u).focus()}}}};var a=e.fn.dropdown;e.fn.dropdown=function(t){return this.each(function(){var n=e(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new o(this)),"string"==typeof t&&i[t].call(n)})},e.fn.dropdown.Constructor=o,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=a,this},e(document).on("click.bs.dropdown.data-api",t).on("click.bs.dropdown.data-api",".dropdown form",function(e){e.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(e){"use strict";var t=function(t){this.element=e(t)};t.prototype.show=function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),i=t.data("target");if(i||(i=t.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var r=n.find(".active:last a")[0],o=e.Event("show.bs.tab",{relatedTarget:r});if(t.trigger(o),!o.isDefaultPrevented()){var a=e(i);this.activate(t.parent("li"),n),this.activate(a,a.parent(),function(){t.trigger({type:"shown.bs.tab",relatedTarget:r})})}}},t.prototype.activate=function(t,n,i){function r(){o.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),t.addClass("active"),a?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active"),i&&i()}var o=n.find("> .active"),a=i&&e.support.transition&&o.hasClass("fade");a?o.one(e.support.transition.end,r).emulateTransitionEnd(150):r(),o.removeClass("in")};var n=e.fn.tab;e.fn.tab=function(n){return this.each(function(){var i=e(this),r=i.data("bs.tab");r||i.data("bs.tab",r=new t(this)),"string"==typeof n&&r[n]()})},e.fn.tab.Constructor=t,e.fn.tab.noConflict=function(){return e.fn.tab=n,this},e(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(t){t.preventDefault(),e(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(e){"use strict";function t(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in t)if(void 0!==e.style[n])return{end:t[n]};return!1}e.fn.emulateTransitionEnd=function(t){var n=!1,i=this;e(this).one(e.support.transition.end,function(){n=!0});var r=function(){n||e(i).trigger(e.support.transition.end)};return setTimeout(r,t),this},e(function(){e.support.transition=t()})}(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(e){"use strict";function t(n,i){var r,o=e.proxy(this.process,this);this.$element=e(n).is("body")?e(window):e(n),this.$body=e("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",o),this.options=e.extend({},t.DEFAULTS,i),this.selector=(this.options.target||(r=e(n).attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=e([]),this.targets=e([]),this.activeTarget=null,this.refresh(),this.process()}t.DEFAULTS={offset:10},t.prototype.refresh=function(){var t=this.$element[0]==window?"offset":"position";this.offsets=e([]),this.targets=e([]);{var n=this;this.$body.find(this.selector).map(function(){var i=e(this),r=i.data("target")||i.attr("href"),o=/^#./.test(r)&&e(r);return o&&o.length&&o.is(":visible")&&[[o[t]().top+(!e.isWindow(n.$scrollElement.get(0))&&n.$scrollElement.scrollTop()),r]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){n.offsets.push(this[0]),n.targets.push(this[1])})}},t.prototype.process=function(){var e,t=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(t>=i)return a!=(e=o.last()[0])&&this.activate(e);if(a&&t<=r[0])return a!=(e=o[0])&&this.activate(e);for(e=r.length;e--;)a!=o[e]&&t>=r[e]&&(!r[e+1]||t<=r[e+1])&&this.activate(o[e])},t.prototype.activate=function(t){this.activeTarget=t,e(this.selector).parentsUntil(this.options.target,".active").removeClass("active");var n=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',i=e(n).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")};var n=e.fn.scrollspy;e.fn.scrollspy=function(n){return this.each(function(){var i=e(this),r=i.data("bs.scrollspy"),o="object"==typeof n&&n;r||i.data("bs.scrollspy",r=new t(this,o)),"string"==typeof n&&r[n]()})},e.fn.scrollspy.Constructor=t,e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=n,this},e(window).on("load",function(){e('[data-spy="scroll"]').each(function(){var t=e(this);t.scrollspy(t.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(e){"use strict";var t=function(t,n){this.options=n,this.$element=e(t),this.$backdrop=this.isShown=null,this.options.remote&&this.$element.find(".modal
96-content").load(this.options.remote,e.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};t.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},t.prototype.toggle=function(e){return this[this.isShown?"hide":"show"](e)},t.prototype.show=function(t){var n=this,i=e.Event("show.bs.modal",{relatedTarget:t});this.$element.trigger(i),this.isShown||i.isDefaultPrevented()||(this.isShown=!0,this.escape(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',e.proxy(this.hide,this)),this.backdrop(function(){var i=e.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=e.Event("shown.bs.modal",{relatedTarget:t});i?n.$element.find(".modal-dialog").one(e.support.transition.end,function(){n.$element.focus().trigger(r)}).emulateTransitionEnd(300):n.$element.focus().trigger(r)}))},t.prototype.hide=function(t){t&&t.preventDefault(),t=e.Event("hide.bs.modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),e(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.bs.modal"),e.support.transition&&this.$element.hasClass("fade")?this.$element.one(e.support.transition.end,e.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())},t.prototype.enforceFocus=function(){e(document).off("focusin.bs.modal").on("focusin.bs.modal",e.proxy(function(e){this.$element[0]===e.target||this.$element.has(e.target).length||this.$element.focus()},this))},t.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.bs.modal",e.proxy(function(e){27==e.which&&this.hide()},this)):this.isShown||this.$element.off("keyup.dismiss.bs.modal")},t.prototype.hideModal=function(){var e=this;this.$element.hide(),this.backdrop(function(){e.removeBackdrop(),e.$element.trigger("hidden.bs.modal")})},t.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},t.prototype.backdrop=function(t){var n=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var i=e.support.transition&&n;if(this.$backdrop=e('<div class="modal-backdrop '+n+'" />').appendTo(document.body),this.$element.on("click.dismiss.bs.modal",e.proxy(function(e){e.target===e.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"),!t)return;i?this.$backdrop.one(e.support.transition.end,t).emulateTransitionEnd(150):t()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(e.support.transition.end,t).emulateTransitionEnd(150):t()):t&&t()};var n=e.fn.modal;e.fn.modal=function(n,i){return this.each(function(){var r=e(this),o=r.data("bs.modal"),a=e.extend({},t.DEFAULTS,r.data(),"object"==typeof n&&n);o||r.data("bs.modal",o=new t(this,a)),"string"==typeof n?o[n](i):a.show&&o.show(i)})},e.fn.modal.Constructor=t,e.fn.modal.noConflict=function(){return e.fn.modal=n,this},e(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var n=e(this),i=n.attr("href"),r=e(n.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,"")),o=r.data("bs.modal")?"toggle":e.extend({remote:!/#/.test(i)&&i},r.data(),n.data());n.is("a")&&t.preventDefault(),r.modal(o,this).one("hide",function(){n.is(":visible")&&n.focus()})}),e(document).on("show.bs.modal",".modal",function(){e(document.body).addClass("modal-open")}).on("hidden.bs.modal",".modal",function(){e(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(e){"use strict";var t=function(e,t){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",e,t)};t.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},t.prototype.init=function(t,n,i){this.enabled=!0,this.type=t,this.$element=e(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,e.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,e.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.getOptions=function(t){return t=e.extend({},this.getDefaults(),this.$element.data(),t),t.delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},t.prototype.getDelegateOptions=function(){var t={},n=this.getDefaults();return this._options&&e.each(this._options,function(e,i){n[e]!=i&&(t[e]=i)}),t},t.prototype.enter=function(t){var n=t instanceof this.constructor?t:e(t.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()},t.prototype.leave=function(t){var n=t instanceof this.constructor?t:e(t.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()},t.prototype.show=function(){var t=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){if(this.$element.trigger(t),t.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>
vendor: 6,626 bytes, lines 104-111
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)};e.support.transition&&this.$tip.hasClass("fade")?i.one(e.support.transition.end,v).emulateTransitionEnd(150):v()}},t.prototype.applyPlacement=function(t,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),t.top=t.top+s,t.left=t.left+l,e.offset.setOffset(r[0],e.extend({using:function(e){r.css({top:Math.round(e.top),left:Math.round(e.left)})}},t),0),r.addClass("in");var u=r[0].offsetWidth,c=r[0].offsetHeight;if("top"==n&&c!=a&&(i=!0,t.top=t.top+a-c),/bottom|top/.test(n)){var d=0;t.left<0&&(d=-2*t.left,t.left=0,r.offset(t),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(t)},t.prototype.replaceArrow=function(e,t,n){this.arrow().css(n,e?50*(1-e/t)+"%":"")},t.prototype.setContent=function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},t.prototype.hide=function(){function t(){"in"!=n.hoverState&&i.detach(),n.$element.trigger("hidden.bs."+n.type)}var n=this,i=this.tip(),r=e.Event("hide.bs."+this.type);return this.$element.trigger(r),r.isDefaultPrevented()?void 0:(i.removeClass("in"),e.support.transition&&this.$tip.hasClass("fade")?i.one(e.support.transition.end,t).emulateTransitionEnd(150):t(),this.hoverState=null,this)},t.prototype.fixTitle=function(){var e=this.$element;(e.attr("title")||"string"!=typeof e.attr("data-original-title"))&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},t.prototype.hasContent=function(){return this.getTitle()},t.prototype.getPosition=function(){var t=this.$element[0];return e.extend({},"function"==typeof t.getBoundingClientRect?t.getBoundingClientRect():{width:t.offsetWidth,height:t.offsetHeight},this.$element.offset())},t.prototype.getCalculatedOffset=function(e,t,n,i){return"bottom"==e?{top:t.top+t.height,left:t.left+t.width/2-n/2}:"top"==e?{top:t.top-i,left:t.left+t.width/2-n/2}:"left"==e?{top:t.top+t.height/2-i/2,left:t.left-n}:{top:t.top+t.height/2-i/2,left:t.left+t.width}},t.prototype.getTitle=function(){var e,t=this.$element,n=this.options;return e=t.attr("data-original-title")||("function"==typeof n.title?n.title.call(t[0]):n.title)},t.prototype.tip=function(){return this.$tip=this.$tip||e(this.options.template)},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},t.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},t.prototype.enable=function(){this.enabled=!0},t.prototype.disable=function(){this.enabled=!1},t.prototype.toggleEnabled=function(){this.enabled=!this.enabled},t.prototype.toggle=function(t){var n=t?e(t.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type):this;n.tip().hasClass("in")?n.leave(n):n.enter(n)},t.prototype.destroy=function(){clearTimeout(this.timeout),this.hide().$element.off("."+this.type).removeData("bs."+this.type)};var n=e.fn.tooltip;e.fn.tooltip=function(n){return this.each(function(){var i=e(this),r=i.data("bs.tooltip"),o="object"==typeof n&&n;(r||"destroy"!=n)&&(r||i.data("bs.tooltip",r=new t(this,o)),"string"==typeof n&&r[n]())})},e.fn.tooltip.Constructor=t,e.fn.tooltip.noConflict=function(){return e.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(e){"use strict";var t=function(e,t){this.init("popover",e,t)};if(!e.fn.tooltip)throw new Error("Popover requires tooltip.js");t.DEFAULTS=e.extend({},e.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>'}),t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype),t.prototype.constructor=t,t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.setContent=function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content")[this.options.html?"string"==typeof n?"html":"append":"text"](n),e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},t.prototype.hasContent=function(){return this.getTitle()||this.getContent()},t.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content)},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},t.prototype.tip=function(){return this.$tip||(this.$tip=e(this.options.template)),this.$tip};var n=e.fn.popover;e.fn.popover=function(n){return this.each(function(){var i=e(this),r=i.data("bs.popover"),o="object"==typeof n&&n;(r||"destroy"!=n)&&(r||i.data("bs.popover",r=new t(this,o)),"string"==typeof n&&r[n]())})},e.fn.popover.Constructor=t,e.fn.popover.noConflict=function(){return e.fn.popover=n,this}}(jQuery),function(){var e=this,t=e._,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,k=Object.keys,x=o.bind,T=function(e){return e instanceof T?e:this instanceof T?(this._wrapped=e,void 0):new T(e)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=T),exports._=T):e._=T,T.VERSION="1.6.0";var C=T.each=T.forEach=function(e,t,i){if(null==e)return e;if(d&&e.forEach===d)e.forEach(t,i);else if(e.length===+e.length){for(var r=0,o=e.length;o>r;r++)if(t.call(i,e[r],r,e)===n)return}else for(var a=T.keys(e),r=0,o=a.length;o>r;r++)if(t.call(i,e[a[r]],a[r],e)===n)return;return e};T.map=T.collect=function(e,t,n){var i=[];return null==e?i:f&&e.map===f?e.map(t,n):(C(e,function(e,r,o){i.push(t.call(n,e,r,o))}),i)};
111var S="Reduce of empty array with no initial value";T.reduce=T.foldl=T.inject=function(e,t,n,i){var r=arguments.length>2;if(null==e&&(e=[]),p&&e.reduce===p)return i&&(t=T.bind(t,i)),r?e.reduce(t,n):e.reduce(t);if(C(e,function(e,o,a){r?n=t.call(i,n,e,o,a):(n=e,r=!0)}),!r)throw new TypeError(S);return n},T.reduceRight=T.foldr=function(e,t,n,i){var r=arguments.length>2;if(null==e&&(e=[]),h&&e.reduceRight===h)return i&&(t=T.bind(t,i)),r?e.reduceRight(t,n):e.reduceRight(t);var o=e.length;if(o!==+o){var a=T.keys(e);o=a.length}if(C(e,function(s,l,u){l=a?a[--o]:--o,r?n=t.call(i,n,e[l],l,u):(n=e[l],r=!0)}),!r)throw new TypeError(S);return n},T.find=T.detect=function(e,t,n){var i;return _(e,function(e,r,o){return t.call(n,e,r,o)?(i=e,!0):void 0}),i},T.filter=T.select=function(e,t,n){var i=[];return null==e?i:m&&e.filter===m?e.filter(t,n):(C(e,function(e,r,o){t.call(n,e,r,o)&&i.push(e)}),i)},T.reject=function(e,t,n){return T.filter(e,function(e,i,r){return!t.call(n,e,i,r)},n)},T.every=T.all=function(e,t,i){t||(t=T.identity);var r=!0;return null==e?r:g&&e.every===g?e.every(t,i):(C(e,function(e,o,a){return(r=r&&t.call(i,e,o,a))?void 0:n}),!!r)};var _=T.some=T.any=function(e,t,i){t||(t=T.identity);var r=!1;return null==e?r:v&&e.some===v?e.some(t,i):(C(e,function(e,o,a){return r||(r=t.call(i,e,o,a))?n:void 0}),!!r)};T.contains=T.include=function(e,t){return null==e?!1:y&&e.indexOf===y?-1!=e.indexOf(t):_(e,function(e){return e===t})},T.invoke=function(e,t){var n=s.call(arguments,2),i=T.isFunction(t);return T.map(e,function(e){return(i?t:e[t]).apply(e,n)})},T.pluck=function(e,t){return T.map(e,T.property(t))},T.where=function(e,t){return T.filter(e,T.matches(t))},T.findWhere=function(e,t){return T.find(e,T.matches(t))},T.max=function(e,t,n){if(!t&&T.isArray(e)&&e[0]===+e[0]&&e.length<65535)return Math.max.apply(Math,e);var i=-1/0,r=-1/0;return C(e,function(e,o,a){var s=t?t.call(n,e,o,a):e;s>r&&(i=e,r=s)}),i},T.min=function(e,t,n){if(!t&&T.isArray(e)&&e[0]===+e[0]&&e.length<65535)return Math.min.apply(Math,e);var i=1/0,r=1/0;return C(e,function(e,o,a){var s=t?t.call(n,e,o,a):e;r>s&&(i=e,r=s)}),i},T.shuffle=function(e){var t,n=0,i=[];return C(e,function(e){t=T.random(n++),i[n-1]=i[t],i[t]=e}),i},T.sample=function(e,t,n){return null==t||n?(e.length!==+e.length&&(e=T.values(e)),e[T.random(e.length-1)]):T.shuffle(e).slice(0,Math.max(0,t))};var E=function(e){return null==e?T.identity:T.isFunction(e)?e:T.property(e)};T.sortBy=function(e,t,n){return t=E(t),T.pluck(T.map(e,function(e,i,r){return{value:e,index:i,criteria:t.call(n,e,i,r)}}).sort(function(e,t){var n=e.criteria,i=t.criteria;if(n!==i){if(n>i||void 0===n)return 1;if(i>n||void 0===i)return-1}return e.index-t.index}),"value")};var $=function(e){return function(t,n,i){var r={};return n=E(n),C(t,function(o,a){var s=n.call(i,o,a,t);e(r,s,o)}),r}};T.groupBy=$(function(e,t,n){T.has(e,t)?e[t].push(n):e[t]=[n]}),T.indexBy=$(function(e,t,n){e[t]=n}),T.countBy=$(function(e,t){T.has(e,t)?e[t]++:e[t]=1}),T.sortedIndex=function(e,t,n,i){n=E(n);for(var r=n.call(i,t),o=0,a=e.length;a>o;){var s=o+a>>>1;n.call(i,e[s])<r?o=s+1:a=s}return o},T.toArray=function(e){return e?T.isArray(e)?s.call(e):e.length===+e.length?T.map(e,T.identity):T.values(e):[]},T.size=function(e){return null==e?0:e.length===+e.length?e.length:T.keys(e).length},T.first=T.head=T.take=function(e,t,n){return null==e?void 0:null==t||n?e[0]:0>t?[]:s.call(e,0,t)},T.initial=function(e,t,n){return s.call(e,0,e.length-(null==t||n?1:t))},T.last=function(e,t,n){return null==e?void 0:null==t||n?e[e.length-1]:s.call(e,Math.max(e.length-t,0))},T.rest=T.tail=T.drop=function(e,t,n){return s.call(e,null==t||n?1:t)},T.compact=function(e){return T.filter(e,T.identity)};var D=function(e,t,n){return t&&T.every(e,T.isArray)?l.apply(n,e):(C(e,function(e){T.isArray(e)||T.isArguments(e)?t?a.apply(n,e):D(e,t,n):n.push(e)}),n)};T.flatten=function(e,t){return D(e,t,[])},T.without=function(e){return T.difference(e,s.call(arguments,1))},T.partition=function(e,t,n){t=E(t);var i=[],r=[];return C(e,function(e){(t.call(n,e)?i:r).push(e)}),[i,r]},T.uniq=T.unique=function(e,t,n,i){T.isFunction(t)&&(i=n,n=t,t=!1);var r=n?T.map(e,n,i):e,o=[],a=[];return C(r,function(n,i){(t?i&&a[a.length-1]===n:T.contains(a,n))||(a.push(n),o.push(e[i]))}),o},T.union=function(){return T.uniq(T.flatten(arguments,!0))}
111,T.intersection=function(e){var t=s.call(arguments,1);return T.filter(T.uniq(e),function(e){return T.every(t,function(t){return T.contains(t,e)})})},T.difference=function(e){var t=l.apply(i,s.call(arguments,1));return T.filter(e,function(e){return!T.contains(t,e)})},T.zip=function(){for(var e=T.max(T.pluck(arguments,"length").concat(0)),t=new Array(e),n=0;e>n;n++)t[n]=T.pluck(arguments,""+n);return t},T.object=function(e,t){if(null==e)return{};for(var n={},i=0,r=e.length;r>i;i++)t?n[e[i]]=t[i]:n[e[i][0]]=e[i][1];return n},T.indexOf=function(e,t,n){if(null==e)return-1;var i=0,r=e.length;if(n){if("number"!=typeof n)return i=T.sortedIndex(e,t),e[i]===t?i:-1;i=0>n?Math.max(0,r+n):n}if(y&&e.indexOf===y)return e.indexOf(t,n);for(;r>i;i++)if(e[i]===t)return i;return-1},T.lastIndexOf=function(e,t,n){if(null==e)return-1;var i=null!=n;if(b&&e.lastIndexOf===b)return i?e.lastIndexOf(t,n):e.lastIndexOf(t);for(var r=i?n:e.length;r--;)if(e[r]===t)return r;return-1},T.range=function(e,t,n){arguments.length<=1&&(t=e||0,e=0),n=arguments[2]||1;for(var i=Math.max(Math.ceil((t-e)/n),0),r=0,o=new Array(i);i>r;)o[r++]=e,e+=n;return o};var M=function(){};T.bind=function(e,t){var n,i;if(x&&e.bind===x)return x.apply(e,s.call(arguments,1));if(!T.isFunction(e))throw new TypeError;return n=s.call(arguments,2),i=function(){if(!(this instanceof i))return e.apply(t,n.concat(s.call(arguments)));M.prototype=e.prototype;var r=new M;M.prototype=null;var o=e.apply(r,n.concat(s.call(arguments)));return Object(o)===o?o:r}},T.partial=function(e){var t=s.call(arguments,1);return function(){for(var n=0,i=t.slice(),r=0,o=i.length;o>r;r++)i[r]===T&&(i[r]=arguments[n++]);for(;n<arguments.length;)i.push(arguments[n++]);return e.apply(this,i)}},T.bindAll=function(e){var t=s.call(arguments,1);if(0===t.length)throw new Error("bindAll must be passed function names");return C(t,function(t){e[t]=T.bind(e[t],e)}),e},T.memoize=function(e,t){var n={};return t||(t=T.identity),function(){var i=t.apply(this,arguments);return T.has(n,i)?n[i]:n[i]=e.apply(this,arguments)}},T.delay=function(e,t){var n=s.call(arguments,2);return setTimeout(function(){return e.apply(null,n)},t)},T.defer=function(e){return T.delay.apply(T,[e,1].concat(s.call(arguments,1)))},T.throttle=function(e,t,n){var i,r,o,a=null,s=0;n||(n={});var l=function(){s=n.leading===!1?0:T.now(),a=null,o=e.apply(i,r),i=r=null};return function(){var u=T.now();s||n.leading!==!1||(s=u);var c=t-(u-s);return i=this,r=arguments,0>=c?(clearTimeout(a),a=null,s=u,o=e.apply(i,r),i=r=null):a||n.trailing===!1||(a=setTimeout(l,c)),o}},T.debounce=function(e,t,n){var i,r,o,a,s,l=function(){var u=T.now()-a;t>u?i=setTimeout(l,t-u):(i=null,n||(s=e.apply(o,r),o=r=null))};return function(){o=this,r=arguments,a=T.now();var u=n&&!i;return i||(i=setTimeout(l,t)),u&&(s=e.apply(o,r),o=r=null),s}},T.once=function(e){var t,n=!1;return function(){return n?t:(n=!0,t=e.apply(this,arguments),e=null,t)}},T.wrap=function(e,t){return T.partial(t,e)},T.compose=function(){var e=arguments;return function(){for(var t=arguments,n=e.length-1;n>=0;n--)t=[e[n].apply(this,t)];return t[0]}},T.after=function(e,t){return function(){return--e<1?t.apply(this,arguments):void 0}},T.keys=function(e){if(!T.isObject(e))return[];if(k)return k(e);var t=[];for(var n in e)T.has(e,n)&&t.push(n);return t},T.values=function(e){for(var t=T.keys(e),n=t.length,i=new Array(n),r=0;n>r;r++)i[r]=e[t[r]];return i},T.pairs=function(e){for(var t=T.keys(e),n=t.length,i=new Array(n),r=0;n>r;r++)i[r]=[t[r],e[t[r]]];return i},T.invert=function(e){for(var t={},n=T.keys(e),i=0,r=n.length;r>i;i++)t[e[n[i]]]=n[i];return t},T.functions=T.methods=function(e){var t=[];for(var n in e)T.isFunction(e[n])&&t.push(n);return t.sort()},T.extend=function(e){return C(s.call(arguments,1),function(t){if(t)for(var n in t)e[n]=t[n]}),e},T.pick=function(e){var t={},n=l.apply(i,s.call(arguments,1));return C(n,function(n){n in e&&(t[n]=e[n])}),t},T.omit=function(e){var t={},n=l.apply(i,s.call(arguments,1));for(var r in e)T.contains(n,r)||(t[r]=e[r]);return t},T.defaults=function(e){return C(s.call(arguments,1),function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])}),e},T.clone=function(e){return T.isObject(e)?T.isArray(e)?e.slice():T.extend({},e):e},T.tap=function(e,t){return t(e),e};var P=function(e,t,n,i){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return e===t;e instanceof T&&(e=e._wrapped),t instanceof T&&(t=t._wrapped);var r=u.call(e);
111if(r!=u.call(t))return!1;switch(r){case"[object String]":return e==String(t);case"[object Number]":return e!=+e?t!=+t:0==e?1/e==1/t:e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object RegExp]":return e.source==t.source&&e.global==t.global&&e.multiline==t.multiline&&e.ignoreCase==t.ignoreCase}if("object"!=typeof e||"object"!=typeof t)return!1;for(var o=n.length;o--;)if(n[o]==e)return i[o]==t;var a=e.constructor,s=t.constructor;if(a!==s&&!(T.isFunction(a)&&a instanceof a&&T.isFunction(s)&&s instanceof s)&&"constructor"in e&&"constructor"in t)return!1;n.push(e),i.push(t);var l=0,c=!0;if("[object Array]"==r){if(l=e.length,c=l==t.length)for(;l--&&(c=P(e[l],t[l],n,i)););}else{for(var d in e)if(T.has(e,d)&&(l++,!(c=T.has(t,d)&&P(e[d],t[d],n,i))))break;if(c){for(d in t)if(T.has(t,d)&&!l--)break;c=!l}}return n.pop(),i.pop(),c};T.isEqual=function(e,t){return P(e,t,[],[])},T.isEmpty=function(e){if(null==e)return!0;if(T.isArray(e)||T.isString(e))return 0===e.length;for(var t in e)if(T.has(e,t))return!1;return!0},T.isElement=function(e){return!(!e||1!==e.nodeType)},T.isArray=w||function(e){return"[object Array]"==u.call(e)},T.isObject=function(e){return e===Object(e)},C(["Arguments","Function","String","Number","Date","RegExp"],function(e){T["is"+e]=function(t){return u.call(t)=="[object "+e+"]"}}),T.isArguments(arguments)||(T.isArguments=function(e){return!(!e||!T.has(e,"callee"))}),"function"!=typeof/./&&(T.isFunction=function(e){return"function"==typeof e}),T.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))},T.isNaN=function(e){return T.isNumber(e)&&e!=+e},T.isBoolean=function(e){return e===!0||e===!1||"[object Boolean]"==u.call(e)},T.isNull=function(e){return null===e},T.isUndefined=function(e){return void 0===e},T.has=function(e,t){return c.call(e,t)},T.noConflict=function(){return e._=t,this},T.identity=function(e){return e},T.constant=function(e){return function(){return e}},T.property=function(e){return function(t){return t[e]}},T.matches=function(e){return function(t){if(t===e)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0}},T.times=function(e,t,n){for(var i=Array(Math.max(0,e)),r=0;e>r;r++)i[r]=t.call(n,r);return i},T.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},T.now=Date.now||function(){return(new Date).getTime()};var A={escape:{"&":"&","<":"<",">":">",'"':""","'":"'"}};A.unescape=T.invert(A.escape);var j={escape:new RegExp("["+T.keys(A.escape).join("")+"]","g"),unescape:new RegExp("("+T.keys(A.unescape).join("|")+")","g")};T.each(["escape","unescape"],function(e){T[e]=function(t){return null==t?"":(""+t).replace(j[e],function(t){return A[e][t]})}}),T.result=function(e,t){if(null==e)return void 0;var n=e[t];return T.isFunction(n)?n.call(e):n},T.mixin=function(e){C(T.functions(e),function(t){var n=T[t]=e[t];T.prototype[t]=function(){var e=[this._wrapped];return a.apply(e,arguments),F.call(this,n.apply(T,e))}})};var N=0;T.uniqueId=function(e){var t=++N+"";return e?e+t:t},T.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var O=/(.)^/,L={"'":"'","\\":"\\","\r":"r","\n":"n"," ":"t","\u2028":"u2028","\u2029":"u2029"},H=/\\|'|\r|\n|\t|\u2028|\u2029/g;T.template=function(e,t,n){var i;n=T.defaults({},n,T.templateSettings);var r=new RegExp([(n.escape||O).source,(n.interpolate||O).source,(n.evaluate||O).source].join("|")+"|$","g"),o=0,a="__p+='";e.replace(r,function(t,n,i,r,s){return a+=e.slice(o,s).replace(H,function(e){return"\\"+L[e]}),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+t.length,t}),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(t)return i(t,T);var l=function(e){return i.call(this,e,T)};return l.source="function("+(n.variable||"obj")+"){\n"+a+"}",l},T.chain=function(e){return T(e).chain()};var F=function(e){return this._chain?T(e).chain():e};T.mixin(T),C(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=i[e];T.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!=e&&"splice"!=e||0!==n.length||delete n[0],F.call(this,n)}}),C(["concat","join","slice"],function(e){var t=i[e];T.prototype[e]=function(){return F.call(this,t.apply(this._wrapped,arguments))}}),T.extend(T.prototype,{chain:function(){return this._chain=!0,this},value:function(){return this._wrapped}}),"function"==typeof define&&define.amd&&define("underscore",[],function(){return T})}.call(this),function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){"use strict";var t=window.Slick||{};t=function(){function t(t,i){var r,o=this;o.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:e(t),appendDots:e(t),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(e,t){return'<button type="button" data-role="none" role="button" aria-required="false" tabindex="0">'+(t+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 111
111sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},e.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=e(t),o.$slidesCache=null,o.transformType=null,o.transitionType=null,o.visibilityChange="visibilitychange",o.windowWidth=0,o.windowTimer=null,r=e(t).data("slick")||{},o.options=e.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=e.proxy(o.autoPlay,o),o.autoPlayClear=e.proxy(o.autoPlayClear,o),o.changeSlide=e.proxy(o.changeSlide,o),o.clickHandler=e.proxy(o.clickHandler,o),o.selectHandler=e.proxy(o.selectHandler,o),o.setPosition=e.proxy(o.setPosition,o),o.swipeHandler=e.proxy(o.swipeHandler,o),o.dragHandler=e.proxy(o.dragHandler,o),o.keyHandler=e.proxy(o.keyHandler,o),o.autoPlayIterator=e.proxy(o.autoPlayIterator,o),o.instanceUid=n++,o.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,o.registerBreakpoints(),o.init(!0),o.checkResponsive(!0)}var n=0;return t}(),t.prototype.addSlide=t.prototype.slickAdd=function(t,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?e(t).appendTo(r.$slideTrack):i?e(t).insertBefore(r.$slides.eq(n)):e(t).insertAfter(r.$slides.eq(n)):i===!0?e(t).prependTo(r.$slideTrack):e(t).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(t,n){e(n).attr("data-slick-index",t)}),r.$slidesCache=r.$slides,r.reinit()},t.prototype.animateHeight=function(){var e=this;if(1===e.options.slidesToShow&&e.options.adaptiveHeight===!0&&e.options.vertical===!1){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.animate({height:t},e.options.speed)}},t.prototype.animateSlide=function(t,n){var i={},r=this;r.animateHeight(),r.options.rtl===!0&&r.options.vertical===!1&&(t=-t),r.transformsEnabled===!1?r.options.vertical===!1?r.$slideTrack.animate({left:t},r.options.speed,r.options.easing,n):r.$slideTrack.animate({top:t},r.options.speed,r.options.easing,n):r.cssTransitions===!1?(r.options.rtl===!0&&(r.currentLeft=-r.currentLeft),e({animStart:r.currentLeft}).animate({animStart:t},{duration:r.options.speed,easing:r.options.easing,step:function(e){e=Math.ceil(e),r.options.vertical===!1?(i[r.animType]="translate("+e+"px, 0px)",r.$slideTrack.css(i)):(i[r.animType]="translate(0px,"+e+"px)",r.$slideTrack.css(i))},complete:function(){n&&n.call()}})):(r.applyTransition(),t=Math.ceil(t),i[r.animType]=r.options.vertical===!1?"translate3d("+t+"px, 0px, 0px)":"translate3d(0px,"+t+"px, 0px)",r.$slideTrack.css(i),n&&setTimeout(function(){r.disableTransition(),n.call()},r.options.speed))},t.prototype.asNavFor=function(t){var n=this,i=n.options.asNavFor;i&&null!==i&&(i=e(i).not(n.$slider)),null!==i&&"object"==typeof i&&i.each(function(){var n=e(this).slick("getSlick");n.unslicked||n.slideHandler(t,!0)})},t.prototype.applyTransition=function(e){var t=this,n={};n[t.transitionType]=t.options.fade===!1?t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:"opacity "+t.options.speed+"ms "+t.options.cssEase,t.options.fade===!1?t.$slideTrack.css(n):t.$slides.eq(e).css(n)},t.prototype.autoPlay=function(){var e=this;e.autoPlayTimer&&clearInterval(e.autoPlayTimer),e.slideCount>e.options.slidesToShow&&e.paused!==!0&&(e.autoPlayTimer=setInterval(e.autoPlayIterator,e.options.autoplaySpeed))},t.prototype.autoPlayClear=function(){var e=this;e.autoPlayTimer&&clearInterval(e.autoPlayTimer)},t.prototype.autoPlayIterator=function(){var e=this;e.options.infinite===!1?1===e.direction?(e.currentSlide+1===e.slideCount-1&&(e.direction=0),e.slideHandler(e.currentSlide+e.options.slidesToScroll)):(e.currentSlide-1===0&&(e.direction=1),e.slideHandler(e.currentSlide-e.options.slidesToScroll)):e.slideHandler(e.currentSlide+e.options.slidesToScroll)},t.prototype.buildArrows=function(){var t=this;t.options.arrows===!0&&(t.$prevArrow=e(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=e(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),t.options.infinite!==!0&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},t.prototype.buildDots=function(){var t,n,i=this;if(i.options.dots===!0&&i.slideCount>i.options.slidesToShow){for(n='<ul class="'+i.options.dotsClass+'">',t=0;t<=i.getDotCount();t+=1)n+="<li>"+i.options.customPaging.call(this,i,t)+"</li>";n+="</ul>",i.$dots=e(n).appendTo(i.options.appendDots),i.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},t.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each(function(t,n){e(n).attr("data-slick-index",t).data("originalStyling",e(n).attr("style")||"")}),t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?e('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),(t.options.centerMode===!0||t.options.swipeToSlide===!0)&&(t.options.slidesToScroll=1),e("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),t.options.draggable===!0&&t.$list.addClass("draggable")},t.prototype.buildRows=function(){var e,t,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),e=0;r>e;e++){var l=document.createElement("div");for(t=0;t<s.options.rows;t++){var u=document.createElement("div");for(n=0;n<s.options.slidesPerRow;n++){var c=e*a+(t*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"})}},t.prototype.checkResponsive=function(t,n){var i,r,o,a=this,s=!1,l=a.$slider.width(),u=window.innerWidth||e(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=e.extend({},a.originalSettings,a.breakpointSettings[r]),t===!0&&(a.currentSlide=a.options.initialSlide),a.refresh(t)),s=r):(a.activeBreakpoint=r,"unslick"===a.breakpointSettings[r]?a.unslick(r):(a.options=e.extend({},a.originalSettings,a.breakpointSettings[r]),t===!0&&(a.currentSlide=a.options.initialSlide),a.refresh(t)),s=r):null!==a.activeBreakpoint&&(a.activeBreakpoint=null,a.options=a.originalSettings,t===!0&&(a.currentSlide=a.options.initialSlide),a.refresh(t),s=r),t||s===!1||a.$slider.trigger("breakpoint",[a,s])}},t.prototype.changeSlide=function(t,n){var i,r,o,a=this,s=e(t.target);switch(s.is("a")&&t.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,t.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===t.data.index?0:t.data.index||s.index()*a.options.slidesToScroll;a.slideHandler(a.checkNavigable(l),!1,n),s.children().trigger("focus");break;default:return}},t.prototype.checkNavigable=function(e){var t,n,i=this;if(t=i.getNavigableIndexes(),n=0,e>t[t.length-1])e=t[t.length-1];else for(var r in t){if(e<t[r]){e=n;break}n=t[r]}return e},t.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&null!==t.$dots&&(e("li",t.$dots).off("click.slick",t.changeSlide),t.options.pauseOnDotsHover===!0&&t.options.autoplay===!0&&e("li",t.$dots).off("mouseenter.slick",e.proxy(t.setPaused,t,!0)).off("mouseleave.
111slick",e.proxy(t.setPaused,t,!1))),t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide)),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),e(document).off(t.visibilityChange,t.visibility),t.$list.off("mouseenter.slick",e.proxy(t.setPaused,t,!0)),t.$list.off("mouseleave.slick",e.proxy(t.setPaused,t,!1)),t.options.accessibility===!0&&t.$list.off("keydown.slick",t.keyHandler),t.options.focusOnSelect===!0&&e(t.$slideTrack).children().off("click.slick",t.selectHandler),e(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),e(window).off("resize.slick.slick-"+t.instanceUid,t.resize),e("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),e(window).off("load.slick.slick-"+t.instanceUid,t.setPosition),e(document).off("ready.slick.slick-"+t.instanceUid,t.setPosition)},t.prototype.cleanUpRows=function(){var e,t=this;t.options.rows>1&&(e=t.$slides.children().children(),e.removeAttr("style"),t.$slider.html(e))},t.prototype.clickHandler=function(e){var t=this;t.shouldClick===!1&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())},t.prototype.destroy=function(t){var n=this;n.autoPlayClear(),n.touchObject={},n.cleanUpEvents(),e(".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(){e(this).attr("style",e(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,t||n.$slider.trigger("destroy",[n])},t.prototype.disableTransition=function(e){var t=this,n={};n[t.transitionType]="",t.options.fade===!1?t.$slideTrack.css(n):t.$slides.eq(e).css(n)},t.prototype.fadeSlide=function(e,t){var n=this;n.cssTransitions===!1?(n.$slides.eq(e).css({zIndex:n.options.zIndex}),n.$slides.eq(e).animate({opacity:1},n.options.speed,n.options.easing,t)):(n.applyTransition(e),n.$slides.eq(e).css({opacity:1,zIndex:n.options.zIndex}),t&&setTimeout(function(){n.disableTransition(e),t.call()},n.options.speed))},t.prototype.fadeSlideOut=function(e){var t=this;t.cssTransitions===!1?t.$slides.eq(e).animate({opacity:0,zIndex:t.options.zIndex-2},t.options.speed,t.options.easing):(t.applyTransition(e),t.$slides.eq(e).css({opacity:0,zIndex:t.options.zIndex-2}))},t.prototype.filterSlides=t.prototype.slickFilter=function(e){var t=this;null!==e&&(t.$slidesCache=t.$slides,t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.filter(e).appendTo(t.$slideTrack),t.reinit())},t.prototype.getCurrent=t.prototype.slickCurrentSlide=function(){var e=this;return e.currentSlide},t.prototype.getDotCount=function(){var e=this,t=0,n=0,i=0;if(e.options.infinite===!0)for(;t<e.slideCount;)++i,t=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else if(e.options.centerMode===!0)i=e.slideCount;else for(;t<e.slideCount;)++i,t=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return i-1},t.prototype.getLeft=function(e){var t,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&&e+r.options.slidesToScroll>r.slideCount&&r.slideCount>r.options.slidesToShow&&(e>r.slideCount?(r.slideOffset=(r.options.slidesToShow-(e-r.slideCount))*r.slideWidth*-1,o=(r.options.slidesToShow-(e-r.slideCount))*n*-1):(r.slideOffset=r.slideCount%r.options.slidesToScroll*r.slideWidth*-1,o=r.slideCount%r.options.slidesToScroll*n*-1))):e+r.options.slidesToShow>r.slideCount&&(r.slideOffset=(e+r.options.slidesToShow-r.slideCount)*r.slideWidth,o=(e+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)),t=r.options.vertical===!1?e*r.slideWidth*-1+r.slideOffset:e*n*-1+o,r.options.variableWidth===!0&&(i=r.slideCount<=r.options.slidesToShow||r.options.infinite===!1?r.$slideTrack.children(".slick-slide").eq(e):r.$slideTrack.children(".slick-slide").eq(e+r.options.slidesToShow),t=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(e):r.$slideTrack.children(".slick-slide").eq(e+r.options.slidesToShow+1),t=r.options.rtl===!0?i[0]?-1*(r.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,t+=(r.$list.width()-i.outerWidth())/2)),t 112},t.prototype.getOption=t.prototype.slickGetOption=function(e){var t=this;return t.options[e]},t.prototype.getNavigableIndexes=function(){var e,t=this,n=0,i=0,r=[];for(t.options.infinite===!1?e=t.slideCount:(n=-1*t.options.slidesToScroll,i=-1*t.options.slidesToScroll,e=2*t.slideCount);e>n;)r.push(n),n=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return r},t.prototype.getSlick=function(){return this},t.prototype.getSlideCount=function(){var t,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(t,o){return o.offsetLeft-i+e(o).outerWidth()/2>-1*r.swipeLeft?(n=o,!1):void 0}),t=Math.abs(e(n).attr("data-slick-index")-r.currentSlide)||1):r.options.slidesToScroll},t.prototype.goTo=t.prototype.slickGoTo=function(e,t){var n=this;
vendor: 21,803 bytes, line 112
112n.changeSlide({data:{message:"index",index:parseInt(e)}},t)},t.prototype.init=function(t){var n=this;e(n.$slider).hasClass("slick-initialized")||(e(n.$slider).addClass("slick-initialized"),n.buildRows(),n.buildOut(),n.setProps(),n.startLoad(),n.loadSlider(),n.initializeEvents(),n.updateArrows(),n.updateDots()),t&&n.$slider.trigger("init",[n]),n.options.accessibility===!0&&n.initADA()},t.prototype.initArrowEvents=function(){var e=this;e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.on("click.slick",{message:"previous"},e.changeSlide),e.$nextArrow.on("click.slick",{message:"next"},e.changeSlide))},t.prototype.initDotEvents=function(){var t=this;t.options.dots===!0&&t.slideCount>t.options.slidesToShow&&e("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),t.options.dots===!0&&t.options.pauseOnDotsHover===!0&&t.options.autoplay===!0&&e("li",t.$dots).on("mouseenter.slick",e.proxy(t.setPaused,t,!0)).on("mouseleave.slick",e.proxy(t.setPaused,t,!1))},t.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"},t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),e(document).on(t.visibilityChange,e.proxy(t.visibility,t)),t.$list.on("mouseenter.slick",e.proxy(t.setPaused,t,!0)),t.$list.on("mouseleave.slick",e.proxy(t.setPaused,t,!1)),t.options.accessibility===!0&&t.$list.on("keydown.slick",t.keyHandler),t.options.focusOnSelect===!0&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),e(window).on("orientationchange.slick.slick-"+t.instanceUid,e.proxy(t.orientationChange,t)),e(window).on("resize.slick.slick-"+t.instanceUid,e.proxy(t.resize,t)),e("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault),e(window).on("load.slick.slick-"+t.instanceUid,t.setPosition),e(document).on("ready.slick.slick-"+t.instanceUid,t.setPosition)},t.prototype.initUI=function(){var e=this;e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.show(),e.$nextArrow.show()),e.options.dots===!0&&e.slideCount>e.options.slidesToShow&&e.$dots.show(),e.options.autoplay===!0&&e.autoPlay()},t.prototype.keyHandler=function(e){var t=this;e.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===e.keyCode&&t.options.accessibility===!0?t.changeSlide({data:{message:"previous"}}):39===e.keyCode&&t.options.accessibility===!0&&t.changeSlide({data:{message:"next"}}))},t.prototype.lazyLoad=function(){function t(t){e("img[data-lazy]",t).each(function(){var t=e(this),n=e(this).attr("data-lazy"),i=document.createElement("img");i.onload=function(){t.animate({opacity:0},100,function(){t.attr("src",n).animate({opacity:1},200,function(){t.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),t(n),a.slideCount<=a.options.slidesToShow?(i=a.$slider.find(".slick-slide"),t(i)):a.currentSlide>=a.slideCount-a.options.slidesToShow?(i=a.$slider.find(".slick-cloned").slice(0,a.options.slidesToShow),t(i)):0===a.currentSlide&&(i=a.$slider.find(".slick-cloned").slice(-1*a.options.slidesToShow),t(i))},t.prototype.loadSlider=function(){var e=this;e.setPosition(),e.$slideTrack.css({opacity:1}),e.$slider.removeClass("slick-loading"),e.initUI(),"progressive"===e.options.lazyLoad&&e.progressiveLazyLoad()},t.prototype.next=t.prototype.slickNext=function(){var e=this;e.changeSlide({data:{message:"next"}})},t.prototype.orientationChange=function(){var e=this;e.checkResponsive(),e.setPosition()},t.prototype.pause=t.prototype.slickPause=function(){var e=this;e.autoPlayClear(),e.paused=!0},t.prototype.play=t.prototype.slickPlay=function(){var e=this;e.paused=!1,e.autoPlay()},t.prototype.postSlide=function(e){var t=this;t.$slider.trigger("afterChange",[t,e]),t.animating=!1,t.setPosition(),t.swipeLeft=null,t.options.autoplay===!0&&t.paused===!1&&t.autoPlay(),t.options.accessibility===!0&&t.initADA()},t.prototype.prev=t.prototype.slickPrev=function(){var e=this;e.changeSlide({data:{message:"previous"}})},t.prototype.preventDefault=function(e){e.preventDefault()},t.prototype.progressiveLazyLoad=function(){var t,n,i=this;t=e("img[data-lazy]",i.$slider).length,t>0&&(n=e("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()}))},t.prototype.refresh=function(t){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),e.extend(r,r.initials,{currentSlide:n}),r.init(),t||r.changeSlide({data:{message:"index",index:n}},!1)},t.prototype.registerBreakpoints=function(){var t,n,i,r=this,o=r.options.responsive||null;if("array"===e.type(o)&&o.length){r.respondTo=r.options.respondTo||"window";for(t in o)if(i=r.breakpoints.length-1,n=o[t].breakpoint,o.hasOwnProperty(t)){for(;i>=0;)r.breakpoints[i]&&r.breakpoints[i]===n&&r.breakpoints.splice(i,1),i--;r.breakpoints.push(n),r.breakpointSettings[n]=o[t].settings}r.breakpoints.sort(function(e,t){return r.options.mobileFirst?e-t:t-e})}},t.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.registerBreakpoints(),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.checkResponsive(!1,!0),t.options.focusOnSelect===!0&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),t.setSlideClasses(0),t.setPosition(),t.$slider.trigger("reInit",[t]),t.options.autoplay===!0&&t.focusHandler()},t.prototype.resize=function(){var t=this;e(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout(function(){t.windowWidth=e(window).width(),t.checkResponsive(),t.unslicked||t.setPosition()},50))},t.prototype.removeSlide=t.prototype.slickRemove=function(e,t,n){var i=this;return"boolean"==typeof e?(t=e,e=t===!0?0:i.slideCount-1):e=t===!0?--e:e,i.slideCount<1||0>e||e>i.slideCount-1?!1:(i.unload(),n===!0?i.$slideTrack.children().remove():i.$slideTrack.children(this.options.slide).eq(e).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,i.reinit(),void 0)},t.prototype.setCSS=function(e){var t,n,i=this,r={};i.options.rtl===!0&&(e=-e),t="left"==i.positionProp?Math.ceil(e)+"px":"0px",n="top"==i.positionProp?Math.ceil(e)+"px":"0px",r[i.positionProp]=e,i.transformsEnabled===!1?i.$slideTrack.css(r):(r={},i.cssTransitions===!1?(r[i.animType]="translate("+t+", "+n+")",i.$slideTrack.css(r)):(r[i.animType]="translate3d("+t+", "+n+", 0px)",i.$slideTrack.css(r)))},t.prototype.setDimensions=function(){var e=this;e.options.vertical===!1?e.options.centerMode===!0&&e.$list.css({padding:"0px "+e.options.centerPadding}):(e.$list.height(e.$slides.first().outerHeight(!0)*e.options.slidesToShow),e.options.centerMode===!0&&e.$list.css({padding:e.options.centerPadding+" 0px"})),e.listWidth=e.$list.width(),e.listHeight=e.$list.height(),e.options.vertical===!1&&e.options.variableWidth===!1?(e.slideWidth=Math.ceil(e.listWidth/e.options.slidesToShow),e.$slideTrack.width(Math.ceil(e.slideWidth*e.$slideTrack.children(".slick-slide").length))):e.options.variableWidth===!0?e.$slideTrack.width(5e3*e.slideCount):(e.slideWidth=Math.ceil(e.listWidth),e.$slideTrack.height(Math.ceil(e.$slides.first().outerHeight(!0)*e.$slideTrack.children(".slick-slide").length)));var t=e.$slides.first().outerWidth(!0)-e.$slides.first().width();e.options.variableWidth===!1&&e.$slideTrack.children(".slick-slide").width(e.slideWidth-t)},t.prototype.setFade=function(){var t,n=this;n.$slides.each(function(i,r){t=n.slideWidth*i*-1,n.options.rtl===!0?e(r).css({position:"relative",right:t,top:0,zIndex:n.options.zIndex-2,opacity:0}):e(r).css({position:"relative",left:t,top:0,zIndex:n.options.zIndex-2,opacity:0})}),n.$slides.eq(n.currentSlide).css({zIndex:n.options.zIndex-1,opacity:1})},t.prototype.setHeight=function(){var e=this;if(1===e.options.slidesToShow&&e.options.adaptiveHeight===!0&&e.options.vertical===!1){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.css("height",t)}},t.prototype.setOption=t.prototype.slickSetOption=function(t,n,i){var r,o,a=this;if("responsive"===t&&"array"===e.type(n))for(o in n)if("array"!==e.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[t]=n;i===!0&&(a.unload(),a.reinit())},t.prototype.setPosition=function(){var e=this;e.setDimensions(),e.setHeight(),e.options.fade===!1?e.setCSS(e.getLeft(e.currentSlide)):e.setFade(),e.$slider.trigger("setPosition",[e])},t.prototype.setProps=function(){var e=this,t=document.body.style;e.positionProp=e.options.vertical===!0?"top":"left","top"===e.positionProp?e.$slider.addClass("slick-vertical"):e.$slider.removeClass("slick-vertical"),(void 0!==t.WebkitTransition||void 0!==t.MozTransition||void 0!==t.msTransition)&&e.options.useCSS===!0&&(e.cssTransitions=!0),e.options.fade&&("number"==typeof e.options.zIndex?e.options.zIndex<3&&(e.options.zIndex=3):e.options.zIndex=e.defaults.zIndex),void 0!==t.OTransform&&(e.animType="OTransform",e.transformType="-o-transform",e.transitionType="OTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.MozTransform&&(e.animType="MozTransform",e.transformType="-moz-transform",e.transitionType="MozTransition",void 0===t.perspectiveProperty&&void 0===t.MozPerspective&&(e.animType=!1)),void 0!==t.webkitTransform&&(e.animType="webkitTransform",e.transformType="-webkit-transform",e.transitionType="webkitTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.msTransform&&(e.animType="msTransform",e.transformType="-ms-transform",e.transitionType="msTransition",void 0===t.msTransform&&(e.animType=!1)),void 0!==t.transform&&e.animType!==!1&&(e.animType="transform",e.transformType="transform",e.transitionType="transition"),e.transformsEnabled=e.options.useTransform&&null!==e.animType&&e.animType!==!1},t.prototype.setSlideClasses=function(e){var t,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(e).addClass("slick-current"),o.options.centerMode===!0?(t=Math.floor(o.options.slidesToShow/2),o.options.infinite===!0&&(e>=t&&e<=o.slideCount-1-t?o.$slides.slice(e-t,e+t+1).addClass("slick-active").attr("aria-hidden","false"):(i=o.options.slidesToShow+e,n.slice(i-t+1,i+t+2).addClass("slick-active").attr("aria-hidden","false")),0===e?n.eq(n.length-1-o.options.slidesToShow).addClass("slick-center"):e===o.slideCount-1&&n.eq(o.options.slidesToShow).addClass("slick-center")),o.$slides.eq(e).addClass("slick-center")):e>=0&&e<=o.slideCount-o.options.slidesToShow?o.$slides.slice(e,e+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+e:e,o.options.slidesToShow==o.options.slidesToScroll&&o.slideCount-e<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()},t.prototype.setupInfinite=function(){var t,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,t=r.slideCount;t>r.slideCount-i;t-=1)n=t-1,e(r.$slides[n]).clone(!0).attr("id","").attr("data-slick-index",n-r.slideCount).prependTo(r.$slideTrack).addClass("slick-cloned");for(t=0;i>t;t+=1)n=t,e(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(){e(this).attr("id","")})}},t.prototype.setPaused=function(e){var t=this;t.options.autoplay===!0&&t.options.pauseOnHover===!0&&(t.paused=e,e?t.autoPlayClear():t.autoPlay())},t.prototype.selectHandler=function(t){var n=this,i=e(t.target).is(".slick-slide")?e(t.target):e(t.target).parents(".slick-slide"),r=parseInt(i.attr("data-slick-index"));return r||(r=0),n.slideCount<=n.options.slidesToShow?(n.setSlideClasses(r),n.asNavFor(r),void 0):(n.slideHandler(r),void 0)},t.prototype.slideHandler=function(e,t,n){var i,r,o,a,s=null,l=this;return t=t||!1,l.animating===!0&&l.options.waitForAnimate===!0||l.options.fade===!0&&l.currentSlide===e||l.slideCount<=l.options.slidesToShow?void 0:(t===!1&&l.asNavFor(e),i=e,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>e||e>l.getDotCount()*l.options.slidesToScroll)?(l.options.fade===!1&&(i=l.currentSlide,n!==!0?l.animateSlide(a,function(){l.postSlide(i)}):l.postSlide(i)),void 0):l.options.infinite===!1&&l.options.centerMode===!0&&(0>e||e>l.slideCount-l.options.slidesToScroll)?(l.options.fade===!1&&(i=l.currentSlide,n!==!0?l.animateSlide(a,function(){l.postSlide(i)}):l.postSlide(i)),void 0):(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),l.animateHeight(),void 0):(n!==!0?l.animateSlide(s,function(){l.postSlide(r)}):l.postSlide(r),void 0)))},t.prototype.startLoad=function(){var e=this;e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.hide(),e.$nextArrow.hide()),e.options.dots===!0&&e.slideCount>e.options.slidesToShow&&e.$dots.hide(),e.$slider.addClass("slick-loading")},t.prototype.swipeDirection=function(){var e,t,n,i,r=this;return e=r.touchObject.startX-r.touchObject.curX,t=r.touchObject.startY-r.touchObject.curY,n=Math.atan2(t,e),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"},t.prototype.swipeEnd=function(){var e,t=this;if(t.dragging=!1,t.shouldClick=t.touchObject.swipeLength>10?!1:!0,void 0===t.touchObject.curX)return!1;if(t.touchObject.edgeHit===!0&&t.$slider.trigger("edge",[t,t.swipeDirection()]),t.touchObject.swipeLength>=t.touchObject.minSwipe)switch(t.swipeDirection()){case"left":e=t.options.swipeToSlide?t.checkNavigable(t.currentSlide+t.getSlideCount()):t.currentSlide+t.getSlideCount(),t.slideHandler(e),t.currentDirection=0,t.touchObject={},t.$slider.trigger("swipe",[t,"left"]);break;case"right":e=t.options.swipeToSlide?t.checkNavigable(t.currentSlide-t.getSlideCount()):t.currentSlide-t.getSlideCount(),t.slideHandler(e),t.currentDirection=1,t.touchObject={},t.$slider.trigger("swipe",[t,"right"])}else t.touchObject.startX!==t.touchObject.curX&&(t.slideHandler(t.currentSlide),t.touchObject={})},t.prototype.swipeHandler=function(e){var t=this;if(!(t.options.swipe===!1||"ontouchend"in document&&t.options.swipe===!1||t.options.draggable===!1&&-1!==e.type.indexOf("mouse")))switch(t.touchObject.fingerCount=e.originalEvent&&void 0!==e.originalEvent.touches?e.originalEvent.touches.length:1,t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold,t.options.verticalSwiping===!0&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold),e.data.action){case"start":t.swipeStart(e);break;case"move":t.swipeMove(e);break;case"end":t.swipeEnd(e)}},t.prototype.swipeMove=function(e){var t,n,i,r,o,a=this;return o=void 0!==e.originalEvent?e.originalEvent.touches:null,!a.dragging||o&&1!==o.length?!1:(t=a.getLeft(a.currentSlide),a.touchObject.curX=void 0!==o?o[0].pageX:e.clientX,a.touchObject.curY=void 0!==o?o[0].pageY:e.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!==e.originalEvent&&a.touchObject.swipeLength>4&&e.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?t+i*r:t+i*(a.$list.height()/a.listWidth)*r,a.options.verticalSwiping===!0&&(a.swipeLeft=t+i*r),a.options.fade===!0||a.options.touchMove===!1?!1:a.animating===!0?(a.swipeLeft=null,!1):(a.setCSS(a.swipeLeft),void 0)):void 0)},t.prototype.swipeStart=function(e){var t,n=this;return 1!==n.touchObject.fingerCount||n.slideCount<=n.options.slidesToShow?(n.touchObject={},!1):(void 0!==e.originalEvent&&void 0!==e.originalEvent.touches&&(t=e.originalEvent.touches[0]),n.touchObject.startX=n.touchObject.curX=void 0!==t?t.pageX:e.clientX,n.touchObject.startY=n.touchObject.curY=void 0!==t?t.pageY:e.clientY,n.dragging=!0,void 0)},t.prototype.unfilterSlides=t.prototype.slickUnfilter=function(){var e=this;null!==e.$slidesCache&&(e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.appendTo(e.$slideTrack),e.reinit())},t.prototype.unload=function(){var t=this;e(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove(),t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},t.prototype.unslick=function(e){var t=this;t.$slider.trigger("unslick",[t,e]),t.destroy()},t.prototype.updateArrows=function(){var e,t=this;e=Math.floor(t.options.slidesToShow/2),t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&!t.options.infinite&&(t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===t.currentSlide?(t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):t.currentSlide>=t.slideCount-t.options.slidesToShow&&t.options.centerMode===!1?(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):t.currentSlide>=t.slideCount-1&&t.options.centerMode===!0&&(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},t.prototype.updateDots=function(){var e=this;null!==e.$dots&&(e.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),e.$dots.find("li").eq(Math.floor(e.currentSlide/e.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))},t.prototype.visibility=function(){var e=this;document[e.hidden]?(e.paused=!0,e.autoPlayClear()):e.options.autoplay===!0&&(e.paused=!1,e.autoPlay())},t.prototype.initADA=function(){var t=this;t.$slides.add(t.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),t.$slideTrack.attr("role","listbox"),t.$slides.not(t.$slideTrack.find(".slick-cloned")).each(function(n){e(this).attr({role:"option","aria-describedby":"slick-slide"+t.instanceUid+n})}),null!==t.$dots&&t.$dots.attr("role","tablist").find("li").each(function(n){e(this).attr({role:"presentation","aria-selected":"false","aria-controls":"navigation"+t.instanceUid+n,id:"slick-slide"+t.instanceUid+n})}).first().attr("aria-selected","true").end().find("button").attr("role","button").end().closest("div").attr("role","toolbar"),t.activateADA()},t.prototype.activateADA=function(){var e=this;e.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})}
112,t.prototype.focusHandler=function(){var t=this;t.$slider.on("focus.slick blur.slick","*",function(n){n.stopImmediatePropagation();var i=e(this);setTimeout(function(){t.isPlay&&(i.is(":focus")?(t.autoPlayClear(),t.paused=!0):(t.paused=!1,t.autoPlay()))},0)})},e.fn.slick=function(){var e,n,i=this,r=arguments[0],o=Array.prototype.slice.call(arguments,1),a=i.length;for(e=0;a>e;e++)if("object"==typeof r||"undefined"==typeof r?i[e].slick=new t(i[e],r):n=i[e].slick[r].apply(i[e].slick,o),"undefined"!=typeof n)return n;return i}}),function(){!function(e){var t;return t=function(){function t(t){console.log("called uliza player"),this.$el=e(t),this.targetOrigin="https://player-api.p.uliza.jp",this.loaded=!1,"complete"===document.readyState?this.onLoadHandler():window.addEventListener("load",e.proxy(this.onLoadHandler,this)),window.addEventListener("message",e.proxy(this.onMessageHandler,this))}return t.prototype.onLoadHandler=function(){if(!this.loaded){this.loaded=!0;var e;return e=this.$el[0],e.contentWindow.postMessage(e.innerHTML,this.targetOrigin)}},t.prototype.onMessageHandler=function(e){var t,n,i,r;if(e.origin===this.targetOrigin&&(n=JSON.parse(e.data),"ulizaplayer-fullscreenchange"===n.event)){if(e=document.getElementById("ulizaplayer-iframe"),n.isFullscreen){for(e.classList.add("iframe-fullscreen"),n=e.parentElement,i=[];1>t;)n?(n.classList.add("iframe-fullscreen"),i.push(n=n.parentElement)):i.push(t=1);return i}for(e.classList.remove("iframe-fullscreen"),n=e.parentElement,r=[];1>t;)n?(n.classList.remove("iframe-fullscreen"),r.push(n=n.parentElement)):r.push(t=1);return r}},t}(),e.fn.ulizaPlayer=function(n){return this.each(function(){var i,r,o;return i=e(this),r=i.data("ulizaplayer-iframe"),o="object"==typeof n&&n,r||i.data("ulizaplayer-iframe",r=new t(this,o)),i})},e(function(){return e("#ulizaplayer-iframe, .ulizaplayer-iframe").ulizaPlayer()})}(window.$)}.call(this),window.__recaptcha_submitted=window.__recaptcha_submitted||!1,function(){this.Ga4Event=function(){function e(){}return e.items=[],e.itemData=function(e,t,n,i,r){return{item_id:e,item_name:t,item_brand:n,currency:"JPY",quantity:r,price:i}},e.addItem=function(e){return this.containsItem(e.id)===!1?this.items.push(e):this.updateItem(e)},e.removeItem=function(e){var t,n,i,r;i=this.items,r=[];for(t in i)n=i[t],e.item_id===n.item_id?r.push(this.items.splice(t,1)):r.push(void 0);return r},e.containsItem=function(e){var t,n,i;if(void 0===this.items)return!1;i=this.items;for(t in i)if(n=i[t],e===n.item_id)return!0;return!1},e.updateItem=function(e){var t,n,i,r;i=this.items,r=[];for(t in i)n=i[t],e.item_id===n.item_id?r.push(n.quantity=e.price):r.push(void 0);return r},e.getItems=function(){return this.items},e}()}.call(this),function(){window.console&&console.log||!function(){var e,t,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"],t=n.length,e=window.console={},r=[];t--;)r.push(e[n[t]]=i);return r}()}.call(this),function(){$(".js-dashboardContentMore").length&&$(".dashboard-content-wrap").length&&$(".js-dashboardContentMore").on("click",function(){var e;return e=$(this).parents(".dashboard-content-wrap"),e.toggleClass("is-open")})}.call(this),function(){!function(e){var t,n;return n=function(e){return'<p class="form-error-message">'+e+"</p>"},e.showErrorMessage=function(t,i,r){var o,a,s,l,u,c;return null==i&&(i=[]),null==r&&(r=null),u='<div class="alert alert-danger">',"object"===e.type(t)?e.each(t,function(){return function(t,n){return e.showErrorMessage(n,i.concat([t]),r)}}(this)):("Crowdfunding::Order"===i[0]&&(i[0]=i[0].split("::").join("_").toLowerCase()),c=i.join("_").toLowerCase().replace(/(.*)::/,""),r||(r=e("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=e(u).appendTo(a))):o=e(u).appendTo(l),o.append(n(t))):(a=r.find(".panel-body, .modal
112-body, .card-body"),o=e(u).appendTo(a),o.append(n(t))))},t=function(){function t(t){this.$el=e(t),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",e.proxy(this.submit,this))}return t.prototype.submit=function(t){var n,i;return this.authorized?(i=1e3,this.$image.each(function(t,n){var r;return r=e(n),r.attr("src",r.data("src")),r.data("wait")>i?i=parseInt(r.data("wait")):void 0}),n=e(t.currentTarget),n.prop("disabled",!0),setTimeout(function(e){return function(){return e.$form.submit()}}(this),i),!1):this.$form.submit()},e.fn.gacha=function(n){return this.each(function(){var i,r,o;return i=e(this),r=i.data("gacha"),o="object"==typeof n&&n,r||i.data("gacha",r=new t(this,o)),i})},t}()}(window.$),$(function(){return $("a.disabled").on("click",function(){return!1}),$('[data-remote="true"]').each(function(e,t){var n;return n=$(t),n.on("ajax:before",function(){}),n.on("ajax:beforeSend",function(){return n.find("[type=submit]").attr("disabled",!0)}),n.on("ajax:success",function(e,t){switch(n.find(".alert-danger").remove(),t.status){case 400:return t.errors.email_uniqueness_error&&(t.errors.User.email=t.errors.email_uniqueness_error,delete t.errors.email_uniqueness_error),$.showErrorMessage(t.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(e,t){var n,i,r;return i=$(t),n=i.find(".collapse").collapse({toggle:!1}),r=i.find("[data-toggle=radio-collapse]"),r.on("change",function(e){var t;return t=$($(e.currentTarget).closest("[data-target]").data("target")),n.not(t).collapse("hide"),t.collapse("show")})}),$("[data-toggle=collapse-check-group]").each(function(e,t){var n,i,r,o;return r=$(t),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(e){var t;return t=$($(e.currentTarget).closest("[data-target]").data("target")),t.collapse("show"),t.collapse("hide")})}),$("form .gacha").gacha(),$("form").each(function(e,t){var n,i,r,o,a;return i=$(t),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 e,t,n,i,r,o,a,s;return a=new Date,s=a.getMonth()+1,o=$("#user_year").val(),n=$("#user_month").val(),t=$("#user_day").val(),o&&n&&t?(r=parseInt(n,10),i=parseInt(t,10),e=a.getUTCFullYear()-o,(n>s||r===s&&i>a.getDate())&&e--,$(".birthday-age").text(e)):void 0})})}.call(this),function(){!function(e){var t;return t={"zip-auto":"éµä¾¿çªå·ã«è©²å½ãã使ãè¦ã¤ããã¾ããã§ãã"},e.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=e.map(c,function(t){return e('[name="'+t+'"]').last()[0]}),r=e(a[0]),o=e(a[1]),d=r.val(),f=o.val(),3===d.length&&4===f.length)return r.val(e.toOneByteAlphaNumeric(d)),o.val(e.toOneByteAlphaNumeric(f)),AjaxZip3.zip2addr(a[0],a[1],a[2],a[3],a[4]);throw""}catch(m){return s=m,e.showErrorMessage(t)}},e.toOneByteAlphaNumeric=function(e){return e.replace(/[A-Zï½-ï½ï¼-ï¼]/g,function(e){return String.fromCharCode(e.charCodeAt(0)-65248)})},e(function(){var n;return"undefined"!=typeof AjaxZip3&&(n=AjaxZip3.callback,AjaxZip3.callback=e.proxy(function(i){var r;return r=i[AjaxZip3.nzip],r?n(i):e.showErrorMessage(t)},this)),e(".zip-auto").on("click",function(t){var n,i,r;return n=e(t.currentTarget),n.closest(".form-group").find(".alert-danger").remove(),i=n.data("model"),r=n.data("shipping-type"),e.zip2addr(i,r),!1})})}(window.$)}.call(this),function(){!function(e){var t;return t=function(){function t(t){this.$el=e(t),this.$el.find("input[type=file]").fileupload({dataType:"json",add:_.bind(this.add,this),progressall:_.bind(this.progressall,this),done:_.bind(this.done,this)}),this.$cache=this.$el.find("[data-file=cache]"),this.$operation=this.$el.find(".operation"),this.$dropzone=this.$el.find(".dropzone"),this.$dropzone.on("mouseenter",_.bind(this.mouseenterHandler,this)),this.$dropzone.on("mouseleave",_.bind(this.mouseleaveHandler,this)),this.$preview=this.$el.find("[data-preview]"),this.$preview.find(".remove").on("click",_.bind(this.removeClickHandler,this)),this.$removeCheckbox=this.$preview.find(".remove").find("[type=checkbox]"),this.$el.find(".js-btn-uploader--add").on("click",_.bind(this.addClickHandler,this)),this.$actions=this.$el.find(".actions").css({display:"block"}),this.$imageEditor=this.$el.find("#image-editor"),this.$imageEditor.length||this.$actions.find('[href="#edit"]').remove()}return t.prototype.add=function(e,t){return this._removeErrors(),this.spinner=window.spinner.spin(this.$el[0]),this.$operation.hide(),t.submit()},t.prototype.progressall=function(e,t){var n;return n=parseInt(t.loaded/t.total*100,10),console.log("progress="+n)},t.prototype.done=function(t,n){var i,r;return this.spinner.stop(),r=n.result,r.errors?this._showErrors(r.errors):(i=this.$preview.find("img"),i.length||(i=e("<img>").prependTo(this.$preview)),i.attr("class","img-responsive"),i.attr("src",r.preview),i.data("original",r.src),this.$removeCheckbox.prop("checked",!1),this.$cache.length&&this.$cache.val(r.cache),this.$preview.removeClass("hidden"),this.$dropzone.addClass("hidden"))},t.prototype.mouseenterHandler=function(t){return e(t.currentTarget).addClass("over")},t.prototype.mouseleaveHandler=function(t){return e(t.currentTarget).removeClass("over") 113},t.prototype.removeClickHandler=function(){var e;return e=this.$preview.find("img"),e.removeAttr("src"),e.data("original",null),this.$el.find(".base64-image").val(null),this.$removeCheckbox.prop("checked",!0),this.$cache.length&&this.$cache.val(null),this.$operation.show(),this.$preview.addClass("hidden"),this.$dropzone.removeClass("hidden")},t.prototype.addClickHandler=function(){return this.$el.find(".fileupload").click()},t.prototype._showErrors=function(e){return _.each(e,function(e){return function(t){var n;return n="",_.each(t,function(e){return n+='<p class="form-error-message">'+e+"</p>"}),e.$el.append('<div class="errors">'+n+"</div>")}}(this))},t.prototype._removeErrors=function(){return this.$el.find(".errors").remove()},t}(),e.fn.ajaxFileUploader=function(){return this.each(function(){var n,i;return n=e(this),i=n.data("ajax-file-uploader"),i||n.data("ajax-file-uploader",i=new t(this)),n})}}(window.$)}.call(this),function(){!function(e){var t;return t=function(){function t(t){this.$el=e(t),this.url=this.$el.data("url"),this.id=this.$el.data("id"),this.$start_button=this.$el.find(".sm2_start"),this.$pause_button=this.$el.find(".sm2_pause"),this.$stop_button=this.$el.find(".sm2_stop"),this.$volume_up_button=this.$el.find(".sm2_volume_up"),this.$volume_down_button=this.$el.find(".sm2_volume_down"),this.mySound=soundManager.createSound({id:this.id,url:this.url,volume:50}),this.$start_button.on("click",_.bind(this.audioStartHandler,this)),this.$pause_button.on("click",_.bind(this.audioPauseHandler,this)),this.$stop_button.on("click",_.bind(this.audioStopHandler,this)),this.$volume_up_button.on("click",_.bind(this.audioVolumeUpHandler,this)),this.$volume_down_button.on("click",_.bind(this.audioVolumeDownHandler,this)),soundManager.setup({url:"/soundmanager2/swf/soundmanager2.swf"})}return t.prototype.audioStartHandler=function(){return!this.mySound.playState||this.mySound.paused?(this.$start_button.removeClass("btn-info"),this.$start_button.addClass("btn-warning"),this.$pause_button.removeClass("btn-warning"),this.$pause_button.addClass("btn-info"),this.audioStart()):void 0},t.prototype.audioPauseHandler=function(){return this.mySound.playState&&!this.mySound.paused?(this.$start_button.removeClass("btn-warning"),this.$start_button.addClass("btn-info"),this.$pause_button.removeClass("btn-info"),this.$pause_button.addClass("btn-warning"),this.audioPause()):void 0},t.prototype.audioStopHandler=function(){return this.$start_button.removeClass("btn-warning"),this.$start_button.addClass("btn-info"),this.$pause_button.removeClass("btn-warning"),this.$pause_button.addClass("btn-info"),this.audioStop()},t.prototype.audioStart=function(){return this.mySound.play({onfinish:_.bind(this.onFinishHandler,this)})},t.prototype.audioPause=function(){return this.mySound.pause()},t.prototype.audioStop=function(){return this.mySound.stop()},t.prototype.onFinishHandler=function(){return this.$start_button.removeClass("btn-warning"),this.$start_button.addClass("btn-info"),this.$pause_button.removeClass("btn-warning"),this.$pause_button.addClass("btn-info")},t.prototype.audioVolumeUpHandler=function(){return this.mySound.setVolume(this.mySound.volume+10)},t.prototype.audioVolumeDownHandler=function(){return this.mySound.setVolume(this.mySound.volume-10)},t}(),e.fn.audioPlayer=function(n){return this.each(function(){var i,r,o;return i=e(this),r=i.data("audio-player"),o="object"==typeof n&&n,r||i.data("audio-player",r=new t(this,o)),i})}}(window.$)}.call(this),function(e){function t(e,t,n){switch(arguments.length){case 2:return null!=e?e:t;case 3:return null!=e?e:null!=t?t:n;default:throw new Error("Implement me")}}function n(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invali
113dFormat:!1,userInvalidated:!1,iso:!1}}function i(e,t){function n(){dt.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}var i=!0;return u(function(){return i&&(n(),i=!1),t.apply(this,arguments)},t)}function r(e,t){return function(n){return f(e.call(this,n),t)}}function o(e,t){return function(n){return this.lang().ordinal(e.call(this,n),t)}}function a(){}function s(e){S(e),u(this,e)}function l(e){var t=y(e),n=t.year||0,i=t.quarter||0,r=t.month||0,o=t.week||0,a=t.day||0,s=t.hour||0,l=t.minute||0,u=t.second||0,c=t.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(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return t.hasOwnProperty("toString")&&(e.toString=t.toString),t.hasOwnProperty("valueOf")&&(e.valueOf=t.valueOf),e}function c(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&St.hasOwnProperty(t)&&(n[t]=e[t]);return n}function d(e){return 0>e?Math.ceil(e):Math.floor(e)}function f(e,t,n){for(var i=""+Math.abs(e),r=e>=0;i.length<t;)i="0"+i;return(r?n?"+":"":"-")+i}function p(e,t,n,i){var r=t._milliseconds,o=t._days,a=t._months;i=null==i?!0:i,r&&e._d.setTime(+e._d+r*n),o&&at(e,"Date",ot(e,"Date")+o*n),a&&rt(e,ot(e,"Month")+a*n),i&&dt.updateOffset(e,o||a)}function h(e){return"[object Array]"===Object.prototype.toString.call(e)}function m(e){return"[object Date]"===Object.prototype.toString.call(e)||e instanceof Date}function g(e,t,n){var i,r=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(i=0;r>i;i++)(n&&e[i]!==t[i]||!n&&w(e[i])!==w(t[i]))&&a++;return a+o}function v(e){if(e){var t=e.toLowerCase().replace(/(.)s$/,"$1");e=en[e]||tn[t]||t}return e}function y(e){var t,n,i={};for(n in e)e.hasOwnProperty(n)&&(t=v(n),t&&(i[t]=e[n]));return i}function b(t){var n,i;if(0===t.indexOf("week"))n=7,i="day";else{if(0!==t.indexOf("month"))return;n=12,i="month"}dt[t]=function(r,o){var a,s,l=dt.fn._lang[t],u=[];if("number"==typeof r&&(o=r,r=e),s=function(e){var t=dt().utc().set(i,e);return l.call(dt.fn._lang,t,r||"")},null!=o)return s(o);for(a=0;n>a;a++)u.push(s(a));return u}}function w(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=t>=0?Math.floor(t):Math.ceil(t)),n}function k(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function x(e,t,n){return et(dt([e,11,31+t-n]),t,n).week}function T(e){return C(e)?366:365}function C(e){return e%4===0&&e%100!==0||e%400===0}function S(e){var t;e._a&&-2===e._pf.overflow&&(t=e._a[yt]<0||e._a[yt]>11?yt:e._a[bt]<1||e._a[bt]>k(e._a[vt],e._a[yt])?bt:e._a[wt]<0||e._a[wt]>23?wt:e._a[kt]<0||e._a[kt]>59?kt:e._a[xt]<0||e._a[xt]>59?xt:e._a[Tt]<0||e._a[Tt]>999?Tt:-1,e._pf._overflowDayOfYear&&(vt>t||t>bt)&&(t=bt),e._pf.overflow=t)}function _(e){return null==e._isValid&&(e._isValid=!isNaN(e._d.getTime())&&e._pf.overflow<0&&!e._pf.empty&&!e._pf.invalidMonth&&!e._pf.nullInput&&!e._pf.invalidFormat&&!e._pf.userInvalidated,e._strict&&(e._isValid=e._isValid&&0===e._pf.charsLeftOver&&0===e._pf.unusedTokens.length)),e._isValid}function E(e){return e?e.toLowerCase().replace("_","-"):e}function $(e,t){return t._isUTC?dt(e).zone(t._offset||0):dt(e).local()}function D(e,t){return t.abbr=e,Ct[e]||(Ct[e]=new a),Ct[e].set(t),Ct[e]}function M(e){delete Ct[e]}function P(e){var t,n,i,r,o=0,a=function(e){if(!Ct[e]&&_t)try{require("./lang/"+e)}catch(t){}return Ct[e]};if(!e)return dt.fn._lang;if(!h(e)){if(n=a(e))return n;e=[e]}for(;o<e.length;){for(r=E(e[o]).split("-"),t=r.length,i=E(e[o+1]),i=i?i.split("-"):null;t>0;){if(n=a(r.slice(0,t).join("-")))return n;if(i&&i.length>=t&&g(r,i,!0)>=t-1)break;t--}o++}return dt.fn._lang}function A(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function j(e){var t,n,i=e.match(Mt);for(t=0,n=i.length;n>t;t++)i[t]=sn[i[t]]?sn[i[t]]:A(i[t]);return function(r){var o="";for(t=0;n>t;t++)o+=i[t]instanceof Function?i[t].call(r,e):i[t];return o}}function N(e,t){return e.isValid()?(t=O(t,e.lang()),nn[t]||(nn[t]=j(t)),nn[t](e)):e.lang().invalidDate()}function O(e,t){function n(e){return t.longDateFormat(e)||e}var i=5;for(Pt.lastIndex=0;i>=0&&Pt.test(e);)e=e.replace(Pt,n),Pt.lastIndex=0,i-=1;return e}function L(e,t){var n,i=t._strict;switch(e){case"Q":return Rt;case"DDDD":return Yt;case"YYYY":case"GGGG":case"gggg":return i?qt:Nt;case"Y":case"G":case"g":return Ut;case"YYYYYY":case"YYYYY":case"GGGGG":case"ggggg":return i?Vt:Ot;case"S":if(i)return Rt;case"SS":if(i)return Bt;case"SSS":if(i)return Yt;case"DDD":return jt;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return Ht;case"a":case"A":return P(t._l)._meridiemParse;case"X":return It;case"Z":case"ZZ":return Ft;case"T":return zt;case"SSSS":return Lt;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case"hh":case"mm":case"ss":case"ww":case"WW":return i?Bt:At;case"M":case"D":case"d":case"H":case"h":case"m":case"s":case"w":case"W":case"e":case"E":return At;case"Do":return Wt;default:return n=new RegExp(q(Y(e.replace("\\","")),"i"))}}function H(e){e=e||"";var t=e.match(Ft)||[],n=t[t.length-1]||[],i=(n+"").match(Jt)||["-",0,0],r=+(60*i[1])+w(i[2]);return"+"===i[0]?-r:r}function F(e,t,n){var i,r=n._a;switch(e){case"Q":null!=t&&(r[yt]=3*(w(t)-1));break;case"M":case"MM":null!=t&&(r[yt]=w(t)-1);break;case"MMM":case"MMMM":i=P(n._l).monthsParse(t),null!=i?r[yt]=i:n._pf.invali
113dMonth=t;break;case"D":case"DD":null!=t&&(r[bt]=w(t));break;case"Do":null!=t&&(r[bt]=w(parseInt(t,10)));break;case"DDD":case"DDDD":null!=t&&(n._dayOfYear=w(t));break;case"YY":r[vt]=dt.parseTwoDigitYear(t);break;case"YYYY":case"YYYYY":case"YYYYYY":r[vt]=w(t);break;case"a":case"A":n._isPm=P(n._l).isPM(t);break;case"H":case"HH":case"h":case"hh":r[wt]=w(t);break;case"m":case"mm":r[kt]=w(t);break;case"s":case"ss":r[xt]=w(t);break;case"S":case"SS":case"SSS":case"SSSS":r[Tt]=w(1e3*("0."+t));break;case"X":n._d=new Date(1e3*parseFloat(t));break;case"Z":case"ZZ":n._useUTC=!0,n._tzm=H(t);break;case"dd":case"ddd":case"dddd":i=P(n._l).weekdaysParse(t),null!=i?(n._w=n._w||{},n._w.d=i):n._pf.invalidWeekday=t;break;case"w":case"ww":case"W":case"WW":case"d":case"e":case"E":e=e.substr(0,1);case"gggg":case"GGGG":case"GGGGG":e=e.substr(0,2),t&&(n._w=n._w||{},n._w[e]=w(t));break;case"gg":case"GG":n._w=n._w||{},n._w[e]=dt.parseTwoDigitYear(t)}}function z(e){var n,i,r,o,a,s,l,u;n=e._w,null!=n.GG||null!=n.W||null!=n.E?(a=1,s=4,i=t(n.GG,e._a[vt],et(dt(),1,4).year),r=t(n.W,1),o=t(n.E,1)):(u=P(e._l),a=u._week.dow,s=u._week.doy,i=t(n.gg,e._a[vt],et(dt(),a,s).year),r=t(n.w,1),null!=n.d?(o=n.d,a>o&&++r):o=null!=n.e?n.e+a:a),l=tt(i,r,o,s,a),e._a[vt]=l.year,e._dayOfYear=l.dayOfYear}function I(e){var n,i,r,o,a=[];if(!e._d){for(r=R(e),e._w&&null==e._a[bt]&&null==e._a[yt]&&z(e),e._dayOfYear&&(o=t(e._a[vt],r[vt]),e._dayOfYear>T(o)&&(e._pf._overflowDayOfYear=!0),i=Z(o,0,e._dayOfYear),e._a[yt]=i.getUTCMonth(),e._a[bt]=i.getUTCDate()),n=0;3>n&&null==e._a[n];++n)e._a[n]=a[n]=r[n];for(;7>n;n++)e._a[n]=a[n]=null==e._a[n]?2===n?1:0:e._a[n];e._d=(e._useUTC?Z:X).apply(null,a),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()+e._tzm)}}function W(e){var t;e._d||(t=y(e._i),e._a=[t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond],I(e))}function R(e){var t=new Date;return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function B(e){e._a=[],e._pf.empty=!0;var t,n,i,r,o,a=P(e._l),s=""+e._i,l=s.length,u=0;for(i=O(e._f,a).match(Mt)||[],t=0;t<i.length;t++)r=i[t],n=(s.match(L(r,e))||[])[0],n&&(o=s.substr(0,s.indexOf(n)),o.length>0&&e._pf.unusedInput.push(o),s=s.slice(s.indexOf(n)+n.length),u+=n.length),sn[r]?(n?e._pf.empty=!1:e._pf.unusedTokens.push(r),F(r,n,e)):e._strict&&!n&&e._pf.unusedTokens.push(r);e._pf.charsLeftOver=l-u,s.length>0&&e._pf.unusedInput.push(s),e._isPm&&e._a[wt]<12&&(e._a[wt]+=12),e._isPm===!1&&12===e._a[wt]&&(e._a[wt]=0),I(e),S(e)}function Y(e){return e.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r})}function q(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function V(e){var t,i,r,o,a;if(0===e._f.length)return e._pf.invalidFormat=!0,e._d=new Date(0/0),void 0;for(o=0;o<e._f.length;o++)a=0,t=u({},e),t._pf=n(),t._f=e._f[o],B(t),_(t)&&(a+=t._pf.charsLeftOver,a+=10*t._pf.unusedTokens.length,t._pf.score=a,(null==r||r>a)&&(r=a,i=t));u(e,i||t)}function U(e){var t,n,i=e._i,r=Gt.exec(i);if(r){for(e._pf.iso=!0,t=0,n=Zt.length;n>t;t++)if(Zt[t][1].exec(i)){e._f=Zt[t][0]+(r[6]||" ");break}for(t=0,n=Qt.length;n>t;t++)if(Qt[t][1].exec(i)){e._f+=Qt[t][0];break}i.match(Ft)&&(e._f+="Z"),B(e)}else dt.createFromInputFallback(e)}function G(t){var n=t._i,i=Et.exec(n);n===e?t._d=new Date:i?t._d=new Date(+i[1]):"string"==typeof n?U(t):h(n)?(t._a=n.slice(0),I(t)):m(n)?t._d=new Date(+n):"object"==typeof n?W(t):"number"==typeof n?t._d=new Date(n):dt.createFromInputFallback(t)}function X(e,t,n,i,r,o,a){var s=new Date(e,t,n,i,r,o,a);return 1970>e&&s.setFullYear(e),s}function Z(e){var t=new Date(Date.UTC.apply(null,arguments));return 1970>e&&t.setUTCFullYear(e),t}function Q(e,t){if("string"==typeof e)if(isNaN(e)){if(e=t.weekdaysParse(e),"number"!=typeof e)return null}else e=parseInt(e,10);return e}function J(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}function K(e,t,n){var i=gt(Math.abs(e)/1e3),r=gt(i/60),o=gt(r/60),a=gt(o/24),s=gt(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",gt(a/30)]||1===s&&["y"]||["yy",s];return l[2]=t,l[3]=e>0,l[4]=n,J.apply({},l)}function et(e,t,n){var i,r=n-t,o=n-e.day();return o>r&&(o-=7),r-7>o&&(o+=7),i=dt(e).add("d",o),{week:Math.ceil(i.dayOfYear()/7),year:i.year()}}function tt(e,t,n,i,r){var o,a,s=Z(e,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*(t-1)+(n-r)+o+1,{year:a>0?e:e-1,dayOfYear:a>0?a:T(e-1)+a}}function nt(t){var n=t._i,i=t._f;
113return null===n||i===e&&""===n?dt.invalid({nullInput:!0}):("string"==typeof n&&(t._i=n=P().preparse(n)),dt.isMoment(n)?(t=c(n),t._d=new Date(+n._d)):i?h(i)?V(t):B(t):G(t),new s(t))}function it(e,t){var n,i;if(1===t.length&&h(t[0])&&(t=t[0]),!t.length)return dt();for(n=t[0],i=1;i<t.length;++i)t[i][e](n)&&(n=t[i]);return n}function rt(e,t){var n;return"string"==typeof t&&(t=e.lang().monthsParse(t),"number"!=typeof t)?e:(n=Math.min(e.date(),k(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e)}function ot(e,t){return e._d["get"+(e._isUTC?"UTC":"")+t]()}function at(e,t,n){return"Month"===t?rt(e,n):e._d["set"+(e._isUTC?"UTC":"")+t](n)}function st(e,t){return function(n){return null!=n?(at(this,e,n),dt.updateOffset(this,t),this):ot(this,e)}}function lt(e){dt.duration.fn[e]=function(){return this._data[e]}}function ut(e,t){dt.duration.fn["as"+e]=function(){return+this/t}}function ct(e){"undefined"==typeof ender&&(ft=mt.moment,mt.moment=e?i("Accessing Moment through the global scope is deprecated, and will be removed in an upcoming release.",dt):dt)}for(var dt,ft,pt,ht="2.6.0",mt="undefined"!=typeof global?global:this,gt=Math.round,vt=0,yt=1,bt=2,wt=3,kt=4,xt=5,Tt=6,Ct={},St={_isAMomentObject:null,_i:null,_f:null,_l:null,_strict:null,_tzm:null,_isUTC:null,_offset:null,_pf:null,_lang:null},_t="undefined"!=typeof module&&module.exports,Et=/^\/?Date\((\-?\d+)/i,$t=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Dt=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,Mt=/(\[[^\[]*\])|(\\)?(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}|X|zz?|ZZ?|.)/g,Pt=/(\[[^\[]*\])|(\\)?(LT|LL?L?L?|l{1,4})/g,At=/\d\d?/,jt=/\d{1,3}/,Nt=/\d{1,4}/,Ot=/[+\-]?\d{1,6}/,Lt=/\d+/,Ht=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Ft=/Z|[\+\-]\d\d:?\d\d/gi,zt=/T/i,It=/[\+\-]?\d+(\.\d{1,3})?/,Wt=/\d{1,2}/,Rt=/\d/,Bt=/\d\d/,Yt=/\d{3}/,qt=/\d{4}/,Vt=/[+-]?\d{6}/,Ut=/[+-]?\d+/,Gt=/^\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)?)?$/,Xt="YYYY-MM-DDTHH:mm:ssZ",Zt=[["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}/]],Qt=[["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/]],Jt=/([\+\-]|\d\d)/gi,Kt=("Date|Hours|Minutes|Seconds|Milliseconds".split("|"),{Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,Days:864e5,Months:2592e6,Years:31536e6}),en={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"},tn={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(e){return this.lang().monthsShort(this,e)},MMMM:function(e){return this.lang().months(this,e)},D:function(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){return this.day()},dd:function(e){return this.lang().weekdaysMin(this,e)},ddd:function(e){return this.lang().weekdaysShort(this,e)},dddd:function(e){return this.lang().weekdays(this,e)},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 e=this.year(),t=e>=0?"+":"-";return t+f(Math.abs(e),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 e=-this.zone(),t="+";return 0>e&&(e=-e,t="-"),t+f(w(e/60),2)+":"+f(w(e)%60,2)},ZZ:function(){var e=-this.zone(),t="+";return 0>e&&(e=-e,t="-"),t+f(w(e/60),2)+f(w(e)%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;)pt=on.pop(),sn[pt+"o"]=o(sn[pt],pt);for(;an.length;)pt=an.pop(),sn[pt+pt]=r(sn[pt],2);for(sn.DDDD=r(sn.DDD,3),u(a.prototype,{set:function(e){var t,n;for(n in e)t=e[n],"function"==typeof t?this[n]=t:this["_"+n]=t},_months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),months:function(e){return this._months[e.month()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),monthsShort:function(e){return this._monthsShort[e.month()]},monthsParse:function(e){var t,n,i;for(this._monthsParse||(this._monthsParse=[]),t=0;12>t;t++)if(this._monthsParse[t]||(n=dt.utc([2e3,t]),i="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[t]=new RegExp(i.replace(".",""),"i")),this._monthsParse[t].test(e))return t},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdays:function(e){return this._weekdays[e.day()]},_weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysShort:function(e){return this._weekdaysShort[e.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysMin:function(e){return this._weekdaysMin[e.day()]},weekdaysParse:function(e){var t,n,i;for(this._weekdaysParse||(this._weekdaysParse=[]),t=0;7>t;t++)if(this._weekdaysParse[t]||(n=dt([2e3,1]).day(t),i="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[t]=new RegExp(i.replace(".",""),"i")),this._weekdaysParse[t].test(e))return t},_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(e){var t=this._longDateFormat[e];return!t&&this._longDateFormat[e.toUpperCase()]&&(t=this._longDateFormat[e.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e]=t),t},isPM:function(e){return"p"===(e+"").toLowerCase().charAt(0)},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(e,t,n){return e>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(e,t){var n=this._calendar[e];return"function"==typeof n?n.apply(t):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(e,t,n,i){var r=this._relativeTime[n];return"function"==typeof r?r(e,t,n,i):r.replace(/%d/i,e)},pastFuture:function(e,t){var n=this._relativeTime[e>0?"future":"past"];return"function"==typeof n?n(t):n.replace(/%s/i,t)},ordinal:function(e){return this._ordinal.replace("%d",e)},_ordinal:"%d",preparse:function(e){return e},postformat:function(e){return e},week:function(e){return et(e,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},_invalidDate:"Invalid date",invalidDate:function(){return this._invalidDate}}),dt=function(t,i,r,o){var a;return"boolean"==typeof r&&(o=r,r=e),a={},a._isAMomentObject=!0,a._i=t,a._f=i,a._l=r,a._strict=o,a._isUTC=!1,a._pf=n(),nt(a)},dt.suppressDeprecationWarnings=!1,dt.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(e){e._d=new Date(e._i)}),dt.min=function(){var e=[].slice.call(arguments,0);return it("isBefore",e)},dt.max=function(){var e=[].slice.call(arguments,0);return it("isAfter",e)},dt.utc=function(t,i,r,o){var a;return"boolean"==typeof r&&(o=r,r=e),a={},a._isAMomentObject=!0,a._useUTC=!0,a._isUTC=!0,a._l=r,a._i=t,a._f=i,a._strict=o,a._pf=n(),nt(a).utc()},dt.unix=function(e){return dt(1e3*e)},dt.duration=function(e,t){var n,i,r,o=e,a=null;return dt.isDuration(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(a=$t.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:w(a[bt])*n,h:w(a[wt])*n,m:w(a[kt])*n,s:w(a[xt])*n,ms:w(a[Tt])*n}):(a=Dt.exec(e))&&(n="-"===a[1]?-1:1,r=function(e){var t=e&&parseFloat(e.replace(",","."));return(isNaN(t)?0:t)*n}
113,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),dt.isDuration(e)&&e.hasOwnProperty("_lang")&&(i._lang=e._lang),i},dt.version=ht,dt.defaultFormat=Xt,dt.momentProperties=St,dt.updateOffset=function(){},dt.relativeTimeThreshold=function(t,n){return rn[t]===e?!1:(rn[t]=n,!0)},dt.lang=function(e,t){var n;return e?(t?D(E(e),t):null===t?(M(e),e="en"):Ct[e]||P(e),n=dt.duration.fn._lang=dt.fn._lang=P(e),n._abbr):dt.fn._lang._abbr},dt.langData=function(e){return e&&e._lang&&e._lang._abbr&&(e=e._lang._abbr),P(e)},dt.isMoment=function(e){return e instanceof s||null!=e&&e.hasOwnProperty("_isAMomentObject")},dt.isDuration=function(e){return e instanceof l},pt=ln.length-1;pt>=0;--pt)b(ln[pt]);dt.normalizeUnits=function(e){return v(e)},dt.invalid=function(e){var t=dt.utc(0/0);return null!=e?u(t._pf,e):t._pf.userInvalidated=!0,t},dt.parseZone=function(){return dt.apply(null,arguments).parseZone()},dt.parseTwoDigitYear=function(e){return w(e)+(w(e)>68?1900:2e3)},u(dt.fn=s.prototype,{clone:function(){return dt(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 e=dt(this).utc();return 0<e.year()&&e.year()<=9999?N(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):N(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},toArray:function(){var e=this;return[e.year(),e.month(),e.date(),e.hours(),e.minutes(),e.seconds(),e.milliseconds()]},isValid:function(){return _(this)},isDSTShifted:function(){return this._a?this.isValid()&&g(this._a,(this._isUTC?dt.utc(this._a):dt(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(e){var t=N(this,e||dt.defaultFormat);return this.lang().postformat(t)},add:function(e,t){var n;return n="string"==typeof e?dt.duration(+t,e):dt.duration(e,t),p(this,n,1),this},subtract:function(e,t){var n;return n="string"==typeof e?dt.duration(+t,e):dt.duration(e,t),p(this,n,-1),this},diff:function(e,t,n){var i,r,o=$(e,this),a=6e4*(this.zone()-o.zone());return t=v(t),"year"===t||"month"===t?(i=432e5*(this.daysInMonth()+o.daysInMonth()),r=12*(this.year()-o.year())+(this.month()-o.month()),r+=(this-dt(this).startOf("month")-(o-dt(o).startOf("month")))/i,r-=6e4*(this.zone()-dt(this).startOf("month").zone()-(o.zone()-dt(o).startOf("month").zone()))/i,"year"===t&&(r/=12)):(i=this-o,r="second"===t?i/1e3:"minute"===t?i/6e4:"hour"===t?i/36e5:"day"===t?(i-a)/864e5:"week"===t?(i-a)/6048e5:i),n?r:d(r)},from:function(e,t){return dt.duration(this.diff(e)).lang(this.lang()._abbr).humanize(!t)},fromNow:function(e){return this.from(dt(),e)},calendar:function(e){var t=e||dt(),n=$(t,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 C(this.year())},isDST:function(){return this.zone()<this.clone().month(0).zone()||this.zone()<this.clone().month(5).zone()},day:function(e){var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Q(e,this.lang()),this.add({d:e-t})):t},month:st("Month",!0),startOf:function(e){switch(e=v(e)){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"===e?this.weekday(0):"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this},endOf:function(e){return e=v(e),this.startOf(e).add("isoWeek"===e?"week":e,1).subtract("ms",1)},isAfter:function(e,t){return t="undefined"!=typeof t?t:"millisecond",+this.clone().startOf(t)>+dt(e).startOf(t)},isBefore:function(e,t){return t="undefined"!=typeof t?t:"millisecond",+this.clone().startOf(t)<+dt(e).startOf(t)},isSame:function(e,t){return t=t||"ms",+this.clone().startOf(t)===+$(e,this).startOf(t)},min:i("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(e){return e=dt.apply(null,arguments),this>e?this:e}),max:i("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(e){return e=dt.apply(null,arguments),e>this?this:e}),zone:function(e,t){var n=this._offset||0;return null==e?this._isUTC?n:this._d.getTimezoneOffset():("string"==typeof e&&(e=H(e)),Math.abs(e)<16&&(e=60*e),this._offset=e,this._isUTC=!0,n!==e&&(!t||this._changeInProgress?p(this,dt.duration(n-e,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,dt.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(e){return e=e?dt(e).zone():0,(this.zone()-e)%60===0},daysInMonth:function(){return k(this.year(),this.month())},dayOfYear:function(e){var t=gt((dt(this).startOf("day")-dt(this).startOf("year"))/864e5)+1;return null==e?t:this.add("d",e-t)},quarter:function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},weekYear:function(e){var t=et(this,this.lang()._week.dow,this.lang()._week.doy).year;return null==e?t:this.add("y",e-t)},isoWeekYear:function(e){var t=et(this,1,4).year;return null==e?t:this.add("y",e-t)},week:function(e){var t=this.lang().week(this);return null==e?t:this.add("d",7*(e-t))},isoWeek:function(e){var t=et(this,1,4).week;return null==e?t:this.add("d",7*(e-t))},weekday:function(e){var t=(this.day()+7-this.lang()._week.dow)%7;return null==e?t:this.add("d",e-t)},isoWeekday:function(e){return null==e?this.day()||7:this.day(this.day()%7?e:e-7)},isoWeeksInYear:function(){return x(this.year(),1,4)},weeksInYear:function(){var e=this._lang._week;return x(this.year(),e.dow,e.doy)},get:function(e){return e=v(e),this[e]()},set:function(e,t){return e=v(e),"function"==typeof this[e]&&this[e](t),this},lang:function(t){return t===e?this._lang:(this._lang=P(t),this)}}
113),dt.fn.millisecond=dt.fn.milliseconds=st("Milliseconds",!1),dt.fn.second=dt.fn.seconds=st("Seconds",!1),dt.fn.minute=dt.fn.minutes=st("Minutes",!1),dt.fn.hour=dt.fn.hours=st("Hours",!0),dt.fn.date=st("Date",!0),dt.fn.dates=i("dates accessor is deprecated. Use date instead.",st("Date",!0)),dt.fn.year=st("FullYear",!0),dt.fn.years=i("years accessor is deprecated. Use year instead.",st("FullYear",!0)),dt.fn.days=dt.fn.day,dt.fn.months=dt.fn.month,dt.fn.weeks=dt.fn.week,dt.fn.isoWeeks=dt.fn.isoWeek,dt.fn.quarters=dt.fn.quarter,dt.fn.toJSON=dt.fn.toISOString,u(dt.duration.fn=l.prototype,{_bubble:function(){var e,t,n,i,r=this._milliseconds,o=this._days,a=this._months,s=this._data;s.milliseconds=r%1e3,e=d(r/1e3),s.seconds=e%60,t=d(e/60),s.minutes=t%60,n=d(t/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)},valueOf:function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12)},humanize:function(e){var t=+this,n=K(t,!e,this.lang());return e&&(n=this.lang().pastFuture(t,n)),this.lang().postformat(n)},add:function(e,t){var n=dt.duration(e,t);return this._milliseconds+=n._milliseconds,this._days+=n._days,this._months+=n._months,this._bubble(),this},subtract:function(e,t){var n=dt.duration(e,t);return this._milliseconds-=n._milliseconds,this._days-=n._days,this._months-=n._months,this._bubble(),this},get:function(e){return e=v(e),this[e.toLowerCase()+"s"]()},as:function(e){return e=v(e),this["as"+e.charAt(0).toUpperCase()+e.slice(1)+"s"]()},lang:dt.fn.lang,toIsoString:function(){var e=Math.abs(this.years()),t=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"+(e?e+"Y":"")+(t?t+"M":"")+(n?n+"D":"")+(i||r||o?"T":"")+(i?i+"H":"")+(r?r+"M":"")+(o?o+"S":""):"P0D"}});for(pt in Kt)Kt.hasOwnProperty(pt)&&(ut(pt,Kt[pt]),lt(pt.toLowerCase()));ut("Weeks",6048e5),dt.duration.fn.asMonths=function(){return(+this-31536e6*this.years())/2592e6+12*this.years()},dt.lang("en",{ordinal:function(e){var t=e%10,n=1===w(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),_t?module.exports=dt:"function"==typeof define&&define.amd?(define("moment",function(e,t,n){return n.config&&n.config()&&n.config().noGlobal===!0&&(mt.moment=ft),dt}),ct(!0)):ct()}.call(this),function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)}(function(e,t){function n(e,t){return t.longDateFormat("LT").replace(":mm","(:mm)").replace(/(\Wmm)$/,"($1)").replace(/\s*a$/i,"t")}function i(e,t){var n=t.longDateFormat("L");return n=n.replace(/^Y+[^\w\s]*|[^\w\s]*Y+$/g,""),e.isRTL?n+=" ddd":n="ddd "+n,n}function r(e){o(Et,e)}function o(t){function n(n,i){e.isPlainObject(i)&&e.isPlainObject(t[n])&&!a(n)?t[n]=o({},t[n],i):void 0!==i&&(t[n]=i)}for(var i=1;i<arguments.length;i++)e.each(arguments[i],n);return t}function a(e){return/(Time|Duration)$/.test(e)}function s(n,i){function r(e){ot?f()&&(b(),v(e)):a()}function a(){at=et.theme?"ui":"fc",n.addClass("fc"),et.isRTL?n.addClass("fc-rtl"):n.addClass("fc-ltr"),et.theme&&n.addClass("ui-widget"),ot=e("<div class='fc-content' />").prependTo(n),it=new l(J,et),rt=it.render(),rt&&n.prepend(rt),h(et.defaultView),et.handleWindowResize&&e(window).resize(k),p()||s()}function s(){setTimeout(function(){!st.start&&p()&&g() 114},0)}function c(){st&&(Q("viewDestroy",st,st,st.element),st.triggerEventDestroy()),e(window).unbind("resize",k),it.destroy(),ot.remove(),n.removeClass("fc fc-rtl ui-widget")}function f(){return n.is(":visible")}function p(){return e("body").is(":visible")}function h(e){st&&e==st.name||m(e)}function m(t){gt++,st&&(Q("viewDestroy",st,st,st.element),O(),st.triggerEventDestroy(),V(),st.element.remove(),it.deactivateButton(st.name)),it.activateButton(t),st=new Pt[t](e("<div class='fc-view fc-view-"+t+"' />").appendTo(ot),J),g(),U(),gt--}function g(e){st.start&&!e&&ct.isWithin(st.intervalStart,st.intervalEnd)||f()&&v(e)}function v(e){gt++,st.start&&(Q("viewDestroy",st,st,st.element),O(),E()),V(),e&&(ct=st.incrementDate(ct,e)),st.render(ct.clone()),w(),U(),(st.afterRe
114nder||_)(),A(),j(),Q("viewRender",st,st,st.element),gt--,$()}function y(){f()&&(O(),E(),b(),w(),S())}function b(){ut=et.contentHeight?et.contentHeight:et.height?et.height-(rt?rt.height():0)-x(ot):Math.round(ot.width()/Math.max(et.aspectRatio,.5))}function w(){void 0===ut&&b(),gt++,st.setHeight(ut),st.setWidth(ot.width()),gt--,lt=n.outerWidth()}function k(){if(!gt)if(st.start){var e=++mt;setTimeout(function(){e==mt&&!gt&&f()&<!=(lt=n.outerWidth())&&(gt++,y(),st.trigger("windowResize",ht),gt--)},200)}else s()}function T(){E(),D()}function C(e){E(),S(e)}function S(e){f()&&(st.renderEvents(vt,e),st.trigger("eventAfterAllRender"))}function E(){st.triggerEventDestroy(),st.clearEvents(),st.clearEventData()}function $(){!et.lazyFetching||ft(st.start,st.end)?D():S()}function D(){pt(st.start,st.end)}function M(e){vt=e,S()}function P(e){C(e)}function A(){it.updateTitle(st.title)}function j(){var e=J.getNow();e.isWithin(st.intervalStart,st.intervalEnd)?it.disableButton("today"):it.enableButton("today")}function N(e,t){st.select(e,t)}function O(){st&&st.unselect()}function L(){g(-1)}function H(){g(1)}function F(){ct.add("years",-1),g()}function z(){ct.add("years",1),g()}function I(){ct=J.getNow(),g()}function R(e){ct=J.moment(e),g()}function B(e){ct.add(t.duration(e)),g()}function q(){return ct.clone()}function V(){ot.css({width:"100%",height:ot.height(),overflow:"hidden"})}function U(){ot.css({width:"",height:"",overflow:""})}function G(){return J}function X(){return st}function Z(e,t){return void 0===t?et[e]:(("height"==e||"contentHeight"==e||"aspectRatio"==e)&&(et[e]=t,y()),void 0)}function Q(e,t){return et[e]?et[e].apply(t||ht,Array.prototype.slice.call(arguments,2)):void 0}var J=this;i=i||{};var K,et=o({},Et,i);K=et.lang in $t?$t[et.lang]:$t[Et.lang],K&&(et=o({},Et,K,i)),et.isRTL&&(et=o({},Et,Dt,K||{},i)),J.options=et,J.render=r,J.destroy=c,J.refetchEvents=T,J.reportEvents=M,J.reportEventChange=P,J.rerenderEvents=C,J.changeView=h,J.select=N,J.unselect=O,J.prev=L,J.next=H,J.prevYear=F,J.nextYear=z,J.today=I,J.gotoDate=R,J.incrementDate=B,J.getDate=q,J.getCalendar=G,J.getView=X,J.option=Z,J.trigger=Q;var tt=d(t.langData(et.lang));if(et.monthNames&&(tt._months=et.monthNames),et.monthNamesShort&&(tt._monthsShort=et.monthNamesShort),et.dayNames&&(tt._weekdays=et.dayNames),et.dayNamesShort&&(tt._weekdaysShort=et.dayNamesShort),null!=et.firstDay){var nt=d(tt._week);nt.dow=et.firstDay,tt._week=nt}J.defaultAllDayEventDuration=t.duration(et.defaultAllDayEventDuration),J.defaultTimedEventDuration=t.duration(et.defaultTimedEventDuration),J.moment=function(){var e;return"local"===et.timezone?(e=Mt.moment.apply(null,arguments),e.hasTime()&&e.local()):e="UTC"===et.timezone?Mt.moment.utc.apply(null,arguments):Mt.moment.parseZone.apply(null,arguments),e._lang=tt,e},J.getIsAmbigTimezone=function(){return"local"!==et.timezone&&"UTC"!==et.timezone},J.rezoneDate=function(e){return J.moment(e.toArray())},J.getNow=function(){var e=et.now;return"function"==typeof e&&(e=e()),J.moment(e)},J.calculateWeekNumber=function(e){var t=et.weekNumberCalculation;return"function"==typeof t?t(e):"local"===t?e.week():"ISO"===t.toUpperCase()?e.isoWeek():void 0},J.getEventEnd=function(e){return e.end?e.end.clone():J.getDefaultEventEnd(e.allDay,e.start)},J.getDefaultEventEnd=function(e,t){var n=t.clone();return e?n.stripTime().add(J.defaultAllDayEventDuration):n.add(J.defaultTimedEventDuration),J.getIsAmbigTimezone()&&n.stripZone(),n},J.formatRange=function(e,t,n){return"function"==typeof n&&(n=n.call(J,et,tt)),Y(e,t,n,null,et.isRTL)},J.formatDate=function(e,t){return"function"==typeof t&&(t=t.call(J,et,tt)),W(e,t)},u.call(J,et);var it,rt,ot,at,st,lt,ut,ct,dt,ft=J.isFetchNeeded,pt=J.fetchEvents,ht=n[0],mt=0,gt=0,vt=[];ct=null!=et.defaultDate?J.moment(et.defaultDate):J.getNow(),et.droppable&&e(document).bind("dragstart",function(t,n){var i=t.target,r=e(i);if(!r.parents(".fc").length){var o=et.dropAccept;(e.isFunction(o)?o.call(i,r):r.is(o))&&(dt=i,st.dragStart(dt,t,n))}}).bind("dragstop",function(e,t){dt&&(st.dragStop(dt,e,t),dt=null)})}function l(t,n){function i(){f=n.theme?"ui":"fc";var t=n.header;return t?p=e("<table class='fc-header' style='width:100%'/>").append(e("<tr/>").append(o("left")).append(o("center")).append(o("right"))):void 0}function r(){p.remove()}function o(i){var r=e("<td class='fc-header-"+i+"'/>"),o=n.header[i];return o&&e.each(o.split(" "),function(i){i>0&&r.append("<span class='fc-header-space'/>");var o;e.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(t[a]?s=t[a]:Pt[a]&&(s=function(){h.removeClass(f+"-state-hover"),t.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?M(p):u&&n.theme?"<span class='ui-icon ui-icon-"+u+"'></span>":c&&!n.theme?"<span class='fc-icon fc-icon-"+c+"'></span>":M(d||a);var h=e("<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);A(h),o||h.addClass(f+"-corner-left"),o=h}}}),o&&o.addClass(f+"-corner-right")}),r}function a(e){p.find("h2").html(e)}function s(e){p.find("span.fc-button-"+e).addClass(f+"-state-active")}function l(e){p.find("span.fc-button-"+e).removeClass(f+"-state-active")}function u(e){p.find("span.fc-button-"+e).addClass(f+"-state-disabled")}function c(e){p.find("span.fc-button-"+e).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=e([])}function u(t){function n(e,t){return!S||e.clone().stripZone()<S.clone().stripZone()||t.clone().stripZone()>_.clone().stripZone()}function i(e,t){S=e,_=t,F=[];var n=++j,i=A.length;N=i;for(var o=0;i>o;o++)r(A[o],n)}function r(e,t){o(e,function(n){if(t==j){if(n)for(var i=0;i<n.length;i++){var r=y(n[i],e);r&&F.push(r)}N--,N||D(F)}})}function o(n,i){var r,a,s=Mt.sourceFetchers;for(r=0;r<s.length;r++){if(a=s[r].call(C,n,S.clone(),_.clone(),t.timezone,i),a===!0)return;if("object"==typeof a)return o(a,i),void 0}var l=n.events;if(l)e.isFunction(l)?(g(),l.call(C,S.clone(),_.clone(),t.timezone,function(e){i(e),v()})):e.isArray(l)?i(l):i();else{var u=n.url;if(u){var c,d=n.success,f=n.error,p=n.complete;c=e.isFunction(n.data)?n.data():n.data;var h=e.extend({},c||{}),m=L(n.startParam,t.startParam),y=L(n.endParam,t.endParam),b=L(n.timezoneParam,t.timezoneParam);m&&(h[m]=S.format()),y&&(h[y]=_.format()),t.timezone&&"local"!=t.timezone&&(h[b]=t.timezone),g(),e.ajax(e.extend({},At,n,{data:h,success:function(t){t=t||[];var n=O(d,this,arguments);e.isArray(n)&&(t=n),i(t)},error:function(){O(f,this,arguments),i()},complete:function(){O(p,this,arguments),v()}}))}else i()}}function a(e){e=s(e),e&&(N++,r(e,j))}function s(t){return e.isFunction(t)||e.isArray(t)?t={events:t}
114:"string"==typeof t&&(t={url:t}),"object"==typeof t?(k(t),A.push(t),t):void 0}function l(t){A=e.grep(A,function(e){return!x(e,t)}),F=e.grep(F,function(e){return!x(e.source,t)}),D(F)}function u(e){e.start=C.moment(e.start),e.end&&(e.end=C.moment(e.end)),b(e),d(e),D(F)}function d(e){var t,n,i,r;for(t=0;t<F.length;t++)if(n=F[t],n._id==e._id&&n!==e)for(i=0;i<W.length;i++)r=W[i],void 0!==e[r]&&(n[r]=e[r])}function f(e,t){var n=y(e);n&&(n.source||(t&&(P.events.push(n),n.source=P),F.push(n)),D(F))}function h(t){var n;if(t){if(!e.isFunction(t)){var i=t+"";t=function(e){return e._id==i}}for(F=e.grep(F,t,!0),n=0;n<A.length;n++)e.isArray(A[n].events)&&(A[n].events=e.grep(A[n].events,t,!0))}else for(F=[],n=0;n<A.length;n++)e.isArray(A[n].events)&&(A[n].events=[]);D(F)}function m(t){return e.isFunction(t)?e.grep(F,t):t?(t+="",e.grep(F,function(e){return e._id==t})):F}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 t.eventDataTransform&&(n=t.eventDataTransform(n)),i&&i.eventDataTransform&&(n=i.eventDataTransform(n)),r=C.moment(n.start||n.date),r.isValid()&&(o=null,!n.end||(o=C.moment(n.end),o.isValid()))?(a=n.allDay,void 0===a&&(s=L(i?i.allDayDefault:void 0,t.allDayDefault),a=void 0!==s?s:!(r.hasTime()||o&&o.hasTime())),a?(r.hasTime()&&r.stripTime(),o&&o.hasTime()&&o.stripTime()):(r.hasTime()||(r=C.rezoneDate(r)),o&&!o.hasTime()&&(o=C.rezoneDate(o))),e.extend(l,n),i&&(l.source=i),l._id=n._id||(void 0===n.id?"_fc"+jt++: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,t.forceEventDuration&&!l.end&&(l.end=M(l)),c(l),l):void 0}function b(e,t,n){var i,r,o,a=e._allDay,s=e._start,l=e._end,u=!1;return t||n||(t=e.start,n=e.end),i=e.allDay!=a?e.allDay:!(t||n).hasTime(),i&&(t&&(t=t.clone().stripTime()),n&&(n=n.clone().stripTime())),t&&(r=i?p(t,s.clone().stripTime()):p(t,s)),i!=a?u=!0:n&&(o=p(n||C.getDefaultEventEnd(i,t||s),t||s).subtract(p(l||C.getDefaultEventEnd(a,s),s))),w(m(e._id),u,i,r,o)}function w(n,i,r,o,a){var s=C.getIsAmbigTimezone(),l=[];return e.each(n,function(e,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=C.rezoneDate(h)),m&&!m.hasTime()&&(m=C.rezoneDate(m))),m||!t.forceEventDuration&&!+a||(m=C.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 e=0;e<l.length;e++)l[e]()}}function k(e){e.className?"string"==typeof e.className&&(e.className=e.className.split(/\s+/)):e.className=[];for(var t=Mt.sourceNormalizers,n=0;n<t.length;n++)t[n].call(C,e)}function x(e,t){return e&&t&&T(e)==T(t)}function T(e){return("object"==typeof e?e.events||e.url:"")||e}var C=this;C.isFetchNeeded=n,C.fetchEvents=i,C.addEventSource=a,C.removeEventSource=l,C.updateEvent=u,C.renderEvent=f,C.removeEvents=h,C.clientEvents=m,C.mutateEvent=b;var S,_,E=C.trigger,$=C.getView,D=C.reportEvents,M=C.getEventEnd,P={events:[]},A=[P],j=0,N=0,H=0,F=[],z=t.eventSources||[];t.events&&z.push(t.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(e){e._allDay=e.allDay,e._start=e.start.clone(),e._end=e.end?e.end.clone():null}function d(e){var t=function(){};return t.prototype=e,new t}function f(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}function p(e,n){return t.duration({days:e.clone().stripTime().diff(n.clone().stripTime(),"days"),ms:e.time()-n.time()})}function h(e){return"[object Date]"===Object.prototype.toString.call(e)||e instanceof Date}function m(t,n,i){t.unbind("mouseover").mouseover(function(t){for(var r,o,a,s=t.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),e(t.target).trigger(t)),t.stopPropagation()})}function g(t,n,i){for(var r,o=0;o<t.length;o++)r=e(t[o]),r.width(Math.max(0,n-y(r,i)))}function v(t,n,i){for(var r,o=0;o<t.length;o++)r=e(t[o]),r.height(Math.max(0,n-x(r,i)))}function y(e,t){return b(e)+k(e)+(t?w(e):0)}function b(t){return(parseFloat(e.css(t[0],"paddingLeft",!0))||0)+(parseFloat(e.css(t[0],"paddingRight",!0))||0)}function w(t){return(parseFloat(e.css(t[0],"marginLeft",!0))||0)+(parseFloat(e.css(t[0],"marginRight",!0))||0)}function k(t){return(parseFloat(e.css(t[0],"borderLeftWidth",!0))||0)+(parseFloat(e.css(t[0],"borderRightWidth",!0))||0)}function x(e,t){return T(e)+S(e)+(t?C(e):0)}function T(t){return(parseFloat(e.css(t[0],"paddingTop",!0))||0)+(parseFloat(e.css(t[0],"paddingBottom",!0))||0)}function C(t){return(parseFloat(e.css(t[0],"marginTop",!0))||0)+(parseFloat(e.css(t[0],"marginBottom",!0))||0)}function S(t){return(parseFloat(e.css(t[0],"borderTopWidth",!0))||0)+(parseFloat(e.css(t[0],"borderBottomWidth",!0))||0)}function _(){}function E(e,t){return e-t}function $(e){return Math.max.apply(Math,e)}function D(e,t){if(e=e||{},void 0!==e[t])return e[t];for(var n,i=t.split(/(?=[A-Z])/),r=i.length-1;r>=0;r--)if(n=e[i[r].toLowerCase()],void 0!==n)return n;return e["default"]}function M(e){return(e+"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,""").replace(/\n/g,"<br />")}function P(e){return e.replace(/&.*?;/g,"")}function A(e){e.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return!1})}function j(e){e.children().removeClass("fc-first fc-last").filter(":first-child").addClass("fc-first").end().filter(":last-child").addClass("fc-last")}function N(e,t){var n=e.source||{},i=e.color,r=n.color,o=t("eventColor"),a=e.backgroundColor||i||n.backgroundColor||r||t("eventBackgroun
114dColor")||o,s=e.borderColor||i||n.borderColor||r||t("eventBorderColor")||o,l=e.textColor||n.textColor||t("eventTextColor"),u=[];return a&&u.push("background-color:"+a),s&&u.push("border-color:"+s),l&&u.push("color:"+l),u.join(";")}function O(t,n,i){if(e.isFunction(t)&&(t=[t]),t){var r,o;for(r=0;r<t.length;r++)o=t[r].apply(n,i)||o;return o}}function L(){for(var e=0;e<arguments.length;e++)if(void 0!==arguments[e])return arguments[e]}function H(n,i,r){var o,a,s,l,u=n[0],c=1==n.length&&"string"==typeof u;return t.isMoment(u)?(l=t.apply(null,n),u._ambigTime&&(l._ambigTime=!0),u._ambigZone&&(l._ambigZone=!0)):h(u)||void 0===u?l=t.apply(null,n):(o=!1,a=!1,c?Ot.test(u)?(u+="-01",n=[u],o=!0,a=!0):(s=Lt.exec(u))&&(o=!s[5],a=!0):e.isArray(u)&&(a=!0),l=i?t.utc.apply(t,n):t.apply(null,n),o?(l._ambigTime=!0,l._ambigZone=!0):r&&(a?l._ambigZone=!0:c&&l.zone(u))),new F(l)}function F(e){f(this,e)}function z(e){var t,n=[],i=!1,r=!1;for(t=0;t<e.length;t++)n.push(Mt.moment(e[t])),i=i||n[t]._ambigTime,r=r||n[t]._ambigZone;for(t=0;t<n.length;t++)i?n[t].stripTime():r&&n[t].stripZone();return n}function I(e,n){return t.fn.format.call(e,n)}function W(e,t){return R(e,U(t))}function R(e,t){var n,i="";for(n=0;n<t.length;n++)i+=B(e,t[n]);return i}function B(e,t){var n,i;return"string"==typeof t?t:(n=t.token)?Ht[n]?Ht[n](e):I(e,n):t.maybe&&(i=R(e,t.maybe),i.match(/[1-9]/))?i:""}function Y(e,t,n,i,r){return e=Mt.moment.parseZone(e),t=Mt.moment.parseZone(t),n=e.lang().longDateFormat(n)||n,i=i||" - ",q(e,t,U(n),i,r)}function q(e,t,n,i,r){var o,a,s,l,u="",c="",d="",f="",p="";for(a=0;a<n.length&&(o=V(e,t,n[a]),o!==!1);a++)u+=o;for(s=n.length-1;s>a&&(o=V(e,t,n[s]),o!==!1);s--)c=o+c;for(l=a;s>=l;l++)d+=B(e,n[l]),f+=B(t,n[l]);return(d||f)&&(p=r?f+i+d:d+i+f),u+p+c}function V(e,t,n){var i,r;return"string"==typeof n?n:(i=n.token)&&(r=Ft[i.charAt(0)],r&&e.isSame(t,r))?I(e,i):!1}function U(e){return e in zt?zt[e]:zt[e]=G(e)}function G(e){for(var t,n=[],i=/\[([^\]]*)\]|\(([^\)]*)\)|(LT|(\w)\4*o?)|([^\w\[\(]+)/g;t=i.exec(e);)t[1]?n.push(t[1]):t[2]?n.push({maybe:G(t[2])}):t[3]?n.push({token:t[3]}):t[5]&&n.push(t[5]);return n}function X(e,t){function n(e,t){return e.clone().stripTime().add("months",t).startOf("month")}function i(e){r.intervalStart=e.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=t.formatDate(r.intervalStart,r.opt("titleFormat")),r.renderBasic(n,r.getCellsPerWeek(),!0)}var r=this;r.incrementDate=n,r.render=i,J.call(r,e,t,"month")}function Z(e,t){function n(e,t){return e.clone().stripTime().add("weeks",t).startOf("week")}function i(e){r.intervalStart=e.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=t.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,e,t,"basicWeek")}function Q(e,t){function n(e,t){var n=e.clone().stripTime().add("days",t);return n=r.skipHiddenDays(n,0>t?-1:1)}function i(e){r.start=r.intervalStart=e.clone().stripTime(),r.end=r.intervalEnd=r.start.clone().add("days",1),r.title=t.formatDate(r.start,r.opt("titleFormat")),r.renderBasic(1,1,!1)}var r=this;r.incrementDate=n,r.render=i,J.call(r,e,t,"basicDay")}function J(t,n,i){function r(e,t,n){X=e,Z=t,Q=n,o(),F||a(),s()}function o(){it=at("theme")?"ui":"fc",rt=at("columnFormat"),ot=at("weekNumbers")}function a(){Y=e("<div class='fc-event-container' style='position:absolute;z-index:8;top:0;left:0'/>").appendTo(t)}function s(){var n=l();O&&O.remove(),O=e(n).appendTo(t),L=O.find("thead"),H=L.find(".fc-day-header"),F=O.find("tbody"),z=F.find("tr"),I=F.find(".fc-day"),W=z.find("td:first-child"),R=z.eq(0).find(".fc-day > div"),B=z.eq(0).find(".fc-day-content > div"),j(L.add(L.find("tr"))),j(z),z.eq(0).addClass("fc-first"),z.filter(":last").addClass("fc-last"),I.each(function(t,n){var i=dt(Math.floor(t/Z),t%Z);st("dayRender",N,i,e(n))}),h(I)}function l(){var e="<table class='fc-border-separate' style='width:100%' cellspacing='0'>"+u()+c()+"</table>";return e}function u(){var e,t,n=it+"-widget-header",i="";for(i+="<thead><tr>",ot&&(i+="<th class='fc-week-number "+n+"'>"+M(at("weekNumberTitle"))+"</th>"),e=0;Z>e;e++)t=dt(0,e),i+="<th class='fc-day-header fc-"+Nt[t.day()]+" "+n+"'>"+M(ht(t,rt))+"</th>";return i+="</tr></thead>"}function c(){var e,t,n,i=it+"-widget-content",r="";for(r+="<tbody>",e=0;X>e;e++){for(r+="<tr class='fc-week'>",ot&&(n=dt(e,0),r+="<td class='fc-week-number "+i+"'><div>"+M(mt(n))+"</div></td>"),t=0;Z>t;t++)n=dt(e,t),r+=d(n);r+="</tr>"}return r+="</tbody>"}function d(e){var t=N.intervalStart.month(),i=n.getNow().stripTime(),r="",o=it+"-widget-content",a=["fc-day","fc-"+Nt[e.day()],o];return e.month()!=t&&a.push("fc-other-month"),e.isSame(i,"day")?a.push("fc-today",it+"-state-highlight"):i>e?a.push("fc-past"):a.push("fc-future"),r+="<td class='"+a.join(" ")+"' data-date='"+e.format()+"'><div>",Q&&(r+="<div class='fc-day-number'>"+e.date()+"</div>"),r+="<div class='fc-day-content'><div style='position:relative'>
114 </div></div></div></td>"}function f(t){V=t;var n,i,r,o=Math.max(V-L.height(),0);"variable"==at("weekMode")?n=i=Math.floor(o/(1==X?2:6)):(n=Math.floor(o/X),i=o-n*(X-1)),W.each(function(t,o){X>t&&(r=e(o),r.find("> div").css("min-height",(t==X-1?i:n)-x(r)))})}function p(e){q=e,tt.clear(),nt.clear(),G=0,ot&&(G=L.find("th.fc-week-number").outerWidth()),U=Math.floor((q-G)/Z),g(H.slice(0,-1),U)}function h(e){e.click(m).mousedown(ct)}function m(t){if(!at("selectable")){var i=n.moment(e(this).data("date"));st("dayClick",this,i,t)}}function v(e,t,n){n&&J.build();for(var i=pt(e,t),r=0;r<i.length;r++){var o=i[r];h(y(o.row,o.leftCol,o.row,o.rightCol))}}function y(e,n,i,r){var o=J.rect(e,n,i,r,t);return lt(o,t)}function b(e){return e.clone().stripTime().add("days",1)}function w(e,t){v(e,t,!0)}function k(){ut()}function T(e,t){var n=ft(e),i=I[n.row*Z+n.col];st("dayClick",i,e,t)}function C(e,t){et.start(function(e){if(ut(),e){var t=dt(e),i=t.clone().add(n.defaultAllDayEventDuration);v(t,i)}},t)}function S(e,t,n){var i=et.stop();ut(),i&&st("drop",e,dt(i),t,n)}function _(e){return tt.left(e)}function E(e){return tt.right(e)}function $(e){return nt.left(e)}function D(e){return nt.right(e)}function P(e){return z.eq(e)}var N=this;N.renderBasic=r,N.setHeight=f,N.setWidth=p,N.renderDayOverlay=v,N.defaultSelectionEnd=b,N.renderSelection=w,N.clearSelection=k,N.reportDayClick=T,N.dragStart=C,N.dragStop=S,N.getHoverListener=function(){return et},N.colLeft=_,N.colRight=E,N.colContentLeft=$,N.colContentRight=D,N.getIsCellAllDay=function(){return!0},N.allDayRow=P,N.getRowCnt=function(){return X},N.getColCnt=function(){return Z},N.getColWidth=function(){return U},N.getDaySegmentContainer=function(){return Y},gt.call(N,t,n,i),xt.call(N),kt.call(N),K.call(N);var O,L,H,F,z,I,W,R,B,Y,q,V,U,G,X,Z,Q,J,et,tt,nt,it,rt,ot,at=N.opt,st=N.trigger,lt=N.renderOverlay,ut=N.clearOverlays,ct=N.daySelectionMousedown,dt=N.cellToDate,ft=N.dateToCell,pt=N.rangeToSegments,ht=n.formatDate,mt=n.calculateWeekNumber;A(t.addClass("fc-grid")),J=new Tt(function(t,n){var i,r,o;H.each(function(t,a){i=e(a),r=i.offset().left,t&&(o[1]=r),o=[r],n[t]=o}),o[1]=r+i.outerWidth(),z.each(function(n,a){X>n&&(i=e(a),r=i.offset().top,n&&(o[1]=r),o=[r],t[n]=o)}),o[1]=r+i.outerHeight()}),et=new Ct(J),tt=new _t(function(e){return R.eq(e)}),nt=new _t(function(e){return B.eq(e)})}function K(){function e(e,t){n.renderDayEvents(e,t)}function t(){n.getDaySegmentContainer().empty()}var n=this;n.renderEvents=e,n.clearEvents=t,vt.call(n)}function et(e,t){function n(e,t){return e.clone().stripTime().add("weeks",t).startOf("week")}function i(e){r.intervalStart=e.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=t.formatRange(r.start,r.end.clone().subtract(1),r.opt("titleFormat")," â "),r.renderAgenda(r.getCellsPerWeek())}var r=this;r.incrementDate=n,r.render=i,rt.call(r,e,t,"agendaWeek")}function tt(e,t){function n(e,t){var n=e.clone().stripTime().add("days",t);return n=r.skipHiddenDays(n,0>t?-1:1)}function i(e){r.start=r.intervalStart=e.clone().stripTime(),r.end=r.intervalEnd=r.start.clone().add("days",1),r.title=t.formatDate(r.start,r.opt("titleFormat")),r.renderAgenda(1)}var r=this;r.incrementDate=n,r.render=i,rt.call(r,e,t,"agendaDay")}function nt(e,t){return t.longDateFormat("LT").replace(":mm","(:mm)").replace(/(\Wmm)$/,"($1)").replace(/\s*a$/i,"a")}function it(e,t){return t.longDateFormat("LT").replace(/\s*a$/i,"")}function rt(n,i,r){function o(e){Et=e,a(),V?l():s()}function a(){jt=zt("theme")?"ui":"fc",Ot=zt("isRTL"),Ft=zt("columnFormat"),Lt=t.duration(zt("minTime")),Ht=t.duration(zt("maxTime")),vt=t.duration(zt("slotDuration")),bt=zt("snapDuration"),bt=bt?t.duration(bt):vt}function s(){var i,r,o,a,s=jt+"-widget-header",u=jt+"-widget-content",c=vt.asMinutes()%15===0;for(l(),tt=e("<div style='position:absolute;z-index:2;left:0;width:100%'/>").appendTo(n),zt("allDaySlot")?(nt=e("<div class='fc-event-container' style='position:absolute;z-index:8;top:0;left:0'/>").appendTo(tt),i="<table style='width:100%' class='fc-agenda-allday' cellspacing='0'><tr><th class='"+s+" fc-agenda-axis'>"+(zt("allDayHTML")||M(zt("allDayText")))+"</th><td><div class='fc-day-content'><div style='position:relative'/></div></td><th class='"+s+" fc-agenda-gutter'> </th></tr></table>",it=e(i).appendTo(tt),rt=it.find("tr"),y(rt.find("td")),tt.append("<div class='fc-agenda-divider "+s+"'><div class='fc-agenda-divider-inner'/></div>")):nt=e([]),at=e("<div style='position:absolute;width:100%;overflow-x:hidden;overflow-y:auto'/>").appendTo(tt),st=e("<div style='position:relative;width:100%;overflow:hidden'/>").appendTo(at),lt=e("<div class='fc-event-container' style='position:absolute;z-index:8;top:0;left:0'/>").appendTo(st),i="<table class='fc-agenda-slots' style='width:100%' cellspacing='0'><tbody>",r=t.duration(+Lt),$t=0;Ht>r;)o=q.start.clone().time(r),a=o.minutes(),i+="<tr class='fc-slot"+$t+" "+(a?"fc-minor":"")+"'><th class='fc-agenda-axis "+s+"'>"+(c&&a?" ":M(Zt(o,zt("axisFormat"))))+"</th><td class='"+u+"'><div style='position:relative'>
114 </div></td></tr>",r.add(vt),$t++;i+="</tbody></table>",ut=e(i).appendTo(st),b(ut.find("td"))}function l(){var t=u();V&&V.remove(),V=e(t).appendTo(n),U=V.find("thead"),G=U.find("th").slice(1,-1),X=V.find("tbody"),Z=X.find("td").slice(0,-1),Q=Z.find("> div"),J=Z.find(".fc-day-content > div"),K=Z.eq(0),et=Q.eq(0),j(U.add(U.find("tr"))),j(X.add(X.find("tr")))}function u(){var e="<table style='width:100%' class='fc-agenda-days fc-border-separate' cellspacing='0'>"+c()+d()+"</table>";return e}function c(){var e,t,n,i=jt+"-widget-header",r="";for(r+="<thead><tr>",zt("weekNumbers")?(e=Ut(0,0),t=Qt(e),Ot?t+=zt("weekNumberTitle"):t=zt("weekNumberTitle")+t,r+="<th class='fc-agenda-axis fc-week-number "+i+"'>"+M(t)+"</th>"):r+="<th class='fc-agenda-axis "+i+"'> </th>",n=0;Et>n;n++)e=Ut(0,n),r+="<th class='fc-"+Nt[e.day()]+" fc-col"+n+" "+i+"'>"+M(Zt(e,Ft))+"</th>";return r+="<th class='fc-agenda-gutter "+i+"'> </th></tr></thead>"}function d(){var e,t,n,r,o,a=jt+"-widget-header",s=jt+"-widget-content",l=i.getNow().stripTime(),u="";for(u+="<tbody><tr><th class='fc-agenda-axis "+a+"'> </th>",n="",t=0;Et>t;t++)e=Ut(0,t),o=["fc-col"+t,"fc-"+Nt[e.day()],s],e.isSame(l,"day")?o.push(jt+"-state-highlight","fc-today"):l>e?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(e){void 0===e&&(e=ft),ft=e,Jt={};var t=X.position().top,n=at.position().top,i=Math.min(e-t,ut.height()+n+1);et.height(i-x(K)),tt.css("top",t),at.height(i-n-1);var r=ut.find("tr:first").height()+1,o=ut.find("tr:eq(1)").height();yt=(r+o)/2,wt=vt/bt,St=yt/wt}function p(t){dt=t,Pt.clear(),At.clear();var n=U.find("th:first");it&&(n=n.add(it.find("th:first"))),n=n.add(ut.find("th:first")),pt=0,g(n.width("").each(function(t,n){pt=Math.max(pt,e(n).outerWidth())}),pt);var i=V.find(".fc-agenda-gutter");it&&(i=i.add(it.find("th.fc-agenda-gutter")));var r=at[0].clientWidth;mt=at.width()-r,mt?(g(i,mt),i.show().prev().removeClass("fc-last")):i.hide().prev().addClass("fc-last"),ht=Math.floor((r-pt)/Et),g(G.slice(0,-1),ht)}function h(){function e(){at.scrollTop(n)}var n=L(t.duration(zt("scrollTime")))+1;e(),setTimeout(e,0)}function m(){h()}function y(e){e.click(w).mousedown(qt)}function b(e){e.click(w).mousedown(W)}function w(e){if(!zt("selectable")){var t=Math.min(Et-1,Math.floor((e.pageX-V.offset().left-pt)/ht)),n=Ut(0,t),r=this.parentNode.className.match(/fc-slot(\d+)/);if(r){var o=parseInt(r[1],10);n.add(Lt+o*vt),n=i.rezoneDate(n),It("dayClick",Z[t],n,e)}else It("dayClick",Z[t],n,e)}}function k(e,t,n){n&&Dt.build();for(var i=Xt(e,t),r=0;r<i.length;r++){var o=i[r];y(T(o.row,o.leftCol,o.row,o.rightCol))}}function T(e,t,n,i){var r=Dt.rect(e,t,n,i,tt);return Wt(r,tt)}function C(e,t){e=e.clone().stripZone(),t=t.clone().stripZone();for(var n=0;Et>n;n++){var i=Ut(0,n),r=i.clone().add("days",1),o=e>i?e:i,a=t>r?r:t;if(a>o){var s=Dt.rect(0,n,0,n,st),l=O(o,i),u=O(a,i);s.top=l,s.height=u-l,b(Wt(s,st))}}}function S(e){return Pt.left(e)}function _(e){return At.left(e)}function $(e){return Pt.right(e)}function D(e){return At.right(e)}function P(e){return zt("allDaySlot")&&!e.row}function N(e){var n=Ut(0,e.col),r=e.row;return zt("allDaySlot")&&r--,r>=0&&(n.time(t.duration(Lt+r*bt)),n=i.rezoneDate(n)),n}function O(e,n){return L(t.duration(e.clone().stripZone()-n.clone().stripTime()))}function L(e){if(Lt>e)return 0;if(e>=Ht)return ut.height();var t=(e-Lt)/vt,n=Math.floor(t),i=t-n,r=Jt[n];void 0===r&&(r=Jt[n]=ut.find("tr").eq(n).find("td div")[0].offsetTop);var o=r-1+i*yt;return o=Math.max(o,0)}function H(e){return e.hasTime()?e.clone().add(vt):e.clone().add("days",1)}function F(e,t){e.hasTime()||t.hasTime()?z(e,t):zt("allDaySlot")&&k(e,t,!0)}function z(t,n){var i=zt("selectHelper");if(Dt.build(),i){var r=Gt(t).col;if(r>=0&&Et>r){var o=Dt.rect(0,r,0,r,st),a=O(t,t),s=O(n,t);if(s>a){if(o.top=a,o.height=s-a,o.left+=2,o.width-=5,e.isFunction(i)){var l=i(t,n);l&&(o.position="absolute",ct=e(l).css(o).appendTo(st))}else o.isStart=!0,o.isEnd=!0,ct=e(Vt({title:"",start:t,end:n,className:["fc-select-helper"],editable:!1},o)),ct.css("opacity",zt("dragOpacity"));ct&&(b(ct),st.append(ct),g(ct,o.width,!0),v(ct,o.height,!0))}}}else C(t,n)}function I(){Rt(),ct&&(ct.remove(),ct=null)}function W(t){if(1==t.which&&zt("selectable")){Yt(t);var n;Mt.start(function(e,t){if(I(),e&&e.col==t.col&&!P(e)){var i=N(t),r=N(e);n=[i,i.clone().add(bt),r,r.clone().add(bt)].sort(E),z(n[0],n[3])}else n=null},t),e(document).one("mouseup",function(e){Mt.stop(),n&&(+n[0]==+n[1]&&R(n[0],e),Bt(n[0],n[3],e))})}}function R(e,t){It("dayClick",Z[Gt(e).col],e,t)}function B(e,t){Mt.start(function(e){if(Rt(),e){var t=N(e),n=t.clone();t.hasTime()?(n.add(i.defaultTimedEventDuration),C(t,n)):(n.add(i.defaultAllDayEventDuration),k(t,n))}},t)}function Y(e,t,n){var i=Mt.stop();Rt(),i&&It("drop",e,N(i),t,n)}var q=this;
114q.renderAgenda=o,q.setWidth=p,q.setHeight=f,q.afterRender=m,q.computeDateTop=O,q.getIsCellAllDay=P,q.allDayRow=function(){return rt},q.getCoordinateGrid=function(){return Dt},q.getHoverListener=function(){return Mt},q.colLeft=S,q.colRight=$,q.colContentLeft=_,q.colContentRight=D,q.getDaySegmentContainer=function(){return nt},q.getSlotSegmentContainer=function(){return lt},q.getSlotContainer=function(){return st},q.getRowCnt=function(){return 1},q.getColCnt=function(){return Et},q.getColWidth=function(){return ht},q.getSnapHeight=function(){return St},q.getSnapDuration=function(){return bt},q.getSlotHeight=function(){return yt},q.getSlotDuration=function(){return vt},q.getMinTime=function(){return Lt},q.getMaxTime=function(){return Ht},q.defaultSelectionEnd=H,q.renderDayOverlay=k,q.renderSelection=F,q.clearSelection=I,q.reportDayClick=R,q.dragStart=B,q.dragStop=Y,gt.call(q,n,i,r),xt.call(q),kt.call(q),ot.call(q);var V,U,G,X,Z,Q,J,K,et,tt,nt,it,rt,at,st,lt,ut,ct,dt,ft,pt,ht,mt,vt,yt,bt,wt,St,Et,$t,Dt,Mt,Pt,At,jt,Ot,Lt,Ht,Ft,zt=q.opt,It=q.trigger,Wt=q.renderOverlay,Rt=q.clearOverlays,Bt=q.reportSelection,Yt=q.unselect,qt=q.daySelectionMousedown,Vt=q.slotSegHtml,Ut=q.cellToDate,Gt=q.dateToCell,Xt=q.rangeToSegments,Zt=i.formatDate,Qt=i.calculateWeekNumber,Jt={};A(n.addClass("fc-agenda")),Dt=new Tt(function(t,n){function i(e){return Math.max(l,Math.min(u,e))}var r,o,a;G.each(function(t,i){r=e(i),o=r.offset().left,t&&(a[1]=o),a=[o],n[t]=a}),a[1]=o+r.outerWidth(),zt("allDaySlot")&&(r=rt,o=r.offset().top,t[0]=[o,o+r.outerHeight()]);for(var s=st.offset().top,l=at.offset().top,u=l+at.outerHeight(),c=0;$t*wt>c;c++)t.push([i(s+St*c),i(s+St*(c+1))])}),Mt=new Ct(Dt),Pt=new _t(function(e){return Q.eq(e)}),At=new _t(function(e){return J.eq(e)})}function ot(){function n(e,t){var n,i=e.length,o=[],s=[];for(n=0;i>n;n++)e[n].allDay?o.push(e[n]):s.push(e[n]);p("allDaySlot")&&(U(o,t),k()),a(r(s),t)}function i(){T().empty(),C().empty()}function r(e){var t,n,i,r,a,s=A(),l=G(),u=X(),c=[];for(n=0;s>n;n++)for(t=P(0,n),a=o(e,t.clone().time(l),t.clone().time(u)),a=at(a),i=0;i<a.length;i++)r=a[i],r.col=n,c.push(r);return c}function o(e,t,n){t=t.clone().stripZone(),n=n.clone().stripZone();var i,r,o,a,s,l,u,c,d=[],f=e.length;for(i=0;f>i;i++)r=e[i],o=r.start.clone().stripZone(),a=K(r).stripZone(),a>t&&n>o&&(t>o?(s=t.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(mt)}function a(t,n){var i,r,o,a,u,c,d,f,g,v,b,w,k,T,S,E,M=t.length,P="",A=C(),j=p("isRTL");for(i=0;M>i;i++)r=t[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)),j?(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,P+=s(o,r);for(A[0].innerHTML=P,w=A.children(),i=0;M>i;i++)r=t[i],o=r.event,k=e(w[i]),T=h("eventRender",o,o,k),T===!1?k.remove():(T&&T!==!0&&(k.remove(),k=e(T).css({position:"absolute",top:r.top,left:r.left}).appendTo(A)),r.element=k,o._id===n?l(o,k,r):k[0]._fci=i,I(o,k));for(m(A,t,l),i=0;M>i;i++)r=t[i],(k=r.element)&&(r.vsides=x(k,!0),r.hsides=y(k,!0),S=k.find(".fc-event-title"),S.length&&(r.contentTop=S[0].offsetTop));for(i=0;M>i;i++)r=t[i],(k=r.element)&&(k[0].style.width=Math.max(0,r.outerWidth-r.hsides)+"px",E=Math.max(0,r.outerHeight-r.vsides),k[0].style.height=E+"px",o=r.event,void 0!==r.contentTop&&E-r.contentTop<10&&(k.find("div.fc-event-time").text(Q(o.start,p("timeFormat"))+" - "+o.title),k.find("div.fc-event-title").remove()),h("eventAfterRender",o,o,k)) 115}function s(e,t){var n="<",i=e.url,r=N(e,p),o=["fc-event","fc-event-vert"];return g(e)&&o.push("fc-event-draggable"),t.isStart&&o.push("fc-event-start"),t.isEnd&&o.push("fc-event-end"),o=o.concat(e.className),e.source&&(o=o.concat(e.source.className||[])),n+=i?"a href='"+M(e.url)+"'":"div",n+=" class='"+o.join(" ")+"' style='position:absolute;top:"+t.top+"px;left:"+t.left+"px;"+r+"'><div class='fc-event-inner'><div class='fc-event-time'>",n+=e.end?M(J(e.start,e.end,p("timeFormat"))):M(Q(e.start,p("timeFormat"))),n+="</
115div><div class='fc-event-title'>"+M(e.title||"")+"</div></div><div class='fc-event-bg'></div>",t.isEnd&&b(e)&&(n+="<div class='ui-resizable-handle ui-resizable-s'>=</div>"),n+="</"+(i?"a":"div")+">"}function l(e,t,n){var i=t.find("div.fc-event-time");g(e)&&c(e,t,i),n.isEnd&&b(e)&&d(e,t,i),w(e,t)}function u(e,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=j(),f=G(),m=F(),g=H(),y=L(),b=O();n.draggable({opacity:p("dragOpacity","month"),revertDuration:p("dragRevertDuration"),start:function(t,i){h("eventDragStart",n,e,t,i),R(e,n),o=n.width(),c.start(function(t,i){if(V(),t){a=!1;var o=P(0,i.col),c=P(0,t.col);s=c.diff(o,"days"),t.row?l?u&&(n.width(d-10),v(n,Z.defaultTimedEventDuration/m*g),n.draggable("option","grid",[d,1]),u=!1):a=!0:(q(e.start.clone().add("days",s),K(e).add("days",s)),r()),a=a||u&&!s}else r(),a=!0;n.draggable("option","revert",a)},t,"drag")},stop:function(i,o){if(c.stop(),V(),h("eventDragStop",n,e,i,o),a)r(),n.css("filter",""),W(e,n);else{var l,d,p=e.start.clone().add("days",s);u||(d=Math.round((n.offset().top-z().offset().top)/b),l=t.duration(f+d*y),p=Z.rezoneDate(p.clone().time(l))),B(this,e,p,i,o)}}})}function c(e,t,n){function i(){V(),s&&(u?(n.hide(),t.draggable("option","grid",null),q(b,w)):(r(),n.css("display",""),t.draggable("option","grid",[T,C])))}function r(){var t;b&&(t=e.end?J(b,w,p("timeFormat")):Q(b,p("timeFormat")),n.text(t))}var o,a,s,l,u,c,d,m,g,v,y,b,w,k=f.getCoordinateGrid(),x=A(),T=j(),C=O(),S=L();t.draggable({scroll:!1,grid:[T,C],axis:1==x?"y":!1,opacity:p("dragOpacity"),revertDuration:p("dragRevertDuration"),start:function(n,i){h("eventDragStart",t,e,n,i),R(e,t),k.build(),o=t.position(),a=k.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=k.cell(n.pageX,n.pageY);if(s=!!f){if(u=E(f),d=Math.round((r.position.left-o.left)/T),d!=m){var p=P(0,a.col),h=a.col+d;h=Math.max(0,h),h=Math.min(x-1,h);var _=P(0,h);g=_.diff(p,"days")}u||(v=Math.round((r.position.top-o.top)/C))}(s!=l||u!=c||d!=m||v!=y)&&(u?(b=e.start.clone().stripTime().add("days",g),w=b.clone().add(Z.defaultAllDayEventDuration)):(b=e.start.clone().add(v*S).add("days",g),w=K(e).add(v*S).add("days",g)),i(),l=s,c=u,m=d,y=v),t.draggable("option","revert",!s)},stop:function(n,r){V(),h("eventDragStop",t,e,n,r),s&&(u||g||v)?B(this,e,b,n,r):(s=!0,u=!1,d=0,g=0,v=0,i(),t.css("filter",""),t.css(o),W(e,t))}})}function d(e,t,n){var i,r,o,a=O(),s=L();t.resizable({handles:{s:".ui-resizable-handle"},grid:a,start:function(n,o){i=r=0,R(e,t),h("eventResizeStart",this,e,n,o)},resize:function(l,u){if(i=Math.round((Math.max(a,t.height())-u.originalSize.height)/a),i!=r){o=K(e).add(s*i);var c;c=i||e.end?J(e.start,o,p("timeFormat")):Q(e.start,p("timeFormat")),n.text(c),r=i}},stop:function(n,r){h("eventResizeStop",this,e,n,r),i?Y(this,e,o,n,r):W(e,t)}})}var f=this;f.renderEvents=n,f.clearEvents=i,f.slotSegHtml=s,vt.call(f);var p=f.opt,h=f.trigger,g=f.isEventDraggable,b=f.isEventResizable,w=f.eventElementHandlers,k=f.setHeight,T=f.getDaySegmentContainer,C=f.getSlotSegmentContainer,S=f.getHoverListener,_=f.computeDateTop,E=f.getIsCellAllDay,$=f.colContentLeft,D=f.colContentRight,P=f.cellToDate,A=f.getColCnt,j=f.getColWidth,O=f.getSnapHeight,L=f.getSnapDuration,H=f.getSlotHeight,F=f.getSlotDuration,z=f.getSlotContainer,I=f.reportEventElement,W=f.showEvents,R=f.hideEvents,B=f.eventDrop,Y=f.eventResize,q=f.renderDayOverlay,V=f.clearOverlays,U=f.renderDayEvents,G=f.getMinTime,X=f.getMaxTime,Z=f.calendar,Q=Z.formatDate,J=Z.formatRange,K=Z.getEventEnd;f.draggableDayEvent=u}function at(e){var t,n=st(e),i=n[0];if(lt(n),i){for(t=0;t<i.length;t++)ut(i[t]);for(t=0;t<i.length;t++)ct(i[t],0,0)}return dt(n)}function st(e){var t,n,i,r=[];for(t=0;t<e.length;t++){for(n=e[t],i=0;i<r.length&&ft(n,r[i]).length;i++);(r[i]||(r[i]=[])).push(n)}return r}function lt(e){var t,n,i,r,o;for(t=0;t<e.length;t++)for(n=e[t],i=0;i<n.length;i++)for(r=n[i],r.forwardSegs=[],o=t+1;o<e.length;o++)ft(r,e[o],r.forwardSegs)}function ut(e){var t,n,i=e.forwardSegs,r=0;if(void 0===e.forwardPressure){for(t=0;t<i.length;
115t++)n=i[t],ut(n),r=Math.max(r,1+n.forwardPressure);e.forwardPressure=r}}function ct(e,t,n){var i,r=e.forwardSegs;if(void 0===e.forwardCoord)for(r.length?(r.sort(ht),ct(r[0],t+1,n),e.forwardCoord=r[0].backwardCoord):e.forwardCoord=1,e.backwardCoord=e.forwardCoord-(e.forwardCoord-n)/(t+1),i=0;i<r.length;i++)ct(r[i],0,e.forwardCoord)}function dt(e){var t,n,i,r=[];for(t=0;t<e.length;t++)for(n=e[t],i=0;i<n.length;i++)r.push(n[i]);return r}function ft(e,t,n){n=n||[];for(var i=0;i<t.length;i++)pt(e,t[i])&&n.push(t[i]);return n}function pt(e,t){return e.end>t.start&&e.start<t.end}function ht(e,t){return t.forwardPressure-e.forwardPressure||(e.backwardCoord||0)-(t.backwardCoord||0)||mt(e,t)}function mt(e,t){return e.start-t.start||t.end-t.start-(e.end-e.start)||(e.event.title||"").localeCompare(t.event.title)}function gt(n,i,r){function o(t,n){var i=H[t];return e.isPlainObject(i)&&!a(t)?D(i,n||r):i}function s(e,t){return i.trigger.apply(i,[e,t||A].concat(Array.prototype.slice.call(arguments,2),[A]))}function l(e){var t=e.source||{};return L(e.startEditable,t.startEditable,o("eventStartEditable"),e.editable,t.editable,o("editable"))}function u(e){var t=e.source||{};return L(e.durationEditable,t.durationEditable,o("eventDurationEditable"),e.editable,t.editable,o("editable"))}function c(){N={},O=[]}function d(e,t){O.push({event:e,element:t}),N[e._id]?N[e._id].push(t):N[e._id]=[t]}function f(){e.each(O,function(e,t){A.trigger("eventDestroy",t.event,t.event,t.element)})}function p(e,t){t.click(function(n){return t.hasClass("ui-draggable-dragging")||t.hasClass("ui-resizable-resizing")?void 0:s("eventClick",this,e,n)}).hover(function(t){s("eventMouseover",this,e,t)},function(t){s("eventMouseout",this,e,t)})}function h(e,t){g(e,t,"show")}function m(e,t){g(e,t,"hide")}function g(e,t,n){var i,r=N[e._id],o=r.length;for(i=0;o>i;i++)t&&r[i][0]==t[0]||r[i][n]()}function v(e,t,n,r,o){var a=i.mutateEvent(t,n,null);s("eventDrop",e,t,function(){a(),j(t._id)},r,o),j(t._id)}function y(e,t,n,r,o){var a=i.mutateEvent(t,null,n);s("eventResize",e,t,function(){a(),j(t._id)},r,o),j(t._id)}function b(e){return t.isMoment(e)&&(e=e.day()),W[e]}function w(){return z}function k(e,t,n){var i=e.clone();for(t=t||1;W[(i.day()+(n?t:0)+7)%7];)i.add("days",t);return i}function x(){var e=T.apply(null,arguments),t=C(e),n=S(t);return n}function T(e,t){var n=A.getColCnt(),i=Y?-1:1,r=Y?n-1:0;"object"==typeof e&&(t=e.col,e=e.row);var o=e*n+(t*i+r);return o}function C(e){var t=A.start.day();return e+=R[t],7*Math.floor(e/z)+B[(e%z+z)%z]-t}function S(e){return A.start.clone().add("days",e)}function _(e){var t=E(e),n=$(t),i=M(n);return i}function E(e){return e.clone().stripTime().diff(A.start,"days")}function $(e){var t=A.start.day();return e+=t,Math.floor(e/7)*z+R[(e%7+7)%7]-R[t]}function M(e){var t=A.getColCnt(),n=Y?-1:1,i=Y?t-1:0,r=Math.floor(e/t),o=(e%t+t)%t*n+i;return{row:r,col:o}}
115function P(e,t){var n=A.getRowCnt(),i=A.getColCnt(),r=[],o=E(e),a=E(t),s=+t.time();s&&s>=F&&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=M(p),g=M(h),v=[m.col,g.col].sort(),y=C(p)==o,b=C(h)+1==a;r.push({row:c,leftCol:v[0],rightCol:v[1],isStart:y,isEnd:b})}}return r}var A=this;A.element=n,A.calendar=i,A.name=r,A.opt=o,A.trigger=s,A.isEventDraggable=l,A.isEventResizable=u,A.clearEventData=c,A.reportEventElement=d,A.triggerEventDestroy=f,A.eventElementHandlers=p,A.showEvents=h,A.hideEvents=m,A.eventDrop=v,A.eventResize=y;var j=i.reportEventChange,N={},O=[],H=i.options,F=t.duration(H.nextDayThreshold);A.isHiddenDay=b,A.skipHiddenDays=k,A.getCellsPerWeek=w,A.dateToCell=_,A.dateToDayOffset=E,A.dayOffsetToCellOffset=$,A.cellOffsetToCell=M,A.cellToDate=x,A.cellToCellOffset=T,A.cellOffsetToDayOffset=C,A.dayOffsetToDate=S,A.rangeToSegments=P;var z,I=o("hiddenDays")||[],W=[],R=[],B=[],Y=o("isRTL");!function(){o("weekends")===!1&&I.push(0,6);for(var t=0,n=0;7>t;t++)R[t]=n,W[t]=-1!=e.inArray(t,I),W[t]||(B[n]=t,n++);if(z=n,!z)throw"invalid hiddenDays"}()}function vt(){function t(e,t){var n=i(e,!1,!0);bt(n,function(e,t){E(e.event,t)}),v(n,t),bt(n,function(e,t){C("eventAfterRender",e.event,e.event,t)})}function n(e,t,n){var r=i([e],!0,!1),o=[];return bt(r,function(e,i){e.row===t&&i.css("top",n),o.push(i[0])}),o}function i(t,n,i){var o,l,d=Y(),f=n?e("<div/>"):d,p=r(t);return a(p),o=s(p),f[0].innerHTML=o,l=f.children(),n&&d.append(l),u(p,l),bt(p,function(e,t){e.hsides=y(t,!0)}),bt(p,function(e,t){t.width(Math.max(0,e.outerWidth-e.hsides))}),bt(p,function(e,t){e.outerHeight=t.outerHeight(!0)}),c(p,i),p}function r(e){for(var t=[],n=0;n<e.length;n++){var i=o(e[n]);t.push.apply(t,i)}return t}function o(e){for(var t=X(e.start,nt(e)),n=0;n<t.length;n++)t[n].event=e;return t}function a(e){for(var t=T("isRTL"),n=0;n<e.length;n++){var i=e[n],r=(t?i.isEnd:i.isStart)?R:I,o=(t?i.isStart:i.isEnd)?B:W,a=r(i.leftCol),s=o(i.rightCol);i.left=a,i.outerWidth=s-a}}function s(e){for(var t="",n=0;n<e.length;n++)t+=l(e[n]);return t}function l(e){var t="",n=T("isRTL"),i=e.event,r=i.url,o=["fc-event","fc-event-hori"];S(i)&&o.push("fc-event-draggable"),e.isStart&&o.push("fc-event-start"),e.isEnd&&o.push("fc-event-end"),o=o.concat(i.className),i.source&&(o=o.concat(i.source.className||[]));var a=N(i,T);return t+=r?"<a href='"+M(r)+"'":"<div",t+=" class='"+o.join(" ")+"' style='position:absolute;left:"+e.left+"px;"+a+"'><div class='fc-event-inner'>",!i.allDay&&e.isStart&&(t+="<span class='fc-event-time'>"+M(it(i.start,T("timeFormat")))+"</span>"),t+="<span class='fc-event-title'>"+M(i.title||"")+"</span></div>",i.allDay&&e.isEnd&&_(i)&&(t+="<div class='ui-resizable-handle ui-resizable-"+(n?"w":"e")+"'> </div>"),t+="</"+(r?"a":"div")+">"}function u(t,n){for(var i=0;i<t.length;i++){var r=t[i],o=r.event,a=n.eq(i),s=C("eventRender",o,o,a);s===!1?a.remove():(s&&s!==!0&&(s=e(s).css({position:"absolute",left:r.left}),a.replaceWith(s),a=s),r.element=a)}}function c(e,t){var n,i=d(e),r=g(),o=[];if(t)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);bt(e,function(e,t){t.css("top",o[e.row]+e.top)})}function d(e){for(var t,n=H(),i=F(),r=[],o=f(e),a=0;n>a;a++){var s=o[a],l=[];for(t=0;i>t;t++)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)),t=c.leftCol;t<=c.rightCol;t++)l[t]=c.top+c.outerHeight}r.push($(l))}return r}function f(e){var t,n,i,r=H(),o=[];for(t=0;t<e.length;t++)n=e[t],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(e){for(var t=[],n=h(e),i=0;i<n.length;i++)t.push.apply(t,n[i]);return t}function h(e){e.sort(wt);for(var t=[],n=0;n<e.length;n++){for(var i=e[n],r=0;r<t.length&&yt(i,t[r]);r++);t[r]?t[r].push(i):t[r]=[i]}return t}function g(){var e,t=H(),n=[];for(e=0;t>e;e++)n[e]=z(e).find("div.fc-day-content > div");return n}function v(e,t){var n=Y();bt(e,function(e,n,i){var r=e.event;r._id===t?b(r,n,e):n[0]._fci=i}),m(n,e,b)}function b(e,t,n){S(e)&&x.draggableDayEvent(e,t,n),e.allDay&&n.isEnd&&_(e)&&x.resizableDayEvent(e,t,n),D(e,t)}function w(e,t){var n,i,r=G();t.draggable({delay:50,opacity:T("dragOpacity"),revertDuration:T("dragRevertDuration"),start:function(o,a){C("eventDragStart",t,e,o,a),j(e,t),r.start(function(r,o,a,s){if
115(t.draggable("option","revert",!r||!a&&!s),V(),r){var l=Z(o),u=Z(r);n=u.diff(l,"days"),i=e.start.clone().add("days",n),q(i,nt(e).add("days",n))}else n=0},o,"drag")},stop:function(o,a){r.stop(),V(),C("eventDragStop",t,e,o,a),n?O(this,e,i,o,a):(t.css("filter",""),P(e,t))}})}function k(t,i,r){var o=T("isRTL"),a=o?"w":"e",s=i.find(".ui-resizable-"+a),l=!1;A(i),i.mousedown(function(e){e.preventDefault()}).click(function(e){l&&(e.preventDefault(),e.stopImmediatePropagation())}),s.mousedown(function(o){function s(n){C("eventResizeStop",this,t,n),e("body").css("cursor",""),f.stop(),V(),u&&L(this,t,c,n),setTimeout(function(){l=!1},0)}if(1==o.which){l=!0;var u,c,d,f=G(),p=i.css("top"),h=e.extend({},t),m=et(K(t.start));U(),e("body").css("cursor",a+"-resize").one("mouseup",s),C("eventResizeStart",this,t,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=nt(t).add("days",u),u){h.end=c;var f=d;d=n(h,r.row,p),d=e(d),d.find("*").css("cursor",a+"-resize"),f&&f.remove(),j(t)}else d&&(P(t),d.remove(),d=null);V(),q(t.start,c)}},o)}})}var x=this;x.renderDayEvents=t,x.draggableDayEvent=w,x.resizableDayEvent=k;var T=x.opt,C=x.trigger,S=x.isEventDraggable,_=x.isEventResizable,E=x.reportEventElement,D=x.eventElementHandlers,P=x.showEvents,j=x.hideEvents,O=x.eventDrop,L=x.eventResize,H=x.getRowCnt,F=x.getColCnt,z=x.allDayRow,I=x.colLeft,W=x.colRight,R=x.colContentLeft,B=x.colContentRight,Y=x.getDaySegmentContainer,q=x.renderDayOverlay,V=x.clearOverlays,U=x.clearSelection,G=x.getHoverListener,X=x.rangeToSegments,Z=x.cellToDate,Q=x.cellToCellOffset,J=x.cellOffsetToDayOffset,K=x.dateToDayOffset,et=x.dayOffsetToCellOffset,tt=x.calendar,nt=tt.getEventEnd,it=tt.formatDate}function yt(e,t){for(var n=0;n<t.length;n++){var i=t[n];if(i.leftCol<=e.rightCol&&i.rightCol>=e.leftCol)return!0}return!1}function bt(e,t){for(var n=0;n<e.length;n++){var i=e[n],r=i.element;r&&t(i,r,n)}}function wt(e,t){return t.rightCol-t.leftCol-(e.rightCol-e.leftCol)||t.event.allDay-e.event.allDay||e.event.start-t.event.start||(e.event.title||"").localeCompare(t.event.title)}function kt(){function t(e,t){n(),e=a.moment(e),t=t?a.moment(t):u(e),c(e,t),i(e,t)}function n(e){f&&(f=!1,d(),l("unselect",null,e))}function i(e,t,n){f=!0,l("select",null,e,t,n)}function r(t){var r=o.cellToDate,a=o.getIsCellAllDay,l=o.getHoverListener(),u=o.reportDayClick;if(1==t.which&&s("selectable")){n(t);var f;l.start(function(e,t){d(),e&&a(e)?(f=[r(t),r(e)].sort(E),c(f[0],f[1].clone().add("days",1))):f=null},t),e(document).one("mouseup",function(e){l.stop(),f&&(+f[0]==+f[1]&&u(f[0],e),i(f[0],f[1].clone().add("days",1),e))})}}var o=this;o.select=t,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")&&e(document).mousedown(function(t){var i=s("unselectCancel");i&&e(t.target).parents(i).length||n(t)})}function xt(){function t(t,n){var i=o.shift();return i||(i=e("<div class='fc-cell-overlay' style='position:absolute;z-index:3'/>")),i[0].parentNode!=n[0]&&i.appendTo(n),r.push(i.css(t).show()),i}function n(){for(var e;e=r.shift();)o.push(e.hide().unbind())}var i=this;i.renderOverlay=t,i.clearOverlays=n;var r=[],o=[]}function Tt(e){var t,n,i=this;i.build=function(){t=[],n=[],e(t,n)},i.cell=function(e,i){var r,o=t.length,a=n.length,s=-1,l=-1;for(r=0;o>r;r++)if(i>=t[r][0]&&i<t[r][1]){s=r;break}for(r=0;a>r;r++)if(e>=n[r][0]&&e<n[r][1]){l=r;break}return s>=0&&l>=0?{row:s,col:l}:null},i.rect=function(e,i,r,o,a){var s=a.offset();return{top:t[e][0]-s.top,left:n[i][0]-s.left,width:n[o][1]-n[i][0],height:t[r][1]-t[e][0]}}}function Ct(t){function n(e){St(e);var n=t.cell(e.pageX,e.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,t.build(),n(l),i=u||"mousemove",e(document).bind(i,n)},s.stop=function(){return e(document).unbind(i,n),a}}function St(e){void 0===e.pageX&&(e.pageX=e.originalEvent.pageX,e.pageY=e.originalEvent.pageY)}function _t(e){function t(t){return i[t]=i[t]||e(t)}var n=this,i={},r={},o={};n.left=function(e){return r[e]=void 0===r[e]?t(e).position().left:r[e]},n.right=function(e){return o[e]=void 0===o[e]?n.left(e)+t(e).width():o[e]},n.clear=function(){i={},r={},o={}}}var Et={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}
115,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},$t={en:{columnFormat:{week:"ddd M/D"}}},Dt={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"}},Mt=e.fullCalendar={version:"2.0.0"},Pt=Mt.views={};e.fn.fullCalendar=function(t){var n=Array.prototype.slice.call(arguments,1),i=this;return this.each(function(r,o){var a,l=e(o),u=l.data("fullCalendar");"string"==typeof t?u&&e.isFunction(u[t])&&(a=u[t].apply(u,n),r||(i=a),"destroy"===t&&l.removeData("fullCalendar")):u||(u=new s(l,t),l.data("fullCalendar",u),u.render())}),i},Mt.langs=$t,Mt.datepickerLang=function(t,n,i){var r=$t[t];r||(r=$t[t]={}),o(r,{isRTL:i.isRTL,weekNumberTitle:i.weekHeader,titleFormat:{month:i.showMonthAfterYear?"YYYY["+i.yearSuffix+"] MMMM":"MMMM YYYY["+i.yearSuffix+"]"},defaultButtonText:{prev:P(i.prevText),next:P(i.nextText),today:P(i.currentText)}}),e.datepicker&&(e.datepicker.regional[n]=e.datepicker.regional[t]=i,e.datepicker.regional.en=e.datepicker.regional[""],e.datepicker.setDefaults(i))},Mt.lang=function(e,t){var n;t&&(n=$t[e],n||(n=$t[e]={}),o(n,t||{})),Et.lang=e},Mt.sourceNormalizers=[],Mt.sourceFetchers=[];var At={dataType:"json",cache:!1},jt=1;Mt.applyAll=O;var Nt=["sun","mon","tue","wed","thu","fri","sat"],Ot=/^\s*\d{4}-\d\d$/,Lt=/^\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+)?)?)?)?)?$/;Mt.moment=function(){return H(arguments)},Mt.moment.utc=function(){var e=H(arguments,!0);return e.hasTime()&&e.utc(),e},Mt.moment.parseZone=function(){return H(arguments,!0,!0)},F.prototype=d(t.fn),F.prototype.clone=function(){return H([this])},F.prototype.time=function(e){return null==e?t.duration({hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}):(delete this._ambigTime,t.isDuration(e)||t.isMoment(e)||(e=t.duration(e)),this.hours(e.hours()+24*e.days()).minutes(e.minutes()).seconds(e.seconds()).milliseconds(e.milliseconds()))},F.prototype.stripTime=function(){var e=this.toArray();return t.fn.utc.call(this),this._ambigTime=!0,this._ambigZone=!0,this.year(e[0]).month(e[1]).date(e[2]).hours(0).minutes(0).seconds(0).milliseconds(0),this},F.prototype.hasTime=function(){return!this._ambigTime},F.prototype.stripZone=function(){var e=this.toArray(),n=this._ambigTime;return t.fn.utc.call(this),this.year(e[0]).month(e[1]).date(e[2]).hours(e[3]).minutes(e[4]).seconds(e[5]).milliseconds(e[6]),n&&(this._ambigTime=!0),this._ambigZone=!0,this},F.prototype.hasZone=function(){return!this._ambigZone},F.prototype.zone=function(e){return null!=e&&(delete this._ambigTime,delete this._ambigZone),t.fn.zone.apply(this,arguments)},F.prototype.local=function(){var e=this.toArray(),n=this._ambigZone;return delete this._ambigTime,delete this._ambigZone,t.fn.local.apply(this,arguments),n&&this.year(e[0]).month(e[1]).date(e[2]).hours(e[3]).minutes(e[4]).seconds(e[5]).milliseconds(e[6]),this},F.prototype.utc=function(){return delete this._ambigTime,delete this._ambigZone,t.fn.utc.apply(this,arguments)},F.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)},F.prototype.toISOString=function(){return this._ambigTime?I(this,"YYYY-MM-DD"):this._ambigZone?I(this,"YYYY-MM-DD[T]HH:mm:ss"):t.fn.toISOString.apply(this,arguments)},F.prototype.isWithin=function(e,t){var n=z([this,e,t]);return n[0]>=n[1]&&n[0]<n[2]},e.each(["isBefore","isAfter","isSame"],function(e,n){F.prototype[n]=function(e,i){var r=z([this,e]);return t.fn[n].call(r[0],r[1],i)}});var Ht={t:function(e){return I(e,"a").charAt(0)},T:function(e){return I(e,"A").charAt(0)}};Mt.formatRange=Y;var Ft={Y:"year",M:"month",D:"day",d:"day",A:"second",a:"second",T:"second",t:"second",H:"second",h:"second",m:"second",s:"second"},zt={};Pt.month=X,Pt.basicWeek=Z,Pt.basicDay=Q,r({weekMode:"fixed"}),Pt.agendaWeek=et,Pt.agendaDay=tt,r({allDaySlot:!0,allDayText:"all-day",scrollTime:"06:00:00",slotDuration:"00:30:00",axisFormat:nt,timeFormat:{agenda:it},dragOpacity:{agenda:.5},minTime:"00:00:00",maxTime:"24:00:00",slotEventOverlap:!0})}),function(e){"function"==typeof define&&define.amd?define(e):window.purl=e()}(function(){function e(e,t){for(var n=decodeURI(e),i=m[t?"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
115=r.attr.host?(r.attr.protocol?r.attr.protocol+"://"+r.attr.host:r.attr.host)+(r.attr.port?":"+r.attr.port:""):"",r}function t(e){var t=e.tagName;return"undefined"!=typeof t?f[t.toLowerCase()]:t}function n(e,t){if(0===e[t].length)return e[t]={};var n={};for(var i in e[t])n[i]=e[t][i];return e[t]=n,n}function i(e,t,r,o){var a=e.shift();if(a){var s=t[r]=t[r]||[];"]"==a?u(s)?""!==o&&s.push(o):"object"==typeof s?s[c(s).length]=o:s=t[r]=[t[r],o]:~a.indexOf("]")?(a=a.substr(0,a.length-1),!g.test(a)&&u(s)&&(s=n(t,r)),i(e,s,a,o)):(!g.test(a)&&u(s)&&(s=n(t,r)),i(e,s,a,o))}else u(t[r])?t[r].push(o):t[r]="object"==typeof t[r]?o:"undefined"==typeof t[r]?o:[t[r],o]}function r(e,t,n){if(~t.indexOf("]")){var r=t.split("[");i(r,e,"base",n)}else{if(!g.test(t)&&u(e.base)){var o={};for(var s in e.base)o[s]=e.base[s];e.base=o}""!==t&&a(e.base,t,n)}return e}function o(e){return l(String(e).split(/&|;/),function(e,t){try{t=decodeURIComponent(t.replace(/\+/g," "))}catch(n){}var i=t.indexOf("="),o=s(t),a=t.substr(0,o||i),l=t.substr(o||i,t.length);return l=l.substr(l.indexOf("=")+1,l.length),""===a&&(a=t,l=""),r(e,a,l)},{base:{}}).base}function a(e,t,n){var i=e[t];"undefined"==typeof i?e[t]=n:u(i)?i.push(n):e[t]=[i,n]}function s(e){for(var t,n,i=e.length,r=0;i>r;++r)if(n=e[r],"]"==n&&(t=!1),"["==n&&(t=!0),"="==n&&!t)return r}function l(e,t){for(var n=0,i=e.length>>0,r=arguments[2];i>n;)n in e&&(r=t.call(void 0,r,e[n],n,e)),++n;return r}function u(e){return"[object Array]"===Object.prototype.toString.call(e)}function c(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}function d(t,n){return 1===arguments.length&&t===!0&&(n=!0,t=void 0),n=n||!1,t=t||window.location.toString(),{data:e(t,n),attr:function(e){return e=h[e]||e,"undefined"!=typeof e?this.data.attr[e]:this.data.attr},param:function(e){return"undefined"!=typeof e?this.data.param.query[e]:this.data.param.query},fparam:function(e){return"undefined"!=typeof e?this.data.param.fragment[e]:this.data.param.fragment},segment:function(e){return"undefined"==typeof e?this.data.seg.path:(e=0>e?this.data.seg.path.length+e:e-1,this.data.seg.path[e])},fsegment:function(e){return"undefined"==typeof e?this.data.seg.fragment:(e=0>e?this.data.seg.fragment.length+e:e-1,this.data.seg.fragment[e])}}}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(e){null!=e&&(e.fn.url=function(n){var i="";return this.length&&(i=e(this).attr(t(this[0]))||""),d(i,n)},e.url=d)},d.jQuery(window.jQuery),d}),/** 116 * Copyright (c) 2011-2014 Felix Gnass 117 * Licensed under the MIT license 118 */ 119function(e,t){"object"==typeof exports?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Spinner=t()}(this,function(){"use strict";function e(e,t){var n,i=document.createElement(e||"div");for(n in t)i[n]=t[n];return i}function t(e){for(var t=1,n=arguments.length;n>t;t++)e.appendChild(arguments[t]);return e}function n(e,t,n,i){var r=["opacity",t,~~(100*e),n,i].join("-"),o=.01+n/i*100,a=Math.max(1-(1-e)/t*(100-o),e),s=u.substring(0,u.indexOf("Animation")).toLowerCase(),l=s&&"-"+s+"-"||"";return d[r]||(f.insertRule("@"+l+"keyframes "+r+"{0%{opacity:"+a+"}"+o+"%{opacity:"+e+"}"+(o+.01)+"%{opacity:1}"+(o+t)%100+"%{opacity:"+e+"}100%{opacity:"+a+"}}",f.cssRules.length),d[r]=1),r}function i(e,t){var n,i,r=e.style;for(t=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<c.length;i++)if(n=c[i]+t,void 0!==r[n])return n;return void 0!==r[t]?t:void 0}function r(e,t){for(var n in t)e.style[i(e,n)||n]=t[n];return e}function o(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)void 0===e[i]&&(e[i]=n[i])}return e}function a(e,t){return"string"==typeof e?e:e[t%e.length]}function s(e){this.opts=o(e||{},s.defaults,p)}function l(){function n(t,n){return e("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">',n)}f.addRule(".spin-vml","behavior:url(#default#VML)"),s.prototype.lines=function(e,i){function o(){return r(n("group",{coordsize:c+" "+c,coordorigin:-u+" "+-u}),{width:c,height:c})}function s(e,s,l){t(f,t(r(o(),{rotation:360/i.lines*e+"deg",left:~~s}
vendor: 1,261 bytes, line 119
119),t(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,e),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 t(e,f)},s.prototype.opacity=function(e,t,n,i){var r=e.firstChild;i=i.shadow&&i.lines||0,r&&t+i<r.childNodes.length&&(r=r.childNodes[t+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=e("style",{type:"text/css"});return t(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(t){this.stop();{var n=this,i=n.opts,o=n.el=r(e(0,{className:i.className}),{position:i.position,width:0,zIndex:i.zIndex});i.radius+i.length+i.width}if(t&&(t.insertBefore(o,t.firstChild||null),r(o,{left:i.left,top:i.top}
119)),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 e=0;e<i.lines;e++)a=Math.max(1-(s+(i.lines-e)*p)%d*f,i.opacity),n.opacity(o,e*i.direction+l,a,i);n.timeout=n.el&&setTimeout(h,~~(1e3/c))}()}return n},stop:function(){var e=this.el;return e&&(clearTimeout(this.timeout),e.parentNode&&e.parentNode.removeChild(e),this.el=void 0),this},lines:function(i,o){function s(t,n){return r(e(),{position:"absolute",width:o.length+o.width+"px",height:o.width+"px",background:t,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(e(),{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&&t(l,r(s("#000","0 0 4px #000"),{top:"2px"})),t(i,t(l,s(a(o.color,c),"0 0 1px rgba(0,0,0,.1)")));return i},opacity:function(e,t,n){t<e.childNodes.length&&(e.childNodes[t].style.opacity=n)}});var h=r(e("group"),{behavior:"url(#default#VML)"});return!i(h,"transform")&&h.adj?l():u=i(h,"animation"),s}),function(){!function(e){var t;return t=function(){function t(t,n){var i,r,o;this.$el=e(t),"content"===n.model?(i="/contents_calendar",o="/contents/"):(i="/calendar",o="/schedules/"),r=e.url(location.href).attr("query"),r&&(i+="?"+r),this.$el.fullCalendar({events:i,timeFormat:"",eventDataTransform:function(t){var n,i,r,a,s;return a={title:e("<div>").html(t.title).text(),start:moment(t.event_datetime),url:o+t.id},r=[],(n=t.artists)&&e.each(n,function(e,t){return t.url_name?r.push("artist-"+t.url_name):void 0}),(i=t.categories)&&e.each(i,function(e,t){return r.push("category-"+t.url_name)}),(s=t.tags)&&e.each(s,function(e,t){return r.push("tag-"+t.name)}),r.length&&(a.className=r.join(" ")),t.event_end_datetime&&(a.end=moment(t.event_end_datetime).add("days",1).format("YYYY-MM-DD")),a},eventClick:function(e){return window.location.href=e.url,!1},loading:e.proxy(this.loading,this)})}return t.prototype.loading=function(t){return t?this.spinner=this.createSpinner().spin(this.$el[0]):this.spinner?function(t){return e(t.el).animate({opacity:0}
119,60,function(){return t.stop()})}(this.spinner):void 0},t.prototype.createSpinner=function(){var e;return e={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(e)},t}(),e.fn.calendarView=function(n){return this.each(function(){var i,r,o;return i=e(this),r=i.data("calendar-view"),o="object"==typeof n&&n,r||i.data("calendar-view",r=new t(this,o)),i})}}(window.$)}.call(this),function(){!function(e){var t;return t=function(){function t(t,n){var i;this.$el=e(t),this.options=n||{},this.options.url=this.options.url||this.$el.data("feed-url"),this.feedtype=this.options.type||"xml",this.count=this.options.count||20,this.titleSubstr=this.options.titleSubstr||60,this.descSubstr=this.options.descSubstr||100,this.width=this.options.width||"100%",this.height=this.options.height||"400px",this.listclass=this.options.listClassName||"",i=this.loading(),i.done(function(e){return function(t){return e.create(t)}}(this))}return t.prototype.loading=function(){return e.ajax({url:"/proxy/rss.xml?path="+this.options.url,type:"GET",dataType:this.feedtype,timeout:6e3})},t.prototype.create=function(e){return this.$el.append(this.template(e)),this.style()},t.prototype.template=function(t){var n,i,r,o,a,s,l,u,c,d,f,p,h;for(i=e(t).find('item[type="array"]').children("item"),d='<div class="feed-inner">',d='<ul class="list-unstyled feed-link-list">',r=p=0,h=i.length;h>p&&(f=i[r],n=e(f),c=n.find("title").text().substr(0,this.titleSubstr),n.find("title").text().length>this.titleSubstr&&(c+="..."),s=n.find("description").text().substr(0,this.descSubstr),n.find("description").text().length>this.descSubstr&&(s+="..."),u=n.find("link").text(),l=n.find("encoded").text()||"",a=new Date(n.find("date").text()),o={year:a.getFullYear(),month:a.getMonth()+1,day:a.getDate()},d+='<li class="'+this.listclass+'">',d+='<a href="'+u+'">',l.length>0&&(d+="<figure>"+l+"</figure>"),d+='<h3 class="feed-title">'+c+"</h3>",d+='<p class="feed-description">'+s+"</p>",d+='<p class="feed-time"><time datetime="'+a+'">'+o.year+"."+o.month+". "+o.day+"</time></p>",d+="</a>",d+="</li>",r!==this.count);r=++p);return d+="</ul>",d+="</div>"},t.prototype.style=function(){return this.$el.css({width:this.width,height:this.height,overflow:"auto"})},t}(),e.fn.feedView=function(n){return this.each(function(){var i,r,o;return i=e(this),r=i.data("feed-view"),o="object"==typeof n&&n,r||i.data("feed-view",r=new t(this,o)),i})}}(window.$)}.call(this),function(){!function(e){var t;return t=function(){function t(t,n){var i;this.$el=e(t),this.options=n||{},this.count=this.options.count||20,this.classes=this.options.listClassName||"",i=this.loading(),i.done(function(e){return function(t){return e.create(t)}}(this))}return t.prototype.loading=function(){return e.ajax({url:"/api/v1/instagram/user_recent_media/"+this.options.id,type:"GET",dataType:"JSON",data:{count:this.count}})},t.prototype.create=function(t){return e.each(t,function(t){return function(n,i){var r;return r=e('<li class="'+t.classes+'"><a href="'+i.link+'" target="_blank"><img src="'+i.images.low_resolution.url+'" alt="" class="img-responsive"></a></li>'),t.$el.append(r)}}(this))},t}(),e.fn.InstagramView=function(n){return this.each(function(){var i,r,o;return i=e(this),r=i.data("instagram-view"),o="object"==typeof n&&n,r||i.data("instagram-view",r=new t(this,o)),i})}}(window.$)}.call(this),function(e){e.fn.qrcode=function(t){function n(e){this.mode=s,this.data=e}function i(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}function r(e,t){if(void 0==e.length)throw Error(e.length+"/"+t);for(var n=0;n<e.length&&0==e[n];)n++;this.num=Array(e.length-n+t);for(var i=0;i<e.length-n;i++)this.num[i]=e[i+n]}function o(e,t){this.totalCount=e,this.dataCount=t}function a(){this.buffer=[],this.length=0}var s;n.prototype={getLength:function(){return this.data.length},write:function(e){for(var t=0;t<this.data.length;t++)e.put(this.data.charCodeAt(t),8)}},i.prototype={addData:function(e){this.dataList.push(new n(e)),this.dataCache=null},isDark:function(e,t){if(0>e||this.moduleCount<=e||0>t||this.moduleCount<=t)throw Error(e+","+t);return this.modules[e][t]},getModuleCount:function(){return this.moduleCount},make:function(){if(1>
119this.typeNumber){for(var e=1,e=1;40>e;e++){for(var t=o.getRSBlocks(e,this.errorCorrectLevel),n=new a,i=0,r=0;r<t.length;r++)i+=t[r].dataCount;for(r=0;r<this.dataList.length;r++)t=this.dataList[r],n.put(t.mode,4),n.put(t.getLength(),l.getLengthInBits(t.mode,e)),t.write(n);if(n.getLengthInBits()<=8*i)break}this.typeNumber=e}this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(e,t){this.moduleCount=4*this.typeNumber+17,this.modules=Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++){this.modules[n]=Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++)this.modules[n][r]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,t),7<=this.typeNumber&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=i.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,t)},setupPositionProbePattern:function(e,t){for(var n=-1;7>=n;n++)if(!(-1>=e+n||this.moduleCount<=e+n))for(var i=-1;7>=i;i++)-1>=t+i||this.moduleCount<=t+i||(this.modules[e+n][t+i]=n>=0&&6>=n&&(0==i||6==i)||i>=0&&6>=i&&(0==n||6==n)||n>=2&&4>=n&&i>=2&&4>=i?!0:!1)},getBestMaskPattern:function(){for(var e=0,t=0,n=0;8>n;n++){this.makeImpl(!0,n);var i=l.getLostPoint(this);(0==n||e>i)&&(e=i,t=n)}return t},createMovieClip:function(e,t,n){for(e=e.createEmptyMovieClip(t,n),this.make(),t=0;t<this.modules.length;t++)for(var n=1*t,i=0;i<this.modules[t].length;i++){var r=1*i;this.modules[t][i]&&(e.beginFill(0,100),e.moveTo(r,n),e.lineTo(r+1,n),e.lineTo(r+1,n+1),e.lineTo(r,n+1),e.endFill())}return e},setupTimingPattern:function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=0==e%2);for(e=8;e<this.moduleCount-8;e++)null==this.modules[6][e]&&(this.modules[6][e]=0==e%2)},setupPositionAdjustPattern:function(){for(var e=l.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var n=0;n<e.length;n++){var i=e[t],r=e[n];if(null==this.modules[i][r])for(var o=-2;2>=o;o++)for(var a=-2;2>=a;a++)this.modules[i+o][r+a]=-2==o||2==o||-2==a||2==a||0==o&&0==a?!0:!1}},setupTypeNumber:function(e){for(var t=l.getBCHTypeNumber(this.typeNumber),n=0;18>n;n++){var i=!e&&1==(t>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=i}for(n=0;18>n;n++)i=!e&&1==(t>>n&1),this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=i},setupTypeInfo:function(e,t){for(var n=l.getBCHTypeInfo(this.errorCorrectLevel<<3|t),i=0;15>i;i++){var r=!e&&1==(n>>i&1);6>i?this.modules[i][8]=r:8>i?this.modules[i+1][8]=r:this.modules[this.moduleCount-15+i][8]=r}for(i=0;15>i;i++)r=!e&&1==(n>>i&1),8>i?this.modules[8][this.moduleCount-i-1]=r:9>i?this.modules[8][15-i-1+1]=r:this.modules[8][15-i-1]=r;this.modules[this.moduleCount-8][8]=!e},mapData:function(e,t){for(var n=-1,i=this.moduleCount-1,r=7,o=0,a=this.moduleCount-1;a>0;a-=2)for(6==a&&a--;;){for(var s=0;2>s;s++)if(null==this.modules[i][a-s]){var u=!1;o<e.length&&(u=1==(e[o]>>>r&1)),l.getMask(t,i,a-s)&&(u=!u),this.modules[i][a-s]=u,r--,-1==r&&(o++,r=7)}if(i+=n,0>i||this.moduleCount<=i){i-=n,n=-n;break}}}},i.PAD0=236,i.PAD1=17,i.createData=function(e,t,n){for(var t=o.getRSBlocks(e,t),r=new a,s=0;s<n.length;s++){var u=n[s];r.put(u.mode,4),r.put(u.getLength(),l.getLengthInBits(u.mode,e)),u.write(r)}for(s=e=0;s<t.length;s++)e+=t[s].dataCount;if(r.getLengthInBits()>8*e)throw Error("code length overflow. ("+r.getLengthInBits()+">"+8*e+")");for(r.getLengthInBits()+4<=8*e&&r.put(0,4);0!=r.getLengthInBits()%8;)r.putBit(!1);for(;!(r.getLengthInBits()>=8*e)&&(r.put(i.PAD0,8),!(r.getLengthInBits()>=8*e));)r.put(i.PAD1,8);return i.createBytes(r,t)},i.createBytes=function(e,t){for(var n=0,i=0,o=0,a=Array(t.length),s=Array(t.length),u=0;u<t.length;u++){var c=t[u].dataCount,d=t[u].totalCount-c,i=Math.max(i,c),o=Math.max(o,d);a[u]=Array(c);for(var f=0;f<a[u].length;f++)a[u][f]=255&e.buffer[f+n];for(n+=c,f=l.getErrorCorrectPolynomial(d),c=new r(a[u],f.getLength()-1).mod(f),s[u]=Array(f.getLength()-1),f=0;f<s[u].length;f++)d=f+c.getLength()-s[u].length,s[u][f]=d>=0?c.get(d):0}for(f=u=0;f<t.length;f++)u+=t[f].totalCount;for(n=Array(u),f=c=0;i>f;f++)for(u=0;
119u<t.length;u++)f<a[u].length&&(n[c++]=a[u][f]);for(f=0;o>f;f++)for(u=0;u<t.length;u++)f<s[u].length&&(n[c++]=s[u][f]);return n},s=4;for(var l={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){for(var t=e<<10;0<=l.getBCHDigit(t)-l.getBCHDigit(l.G15);)t^=l.G15<<l.getBCHDigit(t)-l.getBCHDigit(l.G15);return(e<<10|t)^l.G15_MASK},getBCHTypeNumber:function(e){for(var t=e<<12;0<=l.getBCHDigit(t)-l.getBCHDigit(l.G18);)t^=l.G18<<l.getBCHDigit(t)-l.getBCHDigit(l.G18);return e<<12|t},getBCHDigit:function(e){for(var t=0;0!=e;)t++,e>>>=1;return t},getPatternPosition:function(e){return l.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,n){switch(e){case 0:return 0==(t+n)%2;case 1:return 0==t%2;case 2:return 0==n%3;case 3:return 0==(t+n)%3;case 4:return 0==(Math.floor(t/2)+Math.floor(n/3))%2;case 5:return 0==t*n%2+t*n%3;case 6:return 0==(t*n%2+t*n%3)%2;case 7:return 0==(t*n%3+(t+n)%2)%2;default:throw Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new r([1],0),n=0;e>n;n++)t=t.multiply(new r([1,u.gexp(n)],0));return t},getLengthInBits:function(e,t){if(t>=1&&10>t)switch(e){case 1:return 10;case 2:return 9;case s:return 8;case 8:return 8;default:throw Error("mode:"+e)}else if(27>t)switch(e){case 1:return 12;case 2:return 11;case s:return 16;case 8:return 10;default:throw Error("mode:"+e)}else{if(!(41>t))throw Error("type:"+t);switch(e){case 1:return 14;case 2:return 13;case s:return 16;case 8:return 12;default:throw Error("mode:"+e)}}},getLostPoint:function(e){for(var t=e.getModuleCount(),n=0,i=0;t>i;i++)for(var r=0;t>r;r++){for(var o=0,a=e.isDark(i,r),s=-1;1>=s;s++)if(!(0>i+s||i+s>=t))for(var l=-1;1>=l;l++)0>r+l||r+l>=t||0==s&&0==l||a==e.isDark(i+s,r+l)&&o++;o>5&&(n+=3+o-5)}for(i=0;t-1>i;i++)for(r=0;t-1>r;r++)o=0,e.isDark(i,r)&&o++,e.isDark(i+1,r)&&o++,e.isDark(i,r+1)&&o++,e.isDark(i+1,r+1)&&o++,(0==o||4==o)&&(n+=3);for(i=0;t>i;i++)for(r=0;t-6>r;r++)e.isDark(i,r)&&!e.isDark(i,r+1)&&e.isDark(i,r+2)&&e.isDark(i,r+3)&&e.isDark(i,r+4)&&!e.isDark(i,r+5)&&e.isDark(i,r+6)&&(n+=40);for(r=0;t>r;r++)for(i=0;t-6>i;i++)e.isDark(i,r)&&!e.isDark(i+1,r)&&e.isDark(i+2,r)&&e.isDark(i+3,r)&&e.isDark(i+4,r)&&!e.isDark(i+5,r)&&e.isDark(i+6,r)&&(n+=40);for(r=o=0;t>r;r++)for(i=0;t>i;i++)e.isDark(i,r)&&o++;return e=Math.abs(100*o/t/t-50)/5,n+10*e}},u={glog:function(e){if(1>e)throw Error("glog("+e+")");return u.LOG_TABLE[e]},gexp:function(e){for(;0>e;)e+=255;for(;e>=256;)e-=255;return u.EXP_TABLE[e]},EXP_TABLE:Array(256),LOG_TABLE:Array(256)},c=0;8>c;c++)u.EXP_TABLE[c]=1<<c;for(c=8;256>c;c++)u.EXP_TABLE[c]=u.EXP_TABLE[c-4]^u.EXP_TABLE[c-5]^u.EXP_TABLE[c-6]^u.EXP_TABLE[c-8];for(c=0;255>c;c++)u.LOG_TABLE[u.EXP_TABLE[c]]=c;return r.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=Array(this.getLength()+e.getLength()-1),n=0;n<this.getLength();n++)for(var i=0;i<e.getLength();i++)t[n+i]^=u.gexp(u.glog(this.get(n))+u.glog(e.get(i)));return new r(t,0)},mod:function(e){if(0>this.getLength()-e.getLength())return this;for(var t=u.glog(this.get(0))-u.glog(e.get(0)),n=Array(this.getLength()),i=0;i<this.getLength();i++)n[i]=this.get(i);for(i=0;i<e.getLength();i++)n[i]^=u.gexp(u.glog(e.get(i))+t);return new r(n,0).mod(e)}},o.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37
119],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],o.getRSBlocks=function(e,t){var n=o.getRsBlockTable(e,t);if(void 0==n)throw Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+t);for(var i=n.length/3,r=[],a=0;i>a;a++)for(var s=n[3*a+0],l=n[3*a+1],u=n[3*a+2],c=0;s>c;c++)r.push(new o(l,u));return r},o.getRsBlockTable=function(e,t){switch(t){case 1:return o.RS_BLOCK_TABLE[4*(e-1)+0];case 0:return o.RS_BLOCK_TABLE[4*(e-1)+1];case 3:return o.RS_BLOCK_TABLE[4*(e-1)+2];case 2:return o.RS_BLOCK_TABLE[4*(e-1)+3]}},a.prototype={get:function(e){return 1==(this.buffer[Math.floor(e/8)]>>>7-e%8&1)},put:function(e,t){for(var n=0;t>n;n++)this.putBit(1==(e>>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},"string"==typeof t&&(t={text:t}),t=e.extend({},{render:"canvas",width:256,height:256,typeNumber:-1,correctLevel:2,background:"#ffffff",foreground:"#000000"},t),this.each(function(){var n;if("canvas"==t.render){n=new i(t.typeNumber,t.correctLevel),n.addData(t.text),n.make();var r=document.createElement("canvas");r.width=t.width,r.height=t.height;for(var o=r.getContext("2d"),a=t.width/n.getModuleCount(),s=t.height/n.getModuleCount(),l=0;l<n.getModuleCount();l++)for(var u=0;u<n.getModuleCount();u++){o.fillStyle=n.isDark(l,u)?t.foreground:t.background;var c=Math.ceil((u+1)*a)-Math.floor(u*a),d=Math.ceil((l+1)*a)-Math.floor(l*a);o.fillRect(Math.round(u*a),Math.round(l*s),c,d)}}else for(n=new i(t.typeNumber,t.correctLevel),n.addData(t.text),n.make(),r=e("<table></table>").css("width",t.width+"px").css("height",t.height+"px").css("border","0px").css("border-collapse","collapse").css("background-color",t.background),o=t.width/n.getModuleCount(),a=t.height/n.getModuleCount(),s=0;s<n.getModuleCount();s++)for(l=e("<tr></tr>").css("height",a+"px").appendTo(r),u=0;u<n.getModuleCount();u++)e("<td></td>").css("width",o+"px").css("background-color",n.isDark(s,u)?t.foreground:t.background).appendTo(l);n=r,jQuery(n).appendTo(this)})}}(jQuery),function(){!function(e){var t,n;return t=function(){function t(t,n){this.$el=e(t),this.options=n||{},this.initLoadButton(),this.spinner=this.createSpinner()}return t.prototype.initLoadButton=function(){return e(this.options.load).each(function(t){return function(n,i){var r;return r=e(i),r.data("default",r.text()),r.data("progress",!1),r.on("click",e.proxy(t.clickHandler,t)),r.removeClass("hidden")}}(this))},t.prototype.updateLoadButton=function(t){return e(this.options.load).each(function(n){return function(i,r){var o,a;return o=e(r),a=e(t).find(n.options.load),a.length||(a=e(t).siblings(n.options.load)),a.length?o.attr("href",a.attr("href")):o.remove()}}(this))},t.prototype.createSpinner=function(){var e;return"undefined"==typeof Spinner?null:(e={lines:11,length:3,width:2,radius:6,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(e))},t.prototype.clickHandler=function(e){return this.load(e.target),!1},t.prototype.load=function(t){var n;return n=e(t),n.data("progress")===!0?!1:(this.startProgress(n),e.get(n.attr("href"),e.proxy(this.loadComplete,this,n),"html"))},t.prototype.startProgress=function(e){return e.data("progress",!0),e.css({width:e.outerWidth(),height:e.outerHeight(),position:"relative"}),e.html(""),this.spinner?this.spinner.spin(e[0]):void 0},t.prototype.stopProgress=function(e){return e.data("progress",!1),e.css({width:null,height:null,position:null}),e.html(e.data("default"))},t.prototype.loadComplete=function(t,n){var i,r;return i=e(n).find(this.options.item),r=this.$el.find(this.options.item).last(),r.after(i),this.updateLoadButton(n),this.stopProgress(t),t.blur()},t}(),n=function(n){return this.each(function(){var i,r,o;return i=e(this),r=i.data("sk.listgroup"),o=e.extend({},i.data(),"object"==typeof n&&n),r||i.data("sk.listgroup",r=new t(this,o)),i})},e.fn.listGroup=n,e.fn.listGroup.Constructor=t}(window.$)}.call(this);var checkPreorder=document.getElementById("check-preorder"),submitPurchase=document.getElementById("submit-purchase");checkPreorder&&submitPurchase&&checkPreorder.addEventListener("change",function(){var e=checkPreorder.checked;submitPurchase.disabled=e?!1:!0}),function(){!function(e){var t;return t=function(){function t(t,n){this.$el=e(t),this.options=n||{}
119,this.$imageContainer=this.$el.find(".image-container"),this.$thumbnails=this.$imageContainer.find(".thumbnails > div"),this.$thumbnails.on("mouseover",_.bind(this.thumbnailMouseOverHandler,this)),this.$mainImage=this.$el.find("#main-image"),this.zoomWindowId="zoom-window",this.$zoomWindow=this.$el.find("#"+this.zoomWindowId),e(window).on("resize",_.debounce(_.bind(this.resize,this),100)),this.$mainImage.imagesLoaded(function(e){return function(){return e.calcZoomWindowSize()}}(this))}return t.prototype.resize=function(){return this.calcZoomWindowSize()},t.prototype.thumbnailMouseOverHandler=function(t){var n,i;return i=e(t.currentTarget),n=i.find("img").first(),this.changeMainImage(n)},t.prototype.changeMainImage=function(e){return this.$mainImage.attr("src",e.data("original")),this.$mainImage.data("zoom-image",e.data("original")),this.$mainImage.imagesLoaded(function(e){return function(){return e.calcZoomWindowSize()}}(this))},t.prototype.calcZoomWindowSize=function(){var t,n;return e(".zoomContainer, .zoomWindowContainer").remove(),e.removeData(this.$mainImage,"elevateZoom"),this.isZoom()?(n=this.$zoomWindow.width(),t=this.$el.height(),"inner"===this.options.zoomType?this.$mainImage.elevateZoom({zoomType:this.options.zoomType,cursor:"crosshair",zoomWindowFadeIn:200,zoomWindowFadeOut:200}):this.$mainImage.elevateZoom({zoomWindowPosition:this.zoomWindowId,zoomWindowWidth:n,zoomWindowHeight:t,borderSize:0})):!1},t.prototype.isZoom=function(){return!(this.$el.width()===this.$imageContainer.width())},t}(),e.fn.productView=function(n){return this.each(function(){var i,r,o;return i=e(this),r=i.data("product-view"),o="object"==typeof n&&n,r||i.data("track-editor",r=new t(this,o)),i})}}(window.$)}.call(this),function(){!function(e){var t,n;return n=function(){function t(t){this.$el=e(t),this.$selectDeliver=e('input:radio[name="deliver_form"]'),this.$selectDeliver.on("change",e.proxy(this.selectDeliverForm,this))}return t.prototype.selectDeliverForm=function(t){var n;return n=e(t.currentTarget),this.changeDeliverForm(n.val())},t.prototype.changeDeliverForm=function(e){var t;return console.log(e),t=location.origin+"/shoppings",location.href=t+"/change_shipping_form?international_flag="+e,location.href},t}(),t=function(t){return this.each(function(){var i,r,o;return i=e(this),r=i.data("select-deliver"),o="object"==typeof t&&t,r||i.data("select-deliver",r=new n(this,o)),i})},e.fn.selectOverseasShipping=t,e.fn.selectOverseasShipping.Constructor=n,window.SelectOverseasShipping=n,e(function(){return e(".select-deliver").selectOverseasShipping()})}(window.$)}.call(this),function(){!function(e){var t;return t=function(){function t(t){this.supportTLS11=!0,this.$el=e(t),this.$credit=this.$el.find("#credit-card"),this.cards=[],this.$el.find('[name="creditcard[]"]').each(function(t){return function(n,i){return t.cards.push(e(i).val())}}(this)),this.$submit=this.$el.find("[type=submit]"),this.$submit.on("click",e.proxy(this.submitHandler,this)),this.$submit.prop("disabled",!1)}return t.VISA_REG=/^4[0-9]{12}(?:[0-9]{3})?$/,t.MASTER_REG=/^[5|2][0-9]{12}(?:[0-9]{3})?$/,t.prototype.submitHandler=function(){var e;return e=this.getTokenRequestData(),"1"!==this.$el.find("[name=payment_type_id]:checked").val()||this.hasCardToken()?this.request():this.requestMdkToken(),!1},t.prototype.request=function(){return this.hideErrorMessages(),this.setCreditDisabled(!0),e.ajax({url:this.$el.attr("action"),type:this.$el.attr("method"),data:this.$el.serialize(),dataType:"json",beforeSend:e.proxy(this.beforeSendHandler,this),success:e.proxy(this.successHandler,this),error:e.proxy(this.errorHandler,this),complete:e.proxy(this.completeHandler,this)})},t.prototype.beforeSendHandler=function(){return this.$submit.prop("disabled",!0)},t.prototype.successHandler=function(e){switch(e.status){case 200:return window.location=e.redirect_to;case 400:return this.showErrorMessages(e.errors),this.setCreditDisabled(!1),this.$submit.prop("disabled",!1)}},t.prototype.errorHandler=function(){},t.prototype.showErrorMessages=function(t){var n,i,r,o,a,s,l;l=[];for(r in t){switch(s=t[r],r=r.toLowerCase().replace(/(.*)::/,"")){case"credit":r="credit-card";break;case"cvs":r="convenience"}i=this.$el.find("#"+r),n=e('<div class="alert alert-danger"></div>').appendTo(i),l.push(function(){var e;e=[];for(a in s)o=s[a],e.push(n.append("<div>"+o+"</div>"));return e}())}return l},t.prototype.hideErrorMessages=function(){return this.$el.find(".alert.alert-danger").remove()},t.prototype.setCreditDisabled=function(e){var t;return t='[name$="[card_number]"], [name$="[card_expire1]"], [name$="[card_expire2]"], [name$="[security_code]"], [name$="[token_api_key]"], [name$="[cardholder_name]"]',this.$el.find(t).prop("disabled",e)},t.prototype.requestMdkToken=function(){var t,n,i;return this.hideErrorMessages(),n=this.getTokenRequestData(),t={},this.validateTokenRequestData(n,t)?(i=this.supportTLS11?"https://api3.veritrans.co.jp/4gtoken":"https://3gs.veritrans.co.jp/4gtoken",e.ajax({url:i,type:"POST",contentType:"application/json",data:JSON.stringify(n),dataType:"json",beforeSend:e.proxy(this.tokenBeforeSendHandler,this),success:e.proxy(this.tokenSuccessHandler,this),error:e.proxy(this.tokenErrorHandler,this)})):this.showErrorMessages(t)},t.prototype.tokenBeforeSendHandler=function(){return this.$submit.prop("disabled",!0)},t.prototype.tokenSuccessHandler=function(e){return this.$credit.find('[name$="[card_token]"]').val(e.token),this.$credit.find('[name$="[card_req_card_number]"]').val(e.req_card_number),this.request()},t.prototype.hasCardToken=function(){return this.$credit.find('[name$="[card_token]"]').val()&&this.$credit.find('[name$="[card_req_card_number]"]').val()},t.prototype.tokenErrorHandler=function(e){var t,n;return 0===e.readyState&&0===e.status?(this.supportTLS11=!1,this.requestMdkToken()):(n=e.responseJSON.c
119ode,t={credit:{key:[e.responseJSON.message]}},this.showErrorMessages(t),this.$submit.prop("disabled",!1))},t.prototype.getTokenRequestData=function(){var e;return e={card_number:this.$credit.find('[name$="[card_number]"]').val(),card_expire:[("00"+this.$credit.find('[name$="[card_expire1]"]').val()).slice(-2),this.$credit.find('[name$="[card_expire2]"]').val().slice(-2)].join("/"),security_code:this.$credit.find('[name$="[security_code]"]').val(),token_api_key:this.$credit.find('[name$="[token_api_key]"]').val()}},t.prototype.validateTokenRequestData=function(e,t){return e.card_number?this.cards.length>0&&!this.checkCardBrand(e.card_number)?(t.credit={card_number:[this.$credit.data("card-brand-message")]},!1):this.$credit.data("expire")&&!this.checkCardExpire(e.card_expire)?(t.credit={card_expire:[this.$credit.data("expire-message")]},!1):e.security_code?!0:(t.credit={security_code:[this.$credit.data("security-code-message")]},!1):(t.credit={card_number:[this.$credit.data("card-number-message")]},!1)},t.prototype.checkCardBrand=function(e){var n,i,r,o,a,s;for(r=!1,s=this.cards,o=0,a=s.length;a>o;o++)n=s[o],i=t[n.toUpperCase()+"_REG"],r||"undefined"==typeof i||(r=i.test(e));return r},t.prototype.checkCardExpire=function(e){var t,n,i;return i=e.split("/"),t=new Date(parseInt(String((new Date).getFullYear()).substr(0,2)+i[1]),parseInt(i[0]),0,23,59,59),n=new Date(this.$credit.data("expire")),t>n},t}(),e.fn.selectPaymentTypeForm=function(n){return this.each(function(){var i,r,o;return i=e(this),r=i.data("select-payment-type-form"),o="object"==typeof n&&n,r||i.data("select-payment-type-form",r=new t(this,o)),i})},e(function(){return e(".select-payment-type-form").selectPaymentTypeForm()})}(window.$)}.call(this),function(){!function(e){var t;return t=function(){function t(t,n){this.$el=e(t),this.target=n.target,this.$form=this.$el.find("form"),this.$selects=this.$el.find("select"),this.$selects.on("change",e.proxy(this.changeHandler,this)),this.$el.find(".search-btn").on("touchstart",function(e){return function(){return e.$form.submit(),!1 120}}(this))}return t.prototype.changeHandler=function(t){var n;return n={contexts:this.$selects.map(function(t,n){return e(n).attr("id")}).get().join(",")},this.$selects.each(function(t,i){var r;return r=e(i),n[r.attr("id")]=r.val()}),this.disabled(!0),e.getJSON("/tag_list/"+this.target,n,function(e){return function(n){return e.update(n,t.currentTarget),e.disabled(!1)}}(this))},t.prototype.disabled=function(e){return this.$selects.prop("disabled",e),this.$el.find("button").prop("disabled",e)},t.prototype.update=function(t){var n;return n=!1,this.$selects.each(function(i,r){var o,a,s;return o=e(r),"genres"!==o.attr("id")?(s=o.val(),o.children().not(":first").remove(),a=null,e.each(t,function(e,t){return t.context===o.attr("id")?a=t.tags:void 0}),a&&(e.each(a,function(t,n){return e('<option value="'+n.name+'">'+n.name+"</option>").appendTo(o)}),o.val(s),-1===o.prop("selectedIndex"))?(o.find("option").first().prop("selected",!0),n=!0):void 0):void 0}),n?this.$selects.trigger("change"):void 0},t}(),e.fn.tagSelectView=function(n){return this.each(function(){var i,r,o;return i=e(this),r=i.data("tag-select"),o="object"==typeof n&&n,r||i.data("tag-select",r=new t(this,o)),i})}}(window.$)}.call(this),!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):((e="undefined"!=typeof globalThis?globalThis:e||self).Vimeo=e.Vimeo||{},e.Vimeo.Player=t())}(this,function(){"use strict";function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function t(e,t){return 0===e.indexOf(t.toLowerCase())?e:"".concat(t.toLowerCase()).concat(e.substr(0,1).toUpperCase()).concat(e.substr(1))}function n(e){return/^(https?:)?\/\/((player|www)\.)?vimeo\.com(?=$|\/)/.test(e)}function i(e){var t=0<arguments.length&&void 0!==e?e:{},i=t.id,e=t.url,t=i||e;if(!t)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(e=t,!isNaN(parseFloat(e))&&isFinite(e)&&Math.floor(e)==e)return"https://vimeo.com/".concat(t);if(n(t))return t.replace("http:","https:");if(i)throw new TypeError("â".concat(i,"â is not a valid video id."));throw new TypeError("â".concat(t,"â is not a vimeo.com url."))}function r(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(x(this,"_id","_WeakMap_"+a()+"."+a()),0<arguments.length)throw new TypeError("WeakMap iterable is not supported")}function o(e,t){if(!s(e)||!k.call(e,"_id"))throw new TypeError(t+" method called on incompatible receiver "+typeof e)}function a(){return Math.random().toString().substring(2)}function s(e){return Object(e)===e}function l(e,t,n){var i=D.get(e.element)||{};t in i||(i[t]=[]),i[t].push(n),D.set(e.element,i)}function u(e,t){return(D.get(e.element)||{})[t]||[]}
120function c(e,t,n){var i=D.get(e.element)||{};return i[t]?n?(n=i[t].indexOf(n),-1!==n&&i[t].splice(n,1),D.set(e.element,i),i[t]&&0===i[t].length):(i[t]=[],D.set(e.element,i),!0):!0}function d(e,t){return M.reduce(function(t,n){var i=e.getAttribute("data-vimeo-".concat(n));return!i&&""!==i||(t[n]=""===i?1:i),t},1<arguments.length&&void 0!==t?t:{})}function f(e,t){var n=e.html;if(!t)throw new TypeError("An element must be provided");return null!==t.getAttribute("data-vimeo-initialized")?t.querySelector("iframe"):(e=document.createElement("div"),e.innerHTML=n,t.appendChild(e.firstChild),t.setAttribute("data-vimeo-initialized","true"),t.querySelector("iframe"))}function p(e,t,i){var r=1<arguments.length&&void 0!==t?t:{},o=2<arguments.length?i:void 0;return new Promise(function(t,i){if(!n(e))throw new TypeError("â".concat(e,"â is not a vimeo.com url."));var a,s="https://vimeo.com/api/oembed.json?url=".concat(encodeURIComponent(e));for(a in r)r.hasOwnProperty(a)&&(s+="&".concat(a,"=").concat(encodeURIComponent(r[a])));var l=new("XDomainRequest"in window?XDomainRequest:XMLHttpRequest);l.open("GET",s,!0),l.onload=function(){if(404!==l.status)if(403!==l.status)try{var n=JSON.parse(l.responseText);if(403===n.domain_status_code)return f(n,o),void i(new Error("â".concat(e,"â is not embeddable.")));t(n)}catch(n){i(n)}else i(new Error("â".concat(e,"â is not embeddable.")));else i(new Error("â".concat(e,"â was not found.")))},l.onerror=function(){var e=l.status?" (".concat(l.status,")"):"";i(new Error("There was an error fetching the embed code from Vimeo".concat(e,".")))},l.send()})}function h(e){function t(e){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(e))}e=0<arguments.length&&void 0!==e?e:document,e=[].slice.call(e.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),e.forEach(function(e){try{if(null!==e.getAttribute("data-vimeo-defer"))return;var n=d(e);p(i(n),n,e).then(function(t){return f(t,e)}).catch(t)}catch(n){t(n)}})}function m(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){return console.warn(e),{}}return e}function g(e,t,n){e.element.contentWindow&&e.element.contentWindow.postMessage&&(t={method:t},void 0!==n&&(t.value=n),8<=(n=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1")))&&10>n&&(t=JSON.stringify(t)),e.element.contentWindow.postMessage(t,e.origin))}function v(e,t){var n,i,r,o,a=[];(t=m(t)).event?("error"===t.event&&u(e,t.data.method).forEach(function(n){var i=new Error(t.data.message);i.name=t.data.name,n.reject(i),c(e,t.data.method,n)}),a=u(e,"event:".concat(t.event)),n=t.data):t.method&&(i=e,r=t.method,(o=!((o=u(i,r)).length<1)&&(o=o.shift(),c(i,r,o),o))&&(a.push(o),n=t.value)),a.forEach(function(t){try{if("function"==typeof t)return void t.call(e,n);t.resolve(n)}catch(t){}})}var y="undefined"!=typeof global&&"[object global]"==={}.toString.call(global),b=void 0!==Array.prototype.indexOf,w="undefined"!=typeof window&&void 0!==window.postMessage;if(!(y||b&&w))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var k,x,T="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};(w="undefined"!=typeof self?self:"undefined"!=typeof window?window:T).WeakMap||(k=Object.prototype.hasOwnProperty,w.WeakMap=((x=function(e,t,n){Object.defineProperty?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:n}):e[t]=n})(r.prototype,"delete",function(e){if(o(this,"delete"),!s(e))return!1;var t=e[this._id];return!(!t||t[0]!==e||(delete e[this._id],0))}),x(r.prototype,"get",function(e){if(o(this,"get"),s(e)){var t=e[this._id];return t&&t[0]===e?t[1]:void 0}}),x(r.prototype,"has",function(e){if(o(this,"has"),!s(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)}),x(r.prototype,"set",function(e,t){if(o(this,"set"),!s(e))throw new TypeError("Invalid value used as weak map key");var n=e[this._id];return n&&n[0]===e?n[1]=t:x(e,this._id,[e,t]),this}),x(r,"_polyfill",!0),r));var C,S,_,E,$=(function(e){var t,n,i;i=function(){function e(e,t){this.fn=e,this.self=t,this.next=void 0}function t(e,t){v.add(e,t),d=d||g(v.drain)}function n(e){var t,n=typeof e;return"function"==typeof(t=null==e||"object"!=n&&"function"!=n?t:e.then)&&t}function i(){for(var e=0;e<this.chain.length;e++)!function(e,t,i){var r,o;try{!1===t?i.reject(e.msg):(r=!0===t?e.msg:t.call(void 0,e.msg))===i.promise?i.reject(TypeError("Promise-chain cycle")):(o=n(r))?o.call(r,i.resolve,i.reject):i.resolve(r)}catch(e){i.reject(e)}}(this,1===this.state?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function r(e){var a,l=this;if(!l.triggered){l.triggered=!0,l.def&&(l=l.def);try{(a=n(e))?t(function(){var e=new s(l);try{a.call(t,function(){r.apply(e,arguments)},function(){o.apply(e,arguments)})}catch(t){o.call(e,t)}}):(l.msg=e,l.state=1,0<l.chain.length&&t(i,l))}catch(e){o.call(new s(l),e)}}}function o(e){var n=this;n.triggered||(n.triggered=!0,(n=n.def?n.def:n).msg=e,n.state=2,0<n.chain.length&&t(i,n))}function a(e,t,n,i){for(var r=0;r<t.length;r++)!function(r){e.resolve(t[r]).then(function(e){n(r,e)},i)}(r)}function s(e){this.def=e,this.triggered=!1}function l(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function u(e){if("function"!=typeof e)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var n=new l(this);this.then=function(e,r){var o={success:"function"!=typeof e||e,failure:"function"==typeof r&&r};return o.promise=new this.constructor(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");o.resolve=e,o.reject=t}),n.chain.push(o),0!==n.state&&t(i,n),o.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){r.call(n,e)},function(e){o.call(n,e)})}catch(e){o.call(n,e)}}var c,d,f,p,h,m=Object.prototype.toString,g="undefined"!=typeof setImmediate?function(e){return setImmediate(e)}:setTimeout;try{Object.defineProperty({},"x",{}),c=function(e,t,n,i){return Object.defineProperty(e,t,{value:n,writable:!0,configurable:!1!==i})}}catch(m){c=function(e,t,n){return e[t]=n,e}}var v={add:function(t,n){h=new e(t,n),p?p.next=h:f=h,p=h,h=void 0},drain:function(){var e=f;for(f=p=d=void 0;e;)e.fn.call(e.self),e=e.next}},y=c({},"constructor",u,!1);return c(u.prototype=y,"__NPO__",0,!1),c(u,"resolve",function(e){return e&&"object"==typeof e&&1===e.__NPO__?e:new this(function(t,n){if("function"!=typeof t||"function"!=typeof n)throw TypeError("Not a function");t(e)})}),c(u,"reject",function(e){return new this(function(t,n){if("function"!=typeof t||"function"!=typeof n)throw TypeError("Not a function");n(e)})}),c(u,"all",function(e){var t=this;return"[object Array]"!=m.call(e)?t.reject(TypeError("Not an array")):0===e.length?t.resolve([]):new t(function(n,i){if
vendor: 9,192 bytes, line 120
120("function"!=typeof n||"function"!=typeof i)throw TypeError("Not a function");var r=e.length,o=Array(r),s=0;a(t,e,function(e,t){o[e]=t,++s===r&&n(o)},i)})}),c(u,"race",function(e){var t=this;return"[object Array]"!=m.call(e)?t.reject(TypeError("Not an array")):new t(function(n,i){if("function"!=typeof n||"function"!=typeof i)throw TypeError("Not a function");a(t,e,function(e,t){n(t)},i)})}),u},(n=T)[t="Promise"]=n[t]||i(),e.exports&&(e.exports=n[t])}(C={exports:{}}),C.exports),D=new WeakMap,M=["autopause","autoplay","background","byline","color","controls","dnt","height","id","interactiveparams","keyboard","loop","maxheight","maxwidth","muted","playsinline","portrait","responsive","speed","texttrack","title","transparent","url","width"],P=new WeakMap,A=new WeakMap,j={},w=function(){function r(e){var t,o=this,a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),window.jQuery&&e instanceof jQuery&&(1<e.length&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),e=e[0]),"undefined"!=typeof document&&"string"==typeof e&&(e=document.getElementById(e)),t=e,!Boolean(t&&1===t.nodeType&&"nodeName"in t&&t.ownerDocument&&t.ownerDocument.defaultView))throw new TypeError("You must pass either a valid element or a valid id.");if("IFRAME"===e.nodeName||(u=e.querySelector("iframe"))&&(e=u),"IFRAME"===e.nodeName&&!n(e.getAttribute("src")||""))throw new Error("The player element passed isnât a Vimeo embed.");if(P.has(e))return P.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";var s,u=new $(function(t,r){var s;o._onMessage=function(e){if(n(e.origin)&&o.element.contentWindow===e.source){"*"===o.origin&&(o.origin=e.origin);var i=m(e.data);if(i&&"error"===i.event&&i.data&&"ready"===i.data.method){var a=new Error(i.data.message);return a.name=i.data.name,void r(a)}if(e=i&&"ready"===i.event,a=i&&"ping"===i.method,e||a)return o.element.setAttribute("data-ready","true"),void t();v(o,i)}},o._window.addEventListener("message",o._onMessage),"IFRAME"!==o.element.nodeName&&p(i(s=d(e,a)),s,e).then(function(t){var n,i,r=f(t,e);return o.element=r,o._originalElement=e,n=e,i=r,r=D.get(n),D.set(i,r),D.delete(n),P.set(o.element,o),t}).catch(r)});return A.set(this,u),P.set(this.element,this),"IFRAME"===this.element.nodeName&&g(this,"ping"),j.isEnabled&&(s=function(){return j.exit()},this.fullscreenchangeHandler=function(){(j.isFullscreen?l:c)(o,"event:exitFullscreen",s),o.ready().then(function(){g(o,"fullscreenchange",j.isFullscreen)})},j.on("fullscreenchange",this.fullscreenchangeHandler)),this}var o,a,s;return o=r,(a=[{key:"callMethod",value:function(e){var t=this,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return new $(function(i,r){return t.ready().then(function(){l(t,e,{resolve:i,reject:r}),g(t,e,n)}).catch(r)})}},{key:"get",value:function(e){var n=this;return new $(function(i,r){return e=t(e,"get"),n.ready().then(function(){l(n,e,{resolve:i,reject:r}),g(n,e)}).catch(r)})}},{key:"set",value:function(e,n){var i=this;return new $(function(r,o){if(e=t(e,"set"),null==n)throw new TypeError("There must be a value to set.");return i.ready().then(function(){l(i,e,{resolve:r,reject:o}),g(i,e,n)}).catch(o)})}},{key:"on",value:function(e,t){if(!e)throw new TypeError("You must pass an event name.");if(!t)throw new TypeError("You must pass a callback function.");if("function"!=typeof t)throw new TypeError("The callback must be a function.");0===u(this,"event:".concat(e)).length&&this.callMethod("addEventListener",e).catch(function(){}),l(this,"event:".concat(e),t)}},{key:"off",value:function(e,t){if(!e)throw new TypeError("You must pass an event name.");if(t&&"function"!=typeof t)throw new TypeError("The callback must be a function.");c(this,"event:".concat(e),t)&&this.callMethod("removeEventListener",e).catch(function(){})}},{key:"loadVideo",value:function(e){return this.callMethod("loadVideo",e)}},{key:"ready",value:function(){var e=A.get(this)||new $(function(e,t){t(new Error("Unknown player. Probably unloaded."))});return $.resolve(e)}},{key:"addCuePoint",value:function(e){return this.callMethod("addCuePoint",{time:e,data:1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}})}},{key:"removeCuePoint",value:function(e){return this.callMethod("removeCuePoint",e)}},{key:"enableTextTrack",value:function(e,t){if(!e)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:e,kind:t})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return j.isEnabled?j.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return j.isEnabled?j.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return j.isEnabled?$.resolve(j.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var e=this;return new $(function(t){var n;A.delete(e),P.delete(e.element),e._originalElement&&(P.delete(e._originalElement),e._originalElement.removeAttribute("data-vimeo-initialized")),e.element&&"IFRAME"===e.element.nodeName&&e.element.parentNode&&(e.element.parentNode.parentNode&&e._originalElement&&e._originalElement!==e.element.parentNode?e.element.parentNode.parentNode.removeChild(e.element.parentNode):e.element.parentNode.removeChild(e.element)),e.element&&"DIV"===e.element.nodeName&&e.element.parentNode&&(e.element.removeAttribute("data-vimeo-initialized"),(n=e.element.querySelector("iframe"))&&n.parentNode&&(n.parentNode.parentNode&&e._originalElement&&e._originalElement!==n.parentNode?n.parentNode.parentNode.removeChild(n.parentNode):n.parentNode.removeChild(n))),e._window.removeEventListener("message",e._onMessage),j.isEnabled&&j.off("fullscreenchange",e.fullscreenchangeHandler),t()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(e){return this.set("autopause",e)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(e){return this.set("cameraProps",e)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"setColor",value:function(e){return this.set("color",e)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(e){return this.set("currentTime",e)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(e){return this.set("loop",e)}},{key:"setMuted",value:function(e){return this.set("muted",e)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(e){return this.set("playbackRate",e)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(e){return this.set("quality",e)}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(e){return this.set("volume",e)}}])&&e(o.prototype,a),s&&e(o,s),r}();return y||(S=function(){for(var e,t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["
120webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],n=0,i=t.length,r={};i>n;n++)if((e=t[n])&&e[1]in document){for(n=0;n<e.length;n++)r[t[0][n]]=e[n];return r}return!1}(),_={fullscreenchange:S.fullscreenchange,fullscreenerror:S.fullscreenerror},E={request:function(e){return new Promise(function(t,n){function i(){E.off("fullscreenchange",i),t()}E.on("fullscreenchange",i);var r=(e=e||document.documentElement)[S.requestFullscreen]();r instanceof Promise&&r.then(i).catch(n)})},exit:function(){return new Promise(function(e,t){var n,i;E.isFullscreen?(n=function r(){E.off("fullscreenchange",r),e()},E.on("fullscreenchange",n),(i=document[S.exitFullscreen]())instanceof Promise&&i.then(n).catch(t)):e()})},on:function(e,t){e=_[e],e&&document.addEventListener(e,t)},off:function(e,t){e=_[e],e&&document.removeEventListener(e,t)}},Object.defineProperties(E,{isFullscreen:{get:function(){return Boolean(document[S.fullscreenElement])}},element:{enumerable:!0,get:function(){return document[S.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(document[S.fullscreenEnabled])}}}),j=E,h(),function(e){var t=0<arguments.length&&void 0!==e?e:document;window.VimeoPlayerResizeEmbeds_||(window.VimeoPlayerResizeEmbeds_=!0,window.addEventListener("message",function(e){if(n(e.origin)&&e.data&&"spacechange"===e.data.event)for(var i=t.querySelectorAll("iframe"),r=0;r<i.length;r++)if(i[r].contentWindow===e.source){i[r].parentElement.style.paddingBottom="".concat(e.data.data[0].bottom,"px");break}}))}()),w}),function(){var e;$("#player").length>0&&(e=new Vimeo.Player($("#player")),e.on("play",function(){return $(".movie-player").addClass("is-play")}),$.fn.prevSkip=function(t){var n,i;return n=$.extend({skip:10},t),i=n.skipTime,$(this).append("<span>"+String(i)+"</span>"),this.click(function(){e.getCurrentTime().then(function(t){return t>i?e.setCurrentTime(t-i):e.setCurrentTime(0)})})},$.fn.nextSkip=function(t){var n,i;return n=$.extend({skip:10},t),i=n.skipTime,$(this).prepend("<span>"+String(i)+"</span>"),this.click(function(){n=$.extend({skip:10},t),e.getDuration().then(function(t){e.getCurrentTime().then(function(n){return t-n>i?e.setCurrentTime(n+i):e.setCurrentTime(t)})})})})}.call(this),function(){!function(e){var t;return t=function(){function t(t,n){this.$el=e(t),this.options=n||{},this.id=this.$el.attr("id"),this.width=this.options.width||640,this.height=this.options.height||360,this.videoId=this.options.id,this.options.params.playlist=this.videoId,this.params=this.options.params?this.options.params:this.paramYoutubeApi(),this.player=this.onYouTubePlayerAPIReady(),this.hideControl=this.$el.data("control-bar"),Boolean(this.hideControl)&&(this.volumeOutput=this.volumeElemOutput())}return t.prototype.paramYoutubeApi=function(){return this.playerVars={autoplay:0,cc_load_policy:1,color:"red",controls:0,disablekb:0,enablejsapi:1,fs:1,iv_load_policy:3,loop:1,modestbranding:0,origin:0,playsinline:1,rel:0,showinfo:0,playlist:this.videoId}},t.prototype.onYouTubePlayerAPIReady=function(){var e;return e=new YT.Player(this.id,{height:this.height,width:this.width,videoId:this.videoId,playerVars:this.params,events:{onReady:this.onPlayerReady}})},t.prototype.onPlayerReady=function(e){return e.target.mute(),e.target.setPlaybackQuality("highres")},t.prototype.volumeElemOutput=function(){var e;return e='<div class="vimeo_attribution_area"> <a class="vimeo_volume_item"></a> <input type="range" value="0" class="vimeo_volume_range"> </div>',this.$el.after(e)},t}(),e.fn.youtubePlayer=function(n){return this.each(function(){var i,r,o;return i=e(this),r=i.data("video-view"),o="object"==typeof n&&n,r||i.data("video-view",r=new t(this,o)),i})}}(window.$)}.call(this),new function(){function e(){document.getElementsByTagName("body")[0].clientHeight;document.getElementById(i).style.top="0px";var e=document.getElementById(i).offsetTop,t=document.getElementById(i).offsetHeight;if(window.innerHeight)var n=window.innerHeight;else if(document.documentElement&&0!=document.documentElement.clientHeight)var n=document.documentElement.clientHeight;n>e+t&&(document.getElementById(i).style.position="relative",document.getElementById(i).style.top=n-t-e-1+"px")}function t(e){function t(){r!=n.offsetHeight&&(e(),r=n.offsetHeight)}var n=document.createElement("div"),i=document.createTextNode("S");n.appendChild(i),n.style.visibility="hidden",n.style.position="absolute",n.style.top="0",document.body.appendChild(n);var r=n.offsetHeight;setInterval(t,1e3)}function n(e,t,n){try{e.addEventListener(t,n,!1)}catch(i){e.attachEvent("on"+t,n)}}var i="footer";n(window,"load",e),n(window,"load",function(){t(e)}),n(window,"resize",e)},/*! Magnific Popup - v0.9.9 - 2014-09-06
121* http://dimsemenov.com/plugins/magnific-popup/ 122* Copyright (c) 2014 Dmitry Semenov; */ 123function(e){var t,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(){},k=!!window.jQuery,x=e(window),T=function(e,n){t.ev.on(m+e+g,n)},C=function(t,n,i,r){var o=document.createElement("div");return o.className="mfp-"+t,i&&(o.innerHTML=i),r?n&&n.appendChild(o):(o=e(o),n&&o.appendTo(n)),o},S=function(n,i){t.ev.triggerHandler(m+n,i),t.st.callbacks&&(n=n.charAt(0).toLowerCase()+n.slice(1),t.st.callbacks[n]&&t.st.callbacks[n].apply(t,e.isArray(i)?i:[i]))},_=function(n){return n===s&&t.currTemplate.closeBtn||(t.currTemplate.closeBtn=e(t.st.closeMarkup.replace("%title%",t.st.tClose)),s=n),t.currTemplate.closeBtn},E=function(){e.magnificPopup.instance||(t=new w,t.init(),e.magnificPopup.instance=t)},$=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1};w.prototype={constructor:w,init:function(){var n=navigator.appVersion;t.isIE7=-1!==n.indexOf("MSIE 7."),t.isIE8=-1!==n.indexOf("MSIE 8."),t.isLowIE=t.isIE7||t.isIE8,t.isAndroid=/android/gi.test(n),t.isIOS=/iphone|ipad|ipod/gi.test(n),t.supportsTransition=$(),t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),r=e(document),t.popupsCache={}},open:function(n){i||(i=e(document.body));var o;if(n.isObj===!1){t.items=n.items.toArray(),t.index=0;var s,l=n.items;for(o=0;l.length>
123o;o++)if(s=l[o],s.parsed&&(s=s.el[0]),s===n.el[0]){t.index=o;break}}else t.items=e.isArray(n.items)?n.items:[n.items],t.index=n.index||0;if(t.isOpen)return t.updateItemHTML(),void 0;t.types=[],a="",t.ev=n.mainEl&&n.mainEl.length?n.mainEl.eq(0):r,n.key?(t.popupsCache[n.key]||(t.popupsCache[n.key]={}),t.currTemplate=t.popupsCache[n.key]):t.currTemplate={},t.st=e.extend(!0,{},e.magnificPopup.defaults,n),t.fixedContentPos="auto"===t.st.fixedContentPos?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=C("bg").on("click"+g,function(){t.close()}),t.wrap=C("wrap").attr("tabindex",-1).on("click"+g,function(e){t._checkIfClose(e.target)&&t.close()}),t.container=C("container",t.wrap)),t.contentContainer=C("content"),t.st.preloader&&(t.preloader=C("preloader",t.container,t.st.tLoading));var u=e.magnificPopup.modules;for(o=0;u.length>o;o++){var c=u[o];c=c.charAt(0).toUpperCase()+c.slice(1),t["init"+c].call(t)}S("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(T(f,function(e,t,n,i){n.close_replaceWith=_(i.type)}),a+=" mfp-close-btn-in"):t.wrap.append(_())),t.st.alignTop&&(a+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:x.scrollTop(),position:"absolute"}),(t.st.fixedBgPos===!1||"auto"===t.st.fixedBgPos&&!t.fixedContentPos)&&t.bgOverlay.css({height:r.height(),position:"absolute"}),t.st.enableEscapeKey&&r.on("keyup"+g,function(e){27===e.keyCode&&t.close()}),x.on("resize"+g,function(){t.updateSize()}),t.st.closeOnContentClick||(a+=" mfp-auto-cursor"),a&&t.wrap.addClass(a);var d=t.wH=x.height(),h={};if(t.fixedContentPos&&t._hasScrollBar(d)){var m=t._getScrollbarSize();m&&(h.marginRight=m)}t.fixedContentPos&&(t.isIE7?e("body, html").css("overflow","hidden"):h.overflow="hidden");var y=t.st.mainClass;return t.isIE7&&(y+=" mfp-ie7"),y&&t._addClassToMFP(y),t.updateItemHTML(),S("BuildControls"),e("html").css(h),t.bgOverlay.add(t.wrap).prependTo(t.st.prependTo||i),t._lastFocusedEl=document.activeElement,setTimeout(function(){t.content?(t._addClassToMFP(v),t._setFocus()):t.bgOverlay.addClass(v),r.on("focusin"+g,t._onFocusIn)},16),t.isOpen=!0,t.updateSize(d),S(p),n},close:function(){t.isOpen&&(S(u),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP(y),setTimeout(function(){t._close()},t.st.removalDelay)):t._close())},_close:function(){S(l);var n=y+" "+v+" ";if(t.bgOverlay.detach(),t.wrap.detach(),t.container.empty(),t.st.mainClass&&(n+=t.st.mainClass+" "),t._removeClassFromMFP(n),t.fixedContentPos){var i={marginRight:""};t.isIE7?e("body, html").css("overflow",""):i.overflow="",e("html").css(i)}r.off("keyup"+g+" focusin"+g),t.ev.off(g),t.wrap.attr("class","mfp-wrap").removeAttr("style"),t.bgOverlay.attr("class","mfp-bg"),t.container.attr("class","mfp-container"),!t.st.showCloseBtn||t.st.closeBtnInside&&t.currTemplate[t.currItem.type]!==!0||t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach(),t._lastFocusedEl&&e(t._lastFocusedEl).focus(),t.currItem=null,t.content=null,t.currTemplate=null,t.prevHeight=0,S(c)},updateSize:function(e){if(t.isIOS){var n=document.documentElement.clientWidth/window.innerWidth,i=window.innerHeight*n;t.wrap.css("height",i),t.wH=i}else t.wH=e||x.height();t.fixedContentPos||t.wrap.css("height",t.wH),S("Resize")},updateItemHTML:function(){var n=t.items[t.index];t.contentContainer.detach(),t.content&&t.content.detach(),n.parsed||(n=t.parseEl(t.index));var i=n.type;if(S("BeforeChange",[t.currItem?t.currItem.type:"",i]),t.currItem=n,!t.currTemplate[i]){var r=t.st[i]?t.st[i].markup:!1;S("FirstMarkupParse",r),t.currTemplate[i]=r?e(r):!0}o&&o!==n.type&&t.container.removeClass("mfp-"+o+"-holder");var a=t["get"+i.charAt(0).toUpperCase()+i.slice(1)](n,t.currTemplate[i]);t.appendContent(a,i),n.preloaded=!0,S(h,n),o=n.type,t.container.prepend(t.contentContainer),S("AfterChange")},appendContent:function(e,n){t.content=e,e?t.st.showCloseBtn&&t.st.closeBtnInside&&t.currTemplate[n]===!0?t.content.find(".mfp-close").length||t.content.append(_()):t.content=e:t.content="",S(d),t.container.addClass("mfp-"+n+"-holder"),t.contentContainer.append(t.content)},parseEl:function(n){var i,r=t.items[n];if(r.tagName?r={el:e(r)}:(i=r.type,r={data:r,src:r.src}),r.el){for(var o=t.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||t.st.type||"inline",r.index=n,r.parsed=!0,t.items[n]=r,S("ElementParse",r),t.items[n]},addGroup:function(e,n){var i=function(i){i.mfpEl=this,t._openClick(i,e,n)};n||(n={});var r="click.magnificPopup";n.mainEl=e,n.items?(n.isObj=!0,e.off(r).on(r,i)):(n.isObj=!1,n.delegate?e.off(r).on(r,n.delegate,i):(n.items=e,e.off(r).on(r,i)))},_openClick:function(n,i,r){var o=void 0!==r.midClick?r.midClick:e.magnificPopup.defaults.midClick;if(o||2!==n.which&&!n.ctrlKey&&!n.metaKey){var a=void 0!==r.disableOn?r.disableOn:e.magnificPopup.defaults.disableOn;if(a)if(e.isFunction(a)){if(!a.call(t))return!0}else if(a>x.width())return!0;n.type&&(n.preventDefault(),t.isOpen&&n.stopPropagation()),r.el=e(n.mfpEl),r.delegate&&(r.items=i.find(r.delegate)),t.open(r)}},updateStatus:function(e,i){if(t.preloader){n!==e&&t.container.removeClass("mfp-s-"+n),i||"loading"!==e||(i=t.st.tLoading);var r={status:e,text:i};S("UpdateStatus",r),e=r.status,i=r.text,t.preloader.html(i),t.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),t.container.addClass("mfp-s-"+e),n=e}},_checkIfClose:function(n){if(!e(n).hasClass(b)){var i=t.st.closeOnContentClick,r=t.st.closeOnBgClick;if(i&&r)return!0;
123if(!t.content||e(n).hasClass("mfp-close")||t.preloader&&n===t.preloader[0])return!0;if(n===t.content[0]||e.contains(t.content[0],n)){if(i)return!0}else if(r&&e.contains(document,n))return!0;return!1}},_addClassToMFP:function(e){t.bgOverlay.addClass(e),t.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),t.wrap.removeClass(e)},_hasScrollBar:function(e){return(t.isIE7?r.height():document.body.scrollHeight)>(e||x.height())},_setFocus:function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).focus()},_onFocusIn:function(n){return n.target===t.wrap[0]||e.contains(t.wrap[0],n.target)?void 0:(t._setFocus(),!1)},_parseMarkup:function(t,n,i){var r;i.data&&(n=e.extend(i.data,n)),S(f,[t,n,i]),e.each(n,function(e,n){if(void 0===n||n===!1)return!0;if(r=e.split("_"),r.length>1){var i=t.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 t.find(g+"-"+e).html(n)})},_getScrollbarSize:function(){if(void 0===t.scrollbarSize){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),t.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return t.scrollbarSize}},e.magnificPopup={instance:null,proto:w.prototype,modules:[],open:function(t,n){return E(),t=t?e.extend(!0,{},t):{},t.isObj=!0,t.index=n||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,n){n.options&&(e.magnificPopup.defaults[t]=n.options),e.extend(this.proto,n.proto),this.modules.push(t)},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..."}},e.fn.magnificPopup=function(n){E();var i=e(this);if("string"==typeof n)if("open"===n){var r,o=k?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)),t._openClick({mfpEl:r},i,o)}else t.isOpen&&t[n].apply(t,Array.prototype.slice.call(arguments,1));else n=e.extend(!0,{},n),k?i.data("magnificPopup",n):i[0].magnificPopup=n,t.addGroup(i,n);return i};var D,M,P,A="inline",j=function(){P&&(M.after(P.addClass(D)).detach(),P=null)};e.magnificPopup.registerModule(A,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push(A),T(l+"."+A,function(){j()})},getInline:function(n,i){if(j(),n.src){var r=t.st.inline,o=e(n.src);if(o.length){var a=o[0].parentNode;a&&a.tagName&&(M||(D=r.hiddenClass,M=C(D),D="mfp-"+D),P=o.after(M).detach().removeClass(D)),t.updateStatus("ready")}else t.updateStatus("error",r.tNotFound),o=e("<div>");return n.inlineElement=o,o}return t.updateStatus("ready"),t._parseMarkup(i,{},n),i}}});var N,O="ajax",L=function(){N&&i.removeClass(N)},H=function(){L(),t.req&&t.req.abort()};e.magnificPopup.registerModule(O,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){t.types.push(O),N=t.st.ajax.cursor,T(l+"."+O,H),T("BeforeChange."+O,H)},getAjax:function(n){N&&i.addClass(N),t.updateStatus("loading");var r=e.extend({url:n.src,success:function(i,r,o){var a={data:i,xhr:o};S("ParseAjax",a),t.appendContent(e(a.data),O),n.finished=!0,L(),t._setFocus(),setTimeout(function(){t.wrap.addClass(v)},16),t.updateStatus("ready"),S("AjaxContentAdded")},error:function(){L(),n.finished=n.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",n.src))}},t.st.ajax.settings);return t.req=e.ajax(r),""}}});var F,z=function(n){if(n.data&&void 0!==n.data.title)return n.data.title;
123var i=t.st.image.titleSrc;if(i){if(e.isFunction(i))return i.call(t,n);if(n.el)return n.el.attr(i)||""}return""};e.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 e=t.st.image,n=".image";t.types.push("image"),T(p+n,function(){"image"===t.currItem.type&&e.cursor&&i.addClass(e.cursor)}),T(l+n,function(){e.cursor&&i.removeClass(e.cursor),x.off("resize"+g)}),T("Resize"+n,t.resizeImage),t.isLowIE&&T("AfterChange",t.resizeImage)},resizeImage:function(){var e=t.currItem;if(e&&e.img&&t.st.image.verticalFit){var n=0;t.isLowIE&&(n=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-n)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,F&&clearInterval(F),e.isCheckingImgSize=!1,S("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var n=0,i=e.img[0],r=function(o){F&&clearInterval(F),F=setInterval(function(){return i.naturalWidth>0?(t._onImageHasSize(e),void 0):(n>200&&clearInterval(F),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===t.currItem&&(t._onImageHasSize(n),t.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===t.currItem&&(t._onImageHasSize(n),t.updateStatus("error",s.tError.replace("%url%",n.src))),n.hasSize=!0,n.loaded=!0,n.loadError=!0)},s=t.st.image,l=i.find(".mfp-img");if(l.length){var u=document.createElement("img");u.className="mfp-img",n.img=e(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.naturalWidth>0?n.hasSize=!0:u.width||(n.hasSize=!1)}return t._parseMarkup(i,{title:z(n),img_replaceWith:n.img},n),t.resizeImage(),n.hasSize?(F&&clearInterval(F),n.loadError?(i.addClass("mfp-loading"),t.updateStatus("error",s.tError.replace("%url%",n.src))):(i.removeClass("mfp-loading"),t.updateStatus("ready")),i):(t.updateStatus("loading"),n.loading=!0,n.hasSize||(n.imgHidden=!0,i.addClass("mfp-loading"),t.findImageSize(n)),i)}}});var I,W=function(){return void 0===I&&(I=void 0!==document.createElement("p").style.MozTransform),I};e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,n=t.st.zoom,i=".zoom";if(n.enabled&&t.supportsTransition){var r,o,a=n.duration,s=function(e){var t=e.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,t.css(r),t},c=function(){t.content.css("visibility","visible")};T("BuildControls"+i,function(){if(t._allowZoom()){if(clearTimeout(r),t.content.css("visibility","hidden"),e=t._getItemToZoom(),!e)return c(),void 0;o=s(e),o.css(t._getOffset()),t.wrap.append(o),r=setTimeout(function(){o.css(t._getOffset(!0)),r=setTimeout(function(){c(),setTimeout(function(){o.remove(),e=o=null,S("ZoomAnimationEnded")},16)},a)},16)}}),T(u+i,function(){if(t._allowZoom()){if(clearTimeout(r),t.st.removalDelay=a,!e){if(e=t._getItemToZoom(),!e)return;o=s(e)}o.css(t._getOffset(!0)),t.wrap.append(o),t.content.css("visibility","hidden"),setTimeout(function(){o.css(t._getOffset())},16)}}),T(l+i,function(){t._allowZoom()&&(c(),o&&o.remove(),e=null)})}},_allowZoom:function(){return"image"===t.currItem.type},_getItemToZoom:function(){return t.currItem.hasSize?t.currItem.img:!1},_getOffset:function(n){var i;i=n?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem);var r=i.offset(),o=parseInt(i.css("padding-top"),10),a=parseInt(i.css("padding-bottom"),10);r.top-=e(window).scrollTop()-o;var s={width:i.width(),height:(k?i.innerHeight():i[0].offsetHeight)-a-o};
123return 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",B="//about:blank",Y=function(e){if(t.currTemplate[R]){var n=t.currTemplate[R].find("iframe");n.length&&(e||(n[0].src=B),t.isIE8&&n.css("display",e?"block":"none"))}};e.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(){t.types.push(R),T("BeforeChange",function(e,t,n){t!==n&&(t===R?Y():n===R&&Y(!0))}),T(l+"."+R,function(){Y()})},getIframe:function(n,i){var r=n.src,o=t.st.iframe;e.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),t._parseMarkup(i,a,n),t.updateStatus("ready"),i}}});var q=function(e){var n=t.items.length;return e>n-1?e-n:0>e?n+e:e},V=function(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)};e.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=t.st.gallery,i=".mfp-gallery",o=Boolean(e.fn.mfpFastClick);return t.direction=!0,n&&n.enabled?(a+=" mfp-gallery",T(p+i,function(){n.navigateByImgClick&&t.wrap.on("click"+i,".mfp-img",function(){return t.items.length>1?(t.next(),!1):void 0}),r.on("keydown"+i,function(e){37===e.keyCode?t.prev():39===e.keyCode&&t.next()})}
123),T("UpdateStatus"+i,function(e,n){n.text&&(n.text=V(n.text,t.currItem.index,t.items.length))}),T(f+i,function(e,i,r,o){var a=t.items.length;r.counter=a>1?V(n.tCounter,o.index,a):""}),T("BuildControls"+i,function(){if(t.items.length>1&&n.arrows&&!t.arrowLeft){var i=n.arrowMarkup,r=t.arrowLeft=e(i.replace(/%title%/gi,n.tPrev).replace(/%dir%/gi,"left")).addClass(b),a=t.arrowRight=e(i.replace(/%title%/gi,n.tNext).replace(/%dir%/gi,"right")).addClass(b),s=o?"mfpFastClick":"click";r[s](function(){t.prev()}),a[s](function(){t.next()}),t.isIE7&&(C("b",r[0],!1,!0),C("a",r[0],!1,!0),C("b",a[0],!1,!0),C("a",a[0],!1,!0)),t.container.append(r.add(a))}}),T(h+i,function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout(function(){t.preloadNearbyImages(),t._preloadTimeout=null},16)}),T(l+i,function(){r.off(i),t.wrap.off("click"+i),t.arrowLeft&&o&&t.arrowLeft.add(t.arrowRight).destroyMfpFastClick(),t.arrowRight=t.arrowLeft=null}),void 0):!1},next:function(){t.direction=!0,t.index=q(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=q(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,n=t.st.gallery.preload,i=Math.min(n[0],t.items.length),r=Math.min(n[1],t.items.length);for(e=1;(t.direction?r:i)>=e;e++)t._preloadItem(t.index+e);for(e=1;(t.direction?i:r)>=e;e++)t._preloadItem(t.index-e)},_preloadItem:function(n){if(n=q(n),!t.items[n].preloaded){var i=t.items[n];i.parsed||(i=t.parseEl(n)),S("LazyLoad",i),"image"===i.type&&(i.img=e('<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";e.magnificPopup.registerModule(U,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=t.st.retina,n=e.ratio;n=isNaN(n)?n():n,n>1&&(T("ImageHasSize."+U,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/n,width:"100%"})}),T("ElementParse."+U,function(t,i){i.src=e.replaceSrc(i,n)}))}}}}),function(){var t=1e3,n="ontouchstart"in window,i=function(){x.off("touchmove"+o+" touchend"+o)},r="mfpFastClick",o="."+r;e.fn.mfpFastClick=function(r){return e(this).each(function(){var a,s=e(this);if(n){var l,u,c,d,f,p;s.on("touchstart"+o,function(e){d=!1,p=1,f=e.originalEvent?e.originalEvent.touches[0]:e.touches[0],u=f.clientX,c=f.clientY,x.on("touchmove"+o,function(e){f=e.originalEvent?e.originalEvent.touches:e.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(e){i(),d||p>1||(a=!0,e.preventDefault(),clearTimeout(l),l=setTimeout(function(){a=!1},t),r())})})}s.on("click"+o,function(){a||r()})})},e.fn.destroyMfpFastClick=function(){e(this).off("touchstart"+o+" click"+o),n&&x.off("touchmove"+o+" touchend"+o)}}(),E()}(window.jQuery||window.Zepto),!function(e){function t(e){var t=e.length,i=n.type(e);return"function"===i||n.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===i||0===t||"number"==typeof t&&t>0&&t-1 in e}if(!e.jQuery){var n=function(e,t){return new n.fn.init(e,t)};n.isWindow=function(e){return null!=e&&e==e.window},n.type=function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?r[a.call(e)]||"object":typeof e},n.isArray=Array.isArray||function(e){return"array"===n.type(e)},n.isPlainObject=function(e){var t;if(!e||"object"!==n.type(e)||e.nodeType||n.isWindow(e))return!1;try{if(e.constructor&&!o.call(e,"constructor")&&!o.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(i){return!1}for(t in e);return void 0===t||o.call(e,t)},n.each=function(e,n,i){var r,o=0,a=e.length,s=t(e);if(i){if(s)for(;a>o&&(r=n.apply(e[o],i),r!==!1);o++);else for(o in e)if(r=n.apply(e[o],i),r===!1)break}else if(s)for(;a>o&&(r=n.call(e[o],o,e[o]),r!==!1);o++);else for(o in e)if(r=n.call(e[o],o,e[o]),r===!1)break;return e},n.data=function(e,t,r){if(void 0===r){var o=e[n.expando],a=o&&i[o];if(void 0===t)return a;
vendor: 33,341 bytes, lines 123-124
123if(a&&t in a)return a[t]}else if(void 0!==t){var o=e[n.expando]||(e[n.expando]=++n.uuid);return i[o]=i[o]||{},i[o][t]=r,r}},n.removeData=function(e,t){var r=e[n.expando],o=r&&i[r];o&&n.each(t,function(e,t){delete o[t]})},n.extend=function(){var e,t,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)e=s[r],i=o[r],s!==i&&(c&&i&&(n.isPlainObject(i)||(t=n.isArray(i)))?(t?(t=!1,a=e&&n.isArray(e)?e:[]):a=e&&n.isPlainObject(e)?e:{},s[r]=n.extend(c,a,i)):void 0!==i&&(s[r]=i));return s},n.queue=function(e,i,r){function o(e,n){var i=n||[];return null!=e&&(t(Object(e))?!function(e,t){for(var n=+t.length,i=0,r=e.length;n>i;)e[r++]=t[i++];if(n!==n)for(;void 0!==t[i];)e[r++]=t[i++];return e.length=r,e}(i,"string"==typeof e?[e]:e):[].push.call(i,e)),i}if(e){i=(i||"fx")+"queue";var a=n.data(e,i);return r?(!a||n.isArray(r)?a=n.data(e,i,o(r)):a.push(r),a):a||[]}},n.dequeue=function(e,t){n.each(e.nodeType?[e]:e,function(e,i){t=t||"fx";var r=n.queue(i,t),o=r.shift();"inprogress"===o&&(o=r.shift()),o&&("fx"===t&&r.unshift("inprogress"),o.call(i,function(){n.dequeue(i,t)}))})},n.fn=n.prototype={init:function(e){if(e.nodeType)return this[0]=e,this;throw new Error("Not a DOM node.")},offset:function(){var t=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:t.top+(e.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:t.left+(e.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){function e(){for(var e=this.offsetParent||document;e&&"html"===!e.nodeType.toLowerCase&&"static"===e.style.position;)e=e.offsetParent;return e||document}var t=this[0],e=e.apply(t),i=this.offset(),r=/^(?:body|html)$/i.test(e.nodeName)?{top:0,left:0}:n(e).offset();return i.top-=parseFloat(t.style.marginTop)||0,i.left-=parseFloat(t.style.marginLeft)||0,e.style&&(r.top+=parseFloat(e.style.borderTopWidth)||0,r.left+=parseFloat(e.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,e.Velocity={Utilities:n}}}(window),function(e){"object"==typeof module&&"object"==typeof module.exports?module.exports=e():"function"==typeof define&&define.amd?define(e):e()}(function(){return function(e,t,n,i){function r(e){for(var t=-1,n=e?e.length:0,i=[];++t<n;){var r=e[t];r&&i.push(r)}return i}function o(e){return m.isWrapped(e)?e=[].slice.call(e):m.isNode(e)&&(e=[e]),e}function a(e){var t=f.data(e,"velocity");return null===t?i:t}function s(e){return function(t){return Math.round(t*e)*(1/e)}}function l(e,n,i,r){function o(e,t){return 1-3*t+3*e}function a(e,t){return 3*t-6*e}function s(e){return 3*e}function l(e,t,n){return((o(t,n)*e+a(t,n))*e+s(t))*e}function u(e,t,n){return 3*o(t,n)*e*e+2*a(t,n)*e+s(t)}function c(t,n){for(var r=0;m>r;++r){var o=u(n,e,i);if(0===o)return n;var a=l(n,e,i)-t;n-=a/o}return n}function d(){for(var t=0;b>t;++t)T[t]=l(t*w,e,i)}function f(t,n,r){var o,a,s=0;do a=n+(r-n)/2,o=l(a,e,i)-t,o>0?r=a:n=a;while(Math.abs(o)>v&&++s<y);return a}function p(t){for(var n=0,r=1,o=b-1;r!=o&&T[r]<=t;++r)n+=w;--r;var a=(t-T[r])/(T[r+1]-T[r]),s=n+a*w,l=u(s,e,i);return l>=g?c(t,s):0==l?s:f(t,n,n+w)}function h(){C=!0,(e!=n||i!=r)&&d()}var m=4,g=.001,v=1e-7,y=10,b=11,w=1/(b-1),k="Float32Array"in t;if(4!==arguments.length)return!1;for(var x=0;4>x;++x)if("number"!=typeof arguments[x]||isNaN(arguments[x])||!isFinite(arguments[x]))return!1;e=Math.min(e,1),i=Math.min(i,1),e=Math.max(e,0),i=Math.max(i,0);var T=k?new Float32Array(b):new Array(b),C=!1,S=function(t){return C||h(),e===n&&i===r?t:0===t?0:1===t?1:l(p(t),n,r)};S.getControlPoints=function(){return[{x:e,y:n},{x:i,y:r}]};var _="generateBezier("+[e,n,i,r]+")";return S.toString=function(){return _},S}function u(e,t){var n=e;return m.isString(e)?b.Easings[e]||(n=!1):n=m.isArray(e)&&1===e.length?s.apply(null,e):m.isArray(e)&&2===e.length?w.apply(null,e.concat([t])):m.isArray(e)&&4===e.length?l.apply(null,e):!1,n===!1&&(n=b.Easings[b.defaults.easing]?b.defaults.easing:y),n}function c(e){if(e){var t=(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]=t-16);for(var v=Math.min((t-p)/u.duration,1),y=0,w=l.length;w>y;y++){var x=l[y],C=x.element;if(a(C)){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(e,t){k.setPropertyValue(C,"display",t)})}k.setPropertyValue(C,"display",u.display)}u.visibility!==i&&"hidden"!==u.visibility&&k.setPropertyValue(C,"visibility",u.visibility);for(var E in x)if("element"!==E){var $,D=x[E],M=m.isString(D.easing)?b.Easings[D.easing]:D.easing;if(1===v)$=D.endValue;else{var P=D.endValue-D.startValue;if($=D.startValue+P*M(v,u,P),!h&&$===D.currentValue)continue}if(D.currentValue=$,"tween"===E)g=$;else{if(k.Hooks.registered[E]){var A=k.Hooks.getRoot(E),j=a(C).rootPropertyValueCache[A];j&&(D.rootPropertyValue=j)}var N=k.setPropertyValue(C,E,D.currentValue+(0===parseFloat($)?"":D.unitType),D.rootPropertyValue,D.scrollData);k.Hooks.registered[E]&&(a(C).rootPropertyValueCache[A]=k.Normalizations.registered[A]?k.Normalizations.registered[A]("extract",null,N[1]):N[1]),"transform"===N[0]&&(S=!0)}}u.mobileHA&&a(C).transformCache.translate3d===i&&(a(C).transformCache.translate3d="(0px, 0px, 0px)",S=!0),S&&k.flushTransformCache(C)}}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-t),p,g),1===v&&d(o)}}b.State.isTicking&&T(c)}function d(e,t){if(!b.State.calls[e])return!1;for(var n=b.State.calls[e][0],r=b.State.calls[e][1],o=b.State.calls[e][2],s=b.State.calls[e][4],l=!1,u=0,c=n.length;c>u;u++){var d=n[u].element;if(t||o.loop||("none"===o.display&&k.setPropertyValue(d,"display",o.display),"hidden"===o.visibility&&k.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(k.Lists.transforms3D,function(e,t){var n=/^scale/.test(t)?1:0,r=a(d).transformCache[t];a(d).transformCache[t]!==i&&new RegExp("^\\("+n+"[^.]").test(r)&&(p=!0,delete a(d).transformCache[t])}),o.mobileHA&&(p=!0,delete a(d).transformCache.translate3d),p&&k.flushTransformCache(d),k.Values.removeClass(d,"velocity-animating")}if(!t&&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&&!t&&(f.each(a(d).tweensContainer,function(e,t){/^rotate/.test(e)&&360===parseFloat(t.endValue)&&(t.endValue=0,t.startValue=360),/^backgroundPosition/.test(e)&&100===parseFloat(t.endValue)&&"%"===t.unitType&&(t.endValue=0,t.startValue=100)}),b(d,"reverse",{loop:!0,delay:o.delay})),o.queue!==!1&&f.dequeue(d,o.queue)}b.State.calls[e]=!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 e=7;e>4;e--){var t=n.createElement("div");if(t.innerHTML="<!--[if IE "+e+"]><span></span><![endif]-->",t.getElementsByTagName("span").length)return t=null,e}return i}(),h=function(){var e=0;return t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||function(t){var n,i=(new Date).getTime();return n=Math.max(0,16-(i-e)),e=i+n,setTimeout(function(){t(i+n)},n)}}(),m={isString:function(e){return"string"==typeof e},isArray:Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},isFunction:function(e){return"[object Function]"===Object.prototype.toString.call(e)},isNode:function(e){return e&&e.nodeType},isNodeList:function(e){return"object"==typeof e&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(Object.prototype.toString.call(e))&&e.length!==i&&(0===e.length||"object"==typeof e[0]&&e[0].nodeType>0)},isWrapped:function(e){return e&&(e.jquery||t.Zepto&&t.Zepto.zepto.isZ(e))},isSVG:function(e){return t.SVGElement&&e instanceof t.SVGElement},isEmptyObject:function(e){for(var t in e)return!1;return!0}},g=!1;if(e.fn&&e.fn.jquery?(f=e,g=!0):f=t.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:t.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:t.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(e){f.data(e,"velocity",{isSVG:m.isSVG(e),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:2,patch:2},debug:!1};t.pageYOffset!==i?(b.State.scrollAnchor=t,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 e(e){return-e.tension*e.x-e.friction*e.v}function t(t,n,i){var r={x:t.x+i.dx*n,v:t.v+i.dv*n,tension:t.tension,friction:t.friction};return{dx:r.v,dv:e(r)}}function n(n,i){var r={dx:n.v,dv:e(n)},o=t(n,.5*i,r),a=t(n,.5*i,o),s=t(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(e,t,r){var o,a,s,l={x:-1,v:0,tension:null,friction:null},u=[0],c=0,d=1e-4,f=.016;for(e=parseFloat(e)||500,t=parseFloat(t)||20,r=r||null,l.tension=e,l.friction=t,o=null!==r,o?(c=i(e,t),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(e){return u[e*(u.length-1)|0]}:c}}();b.Easings={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},spring:function(e){return 1-Math.cos(4.5*e*Math.PI)*Math.exp(6*-e)}},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(e,t){b.Easings[t[0]]=l.apply(null,t[1]) 124});var k=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 e=0;e<k.Lists.colors.length;e++){var t="color"===k.Lists.colors[e]?"0 0 0 1":"255 255 255 1";k.Hooks.templates[k.Lists.colors[e]]=["Red Green Blue Alpha",t]}var n,i,r;if(p)for(n in k.Hooks.templates){i=k.Hooks.templates[n],r=i[0].split(" ");var o=i[1].match(k.RegEx.valueSplit);"Color"===r[0]&&(r.push(r.shift()),o.push(o.shift()),k.Hooks.templates[n]=[r.join(" "),o.join(" ")])}for(n in k.Hooks.templates){i=k.Hooks.templates[n],r=i[0].split(" ");for(var e in r){var a=n+r[e],s=e;k.Hooks.registered[a]=[n,s]}}},getRoot:function(e){var t=k.Hooks.registered[e];return t?t[0]:e},cleanRootPropertyValue:function(e,t){return k.RegEx.valueUnwrap.test(t)&&(t=t.match(k.RegEx.valueUnwrap)[1]),k.Values.isCSSNullValue(t)&&(t=k.Hooks.templates[e][1]),t},extractValue:function(e,t){var n=k.Hooks.registered[e];if(n){var i=n[0],r=n[1];return t=k.Hooks.cleanRootPropertyValue(i,t),t.toString().match(k.RegEx.valueSplit)[r]}return t},injectValue:function(e,t,n){var i=k.Hooks.registered[e];if(i){var r,o,a=i[0],s=i[1];return n=k.Hooks.cleanRootPropertyValue(a,n),r=n.toString().match(k.RegEx.valueSplit),r[s]=t,o=r.join(" ")}return n}},Normalizations:{registered:{clip:function(e,t,n){switch(e){case"name":return"clip";case"extract":var i;return k.RegEx.wrappedValueAlreadyExtracted.test(n)?i=n:(i=n.toString().match(k.RegEx.valueUnwrap),i=i?i[1].replace(/,(\s+)?/g," "):n),i;case"inject":return"rect("+n+")"}},blur:function(e,t,n){switch(e){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(e,t,n){if(8>=p)switch(e){case"name":return"filter";case"extract":var i=n.toString().match(/alpha\(opacity=(.*)\)/i);return n=i?i[1]/100:1;case"inject":return t.style.zoom=1,parseFloat(n)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(n),10)+")"}else switch(e){case"name":return"opacity";case"extract":return n;case"inject":return n}}},register:function(){9>=p||b.State.isGingerbread||(k.Lists.transformsBase=k.Lists.transformsBase.concat(k.Lists.transforms3D));for(var e=0;e<k.Lists.transformsBase.length;e++)!function(){var t=k.Lists.transformsBase[e];k.Normalizations.registered[t]=function(e,n,r){switch(e){case"name":return"transform";case"extract":return a(n)===i||a(n).transformCache[t]===i?/^scale/i.test(t)?1:0:a(n).transformCache[t].replace(/[()]/g,"");case"inject":var o=!1;switch(t.substr(0,t.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[t]===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[t]="("+r+")"),a(n).transformCache[t]}}}();for(var e=0;e<k.Lists.colors.length;e++)!function(){var t=k.Lists.colors[e];k.Normalizations.registered[t]=function(e,n,r){switch(e){case"name":return t;case"extract":var o;if(k.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:k.RegEx.isHex.test(r)?a="rgb("+k.Values.hexToRgb(r).join(" ")+")":/^rgba?\(/i.test(r)||(a=s.black),o=(a||r).toString().match(k.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(e){return e.replace(/-(\w)/g,function(e,t){return t.toUpperCase()})},SVGAttribute:function(e){var t="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(p||b.State.isAndroid&&!b.State.isChrome)&&(t+="|transform"),new RegExp("^("+t+")$","i").test(e)},prefixCheck:function(e){if(b.State.prefixMatches[e])return[b.State.prefixMatches[e],!0];for(var t=["","Webkit","Moz","ms","O"],n=0,i=t.length;i>n;n++){var r;if(r=0===n?e:t[n]+e.replace(/^\w/,function(e){return e.toUpperCase()}),m.isString(b.State.prefixElement.style[r]))return b.State.prefixMatches[e]=r,[r,!0]}return[e,!1]}},Values:{hexToRgb:function(e){var t,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 e=e.replace(n,function(e,t,n,i){return t+t+n+n+i+i}),t=i.exec(e),t?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:[0,0,0]},isCSSNullValue:function(e){return 0==e||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(e)},getUnitType:function(e){return/^(rotate|skew)/i.test(e)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(e)?"":"px"},getDisplayType:function(e){var t=e&&e.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(t)?"inline":/^(li)$/i.test(t)?"list-item":/^(tr)$/i.test(t)?"table-row":/^(table)$/i.test(t)?"table":/^(tbody)$/i.test(t)?"table-row-group":"block"},addClass:function(e,t){e.classList?e.classList.add(t):e.className+=(e.className.length?" ":"")+t},removeClass:function(e,t){e.classList?e.classList.remove(t):e.className=e.className.toString().replace(new RegExp("(^|\\s)"+t.split(" ").join("|")+"(\\s|$)","gi")," ")}},getPropertyValue:function(e,n,r,o){function s(e,n){function r(){u&&k.setPropertyValue(e,"display","none")}var l=0;if(8>=p)l=f.css(e,n);else{var u=!1;if(/^(width|height)$/.test(n)&&0===k.getPropertyValue(e,"display")&&(u=!0,k.setPropertyValue(e,"display",k.Values.getDisplayType(e))),!o){if("height"===n&&"border-box"!==k.getPropertyValue(e,"boxSizing").toString().toLowerCase()){var c=e.offsetHeight-(parseFloat(k.getPropertyValue(e,"borderTopWidth"))||0)-(parseFloat(k.getPropertyValue(e,"borderBottomWidth"))||0)-(parseFloat(k.getPropertyValue(e,"paddingTop"))||0)-(parseFloat(k.getPropertyValue(e,"paddingBottom"))||0);return r(),c}if("width"===n&&"border-box"!==k.getPropertyValue(e,"boxSizing").toString().toLowerCase()){var d=e.offsetWidth-(parseFloat(k.getPropertyValue(e,"borderLeftWidth"))||0)-(parseFloat(k.getPropertyValue(e,"borderRightWidth"))||0)-(parseFloat(k.getPropertyValue(e,"paddingLeft"))||0)-(parseFloat(k.getPropertyValue(e,"paddingRight"))||0);return r(),d}}var h;h=a(e)===i?t.getComputedStyle(e,null):a(e).computedStyle?a(e).computedStyle:a(e).computedStyle=t.getComputedStyle(e,null),"borderColor"===n&&(n="borderTopColor"),l=9===p&&"filter"===n?h.getPropertyValue(n):h[n],(""===l||null===l)&&(l=e.style[n]),r()}if("auto"===l&&/^(top|right|bottom|left)$/i.test(n)){var m=s(e,"position");("fixed"===m||"absolute"===m&&/top|left/i.test(n))&&(l=f(e).position()[n]+"px")}return l}var l;if(k.Hooks.registered[n]){var u=n,c=k.Hooks.getRoot(u);r===i&&(r=k.getPropertyValue(e,k.Names.prefixCheck(c)[0])),k.Normalizations.registered[c]&&(r=k.Normalizations.registered[c]("extract",e,r)),l=k.Hooks.extractValue(u,r)}else if(k.Normalizations.registered[n]){var d,h;d=k.Normalizations.registered[n]("name",e),"transform"!==d&&(h=s(e,k.Names.prefixCheck(d)[0]),k.Values.isCSSNullValue(h)&&k.Hooks.templates[n]&&(h=k.Hooks.templates[n][1])),l=k.Normalizations.registered[n]("extract",e,h)}if(!/^[\d-]/.test(l))if(a(e)&&a(e).isSVG&&k.Names.SVGAttribute(n))if(/^(height|width)$/i.test(n))try{l=e.getBBox()[n]}catch(m){l=0}else l=e.getAttribute(n);else l=s(e,k.Names.prefixCheck(n)[0]);return k.Values.isCSSNullValue(l)&&(l=0),b.debug>=2&&console.log("Get "+n+": "+l),l},setPropertyValue:function(e,n,i,r,o){var s=n;if("scroll"===n)o.container?o.container["scroll"+o.direction]=i:"Left"===o.direction?t.scrollTo(i,o.alternateValue):t.scrollTo(o.alternateValue,i);else if(k.Normalizations.registered[n]&&"transform"===k.Normalizations.registered[n]("name",e))k.Normalizations.registered[n]("inject",e,i),s="transform",i=a(e).transformCache[n];else{if(k.Hooks.registered[n]){var l=n,u=k.Hooks.getRoot(n);r=r||k.getPropertyValue(e,u),i=k.Hooks.injectValue(l,i,r),n=u}if(k.Normalizations.registered[n]&&(i=k.Normalizations.registered[n]("inject",e,i),n=k.Normalizations.registered[n]("name",e)),s=k.Names.prefixCheck(n)[0],8>=p)try{e.style[s]=i}catch(c){b.debug&&console.log("Browser does not support ["+i+"] for ["+s+"]")}else a(e)&&a(e).isSVG&&k.Names.SVGAttribute(n)?e.setAttribute(n,i):e.style[s]=i;b.debug>=2&&console.log("Set "+n+" ("+s+"): "+i)}return[s,i]},flushTransformCache:function(e){function t(t){return parseFloat(k.getPropertyValue(e,t))}var n="";if((p||b.State.isAndroid&&!b.State.isChrome)&&a(e).isSVG){var i={translate:[t("translateX"),t("translateY")],skewX:[t("skewX")],skewY:[t("skewY")],scale:1!==t("scale")?[t("scale"),t("scale")]:[t("scaleX"),t("scaleY")],rotate:[t("rotateZ"),0,0]};f.each(a(e).transformCache,function(e){/^translate/i.test(e)?e="translate":/^scale/i.test(e)?e="scale":/^rotate/i.test(e)&&(e="rotate"),i[e]&&(n+=e+"("+i[e].join(" ")+") ",delete i[e])})}else{var r,o;f.each(a(e).transformCache,function(t){return r=a(e).transformCache[t],"transformPerspective"===t?(o=r,!0):(9===p&&"rotateZ"===t&&(t="rotate"),void(n+=t+r+" "))}),o&&(n="perspective"+o+" "+n)}k.setPropertyValue(e,"transform",n)}};k.Hooks.register(),k.Normalizations.register(),b.hook=function(e,t,n){var r=i;return e=o(e),f.each(e,function(e,o){if(a(o)===i&&b.init(o),n===i)r===i&&(r=b.CSS.getPropertyValue(o,t));else{var s=b.CSS.setPropertyValue(o,t,n);"transform"===s[0]&&b.CSS.flushTransformCache(o),r=s}}),r};var x=function(){function e(){return s?E.promise||null:l}function r(){function e(){function e(e,t){var n=i,r=i,a=i;return m.isArray(e)?(n=e[0],!m.isArray(e[1])&&/^[\d-]/.test(e[1])||m.isFunction(e[1])||k.RegEx.isHex.test(e[1])?a=e[1]:(m.isString(e[1])&&!k.RegEx.isHex.test(e[1])||m.isArray(e[1]))&&(r=t?e[1]:u(e[1],s.duration),e[2]!==i&&(a=e[2]))):n=e,t||(r=r||s.easing),m.isFunction(n)&&(n=n.call(o,C,T)),m.isFunction(a)&&(a=a.call(o,C,T)),[n||0,r,a]}function d(e,t){var n,i;return i=(t||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(e){return n=e,""}),n||(n=k.Values.getUnitType(e)),[i,n]}function p(){var e={myParent:o.parentNode||n.body,position:k.getPropertyValue(o,"position"),fontSize:k.getPropertyValue(o,"fontSize")},i=e.position===N.lastPosition&&e.myParent===N.lastParent,r=e.fontSize===N.lastFontSize;N.lastParent=e.myParent,N.lastPosition=e.position,N.lastFontSize=e.fontSize;var s=100,l={};if(r&&i)l.emToPx=N.lastEmToPx,l.percentToPxWidth=N.lastPercentToPxWidth,l.percentToPxHeight=N.lastPercentToPxHeight;else{var u=a(o).isSVG?n.createElementNS("http://www.w3.org/2000/svg","rect"):n.createElement("div");b.init(u),e.myParent.appendChild(u),f.each(["overflow","overflowX","overflowY"],function(e,t){b.CSS.setPropertyValue(u,t,"hidden")}),b.CSS.setPropertyValue(u,"position",e.position),b.CSS.setPropertyValue(u,"fontSize",e.fontSize),b.CSS.setPropertyValue(u,"boxSizing","content-box"),f.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(e,t){b.CSS.setPropertyValue(u,t,s+"%")}),b.CSS.setPropertyValue(u,"paddingLeft",s+"em"),l.percentToPxWidth=N.lastPercentToPxWidth=(parseFloat(k.getPropertyValue(u,"width",null,!0))||1)/s,l.percentToPxHeight=N.lastPercentToPxHeight=(parseFloat(k.getPropertyValue(u,"height",null,!0))||1)/s,l.emToPx=N.lastEmToPx=(parseFloat(k.getPropertyValue(u,"paddingLeft"))||1)/s,e.myParent.removeChild(u)}return null===N.remToPx&&(N.remToPx=parseFloat(k.getPropertyValue(n.body,"fontSize"))||16),null===N.vwToPx&&(N.vwToPx=parseFloat(t.innerWidth)/100,N.vhToPx=parseFloat(t.innerHeight)/100),l.remToPx=N.remToPx,l.vwToPx=N.vwToPx,l.vhToPx=N.vhToPx,b.debug>=1&&console.log("Unit ratios: "+JSON.stringify(l),o),l}if(s.begin&&0===C)try{s.begin.call(h,h)}catch(v){setTimeout(function(){throw v},1)}if("scroll"===$){var w,x,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"+_]],x=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:x}},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 M=f.extend(!0,{},a(o).tweensContainer);for(var P in M)if("element"!==P){var A=M[P].startValue;M[P].startValue=M[P].currentValue=M[P].endValue,M[P].endValue=A,m.isEmptyObject(y)||(M[P].easing=s.easing),b.debug&&console.log("reverse tweensContainer ("+P+"): "+JSON.stringify(M[P]),o)}l=M}else if("start"===$){var M;a(o).tweensContainer&&a(o).isAnimating===!0&&(M=a(o).tweensContainer),f.each(g,function(t,n){if(RegExp("^"+k.Lists.colors.join("$|^")+"$").test(t)){var r=e(n,!0),o=r[0],a=r[1],s=r[2];if(k.RegEx.isHex.test(o)){for(var l=["Red","Green","Blue"],u=k.Values.hexToRgb(o),c=s?k.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[t+l[d]]=f}delete g[t]}}});for(var j in g){var L=e(g[j]),H=L[0],F=L[1],z=L[2];j=k.Names.camelCase(j);var I=k.Hooks.getRoot(j),W=!1;if(a(o).isSVG||"tween"===I||k.Names.prefixCheck(I)[1]!==!1||k.Normalizations.registered[I]!==i){(s.display!==i&&null!==s.display&&"none"!==s.display||s.visibility!==i&&"hidden"!==s.visibility)&&/opacity|filter/.test(j)&&!z&&0!==H&&(z=0),s._cacheValues&&M&&M[j]?(z===i&&(z=M[j].endValue+M[j].unitType),W=a(o).rootPropertyValueCache[I]):k.Hooks.registered[j]?z===i?(W=k.getPropertyValue(o,I),z=k.getPropertyValue(o,j,W)):W=k.Hooks.templates[I][1]:z===i&&(z=k.getPropertyValue(o,j));var R,B,Y,q=!1;if(R=d(j,z),z=R[0],Y=R[1],R=d(j,H),H=R[0].replace(/^([+-\/*])=/,function(e,t){return q=t,""}),B=R[1],z=parseFloat(z)||0,H=parseFloat(H)||0,"%"===B&&(/^(fontSize|lineHeight)$/.test(j)?(H/=100,B="em"):/^scale/.test(j)?(H/=100,B=""):/(Red|Green|Blue)$/i.test(j)&&(H=H/100*255,B="")),/[\/*]/.test(q))B=Y;else if(Y!==B&&0!==z)if(0===H)B=Y;else{r=r||p();var V=/margin|padding|left|right|width|text|word|letter/i.test(j)||/X$/.test(j)||"x"===j?"x":"y";switch(Y){case"%":z*="x"===V?r.percentToPxWidth:r.percentToPxHeight;break;case"px":break;default:z*=r[Y+"ToPx"]}switch(B){case"%":z*=1/("x"===V?r.percentToPxWidth:r.percentToPxHeight);break;case"px":break;default:z*=1/r[B+"ToPx"]}}switch(q){case"+":H=z+H;break;case"-":H=z-H;break;case"*":H=z*H;break;case"/":H=z/H}l[j]={rootPropertyValue:W,startValue:z,currentValue:z,endValue:H,unitType:B,easing:F},b.debug&&console.log("tweensContainer ("+j+"): "+JSON.stringify(l[j]),o)}else b.debug&&console.log("Skipping ["+I+"] due to a lack of browser support.")}l.element=o}l.element&&(k.Values.addClass(o,"velocity-animating"),O.push(l),""===s.queue&&(a(o).tweensContainer=l,a(o).opts=s),a(o).isAnimating=!0,C===T-1?(b.State.calls.push([O,h,s,null,E.resolver]),b.State.isTicking===!1&&(b.State.isTicking=!0,c())):C++)}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(e){b.velocityQueueEntryFlag=!0,a(o).delayTimer={setTimeout:setTimeout(e,parseFloat(s.delay)),next:e}}),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(e,s.delay):e():f.queue(o,s.queue,function(t,n){return n===!0?(E.promise&&E.resolver(h),!0):(b.velocityQueueEntryFlag=!0,void e(t))}),""!==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 T=h.length,C=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(e,t){E.resolver=e,E.rejecter=t}));var $;switch(g){case"scroll":$="scroll";break;case"reverse":$="reverse";break;case"finish":case"finishAll":case"stop":f.each(h,function(e,t){a(t)&&a(t).delayTimer&&(clearTimeout(a(t).delayTimer.setTimeout),a(t).delayTimer.next&&a(t).delayTimer.next(),delete a(t).delayTimer),"finishAll"!==g||y!==!0&&!m.isString(y)||(f.each(f.queue(t,m.isString(y)?y:""),function(e,t){m.isFunction(t)&&t()}),f.queue(t,m.isString(y)?y:"",[]))});var D=[];return f.each(b.State.calls,function(e,t){t&&f.each(t[1],function(n,r){var o=y===i?"":y;return o===!0||t[2].queue===o||y===i&&t[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(e,t){m.isFunction(t)&&t(null,!0)}),f.queue(i,m.isString(y)?y:"",[])),"stop"===g?(a(i)&&a(i).tweensContainer&&o!==!1&&f.each(a(i).tweensContainer,function(e,t){t.endValue=t.currentValue}),D.push(e)):("finish"===g||"finishAll"===g)&&(t[2].duration=1))}):!0})}),"stop"===g&&(f.each(D,function(e,t){d(t,!0)}),E.promise&&E.resolver(h)),e();default:if(!f.isPlainObject(g)||m.isEmptyObject(g)){if(m.isString(g)&&b.Redirects[g]){var M=f.extend({},y),P=M.duration,A=M.delay||0;return M.backwards===!0&&(h=f.extend(!0,[],h).reverse()),f.each(h,function(e,t){parseFloat(M.stagger)?M.delay=A+parseFloat(M.stagger)*e:m.isFunction(M.stagger)&&(M.delay=A+M.stagger.call(t,e,T)),M.drag&&(M.duration=parseFloat(P)||(/^(callout|transition)/.test(g)?1e3:v),M.duration=Math.max(M.duration*(M.backwards?1-e/T:(e+1)/T),.75*M.duration,200)),b.Redirects[g].call(t,t,M||{},e,T,h,E.promise?E:i)}),e()}var j="Velocity: First argument ("+g+") was not a property map, a known action, or a registered redirect. Aborting.";return E.promise?E.rejecter(new Error(j)):console.log(j),e()}$="start"}var N={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},O=[];f.each(h,function(e,t){m.isNode(t)&&r.call(t)});var L,M=f.extend({},b.defaults,y);if(M.loop=parseInt(M.loop),L=2*M.loop-1,M.loop)for(var H=0;L>H;H++){var F={delay:M.delay,progress:M.progress};H===L-1&&(F.display=M.display,F.visibility=M.visibility,F.complete=M.complete),x(h,"reverse",F)}return e()}};b=f.extend(x,b),b.animate=x;var T=t.requestAnimationFrame||h;return b.State.isMobile||n.hidden===i||n.addEventListener("visibilitychange",function(){n.hidden?(T=function(e){return setTimeout(function(){e(!0)},16)},c()):T=t.requestAnimationFrame||h}),e.Velocity=b,e!==t&&(e.fn.velocity=x,e.fn.velocity.defaults=b.defaults),f.each(["Down","Up"],function(e,t){b.Redirects["slide"+t]=function(e,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"===t?"inline"===b.CSS.Values.getDisplayType(e)?"inline-block":"block":"none"),l.begin=function(){u&&u.call(a,a);for(var n in d){p[n]=e.style[n];var i=b.CSS.getPropertyValue(e,n);d[n]="Down"===t?[i,0]:[0,i]}p.overflow=e.style.overflow,e.style.overflow="hidden"},l.complete=function(){for(var t in p)e.style[t]=p[t];
124c&&c.call(a,a),s&&s.resolver(a)},b(e,d,l)}}),f.each(["In","Out"],function(e,t){b.Redirects["fade"+t]=function(e,n,r,o,a,s){var l=f.extend({},n),u={opacity:"In"===t?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"===t?"auto":"none"),b(this,u,l)}}),b}(window.jQuery||window.Zepto||window,window,document)}),function(){$(function(){var e,t,n,i,r,o,a,s,l,u,c,d;return a=$(window),i=$(".header"),e=$(".header,.top-header"),l=768,s=992,"/"!==location.pathname&&$(document).width()<=l&&$(".hidden-xs iframe").remove(),$(".fb-like-btn").length>0&&$.post("https://graph.facebook.com/",{scrape:!0,id:location.href}),$("a[href^='#']").on("click",function(e){var t,n,i;return e.preventDefault(),n=$(this).attr("href"),t=$("#"===n||""===n?"html":n),i=t.offset().top-$(".header").height(),$("html, body").animate({scrollTop:i},500,"swing")}),d=0,$(".btn-menu-open").on("click",function(){return d=a.scrollTop(),$("html").addClass("is-header-open")}),$(".btn-menu-close").on("click",function(){return $(".header-menu-sp").scrollTop(0),$("html").removeClass("is-header-open"),a.scrollTop(d)}),e.find(".header-fc-menu-list").hover(function(){return $(this).find(".header-fc-menu").stop().velocity("stop").velocity("fadeIn",{duration:500})},function(){return $(this).find(".header-fc-menu").stop().velocity("stop").delay(500).velocity("fadeOut",{duration:500})}),"/"===location.pathname&&(o=$(".top-header").height()+2*$(".header").height(),u=function(e){var t;return null==e&&(e=window),t=$(e).scrollTop(),t>o?i.removeClass("is-hide"):i.addClass("is-hide")},a.width()>=s&&(u(),i.addClass("is-hide")),a.on("scroll",function(){return u(this)})),$(".header,.top-header").find(".member-menu").hover(function(){return $(this).find(".sub-menu").velocity("stop").velocity("fadeIn",{duration:300})},function(){return $(this).find(".sub-menu").velocity("stop").velocity("fadeOut",{duration:300})}),$(".banner-list").slick({dots:!1,slidesToShow:3,infinite:!0,speed:500,cssEase:"linear",responsive:[{breakpoint:l,settings:{slidesToShow:1,arrows:!1,dots:!0}}]}),$("#maximage").slick({dots:!1,infinite:!0,speed:500,fade:!0,arrows:!1,autoplay:!0,cssEase:"linear"}),a.on("load",function(){return $(".slick-prev").html('<i class="glyphicon glyphicon-menu-right"></i>'),$(".slick-next").addClass("fa fa-chevron-right"),$(".loading").velocity({opacity:0},{duration:500,delay:1e3,easing:"linear",complete:function(){return function(){var e;return $(".loading").remove(),$("body").removeClass("js-loading"),"#fanclub"===location.hash?(e=$("#fanclub").offset().top-$(".header").height(),$("html, body").animate({scrollTop:e},500,"swing")):void 0}}(this)})}),c=function(e){var t;return t=$(e),t.on("click",function(){var e,t,n;return e=$(this).find("i"),t="fa-angle-down",n="fa-angle-up",$(this).next().slideToggle(),e.hasClass(t)?e.removeClass(t).addClass(n):e.removeClass(n).addClass(t)})},c(".footer-menu-title"),c("#helps .title"),t=$(".parent-container [data-original]"),n=t.map(function(e,t){return{src:$(t).data("original")}}),r=$(".parent-container").magnificPopup({items:$.makeArray(n),type:"image",gallery:{enabled:!0}}),r.on("mfpOpen",function(e){var t,n;return t=$(e.target),n=t.data("index"),t.magnificPopup("goTo",n)}),t.on("click",function(e){var t,n;return t=$(e.currentTarget),n=r.find("[data-original]").index(this),r.data("index",n)}),$(".protect").on("contextmenu",function(){return!1})})}.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.