PageSourceSearch

https://ollodevidro.gal/assets/application-b6a262dc6945467d335381e1bbf2ebe9c3bf8904b6de8483799feabe3493759c.js

js ollodevidro.gal collected 2026-10-06 17:01:29 UTC 801,653 bytes, 25 lines download raw bytes

vendor: 9,907 bytes, line 1
1var Vel,wikiCallback,googleCallback;!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(k,e){function s(e){var t=!!e&&"length"in e&&e.length,n=oe.type(e);return"function"!==n&&!oe.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function t(e,n,i){if(oe.isFunction(n))return oe.grep(e,function(e,t){return!!n.call(e,t,e)!==i});if(n.nodeType)return oe.grep(e,function(e){return e===n!==i});if("string"==typeof n){if(ge.test(n))return oe.filter(n,e,i);n=oe.filter(n,e)}return oe.grep(e,function(e){return-1<Z.call(n,e)!==i})}function n(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function c(e){var n={};return oe.each(e.match(_e)||[],function(e,t){n[t]=!0}),n}function i(){X.removeEventListener("DOMContentLoaded",i),k.removeEventListener("load",i),oe.ready()}function r(){this.expando=oe.expando+r.uid++}function l(e,t,n){var i;if(n===undefined&&1===e.nodeType)if(i="data-"+t.replace(Ee,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Ce.test(n)?oe.parseJSON(n):n)}catch(r){}Se.set(e,t,n)}else n=undefined;return n}function u(e,t,n,i){var r,o=1,a=20,s=i?function(){return i.cur()}:function(){return oe.css(e,t,"")},l=s(),u=n&&n[3]||(oe.cssNumber[t]?"":"px"),c=(oe.cssNumber[t]||"px"!==u&&+l)&&Oe.exec(oe.css(e,t));if(c&&c[3]!==u)for(u=u||c[3],n=n||[],c=+l||1;c/=o=o||".5",oe.style(e,t,c+u),o!==(o=s()/l)&&1!==o&&--a;);return n&&(c=+c||+l||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=r)),r}function g(e,t){var n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[];return t===undefined||t&&oe.nodeName(e,t)?oe.merge([e],n):n}function m(e,t){for(var n=0,i=e.length;n<i;n++)Te.set(e[n],"globalEval",!t||Te.get(t[n],"globalEval"))}function v(e,t,n,i,r){for(var o,a,s,l,u,c,d=t.createDocumentFragment(),p=[],h=0,f=e.length;h<f;h++)if((o=e[h])||0===o)if("object"===oe.type(o))oe.merge(p,o.nodeType?[o]:o);else if(He.test(o)){for(a=a||d.appendChild(t.createElement("div")),s=(Ie.exec(o)||["",""])[1].toLowerCase(),l=Ne[s]||Ne._default,a.innerHTML=l[1]+oe.htmlPrefilter(o)+l[2],c=l[0];c--;)a=a.lastChild;oe.merge(p,a.childNodes),(a=d.firstChild).textContent=""}else p.push(t.createTextNode(o));for(d.textContent="",h=0;o=p[h++];)if(i&&-1<oe.inArray(o,i))r&&r.push(o);else if(u=oe.contains(o.ownerDocument,o),a=g(d.appendChild(o),"script"),u&&m(a),n)for(c=0;o=a[c++];)je.test(o.type||"")&&n.push(o);return d}function o(){return!0}function d(){return!1}function a(){try{return X.activeElement}catch(e){}}function p(e,t,n,i,r,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(i=i||n,n=undefined),t)p(e,s,n,i,t[s],o);return e}if(null==i&&null==r?(r=n,i=n=undefined):null==r&&("string"==typeof n?(r=i,i=undefined):(r=i,i=n,n=undefined)),!1===r)r=d;else if(!r)return e;return 1===o&&(a=r,(r=function(e){return oe().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=oe.guid++)),e.each(function(){oe.event.add(this,t,r,i,n)})}function h(e,t){return oe.nodeName(e,"table")&&oe.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function y(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function b(e){var t=Ve.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function f(e,t){var n,i,r,o,a,s,l,u;if(1===t.nodeType){if(Te.hasData(e)&&(o=Te.access(e),a=Te.set(t,o),u=o.events))for(r in delete a.handle,a.events={},u)for(n=0,i=u[r].length;n<i;n++)oe.event.add(t,r,u[r][n]);Se.hasData(e)&&(s=Se.access(e),l=oe.extend({},s),Se.set(t,l))}}function w(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Me.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function _(n,i,r,o){i=K.apply([],i);var e,t,a,s,l,u,c=0,d=n.length,p=d-1,h=i[0],f=oe.isFunction(h);if(f||1<d&&"string"==typeof h&&!ie.checkClone&&Be.test(h))return n.each(function(e){var t=n.eq(e);f&&(i[0]=h.call(this,e,t.html())),_(t,i,r,o)});if(d&&(t=(e=v(i,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=oe.map(g(e,"script"),y)).length;c<d;c++)l=e,c!==p&&(l=oe.clone(l,!0,!0),s&&oe.merge(a,g(l,"script"))),r.call(n[c],l,c);if(s)for(u=a[a.length-1].ownerDocument,oe.map(a,b),c=0;c<s;c++)l=a[c],je.test(l.type||"")&&!Te.access(l,"globalEval")&&oe.contains(u,l)&&(l.src?oe._evalUrl&&oe._evalUrl(l.src):oe.globalEval(l.textContent.replace(Ye,"")))}return n}function x(e,t,n){for(var i,r=t?oe.filter(t,e):e,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||oe.cleanData(g(i)),i.parentNode&&(n&&oe.contains(i.ownerDocument,i)&&m(g(i,"script")),i.parentNode.removeChild(i));return e}function T(e,t){var n=oe(t.createElement(e)).appendTo(t.body),i=oe.css(n[0],"display");return n.detach(),i}function S(e){var t=X,n=Ge[e];return n||("none"!==(n=T(e,t))&&n||((t=(Ue=(Ue||oe("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),n=T(e,t),Ue.detach()),Ge[e]=n),n}function C(e,t,n){var i,r,o,a,s=e.style;return""!==(a=(n=n||Ke(e))?n.getPropertyValue(t)||n[t]:undefined)&&a!==undefined||oe.contains(e.ownerDocument,e)||(a=oe.style(e,t)),n&&!ie.pixelMarginRight()&&Qe.test(a)&&Xe.test(t)&&(i=s.width,r=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=r,s.maxWidth=o),a!==undefined?a+"":a}function E(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function D(e){if(e in rt)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=it.length;n--;)if((e=it[n]+t)in rt)return e}function O(e,t,n){var i=Oe.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function P(e,t,n,i,r){for(var o=n===(i?"border":"content")?4:"width"===t?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=oe.css(e,n+Pe[o],!0,r)),i?("content"===n&&(a-=oe.css(e,"padding"+Pe[o],!0,r)),"margin"!==n&&(a-=oe.css(e,"border"+Pe[o]+"Width",!0,r))):(a+=oe.css(e,"padding"+Pe[o],!0,r),"padding"!==n&&(a+=oe.css(e,"border"+Pe[o]+"Width",!0,r)));return a}function A(e,t,n){var i=!0,r="width"===t?e.offsetWidth:e.offsetHeight,o=Ke(e),a="border-box"===oe.css(e,"boxSizing",!1,o);if(X.msFullscreenElement&&k.top!==k&&e.getClientRects().length&&(r=Math.round(100*e.getBoundingClientRect()[t])),r<=0||null==r){if(((r=C(e,t,o))<0||null==r)&&(r=e.style[t]),Qe.test(r))return r;i=a&&(ie.boxSizingReliable()||r===e.style[t]),r=parseFloat(r)||0}return r+P(e,t,n||(a?"border":"content"),i,o)+"px"}function M(e,t){for(var n,i,r,o=[],a=0,s=e.length;a<s;a++)(i=e[a]).style&&(o[a]=Te.get(i,"olddisplay"),n=i.style.display,t?(o[a]||"none"!==n||(i.style.display=""),""===i.style.display&&Ae(i)&&(o[a]=Te.access(i,"olddisplay",S(i.nodeName)))):(r=Ae(i),"none"===n&&r||Te.set(i,"olddisplay",r?n:oe.css(i,"display"))));for(a=0;a<s;a++)(i=e[a]).style&&(t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?o[a]||"":"none"));return e}function I(e,t,n,i,r){return new I.prototype.init(e,t,n,i,r)}function j(){return k.setTimeout(function(){ot=undefined}),ot=oe.now()}function N(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=Pe[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function L(e,t,n){for(var i,r=(R.tweeners[t]||[]).concat(R.tweeners["*"]),o=0,a=r.length;o<a;o++)if(i=r[o].call(n,t,e))return i}function $(t,e,n){var i,r,o,a,s,l,u,c=this,d={},p=t.style,h=t.nodeType&&Ae(t),f=Te.get(t,"fxshow");for(i in n.queue||(null==(s=oe._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,c.always(function(){c.always(function(){s.unqueued--,oe.queue(t,"fx").length||s.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===("none"===(u=oe.css(t,"display"))?Te.get(t,"olddisplay")||S(t.nodeName):u)&&"none"===oe.css(t,"float")&&(p.display="inline-block")),n.overflow&&(p.overflow="hidden",c.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),e)if(r=e[i],ct.exec(r)){if(delete e[i],o=o||"toggle"===r,r===(h?"hide":"show")){if("show"!==r||!f||f[i]===undefined)continue;h=!0}d[i]=f&&f[i]||oe.style(t,i)}else u=undefined;if(oe.isEmptyObject(d))"inline"===("none"===u?S(t.nodeName):u)&&(p.display=u);else for(i in f?"hidden"in f&&(h=f.hidden):f=Te.access(t,"fxshow",{}),o&&(f.hidden=!h),h?oe(t).show():c.done(function(){oe(t).hide()}),c.done(function(){var e;for(e in Te.remove(t,"fxshow"),d)oe.style(t,e,d[e])}),d)a=L(h?f[i]:0,i,c),i in f||(f[i]=a.start,h&&(a.end=a.start,a.start="width"===i||"height"===i?1:0))}function H(e,t){var n,i,r,o,a;for(n in e)if(r=t[i=oe.camelCase(n)],o=e[n],oe.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),(a=oe.cssHooks[i])&&"expand"in a)for(n in o=a.expand(o),delete e[i],o)n in e||(e[n]=o[n],t[n]=r);else t[i]=r}function R(o,e,t){var n,a,i=0,r=R.prefilters.length,s=oe.Deferred().always(function(){delete l.elem}),l=function(){if(a)return!1;for(var e=ot||j(),t=Math.max(0,u.startTime+u.duration-e),n=1-(t/u.duration||0),i=0,r=u.tweens.length;i<r;i++)u.tweens[i].run(n);return s.notifyWith(o,[u,n,t]),n<1&&r?t:(s.resolveWith(o,[u]),!1)},u=s.promise({elem:o,props:oe.extend({},e),opts:oe.extend(!0,{specialEasing:{},easing:oe.easing._default},t),originalProperties:e,originalOptions:t,startTime:ot||j(),duration:t.duration,tweens:[],createTween:function(e,t){var n=oe.Tween(o,u.opts,e,t,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(n),n},stop:function(e){var t=0,n=e?u.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)u.tweens[t].run(1);return e?(s.notifyWith(o,[u,1,0]),s.resolveWith(o,[u,e])):s.rejectWith(o,[u,e]),this}}),c=u.props;
vendor: 4,837 bytes, line 1
1for(H(c,u.opts.specialEasing);i<r;i++)if(n=R.prefilters[i].call(u,o,c,u.opts))return oe.isFunction(n.stop)&&(oe._queueHooks(u.elem,u.opts.queue).stop=oe.proxy(n.stop,n)),n;return oe.map(c,L,u),oe.isFunction(u.opts.start)&&u.opts.start.call(o,u),oe.fx.timer(oe.extend(l,{elem:o,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function z(e){return e.getAttribute&&e.getAttribute("class")||""}function F(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,i=0,r=e.toLowerCase().match(_e)||[];if(oe.isFunction(t))for(;n=r[i++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function W(t,r,o,a){function s(e){var i;return l[e]=!0,oe.each(t[e]||[],function(e,t){var n=t(r,o,a);return"string"!=typeof n||u||l[n]?u?!(i=n):void 0:(r.dataTypes.unshift(n),s(n),!1)}),i}var l={},u=t===Pt;return s(r.dataTypes[0])||!l["*"]&&s("*")}function q(e,t){var n,i,r=oe.ajaxSettings.flatOptions||{};for(n in t)t[n]!==undefined&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&oe.extend(!0,e,i),e}function B(e,t,n){for(var i,r,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),i===undefined&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in s)if(s[r]&&s[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){o=r;break}a||(a=r)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}function V(e,t,n,i){var r,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=u[l+" "+o]||u["* "+o]))for(r in u)if((s=r.split(" "))[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[r]:!0!==u[r]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)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(n,e,i,r){var t;if(oe.isArray(e))oe.each(e,function(e,t){i||jt.test(n)?r(n,t):Y(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,i,r)});else if(i||"object"!==oe.type(e))r(n,e);else for(t in e)Y(n+"["+t+"]",e[t],i,r)}function U(e){return oe.isWindow(e)?e:9===e.nodeType&&e.defaultView}var G=[],X=k.document,Q=G.slice,K=G.concat,J=G.push,Z=G.indexOf,ee={},te=ee.toString,ne=ee.hasOwnProperty,ie={},re="2.2.2",oe=function(e,t){return new oe.fn.init(e,t)},ae=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,se=/^-ms-/,le=/-([\da-z])/gi,ue=function(e,t){return t.toUpperCase()};oe.fn=oe.prototype={jquery:re,constructor:oe,selector:"",length:0,toArray:function(){return Q.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:Q.call(this)},pushStack:function(e){var t=oe.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return oe.each(this,e)},map:function(n){return this.pushStack(oe.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(Q.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:J,sort:G.sort,splice:G.splice},oe.extend=oe.fn.extend=function(e){var t,n,i,r,o,a,s=e||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[l]||{},l++),"object"==typeof s||oe.isFunction(s)||(s={}),l===u&&(s=this,l--);l<u;l++)if(null!=(t=arguments[l]))for(n in t)i=s[n],s!==(r=t[n])&&(c&&r&&(oe.isPlainObject(r)||(o=oe.isArray(r)))?(o?(o=!1,a=i&&oe.isArray(i)?i:[]):a=i&&oe.isPlainObject(i)?i:{},s[n]=oe.extend(c,a,r)):r!==undefined&&(s[n]=r));return s},oe.extend({expando:"jQuery"+(re+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===oe.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=e&&e.toString();return!oe.isArray(e)&&0<=t-parseFloat(t)+1},isPlainObject:function(e){var t;if("object"!==oe.type(e)||e.nodeType||oe.isWindow(e))return!1;if(e.constructor&&!ne.call(e,"constructor")&&!ne.call(e.constructor.prototype||{},"isPrototypeOf"))return!1;for(t in e);return t===undefined||ne.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?ee[te.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;(e=oe.trim(e))&&(1===e.indexOf("use strict")?((t=X.createElement("script")).text=e,X.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(se,"ms-").replace(le,ue)}
vendor: 3,837 bytes, line 1
1,nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,i=0;if(s(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},trim:function(e){return null==e?"":(e+"").replace(ae,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(s(Object(e))?oe.merge(n,"string"==typeof e?[e]:e):J.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:Z.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;i++)e[r++]=t[i];return e.length=r,e},grep:function(e,t,n){for(var i=[],r=0,o=e.length,a=!n;r<o;r++)!t(e[r],r)!==a&&i.push(e[r]);return i},map:function(e,t,n){var i,r,o=0,a=[];if(s(e))for(i=e.length;o<i;o++)null!=(r=t(e[o],o,n))&&a.push(r);else for(o in e)null!=(r=t(e[o],o,n))&&a.push(r);return K.apply([],a)},guid:1,proxy:function(e,t){var n,i,r;return"string"==typeof t&&(n=e[t],t=e,e=n),oe.isFunction(e)?(i=Q.call(arguments,2),(r=function(){return e.apply(t||this,i.concat(Q.call(arguments)))}).guid=e.guid=e.guid||oe.guid++,r):undefined},now:Date.now,support:ie}),"function"==typeof Symbol&&(oe.fn[Symbol.iterator]=G[Symbol.iterator]),oe.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){ee["[object "+t+"]"]=t.toLowerCase()});var ce=function(n){function w(e,t,n,i){var r,o,a,s,l,u,c,d,p=t&&t.ownerDocument,h=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return n;if(!i&&((t?t.ownerDocument||t:z)!==M&&A(t),t=t||M,j)){if(11!==h&&(u=ve.exec(e)))if(r=u[1]){if(9===h){if(!(a=t.getElementById(r)))return n;if(a.id===r)return n.push(a),n}else if(p&&(a=p.getElementById(r))&&H(t,a)&&a.id===r)return n.push(a),n}else{if(u[2])return J.apply(n,t.getElementsByTagName(e)),n;if((r=u[3])&&v.getElementsByClassName&&t.getElementsByClassName)return J.apply(n,t.getElementsByClassName(r)),n}if(v.qsa&&!V[e+" "]&&(!N||!N.test(e))){if(1!==h)p=t,d=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(be,"\\$&"):t.setAttribute("id",s=R),o=(c=S(e)).length,l=pe.test(s)?"#"+s:"[id='"+s+"']";o--;)c[o]=l+" "+m(c[o]);d=c.join(","),p=ye.test(e)&&g(t.parentNode)||t}if(d)try{return J.apply(n,p.querySelectorAll(d)),n}catch(f){}finally{s===R&&t.removeAttribute("id")}}}return E(e.replace(se,"$1"),t,n,i)}function e(){function n(e,t){return i.push(e+" ")>x.cacheLength&&delete n[i.shift()],n[e+" "]=t}var i=[];return n}function l(e){return e[R]=!0,e}function r(e){var t=M.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function t(e,t){for(var n=e.split("|"),i=n.length;i--;)x.attrHandle[n[i]]=t}function u(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||U)-(~e.sourceIndex||U);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function i(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function o(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function a(a){return l(function(o){return o=+o,l(function(e,t){for(var n,i=a([],e.length,o),r=i.length;r--;)e[n=i[r]]&&(e[n]=!(t[n]=e[n]))})})}function g(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function s(){}function m(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function d(s,e,t){var l=e.dir,u=t&&"parentNode"===l,c=W++;return e.first?function(e,t,n){for(;e=e[l];)if(1===e.nodeType||u)return s(e,t,n)}:function(e,t,n){var i,r,o,a=[F,c];if(n){for(;e=e[l];)if((1===e.nodeType||u)&&s(e,t,n))return!0}else for(;e=e[l];)if(1===e.nodeType||u){if((i=(r=(o=e[R]||(e[R]={}))[e.uniqueID]||(o[e.uniqueID]={}))[l])&&i[0]===F&&i[1]===c)return a[2]=i[2];if((r[l]=a)[2]=s(e,t,n))return!0}}}function p(r){return 1<r.length?function(e,t,n){for(var i=r.length;i--;
vendor: 5,350 bytes, line 1
1)if(!r[i](e,t,n))return!1;return!0}:r[0]}function y(e,t,n){for(var i=0,r=t.length;i<r;i++)w(e,t[i],n);return n}function _(e,t,n,i,r){for(var o,a=[],s=0,l=e.length,u=null!=t;s<l;s++)(o=e[s])&&(n&&!n(o,i,r)||(a.push(o),u&&t.push(s)));return a}function b(h,f,g,m,v,e){return m&&!m[R]&&(m=b(m)),v&&!v[R]&&(v=b(v,e)),l(function(e,t,n,i){var r,o,a,s=[],l=[],u=t.length,c=e||y(f||"*",n.nodeType?[n]:n,[]),d=!h||!e&&f?c:_(c,s,h,n,i),p=g?v||(e?h:u||m)?[]:t:d;if(g&&g(d,p,n,i),m)for(r=_(p,l),m(r,[],n,i),o=r.length;o--;)(a=r[o])&&(p[l[o]]=!(d[l[o]]=a));if(e){if(v||h){if(v){for(r=[],o=p.length;o--;)(a=p[o])&&r.push(d[o]=a);v(null,p=[],r,i)}for(o=p.length;o--;)(a=p[o])&&-1<(r=v?ee(e,a):s[o])&&(e[r]=!(t[r]=a))}}else p=_(p===t?p.splice(u,p.length):p),v?v(null,t,p,i):J.apply(t,p)})}function h(e){for(var r,t,n,i=e.length,o=x.relative[e[0].type],a=o||x.relative[" "],s=o?1:0,l=d(function(e){return e===r},a,!0),u=d(function(e){return-1<ee(r,e)},a,!0),c=[function(e,t,n){var i=!o&&(n||t!==D)||((r=t).nodeType?l(e,t,n):u(e,t,n));return r=null,i}];s<i;s++)if(t=x.relative[e[s].type])c=[d(p(c),t)];else{if((t=x.filter[e[s].type].apply(null,e[s].matches))[R]){for(n=++s;n<i&&!x.relative[e[n].type];n++);return b(1<s&&p(c),1<s&&m(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),t,s<n&&h(e.slice(s,n)),n<i&&h(e=e.slice(n)),n<i&&m(e))}c.push(t)}return p(c)}function c(m,v){var y=0<v.length,b=0<m.length,e=function(e,t,n,i,r){var o,a,s,l=0,u="0",c=e&&[],d=[],p=D,h=e||b&&x.find.TAG("*",r),f=F+=null==p?1:Math.random()||.1,g=h.length;for(r&&(D=t===M||t||r);u!==g&&null!=(o=h[u]);u++){if(b&&o){for(a=0,t||o.ownerDocument===M||(A(o),n=!j);s=m[a++];)if(s(o,t||M,n)){i.push(o);break}r&&(F=f)}y&&((o=!s&&o)&&l--,e&&c.push(o))}if(l+=u,y&&u!==l){for(a=0;s=v[a++];)s(c,d,t,n);if(e){if(0<l)for(;u--;)c[u]||d[u]||(d[u]=Q.call(i));d=_(d)}J.apply(i,d),r&&!e&&0<d.length&&1<l+v.length&&w.uniqueSort(i)}return r&&(F=f,D=p),c};return y?l(e):e}var f,v,x,k,T,S,C,E,D,O,P,A,M,I,j,N,L,$,H,R="sizzle"+1*new Date,z=n.document,F=0,W=0,q=e(),B=e(),V=e(),Y=function(e,t){return e===t&&(P=!0),0},U=1<<31,G={}.hasOwnProperty,X=[],Q=X.pop,K=X.push,J=X.push,Z=X.slice,ee=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",ie="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",re="\\["+ne+"*("+ie+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ie+"))|)"+ne+"*\\]",oe=":("+ie+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+re+")*)|.*)\\)|)",ae=new RegExp(ne+"+","g"),se=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),le=new RegExp("^"+ne+"*,"+ne+"*"),ue=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),ce=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),de=new RegExp(oe),pe=new RegExp("^"+ie+"$"),he={ID:new RegExp("^#("+ie+")"),CLASS:new RegExp("^\\.("+ie+")"),TAG:new RegExp("^("+ie+"|[*])"),ATTR:new RegExp("^"+re),PSEUDO:new RegExp("^"+oe),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},fe=/^(?:input|select|textarea|button)$/i,ge=/^h\d$/i,me=/^[^{]+\{\s*\[native \w/,ve=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,be=/'|\\/g,we=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),_e=function(e,t,n){var i="0x"+t-65536;return i!=i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},xe=function(){A()};try{J.apply(X=Z.call(z.childNodes),z.childNodes),X[z.childNodes.length].nodeType}catch(ke){J={apply:X.length?function(e,t){K.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}for(f in v=w.support={},T=w.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},A=w.setDocument=function(e){var t,n,i=e?e.ownerDocument||e:z;return i!==M&&9===i.nodeType&&i.documentElement&&(I=(M=i).documentElement,j=!T(M),(n=M.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",xe,!1):n.attachEvent&&n.attachEvent("onunload",xe)),v.attributes=r(function(e){return e.className="i",!e.getAttribute("className")}),v.getElementsByTagName=r(function(e){return e.appendChild(M.createComment("")),!e.getElementsByTagName("*").length}),v.getElementsByClassName=me.test(M.getElementsByClassName),v.getById=r(function(e){return I.appendChild(e).id=R,!M.getElementsByName||!M.getElementsByName(R).length}),v.getById?(x.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&j){var n=t.getElementById(e);return n?[n]:[]}},x.filter.ID=function(e){var t=e.replace(we,_e);return function(e){return e.getAttribute("id")===t}}):(delete x.find.ID,x.filter.ID=function(e){var n=e.replace(we,_e);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}}),x.find.TAG=v.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):v.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);
vendor: 4,437 bytes, line 1
1if("*"!==e)return o;for(;n=o[r++];)1===n.nodeType&&i.push(n);return i},x.find.CLASS=v.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&j)return t.getElementsByClassName(e)},L=[],N=[],(v.qsa=me.test(M.querySelectorAll))&&(r(function(e){I.appendChild(e).innerHTML="<a id='"+R+"'></a><select id='"+R+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&N.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||N.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+R+"-]").length||N.push("~="),e.querySelectorAll(":checked").length||N.push(":checked"),e.querySelectorAll("a#"+R+"+*").length||N.push(".#.+[+~]")}),r(function(e){var t=M.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&N.push("name"+ne+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||N.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),N.push(",.*:")})),(v.matchesSelector=me.test($=I.matches||I.webkitMatchesSelector||I.mozMatchesSelector||I.oMatchesSelector||I.msMatchesSelector))&&r(function(e){v.disconnectedMatch=$.call(e,"div"),$.call(e,"[s!='']:x"),L.push("!=",oe)}),N=N.length&&new RegExp(N.join("|")),L=L.length&&new RegExp(L.join("|")),t=me.test(I.compareDocumentPosition),H=t||me.test(I.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},Y=t?function(e,t){if(e===t)return P=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!v.sortDetached&&t.compareDocumentPosition(e)===n?e===M||e.ownerDocument===z&&H(z,e)?-1:t===M||t.ownerDocument===z&&H(z,t)?1:O?ee(O,e)-ee(O,t):0:4&n?-1:1)}:function(e,t){if(e===t)return P=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!r||!o)return e===M?-1:t===M?1:r?-1:o?1:O?ee(O,e)-ee(O,t):0;if(r===o)return u(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[i]===s[i];)i++;return i?u(a[i],s[i]):a[i]===z?-1:s[i]===z?1:0}),M},w.matches=function(e,t){return w(e,null,null,t)},w.matchesSelector=function(e,t){if((e.ownerDocument||e)!==M&&A(e),t=t.replace(ce,"='$1']"),v.matchesSelector&&j&&!V[t+" "]&&(!L||!L.test(t))&&(!N||!N.test(t)))try{var n=$.call(e,t);if(n||v.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(ke){}return 0<w(t,M,null,[e]).length},w.contains=function(e,t){return(e.ownerDocument||e)!==M&&A(e),H(e,t)},w.attr=function(e,t){(e.ownerDocument||e)!==M&&A(e);var n=x.attrHandle[t.toLowerCase()],i=n&&G.call(x.attrHandle,t.toLowerCase())?n(e,t,!j):undefined;return i!==undefined?i:v.attributes||!j?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},w.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},w.uniqueSort=function(e){var t,n=[],i=0,r=0;if(P=!v.detectDuplicates,O=!v.sortStable&&e.slice(0),e.sort(Y),P){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return O=null,e},k=w.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=k(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=k(t);return n},(x=w.selectors={cacheLength:50,createPseudo:l,match:he,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(we,_e),e[3]=(e[3]||e[4]||e[5]||"").replace(we,_e),"~="===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]||w.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]&&w.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return he.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&de.test(n)&&(t=S(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(we,_e).toLowerCase();return"*"===e?function(){return!0}
vendor: 6,395 bytes, lines 1-2
1:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=q[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&q(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,i,r){return function(e){var t=w.attr(e,n);return null==t?"!="===i:!i||(t+="","="===i?t===r:"!="===i?t!==r:"^="===i?r&&0===t.indexOf(r):"*="===i?r&&-1<t.indexOf(r):"$="===i?r&&t.slice(-r.length)===r:"~="===i?-1<(" "+t.replace(ae," ")+" ").indexOf(r):"|="===i&&(t===r||t.slice(0,r.length+1)===r+"-"))}},CHILD:function(f,e,t,g,m){var v="nth"!==f.slice(0,3),y="last"!==f.slice(-4),b="of-type"===e;return 1===g&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var i,r,o,a,s,l,u=v!==y?"nextSibling":"previousSibling",c=e.parentNode,d=b&&e.nodeName.toLowerCase(),p=!n&&!b,h=!1;if(c){if(v){for(;u;){for(a=e;a=a[u];)if(b?a.nodeName.toLowerCase()===d:1===a.nodeType)return!1;l=u="only"===f&&!l&&"nextSibling"}return!0}if(l=[y?c.firstChild:c.lastChild],y&&p){for(h=(s=(i=(r=(o=(a=c)[R]||(a[R]={}))[a.uniqueID]||(o[a.uniqueID]={}))[f]||[])[0]===F&&i[1])&&i[2],a=s&&c.childNodes[s];a=++s&&a&&a[u]||(h=s=0)||l.pop();)if(1===a.nodeType&&++h&&a===e){r[f]=[F,s,h];break}}else if(p&&(h=s=(i=(r=(o=(a=e)[R]||(a[R]={}))[a.uniqueID]||(o[a.uniqueID]={}))[f]||[])[0]===F&&i[1]),!1===h)for(;(a=++s&&a&&a[u]||(h=s=0)||l.pop())&&((b?a.nodeName.toLowerCase()!==d:1!==a.nodeType)||!++h||(p&&((r=(o=a[R]||(a[R]={}))[a.uniqueID]||(o[a.uniqueID]={}))[f]=[F,h]),a!==e)););return(h-=m)===g||h%g==0&&0<=h/g}}},PSEUDO:function(e,o){var t,a=x.pseudos[e]||x.setFilters[e.toLowerCase()]||w.error("unsupported pseudo: "+e);return a[R]?a(o):1<a.length?(t=[e,e,"",o],x.setFilters.hasOwnProperty(e.toLowerCase())?l(function(e,t){for(var n,i=a(e,o),r=i.length;r--;)e[n=ee(e,i[r])]=!(t[n]=i[r])}):function(e){return a(e,0,t)}):a}},pseudos:{not:l(function(e){var i=[],r=[],s=C(e.replace(se,"$1"));return s[R]?l(function(e,t,n,i){for(var r,o=s(e,null,i,[]),a=e.length;a--;)(r=o[a])&&(e[a]=!(t[a]=r))}):function(e,t,n){return i[0]=e,s(i,null,n,r),i[0]=null,!r.pop()}}),has:l(function(t){return function(e){return 0<w(t,e).length}}),contains:l(function(t){return t=t.replace(we,_e),function(e){return-1<(e.textContent||e.innerText||k(e)).indexOf(t)}}),lang:l(function(n){return pe.test(n||"")||w.error("unsupported lang: "+n),n=n.replace(we,_e).toLowerCase(),function(e){var t;do{if(t=j?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===I},focus:function(e){return e===M.activeElement&&(!M.hasFocus||M.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},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,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!x.pseudos.empty(e)},header:function(e){return ge.test(e.nodeName)},input:function(e){return fe.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:a(function(){return[0]}),last:a(function(e,t){return[t-1]}),eq:a(function(e,t,n){return[n<0?n+t:n]}),even:a(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:a(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:a(function(e,t,n){for(var i=n<0?n+t:n;0<=--i;)e.push(i);return e}),gt:a(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=x.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[f]=i(f);for(f in{submit:!0,reset:!0})x.pseudos[f]=o(f);return s.prototype=x.filters=x.pseudos,x.setFilters=new s,S=w.tokenize=function(e,t){var n,i,r,o,a,s,l,u=B[e+" "];if(u)return t?0:u.slice(0);for(a=e,s=[],l=x.preFilter;a;){for(o in n&&!(i=le.exec(a))||(i&&(a=a.slice(i[0].length)||a),s.push(r=[])),n=!1,(i=ue.exec(a))&&(n=i.shift(),
2r.push({value:n,type:i[0].replace(se," ")}),a=a.slice(n.length)),x.filter)!(i=he[o].exec(a))||l[o]&&!(i=l[o](i))||(n=i.shift(),r.push({value:n,type:o,matches:i}),a=a.slice(n.length));if(!n)break}return t?a.length:a?w.error(e):B(e,s).slice(0)},C=w.compile=function(e,t){var n,i=[],r=[],o=V[e+" "];if(!o){for(t||(t=S(e)),n=t.length;n--;)(o=h(t[n]))[R]?i.push(o):r.push(o);(o=V(e,c(r,i))).selector=e}return o},E=w.select=function(e,t,n,i){var r,o,a,s,l,u="function"==typeof e&&e,c=!i&&S(e=u.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&v.getById&&9===t.nodeType&&j&&x.relative[o[1].type]){if(!(t=(x.find.ID(a.matches[0].replace(we,_e),t)||[])[0]))return n;u&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(r=he.needsContext.test(e)?0:o.length;r--&&(a=o[r],!x.relative[s=a.type]);)if((l=x.find[s])&&(i=l(a.matches[0].replace(we,_e),ye.test(o[0].type)&&g(t.parentNode)||t))){if(o.splice(r,1),!(e=i.length&&m(o)))return J.apply(n,i),n;break}}return(u||C(e,c))(i,t,!j,n,!t||ye.test(e)&&g(t.parentNode)||t),n},v.sortStable=R.split("").sort(Y).join("")===R,v.detectDuplicates=!!P,A(),v.sortDetached=r(function(e){return 1&e.compareDocumentPosition(M.createElement("div"))}),r(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||t("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),v.attributes&&r(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||t("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),r(function(e){return null==e.getAttribute("disabled")})||t(te,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),w}(k);oe.find=ce,oe.expr=ce.selectors,oe.expr[":"]=oe.expr.pseudos,oe.uniqueSort=oe.unique=ce.uniqueSort,oe.text=ce.getText,oe.isXMLDoc=ce.isXML,oe.contains=ce.contains;
vendor: 6,857 bytes, line 2
2var de=function(e,t,n){for(var i=[],r=n!==undefined;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&oe(e).is(n))break;i.push(e)}return i},pe=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},he=oe.expr.match.needsContext,fe=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,ge=/^.[^:#\[\.,]*$/;oe.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?oe.find.matchesSelector(i,e)?[i]:[]:oe.find.matches(e,oe.grep(t,function(e){return 1===e.nodeType}))},oe.fn.extend({find:function(e){var t,n=this.length,i=[],r=this;if("string"!=typeof e)return this.pushStack(oe(e).filter(function(){for(t=0;t<n;t++)if(oe.contains(r[t],this))return!0}));for(t=0;t<n;t++)oe.find(e,r[t],i);return(i=this.pushStack(1<n?oe.unique(i):i)).selector=this.selector?this.selector+" "+e:e,i},filter:function(e){return this.pushStack(t(this,e||[],!1))},not:function(e){return this.pushStack(t(this,e||[],!0))},is:function(e){return!!t(this,"string"==typeof e&&he.test(e)?oe(e):e||[],!1).length}});var me,ve=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(oe.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||me,"string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):oe.isFunction(e)?n.ready!==undefined?n.ready(e):e(oe):(e.selector!==undefined&&(this.selector=e.selector,this.context=e.context),oe.makeArray(e,this));if(!(i="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:ve.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof oe?t[0]:t,oe.merge(this,oe.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:X,!0)),fe.test(i[1])&&oe.isPlainObject(t))for(i in t)oe.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(r=X.getElementById(i[2]))&&r.parentNode&&(this.length=1,this[0]=r),this.context=X,this.selector=e,this}).prototype=oe.fn,me=oe(X);var ye=/^(?:parents|prev(?:Until|All))/,be={children:!0,contents:!0,next:!0,prev:!0};oe.fn.extend({has:function(e){var t=oe(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(oe.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,i=0,r=this.length,o=[],a=he.test(e)||"string"!=typeof e?oe(e,t||this.context):0;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&oe.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?oe.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?Z.call(oe(e),this[0]):Z.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(oe.uniqueSort(oe.merge(this.get(),oe(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),oe.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return de(e,"parentNode")},parentsUntil:function(e,t,n){return de(e,"parentNode",n)},next:function(e){return n(e,"nextSibling")},prev:function(e){return n(e,"previousSibling")},nextAll:function(e){return de(e,"nextSibling")},prevAll:function(e){return de(e,"previousSibling")},nextUntil:function(e,t,n){return de(e,"nextSibling",n)},prevUntil:function(e,t,n){return de(e,"previousSibling",n)},siblings:function(e){return pe((e.parentNode||{}).firstChild,e)},children:function(e){return pe(e.firstChild)},contents:function(e){return e.contentDocument||oe.merge([],e.childNodes)}},function(i,r){oe.fn[i]=function(e,t){var n=oe.map(this,r,e);return"Until"!==i.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=oe.filter(t,n)),1<this.length&&(be[i]||oe.uniqueSort(n),ye.test(i)&&n.reverse()),this.pushStack(n)}});var we,_e=/\S+/g;oe.Callbacks=function(i){i="string"==typeof i?c(i):oe.extend({},i);var r,e,t,n,o=[],a=[],s=-1,l=function(){for(n=i.once,t=r=!0;a.length;s=-1)for(e=a.shift();++s<o.length;)!1===o[s].apply(e[0],e[1])&&i.stopOnFalse&&(s=o.length,e=!1);i.memory||(e=!1),r=!1,n&&(o=e?[]:"")},u={add:function(){return o&&(e&&!r&&(s=o.length-1,a.push(e)),function n(e){oe.each(e,function(e,t){oe.isFunction(t)?i.unique&&u.has(t)||o.push(t):t&&t.length&&"string"!==oe.type(t)&&n(t)})}(arguments),e&&!r&&l()),this},remove:function(){return oe.each(arguments,function(e,t){for(var n;-1<(n=oe.inArray(t,o,n));)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?-1<oe.inArray(e,o):0<o.length},empty:function(){return o&&(o=[]),this},disable:function(){return n=a=[],o=e="",this},disabled:function(){return!o},lock:function(){return n=a=[],e||(o=e=""),this},locked:function(){return!!n},fireWith:function(e,t){return n||(t=[e,(t=t||[]).slice?t.slice():t],a.push(t),r||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!t}};return u},oe.extend({Deferred:function(e){var o=[["resolve","done",oe.Callbacks("once memory"),"resolved"],["reject","fail",oe.Callbacks("once memory"),"rejected"],["notify","progress",oe.Callbacks("memory")]],r="pending",a={state:function(){return r},always:function(){return s.done(arguments).fail(arguments),this},then:function(){var r=arguments;return oe.Deferred(function(i){oe.each(o,function(e,t){var n=oe.isFunction(r[e])&&r[e];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&oe.isFunction(e.promise)?e.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[t[0]+"With"](this===a?i.promise():this,n?[e]:arguments)})}),r=null}).promise()},promise:function(e){return null!=e?oe.extend(e,a):a}},s={};return a.pipe=a.then,oe.each(o,function(e,t){var n=t[2],i=t[3];a[t[1]]=n.add,i&&n.add(function(){r=i},o[1^e][2].disable,o[2][2].lock),s[t[0]]=function(){return s[t[0]+"With"](this===s?a:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var r,t,n,i=0,o=Q.call(arguments),a=o.length,s=1!==a||e&&oe.isFunction(e.promise)?a:0,l=1===s?e:oe.Deferred(),u=function(t,n,i){return function(e){n[t]=this,i[t]=1<arguments.length?Q.call(arguments):e,i===r?l.notifyWith(n,i):--s||l.resolveWith(n,i)}};if(1<a)for(r=new Array(a),t=new Array(a),n=new Array(a);i<a;i++)o[i]&&oe.isFunction(o[i].promise)?o[i].promise().progress(u(i,t,r)).done(u(i,n,o)).fail(l.reject):--s;return s||l.resolveWith(n,o),l.promise()}}),oe.fn.ready=function(e){return oe.ready.promise().done(e),this},oe.extend({isReady:!1,readyWait:1,holdReady:function(e){e?oe.readyWait++:oe.ready(!0)},ready:function(e){(!0===e?--oe.readyWait:oe.isReady)||(oe.isReady=!0)!==e&&0<--oe.readyWait||(we.resolveWith(X,[oe]),oe.fn.triggerHandler&&(oe(X).triggerHandler("ready"),oe(X).off("ready")))}}),oe.ready.promise=function(e){return we||(we=oe.Deferred(),"complete"===X.readyState||"loading"!==X.readyState&&!X.documentElement.doScroll?k.setTimeout(oe.ready):(X.addEventListener("DOMContentLoaded",i),k.addEventListener("load",i))),we.promise(e)},oe.ready.promise();var xe=function(e,t,n,i,r,o,a){var s=0,l=e.length,u=null==n;
2if("object"===oe.type(n))for(s in r=!0,n)xe(e,t,s,n[s],!0,o,a);else if(i!==undefined&&(r=!0,oe.isFunction(i)||(a=!0),u&&(a?(t.call(e,i),t=null):(u=t,t=function(e,t,n){return u.call(oe(e),n)})),t))for(;s<l;s++)t(e[s],n,a?i:i.call(e[s],s,t(e[s],n)));return r?e:u?t.call(e):l?t(e[0],n):o},ke=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};r.uid=1,r.prototype={register:function(e,t){var n=t||{};return e.nodeType?e[this.expando]=n:Object.defineProperty(e,this.expando,{value:n,writable:!0,configurable:!0}),e[this.expando]},cache:function(e){if(!ke(e))return{};var t=e[this.expando];return t||(t={},ke(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,r=this.cache(e);if("string"==typeof t)r[t]=n;else for(i in t)r[i]=t[i];return r},get:function(e,t){return t===undefined?this.cache(e):e[this.expando]&&e[this.expando][t]},access:function(e,t,n){var i;return t===undefined||t&&"string"==typeof t&&n===undefined?(i=this.get(e,t))!==undefined?i:this.get(e,oe.camelCase(t)):(this.set(e,t,n),n!==undefined?n:t)},remove:function(e,t){var n,i,r,o=e[this.expando];if(o!==undefined){if(t===undefined)this.register(e);else{oe.isArray(t)?i=t.concat(t.map(oe.camelCase)):(r=oe.camelCase(t),i=t in o?[t,r]:(i=r)in o?[i]:i.match(_e)||[]),n=i.length;for(;n--;)delete o[i[n]]}(t===undefined||oe.isEmptyObject(o))&&(e.nodeType?e[this.expando]=undefined:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return t!==undefined&&!oe.isEmptyObject(t)}};var Te=new r,Se=new r,Ce=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ee=/[A-Z]/g;oe.extend({hasData:function(e){return Se.hasData(e)||Te.hasData(e)},data:function(e,t,n){return Se.access(e,t,n)},removeData:function(e,t){Se.remove(e,t)},_data:function(e,t,n){return Te.access(e,t,n)},_removeData:function(e,t){Te.remove(e,t)}}),oe.fn.extend({data:function(i,e){var t,n,r,o=this[0],a=o&&o.attributes;if(i!==undefined)return"object"==typeof i?this.each(function(){Se.set(this,i)}):xe(this,function(t){var e,n;if(o&&t===undefined)return(e=Se.get(o,i)||Se.get(o,i.replace(Ee,"-$&").toLowerCase()))!==undefined?e:(n=oe.camelCase(i),(e=Se.get(o,n))!==undefined?e:(e=l(o,n,undefined))!==undefined?e:void 0);n=oe.camelCase(i),this.each(function(){var e=Se.get(this,n);Se.set(this,n,t),-1<i.indexOf("-")&&e!==undefined&&Se.set(this,i,t)})},null,e,1<arguments.length,null,!0);if(this.length&&(r=Se.get(o),1===o.nodeType&&!Te.get(o,"hasDataAttrs"))){for(t=a.length;t--;)a[t]&&0===(n=a[t].name).indexOf("data-")&&(n=oe.camelCase(n.slice(5)),l(o,n,r[n]));Te.set(o,"hasDataAttrs",!0)}return r},removeData:function(e){return this.each(function(){Se.remove(this,e)})}}),oe.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=Te.get(e,t),n&&(!i||oe.isArray(n)?i=Te.access(e,t,oe.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=oe.queue(e,t),i=n.length,r=n.shift(),o=oe._queueHooks(e,t),a=function(){oe.dequeue(e,t)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,a,o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Te.get(e,n)||Te.access(e,n,{empty:oe.Callbacks("once memory").add(function(){Te.remove(e,[t+"queue",n])})})}}),oe.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?oe.queue(this[0],t):n===undefined?this:this.each(function(){var e=oe.queue(this,t,n);oe._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&oe.dequeue(this,t)})},dequeue:function(e){return this.each(function(){oe.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=oe.Deferred(),o=this,a=this.length,s=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=undefined),e=e||"fx";a--;)(n=Te.get(o[a],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),r.promise(t)}});var De=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Oe=new RegExp("^(?:([+-])=|)("+De+")([a-z%]*)$","i"),Pe=["Top","Right","Bottom","Left"],Ae=function(e,t){return e=t||e,"none"===oe.css(e,"display")||!oe.contains(e.ownerDocument,e)},Me=/^(?:checkbox|radio)$/i,Ie=/<([\w:-]+)/,je=/^$|\/(?:java|ecma)script/i,Ne={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Ne.optgroup=Ne.option,Ne.tbody=Ne.tfoot=Ne.colgroup=Ne.caption=Ne.thead,Ne.th=Ne.td;var Le,$e,He=/<|&#?\w+;/;Le=X.createDocumentFragment().appendChild(X.createElement("div")),($e=X.createElement("input")).setAttribute("type","radio"),$e.setAttribute("checked","checked"),$e.setAttribute("name","t"),Le.appendChild($e),ie.checkClone
vendor: 5,668 bytes, line 2
2=Le.cloneNode(!0).cloneNode(!0).lastChild.checked,Le.innerHTML="<textarea>x</textarea>",ie.noCloneChecked=!!Le.cloneNode(!0).lastChild.defaultValue;var Re=/^key/,ze=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Fe=/^([^.]*)(?:\.(.+)|)/;oe.event={global:{},add:function(t,e,n,i,r){var o,a,s,l,u,c,d,p,h,f,g,m=Te.get(t);if(m)for(n.handler&&(n=(o=n).handler,r=o.selector),n.guid||(n.guid=oe.guid++),(l=m.events)||(l=m.events={}),(a=m.handle)||(a=m.handle=function(e){return void 0!==oe&&oe.event.triggered!==e.type?oe.event.dispatch.apply(t,arguments):undefined}),u=(e=(e||"").match(_e)||[""]).length;u--;)h=g=(s=Fe.exec(e[u])||[])[1],f=(s[2]||"").split(".").sort(),h&&(d=oe.event.special[h]||{},h=(r?d.delegateType:d.bindType)||h,d=oe.event.special[h]||{},c=oe.extend({type:h,origType:g,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&oe.expr.match.needsContext.test(r),namespace:f.join(".")},o),(p=l[h])||((p=l[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,i,f,a)||t.addEventListener&&t.addEventListener(h,a)),d.add&&(d.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),r?p.splice(p.delegateCount++,0,c):p.push(c),oe.event.global[h]=!0)},remove:function(e,t,n,i,r){var o,a,s,l,u,c,d,p,h,f,g,m=Te.hasData(e)&&Te.get(e);if(m&&(l=m.events)){for(u=(t=(t||"").match(_e)||[""]).length;u--;)if(h=g=(s=Fe.exec(t[u])||[])[1],f=(s[2]||"").split(".").sort(),h){for(d=oe.event.special[h]||{},p=l[h=(i?d.delegateType:d.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;o--;)c=p[o],!r&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,d.remove&&d.remove.call(e,c));a&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,f,m.handle)||oe.removeEvent(e,h,m.handle),delete l[h])}else for(h in l)oe.event.remove(e,h+t[u],n,i,!0);oe.isEmptyObject(l)&&Te.remove(e,"handle events")}},dispatch:function(e){e=oe.event.fix(e);var t,n,i,r,o,a=[],s=Q.call(arguments),l=(Te.get(this,"events")||{})[e.type]||[],u=oe.event.special[e.type]||{};if((s[0]=e).delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,e)){for(a=oe.event.handlers.call(this,e,l),t=0;(r=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(o.namespace)||(e.handleObj=o,e.data=o.data,(i=((oe.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,s))!==undefined&&!1===(e.result=i)&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,i,r,o,a=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(i=[],n=0;n<s;n++)i[r=(o=t[n]).selector+" "]===undefined&&(i[r]=o.needsContext?-1<oe(r,this).index(l):oe.find(r,this,null,[l]).length),i[r]&&i.push(o);i.length&&a.push({elem:l,handlers:i})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},props:"altKey bubbles cancelable ctrlKey currentTarget detail 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 offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,i,r,o=t.button;return null==e.pageX&&null!=t.clientX&&(i=(n=e.target.ownerDocument||X).documentElement,r=n.body,e.pageX=t.clientX+(i&&i.scrollLeft||r&&r.scrollLeft||0)-(i&&i.clientLeft||r&&r.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||r&&r.scrollTop||0)-(i&&i.clientTop||r&&r.clientTop||0)),e.which||o===undefined||(e.which=1&o?1:2&o?3:4&o?2:0),e}},fix:function(e){if(e[oe.expando])return e;var t,n,i,r=e.type,o=e,a=this.fixHooks[r];for(a||(this.fixHooks[r]=a=ze.test(r)?this.mouseHooks:Re.test(r)?this.keyHooks:{}),i=a.props?this.props.concat(a.props):this.props,e=new oe.Event(o),t=i.length;t--;)e[n=i[t]]=o[n];return e.target||(e.target=X),3===e.target.nodeType&&(e.target=e.target.parentNode),a.filter?a.filter(e,o):e},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==a()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===a()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&oe.nodeName(this,"input"))return this.click(),!1},_default:function(e){return oe.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==undefined&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},oe.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},oe.Event=function(e,t){if(!(this instanceof oe.Event))return new oe.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===undefined&&!1===e.returnValue?o:d):this.type=e,t&&oe.extend(this,t),this.timeStamp=e&&e.timeStamp||oe.now(),this[oe.expando]=!0},oe.Event.prototype={constructor:oe.Event,isDefaultPrevented:d,isPropagationStopped:d,isImmediatePropagationStopped:d,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=o,e&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=o,e&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=o,e&&e.stopImmediatePropagation(),this.stopPropagation()}}
2,oe.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,o){oe.event.special[e]={delegateType:o,bindType:o,handle:function(e){var t,n=this,i=e.relatedTarget,r=e.handleObj;return i&&(i===n||oe.contains(n,i))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=o),t}}}),oe.fn.extend({on:function(e,t,n,i){return p(this,e,t,n,i)},one:function(e,t,n,i){return p(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,oe(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=undefined),!1===n&&(n=d),this.each(function(){oe.event.remove(this,e,n,t)});for(r in e)this.off(r,t,e[r]);return this}});var We=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,qe=/<script|<style|<link/i,Be=/checked\s*(?:[^=]|=\s*.checked.)/i,Ve=/^true\/(.*)/,Ye=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;oe.extend({htmlPrefilter:function(e){return e.replace(We,"<$1></$2>")},clone:function(e,t,n){var i,r,o,a,s=e.cloneNode(!0),l=oe.contains(e.ownerDocument,e);if(!(ie.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||oe.isXMLDoc(e)))for(a=g(s),i=0,r=(o=g(e)).length;i<r;i++)w(o[i],a[i]);if(t)if(n)for(o=o||g(e),a=a||g(s),i=0,r=o.length;i<r;i++)f(o[i],a[i]);else f(e,s);return 0<(a=g(s,"script")).length&&m(a,!l&&g(e,"script")),s},cleanData:function(e){for(var t,n,i,r=oe.event.special,o=0;(n=e[o])!==undefined;o++)if(ke(n)){if(t=n[Te.expando]){if(t.events)for(i in t.events)r[i]?oe.event.remove(n,i):oe.removeEvent(n,i,t.handle);n[Te.expando]=undefined}n[Se.expando]&&(n[Se.expando]=undefined)}}}),oe.fn.extend({domManip:_,detach:function(e){return x(this,e,!0)},remove:function(e){return x(this,e)},text:function(e){return xe(this,function(e){return e===undefined?oe.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return _(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||h(this,e).appendChild(e)})},prepend:function(){return _(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=h(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return _(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return _(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(oe.cleanData(g(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return oe.clone(this,e,t)})},html:function(e){return xe(this,function(e){var t=this[0]||{},n=0,i=this.length;if(e===undefined&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!qe.test(e)&&!Ne[(Ie.exec(e)||["",""])[1].toLowerCase()]){e=oe.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(oe.cleanData(g(t,!1)),t.innerHTML=e);t=0}catch(r){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return _(this,arguments,function(e){var t=this.parentNode;oe.inArray(this,n)<0&&(oe.cleanData(g(this)),t&&t.replaceChild(e,this))},n)}}),oe.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){oe.fn[e]=function(e){for(var t,n=[],i=oe(e),r=i.length-1,o=0;o<=r;o++)t=o===r?this:this.clone(!0),oe(i[o])[a](t),J.apply(n,t.get());return this.pushStack(n)}});var Ue,Ge={HTML:"block",BODY:"block"},Xe=/^margin/,Qe=new RegExp("^("+De+")(?!px)[a-z%]+$","i"),Ke=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=k),t.getComputedStyle(e)},Je=function(e,t,n,i){var r,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in r=n.apply(e,i||[]),t)e.style[o]=a[o];return r},Ze=X.documentElement;!function(){function e(){a.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",a.innerHTML="",Ze.appendChild(o);var e=k.getComputedStyle(a);t="1%"!==e.top,r="2px"===e.marginLeft,n="4px"===e.width,a.style.marginRight="50%",i="4px"===e.marginRight,Ze.removeChild(o)}var t,n,i,r,o=X.createElement("div"),a=X.createElement("div");a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",ie.clearCloneStyle="content-box"===a.style.backgroundClip,o.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",o.appendChild(a),oe.extend(ie,{pixelPosition:function(){return e(),t},boxSizingReliable:function(){return null==n&&e(),n},pixelMarginRight:function(){return null==n&&e(),i},reliableMarginLeft:function(){return null==n&&e(),r},reliableMarginRight:function(){var e,t=a.appendChild(X.createElement("div"));return t.style.cssText=a.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",a.style.width="1px",Ze.appendChild(o),e=!parseFloat(k.getComputedStyle(t).marginRight),Ze.removeChild(o),a.removeChild(t),e}}))}();var et=/^(none|table(?!-c[ea]).+)/,tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"},it=["Webkit","O","Moz","ms"],rt=X.createElement("div").style;oe.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=C(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,a,s=oe.camelCase(t),l=e.style;if(t=oe.cssProps[s]||(oe.cssProps[s]=D(s)||s),a=oe.cssHooks[t]||oe.cssHooks[s],n===undefined)return a&&"get"in a&&(r=a.get(e,!1,i))!==undefined?r:l[t];"string"===(o=typeof n)&&(r=Oe.exec(n))&&r[1]&&(n=u(e,t,r),o="number"),null!=n&&n==n&&("number"===o&&(n+=r&&r[3]||(oe.cssNumber[s]?"":"px")),ie.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&(n=a.set(e,n,i)
vendor: 4,736 bytes, line 2
2)===undefined||(l[t]=n))}},css:function(e,t,n,i){var r,o,a,s=oe.camelCase(t);return t=oe.cssProps[s]||(oe.cssProps[s]=D(s)||s),(a=oe.cssHooks[t]||oe.cssHooks[s])&&"get"in a&&(r=a.get(e,!0,n)),r===undefined&&(r=C(e,t,i)),"normal"===r&&t in nt&&(r=nt[t]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),oe.each(["height","width"],function(e,a){oe.cssHooks[a]={get:function(e,t,n){if(t)return et.test(oe.css(e,"display"))&&0===e.offsetWidth?Je(e,tt,function(){return A(e,a,n)}):A(e,a,n)},set:function(e,t,n){var i,r=n&&Ke(e),o=n&&P(e,a,n,"border-box"===oe.css(e,"boxSizing",!1,r),r);return o&&(i=Oe.exec(t))&&"px"!==(i[3]||"px")&&(e.style[a]=t,t=oe.css(e,a)),O(e,t,o)}}}),oe.cssHooks.marginLeft=E(ie.reliableMarginLeft,function(e,t){if(t)return(parseFloat(C(e,"marginLeft"))||e.getBoundingClientRect().left-Je(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),oe.cssHooks.marginRight=E(ie.reliableMarginRight,function(e,t){if(t)return Je(e,{display:"inline-block"},C,[e,"marginRight"])}),oe.each({margin:"",padding:"",border:"Width"},function(r,o){oe.cssHooks[r+o]={expand:function(e){for(var t=0,n={},i="string"==typeof e?e.split(" "):[e];t<4;t++)n[r+Pe[t]+o]=i[t]||i[t-2]||i[0];return n}},Xe.test(r)||(oe.cssHooks[r+o].set=O)}),oe.fn.extend({css:function(e,t){return xe(this,function(e,t,n){var i,r,o={},a=0;if(oe.isArray(t)){for(i=Ke(e),r=t.length;a<r;a++)o[t[a]]=oe.css(e,t[a],!1,i);return o}return n!==undefined?oe.style(e,t,n):oe.css(e,t)},e,t,1<arguments.length)},show:function(){return M(this,!0)},hide:function(){return M(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Ae(this)?oe(this).show():oe(this).hide()})}}),(oe.Tween=I).prototype={constructor:I,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||oe.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(oe.cssNumber[n]?"":"px")},cur:function(){var e=I.propHooks[this.prop];return e&&e.get?e.get(this):I.propHooks._default.get(this)},run:function(e){var t,n=I.propHooks[this.prop];return this.options.duration?this.pos=t=oe.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=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):I.propHooks._default.set(this),this}},I.prototype.init.prototype=I.prototype,I.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=oe.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){oe.fx.step[e.prop]?oe.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[oe.cssProps[e.prop]]&&!oe.cssHooks[e.prop]?e.elem[e.prop]=e.now:oe.style(e.elem,e.prop,e.now+e.unit)}}},I.propHooks.scrollTop=I.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},oe.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},oe.fx=I.prototype.init,oe.fx.step={};var ot,at,st,lt,ut,ct=/^(?:toggle|show|hide)$/,dt=/queueHooks$/;oe.Animation=oe.extend(R,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return u(n.elem,e,Oe.exec(t),n),n}]},tweener:function(e,t){oe.isFunction(e)?(t=e,e=["*"]):e=e.match(_e);for(var n,i=0,r=e.length;i<r;i++)n=e[i],R.tweeners[n]=R.tweeners[n]||[],R.tweeners[n].unshift(t)},prefilters:[$],prefilter:function(e,t){t?R.prefilters.unshift(e):R.prefilters.push(e)}}),oe.speed=function(e,t,n){var i=e&&"object"==typeof e?oe.extend({},e):{complete:n||!n&&t||oe.isFunction(e)&&e,duration:e,easing:n&&t||t&&!oe.isFunction(t)&&t};return i.duration=oe.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in oe.fx.speeds?oe.fx.speeds[i.duration]:oe.fx.speeds._default,null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){oe.isFunction(i.old)&&i.old.call(this),i.queue&&oe.dequeue(this,i.queue)},i},oe.fn.extend({fadeTo:function(e,t,n,i){return this.filter(Ae).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(t,e,n,i){var r=oe.isEmptyObject(t),o=oe.speed(e,n,i),a=function(){var e=R(this,oe.extend({},t),o);(r||Te.get(this,"finish"))&&e.stop(!0)};return a.finish=a,r||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(r,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof r&&(o=e,e=r,r=undefined),e&&!1!==r&&this.queue(r||"fx",[]),this.each(function(){var e=!0,t=null!=r&&r+"queueHooks",n=oe.timers,i=Te.get(this);if(t)i[t]&&i[t].stop&&a(i[t]);else for(t in i)i[t]&&i[t].stop&&dt.test(t)&&a(i[t]);for(t=n.length;t--;)n[t].elem!==this||null!=r&&n[t].queue!==r||(n[t].anim.stop(o),e=!1,n.splice(t,1)
vendor: 24,711 bytes, lines 2-3
2);!e&&o||oe.dequeue(this,r)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=Te.get(this),n=t[a+"queue"],i=t[a+"queueHooks"],r=oe.timers,o=n?n.length:0;for(t.finish=!0,oe.queue(this,a,[]),i&&i.stop&&i.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===a&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),oe.each(["toggle","show","hide"],function(e,i){var r=oe.fn[i];oe.fn[i]=function(e,t,n){return null==e||"boolean"==typeof e?r.apply(this,arguments):this.animate(N(i,!0),e,t,n)}}),oe.each({slideDown:N("show"),slideUp:N("hide"),slideToggle:N("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,i){oe.fn[e]=function(e,t,n){return this.animate(i,e,t,n)}}),oe.timers=[],oe.fx.tick=function(){var e,t=0,n=oe.timers;for(ot=oe.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||oe.fx.stop(),ot=undefined},oe.fx.timer=function(e){oe.timers.push(e),e()?oe.fx.start():oe.timers.pop()},oe.fx.interval=13,oe.fx.start=function(){at||(at=k.setInterval(oe.fx.tick,oe.fx.interval))},oe.fx.stop=function(){k.clearInterval(at),at=null},oe.fx.speeds={slow:600,fast:200,_default:400},oe.fn.delay=function(i,e){return i=oe.fx&&oe.fx.speeds[i]||i,e=e||"fx",this.queue(e,function(e,t){var n=k.setTimeout(e,i);t.stop=function(){k.clearTimeout(n)}})},st=X.createElement("input"),lt=X.createElement("select"),ut=lt.appendChild(X.createElement("option")),st.type="checkbox",ie.checkOn=""!==st.value,ie.optSelected=ut.selected,lt.disabled=!0,ie.optDisabled=!ut.disabled,(st=X.createElement("input")).value="t",st.type="radio",ie.radioValue="t"===st.value;var pt,ht=oe.expr.attrHandle;oe.fn.extend({attr:function(e,t){return xe(this,oe.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){oe.removeAttr(this,e)})}}),oe.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?oe.prop(e,t,n):(1===o&&oe.isXMLDoc(e)||(t=t.toLowerCase(),r=oe.attrHooks[t]||(oe.expr.match.bool.test(t)?pt:undefined)),n!==undefined?null===n?void oe.removeAttr(e,t):r&&"set"in r&&(i=r.set(e,n,t))!==undefined?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=oe.find.attr(e,t))?undefined:i)},attrHooks:{type:{set:function(e,t){if(
3!ie.radioValue&&"radio"===t&&oe.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i,r=0,o=t&&t.match(_e);if(o&&1===e.nodeType)for(;n=o[r++];)i=oe.propFix[n]||n,oe.expr.match.bool.test(n)&&(e[i]=!1),e.removeAttribute(n)}}),pt={set:function(e,t,n){return!1===t?oe.removeAttr(e,n):e.setAttribute(n,n),n}},oe.each(oe.expr.match.bool.source.match(/\w+/g),function(e,t){var o=ht[t]||oe.find.attr;ht[t]=function(e,t,n){var i,r;return n||(r=ht[t],ht[t]=i,i=null!=o(e,t,n)?t.toLowerCase():null,ht[t]=r),i}});var ft=/^(?:input|select|textarea|button)$/i,gt=/^(?:a|area)$/i;oe.fn.extend({prop:function(e,t){return xe(this,oe.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[oe.propFix[e]||e]})}}),oe.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&oe.isXMLDoc(e)||(t=oe.propFix[t]||t,r=oe.propHooks[t]),n!==undefined?r&&"set"in r&&(i=r.set(e,n,t))!==undefined?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=oe.find.attr(e,"tabindex");return t?parseInt(t,10):ft.test(e.nodeName)||gt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),ie.optSelected||(oe.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),oe.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){oe.propFix[this.toLowerCase()]=this});var mt=/[\t\r\n\f]/g;oe.fn.extend({addClass:function(t){var e,n,i,r,o,a,s,l=0;if(oe.isFunction(t))return this.each(function(e){oe(this).addClass(t.call(this,e,z(this)))});if("string"==typeof t&&t)for(e=t.match(_e)||[];n=this[l++];)if(r=z(n),i=1===n.nodeType&&(" "+r+" ").replace(mt," ")){for(a=0;o=e[a++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");r!==(s=oe.trim(i))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,i,r,o,a,s,l=0;if(oe.isFunction(t))return this.each(function(e){oe(this).removeClass(t.call(this,e,z(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(_e)||[];n=this[l++];)if(r=z(n),i=1===n.nodeType&&(" "+r+" ").replace(mt," ")){for(a=0;o=e[a++];)for(;-1<i.indexOf(" "+o+" ");)i=i.replace(" "+o+" "," ");r!==(s=oe.trim(i))&&n.setAttribute("class",s)}return this},toggleClass:function(r,t){var o=typeof r;return"boolean"==typeof t&&"string"===o?t?this.addClass(r):this.removeClass(r):oe.isFunction(r)?this.each(function(e){oe(this).toggleClass(r.call(this,e,z(this),t),t)}):this.each(function(){var e,t,n,i;if("string"===o)for(t=0,n=oe(this),i=r.match(_e)||[];e=i[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else r!==undefined&&"boolean"!==o||((e=z(this))&&Te.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===r?"":Te.get(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&-1<(" "+z(n)+" ").replace(mt," ").indexOf(t))return!0;return!1}});var vt=/\r/g,yt=/[\x20\t\r\n\f]+/g;oe.fn.extend({val:function(n){var i,e,r,t=this[0];return arguments.length?(r=oe.isFunction(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=r?n.call(this,e,oe(this).val()):n)?t="":"number"==typeof t?t+="":oe.isArray(t)&&(t=oe.map(t,function(e){return null==e?"":e+""})),(i=oe.valHooks[this.type]||oe.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&i.set(this,t,"value")!==undefined||(this.value=t))})):t?(i=oe.valHooks[t.type]||oe.valHooks[t.nodeName.toLowerCase()])&&"get"in i&&(e=i.get(t,"value"))!==undefined?e:"string"==typeof(e=t.value)?e.replace(vt,""):null==e?"":e:void 0}}),oe.extend({valHooks:{option:{get:function(e){var t=oe.find.attr(e,"value");return null!=t?t:oe.trim(oe.text(e)).replace(yt," ")}},select:{get:function(e){for(var t,n,i=e.options,r=e.selectedIndex,o="select-one"===e.type||r<0,a=o?null:[],s=o?r+1:i.length,l=r<0?s:o?r:0;l<s;l++)if(((n=i[l]).selected||l===r)&&(ie.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!oe.nodeName(n.parentNode,"optgroup"))){if(t=oe(n).val(),o)return t;a.push(t)}return a},set:function(e,t){for(var n,i,r=e.options,o=oe.makeArray(t),a=r.length;a--;)((i=r[a]).selected=-1<oe.inArray(oe.valHooks.option.get(i),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),oe.each(["radio","checkbox"],function(){oe.valHooks[this]={set:function(e,t){if(oe.isArray(t))return e.checked=-1<oe.inArray(oe(e).val(),t)}},ie.checkOn||(oe.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var bt=/^(?:focusinfocus|focusoutblur)$/;oe.extend(oe.event,{trigger:function(e,t,n,i){var r,o,a,s,l,u,c,d=[n||X],p=ne.call(e,"type")?e.type:e,h=ne.call(e,"namespace")?e.namespace.split("."):[];if(o=a=n=n||X,3!==n.nodeType&&8!==n.nodeType&&!bt.test(p+oe.event.triggered)&&(-1<p.indexOf(".")&&(p=(h=p.split(".")).shift(),h.sort()),l=p.indexOf(":")<0&&"on"+p,(e=e[oe.expando]?e:new oe.Event(p,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=undefined,e.target||(e.target=n),t=null==t?[e]:oe.makeArray(t,[e]),c=oe.event.special[p]||{},i||!c.trigger||!1!==c.trigger.apply(n,t))){if(!i&&!c.noBubble&&!oe.isWindow(n)){for(s=c.delegateType||p,bt.test(s+p)||(o=o.parentNode);o;o=o.parentNode)d.push(o),a=o;a===(n.ownerDocument||X)&&d.push(a.defaultView||a.parentWindow||k)}for(r=0;(o=d[r++])&&!e.isPropagationStopped();)e.type=1<r?s:c.bindType||p,(u=(Te.get(o,"events")||{})[e.type]&&Te.get(o,"handle"))&&u.apply(o,t),(u=l&&o[l])&&u.apply&&ke(o)&&(e.result=u.apply(o,t),!1===e.result&&e.preventDefault());return e.type=p,i||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(d.pop(),t)||!ke(n)||l&&oe.isFunction(n[p])&&!oe.isWindow(n)&&((a=n[l])&&(n[l]=null),n[oe.event.triggered=p](),oe.event.triggered=undefined,a&&(n[l]=a)),e.result}},simulate:function(e,t,n){var i=oe.extend(new oe.Event,n,{type:e,isSimulated:!0});oe.event.trigger(i,null,t),i.isDefaultPrevented()&&n.preventDefault()}}),oe.fn.extend({trigger:function(e,t){return this.each(function(){oe.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return oe.event.trigger(e,t,n,!0)}}),oe.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,n){oe.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),oe.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),ie.focusin="onfocusin"in k,ie.focusin||oe.each({focus:"focusin",blur:"focusout"},function(n,i){var r=function(e){oe.event.simulate(i,e.target,oe.event.fix(e))};oe.event.special[i]={setup:function(){var e=this.ownerDocument||this,t=Te.access(e,i);t||e.addEventListener(n,r,!0),Te.access(e,i,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=Te.access(e,i)-1;t?Te.access(e,i,t):(e.removeEventListener(n,r,!0),Te.remove(e,i))}}});var wt=k.location,_t=oe.now(),xt=/\?/;oe.parseJSON=function(e){return JSON.parse(e+"")},oe.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new k.DOMParser).parseFromString(e,"text/xml")}catch(n){t=undefined}return t&&!t.getElementsByTagName("parsererror").length||oe.error("Invalid XML: "+e),t};var kt=/#.*$/,Tt=/([?&])_=[^&]*/,St=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ct=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Et=/^(?:GET|HEAD)$/,Dt=/^\/\//,Ot={},Pt={},At="*/".concat("*"),Mt=X.createElement("a");Mt.href=wt.href,oe.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:wt.href,type:"GET",isLocal:Ct.test(wt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":At,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":oe.parseJSON,"text xml":oe.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?q(q(e,oe.ajaxSettings),t):q(oe.ajaxSettings,e)},ajaxPrefilter:F(Ot),ajaxTransport:F(Pt),ajax:function(e,t){function n(e,t,n,i){var r,o,a,s,l,u=t;2!==_&&(_=2,h&&k.clearTimeout(h),c=undefined,p=i||"",x.readyState=0<e?4:0,r=200<=e&&e<300||304===e,n&&(s=B(g,x,n)),s=V(g,s,x,r),r?(g.ifModified&&((l=x.getResponseHeader("Last-Modified"))&&(oe.lastModified[d]=l),(l=x.getResponseHeader("etag"))&&(oe.etag[d]=l)),204===e||"HEAD"===g.type?u="nocontent":304===e?u="notmodified":(u=s.state,o=s.data,r=!(a=s.error))):(a=u,!e&&u||(u="error",e<0&&(e=0))),x.status=e,x.statusText=(t||u)+"",r?y.resolveWith(m,[o,u,x]):y.rejectWith(m,[x,u,a]),x.statusCode(w),w=undefined,f&&v.trigger(r?"ajaxSuccess":"ajaxError",[x,g,r?o:a]),b.fireWith(m,[x,u]),f&&(v.trigger("ajaxComplete",[x,g]),--oe.active||oe.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=undefined),t=t||{};var c,d,p,i,h,r,f,o,g=oe.ajaxSetup({},t),m=g.context||g,v=g.context&&(m.nodeType||m.jquery)?oe(m):oe.event,y=oe.Deferred(),b=oe.Callbacks("once memory"),w=g.statusCode||{},a={},s={},_=0,l="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(2===_){if(!i)for(i={};t=St.exec(p);)i[t[1].toLowerCase()]=t[2];t=i[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===_?p:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return _||(e=s[n]=s[n]||e,a[e]=t),this},overrideMimeType:function(e){return _||(g.mimeType=e),this},statusCode:function(e){var t;if(e)if(_<2)for(t in e)w[t]=[w[t],e[t]];else x.always(e[x.status]);return this},abort:function(e){var t=e||l;return c&&c.abort(t),n(0,t),this}};if(y.promise(x).complete=b.add,x.success=x.done,x.error=x.fail,g.url=((e||g.url||wt.href)+"").replace(kt,"").replace(Dt,wt.protocol+"//"),g.type=t.method||t.type||g.method||g.type,g.dataTypes=oe.trim(g.dataType||"*").toLowerCase().match(_e)||[""],null==g.crossDomain){r=X.createElement("a");try{r.href=g.url,r.href=r.href,g.crossDomain=Mt.protocol+"//"+Mt.host!=r.protocol+"//"+r.host}catch(u){g.crossDomain=!0}}if(g.data&&g.processData&&"string"!=typeof g.data&&(g.data=oe.param(g.data,g.traditional)),W(Ot,g,t,x),2===_)return x;for(o in(f=oe.event&&g.global)&&0==oe.active++&&oe.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!Et.test(g.type),d=g.url,g.hasContent||(g.data&&(d=g.url+=(xt.test(d)?"&":"?")+g.data,delete g.data),!1===g.cache&&(g.url=Tt.test(d)?d.replace(Tt,"$1_="+_t++):d+(xt.test(d)?"&":"?")+"_="+_t++)),g.ifModified&&(oe.lastModified[d]&&x.setRequestHeader("If-Modified-Since",oe.lastModified[d]),oe.etag[d]&&x.setRequestHeader("If-None-Match",oe.etag[d])),(g.data&&g.hasContent&&!1!==g.contentType||t.contentType)&&x.setRequestHeader("Content-Type",g.contentType),x.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+At+"; q=0.01":""):g.accepts["*"]),g.headers)x.setRequestHeader(o,g.headers[o]);if(g.beforeSend&&(!1===g.beforeSend.call(m,x,g)||2===_))return x.abort();for(o in l="abort",{success:1,error:1,complete:1})x[o](g[o]);if(c=W(Pt,g,t,x)){if(x.readyState=1,f&&v.trigger("ajaxSend",[x,g]),2===_)return x;g.async&&0<g.timeout&&(h=k.setTimeout(function(){x.abort("timeout")},g.timeout));try{_=1,c.send(a,n)}catch(u){if(!(_<2))throw u;n(-1,u)}}else n(-1,"No Transport");return x},getJSON:function(e,t,n){return oe.get(e,t,n,"json")},getScript:function(e,t){return oe.get(e,undefined,t,"script")}}),oe.each(["get","post"],function(e,r){oe[r]=function(e,t,n,i){return oe.isFunction(t)&&(i=i||n,n=t,t=undefined),oe.ajax(oe.extend({url:e,type:r,dataType:i,data:t,success:n},oe.isPlainObject(e)&&e))}}),oe._evalUrl=function(e){return oe.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},oe.fn.extend({wrapAll:function(t){var e;return oe.isFunction(t)?this.each(function(e){oe(this).wrapAll(t.call(this,e))}):(this[0]&&(e=oe(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(n){return oe.isFunction(n)?this.each(function(e){oe(this).wrapInner(n.call(this,e))}):this.each(function(){var e=oe(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=oe.isFunction(t);return this.each(function(e){oe(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){oe.nodeName(this,"body")||oe(this).replaceWith(this.childNodes)}).end()}}),oe.expr.filters.hidden=function(e){return!oe.expr.filters.visible(e)},oe.expr.filters.visible=function(e){return 0<e.offsetWidth||0<e.offsetHeight||0<e.getClientRects().length};var It=/%20/g,jt=/\[\]$/,Nt=/\r?\n/g,Lt=/^(?:submit|button|image|reset|file)$/i,$t=/^(?:input|select|textarea|keygen)/i;oe.param=function(e,t){var n,i=[],r=function(e,t){t=oe.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(t===undefined&&(t=oe.ajaxSettings&&oe.ajaxSettings.traditional),oe.isArray(e)||e.jquery&&!oe.isPlainObject(e))oe.each(e,function(){r(this.name,this.value)});else for(n in e)Y(n,e[n],t,r);return i.join("&").replace(It,"+")},oe.fn.extend({serialize:function(){return oe.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=oe.prop(this,"elements");return e?oe.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!oe(this).is(":disabled")&&$t.test(this.nodeName)&&!Lt.test(e)&&(this.checked||!Me.test(e))}).map(function(e,t){var n=oe(this).val();return null==n?null:oe.isArray(n)?oe.map(n,function(e){return{name:t.name,value:e.replace(Nt,"\r\n")}}):{name:t.name,value:n.replace(Nt,"\r\n")}}).get()}}),oe.ajaxSettings.xhr=function(){try{return new k.XMLHttpRequest}catch(e){}};var Ht={0:200,1223:204},Rt=oe.ajaxSettings.xhr();ie.cors=!!Rt&&"withCredentials"in Rt,ie.ajax=Rt=!!Rt,oe.ajaxTransport(function(o){var a,s;if(ie.cors||Rt&&!o.crossDomain)return{send:function(e,t){var n,i=o.xhr();if(i.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(n in o.xhrFields)i[n]=o.xhrFields[n];for(n in o.mimeType&&i.overrideMimeType&&i.overrideMimeType(o.mimeType),o.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)i.setRequestHeader(n,e[n]);a=function(e){return function(){a&&(a=s=i.onload=i.onerror=i.onabort=i.onreadystatechange=null,"abort"===e?i.abort():"error"===e?"number"!=typeof i.status?t(0,"error"):t(i.status,i.statusText):t(Ht[i.status]||i.status,i.statusText,"text"!==(i.responseType||"text")||"string"!=typeof i.responseText?{binary:i.response}:{text:i.responseText},i.getAllResponseHeaders()))}},i.onload=a(),s=i.onerror=a("error"),i.onabort!==undefined?i.onabort=s:i.onreadystatechange=function(){4===i.readyState&&k.setTimeout(function(){a&&s()})},a=a("abort");try{i.send(o.hasContent&&o.data||null)}catch(r){if(a)throw r}},abort:function(){a&&a()}}}),oe.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return oe.globalEval(e),e}}}),oe.ajaxPrefilter("script",function(e){e.cache===undefined&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),oe.ajaxTransport("script",function(n){var i,r;if(n.crossDomain)return{send:function(e,t){i=oe("<script>").prop({charset:n.scriptCharset,src:n.url}).on("load error",r=function(e){i.remove(),r=null,e&&t("error"===e.type?404:200,e.type)}),X.head.appendChild(i[0])},abort:function(){r&&r()}}});var zt=[],Ft=/(=)\?(?=&|$)|\?\?/;oe.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||oe.expando+"_"+_t++;return this[e]=!0,e}}),oe.ajaxPrefilter("json jsonp",function(e,t,n){var i,r,o,a=!1!==e.jsonp&&(Ft.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ft.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=oe.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ft,"$1"+i):!1!==e.jsonp&&(e.url+=(xt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return o||oe.error(i+" was not called"),o[0]},e.dataTypes[0]="json",r=k[i],k[i]=function(){o=arguments},n.always(function(){r===undefined?oe(k).removeProp(i):k[i]=r,e[i]&&(e.jsonpCallback=t.jsonpCallback,zt.push(i)),o&&oe.isFunction(r)&&r(o[0]),o=r=undefined}),"script"}),oe.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||X;var i=fe.exec(e),r=!n&&[];return i?[t.createElement(i[1])]:(i=v([e],t,r),r&&r.length&&oe(r).remove(),oe.merge([],i.childNodes))};var Wt=oe.fn.load;oe.fn.load=function(e,t,n){if("string"!=typeof e&&Wt)return Wt.apply(this,arguments);var i,r,o,a=this,s=e.indexOf(" ");return-1<s&&(i=oe.trim(e.slice(s)),e=e.slice(0,s)),oe.isFunction(t)?(n=t,t=undefined):t&&"object"==typeof t&&(r="POST"),0<a.length&&oe.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(i?oe("<div>").append(oe.parseHTML(e)).find(i):e)}).always(n&&function(e,t){a.each(function(){n.apply(a,o||[e.responseText,t,e])})}),this},oe.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){oe.fn[t]=function(e){return this.on(t,e)}}),oe.expr.filters.animated=function(t){return oe.grep(oe.timers,function(e){return t===e.elem}).length},oe.offset={setOffset:function(e,t,n){var i,r,o,a,s,l,u=oe.css(e,"position"),c=oe(e),d={};"static"===u&&(e.style.position="relative"),s=c.offset(),o=oe.css(e,"top"),l=oe.css(e,"left"),("absolute"===u||"fixed"===u)&&-1<(o+l).indexOf("auto")?(a=(i=c.position()).top,r=i.left):(a=parseFloat(o)||0,r=parseFloat(l)||0),oe.isFunction(t)&&(t=t.call(e,n,oe.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+r),"using"in t?t.using.call(e,d):c.css(d)}},oe.fn.extend({offset:function(t){if(arguments.length)return t===undefined?this:this.each(function(e){oe.offset.setOffset(this,t,e)});var e,n,i=this[0],r={top:0,left:0},o=i&&i.ownerDocument;return o?(e=o.documentElement,oe.contains(e,i)?(r=i.getBoundingClientRect(),n=U(o),{top:r.top+n.pageYOffset-e.clientTop,left:r.left+n.pageXOffset-e.clientLeft}):r):void 0},position:function(){if(this[0]){var e,t,n=this[0],i={top:0,left:0};return"fixed"===oe.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),oe.nodeName(e[0],"html")||(i=e.offset()),i.top+=oe.css(e[0],"borderTopWidth",!0),i.left+=oe.css(e[0],"borderLeftWidth",!0)),{top:t.top-i.top-oe.css(n,"marginTop",!0),left:t.left-i.left-oe.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===oe.css(e,"position");)e=e.offsetParent;return e||Ze})}}),oe.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,r){var o="pageYOffset"===r;oe.fn[t]=function(e){return xe(this,function(e,t,n){var i=U(e);if(n===undefined)return i?i[r]:e[t];i?i.scrollTo(o?i.pageXOffset:n,o?n:i.pageYOffset):e[t]=n},t,e,arguments.length)}}),oe.each(["top","left"],function(e,n){oe.cssHooks[n]=E(ie.pixelPosition,function(e,t){if(t)return t=C(e,n),Qe.test(t)?oe(e).position()[n]+"px":t})}),oe.each({Height:"height",Width:"width"},function(o,a){oe.each({padding:"inner"+o,content:a,"":"outer"+o},function(i,e){oe.fn[e]=function(e,t){var n=arguments.length&&(i||"boolean"!=typeof e),r=i||(!0===e||!0===t?"margin":"border");return xe(this,function(e,t,n){var i;return oe.isWindow(e)?e.document.documentElement["client"+o]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+o],i["scroll"+o],e.body["offset"+o],i["offset"+o],i["client"+o])):n===undefined?oe.css(e,t,r):oe.style(e,t,n,r)},a,n?e:undefined,n,null)}})}),oe.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},size:function(){return this.length}}),oe.fn.andSelf=oe.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return oe});var qt=k.jQuery,Bt=k.$;return oe.noConflict=function(e){return k.$===oe&&(k.$=Bt),e&&k.jQuery===oe&&(k.jQuery=qt),oe},e||(k.jQuery=k.$=oe),oe}),function(){"use strict";var e=function(c,l){var u;c.rails!==l&&c.error("jquery-ujs has already been loaded!");var e=c(document);c.rails=u={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote]:not([disabled]), a[data-disable-with], a[data-disable]",buttonClickSelector:"button[data-remote]:not([form]):not(form button), button[data-confirm]:not([form]):not(form button)",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form:not([data-turbo=true])",formInputClickSelector:"form:not([data-turbo=true]) input[type=submit], form:not([data-turbo=true]) input[type=image], form:not([data-turbo=true]) button[type=submit], form:not([data-turbo=true]) button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])",disableSelector:"input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled",requiredInputSelector:"input[name][required]:not([disabled]), textarea[name][required]:not([disabled])",fileInputSelector:"input[name][type=file]:not([disabled])",linkDisableSelector:"a[data-disable-with], a[data-disable]",buttonDisableSelector:"button[data-remote][data-disable-with], button[data-remote][data-disable]",csrfToken:function(){return c("meta[name=csrf-token]").attr("content")}
3,csrfParam:function(){return c("meta[name=csrf-param]").attr("content")},CSRFProtection:function(e){var t=u.csrfToken();t&&e.setRequestHeader("X-CSRF-Token",t)},refreshCSRFTokens:function(){c('form input[name="'+u.csrfParam()+'"]').val(u.csrfToken())},fire:function(e,t,n){var i=c.Event(t);return e.trigger(i,n),!1!==i.result},confirm:function(e){return confirm(e)},ajax:function(e){return c.ajax(e)},href:function(e){return e[0].href},isRemote:function(e){return e.data("remote")!==l&&!1!==e.data("remote")},handleRemote:function(i){var e,t,n,r,o,a;if(u.fire(i,"ajax:before")){if(r=i.data("with-credentials")||null,o=i.data("type")||c.ajaxSettings&&c.ajaxSettings.dataType,i.is("form")){e=i.data("ujs:submit-button-formmethod")||i.attr("method"),t=i.data("ujs:submit-button-formaction")||i.attr("action"),n=c(i[0]).serializeArray();var s=i.data("ujs:submit-button");s&&(n.push(s),i.data("ujs:submit-button",null)),i.data("ujs:submit-button-formmethod",null),i.data("ujs:submit-button-formaction",null)}else i.is(u.inputChangeSelector)?(e=i.data("method"),t=i.data("url"),n=i.serialize(),i.data("params")&&(n=n+"&"+i.data("params"))):i.is(u.buttonClickSelector)?(e=i.data("method")||"get",t=i.data("url"),n=i.serialize(),i.data("params")&&(n=n+"&"+i.data("params"))):(e=i.data("method"),t=u.href(i),n=i.data("params")||null);return a={type:e||"GET",data:n,dataType:o,beforeSend:function(e,t){if(t.dataType===l&&e.setRequestHeader("accept","*/*;q=0.5, "+t.accepts.script),!u.fire(i,"ajax:beforeSend",[e,t]))return!1;i.trigger("ajax:send",e)},success:function(e,t,n){i.trigger("ajax:success",[e,t,n])},complete:function(e,t){i.trigger("ajax:complete",[e,t])},error:function(e,t,n){i.trigger("ajax:error",[e,t,n])},crossDomain:u.isCrossDomain(t)},r&&(a.xhrFields={withCredentials:r}),t&&(a.url=t),u.ajax(a)}return!1},isCrossDomain:function(e){var t=document.createElement("a");t.href=location.href;var n=document.createElement("a");try{return n.href=e,n.href=n.href,!((!n.protocol||":"===n.protocol)&&!n.host||t.protocol+"//"+t.host==n.protocol+"//"+n.host)}catch(i){return!0}},handleMethod:function(e){var t=u.href(e),n=e.data("method"),i=e.attr("target"),r=u.csrfToken(),o=u.csrfParam(),a=c('<form method="post" action="'+t+'"></form>'),s='<input name="_method" value="'+n+'" type="hidden" />';o===l||r===l||u.isCrossDomain(t)||(s+='<input name="'+o+'" value="'+r+'" type="hidden" />'),i&&a.attr("target",i),a.hide().append(s).appendTo("body"),a.submit()},formElements:function(e,t){return e.is("form")?c(e[0].elements).filter(t):e.find(t)},disableFormElements:function(e){u.formElements(e,u.disableSelector).each(function(){u.disableFormElement(c(this))})},disableFormElement:function(e){var t,n;t=e.is("button")?"html":"val",(n=e.data("disable-with"))!==l&&(e.data("ujs:enable-with",e[t]()),e[t](n)),e.prop("disabled",!0),e.data("ujs:disabled",!0)},enableFormElements:function(e){u.formElements(e,u.enableSelector).each(function(){u.enableFormElement(c(this))})},enableFormElement:function(e){var t=e.is("button")?"html":"val";e.data("ujs:enable-with")!==l&&(e[t](e.data("ujs:enable-with")),e.removeData("ujs:enable-with")),e.prop("disabled",!1),e.removeData("ujs:disabled")},allowAction:function(e){var t,n=e.data("confirm"),i=!1;if(!n)return!0;if(u.fire(e,"confirm")){try{i=u.confirm(n)}catch(r){(console.error||console.log).call(console,r.stack||r)}t=u.fire(e,"confirm:complete",[i])}return i&&t},blankInputs:function(e,t,n){var i,r,o,a=c(),s=t||"input,textarea",l=e.find(s),u={};return l.each(function(){(i=c(this)).is("input[type=radio]")?(o=i.attr("name"),u[o]||(0===e.find('input[type=radio]:checked[name="'+o+'"]').length&&(r=e.find('input[type=radio][name="'+o+'"]'),a=a.add(r)),u[o]=o)):(i.is("input[type=checkbox],input[type=radio]")?i.is(":checked"):!!i.val())===n&&(a=a.add(i))}),!!a.length&&a},nonBlankInputs:function(e,t){return u.blankInputs(e,t,!0)},stopEverything:function(e){return c(e.target).trigger("ujs:everythingStopped"),e.stopImmediatePropagation(),!1},disableElement:function(e){var t=e.data("disable-with");t!==l&&(e.data("ujs:enable-with",e.html()),e.html(t)),e.on("click.railsDisable",function(e){return u.stopEverything(e)}),e.data("ujs:disabled",!0)},enableElement:function(e){e.data("ujs:enable-with")!==l&&(e.html(e.data("ujs:enable-with")),e.removeData("ujs:enable-with")),e.off("click.railsDisable"),e.removeData("ujs:disabled")}},u.fire(e,"rails:attachBindings")&&(c.ajaxPrefilter(function(e,t,n){e.crossDomain||u.CSRFProtection(n)}),c(window).on("pageshow.rails",function(){c(c.rails.enableSelector).each(function(){var e=c(this);e.data("ujs:disabled")&&c.rails.enableFormElement(e)}),c(c.rails.linkDisableSelector).each(function(){var e=c(this);e.data("ujs:disabled")&&c.rails.enableElement(e)})}),e.on("ajax:complete",u.linkDisableSelector,function(){u.enableElement(c(this))}),e.on("ajax:complete",u.buttonDisableSelector,function(){u.enableFormElement(c(this))}),e.on("click.rails",u.linkClickSelector,function(e){var t=c(this),n=t.data("method"),i=t.data("params"),r=e.metaKey||e.ctrlKey;if(!u.allowAction(t))return u.stopEverything(e);if(!r&&t.is(u.linkDisableSelector)&&u.disableElement(t),u.isRemote(t)){if(r&&(!n||"GET"===n)&&!i)return!0;var o=u.handleRemote(t);return!1===o?u.enableElement(t):o.fail(function(){u.enableElement(t)}),!1}return n?(u.handleMethod(t),!1):void 0}),e.on("click.rails",u.buttonClickSelector,function(e){var t=c(this);if(!u.allowAction(t)||!u.isRemote(t))return u.stopEverything(e);t.is(u.buttonDisableSelector)&&u.disableFormElement(t);var n=u.handleRemote(t);return!1===n?u.enableFormElement(t):n.fail(function(){u.enableFormElement(t)}),!1}),e.on("change.rails",u.inputChangeSelector,function(e){var t=c(this);return u.allowAction(t)&&u.isRemote(t)?(u.handleRemote(t),!1):u.stopEverything(e)}),e.on("submit.rails",u.formSubmitSelector,function(e){var t,n,i=c(this),r=u.isRemote(i);if(!u.allowAction(i))return u.stopEverything(e);if(i.attr("novalidate")===l)if(i.data("ujs:formnovalidate-button")===l){if((t=u.blankInputs(i,u.requiredInputSelector,!1))&&u.fire(i,"ajax:aborted:required",[t]))return u.stopEverything(e)}else i.data("ujs:formnovalidate-button",l);if(r){if(n=u.nonBlankInputs(i,u.fileInputSelector)){setTimeout(function(){u.disableFormElements(i)},13);var o=u.fire(i,"ajax:aborted:file",[n]);return o||setTimeout(function(){u.enableFormElements(i)},13),o}return u.handleRemote(i),!1}setTimeout(function(){u.disableFormElements(i)},13)}),e.on("click.rails",u.formInputClickSelector,function(e){var t=c(this);if(!u.allowAction(t))return u.stopEverything(e);var n=t.attr("name"),i=n?{name:n,value:t.val()}:null,r=t.closest("form");0===r.length&&(r=c("#"+t.attr("form"))),r.data("ujs:submit-button",i),r.data("ujs:formnovalidate-button",t.attr("formnovalidate")),r.data("ujs:submit-button-formaction",t.attr("formaction")),r.data("ujs:submit-button-formmethod",t.attr("formmethod"))}),e.on("ajax:send.rails",u.formSubmitSelector,function(e){this===e.target&&u.disableFormElements(c(this))}),e.on("ajax:complete.rails",u.formSubmitSelector,function(e){this===e.target&&u.enableFormElements(c(this))}),c(function(){u.refreshCSRFTokens()}))};window.jQuery?e(jQuery):"object"==typeof exports&&"object"==typeof module&&(module.exports=e)}(),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,t,n,i,r){return jQuery.easing[jQuery.easing.def](e,t,n,i,r)},easeInQuad:function(e,t,n,i,r){return i*(t/=r)*t+n},easeOutQuad:function(e,t,n,i,r){return-i*(t/=r)*(t-2)+n},easeInOutQuad:function(e,t,n,i,r){return(t/=r/2)<1?i/2*t*t+n:-i/2*(--t*(t-2)-1)+n},easeInCubic:function(e,t,n,i,r){return i*(t/=r)*t*t+n},easeOutCubic:function(e,t,n,i,r){return i*((t=t/r-1)*t*t+1)+n},easeInOutCubic:function(e,t,n,i,r){return(t/=r/2)<1?i/2*t*t*t+n:i/2*((t-=2)*t*t+2)+n},easeInQuart:function(e,t,n,i,r){return i*(t/=r)*t*t*t+n},easeOutQuart:function(e,t,n,i,r){return-i*((t=t/r-1)*t*t*t-1)+n},easeInOutQuart:function(e,t,n,i,r){return(t/=r/2)<1?i/2*t*t*t*t+n:-i/2*((t-=2)*t*t*t-2)+n},easeInQuint:function(e,t,n,i,r){return i*(t/=r)*t*t*t*t+n},easeOutQuint:function(e,t,n,i,r){return i*((t=t/r-1)*t*t*t*t+1)+n},easeInOutQuint:function(e,t,n,i,r){return(t/=r/2)<1?i/2*t*t*t*t*t+n:i/2*((t-=2)*t*t*t*t+2)+n},easeInSine:function(e,t,n,i,r){return-i*Math.cos(t/r*(Math.PI/2))+i+n},easeOutSine:function(e,t,n,i,r){return i*Math.sin(t/r*(Math.PI/2))+n},easeInOutSine:function(e,t,n,i,r){return-i/2*(Math.cos(Math.PI*t/r)-1)+n},easeInExpo:function(e,t,n,i,r){return 0==t?n:i*Math.pow(2,10*(t/r-1))+n},easeOutExpo:function(e,t,n,i,r){return t==r?n+i:i*(1-Math.pow(2,-10*t/r))+n},easeInOutExpo:function(e,t,n,i,r){return 0==t?n:t==r?n+i:(t/=r/2)<1?i/2*Math.pow(2,10*(t-1))+n:i/2*(2-Math.pow(2,-10*--t))+n},easeInCirc:function(e,t,n,i,r){return-i*(Math.sqrt(1-(t/=r)*t)-1)+n},easeOutCirc:function(e,t,n,i,r){return i*Math.sqrt(1-(t=t/r-1)*t)+n},easeInOutCirc:function(e,t,n,i,r){return(t/=r/2)<1?-i/2*(Math.sqrt(1-t*t)-1)+n:i/2*(Math.sqrt(1-(t-=2)*t)+1)+n},easeInElastic:function(e,t,n,i,r){var o=1.70158,a=0,s=i;if(0==t)return n;if(1==(t/=r))return n+i;if(a||(a=.3*r),s<Math.abs(i)){s=i;o=a/4}else o=a/(2*Math.PI)*Math.asin(i/s);return-s*Math.pow(2,10*(t-=1))*Math.sin((t*r-o)*(2*Math.PI)/a)+n},easeOutElastic:function(e,t,n,i,r){var o=1.70158,a=0,s=i;if(0==t)return n;if(1==(t/=r))return n+i;if(a||(a=.3*r),s<Math.abs(i)){s=i;o=a/4}else o=a/(2*Math.PI)*Math.asin(i/s);return s*Math.pow(2,-10*t)*Math.sin((t*r-o)*(2*Math.PI)/a)+i+n},easeInOutElastic:function(e,t,n,i,r){var o=1.70158,a=0,s=i;if(0==t)return n;if(2==(t/=r/2))return n+i;if(a||(a=r*(.3*1.5)),s<Math.abs(i)){s=i;o=a/4}else o=a/(2*Math.PI)*Math.asin(i/s);return t<1?s*Math.pow(2,10*(t-=1))*Math.sin((t*r-o)*(2*Math.PI)/a)*-.5+n:s*Math.pow(2,-10*(t-=1))*Math.sin((t*r-o)*(2*Math.PI)/a)*.5+i+n},easeInBack:function(e,t,n,i,r,o){return o==undefined&&(o=1.70158),i*(t/=r)*t*((o+1)*t-o)+n},easeOutBack:function(e,t,n,i,r,o){return o==undefined&&(o=1.70158),i*((t=t/r-1)*t*((o+1)*t+o)+1)+n},easeInOutBack:function(e,t,n,i,r,o){return o==undefined&&(o=1.70158),(t/=r/2)<1?i/2*(t*t*((1+(o*=1.525))*t-o))+n:i/2*((t-=2)*t*((1+(o*=1.525))*t+o)+2)+n},easeInBounce:function(e,t,n,i,r){return i-jQuery.easing.easeOutBounce(e,r-t,0,i,r)+n},easeOutBounce:function(e,t,n,i,r){return(t/=r)<1/2.75?i*(7.5625*t*t)+n:t<2/2.75?i*(7.5625*(t-=1.5/2.75)*t+.75)+n:t<2.5/2.75?i*(7.5625*(t-=2.25/2.75)*t+.9375)+n:i*(7.5625*(t-=2.625/2.75)*t+.984375)+n},easeInOutBounce:function(e,t,n,i,r
4){return t<r/2?.5*jQuery.easing.easeInBounce(e,2*t,0,i,r)+n:.5*jQuery.easing.easeOutBounce(e,2*t-r,0,i,r)+.5*i+n}}),jQuery.extend(jQuery.easing,{easeInOutMaterial:function(e,t,n,i,r){return(t/=r/2)<1?i/2*t*t+n:i/4*((t-=2)*t*t+2)+n}}),function(t){function a(e){var t=e.length,n=d.type(e);
vendor: 14,199 bytes, line 4
4return"function"!==n&&!d.isWindow(e)&&(!(1!==e.nodeType||!t)||("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e))}if(!t.jQuery){var d=function(e,t){return new d.fn.init(e,t)};d.isWindow=function(e){return null!=e&&e==e.window},d.type=function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[r.call(e)]||"object":typeof e},d.isArray=Array.isArray||function(e){return"array"===d.type(e)},d.isPlainObject=function(e){var t;if(!e||"object"!==d.type(e)||e.nodeType||d.isWindow(e))return!1;try{if(e.constructor&&!i.call(e,"constructor")&&!i.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(o){return!1}for(t in e);return void 0===t||i.call(e,t)},d.each=function(e,t,n){var i=0,r=e.length,o=a(e);if(n){if(o)for(;i<r&&!1!==t.apply(e[i],n);i++);else for(i in e)if(!1===t.apply(e[i],n))break}else if(o)for(;i<r&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},d.data=function(e,t,n){if(void 0===n){var i=(r=e[d.expando])&&o[r];if(void 0===t)return i;if(i&&t in i)return i[t]}else if(void 0!==t){var r=e[d.expando]||(e[d.expando]=++d.uuid);return o[r]=o[r]||{},o[r][t]=n}},d.removeData=function(e,t){var n=e[d.expando],i=n&&o[n];i&&d.each(t,function(e,t){delete i[t]})},d.extend=function(e){var t,n,i,r,o,a,s=e||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[l]||{},l++),"object"!=typeof s&&"function"!==d.type(s)&&(s={}),l===u&&(s=this,l--);l<u;l++)if(null!=(o=arguments[l]))for(r in o)t=s[r],s!==(i=o[r])&&(c&&i&&(d.isPlainObject(i)||(n=d.isArray(i)))?(n?(n=!1,a=t&&d.isArray(t)?t:[]):a=t&&d.isPlainObject(t)?t:{},s[r]=d.extend(c,a,i)):void 0!==i&&(s[r]=i));return s},d.queue=function(e,t,n){function i(e,t){var n=t||[];return null!=e&&(a(Object(e))?function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;)e[r++]=t[i++];if(n!=n)for(;void 0!==t[i];)e[r++]=t[i++];e.length=r}(n,"string"==typeof e?[e]:e):[].push.call(n,e)),n}if(e){t=(t||"fx")+"queue";var r=d.data(e,t);return n?(!r||d.isArray(n)?r=d.data(e,t,i(n)):r.push(n),r):r||[]}},d.dequeue=function(e,r){d.each(e.nodeType?[e]:e,function(e,t){r=r||"fx";var n=d.queue(t,r),i=n.shift();"inprogress"===i&&(i=n.shift()),i&&("fx"===r&&n.unshift("inprogress"),i.call(t,function(){d.dequeue(t,r)}))})},d.fn=d.prototype={init:function(e){if(e.nodeType)return this[0]=e,this;throw new Error("Not a DOM node.")},offset:function(){var e=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:e.top+(t.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:e.left+(t.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){function e(){for(var e=this.offsetParent||document;e&&"html"===!e.nodeType.toLowerCase&&"static"===e.style.position;)e=e.offsetParent;return e||document}var t=this[0],e=e.apply(t),n=this.offset(),i=/^(?:body|html)$/i.test(e.nodeName)?{top:0,left:0}:d(e).offset();return n.top-=parseFloat(t.style.marginTop)||0,n.left-=parseFloat(t.style.marginLeft)||0,e.style&&(i.top+=parseFloat(e.style.borderTopWidth)||0,i.left+=parseFloat(e.style.borderLeftWidth)||0),{top:n.top-i.top,left:n.left-i.left}}};var o={};d.expando="velocity"+(new Date).getTime(),d.uuid=0;for(var n={},i=n.hasOwnProperty,r=n.toString,e="Boolean Number String Function Array Date RegExp Object Error".split(" "),s=0;s<e.length;s++)n["[object "+e[s]+"]"]=e[s].toLowerCase();d.fn.init.prototype=d.fn,t.Velocity={Utilities:d}}}(window),function(e){"object"==typeof module&&"object"==typeof module.exports?module.exports=e():"function"==typeof define&&define.amd?define(e):e()}(function(){return function(e,L,$,H){function S(e){for(var t=-1,n=e?e.length:0,i=[];++t<n;){var r=e[t];r&&i.push(r)}return i}function m(e){return q.isWrapped(e)?e=[].slice.call(e):q.isNode(e)&&(e=[e]),e}function R(e){var t=W.data(e,"velocity");return null===t?H:t}function i(t){return function(e){return Math.round(e*t)*(1/t)}}function r(a,t,s,n){function i(e,t){return 1-3*t+3*e}function r(e,t){return 3*t-6*e}function o(e){return 3*e}function l(e,t,n){return((i(t,n)*e+r(t,n))*e+o(t))*e}function u(e,t,n){return 3*i(t,n)*e*e+2*r(t,n)*e+o(t)}function c(e,t){for(var n=0;n<f;++n){var i=u(t,a,s);if(0===i)return t;t-=(l(t,a,s)-e)/i}return t}function e(){for(var e=0;e<y;++e)x[e]=l(e*b,a,s)}function d(e,t,n){for(var i,r,o=0;0<(i=l(r=t+(n-t)/2,a,s)-e)?n=r:t=r,Math.abs(i)>m&&++o<v;);return r}function p(e){for(var t=0,n=1,i=y-1;n!=i&&x[n]<=e;++n)t+=b;var r=t+(e-x[--n])/(x[n+1]-x[n])*b,o=u(r,a,s);return g<=o?c(e,r):0==o?r:d(e,t,t+b)}function h(){k=!0,(a!=t||s!=n)&&e()}var f=4,g=.001,m=1e-7,v=10,y=11,b=1/(y-1),w="Float32Array"in L;if(4!==arguments.length)return!1;for(var _=0;_<4;++_)if("number"!=typeof arguments[_]||isNaN(arguments[_])||!isFinite(arguments[_]))return!1;a=Math.min(a,1),s=Math.min(s,1),a=Math.max(a,0),s=Math.max(s,0);var x=w?new Float32Array(y):new Array(y),k=!1,T=function(e){return k||h(),a===t&&s===n?e:0===e?0:1===e?1:l(p(e),t,n)};T.getControlPoints=function(){return[{x:a,y:t},{x:s,y:n}]};var S="generateBezier("+[a,t,s,n]+")";return T.toString=function(){return S},T}function z(e,t){var n=e;return q.isString(e)?V.Easings[e]||(n=!1):n=q.isArray(e)&&1===e.length?i.apply(null,e):q.isArray(e)&&2===e.length?s.apply(null,e.concat([t])):!(!q.isArray(e)||4!==e.length)&&r.apply(null,e),!1===n&&(n=V.Easings[V.defaults.easing]?V.defaults.easing:a),n}function F(e){if(e){var t=(new Date).getTime(),n=V.State.calls.length;1e4<n&&(V.State.calls=S(V.State.calls));for(var i=0;i<n;i++)if(V.State.calls[i]){var r=V.State.calls[i],o=r[0],a=r[2],s=r[3],l=!!s,u=null;s||(s=V.State.calls[i][3]=t-16);for(var c=Math.min((t-s)/a.duration,1),d=0,p=o.length;d<p;d++){var h=o[d],f=h.element;if(R(f)){var g=!1;if(a.display!==H&&null!==a.display&&"none"!==a.display){if("flex"===a.display){var m=["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"];W.each(m,function(e,t){Y.setPropertyValue(f,"display",t)})}Y.setPropertyValue(f,"display",a.display)}for(var v in a.visibility!==H&&"hidden"!==a.visibility&&Y.setPropertyValue(f,"visibility",a.visibility),h)if("element"!==v){var y,b=h[v],w=q.isString(b.easing)?V.Easings[b.easing]:b.easing;if(1===c)y=b.endValue;else{var _=b.endValue-b.startValue;if(y=b.startValue+_*w(c,a,_),!l&&y===b.currentValue)continue}if(b.currentValue=y,"tween"===v)u=y;else{if(Y.Hooks.registered[v]){var x=Y.Hooks.getRoot(v),k=R(f).rootPropertyValueCache[x];k&&(b.rootPropertyValue=k)}var T=Y.setPropertyValue(f,v,b.currentValue+(0===parseFloat(y)?"":b.unitType),b.rootPropertyValue,b.scrollData);Y.Hooks.registered[v]&&(R(f).rootPropertyValueCache[x]=Y.Normalizations.registered[x]?Y.Normalizations.registered[x]("extract",null,T[1]):T[1]),"transform"===T[0]&&(g=!0)}}a.mobileHA&&R(f).transformCache.translate3d===H&&(R(f).transformCache.translate3d="(0px, 0px, 0px)",g=!0),g&&Y.flushTransformCache(f)}}a.display!==H&&"none"!==a.display&&(V.State.calls[i][2].display=!1),a.visibility!==H&&"hidden"!==a.visibility&&(V.State.calls[i][2].visibility=!1),a.progress&&a.progress.call(r[1],r[1],c,Math.max(0,s+a.duration-t),s,u),1===c&&C(i)}}V.State.isTicking&&E(F)}function C(e,t){if(!V.State.calls[e])return!1;for(var n=V.State.calls[e][0],i=V.State.calls[e][1],r=V.State.calls[e][2],o=V.State.calls[e][4],a=!1,s=0,l=n.length;s<l;s++){var u=n[s].element;if(t||r.loop||("none"===r.display&&Y.setPropertyValue(u,"display",r.display),"hidden"===r.visibility&&Y.setPropertyValue(u,"visibility",r.visibility)),!0!==r.loop&&(W.queue(u)[1]===H||!/\.velocityQueueEntryFlag/i.test(W.queue(u)[1]))&&R(u)){R(u).isAnimating=!1;var c=!(R(u).rootPropertyValueCache={});W.each(Y.Lists.transforms3D,function(e,t){var n=/^scale/.test(t)?1:0,i=R(u).transformCache[t];R(u).transformCache[t]!==H&&new RegExp("^\\("+n+"[^.]").test(i)&&(c=!0,delete R(u).transformCache[t])}),r.mobileHA&&(c=!0,delete R(u).transformCache.translate3d),c&&Y.flushTransformCache(u),Y.Values.removeClass(u,"velocity-animating")}if(!t&&r.complete&&!r.loop&&s===l-1)try{r.complete.call(i,i)}catch(h){setTimeout(function(){throw h},1)}o&&!0!==r.loop&&o(i),R(u)&&!0===r.loop&&!t&&(W.each(R(u).tweensContainer,function(e,t){/^rotate/.test(e)&&360===parseFloat(t.endValue)&&(t.endValue=0,t.startValue=360),/^backgroundPosition/.test(e)&&100===parseFloat(t.endValue)&&"%"===t.unitType&&(t.endValue=0,t.startValue=100)}),V(u,"reverse",{loop:!0,delay:r.delay})),!1!==r.queue&&W.dequeue(u,r.queue)}V.State.calls[e]=!1;for(var d=0,p=V.State.calls.length;d<p;d++)if(!1!==V.State.calls[d]){a=!0;break}!1===a&&(V.State.isTicking=!1,delete V.State.calls,V.State.calls=[])}var W,o,d=function(){if($.documentMode)return $.documentMode;for(var e=7;4<e;e--){var t=$.createElement("div");if(t.innerHTML="<!--[if IE "+e+"]><span></span><![endif]-->",t.getElementsByTagName("span").length)return t=null,e}return H}(),h=(o=0,L.webkitRequestAnimationFrame||L.mozRequestAnimationFrame||function(e){var t,n=(new Date).getTime();return t=Math.max(0,16-(n-o)),o=n+t,setTimeout(function(){e(n+t)},t)}),q={isString:function(e){return"string"==typeof e},isArray:Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},isFunction:function(e){return"[object Function]"===Object.prototype.toString.call(e)},isNode:function(e){return e&&e.nodeType},isNodeList:function(e){return"object"==typeof e&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(Object.prototype.toString.call(e))&&e.length!==H&&(0===e.length||"object"==typeof e[0]&&0<e[0].nodeType)},isWrapped:function(e){return e&&(e.jquery||L.Zepto&&L.Zepto.zepto.isZ(e))},isSVG:function(e){return L.SVGElement&&e instanceof L.SVGElement},isEmptyObject:function(e){for(var t in e)return!1;return!0}},t=!1;if(e.fn&&e.fn.jquery?(W=e,t=!0):W=L.Velocity.Utilities,d<=8&&!t)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(!(d<=7)){var B=400,a="swing",V={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:L.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:$.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[]},CSS:{},Utilities:W,Redirects:{},Easings:{},Promise:L.Promise,defaults:{queue:"",duration:B,easing:a,begin:H,complete:H,progress:H,display:H,visibility:H,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0},init:function(e){W.data(e,"velocity",{isSVG:q.isSVG(e),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:2,patch:2},debug:!1};L.pageYOffset!==H?(V.State.scrollAnchor=L,V.State.scrollPropertyLeft="pageXOffset",V.State.scrollPropertyTop="pageYOffset"):(V.State.scrollAnchor=$.documentElement||$.body.parentNode||$.body,V.State.scrollPropertyLeft="scrollLeft",V.State.scrollPropertyTop="scrollTop");var s=function(){function l(e){return-e.tension*e.x-e.friction*e.v}function u(e,t,n){var i={x:e.x+n.dx*t,v:e.v+n.dv*t,tension:e.tension,friction:e.friction};return{dx:i.v,dv:l(i)}}function d(e,t){var n={dx:e.v,dv:l(e)},i=u(e,.5*t,n),r=u(e,.5*t,i),o=u(e,t,r),a=1/6*(n.dx+2*(i.dx+r.dx)+o.dx),s=1/6*(n.dv+2*(i.dv+r.dv)+o.dv);return e.x=e.x+a*t,e.v=e.v+s*t,e}return function p(e,t,n){var i,r,o,a={x:-1,v:0,tension:null,friction:null},s=[0],l=0,u=1e-4,c=.016;for(e=parseFloat(e)||500,t=parseFloat(t)||20,n=n||null,a.tension=e,a.friction=t,(i=null!==n)?r=(l=p(e,t))/n*c:r=c;o=d(o||a,r),s.push(1+o.x),l+=16,Math.abs(o.x)>u&&Math.abs(o.v)>u;);return i?function(e){return s[e*(s.length-1)|0]}:l}}();V.Easings={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},spring:function(e){return 1-Math.cos(4.5*e*Math.PI)*Math.exp(6*-e)}},W.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(e,t){V.Easings[t[0]]=r.apply(null,t[1])});var Y=V.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"]},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var e=0;e<Y.Lists.colors.length;e++){var t="color"===Y.Lists.colors[e]?"0 0 0 1":"255 255 255 1";Y.Hooks.templates[Y.Lists.colors[e]]=["Red Green Blue Alpha",t]}var n,i,r;if(d)for(n in Y.Hooks.templates){r=(i=Y.Hooks.templates[n])[0].split(" ");var o=i[1].match(Y.RegEx.valueSplit);"Color"===r[0]&&(r.push(r.shift()),o.push(o.shift()),Y.Hooks.templates[n]=[r.join(" "),o.join(" ")])}for(n in Y.Hooks.templates)for(var e in r=(i=Y.Hooks.templates[n])[0].split(" ")){var a=n+r[e],s=e;Y.Hooks.registered[a]=[n,s]}},getRoot:function(e){var t=Y.Hooks.registered[e];return t?t[0]:e},cleanRootPropertyValue:function(e,t){return Y.RegEx.valueUnwrap.test(t)&&(t=t.match(Y.RegEx.valueUnwrap
4)[1]),Y.Values.isCSSNullValue(t)&&(t=Y.Hooks.templates[e][1]),t},extractValue:function(e,t){var n=Y.Hooks.registered[e];if(n){var i=n[0],r=n[1];return(t=Y.Hooks.cleanRootPropertyValue(i,t)).toString().match(Y.RegEx.valueSplit)[r]}return t},injectValue:function(e,t,n){var i=Y.Hooks.registered[e];if(i){var r,o=i[0],a=i[1];return(r=(n=Y.Hooks.cleanRootPropertyValue(o,n)).toString().match(Y.RegEx.valueSplit))[a]=t,r.join(" ")}return n}},Normalizations:{registered:{clip:function(e,t,n){switch(e){case"name":return"clip";case"extract":var i;return Y.RegEx.wrappedValueAlreadyExtracted.test(n)?i=n:i=(i=n.toString().match(Y.RegEx.valueUnwrap))?i[1].replace(/,(\s+)?/g," "):n,i;case"inject":return"rect("+n+")"}},blur:function(e,t,n){switch(e){case"name":return V.State.isFirefox?"filter":"-webkit-filter";case"extract":var i=parseFloat(n);if(!i&&0!==i){var r=n.toString().match(/blur\(([0-9]+[A-z]+)\)/i);i=r?r[1]:0}return i;case"inject":return parseFloat(n)?"blur("+n+")":"none"}},opacity:function(e,t,n){if(d<=8)switch(e){case"name":return"filter";case"extract":var i=n.toString().match(/alpha\(opacity=(.*)\)/i);return i?i[1]/100:1;case"inject":return(t.style.zoom=1)<=parseFloat(n)?"":"alpha(opacity="+parseInt(100*parseFloat(n),10)+")"}else switch(e){case"name":return"opacity";case"extract":case"inject":return n}}},register:function(){d<=9||V.State.isGingerbread||(Y.Lists.transformsBase=Y.Lists.transformsBase.concat(Y.Lists.transforms3D));for(var e=0;e<Y.Lists.transformsBase.length;e++)!function(){var r=Y.Lists.transformsBase[e];Y.Normalizations.registered[r]=function(e,t,n){switch(e){case"name":return"transform";case"extract":return R(t)===H||R(t).transformCache[r]===H?/^scale/i.test(r)?1:0:R(t).transformCache[r].replace(/[()]/g,"");case"inject":var i=!1;switch(r.substr(0,r.length-1)){case"translate":i=!/(%|px|em|rem|vw|vh|\d)$/i.test(n);break;case"scal":case"scale":V.State.isAndroid&&R(t).transformCache[r]===H&&n<1&&(n=1),i=!/(\d)$/i.test(n);break;case"skew":i=!/(deg|\d)$/i.test(n);break;case"rotate":i=!/(deg|\d)$/i.test(n)}return i||(R(t).transformCache[r]="("+n+")"),R(t).transformCache[r]}}}();for(e=0;e<Y.Lists.colors.length;e++)!function(){var a=Y.Lists.colors[e];Y.Normalizations.registered[a]=function(e,t,n){switch(e){case"name":return a;case"extract":var i;if(Y.RegEx.wrappedValueAlreadyExtracted.test(n))i=n;else{var r,o={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(n)?r=o[n]!==H?o[n]:o.black:Y.RegEx.isHex.test(n)?r="rgb("+Y.Values.hexToRgb(n).join(" ")+")":/^rgba?\(/i.test(n)||(r=o.black),i=(r||n).toString().match(Y.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return d<=8||3!==i.split(" ").length||(i+=" 1"),i;case"inject":return d<=8?4===n.split(" ").length&&(n=n.split(/\s+/).slice(0,3).join(" ")):3===n.split(" ").length&&(n+=" 1"),(d<=8?"rgb":"rgba")+"("+n.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")"}}}()}},Names:{camelCase:function(e){return e.replace(/-(\w)/g,function(e,t){return t.toUpperCase()})},SVGAttribute:function(e){var t="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(d||V.State.isAndroid&&!V.State.isChrome)&&(t+="|transform"),new RegExp("^("+t+")$","i").test(e)},prefixCheck:function(e){if(V.State.prefixMatches[e])return[V.State.prefixMatches[e],!0];for(var t=["","Webkit","Moz","ms","O"],n=0,i=t.length;n<i;n++){var r;if(r=0===n?e:t[n]+e.replace(/^\w/,function(e){return e.toUpperCase()}),q.isString(V.State.prefixElement.style[r]))return[V.State.prefixMatches[e]=r,!0]}return[e,!1]}},Values:{hexToRgb:function(e){var t,n=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;return e=e.replace(n,function(e,t,n,i){return t+t+n+n+i+i}),(t=i.exec(e))?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:[0,0,0]},isCSSNullValue:function(e){return 0==e||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(e)},getUnitType:function(e){return/^(rotate|skew)/i.test(e)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(e)?"":"px"},getDisplayType:function(e){var t=e&&e.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(t)?"inline":/^(li)$/i.test(t)?"list-item":/^(tr)$/i.test(t)?"table-row":/^(table)$/i.test(t)?"table":/^(tbody)$/i.test(t)?"table-row-group":"block"},addClass:function(e,t){e.classList?e.classList.add(t):e.className+=(e.className.length?" ":"")+t},removeClass:function(e,t){e.classList?e.classList.remove(t):e.className=e.className.toString().replace(new RegExp("(^|\\s)"+t.split(" ").join("|")+"(\\s|$)","gi")," ")}},getPropertyValue:function(e,t,n,u){function c(e,t){function n(){o&&Y.setPropertyValue(e,"display","none")}var i=0;if(d<=8)i=W.css(e,t);else{var r,o=!1;
vendor: 10,003 bytes, line 4
4if(/^(width|height)$/.test(t)&&0===Y.getPropertyValue(e,"display")&&(o=!0,Y.setPropertyValue(e,"display",Y.Values.getDisplayType(e))),!u){if("height"===t&&"border-box"!==Y.getPropertyValue(e,"boxSizing").toString().toLowerCase()){var a=e.offsetHeight-(parseFloat(Y.getPropertyValue(e,"borderTopWidth"))||0)-(parseFloat(Y.getPropertyValue(e,"borderBottomWidth"))||0)-(parseFloat(Y.getPropertyValue(e,"paddingTop"))||0)-(parseFloat(Y.getPropertyValue(e,"paddingBottom"))||0);return n(),a}if("width"===t&&"border-box"!==Y.getPropertyValue(e,"boxSizing").toString().toLowerCase()){var s=e.offsetWidth-(parseFloat(Y.getPropertyValue(e,"borderLeftWidth"))||0)-(parseFloat(Y.getPropertyValue(e,"borderRightWidth"))||0)-(parseFloat(Y.getPropertyValue(e,"paddingLeft"))||0)-(parseFloat(Y.getPropertyValue(e,"paddingRight"))||0);return n(),s}}r=R(e)===H?L.getComputedStyle(e,null):R(e).computedStyle?R(e).computedStyle:R(e).computedStyle=L.getComputedStyle(e,null),"borderColor"===t&&(t="borderTopColor"),(""===(i=9===d&&"filter"===t?r.getPropertyValue(t):r[t])||null===i)&&(i=e.style[t]),n()}if("auto"===i&&/^(top|right|bottom|left)$/i.test(t)){var l=c(e,"position");("fixed"===l||"absolute"===l&&/top|left/i.test(t))&&(i=W(e).position()[t]+"px")}return i}var i;if(Y.Hooks.registered[t]){var r=t,o=Y.Hooks.getRoot(r);n===H&&(n=Y.getPropertyValue(e,Y.Names.prefixCheck(o)[0])),Y.Normalizations.registered[o]&&(n=Y.Normalizations.registered[o]("extract",e,n)),i=Y.Hooks.extractValue(r,n)}else if(Y.Normalizations.registered[t]){var a,s;"transform"!==(a=Y.Normalizations.registered[t]("name",e))&&(s=c(e,Y.Names.prefixCheck(a)[0]),Y.Values.isCSSNullValue(s)&&Y.Hooks.templates[t]&&(s=Y.Hooks.templates[t][1])),i=Y.Normalizations.registered[t]("extract",e,s)}if(!/^[\d-]/.test(i))if(R(e)&&R(e).isSVG&&Y.Names.SVGAttribute(t))if(/^(height|width)$/i.test(t))try{i=e.getBBox()[t]}catch(q){i=0}else i=e.getAttribute(t);else i=c(e,Y.Names.prefixCheck(t)[0]);return Y.Values.isCSSNullValue(i)&&(i=0),2<=V.debug&&console.log("Get "+t+": "+i),i},setPropertyValue:function(e,t,n,i,r){var o=t;if("scroll"===t)r.container?r.container["scroll"+r.direction]=n:"Left"===r.direction?L.scrollTo(n,r.alternateValue):L.scrollTo(r.alternateValue,n);else if(Y.Normalizations.registered[t]&&"transform"===Y.Normalizations.registered[t]("name",e))Y.Normalizations.registered[t]("inject",e,n),o="transform",n=R(e).transformCache[t];else{if(Y.Hooks.registered[t]){var a=t,s=Y.Hooks.getRoot(t);i=i||Y.getPropertyValue(e,s),n=Y.Hooks.injectValue(a,n,i),t=s}if(Y.Normalizations.registered[t]&&(n=Y.Normalizations.registered[t]("inject",e,n),t=Y.Normalizations.registered[t]("name",e)),o=Y.Names.prefixCheck(t)[0],d<=8)try{e.style[o]=n}catch(F){V.debug&&console.log("Browser does not support ["+n+"] for ["+o+"]")}else R(e)&&R(e).isSVG&&Y.Names.SVGAttribute(t)?e.setAttribute(t,n):e.style[o]=n;2<=V.debug&&console.log("Set "+t+" ("+o+"): "+n)}return[o,n]},flushTransformCache:function(t){function e(e){return parseFloat(Y.getPropertyValue(t,e))}var n="";if((d||V.State.isAndroid&&!V.State.isChrome)&&R(t).isSVG){var i={translate:[e("translateX"),e("translateY")],skewX:[e("skewX")],skewY:[e("skewY")],scale:1!==e("scale")?[e("scale"),e("scale")]:[e("scaleX"),e("scaleY")],rotate:[e("rotateZ"),0,0]};W.each(R(t).transformCache,function(e){/^translate/i.test(e)?e="translate":/^scale/i.test(e)?e="scale":/^rotate/i.test(e)&&(e="rotate"),i[e]&&(n+=e+"("+i[e].join(" ")+") ",delete i[e])})}else{var r,o;W.each(R(t).transformCache,function(e){return r=R(t).transformCache[e],"transformPerspective"===e?(o=r,!0):(9===d&&"rotateZ"===e&&(e="rotate"),void(n+=e+r+" "))}),o&&(n="perspective"+o+" "+n)}Y.setPropertyValue(t,"transform",n)}};Y.Hooks.register(),Y.Normalizations.register(),V.hook=function(e,i,r){var o=H;return e=m(e),W.each(e,function(e,t){if(R(t)===H&&V.init(t),r===H)o===H&&(o=V.CSS.getPropertyValue(t,i));else{var n=V.CSS.setPropertyValue(t,i,r);"transform"===n[0]&&V.CSS.flushTransformCache(t),o=n}}),o};var v=function(e){function t(){return i?I.promise||null:r}function n(){function n(){function d(e,t){var n=H,i=H,r=H;return q.isArray(e)?(n=e[0],!q.isArray(e[1])&&/^[\d-]/.test(e[1])||q.isFunction(e[1])||Y.RegEx.isHex.test(e[1])?r=e[1]:(q.isString(e[1])&&!Y.RegEx.isHex.test(e[1])||q.isArray(e[1]))&&(i=t?e[1]:z(e[1],S.duration),e[2]!==H&&(r=e[2]))):n=e,t||(i=i||S.easing),q.isFunction(n)&&(n=n.call(T,A,P)),q.isFunction(r)&&(r=r.call(T,A,P)),[n||0,i,r]}function e(e,t){var n,i;return i=(t||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(e){return n=e,""}),n||(n=Y.Values.getUnitType(e)),[i,n]}function t(){var e={myParent:T.parentNode||$.body,position:Y.getPropertyValue(T,"position"),fontSize:Y.getPropertyValue(T,"fontSize")},t=e.position===j.lastPosition&&e.myParent===j.lastParent,n=e.fontSize===j.lastFontSize;j.lastParent=e.myParent,j.lastPosition=e.position,j.lastFontSize=e.fontSize;var i=100,r={};if(n&&t)r.emToPx=j.lastEmToPx,r.percentToPxWidth=j.lastPercentToPxWidth,r.percentToPxHeight=j.lastPercentToPxHeight;else{var o=R(T).isSVG?$.createElementNS("http://www.w3.org/2000/svg","rect"):$.createElement("div");V.init(o),e.myParent.appendChild(o),W.each(["overflow","overflowX","overflowY"],function(e,t){V.CSS.setPropertyValue(o,t,"hidden")}),V.CSS.setPropertyValue(o,"position",e.position),V.CSS.setPropertyValue(o,"fontSize",e.fontSize),V.CSS.setPropertyValue(o,"boxSizing","content-box"),W.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(e,t){V.CSS.setPropertyValue(o,t,i+"%")}),V.CSS.setPropertyValue(o,"paddingLeft",i+"em"),r.percentToPxWidth=j.lastPercentToPxWidth=(parseFloat(Y.getPropertyValue(o,"width",null,!0))||1)/i,r.percentToPxHeight=j.lastPercentToPxHeight=(parseFloat(Y.getPropertyValue(o,"height",null,!0))||1)/i,r.emToPx=j.lastEmToPx=(parseFloat(Y.getPropertyValue(o,"paddingLeft"))||1)/i,e.myParent.removeChild(o)}return null===j.remToPx&&(j.remToPx=parseFloat(Y.getPropertyValue($.body,"fontSize"))||16),null===j.vwToPx&&(j.vwToPx=parseFloat(L.innerWidth)/100,j.vhToPx=parseFloat(L.innerHeight)/100),r.remToPx=j.remToPx,r.vwToPx=j.vwToPx,r.vhToPx=j.vhToPx,1<=V.debug&&console.log("Unit ratios: "+JSON.stringify(r),T),r}if(S.begin&&0===A)try{S.begin.call(E,E)}catch(B){setTimeout(function(){throw B},1)}if("scroll"===M){var n,i,r,o=/^x$/i.test(S.axis)?"Left":"Top",a=parseFloat(S.offset)||0;S.container?q.isWrapped(S.container)||q.isNode(S.container)?(S.container=S.container[0]||S.container,r=(n=S.container["scroll"+o])+W(T).position()[o.toLowerCase()]+a):S.container=null:(n=V.State.scrollAnchor[V.State["scrollProperty"+o]],i=V.State.scrollAnchor[V.State["scrollProperty"+("Left"===o?"Top":"Left")]],r=W(T).offset()[o.toLowerCase()]+a),C={scroll:{rootPropertyValue:!1,startValue:n,currentValue:n,endValue:r,unitType:"",easing:S.easing,scrollData:{container:S.container,direction:o,alternateValue:i}},element:T},V.debug&&console.log("tweensContainer (scroll): ",C.scroll,T)}else if("reverse"===M){if(!R(T).tweensContainer)return void W.dequeue(T,S.queue);"none"===R(T).opts.display&&(R(T).opts.display="auto"),"hidden"===R(T).opts.visibility&&(R(T).opts.visibility="visible"),R(T).opts.loop=!1,R(T).opts.begin=null,R(T).opts.complete=null,O.easing||delete S.easing,O.duration||delete S.duration,S=W.extend({},R(T).opts,S);var s=W.extend(!0,{},R(T).tweensContainer);for(var l in s)if("element"!==l){var u=s[l].startValue;s[l].startValue=s[l].currentValue=s[l].endValue,s[l].endValue=u,q.isEmptyObject(O)||(s[l].easing=S.easing),V.debug&&console.log("reverse tweensContainer ("+l+"): "+JSON.stringify(s[l]),T)}C=s}else if("start"===M){for(var c in R(T).tweensContainer&&!0===R(T).isAnimating&&(s=R(T).tweensContainer),W.each(D,function(e,t){if(RegExp("^"+Y.Lists.colors.join("$|^")+"$").test(e)){var n=d(t,!0),i=n[0],r=n[1],o=n[2];if(Y.RegEx.isHex.test(i)){for(var a=["Red","Green","Blue"],s=Y.Values.hexToRgb(i),l=o?Y.Values.hexToRgb(o):H,u=0;u<a.length;u++){var c=[s[u]];r&&c.push(r),l!==H&&c.push(l[u]),D[e+a[u]]=c}delete D[e]}}}),D){var p=d(D[c]),h=p[0],f=p[1],g=p[2];c=Y.Names.camelCase(c);var m=Y.Hooks.getRoot(c),v=!1;if(R(T).isSVG||"tween"===m||!1!==Y.Names.prefixCheck(m)[1]||Y.Normalizations.registered[m]!==H){(S.display!==H&&null!==S.display&&"none"!==S.display||S.visibility!==H&&"hidden"!==S.visibility)&&/opacity|filter/.test(c)&&!g&&0!==h&&(g=0),S._cacheValues&&s&&s[c]?(g===H&&(g=s[c].endValue+s[c].unitType),v=R(T).rootPropertyValueCache[m]):Y.Hooks.registered[c]?g===H?(v=Y.getPropertyValue(T,m),g=Y.getPropertyValue(T,c,v)):v=Y.Hooks.templates[m][1]:g===H&&(g=Y.getPropertyValue(T,c));var y,b,w,_=!1;if(g=(y=e(c,g))[0],w=y[1],h=(y=e(c,h))[0].replace(/^([+-\/*])=/,function(e,t){return _=t,""}),b=y[1],g=parseFloat(g)||0,h=parseFloat(h)||0,"%"===b&&(/^(fontSize|lineHeight)$/.test(c)?(h/=100,b="em"):/^scale/.test(c)?(h/=100,b=""):/(Red|Green|Blue)$/i.test(c)&&(h=h/100*255,b="")),/[\/*]/.test(_))b=w;else if(w!==b&&0!==g)if(0===h)b=w;else{k=k||t();var x=/margin|padding|left|right|width|text|word|letter/i.test(c)||/X$/.test(c)||"x"===c?"x":"y";switch(w){case"%":g*="x"===x?k.percentToPxWidth:k.percentToPxHeight;break;case"px":break;default:g*=k[w+"ToPx"]}switch(b){case"%":g*=1/("x"===x?k.percentToPxWidth:k.percentToPxHeight);break;case"px":break;default:g*=1/k[b+"ToPx"]}}switch(_){case"+":h=g+h;break;case"-":h=g-h;break;case"*":h*=g;break;case"/":h=g/h}C[c]={rootPropertyValue:v,startValue:g,currentValue:g,endValue:h,unitType:b,easing:f},V.debug&&console.log("tweensContainer ("+c+"): "+JSON.stringify(C[c]),T)}else V.debug&&console.log("Skipping ["+m+"] due to a lack of browser support.")}C.element=T}C.element&&(Y.Values.addClass(T,"velocity-animating"),N.push(C),""===S.queue&&(R(T).tweensContainer=C,R(T).opts=S),R(T).isAnimating=!0,A===P-1?(V.State.calls.push([N,E,S,null,I.resolver]),!1===V.State.isTicking&&(V.State.isTicking=!0,F())):A++)}var k,T=this,S=W.extend({},V.defaults,O),C={};switch(R(T)===H&&V.init(T),parseFloat(S.delay)&&!1!==S.queue&&W.queue(T,S.queue,function(e){V.velocityQueueEntryFlag=!0,R(T).delayTimer={
4setTimeout:setTimeout(e,parseFloat(S.delay)),next:e}}),S.duration.toString().toLowerCase()){case"fast":S.duration=200;break;case"normal":S.duration=B;break;case"slow":S.duration=600;break;default:S.duration=parseFloat(S.duration)||1}!1!==V.mock&&(!0===V.mock?S.duration=S.delay=1:(S.duration*=parseFloat(V.mock)||1,S.delay*=parseFloat(V.mock)||1)),S.easing=z(S.easing,S.duration),S.begin&&!q.isFunction(S.begin)&&(S.begin=null),S.progress&&!q.isFunction(S.progress)&&(S.progress=null),S.complete&&!q.isFunction(S.complete)&&(S.complete=null),S.display!==H&&null!==S.display&&(S.display=S.display.toString().toLowerCase(),"auto"===S.display&&(S.display=V.CSS.Values.getDisplayType(T))),S.visibility!==H&&null!==S.visibility&&(S.visibility=S.visibility.toString().toLowerCase()),S.mobileHA=S.mobileHA&&V.State.isMobile&&!V.State.isGingerbread,!1===S.queue?S.delay?setTimeout(n,S.delay):n():W.queue(T,S.queue,function(e,t){return!0===t?(I.promise&&I.resolver(E),!0):(V.velocityQueueEntryFlag=!0,void n(e))}),""!==S.queue&&"fx"!==S.queue||"inprogress"===W.queue(T)[0]||W.dequeue(T)}var i,r,o,E,D,O,a=e&&(e.p||W.isPlainObject(e.properties)&&!e.properties.names||q.isString(e.properties));if(q.isWrapped(this)?(i=!1,o=0,r=E=this):(i=!0,o=1,E=a?e.elements||e.e:e),E=m(E)){a?(D=e.properties||e.p,O=e.options||e.o):(D=arguments[o],O=arguments[o+1]);var P=E.length,A=0;if(!/^(stop|finish)$/i.test(D)&&!W.isPlainObject(O)){O={};for(var s=o+1;s<arguments.length;s++)q.isArray(arguments[s])||!/^(fast|normal|slow)$/i.test(arguments[s])&&!/^\d/.test(arguments[s])?q.isString(arguments[s])||q.isArray(arguments[s])?O.easing=arguments[s]:q.isFunction(arguments[s])&&(O.complete=arguments[s]):O.duration=arguments[s]}var M,I={promise:null,resolver:null,rejecter:null};switch(i&&V.Promise&&(I.promise=new V.Promise(function(e,t){I.resolver=e,I.rejecter=t})),D){case"scroll":M="scroll";break;case"reverse":M="reverse";break;case"finish":case"stop":W.each(E,function(e,t){R(t)&&R(t).delayTimer&&(clearTimeout(R(t).delayTimer.setTimeout),R(t).delayTimer.next&&R(t).delayTimer.next(),delete R(t).delayTimer)});var l=[];return W.each(V.State.calls,function(r,o){o&&W.each(o[1],function(e,n){var i=O===H?"":O;return!0!==i&&o[2].queue!==i&&(O!==H||!1!==o[2].queue)||void W.each(E,function(e,t){t===n&&((!0===O||q.isString(O))&&(W.each(W.queue(t,q.isString(O)?O:""),function(e,t){q.isFunction(t)&&t(null,!0)}),W.queue(t,q.isString(O)?O:"",[])),"stop"===D?(R(t)&&R(t).tweensContainer&&!1!==i&&W.each(R(t).tweensContainer,function(e,t){t.endValue=t.currentValue}),l.push(r)):"finish"===D&&(o[2].duration=1))})})}),"stop"===D&&(W.each(l,function(e,t){C(t,!0)}),I.promise&&I.resolver(E)),t();default:if(!W.isPlainObject(D)||q.isEmptyObject(D)){if(q.isString(D)&&V.Redirects[D]){var u=(p=W.extend({},O)).duration,c=p.delay||0;return!0===p.backwards&&(E=W.extend(!0,[],E).reverse()),W.each(E,function(e,t){parseFloat(p.stagger)?p.delay=c+parseFloat(p.stagger)*e:q.isFunction(p.stagger)&&(p.delay=c+p.stagger.call(t,e,P)),p.drag&&(p.duration=parseFloat(u)||(/^(callout|transition)/.test(D)?1e3:B),p.duration=Math.max(p.duration*(p.backwards?1-e/P:(e+1)/P),.75*p.duration,200)),V.Redirects[D].call(t,t,p||{},e,P,E,I.promise?I:H)}),t()}var d="Velocity: First argument ("+D+") was not a property map, a known action, or a registered redirect. Aborting.";return I.promise?I.rejecter(
5new Error(d)):console.log(d),t()}M="start"}var p,h,j={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},N=[];if(W.each(E,function(e,t){q.isNode(t)&&n.call(t)}),(p=W.extend({},V.defaults,O)).loop=parseInt(p.loop),h=2*p.loop-1,p.loop)for(var f=0;f<h;f++){var g={delay:p.delay,progress:p.progress};f===h-1&&(g.display=p.display,g.visibility=p.visibility,g.complete=p.complete),v(E,"reverse",g)}return t()}};(V=W.extend(v,V)).animate=v;var E=L.requestAnimationFrame||h;return V.State.isMobile||$.hidden===H||$.addEventListener("visibilitychange",function(){$.hidden?(E=function(e){return setTimeout(function(){e(!0)},16)},F()):E=L.requestAnimationFrame||h}),e.Velocity=V,e!==L&&(e.fn.velocity=v,e.fn.velocity.defaults=V.defaults),W.each(["Down","Up"],function(e,d){V.Redirects["slide"+d]=function(n,e,t,i,r,o){var a=W.extend({},e),s=a.begin,l=a.complete,u={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""},c={};
5a.display===H&&(a.display="Down"===d?"inline"===V.CSS.Values.getDisplayType(n)?"inline-block":"block":"none"),a.begin=function(){for(var e in s&&s.call(r,r),u){c[e]=n.style[e];var t=V.CSS.getPropertyValue(n,e);u[e]="Down"===d?[t,0]:[0,t]}c.overflow=n.style.overflow,n.style.overflow="hidden"},a.complete=function(){for(var e in c)n.style[e]=c[e];l&&l.call(r,r),o&&o.resolver(r)},V(n,u,a)}}),W.each(["In","Out"],function(e,u){V.Redirects["fade"+u]=function(e,t,n,i,r,o){var a=W.extend({},t),s={opacity:"In"===u?1:0},l=a.complete;a.complete=n!==i-1?a.begin=null:function(){l&&l.call(r,r),o&&o.resolver(r)},a.display===H&&(a.display="In"===u?"auto":"none"),V(this,s,a)}}),V}jQuery.fn.velocity=jQuery.fn.animate}(window.jQuery||window.Zepto||window,window,document)}),function(e,i,t,d){"use strict";function s(e,t,n){return setTimeout(u(e,n),t)}function n(e,t,n){return!!Array.isArray(e)&&(r(e,n[t],n),!0)}function r(e,t,n){var i;if(e)if(e.forEach)e.forEach(t,n);else if(e.length!==d)for(i=0;i<e.length;)t.call(n,e[i],i,e),i++;else for(i in e)e.hasOwnProperty(i)&&t.call(n,e[i],i,e)}function o(e,t,n){for(var i=Object.keys(t),r=0;r<i.length;)(!n||n&&e[i[r]]===d)&&(e[i[r]]=t[i[r]]),r++;return e}function a(e,t){return o(e,t,!0)}function l(e,t,n){var i,r=t.prototype;(i=e.prototype=Object.create(r)).constructor=e,i._super=r,n&&o(i,n)}function u(e,t){return function(){return e.apply(t,arguments)}}function c(e,t){return typeof e==ce?e.apply(t&&t[0]||d,t):e}function p(e,t){return e===d?t:e}function h(t,e,n){r(v(e),function(e){t.addEventListener(e,n,!1)})}function f(t,e,n){r(v(e),function(e){t.removeEventListener(e,n,!1)})}function g(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function m(e,t){return-1<e.indexOf(t)}function v(e){return e.trim().split(/\s+/g)}function y(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var i=0;i<e.length;){if(n&&e[i][n]==t||!n&&e[i]===t)return i;i++}return-1}function b(e){return Array.prototype.slice.call(e,0)}function w(e,n,t){for(var i=[],r=[],o=0;o<e.length;){var a=n?e[o][n]:e[o];y(r,a)<0&&i.push(e[o]),r[o]=a,o++}return t&&(i=n?i.sort(function(e,t){return e[n]>t[n]}):i.sort()),i}function _(e,t){for(var n,i,r=t[0].toUpperCase()+t.slice(1),o=0;o<le.length;){if((i=(n=le[o])?n+r:t)in e)return i;o++}return d}function x(){return fe++}function k(e){var t=e.ownerDocument;return t.defaultView||t.parentWindow}function T(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){c(t.options.enable,[t])&&n.handler(e)},this.init()}function S(e){var t=e.options.inputClass;return new(t||(ve?R:ye?W:me?B:H))(e,C)}function C(e,t,n){var i=n.pointers.length,r=n.changedPointers.length,o=t&Te&&0==i-r,a=t&(Ce|Ee)&&0==i-r;n.isFirst=!!o,n.isFinal=!!a,o&&(e.session={}),n.eventType=t,E(e,n),e.emit("hammer.input",n),e.recognize(n),e.session.prevInput=n}function E(e,t){var n=e.session,i=t.pointers,r=i.length;n.firstInput||(n.firstInput=P(t)),1<r&&!n.firstMultiple?n.firstMultiple=P(t):1===r&&(n.firstMultiple=!1);var o=n.firstInput,a=n.firstMultiple,s=a?a.center:o.center,l=t.center=A(i);t.timeStamp=he(),t.deltaTime=t.timeStamp-o.timeStamp,t.angle=N(s,l),t.distance=j(s,l),D(n,t),t.offsetDirection=I(t.deltaX,t.deltaY),t.scale=a?$(a.pointers,i):1,t.rotation=a?L(a.pointers,i):0,O(n,t);var u=e.element;g(t.srcEvent.target,u)&&(u=t.srcEvent.target),t.target=u}function D(e,t){var n=t.center,i=e.offsetDelta||{},r=e.prevDelta||{},o=e.prevInput||{};(t.eventType===Te||o.eventType===Ce)&&(r=e.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=e.offsetDelta={x:n.x,y:n.y}),t.deltaX=r.x+(n.x-i.x),t.deltaY=r.y+(n.y-i.y)}function O(e,t){var n,i,r,o,a=e.lastInterval||t,s=t.timeStamp-a.timeStamp;if(t.eventType!=Ee&&(ke<s||a.velocity===d)){var l=a.deltaX-t.deltaX,u=a.deltaY-t.deltaY,c=M(s,l,u);i=c.x,r=c.y,n=pe(c.x)>pe(c.y)?c.x:c.y,o=I(l,u),e.lastInterval=t}else n=a.velocity,i=a.velocityX,r=a.velocityY,o=a.direction;t.velocity=n,t.velocityX=i,t.velocityY=r,t.direction=o}function P(e){for(var t=[],n=0;n<e.pointers.length;)t[n]={clientX:de(e.pointers[n].clientX),clientY:de(e.pointers[n].clientY)},n++;return{timeStamp:he(),pointers:t,center:A(t),deltaX:e.deltaX,deltaY:e.deltaY}}function A(e){var t=e.length;if(1===t)return{x:de(e[0].clientX),y:de(e[0].clientY)};for(var n=0,i=0,r=0;r<t;)n+=e[r].clientX,i+=e[r].clientY,r++;return{x:de(n/t),y:de(i/t)}}function M(e,t,n){return{x:t/e||0,y:n/e||0}}function I(e,t){return e===t?De:pe(e)>=pe(t)?0<e?Oe:Pe:0<t?Ae:Me}function j(e,t,n){n||(n=Le);var i=t[n[0]]-e[n[0]],r=t[n[1]]-e[n[1]];return Math.sqrt(i*i+r*r)}function N(e,t,n){n||(n=Le);var i=t[n[0]]-e[n[0]],r=t[n[1]]-e[n[1]];return 180*Math.atan2(r,i)/Math.PI}function L(e,t){return N(t[1],t[0],$e)-N(e[1],e[0],$e)}function $(e,t){return j(t[0],t[1],$e)/j(e[0],e[1],$e)}function H(){this.evEl=Re,this.evWin=ze,this.allow=!0,this.pressed=!1,T.apply(this,arguments)}function R(){this.evEl=qe,this.evWin=Be,T.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function z(){this.evTarget=Ye,this.evWin=Ue,this.started=!1,T.apply(this,arguments)}function F(e,t){var n=b(e.touches),i=b(e.changedTouches);return t&(Ce|Ee)&&(n=w(n.concat(i),"identifier",!0)),[n,i]}function W(){this.evTarget=Xe,this.targetIds={},T.apply(this,arguments)}function q(e,t){var n=b(e.touches),i=this.targetIds;if(t&(Te|Se)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,a=b(e.changedTouches),s=[],l=this.target;if(o=n.filter(function(e){return g(e.target,l)}),t===Te)for(r=0;r<o.length;)i[o[r].identifier]=!0,r++;for(r=0;r<a.length;)i[a[r].identifier]&&s.push(a[r]),t&(Ce|Ee)&&delete i[a[r].identifier],r++;return s.length?[w(o.concat(s),"identifier",!0),s]:void 0}function B(){T.apply(this,arguments);var e=u(this.handler,this);this.touch=new W(this.manager,e),this.mouse=new H(this.manager,e)}function V(e,t){this.manager=e,this.set(t)}function Y(e){if(m(e,tt))return tt;var t=m(e,nt),n=m(e,it);return t&&n?nt+" "+it:t||n?t?nt:it:m(e,et)?et:Ze}function U(e){this.id=x(),this.manager=null,this.options=a(e||{},this.defaults),this.options.enable=p(this.options.enable,!0),this.state=rt,this.simultaneous={},this.requireFail=[]}function G(e){return e&ut?"cancel":e&st?"end":e&at?"move":e&ot?"start":""}function X(e){return e==Me?"down":e==Ae?"up":e==Oe?"left":e==Pe?"right":""}function Q(e,t){var n=t.manager;return n?n.get(e):e}function K(){U.apply(this,arguments)}function J(){K.apply(this,arguments),this.pX=null,this.pY=null}function Z(){K.apply(this,arguments)}function ee(){U.apply(this,arguments),this._timer=null,this._input=null}function te(){K.apply(this,arguments)}function ne(){K.apply(this,arguments)}function ie(){U.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function re(e,t){return(t=t||{}).recognizers=p(t.recognizers,re.defaults.preset),new oe(e,t)}function oe(e,t){t=t||{},this.options=a(t,re.defaults),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.element=e,this.input=S(this),this.touchAction=new V(this,this.options.touchAction),ae(this,!0),r(t.recognizers,function(e){var t=this.add(new e[0](e[1]));e[2]&&t.recognizeWith(e[2]),e[3]&&t.requireFailure(e[3])},this)}function ae(e,n){var i=e.element;r(e.options.cssProps,function(e,t){i.style[_(i.style,t)]=n?e:""})}function se(e,t){var n=i.createEvent("Event");n.initEvent(e,!0,!0),(n.gesture=t).target.dispatchEvent(n)}var le=["","webkit","moz","MS","ms","o"],ue=i.createElement("div"),ce="function",de=Math.round,pe=Math.abs,he=Date.now,fe=1,ge=/mobile|tablet|ip(ad|hone|od)|android/i,me="ontouchstart"in e,ve=_(e,"PointerEvent")!==d,ye=me&&ge.test(navigator.userAgent),be="touch",we="pen",_e="mouse",xe="kinect",ke=25,Te=1,Se=2,Ce=4,Ee=8,De=1,Oe=2,Pe=4,Ae=8,Me=16,Ie=Oe|Pe,je=Ae|Me,Ne=Ie|je,Le=["x","y"],$e=["clientX","clientY"];T.prototype={handler:function(){},init:function(){this.evEl&&h(this.element,this.evEl,this.domHandler),this.evTarget&&h(this.target,this.evTarget,this.domHandler),this.evWin&&h(k(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&f(this.element,this.evEl,this.domHandler),this.evTarget&&f(this.target,this.evTarget,this.domHandler),this.evWin&&f(k(this.element),this.evWin,this.domHandler)}};var He={mousedown:Te,mousemove:Se,mouseup:Ce}
vendor: 10,840 bytes, line 5
5,Re="mousedown",ze="mousemove mouseup";l(H,T,{handler:function(e){var t=He[e.type];t&Te&&0===e.button&&(this.pressed=!0),t&Se&&1!==e.which&&(t=Ce),this.pressed&&this.allow&&(t&Ce&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:_e,srcEvent:e}))}});var Fe={pointerdown:Te,pointermove:Se,pointerup:Ce,pointercancel:Ee,pointerout:Ee},We={2:be,3:we,4:_e,5:xe},qe="pointerdown",Be="pointermove pointerup pointercancel";e.MSPointerEvent&&(qe="MSPointerDown",Be="MSPointerMove MSPointerUp MSPointerCancel"),l(R,T,{handler:function(e){var t=this.store,n=!1,i=e.type.toLowerCase().replace("ms",""),r=Fe[i],o=We[e.pointerType]||e.pointerType,a=o==be,s=y(t,e.pointerId,"pointerId");r&Te&&(0===e.button||a)?s<0&&(t.push(e),s=t.length-1):r&(Ce|Ee)&&(n=!0),s<0||(t[s]=e,this.callback(this.manager,r,{pointers:t,changedPointers:[e],pointerType:o,srcEvent:e}),n&&t.splice(s,1))}});var Ve={touchstart:Te,touchmove:Se,touchend:Ce,touchcancel:Ee},Ye="touchstart",Ue="touchstart touchmove touchend touchcancel";l(z,T,{handler:function(e){var t=Ve[e.type];if(t===Te&&(this.started=!0),this.started){var n=F.call(this,e,t);t&(Ce|Ee)&&0==n[0].length-n[1].length&&(this.started=!1),this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:be,srcEvent:e})}}});var Ge={touchstart:Te,touchmove:Se,touchend:Ce,touchcancel:Ee},Xe="touchstart touchmove touchend touchcancel";l(W,T,{handler:function(e){var t=Ge[e.type],n=q.call(this,e,t);n&&this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:be,srcEvent:e})}}),l(B,T,{handler:function(e,t,n){var i=n.pointerType==be,r=n.pointerType==_e;if(i)this.mouse.allow=!1;else if(r&&!this.mouse.allow)return;t&(Ce|Ee)&&(this.mouse.allow=!0),this.callback(e,t,n)},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Qe=_(ue.style,"touchAction"),Ke=Qe!==d,Je="compute",Ze="auto",et="manipulation",tt="none",nt="pan-x",it="pan-y";V.prototype={set:function(e){e==Je&&(e=this.compute()),Ke&&(this.manager.element.style[Qe]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return r(this.manager.recognizers,function(e){c(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),Y(t.join(" "))},preventDefaults:function(e){if(!Ke){var t=e.srcEvent,n=e.offsetDirection;if(this.manager.session.prevented)return void t.preventDefault();var i=this.actions,r=m(i,tt),o=m(i,it),a=m(i,nt);return r||o&&n&Ie||a&&n&je?this.preventSrc(t):void 0}},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}};var rt=1,ot=2,at=4,st=8,lt=st,ut=16,ct=32;U.prototype={defaults:{},set:function(e){return o(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(n(e,"recognizeWith",this))return this;var t=this.simultaneous;return t[(e=Q(e,this)).id]||(t[e.id]=e).recognizeWith(this),this},dropRecognizeWith:function(e){return n(e,"dropRecognizeWith",this)||(e=Q(e,this),delete this.simultaneous[e.id]),this},requireFailure:function(e){if(n(e,"requireFailure",this))return this;var t=this.requireFail;return-1===y(t,e=Q(e,this))&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(n(e,"dropRequireFailure",this))return this;e=Q(e,this);var t=y(this.requireFail,e);return-1<t&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return 0<this.requireFail.length},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(t){function e(e){n.manager.emit(n.options.event+(e?G(i):""),t)}var n=this,i=this.state;i<st&&e(!0),e(),st<=i&&e(!0)},tryEmit:function(e){return this.canEmit()?this.emit(e):void(this.state=ct)},canEmit:function(){for(var e=0;e<this.requireFail.length;){if(!(this.requireFail[e].state&(ct|rt)))return!1;e++}return!0},recognize:function(e){var t=o({},e);return c(this.options.enable,[this,t])?(this.state&(lt|ut|ct)&&(this.state=rt),this.state=this.process(t),void(this.state&(ot|at|st|ut)&&this.tryEmit(t))):(this.reset(),void(this.state=ct))},process:function(){},getTouchAction:function(){},reset:function(){}},l(K,U,{defaults:{pointers:1},attrTest:function(e){var t=this.options.pointers;return 0===t||e.pointers.length===t},process:function(e){var t=this.state,n=e.eventType,i=t&(ot|at),r=this.attrTest(e);return i&&(n&Ee||!r)?t|ut:i||r?n&Ce?t|st:t&ot?t|at:ot:ct}}),l(J,K,{defaults:{event:"pan",threshold:10,pointers:1,direction:Ne},getTouchAction:function(){var e=this.options.direction,t=[];return e&Ie&&t.push(it),e&je&&t.push(nt),t},directionTest:function(e){var t=this.options,n=!0,i=e.distance,r=e.direction,o=e.deltaX,a=e.deltaY;return r&t.direction||(t.direction&Ie?(r=0===o?De:o<0?Oe:Pe,n=o!=this.pX,i=Math.abs(e.deltaX)):(r=0===a?De:a<0?Ae:Me,n=a!=this.pY,i=Math.abs(e.deltaY))),e.direction=r,n&&i>t.threshold&&r&t.direction},attrTest:function(e){return K.prototype.attrTest.call(this,e)&&(this.state&ot||!(this.state&ot)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=X(e.direction);t&&this.manager.emit(this.options.event+t,e),this._super.emit.call(this,e)}}),l(Z,K,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[tt]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||this.state&ot)},emit:function(e){if(this._super.emit.call(this,e),1!==e.scale){var t=e.scale<1?"in":"out";this.manager.emit(this.options.event+t,e)}}}),l(ee,U,{defaults:{event:"press",pointers:1,time:500,threshold:5},getTouchAction:function(){return[Ze]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distance<t.threshold,r=e.deltaTime>t.time;if(this._input=e,!i||!n||e.eventType&(Ce|Ee)&&!r)this.reset();else if(e.eventType&Te)this.reset(),this._timer=s(function(){this.state=lt,this.tryEmit()},t.time,this);else if(e.eventType&Ce)return lt;return ct},reset:function(){clearTimeout(this._timer)},emit:function(e){this.state===lt&&(e&&e.eventType&Ce?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=he(),this.manager.emit(this.options.event,this._input)))}}),l(te,K,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[tt]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||this.state&ot)}}),l(ne,K,{defaults:{event:"swipe",threshold:10,velocity:.65,direction:Ie|je,pointers:1},getTouchAction:function(){return J.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return n&(Ie|je)?t=e.velocity:n&Ie?t=e.velocityX:n&je&&(t=e.velocityY),this._super.attrTest.call(this,e)&&n&e.direction&&e.distance>this.options.threshold&&pe(t)>this.options.velocity&&e.eventType&Ce},emit:function(e){var t=X(e.direction);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),l(ie,U,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:2,posThreshold:10},getTouchAction:function(){return[et]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distance<t.threshold,r=e.deltaTime<t.time;if(this.reset(),e.eventType&Te&&0===this.count)return this.failTimeout();if(i&&r&&n){if(e.eventType!=Ce)return this.failTimeout();var o=!this.pTime||e.timeStamp-this.pTime<t.interval,a=!this.pCenter||j(this.pCenter,e.center)<t.posThreshold;if(this.pTime=e.timeStamp,this.pCenter=e.center,a&&o?this.count+=1:this.count=1,this._input=e,0===this.count%t.taps)return this.hasRequireFailures()?(this._timer=s(function(){this.state=lt,this.tryEmit()},t.interval,this),ot):lt}return ct},failTimeout:function(){return this._timer=s(function(){this.state=ct},this.options.interval,this),ct},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==lt&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),re.VERSION="2.0.4",re.defaults={domEvents:!1,touchAction:Je,enable:!0,inputTarget:null,inputClass:null,preset:[[te,{enable:!1}],[Z,{enable:!1},["rotate"]],[ne,{direction:Ie}],[J,{direction:Ie},["swipe"]],[ie],[ie,{event:"doubletap",taps:2},["tap"]],[ee]],cssProps:{userSelect:"default",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var dt=1,pt=2;oe.prototype={set:function(e){return o(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},stop:function(e){this.session.stopped=e?pt:dt},recognize:function(e){var t=this.session;if(!t.stopped){this.touchAction.preventDefaults(e);var n,i=this.recognizers,r=t.curRecognizer;(!r||r&&r.state&lt)&&(r=t.curRecognizer=null);for(var o=0;o<i.length;)n=i[o],t.stopped===pt||r&&n!=r&&!n.canRecognizeWith(r)?n.reset():n.recognize(e),!r&&n.state&(ot|at|st)&&(r=t.curRecognizer=n),o++}},get:function(e){if(e instanceof U)return e;for(var t=this.recognizers,n=0;n<t.length;n++)if(t[n].options.event==e)return t[n];return null},add:function(e){if(n(e,"add",this))return this;var t=this.get(e.options.event);return t&&this.remove(t),this.recognizers.push(e),(e.manager=this).touchAction.update(),e},remove:function(e){if(n(e,"remove",this))return this;var t=this.recognizers;return e=this.get(e),t.splice(y(t,e),1),this.touchAction.update(),this},on:function(e,t){var n=this.handlers;return r(v(e),function(e){n[e]=n[e]||[],n[e].push(t)}),this},off:function(e,t){var n=this.handlers;return r(v(e),function(e){t?n[e].splice(y(n[e],t),1):delete n[e]}),this},emit:function(e,t){this.options.domEvents&&se(e,t);var n=this.handlers[e]&&this.handlers[e].slice();if(n&&n.length){t.type=e,t.preventDefault=function(){t.srcEvent.preventDefault()};for(var i=0;i<n.length;)n[i](t),i++}},destroy:function(){this.element&&ae(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},o(re,{INPUT_START:Te,INPUT_MOVE:Se,INPUT_END:Ce,INPUT_CANCEL:Ee,STATE_POSSIBLE:rt,STATE_BEGAN:ot,STATE_CHANGED:at,STATE_ENDED:st,STATE_RECOGNIZED:lt,STATE_CANCELLED:ut,STATE_FAILED:ct,DIRECTION_NONE:De,DIRECTION_LEFT:Oe,DIRECTION_RIGHT:Pe,DIRECTION_UP:Ae,DIRECTION_DOWN:Me,DIRECTION_HORIZONTAL:Ie,DIRECTION_VERTICAL:je,DIRECTION_ALL:Ne,Manager:oe,Input:T,TouchAction:V,TouchInput:W,MouseInput:H,PointerEventInput:R,TouchMouseInput:B,SingleTouchInput:z,Recognizer:U,AttrRecognizer:K,Tap:ie,Pan:J,Swipe:ne,Pinch:Z,Rotate:te,Press:ee,on:h,off:f,each:r,merge:a,extend:o,inherit:l,bindFn:u,prefixed:_}),typeof define==ce&&define.amd?define(function(){return re}):"undefined"!=typeof module&&module.exports?module.exports=re:e[t]=re}(window,document,"Hammer"),function(e){"function"==typeof define&&define.amd?define(["jquery","hammerjs"],e):"object"==typeof exports?e(require("jquery"),require("hammerjs")):e(jQuery,Hammer)}(function(i,r){function t(e,t){var n=i(e);
5n.data("hammer")||n.data("hammer",new r(n[0],t))}var n;i.fn.hammer=function(e){return this.each(function(){t(this,e)})},r.Manager.prototype.emit=(n=r.Manager.prototype.emit,function(e,t){n.call(this,e,t),i(this.element).trigger({type:e,gesture:t})})}),Materialize={},Materialize.guid=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return function(){return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}}(),Materialize.elementOrParentIsFixed=function(e){var t=$(e),n=t.add(t.parents()),i=!1;return n.each(function(){if("fixed"===$(this).css("position"))return!(i=!0)}),i},Vel=$?$.Velocity:Velocity,function(l){l.fn.collapsible=function(s){var e={accordion:undefined};return s=l.extend(e,s),this.each(function(){function n(e){a=t.find("> li > .collapsible-header"),e.hasClass("active")?e.parent().addClass("active"):e.parent().removeClass("active"),e.parent().hasClass("active")?e.siblings(".collapsible-body").stop(!0,!1).slideDown({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){l(this).css("height","")}}):e.siblings(".collapsible-body").stop(!0,!1).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){l(this).css("height","")}}),a.not(e).removeClass("active").parent().removeClass("active"),a.not(e).parent().children(".collapsible-body").stop(!0,!1).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){l(this).css("height","")}})}function i(e){e.hasClass("active")?e.parent().addClass("active"):e.parent().removeClass("active"),e.parent().hasClass("active")?e.siblings(".collapsible-body").stop(!0,!1).slideDown({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){l(this).css("height","")}}):e.siblings(".collapsible-body").stop(!0,!1).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){l(this).css("height","")}})}function r(e){return 0<o(e).length}function o(e){return e.closest("li > .collapsible-header")}var t=l(this),a=l(this).find("> li > .collapsible-header"),e=t.data("collapsible");t.off("click.collapse",".collapsible-header"),a.off("click.collapse"),s.accordion||"accordion"===e||e===undefined?((a=t.find("> li > .collapsible-header")).on("click.collapse",function(e){var t=l(e.target);r(t)&&(t=o(t)),t.toggleClass("active"),n(t)}),n(a.filter(".active").first())):a.each(function(){l(this).on("click.collapse",function(e){var t=l(e.target);r(t)&&(t=o(t)),t.toggleClass("active"),i(t)}),l(this).hasClass("active")&&i(l(this))})})},l(document).ready(function(){l(".collapsible").collapsible()})}(jQuery),function(u){u.fn.scrollTo=function(e){return u(this).scrollTop(u(this).scrollTop()-u(this).offset().top+u(e).offset().top),this},u.fn.dropdown=function(e){var l={inDuration:300,outDuration:225,constrain_width:!0,hover:!1,gutter:0,belowOrigin:!1};this.each(function(){function r(){o.data("induration")!==undefined&&(a.inDuration=o.data("inDuration")),o.data("outduration")!==undefined&&(a.outDuration=o.data("outDuration")),o.data("constrainwidth")!==undefined&&(a.constrain_width=o.data("constrainwidth")),o.data("hover")!==undefined&&(a.hover=o.data("hover")),o.data("gutter")!==undefined&&(a.gutter=o.data("gutter")),o.data("beloworigin")!==undefined&&(a.belowOrigin=o.data("beloworigin"))}function t(){r(),s.addClass("active"),!0===a.constrain_width&&s.css("width",o.outerWidth());var e=0;!0===a.belowOrigin&&(e=o.height());var t=o.offset().left,n=0,i=a.gutter;t+s.innerWidth()>u(window).width()&&(n=o.innerWidth()-s.innerWidth(),i*=-1),s.css({position:"absolute",top:o.position().top+e,left:o.position().left+n+i}),s.stop(!0,!0).css("opacity",0).slideDown({queue:!1,duration:a.inDuration,easing:"easeOutCubic",complete:function(){u(this).css("height","")}}).animate({opacity:1},{queue:!1,duration:a.inDuration,easing:"easeOutSine"})}function n(){s.fadeOut(a.outDuration),s.removeClass("active")}var o=u(this),a=u.extend({},l,e),s=u("#"+o.attr("data-activates"));if(r(),o.after(s),a.hover){var i=!1;o.unbind("click."+o.attr("id")),o.on("mouseenter",function(){!1===i&&(t(),i=!0)}),o.on("mouseleave",function(e){u(e.toElement).closest(".dropdown-content").is(s)||(s.stop(!0,!0),n(),i=!1)}),s.on("mouseleave",function(e){u(e.toElement).closest(".dropdown-button").is(o)||
5(s.stop(!0,!0),n(),i=!1)})}else o.unbind("click."+o.attr("id")),o.bind("click."+o.attr("id"),function(e){o[0]==e.currentTarget&&0===u(e.target).closest(".dropdown-content").length?(e.preventDefault(),t()):o.hasClass("active")&&(n(),u(document).unbind("click."+s.attr("id"))),s.hasClass("active")&&u(document).bind("click."+s.attr("id"),function(e){!s.is(e.target)&&!o.is(e.target)&&0<!o.find(e.target).length&&(n(),u(document).unbind("click."+s.attr("id")))})});o.on("open",t),o.on("close",n)})},u(document).ready(function(){u(".dropdown-button").dropdown()})}(jQuery),function(s){var l=0,e=0,u=function(){return"materialize-lean-overlay-"+ ++e};s.fn.extend({openModal:function(t){var e=s('<div id="lean-overlay"></div>');s("body").css("overflow","hidden").append(e);var n={opacity:.5,in_duration:350,out_duration:250,ready:undefined,complete:undefined,dismissible:!0},i=u(),r=s(this),o=s('<div class="lean-overlay"></div>'),a=++l;o.attr("id",i).css("z-index",1e3+2*a),r.data("overlay-id",i).css("z-index",1e3+2*a+1),s("body").append(o),(t=s.extend(n,t)).dismissible&&(o.click(function(){r.closeModal(t)}),s(document).on("keyup.leanModal"+i,function(e){27===e.keyCode&&r.closeModal(t)})),r.find(".modal-close").click(function(){r.closeModal(t)}),o.css({display:"block",opacity:0}
5),r.css({display:"block",opacity:0}),o.velocity({opacity:t.opacity},{duration:t.in_duration,queue:!1,ease:"easeOutCubic"}),r.data("associated-overlay",o[0]),r.hasClass("bottom-sheet")?r.velocity({bottom:"0",opacity:1},{duration:t.in_duration,queue:!1,ease:"easeOutCubic",complete:function(){"function"==typeof t.ready&&t.ready()}}):(r.css({top:"4%"}),r.velocity({top:"10%",opacity:1},{duration:t.in_duration,queue:!1,ease:"easeOutCubic",complete:function(){"function"==typeof t.ready&&t.ready()}}))}}),s.fn.extend({closeModal:function(e){var t={out_duration:250,complete:undefined},n=(e=s.extend(t,e),s(this)),i=n.data("overlay-id"),r=s("#"+i);s("body").css("overflow",""),n.find(".modal-close").off(),s(document).off("keyup.leanModal"+i),r.velocity({opacity:0},{duration:e.out_duration,queue:!1,ease:"easeOutQuart"}),n.hasClass("bottom-sheet")?n.velocity({bottom:"-100%",opacity:0},{duration:e.out_duration,queue:!1,ease:"easeOutCubic",complete:function(){r.css({display:"none"}),"function"==typeof e.complete&&e.complete(),r.remove(),l--}}):n.fadeOut(e.out_duration,function(){n.css({top:0}),r.css({display:"none"}),"function"==typeof e.complete&&e.complete(),r.remove(),l--})}}),s.fn.extend({leanModal:function(n){return this.each(function(){s(this).click(function(e){var t=s(this).attr("href")||"#"+s(this).data("target");s(t).openModal(n),e.preventDefault()})})}})}(jQuery),function(f){f.fn.materialbox=function(){return this.each(function(){function u(){d=!1;var e=h.parent(".material-placeholder"),t=(window.innerWidth,window.innerHeight,h.data("width")),n=h.data("height");h.velocity("stop",!0),f("#materialbox-overlay").velocity("stop",!0),f(".materialbox-caption").velocity("stop",!0),f("#materialbox-overlay").velocity({opacity:0},{duration:i,queue:!1,easing:"easeOutQuad",complete:function(){c=!1,f(this).remove()}}),h.velocity({width:t,height:n,left:0,top:0},{duration:i,queue:!1,easing:"easeOutQuad"}),f(".materialbox-caption").velocity({opacity:0},{duration:i,queue:!1,easing:"easeOutQuad",complete:function(){e.css({height:"",width:"",position:"",top:"",left:""}),h.css({height:"",top:"",left:"",width:"","max-width":"",position:"","z-index":""}),h.removeClass("active"),d=!0,f(this).remove()}})}if(!f(this).hasClass("initialized")){f(this).addClass("initialized");var c=!1,d=!0,p=275,i=200,h=f(this),e=f("<div></div>").addClass("material-placeholder");h.wrap(e),h.on("click",function(){var e=h.parent(".material-placeholder"),t=window.innerWidth,n=window.innerHeight,i=h.width(),r=h.height();if(!1===d)return u(),!1;if(c&&!0===d)return u(),!1;d=!1,h.addClass("active"),c=!0,e.css({width:e[0].getBoundingClientRect().width,height:e[0].getBoundingClientRect().height,position:"relative",top:0,left:0}),h.css({position:"absolute","z-index":1e3}).data("width",i).data("height",r);var o=f('<div id="materialbox-overlay"></div>').css({opacity:0}).click(function(){!0===d&&u()});if(f("body").append(o),o.velocity({opacity:1},{duration:p,queue:!1,easing:"easeOutQuad"}),""!==h.data("caption")){var a=f('<div class="materialbox-caption"></div>');a.text(h.data("caption")),f("body").append(a),a.css({display:"inline"}),a.velocity({opacity:1},{duration:p,queue:!1,easing:"easeOutQuad"})}var s=0,l=0;r/n<i/t?l=(s=.9*t)*(r/i):(s=.9*n*(i/r),l=.9*n),h.hasClass("responsive-img")?h.velocity({"max-width":s,width:i},{duration:0,queue:!1,complete:function(){h.css({left:0,top:0}).velocity({height:l,width:s,left:f(document).scrollLeft()+t/2-h.parent(".material-placeholder").offset().left-s/2,top:f(document).scrollTop()+n/2-h.parent(".material-placeholder").offset().top-l/2},{duration:p,queue:!1,easing:"easeOutQuad",complete:function(){d=!0}})}}):h.css("left",0).css("top",0).velocity({height:l,width:s,left:f(document).scrollLeft()+t/2-h.parent(".material-placeholder").offset().left-s/2,top:f(document).scrollTop()+n/2-h.parent(".material-placeholder").offset().top-l/2},{duration:p,queue:!1,easing:"easeOutQuad",complete:function(){d=!0}})}),f(window).scroll(function(){c&&u()}),f(document).keyup(function(e){27===e.keyCode&&!0===d&&c&&u()})}})},f(document).ready(function(){f(".materialboxed").materialbox()})}(jQuery),function(p){p.fn.parallax=function(){var d=p(window).width();return this.each(function(){function e(e){var t;t=d<601?0<c.height()?c.height():c.children("img").height():0<c.height()?c.height():500;var n=c.children("img").first(),i=n.height()-t,r=c.offset().top+t,o=c.offset().top,a=p(window).scrollTop(),s=window.innerHeight,l=(a+s-o)/(t+s),u=Math.round(i*l);e&&n.css("display","block"),a<r&&o<a+s&&n.css("transform","translate3D(-50%,"+u+"px, 0)")}var c=p(this);c.addClass("parallax"),c.children("img").one("load",function(){e(!0)}).each(function(){this.complete&&p(this).load()}),p(window).scroll(function(){d=p(window).width(),e(!1)}),p(window).resize(function(){d=p(window).width(),e(!1)})})}}(jQuery),function(c){var t={init:function(){return this.each(function(){var n=c(this);c(window).width();n.width("100%");var e=c(this).children("li").length;n.children("li").each(function(){c(this).width(100/e+"%")});var i,r,o=n.find("li.tab a"),a=n.width(),s=n.find("li").first().outerWidth(),l=0;0===(i=c(o.filter('[href="'+location.hash+'"]'))).length&&(i=c(this).find("li.tab a.active").first()),0===i.length&&(i=c(this).find("li.tab a").first()),i.addClass("active"),(l=o.index(i))<0&&(l=0),i.length&&(r=c(i[0].hash)),n.append('<div class="indicator"></div>');var u=n.find(".indicator");n.is(":visible")&&(u.css({right:a-(l+1)*s}),u.css({left:l*s})),c(window).resize(function(){a=n.width(),s=n.find("li").first().outerWidth(),l<0&&(l=0),0!==s&&0!==a&&(u.css({right:a-(l+1)*s}),u.css({left:l*s}))}),o.not(i).each(function(){c(this.hash).hide()}),n.on("click","a",function(e){if(c(this).parent().hasClass("disabled"))e.preventDefault();else{a=n.width(),s=n.find("li").first().outerWidth(),i.removeClass("active"),r.hide(),i=c(this),r=c(this.hash),o=n.find("li.tab a"),i.addClass("active");var t=l;(l=o.index(c(this)))<0&&(l=0),r.show(),0<=l-t?(u.velocity({right:a-(l+1)*s},{duration:300,queue:!1,easing:"easeOutQuad"}),u.velocity({left:l*s},{duration:300,queue:!1,easing:"easeOutQuad",delay:90})):(u.velocity({left:l*s},{duration:300,queue:!1,easing:"easeOutQuad"}),u.velocity({right:a-(l+1)*s},{duration:300,queue:!1,easing:"easeOutQuad",delay:90})),e.preventDefault()}})})},select_tab:function(e){this.find('a[href="#'+e+'"]').trigger("click")}};c.fn.tabs=function(e){return t[e]?t[e].apply(this,Array.prototype.slice.call(arguments,1
5)):"object"!=typeof e&&e?void c.error("Method "+e+" does not exist on jQuery.tooltip"):t.init.apply(this,arguments)},c(document).ready(function(){c("ul.tabs").tabs()})}(jQuery),function(i){i.fn.tooltip=function(t){var p=null,h=!1,n=null,f=5,e={delay:350};return t=i.extend(e,t),i(".material-tooltip").remove(),this.each(function(){var u=i(this),e=i("<span></span>").text(u.attr("data-tooltip")),c=i("<div></div>");c.addClass("material-tooltip").append(e),c.appendTo(i("body"));var d=i("<div></div>").addClass("backdrop");d.appendTo(c),d.css({top:0,left:0}),i(this).off("mouseenter mouseleave"),i(this).on({mouseenter:function(){var l=u.data(
6"delay");l=l===undefined||""===l?t.delay:l,p=0,n=setInterval(function(){if(l<=(p+=10)&&!1===h){h=!0,c.css({display:"block",left:"0px",top:"0px"}),c.children("span").text(u.attr("data-tooltip"));var e=u.outerWidth(),t=u.outerHeight(),n=u.attr("data-position"),i=c.outerHeight(),r=c.outerWidth(),o="0px",a="0px",s=8;"top"===n?(c.css({top:u.offset().top-i-f,left:u.offset().left+e/2-r/2}),o="-10px",d.css({borderRadius:"14px 14px 0 0",transformOrigin:"50% 90%",marginTop:i,marginLeft:r/2-d.width()/2})):"left"===n?(c.css({top:u.offset().top+t/2-i/2,left:u.offset().left-r-f}),a="-10px",d.css({width:"14px",height:"14px",borderRadius:"14px 0 0 14px",transformOrigin:"95% 50%",marginTop:i/2,marginLeft:r})):"right"===n?(c.css({top:u.offset().top+t/2-i/2,left:u.offset().left+e+f}),a="+10px",d.css({width:"14px",height:"14px",borderRadius:"0 14px 14px 0",transformOrigin:"5% 50%",marginTop:i/2,marginLeft:"0px"})):(c.css({top:u.offset().top+u.outerHeight()+f,left:u.offset().left+e/2-r/2}),o="+10px",d.css({marginLeft:r/2-d.width()/2})),(s=r/8)<8&&(s=8),"right"!==n&&"left"!==n||(s=r/10)<6&&(s=6),c.velocity({opacity:1,marginTop:o,marginLeft:a},{duration:350,queue:!1}),d.css({display:"block"}).velocity({opacity:1},{duration:55,delay:0,queue:!1}).velocity({scale:s},{duration:300,delay:0,queue:!1,easing:"easeInOutQuad"})}},10)},mouseleave:function(){clearInterval(n),p=0,c.velocity({opacity:0,marginTop:0,marginLeft:0},{duration:225,queue:!1,delay:275}),d.velocity({opacity:0,scale:1},{duration:225,delay:275,queue:!1,complete:function(){d.css("display","none"),c.css("display","none"),h=!1}})}})})},i(document).ready(function(){i(".tooltipped").tooltip()})}(jQuery),function(n){"use strict";function t(e){return null!==e&&e===e.window}function o(e){return t(e)?e:9===e.nodeType&&e.defaultView}function u(e){var t,n,i={top:0,left:0},r=e&&e.ownerDocument;return t=r.documentElement,typeof e.getBoundingClientRect!=typeof undefined&&(i=e.getBoundingClientRect()),n=o(r),{top:i.top+n.pageYOffset-t.clientTop,left:i.left+n.pageXOffset-t.clientLeft}}function c(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+":"+e[n]+";");return t}function i(e){if(!1===l.allowEvent(e))return null;for(var t=null,n=e.target||e.srcElement;null!==n.parentElement;){if(!(n instanceof SVGElement||-1===n.className.indexOf("waves-effect"))){t=n;break}if(n.classList.contains("waves-effect")){t=n;break}n=n.parentElement}return t}function r(e){var t=i(e);null!==t&&(d.show(e,t),"ontouchstart"in n&&(t.addEventListener("touchend",d.hide,!1),t.addEventListener("touchcancel",d.hide,!1)),t.addEventListener("mouseup",d.hide,!1),t.addEventListener("mouseleave",d.hide,!1))}var e=e||{},a=document.querySelectorAll.bind(document),d={duration:750,show:function(e,t){if(2===e.button)return!1;var n=t||this,i=document.createElement("div");i.className="waves-ripple",n.appendChild(i);var r=u(n),o=e.pageY-r.top,a=e.pageX-r.left,s="scale("+n.clientWidth/100*10+")";"touches"in e&&(o=e.touches[0].pageY-r.top,a=e.touches[0].pageX-r.left),i.setAttribute("data-hold",Date.now()),i.setAttribute("data-scale",s),i.setAttribute("data-x",a),i.setAttribute("data-y",o);var l={top:o+"px",left:a+"px"};i.className=i.className+" waves-notransition",i.setAttribute("style",c(l)),i.className=i.className.replace("waves-notransition",""),l["-webkit-transform"]=s,l["-moz-transform"]=s,l["-ms-transform"]=s,l["-o-transform"]=s,l.transform=s,l.opacity="1",l["-webkit-transition-duration"]=d.duration+"ms",l["-moz-transition-duration"]=d.duration+"ms",l["-o-transition-duration"]=d.duration+"ms",l["transition-duration"]=d.duration+"ms",l["-webkit-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",l["-moz-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",l["-o-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",l["transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",i.setAttribute("style",c(l))},hide:function(t){l.touchup(t);var n=this,i=(n.clientWidth,null),e=n.getElementsByClassName("waves-ripple");if(!(0<e.length))return!1;var r=(i=e[e.length-1]).getAttribute("data-x"),o=i.getAttribute("data-y"),a=i.getAttribute("data-scale"),s=350-(Date.now()-Number(i.getAttribute("data-hold")));s<0&&(s=0),setTimeout(function(){var e={top:o+"px",left:r+"px",opacity:"0","-webkit-transition-duration":d.duration+"ms","-moz-transition-duration":d.duration+"ms","-o-transition-duration":d.duration+"ms","transition-duration":d.duration+"ms","-webkit-transform":a,"-moz-transform":a,"-ms-transform":a,"-o-transform":a,transform:a};i.setAttribute("style",c(e)),setTimeout(function(){try{n.removeChild(i)}catch(t){return!1}},d.duration)},s)},wrapInput:function(e){for(var t=0;t<e.length;t++){var n=e[t];if("input"===n.tagName.toLowerCase()){var i=n.parentNode;if("i"===i.tagName.toLowerCase()&&-1!==i.className.indexOf("waves-effect"))continue;var r=document.createElement("i");r.className=n.className+" waves-input-wrapper";var o=n.getAttribute("style");o||(o=""),r.setAttribute("style",o),n.className="waves-button-input",n.removeAttribute("style"),i.replaceChild(r,n),r.appendChild(n)}}}},l={touches:0,allowEvent:function(e){var t=!0;return"touchstart"===e.type?l.touches+=1:"touchend"===e.type||"touchcancel"===e.type?setTimeout(function(){0<l.touches&&(l.touches-=1)},500):"mousedown"===e.type&&0<l.touches&&(t=!1),t},touchup:function(e){l.allowEvent(e)}};e.displayEffect=function(e){"duration"in(e=e||{})&&(d.duration=e.duration),d.wrapInput(a(".waves-effect")),"ontouchstart"in n&&document.body.addEventListener("touchstart",r,!1),document.body.addEventListener("mousedown",r,!1)}
6,e.attach=function(e){"input"===e.tagName.toLowerCase()&&(d.wrapInput([e]),e=e.parentElement),"ontouchstart"in n&&e.addEventListener("touchstart",r,!1),e.addEventListener("mousedown",r,!1)},n.Waves=e,document.addEventListener("DOMContentLoaded",function(){e.displayEffect()},!1)}(window),Materialize.toast=function(e,t,a,s){function n(e){var r=document.createElement("div");if(r.classList.add("toast"),a)for(var t=a.split(" "),n=0,i=t.length;n<i;n++)r.classList.add(t[n]);r.innerHTML=e;var o=new Hammer(r,{prevent_default:!1});return o.on("pan",function(e){var t=e.deltaX,n=80;r.classList.contains("panning")||r.classList.add("panning");var i=1-Math.abs(t/n);i<0&&(i=0),Vel(r,{left:t,opacity:i},{duration:50,queue:!1,easing:"easeOutQuad"})}),o.on("panend",function(e){var t=e.deltaX,n=80;Math.abs(t)>n?Vel(r,{marginTop:"-40px"},{duration:375,easing:"easeOutExpo",queue:!1,complete:function(){"function"==typeof s&&s(),r.parentNode.removeChild(r)}}):(r.classList.remove("panning"),Vel(r,{left:0,opacity:1},{duration:300,easing:"easeOutExpo",queue:!1}))}),r}a=a||"";var i=document.getElementById("toast-container");null===i&&((i=document.createElement("div")).id="toast-container",document.body.appendChild(i));var r=n(e);e&&i.appendChild(r),r.style.top="35px",r.style.opacity=0,Vel(r,{top:"0px",opacity:1},{duration:300,easing:"easeOutCubic",queue:!1});var o=t,l=setInterval(function(){null===r.parentNode&&window.clearInterval(l),r.classList.contains("panning")||(o-=20),o<=0&&(Vel(r,{opacity:0,marginTop:"-40px"},{duration:375,easing:"easeOutExpo",queue:!1,complete:function(){"function"==typeof s&&s(),this[0].parentNode.removeChild(this[0])}}),window.clearInterval(l))},20)},function(u){var t={init:function(l){var e={menuWidth:240,edge:"left",closeOnClick:!1};l=u.extend(e,l),u(this).each(function(){function o(e){s=!1,u("body").css("overflow",""),u("#sidenav-overlay").velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){u(this).remove()}}),"left"===l.edge?(u(".drag-target").css({width:"",right:"",left:"0"}),a.velocity({left:-1*(l.menuWidth+10)},{duration:200,queue:!1,easing:"easeOutCubic",complete:function(){!0===e&&(a.removeAttr("style"),a.css("width",l.menuWidth))}})):(u(".drag-target").css({width:"",right:"0",left:""}),a.velocity({right:-1*(l.menuWidth+10)},{duration:200,queue:!1,easing:"easeOutCubic",complete:function(){!0===e&&(a.removeAttr("style"),a.css("width",l.menuWidth))}}))}var e=u(this),a=u("#"+e.attr("data-activates"));240!=l.menuWidth&&a.css("width",l.menuWidth),u("body").append(u('<div class="drag-target"></div>')),"left"==l.edge?(a.css("left",-1*(l.menuWidth+10)),u(".drag-target").css({left:0})):(a.addClass("right-aligned").css("right",-1*(l.menuWidth+10)).css("left",""),u(".drag-target").css({right:0})),a.hasClass("fixed")&&992<window.innerWidth&&a.css("left",0),a.hasClass("fixed")&&u(window).resize(function(){992<window.innerWidth?0!==u("#sidenav-overlay").css("opacity")&&s?o(!0):(a.removeAttr("style"),a.css("width",l.menuWidth)):!1===s&&("left"===l.edge?a.css("left",-1*(l.menuWidth+10)):a.css("right",-1*(l.menuWidth+10)))}),!0===l.closeOnClick&&a.on("click.itemclick","a:not(.collapsible-header)",function(){o()});var s=!1;u(".drag-target").on("click",function(){o()}),u(".drag-target").hammer({prevent_default:!1}).bind("pan",function(e){if("touch"==e.gesture.pointerType){e.gesture.direction;var t,n=e.gesture.center.x;e.gesture.center.y,e.gesture.velocityX;if(u("body").css("overflow","hidden"),0===u("#sidenav-overlay").length){var i=u('<div id="sidenav-overlay"></div>');i.css("opacity",0).click(function(){o()}),u("body").append(i)}if("left"===l.edge&&(n>l.menuWidth?n=l.menuWidth:n<0&&(n=0)),"left"===l.edge)n<l.menuWidth/2?s=!1:n>=l.menuWidth/2&&(s=!0),a.css("left",n-l.menuWidth);else{n<window.innerWidth-l.menuWidth/2?s=!0:n>=window.innerWidth-l.menuWidth/2&&(s=!1);var r=-1*(n-l.menuWidth/2);0<r&&(r=0),a.css("right",r)}t="left"===l.edge?n/l.menuWidth:Math.abs((n-window.innerWidth)/l.menuWidth),u("#sidenav-overlay").velocity({opacity:t},{duration:50,queue:!1,easing:"easeOutQuad"})}}).bind("panend",function(e){if("touch"==e.gesture.pointerType){var t=e.gesture.velocityX;!1,"left"===l.edge?s&&t<=.3||t<-.5?(a.velocity({left:0},{duration:300,queue:!1,easing:"easeOutQuad"}),u("#sidenav-overlay").velocity({opacity:1},{duration:50,queue:!1,easing:"easeOutQuad"}),u(".drag-target").css({width:"50%",right:0,left:""})):(!s||.3<t)&&(u("body").css("overflow",""),a.velocity({left:-1*(l.menuWidth+10)},{duration:200,queue:!1,easing:"easeOutQuad"}),u("#sidenav-overlay").velocity({opacity:0}
6,{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){u(this).remove()}}),u(".drag-target").css({width:"10px",right:"",left:0})):s&&-.3<=t||.5<t?(a.velocity({right:0},{duration:300,queue:!1,easing:"easeOutQuad"}),u("#sidenav-overlay").velocity({opacity:1},{duration:50,queue:!1,easing:"easeOutQuad"}),u(".drag-target").css({width:"50%",right:"",left:0})):(!s||t<-.3)&&(u("body").css("overflow",""),a.velocity({right:-1*(l.menuWidth+10)},{duration:200,queue:!1,easing:"easeOutQuad"}),u("#sidenav-overlay").velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){u(this).remove()}}),u(".drag-target").css({width:"10px",right:0,left:""}))}}),e.click(function(){if(!0===s)s=!1,o();else{u("body").css("overflow","hidden"),"left"===l.edge?(u(".drag-target").css({width:"50%",right:0,left:""}),a.velocity({left:0},{duration:300,queue:!1,easing:"easeOutQuad"})):(u(".drag-target").css({width:"50%",right:"",left:0}),a.velocity({right:0},{duration:300,queue:!1,easing:"easeOutQuad"}),a.css("left",""));var e=u('<div id="sidenav-overlay"></div>');e.css("opacity",0).click(function(){s=!1,o(),e.velocity({opacity:0},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){u(this).remove()}})}),u("body").append(e),e.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){!(s=!0)}})}return!1})})},show:function(){this.trigger("click")},hide:function(){u("#sidenav-overlay").trigger("click")}};u.fn.sideNav=function(e){return t[e]?t[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void u.error("Method "+e+" does not exist on jQuery.tooltip"):t.init.apply(this,arguments)}}(jQuery),function(o){function a(a,s,l,u){var c=o();return o.each(d,function(e,t){if(0<t.height()){var n=t.offset().top,i=t.offset().left,r=i+t.width(),o=n+t.height();!(s<i||r<u||l<n||o<a)&&c.push(t)}}),c}function s(){++h;var e=u.scrollTop(),t=u.scrollLeft(),n=t+u.width(),i=e+u.height(),r=a(e+f.top+200,n+f.right,i+f.bottom,t+f.left);o.each(r,function(e,t){"number"!=typeof t.data("scrollSpy:ticks")&&t.triggerHandler("scrollSpy:enter"),t.data("scrollSpy:ticks",h)}),o.each(c,function(e,t){var n=t.data("scrollSpy:ticks");"number"==typeof n&&n!==h&&(t.triggerHandler("scrollSpy:exit"),t.data("scrollSpy:ticks",null))}),c=r}function t(){u.trigger("scrollSpy:winSize")}function l(n,i,r){var o,a,s,l=null,u=0;r||(r={});var c=function(){u=!1===r.leading?0:g(),l=null,s=n.apply(o,a),o=a=null};return function(){var e=g();u||!1!==r.leading||(u=e);var t=i-(e-u);return o=this,a=arguments,t<=0?(clearTimeout(l),l=null,u=e,s=n.apply(o,a),o=a=null):l||!1===r.trailing||(l=setTimeout(c,t)),s}}var u=o(window),d=[],c=[],p=!1,h=0,f={top:0,right:0,bottom:0,left:0},g=Date.now||function(){return(new Date).getTime()};o.scrollSpy=function(e,t){var n=[];(e=o(e)).each(function(e,t){d.push(o(t)),o(t).data("scrollSpy:id",e),o("a[href=#"+o(t).attr("id")+"]").click(function(e){e.preventDefault();var t=o(this.hash).offset().top+1;o("html, body").animate({scrollTop:t-200},{duration:400,queue:!1,easing:"easeOutCubic"})})}),t=t||{throttle:100},f.top=t.offsetTop||0,f.right=t.offsetRight||0,f.bottom=t.offsetBottom||0,f.left=t.offsetLeft||0;var i=l(s,t.throttle||100),r=function(){o(document).ready(i)};return p||(u.on("scroll",r),u.on("resize",r),p=!0),setTimeout(r,0),e.on("scrollSpy:enter",function(){n=o.grep(n,function(e){return 0!=e.height()});var e=o(this);n[0]?(o("a[href=#"+n[0].attr("id")+"]").removeClass("active"),e.data("scrollSpy:id")<n[0].data("scrollSpy:id")?n.unshift(o(this)):n.push(o(this))):n.push(o(this)),o("a[href=#"+n[0].attr("id")+"]").addClass("active")}),e.on("scrollSpy:exit",function(){if((n=o.grep(n,function(e){return 0!=e.height()}))[0]){o("a[href=#"+n[0].attr("id")+"]").removeClass("active");var t=o(this);(n=o.grep(n,function(e){return e.attr("id")!=t.attr("id")}))[0]&&o("a[href=#"+n[0].attr("id")+"]").addClass("active")}}),e},o.winSizeSpy=function(e){return o.winSizeSpy=function(){return u},e=e||{throttle:100},u.on("resize",l(t,e.throttle||100))},o.fn.scrollSpy=function(e){return o.scrollSpy(o(this),e)}}(jQuery),function(u){u(document).ready(function(){function t(e){var t=e.css("font-size");t&&i.css("font-size",t),i.text(e.val()+"\n");var n=i.html().replace(/\n/g,"<br>");i.html(n),e.is(":visible")?i.css("width",e.width()):i.css("width",u(window).width()/2),e.css("height",i.height())}Materialize.updateTextFields=function(){u("input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], textarea").each(function(e,t){0<u(t).val().length||u(this).attr("placeholder")!==undefined||!0===u(t)[0].validity.badInput?u(this).siblings("label, i").addClass("active"):u(this).siblings("label, i").removeClass("active")})};var n="input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], textarea";u("input[autofocus]").siblings("label, i").addClass("active"),u(document).on("change",n,function(){0===u(this).val().length&&u(this).attr("placeholder")===undefined||u(this).siblings("label, i").addClass("active"),validate_field(u(this))}),u(document).ready(function(){Materialize.updateTextFields()}),u(document).on("reset",function(e){u(e.target).is("form")&&(u(this).find(n).removeClass("val
6id").removeClass("invalid"),u(this).find(n).siblings("label, i").removeClass("active"),u(this).find("select.initialized").each(function(){var e=u(this).find("option[selected]").text();u(this).siblings("input.select-dropdown").val(e)}))}),u(document).on("focus",n,function(){u(this).siblings("label, i").addClass("active")}),u(document).on("blur",n,function(){var e=u(this);0===e.val().length&&!0!==e[0].validity.badInput&&e.attr("placeholder")===undefined&&e.siblings("label, i").removeClass("active"),validate_field(e)}),validate_field=function(e){0===e.val().length&&!1===e[0].validity.badInput?e.hasClass("validate")&&(e.removeClass("valid"),e.removeClass("invalid")):e.hasClass("validate")&&(e.is(":valid")?(e.removeClass("invalid"),e.addClass("valid")):(e.removeClass("valid"),e.addClass("invalid")))};var i=u(".hiddendiv").first();i.length||(i=u('<div class="hiddendiv common"></div>'),u("body").append(i));var e=".materialize-textarea";u(e).each(function(){var e=u(this);e.val().length&&t(e)}),u("body").on("keyup keydown",e,function(){t(u(this))}),u(".file-field").each(function(){var e=u(this).find("input.file-path");u(this).find('input[type="file"]').change(function(){e.val(u(this)[0].files[0].name),e.trigger("change")})});var r=!1;u("input[type=range]").each(function(){var e=u('<span class="thumb"><span class="value"></span></span>');u(this).after(e)});var o=".range-field";u(document).on("mousedown",o,function(e){var t=u(this).children(".thumb");t.length<=0&&(t=u('<span class="thumb"><span class="value"></span></span>'),u(this).append(t)),r=!0,u(this).addClass("active"),t.hasClass("active")||t.velocity({height:"30px",width:"30px",top:"-20px",marginLeft:"-15px"},{duration:300,easing:"easeOutExpo"});var n=e.pageX-u(this).offset().left,i=u(this).outerWidth();n<0?n=0:i<n&&(n=i),t.addClass("active").css("left",n),t.find(".value").html(u(this).children("input[type=range]").val())}),u(document).on("mouseup",o,function(){r=!1,u(this).removeClass("active")}),u(document).on("mousemove",o,function(e){var t=u(this).children(".thumb");if(r){t.hasClass("active")||t.velocity({height:"30px",width:"30px",top:"-20px",marginLeft:"-15px"},{duration:300,easing:"easeOutExpo"});var n=e.pageX-u(this).offset().left,i=u(this).outerWidth();n<0?n=0:i<n&&(n=i),t.addClass("active").css("left",n),t.find(".value").html(u(this).children("input[type=range]").val())}}),u(document).on("mouseout",o,function(){if(!r){var e=u(this).children(".thumb");e.hasClass("active")&&e.velocity({height:"0",width:"0",top:"10px",marginLeft:"-6px"},{duration:100}),e.removeClass("active")}})}),u.fn.material_select=function(l){u(this).each(function(){if($select=u(this),!$select.hasClass("browser-default")){var e=$select.data("select-id");if(e&&($select.parent().find("i").remove(),$select.parent().find("input").remove(),$select.unwrap(),u("ul#select-options-"+e).remove()),"destroy"!==l){var t=Materialize.guid();$select.data("select-id",t);var n=u('<div class="select-wrapper"></div>');n.addClass($select.attr("class"));var i,r=u('<ul id="select-options-'+t+'" class="dropdown-content select-dropdown"></ul>'),o=$select.children("option");i=$select.find("option:selected")!==undefined?$select.find("option:selected"):r.first(),o.each(function(){r.append(u('<li class="'+(u(this).is(":disabled")?"disabled":"")+'"><span>'+u(this).html()+"</span></li>"))}),r.find("li").each(function(e){var t=$select;u(this).click(function(){u(this).hasClass("disabled")||(t.find("option").eq(e).prop("selected",!0),t.trigger("change"),t.siblings("input.select-dropdown").val(u(this).text()),void 0!==l&&l())})}),$select.wrap(n);var a=u('<i class="mdi-navigation-arrow-drop-down"></i>');$select.is(":disabled")&&a.addClass("disabled");var s=u('<input type="text" class="select-dropdown" readonly="true" '+($select.is(":disabled")?"disabled":"")+' data-activates="select-options-'+t+'" value="'+i.html()+'"/>');$select.before(s),s.before(a),u("body").append(r),$select.is(":disabled")||s.dropdown({hover:!1}),$select.attr("tabindex")&&u(s[0]).attr("tabindex",$select.attr("tabindex")),$select.addClass("initialized"),s.on("focus",function(){u(this).trigger("open"),i=u(this).val(),selectedOption=r.find("li").filter(function(){return u(this).text().toLowerCase()===i.toLowerCase()})[0],activateOption(r,selectedOption)}),s.on("blur",function(){u(this).trigger("close")}),activateOption=function(e,t){e.find("li.active").removeClass("active"),u(t).addClass("active"),e.scrollTo(t)},filterQuery=[],onKeyDown=function(e){9!=e.which?40!=e.which||r.is(":visible")?(13!=e.which||r.is(":visible"))&&(e.preventDefault(),letter=String.fromCharCode(e.which).toLowerCase(),letter&&-1===[9,13,27,38,40].indexOf(e.which)&&(filterQuery.push(letter),string=filterQuery.join(""),newOption=r.find("li").filter(function(){return 0===u(this).text().toLowerCase().indexOf(string)}
6)[0],newOption&&activateOption(r,newOption)),13==e.which&&(activeOption=r.find("li.active:not(.disabled)")[0],activeOption&&(u(activeOption).trigger("click"),s.trigger("close"))),40==e.which&&(newOption=r.find("li.active").next("li:not(.disabled)")[0],newOption&&activateOption(r,newOption)),27==e.which&&s.trigger("close"),38==e.which&&(newOption=r.find("li.active").prev("li:not(.disabled)")[0],newOption&&activateOption(r,newOption)),setTimeout(function(){filterQuery=[]},1e3)):s.trigger("open"):s.trigger("close")},s.on("keydown",onKeyDown)}else $select.data("select-id",null).removeClass("initialized")}})}}(jQuery),function(p){var t={init:function(d){var e={indicators:!0,height:400,transition:500,interval:6e3};return d=p.extend(e,d),console.log(d),this.each(function(){function t(e,t){e.hasClass("center-align")?e.velocity({opacity:0,translateY:-100},{duration:t,queue:!1}):e.hasClass("right-align")?e.velocity({opacity:0,translateX:100},{duration:t,queue:!1}):e.hasClass("left-align")&&e.velocity({opacity:0,translateX:-100},{duration:t,queue:!1})}function n(e){e>=s.length?e=0:e<0&&(e=s.length-1),(r=a.find(".active").index())!=e&&(i=s.eq(r),$caption=i.find(".caption"),i.removeClass("active"),i.velocity({opacity:0},{duration:d.transition,queue:!1,easing:"easeOutQuad",complete:function(){s.not(".active").velocity({opacity:0,translateX:0,translateY:0},{duration:0,queue:!1})}}),t($caption,d.transition),d.indicators&&l.eq(r).removeClass("active"),s.eq(e).velocity({opacity:1},{duration:d.transition,queue:!1,easing:"easeOutQuad"}),s.eq(e).find(".caption").velocity({opacity:1,translateX:0,translateY:0},{duration:d.transition,delay:d.transition,queue:!1,easing:"easeOutQuad"}),s.eq(e).addClass("active"),d.indicators&&l.eq(e).addClass("active"))}var i,o=p(this),a=o.find("ul.slides").first(),s=a.find("li"),r=a.find(".active").index();if(-1!=r&&(i=s.eq(r)),console.log(d.height),d.indicators?o.height(d.height+40):o.height(d.height),a.height(d.height),s.find(".caption").each(function(){t(p(this),0)}),s.find("img").each(function(){p(this).css("background-image","url("+p(this).attr("src")+")"),p(this).attr("src","data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==")}),d.indicators){var l=p('<ul class="indicators"></ul>');s.each(function(){var e=p('<li class="indicator-item"></li>');e.click(function(){n(a.parent().find(p(this)).index()),clearInterval($interval),$interval=setInterval(function(){r=a.find(".active").index(),s.length==r+1?r=0:r+=1,n(r)},d.transition+d.interval)}),l.append(e)}),o.append(l),l=o.find("ul.indicators").find("li.indicator-item")}i?i.show():(s.first().addClass("active").velocity({opacity:1},{duration:d.transition,queue:!1,easing:"easeOutQuad"}),r=0,i=s.eq(r),d.indicators&&l.eq(r).addClass("active")),i.find("img").each(function(){i.find(".caption").velocity({opacity:1,translateX:0,translateY:0},{duration:d.transition,queue:!1,easing:"easeOutQuad"})}),$interval=setInterval(function(){n((r=a.find(".active").index())+1)},d.transition+d.interval);var u=!1,c=!1;o.hammer({prevent_default:!1}).bind("pan",function(e){if("touch"===e.gesture.pointerType){clearInterval($interval);var t,n=e.gesture.direction,i=e.gesture.deltaX,r=e.gesture.velocityX;$curr_slide=a.find(".active"),$curr_slide.velocity({translateX:i},{duration:50,queue:!1,easing:"easeOutQuad"}),4===n&&(i>o.innerWidth()/2||r<-.65)?c=!0:2===n&&(i<-1*o.innerWidth()/2||.65<r)&&(u=!0),u&&(0===(t=$curr_slide.next()).length&&(t=s.first()),t.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad"})),c&&(0===(t=$curr_slide.prev()).length&&(t=s.last()),t.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad"}))}}).bind("panend",function(e){"touch"===e.gesture.pointerType&&($curr_slide=a.find(".active"),!1,curr_index=a.find(".active").index(),c||u?u?(n(curr_index+1),$curr_slide.velocity({translateX:-1*o.innerWidth()},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){$curr_slide.velocity({opacity:0,translateX:0},{duration:0,queue:!1})}})):c&&(n(curr_index-1),$curr_slide.velocity({translateX:o.innerWidth()},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){$curr_slide.velocity({opacity:0,translateX:0},{duration:0,queue:!1})}})):$curr_slide.velocity({translateX:0},{duration:300,queue:!1,easing:"easeOutQuad"}),c=u=!1,clearInterval($interval),$interval=setInterval(function(){r=a.find(".active").index(),s.length==r+1?r=0:r+=1,n(r)},d.transition+d.interval))}),o.on("sliderPause",function(){clearInterval($interval)}),o.on("sliderStart",function(){clearInterval($interval),$interval=setInterval(function(){r=a.find(".active").index(),s.length==r+1?r=0:r+=1,n(r)},d.transition+d.interval)})})},pause:function(){p(this).trigger("sliderPause")},start:function(){p(this).trigger("sliderStart")}};p.fn.slider=function(e){return t[e]?t[e].apply(this,Array.prototype.slice.call(arguments,1
6)):"object"!=typeof e&&e?void p.error("Method "+e+" does not exist on jQuery.tooltip"):t.init.apply(this,arguments)}}(jQuery),function(t){t(document).ready(function(){t(document).on("click.card",".card",function(e){t(this).find(".card-reveal").length&&(t(e.target).is(t(".card-reveal .card-title"))||t(e.target).is(t(".card-reveal .card-title i"))?t(this).find(".card-reveal").velocity({translateY:0},{duration:225,queue:!1,easing:"easeInOutQuad",complete:function(){t(this).css({display:"none"})}}):(t(e.target).is(t(".card .activator"))||t(e.target).is(t(".card .activator i")))&&t(this).find(".card-reveal").css({display:"block"}).velocity("stop",!1).velocity({translateY:"-100%"},{duration:300,queue:!1,easing:"easeInOutQuad"}))})})}(jQuery),function(a){a(document).ready(function(){a.fn.pushpin=function(o){var e={top:0,bottom:Infinity,offset:0};return o=a.extend(e,o),$index=0,this.each(function(){function n(e){e.removeClass("pin-top"),e.removeClass("pinned"),e.removeClass("pin-bottom")}function t(e,t){e.each(function(){o.top<=t&&o.bottom>=t&&!a(this).hasClass("pinned")&&(n(a(this)),a(this).css("top",o.offset),a(this).addClass("pinned")),t<o.top&&!a(this).hasClass("pin-top")&&(n(a(this)),a(this).css("top",0),a(this).addClass("pin-top")),t>o.bottom&&!a(this).hasClass("pin-bottom")&&(n(a(this)),a(this).addClass("pin-bottom"),a(this).css("top",o.bottom-r))})}var e=Materialize.guid(),i=a(this),r=a(this).offset().top;t(i,a(window).scrollTop()),a(window).on("scroll."+e,function(){var e=a(window).scrollTop()+o.offset;t(i,e)})})}})}(jQuery),function(n){n(document).ready(function(){n.fn.reverse=[].reverse,n(document).on("mouseenter.fixedActionBtn",".fixed-action-btn",function(){var e=n(this);e.find("ul .btn-floating").velocity({scaleY:".4",scaleX:".4",translateY:"40px"},{duration:0});var t=0;e.find("ul .btn-floating").reverse().each(function(){n(this).velocity({opacity:"1",scaleX:"1",scaleY:"1",translateY:"0"},{duration:80,delay:t}),t+=40})}),n(document).on("mouseleave.fixedActionBtn",".fixed-action-btn",function(){var e=n(this);e.find("ul .btn-floating").velocity("stop",!0),e.find("ul .btn-floating").velocity({opacity:"0",scaleX:".4",scaleY:".4",translateY:"40px"},{duration:80})})})}(jQuery),function(s){Materialize.fadeInImage=function(e){var t=s(e);t.css({opacity:0}),s(t).velocity({opacity:1},{duration:650,queue:!1,easing:"easeOutSine"}),s(t).velocity({opacity:1},{duration:1300,queue:!1,easing:"swing",step:function(e,t){var n=e/(t.start=100),i=150-(100-e)/1.75;i<100&&(i=100),0<=e&&s(this).css({"-webkit-filter":"grayscale("+n+")brightness("+i+"%)",filter:"grayscale("+n+")brightness("+i+"%)"})}})},Materialize.showStaggeredList=function(e){var t=0;s(e).find("li").velocity({translateX:"-100px"},{duration:0}),s(e).find("li").each(function(){s(this).velocity({opacity:"1",translateX:"0"},{duration:800,delay:t,easing:[60,10]}),t+=120})},s(document).ready(function(){var o=!1,a=!1;s(".dismissable").each(function(){s(this).hammer({prevent_default:!1}).bind("pan",function(e){if("touch"===e.gesture.pointerType){var t=s(this),n=e.gesture.direction,i=e.gesture.deltaX,r=e.gesture.velocityX;t.velocity({translateX:i},{duration:50,queue:!1,easing:"easeOutQuad"}),4===n&&(i>t.innerWidth()/2||r<-.75)?o=!0:2===n&&(i<-1*t.innerWidth()/2||.75<r)&&(a=!0)}}).bind("panend",function(e){if("touch"===e.gesture.pointerType){var t,n=s(this);if(o||a)t=o?n.innerWidth():-1*n.innerWidth(),n.velocity({translateX:t},{duration:100,queue:!1,easing:"easeOutQuad",complete:function(){n.css("border","none"),n.velocity({height:0,padding:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){n.remove()}})}});else n.velocity({translateX:0},{duration:100,queue:!1,easing:"easeOutQuad"});a=o=!1}})})})}(jQuery),jQuery,Materialize.scrollFire=function(s){var l=!1;window.addEventListener("scroll",function(){l=!0}),setInterval(function(){if(l){l=!1;for(var e=window.pageYOffset+window.innerHeight,t=0;t<s.length;t++){var n=s[t],i=n.selector,r=n.offset,o=n.callback,a=document.querySelector(i);null!==a&&a.getBoundingClientRect().top+document.body.scrollTop+r<e&&!0!==n.done&&(new Function(o)(),n.done=!0)}}},100)},function(e){"function"==typeof define&&define.amd?define("picker",["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):this.Picker=e(jQuery)}(function(v){function y(i,e,t,n){function r(){return y._.node("div",y._.node("div",y._.node("div",y._.node("div",m.component.nodes(d.open),h.box),h.wrap),h.frame),h.holder)}function o(){f.data(e,m).addClass(h.input).attr("tabindex",-1).val(f.data("value")?m.get("select",p.format):i.value),p.editable||f.on("focus."+d.id+" click."+d.id,function(e){e.preventDefault(),m.$root[0].focus()}).on("keydown."+d.id,l),_(i,{haspopup:!0,expanded:!1,readonly:!1,owns:i.id+"_root"})}
6function a(){m.$root.on({keydown:l,focusin:function(e){m.$root.removeClass(h.focused),e.stopPropagation()},"mousedown click":function(e){var t=e.target;t!=m.$root.children()[0]&&(e.stopPropagation(),"mousedown"!=e.type||v(t).is("input, select, textarea, button, option")||(e.preventDefault(),m.$root[0].focus()))}}).on({focus:function(){f.addClass(h.target)},blur:function(){f.removeClass(h.target)}}).on("focus.toOpen",u).on("click","[data-pick], [data-nav], [data-clear], [data-close]",function(){var e=v(this),t=e.data(),n=e.hasClass(h.navDisabled)||e.hasClass(h.disabled),i=x();i=i&&(i.type||i.href),(n||i&&!v.contains(m.$root[0],i))&&m.$root[0].focus(),!n&&t.nav?m.set("highlight",m.component.item.highlight,{nav:t.nav}):!n&&"pick"in t?m.set("select",t.pick):t.clear?m.clear().close(!0):t.close&&m.close(!0)}),_(m.$root[0],"hidden",!0)}function s(){var e;!0===p.hiddenName?(e=i.name,i.name=""):e=(e=["string"==typeof p.hiddenPrefix?p.hiddenPrefix:"","string"==typeof p.hiddenSuffix?p.hiddenSuffix:"_submit"])[0]+i.name+e[1],m._hidden=v('<input type=hidden name="'+e+'"'+(f.data("value")||i.value?' value="'+m.get("select",p.formatSubmit)+'"':"")+">")[0],f.on("change."+d.id,function(){m._hidden.value=i.value?m.get("select",p.formatSubmit):""}),p.container?v(p.container).append(m._hidden):f.after(m._hidden)}function l(e){var t=e.keyCode,n=/^(8|46)$/.test(t);if(27==t)return m.close(),!1;(32==t||n||!d.open&&m.component.key[t])&&(e.preventDefault(),e.stopPropagation(),n?m.clear().close():m.open())}function u(e){e.stopPropagation(),"focus"==e.type&&m.$root.addClass(h.focused),m.open()}if(!i)return y;var c=!1,d={id:i.id||"P"+Math.abs(~~(Math.random()*new Date))},p=t?v.extend(!0,{},t.defaults,n):n||{},h=v.extend({},y.klasses(),p.klass),f=v(i),g=function(){return this.start()},m=g.prototype={constructor:g,$node:f,start:function(){return d&&d.start?m:(d.methods={},d.start=!0,d.open=!1,d.type=i.type,i.autofocus=i==x(),i.readOnly=!p.editable,i.id=i.id||d.id,"text"!=i.type&&(i.type="text"),m.component=new t(m,p),m.$root=v(y._.node("div",r(),h.picker,'id="'+i.id+'_root" tabindex="0"')),a(),p.formatSubmit&&s(),o(),p.container?v(p.container).append(m.$root):f.after(m.$root),m.on({start:m.component.onStart,render:m.component.onRender,stop:m.component.onStop,open:m.component.onOpen,close:m.component.onClose,set:m.component.onSet}).on({start:p.onStart,render:p.onRender,stop:p.onStop,open:p.onOpen,close:p.onClose,set:p.onSet}),c=b(m.$root.children()[0]),i.autofocus&&m.open(),m.trigger("start").trigger("render"))},render:function(e){return e?m.$root.html(r()):m.$root.find("."+h.box).html(m.component.nodes(d.open)),m.trigger("render")},stop:function(){return d.start&&(m.close(),m._hidden&&m._hidden.parentNode.removeChild(m._hidden),m.$root.remove(),f.removeClass(h.input
7).removeData(e),setTimeout(function(){f.off("."+d.id)},0),i.type=d.type,i.readOnly=!1,m.trigger("stop"),d.methods={},d.start=!1),m},open:function(e){return d.open?m:(f.addClass(h.active),_(i,"expanded",!0),setTimeout(function(){m.$root.addClass(h.opened),_(m.$root[0],"hidden",!1)},0),!1!==e&&(d.open=!0,c&&T.css("overflow","hidden").css("padding-right","+="+w()),m.$root[0].focus(),k.on("click."+d.id+" focusin."+d.id,function(e){var t=e.target;t!=i&&t!=document&&3!=e.which&&m.close(t===m.$root.children()[0])}).on("keydown."+d.id,function(e){var t=e.keyCode,n=m.component.key[t],i=e.target;27==t?m.close(!0):i!=m.$root[0]||!n&&13!=t?v.contains(m.$root[0],i)&&13==t&&(e.preventDefault(),i.click()):(e.preventDefault(),n?y._.trigger(m.component.key.go,m,[y._.trigger(n)]):m.$root.find("."+h.highlighted).hasClass(h.disabled)||m.set("select",m.component.item.highlight).close())})),m.trigger("open"))},close:function(e){return e&&(m.$root.off("focus.toOpen")[0].focus(),setTimeout(function(){m.$root.on("focus.toOpen",u)},0)),f.removeClass(h.active),_(i,"expanded",!1),setTimeout(function(){m.$root.removeClass(h.opened+" "+h.focused),_(m.$root[0],"hidden",!0)},0),d.open?(d.open=!1,c&&T.css("overflow","").css("padding-right","-="+w()),k.off("."+d.id),m.trigger("close")):m},clear:function(e){return m.set("clear",null,e)},set:function(e,t,n){var i,r,o=v.isPlainObject(e),a=o?e:{};if(n=o&&v.isPlainObject(t)?t:n||{},e){for(i in o||(a[e]=t),a)r=a[i],i in m.component.item&&(r===undefined&&(r=null),m.component.set(i,r,n)),"select"!=i&&"clear"!=i||f.val("clear"==i?"":m.get(i,p.format)).trigger("change");m.render()}return n.muted?m:m.trigger("set",a)},get:function(e,t){if(null!=d[e=e||"value"])return d[e];if("valueSubmit"==e){if(m._hidden)return m._hidden.value;e="value"}if("value"==e)return i.value;if(e in m.component.item){if("string"!=typeof t)return m.component.get(e);var n=m.component.get(e);return n?y._.trigger(m.component.formats.toString,m.component,[t,n]):""}},on:function(e,t,n){var i,r,o=v.isPlainObject(e),a=o?e:{};if(e)for(i in o||(a[e]=t),a)r=a[i],n&&(i="_"+i),d.methods[i]=d.methods[i]||[],d.methods[i].push(r);return m},off:function(){var e,t,n=arguments;for(e=0,namesCount=n.length;e<namesCount;e+=1)(t=n[e])in d.methods&&delete d.methods[t];return m},trigger:function(e,n){var t=function(e){var t=d.methods[e];t&&t.map(function(e){y._.trigger(e,m,[n])})};return t("_"+e),t(e),m}};return new g}function b(e){var t,n="position";return e.currentStyle?t=e.currentStyle[n]:window.getComputedStyle&&(t=getComputedStyle(e)[n]),"fixed"==t}function w(){if(T.height()<=i.height())return 0;var e=v('<div style="visibility:hidden;width:100px" />').appendTo("body"),t=e[0].offsetWidth;e.css("overflow","scroll");var n=v('<div style="width:100%" />').appendTo(e)[0].offsetWidth;return e.remove(),t-n}function _(e,t,n){if(v.isPlainObject(t))for(var i in t)r(e,i,t[i]);else r(e,t,n)}function r(e,t,n){e.setAttribute(("role"==t?"":"aria-")+t,n)}function e(e,t){for(var n in v.isPlainObject(e)||(e={attribute:t}
7),t="",e){var i=("role"==n?"":"aria-")+n;t+=null==e[n]?"":i+'="'+e[n]+'"'}return t}function x(){try{return document.activeElement}catch(e){}}var i=v(window),k=v(document),T=v(document.documentElement);return y.klasses=function(e){return{picker:e=e||"picker",opened:e+"--opened",focused:e+"--focused",input:e+"__input",active:e+"__input--active",target:e+"__input--target",holder:e+"__holder",frame:e+"__frame",wrap:e+"__wrap",box:e+"__box"}},y._={group:function(e){for(var t,n="",i=y._.trigger(e.min,e);i<=y._.trigger(e.max,e,[i]);i+=e.i)t=y._.trigger(e.item,e,[i]),n+=y._.node(e.node,t[0],t[1],t[2]);return n},node:function(e,t,n,i){return t?"<"+e+(n=n?' class="'+n+'"':"")+(i=i?" "+i:"")+">"+(t=v.isArray(t)?t.join(""):t)+"</"+e+">":""},lead:function(e){return(e<10?"0":"")+e},trigger:function(e,t,n){return"function"==typeof e?e.apply(t,n||[]):e},digits:function(e){return/\d/.test(e[1])?2:1},isDate:function(e){return-1<{}.toString.call(e).indexOf("Date")&&this.isInteger(e.getDate())},isInteger:function(e){return-1<{}.toString.call(e).indexOf("Number")&&e%1==0},ariaAttr:e},y.extend=function(i,r){v.fn[i]=function(e,t){var n=this.data(i);return"picker"==e?n:n&&"string"==typeof e?y._.trigger(n[e],n,[t]):this.each(function(){v(this).data(i)||new y(this,i,r,e)})},v.fn[i].defaults=r.defaults},y}),function(e){"function"==typeof define&&define.amd?define(["picker","jquery"],e):"object"==typeof exports?module.exports=e(require("./picker.js"),require("jquery")):e(Picker,jQuery)}(function(e,f){function t(t,n){var e,i=this,r=t.$node[0],o=r.value,a=t.$node.data("value"),s=a||o,l=a?n.formatSubmit:n.format,u=function(){return r.currentStyle?"rtl"==r.currentStyle.direction:"rtl"==getComputedStyle(t.$root[0]).direction};i.settings=n,i.$node=t.$node,i.queue={min:"measure create",max:"measure create",now:"now create",select:"parse create validate",highlight:"parse navigate create validate",view:"parse create validate viewset",disable:"deactivate",enable:"activate"},i.item={},i.item.clear=null,i.item.disable=(n.disable||[]).slice(0),i.item.enable=-(!0===(e=i.item.disable)[0]?e.shift():-1),i.set("min",n.min).set("max",n.max).set("now"),s?i.set("select",s,{format:l}):i.set("select",null).set("highlight",i.item.now),i.key={40:7,38:-7,39:function(){return u()?-1:1},37:function(){return u()?1:-1},go:function(e){var t=i.item.highlight,n=new Date(t.year,t.month,t.date+e);i.set("highlight",n,{interval:e}),this.render()}},t.on("render",function(){t.$root.find("."+n.klass.selectMonth).on("change",function(){var e=this.value;e&&(t.set("highlight",[t.get("view").year,e,t.get("highlight").date]),t.$root.find("."+n.klass.selectMonth).trigger("focus"))}),t.$root.find("."+n.klass.selectYear).on("change",function(){var e=this.value;e&&(t.set("highlight",[e,t.get("view").month,t.get("highlight").date]),t.$root.find("."+n.klass.selectYear).trigger("focus"))})},1).on("open",function(){var e="";i.disabled(i.get("now"))&&(e=":not(."+n.klass.buttonToday+")"),t.$root.find("button"+e+", select").attr("disabled",!1)},1).on("close",function(){t.$root.find("button, select").attr("disabled",!0)},1)}var n,v=7,y=6,b=e._;t.prototype.set=function(t,n,i){var r=this,e=r.item;return null===n?("clear"==t&&(t="select"),e[t]=n):(e["enable"==t?"disable":"flip"==t?"enable":t]=r.queue[t].split(" ").map(function(e){return n=r[e](t,n,i)}).pop(),"select"==t?r.set("highlight",e.select,i):"highlight"==t?r.set("view",e.highlight,i):t.match(/^(flip|min|max|disable|enable)$/)&&(e.select&&r.disabled(e.select)&&r.set("select",e.select,i),e.highlight&&r.disabled(e.highlight)&&r.set("highlight",e.highlight,i))),r},t.prototype.get=function(e){return this.item[e]},t.prototype.create=function(e,t,n){var i,r=this;return(t=t===undefined?e:t)==-Infinity||t==Infinity?i=t:f.isPlainObject(t)&&b.isInteger(t.pick)?t=t.obj:f.isArray(t)?(t=new Date(t[0],t[1],t[2]),t=b.isDate(t)?t:r.create().obj):t=b.isInteger(t)||b.isDate(t)?r.normalize(new Date(t),n):r.now(e,t,n),{year:i||t.getFullYear(),month:i||t.getMonth(),date:i||t.getDate(),day:i||t.getDay(),obj:i||t,pick:i||t.getTime()}},t.prototype.createRange=function(e,t){var n=this,i=function(e){return!0===e||f.isArray(e)||b.isDate(e)?n.create(e):e};return b.isInteger(e)||(e=i(e)),b.isInteger(t)||(t=i(t)),b.isInteger(e)&&f.isPlainObject(t)?e=[t.year,t.month,t.date+e]:b.
vendor: 5,618 bytes, line 7
7isInteger(t)&&f.isPlainObject(e)&&(t=[e.year,e.month,e.date+t]),{from:i(e),to:i(t)}},t.prototype.withinRange=function(e,t){return e=this.createRange(e.from,e.to),t.pick>=e.from.pick&&t.pick<=e.to.pick},t.prototype.overlapRanges=function(e,t){var n=this;return e=n.createRange(e.from,e.to),t=n.createRange(t.from,t.to),n.withinRange(e,t.from)||n.withinRange(e,t.to)||n.withinRange(t,e.from)||n.withinRange(t,e.to)},t.prototype.now=function(e,t,n){return t=new Date,n&&n.rel&&t.setDate(t.getDate()+n.rel),this.normalize(t,n)},t.prototype.navigate=function(e,t,n){var i,r,o,a,s=f.isArray(t),l=f.isPlainObject(t),u=this.item.view;if(s||l){for(l?(r=t.year,o=t.month,a=t.date):(r=+t[0],o=+t[1],a=+t[2]),n&&n.nav&&u&&u.month!==o&&(r=u.year,o=u.month),r=(i=new Date(r,o+(n&&n.nav?n.nav:0),1)).getFullYear(),o=i.getMonth();new Date(r,o,a).getMonth()!==o;)a-=1;t=[r,o,a]}return t},t.prototype.normalize=function(e){return e.setHours(0,0,0,0),e},t.prototype.measure=function(e,t){var n=this;return t?"string"==typeof t?t=n.parse(e,t):b.isInteger(t)&&(t=n.now(e,t,{rel:t})):t="min"==e?-Infinity:Infinity,t},t.prototype.viewset=function(e,t){return this.create([t.year,t.month,1])},t.prototype.validate=function(e,n,t){var i,r,o,a,s=this,l=n,u=t&&t.interval?t.interval:1,c=-1===s.item.enable,d=s.item.min,p=s.item.max,h=c&&s.item.disable.filter(function(e){if(f.isArray(e)){var t=s.create(e).pick;t<n.pick?i=!0:t>n.pick&&(r=!0)}return b.isInteger(e)}).length;if((!t||!t.nav)&&(!c&&s.disabled(n)||c&&s.disabled(n)&&(h||i||r)||!c&&(n.pick<=d.pick||n.pick>=p.pick)))for(c&&!h&&(!r&&0<u||!i&&u<0)&&(u*=-1);s.disabled(n)&&(1<Math.abs(u)&&(n.month<l.month||n.month>l.month)&&(n=l,u=0<u?1:-1),n.pick<=d.pick?(o=!0,u=1,n=s.create([d.year,d.month,d.date+(n.pick===d.pick?0:-1)])):n.pick>=p.pick&&(a=!0,u=-1,n=s.create([p.year,p.month,p.date+(n.pick===p.pick?0:1)])),!o||!a);)n=s.create([n.year,n.month,n.date+u]);return n},t.prototype.disabled=function(t){var n=this,e=n.item.disable.filter(function(e){return b.isInteger(e)?t.day===(n.settings.firstDay?e:e-1)%7:f.isArray(e)||b.isDate(e)?t.pick===n.create(e).pick:f.isPlainObject(e)?n.withinRange(e,t):void 0});return e=e.length&&!e.filter(function(e){return f.isArray(e)&&"inverted"==e[3]||f.isPlainObject(e)&&e.inverted}).length,-1===n.item.enable?!e:e||t.pick<n.item.min.pick||t.pick>n.item.max.pick},t.prototype.parse=function(e,i,t){var r=this,o={};return i&&"string"==typeof i?(t&&t.format||((t=t||{}).format=r.settings.format),r.formats.toArray(t.format).map(function(e){var t=r.formats[e],n=t?b.trigger(t,r,[i,o]):e.replace(/^!/,"").length;t&&(o[e]=i.substr(0,n)),i=i.substr(n)}),[o.yyyy||o.yy,+(o.mm||o.m)-1,o.dd||o.d]):i},t.prototype.formats=function(){function i(e,t,n){var i=e.match(/\w+/)[0];return n.mm||n.m||(n.m=t.indexOf(i)+1),i.length}function n(e){return e.match(/\w+/)[0].length}return{d:function(e,t){return e?b.digits(e):t.date},dd:function(e,t){return e?2:b.lead(t.date)},ddd:function(e,t){return e?n(e):this.settings.weekdaysShort[t.day]},dddd:function(e,t){return e?n(e):this.settings.weekdaysFull[t.day]},m:function(e,t){return e?b.digits(e):t.month+1},mm:function(e,t){return e?2:b.lead(t.month+1)},mmm:function(e,t){var n=this.settings.monthsShort;return e?i(e,n,t):n[t.month]},mmmm:function(e,t){var n=this.settings.monthsFull;return e?i(e,n,t):n[t.month]},yy:function(e,t){return e?2:(""+t.year).slice(2)},yyyy:function(e,t){return e?4:t.year},toArray:function(e){return e.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g)},toString:function(e,t){var n=this;return n.formats.toArray(e).map(function(e){return b.trigger(n.formats[e],n,[0,t])||e.replace(/^!/,"")}).join("")}}}(),t.prototype.isDateExact=function(e,t){var n=this;return b.isInteger(e)&&b.isInteger(t)||"boolean"==typeof e&&"boolean"==typeof t?e===t:(b.isDate(e)||f.isArray(e))&&(b.isDate(t)||f.isArray(t))?n.create(e).pick===n.create(t).pick:!(!f.isPlainObject(e)||!f.isPlainObject(t))&&(n.isDateExact(e.from,t.from)&&n.isDateExact(e.to,t.to))},t.prototype.isDateOverlap=function(e,t){var n=this,i=n.settings.firstDay?1:0;return b.isInteger(e)&&(b.isDate(t)||f.isArray(t))?(e=e%7+i)===n.create(t).day+1:b.isInteger(t)&&(b.isDate(e)||f.isArray(e))?(t=t%7+i)===n.create(e).day+1:!(!f.isPlainObject(e)||!f.isPlainObject(t))&&n.overlapRanges(e,t)},t.prototype.flipEnable=function(e){var t=this.item;t.enable=e||(-1==t.enable?1:-1)},t.prototype.deactivate=function(e,t){var i=this,r=i.item.disable.slice(0);return"flip"==t?i.flipEnable():!1===t?(i.flipEnable(1),r=[]):!0===t?(i.flipEnable(-1),r=[]):t.map(function(e){for(var t,n=0;n<r.length;n+=1)if(i.isDateExact(e,r[n])){t=!0;break}t||(b.isInteger(e)||b.isDate(e)||f.isArray(e)||f.isPlainObject(e)&&e.from&&e.to)&&r.push(e)}),r},t.prototype.activate=function(e,t){var o=this,a=o.item.disable,s=a.length;return"flip"==t?o.flipEnable():!0===t?(o.flipEnable(1),a=[]):!1===t?(o.flipEnable(-1),a=[]):t.map(function(e){var t,n,i,r;for(i=0;i<s;i+=1){if(n=a[i],o.isDateExact(n,e)){t=a[i]=null,r=!0;break}if(o.isDateOverlap(n,e)){f.isPlainObject(e)?(e.inverted=!0,t=e):f.isArray(e)?(t=e)[3]||t.push("inverted"):b.isDate(e)&&(t=[e.getFullYear(),e.getMonth(),e.getDate(),"inverted"]);break}}if(t)for(i=0;i<s;i+=1)if(o.isDateExact(a[i],e)){a[i]=null;break}if(r)for(i=0;i<s;i+=1)if(o.isDateOverlap(a[i],e)){a[i]=null;break}t&&a.push(t)}),a.filter(function(e){return null!=e})},t.prototype.nodes=function(u){var t,n,c=this,d=c.settings,e=c.item,a=e.now,s=e.select,l=e.highlight,p=e.view,h=e.disable,f=e.min,g=e.max,i=(t=(d.showWeekdaysFull?d.weekdaysFull:d.weekdaysLetter).slice(0),n=d.weekdaysFull.slice(0),d.firstDay&&(t.push(t.shift()),n.push(n.shift())),b.node("thead",b.n
7ode("tr",b.group({min:0,max:v-1,i:1,node:"th",item:function(e){return[t[e],d.klass.weekdays,'scope=col title="'+n[e]+'"']}})))),r=function(e){return b.node("div"," ",d.klass["nav"+(e?"Next":"Prev")]+(e&&p.year>=g.year&&p.month>=g.month||!e&&p.year<=f.year&&p.month<=f.month?" "+d.klass.navDisabled:""),"data-nav="+(e||-1)+" "+b.ariaAttr({role:"button",controls:c.$node[0].id+"_table"})+' title="'+(e?d.labelMonthNext:d.labelMonthPrev)+'"')},o=function(e){var t=d.showMonthsShort?d.monthsShort:d.monthsFull;return"short_months"==e&&(t=d.monthsShort),d.selectMonths&&e==undefined?b.node("select",b.group({min:0,max:11,i:1,node:"option",item:function(e){return[t[e],0,"value="+e+(p.month==e?" selected":"")+(p.year==f.year&&e<f.month||p.year==g.year&&e>g.month?" disabled":"")]}}),d.klass.selectMonth+" browser-default",(u?"":"disabled")+" "+b.ariaAttr({controls:c.$node[0].id+"_table"})+' title="'+d.labelMonthSelect+'"'):"short_months"==e?null!=s?b.node("div",t[s.month]):b.node("div",t[p.month]):b.node("div",t[p.month],d.klass.month)},m=function(e){var t=p.year,n=!0===d.selectYears?5:~~(d.selectYears/2);if(n){var i=f.year,r=g.year,o=t-n,a=t+n;if(o<i&&(a+=i-o,o=i),r<a){var s=o-i,l=a-r;o-=l<s?l:s,a=r}if(d.selectYears&&e==undefined)return b.node("select",b.group({min:o,max:a,i:1,node:"option",item:function(e){return[e,0,"value="+e+(t==e?" selected":"")]}}),d.klass.selectYear+" browser-default",(u?"":"disabled")+" "+b.ariaAttr({controls:c.$node[0].id+"_table"})+' title="'+d.labelYearSelect+'"')}return"raw"==e?b.node("div",t):b.node("div",t,d.klass.year)};return createDayLabel=function(){return null!=s?b.node("div",s.date):b.node("div",a.date)},createWeekdayLabel=function(){var e;return e=null!=s?s.day:a.day,d.weekdaysFull[e]},b.node("div",b.node("div",createWeekdayLabel(),"picker__weekday-display")+b.node("div",o("short_months"),d.klass.month_display)+b.node("div",createDayLabel(),d.klass.day_display)+b.node("div",m("raw"),d.klass.year_display),d.klass.date_display)+b.node("div",b.node("div",(d.selectYears,o()+m()+r()+r(1)),d.klass.header)+b.node("table",i+b.node("tbody",b.group({min:0,max:y-1,i:1,node:"tr",item:function(e){var t=d.firstDay&&0===c.create([p.year,p.month,1]).day?-7:0;return[b.group({min:v*e-p.day+t+1,max:function(){return this.min+v-1},i:1,node:"td",item:function(e){e=c.create([p.year,p.month,e+(d.firstDay?1:0)]);var t,n=s&&s.pick==e.pick,i=l&&l.pick==e.pick,r=h&&c.disabled(e)||e.pick<f.pick||e.pick>g.pick,o=b.trigger(c.formats.toString,c,[d.format,e]);return[b.node("div",e.date,(t=[d.klass.day],t.push(p.month==e.month?d.klass.infocus:d.klass.outfocus),a.pick==e.pick&&t.push(d.klass.now),n&&t.push(d.klass.selected),i&&t.push(d.klass.highlighted),r&&t.push(d.klass.disabled),t.join(" ")),"data-pick="+e.pick+" "+b.ariaAttr({role:"gridcell",label:o,selected:!(!n||c.$node.val()!==o)||null,activedescendant:!!i||null,disabled:!!r||null})),"",b.ariaAttr({role:"presentation"})]}})]}})),d.klass.table,'id="'+c.$node[0].id+'_table" '+b.ariaAttr({role:"grid",controls:c.$node[0].id,readonly:!0})),d.klass.calendar_container)+b.node("div",b.node("button",d.today,"btn-flat picker__today","type=button data-pick="+a.pick+(u&&!c.disabled(a)?"":" disabled")+" "+b.ariaAttr({controls:c.$node[0].id}))+b.node("button",d.clear,"btn-flat picker__clear","type=button data-clear=1"+(u?"":" disabled")+" "+b.ariaAttr({controls:c.$node[0].id}))+b.node("button",d.close,"btn-flat picker__close","type=button data-close=true "+(u?"":" disabled")+" "+b.ariaAttr({controls:c.$node[0].id})),d.klass.footer)},t.defaults={labelMonthNext:"Next month",labelMonthPrev:"Previous month",labelMonthSelect:"Select a month",labelYearSelect:"Select a year",monthsFull:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdaysFull:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysLetter:["S","M","T","W","T","F","S"],today:"Today",clear:"Clear",close:"Close",format:"d mmmm, yyyy",klass:{table:(n=e.klasses().picker+"__")+"table",header:n+"header",date_display:n+"date-display",day_display:n+"day-display",month_display:n+"month-display",year_display:n+"year-display",calendar_container:n+"calendar-container",navPrev:n+"nav--prev",navNext:n+"nav--next",navDisabled:n+"nav--disabled",month:n+"month",year:n+"year",selectMonth:n+"select--month",selectYear:n+"select--year",weekdays:n+"weekday",day:n+"day",disabled:n+"day--disabled",selected:n+"day--selected",highlighted:n+"day--highlighted",now:n+"day--today",infocus:n+"day--infocus",outfocus:n+"day--outfocus",footer
7:n+"footer",buttonClear:n+"button--clear",buttonToday:n+"button--today",buttonClose:n+"button--close"}},e.extend("pickadate",t)}),function(i){function e(){var e=+i(this).attr("length"),t=+i(this).val().length,n=t<=e;i(this).parent().find('span[class="character-counter"]').html(t+"/"+e),r(n,i(this))}function t(e){$counterElement=i("<span/>").addClass("character-counter").css("float","right").css("font-size","12px").css("height",1),e.parent().append($counterElement)}function n(){i(this).parent().find('span[class="character-counter"]').html("")}function r(e,t){inputHasInvalidClass=t.hasClass("invalid"),e&&inputHasInvalidClass?t.removeClass("invalid"):e||inputHasInvalidClass||(t.removeClass("valid"),t.addClass("invalid"))}i.fn.characterCounter=function(){return this.each(function(){itHasLengthAttribute=i(this).attr("length")!==undefined,itHasLengthAttribute&&(i(this).on("input",e),i(this).on("focus",e),i(this).on("blur",n),t(i(this)))})},i(document).ready(function(){i("input, textarea").characterCounter()})}(jQuery),function(){var r,t,o,a=[].slice;r=window.jQuery,t=window,o=function(){function e(e,t){this.options=r.extend({},this.defaults,t),this.$container=r(e),this.$table=r(e).find("table"),this.$context=r(this.options.context),this.init()}return e.prototype.defaults={debug:!1,navSelector:"a[rel=next]",buffer:1e3,loading:null,success:null,error:null,context:t,state:{paused:!1,loading:!1}},e.prototype.init=function(){var e,t,n;return t=null,e=function(){return n.check()},(n=this).$context.scroll(function(){return t&&(clearTimeout(t),t=null),t=setTimeout(e,250)})},e.prototype._log=function(e){if(this.options.debug)return"undefined"!=typeof console&&null!==console?console.log(e):void 0},e.prototype.check=function(){var e,t,n;return 0===(t=this.$container.find(this.options.navSelector)).size()?this._log("No more pages to load"):(n=this.$context.scrollTop()+this.$context.height(),e=t.offset().top-n,this.options.state.paused?this._log("Paused"):this.options.state.loading?this._log("Waiting..."):e>this.options.buffer?this._log(e-this.options.buffer+"px remaining..."):this.next())},e.prototype.next=function(){return this.options.state.done?this._log("Loaded all pages"):(this._loading(),r.getScript(this.$container.find(this.options.navSelector).attr("href")).done((t=this,function(){return t._success()})).fail((e=this,function(){return e._error()})));var e,t},e.prototype._loading=function(){if(this.options.state.loading=!0,this._log("Loading next page..."),"function"==typeof this.options.loading)return this.$container.find(this.options.navSelector).each(this.options.loading)},e.prototype._success=function(){if(this.options.state.loading=!1,this._log("New page loaded!"),"function"==typeof this.options.success)return this.$container.find(this.options.navSelector).each(this.options.success)},e.prototype._error=function(){if(this.options.state.loading=!1,this._log("Error loading new page :("),"function"==typeof this.options.error)return this.$container.find(this.options.navSelector).each(this.options.error)},e.prototype.pause=function(){return this.options.state.paused=!0,this._log("Scroll checks paused")},e.prototype.resume=function(){return this.options.state.paused=!1,this._log("Scroll checks resumed"),this.check()},e}(),r.fn.extend({infinitePages:function(e){var n,i;return i=e,n=2<=arguments.length?a.call(arguments,1):[],this.each(function(){var e,t;if((t=(e=r(this)).data("infinitepages"))||e.data("infinitepages",t=new o(this,i)),"string"==typeof i)return t[i].apply(t,n)})}})}.call(this),function(e,t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(e.jQuery)}(this,function(d){"use strict";function o(e){var t,n,i,r,o,a,s,l={};for(s=0,a=(o=e.replace(/\s*:\s*/g,":").replace(/\s*,\s*/g,",").split(",")).length;s<a&&(-1===(n=o[s]).search(/^(http|https|ftp):\/\//)&&-1!==n.search(":"));s++)t=n.indexOf(":"),i=n.substring(0,t),(r=n.substring(t+1))||(r=undefined),"string"==typeof r&&(r="true"===r||"false"!==r&&r),"string"==typeof r&&(r=isNaN(r)?r:+r),l[i]=r;return null==i&&null==r?e:l}function p(e){var t,n,i,r=(e=""+e).split(/\s+/),o="50%",a="50%";for(i=0,t=r.length;i<t;
7i++)"left"===(n=r[i])?o="0%":"right"===n?o="100%":"top"===n?a="0%":"bottom"===n?a="100%":"center"===n?0===i?o="50%":a="50%":0===i?o=n:a=n;return{x:o,y:a}}function h(e,t){var n=function(){t(this.src)};d('<img src="'+e+'.gif">').load(n),d('<img src="'+e+'.jpg">').load(n),d('<img src="'+e+'.jpeg">').load(n),d('<img src="'+e+'.png">').load(n)}function i(e,t,n){if(this.$element=d(e),"string"==typeof t&&(t=o(t)),n?"string"==typeof n&&(n=o(n)):n={},"string"==typeof t)t=t.replace(/\.\w*$/,"");else if("object"==typeof t)for(var i in t)t.hasOwnProperty(i)&&(t[i]=t[i].replace(/\.\w*$/,""));this.settings=d.extend({},a,n),this.path=t;try{this.init()}catch(r){if(r.message!==g)throw r}}var f="vide",a={volume:1,playbackRate:1,muted:!0,loop:!0,autoplay:!0,position:"50% 50%",posterType:"detect",resizing:!0,bgColor:"transparent",className:""},g="Not implemented";i.prototype.init=function(){var e,t,n=this,i=n.path,r=i,o="",a=n.$element,s=n.settings,l=p(s.position),u=s.posterType;t=n.$wrapper=d("<div>").addClass(s.className).css({position:"absolute","z-index":-1,top:0,left:0,bottom:0,right:0,overflow:"hidden","-webkit-background-size":"cover","-moz-background-size":"cover","-o-background-size":"cover","background-size":"cover","background-color":s.bgColor,"background-repeat":"no-repeat","background-position":l.x+" "+l.y}),"object"==typeof i&&(i.poster?r=i.poster:i.mp4?r=i.mp4:i.webm?r=i.webm:i.ogv&&(r=i.ogv)),"detect"===u?h(r,function(e){t.css("background-image","url("+e+")")}):"none"!==u&&t.css("background-image","url("+r+"."+u+")"),"static"===a.css("position")&&a.css("position","relative"),a.prepend(t),"object"==typeof i?(i.mp4&&(o+='<source src="'+i.mp4+'.mp4" type="video/mp4">'),i.webm&&(o+='<source src="'+i.webm+'.webm" type="video/webm">'),i.ogv&&(o+='<source src="'+i.ogv+'.ogv" type="video/ogg">'),e=n.$video=d("<video>"+o+"</video>")):e=n.$video=d('<video><source src="'+i+'.mp4" type="video/mp4"><source src="'+i+'.webm" type="video/webm"><source src="'+i+'.ogv" type="video/ogg"></video>');try{e.prop({autoplay:s.autoplay,loop:s.loop,volume:s.volume,muted:s.muted,defaultMuted:s.muted,playbackRate:s.playbackRate,defaultPlaybackRate:s.playbackRate})}catch(c){throw new Error(g)}e.css({margin:"auto",position:"absolute","z-index":-1,top:l.y,left:l.x,"-webkit-transform":"translate(-"+l.x+", -"+l.y+")","-ms-transform":"translate(-"+l.x+", -"+l.y+")","-moz-transform":"translate(-"+l.x+", -"+l.y+")",transform:"translate(-"+l.x+", -"+l.y+")",visibility:"hidden",opacity:0}).one("canplaythrough."+f,function(){n.resize()}).one("playing."+f,function(){e.css({visibility:"visible",opacity:1}),t.css("background-image","none")}),a.on("resize."+f,function(){s.resizing&&n.resize()}),t.append(e)},i.prototype.getVideoObject=function(){return this.$video[0]},i.prototype.resize=function(){if(this.$video){var e=this.$wrapper,t=this.$video,n=t[0],i=n.videoHeight,r=n.videoWidth,o=e.height(),a=e.width();o/i<a/r?t.css({width:a+2,height:"auto"}):t.css({width:"auto",height:o+2})}},i.prototype.destroy=function(){delete d[f].lookup[this.index],this.$video&&this.$video.off(f),this.$element.off(f).removeData(f),this.$wrapper.remove()},d[f]={lookup:[]},d.fn[f]=function(e,t){var n;return this.each(function(){(n=d.data(this,f))&&n.destroy(),(n=new i(this,e,t)).index=d[f].lookup.push(n)-1,d.data(this,f,n)}),this},d(document).ready(function(){var e=d(window);e.on("resize."+f,function(){for(var e,t=d[f].lookup.length,n=0;n<t;n++)(e=d[f].lookup[n])&&e.settings.resizing&&e.resize()}),e.on("unload."+f,function(){return!1}),d(document).find("[data-"+f+"-bg]").each(function(e,t){var n=d(t),i=n.data(f+"-options"),r=n.data(f+"-bg");n[f](r,i)})})}),function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t(require,exports,module):e.ScrollReveal=t()}(this,function(){return function(){var h;this.ScrollReveal=function(){function t(e){return window==this?new t(e):((h=this).tools=new f,h.tools.extend(h.defaults,e||{}),h.supported()||console.log("ScrollReveal is not supported in this browser."),h.store={elements:{},containers:[]},h.history=[],h.counter=0,h.initialized=!1,h)}function l(e,t){e.config?e.config=h.tools.extendClone(e.config,t):e.config=h.tools.extendClone(h.defaults,t),"top"===e.config.origin||"bottom"===e.config.origin?e.config.axis="Y":e.config.axis="X","top"!==e.config.origin&&"left"!==e.config.origin||(e.config.distance="-"+e.config.distance)}function u(t){function e(e){parseInt(n.distance)&&(e.initial+=" translate"+n.axis+"("+n.distance+")",e.target+=" translate"+n.axis+"(0)"),n.scale&&(e.initial+=" scale("+n.scale+")",e.target+=" scale(1)"),n.rotate.x&&(e.initial+=" rotateX("+n.rotate.x+"deg)",e.target+=" rotateX(0)"),n.rotate.y&&(e.initial+=" rotateY("+n.rotate.y+"deg)",e.target+=" rotateY(0)"),n.rotate.z&&(e.initial+=" rotateZ("+n.rotate.z+"deg)",e.target+=" rotateZ(0)"),e.initial+="; opacity: "+n.opacity+";",e.target+=";
7 opacity: "+t.styles.computed.opacity+";"}var n=t.config,i=window.getComputedStyle(t.domEl);t.styles||(t.styles={transition:{},transform:{},computed:{}},t.styles.inline=t.domEl.getAttribute("style")||"",t.styles.inline+="; visibility: visible; ",t.styles.computed.opacity=i.opacity,i.transition&&"all 0s ease 0s"!=i.transition?t.styles.computed.transition=i.transition+", ":t.styles.computed.transition=""),t.styles.transition.instant="-webkit-transition: "+t.styles.computed.transition+"-webkit-transform "+n.duration/1e3+"s "+n.easing+" 0s, opacity "+n.duration/1e3+"s "+n.easing+" 0s; transition: "+t.styles.computed.transition+"transform "+n.duration/1e3+"s "+n.easing+" 0s, opacity "+n.duration/1e3+"s "+n.easing+" 0s; ",t.styles.transition.delayed="-webkit-transition: "+t.styles.computed.transition+"-webkit-transform "+n.duration/1e3+"s "+n.easing+" "+n.delay/1e3+"s, opacity "+n.duration/1e3+"s "+n.easing+" "+n.delay/1e3+"s; transition: "+t.styles.computed.transition+"transform "+n.duration/1e3+"s "+n.easing+" "+n.delay/1e3+"s, opacity "+n.duration/1e3+"s "+n.easing+" "+n.delay/1e3+"s; ",t.styles.transform.initial=" -webkit-transform:",t.styles.transform.target=" -webkit-transform:",e(t.styles.transform),t.styles.transform.initial+="transform:",t.styles.transform.target+="transform:",e(t.styles.transform)}function c(e){var t=e.config.container;t&&-1==h.store.containers.indexOf(t)&&h.store.containers.push(e.config.container),h.store.elements[e.id]=e}function d(e,t){var n={selector:e,config:t};h.history.push(n)}function p(){if(h.supported()){i();for(var e=0;e<h.store.containers.length;e++)h.store.containers[e].addEventListener("scroll",n),h.store.containers[e].addEventListener("resize",n);h.initialized||(window.addEventListener("scroll",n),window.addEventListener("resize",n),h.initialized=!0)}return h}function n(){e(i)}function i(){function t(e,t){var n=0,i=0,r="after";switch(e){case"reveal":i=t.config.duration+t.config.delay,r+="Reveal";break;case"reset":i=t.config.duration,r+="Reset"}return t.timer&&(n=Math.abs(t.timer.started-new Date),window.clearTimeout(t.timer.clock)),t.timer={started:new Date},t.timer.clock=window.setTimeout(function(){t.config[r](t.domEl),t.timer=null},i-n),t.revealed="reveal"===e}var n,i;h.tools.forOwn(h.store.elements,function(e){if(n=h.store.elements[e],(i=s(n))&&!n.revealed&&!n.disabled)return"always"===n.config.useDelay||"onload"===n.config.useDelay&&!h.initialized||"once"===n.config.useDelay&&!n.seen?n.domEl.setAttribute("style",n.styles.inline+n.styles.transform.target+n.styles.transition.delayed):n.domEl.setAttribute("style",n.styles.inline+n.styles.transform.target+n.styles.transition.instant),t("reveal",n),n.seen=!0;!i&&n.config.reset&&n.revealed&&!n.disabled&&(n.domEl.setAttribute("style",n.styles.inline+n.styles.transform.initial+n.styles.transition.instant),t("reset",n))})}function r(e){return e||(e=window.document.documentElement),{width:e.clientWidth,height:e.clientHeight}}function o(e){if(e){var t=a(e);return{x:e.scrollLeft+t.left,y:e.scrollTop+t.top}}return{x:window.pageXOffset,y:window.pageYOffset}}function a(e){for(var t=0,n=0,i=e.offsetHeight,r=e.offsetWidth;isNaN(e.offsetTop)||(t+=e.offsetTop),isNaN(e.offsetLeft)||(n+=e.offsetLeft),e=e.offsetParent;);return{top:t,left:n,height:i,width:r}}function s(l){function e(){var e=f+p*d,t=g+h*d,n=m-p*d,i=v-h*d,r=c.y+l.config.viewOffset.top,o=c.x+l.config.viewOffset.left,a=c.y-l.config.viewOffset.bottom+u.height,s=c.x-l.config.viewOffset.right+u.width;return e<a&&r<n&&o<t&&i<s}function t(){return"fixed"===window.getComputedStyle(l.domEl).position}var n=a(l.domEl),u=r(l.config.container),c=o(l.config.container),d=l.config.viewFactor,p=n.height,h=n.width,f=n.top,g=n.left,m=f+p,v=g+h;return e()||t()}return t.prototype.defaults={origin:"bottom",distance:"20px",duration:500,delay:0,rotate:{x:0,y:0,z:0},opacity:0,scale:.9,easing:"cubic-bezier( 0.6, 0.2, 0.1, 1 )",container:null,mobile:!0,reset:!1,useDelay:"always",viewFactor:.2,viewOffset:{top:0,right:0,bottom:0,left:0},afterReveal:function(){},afterReset:function(){}},t.prototype.supported=function(){var e=document.documentElement.style;return"WebkitTransition"in e&&"WebkitTransform"in e||"transition"in e&&"transform"in e},t.prototype.reveal=function(e,t,n){var i,r,o,a;if(r=t&&t.container?t.container:h.defaults.container?h.defaults.container:window.document.documentElement,!(i=Array.prototype.slice.call(r.querySelectorAll(e))).length)return console.log("reveal('"+e+"') failed: no elements found."),h;for(var s=0;s<i.length;s++)(a=i[s].getAttribute("data-sr-id"))?o=h.store.elements[a]:(o={id:++h.counter,domEl:i[s],seen:!1,revealed:!1}).domEl.setAttribute("data-sr-id",o.id),l(o,t||{}),u(o),c(o),h.tools.isMobile()&&!o.config.mobile||!h.supported()?(o.domEl.setAttribute("style",o.styles.inline),o.disabled=!0):o.revealed||o.domEl.setAttribute("style",o.styles.inline+o.styles.transform.initial);return!n&&h.supported()&&(d(e,t),h.initTimeout&&window.clearTimeout(h.initTimeout),h.initTimeout=window.setTimeout(p,0)),h},t.prototype.sync=function(){if(h.history.length&&h.supported()){for(var e=0;e<h.history.length;e++){var t=h.history[e];h.reveal(t.selector,t.config,!0)}p()}else console.log("sync() failed: no reveals found.");return h},t}();var f=function(){function e(){}return e.prototype.isObject=function(e){return null!==e&&"object"==typeof e&&e.constructor==Object},e.prototype.forOwn=function(e,t){if(!this.isObject(e))throw new TypeError("Expected 'object', but received '"+typeof e+"'.");for(var n in e)e.hasOwnProperty(n)&&t(n)},e.prototype.extend=function(t,n){return this.forOwn(n,function(e){this.isObject(n[e])?(t[e]&&this.isObject(t[e])||(t[e]={}),this.extend(t[e],n[e])):t[e]=n[e]}.bind(this)),t},e.prototype.extendClone=function(e,t){return this.extend(this.extend({},e),t)},e.prototype.isMobile=function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},e}(),
8e=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame}.call(this),this.ScrollReveal}),function(l,u){function h(e){r.put.call(this,e)}function o(e){this.parent=e,this.byStart=[{start:-1,end:-1}],this.byEnd=[{start:-1,end:-1}],this.animating=[],this.endIndex=this.startIndex=0,this.previousUpdateTime=-1,this.count=1}function n(t,n){return function(){if(v.plugin.debug)return t.apply(this,arguments);try{return t.apply(this,arguments)}catch(e){v.plugin.errors.push({plugin:n,thrown:e,source:t.toString()}
8),this.emit("pluginerror",v.plugin.errors)}}}if(u.addEventListener){var e=Array.prototype,t=Object.prototype,a=e.forEach,f=e.slice,g=t.hasOwnProperty,s=t.toString,i=l.Popcorn,c=[],d=!1,p={events:{hash:{},apis:{}}},m=l.requestAnimationFrame||l.webkitRequestAnimationFrame||l.mozRequestAnimationFrame||l.oRequestAnimationFrame||l.msRequestAnimationFrame||function(e){l.setTimeout(e,16)},r={put:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}},v=function(e,t){return new v.p.init(e,t||null)};v.version="1.5.6",v.isSupported=!0,v.instances=[],v.p=v.prototype={init:function(e,t){var n,s=this;if("function"!=typeof e){if("string"==typeof e)try{n=u.querySelector(e)}catch(r){throw Error("Popcorn.js Error: Invalid media element selector: "+e)}if(this.media=n||e,n=this.media.nodeName&&this.media.nodeName.toLowerCase()||"video",this[n]=this.media,this.options=v.extend({},t)||{},this.id=this.options.id||v.guid(n),v.byId(this.id))throw Error("Popcorn.js Error: Cannot use duplicate ID ("+this.id+")");this.isDestroyed=!1,this.data={running:{cue:[]},timeUpdate:v.nop,disabled:{},events:{},hooks:{},history:[],state:{volume:this.media.volume},trackRefs:{},trackEvents:new o(this)},v.instances.push(this);var l=function(){var e,i,r,o,a;s.media.currentTime<0&&(s.media.currentTime=0),s.media.removeEventListener("loadedmetadata",l,!1),e=(e=s.media.duration)!=e?Number.MAX_VALUE:e+1,v.addTrackEvent(s,{start:e,end:e}),s.isDestroyed||(s.data.durationChange=function(){var e=s.media.duration,t=e+1,n=s.data.trackEvents.byStart,i=s.data.trackEvents.byEnd;n.pop(),i.pop();for(var r=i.length-1;0<r;r--)i[r].end>e&&s.removeTrackEvent(i[r]._id);for(i=0;i<n.length;i++)n[i].end>e&&s.removeTrackEvent(n[i]._id);s.data.trackEvents.byEnd.push({start:t,end:t}),s.data.trackEvents.byStart.push({start:t,end:t})},s.media.addEventListener("durationchange",s.data.durationChange,!1)),s.options.frameAnimation?(s.data.timeUpdate=function(){v.timeUpdate(s,{}),v.forEach(v.manifest,function(e,t){if(i=s.data.running[t]){o=i.length;for(var n=0;n<o;n++)r=i[n],(a=r._natives)&&a.frame&&a.frame.call(s,{},r,s.currentTime())}}),s.emit("timeupdate"),!s.isDestroyed&&m(s.data.timeUpdate)},!s.isDestroyed&&m(s.data.timeUpdate)):(s.data.timeUpdate=function(e){v.timeUpdate(s,e)},s.isDestroyed||s.media.addEventListener("timeupdate",s.data.timeUpdate,!1))};return s.media.addEventListener("error",function(){s.error=s.media.error},!1),1<=s.media.readyState?l():s.media.addEventListener("loadedmetadata",l,!1),this}if("complete"===u.readyState)e(u,v);else if(c.push(e),!d){d=!0;var i=function(){u.removeEventListener("DOMContentLoaded",i,!1);for(var e=0,t=c.length;e<t;e++)c[e].call(u,v);c=null};u.addEventListener("DOMContentLoaded",i,!1)}}},v.p.init.prototype=v.p,v.byId=function(e){for(var t=v.instances,n=t.length,i=0;i<n;i++)if(t[i].id===e)return t[i];return null},v.forEach=function(e,t,n){if(!e||!t)return{};var i,r;if(n=n||this,a&&e.forEach===a)return e.forEach(t,n);if("[object NodeList]"===s.call(e)){for(i=0,r=e.length;i<r;i++)t.call(n,e[i],i,e);return e}for(i in e)g.call(e,i)&&t.call(n,e[i],i,e);return e},v.extend=function(n){var e=f.call(arguments,1);return v.forEach(e,function(e){for(var t in e)n[t]=e[t]}),n},v.extend(v,{noConflict:function(e){return e&&(l.Popcorn=i),v},error:function(e){throw Error(e)},guid:function(e){return v.guid.counter++,(e||"")+(+new Date+v.guid.counter)},sizeOf:function(e){var t,n=0;for(t in e)n++;return n},isArray:Array.isArray||function(e){return"[object Array]"===s.call(e)},nop:function(){},position:function(e){if(!e.parentNode)return null;e=e.getBoundingClientRect();var t,n,i,r={},o=u.documentElement,a=u.body;for(var s in t=o.clientTop||a.clientTop||0,n=o.clientLeft||a.clientLeft||0,i=l.pageYOffset&&o.scrollTop||a.scrollTop,o=l.pageXOffset&&o.scrollLeft||a.scrollLeft,t=Math.ceil(e.top+i-t),n=Math.ceil(e.left+o-n),e)r[s]=Math.round(e[s]);return v.extend({},r,{top:t,left:n})},disable:function(e,t){if(!e.data.disabled[t]){if(e.data.disabled[t]=!0,t in v.registryByName&&e.data.running[t])for(var n,i=e.data.running[t].length-1;0<=i;i--)(n=e.data.running[t][i])._natives.end.call(e,null,n),e.emit("trackend",v.extend({},n,{plugin:n.type,type:"trackend"}));return e}},enable:function(e,t){if(e.data.disabled[t]){if(e.data.disabled[t]=!1,t in v.registryByName&&e.data.running[t])for(var n,i=e.data.running[t].length-1;0<=i;i--)(n=e.data.running[t][i])._natives.start.call(e,null,n),e.emit("trackstart",v.extend({},n,{plugin:n.type,type:"trackstart",track:n}));return e}},destroy:function(e){var t,n,i,r,o=e.data.events,a=e.data.trackEvents;for(n in o){for(i in t=o[n])delete t[i];o[n]=null}for(r in v.registryByName)v.removePlugin(e,r);a.byStart.length=0,a.byEnd.length=0,e.isDestroyed||(e.data.timeUpdate&&e.media.removeEventListener("timeupdate",e.data.timeUpdate,!1),e.isDestroyed=!0),v.instances.splice(v.instances.indexOf(e),1)}}),v.guid.counter=1,v.extend(v.p,(x={},v.forEach("load play pause currentTime playbackRate volume duration preload playbackRate autoplay loop controls muted buffered readyState seeking paused played seekable ended".split(/\s+/g),function(n){x[n]=function(e){var t;return"function"==typeof this.media[n]?(null!=e&&/play|pause/.test(n)&&(this.media.currentTime=v.util.toSeconds(e)),this.media[n](),this):null!=e?((t=this.media[n])!==(this.media[n]=e)&&this.emit
8("attrchange",{attribute:n,previousValue:t,currentValue:e}),this):this.media[n]}}),x)),v.forEach("enable disable".split(" "),function(t){v.p[t]=function(e){return v[t](this,e)}}),v.extend(v.p,{roundTime:function(){return Math.round(this.media.currentTime)},exec:function(e,t,n){var i,r,o=arguments.length,a="trackadded";try{r=v.util.toSeconds(e)}catch(s){}if("number"==typeof r&&(e=r),"number"==typeof e&&2===o)n=t,t=e,e=v.guid("cue");else if(1===o)t=-1;else if(i=this.getTrackEvent(e))this.data.trackEvents.remove(e),h.end(this,i),v.removeTrackEvent.ref(this,e),a="cuechange","string"==typeof e&&2===o&&("number"==typeof t&&(n=i._natives.start),"function"==typeof t&&(n=t,t=i.start));else if(2<=o){if("string"==typeof t){try{r=v.util.toSeconds(t)}catch(l){}t=r}"number"==typeof t&&(n=n||v.nop()),"function"==typeof t&&(n=t,t=-1)}return o={id:e,start:t,end:t+1,_running:!1,_natives:{start:n||v.nop,end:v.nop,type:"cue"}},i&&(o=v.extend(i,o)),"cuechange"===a?(o._id=o.id||o._id||v.guid(o._natives.type),this.data.trackEvents.add(o),h.start(this,o),this.timeUpdate(this,null,!0),v.addTrackEvent.ref(this,o),this.emit(a,v.extend({},o,{id:e,type:a,previousValue:{time:i.start,fn:i._natives.start},currentValue:{time:t,fn:n||v.nop},track:i}))):v.addTrackEvent(this,o),this},mute:function(e){return"unmuted"===(e=null==e||!0===e?"muted":"unmuted")&&(this.media.muted=!1,this.media.volume=this.data.state.volume),"muted"===e&&(this.data.state.volume=this.media.volume,this.media.muted=!0),this.emit(e),this},unmute:function(e){return this.mute(null!=e&&!e)},position:function(){return v.position(this.media)},toggle:function(e){return v[this.data.disabled[e]?"enable":"disable"](this,e)},defaults:function(e,t){return v.isArray(e)?v.forEach(e,function(e){for(var t in e)this.defaults(t,e[t])},this):(this.options.defaults||(this.options.defaults={}),this.options.defaults[e]||(this.options.defaults[e]={}),v.extend(this.options.defaults[e],t)),this}}),v.Events={UIEvents:"blur focus focusin focusout load resize scroll unload",MouseEvents:"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave click dblclick",Events:"loadstart progress suspend emptied stalled play pause error loadedmetadata loadeddata waiting playing canplay canplaythrough seeking seeked timeupdate ended ratechange durationchange volumechange"},v.Events.Natives=v.Events.UIEvents+" "+v.Events.MouseEvents+" "+v.Events.Events,p.events.apiTypes=["UIEvents","MouseEvents","Events"],function(r,o){for(var e=p.events.apiTypes,t=r.Natives.split(/\s+/g),n=0,i=t.length;n<i;n++)o.hash[t[n]]=!0;e.forEach(function(e){o.apis[e]={};for(var t=r[e].split(/\s+/g),n=t.length,i=0;i<n;i++)o.apis[e][t[i]]=!0})}(v.Events,p.events),v.events={isNative:function(e){return!!p.events.hash[e]},getInterface:function(e){if(!v.events.isNative(e))return!1;var t=p.events,n=t.apiTypes;t=t.apis;for(var i,r,o=0,a=n.length;o<a;o++)if(t[r=n[o]][e]){i=r;break}return i},all:v.Events.Natives.split(/\s+/g),fn:{trigger:function(e,t){var n,i=this.data.events[e];if(i){if(n=v.events.getInterface(e))return(n=u.createEvent(n)).initEvent(e,!0,!0,l,1),this.media.dispatchEvent(n),this;for(n=i.slice();n.length;)n.shift().call(this,t)}return this},listen:function(t,e){var n,i,r=this,o=!0,a=v.events.hooks[t];if("function"!=typeof e)throw Error("Popcorn.js Error: Listener is not a function");return this.data.events[t]||(o=!(this.data.events[t]=[])),a&&(a.add&&a.add.call(this,{},e),a.bind&&(t=a.bind),a.handler&&(i=e,e=function(e){a.handler.call(r,e,i)}),o=!0,this.data.events[t]||(o=!(this.data.events[t]=[]))),this.data.events[t].push(e),!o&&-1<v.events.all.indexOf(t)&&this.media.addEventListener(t,function(e){if(r.data.events[t])for(n=r.data.events[t].slice();n.length;)n.shift().call(r,e)},!1),this},unlisten:function(e,t){var n,i=this.data.events[e];if(i){if("string"==typeof t){for(n=0;n<i.length;n++)i[n].name===t&&i.splice(n--,1);return this}if("function"!=typeof t)return this.data.events[e]=null,this;for(;-1!==n;)-1!==(n=i.indexOf(t))&&i.splice(n,1);return this}}},hooks:{canplayall:{bind:"canplaythrough",add:function(e,t){var n=!1;this.media.readyState&&(setTimeout(function(){t.call(this,e)}.bind(this),0),n=!0),this.data.hooks.canplayall={fired:n}},handler:function(e,t){this.data.hooks.canplayall.fired||(t.call(this,e),this.data.hooks.canplayall.fired=!0)}}}},v.forEach([["trigger","emit"],["listen","on"],["unlisten","off"]],function(e){v.p[e[0]]=v.p[e[1]]=v.events.fn[e[0]]}),h.start=function(e,t){t.end>e.media.currentTime&&t.start<=e.media.currentTime&&!t._running&&(t._running=!0,e.data.running[t._natives.type].push(t),e.data.disabled[t._natives.type]||(t._natives.start.call(e,null,t),e.emit("trackstart",v.extend({},t,{plugin:t._natives.type,type:"trackstart",track:t}))))},h.end=function(e,t){var n;(t.end<=e.media.currentTime||t.start>e.media.currentTime)&&t._running&&(n=e.data.running[t._natives.type],t._running=!1,n.splice(n.indexOf(t),1),e.data.disabled[t._natives.type]||(t._natives.end.call(e,null,t),e.emit("trackend",v.extend({},t,{plugin:t._natives.type,type:"trackend",track:t}))))},o.prototype.where=function(i){return(this.parent.getTrackEvents()||[]).filter(function(e){var t,n;if(!i)return!0;for(t in i)if(n=i[t],e[t]&&e[t]===n||e._natives[t]&&e._natives[t]===n)return!0;return!1})},o.prototype.add=function(e){var t,n=this.byStart,i=this.byEnd;for(e&&e._id&&this.parent.data.history.push(e._id),e.start=v.util.toSeconds(e.start,this.parent.options.framerate),e.end=v.util.toSeconds(e.end,this.parent.options.framerate),t=n.length-1;0<=t;t--)if(e.start>=n[t].start){n.splice(t+1,0,e);break}for(n=i.length-1;0<=n;n--)if(e.end>i[n].end){i.splice(n+1,0,e);break}t<=this.parent.data.trackEvents.startIndex&&e.start<=this.parent.data.trackEvents.previousUpdateTime&&this.parent.data.trackEvents.startIndex++,n<=this.parent.data.trackEvents.endIndex&&e.end<this.parent.data.trackEvents.previousUpdateTime&&this.parent.data.trackEvents.endIndex++,this.count++},o.prototype.remove=function(e){if(e instanceof h&&(e=e.id),"object"==typeof e)return this.where(e).forEach(function(e){this.removeTrackEvent(e._id)},this.parent),this;var t,n,i;i=this.byStart.length;for(var r=0,o=0,a=[],s=[],l=[],u=[];-1<--i;)t=this.byStart[r],n=this.byEnd[r],t._id||(a.push(t),s.push(n)),t._id&&(t._id!==e&&a.push(t),n._id!==e&&s.push(n),t._id===e&&(o=r)),r++;if(r=0,i=this.animating.length)for(;-1<--i;)(t=this.animating[r])._id||l.push(t),t._id&&t._id!==e&&l.push(t),r++;for(o<=this.startIndex&&this.startIndex--,o<=this.endIndex&&this.endIndex--,this.byStart=a,this.byEnd=s,this.animating=l,this.count--,i=this.parent.data.history.length,r=0;r<i;r++)this.parent.data.history[r]!==e&&u.push(this.parent.data.history[r]);this.parent.data.history=u},v.addTrackEvent=function(e,t){var n;t instanceof h||((t=new h(t))&&t._natives&&t._natives.type&&e.options.defaults&&e.options.defaults[t._natives.type]&&(n=v.extend({},t),v.extend(t,e.options.defaults[t._natives.type],n)),t._natives&&(t._id=t.id||t._id||v.guid(t._natives.type),t._natives._setup&&(t._natives._setup.call(e,t),e.emit("tracksetup",v.extend({},t,{plugin:t._natives.type,type:"tracksetup",track:t})))),e.data.trackEvents.add(t),h.start(e,t),this.timeUpdate(e,null,!0),t._id&&v.addTrackEvent.ref(e,t),e.emit("trackadded",v.extend({},t,t._natives?{plugin:t._natives.type}:{},{type:"trackadded",track:t})))},v.addTrackEvent.ref=function(e,t){return e.data.trackRefs[t._id]=t,e},v.removeTrackEvent=function(e,t){var n=e.getTrackEvent(t);n&&(n._natives._teardown&&n._natives._teardown.call(e,n),e.data.trackEvents.remove(t),v.removeTrackEvent.ref(e,t),n._natives&&e.emit("trackremoved",v.extend({},n,{plugin:n._natives.type,type:"trackremoved",track:n})))},v.removeTrackEvent.ref=function(e,t){return delete e.data.trackRefs[t],e},v.getTrackEvents=function(e){for(var t,n=[],i=(e=e.data.trackEvents.byStart).length,r=0;r<i;r++)(t=e[r])._id&&n.push(t);return n},v.getTrackEvents.ref=function(e){return e.data.trackRefs},v.getTrackEvent=function(e,t){return e.data.trackRefs[t]},v.getTrackEvent.ref=function(e,t){return e.data.trackRefs[t]},v.getLastTrackEventId=function(e){return e.data.history[e.data.history.length-1]},v.timeUpdate=function(e,t){var n,i,r,o=e.media.currentTime,a=e.data.trackEvents.previousUpdateTime,s=e.data.trackEvents,l=s.endIndex,u=s.startIndex,c=s.byStart.length,d=s.byEnd.length,p=v.registryByName;if(a<=o){for(;s.byEnd[l]&&s.byEnd[l].end<=o;){if(i=(a=(n=s.byEnd[l])._natives)&&a.type,a&&!p[i]&&!e[i])return void v.removeTrackEvent(e,n._id);!0===n._running&&(n._running=!1,(r=e.data.running[i]).splice(r.indexOf(n),1),e.data.disabled[i]||(a.end.call(e,t,n),e.emit("trackend",v.extend({},n,{plugin:i,type:"trackend",track:n})))),l++}for(;s.byStart[u]&&s.byStart[u].start<=o;){if(i=(a=(n=s.byStart[u])._natives)&&a.type,a&&!p[i]&&!e[i])return void v.removeTrackEvent(e,n._id);n.end>o&&!1===n._running&&(n._running=!0,e.data.running[i].push(n),e.data.disabled[i]||(a.start.call(e,t,n),e.emit("trackstart",v.extend({},n,{plugin:i,type:"trackstart",track:n})))),u++}}else if(o<a){for(;s.byStart[u]&&s.byStart[u].start>o;){if(i=(a=(n=s.byStart[u])._natives)&&a.type,a&&!p[i]&&!e[i])return void v.removeTrackEvent(e,n._id);!0===n._running&&(n._running=!1,(r=e.data.running[i]).splice(r.indexOf(n),1),e.data.disabled[i]||(a.end.call(e,t,n),e.emit("trackend",v.extend({},n,{plugin:i,type:"trackend",track:n})))),u--}for(;s.byEnd[l]&&s.byEnd[l].end>o;){if(i=(a=(n=s.byEnd[l])._natives)&&a.type,a&&!p[i]&&!e[i])return void v.removeTrackEvent(e,n._id);n.start<=o&&!1===n._running&&(n._running=!0,e.data.running[i].push(n),e.data.disabled[i]||(a.start.call(e,t,n),e.emit("trackstart",v.extend({},n,{plugin:i,type:"trackstart",track:n})))),l--}}s.endIndex=l,s.startIndex=u,s.previousUpdateTime=o,s.byStart.length<c&&s.startIndex--,s.byEnd.length<d&&s.endIndex--},v.extend(v.p,{getTrackEvents:function(){return v.getTrackEvents.call(null,this)},getTrackEvent:function(e){return v.getTrackEvent.call(null,this,e)},getLastTrackEventId:function(){return v.getLastTrackEventId.call(null,this)},removeTrackEvent:function(e){return v.removeTrackEvent.call(null,this,e),this},removePlugin:function(e){return v.removePlugin.call(null,this,e),this},timeUpdate:function(e){return v.timeUpdate.call(null,this,e),this},destroy:function(){return v.destroy.call(null,this),this}}),v.manifest={},v.registry=[],v.registryByName={},v.plugin=function(a,s,o){if(!(0<=v.protect.natives.indexOf(a.toLowerCase()))){var l="function"==typeof s,u=["start","end","type","manifest"],
8c=["_setup","_teardown","start","end","frame"],e={},d=function(e,t){return e=e||v.nop,t=t||v.nop,function(){e.apply(this,arguments),t.apply(this,arguments)}};v.manifest[a]=o=o||s.manifest||{},c.forEach(function(e){s[e]=n(s[e]||v.nop,a)});var p=function(e,n){if(!n)return this;if(n.ranges&&v.isArray(n.ranges))return v.forEach(n.ranges,function(e){delete(e=v.extend({},n,e)).ranges,this[a](e)},this),this;var t,i=n._natives={},r="";return v.extend(i,e),n._natives.type=n._natives.plugin=a,n._running=!1,i.start=i.start||i["in"],i.end=i.end||i.out,n.once&&(i.end=d(i.end,function(){this.removeTrackEvent(n._id)})),i._teardown=d(function(){var e=f.call(arguments),t=this.data.running[i.type];e.unshift(null),e[1]._running&&t.splice(t.indexOf(n),1)&&i.end.apply(this,e),e[1]._running=!1,this.emit("trackend",v.extend({},n,{plugin:i.type,type:"trackend",track:v.getTrackEvent(this,n.id||n._id)}))},i._teardown),i._teardown=d(i._teardown,function(){this.emit("trackteardown",v.extend({},n,{plugin:a,type:"trackteardown",track:v.getTrackEvent(this,n.id||n._id)}))}),n.compose=n.compose||[],"string"==typeof n.compose&&(n.compose=n.compose.split(" ")),n.effect=n.effect||[],"string"==typeof n.effect&&(n.effect=n.effect.split(" ")),n.compose=n.compose.concat(n.effect),n.compose.forEach(function(e){r=v.compositions[e]||{},c.forEach(function(e){i[e]=d(i[e],r[e])})}),n._natives.manifest=o,"start"in n||(n.start=n["in"]||0),n.end||0===n.end||(n.end=n.out||Number.MAX_VALUE),g.call(n,"toString")||(n.toString=function(){var e=["start: "+n.start,"end: "+n.end,"id: "+(n.id||n._id)];return null!=n.target&&e.push("target: "+n.target),a+" ( "+e.join(", ")+" )"}),n.target||(t="options"in o&&o.options,n.target=t&&"target"in t&&t.target),!n._id&&n._natives&&(n._id=v.guid(n._natives.type)),n instanceof h?(n._natives&&(n._id=n.id||n._id||v.guid(n._natives.type),n._natives._setup&&(n._natives._setup.call(this,n),this.emit("tracksetup",v.extend({},n,{plugin:n._natives.type,type:"tracksetup",track:n})))),this.data.trackEvents.add(n),h.start(this,n),this.timeUpdate(this,null,!0),n._id&&v.addTrackEvent.ref(this,n)):v.addTrackEvent(this,n),v.forEach(e,function(e,t){-1===u.indexOf(t)&&this.on(t,e)},this),this};v.p[a]=e[a]=function(e,t){var n,i;if(e&&!t)t=e;else{if(n=this.getTrackEvent(e)){i=t;var r,o={};for(r in n)g.call(i,r)&&g.call(n,r)&&(o[r]=n[r]);return n._natives._update?(this.data.trackEvents.remove(n),g.call(t,"start")&&(n.start=t.start),g.call(t,"end")&&(n.end=t.end),h.end(this,n),l&&s.call(this,n),n._natives._update.call(this,n,t),this.data.trackEvents.add(n),h.start(this,n),"cue"!==n._natives.type&&this.emit("trackchange",{id:n.id,type:"trackchange",previousValue:o,currentValue:i,track:n})):(v.extend(n,t),this.data.trackEvents.remove(e),n._natives._teardown&&n._natives._teardown.call(this,n),v.removeTrackEvent.ref(this,e),l?p.call(this,s.call(this,n),n):(n._id=n.id||n._id||v.guid(n._natives.type),n._natives&&n._natives._setup&&(n._natives._setup.call(this,n),this.emit("tracksetup",v.extend({},n,{plugin:n._natives.type,type:"tracksetup",track:n}))),this.data.trackEvents.add(n),h.start(this,n),this.timeUpdate(this,null,!0),v.addTrackEvent.ref(this,n)),this.emit("trackchange",{id:n.id,type:"trackchange",previousValue:o,currentValue:n,track:n})),this}t.id=e}return this.data.running[a]=this.data.running[a]||[],n=v.extend({},this.options.defaults&&this.options.defaults[a]||{},t),p.call(this,l?s.call(this,n):s,n),this},o&&v.extend(s,{manifest:o});var t={fn:e[a],definition:s,base:s,parents:[],name:a};return v.registry.push(v.extend(e,t,{type:a})),v.registryByName[a]=t,e}v.error("'"+a+"' is a protected function name")},v.plugin.errors=[],v.plugin.debug="1.5.6"===v.version,v.removePlugin=function(e,t){if(!t){if(t=e,e=v.p,0<=v.protect.natives.indexOf(t.toLowerCase()))return void v.error("'"+t+"' is a protected function name");var n,i=v.registry.length;for(n=0;n<i;n++)if(v.registry[n].name===t)return v.registry.splice(n,1),delete v.registryByName[t],delete v.manifest[t],void delete e[t]}i=e.data.trackEvents.byStart,n=e.data.trackEvents.byEnd;var r,o,a=e.data.trackEvents.animating;for(r=0,o=i.length;r<o;r++)i[r]&&i[r]._natives&&i[r]._natives.type===t&&(i[r]._natives._teardown&&i[r]._natives._teardown.call(e,i[r]),i.splice(r,1),r--,o--,e.data.trackEvents.startIndex<=r&&(e.data.trackEvents.startIndex--,e.data.trackEvents.endIndex--)),n[r]&&n[r]._natives&&n[r]._natives.type===t&&n.splice(r,1);for(r=0,o=a.length;r<o;r++)a[r]&&a[r]._natives&&a[r]._natives.type===t&&(a.splice(r,1),r--,o--)},v.compositions={},v.compose=function(e,t,n){v.manifest[e]=n||t.manifest||{},v.compositions[e]=t},v.plugin.effect=v.effect=v.compose;var y=/^(?:\.|#|\[)/;v.dom={debug:!1,find:function(e,t){var n=null;if(t=t||u,e){if(!y.test(e)&&null!==(n=u.getElementById(e)))return n;try{n=t.querySelector(e)}catch(i){if(v.dom.debug)throw Error(i)}}return n}};var b=/\?/,w={ajax:null,url:"",data:"",dataType:"",success:v.nop,type:"GET",async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8"};v.xhr=function(e){if(e.dataType=e.dataType&&e.dataType.toLowerCase()||null,!e.dataType||"jsonp"!==e.dataType&&"script"!==e.dataType){if((e=v.extend({},w,e)).ajax=new XMLHttpRequest,e.ajax)return"GET"===e.type&&e.data&&(e.url+=(b.test(e.url)?"&":"?")+e.data,e.data=null),e.ajax.open(e.type,e.url,e.async),"POST"===e.type&&e.ajax.setRequestHeader("Content-Type",e.contentType),e.ajax.send(e.data||null),v.xhr.httpData(e)}else v.xhr.getJSONP(e.url,e.success,"script"===e.dataType)},v.xhr.httpData=function(n){var i,r,o=null,a=null;return n.ajax.onreadystatechange=function(){if(4===n.ajax.readyState){try{o=JSON.parse(n.aja
8x.responseText)}catch(e){}if(!(i={xml:n.ajax.responseXML,text:n.ajax.responseText,json:o}).xml||!i.xml.documentElement){i.xml=null;try{r=new DOMParser,(a=r.parseFromString(n.ajax.responseText,"text/xml")).getElementsByTagName("parsererror").length||(i.xml=a)}catch(t){}}n.dataType&&(i=i[n.dataType]),n.success.call(n.ajax,i)}},i},v.xhr.getJSONP=function(e,t,n){var i,r,o=u.head||u.getElementsByTagName("head")[0]||u.documentElement,a=u.createElement("script"),s=!1,l=[];l=/(=)\?(?=&|$)|\?\?/,n||(null!==(r=e.match(/(callback=[^&]*)/))&&r.length?("?"===(l=r[1].split("=")[1])&&(l="jsonp"),i=v.guid(l),e=e.replace(/(callback=[^&]*)/,"callback="+i)):(i=v.guid("jsonp"),l.test(e)&&(e=e.replace(l,"$1"+i)),e=(l=e.split(/\?(.+)?/))[0]+"?",l[1]&&(e+=l[1]+"&"),e+="callback="+i),window[i]=function(e){t&&t(e),s=!0}),a.addEventListener("load",function(){n&&t&&t(),s&&delete window[i],o.removeChild(a)},!1),a.addEventListener("error",function(e){t&&t({error:e}),n||delete window[i],o.removeChild(a)},!1),a.src=e,o.insertBefore(a,o.firstChild)},v.getJSONP=v.xhr.getJSONP,v.getScript=v.xhr.getScript=function(e,t){return v.xhr.getJSONP(e,t,!0)},v.util={toSeconds:function(e,t){var n,i,r,o=/^([0-9]+:){0,2}[0-9]+([.;][0-9]+)?$/;return"number"==typeof e?e:("string"==typeof e&&!o.test(e)&&v.error("Invalid time format"),-1<(i=(o=e.split(":"))[n=o.length-1]).indexOf(";")&&(i=i.split(";"),r=0,t&&"number"==typeof t&&(r=parseFloat(i[1],10)/t),o[n]=parseInt(i[0],10)+r),n=o[0],{1:parseFloat(n,10),2:60*parseInt(n,10)+parseFloat(o[1],10),3:3600*parseInt(n,10)+60*parseInt(o[1],10)+parseFloat(o[2],10)}[o.length||1])}},v.p.cue=v.p.exec,v.protect={natives:(_=v.p,Object.keys?Object.keys(_):function(e){var t,n=[];for(t in e)g.call(e,t)&&n.push(t);return n}(_)).map(function(e){return e.toLowerCase()})},v.forEach({listen:"on",unlisten:"off",trigger:"emit",exec:"cue"},function(e,t){var n=v.p[t];v.p[t]=function(){return"undefined"!=typeof console&&console.warn&&(console.warn("Deprecated method '"+t+"', "+(null==e?"do not use.":"use '"+e+"' instead.")),v.p[t]=n),v.p[e].apply(this,[].slice.call(arguments))}}),l.Popcorn=v}else for(l.Popcorn={isSupported:!1},e="byId forEach extend effects error guid sizeOf isArray nop position disable enable destroyaddTrackEvent removeTrackEvent getTrackEvents getTrackEvent getLastTrackEventId timeUpdate plugin removePlugin compose effect xhr getJSONP getScript".split(/\s+/);e.length;)l.Popcorn[e.shift()]=function(){};var _,x}(window,window.document),function(e,c){var s=e.document,t=e.location,l=/:\/\//,u=t.href.replace(t.href.split("/").slice(-1)[0],""),d=function(e,t,n){e=e||0,t=(t||e||0)+1,n=n||1,t=Math.ceil((t-e)/n)||0;var i=0,r=[];for(r.length=t;i<t;)r[i++]=e,e+=n;return r};c.sequence=function(e,t){return new c.sequence.init(e,t)},c.sequence.init=function(o,e){this.parent=s.getElementById(o),this.seqId=c.guid("__sequenced"),this.queue=[],this.playlist=[],this.inOuts={ofVideos:[],ofClips:[]},this.dims={width:0,height:0},this.active=0,this.playing=this.cycling=!1,this.times={last:0},this.events={};var a=this,t=0;return c.forEach(e,function(e,t){var n=s.createElement("video");n.preload="auto",n.controls=!0,n.style.display=t?"none":"",n.id=a.seqId+"-"+t,a.queue.push(n);var i=e["in"],r=e.out;a.inOuts.ofVideos.push({"in":i!==undefined&&i||1,out:r!==undefined&&r||0}),a.inOuts.ofVideos[t].out=a.inOuts.ofVideos[t].out||a.inOuts.ofVideos[t]["in"]+2,n.src=l.test(e.src)?e.src:u+e.src,n.setAttribute("data-sequence-owner",o),n.setAttribute("data-sequence-guid",a.seqId),n.setAttribute("data-sequence-id",t),n.setAttribute("data-sequence-clip",[a.inOuts.ofVideos[t]["in"],a.inOuts.ofVideos[t].out].join(":")),a.parent.appendChild(n),a.playlist.push(c("#"+n.id))}),a.inOuts.ofVideos.forEach(function(e){e={"in":t,out:t+(e.out-e["in"])},a.inOuts.ofClips.push(e),t=e.out+1}),c.forEach(this.queue,function(n,e){function t(){return e||(a.dims.width=n.videoWidth,a.dims.height=n.videoHeight),n.currentTime=a.inOuts.ofVideos[e]["in"]-.5,n.removeEventListener("canplaythrough",t,!1),!0}n.addEventListener("canplaythrough",t,!1),n.addEventListener("play",function(){a.playing=!0},!1),n.addEventListener("pause",function(){a.playing=!1},!1),n.addEventListener("timeupdate",function(e){e=+((e=e.srcElement||e.target).dataset&&e.dataset.sequenceId||e.getAttribute("data-sequence-id"));var t=Math.floor(n.currentTime);a.times.last!==t&&e===a.active&&(a.times.last=t)===a.inOuts.ofVideos[e].out&&c.sequence.cycle.call(a,e)},!1)}),this},c.sequence.init.prototype=c.sequence.prototype,c.sequence.cycle=function(e){this.queue||c.error("Popcorn.sequence.cycle is not a public method");var t,n=this.queue,i=this.inOuts.ofVideos,r=n[e],o=0;
8return n[e+1]&&(o=e+1),n[e+1]?(n=n[o],i=i[o],c.extend(n,{width:this.dims.width,height:this.dims.height}),t=this.playlist[o],r.pause(),this.active=o,this.times.last=i["in"]-1,t.currentTime(i["in"]),t[o?"play":"pause"](),this.trigger("cycle",{position:{previous:e,current:o}}),o&&(r.style.display="none",n.style.display=""),this.cycling=!1):this.playlist[e].pause(),this};var p=["timeupdate","play","pause"];c.extend(c.sequence.prototype,{eq:function(e){return this.playlist[e]},remove:function(){this.parent.innerHTML=null},clip:function(e){return this.inOuts.ofVideos[e]},duration:function(){for(var e=0,t=this.inOuts.ofClips,n=0;n<t.length;n++)e+=t[n].out-t[n]["in"]+1;return e-1},play:function(){return this.playlist[this.active].play(),this},exec:function(n,e){var i=this.active;return this.inOuts.ofClips.forEach(function(e,t){n>=e["in"]&&n<=e.out&&(i=t)}),n+=this.inOuts.ofVideos[i]["in"]-this.inOuts.ofClips[i]["in"],c.addTrackEvent(this.playlist[i],{start:n-1,end:n,_running:!1,_natives:{start:e||c.nop,end:c.nop,type:"exec"}}),this},listen:function(n,i){var r=this,e=this.playlist,o=e.length,a=0;return i||(i=c.nop),-1<c.Events.Natives.indexOf(n)?c.forEach(e,function(t){t.listen(n,function(e){e.active=r,-1<p.indexOf(n)?i.call(t,e):++a===o&&i.call(t,e)})}):(this.events[n]||(this.events[n]={}),e=i.name||c.guid("__"+n),this.events[n][e]=i),this},unlisten:function(){},trigger:function(t,n){var i=this;if(!(-1<c.Events.Natives.indexOf(t)))return this.events[t]&&c.forEach(this.events[t],function(e){e.call(i,{type:t},n)}),this}}),c.forEach(c.manifest,function(e,u){c.sequence.prototype[u]=function(e){var t,n,i,r,o,a={},s=[];for(t=0;t<this.inOuts.ofClips.length;t++)s=this.inOuts.ofClips[t],i=(n=d(s["in"],s.out)).indexOf(e.start),r=n.indexOf(e.end),-1<i&&(a[t]=c.extend({},s,{start:n[i],clipIdx:i})),-1<r&&(a[t]=c.extend({},s,{end:n[r],clipIdx:r}));for(t=Object.keys(a).map(function(e){return+e}),s=d(t[0],t[1]),t=0;t<s.length;t++){i={};var l=a[r=s[t]];l?(o=this.inOuts.ofVideos[r],n=l.clipIdx,o=d(o["in"],o.out),l.start&&(i.start=o[n],i.end=o[o.length-1]),l.end&&(i.start=o[0],i.end=o[n])):(i.start=this.inOuts.ofVideos[r]["in"],i.end=this.inOuts.ofVideos[r].out),this.playlist[r][u](c.extend({},e,i))}return this}})}(this,Popcorn),function(e,o){function t(e){var t=(e="string"==typeof e?e:[e.language,e.region].join("-")).split("-");return{iso6391:e,language:t[0]||"",region:t[1]||""}}var n=e.navigator,i=t(n.userLanguage||n.language);o.locale={get:function(){return i},set:function(e){return i=t(e),o.locale.broadcast(),i},broadcast:function(e){var t,n=o.instances,i=n.length,r=0;for(e=e||"locale:changed";r<i;r++)e in(t=n[r]).data.events&&t.trigger(e)}}}(this,this.Popcorn),function(s){document.addEventListener("DOMContentLoaded",function(){var a=document.querySelectorAll("[data-timeline-sources]");s.forEach(a,function(e,t){var n,i,r,o=a[t];o.id||(o.id=s.guid("__popcorn")),o.nodeType&&1===o.nodeType&&(r=s("#"+o.id),(n=(o.getAttribute("data-timeline-sources")||"").split(","))[0]&&s.forEach(n,function(e){1===(i=e.split("!")).length&&((i=e.match(/(.*)[\/\\]([^\/\\]+\.\w+)$/)[2].split("."))[0]="parse"+i[1].toUpperCase(),i[1]=e),n[0]&&r[i[0]]&&r[i[0]](i[1])}),r.autoplay()&&r.play())})},!1)}(Popcorn),function(g){var m=function(e,t){return e=e||g.nop,t=t||g.nop,function(){e.apply(this,arguments),t.apply(this,arguments)}};g.player=function(e,f){if(!g[e]){f=f||{};var t=function(e,t,n){n=n||{};var i=new Date/1e3,r=i,o=0,a=0,s=1,l=!1,u={},c="string"==typeof e?g.dom.find(e):e,d={};for(var p in Object.prototype.__defineGetter__||(d=c||document.createElement("div")),c)p in d||("object"==typeof c[p]?d[p]=c[p]:"function"==typeof c[p]?d[p]=function(e){return"length"in c[e]&&!c[e].call?c[e]:function(){return c[e].apply(c,arguments)}}(p):g.player.defineProperty(d,p,{get:function(e){return function(){return c[e]}}(p),set:g.nop,configurable:!0}));var h=function(){i=new Date/1e3,d.paused||(d.currentTime+=i-r,d.dispatchEvent("timeupdate"),setTimeout(h,10)),r=i};return d.play=function(){this.paused=!1,4<=d.readyState&&(r=new Date/1e3,d.dispatchEvent("play"),h())},d.pause=function(){this.paused=!0,d.dispatchEvent("pause")},g.player.defineProperty(d,"currentTime",{get:function(){return o}
8,set:function(e){return o=+e,d.dispatchEvent("timeupdate"),o},configurable:!0}),g.player.defineProperty(d,"volume",{get:function(){return s},set:function(e){return s=+e,d.dispatchEvent("volumechange"),s},configurable:!0}),g.player.defineProperty(d,"muted",{get:function(){return l},set:function(e){return l=+e,d.dispatchEvent("volumechange"),l},configurable:!0}),g.player.defineProperty(d,"readyState",{get:function(){return a},set:function(e){return a=e},configurable:!0}),d.addEventListener=function(e,t){return u[e]||(u[e]=[]),u[e].push(t),t},d.removeEventListener=function(e,t){var n,i=u[e];if(i){for(n=u[e].length-1;0<=n;n--)t===i[n]&&i.splice(n,1);return t}},d.dispatchEvent=function(e){var t,n=e.type;if(n||(n=e,(e=g.events.getInterface(n))&&(t=document.createEvent(e)).initEvent(n,!0,!0,window,1)),u[n])for(e=u[n].length-1;0<=e;e--)u[n][e].call(this,t,this)},d.src=t||"",d.duration=0,d.paused=!0,d.ended=0,n&&n.events&&g.forEach(n.events,function(e,t){d.addEventListener(t,e,!1)}),!1!==f._canPlayType(c.nodeName,t)?f._setup?f._setup.call(d,n):(d.readyState=4,d.dispatchEvent("loadedmetadata"),d.dispatchEvent("loadeddata"),d.dispatchEvent("canplaythrough")):setTimeout(function(){d.dispatchEvent("error")},0),e=new g.p.init(d,n),f._teardown&&(e.destroy=m(e.destroy,function(){f._teardown.call(d,n)})),e};t.canPlayType=f._canPlayType=f._canPlayType||g.nop,g[e]=g.player.registry[e]=t}},g.player.registry={},g.player.defineProperty=Object.defineProperty||function(e,t,n){e.__defineGetter__(t,n.get||g.nop),e.__defineSetter__(t,n.set||g.nop)},g.player.playerQueue=function(){var t=[],n=!1;return{next:function(){n=!1,t.shift(),t[0]&&t[0]()},add:function(e){t.push(function(){n=!0,e&&e()}),!n&&t[0]()}}},g.smart=function(e,t,n){var i,r,o,a,s,l="string"==typeof e?g.dom.find(e):e,u="HTMLYouTubeVideoElement HTMLVimeoVideoElement HTMLSoundCloudAudioElement HTMLNullVideoElement".split(" ");if(l){for(e=0,s=(t="string"==typeof t?[t
9]:t).length;e<s;e++){for(i=t[e],r=0;r<u.length;r++)if((a=g[u[r]])&&"probably"===a._canPlaySrc(i))return o=a(l),n=g(o,n),setTimeout(function(){o.src=i},0),n;for(var c in g.player.registry)if(g.player.registry.hasOwnProperty(c)&&g.player.registry[c].canPlayType(l.nodeName,i))return g[c](l,i,n)}var d;if(c=g.guid("popcorn-video-"),(r=document.createElement("div")).style.width="100%",r.style.height="100%",1===t.length)return(d=document.createElement("video")).id=c,l.appendChild(d),setTimeout(function(){var e=document.createElement("div");
9e.innerHTML=t[0],d.src=e.firstChild.nodeValue},0),g("#"+c,n);for(l.appendChild(r),u='<video id="'+c+'" preload=auto autobuffer>',e=0,s=t.length;e<s;e++)u+='<source src="'+t[e]+'">';return u+="</video>",r.innerHTML=u,n&&n.events&&n.events.error&&l.addEventListener("error",n.events.error,!1),g("#"+c,n)}g.error("Specified target `"+e+"` was not found.")}}(Popcorn),function(i){var u=Object.prototype.hasOwnProperty;i.parsers={},i.parser=function(e,t,l){if(0<=i.protect.natives.indexOf(e.toLowerCase()))i.error("'"+e+"' is a protected function name");else if("function"!=typeof t||l||(l=t,t=""),"function"==typeof l&&"string"==typeof t){var n={};return n[e]=function(e,o,a){if(!e)return this;"function"==typeof o||a||(a=o,o=null);var s=this;return i.xhr({url:e,dataType:t,success:function(e){var t,n,i=0;if(t=(e=l(e,a).data||[]).length){for(;i<t;i++)for(var r in n=e[i])u.call(n,r)&&s[r]&&s[r](n[r]);o&&o()}}}),this},i.extend(i.p,n),n}}}(Popcorn),function(n,i){function o(e){var i=o.options;e=i.parser[i.strictMode?"strict":"loose"].exec(e);for(var r={},t=14;t--;)r[i.key[t]]=e[t]||"";return r[i.q.name]={},r[i.key[12]].replace(i.q.parser,function(e,t,n){t&&(r[i.q.name][t]=n)}),r}o.options={strictMode:!1,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}};var r={length:0,start:n.nop,end:n.nop};window.MediaError=window.MediaError||function(){function e(e,t){this.code=e||null,this.message=t||""}return e.MEDIA_ERR_NONE_ACTIVE=0,e.MEDIA_ERR_ABORTED=1,e.MEDIA_ERR_NETWORK=2,e.MEDIA_ERR_DECODE=3,e.MEDIA_ERR_NONE_SUPPORTED=4,e}(),n._MediaElementProto=function(){var t,e={};return Object.prototype.__defineGetter__||(e=i.createElement("div")),e._util={type:"HTML5",TIMEUPDATE_MS:250,MIN_WIDTH:300,MIN_HEIGHT:150,isAttributeSet:function(e){return"string"==typeof e||!0===e},parseUri:o},e.addEventListener=function(e,t,n){i.addEventListener(this._eventNamespace+e,t,n)},e.removeEventListener=function(e,t,n){i.removeEventListener(this._eventNamespace+e,t,n)},e.dispatchEvent=function(e){var t=i.createEvent("CustomEvent");t.initCustomEvent(this._eventNamespace+e,!1,!1,{type:e,target:this.parentNode,data:null}),i.dispatchEvent(t)},e.load=n.nop,e.canPlayType=function(){return""},e.getBoundingClientRect=function(){return t.getBoundingClientRect()},e.NETWORK_EMPTY=0,e.NETWORK_IDLE=1,e.NETWORK_LOADING=2,e.NETWORK_NO_SOURCE=3,e.HAVE_NOTHING=0,e.HAVE_METADATA=1,e.HAVE_CURRENT_DATA=2,e.HAVE_FUTURE_DATA=3,e.HAVE_ENOUGH_DATA=4,Object.defineProperties(e,{currentSrc:{get:function(){return this.src!==undefined?this.src:""},configurable:!0},parentNode:{get:function(){return t},set:function(e){t=e},configurable:!0},preload:{get:function(){return"auto"},set:n.nop,configurable:!0},controls:{get:function(){return!0},set:n.nop,configurable:!0},poster:{get:function(){return""},set:n.nop,configurable:!0},crossorigin:{get:function(){return""},configurable:!0},played:{get:function(){return r},configurable:!0},seekable:{get:function(){return r},configurable:!0},buffered:{get:function(){return r},configurable:!0},defaultMuted:{get:function(){return!1},configurable:!0},defaultPlaybackRate:{get:function(){return 1},configurable:!0},style:{get:function(){return this.parentNode.style},configurable:!0},id:{get:function(){return this.parentNode.id},configurable:!0}}),e}}(Popcorn,window.document),function(O,P,A){function n(){if(P.jwplayer){i=!0;for(var e=o.length;e--;)o[e](),delete o[e]}else setTimeout(n,100)}function M(){if(!r){if(!P.jwplayer){var e=A.createElement("script");e.src="https://jwpsrv.com/library/zaIF4JI9EeK2FSIACpYGxA.js";var t=A.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}r=!0,n()}return i}function I(e){o.unshift(e)}function t(e){function t(e){C.unshift(e)}function n(){setTimeout(function(){for(b.duration=m.getDuration(),v.dispatchEvent("durationchange"),b.readyState=v.HAVE_METADATA,v.dispatchEvent("loadedmetadata"),v.dispatchEvent("loadeddata"),b.readyState=v.HAVE_FUTURE_DATA,v.dispatchEvent("canplay"),k=!0;C.length;)C[0](),C.shift();b.readyState=v.HAVE_ENOUGH_DATA,v.dispatchEvent("canplaythrough")},0)}function i(){_?_=!1:D?(D=!1,n()):p()}function r(){b.seeking&&(b.ended=!1,b.seeking=!1,v.dispatchEvent("timeupdate"),v.dispatchEvent("seeked"),v.dispatchEvent("canplay"),v.dispatchEvent("canplaythrough"))}function o(){m.onPause(i),m.onTime(function(){b.ended||b.seeking||(b.currentTime=m.getPosition(),v.dispatchEvent("timeupdate"))}),m.onSeek(r),m.onPlay(function(){b.ended||(E?(E=!1,b.autoplay||!b.paused?(b.paused=!1,t(c),n()):(x=D=!0,m.pause(!0))):x?(_=!(x=!1),m.pause(!0)):c())}),m.onBufferChange(d),m.onComplete(h),m.play(!0)}function a(e){var t={name:"MediaError"};t.message=e.message,t.code=e.code||5,b.error=t,v.dispatchEvent("error")}function s(e){if(v._canPlaySrc(e)){var t=v._util.parseUri(e).queryKey;b.controls=t.controls=t.controls||b.controls,b.src=e,M()?(w&&w&&m&&m.destroy(),jwplayer(y.id).setup({file:e,width:"100%",height:"100%",controls:b.controls}),(m=jwplayer(y.id)).onReady(o),m.onError(a),jwplayer.utils.log=function(e,t){"undefined"!=typeof console&&"undefined"!=typeof console.log&&(t?console.log(e,t):console.log(e)),"No suitable players found and fallback enabled"===e&&a({message:e,code:4})},b.networkState=v.NETWORK_LOADING,v.dispatchEvent("loadstart"),v.dispatchEvent("progress")):I(function(){s(e)})}else b.error={name:"MediaError",message:"Media Source Not Supported",code:MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED},v.dispatchEvent("error")}function l(e){b.currentTime=e,k?(u(),m.seek(e)):t(function(){u(),m.seek(e)})}function u(){b.seeking=!0,b.paused&&(x=!0),v.dispatchEvent("seeking")}function c(){b.paused=!1,S&&(S=!1,(b.loop&&!T||!b.loop)&&(T=!0,v.dispatchEvent("play")),v.dispatchEvent("playing"))}function d(){v.dispatchEvent("progress")}function p(){b.paused=!0,S||(S=!0,v.dispatchEvent("pause"))}function h(){b.loop?l(0):(b.ended=!0,p(),v.dispatchEvent("timeupdate"),v.dispatchEvent("ended"))}function f(e){b.volume=e,k?(m.setVolume(100*b.volume),v.dispatchEvent("volumechange")):t(function(){f(b.volume)})}function g(e){b.muted=e,k?(m.setMute(e),v.dispatchEvent("volumechange")):t(function(){g(b.muted)})}if(!P.postMessage)throw"ERROR: HTMLJWPlayerVideoElement requires window.postMessage";var m,v=new O._MediaElementProto,y="string"==typeof e?A.querySelector(e):e,b={src:j,networkState:v.NETWORK_EMPTY,readyState:v.HAVE_NOTHING,seeking:!1,autoplay:j,preload:j,controls:!1,loop:!1,poster:j,volume:1,muted:!1,currentTime:0,duration:NaN,ended:!1,paused:!0,error:null},w=!1,_=!1,x=!1,k=!1,T=!1,S=!0,C=[],E=!0,D=!1;return v._eventNamespace=O.guid("HTMLJWPlayerVideoElement::"),v.parentNode=y,v._util.type="JWPlayer",v.play=function(){v.dispatchEvent("play"),b.paused=!1,k?(b.ended&&(l(0),b.ended=!1),m.play(!0)):t(function(){v.play()})},v.pause=function(){b.paused=!0,k?m.pause(!0):t(function(){v.pause()})},Object.defineProperties(v,{src:{get:function(){return b.src},set:function(e){e&&e!==b.src&&s(e)}},autoplay:{get:function(){return b.autoplay}
9,set:function(e){b.autoplay=v._util.isAttributeSet(e)}},loop:{get:function(){return b.loop},set:function(e){b.loop=v._util.isAttributeSet(e)}},width:{get:function(){return v.parentNode.offsetWidth}},height:{get:function(){return v.parentNode.offsetHeight}},currentTime:{get:function(){return b.currentTime},set:function(e){l(e)}},duration:{get:function(){return m.getDuration()}},ended:{get:function(){return b.ended}},paused:{get:function(){return b.paused}},seeking:{get:function(){return b.seeking}},readyState:{get:function(){return b.readyState}},networkState:{get:function(){return b.networkState}},volume:{get:function(){return b.volume},set:function(e){if(e<0||1<e)throw"Volume value must be between 0.0 and 1.0";f(e)}},muted:{get:function(){return b.muted},set:function(e){g(v._util.isAttributeSet(e))}},error:{get:function(){return b.error}},buffered:{get:function(){var e={start:function(e){if(0===e)return 0;throw"INDEX_SIZE_ERR: DOM Exception 1"},end:function(e){if(0===e)return(e=m.getDuration())?e*(m.getBuffer()/100):0;throw"INDEX_SIZE_ERR: DOM Exception 1"}};return Object.defineProperties(e,{length:{get:function(){return 1}}}),e}}}),v._canPlaySrc=O.HTMLJWPlayerVideoElement._canPlaySrc,v.canPlayType=O.HTMLJWPlayerVideoElement.canPlayType,v}var j="",i=!1,r=!1,o=[];O.HTMLJWPlayerVideoElement=function(e){return new t(e)},O.HTMLJWPlayerVideoElement._canPlaySrc=function(){return"probably"},O.HTMLJWPlayerVideoElement.canPlayType=function(){return"probably"}}(Popcorn,window,document),function(g,m){function v(e){this.startTime=0,this.currentTime=e.currentTime||0,this.duration=e.duration||NaN,this.playInterval=null,this.paused=!0,this.playbackRate=this.defaultPlaybackRate=1,this.ended=e.endedCallback||g.nop}function t(e){function t(e){f.push(e)}function n(){return p?s.currentTime:0}function i(e){e!==n()&&(p?(h.seeking=!0,u.dispatchEvent("seeking"),s.seekTo(e),h.ended=!1,h.seeking=!1,u.dispatchEvent("timeupdate"),u.dispatchEvent("seeked"),u.dispatchEvent("canplay"),u.dispatchEvent("canplaythrough")):t(function(){i(e)}))}function r(){u.dispatchEvent("timeupdate")}function o(){h.paused=!0,clearInterval(l),u.dispatchEvent("pause")}function a(){h.loop?(i(0),u.play()):(h.ended=!0,o(),u.dispatchEvent("timeupdate"),u.dispatchEvent("ended"))}var s,l,u=new g._MediaElementProto,c="string"==typeof e?m.querySelector(e):e,d=m.createElement("div"),p=!1,h={src:y,networkState:u.NETWORK_EMPTY,readyState:u.HAVE_NOTHING,autoplay:y,preload:y,controls:y,loop:!1,poster:y,volume:1,muted:!1,width:0|c.width?c.width:u._util.MIN_WIDTH,height:0|c.height?c.height:u._util.MIN_HEIGHT,seeking:!1,ended:!1,paused:1,error:null},f=[];return u._eventNamespace=g.guid("HTMLNullVideoElement::"),u.parentNode=c,u._util.type="NullVideo",u.play=function(){p?(s.play(),h.paused&&(1===h.paused?(h.paused=!1,u.dispatchEvent("play"),u.dispatchEvent("playing")):(h.ended&&(i(0),h.ended=!1),h.paused&&(h.paused=!1,h.loop||u.dispatchEvent("play"),u.dispatchEvent("playing"))),l=setInterval(r,u._util.TIMEUPDATE_MS))):t(function(){u.play()})},u.pause=function(){p?(s.pause(),h.paused||o()):t(function(){u.pause()})},Object.defineProperties(u,{src:{get:function(){return h.src},set:function(e){if(e&&e!==h.src)if(u._canPlaySrc(e)){for(h.src=e,p&&p&&s&&(s.pause(),s=null,c.removeChild(d),d=m.createElement("div")),d.width=h.width,d.height=h.height,c.appendChild(d),e=b.exec(e),s=new v({currentTime:+e[1],duration:+e[2],endedCallback:a}),u.dispatchEvent("loadstart"),u.dispatchEvent("progress"),u.dispatchEvent("durationchange"),p=!0,h.networkState=u.NETWORK_IDLE,h.readyState=u.HAVE_METADATA,u.dispatchEvent("loadedmetadata"),u.dispatchEvent("loadeddata"),h.readyState=u.HAVE_FUTURE_DATA,u.dispatchEvent("canplay"),h.readyState=u.HAVE_ENOUGH_DATA,u.dispatchEvent("canplaythrough");f.length;)(e=f.shift())();h.autoplay&&u.play()}else h.error={name:"MediaError",message:"Media Source Not Supported",code:MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED},u.dispatchEvent("error")}},autoplay:{get:function(){return h.autoplay},set:function(e){h.autoplay=u._util.isAttributeSet(e)}},loop:{get:function(){return h.loop},set:function(e){h.loop=u._util.isAttributeSet(e)}},width:{get:function(){return d.width}
9,set:function(e){d.width=e,h.width=d.width}},height:{get:function(){return d.height},set:function(e){d.height=e,h.height=d.height}},currentTime:{get:function(){return n()},set:function(e){i(e)}},duration:{get:function(){return s?s.duration:NaN}},ended:{get:function(){return h.ended}},paused:{get:function(){return h.paused}},seeking:{get:function(){return h.seeking}},readyState:{get:function(){return h.readyState}},networkState:{get:function(){return h.networkState}},volume:{get:function(){return h.volume},set:function(e){if(e<0||1<e)throw"Volume value must be between 0.0 and 1.0";h.volume=e,u.dispatchEvent("volumechange")}},muted:{get:function(){return h.muted},set:function(e){e=u._util.isAttributeSet(e),h.muted=e,u.dispatchEvent("volumechange")}},playbackRate:{get:function(){return s.playbackRate},set:function(e){s.playbackRate=e,u.dispatchEvent("ratechange")}},error:{get:function(){return h.error}}}),u._canPlaySrc=g.HTMLNullVideoElement._canPlaySrc,u.canPlayType=g.HTMLNullVideoElement.canPlayType,u}var y="",b=/#t=(\d+\.?\d*)?,?(\d+\.?\d*)/;v.prototype={play:function(){var e=this;this.paused&&(this.paused=!1,this.startTime=Date.now(),this.playInterval=setInterval(function(){e.currentTime+=(Date.now()-e.startTime)/(1e3/e.playbackRate),e.startTime=Date.now(),e.currentTime>=e.duration&&(e.pause(e.duration),e.ended()),e.currentTime<0&&e.pause(0)},16))},pause:function(){this.paused||(this.paused=!0,clearInterval(this.playInterval))},seekTo:function(e){e=e<0?0:e,this.currentTime=e=e>this.duration?this.duration:e}},g.HTMLNullVideoElement=function(e){return new t(e)},g.HTMLNullVideoElement._canPlaySrc=function(e){return b.test(e)?"probably":y},g.HTMLNullVideoElement.canPlayType=function(e){return"video/x-nullvideo"===e?"probably":y}}(Popcorn,document),function(k,T,S){function C(n){var e=this,i=n.src.split("?")[0];"//"===i.substr(0,2)&&(i=T.location.protocol+i),"play pause paused seekTo unload getCurrentTime getDuration getVideoEmbedCode getVideoHeight getVideoWidth getVideoUrl getColor setColor setLoop getVolume setVolume addEventListener".split(" ").forEach(function(t){e[t]=function(e){e=JSON.stringify({method:t,value:e}
9),n.contentWindow&&n.contentWindow.postMessage(e,i)}})}function t(e){function t(e){_.unshift(e)}function i(e){var t=v.duration;if(t!==e&&(v.duration=e,f.dispatchEvent("durationchange"),isNaN(t)))for(v.networkState=f.NETWORK_IDLE,v.readyState=f.HAVE_METADATA,f.dispatchEvent("loadedmetadata"),f.dispatchEvent("loadeddata"),v.readyState=f.HAVE_FUTURE_DATA,f.dispatchEvent("canplay"),v.readyState=f.HAVE_ENOUGH_DATA,f.dispatchEvent("canplaythrough"),v.autoplay&&f.play(),e=_.length;e--;)_[e](),delete _[e]}function r(e){y?(v.seeking=!0,f.dispatchEvent("seeking"),d.seekTo(e)):t(function(){r(e)})}function o(){f.dispatchEvent("timeupdate")}function a(e){(v.currentTime=e)!==x&&f.dispatchEvent("timeupdate"),x=v.currentTime}function s(e){if(e.origin===O){var t;try{t=JSON.parse(e.data)}catch(n){console.warn(n)}if(t.player_id==b)switch(t.event){case"ready":(d=new C(m)).addEventListener("loadProgress"),d.addEventListener("pause"),d.setVolume(0),d.play();break;case"loadProgress":0<parseFloat(t.data.duration)&&!y&&(y=!0,d.pause());break;case"pause":d.setVolume(1),T.removeEventListener("message",s,!1),T.addEventListener("message",l,!1),d.addEventListener("loadProgress"),d.addEventListener("playProgress"),d.addEventListener("play"),d.addEventListener("pause"),d.addEventListener("finish"),d.addEventListener("seek"),d.getDuration(),v.networkState=f.NETWORK_LOADING,f.dispatchEvent("loadstart"),f.dispatchEvent("progress")}}}function l(e){if(e.origin===O){var t;try{t=JSON.parse(e.data)}catch(n){console.warn(n)}if(t.player_id==b){switch(t.method){case"getCurrentTime":a(parseFloat(t.value));break;case"getDuration":i(parseFloat(t.value));break;case"getVolume":e=parseFloat(t.value),v.volume!==e&&(v.volume=e,f.dispatchEvent("volumechange"))}switch(t.event){case"loadProgress":f.dispatchEvent("progress"),i(parseFloat(t.data.duration));break;case"playProgress":a(parseFloat(t.data.seconds));break;case"play":v.ended&&r(0),h||(h=setInterval(u,E),v.loop&&f.dispatchEvent("play")),p=setInterval(o,f._util.TIMEUPDATE_MS),v.paused=!1,w&&(w=!1,v.loop||f.dispatchEvent("play"),f.dispatchEvent("playing"));break;case"pause":v.paused=!0,w||(w=!0,clearInterval(p),f.dispatchEvent("pause"));break;case"finish":v.loop?(r(0),f.play()):(v.ended=!0,f.dispatchEvent("ended"));break;case"seek":a(parseFloat(t.data.seconds)),v.seeking=!1,f.dispatchEvent("timeupdate"),f.dispatchEvent("seeked"),f.dispatchEvent("canplay"),f.dispatchEvent("canplaythrough")}}}}function u(){d.getCurrentTime()}function n(e){v.volume=e,y?(d.setVolume(e),f.dispatchEvent("volumechange")):t(function(){n(e)})}function c(e){y?e?(v.muted=v.volume,n(0)):(v.muted=0,n(v.muted)):(v.muted=e?1:0,t(function(){c(e)}))}if(!T.postMessage)throw"ERROR: HTMLVimeoVideoElement requires window.postMessage";var d,p,h,f=new k._MediaElementProto,g="string"==typeof e?k.dom.find(e):e,m=S.createElement("iframe"),v={src:D,networkState:f.NETWORK_EMPTY,readyState:f.HAVE_NOTHING,seeking:!1,autoplay:D,preload:D,controls:!1,loop:!1,poster:D,volume:1,muted:0,currentTime:0,duration:NaN,ended:!1,paused:!0,error:null},y=!1,b=k.guid(),w=!0,_=[],x=0;return f._eventNamespace=k.guid("HTMLVimeoVideoElement::"),f.parentNode=g,f._util.type="Vimeo",f.play=function(){v.paused=!1,y?d.play():t(function(){f.play()})},f.pause=function(){v.paused=!0,y?d.pause():t(function(){f.pause()})},Object.defineProperties(f,{src:{get:function(){return v.src},set:function(e){if(e&&e!==v.src)if(f._canPlaySrc(e)){v.src=e,y&&y&&d&&(clearInterval(h),d.pause(),T.removeEventListener("message",l,!1),g.removeChild(m),m=S.createElement("iframe")),y=!1;var t,n=(e=f._util.parseUri(e)).queryKey,i=["api=1","player_id="+b,"title=0","byline=0","portrait=0"];for(t in v.loop="1"===n.loop||v.loop,delete n.loop,v.autoplay="1"===n.autoplay||v.autoplay,delete n.autoplay,e=O+"/video/"+/\d+$/.exec(e.path)+"?",n)n.hasOwnProperty(t)&&i.push(encodeURIComponent(t)+"="+encodeURIComponent(n[t]));e+=i.join("&"),m.id=b,m.style.width="100%",m.style.height="100%",m.frameBorder=0,m.webkitAllowFullScreen=!0,m.mozAllowFullScreen=!0,m.allowFullScreen=!0,g.appendChild(m),m.src=e,T.addEventListener("message",s,!1)}else v.error={name:"MediaError",message:"Media Source Not Supported",code:MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED},f.dispatchEvent("error")}}
9,autoplay:{get:function(){return v.autoplay},set:function(e){v.autoplay=f._util.isAttributeSet(e)}},loop:{get:function(){return v.loop},set:function(e){v.loop=f._util.isAttributeSet(e)}},width:{get:function(){return f.parentNode.offsetWidth}},height:{get:function(){return f.parentNode.offsetHeight}},currentTime:{get:function(){return v.currentTime},set:function(e){r(e)}},duration:{get:function(){return v.duration}},ended:{get:function(){return v.ended}},paused:{get:function(){return v.paused}},seeking:{get:function(){return v.seeking}},readyState:{get:function(){return v.readyState}},networkState:{get:function(){return v.networkState}},volume:{get:function(){return 0<v.muted?v.muted:v.volume},set:function(e){if(e<0||1<e)throw"Volume value must be between 0.0 and 1.0";n(e)}},muted:{get:function(){return 0<v.muted},set:function(e){c(f._util.isAttributeSet(e))}},error:{get:function(){return v.error}}}),f._canPlaySrc=k.HTMLVimeoVideoElement._canPlaySrc,f.canPlayType=k.HTMLVimeoVideoElement.canPlayType,f}var E=16,D="",O="https://player.vimeo.com";k.HTMLVimeoVideoElement=function(e){return new t(e)},k.HTMLVimeoVideoElement._canPlaySrc=function(e){return/player.vimeo.com\/video\/\d+/.test(e)||/vimeo.com\/\d+/.test(e)?"probably":D},k.HTMLVimeoVideoElement.canPlayType=function(e){return"video/x-vimeo"===e?"probably":D}}(Popcorn,window,document),function(e,r){function o(){return"maybe"}function t(e,t){var n="string"==typeof e?r.querySelector(e):e,i=r.createElement(t);return n.appendChild(i),i._canPlaySrc=o,i}e.HTMLVideoElement=function(e){return t(e,"video")},e.HTMLVideoElement._canPlaySrc=o,e.HTMLAudioElement=function(e){return t(e,"audio")},e.HTMLAudioElement._canPlaySrc=o}(Popcorn,window.document),function(z,F,W){function t(){if(YT.loaded)for(i=!0;o.length;)o.shift()();else setTimeout(t,250)}function q(){var e;return r||(F.YT?t():((e=W.createElement("script")).addEventListener("load",t,!1),e.src="https://www.youtube.com/iframe_api",W.head.appendChild(e)),r=!0),i}function B(e){o.push(e)}function n(e){function i(e){$.push(e)}function t(){S.pauseVideo(),c("play",t),u("play",_)}function n(){u("pause",x),c("pause",n)}function r(){var e=function(){S.isMuted()?(u("play",l),S.playVideo()):setTimeout(e,0)};I=!0,S.mute(),e()}function o(e){var t={name:"MediaError"};switch(e.data){case 2:t.message="Invalid video parameter.",t.code=MediaError.MEDIA_ERR_ABORTED;break;case 5:t.message="The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.",t.code=MediaError.MEDIA_ERR_DECODE;case 100:t.message="Video not found.",t.code=MediaError.MEDIA_ERR_NETWORK;break;case 101:case 150:t.message="Video not usable.",t.code=MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED;break;default:t.message="Unknown error.",t.code=5}M.error=t,O.dispatchEvent("error")}function a(){for(u("play",_),u("pause",x),!M.autoplay&&M.paused||(c("play",a),M.paused=!1,i(function(){M.paused||_()})),M.muted||S.unMute(),M.readyState=O.HAVE_METADATA,O.dispatchEvent("loadedmetadata"),E=setInterval(g,V),O.dispatchEvent("loadeddata"),M.readyState=O.HAVE_FUTURE_DATA,O.dispatchEvent("canplay"),j=!0,C=setInterval(m,50);$.length;)$[0](),$.shift();M.readyState=O.HAVE_ENOUGH_DATA,O.dispatchEvent("canplaythrough")}function s(){c("pause",s),0<S.getCurrentTime()?setTimeout(s,0):M.autoplay||!M.paused?(u("play",a),S.playVideo()):a()}function l(){c("play",l),0===S.getCurrentTime()?setTimeout(l,0):(u("pause",s),S.seekTo(0),S.pauseVideo())}function u(e,t){O.addEventListener("youtube-"+e,t,!1)}function c(e,t){O.removeEventListener("youtube-"+e,t,!1)}function d(e){O.dispatchEvent("youtube-"+e)}function p(){M.networkState=O.NETWORK_LOADING,O.dispatchEvent("waiting")}function h(e){switch(e.data){case YT.PlayerState.ENDED:d("ended");break;case YT.PlayerState.PLAYING:d("play");break;case YT.PlayerState.PAUSED:S.getDuration()!==S.getCurrentTime()&&d("pause");break;case YT.PlayerState.BUFFERING:d("buffering")}e.data!==YT.PlayerState.BUFFERING&&H===YT.PlayerState.BUFFERING&&O.dispatchEvent("progress"),H=e.data}function f(t){if(O._canPlaySrc(t))if(M.src=t,q()){if(I){if(!j)return void i(function(){f(t)});I&&S&&(c("buffering",p),c("ended",k),c("play",_),c("pause",x),x(),N=j=!1,M.currentTime=0,$=[],clearInterval(E),clearInterval(C),S.stopVideo(),S.clearVideo(),S.destroy(),A=W.createElement("div"))}P.appendChild(A);var n=O._util.parseUri(t).queryKey;delete n.v,M.autoplay="1"===n.autoplay||M.autoplay,delete n.autoplay,M.loop="1"===n.loop||M.loop,delete n.loop,n.rel=n.rel||0,n.modestbranding=n.modestbranding||1,n.iv_load_policy=n.iv_load_policy||3,n.disablekb=n.disablekb||1,n.showinfo=n.showinfo||0;var e="file:"===F.location.protocol?"*":F.location.protocol+"//"+F.location.host;n.origin=n.origin||e,n.controls=n.controls||M.controls?2:0,M.controls=n.controls,n.wmode=n.wmode||"opaque",t=U.exec(t)[1],z.getJSONP("https://gdata.youtube.com/feeds/api/videos/"+t+"?v=2&alt=jsonc&callback=?",function(e){e.error?console.warn("failed to retreive duration data, reason: "+e.error.message):e.data?(M.duration=e.data.duration,O.dispatchEvent("durationchange"),S=new YT.Player(A,{width:"100%",height:"100%",wmode:n.wmode,videoId:t,playerVars:n,events:{onReady:r,onError:o,onStateChange:h}}),M.networkState=O.NETWORK_LOADING,O.dispatchEvent("loadstart"),O.dispatchEvent("progress")):console.warn("failed to retreive duration data, reason: no response data")})}else B(function(){f(t)});else M.error={name:"MediaError",message:"Media Source Not Supported",code:MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED},O.dispatchEvent("error")}function g(){var e=S.getCurrentTime();M.seeking?G(e-M.currentTime)<1&&w():(G(M.currentTime-e)>V&&(b(),w()),M.currentTime=e)}function m(){var e=S.getVideoLoadedFraction();e&&R!==e&&(R=e,O.dispatchEvent("progress"))}function v(e){e!==M.currentTime&&(M.currentTime=e,j?(b(),S.seekTo(e)):i(function(){b(),S.seekTo(e)}))}
9function y(){O.dispatchEvent("timeupdate")}function b(){u("pause",n),c("pause",x),M.seeking=!0,O.dispatchEvent("seeking")}function w(){M.ended=!1,M.seeking=!1,O.dispatchEvent("timeupdate"),O.dispatchEvent("seeked"),O.dispatchEvent("canplay"),O.dispatchEvent("canplaythrough")}function _(){M.ended&&(v(0),M.ended=!1),D=setInterval(y,O._util.TIMEUPDATE_MS),M.paused=!1,L&&(L=!1,(M.loop&&!N||!M.loop)&&(N=!0,O.dispatchEvent("play")),O.dispatchEvent("playing"))}function x(){M.paused=!0,L||(L=!0,clearInterval(D),O.dispatchEvent("pause"))}function k(){M.loop?(v(0),O.play()):(M.ended=!0,x(),u("play",t),c("play",_),O.dispatchEvent("timeupdate"),O.dispatchEvent("ended"))}function T(e){M.muted=e,j?(S[e?"mute":"unMute"](),O.dispatchEvent("volumechange")):i(function(){T(M.muted)})}if(!F.postMessage)throw"ERROR: HTMLYouTubeVideoElement requires window.postMessage";var S,C,E,D,O=new z._MediaElementProto,P="string"==typeof e?W.querySelector(e):e,A=W.createElement("div"),M={src:Y,networkState:O.NETWORK_EMPTY,readyState:O.HAVE_NOTHING,seeking:!1,autoplay:Y,preload:Y,controls:!1,loop:!1,poster:Y,volume:1,muted:!1,currentTime:0,duration:NaN,ended:!1,paused:!0,error:null},I=!1,j=!1,N=!1,L=!0,$=[],H=-1,R=0;return O._eventNamespace=z.guid("HTMLYouTubeVideoElement::"),O.parentNode=P,O._util.type="YouTube",u("buffering",p),u("ended",k),O.play=function(){M.paused=!1,j?S.playVideo():i(function(){O.play()})},O.pause=function(){M.paused=!0,j?(n(),S.pauseVideo()):i(function(){O.pause()})},Object.defineProperties(O,{src:{get:function(){return M.src},set:function(e){e&&e!==M.src&&f(e)}},autoplay:{get:function(){return M.autoplay},set:function(e){M.autoplay=O._util.isAttributeSet(e)}},loop:{get:function(){return M.loop},set:function(e){M.loop=O._util.isAttributeSet(e)}},width:{get:function(){return O.parentNode.offsetWidth}},height:{get:function(){return O.parentNode.offsetHeight}},currentTime:{get:function(){return M.currentTime},set:function(e){v(e)}},duration:{get:function(){return M.duration}},ended:{get:function(){return M.ended}},paused:{get:function(){return M.paused}},seeking:{get:function(){return M.seeking}},readyState:{get:function(){return M.readyState}},networkState:{get:function(){return M.networkState}},volume:{get:function(){return M.volume},set:function(e){if(e<0||1<e)throw"Volume value must be between 0.0 and 1.0";M.volume=e,j?(S.setVolume(100*M.volume),O.dispatchEvent("volumechange")):i(function(){O.volume=e})}},muted:{get:function(){return M.muted},set:function(e){T(O._util.isAttributeSet(e))}},error:{get:function(){return M.error}},buffered:{get:function(){var e={start:function(e){if(0===e)return 0;throw"INDEX_SIZE_ERR: DOM Exception 1"},end:function(e){if(0===e)return M.duration?M.duration*R:0;throw"INDEX_SIZE_ERR: DOM Exception 1"}};return Object.defineProperties(e,{length:{get:function(){return 1}}}),e},configurable:!0}}),O._canPlaySrc=z.HTMLYouTubeVideoElement._canPlaySrc,O.canPlayType=z.HTMLYouTubeVideoElement.canPlayType,O}var V=10,Y="",U=/^.*(?:\/|v=)(.{11})/,G=Math.abs,i=!1,r=!1,o=[];z.HTMLYouTubeVideoElement=function(e){return new n(e)},z.HTMLYouTubeVideoElement._canPlaySrc=function(e){return/(?:http:\/\/www\.|http:\/\/|www\.|\.|^)(youtu).*(?:\/|v=)(.{11})/.test(e)?"probably":Y},z.HTMLYouTubeVideoElement.canPlayType=function(e){return"video/x-youtube"===e?"probably":Y}}(Popcorn,window,document),function(C,E,D){function O(){return e||(C.getScript("https://w.soundcloud.com/player/api.js",function(){C.getScript("https://connect.soundcloud.com/sdk.js",function(){n=!0,SC.initialize({client_id:"PRaNFlda6Bhf5utPjUsptg"});for(var e=i.length;e--;)i[e](),delete i[e]})}),e=!0),n}function P(e){i.unshift(e)}function t(e){function t(e){T.unshift(e)}function n(){g.bind(SC.Widget.Events.LOAD_PROGRESS,function(e){u({type:"loadProgress",data:e.currentPosition/1e3})}),g.bind(SC.Widget.Events.PLAY_PROGRESS,function(e){u({type:"playProgress",data:e.currentPosition/1e3})}),g.bind(SC.Widget.Events.PLAY,function(){u({type:"play"})}),g.bind(SC.Widget.Events.PAUSE,function(){u({type:"pause"})}),g.bind(SC.Widget.Events.SEEK,function(){g.getPosition(function(e){e/=1e3,_.seeking?Math.floor(e)!==Math.floor(_.currentTime)?g.seekTo(1e3*_.currentTime):(_.ended=!1,_.seeking=!1,y.dispatchEvent("timeupdate"),y.dispatchEvent("seeked"),y.dispatchEvent("canplay"),y.dispatchEvent("canplaythrough")):u({type:"seek",data:e})})}),g.bind(SC.Widget.Events.FINISH,function(){u({type:"finish"})}),x=!0,g.getDuration(r)}function i(){g.bind(SC.Widget.Events.PLAY_PROGRESS,function(e){g.setVolume(0),0<e.currentPosition&&(g.unbind(SC.Widget.Events.PLAY_PROGRESS),g.bind(SC.Widget.Events.PAUSE,function(){g.unbind(SC.Widget.Events.PAUSE),g.setVolume(100),g.bind(SC.Widget.Events.SEEK,function(){g.unbind(SC.Widget.Events.SEEK),n()}),g.seekTo(0)}),g.pause())}),g.play()}function r(e){e/=1e3;var t=_.duration;if(t!==e&&(_.duration=e,y.dispatchEvent("durationchange"),isNaN(t))){for(_.networkState=y.NETWORK_IDLE,_.readyState=y.HAVE_METADATA,y.dispatchEvent("loadedmetadata"),y.dispatchEvent("loadeddata"),_.readyState=y.HAVE_FUTURE_DATA,y.dispatchEvent("canplay"),_.readyState=y.HAVE_ENOUGH_DATA,y.dispatchEvent("canplaythrough"),e=T.length;e--;)T[e](),delete T[e];_.paused&&_.autoplay&&y.play()}}function o(e){function t(){_.seeking=!0,y.dispatchEvent("seeking"),g.seekTo(e)}_.currentTime=e,e*=1e3,x?t():addMediaReadyCallback(t)}function a(){_.paused=!0,k||(k=!0,clearInterval(m),y.dispatchEvent("pause"))}function s(){y.dispatchEvent("timeupdate")}function l(e){(_.currentTime=e)!==S&&y.dispatchEvent("timeupdate"),S=e}function u(e){switch(e.type){case"loadProgress":y.dispatchEvent("progress");break;case"playProgress":l(e.data);break;case"play":v||(v=setInterval(c,A),_.loop&&y.dispatchEvent("play")),m=setInterval(s,y._util.TIMEUPDATE_MS),_.paused=!1,k&&(k=!1,_.loop||y.dispatchEvent("play"),y.dispatchEvent("playing"));break;case"pause":a();break;case"finish":_.loop?(o(0),y.play()):(_.ended=!0,y.pause(),a(),y.dispatchEvent("timeupdate"),y.dispatchEvent("ended"));break;case"seek":l(e.data)}}function c(){_.ended||g.getPosition(function(e){l(e/1e3)})}function d(e){y._canPlaySrc(e)?(_.src=e,x&&x&&g&&(clearInterval(v),g.pause(),g.unbind(SC.Widget.Events.READY),g.unbind(SC.Widget.Events.LOAD_PROGRESS),g.unbind(SC.Widget.Events.PLAY_PROGRESS),g.unbind(SC.Widget.Events.PLAY),g.unbind(SC.Widget.Events.PAUSE),g.unbind(SC.Widget.Events.SEEK),g.unbind(SC.Widget.Events.FINISH),b.removeChild(w),w=D.createElement("iframe")),O()?(x=!1,SC.get("/resolve",{url:e},function(e){var t;e.errors&&(t={name:"MediaError"},e.errors[0]&&"404 - Not Found"===e.errors[0].error_message&&(t.message="Video not found.",t.code=MediaError.MEDIA_ERR_NETWORK),_.error=t,y.dispatchEvent("error")),w.id=C.guid("soundcloud-"),w.width=_.width,w.height=_.height,w.frameBorder=0,w.webkitAllowFullScreen=!0,w.mozAllowFullScreen=!0,w.allowFullScreen=!0,f(_.controls),b.appendChild(w),w.onload=function(){w.onload=null,(g=SC.Widget(w)).bind(SC.Widget.Events.READY,i),_.networkState=y.NETWORK_LOADING,y.dispatchEvent("loadstart"),y.dispatchEvent("progress")},w.src="https://w.soundcloud.com/player/?url="+e.uri+"&show_artwork=false&buying=false&liking=false&sharing=false&download=false&show_comments=false&show_user=false&single_active=false"})):P(function(){d(e)})):(_.error={name:"MediaError",message:"Media Source Not Supported",code:MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED},y.dispatchEvent("error"))}function p(e){_.volume=e,x?(g.setVolume(e),y.dispatchEvent("volumechange")):t(function(){p(e)})}function h(e){x?e?(_.muted=_.volume,p(0)):(_.muted=0,p(_.muted)):(_.muted=e?1:0,t(function(){h(e)}))}function f(e){x?(w.style.position="absolute",w.style.visibility=e?"visible":"hidden"):(w.style.opacity=e?"1":"0",w.style.pointerEvents=e?"auto":"none"),_.controls=e}if(!E.postMessage)throw"ERROR: HTMLSoundCloudAudioElement requires window.postMessage";var g,m,v,y=new C._MediaElementProto,b="string"==typeof e?C.dom.find(e):e,w=D.createElement("iframe"),_={src:M,networkState:y.NETWORK_EMPTY,readyState:y.HAVE_NOTHING,seeking:!1,autoplay:M,preload:M,controls:!1,loop:!1,poster:M,volume:100,muted:0,currentTime:0,duration:NaN,ended:!1,paused:!0,width:0|b.width?b.width:y._util.MIN_WIDTH,height:0|b.height?b.height:y._util.MIN_HEIGHT,error:null},x=!1,k=!0,T=[],S=0;return y._eventNamespace=C.guid("HTMLSoundCloudAudioElement::"),y.parentNode=b,y._util.type="SoundCloud",
10y.play=function(){_.paused=!1,x?(_.ended&&o(0),g.play()):t(function(){y.play()})},y.pause=function(){_.paused=!0,x?g.pause():t(function(){y.pause()})},Object.defineProperties(y,{src:{get:function(){return _.src},set:function(e){e&&e!==_.src&&d(e)}}
10,autoplay:{get:function(){return _.autoplay},set:function(e){_.autoplay=y._util.isAttributeSet(e)}},loop:{get:function(){return _.loop},set:function(e){_.loop=y._util.isAttributeSet(e)}},width:{get:function(){return w.width},set:function(e){w.width=e,_.width=w.width}},height:{get:function(){return w.height},set:function(e){w.height=e,_.height=w.height}},currentTime:{get:function(){return _.currentTime},set:function(e){o(e)}},duration:{get:function(){return _.duration}},ended:{get:function(){return _.ended}},paused:{get:function(){return _.paused}},seeking:{get:function(){return _.seeking}},readyState:{get:function(){return _.readyState}},networkState:{get:function(){return _.networkState}},volume:{get:function(){return(0<_.muted?_.muted:_.volume)/100},set:function(e){if(e<0||1<e)throw"Volume value must be between 0.0 and 1.0";p(e*=100)}},muted:{get:function(){return 0<_.muted},set:function(e){h(y._util.isAttributeSet(e))}},error:{get:function(){return _.error}},controls:{get:function(){return _.controls},set:function(e){f(!!e)}}}),y._canPlaySrc=C.HTMLSoundCloudAudioElement._canPlaySrc,y.canPlayType=C.HTMLSoundCloudAudioElement.canPlayType,y}var A=16,M="",n=!1,e=!1,i=[];C.HTMLSoundCloudAudioElement=function(e){return new t(e)},C.HTMLSoundCloudAudioElement._canPlaySrc=function(e){return/(?:https?:\/\/www\.|https?:\/\/|www\.|\.|^)(soundcloud)/.test(e)?"probably":M},C.HTMLSoundCloudAudioElement.canPlayType=function(e){return"audio/x-soundcloud"===e?"probably":M}}(Popcorn,window,document),function(t){var e=function(e,n){var i,r=0,o=0;t.forEach(n.classes,function(e,t){for(i=[],"parent"===e?i[0]=document.querySelectorAll("#"+n.target)[0].parentNode:i=document.querySelectorAll("#"+n.target+" "+e),r=0,o=i.length;r<o;r++)i[r].classList.toggle(t)})};t.compose("applyclass",{manifest:{about:{name:"Popcorn applyclass Effect",version:"0.1",author:"@scottdowne",website:"scottdowne.wordpress.com"},options:{}},_setup:function(e){e.classes={},e.applyclass=e.applyclass||"";for(var t=e.applyclass.replace(/\s/g,"").split(","),n=[],i=0,r=t.length;i<r;i++)(n=t[i].split(":"))[0]&&(e.classes[n[0]]=n[1]||"")},start:e,end:e})}(Popcorn),function(v){function r(e,t){e.map?e.map.div.style.display=t:setTimeout(function(){r(e,t)},10)}var o=1;v.plugin("openmap",function(t){var n,d,p,h,f,g,m,i,e=document.getElementById(t.target);return(n=document.createElement("div")).id="openmapdiv"+o,n.style.width="100%",n.style.height="100%",o++,e&&e.appendChild(n),(i=function(){if(window.OpenLayers&&window.OpenLayers.Layer.Stamen){switch(t.location?(location=new OpenLayers.LonLat(0,0),v.getJSONP("//tinygeocoder.com/create-api.php?q="+t.location+"&callback=jsonp",function(e){d=new OpenLayers.LonLat(e[1],e[0])})):d=new OpenLayers.LonLat(t.lng,t.lat),t.type=t.type||"ROADMAP",t.type){case"SATELLITE":t.map=new OpenLayers.Map({div:n,maxResolution:.28125,tileSize:new OpenLayers.Size(512,512)});var e=new OpenLayers.Layer.WorldWind("LANDSAT","//worldwind25.arc.nasa.gov/tile/tile.aspx",2.25,4,{T:"105"});t.map.addLayer(e),h=new OpenLayers.Projection("EPSG:4326"),p=new OpenLayers.Projection("EPSG:4326");break;case"TERRAIN":h=new OpenLayers.Projection("EPSG:4326"),p=new OpenLayers.Projection("EPSG:4326"),t.map=new OpenLayers.Map({div:n,projection:p}),e=new OpenLayers.Layer.WMS("USGS Terraserver","//terraserver-usa.org/ogcmap.ashx?",{layers:"DRG"}),t.map.addLayer(e);break;case"STAMEN-TONER":case"STAMEN-WATERCOLOR":case"STAMEN-TERRAIN":e=t.type.replace("STAMEN-","").toLowerCase(),e=new OpenLayers.Layer.Stamen(e),h=new OpenLayers.Projection("EPSG:4326"),p=new OpenLayers.Projection("EPSG:900913"),d=d.transform(h,p),t.map=new OpenLayers.Map({div:n,projection:p,displayProjection:h,controls:[new OpenLayers.Control.Navigation,new OpenLayers.Control.PanPanel,new OpenLayers.Control.ZoomPanel]}),t.map.addLayer(e);break;default:p=new OpenLayers.Projection("EPSG:900913"),h=new OpenLayers.Projection("EPSG:4326"),d=d.transform(h,p),t.map=new OpenLayers.Map({div:n,projection:p,displayProjection:h}),e=new OpenLayers.Layer.OSM,t.map.addLayer(e)}t.map&&(t.map.setCenter(d,t.zoom||10),t.map.div.style.display="none")}else setTimeout(function(){i()},50)})(),{_setup:function(u){window.OpenLayers||v.getScript("//openlayers.org/api/OpenLayers.js",function(){v.getScript("//maps.stamen.com/js/tile.stamen.js")});
10var c=function(){if(u.map){if(u.zoom=u.zoom||2,u.zoom&&"number"!=typeof u.zoom&&(u.zoom=+u.zoom),u.map.setCenter(d,u.zoom),u.markers){var i=OpenLayers.Util.extend({},OpenLayers.Feature.Vector.style["default"]),e=function(e){clickedFeature=e.feature,clickedFeature.attributes.text&&(m=new OpenLayers.Popup.FramedCloud("featurePopup",clickedFeature.geometry.getBounds().getCenterLonLat(),new OpenLayers.Size(120,250),clickedFeature.attributes.text,null,!0,function(){g.unselect(this.feature)}),(clickedFeature.popup=m).feature=clickedFeature,u.map.addPopup(m))},t=function(e){feature=e.feature,feature.popup&&(m.feature=null,u.map.removePopup(feature.popup),feature.popup.destroy(),feature.popup=null)},n=function(n){v.getJSONP("//tinygeocoder.com/create-api.php?q="+n.location+"&callback=jsonp",function(e){e=new OpenLayers.Geometry.Point(e[1],e[0]).transform(h,p);var t=OpenLayers.Util.extend({},i);n.size&&!isNaN(n.size)||(n.size=14),t.pointRadius=n.size,t.graphicOpacity=1,t.externalGraphic=n.icon,e=new OpenLayers.Feature.Vector(e,null,t),n.text&&(e.attributes={text:n.text}),f.addFeatures([e])})};f=new OpenLayers.Layer.Vector("Point Layer",{style:i}),u.map.addLayer(f);for(var r=0,o=u.markers.length;r<o;r++){var a=u.markers[r];if(a.text&&(g||(g=new OpenLayers.Control.SelectFeature(f),u.map.addControl(g),g.activate(),f.events.on({featureselected:e,featureunselected:t}))),a.location)n(a);else{var s=new OpenLayers.Geometry.Point(a.lng,a.lat).transform(h,p),l=OpenLayers.Util.extend({},i);a.size&&!isNaN(a.size)||(a.size=14),l.pointRadius=a.size,l.graphicOpacity=1,l.externalGraphic=a.icon,s=new OpenLayers.Feature.Vector(s,null,l),a.text&&(s.attributes={text:a.text}),f.addFeatures([s])}}}}else setTimeout(function(){c()},13)};c()},start:function(e,t){r(t,"block")},end:function(e,t){r(t,"none")},_teardown:function(){e&&e.removeChild(n),n=map=d=p=h=f=g=m=null}}},{about:{name:"Popcorn OpenMap Plugin",version:"0.3",author:"@mapmeld",website:"mapadelsur.blogspot.com"},options:{start:{elem:"input",type:"number",label:"Start"},end:{elem:"input",type:"number",label:"End"},target:"map-container",type:{elem:"select",options:["ROADMAP","SATELLITE","TERRAIN"],label:"Map Type",optional:!0},zoom:{elem:"input",type:"number",label:"Zoom","default":2},lat:{elem:"input",type:"text",label:"Lat",optional:!0},lng:{elem:"input",type:"text",label:"Lng",optional:!0},location:{elem:"input",type:"text",label:"Location","default":"Toronto, Ontario, Canada"},markers:{elem:"input",type:"text",label:"List Markers",optional:!0}}})}(Popcorn),function(i){i.plugin("wikipedia",{manifest:{about:{name:"Popcorn Wikipedia Plugin",version:"0.1",author:"@annasob",website:"annasob.wordpress.com"},options:{start:{elem:"input",type:"number",label:"Start"},end:{elem:"input",type:"number",label:"End"},lang:{elem:"input",type:"text",label:"Language","default":"english",optional:!0},src:{elem:"input",type:"url",label:"Wikipedia URL","default":"http://en.wikipedia.org/wiki/Cat"},title:{elem:"input",type:"text",label:"Title","default":"Cats",optional:!0},numberofwords:{elem:"input",type:"number",label:"Number of Words","default":"200",optional:!0},target:"wikipedia-container"}},_setup:function(t){var n,e=i.guid();t.lang||(t.lang="en"),t.numberofwords=t.numberofwords||200,window["wikiCallback"+e]=function(e){t._link=document.createElement("a"),t._link.setAttribute("href",t.src),t._link.setAttribute("target","_blank"),t._link.innerHTML=t.title||e.parse.displaytitle,t._desc=document.createElement("p"),n=(n=(n=e.parse.text["*"].substr(e.parse.text["*"].indexOf("<p>"))).replace(/((<(.|\n)+?>)|(\((.*?)\) )|(\[(.*?)\]))/g,"")).split(" "),t._desc.innerHTML=n.slice(0,n.length>=t.numberofwords?t.numberofwords:n.length).join(" ")+" ...",t._fired=!0},t.src&&i.getScript("//"+t.lang+".wikipedia.org/w/api.php?action=parse&props=text&redirects&page="+t.src.slice(t.src.lastIndexOf("/")+1)+"&format=json&callback=wikiCallback"+e),t.toString=function(){return t.src||t._natives.manifest.options.src["default"]}},start:function(e,t){var n=function(){t._fired?t._link&&t._desc&&document.getElementById(t.target)&&(document.getElementById(t.target).appendChild(t._link),document.getElementById(t.target).appendChild(t._desc),t._added=!0):setTimeout(function(){n()},13)};n()},end:function(e,t){t._added&&(document.getElementById(t.target).removeChild(t._link),document.getElementById(t.target).removeChild(t._desc))},_teardown:function(e){e._added&&(e._link.parentNode&&document.getElementById(e.target).removeChild(e._link),e._desc.parentNode&&document.getElementById(e.target).removeChild(e._desc),delete e.target)}})}(Popcorn),function(a){var n=0,i=function(t,e){var n=t.container=document.createElement("div"),i=n.style,r=t.media,o=function(){var e=t.position();i.fontSize="18px",i.width=r.offsetWidth+"px",i.top=e.top+r.offsetHeight-n.offsetHeight-40+"px",i.left=e.left+"px",setTimeout(o,10)};return n.id=e||a.guid(),i.position="absolute",i.color="white",i.textShadow="black 2px 2px 6px",i.fontWeight="bold",i.textAlign="center",o(),t.media.parentNode.appendChild(n),n};a.plugin("subtitle",{manifest:{about:{name:"Popcorn Subtitle Plugin",version:"0.1",author:"Scott Downe",website:"http://scottdowne.wordpress.com/"},options:{start:{elem:"input",type:"text",label:"Start"},end:{elem:"input",type:"text",label:"End"},target:"subtitle-container",text:{elem:"input",type:"text",label:"Text"}}},_setup:function(e){var t=document.createElement("div");t.id="subtitle-"+n++,t.style.display="none",!this.container&&(!e.target||"subtitle-container"===e.target)&&i(this),e.container=e.target&&"subtitle-container"!==e.target?document.getElementById(e.target)||i(this,e.target):this.container,document.getElementById(e.container.id)&&document.getElementById(e.container.id).appendChild(t),e.innerContainer=t,e.showSubtitle=function(){e.innerContainer.innerHTML=e.text||""}},start:function(e,t){t.innerContainer.style.display="inline",t.showSubtitle(t,t.text)},end:function(e,t){t.innerContainer.style.display="none",t.innerContainer.innerHTML=""},_teardown:function(e){e.container.removeChild(e.innerContainer)}})}(Popcorn),function(b,w){var _={};b.plugin("documentcloud",{manifest:{about:{name:"Popcorn Document Cloud Plugin",version:"0.1",author:"@humphd, @ChrisDeCairos",website:"http://vocamus.net/dave"},options:{start:{elem:"input",type:"number",label:"Start"},end:{elem:"input",type:"number",label:"End"},target:"documentcloud-container",width:{elem:"input",type:"text",label:"Width",optional:!0},height:{elem:"input",type:"text",label:"Height",optional:!0},src:{elem:"input",type:"url",label:"PDF URL","default":"http://www.documentcloud.org/documents/70050-urbina-day-1-in-progress.html"},preload:{elem:"input",type:"checkbox",label:"Preload","default":!0},page:{elem:"input",type:"number",label:"Page Number",optional:!0},aid:{elem:"input",type:"number",label:"Annotation Id",optional:!0}}},_setup:function(m){function e(){function t(e){m._key=e.api.getId(),m._changeView=function(e){m.aid?e.pageSet.showAnnotation(e.api.getAnnotation(m.aid)):e.api.setCurrentPage(m.page)}}function n(){_[m._key]={num:1,id:m._containerId},v.loaded=!0}v.loaded=!1;var e=m.url.replace(/\.html$/,".js"),i=m.target,r=w.getElementById(i),o=w.createElement("div"),a=b.position(r),s=m.width||a.width;
10a=m.height||a.height;var l,u,c=m.sidebar||!0,d=m.text||!0,p=m.pdf||!0,h=m.showAnnotations||!0,f=m.zoom||700,g=m.search||!0;l=m.url,u=!1,b.forEach(v.viewers,function(e){e.api.getSchema().canonicalURL===l&&(t(e),e=_[m._key],m._containerId=e.id,e.num+=1,u=!0,v.loaded=!0)}),u||(o.id=m._containerId=b.guid(i),i="#"+o.id,r.appendChild(o),y.trigger("documentready"),v.load(e,{width:s,height:a,sidebar:c,text:d,pdf:p,showAnnotations:h,zoom:f,search:g,container:i,afterLoad:m.page||m.aid?function(e){t(e),m._changeView(e),o.style.visibility="hidden",e.elements.pages.hide(),n()}:function(e){t(e),n(),o.style.visibility="hidden",e.elements.pages.hide()}}))}function t(){window.DV.loaded?e():setTimeout(t,25)}var v=window.DV=window.DV||{},y=this;if(v.loading)t();else{v.loading=!0,v.recordHit="//www.documentcloud.org/pixel.gif";var n=w.createElement("link"),i=w.getElementsByTagName("head")[0];n.rel="stylesheet",n.type="text/css",n.media="screen",n.href="//s3.documentcloud.org/viewer/viewer-datauri.css",i.appendChild(n),v.loaded=!1,b.getScript("http://s3.documentcloud.org/viewer/viewer.js",function(){v.loading=!1,e()})}m.toString=function(){return m.src||m._natives.manifest.options.src["default"]}},start:function(e,t){var n=w.getElementById(t._containerId),i=DV.viewers[t._key];(t.page||t.aid)&&i&&t._changeView(i),n&&i&&(n.style.visibility="visible",i.elements.pages.show())},end:function(e,t){var n=w.getElementById(t._containerId);n&&DV.viewers[t._key]&&(n.style.visibility="hidden",DV.viewers[t._key].elements.pages.hide())},_teardown:function(e){var t=w.getElementById(e._containerId);if((e=e._key)&&DV.viewers[e]&&0==--_[e].num){for(DV.viewers[e].api.unload();t.hasChildNodes();)t.removeChild(t.lastChild);t.parentNode.removeChild(t)}}})}(Popcorn,window.document),function(s){var l=/(?:http:\/\/www\.|http:\/\/|www\.|\.|^)(youtu|vimeo|soundcloud|baseplayer)/,u={},t={vimeo:!1,youtube:!1,soundcloud:!1,module:!1};Object.defineProperty(u,void 0,{get:function(){return t[void 0]},set:function(e){t[void 0]=e}}),s.plugin("mediaspawner",{manifest:{about:{name:"Popcorn Media Spawner Plugin",version:"0.1",author:"Matthew Schranz, @mjschranz",website:"mschranz.wordpress.com"},options:{source:{elem:"input",type:"text",label:"Media Source","default":"http://www.youtube.com/watch?v=CXDstfD9eJ0"},caption:{elem:"input",type:"text",label:"Media Caption","default":"Popcorn Popping",optional:!0},target:"mediaspawner-container",start:{elem:"input",type:"number",label:"Start"},end:{elem:"input",type:"number",label:"End"},autoplay:{elem:"input",type:"checkbox",label:"Autoplay Video",optional:!0},width:{elem:"input",type:"number",label:"Media Width","default":400,units:"px",optional:!0},height:{elem:"input",type:"number",label:"Media Height","default":200,units:"px",optional:!0}}},_setup:function(t){function e(){function e(){"HTML5"===i||window.Popcorn[i]?(t.id=t._container.id,t._container.style.width=t.width+"px",t._container.style.height=t.height+"px",t.popcorn=s.smart("#"+t.id,t.source),"HTML5"===i&&t.popcorn.controls(!0),t._container.style.width="0px",t._container.style.height="0px",t._container.style.visibility="hidden",t._container.style.overflow="hidden"):setTimeout(function(){e()},300)}"HTML5"===i||window.Popcorn[i]||u[i]?e():(u[i]=!0,s.getScript("http://popcornjs.org/code/players/"+i+"/popcorn."+i+".js",function(){e()}))}function n(){window.Popcorn.player?e():setTimeout(function(){n()},300)}var i,r,o,a=document.getElementById(t.target)||{};(r=l.exec(t.source))?"youtu"===(i=r[1])&&(i="youtube"):i="HTML5",t._type=i,t._container=document.createElement("div"),(r=t._container).id="mediaSpawnerdiv-"+s.guid(),t.width=t.width||400,t.height=t.height||200,t.caption&&((o=document.createElement("div")).innerHTML=t.caption,o.style.display="none",t._capCont=o,r.appendChild(o)),a&&a.appendChild(r),window.Popcorn.player||u.module?n():(u.module=!0,s.getScript("http://popcornjs.org/code/modules/player/popcorn.player.js",n)),t.toString=function(){return t.source||t._natives.manifest.options.source["default"]}},start:function(e,t){t._capCont&&(t._capCont.style.display=""),t._container.style.width=t.width+"px",t._container.style.height=t.height+"px",t._container.style.visibility="visible",t._container.style.overflow="visible",t.autoplay&&t.popcorn.play()},end:function(e,t){t._capCont&&(t._capCont.style.display="none"),t._
10container.style.width="0px",t._container.style.height="0px",t._container.style.visibility="hidden",t._container.style.overflow="hidden",t.popcorn.pause()},_teardown:function(e){e.popcorn&&e.popcorn.destory&&e.popcorn.destroy(),document.getElementById(e.target)&&document.getElementById(e.target).removeChild(e._container)}})}(Popcorn),function(e){var o=1;e.plugin("timeline",function(e){var n,t=document.getElementById(e.target),i=document.createElement("div"),r=!0;return t&&!t.firstChild?(t.appendChild(n=document.createElement("div")),n.style.width="inherit",n.style.height="inherit",n.style.overflow="auto"):n=t.firstChild,i.style.display="none",i.id="timelineDiv"+o,e.direction=e.direction||"up","down"===e.direction.toLowerCase()&&(r=!1),t&&n&&(r?n.insertBefore(i,n.firstChild):n.appendChild(i)),o++,i.innerHTML="<p><span id='big' style='font-size:24px; line-height: 130%;' >"+e.title+"</span><br /><span id='mid' style='font-size: 16px;'>"+e.text+"</span><br />"+e.innerHTML,{start:function(e,t){i.style.display="block","down"===t.direction&&(n.scrollTop=n.scrollHeight)},end:function(){i.style.display="none"},_teardown:function(){n&&i&&n.removeChild(i)&&!n.firstChild&&t.removeChild(n)}}},{about:{name:"Popcorn Timeline Plugin",version:"0.1",author:"David Seifried @dcseifried",website:"dseifried.wordpress.com"},options:{start:{elem:"input",type:"number",label:"Start"},end:{elem:"input",type:"number",label:"End"},target:"feed-container",title:{elem:"input",type:"text",label:"Title"},text:{elem:"input",type:"text",label:"Text"},innerHTML:{elem:"input",type:"text",label:"HTML Code",optional:!0},direction:{elem:"select",options:["DOWN","UP"],label:"Direction",optional:!0}}})}(Popcorn),function(f){var g=0;f.plugin("flickr",function(e){var t,n,i,r,o,a=document.getElementById(e.target),s=e.numberofimages||4,l=e.height||"50px",u=e.width||"50px",c=e.padding||"5px",d=e.border||"0px";(t=document.createElement("div")).id="flickr"+g,t.style.width="100%",t.style.height="100%",t.style.display="none",g++,a&&a.appendChild(t);var p=function(){n?setTimeout(function(){p()},5):(i="http://api.flickr.com/services/rest/?method=flickr.people.findByUsername&",i+="username="+e.username+"&api_key="+e.apikey+"&format=json&jsoncallback=flickr",f.getJSONP(i,function(e){n=e.user.nsid,h()}))},h=function(){i="http://api.flickr.com/services/feeds/photos_public.gne?",n&&(i+="id="+n+"&"),e.tags&&(i+="tags="+e.tags+"&"),i+="lang=en-us&format=json&jsoncallback=flickr",f.xhr.getJSONP(i,function(e){var n=document.createElement("div");n.innerHTML="<p style='padding:"+c+";'>"+e.title+"<p/>",f.forEach(e.items,function(e,t){if(!(t<s))return!1;(r=document.createElement("a")).setAttribute("href",e.link),r.setAttribute("target","_blank"),(o=document.createElement("img")).setAttribute("src",e.media.m),o.setAttribute("height",l),o.setAttribute("width",u),o.setAttribute("style","border:"+d+";padding:"+c),r.appendChild(o),n.appendChild(r)}),t.appendChild(n)})};return e.username&&e.apikey?p():(n=e.userid,h()),e.toString=function(){return e.tags||e.username||"Flickr"},{start:function(){t.style.display="inline"},end:function(){t.style.display="none"},_teardown:function(e){document.getElementById(e.target)&&document.getElementById(e.target).removeChild(t)}}},{about:{name:"Popcorn Flickr Plugin",version:"0.2",author:"Scott Downe, Steven Weerdenburg, Annasob",website:"http://scottdowne.wordpress.com/"},options:{start:{elem:"input",type:"number",label:"Start"},end:{elem:"input",type:"number",label:"End"},userid:{elem:"input",type:"text",label:"User ID",optional:!0},tags:{elem:"input",type:"text",label:"Tags"},username:{elem:"input",type:"text",label:"Username",optional:!0},apikey:{elem:"input",type:"text",label:"API Key",optional:!0},target:"flickr-container",height:{elem:"input",type:"text",label:"Height","default":"50px",optional:!0},width:{elem:"input",type:"text",label:"Width","default":"50px",optional:!0},padding:{elem:"input",type:"text",label:"Padding",optional:!0},border:{elem:"input",type:"text",label:"Border","default":"5px",optional:!0},numberofimages:{elem:"input",type:"number","default":4,label:"Number of Images"}}})}(Popcorn),Popcorn.plugin("webpage",{manifest:{about:{name:"Popcorn Webpage Plugin",version:"0.1",author:"@annasob",website:"annasob.wordpress.com"},options:{id:{elem:"input",type:"text",label:"Id",optional:!0},start:{elem:"input",type:"number",label:"Start"},end:{elem:"input",type:"number",label:"End"},src:{elem:"input",type:"url",label:"Webpage URL","default":"http://mozillapopcorn.org"},target:"iframe-container"}},_setup:function(e){var t=document.getElementById(e.target);e.src=e.src.replace(/^(https?:)?(\/\/)?/,"//"),e._iframe=document.createElement("iframe"),e._iframe.setAttribute("width","100%"),e._iframe.setAttribute("height","100%"),e._iframe.id=e.id,e._iframe.src=e.src,e._iframe.style.display="none",t&&t.appendChild(e._iframe)},start:function(e,t){t._iframe.src=t.src,t._iframe.style.display="inline"},end:function(e,t){t._iframe.style.display="none"},_teardown:function(e){document.getElementById(e.target)&&document.getElementById(e.target).removeChild(e._iframe)}}),function(e){var t,i={},n=0,r=document.createElement("span"),o=["webkit","Moz","ms","O",""],a=["Transform","TransitionDuration","TransitionTimingFunction"],s={};document.getElementsByTagName("head")[0].appendChild(r);for(var l=0,u=a.length;l<u;l++)for(var c=0,d=o.length;c<d;c++)if((t=o[c]+a[l])in r.style){s[a[l].toLowerCase()]=t;break}document.getElementsByTagName("head")[0].appendChild(r),e.plugin("wordriver",{manifest:{about:{name:"Popcorn WordRiver Plugin"},options:{start:{elem:"input",type:"number",label:"Start"},end:{elem:"input",type:"number",label:"End"},target:"wordriver-container",text:{elem:"input",type:"text",label:"Text","default":"Popcorn.js"},color:{elem:"input",type:"text",label:"Color","default":"Green",optional:!0}}},_setup:function(e){var t;if(e._duration=e.end-e.start,!(t=i[e.target])){t=e.target,i[t]=document.createElement("div");var n=document.getElementById(t);n&&n.appendChild(i[t]),i[t].style.height="100%",i[t].style.position="relative",t=i[t]}e._container=t,e.word=document.createElement("span"),e.word.style.position="absolute",e.word.style.whiteSpace="nowrap",e.word.style.opacity=0,e.word.style.MozTransitionProperty="opacity, -moz-transform",e.word.style.webkitTransitionProperty="opacity, -webkit-transform",e.word.style.OTransitionProperty="opacity, -o-transform",e.word.style.transitionProperty="opacity, transform",e.word.style[s.transitionduration]="1s, "+e._duration+"s",e.word.style[s.transitiontimingfunction]="linear",e.word.innerHTML=e.text,e.word.style.color=e.color||"black"}
10,start:function(e,t){t._container.appendChild(t.word),t.word.style[s.transform]="",t.word.style.fontSize=~~(30+20*Math.random())+"px",n%=t._container.offsetWidth-t.word.offsetWidth,t.word.style.left=n+"px",n+=t.word.offsetWidth+10,t.word.style[s.transform]="translateY("+(t._container.offsetHeight-t.word.offsetHeight)+"px)",t.word.style.opacity=1,setTimeout(function(){t.word.style.opacity=0},1e3*(t.end-t.start-1||1))},end:function(e,t){t.word.style.opacity=0},_teardown:function(e){var t=document.getElementById(e.target);e.word.parentNode&&e._container.removeChild(e.word),i[e.target]&&!i[e.target].childElementCount&&t&&t.removeChild(i[e.target])&&delete i[e.target]}})}(Popcorn),function(t){function i(e,t,n){var i;return"STAMEN-WATERCOLOR"!==(e=e.type?e.type.toUpperCase():"HYBRID")&&"STAMEN-TERRAIN"!==e&&"STAMEN-TONER"!==e||(i=e.replace("STAMEN-","").toLowerCase()),n=new google.maps.Map(n,{mapTypeId:i||google.maps.MapTypeId[e],mapTypeControlOptions:{mapTypeIds:[]}}),i&&n.mapTypes.set(i,new google.maps.StamenMapType(i)),n.getDiv().style.display="none",n}var o,a,s=1,l=!1,u=!1;googleCallback=function(e){"undefined"!=typeof google&&google.maps&&google.maps.Geocoder&&google.maps.LatLng?(o=new google.maps.Geocoder,t.getScript("//maps.stamen.com/js/tile.stamen.js",function(){u=!0})):setTimeout(function(){googleCallback(e)},1)},a=function(){document.body?(l=!0,t.getScript("//maps.google.com/maps/api/js?sensor=false&callback=googleCallback")):setTimeout(function(){a()},1)},t.plugin("googlemap",function(n){var r,p,h,e=document.getElementById(n.target);n.type=n.type||"ROADMAP",n.zoom=n.zoom||1,n.lat=n.lat||0,n.lng=n.lng||0,l||a(),(r=document.createElement("div")).id="actualmap"+s,r.style.width=n.width||"100%",r.style.height=n.height?n.height:e&&e.clientHeight?e.clientHeight+"px":"100%",s++,e&&e.appendChild(r);var t=function(){u?r&&(n.location?o.geocode({address:n.location},function(e,t){r&&t===google.maps.GeocoderStatus.OK&&(n.lat=e[0].geometry.location.lat(),n.lng=e[0].geometry.location.lng(),h=new google.maps.LatLng(n.lat,n.lng),p=i(n,h,r))}):(h=new google.maps.LatLng(n.lat,n.lng),p=i(n,h,r))):setTimeout(function(){t()},5)};return t(),n.toString=function(){return n.location||(n.lat&&n.lng?n.lat+", "+n.lng:n._natives.manifest.options.location["default"])},{start:function(e,c){var n,d=this,i=function(){if(p){if((c._map=p).getDiv().style.display="block",google.maps.event.trigger(p,"resize"),p.setCenter(h),c.zoom&&"number"!=typeof c.zoom&&(c.zoom=+c.zoom),p.setZoom(c.zoom),c.heading&&"number"!=typeof c.heading&&(c.heading=+c.heading),c.pitch&&"number"!=typeof c.pitch&&(c.pitch=+c.pitch),"STREETVIEW"===c.type){p.setStreetView(n=new google.maps.StreetViewPanorama(r,{position:h,pov:{heading:c.heading=c.heading||0,pitch:c.pitch=c.pitch||0,zoom:c.zoom}}));var a=function(r,e){var o=google.maps.geometry.spherical.computeHeading;setTimeout(function(){var e=d.media.currentTime;if("object"==typeof c.tween){for(var t=0,n=r.length;t<n;t++){var i=r[t];e>=i.interval*(t+1)/1e3&&(e<=i.interval*(t+2)/1e3||e>=i.interval*n/1e3)&&(u.setPosition(new google.maps.LatLng(i.position.lat,i.position.lng)),u.setPov({heading:i.pov.heading||o(i,r[t+1])||0,zoom:i.pov.zoom||0,pitch:i.pov.pitch||0}))}a(r,r[0].interval)}else{for(t=0,n=r.length;t<n;t++)(i=c.interval)*(t+1)/1e3<=e&&(e<=i*(t+2)/1e3||i*n/1e3<=e)&&(s.setPov({heading:o(r[t],r[t+1])||0,zoom:c.zoom,pitch:c.pitch||0}),s.setPosition(l[t]));a(l,c.interval)}},e)};if(c.location&&"string"==typeof c.tween){var s=n,l=[],e=new google.maps.DirectionsService,o=new google.maps.DirectionsRenderer(s);e.route({origin:c.location,destination:c.tween,travelMode:google.maps.TravelMode.DRIVING},function(e,t){if(t==google.maps.DirectionsStatus.OK){o.setDirections(e);for(var n=e.routes[0].overview_path,i=0,r=n.length;i<r;i++)l.push(new google.maps.LatLng(n[i].lat(),n[i].lng()));c.interval=c.interval||1e3,a(l,10)}})}else if("object"==typeof c.tween){var u=n;e=0;for(var t=c.tween.length;e<t;e++)c.tween[e].interval=c.tween[e].interval||1e3,a(c.tween,10)}}c.onmaploaded&&c.onmaploaded(c,p)}else setTimeout(function(){i()},13)};i()},end:function(){p&&(p.getDiv().style.display="none")},_teardown:function(e){var t=document.getElementById(e.target);t&&t.removeChild(r),r=p=h=null,e._map=null}}},{about:{name:"Popcorn Google Map Plugin",version:"0.1",author:"@annasob",website:"annasob.wordpress.com"},options:{start:{elem:"input",type:"start",label:"Start"},end:{elem:"input",type:"start",label:"End"},target:"map-container",type:{elem:"select",options:["ROADMAP","SATELLITE","STREETVIEW","HYBRID","TERRAIN","STAMEN-WATERCOLOR","STAMEN-TERRAIN","STAMEN-TONER"],label:"Map Type",optional:!0},zoom:{elem:"input",type:"text",label:"Zoom","default":0,optional:!0},lat:{elem:"input",type:"text",label:"Lat",optional:!0},lng:{elem:"input",type:"text",label:"Lng",optional:!0},location:{elem:"input",type:"text",label:"Location","default":"Toronto, Ontario, Canada"},heading:{elem:"input",type:"text",label:"Heading","default":0,optional:!0},pitch:{elem:"input",type:"text",label:"Pitch","default":1,optional:!0}}})}(Popcorn),function(u){u.plugin("mustache",function(e){var i,r,o,a;u.getScript("http://mustache.github.com/extras/mustache.js");var t=!!e.dynamic,n=typeof e.template,s=typeof e.data,l=document.getElementById(e.target);return e.container=l||document.createElement("div"),"function"===n?t?o=e.template:a=e.template(e):a="string"===n?e.template:"","function"===s?t?i=e.data:r=e.data(e):r="string"===s?JSON.parse(e.data):"object"===s?e.data:"",{start:function(e,t){var n=function(){if(window.Mustache){i&&(r=i(t)),o&&(a=o(t));var e=Mustache.to_html(a,r).replace(/^\s*/gm,"");t.container.innerHTML=e}else setTimeout(function(){n()},10)};n()},end:function(e,t){t.container.innerHTML=""},_teardown:function(){i=r=o=a=null}}},{about:{name:"Popcorn Mustache Plugin",version:"0.1",author:"David Humphrey (@humphd)",website:"http://vocamus.net/dave"},options:{start:{elem:"input",type:"number",label:"Start"},end:{elem:"input",type:"number",label:"End"},target:"mustache-container",template:{elem:"input",type:"text",label:"Template"},data:{elem:"input",type:"text",label:"Data"},dynamic:{elem:"input",type:"checkbox",label:"Dynamic","default":!0}}})}(Popcorn),document.addEventListener("click",function(e){("A"===(e=e.target).nodeName||e.parentNode&&"A"===e.parentNode.nodeName)&&Popcorn.instances.forEac
10h(function(e){e.options.pauseOnLinkClicked&&e.pause()})},!1),function(n){n.plugin("footnote",{manifest:{about:{name:"Popcorn Footnote Plugin",version:"0.2",author:"@annasob, @rwaldron",website:"annasob.wordpress.com"},options:{start:{elem:"input",type:"number",label:"Start"},end:{elem:"input",type:"number",label:"End"},text:{elem:"input",type:"text",label:"Text"},target:"footnote-container"}},_setup:function(e){var t=n.dom.find(e.target);e._container=document.createElement("div"),e._container.style.display="none",e._container.innerHTML=e.text,t.appendChild(e._container)},start:function(e,t){t._container.style.display="inline"},end:function(e,t){t._container.style.display="none"},_teardown:function(e){var t=n.dom.find(e.target);t&&t.removeChild(e._container)}})}(Popcorn),function(a){var o=1,s=!1;a.plugin("googlefeed",function(e){var t=function(){var e=!1,t=0,n=document.getElementsByTagName("link"),i=n.length,r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("link");for(window.GFdynamicFeedControl?s=!0:a.getScript("//www.google.com/uds/solutions/dynamicfeed/gfdynamicfeedcontrol.js",function(){s=!0});t<i;t++)"//www.google.com/uds/solutions/dynamicfeed/gfdynamicfeedcontrol.css"===n[t].href&&(e=!0);e||(o.type="text/css",o.rel="stylesheet",o.href="//www.google.com/uds/solutions/dynamicfeed/gfdynamicfeedcontrol.css",r.insertBefore(o,r.firstChild))};window.google?t():a.getScript("//www.google.com/jsapi",function(){google.load("feeds","1",{callback:function(){t()}})});var n=document.createElement("div"),i=document.getElementById(e.target),r=function(){s?e.feed=new GFdynamicFeedControl(e.url,n,{vertical:"vertical"===e.orientation.toLowerCase(),horizontal:"horizontal"===e.orientation.toLowerCase(),title:e.title=e.title||"Blog"}):setTimeout(function(){r()},5)};return(!e.orientation||"vertical"!==e.orientation.toLowerCase()&&"horizontal"!==e.orientation.toLowerCase())&&(e.orientation="vertical"),n.style.display="none",n.id="_feed"+o,n.style.width="100%",n.style.height="100%",o++,i&&i.appendChild(n),r(),e.toString=function(){return e.url||e._natives.manifest.options.url["default"]},{start:function(){n.setAttribute("style","display:inline")},end:function(){n.setAttribute("style","display:none")},_teardown:function(e){document.getElementById(e.target)&&document.getElementById(e.target).removeChild(n),delete e.feed}}},{about:{name:"Popcorn Google Feed Plugin",version:"0.1",author:"David Seifried",website:"dseifried.wordpress.com"},options:{start:{elem:"input",type:"number",label:"Start"},end:{elem:"input",type:"number",label:"End"},target:"feed-container",url:{elem:"input",type:"url",label:"Feed URL","default":"http://planet.mozilla.org/rss20.xml"},title:{elem:"input",type:"text",label:"Title","default":"Planet Mozilla",optional:!0},orientation:{elem:"select",options:["Vertical","Horizontal"],label:"Orientation","default":"Vertical",optional:!0}}})}(Popcorn),function(r){function o(e){return String(e).replace(/&(?!\w+;)|[<>"']/g,function(e){return t[e]||e})}function a(t,e){var n=t.container=document.createElement("div"),i=n.style,r=t.media,o=function(){var e=t.position();i.fontSize="18px",i.width=r.offsetWidth+"px",i.top=e.top+r.offsetHeight-n.offsetHeight-40+"px",i.left=e.left+"px",setTimeout(o,10)};return n.id=e||"",i.position="absolute",i.color="white",i.textShadow="black 2px 2px 6px",i.fontWeight="bold",i.textAlign="center",o(),t.media.parentNode.appendChild(n),n}var t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};r.plugin("text",{manifest:{about:{name:"Popcorn Text Plugin",version:"0.1",author:"@humphd"},
11options:{start:{elem:"input",type:"number",label:"Start"},end:{elem:"input",type:"number",label:"End"},text:{elem:"input",type:"text",label:"Text","default":"Popcorn.js"},escape:{elem:"input",type:"checkbox",label:"Escape"},multiline:{elem:"input",type:"checkbox",label:"Multiline"}}},_setup:function(e){var t,n,i=e._container=document.createElement("div");i.style.display="none",e.target?(t=r.dom.find(e.target))?-1<["VIDEO","AUDIO"].indexOf(t.nodeName)&&(t=a(this,e.target+"-overlay")):t=a(this,e.target):t=this.container?this.container:a(this),e._target=t,n=e.escape?o(e.text):e.text,n=e.multiline?n.replace(/\r?\n/gm,"<br>"):n,i.innerHTML=n||"",t.appendChild(i),e.toString=function(){return e.text||e._natives.manifest.options.text["default"]}},start:function(e,t){t._container.style.display="inline"},end:function(e,t){t._container.style.display="none"},_teardown:function(e){var t=e._target;t&&t.removeChild(e._container)}})}(Popcorn),function(i){i.plugin("code",function(e){var t,r=!1,o=this,n=(t=function(i){return function(e,t){var n=function(){r&&e.call(o,t),r&&i(n)};n()}},window.webkitRequestAnimationFrame?t(window.webkitRequestAnimationFrame):window.mozRequestAnimationFrame?t(window.mozRequestAnimationFrame):t(function(e){window.setTimeout(e,16)}));return e.onStart&&"function"==typeof e.onStart||(e.onStart=i.nop),e.onEnd&&"function"!=typeof e.onEnd&&(e.onEnd=undefined),e.onFrame&&"function"!=typeof e.onFrame&&(e.onFrame=undefined),{start:function(e,t){t.onStart.call(o,t),t.onFrame&&(r=!0,n(t.onFrame,t))},end:function(e,t){t.onFrame&&(r=!1),t.onEnd&&t.onEnd.call(o,t)}}},{about:{name:"Popcorn Code Plugin",version:"0.1",author:"David Humphrey (@humphd)",website:"http://vocamus.net/dave"},options:{start:{elem:"input",type:"number",label:"Start"},end:{elem:"input",type:"number",label:"End"},onStart:{elem:"input",type:"function",label:"onStart"},onFrame:{elem:"input",type:"function",label:"onFrame",optional:!0},onEnd:{elem:"input",type:"function",label:"onEnd"}}})}(Popcorn),function(o){function e(n){function e(){var e=n.getBoundingClientRect(),t=i.getBoundingClientRect();t.left!==e.left&&(i.style.left=e.left+"px"),t.top!==e.top&&(i.style.top=e.top+"px")}var t=-1,i=document.createElement("div"),r=getComputedStyle(n).zIndex;return i.setAttribute("data-popcorn-helper-container",!0),i.style.position="absolute",i.style.zIndex=isNaN(r)?a:r+1,document.body.appendChild(i),{element:i,start:function(){t=setInterval(e,s)},stop:function(){clearInterval(t),t=-1},destroy:function(){document.body.removeChild(i),-1!==t&&clearInterval(t)}}}var a=2e3,s=10;o.plugin("image",{manifest:{about:{name:"Popcorn image Plugin",version:"0.1",author:"Scott Downe",website:"http://scottdowne.wordpress.com/"},options:{start:{elem:"input",type:"number",label:"Start"},end:{elem:"input",type:"number",label:"End"},src:{elem:"input",type:"url",label:"Image URL","default":"http://mozillapopcorn.org/wp-content/themes/popcorn/images/for_developers.png"},href:{elem:"input",type:"url",label:"Link","default":"http://mozillapopcorn.org/wp-content/themes/popcorn/images/for_developers.png",optional:!0},target:"image-container",text:{elem:"input",type:"text",label:"Caption","default":"Popcorn.js",optional:!0}}},_setup:function(n){var i=document.createElement("img"),r=document.getElementById(n.target);
11n.anchor=document.createElement("a"),n.anchor.style.position="relative",n.anchor.style.textDecoration="none",n.anchor.style.display="none",r&&(-1<["VIDEO","AUDIO"].indexOf(r.nodeName)?(n.trackedContainer=e(r),n.trackedContainer.element.appendChild(n.anchor)):r&&r.appendChild(n.anchor)),i.addEventListener("load",function(){var e,t;i.style.borderStyle="none",n.anchor.href=n.href||n.src||"#",n.anchor.target="_blank",i.style.height=r.style.height,i.style.width=r.style.width,n.anchor.appendChild(i),n.text&&(e=i.height/12+"px",t=document.createElement("div"),o.extend(t.style,{color:"black",fontSize:e,fontWeight:"bold",position:"relative",textAlign:"center",width:i.style.width||i.width+"px",zIndex:"10"}),t.innerHTML=n.text||"",t.style.top=(i.style.height.replace("px","")||i.height)/2-t.offsetHeight/2+"px",n.anchor.insertBefore(t,i))},!1),i.src=n.src,n.toString=function(){var e=n.src||n._natives.manifest.options.src["default"],t=e.replace(/.*\//g,"");return t.length?t:e}},start:function(e,t){t.anchor.style.display="inline",t.trackedContainer&&t.trackedContainer.start()},end:function(e,t){t.anchor.style.display="none",t.trackedContainer&&t.trackedContainer.stop()},_teardown:function(e){e.trackedContainer?e.trackedContainer.destroy():e.anchor.parentNode&&e.anchor.parentNode.removeChild(e.anchor)}})}(Popcorn),function(c){c.parser("parseXML","XML",function(e){for(var r={title:"",remote:"",data:[]},l={},u=function(e){return 1===(e=e.split(":")).length?parseFloat(e[0],10):2===e.length?parseFloat(e[0],10)+parseFloat(e[1]/12,10):3===e.length?parseInt(60*e[0],10)+parseFloat(e[1],10)+parseFloat(e[2]/12,10):4===e.length?parseInt(3600*e[0],10)+parseInt(60*e[1],10)+parseFloat(e[2],10)+parseFloat(e[3]/12,10):void 0},o=function(e){for(var t={},n=0,i=e.length;n<i;n++){var r=e.item(n).nodeName,o=e.item(n).nodeValue,a=l[o];if("in"===r)t.start=u(o);else if("out"===r)t.end=u(o);else if("resourceid"===r)for(var s in a)a.hasOwnProperty(s)&&(t[s]||"id"===s||(t[s]=a[s]));else t[r]=o}return t},a=function(e,t){var n={};return n[e]=t,n},s=function(e,t,n){var i={};if(c.extend(i,t,o(e.attributes),{text:e.textContent||e.text}),(t=e.childNodes).length<1||1===t.length&&3===t[0].nodeType)n?l[i.id]=i:r.data.push(a(e.nodeName,i));else for(e=0;e<t.length;e++)1===t[e].nodeType&&s(t[e],i,n)},t=0,n=(e=e.documentElement.childNodes).length;t<n;t++)1===e[t].nodeType&&("manifest"===e[t].nodeName?s(e[t],{},!0):s(e[t],{},!1));return r})}(Popcorn),Popcorn.parser("parseSBV",function(e){var t={title:"",remote:"",data:[]},n=[],i=0,r=0,o=function(e){var t,n=(e=e.split(":")).length-1;try{t=60*parseInt(e[n-1],10)+parseFloat(e[n],10),2===n&&(t+=3600*parseInt(e[0],10))}catch(i){throw"Bad cue"}return t},a=function(e,t){var n={};return n[e]=t,n};for(r=(e=e.text.split(/(?:\r\n|\r|\n)/gm)).length;i<r;){var s={},l=[],u=e[i++].split(",");try{for(s.start=o(u[0]),s.end=o(u[1]);i<r&&e[i];)l.push(e[i++]);s.text=l.join("<br />"),n.push(a("subtitle",s))}catch(c){for(;i<r&&e[i];)i++}for(;i<r&&!e[i];)i++}return t.data=n,t}),function(n){n.parser("parseJSON","JSON",function(e){var t={title:"",remote:"",data:[]};return n.forEach(e.data,function(e){t.data.push(e)}),t})}(Popcorn),Popcorn.parser("parseTTXT",function(e){var t={title:"",remote:"",data:[]},n=function(e){e=e.split(":");var t=0;try{return 60*parseFloat(e[0],10)*60+60*parseFloat(e[1],10)+parseFloat(e[2],10)}catch(n){t=0}return t},i=function(e,t){var n={};return n[e]=t,n};e=e.xml.lastChild.lastChild;for(var r=Number.MAX_VALUE,o=[];e;){if(1===e.nodeType&&"TextSample"===e.nodeName){var a={};a.start=n(e.getAttribute("sampleTime")),a.text=e.getAttribute("text"),a.text&&(a.end=r-.001,o.push(i("subtitle",a))),r=a.start}e=e.previousSibling}return t.data=o.reverse(),t}),function(o){function a(e,t,n){var i,r=e.firstChild;for(e=s(e,n),n=[];r;)1===r.nodeType&&("p"===r.nodeName?n.push(l(r,t,e)):"div"===r.nodeName&&((i=u(r.getAttribute("begin")))<0&&(i=t),n.push.apply(n,a(r,i,e)))),r=r.nextSibling;return n}function s(e,t){var n=e.getAttribute("region");return null!==n?n:t||""}function l(e,t,n){var i={};return i.text=(e.textContent||e.text).replace(r,"").replace(c,"<br />"),i.id=e.getAttribute("xml:id")||e.getAttribute("id"),i.start=u(e.getAttribute("begin"),t),i.end=u(e.getAttribute("end"),t),i.target=s(e,n),i.end<0&&(i.end=u(e.getAttribute("duration"),0),0<=i.end?i.end+=i.start:i.end=Number.MAX_VALUE),{subtitle:i}}function u(e,t){var n;if(!e)return-1;try{return o.util.toSeconds(e)}catch(r){for(var i=e.length-1;0<=i&&e[i]<="9"&&"0"<=e[i];)i--;return n=i,(i=parseFloat(e.substring(0,n)))*({h:3600,m:60,s:1,ms:.001}[n=e.substring(n)]||-1)+(t||0)}}
11var r=/^[\s]+|[\s]+$/gm,c=/(?:\r\n|\r|\n)/gm;o.parser("parseTTML",function(e){var t={title:"",remote:"",data:[]};if(!e.xml||!e.xml.documentElement)return t;if(!(e=e.xml.documentElement.firstChild))return t;for(;"body"!==e.nodeName;)e=e.nextSibling;return e&&(t.data=a(e,0)),t})}(Popcorn),function(){function d(e){var t,n=e.split(":");if(12!==(e=e.length)&&9!==e)throw"Bad cue";e=n.length-1;try{t=60*parseInt(n[e-1],10)+parseFloat(n[e],10),2===e&&(t+=3600*parseInt(n[0],10))}catch(i){throw"Bad cue"}return t}function p(e,t){var n={};return n[e]=t,n}Popcorn.parser("parseVTT",function(e){var t,n,i={title:"",remote:"",data:[]},r=[],o=0,a=0;if(0===(a=(e=e.text.split(/(?:\r\n|\r|\n)/gm)).length)||"WEBVTT"!==e[0])return i;for(o++;o<a;){t=[];try{for(var s=o;s<a&&!e[s];)s++;o=s;var l=e[o++];s=void 0;var u={};if(!l||-1===l.indexOf("-->"))throw"Bad cue";if((s=l.replace(/--\>/," --> ").split(/[\t ]+/)).length<2)throw"Bad cue";for(u.id=l,u.start=d(s[0]),u.end=d(s[2]),n=u;o<a&&e[o];)t.push(e[o++]);n.text=t.join("<br />"),r.push(p("subtitle",n))}catch(c){for(o=o;o<a&&e[o];)o++;o=o}}return i.data=r,i})}(),function(){function c(e,t){var n,i=e.substr(10).split(",");if(-1===(n={start:u(i[t.start]),end:u(i[t.end])}).start||-1===n.end)throw"Invalid time";var r,o=l.call(r,/\{(\\[\w]+\(?([\w\d]+,?)+\)?)+\}/gi,""),a=o.replace;r=i.length,l=[];for(var s=t.text;s<r;
11s++)l.push(i[s]);var l=(r=l.join(",")).replace;return n.text=a.call(o,/\\N/gi,"<br />"),n}function u(e){var t=e.split(":");return 10!==e.length||t.length<3?-1:3600*parseInt(t[0],10)+60*parseInt(t[1],10)+parseFloat(t[2],10)}function d(e,t){var n={};return n[e]=t,n}Popcorn.parser("parseSSA",function(e){var t,n={title:"",remote:"",data:[]},i=[],r=0;for(t=(e=e.text.split(/(?:\r\n|\r|\n)/gm)).length;r<t&&"[Events]"!==e[r];)r++;var o,a,s=e[++r].substr(8).split(", "),l={};for(a=0,o=s.length;a<o;a++)"Start"===s[a]?l.start=a:"End"===s[a]?l.end=a:"Text"===s[a]&&(l.text=a);for(;++r<t&&e[r]&&"["!==e[r][0];)try{i.push(d("subtitle",c(e[r],l)))}catch(u){}return n.data=i,n})}(),function(){function d(e,t){var n={};return n[e]=t,n}function p(e){e=e.split(":");try{var t=e[2].split(",");return 1===t.length&&(t=e[2].split(".")),3600*parseFloat(e[0],10)+60*parseFloat(e[1],10)+parseFloat(t[0],10)+parseFloat(t[1],10)/1e3}catch(n){return 0}}Popcorn.parser("parseSRT",function(e,t){var n,i,r,o,a,s={title:"",remote:"",data:[]},l=[],u=0,c=0;for(r=(n=e.text.split(/(?:\r\n|\r|\n)/gm)).length-1;0<=r&&!n[r];)r--;for(o=r+1,u=0;u<o;u++){for(a={},r=[],u=u;!n[u];)u++;for(u=u,a.id=parseInt(n[u++],10),i=n[u++].split(/[\t ]*--\>[\t ]*/),a.start=p(i[0]),-1!==(c=i[1].indexOf(" "))&&(i[1]=i[1].substr(0,c)),a.end=p(i[1]);u<o&&n[u];)r.push(n[u++]);a.text=r.join("\\N").replace(/\{(\\[\w]+\(?([\w\d]+,?)+\)?)+\}/gi,""),a.text=a.text.replace(/</g,"&lt;").replace(/>/g,"&gt;"),a.text=a.text.replace(/&lt;(\/?(font|b|u|i|s))((\s+(\w|\w[\w\-]*\w)(\s*=\s*(?:\".*?\"|'.*?'|[^'\">\s]+))?)+\s*|\s*)(\/?)&gt;/gi,"<$1$3$7>"),a.text=a.text.replace(/\\N/gi,"<br />"),t&&t.target&&(a.target=t.target),l.push(d("subtitle",a))}return s.data=l,s})}(),function(e,r){r.player("vimeo",{_canPlayType:function(e,t){return"string"==typeof t&&r.HTMLVimeoVideoElement._canPlaySrc(t)}}),r.vimeo=function(e,t,n){"undefined"!=typeof console&&console.warn&&console.warn("Deprecated player 'vimeo'. Please use Popcorn.HTMLVimeoVideoElement directly.");var i=r.HTMLVimeoVideoElement(e);return e=r(i,n),setTimeout(function(){i.src=t},0),e}}(window,Popcorn),function(e,r){var t=function(e,t){return"string"==typeof t&&r.HTMLYouTubeVideoElement._canPlaySrc(t)};r.player("youtube",{_canPlayType:t}),r.youtube=function(e,t,n){"undefined"!=typeof console&&console.warn&&console.warn("Deprecated player 'youtube'. Please use Popcorn.HTMLYouTubeVideoElement directly.");var i=r.HTMLYouTubeVideoElement(e);return e=r(i,n),setTimeout(function(){i.src=t},0),e},r.youtube.canPlayType=t}(window,Popcorn),function(e,r){r.player("soundcloud",{_canPlayType:function(e,t){return"string"==typeof t&&r.HTMLSoundCloudAudioElement._canPlaySrc(t)&&"audio"!==e.toLowerCase()}}),r.soundcloud=function(e,t,n){"undefined"!=typeof console&&console.warn&&console.warn("Deprecated player 'soundcloud'. Please use Popcorn.HTMLSoundCloudAudioElement directly.");var i=r.HTMLSoundCloudAudioElement(e);return e=r(i,n),setTimeout(function(){i.src=t},0),e}}(window,Popcorn),function(e){var o=1;e.plugin("timeline",function(e){var n,t=document.getElementById(e.target),i=document.createElement("li"),r=!0;return t&&!t.firstChild?(t.appendChild(n=document.createElement("li")),n.style.width="inherit",n.style.height="inherit",n.style.overflow="auto"):n=t.firstChild,i.style.display="none",i.id="timelineDiv"+o,e.direction=e.direction||"up","down"===e.direction.toLowerCase()&&(r=!1),t&&n&&(r?n.insertBefore(i,n.firstChild):n.appendChild(i)),o++,i.innerHTML="<i class='material-icons circle green'>pause</i><span class='title'>"+e.title+"</span><p>"+e.text+"<br><br>"+e.innerHTML+"</p>",{start:function(e,t){i.style.display="block","down"===t.direction&&(n.scrollTop=n.scrollHeight)},end:function(){i.style.display="none"},_teardown:function(){n&&i&&n.removeChild(i)&&!n.firstChild&&t.removeChild(n)}}},{about:{name:"Popcorn Timeline Plugin",version:"0.1",author:"David Seifried @dcseifried",website:"dseifried.wordpress.com"},options:{start:{elem:"input",type:"number",label:"Start"},end:{elem:"input",type:"number",label:"End"},target:"feed-container",title:{elem:"input",type:"text",label:"Title"},text:{elem:"input",type:"text",label:"Text"},innerHTML:{elem:"input",type:"text",label:"HTML Code",optional:!0},direction:{elem:"select",options:["DOWN","UP"],label:"Direction",optional:!0}}})}(Popcorn),function(){function e(s){function l(e,t,n,i,r,o){for(;0<=r&&r<o;r+=s){var a=i?i[r]:r;n=t(n,e[a],a,e)}return n}return function(e,t,n,i){t=b(t,i,4);var r=!C(e)&&y.keys(e),o=(r||e).length,a=0<s?0:o-1;return arguments.length<3&&(n=e[r?r[a]:a],a+=s),l(e,t,n,r,a,o)}}function t(o){return function(e,t,n){t=w(t,n);for(var i=S(e),r=0<o?0:i-1;0<=r&&r<i;r+=o)if(t(e[r],r,e))return r;return-1}}function n(o,a,s){return function(e,t,n){var i=0,r=S(e);if("number"==typeof n)0<o?i=0<=n?n:Math.max(n+r,i):r=0<=n?Math.min(n+1,r):n+r+1;else if(s&&n&&r)return e[n=s(e,t)]===t?n:-1;if(t!=t)return 0<=(n=a(c.call(e,i,r),y.isNaN))?n+i:-1;for(n=0<o?i:r-1;0<=n&&n<r;
vendor: 9,603 bytes, line 11
11n+=o)if(e[n]===t)return n;return-1}}function i(e,t){var n=A.length,i=e.constructor,r=y.isFunction(i)&&i.prototype||s,o="constructor";for(y.has(e,o)&&!y.contains(t,o)&&t.push(o);n--;)(o=A[n])in e&&e[o]!==r[o]&&!y.contains(t,o)&&t.push(o)}var r=this,o=r._,a=Array.prototype,s=Object.prototype,l=Function.prototype,u=a.push,c=a.slice,d=s.toString,p=s.hasOwnProperty,h=Array.isArray,f=Object.keys,g=l.bind,m=Object.create,v=function(){},y=function(e){return e instanceof y?e:this instanceof y?void(this._wrapped=e):new y(e)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=y),exports._=y):r._=y,y.VERSION="1.8.3";var b=function(r,o,e){if(void 0===o)return r;switch(null==e?3:e){case 1:return function(e){return r.call(o,e)};case 2:return function(e,t){return r.call(o,e,t)};case 3:return function(e,t,n){return r.call(o,e,t,n)};case 4:return function(e,t,n,i){return r.call(o,e,t,n,i)}}return function(){return r.apply(o,arguments)}},w=function(e,t,n){return null==e?y.identity:y.isFunction(e)?b(e,t,n):y.isObject(e)?y.matcher(e):y.property(e)};y.iteratee=function(e,t){return w(e,t,Infinity)};var _=function(l,u){return function(e){var t=arguments.length;if(t<2||null==e)return e;for(var n=1;n<t;n++)for(var i=arguments[n],r=l(i),o=r.length,a=0;a<o;a++){var s=r[a];u&&void 0!==e[s]||(e[s]=i[s])}return e}},x=function(e){if(!y.isObject(e))return{};if(m)return m(e);v.prototype=e;var t=new v;return v.prototype=null,t},k=function(t){return function(e){return null==e?void 0:e[t]}},T=Math.pow(2,53)-1,S=k("length"),C=function(e){var t=S(e);return"number"==typeof t&&0<=t&&t<=T};y.each=y.forEach=function(e,t,n){var i,r;if(t=b(t,n),C(e))for(i=0,r=e.length;i<r;i++)t(e[i],i,e);else{var o=y.keys(e);for(i=0,r=o.length;i<r;i++)t(e[o[i]],o[i],e)}return e},y.map=y.collect=function(e,t,n){t=w(t,n);for(var i=!C(e)&&y.keys(e),r=(i||e).length,o=Array(r),a=0;a<r;a++){var s=i?i[a]:a;o[a]=t(e[s],s,e)}return o},y.reduce=y.foldl=y.inject=e(1),y.reduceRight=y.foldr=e(-1),y.find=y.detect=function(e,t,n){var i;if(void 0!==(i=C(e)?y.findIndex(e,t,n):y.findKey(e,t,n))&&-1!==i)return e[i]},y.filter=y.select=function(e,i,t){var r=[];return i=w(i,t),y.each(e,function(e,t,n){i(e,t,n)&&r.push(e)}),r},y.reject=function(e,t,n){return y.filter(e,y.negate(w(t)),n)},y.every=y.all=function(e,t,n){t=w(t,n);for(var i=!C(e)&&y.keys(e),r=(i||e).length,o=0;o<r;o++){var a=i?i[o]:o;if(!t(e[a],a,e))return!1}return!0},y.some=y.any=function(e,t,n){t=w(t,n);for(var i=!C(e)&&y.keys(e),r=(i||e).length,o=0;o<r;o++){var a=i?i[o]:o;if(t(e[a],a,e))return!0}return!1},y.contains=y.includes=y.include=function(e,t,n,i){return C(e)||(e=y.values(e)),("number"!=typeof n||i)&&(n=0),0<=y.indexOf(e,t,n)},y.invoke=function(e,n){var i=c.call(arguments,2),r=y.isFunction(n);return y.map(e,function(e){var t=r?n:e[n];return null==t?t:t.apply(e,i)})},y.pluck=function(e,t){return y.map(e,y.property(t))},y.where=function(e,t){return y.filter(e,y.matcher(t))},y.findWhere=function(e,t){return y.find(e,y.matcher(t))},y.max=function(e,i,t){var n,r,o=-Infinity,a=-Infinity;if(null==i&&null!=e)for(var s=0,l=(e=C(e)?e:y.values(e)).length;s<l;s++)n=e[s],o<n&&(o=n);else i=w(i,t),y.each(e,function(e,t,n){r=i(e,t,n),(a<r||r===-Infinity&&o===-Infinity)&&(o=e,a=r)});return o},y.min=function(e,i,t){var n,r,o=Infinity,a=Infinity;if(null==i&&null!=e)for(var s=0,l=(e=C(e)?e:y.values(e)).length;s<l;s++)(n=e[s])<o&&(o=n);else i=w(i,t),y.each(e,function(e,t,n){((r=i(e,t,n))<a||r===Infinity&&o===Infinity)&&(o=e,a=r)});return o},y.shuffle=function(e){for(var t,n=C(e)?e:y.values(e),i=n.length,r=Array(i),o=0;o<i;o++)(t=y.random(0,o))!==o&&(r[o]=r[t]),r[t]=n[o];return r},y.sample=function(e,t,n){return null==t||n?(C(e)||(e=y.values(e)),e[y.random(e.length-1)]):y.shuffle(e).slice(0,Math.max(0,t))},y.sortBy=function(e,i,t){return i=w(i,t),y.pluck(y.map(e,function(e,t,n){return{value:e,index:t,criteria:i(e,t,n)}}).sort(function(e,t){var n=e.criteria,i=t.criteria;if(n!==i){if(i<n||void 0===n)return 1;if(n<i||void 0===i)return-1}return e.index-t.index}),"value")};var E=function(a){return function(i,r,e){var o={};return r=w(r,e),y.each(i,function(e,t){var n=r(e,t,i);a(o,e,n)}),o}};y.groupBy=E(function(e,t,n){y.has(e,n)?e[n].push(t):e[n]=[t]}),y.indexBy=E(function(e,t,n){e[n]=t}),y.countBy=E(function(e,t,n){y.has(e,n)?e[n]++:e[n]=1}),y.toArray=function(e){return e?y.isArray(e)?c.call(e):C(e)?y.map(e,y.identity):y.values(e):[]},y.size=function(e){return null==e?0:C(e)?e.length:y.keys(e).length},y.partition=function(e,i,t){i=w(i,t);var r=[],o=[];return y.each(e,function(e,t,n){(i(e,t,n)?r:o).push(e)}),[r,o]},y.first=y.head=y.take=function(e,t,n){if(null!=e)return null==t||n?e[0]:y.initial(e,e.length-t)},y.initial=function(e,t,n){return c.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))},y.last=function(e,t,n){if(null!=e)return null==t||n?e[e.length-1]:y.rest(e,Math.max(0,e.length-t))},y.rest=y.tail=y.drop=function(e,t,n){return c.call(e,null==t||n?1:t)},y.compact=function(e){return y.filter(e,y.identity)};var D=function(e,t,n,i){for(var r=[],o=0,a=i||0,s=S(e);a<s;a++){var l=e[a];if(C(l)&&(y.isArray(l)||y.isArguments(l))){t||(l=D(l,t,n));var u=0,c=l.length;for(r.length+=c;u<c;)r[o++]=l[u++]}else n||(r[o++]=l)}return r};y.flatten=function(e,t){return D(e,t,!1)},y.without=function(e){return y.difference(e,c.call(arguments,1))},y.uniq=y.unique=function(e,t,n,i){y.isBoolean(t)||(i=n,n=t,t=!1),null!=n&&(n=w(n,i));for(var r=[],o=[],a=0,s=S(e);a<s;a++){var l=e[a],u=n?n(l,a,e):l;t?(a&&o===u||r.push(l),o=u):n?y.contains(o,u)||(o.push(u),r.push(l)):y.contains(r,l)||r.push(l)}return r},y.union=function(){return y.uniq(D(arguments,!0,!0))},y.intersection=function(e){for(var t=[],n=arguments.length,i=0,r=S(e);i<r;i++){var o=e[i];if(!y.contains(t,o)){for(var a=1;a<n&&y.contains(arguments[a],o);a++);a===n&&t.push(o)}}return t},y.difference=function(e){var t=D(arguments,!0,!0,1);return y.filter(e,function(e){return!y.contains(t,e)})},y.zip=function(){return y.unzip(arguments)},y.unzip=function(e){for(var t=e&&y.max(e,S).length||0,n=Array(t),i=0;i<t;i++)n[i]=y.pluck(e,i);return n},y.object=function(e,t){for(var n={},i=0,r=S(e);i<r;i++)t?n[e[i]]=t[i]:n[e[i][0]]=e[i][1];return n},y.findIndex=t(1),y.findLastIndex=t(-1),y.sortedIndex=function(e,t,n,i){for(var r=(n=w(n,i,1))(t),o=0,a=S(e);o<a;){var s=Math.floor((o+a)/2);n(e[s])<r?o=s+1:a=s}return o},y.indexOf=n(1,y.findIndex,y.sortedIndex),y.lastIndexOf=n(-1,y.findLastIndex),y.range=function(e,t,n){null==t&&(t=e||0,e=0),n=n||1;for(var i=Math.max(Math.ceil((t-e)/n),0),r=Array(i),o=0;o<i;o++,e+=n)r[o]=e;return r};var O=function(e,t,n,i,r){if(!(i instanceof t))return e.apply(n,r);var o=x(e.prototype),a=e.apply(o,r);return y.isObject(a)?a:o};y.bind=function(e,t){if(g&&e.bind===g)return g.apply(e,c.call(arguments,1));if(!y.isFunction(e))throw new TypeError("Bind must be called on a function");var n=c.call(arguments,2),i=function(){return O(e,i,t,this,n.concat(c.call(arguments)))};return i},y.partial=function(r){var o=c.call(arguments,1),a=function(){for(var e=0,t=o.length,n=Array(t),i=0;i<t;i++)n[i]=o[i]===y?arguments[e++]:o[i];for(;e<arguments.length;)n.push(arguments[e++]);return O(r,a,this,this,n)};return a},y.bindAll=function(e){var t,n,i=arguments.length;if(i<=1)throw new Error("bindAll must be passed function names");for(t=1;t<i;t++)e[n=arguments[t]]=y.bind(e[n],e);return e},y.memoize=function(i,r){var o=function(e){var t=o.cache,n=""+(r?r.apply(this,arguments):e);return y.has(t,n)||(t[n]=i.apply(this,arguments)),t[n]};return o.cache={},o},y.delay=function(e,t){var n=c.call(arguments,2);return setTimeout(function(){return e.apply(null,n)},t)},y.defer=y.partial(y.delay,y,1),y.throttle=function(n,i,r){var o,a,s,l=null,u=0;r||(r={});var c=function(){u=!1===r.leading?0:y.now(),l=null,s=n.apply(o,a),l||(o=a=null)};return function(){var e=y.now();u||!1!==r.leading||(u=e);var t=i-(e-u);return o=this,a=arguments,t<=0||i<t?(l&&(clearTimeout(l),l=null),u=e,s=n.apply(o,a),l||(o=a=null)):l||!1===r.trailing||(l=setTimeout(c,t)),s}},y.debounce=function(t,n,i){var r,o,a,s,l,u=function(){var e=y.now()-s;e<n&&0<=e?r=setTimeout(u,n-e):(r=null,i||(l=t.apply(a,o),r||(a=o=null)))};return function(){a=this,o=arguments,s=y.now();var e=i&&!r;return r||(r=setTimeout(u,n)),e&&(l=t.apply(a,o),a=o=null),l}},y.wrap=function(e,t){return y.partial(t,e)},y.negate=function(e){return function(){return!e.apply(this,arguments)}},y.compose=function(){var n=arguments,i=n.length-1;return function(){for(var e=i,t=n[i].apply(this,arguments);e--;)t=n[e].call(this,t);return t}},y.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},y.before=function(e,t){var n;return function(){return 0<--e&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}},y.once=y.partial(y.before,2);var P=!{toString:null}.propertyIsEnumerable("toString"),A=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];y.keys=function(e){if(!y.isObject(e))return[];if(f)return f(e);var t=[];for(var n in e)y.has(e,n)&&t.push(n);return P&&i(e,t),t},y.allKeys=function(e){if(!y.isObject(e))return[];var t=[];for(var n in e)t.push(n);return P&&i(e,t),t},y.values=function(e){for(var t=y.keys(e),n=t.length,i=Array(n),r=0;r<n;r++)i[r]=e[t[r]];return i},y.mapObject=function(e,t,n){t=w(t,n);for(var i,r=y.keys(e),o=r.length,a={},s=0;s<o;s++)a[i=r[s]]=t(e[i],i,e);return a},y.pairs=function(e){for(var t=y.keys(e),n=t.length,i=Array(n),r=0;r<n;r++)i[r]=[t[r],e[t[r]]];return i},y.invert=function(e){for(var t={},n=y.keys(e),i=0,r=n.length;i<r;i++)t[e[n[i]]]=n[i];return t},y.functions=y.methods=function(e){var t=[];
11for(var n in e)y.isFunction(e[n])&&t.push(n);return t.sort()},y.extend=_(y.allKeys),y.extendOwn=y.assign=_(y.keys),y.findKey=function(e,t,n){t=w(t,n);for(var i,r=y.keys(e),o=0,a=r.length;o<a;o++)if(t(e[i=r[o]],i,e))return i},y.pick=function(e,t,n){var i,r,o={},a=e;if(null==a)return o;y.isFunction(t)?(r=y.allKeys(a),i=b(t,n)):(r=D(arguments,!1,!1,1),i=function(e,t,n){return t in n},a=Object(a));for(var s=0,l=r.length;s<l;s++){var u=r[s],c=a[u];i(c,u,a)&&(o[u]=c)}return o},y.omit=function(e,t,n){if(y.isFunction(t))t=y.negate(t);else{var i=y.map(D(arguments,!1,!1,1),String);t=function(e,t){return!y.contains(i,t)}}return y.pick(e,t,n)},y.defaults=_(y.allKeys,!0),y.create=function(e,t){var n=x(e);return t&&y.extendOwn(n,t),n},y.clone=function(e){return y.isObject(e)?y.isArray(e)?e.slice():y.extend({},e):e},y.tap=function(e,t){return t(e),e},y.isMatch=function(e,t){var n=y.keys(t),i=n.length;if(null==e)return!i;for(var r=Object(e),o=0;o<i;o++){var a=n[o];if(t[a]!==r[a]||!(a in r))return!1}return!0};var M=function(e,t,n,i){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return e===t;e instanceof y&&(e=e._wrapped),t instanceof y&&(t=t._wrapped);var r=d.call(e);if(r!==d.call(t))return!1;switch(r){case"[object RegExp]":case"[object String]":return""+e==""+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}var o="[object Array]"===r;if(!o){if("object"!=typeof e||"object"!=typeof t)return!1;var a=e.constructor,s=t.constructor;if(a!==s&&!(y.isFunction(a)&&a instanceof a&&y.isFunction(s)&&s instanceof s)&&"constructor"in e&&"constructor"in t)return!1}i=i||[];for(var l=(n=n||[]).length;l--;)if(n[l]===e)return i[l]===t;if(n.push(e),i.push(t),o){if((l=e.length)!==t.length)return!1;for(;l--;)if(!M(e[l],t[l],n,i))return!1}else{var u,c=y.keys(e);if(l=c.length,y.keys(t).length!==l)return!1;for(;l--;)if(u=c[l],!y.has(t,u)||!M(e[u],t[u],n,i))return!1}return n.pop(),i.pop(),!0};y.isEqual=function(e,t){return M(e,t)},y.isEmpty=function(e){return null==e||(C(e)&&(y.isArray(e)||y.isString(e)||y.isArguments(e))?0===e.length:0===y.keys(e).length)},y.isElement=function(e){return!(!e||1!==e.nodeType)},y.isArray=h||function(e){return"[object Array]"===d.call(e)},y.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},y.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(t){y["is"+t]=function(e){return d.call(e)==="[object "+t+"]"}}),y.isArguments(arguments)||(y.isArguments=function(e){return y.has(e,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(y.isFunction=function(e){return"function"==typeof e||!1}),y.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))},y.isNaN=function(e){return y.isNumber(e)&&e!==+e},y.isBoolean=function(e){return!0===e||!1===e||"[object Boolean]"===d.call(e)},y.isNull=function(e){return null===e},y.isUndefined=function(e){return void 0===e},y.has=function(e,t){return null!=e&&p.call(e,t)},y.noConflict=function(){return r._=o,this},y.identity=function(e){return e},y.constant=function(e){return function(){return e}},y.noop=function(){},y.property=k,y.propertyOf=function(t){return null==t?function(){}:function(e){return t[e]}},y.matcher=y.matches=function(t){return t=y.extendOwn({},t),function(e){return y.isMatch(e,t)}},y.times=function(e,t,n){var i=Array(Math.max(0,e));t=b(t,n,1);for(var r=0;r<e;r++)i[r]=t(r);return i},y.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},y.now=Date.now||function(){return(new Date).getTime()};var I={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},j=y.invert(I),N=function(t){var n=function(e){return t[e]},e="(?:"+y.keys(t).join("|")+")",i=RegExp(e),r=RegExp(e,"g");return function(e){return e=null==e?"":""+e,i.test(e)?e.replace(r,n):e}};y.escape=N(I),y.unescape=N(j),y.result=function(e,t,n){var i=null==e?void 0:e[t];return void 0===i&&(i=n),y.isFunction(i)?i.call(e):i};var L=0;y.uniqueId=function(e){var t=++L+"";return e?e+t:t},y.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var $=/(.)^/,H={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},R=/\\|'|\r|\n|\u2028|\u2029/g,z=function(e){return"\\"+H[e]};y.template=function(o,e,t){!e&&t&&(e=t),e=y.defaults({},e,y.templateSettings);var n=RegExp([(e.escape||$).source,(e.interpolate||$).source,(e.evaluate||$).source].join("|")+"|$","g"),a=0,s="__p+='";o.replace(n,function(e,t,n,i,r){return s+=o.slice(a,r).replace(R,z),a=r+e.length,t?s+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":n?s+="'+\n((__t=("+n+"))==null?'':__t)+\n'":i&&(s+="';\n"+i+"\n__p+='"),e}),s+="';\n",e.variable||(s="with(obj||{}){\n"+s+"}\n"),s="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+s+"return __p;\n";try{var i=new Function(e.variable||"obj","_",s)}catch(u){throw u.source=s,u}var r=function(e){return i.call(this,e,y)},l=e.variable||"obj";return r.source="function("+l+"){\n"+s+"}",r},y.chain=function(e){var t=y(e);return t._chain=!0,t};var F=function(e,t){return e._chain?y(t).chain():t};y.mixin=function(n){y.each(y.functions(n),function(e){var t=y[e]=n[e];y.prototype[e]=function(){var e=[this._wrapped];return u.apply(e,arguments),F(this,t.apply(y,e))}})},y.mixin(y),y.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var n=a[t];y.prototype[t]=function(){var e=this._wrapped;return n.apply(e,arguments),"shift"!==t&&"splice"!==t||0!==e.length||delete e[0],F(this,e)}}),y.each(["concat","join","slice"],function(e){var t=a[e];y.prototype[e]=function(){return F(this,t.apply(this._wrapped,arguments))}}),y.prototype.value=function(){return this._wrapped},y.prototype.valueOf=y.prototype.toJSON=y.prototype.value,y.prototype.toString=function(){return""+this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return y})}.call(this),function(){this.Gmaps={build:function(e,t){return null==t&&(t={}),new(_.isFunction(t.handler)?t.handler:Gmaps.Objects.Handler)(e,t)},Builders:{},Objects:{},Google:{Objects:{},Builders:{}}}}.call(this),function(){var r,o=[].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1};r=["extended","included"],this.Gmaps.Base=function(){function e(){}return e.extend=function(e){var t,n,i;for(t in e)i=e[t],o.call(r,t)<0&&(this[t]=i);return null!=(n=e.extended)&&n.apply(this),this},e.include=function(e){var t,n,i;for(t in e)i=e[t],o.call(r,t)<0&&(this.prototype[t]=i);return null!=(n=e.included)&&n.apply(this),this},e}()}.call(this),function(){this.Gmaps.Objects.BaseBuilder=function(){function e(){}return e.prototype.build=function(){return new(this.model_class())(this.serviceObject)},e.prototype.before_init=function(){},e.prototype.after_init=function(){},e.prototype.addListener=function(e,t){return this.primitives().addListener(this.getServiceObject(),e,t)},e.prototype.getServiceObject=function(){return this.serviceObject},e.prototype.primitives=function(){return this.constructor.PRIMITIVES},e.prototype.model_class=function(){return this.constructor.OBJECT},e}()}.call(this),function(){this.Gmaps.Objects.Builders=function(i,r,o){return{build:function(e,t,n){return r.PRIMITIVES=o,i.OBJECT=r,i.PRIMITIVES=o,new i(e,t,n).build()}}}}.call(this),function(){this.Gmaps.Objects.Handler=function(){function e(e,t){this.type=e,null==t&&(t={}),this.setPrimitives(t),this.setOptions(t),this._cacheAllBuilders(),this.resetBounds()}return e.prototype.buildMap=function(e,t){return null==t&&(t=function(){}),this.map=this._builder("Map").build(e,(n=this,function(){return n._createClusterer(),t()}));var n},e.prototype.addMarkers=function(e,t){return _.map(e,(n=this,function(e){return n.addMarker(e,t)}));var n},e.prototype.addMarker=function(e,t){var n;return(n=this._builder("Marker").build(e,t,this.marker_options)).setMap(this.getMap()),this.clusterer.addMarker(n),n},e.prototype.addCircles=function(e,t){return _.map(e,(n=this,function(e){return n.addCircle(e,t)}));var n},e.prototype.addCircle=function(e,t){return this._addResource("circle",e,t)},e.prototype.addPolylines=function(e,t){return _.map(e,(n=this,function(e){return n.addPolyline(e,t)}));var n},e.prototype.addPolyline=function(e,t){return this._addResource("polyline",e,t)},e.prototype.addPolygons=function(e,t){return _.map(e,(n=this,function(e){return n.addPolygon(e,t)}));var n},e.prototype.addPolygon=function(e,t){return this._addResource("polygon",e,t)},e.prototype.addKmls=function(e,t){return _.map(e,(n=this,function(e){return n.addKml(e,t)}));var n},e.prototype.addKml=function(e,t){return this._addResource("kml",e,t)},e.prototype.removeMarkers=function(e){return _.map(e,(t=this,function(e){return t.removeMarker(e)}));var t},e.prototype.removeMarker=function(e){return e.clear(),this.clusterer.removeMarker(e)},e.prototype.fitMapToBounds=function(){
12return this.map.fitToBounds(this.bounds.getServiceObject())},e.prototype.getMap=function(){return this.map.getServiceObject()},e.prototype.setOptions=function(e){return this.marker_options=_.extend(this._default_marker_options(),e.markers),this.builders=_.extend(this._default_builders(),e.builders),this.models=_.extend(this._default_models(),e.models)},e.prototype.resetBounds=function(){return this.bounds=this._builder("Bound").build()},e.prototype.setPrimitives=function(e){return this.primitives=void 0===e.primitives?this._rootModule(
12).Primitives():_.isFunction(e.primitives)?e.primitives():e.primitives},e.prototype.currentInfowindow=function(){return this.builders.Marker.CURRENT_INFOWINDOW},e.prototype._addResource=function(e,t,n){var i;return(i=this._builder(e).build(t,n)).setMap(this.getMap()),i},e.prototype._cacheAllBuilders=function(){var t;return t=this,_.each(["Bound","Circle","Clusterer","Kml","Map","Marker","Polygon","Polyline"],function(e){return t._builder(e)})},e.prototype._clusterize=function(){return _.isObject(this.marker_options.clusterer)},e.prototype._createClusterer=function(){return this.clusterer=this._builder("Clusterer").build({map:this.getMap()},this.marker_options.clusterer)},e.prototype._default_marker_options=function(){return _.clone({singleInfowindow:!0,maxRandomDistance:0,clusterer:{maxZoom:5,gridSize:50}})},e.prototype._builder=function(e){var t;return e=this._capitalize(e),null==this[t="__builder"+e]&&(this[t]=Gmaps.Objects.Builders(this.builders[e],this.models[e],this.primitives)),this["__builder"+e]},e.prototype._default_models=function(){var e;
12return e=_.clone(this._rootModule().Objects),this._clusterize()||(e.Clusterer=Gmaps.Objects.NullClusterer),e},e.prototype._capitalize=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},e.prototype._default_builders=function(){return _.clone(this._rootModule().Builders)},e.prototype._rootModule=function(){return null==this.__rootModule&&(this.__rootModule=Gmaps[this.type]),this.__rootModule},e}()}.call(this),function(){this.Gmaps.Objects.NullClusterer=function(){function e(){}return e.prototype.addMarkers=function(){},e.prototype.addMarker=function(){},e.prototype.clear=function(){},e.prototype.removeMarker=function(){},e}()}.call(this),function(){this.Gmaps.Google.Objects.Common={getServiceObject:function(){return this.serviceObject},setMap:function(e){return this.getServiceObject().setMap(e)},clear:function(){return this.getServiceObject().setMap(null)},show:function(){return this.getServiceObject().setVisible(!0)},hide:function(){return this.getServiceObject().setVisible(!1)},isVisible:function(){return this.getServiceObject().getVisible()},primitives:function(){return this.constructor.PRIMITIVES}}}.call(this),function(){var n=function(e,t){function n(){this.constructor=e}for(var i in t)r.call(t,i)&&(e[i]=t[i]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},r={}.hasOwnProperty;this.Gmaps.Google.Builders.Bound=function(e){function t(){this.before_init(),this.serviceObject=new(this.primitives().latLngBounds),this.after_init()}return n(t,e),t}(Gmaps.Objects.BaseBuilder)}.call(this),function(){var n=function(e,t){function n(){this.constructor=e}for(var i in t)r.call(t,i)&&(e[i]=t[i]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},r={}.hasOwnProperty;this.Gmaps.Google.Builders.Circle=function(e){function t(e,t){this.args=e,this.provider_options=null!=t?t:{},this.before_init(),this.serviceObject=this.create_circle(),this.after_init()}return n(t,e),t.prototype.create_circle=function(){return new(this.primitives().circle)(this.circle_options())},t.prototype.circle_options=function(){var e;return e={center:new(this.primitives().latLng)(this.args.lat,this.args.lng),radius:this.args.radius},_.defaults(e,this.provider_options)},t}(Gmaps.Objects.BaseBuilder)}.call(this),function(){var n=function(e,t){function n(){this.constructor=e}for(var i in t)r.call(t,i)&&(e[i]=t[i]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},r={}.hasOwnProperty;this.Gmaps.Google.Builders.Clusterer=function(e){function t(e,t){this.args=e,this.options=t,this.before_init(),this.serviceObject=new(this.primitives().clusterer)(this.args.map,[],this.options),this.after_init()}return n(t,e),t}(Gmaps.Objects.BaseBuilder)}.call(this),function(){var n=function(e,t){function n(){this.constructor=e}for(var i in t)r.call(t,i)&&(e[i]=t[i]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},r={}.hasOwnProperty;this.Gmaps.Google.Builders.Kml=function(e){function t(e,t){this.args=e,this.provider_options=null!=t?t:{},this.before_init(),this.serviceObject=this.create_kml(),this.after_init()}return n(t,e),t.prototype.create_kml=function(){return new(this.primitives().kml)(this.args.url,this.kml_options())},t.prototype.kml_options=function(){var e;return e={},_.defaults(e,this.provider_options)},t}(Gmaps.Objects.BaseBuilder)}.call(this),function(){var n=function(e,t){function n(){this.constructor=e}for(var i in t)r.call(t,i)&&(e[i]=t[i]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},r={}.hasOwnProperty;this.Gmaps.Google.Builders.Map=function(e){function t(e,t){var n;this.before_init(),n=_.extend(this.default_options(),e.provider),this.internal_options=e.internal,this.serviceObject=new(this.primitives().map)(document.getElementById(this.internal_options.id),n),this.on_map_load(t),this.after_init()}return n(t,e),t.prototype.build=function(){return new(this.model_class())(this.serviceObject,this.primitives())},t.prototype.on_map_load=function(e){return this.primitives().addListenerOnce(this.serviceObject,"idle",e)},t.prototype.default_options=function(){return{mapTypeId:this.primitives().mapTypes("ROADMAP"),center:new(this.primitives().latLng)(0,
120),zoom:8}},t}(Gmaps.Objects.BaseBuilder)}.call(this),function(){var i=function(e,t){return function(){return e.apply(t,arguments)}},n=function(e,t){function n(){this.constructor=e}for(var i in t)r.call(t,i)&&(e[i]=t[i]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},r={}.hasOwnProperty;this.Gmaps.Google.Builders.Marker=function(e){function t(e,t,n){this.args=e,this.provider_options=null!=t?t:{},this.internal_options=null!=n?n:{},this.infowindow_binding=i(this.infowindow_binding,this),this.before_init(),this.create_marker(),this.create_infowindow_on_click(),this.after_init()}return n(t,e),t.CURRENT_INFOWINDOW=void 0,t.CACHE_STORE={},t.prototype.build=function(){return this.marker=new(this.model_class())(this.serviceObject)},t.prototype.create_marker=function(){return this.serviceObject=new(this.primitives().marker)(this.marker_options())},t.prototype.create_infowindow=function(){return _.isString(this.args.infowindow)?new(this.primitives().infowindow)({content:this.args.infowindow}):null},t.prototype.marker_options=function(){var e,t;return t=this._randomized_coordinates(),e={title:this.args.marker_title,position:new(this.primitives().latLng)(t[0],t[1]),icon:this._get_picture("picture"),shadow:this._get_picture("shadow")},_.extend(this.provider_options,e)},t.prototype.create_infowindow_on_click=function(){return this.addListener("click",this.infowindow_binding)},t.prototype.infowindow_binding=function(){var e;if(this._should_close_infowindow()&&this.constructor.CURRENT_INFOWINDOW.close(),this.marker.panTo(),null==this.infowindow&&(this.infowindow=this.create_infowindow()),null!=this.infowindow)return this.infowindow.open(this.getServiceObject().getMap(),this.getServiceObject()),null==(e=this.marker).infowindow&&(e.infowindow=this.infowindow),this.constructor.CURRENT_INFOWINDOW=this.infowindow},t.prototype._get_picture=function(e){return _.isObject(this.args[e])&&_.isString(this.args[e].url)?this._create_or_retrieve_image(this._picture_args(e)):null},t.prototype._create_or_retrieve_image=function(e){return void 0===this.constructor.CACHE_STORE[e.url]&&(this.constructor.CACHE_STORE[e.url]=new(this.primitives().markerImage)(e.url,e.size,e.origin,e.anchor,e.scaledSize)),this.constructor.CACHE_STORE[e.url]},t.prototype._picture_args=function(e){return{url:this.args[e].url,anchor:this._createImageAnchorPosition(this.args[e].anchor),size:new(this.primitives().size)(this.args[e].width,this.args[e].height),scaledSize:null,origin:null}},t.prototype._createImageAnchorPosition=function(e){return _.isArray(e)?new(this.primitives().point)(e[0],e[1]):null},t.prototype._should_close_infowindow=function(){return this.internal_options.singleInfowindow&&null!=this.constructor.CURRENT_INFOWINDOW},t.prototype._randomized_coordinates=function(){var e,t,n;return _.isNumber(this.internal_options.maxRandomDistance)?(n=function(){return 2*Math.random()-1},e=this.internal_options.maxRandomDistance*n(),t=this.internal_options.maxRandomDistance*n(),[parseFloat(this.args.lat)+180/Math.PI*(t/6378137),parseFloat(this.args.lng)+90/Math.PI*(e/6378137)/Math.cos(this.args.lat)]):[this.args.lat,this.args.lng]},t}(Gmaps.Objects.BaseBuilder)}.call(this),function(){var n=function(e,t){function n(){this.constructor=e}for(var i in t)r.call(t,i)&&(e[i]=t[i]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},r={}.hasOwnProperty;this.Gmaps.Google.Builders.Polygon=function(e){function t(e,t){this.args=e,this.provider_options=null!=t?t:{},this.before_init(),this.serviceObject=this.create_polygon(),this.after_init()}return n(t,e),t.prototype.create_polygon=function(){return new(this.primitives().polygon)(this.polygon_options())},t.prototype.polygon_options=function(){var e;return e={path:this._build_path()},_.defaults(e,this.provider_options)},t.prototype._build_path=function(){return _.map(this.args,(t=this,function(e){return new(t.primitives().latLng)(e.lat,e.lng)}));var t},t}(Gmaps.Objects.BaseBuilder)}.call(this),function(){var n=function(e,t){function n(){this.constructor=e}for(var i in t)r.call(t,i)&&(e[i]=t[i]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},r={}.hasOwnProperty;this.Gmaps.Google.Builders.Polyline=function(e){function t(e,t){this.args=e,this.provider_options=null!=t?t:{}
12,this.before_init(),this.serviceObject=this.create_polyline(),this.after_init()}return n(t,e),t.prototype.create_polyline=function(){return new(this.primitives().polyline)(this.polyline_options())},t.prototype.polyline_options=function(){var e;return e={path:this._build_path()},_.defaults(e,this.provider_options)},t.prototype._build_path=function(){return _.map(this.args,(t=this,function(e){return new(t.primitives().latLng)(e.lat,e.lng)}));var t},t}(Gmaps.Objects.BaseBuilder)}.call(this),function(){var n=function(e,t){function n(){this.constructor=e}for(var i in t)r.call(t,i)&&(e[i]=t[i]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},r={}.hasOwnProperty;this.Gmaps.Google.Objects.Bound=function(e){function t(e){this.serviceObject=e}return n(t,e),t.include(Gmaps.Google.Objects.Common),t.prototype.extendWith=function(e){var t,n;return t=_.isArray(e)?e:[e],_.each(t,(n=this,function(e){return e.updateBounds(n)}))},t.prototype.extend=function(e){return this.getServiceObject().extend(this.primitives().latLngFromPosition(e))},t}(Gmaps.Base)}.call(this),function(){var n=function(e,t){function n(){this.constructor=e}for(var i in t)r.call(t,i)&&(e[i]=t[i]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},r={}.hasOwnProperty;this.Gmaps.Google.Objects.Circle=function(e){function t(e){this.serviceObject=e}return n(t,e),t.include(Gmaps.Google.Objects.Common),t.prototype.updateBounds=function(e){return e.extend(this.getServiceObject().getBounds().getNorthEast()),e.extend(this.getServiceObject().getBounds().getSouthWest
12())},t}(Gmaps.Base)}.call(this),function(){this.Gmaps.Google.Objects.Clusterer=function(){function e(e){this.serviceObject=e}return e.prototype.addMarkers=function(e){return _.each(e,(t=this,function(e){return t.addMarker(e)}));var t},e.prototype.addMarker=function(e){return this.getServiceObject().addMarker(e.getServiceObject())},e.prototype.clear=function(){return this.getServiceObject().clearMarkers()},e.prototype.removeMarker=function(e){return this.getServiceObject().removeMarker(e.getServiceObject())},e.prototype.getServiceObject=function(){return this.serviceObject},e}()}.call(this),function(){var n=function(e,t){function n(){this.constructor=e}for(var i in t)r.call(t,i)&&(e[i]=t[i]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},r={}.hasOwnProperty;this.Gmaps.Google.Objects.Kml=function(e){function t(e){this.serviceObject=e}return n(t,e),t.prototype.updateBounds=function(){},t.prototype.setMap=function(e){return this.getServiceObject().setMap(e)},t.prototype.getServiceObject=function(){return this.serviceObject},t.prototype.primitives=function(){return this.constructor.PRIMITIVES},t}(Gmaps.Base)}.call(this),function(){var n=function(e,t){function n(){this.constructor=e}for(var i in t)r.call(t,i)&&(e[i]=t[i]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},r={}.hasOwnProperty;this.Gmaps.Google.Objects.Map=function(e){function t(e){this.serviceObject=e}return n(t,e),t.prototype.getServiceObject=function(){return this.serviceObject},t.prototype.centerOn=function(e){return this.getServiceObject().setCenter(this.primitives().latLngFromPosition(e))},t.prototype.fitToBounds=function(e){if(!e.isEmpty())return this.getServiceObject().fitBounds(e)},t.prototype.primitives=function(){return this.constructor.PRIMITIVES},t}(Gmaps.Base)}.call(this),function(){var n=function(e,t){function n(){this.constructor=e}for(var i in t)r.call(t,i)&&(e[i]=t[i]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},r={}.hasOwnProperty;this.Gmaps.Google.Objects.Marker=function(e){function t(e){this.serviceObject=e}return n(t,e),t.include(Gmaps.Google.Objects.Common),t.prototype.updateBounds=function(e){return e.extend(this.getServiceObject().position)},t.prototype.panTo=function(){return this.getServiceObject().getMap().panTo(this.getServiceObject().getPosition())},t}(Gmaps.Base)}.call(this),function(){var n=function(e,t){function n(){this.constructor=e}for(var i in t)r.call(t,i)&&(e[i]=t[i]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},r={}.hasOwnProperty;this.Gmaps.Google.Objects.Polygon=function(e){function t(e){this.serviceObject=e}return n(t,e),t.include(Gmaps.Google.Objects.Common),t.prototype.updateBounds=function(e){var t,n,i,r,o;for(o=[],t=0,n=(r=this.serviceObject.getPath().getArray()).length;t<n;t++)i=r[t],o.push(e.extend(i));return o},t}(Gmaps.Base)}.call(this),function(){var n=function(e,t){function n(){this.constructor=e}for(var i in t)r.call(t,i)&&(e[i]=t[i]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},r={}.hasOwnProperty;this.Gmaps.Google.Objects.Polyline=function(e){function t(e){this.serviceObject=e}return n(t,e),t.include(Gmaps.Google.Objects.Common),t.prototype.updateBounds=function(e){var t,n,i,r,o;for(o=[],t=0,n=(r=this.serviceObject.getPath().getArray()).length;t<n;t++)i=r[t],o.push(e.extend(i));return o},t}(Gmaps.Base)}.call(this),function(){this.Gmaps.Google.Primitives=function(){var i;return i={point:google.maps.Point,size:google.maps.Size,circle:google.maps.Circle,latLng:google.maps.LatLng,latLngBounds:google.maps.LatLngBounds,map:google.maps.Map,mapTypez:google.maps.MapTypeId,markerImage:google.maps.MarkerImage,marker:google.maps.Marker,infowindow:google.maps.InfoWindow,listener:google.maps.event.addListener,clusterer:MarkerClusterer,listenerOnce:google.maps.event.addListenerOnce,polyline:google.maps.Polyline,polygon:google.maps.Polygon,kml:google.maps.KmlLayer,addListener:function(e,t,n){return i.listener(e,t,n)},addListenerOnce:function(e,t,n){return i.listenerOnce(e,t,n)},mapTypes:function(e){return i.mapTypez[e]},latLngFromPosition:function(e){return _.isArray(e)?new i.latLng(e[0],e[1]):_.isNumber(e.lat)&&_.isNumber(e.lng)?new i.latLng(e.lat,e.lng):_.isFunction(e.getServiceObject)?e.getServiceObject().getPosition():e}}}}.call(this),function(){}.call(this),function(e){var t=!1;if("function"==typeof define&&define.amd&&(define(e),t=!0),"object"==typeof exports&&(module.exports=e(),t=!0),!t){var n=window.Cookies,i=window.Cookies=e();i.noConflict=function(){return window.Cookies=n,i}}}(function(){function m(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var i in n)t[i]=n[i]}return t}function e(f){function g(e,t,n){var i;if("undefined"!=typeof document){if(1<arguments.length){if("number"==typeof(n=m({path:"/"},g.defaults,n)).expires){var r=new Date;r.setMilliseconds(r.getMilliseconds()+864e5*n.expires),n.expires=r}n.expires=n.expires?n.expires.toUTCString():"";try{i=JSON.stringify(t),/^[\{\[]/.test(i)&&(t=i)}catch(h){}t=f.write?f.write(t,e):encodeURIComponent(String(t)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decode
12URIComponent),e=(e=(e=encodeURIComponent(String(e))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var o="";for(var a in n)n[a]&&(o+="; "+a,!0!==n[a]&&(o+="="+n[a]));return document.cookie=e+"="+t+o}e||(i={});for(var s=document.cookie?document.cookie.split("; "):[],l=/(%[0-9A-Z]{2})+/g,u=0;u<s.length;u++){var c=s[u].split("="),d=c.slice(1).join("=");this.json||'"'!==d.charAt(0)||(d=d.slice(1,-1));try{var p=c[0].replace(l,decodeURIComponent);if(d=f.read?f.read(d,p):f(d,p)||d.replace(l,decodeURIComponent),this.json)try{d=JSON.parse(d)}catch(h){}if(e===p){i=d;break}e||(i[p]=d)}catch(h){}}return i}}return(g.set=g).get=function(e){return g.call(g,e)},g.getJSON=function(){return g.apply({json:!0},[].slice.call(arguments))},g.defaults={},g.remove=function(e,t){g(e,"",m(t,{expires:-1}))},g.withConverter=e,g}return e(function(){})});var DateFormatter,windowIsTurbolinked="Turbolinks"in window,cookiesEu={init:function(){var e=document.querySelector(".js-cookies-eu-ok");e&&(this.addListener(e),windowIsTurbolinked&&window.Turbolinks.clearCache())},addListener:function(e){e.attachEvent?e.attachEvent("onclick",this.setCookie):e.addEventListener("click",this.setCookie,!1)},setCookie:function(){var e="https:"===location.protocol;Cookies.set("cookie_eu_consented",!0,{path:"/",expires:365,secure:e});var t=document.querySelector(".js-cookies-eu");t.parentNode.removeChild(t),document.dispatchEvent(new CustomEvent("cookies-eu-acknowledged"))}};!function(){function e(e){return windowIsTurbolinked?"turbolinks:load":e}function t(){n&&!windowIsTurbolinked||(n=!0,cookiesEu.init())}var n=!1;if(document.addEventListener)return document.addEventListener(e("DOMContentLoaded"),t,!1);window.addEventListener?window.addEventListener(e("load"),t,!1):window.attachEvent&&window.attachEvent(e("onload"),t)}(),function(e,t){"use strict";"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(T,e){"use strict";function g(e,t,n){var i,r,o=(n=n||_e).createElement("script");if(o.text=e,t)for(i in xe)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function m(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?he[fe.call(e)]||"object":typeof e}function s(e){var t=!!e&&"length"in e&&e.length,n=m(e);return!be(e)&&!we(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function u(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function t(e,n,i){return be(n)?Te.grep(e,function(e,t){return!!n.call(e,t,e)!==i}):n.nodeType?Te.grep(e,function(e){return e===n!==i}):"string"!=typeof n?Te.grep(e,function(e){return-1<pe.call(n,e)!==i}):Te.filter(n,e,i)}function n(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function c(e){var n={};return Te.each(e.match(je)||[],function(e,t){n[t]=!0}),n}function d(e){return e}function p(e){throw e}function l(e,t,n,i){var r;try{e&&be(r=e.promise)?r.call(e).done(t).fail(n):e&&be(r=e.then)?r.call(e,t,n):t.apply(undefined,[e].slice(i))}catch(e){n.apply(undefined,[e])}}function i(){_e.removeEventListener("DOMContentLoaded",i),T.removeEventListener("load",i),Te.ready()}function r(e,t){return t.toUpperCase()}function h(e){return e.replace(He,"ms-").replace(Re,r)}function o(){this.expando=Te.expando+o.uid++}function a(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:qe.test(e)?JSON.parse(e):e)}function f(e,t,n){var i;if(n===undefined&&1===e.nodeType)if(i="data-"+t.replace(Be,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n=a(n)}catch(r){}We.set(e,t,n)}else n=undefined;return n}function v(e,t,n,i){var r,o,a=20,s=i?function(){return i.cur()}:function(){return Te.css(e,t,"")},l=s(),u=n&&n[3]||(Te.cssNumber[t]?"":"px"),c=e.nodeType&&(Te.cssNumber[t]||"px"!==u&&+l)&&Ye.exec(Te.css(e,t));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;a--;)Te.style(e,t,c+u),(1-o)*(1-(o=s()/l||.5))<=0&&(a=0),c/=o;c*=2,Te.style(e,t,c+u),n=n||[]}return n&&(c=+c||+l||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=r)),r}function y(e){var t,n=e.ownerDocument,i=e.nodeName,r=Je[i];
vendor: 6,117 bytes, line 12
12return r||(t=n.body.appendChild(n.createElement(i)),r=Te.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),Je[i]=r)}function b(e,t){for(var n,i,r=[],o=0,a=e.length;o<a;o++)(i=e[o]).style&&(n=i.style.display,t?("none"===n&&(r[o]=Fe.get(i,"display")||null,r[o]||(i.style.display="")),""===i.style.display&&Ke(i)&&(r[o]=y(i))):"none"!==n&&(r[o]="none",Fe.set(i,"display",n)));for(o=0;o<a;o++)null!=r[o]&&(e[o].style.display=r[o]);return e}function w(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],t===undefined||t&&u(e,t)?Te.merge([e],n):n}function _(e,t){for(var n=0,i=e.length;n<i;n++)Fe.set(e[n],"globalEval",!t||Fe.get(t[n],"globalEval"))}function x(e,t,n,i,r){for(var o,a,s,l,u,c,d=t.createDocumentFragment(),p=[],h=0,f=e.length;h<f;h++)if((o=e[h])||0===o)if("object"===m(o))Te.merge(p,o.nodeType?[o]:o);else if(ot.test(o)){for(a=a||d.appendChild(t.createElement("div")),s=(nt.exec(o)||["",""])[1].toLowerCase(),l=rt[s]||rt._default,a.innerHTML=l[1]+Te.htmlPrefilter(o)+l[2],c=l[0];c--;)a=a.lastChild;Te.merge(p,a.childNodes),(a=d.firstChild).textContent=""}else p.push(t.createTextNode(o));for(d.textContent="",h=0;o=p[h++];)if(i&&-1<Te.inArray(o,i))r&&r.push(o);else if(u=Xe(o),a=w(d.appendChild(o),"script"),u&&_(a),n)for(c=0;o=a[c++];)it.test(o.type||"")&&n.push(o);return d}function k(){return!0}function S(){return!1}function C(e,t){return e===E()==("focus"===t)}function E(){try{return _e.activeElement}catch(e){}}function D(e,t,n,i,r,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(i=i||n,n=undefined),t)D(e,s,n,i,t[s],o);return e}if(null==i&&null==r?(r=n,i=n=undefined):null==r&&("string"==typeof n?(r=i,i=undefined):(r=i,i=n,n=undefined)),!1===r)r=S;else if(!r)return e;return 1===o&&(a=r,(r=function(e){return Te().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=Te.guid++)),e.each(function(){Te.event.add(this,t,r,i,n)})}function O(e,r,o){o?(Fe.set(e,r,!1),Te.event.add(e,r,{namespace:!1,handler:function(e){var t,n,i=Fe.get(this,r);if(1&e.isTrigger&&this[r]){if(i.length)(Te.event.special[r]||{}).delegateType&&e.stopPropagation();else if(i=ue.call(arguments),Fe.set(this,r,i),t=o(this,r),this[r](),i!==(n=Fe.get(this,r))||t?Fe.set(this,r,!1):n={},i!==n)return e.stopImmediatePropagation(),e.preventDefault(),n&&n.value}else i.length&&(Fe.set(this,r,{value:Te.event.trigger(Te.extend(i[0],Te.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):Fe.get(e,r)===undefined&&Te.event.add(e,r,k)}function P(e,t){return u(e,"table")&&u(11!==t.nodeType?t:t.firstChild,"tr")&&Te(e).children("tbody")[0]||e}function A(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function M(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function I(e,t){var n,i,r,o,a,s;if(1===t.nodeType){if(Fe.hasData(e)&&(s=Fe.get(e).events))for(r in Fe.remove(t,"handle events"),s)for(n=0,i=s[r].length;n<i;n++)Te.event.add(t,r,s[r][n]);We.hasData(e)&&(o=We.access(e),a=Te.extend({},o),We.set(t,a))}}function j(e,t){var n=t.nodeName.toLowerCase();"input"===n&&tt.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function N(n,i,r,o){i=ce(i);var e,t,a,s,l,u,c=0,d=n.length,p=d-1,h=i[0],f=be(h);if(f||1<d&&"string"==typeof h&&!ye.checkClone&&lt.test(h))return n.each(function(e){var t=n.eq(e);f&&(i[0]=h.call(this,e,t.html())),N(t,i,r,o)});if(d&&(t=(e=x(i,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=Te.map(w(e,"script"),A)).length;c<d;c++)l=e,c!==p&&(l=Te.clone(l,!0,!0),s&&Te.merge(a,w(l,"script"))),r.call(n[c],l,c);if(s)for(u=a[a.length-1].ownerDocument,Te.map(a,M),c=0;c<s;c++)l=a[c],it.test(l.type||"")&&!Fe.access(l,"globalEval")&&Te.contains(u,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?Te._evalUrl&&!l.noModule&&Te._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},u):g(l.textContent.replace(ut,""),l,u))}return n}function L(e,t,n){for(var i,r=t?Te.filter(t,e):e,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||Te.cleanData(w(i)),i.parentNode&&(n&&Xe(i)&&_(w(i,"script")),i.parentNode.removeChild(i));return e}function $(e,t,n){var i,r,o,a,s=dt.test(t),l=e.style;return(n=n||pt(e))&&(a=n.getPropertyValue(t)||n[t],s&&(a=a.replace(mt,"$1")),""!==a||Xe(e)||(a=Te.style(e,t)),!ye.pixelBoxStyles()&&ct.test(a)&&ft.test(t)&&(i=l.width,r=l.minWidth,o=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=n.width,l.width=i,l.minWidth=r,l.maxWidth=o)),a!==undefined?a+"":a}function H(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function R(e){for(var t=e[0].toUpperCase()+e.slice(1),n=vt.length;n--;)if((e=vt[n]+t)in yt)return e}function z(e){var t=Te.cssProps[e]||bt[e];return t||(e in yt?e:bt[e]=R(e)||e)}function F(e,t,n){var i=Ye.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function W(e,t,n,i,r,o){var a="width"===t?1:0,s=0,l=0;if(n===(i?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=Te.css(e,n+Ue[a],!0,r)),i?("content"===n&&(l-=Te.css(e,"padding"+Ue[a],!0,r)),"margin"!==n&&(l-=Te.css(e,"border"+Ue[a]+"Width",!0,r))):(l+=Te.css(e,"padding"+Ue[a],!0,r),"padding"!==n?l+=Te.css(e,"border"+Ue[a]+"Width",!0,r):s+=Te.css(e,"border"+Ue[a]+"Width",!0,r));return!i&&0<=o&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-s-.5))||0),l}function q(e,t,n){var i=pt(e),r=(!ye.boxSizingReliable()||n)&&"border-box"===Te.css(e,"boxSizing",!1,i),o=r,a=$(e,t,i),s="offset"+t[0].toUpperCase()+t.slice(1);if(ct.test(a)){if(!n)return a;a="auto"}return(!ye.boxSizingReliable()&&r||!ye.reliableTrDimensions()&&u(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===Te.css(e,"display",!1,i))&&e.getClientRects().length&&(r="border-box"===Te.css(e,"boxSizing",!1,i),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+W(e,t,n||(r?"border":"content"),o,i,a)+"px"}function B(e,t,n,i,r){return new B.prototype.init(e,t,n,i,r)}function V(){Tt&&(!1===_e.hidden&&T.requestAnimationFrame?T.requestAnimationFrame(V):T.setTimeout(V,Te.fx.interval),Te.fx.tick())}
vendor: 5,339 bytes, line 12
12function Y(){return T.setTimeout(function(){kt=undefined}),kt=Date.now()}function U(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=Ue[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function G(e,t,n){for(var i,r=(K.tweeners[t]||[]).concat(K.tweeners["*"]),o=0,a=r.length;o<a;o++)if(i=r[o].call(n,t,e))return i}function X(e,t,n){var i,r,o,a,s,l,u,c,d="width"in t||"height"in t,p=this,h={},f=e.style,g=e.nodeType&&Ke(e),m=Fe.get(e,"fxshow");for(i in n.queue||(null==(a=Te._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,Te.queue(e,"fx").length||a.empty.fire()})})),t)if(r=t[i],Et.test(r)){if(delete t[i],o=o||"toggle"===r,r===(g?"hide":"show")){if("show"!==r||!m||m[i]===undefined)continue;g=!0}h[i]=m&&m[i]||Te.style(e,i)}if((l=!Te.isEmptyObject(t))||!Te.isEmptyObject(h))for(i in d&&1===e.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(u=m&&m.display)&&(u=Fe.get(e,"display")),"none"===(c=Te.css(e,"display"))&&(u?c=u:(b([e],!0),u=e.style.display||u,c=Te.css(e,"display"),b([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===Te.css(e,"float")&&(l||(p.done(function(){f.display=u}),null==u&&(c=f.display,u="none"===c?"":c)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",p.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]})),l=!1,h)l||(m?"hidden"in m&&(g=m.hidden):m=Fe.access(e,"fxshow",{display:u}),o&&(m.hidden=!g),g&&b([e],!0),p.done(function(){for(i in g||b([e]),Fe.remove(e,"fxshow"),h)Te.style(e,i,h[i])})),l=G(g?m[i]:0,i,p),i in m||(m[i]=l.start,g&&(l.end=l.start,l.start=0))}function Q(e,t){var n,i,r,o,a;for(n in e)if(r=t[i=h(n)],o=e[n],Array.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),(a=Te.cssHooks[i])&&"expand"in a)for(n in o=a.expand(o),delete e[i],o)n in e||(e[n]=o[n],t[n]=r);else t[i]=r}function K(o,e,t){var n,a,i=0,r=K.prefilters.length,s=Te.Deferred().always(function(){delete l.elem}),l=function(){if(a)return!1;for(var e=kt||Y(),t=Math.max(0,u.startTime+u.duration-e),n=1-(t/u.duration||0),i=0,r=u.tweens.length;i<r;i++)u.tweens[i].run(n);return s.notifyWith(o,[u,n,t]),n<1&&r?t:(r||s.notifyWith(o,[u,1,0]),s.resolveWith(o,[u]),!1)},u=s.promise({elem:o,props:Te.extend({},e),opts:Te.extend(!0,{specialEasing:{},easing:Te.easing._default},t),originalProperties:e,originalOptions:t,startTime:kt||Y(),duration:t.duration,tweens:[],createTween:function(e,t){var n=Te.Tween(o,u.opts,e,t,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(n),n},stop:function(e){var t=0,n=e?u.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)u.tweens[t].run(1);return e?(s.notifyWith(o,[u,1,0]),s.resolveWith(o,[u,e])):s.rejectWith(o,[u,e]),this}}),c=u.props;for(Q(c,u.opts.specialEasing);i<r;i++)if(n=K.prefilters[i].call(u,o,c,u.opts))return be(n.stop)&&(Te._queueHooks(u.elem,u.opts.queue).stop=n.stop.bind(n)),n;return Te.map(c,G,u),be(u.opts.start)&&u.opts.start.call(o,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),Te.fx.timer(Te.extend(l,{elem:o,anim:u,queue:u.opts.queue})),u}function J(e){return(e.match(je)||[]).join(" ")}function Z(e){return e.getAttribute&&e.getAttribute("class")||""}function ee(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(je)||[]}function te(n,e,i,r){var t;if(Array.isArray(e))Te.each(e,function(e,t){i||Rt.test(n)?r(n,t):te(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,i,r)});else if(i||"object"!==m(e))r(n,e);else for(t in e)te(n+"["+t+"]",e[t],i,r)}function ne(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,i=0,r=e.toLowerCase().match(je)||[];if(be(t))for(;n=r[i++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function ie(t,r,o,a){function s(e){var i;return l[e]=!0,Te.each(t[e]||[],function(e,t){var n=t(r,o,a);return"string"!=typeof n||u||l[n]?u?!(i=n):void 0:(r.dataTypes.unshift(n),s(n),!1)}),i}var l={},u=t===Kt;return s(r.dataTypes[0])||!l["*"]&&s("*")}function re(e,t){var n,i,r=Te.ajaxSettings.flatOptions||{};for(n in t)t[n]!==undefined&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&Te.extend(!0,e,i),e}function oe(e,t,n){for(var i,r,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),i===undefined&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in s)if(s[r]&&s[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){o=r;break}a||(a=r)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}function ae(e,t,n,i){var r,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=u[l+" "+o]||u["* "+o]))for(r in u)if((s=r.split(" "))[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[r]:!0!==u[r]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)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}}var se=[],le=Object.getPrototypeOf,ue=se.slice,ce=se.flat?function(e){return se.flat.call(e)}:function(e){return se.concat.apply([],e)}
vendor: 4,099 bytes, lines 12-13
12,de=se.push,pe=se.indexOf,he={},fe=he.toString,ge=he.hasOwnProperty,me=ge.toString,ve=me.call(Object),ye={},be=function be(e){
13return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},we=function we(e){return null!=e&&e===e.window},_e=T.document,xe={type:!0,src:!0,nonce:!0,noModule:!0},ke="3.6.1",Te=function(e,t){return new Te.fn.init(e,t)};Te.fn=Te.prototype={jquery:ke,constructor:Te,length:0,toArray:function(){return ue.call(this)},get:function(e){return null==e?ue.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=Te.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return Te.each(this,e)},map:function(n){return this.pushStack(Te.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(ue.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(Te.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(Te.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:de,sort:se.sort,splice:se.splice},Te.extend=Te.fn.extend=function(e){var t,n,i,r,o,a,s=e||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[l]||{},l++),"object"==typeof s||be(s)||(s={}),l===u&&(s=this,l--);l<u;l++)if(null!=(t=arguments[l]))for(n in t)r=t[n],"__proto__"!==n&&s!==r&&(c&&r&&(Te.isPlainObject(r)||(o=Array.isArray(r)))?(i=s[n],a=o&&!Array.isArray(i)?[]:o||Te.isPlainObject(i)?i:{},o=!1,s[n]=Te.extend(c,a,r)):r!==undefined&&(s[n]=r));return s},Te.extend({expando:"jQuery"+(ke+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==fe.call(e))&&(!(t=le(e))||"function"==typeof(n=ge.call(t,"constructor")&&t.constructor)&&me.call(n)===ve)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){g(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,i=0;if(s(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(s(Object(e))?Te.merge(n,"string"==typeof e?[e]:e):de.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:pe.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;i++)e[r++]=t[i];return e.length=r,e},grep:function(e,t,n){for(var i=[],r=0,o=e.length,a=!n;r<o;r++)!t(e[r],r)!==a&&i.push(e[r]);return i},map:function(e,t,n){var i,r,o=0,a=[];if(s(e))for(i=e.length;o<i;o++)null!=(r=t(e[o],o,n))&&a.push(r);else for(o in e)null!=(r=t(e[o],o,n))&&a.push(r);return ce(a)},guid:1,support:ye}),"function"==typeof Symbol&&(Te.fn[Symbol.iterator]=se[Symbol.iterator]),Te.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){he["[object "+t+"]"]=t.toLowerCase()});var Se=function(n){function w(e,t,n,i){var r,o,a,s,l,u,c,d=t&&t.ownerDocument,p=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==p&&9!==p&&11!==p)return n;if(!i&&(M(t),t=t||I,N)){if(11!==p&&(l=be.exec(e)))if(r=l[1]){if(9===p){if(!(a=t.getElementById(r)))return n;if(a.id===r)return n.push(a),n}else if(d&&(a=d.getElementById(r))&&R(t,a)&&a.id===r)return n.push(a),n}else{if(l[2])return Z.apply(n,t.getElementsByTagName(e)),n;if((r=l[3])&&x.getElementsByClassName&&t.getElementsByClassName)return Z.apply(n,t.getElementsByClassName(r)),n}if(x.qsa&&!U[e+" "]&&(!L||!L.test(e))&&(1!==p||"object"!==t.nodeName.toLowerCase())){if(c=e,d=t,1===p&&(de.test(e)||ce.test(e))){for((d=we.test(e)&&f(t.parentNode)||t)===t&&x.scope||((s=t.getAttribute("id"))?s=s.replace(ke,Te):t.setAttribute("id",s=z)),o=(u=C(e)).length;o--;)u[o]=(s?"#"+s:":scope")+" "+g(u[o]);c=u.join(",")}try{return Z.apply(n,d.querySelectorAll(c)),n}catch(h){U(e,!0)}finally{s===z&&t.removeAttribute("id")}}}return D(e.replace(le,"$1"),t,n,i)}function e(){function n(e,t){return i.push(e+" ")>
vendor: 1,439 bytes, line 13
13k.cacheLength&&delete n[i.shift()],n[e+" "]=t}var i=[];return n}function l(e){return e[z]=!0,e}function r(e){var t=I.createElement("fieldset");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function t(e,t){for(var n=e.split("|"),i=n.length;i--;)k.attrHandle[n[i]]=t}function u(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function i(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function o(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function a(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&Ce(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function s(a){return l(function(o){return o=+o,l(function(e,t){for(var n,i=a([],e.length,o),r=i.length;r--;)e[n=i[r]]&&(e[n]=!(t[n]=e[n]))})})}function f(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function c(){}function g(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function d(s,e,t){var l=e.dir,u=e.next,c=u||l,d=t&&"parentNode"===c,p=q++;return e.first?function(e,t,n){for(;e=e[l];)if(1===e.nodeType||d)return s(e,t,n);return!1}:function(e,t,n){var i,r,o,a=[W,p];if(n){for(;e=e[l];
vendor: 17,661 bytes, line 13
13)if((1===e.nodeType||d)&&s(e,t,n))return!0}else for(;e=e[l];)if(1===e.nodeType||d)if(r=(o=e[z]||(e[z]={}))[e.uniqueID]||(o[e.uniqueID]={}),u&&u===e.nodeName.toLowerCase())e=e[l]||e;else{if((i=r[c])&&i[0]===W&&i[1]===p)return a[2]=i[2];if((r[c]=a)[2]=s(e,t,n))return!0}return!1}}function p(r){return 1<r.length?function(e,t,n){for(var i=r.length;i--;)if(!r[i](e,t,n))return!1;return!0}:r[0]}function y(e,t,n){for(var i=0,r=t.length;i<r;i++)w(e,t[i],n);return n}function _(e,t,n,i,r){for(var o,a=[],s=0,l=e.length,u=null!=t;s<l;s++)(o=e[s])&&(n&&!n(o,i,r)||(a.push(o),u&&t.push(s)));return a}function b(h,f,g,m,v,e){return m&&!m[z]&&(m=b(m)),v&&!v[z]&&(v=b(v,e)),l(function(e,t,n,i){var r,o,a,s=[],l=[],u=t.length,c=e||y(f||"*",n.nodeType?[n]:n,[]),d=!h||!e&&f?c:_(c,s,h,n,i),p=g?v||(e?h:u||m)?[]:t:d;if(g&&g(d,p,n,i),m)for(r=_(p,l),m(r,[],n,i),o=r.length;o--;)(a=r[o])&&(p[l[o]]=!(d[l[o]]=a));if(e){if(v||h){if(v){for(r=[],o=p.length;o--;)(a=p[o])&&r.push(d[o]=a);v(null,p=[],r,i)}for(o=p.length;o--;)(a=p[o])&&-1<(r=v?te(e,a):s[o])&&(e[r]=!(t[r]=a))}}else p=_(p===t?p.splice(u,p.length):p),v?v(null,t,p,i):Z.apply(t,p)})}function h(e){for(var r,t,n,i=e.length,o=k.relative[e[0].type],a=o||k.relative[" "],s=o?1:0,l=d(function(e){return e===r},a,!0),u=d(function(e){return-1<te(r,e)},a,!0),c=[function(e,t,n){var i=!o&&(n||t!==O)||((r=t).nodeType?l(e,t,n):u(e,t,n));return r=null,i}];s<i;s++)if(t=k.relative[e[s].type])c=[d(p(c),t)];else{if((t=k.filter[e[s].type].apply(null,e[s].matches))[z]){for(n=++s;n<i&&!k.relative[e[n].type];n++);return b(1<s&&p(c),1<s&&g(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(le,"$1"),t,s<n&&h(e.slice(s,n)),n<i&&h(e=e.slice(n)),n<i&&g(e))}c.push(t)}return p(c)}function m(m,v){var y=0<v.length,b=0<m.length,e=function(e,t,n,i,r){var o,a,s,l=0,u="0",c=e&&[],d=[],p=O,h=e||b&&k.find.TAG("*",r),f=W+=null==p?1:Math.random()||.1,g=h.length;for(r&&(O=t==I||t||r);u!==g&&null!=(o=h[u]);u++){if(b&&o){for(a=0,t||o.ownerDocument==I||(M(o),n=!N);s=m[a++];)if(s(o,t||I,n)){i.push(o);break}r&&(W=f)}y&&((o=!s&&o)&&l--,e&&c.push(o))}if(l+=u,y&&u!==l){for(a=0;s=v[a++];)s(c,d,t,n);if(e){if(0<l)for(;u--;)c[u]||d[u]||(d[u]=K.call(i));d=_(d)}Z.apply(i,d),r&&!e&&0<d.length&&1<l+v.length&&w.uniqueSort(i)}return r&&(W=f,O=p),c};return y?l(e):e}var v,x,k,T,S,C,E,D,O,P,A,M,I,j,N,L,$,H,R,z="sizzle"+1*new Date,F=n.document,W=0,q=0,B=e(),V=e(),Y=e(),U=e(),G=function(e,t){return e===t&&(A=!0),0},X={}.hasOwnProperty,Q=[],K=Q.pop,J=Q.push,Z=Q.push,ee=Q.slice,te=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},ne="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ie="[\\x20\\t\\r\\n\\f]",re="(?:\\\\[\\da-fA-F]{1,6}"+ie+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",oe="\\["+ie+"*("+re+")(?:"+ie+"*([*^$|!~]?=)"+ie+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+re+"))|)"+ie+"*\\]",ae=":("+re+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+oe+")*)|.*)\\)|)",se=new RegExp(ie+"+","g"),le=new RegExp("^"+ie+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ie+"+$","g"),ue=new RegExp("^"+ie+"*,"+ie+"*"),ce=new RegExp("^"+ie+"*([>+~]|"+ie+")"+ie+"*"),de=new RegExp(ie+"|>"),pe=new RegExp(ae),he=new RegExp("^"+re+"$"),fe={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re+"|[*])"),ATTR:new RegExp("^"+oe),PSEUDO:new RegExp("^"+ae),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ie+"*(even|odd|(([+-]|)(\\d*)n|)"+ie+"*(?:([+-]|)"+ie+"*(\\d+)|))"+ie+"*\\)|)","i"),bool:new RegExp("^(?:"+ne+")$","i"),needsContext:new RegExp("^"+ie+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ie+"*((?:-\\d)?\\d*)"+ie+"*\\)|)(?=[^-]|$)","i")},ge=/HTML$/i,me=/^(?:input|select|textarea|button)$/i,ve=/^h\d$/i,ye=/^[^{]+\{\s*\[native \w/,be=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,we=/[+~]/,_e=new RegExp("\\\\[\\da-fA-F]{1,6}"+ie+"?|\\\\([^\\r\\n\\f])","g"),xe=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},ke=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Te=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},Se=function(){M()},Ce=d(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{Z.apply(Q=ee.call(F.childNodes),F.childNodes),Q[F.childNodes.length].nodeType}catch(Ee){Z={apply:Q.length?function(e,t){J.apply(e,ee.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}for(v in x=w.support={},S=w.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!ge.test(t||n&&n.nodeName||"HTML")},M=w.setDocument=function(e){var t,n,i=e?e.ownerDocument||e:F;return i!=I&&9===i.nodeType&&i.documentElement&&(j=(I=i).documentElement,N=!S(I),F!=I&&(n=I.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Se,!1):n.attachEvent&&n.attachEvent("onunload",Se)),x.scope=r(function(e){return j.appendChild(e).appendChild(I.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),x.attributes=r(function(e){return e.className="i",!e.getAttribute("className")}),x.getElementsByTagName=r(function(e){return e.appendChild(I.createComment("")),!e.getElementsByTagName("*").length}),x.getElementsByClassName=ye.test(I.getElementsByClassName),x.getById=r(function(e){return j.appendChild(e).id=z,!I.getElementsByName||!I.getElementsByName(z).length}),x.getById?(k.filter.ID=function(e){var t=e.replace(_e,xe);return function(e){return e.getAttribute("id")===t}},k.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&N){var n=t.getElementById(e);return n?[n]:[]}}):(k.filter.ID=function(e){var n=e.replace(_e,xe);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},k.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&N){var n,i,r,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(r=t.getElementsByName(e),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),k.find.TAG=x.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):x.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[r++];)1===n.nodeType&&i.push(n);return i},k.find.CLASS=x.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&N)return t.getElementsByClassName(e)},$=[],L=[],(x.qsa=ye.test(I.querySelectorAll))&&(r(function(e){var t;j.appendChild(e).innerHTML="<a id='"+z+"'></a><select id='"+z+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&L.push("[*^$]="+ie+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||L.push("\\["+ie+"*(?:value|"+ne+")"),e.querySelectorAll("[id~="+z+"-]").length||L.push("~="),(t=I.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||L.push("\\["+ie+"*name"+ie+"*="+ie+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||L.push(":checked"),e.querySelectorAll("a#"+z+"+*").length||L.push(".#.+[+~]"),e.querySelectorAll("\\\f"),L.push("[\\r\\n\\f]")}),r(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=I.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&L.push("name"+ie+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&L.push(":enabled",":disabled"),j.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&L.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),L.push(",.*:")})),(x.matchesSelector=ye.test(H=j.matches||j.webkitMatchesSelector||j.mozMatchesSelector||j.oMatchesSelector||j.msMatchesSelector))&&r(function(e){x.disconnectedMatch=H.call(e,"*"),H.call(e,"[s!='']:x"),$.push("!=",ae)}),L=L.length&&new RegExp(L.join("|")),$=$.length&&new RegExp($.join("|")),t=ye.test(j.compareDocumentPosition),R=t||ye.test(j.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},G=t?function(e,t){if(e===t)return A=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!x.sortDetached&&t.compareDocumentPosition(e)===n?e==I||e.ownerDocument==F&&R(F,e)?-1:t==I||t.ownerDocument==F&&R(F,t)?1:P?te(P,e)-te(P,t):0:4&n?-1:1)}:function(e,t){if(e===t)return A=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!r||!o)return e==I?-1:t==I?1:r?-1:o?1:P?te(P,e)-te(P,t):0;if(r===o)return u(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[i]===s[i];)i++;return i?u(a[i],s[i]):a[i]==F?-1:s[i]==F?1:0}),I},w.matches=function(e,t){return w(e,null,null,t)},w.matchesSelector=function(e,t){if(M(e),x.matchesSelector&&N&&!U[t+" "]&&(!$||!$.test(t))&&(!L||!L.test(t)))try{var n=H.call(e,t);if(n||x.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(Ee){U(t,!0)}return 0<w(t,I,null,[e]).length},w.contains=function(e,t){return(e.ownerDocument||e)!=I&&M(e),R(e,t)},w.attr=function(e,t){(e.ownerDocument||e)!=I&&M(e);var n=k.attrHandle[t.toLowerCase()],i=n&&X.call(k.attrHandle,t.toLowerCase())?n(e,t,!N):undefined;return i!==undefined?i:x.attributes||!N?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},w.escape=function(e){return(e+"").replace(ke,Te)},w.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},w.uniqueSort=function(e){var t,n=[],i=0,r=0;if(A=!x.detectDuplicates,P=!x.sortStable&&e.slice(0),e.sort(G),A){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return P=null,e},T=w.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=T(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=T(t);return n},(k=w.selectors={cacheLength:50,createPseudo:l,match:fe,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(_e,xe),e[3]=(e[3]||e[4]||e[5]||"").replace(_e,xe),"~="===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]||w.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]&&w.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return fe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&pe.test(n)&&(t=C(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(_e,xe).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=B[e+" "];return t||(t=new RegExp("(^|"+ie+")"+e+"("+ie+"|$)"))&&B(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,i,r){return function(e){var t=w.attr(e,n);return null==t?"!="===i:!i||(t+="","="===i?t===r:"!="===i?t!==r:"^="===i?r&&0===t.indexOf(r):"*="===i?r&&-1<t.indexOf(r):"$="===i?r&&t.slice(-r.length)===r:"~="===i?-1<(" "+t.replace(se," ")+" ").indexOf(r):"|="===i&&(t===r||t.slice(0,r.length+1)===r+"-"))}},CHILD:function(f,e,t,g,m){var v="nth"!==f.slice(0,3),y="last"!==f.slice(-4),b="of-type"===e;return 1===g&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var i,r,o,a,s,l,u=v!==y?"nextSibling":"previousSibling",c=e.parentNode,d=b&&e.nodeName.toLowerCase(),p=!n&&!b,h=!1;if(c){if(v){for(;u;){for(a=e;a=a[u];)if(b?a.nodeName.toLowerCase()===d:1===a.nodeType)return!1;l=u="only"===f&&!l&&"nextSibling"}return!0}if(l=[y?c.firstChild:c.lastChild],y&&p){for(h=(s=(i=(r=(o=(a=c)[z]||(a[z]={}))[a.uniqueID]||(o[a.uniqueID]={}))[f]||[])[0]===W&&i[1])&&i[2],a=s&&c.childNodes[s];a=++s&&a&&a[u]||(h=s=0)||l.pop();)if(1===a.nodeType&&++h&&a===e){r[f]=[W,s,h];break}}else if(p&&(h=s=(i=(r=(o=(a=e)[z]||(a[z]={}))[a.uniqueID]||(o[a.uniqueID]={}))[f]||[])[0]===W&&i[1]),!1===h)for(;(a=++s&&a&&a[u]||(h=s=0)||l.pop())&&((b?a.nodeName.toLowerCase()!==d:1!==a.nodeType)||!++h||(p&&((r=(o=a[z]||(a[z]={}))[a.uniqueID]||(o[a.uniqueID]={}))[f]=[W,h]),a!==e)););return(h-=m)===g||h%g==0&&0<=h/g}}},PSEUDO:function(e,o){var t,a=k.pseudos[e]||k.setFilters[e.toLowerCase()]||w.error("unsupported pseudo: "+e);return a[z]?a(o):1<a.length?(t=[e,e,"",o],k.setFilters.hasOwnProperty(e.toLowerCase())?l(function(e,t){for(var n,i=a(e,o),r=i.length;r--;)e[n=te(e,i[r])]=!(t[n]=i[r])}):function(e){return a(e,0,t)}):a}},pseudos:{not:l(function(e){var i=[],r=[],s=E(e.replace(le,"$1"));return s[z]?l(function(e,t,n,i){for(var r,o=s(e,null,i,[]),a=e.length;a--;)(r=o[a])&&(e[a]=!(t[a]=r))}):function(e,t,n){return i[0]=e,s(i,null,n,r),i[0]=null,!r.pop()}}),has:l(function(t){return function(e){return 0<w(t,e).length}}),contains:l(function(t){return t=t.replace(_e,xe),function(e){return-1<(e.textContent||T(e)).indexOf(t)}}),lang:l(function(n){return he.test(n||"")||w.error("unsupported lang: "+n),n=n.replace(_e,xe).toLowerCase(),function(e){var t;do{if(t=N?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===j},focus:function(e){return e===I.activeElement&&(!I.hasFocus||I.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:a(!1),disabled:a(!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,!0===e.selected},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 ve.test(e.nodeName)},input:function(e){return me.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:s(function(){return[0]}),last:s(function(e,t){return[t-1]}),eq:s(function(e,t,n){return[n<0?n+t:n]}),even:s(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:s(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:s(function(e,t,n){for(var i=n<0?n+t:t<n?t:n;0<=--i;)e.push(i);return e}),gt:s(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=k.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})k.pseudos[v]=i(v);for(v in{submit:!0,reset:!0})k.pseudos[v]=o(v);return c.prototype=k.filters=k.pseudos,k.setFilters=new c,C=w.tokenize=function(e,t){var n,i,r,o,a,s,l,u=V[e+" "];if(u)return t?0:u.slice(0);for(a=e,s=[],l=k.preFilter;a;){for(o in n&&!(i=ue.exec(a))||(i&&(a=a.slice(i[0].length)||a),s.push(r=[])),n=!1,(i=ce.exec(a))&&(n=i.shift(),r.push({value:n,type:i[0].replace(le," ")}),a=a.slice(n.length)),k.filter)!(i=fe[o].exec(a))||l[o]&&!(i=l[o](i))||(n=i.shift(),r.push({value:n,type:o,matches:i}),a=a.slice(n.length));if(!n)break}return t?a.length:a?w.error(e):V(e,s).slice(0)},E=w.compile=function(e,t){var n,i=[],r=[],o=Y[e+" "];if(!o){for(t||(t=C(e)),n=t.length;n--;)(o=h(t[n]))[z]?i.push(o):r.push(o);(o=Y(e,m(r,i))).selector=e}return o},D=w.select=function(e,t,n,i){var r,o,a,s,l,u="function"==typeof e&&e,c=!i&&C(e=u.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&N&&k.relative[o[1].type]){if(!(t=(k.find.ID(a.matches[0].replace(_e,xe),t)||[])[0]))return n;u&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(r=fe.needsContext.test(e)?0:o.length;r--&&(a=o[r],!k.relative[s=a.type]);)if((l=k.find[s])&&(i=l(a.matches[0].replace(_e,xe),we.test(o[0].type)&&f(t.parentNode)||t))){if(o.splice(r,1),!(e=i.length&&g(o)))return Z.apply(n,i),n;break}}return(u||E(e,c))(i,t,!N,n,!t||we.test(e)&&f(t.parentNode)||t),n},x.sortStable=z.split("").sort(G).join("")===z,x.detectDuplicates=!!A,M(),x.sortDetached=r(function(e){return 1&e.compareDocumentPosition(I.createElement("fieldset"))}),r(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||t("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),x.attributes&&r(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||t("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),r(function(e){return null==e.getAttribute("disabled")})||t(ne,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),w}(T);Te.find=Se,Te.expr=Se.selectors,Te.expr[":"]=Te.expr.pseudos,Te.uniqueSort=Te.unique=Se.uniqueSort,Te.text=Se.getText,Te.isXMLDoc=Se.isXML,Te.contains=Se.contains,Te.escapeSelector=Se.escape;
vendor: 5,460 bytes, line 13
13var Ce=function(e,t,n){for(var i=[],r=n!==undefined;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&Te(e).is(n))break;i.push(e)}return i},Ee=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},De=Te.expr.match.needsContext,Oe=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;Te.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?Te.find.matchesSelector(i,e)?[i]:[]:Te.find.matches(e,Te.grep(t,function(e){return 1===e.nodeType}))},Te.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!=typeof e)return this.pushStack(Te(e).filter(function(){for(t=0;t<i;t++)if(Te.contains(r[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)Te.find(e,r[t],n);return 1<i?Te.uniqueSort(n):n},filter:function(e){return this.pushStack(t(this,e||[],!1))},not:function(e){return this.pushStack(t(this,e||[],!0))},is:function(e){return!!t(this,"string"==typeof e&&De.test(e)?Te(e):e||[],!1).length}});var Pe,Ae=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(Te.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||Pe,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):be(e)?n.ready!==undefined?n.ready(e):e(Te):Te.makeArray(e,this);if(!(i="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:Ae.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof Te?t[0]:t,Te.merge(this,Te.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:_e,!0)),Oe.test(i[1])&&Te.isPlainObject(t))for(i in t)be(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(r=_e.getElementById(i[2]))&&(this[0]=r,this.length=1),this}).prototype=Te.fn,Pe=Te(_e);var Me=/^(?:parents|prev(?:Until|All))/,Ie={children:!0,contents:!0,next:!0,prev:!0};Te.fn.extend({has:function(e){var t=Te(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(Te.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,r=this.length,o=[],a="string"!=typeof e&&Te(e);if(!De.test(e))for(;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&Te.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?Te.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?pe.call(Te(e),this[0]):pe.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(Te.uniqueSort(Te.merge(this.get(),Te(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Te.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Ce(e,"parentNode")},parentsUntil:function(e,t,n){return Ce(e,"parentNode",n)},next:function(e){return n(e,"nextSibling")},prev:function(e){return n(e,"previousSibling")},nextAll:function(e){return Ce(e,"nextSibling")},prevAll:function(e){return Ce(e,"previousSibling")},nextUntil:function(e,t,n){return Ce(e,"nextSibling",n)},prevUntil:function(e,t,n){return Ce(e,"previousSibling",n)},siblings:function(e){return Ee((e.parentNode||{}).firstChild,e)},children:function(e){return Ee(e.firstChild)},contents:function(e){return null!=e.contentDocument&&le(e.contentDocument)?e.contentDocument:(u(e,"template")&&(e=e.content||e),Te.merge([],e.childNodes))}},function(i,r){Te.fn[i]=function(e,t){var n=Te.map(this,r,e);return"Until"!==i.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=Te.filter(t,n)),1<this.length&&(Ie[i]||Te.uniqueSort(n),Me.test(i)&&n.reverse()),this.pushStack(n)}});var je=/[^\x20\t\r\n\f]+/g;Te.Callbacks=function(i){i="string"==typeof i?c(i):Te.extend({},i);var r,e,t,n,o=[],a=[],s=-1,l=function(){for(n=n||i.once,t=r=!0;a.length;s=-1)for(e=a.shift();++s<o.length;)!1===o[s].apply(e[0],e[1])&&i.stopOnFalse&&(s=o.length,e=!1);i.memory||(e=!1),r=!1,n&&(o=e?[]:"")},u={add:function(){return o&&(e&&!r&&(s=o.length-1,a.push(e)),function n(e){Te.each(e,function(e,t){be(t)?i.unique&&u.has(t)||o.push(t):t&&t.length&&"string"!==m(t)&&n(t)})}(arguments),e&&!r&&l()),this},remove:function(){return Te.each(arguments,function(e,t){for(var n;-1<(n=Te.inArray(t,o,n));)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?-1<Te.inArray(e,o):0<o.length},empty:function(){return o&&(o=[]),this},disable:function(){return n=a=[],o=e="",this},disabled:function(){return!o},lock:function(){return n=a=[],e||r||(o=e=""),this},locked:function(){return!!n},fireWith:function(e,t){return n||(t=[e,(t=t||[]).slice?t.slice():t],a.push(t),r||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!t}};return u},Te.extend({Deferred:function(e){var o=[["notify","progress",Te.Callbacks("memory"),Te.Callbacks("memory"),2],["resolve","done",Te.Callbacks("once memory"),Te.Callbacks("once memory"),0,"resolved"],["reject","fail",Te.Callbacks("once memory"),Te.Callbacks("once memory"),1,"rejected"]],r="pending",a={state:function(){return r},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var r=arguments;return Te.Deferred(function(i){Te.each(o,function(e,t){var n=be(r[t[4]])&&r[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&be(e.promise)?e.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[t[0]+"With"](this,n?[e]:arguments)})}),r=null}).promise()},then:function(t,n,i){function u(o,a,s,l){return function(){var n=this,i=arguments,t=function(){var e,t;
vendor: 11,447 bytes, lines 13-14
13if(!(o<c)){if((e=s.apply(n,i))===a.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,be(t)?l?t.call(e,u(c,a,d,l),u(c,a,p,l)):(c++,t.call(e,u(c,a,d,l),u(c,a,p,l),u(c,a,d,a.notifyWith))):(s!==d&&(n=undefined,i=[e]),(l||a.resolveWith)(n,i))}},r=l?t:function(){try{t()}catch(e){Te.Deferred.exceptionHook&&Te.Deferred.exceptionHook(e,r.stackTrace),c<=o+1&&(s!==p&&(n=undefined,i=[e]),a.rejectWith(n,i))}};o?r():(Te.Deferred.getStackHook&&(r.stackTrace=Te.Deferred.getStackHook()),T.setTimeout(r))}}var c=0;return Te.Deferred(function(e){o[0][3].add(u(0,e,be(i)?i:d,e.notifyWith)),o[1][3].add(u(0,e,be(t)?t:d)),o[2][3].add(u(0,e,be(n)?n:p))}).promise()},promise:function(e){return null!=e?Te.extend(e,a):a}},s={};return Te.each(o,function(e,t){var n=t[2],i=t[5];a[t[1]]=n.add,i&&n.add(function(){r=i},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?undefined:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,i=Array(t),r=ue.call(arguments),o=Te.Deferred(),a=function(t){return function(e){i[t]=this,r[t]=1<arguments.length?ue.call(arguments):e,--n||o.resolveWith(i,r)}};if(n<=1&&(l(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||be(r[t]&&r[t].then)))return o.then();for(;t--;)l(r[t],a(t),o.reject);return o.promise()}});var Ne=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Te.Deferred.exceptionHook=function(e,t){T.console&&T.console.warn&&e&&Ne.test(e.name)&&T.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},Te.readyException=function(e){T.setTimeout(function(){throw e})};var Le=Te.Deferred();Te.fn.ready=function(e){return Le.then(e)["catch"](function(e){Te.readyException(e)}),this},Te.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--Te.readyWait:Te.isReady)||(Te.isReady=!0)!==e&&0<--Te.readyWait||Le.resolveWith(_e,[Te])}}),Te.ready.then=Le.then,"complete"===_e.readyState||"loading"!==_e.readyState&&!_e.documentElement.doScroll?T.setTimeout(Te.ready):(_e.addEventListener("DOMContentLoaded",i),T.addEventListener("load",i));var $e=function(e,t,n,i,r,o,a){var s=0,l=e.length,u=null==n;if("object"===m(n))for(s in r=!0,n)$e(e,t,s,n[s],!0,o,a);else if(i!==undefined&&(r=!0,be(i)||(a=!0),u&&(a?(t.call(e,i),t=null):(u=t,t=function(e,t,n){return u.call(Te(e),n)})),t))for(;s<l;s++)t(e[s],n,a?i:i.call(e[s],s,t(e[s],n)));return r?e:u?t.call(e):l?t(e[0],n):o},He=/^-ms-/,Re=/-([a-z])/g,ze=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};o.uid=1,o.prototype={cache:function(e){var t=e[this.expando];return t||(t={},ze(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,r=this.cache(e);if("string"==typeof t)r[h(t)]=n;else for(i in t)r[h(i)]=t[i];return r},get:function(e,t){return t===undefined?this.cache(e):e[this.expando]&&e[this.expando][h(t)]},access:function(e,t,n){return t===undefined||t&&"string"==typeof t&&n===undefined?this.get(e,t):(this.set(e,t,n),n!==undefined?n:t)},remove:function(e,t){var n,i=e[this.expando];if(i!==undefined){if(t!==undefined){n=(t=Array.isArray(t)?t.map(h):(t=h(t))in i?[t]:t.match(je)||[]).length;for(;n--;)delete i[t[n]]}(t===undefined||Te.isEmptyObject(i))&&(e.nodeType?e[this.expando]=undefined:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return t!==undefined&&!Te.isEmptyObject(t)}};var Fe=new o,We=new o,qe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Be=/[A-Z]/g;Te.extend({hasData:function(e){return We.hasData(e)||Fe.hasData(e)},data:function(e,t,n){return We.access(e,t,n)},removeData:function(e,t){We.remove(e,t)},_data:function(e,t,n){return Fe.access(e,t,n)},_removeData:function(e,t){Fe.remove(e,t)}}),Te.fn.extend({data:function(n,e){var t,i,r,o=this[0],a=o&&o.attributes;if(n!==undefined)return"object"==typeof n?this.each(function(){We.set(this,n)}):$e(this,function(e){var t;if(o&&e===undefined)return(t=We.get(o,n))!==undefined?t:(t=f(o,n))!==undefined?t:void 0;this.each(function(){We.set(this,n,e)})},null,e,1<arguments.length,null,!0);if(this.length&&(r=We.get(o),1===o.nodeType&&!Fe.get(o,
14"hasDataAttrs"))){for(t=a.length;t--;)a[t]&&0===(i=a[t].name).indexOf("data-")&&(i=h(i.slice(5)),f(o,i,r[i]));Fe.set(o,"hasDataAttrs",!0)}return r},removeData:function(e){return this.each(function(){We.remove(this,e)})}}),Te.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=Fe.get(e,t),n&&(!i||Array.isArray(n)?i=Fe.access(e,t,Te.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=Te.queue(e,t),i=n.length,r=n.shift(),o=Te._queueHooks(e,t),a=function(){Te.dequeue(e,t)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,a,o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Fe.get(e,n)||Fe.access(e,n,{empty:Te.Callbacks("once memory").add(function(){Fe.remove(e,[t+"queue",n])})})}}),Te.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?Te.queue(this[0],t):n===undefined?this:this.each(function(){var e=Te.queue(this,t,n);Te._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&Te.dequeue(this,t)})},dequeue:function(e){return this.each(function(){Te.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=Te.Deferred(),o=this,a=this.length,s=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=undefined),e=e||"fx";a--;)(n=Fe.get(o[a],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),r.promise(t)}});var Ve=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ye=new RegExp("^(?:([+-])=|)("+Ve+")([a-z%]*)$","i"),Ue=["Top","Right","Bottom","Left"],Ge=_e.documentElement,Xe=function(e){return Te.contains(e.ownerDocument,e)},Qe={composed:!0};Ge.getRootNode&&(Xe=function(e){return Te.contains(e.ownerDocument,e)||e.getRootNode(Qe)===e.ownerDocument});var Ke=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&Xe(e)&&"none"===Te.css(e,"display")},Je={};Te.fn.extend({show:function(){return b(this,!0)},hide:function(){return b(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Ke(this)?Te(this).show():Te(this).hide()})}});var Ze,et,tt=/^(?:checkbox|radio)$/i,nt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,it=/^$|^module$|\/(?:java|ecma)script/i;Ze=_e.createDocumentFragment().appendChild(_e.createElement("div")),(et=_e.createElement("input")).setAttribute("type","radio"),et.setAttribute("checked","checked"),et.setAttribute("name","t"),Ze.appendChild(et),ye.checkClone=Ze.cloneNode(!0).cloneNode(!0).lastChild.checked,Ze.innerHTML="<textarea>x</textarea>",ye.noCloneChecked=!!Ze.cloneNode(!0).lastChild.defaultValue,Ze.innerHTML="<option></option>",ye.option=!!Ze.lastChild;var rt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};rt.tbody=rt.tfoot=rt.colgroup=rt.caption=rt.thead,rt.th=rt.td,ye.option||(rt.optgroup=rt.option=[1,"<select multiple='multiple'>","</select>"]);var ot=/<|&#?\w+;/,at=/^([^.]*)(?:\.(.+)|)/;Te.event={global:{},add:function(t,e,n,i,r){var o,a,s,l,u,c,d,p,h,f,g,m=Fe.get(t);if(ze(t))for(n.handler&&(n=(o=n).handler,r=o.selector),r&&Te.find.matchesSelector(Ge,r),n.guid||(n.guid=Te.guid++),(l=m.events)||(l=m.events=Object.create(null)),(a=m.handle)||(a=m.handle=function(e){return void 0!==Te&&Te.event.triggered!==e.type?Te.event.dispatch.apply(t,arguments):undefined}),u=(e=(e||"").match(je)||[""]).length;u--;)h=g=(s=at.exec(e[u])||[])[1],f=(s[2]||"").split(".").sort(),h&&(d=Te.event.special[h]||{},h=(r?d.delegateType:d.bindType)||h,d=Te.event.special[h]||{},c=Te.extend({type:h,origType:g,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&Te.expr.match.needsContext.test(r),namespace:f.join(".")},o),(p=l[h])||((p=l[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,i,f,a)||t.addEventListener&&t.addEventListener(h,a)),d.add&&(d.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),r?p.splice(p.delegateCount++,0,c):p.push(c),Te.event.global[h]=!0)},remove:function(e,t,n,i,r){var o,a,s,l,u,c,d,p,h,f,g,m=Fe.hasData(e)&&Fe.get(e);if(m&&(l=m.events)){for(u=(t=(t||"").match(je)||[""]).length;u--;)if(h=g=(s=at.exec(t[u])||[])[1],f=(s[2]||"").split(".").sort(),h){for(d=Te.event.special[h]||{},p=l[h=(i?d.delegateType:d.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;o--;)c=p[o],!r&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,d.remove&&d.remove.call(e,c));a&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,f,m.handle)||Te.removeEvent(e,h,m.handle),delete l[h])}else for(h in l)Te.event.remove(e,h+t[u],n,i,!0);Te.isEmptyObject(l)&&Fe.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,o,a,s=new Array(arguments.length),l=Te.event.fix(e),u=(Fe.get(this,"events")||Object.create(null))[l.type]||[],c=Te.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(a=Te.event.handlers.call(this,l,u),t=0;(r=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,(i=((Te.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,s))!==undefined&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,i,r,o,a,s=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&1<=e.button))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(o=[],a={},n=0;n<l;n++)a[r=(i=t[n]).selector+" "]===undefined&&(a[r]=i.needsContext?-1<Te(r,this).index(u):Te.find(r,this,null,[u]).length),a[r]&&o.push(i);o.length&&s.push({elem:u,handlers:o})}return u=this,l<t.length&&s.push({elem:u,handlers:t.slice(l)}),s},addProp:function(t,e){Object.defineProperty(Te.Event.prototype,t,{enumerable:!0,configurable:!0,get:be(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[Te.expando]?e:new Te.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return tt.test(t.type)&&t.click&&u(t,"input")&&O(t,"click",k),!1},trigger:function(e){var t=this||e;return tt.test(t.type)&&t.click&&u(t,"input")&&O(t,"click"),!0},_default:function(e){var t=e.target;return tt.test(t.type)&&t.click&&u(t,"input")&&Fe.get(t,"click")||u(t,"a")}},beforeunload:{postDispatch:function(e){e.result!==undefined&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},Te.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},Te.Event=function(e,t){if(!(this instanceof Te.Event))return new Te.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===undefined&&!1===e.returnValue?
vendor: 1,391 bytes, line 14
14k:S,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&Te.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[Te.expando]=!0},Te.Event.prototype={constructor:Te.Event,isDefaultPrevented:S,isPropagationStopped:S,isImmediatePropagationStopped:S,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=k,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=k,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=k,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},Te.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},Te.event.addProp),Te.each({focus:"focusin",blur:"focusout"},function(t,e){Te.event.special[t]={setup:function(){return O(this,t,C),!1},trigger:function(){return O(this,t),!0},_default:function(e){return Fe.get(e.target,t)},delegateType:e}}
vendor: 5,044 bytes, line 14
14),Te.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,o){Te.event.special[e]={delegateType:o,bindType:o,handle:function(e){var t,n=this,i=e.relatedTarget,r=e.handleObj;return i&&(i===n||Te.contains(n,i))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=o),t}}}),Te.fn.extend({on:function(e,t,n,i){return D(this,e,t,n,i)},one:function(e,t,n,i){return D(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,Te(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=undefined),!1===n&&(n=S),this.each(function(){Te.event.remove(this,e,n,t)});for(r in e)this.off(r,t,e[r]);return this}});var st=/<script|<style|<link/i,lt=/checked\s*(?:[^=]|=\s*.checked.)/i,ut=/^\s*<!\[CDATA\[|\]\]>\s*$/g;Te.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,r,o,a,s=e.cloneNode(!0),l=Xe(e);if(!(ye.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Te.isXMLDoc(e)))for(a=w(s),i=0,r=(o=w(e)).length;i<r;i++)j(o[i],a[i]);if(t)if(n)for(o=o||w(e),a=a||w(s),i=0,r=o.length;i<r;i++)I(o[i],a[i]);else I(e,s);return 0<(a=w(s,"script")).length&&_(a,!l&&w(e,"script")),s},cleanData:function(e){for(var t,n,i,r=Te.event.special,o=0;(n=e[o])!==undefined;o++)if(ze(n)){if(t=n[Fe.expando]){if(t.events)for(i in t.events)r[i]?Te.event.remove(n,i):Te.removeEvent(n,i,t.handle);n[Fe.expando]=undefined}n[We.expando]&&(n[We.expando]=undefined)}}}),Te.fn.extend({detach:function(e){return L(this,e,!0)},remove:function(e){return L(this,e)},text:function(e){return $e(this,function(e){return e===undefined?Te.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return N(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||P(this,e).appendChild(e)})},prepend:function(){return N(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=P(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return N(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return N(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(Te.cleanData(w(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return Te.clone(this,e,t)})},html:function(e){return $e(this,function(e){var t=this[0]||{},n=0,i=this.length;if(e===undefined&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!st.test(e)&&!rt[(nt.exec(e)||["",""])[1].toLowerCase()]){e=Te.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(Te.cleanData(w(t,!1)),t.innerHTML=e);t=0}catch(r){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return N(this,arguments,function(e){var t=this.parentNode;Te.inArray(this,n)<0&&(Te.cleanData(w(this)),t&&t.replaceChild(e,this))},n)}}),Te.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){Te.fn[e]=function(e){for(var t,n=[],i=Te(e),r=i.length-1,o=0;o<=r;o++)t=o===r?this:this.clone(!0),Te(i[o])[a](t),de.apply(n,t.get());return this.pushStack(n)}});var ct=new RegExp("^("+Ve+")(?!px)[a-z%]+$","i"),dt=/^--/,pt=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=T),t.getComputedStyle(e)},ht=function(e,t,n){var i,r,o={};for(r in t)o[r]=e.style[r],e.style[r]=t[r];for(r in i=n.call(e),t)e.style[r]=o[r];return i},ft=new RegExp(Ue.join("|"),"i"),gt="[\\x20\\t\\r\\n\\f]",mt=new RegExp("^"+gt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+gt+"+$","g");!function(){function e(){if(u){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Ge.appendChild(l).appendChild(u);var e=T.getComputedStyle(u);n="1%"!==e.top,s=12===t(e.marginLeft),u.style.right="60%",o=36===t(e.right),i=36===t(e.width),u.style.position="absolute",r=12===t(u.offsetWidth/3),Ge.removeChild(l),u=null}}function t(e){return Math.round(parseFloat(e))}var n,i,r,o,a,s,l=_e.createElement("div"),u=_e.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",ye.clearCloneStyle="content-box"===u.style.backgroundClip,Te.extend(ye,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),r},reliableTrDimensions:function(){var e,t,n,i;return null==a&&(e=_e.createElement("table"),t=_e.createElement("tr"),n=_e.createElement("div"),e.style.cssText="position:absolute;
14left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",Ge.appendChild(e).appendChild(t).appendChild(n),i=T.getComputedStyle(t),a=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,Ge.removeChild(e)),a}}))}();var vt=["Webkit","Moz","ms"],yt=_e.createElement("div").style,bt={},wt=/^(none|table(?!-c[ea]).+)/,_t={position:"absolute",visibility:"hidden",display:"block"},xt={letterSpacing:"0",fontWeight:"400"};Te.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=$(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,a,s=h(t),l=dt.test(t),u=e.style;if(l||(t=z(s)),a=Te.cssHooks[t]||Te.cssHooks[s],n===undefined)return a&&"get"in a&&(r=a.get(e,!1,i))!==undefined?r:u[t];"string"===(o=typeof n)&&(r=Ye.exec(n))&&r[1]&&(n=v(e,t,r),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=r&&r[3]||(Te.cssNumber[s]?"":"px")),ye.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&(n=a.set(e,n,i))===undefined||(l?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,i){var r,o,a,s=h(t);return dt.test(t)||(t=z(s)),(a=Te.cssHooks[t]||Te.cssHooks[s])&&"get"in a&&(r=a.get(e,!0,n)),r===undefined&&(r=$(e,t,i)),"normal"===r&&t in xt&&(r=xt[t]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),Te.each(["height","width"],function(e,l){Te.cssHooks[l]={get:function(e,t,n){if(t)return!wt.test(Te.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?q(e,l,n):ht(e,_t,function(){return q(e,l,n)})},set:function(e,t,n){var i,r=pt(e),o=!ye.scrollboxSize()&&"absolute"===r.position,a=(o||n)&&"border-box"===Te.css(e,"boxSizing",!1,r),s=n?W(e,l,n,a,r):0;return a&&o&&(s-=Math.ceil(e["offset"+l[0].toUpperCase()+l.slice(1)]-parseFloat(r[l])-W(e,l,"border",!1,r)-.5)),s&&(i=Ye.exec(t))&&"px"!==(i[3]||"px")&&(e.style[l]=t,t=Te.css(e,l)),F(e,t,s)}}}),Te.cssHooks.marginLeft=H(ye.reliableMarginLeft,function(e,t){if(t)return(parseFloat($(e,"marginLeft"))||e.getBoundingClientRect().left-ht(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),Te.each({margin:"",padding:"",border:"Width"},function(r,o){Te.cssHooks[r+o]={expand:function(e){for(var t=0,n={},i="string"==typeof e?e.split(" "):[e];t<4;t++)n[r+Ue[t]+o]=i[t]||i[t-2]||i[0];return n}},"margin"!==r&&(Te.cssHooks[r+o].set=F)}),Te.fn.extend({css:function(e,t){return $e(this,function(e,t,n){var i,r,o={},a=0;if(Array.isArray(t)){for(i=pt(e),r=t.length;a<r;a++)o[t[a]]=Te.css(e,t[a],!1,i);return o}return n!==undefined?Te.style(e,t,n):Te.css(e,t)},e,t,1<arguments.length)}}),(Te.Tween=B).prototype={constructor:B,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||Te.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(Te.cssNumber[n]?"":"px")},cur:function(){var e=B.propHooks[this.prop];return e&&e.get?e.get(this):B.propHooks._default.get(this)},run:function(e){var t,n=B.propHooks[this.prop];return this.options.duration?this.pos=t=Te.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=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):B.propHooks._default.set(this),this}},B.prototype.init.prototype=B.prototype,B.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=Te.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){Te.fx.step[e.prop]?Te.fx.step[e.prop](e):1!==e.elem.nodeType||!Te.cssHooks[e.prop]&&null==e.elem.style[z(e.prop)]?e.elem[e.prop]=e.now:Te.style(e.elem,e.prop,e.now+e.unit)}}},B.propHooks.scrollTop=B.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Te.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},Te.fx=B.prototype.init,Te.fx.step={};var kt,Tt,St,Ct,Et=/^(?:toggle|show|hide)$/,Dt=/queueHooks$/;Te.Animation=Te.extend(K,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return v(n.elem,e,Ye.exec(t),n),n}]},tweener:function(e,t){be(e)?(t=e,e=["*"]):e=e.match(je);for(var n,i=0,r=e.length;i<r;i++)n=e[i],K.tweeners[n]=K.tweeners[n]||[],K.tweeners[n].unshift(t)},prefilters:[X],prefilter:function(e,t){t?K.prefilters.unshift(e):K.prefilters.push(e)}}),Te.speed=function(e,t,n){var i=e&&"object"==typeof e?Te.extend({},e):{complete:n||!n&&t||be(e)&&e,duration:e,easing:n&&t||t&&!be(t)&&t};return Te.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in Te.fx.speeds?i.duration=Te.fx.speeds[i.duration]:i.duration=Te.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){be(i.old)&&i.old.call(this),i.queue&&Te.dequeue(this,i.queue)},i},Te.fn.extend({fadeTo:function(e,t,n,i){return this.filter(Ke).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(t,e,n,i){var r=Te.isEmptyObject(t),o=Te.speed(e,n,i),a=function(){var e=K(this,Te.extend({},t),o);(r||Fe.get(this,"finish"))&&e.stop(!0)};return a.finish=a,r||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(r,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof r&&(o=e,e=r,r=undefined),e&&this.queue(r||"fx",[]),this.each(function(){var e=!0,t=null!=r&&r+"queueHooks",n=Te.timers,i=Fe.get(this);if(t)i[t]&&i[t].stop&&a(i[t]);else for(t in i)i[t]&&i[t].stop&&Dt.test(t)&&a(i[t]);for(t=n.length;t--;)n[t].elem!==this||null!=r&&n[t].queue!==r||(n[t].anim.stop(o),e=!1,n.splice(t,1)
vendor: 6,656 bytes, line 14
14);!e&&o||Te.dequeue(this,r)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=Fe.get(this),n=t[a+"queue"],i=t[a+"queueHooks"],r=Te.timers,o=n?n.length:0;for(t.finish=!0,Te.queue(this,a,[]),i&&i.stop&&i.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===a&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),Te.each(["toggle","show","hide"],function(e,i){var r=Te.fn[i];Te.fn[i]=function(e,t,n){return null==e||"boolean"==typeof e?r.apply(this,arguments):this.animate(U(i,!0),e,t,n)}}),Te.each({slideDown:U("show"),slideUp:U("hide"),slideToggle:U("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,i){Te.fn[e]=function(e,t,n){return this.animate(i,e,t,n)}}),Te.timers=[],Te.fx.tick=function(){var e,t=0,n=Te.timers;for(kt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||Te.fx.stop(),kt=undefined},Te.fx.timer=function(e){Te.timers.push(e),Te.fx.start()},Te.fx.interval=13,Te.fx.start=function(){Tt||(Tt=!0,V())},Te.fx.stop=function(){Tt=null},Te.fx.speeds={slow:600,fast:200,_default:400},Te.fn.delay=function(i,e){return i=Te.fx&&Te.fx.speeds[i]||i,e=e||"fx",this.queue(e,function(e,t){var n=T.setTimeout(e,i);t.stop=function(){T.clearTimeout(n)}})},St=_e.createElement("input"),Ct=_e.createElement("select").appendChild(_e.createElement("option")),St.type="checkbox",ye.checkOn=""!==St.value,ye.optSelected=Ct.selected,(St=_e.createElement("input")).value="t",St.type="radio",ye.radioValue="t"===St.value;var Ot,Pt=Te.expr.attrHandle;Te.fn.extend({attr:function(e,t){return $e(this,Te.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){Te.removeAttr(this,e)})}}),Te.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?Te.prop(e,t,n):(1===o&&Te.isXMLDoc(e)||(r=Te.attrHooks[t.toLowerCase()]||(Te.expr.match.bool.test(t)?Ot:undefined)),n!==undefined?null===n?void Te.removeAttr(e,t):r&&"set"in r&&(i=r.set(e,n,t))!==undefined?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=Te.find.attr(e,t))?undefined:i)},attrHooks:{type:{set:function(e,t){if(!ye.radioValue&&"radio"===t&&u(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(je);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),Ot={set:function(e,t,n){return!1===t?Te.removeAttr(e,n):e.setAttribute(n,n),n}},Te.each(Te.expr.match.bool.source.match(/\w+/g),function(e,t){var a=Pt[t]||Te.find.attr;Pt[t]=function(e,t,n){var i,r,o=t.toLowerCase();return n||(r=Pt[o],Pt[o]=i,i=null!=a(e,t,n)?o:null,Pt[o]=r),i}});var At=/^(?:input|select|textarea|button)$/i,Mt=/^(?:a|area)$/i;Te.fn.extend({prop:function(e,t){return $e(this,Te.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[Te.propFix[e]||e]})}}),Te.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&Te.isXMLDoc(e)||(t=Te.propFix[t]||t,r=Te.propHooks[t]),n!==undefined?r&&"set"in r&&(i=r.set(e,n,t))!==undefined?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=Te.find.attr(e,"tabindex");return t?parseInt(t,10):At.test(e.nodeName)||Mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),ye.optSelected||(Te.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),Te.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Te.propFix[this.toLowerCase()]=this}),Te.fn.extend({addClass:function(t){var e,n,i,r,o,a;return be(t)?this.each(function(e){Te(this).addClass(t.call(this,e,Z(this)))}):(e=ee(t)).length?this.each(function(){if(i=Z(this),n=1===this.nodeType&&" "+J(i)+" "){for(o=0;o<e.length;o++)r=e[o],n.indexOf(" "+r+" ")<0&&(n+=r+" ");a=J(n),i!==a&&this.setAttribute("class",a)}}):this},removeClass:function(t){var e,n,i,r,o,a;return be(t)?this.each(function(e){Te(this).removeClass(t.call(this,e,Z(this)))}):arguments.length?(e=ee(t)).length?this.each(function(){if(i=Z(this),n=1===this.nodeType&&" "+J(i)+" "){for(o=0;o<e.length;o++)for(r=e[o];-1<n.indexOf(" "+r+" ");)n=n.replace(" "+r+" "," ");a=J(n),i!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(t,n){var e,i,r,o,a=typeof t,s="string"===a||Array.isArray(t);return be(t)?this.each(function(e){Te(this).toggleClass(t.call(this,e,Z(this),n),n)}):"boolean"==typeof n&&s?n?this.addClass(t):this.removeClass(t):(e=ee(t),this.each(function(){if(s)for(o=Te(this),r=0;r<e.length;r++)i=e[r],o.hasClass(i)?o.removeClass(i):o.addClass(i);else t!==undefined&&"boolean"!==a||((i=Z(this))&&Fe.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===t?"":Fe.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&-1<(" "+J(Z(n))+" ").indexOf(t))return!0;return!1}});var It=/\r/g;Te.fn.extend({val:function(n){var i,e,r,t=this[0];return arguments.length?(r=be(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=r?n.call(this,e,Te(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=Te.map(t,function(e){return null==e?"":e+""})),(i=Te.valHooks[this.type]||Te.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&i.set(this,t,"value")!==undefined||(this.value=t))})):t?(i=Te.valHooks[t.type]||Te.valHooks[t.nodeName.toLowerCase()])&&"get"in i&&(e=i.get(t,"value"))!==undefined?e:"string"==typeof(e=t.value)?e.replace(It,""):null==e?"":e:void 0}}),Te.extend({valHooks:{option:{get:function(e){var t=Te.find.attr(e,"value");return null!=t?t:J(Te.text(e))}},select:{get:function(e){var t,n,i,r=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?o+1:r.length;for(i=o<0?l:a?o:0;i<l;i++)if(((n=r[i]).selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!u(n.parentNode,"optgroup"))){if(t=Te(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,i,r=e.options,o=Te.makeArray(t),a=r.length;a--;)((i=r[a]).selected=-1<Te.inArray(Te.valHooks.option.get(i),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),Te.each(["radio","checkbox"],function(){Te.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<Te.inArray(Te(e).val(),t)}},ye.checkOn||(Te.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}
vendor: 4,343 bytes, line 14
14),ye.focusin="onfocusin"in T;var jt=/^(?:focusinfocus|focusoutblur)$/,Nt=function(e){e.stopPropagation()};Te.extend(Te.event,{trigger:function(e,t,n,i){var r,o,a,s,l,u,c,d,p=[n||_e],h=ge.call(e,"type")?e.type:e,f=ge.call(e,"namespace")?e.namespace.split("."):[];if(o=d=a=n=n||_e,3!==n.nodeType&&8!==n.nodeType&&!jt.test(h+Te.event.triggered)&&(-1<h.indexOf(".")&&(h=(f=h.split(".")).shift(),f.sort()),l=h.indexOf(":")<0&&"on"+h,(e=e[Te.expando]?e:new Te.Event(h,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=f.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=undefined,e.target||(e.target=n),t=null==t?[e]:Te.makeArray(t,[e]),c=Te.event.special[h]||{},i||!c.trigger||!1!==c.trigger.apply(n,t))){if(!i&&!c.noBubble&&!we(n)){for(s=c.delegateType||h,jt.test(s+h)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||_e)&&p.push(a.defaultView||a.parentWindow||T)}for(r=0;(o=p[r++])&&!e.isPropagationStopped();)d=o,e.type=1<r?s:c.bindType||h,(u=(Fe.get(o,"events")||Object.create(null))[e.type]&&Fe.get(o,"handle"))&&u.apply(o,t),(u=l&&o[l])&&u.apply&&ze(o)&&(e.result=u.apply(o,t),!1===e.result&&e.preventDefault());return e.type=h,i||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!ze(n)||l&&be(n[h])&&!we(n)&&((a=n[l])&&(n[l]=null),Te.event.triggered=h,e.isPropagationStopped()&&d.addEventListener(h,Nt),n[h](),e.isPropagationStopped()&&d.removeEventListener(h,Nt),Te.event.triggered=undefined,a&&(n[l]=a)),e.result}},simulate:function(e,t,n){var i=Te.extend(new Te.Event,n,{type:e,isSimulated:!0});Te.event.trigger(i,null,t)}}),Te.fn.extend({trigger:function(e,t){return this.each(function(){Te.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return Te.event.trigger(e,t,n,!0)}}),ye.focusin||Te.each({focus:"focusin",blur:"focusout"},function(n,i){var r=function(e){Te.event.simulate(i,e.target,Te.event.fix(e))};Te.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=Fe.access(e,i);t||e.addEventListener(n,r,!0),Fe.access(e,i,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=Fe.access(e,i)-1;t?Fe.access(e,i,t):(e.removeEventListener(n,r,!0),Fe.remove(e,i))}}});var Lt=T.location,$t={guid:Date.now()},Ht=/\?/;Te.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new T.DOMParser).parseFromString(e,"text/xml")}catch(i){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||Te.error("Invalid XML: "+(n?Te.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Rt=/\[\]$/,zt=/\r?\n/g,Ft=/^(?:submit|button|image|reset|file)$/i,Wt=/^(?:input|select|textarea|keygen)/i;Te.param=function(e,t){var n,i=[],r=function(e,t){var n=be(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!Te.isPlainObject(e))Te.each(e,function(){r(this.name,this.value)});else for(n in e)te(n,e[n],t,r);return i.join("&")},Te.fn.extend({serialize:function(){return Te.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=Te.prop(this,"elements");return e?Te.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!Te(this).is(":disabled")&&Wt.test(this.nodeName)&&!Ft.test(e)&&(this.checked||!tt.test(e))}).map(function(e,t){var n=Te(this).val();return null==n?null:Array.isArray(n)?Te.map(n,function(e){return{name:t.name,value:e.replace(zt,"\r\n")}}):{name:t.name,value:n.replace(zt,"\r\n")}}).get()}});var qt=/%20/g,Bt=/#.*$/,Vt=/([?&])_=[^&]*/,Yt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ut=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Gt=/^(?:GET|HEAD)$/,Xt=/^\/\//,Qt={},Kt={},Jt="*/".concat("*"),Zt=_e.createElement("a");Zt.href=Lt.href,Te.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Lt.href,type:"GET",isLocal:Ut.test(Lt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Jt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":Te.parseXML}
vendor: 14,747 bytes, lines 14-15
14,flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?re(re(e,Te.ajaxSettings),t):re(Te.ajaxSettings,e)},ajaxPrefilter:ne(Qt),ajaxTransport:ne(Kt),ajax:function(e,t){function n(e,t,n,i){var r,o,a,s,l,u=t;f||(f=!0,h&&T.clearTimeout(h),c=undefined,p=i||"",x.readyState=0<e?4:0,r=200<=e&&e<300||304===e,n&&(s=oe(m,x,n)),!r&&-1<Te.inArray("script",m.dataTypes)&&Te.inArray("json",m.dataTypes)<0&&(m.converters["text script"]=function(){}),s=ae(m,s,x,r),r?(m.ifModified&&((l=x.getResponseHeader("Last-Modified"))&&(Te.lastModified[d]=l),(l=x.getResponseHeader("etag"))&&(Te.etag[d]=l)),204===e||"HEAD"===m.type?u="nocontent":304===e?u="notmodified":(u=s.state,o=s.data,r=!(a=s.error))):(a=u,!e&&u||(u="error",e<0&&(e=0))),x.status=e,x.statusText=(t||u)+"",r?b.resolveWith(v,[o,u,x]):b.rejectWith(v,[x,u,a]),x.statusCode(_),_=undefined,g&&y.trigger(r?"ajaxSuccess":"ajaxError",[x,m,r?o:a]),w.fireWith(v,[x,u]),g&&(y.trigger("ajaxComplete",[x,m]),--Te.active||Te.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=undefined),t=t||{};var c,d,p,i,h,r,f,g,o,a,m=Te.ajaxSetup({},t),v=m.context||m,y=m.context&&(v.nodeType||v.jquery)?Te(v):Te.event,b=Te.Deferred(),w=Te.Callbacks("once memory"),_=m.statusCode||{},s={},l={},u="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(f){if(!i)for(i={};t=Yt.exec(p);)i[t[1].toLowerCase()+" "]=(i[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=i[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return f?p:null},setRequestHeader:function(e,t){return null==f&&(e=l[e.toLowerCase()]=l[e.toLowerCase()]||e,s[e]=t),this},overrideMimeType:function(e){return null==f&&(m.mimeType=e),this},statusCode:function(e){var t;if(e)if(f)x.always(e[x.status]);else for(t in e)_[t]=[_[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),n(0,t),this}};if(b.promise(x),m.url=((e||m.url||Lt.href)+"").replace(Xt,Lt.protocol+"//"),m.type=t.method||t.type||m.method||m.type,m.dataTypes=(m.dataType||"*").toLowerCase().match(je)||[""],null==m.crossDomain){r=_e.createElement("a");try{r.href=m.url,r.href=r.href,
15m.crossDomain=Zt.protocol+"//"+Zt.host!=r.protocol+"//"+r.host}catch(k){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=Te.param(m.data,m.traditional)),ie(Qt,m,t,x),f)return x;for(o in(g=Te.event&&m.global)&&0==Te.active++&&Te.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!Gt.test(m.type),d=m.url.replace(Bt,""),m.hasContent?m.data&&m.processData&&0===(m.contentType||"").indexOf("application/x-www-form-urlencoded")&&(m.data=m.data.replace(qt,"+")):(a=m.url.slice(d.length),m.data&&(m.processData||"string"==typeof m.data)&&(d+=(Ht.test(d)?"&":"?")+m.data,delete m.data),!1===m.cache&&(d=d.replace(Vt,"$1"),a=(Ht.test(d)?"&":"?")+"_="+$t.guid+++a),m.url=d+a),m.ifModified&&(Te.lastModified[d]&&x.setRequestHeader("If-Modified-Since",Te.lastModified[d]),Te.etag[d]&&x.setRequestHeader("If-None-Match",Te.etag[d])),(m.data&&m.hasContent&&!1!==m.contentType||t.contentType)&&x.setRequestHeader("Content-Type",m.contentType),x.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+Jt+"; q=0.01":""):m.accepts["*"]),m.headers)x.setRequestHeader(o,m.headers[o]);if(m.beforeSend&&(!1===m.beforeSend.call(v,x,m)||f))return x.abort();if(u="abort",w.add(m.complete),x.done(m.success),x.fail(m.error),c=ie(Kt,m,t,x)){if(x.readyState=1,g&&y.trigger("ajaxSend",[x,m]),f)return x;m.async&&0<m.timeout&&(h=T.setTimeout(function(){x.abort("timeout")},m.timeout));try{f=!1,c.send(s,n)}catch(k){if(f)throw k;n(-1,k)}}else n(-1,"No Transport");return x},getJSON:function(e,t,n){return Te.get(e,t,n,"json")},getScript:function(e,t){return Te.get(e,undefined,t,"script")}}),Te.each(["get","post"],function(e,r){Te[r]=function(e,t,n,i){return be(t)&&(i=i||n,n=t,t=undefined),Te.ajax(Te.extend({url:e,type:r,dataType:i,data:t,success:n},Te.isPlainObject(e)&&e))}}),Te.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),Te._evalUrl=function(e,t,n){return Te.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){Te.globalEval(e,t,n)}})},Te.fn.extend({wrapAll:function(e){var t;return this[0]&&(be(e)&&(e=e.call(this[0])),t=Te(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return be(n)?this.each(function(e){Te(this).wrapInner(n.call(this,e))}):this.each(function(){var e=Te(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=be(t);return this.each(function(e){Te(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){Te(this).replaceWith(this.childNodes)}),this}}),Te.expr.pseudos.hidden=function(e){return!Te.expr.pseudos.visible(e)},Te.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},Te.ajaxSettings.xhr=function(){try{return new T.XMLHttpRequest}catch(e){}};var en={0:200,1223:204},tn=Te.ajaxSettings.xhr();ye.cors=!!tn&&"withCredentials"in tn,ye.ajax=tn=!!tn,Te.ajaxTransport(function(o){var a,s;if(ye.cors||tn&&!o.crossDomain)return{send:function(e,t){var n,i=o.xhr();if(i.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(n in o.xhrFields)i[n]=o.xhrFields[n];for(n in o.mimeType&&i.overrideMimeType&&i.overrideMimeType(o.mimeType),o.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)i.setRequestHeader(n,e[n]);a=function(e){return function(){a&&(a=s=i.onload=i.onerror=i.onabort=i.ontimeout=i.onreadystatechange=null,"abort"===e?i.abort():"error"===e?"number"!=typeof i.status?t(0,"error"):t(i.status,i.statusText):t(en[i.status]||i.status,i.statusText,"text"!==(i.responseType||"text")||"string"!=typeof i.responseText?{binary:i.response}:{text:i.responseText},i.getAllResponseHeaders()))}},i.onload=a(),s=i.onerror=i.ontimeout=a("error"),i.onabort!==undefined?i.onabort=s:i.onreadystatechange=function(){4===i.readyState&&T.setTimeout(function(){a&&s()})},a=a("abort");try{i.send(o.hasContent&&o.data||null)}catch(r){if(a)throw r}},abort:function(){a&&a()}}}),Te.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),Te.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return Te.globalEval(e),e}}}),Te.ajaxPrefilter("script",function(e){e.cache===undefined&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),Te.ajaxTransport("script",function(n){var i,r;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){i=Te("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",r=function(e){i.remove(),r=null,e&&t("error"===e.type?404:200,e.type)}),_e.head.appendChild(i[0])},abort:function(){r&&r()}}});var nn,rn=[],on=/(=)\?(?=&|$)|\?\?/;Te.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=rn.pop()||Te.expando+"_"+$t.guid++;return this[e]=!0,e}}),Te.ajaxPrefilter("json jsonp",function(e,t,n){var i,r,o,a=!1!==e.jsonp&&(on.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&on.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=be(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(on,"$1"+i):!1!==e.jsonp&&(e.url+=(Ht.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return o||Te.error(i+" was not called"),o[0]},e.dataTypes[0]="json",r=T[i],T[i]=function(){o=arguments},n.always(function(){r===undefined?Te(T).removeProp(i):T[i]=r,e[i]&&(e.jsonpCallback=t.jsonpCallback,rn.push(i)),o&&be(r)&&r(o[0]),o=r=undefined}),"script"}),ye.createHTMLDocument=((nn=_e.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===nn.childNodes.length),Te.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(ye.createHTMLDocument?((i=(t=_e.implementation.createHTMLDocument("")).createElement("base")).href=_e.location.href,t.head.appendChild(i)):t=_e),o=!n&&[],(r=Oe.exec(e))?[t.createElement(r[1])]:(r=x([e],t,o),o&&o.length&&Te(o).remove(),Te.merge([],r.childNodes)));var i,r,o},Te.fn.load=function(e,t,n){var i,r,o,a=this,s=e.indexOf(" ");return-1<s&&(i=J(e.slice(s)),e=e.slice(0,s)),be(t)?(n=t,t=undefined):t&&"object"==typeof t&&(r="POST"),0<a.length&&Te.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(i?Te("<div>").append(Te.parseHTML(e)).find(i):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},Te.expr.pseudos.animated=function(t){return Te.grep(Te.timers,function(e){return t===e.elem}).length},Te.offset={setOffset:function(e,t,n){var i,r,o,a,s,l,u=Te.css(e,"position"),c=Te(e),d={};"static"===u&&(e.style.position="relative"),s=c.offset(),o=Te.css(e,"top"),l=Te.css(e,"left"),("absolute"===u||"fixed"===u)&&-1<(o+l).indexOf("auto")?(a=(i=c.position()).top,r=i.left):(a=parseFloat(o)||0,r=parseFloat(l)||0),be(t)&&(t=t.call(e,n,Te.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+r),"using"in t?t.using.call(e,d):c.css(d)}},Te.fn.extend({offset:function(t){if(arguments.length)return t===undefined?this:this.each(function(e){Te.offset.setOffset(this,t,e)});var e,n,i=this[0];return i?i.getClientRects().length?(e=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],r={top:0,left:0};if("fixed"===Te.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===Te.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=Te(e).offset()).top+=Te.css(e,"borderTopWidth",!0),r.left+=Te.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-Te.css(i,"marginTop",!0),left:t.left-r.left-Te.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===Te.css(e,"position");)e=e.offsetParent;return e||Ge})}}),Te.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,r){var o="pageYOffset"===r;Te.fn[t]=function(e){return $e(this,function(e,t,n){var i;if(we(e)?i=e:9===e.nodeType&&(i=e.defaultView),n===undefined)return i?i[r]:e[t];i?i.scrollTo(o?i.pageXOffset:n,o?n:i.pageYOffset):e[t]=n},t,e,arguments.length)}}),Te.each(["top","left"],function(e,n){Te.cssHooks[n]=H(ye.pixelPosition,function(e,t){if(t)return t=$(e,n),ct.test(t)?Te(e).position()[n]+"px":t})}),Te.each({Height:"height",Width:"width"},function(a,s){Te.each({padding:"inner"+a,content:s,"":"outer"+a},function(i,o){Te.fn[o]=function(e,t){var n=arguments.length&&(i||"boolean"!=typeof e),r=i||(!0===e||!0===t?"margin":"border");return $e(this,function(e,t,n){var i;return we(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+a],i["scroll"+a],e.body["offset"+a],i["offset"+a],i["client"+a])):n===undefined?Te.css(e,t,r):Te.style(e,t,n,r)},s,n?e:undefined,n)}})}),Te.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){Te.fn[t]=function(e){return this.on(t,e)}}),Te.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),Te.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){Te.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var an=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;Te.proxy=function(e,t){var n,i,r;return"string"==typeof t&&(n=e[t],t=e,e=n),be(e)?(i=ue.call(arguments,2),(r=function(){return e.apply(t||this,i.concat(ue.call(arguments)))}).guid=e.guid=e.guid||Te.guid++,r):undefined},Te.holdReady=function(e){e?Te.readyWait++:Te.ready(!0)},Te.isArray=Array.isArray,Te.parseJSON=JSON.parse,Te.nodeName=u,Te.isFunction=be,Te.isWindow=we,Te.camelCase=h,Te.type=m,Te.now=Date.now,Te.isNumeric=function(e){var t=Te.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},Te.trim=function(e){return null==e?"":(e+"").replace(an,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return Te});var sn=T.jQuery,ln=T.$;return Te.noConflict=function(e){return T.$===Te&&(T.$=ln),e&&T.jQuery===Te&&(T.jQuery=sn),Te},void 0===e&&(T.jQuery=T.$=Te),Te}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(e){return e.ui=e.ui||{},e.ui.version="1.12.1"}),function(e){"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}(function(e){return e.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),function(e){"function"==typeof define&&define.amd?define(["jquery","../version","../keycode"],e):e(jQuery)}(function(k){function l(e){for(var t,n;e.length&&e[0]!==document;){if(("absolute"===(t=e.css("position"))||"relative"===t||"fixed"===t)&&(n=parseInt(e.css("zIndex"),10),!isNaN(n)&&0!==n))return n;e=e.parent()}return 0}function e(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
vendor: 5,144 bytes, line 15
15ay","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},k.extend(this._defaults,this.regional[""]),this.regional.en=k.extend(!0,{},this.regional[""]),this.regional["en-US"]=k.extend(!0,{},this.regional.en),this.dpDiv=n(k("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function n(e){var t="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.on("mouseout",t,function(){k(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&k(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&k(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",t,a)}function a(){k.datepicker._isDisabledDatepicker(s.inline?s.dpDiv.parent()[0]:s.input[0])||(k(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),k(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&k(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&k(this).addClass("ui-datepicker-next-hover"))}function d(e,t){for(var n in k.extend(e,t),t)null==t[n]&&(e[n]=t[n]);return e}var s;return k.extend(k.ui,{datepicker:{version:"1.12.1"}}),k.extend(e.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return d(this._defaults,e||{}),this},_attachDatepicker:function(e,t){var n,i,r;i="div"===(n=e.nodeName.toLowerCase())||"span"===n,e.id||(this.uuid+=1,e.id="dp"+this.uuid),(r=this._newInst(k(e),i)).settings=k.extend({},t||{}),"input"===n?this._connectDatepicker(e,r):i&&this._inlineDatepicker(e,r)},_newInst:function(e,t){return{id:e[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:t,dpDiv:t?n(k("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(e,t){var n=k(e);t.append=k([]),t.trigger=k([]),n.hasClass(this.markerClassName)||(this._attachments(n,t),n.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(t),k.data(e,"datepicker",t),t.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,t){var n,i,r,o=this._get(t,"appendText"),a=this._get(t,"isRTL");t.append&&t.append.remove(),o&&(t.append=k("<span class='"+this._appendClass+"'>"+o+"</span>"),e[a?"before":"after"](t.append)),e.off("focus",this._showDatepicker),t.trigger&&t.trigger.remove(),"focus"!==(n=this._get(t,"showOn"))&&"both"!==n||e.on("focus",this._showDatepicker),"button"!==n&&"both"!==n||(i=this._get(t,"buttonText"),r=this._get(t,"buttonImage"),t.trigger=k(this._get(t,"buttonImageOnly")?k("<img/>").addClass(this._triggerClass).attr({src:r,alt:i,title:i}):k("<button type='button'></button>").addClass(this._triggerClass).html(r?k("<img/>").attr({src:r,alt:i,title:i}):i)),e[a?"before":"after"](t.trigger),t.trigger.on("click",function(){return k.datepicker._datepickerShowing&&k.datepicker._lastInput===e[0]?k.datepicker._hideDatepicker():(k.datepicker._datepickerShowing&&k.datepicker._lastInput!==e[0]&&k.datepicker._hideDatepicker(),k.datepicker._showDatepicker(e[0])),!1}))},_autoSize:function(e){if(this._get(e,"autoSize")&&!e.inline){var t,n,i,r,o=new Date(2009,11,20),a=this._get(e,"dateFormat");a.match(/[DM]/)&&(t=function(e){for(r=i=n=0;r<e.length;r++)e[r].length>n&&(n=e[r].length,i=r);return i},o.setMonth(t(this._get(e,a.match(/MM/)?"monthNames":"monthNamesShort"))),o.setDate(t(this._get(e,a.match(/DD/)?"dayNames":"dayNamesShort"))+20-o.getDay())),e.input.attr("size",this._formatDate(e,o).length)}},_inlineDatepicker:function(e,t){var n=k(e);n.hasClass(this.markerClassName)||(n.addClass(this.markerClassName).append(t.dpDiv),k.data(e,"datepicker",t),this._setDate(t,this._getDefaultDate(t),!0),this._updateDatepicker(t),this._updateAlternate(t),t.settings.disabled&&this._disableDatepicker(e),t.dpDiv.css("display","block"))},_dialogDatepicker:function(e,t,n,i,r){var o,a,s,l,u,c=this._dialogInst;return c||(this.uuid+=1,o="dp"+this.uuid,this._dialogInput=k("<input type='text' id='"+o+"' style='position: absolute; top: -100px; width: 0px;'/>
15"),this._dialogInput.on("keydown",this._doKeyDown),k("body").append(this._dialogInput),(c=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},k.data(this._dialogInput[0],"datepicker",c)),d(c.settings,i||{}),t=t&&t.constructor===Date?this._formatDate(c,t):t,this._dialogInput.val(t),this._pos=r?r.length?r:[r.pageX,r.pageY]:null,this._pos||(a=document.documentElement.clientWidth,s=document.documentElement.clientHeight,l=document.documentElement.scrollLeft||document.body.scrollLeft,u=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[a/2-100+l,s/2-150+u]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),c.settings.onSelect=n,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),k.blockUI&&k.blockUI(this.dpDiv),k.data(this._dialogInput[0],"datepicker",c),this},_destroyDatepicker:function(e){var t,n=k(e),i=k.data(e,"datepicker");n.hasClass(this.markerClassName)&&(t=e.nodeName.toLowerCase(),k.removeData(e,"datepicker"),"input"===t?(i.append.remove(),i.trigger.remove(),n.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==t&&"span"!==t||n.removeClass(this.markerClassName).empty(),s===i&&(s=null))},_enableDatepicker:function(t){var e,n,i=k(t),r=k.data(t,"datepicker");i.hasClass(this.markerClassName)&&("input"===(e=t.nodeName.toLowerCase())?(t.disabled=!1,r.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==e&&"span"!==e||((n=i.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=k.map(this._disabledInputs,function(e){return e===t?null:e}))},_disableDatepicker:function(t){var e,n,i=k(t),r=k.data(t,"datepicker");i.hasClass(this.markerClassName)&&("input"===(e=t.nodeName.toLowerCase())?(t.disabled=!0,r.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==e&&"span"!==e||((n=i.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=k.map(this._disabledInputs,function(e){return e===t?null:e}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(!e)return!1;for(var t=0;t<this._disabledInputs.length;t++)if(this._disabledInputs[t]===e)return!0;return!1},_getInst:function(e){try{return k.data(e,"datepicker")}catch(t){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(e,t,n){var i,r,o,a,s=this._getInst(e);if(2===arguments.length&&"string"==typeof t)return"defaults"===t?k.extend({},k.datepicker._defaults):s?"all"===t?k.extend({},s.settings):this._get(s,t):null;i=t||{},"string"==typeof t&&((i={})[t]=n),s&&(this._curInst===s&&this._hideDatepicker(),r=this._getDateDatepicker(e,!0),o=this._getMinMaxDate(s,"min"),a=this._getMinMaxDate(s,"max"),d(s.settings,i),null!==o&&i.dateFormat!==undefined&&i.minDate===undefined&&(s.settings.minDate=this._formatDate(s,o)),null!==a&&i.dateFormat!==undefined&&i.maxDate===undefined&&(s.settings.maxDate=this._formatDate(s,a)),"disabled"in i&&(i.disabled?this._disableDatepicker(e):this._enableDatepicker(e)),this._attachments(k(e),s),this._autoSize(s),this._setDate(s,r),this._updateAlternate(s),this._updateDatepicker(s))},_changeDatepicker:function(e,t,n){this._optionDatepicker(e,t,n)},_refreshDatepicker:function(e){var t=this._getInst(e);t&&this._updateDatepicker(t)},_setDateDatepicker:function(e,t){var n=this._getInst(e);n&&(this._setDate(n,t),this._updateDatepicker(n),this._updateAlternate(n))},_getDateDatepicker:function(e,t){var n=this._getInst(e);return n&&!n.inline&&this._setDateFromField(n,t),n?this._getDate(n):null},_doKeyDown:function(e){var t,n,i,r=k.datepicker._getInst(e.target),o=!0,a=r.dpDiv.is(".ui-datepicker-rtl");if(r._keyEvent=!0,k.datepicker._datepickerShowing)switch(e.keyCode){case 9:k.datepicker._hideDatepicker(),o=!1;break;case 13:return(i=k("td."+k.datepicker._dayOverClass+":not(."+k.datepicker._currentClass+")",r.dpDiv))[0]&&k.datepicker._selectDay(e.target,r.selectedMonth,r.selectedYear,i[0]),(t=k.datepicker._get(r,"onSelect"))?(n=k.datepicker._formatDate(r),t.apply(r.input?r.input[0]:null,[n,r])):k.datepicker._hideDatepicker(),!1;case 27:k.datepicker._hideDatepicker();break;case 33:k.datepicker._adjustDate(e.target,e.ctrlKey?-k.datepicker._get(r,"stepBigMonths"):-k.datepicker._get(r,"stepMonths"),"M");break;case 34:k.datepicker._adjustDate(e.target,e.ctrlKey?+k.datepicker._get(r,"stepBigMonths"):+k.datepicker._get(r,"stepMonths"),"M");break;case 35:(e.ctrlKey||e.metaKey)&&k.datepicker._clearDate(e.target),o=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&&k.datepicker._gotoToday(e.target),o=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&&k.datepicker._adjustDate(e.target,a?1:-1,"D"),o=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&k.datepicker._adjustDate(e.target,e.ctrlKey?-k.datepicker._get(r,"stepBigMonths"):-k.datepicker._get(r,"stepMonths"),"M");break;case 38:(e.ctrlKey||e.metaKey)&&k.datepicker._adjustDate(e.target,-7,"D"),o=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&&k.datepicker._adjustDate(e.target,a?-1:1,"D"),o=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&k.datepicker._adjustDate(e.target,e.ctrlKey?+k.datepicker._get(r,"stepBigMonths"):+k.datepicker._get(r,"stepMonths"),"M");break;case 40:(e.ctrlKey||e.metaKey)&&k.datepicker._adjustDate(e.target,7,"D"),o=e.ctrlKey||e.metaKey;break;default:o=!1}else 36===e.keyCode&&e.ctrlKey?k.datepicker._showDatepicker(this):o=!1;o&&(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(e){var t,n,i=k.datepicker._getInst(e.target);if(k.datepicker._get(i,"constrainInput"))return t=k.datepicker._possibleChars(k.datepicker._get(i,"dateFormat")),n=String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),e.ctrlKey||e.metaKey||n<" "||!t||-1<t.indexOf(n)},_doKeyUp:function(e){var t=k.datepicker._getInst(e.target);if(t.input.val()!==t.lastVal)try{k.datepicker.parseDate(k.datepicker._get(t,"dateFormat"),t.input?t.input.val():null,k.datepicker._getFormatConfig(t))&&(k.datepicker._setDateFromField(t),k.datepicker._updateAlternate(t),k.datepicker._updateDatepicker(t))}catch(n){}return!0},_showDatepicker:function(e){var t,n,i,r,o,a,s;("input"!==(e=e.target||e).nodeName.toLowerCase()&&(e=k("input",e.parentNode)[0]),k.datepicker._isDisabledDatepicker(e)||k.datepicker._lastInput===e)||(t=k.datepicker._getInst(e),k.datepicker._curInst&&k.datepicker._curInst!==t&&(k.datepicker._curInst.dpDiv.stop(!0,!0),t&&k.datepicker._datepickerShowing&&k.datepicker._hideDatepicker(k.datepicker._curInst.input[0])),!1!==(i=(n=k.datepicker._get(t,"beforeShow"))?n.apply(e,[e,t]):{})&&(d(t.settings,i),t.lastVal=null,k.datepicker._lastInput=e,k.datepicker._setDateFromField(t),k.datepicker._inDialog&&(e.value=""),k.datepicker._pos||(k.datepicker._pos=k.datepicker._findPos(e),k.datepicker._pos[1]+=e.offsetHeight),r=!1,k(e).parents().each(function(){return!(r|="fixed"===k(this).css("position"))}),o={left:k.datepicker._pos[0],top:k.datepicker._pos[1]},k.datepicker._pos=null,t.dpDiv.empty(),t.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),k.datepicker._updateDatepicker(t),o=k.datepicker._checkOffset(t,o,r),t.dpDiv.css({position:k.datepicker._inDialog&&k.blockUI?"static":r?"fixed":"absolute",display:"none",left:o.left+"px",to
vendor: 15,992 bytes, lines 15-16
15p:o.top+"px"}),t.inline||(a=k.datepicker._get(t,"showAnim"),s=k.datepicker._get(t,"duration"),t.dpDiv.css("z-index",l(k(e))+1),k.datepicker._datepickerShowing=!0,k.effects&&k.effects.effect[a]?t.dpDiv.show(a,k.datepicker._get(t,"showOptions"),s):t.dpDiv[a||"show"](a?s:null),k.datepicker._shouldFocusInput(t)&&t.input.trigger("focus"),k.datepicker._curInst=t)))},_updateDatepicker:function(e){this.maxRows=4,(s=e).dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e);var t,n=this._getNumberOfMonths(e),i=n[1],r=17,o=e.dpDiv.find("."+this._dayOverClass+" a");0<o.length&&a.apply(o.get(0)),e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),1<i&&e.dpDiv.addClass("ui-datepicker-multi-"+i).css("width",r*i+"em"),e.dpDiv[(1!==n[0]||1!==n[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),e.dpDiv[(this._get(e,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),e===k.datepicker._curInst&&k.datepicker._datepickerShowing&&k.datepicker._shouldFocusInput(e)&&e.input.trigger("focus"),e.yearshtml&&(t=e.yearshtml,setTimeout(function(){t===e.yearshtml&&e.yearshtml&&e.dpDiv.find("select.ui-datepicker-year:first").replaceWith(e.yearshtml),t=e.yearshtml=null},0))},_shouldFocusInput:function(e){return e.input&&e.input.is(":visible")&&!e.input.is(":disabled")&&!e.input.is(":focus")},_checkOffset:function(e,t,n){var i=e.dpDiv.outerWidth(),r=e.dpDiv.outerHeight(),o=e.input?e.input.outerWidth():0,a=e.input?e.input.outerHeight():0,s=document.documentElement.clientWidth+(n?0:k(document).scrollLeft()),l=document.documentElement.clientHeight+(n?0:k(document).scrollTop());return t.left-=this._get(e,"isRTL")?i-o:0,t.left-=n&&t.left===e.input.offset().left?k(document).scrollLeft():0,t.top-=n&&t.top===e.input.offset().top+a?k(document).scrollTop():0,t.left-=Math.min(t.left,t.left+i>s&&i<s?Math.abs(t.left+i-s):0),t.top-=Math.min(t.top,t.top+r>l&&r<l?Math.abs(r+a):0),t},_findPos:function(e){for(var t,n=this._getInst(e),i=this._get(n,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||k.expr.filters.hidden(e));)e=e[i?"previousSibling":"nextSibling"];return[(t=k(e).offset()).left,t.top]},_hideDatepicker:function(e){var t,n,i,r,o=this._curInst;!o||e&&o!==k.data(e,"datepicker")||this._datepickerShowing&&(t=this._get(o,"showAnim"),n=this._get(o,"duration"),i=function(){k.datepicker._tidyDialog(o)},k.effects&&(k.effects.effect[t]||k.effects[t])?o.dpDiv.hide(t,k.datepicker._get(o,"showOptions"),n,i):o.dpDiv["slideDown"===t?"slideUp":"fadeIn"===t?"fadeOut":"hide"](t?n:null,i),t||i(),this._datepickerShowing=!1,(r=this._get(o,"onClose"))&&r.apply(o.input?o.input[0]:null,[o.input?o.input.val():"",o]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),k.blockUI&&(k.unblockUI(),k("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(e){if(k.datepicker._curInst){var t=k(e.target),n=k.datepicker._getInst(t[0]);(t[0].id===k.datepicker._mainDivId||0!==t.parents("#"+k.datepicker._mainDivId).length||t.hasClass(k.datepicker.markerClassName)||t.closest("."+k.datepicker._triggerClass).length||!k.datepicker._datepickerShowing||k.datepicker._inDialog&&k.blockUI)&&(!t.hasClass(k.datepicker.markerClassName)||k.datepicker._curInst===n)||k.datepicker._hideDatepicker()}},_adjustDate:function(e,t,n){var i=k(e),r=this._getInst(i[0]);this._isDisabledDatepicker(i[0])||(this._adjustInstDate(r,t+("M"===n?this._get(r,"showCurrentAtPos"):0),n),this._updateDatepicker(r))},_gotoToday:function(e){var t,n=k(e),i=this._getInst(n[0]);this._get(i,"gotoCurrent")&&i.currentDay?(i.selectedDay=i.currentDay,i.drawMonth=i.selectedMonth=i.currentMonth,i.drawYear=i.selectedYear=i.currentYear):(t=new Date,i.selectedDay=t.getDate(),i.drawMonth=i.selectedMonth=t.getMonth(),i.drawYear=i.selectedYear=t.getFullYear()),this._notifyChange(i),this._adjustDate(n)},_selectMonthYear:function(e,t,n){var i=k(e),r=this._getInst(i[0]);r["selected"+("M"===n?"Month":"Year")]=r["draw"+("M"===n?"Month":"Year")]=parseInt(t.options[t.selectedIndex].value,10),this._notifyChange(r),this._adjustDate(i)},_selectDay:function(e,t,n,i){var r,o=k(e);k(i).hasClass(this._unselectableClass)||this._isDisabledDatepicker(o[0])||((r=this._getInst(o[0])).selectedDay=r.currentDay=k("a",i).html(),r.selectedMonth=r.currentMonth=t,r.selectedYear=r.currentYear=n,this._selectDate(e,this._formatDate(r,r.currentDay,r.currentMonth,r.currentYear)))},_clearDate:function(e){var t=k(e);this._selectDate(t,"")},_selectDate:function(e,t){var n,i=k(e),r=this._getInst(i[0]);t=null!=t?t:this._formatDate(r),r.input&&r.input.val(t),this._updateAlternate(r),(n=this._get(r,"onSelect"))?n.apply(r.input?r.input[0]:null,[t,r]):r.input&&r.input.trigger("change"),r.inline?this._updateDatepicker(r):(this._hideDatepicker(),this._lastInput=r.input[0],"object"!=typeof r.input[0]&&r.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(e){var t,n,i,r=this._get(e,"altField");r&&(t=this._get(e,"altFormat")||this._get(e,"dateFormat"),n=this._getDate(e),i=this.formatDate(t,n,this._getFormatConfig(e)),k(r).val(i))},noWeekends:function(e){var t=e.getDay();return[0<t&&t<6,""]},iso8601Week:function(e){var t,n=new Date(e.getTime());return n.setDate(n.getDate()+4-(n.getDay()||7)),t=n.getTime(),n.setMonth(0),n.setDate(1),Math.floor(Math.round((t-n)/864e5)/7)+1},parseDate:function(n,o,e){if(null==n||null==o)throw"Invalid arguments";if(""===(o="object"==typeof o?o.toString():o+""))return null;var i,t,r,a,s=0,l=(e?e.shortYearCutoff:null)||this._defaults.shortYearCutoff,u="string"!=typeof l?l:(new Date).getFullYear()%100+parseInt(l,10),c=(e?e.dayNamesShort:null)||this._defaults.dayNamesShort,d=(e?e.dayNames:null)||this._defaults.dayNames,p=(e?e.monthNamesShort:null)||this._defaults.monthNamesShort,h=(e?e.monthNames:null)||this._defaults.monthNames,f=-1,g=-1,m=-1,v=-1,y=!1,b=function(e){var t=i+1<n.length&&n.charAt(i+1)===e;return t&&i++,t},w=function(e){var t=b(e),n="@"===e?14:"!"===e?20:"y"===e&&t?4:"o"===e?3:2,i=new RegExp("^\\d{"+("y"===e?n:1)+","+n+"}"),r=o.substring(s).match(i);if(!r)throw"Missing number at position "+s;return s+=r[0].length,parseInt(r[0],10)},_=function(e,t,n){var i=-1,r=k.map(b(e)?n:t,function(e,t){return[[t,e]]}).sort(function(e,t){return-(e[1].length-t[1].length)});if(k.each(r,function(e,t){var n=t[1];if(o.substr(s,n.length).toLowerCase()===n.toLowerCase())return i=t[0],s+=n.length,!1}),-1!==i)return i+1;throw"Unknown name at position "+s},x=function(){if(o.charAt(s)!==n.charAt(i))throw"Unexpected literal at position "+s;s++};for(i=0;i<n.length;i++)if(y)"'"!==n.charAt(i)||b("'")?x():y=!1;else switch(n.charAt(i)){case"d":m=w("d");break;case"D":_("D",c,d);break;case"o":v=w("o");break;case"m":g=w("m");break;case"M":g=_("M",p,h);break;case"y":f=w("y");break;case"@":f=(a=new Date(w("@"))).getFullYear(),g=a.getMonth()+1,m=a.getDate();break;case"!":f=(a=new Date((w("!")-this._ticksTo1970)/1e4)).getFullYear(),g=a.getMonth()+1,m=a.getDate();break;case"'":b("'")?x():y=!0;break;default:x()}if(s<o.length&&(r=o.substr(s),!/^\s+/.test(r)))throw"Extra/unparsed characters found in date: "+r;if(-1===f?f=(new Date).getFullYear():f<100&&(f+=(new Date).getFullYear()-(new Date).getFullYear()%100+(f<=u?0:-100)),-1<v)for(g=1,m=v;;){
16if(m<=(t=this._getDaysInMonth(f,g-1)))break;g++,m-=t}if((a=this._daylightSavingAdjust(new Date(f,g-1,m))).getFullYear()!==f||a.getMonth()+1!==g||a.getDate()!==m)throw"Invalid date";return a},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(n,e,t){if(!e)return"";var i,r=(t?t.dayNamesShort:null)||this._defaults.dayNamesShort,o=(t?t.dayNames:null)||this._defaults.dayNames,a=(t?t.monthNamesShort:null)||this._defaults.monthNamesShort,s=(t?t.monthNames:null)||this._defaults.monthNames,l=function(e){var t=i+1<n.length&&n.charAt(i+1)===e;return t&&i++,t},u=function(e,t,n){var i=""+t;if(l(e))for(;i.length<n;)i="0"+i;return i},c=function(e,t,n,i){return l(e)?i[t]:n[t]},d="",p=!1;if(e)for(i=0;i<n.length;i++)if(p)"'"!==n.charAt(i)||l("'")?d+=n.charAt(i):p=!1;else switch(n.charAt(i)){case"d":d+=u("d",e.getDate(),2);break;case"D":d+=c("D",e.getDay(),r,o);break;case"o":d+=u("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":d+=u("m",e.getMonth()+1,2);break;case"M":d+=c("M",e.getMonth(),a,s);break;case"y":d+=l("y")?e.getFullYear():(e.getFullYear()%100<10?"0":"")+e.getFullYear()%100;break;case"@":d+=e.getTime();break;case"!":d+=1e4*e.getTime()+this._ticksTo1970;break;case"'":l("'")?d+="'":p=!0;break;default:d+=n.charAt(i)}return d},_possibleChars:function(n){var i,e="",t=!1,r=function(e){var t=i+1<n.length&&n.charAt(i+1)===e;return t&&i++,t};for(i=0;i<n.length;i++)if(t)"'"!==n.charAt(i)||r("'")?e+=n.charAt(i):t=!1;else switch(n.charAt(i)){case"d":case"m":case"y":case"@":e+="0123456789";break;case"D":case"M":return null;case"'":r("'")?e+="'":t=!0;break;default:e+=n.charAt(i)}return e},_get:function(e,t){return e.settings[t]!==undefined?e.settings[t]:this._defaults[t]},_setDateFromField:function(e,t){if(e.input.val()!==e.lastVal){var n=this._get(e,"dateFormat"),i=e.lastVal=e.input?e.input.val():null,r=this._getDefaultDate(e),o=r,a=this._getFormatConfig(e);try{o=this.parseDate(n,i,a)||r}catch(s){i=t?"":i}e.selectedDay=o.getDate(),e.drawMonth=e.selectedMonth=o.getMonth(),e.drawYear=e.selectedYear=o.getFullYear(),e.currentDay=i?o.getDate():0,e.currentMonth=i?o.getMonth():0,e.currentYear=i?o.getFullYear():0,this._adjustInstDate(e)}},_getDefaultDate:function(e){return this._restrictMinMax(e,this._determineDate(e,this._get(e,"defaultDate"),new Date))},_determineDate:function(l,e,t){var n=function(e){var t=new Date;return t.setDate(t.getDate()+e),t},i=null==e||""===e?t:"string"==typeof e?function(e){try{return k.datepicker.parseDate(k.datepicker._get(l,"dateFormat"),e,k.datepicker._getFormatConfig(l))}catch(s){}for(var t=(e.toLowerCase().match(/^c/)?k.datepicker._getDate(l):null)||new Date,n=t.getFullYear(),i=t.getMonth(),r=t.getDate(),o=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,a=o.exec(e);a;){switch(a[2]||"d"){case"d":case"D":r+=parseInt(a[1],10);break;case"w":case"W":r+=7*parseInt(a[1],10);break;case"m":case"M":i+=parseInt(a[1],10),r=Math.min(r,k.datepicker._getDaysInMonth(n,i));break;case"y":case"Y":n+=parseInt(a[1],10),r=Math.min(r,k.datepicker._getDaysInMonth(n,i))}a=o.exec(e)}return new Date(n,i,r)}(e):"number"==typeof e?isNaN(e)?t:n(e):new Date(e.getTime());return(i=i&&"Invalid Date"===i.toString()?t:i)&&(i.setHours(0),i.setMinutes(0),i.setSeconds(0),i.setMilliseconds(0)),this._daylightSavingAdjust(i)},_daylightSavingAdjust:function(e){return e?(e.setHours(12<e.getHours()?e.getHours()+2:0),e):null},_setDate:function(e,t,n){var i=!t,r=e.selectedMonth,o=e.selectedYear,a=this._restrictMinMax(e,this._determineDate(e,t,new Date));e.selectedDay=e.currentDay=a.getDate(),e.drawMonth=e.selectedMonth=e.currentMonth=a.getMonth(),e.drawYear=e.selectedYear=e.currentYear=a.getFullYear(),r===e.selectedMonth&&o===e.selectedYear||n||this._notifyChange(e),this._adjustInstDate(e),e.input&&e.input.val(i?"":this._formatDate(e))},_getDate:function(e){return!e.currentYear||e.input&&""===e.input.val()?null:this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay))},_attachHandlers:function(e){var t=this._get(e,"stepMonths"),n="#"+e.id.replace(/\\\\/g,"\\");e.dpDiv.find("[data-handler]").map(function(){var e={prev:function(){k.datepicker._adjustDate(n,-t,"M")},next:function(){k.datepicker._adjustDate(n,+t,"M")},hide:function(){k.datepicker._hideDatepicker()},today:function(){k.datepicker._gotoToday(n)},selectDay:function(){return k.datepicker._selectDay(n,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return k.datepicker._selectMonthYear(n,this,"M"),!1},selectYear:function(){return k.datepicker._selectMonthYear(n,this,"Y"),!1}};k(this).on(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])})},_generateHTML:function(e){var t,n,i,r,o,a,s,l,u,c,d,p,h,f,g,m,v,y,b,w,_,x,k,T,S,C,E,D,O,P,A,M,I,j,N,L,$,H,R,z=new Date,F=this._daylightSavingAdjust(new Date(z.getFullYear(),z.getMonth(),z.getDate())),W=this._get(e,"isRTL"),q=this._get(e,"showButtonPanel"),B=this._get(e,"hideIfNoPrevNext"),V=this._get(e,"navigationAsDateFormat"),Y=this._getNumberOfMonths(e),U=this._get(e,"showCurrentAtPos"),G=this._get(e,"stepMonths"),X=1!==Y[0]||1!==Y[1],Q=this._daylightSavingAdjust(e.currentDay?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(9999,9,9)),K=this._getMinMaxDate(e,"min"),J=this._getMinMaxDate(e,"max"),Z=e.drawMonth-U,ee=e.drawYear;if(Z<0&&(Z+=12,ee--),J)for(t=this._daylightSavingAdjust(new Date(J.getFullYear(),J.getMonth()-Y[0]*Y[1]+1,J.getDate())),t=K&&t<K?K:t;this._daylightSavingAdjust(new Date(ee,Z,1))>t;)--Z<0&&(Z=11,ee--);for(e.drawMonth=Z,e.drawYear=ee,n=this._get(e,"prevText"),n=V?this.formatDate(n,this._daylightSavingAdjust(new Date(ee,Z-G,1)),this._getFormatConfig(e)):n,i=this._canAdjustMonth(e,-1,ee,Z)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+n+"'><span class='ui-icon ui-icon-circle-triangle-"+(W?"e":"w")+"'>"+n+"</span></a>":B?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+n+"'><span class='ui-icon ui-icon-circle-triangle-"+(W?"e":"w")+"'>"+n+"</span></a>",r=this._get(e,"nextText"),r=V?this.formatDate(r,this._daylightSavingAdjust(new Date(ee,Z+G,1)),this._getFormatConfig(e)):r,o=this._canAdjustMonth(e,1,ee,Z)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+r+"'><span class='ui-icon ui-icon-circle-triangle-"+(W?"w":"e")+"'>"+r+"</span></a>":B?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+r+"'><span class='ui-icon ui-icon-circle-triangle-"+(W?"w":"e")+"'>"+r+"</span></a>",a=this._get(e,"currentText"),s=this._get(e,"gotoCurrent")&&e.currentDay?Q:F,a=V?this.formatDate(a,s,this._getFormatConfig(e)):a,l=e.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(e,"closeText")+"</button>",u=q?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(W?l:"")+(this._isInRange(e,s)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+a+"</button>":"")+(W?"":l)+"</div>":"",c=parseInt(this._get(e,"firstDay"),10),c=isNaN(c)?0:c,d=this._get(e,"showWeek"),p=this._get(e,"dayNames"),h=this._get(e,"dayNamesMin"),f=this._get(e,"monthNames"),g=this._get(e,"monthNamesShort"),m=this._get(e,"beforeShowDay"),v=this._get(e,"showOtherMonths"),y=this._get(e,"selectOtherMonths"),b=this._getDefaultDate(e),w="",x=0;x<Y[0];x++){for(k="",this.maxRows=4,T=0;T<Y[1];T++){if(S=this._daylightSavingAdjust(new Date(ee,Z,e.selectedDay)),C=" ui-corner-all",E="",X){if(E+="<div class='ui-datepicker-group",1<Y[1])switch(T){case 0:E+=" ui-datepicker-group-first",C=" ui-corner-"+(W?"right":"left");break;case Y[1]-1:E+=" ui-datepicker-group-last",C=" ui-corner-"+(W?"left":"right");break;default:E+=" ui-datepicker-group-middle",C=""}E+="'>"}for(E+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+C+"'>"+(/all|left/.test(C)&&0===x?W?o:i:"")+(/all|right/.test(C)&&0===x?W?i:o:"")+this._generateMonthYearHeader(e,Z,ee,K,J,0<x||0<T,f,g)+"</div><table class='ui-datepicker-calendar'><thead><tr>",D=d?"<th class='ui-datepicker-week-col'>"+this._get(e,"weekHeader")+"</th>":"",_=0;_<7;_++)D+="<th scope='col'"+(5<=(_+c+6)%7?" class='ui-datepicker-week-end'":"")+">
16<span title='"+p[O=(_+c)%7]+"'>"+h[O]+"</span></th>";for(E+=D+"</tr></thead><tbody>",P=this._getDaysInMonth(ee,Z),ee===e.selectedYear&&Z===e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,P)),A=(this._getFirstDayOfMonth(ee,Z)-c+7)%7,M=Math.ceil((A+P)/7),I=X&&this.maxRows>M?this.maxRows:M,this.maxRows=I,j=this._daylightSavingAdjust(new Date(ee,Z,1-A)),N=0;N<I;N++){for(E+="<tr>",L=d?"<td class='ui-datepicker-week-col'>"+this._get(e,"calculateWeek")(j)+"</td>":"",_=0;_<7;_++)$=m?m.apply(e.input?e.input[0]:null,[j]):[!0,""],R=(H=j.getMonth()!==Z)&&!y||!$[0]||K&&j<K||J&&J<j,L+="<td class='"+(5<=(_+c+6)%7?" ui-datepicker-week-end":"")+(H?" ui-datepicker-other-month":"")+(j.getTime()===S.getTime()&&Z===e.selectedMonth&&e._keyEvent||b.getTime()===j.getTime()&&b.getTime()===S.getTime()?" "+this._dayOverClass:"")+(R?" "+this._unselectableClass+" ui-state-disabled":"")+(H&&!v?"":" "+$[1]+(j.getTime()===Q.getTime()?" "+this._currentClass:"")+(j.getTime()===F.getTime()?" ui-datepicker-today":""))+"'"+(H&&!v||!$[2]?"":" title='"+$[2].replace(/'/g,"&#39;")+"'")+(R?"":" data-handler='selectDay' data-event='click' data-month='"+j.getMonth()+"' data-year='"+j.getFullYear()+"'")+">"+(H&&!v?"&#xa0;":R?"<span class='ui-state-default'>"+j.getDate()+"</span>":"<a class='ui-state-default"+(j.getTime()===F.getTime()?" ui-state-highlight":"")+(j.getTime()===Q.getTime()?" ui-state-active":"")+(H?" ui-priority-secondary":"")+"' href='#'>"+j.getDate()+"</a>")+"</td>",j.setDate(j.getDate()+1),j=this._daylightSavingAdjust(j);E+=L+"</tr>"}11<++Z&&(Z=0,ee++),k+=E+="</tbody></table>"+(X?"</div>"+(0<Y[0]&&T===Y[1]-1?"<div class='ui-datepicker-row-break'></div>":""):"")}w+=k}return w+=u,e._keyEvent=!1,w},_generateMonthYearHeader:function(e,t,n,i,r,o,a,s){var l,u,c,d,p,h,f,g,m=this._get(e,"changeMonth"),v=this._get(e,"changeYear"),y=this._get(e,"showMonthAfterYear"),b="<div class='ui-datepicker-title'>",w="";if(o||!m)w+="<span class='ui-datepicker-month'>"+a[t]+"</span>";else{for(l=i&&i.getFullYear()===n,u=r&&r.getFullYear()===n,w+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",c=0;c<12;c++)(!l||c>=i.getMonth())&&(!u||c<=r.getMonth())&&(w+="<option value='"+c+"'"+(c===t?" selected='selected'":"")+">"+s[c]+"</option>");w+="</select>"}if(y||(b+=w+(!o&&m&&v?"":"&#xa0;")),!e.yearshtml)if(e.yearshtml="",o||!v)b+="<span class='ui-datepicker-year'>"+n+"</span>";else{for(d=this._get(e,"yearRange").split(":"),p=(new Date).getFullYear(),f=(h=function(e){var t=e.match(/c[+\-].*/)?n+parseInt(e.substring(1),10):e.match(/[+\-].*/)?p+parseInt(e,10):parseInt(e,10);return isNaN(t)?p:t})(d[0]),g=Math.max(f,h(d[1]||"")),f=i?Math.max(f,i.getFullYear()):f,g=r?Math.min(g,r.getFullYear()):g,e.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";f<=g;f++)e.yearshtml+="<option value='"+f+"'"+(f===n?" selected='selected'":"")+">"+f+"</option>";e.yearshtml+="</select>",b+=e.yearshtml,e.yearshtml=null}return b+=this._get(e,"yearSuffix"),y&&(b+=(!o&&m&&v?"":"&#xa0;")+w),b+="</div>"},_adjustInstDate:function(e,t,n){var i=e.selectedYear+("Y"===n?t:0),r=e.selectedMonth+("M"===n?t:0),o=Math.min(e.selectedDay,this._getDaysInMonth(i,r))+("D"===n?t:0),a=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(i,r,o)));e.selectedDay=a.getDate(),e.drawMonth=e.selectedMonth=a.getMonth(),e.drawYear=e.selectedYear=a.getFullYear(),"M"!==n&&"Y"!==n||this._notifyChange(e)},_restrictMinMax:function(e,t){var n=this._getMinMaxDate(e,"min"),i=this._getMinMaxDate(e,"max"),r=n&&t<n?n:t;return i&&i<r?i:r},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){var t=this._get(e,"numberOfMonths");return null==t?[1,1]:"number"==typeof t?[1,t]:t},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return new Date(e,t,1).getDay()},_canAdjustMonth:function(e,t,n,i){var r=this._getNumberOfMonths(e),o=this._daylightSavingAdjust(new Date(n,i+(t<0?t:r[0]*r[1]),1));return t<0&&o.setDate(this._getDaysInMonth(o.getFullYear(),o.getMonth())),this._isInRange(e,o)},_isInRange:function(e,t){var n,i,r=this._getMinMaxDate(e,"min"),o=this._getMinMaxDate(e,"max"),a=null,s=null,l=this._get(e,"yearRange");return l&&(n=l.split(":"),i=(new Date).getFullYear(),a=parseInt(n[0],10),s=parseInt(n[1],10),n[0].match(/[+\-].*/)&&(a+=i),n[1].match(/[+\-].*/)&&(s+=i)),(!r||t.getTime()>=r.getTime())&&(!o||t.getTime()<=o.getTime())&&(!a||t.getFullYear()>=a)&&(!s||t.getFullYear()<=s)},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return{shortYearCutoff:t="string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,n,i){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);var r=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(i,n,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),r,this._getFormatConfig(e))}}),k.fn.datepicker=function(e,t){if(!this.length)return this;k.datepicker.initialized||(k(document).on("mousedown",k.datepicker._checkExternalClick),k.datepicker.initialized=!0),0===k("#"+k.datepicker._mainDivId).length&&k("body").append(k.datepicker.dpDiv);
vendor: 27,870 bytes, lines 16-17
16var n=Array.prototype.slice.call(arguments,1);return"string"!=typeof e||"isDisabled"!==e&&"getDate"!==e&&"widget"!==e?"option"===e&&2===arguments.length&&"string"==typeof t?k.datepicker["_"+e+"Datepicker"].apply(k.datepicker,[this[0]].concat(n)):this.each(function(){"string"==typeof e?k.datepicker["_"+e+"Datepicker"].apply(k.datepicker,[this].concat(n)):k.datepicker._attachDatepicker(this,e)}):k.datepicker["_"+e+"Datepicker"].apply(k.datepicker,[this[0]].concat(n))},k.datepicker=new e,k.datepicker.initialized=!1,k.datepicker.uuid=(new Date).getTime(),k.datepicker.version="1.12.1",k.datepicker}),function(e){"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}(function(c){var o,n=0,s=Array.prototype.slice;return c.cleanData=(o=c.cleanData,function(e){var t,n,i;for(i=0;null!=(n=e[i]);i++)try{(t=c._data(n,"events"))&&t.remove&&c(n).triggerHandler("remove")}catch(r){}o(e)}),c.widget=function(e,n,t){var i,r,o,a={},s=e.split(".")[0],l=s+"-"+(e=e.split(".")[1]);return t||(t=n,n=c.Widget),c.isArray(t)&&(t=c.extend.apply(null,[{}].concat(t))),c.expr[":"][l.toLowerCase()]=function(e){return!!c.data(e,l)},c[s]=c[s]||{},i=c[s][e],r=c[s][e]=function(e,t){if(!this._createWidget)return new r(e,t);arguments.length&&this._createWidget(e,t)},c.extend(r,i,{version:t.version,_proto:c.extend({},t),_childConstructors:[]}),(o=new n).options=c.widget.extend({},o.options),c.each(t,function(t,o){c.isFunction(o)?a[t]=function(){function i(){return n.prototype[t].apply(this,arguments)}function r(e){return n.prototype[t].apply(this,e)}return function(){var e,t=this._super,n=this._superApply;return this._super=i,this._superApply=r,e=o.apply(this,arguments),this._super=t,this._superApply=n,e}}():a[t]=o}),r.prototype=c.widget.extend(o,{widgetEventPrefix:i&&o.widgetEventPrefix||e},a,{constructor:r,namespace:s,widgetName:e,widgetFullName:l}),i?(c.each(i._childConstructors,function(e,t){var n=t.prototype;c.widget(n.namespace+"."+n.widgetName,r,t._proto)}),delete i._childConstructors):n._childConstructors.push(r),c.widget.bridge(e,r),r},c.widget.extend=function(e){for(var t,n,i=s.call(arguments,1),r=0,o=i.length;r<o;r++)for(t in i[r])n=i[r][t],i[r].hasOwnProperty(t)&&n!==undefined&&(c.isPlainObject(n)?e[t]=c.isPlainObject(e[t])?c.widget.extend({},e[t],n):c.widget.extend({},n):e[t]=n);return e},c.widget.bridge=function(o,t){var a=t.prototype.widgetFullName||o;c.fn[o]=function(n){var e="string"==typeof n,i=s.call(arguments,1),r=this;return e?this.length||"instance"!==n?this.each(function(){var e,t=c.data(this,a);return"instance"===n?(r=t,!1):t?c.isFunction(t[n])&&"_"!==n.charAt(0)?(e=t[n].apply(t,i))!==t&&e!==undefined?(r=e&&e.jquery?r.pushStack(e.get()):e,!1):void 0:c.error("no such method '"+n+"' for "+o+" widget instance"):c.error("cannot call methods on "+o+" prior to initialization; attempted to call method '"+n+"'")}):r=undefined:(i.length&&(n=c.widget.extend.apply(null,[n].concat(i))),this.each(function(){var e=c.data(this,a);e?(e.option(n||{}),e._init&&e._init()):c.data(this,a,new t(n,this))})),r}},c.Widget=function(){},c.Widget._childConstructors=[],c.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,t){t=c(t||this.defaultElement||this)[0],this.element=c(t),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=c(),this.hoverable=c(),this.focusable=c(),this.classesElementLookup={},t!==this&&(c.data(t,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===t&&this.destroy()}}),this.document=c(t.style?t.ownerDocument:t.document||t),this.window=c(this.document[0].defaultView||this.document[0].parentWindow)),this.options=c.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:c.noop,_create:c.noop,_init:c.noop,destroy:function(){var n=this;this._destroy(),c.each(this.classesElementLookup,function(e,t){n._removeClass(t,e)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:c.noop,widget:function(){return this.element},option:function(e,t){var n,i,r,o=e;if(0===arguments.length)return c.widget.extend({},this.options);if("string"==typeof e)if(o={},e=(n=e.split(".")).shift(),n.length){for(i=o[e]=c.widget.extend({},this.options[e]),r=0;r<n.length-1;r++)i[n[r]]=i[n[r]]||{},i=i[n[r]];if(e=n.pop(),1===arguments.length)return i[e]===undefined?null:i[e];i[e]=t}else{if(1===arguments.length)return this.options[e]===undefined?null:this.options[e];o[e]=t}return this._setOptions(o),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(e){var t,n,i;for(t in e)i=this.classesElementLookup[t],e[t]!==this.options.classes[t]&&i&&i.length&&(n=c(i.get()),this._removeClass(i,t),n.addClass(this._classes({element:n,keys:t,classes:e,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(r){function e(e,t){var n,i;for(i=0;i<e.length;i++)n=a.classesElementLookup[e[i]]||c(),n=r.add?c(c.unique(n.get().concat(r.element.get()))):c(n.not(r.element).get()),a.classesElementLookup[e[i]]=n,o.push(e[i]),t&&r.classes[e[i]]&&o.push(r.classes[e[i]])}var o=[],a=this;return r=c.extend({element:this.element,classes:this.options.classes||{}},r),this._on(r.element,{remove:"_untrackClassesElement"}),r.keys&&e(r.keys.match(/\S+/g)||[],!0),r.extra&&e(r.extra.match(/\S+/g)||[]),o.join(" ")},_untrackClassesElement:function(n){var i=this;c.each(i.classesElementLookup,function(e,t){-1!==c.inArray(n.target,t)&&(i.classesElementLookup[e]=c(t.not(n.target).get()))})},_removeClass:function(e,t,n){return this._toggleClass(e,t,n,!1)},_addClass:function(e,t,n){return this._toggleClass(e,t,n,!0)},_toggleClass:function(e,t,n,i){i="boolean"==typeof i?i:n;var r="string"==typeof e||null===e,o={extra:r?t:n,keys:r?e:t,element:r?this.element:e,add:i};return o.element.toggleClass(this._classes(o),i),this},_on:function(a,s,e){var l,u=this;"boolean"!=typeof a&&(e=s,s=a,a=!1),e?(s=l=c(s),this.bindings=this.bindings.add(s)):(e=s,s=this.element,l=this.widget()),c.each(e,function(e,t){function n(){if(a||!0!==u.options.disabled&&!c(this).hasClass("ui-state-disabled"))return("string"==typeof t?u[t]:t).apply(u,arguments)}"string"!=typeof t&&(n.guid=t.guid=t.guid||n.guid||c.guid++);var i=e.match(/^([\w:-]*)\s*(.*)$/),r=i[1]+u.eventNamespace,o=i[2];o?l.on(r,o,n):s.on(r,n)})},_off:function(e,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(t).off(t),this.bindings=c(this.bindings.not(e).get()),this.focusable=c(this.focusable.not(e).get()),this.hoverable=c(this.hoverable.not(e).get())},_delay:function(e,t){function n(){return("string"==typeof e?i[e]:e).apply(i,arguments)}var i=this;return setTimeout(n,t||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(c(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(c(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(c(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(c(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,t,n){var i,r,o=this.options[e];if(n=n||{},(t=c.Event(t)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),t.target=this.element[0],r=t.originalEvent)for(i in r)i in t||(t[i]=r[i]);return this.element.trigger(t,n),!(c.isFunction(o)&&!1===o.apply(this.element[0],[t].concat(n))||t.isDefaultPrevented())}},c.each({show:"fadeIn",hide:"fadeOut"},function(o,a){c.Widget.prototype["_"+o]=function(t,e,n){var i;"string"==typeof e&&(e={effect:e});var r=e?!0===e||"number"==typeof e?a:e.effect||a:o;"number"==typeof(e=e||{})&&(e={duration:e}),i=!c.isEmptyObject(e),e.complete=n,e.delay&&t.delay(e.delay),i&&c.effects&&c.effects.effect[r]?t[o](e):r!==o&&t[r]?t[r](e.duration,e.easing,n):t.queue(function(e){c(this)[o](),n&&n.call(t[0]),e()})}}),c.widget}),function(e){"function"==typeof define&&define.amd?define(["jquery","../widget"],e):e(jQuery)}(function(l){var o=/ui-corner-([a-z]){2,6}/g;return l.widget("ui.controlgroup",{version:"1.12.1",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var a=this,s=[];l.each(this.options.items,function(r,e){var t,o={};if(e)return"controlgroupLabel"===r?((t=a.element.find(e)).each(function(){var e=l(this);e.children(".ui-controlgroup-label-contents").length||e.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")}),a._addClass(t,null,"ui-widget ui-widget-content ui-state-default"),void(s=s.concat(t.get()))):void(l.fn[r]&&(o=a["_"+r+"Options"]?a["_"+r+"Options"]("middle"):{classes:{}},a.element.find(e).each(function(){var e=l(this),t=e[r]("instance"),n=l.widget.extend({},o);if("button"!==r||!e.parent(".ui-spinner").length){t||(t=e[r]()[r]("instance")),t&&(n.classes=a._resolveClassesValues(n.classes,t)),e[r](n);var i=e[r]("widget");l.data(i[0],"ui-controlgroup-data",t||e[r]("instance")),s.push(i[0])}})))}),this.childWidgets=l(l.unique(s)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(t){this.childWidgets.each(function(){var e=l(this).data("ui-controlgroup-data");e&&e[t]&&e[t]()})},_updateCornerClass:function(e,t){var n="ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all",i=this._buildSimpleOptions(t,"label").classes.label;this._removeClass(e,null,n),this._addClass(e,null,i)},_buildSimpleOptions:function(e,t){var n="vertical"===this.options.direction,i={classes:{}};return i.classes[t]={middle:"",first:"ui-corner-"+(n?"top":"left"),last:"ui-corner-"+(n?"bottom":"right"),only:"ui-corner-all"}[e],i},_spinnerOptions:function(e){var t=this._buildSimpleOptions(e,"ui-spinner");return t.classes["ui-spinner-up"]="",t.classes["ui-spinner-down"]="",t},_buttonOptions:function(e){return this._buildSimpleOptions(e,"ui-button")},_checkboxradioOptions:function(e){return this._buildSimpleOptions(e,"ui-checkboxradio-label")},_selectmenuOptions:function(e){var t="vertical"===this.options.direction;return{width:!!t&&"auto",classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(t?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(t?"top":"left")},last:{"ui-selectmenu-button-open":t?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(t?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[e]}},_resolveClassesValues:function(n,i){var r={};return l.each(n,function(e){var t=i.options.classes[e]||"";t=l.trim(t.replace(o,"")),r[e]=(t+" "+n[e]).replace(/\s+/g," ")}),r},_setOption:function(e,t){"direction"===e&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(e,t),"disabled"!==e?this.refresh():this._callChildMethod(t?"disable":"enable")},refresh:function(){var r,o=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),r=this.childWidgets,this.options.onlyVisible&&(r=r.filter(":visible")),r.length&&(l.each(["first","last"],function(e,t){var n=r[t]().data("ui-controlgroup-data");if(n&&o["_"+n.widgetName+"Options"]){var i=o["_"+n.widgetName+"Options"](1===r.length?"only":t);i.classes=o._resolveClassesValues(i.classes,n),n.element[n.widgetName](i)}else o._updateCornerClass(r[t](),t)}),this._callChildMethod("refresh"))}})}),function(e){"function"==typeof define&&define.amd?define(["jquery","../widget"],e):e(jQuery)}(function(l){var o=/ui-corner-([a-z]){2,6}/g;return l.widget("ui.controlgroup",{version:"1.12.1",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var a=this,s=[];l.each(this.options.items,function(r,e){var t,o={};if(e)return"controlgroupLabel"===r?((t=a.element.find(e)).each(function(){var e=l(this);e.children(".ui-controlgroup-label-contents").length||e.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")}),a._addClass(t,null,"ui-widget ui-widget-content ui-state-default"),void(s=s.concat(t.get()))):void(l.fn[r]&&(o=a["_"+r+"Options"]?a["_"+r+"Options"]("middle"):{classes:{}},a.element.find(e).each(function(){var e=l(this),t=e[r]("instance"),n=l.widget.extend({},o);if("button"!==r||!e.parent(".ui-spinner").length){t||(t=e[r]()[r]("instance")),t&&(n.classes=a._resolveClassesValues(n.classes,t)),e[r](n);var i=e[r]("widget");l.data(i[0],"ui-controlgroup-data",t||e[r]("instance")),s.push(i[0])}})))}),this.childWidgets=l(l.unique(s)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(t){this.childWidgets.each(function(){var e=l(this).data("ui-controlgroup-data");e&&e[t]&&e[t]()})},_updateCornerClass:function(e,t){var n="ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all",i=this._buildSimpleOptions(t,"label").classes.label;this._removeClass(e,null,n),this._addClass(e,null,i)},_buildSimpleOptions:function(e,t){var n="vertical"===this.options.direction,i={classes:{}};return i.classes[t]={middle:"",first:"ui-corner-"+(n?"top":"left"),last:"ui-corner-"+(n?"bottom":"right"),only:"ui-corner-all"}[e],i},_spinnerOptions:function(e){var t=this._buildSimpleOptions(e,"ui-spinner");return t.classes["ui-spinner-up"]="",t.classes["ui-spinner-down"]="",t},_buttonOptions:function(e){return this._buildSimpleOptions(e,"ui-button")},_checkboxradioOptions:function(e){return this._buildSimpleOptions(e,"ui-checkboxradio-label")},_selectmenuOptions:function(e){var t="vertical"===this.options.direction;return{width:!!t&&"auto",classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(t?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(t?"top":"left")},last:{"ui-selectmenu-button-open":t?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(t?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[e]}},_resolveClassesValues:function(n,i){var r={};return l.each(n,function(e){var t=i.options.classes[e]||"";t=l.trim(t.replace(o,"")),r[e]=(t+" "+n[e]).replace(/\s+/g," ")}),r},_setOption:function(e,t){"direction"===e&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(e,t),"disabled"!==e?this.refresh():this._callChildMethod(t?"disable":"enable")},refresh:function(){var r,o=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),r=this.childWidgets,this.options.onlyVisible&&(r=r.filter(":visible")),r.length&&(l.each(["first","last"],function(e,t){var n=r[t]().data("ui-controlgroup-data");if(n&&o["_"+n.widgetName+"Options"]){var i=o["_"+n.widgetName+"Options"](1===r.length?"only":t);i.classes=o._resolveClassesValues(i.classes,n),n.element[n.widgetName](i)}else o._updateCornerClass(r[t](),t)}),this._callChildMethod("refresh"))}})}),function(e){"function"==typeof define&&define.amd?define(["jquery","./controlgroup","./checkboxradio","../keycode","../widget"],e):e(jQuery)}(function(o){var e;return o.widget("ui.button",{version:"1.12.1",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var e,t=this._super()||{};return this.isInput=this.element.is("input"),null!=(e=this.element[0].disabled)&&(t.disabled=e),this.originalLabel=this.isInput?this.element.val():this.element.html(),this.originalLabel&&(t.label=this.originalLabel),t},_create:function(){!this.option.showLabel&!this.options.icon&&(this.options.showLabel=!0),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled||!1),this.hasTitle=!!this.element.attr("title"),this.options.label&&this.options.label!==this.originalLabel&&(this.isInput?this.element.val(this.options.label):this.element.html(this.options.label)),this._addClass("ui-button","ui-widget"),this._setOption("disabled",this.options.disabled),this._enhance(),this.element.is("a")&&this._on({keyup:function(e){e.keyCode===o.ui.keyCode.SPACE&&(e.preventDefault(),this.element[0].click?this.element[0].click():this.element.trigger("click"))}})},_enhance:function(
17){this.element.is("button")||this.element.attr("role","button"),this.options.icon&&(this._updateIcon("icon",this.options.icon),this._updateTooltip())},_updateTooltip:function(){this.title=this.element.attr("title"),this.options.showLabel||this.title||this.element.attr("title",this.options.label)},_updateIcon:function(e,t){var n="iconPosition"!==e,i=n?this.options.iconPosition:t,r="top"===i||"bottom"===i;this.icon?n&&this._removeClass(this.icon,null,this.options.icon):(this.icon=o("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only")),n&&this._addClass(this.icon,null,t),this._attachIcon(i),r?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconSpace||(this.iconSpace=o("<span> </span>"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(i))},_destroy:function(){this.element.removeAttr("role"),this.icon&&this.icon.remove(),this.iconSpace&&this.iconSpace.remove(),this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(e){this.icon[/^(?:end|bottom)/.test(e)?"before":"after"](this.iconSpace)},_attachIcon:function(e){this.element[/^(?:end|bottom)/.test(e)?"append":"prepend"](this.icon)},_setOptions:function(e){var t=e.showLabel===undefined?this.options.showLabel:e.showLabel,n=e.icon===undefined?this.options.icon:e.icon;t||n||(e.showLabel=!0),this._super(e)},_setOption:function(e,t){"icon"===e&&(t?this._updateIcon(e,t):this.icon&&(this.icon.remove(),this.iconSpace&&this.iconSpace.remove())),"iconPosition"===e&&this._updateIcon(e,t),"showLabel"===e&&(this._toggleClass("ui-button-icon-only",null,!t),this._updateTooltip()),"label"===e&&(this.isInput?this.element.val(t):(this.element.html(t),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition)))),this._super(e,t),"disabled"===e&&(this._toggleClass(null,"ui-state-disabled",t),(this.element[0].disabled=t)&&this.element.blur())},refresh:function(){var e=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");e!==this.options.disabled&&this._setOptions({disabled:e}),this._updateTooltip()}}),!1!==o.uiBackCompat&&(o.widget("ui.button",o.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text),!this.options.showLabel&&this.options.text&&(this.options.text=this.options.showLabel),this.options.icon||!this.options.icons.primary&&!this.options.icons.secondary?this.options.icon&&(this.options.icons.primary=this.options.icon):this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,this.options.iconPosition="end"),this._super()},_setOption:function(e,t){"text"!==e?("showLabel"===e&&(this.options.text=t),"icon"===e&&(this.options.icons.primary=t),"icons"===e&&(t.primary?(this._super("icon",t.primary),this._super("iconPosition","beginning")):t.secondary&&(this._super("icon",t.secondary),this._super("iconPosition","end"))),this._superApply(arguments)):this._super("showLabel",t)}}),o.fn.button=(e=o.fn.button,function(){return!this.length||this.length&&"INPUT"!==this[0].tagName||this.length&&"INPUT"===this[0].tagName&&"checkbox"!==this.attr("type")&&"radio"!==this.attr("type")?e.apply(this,arguments):(o.ui.checkboxradio||o.error("Checkboxradio widget missing"),0===arguments.length?this.checkboxradio({icon:!1}):this.checkboxradio.apply(this,arguments))}),o.fn.buttonset=function(e,t,n){return o.ui.controlgroup||o.error("Controlgroup widget missing"),"option"===e&&"items"===t&&n?this.controlgroup.apply(this,[e,"items.button",n]):"option"===e&&"items"===t?this.controlgroup.apply(this,[e,"items.button"]):("object"==typeof e&&e.items&&(e.items={button:e.items}),this.controlgroup.apply(this,arguments))}),o.ui.button}),function(e){"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}(function(e){return e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase())}),function(e){"function"==typeof define&&define.amd?define(["jquery","../ie","../version","../widget"],e):e(jQuery)}(function(r){var o=!1;return r(document).on("mouseup",function(){o=!1}),r.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).on("click."+this.widgetName,function(e){if(!0===r.data(e.target,t.widgetName+".preventClickEvent"))return r.removeData(e.target,t.widgetName+".preventClickEvent"),e.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!o){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var t=this,n=1===e.which,i=!("string"!=typeof this.options.cancel||!e.target.nodeName)&&r(e.target).closest(this.options.cancel).length;return!(n&&!i&&this._mouseCapture(e))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){t.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(e),!this._mouseStarted)?(e.preventDefault(),!0):(!0===r.data(e.target,this.widgetName+".preventClickEvent")&&r.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return t._mouseMove(e)},this._mouseUpDelegate=function(e){return t._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),o=!0))}},_mouseMove:function(e){if(this._mouseMoved){if(r.ui.ie&&(!document.documentMode||document.documentMode<9)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&r.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,o=!1,e.preventDefault()},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})}),function(e){"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}(function(i){return i.extend(i.expr[":"],{data:i.expr.createPseudo?i.expr.createPseudo(function(t){return function(e){return!!i.data(e,t)}}):function(e,t,n){return!!i.data(e,n[3])}})}),function(e){"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}(function(o){return o.ui.plugin={add:function(e,t,n){var i,r=o.ui[e].prototype;for(i in n)r.plugins[i]=r.plugins[i]||[],r.plugins[i].push([t,n[i]])},call:function(e,t,n,i){var r,o=e.plugins[t];if(o&&(i||e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType))for(r=0;r<o.length;r++)e.options[o[r][0]]&&o[r][1].apply(e.element,n)}}}),function(e){"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}(function(e){return e.ui.safeActiveElement=function(e){var t;try{t=e.activeElement}catch(n){t=e.body}return t||(t=e.body),t.nodeName||(t=e.body),t}}),function(e){"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}(function(t){return t.ui.safeBlur=function(e){e&&"body"!==e.nodeName.toLowerCase()&&t(e).trigger("blur")}}),function(e){"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}(function(o){return o.fn.scrollParent=function(e){var t=this.css("position"),n="absolute"===t,i=e?/(auto|scroll|hidden)/:/(auto|scroll)/,r=this.parents().filter(function(){var e=o(this);return(!n||"static"!==e.css("position"))&&i.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==t&&r.length?r:o(this[0].ownerDocument||document)}}),function(e){"function"==typeof define&&define.amd?define(["jquery","./mouse","../data","../plugin","../safe-active-element","../safe-blur","../scroll-parent","../version","../widget"],e):e(jQuery)}(function(b){return b.widget("ui.draggable",b.ui.mouse,{version:"1.12.1",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,
vendor: 5,192 bytes, line 17
17containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(e,t){this._super(e,t),"handle"===e&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){(this.helper||this.element).is(".ui-draggable-dragging")?this.destroyOnClear=!0:(this._removeHandleClassName(),this._mouseDestroy())},_mouseCapture:function(e){var t=this.options;return!(this.helper||t.disabled||0<b(e.target).closest(".ui-resizable-handle").length)&&(this.handle=this._getHandle(e),!!this.handle&&(this._blurActiveElement(e),this._blockFrames(!0===t.iframeFix?"iframe":t.iframeFix),!0))},_blockFrames:function(e){this.iframeBlocks=this.document.find(e).map(function(){var e=b(this);return b("<div>").css("position","absolute").appendTo(e.parent()).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(e){var t=b.ui.safeActiveElement(this.document[0]);b(e.target).closest(t).length||b.ui.safeBlur(t)},_mouseStart:function(e){var t=this.options;return this.helper=this._createHelper(e),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),b.ui.ddmanager&&(b.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=0<this.helper.parents().filter(function(){return"fixed"===b(this).css("position")}).length,this.positionAbs=this.element.offset(),this._refreshOffsets(e),this.originalPosition=this.position=this._generatePosition(e,!1),this.originalPageX=e.pageX,this.originalPageY=e.pageY,t.cursorAt&&this._adjustOffsetFromHelper(t.cursorAt),this._setContainment(),!1===this._trigger("start",e)?(this._clear(),!1):(this._cacheHelperProportions(),b.ui.ddmanager&&!t.dropBehaviour&&b.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),b.ui.ddmanager&&b.ui.ddmanager.dragStart(this,e),!0)},_refreshOffsets:function(e){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:e.pageX-this.offset.left,top:e.pageY-this.offset.top}},_mouseDrag:function(e,t){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e,!0),this.positionAbs=this._convertPositionTo("absolute"),!t){var n=this._uiHash();if(!1===this._trigger("drag",e,n))return this._mouseUp(new b.Event("mouseup",e)),!1;this.position=n.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",b.ui.ddmanager&&b.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var t=this,n=!1;return b.ui.ddmanager&&!this.options.dropBehaviour&&(n=b.ui.ddmanager.drop(this,e)),this.dropped&&(n=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!n||"valid"===this.options.revert&&n||!0===this.options.revert||b.isFunction(this.options.revert)&&this.options.revert.call(this.element,n)?b(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==t._trigger("stop",e)&&t._clear()}):!1!==this._trigger("stop",e)&&this._clear(),!1},_mouseUp:function(e){return this._unblockFrames(),b.ui.ddmanager&&b.ui.ddmanager.dragStop(this,e),this.handleElement.is(e.target)&&this.element.trigger("focus"),b.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new b.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(e){return!this.options.handle||!!b(e.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(e){var t=this.options,n=b.isFunction(t.helper),i=n?b(t.helper.apply(this.element[0],[e])):"clone"===t.helper?this.element.clone().removeAttr("id"):this.element;return i.parents("body").length||i.appendTo("parent"===t.appendTo?this.element[0].parentNode:t.appendTo),n&&i[0]===this.element[0]&&this._setPositionRelative(),i[0]===this.element[0]||/(fixed|absolute)/.test(i.css("position"))||i.css("position","absolute"),i},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),b.isArray(e)&&(e={left:+e[0],top:+e[1]||0}
vendor: 4,612 bytes, line 17
17),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_isRootNode:function(e){return/(html|body)/i.test(e.tagName)||e===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),t=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==t&&b.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var e=this.element.position(),t=this._isRootNode(this.scrollParent[0]);return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+(t?0:this.scrollParent.scrollTop()),left:e.left-(parseInt(this.helper.css("left"),10)||0)+(t?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,t,n,i=this.options,r=this.document[0];this.relativeContainer=null,i.containment?"window"!==i.containment?"document"!==i.containment?i.containment.constructor!==Array?("parent"===i.containment&&(i.containment=this.helper[0].parentNode),(n=(t=b(i.containment))[0])&&(e=/(scroll|auto)/.test(t.css("overflow")),this.containment=[(parseInt(t.css("borderLeftWidth"),10)||0)+(parseInt(t.css("paddingLeft"),10)||0),(parseInt(t.css("borderTopWidth"),10)||0)+(parseInt(t.css("paddingTop"),10)||0),(e?Math.max(n.scrollWidth,n.offsetWidth):n.offsetWidth)-(parseInt(t.css("borderRightWidth"),10)||0)-(parseInt(t.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(n.scrollHeight,n.offsetHeight):n.offsetHeight)-(parseInt(t.css("borderBottomWidth"),10)||0)-(parseInt(t.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=t)):this.containment=i.containment:this.containment=[0,0,b(r).width()-this.helperProportions.width-this.margins.left,(b(r).height()||r.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=[b(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,b(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,b(window).scrollLeft()+b(window).width()-this.helperProportions.width-this.margins.left,b(window).scrollTop()+(b(window).height()||r.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=null},_convertPositionTo:function(e,t){t||(t=this.position);var n="absolute"===e?1:-1,i=this._isRootNode(this.scrollParent[0]);return{top:t.top+this.offset.relative.top*n+this.offset.parent.top*n-("fixed"===this.cssPosition?-this.offset.scroll.top:i?0:this.offset.scroll.top)*n,left:t.left+this.offset.relative.left*n+this.offset.parent.left*n-("fixed"===this.cssPosition?-this.offset.scroll.left:i?0:this.offset.scroll.left)*n}},_generatePosition:function(e,t){var n,i,r,o,a=this.options,s=this._isRootNode(this.scrollParent[0]),l=e.pageX,u=e.pageY;return s&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),t&&(this.containment&&(this.relativeContainer?(i=this.relativeContainer.offset(),n=[this.containment[0]+i.left,this.containment[1]+i.top,this.containment[2]+i.left,this.containment[3]+i.top]):n=this.containment,e.pageX-this.offset.click.left<n[0]&&(l=n[0]+this.offset.click.left),e.pageY-this.offset.click.top<n[1]&&(u=n[1]+this.offset.click.top),e.pageX-this.offset.click.left>n[2]&&(l=n[2]+this.offset.click.left),e.pageY-this.offset.click.top>n[3]&&(u=n[3]+this.offset.click.top)),a.grid&&(r=a.grid[1]?this.originalPageY+Math.round((u-this.originalPageY)/a.grid[1])*a.grid[1]:this.originalPageY,u=n?r-this.offset.click.top>=n[1]||r-this.offset.click.top>n[3]?r:r-this.offset.click.top>=n[1]?r-a.grid[1]:r+a.grid[1]:r,o=a.grid[0]?this.originalPageX+Math.round((l-this.originalPageX)
vendor: 5,728 bytes, line 17
17/a.grid[0])*a.grid[0]:this.originalPageX,l=n?o-this.offset.click.left>=n[0]||o-this.offset.click.left>n[2]?o:o-this.offset.click.left>=n[0]?o-a.grid[0]:o+a.grid[0]:o),"y"===a.axis&&(l=this.originalPageX),"x"===a.axis&&(u=this.originalPageY)),{top:u-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:s?0:this.offset.scroll.top),left:l-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:s?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(e,t,n){return n=n||this._uiHash(),b.ui.plugin.call(this,e,[t,n,this],!0),/^(drag|start|stop)/.test(e)&&(this.positionAbs=this._convertPositionTo("absolute"),n.offset=this.positionAbs),b.Widget.prototype._trigger.call(this,e,t,n)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),b.ui.plugin.add("draggable","connectToSortable",{start:function(t,e,n){var i=b.extend({},e,{item:n.element});n.sortables=[],b(n.options.connectToSortable).each(function(){var e=b(this).sortable("instance");e&&!e.options.disabled&&(n.sortables.push(e),e.refreshPositions(),e._trigger("activate",t,i))})},stop:function(t,e,n){var i=b.extend({},e,{item:n.element});n.cancelHelperRemoval=!1,b.each(n.sortables,function(){var e=this;e.isOver?(e.isOver=0,n.cancelHelperRemoval=!0,e.cancelHelperRemoval=!1,e._storedCSS={position:e.placeholder.css("position"),top:e.placeholder.css("top"),left:e.placeholder.css("left")},e._mouseStop(t),e.options.helper=e.options._helper):(e.cancelHelperRemoval=!0,e._trigger("deactivate",t,i))})},drag:function(n,i,r){b.each(r.sortables,function(){var e=!1,t=this;t.positionAbs=r.positionAbs,t.helperProportions=r.helperProportions,t.offset.click=r.offset.click,t._intersectsWith(t.containerCache)&&(e=!0,b.each(r.sortables,function(){return this.positionAbs=r.positionAbs,this.helperProportions=r.helperProportions,this.offset.click=r.offset.click,this!==t&&this._intersectsWith(this.containerCache)&&b.contains(t.element[0],this.element[0])&&(e=!1),e})),e?(t.isOver||(t.isOver=1,r._parent=i.helper.parent(),t.currentItem=i.helper.appendTo(t.element).data("ui-sortable-item",!0),t.options._helper=t.options.helper,t.options.helper=function(){return i.helper[0]},n.target=t.currentItem[0],t._mouseCapture(n,!0),t._mouseStart(n,!0,!0),t.offset.click.top=r.offset.click.top,t.offset.click.left=r.offset.click.left,t.offset.parent.left-=r.offset.parent.left-t.offset.parent.left,t.offset.parent.top-=r.offset.parent.top-t.offset.parent.top,r._trigger("toSortable",n),r.dropped=t.element,b.each(r.sortables,function(){this.refreshPositions()}),r.currentItem=r.element,t.fromOutside=r),t.currentItem&&(t._mouseDrag(n),i.position=t.position)):t.isOver&&(t.isOver=0,t.cancelHelperRemoval=!0,t.options._revert=t.options.revert,t.options.revert=!1,t._trigger("out",n,t._uiHash(t)),t._mouseStop(n,!0),t.options.revert=t.options._revert,t.options.helper=t.options._helper,t.placeholder&&t.placeholder.remove(),i.helper.appendTo(r._parent),r._refreshOffsets(n),i.position=r._generatePosition(n,!0),r._trigger("fromSortable",n),r.dropped=!1,b.each(r.sortables,function(){this.refreshPositions()}))})}}),b.ui.plugin.add("draggable","cursor",{start:function(e,t,n){var i=b("body"),r=n.options;i.css("cursor")&&(r._cursor=i.css("cursor")),i.css("cursor",r.cursor)},stop:function(e,t,n){var i=n.options;i._cursor&&b("body").css("cursor",i._cursor)}}),b.ui.plugin.add("draggable","opacity",{start:function(e,t,n){var i=b(t.helper),r=n.options;i.css("opacity")&&(r._opacity=i.css("opacity")),i.css("opacity",r.opacity)},stop:function(e,t,n){var i=n.options;i._opacity&&b(t.helper).css("opacity",i._opacity)}}),b.ui.plugin.add("draggable","scroll",{start:function(e,t,n){n.scrollParentNotHidden||(n.scrollParentNotHidden=n.helper.scrollParent(!1)),n.scrollParentNotHidden[0]!==n.document[0]&&"HTML"!==n.scrollParentNotHidden[0].tagName&&(n.overflowOffset=n.scrollParentNotHidden.offset())},drag:function(e,t,n){var i=n.options,r=!1,o=n.scrollParentNotHidden[0],a=n.document[0];o!==a&&"HTML"!==o.tagName?(i.axis&&"x"===i.axis||(n.overflowOffset.top+o.offsetHeight-e.pageY<i.scrollSensitivity?o.scrollTop=r=o.scrollTop+i.scrollSpeed:e.pageY-n.overflowOffset.top<i.scrollSensitivity&&(o.scrollTop=r=o.scrollTop-i.scrollSpeed)),i.axis&&"y"===i.axis||(n.overflowOffset.left+o.offsetWidth-e.pageX<i.scrollSensitivity?o.scrollLeft=r=o.scrollLeft+i.scrollSpeed:e.pageX-n.overflowOffset.left<i.scrollSensitivity&&(o.scrollLeft=r=o.scrollLeft-i.scrollSpeed))):(i.axis&&"x"===i.axis||(e.pageY-b(a).scrollTop()<i.scrollSensitivity?r=b(a).scrollTop(b(a).scrollTop()-i.scrollSpeed):b(window).height()-(e.pageY-b(a).scrollTop())<i.scrollSensitivity&&(r=b(a).scrollTop(b(a).scrollTop()+i.scrollSpeed))),i.axis&&"y"===i.axis||(e.pageX-b(a).scrollLeft()<i.scrollSensitivity?r=b(a).scrollLeft(b(a).scrollLeft()-i.scrollSpeed):b(window).width()-(e.pageX-b(a).scrollLeft())<i.scrollSensitivity&&(r=b(a).scrollLeft(b(a).scrollLeft()+i.scrollSpeed)))),!1!==r&&b.ui.ddmanager&&!i.dropBehaviour&&b.ui.ddmanager.prepareOffsets(n,e)}}),b.ui.plugin.add("draggable","snap",{start:function(e,t,n){var i=n.options;n.snapElements=[],b(i.snap.constructor!==String?i.snap.items||":data(ui-draggable)":i.snap).each(function(){var e=b(this),t=e.offset();this!==n.element[0]&&n.snapElements.push({item:this,width:e.outerWidth(),height:e.outerHeight(),top:t.top,left
vendor: 6,925 bytes, line 17
17:t.left})})},drag:function(e,t,n){var i,r,o,a,s,l,u,c,d,p,h=n.options,f=h.snapTolerance,g=t.offset.left,m=g+n.helperProportions.width,v=t.offset.top,y=v+n.helperProportions.height;for(d=n.snapElements.length-1;0<=d;d--)l=(s=n.snapElements[d].left-n.margins.left)+n.snapElements[d].width,c=(u=n.snapElements[d].top-n.margins.top)+n.snapElements[d].height,m<s-f||l+f<g||y<u-f||c+f<v||!b.contains(n.snapElements[d].item.ownerDocument,n.snapElements[d].item)?(n.snapElements[d].snapping&&n.options.snap.release&&n.options.snap.release.call(n.element,e,b.extend(n._uiHash(),{snapItem:n.snapElements[d].item})),n.snapElements[d].snapping=!1):("inner"!==h.snapMode&&(i=Math.abs(u-y)<=f,r=Math.abs(c-v)<=f,o=Math.abs(s-m)<=f,a=Math.abs(l-g)<=f,i&&(t.position.top=n._convertPositionTo("relative",{top:u-n.helperProportions.height,left:0}).top),r&&(t.position.top=n._convertPositionTo("relative",{top:c,left:0}).top),o&&(t.position.left=n._convertPositionTo("relative",{top:0,left:s-n.helperProportions.width}).left),a&&(t.position.left=n._convertPositionTo("relative",{top:0,left:l}).left)),p=i||r||o||a,"outer"!==h.snapMode&&(i=Math.abs(u-v)<=f,r=Math.abs(c-y)<=f,o=Math.abs(s-g)<=f,a=Math.abs(l-m)<=f,i&&(t.position.top=n._convertPositionTo("relative",{top:u,left:0}).top),r&&(t.position.top=n._convertPositionTo("relative",{top:c-n.helperProportions.height,left:0}).top),o&&(t.position.left=n._convertPositionTo("relative",{top:0,left:s}).left),a&&(t.position.left=n._convertPositionTo("relative",{top:0,left:l-n.helperProportions.width}).left)),!n.snapElements[d].snapping&&(i||r||o||a||p)&&n.options.snap.snap&&n.options.snap.snap.call(n.element,e,b.extend(n._uiHash(),{snapItem:n.snapElements[d].item})),n.snapElements[d].snapping=i||r||o||a||p)}}),b.ui.plugin.add("draggable","stack",{start:function(e,t,n){var i,r=n.options,o=b.makeArray(b(r.stack)).sort(function(e,t){return(parseInt(b(e).css("zIndex"),10)||0)-(parseInt(b(t).css("zIndex"),10)||0)});o.length&&(i=parseInt(b(o[0]).css("zIndex"),10)||0,b(o).each(function(e){b(this).css("zIndex",i+e)}),this.css("zIndex",i+o.length))}}),b.ui.plugin.add("draggable","zIndex",{start:function(e,t,n){var i=b(t.helper),r=n.options;i.css("zIndex")&&(r._zIndex=i.css("zIndex")),i.css("zIndex",r.zIndex)},stop:function(e,t,n){var i=n.options;i._zIndex&&b(t.helper).css("zIndex",i._zIndex)}}),b.ui.draggable}),function(e){"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}(function(e){return e.fn.extend({disableSelection:(t="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(t+".ui-disableSelection",function(e){e.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}});var t}),function(e){"function"==typeof define&&define.amd?define(["jquery","./mouse","../disable-selection","../plugin","../version","../widget"],e):e(jQuery)}(function(y){return y.widget("ui.resizable",y.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(e){return parseFloat(e)||0},_isNumber:function(e){return!isNaN(parseFloat(e))},_hasScroll:function(e,t){if("hidden"===y(e).css("overflow"))return!1;var n=t&&"left"===t?"scrollLeft":"scrollTop",i=!1;return 0<e[n]||(e[n]=1,i=0<e[n],e[n]=0,i)},_create:function(){var e,t=this.options,n=this;this._addClass("ui-resizable"),y.extend(this,{_aspectRatio:!!t.aspectRatio,aspectRatio:t.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:t.helper||t.ghost||t.animate?t.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(y("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(e),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(e),this._proportionallyResize()),this._setupHandles(),t.autoHide&&y(this.element).on("mouseenter",function(){t.disabled||(n._removeClass("ui-resizable-autohide"),n._handles.show())}).on("mouseleave",function(){t.disabled||n.resizing||(n._addClass("ui-resizable-autohide"),n._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,t=function(e){y(e).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(t(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),t(this.originalElement),this},_setOption:function(e,t){switch(this._super(e,t),e){case"handles":this._removeHandles(),this._setupHandles()}},_setupHandles:function(){var e,t,n,i,r,o=this.options,a=this;if(this.handles=o.handles||(y(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=y(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),n=this.handles.split(","),this.handles={},t=0;t<n.length;t++)i="ui-resizable-"+(e=y.trim(n[t])),r=y("<div>"),this._addClass(r,"ui-resizable-handle "+i),r.css({zIndex:o.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.append(r);this._renderAxis=function(e){var t,n,i,r;for(t in e=e||this.element,this.handles)this.handles[t].constructor===String?this.handles[t]=this.element.children(this.handles[t]).first().show():(this.handles[t].jquery||this.handles[t].nodeType)&&(this.handles[t]=y(this.handles[t]),this._on(this.handles[t],{mousedown:a._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(n=y(this.handles[t],this.element),r=/sw|ne|nw|se|n|s/.test(t)?n.outerHeight():n.outerWidth(),i=["padding",/ne|nw|n
vendor: 8,541 bytes, lines 17-18
17/.test(t)?"Top":/se|sw|s/.test(t)?"Bottom":/^e$/.test(t)?"Right":"Left"].join(""),e.css(i,r),this._proportionallyResize()),this._handles=this._handles.add(this.handles[t])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){a.resizing||(this.className&&(r=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),a.axis=r&&r[1]?r[1]:"se")}),o.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(e){var t,n,i=!1;for(t in this.handles)((n=y(this.handles[t])[0])===e.target||y.contains(n,e.target))&&(i=!0);return!this.options.disabled&&i},_mouseStart:function(e){var t,n,i,r=this.options,o=this.element;return this.resizing=!0,this._renderProxy(),t=this._num(this.helper.css("left")),n=this._num(
18this.helper.css("top")),r.containment&&(t+=y(r.containment).scrollLeft()||0,n+=y(r.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:t,top:n},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:o.width(),height:o.height()},this.originalSize=this._helper?{width:o.outerWidth(),height:o.outerHeight()}:{width:o.width(),height:o.height()},this.sizeDiff={width:o.outerWidth()-o.width(),height:o.outerHeight()-o.height()},this.originalPosition={left:t,top:n},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof r.aspectRatio?r.aspectRatio:this.originalSize.width/this.originalSize.height||1,i=y(".ui-resizable-"+this.axis).css("cursor"),y("body").css("cursor","auto"===i?this.axis+"-resize":i),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var t,n,i=this.originalMousePosition,r=this.axis,o=e.pageX-i.left||0,a=e.pageY-i.top||0,s=this._change[r];return this._updatePrevProperties(),s&&(t=s.apply(this,[e,o,a]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(t=this._updateRatio(t,e)),t=this._respectSize(t,e),this._updateCache(t),this._propagate("resize",e),n=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),y.isEmptyObject(n)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges())),!1},_mouseStop:function(e){this.resizing=!1;var t,n,i,r,o,a,s,l=this.options,u=this;return this._helper&&(i=(n=(t=this._proportionallyResizeElements).length&&/textarea/i.test(t[0].nodeName))&&this._hasScroll(t[0],"left")?0:u.sizeDiff.height,r=n?0:u.sizeDiff.width,o={width:u.helper.width()-r,height:u.helper.height()-i},a=parseFloat(u.element.css("left"))+(u.position.left-u.originalPosition.left)||null,s=parseFloat(u.element.css("top"))+(u.position.top-u.originalPosition.top)||null,l.animate||this.element.css(y.extend(o,{top:s,left:a})),u.helper.height(u.size.height),u.helper.width(u.size.width),this._helper&&!l.animate&&this._proportionallyResize()),y("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var e={};return this.position.top!==this.prevPosition.top&&(e.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(e.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(e.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(e.height=this.size.height+"px"),this.helper.css(e),e},_updateVirtualBoundaries:function(e){var t,n,i,r,o,a=this.options;o={minWidth:this._isNumber(a.minWidth)?a.minWidth:0,maxWidth:this._isNumber(a.maxWidth)?a.maxWidth:Infinity,minHeight:this._isNumber(a.minHeight)?a.minHeight:0,maxHeight:this._isNumber(a.maxHeight)?a.maxHeight:Infinity},(this._aspectRatio||e)&&(t=o.minHeight*this.aspectRatio,i=o.minWidth/this.aspectRatio,n=o.maxHeight*this.aspectRatio,r=o.maxWidth/this.aspectRatio,t>o.minWidth&&(o.minWidth=t),i>o.minHeight&&(o.minHeight=i),n<o.maxWidth&&(o.maxWidth=n),r<o.maxHeight&&(o.maxHeight=r)),this._vBoundaries=o},_updateCache:function(e){this.offset=this.helper.offset(),this._isNumber(e.left)&&(this.position.left=e.left),this._isNumber(e.top)&&(this.position.top=e.top),this._isNumber(e.height)&&(this.size.height=e.height),this._isNumber(e.width)&&(this.size.width=e.width)},_updateRatio:function(e){var t=this.position,n=this.size,i=this.axis;return this._isNumber(e.height)?e.width=e.height*this.aspectRatio:this._isNumber(e.width)&&(e.height=e.width/this.aspectRatio),"sw"===i&&(e.left=t.left+(n.width-e.width),e.top=null),"nw"===i&&(e.top=t.top+(n.height-e.height),e.left=t.left+(n.width-e.width)),e},_respectSize:function(e){var t=this._vBoundaries,n=this.axis,i=this._isNumber(e.width)&&t.maxWidth&&t.maxWidth<e.width,r=this._isNumber(e.height)&&t.maxHeight&&t.maxHeight<e.height,o=this._isNumber(e.width)&&t.minWidth&&t.minWidth>e.width,a=this._isNumber(e.height)&&t.minHeight&&t.minHeight>e.height,s=this.originalPosition.left+this.originalSize.width,l=this.originalPosition.top+this.originalSize.height,u=/sw|nw|w/.test(n),c=/nw|ne|n/.test(n);return o&&(e.width=t.minWidth),a&&(e.height=t.minHeight),i&&(e.width=t.maxWidth),r&&(e.height=t.maxHeight),o&&u&&(e.left=s-t.minWidth),i&&u&&(e.left=s-t.maxWidth),a&&c&&(e.top=l-t.minHeight),r&&c&&(e.top=l-t.maxHeight),e.width||e.height||e.left||!e.top?e.width||e.height||e.top||!e.left||(e.left=null):e.top=null,e},_getPaddingPlusBorderDimensions:function(e){for(var t=0,n=[],i=[e.css("borderTopWidth"),e.css("borderRightWidth"),e.css("borderBottomWidth"),e.css("borderLeftWidth")],r=[e.css("paddingTop"),e.css("paddingRight"),e.css("paddingBottom"),e.css("paddingLeft")];t<4;t++)n[t]=parseFloat(i[t])||0,n[t]+=parseFloat(r[t])||0;return{height:n[0]+n[2],width:n[1]+n[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var e,t=0,n=this.helper||this.element;t<this._proportionallyResizeElements.length;t++)e=this._proportionallyResizeElements[t],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(e)),e.css({height:n.height()-this.outerDimensions.height||0,width:n.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,t=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||y("<div style='overflow:hidden;'></div>"),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++t.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(e,t){return{width:this.originalSize.width+t}},w:function(e,t){var n=this.originalSize;return{left:this.originalPosition.left+t,width:n.width-t}},n:function(e,t,n){var i=this.originalSize;return{top:this.originalPosition.top+n,height:i.height-n}},s:function(e,t,n){return{height:this.originalSize.height+n}},se:function(e,t,n){return y.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,t,n]))},sw:function(e,t,n){return y.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,t,n]))},ne:function(e,t,n){return y.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,t,n]))},nw:function(e,t,n){return y.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,t,n]))}},_propagate:function(e,t){y.ui.plugin.call(this,e,[t,this.ui()]),"resize"!==e&&this._trigger(e,t,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),y.ui.plugin.add("resizable","animate",{stop:function(t){var n=y(this).resizable("instance"),e=n.options,i=n._proportionallyResizeElements,r=i.length&&/textarea/i.test(i[0].nodeName),o=r&&n._hasScroll(i[0],"left")?0:n.sizeDiff.height,a=r?0:n.sizeDiff.width,s={width:n.size.width-a,height:n.size.height-o},l=parseFloat(n.element.css("left"))+(n.position.left-n.originalPosition.left)||null,u=parseFloat(n.element.css("top"))+(n.position.top-n.originalPosition.top)||null;n.element.animate(y.extend(s,u&&l?{top:u,left:l}:{}),{duration:e.animateDuration,easing:e.animateEasing,step:function(){var e={
vendor: 3,642 bytes, line 18
18width:parseFloat(n.element.css("width")),height:parseFloat(n.element.css("height")),top:parseFloat(n.element.css("top")),left:parseFloat(n.element.css("left"))};i&&i.length&&y(i[0]).css({width:e.width,height:e.height}),n._updateCache(e),n._propagate("resize",t)}})}}),y.ui.plugin.add("resizable","containment",{start:function(){var n,i,e,t,r,o,a,s=y(this).resizable("instance"),l=s.options,u=s.element,c=l.containment,d=c instanceof y?c.get(0):/parent/.test(c)?u.parent().get(0):c;d&&(s.containerElement=y(d),/document/.test(c)||c===document?(s.containerOffset={left:0,top:0},s.containerPosition={left:0,top:0},s.parentData={element:y(document),left:0,top:0,width:y(document).width(),height:y(document).height()||document.body.parentNode.scrollHeight}):(n=y(d),i=[],y(["Top","Right","Left","Bottom"]).each(function(e,t){i[e]=s._num(n.css("padding"+t))}),s.containerOffset=n.offset(),s.containerPosition=n.position(),s.containerSize={height:n.innerHeight()-i[3],width:n.innerWidth()-i[1]},e=s.containerOffset,t=s.containerSize.height,r=s.containerSize.width,o=s._hasScroll(d,"left")?d.scrollWidth:r,a=s._hasScroll(d)?d.scrollHeight:t,s.parentData={element:d,left:e.left,top:e.top,width:o,height:a}))},resize:function(e){var t,n,i,r,o=y(this).resizable("instance"),a=o.options,s=o.containerOffset,l=o.position,u=o._aspectRatio||e.shiftKey,c={top:0,left:0},d=o.containerElement,p=!0;d[0]!==document&&/static/.test(d.css("position"))&&(c=s),l.left<(o._helper?s.left:0)&&(o.size.width=o.size.width+(o._helper?o.position.left-s.left:o.position.left-c.left),u&&(o.size.height=o.size.width/o.aspectRatio,p=!1),o.position.left=a.helper?s.left:0),l.top<(o._helper?s.top:0)&&(o.size.height=o.size.height+(o._helper?o.position.top-s.top:o.position.top),u&&(o.size.width=o.size.height*o.aspectRatio,p=!1),o.position.top=o._helper?s.top:0),i=o.containerElement.get(0)===o.element.parent().get(0),r=/relative|absolute/.test(o.containerElement.css("position")),i&&r?(o.offset.left=o.parentData.left+o.position.left,o.offset.top=o.parentData.top+o.position.top):(o.offset.left=o.element.offset().left,o.offset.top=o.element.offset().top),t=Math.abs(o.sizeDiff.width+(o._helper?o.offset.left-c.left:o.offset.left-s.left)),n=Math.abs(o.sizeDiff.height+(o._helper?o.offset.top-c.top:o.offset.top-s.top)),t+o.size.width>=o.parentData.width&&(o.size.width=o.parentData.width-t,u&&(o.size.height=o.size.width/o.aspectRatio,p=!1)),n+o.size.height>=o.parentData.height&&(o.size.height=o.parentData.height-n,u&&(o.size.width=o.size.height*o.aspectRatio,p=!1)),p||(o.position.left=o.prevPosition.left,o.position.top=o.prevPosition.top,o.size.width=o.prevSize.width,o.size.height=o.prevSize.height)},stop:function(){var e=y(this).resizable("instance"),t=e.options,n=e.containerOffset,i=e.containerPosition,r=e.containerElement,o=y(e.helper),a=o.offset(),s=o.outerWidth()-e.sizeDiff.width,l=o.outerHeight()-e.sizeDiff.height;e._helper&&!t.animate&&/relative/.test(r.css("position"))&&y(this).css({left:a.left-i.left-n.left,width:s,height:l}),e._helper&&!t.animate&&/static/.test(r.css("position"))&&y(this).css({left:a.left-i.left-n.left,width:s,height:l})}}),y.ui.plugin.add("resizable","alsoResize",{start:function(){var e=y(this).resizable("instance").options;y(e.alsoResize).each(function(){var e=y(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.width()),height:parseFloat(e.height()),left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})})},resize:function(e,n){var t=y(this).resizable("instance"),i=t.options,r=t.originalSize,o=t.originalPosition,a={height:t.size.height-r.height||0,width:t.size.width-r.width||0,top:t.position.top-o.top||0,left
vendor: 5,338 bytes, line 18
18:t.position.left-o.left||0};y(i.alsoResize).each(function(){var e=y(this),i=y(this).data("ui-resizable-alsoresize"),r={},t=e.parents(n.originalElement[0]).length?["width","height"]:["width","height","top","left"];y.each(t,function(e,t){var n=(i[t]||0)+(a[t]||0);n&&0<=n&&(r[t]=n||null)}),e.css(r)})},stop:function(){y(this).removeData("ui-resizable-alsoresize")}}),y.ui.plugin.add("resizable","ghost",{start:function(){var e=y(this).resizable("instance"),t=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:t.height,width:t.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),!1!==y.uiBackCompat&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=y(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=y(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),y.ui.plugin.add("resizable","grid",{resize:function(){var e,t=y(this).resizable("instance"),n=t.options,i=t.size,r=t.originalSize,o=t.originalPosition,a=t.axis,s="number"==typeof n.grid?[n.grid,n.grid]:n.grid,l=s[0]||1,u=s[1]||1,c=Math.round((i.width-r.width)/l)*l,d=Math.round((i.height-r.height)/u)*u,p=r.width+c,h=r.height+d,f=n.maxWidth&&n.maxWidth<p,g=n.maxHeight&&n.maxHeight<h,m=n.minWidth&&n.minWidth>p,v=n.minHeight&&n.minHeight>h;n.grid=s,m&&(p+=l),v&&(h+=u),f&&(p-=l),g&&(h-=u),/^(se|s|e)$/.test(a)?(t.size.width=p,t.size.height=h):/^(ne)$/.test(a)?(t.size.width=p,t.size.height=h,t.position.top=o.top-d):/^(sw)$/.test(a)?(t.size.width=p,t.size.height=h,t.position.left=o.left-c):((h-u<=0||p-l<=0)&&(e=t._getPaddingPlusBorderDimensions(this)),0<h-u?(t.size.height=h,t.position.top=o.top-d):(h=u-e.height,t.size.height=h,t.position.top=o.top+r.height-h),0<p-l?(t.size.width=p,t.position.left=o.left-c):(p=l-e.width,t.size.width=p,t.position.left=o.left+r.width-p))}}),y.ui.resizable}),function(e){"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}(function(l){function u(e){for(var t=e.css("visibility");"inherit"===t;)t=(e=e.parent()).css("visibility");return"hidden"!==t}return l.ui.focusable=function(e,t){var n,i,r,o,a,s=e.nodeName.toLowerCase();return"area"===s?(i=(n=e.parentNode).name,!(!e.href||!i||"map"!==n.nodeName.toLowerCase())&&(0<(r=l("img[usemap='#"+i+"']")).length&&r.is(":visible"))):(/^(input|select|textarea|button|object)$/.test(s)?(o=!e.disabled)&&(a=l(e).closest("fieldset")[0])&&(o=!a.disabled):o="a"===s&&e.href||t,o&&l(e).is(":visible")&&u(l(e)))},l.extend(l.expr[":"],{focusable:function(e){return l.ui.focusable(e,null!=l.attr(e,"tabindex"))}}),l.ui.focusable}),function(e){"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}(function(C){return function(){function x(e,t,n){return[parseFloat(e[0])*(l.test(e[0])?t/100:1),parseFloat(e[1])*(l.test(e[1])?n/100:1)]}function k(e,t){return parseInt(C.css(e,t),10)||0}function t(e){var t=e[0];return 9===t.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:C.isWindow(t)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:t.preventDefault?{width:0,height:0,offset:{top:t.pageY,left:t.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}var r,T=Math.max,S=Math.abs,i=/left|center|right/,o=/top|center|bottom/,a=/[\+\-]\d+(\.[\d]+)?%?/,s=/^\w+/,l=/%$/,n=C.fn.position;C.position={scrollbarWidth:function(){if(r!==undefined)return r;var e,t,n=C("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),i=n.children()[0];return C("body").append(n),e=i.offsetWidth,n.css("overflow","scroll"),e===(t=i.offsetWidth)&&(t=n[0].clientWidth),n.remove(),r=e-t},getScrollInfo:function(e){var t=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),n=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),i="scroll"===t||"auto"===t&&e.width<e.element[0].scrollWidth;return{width:"scroll"===n||"auto"===n&&e.height<e.element[0].scrollHeight?C.position.scrollbarWidth():0,height:i?C.position.scrollbarWidth():0}},getWithinInfo:function(e){var t=C(e||window),n=C.isWindow(t[0]),i=!!t[0]&&9===t[0].nodeType;return{element:t,isWindow:n,isDocument:i,offset:!n&&!i?C(e).offset():{left:0,top:0},scrollLeft:t.scrollLeft(),scrollTop:t.scrollTop(),width:t.outerWidth(),height:t.outerHeight()}}},C.fn.position=function(d){if(!d||!d.of)return n.apply(this,arguments);d=C.extend({},d);var p,h,f,g,m,e,v=C(d.of),y=C.position.getWithinInfo(d.within),b=C.position.getScrollInfo(y),w=(d.collision||"flip").split(" "),_={};return e=t(v),v[0].preventDefault&&(d.at="left top"),h=e.width,f=e.height,g=e.offset,m=C.extend({},g),C.each(["my","at"],function(){var e,t,n=(d[this]||"").split(" ");1===n.length&&(n=i.test(n[0])?n.concat(["center"]):o.test(n[0])?["center"].concat(n):["center","center"]),n[0]=i.test(n[0])?n[0]:"center",n[1]=o.test(n[1])?n[1]:"center",e=a.exec(n[0]),t=a.exec(n[1]),_[this]=[e?e[0]:0,t?t[0]:0],d[this]=[s.exec(n[0])[0],s.exec(n[1])[0]]}),1===w.length&&(w[1]=w[0]),"right"===d.at[0]?m.left+=h:"center"===d.at[0]&&(m.left+=h/2),"bottom"===d.at[1]?m.top+=f:"center"===d.at[1]&&(m.top+=f/2),p=x(_.at,h,f),m.left+=p[0],m.to
vendor: 1,181 bytes, line 18
18p+=p[1],this.each(function(){var n,e,a=C(this),s=a.outerWidth(),l=a.outerHeight(),t=k(this,"marginLeft"),i=k(this,"marginTop"),r=s+t+k(this,"marginRight")+b.width,o=l+i+k(this,"marginBottom")+b.height,u=C.extend({},m),c=x(_.my,a.outerWidth(),a.outerHeight());"right"===d.my[0]?u.left-=s:"center"===d.my[0]&&(u.left-=s/2),"bottom"===d.my[1]?u.top-=l:"center"===d.my[1]&&(u.top-=l/2),u.left+=c[0],u.top+=c[1],n={marginLeft:t,marginTop:i},C.each(["left","top"],function(e,t){C.ui.position[w[e]]&&C.ui.position[w[e]][t](u,{targetWidth:h,targetHeight:f,elemWidth:s,elemHeight:l,collisionPosition:n,collisionWidth:r,collisionHeight:o,offset:[p[0]+c[0],p[1]+c[1]],my:d.my,at:d.at,within:y,elem:a})}),d.using&&(e=function(e){var t=g.left-u.left,n=t+h-s,i=g.top-u.top,r=i+f-l,o={target:{element:v,left:g.left,top:g.top,width:h,height:f},element:{element:a,left:u.left,top:u.top,width:s,height:l},horizontal:n<0?"left":0<t?"right":"center",vertical:r<0?"top":0<i?"bottom":"middle"};h<s&&S(t+n)<h&&(o.horizontal="center"),f<l&&S(i+r)<f&&(o.vertical="middle"),T(S(t),S(n))>T(S(i),S(r))?o.important="horizontal":o.important="vertical",d.using.call(this,e,o)}),a.offset(C.extend(u,{using:e}))})}
vendor: 4,573 bytes, line 18
18,C.ui.position={fit:{left:function(e,t){var n,i=t.within,r=i.isWindow?i.scrollLeft:i.offset.left,o=i.width,a=e.left-t.collisionPosition.marginLeft,s=r-a,l=a+t.collisionWidth-o-r;t.collisionWidth>o?0<s&&l<=0?(n=e.left+s+t.collisionWidth-o-r,e.left+=s-n):e.left=0<l&&s<=0?r:l<s?r+o-t.collisionWidth:r:0<s?e.left+=s:0<l?e.left-=l:e.left=T(e.left-a,e.left)},top:function(e,t){var n,i=t.within,r=i.isWindow?i.scrollTop:i.offset.top,o=t.within.height,a=e.top-t.collisionPosition.marginTop,s=r-a,l=a+t.collisionHeight-o-r;t.collisionHeight>o?0<s&&l<=0?(n=e.top+s+t.collisionHeight-o-r,e.top+=s-n):e.top=0<l&&s<=0?r:l<s?r+o-t.collisionHeight:r:0<s?e.top+=s:0<l?e.top-=l:e.top=T(e.top-a,e.top)}},flip:{left:function(e,t){var n,i,r=t.within,o=r.offset.left+r.scrollLeft,a=r.width,s=r.isWindow?r.scrollLeft:r.offset.left,l=e.left-t.collisionPosition.marginLeft,u=l-s,c=l+t.collisionWidth-a-s,d="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,p="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,h=-2*t.offset[0];u<0?((n=e.left+d+p+h+t.collisionWidth-a-o)<0||n<S(u))&&(e.left+=d+p+h):0<c&&(0<(i=e.left-t.collisionPosition.marginLeft+d+p+h-s)||S(i)<c)&&(e.left+=d+p+h)},top:function(e,t){var n,i,r=t.within,o=r.offset.top+r.scrollTop,a=r.height,s=r.isWindow?r.scrollTop:r.offset.top,l=e.top-t.collisionPosition.marginTop,u=l-s,c=l+t.collisionHeight-a-s,d="top"===t.my[1]?-t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,p="top"===t.at[1]?t.targetHeight:"bottom"===t.at[1]?-t.targetHeight:0,h=-2*t.offset[1];u<0?((i=e.top+d+p+h+t.collisionHeight-a-o)<0||i<S(u))&&(e.top+=d+p+h):0<c&&(0<(n=e.top-t.collisionPosition.marginTop+d+p+h-s)||S(n)<c)&&(e.top+=d+p+h)}},flipfit:{left:function(){C.ui.position.flip.left.apply(this,arguments),C.ui.position.fit.left.apply(this,arguments)},top:function(){C.ui.position.flip.top.apply(this,arguments),C.ui.position.fit.top.apply(this,arguments)}}}}(),C.ui.position}),function(e){"function"==typeof define&&define.amd?define(["jquery","./version","./focusable"],e):e(jQuery)}(function(i){return i.extend(i.expr[":"],{tabbable:function(e){var t=i.attr(e,"tabindex"),n=null!=t;return(!n||0<=t)&&i.ui.focusable(e,n)}})}),function(e){"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}(function(e){return e.fn.extend({uniqueId:(t=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++t)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&e(this).removeAttr("id")})}});var t}),function(e){"function"==typeof define&&define.amd?define(["jquery","./button","./draggable","./mouse","./resizable","../focusable","../keycode","../position","../safe-active-element","../safe-blur","../tabbable","../unique-id","../version","../widget"],e):e(jQuery)}(function(l){return l.widget("ui.dialog",{version:"1.12.1",options:{appendTo:"body",autoOpen:!0,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:!0,closeText:"Close",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(e){var t=l(this).css(e).offset().top;t<0&&l(this).css("top",e.top-t)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),null==this.options.title&&null!=this.originalTitle&&(this.options.title=this.originalTitle),this.options.disabled&&(this.options.disabled=!1),this._createWrapper(),this.element.show().removeAttr("title").appendTo(this.uiDialog),this._addClass("ui-dialog-content","ui-widget-content"),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&l.fn.draggable&&this._makeDraggable(),this.options.resizable&&l.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var e=this.options.appendTo;
vendor: 21,032 bytes, lines 18-19
18return e&&(e.jquery||e.nodeType)?l(e):this.document.find(e||"body").eq(0)},_destroy:function(){var e,t=this.originalPosition;this._untrackInstance(),this._destroyOverlay(),this.element.removeUniqueId().css(this.originalCss).detach(),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(e=t.parent.children().eq(t.index)).length&&e[0]!==this.element[0]?e.before(this.element):t.parent.append(this.element)},widget:function(){return this.uiDialog},disable:l.noop,enable:l.noop,close:function(e){var t=this;this._isOpen&&!1!==this._trigger("beforeClose",e)&&(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),this.opener.filter(":focusable").trigger("focus").length||l.ui.safeBlur(l.ui.safeActiveElement(this.document[0])),this._hide(this.uiDialog,this.options.hide,function(){t._trigger("close",e)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(e,t){var n=!1,i=this.uiDialog.siblings(".ui-front:visible").map(function(){return+l(this).css("z-index")}).get(),r=Math.max.apply(null,i);return r>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",r+1),n=!0),n&&!t&&this._trigger("focus",e),n},open:function(){var e=this;this._isOpen?this._moveToTop()&&this._focusTabbable():(this._isOpen=!0,this.opener=l(l.ui.safeActiveElement(this.document[0])),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,function(){e._focusTabbable(),e._trigger("focus")}),this._makeFocusTarget(),this._trigger("open"))},_focusTabbable:function(){var e=this._focusedElement;e||(e=this.element.find("[autofocus]")),e.length||(e=this.element.find(":tabbable")),e.length||(e=this.uiDialogButtonPane.find(":tabbable")),e.length||(e=this.uiDialogTitlebarClose.filter(":tabbable")),e.length||(e=this.uiDialog),e.eq(0).trigger("focus")},_keepFocus:function(e){function t(){var e=l.ui.safeActiveElement(this.document[0]);this.uiDialog[0]===e||l.contains(this.uiDialog[0],e)||this._focusTabbable()}e.preventDefault(),t.call(this),this._delay(t)},_createWrapper:function(){this.uiDialog=l("<div>").hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front"),this._on(this.uiDialog,{keydown:function(e){if(this.options.closeOnEscape&&!e.isDefaultPrevented()&&e.keyCode&&e.keyCode===l.ui.keyCode.ESCAPE)return e.preventDefault(),void this.close(e);if(e.keyCode===l.ui.keyCode.TAB&&!e.isDefaultPrevented()){var t=this.uiDialog.find(":tabbable"),n=t.filter(":first"),i=t.filter(":last");e.target!==i[0]&&e.target!==this.uiDialog[0]||e.shiftKey?e.target!==n[0]&&e.target!==this.uiDialog[0]||!e.shiftKey||(this._delay(function(){i.trigger("focus")}),e.preventDefault()):(this._delay(function(){n.trigger("focus")}),e.preventDefault())}},mousedown:function(e){this._moveToTop(e)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var e;this.uiDialogTitlebar=l("<div>"),this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix"),this._on(this.uiDialogTitlebar,{mousedown:function(e){l(e.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}}),this.uiDialogTitlebarClose=l("<button type='button'></button>").button({label:l("<a>").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar),this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close"),this._on(this.uiDialogTitlebarClose,{click:function(e){e.preventDefault(),this.close(e)}}),e=l("<span>").uniqueId().prependTo(this.uiDialogTitlebar),this._addClass(e,"ui-dialog-title"),this._title(e),this.uiDialogTitlebar.prependTo(this.uiDialog),this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(e){this.options.title?e.text(this.options.title):e.html("&#160;")},_createButtonPane:function(){this.uiDialogButtonPane=l("<div>"),this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix"),this.uiButtonSet=l("<div>").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,"ui-dialog-buttonset"),this._createButtons()},_createButtons:function(){var r=this,e=this.options.buttons;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),l.isEmptyObject(e)||l.isArray(e)&&!e.length?this._removeClass(this.uiDialog,"ui-dialog-buttons"):(l.each(e,function(e,t){var n,i;t=l.isFunction(t)?{click:t,text:e}:t,t=l.extend({type:"button"},t),n=t.click,i={icon:t.icon,iconPosition:t.iconPosition,showLabel:t.showLabel,icons:t.icons,text:t.text},delete t.click,delete t.icon,delete t.iconPosition,delete t.showLabel,delete t.icons,"boolean"==typeof t.text&&delete t.text,l("<button></button>",t).button(i).appendTo(r.uiButtonSet).on("click",function(){n.apply(r.element[0],arguments)})}),this._addClass(this.uiDialog,"ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){function r(e){return{position:e.position,offset:e.offset}}var o=this,a=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(e,t){o._addClass(l(this),"ui-dialog-dragging"),o._blockFrames(),o._trigger("dragStart",e,r(t))},drag:function(e,t){o._trigger("drag",e,r(t))},stop:function(e,t){var n=t.offset.left-o.document.scrollLeft(),i=t.offset.top-o.document.scrollTop();a.position={my:"left top",at:"left"+(0<=n?"+":"")+n+" top"+(0<=i?"+":"")+i,of:o.window},o._removeClass(l(this),"ui-dialog-dragging"),o._unblockFrames(),o._trigger("dragStop",e,r(t))}})},_makeResizable:function(){function o(e){return{originalPosition:e.originalPosition,originalSize:e.originalSize,position:e.position,size:e.size}}var a=this,s=this.options,e=s.resizable,t=this.uiDialog.css("position"),n="string"==typeof e?e:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:s.maxWidth,maxHeight:s.maxHeight,minWidth:s.minWidth,minHeight:this._minHeight(),handles:n,start:function(e,t){a._addClass(l(this),"ui-dialog-resizing"),a._blockFrames(),a._trigger("resizeStart",e,o(t))},resize:function(e,t){a._trigger("resize",e,o(t))},stop:function(e,t){var n=a.uiDialog.offset(),i=n.left-a.document.scrollLeft(),r=n.top-a.document.scrollTop();s.height=a.uiDialog.height(),s.width=a.uiDialog.width(),s.position={my:"left top",at:"left"+(0<=i?"+":"")+i+" top"+(0<=r?"+":"")+r,of:a.window},a._removeClass(l(this),"ui-dialog-resizing"),a._unblockFrames(),a._trigger("resizeStop",e,o(t))}}).css("position",t)},_trackFocus:function(){this._on(this.widget(),{focusin:function(e){this._makeFocusTarget(),this._focusedElement=l(e.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var e=this._trackingInstances(),t=l.inArray(this,e);-1!==t&&e.splice(t,1)},_trackingInstances:function(){var e=this.document.data("ui-dialog-instances");return e||(e=[],this.document.data("ui-dialog-instances",e)),e},_minHeight:function(){var e=this.options;return"auto"===e.height?e.minHeight:Math.min(e.minHeight,e.height)},_position:function(){var e=this.uiDialog.is(":visible");e||this.uiDialog.show(),this.uiDialog.position(this.options.position),e||this.uiDialog.hide()},_setOptions:function(e){var n=this,i=!1,r={};l.each(e,function(e,t){n._setOption(e,t),e in n.sizeRelatedOptions&&(i=!0),e in n.resizableRelatedOptions&&(r[e]=t)}),i&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",r)},_setOption:function(e,t){var n,i,r=this.uiDialog;"disabled"!==e&&(this._super(e,t),"appendTo"===e&&this.uiDialog.appendTo(this._appendTo()),"buttons"===e&&this._createButtons(),"closeText"===e&&this.uiDialogTitlebarClose.button({label:l("<a>").text(""+this.options.closeText).html()}),"draggable"===e&&((n=r.is(":data(ui-draggable)"))&&!t&&r.draggable("destroy"),!n&&t&&this._makeDraggable()),"position"===e&&this._position(),"resizable"===e&&((i=r.is(":data(ui-resizable)"))&&!t&&r.resizable("destroy"),i&&"string"==typeof t&&r.resizable("option","handles",t),i||!1===t||this._makeResizable()),"title"===e&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var e,t,n,i=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),i.minWidth>i.width&&(i.width=i.minWidth),e=this.uiDialog.css({height:"auto",width:i.width}).outerHeight(),t=Math.max(0,i.minHeight-e),n="number"==typeof i.maxHeight?Math.max(0,i.maxHeight-e):"none","auto"===i.height?this.element.css({minHeight:t,maxHeight:n,height:"auto"}):this.element.height(Math.max(0,i.height-e)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var e=l(this);return l("<div>").css({position:"absolute",width:e.outerWidth(),height:e.outerHeight()}).appendTo(e.parent()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(e){return!!l(e.target).closest(".ui-dialog").length||!!l(e.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var t=!0;this._delay(function(){t=!1}),this.document.data("ui-dialog-overlays")||this._on(this.document,{focusin:function(e){t||this._allowInteraction(e)||(e.preventDefault(),this._trackingInstances()[0]._focusTabbable())}}),this.overlay=l("<div>").appendTo(this._appendTo()),this._addClass(this.overlay,null,"ui-widget-overlay ui-front"),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)}},_destroyOverlay:function(){if(this.options.modal&&this.overlay){var e=this.document.data("ui-dialog-overlays")-1;e?this.document.data("ui-dialog-overlays",e):(this._off(this.document,"focusin"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null}}}),!1!==l.uiBackCompat&&l.widget("ui.dialog",l.ui.dialog,{options:{
19dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(e,t){"dialogClass"===e&&this.uiDialog.removeClass(this.options.dialogClass).addClass(t),this._superApply(arguments)}}),l.ui.dialog}),function(e){"function"==typeof define&&define.amd?define(["jquery","./mouse","../data","../ie","../scroll-parent","../version","../widget"],e):e(jQuery)}(function(h){return h.widget("ui.sortable",h.ui.mouse,{version:"1.12.1",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(e,t,n){return t<=e&&e<t+n},_isFloating:function(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(e,t){this._super(e,t),"handle"===e&&this._setHandleClassName()},_setHandleClassName:function(){var e=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),h.each(this.items,function(){e._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")})},_destroy:function(){this._mouseDestroy();for(var e=this.items.length-1;0<=e;e--)this.items[e].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(e,t){var n=null,i=!1,r=this;return!this.reverting&&(!this.options.disabled&&"static"!==this.options.type&&(this._refreshItems(e),h(e.target).parents().each(function(){if(h.data(this,r.widgetName+"-item")===r)return n=h(this),!1}),h.data(e.target,r.widgetName+"-item")===r&&(n=h(e.target)),!!n&&(!(this.options.handle&&!t&&(h(this.options.handle,n).find("*").addBack().each(function(){this===e.target&&(i=!0)}),!i))&&(this.currentItem=n,this._removeCurrentsFromItems(),!0))))},_mouseStart:function(e,t,n){var i,r,o=this.options;if((this.currentContainer=this).refreshPositions(),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},h.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,o.cursorAt&&this._adjustOffsetFromHelper(o.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),o.containment&&this._setContainment(),o.cursor&&"auto"!==o.cursor&&(r=this.document.find("body"),this.storedCursor=r.css("cursor"),r.css("cursor",o.cursor),this.storedStylesheet=h("<style>*{ cursor: "+o.cursor+" !important; }</style>").appendTo(r)),o.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",o.opacity)),o.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",o.zIndex)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!n)for(i=this.containers.length-1;0<=i;i--)this.containers[i]._trigger("activate",e,this._uiHash(this));return h.ui.ddmanager&&(h.ui.ddmanager.current=this),h.ui.ddmanager&&!o.dropBehaviour&&h.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this._mouseDrag(e),!0},_mouseDrag:function(e){var t,n,i,r,o=this.options,a=!1;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY<o.scrollSensitivity?this.scrollParent[0].scrollTop=a=this.scrollParent[0].scrollTop+o.scrollSpeed:e.pageY-this.overflowOffset.top<o.scrollSensitivity&&(this.scrollParent[0].scrollTop=a=this.scrollParent[0].scrollTop-o.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<o.scrollSensitivity?this.scrollParent[0].scrollLeft=a=this.scrollParent[0].scrollLeft+o.scrollSpeed:e.pageX-this.overflowOffset.left<o.scrollSensitivity&&(this.scrollParent[0].scrollLeft=a=this.scrollParent[0].scrollLeft-o.scrollSpeed)):(e.pageY-this.document.scrollTop()<o.scrollSensitivity?a=this.document.scrollTop(this.document.scrollTop()-o.scrollSpeed):this.window.height()-(e.pageY-this.document.scrollTop())<o.scrollSensitivity&&(a=this.document.scrollTop(this.document.scrollTop()+o.scrollSpeed)),e.pageX-this.document.scrollLeft()<o.scrollSensitivity?a=this.document.scrollLeft(this.document.scrollLeft()-o.scrollSpeed):this.window.width()-(e.pageX-this.document.scrollLeft())<o.scrollSensitivity&&(a=this.document.scrollLeft(this.document.scrollLeft()+o.scrollSpeed))),!1!==a&&h.ui.ddmanager&&!o.dropBehaviour&&h.ui.ddmanager.prepareOffsets(this,e)),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),t=this.items.length-1;0<=t;t--)if(i=(n=this.items[t]).item[0],(r=this._intersectsWithPointer(n))&&n.instance===this.currentContainer&&!(i===this.currentItem[0]||this.placeholder[1===r?"next":"prev"]()[0]===i||h.contains(this.placeholder[0],i)||"semi-dynamic"===this.options.type&&h.contains(this.element[0],i))){if(this.direction=1===r?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(n))break;this._rearrange(e,n),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),h.ui.ddmanager&&h.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,t){if(e){if(h.ui.ddmanager&&!this.options.dropBehaviour&&h.ui.ddmanager.drop(this,e),this.options.revert){var n=this,i=this.placeholder.offset(),r=this.options.axis,o={};r&&"x"!==r||(o.left=i.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),r&&"y"!==r||(o.top=i.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,h(this.helper).animate(o,parseInt(this.options.revert,10)||500,function(){n._clear(e)})}else this._clear(e,t);return!1}},cancel:function(){if(this.dragging){this._mouseUp(new h.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var e=this.containers.length-1;0<=e;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),h.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?h(this.domPosition.prev).after(this.currentItem):h(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var e=this._getItemsAsjQuery(t&&t.connected),n=[];return t=t||{},h(e).each(function(){var e=(h(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[\-=_](.+)/);e&&n.push((t.key||e[1]+"[]")+"="+(t.key&&t.expression?e[1]:e[2]))}),!n.length&&t.key&&n.push(t.key+"="),n.join("&")},toArray:function(e){var t=this._getItemsAsjQuery(e&&e.connected),n=[];return e=e||{},t.each(function(){n.push(h(e.item||this).attr(e.attribute||"id")||"")}),n},_intersectsWith:function(e){var t=this.positionAbs.left,n=t+this.helperProportions.width,i=this.positionAbs.top,r=i+this.helperProportions.height,o=e.left,a=o+e.width,s=e.top,l=s+e.height,u=this.offset.click.top,c=this.offset.click.left,d="x"===this.options.axis||s<i+u&&i+u<l,p="y"===this.options.axis||o<t+c&&t+c<a,h=d&&p;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>e[this.floating?"width":"height"]?h:o<t+this.helperProportions.width/2&&n-this.helperProportions.width/2<a&&s<i+this.helperProportions.height/2&&r-this.helperProportions.height/2<l},_intersectsWithPointer:function(e){var t,n,i="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top,e.height),r="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left,e.width);return!(!i||!r)&&(t=this._getDragVerticalDirection(),n=this._getDragHorizontalDirection(),this.floating?"right"===n||"down"===t?2:1:t&&("down"===t?2:1))},_intersectsWithSides:function(e){var t=this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top+e.height/2,e.height),n=this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left+e.width/2,e.width),i=this._getDragVerticalDirection(),r=this._getDragHorizontalDirection();return this.floating&&r?"right"===r&&n||"left"===r&&!n:i&&("down"===i&&t||"up"===i&&!t)},_getDragVerticalDirection:function(){var e=this.positionAbs.top-this.lastPositionAbs.top;return 0!==e&&(0<e?"down":"up")},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastPositionAbs.left;return 0!==e&&(0<e?"right":"left")},refresh:function(e){return this._refreshItems(e),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var e=this.options;
19return e.connectWith.constructor===String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(e){function t(){a.push(this)}var n,i,r,o,a=[],s=[],l=this._connectWith();if(l&&e)for(n=l.length-1;0<=n;n--)for(i=(r=h(l[n],this.document[0])).length-1;0<=i;i--)(o=h.data(r[i],this.widgetFullName))&&o!==this&&!o.options.disabled&&s.push([h.isFunction(o.options.items)?o.options.items.call(o.element):h(o.options.items,o.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),o]);for(s.push([h.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):h(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),n=s.length-1;0<=n;n--)s[n][0].each(t);return h(a)},_removeCurrentsFromItems:function(){var n=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=h.grep(this.items,function(e){for(var t=0;t<n.length;t++)if(n[t]===e.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var t,n,i,r,o,a,s,l,u=this.items,c=[[h.isFunction(this.options.items)?this.options.items.call(this.element[0],e,{item:this.currentItem}):h(this.options.items,this.element),this]],d=this._connectWith();if(d&&this.ready)for(t=d.length-1;0<=t;t--)for(n=(i=h(d[t],this.document[0])).length-1;0<=n;n--)(r=h.data(i[n],this.widgetFullName))&&r!==this&&!r.options.disabled&&(c.push([h.isFunction(r.options.items)?r.options.items.call(r.element[0],e,{item:this.currentItem}):h(r.options.items,r.element),r]),this.containers.push(r));for(t=c.length-1;0<=t;t--)for(o=c[t][1],n=0,l=(a=c[t][0]).length;n<l;n++)(s=h(a[n])).data(this.widgetName+"-item",o),u.push({item:s,instance:o,width:0,height:0,left:0,top:0})},refreshPositions:function(e){var t,n,i,r;for(this.floating=!!this.items.length&&("x"===this.options.axis||this._isFloating(this.items[0].item)),this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),t=this.items.length-1;0<=t;t--)(n=this.items[t]).instance!==this.currentContainer&&this.currentContainer&&n.item[0]!==this.currentItem[0]||(i=this.options.toleranceElement?h(this.options.toleranceElement,n.item):n.item,e||(n.width=i.outerWidth(),n.height=i.outerHeight()),r=i.offset(),n.left=r.left,n.top=r.top);
vendor: 24,392 bytes, lines 19-20
19if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(t=this.containers.length-1;0<=t;t--)r=this.containers[t].element.offset(),this.containers[t].containerCache.left=r.left,this.containers[t].containerCache.top=r.top,this.containers[t].containerCache.width=this.containers[t].element.outerWidth(),this.containers[t].containerCache.height=this.containers[t].element.outerHeight();return this},_createPlaceholder:function(n){var i,r=(n=n||this).options;r.placeholder&&r.placeholder.constructor!==String||(i=r.placeholder,r.placeholder={element:function(){var e=n.currentItem[0].nodeName.toLowerCase(),t=h("<"+e+">",n.document[0]);return n._addClass(t,"ui-sortable-placeholder",i||n.currentItem[0].className)._removeClass(t,"ui-sortable-helper"),"tbody"===e?n._createTrPlaceholder(n.currentItem.find("tr").eq(0),h("<tr>",n.document[0]).appendTo(t)):"tr"===e?n._createTrPlaceholder(n.currentItem,t):"img"===e&&t.attr("src",n.currentItem.attr("src")),i||t.css("visibility","hidden"),t},update:function(e,t){i&&!r.forcePlaceholderSize||(t.height()||t.height(n.currentItem.innerHeight()-parseInt(n.currentItem.css("paddingTop")||0,10)-parseInt(n.currentItem.css("paddingBottom")||0,10)),t.width()||t.width(n.currentItem.innerWidth()-parseInt(n.currentItem.css("paddingLeft")||0,10)-parseInt(n.currentItem.css("paddingRight")||0,10)))}}),n.placeholder=h(r.placeholder.element.call(n.element,n.currentItem)),n.currentItem.after(n.placeholder),r.placeholder.update(n,n.placeholder)},_createTrPlaceholder:function(e,t){var n=this;e.children().each(function(){h("<td>&#160;</td>",n.document[0]).attr("colspan",h(this).attr("colspan")||1).appendTo(t)})},_contactContainers:function(e){var t,n,i,r,o,a,s,l,u,c,d=null,p=null;for(t=this.containers.length-1;0<=t;t--)if(!h.contains(this.currentItem[0],this.containers[t].element[0]))if(this._intersectsWith(this.containers[t].containerCache)){if(d&&h.contains(this.containers[t].element[0],d.element[0]))continue;d=this.containers[t],p=t}else this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",e,this._uiHash(this)),this.containers[t].containerCache.over=0);if(d)if(1===this.containers.length)this.containers[p].containerCache.over||(this.containers[p]._trigger("over",e,this._uiHash(this)),this.containers[p].containerCache.over=1);else{for(i=1e4,r=null,o=(u=d.floating||this._isFloating(this.currentItem))?"left":"top",a=u?"width":"height",c=u?"pageX":"pageY",n=this.items.length-1;0<=n;n--)h.contains(this.containers[p].element[0],this.items[n].item[0])&&this.items[n].item[0]!==this.currentItem[0]&&(s=this.items[n].item.offset()[o],l=!1,e[c]-s>this.items[n][a]/2&&(l=!0),Math.abs(e[c]-s)<i&&(i=Math.abs(e[c]-s),r=this.items[n],this.direction=l?"up":"down"));if(!r&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[p])return void(this.currentContainer.containerCache.over||(this.containers[p]._trigger("over",e,this._uiHash()),this.currentContainer.containerCache.over=1));r?this._rearrange(e,r,null,!0):this._rearrange(e,null,this.containers[p].element,!0),this._trigger("change",e,this._uiHash()),this.containers[p]._trigger("change",e,this._uiHash(this)),this.currentContainer=this.containers[p],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[p]._trigger("over",e,this._uiHash(this)),this.containers[p].containerCache.over=1}},_createHelper:function(e){var t=this.options,n=h.isFunction(t.helper)?h(t.helper.apply(this.element[0],[e,this.currentItem])):"clone"===t.helper?this.currentItem.clone():this.currentItem;return n.parents("body").length||h("parent"!==t.appendTo?t.appendTo:this.currentItem[0].parentNode)[0].appendChild(n[0]),n[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),n[0].style.width&&!t.forceHelperSize||n.width(this.currentItem.width()),n[0].style.height&&!t.forceHelperSize||n.height(this.currentItem.height()),n},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),h.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&h.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&h.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var e=this.currentItem.position();return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,t,n,i=this.options;"parent"===i.containment&&(i.containment=this.helper[0].parentNode),"document"!==i.containment&&"window"!==i.containment||(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,"document"===i.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===i.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(i.containment)||(e=h(i.containment)[0],t=h(i.containment).offset(),n="hidden"!==h(e).css("overflow"),this.containment=[t.left+(parseInt(h(e).css("borderLeftWidth"),10)||0)+(parseInt(h(e).css("paddingLeft"),10)||0)-this.margins.left,t.top+(parseInt(h(e).css("borderTopWidth"),10)||0)+(parseInt(h(e).css("paddingTop"),10)||0)-this.margins.top,t.left+(n?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(h(e).css("borderLeftWidth"),10)||0)-(parseInt(h(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,t.top+(n?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(h(e).css("borderTopWidth"),10)||0)-(parseInt(h(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,t){t||(t=this.position);var n="absolute"===e?1:-1,i="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&h.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,r=/(html|body)/i.test(i[0].tagName);return{top:t.top+this.offset.relative.top*n+this.offset.parent.top*n-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():r?0:i.scrollTop())*n,left:t.left+this.offset.relative.left*n+this.offset.parent.left*n-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():r?0:i.scrollLeft())*n}},_generatePosition:function(e){var t,n,i=this.options,r=e.pageX,o=e.pageY,a="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&h.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,s=/(html|body)/i.test(a[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(r=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(o=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(r=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(o=this.containment[3]+this.offset.click.top)),i.grid&&(t=this.originalPageY+Math.round((o-this.originalPageY)/i.grid[1])*i.grid[1],o=this.containment?t-this.offset.click.top>=this.containment[1]&&t-this.offset.click.top<=this.containment[3]?t:t-this.offset.click.top>=this.containment[1]?t-i.grid[1]:t+i.grid[1]:t,n=this.originalPageX+Math.round((r-this.originalPageX)/i.grid[0])*i.grid[0],r=this.containment?n-this.offset.click.left>=this.containment[0]&&n-this.offset.click.left<=this.containment[2]?n:n-this.offset.click.left>=this.containment[0]?n-i.grid[0]:n+i.grid[0]:n)),{top:o-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():s?0:a.scrollTop()),left:r-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():s?0:a.scrollLeft())}},_rearrange:function(e,t,n,i){n?n[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?t.item[0]:t.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var r=this.counter;this._delay(function(){r===this.counter&&this.refreshPositions(!i)})},_clear:function(e,t){function n(t,n,i){return function(e){i._trigger(t,e,n._uiHash(n))}}this.reverting=!1;var i,r=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)"auto"!==this._storedCSS[i]&&"static"!==this._storedCSS[i]||(this._storedCSS[i]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();for(this.fromOutside&&!t&&r.push(function(e){this._trigger("receive",e,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||t||r.push(function(e){this._trigger("update",e,this._uiHash())}),this!==this.currentContainer&&(t||(r.push(function(e){this._trigger("remove",e,this._uiHash())}),r.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),r.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;0<=i;i--)t||r.push(n("deactivate",this,this.containers[i])),this.containers[i].containerCache.over&&(r.push(n("out",this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,t||this._trigger("beforeStop",e,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!t){for(i=0;i<r.length;i++)r[i].call(this,e);this._trigger("stop",e,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===h.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(e){var t=e||this;return{helper:t.helper,placeholder:t.placeholder||h([]),position:t.position,originalPosition:t.originalPosition,offset:t.positionAbs,item:t.currentItem,sender:e?e.element:null}}})}),function(e){"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}(function(e){return e.ui.escapeSelector=(t=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g,function(e){return e.replace(t,"\\$1")});var t}),function(e){"function"==typeof define&&define.amd?define(["jquery","../escape-selector","../keycode","../safe-active-element","../unique-id","../version","../widget"],e):e(jQuery)}(function(u){var r;return u.widget("ui.tabs",{version:"1.12.1",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:(r=/#.*$/,function(e){var t,n;t=e.href.replace(r,""),n=location.href.replace(r,"");try{t=decodeURIComponent(t)}catch(i){}try{n=decodeURIComponent(n)}catch(i){}return 1<e.hash.length&&t===n}),_create:function(){var t=this,e=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,e.collapsible),this._processTabs(),e.active=this._initialActive(),u.isArray(e.disabled)&&(e.disabled=u.unique(e.disabled.concat(u.map(this.tabs.filter(".ui-state-disabled"),function(e){return t.tabs.index(e)}))).sort()),!1!==this.options.active&&this.anchors.length?this.active=this._findActive(e.active):this.active=u(),this._refresh(),this.active.length&&this.load(e.active)},_initialActive:function(){var n=this.options.active,e=this.options.collapsible,i=location.hash.substring(1);return null===n&&(i&&this.tabs.each(function(e,t){if(u(t).attr("aria-controls")===i)return n=e,!1}),null===n&&(n=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),null!==n&&-1!==n||(n=!!this.tabs.length&&0)),!1!==n&&-1===(n=this.tabs.index(this.tabs.eq(n)))&&(n=!e&&0),!e&&!1===n&&this.anchors.length&&(n=0),n},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):u()}},_tabKeydown:function(e){var t=u(u.ui.safeActiveElement(this.document[0])).closest("li"),n=this.tabs.index(t),i=!0;if(!this._handlePageNav(e)){switch(e.keyCode){case u.ui.keyCode.RIGHT:case u.ui.keyCode.DOWN:n++;break;case u.ui.keyCode.UP:case u.ui.keyCode.LEFT:i=!1,n--;break;case u.ui.keyCode.END:n=this.anchors.length-1;break;case u.ui.keyCode.HOME:n=0;break;case u.ui.keyCode.SPACE:return e.preventDefault(),clearTimeout(this.activating),void this._activate(n);case u.ui.keyCode.ENTER:return e.preventDefault(),clearTimeout(this.activating),void this._activate(n!==this.options.active&&n);default:return}e.preventDefault(),clearTimeout(this.activating),n=this._focusNextTab(n,i),e.ctrlKey||e.metaKey||(t.attr("aria-selected","false"),this.tabs.eq(n).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",n)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===u.ui.keyCode.UP&&(e.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(e){return e.altKey&&e.keyCode===u.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):e.altKey&&e.keyCode===u.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(e,t){function n(){return i<e&&(e=0),e<0&&(e=i),e}for(var i=this.tabs.length-1;-1!==u.inArray(n(),this.options.disabled);)e=t?e+1:e-1;return e},_focusNextTab:function(e,t){return e=this._findNextTab(e,t),this.tabs.eq(e).trigger("focus"),e},_setOption:function(e,t){"active"!==e?(this._super(e,t),"collapsible"===e&&(this._toggleClass("ui-tabs-collapsible",null,t),t||!1!==this.options.active||this._activate(0)),"event"===e&&this._setupEvents(t),"heightStyle"===e&&this._setupHeightStyle(t)):this._activate(t)},_sanitizeSelector:function(e){return e?e.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,t=this.tablist.children(":has(a[href])");e.disabled=u.map(t.filter(".ui-state-disabled"),function(e){return t.index(e)}),this._processTabs(),!1!==e.active&&this.anchors.length?this.active.length&&!u.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=u()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=u()),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var l=this,e=this.tabs,t=this.anchors,n=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",function(e){u(this).is(".ui-state-disabled")&&e.preventDefault()}).on("focus"+this.eventNamespace,".ui-tabs-anchor",function(){u(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map(function(){return u("a",this)[0]}).attr({role:"presentation",tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=u(),this.anchors.each(function(e,t){var n,i,r,o=u(t).uniqueId().attr("id"),a=u(t).closest("li"),s=a.attr("aria-controls");l._isLocal(t)?(r=(n=t.hash).substring(1),i=l.element.find(l._sanitizeSelector(n))):(n="#"+(r=a.attr("aria-controls")||u({}).uniqueId()[0].id),(i=l.element.find(n)).length||(i=l._createPanel(r)).insertAfter(l.panels[e-1]||l.tablist),i.attr("aria-live","polite")),i.length&&(l.panels=l.panels.add(i)),s&&a.data("ui-tabs-aria-controls",s),a.attr({"aria-controls":r,"aria-labelledby":o}),i.attr("aria-labelledby",o)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),e&&(this._off(e.not(this.tabs)),this._off(t.not(this.anchors)),this._off(n.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(e){return u("<div>").attr("id",e).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(e){var t,n,i;for(u.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1),i=0;n=this.tabs[i];i++)t=u(n),!0===e||-1!==u.inArray(i,e)?(t.attr("aria-disabled","true"),this._addClass(t,null,"ui-state-disabled")):(t.removeAttr("aria-disabled"),this._removeClass(t,null,"ui-state-disabled"));this.options.disabled=e,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!0===e)},_setupEvents:function(e){var n={};e&&u.each(e.split(" "),function(e,t){n[t]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(e){e.preventDefault()}}),this._on(this.anchors,n),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(e){var n,t=this.element.parent();"fill"===e?(n=t.height(),n-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var e=u(this),t=e.css("position");"absolute"!==t&&"fixed"!==t&&(n-=e.outerHeight(!0))}),
20this.element.children().not(this.panels).each(function(){n-=u(this).outerHeight(!0)}),this.panels.each(function(){u(this).height(Math.max(0,n-u(this).innerHeight()+u(this).height()))}).css("overflow","auto")):"auto"===e&&(n=0,this.panels.each(function(){n=Math.max(n,u(this).height("").height())}).height(n))},_eventHandler:function(e){var t=this.options,n=this.active,i=u(e.currentTarget).closest("li"),r=i[0]===n[0],o=r&&t.collapsible,a=o?u():this._getPanelForTab(i),s=n.length?this._getPanelForTab(n):u(),l={oldTab:n,oldPanel:s,newTab:o?u():i,newPanel:a};e.preventDefault(),i.hasClass("ui-state-disabled")||i.hasClass("ui-tabs-loading")||this.running||r&&!t.collapsible||!1===this._trigger("beforeActivate",e,l)||(t.active=!o&&this.tabs.index(i),this.active=r?u():i,this.xhr&&this.xhr.abort(),s.length||a.length||u.error("jQuery UI Tabs: Mismatching fragment identifier."),a.length&&this.load(this.tabs.index(i),e),this._toggle(e,l))},_toggle:function(e,t){function n(){r.running=!1,r._trigger("activate",e,t)}function i(){r._addClass(t.newTab.closest("li"),"ui-tabs-active","ui-state-active"),o.length&&r.options.show?r._show(o,r.options.show,n):(o.show(),n())}var r=this,o=t.newPanel,a=t.oldPanel;this.running=!0,a.length&&this.options.hide?this._hide(a,this.options.hide,function(){r._removeClass(t.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),i()}):(this._removeClass(t.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),a.hide(),i()),a.attr("aria-hidden","true"),t.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),o.length&&a.length?t.oldTab.attr("tabIndex",-1):o.length&&this.tabs.filter(function(){return 0===u(this).attr("tabIndex")}).attr("tabIndex",-1),o.attr("aria-hidden","false"),t.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(e){var t,n=this._findActive(e);n[0]!==this.active[0]&&(n.length||(n=this.active),t=n.find(".ui-tabs-anchor")[0],this._eventHandler({target:t,currentTarget:t,preventDefault:u.noop}))},_findActive:function(e){return!1===e?u():this.tabs.eq(e)},_getIndex:function(e){return"string"==typeof e&&(e=this.anchors.index(this.anchors.filter("[href$='"+u.ui.escapeSelector(e)+"']"))),e},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){u.data(this,"ui-tabs-destroy")?u(this).remove():u(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var e=u(this),t=e.data("ui-tabs-aria-controls");t?e.attr("aria-controls",t).removeData("ui-tabs-aria-controls"):e.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(n){var e=this.options.disabled;!1!==e&&(n===undefined?e=!1:(n=this._getIndex(n),e=u.isArray(e)?u.map(e,function(e){return e!==n?e:null}):u.map(this.tabs,function(e,t){return t!==n?t:null})),this._setOptionDisabled(e))},disable:function(e){var t=this.options.disabled;if(!0!==t){if(e===undefined)t=!0;else{if(e=this._getIndex(e),-1!==u.inArray(e,t))return;t=u.isArray(t)?u.merge([e],t).sort():[e]}this._setOptionDisabled(t)}},load:function(e,i){e=this._getIndex(e);var r=this,n=this.tabs.eq(e),t=n.find(".ui-tabs-anchor"),o=this._getPanelForTab(n),a={tab:n,panel:o},s=function(e,t){"abort"===t&&r.panels.stop(!1,!0),r._removeClass(n,"ui-tabs-loading"),o.removeAttr("aria-busy"),e===r.xhr&&delete r.xhr};this._isLocal(t[0])||(this.xhr=u.ajax(this._ajaxSettings(t,i,a)),this.xhr&&"canceled"!==this.xhr.statusText&&(this._addClass(n,"ui-tabs-loading"),o.attr("aria-busy","true"),this.xhr.done(function(e,t,n){setTimeout(function(){o.html(e),r._trigger("load",i,a),s(n,t)},1)}).fail(function(e,t){setTimeout(function(){s(e,t)},1)})))},_ajaxSettings:function(e,n,i){var r=this;return{url:e.attr("href").replace(/#.*$/,""),beforeSend:function(e,t){return r._trigger("beforeLoad",n,u.extend({jqXHR:e,ajaxSettings:t},i))}}},_getPanelForTab:function(e){var t=u(e).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+t))}}),!1!==u.uiBackCompat&&u.widget("ui.tabs",u.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}}),u.ui.tabs}),function(){window.ActiveAdmin={}}.call(this),function(){var e;e=function(){if($(".batch_actions_selector li a").click(function(e){var t,n;return e.stopPropagation(),e.preventDefault(),(t=$(this).data("c
20onfirm"))?ActiveAdmin.modal_dialog(t,$(this).data("inputs"),(n=this,function(e){return $(n).trigger("confirm:complete",e)})):$(this).trigger("confirm:complete")}),$(".batch_actions_selector li a").on("confirm:complete",function(e,t){var n;return(n=JSON.stringify(t))?$("#batch_action_inputs").removeAttr("disabled").val(n):$("#batch_action_inputs").attr("disabled","disabled"),$("#batch_action").val($(this).data("action")),$("#collection_selection").submit()}),$(".batch_actions_selector").length&&$(":checkbox.toggle_all").length)return $(".paginated_collection table.index_table").length?$(".paginated_collection table.index_table").tableCheckboxToggler():$(".paginated_collection").checkboxToggler(),$(document).on("change",".paginated_collection :checkbox",function(){return $(".paginated_collection :checkbox:checked").length?$(".batch_actions_selector").each(function(){return $(this).aaDropdownMenu("enable")}):$(".batch_actions_selector").each(function(){return $(this).aaDropdownMenu("disable")})})},$(document).ready(e).on("page:load turbolinks:load",e)}.call(this),function(){ActiveAdmin.CheckboxToggler=function(){function e(e,t){var n;this.options=e,this.container=t,n={},this.options=$.extend(n,this.options),this._init(),this._bind()}return e.prototype._init=function(){if(!this.container)throw new Error("Container element not found");if(this.$container=$(this.container),!this.$container.find(".toggle_all").length)throw new Error('"toggle all" checkbox not found');return this.toggle_all_checkbox=this.$container.find(".toggle_all"),this.checkboxes=this.$container.find(":checkbox").not(this.toggle_all_checkbox)},e.prototype._bind=function(){var t,e;return this.checkboxes.change((t=this,function(e){return t._didChangeCheckbox(e.target)})),this.toggle_all_checkbox.change((e=this,function(){return e._didChangeToggleAllCheckbox()}))},e.prototype._didChangeCheckbox=function(){var e,t,n;return e=(t=this.checkboxes.filter(":checked").length)===this.checkboxes.length,n=0<t&&t<this.checkboxes.length,this.toggle_all_checkbox.prop({checked:e,indeterminate:n})},e.prototype._didChangeToggleAllCheckbox=function(){var e;return e=this.toggle_all_checkbox.prop("checked"),this.checkboxes.prop({checked:e}),e},e.prototype.option=function(e,t){return $.isPlainObject(e)?this.options=$.extend(!0,this.options,e):null!=e?this.options[e]:this.options[e]=t},e}(),$.widget.bridge("checkboxToggler",ActiveAdmin.CheckboxToggler)}.call(this),function(){var e;ActiveAdmin.DropdownMenu=function(){function e(e,t){var n;this.options=e,this.element=t,this.$element=$(this.element),n={fadeInDuration:20,fadeOutDuration:100,onClickActionItemCallback:null},this.options=$.extend(n,this.options),this.isOpen=!1,this.$menuButton=this.$element.find(".dropdown_menu_button"),this.$menuList=this.$element.find(".dropdown_menu_list_wrapper"),this._buildMenuList(),this._bind()}return e.prototype.open=function(){return this.isOpen=!0,this.$menuList.fadeIn(this.options.fadeInDuration),this._position(),this},e.prototype.close=function(){return this.isOpen=!1,this.$menuList.fadeOut(this.options.fadeOutDuration),this},e.prototype.destroy=function(){return this.$element=null,this},e.prototype.isDisabled=function(){return this.$menuButton.hasClass("disabled")},e.prototype.disable=function(){return this.$menuButton.addClass("disabled")},e.prototype.enable=function(){return this.$menuButton.removeClass("disabled")},e.prototype.option=function(e,t){return $.isPlainObject(e)?this.options=$.extend(!0,this.options,e):null!=e?this.options[e]:this.options[e]=t},e.prototype._buildMenuList=function(){return this.$nipple=$('<div class="dropdown_menu_nipple"></div>'),this.$menuList.prepend(this.$nipple),this.$menuList.hide()},e.prototype._bind=function(){var e,t;return $("body").click((e=this,function(){if(e.isOpen)return e.close()})),this.$menuButton.click((t=this,function(){return t.isDisabled()||(t.isOpen?t.close():t.open()),!1}))},e.prototype._position=function(){var e,t,n,i,r,o,a,s;return this.$menuList.css("top",this.$menuButton.position().top+this.$menuButton.outerHeight()+10),n=(t=this.$menuButton.position().left)+2*(e=this.$menuButton.outerWidth()/2),o=this.$menuList.outerWidth()/2,a=this.$nipple.outerWidth()/2,s=$(window).width(),r=t+e+o,(i=t+e-o)<0?(this.$menuList.css("left",t),this.$nipple.css("left",e-a)):s<r?(this.$menuList.css("right",s-n),this.$nipple.css("right",e-a)):(this.$menuList.css("left",i),this.$nipple.css("left",o-a))},e}(),$.widget.bridge("aaDropdownMenu",ActiveAdmin.DropdownMenu),e=function(){return $(".dropdown_menu").aaDropdownMenu()},$(document).ready(e).on("page:load turbolinks:load",e)}.call(this),function(){ActiveAdmin.flash=function(){function e(e,t,n){this.message=e,this.type=null!=t?t:"notice",this.reference=jQuery("<div>").addClass("flash flash_"+this.type).text(this.message),jQuery(".flashes").append(this.reference),null!=n&&this.close_after(n)}return e.error=function(e,t){return new this(e,"error",t)},e.notice=function(e,t){return new this(e,"notice",t)},e.prototype.reference=function(){return this.reference},e.prototype.close_after=function(e){return setTimeout((t=this,function(){return t.close()}),1e3*e);var t},e.prototype.close=function(){return this.reference.remove()},e}()}.call(this),function(){var e,s;$(function(){return $(document).on("click","a.button.has_many_remove",function(e){var t,n;return e.preventDefault(),t=$(this).closest(".has_many_container"),n=$(this).closest("fieldset"),s(t),t.trigger("has_many_remove:before",[n,t]),n.remove(),t.trigger("has_many_remove:after",[n,t])}),$(document).on("click","a.button.has_many_add",function(e){var t,n,i,r,o,a;if(e.preventDefault(),(o=$(this).closest(".has_many_container")).trigger(t=$.Event("has_many_add:before"),[o]),!t.isDefaultPrevented())return r=o.data("has_many_index")||o.children("fieldset").length-1,o.data({has_many_index:++r}),a=new RegExp($(this).data("placeholder"),"g"),i=$(this).data("html").replace(a,r),n=$(i).insertBefore(this),s(o),o.trigger("has_many_add:after",[n,o])}),$(document).on("change",'.has_many_container[data-sortable] :input[name$="[_destroy]"]',function(){return s($(this).closest(".has_many"))}),e(),$(document).on("has_many_add:after",".has_many_container",e)}),e=function(){var e;return(e=$(".has_many_container[data-sortable]:not(.ui-sortable)")).sortable({items:"> fieldset",handle:"> ol > .handle",stop:s}),e.each(s)},s=function(e){var n,i;return e=e instanceof jQuery?e:$(this),n=e.data("sortable"),i=parseInt(e.data("sortable-start")||0,10),e.children("fieldset").each(function(){var e,t;if(e=$(this).find("> ol > .input > :input[name$='[_destroy]']"),(t=$(this).find("> ol > .input > :input[name$='["+n+"]']")).length)return t.val(e.is(":checked")?"":i++)})}}.call(this),function(){ActiveAdmin.modal_dialog=function(e,t,n){var i,r,o,a,s,l,u,c,d,p,h,f;for(l in a='<form id="dialog_confirm" title="'+e+'"><ul>',t){if(p=t[l],/^(datepicker|checkbox|text|number)$/.test(p))f="input";else if("textarea"===p)f="textarea";else{if(!$.isArray(p))throw new Error("Unsupported input type: {"+l+": "+p+"}");f=(c=["select","option",p,""])[0],r=c[1],u=c[2],p=c[3]}s="datepicker"===p?p:"",a+="<li>\n<label>"+(l.charAt(0).toUpperCase()+l.slice(1))+"</label>\n<"+f+' name="'+l+'" class="'+s+'" type="'+p+'">'+(u?function(){var e,t,n;for(n=[],e=0,t=u.length;e<t;e++)h=u[e],i=$("<"+r+"/>"),$.isArray(h)?i.text(h[0]).val(h[1]):i.text(h),n.push(i.wrap("<div>").parent().html());return n}().join(""):"")+"</"+f+"></li>",f=(d=[])[0],r=d[1],u=d[2],p=d[3],s=d[4]}return a+="</ul></form>",o=$(a).appendTo("body"),$("body").trigger("modal_dialog:before_open",[o]),o.dialog({modal:!0,open:function(){return $("body").trigger("modal_dialog:after_open",[o])},dialogClass:"active_admin_dialog",buttons:{OK:function(){return n($(this).serializeObject()),$(this).dialog("close")},Cancel:function(){return $(this).dialog("close").remove()}}})}}.call(this),function(){var e;ActiveAdmin.PerPage=function(){function e(e,t){this.options=e,this.element=t,this.$element=$(this.element),this._init(),this._bind()}return e.prototype._init=function(){return this.$params=this._queryParams()},e.prototype._bind=function(){return this.$element.change((e=this,function(){return e.$params.per_page=e.$element.val(),delete e.$params.page,"undefined"!=typeof Turbolinks?Turbolinks.visit(window.location.href.split("?")[0]+"?"+$.param(e.$params)):location.search=$.param(e.$params)}));var e},e.prototype._queryParams=function(){var e,t,n,i;for(n=window.location.search.substring(1),t={},i=/([^&=]+)=([^&]*)/g;e=i.exec(n);)t[this._decode(e[1])]=this._decode(e[2]);return t},e.prototype._decode=function(e){return decodeURIComponent(e.replace(/\+/g,"%20"))},e.prototype.option=function(e,t){return $.isPlainObject(e)?this.options=$.extend(!0,this.options,e):null!=e?this.options[e]:this.options[e]=t},e}(),$.widget.bridge("perPage",ActiveAdmin.PerPage),e=function(){return $(".pagination_per_page select").perPage()},$(document).ready(e).on("page:load turbolinks:load",e)}.call(this),function(){var t=function(e,t){function n(){this.constructor=e}for(var i in t)r.call(t,i)&&(e[i]=t[i]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},r={}.hasOwnProperty;ActiveAdmin.TableCheckboxToggler=function(e){function n(){return n.__super__.constructor.apply(this,arguments)}return t(n,e),n.prototype._init=function(){return n.__super__._init.apply(this,arguments)},n.prototype._bind=function(){return n.__super__._bind.apply(this,arguments),this.$container.find("tbody td").click((t=this,function(e){if("checkbox"!==e.target.type)return t._didClickCell(e.target)}));var t},n.prototype._didChangeCheckbox=function(e){return n.__super__._didChangeCheckbox.apply(this,arguments),$(e).parents("tr").toggleClass("selected",e.checked)},n.prototype._didChangeToggleAllCheckbox=function(){return this.$container.find("tbody tr").toggleClass("selected",n.__super__._didChangeToggleAllCheckbox.apply(this,arguments))},n.prototype._didClickCell=function(e){return $(e).parent("tr").find(":checkbox").click()},n}(ActiveAdmin.CheckboxToggler),$.widget.bridge("tableCheckboxToggler",ActiveAdmin.TableCheckboxToggler)}.call(this),function(){$.ui.dialog.prototype._focusTabbable=function(){return this.uiDialog.focus()}}.call(this),function(){$.fn.serializeObject=function(){var e,t,n,i,r;for(i={},e=0,t=(r=this.serializeArray()).length;e<t;e++)i[(n=r[e]).name]=n.value;return i}}.call(this),function(){var e;e=function(){var e;if((e=$(".table_tools .batch_actions_selector")).length)return e.next().css({width:"calc(100% - 10px - "+e.outerWidth()+"px)","float":"right"})},$(document).ready(e).on("page:load turbolinks:load",e)}.call(this),function(){var e;e=function(){return $(document).on("focus","input.datepicker:not(.hasDatepicker)",function(){var e,t,n;if("date"!==(t=$(this))[0].type)return e={dateFormat:"yy-mm-dd"},n=t.data("datepicker-options"),t.datepicker($.extend(e,n))})},$(document).ready(e).on("page:load turbolinks:load",e)}.call(this),function(){var e;e=function(){return $(".clear_filters_btn").click(function(e){var i,r,o;return r=window.location.search.slice(1).split("&"),o=/^(q\[|q%5B|q%5b|page|commit)/,"undefined"!=typeof Turbolinks?(Turbolinks.visit(window.location.href.split("?")[0]+"?"+function(){var e,t,n;for(n=[],e=0,t=r.length;e<t;e++)(i=r[e]).match(o)||n.push(i);return n}().join("&")),e.preventDefault()):window.location.search=function(){var e,t,n;for(n=[],e=0,t=r.length;e<t;e++)(i=r[e]).match(o)||n.push(i);return n}().join("&")}),$(".filter_form").submit(function(e){if($(this).find(":input").filter(function(){return""===this.value}).prop("disabled",!0),"undefined"!=typeof Turbolinks)return Turbolinks.visit(window.location.href.split("?")[0]+"?"+$(this).serialize()),e.preventDefault()}),$(".filter_form_field.select_and_search select").change(function(){return $(this).siblings("input").prop({name:"q["+this.value+"]"})})},$(document).ready(e).on("page:load turbolinks:load",e)}.call(this),function(){var e;e=function(){return $("#active_admin_content .tabs").tabs()},$(document).ready(e).on("page:load turbolinks:load",e)}.call(this),$(function(){var r=!0;
20$(document).on("click touchstart","#sidebar",function(e){if(1==r){var t=$(this).position(),n=$(this).width(),i=e.target;e.pageX<t.left&&"SELECT"!=i.tagName&&"OPTION"!=i.tagName&&("0px"==$(this).css("right")?($(this).css("position","fixed"),$(this).animate({right:"-="+n},600,function(){$(this).removeAttr("style"),r=!0})):$(this).animate({right:"+="+n},600,function(){$(this).css("position","absolute"),r=!0}))}});var o=!0;$(document).on("click touchstart","#utility_nav",function(e){var t=$(this).position(),n=$("#tabs"),i=0==n.length?0:Math.round(n[0].getBoundingClientRect().width);e.pageX<t.left+40&&1==o&&(o=!1,"0px"==n.css("left")?n.animate({left:"-="+i},400,function(){o=!0}):n.animate({left:"+="+i},400,function(){o=!0}))}),$(document).on("click touchstart","body",function(e){var t=$("#tabs"),n=0==t.length?0:Math.round(t[0].getBoundingClientRect().width);"0px"==t.css("left")&&e.pageX>n&&60<e.pageY&&1==o&&(o=!1,t.animate({left:"-="+n},400,function(){o=!0}))}),$(document).on("click","#tabs .has_nested",function(e){e.stopPropagation(),$(this).toggleClass("open")})}),function(n){"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof module&&module.exports?module.exports=function(e,t){return t===undefined&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),n(t),t}:n(jQuery)}(function(n){var e=function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;var r,c,d,t;return e&&e.requirejs||(e?c=e:e={},function(h){function f(e,t){return n.call(e,t)}function a(e,t){var n,i,r,o,a,s,l,u,c,d,p,h=t&&t.split("/"),f=k.map,g=f&&f["*"]||{};if(e){for(a=(e=e.split("/")).length-1,k.nodeIdCompat&&S.test(e[a])&&(e[a]=e[a].replace(S,"")),"."===e[0].charAt(0)&&h&&(e=h.slice(0,h.length-1).concat(e)),c=0;c<e.length;c++)if("."===(p=e[c]))e.splice(c,1),c-=1;else if(".."===p){if(0===c||1===c&&".."===e[2]||".."===e[c-1])continue;0<c&&(e.splice(c-1,2),c-=2)}e=e.join("/")}if((h||g)&&f){for(c=(n=e.split("/")).length;0<c;c-=1){if(i=n.slice(0,c).join("/"),h)for(d=h.length;0<d;d-=1)if((r=f[h.slice(0,d).join("/")])&&(r=r[i])){o=r,s=c;break}if(o)break;!l&&g&&g[i]&&(l=g[i],u=c)}!o&&l&&(o=l,s=u),o&&(n.splice(0,s,o),e=n.join("/"))}return e}function g(t,n){return function(){var e=i.call(arguments,0);return"string"!=typeof e[0]&&1===e.length&&e.push(null),u.apply(h,e.concat([t,n]))}}function s(t){return function(e){return a(e,t)}}function m(t){return function(e){_[t]=e}}function v(e){if(f(x,e)){var t=x[e];delete x[e],T[e]=!0,o.apply(h,t)}if(!f(_,e)&&!f(T,e))throw new Error("No "+e);return _[e]}function l(e){var t,n=e?e.indexOf("!"):-1;return-1<n&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function y(e){return e?l(e):[]}function t(e){return function(){return k&&k.config&&k.config[e]||{}}}var o,u,b,w,_={},x={},k={},T={},n=Object.prototype.hasOwnProperty,i=[].slice,S=/\.js$/;b=function(e,t){var n,i=l(e),r=i[0],o=t[1];return e=i[1],r&&(n=v(r=a(r,o))),r?e=n&&n.normalize?n.normalize(e,s(o)):a(e,o):(r=(i=l(e=a(e,o)))[0],e=i[1],r&&(n=v(r))),{f:r?r+"!"+e:e,n:e,pr:r,p:n}},w={require:function(e){return g(e)},exports:function(e){var t=_[e];return void 0!==t?t:_[e]={}},module:function(e){return{id:e,uri:"",exports:_[e],config:t(e)}}},o=function(e,t,n,i){var r,o,a,s,l,u,c,d=[],p=typeof n;if(u=y(i=i||e),"undefined"===p||"function"===p){for(t=!t.length&&n.length?["require","exports","module"]:t,l=0;l<t.length;l+=1)if("require"===(o=(s=b(t[l],u)).f))d[l]=w.require(e);else if("exports"===o)d[l]=w.exports(e),c=!0;else if("module"===o)r=d[l]=w.module(e);else if(f(_,o)||f(x,o)||f(T,o))d[l]=v(o);else{if(!s.p)throw new Error(e+" missing "+o);s.p.load(s.n,g(i,!0),m(o),{}),d[l]=_[o]}a=n?n.apply(_[e],d):undefined,e&&(r&&r.exports!==h&&r.exports!==_[e]?_[e]=r.exports:a===h&&c||(_[e]=a))}else e&&(_[e]=n)},r=c=u=function(e,t,n,i,r){if("string"==typeof e)return w[e]?w[e](t):v(b(e,y(t)).f);if(!e.splice){if((k=e).deps&&u(k.deps,k.callback),!t)return;t.splice?(e=t,t=n,n=null):e=h}return t=t||function(){},"function"==typeof n&&(n=i,i=r),i?o(h,e,t,n):setTimeout(function(){o(h,e,t,n)},4),u},u.config=function(e){return u(e)},r._defined=_,(d=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),f(_,e)||f(x,e)||(x[e]=[e,t,n])}).amd={jQuery:!0}}(),e.requirejs=r,e.require=c,e.define=d),e.define("almond",function(){}),e.define("jquery",[],function(){var e=n||$;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e}),e.define("select2/utils",["jquery"],function(o){function d(e){var t=e.prototype,n=[];for(var i in t){"function"==typeof t[i]&&("constructor"!==i&&n.push(i))}return n}var r={Extend:function(e,t){function n(){this.constructor=e}var i={}.hasOwnProperty;for(var r in t)i.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},Decorate:function(i,r){function o(){var e=Array.prototype.unshift,t=r.prototype.constructor.length,n=i.prototype.constructor;0<t&&(e.call(arguments,i.prototype.constructor),n=r.prototype.constructor),n.apply(this,arguments)}function e(){this.constructor=o}var t=d(r),n=d(i);r.displayName=i.displayName,o.prototype=new e;for(var a=0;a<n.length;a++){var s=n[a];o.prototype[s]=i.prototype[s]}for(var l=function(e){var t=function(){};e in o.prototype&&(t=o.prototype[e]);var n=r.prototype[e];return function(){return Array.prototype.unshift.call(arguments,t),n.apply(this,arguments)}},u=0;u<t.length;u++){var c=t[u];o.prototype[c]=l(c)}return o}},e=function(){this.listeners={}};e.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},e.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1
20);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),(n[0]._type=e)in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},e.prototype.invoke=function(e,t){for(var n=0,i=e.length;n<i;n++)e[n].apply(this,t)},r.Observable=e,r.generateChars=function(e){for(var t="",n=0;n<e;n++){t+=Math.floor(36*Math.random()).toString(36)}return t},r.bind=function(e,t){return function(){e.apply(t,arguments)}},r._convertData=function(e){for(var t in e){var n=t.split("-"),i=e;if(1!==n.length){for(var r=0;r<n.length;r++){var o=n[r];(o=o.substring(0,1).toLowerCase()+o.substring(1))in i||(i[o]={}),r==n.length-1&&(i[o]=e[t]),i=i[o]}delete e[t]}}return e},r.hasScroll=function(e,t){var n=o(t),i=t.style.overflowX,r=t.style.overflowY;return(i!==r||"hidden"!==r&&"visible"!==r)&&("scroll"===i||"scroll"===r||(n.innerHeight()<t.scrollHeight||n.innerWidth()<t.scrollWidth))},r.escapeMarkup=function(e){var t={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})},r.appendMany=function(e,t){if("1.7"===o.fn.jquery.substr(0,3)){var n=o();o.map(t,function(e){n=n.add(e)}),t=n}e.append(t)},r.__cache={};var n=0;return r.GetUniqueElementId=function(e){var t=e.getAttribute("data-select2-id");return null==t&&(e.id?(t=e.id,e.setAttribute("data-select2-id",t)):(e.setAttribute("data-select2-id",++n),t=n.toString())),t},r.StoreData=function(e,t,n){var i=r.GetUniqueElementId(e);r.__cache[i]||(r.__cache[i]={}),r.__cache[i][t]=n},r.GetData=function(e,t){var n=r.GetUniqueElementId(e);return t?r.__cache[n]&&null!=r.__cache[n][t]?r.__cache[n][t]:o(e).data(t):r.__cache[n]},r.RemoveData=function(e){var t=r.GetUniqueElementId(e);null!=r.__cache[t]&&delete r.__cache[t],e.removeAttribute("data-select2-id")},r}),e.define("select2/results",["jquery","./utils"],function(h,f){function i(e,t,n){this.$element=e,this.data=n,this.options=t,i.__super__.constructor.call(this)}return f.Extend(i,f.Observable),i.prototype.render=function(){var e=h('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e},i.prototype.clear=function(){this.$results.empty()},i.prototype.displayMessage=function(e){var t=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var n=h('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),i=this.options.get("translations").get(e.message);n.append(t(i(e.args))),n[0].className+=" select2-results__message",this.$results.append(n)},i.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},i.prototype.append=function(e){this.hideLoading();var t=[];if(null!=e.results&&0!==e.results.length){e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var i=e.results[n],r=this.option(i);t.push(r)}this.$results.append(t)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},i.prototype.position=function(e,t){t.find(".select2-results").append(e)},i.prototype.sort=function(e){return this.options.get("sorter")(e)},i.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option[aria-selected]"),t=e.filter("[aria-selected=true]");0<t.length?t.first().trigger("mouseenter"):e.first().trigger("mouseenter"),this.ensureHighlightVisible()},i.prototype.setClasses=function(){var t=this;this.data.current(function(e){var i=h.map(e,function(e){return e.id.toString()});t.$results.find(".select2-results__option[aria-selected]").each(function(){var e=h(this),t=f.GetData(this,"data"),n=""+t.id;null!=t.element&&t.element.selected||null==t.element&&-1<h.inArray(n,i)?e.attr("aria-selected","true"):e.attr("aria-selected","false")})})},i.prototype.showLoading=function(e){this.hideLoading();var t={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(e)},n=this.option(t);n.className+=" loading-results",this.$results.prepend(n)},i.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},i.prototype.option=function(e){var t=document.createElement("li");t.className="select2-results__option";var n={role:"option","aria-selected":"false"},i=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var r in(null!=e.element&&i.call(e.element,":disabled")||null==e.element&&e.disabled)&&(delete n["aria-selected"],n["aria-disabled"]="true"),null==e.id&&delete n["aria-selected"],null!=e._resultId&&(t.id=e._resultId),e.title&&(t.title=e.title),e.children&&(n.role="group",n["aria-label"]=e.text,delete n["aria-selected"]),n){var o=n[r];t.setAttribute(r,o)}if(e.children){var a=h(t),s=document.createElement("strong");s.className="select2-results__group";h(s);this.template(e,s);for(var l=[],u=0;u<e.children.length;u++){var c=e.children[u],d=this.option(c);l.push(d)}var p=h("<ul></ul>",{"class":"select2-results__options select2-results__options--nested"});p.append(l),a.append(s),a.append(p)}else this.template(e,t);return f.StoreData(t,"data",e),t},i.prototype.bind=function(t){var l=this,e=t.id+"-results";this.$results.attr("id",e),t.on("results:all",function(e){l.clear(),l.append(e.data),t.isOpen()&&(l.setClasses(),l.highlightFirstItem())}),t.on("results:append",function(e){l.append(e.data),t.isOpen()&&l.setClasses()}),t.on("query",function(e){l.hideMessages(),l.showLoading(e)}
vendor: 4,848 bytes, lines 20-21
20),t.on("select",function(){t.isOpen()&&(l.setClasses(),l.options.get("scrollAfterSelect")&&l.highlightFirstItem())}),t.on("unselect",function(){t.isOpen()&&(l.setClasses(),l.options.get("scrollAfterSelect")&&l.highlightFirstItem())}),t.on("open",function(){l.$results.attr("aria-expanded","true"),l.$results.attr("aria-hidden","false"),l.setClasses(),l.ensureHighlightVisible()}),t.on("close",function(){l.$results.attr("aria-expanded","false"),l.$results.attr("aria-hidden","true"),l.$results.removeAttr("aria-activedescendant")}),t.on("results:toggle",function(){var e=l.getHighlightedResults();0!==e.length&&e.trigger("mouseup")}),t.on("results:select",function(){var e=l.getHighlightedResults();if(0!==e.length){var t=f.GetData(e[0],"data");"true"==e.attr("aria-selected")?l.trigger("close",{}):l.trigger("select",{data:t})}}),t.on("results:previous",function(){var e=l.getHighlightedResults(),t=l.$results.find("[aria-selected]"),n=t.index(e);if(!(n<=0)){var i=n-1;0===e.length&&(i=0);var r=t.eq(i);r.trigger("mouseenter");var o=l.$results.offset().top,a=r.offset().top,s=l.$results.scrollTop()+(a-o);0===i?l.$results.scrollTop(0):a-o<0&&l.$results.scrollTop(s)}}),t.on("results:next",function(){var e=l.getHighlightedResults(),t=l.$results.find("[aria-selected]"),n=t.index(e)+1;if(!(n>=t.length)){var i=t.eq(n);i.trigger("mouseenter");var r=l.$results.offset().top+l.$results.outerHeight(!1),o=i.offset().top+i.outerHeight(!1),a=l.$results.scrollTop()+o-r;0===n?l.$results.scrollTop(0):r<o&&l.$results.scrollTop(a)}}),t.on("results:focus",function(e){e.element.addClass("select2-results__option--highlighted")}),t.on("results:message",function(e){l.displayMessage(e)}),h.fn.mousewheel&&this.$results.on("mousewheel",function(e){var t=l.$results.scrollTop(),n=l.$results.get(0).scrollHeight-t+e.deltaY,i=0<e.deltaY&&t-e.deltaY<=0,r=e.deltaY<0&&n<=l.$results.height();i?(l.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):r&&(l.$results.scrollTop(l.$results.get(0).scrollHeight-l.$results.height()),e.preventDefault(),e.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(e){var t=h(this),n=f.GetData(this,"data");"true"!==t.attr("aria-selected")?l.trigger("select",{originalEvent:e,data:n}):l.options.get("multiple")?l.trigger("unselect",{originalEvent:e,data:n}):l.trigger("close",{})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(){var e=f.GetData(this,"data");l.getHighlightedResults().removeClass("select2-results__option--highlighted"),l.trigger("results:focus",{data:e,element:h(this)})})},i.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},i.prototype.destroy=function(){this.$results.remove()},i.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find("[aria-selected]").index(e),n=this.$results.offset().top,i=e.offset().top,r=this.$results.scrollTop()+(i-n),o=i-n;r-=2*e.outerHeight(!1),t<=2?this.$results.scrollTop(0):(o>this.$results.outerHeight()||o<0)&&this.$results.scrollTop(r)}},i.prototype.template=function(e,t){var n=this.options.get("templateResult"),i=this.options.get("escapeMarkup"),r=n(e,t);null==r?t.style.display="none":"string"==typeof r?t.innerHTML=i(r):h(t).append(r)},i}),e.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),e.define("select2/selection/base",["jquery","../utils","../keys"],function(n,i,r){function o(e,t){this.$element=e,this.options=t,o.__super__.constructor.call(this)}return i.Extend(o,i.Observable),o.prototype.render=function(){var e=n('<span class="select2-selection" role="combobox"  aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=i.GetData(this.$element[0],"old-tabindex")?this._tabindex=i.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),e.attr("title",this.$element.attr("title")),e.attr("tabindex",this._tabindex),e.attr("aria-disabled","false"),this.$selection=e},o.prototype.bind=function(e){var t=this,n=e.id+"-results";this.container=e,this.$selection.on("focus",function(e){t.trigger("focus",e)}),this.$selection.on("blur",function(e){t._handleBlur(e)}),this.$selection.on("keydown",function(e){t.trigger("keypress",e),e.which===r.SPACE&&e.preventDefault()}),e.on("results:focus",function(e){t.$selection.attr("aria-activedescendant",e.data._resultId)}),e.on("selection:update",function(e){t.update(e.data)}),e.on("open",function(){
21t.$selection.attr("aria-expanded","true"),t.$selection.attr("aria-owns",n),t._attachCloseHandler(e)}),e.on("close",function(){t.$selection.attr("aria-expanded","fal
21se"),t.$selection.removeAttr("aria-activedescendant"),t.$selection.removeAttr("aria-owns"),t.$selection.trigger("focus"),t._detachCloseHandler(e)}),e.on("enable",function(){t.$selection.attr("tabindex",t._tabindex),t.$selection.attr("aria-disabled","false")}),e.on("disable",function(){t.$selection.attr("tabindex","-1"),t.$selection.attr("aria-disabled","true")})},o.prototype._handleBlur=function(e){var t=this;window.setTimeout(function(){document.activeElement==t.$selection[0]||n.contains(t.$selection[0],document.activeElement)||t.trigger("blur",e)},1)},o.prototype._attachCloseHandler=function(e){n(document.body).on("mousedown.select2."+e.id,function(e){var t=n(e.target).closest(".select2");n(".select2.select2-container--open").each(function(){this!=t[0]&&i.GetData(this,"element").select2("close")})})},o.prototype._detachCloseHandler=function(e){n(document.body).off("mousedown.select2."+e.id)},o.prototype.position=function(e,t){t.find(".selection").append(e)},o.prototype.destroy=function(){this._detachCloseHandler(this.container)},o.prototype.update=function(){throw new Error("The `update` method must be defined in child classes.")},o.prototype.isEnabled=function(){return!this.isDisabled()},o.prototype.isDisabled=function(){return this.options.get("disabled")},o}),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,n){function r(){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,t),r.prototype.render=function(){var e=r.__super__.render.call(this);return e.addClass("select2-selection--single"),e.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},r.prototype.bind=function(e,t){var n=this;r.__super__.bind.apply(this,arguments);var i=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",i).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",i),this.$selection.on("mousedown",function(e){1===e.which&&n.trigger("toggle",{originalEvent:e})}),this.$selection.on("focus",function(){}),this.$selection.on("blur",function(){}),e.on("focus",function(){e.isOpen()||n.$selection.trigger("focus")})},r.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},r.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},r.prototype.selectionContainer=function(){return e("<span></span>")},r.prototype.update=function(e){if(0!==e.length){var t=e[0],n=this.$selection.find(".select2-selection__rendered"),i=this.display(t,n);n.empty().append(i);var r=t.title||t.text;r?n.attr("title",r):n.removeAttr("title")}else this.clear()},r}),e.define("select2/selection/multiple",["jquery","./base","../utils"],function(r,e,l){function n(e,t){n.__super__.constructor.apply(this,arguments)}return l.Extend(n,e),n.prototype.render=function(){var e=n.__super__.render.call(this);return e.addClass("select2-selection--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e},n.prototype.bind=function(e,t){var i=this;n.__super__.bind.apply(this,arguments),this.$selection.on("click",function(e){i.trigger("toggle",{originalEvent:e})}),this.$selection.on("click",".select2-selection__choice__remove",function(e){if(!i.isDisabled()){var t=r(this).parent(),n=l.GetData(t[0],"data");i.trigger("unselect",{originalEvent:e,data:n})}})},n.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},n.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},n.prototype.selectionContainer=function(){return r('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},n.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],n=0;n<e.length;n++){var i=e[n],r=this.selectionContainer(),o=this.display(i,r);r.append(o);var a=i.title||i.text;a&&r.attr("title",a),l.StoreData(r[0],"data",i),t.push(r)}var s=this.$selection.find(".select2-selection__rendered");l.appendMany(s,t)}},n}),e.define("select2/selection/placeholder",["../utils"],function(){function e(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n)}return e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();return n.html(this.display(t)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},e.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id;if(1<t.length||n)return e.call(this,t);this.clear();var i=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(i)},e}
vendor: 8,040 bytes, line 21
21),e.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(r,i,s){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(e){i._handleClear(e)}),t.on("keypress",function(e){i._handleKeyboardClear(e,t)})},e.prototype._handleClear=function(e,t){if(!this.isDisabled()){var n=this.$selection.find(".select2-selection__clear");if(0!==n.length){t.stopPropagation();var i=s.GetData(n[0],"data"),r=this.$element.val();this.$element.val(this.placeholder.id);var o={data:i};if(this.trigger("clear",o),o.prevented)this.$element.val(r);else{for(var a=0;a<i.length;a++)if(o={data:i[a]},this.trigger("unselect",o),o.prevented)return void this.$element.val(r);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},e.prototype._handleKeyboardClear=function(e,t,n){n.isOpen()||t.which!=i.DELETE&&t.which!=i.BACKSPACE||this._handleClear(t)},e.prototype.update=function(e,t){if(e.call(this,t),!(0<this.$selection.find(".select2-selection__placeholder").length||0===t.length)){var n=this.options.get("translations").get("removeAllItems"),i=r('<span class="select2-selection__clear" title="'+n()+'">&times;</span>');s.StoreData(i[0],"data",t),this.$selection.find(".select2-selection__rendered").prepend(i)}},e}),e.define("select2/selection/search",["jquery","../utils","../keys"],function(i,s,l){function e(e,t,n){e.call(this,t,n)}return e.prototype.render=function(e){var t=i('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></li>');this.$searchContainer=t,this.$search=t.find("input");var n=e.call(this);return this._transferTabIndex(),n},e.prototype.bind=function(e,t,n){var i=this,r=t.id+"-results";e.call(this,t,n),t.on("open",function(){i.$search.attr("aria-controls",r),i.$search.trigger("focus")}),t.on("close",function(){i.$search.val(""),i.$search.removeAttr("aria-controls"),i.$search.removeAttr("aria-activedescendant"),i.$search.trigger("focus")}),t.on("enable",function(){i.$search.prop("disabled",!1),i._transferTabIndex()}),t.on("disable",function(){i.$search.prop("disabled",!0)}),t.on("focus",function(){i.$search.trigger("focus")}),t.on("results:focus",function(e){e.data._resultId?i.$search.attr("aria-activedescendant",e.data._resultId):i.$search.removeAttr("aria-activedescendant")}),this.$selection.on("focusin",".select2-search--inline",function(e){i.trigger("focus",e)}),this.$selection.on("focusout",".select2-search--inline",function(e){i._handleBlur(e)}),this.$selection.on("keydown",".select2-search--inline",function(e){if(e.stopPropagation(),i.trigger("keypress",e),i._keyUpPrevented=e.isDefaultPrevented(),e.which===l.BACKSPACE&&""===i.$search.val()){var t=i.$searchContainer.prev(".select2-selection__choice");if(0<t.length){var n=s.GetData(t[0],"data");i.searchRemoveChoice(n),e.preventDefault()}}}),this.$selection.on("click",".select2-search--inline",function(e){i.$search.val()&&e.stopPropagation()});var o=document.documentMode,a=o&&o<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(){a?i.$selection.off("input.search input.searchcheck"):i.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(e){if(a&&"input"===e.type)i.$selection.off("input.search input.searchcheck");else{var t=e.which;t!=l.SHIFT&&t!=l.CTRL&&t!=l.ALT&&t!=l.TAB&&i.handleSearch(e)}})},e.prototype._transferTabIndex=function(){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},e.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},e.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.trigger("focus")},e.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},e.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},e.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="";""!==this.$search.attr("placeholder")?e=this.$selection.find(".select2-selection__rendered").width():e=.75*(this.$search.val().length+1)+"em";this.$search.css("width",e)},e}),e.define("select2/selection/eventRelay",["jquery"],function(a){function e(){}return e.prototype.bind=function(e,t,n){var i=this,r=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],o=["opening","closing","selecting","unselecting","clearing"];e.call(this,t,n),t.on("*",function(e,t){if(-1!==a.inArray(e,r)){t=t||{};var n=a.Event("select2:"+e,{params:t});i.$element.trigger(n),-1!==a.inArray(e,o)&&(t.prevented=n.isDefaultPrevented())}})},e}),e.define("select2/translation",["jquery","require"],function(t,n){function i(e){this.dict=e||{}}return i.prototype.all=function(){return this.dict},i.prototype.get=function(e){return this.dict[e]},i.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},i._cache={},i.loadPath=function(e){if(!(e in i._cache)){var t=n(e);i._cache[e]=t}return new i(i._cache[e])},i}),e.define("select2/diacritics",[],function(){return{"\u24b6":"A","\uff21":"A","\xc0":"A","\xc1":"A","\xc2":"A","\u1ea6":"A","\u1ea4":"A","\u1eaa":"A","\u1ea8":"A","\xc3":"A","\u0100":"A","\u0102":"A","\u1eb0":"A","\u1eae":"A","\u1eb4":"A","\u1eb2":"A","\u0226":"A","\u01e0":"A","\xc4":"A","\u01de":"A","\u1ea2":"A","\xc5":"A","\u01fa":"A","\u01cd":"A","\u0200":"A","\u0202":"A","\u1ea0":"A","\u1eac":"A","\u1eb6":"A","\u1e00":"A","\u0104":"A","\u023a":"A","\u2c6f":"A","\ua732":"AA","\xc6":"AE","\u01fc":"AE","\u01e2":"AE","\ua734":"AO","\ua736":"AU","\ua738":"AV","\ua73a":"AV","\ua73c":"AY","\u24b7":"B","\uff22":"B","\u1e02":"B","\u1e04":"B","\u1e06":"B","\u0243":"B","\u0182":"B","\u0181":"B","\u24b8":"C","\uff23":"C","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\xc7":"C","\u1e08":"C","\u0187":"C","\u023b":"C","\ua73e":"C","\u24b9":"D","\uff24":"D","\u1e0a":"D","\u010e":"D","\u1e0c":"D","\u1e10":"D","\u1e12":"D","\u1e0e":"D","\u0110":"D","\u018b":"D","\u018a":"D","\u0189":"D","\ua779":"D","\u01f1":"DZ","\u01c4":"DZ","\u01f2":"Dz","\u01c5":"Dz","\u24ba":"E","\uff25":"E","\xc8":"E","\xc9":"E","\xca":"E","\u1ec0":"E","\u1ebe":"E","\u1ec4":"E","\u1ec2":"E","\u1ebc":"E","\u0112":"E","\u1e14":"E","\u1e16":"E","\u0114":"E","\u0116":"E","\xcb":"E","\u1eba":"E","\u011a":"E","\u0204":"E","\u0206":"E","\u1eb8":"E","\u1ec6":"E","\u0228":"E","\u1e1c":"E","\u0118":"E","\u1e18":"E","\u1e1a":"E","\u0190":"E","\u018e":"E","\u24bb":"F","\uff26":"F","\u1e1e":"F","\u0191":"F","\ua77b":"F","\u24bc":"G","\uff27":"G","\u01f4":"G","\u011c":"G","\u1e20":"G","\u011e":"G","\u0120":"G","\u01e6":"G","\u0122":"G","\u01e4":"G","\u0193":"G","\ua7a0":"G","\ua77d":"G","\ua77e":"G","\u24bd":"H","\uff28":"H","\u0124":"H","\u1e22":"H","\u1e26":"H","\u021e":"H","\u1e24":"H","\u1e28":"H","\u1e2a":"H","\u0126":"H","\u2c67":"H","\u2c75":"H","\ua78d":"H","\u24be":"I","\uff29":"I","\xcc":"I","\xcd":"I","\xce":"I","\u0128":"I","\u012a":"I","\u012c":"I","\u0130":"I","\xcf":"I","\u1e2e":"I","\u1ec8":"I","\u01cf":"I","\u0208":"I","\u020a":"I","\u1eca":"I","\u012e":"I","\u1e2c":"I","\u0197":"I","\u24bf":"J","\uff2a":"J","\u0134":"J","\u0248":"J","\u24c0":"K","\uff2b":"K","\u1e30":"K","\u01e8":"K","\u1e32":"K","\u0136":"K","\u1e34":"K","\u0198":"K","\u2c69":"K","\ua740":"K","\ua742":"K","\ua744":"K","\ua7a2":"K","\u24c1":"L","\uff2c":"L","\u013f"
21:"L","\u0139":"L","\u013d":"L","\u1e36":"L","\u1e38":"L","\u013b":"L","\u1e3c":"L","\u1e3a":"L","\u0141":"L","\u023d":"L","\u2c62":"L","\u2c60":"L","\ua748":"L","\ua746":"L","\ua780":"L","\u01c7":"LJ","\u01c8":"Lj","\u24c2":"M","\uff2d":"M","\u1e3e":"M","\u1e40":"M","\u1e42":"M","\u2c6e":"M","\u019c":"M","\u24c3":"N","\uff2e":"N","\u01f8":"N","\u0143":"N","\xd1":"N","\u1e44":"N","\u0147":"N","\u1e46":"N","\u0145":"N","\u1e4a":"N","\u1e48":"N","\u0220":"N","\u019d":"N","\ua790":"N","\ua7a4":"N","\u01ca":"NJ","\u01cb":"Nj","\u24c4":"O","\uff2f":"O","\xd2":"O","\xd3":"O","\xd4":"O","\u1ed2":"O","\u1ed0":"O","\u1ed6":"O","\u1ed4":"O","\xd5":"O","\u1e4c":"O","\u022c":"O","\u1e4e":"O","\u014c":"O","\u1e50":"O","\u1e52":"O","\u014e":"O","\u022e":"O","\u0230":"O","\xd6":"O","\u022a":"O","\u1ece":"O","\u0150":"O","\u01d1":"O","\u020c":"O","\u020e":"O","\u01a0":"O","\u1edc":"O","\u1eda":"O","\u1ee0":"O","\u1ede":"O","\u1ee2":"O","\u1ecc":"O","\u1ed8":"O","\u01ea":"O","\u01ec":"O","\xd8":"O","\u01fe":"O","\u0186":"O","\u019f":"O","\ua74a":"O","\ua74c":"O","\u0152":"OE","\u01a2":"OI","\ua74e":"OO","\u0222":"OU","\u24c5":"P","\uff30":"P","\u1e54":"P","\u1e56":"P","\u01a4":"P","\u2c63":"P","\ua750":"P","\ua752":"P","\ua754":"P","\u24c6":"Q","\uff31":"Q","\ua756":"Q","\ua758":"Q","\u024a":"Q","\u24c7":"R","\uff32":"R","\u0154":"R","\u1e58":"R","\u0158":"R","\u0210":"R","\u0212":"R","\u1e5a":"R","\u1e5c":"R","\u0156":"R","\u1e5e":"R","\u024c":"R","\u2c64":"R","\ua75a":"R","\ua7a6":"R","\ua782":"R","\u24c8":"S","\uff33":"S","\u1e9e":"S","\u015a":"S","\u1e64":"S","\u015c":"S","\u1e60":"S","\u0160":"S","\u1e66":"S","\u1e62":"S","\u1e68":"S","\u0218":"S","\u015e":"S","\u2c7e":"S","\ua7a8":"S","\ua784":"S","\u24c9":"T","\uff34":"T","\u1e6a":"T","\u0164":"T","\u1e6c":"T","\u021a":"T","\u0162":"T","\u1e70":"T","\u1e6e":"T","\u0166":"T","\u01ac":"T","\u01ae":"T","\u023e":"T","\ua786":"T","\ua728":"TZ","\u24ca":"U","\uff35":"U","\xd9":"U","\xda":"U","\xdb":"U","\u0168":"U","\u1e78":"U","\u016a":"U","\u1e7a":"U","\u016c":"U","\xdc":"U","\u01db":"U","\u01d7":"U","\u01d5":"U","\u01d9":"U","\u1ee6":"U","\u016e":"U","\u0170":"U","\u01d3":"U","\u0214":"U","\u0216":"U","\u01af":"U","\u1eea":"U","\u1ee8":"U","\u1eee":"U","\u1eec":"U","\u1ef0":"U","\u1ee4":"U","\u1e72":"U","\u0172":"U","\u1e76":"U","\u1e74":"U","\u0244":"U","\u24cb":"V","\uff36":"V","\u1e7c":"V","\u1e7e":"V","\u01b2":"V","\ua75e":"V","\u0245":"V","\ua760":"VY","\u24cc":"W","\uff37":"W","\u1e80":"W","\u1e82":"W","\u0174":"W","\u1e86":"W","\u1e84":"W","\u1e88":"W","\u2c72":"W","\u24cd":"X","\uff38":"X","\u1e8a":"X","\u1e8c":"X","\u24ce":"Y","\uff39":"Y","\u1ef2":"Y","\xdd":"Y","\u0176":"Y","\u1ef8":"Y","\u0232":"Y","\u1e8e":"Y","\u0178":"Y","\u1ef6":"Y","\u1ef4":"Y","\u01b3":"Y","\u024e":"Y","\u1efe":"Y","\u24cf":"Z","\uff3a":"Z","\u0179":"Z","\u1e90":"Z","\u017b":"Z","\u017d":"Z","\u1e92":"Z","\u1e94":"Z","\u01b5":"Z","\u0224":"Z","\u2c7f":"Z","\u2c6b":"Z","\ua762":"Z","\u24d0":"a","\uff41":"a","\u1e9a":"a","\xe0":"a","\xe1":"a","\xe2":"a","\u1ea7":"a","\u1ea5":"a","\u1eab":"a","\u1ea9":"a","\xe3":"a","\u0101":"a","\u0103":"a","\u1eb1":"a","\u1eaf":"a","\u1eb5":"a","\u1eb3":"a","\u0227":"a","\u01e1":"a","\xe4":"a","\u01df":"a","\u1ea3":"a","\xe5":"a","\u01fb":"a","\u01ce":"a","\u0201":"a","\u0203":"a","\u1ea1":"a","\u1ead":"a","\u1eb7":"a","\u1e01":"a","\u0105":"a","\u2c65":"a","\u0250":"a","\ua733":"aa","\xe6":"ae","\u01fd":"ae","\u01e3":"ae","\ua735":"ao","\ua737":"au","\ua739":"av","\ua73b":"av","\ua73d":"ay","\u24d1":"b","\uff42":"b","\u1e03":"b","\u1e05":"b","\u1e07":"b","\u0180":"b","\u0183":"b","\u0253":"b","\u24d2":"c","\uff43":"c","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\xe7":"c","\u1e09":"c","\u0188":"c","\u023c":"c","\ua73f":"c","\u2184":"c","\u24d3":"d","\uff44":"d","\u1e0b":"d","\u010f":"d","\u1e0d":"d","\u1e11":"d","\u1e13":"d","\u1e0f":"d","\u0111":"d","\u018c":"d","\u0256":"d","\u0257":"d","\ua77a":"d","\u01f3":"dz","\u01c6":"dz","\u24d4":"e","\uff45":"e","\xe8":"e","\xe9":"e","\xea":"e","\u1ec1":"e","\u1ebf":"e","\u1ec5":"e","\u1ec3":"e","\u1ebd":"e","\u0113":"e","\u1e15":"e","\u1e17":"e","\u0115":"e","\u0117":"e","\xeb":"e","\u1ebb":"e","\u011b":"e","\u0205":"e","\u0207":"e","\u1eb9":"e","\u1ec7":"e","\u0229":"e","\u1e1d":"e","\u0119":"e","\u1e19":"e","\u1e1b":"e","\u0247":"e","\u025b":"e","\u01dd":"e","\u24d5":"f","\uff46":"f","\u1e1f":"f","\u0192":"f","\ua77c":"f","\u24d6":"g","\uff47":"g","\u01f5":"g","\u011d":"g","\u1e21":"g","\u011f":"g","\u0121":"g","\u01e7":"g","\u0123":"g","\u01e5":"g","\u0260":"g","\ua7a1":"g","\u1d79":"g","\ua77f":"g","\u24d7":"h","\uff48":"h","\u0125":"h","\u1e23":"h","\u1e27":"h","\u021f":"h","\u1e25":"h","\u1e29":"h","\u1e2b":"h","\u1e96":"h","\u0127":"h","\u2c68":"h","\u2c76":"h","\u0265":"h","\u0195":"hv","\u24d8":"i","\uff49":"i","\xec":"i","\xed":"i","\xee":"i","\u0129":"i","\u012b":"i","\u012d":"i","\xef":"i","\u1e2f"
vendor: 19,133 bytes, lines 21-22
21:"i","\u1ec9":"i","\u01d0":"i","\u0209":"i","\u020b":"i","\u1ecb":"i","\u012f":"i","\u1e2d":"i","\u0268":"i","\u0131":"i","\u24d9":"j","\uff4a":"j","\u0135":"j","\u01f0":"j","\u0249":"j","\u24da":"k","\uff4b":"k","\u1e31":"k","\u01e9":"k","\u1e33":"k","\u0137":"k","\u1e35":"k","\u0199":"k","\u2c6a":"k","\ua741":"k","\ua743":"k","\ua745":"k","\ua7a3":"k","\u24db":"l","\uff4c":"l","\u0140":"l","\u013a":"l","\u013e":"l","\u1e37":"l","\u1e39":"l","\u013c":"l","\u1e3d":"l","\u1e3b":"l","\u017f":"l","\u0142":"l","\u019a":"l","\u026b":"l","\u2c61":"l","\ua749":"l","\ua781":"l","\ua747":"l","\u01c9":"lj","\u24dc":"m","\uff4d":"m","\u1e3f":"m","\u1e41":"m","\u1e43":"m","\u0271":"m","\u026f":"m","\u24dd":"n","\uff4e":"n","\u01f9":"n","\u0144":"n","\xf1":"n","\u1e45":"n","\u0148":"n","\u1e47":"n","\u0146":"n","\u1e4b":"n","\u1e49":"n","\u019e":"n","\u0272":"n","\u0149":"n","\ua791":"n","\ua7a5":"n","\u01cc":"nj","\u24de":"o","\uff4f":"o","\xf2":"o","\xf3":"o","\xf4":"o","\u1ed3":"o","\u1ed1":"o","\u1ed7":"o","\u1ed5":"o","\xf5":"o","\u1e4d":"o","\u022d":"o","\u1e4f":"o","\u014d":"o","\u1e51":"o","\u1e53":"o","\u014f":"o","\u022f":"o","\u0231":"o","\xf6":"o","\u022b":"o","\u1ecf":"o","\u0151":"o","\u01d2":"o","\u020d":"o","\u020f":"o","\u01a1":"o","\u1edd":"o","\u1edb":"o","\u1ee1":"o","\u1edf":"o","\u1ee3":"o","\u1ecd":"o","\u1ed9":"o","\u01eb":"o","\u01ed":"o","\xf8":"o","\u01ff":"o","\u0254":"o","\ua74b":"o","\ua74d":"o","\u0275":"o","\u0153":"oe","\u01a3":"oi","\u0223":"ou","\ua74f":"oo","\u24df":"p","\uff50":"p","\u1e55":"p","\u1e57":"p","\u01a5":"p","\u1d7d":"p","\ua751":"p","\ua753":"p","\ua755":"p","\u24e0":"q","\uff51":"q","\u024b":"q","\ua757":"q","\ua759":"q","\u24e1":"r","\uff52":"r","\u0155":"r","\u1e59":"r","\u0159":"r","\u0211":"r","\u0213":"r","\u1e5b":"r","\u1e5d":"r","\u0157":"r","\u1e5f":"r","\u024d":"r","\u027d":"r","\ua75b":"r","\ua7a7":"r","\ua783":"r","\u24e2":"s","\uff53":"s","\xdf":"s","\u015b":"s","\u1e65":"s","\u015d":"s","\u1e61":"s","\u0161":"s","\u1e67":"s","\u1e63":"s","\u1e69":"s","\u0219":"s","\u015f":"s","\u023f":"s","\ua7a9":"s","\ua785":"s","\u1e9b":"s","\u24e3":"t","\uff54":"t","\u1e6b":"t","\u1e97":"t","\u0165":"t","\u1e6d":"t","\u021b":"t","\u0163":"t","\u1e71":"t","\u1e6f":"t","\u0167":"t","\u01ad":"t","\u0288":"t","\u2c66":"t","\ua787":"t","\ua729":"tz","\u24e4":"u","\uff55":"u","\xf9":"u","\xfa":"u","\xfb":"u","\u0169":"u","\u1e79":"u","\u016b":"u","\u1e7b":"u","\u016d":"u","\xfc":"u","\u01dc":"u","\u01d8":"u","\u01d6":"u","\u01da":"u","\u1ee7":"u","\u016f":"u","\u0171":"u","\u01d4":"u","\u0215":"u","\u0217":"u","\u01b0":"u","\u1eeb":"u","\u1ee9":"u","\u1eef":"u","\u1eed":"u","\u1ef1":"u","\u1ee5":"u","\u1e73":"u","\u0173":"u","\u1e77":"u","\u1e75":"u","\u0289":"u","\u24e5":"v","\uff56":"v","\u1e7d":"v","\u1e7f":"v","\u028b":"v","\ua75f":"v","\u028c":"v","\ua761":"vy","\u24e6":"w","\uff57":"w","\u1e81":"w","\u1e83":"w","\u0175":"w","\u1e87":"w","\u1e85":"w","\u1e98":"w","\u1e89":"w","\u2c73":"w","\u24e7":"x","\uff58":"x","\u1e8b":"x","\u1e8d":"x","\u24e8":"y","\uff59":"y","\u1ef3":"y","\xfd":"y","\u0177":"y","\u1ef9":"y","\u0233":"y","\u1e8f":"y","\xff":"y","\u1ef7":"y","\u1e99":"y","\u1ef5":"y","\u01b4":"y","\u024f":"y","\u1eff":"y","\u24e9":"z","\uff5a":"z","\u017a":"z","\u1e91":"z","\u017c":"z","\u017e":"z","\u1e93":"z","\u1e95":"z","\u01b6":"z","\u0225":"z","\u0240":"z","\u2c6c":"z","\ua763":"z","\u0386":"\u0391","\u0388":"\u0395","\u0389":"\u0397","\u038a":"\u0399","\u03aa":"\u0399","\u038c":"\u039f","\u038e":"\u03a5","\u03ab":"\u03a5","\u038f":"\u03a9","\u03ac":"\u03b1","\u03ad":"\u03b5","\u03ae":"\u03b7","\u03af":"\u03b9","\u03ca":"\u03b9","\u0390":"\u03b9","\u03cc":"\u03bf","\u03cd":"\u03c5","\u03cb":"\u03c5","\u03b0":"\u03c5","\u03ce":"\u03c9","\u03c2":"\u03c3","\u2019":"'"}}),e.define("select2/data/base",["../utils"],function(i){function e(){e.__super__.constructor.call(this)}return i.Extend(e,i.Observable),e.prototype.current=function(){throw new Error("The `current` method must be defined in child classes.")},e.prototype.query=function(){throw new Error("The `query` method must be defined in child classes.")},e.prototype.bind=function(){},e.prototype.destroy=function(){},e.prototype.generateResultId=function(e,t){var n=e.id+"-result-";return n+=i.generateChars(4),null!=t.id?n+="-"+t.id.toString():n+="-"+i.generateChars(4),n},e}),e.define("select2/data/select",["./base","../utils","jquery"],function(e,s,l){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return s.Extend(n,e),n.prototype.current=function(e){var n=[],i=this;this.$element.find(":selected").each(function(){var e=l(this),t=i.item(e);n.push(t)}),e(n)},n.prototype.select=function(r){var o=this;if(r.selected=!0,l(r.element).is("option"))return r.element.selected=!0,void this.$element.trigger("input").trigger("change");if(this.$element.prop("multiple"))this.current(function(e){var t=[];(r=[r]).push.apply(r,e);for(var n=0;n<r.length;n++){var i=r[n].id;-1===l.inArray(i,t)&&t.push(i)}o.$element.val(t),o.$element.trigger("input").trigger("change")});else{var e=r.id;this.$element.val(e),this.$element.trigger("input").trigger("change")}},n.prototype.unselect=function(r){var o=this;if(this.$element.prop("multiple")){if(r.selected=!1,l(r.element).is("option"))return r.element.selected=!1,void this.$element.trigger("input").trigger("change");this.current(function(e){for(var t=[],n=0;n<e.length;n++){var i=e[n].id;i!==r.id&&-1===l.inArray(i,t)&&t.push(i)}o.$element.val(t),o.$element.trigger("input").trigger("change")})}},n.prototype.bind=function(e){var t=this;(this.container=e).on("select",function(e){t.select(e.data)}),e.on("unselect",function(e){t.unselect(e.data)})},n.prototype.destroy=function(){this.$element.find("*").each(function(){s.RemoveData(this)})},n.prototype.query=function(i,e){var r=[],o=this;this.$element.children().each(function(){var e=l(this);if(e.is("option")||e.is("optgroup")){var t=o.item(e),n=o.matches(i,t);null!==n&&r.push(n)}}),e({results:r})},n.prototype.addOptions=function(e){s.appendMany(this.$element,e)},n.prototype.option=function(e){var t;e.children?(t=document.createElement("optgroup")).label=e.text:(t=document.createElement("option")).textContent!==undefined?t.textContent=e.text:t.innerText=e.text,e.id!==undefined&&(t.value=e.id),e.disabled&&(t.disabled=!0),e.selected&&(t.selected=!0),e.title&&(t.title=e.title);var n=l(t),i=this._normalizeItem(e);return i.element=t,s.StoreData(t,"data",i),n},n.prototype.item=function(e){var t={};if(null!=(t=s.GetData(e[0],"data")))return t;if(e.is("option"))t={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if(e.is("optgroup")){t={text:e.prop("label"),children:[],title:e.prop("title")};for(var n=e.children("option"),i=[],r=0;r<n.length;r++){var o=l(n[r]),a=this.item(o);i.push(a)}t.children=i}return(t=this._normalizeItem(t)).element=e[0],s.StoreData(e[0],"data",t),t},n.prototype._normalizeItem=function(e){e!==Object(e)&&(e={id:e,text:e});var t={selected:!1,disabled:!1};return null!=(e=l.extend({},{text:""},e)).id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),l.extend({},t,e)},n.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},n}),e.define("select2/data/array",["./select","../utils","jquery"],function(e,f,g){function i(e,t){this._dataToConvert=t.get("data")||[],i.__super__.constructor.call(this,e,t)}return f.Extend(i,e),i.prototype.bind=function(e,t){i.__super__.bind.call(this,e,t),this.addOptions(this.convertToOptions(this._dataToConvert))},i.prototype.select=function(n){var e=this.$element.find("option").filter(function(e,t){return t.value==n.id.toString()});0===e.length&&(e=this.option(n),this.addOptions(e)),i.__super__.select.call(this,n)},i.prototype.convertToOptions=function(e){function t(e){return function(){return g(this).val()==e.id}}for(var n=this,i=this.$element.find("option"),r=i.map(function(){return n.item(g(this)).id}).get(),o=[],a=0;a<e.length;a++){var s=this._normalizeItem(e[a]);if(0<=g.inArray(s.id,r)){var l=i.filter(t(s)),u=this.item(l),c=g.extend(!0,{},s,u),d=this.option(c);l.replaceWith(d)}else{var p=this.option(s);if(s.children){var h=this.convertToOptions(s.children);f.appendMany(p,h)}o.push(p)}}return o},i}),e.define("select2/data/ajax",["./array","../utils","jquery"],function(e,t,o){function n(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),n.__super__.constructor.call(this,e,t)}return t.Extend(n,e),n.prototype._applyDefaults=function(e){var t={data:function(e){return o.extend({},e,{q:e.term})},transport:function(e,t,n){var i=o.ajax(e);return i.then(t),i.fail(n),i}};return o.extend({},t,e,!0)},n.prototype.processResults=function(e){return e},n.prototype.query=function(n,i){function e(){var e=t.transport(t,function(e){var t=r.processResults(e,n);r.options.get("debug")&&window.console&&console.error&&(t&&t.results&&o.isArray(t.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),i(t)},function(){"status"in e&&(0===e.status||"0"===e.status)||r.trigger("results:message",{message:"errorLoading"})});r._request=e}var r=this;null!=this._request&&(o.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var t=o.extend({type:"GET"},this.ajaxOptions);"function"==typeof t.url&&(t.url=t.url.call(this.$element,n)),"function"==typeof t.data&&(t.data=t.data.call(this.$element,n)),this.ajaxOptions.delay&&null!=n.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(e,this.ajaxOptions.delay)):e()},n}),e.define("select2/data/tags",["jquery"],function(c){function e(e,t,n){var i=n.get("tags"),r=n.get("createTag");r!==undefined&&(this.createTag=r);var o=n.get("insertTag");if(o!==undefined&&(this.insertTag=o),e.call(this,t,n),c.isArray(i))for(var a=0;a<i.length;a++){var s=i[a],l=this._normalizeItem(s),u=this.option(l);this.$element.append(u)}}return e.prototype.query=function(e,l,u){function c(e,t){for(var n=e.results,i=0;i<n.length;i++){var r=n[i],o=null!=r.children&&!c({results:r.children},!0);if((r.text||"").toUpperCase()===(l.term||"").toUpperCase()||o)return!t&&(e.data=n,void u(e))}if(t)return!0;var a=d.createTag(l);if(null!=a){var s=d.option(a);s.attr("data-select2-tag",!0),d.addOptions([s]),d.insertTag(n,a)}e.results=n,u(e)}var d=this;this._removeOldTags(),null!=l.term&&null==l.page?e.call(this,l,c):e.call(this,l,u)},e.prototype.createTag=function(e,t){var n=c.trim(t.term);return""===n?null:{id:n,text:n}},e.prototype.insertTag=function(e,t,n){t.unshift(n)},e.prototype._removeOldTags=function(){this.$element.find("option[data-select2-tag]").each(function(){this.selected||c(this).remove()})},e}),e.define("select2/data/tokenizer",["jquery"],function(d){function e(e,t,n){var i=n.get("tokenizer");i!==undefined&&(this.tokenizer=i),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(".select2-search__field")},e.prototype.query=function(e,t,n){function i(e){var t=o._normalizeItem(e);if(!o.$element.find("option").filter(function(){return d(this).val()===t.id}).length){var n=o.option(t);n.attr("data-select2-tag",!0),o._removeOldTags(),o.addOptions([n])}r(t)}function r(e){o.trigger("select",{data:e})}var o=this;t.term=t.term||"";var a=this.tokenizer(t,this.options,i);a.term!==t.term&&(this.$search.length&&(this.$search.val(a.term),this.$search.trigger("focus")),t.term=a.term),e.call(this,t,n)},e.prototype.tokenizer=function(e,t,n,i){for(var r=n.get("tokenSeparators")||[],o=t.term,a=0,s=this.createTag||function(e){return{id:e.term,text:e.term}};a<o.length;){var l=o[a];if(-1!==d.inArray(l,r)){var u=o.substr(0,a),c=s(d.extend({},t,{term:u}));null!=c?(i(c),o=o.substr(a+1)||"",a=0):a++}else a++}return{term:o}},e}),e.define("select2/data/minimumInputLength",[],function(){function e(e,t,n){this.minimumInputLength=n.get("minimumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",t.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),e.define("select2/data/maximumInputLength",[],function(){function e(e,t,n){this.maximumInputLength=n.get("maximumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",0<this.maximumInputLength&&t.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),e.define("select2/data/maximumSelectionLength",[],function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",function(){i._checkIfMaximumSelected()})},e.prototype.query=function(e,t,n){var i=this;this._checkIfMaximumSelected(function(){e.call(i,t,n)})},e.prototype._checkIfMaximumSelected=function(e,n){var i=this;this.current(function(e){var t=null!=e?e.length:0;0<i.maximumSelectionLength&&t>=i.maximumSelectionLength?i.trigger("results:message",{message:"maximumSelected",args:{maximum:i.maximumSelectionLength}}):n&&n()})},e}),e.define("select2/dropdown",["jquery","./utils"],function(t,e){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e},n.prototype.bind=function(){},n.prototype.position=function(){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),e.define("select2/dropdown/search",["jquery","../utils"],function(o){function e(){}return e.prototype.render=function(e){var t=e.call(this),n=o('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=n,this.$search=n.find("input"),t.prepend(n),t},e.prototype.bind=function(e,t,n){var i=this,r=t.id+"-results";e.call(this,t,n),this.$search.on("keydown",function(e){i.trigger("keypress",e),i._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on("input",function(){o(this).off("keyup")}),this.$search.on(
22"keyup input",function(e){i.handleSearch(e)}),t.on("open",function(){i.$search.attr("tabindex",0),i.$search.attr("aria-controls",r),i.$search.trigger("focus"),window.setTimeout(function(){i.$search.trigger("focus")},0)}),t.on("close",function(){i.$search.attr("tabindex",-1),i.$search.removeAttr("aria-controls"),i.$search.removeAttr("aria-activedescendant"),i.$search.val(""),i.$search.trigger("blur")}),t.on("focus",function(){t.isOpen()||i.$search.trigger("focus")}),t.on("results:all",function(e){null!=e.query.term&&""!==e.query.term||(i.showSearch(e)?i.$searchContainer.removeClass("select2-search--hide"):i.$searchContainer.addClass("select2-search--hide"))}),t.on("results:focus",function(e){e.data._resultId?i.$search.attr("aria-activedescendant",e.data._resultId):i.$search.removeAttr("aria-activedescendant")})},e.prototype.handleSearch=function(){if(!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},e.prototype.showSearch=function(){return!0},e}),e.define("select2/dropdown/hidePlaceholder",[],function(){function e(e,t,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,i)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),i=t.length-1;0<=i;i--){var r=t[i];this.placeholder.id===r.id&&n.splice(i,1)}return n},e}),e.define("select2/dropdown/infiniteScroll",["jquery"],function(n){function e(e,t,n,i){this.lastParams={},e.call(this,t,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("query",function(e){i.lastParams=e,i.loading=!0}),t.on("query:append",function(e){i.lastParams=e,i.loading=!0}),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},e.prototype.loadMoreIfNeeded=function(){var e=n.contains(document.documentElement,this.$loadingMore[0]);if(!this.loading&&e){var t=this.$results.offset().top+this.$results.outerHeight(!1);this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)<=t+50&&this.loadMore()}},e.prototype.loadMore=function(){this.loading=!0;var e=n.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},e.prototype.createLoadingMore=function(){var e=n('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),t=this.options.get("translations").get("loadingMore");return e.html(t(this.lastParams)),e},e}),e.define("select2/dropdown/attachBody",["jquery","../utils"],function(h,s){function e(e,t,n){this.$dropdownParent=h(n.get("dropdownParent")||document.body),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("open",function(){i._showDropdown(),i._attachPositioningHandler(t),i._bindContainerResultHandlers(t)}),t.on("close",function(){i._hideDropdown(),i._detachPositioningHandler(t)}),this.$dropdownContainer.on("mousedown",function(e){e.stopPropagation()})},e.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},e.prototype.position=function(e,t,n){t.attr("class",n.attr("class")),t.removeClass("select2"),t.addClass("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},e.prototype.render=function(e){var t=h("<span></span>"),n=e.call(this);return t.append(n),this.$dropdownContainer=t},e.prototype._hideDropdown=function(){this.$dropdownContainer.detach()},e.prototype._bindContainerResultHandlers=function(e,t){if(!this._containerResultsHandlersBound){var n=this;t.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:message",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("select",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("unselect",function(){n._positionDropdown(),n._resizeDropdown()}),this._containerResultsHandlersBound=!0}},e.prototype._attachPositioningHandler=function(e,t){var n=this,i="scroll.
22select2."+t.id,r="resize.select2."+t.id,o="orientationchange.select2."+t.id,a=this.$container.parents().filter(s.hasScroll);a.each(function(){s.StoreData(this,"select2-scroll-position",{x:h(this).scrollLeft(),y:h(this).scrollTop()})}),a.on(i,function(){var e=s.GetData(this,"select2-scroll-position");h(this).scrollTop(e.y)}),h(window).on(i+" "+r+" "+o,function(){n._positionDropdown(),n._resizeDropdown()})},e.prototype._detachPositioningHandler=function(e,t){var n="scroll.select2."+t.id,i="resize.select2."+t.id,r="orientationchange.select2."+t.id;this.$container.parents().filter(s.hasScroll).off(n),h(window).off(n+" "+i+" "+r)},e.prototype._positionDropdown=function(){var e=h(window),t=this.$dropdown.hasClass("select2-dropdown--above"),n=this.$dropdown.hasClass("select2-dropdown--below"),i=null,r=this.$container.offset();r.bottom=r.top+this.$container.outerHeight(!1);var o={height:this.$container.outerHeight(!1)};o.top=r.top,o.bottom=r.top+o.height;var a={height:this.$dropdown.outerHeight(!1)},s={top:e.scrollTop(),bottom:e.scrollTop()+e.height()},l=s.top<r.top-a.height,u=s.bottom>r.bottom+a.height,c={left:r.left,top:o.bottom},d=this.$dropdownParent;"static"===d.css("position")&&(d=d.offsetParent());var p={top:0,left:0};(h.contains(document.body,d[0])||d[0].isConnected)&&(p=d.offset()),c.top-=p.top,c.left-=p.left,t||n||(i="below"),u||!l||t?!l&&u&&t&&(i="below"):i="above",("above"==i||t&&"below"!==i)&&(c.top=o.top-p.top-a.height),null!=i&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+i),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+i)),this.$dropdownContainer.css(c)},e.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},e.prototype._showDropdown=function(){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},e}),e.define("select2/dropdown/minimumResultsForSearch",[],function(){function r(e){for(var t=0,n=0;n<e.length;n++){var i=e[n];i.children?t+=r(i.children):t++}return t}function e(e,t,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=Infinity),e.call(this,t,n,i)}return e.prototype.showSearch=function(e,t){return!(r(t.data.results)<this.minimumResultsForSearch)&&e.call(this,t)},e}),e.define("select2/dropdown/selectOnClose",["../utils"],function(o){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("close",function(e){i._handleSelectOnClose(e)})},e.prototype._handleSelectOnClose=function(e,t){if(t&&null!=t.originalSelect2Event){var n=t.originalSelect2Event;if("select"===n._type||"unselect"===n._type)return}var i=this.getHighlightedResults();if(!(i.length<1)){var r=o.GetData(i[0],"data");null!=r.element&&r.element.selected||null==r.element&&r.selected||this.trigger("select",{data:r})}},e}),e.define("select2/dropdown/closeOnSelect",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",function(e){i._selectTriggered(e)}),t.on("unselect",function(e){i._selectTriggered(e)})},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:t})},e}),e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return 1!=t&&(n+="s"),n},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more results\u2026"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searching\u2026"},removeAllItems:function(){return"Remove all items"}}}),e.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(u,c,d,p,h,f,g,m,v,y,l,n,b,w,_,x,k,T,S,C,E,D,O,P,A,M,I,j){function e(){this.reset()}return e.prototype.apply=function(e){if(null==(e=u.extend(!0,{},this.defaults,e)).dataAdapter){if(null!=e.ajax?e.dataAdapter=_:null!=e.data?e.dataAdapter=w:e.dataAdapter=b,0<e.minimumInputLength&&(e.dataAdapter=y.Decorate(e.dataAdapter,T)),0<e.maximumInputLength&&(e.dataAdapter=y.Decorate(e.dataAdapter,S)),0<e.maximumSelectionLength&&(e.dataAdapter=y.Decorate(e.dataAdapter,C)),e.tags&&(e.dataAdapter=y.Decorate(e.dataAdapter,x)),null==e.tokenSeparators&&null==e.tokenizer||(e.dataAdapter=y.Decorate(e.dataAdapter,k)),null!=e.query){var t=c(e.amdBase+"compat/query");e.dataAdapter=y.Decorate(e.dataAdapter,t)}if(null!=e.initSelection){var n=c(e.amdBase+"compat/initSelection");e.dataAdapter=y.Decorate(e.dataAdapter,n)}}if(null==e.resultsAdapter&&(e.resultsAdapter=d,null!=e.ajax&&(e.resultsAdapter=y.Decorate(e.resultsAdapter,P)),null!=e.placeholder&&(e.resultsAdapter=y.Decorate(e.resultsAdapter,O)),e.selectOnClose&&(e.resultsAdapter=y.Decorate(e.resultsAdapter,I))),null==e.dropdownAdapter){if(e.multiple)e.dropdownAdapter=E;else{var i=y.Decorate(E,D);e.dropdownAdapter=i}if(0!==e.minimumResultsForSearch&&(e.dropdownAdapter=y.Decorate(e.dropdownAdapter,M)),e.closeOnSelect&&(e.dropdownAdapter=y.Decorate(e.dropdownAdapter,j)),null!=e.dropdownCssClass||null!=e.dropdownCss||null!=e.adaptDropdownCssClass){var r=c(e.amdBase+"compat/dropdownCss");e.dropdownAdapter=y.Decorate(e.dropdownAdapter,r)}e.dropdownAdapter=y.Decorate(e.dropdownAdapter,A)}if(null==e.selectionAdapter){if(e.multiple?e.selectionAdapter=h:e.selectionAdapter=p,null!=e.placeholder&&(e.selectionAdapter=y.Decorate(e.selectionAdapter,f)),e.allowClear&&(e.selectionAdapter=y.Decorate(e.selectionAdapter,g)),e.multiple&&(e.selectionAdapter=y.Decorate(e.selectionAdapter,m)),null!=e.containerCssClass||null!=e.containerCss||null!=e.adaptC
22ontainerCssClass){var o=c(e.amdBase+"compat/containerCss");e.selectionAdapter=y.Decorate(e.selectionAdapter,o)}e.selectionAdapter=y.Decorate(e.selectionAdapter,v)}e.language=this._resolveLanguage(e.language),e.language.push("en");for(var a=[],s=0;s<e.language.length;s++){var l=e.language[s];-1===a.indexOf(l)&&a.push(l)}return e.language=a,e.translations=this._processTranslations(e.language,e.debug),e},e.prototype.reset=function(){function a(e){function t(e){return n[e]||e}return e.replace(/[^\u0000-\u007E]/g,t)}function s(e,t){if(""===u.trim(e.term))return t;if(t.children&&0<t.children.length){for(var n=u.extend(!0,{},t),i=t.children.length-1;0<=i;i--){null==s(e,t.children[i])&&n.children.splice(i,1)}return 0<n.children.length?n:s(e,n)}var r=a(t.text).toUpperCase(),o=a(e.term).toUpperCase();return-1<r.indexOf(o)?t:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:y.escapeMarkup,language:{},matcher:s,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},e.prototype.applyFromElement=function(e,t){var n=e.language,i=this.defaults.language,r=t.prop("lang"),o=t.closest("[lang]").prop("lang"),a=Array.prototype.concat.call(this._resolveLanguage(r),this._resolveLanguage(n),this._resolveLanguage(i),this._resolveLanguage(o));return e.language=a,e},e.prototype._resolveLanguage=function(e){if(!e)return[];if(u.isEmptyObject(e))return[];if(u.isPlainObject(e))return[e];var t;t=u.isArray(e)?e:[e];for(var n=[],i=0;i<t.length;i++)if(n.push(t[i]),"string"==typeof t[i]&&0<t[i].indexOf("-")){var r=t[i].split("-")[0];n.push(r)}return n},e.prototype._processTranslations=function(e,t){for(var n=new l,i=0;i<e.length;i++){var r=new l,o=e[i];if("string"==typeof o)try{r=l.loadPath(o)}catch(a){try{o=this.defaults.amdLanguageBase+o,r=l.loadPath(o)}catch(s){t&&window.console&&console.warn&&console.warn('Select2: The language file for "'+o+'" could not be automatically loaded. A fallback will be used instead.')}}else r=u.isPlainObject(o)?new l(o):o;n.extend(r)}return n},e.prototype.set=function(e,t){var n={};n[u.camelCase(e)]=t;var i=y._convertData(n);u.extend(!0,this.defaults,i)},new e}),e.define("select2/options",["require","jquery","./defaults","./utils"],function(i,d,r,p){function e(e,t){if(this.options=e,null!=t&&this.fromElement(t),null!=t&&(this.options=r.applyFromElement(this.options,t)),this.options=r.apply(this.options),t&&t.is("input")){var n=i(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=p.Decorate(this.options.dataAdapter,n)}}return e.prototype.fromElement=function(e){function t(e,t){return t.toUpperCase()}var n=["select2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.dir&&(e.prop("dir")?this.options.dir=e.prop("dir"):e.closest("[dir]").prop("dir")?this.options.dir=e.closest("[dir]").prop("dir"):this.options.dir="ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),p.GetData(e[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),p.StoreData(e[0],"data",p.GetData(e[0],"select2Tags")),p.StoreData(e[0],"tags",!0)),p.GetData(e[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",p.GetData(e[0],"ajaxUrl")),p.StoreData(e[0],"ajax-Url",p.GetData(e[0],"ajaxUrl")));for(var i={},r=0;r<e[0].attributes.length;r++){var o=e[0].attributes[r].name,a="data-";if(o.substr(0,a.length)==a){var s=o.substring(a.length),l=p.GetData(e[0],s);i[s.replace(/-([a-z])/g,t)]=l}}d.fn.jquery&&"1."==d.fn.jquery.substr(0,2)&&e[0].dataset&&(i=d.extend(!0,{},e[0].dataset,i));var u=d.extend(!0,{},p.GetData(e[0]),i);
22for(var c in u=p._convertData(u))-1<d.inArray(c,n)||(d.isPlainObject(this.options[c])?d.extend(this.options[c],u[c]):this.options[c]=u[c]);return this},e.prototype.get=function(e){return this.options[e]},e.prototype.set=function(e,t){this.options[e]=t},e}),e.define("select2/core",["jquery","./options","./utils","./keys"],function(o,u,c,i){var d=function(e,t){null!=c.GetData(e[0],"select2")&&c.GetData(e[0],"select2").destroy(),this.$element=e,this.id=this._generateId(e),t=t||{},this.options=new u(t,e),d.__super__.constructor.call(this);var n=e.attr("tabindex")||0;c.StoreData(e[0],"old-tabindex",n),e.attr("tabindex","-1");var i=this.options.get("dataAdapter");this.dataAdapter=new i(e,this.options);var r=this.render();this._placeContainer(r);var o=this.options.get("selectionAdapter");this.selection=new o(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,r);var a=this.options.get("dropdownAdapter");this.dropdown=new a(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,r);var s=this.options.get("resultsAdapter");this.results=new s(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var l=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(e){l.trigger("selection:update",{data:e})}),e.addClass("select2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),c.StoreData(e[0],"select2",this),e.data("select2",this)};return c.Extend(d,c.Observable),d.prototype._generateId=function(e){return"select2-"+(null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+c.generateChars(2):c.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},d.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},d.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var i=this._resolveWidth(e,"style");return null!=i?i:this._resolveWidth(e,"element")}if("element"==t){var r=e.outerWidth(!1);return r<=0?"auto":r+"px"}if("style"!=t)return"computedstyle"!=t?t:window.getComputedStyle(e[0]).width;var o=e.attr("style");if("string"!=typeof o)return null;for(var a=o.split(";"),s=0,l=a.length;s<l;s+=1){var u=a[s].replace(/\s/g,"").match(n);if(null!==u&&1<=u.length)return u[1]}return null},d.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},d.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this.$element.on("focus.select2",function(e){t.trigger("focus",e)}),this._syncA=c.bind(this._syncAttributes,this),this._syncS=c.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var e=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=e?(this._observer=new e(function(e){t._syncA(),t._syncS(null,e)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",t._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",t._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",t._syncS,!1))},d.prototype._registerDataEvents=function(){var n=this;this.dataAdapter.on("*",function(e,t){n.trigger(e,t)})},d.prototype._registerSelectionEvents=function(){var n=this,i=["toggle","focus"];this.selection.on("toggle",function(){n.toggleDropdown()}),this.selection.on("focus",function(e){n.focus(e)}),this.selection.on("*",function(e,t){-1===o.inArray(e,i)&&n.trigger(e,t)})},d.prototype._registerDropdownEvents=function(){var n=this;this.dropdown.on("*",function(e,t){n.trigger(e,t)})},d.prototype._registerResultsEvents=function(){var n=this;this.results.on("*",function(e,t){n.trigger(e,t)})},d.prototype._registerEvents=function(){var n=this;this.on("open",function(){n.$container.addClass("select2-container--open")}),this.on("close",function(){n.$container.removeClass("select2-container--open")}),this.on("enable",function(){n.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){n.$container.addClass("select2-container--disabled")}),this.on("blur",function(){n.$container.removeClass("select2-container--focus")}),this.on("query",function(t){n.isOpen()||n.trigger("open",{}),this.dataAdapter.query(t,function(e){n.trigger("results:all",{data:e,query:t})})}),this.on("query:append",function(t){this.dataAdapter.query(t,function(e){n.trigger("results:append",{data:e,query:t})})}),this.on("keypress",function(e){var t=e.which;n.isOpen()?t===i.ESC||t===i.TAB||t===i.UP&&e.altKey?(n.close(e),e.preventDefault()):t===i.ENTER?(n.trigger("results:select",{}),e.preventDefault()):t===i.SPACE&&e.ctrlKey?(n.trigger("results:toggle",{}),e.preventDefault()):t===i.UP?(n.trigger("results:previous",{}),e.preventDefault()):t===i.DOWN&&(n.trigger("results:next",{}),e.preventDefault()):(t===i.ENTER||t===i.SPACE||t===i.DOWN&&e.altKey)&&(n.open(),e.preventDefault())})},d.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},d.prototype._isChangeMutation=function(e,t){var n=!1,i=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(t)if(t.addedNodes&&0<t.addedNodes.length)for(var r=0;r<t.addedNodes.length;r++){t.addedNodes[r].selected&&(n=!0)}else t.removedNodes&&0<t.removedNodes.length?n=!0:o.isArray(t)&&o.each(t,function(e,t){if(i._isChangeMutation(e,t))return!(n=!0)});else n=!0;return n}},d.prototype._syncSubtree=function(e,t){var n=this._isChangeMutation(e,t),i=this;n&&this.dataAdapter.current(function(e){i.trigger("selection:update",{data:e})})},d.prototype.trigger=function(e,t){var n=d.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(t===undefined&&(t={}),e in i){var r=i[e],o={prevented:!1,name:e,args:t};if(n.call(this,r,o),o.prevented)return void(t.prevented=!0)}n.call(this,e,t)},d.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},d.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},d.prototype.close=function(e){this.isOpen()&&this.trigger("close",{originalEvent:e})},d.prototype.isEnabled=function(){return!this.isDisabled()},d.prototype.isDisabled=function(){return this.options.get("disabled")},d.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},d.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")}
22,d.prototype.focus=function(){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},d.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=e&&0!==e.length||(e=[!0]);var t=!e[0];this.$element.prop("disabled",t)},d.prototype.data=function(){this.options.get("debug")&&0<arguments.length&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var t=[];return this.dataAdapter.current(function(e){t=e}),t},d.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();var t=e[0];o.isArray(t)&&(t=o.map(t,function(e){return e.toString()})),this.$element.val(t).trigger("input").trigger("change")},d.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",c.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),c.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},d.prototype.render=function(){var e=o('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container.addClass("select2-container--"+this.options.get("theme")),c.StoreData(e[0],"element",this.$element),e},d}),e.define("select2/compat/utils",["jquery"],function(a){function e(e,t,n){var i,r,o=[];(i=a.trim(e.attr("class")))&&a((i=""+i).split(/\s+/)).each(function(){0===this.indexOf("select2-")&&o.push(this)}),(i=a.trim(t.attr("class")))&&a((i=""+i).split(/\s+/)).each(function(){0!==this.indexOf("select2-")&&null!=(r=n(this))&&o.push(r)}),e.attr("class",o.join(" "))}return{syncCssClasses:e}}),e.define("select2/compat/containerCss",["jquery","./utils"],function(a,s){function l(){return null}function e(){}return e.prototype.render=function(e){var t=e.call(this),n=this.options.get("containerCssClass")||"";a.isFunction(n)&&(n=n(this.$element));var i=this.options.get("adaptContainerCssClass");if(i=i||l,-1!==n.indexOf(":all:")){n=n.replace(":all:","");var r=i;i=function(e){var t=r(e);return null!=t?t+" "+e:e}}
vendor: 2,705 bytes, line 22
22var o=this.options.get("containerCss")||{};return a.isFunction(o)&&(o=o(this.$element)),s.syncCssClasses(t,this.$element,i),t.css(o),t.addClass(n),t},e}),e.define("select2/compat/dropdownCss",["jquery","./utils"],function(a,s){function l(){return null}function e(){}return e.prototype.render=function(e){var t=e.call(this),n=this.options.get("dropdownCssClass")||"";a.isFunction(n)&&(n=n(this.$element));var i=this.options.get("adaptDropdownCssClass");if(i=i||l,-1!==n.indexOf(":all:")){n=n.replace(":all:","");var r=i;i=function(e){var t=r(e);return null!=t?t+" "+e:e}}var o=this.options.get("dropdownCss")||{};return a.isFunction(o)&&(o=o(this.$element)),s.syncCssClasses(t,this.$element,i),t.css(o),t.addClass(n),t},e}),e.define("select2/compat/initSelection",["jquery"],function(i){function e(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=n.get("initSelection"),this._isInitialized=!1,e.call(this,t,n)}return e.prototype.current=function(e,t){var n=this;this._isInitialized?e.call(this,t):this.initSelection.call(null,this.$element,function(e){n._isInitialized=!0,i.isArray(e)||(e=[e]),t(e)})},e}),e.define("select2/compat/inputData",["jquery","../utils"],function(a,i){function e(e,t,n){this._currentData=[],this._valueSeparator=n.get("valueSeparator")||",","hidden"===t.prop("type")&&n.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."),e.call(this,t,n)}return e.prototype.current=function(e,t){function i(e,t){var n=[];return e.selected||-1!==a.inArray(e.id,t)?(e.selected=!0,n.push(e)):e.selected=!1,e.children&&n.push.apply(n,i(e.children,t)),n}for(var n=[],r=0;r<this._currentData.length;r++){var o=this._currentData[r];n.push.apply(n,i(o,this.$element.val().split(this._valueSeparator)))}t(n)},e.prototype.select=function(e,t){if(this.options.get("multiple")){var n=this.$element.val();n+=this._valueSeparator+t.id,this.$element.val(n),this.$element.trigger("input").trigger("change")}else this.current(function(e){a.map(e,function(e){e.selected=!1})}),this.$element.val(t.id),this.$element.trigger("input").trigger("change")},e.prototype.unselect=function(e,r){var o=this;r.selected=!1,this.current(function(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];r.id!=i.id&&t.push(i.id)}
vendor: 5,291 bytes, lines 22-23
22o.$element.val(t.join(o._valueSeparator)),o.$element.trigger("input").trigger("change")})},e.prototype.query=function(e,t,n){for(var i=[],r=0;r<this._currentData.length;r++){var o=this._currentData[r],a=this.matches(t,o);null!==a&&i.push(a)}n({results:i})},e.prototype.addOptions=function(e,t){var n=a.map(t,function(e){return i.GetData(e[0],"data")});this._currentData.push.apply(this._currentData,n)},e}),e.define("select2/compat/matcher",["jquery"],function(a){function e(o){function e(e,t){var n=a.extend(!0,{},t);if(null==e.term||""===a.trim(e.term))return n;if(t.children){for(var i=t.children.length-1;0<=i;i--){var r=t.children[i];o(e.term,r.text,r)||n.children.splice(i,1)}if(0<n.children.length)return n}return o(e.term,t.text,t)?n:null}return e}return e}),e.define("select2/compat/query",[],function(){function e(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2."),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.callback=n,this.options.get("query").call(null,t)},e}),e.define("select2/dropdown/attachContainer",[],function(){function e(e,t,n){e.call(this,t,n)}return e.prototype.position=function(e,t,n){n.find(".dropdown-wrapper").append(t),t.addClass("select2-dropdown--below"),n.addClass("select2-container--below")},e}),e.define("select2/dropdown/stopPropagation",[],function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n);var i=["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"];this.$dropdown.on(i.join(" "),function(e){e.stopPropagation()})},e}),e.define("select2/selection/stopPropagation",[],function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n);var i=["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"];this.$selection.on(i.join(" "),function(e){e.stopPropagation()})},e}),t=function(p){function t(e){var t=e||window.event,n=v.call(arguments,1),i=0,r=0,o=0,a=0,s=0,l=0;if((e=p.event.fix(t)).type="mousewheel","detail"in t&&(o=-1*t.detail),"wheelDelta"in t&&(o=t.wheelDelta),"wheelDeltaY"in t&&(o=t.wheelDeltaY),"wheelDeltaX"in t&&(r=-1*t.wheelDeltaX),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(r=-1*o,o=0),i=0===o?r:o,"deltaY"in t&&(i=o=-1*t.deltaY),"deltaX"in t&&(r=t.deltaX,0===o&&(i=-1*r)),0!==o||0!==r){if(1===t.deltaMode){var u=p.data(this,"mousewheel-line-height");i*=u,o*=u,r*=u}else if(2===t.deltaMode){var c=p.data(this,"mousewheel-page-height");i*=c,o*=c,r*=c}if(a=Math.max(Math.abs(o),Math.abs(r)),(!m||a<m)&&f(t,m=a)&&(m/=40),f(t,a)&&(i/=40,r/=40,o/=40),i=Math[1<=i?"floor":"ceil"](i/m),r=Math[1<=r?"floor":"ceil"](r/m),o=Math[1<=o?"floor":"ceil"](o/m),y.settings.normalizeOffset&&this.getBoundingClientRect){var d=this.getBoundingClientRect();s=e.clientX-d.left,l=e.clientY-d.top}return e.deltaX=r,e.deltaY=o,e.deltaFactor=m,e.offsetX=s,e.offsetY=l,e.deltaMode=0,n.unshift(e,i,r,o),g&&clearTimeout(g),g=setTimeout(h,200),(p.event.dispatch||p.event.handle).apply(this,n)}}function h(){m=null}function f(e,t){return y.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}var g,m,e=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],n="onwheel"in document||9<=document.documentMode?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],v=Array.prototype.slice;if(p.event.fixHooks)for(var i=e.length;i;)p.event.fixHooks[e[--i]]=p.event.mouseHooks;var y=p.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var e=n.length;e;)this.addEventListener(n[--e],t,!1);else this.onmousewheel=t;p.data(this,"mousewheel-line-height",y.getLineHeight(this)),p.data(this,"mousewheel-page-height",y.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var e=n.length;e;)this.removeEventListener(n[--e],t,!1
23);else this.onmousewheel=null;p.removeData(this,"mousewheel-line-height"),p.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var t=p(e),n=t["offsetParent"in p.fn?"offsetParent":"parent"]();return n.length||(n=p("body")),parseInt(n.css("fontSize"),10)||parseInt(t.css("fontSize"),10)||16},getPageHeight:function(e){return p(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};p.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})},"function"==typeof e.define&&e.define.amd?e.define("jquery-mousewheel",["jquery"],t):"object"==typeof exports?module.exports=t:t(n),e.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(r,e,o,t,a){if(null==r.fn.select2){var s=["open","close","destroy"];r.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each(function(){var e=r.extend(!0,{},t);new o(r(this),e)}),this;if("string"!=typeof t)throw new Error("Invalid arguments for Select2: "+t);
23var n,i=Array.prototype.slice.call(arguments,1);return this.each(function(){var e=a.GetData(this,"select2");null==e&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),n=e[t].apply(e,i)}),-1<r.inArray(t,s)?this:n}}return null==r.fn.select2.defaults&&(r.fn.select2.defaults=t),o}),{define:e.define,require:e.require}}(),t=e.require("jquery.select2");return n.fn.select2.amd=e,t}),function(){"use strict";var v,s,r,i,l,u;l=864e5,u=3600,v=function(e,t){return"string"==typeof e&&"string"==typeof t&&e.toLowerCase()===t.toLowerCase()},s=function(e,t,n){var i=n||"0",r=e.toString();return r.length<t?s(i+r,t):r},r=function(e){var t,n;for(e=e||{},t=1;t<arguments.length;t++)if(n=arguments[t])for(var i in n)n.hasOwnProperty(i)&&("object"==typeof n[i]?r(e[i],n[i]):e[i]=n[i]);return e},i={dateSettings:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],meridiem:["AM","PM"],ordinal:function(e){var t=e%10,n={1:"st",2:"nd",3:"rd"};return 1!==Math.floor(e%100/10)&&n[t]?n[t]:"th"}},separators:/[ \-+\/\.T:@]/g,validParts:/[dDjlNSwzWFmMntLoYyaABgGhHisueTIOPZcrU]/g,intParts:/[djwNzmnyYhHgGis]/g,tzParts:/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,tzClip:/[^-+\dA-Z]/g},(DateFormatter=function(e){var t=this,n=r(i,e);t.dateSettings=n.dateSettings,t.separators=n.separators,t.validParts=n.validParts,t.intParts=n.intParts,t.tzParts=n.tzParts,t.tzClip=n.tzClip}).prototype={constructor:DateFormatter,parseDate:function(e,t){var n,i,r,o,a,s,l,u,c,d,p=this,h=!1,f=!1,g=p.dateSettings,m={date:null,year:null,month:null,day:null,hour:0,min:0,sec:0};if(!e)return undefined;if(e instanceof Date)return e;if("number"==typeof e)return new Date(e);if("U"===t)return(r=parseInt(e))?new Date(1e3*r):e;if("string"!=typeof e)return"";if(!(n=t.match(p.validParts))||0===n.length)throw new Error("Invalid date format definition.");for(i=e.replace(p.separators,"\0").split("\0"),r=0;r<i.length;r++)switch(o=i[r],a=parseInt(o),n[r]){case"y":case"Y":2===(c=o.length)?m.year=parseInt((a<70?"20":"19")+o):4===c&&(m.year=a),h=!0;break;case"m":case"n":case"M":case"F":isNaN(o)?(-1<(s=g.monthsShort.indexOf(o))&&(m.month=s+1),-1<(s=g.months.indexOf(o))&&(m.month=s+1)):1<=a&&a<=12&&(m.month=a),h=!0;break;case"d":case"j":1<=a&&a<=31&&(m.day=a),h=!0;break;case"g":case"h":d=i[l=-1<n.indexOf("a")?n.indexOf("a"):-1<n.indexOf("A")?n.indexOf("A"):-1],-1<l?(u=v(d,g.meridiem[0])?0:v(d,g.meridiem[1])?12:-1,1<=a&&a<=12&&-1<u?m.hour=a+u-1:0<=a&&a<=23&&(m.hour=a)):0<=a&&a<=23&&(m.hour=a),f=!0;break;case"G":case"H":0<=a&&a<=23&&(m.hour=a),f=!0;break;case"i":0<=a&&a<=59&&(m.min=a),f=!0;break;case"s":0<=a&&a<=59&&(m.sec=a),f=!0}if(!0===h&&m.year&&m.month&&m.day)m.date=new Date(m.year,m.month-1,m.day,m.hour,m.min,m.sec,0);else{if(!0!==f)return!1;m.date=new Date(0,0,0,m.hour,m.min,m.sec,0)}return m.date},guessDate:function(e,t){if("string"!=typeof e)return e;var n,i,r,o,a=this,s=e.replace(a.separators,"\0").split("\0"),l=/^[djmn]/g,u=t.match(a.validParts),c=new Date,d=0;if(!l.test(u[0]))return e;for(i=0;i<s.length;i++){switch(d=2,r=s[i],o=parseInt(r.substr(0,2)),i){case 0:"m"===u[0]||"n"===u[0]?c.setMonth(o-1):c.setDate(o);break;case 1:"m"===u[0]||"n"===u[0]?c.setDate(o):c.setMonth(o-1);break;case 2:n=c.getFullYear(),r.length<4?(c.setFullYear(parseInt(n.toString().substr(0,4-r.length)+r)),d=r.length):(c.setFullYear=parseInt(r.substr(0,4)),d=4);break;case 3:c.setHours(o);break;case 4:c.setMinutes(o);break;case 5:c.setSeconds(o)}0<r.substr(d).length&&s.splice(i+1,0,r.substr(d))}return c},parseFormat:function(e,i){var n,t=this,r=t.dateSettings,o=/\\?(.?)/gi,a=function(e,t){return n[e]?n[e]():t};return n={d:function(){return s(n.j(),2)},D:function(){return r.daysShort[n.w()]},j:function(){return i.getDate()},l:function(){return r.days[n.w()]},N:function(){return n.w()||7},w:function(){return i.getDay()},z:function(){var e=new Date(n.Y(),n.n()-1,n.j()),t=new Date(n.Y(),0,1);return Math.round((e-t)/l)},W:function(){var e=new Date(n.Y(),n.n()-1,n.j()-n.N()+3),t=new Date(e.getFullYear(),0,4);return s(1+Math.round((e-t)/l/7),2)},F:function(){return r.months[i.getMonth()]},m:function(){return s(n.n(),2)},M:function(){return r.monthsShort[i.getMonth()]},n:function(){return i.getMonth()+1},t:function(){return new Date(n.Y(),n.n(),0).getDate()},L:function(){var e=n.Y();return e%4==0&&e%100!=0||e%400==0?1:0},o:function(){var e=n.n(),t=n.W();return n.Y()+(12===e&&t<9?1:1===e&&9<t?-1:0)},Y:function(){return i.getFullYear()},y:function(){return n.Y().toString().slice(-2)},a:function(){return n.A().toLowerCase()},A:function(){var e=n.G()<12?0:1;return r.meridiem[e]},B:function(){var e=i.getUTCHours()*u,t=60*i.getUTCMinutes(),n=i.getUTCSeconds();return s(Math.floor((e+t+n+u)/86.4)%1e3,3)},g:function(){return n.G()%12||12},G:function(){return i.getHours()},h:function(){return s(n.g(),2)},H:function(){return s(n.G(),2)},i:function(){return s(i.getMinutes(),2)}
23,s:function(){return s(i.getSeconds(),2)},u:function(){return s(1e3*i.getMilliseconds(),6)},e:function(){return/\((.*)\)/.exec(String(i))[1]||"Coordinated Universal Time"},T:function(){return(String(i).match(t.tzParts)||[""]).pop().replace(t.tzClip,"")||"UTC"},I:function(){return new Date(n.Y(),0)-Date.UTC(n.Y(),0)!=new Date(n.Y(),6)-Date.UTC(n.Y(),6)?1:0},O:function(){var e=i.getTimezoneOffset(),t=Math.abs(e);return(0<e?"-":"+")+s(100*Math.floor(t/60)+t%60,4)},P:function(){var e=n.O();return e.substr(0,3)+":"+e.substr(3,2)},Z:function(){return 60*-i.getTimezoneOffset()},c:function(){return"Y-m-d\\TH:i:sP".replace(o,a)},r:function(){return"D, d M Y H:i:s O".replace(o,a)},U:function(){return i.getTime()/1e3||0}},a(e,e)},formatDate:function(e,t){var n,i,r,o,a,s=this,l="";if("string"==typeof e&&!1===(e=s.parseDate(e,t)))return!1;if(e instanceof Date){for(r=t.length,n=0;n<r;n++)"S"!==(a=t.charAt(n))&&(o=s.parseFormat(a,e),n!==r-1&&s.intParts.test(a)&&"S"===t.charAt(n+1)&&(i=parseInt(o),o+=s.dateSettings.ordinal(i)),l+=o);return l}return""}}}(),function(e){"function"==typeof define&&define.amd?define(["jquery","jquery-mousewheel"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(V){"use strict";function Y(e,t,n){this.date=e,this.desc=t,this.style=n}var s={i18n:{ar:{months:["\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a","\u0634\u0628\u0627\u0637","\u0622\u0630\u0627\u0631","\u0646\u064a\u0633\u0627\u0646","\u0645\u0627\u064a\u0648","\u062d\u0632\u064a\u0631\u0627\u0646","\u062a\u0645\u0648\u0632","\u0622\u0628","\u0623\u064a\u0644\u0648\u0644","\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u0623\u0648\u0644","\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a","\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644"],dayOfWeekShort:["\u0646","\u062b","\u0639","\u062e","\u062c","\u0633","\u062d"],dayOfWeek:["\u0627\u0644\u0623\u062d\u062f","\u0627\u0644\u0627\u062b\u0646\u064a\u0646","\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621","\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621","\u0627\u0644\u062e\u0645\u064a\u0633","\u0627\u0644\u062c\u0645\u0639\u0629","\u0627\u0644\u0633\u0628\u062a","\u0627\u0644\u0623\u062d\u062f"]},ro:{months:["Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie"],dayOfWeekShort:["Du","Lu","Ma","Mi","Jo","Vi","S\xe2"],dayOfWeek:["Duminic\u0103","Luni","Mar\u0163i","Miercuri","Joi","Vineri","S\xe2mb\u0103t\u0103"]},id:{months:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],dayOfWeekShort:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],dayOfWeek:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"]},is:{months:["Jan\xfaar","Febr\xfaar","Mars","Apr\xedl","Ma\xed","J\xfan\xed","J\xfal\xed","\xc1g\xfast","September","Okt\xf3ber","N\xf3vember","Desember"],dayOfWeekShort:["Sun","M\xe1n","\xderi\xf0","Mi\xf0","Fim","F\xf6s","Lau"],dayOfWeek:["Sunnudagur","M\xe1nudagur","\xderi\xf0judagur","Mi\xf0vikudagur","Fimmtudagur","F\xf6studagur","Laugardagur"]},bg:{months:["\u042f\u043d\u0443\u0430\u0440\u0438","\u0424\u0435\u0432\u0440\u0443\u0430\u0440\u0438","\u041c\u0430\u0440\u0442","\u0410\u043f\u0440\u0438\u043b","\u041c\u0430\u0439","\u042e\u043d\u0438","\u042e\u043b\u0438","\u0410\u0432\u0433\u0443\u0441\u0442","\u0421\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438","\u041e\u043a\u0442\u043e\u043c\u0432\u0440\u0438","\u041d\u043e\u0435\u043c\u0432\u0440\u0438","\u0414\u0435\u043a\u0435\u043c\u0432\u0440\u0438"],dayOfWeekShort:["\u041d\u0434","\u041f\u043d","\u0412\u0442","\u0421\u0440","\u0427\u0442","\u041f\u0442","\u0421\u0431"],dayOfWeek:["\u041d\u0435\u0434\u0435\u043b\u044f","\u041f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a","\u0412\u0442\u043e\u0440\u043d\u0438\u043a","\u0421\u0440\u044f\u0434\u0430","\u0427\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a","\u041f\u0435\u0442\u044a\u043a","\u0421\u044a\u0431\u043e\u0442\u0430"]},fa:{months:["\u0641\u0631\u0648\u0631\u062f\u06cc\u0646","\u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a","\u062e\u0631\u062f\u0627\u062f","\u062a\u06cc\u0631","\u0645\u0631\u062f\u0627\u062f","\u0634\u0647\u0631\u06cc\u0648\u0631","\u0645\u0647\u0631","\u0622\u0628\u0627\u0646","\u0622\u0630\u0631","\u062f\u06cc","\u0628\u0647\u0645\u0646","\u0627\u0633\u0641\u0646\u062f"],dayOfWeekShort:["\u06cc\u06a9\u0634\u0646\u0628\u0647","\u062f\u0648\u0634\u0646\u0628\u0647","\u0633\u0647 \u0634\u0646\u0628\u0647","\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647","\u067e\u0646\u062c\u0634\u0646\u0628\u0647","\u062c\u0645\u0639\u0647","\u0634\u0646\u0628\u0647"],dayOfWeek:["\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647","\u062f\u0648\u0634\u0646\u0628\u0647","\u0633\u0647\u200c\u0634\u0646\u0628\u0647","\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647","\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647","\u062c\u0645\u0639\u0647","\u0634\u0646\u0628\u0647","\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647"]},ru:{months:["\u042f\u043d\u0432\u0430\u0440\u044c","\u0424\u0435\u0432\u0440\u0430\u043b\u044c","\u041c\u0430\u0440\u0442","\u0410\u043f\u0440\u0435\u043b\u044c","\u041c\u0430\u0439","\u0418\u044e\u043d\u044c","\u0418\u044e\u043b\u044c","\u0410\u0432\u0433\u0443\u0441\u0442","\u0421\u0435\u043d\u0442\u044f\u0431\u0440\u044c","\u041e\u043a\u0442\u044f\u0431\u0440\u044c","\u041d\u043e\u044f\u0431\u0440\u044c","\u0414\u0435\u043a\u0430\u0431\u0440\u044c"],dayOfWeekShort:["\u0412\u0441","\u041f\u043d","\u0412\u0442","\u0421\u0440","\u0427\u0442","\u041f\u0442","\u0421\u0431"],dayOfWeek:["\u0412\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435","\u041f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a","\u0412\u0442\u043e\u0440\u043d\u0438\u043a","\u0421\u0440\u0435\u0434\u0430","\u0427\u0435\u0442\u0432\u0435\u0440\u0433","\u041f\u044f\u0442\u043d\u0438\u0446\u0430","\u0421\u0443\u0431\u0431\u043e\u0442\u0430"]}
23,uk:{months:["\u0421\u0456\u0447\u0435\u043d\u044c","\u041b\u044e\u0442\u0438\u0439","\u0411\u0435\u0440\u0435\u0437\u0435\u043d\u044c","\u041a\u0432\u0456\u0442\u0435\u043d\u044c","\u0422\u0440\u0430\u0432\u0435\u043d\u044c","\u0427\u0435\u0440\u0432\u0435\u043d\u044c","\u041b\u0438\u043f\u0435\u043d\u044c","\u0421\u0435\u0440\u043f\u0435\u043d\u044c","\u0412\u0435\u0440\u0435\u0441\u0435\u043d\u044c","\u0416\u043e\u0432\u0442\u0435\u043d\u044c","\u041b\u0438\u0441\u0442\u043e\u043f\u0430\u0434","\u0413\u0440\u0443\u0434\u0435\u043d\u044c"],dayOfWeekShort:["\u041d\u0434\u043b","\u041f\u043d\u0434","\u0412\u0442\u0440","\u0421\u0440\u0434","\u0427\u0442\u0432","\u041f\u0442\u043d","\u0421\u0431\u0442"],dayOfWeek:["\u041d\u0435\u0434\u0456\u043b\u044f","\u041f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a","\u0412\u0456\u0432\u0442\u043e\u0440\u043e\u043a","\u0421\u0435\u0440\u0435\u0434\u0430","\u0427\u0435\u0442\u0432\u0435\u0440","\u041f'\u044f\u0442\u043d\u0438\u0446\u044f","\u0421\u0443\u0431\u043e\u0442\u0430"]},en:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],dayOfWeekShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},el:{months:["\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2","\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2","\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2","\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2","\u039c\u03ac\u03b9\u03bf\u03c2","\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2","\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2","\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2","\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2","\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2","\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2","\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2"],dayOfWeekShort:["\u039a\u03c5\u03c1","\u0394\u03b5\u03c5","\u03a4\u03c1\u03b9","\u03a4\u03b5\u03c4","\u03a0\u03b5\u03bc","\u03a0\u03b1\u03c1","\u03a3\u03b1\u03b2"],dayOfWeek:["\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae","\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1","\u03a4\u03c1\u03af\u03c4\u03b7","\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7","\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7","\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae","\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf"]},de:{months:["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],dayOfWeekShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayOfWeek:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},nl:{months:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],dayOfWeekShort:["zo","ma","di","wo","do","vr","za"],dayOfWeek:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},tr:{months:["Ocak","\u015eubat","Mart","Nisan","May\u0131s","Haziran","Temmuz","A\u011fustos","Eyl\xfcl","Ekim","Kas\u0131m","Aral\u0131k"],dayOfWeekShort:["Paz","Pts","Sal","\xc7ar","Per","Cum","Cts"],dayOfWeek:["Pazar","Pazartesi","Sal\u0131","\xc7ar\u015famba","Per\u015fembe","Cuma","Cumartesi"]},fr:{months:["Janvier","F\xe9vrier","Mars","Avril","Mai","Juin","Juillet","Ao\xfbt","Septembre","Octobre","Novembre","D\xe9cembre"],dayOfWeekShort:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],dayOfWeek:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},es:{months:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],dayOfWeekShort:["Dom","Lun","Mar","Mi\xe9","Jue","Vie","S\xe1b"],dayOfWeek:["Domingo","Lunes","Martes","Mi\xe9rcoles","Jueves","Viernes","S\xe1bado"]},th:{months:["\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21","\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c","\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21","\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19","\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21","\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19","\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21","\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21","\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19","\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21","\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19","\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21"],dayOfWeekShort:["\u0e2d\u0e32.","\u0e08.","\u0e2d.","\u0e1e.","\u0e1e\u0e24.","\u0e28.","\u0e2a."],dayOfWeek:["\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c","\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c","\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23","\u0e1e\u0e38\u0e18","\u0e1e\u0e24\u0e2b\u0e31\u0e2a","\u0e28\u0e38\u0e01\u0e23\u0e4c","\u0e40\u0e2a\u0e32\u0e23\u0e4c","\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c"]},pl:{months:["stycze\u0144","luty","marzec","kwiecie\u0144","maj","czerwiec","lipiec","sierpie\u0144","wrzesie\u0144","pa\u017adziernik","listopad","grudzie\u0144"],dayOfWeekShort:["nd","pn","wt","\u015br","cz","pt","sb"],dayOfWeek:["niedziela","poniedzia\u0142ek","wtorek","\u015broda","czwartek","pi\u0105tek","sobota"]},pt:{months:["Janeiro","Fevereiro","Mar\xe7o","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],dayOfWeekShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sab"],dayOfWeek:["Domingo","Segunda","Ter\xe7a","Quarta","Quinta","Sexta","S\xe1bado"]},ch:{months:["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"],dayOfWeekShort:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"]},se:{months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],dayOfWeekShort:["S\xf6n","M\xe5n","Tis","Ons","Tor","Fre","L\xf6r"]},kr:{months:["1\uc6d4","2\uc6d4","3\uc6d4","4\uc6d4","5\uc6d4","6\uc6d4","7\uc6d4","8\uc6d4","9\uc6d4","10\uc6d4","11\uc6d4","12\uc6d4"],dayOfWeekShort:["\uc77c","\uc6d4","\ud654","\uc218","\ubaa9","\uae08","\ud1a0"],dayOfWeek:["\uc77c\uc694\uc77c","\uc6d4\uc694\uc77c","\ud654\uc694\uc77c","\uc218\uc694\uc77c","\ubaa9\uc694\uc77c","\uae08\uc694\uc77c","\ud1a0\uc694\uc77c"]},it:{months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],dayOfWeekShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],dayOfWeek:["Domenica","Luned\xec","Marted\xec","Mercoled\xec","Gioved\xec","Venerd\xec","Sabato"]},da:{months:["January","Februar","Marts","April","Maj","Juni","July","August","September","Oktober","November","December"],dayOfWeekShort:["S\xf8n","Man","Tir","Ons","Tor","Fre","L\xf8r"],dayOfWeek:["s\xf8ndag","mandag","tirsdag","onsdag","torsdag","fredag","l\xf8rdag"]},no:{months:["Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"],dayOfWeekShort:["S\xf8n","Man","Tir","Ons","Tor","Fre","L\xf8r"],dayOfWeek:["S\xf8ndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","L\xf8rdag"]},ja:{months:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],dayOfWeekShort:["\u65e5","\u6708","\u706b","\u6c34","\u6728","\u91d1","\u571f"],dayOfWeek:["\u65e5\u66dc","\u6708\u66dc","\u706b\u66dc","\u6c34\u66dc","\u6728\u66dc","\u91d1\u66dc","\u571f\u66dc"]},vi:{months:["Th\xe1ng 1","Th\xe1ng 2","Th\xe1ng 3","Th\xe1ng 4","Th\xe1ng 5","Th\xe1ng 6","Th\xe1ng 7","Th\xe1ng 8","Th\xe1ng 9","Th\xe1ng 10","Th\xe1ng 11","Th\xe1ng 12"],dayOfWeekShort:["CN","T2","T3","T4","T5","T6","T7"],dayOfWeek:["Ch\u1ee7 nh\u1eadt","Th\u1ee9 hai","Th\u1ee9 ba","Th\u1ee9 t\u01b0","Th\u1ee9 n\u0103m","Th\u1ee9 s\xe1u","Th\u1ee9 b\u1ea3y"]},sl:{months:["Januar","Februar","Marec","April","Maj","Junij","Julij","Avgust","September","Oktober","November","December"],dayOfWeekShort:["Ned","Pon","Tor","Sre","\u010cet","Pet","Sob"],dayOfWeek:["Nedelja","Ponedeljek","Torek","Sreda","\u010cetrtek","Petek","Sobota"]},cs:{months:["Leden","\xdanor","B\u0159ezen","Duben","Kv\u011bten","\u010cerven","\u010cervenec","Srpen","Z\xe1\u0159\xed","\u0158\xedjen","Listopad","Prosinec"],dayOfWeekShort:["Ne","Po","\xdat","St","\u010ct","P\xe1","So"]},hu:{months:["Janu\xe1r","Febru\xe1r","M\xe1rcius","\xc1prilis","M\xe1jus","J\xfanius","J\xfal
23ius","Augusztus","Szeptember","Okt\xf3ber","November","December"],dayOfWeekShort:["Va","H\xe9","Ke","Sze","Cs","P\xe9","Szo"],dayOfWeek:["vas\xe1rnap","h\xe9tf\u0151","kedd","szerda","cs\xfct\xf6rt\xf6k","p\xe9ntek","szombat"]},az:{months:["Yanvar","Fevral","Mart","Aprel","May","Iyun","Iyul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr"],dayOfWeekShort:["B","Be","\xc7a","\xc7","Ca","C","\u015e"],dayOfWeek:["Bazar","Bazar ert\u0259si","\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131","\xc7\u0259r\u015f\u0259nb\u0259","C\xfcm\u0259 ax\u015fam\u0131","C\xfcm\u0259","\u015e\u0259nb\u0259"]},bs:{months:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],dayOfWeekShort:["Ned","Pon","Uto","Sri","\u010cet","Pet","Sub"],dayOfWeek:["Nedjelja","Ponedjeljak","Utorak","Srijeda","\u010cetvrtak","Petak","Subota"]},ca:{months:["Gener","Febrer","Mar\xe7","Abril","Maig","Juny","Juliol","Agost","Setembre","Octubre","Novembre","Desembre"],dayOfWeekShort:["Dg","Dl","Dt","Dc","Dj","Dv","Ds"],dayOfWeek:["Diumenge","Dilluns","Dimarts","Dimecres","Dijous","Divendres","Dissabte"]},"en-GB":{months:["January","February","March","April","May","June","July","August","September","October","November","December"],dayOfWeekShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},et:{months:["Jaanuar","Veebruar","M\xe4rts","Aprill","Mai","Juuni","Juuli","August","September","Oktoober","November","Detsember"],dayOfWeekShort:["P","E","T","K","N","R","L"],dayOfWeek:["P\xfchap\xe4ev","Esmasp\xe4ev","Teisip\xe4ev","Kolmap\xe4ev","Neljap\xe4ev","Reede","Laup\xe4ev"]},eu:{months:["Urtarrila","Otsaila","Martxoa","Apirila","Maiatza","Ekaina","Uztaila","Abuztua","Iraila","Urria","Azaroa","Abendua"],dayOfWeekShort:["Ig.","Al.","Ar.","Az.","Og.","Or.","La."],dayOfWeek:["Igandea","Astelehena","Asteartea","Asteazkena","Osteguna","Ostirala","Larunbata"]},fi:{months:["Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kes\xe4kuu","Hein\xe4kuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu"],dayOfWeekShort:["Su","Ma","Ti","Ke","To","Pe","La"],dayOfWeek:["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"]},gl:{months:["Xan","Feb","Maz","Abr","Mai","Xun","Xul","Ago","Set","Out","Nov","Dec"],dayOfWeekShort:["Dom","Lun","Mar","Mer","Xov","Ven","Sab"],dayOfWeek:["Domingo","Luns","Martes","M\xe9rcores","Xoves","Venres","S\xe1bado"]},hr:{months:["Sije\u010danj","Velja\u010da","O\u017eujak","Travanj","Svibanj","Lipanj","Srpanj","Kolovoz","Rujan","Listopad","Studeni","Prosinac"],dayOfWeekShort:["Ned","Pon","Uto","Sri","\u010cet","Pet","Sub"],dayOfWeek:["Nedjelja","Ponedjeljak","Utorak","Srijeda","\u010cetvrtak","Petak","Subota"]},ko:{months:["1\uc6d4","2\uc6d4","3\uc6d4","4\uc6d4","5\uc6d4","6\uc6d4","7\uc6d4","8\uc6d4","9\uc6d4","10\uc6d4","11\uc6d4","12\uc6d4"],dayOfWeekShort:["\uc77c","\uc6d4","\ud654","\uc218","\ubaa9","\uae08","\ud1a0"],dayOfWeek:["\uc77c\uc694\uc77c","\uc6d4\uc694\uc77c","\ud654\uc694\uc77c","\uc218\uc694\uc77c","\ubaa9\uc694\uc77c","\uae08\uc694\uc77c","\ud1a0\uc694\uc77c"]},lt:{months:["Sausio","Vasario","Kovo","Baland\u017eio","Gegu\u017e\u0117s","Bir\u017eelio","Liepos","Rugpj\u016b\u010dio","Rugs\u0117jo","Spalio","Lapkri\u010dio","Gruod\u017eio"],dayOfWeekShort:["Sek","Pir","Ant","Tre","Ket","Pen","\u0160e\u0161"],dayOfWeek:["Sekmadienis","Pirmadienis","Antradienis","Tre\u010diadienis","Ketvirtadienis","Penktadienis","\u0160e\u0161tadienis"]},lv:{months:["Janv\u0101ris","Febru\u0101ris","Marts","Apr\u012blis ","Maijs","J\u016bnijs","J\u016blijs","Augusts","Septembris","Oktobris","Novembris","Decembris"],dayOfWeekShort:["Sv","Pr","Ot","Tr","Ct","Pk","St"],dayOfWeek:["Sv\u0113tdiena","Pirmdiena","Otrdiena","Tre\u0161diena","Ceturtdiena","Piektdiena","Sestdiena"]},mk:{months:["\u0458\u0430\u043d\u0443\u0430\u0440\u0438","\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438","\u043c\u0430\u0440\u0442","\u0430\u043f\u0440\u0438\u043b","\u043c\u0430\u0458","\u0458\u0443\u043d\u0438","\u0458\u0443\u043b\u0438","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438","\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438","\u043d\u043e\u0435\u043c\u0432\u0440\u0438","\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438"],dayOfWeekShort:["\u043d\u0435\u0434","\u043f\u043e\u043d","\u0432\u0442\u043e","\u0441\u0440\u0435","\u0447\u0435\u0442","\u043f\u0435\u0442","\u0441\u0430\u0431"],dayOfWeek:["\u041d\u0435\u0434\u0435\u043b\u0430","\u041f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a","\u0412\u0442\u043e\u0440\u043d\u0438\u043a","\u0421\u0440\u0435\u0434\u0430","\u0427\u0435\u0442\u0432\u0440\u0442\u043e\u043a","\u041f\u0435\u0442\u043e\u043a","\u0421\u0430\u0431\u043e\u0442\u0430"]},mn:{months:["1-\u0440 \u0441\u0430\u0440","2-\u0440 \u0441\u0430\u0440","3-\u0440 \u0441\u0430\u0440","4-\u0440 \u0441\u0430\u0440","5-\u0440 \u0441\u0430\u0440","6-\u0440 \u0441\u0430\u0440","7-\u0440 \u0441\u0430\u0440","8-\u0440 \u0441\u0430\u0440","9-\u0440 \u0441\u0430\u0440","10-\u0440 \u0441\u0430\u0440","11-\u0440 \u0441\u0430\u0440","12-\u0440 \u0441\u0430\u0440"],dayOfWeekShort:["\u0414\u0430\u0432","\u041c\u044f\u0433","\u041b\u
230445\u0430","\u041f\u04af\u0440","\u0411\u0441\u043d","\u0411\u044f\u043c","\u041d\u044f\u043c"],dayOfWeek:["\u0414\u0430\u0432\u0430\u0430","\u041c\u044f\u0433\u043c\u0430\u0440","\u041b\u0445\u0430\u0433\u0432\u0430","\u041f\u04af\u0440\u044d\u0432","\u0411\u0430\u0430\u0441\u0430\u043d","\u0411\u044f\u043c\u0431\u0430","\u041d\u044f\u043c"]},"pt-BR":{months:["Janeiro","Fevereiro","Mar\xe7o","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],dayOfWeekShort:["Dom","Seg","Ter","Qua","Qui","Sex","S\xe1b"],dayOfWeek:["Domingo","Segunda","Ter\xe7a","Quarta","Quinta","Sexta","S\xe1bado"]},sk:{months:["Janu\xe1r","Febru\xe1r","Marec","Apr\xedl","M\xe1j","J\xfan","J\xfal","August","September","Okt\xf3ber","November","December"],dayOfWeekShort:["Ne","Po","Ut","St","\u0160t","Pi","So"],dayOfWeek:["Nede\u013ea","Pondelok","Utorok","Streda","\u0160tvrtok","Piatok","Sobota"]},sq:{months:["Janar","Shkurt","Mars","Prill","Maj","Qershor","Korrik","Gusht","Shtator","Tetor","N\xebntor","Dhjetor"],dayOfWeekShort:["Die","H\xebn","Mar","M\xebr","Enj","Pre","Shtu"],dayOfWeek:["E Diel","E H\xebn\xeb","E Mart\u0113","E M\xebrkur\xeb","E Enjte","E Premte","E Shtun\xeb"]},"sr-YU":{months:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],dayOfWeekShort:["Ned","Pon","Uto","Sre","\u010det","Pet","Sub"],dayOfWeek:["Nedelja","Ponedeljak","Utorak","Sreda","\u010cetvrtak","Petak","Subota"]},sr:{months:["\u0458\u0430\u043d\u0443\u0430\u0440","\u0444\u0435\u0431\u0440\u0443\u0430\u0440","\u043c\u0430\u0440\u0442","\u0430\u043f\u0440\u0438\u043b","\u043c\u0430\u0458","\u0458\u0443\u043d","\u0458\u0443\u043b","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440","\u043e\u043a\u0442\u043e\u0431\u0430\u0440","\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440","\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440"],dayOfWeekShort:["\u043d\u0435\u0434","\u043f\u043e\u043d","\u0443\u0442\u043e","\u0441\u0440\u0435","\u0447\u0435\u0442","\u043f\u0435\u0442","\u0441\u0443\u0431"],dayOfWeek:["\u041d\u0435\u0434\u0435\u0459\u0430","\u041f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a","\u0423\u0442\u043e\u0440\u0430\u043a","\u0421\u0440\u0435\u0434\u0430","\u0427\u0435\u0442\u0432\u0440\u0442\u0430\u043a","\u041f\u0435\u0442\u0430\u043a","\u0421\u0443\u0431\u043e\u0442\u0430"]},sv:{months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],dayOfWeekShort:["S\xf6n","M\xe5n","Tis","Ons","Tor","Fre","L\xf6r"],dayOfWeek:["S\xf6ndag","M\xe5ndag","Tisdag","Onsdag","Torsdag","Fredag","L\xf6rdag"]},"zh-TW":{months:["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"],dayOfWeekShort:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],dayOfWeek:["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"]},zh:{months:["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"],dayOfWeekShort:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],dayOfWeek:["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"]},he:{months:["\u05d9\u05e0\u05d5\u05d0\u05e8","\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8","\u05de\u05e8\u05e5","\u05d0\u05e4\u05e8\u
2305d9\u05dc","\u05de\u05d0\u05d9","\u05d9\u05d5\u05e0\u05d9","\u05d9\u05d5\u05dc\u05d9","\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8","\u05e1\u05e4\u05d8\u05de\u05d1\u05e8","\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8","\u05e0\u05d5\u05d1\u05de\u05d1\u05e8","\u05d3\u05e6\u05de\u05d1\u05e8"],dayOfWeekShort:["\u05d0'","\u05d1'","\u05d2'","\u05d3'","\u05d4'","\u05d5'","\u05e9\u05d1\u05ea"],dayOfWeek:["\u05e8\u05d0\u05e9\u05d5\u05df","\u05e9\u05e0\u05d9","\u05e9\u05dc\u05d9\u05e9\u05d9","\u05e8\u05d1\u05d9\u05e2\u05d9","\u05d7\u05de\u05d9\u05e9\u05d9","\u05e9\u05d9\u05e9\u05d9","\u05e9\u05d1\u05ea","\u05e8\u05d0\u05e9\u05d5\u05df"]},hy:{months:["\u0540\u0578\u0582\u0576\u057e\u0561\u0580","\u0553\u0565\u057f\u0580\u057e\u0561\u0580","\u0544\u0561\u0580\u057f","\u0531\u057a\u0580\u056b\u056c","\u0544\u0561\u0575\u056b\u057d","\u0540\u0578\u0582\u0576\u056b\u057d","\u0540\u0578\u0582\u056c\u056b\u057d","\u0555\u0563\u0578\u057d\u057f\u0578\u057d","\u054d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580","\u0540\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580","\u0546\u0578\u0575\u0565\u0574\u0562\u0565\u0580","\u0534\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580"],dayOfWeekShort:["\u053f\u056b","\u0535\u0580\u056f","\u0535\u0580\u0584","\u0549\u0578\u0580","\u0540\u0576\u0563","\u0548\u0582\u0580\u0562","\u0547\u0562\u0569"],dayOfWeek:["\u053f\u056b\u0580\u0561\u056f\u056b","\u0535\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b","\u0535\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b","\u0549\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b","\u0540\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b","\u0548\u0582\u0580\u0562\u0561\u0569","\u0547\u0561\u0562\u0561\u0569"]},kg:{months:["\u04ae\u0447\u0442\u04af\u043d \u0430\u0439\u044b","\u0411\u0438\u0440\u0434\u0438\u043d \u0430\u0439\u044b","\u0416\u0430\u043b\u0433\u0430\u043d \u041a\u0443\u0440\u0430\u043d","\u0427\u044b\u043d \u041a\u0443\u0440\u0430\u043d","\u0411\u0443\u0433\u0443","\u041a\u0443\u043b\u0436\u0430","\u0422\u0435\u043a\u0435","\u0411\u0430\u0448 \u041e\u043e\u043d\u0430","\u0410\u044f\u043a \u041e\u043e\u043d\u0430","\u0422\u043e\u0433\u0443\u0437\u0434\u0443\u043d \u0430\u0439\u044b","\u0416\u0435\u0442\u0438\u043d\u0438\u043d \u0430\u0439\u044b","\u0411\u0435\u0448\u0442\u0438\u043d \u0430\u0439\u044b"],dayOfWeekShort:["\u0416\u0435\u043a","\u0414\u04af\u0439","\u0428\u0435\u0439","\u0428\u0430\u0440","\u0411\u0435\u0439","\u0416\u0443\u043c","\u0418\u0448\u0435"],dayOfWeek:["\u0416\u0435\u043a\u0448\u0435\u043c\u0431","\u0414\u04af\u0439\u0448\u04e9\u043c\u0431","\u0428\u0435\u0439\u0448\u0435\u043c\u0431","\u0428\u0430\u0440\u0448\u0435\u043c\u0431","\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438","\u0416\u0443\u043c\u0430","\u0418\u0448\u0435\u043d\u0431"]},rm:{months:["Schaner","Favrer","Mars","Avrigl","Matg","Zercladur","Fanadur","Avust","Settember","October","November","December"],dayOfWeekShort:["Du","Gli","Ma","Me","Gie","Ve","So"],dayOfWeek:["Dumengia","Glindesdi","Mardi","Mesemna","Gievgia","Venderdi","Sonda"]},ka:{months:[
24"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8","\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8","\u10db\u10d0\u10e0\u10e2\u10d8","\u10d0\u10de\u10e0\u10d8\u10da\u10d8","\u10db\u10d0\u10d8\u10e1\u10d8","\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8","\u10d8\u10d5\u10da\u10d8\u10e1\u10d8","\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd","\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8","\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8","\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8","\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8"],dayOfWeekShort:["\u10d9\u10d5","\u10dd\u10e0\u10e8","\u10e1\u10d0\u10db\u10e8","\u10dd\u10d7\u10ee","\u10ee\u10e3\u10d7","\u10de\u10d0\u10e0","\u10e8\u10d0\u10d1"],dayOfWeek:["\u10d9\u10d5\u10d8\u10e0\u10d0","\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8","\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8","\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8","\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8","\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8","\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8"]}},value:"",rtl:!1,format:"Y/m/d H:i",formatTime:"H:i",formatDate:"Y/m/d",startDate:!1,step:60,monthChangeSpinner:!0,closeOnDateSelect:!1,closeOnTimeSelect:!0,closeOnWithoutClick:!0,closeOnInputClick:!0,timepicker:!0,datepicker:!0,weeks:!1,defaultTime:!1,defaultDate:!1,minDate:!1,maxDate:!1,minTime:!1,maxTime:!1,disabledMinTime:!1,disabledMaxTime:!1,allowTimes:[],opened:!1,initTime:!0,inline:!1,theme:"",onSelectDate:function(){},onSelectTime:function(){},onChangeMonth:function(){},onGetWeekOfYear:function(){},onChangeYear:function(){},onChangeDateTime:function(){},onShow:function(){},onClose:function(){},onGenerate:function(){},withoutCopyright:!0,inverseButton:!1,hours12:!1,next:"xdsoft_next",prev:"xdsoft_prev",dayOfWeekStart:0,parentID:"body",timeHeightInTimePicker:25,timepickerScrollbar:!0,todayButton:!0,prevButton:!0,nextButton:!0,defaultSelect:!0,scrollMonth:!0,scrollTime:!0,scrollInput:!0,lazyInit:!1,mask:!1,validateOnBlur:!0,allowBlank:!0,yearStart:1950,yearEnd:2050,monthStart:0,monthEnd:11,style:"",id:"",fixed:!1,roundTime:"round",className:"",weekends:[],highlightedDates:[],highlightedPeriods:[],allowDates:[],allowDateRe:null,disabledDates:[],disabledWeekDays:[],yearOffset:0,beforeShowDay:null,enterLikeTab:!0,showApplyButton:!1},U=null,n="en",G="en",i={meridiem:["AM","PM"]},r=function(){var e=s.i18n[G],t={days:e.dayOfWeek,daysShort:e.dayOfWeekShort,months:e.months,monthsShort:V.map(e.months,function(e){return e.substring(0,3)})};U=new DateFormatter({dateSettings:V.extend({},i,t)})};V.datetimepicker={setLocale:function(e){var t=s.i18n[e]?e:n;G!=t&&(G=t,r())},setDateFormatter:function(e){U=e}
vendor: 11,294 bytes, line 24
24,RFC_2822:"D, d M Y H:i:s O",ATOM:"Y-m-dTH:i:sP",ISO_8601:"Y-m-dTH:i:sO",RFC_822:"D, d M y H:i:s O",RFC_850:"l, d-M-y H:i:s T",RFC_1036:"D, d M y H:i:s O",RFC_1123:"D, d M Y H:i:s O",RSS:"D, d M Y H:i:s O",W3C:"Y-m-dTH:i:sP"},r(),window.getComputedStyle||(window.getComputedStyle=function(n){return this.el=n,this.getPropertyValue=function(e){var t=/(\-([a-z]){1})/g;return"float"===e&&(e="styleFloat"),t.test(e)&&(e=e.replace(t,function(e,t,n){return n.toUpperCase()})),n.currentStyle[e]||null},this}),Array.prototype.indexOf||(Array.prototype.indexOf=function(e,t){var n,i;for(n=t||0,i=this.length;n<i;n+=1)if(this[n]===e)return n;return-1}),Date.prototype.countDaysInMonth=function(){return new Date(this.getFullYear(),this.getMonth()+1,0).getDate()},V.fn.xdsoftScroller=function(v){return this.each(function(){var o,a,s,l,u,c=V(this),n=function(e){var t,n={x:0,y:0};return"touchstart"===e.type||"touchmove"===e.type||"touchend"===e.type||"touchcancel"===e.type?(t=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0],n.x=t.clientX,n.y=t.clientY):"mousedown"!==e.type&&"mouseup"!==e.type&&"mousemove"!==e.type&&"mouseover"!==e.type&&"mouseout"!==e.type&&"mouseenter"!==e.type&&"mouseleave"!==e.type||(n.x=e.clientX,n.y=e.clientY),n},d=100,i=!1,r=0,p=0,h=0,f=!1,g=0,m=function(){};"hide"!==v?(V(this).hasClass("xdsoft_scroller_box")||(o=c.children().eq(0),a=c[0].clientHeight,s=o[0].offsetHeight,l=V('<div class="xdsoft_scrollbar"></div>'),u=V('<div class="xdsoft_scroller"></div>'),l.append(u),c.addClass("xdsoft_scroller_box").append(l),m=function m(e){var t=n(e).y-r+g;t<0&&(t=0),t+u[0].offsetHeight>h&&(t=h-u[0].offsetHeight),c.trigger("scroll_element.xdsoft_scroller",[d?t/d:0])},u.on("touchstart.xdsoft_scroller mousedown.xdsoft_scroller",function(e){a||c.trigger("resize_scroll.xdsoft_scroller",[v]),r=n(e).y,g=parseInt(u.css("margin-top"),10),h=l[0].offsetHeight,"mousedown"===e.type||"touchstart"===e.type?(document&&V(document.body).addClass("xdsoft_noselect"),V([document.body,window]).on("touchend mouseup.xdsoft_scroller",function t(){V([document.body,window]).off("touchend mouseup.xdsoft_scroller",t).off("mousemove.xdsoft_scroller",m).removeClass("xdsoft_noselect")}),V(document.body).on("mousemove.xdsoft_scroller",m)):(f=!0,e.stopPropagation(),e.preventDefault())}).on("touchmove",function(e){f&&(e.preventDefault(),m(e))}).on("touchend touchcancel",function(){f=!1,g=0}),c.on("scroll_element.xdsoft_scroller",function(e,t){a||c.trigger("resize_scroll.xdsoft_scroller",[t,!0]),t=1<t?1:t<0||isNaN(t)?0:t,u.css("margin-top",d*t),setTimeout(function(){o.css("marginTop",-parseInt((o[0].offsetHeight-a)*t,10))},10)}).on("resize_scroll.xdsoft_scroller",function(e,t,n){var i,r;a=c[0].clientHeight,s=o[0].offsetHeight,r=(i=a/s)*l[0].offsetHeight,1<i?u.hide():(u.show(),u.css("height",parseInt(10<r?r:10,10)),d=l[0].offsetHeight-u[0].offsetHeight,!0!==n&&c.trigger("scroll_element.xdsoft_scroller",[t||Math.abs(parseInt(o.css("marginTop"),10))/(s-a)]))}),c.on("mousewheel",function(e){var t=Math.abs(parseInt(o.css("marginTop"),10));return(t-=20*e.deltaY)<0&&(t=0),c.trigger("scroll_element.xdsoft_scroller",[t/(s-a)]),e.stopPropagation(),!1}),c.on("touchstart",function(e){i=n(e),p=Math.abs(parseInt(o.css("marginTop"),10))}),c.on("touchmove",function(e){if(i){e.preventDefault();var t=n(e);c.trigger("scroll_element.xdsoft_scroller",[(p-(t.y-i.y))/(s-a)])}}),c.on("touchend touchcancel",function(){i=!1,p=0})),c.trigger("resize_scroll.xdsoft_scroller",[v])):c.find(".xdsoft_scrollbar").hide()})},V.fn.datetimepicker=function(D,t){var n,i,r=this,p=48,h=57,m=96,v=105,y=17,b=46,O=13,P=27,A=8,M=37,I=38,j=39,N=40,L=9,$=116,H=65,R=67,z=86,F=90,W=89,q=!1,B=V.isPlainObject(D)||!D?V.extend(!0,{},s,D):V.extend(!0,{},s),o=0,a=function(e){e.on("open.xdsoft focusin.xdsoft mousedown.xdsoft touchstart",function t(){e.is(":disabled")||e.data("xdsoft_datetimepicker")||(clearTimeout(o),o=setTimeout(function(){e.data("xdsoft_datetimepicker")||n(e),e.off("open.xdsoft focusin.xdsoft mousedown.xdsoft touchstart",t).trigger("open.xdsoft")},100))})};return n=function(w){function t(){var e,t=!1;return B.startDate?t=_.strToDate(B.startDate):(t=B.value||(w&&w.val&&w.val()?w.val():""))?t=_.strToDateTime(t):B.defaultDate&&(t=_.strToDateTime(B.defaultDate),B.defaultTime&&(e=_.strtotime(B.defaultTime),t.setHours(e.getHours()),t.setMinutes(e.getMinutes()))),t&&_.isValidDate(t)?x.data("changed",!0):t="",t||0}function n(o){var a=function(e,t){var n=e.replace(/([\[\]\/\{\}\(\)\-\.\+]{1})/g,"\\$1").replace(/_/g,"{digit+}").replace(/([0-9]{1})/g,"{digit$1}").replace(/\{digit([0-9]{1})\}/g,"[0-$1_]{1}").replace(/\{digit[\+]\}/g,"[0-9_]{1}");return new RegExp(n).test(t)},s=function(e){try{if(document.selection&&document.selection.createRange)return document.selection.createRange().getBookmark().charCodeAt(2)-2;if(e.setSelectionRange)return e.selectionStart}catch(t){return 0}},l=function(e,t){if(!(e="string"==typeof e||e instanceof String?document.getElementById(e):e))return!1;if(e.createTextRange){var n=e.createTextRange();return n.collapse(!0),n.moveEnd("character",t),n.moveStart("character",t),n.select(),!0}return!!e.setSelectionRange&&(e.setSelectionRange(t,t),!0)};o.mask&&w.off("keydown.xdsoft"),!0===o.mask&&("undefined"!=typeof moment?o.mask=o.format.replace(/Y{4}/g,"9999").replace(/Y{2}/g,"99").replace(/M{2}/g,"19").replace(/D{2}/g,"39").replace(/H{2}/g,"29").replace(/m{2}/g,"59").replace(/s{2}/g,"59"):o.mask=o.format.replace(/Y/g,"9999").replace(/F/g,"9999").replace(/m/g,"19").replace(/d/g,"39").replace(/H/g,"29").replace(/i/g,"59").replace(/s/g,"59")),"string"===V.type(o.mask)&&(a(o.mask,w.val())||(w.val(o.mask.replace(/[0-9]/g,"_")),l(w[0],0)),w.on("keydown.xdsoft",function(e){var t,n,i=this.value,r=e.which;if(p<=r&&r<=h||m<=r&&r<=v||r===A||r===b){for(t=s(this),n=r!==A&&r!==b?String.fromCharCode(m<=r&&r<=v?r-p:r):"_",r!==A&&r!==b||!t||(t-=1,n="_");/[^0-9_]/.test(o.mask.substr(t,1))&&t<o.mask.length&&0<t;)t+=r===A||r===b?-1:1;if(i=i.substr(0,t)+n+i.substr(t+1),""===V.trim(i))i=o.mask.replace(/[0-9]/g,"_");else if(t===o.mask.length)return e.preventDefault(),!1;for(t+=r===A||r===b?0:1;/[^0-9_]/.test(o.mask.substr(t,1))&&t<o.mask.length&&0<t;)t+=r===A||r===b?-1:1;a(o.mask,i)?(this.value=i,l(this,t)):""===V.trim(i)?this.value=o.mask.replace(/[0-9]/g,"_"):w.trigger("error_input.xdsoft")}else if(-1!==[H,R,z,F,W].indexOf(r)&&q||-1!==[P,I,N,M,j,$,y,L,O].indexOf(r))return!0;return e.preventDefault(),!1}))}var i,r,o,a,_,f,x=V('<div class="xdsoft_datetimepicker xdsoft_noselect"></div>'),e=V('<div class="xdsoft_copyright"><a target="_blank" href="http://xdsoft.net/jqplugins/datetimepicker/">xdsoft.net</a></div>'),g=V('<div class="xdsoft_datepicker active"></div>'),k=V('<div class="xdsoft_mounthpicker"><button type="button" class="xdsoft_prev"></button><button type="button" class="xdsoft_today_button"></button><div class="xdsoft_label xdsoft_month"><span></span><i></i></div><div class="xdsoft_label xdsoft_year"><span></span><i></i></div><button type="button" class="xdsoft_next"></button></div>'),T=V('<div class="xdsoft_calendar"></div>'),s=V('<div class="xdsoft_timepicker active"><button type="button" class="xdsoft_prev"></button><div class="xdsoft_time_box"></div><button type="button" class="xdsoft_next"></button></div>'),u=s.find(".xdsoft_time_box").eq(0),S=V('<div class="xdsoft_time_variant"></div>'),l=V('<button type="button" class="xdsoft_save_selected blue-gradient-button">Save Selected</button>'),C=V('<div class="xdsoft_select xdsoft_monthselect"><div></div></div>'),E=V('<div class="xdsoft_select xdsoft_yearselect"><div></div></div>'),d=!1,c=0;B.id&&x.attr("id",B.id),B.style&&x.attr("style",B.style),B.weeks&&x.addClass("xdsoft_showweeks"),B.rtl&&x.addClass("xdsoft_rtl"),x.addClass("xdsoft_"+B.theme),x.addClass(B.className),k.find(".xdsoft_month span").after(C),k.find(".xdsoft_year span").after(E),k.find(".xdsoft_month,.xdsoft_year").on("touchstart mousedown.xdsoft",function(e){var t,n,i=V(this).find(".xdsoft_select").eq(0),r=0,o=0,a=i.is(":visible");for(k.find(".xdsoft_select").hide(),_.currentTime&&(r=_.currentTime[V(this).hasClass("xdsoft_month")?"getMonth":"getFullYear"]()),i[a?"hide":"show"](),t=i.find("div.xdsoft_option"),n=0;n<t.length&&t.eq(n).data("value")!==r;n+=1)o+=t[0].offsetHeight;return i.xdsoftScroller(o/(i.children()[0].offsetHeight-i[0].clientHeight)),e.stopPropagation(),!1}),k.find(".xdsoft_select").xdsoftScroller().on("touchstart mousedown.xdsoft",function(e){e.stopPropagation(),e.preventDefault()}).on("touchstart mousedown.xdsoft",".xdsoft_option",function(){_.currentTime!==undefined&&null!==_.currentTime||(_.currentTime=_.now());var e=_.currentTime.getFullYear();_&&_.currentTime&&_.currentTime[V(this).parent().parent().hasClass("xdsoft_monthselect")?"setMonth":"setFullYear"](V(this).data("value")),V(this).parent().parent().hide(),x.trigger("xchange.xdsoft"),B.onChangeMonth&&V.isFunction(B.onChangeMonth)&&B.onChangeMonth.call(x,_.currentTime,x.data("input")),e!==_.currentTime.getFullYear()&&V.isFunction(B.onChangeYear)&&B.onChangeYear.call(x,_.currentTime,x.data("input"))}),x.getValue=function(){return _.getCurrentTime()},x.setOptions=function(e){var c={};B=V.extend(!0,{},B,e),e.allowTimes&&V.isArray(e.allowTimes)&&e.allowTimes.length&&(B.allowTimes=V.extend(!0,[],e.allowTimes)),e.weekends&&V.isArray(e.weekends)&&e.weekends.length&&(B.weekends=V.extend(!0,[],e.weekends)),e.allowDates&&V.isArray(e.allowDates)&&e.allowDates.length&&(B.allowDates=V.extend(!0,[],e.allowDates)),e.allowDateRe&&"[object String]"===Object.prototype.toString.call(e.allowDateRe)&&(B.allowDateRe=new RegExp(e.allowDateRe)),e.highlightedDates&&V.isArray(e.highlightedDates)&&e.highlightedDates.length&&(V.each(e.highlightedDates,function(e,t){var n,i=V.map(t.split(","),V.trim),r=new Y(U.parseDate(i[0],B.formatDate),i[1],i[2]),o=U.formatDate(r.date,B.formatDate);c[o]!==undefined?(n=c[o].desc)&&n.length&&r.desc&&r.desc.length&&(c[o].desc=n+"\n"+r.desc):c[o]=r}),B.highlightedDates=V.extend(!0,[],c)),e.highlightedPeriods&&V.isArray(e.highlightedPeriods)&&e.highlightedPeriods.length&&(c=V.extend(!0,[],B.highlightedDates),V.each(e.highlightedPeriods,function(e,t){var n,i,r,o,a,s,l;if(V.isArray(t))n=t[0],i=t[1],r=t[2],l=t[3];else{var u=V.map(t.split(","),V.trim);n=U.parseDate(u[0],B.formatDate),i=U.parseDate(u[1],B.formatDate),r=u[2],l=u[3]}for(;n<=i;)o=new Y(n,r,l),a=U.formatDate(n,B.formatDate),n.setDate(n.getDate()+1),c[a]!==undefined?(s=c[a].desc)&&s.length&&o.desc&&o.desc.length&&(c[a].desc=s+"\n"+o.desc):c[a]=o}),B.highlightedDates=V.extend(!0,[],c)),e.disabledDates&&V.isArray(e.disabledDates)&&e.disabledDates.length&&(B.disabledDates=V.extend(!0,[],e.disabledDates)),e.disabledWeekDays&&V.isArray(e.disabledWeekDays)&&e.disabledWeekDays.length&&(B.disabledWeekDays=V.extend(!0,[],e.disabledWeekDays)),!B.open&&!B.opened||B.inline||w.trigger("open.xdsoft"),B.inline&&(d=!0,x.addClass("xdsoft_inline"),w.after(x).hide()),B.inverseButton&&(B.next="xdsoft_prev",B.prev="xdsoft_next"),B.datepicker?g.addClass("active"):g.removeClass("active"),B.timepicker?s.addClass("active"):s.removeClass("active"),B.value&&(_.setCurrentTime(B.value),w&&w.val&&w.val(_.str)),isNaN(B.dayOfWeekStart)?B.dayOfWeekStart=0:B.dayOfWeekStart=parseInt(B.dayOfWeekStart,10)%7,B.timepickerScrollbar||u.xdsoft
vendor: 1,539 bytes, line 24
24Scroller("hide"),B.minDate&&/^[\+\-](.*)$/.test(B.minDate)&&(B.minDate=U.formatDate(_.strToDateTime(B.minDate),B.formatDate)),B.maxDate&&/^[\+\-](.*)$/.test(B.maxDate)&&(B.maxDate=U.formatDate(_.strToDateTime(B.maxDate),B.formatDate)),l.toggle(B.showApplyButton),k.find(".xdsoft_today_button").css("visibility",B.todayButton?"visible":"hidden"),k.find("."+B.prev).css("visibility",B.prevButton?"visible":"hidden"),k.find("."+B.next).css("visibility",B.nextButton?"visible":"hidden"),n(B),B.validateOnBlur&&w.off("blur.xdsoft").on("blur.xdsoft",function(){if(B.allowBlank&&(!V.trim(V(this).val()).length||"string"==typeof B.mask&&V.trim(V(this).val())===B.mask.replace(/[0-9]/g,"_")))V(this).val(null),x.data("xdsoft_datetime").empty();else{var e=U.parseDate(V(this).val(),B.format);if(e)V(this).val(U.formatDate(e,B.format));else{var t=+[V(this).val()[0],V(this).val()[1]].join(""),n=+[V(this).val()[2],V(this).val()[3]].join("");!B.datepicker&&B.timepicker&&0<=t&&t<24&&0<=n&&n<60?V(this).val([t,n].map(function(e){return 9<e?e:"0"+e}).join(":")):V(this).val(U.formatDate(_.now(),B.format))}x.data("xdsoft_datetime").setCurrentTime(V(this).val())}x.trigger("changedatetime.xdsoft"),x.trigger("close.xdsoft")}),B.dayOfWeekStartPrev=0===B.dayOfWeekStart?6:B.dayOfWeekStart-1,x.trigger("xchange.xdsoft").trigger("afterOpen.xdsoft")},x.data("options",B).on("touchstart mousedown.xdsoft",function(e){return e.stopPropagation(),e.preventDefault(),E.hide(),C.hide(),!1}),u.append(S),u.xdsoftScroller(),x.on("afterOpen.xdsoft",function(){u.xdsoft
vendor: 14,568 bytes, line 24
24Scroller()}),x.append(g).append(s),!0!==B.withoutCopyright&&x.append(e),g.append(k).append(T).append(l),V(B.parentID).append(x),_=new function(){var r=this;r.now=function(e){var t,n,i=new Date;return!e&&B.defaultDate&&(t=r.strToDateTime(B.defaultDate),i.setFullYear(t.getFullYear()),i.setMonth(t.getMonth()),i.setDate(t.getDate())),B.yearOffset&&i.setFullYear(i.getFullYear()+B.yearOffset),!e&&B.defaultTime&&(n=r.strtotime(B.defaultTime),i.setHours(n.getHours()),i.setMinutes(n.getMinutes())),i},r.isValidDate=function(e){return"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e.getTime())},r.setCurrentTime=function(e,t){"string"==typeof e?r.currentTime=r.strToDateTime(e):r.isValidDate(e)?r.currentTime=e:e||t||!B.allowBlank?r.currentTime=r.now():r.currentTime=null,x.trigger("xchange.xdsoft")},r.empty=function(){r.currentTime=null},r.getCurrentTime=function(){return r.currentTime},r.nextMonth=function(){r.currentTime!==undefined&&null!==r.currentTime||(r.currentTime=r.now());var e,t=r.currentTime.getMonth()+1;return 12===t&&(r.currentTime.setFullYear(r.currentTime.getFullYear()+1),t=0),e=r.currentTime.getFullYear(),r.currentTime.setDate(Math.min(new Date(r.currentTime.getFullYear(),t+1,0).getDate(),r.currentTime.getDate())),r.currentTime.setMonth(t),B.onChangeMonth&&V.isFunction(B.onChangeMonth)&&B.onChangeMonth.call(x,_.currentTime,x.data("input")),e!==r.currentTime.getFullYear()&&V.isFunction(B.onChangeYear)&&B.onChangeYear.call(x,_.currentTime,x.data("input")),x.trigger("xchange.xdsoft"),t},r.prevMonth=function(){r.currentTime!==undefined&&null!==r.currentTime||(r.currentTime=r.now());var e=r.currentTime.getMonth()-1;return-1===e&&(r.currentTime.setFullYear(r.currentTime.getFullYear()-1),e=11),r.currentTime.setDate(Math.min(new Date(r.currentTime.getFullYear(),e+1,0).getDate(),r.currentTime.getDate())),r.currentTime.setMonth(e),B.onChangeMonth&&V.isFunction(B.onChangeMonth)&&B.onChangeMonth.call(x,_.currentTime,x.data("input")),x.trigger("xchange.xdsoft"),e},r.getWeekOfYear=function(e){if(B.onGetWeekOfYear&&V.isFunction(B.onGetWeekOfYear)){var t=B.onGetWeekOfYear.call(x,e);if(void 0!==t)return t}var n=new Date(e.getFullYear(),0,1);return 4!=n.getDay()&&n.setMonth(0,1+(4-n.getDay()+7)%7),Math.ceil(((e-n)/864e5+n.getDay()+1)/7)},r.strToDateTime=function(e){var t,n,i=[];return e&&e instanceof Date&&r.isValidDate(e)?e:((i=/^(\+|\-)(.*)$/.exec(e))&&(i[2]=U.parseDate(i[2],B.formatDate)),i&&i[2]?(t=i[2].getTime()-6e4*i[2].getTimezoneOffset(),n=new Date(r.now(!0).getTime()+parseInt(i[1]+"1",10)*t)):n=e?U.parseDate(e,B.format):r.now(),r.isValidDate(n)||(n=r.now()),n)},r.strToDate=function(e){if(e&&e instanceof Date&&r.isValidDate(e))return e;var t=e?U.parseDate(e,B.formatDate):r.now(!0);return r.isValidDate(t)||(t=r.now(!0)),t},r.strtotime=function(e){if(e&&e instanceof Date&&r.isValidDate(e))return e;var t=e?U.parseDate(e,B.formatTime):r.now(!0);return r.isValidDate(t)||(t=r.now(!0)),t},r.str=function(){return U.formatDate(r.currentTime,B.format)},r.currentTime=this.now()},l.on("touchend click",function(e){e.preventDefault(),x.data("changed",!0),_.setCurrentTime(t()),w.val(_.str()),x.trigger("close.xdsoft")}),k.find(".xdsoft_today_button").on("touchend mousedown.xdsoft",function(){x.data("changed",!0),_.setCurrentTime(0,!0),x.trigger("afterOpen.xdsoft")}).on("dblclick.xdsoft",function(){var e,t,n=_.getCurrentTime();n=new Date(n.getFullYear(),n.getMonth(),n.getDate()),e=_.strToDate(B.minDate),n<(e=new Date(e.getFullYear(),e.getMonth(),e.getDate()))||(t=_.strToDate(B.maxDate),(t=new Date(t.getFullYear(),t.getMonth(),t.getDate()))<n||(w.val(_.str()),w.trigger("change"),x.trigger("close.xdsoft")))}),k.find(".xdsoft_prev,.xdsoft_next").on("touchend mousedown.xdsoft",function(){var t=V(this),n=0,i=!1;!function r(e){t.hasClass(B.next)?_.nextMonth():t.hasClass(B.prev)&&_.prevMonth(),B.monthChangeSpinner&&(i||(n=setTimeout(r,e||100)))}(500),V([document.body,window]).on("touchend mouseup.xdsoft",function e(){clearTimeout(n),i=!0,V([document.body,window]).off("touchend mouseup.xdsoft",e)})}),s.find(".xdsoft_prev,.xdsoft_next").on("touchend mousedown.xdsoft",function(){var r=V(this),o=0,a=!1,s=110;!function l(e){var t=u[0].clientHeight,n=S[0].offsetHeight,i=Math.abs(parseInt(S.css("marginTop"),10));r.hasClass(B.next)&&n-t-B.timeHeightInTimePicker>=i?S.css("marginTop","-"+(i+B.timeHeightInTimePicker)+"px"):r.hasClass(B.prev)&&0<=i-B.timeHeightInTimePicker&&S.css("marginTop","-"+(i-B.timeHeightInTimePicker)+"px"),u.trigger("scroll_element.xdsoft_scroller",[Math.abs(parseInt(S[0].style.marginTop,10)/(n-t))]),s=10<s?10:s-10,a||(o=setTimeout(l,e||s))}(500),V([document.body,window]).on("touchend mouseup.xdsoft",function e(){clearTimeout(o),a=!0,V([document.body,window]).off("touchend mouseup.xdsoft",e)})}),i=0,x.on("xchange.xdsoft",function(e){clearTimeout(i),i=setTimeout(function(){if(_.currentTime===undefined||null===_.currentTime){if(B.allowBlank)return;_.currentTime=_.now()}for(var e,t,n,i,r,o,a,s,l,u,c="",d=new Date(_.currentTime.getFullYear(),_.currentTime.getMonth(),1,12,0,0),p=0,h=_.now(),f=!1,g=!1,m=[],v=!0,y="",b="";d.getDay()!==B.dayOfWeekStart;)d.setDate(d.getDate()-1);for(c+="<table><thead><tr>",B.weeks&&(c+="<th></th>"),e=0;e<7;e+=1)c+="<th>"+B.i18n[G].dayOfWeekShort[(e+B.dayOfWeekStart)%7]+"</th>";for(c+="</tr></thead>",c+="<tbody>",!1!==B.maxDate&&(f=_.strToDate(B.maxDate),f=new Date(f.getFullYear(),f.getMonth(),f.getDate(),23,59,59,999)),!1!==B.minDate&&(g=_.strToDate(B.minDate),g=new Date(g.getFullYear(),g.getMonth(),g.getDate()));p<_.currentTime.countDaysInMonth()||d.getDay()!==B.dayOfWeekStart||_.currentTime.getMonth()===d.getMonth();)m=[],p+=1,n=d.getDay(),i=d.getDate(),r=d.getFullYear(),o=d.getMonth(),a=_.getWeekOfYear(d),u="",m.push("xdsoft_date"),s=B.beforeShowDay&&V.isFunction(B.beforeShowDay.call)?B.beforeShowDay.call(x,d):null,B.allowDateRe&&"[object RegExp]"===Object.prototype.toString.call(B.allowDateRe)?B.allowDateRe.test(U.formatDate(d,B.formatDate))||m.push("xdsoft_disabled"):B.allowDates&&0<B.allowDates.length?-1===B.allowDates.indexOf(U.formatDate(d,B.formatDate))&&m.push("xdsoft_disabled"):!1!==f&&f<d||!1!==g&&d<g||s&&!1===s[0]?m.push("xdsoft_disabled"):-1!==B.disabledDates.indexOf(U.formatDate(d,B.formatDate))?m.push("xdsoft_disabled"):-1!==B.disabledWeekDays.indexOf(n)?m.push("xdsoft_disabled"):w.is("[readonly]")&&m.push("xdsoft_disabled"),s&&""!==s[1]&&m.push(s[1]),_.currentTime.getMonth()!==o&&m.push("xdsoft_other_month"),(B.defaultSelect||x.data("changed"))&&U.formatDate(_.currentTime,B.formatDate)===U.formatDate(d,B.formatDate)&&m.push("xdsoft_current"),U.formatDate(h,B.formatDate)===U.formatDate(d,B.formatDate)&&m.push("xdsoft_today"),0!==d.getDay()&&6!==d.getDay()&&-1===B.weekends.indexOf(U.formatDate(d,B.formatDate))||m.push("xdsoft_weekend"),B.highlightedDates[U.formatDate(d,B.formatDate)]!==undefined&&(t=B.highlightedDates[U.formatDate(d,B.formatDate)],m.push(t.style===undefined?"xdsoft_highlighted_default":t.style),u=t.desc===undefined?"":t.desc),B.beforeShowDay&&V.isFunction(B.beforeShowDay)&&m.push(B.beforeShowDay(d)),v&&(c+="<tr>",v=!1,B.weeks&&(c+="<th>"+a+"</th>")),c+='<td data-date="'+i+'" data-month="'+o+'" data-year="'+r+'" class="xdsoft_date xdsoft_day_of_week'+d.getDay()+" "+m.join(" ")+'" title="'+u+'"><div>'+i+"</div></td>",d.getDay()===B.dayOfWeekStartPrev&&(c+="</tr>",v=!0),d.setDate(i+1);if(c+="</tbody></table>",T.html(c),k.find(".xdsoft_label span").eq(0).text(B.i18n[G].months[_.currentTime.getMonth()]),k.find(".xdsoft_label span").eq(1).text(_.currentTime.getFullYear()),o=b=y="",l=function l(e,t){var n,i,r=_.now(),o=B.allowTimes&&V.isArray(B.allowTimes)&&B.allowTimes.length;r.setHours(e),e=parseInt(r.getHours(),10),r.setMinutes(t),t=parseInt(r.getMinutes(),10),(n=new Date(_.currentTime)).setHours(e),n.setMinutes(t),!(m=[])!==B.minDateTime&&B.minDateTime>n||!1!==B.maxTime&&_.strtotime(B.maxTime).getTime()<r.getTime()||!1!==B.minTime&&_.strtotime(B.minTime).getTime()>r.getTime()?m.push("xdsoft_disabled"):!1!==B.minDateTime&&B.minDateTime>n||!1!==B.disabledMinTime&&r.getTime()>_.strtotime(B.disabledMinTime).getTime()&&!1!==B.disabledMaxTime&&r.getTime()<_.strtotime(B.disabledMaxTime).getTime()?m.push("xdsoft_disabled"):w.is("[readonly]")&&m.push("xdsoft_disabled"),(i=new Date(_.currentTime)).setHours(parseInt(_.currentTime.getHours(),10)),o||i.setMinutes(Math[B.roundTime](_.currentTime.getMinutes()/B.step)*B.step),(B.initTime||B.defaultSelect||x.data("changed"))&&i.getHours()===parseInt(e,10)&&(!o&&59<B.step||i.getMinutes()===parseInt(t,10))&&(B.defaultSelect||x.data("changed")?m.push("xdsoft_current"):B.initTime&&m.push("xdsoft_init_time")),parseInt(h.getHours(),10)===parseInt(e,10)&&parseInt(h.getMinutes(),10)===parseInt(t,10)&&m.push("xdsoft_today"),y+='<div class="xdsoft_time '+m.join(" ")+'" data-hour="'+e+'" data-minute="'+t+'">'+U.formatDate(r,B.formatTime)+"</div>"},B.allowTimes&&V.isArray(B.allowTimes)&&B.allowTimes.length)for(p=0;p<B.allowTimes.length;p+=1)b=_.strtotime(B.allowTimes[p]).getHours(),o=_.strtotime(B.allowTimes[p]).getMinutes(),l(b,o);else for(e=p=0;p<(B.hours12?12:24);p+=1)for(e=0;e<60;e+=B.step)l(b=(p<10?"0":"")+p,o=(e<10?"0":"")+e);for(S.html(y),D="",p=0,p=parseInt(B.yearStart,10)+B.yearOffset;p<=parseInt(B.yearEnd,10)+B.yearOffset;p+=1)D+='<div class="xdsoft_option '+(_.currentTime.getFullYear()===p?"xdsoft_current":"")+'" data-value="'+p+'">'+p+"</div>";for(E.children().eq(0).html(D),p=parseInt(B.monthStart,10),D="";p<=parseInt(B.monthEnd,10);p+=1)D+='<div class="xdsoft_option '+(_.currentTime.getMonth()===p?"xdsoft_current":"")+'" data-value="'+p+'">'+B.i18n[G].months[p]+"</div>";C.children().eq(0).html(D),V(x).trigger("generate.xdsoft")},10),e.stopPropagation()}).on("afterOpen.xdsoft",function(){var e,t,n,i;B.timepicker&&(S.find(".xdsoft_current").length?e=".xdsoft_current":S.find(".xdsoft_init_time").length&&(e=".xdsoft_init_time"),e?(t=u[0].clientHeight,(n=S[0].offsetHeight)-t<(i=S.find(e).index()*B.timeHeightInTimePicker+1)&&(i=n-t),u.trigger("scroll_element.xdsoft_scroller",[parseInt(i,10)/(n-t)])):u.trigger("scroll_element.xdsoft_scroller",[0]))}),r=0,T.on("touchend click.xdsoft","td",function(e){e.stopPropagation(),r+=1;var t=V(this),n=_.currentTime;if(n!==undefined&&null!==n||(_.currentTime=_.now(),n=_.currentTime),t.hasClass("xdsoft_disabled"))return!1;n.setDate(1),n.setFullYear(t.data("year")),n.setMonth(t.data("month")),n.setDate(t.data("date")),x.trigger("select.xdsoft",[n]),w.val(_.str()),B.onSelectDate&&V.isFunction(B.onSelectDate)&&B.onSelectDate.call(x,_.currentTime,x.data("input"),e),x.data("changed",!0),x.trigger("xchange.xdsoft"),x.trigger("changedatetime.xdsoft"),(1<r||!0===B.closeOnDateSelect||!1===B.closeOnDateSelect&&!B.timepicker)&&!B.inline&&x.trigger("close.xdsoft"),setTimeout(function(){r=0},200)}),S.on("touchend click.xdsoft","div",function(e){e.stopPropagation();var t=V(this),n=_.currentTime;if(n!==undefined&&null!==n||(_.currentTime=_.now(),n=_.currentTime),t.hasClass("xdsoft_disabled"))return!1;n.setHours(t.data("hour")),n.setMinutes(t.data("minute")),x.trigger("select.xdsoft",[n]),x.data("input").val(_.str()),B.onSelectTime&&V.isFunction(B.onSelectTime)&&B.onSelectTime.call(x,_.currentTime,x.data("input"),e),x.data("changed",!0),x.trigger("xchange.xdsoft"),x.trigger("changedatetime.xdsoft"),!0!==B.inline&&!0===B.closeOnTimeSelect&&x.trigger("close.xdsoft")}),g.on("mousewheel.xdsoft",function(e){return!B.scrollMonth||(e.deltaY<0?_.nextMonth():_.prevMonth(),!1)}),w.on("mousewheel.xdsoft",function(e){return!B.scrollInput||(!B.datepicker&&B.timepicker?(0<=(o=S.find(".xdsoft_current").length?S.find(".xdsoft_current").eq(0).index():0)+e.deltaY&&o+e.deltaY<S.children().length&&(o+=e.deltaY),S.children().eq(o).length&&S.children().eq(o).trigger("mousedown"),!1):B.datepicker&&!B.timepicker?(g.trigger(e,[e.deltaY,e.deltaX,e.deltaY]),w.val&&w.val(_.str()),x.trigger("changedatetime.xdsoft"),!1):void 0)}),x.on("changedatetime.xdsoft",function(e){if(B.onChangeDateTime&&V.isFunction(B.onChangeDateTime)){var t=x.data("input");B.onChangeDateTime.call(x,_.currentTime,t,e),delete B.value,t.trigger("change")}}).on("generate.xdsoft",function(){B.onGenerate&&V.isFunction(B.onGenerate)&&B.onGenerate.call(x,_.currentTime,x.data("input")),d&&(x.trigger("afterOpen.xdsoft"),d=!1)}).on("click.xdsoft",function(e){e.stopPropagation()}),o=0,f=function(e,t){do{if(!1===t(e=e.parentNode))break}while("HTML"!==e.nodeName)},a=function(){var e,t,n,i,r,o,a,s,l,u,c,d,p;if(e=(s=x.data("input")).offset(),t=s[0],u="top",n=e.top+t.offsetHeight-1,i=e.left,r="absolute",l=V(window).width(),d=V(window).height(),p=V(window).scrollTop(),document.documentElement.clientWidth-e.left<g.parent().outerWidth(!0)){var h=g.parent().outerWidth(!0)-t.offsetWidth;i-=h}"rtl"===s.parent().css("direction")&&(i-=x.outerWidth()-s.outerWidth()),B.fixed?(n-=p,i-=V(window).scrollLeft(),r="fixed"):(a=!1,f(t,function(e){if("fixed"===window.getComputedStyle(e).getPropertyValue("position"))return!(a=!0)}),a?(r="fixed",n+x.outerHeight()>d+p?(u="bottom",n=d+p-e.top):n-=p):n+t.offsetHeight>d+p&&(n=e.top-t.offsetHeight+1),n<0&&(n=0),i+t.offsetWidth>l&&(i=l-t.offsetWidth)),o=x[0],f(o,function(e){if("relative"===window.getComputedStyle(e).getPropertyValue("position")&&l>=e.offsetWidth)return i-=(l-e.offsetWidth)/2,!1}),(c={position:r,left:i,top:"",bottom:""})[u]=n,x.css(c)},x.on("open.xdsoft",function(e){var t=!0;B.onShow&&V.isFunction(B.onShow)&&(t=B.onShow.call(x,_.currentTime,x.data("input"),e)),!1!==t&&(x.show(),a(),V(window).off("resize.xdsoft",a).on("resize.xdsoft",a),B.closeOnWithoutClick&&V([document.body,window]).on("touchstart mousedown.xdsoft",function n(){x.trigger("close.xdsoft"),V([document.body,window]).off("touchstart mousedown.xdsoft",n)}))}).on("close.xdsoft",function(e){var t=!0;k.find(".xdsoft_month,.xdsoft_year").find(".xdsoft_select").hide(),B.onClose&&V.isFunction(B.onClose)&&(t=B.onClose.call(x,_.currentTime,x.data("input"),e)),!1===t||B.opened||B.inline||x.hide(),e.stopPropagation()}).on("toggle.xdsoft",function(){x.is(":visible")?x.trigger("close.xdsoft"):x.trigger("open.xdsoft")}).data("input",w),c=0,x.data("xdsoft_datetime",_),x.setOptions(B),_.setCurrentTime(t()),w.data("xdsoft_datetimepicker",x).on("open.xdsoft focusin.xdsoft mousedown.xdsoft touchstart",function(){w.is(":disabled")||w.data("xdsoft_datetimepicker").is(":visible")&&B.closeOnInputClick||(clearTimeout(c),c=setTimeout(function(){w.is(":disabled")||(d=!0,_.setCurrentTime(t(),!0),B.mask&&n(B),x.trigger("open.xdsoft"))},100))}).on("keydown.xdsoft",function(e){var t,n=e.which;
24return-1!==[O].indexOf(n)&&B.enterLikeTab?(t=V("input:visible,textarea:visible,button:visible,a:visible"),x.trigger("close.xdsoft"),t.eq(t.index(this)+1).focus(),!1):-1!==[L].indexOf(n)?(x.trigger("close.xdsoft"),!0):void 0}).on("blur.xdsoft",function(){x.trigger("close.xdsoft")})},i=function(e){var t=e.data("xdsoft_datetimepicker");t&&(t.data("xdsoft_datetime",null),t.remove(),e.data("xdsoft_datetimepicker",null).off(".xdsoft"),V(window).off("resize.xdsoft"),V([window,document.body]).off("mousedown.xdsoft touchstart"),e.unmousewheel&&e.unmousewheel())},V(document).off("keydown.xdsoftctrl keyup.xdsoftctrl").on("keydown.xdsoftctrl",function(e){e.keyCode===y&&(q=!0)}).on("keyup.xdsoftctrl",function(e){e.keyCode===y&&(q=!1)}),this.each(function(){var e=V(this).data("xdsoft_datetimepicker");if(e){if("string"===V.type(D))switch(D){case"show":V(this).select().focus(),e.trigger("open.xdsoft");break;case"hide":e.trigger("close.xdsoft");break;case"toggle":e.trigger("toggle.xdsoft");break;case"destroy":i(V(this));break;case"reset":this.value=this.defaultValue,this.value&&e.data("xdsoft_datetime").isValidDate(U.parseDate(this.value,B.format))||e.data("changed",!1),e.data("xdsoft_datetime").setCurrentTime(this.value);break;case"validate":e.data("input").trigger("blur.xdsoft");break;default:e[D]&&V.isFunction(e[D])&&(r=e[D](t))}else e.setOptions(D);return 0}"string"!==V.type(D)&&(!B.lazyInit||B.open||B.inline?n(V(this)):a(V(this)))}),r},V.fn.datetimepicker.defaults=s}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(p){function t(e){var t=e||window.event,n=v.call(arguments,1),i=0,r=0,o=0,a=0,s=0,l=0;if((e=p.event.fix(t)).type="mousewheel","detail"in t&&(o=-1*t.detail),"wheelDelta"in t&&(o=t.wheelDelta),"wheelDeltaY"in t&&(o=t.wheelDeltaY),"wheelDeltaX"in t&&(r=-1*t.wheelDeltaX),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(r=-1*o,o=0),i=0===o?r:o,"deltaY"in t&&(i=o=-1*t.deltaY),"deltaX"in t&&(r=t.deltaX,0===o&&(i=-1*r)),0!==o||0!==r){if(1===t.deltaMode){var u=p.data(this,"mousewheel-line-height");i*=u,o*=u,r*=u}else if(2===t.deltaMode){var c=p.data(this,"mousewheel-page-height");i*=c,o*=c,r*=c}if(a=Math.max(Math.abs(o),Math.abs(r)),(!m||a<m)&&f(t,m=a)&&(m/=40),f(t,a)&&(i/=40,r/=40,o/=40),i=Math[1<=i?"floor":"ceil"](i/m),r=Math[1<=r?"floor":"ceil"](r/m),o=Math[1<=o?"floor":"ceil"](o/m),y.settings.normalizeOffset&&this.getBoundingClientRect){var d=this.getBoundingClientRect();s=e.clientX-d.left,l=e.clientY-d.top}return e.deltaX=r,e.deltaY=o,e.deltaFactor=m,e.offsetX=s,e.offsetY=l,e.deltaMode=0,n.unshift(e,i,r,o),g&&clearTimeout(g),g=setTimeout(h
25,200),(p.event.dispatch||p.event.handle).apply(this,n)}}function h(){m=null}function f(e,t){return y.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}var g,m,e=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],n="onwheel"in document||9<=document.documentMode?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],v=Array.prototype.slice;if(p.event.fixHooks)for(var i=e.length;i;)p.event.fixHooks[e[--i]]=p.event.mouseHooks;var y=p.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var e=n.length;e;)this.addEventListener(n[--e],t,!1);else this.onmousewheel=t;p.data(this,"mousewheel-line-height",y.getLineHeight(this)),p.data(this,"mousewheel-page-height",y.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var e=n.length;e;)this.removeEventListener(n[--e],t,!1);else this.onmousewheel=null;p.removeData(this,"mousewheel-line-height"),p.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var t=p(e),n=t["offsetParent"in p.fn?"offsetParent":"parent"]();return n.length||(n=p("body")),parseInt(n.css("fontSize"),10)||parseInt(t.css("fontSize"),10)||16},getPageHeight:function(e){return p(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};p.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}),function(e){"function"==typeof define&&define.amd?define(["select2","jquery-datetimepicker"],e):e()}(function(){"use strict";var d;(d=jQuery).paletteColorPicker=function(e,n){var r="palette-color-picker",i=d(e),o=this,a=i.val(),t=i.attr("name"),s=d("<div>").addClass(r+"-button").attr("data-target",t),l=d("<div>").addClass(r+"-bubble"),u={custom_class:null,colors:null,position:"upside",insert:"before",clear_btn:"first",timeout:2e3,set_background:!1,close_all_but_this:!1},c="ontouchstart"in document.documentElement?"touchstart click":"click";o.init=function(){o.settings=d.extend({},u,n);var e=i.attr("value");if(typeof e!=typeof undefined&&!1!==e||(e="",i.attr("value",e)),i.attr("data-initialvalue",i.attr("value")),null===o.settings.colors&&(o.settings.colors=i.data("palette")),"string"==typeof o.settings.colors[0]&&(o.settings.colors=d.map(o.settings.colors,function(e){var t={};return t[e]=e,t})),o.settings.insert=o.settings.insert.charAt(0).toUpperCase()+o.settings.insert.slice(1),o.settings.custom_class&&l.addClass(o.settings.custom_class),d.each(o.settings.colors,function(e,t){var n=Object.keys(t)[0],i=t[n],r=d("<span>").addClass("swatch").attr({title:n,"data-color":i,"data-name":n}).css("background-color",i);n===a&&(r.addClass("active"),s.css("background",i)),r.appendTo(l)}),null!==o.settings.clear_btn){var t=d("<span>").addClass("swatch clear").attr("title","Clear selection");"last"===o.settings.clear_btn?t.addClass("last").appendTo(l):t.prependTo(l)}o.destroy=function(){s.remove(),d.removeData(i[0])},o.clear=function(){l.find(".active").removeClass("active"),s.removeAttr("style"),i.val("")},o.reset=function(){if(""===i.attr("data-initialvalue"))o.clear();else{var e=i.attr("data-initialvalue");l.find('[data-name="'+e+'"]').trigger("click")}},o.reload=function(){var e=i.val();""===e||typeof e==typeof undefined||!1===e?o.reset():l.find('[data-name="'+e+'"]').length?l.find('[data-name="'+e+'"]').trigger("click"):o.reset()},s.append(l).on(c,function(e){e.preventDefault(),e.stopPropagation();var t=d(this);if(!d(e.target).hasClass(r+"-bubble")){"function"==typeof o.settings.onbeforeshow_callback&&o.settings.onbeforeshow_callback(this),t.toggleClass("active");var n=t.find("."+r+"-bubble");o.settings.close_all_but_this&&d("."+r+"-bubble").not(n).fadeOut(),n.fadeToggle(),t.hasClass("active")&&(clearTimeout(o.timer),o.timer=setTimeout(function(){t.trigger("pcp.fadeout")},o.settings.timeout))}}).on("pcp.fadeout",function(){d(this).removeClass("active").find("."+r+"-bubble").fadeOut()}).on("mouseenter","."+r+"-bubble",function(){clearTimeout(o.timer)}).on("mouseleave","."+r+"-bubble",function(){o.timer=setTimeout(function(){s.trigger("pcp.fadeout")},o.settings.timeout)}).on(c,"."+r+"-bubble span.swatch",function(e){e.preventDefault(),e.stopPropagation();var t=d(this).attr("data-color"),n=d(this).attr("data-name"),i=d("."+r+'-button[data-target="'+d(this).closest("."+r+"-button").attr("data-target")+'"]');d(this).closest("."+r+"-bubble").find(".active").removeClass("active"),d(e.target).is(".clear")?(i.removeAttr("style"),t=""):(d(this).addClass("active"),i.css("background",t)),"function"==typeof o.settings.onchange_callback&&o.settings.onchange_callback(t),!1===o.settings.set_background?d('[name="'+i.attr("data-target")+'"]').val(n):d('[name="'+i.attr("data-target")+'"]').css({"background-color":t})})["insert"+o.settings.insert](i),("downside"===o.settings.position||i.offset().top+20<l.outerHeight())&&l.addClass("downside")},d("body").on(c,function(e){d(e.target).hasClass(r+"-button")||d(s).removeClass("active").find("."+r+"-bubble").fadeOut()}),o.init()},d.fn.paletteColorPicker=function(e){return this.each(function(){void 0===d(this).data("paletteColorPickerPlugin")&&d(this).data("paletteColorPickerPlugin",new d.paletteColorPicker(this,e))})};var e=function(){window.ActiveadminAddons={config:{defaultSelect:$("body").data("default-select")}}};$(e),$(document).on("turbolinks:load",e);var t=function(){function n(e){function n(t){function e(e){return 0<$(t).closest(e).length}var n={placeholder:"",width:"80%",allowClear:!0};e(".select_and_search")?(n.width="resolve",n.allowClear=!1):e(".filter_select")&&(n.width="resolve"),$(t).select2(n),$(t).on("select2:unselecting",function(){$(this).data("unselecting",!0)}).on("select2:open",function(){$(this).data("unselecting")&&$(this).select2("close").removeData("unselecting")})}"select2"==window.ActiveadminAddons.config.defaultSelect&&$("select:not(.default-select)",e).each(function(e,t){n(t)}),$("select.select2",e).each(function(e,t){n(t)})}n(document),$(document).on("has_many_add:after",function(e,t){n(t)})};$(t),$(document).on("turbolinks:load",t);var n=function(){function n(e){$(".search-select-input, .search-select-filter-input, ajax-filter-input",e).each(function(e,t){var n=$(t),i=n.data("url"),r=n.data("fields"),o=n.data("predicate"),a=n.data("display-name"),s=n.data("width"),l=n.data("response-root"),u=n.data("minimum-input-length"),c=n.data("order"),d={width:s,minimumInputLength:u,placeholder:"",allowClear:!0,ajax:{url:i,dataType:"json",delay:250,cache:!0,data:function(t){var n={m:"or"};
25return r.forEach(function(e){"id"==e?n[e+"_eq"]=t.term:n[e+"_"+o]=t.term}),{order:c,q:{groupings:[n],combinator:"and"}}},processResults:function(e){return e.constructor==Object&&(e=e[l]),{results:jQuery.map(e,function(e){return e[a]||(e[a]="No display name for id #"+e.id.toString()),{id:e.id,text:e[a].toString()}})}}}};$(t).select2(d)})}n(document),$(document).on("has_many_add:after",function(e,t){n(t)})};$(n),$(document).on("turbolinks:load",n),$.fn.select2.amd.define("select2/data/nestedCustomAdapter",["select2/data/array","select2/utils"],function(e,t){function n(e,t){n.__super__.constructor.call(this,e,t)}return t.Extend(n,e),n.prototype.query=function(i,e){var r={results:[]},t=this.$element,n=t.data("collection"),o=t.data("parent"),a=t.data("parent-id");n.forEach(function(e){var t=new RegExp(i.term,"i"),n=!!e.text.match(t);o&&e[o]!=a||!n||r.results.push(e)}),e(r)},n.prototype.current=function(e){var n=null,i=this.$element,r=i.data("selected"),t=i.data("collection"),o=[];$.each(t,function(e,t){if(r&&t.id==r.id)return n=t,void i.data("selected",null);i.val()!=t.id||(n=t)}),n&&o.push(n),e(o)},n});var i=function(){function n(x){var k=-1;$(".nested-level-input",x).each(function(e,t){function n(e){i.val(null).trigger("select2:select").trigger("change"),v=e.params&&e.params.data.id?e.params.data.id:k,r.data("parent-id",v)}var i,r=$(t),o=r.data("url"),a=r.data("fields"),s=r.data("predicate"),l=r.data("filters"),u=r.data("display-name"),c=r.data("parent"),d=r.data("width"),p=r.data("model"),h=r.data("response-root"),f=r.data("collection"),g=r.data("minimum-input-length"),m=r.data("order"),v=r.data("parent-id"),y={width:d,minimumInputLength:g,placeholder:"",allowClear:!0};if(f)y.dataAdapter=$.fn.select2.amd.require("select2/data/nestedCustomAdapter");else{var b={url:o,dataType:"json",delay:250,cache:!0,data:function(t){var n={m:"or"};a.forEach(function(e){"id"==e?n[e+"_eq"]=t.term:n[e+"_"+s]=t.term});var e={order:m,q:{groupings:[n],combinator:"and"}};return c&&(e.q[c+"_eq"]=v),Object.assign(e.q,l),e},processResults:function(e){return e.constructor==Object&&(e=e[h]),{results:jQuery.map(e,function(e){return e[u]||(e[u]="No display name for id #"+e.id.toString()),{id:e.id,text:e[u].toString()}})}}};y.ajax=b}if(i=r.select2(y),c){var w="#"+p+"_"+c;$(w).length||(w=$(x).find("*[id*="+c+"]")[0]);var _=$(w)[0];$(_).on("select2:select",n),$(_).on("select2:unselect",n)}})}n(document),$(document).on("has_many_add:after",function(e,t){n(t)})};$(i),$(document).on("turbolinks:load",i);var r=function(){function n(e){$(".tags-input",e).each(function(e,t){function n(){var e=$(t).parent("li.input").find(".select2-selection__choice");return $.map(e,function(e){return $(e).attr("title")})}function o(){$("#"+l).val(n().join())}function i(e){if(u){var t="[id='"+l+"_"+e.params.data.id+"']";$(t).remove()}else o()}function r(e){if(u){var t=e.params.data.id,n=$("[id='"+l+"_selected_values']"),i=a+"["+s+"][]",r=l+"_"+t;$("<input>").attr({id:r,name:i,type:"hidden",value:t}).appendTo(n)}else o()}var a=$(t).data("model"),s=$(t).data("method"),l=a+"_"+s,u=!!$(t).data("relation"),c=$(t).data("collection"),d={width:$(t).data("width"),multiple:!0,tags:!0,data:c};u&&(d.createTag=function(){return undefined}),$(t).on("select2:select",r),$(t).on("select2:unselect",i),$(t).select2(d)})}n(document),$(document).on("has_many_add:after",function(e,t){n(t)})};$(r),$(document).on("turbolinks:load",r);var o=function(){function n(e){$(".selected-list-container").click(function(e){var t=$(e.target);t.hasClass("selected-item")&&t.remove()}),$(".selected-list-input",e).each(function(e,t){function n(e){var t=e.params.data,n=$("[id='"+d+"_selected_values']"),i=c+"["+u+"][]",r=d+"_"+t.id;if(!(0<$("#"+r).length)){var o=$("<div>"+t.text+"</div>").attr({"class":"selected-item",id:r}),a=$("<input>").attr({name:i,type:"hidden",value:t.id});o.appendTo(n),a.appendTo(o)}}function i(){$(t).val(null).trigger("change")}var r=$(t),o=r.data("url"),a=r.data("fields"),s=r.data("predicate"),l=r.data("display-name"),u=r.data("method"),c=r.data("model"),d=c+"_"+u,p=r.data("response-root"),h=r.data("minimum-input-length"),f=r.data("order"),g={minimumInputLength:h,allowClear:!0,ajax:{url:o,dataType:"json",delay:250,cache:!0,data:function(t){var n={m:"or"};return a.forEach(function(e){n[e+"_"+s]=t.term}),{order:f,q:{groupings:[n],combinator:"and"}}},processResults:function(e){return e.constructor==Object&&(e=e[p]),{results:jQuery.map(e,function(e){return{id:e.id,text:e[l].toString()}})}}}};$(t).on("select2:select",n),$(t).on("select2:close",i),$(t).select2(g)})}n(document),$(document).on("has_many_add:after",function(e,t){n(t)})};$(o),$(document).on("turbolinks:load",o);var a=function(){function n(e){var r={formatDate:"y-m-d",format:"Y-m-d H:i",allowBlank:!0,defaultSelect:!1,validateOnBlur:!1,scrollInput:!1};return $(e).find("input.date-time-picker-input").each(function(e,t){var n=$(t).data("picker-options"),i=$.extend(r,n);return $(t).datetimepicker(i)})}n(document),$(document).on("has_many_add:after",".has_many_container",function(e,t){return n(t)})};$(a),$(document).on("turbolinks:load",a);var s=function(){function e(){$(".color-picker-input").each(function(e,t){$(t).paletteColorPicker({clear_btn:"last"})})}e(),$(document).on("has_many_add:after",e)};$(s),$(document).on("turbolinks:load",s);var l=function(){$(".toggle-bool-switch").click(function(e){var t=$(e.target),n=t.data("object_id"),i=t.data("model"),r=t.data("field"),o=t.data("url"),a=t.data("value"),s=t.data("success_message"),l={id:n};l[i]={},l[i][r]=!a,$.ajax({url:o,data:l,dataType:"json",headers:{"X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")},error:function(){alert("Error: Update Unsuccessful")},success:function(){t.data("value",!a),t.toggleClass("on"),t.hasClass("notify-success")&&$(function(){setTimeout(alert(s),500)})},type:"PATCH"})})};$(l),$(document).on("turbolinks:load",l);var u=function(){function n(e){function n(e){var t={placeholder:"",allowClear:!1,width:"125px"};$(e).select2(t),$(e).on("select2:unselecting",function(){$(this).data("unselecting",!0)}).on("select2:open",function(){$(this).data("unselecting")&&$(this).select2("close").removeData("unselecting")})}$(".interactive-tag-select select",e).each(function(e,t){n(t)})}n(document),$(document).on("has_many_add:after",function(e,t){n(t)}),$(".interactive-tag").click(function(e){var t=$(e.target).parent(),n=t.data("model"),i=t.data("object_id"),r=t.data("field"),o=$("."+n+"-"+r+"-"+i+"-select");o.removeClass("select-container-hidden"),t.addClass("interactive-tag-hidden"),o.find("select").select2("open")}),$(".interactive-tag-select").on("select2:close",function(e){var t=$(e.target).parent(),n=t.data("model"),i=t.data("object_id"),r=t.data("field"),o=$("."+n+"-"+r+"-"+i+"-tag"),a=o.find(".status_tag"),s=e.target.value,l=e.target.selectedOptions[0].text,u=t.data("value");if(s===u)t.addClass("select-container-hidden"),o.removeClass("interactive-tag-hidden");else{var c=o.data("url"),d={id:i};d[n]={},d[n][r]=s,$.ajax({url:c,data:d,dataType:"json",headers:{"X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")},error:function(){var e="Error: Update Unsuccessful";console.log(e)},success:function(){a.text(l),a.removeClass(u),a.addClass(s),o.data("value",s),t.data("value",s)},complete:function(){t.addClass("select-container-hidden"),o.removeClass("interactive-tag-hidden")},type:"PATCH"})}})};$(u),$(document).on("turbolinks:load",u)}),function(){}.call(this),window.sr=ScrollReveal(),sr.reveal(".card"),sr.reveal(".collection-item"),function(){$(function(){return $(".infinite").infinitePages({loading:function(){return $(this).html('<div class="progress"><div class="indeterminate"></div></div>')},error:function(){return $(this).button("Erro")}})})}.call(this),function(){}.call(this),function(){$(function(){return $(".infinite").infinitePages({loading:function(){return $(this).html('<div class="progress"><div class="indeterminate"></div></div>')},error:function(){return $(this).button("Erro")}})})}.call(this),function(){$(function(){return $(".infinite").infinitePages({loading:function(){return $(this).html('<div class="progress"><div class="indeterminate"></div></div>')},error:function(){return $(this).button("Erro")}})})}.call(this),$(document).ready(function(){$(".button-collapse").sideNav(),$(".modal-trigger").leanModal(),$(".materialboxed").materialbox(),$("ul.profile").tabs()}),function(){$(function(){return $(".infinite").infinitePages({loading:function(){return $(this).html('<div class="progress"><div class="indeterminate"></div></div>')},error:function(){return $(this).button("Erro")}})})}.call(this),function(){$(function(){return $(".infinite").infinitePages({loading:function(){return $(this).html('<div class="progress"><div class="indeterminate"></div></div>')},error:function(){return $(this).button("Erro")}})})}.call(this),function(){}.call(this);try{Typekit.load()}catch(e){}(function(){}).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.