PageSourceSearch

https://daizystripper.net/assets/daizystripper/app/application-80c5fad49c915554daa3d05ce1f53cb9.js

js daizystripper.net collected 2026-10-09 21:49:50 UTC 394,911 bytes, 183 lines download raw bytes

vendor: 8,401 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 r(e,t,n){if(ot.isFunction(t))return ot.grep(e,function(e,r){return!!t.call(e,r,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 i(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function o(e){var t=xt[e]={};return ot.each(e.match(bt)||[],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 r="data-"+t.replace(_t,"-$1").toLowerCase();if(n=e.getAttribute(r),"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(i){}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,r){if(ot.acceptData(e)){var i,o,a=ot.expando,s=e.nodeType,l=s?ot.cache:e,u=s?e[a]:e[a]&&a;if(u&&l[u]&&(r||l[u].data)||void 0!==n||"string"!=typeof t)return u||(u=s?e[a]=U.pop()||ot.guid++:a),l[u]||(l[u]=s?{}:{toJSON:ot.noop}),("object"==typeof t||"function"==typeof t)&&(r?l[u]=ot.extend(l[u],t):l[u].data=ot.extend(l[u].data,t)),o=l[u],r||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[ot.camelCase(t)]=n),"string"==typeof t?(i=o[t],null==i&&(i=o[ot.camelCase(t)])):i=o,i}}function d(e,t,n){if(ot.acceptData(e)){var r,i,o=e.nodeType,a=o?ot.cache:e,s=o?e[ot.expando]:ot.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){ot.isArray(t)?t=t.concat(ot.map(t,ot.camelCase)):t in r?t=[t]:(t=ot.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;for(;i--;)delete r[t[i]];if(n?!u(r):!ot.isEmptyObject(r))return}(n||(delete a[s].data,u(a[s])))&&(o?ot.cleanData([e],!0):rt.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,r,i=0,o=typeof e.getElementsByTagName!==kt?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!==kt?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||ot.nodeName(r,t)?o.push(r):ot.merge(o,g(r,t));return void 0===t||t&&ot.nodeName(e,t)?ot.merge([e],o):o}function v(e){$t.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 w(e){return e.type=(null!==ot.find.attr(e,"type"))+"/"+e.type,e}function b(e){var t=Ut.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function x(e,t){for(var n,r=0;null!=(n=e[r]);r++)ot._data(n,"globalEval",!t||ot._data(t[r],"globalEval"))}function T(e,t){if(1===t.nodeType&&ot.hasData(e)){var n,r,i,o=ot._data(e),a=ot._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)ot.event.add(t,n,s[n][r])}a.data&&(a.data=ot.extend({},a.data))}}function C(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!rt.noCloneEvent&&t[ot.expando]){i=ot._data(t);for(r in i.events)ot.removeEvent(t,r,i.handle);t.removeAttribute(ot.expando)}"script"===n&&t.text!==e.text?(w(t).text=e.text,b(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),rt.html5Clone&&e.innerHTML&&!ot.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&$t.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 k(t,n){var r=ot(n.createElement(t)).appendTo(n.body),i=e.getDefaultComputedStyle?e.getDefaultComputedStyle(r[0]).display:ot.css(r[0],"display");return r.detach(),i}function S(e){var t=mt,n=en[e];return n||(n=k(e,t),"none"!==n&&n||(Jt=(Jt||ot("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=(Jt[0].contentWindow||Jt[0].contentDocument).document,t.write(),t.close(),n=k(e,t),Jt.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),r=t,i=hn.length;i--;)if(t=hn[i]+n,t in e)return t;return r}function D(e,t){for(var n,r,i,o=[],a=0,s=e.length;s>a;a++)r=e[a],r.style&&(o[a]=ot._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&Mt(r)&&(o[a]=ot._data(r,"olddisplay",S(r.nodeName)))):o[a]||(i=Mt(r),(n&&"none"!==n||!i)&&ot._data(r,"olddisplay",i?n:ot.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}function M(e,t,n){var r=cn.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function L(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;4>o;o+=2)"margin"===n&&(a+=ot.css(e,n+Dt[o],!0,i)),r?("content"===n&&(a-=ot.css(e,"padding"+Dt[o],!0,i)),"margin"!==n&&(a-=ot.css(e,"border"+Dt[o]+"Width",!0,i))):(a+=ot.css(e,"padding"+Dt[o],!0,i),"padding"!==n&&(a+=ot.css(e,"border"+Dt[o]+"Width",!0,i)));return a}function $(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=tn(e),a=rt.boxSizing()&&"border-box"===ot.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=nn(e,t,o),(0>i||null==i)&&(i=e.style[t]),on.test(i))return i;r=a&&(rt.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+L(e,t,n||(a?"border":"content"),r,o)+"px"}function A(e,t,n,r,i){return new A.prototype.init(e,t,n,r,i)}function N(){return setTimeout(function(){mn=void 0}),mn=ot.now()}function P(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=Dt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function O(e,t,n){for(var r,i=(xn[t]||[]).concat(xn["*"]),o=0,a=i.length;a>o;o++)if(r=i[o].call(n,t,e))return r}function j(e,t,n){var r,i,o,a,s,l,u,c,d=this,f={},p=e.style,h=e.nodeType&&Mt(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")&&(rt.inlineBlockNeedsLayout&&"inline"!==c?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",rt.shrinkWrapBlocks()||d.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],vn.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(h?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;h=!0}f[r]=m&&m[r]||ot.style(e,r)}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(r in f)a=O(h?m[r]:0,r,d),r in m||(m[r]=a.start,h&&(a.end=a.start,a.start="width"===r||"he
14ight"===r?1:0))}}function H(e,t){var n,r,i,o,a;for(n in e)if(r=ot.camelCase(n),i=t[r],o=e[n],ot.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=ot.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function I(e,t,n){var r,i,o=0,a=bn.length,s=ot.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;for(var t=mn||N(),n=Math.max(0,u.startTime+u.duration-t),r=n/u.duration||0,o=1-r,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||N(),duration:n.duration,tweens:[],createTween:function(t,n){var r=ot.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(i)return this;for(i=!0;r>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(r=bn[o].call(u,e,c,u.opts))return r;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 F(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(bt)||[];if(ot.isFunction(n))for(;r=o[i++];)"+"===r.charAt(0)?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function W(e,t,n,r){function i(s){var l;return o[s]=!0,ot.each(e[s]||[],function(e,s){var u=s(t,n,r);return"string"!=typeof u||a||o[u]?a?!(l=u):void 0:(t.dataTypes.unshift(u),i(u),!1)}),l}var o={},a=e===qn;return i(t.dataTypes[0])||!o["*"]&&i("*")}function z(e,t){var n,r,i=ot.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&ot.extend(!0,e,n),e}function R(e,t,n){for(var r,i,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){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}r||(r=a)}o=o||r}return o?(o!==l[0]&&l.unshift(o),n[o]):void 0}function B(e,t,n,r){var i,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&&r&&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(i in u)if(s=i.split(" "),s[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){a===!0?a=u[i]:u[i]!==!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,r){var i;if(ot.isArray(t))ot.each(t,function(t,i){n||Xn.test(e)?r(e,i):Y(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==ot.type(t))r(e,t);else for(i in t)Y(e+"["+i+"]",t[i],n,r)}function q(){try{return new e.XMLHttpRequest}catch(t){}}function G(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function V(e){return ot.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}var U=[],X=U.slice,Z=U.concat,Q=U.push,K=U.indexOf,J={},et=J.toString,tt=J.hasOwnProperty,nt="".trim,rt={},it="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:it,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:U.sort,splice:U.splice}
vendor: 12,163 bytes, lines 14-24
14,ot.extend=ot.fn.extend=function(){var e,t,n,r,i,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!=(i=arguments[s]))for(r in i)e=a[r],n=i[r],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[r]=ot.extend(u,o,n)):void 0!==n&&(a[r]=n));return a},ot.extend({expando:"jQuery"+(it+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(rt.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?J[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,r){var i,o=0,a=e.length,s=n(e);if(r){if(s)for(;a>o&&(i=t.apply(e[o],r),i!==!1);o++);else for(o in e)if(i=t.apply(e[o],r),i===!1)break}else if(s)for(;a>o&&(i=t.call(e[o],o,e[o]),i!==!1);o++);else for(o in e)if(i=t.call(e[o],o,e[o]),i===!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 r=t||[];return null!=e&&(n(Object(e))?ot.merge(r,"string"==typeof e?[e]:e):Q.call(r,e)),r},inArray:function(e,t,n){var r;if(t){if(K)return K.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;n>r;)e[i++]=t[r++];if(n!==n)for(;void 0!==t[r];)e[i++]=t[r++];return e.length=i,e},grep:function(e,t,n){for(var r,i=[],o=0,a=e.length,s=!n;a>o;o++)r=!t(e[o],o),r!==s&&i.push(e[o]);return i},map:function(e,t,r){var i,o=0,a=e.length,s=n(e),l=[];if(s)for(;a>o;o++)i=t(e[o],o,r),null!=i&&l.push(i);else for(o in e)i=t(e[o],o,r),null!=i&&l.push(i);return Z.apply([],l)},guid:1,proxy:function(e,t){var n,r,i;return"string"==typeof t&&(i=e[t],t=e,e=i),ot.isFunction(e)?(n=X.call(arguments,2),r=function(){return e.apply(t||this,n.concat(X.call(arguments)))},r.guid=e.guid=e.guid||ot.guid++,r):void 0},now:function(){return+new Date},support:rt}),ot.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){J["[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,r){var i,o,a,s,l,u,d,h,m,g;if((t?t.ownerDocument||t:W)!==A&&$(t),t=t||A,n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=t.nodeType)&&9!==s)return[];if(P&&!r){if(i=yt.exec(e))if(a=i[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))&&I(t,o)&&o.id===a)return n.push(o),n}else{if(i[2])return J.apply(n,t.getElementsByTagName(e)),n;if((a=i[3])&&C.getElementsByClassName&&t.getElementsByClassName)return J.apply(n,t.getElementsByClassName(a)),n}if(C.qsa&&(!O||!O.test(e))){if(h=d=F,m=t,g=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){for(u=f(e),(d=t.getAttribute("id"))?h=d.replace(bt,"\\$&"):t.setAttribute("id",h),h="[id='"+h+"'] ",l=u.length;l--;)u[l]=h+p(u[l]);m=wt.test(e)&&c(t.parentNode)||t,g=u.join(",")}if(g)try{return J.apply(n,m.querySelectorAll(g)),n}catch(v){}finally{d||t.removeAttribute("id")}}}return x(e.replace(lt,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>k.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[F]=!0,e}function i(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("|"),r=e.length;r--;)k.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||U)-(~e.sourceIndex||U);if(r)return r;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 r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function c(e){return e&&typeof e.getElementsByTagName!==V&&e}function d(){}function f(e,n){var r,i,o,a,s,l,u,c=Y[e+" "];if(c)return n?0:c.slice(0);for(s=e,l=[],u=k.preFilter;s;){(!r||(i=ut.exec(s)))&&(i&&(s=s.slice(i[0].length)||s),l.push(o=[])),r=!1,(i=ct.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(lt," ")}),s=s.slice(r.length));for(a in k.filter)!(i=ht[a].exec(s))||u[a]&&!(i=u[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):Y(e,l).slice(0)}function p(e){for(var t=0,n=e.length,r="";n>t;t++)r+=e[t].value;return r}function h(e,t,n){var r=t.dir,i=n&&"parentNode"===r,o=R++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,o)}:function(t,n,a){var s,l,u=[z,o];if(a){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||i){if(l=t[F]||(t[F]={}),(s=l[r])&&s[0]===z&&s[1]===o)return u[2]=s[2];if(l[r]=u,u[2]=e(t,n,a))return!0}}}function m(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function g(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,u=null!=t;l>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),u&&t.push(s));return a}function v(e,t,n,i,o,a){return i&&!i[F]&&(i=v(i)),o&&!o[F]&&(o=v(o,a)),r(function(r,a,s,l){var u,c,d,f=[],p=[],h=a.length,m=r||b(t||"*",s.nodeType?[s]:s,[]),v=!e||!r&&t?m:g(m,f,e,s,l),y=n?o||(r?e:h||i)?[]:a:v;if(n&&n(v,y,s,l),i)for(u=g(y,p),i(u,[],s,l),c=u.length;c--;)(d=u[c])&&(y[p[c]]=!(v[p[c]]=d));if(r){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(r,d):f[c])>-1&&(r[u]=!(a[u]=d))}}else y=g(y===a?y.splice(h,y.length):y),o?o(null,a,y,l):J.apply(a,y)})}function y(e){for(var t,n,r,i=e.length,o=k.relative[e[0].type],a=o||k.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,r){return!o&&(r||n!==D)||((t=n).nodeType?l(e,n,r):u(e,n,r))}];i>s;s++)if(n=k.relative[e[s].type])c=[h(m(c),n)];else{if(n=k.filter[e[s].type].apply(null,e[s].matches),n[F]){for(r=++s;i>r&&!k.relative[e[r].type];r++);return v(s>1&&m(c),s>1&&p(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(lt,"$1"),n,r>s&&y(e.slice(s,r)),i>r&&y(e=e.slice(r)),i>r&&p(e))}c.push(n)}return m(c)}function w(e,n){var i=n.length>0,o=e.length>0,a=function(r,a,s,l,u){var c,d,f,p=0,h="0",m=r&&[],v=[],y=D,w=r||o&&k.find.TAG("*",u),b=z+=null==y?1:Math.random()||.1,x=w.length;for(u&&(D=a!==A&&a);h!==x&&null!=(c=w[h]);h++){if(o&&c){for(d=0;f=e[d++];)if(f(c,a,s)){l.push(c);break}u&&(z=b)}i&&((c=!f&&c)&&p--,r&&m.push(c))}if(p+=h,i&&h!==p){for(d=0;f=n[d++];)f(m,v,a,s);if(r){if(p>0)for(;h--;)m[h]||v[h]||(v[h]=Q.call(l));v=g(v)}J.apply(l,v),u&&!r&&v.length>0&&p+n.length>1&&t.uniqueSort(l)}return u&&(z=b,D=y),m};return i?r(a):a}function b(e,n,r){for(var i=0,o=n.length;o>i;i++)t(e,n[i],r);return r}function x(e,t,n,r){var i,o,a,s,l,u=f(e);if(!r&&1===u.length){if(o=u[0]=u[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&C.getById&&9===t.nodeType&&P&&k.relative[o[1].type]){if(t=(k.find.ID(a.matches[0].replace(xt,Tt),t)||[])[0],!t)return n;e=e.slice(o.shift().value.length)}for(i=ht.needsContext.test(e)?0:o.length;i--&&(a=o[i],!k.relative[s=a.type]);)if((l=k.find[s])&&(r=l(a.matches[0].replace(xt,Tt),wt.test(o[0].type)&&c(t.parentNode)||t))){if(o.splice(i,1),e=r.length&&p(o),!e)return J.apply(n,r),n;break}}return E(e,u)(r,t,!P,n,wt.test(e)&&c(t.parentNode)||t),n}var T,C,k,S,_,E,D,M,L,$,A,N,P,O,j,H,I,F="sizzle"+-new Date,W=e.document,z=0,R=0,B=n(),Y=n(),q=n(),G=function(e,t){return e===t&&(L=!0),0},V="undefined",U=1<<31,X={}.hasOwnProperty,Z=[],Q=Z.pop,K=Z.push,J=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",rt="[\\x20\\t\\r\\n\\f]",it="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ot=it.replace("w","w#"),at="\\["+rt+"*("+it+")"+rt+"*(?:([*^$|!~]?=)"+rt+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+ot+")|)|)"+rt+"*\\]",st=":("+it+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+at.replace(3,8)+")*)|.*)\\)|)",lt=new RegExp("^"+rt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+rt+"+$","g"),ut=new RegExp("^"+rt+"*,"+rt+"*"),ct=new RegExp("^"+rt+"*([>+~]|"+rt+")"+rt+"*"),dt=new RegExp("="+rt+"*([^\\]'\"]*?)"+rt+"*\\]","g"),ft=new RegExp(st),pt=new RegExp("^"+ot+"$"),ht={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it.replace("w","w*")+")"),ATTR:new RegExp("^"+at),PSEUDO:new RegExp("^"+st),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+rt+"*(even|odd|(([+-]|)(\\d*)n|)"+rt+"*(?:([+-]|)"+rt+"*(\\d+)|))"+rt+"*\\)|)","i"),bool:new RegExp("^(?:"+nt+")$","i"),needsContext:new RegExp("^"+rt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+rt+"*((?:-\\d)?\\d*)"+rt+"*\\)|)(?=[^-]|$)","i")},mt=/^(?:input|select|textarea|button)$/i,gt=/^h\d$/i,vt=/^[^{]+\{\s*\[native \w/,yt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,wt=/[+~]/,bt=/'|\\/g,xt=new RegExp("\\\\([\\da-f]{1,6}"+rt+"?|("+rt+")|.)","ig"),Tt=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)};try{J.apply(Z=et.call(W.childNodes),W.childNodes),Z[W.childNodes.length].nodeType}catch(Ct){J={apply:Z.length?function(e,t){K.apply(e,et.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}C=t.support={},_=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},$=t.setDocument=function(e){var t,n=e?e.ownerDocument||e:W,r=n.defaultView;return n!==A&&9===n.nodeType&&n.documentElement?(A=n,N=n.documentElement,P=!_(n),r&&r!==r.top&&(r.addEventListener?r.addEventListener("unload",function(){$()},!1):r.attachEvent&&r.attachEvent("onunload",function(){$()})),C.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),C.getElementsByTagName=i(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),C.getElementsByClassName=vt.test(n.getElementsByClassName)&&i(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),C.getById=i(function(e){return N.appendChild(e).id=F,!n.getElementsByName||!n.getElementsByName(F).length}),C.getById?(k.find.ID=function(e,t){if(typeof t.getElementById!==V&&P){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},k.filter.ID=function(e){var t=e.replace(xt,Tt);return function(e){return e.getAttribute("id")===t}}):(delete k.find.ID,k.filter.ID=function(e){var t=e.replace(xt,Tt);return function(e){var n=typeof e.getAttributeNode!==V&&e.getAttributeNode("id");return n&&n.value===t}}),k.find.TAG=C.getElementsByTagName?function(e,t){return typeof t.getElementsByTagName!==V?t.getElementsByTagName(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);
vendor: 4,232 bytes, line 24
24if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},k.find.CLASS=C.getElementsByClassName&&function(e,t){return typeof t.getElementsByClassName!==V&&P?t.getElementsByClassName(e):void 0},j=[],O=[],(C.qsa=vt.test(n.querySelectorAll))&&(i(function(e){e.innerHTML="<select t=''><option selected=''></option></select>",e.querySelectorAll("[t^='']").length&&O.push("[*^$]="+rt+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||O.push("\\["+rt+"*(?:value|"+nt+")"),e.querySelectorAll(":checked").length||O.push(":checked")}),i(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"+rt+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||O.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),O.push(",.*:")})),(C.matchesSelector=vt.test(H=N.webkitMatchesSelector||N.mozMatchesSelector||N.oMatchesSelector||N.msMatchesSelector))&&i(function(e){C.disconnectedMatch=H.call(e,"div"),H.call(e,"[s!='']:x"),j.push("!=",st)}),O=O.length&&new RegExp(O.join("|")),j=j.length&&new RegExp(j.join("|")),t=vt.test(N.compareDocumentPosition),I=t||vt.test(N.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},G=t?function(e,t){if(e===t)return L=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r?r:(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&r||!C.sortDetached&&t.compareDocumentPosition(e)===r?e===n||e.ownerDocument===W&&I(W,e)?-1:t===n||t.ownerDocument===W&&I(W,t)?1:M?tt.call(M,e)-tt.call(M,t):0:4&r?-1:1)}:function(e,t){if(e===t)return L=!0,0;var r,i=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:M?tt.call(M,e)-tt.call(M,t):0;if(o===s)return a(e,t);for(r=e;r=r.parentNode;)l.unshift(r);for(r=t;r=r.parentNode;)u.unshift(r);for(;l[i]===u[i];)i++;return i?a(l[i],u[i]):l[i]===W?-1:u[i]===W?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&&$(e),n=n.replace(dt,"='$1']"),!(!C.matchesSelector||!P||j&&j.test(n)||O&&O.test(n)))try{var r=H.call(e,n);if(r||C.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(i){}return t(n,A,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==A&&$(e),I(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==A&&$(e);var n=k.attrHandle[t.toLowerCase()],r=n&&X.call(k.attrHandle,t.toLowerCase())?n(e,t,!P):void 0;return void 0!==r?r:C.attributes||!P?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(L=!C.detectDuplicates,M=!C.sortStable&&e.slice(0),e.sort(G),L){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return M=null,e},S=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=S(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=S(t);return n},k=t.selectors={cacheLength:50,createPseudo:r,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(xt,Tt),e[3]=(e[4]||e[5]||"").replace(xt,Tt),"~="===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(xt,Tt).toLowerCase();return"*"===e?function(){return!0}
vendor: 1,208 bytes, line 24
24:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=B[e+" "];return t||(t=new RegExp("(^|"+rt+")"+e+"("+rt+"|$)"))&&B(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==V&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:n?(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o+" ").indexOf(r)>-1:"|="===n?o===r||o.slice(0,r.length+1)===r+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?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[F]||(g[F]={}),u=c[e]||[],p=u[0]===z&&u[1],f=u[0]===z&&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]=[z,p,f];break}}
vendor: 5,361 bytes, line 24
24else if(y&&(u=(t[F]||(t[F]={}))[e])&&u[0]===z)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[F]||(d[F]={}))[e]=[z,f]),d!==t)););return f-=i,f===r||f%r===0&&f/r>=0}}},PSEUDO:function(e,n){var i,o=k.pseudos[e]||k.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[F]?o(n):o.length>1?(i=[e,e,"",n],k.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)r=tt.call(e,i[a]),e[r]=!(t[r]=i[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=E(e.replace(lt,"$1"));return i[F]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return function(t){return(t.textContent||t.innerText||S(t)).indexOf(e)>-1}}),lang:r(function(e){return pt.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(xt,Tt).toLowerCase(),function(t){var n;do if(n=P?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===N},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!k.pseudos.empty(e)},header:function(e){return gt.test(e.nodeName)},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 r=0>n?n+t:n;--r>=0;)e.push(r);return e}),gt:u(function(e,t,n){for(var r=0>n?n+t:n;++r<t;)e.push(r);return e})}},k.pseudos.nth=k.pseudos.eq;for(T in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})k.pseudos[T]=s(T);for(T in{submit:!0,reset:!0})k.pseudos[T]=l(T);return d.prototype=k.filters=k.pseudos,k.setFilters=new d,E=t.compile=function(e,t){var n,r=[],i=[],o=q[e+" "];if(!o){for(t||(t=f(e)),n=t.length;n--;)o=y(t[n]),o[F]?r.push(o):i.push(o);o=q(e,w(i,r))}return o},C.sortStable=F.split("").sort(G).join("")===F,C.detectDuplicates=!!L,$(),C.sortDetached=i(function(e){return 1&e.compareDocumentPosition(A.createElement("div"))}),i(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)}),C.attributes&&i(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}),i(function(e){return null==e.getAttribute("disabled")})||o(nt,function(e,t,n){var r;return n?void 0:e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.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 r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ot.find.matchesSelector(r,e)?[r]:[]:ot.find.matches(e,ot.grep(t,function(e){return 1===e.nodeType}))},ot.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(ot(e).filter(function(){for(t=0;i>t;t++)if(ot.contains(r[t],this))return!0}));for(t=0;i>t;t++)ot.find(e,r[t],n);return n=this.pushStack(i>1?ot.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(r(this,e||[],!1))},not:function(e){return this.pushStack(r(this,e||[],!0))},is:function(e){return!!r(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,r;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(r=mt.getElementById(n[2]),r&&r.parentNode){if(r.id!==n[2])return ht.find(e);this.length=1,this[0]=r}return this.context=mt,this.selector=e,this}
vendor: 18,053 bytes, lines 24-25
24return 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))/,wt={children:!0,contents:!0,next:!0,prev:!0};ot.extend({dir:function(e,t,n){for(var r=[],i=e[t];i&&9!==i.nodeType&&(void 0===n||1!==i.nodeType||!ot(i).is(n));)1===i.nodeType&&r.push(i),i=i[t];return r},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),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(ot.contains(this,n[t]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=dt.test(e)||"string"!=typeof e?ot(e,t||this.context):0;i>r;r++)for(n=this[r];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 i(e,"nextSibling")},prev:function(e){return i(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,r){var i=ot.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=ot.filter(r,i)),this.length>1&&(wt[e]||(i=ot.unique(i)),yt.test(e)&&(i=i.reverse())),this.pushStack(i)}});var bt=/\S+/g,xt={};ot.Callbacks=function(e){e="string"==typeof e?xt[e]||o(e):ot.extend({},e);var t,n,r,i,a,s,l=[],u=!e.once&&[],c=function(o){for(n=e.memory&&o,r=!0,a=s||0,s=0,i=l.length,t=!0;l&&i>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 r=l.length;!function o(t){ot.each(t,function(t,n){var r=ot.type(n);"function"===r?e.unique&&d.has(n)||l.push(n):n&&n.length&&"string"!==r&&o(n)})}(arguments),t?i=l.length:n&&(s=r,c(n))}return this},remove:function(){return l&&ot.each(arguments,function(e,n){for(var r;(r=ot.inArray(n,l,r))>-1;)l.splice(r,1),t&&(i>=r&&i--,a>=r&&a--)}),this},has:function(e){return e?ot.inArray(e,l)>-1:!(!l||!l.length)},empty:function(){return l=[],i=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||r&&!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!!r}};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="pending",r={state:function(){return n},always:function(){return i.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];i[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===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?ot.extend(e,r):r}},i={};return r.pipe=r.then,ot.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=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,r){return function(i){n[e]=this,r[e]=arguments.length>1?X.call(arguments):i,r===t?l.notifyWith(n,r):--s||l.resolveWith(n,r)}};if(a>1)for(t=new Array(a),n=new Array(a),r=new Array(a);a>i;i++)o[i]&&ot.isFunction(o[i].promise)?o[i].promise().done(u(i,r,o)).fail(l.reject).progress(u(i,n,t)):--s;return s||l.resolveWith(r,o),l.promise()}});var Tt;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||(Tt.resolveWith(mt,[ot]),ot.fn.trigger&&ot(mt).trigger("ready").off("ready"))}}}),ot.ready.promise=function(t){if(!Tt)if(Tt=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(r){}n&&n.doScroll&&!function i(){if(!ot.isReady){try{n.doScroll("left")}catch(e){return setTimeout(i,50)}a(),ot.ready()}}()}return Tt.promise(t)};var Ct,kt="undefined";for(Ct in ot(rt))break;rt.ownLast="0"!==Ct,rt.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!==kt&&(t.style.cssText="border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1",(rt.inlineBlockNeedsLayout=3===t.offsetWidth)&&(n.style.zoom=1)),n.removeChild(e),e=t=null)}),function(){var e=mt.createElement("div");if(null==rt.deleteExpando){rt.deleteExpando=!0;try{delete e.test}catch(t){rt.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,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=ot.data(o),1===o.nodeType&&!ot._data(o,"parsedAttrs"))){for(n=a.length;n--;)r=a[n].name,0===r.indexOf("data-")&&(r=ot.camelCase(r.slice(5)),l(o,r,i[r]));ot._data(o,"parsedAttrs",!0)}return i}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 r;return e?(t=(t||"fx")+"queue",r=ot._data(e,t),n&&(!r||ot.isArray(n)?r=ot._data(e,t,ot.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=ot.queue(e,t),r=n.length,i=n.shift(),o=ot._queueHooks(e,t),a=function(){ot.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&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,r=1,i=ot.Deferred(),o=this,a=this.length,s=function(){--r||i.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&&(r++,n.empty.add(s));return s(),i.promise(t)}});var Et=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Dt=["Top","Right","Bottom","Left"],Mt=function(e,t){return e=t||e,"none"===ot.css(e,"display")||!ot.contains(e.ownerDocument,e)},Lt=ot.access=function(e,t,n,r,i,o,a){var s=0,l=e.length,u=null==n;if("object"===ot.type(n)){i=!0;for(s in n)ot.access(e,t,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,ot.isFunction(r)||(a=!0),u&&(a?(t.call(e,r),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?r:r.call(e[s],s,t(e[s],n)));return i?e:u?t.call(e):l?t(e[0],n):o},$t=/^(?: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>",rt.leadingWhitespace=3===t.firstChild.nodeType,rt.tbody=!t.getElementsByTagName("tbody").length,rt.htmlSerialize=!!t.getElementsByTagName("link").length,rt.html5Clone="<:nav></:nav>"!==mt.createElement("nav").cloneNode(!0).outerHTML,n.type="checkbox",n.checked=!0,e.appendChild(n),rt.appendChecked=n.checked,t.innerHTML="<textarea>x</textarea>",rt.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,e.appendChild(t),t.innerHTML="<input type='radio' checked='checked' name='t'/>",rt.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,rt.noCloneEvent=!0,t.attachEvent&&(t.attachEvent("onclick",function(){rt.noCloneEvent=!1}),t.cloneNode(!0).click()),null==rt.deleteExpando){rt.deleteExpando=!0;try{delete t.test}catch(r){rt.deleteExpando=!1}}e=t=n=null}(),function(){var t,n,r=mt.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})n="on"+t,(rt[t+"Bubbles"]=n in e)||(r.setAttribute(n,"t"),rt[t+"Bubbles"]=r.attributes[n].expando===!1);r=null}();var At=/^(?:input|select|textarea)$/i,Nt=/^key/,Pt=/^(?:mouse|contextmenu)|click/,Ot=/^(?:focusinfocus|focusoutblur)$/,jt=/^([^.]*)(?:\.(.+)|)$/;ot.event={global:{},add:function(e,t,n,r,i){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,i=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===kt||e&&ot.event.triggered===e.type?void 0:ot.event.dispatch.apply(c.elem,arguments)},c.elem=e),t=(t||"").match(bt)||[""],s=t.length;s--;)o=jt.exec(t[s])||[],p=m=o[1],h=(o[2]||"").split(".").sort(),p&&(u=ot.event.special[p]||{},p=(i?u.delegateType:u.bindType)||p,u=ot.event.special[p]||{},d=ot.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ot.expr.match.needsContext.test(i),namespace:h.join(".")},l),(f=a[p])||(f=a[p]=[],f.delegateCount=0,u.setup&&u.setup.call(e,r,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)),i?f.splice(f.delegateCount++,0,d):f.push(d),ot.event.global[p]=!0);e=null}},remove:function(e,t,n,r,i){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(bt)||[""],u=t.length;u--;)if(s=jt.exec(t[u])||[],p=m=s[1],h=(s[2]||"").split(".").sort(),p){for(d=ot.event.special[p]||{},p=(r?d.delegateType:d.bindType)||p,f=c[p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=f.length;o--;)a=f[o],!i&&m!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!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,r,!0);ot.isEmptyObject(c)&&(delete g.handle,ot._removeData(e,"events"))}},trigger:function(t,n,r,i){var o,a,s,l,u,c,d,f=[r||mt],p=tt.call(t,"type")?t.type:t,h=tt.call(t,"namespace")?t.namespace.split("."):[];if(s=c=r=r||mt,3!==r.nodeType&&8!==r.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=i?2:3,t.namespace=h.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:ot.makeArray(n,[t]),u=ot.event.special[p]||{},i||!u.trigger||u.trigger.apply(r,n)!==!1)){if(!i&&!u.noBubble&&!ot.isWindow(r)){for(l=u.delegateType||p,Ot.test(l+p)||(s=s.parentNode);s;s=s.parentNode)f.push(s),c=s;
25c===(r.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=o.apply(s,n),t.result===!1&&t.preventDefault());if(t.type=p,!i&&!t.isDefaultPrevented()&&(!u._default||u._default.apply(f.pop(),n)===!1)&&ot.acceptData(r)&&a&&r[p]&&!ot.isWindow(r)){c=r[a],c&&(r[a]=null),ot.event.triggered=p;try{r[p]()}catch(m){}ot.event.triggered=void 0,c&&(r[a]=c)}return t.result}},dispatch:function(e){e=ot.event.fix(e);var t,n,r,i,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;(i=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,o=0;(r=i.handlers[o++])&&!e.isImmediatePropagationStopped();)(!e.namespace_re||e.namespace_re.test(r.namespace))&&(e.handleObj=r,e.data=r.data,n=((ot.event.special[r.origType]||{}).handle||r.handler).apply(i.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,r,i,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(i=[],o=0;s>o;o++)r=t[o],n=r.selector+" ",void 0===i[n]&&(i[n]=r.needsContext?ot(n,this).index(l)>=0:ot.find(n,this,null,[l]).length),i[n]&&i.push(r);i.length&&a.push({elem:l,handlers:i})}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,r,i=e.type,o=e,a=this.fixHooks[i];for(a||(this.fixHooks[i]=a=Pt.test(i)?this.mouseHooks:Nt.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new ot.Event(o),t=r.length;t--;)n=r[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,r,i,o=t.button,a=t.fromElement;return null==e.pageX&&null!=t.clientX&&(r=e.target.ownerDocument||mt,i=r.documentElement,n=r.body,e.pageX=t.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.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,r){var i=ot.extend(new ot.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?ot.event.trigger(i,null,t):ot.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},ot.removeEvent=mt.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===kt&&(e[r]=null),e.detachEvent(r,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,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!ot.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),rt.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)}}),rt.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)}}),rt.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 r=this.ownerDocument||this,i=ot._data(r,t);i||r.addEventListener(e,n,!0),ot._data(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=ot._data(r,t)-1;i?ot._data(r,t,i):(r.removeEventListener(e,n,!0),ot._removeData(r,t))}}}),ot.fn.extend({on:function(e,t,n,r,i){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],i);return this}if(null==n&&null==r?(r=t,n=t=void 0):null==r&&("string"==typeof t?(r=n,n=void 0):(r=n,n=t,t=void 0)),r===!1)r=p;else if(!r)return this;return 1===i&&(a=r,r=function(e){return ot().off(e),a.apply(this,arguments)},r.guid=a.guid||(a.guid=ot.guid++)),this.each(function(){ot.event.add(this,e,r,n,t)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ot(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);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",It=/ jQuery\d+="(?:null|\d+)"/g,Ft=new RegExp("<(?:"+Ht+")[\\s/>]","i"),Wt=/^\s+/,zt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Rt=/<([\w:]+)/,Bt=/<tbody/i,Yt=/<|&#?\w+;/,qt=/<(?:script|style|link)/i,Gt=/checked\s*(?:[^=]|=\s*.checked.)/i,Vt=/^$|\/(?:java|ecma)script/i,Ut=/^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:rt.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},Qt=m(mt),Kt=Qt.appendChild(mt.createElement("div"));
vendor: 5,334 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 r,i,o,a,s,l=ot.contains(e.ownerDocument,e);if(rt.html5Clone||ot.isXMLDoc(e)||!Ft.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Kt.innerHTML=e.outerHTML,Kt.removeChild(o=Kt.firstChild)),!(rt.noCloneEvent&&rt.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ot.isXMLDoc(e)))for(r=g(o),s=g(e),a=0;null!=(i=s[a]);++a)r[a]&&C(i,r[a]);if(t)if(n)for(s=s||g(e),r=r||g(o),a=0;null!=(i=s[a]);a++)T(i,r[a]);else T(e,o);return r=g(o,"script"),r.length>0&&x(r,!l&&g(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){for(var i,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(zt,"<$1></$2>")+c[2],i=c[0];i--;)s=s.lastChild;if(!rt.leadingWhitespace&&Wt.test(o)&&p.push(t.createTextNode(Wt.exec(o)[0])),!rt.tbody)for(o="table"!==l||Bt.test(o)?"<table>"!==c[1]||Bt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;i--;)ot.nodeName(u=o.childNodes[i],"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),rt.appendChecked||ot.grep(g(p,"input"),v),h=0;o=p[h++];)if((!r||-1===ot.inArray(o,r))&&(a=ot.contains(o.ownerDocument,o),s=g(f.appendChild(o),"script"),a&&x(s),n))for(i=0;o=s[i++];)Vt.test(o.type||"")&&n.push(o);return s=null,f},cleanData:function(e,t){for(var n,r,i,o,a=0,s=ot.expando,l=ot.cache,u=rt.deleteExpando,c=ot.event.special;null!=(n=e[a]);a++)if((t||ot.acceptData(n))&&(i=n[s],o=i&&l[i])){if(o.events)for(r in o.events)c[r]?ot.event.remove(n,r):ot.removeEvent(n,r,o.handle);l[i]&&(delete l[i],u?delete n[s]:typeof n.removeAttribute!==kt?n.removeAttribute(s):n[s]=null,U.push(i))}}}),ot.fn.extend({text:function(e){return Lt(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,r=e?ot.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodeType||ot.cleanData(g(n)),n.parentNode&&(t&&ot.contains(n.ownerDocument,n)&&x(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 Lt(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(It,""):void 0;if(!("string"!=typeof e||qt.test(e)||!rt.htmlSerialize&&Ft.test(e)||!rt.leadingWhitespace&&Wt.test(e)||Zt[(Rt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(zt,"<$1></$2>");try{for(;r>n;n++)t=this[n]||{},1===t.nodeType&&(ot.cleanData(g(t,!1)),t.innerHTML=e);t=0}catch(i){}}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,r,i,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&&!rt.checkClone&&Gt.test(f))return this.each(function(n){var r=c.eq(n);p&&(e[0]=f.call(this,n,r.html())),r.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"),w),i=o.length;u>l;l++)r=s,l!==d&&(r=ot.clone(r,!0,!0),i&&ot.merge(o,g(r,"script"))),t.call(this[l],r,l);if(i)for(a=o[o.length-1].ownerDocument,ot.map(o,b),l=0;i>l;l++)r=o[l],Vt.test(r.type||"")&&!ot._data(r,"globalEval")&&ot.contains(a,r)&&(r.src?ot._evalUrl&&ot._evalUrl(r.src):ot.globalEval((r.text||r.textContent||r.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,r=0,i=[],o=ot(e),a=o.length-1;a>=r;r++)n=r===a?this:this.clone(!0),ot(o[r])[t](n),Q.apply(i,n.get());return this.pushStack(i)}});var Jt,en={};!function(){var e,t,n=mt.createElement("div"),r="-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>
25<input type='checkbox'/>",e=n.getElementsByTagName("a")[0],e.style.cssText="float:left;opacity:.5",rt.opacity=/^0.5/.test(e.style.opacity),rt.cssFloat=!!e.style.cssFloat,n.style.backgroundClip="content-box",n.cloneNode(!0).style.backgroundClip="",rt.clearCloneStyle="content-box"===n.style.backgroundClip,e=n=null,rt.shrinkWrapBlocks=function(){var e,n,i,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"),i=mt.createElement("div"),e.appendChild(n).appendChild(i),t=!1,typeof i.style.zoom!==kt&&(i.style.cssText=r+";width:1px;padding:1px;zoom:1",i.innerHTML="<div></div>",i.firstChild.style.width="5px",t=3!==i.offsetWidth),e.removeChild(n),e=n=i=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 r,i,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)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0===a?a:a+""}):mt.documentElement.currentStyle&&(tn=function(e){return e.currentStyle},nn=function(e,t,n){var r,i,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)&&(r=s.left,i=e.runtimeStyle,o=i&&i.left,o&&(i.left=e.currentStyle.left),s.left="fontSize"===t?"1em":a,a=s.pixelLeft+"px",s.left=r,o&&(i.left
vendor: 12,123 bytes, line 25
25=o)),void 0===a?a:a+""||"auto"}),function(){function t(){var t,n,r=mt.getElementsByTagName("body")[0];r&&(t=mt.createElement("div"),n=mt.createElement("div"),t.style.cssText=u,r.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(r,null!=r.style.zoom?{zoom:1}:{},function(){i=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),r.removeChild(t),n=r=null)}var n,r,i,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",rt.opacity=/^0.5/.test(n.style.opacity),rt.cssFloat=!!n.style.cssFloat,l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",rt.clearCloneStyle="content-box"===l.style.backgroundClip,n=l=null,ot.extend(rt,{reliableHiddenOffsets:function(){if(null!=r)return r;var e,t,n,i=mt.createElement("div"),o=mt.getElementsByTagName("body")[0];if(o)return i.setAttribute("className","t"),i.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=mt.createElement("div"),e.style.cssText=u,o.appendChild(e).appendChild(i),i.innerHTML="<table><tr><td></td><td>t</td></tr></table>",t=i.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",r=n&&0===t[0].offsetHeight,o.removeChild(e),i=o=null,r},boxSizing:function(){return null==i&&t(),i},boxSizingReliable:function(){return null==o&&t(),o},pixelPosition:function(){return null==a&&t(),a},reliableMarginRight:function(){var t,n,r,i;if(null==s&&e.getComputedStyle){if(t=mt.getElementsByTagName("body")[0],!t)return;n=mt.createElement("div"),r=mt.createElement("div"),n.style.cssText=u,t.appendChild(n).appendChild(r),i=r.appendChild(mt.createElement("div")),i.style.cssText=r.style.cssText=c,i.style.marginRight=i.style.width="0",r.style.width="1px",s=!parseFloat((e.getComputedStyle(i,null)||{}).marginRight),t.removeChild(n)}return s}})}(),ot.swap=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i};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":rt.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,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!==(i=a.get(e,!1,r))?i:l[t];if(o=typeof n,"string"===o&&(i=dn.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(ot.css(e,t)),o="number"),null!=n&&n===n&&("number"!==o||ot.cssNumber[s]||(n+="px"),rt.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(e,n,r)))))try{l[t]="",l[t]=n}catch(u){}}},css:function(e,t,n,r){var i,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,r)),"normal"===o&&t in pn&&(o=pn[t]),""===n||n?(i=parseFloat(o),n===!0||ot.isNumeric(i)?i||0:o):o}}),ot.each(["height","width"],function(e,t){ot.cssHooks[t]={get:function(e,n,r){return n?0===e.offsetWidth&&un.test(ot.css(e,"display"))?ot.swap(e,fn,function(){return $(e,t,r)}):$(e,t,r):void 0},set:function(e,n,r){var i=r&&tn(e);return M(e,n,r?L(e,t,r,rt.boxSizing()&&"border-box"===ot.css(e,"boxSizing",!1,i),i):0)}}}),rt.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,r=e.currentStyle,i=ot.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===ot.trim(o.replace(sn,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=sn.test(o)?o.replace(sn,i):o+" "+i)}}),ot.cssHooks.marginRight=_(rt.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 r=0,i={},o="string"==typeof n?n.split(" "):[n];4>r;r++)i[e+Dt[r]+t]=o[r]||o[r-2]||o[0];return i}},rn.test(e)||(ot.cssHooks[e+t].set=M)}),ot.fn.extend({css:function(e,t){return Lt(this,function(e,t,n){var r,i,o={},a=0;if(ot.isArray(t)){for(r=tn(e),i=t.length;i>a;a++)o[t[a]]=ot.css(e,t[a],!1,r);return o}return void 0!==n?ot.style(e,t,n):ot.css(e,t)},e,t,arguments.length>1)},show:function(){return D(this,!0)},hide:function(){return D(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Mt(this)?ot(this).show():ot(this).hide()})}}),ot.Tween=A,A.prototype={constructor:A,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,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"),wn=/queueHooks$/,bn=[j],xn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=yn.exec(t),o=i&&i[3]||(ot.cssNumber[e]?"":"px"),a=(ot.cssNumber[e]||"px"!==o&&+r)&&yn.exec(ot.css(n.elem,e)),s=1,l=20;if(a&&a[3]!==o){o=o||a[3],i=i||[],a=+r||1;do s=s||".5",a/=s,ot.style(n.elem,e,a+o);while(s!==(s=n.cur()/r)&&1!==s&&--l)}return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};ot.Animation=ot.extend(I,{tweener:function(e,t){ot.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,i=e.length;i>r;r++)n=e[r],xn[n]=xn[n]||[],xn[n].unshift(t)},prefilter:function(e,t){t?bn.unshift(e):bn.push(e)}}),ot.speed=function(e,t,n){var r=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 r.duration=ot.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in ot.fx.speeds?ot.fx.speeds[r.duration]:ot.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){ot.isFunction(r.old)&&r.old.call(this),r.queue&&ot.dequeue(this,r.queue)},r},ot.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Mt).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=ot.isEmptyObject(e),o=ot.speed(t,n,r),a=function(){var t=I(this,ot.extend({},e),o);(i||ot._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=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,i=null!=e&&e+"queueHooks",o=ot.timers,a=ot._data(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&wn.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,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),r=n[e+"queue"],i=n[e+"queueHooks"],o=ot.timers,a=r?r.length:0;for(n.finish=!0,ot.queue(this,e,[]),i&&i.stop&&i.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++)r[t]&&r[t].finish&&r[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,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(P(t,!0),e,r,i)}}),ot.each({slideDown:P("show"),slideUp:P("hide"),slideToggle:P("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){ot.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),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 r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},function(){var e,t,n,r,i=mt.createElement("div");i.setAttribute("className","t"),i.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=i.getElementsByTagName("a")[0],n=mt.createElement("select"),r=n.appendChild(mt.createElement("option")),t=i.getElementsByTagName("input")[0],e.style.cssText="top:1px",rt.getSetAttribute="t"!==i.className,rt.style=/top/.test(e.getAttribute("style")),rt.hrefNormalized="/a"===e.getAttribute("href"),rt.checkOn=!!t.value,rt.optSelected=r.selected,rt.enctype=!!mt.createElement("form").enctype,n.disabled=!0,rt.optDisabled=!r.disabled,t=mt.createElement("input"),t.setAttribute("value",""),rt.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),rt.radioValue="t"===t.value,e=t=n=r=i=null}();var Tn=/\r/g;ot.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=ot.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,ot(this).val()):e,null==i?i="":"number"==typeof i?i+="":ot.isArray(i)&&(i=ot.map(i,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,i,"value")||(this.value=i))});if(i)return t=ot.valHooks[i.type]||ot.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(Tn,""):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,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,l=0>i?s:o?i:0;s>l;l++)if(n=r[l],!(!n.selected&&l!==i||(rt.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,r,i=e.options,o=ot.makeArray(t),a=i.length;a--;)if(r=i[a],ot.inArray(ot.valHooks.option.get(r),o)>=0)try{r.selected=n=!0}catch(s){r.scrollHeight}else r.selected=!1;return n||(e.selectedIndex=-1),i}}}}),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}},rt.checkOn||(ot.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Cn,kn,Sn=ot.expr.attrHandle,_n=/^(?:checked|selected)$/i,En=rt.getSetAttribute,Dn=rt.input;ot.fn.extend({attr:function(e,t){return Lt(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 r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return typeof e.getAttribute===kt?ot.prop(e,t,n):(1===o&&ot.isXMLDoc(e)||(t=t.toLowerCase(),r=ot.attrHooks[t]||(ot.expr.match.bool.test(t)?kn:Cn)),void 0===n?r&&"get"in r&&null!==(i=r.get(e,t))?i:(i=ot.find.attr(e,t),null==i?void 0:i):null!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):(ot.removeAttr(e,t),void 0))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(bt);if(o&&1===e.nodeType)for(;n=o[i++];)r=ot.propFix[n]||n,ot.expr.match.bool.test(n)?Dn&&En||!_n.test(n)?e[r]=!1:e[ot.camelCase("default-"+n)]=e[r]=!1:ot.attr(e,n,""),e.removeAttribute(En?n:r)},attrHooks:{type:{set:function(e,t){if(!rt.radioValue&&"radio"===t&&ot.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}}}),kn={set:function(e,t,n){return t===!1?ot.removeAttr(e,n):Dn&&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]=Dn&&En||!_n.test(t)?function(e,t,r){var i,o;return r||(o=Sn[t],Sn[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,Sn[t]=o),i}:function(e,t,n){return n?void 0:e[ot.camelCase("default-"+t)]?t.toLowerCase():null}}),Dn&&En||(ot.attrHooks.value={set:function(e,t,n){return ot.nodeName(e,"input")?(e.defaultValue=t,void 0):Cn&&Cn.set(e,t,n)}}),En||(Cn={set:function(e,t,n){var r=e.getAttributeNode(n);return r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n)?t:void 0}},Sn.id=Sn.name=Sn.coords=function(e,t,n){var r;return n?void 0:(r=e.getAttributeNode(t))&&""!==r.value?r.value:null},ot.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);return n&&n.specified?n.value:void 0},set:Cn.set},ot.attrHooks.contenteditable={set:function(e,t,n){Cn.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}}})),rt.style||(ot.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var Mn=/^(?:input|select|textarea|button|object)$/i,Ln=/^(?:a|area)$/i;ot.fn.extend({prop:function(e,t){return Lt(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 r,i,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,i=ot.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ot.find.attr(e,"tabindex");return t?parseInt(t,10):Mn.test(e.nodeName)||Ln.test(e.nodeName)&&e.href?0:-1}}}}),rt.hrefNormalized||ot.each(["href","src"],function(e,t){ot.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),rt.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}),rt.enctype||(ot.propFix.enctype="encoding");var $n=/[\t\r\n\f]/g;ot.fn.extend({addClass:function(e){var t,n,r,i,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(bt)||[];l>s;s++)if(n=this[s],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace($n," "):" ")){for(o=0;i=t[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a=ot.trim(r),n.className!==a&&(n.className=a)
26}return this},removeClass:function(e){var t,n,r,i,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(bt)||[];l>s;s++)if(n=this[s],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace($n," "):"")){for(o=0;i=t[o++];)for(;r.indexOf(" "+i+" ")>=0;)r=r.replace(" "+i+" "," ");a=e?ot.trim(r):"",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,r=0,i=ot(this),o=e.match(bt)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else(n===kt||"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,r=this.length;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace($n," ").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,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var An=ot.now(),Nn=/\?/,Pn=/(,)|(\[|{)|(}|])|"(?:[^"\\\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,r=null,i=ot.trim(t+"");return i&&!ot.trim(i.replace(Pn,function(e,t,i,o){return n&&t&&(r=0),0===r?e:(n=i||t,r+=!o-!i,"")}))?Function("return "+i)():ot.error("Invalid JSON: "+t)},ot.parseXML=function(t){var n,r;if(!t||"string"!=typeof t)return null;try{e.DOMParser?(r=new DOMParser,n=r.parseFromString(t,"text/xml")):(n=new ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(t))}catch(i){n=void 0}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||ot.error("Invalid XML: "+t),n};var On,jn,Hn=/#.*$/,In=/([?&])_=[^&]*/,Fn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Wn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,zn=/^(?:GET|HEAD)$/,Rn=/^\/\//,Bn=/^([\
vendor: 11,271 bytes, line 26
26w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Yn={},qn={},Gn="*/".concat("*");try{jn=location.href}catch(Vn){jn=mt.createElement("a"),jn.href="",jn=jn.href}On=Bn.exec(jn.toLowerCase())||[],ot.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:jn,type:"GET",isLocal:Wn.test(On[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Gn,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?z(z(e,ot.ajaxSettings),t):z(ot.ajaxSettings,e)},ajaxPrefilter:F(Yn),ajaxTransport:F(qn),ajax:function(e,t){function n(e,t,n,r){var i,c,v,y,b,T=t;2!==w&&(w=2,s&&clearTimeout(s),u=void 0,a=r||"",x.readyState=e>0?4:0,i=e>=200&&300>e||304===e,n&&(y=R(d,x,n)),y=B(d,y,x,i),i?(d.ifModified&&(b=x.getResponseHeader("Last-Modified"),b&&(ot.lastModified[o]=b),b=x.getResponseHeader("etag"),b&&(ot.etag[o]=b)),204===e||"HEAD"===d.type?T="nocontent":304===e?T="notmodified":(T=y.state,c=y.data,v=y.error,i=!v)):(v=T,(e||!T)&&(T="error",0>e&&(e=0))),x.status=e,x.statusText=(t||T)+"",i?h.resolveWith(f,[c,T,x]):h.rejectWith(f,[x,T,v]),x.statusCode(g),g=void 0,l&&p.trigger(i?"ajaxSuccess":"ajaxError",[x,d,i?c:v]),m.fireWith(f,[x,T]),l&&(p.trigger("ajaxComplete",[x,d]),--ot.active||ot.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,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={},w=0,b="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(2===w){if(!c)for(c={};t=Fn.exec(a);)c[t[1].toLowerCase()]=t[2];t=c[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===w?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return w||(e=y[n]=y[n]||e,v[e]=t),this},overrideMimeType:function(e){return w||(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>w)for(t in e)g[t]=[g[t],e[t]];else x.always(e[x.status]);return this},abort:function(e){var t=e||b;return u&&u.abort(t),n(0,t),this}};if(h.promise(x).complete=m.add,x.success=x.done,x.error=x.fail,d.url=((e||d.url||jn)+"").replace(Hn,"").replace(Rn,On[1]+"//"),d.type=t.method||t.type||d.method||d.type,d.dataTypes=ot.trim(d.dataType||"*").toLowerCase().match(bt)||[""],null==d.crossDomain&&(r=Bn.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]===On[1]&&r[2]===On[2]&&(r[3]||("http:"===r[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)),W(Yn,d,t,x),2===w)return x;l=d.global,l&&0===ot.active++&&ot.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!zn.test(d.type),o=d.url,d.hasContent||(d.data&&(o=d.url+=(Nn.test(o)?"&":"?")+d.data,delete d.data),d.cache===!1&&(d.url=In.test(o)?o.replace(In,"$1_="+An++):o+(Nn.test(o)?"&":"?")+"_="+An++)),d.ifModified&&(ot.lastModified[o]&&x.setRequestHeader("If-Modified-Since",ot.lastModified[o]),ot.etag[o]&&x.setRequestHeader("If-None-Match",ot.etag[o])),(d.data&&d.hasContent&&d.contentType!==!1||t.contentType)&&x.setRequestHeader("Content-Type",d.contentType),x.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Gn+"; q=0.01":""):d.accepts["*"]);for(i in d.headers)x.setRequestHeader(i,d.headers[i]);if(d.beforeSend&&(d.beforeSend.call(f,x,d)===!1||2===w))return x.abort();b="abort";for(i in{success:1,error:1,complete:1})x[i](d[i]);if(u=W(qn,d,t,x)){x.readyState=1,l&&p.trigger("ajaxSend",[x,d]),d.async&&d.timeout>0&&(s=setTimeout(function(){x.abort("timeout")},d.timeout));try{w=1,u.send(v,n)}catch(T){if(!(2>w))throw T;n(-1,T)}}else n(-1,"No Transport");return x},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,r,i){return ot.isFunction(n)&&(i=i||r,r=n,n=void 0),ot.ajax({url:e,type:t,dataType:i,data:n,success:r})}}),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||!rt.reliableHiddenOffsets()&&"none"===(e.style&&e.style.display||ot.css(e,"display"))},ot.expr.filters.visible=function(e){return!ot.expr.filters.hidden(e)};var Un=/%20/g,Xn=/\[\]$/,Zn=/\r?\n/g,Qn=/^(?:submit|button|image|reset|file)$/i,Kn=/^(?:input|select|textarea|keygen)/i;ot.param=function(e,t){var n,r=[],i=function(e,t){t=ot.isFunction(t)?t():null==t?"":t,r[r.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(){i(this.name,this.value)});else for(n in e)Y(n,e[n],t,i);return r.join("&").replace(Un,"+")},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")&&Kn.test(this.nodeName)&&!Qn.test(e)&&(this.checked||!$t.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()||G()}:q;var Jn=0,er={},tr=ot.ajaxSettings.xhr();e.ActiveXObject&&ot(e).on("unload",function(){for(var e in er)er[e](void 0,!0)}),rt.cors=!!tr&&"withCredentials"in tr,tr=rt.ajax=!!tr,tr&&ot.ajaxTransport(function(e){if(!e.crossDomain||rt.cors){var t;return{send:function(n,r){var i,o=e.xhr(),a=++Jn;if(o.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(i in e.xhrFields)o[i]=e.xhrFields[i];e.mimeType&&o.overrideMimeType&&o.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(i in n)void 0!==n[i]&&o.setRequestHeader(i,n[i]+"");o.send(e.hasContent&&e.data||null),t=function(n,i){var s,l,u;if(t&&(i||4===o.readyState))if(delete er[a],t=void 0,o.onreadystatechange=ot.noop,i)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&&r(s,l,u,o.getAllResponseHeaders())},e.async?4===o.readyState?setTimeout(t):o.onreadystatechange=er[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(r,i){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||i(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}});var nr=[],rr=/(=)\?(?=&|$)|\?\?/;ot.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=nr.pop()||ot.expando+"_"+An++;return this[e]=!0,e}}),ot.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,a,s=t.jsonp!==!1&&(rr.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&rr.test(t.data)&&"data");return s||"jsonp"===t.dataTypes[0]?(i=t.jsonpCallback=ot.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(rr,"$1"+i):t.jsonp!==!1&&(t.url+=(Nn.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||ot.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always(function(){e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,nr.push(i)),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 r=ft.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=ot.buildFragment([e],t,i),i&&i.length&&ot(i).remove(),ot.merge([],r.childNodes))};var ir=ot.fn.load;ot.fn.load=function(e,t,n){if("string"!=typeof e&&ir)return ir.apply(this,arguments);var r,i,o,a=this,s=e.indexOf(" ");return s>=0&&(r=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){i=arguments,a.html(r?ot("<div>").append(ot.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){a.each(n,i||[e.responseText,t,e])}),this},ot.expr.filters.animated=function(e){return ot.grep(ot.timers,function(t){return e===t.elem}).length};var or=e.document.documentElement;ot.offset={setOffset:function(e,t,n){var r,i,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?(r=d.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=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+i),"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,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;if(o)return t=o.documentElement,ot.contains(t,i)?(typeof i.getBoundingClientRect!==kt&&(r=i.getBoundingClientRect()),n=V(o),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left
26:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r},position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===ot.css(r,"position")?t=r.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(r,"marginTop",!0),left:t.left-n.left-ot.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||or;e&&!ot.nodeName(e,"html")&&"static"===ot.css(e,"position");)e=e.offsetParent;return e||or})}}),ot.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);ot.fn[e]=function(r){return Lt(this,function(e,r,i){var o=V(e);return void 0===i?o?t in o?o[t]:o.document.documentElement[r]:e[r]:(o?o.scrollTo(n?ot(o).scrollLeft():i,n?i:ot(o).scrollTop()):e[r]=i,void 0)},e,r,arguments.length,null)}}),ot.each(["top","left"],function(e,t){ot.cssHooks[t]=_(rt.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,r){ot.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(r===!0||i===!0?"margin":"border");return Lt(this,function(t,n,r){var i;return ot.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?ot.css(t,n,a):ot.style(t,n,r,a)},t,o?r: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 ar=e.jQuery,sr=e.$;return ot.noConflict=function(t){return e.$===ot&&(e.$=sr),t&&e.jQuery===ot&&(e.jQuery=ar),ot},typeof t===kt&&(e.jQuery=e.$=ot),ot}),function(e,t){e.rails!==t&&e.error("jquery-ujs has already been loaded!");var n,r=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,r){var i=e.Event(n);return t.trigger(i,r),i.result!==!1},confirm:function(e){return confirm(e)},ajax:function(t){return e.ajax(t)},href:function(e){return e.attr("href")},handleRemote:function(r){var i,o,a,s,l,u,c,d;if(n.fire(r,"ajax:before")){if(s=r.data("cross-domain"),l=s===t?null:s,u=r.data("with-credentials")||null,c=r.data("type")||e.ajaxSettings&&e.ajaxSettings.dataType,r.is("form")){i=r.attr("method"),o=r.attr("action"),a=r.serializeArray();var f=r.data("ujs:submit-button");f&&(a.push(f),r.data("ujs:submit-button",null))}else r.is(n.inputChangeSelector)?(i=r.data("method"),o=r.data("url"),a=r.serialize(),r.data("params")&&(a=a+"&"+r.data("params"))):r.is(n.buttonClickSelector)?(i=r.data("method")||"get",o=r.data("url"),a=r.serialize(),r.data("params")&&(a=a+"&"+r.data("params"))):(i=r.data("method"),o=n.href(r),a=r.data("params")||null);d={type:i||"GET",data:a,dataType:c,beforeSend:function(e,i){return i.dataType===t&&e.setRequestHeader("accept","*/*;q=0.5, "+i.accepts.script),n.fire(r,"ajax:beforeSend",[e,i])},success:function(e,t,n){r.trigger("ajax:success",[e,t,n])},complete:function(e,t){r.trigger("ajax:complete",[e,t])},error:function(e,t,n){r.trigger("ajax:error",[e,t,n])},crossDomain:l},u&&(d.xhrFields={withCredentials:u}
26),o&&(d.url=o);var p=n.ajax(d);return r.trigger("ajax:send",p),p}return!1},handleMethod:function(r){var i=n.href(r),o=r.data("method"),a=r.attr("target"),s=e("meta[name=csrf-token]").attr("content"),l=e("meta[name=csrf-param]").attr("content"),u=e('<form method="post" action="'+i+'"></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,r=e.data("confirm"),i=!1;return r?(n.fire(e,"confirm")&&(i=n.confirm(r),t=n.fire(e,"confirm:complete",[i])),i&&t):!0},blankInputs:function(t,n,r){var i,o,a=e(),s=n||"input,textarea",l=t.find(s);return l.each(function(){if(i=e(this),o=i.is("input[type=checkbox],input[type=radio]")?i.is(":checked"):i.val(),!o==!r){if(i.is("input[type=radio]")&&l.filter('input[type=radio]:checked[name="'+i.attr("name")+'"]').length)return!0;a=a.add(i)}}),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(r,"rails:attachBindings")&&(e.ajaxPrefilter(function(e,t,r){e.crossDomain||n.CSRFProtection(r)}),r.delegate(n.linkDisableSelector,"ajax:complete",function(){n.enableElement(e(this))}),r.delegate(n.linkClickSelector,"click.rails",function(r){var i=e(this),o=i.data("method"),a=i.data("params"),s=r.metaKey||r.ctrlKey;if(!n.allowAction(i))return n.stopEverything(r);if(!s&&i.is(n.linkDisableSelector)&&n.disableElement(i),i.data("remote")!==t){if(s&&(!o||"GET"===o)&&!a)return!0;var l=n.handleRemote(i);return l===!1?n.enableElement(i):l.error(function(){n.enableElement(i)}),!1}return i.data("method")?(n.handleMethod(i),!1):void 0}),r.delegate(n.buttonClickSelector,"click.rails",function(t){var r=e(this);return n.allowAction(r)?(n.handleRemote(r),!1):n.stopEverything(t)}),r.delegate(n.inputChangeSelector,"change.rails",function(t){var r=e(this);return n.allowAction(r)?(n.handleRemote(r),!1):n.stopEverything(t)}),r.delegate(n.formSubmitSelector,"submit.rails",function(r){var i=e(this),o=i.data("remote")!==t,a=n.blankInputs(i,n.requiredInputSelector),s=n.nonBlankInputs(i,n.fileInputSelector);if(!n.allowAction(i))return n.stopEverything(r);if(a&&i.attr("novalidate")==t&&n.fire(i,"ajax:aborted:required",[a]))return n.stopEverything(r);if(o){if(s){setTimeout(function(){n.disableFormElements(i)},13);var l=n.fire(i,"ajax:aborted:file",[s]);return l||setTimeout(function(){n.enableFormElements(i)},13),l}return n.handleRemote(i),!1}setTimeout(function(){n.disableFormElements(i)},13)}),r.delegate(n.formInputClickSelector,"click.rails",function(t){var r=e(this);if(!n.allowAction(r))return n.stopEverything(t);var i=r.attr("name"),o=i?{name:i,value:r.val()}:null;r.closest("form").data("ujs:submit-button",o)}),r.delegate(n.formSubmitSelector,"ajax:beforeSend.rails",function(t){this==t.target&&n.disableFormElements(e(this))}),r.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,r){this.options=e.extend({},t.DEFAULTS,r),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(),r=this.$window.scrollTop(),i=this.$element.offset(),o=this.options.offset,a=o.top,s=o.bottom;"top"==this.affixed&&(i.top+=r),"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&&r+this.unpin<=i.top?!1:null!=s&&i.top+this.$element.height()>=n-s?"bottom":null!=a&&a>=r?"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 r=e(this),i=r.data("bs.affix"),o="object"==typeof n&&n;i||r.data("bs.affix",i=new t(this,o)),"string"==typeof n&&i[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 r=e(this),i=r.attr("data-target");i||(i=r.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,""));var o=e(i);t&&t.preventDefault(),o.length||(o=r.hasClass("alert")?r:r.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 r=e.fn.alert;e.fn.alert=function(t){return this.each(function(){var r=e(this),i=r.data("bs.alert");i||r.data("bs.alert",i=new n(this)),"string"==typeof t&&i[t].call(r)})},e.fn.alert.Constructor=n,e.fn.alert.noConflict=function(){return e.fn.alert=r,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,r){this.$element=e(n),this.options=e.extend({},t.DEFAULTS,r),this.isLoading=!1};t.DEFAULTS={loadingText:"loading..."},t.prototype.setState=function(t){var n="disabled",r=this.$element,i=r.is("input")?"val":"html",o=r.data();t+="Text",o.resetText||r.data("resetText",r[i]()),r[i](o[t]||this.options[t]),setTimeout(e.proxy(function(){"loadingText"==t?(this.isLoading=!0,r.addClass(n).attr(n,n)):this.isLoading&&(this.isLoading=!1,r.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 r=e(this),i=r.data("bs.button"),o="object"==typeof n&&n;i||r.data("bs.button",i=new t(this,o)),"toggle"==n?i.toggle():n&&i.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
vendor: 15,250 bytes, lines 50-96
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,r=this.getActiveIndex();return t>this.$items.length-1||0>t?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){n.to(t)}):r==t?this.pause().cycle():this.slide(t>r?"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 r=this.$element.find(".item.active"),i=n||r[t](),o=this.interval,a="next"==t?"left":"right",s="next"==t?"first":"last",l=this;if(!i.length){if(!this.options.wrap)return;i=this.$element.find(".item")[s]()}if(i.hasClass("active"))return this.sliding=!1;var u=e.Event("slide.bs.carousel",{relatedTarget:i[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")?(i.addClass(t),i[0].offsetWidth,r.addClass(a),i.addClass(a),r.one(e.support.transition.end,function(){i.removeClass([t,a].join(" ")).addClass("active"),r.removeClass(["active",a].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger("slid.bs.carousel")},0)}).emulateTransitionEnd(1e3*r.css("transition-duration").slice(0,-1))):(r.removeClass("active"),i.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 r=e(this),i=r.data("bs.carousel"),o=e.extend({},t.DEFAULTS,r.data(),"object"==typeof n&&n),a="string"==typeof n?n:o.slide;i||r.data("bs.carousel",i=new t(this,o)),"number"==typeof n?i.to(n):a?i[a]():o.interval&&i.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,r=e(this),i=e(r.attr("data-target")||(n=r.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"")),o=e.extend({},i.data(),r.data()),a=r.attr("data-slide-to");a&&(o.interval=!1),i.carousel(o),(a=r.attr("data-slide-to"))&&i.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,r){this.$element=e(n),this.options=e.extend({},t.DEFAULTS,r),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 r=n.data("bs.collapse");if(r&&r.transitioning)return;n.collapse("hide"),r||n.data("bs.collapse",null)}var i=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[i](0),this.transitioning=1;var o=function(){this.$element.removeClass("collapsing").addClass("collapse in")[i]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!e.support.transition)return o.call(this);var a=e.camelCase(["scroll",i].join("-"));this.$element.one(e.support.transition.end,e.proxy(o,this)).emulateTransitionEnd(350)[i](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 r=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(r,this)).emulateTransitionEnd(350),void 0):r.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 r=e(this),i=r.data("bs.collapse"),o=e.extend({},t.DEFAULTS,r.data(),"object"==typeof n&&n);!i&&o.toggle&&"show"==n&&(n=!n),i||r.data("bs.collapse",i=new t(this,o)),"string"==typeof n&&i[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,r=e(this),i=r.attr("data-target")||t.preventDefault()||(n=r.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,""),o=e(i),a=o.data("bs.collapse"),s=a?"toggle":r.data(),l=r.attr("data-parent"),u=l&&e(l);a&&a.transitioning||(u&&u.find('[data-toggle=collapse][data-parent="'+l+'"]').not(r).addClass("collapsed"),r[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(r).remove(),e(i).each(function(){var r=n(e(this)),i={relatedTarget:this};r.hasClass("open")&&(r.trigger(t=e.Event("hide.bs.dropdown",i)),t.isDefaultPrevented()||r.removeClass("open").trigger("hidden.bs.dropdown",i))})}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 r=n&&e(n);return r&&r.length?r:t.parent()}var r=".dropdown-backdrop",i="[data-toggle=dropdown]",o=function(t){e(t).on("click.bs.dropdown",this.toggle)};o.prototype.toggle=function(r){var i=e(this);if(!i.is(".disabled, :disabled")){var o=n(i),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(r=e.Event("show.bs.dropdown",s)),r.isDefaultPrevented())return;o.toggleClass("open").trigger("shown.bs.dropdown",s),i.focus()}return!1}},o.prototype.keydown=function(t){if(/(38|40|27)/.test(t.keyCode)){var r=e(this);if(t.preventDefault(),t.stopPropagation(),!r.is(".disabled, :disabled")){var o=n(r),a=o.hasClass("open");if(!a||a&&27==t.keyCode)return 27==t.which&&o.find(i).focus(),r.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),r=n.data("bs.dropdown");r||n.data("bs.dropdown",r=new o(this)),"string"==typeof t&&r[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",i,o.prototype.toggle).on("keydown.bs.dropdown.data-api",i+", [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)"),r=t.data("target");if(r||(r=t.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var i=n.find(".active:last a")[0],o=e.Event("show.bs.tab",{relatedTarget:i});if(t.trigger(o),!o.isDefaultPrevented()){var a=e(r);this.activate(t.parent("li"),n),this.activate(a,a.parent(),function(){t.trigger({type:"shown.bs.tab",relatedTarget:i})})}}},t.prototype.activate=function(t,n,r){function i(){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"),r&&r()}var o=n.find("> .active"),a=r&&e.support.transition&&o.hasClass("fade");a?o.one(e.support.transition.end,i).emulateTransitionEnd(150):i(),o.removeClass("in")};var n=e.fn.tab;e.fn.tab=function(n){return this.each(function(){var r=e(this),i=r.data("bs.tab");i||r.data("bs.tab",i=new t(this)),"string"==typeof n&&i[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,r=this;e(this).one(e.support.transition.end,function(){n=!0});var i=function(){n||e(r).trigger(e.support.transition.end)};return setTimeout(i,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,r){var i,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,r),this.selector=(this.options.target||(i=e(n).attr("href"))&&i.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 r=e(this),i=r.data("target")||r.attr("href"),o=/^#./.test(i)&&e(i);return o&&o.length&&o.is(":visible")&&[[o[t]().top+(!e.isWindow(n.$scrollElement.get(0))&&n.$scrollElement.scrollTop()),i]]||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,r=n-this.$scrollElement.height(),i=this.offsets,o=this.targets,a=this.activeTarget;if(t>=r)return a!=(e=o.last()[0])&&this.activate(e);if(a&&t<=i[0])return a!=(e=o[0])&&this.activate(e);for(e=i.length;e--;)a!=o[e]&&t>=i[e]&&(!i[e+1]||t<=i[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+'"]',r=e(n).parents("li").addClass("active");r.parent(".dropdown-menu").length&&(r=r.closest("li.dropdown").addClass("active")),r.trigger("activate.bs.scrollspy")};var n=e.fn.scrollspy;e.fn.scrollspy=function(n){return this.each(function(){var r=e(this),i=r.data("bs.scrollspy"),o="object"==typeof n&&n;i||r.data("bs.scrollspy",i=new t(this,o)),"string"==typeof n&&i[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,r=e.Event("show.bs.modal",{relatedTarget:t});this.$element.trigger(r),this.isShown||r.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 r=e.support.transition&&n.$element.hasClass("fade");n.$element.parent().length||n.$element.appendTo(document.body),n.$element.show().scrollTop(0),r&&n.$element[0].offsetWidth,n.$element.addClass("in").attr("aria-hidden",!1),n.enforceFocus();var i=e.Event("shown.bs.modal",{relatedTarget:t});r?n.$element.find(".modal-dialog").one(e.support.transition.end,function(){n.$element.focus().trigger(i)}).emulateTransitionEnd(300):n.$element.focus().trigger(i)}))},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 r=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)),r&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!t)return;r?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,r){return this.each(function(){var i=e(this),o=i.data("bs.modal"),a=e.extend({},t.DEFAULTS,i.data(),"object"==typeof n&&n);o||i.data("bs.modal",o=new t(this,a)),"string"==typeof n?o[n](r):a.show&&o.show(r)})},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),r=n.attr("href"),i=e(n.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),o=i.data("bs.modal")?"toggle":e.extend({remote:!/#/.test(r)&&r},i.data(),n.data());n.is("a")&&t.preventDefault(),i.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,r){this.enabled=!0,this.type=t,this.$element=e(n),this.options=this.getOptions(r);for(var i=this.options.trigger.split(" "),o=i.length;o--;){var a=i[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,r){n[e]!=r&&(t[e]=r)}),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,r=this.tip();this.setContent(),this.options.animation&&r.addClass("fade");var i="function"==typeof this.options.placement?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement,o=/\s?auto?\s?/i,a=o.test(i);a&&(i=i.replace(o,"")||"top"),r.detach().css({top:0,left:0,display:"block"}).addClass(i),this.options.container?r.appendTo(this.options.container):r.insertAfter(this.$element);var s=this.getPosition(),l=r[0].offsetWidth,u=r[0].offsetHeight;if(a){var c=this.$element.parent(),d=i,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;i="bottom"==i&&s.top+s.height+u-f>
104h?"top":"top"==i&&s.top-f-u<0?"bottom":"right"==i&&s.right+l>p?"left":"left"==i&&s.left-l<m?"right":i,r.removeClass(d).addClass(i)}var g=this.getCalculatedOffset(i,s,l,u);this.applyPlacement(g,i),this.hoverState=null;var v=function(){n.$element.trigger("shown.bs."+n.type)};e.support.transition&&this.$tip.hasClass("fade")?r.one(e.support.transition.end,v).emulateTransitionEnd(150):v()}},t.prototype.applyPlacement=function(t,n){var r,i=this.tip(),o=i[0].offsetWidth,a=i[0].offsetHeight,s=parseInt(i.css("margin-top"),10),l=parseInt(i.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(i[0],e.extend({using:function(e){i.css({top:Math.round(e.top),left:Math.round(e.left)})}},t),0),i.addClass("in");var u=i[0].offsetWidth,c=i[0].offsetHeight;if("top"==n&&c!=a&&(r=!0,t.top=t.top+a-c),/bottom|top/.test(n)){var d=0;t.left<0&&(d=-2*t.left,t.left=0,i.offset(t),u=i[0].offsetWidth,c=i[0].offsetHeight),this.replaceArrow(d-o+u,u,"left")}else this.replaceArrow(c-a,c,"top");r&&i.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&&r.detach(),n.$element.trigger("hidden.bs."+n.type)}var n=this,r=this.tip(),i=e.Event("hide.bs."+this.type);return this.$element.trigger(i),i.isDefaultPrevented()?void 0:(r.removeClass("in"),e.support.transition&&this.$tip.hasClass("fade")?r.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,r){return"bottom"==e?{top:t.top+t.height,left:t.left+t.width/2-n/2}:"top"==e?{top:t.top-r,left:t.left+t.width/2-n/2}:"left"==e?{top:t.top+t.height/2-r/2,left:t.left-n}:{top:t.top+t.height/2-r/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 r=e(this),i=r.data("bs.tooltip"),o="object"==typeof n&&n;(i||"destroy"!=n)&&(i||r.data("bs.tooltip",i=new t(this,o)),"string"==typeof n&&i[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 r=e(this),i=r.data("bs.popover"),o="object"==typeof n&&n;(i||"destroy"!=n)&&(i||r.data("bs.popover",i=new t(this,o)),"string"==typeof n&&i[n]())})},e.fn.popover.Constructor=t,e.fn.popover.noConflict=function(){return e.fn.popover=n,this}}(jQuery),window.__recaptcha_submitted=window.__recaptcha_submitted||!1,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,r,i;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,r=[];1>t;)n?(n.classList.add("iframe-fullscreen"),r.push(n=n.parentElement)):r.push(t=1);return r}for(e.classList.remove("iframe-fullscreen"),n=e.parentElement,i=[];1>t;)n?(n.classList.remove("iframe-fullscreen"),i.push(n=n.parentElement)):i.push(t=1);return i}},t}(),e.fn.ulizaPlayer=function(n){return this.each(function(){var r,i,o;return r=e(this),i=r.data("ulizaplayer-iframe"),o="object"==typeof n&&n,i||r.data("ulizaplayer-iframe",i=new t(this,o)),r})},e(function(){return e("#ulizaplayer-iframe, .ulizaplayer-iframe").ulizaPlayer()})}(window.$)}.call(this),new function(){function e(){document.getElementsByTagName("body")[0].clientHeight;document.getElementById(r).style.top="0px";var e=document.getElementById(r).offsetTop,t=document.getElementById(r).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(r).style.position="relative",document.getElementById(r).style.top=n-t-e-1+"px")}function t(e){function t(){i!=n.offsetHeight&&(e(),i=n.offsetHeight)}var n=document.createElement("div"),r=document.createTextNode("S");n.appendChild(r),n.style.visibility="hidden",n.style.position="absolute",n.style.top="0",document.body.appendChild(n);var i=n.offsetHeight;setInterval(t,1e3)}function n(e,t,n){try{e.addEventListener(t,n,!1)}catch(r){e.attachEvent("on"+t,n)}}
111var r="footer";n(window,"load",e),n(window,"load",function(){t(e)}),n(window,"resize",e)};/*
112 * Swiper 2.6.1
113 * Mobile touch slider and framework with hardware accelerated transitions
114 *
115 * http://www.idangero.us/sliders/swiper/
116 *
117 * Copyright 2010-2014, Vladimir Kharlampidi
118 * The iDangero.us
119 * http://www.idangero.us/
120 *
121 * Licensed under GPL & MIT
122 *
123 * Released on: May 6, 2014
124*/
125var Swiper=function(e,t){"use strict";function n(e,t){return document.querySelectorAll?(t||document).querySelectorAll(e):jQuery(e,t)}function r(e){return"[object Array]"===Object.prototype.toString.apply(e)?!0:!1}function i(){var e=$-P;return t.freeMode&&(e=$-P),t.slidesPerView>D.slides.length&&!t.centeredSlides&&(e=0),0>e&&(e=0),e}function o(){function e(e){var n=new Image;n.onload=function(){D&&void 0!==D.imagesLoaded&&D.imagesLoaded++,D.imagesLoaded===D.imagesToLoad.length&&(D.reInit(),t.onImagesReady&&D.fireCallback(t.onImagesReady,D))},n.src=e}var r=D.h.addEventListener,i="wrapper"===t.eventTarget?D.wrapper:D.container;if(D.browser.ie10||D.browser.ie11?(r(i,D.touchEvents.touchStart,m),r(document,D.touchEvents.touchMove,g),r(document,D.touchEvents.touchEnd,v)):(D.support.touch&&(r(i,"touchstart",m),r(i,"touchmove",g),r(i,"touchend",v)),t.simulateTouch&&(r(i,"mousedown",m),r(document,"mousemove",g),r(document,"mouseup",v))),t.autoResize&&r(window,"resize",D.resizeFix),a(),D._wheelEvent=!1,t.mousewheelControl){if(void 0!==document.onmousewheel&&(D._wheelEvent="mou
125sewheel"),!D._wheelEvent)try{new WheelEvent("wheel"),D._wheelEvent="wheel"}catch(o){}D._wheelEvent||(D._wheelEvent="DOMMouseScroll"),D._wheelEvent&&r(D.container,D._wheelEvent,u)}if(t.keyboardControl&&r(document,"keydown",l),t.updateOnImagesReady){D.imagesToLoad=n("img",D.container);for(var s=0;s<D.imagesToLoad.length;s++)e(D.imagesToLoad[s].getAttribute("src"))}}function a(){var e,r=D.h.addEventListener;if(t.preventLinks){var i=n("a",D.container);for(e=0;e<i.length;e++)r(i[e],"click",p)}if(t.releaseFormElements){var o=n("input, textarea, select",D.container);for(e=0;e<o.length;e++)r(o[e],D.touchEvents.touchStart,h,!0)}if(t.onSlideClick)for(e=0;e<D.slides.length;e++)r(D.slides[e],"click",c);if(t.onSlideTouch)for(e=0;e<D.slides.length;e++)r(D.slides[e],D.touchEvents.touchStart,d)}function s(){var e,r=D.h.removeEventListener;if(t.onSlideClick)for(e=0;e<D.slides.length;e++)r(D.slides[e],"click",c);if(t.onSlideTouch)for(e=0;e<D.slides.length;e++)r(D.slides[e],D.touchEvents.touchStart,d);if(t.releaseFormElements){var i=n("input, textarea, select",D.container);for(e=0;e<i.length;e++)r(i[e],D.touchEvents.touchStart,h,!0)}if(t.preventLinks){var o=n("a",D.container);for(e=0;e<o.length;e++)r(o[e],"click",p)}}function l(e){var t=e.keyCode||e.charCode;if(!(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey)){if(37===t||39===t||38===t||40===t){for(var n=!1,r=D.h.getOffset(D.container),i=D.h.windowScroll().left,o=D.h.windowScroll().top,a=D.h.windowWidth(),s=D.h.windowHeight(),l=[[r.left,r.top],[r.left+D.width,r.top],[r.left,r.top+D.height],[r.left+D.width,r.top+D.height]],u=0;u<l.length;u++){var c=l[u];c[0]>=i&&c[0]<=i+a&&c[1]>=o&&c[1]<=o+s&&(n=!0)}if(!n)return}I?((37===t||39===t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),39===t&&D.swipeNext(),37===t&&D.swipePrev()):((38===t||40===t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),40===t&&D.swipeNext(),38===t&&D.swipePrev())}}function u(e){var n=D._wheelEvent,r=0;if(e.detail)r=-e.detail;else if("mousewheel"===n)if(t.mousewheelControlForceToAxis)if(I){if(!(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)))return;r=e.wheelDeltaX}else{if(!(Math.abs(e.wheelDeltaY)>Math.abs(e.wheelDeltaX)))return;r=e.wheelDeltaY}else r=e.wheelDelta;else if("DOMMouseScroll"===n)r=-e.detail;else if("wheel"===n)if(t.mousewheelControlForceToAxis)if(I){if(!(Math.abs(e.deltaX)>Math.abs(e.deltaY)))return;r=-e.deltaX}else{if(!(Math.abs(e.deltaY)>Math.abs(e.deltaX)))return;r=-e.deltaY}else r=Math.abs(e.deltaX)>Math.abs(e.deltaY)?-e.deltaX:-e.deltaY;if(t.freeMode){var o=D.getWrapperTranslate()+r;if(o>0&&(o=0),o<-i()&&(o=-i()),D.setWrapperTransition(0),D.setWrapperTranslate(o),D.updateActiveSlide(o),0===o||o===-i())return}else(new Date).getTime()-G>60&&(0>r?D.swipeNext():D.swipePrev()),G=(new Date).getTime();return t.autoplay&&D.stopAutoplay(!0),e.preventDefault?e.preventDefault():e.returnValue=!1,!1}function c(e){D.allowSlideClick&&(f(e),D.fireCallback(t.onSlideClick,D,e))}function d(e){f(e),D.fireCallback(t.onSlideTouch,D,e)}function f(e){if(e.currentTarget)D.clickedSlide=e.currentTarget;else{var n=e.srcElement;do{if(n.className.indexOf(t.slideClass)>-1)break;n=n.parentNode}while(n);D.clickedSlide=n}D.clickedSlideIndex=D.slides.indexOf(D.clickedSlide),D.clickedSlideLoopIndex=D.clickedSlideIndex-(D.loopedSlides||0)}function p(e){return D.allowLinks?void 0:(e.preventDefault?e.preventDefault():e.returnValue=!1,t.preventLinksPropagation&&"stopPropagation"in e&&e.stopPropagation(),!1)}function h(e){return e.stopPropagation?e.stopPropagation():e.returnValue=!1,!1}function m(e){if(t.preventLinks&&(D.allowLinks=!0),D.isTouched||t.onlyExternal)return!1;if(t.noSwiping&&(e.target||e.srcElement)&&y(e.target||e.srcElement))return!1;if(K=!1,D.isTouched=!0,Q="touchstart"===e.type,!Q||1===e.targetTouches.length){D.callPlugins("onTouchStartBegin"),Q||D.isAndroid||(e.preventDefault?e.preventDefault():e.returnValue=!1);var n=Q?e.targetTouches[0].pageX:e.pageX||e.clientX,r=Q?e.targetTouches[0].pageY:e.pageY||e.clientY;D.touches.startX=D.touches.currentX=n,D.touches.startY=D.touches.currentY=r,D.touches.start=D.touches.current=I?n:r,D.setWrapperTransition(0),D.positions.start=D.positions.current=D.getWrapperTranslate(),D.setWrapperTranslate(D.positions.start),D.times.start=(new Date).getTime(),N=void 0,t.moveStartThreshold>0&&(U=!1),t.onTouchStart&&D.fireCallback(t.onTouchStart,D,e),D.callPlugins("onTouchStartEnd")}}function g(e){if(D.isTouched&&!t.onlyExternal&&(!Q||"mousemove"!==e.type)){var n=Q?e.targetTouches[0].pageX:e.pageX||e.clientX,r=Q?e.targetTouches[0].pageY:e.pageY||e.clientY;if("undefined"==typeof N&&I&&(N=!!(N||Math.abs(r-D.touches.startY)>Math.abs(n-D.touches.startX))),"undefined"!=typeof N||I||(N=!!(N||Math.abs(r-D.touches.startY)<Math.abs(n-D.touches.startX))),N)return D.isTouched=!1,void 0;if(e.assignedToSwiper)return D.isTouched=!1,void 0;if(e.assignedToSwiper=!0,t.preventLinks&&(D.allowLinks=!1),t.onSlideClick&&(D.allowSlideClick=!1),t.autoplay&&D.stopAutoplay(!0),!Q||1===e.touches.length){if(D.isMoved||(D.callPlugins("onTouchMoveStart"),t.loop&&(D.fixLoop(),D.positions.start=D.getWrapperTranslate()),t.onTouchMoveStart&&D.fireCallback(t.onTouchMoveStart,D)),D.isMoved=!0,e.preventDefault?e.preventDefault():e.returnValue=!1,D.touches.current=I?n:r,D.positions.current=(D.touches.current-D.touches.start)*t.touchRatio+D.positions.start,D.positions.current>0&&t.onResistanceBefore&&D.fireCallback(t.onResistanceBefore,D,D.positions.current),D.positions.current<-i()&&t.onResistanceAfter&&D.fireCallback(t.onResistanceAfter,D,Math.abs(D.positions.current+i())),t.resistance&&"100%"!==t.resistance){var o;if(D.positions.current>0&&(o=1-D.positions.current/P/2,D.positions.current=.5>o?P/2:D.positions.current*o),D.positions.current<-i()){var a=(D.touches.current-D.touches.start)*t.touchRatio+(i()+D.positions.start);o=(P+a)/P;var s=D.positions.current-a*(1-o)/2,l=-i()-P/2;D.positions.current=l>s||0>=o?l:s}}if(t.resistance&&"100%"===t.resistance&&(D.positions.current>0&&(!t.freeMode||t.freeModeFluid)&&(D.positions.current=0),D.positions.current<-i()&&(!t.freeMode||t.freeModeFluid)&&(D.positions.current=-i())),!t.followFinger)return;if(t.moveStartThreshold)if(Math.abs(D.touches.current-D.touches.start)>t.moveStartThreshold||U){if(!U)return U=!0,D.touches.start=D.touches.current,void 0;D.setWrapperTranslate(D.positions.current)}else D.positions.current=D.positions.start;else D.setWrapperTranslate(D.positions.current);return(t.freeMode||t.watchActiveIndex)&&D.updateActiveSlide(D.positions.current),t.grabCursor&&(D.container.style.cursor="move",D.container.style.cursor="grabbing",D.container.style.cursor="-moz-grabbin",D.container.style.cursor="-webkit-grabbing"),X||(X=D.touches.current),Z||(Z=(new Date).getTime()),D.velocity=(D.touches.current-X)/((new Date).getTime()-Z)/2,Math.abs(D.touches.current-X)<2&&(D.velocity=0),X=D.touches.current,Z=(new Date).getTime(),D.callPlugins("onTouchMoveEnd"),t.onTouchMove&&D.fireCallback(t.onTouchMove,D,e),!1}}}function v(e){if(N&&D.swipeReset(),!t.onlyExternal&&D.isTouched){D.isTouched=!1,t.grabCursor&&(D.container.style.cursor="move",D.container.style.cursor="grab",D.container.style.cursor="-moz-grab",D.container.style.cursor="-webkit-grab"),D.positions.current||0===D.positions.current||(D.positions.current=D.positions.start),t.followFinger&&D.setWrapperTranslate(D.positions.current),D.times.end=(new Date).getTime(),D.touches.diff=D.touches.current-D.touches.start,D.touches.abs=Math.abs(D.touches.diff),D.positions.diff=D.positions.current-D.positions.start,D.positions.abs=Math.abs(D.positions.diff);var n=D.positions.diff,r=D.positions.abs,o=D.times.end-D.times.start;5>r&&300>o&&D.allowLinks===!1&&(t.freeMode||0===r||D.swipeReset(),t.preventLinks&&(D.allowLinks=!0),t.onSlideClick&&(D.allowSlideClick=!0)),setTimeout(function(){t.preventLinks&&(D.allowLinks=!0),t.onSlideClick&&(D.allowSlideClick=!0)},100);var a=i();if(!D.isMoved&&t.freeMode)return D.isMoved=!1,t.onTouchEnd&&D.fireCallback(t.onTouchEnd,D,e),D.callPlugins("onTouchEnd"),void 0;if(!D.isMoved||D.positions.current>0||D.positions.current<-a)return D.swipeReset(),t.onTouchEnd&&D.fireCallback(t.onTouchEnd,D,e),D.callPlugins("onTouchEnd"),void 0;if(D.isMoved=!1,t.freeMode){if(t.freeModeFluid){var s,l=1e3*t.momentumRatio,u=D.velocity
125*l,c=D.positions.current+u,d=!1,f=20*Math.abs(D.velocity)*t.momentumBounceRatio;-a>c&&(t.momentumBounce&&D.support.transitions?(-f>c+a&&(c=-a-f),s=-a,d=!0,K=!0):c=-a),c>0&&(t.momentumBounce&&D.support.transitions?(c>f&&(c=f),s=0,d=!0,K=!0):c=0),0!==D.velocity&&(l=Math.abs((c-D.positions.current)/D.velocity)),D.setWrapperTranslate(c),D.setWrapperTransition(l),t.momentumBounce&&d&&D.wrapperTransitionEnd(function(){K&&(t.onMomentumBounce&&D.fireCallback(t.onMomentumBounce,D),D.callPlugins("onMomentumBounce"),D.setWrapperTranslate(s),D.setWrapperTransition(300))}),D.updateActiveSlide(c)}return(!t.freeModeFluid||o>=300)&&D.updateActiveSlide(D.positions.current),t.onTouchEnd&&D.fireCallback(t.onTouchEnd,D,e),D.callPlugins("onTouchEnd"),void 0}A=0>n?"toNext":"toPrev","toNext"===A&&300>=o&&(30>r||!t.shortSwipes?D.swipeReset():D.swipeNext(!0)),"toPrev"===A&&300>=o&&(30>r||!t.shortSwipes?D.swipeReset():D.swipePrev(!0));var p=0;if("auto"===t.slidesPerView){for(var h,m=Math.abs(D.getWrapperTranslate()),g=0,v=0;v<D.slides.length;v++)if(h=I?D.slides[v].getWidth(!0,t.roundLengths):D.slides[v].getHeight(!0,t.roundLengths),g+=h,g>m){p=h;break}p>P&&(p=P)}else p=L*t.slidesPerView;"toNext"===A&&o>300&&(r>=p*t.longSwipesRatio?D.swipeNext(!0):D.swipeReset()),"toPrev"===A&&o>300&&(r>=p*t.longSwipesRatio?D.swipePrev(!0):D.swipeReset()),t.onTouchEnd&&D.fireCallback(t.onTouchEnd,D,e),D.callPlugins("onTouchEnd")}}function y(e){var n=!1;do e.className.indexOf(t.noSwipingClass)>-1&&(n=!0),e=e.parentElement;while(!n&&e.parentElement&&-1===e.className.indexOf(t.wrapperClass));return!n&&e.className.indexOf(t.wrapperClass)>-1&&e.className.indexOf(t.noSwipingClass)>-1&&(n=!0),n}function w(e,t){var n,r=document.createElement("div");return r.innerHTML=t,n=r.firstChild,n.className+=" "+e,n.outerHTML}function b(e,n,r){function i(){var o=+new Date,d=o-a;s+=l*d/(1e3/60),c="toNext"===u?s>e:e>s,c?(D.setWrapperTranslate(Math.round(s)),D._DOMAnimating=!0,window.setTimeout(function(){i()},1e3/60)):(t.onSlideChangeEnd&&("to"===n?r.runCallbacks===!0&&D.fireCallback(t.onSlideChangeEnd,D):D.fireCallback(t.onSlideChangeEnd,D)),D.setWrapperTranslate(e),D._DOMAnimating=!1)}var o="to"===n&&r.speed>=0?r.speed:t.speed,a=+new Date;if(D.support.transitions||!t.DOMAnimation)D.setWrapperTranslate(e),D.setWrapperTransition(o);else{var s=D.getWrapperTranslate(),l=Math.ceil((e-s)/o*(1e3/60)),u=s>e?"toNext":"toPrev",c="toNext"===u?s>e:e>s;if(D._DOMAnimating)return;i()}D.updateActiveSlide(e),t.onSlideNext&&"next"===n&&D.fireCallback(t.onSlideNext,D,e),t.onSlidePrev&&"prev"===n&&D.fireCallback(t.onSlidePrev,D,e),t.onSlideReset&&"reset"===n&&D.fireCallback(t.onSlideReset,D,e),("next"===n||"prev"===n||"to"===n&&r.runCallbacks===!0)&&x(n)}function x(e){if(D.callPlugins("onSlideChangeStart"),t.onSlideChangeStart)if(t.queueStartCallbacks&&D.support.transitions){if(D._queueStartCallbacks)return;D._queueStartCallbacks=!0,D.fireCallback(t.onSlideChangeStart,D,e),D.wrapperTransitionEnd(function(){D._queueStartCallbacks=!1})}else D.fireCallback(t.onSlideChangeStart,D,e);if(t.onSlideChangeEnd)if(D.support.transitions)if(t.queueEndCallbacks){if(D._queueEndCallbacks)return;D._queueEndCallbacks=!0,D.wrapperTransitionEnd(function(n){D.fireCallback(t.onSlideChangeEnd,n,e)})}else D.wrapperTransitionEnd(function(n){D.fireCallback(t.onSlideChangeEnd,n,e)});else t.DOMAnimation||setTimeout(function(){D.fireCallback(t.onSlideChangeEnd,D,e)},10)}function T(){var e=D.paginationButtons;if(e)for(var t=0;t<e.length;t++)D.h.removeEventListener(e[t],"click",k)}function C(){var e=D.paginationButtons;if(e)for(var t=0;t<e.length;t++)D.h.addEventListener(e[t],"click",k)}function k(e){for(var t,n=e.target||e.srcElement,r=D.paginationButtons,i=0;i<r.length;i++)n===r[i]&&(t=i);D.swipeTo(t)}function S(){J=setTimeout(function(){t.loop?(D.fixLoop(),D.swipeNext(!0)):D.swipeNext(!0)||(t.autoplayStopOnLast?(clearTimeout(J),J=void 0):D.swipeTo(0)),D.wrapperTransitionEnd(function(){"undefined"!=typeof J&&S()})},t.autoplay)}function _(){D.calcSlides(),t.loader.slides.length>0&&0===D.slides.length&&D.loadSlides(),t.loop&&D.createLoop(),D.init(),o(),t.pagination&&D.createPagination(!0),t.loop||t.initialSlide>0?D.swipeTo(t.initialSlide,0,!1):D.updateActiveSlide(0),t.autoplay&&D.startAutoplay(),D.centerIndex=D.activeIndex,t.onSwiperCreated&&D.fireCallback(t.onSwiperCreated,D),D.callPlugins("onSwiperCreated")}if(document.body.__defineGetter__&&HTMLElement){var E=HTMLElement.prototype;E.__defineGetter__&&E.__defineGetter__("outerHTML",function(){return(new XMLSerializer).serializeToString(this)})}if(window.getComputedStyle||(window.getComputedStyle=function(e){return this.el=e,this.getPropertyValue=function(t){var n=/(\-([a-z]){1})/g;return"float"===t&&(t="styleFloat"),n.test(t)&&(t=t.replace(n,function(){return arguments[2].toUpperCase()})),e.currentStyle[t]?e.currentStyle[t]:null},this}),Array.prototype.indexOf||(Array.prototype.indexOf=function(e,t){for(var n=t||0,r=this.length;r>n;n++)if(this[n]===e)return n;return-1}),(document.querySelectorAll||window.jQuery)&&"undefined"!=typeof e&&(e.nodeType||0!==n(e).length)){var D=this;D.touches={start:0,startX:0,startY:0,current:0,currentX:0,currentY:0,diff:0,abs:0},D.positions={start:0,abs:0,diff:0,current:0},D.times={start:0,end:0},D.id=(new Date).getTime(),D.container=e.nodeType?e:n(e)[0],D.isTouched=!1,D.isMoved=!1,D.activeIndex=0,D.centerIndex=0,D.activeLoaderIndex=0,D.activeLoopIndex=0,D.previousIndex=null,D.velocity=0,D.snapGrid=[],D.slidesGrid=[],D.imagesToLoad=[],D.imagesLoaded=0,D.wrapperLeft=0,D.wrapperRight=0,D.wrapperTop=0,D.wrapperBottom=0,D.isAndroid=navigator.userAgent.toLowerCase().indexOf("android")>=0;var M,L,$,A,N,P,O={eventTarget:"wrapper",mode:"horizontal",touchRatio:1,speed:300,freeMode:!1,freeModeFluid:!1,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,slidesPerView:1,slidesPerGroup:1,slidesPerViewFit:!0,simulateTouch:!0,followFinger:!0,shortSwipes:!0,longSwipesRatio:.5,moveStartThreshold:!1,onlyExternal:!1,createPagination:!0,pagination:!1,paginationElement:"span",paginationClickable:!1,paginationAsRange:!0,resistance:!0,scrollContainer:!1,preventLinks:!0,preventLinksPropagation:!1,noSwiping:!1,noSwipingClass:"swiper-no-swiping",initialSlide:0,keyboardControl:!1,mou
125sewheelControl:!1,mousewheelControlForceToAxis:!1,useCSS3Transforms:!0,autoplay:!1,autoplayDisableOnInteraction:!0,autoplayStopOnLast:!1,loop:!1,loopAdditionalSlides:0,roundLengths:!1,calculateHeight:!1,cssWidthAndHeight:!1,updateOnImagesReady:!0,releaseFormElements:!0,watchActiveIndex:!1,visibilityFullFit:!1,offsetPxBefore:0,offsetPxAfter:0,offsetSlidesBefore:0,offsetSlidesAfter:0,centeredSlides:!1,queueStartCallbacks:!1,queueEndCallbacks:!1,autoResize:!0,resizeReInit:!1,DOMAnimation:!0,loader:{slides:[],slidesHTMLType:"inner",surroundGroups:1,logic:"reload",loadAllSlides:!1},slideElement:"div",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",wrapperClass:"swiper-wrapper",paginationElementClass:"swiper-pagination-switch",paginationActiveClass:"swiper-active-switch",paginationVisibleClass:"swiper-visible-switch"};t=t||{};for(var j in O)if(j in t&&"object"==typeof t[j])for(var H in O[j])H in t[j]||(t[j][H]=O[j][H]);else j in t||(t[j]=O[j]);D.params=t,t.scrollContainer&&(t.freeMode=!0,t.freeModeFluid=!0),t.loop&&(t.resistance="100%");var I="horizontal"===t.mode,F=["mousedown","mousemove","mouseup"];D.browser.ie10&&(F=["MSPointerDown","MSPointerMove","MSPointerUp"]),D.browser.ie11&&(F=["pointerdown","pointermove","pointerup"]),D.touchEvents={touchStart:D.support.touch||!t.simulateTouch?"touchstart":F[0],touchMove:D.support.touch||!t.simulateTouch?"touchmove":F[1],touchEnd:D.support.touch||!t.simulateTouch?"touchend":F[2]};for(var W=D.container.childNodes.length-1;W>=0;W--)if(D.container.childNodes[W].className)for(var z=D.container.childNodes[W].className.split(/\s+/),R=0;R<z.length;R++)z[R]===t.wrapperClass&&(M=D.container.childNodes[W]);D.wrapper=M,D._extendSwiperSlide=function(e){return e.append=function(){return t.loop?e.insertAfter(D.slides.length-D.loopedSlides):(D.wrapper.appendChild(e),D.reInit()),e},e.prepend=function(){return t.loop?(D.wrapper.insertBefore(e,D.slides[D.loopedSlides]),D.removeLoopedSlides(),D.calcSlides(),D.createLoop()):D.wrapper.insertBefore(e,D.wrapper.firstChild),D.reInit(),e},e.insertAfter=function(n){if("undefined"==typeof n)return!1;var r;return t.loop?(r=D.slides[n+1+D.loopedSlides],r?D.wrapper.insertBefore(e,r):D.wrapper.appendChild(e),D.removeLoopedSlides(),D.calcSlides(),D.createLoop()):(r=D.slides[n+1],D.wrapper.insertBefore(e,r)),D.reInit(),e},e.clone=function(){return D._extendSwiperSlide(e.cloneNode(!0))},e.remove=function(){D.wrapper.removeChild(e),D.reInit()},e.html=function(t){return"undefined"==typeof t?e.innerHTML:(e.innerHTML=t,e)},e.index=function(){for(var t,n=D.slides.length-1;n>=0;n--)e===D.slides[n]&&(t=n);return t},e.isActive=function(){return e.index()===D.activeIndex?!0:!1},e.swiperSlideDataStorage||(e.swiperSlideDataStorage={}),e.getData=function(t){return e.swiperSlideDataStorage[t]},e.setData=function(t,n){return e.swiperSlideDataStorage[t]=n,e},e.data=function(t,n){return"undefined"==typeof n?e.getAttribute("data-"+t):(e.setAttribute("data-"+t,n),e)},e.getWidth=function(t,n){return D.h.getWidth(e,t,n)},e.getHeight=function(t,n){return D.h.getHeight(e,t,n)},e.getOffset=function(){return D.h.getOffset(e)},e},D.calcSlides=function(e){var n=D.slides?D.slides.length:!1;D.slides=[],D.displaySlides=[];for(var r=0;r<D.wrapper.childNodes.length;r++)if(D.wrapper.childNodes[r].className)for(var i=D.wrapper.childNodes[r].className,o=i.split(/\s+/),l=0;l<o.length;l++)o[l]===t.slideClass&&D.slides.push(D.wrapper.childNodes[r]);for(r=D.slides.length-1;r>=0;r--)D._extendSwiperSlide(D.slides[r]);n!==!1&&(n!==D.slides.length||e)&&(s(),a(),D.updateActiveSlide(),D.params.pagination&&D.createPagination(),D.callPlugins("numberOfSlidesChanged"))},D.createSlide=function(e,n,r){n=n||D.params.slideClass,r=r||t.slideElement;var i=document.createElement(r);return i.innerHTML=e||"",i.className=n,D._extendSwiperSlide(i)},D.appendSlide=function(e,t,n){return e?e.nodeType?D._extendSwiperSlide(e).append():D.createSlide(e,t,n).append():void 0},D.prependSlide=function(e,t,n){return e?e.nodeType?D._extendSwiperSlide(e).prepend():D.createSlide(e,t,n).prepend():void 0},D.insertSlideAfter=function(e,t,n,r){return"undefined"==typeof e?!1:t.nodeType?D._extendSwiperSlide(t).insertAfter(e):D.createSlide(t,n,r).insertAfter(e)},D.removeSlide=function(e){if(D.slides[e]){if(t.loop){if(!D.slides[e+D.loopedSlides])return!1;D.slides[e+D.loopedSlides].remove(),D.removeLoopedSlides(),D.calcSlides(),D.createLoop()}else D.slides[e].remove();return!0}return!1},D.removeLastSlide=function(){return D.slides.length>0?(t.loop?(D.slides[D.slides.length-1-D.loopedSlides].remove(),D.removeLoopedSlides(),D.calcSlides(),D.createLoop()):D.slides[D.slides.length-1].remove(),!0):!1},D.removeAllSlides=function(){for(var e=D.slides.length-1;e>=0;e--)D.slides[e].remove()},D.getSlide=function(e){return D.slides[e]},D.getLastSlide=function(){return D.slides[D.slides.length-1]},D.getFirstSlide=function(){return D.slides[0]},D.activeSlide=function(){return D.slides[D.activeIndex]},D.fireCallback=function(){var e=arguments[0];if("[object Array]"===Object.prototype.toString.call(e))for(var n=0;n<e.length;n++)"function"==typeof e[n]&&e[n](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);else"[object String]"===Object.prototype.toString.call(e)?t["on"+e]&&D.fireCallback(t["on"+e],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]):e(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},D.addCallback=function(e,t){var n,i=this;return i.params["on"+e]?r(this.params["on"+e])?this.params["on"+e].push(t):"function"==typeof this.params["on"+e]?(n=this.params["on"+e],this.params["on"+e]=[],this.params["on"+e].push(n),this.params["on"+e].push(t)):void 0:(this.params["on"+e]=[],this.params["on"+e].push(t))},D.removeCallbacks=function(e){D.params["on"+e]&&(D.params["on"+e]=null)};var B=[];for(var Y in D.plugins)if(t[Y]){var q=D.plugins[Y](D,t[Y]);q&&B.push(q)}D.callPlugins=function(e,t){t||(t={});for(var n=0;n<B.length;n++)e in B[n]&&B[n][e](t)},!D.browser.ie10&&!D.browser.ie11||t.onlyExternal||D.wrapper.classList.add("swiper-wp8-"+(I?"horizontal":"vertical")),t.freeMode&&(D.container.className+=" swiper-free-mode"),D.initialized=!1,D.init=function(e,n){var r=D.h.getWidth(D.container,!1,t.roundLengths),i=D.h.getHeight(D.container,!1,t.roundLengths);if(r!==D.width||i!==D.height||e){D.width=r,D.height=i;var o,a,s,l,u,c,d;P=I?r:i;var f=D.wrapper;if(e&&D.calcSlides(n),"auto"===t.slidesPerView){var p=0,h=0;t.slidesOffset>0&&(f.style.paddingLeft="",f.style.paddingRight="",f.style.paddingTop="",f.style.paddingBottom=""),f.style.width="",f.style.height="",t.offsetPxBefore>0&&(I?D.wrapperLeft=t.offsetPxBefore:D.wrapperTop=t.offsetPxBefore),t.offsetPxAfter>0&&(I?D.wrapperRight=t.offsetPxAfter:D.wrapperBottom=t.offsetPxAfter),t.centeredSlides&&(I?(D.wrapperLeft=(P-this.slides[0].getWidth(!0,t.roundLengths))/2,D.wrapperRight=(P-D.slides[D.slides.length-1].getWidth(!0,t.roundLengths))/2):(D.wrapperTop=(P-D.slides[0].getHeight(!0,t.roundLengths))/2,D.wrapperBottom=(P-D.slides[D.slides.length-1].getHeight(!0,t.roundLengths))/2)),I?(D.wrapperLeft>=0&&(f.style.paddingLeft=D.wrapperLeft+"px"),D.wrapperRight>=0&&(f.style.paddingRight=D.wrapperRight+"px")):(D.wrapperTop>=0&&(f.style.paddingTop=D.wrapperTop+"px"),D.wrapperBottom>=0&&(f.style.paddingBottom=D.wrapperBottom+"px")),c=0;var m=0;for(D.snapGrid=[],D.slidesGrid=[],s=0,d=0;d<D.slides.length;d++){o=D.slides[d].getWidth(!0,t.roundLengths),a=D.slides[d].getHeight(!0,t.roundLengths),t.calculateHeight&&(s=Math.max(s,a));var g=I?o:a;if(t.centeredSlides){var v=d===D.slides.length-1?0:D.slides[d+1].getWidth(!0,t.roundLengths),y=d===D.slides.length-1?0:D.slides[d+1].getHeight(!0,t.roundLengths),w=I?v:y;if(g>P){if(t.slidesPerViewFit)D.snapGrid.push(c+D.wrapperLeft),D.snapGrid.push(c+g-P+D.wrapperLeft);else for(var b=0;b<=Math.floor(g/(P+D.wrapperLeft));b++)0===b?D.snapGrid.push(c+D.wrapperLeft):D.snapGrid.push(c+D.wrapperLeft+P*b);D.slidesGrid.push(c+D.wrapperLeft)}else D.snapGrid.push(m),D.slidesGrid.push(m);m+=g/2+w/2}else{if(g>P)if(t.slidesPerViewFit)D.snapGrid.push(c),D.snapGrid.push(c+g-P);else if(0!==P)for(var x=0;x<=Math.floor(g/P);x++)D.snapGrid.push(c+P*x);else D.snapGrid.push(c);else D.snapGrid.push(c);D.slidesGrid.push(c)}c+=g,p+=o,h+=a}t.calculateHeight&&(D.height=s),I?($=p+D.wrapperRight+D.wrapperLeft,f.style.width=p+"px",f.style.height=D.height+"px"):($=h+D.wrapperTop+D.wrapperBottom,f.style.width=D.width+"px",f.style.height=h+"px")}
125else if(t.scrollContainer)f.style.width="",f.style.height="",l=D.slides[0].getWidth(!0,t.roundLengths),u=D.slides[0].getHeight(!0,t.roundLengths),$=I?l:u,f.style.width=l+"px",f.style.height=u+"px",L=I?l:u;else{if(t.calculateHeight){for(s=0,u=0,I||(D.container.style.height=""),f.style.height="",d=0;d<D.slides.length;d++)D.slides[d].style.height="",s=Math.max(D.slides[d].getHeight(!0),s),I||(u+=D.slides[d].getHeight(!0));a=s,D.height=a,I?u=a:(P=a,D.container.style.height=P+"px")}else a=I?D.height:D.height/t.slidesPerView,t.roundLengths&&(a=Math.round(a)),u=I?D.height:D.slides.length*a;for(o=I?D.width/t.slidesPerView:D.width,t.roundLengths&&(o=Math.round(o)),l=I?D.slides.length*o:D.width,L=I?o:a,t.offsetSlidesBefore>0&&(I?D.wrapperLeft=L*t.offsetSlidesBefore:D.wrapperTop=L*t.offsetSlidesBefore),t.offsetSlidesAfter>0&&(I?D.wrapperRight=L*t.offsetSlidesAfter:D.wrapperBottom=L*t.offsetSlidesAfter),t.offsetPxBefore>0&&(I?D.wrapperLeft=t.offsetPxBefore:D.wrapperTop=t.offsetPxBefore),t.offsetPxAfter>0&&(I?D.wrapperRight=t.offsetPxAfter:D.wrapperBottom=t.offsetPxAfter),t.centeredSlides&&(I?(D.wrapperLeft=(P-L)/2,D.wrapperRight=(P-L)/2):(D.wrapperTop=(P-L)/2,D.wrapperBottom=(P-L)/2)),I?(D.wrapperLeft>0&&(f.style.paddingLeft=D.wrapperLeft+"px"),D.wrapperRight>0&&(f.style.paddingRight=D.wrapperRight+"px")):(D.wrapperTop>0&&(f.style.paddingTop=D.wrapperTop+"px"),D.wrapperBottom>0&&(f.style.paddingBottom=D.wrapperBottom+"px")),$=I?l+D.wrapperRight+D.wrapperLeft:u+D.wrapperTop+D.wrapperBottom,t.cssWidthAndHeight||(parseFloat(l)>0&&(f.style.width=l+"px"),parseFloat(u)>0&&(f.style.height=u+"px")),c=0,D.snapGrid=[],D.slidesGrid=[],d=0;d<D.slides.length;d++)D.snapGrid.push(c),D.slidesGrid.push(c),c+=L,t.cssWidthAndHeight||(parseFloat(o)>0&&(D.slides[d].style.width=o+"px"),parseFloat(a)>0&&(D.slides[d].style.height=a+"px"))}D.initialized?(D.callPlugins("onInit"),t.onInit&&D.fireCallback(t.onInit,D)):(D.callPlugins("onFirstInit"),t.onFirstInit&&D.fireCallback(t.onFirstInit,D)),D.initialized=!0}},D.reInit=function(e){D.init(!0,e)},D.resizeFix=function(e){D.callPlugins("beforeResizeFix"),D.init(t.resizeReInit||e),t.freeMode?D.getWrapperTranslate()<-i()&&(D.setWrapperTransition(0),D.setWrapperTranslate(-i())):(D.swipeTo(t.loop?D.activeLoopIndex:D.activeIndex,0,!1),t.autoplay&&(D.support.transitions&&"undefined"!=typeof J?"undefined"!=typeof J&&(clearTimeout(J),J=void 0,D.startAutoplay()):"undefined"!=typeof et&&(clearInterval(et),et=void 0,D.startAutoplay()))),D.callPlugins("afterResizeFix")},D.destroy=function(){var e=D.h.removeEventListener,n="wrapper"===t.eventTarget?D.wrapper:D.container;D.browser.ie10||D.browser.ie11?(e(n,D.touchEvents.touchStart,m),e(document,D.touchEvents.touchMove,g),e(document,D.touchEvents.touchEnd,v)):(D.support.touch&&(e(n,"touchstart",m),e(n,"touchmove",g),e(n,"touchend",v)),t.simulateTouch&&(e(n,"mousedown",m),e(document,"mousemove",g),e(document,"mouseup",v))),t.autoResize&&e(window,"resize",D.resizeFix),s(),t.paginationClickable&&T(),t.mousewheelControl&&D._wheelEvent&&e(D.container,D._wheelEvent,u),t.keyboardControl&&e(document,"keydown",l),t.autoplay&&D.stopAutoplay(),D.callPlugins("onDestroy"),D=null},D.disableKeyboardControl=function(){t.keyboardControl=!1,D.h.removeEventListener(document,"keydown",l)},D.enableKeyboardControl=function(){t.keyboardControl=!0,D.h.addEventListener(document,"keydown",l)};var G=(new Date).getTime();if(D.disableMousewheelControl=function(){return D._wheelEvent?(t.mousewheelControl=!1,D.h.removeEventListener(D.container,D._wheelEvent,u),!0):!1},D.enableMousewheelControl=function(){return D._wheelEvent?(t.mousewheelControl=!0,D.h.addEventListener(D.container,D._wheelEvent,u),!0):!1},t.grabCursor){var V=D.container.style;V.cursor="move",V.cursor="grab",V.cursor="-moz-grab",V.cursor="-webkit-grab"}D.allowSlideClick=!0,D.allowLinks=!0;var U,X,Z,Q=!1,K=!0;D.swipeNext=function(e){!e&&t.loop&&D.fixLoop(),!e&&t.autoplay&&D.stopAutoplay(!0),D.callPlugins("onSwipeNext");var n=D.getWrapperTranslate(),r=n;if("auto"===t.slidesPerView){for(var o=0;o<D.snapGrid.length;o++)if(-n>=D.snapGrid[o]&&-n<D.snapGrid[o+1]){r=-D.snapGrid[o+1];break}}else{var a=L*t.slidesPerGroup;r=-(Math.floor(Math.abs(n)/Math.floor(a))*a+a)}return r<-i()&&(r=-i()),r===n?!1:(b(r,"next"),!0)},D.swipePrev=function(e){!e&&t.loop&&D.fixLoop(),!e&&t.autoplay&&D.stopAutoplay(!0),D.callPlugins("onSwipePrev");var n,r=Math.ceil(D.getWrapperTranslate());if("auto"===t.slidesPerView){n=0;for(var i=1;i<D.snapGrid.length;i++){if(-r===D.snapGrid[i]){n=-D.snapGrid[i-1];break}if(-r>D.snapGrid[i]&&-r<D.snapGrid[i+1]){n=-D.snapGrid[i];break}}}else{var o=L*t.slidesPerGroup;n=-(Math.ceil(-r/o)-1)*o}return n>0&&(n=0),n===r?!1:(b(n,"prev"),!0)},D.swipeReset=function(){D.callPlugins("onSwipeReset");{var e,n=D.getWrapperTranslate(),r=L*t.slidesPerGroup;-i()}if("auto"===t.slidesPerView){e=0;for(var o=0;o<D.snapGrid.length;o++){if(-n===D.snapGrid[o])return;if(-n>=D.snapGrid[o]&&-n<D.snapGrid[o+1]){e=D.positions.diff>0?-D.snapGrid[o+1]:-D.snapGrid[o];break}}-n>=D.snapGrid[D.snapGrid.length-1]&&(e=-D.snapGrid[D.snapGrid.length-1]),n<=-i()&&(e=-i())}else e=0>n?Math.round(n/r)*r:0;
125return t.scrollContainer&&(e=0>n?n:0),e<-i()&&(e=-i()),t.scrollContainer&&P>L&&(e=0),e===n?!1:(b(e,"reset"),!0)},D.swipeTo=function(e,n,r){e=parseInt(e,10),D.callPlugins("onSwipeTo",{index:e,speed:n}),t.loop&&(e+=D.loopedSlides);var o=D.getWrapperTranslate();if(!(e>D.slides.length-1||0>e)){var a;return a="auto"===t.slidesPerView?-D.slidesGrid[e]:-e*L,a<-i()&&(a=-i()),a===o?!1:(r=r===!1?!1:!0,b(a,"to",{index:e,speed:n,runCallbacks:r}),!0)}},D._queueStartCallbacks=!1,D._queueEndCallbacks=!1,D.updateActiveSlide=function(e){if(D.initialized&&0!==D.slides.length){D.previousIndex=D.activeIndex,"undefined"==typeof e&&(e=D.getWrapperTranslate()),e>0&&(e=0);var n;if("auto"===t.slidesPerView){if(D.activeIndex=D.slidesGrid.indexOf(-e),D.activeIndex<0){for(n=0;n<D.slidesGrid.length-1&&!(-e>D.slidesGrid[n]&&-e<D.slidesGrid[n+1]);n++);var r=Math.abs(D.slidesGrid[n]+e),i=Math.abs(D.slidesGrid[n+1]+e);D.activeIndex=i>=r?n:n+1}}else D.activeIndex=Math[t.visibilityFullFit?"ceil":"round"](-e/L);if(D.activeIndex===D.slides.length&&(D.activeIndex=D.slides.length-1),D.activeIndex<0&&(D.activeIndex=0),D.slides[D.activeIndex]){if(D.calcVisibleSlides(e),D.support.classList){var o;for(n=0;n<D.slides.length;n++)o=D.slides[n],o.classList.remove(t.slideActiveClass),D.visibleSlides.indexOf(o)>=0?o.classList.add(t.slideVisibleClass):o.classList.remove(t.slideVisibleClass);D.slides[D.activeIndex].classList.add(t.slideActiveClass)}else{var a=new RegExp("\\s*"+t.slideActiveClass),s=new RegExp("\\s*"+t.slideVisibleClass);for(n=0;n<D.slides.length;n++)D.slides[n].className=D.slides[n].className.replace(a,"").replace(s,""),D.visibleSlides.indexOf(D.slides[n])>=0&&(D.slides[n].className+=" "+t.slideVisibleClass);D.slides[D.activeIndex].className+=" "+t.slideActiveClass}if(t.loop){var l=D.loopedSlides;D.activeLoopIndex=D.activeIndex-l,D.activeLoopIndex>=D.slides.length-2*l&&(D.activeLoopIndex=D.slides.length-2*l-D.activeLoopIndex),D.activeLoopIndex<0&&(D.activeLoopIndex=D.slides.length-2*l+D.activeLoopIndex),D.activeLoopIndex<0&&(D.activeLoopIndex=0)}else D.activeLoopIndex=D.activeIndex;t.pagination&&D.updatePagination(e)}}},D.createPagination=function(e){if(t.paginationClickable&&D.paginationButtons&&T(),D.paginationContainer=t.pagination.nodeType?t.pagination:n(t.pagination)[0],t.createPagination){var r="",i=D.slides.length,o=i;t.loop&&(o-=2*D.loopedSlides);for(var a=0;o>a;a++)r+="<"+t.paginationElement+' class="'+t.paginationElementClass+'"></'+t.paginationElement+">";D.paginationContainer.innerHTML=r}D.paginationButtons=n("."+t.paginationElementClass,D.paginationContainer),e||D.updatePagination(),D.callPlugins("onCreatePagination"),t.paginationClickable&&C()},D.updatePagination=function(e){if(t.pagination&&!(D.slides.length<1)){var r=n("."+t.paginationActiveClass,D.paginationContainer);if(r){var i=D.paginationButtons;if(0!==i.length){for(var o=0;o<i.length;o++)i[o].className=t.paginationElementClass;var a=t.loop?D.loopedSlides:0;if(t.paginationAsRange){D.visibleSlides||D.calcVisibleSlides(e);var s,l=[];for(s=0;s<D.visibleSlides.length;s++){var u=D.slides.indexOf(D.visibleSlides[s])-a;t.loop&&0>u&&(u=D.slides.length-2*D.loopedSlides+u),t.loop&&u>=D.slides.length-2*D.loopedSlides&&(u=D.slides.length-2*D.loopedSlides-u,u=Math.abs(u)),l.push(u)}for(s=0;s<l.length;s++)i[l[s]]&&(i[l[s]].className+=" "+t.paginationVisibleClass);t.loop?void 0!==i[D.activeLoopIndex]&&(i[D.activeLoopIndex].className+=" "+t.paginationActiveClass):i[D.activeIndex].className+=" "+t.paginationActiveClass
126}else t.loop?i[D.activeLoopIndex]&&(i[D.activeLoopIndex].className+=" "+t.paginationActiveClass+" "+t.paginationVisibleClass):i[D.activeIndex].className+=" "+t.paginationActiveClass+" "+t.paginationVisibleClass}}}},D.calcVisibleSlides=function(e){var n=[],r=0,i=0,o=0;I&&D.wrapperLeft>0&&(e+=D.wrapperLeft),!I&&D.wrapperTop>0&&(e+=D.wrapperTop);for(var a=0;a<D.slides.length;a++){r+=i,i="auto"===t.slidesPerView?I?D.h.getWidth(D.slides[a],!0,t.roundLengths):D.h.getHeight(D.slides[a],!0,t.roundLengths):L,o=r+i;var s=!1;t.visibilityFullFit?(r>=-e&&-e+P>=o&&(s=!0),-e>=r&&o>=-e+P&&(s=!0)):(o>-e&&-e+P>=o&&(s=!0),r>=-e&&-e+P>r&&(s=!0),-e>r&&o>-e+P&&(s=!0)),s&&n.push(D.slides[a])}0===n.length&&(n=[D.slides[D.activeIndex]]),D.visibleSlides=n};var J,et;D.startAutoplay=function(){if(D.support.transitions){if("undefined"!=typeof J)return!1;if(!t.autoplay)return;D.callPlugins("onAutoplayStart"),t.onAutoplayStart&&D.fireCallback(t.onAutoplayStart,D),S()}else{if("undefined"!=typeof et)return!1;if(!t.autoplay)return;D.callPlugins("onAutoplayStart"),t.onAutoplayStart&&D.fireCallback(t.onAutoplayStart,D),et=setInterval(function(){t.loop?(D.fixLoop(),D.swipeNext(!0)):D.swipeNext(!0)||(t.auto
126playStopOnLast?(clearInterval(et),et=void 0):D.swipeTo(0))},t.autoplay)}},D.stopAutoplay=function(e){if(D.support.transitions){if(!J)return;J&&clearTimeout(J),J=void 0,e&&!t.autoplayDisableOnInteraction&&D.wrapperTransitionEnd(function(){S()}),D.callPlugins("onAutoplayStop"),t.onAutoplayStop&&D.fireCallback(t.onAutoplayStop,D)}else et&&clearInterval(et),et=void 0,D.callPlugins("onAutoplayStop"),t.onAutoplayStop&&D.fireCallback(t.onAutoplayStop,D)},D.loopCreated=!1,D.removeLoopedSlides=function(){if(D.loopCreated)for(var e=0;e<D.slides.length;e++)D.slides[e].getData("looped")===!0&&D.wrapper.removeChild(D.slides[e])},D.createLoop=function(){if(0!==D.slides.length){D.loopedSlides="auto"===t.slidesPerView?t.loopedSlides||1:t.slidesPerView+t.loopAdditionalSlides,D.loopedSlides>D.slides.length&&(D.loopedSlides=D.slides.length);var e,n="",r="",i="",o=D.slides.length,a=Math.floor(D.loopedSlides/o),s=D.loopedSlides%o;for(e=0;a*o>e;e++){var l=e;if(e>=o){var u=Math.floor(e/o);l=e-o*u}i+=D.slides[l].outerHTML}for(e=0;s>e;e++)r+=w(t.slideDuplicateClass,D.slides[e].outerHTML);for(e=o-s;o>e;e++)n+=w(t.slideDuplicateClass,D.slides[e].outerHTML);var c=n+i+M.innerHTML+i+r;for(M.innerHTML=c,D.loopCreated=!0,D.calcSlides(),e=0;e<D.slides.length;e++)(e<D.loopedSlides||e>=D.slides.length-D.loopedSlides)&&D.slides[e].setData("looped",!0);D.callPlugins("onCreateLoop")}},D.fixLoop=function(){var e;D.activeIndex<D.loopedSlides?(e=D.slides.length-3*D.loopedSlides+D.activeIndex,D.swipeTo(e,0,!1)):("auto"===t.slidesPerView&&D.activeIndex>=2*D.loopedSlides||D.activeIndex>D.slides.length-2*t.slidesPerView)&&(e=-D.slides.length+D.activeIndex+D.loopedSlides,D.swipeTo(e,0,!1))},D.loadSlides=function(){var e="";D.activeLoaderIndex=0;for(var n=t.loader.slides,r=t.loader.loadAllSlides?n.length:t.slidesPerView*(1+t.loader.surroundGroups),i=0;r>i;i++)e+="outer"===t.loader.slidesHTMLType?n[i]:"<"+t.slideElement+' class="'+t.slideClass+'" data-swiperindex="'+i+'">'+n[i]+"</"+t.slideElement+">";D.wrapper.innerHTML=e,D.calcSlides(!0),t.loader.loadAllSlides||D.wrapperTransitionEnd(D.reloadSlides,!0)},D.reloadSlides=function(){var e=t.loader.slides,n=parseInt(D.activeSlide().data("swiperindex"),10);if(!(0>n||n>e.length-1)){D.activeLoaderIndex=n;var r=Math.max(0,n-t.slidesPerView*t.loader.surroundGroups),i=Math.min(n+t.slidesPerView*(1+t.loader.surroundGroups)-1,e.length-1);if(n>0){var o=-L*(n-r);D.setWrapperTranslate(o),D.setWrapperTransition(0)}var a;if("reload"===t.loader.logic){D.wrapper.innerHTML="";var s="";for(a=r;i>=a;a++)s+="outer"===t.loader.slidesHTMLType?e[a]:"<"+t.slideElement+' class="'+t.slideClass+'" data-swiperindex="'+a+'">'+e[a]+"</"+t.slideElement+">";D.wrapper.innerHTML=s}else{var l=1e3,u=0;for(a=0;a<D.slides.length;a++){var c=D.slides[a].data("swiperindex");r>c||c>i?D.wrapper.removeChild(D.slides[a]):(l=Math.min(c,l),u=Math.max(c,u))}for(a=r;i>=a;a++){var d;l>
126a&&(d=document.createElement(t.slideElement),d.className=t.slideClass,d.setAttribute("data-swiperindex",a),d.innerHTML=e[a],D.wrapper.insertBefore(d,D.wrapper.firstChild)),a>u&&(d=document.createElement(t.slideElement),d.className=t.slideClass,d.setAttribute("data-swiperindex",a),d.innerHTML=e[a],D.wrapper.appendChild(d))}}D.reInit(!0)}},_()}};Swiper.prototype={plugins:{},wrapperTransitionEnd:function(e,t){"use strict";function n(){if(e(i),i.params.queueEndCallbacks&&(i._queueEndCallbacks=!1),!t)for(r=0;r<a.length;r++)i.h.removeEventListener(o,a[r],n)}var r,i=this,o=i.wrapper,a=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"];if(e)for(r=0;r<a.length;r++)i.h.addEventListener(o,a[r],n)},getWrapperTranslate:function(e){"use strict";var t,n,r,i,o=this.wrapper;return"undefined"==typeof e&&(e="horizontal"===this.params.mode?"x":"y"),this.support.transforms&&this.params.useCSS3Transforms?(r=window.getComputedStyle(o,null),window.WebKitCSSMatrix?i=new WebKitCSSMatrix("none"===r.webkitTransform?"":r.webkitTransform):(i=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),t=i.toString().split(",")),"x"===e&&(n=window.WebKitCSSMatrix?i.m41:16===t.length?parseFloat(t[12]):parseFloat(t[4])),"y"===e&&(n=window.WebKitCSSMatrix?i.m42:16===t.length?parseFloat(t[13]):parseFloat(t[5]))):("x"===e&&(n=parseFloat(o.style.left,10)||0),"y"===e&&(n=parseFloat(o.style.top,10)||0)),n||0},setWrapperTranslate:function(e,t,n){"use strict";var r,i=this.wrapper.style,o={x:0,y:0,z:0};3===arguments.length?(o.x=e,o.y=t,o.z=n):("undefined"==typeof t&&(t="horizontal"===this.params.mode?"x":"y"),o[t]=e),this.support.transforms&&this.params.useCSS3Transforms?(r=this.support.transforms3d?"translate3d("+o.x+"px, "+o.y+"px, "+o.z+"px)":"translate("+o.x+"px, "+o.y+"px)",i.webkitTransform=i.MsTransform=i.msTransform=i.MozTransform=i.OTransform=i.transform=r):(i.left=o.x+"px",i.top=o.y+"px"),this.callPlugins("onSetWrapperTransform",o),this.params.onSetWrapperTransform&&this.fireCallback(this.params.onSetWrapperTransform,this,o)},setWrapperTransition:function(e){"use strict";var t=this.wrapper.style;t.webkitTransitionDuration=t.MsTransitionDuration=t.msTransitionDuration=t.MozTransitionDuration=t.OTransitionDuration=t.transitionDuration=e/1e3+"s",this.callPlugins("onSetWrapperTransition",{duration:e}),this.params.onSetWrapperTransition&&this.fireCallback(this.params.onSetWrapperTransition,this,e)},h:{getWidth:function(e,t,n){"use strict";var r=window.getComputedStyle(e,null).getPropertyValue("width"),i=parseFloat(r);return(isNaN(i)||r.indexOf("%")>0)&&(i=e.offsetWidth-parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-left"))-parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-right"))),t&&(i+=parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-left"))+parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-right"))),n?Math.round(i):i},getHeight:function(e,t,n){"use strict";if(t)return e.offsetHeight;var r=window.getComputedStyle(e,null).getPropertyValue("height"),i=parseFloat(r);return(isNaN(i)||r.indexOf("%")>0)&&(i=e.offsetHeight-parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-top"))-parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-bottom"))),t&&(i+=parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-top"))+parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-bottom"))),n?Math.round(i):i},getOffset:function(e){"use strict";var t=e.getBoundingClientRect(),n=document.body,r=e.clientTop||n.clientTop||0,i=e.clientLeft||n.clientLeft||0,o=window.pageYOffset||e.scrollTop,a=window.pageXOffset||e.scrollLeft;return document.documentElement&&!window.pageYOffset&&(o=document.documentElement.scrollTop,a=document.documentElement.scrollLeft),{top:t.top+o-r,left:t.left+a-i}},windowWidth:function(){"use strict";return window.innerWidth?window.innerWidth:document.documentElement&&document.documentElement.clientWidth?document.documentElement.clientWidth:void 0},windowHeight:function(){"use strict";return window.innerHeight?window.innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:void 0},windowScroll:function(){"use strict";return"undefined"!=typeof pageYOffset?{left:window.pageXOffset,top:window.pageYOffset}:document.documentElement?{left:document.documentElement.scrollLeft,top:document.documentElement.scrollTop}:void 0},addEventListener:function(e,t,n,r){"use strict";"undefined"==typeof r&&(r=!1),e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on"+t,n)},removeEventListener:function(e,t,n,r){"use strict";"undefined"==typeof r&&(r=!1),e.removeEventListener?e.removeEventListener(t,n,r):e.detachEvent&&e.detachEvent("on"+t,n)}},setTransform:function(e,t){"use strict";var n=e.style;n.webkitTransform=n.MsTransform=n.msTransform=n.MozTransform=n.OTransform=n.transform=t},setTranslate:function(e,t){"use strict";var n=e.style,r={x:t.x||0,y:t.y||0,z:t.z||0},i=this.support.transforms3d?"translate3d("+r.x+"px,"+r.y+"px,"+r.z+"px)":"translate("+r.x+"px,"+r.y+"px)";n.webkitTransform=n.MsTransform=n.msTransform=n.MozTransform=n.OTransform=n.transform=i,this.support.transforms||(n.left
126=r.x+"px",n.top=r.y+"px")},setTransition:function(e,t){"use strict";var n=e.style;n.webkitTransitionDuration=n.MsTransitionDuration=n.msTransitionDuration=n.MozTransitionDuration=n.OTransitionDuration=n.transitionDuration=t+"ms"},support:{touch:window.Modernizr&&Modernizr.touch===!0||function(){"use strict";return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}(),transforms3d:window.Modernizr&&Modernizr.csstransforms3d===!0||function(){"use strict";var e=document.createElement("div").style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e}(),transforms:window.Modernizr&&Modernizr.csstransforms===!0||function(){"use strict";var e=document.createElement("div").style;return"transform"in e||"WebkitTransform"in e||"MozTransform"in e||"msTransform"in e||"MsTransform"in e||"OTransform"in e}(),transitions:window.Modernizr&&Modernizr.csstransitions===!0||function(){"use strict";var e=document.createElement("div").style;return"transition"in e||"WebkitTransition"in e||"MozTransition"in e||"msTransition"in e||"MsTransition"in e||"OTransition"in e}(),classList:function(){"use strict";var e=document.createElement("div").style;return"classList"in e}()},browser:{ie8:function(){"use strict";var e=-1;if("Microsoft Internet Explorer"===navigator.appName){var t=navigator.userAgent,n=new RegExp(/MSIE ([0-9]{1,}[\.0-9]{0,})/);null!==n.exec(t)&&(e=parseFloat(RegExp.$1))}return-1!==e&&9>e}(),ie10:window.navigator.msPointerEnabled,ie11:window.navigator.pointerEnabled}},(window.jQuery||window.Zepto)&&!function(e){"use strict";e.fn.swiper=function(t){var n=new Swiper(e(this)[0],t);return e(this).data("swiper",n),n}}(window.jQuery||window.Zepto),"undefined"!=typeof module&&(module.exports=Swiper),"function"==typeof define&&define.amd&&define([],function(){"use strict";return Swiper}),/*
127 * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
128 *
129 * Uses the built in easing capabilities added In jQuery 1.1
130 * to offer multiple easing options
131 *
132 * TERMS OF USE - jQuery Easing
133 * 
134 * Open source under the BSD License. 
135 * 
136 * Copyright © 2008 George McGinley Smith
137 * All rights reserved.
138 * 
139 * Redistribution and use in source and binary forms, with or without modification, 
140 * are permitted provided that the following conditions are met:
141 * 
142 * Redistributions of source code must retain the above copyright notice, this list of 
143 * conditions and the following disclaimer.
144 * Redistributions in binary form must reproduce the above copyright notice, this list 
145 * of conditions and the following disclaimer in the documentation and/or other materials 
146 * provided with the distribution.
147 * 
148 * Neither the name of the author nor the names of contributors may be used to endorse 
149 * or promote products derived from this software without specific prior written permission.
150 * 
151 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 
152 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
153 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
154 *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
155 *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
156 *  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 
157 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
158 *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 
159 * OF THE POSSIBILITY OF SUCH DAMAGE. 
160 *
161*/
162jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,t,n,r,i){return jQuery.easing[jQuery.easing.def](e,t,n,r,i)},easeInQuad:function(e,t,n,r,i){return r*(t/=i)*t+n},easeOutQuad:function(e,t,n,r,i){return-r*(t/=i)*(t-2)+n},easeInOutQuad:function(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t+n:-r/2*(--t*(t-2)-1)+n}
162,easeInCubic:function(e,t,n,r,i){return r*(t/=i)*t*t+n},easeOutCubic:function(e,t,n,r,i){return r*((t=t/i-1)*t*t+1)+n},easeInOutCubic:function(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t*t+n:r/2*((t-=2)*t*t+2)+n},easeInQuart:function(e,t,n,r,i){return r*(t/=i)*t*t*t+n},easeOutQuart:function(e,t,n,r,i){return-r*((t=t/i-1)*t*t*t-1)+n},easeInOutQuart:function(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t*t*t+n:-r/2*((t-=2)*t*t*t-2)+n},easeInQuint:function(e,t,n,r,i){return r*(t/=i)*t*t*t*t+n},easeOutQuint:function(e,t,n,r,i){return r*((t=t/i-1)*t*t*t*t+1)+n},easeInOutQuint:function(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t*t*t*t+n:r/2*((t-=2)*t*t*t*t+2)+n},easeInSine:function(e,t,n,r,i){return-r*Math.cos(t/i*(Math.PI/2))+r+n},easeOutSine:function(e,t,n,r,i){return r*Math.sin(t/i*(Math.PI/2))+n},easeInOutSine:function(e,t,n,r,i){return-r/2*(Math.cos(Math.PI*t/i)-1)+n},easeInExpo:function(e,t,n,r,i){return 0==t?n:r*Math.pow(2,10*(t/i-1))+n},easeOutExpo:function(e,t,n,r,i){return t==i?n+r:r*(-Math.pow(2,-10*t/i)+1)+n},easeInOutExpo:function(e,t,n,r,i){return 0==t?n:t==i?n+r:(t/=i/2)<1?r/2*Math.pow(2,10*(t-1))+n:r/2*(-Math.pow(2,-10*--t)+2)+n},easeInCirc:function(e,t,n,r,i){return-r*(Math.sqrt(1-(t/=i)*t)-1)+n},easeOutCirc:function(e,t,n,r,i){return r*Math.sqrt(1-(t=t/i-1)*t)+n},easeInOutCirc:function(e,t,n,r,i){return(t/=i/2)<1?-r/2*(Math.sqrt(1-t*t)-1)+n:r/2*(Math.sqrt(1-(t-=2)*t)+1)+n},easeInElastic:function(e,t,n,r,i){var o=1.70158,a=0,s=r;if(0==t)return n;if(1==(t/=i))return n+r;if(a||(a=.3*i),s<Math.abs(r)){s=r;var o=a/4}else var o=a/(2*Math.PI)*Math.asin(r/s);return-(s*Math.pow(2,10*(t-=1))*Math.sin(2*(t*i-o)*Math.PI/a))+n},easeOutElastic:function(e,t,n,r,i){var o=1.70158,a=0,s=r;if(0==t)return n;if(1==(t/=i))return n+r;if(a||(a=.3*i),s<Math.abs(r)){s=r;var o=a/4}else var o=a/(2*Math.PI)*Math.asin(r/s);return s*Math.pow(2,-10*t)*Math.sin(2*(t*i-o)*Math.PI/a)+r+n},easeInOutElastic:function(e,t,n,r,i){var o=1.70158,a=0,s=r;if(0==t)return n;if(2==(t/=i/2))return n+r;if(a||(a=.3*i*1.5),s<Math.abs(r)){s=r;var o=a/4}else var o=a/(2*Math.PI)*Math.asin(r/s);return 1>t?-.5*s*Math.pow(2,10*(t-=1))*Math.sin(2*(t*i-o)*Math.PI/a)+n:s*Math.pow(2,-10*(t-=1))*Math.sin(2*(t*i-o)*Math.PI/a)*.5+r+n},easeInBack:function(e,t,n,r,i,o){return void 0==o&&(o=1.70158),r*(t/=i)*t*((o+1)*t-o)+n},easeOutBack:function(e,t,n,r,i,o){return void 0==o&&(o=1.70158),r*((t=t/i-1)*t*((o+1)*t+o)+1)+n},easeInOutBack:function(e,t,n,r,i,o){return void 0==o&&(o=1.70158),(t/=i/2)<1?r/2*t*t*(((o*=1.525)+1)*t-o)+n:r/2*((t-=2)*t*(((o*=1.525)+1)*t+o)+2)+n},easeInBounce:function(e,t,n,r,i){return r-jQuery.easing.easeOutBounce(e,i-t,0,r,i)+n},easeOutBounce:function(e,t,n,r,i){return(t/=i)<1/2.75?7.5625*r*t*t+n:2/2.75>t?r*(7.5625*(t-=1.5/2.75)*t+.75)+n:2.5/2.75>t?r*(7.5625*(t-=2.25/2.75)*t+.9375)+n:r*(7.5625*(t-=2.625/2.75)*t+.984375)+n},easeInOutBounce:function(e,t,n,r,i){return i/2>t?.5*jQuery.easing.easeInBounce(e,2*t,0,r,i)+n:.5*jQuery.easing.easeOutBounce(e,2*t-i,0,r,i)+.5*r+n}}),function(e,t,n,r){var i=n("html"),o=n(e),a=n(t),s=n.fancybox=function(){s.open.apply(this,arguments)},l=navigator.userAgent.match(/msie/i),u=null,c=t.createTouch!==r,d=function(e){return e&&e.hasOwnProperty&&e instanceof n},f=function(e){return e&&"string"===n.type(e)},p=function(e){return f(e)&&0<e.indexOf("%")},h=function(e,t){var n=parseInt(e,10)||0;return t&&p(e)&&(n*=s.getViewport()[t]/100),Math.ceil(n)},m=function(e,t){return h(e,t)+"px"};n.extend(s,{version:"2.1.5",defaults:{padding:15,margin:20,width:800,height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,pixelRatio:1,autoSize:!0,autoHeight:!1,autoWidth:!1,autoResize:!0,autoCenter:!c,fitToView:!0,aspectRatio:!1,topRatio:.5,leftRatio:.5,scrolling:"auto",wrapCSS:"",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3e3,preload:3,modal:!1,loop:!0,ajax:{dataType:"html",headers:{"X-fancyBox":!0}},iframe:{scrolling:"auto",preload:!0},swf:{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"},keys:{next:{13:"left",34:"up",39:"left",40:"up"},prev:{8:"right",33:"down",37:"right",38:"down"},close:[27],play:[32],toggle:[70]},direction:{next:"left",prev:"right"},scrollOutside:!0,index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',image:'<img class="fancybox-image" src="{href}" alt="" />',iframe:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen'+(l?' allowtransparency="true"':"")+"></iframe>",error:'<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',closeBtn:'<a title="Close" class="fancybox-item fancybox-close" href="javascript:;"></a>',next:'<a title="Next" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',prev:'<a title="Previous" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>'},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:n.noop,beforeLoad:n.noop,afterLoad:n.noop,beforeShow:n.noop,afterShow:n.noop,beforeChange:n.noop,beforeClose:n.noop,afterClose:n.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,isOpen:!1,isOpened:!1,wrap:null,
vendor: 4,136 bytes, line 162
162skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(e,t){return e&&(n.isPlainObject(t)||(t={}),!1!==s.close(!0))?(n.isArray(e)||(e=d(e)?n(e).get():[e]),n.each(e,function(i,o){var a,l,u,c,p,h={};"object"===n.type(o)&&(o.nodeType&&(o=n(o)),d(o)?(h={href:o.data("fancybox-href")||o.attr("href"),title:o.data("fancybox-title")||o.attr("title"),isDom:!0,element:o},n.metadata&&n.extend(!0,h,o.metadata())):h=o),a=t.href||h.href||(f(o)?o:null),l=t.title!==r?t.title:h.title||"",c=(u=t.content||h.content)?"html":t.type||h.type,!c&&h.isDom&&(c=o.data("fancybox-type"),c||(c=(c=o.prop("class").match(/fancybox\.(\w+)/))?c[1]:null)),f(a)&&(c||(s.isImage(a)?c="image":s.isSWF(a)?c="swf":"#"===a.charAt(0)?c="inline":f(o)&&(c="html",u=o)),"ajax"===c&&(p=a.split(/\s+/,2),a=p.shift(),p=p.shift())),u||("inline"===c?a?u=n(f(a)?a.replace(/.*(?=#[^\s]+$)/,""):a):h.isDom&&(u=o):"html"===c?u=a:!c&&!a&&h.isDom&&(c="inline",u=o)),n.extend(h,{href:a,type:c,content:u,title:l,selector:p}),e[i]=h}),s.opts=n.extend(!0,{},s.defaults,t),t.keys!==r&&(s.opts.keys=t.keys?n.extend({},s.defaults.keys,t.keys):!1),s.group=e,s._start(s.opts.index)):void 0},cancel:function(){var e=s.coming;e&&!1!==s.trigger("onCancel")&&(s.hideLoading(),s.ajaxLoad&&s.ajaxLoad.abort(),s.ajaxLoad=null,s.imgPreload&&(s.imgPreload.onload=s.imgPreload.onerror=null),e.wrap&&e.wrap.stop(!0,!0).trigger("onReset").remove(),s.coming=null,s.current||s._afterZoomOut(e))},close:function(e){s.cancel(),!1!==s.trigger("beforeClose")&&(s.unbindEvents(),s.isActive&&(s.isOpen&&!0!==e?(s.isOpen=s.isOpened=!1,s.isClosing=!0,n(".fancybox-item, .fancybox-nav").remove(),s.wrap.stop(!0,!0).removeClass("fancybox-opened"),s.transitions[s.current.closeMethod]()):(n(".fancybox-wrap").stop(!0).trigger("onReset").remove(),s._afterZoomOut())))},play:function(e){var t=function(){clearTimeout(s.player.timer)},n=function(){t(),s.current&&s.player.isActive&&(s.player.timer=setTimeout(s.next,s.current.playSpeed))},r=function(){t(),a.unbind(".player"),s.player.isActive=!1,s.trigger("onPlayEnd")};!0===e||!s.player.isActive&&!1!==e?s.current&&(s.current.loop||s.current.index<s.group.length-1)&&(s.player.isActive=!0,a.bind({"onCancel.player beforeClose.player":r,"onUpdate.player":n,"beforeLoad.player":t}),n(),s.trigger("onPlayStart")):r()},next:function(e){var t=s.current;t&&(f(e)||(e=t.direction.next),s.jumpto(t.index+1,e,"next"))},prev:function(e){var t=s.current;t&&(f(e)||(e=t.direction.prev),s.jumpto(t.index-1,e,"prev"))},jumpto:function(e,t,n){var i=s.current;i&&(e=h(e),s.direction=t||i.direction[e>=i.index?"next":"prev"],s.router=n||"jumpto",i.loop&&(0>e&&(e=i.group.length+e%i.group.length),e%=i.group.length),i.group[e]!==r&&(s.cancel(),s._start(e)))},reposition:function(e,t){var r,i=s.current,o=i?i.wrap:null;o&&(r=s._getPosition(t),e&&"scroll"===e.type?(delete r.position,o.stop(!0,!0).animate(r,200)):(o.css(r),i.pos=n.extend({},i.dim,r)))},update:function(e){var t=e&&e.type,n=!t||"orientationchange"===t;n&&(clearTimeout(u),u=null),s.isOpen&&!u&&(u=setTimeout(function(){var r=s.current;r&&!s.isClosing&&(s.wrap.removeClass("fancybox-tmp"),(n||"load"===t||"resize"===t&&r.autoResize)&&s._setDimension(),"scroll"===t&&r.canShrink||s.reposition(e),s.trigger("onUpdate"),u=null)},n&&!c?0:300))},toggle:function(e){s.isOpen&&(s.current.fitToView="boolean"===n.type(e)?e:!s.current.fitToView,c&&(s.wrap.removeAttr("style").addClass("fancybox-tmp"),s.trigger("onUpdate")),s.update())},hideLoading:function(){a.unbind(".loading"),n("#fancybox-loading").remove()},showLoading:function(){var e,t;s.hideLoading(),e=n('<div id="fancybox-loading"><div></div></div>').click(s.cancel).appendTo("body"),a.bind("keydown.loading",function(e){27===(e.which||e.keyCode)&&(e.preventDefault(),s.cancel())}),s.defaults.fixed||(t=s.getViewport(),e.css({position:"absolute",top:.5*t.h+t.y,left:.5*t.w+t.x}))},getViewport:function(){var t=s.current&&s.current.locked||!1,n={x:o.scrollLeft(),y:o.scrollTop()};return t?(n.w=t[0].clientWidth,n.h=t[0].clientHeight):(n.w=c&&e.innerWidth?e.innerWidth:o.width(),n.h=c&&e.innerHe
162ight?e.innerHeight:o.height()),n},unbindEvents:function(){s.wrap&&d(s.wrap)&&s.wrap.unbind(".fb"),a.unbind(".fb"),o.unbind(".fb")},bindEvents:function(){var e,t=s.current;t&&(o.bind("orientationchange.fb"+(c?"":" resize.fb")+(t.autoCenter&&!t.locked?" scroll.fb":""),s.update),(e=t.keys)&&a.bind("keydown.fb",function(i){var o=i.which||i.keyCode,a=i.target||i.srcElement;return 27===o&&s.coming?!1:(!(i.ctrlKey||i.altKey||i.shiftKey||i.metaKey||a&&(a.type||n(a).is("[contenteditable]"))||!n.each(e,function(e,a){return 1<t.group.length&&a[o]!==r?(s[e](a[o]),i.preventDefault(),!1):-1<n.inArray(o,a)?(s[e](),i.preventDefault(),!1):void 0})),void 0)}),n.fn.mousewheel&&t.mouseWheel&&s.wrap.bind("mousewheel.fb",function(e,r,i,o){for(var a=n(e.target||null),l=!1;a.length&&!l&&!a.is(".fancybox-skin")&&!a.is(".fancybox-wrap");)l=a[0]&&!(a[0].style.overflow&&"hidden"===a[0].style.overflow)&&(a[0].clientWidth&&a[0].scrollWidth>a[0].clientWidth||a[0].clientHeight&&a[0].scrollHeight>a[0].clientHeight),a=n(a).parent();0!==r&&!l&&1<s.group.length&&!t.canShrink&&(o>0||i>0?s.prev(o>0?"down":"left"):(0>o||0>i)&&s.next(0>o?"up":"right"),e.preventDefault())}))},trigger:function(e,t){var r,i=t||s.coming||s.current;if(i){if(n.isFunction(i[e])&&(r=i[e].apply(i,Array.prototype.slice.call(arguments,1))),!1===r)return!1;i.helpers&&n.each(i.helpers,function(t,r){r&&s.helpers[t]&&n.isFunction(s.helpers[t][e])&&s.helpers[t][e](n.extend(!0,{},s.helpers[t].defaults,r),i)}),a.trigger(e)}},isImage:function(e){return f(e)&&e.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(e){return f(e)&&e.match(/\.(swf)((\?|#).*)?$/i)},_start:function(e){var t,r,i={};if(e=h(e),t=s.group[e]||null,!t)return!1;if(i=n.extend(!0,{},s.opts,t),t=i.margin,r=i.padding,"number"===n.type(t)&&(i.margin=[t,t,t,t]),"number"===n.type(r)&&(i.padding=[r,r,r,r]),i.modal&&n.extend(!0,i,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}}),i.autoSize&&(i.autoWidth=i.autoHeight=!0),"auto"===i.width&&(i.autoWidth=!0),"auto"===i.height&&(i.autoHeight=!0),i.group=s.group,i.index=e,s.coming=i,!1===s.trigger("beforeLoad"))s.coming=null;else{if(r=i.type,t=i.href,!r)return s.coming=null,s.current&&s.router&&"jumpto"!==s.router?(s.current.index=e,s[s.router](s.direction)):!1;if(s.isActive=!0,("image"===r||"swf"===r)&&(i.autoHeight=i.autoWidth=!1,i.scrolling="visible"),"image"===r&&(i.aspectRatio=!0),"iframe"===r&&c&&(i.scrolling="scroll"),i.wrap=n(i.tpl.wrap).addClass("fancybox-"+(c?"mobile":"desktop")+" fancybox-type-"+r+" fancybox-tmp "+i.wrapCSS).appendTo(i.parent||"body"),n.extend(i,{skin:n(".fancybox-skin",i.wrap),outer:n(".fancybox-outer",i.wrap),inner:n(".fancybox-inner",i.wrap)}),n.each(["Top","Right","Bottom","Left"],function(e,t){i.skin.css("padding"+t,m(i.padding[e]))}),s.trigger("onReady"),"inline"===r||"html"===r){if(!i.content||!i.content.length)return s._error("content")}else if(!t)return s._error("href");"image"===r?s._loadImage():"ajax"===r?s._loadAjax():"iframe"===r?s._loadIframe():s._afterLoad()}},_error:function(e){n.extend(s.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:e,content:s.coming.tpl.error}),s._afterLoad()},_loadImage:function(){var e=s.imgPreload=new Image;e.onload=function(){this.onload=this.onerror=null,s.coming.width=this.width/s.opts.pixelRatio,s.coming.height=this.height/s.opts.pixelRatio,s._afterLoad()},e.onerror=function(){this.onload=this.onerror=null,s._error("image")},e.src=s.coming.href,!0!==e.complete&&s.showLoading()},_loadAjax:function(){var e=s.coming;s.showLoading(),s.ajaxLoad=n.ajax(n.extend({},e.ajax,{url:e.href,error:function(e,t){s.coming&&"abort"!==t?s._error("ajax",e):s.hideLoading()},success:function(t,n){"success"===n&&(e.content=t,s._afterLoad())}}))},_loadIframe:function(){var e=s.coming,t=n(e.tpl.iframe.replace(/\{rnd\}/g,(new Date).getTime())).attr("scrolling",c?"auto":e.iframe.scrolling).attr("src",e.href);n(e.wrap).bind("onReset",function(){try{n(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(e){}}),e.iframe.preload&&(s.showLoading(),t.one("load",function(){n(this).data("ready",1),c||n(this).bind("load.fb",s.update),n(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show(),s._afterLoad()})),e.content=t.appendTo(e.inner),e.iframe.preload||s._afterLoad()},_preloadImages:function(){var e,t,n=s.group,r=s.current,i=n.length,o=r.preload?Math.min(r.preload,i-1):0;for(t=1;o>=t;t+=1)e=n[(r.index+t)%i],"image"===e.type&&e.href&&((new Image).src=e.href)},_afterLoad:function(){var e,t,r,i,o,a=s.coming,l=s.current;if(s.hideLoading(),a&&!1!==s.isActive)if(!1===s.trigger("afterLoad",a,l))a.wrap.stop(!0).trigger("onReset").remove(),s.coming=null;else{switch(l&&(s.trigger("beforeChange",l),l.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove()),s.unbindEvents(),e=a.content,t=a.type,r=a.scrolling,n.extend(s,{wrap:a.wrap,skin:a.skin,outer:a.outer,inner:
162a.inner,current:a,previous:l}),i=a.href,t){case"inline":case"ajax":case"html":a.selector?e=n("<div>").html(e).find(a.selector):d(e)&&(e.data("fancybox-placeholder")||e.data("fancybox-placeholder",n('<div class="fancybox-placeholder"></div>').insertAfter(e).hide()),e=e.show().detach(),a.wrap.bind("onReset",function(){n(this).find(e).length&&e.hide().replaceAll(e.data("fancybox-placeholder")).data("fancybox-placeholder",!1)}));break;case"image":e=a.tpl.image.replace("{href}",i);break;case"swf":e='<object id="fancybox-swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="'+i+'"></param>',o="",n.each(a.swf,function(t,n){e+='<param name="'+t+'" value="'+n+'"></param>',o+=" "+t+'="'+n+'"'}),e+='<embed src="'+i+'" type="application/x-shockwave-flash" width="100%" height="100%"'+o+"></embed></object>"}(!d(e)||!e.parent().is(a.inner))&&a.inner.append(e),s.trigger("beforeShow"),a.inner.css("overflow","yes"===r?"scroll":"no"===r?"hidden":r),s._setDimension(),s.reposition(),s.isOpen=!1,s.coming=null,s.bindEvents(),s.isOpened?l.prevMethod&&s.transitions[l.prevMethod]():n(".fancybox-wrap").not(a.wrap).stop(!0).trigger("onReset").remove(),s.transitions[s.isOpened?a.nextMethod:a.openMethod](),s._preloadImages()}},_setDimension:function(){var e,t,r,i,o,a,l,u,c,d=s.getViewport(),f=0,g=!1,v=!1,g=s.wrap,y=s.skin,w=s.inner,b=s.current,v=b.width,x=b.height,T=b.minWidth,C=b.minHeight,k=b.maxWidth,S=b.maxHeight,_=b.scrolling,E=b.scrollOutside?b.scrollbarWidth:0,D=b.margin,M=h(D[1]+D[3]),L=h(D[0]+D[2]);if(g.add(y).add(w).width("auto").height("auto").removeClass("fancybox-tmp"),D=h(y.outerWidth(!0)-y.width()),e=h(y.outerHeight(!0)-y.height()),t=M+D,r=L+e,i=p(v)?(d.w-t)*h(v)/100:v,o=p(x)?(d.h-r)*h(x)/100:x,"iframe"===b.type){if(c=b.content,b.autoHeight&&1===c.data("ready"))try{c[0].contentWindow.document.location&&(w.width(i).height(9999),a=c.contents().find("body"),E&&a.css("overflow-x","hidden"),o=a.outerHeight(!0))}catch($){}}else(b.autoWidth||b.autoHeight)&&(w.addClass("fancybox-tmp"),b.autoWidth||w.width(i),b.autoHeight||w.height(o),b.autoWidth&&(i=w.width()),b.autoHeight&&(o=w.height()),w.removeClass("fancybox-tmp"));if(v=h(i),x=h(o),u=i/o,T=h(p(T)?h(T,"w")-t:T),k=h(p(k)?h(k,"w")-t:k),C=h(p(C)?h(C,"h")-r:C),S=h(p(S)?h(S,"h")-r:S),a=k,l=S,b.fitToView&&(k=Math.min(d.w-t,k),S=Math.min(d.h-r,S)),t=d.w-M,L=d.h-L,b.aspectRatio?(v>k&&(v=k,x=h(v/u)),x>S&&(x=S,v=h(x*u)),T>v&&(v=T,x=h(v/u)),C>x&&(x=C,v=h(x*u))):(v=Math.max(T,Math.min(v,k)),b.autoHeight&&"iframe"!==b.type&&(w.width(v),x=w.height()),x=Math.max(C,Math.min(x,S))),b.fitToView)if(w.width(v).height(x),g.width(v+D),d=g.width(),M=g.height(),b.aspectRatio)for(;(d>t||M>L)&&v>T&&x>C&&!(19<f++);)x=Math.max(C,Math.min(S,x-10)),v=h(x*u),T>v&&(v=T,x=h(v/u)),v>k&&(v=k,x=h(v/u)),w.width(v).height(x),g.width(v+D),d=g.width(),M=g.height();else v=Math.max(T,Math.min(v,v-(d-t))),x=Math.max(C,Math.min(x,x-(M-L)));E&&"auto"===_&&o>x&&t>v+D+E&&(v+=E),w.width(v).height(x),g.width(v+D),d=g.width(),M=g.height(),g=(d>t||M>L)&&v>T&&x>C,v=b.aspectRatio?a>v&&l>x&&i>v&&o>x:(a>v||l>x)&&(i>v||o>x),n.extend(b,{dim:{width:m(d),height:m(M)},origWidth:i,origHeight:o,canShrink:g,canExpand:v,wPadding:D,hPadding:e,wrapSpace:M-y.outerHeight(!0),skinSpace:y.height()-x}),!c&&b.autoHeight&&x>C&&S>x&&!v&&w.height("auto")},_getPosition:function(e){var t=s.current,n=s.getViewport(),r=t.margin,i=s.wrap.width()+r[1]+r[3],o=s.wrap.height()+r[0]+r[2],r={position:"absolute",top:r[0],left:r[3]};return t.autoCenter&&t.fixed&&!e&&o<=n.h&&i<=n.w?r.position="fixed":t.locked||(r.top+=n.y,r.left+=n.x),r.top=m(Math.max(r.top,r.top+(n.h-o)*t.topRatio)),r.left=m(Math.max(r.left,r.left+(n.w-i)*t.leftRatio)),r},_afterZoomIn:function(){var e=s.current;e&&(s.isOpen=s.isOpened=!0,s.wrap.css("overflow","visible").addClass("fancybox-opened"),s.update(),(e.closeClick||e.nextClick&&1<s.group.length)&&s.inner.css("cursor","pointer").bind("click.fb",function(t){!n(t.target).is("a")&&!n(t.target).parent().is("a")&&(t.preventDefault(),s[e.closeClick?"close":"next"]())}),e.closeBtn&&n(e.tpl.closeBtn).appendTo(s.skin).bind("click.fb",function(e){e.preventDefault(),s.close()}),e.arrows&&1<s.group.length&&((e.loop||0<e.index)&&n(e.tpl.prev).appendTo(s.outer).bind("click.fb",s.prev),(e.loop||e.index<s.group.length-1)&&n(e.tpl.next).appendTo(s.outer).bind("click.fb",s.next)),s.trigger("afterShow"),e.loop||e.index!==e.group.length-1?s.opts.autoPlay&&!s.player.isActive&&(s.opts.autoPlay=!1,s.play()):s.play(!1))},_afterZoomOut:function(e){e=e||s.current,n(".fancybox-wrap").trigger("onReset").remove(),n.extend(s,{group:{},opts:{},router:!1,current:null,isActive:!1,isOpened:!1,isOpen:!1,isClosing:!1,wrap:null,
162skin:null,outer:null,inner:null}),s.trigger("afterClose",e)}}),s.transitions={getOrigPosition:function(){var e=s.current,t=e.element,n=e.orig,r={},i=50,o=50,a=e.hPadding,l=e.wPadding,u=s.getViewport();return!n&&e.isDom&&t.is(":visible")&&(n=t.find("img:first"),n.length||(n=t)),d(n)?(r=n.offset(),n.is("img")&&(i=n.outerWidth(),o=n.outerHeight())):(r.top=u.y+(u.h-o)*e.topRatio,r.left=u.x+(u.w-i)*e.leftRatio),("fixed"===s.wrap.css("position")||e.locked)&&(r.top-=u.y,r.left-=u.x),r={top:m(r.top-a*e.topRatio),left:m(r.left-l*e.leftRatio),width:m(i+l),height:m(o+a)}},step:function(e,t){var n,r,i=t.prop;r=s.current;var o=r.wrapSpace,a=r.skinSpace;("width"===i||"height"===i)&&(n=t.end===t.start?1:(e-t.start)/(t.end-t.start),s.isClosing&&(n=1-n),r="width"===i?r.wPadding:r.hPadding,r=e-r,s.skin[i](h("width"===i?r:r-o*n)),s.inner[i](h("width"===i?r:r-o*n-a*n)))},zoomIn:function(){var e=s.current,t=e.pos,r=e.openEffect,i="elastic"===r,o=n.extend({opacity:1},t);delete o.position,i?(t=this.getOrigPosition(),e.openOpacity&&(t.opacity=.1)):"fade"===r&&(t.opacity=.1),s.wrap.css(t).animate(o,{duration:"none"===r?0:e.openSpeed,easing:e.openEasing,step:i?this.step:null,complete:s._afterZoomIn})},zoomOut:function(){var e=s.current,t=e.closeEffect,n="elastic"===t,r={opacity:.1};n&&(r=this.getOrigPosition(),e.closeOpacity&&(r.opacity=.1)),s.wrap.animate(r,{duration:"none"===t?0:e.closeSpeed,easing:e.closeEasing,step:n?this.step:null,complete:s._afterZoomOut})},changeIn:function(){var e,t=s.current,n=t.nextEffect,r=t.pos,i={opacity:1},o=s.direction;r.opacity=.1,"elastic"===n&&(e="down"===o||"up"===o?"top":"left","down"===o||"right"===o?(r[e]=m(h(r[e])-200),i[e]="+=200px"):(r[e]=m(h(r[e])+200),i[e]="-=200px")),"none"===n?s._afterZoomIn():s.wrap.css(r).animate(i,{duration:t.nextSpeed,easing:t.nextEasing,complete:s._afterZoomIn})},changeOut:function(){var e=s.previous,t=e.prevEffect,r={opacity:.1},i=s.direction;"elastic"===t&&(r["down"===i||"up"===i?"top":"left"]=("up"===i||"left"===i?"-":"+")+"=200px"),e.wrap.animate(r,{duration:"none"===t?0:e.prevSpeed,easing:e.prevEasing,complete:function(){n(this).trigger("onReset").remove()}})}},s.helpers.overlay={defaults:{closeClick:!0,speedOut:200,showEarly:!0,css:{},locked:!c,fixed:!0},overlay:null,fixed:!1,el:n("html"),create:function(e){e=n.extend({},this.defaults,e),this.overlay&&this.close(),this.overlay=n('<div class="fancybox-overlay"></div>').appendTo(s.coming?s.coming.parent:e.parent),this.fixed=!1,e.fixed&&s.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(e){var t=this;e=n.extend({},this.defaults,e),this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(e),this.fixed||(o.bind("resize.overlay",n.proxy(this.update,this)),this.update()),e.closeClick&&this.overlay.bind("click.overlay",function(e){return n(e.target).hasClass("fancybox-overlay")?(s.isActive?s.close():t.close(),!1):void 0}),this.overlay.css(e.css).show()},close:function(){var e,t;o.unbind("resize.overlay"),this.el.hasClass("fancybox-lock")&&(n(".fancybox-margin").removeClass("fancybox-margin"),e=o.scrollTop(),t=o.scrollLeft(),this.el.removeClass("fancybox-lock"),o.scrollTop(e).scrollLeft(t)),n(".fancybox-overlay").remove().hide(),n.extend(this,{overlay:null,fixed:!1})},update:function(){var e,n="100%";this.overlay.width(n).height("100%"),l?(e=Math.max(t.documentElement.offsetWidth,t.body.offsetWidth),a.width()>e&&(n=a.width())):a.width()>o.width()&&(n=a.width()),this.overlay.width(n).height(a.height())},onReady:function(e,t){var r=this.overlay;n(".fancybox-overlay").stop(!0,!0),r||this.create(e),e.locked&&this.fixed&&t.fixed&&(r||(this.margin=a.height()>o.height()?n("html").css("margin-right").replace("px",""):!1),t.locked=this.overlay.append(t.wrap),t.fixed=!1),!0===e.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(e,t){var r,i;t.locked&&(!1!==this.margin&&(n("*").filter(function(){return"fixed"===n(this).css("position")&&!n(this).hasClass("fancybox-overlay")&&!n(this).hasClass("fancybox-wrap")}).addClass("fancybox-margin"),this.el.addClass("fancybox-margin")),r=o.scrollTop(),i=o.scrollLeft(),this.el.addClass("fancybox-lock"),o.scrollTop(r).scrollLeft(i)),this.open(e)}
162,onUpdate:function(){this.fixed||this.update()},afterClose:function(e){this.overlay&&!s.coming&&this.overlay.fadeOut(e.speedOut,n.proxy(this.close,this))}},s.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(e){var t=s.current,r=t.title,i=e.type;if(n.isFunction(r)&&(r=r.call(t.element,t)),f(r)&&""!==n.trim(r)){switch(t=n('<div class="fancybox-title fancybox-title-'+i+'-wrap">'+r+"</div>"),i){case"inside":i=s.skin;break;case"outside":i=s.wrap;break;case"over":i=s.inner;break;default:i=s.skin,t.appendTo("body"),l&&t.width(t.width()),t.wrapInner('<span class="child"></span>'),s.current.margin[2]+=Math.abs(h(t.css("margin-bottom")))}t["top"===e.position?"prependTo":"appendTo"](i)}}},n.fn.fancybox=function(e){var t,r=n(this),i=this.selector||"",o=function(o){var a,l,u=n(this).blur(),c=t;!(o.ctrlKey||o.altKey||o.shiftKey||o.metaKey||u.is(".fancybox-wrap")||(a=e.groupAttr||"data-fancybox-group",l=u.attr(a),l||(a="rel",l=u.get(0)[a]),l&&""!==l&&"nofollow"!==l&&(u=i.length?n(i):r,u=u.filter("["+a+'="'+l+'"]'),c=u.index(this)),e.index=c,!1===s.open(u,e)||!o.preventDefault()))};return e=e||{},t=e.index||0,i&&!1!==e.live?a.undelegate(i,"click.fb-start").delegate(i+":not('.fancybox-item, .fancybox-nav')","click.fb-start",o):r.unbind("click.fb-start").bind("click.fb-start",o),this.filter("[data-fancybox-start=1]").trigger("click"),this},a.ready(function(){var t,o;if(n.scrollbarWidth===r&&(n.scrollbarWidth=function(){var e=n('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo("body"),t=e.children(),t=t.innerWidth()-t.height(99).innerWidth();return e.remove(),t}),n.support.fixedPosition===r){t=n.support,o=n('<div style="position:fixed;top:20px;"></div>').appendTo("body");var a=20===o[0].offsetTop||15===o[0].offsetTop;o.remove(),t.fixedPosition=a}n.extend(s.defaults,{scrollbarWidth:n.scrollbarWidth(),fixed:n.support.fixedPosition,parent:n("body")}),t=n(e).width(),i.addClass("fancybox-lock-test"),o=n(e).width(),i.removeClass("fancybox-lock-test"),n("<style type='text/css'>.fancybox-margin{margin-right:"+(o-t)+"px;}</style>").appendTo("head")})}(window,document,jQuery),/**
163 * Copyright (c) 2011-2014 Felix Gnass
164 * Licensed under the MIT license
165 */
166function(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,r=document.createElement(e||"div");for(n in t)r[n]=t[n];return r}function t(e){for(var t=1,n=arguments.length;n>t;t++)e.appendChild(arguments[t]);return e}function n(e,t,n,r){var i=["opacity",t,~~(100*e),n,r].join("-"),o=.01+n/r*100,a=Math.max(1-(1-e)/t*(100-o),e),s=u.substring(0,u.indexOf("Animation")).toLowerCase(),l=s&&"-"+s+"-"||"";return d[i]||(f.insertRule("@"+l+"keyframes "+i+"{0%{opacity:"+a+"}"+o+"%{opacity:"+e+"}"+(o+.01)+"%{opacity:1}"+(o+t)%100+"%{opacity:"+e+"}100%{opacity:"+a+"}}",f.cssRules.length),d[i]=1),i}function r(e,t){var n,r,i=e.style;for(t=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<c.length;r++)if(n=c[r]+t,void 0!==i[n])return n;return void 0!==i[t]?t:void 0}function i(e,t){for(var n in t)e.style[r(e,n)||n]=t[n];return e}function o(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)void 0===e[r]&&(e[r]=n[r])}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,r){function o(){return i(n("group",{coordsize:c+" "+c,coordorigin:-u+" "+-u}),{width:c,height:c})}function s(e,s,l){t(f,t(i(o(),{rotation:360/r.lines*e+"deg",left:~~s}),t(i(n("roundrect",{arcsize:r.corners}),{width:u,height:r.width,left:r.radius,top:-r.width>>1,filter:l}),n("fill",{color:a(r.color,e),opacity:r.opacity}),n("stroke",{opacity:0}))))}var l,u=r.length+r.width,c=2*u,d=2*-(r.width+r.length)+"px",f=i(o(),{position:"absolute",top:d,left:d});if(r.shadow)for(l=1;l<=r.lines;l++)s(l,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(l=1;l<=r.lines;l++)s(l);return t(e,f)},s.prototype.opacity=function(e,t,n,r){var i=e.firstChild;r=r.shadow&&r.lines||0,i&&t+r<i.childNodes.length&&(i=i.childNodes[t+r],i=i&&i.firstChild,i=i&&i.firstChild,i&&(i.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,r=n.opts,o=n.el=i(e(0,{className:r.className}),{position:r.position,width:0,zIndex:r.zIndex});
166r.radius+r.length+r.width}if(i(o,{left:r.left,top:r.top}),t&&t.insertBefore(o,t.firstChild||null),o.setAttribute("role","progressbar"),n.lines(o,n.opts),!u){var a,s=0,l=(r.lines-1)*(1-r.direction)/2,c=r.fps,d=c/r.speed,f=(1-r.opacity)/(d*r.trail/100),p=d/r.lines;!function h(){s++;for(var e=0;e<r.lines;e++)a=Math.max(1-(s+(r.lines-e)*p)%d*f,r.opacity),n.opacity(o,e*r.direction+l,a,r);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(r,o){function s(t,n){return i(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=i(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,i(s("#000","0 0 4px #000"),{top:"2px"})),t(r,t(l,s(a(o.color,c),"0 0 1px rgba(0,0,0,.1)")));return r},opacity:function(e,t,n){t<e.childNodes.length&&(e.childNodes[t].style.opacity=n)}});var h=i(e("group"),{behavior:"url(#default#VML)"});return!r(h,"transform")&&h.adj?l():u=r(h,"animation"),s}),/**!
167 * trunk8 v1.3.1
168 * https://github.com/rviscomi/trunk8
169 * 
170 * Copyright 2012 Rick Viscomi
171 * Released under the MIT License.
172 * 
173 * Date: September 26, 2012
174 */
175function(e){function t(t){this.$element=e(t),this.original_text=this.$element.html(),this.settings=e.extend({},e.fn.trunk8.defaults)}function n(e){var t=document.createElement("DIV");return t.innerHTML=e,"undefined"!=typeof t.textContent?t.textContent:t.innerText}function r(e){if(n(e)===e)return e.split(/\s/g);for(var t,i,o=[],a=/<([a-z]+)([^<]*)(?:>(.*?(?!<\1>)*)<\/\1>|\s+\/>)(['.?!,]*)|((?:[^<>\s])+['.?!,]*\w?|<br\s?\/?>)/gi,s=a.exec(e);s&&t!==a.lastIndex;)t=a.lastIndex,s[5]?o.push(s[5]):s[1]&&o.push({tag:s[1],attribs:s[2],content:s[3],after:s[4]}),s=a.exec(e);for(i=0;i<o.length;i++)"string"!=typeof o[i]&&o[i].content&&(o[i].content=r(o[i].content));return o}function i(t,n,r){t=t.replace(r,"");var i=function(n,o){var a,s,l,u,c="";for(u=0;u<n.length;u++)a=n[u],l=e.trim(t).split(" ").length,e.trim(t).length&&("string"==typeof a?(/<br\s*\/?>/.test(a)||(1===l&&e.trim(t).length<=a.length?(a=t,("p"===o||"div"===o)&&(a+=r),t=""):t=t.replace(a,"")),c+=e.trim(a)+(u===n.length-1||1>=l?"":" ")):(s=i(a.content,a.tag),a.after&&(t=t.replace(a.after,"")),s&&(a.after||(a.after=" "),c+="<"+a.tag+a.attribs+">"+s+"</"+a.tag+">"+a.after)));return c},o=i(n);return o.slice(o.length-r.length)===r&&(o+=r),o}function o(){var t,o,a,l,c,d,f=this.data("trunk8"),p=f.settings,h=p.width,m=p.side,g=p.fill,v=p.parseHTML,y=s.getLineHeight(this)*p.lines,w=f.original_text,b=w.length,x="";if(this.html(w),c=this.text(),v&&n(w)!==w&&(d=r(w),w=n(w),b=w.length),h===u.auto){if(this.height()<=y)return;for(t=0,o=b-1;o>=t;)a=t+(o-t>>1),l=s.eatStr(w,m,b-a,g),v&&d&&(l=i(l,d,g)),this.html(l),this.height()>y?o=a-1:(t=a+1,x=x.length>l.length?x:l);this.html(""),this.html(x),p.tooltip&&this.attr("title",c)}else isNaN(h)?e.error('Invalid width "'+h+'".'):(a=b-h,l=s.eatStr(w,m,a,g),this.html(l),p.tooltip&&this.attr("title",w))}var a,s,l={center:"center",left:"left",right:"right"},u={auto:"auto"};t.prototype.updateSettings=function(t){this.settings=e.extend(this.settings,t)},a={init:function(n){return this.each(function(){var r=e(this),i=r.data("trunk8");i||r.data("trunk8",i=new t(this)),i.updateSettings(n),o.call(r)})},update:function(t){return this.each(function(){var n=e(this);t&&(n.data("trunk8").original_text=t),o.call(n)})},revert:function(){return this.each(function(){var t=e(this).data("trunk8").original_text;e(this).html(t)})},getSettings:function(){return e(this.get(0)).data("trunk8").settings}},s={eatStr:function(t,n,r,i){var o,a,u=t.length,c=s.eatStr.generateKey.apply(null,arguments);if(s.eatStr.cache[c])return s.eatStr.cache[c];if(("string"!=typeof t||0===u)&&e.error('Invalid source string "'+t+'".'),0>r||r>u)e.error('Invalid bite size "'+r+'".');else if(0===r)return t;switch("string"!=typeof(i+"")&&e.error("Fill unable to be converted to a string."),n){case l.right:return s.eatStr.cache[c]=e.trim(t.substr(0,u-r))+i;case l.left:return s.eatStr.cache[c]=i+e.trim(t.substr(r));case l.center:return o=u>>1,a=r>>1,s.eatStr.cache[c]=e.trim(s.eatStr(t.substr(0,u-o),l.right,r-a,""))+i+e.trim(s.eatStr(t.substr(u-o),l.left,a,""));default:e.error('Invalid side "'+n+'".')}},getLineHeight:function(t){var n=e(t).css("float");"none"!==n&&e(t).css("float","none");var r=e(t).css("position");"absolute"===r&&e(t).css("position","static");var i,o=e(t).html(),a="line-height-test";return e(t).html("i").wrap('<div id="'+a+'" />'),i=e("#"+a).innerHeight(),e(t).html(o).css({"float":n,position:r}).unwrap(),i}},s.eatStr.cache={},s.eatStr.generateKey=function(){return Array.prototype.join.call(arguments,"")},e.fn.trunk8=function(t){return a[t]?a[t].apply(this,Array.prototype.slice.call(arguments,1
175)):"object"!=typeof t&&t?(e.error("Method "+t+" does not exist on jQuery.trunk8"),void 0):a.init.apply(this,arguments)},e.fn.trunk8.defaults={fill:"&hellip;",lines:1,side:l.right,tooltip:!0,width:u.auto,parseHTML:!1}}(jQuery),function(){var e=this,t=e._,n={},r=Array.prototype,i=Object.prototype,o=Function.prototype,a=r.push,s=r.slice,l=r.concat,u=i.toString,c=i.hasOwnProperty,d=r.forEach,f=r.map,p=r.reduce,h=r.reduceRight,m=r.filter,g=r.every,v=r.some,y=r.indexOf,w=r.lastIndexOf,b=Array.isArray,x=Object.keys,T=o.bind,C=function(e){return e instanceof C?e:this instanceof C?(this._wrapped=e,void 0):new C(e)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=C),exports._=C):e._=C,C.VERSION="1.6.0";var k=C.each=C.forEach=function(e,t,r){if(null==e)return e;if(d&&e.forEach===d)e.forEach(t,r);else if(e.length===+e.length){for(var i=0,o=e.length;o>i;i++)if(t.call(r,e[i],i,e)===n)return}else for(var a=C.keys(e),i=0,o=a.length;o>i;i++)if(t.call(r,e[a[i]],a[i],e)===n)return;return e};C.map=C.collect=function(e,t,n){var r=[];return null==e?r:f&&e.map===f?e.map(t,n):(k(e,function(e,i,o){r.push(t.call(n,e,i,o))}),r)};var S="Reduce of empty array with no initial value";C.reduce=C.foldl=C.inject=function(e,t,n,r){var i=arguments.length>2;if(null==e&&(e=[]),p&&e.reduce===p)return r&&(t=C.bind(t,r)),i?e.reduce(t,n):e.reduce(t);if(k(e,function(e,o,a){i?n=t.call(r,n,e,o,a):(n=e,i=!0)}),!i)throw new TypeError(S);return n},C.reduceRight=C.foldr=function(e,t,n,r){var i=arguments.length>2;if(null==e&&(e=[]),h&&e.reduceRight===h)return r&&(t=C.bind(t,r)),i?e.reduceRight(t,n):e.reduceRight(t);var o=e.length;if(o!==+o){var a=C.keys(e);o=a.length}if(k(e,function(s,l,u){l=a?a[--o]:--o,i?n=t.call(r,n,e[l],l,u):(n=e[l],i=!0)}),!i)throw new TypeError(S);return n},C.find=C.detect=function(e,t,n){var r;return _(e,function(e,i,o){return t.call(n,e,i,o)?(r=e,!0):void 0}),r},C.filter=C.select=function(e,t,n){var r=[];return null==e?r:m&&e.filter===m?e.filter(t,n):(k(e,function(e,i,o){t.call(n,e,i,o)&&r.push(e)}),r)},C.reject=function(e,t,n){return C.filter(e,function(e,r,i){return!t.call(n,e,r,i)},n)},C.every=C.all=function(e,t,r){t||(t=C.identity);var i=!0;return null==e?i:g&&e.every===g?e.every(t,r):(k(e,function(e,o,a){return(i=i&&t.call(r,e,o,a))?void 0:n}),!!i)};var _=C.some=C.any=function(e,t,r){t||(t=C.identity);var i=!1;return null==e?i:v&&e.some===v?e.some(t,r):(k(e,function(e,o,a){return i||(i=t.call(r,e,o,a))?n:void 0}),!!i)};C.contains=C.include=function(e,t){return null==e?!1:y&&e.indexOf===y?-1!=e.indexOf(t):_(e,function(e){return e===t})},C.invoke=function(e,t){var n=s.call(arguments,2),r=C.isFunction(t);return C.map(e,function(e){return(r?t:e[t]).apply(e,n)})},C.pluck=function(e,t){return C.map(e,C.property(t))},C.where=function(e,t){return C.filter(e,C.matches(t))},C.findWhere=function(e,t){return C.find(e,C.matches(t))},C.max=function(e,t,n){if(!t&&C.isArray(e)&&e[0]===+e[0]&&e.length<65535)return Math.max.apply(Math,e);var r=-1/0,i=-1/0;return k(e,function(e,o,a){var s=t?t.call(n,e,o,a):e;s>i&&(r=e,i=s)}),r},C.min=function(e,t,n){if(!t&&C.isArray(e)&&e[0]===+e[0]&&e.length<65535)return Math.min.apply(Math,e);var r=1/0,i=1/0;return k(e,function(e,o,a){var s=t?t.call(n,e,o,a):e;i>s&&(r=e,i=s)}),r},C.shuffle=function(e){var t,n=0,r=[];return k(e,function(e){t=C.random(n++),r[n-1]=r[t],r[t]=e}),r},C.sample=function(e,t,n){return null==t||n?(e.length!==+e.length&&(e=C.values(e)),e[C.random(e.length-1)]):C.shuffle(e).slice(0,Math.max(0,t))};var E=function(e){return null==e?C.identity:C.isFunction(e)?e:C.property(e)};C.sortBy=function(e,t,n){return t=E(t),C.pluck(C.map(e,function(e,r,i){return{value:e,index:r,criteria:t.call(n,e,r,i)}}).sort(function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(r>n||void 0===r)return-1}return e.index-t.index}),"value")};var D=function(e){return function(t,n,r){var i={};return n=E(n),k(t,function(o,a){var s=n.call(r,o,a,t);e(i,s,o)}),i}};C.groupBy=D(function(e,t,n){C.has(e,t)?e[t].push(n):e[t]=[n]}),C.indexBy=D(function(e,t,n){e[t]=n}),C.countBy=D(function(e,t){C.has(e,t)?e[t]++:e[t]=1}),C.sortedIndex=function(e,t,n,r){n=E(n);for(var i=n.call(r,t),o=0,a=e.length;a>o;){var s=o+a>>>1;n.call(r,e[s])<i?o=s+1:a=s}return o}
175,C.toArray=function(e){return e?C.isArray(e)?s.call(e):e.length===+e.length?C.map(e,C.identity):C.values(e):[]},C.size=function(e){return null==e?0:e.length===+e.length?e.length:C.keys(e).length},C.first=C.head=C.take=function(e,t,n){return null==e?void 0:null==t||n?e[0]:0>t?[]:s.call(e,0,t)},C.initial=function(e,t,n){return s.call(e,0,e.length-(null==t||n?1:t))},C.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))},C.rest=C.tail=C.drop=function(e,t,n){return s.call(e,null==t||n?1:t)},C.compact=function(e){return C.filter(e,C.identity)};var M=function(e,t,n){return t&&C.every(e,C.isArray)?l.apply(n,e):(k(e,function(e){C.isArray(e)||C.isArguments(e)?t?a.apply(n,e):M(e,t,n):n.push(e)}),n)};C.flatten=function(e,t){return M(e,t,[])},C.without=function(e){return C.difference(e,s.call(arguments,1))},C.partition=function(e,t){var n=[],r=[];return k(e,function(e){(t(e)?n:r).push(e)}),[n,r]},C.uniq=C.unique=function(e,t,n,r){C.isFunction(t)&&(r=n,n=t,t=!1);var i=n?C.map(e,n,r):e,o=[],a=[];return k(i,function(n,r){(t?r&&a[a.length-1]===n:C.contains(a,n))||(a.push(n),o.push(e[r]))}),o},C.union=function(){return C.uniq(C.flatten(arguments,!0))},C.intersection=function(e){var t=s.call(arguments,1);return C.filter(C.uniq(e),function(e){return C.every(t,function(t){return C.contains(t,e)})})},C.difference=function(e){var t=l.apply(r,s.call(arguments,1));return C.filter(e,function(e){return!C.contains(t,e)})},C.zip=function(){for(var e=C.max(C.pluck(arguments,"length").concat(0)),t=new Array(e),n=0;e>n;n++)t[n]=C.pluck(arguments,""+n);return t},C.object=function(e,t){if(null==e)return{};for(var n={},r=0,i=e.length;i>r;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n},C.indexOf=function(e,t,n){if(null==e)return-1;var r=0,i=e.length;if(n){if("number"!=typeof n)return r=C.sortedIndex(e,t),e[r]===t?r:-1;r=0>n?Math.max(0,i+n):n}if(y&&e.indexOf===y)return e.indexOf(t,n);for(;i>r;r++)if(e[r]===t)return r;return-1},C.lastIndexOf=function(e,t,n){if(null==e)return-1;var r=null!=n;if(w&&e.lastIndexOf===w)return r?e.lastIndexOf(t,n):e.lastIndexOf(t);for(var i=r?n:e.length;i--;)if(e[i]===t)return i;return-1},C.range=function(e,t,n){arguments.length<=1&&(t=e||0,e=0),n=arguments[2]||1;for(var r=Math.max(Math.ceil((t-e)/n),0),i=0,o=new Array(r);r>i;)o[i++]=e,e+=n;return o};var L=function(){};C.bind=function(e,t){var n,r;if(T&&e.bind===T)return T.apply(e,s.call(arguments,1));if(!C.isFunction(e))throw new TypeError;return n=s.call(arguments,2),r=function(){if(!(this instanceof r))return e.apply(t,n.concat(s.call(arguments)));L.prototype=e.prototype;var i=new L;L.prototype=null;var o=e.apply(i,n.concat(s.call(arguments)));return Object(o)===o?o:i}},C.partial=function(e){var t=s.call(arguments,1);return function(){for(var n=0,r=t.slice(),i=0,o=r.length;o>i;i++)r[i]===C&&(r[i]=arguments[n++]);for(;n<arguments.length;)r.push(arguments[n++]);return e.apply(this,r)}},C.bindAll=function(e){var t=s.call(arguments,1);if(0===t.length)throw new Error("bindAll must be passed function names");return k(t,function(t){e[t]=C.bind(e[t],e)}),e},C.memoize=function(e,t){var n={};return t||(t=C.identity),function(){var r=t.apply(this,arguments);return C.has(n,r)?n[r]:n[r]=e.apply(this,arguments)}},C.delay=function(e,t){var n=s.call(arguments,2);return setTimeout(function(){return e.apply(null,n)},t)},C.defer=function(e){return C.delay.apply(C,[e,1].concat(s.call(arguments,1)))},C.throttle=function(e,t,n){var r,i,o,a=null,s=0;n||(n={});var l=function(){s=n.leading===!1?0:C.now(),a=null,o=e.apply(r,i),r=i=null};return function(){var u=C.now();s||n.leading!==!1||(s=u);var c=t-(u-s);return r=this,i=arguments,0>=c?(clearTimeout(a),a=null,s=u,o=e.apply(r,i),r=i=null):a||n.trailing===!1||(a=setTimeout(l,c)),o}},C.debounce=function(e,t,n){var r,i,o,a,s,l=function(){var u=C.now()-a;t>u?r=setTimeout(l,t-u):(r=null,n||(s=e.apply(o,i),o=i=null))};return function(){o=this,i=arguments,a=C.now();var u=n&&!r;return r||(r=setTimeout(l,t)),u&&(s=e.apply(o,i),o=i=null),s}},C.once=function(e){var t,n=!1;return function(){return n?t:(n=!0,t=e.apply(this,arguments),e=null,t)}},C.wrap=function(e,t){return C.partial(t,e)},C.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]}},C.after=function(e,t){return function(){return--e<1?t.apply(this,arguments):void 0}},C.keys=function(e){if(!C.isObject(e))return[];if(x)return x(e);var t=[];
175for(var n in e)C.has(e,n)&&t.push(n);return t},C.values=function(e){for(var t=C.keys(e),n=t.length,r=new Array(n),i=0;n>i;i++)r[i]=e[t[i]];return r},C.pairs=function(e){for(var t=C.keys(e),n=t.length,r=new Array(n),i=0;n>i;i++)r[i]=[t[i],e[t[i]]];return r},C.invert=function(e){for(var t={},n=C.keys(e),r=0,i=n.length;i>r;r++)t[e[n[r]]]=n[r];return t},C.functions=C.methods=function(e){var t=[];for(var n in e)C.isFunction(e[n])&&t.push(n);return t.sort()},C.extend=function(e){return k(s.call(arguments,1),function(t){if(t)for(var n in t)e[n]=t[n]}),e},C.pick=function(e){var t={},n=l.apply(r,s.call(arguments,1));return k(n,function(n){n in e&&(t[n]=e[n])}),t},C.omit=function(e){var t={},n=l.apply(r,s.call(arguments,1));for(var i in e)C.contains(n,i)||(t[i]=e[i]);return t},C.defaults=function(e){return k(s.call(arguments,1),function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])}),e},C.clone=function(e){return C.isObject(e)?C.isArray(e)?e.slice():C.extend({},e):e},C.tap=function(e,t){return t(e),e};var $=function(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return e===t;e instanceof C&&(e=e._wrapped),t instanceof C&&(t=t._wrapped);var i=u.call(e);if(i!=u.call(t))return!1;switch(i){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 r[o]==t;var a=e.constructor,s=t.constructor;if(a!==s&&!(C.isFunction(a)&&a instanceof a&&C.isFunction(s)&&s instanceof s)&&"constructor"in e&&"constructor"in t)return!1;n.push(e),r.push(t);var l=0,c=!0;if("[object Array]"==i){if(l=e.length,c=l==t.length)for(;l--&&(c=$(e[l],t[l],n,r)););}else{for(var d in e)if(C.has(e,d)&&(l++,!(c=C.has(t,d)&&$(e[d],t[d],n,r))))break;if(c){for(d in t)if(C.has(t,d)&&!l--)break;c=!l}}return n.pop(),r.pop(),c};C.isEqual=function(e,t){return $(e,t,[],[])},C.isEmpty=function(e){if(null==e)return!0;if(C.isArray(e)||C.isString(e))return 0===e.length;for(var t in e)if(C.has(e,t))return!1;return!0},C.isElement=function(e){return!(!e||1!==e.nodeType)},C.isArray=b||function(e){return"[object Array]"==u.call(e)},C.isObject=function(e){return e===Object(e)},k(["Arguments","Function","String","Number","Date","RegExp"],function(e){C["is"+e]=function(t){return u.call(t)=="[object "+e+"]"}}),C.isArguments(arguments)||(C.isArguments=function(e){return!(!e||!C.has(e,"callee"))}),"function"!=typeof/./&&(C.isFunction=function(e){return"function"==typeof e}),C.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))},C.isNaN=function(e){return C.isNumber(e)&&e!=+e},C.isBoolean=function(e){return e===!0||e===!1||"[object Boolean]"==u.call(e)},C.isNull=function(e){return null===e},C.isUndefined=function(e){return void 0===e},C.has=function(e,t){return c.call(e,t)},C.noConflict=function(){return e._=t,this},C.identity=function(e){return e},C.constant=function(e){return function(){return e}},C.property=function(e){return function(t){return t[e]}},C.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}},C.times=function(e,t,n){for(var r=Array(Math.max(0,e)),i=0;e>i;i++)r[i]=t.call(n,i);return r},C.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},C.now=Date.now||function(){return(new Date).getTime()};var A={escape:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;"}};A.unescape=C.invert(A.escape);var N={escape:new RegExp("["+C.keys(A.escape).join("")+"]","g"),unescape:new RegExp("("+C.keys(A.unescape).join("|")+")","g")};C.each(["escape","unescape"],function(e){C[e]=function(t){return null==t?"":(""+t).replace(N[e],function(t){return A[e][t]})}}),C.result=function(e,t){if(null==e)return void 0;var n=e[t];return C.isFunction(n)?n.call(e):n},C.mixin=function(e){k(C.functions(e),function(t){var n=C[t]=e[t];C.prototype[t]=function(){var e=[this._wrapped];return a.apply(e,arguments),I.call(this,n.apply(C,e))}})};var P=0;C.uniqueId=function(e){var t=++P+"";return e?e+t:t},C.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var O=/(.)^/,j={"'":"'","\\":"\\","\r":"r","\n":"n","	":"t","\u2028":"u2028","\u2029":"u2029"},H=/\\|'|\r|\n|\t|\u2028|\u2029/g;C.template=function(e,t,n){var r;n=C.defaults({},n,C.templateSettings);var i=new RegExp([(n.escape||O).source,(n.interpolate||O).source,(n.evaluate||O).source].join("|")+"|$","g"),o=0,a="__p+='";e.replace(i,function(t,n,r,i,s){return a+=e.slice(o,s).replace(H,function(e){return"\\"+j[e]}),n&&(a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'"),r&&(a+="'+\n((__t=("+r+"))==null?'':__t)+\n'"),i&&(a+="';\n"+i+"\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{r=new Function(n.variable||"obj","_",a)}catch(s){throw s.source=a,s}if(t)return r(t,C);var l=function(e){return r.call(this,e,C)};
175return l.source="function("+(n.variable||"obj")+"){\n"+a+"}",l},C.chain=function(e){return C(e).chain()};var I=function(e){return this._chain?C(e).chain():e};C.mixin(C),k(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=r[e];C.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!=e&&"splice"!=e||0!==n.length||delete n[0],I.call(this,n)}}),k(["concat","join","slice"],function(e){var t=r[e];C.prototype[e]=function(){return I.call(this,t.apply(this._wrapped,arguments))}}),C.extend(C.prototype,{chain:function(){return this._chain=!0,this},value:function(){return this._wrapped}}),"function"==typeof define&&define.amd&&define("underscore",[],function(){return C})}.call(this),function(){!function(e){var t;return t=function(){function t(t){this.$el=e(t),this.$arrowLeft=this.$el.find(".arrow-left"),this.$arrowRight=this.$el.find(".arrow-right"),this.$arrows=this.$el.find(".arrow").css({display:"none"}),this.$swiperContainer=this.$el.find(".swiper-container"),this.$swiperSlides=this.$el.find(".swiper-slide"),this.$swiperSlides.length>1&&this.initSlider(),this.$el.css({visibility:"visible"})}return t.prototype.initSlider=function(){var t,n;return this.$arrows.css({display:"block"}),this.$original=this.$swiperContainer.clone(),this.swiperSlideWidth=this.$swiperSlides.outerWidth(),this.padding=parseInt(this.$swiperSlides.css("padding-left"))+parseInt(this.$swiperSlides.css("padding-right")),this.swiperWrapperWidth=this.swiperSlideWidth*this.$swiperSlides.length-this.padding,this.swiperDefaultOptions={autoplay:5e3,calculateHeight:!0,centeredSlides:!0,loopedSlides:this.$swiperSlides.length,slidesPerView:"auto"},t=this.calcFirstIndex(),this.swiper=this.$swiperContainer.swiper(_.extend({loop:this.isSwiperLoop()},this.swiperDefaultOptions)),this.swiper.swipeTo(t,0),this.$arrowLeft.on("click",function(e){return function(){return e.swiper.swipePrev()}}(this)),this.$arrowRight.on("click",function(e){return function(){return e.swiper.swipeNext()}}(this)),n=_.debounce(_.bind(this.resize,this),100),e(window).on("resize",n),this.resize()},t.prototype.calcFirstIndex=function(){var e,t,n;return e=this.$swiperContainer.width(),n=.5*e-.5*(this.swiperSlideWidth-this.padding),t=Math.floor(n/this.swiperSlideWidth),this.swiperSlideWidth*this.$swiperSlides.length<e?Math.floor(.5*e/this.swiperSlideWidth):t},t.prototype.isSwiperLoop=function(){return this.$swiperContainer.width()<=this.swiperWrapperWidth},t.prototype.checkUpdateSwiper=function(){return"undefined"==typeof this.swiper?!1:this.swiper.params.loop!==this.isSwiperLoop()},t.prototype.resize=function(){var e;return this.checkUpdateSwiper()&&(this.swiper.destroy(),this.$swiperContainer.after(this.$original.clone()),this.$swiperContainer.remove(),this.$swiperContainer=this.$el.find(".swiper-container"),e=this.calcFirstIndex(),this.swiper=this.$swiperContainer.swiper(_.extend({loop:this.isSwiperLoop()},this.swiperDefaultOptions)),this.swiper.swipeTo(e,0)),this.swiperWrapperWidth<=this.$swiperContainer.width()?(this.swiper.params.onlyExternal=!0,this.$arrows.css({display:"none"})):(this.swiper.params.onlyExternal=!1,this.$arrows.css({display:"block"}))},t}(),e.fn.responsiveSlider=function(n){return this.each(function(){var r,i,o;return r=e(this),i=r.data("responsive-slider"),o="object"==typeof n&&n,i||r.data("responsive-slider",i=new t(this,o)),r})}}(window.$)}.call(this),function(){window.console&&console.log||!function(){var e,t,n,r,i;for(r=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={},i=[];t--;)i.push(e[n[t]]=r);return i}()}.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,r,i){var o,a,s,l,u,c;return null==r&&(r=[]),null==i&&(i=null),u='<div class="alert alert-danger">',"object"===e.type(t)?e.each(t,function(){return function(t,n){return e.showErrorMessage(n,r.concat([t]),i)}}(this)):("Crowdfunding::Order"===r[0]&&(r[0]=r[0].split("::").join("_").toLowerCase()),c=r.join("_").toLowerCase().replace(/(.*)::/,""),i||(i=e("body")),l=i.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=i.find(".panel-body, .modal
175-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,r;return this.authorized?(r=1e3,this.$image.each(function(t,n){var i;return i=e(n),i.attr("src",i.data("src")),i.data("wait")>r?r=parseInt(i.data("wait")):void 0}),n=e(t.currentTarget),n.prop("disabled",!0),setTimeout(function(e){return function(){return e.$form.submit()}}(this),r),!1):this.$form.submit()},e.fn.gacha=function(n){return this.each(function(){var r,i,o;return r=e(this),i=r.data("gacha"),o="object"==typeof n&&n,i||r.data("gacha",i=new t(this,o)),r})},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,r,i;return r=$(t),n=r.find(".collapse").collapse({toggle:!1}),i=r.find("[data-toggle=radio-collapse]"),i.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,r,i,o;return i=$(t),r=i.find(".collapse"),o=i.find("[data-toggle=check-collapse]"),n=i.find("[type=checkbox]"),n.prop("checked")?r.collapse({toggle:!0}):r.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,r,i,o,a;return r=$(t),n=r.find(".user_profile_country_id select"),i=r.find(".user_profile_global_state"),a=i.find("input"),o=i.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,r,i,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?(i=parseInt(n,10),r=parseInt(t,10),e=a.getUTCFullYear()-o,(n>s||i===s&&r>a.getDate())&&e--,$(".birthday-age").text(e)):void 0})})}.call(this),function(){!function(e){var t;return t={"zip-auto":"郵便番号に該当する住所が見つかりませんでした"},e.zip2addr=function(n,r){var i,o,a,s,l,u,c,d,f,p,h;try{if(c=[n+"[zip1]",n+"[zip2]",n+"[prefecture_id]",n+"[city]",n+"[address1]"],r)for(l=p=0,h=c.length;h>p;l=++p)u=c[l],c[l]=u.replace(/\[(.*)\]/,"["+r+"_$1]");if(a=e.map(c,function(t){return e('[name="'+t+'"]').last()[0]}),i=e(a[0]),o=e(a[1]),d=i.val(),f=o.val(),3===d.length&&4===f.length)return i.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-Za-z0-9]/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(r){var i;return i=r[AjaxZip3.nzip],i?n(r):e.showErrorMessage(t)},this)),e(".zip-auto").on("click",function(t){var n,r,i;return n=e(t.currentTarget),n.closest(".form-group").find(".alert-danger").remove(),r=n.data("model"),i=n.data("shipping-type"),e.zip2addr(r,i),!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 r,i;return this.spinner.stop(),i=n.result,i.errors?this._showErrors(i.errors):(r=this.$preview.find("img"),r.length||(r=e("
175<img>").prependTo(this.$preview)),r.attr("class","img-responsive"),r.attr("src",i.preview),r.data("original",i.src),this.$removeCheckbox.prop("checked",!1),this.$cache.length&&this.$cache.val(i.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")},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,r;return n=e(this),r=n.data("ajax-file-uploader"),r||n.data("ajax-file-uploader",r=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 r,i,o;return r=e(this),i=r.data("audio-player"),o="object"==typeof n&&n,i||r.data("audio-player",i=new t(this,o)),r})}}(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
175dFormat:!1,userInvalidated:!1,iso:!1}}function r(e,t){function n(){dt.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}var r=!0;return u(function(){return r&&(n(),r=!1),t.apply(this,arguments)},t)}function i(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,r=t.quarter||0,i=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=+i+3*r+12*n,this._data={},this._bubble()}function u(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);
176return 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 r=""+Math.abs(e),i=e>=0;r.length<t;)r="0"+r;return(i?n?"+":"":"-")+r}function p(e,t,n,r){var i=t._milliseconds,o=t._days,a=t._months;r=null==r?!0:r,i&&e._d.setTime(+e._d+i*n),o&&at(e,"Date",ot(e,"Date")+o*n),a&&it(e,ot(e,"Month")+a*n),r&&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 r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;i>r;r++)(n&&e[r]!==t[r]||!n&&b(e[r])!==b(t[r]))&&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,r={};for(n in e)e.hasOwnProperty(n)&&(t=v(n),t&&(r[t]=e[n]));return r}function w(t){var n,r;if(0===t.indexOf("week"))n=7,r="day";else{if(0!==t.indexOf("month"))return;n=12,r="month"}dt[t]=function(i,o){var a,s,l=dt.fn._lang[t],u=[];if("number"==typeof i&&(o=i,i=e),s=function(e){var t=dt().utc().set(r,e);return l.call(dt.fn._lang,t,i||"")},null!=o)return s(o);for(a=0;n>a;a++)u.push(s(a));return u}}function b(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=t>=0?Math.floor(t):Math.ceil(t)),n}function x(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function T(e,t,n){return et(dt([e,11,31+t-n]),t,n).week}function C(e){return k(e)?366:365}function k(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[wt]<1||e._a[wt]>x(e._a[vt],e._a[yt])?wt:e._a[bt]<0||e._a[bt]>23?bt:e._a[xt]<0||e._a[xt]>59?xt:e._a[Tt]<0||e._a[Tt]>59?Tt:e._a[Ct]<0||e._a[Ct]>999?Ct:-1,e._pf._overflowDayOfYear&&(vt>t||t>wt)&&(t=wt),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 D(e,t){return t._isUTC?dt(e).zone(t._offset||0):dt(e).local()}function M(e,t){return t.abbr=e,kt[e]||(kt[e]=new a),kt[e].set(t),kt[e]}function L(e){delete kt[e]}function $(e){var t,n,r,i,o=0,a=function(e){if(!kt[e]&&_t)try{require("./lang/"+e)}catch(t){}return kt[e]};if(!e)return dt.fn._lang;if(!h(e)){if(n=a(e))return n;e=[e]}for(;o<e.length;){for(i=E(e[o]).split("-"),t=i.length,r=E(e[o+1]),r=r?r.split("-"):null;t>0;){if(n=a(i.slice(0,t).join("-")))return n;if(r&&r.length>=t&&g(i,r,!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 N(e){var t,n,r=e.match(Lt);for(t=0,n=r.length;n>t;t++)r[t]=sn[r[t]]?sn[r[t]]:A(r[t]);return function(i){var o="";for(t=0;n>t;t++)o+=r[t]instanceof Function?r[t].call(i,e):r[t];return o}}function P(e,t){return e.isValid()?(t=O(t,e.lang()),nn[t]||(nn[t]=N(t)),nn[t](e)):e.lang().invalidDate()}function O(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for($t.lastIndex=0;r>=0&&$t.test(e);)e=e.replace($t,n),$t.lastIndex=0,r-=1;return e}function j(e,t){var n,r=t._strict;switch(e){case"Q":return Rt;case"DDDD":return Yt;case"YYYY":case"GGGG":case"gggg":return r?qt:Pt;case"Y":case"G":case"g":return Vt;case"YYYYYY":case"YYYYY":case"GGGGG":case"ggggg":return r?Gt:Ot;case"S":if(r)return Rt;case"SS":if(r)return Bt;case"SSS":if(r)return Yt;case"DDD":return Nt;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return Ht;case"a":case"A":return $(t._l)._meridiemParse;case"X":return Wt;case"Z":case"ZZ":return It;case"T":return Ft;case"SSSS":return jt;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case"hh":case"mm":case"ss":case"ww":case"WW":return r?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 zt;default:return n=new RegExp(q(Y(e.replace("\\","")),"i"))}}function H(e){e=e||"";var t=e.match(It)||[],n=t[t.length-1]||[],r=(n+"").match(Kt)||["-",0,0],i=+(60*r[1])+b(r[2]);return"+"===r[0]?-i:i}function I(e,t,n){var r,i=n._a;switch(e){case"Q":null!=t&&(i[yt]=3*(b(t)-1));break;case"M":case"MM":null!=t&&(i[yt]=b(t)-1);break;case"MMM":case"MMMM":r=$(n._l).monthsParse(t),null!=r?i[yt]=r:n._pf.invali
176dMonth=t;break;case"D":case"DD":null!=t&&(i[wt]=b(t));break;case"Do":null!=t&&(i[wt]=b(parseInt(t,10)));break;case"DDD":case"DDDD":null!=t&&(n._dayOfYear=b(t));break;case"YY":i[vt]=dt.parseTwoDigitYear(t);break;case"YYYY":case"YYYYY":case"YYYYYY":i[vt]=b(t);break;case"a":case"A":n._isPm=$(n._l).isPM(t);break;case"H":case"HH":case"h":case"hh":i[bt]=b(t);break;case"m":case"mm":i[xt]=b(t);break;case"s":case"ss":i[Tt]=b(t);break;case"S":case"SS":case"SSS":case"SSSS":i[Ct]=b(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":r=$(n._l).weekdaysParse(t),null!=r?(n._w=n._w||{},n._w.d=r):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]=b(t));break;case"gg":case"GG":n._w=n._w||{},n._w[e]=dt.parseTwoDigitYear(t)}}function F(e){var n,r,i,o,a,s,l,u;n=e._w,null!=n.GG||null!=n.W||null!=n.E?(a=1,s=4,r=t(n.GG,e._a[vt],et(dt(),1,4).year),i=t(n.W,1),o=t(n.E,1)):(u=$(e._l),a=u._week.dow,s=u._week.doy,r=t(n.gg,e._a[vt],et(dt(),a,s).year),i=t(n.w,1),null!=n.d?(o=n.d,a>o&&++i):o=null!=n.e?n.e+a:a),l=tt(r,i,o,s,a),e._a[vt]=l.year,e._dayOfYear=l.dayOfYear}function W(e){var n,r,i,o,a=[];if(!e._d){for(i=R(e),e._w&&null==e._a[wt]&&null==e._a[yt]&&F(e),e._dayOfYear&&(o=t(e._a[vt],i[vt]),e._dayOfYear>C(o)&&(e._pf._overflowDayOfYear=!0),r=Z(o,0,e._dayOfYear),e._a[yt]=r.getUTCMonth(),e._a[wt]=r.getUTCDate()),n=0;3>n&&null==e._a[n];++n)e._a[n]=a[n]=i[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 z(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],W(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,r,i,o,a=$(e._l),s=""+e._i,l=s.length,u=0;for(r=O(e._f,a).match(Lt)||[],t=0;t<r.length;t++)i=r[t],n=(s.match(j(i,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[i]?(n?e._pf.empty=!1:e._pf.unusedTokens.push(i),I(i,n,e)):e._strict&&!n&&e._pf.unusedTokens.push(i);e._pf.charsLeftOver=l-u,s.length>0&&e._pf.unusedInput.push(s),e._isPm&&e._a[bt]<12&&(e._a[bt]+=12),e._isPm===!1&&12===e._a[bt]&&(e._a[bt]=0),W(e),S(e)}function Y(e){return e.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})}function q(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function G(e){var t,r,i,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==i||i>a)&&(i=a,r=t));u(e,r||t)}function V(e){var t,n,r=e._i,i=Ut.exec(r);if(i){for(e._pf.iso=!0,t=0,n=Zt.length;n>t;t++)if(Zt[t][1].exec(r)){e._f=Zt[t][0]+(i[6]||" ");break}for(t=0,n=Qt.length;n>t;t++)if(Qt[t][1].exec(r)){e._f+=Qt[t][0];break}r.match(It)&&(e._f+="Z"),B(e)}else dt.createFromInputFallback(e)}function U(t){var n=t._i,r=Et.exec(n);n===e?t._d=new Date:r?t._d=new Date(+r[1]):"string"==typeof n?V(t):h(n)?(t._a=n.slice(0),W(t)):m(n)?t._d=new Date(+n):"object"==typeof n?z(t):"number"==typeof n?t._d=new Date(n):dt.createFromInputFallback(t)}function X(e,t,n,r,i,o,a){var s=new Date(e,t,n,r,i,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 K(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function J(e,t,n){var r=gt(Math.abs(e)/1e3),i=gt(r/60),o=gt(i/60),a=gt(o/24),s=gt(a/365),l=r<rn.s&&["s",r]||1===i&&["m"]||i<rn.m&&["mm",i]||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,K.apply({},l)}function et(e,t,n){var r,i=n-t,o=n-e.day();return o>i&&(o-=7),i-7>o&&(o+=7),r=dt(e).add("d",o),{week:Math.ceil(r.dayOfYear()/7),year:r.year()}}function tt(e,t,n,r,i){var o,a,s=Z(e,0,1).getUTCDay();return s=0===s?7:s,n=null!=n?n:i,o=i-s+(s>r?7:0)-(i>s?7:0),a=7*(t-1)+(n-i)+o+1,{year:a>0?e:e-1,dayOfYear:a>0?a:C(e-1)+a}}function nt(t){var n=t._i,r=t._f;
176return null===n||r===e&&""===n?dt.invalid({nullInput:!0}):("string"==typeof n&&(t._i=n=$().preparse(n)),dt.isMoment(n)?(t=c(n),t._d=new Date(+n._d)):r?h(r)?G(t):B(t):U(t),new s(t))}function rt(e,t){var n,r;if(1===t.length&&h(t[0])&&(t=t[0]),!t.length)return dt();for(n=t[0],r=1;r<t.length;++r)t[r][e](n)&&(n=t[r]);return n}function it(e,t){var n;return"string"==typeof t&&(t=e.lang().monthsParse(t),"number"!=typeof t)?e:(n=Math.min(e.date(),x(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?it(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?r("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,wt=2,bt=3,xt=4,Tt=5,Ct=6,kt={},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,Dt=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Mt=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,Lt=/(\[[^\[]*\])|(\\)?(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,$t=/(\[[^\[]*\])|(\\)?(LT|LL?L?L?|l{1,4})/g,At=/\d\d?/,Nt=/\d{1,3}/,Pt=/\d{1,4}/,Ot=/[+\-]?\d{1,6}/,jt=/\d+/,Ht=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,It=/Z|[\+\-]\d\d:?\d\d/gi,Ft=/T/i,Wt=/[\+\-]?\d+(\.\d{1,3})?/,zt=/\d{1,2}/,Rt=/\d/,Bt=/\d\d/,Yt=/\d{3}/,qt=/\d{4}/,Gt=/[+-]?\d{6}/,Vt=/[+-]?\d+/,Ut=/^\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/]],Kt=/([\+\-]|\d\d)/gi,Jt=("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 b(this.milliseconds()/100)},SS:function(){return f(b(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(b(e/60),2)+":"+f(b(e)%60,2)},ZZ:function(){var e=-this.zone(),t="+";return 0>e&&(e=-e,t="-"),t+f(b(e/60),2)+f(b(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]=i(sn[pt],2);for(sn.DDDD=i(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,r;for(this._monthsParse||(this._monthsParse=[]),t=0;12>t;t++)if(this._monthsParse[t]||(n=dt.utc([2e3,t]),r="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[t]=new RegExp(r.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,r;for(this._weekdaysParse||(this._weekdaysParse=[]),t=0;7>t;t++)if(this._weekdaysParse[t]||(n=dt([2e3,1]).day(t),r="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[t]=new RegExp(r.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,r){var i=this._relativeTime[n];return"function"==typeof i?i(e,t,n,r):i.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,r,i,o){var a;return"boolean"==typeof i&&(o=i,i=e),a={},a._isAMomentObject=!0,a._i=t,a._f=r,a._l=i,a._strict=o,a._isUTC=!1,a._pf=n(),nt(a)},dt.suppressDeprecationWarnings=!1,dt.createFromInputFallback=r("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 rt("isBefore",e)},dt.max=function(){var e=[].slice.call(arguments,0);return rt("isAfter",e)},dt.utc=function(t,r,i,o){var a;return"boolean"==typeof i&&(o=i,i=e),a={},a._isAMomentObject=!0,a._useUTC=!0,a._isUTC=!0,a._l=i,a._i=t,a._f=r,a._strict=o,a._pf=n(),nt(a).utc()},dt.unix=function(e){return dt(1e3*e)},dt.duration=function(e,t){var n,r,i,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=Dt.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:b(a[wt])*n,h:b(a[bt])*n,m:b(a[xt])*n,s:b(a[Tt])*n,ms:b(a[Ct])*n}):(a=Mt.exec(e))&&(n="-"===a[1]?-1:1,i=function(e){var t=e&&parseFloat(e.replace(",","."));return(isNaN(t)?0:t)*n},o={y:i(a[2]),M:i(a[3]),d:i(a[4]),h:i(a[5]),m:i(a[6]),s:i(a[7]),w:i(a[8])}
176),r=new l(o),dt.isDuration(e)&&e.hasOwnProperty("_lang")&&(r._lang=e._lang),r},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?M(E(e),t):null===t?(L(e),e="en"):kt[e]||$(e),n=dt.duration.fn._lang=dt.fn._lang=$(e),n._abbr):dt.fn._lang._abbr},dt.langData=function(e){return e&&e._lang&&e._lang._abbr&&(e=e._lang._abbr),$(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)w(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 b(e)+(b(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?P(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):P(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=P(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 r,i,o=D(e,this),a=6e4*(this.zone()-o.zone());return t=v(t),"year"===t||"month"===t?(r=432e5*(this.daysInMonth()+o.daysInMonth()),i=12*(this.year()-o.year())+(this.month()-o.month()),i+=(this-dt(this).startOf("month")-(o-dt(o).startOf("month")))/r,i-=6e4*(this.zone()-dt(this).startOf("month").zone()-(o.zone()-dt(o).startOf("month").zone()))/r,"year"===t&&(i/=12)):(r=this-o,i="second"===t?r/1e3:"minute"===t?r/6e4:"hour"===t?r/36e5:"day"===t?(r-a)/864e5:"week"===t?(r-a)/6048e5:r),n?i:d(i)},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=D(t,this).startOf("day"),r=this.diff(n,"days",!0),i=-6>r?"sameElse":-1>r?"lastWeek":0>r?"lastDay":1>r?"sameDay":2>r?"nextDay":7>r?"nextWeek":"sameElse";return this.format(this.lang().calendar(i,this))},isLeapYear:function(){return k(this.year())},isDST:function(){return this.zone()<this.clone().month(0).zone()||this.zone()<this.clone().month(5).zone()},day:function(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)===+D(e,this).startOf(t)},min:r("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:r("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 x(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 T(this.year(),1,4)},weeksInYear:function(){var e=this._lang._week;return T(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=$(t),this)}}
176),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=r("dates accessor is deprecated. Use date instead.",st("Date",!0)),dt.fn.year=st("FullYear",!0),dt.fn.years=r("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,r,i=this._milliseconds,o=this._days,a=this._months,s=this._data;s.milliseconds=i%1e3,e=d(i/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,r=d(a/12),s.years=r},weeks:function(){return d(this.days()/7)},valueOf:function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*b(this._months/12)},humanize:function(e){var t=+this,n=J(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()),r=Math.abs(this.hours()),i=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":"")+(r||i||o?"T":"")+(r?r+"H":"")+(i?i+"M":"")+(o?o+"S":""):"P0D"}});for(pt in Jt)Jt.hasOwnProperty(pt)&&(ut(pt,Jt[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===b(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 r(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 i(e){o(Et,e)}function o(t){function n(n,r){e.isPlainObject(r)&&e.isPlainObject(t[n])&&!a(n)?t[n]=o({},t[n],r):void 0!==r&&(t[n]=r)}for(var r=1;r<arguments.length;r++)e.each(arguments[r],n);return t}function a(e){return/(Time|Duration)$/.test(e)}function s(n,r){function i(e){ot?f()&&(w(),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),rt=new l(K,et),it=rt.render(),it&&n.prepend(it),h(et.defaultView),et.handleWindowResize&&e(window).resize(x),p()||s()}function s(){setTimeout(function(){!st.start&&p()&&g()},0)}function c(){st&&(Q("viewDestroy",st,st,st.element),st.triggerEventDestroy()),e(window).unbind("resize",x),rt.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(),G(),st.element.remove(),rt.deactivateButton(st.name)),rt.activateButton(t),st=new $t[t](e("<div class='fc-view fc-view-"+t+"' />").appendTo(ot),K),g(),V(),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()),G(),e&&(ct=st.incrementDate(ct,e)),st.render(ct.clone()),b(),V(),(st.afterRe
176nder||_)(),A(),N(),Q("viewRender",st,st,st.element),gt--,D()}function y(){f()&&(O(),E(),w(),b(),S())}function w(){ut=et.contentHeight?et.contentHeight:et.height?et.height-(it?it.height():0)-T(ot):Math.round(ot.width()/Math.max(et.aspectRatio,.5))}function b(){void 0===ut&&w(),gt++,st.setHeight(ut),st.setWidth(ot.width()),gt--,lt=n.outerWidth()}function x(){if(!gt)if(st.start){var e=++mt;setTimeout(function(){e==mt&&!gt&&f()&&lt!=(lt=n.outerWidth())&&(gt++,y(),st.trigger("windowResize",ht),gt--)},200)}else s()}function C(){E(),M()}function k(e){E(),S(e)}function S(e){f()&&(st.renderEvents(vt,e),st.trigger("eventAfterAllRender"))}function E(){st.triggerEventDestroy(),st.clearEvents(),st.clearEventData()}function D(){!et.lazyFetching||ft(st.start,st.end)?M():S()}function M(){pt(st.start,st.end)}function L(e){vt=e,S()}function $(e){k(e)}function A(){rt.updateTitle(st.title)}function N(){var e=K.getNow();e.isWithin(st.intervalStart,st.intervalEnd)?rt.disableButton("today"):rt.enableButton("today")}function P(e,t){st.select(e,t)}function O(){st&&st.unselect()}function j(){g(-1)}function H(){g(1)}function I(){ct.add("years",-1),g()}function F(){ct.add("years",1),g()}function W(){ct=K.getNow(),g()}function R(e){ct=K.moment(e),g()}function B(e){ct.add(t.duration(e)),g()}function q(){return ct.clone()}function G(){ot.css({width:"100%",height:ot.height(),overflow:"hidden"})}function V(){ot.css({width:"",height:"",overflow:""})}function U(){return K}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 K=this;r=r||{};var J,et=o({},Et,r);J=et.lang in Dt?Dt[et.lang]:Dt[Et.lang],J&&(et=o({},Et,J,r)),et.isRTL&&(et=o({},Et,Mt,J||{},r)),K.options=et,K.render=i,K.destroy=c,K.refetchEvents=C,K.reportEvents=L,K.reportEventChange=$,K.rerenderEvents=k,K.changeView=h,K.select=P,K.unselect=O,K.prev=j,K.next=H,K.prevYear=I,K.nextYear=F,K.today=W,K.gotoDate=R,K.incrementDate=B,K.getDate=q,K.getCalendar=U,K.getView=X,K.option=Z,K.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}K.defaultAllDayEventDuration=t.duration(et.defaultAllDayEventDuration),K.defaultTimedEventDuration=t.duration(et.defaultTimedEventDuration),K.moment=function(){var e;return"local"===et.timezone?(e=Lt.moment.apply(null,arguments),e.hasTime()&&e.local()):e="UTC"===et.timezone?Lt.moment.utc.apply(null,arguments):Lt.moment.parseZone.apply(null,arguments),e._lang=tt,e},K.getIsAmbigTimezone=function(){return"local"!==et.timezone&&"UTC"!==et.timezone},K.rezoneDate=function(e){return K.moment(e.toArray())},K.getNow=function(){var e=et.now;return"function"==typeof e&&(e=e()),K.moment(e)},K.calculateWeekNumber=function(e){var t=et.weekNumberCalculation;return"function"==typeof t?t(e):"local"===t?e.week():"ISO"===t.toUpperCase()?e.isoWeek():void 0},K.getEventEnd=function(e){return e.end?e.end.clone():K.getDefaultEventEnd(e.allDay,e.start)},K.getDefaultEventEnd=function(e,t){var n=t.clone();return e?n.stripTime().add(K.defaultAllDayEventDuration):n.add(K.defaultTimedEventDuration),K.getIsAmbigTimezone()&&n.stripZone(),n},K.formatRange=function(e,t,n){return"function"==typeof n&&(n=n.call(K,et,tt)),Y(e,t,n,null,et.isRTL)},K.formatDate=function(e,t){return"function"==typeof t&&(t=t.call(K,et,tt)),z(e,t)},u.call(K,et);var rt,it,ot,at,st,lt,ut,ct,dt,ft=K.isFetchNeeded,pt=K.fetchEvents,ht=n[0],mt=0,gt=0,vt=[];ct=null!=et.defaultDate?K.moment(et.defaultDate):K.getNow(),et.droppable&&e(document).bind("dragstart",function(t,n){var r=t.target,i=e(r);
177if(!i.parents(".fc").length){var o=et.dropAccept;(e.isFunction(o)?o.call(r,i):i.is(o))&&(dt=r,st.dragStart(dt,t,n))}}).bind("dragstop",function(e,t){dt&&(st.dragStop(dt,e,t),dt=null)})}function l(t,n){function r(){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 i(){p.remove()}function o(r){var i=e("<td class='fc-header-"+r+"'/>"),o=n.header[r];return o&&e.each(o.split(" "),function(r){r>0&&i.append("<span class='fc-header-space'/>");var o;
177e.each(this.split(","),function(r,a){if("title"==a)i.append("<span class='fc-header-title'><h2>&nbsp;</h2></span>"),o&&o.addClass(f+"-corner-right"),o=null;else{var s;if(t[a]?s=t[a]:$t[a]&&(s=function(){h.removeClass(f+"-state-hover"),t.changeView(a)}),s){var l,u=M(n.themeButtonIcons,a),c=M(n.buttonIcons,a),d=M(n.defaultButtonText,a),p=M(n.buttonText,a);l=p?L(p):u&&n.theme?"<span class='ui-icon ui-icon-"+u+"'></span>":c&&!n.theme?"<span class='fc-icon fc-icon-"+c+"'></span>":L(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(i);A(h),o||h.addClass(f+"-corner-left"),o=h}}}),o&&o.addClass(f+"-corner-right")}),i}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=r,d.destroy=i,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 r(e,t){S=e,_=t,I=[];var n=++N,r=A.length;P=r;for(var o=0;r>o;o++)i(A[o],n)}function i(e,t){o(e,function(n){if(t==N){if(n)for(var r=0;r<n.length;r++){var i=y(n[r],e);i&&I.push(i)}P--,P||M(I)}})}function o(n,r){var i,a,s=Lt.sourceFetchers;for(i=0;i<s.length;i++){if(a=s[i].call(k,n,S.clone(),_.clone(),t.timezone,r),a===!0)return;if("object"==typeof a)return o(a,r),void 0}var l=n.events;if(l)e.isFunction(l)?(g(),l.call(k,S.clone(),_.clone(),t.timezone,function(e){r(e),v()})):e.isArray(l)?r(l):r();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=j(n.startParam,t.startParam),y=j(n.endParam,t.endParam),w=j(n.timezoneParam,t.timezoneParam);m&&(h[m]=S.format()),y&&(h[y]=_.format()),t.timezone&&"local"!=t.timezone&&(h[w]=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),r(t)},error:function(){O(f,this,arguments),r()},complete:function(){O(p,this,arguments),v()}}))}else r()}}
177function a(e){e=s(e),e&&(P++,i(e,N))}function s(t){return e.isFunction(t)||e.isArray(t)?t={events:t}:"string"==typeof t&&(t={url:t}),"object"==typeof t?(x(t),A.push(t),t):void 0}function l(t){A=e.grep(A,function(e){return!T(e,t)}),I=e.grep(I,function(e){return!T(e.source,t)}),M(I)}function u(e){e.start=k.moment(e.start),e.end&&(e.end=k.moment(e.end)),w(e),d(e),M(I)}function d(e){var t,n,r,i;for(t=0;t<I.length;t++)if(n=I[t],n._id==e._id&&n!==e)for(r=0;r<z.length;r++)i=z[r],void 0!==e[i]&&(n[i]=e[i])}function f(e,t){var n=y(e);n&&(n.source||(t&&($.events.push(n),n.source=$),I.push(n)),M(I))}function h(t){var n;if(t){if(!e.isFunction(t)){var r=t+"";t=function(e){return e._id==r}}for(I=e.grep(I,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(I=[],n=0;n<A.length;n++)e.isArray(A[n].events)&&(A[n].events=[]);M(I)}function m(t){return e.isFunction(t)?e.grep(I,t):t?(t+="",e.grep(I,function(e){return e._id==t})):I}function g(){H++||E("loading",null,!0,D())}function v(){--H||E("loading",null,!1,D())}function y(n,r){var i,o,a,s,l={};return t.eventDataTransform&&(n=t.eventDataTransform(n)),r&&r.eventDataTransform&&(n=r.eventDataTransform(n)),i=k.moment(n.start||n.date),i.isValid()&&(o=null,!n.end||(o=k.moment(n.end),o.isValid()))?(a=n.allDay,void 0===a&&(s=j(r?r.allDayDefault:void 0,t.allDayDefault),a=void 0!==s?s:!(i.hasTime()||o&&o.hasTime())),a?(i.hasTime()&&i.stripTime(),o&&o.hasTime()&&o.stripTime()):(i.hasTime()||(i=k.rezoneDate(i)),o&&!o.hasTime()&&(o=k.rezoneDate(o))),e.extend(l,n),r&&(l.source=r),l._id=n._id||(void 0===n.id?"_fc"+Nt++:n.id+""),l.className=n.className?"string"==typeof n.className?n.className.split(/\s+/):n.className:[],l.allDay=a,l.start=i,l.end=o,t.forceEventDuration&&!l.end&&(l.end=L(l)),c(l),l):void 0}function w(e,t,n){var r,i,o,a=e._allDay,s=e._start,l=e._end,u=!1;return t||n||(t=e.start,n=e.end),r=e.allDay!=a?e.allDay:!(t||n).hasTime(),r&&(t&&(t=t.clone().stripTime()),n&&(n=n.clone().stripTime())),t&&(i=r?p(t,s.clone().stripTime()):p(t,s)),r!=a?u=!0:n&&(o=p(n||k.getDefaultEventEnd(r,t||s),t||s).subtract(p(l||k.getDefaultEventEnd(a,s),s))),b(m(e._id),u,r,i,o)}function b(n,r,i,o,a){var s=k.getIsAmbigTimezone(),l=[];return e.each(n,function(e,n){var u=n._allDay,d=n._start,f=n._end,p=null!=i?i:u,h=d.clone(),m=!r&&f?f.clone():null;p?(h.stripTime(),m&&m.stripTime()):(h.hasTime()||(h=k.rezoneDate(h)),m&&!m.hasTime()&&(m=k.rezoneDate(m))),m||!t.forceEventDuration&&!+a||(m=k.getDefaultEventEnd(p,h)),h.add(o),m&&m.add(o).add(a),s&&(+o||+a)&&(h.stripZone(),m&&m.stripZone()),n.allDay=p,n.start=h,n.end=m,c(n),l.push(function(){n.allDay=u,n.start=d,n.end=f,c(n)})}),function(){for(var e=0;e<l.length;e++)l[e]()}}function x(e){e.className?"string"==typeof e.className&&(e.className=e.className.split(/\s+/)):e.className=[];for(var t=Lt.sourceNormalizers,n=0;n<t.length;n++)t[n].call(k,e)}function T(e,t){return e&&t&&C(e)==C(t)}function C(e){return("object"==typeof e?e.events||e.url:"")||e}var k=this;k.isFetchNeeded=n,k.fetchEvents=r,k.addEventSource=a,k.removeEventSource=l,k.updateEvent=u,k.renderEvent=f,k.removeEvents=h,k.clientEvents=m,k.mutateEvent=w;var S,_,E=k.trigger,D=k.getView,M=k.reportEvents,L=k.getEventEnd,$={events:[]},A=[$],N=0,P=0,H=0,I=[],F=t.eventSources||[];t.events&&F.push(t.events);for(var W=0;W<F.length;W++)s(F[W]);var z=["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,r){t.unbind("mouseover").mouseover(function(t){for(var i,o,a,s=t.target;s!=this;)i=s,s=s.parentNode;void 0!==(o=i._fci)&&(i._fci=void 0,a=n[o],r(a.event,a.element,a),e(t.target).trigger(t)),t.stopPropagation()})}function g(t,n,r){for(var i,o=0;o<t.length;o++)i=e(t[o]),i.width(Math.max(0,n-y(i,r)))}function v(t,n,r){for(var i,o=0;o<t.length;o++)i=e(t[o]),i.height(Math.max(0,n-T(i,r)))}function y(e,t){return w(e)+x(e)+(t?b(e):0)}function w(t){return(parseFloat(e.css(t[0],"paddingLeft",!0))||0)+(parseFloat(e.css(t[0],"paddingRight",!0))||0)}function b(t){return(parseFloat(e.css(t[0],"marginLeft",!0))||0)+(parseFloat(e.css(t[0],"marginRight",!0))||0)}function x(t){return(parseFloat(e.css(t[0],"borderLeftWidth",!0))||0)+(parseFloat(e.css(t[0],"borderRightWidth",!0))||0)}function T(e,t){return C(e)+S(e)+(t?k(e):0)}function C(t){return(parseFloat(e.css(t[0],"paddingTop",!0))||0)+(parseFloat(e.css(t[0],"paddingBottom",!0))||0)}function k(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 D(e){return Math.max.apply(Math,e)}function M(e,t){if(e=e||{},void 0!==e[t])return e[t];for(var n,r=t.split(/(?=[A-Z])/),i=r.length-1;i>=0;i--)if(n=e[r[i].toLowerCase()],void 0!==n)return n;return e["default"]}function L(e){return(e+"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&#039;").replace(/"/g,"&quot;").replace(/\n/g,"<br />")}function $(e){return e.replace(/&.*?;/g,"")}function A(e){e.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return!1})}function N(e){e.children().removeClass("fc-first fc-last").filter(":first-child").addClass("fc-first").end().filter(":last-child").addClass("fc-last")}function P(e,t){var n=e.source||{}
177,r=e.color,i=n.color,o=t("eventColor"),a=e.backgroundColor||r||n.backgroundColor||i||t("eventBackgroundColor")||o,s=e.borderColor||r||n.borderColor||i||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,r){if(e.isFunction(t)&&(t=[t]),t){var i,o;for(i=0;i<t.length;i++)o=t[i].apply(n,r)||o;return o}}function j(){for(var e=0;e<arguments.length;e++)if(void 0!==arguments[e])return arguments[e]}function H(n,r,i){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=jt.exec(u))&&(o=!s[5],a=!0):e.isArray(u)&&(a=!0),l=r?t.utc.apply(t,n):t.apply(null,n),o?(l._ambigTime=!0,l._ambigZone=!0):i&&(a?l._ambigZone=!0:c&&l.zone(u))),new I(l)}function I(e){f(this,e)}function F(e){var t,n=[],r=!1,i=!1;for(t=0;t<e.length;t++)n.push(Lt.moment(e[t])),r=r||n[t]._ambigTime,i=i||n[t]._ambigZone;for(t=0;t<n.length;t++)r?n[t].stripTime():i&&n[t].stripZone();return n}function W(e,n){return t.fn.format.call(e,n)}function z(e,t){return R(e,V(t))}function R(e,t){var n,r="";for(n=0;n<t.length;n++)r+=B(e,t[n]);return r}function B(e,t){var n,r;return"string"==typeof t?t:(n=t.token)?Ht[n]?Ht[n](e):W(e,n):t.maybe&&(r=R(e,t.maybe),r.match(/[1-9]/))?r:""}function Y(e,t,n,r,i){return e=Lt.moment.parseZone(e),t=Lt.moment.parseZone(t),n=e.lang().longDateFormat(n)||n,r=r||" - ",q(e,t,V(n),r,i)}function q(e,t,n,r,i){var o,a,s,l,u="",c="",d="",f="",p="";for(a=0;a<n.length&&(o=G(e,t,n[a]),o!==!1);a++)u+=o;for(s=n.length-1;s>a&&(o=G(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=i?f+r+d:d+r+f),u+p+c}function G(e,t,n){var r,i;return"string"==typeof n?n:(r=n.token)&&(i=It[r.charAt(0)],i&&e.isSame(t,i))?W(e,r):!1}function V(e){return e in Ft?Ft[e]:Ft[e]=U(e)}function U(e){for(var t,n=[],r=/\[([^\]]*)\]|\(([^\)]*)\)|(LT|(\w)\4*o?)|([^\w\[\(]+)/g;t=r.exec(e);)t[1]?n.push(t[1]):t[2]?n.push({maybe:U(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 r(e){i.intervalStart=e.clone().stripTime().startOf("month"),i.intervalEnd=i.intervalStart.clone().add("months",1),i.start=i.intervalStart.clone().startOf("week"),i.start=i.skipHiddenDays(i.start),i.end=i.intervalEnd.clone().add("days",(7-i.intervalEnd.weekday())%7),i.end=i.skipHiddenDays(i.end,-1,!0);var n=Math.ceil(i.end.diff(i.start,"weeks",!0));"fixed"==i.opt("weekMode")&&(i.end.add("weeks",6-n),n=6),i.title=t.formatDate(i.intervalStart,i.opt("titleFormat")),i.renderBasic(n,i.getCellsPerWeek(),!0)}var i=this;i.incrementDate=n,i.render=r,K.call(i,e,t,"month")}function Z(e,t){function n(e,t){return e.clone().stripTime().add("weeks",t).startOf("week")}function r(e){i.intervalStart=e.clone().stripTime().startOf("week"),i.intervalEnd=i.intervalStart.clone().add("weeks",1),i.start=i.skipHiddenDays(i.intervalStart),i.end=i.skipHiddenDays(i.intervalEnd,-1,!0),i.title=t.formatRange(i.start,i.end.clone().subtract(1),i.opt("titleFormat")," — "),i.renderBasic(1,i.getCellsPerWeek(),!1)}var i=this;i.incrementDate=n,i.render=r,K.call(i,e,t,"basicWeek")}function Q(e,t){function n(e,t){var n=e.clone().stripTime().add("days",t);return n=i.skipHiddenDays(n,0>t?-1:1)}function r(e){i.start=i.intervalStart=e.clone().stripTime(),i.end=i.intervalEnd=i.start.clone().add("days",1),i.title=t.formatDate(i.start,i.opt("titleFormat")),i.renderBasic(1,1,!1)}var i=this;i.incrementDate=n,i.render=r,K.call(i,e,t,"basicDay")}function K(t,n,r){function i(e,t,n){X=e,Z=t,Q=n,o(),I||a(),s()}function o(){rt=at("theme")?"ui":"fc",it=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),j=O.find("thead"),H=j.find(".fc-day-header"),I=O.find("tbody"),F=I.find("tr"),W=I.find(".fc-day"),z=F.find("td:first-child"),R=F.eq(0).find(".fc-day > div"),B=F.eq(0).find(".fc-day-content > div"),N(j.add(j.find("tr"))),N(F),F.eq(0).addClass("fc-first"),F.filter(":last").addClass("fc-last"),W.each(function(t,n){var r=dt(Math.floor(t/Z),t%Z);st("dayRender",P,r,e(n))}),h(W)}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=rt+"-widget-header",r="";for(r+="<thead><tr>",ot&&(r+="<th class='fc-week-number "+n+"'>"+L(at("weekNumberTitle"))+"</th>"),e=0;Z>e;e++)t=dt(0,e),r+="<th class='fc-day-header fc-"+Pt[t.day()]+" "+n+"'>"+L(ht(t,it))+"</th>";return r+="</tr></thead>"}function c(){var e,t,n,r=rt+"-widget-content",i="";for(i+="<tbody>",e=0;X>e;e++){for(i+="<tr class='fc-week'>",ot&&(n=dt(e,0),i+="<td class='fc-week-number "+r+"'><div>"+L(mt(n))+"</div></td>"),t=0;Z>t;t++)n=dt(e,t),i+=d(n);i+="</tr>"}return i+="</tbody>"}function d(e){var t=P.intervalStart.month(),r=n.getNow().stripTime(),i="",o=rt+"-widget-content",a=["fc-day","fc-"+Pt[e.day()],o];return e.month()!=t&&a.push("fc-other-month"),e.isSame(r,"day")?a.push("fc-today",rt+"-state-highlight"):r>e?a.push("fc-past"):a.push("fc-future"),i+="<td class='"+a.join(" ")+"' data-date='"+e.format()+"'><div>",Q&&(i+="<div class='fc-day-number'>"+e.date()+"</div>"),i+="<div class='fc-day-content'><div style='position:relative'>
177&nbsp;</div></div></div></td>"}function f(t){G=t;var n,r,i,o=Math.max(G-j.height(),0);"variable"==at("weekMode")?n=r=Math.floor(o/(1==X?2:6)):(n=Math.floor(o/X),r=o-n*(X-1)),z.each(function(t,o){X>t&&(i=e(o),i.find("> div").css("min-height",(t==X-1?r:n)-T(i)))})}function p(e){q=e,tt.clear(),nt.clear(),U=0,ot&&(U=j.find("th.fc-week-number").outerWidth()),V=Math.floor((q-U)/Z),g(H.slice(0,-1),V)}function h(e){e.click(m).mousedown(ct)}function m(t){if(!at("selectable")){var r=n.moment(e(this).data("date"));st("dayClick",this,r,t)}}function v(e,t,n){n&&K.build();for(var r=pt(e,t),i=0;i<r.length;i++){var o=r[i];h(y(o.row,o.leftCol,o.row,o.rightCol))}}function y(e,n,r,i){var o=K.rect(e,n,r,i,t);return lt(o,t)}function w(e){return e.clone().stripTime().add("days",1)}function b(e,t){v(e,t,!0)}function x(){ut()}function C(e,t){var n=ft(e),r=W[n.row*Z+n.col];st("dayClick",r,e,t)}function k(e,t){et.start(function(e){if(ut(),e){var t=dt(e),r=t.clone().add(n.defaultAllDayEventDuration);v(t,r)}},t)}function S(e,t,n){var r=et.stop();ut(),r&&st("drop",e,dt(r),t,n)}function _(e){return tt.left(e)}function E(e){return tt.right(e)}function D(e){return nt.left(e)}function M(e){return nt.right(e)}function $(e){return F.eq(e)}var P=this;P.renderBasic=i,P.setHeight=f,P.setWidth=p,P.renderDayOverlay=v,P.defaultSelectionEnd=w,P.renderSelection=b,P.clearSelection=x,P.reportDayClick=C,P.dragStart=k,P.dragStop=S,P.getHoverListener=function(){return et},P.colLeft=_,P.colRight=E,P.colContentLeft=D,P.colContentRight=M,P.getIsCellAllDay=function(){return!0},P.allDayRow=$,P.getRowCnt=function(){return X},P.getColCnt=function(){return Z},P.getColWidth=function(){return V},P.getDaySegmentContainer=function(){return Y},gt.call(P,t,n,r),Tt.call(P),xt.call(P),J.call(P);var O,j,H,I,F,W,z,R,B,Y,q,G,V,U,X,Z,Q,K,et,tt,nt,rt,it,ot,at=P.opt,st=P.trigger,lt=P.renderOverlay,ut=P.clearOverlays,ct=P.daySelectionMousedown,dt=P.cellToDate,ft=P.dateToCell,pt=P.rangeToSegments,ht=n.formatDate,mt=n.calculateWeekNumber;A(t.addClass("fc-grid")),K=new Ct(function(t,n){var r,i,o;H.each(function(t,a){r=e(a),i=r.offset().left,t&&(o[1]=i),o=[i],n[t]=o}),o[1]=i+r.outerWidth(),F.each(function(n,a){X>n&&(r=e(a),i=r.offset().top,n&&(o[1]=i),o=[i],t[n]=o)}),o[1]=i+r.outerHeight()}),et=new kt(K),tt=new _t(function(e){return R.eq(e)}),nt=new _t(function(e){return B.eq(e)})}function J(){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 r(e){i.intervalStart=e.clone().stripTime().startOf("week"),i.intervalEnd=i.intervalStart.clone().add("weeks",1),i.start=i.skipHiddenDays(i.intervalStart),i.end=i.skipHiddenDays(i.intervalEnd,-1,!0),i.title=t.formatRange(i.start,i.end.clone().subtract(1),i.opt("titleFormat")," — "),i.renderAgenda(i.getCellsPerWeek())}var i=this;i.incrementDate=n,i.render=r,it.call(i,e,t,"agendaWeek")}function tt(e,t){function n(e,t){var n=e.clone().stripTime().add("days",t);return n=i.skipHiddenDays(n,0>t?-1:1)}function r(e){i.start=i.intervalStart=e.clone().stripTime(),i.end=i.intervalEnd=i.start.clone().add("days",1),i.title=t.formatDate(i.start,i.opt("titleFormat")),i.renderAgenda(1)}var i=this;i.incrementDate=n,i.render=r,it.call(i,e,t,"agendaDay")}function nt(e,t){return t.longDateFormat("LT").replace(":mm","(:mm)").replace(/(\Wmm)$/,"($1)").replace(/\s*a$/i,"a")}function rt(e,t){return t.longDateFormat("LT").replace(/\s*a$/i,"")}function it(n,r,i){function o(e){Et=e,a(),G?l():s()}function a(){Nt=Ft("theme")?"ui":"fc",Ot=Ft("isRTL"),It=Ft("columnFormat"),jt=t.duration(Ft("minTime")),Ht=t.duration(Ft("maxTime")),vt=t.duration(Ft("slotDuration")),wt=Ft("snapDuration"),wt=wt?t.duration(wt):vt}function s(){var r,i,o,a,s=Nt+"-widget-header",u=Nt+"-widget-content",c=vt.asMinutes()%15===0;for(l(),tt=e("<div style='position:absolute;z-index:2;left:0;width:100%'/>").appendTo(n),Ft("allDaySlot")?(nt=e("<div class='fc-event-container' style='position:absolute;z-index:8;top:0;left:0'/>").appendTo(tt),r="<table style='width:100%' class='fc-agenda-allday' cellspacing='0'><tr><th class='"+s+" fc-agenda-axis'>"+(Ft("allDayHTML")||L(Ft("allDayText")))+"</th><td><div class='fc-day-content'><div style='position:relative'/></div></td><th class='"+s+" fc-agenda-gutter'>&nbsp;</th></tr></table>",rt=e(r).appendTo(tt),it=rt.find("tr"),y(it.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),r="<table class='fc-agenda-slots' style='width:100%' cellspacing='0'><tbody>",i=t.duration(+jt),Dt=0;Ht>i;)o=q.start.clone().time(i),a=o.minutes(),r+="<tr class='fc-slot"+Dt+" "+(a?"fc-minor":"")+"'><th class='fc-agenda-axis "+s+"'>"+(c&&a?"&nbsp;":L(Zt(o,Ft("axisFormat"))))+"</th><td class='"+u+"'><div style='position:relative'>
177&nbsp;</div></td></tr>",i.add(vt),Dt++;r+="</tbody></table>",ut=e(r).appendTo(st),w(ut.find("td"))}function l(){var t=u();G&&G.remove(),G=e(t).appendTo(n),V=G.find("thead"),U=V.find("th").slice(1,-1),X=G.find("tbody"),Z=X.find("td").slice(0,-1),Q=Z.find("> div"),K=Z.find(".fc-day-content > div"),J=Z.eq(0),et=Q.eq(0),N(V.add(V.find("tr"))),N(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,r=Nt+"-widget-header",i="";for(i+="<thead><tr>",Ft("weekNumbers")?(e=Vt(0,0),t=Qt(e),Ot?t+=Ft("weekNumberTitle"):t=Ft("weekNumberTitle")+t,i+="<th class='fc-agenda-axis fc-week-number "+r+"'>"+L(t)+"</th>"):i+="<th class='fc-agenda-axis "+r+"'>&nbsp;</th>",n=0;Et>n;n++)e=Vt(0,n),i+="<th class='fc-"+Pt[e.day()]+" fc-col"+n+" "+r+"'>"+L(Zt(e,It))+"</th>";return i+="<th class='fc-agenda-gutter "+r+"'>&nbsp;</th></tr></thead>"}function d(){var e,t,n,i,o,a=Nt+"-widget-header",s=Nt+"-widget-content",l=r.getNow().stripTime(),u="";for(u+="<tbody><tr><th class='fc-agenda-axis "+a+"'>&nbsp;</th>",n="",t=0;Et>t;t++)e=Vt(0,t),o=["fc-col"+t,"fc-"+Pt[e.day()],s],e.isSame(l,"day")?o.push(Nt+"-state-highlight","fc-today"):l>e?o.push("fc-past"):o.push("fc-future"),i="<td class='"+o.join(" ")+"'><div><div class='fc-day-content'><div style='position:relative'>&nbsp;</div></div></div></td>",n+=i;return u+=n,u+="<td class='fc-agenda-gutter "+s+"'>&nbsp;</td></tr></tbody>"}function f(e){void 0===e&&(e=ft),ft=e,Kt={};var t=X.position().top,n=at.position().top,r=Math.min(e-t,ut.height()+n+1);et.height(r-T(J)),tt.css("top",t),at.height(r-n-1);var i=ut.find("tr:first").height()+1,o=ut.find("tr:eq(1)").height();yt=(i+o)/2,bt=vt/wt,St=yt/bt}function p(t){dt=t,$t.clear(),At.clear();var n=V.find("th:first");rt&&(n=n.add(rt.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 r=G.find(".fc-agenda-gutter");rt&&(r=r.add(rt.find("th.fc-agenda-gutter")));var i=at[0].clientWidth;mt=at.width()-i,mt?(g(r,mt),r.show().prev().removeClass("fc-last")):r.hide().prev().addClass("fc-last"),ht=Math.floor((i-pt)/Et),g(U.slice(0,-1),ht)}function h(){function e(){at.scrollTop(n)}var n=j(t.duration(Ft("scrollTime")))+1;e(),setTimeout(e,0)}function m(){h()}function y(e){e.click(b).mousedown(qt)}function w(e){e.click(b).mousedown(z)}function b(e){if(!Ft("selectable")){var t=Math.min(Et-1,Math.floor((e.pageX-G.offset().left-pt)/ht)),n=Vt(0,t),i=this.parentNode.className.match(/fc-slot(\d+)/);if(i){var o=parseInt(i[1],10);n.add(jt+o*vt),n=r.rezoneDate(n),Wt("dayClick",Z[t],n,e)}else Wt("dayClick",Z[t],n,e)}}function x(e,t,n){n&&Mt.build();for(var r=Xt(e,t),i=0;i<r.length;i++){var o=r[i];y(C(o.row,o.leftCol,o.row,o.rightCol))}}function C(e,t,n,r){var i=Mt.rect(e,t,n,r,tt);return zt(i,tt)}function k(e,t){e=e.clone().stripZone(),t=t.clone().stripZone();for(var n=0;Et>n;n++){var r=Vt(0,n),i=r.clone().add("days",1),o=e>r?e:r,a=t>i?i:t;if(a>o){var s=Mt.rect(0,n,0,n,st),l=O(o,r),u=O(a,r);s.top=l,s.height=u-l,w(zt(s,st))}}}function S(e){return $t.left(e)}function _(e){return At.left(e)}function D(e){return $t.right(e)}function M(e){return At.right(e)}function $(e){return Ft("allDaySlot")&&!e.row}function P(e){var n=Vt(0,e.col),i=e.row;return Ft("allDaySlot")&&i--,i>=0&&(n.time(t.duration(jt+i*wt)),n=r.rezoneDate(n)),n}function O(e,n){return j(t.duration(e.clone().stripZone()-n.clone().stripTime()))}function j(e){if(jt>e)return 0;if(e>=Ht)return ut.height();var t=(e-jt)/vt,n=Math.floor(t),r=t-n,i=Kt[n];void 0===i&&(i=Kt[n]=ut.find("tr").eq(n).find("td div")[0].offsetTop);var o=i-1+r*yt;return o=Math.max(o,0)}function H(e){return e.hasTime()?e.clone().add(vt):e.clone().add("days",1)}function I(e,t){e.hasTime()||t.hasTime()?F(e,t):Ft("allDaySlot")&&x(e,t,!0)}function F(t,n){var r=Ft("selectHelper");if(Mt.build(),r){var i=Ut(t).col;if(i>=0&&Et>i){var o=Mt.rect(0,i,0,i,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(r)){var l=r(t,n);l&&(o.position="absolute",ct=e(l).css(o).appendTo(st))}else o.isStart=!0,o.isEnd=!0,ct=e(Gt({title:"",start:t,end:n,className:["fc-select-helper"],editable:!1},o)),ct.css("opacity",Ft("dragOpacity"));ct&&(w(ct),st.append(ct),g(ct,o.width,!0),v(ct,o.height,!0))}}}else k(t,n)}function W(){Rt(),ct&&(ct.remove(),ct=null)}function z(t){if(1==t.which&&Ft("selectable")){Yt(t);var n;Lt.start(function(e,t){if(W(),e&&e.col==t.col&&!$(e)){var r=P(t),i=P(e);n=[r,r.clone().add(wt),i,i.clone().add(wt)].sort(E),F(n[0],n[3])}else n=null},t),e(document).one("mouseup",function(e){Lt.stop(),n&&(+n[0]==+n[1]&&R(n[0],e),Bt(n[0],n[3],e))})}}function R(e,t){Wt("dayClick",Z[Ut(e).col],e,t)}function B(e,t){Lt.start(function(e){if(Rt(),e){var t=P(e),n=t.clone();t.hasTime()?(n.add(r.defaultTimedEventDuration),k(t,n)):(n.add(r.defaultAllDayEventDuration),x(t,n))}},t)}function Y(e,t,n){var r=Lt.stop();Rt(),r&&Wt("drop",e,P(r),t,n)}var q=this;
177q.renderAgenda=o,q.setWidth=p,q.setHeight=f,q.afterRender=m,q.computeDateTop=O,q.getIsCellAllDay=$,q.allDayRow=function(){return it},q.getCoordinateGrid=function(){return Mt},q.getHoverListener=function(){return Lt},q.colLeft=S,q.colRight=D,q.colContentLeft=_,q.colContentRight=M,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 wt},q.getSlotHeight=function(){return yt},q.getSlotDuration=function(){return vt},q.getMinTime=function(){return jt},q.getMaxTime=function(){return Ht},q.defaultSelectionEnd=H,q.renderDayOverlay=x,q.renderSelection=I,q.clearSelection=W,q.reportDayClick=R,q.dragStart=B,q.dragStop=Y,gt.call(q,n,r,i),Tt.call(q),xt.call(q),ot.call(q);var G,V,U,X,Z,Q,K,J,et,tt,nt,rt,it,at,st,lt,ut,ct,dt,ft,pt,ht,mt,vt,yt,wt,bt,St,Et,Dt,Mt,Lt,$t,At,Nt,Ot,jt,Ht,It,Ft=q.opt,Wt=q.trigger,zt=q.renderOverlay,Rt=q.clearOverlays,Bt=q.reportSelection,Yt=q.unselect,qt=q.daySelectionMousedown,Gt=q.slotSegHtml,Vt=q.cellToDate,Ut=q.dateToCell,Xt=q.rangeToSegments,Zt=r.formatDate,Qt=r.calculateWeekNumber,Kt={};A(n.addClass("fc-agenda")),Mt=new Ct(function(t,n){function r(e){return Math.max(l,Math.min(u,e))}var i,o,a;U.each(function(t,r){i=e(r),o=i.offset().left,t&&(a[1]=o),a=[o],n[t]=a}),a[1]=o+i.outerWidth(),Ft("allDaySlot")&&(i=it,o=i.offset().top,t[0]=[o,o+i.outerHeight()]);for(var s=st.offset().top,l=at.offset().top,u=l+at.outerHeight(),c=0;Dt*bt>c;c++)t.push([r(s+St*c),r(s+St*(c+1))])}),Lt=new kt(Mt),$t=new _t(function(e){return Q.eq(e)}),At=new _t(function(e){return K.eq(e)})}function ot(){function n(e,t){var n,r=e.length,o=[],s=[];for(n=0;r>n;n++)e[n].allDay?o.push(e[n]):s.push(e[n]);p("allDaySlot")&&(V(o,t),x()),a(i(s),t)}function r(){C().empty(),k().empty()}function i(e){var t,n,r,i,a,s=A(),l=U(),u=X(),c=[];for(n=0;s>n;n++)for(t=$(0,n),a=o(e,t.clone().time(l),t.clone().time(u)),a=at(a),r=0;r<a.length;r++)i=a[r],i.col=n,c.push(i);return c}function o(e,t,n){t=t.clone().stripZone(),n=n.clone().stripZone();var r,i,o,a,s,l,u,c,d=[],f=e.length;for(r=0;f>r;r++)i=e[r],o=i.start.clone().stripZone(),a=J(i).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:i,start:s,end:l,isStart:u,isEnd:c}));return d.sort(mt)}function a(t,n){var r,i,o,a,u,c,d,f,g,v,w,b,x,C,S,E,L=t.length,$="",A=k(),N=p("isRTL");for(r=0;L>r;r++)i=t[r],o=i.event,a=_(i.start,i.start),u=_(i.end,i.start),c=D(i.col),d=M(i.col),f=d-c,d-=.025*f,f=d-c,g=f*(i.forwardCoord-i.backwardCoord),p("slotEventOverlap")&&(g=Math.max(2*(g-10),g)),N?(w=d-i.backwardCoord*f,v=w-g):(v=c+i.backwardCoord*f,w=v+g),v=Math.max(v,c),w=Math.min(w,d),g=w-v,i.top=a,i.left=v,i.outerWidth=g,i.outerHeight=u-a,$+=s(o,i);for(A[0].innerHTML=$,b=A.children(),r=0;L>r;r++)i=t[r],o=i.event,x=e(b[r]),C=h("eventRender",o,o,x),C===!1?x.remove():(C&&C!==!0&&(x.remove(),x=e(C).css({position:"absolute",top:i.top,left:i.left}).appendTo(A)),i.element=x,o._id===n?l(o,x,i):x[0]._fci=r,W(o,x));for(m(A,t,l),r=0;L>r;r++)i=t[r],(x=i.element)&&(i.vsides=T(x,!0),i.hsides=y(x,!0),S=x.find(".fc-event-title"),S.length&&(i.contentTop=S[0].offsetTop));for(r=0;L>r;r++)i=t[r],(x=i.element)&&(x[0].style.width=Math.max(0,i.outerWidth-i.hsides)+"px",E=Math.max(0,i.outerHeight-i.vsides),x[0].style.height=E+"px",o=i.event,void 0!==i.contentTop&&E-i.contentTop<10&&(x.find("div.fc-event-time").text(Q(o.start,p("timeFormat"))+" - "+o.title),x.find("div.fc-event-title").remove()),h("eventAfterRender",o,o,x))}function s(e,t){var n="<",r=e.url,i=P(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+=r?"a href='"+L(e.url)+"'":"div",n+=" class='"+o.join(" ")+"' style='position:absolute;top:"+t.top+"px;left:"+t.left+"px;"+i+"'><div class='fc-event-inner'><div class='fc-event-time'>",n+=e.end?L(K(e.start,e.end,p("timeFormat"))):L(Q(e.start,p("timeFormat"))),n+="</
177div><div class='fc-event-title'>"+L(e.title||"")+"</div></div><div class='fc-event-bg'></div>",t.isEnd&&w(e)&&(n+="<div class='ui-resizable-handle ui-resizable-s'>=</div>"),n+="</"+(r?"a":"div")+">"}function l(e,t,n){var r=t.find("div.fc-event-time");g(e)&&c(e,t,r),n.isEnd&&w(e)&&d(e,t,r),b(e,t)}function u(e,n,r){function i(){u||(n.width(o).height("").draggable("option","grid",null),u=!0)}var o,a,s,l=r.isStart,u=!0,c=S(),d=N(),f=U(),m=I(),g=H(),y=j(),w=O();n.draggable({opacity:p("dragOpacity","month"),revertDuration:p("dragRevertDuration"),start:function(t,r){h("eventDragStart",n,e,t,r),R(e,n),o=n.width(),c.start(function(t,r){if(G(),t){a=!1;var o=$(0,r.col),c=$(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),J(e).add("days",s)),i()),a=a||u&&!s}else i(),a=!0;n.draggable("option","revert",a)},t,"drag")},stop:function(r,o){if(c.stop(),G(),h("eventDragStop",n,e,r,o),a)i(),n.css("filter",""),z(e,n);else{var l,d,p=e.start.clone().add("days",s);u||(d=Math.round((n.offset().top-F().offset().top)/w),l=t.duration(f+d*y),p=Z.rezoneDate(p.clone().time(l))),B(this,e,p,r,o)}}})}function c(e,t,n){function r(){G(),s&&(u?(n.hide(),t.draggable("option","grid",null),q(w,b)):(i(),n.css("display",""),t.draggable("option","grid",[C,k])))}function i(){var t;w&&(t=e.end?K(w,b,p("timeFormat")):Q(w,p("timeFormat")),n.text(t))}var o,a,s,l,u,c,d,m,g,v,y,w,b,x=f.getCoordinateGrid(),T=A(),C=N(),k=O(),S=j();t.draggable({scroll:!1,grid:[C,k],axis:1==T?"y":!1,opacity:p("dragOpacity"),revertDuration:p("dragRevertDuration"),start:function(n,r){h("eventDragStart",t,e,n,r),R(e,t),x.build(),o=t.position(),a=x.cell(n.pageX,n.pageY),s=l=!0,u=c=E(a),d=m=0,g=0,v=y=0,w=null,b=null},drag:function(n,i){var f=x.cell(n.pageX,n.pageY);if(s=!!f){if(u=E(f),d=Math.round((i.position.left-o.left)/C),d!=m){var p=$(0,a.col),h=a.col+d;h=Math.max(0,h),h=Math.min(T-1,h);var _=$(0,h);g=_.diff(p,"days")}u||(v=Math.round((i.position.top-o.top)/k))}(s!=l||u!=c||d!=m||v!=y)&&(u?(w=e.start.clone().stripTime().add("days",g),b=w.clone().add(Z.defaultAllDayEventDuration)):(w=e.start.clone().add(v*S).add("days",g),b=J(e).add(v*S).add("days",g)),r(),l=s,c=u,m=d,y=v),t.draggable("option","revert",!s)},stop:function(n,i){G(),h("eventDragStop",t,e,n,i),s&&(u||g||v)?B(this,e,w,n,i):(s=!0,u=!1,d=0,g=0,v=0,r(),t.css("filter",""),t.css(o),z(e,t))}})}function d(e,t,n){var r,i,o,a=O(),s=j();t.resizable({handles:{s:".ui-resizable-handle"},grid:a,start:function(n,o){r=i=0,R(e,t),h("eventResizeStart",this,e,n,o)},resize:function(l,u){if(r=Math.round((Math.max(a,t.height())-u.originalSize.height)/a),r!=i){o=J(e).add(s*r);var c;c=r||e.end?K(e.start,o,p("timeFormat")):Q(e.start,p("timeFormat")),n.text(c),i=r}},stop:function(n,i){h("eventResizeStop",this,e,n,i),r?Y(this,e,o,n,i):z(e,t)}})}var f=this;f.renderEvents=n,f.clearEvents=r,f.slotSegHtml=s,vt.call(f);var p=f.opt,h=f.trigger,g=f.isEventDraggable,w=f.isEventResizable,b=f.eventElementHandlers,x=f.setHeight,C=f.getDaySegmentContainer,k=f.getSlotSegmentContainer,S=f.getHoverListener,_=f.computeDateTop,E=f.getIsCellAllDay,D=f.colContentLeft,M=f.colContentRight,$=f.cellToDate,A=f.getColCnt,N=f.getColWidth,O=f.getSnapHeight,j=f.getSnapDuration,H=f.getSlotHeight,I=f.getSlotDuration,F=f.getSlotContainer,W=f.reportEventElement,z=f.showEvents,R=f.hideEvents,B=f.eventDrop,Y=f.eventResize,q=f.renderDayOverlay,G=f.clearOverlays,V=f.renderDayEvents,U=f.getMinTime,X=f.getMaxTime,Z=f.calendar,Q=Z.formatDate,K=Z.formatRange,J=Z.getEventEnd;f.draggableDayEvent=u}function at(e){var t,n=st(e),r=n[0];if(lt(n),r){for(t=0;t<r.length;t++)ut(r[t]);for(t=0;t<r.length;t++)ct(r[t],0,0)}return dt(n)}function st(e){var t,n,r,i=[];for(t=0;t<e.length;t++){for(n=e[t],r=0;r<i.length&&ft(n,i[r]).length;r++);(i[r]||(i[r]=[])).push(n)
178}return i}function lt(e){var t,n,r,i,o;for(t=0;t<e.length;t++)for(n=e[t],r=0;r<n.length;r++)for(i=n[r],i.forwardSegs=[],o=t+1;o<e.length;o++)ft(i,e[o],i.forwardSegs)}function ut(e){var t,n,r=e.forwardSegs,i=0;if(void 0===e.forwardPressure){for(t=0;t<r.length;t++)n=r[t],ut(n),i=Math.max(i,1+n.forwardPressure);e.forwardPressure=i}}function ct(e,t,n){var r,i=e.forwardSegs;if(void 0===e.forwardCoord)for(i.length?(i.sort(ht),ct(i[0],t+1,n),e.forwardCoord=i[0].backwardCoord):e.forwardCoord=1,e.backwardCoord=e.forwardCoord-(e.forwardCoord-n)/(t+1),r=0;r<i.length;r++)ct(i[r],0,e.forwardCoord)}function dt(e){var t,n,r,i=[];for(t=0;t<e.length;t++)for(n=e[t],r=0;r<n.length;r++)i.push(n[r]);return i}function ft(e,t,n){n=n||[];for(var r=0;r<t.length;r++)pt(e,t[r])&&n.push(t[r]);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,r,i){function o(t,n){var r=H[t];return e.isPlainObject(r)&&!a(t)?M(r,n||i):r}function s(e,t){return r.trigger.apply(r,[e,t||A].concat(Array.prototype.slice.call(arguments,2),[A]))}function l(e){var t=e.source||{};return j(e.startEditable,t.startEditable,o("eventStartEditable"),e.editable,t.editable,o("editable"))}function u(e){var t=e.source||{};return j(e.durationEditable,t.durationEditable,o("eventDurationEditable"),e.editable,t.editable,o("editable"))}function c(){P={},O=[]}function d(e,t){O.push({event:e,element:t}),P[e._id]?P[e._id].push(t):P[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 r,i=P[e._id],o=i.length;for(r=0;o>r;r++)t&&i[r][0]==t[0]||i[r][n]()}function v(e,t,n,i,o){var a=r.mutateEvent(t,n,null);s("eventDrop",e,t,function(){a(),N(t._id)},i,o),N(t._id)}function y(e,t,n,i,o){var a=r.mutateEvent(t,null,n);s("eventResize",e,t,function(){a(),N(t._id)},i,o),N(t._id)}function w(e){return t.isMoment(e)&&(e=e.day()),z[e]}function b(){return F}function x(e,t,n){var r=e.clone();for(t=t||1;z[(r.day()+(n?t:0)+7)%7];)r.add("days",t);return r}function T(){var e=C.apply(null,arguments),t=k(e),n=S(t);return n}function C(e,t){var n=A.getColCnt(),r=Y?-1:1,i=Y?n-1:0;"object"==typeof e&&(t=e.col,e=e.row);var o=e*n+(t*r+i);return o}function k(e){var t=A.start.day();return e+=R[t],7*Math.floor(e/F)+B[(e%F+F)%F]-t}
178function S(e){return A.start.clone().add("days",e)}function _(e){var t=E(e),n=D(t),r=L(n);return r}function E(e){return e.clone().stripTime().diff(A.start,"days")}function D(e){var t=A.start.day();return e+=t,Math.floor(e/7)*F+R[(e%7+7)%7]-R[t]}function L(e){var t=A.getColCnt(),n=Y?-1:1,r=Y?t-1:0,i=Math.floor(e/t),o=(e%t+t)%t*n+r;return{row:i,col:o}}function $(e,t){var n=A.getRowCnt(),r=A.getColCnt(),i=[],o=E(e),a=E(t),s=+t.time();s&&s>=I&&a++,a=Math.max(a,o+1);for(var l=D(o),u=D(a)-1,c=0;n>c;c++){var d=c*r,f=d+r-1,p=Math.max(l,d),h=Math.min(u,f);if(h>=p){var m=L(p),g=L(h),v=[m.col,g.col].sort(),y=k(p)==o,w=k(h)+1==a;i.push({row:c,leftCol:v[0],rightCol:v[1],isStart:y,isEnd:w})}}return i}var A=this;A.element=n,A.calendar=r,A.name=i,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 N=r.reportEventChange,P={},O=[],H=r.options,I=t.duration(H.nextDayThreshold);A.isHiddenDay=w,A.skipHiddenDays=x,A.getCellsPerWeek=b,A.dateToCell=_,A.dateToDayOffset=E,A.dayOffsetToCellOffset=D,A.cellOffsetToCell=L,A.cellToDate=T,A.cellToCellOffset=C,A.cellOffsetToDayOffset=k,A.dayOffsetToDate=S,A.rangeToSegments=$;var F,W=o("hiddenDays")||[],z=[],R=[],B=[],Y=o("isRTL");!function(){o("weekends")===!1&&W.push(0,6);for(var t=0,n=0;7>t;t++)R[t]=n,z[t]=-1!=e.inArray(t,W),z[t]||(B[n]=t,n++);if(F=n,!F)throw"invalid hiddenDays"}()}function vt(){function t(e,t){var n=r(e,!1,!0);wt(n,function(e,t){E(e.event,t)}),v(n,t),wt(n,function(e,t){k("eventAfterRender",e.event,e.event,t)})}function n(e,t,n){var i=r([e],!0,!1),o=[];return wt(i,function(e,r){e.row===t&&r.css("top",n),o.push(r[0])}),o}function r(t,n,r){var o,l,d=Y(),f=n?e("<div/>"):d,p=i(t);return a(p),o=s(p),f[0].innerHTML=o,l=f.children(),n&&d.append(l),u(p,l),wt(p,function(e,t){e.hsides=y(t,!0)}),wt(p,function(e,t){t.width(Math.max(0,e.outerWidth-e.hsides))}),wt(p,function(e,t){e.outerHeight=t.outerHeight(!0)}),c(p,r),p}function i(e){for(var t=[],n=0;n<e.length;n++){var r=o(e[n]);t.push.apply(t,r)}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=C("isRTL"),n=0;n<e.length;n++){var r=e[n],i=(t?r.isEnd:r.isStart)?R:W,o=(t?r.isStart:r.isEnd)?B:z,a=i(r.leftCol),s=o(r.rightCol);r.left=a,r.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=C("isRTL"),r=e.event,i=r.url,o=["fc-event","fc-event-hori"];S(r)&&o.push("fc-event-draggable"),e.isStart&&o.push("fc-event-start"),e.isEnd&&o.push("fc-event-end"),o=o.concat(r.className),r.source&&(o=o.concat(r.source.className||[]));var a=P(r,C);return t+=i?"<a href='"+L(i)+"'":"<div",t+=" class='"+o.join(" ")+"' style='position:absolute;left:"+e.left+"px;"+a+"'><div class='fc-event-inner'>",!r.allDay&&e.isStart&&(t+="<span class='fc-event-time'>"+L(rt(r.start,C("timeFormat")))+"</span>"),t+="<span class='fc-event-title'>"+L(r.title||"")+"</span></div>",r.allDay&&e.isEnd&&_(r)&&(t+="<div class='ui-resizable-handle ui-resizable-"+(n?"w":"e")+"'>&nbsp;&nbsp;&nbsp;</div>"),t+="</"+(i?"a":"div")+">"}function u(t,n){for(var r=0;r<t.length;r++){var i=t[r],o=i.event,a=n.eq(r),s=k("eventRender",o,o,a);s===!1?a.remove():(s&&s!==!0&&(s=e(s).css({position:"absolute",left:i.left}),a.replaceWith(s),a=s),i.element=a)}}function c(e,t){var n,r=d(e),i=g(),o=[];if(t)for(n=0;n<i.length;n++)i[n].height(r[n]);for(n=0;n<i.length;n++)o.push(i[n].position().top);wt(e,function(e,t){t.css("top",o[e.row]+e.top)})}function d(e){for(var t,n=H(),r=I(),i=[],o=f(e),a=0;n>a;a++){var s=o[a],l=[];for(t=0;r>t;t++)l.push(0);for(var u=0;u<s.length;u++){var c=s[u];for(c.top=D(l.slice(c.leftCol,c.rightCol+1)),t=c.leftCol;t<=c.rightCol;t++)l[t]=c.top+c.outerHeight}i.push(D(l))}return i}function f(e){var t,n,r,i=H(),o=[];for(t=0;t<e.length;t++)n=e[t],r=n.row,n.element&&(o[r]?o[r].push(n):o[r]=[n]);for(r=0;i>r;r++)o[r]=p(o[r]||[]);return o}function p(e){for(var t=[],n=h(e),r=0;r<n.length;r++)t.push.apply(t,n[r]);return t}function h(e){e.sort(bt);for(var t=[],n=0;n<e.length;n++){for(var r=e[n],i=0;i<t.length&&yt(r,t[i]);i++);t[i]?t[i].push(r):t[i]=[r]}return t}function g(){var e,t=H(),n=[];for(e=0;t>e;e++)n[e]=F(e).find("div.fc-day-content > div");return n}function v(e,t){var n=Y();wt(e,function(e,n,r){var i=e.event;i._id===t?w(i,n,e):n[0]._fci=r}),m(n,e,w)}function w(e,t,n){S(e)&&T.draggableDayEvent(e,t,n),e.allDay&&n.isEnd&&_(e)&&T.resizableDayEvent(e,t,n),M(e,t)}function b(e,t){var n,r,i=U();t.draggable({delay:50,opacity:C("dragOpacity"),revertDuration:C("dragRevertDuration"),start:function(o,a){k("eventDragStart",t,e,o,a),N(e,t),i.start(function(i,o,a,s){if
178(t.draggable("option","revert",!i||!a&&!s),G(),i){var l=Z(o),u=Z(i);n=u.diff(l,"days"),r=e.start.clone().add("days",n),q(r,nt(e).add("days",n))}else n=0},o,"drag")},stop:function(o,a){i.stop(),G(),k("eventDragStop",t,e,o,a),n?O(this,e,r,o,a):(t.css("filter",""),$(e,t))}})}function x(t,r,i){var o=C("isRTL"),a=o?"w":"e",s=r.find(".ui-resizable-"+a),l=!1;A(r),r.mousedown(function(e){e.preventDefault()}).click(function(e){l&&(e.preventDefault(),e.stopImmediatePropagation())}),s.mousedown(function(o){function s(n){k("eventResizeStop",this,t,n),e("body").css("cursor",""),f.stop(),G(),u&&j(this,t,c,n),setTimeout(function(){l=!1},0)}if(1==o.which){l=!0;var u,c,d,f=U(),p=r.css("top"),h=e.extend({},t),m=et(J(t.start));V(),e("body").css("cursor",a+"-resize").one("mouseup",s),k("eventResizeStart",this,t,o),f.start(function(r,o){if(r){var s=Q(o),l=Q(r);if(l=Math.max(l,m),u=K(l)-K(s),c=nt(t).add("days",u),u){h.end=c;var f=d;d=n(h,i.row,p),d=e(d),d.find("*").css("cursor",a+"-resize"),f&&f.remove(),N(t)}else d&&($(t),d.remove(),d=null);G(),q(t.start,c)}},o)}})}var T=this;T.renderDayEvents=t,T.draggableDayEvent=b,T.resizableDayEvent=x;var C=T.opt,k=T.trigger,S=T.isEventDraggable,_=T.isEventResizable,E=T.reportEventElement,M=T.eventElementHandlers,$=T.showEvents,N=T.hideEvents,O=T.eventDrop,j=T.eventResize,H=T.getRowCnt,I=T.getColCnt,F=T.allDayRow,W=T.colLeft,z=T.colRight,R=T.colContentLeft,B=T.colContentRight,Y=T.getDaySegmentContainer,q=T.renderDayOverlay,G=T.clearOverlays,V=T.clearSelection,U=T.getHoverListener,X=T.rangeToSegments,Z=T.cellToDate,Q=T.cellToCellOffset,K=T.cellOffsetToDayOffset,J=T.dateToDayOffset,et=T.dayOffsetToCellOffset,tt=T.calendar,nt=tt.getEventEnd,rt=tt.formatDate}function yt(e,t){for(var n=0;n<t.length;n++){var r=t[n];if(r.leftCol<=e.rightCol&&r.rightCol>=e.leftCol)return!0}return!1}function wt(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=r.element;i&&t(r,i,n)}}function bt(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 xt(){function t(e,t){n(),e=a.moment(e),t=t?a.moment(t):u(e),c(e,t),r(e,t)}function n(e){f&&(f=!1,d(),l("unselect",null,e))}function r(e,t,n){f=!0,l("select",null,e,t,n)}function i(t){var i=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=[i(t),i(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),r(f[0],f[1].clone().add("days",1),e))})}}var o=this;o.select=t,o.unselect=n,o.reportSelection=r,o.daySelectionMousedown=i;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 r=s("unselectCancel");r&&e(t.target).parents(r).length||n(t)})}function Tt(){function t(t,n){var r=o.shift();return r||(r=e("<div class='fc-cell-overlay' style='position:absolute;z-index:3'/>")),r[0].parentNode!=n[0]&&r.appendTo(n),i.push(r.css(t).show()),r}function n(){for(var e;e=i.shift();)o.push(e.hide().unbind())}var r=this;r.renderOverlay=t,r.clearOverlays=n;var i=[],o=[]}function Ct(e){var t,n,r=this;r.build=function(){t=[],n=[],e(t,n)},r.cell=function(e,r){var i,o=t.length,a=n.length,s=-1,l=-1;for(i=0;o>i;i++)if(r>=t[i][0]&&r<t[i][1]){s=i;break}for(i=0;a>i;i++)if(e>=n[i][0]&&e<n[i][1]){l=i;break}return s>=0&&l>=0?{row:s,col:l}:null},r.rect=function(e,r,i,o,a){var s=a.offset();return{top:t[e][0]-s.top,left:n[r][0]-s.left,width:n[o][1]-n[r][0],height:t[i][1]-t[e][0]}}}function kt(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),i(n,o,n.row-o.row,n.col-o.col)):i(n,o),a=n)}var r,i,o,a,s=this;s.start=function(s,l,u){i=s,o=a=null,t.build(),n(l),r=u||"mousemove",e(document).bind(r,n)},s.stop=function(){return e(document).unbind(r,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 r[t]=r[t]||e(t)}var n=this,r={},i={},o={};n.left=function(e){return i[e]=void 0===i[e]?t(e).position().left:i[e]},n.right=function(e){return o[e]=void 0===o[e]?n.left(e)+t(e).width():o[e]},n.clear=function(){r={},i={},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:r,day:"dddd"},timeFormat:{"default":n}
178,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},Dt={en:{columnFormat:{week:"ddd M/D"}}},Mt={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"}},Lt=e.fullCalendar={version:"2.0.0"},$t=Lt.views={};e.fn.fullCalendar=function(t){var n=Array.prototype.slice.call(arguments,1),r=this;return this.each(function(i,o){var a,l=e(o),u=l.data("fullCalendar");"string"==typeof t?u&&e.isFunction(u[t])&&(a=u[t].apply(u,n),i||(r=a),"destroy"===t&&l.removeData("fullCalendar")):u||(u=new s(l,t),l.data("fullCalendar",u),u.render())}),r},Lt.langs=Dt,Lt.datepickerLang=function(t,n,r){var i=Dt[t];i||(i=Dt[t]={}),o(i,{isRTL:r.isRTL,weekNumberTitle:r.weekHeader,titleFormat:{month:r.showMonthAfterYear?"YYYY["+r.yearSuffix+"] MMMM":"MMMM YYYY["+r.yearSuffix+"]"},defaultButtonText:{prev:$(r.prevText),next:$(r.nextText),today:$(r.currentText)}}),e.datepicker&&(e.datepicker.regional[n]=e.datepicker.regional[t]=r,e.datepicker.regional.en=e.datepicker.regional[""],e.datepicker.setDefaults(r))},Lt.lang=function(e,t){var n;t&&(n=Dt[e],n||(n=Dt[e]={}),o(n,t||{})),Et.lang=e},Lt.sourceNormalizers=[],Lt.sourceFetchers=[];var At={dataType:"json",cache:!1},Nt=1;Lt.applyAll=O;var Pt=["sun","mon","tue","wed","thu","fri","sat"],Ot=/^\s*\d{4}-\d\d$/,jt=/^\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+)?)?)?)?)?$/;Lt.moment=function(){return H(arguments)},Lt.moment.utc=function(){var e=H(arguments,!0);return e.hasTime()&&e.utc(),e},Lt.moment.parseZone=function(){return H(arguments,!0,!0)},I.prototype=d(t.fn),I.prototype.clone=function(){return H([this])},I.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()))},I.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},I.prototype.hasTime=function(){return!this._ambigTime},I.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},I.prototype.hasZone=function(){return!this._ambigZone},I.prototype.zone=function(e){return null!=e&&(delete this._ambigTime,delete this._ambigZone),t.fn.zone.apply(this,arguments)},I.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},I.prototype.utc=function(){return delete this._ambigTime,delete this._ambigZone,t.fn.utc.apply(this,arguments)},I.prototype.format=function(){return arguments[0]?z(this,arguments[0]):this._ambigTime?W(this,"YYYY-MM-DD"):this._ambigZone?W(this,"YYYY-MM-DD[T]HH:mm:ss"):W(this)},I.prototype.toISOString=function(){return this._ambigTime?W(this,"YYYY-MM-DD"):this._ambigZone?W(this,"YYYY-MM-DD[T]HH:mm:ss"):t.fn.toISOString.apply(this,arguments)},I.prototype.isWithin=function(e,t){var n=F([this,e,t]);return n[0]>=n[1]&&n[0]<n[2]},e.each(["isBefore","isAfter","isSame"],function(e,n){I.prototype[n]=function(e,r){var i=F([this,e]);return t.fn[n].call(i[0],i[1],r)}});var Ht={t:function(e){return W(e,"a").charAt(0)},T:function(e){return W(e,"A").charAt(0)}};Lt.formatRange=Y;var It={Y:"year",M:"month",D:"day",d:"day",A:"second",a:"second",T:"second",t:"second",H:"second",h:"second",m:"second",s:"second"},Ft={};$t.month=X,$t.basicWeek=Z,$t.basicDay=Q,i({weekMode:"fixed"}),$t.agendaWeek=et,$t.agendaDay=tt,i({allDaySlot:!0,allDayText:"all-day",scrollTime:"06:00:00",slotDuration:"00:30:00",axisFormat:nt,timeFormat:{agenda:rt},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),r=m[t?"strict":"loose"].exec(n),i={attr:{},param:{},seg:{}},a=14;a--;)i.attr[p[a]]=r[a]||"";return i.param.query=o(i.attr.query),i.param.fragment=o(i.attr.fragment),i.seg.path=i.attr.path.replace(/^\/+|\/+$/g,"").split("/"),i.seg.fragment=i.attr.fragment.replace(/^\/+|\/+$/g,"").split("/"),i.attr.base
178=i.attr.host?(i.attr.protocol?i.attr.protocol+"://"+i.attr.host:i.attr.host)+(i.attr.port?":"+i.attr.port:""):"",i}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 r in e[t])n[r]=e[t][r];return e[t]=n,n}function r(e,t,i,o){var a=e.shift();if(a){var s=t[i]=t[i]||[];"]"==a?u(s)?""!==o&&s.push(o):"object"==typeof s?s[c(s).length]=o:s=t[i]=[t[i],o]:~a.indexOf("]")?(a=a.substr(0,a.length-1),!g.test(a)&&u(s)&&(s=n(t,i)),r(e,s,a,o)):(!g.test(a)&&u(s)&&(s=n(t,i)),r(e,s,a,o))}else u(t[i])?t[i].push(o):t[i]="object"==typeof t[i]?o:"undefined"==typeof t[i]?o:[t[i],o]}function i(e,t,n){if(~t.indexOf("]")){var i=t.split("[");r(i,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 r=t.indexOf("="),o=s(t),a=t.substr(0,o||r),l=t.substr(o||r,t.length);return l=l.substr(l.indexOf("=")+1,l.length),""===a&&(a=t,l=""),i(e,a,l)},{base:{}}).base}function a(e,t,n){var r=e[t];"undefined"==typeof r?e[t]=n:u(r)?r.push(n):e[t]=[r,n]}function s(e){for(var t,n,r=e.length,i=0;r>i;++i)if(n=e[i],"]"==n&&(t=!1),"["==n&&(t=!0),"="==n&&!t)return i}function l(e,t){for(var n=0,r=e.length>>0,i=arguments[2];r>n;)n in e&&(i=t.call(void 0,i,e[n],n,e)),++n;return i}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 r="";return this.length&&(r=e(this).attr(t(this[0]))||""),d(r,n)},e.url=d)},d.jQuery(window.jQuery),d}),/**
179 * Copyright (c) 2011-2014 Felix Gnass
180 * Licensed under the MIT license
181 */
182function(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,r=document.createElement(e||"div");for(n in t)r[n]=t[n];return r}function t(e){for(var t=1,n=arguments.length;n>t;t++)e.appendChild(arguments[t]);return e}function n(e,t,n,r){var i=["opacity",t,~~(100*e),n,r].join("-"),o=.01+n/r*100,a=Math.max(1-(1-e)/t*(100-o),e),s=u.substring(0,u.indexOf("Animation")).toLowerCase(),l=s&&"-"+s+"-"||"";return d[i]||(f.insertRule("@"+l+"keyframes "+i+"{0%{opacity:"+a+"}"+o+"%{opacity:"+e+"}"+(o+.01)+"%{opacity:1}"+(o+t)%100+"%{opacity:"+e+"}100%{opacity:"+a+"}}",f.cssRules.length),d[i]=1),i}function r(e,t){var n,r,i=e.style;for(t=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<c.length;r++)if(n=c[r]+t,void 0!==i[n])return n;return void 0!==i[t]?t:void 0}function i(e,t){for(var n in t)e.style[r(e,n)||n]=t[n];return e}function o(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)void 0===e[r]&&(e[r]=n[r])}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,r){function o(){return i(n("group",{coordsize:c+" "+c,coordorigin:-u+" "+-u}),{width:c,height:c})}function s(e,s,l){t(f,t(i(o(),{rotation:360/r.lines*e+"deg",left:~~s}),t(i(n("roundrect",{arcsize:r.corners}),{width:u,height:r.width,left:r.radius,top:-r.width>>1,filter:l}),n("fill",{color:a(r.color,e),opacity:r.opacity}),n("stroke",{opacity:0}
182))))}var l,u=r.length+r.width,c=2*u,d=2*-(r.width+r.length)+"px",f=i(o(),{position:"absolute",top:d,left:d});if(r.shadow)for(l=1;l<=r.lines;l++)s(l,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(l=1;l<=r.lines;l++)s(l);return t(e,f)},s.prototype.opacity=function(e,t,n,r){var i=e.firstChild;r=r.shadow&&r.lines||0,i&&t+r<i.childNodes.length&&(i=i.childNodes[t+r],i=i&&i.firstChild,i=i&&i.firstChild,i&&(i.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,r=n.opts,o=n.el=i(e(0,{className:r.className}),{position:r.position,width:0,zIndex:r.zIndex});r.radius+r.length+r.width}if(t&&(t.insertBefore(o,t.firstChild||null),i(o,{left:r.left,top:r.top})),o.setAttribute("role","progressbar"),n.lines(o,n.opts),!u){var a,s=0,l=(r.lines-1)*(1-r.direction)/2,c=r.fps,d=c/r.speed,f=(1-r.opacity)/(d*r.trail/100),p=d/r.lines;!function h(){s++;for(var e=0;e<r.lines;e++)a=Math.max(1-(s+(r.lines-e)*p)%d*f,r.opacity),n.opacity(o,e*r.direction+l,a,r);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(r,o){function s(t,n){return i(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=i(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,i(s("#000","0 0 4px #000"),{top:"2px"})),t(r,t(l,s(a(o.color,c),"0 0 1px rgba(0,0,0,.1)")));return r},opacity:function(e,t,n){t<e.childNodes.length&&(e.childNodes[t].style.opacity=n)}});var h=i(e("group"),{behavior:"url(#default#VML)"});return!r(h,"transform")&&h.adj?l():u=r(h,"animation"),s}),function(){!function(e){var t;return t=function(){function t(t,n){var r,i,o;this.$el=e(t),"content"===n.model?(r="/contents_calendar",o="/contents/"):(r="/calendar",o="/schedules/"),i=e.url(location.href).attr("query"),i&&(r+="?"+i),this.$el.fullCalendar({events:r,timeFormat:"",eventDataTransform:function(t){var n,r,i,a,s;return a={title:e("<div>").html(t.title).text(),start:moment(t.event_datetime),url:o+t.id},i=[],(n=t.artists)&&e.each(n,function(e,t){return t.url_name?i.push("artist-"+t.url_name):void 0}),(r=t.categories)&&e.each(r,function(e,t){return i.push("category-"+t.url_name)}),(s=t.tags)&&e.each(s,function(e,t){return i.push("tag-"+t.name)}),i.length&&(a.className=i.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}
182,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 r,i,o;return r=e(this),i=r.data("calendar-view"),o="object"==typeof n&&n,i||r.data("calendar-view",i=new t(this,o)),r})}}(window.$)}.call(this),function(){!function(e){var t;return t=function(){function t(t,n){var r;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||"",r=this.loading(),r.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,r,i,o,a,s,l,u,c,d,f,p,h;for(r=e(t).find('item[type="array"]').children("item"),d='<div class="feed-inner">',d='<ul class="list-unstyled feed-link-list">',i=p=0,h=r.length;h>p&&(f=r[i],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>",i!==this.count);i=++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 r,i,o;return r=e(this),i=r.data("feed-view"),o="object"==typeof n&&n,i||r.data("feed-view",i=new t(this,o)),r})}}(window.$)}.call(this),function(){!function(e){var t;return t=function(){function t(t,n){var r;this.$el=e(t),this.options=n||{},this.count=this.options.count||20,this.classes=this.options.listClassName||"",r=this.loading(),r.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,r){var i;return i=e('<li class="'+t.classes+'"><a href="'+r.link+'" target="_blank"><img src="'+r.images.low_resolution.url+'" alt="" class="img-responsive"></a></li>'),t.$el.append(i)}}(this))},t}(),e.fn.InstagramView=function(n){return this.each(function(){var r,i,o;return r=e(this),i=r.data("instagram-view"),o="object"==typeof n&&n,i||r.data("instagram-view",i=new t(this,o)),r})}}(window.$)}.call(this),function(e){e.fn.qrcode=function(t){function n(e){this.mode=s,this.data=e}function r(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}function i(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 r=0;r<e.length-n;r++)this.num[r]=e[r+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)}},r.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>
182this.typeNumber){for(var e=1,e=1;40>e;e++){for(var t=o.getRSBlocks(e,this.errorCorrectLevel),n=new a,r=0,i=0;i<t.length;i++)r+=t[i].dataCount;for(i=0;i<this.dataList.length;i++)t=this.dataList[i],n.put(t.mode,4),n.put(t.getLength(),l.getLengthInBits(t.mode,e)),t.write(n);if(n.getLengthInBits()<=8*r)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 i=0;i<this.moduleCount;i++)this.modules[n][i]=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=r.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 r=-1;7>=r;r++)-1>=t+r||this.moduleCount<=t+r||(this.modules[e+n][t+r]=n>=0&&6>=n&&(0==r||6==r)||r>=0&&6>=r&&(0==n||6==n)||n>=2&&4>=n&&r>=2&&4>=r?!0:!1)},getBestMaskPattern:function(){for(var e=0,t=0,n=0;8>n;n++){this.makeImpl(!0,n);var r=l.getLostPoint(this);(0==n||e>r)&&(e=r,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,r=0;r<this.modules[t].length;r++){var i=1*r;this.modules[t][r]&&(e.beginFill(0,100),e.moveTo(i,n),e.lineTo(i+1,n),e.lineTo(i+1,n+1),e.lineTo(i,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 r=e[t],i=e[n];if(null==this.modules[r][i])for(var o=-2;2>=o;o++)for(var a=-2;2>=a;a++)this.modules[r+o][i+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 r=!e&&1==(t>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r}for(n=0;18>n;n++)r=!e&&1==(t>>n&1),this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r},setupTypeInfo:function(e,t){for(var n=l.getBCHTypeInfo(this.errorCorrectLevel<<3|t),r=0;15>r;r++){var i=!e&&1==(n>>r&1);6>r?this.modules[r][8]=i:8>r?this.modules[r+1][8]=i:this.modules[this.moduleCount-15+r][8]=i}for(r=0;15>r;r++)i=!e&&1==(n>>r&1),8>r?this.modules[8][this.moduleCount-r-1]=i:9>r?this.modules[8][15-r-1+1]=i:this.modules[8][15-r-1]=i;this.modules[this.moduleCount-8][8]=!e},mapData:function(e,t){for(var n=-1,r=this.moduleCount-1,i=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[r][a-s]){var u=!1;o<e.length&&(u=1==(e[o]>>>i&1)),l.getMask(t,r,a-s)&&(u=!u),this.modules[r][a-s]=u,i--,-1==i&&(o++,i=7)}if(r+=n,0>r||this.moduleCount<=r){r-=n,n=-n;break}}}},r.PAD0=236,r.PAD1=17,r.createData=function(e,t,n){for(var t=o.getRSBlocks(e,t),i=new a,s=0;s<n.length;s++){var u=n[s];i.put(u.mode,4),i.put(u.getLength(),l.getLengthInBits(u.mode,e)),u.write(i)}for(s=e=0;s<t.length;s++)e+=t[s].dataCount;if(i.getLengthInBits()>8*e)throw Error("code length overflow. ("+i.getLengthInBits()+">"+8*e+")");for(i.getLengthInBits()+4<=8*e&&i.put(0,4);0!=i.getLengthInBits()%8;)i.putBit(!1);for(;!(i.getLengthInBits()>=8*e)&&(i.put(r.PAD0,8),!(i.getLengthInBits()>=8*e));)i.put(r.PAD1,8);return r.createBytes(i,t)},r.createBytes=function(e,t){for(var n=0,r=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,r=Math.max(r,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 i(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;r>f;f++)for(u=0;
182u<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 i([1],0),n=0;e>n;n++)t=t.multiply(new i([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,r=0;t>r;r++)for(var i=0;t>i;i++){for(var o=0,a=e.isDark(r,i),s=-1;1>=s;s++)if(!(0>r+s||r+s>=t))for(var l=-1;1>=l;l++)0>i+l||i+l>=t||0==s&&0==l||a==e.isDark(r+s,i+l)&&o++;o>5&&(n+=3+o-5)}for(r=0;t-1>r;r++)for(i=0;t-1>i;i++)o=0,e.isDark(r,i)&&o++,e.isDark(r+1,i)&&o++,e.isDark(r,i+1)&&o++,e.isDark(r+1,i+1)&&o++,(0==o||4==o)&&(n+=3);for(r=0;t>r;r++)for(i=0;t-6>i;i++)e.isDark(r,i)&&!e.isDark(r,i+1)&&e.isDark(r,i+2)&&e.isDark(r,i+3)&&e.isDark(r,i+4)&&!e.isDark(r,i+5)&&e.isDark(r,i+6)&&(n+=40);for(i=0;t>i;i++)for(r=0;t-6>r;r++)e.isDark(r,i)&&!e.isDark(r+1,i)&&e.isDark(r+2,i)&&e.isDark(r+3,i)&&e.isDark(r+4,i)&&!e.isDark(r+5,i)&&e.isDark(r+6,i)&&(n+=40);for(i=o=0;t>i;i++)for(r=0;t>r;r++)e.isDark(r,i)&&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 i.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 r=0;r<e.getLength();r++)t[n+r]^=u.gexp(u.glog(this.get(n))+u.glog(e.get(r)));return new i(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()),r
182=0;r<this.getLength();r++)n[r]=this.get(r);for(r=0;r<e.getLength();r++)n[r]^=u.gexp(u.glog(e.get(r))+t);return new i(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],[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 r=n.length/3,i=[],a=0;r>a;a++)for(var s=n[3*a+0],l=n[3*a+1],u=n[3*a+2],c=0;s>c;c++)i.push(new o(l,u));return i},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 r(t.typeNumber,t.correctLevel),n.addData(t.text),n.make();var i=document.createElement("canvas");i.width=t.width,i.height=t.height;for(var o=i.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 r(t.typeNumber,t.correctLevel),n.addData(t.text),n.make(),i=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(i),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=i,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,r){var i;return i=e(r),i.data("default",i.text()),i.data("progress",!1),i.on("click",e.proxy(t.clickHandler,t)),i.removeClass("hidden")}}(this))},t.prototype.updateLoadButton=function(t){return e(this.options.load).each(function(n){return function(r,i){var o,a;return o=e(i),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 r,i;return r=e(n).find(this.options.item),i=this.$el.find(this.options.item).last(),i.after(r),this.updateLoadButton(n),this.stopProgress(t),t.blur()},t}(),n=function(n){return this.each(function(){var r,i,o;return r=e(this),i=r.data("sk.listgroup"),o=e.extend({},r.data(),"object"==typeof n&&n),i||r.data("sk.listgroup",i=new t(this,o)),r})},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||{}
182,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,r;return r=e(t.currentTarget),n=r.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 r,i,o;return r=e(this),i=r.data("product-view"),o="object"==typeof n&&n,i||r.data("track-editor",i=new t(this,o)),r})}}(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 r,i,o;return r=e(this),i=r.data("select-deliver"),o="object"==typeof t&&t,i||r.data("select-deliver",i=new n(this,o)),r})},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,r){return t.cards.push(e(r).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,r,i,o,a,s,l;l=[];for(i in t){switch(s=t[i],i=i.toLowerCase().replace(/(.*)::/,"")){case"credit":i="credit-card";break;case"cvs":i="convenience"}r=this.$el.find("#"+i),n=e('<div class="alert alert-danger"></div>').appendTo(r),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,r;return this.hideErrorMessages(),n=this.getTokenRequestData(),t={},this.validateTokenRequestData(n,t)?(r=this.supportTLS11?"https://api3.veritrans.co.jp/4gtoken":"https://3gs.veritrans.co.jp/4gtoken",e.ajax({url:r,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
182ode,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,r,i,o,a,s;for(i=!1,s=this.cards,o=0,a=s.length;a>o;o++)n=s[o],r=t[n.toUpperCase()+"_REG"],i||"undefined"==typeof r||(i=r.test(e));return i},t.prototype.checkCardExpire=function(e){var t,n,r;return r=e.split("/"),t=new Date(parseInt(String((new Date).getFullYear()).substr(0,2)+r[1]),parseInt(r[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 r,i,o;return r=e(this),i=r.data("select-payment-type-form"),o="object"==typeof n&&n,i||r.data("select-payment-type-form",i=new t(this,o)),r})},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
183}}(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,r){var i;return i=e(r),n[i.attr("id")]=i.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(r,i){var o,a,s;return o=e(i),"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 r,i,o;return r=e(this),i=r.data("tag-select"),o="object"==typeof n&&n,i||r.data("tag-select",i=new t(this,o)),r})}}(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 r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}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 r(e){var t=0<arguments.length&&void 0!==e?e:{},r=t.id,e=t.url,t=r||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(r)throw new TypeError("“".concat(r,"” is not a valid video id."));throw new TypeError("“".concat(t,"” is not a vimeo.com url."))}function i(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(T(this,"_id","_WeakMap_"+a()+"."+a()),0<arguments.length)throw new TypeError("WeakMap iterable is not supported")}function o(e,t){if(!s(e)||!x.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 r=M.get(e.element)||{};t in r||(r[t]=[]),r[t].push(n),M.set(e.element,r)}function u(e,t){return(M.get(e.element)||{})[t]||[]}
183function c(e,t,n){var r=M.get(e.element)||{};return r[t]?n?(n=r[t].indexOf(n),-1!==n&&r[t].splice(n,1),M.set(e.element,r),r[t]&&0===r[t].length):(r[t]=[],M.set(e.element,r),!0):!0}function d(e,t){return L.reduce(function(t,n){var r=e.getAttribute("data-vimeo-".concat(n));return!r&&""!==r||(t[n]=""===r?1:r),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,r){var i=1<arguments.length&&void 0!==t?t:{},o=2<arguments.length?r:void 0;return new Promise(function(t,r){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 i)i.hasOwnProperty(a)&&(s+="&".concat(a,"=").concat(encodeURIComponent(i[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 r(new Error("“".concat(e,"” is not embeddable.")));t(n)}catch(n){r(n)}else r(new Error("“".concat(e,"” is not embeddable.")));else r(new Error("“".concat(e,"” was not found.")))},l.onerror=function(){var e=l.status?" (".concat(l.status,")"):"";r(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(r(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,r,i,o,a=[];(t=m(t)).event?("error"===t.event&&u(e,t.data.method).forEach(function(n){var r=new Error(t.data.message);r.name=t.data.name,n.reject(r),c(e,t.data.method,n)}),a=u(e,"event:".concat(t.event)),n=t.data):t.method&&(r=e,i=t.method,(o=!((o=u(r,i)).length<1)&&(o=o.shift(),c(r,i,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),w=void 0!==Array.prototype.indexOf,b="undefined"!=typeof window&&void 0!==window.postMessage;if(!(y||w&&b))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var x,T,C="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};(b="undefined"!=typeof self?self:"undefined"!=typeof window?window:C).WeakMap||(x=Object.prototype.hasOwnProperty,b.WeakMap=((T=function(e,t,n){Object.defineProperty?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:n}):e[t]=n})(i.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))}),T(i.prototype,"get",function(e){if(o(this,"get"),s(e)){var t=e[this._id];return t&&t[0]===e?t[1]:void 0}}),T(i.prototype,"has",function(e){if(o(this,"has"),!s(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)}),T(i.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:T(e,this._id,[e,t]),this}),T(i,"_polyfill",!0),i));var k,S,_,E,D=(function(e){var t,n,r;r=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 r(){for(var e=0;e<this.chain.length;e++)!function(e,t,r){var i,o;try{!1===t?r.reject(e.msg):(i=!0===t?e.msg:t.call(void 0,e.msg))===r.promise?r.reject(TypeError("Promise-chain cycle")):(o=n(i))?o.call(i,r.resolve,r.reject):r.resolve(i)}catch(e){r.reject(e)}}(this,1===this.state?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function i(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(){i.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(r,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(r,n))}function a(e,t,n,r){for(var i=0;i<t.length;i++)!function(i){e.resolve(t[i]).then(function(e){n(i,e)},r)}(i)}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,i){var o={success:"function"!=typeof e||e,failure:"function"==typeof i&&i};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(r,n),o.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){i.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,r){return Object.defineProperty(e,t,{value:n,writable:!0,configurable:!1!==r})}}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,r){if("function"!=typeof n||"function"!=typeof r)throw TypeError("Not a function");var i=e.length,o=Array(i),s=0;a(t,e,function(e,t){o[e]=t,++s===i&&n(o)},r)})}),c(u,"race",function(e){var t=this;return"[object Array]"!=m.call(e)?t.reject(TypeError("Not an array")):new t(function(n,r){if("function"!=typeof n||"function"!=typeof r)throw TypeError("Not a function");a(t,e,function(e,t){n(t)},r)})}),u},(n=C)[t="Promise"]=n[t]||r(),e.exports&&(e.exports=n[t])}(k={exports:{}}
183),k.exports),M=new WeakMap,L=["autopause","autoplay","background","byline","color","controls","dnt","height","id","interactiveparams","keyboard","loop","maxheight","maxwidth","muted","playsinline","portrait","responsive","speed","texttrack","title","transparent","url","width"],$=new WeakMap,A=new WeakMap,N={},b=function(){function i(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,i),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($.has(e))return $.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";var s,u=new D(function(t,i){var s;o._onMessage=function(e){if(n(e.origin)&&o.element.contentWindow===e.source){"*"===o.origin&&(o.origin=e.origin);var r=m(e.data);if(r&&"error"===r.event&&r.data&&"ready"===r.data.method){var a=new Error(r.data.message);return a.name=r.data.name,void i(a)}if(e=r&&"ready"===r.event,a=r&&"ping"===r.method,e||a)return o.element.setAttribute("data-ready","true"),void t();v(o,r)}},o._window.addEventListener("message",o._onMessage),"IFRAME"!==o.element.nodeName&&p(r(s=d(e,a)),s,e).then(function(t){var n,r,i=f(t,e);return o.element=i,o._originalElement=e,n=e,r=i,i=M.get(n),M.set(r,i),M.delete(n),$.set(o.element,o),t}).catch(i)});return A.set(this,u),$.set(this.element,this),"IFRAME"===this.element.nodeName&&g(this,"ping"),N.isEnabled&&(s=function(){return N.exit()},this.fullscreenchangeHandler=function(){(N.isFullscreen?l:c)(o,"event:exitFullscreen",s),o.ready().then(function(){g(o,"fullscreenchange",N.isFullscreen)})},N.on("fullscreenchange",this.fullscreenchangeHandler)),this}var o,a,s;return o=i,(a=[{key:"callMethod",value:function(e){var t=this,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return new D(function(r,i){return t.ready().then(function(){l(t,e,{resolve:r,reject:i}),g(t,e,n)}).catch(i)})}},{key:"get",value:function(e){var n=this;return new D(function(r,i){return e=t(e,"get"),n.ready().then(function(){l(n,e,{resolve:r,reject:i}),g(n,e)}).catch(i)})}},{key:"set",value:function(e,n){var r=this;return new D(function(i,o){if(e=t(e,"set"),null==n)throw new TypeError("There must be a value to set.");return r.ready().then(function(){l(r,e,{resolve:i,reject:o}),g(r,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 D(function(e,t){t(new Error("Unknown player. Probably unloaded."))});return D.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 N.isEnabled?N.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return N.isEnabled?N.exit(
vendor: 4,196 bytes, line 183
183):this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return N.isEnabled?D.resolve(N.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 D(function(t){var n;A.delete(e),$.delete(e.element),e._originalElement&&($.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),N.isEnabled&&N.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),i}();return y||(S=function(){for(var e,t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["
183webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],n=0,r=t.length,i={};r>n;n++)if((e=t[n])&&e[1]in document){for(n=0;n<e.length;n++)i[t[0][n]]=e[n];return i}return!1}(),_={fullscreenchange:S.fullscreenchange,fullscreenerror:S.fullscreenerror},E={request:function(e){return new Promise(function(t,n){function r(){E.off("fullscreenchange",r),t()}E.on("fullscreenchange",r);var i=(e=e||document.documentElement)[S.requestFullscreen]();i instanceof Promise&&i.then(r).catch(n)})},exit:function(){return new Promise(function(e,t){var n,r;E.isFullscreen?(n=function i(){E.off("fullscreenchange",i),e()},E.on("fullscreenchange",n),(r=document[S.exitFullscreen]())instanceof Promise&&r.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])}}}),N=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 r=t.querySelectorAll("iframe"),i=0;i<r.length;i++)if(r[i].contentWindow===e.source){r[i].parentElement.style.paddingBottom="".concat(e.data.data[0].bottom,"px");break}}))}()),b}),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,r;return n=$.extend({skip:10},t),r=n.skipTime,$(this).append("<span>"+String(r)+"</span>"),this.click(function(){e.getCurrentTime().then(function(t){return t>r?e.setCurrentTime(t-r):e.setCurrentTime(0)})})},$.fn.nextSkip=function(t){var n,r;return n=$.extend({skip:10},t),r=n.skipTime,$(this).prepend("<span>"+String(r)+"</span>"),this.click(function(){n=$.extend({skip:10},t),e.getDuration().then(function(t){e.getCurrentTime().then(function(n){return t-n>r?e.setCurrentTime(n+r):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 r,i,o;return r=e(this),i=r.data("video-view"),o="object"==typeof n&&n,i||r.data("video-view",i=new t(this,o)),r})}}(window.$)}.call(this),function(){$(function(){var e,t,n,r,i,o,a,s,l,u,c;"/"!==location.pathname&&$(document).width()<=768&&$(".hidden-xs iframe").remove(),$(".fb-like-btn").length>0&&$.post("https://graph.facebook.com/",{scrape:!0,id:location.href}),t=$("#image-area"),t.length>0&&(s={lines:12,length:7,width:4,radius:10,color:" #000",speed:1,trail:60,shadow:!1,hwaccel:!1},u=new Spinner(s).spin(t.get(0)),setTimeout(function(){return u.stop(),$(".swiper-container").animate({opacity:"1"},1e3)},500),c={calculateHeight:!0,resizeReInit:!0},1!==t.find(".swiper-slide").length&&(c={calculateHeight:!0,resizeReInit:!0,loop:!0,speed:1e3,pagination:".paginate",autoplay:5e3,paginationClickable:!0}),t.hasClass("no-swiped")||(o=new Swiper("#image-area .swiper-container",c),t.find(".arrow-right, .arrow-left").on("click",function(e){return e.preventDefault(),-1!==e.currentTarget.className.indexOf("arrow-left")&&o.swipePrev(),-1!==e.currentTarget.className.indexOf("arrow-right")?o.swipeNext():void 0}),$(window).on("resize",function(){return 0!==Object.keys(o).length?o.resizeFix():void 0}))),a=!1,n=$("#side-nav"),r=$("#overlay"),e=$("body"),$(".side-nav-open").on("click",function(){return a===!1?(e.addClass("fix-body"),n.animate({right:0},1e3,"easeOutExpo"),a=!0,r.animate({width:"100%"},500)):void 0}),$("#side-nav-close").on("click",function(){return a===!0?(e.removeClass("fix-body"),n.animate({right:-300},1e3,"easeOutExpo"),a=!1,r.animate({width:"0"},500)):void 0}),$(window).on("resize",function(){var t;return t=window.outerWidth,t>768&&a===!0?(e.removeClass("fix-body"),n.animate({right:-300},1e3,"easeOutExpo"),a=!1,r.animate({width:"0"},500)):void 0}),$("#helps .section h3").on("click",function(){return $(this).next().slideToggle()}
183),$(".audio-player").audioPlayer(),$("#calendar").calendarView({model:"content"}),$(".responsive-slider").responsiveSlider(),$(".fancybox").fancybox(),$(".details.show-gallery").on("contextmenu",function(){return!1}),i=function(){return $("[data-trunk8-lines]").each(function(e,t){var n;return n=$(t),n.trunk8({lines:n.data("trunk8-lines")})})},l=_.debounce(function(){return i()},300),$(window).on("resize",l),i(),$(".slot-totalscore").css({opacity:"0"}),setTimeout(function(){$(".slot-totalscore").stop().animate({opacity:"1"},400)},3200)})}.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.