1function SS_FileView(e,t){this.$el=$(e),this.options=t,this.$canvasContainer=this.$el.find(".canvas-container"),this.$canvasContainer.html(SS.loading),this.canvas=document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.scale=1,this.$slider=this.$el.find("#zoom-slider"),this.$slider.prop({value:100*this.scale,min:100*SS_FileView.MIN_SCALE,max:100*SS_FileView.MAX_SCALE,step:"any"}),this.$slider.on("input",this.zooming.bind(this)).on("change",this.zoomChanged.bind(this)),this.dragInfo={isDragging:!1,start:{x:0,y:0},diff:{x:0,y:0},canvas:{x:0,y:0}};var n=this,i=$.Deferred();this.$el.one("ss:cboxCompleted",function(){i.resolve()}),setTimeout(function(){i.resolve()},3e3);var a=$.Deferred();this.image=new Image,this.image.src=this.options.itemUrl,this.image.onload=function(){a.resolve()},this.image.onerror=function(){a.rejectWith(n,["failed to load image"])},$.when(i.promise(),a.promise()).done(this.initializationComplete.bind(this)).fail(function(e){n.$canvasContainer.html(e)}),SS_Color.render()}var DateFormatter;!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(_,e){"use strict";function m(e,t,n){var i,a,r=(n=n||ke).createElement("script");if(r.text=e,t)for(i in Se)(a=t[i]||t.getAttribute&&t.getAttribute(i))&&r.setAttribute(i,a);n.head.appendChild(r).parentNode.removeChild(r)}function g(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?he[pe.call(e)]||"object":typeof e}function s(e){var t=!!e&&"length"in e&&e.length,n=g(e);return!ye(e)&&!xe(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function c(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function t(e,n,i){return ye(n)?_e.grep(e,function(e,t){return!!n.call(e,t,e)!==i}):n.nodeType?_e.grep(e,function(e){return e===n!==i}):"string"!=typeof n?_e.grep(e,function(e){return-1<fe.call(n,e)!==i}):_e.filter(n,e,i)}function n(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function d(e){var n={};return _e.each(e.match(Fe)||[],function(e,t){n[t]=!0}),n}function u(e){return e}function f(e){throw e}function l(e,t,n,i){var a;try{e&&ye(a=e.promise)?a.call(e).done(t).fail(n):e&&ye(a=e.then)?a.call(e,t,n):t.apply(undefined,[e].slice(i))}catch(e){n.apply(undefined,[e])}}function i(){ke.removeEventListener("DOMContentLoaded",i),_.removeEventListener("load",i),_e.ready()}function a(e,t){return t.toUpperCase()}function h(e){return e.replace(Le,"ms-").replace($e,a)}function r(){this.expando=_e.expando+r.uid++}function o(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:We.test(e)?JSON.parse(e):e)}function p(e,t,n){var i;if(n===undefined&&1===e.nodeType)if(i="data-"+t.replace(qe,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n=o(n)}catch(a){}He.set(e,t,n)}else n=undefined;return n}function b(e,t,n,i){var a,r,o=20,s=i?function(){return i.cur()}:function(){return _e.css(e,t,"")},l=s(),c=n&&n[3]||(_e.cssNumber[t]?"":"px"),d=e.nodeType&&(_e.cssNumber[t]||"px"!==c&&+l)&&Ge.exec(_e.css(e,t));if(d&&d[3]!==c){for(l/=2,c=c||d[3],d=+l||1;o--;)_e.style(e,t,d+c),(1-r)*(1-(r=s()/l||.5))<=0&&(o=0),d/=r;d*=2,_e.style(e,t,d+c),n=n||[]}return n&&(d=+d||+l||0,a=n[1]?d+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=d,i.end=a)),a}function v(e){var t,n=e.ownerDocument,i=e.nodeName,a=Ke[i];return a||(t=n.body.appendChild(n.createElement(i)),a=_e.css(t,"display"),t.parentNode.removeChild(t),"none"===a&&(a="block"),Ke[i]=a)}function y(e,t){for(var n,i,a=[],r=0,o=e.length;r<o;r++)(i=e[r]).style&&(n=i.style.display,t?("none"===n&&(a[r]=Ne.get(i,"display")||null,a[r]||(i.style.display="")),""===i.style.display&&Qe(i)&&(a[r]=v(i))):"none"!==n&&(a[r]="none",Ne.set(i,"display",n)));for(r=0;r<o;r++)null!=a[r]&&(e[r].style.display=a[r]);return e}function x(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],t===undefined||t&&c(e,t)?_e.merge([e],n):n}function k(e,t){for(var n=0,i=e.length;n<i;n++)Ne.set(e[n],"globalEval",!t||Ne.get(t[n],"globalEval"))}function S(e,t,n,i,a){for(var r,o,s,l,c,d,u=t.createDocumentFragment(),f=[],h=0,p=e.length;h<p;h++)if((r=e[h])||0===r)if("object"===g(r))_e.merge(f,r.nodeType?[r]:r);else if(rt.test(r)){for(o=o||u.appendChild(t.createElement("div")),s=(nt.exec(r)||["",""])[1].toLowerCase(),l=at[s]||at._default,o.innerHTML=l[1]+_e.htmlPrefilter(r)+l[2],d=l[0];d--;)o=o.lastChild;_e.merge(f,o.childNodes),(o=u.firstChild).textContent=""}else f.push(t.createTextNode(r));for(u.textContent="",h=0;r=f[h++];)if(i&&-1<_e.inArray(r,i))a&&a.push(r);else if(c=Je(r),o=x(u.appendChild(r),"script"),c&&k(o),n)for(d=0;r=o[d++];)it.test(r.type||"")&&n.push(r);return u}function w(){return!0}function C(){return!1}function M(e,t){return e===T()==("focus"===t)}function T(){try{return ke.activeElement}catch(e){}}function P(e,t,n,i,a,r){var o,s;if("object"==typeof t){for(s in"string"!=typeof n&&(i=i||n,n=undefined),t)P(e,s,n,i,t[s],r);return e}if(null==i&&null==a?(a=n,i=n=undefined):null==a&&("string"==typeof n?(a=i,i=undefined):(a=i,i=n,n=undefined)),!1===a)a=C;else if(!a)return e;return 1===r&&(o=a,(a=function(e){return _e().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=_e.guid++)),e.each(function(){_e.event.add(this,t,a,i,n)})}function D(e,a,r){r?(Ne.set(e,a,!1),_e.event.add(e,a,{namespace:!1,handler:function(e){var t,n,i=Ne.get(this,a);if(1&e.isTrigger&&this[a]){if(i.length)(_e.event.special[a]||{}).delegateType&&e.stopPropagation();else if(i=ce.call(arguments),Ne.set(this,a,i),t=r(this,a),this[a](),i!==(n=Ne.get(this,a))||t?Ne.set(this,a,!1):n={},i!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else i.length&&(Ne.set(this,a,{value:_e.event.trigger(_e.extend(i[0],_e.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):Ne.get(e,a)===undefined&&_e.event.add(e,a,w)}function j(e,t){return c(e,"table")&&c(11!==t.nodeType?t:t.firstChild,"tr")&&_e(e).children("tbody")[0]||e}function A(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function E(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function O(e,t){var n,i,a,r,o,s;if(1===t.nodeType){if(Ne.hasData(e)&&(s=Ne.get(e).events))for(a in Ne.remove(t,"handle events"),s)for(n=0,i=s[a].length;n<i;n++)_e.event.add(t,a,s[a][n]);He.hasData(e)&&(r=He.access(e),o=_e.extend({},r),He.set(t,o))}}function F(e,t){var n=t.nodeName.toLowerCase();
vendor: 32,525 bytes, lines 1-2
1"input"===n&&tt.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function I(n,i,a,r){i=de(i);var e,t,o,s,l,c,d=0,u=n.length,f=u-1,h=i[0],p=ye(h);if(p||1<u&&"string"==typeof h&&!ve.checkClone&&dt.test(h))return n.each(function(e){var t=n.eq(e);p&&(i[0]=h.call(this,e,t.html())),I(t,i,a,r)});if(u&&(t=(e=S(i,n[0].ownerDocument,!1,n,r)).firstChild,1===e.childNodes.length&&(e=t),t||r)){for(s=(o=_e.map(x(e,"script"),A)).length;d<u;d++)l=e,d!==f&&(l=_e.clone(l,!0,!0),s&&_e.merge(o,x(l,"script"))),a.call(n[d],l,d);if(s)for(c=o[o.length-1].ownerDocument,_e.map(o,E),d=0;d<s;d++)l=o[d],it.test(l.type||"")&&!Ne.access(l,"globalEval")&&_e.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?_e._evalUrl&&!l.noModule&&_e._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):m(l.textContent.replace(ut,""),l,c))}return n}function B(e,t,n){for(var i,a=t?_e.filter(t,e):e,r=0;null!=(i=a[r]);r++)n||1!==i.nodeType||_e.cleanData(x(i)),i.parentNode&&(n&&Je(i)&&k(x(i,"script")),i.parentNode.removeChild(i));return e}function R(e,t,n){var i,a,r,o,s=e.style;return(n=n||ht(e))&&(""!==(o=n.getPropertyValue(t)||n[t])||Je(e)||(o=_e.style(e,t)),!ve.pixelBoxStyles()&&ft.test(o)&&mt.test(t)&&(i=s.width,a=s.minWidth,r=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=n.width,s.width=i,s.minWidth=a,s.maxWidth=r)),o!==undefined?o+"":o}function L(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function $(e){for(var t=e[0].toUpperCase()+e.slice(1),n=gt.length;n--;)if((e=gt[n]+t)in bt)return e}function z(e){var t=_e.cssProps[e]||vt[e];return t||(e in bt?e:vt[e]=$(e)||e)}function N(e,t,n){var i=Ge.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function H(e,t,n,i,a,r){var o="width"===t?1:0,s=0,l=0;if(n===(i?"border":"content"))return 0;for(;o<4;o+=2)"margin"===n&&(l+=_e.css(e,n+Ue[o],!0,a)),i?("content"===n&&(l-=_e.css(e,"padding"+Ue[o],!0,a)),"margin"!==n&&(l-=_e.css(e,"border"+Ue[o]+"Width",!0,a))):(l+=_e.css(e,"padding"+Ue[o],!0,a),"padding"!==n?l+=_e.css(e,"border"+Ue[o]+"Width",!0,a):s+=_e.css(e,"border"+Ue[o]+"Width",!0,a));return!i&&0<=r&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-r-l-s-.5))||0),l}function W(e,t,n){var i=ht(e),a=(!ve.boxSizingReliable()||n)&&"border-box"===_e.css(e,"boxSizing",!1,i),r=a,o=R(e,t,i),s="offset"+t[0].toUpperCase()+t.slice(1);if(ft.test(o)){if(!n)return o;o="auto"}return(!ve.boxSizingReliable()&&a||!ve.reliableTrDimensions()&&c(e,"tr")||"auto"===o||!parseFloat(o)&&"inline"===_e.css(e,"display",!1,i))&&e.getClientRects().length&&(a="border-box"===_e.css(e,"boxSizing",!1,i),(r=s in e)&&(o=e[s])),(o=parseFloat(o)||0)+H(e,t,n||(a?"border":"content"),r,i,o)+"px"}function q(e,t,n,i,a){return new q.prototype.init(e,t,n,i,a)}function V(){_t&&(!1===ke.hidden&&_.requestAnimationFrame?_.requestAnimationFrame(V):_.setTimeout(V,_e.fx.interval),_e.fx.tick())}function G(){return _.setTimeout(function(){wt=undefined}),wt=Date.now()}function U(e,t){var n,i=0,a={height:e};for(t=t?1:0;i<4;i+=2-t)a["margin"+(n=Ue[i])]=a["padding"+n]=e;return t&&(a.opacity=a.width=e),a}function Y(e,t,n){for(var i,a=(Q.tweeners[t]||[]).concat(Q.tweeners["*"]),r=0,o=a.length;r<o;r++)if(i=a[r].call(n,t,e))return i}function J(e,t,n){var i,a,r,o,s,l,c,d,u="width"in t||"height"in t,f=this,h={},p=e.style,m=e.nodeType&&Qe(e),g=Ne.get(e,"fxshow");for(i in n.queue||(null==(o=_e._queueHooks(e,"fx")).unqueued&&(o.unqueued=0,s=o.empty.fire,o.empty.fire=function(){o.unqueued||s()}),o.unqueued++,f.always(function(){f.always(function(){o.unqueued--,_e.queue(e,"fx").length||o.empty.fire()})})),t)if(a=t[i],Tt.test(a)){if(delete t[i],r=r||"toggle"===a,a===(m?"hide":"show")){if("show"!==a||!g||g[i]===undefined)continue;m=!0}h[i]=g&&g[i]||_e.style(e,i)}if((l=!_e.isEmptyObject(t))||!_e.isEmptyObject(h))for(i in u&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=g&&g.display)&&(c=Ne.get(e,"display")),"none"===(d=_e.css(e,"display"))&&(c?d=c:(y([e],!0),c=e.style.display||c,d=_e.css(e,"display"),y([e]))),("inline"===d||"inline-block"===d&&null!=c)&&"none"===_e.css(e,"float")&&(l||(f.done(function(){p.display=c}),null==c&&(d=p.display,c="none"===d?"":d)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",f.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),l=!1,h)l||(g?"hidden"in g&&(m=g.hidden):g=Ne.access(e,"fxshow",{display:c}),r&&(g.hidden=!m),m&&y([e],!0),f.done(function(){for(i in m||y([e]),Ne.remove(e,"fxshow"),h)_e.style(e,i,h[i])})),l=Y(m?g[i]:0,i,f),i in g||(g[i]=l.start,m&&(l.end=l.start,l.start=0))}function X(e,t){var n,i,a,r,o;for(n in e)if(a=t[i=h(n)],r=e[n],Array.isArray(r)&&(a=r[1],r=e[n]=r[0]),n!==i&&(e[i]=r,delete e[n]),(o=_e.cssHooks[i])&&"expand"in o)for(n in r=o.expand(r),delete e[i],r)n in e||(e[n]=r[n],t[n]=a);else t[i]=a}function Q(r,e,t){var n,o,i=0,a=Q.prefilters.length,s=_e.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var e=wt||G(),t=Math.max(0,c.startTime+c.duration-e),n=1-(t/c.duration||0),i=0,a=c.tweens.length;i<a;i++)c.tweens[i].run(n);return s.notifyWith(r,[c,n,t]),n<1&&a?t:(a||s.notifyWith(r,[c,1,0]),s.resolveWith(r,[c]),!1)},c=s.promise({elem:r,props:_e.extend({},e),opts:_e.extend(!0,{specialEasing:{},easing:_e.easing._default},t),originalProperties:e,originalOptions:t,startTime:wt||G(),duration:t.duration,tweens:[],createTween:function(e,t){var n=_e.Tween(r,c.opts,e,t,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(n),n},stop:function(e){var t=0,n=e?c.tweens.length:0;if(o)return this;for(o=!0;t<n;t++)c.tweens[t].run(1);return e?(s.notifyWith(r,[c,1,0]),s.resolveWith(r,[c,e])):s.rejectWith(r,[c,e]),this}}),d=c.props;for(X(d,c.opts.specialEasing);i<a;i++)if(n=Q.prefilters[i].call(c,r,d,c.opts))return ye(n.stop)&&(_e._queueHooks(c.elem,c.opts.queue).stop=n.stop.bind(n)),n;return _e.map(d,Y,c),ye(c.opts.start)&&c.opts.start.call(r,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),_e.fx.timer(_e.extend(l,{elem:r,anim:c,queue:c.opts.queue})),c}function K(e){return(e.match(Fe)||[]).join(" ")}function Z(e){return e.getAttribute&&e.getAttribute("class")||""}function ee(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(Fe)||[]}function te(n,e,i,a){var t;if(Array.isArray(e))_e.each(e,function(e,t){i||$t.test(n)?a(n,t):te(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,i,a)});else if(i||"object"!==g(e))a(n,e);else for(t in e)te(n+"["+t+"]",e[t],i,a)}function ne(r){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,i=0,a=e.toLowerCase().match(Fe)||[];if(ye(t))for(;n=a[i++];)"+"===n[0]?(n=n.slice(1)||"*",(r[n]=r[n]||[]).unshift(t)):(r[n]=r[n]||[]).push(t)}}function ie(t,a,r,o){function s(e){var i;return l[e]=!0,_e.each(t[e]||[],function(e,t){var n=t(a,r,o);return"string"!=typeof n||c||l[n]?c?!(i=n):void 0:(a.dataTypes.unshift(n),s(n),!1)}),i}var l={},c=t===Qt;return s(a.dataTypes[0])||!l["*"]&&s("*")}function ae(e,t){var n,i,a=_e.ajaxSettings.flatOptions||{};for(n in t)t[n]!==undefined&&((a[n]?e:i||(i={}))[n]=t[n]);return i&&_e.extend(!0,e,i),e}function re(e,t,n){for(var i,a,r,o,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),i===undefined&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){l.unshift(a);break}if(l[0]in n)r=l[0];else{for(a in n){if(!l[0]||e.converters[a+" "+l[0]]){r=a;break}o||(o=a)}r=r||o}if(r)return r!==l[0]&&l.unshift(r),n[r]}function oe(e,t,n,i){var a,r,o,s,l,c={},d=e.dataTypes.slice();if(d[1])for(o in e.converters)c[o.toLowerCase()]=e.converters[o];for(r=d.shift();r;)if(e.responseFields[r]&&(n[e.responseFields[r]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=r,r=d.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(o=c[l+" "+r]||c["* "+r]))for(a in c)if((s=a.split(" "))[1]===r&&(o=c[l+" "+s[0]]||c["* "+s[0]])){!0===o?o=c[a]:!0!==c[a]&&(r=s[0],d.unshift(s[1]));break}if(!0!==o)if(o&&e["throws"])t=o(t);else try{t=o(t)}catch(u){return{state:"parsererror",error:o?u:"No conversion from "+l+" to "+r}}}return{state:"success",data:t}}var se=[],le=Object.getPrototypeOf,ce=se.slice,de=se.flat?function(e){return se.flat.call(e)}:function(e){return se.concat.apply([],e)},ue=se.push,fe=se.indexOf,he={},pe=he.toString,me=he.hasOwnProperty,ge=me.toString,be=ge.call(Object),ve={},ye=function ye(e){return"function"==typeof e&&"number"!=typeof e.nodeType},xe=function xe(e){return null!=e&&e===e.window},ke=_.document,Se={type:!0,src:!0,nonce:!0,noModule:!0},we="3.5.1",_e=function(e,t){return new _e.fn.init(e,t)};_e.fn=_e.prototype={jquery:we,constructor:_e,length:0,toArray:function(){return ce.call(this)},get:function(e){return null==e?ce.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=_e.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return _e.each(this,e)},map:function(n){return this.pushStack(_e.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(ce.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(_e.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(_e.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:ue,sort:se.sort,splice:se.splice},_e.extend=_e.fn.extend=function(e){var t,n,i,a,r,o,s=e||{},l=1,c=arguments.length,d=!1;for("boolean"==typeof s&&(d=s,s=arguments[l]||{},l++),"object"==typeof s||ye(s)||(s={}),l===c&&(s=this,l--);l<c;l++)if(null!=(t=arguments[l]))for(n in t)a=t[n],"__proto__"!==n&&s!==a&&(d&&a&&(_e.isPlainObject(a)||(r=Array.isArray(a)))?(i=s[n],o=r&&!Array.isArray(i)?[]:r||_e.isPlainObject(i)?i:{},r=!1,s[n]=_e.extend(d,o,a)):a!==undefined&&(s[n]=a));return s},_e.extend({expando:"jQuery"+(we+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]"!==pe.call(e))&&(!(t=le(e))||"function"==typeof(n=me.call(t,"constructor")&&t.constructor)&&ge.call(n)===be)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){m(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))?_e.merge(n,"string"==typeof e?[e]:e):ue.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:fe.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,a=e.length;i<n;i++)e[a++]=t[i];return e.length=a,e},grep:function(e,t,n){for(var i=[],a=0,r=e.length,o=!n;a<r;a++)!t(e[a],a)!==o&&i.push(e[a]);return i},map:function(e,t,n){var i,a,r=0,o=[];if(s(e))for(i=e.length;r<i;r++)null!=(a=t(e[r],r,n))&&o.push(a);else for(r in e)null!=(a=t(e[r],r,n))&&o.push(a);return de(o)},guid:1,support:ve}),"function"==typeof Symbol&&(_e.fn[Symbol.iterator]=se[Symbol.iterator]),_e.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){he["[object "+t+"]"]=t.toLowerCase()});var Ce=function(n){function x(e,t,n,i){var a,r,o,s,l,c,d,u=t&&t.ownerDocument,f=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==f&&9!==f&&11!==f)return n;if(!i&&(E(t),t=t||O,I)){if(11!==f&&(l=ye.exec(e)))if(a=l[1]){if(9===f){if(!(o=t.getElementById(a)))return n;if(o.id===a)return n.push(o),n}else if(u&&(o=u.getElementById(a))&&$(t,o)&&o.id===a)return n.push(o),n}else{if(l[2])return Z.apply(n,t.getElementsByTagName(e)),n;if((a=l[3])&&S.getElementsByClassName&&t.getElementsByClassName)return Z.apply(n,t.getElementsByClassName(a)),n}if(S.qsa&&!U[e+" "]&&(!B||!B.test(e))&&(1!==f||"object"!==t.nodeName.toLowerCase())){if(d=e,u=t,1===f&&(ue.test(e)||de.test(e))){for((u=xe.test(e)&&p(t.parentNode)||t)===t&&S.scope||((s=t.getAttribute("id"))?s=s.replace(we,_e):t.setAttribute("id",s=z)),r=(c=M(e)).length;r--;)c[r]=(s?"#"+s:":scope")+" "+m(c[r]);d=c.join(",")}try{return Z.apply(n,u.querySelectorAll(d)),n}catch(h){U(e,!0)}finally{s===z&&t.removeAttribute("id")}}}return P(e.replace(le,"$1"),t,n,i)}function e(){function n(e,t){return i.push(e+" ")>w.cacheLength&&delete n[i.shift()],n[e+" "]=t}var i=[];return n}function l(e){return e[z]=!0,e}function a(e){var t=O.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--;)w.attrHandle[n[i]]=t}function c(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 r(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function o(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&&Me(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function s(o){return l(function(r){return r=+r,l(function(e,t){for(var n,i=o([],e.length,r),a=i.length;a--;)e[n=i[a]]&&(e[n]=!(t[n]=e[n]))})})}function p(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function d(){}function m(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function u(s,e,t){var l=e.dir,c=e.next,d=c||l,u=t&&"parentNode"===d,f=W++;return e.first?function(e,t,n){for(;e=e[l];)if(1===e.nodeType||u)return s(e,t,n);return!1}:function(e,t,n){var i,a,r,o=[H,f];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(a=(r=e[z]||(e[z]={}))[e.uniqueID]||(r[e.uniqueID]={}),c&&c===e.nodeName.toLowerCase())e=e[l]||e;else{if((i=a[d])&&i[0]===H&&i[1]===f)return o[2]=i[2];if((a[d]=o)[2]=s(e,t,n))return!0}return!1}}function f(a){return 1<a.length?function(e,t,n){for(var i=a.length;i--;)if(!a[i](e,t,n))return!1;return!0}:a[0]}function v(e,t,n){for(var i=0,a=t.length;i<a;i++)x(e,t[i],n);return n}function k(e,t,n,i,a){for(var r,o=[],s=0,l=e.length,c=null!=t;s<l;s++)(r=e[s])&&(n&&!n(r,i,a)||(o.push(r),c&&t.push(s)));return o}function y(h,p,m,g,b,e){return g&&!g[z]&&(g=y(g)),b&&!b[z]&&(b=y(b,e)),l(function(e,t,n,i){var a,r,o,s=[],l=[],c=t.length,d=e||v(p||"*",n.nodeType?[n]:n,[]),u=!h||!e&&p?d:k(d,s,h,n,i),f=m?b||(e?h:c||g)?[]:t:u;if(m&&m(u,f,n,i),g)for(a=k(f,l),g(a,[],n,i),r=a.length;r--;)(o=a[r])&&(f[l[r]]=!(u[l[r]]=o));if(e){if(b||h){if(b){for(a=[],r=f.length;r--;)(o=f[r])&&a.push(u[r]=o);b(null,f=[],a,i)}for(r=f.length;r--;)(o=f[r])&&-1<(a=b?te(e,o):s[r])&&(e[a]=!(t[a]=o))}}else f=k(f===t?f.splice(c,f.length):f),b?b(null,t,f,i):Z.apply(t,f)})}function h(e){for(var a,t,n,i=e.length,r=w.relative[e[0].type],o=r||w.relative[" "],s=r?1:0,l=u(function(e){return e===a},o,!0),c=u(function(e){return-1<te(a,e)},o,!0),d=[function(e,t,n){var i=!r&&(n||t!==D)||((a=t).nodeType?l(e,t,n):c(e,t,n));return a=null,i}];s<i;s++)if(t=w.relative[e[s].type])d=[u(f(d),t)];else{if((t=w.filter[e[s].type].apply(null,e[s].matches))[z]){for(n=++s;n<i&&!w.relative[e[n].type];n++);return y(1<s&&f(d),1<s&&m(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&&m(e))}d.push(t)}return f(d)}function g(g,b){var v=0<b.length,y=0<g.length,e=function(e,t,n,i,a){var r,o,s,l=0,c="0",d=e&&[],u=[],f=D,h=e||y&&w.find.TAG("*",a),p=H+=null==f?1:Math.random()||.1,m=h.length;for(a&&(D=t==O||t||a);c!==m&&null!=(r=h[c]);c++){if(y&&r){for(o=0,t||r.ownerDocument==O||(E(r),n=!I);s=g[o++];)if(s(r,t||O,n)){i.push(r);break}a&&(H=p)}v&&((r=!s&&r)&&l--,e&&d.push(r))}if(l+=c,v&&c!==l){for(o=0;s=b[o++];)s(d,u,t,n);if(e){if(0<l)for(;c--;)d[c]||u[c]||(u[c]=Q.call(i));u=k(u)}Z.apply(i,u),a&&!e&&0<u.length&&1<l+b.length&&x.uniqueSort(i)}return a&&(H=p,D=f),d};return v?l(e):e}var b,S,w,_,C,M,T,P,D,j,A,E,O,F,I,B,R,L,$,z="sizzle"+1*new Date,N=n.document,H=0,W=0,q=e(),V=e(),G=e(),U=e(),Y=function(e,t){return e===t&&(A=!0),0},J={}.hasOwnProperty,X=[],Q=X.pop,K=X.push,Z=X.push,ee=X.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]",ae="(?:\\\\[\\da-fA-F]{1,6}"+ie+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",re="\\["+ie+"*("+ae+")(?:"+ie+"*([*^$|!~]?=)"+ie+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ae+"))|)"+ie+"*\\]",oe=":("+ae+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+re+")*)|.*)\\)|)",se=new RegExp(ie+"+","g"),le=new RegExp("^"+ie+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ie+"+$","g"),ce=new RegExp("^"+ie+"*,"+ie+"*"),de=new RegExp("^"+ie+"*([>+~]|"+ie+")"+ie+"*"),ue=new RegExp(ie+"|>"),fe=new RegExp(oe),he=new RegExp("^"+ae+"$"),pe={ID:new RegExp("^#("+ae+")"),CLASS:new RegExp("^\\.("+ae+")"),TAG:new RegExp("^("+ae+"|[*])"),ATTR:new RegExp("^"+re),PSEUDO:new RegExp("^"+oe),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ie+"*(even|odd|(([+-]|)(\\d*)n|)"+ie+"*(?:([+-]|)"+ie+"*(\\d+)|))"+ie+"*\\)|)","i"),bool:new RegExp("^(?:"+ne+")$","i"),needsContext:new RegExp("^"+ie+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ie+"*((?:-\\d)?\\d*)"+ie+"*\\)|)(?=[^-]|$)","i")},me=/HTML$/i,ge=/^(?:input|select|textarea|button)$/i,be=/^h\d$/i,ve=/^[^{]+\{\s*\[native \w/,ye=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,xe=/[+~]/,ke=new RegExp("\\\\[\\da-fA-F]{1,6}"+ie+"?|\\\\([^\\r\\n\\f])","g"),Se=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))},we=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,_e=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},Ce=function(){E()},Me=u(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{Z.apply(X=ee.call(N.childNodes),N.childNodes),X[N.childNodes.length].nodeType}catch(Te){Z={apply:X.length?function(e,t){K.apply(e,ee.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}for(b in S=x.support={},C=x.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!me.test(t||n&&n.nodeName||"HTML")},E=x.setDocument=function(e){var t,n,i=e?e.ownerDocument||e:N;return i!=O&&9===i.nodeType&&i.documentElement&&(F=(O=i).documentElement,I=!C(O),N!=O&&(n=O.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Ce,!1):n.attachEvent&&n.attachEvent("onunload",Ce)),S.scope=a(function(e){return F.appendChild(e).appendChild(O.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),S.attributes=a(function(e){return e.className="i",!e.getAttribute("className")}),S.getElementsByTagName=a(function(e){return e.appendChild(O.createComment("")),!e.getElementsByTagName("*").length}),S.getElementsByClassName=ve.test(O.getElementsByClassName),S.getById=a(function(e){return F.appendChild(e).id=z,!O.getElementsByName||!O.getElementsByName(z).length}),S.getById?(w.filter.ID=function(e){var t=e.replace(ke,Se);return function(e){return e.getAttribute("id")===t}},w.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&I){var n=t.getElementById(e);return n?[n]:[]}}):(w.filter.ID=function(e){var n=e.replace(ke,Se);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},w.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&I){var n,i,a,r=t.getElementById(e);if(r){if((n=r.getAttributeNode("id"))&&n.value===e)return[r];for(a=t.getElementsByName(e),i=0;r=a[i++];)if((n=r.getAttributeNode("id"))&&n.value===e)return[r]}return[]}}),w.find.TAG=S.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):S.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],a=0,r=t.getElementsByTagName(e);if("*"!==e)return r;for(;n=r[a++];)1===n.nodeType&&i.push(n);return i},w.find.CLASS=S.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&I)return t.getElementsByClassName(e)},R=[],B=[],(S.qsa=ve.test(O.querySelectorAll))&&(a(function(e){var t;F.appendChild(e).innerHTML="<a id='"+z+"'></a><select id='"+z+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&B.push("[*^$]="+ie+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||B.push("\\["+ie+"*(?:value|"+ne+")"),e.querySelectorAll("[id~="+z+"-]").length||B.push("~="),(t=O.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||B.push("\\["+ie+"*name"+ie+"*="+ie+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||B.push(":checked"),e.querySelectorAll("a#"+z+"+*").length||B.push(".#.+[+~]"),e.querySelectorAll("\\\f"),B.push("[\\r\\n\\f]")}),a(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=O.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&B.push("name"+ie+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&B.push(":enabled",":disabled"),F.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&B.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),B.push(",.*:")})),(S.matchesSelector=ve.test(L=F.matches||F.webkitMatchesSelector||F.mozMatchesSelector||F.oMatchesSelector||F.msMatchesSelector))&&a(function(e){S.disconnectedMatch=L.call(e,"*"),L.call(e,"[s!='']:x"),R.push("!=",oe)}),B=B.length&&new RegExp(B.join("|")),R=R.length&&new RegExp(R.join("|")),t=ve.test(F.compareDocumentPosition),$=t||ve.test(F.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 A=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!S.sortDetached&&t.compareDocumentPosition(e)===n?e==O||e.ownerDocument==N&&$(N,e)?-1:t==O||t.ownerDocument==N&&$(N,t)?1:j?te(j,e)-te(j,t):0:4&n?-1:1)}:function(e,t){if(e===t)return A=!0,0;var n,i=0,a=e.parentNode,r=t.parentNode,o=[e],s=[t];if(!a||!r)return e==O?-1:t==O?1:a?-1:r?1:j?te(j,e)-te(j,t):0;if(a===r)return c(e,t);for(n=e;n=n.parentNode;)o.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;o[i]===s[i];)i++;return i?c(o[i],s[i]):o[i]==N?-1:s[i]==N?1:0}),O},x.matches=function(e,t){return x(e,null,null,t)},x.matchesSelector=function(e,t){if(E(e),S.matchesSelector&&I&&!U[t+" "]&&(!R||!R.test(t))&&(!B||!B.test(t)))try{var n=L.call(e,t);if(n||S.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(Te){U(t,!0)}return 0<x(t,O,null,[e]).length},x.contains=function(e,t){return(e.ownerDocument||e)!=O&&E(e),$(e,t)},x.attr=function(e,t){(e.ownerDocument||e)!=O&&E(e);var n=w.attrHandle[t.toLowerCase()],i=n&&J.call(w.attrHandle,t.toLowerCase())?n(e,t,!I):undefined;return i!==undefined?i:S.attributes||!I?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},x.escape=function(e){return(e+"").replace(we,_e)},x.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},x.uniqueSort=function(e){var t,n=[],i=0,a=0;if(A=!S.detectDuplicates,j=!S.sortStable&&e.slice(0),e.sort(Y),A){for(;t=e[a++];)t===e[a]&&(i=n.push(a));for(;i--;)e.splice(n[i],1)}return j=null,e},_=x.getText=function(e){var t,n="",i=0,a=e.nodeType;if(a){if(1===a||9===a||11===a){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=_(e)}else if(3===a||4===a)return e.nodeValue}else for(;t=e[i++];)n+=_(t);return n},(w=x.selectors={cacheLength:50,createPseudo:l,match:pe,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(ke,Se),e[3]=(e[3]||e[4]||e[5]||"").replace(ke,Se),"~="===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]||x.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]&&x.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&fe.test(n)&&(t=M(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(ke,Se).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=q[e+" "];return t||(t=new RegExp("(^|"+ie+")"+e+"("+ie+"|$)"))&&q(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,i,a){return function(e){var t=x.attr(e,n);return null==t?"!="===i:!i||(t+="","="===i?t===a:"!="===i?t!==a:"^="===i?a&&0===t.indexOf(a):"*="===i?a&&-1<t.indexOf(a):"$="===i?a&&t.slice(-a.length)===a:"~="===i?-1<(" "+t.replace(se," ")+" ").indexOf(a):"|="===i&&(t===a||t.slice(0,a.length+1)===a+"-"))}},CHILD:function(p,e,t,m,g){var b="nth"!==p.slice(0,3),v="last"!==p.slice(-4),y="of-type"===e;return 1===m&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var i,a,r,o,s,l,c=b!==v?"nextSibling":"previousSibling",d=e.parentNode,u=y&&e.nodeName.toLowerCase(),f=!n&&!y,h=!1;if(d){if(b){for(;c;){for(o=e;o=o[c];)if(y?o.nodeName.toLowerCase()===u:1===o.nodeType)return!1;l=c="only"===p&&!l&&"nextSibling"}return!0}if(l=[v?d.firstChild:d.lastChild],v&&f){for(h=(s=( 2i=(a=(r=(o=d)[z]||(o[z]={}))[o.uniqueID]||(r[o.uniqueID]={}))[p]||[])[0]===H&&i[1])&&i[2],o=s&&d.childNodes[s];o=++s&&o&&o[c]||(h=s=0)||l.pop();)if(1===o.nodeType&&++h&&o===e){a[p]=[H,s,h];break}}else if(f&&(h=s=(i=(a=(r=(o=e)[z]||(o[z]={}))[o.uniqueID]||(r[o.uniqueID]={}))[p]||[])[0]===H&&i[1]),!1===h)for(;(o=++s&&o&&o[c]||(h=s=0)||l.pop())&&((y?o.nodeName.toLowerCase()!==u:1!==o.nodeType)||!++h||(f&&((a=(r=o[z]||(o[z]={}))[o.uniqueID]||(r[o.uniqueID]={}))[p]=[H,h]),o!==e)););return(h-=g)===m||h%m==0&&0<=h/m}}},PSEUDO:function(e,r){var t,o=w.pseudos[e]||w.setFilters[e.toLowerCase()]||x.error("unsupported pseudo: "+e);return o[z]?o(r):1<o.length?(t=[e,e,"",r],w.setFilters.hasOwnProperty(e.toLowerCase())?l(function(e,t){for(var n,i=o(e,r),a=i.length;a--;)e[n=te(e,i[a])]=!(t[n]=i[a])}):function(e){return o(e,0,t)}):o}},pseudos:{not:l(function(e){var i=[],a=[],s=T(e.replace(le,"$1"));return s[z]?l(function(e,t,n,i){for(var a,r=s(e,null,i,[]),o=e.length;o--;)(a=r[o])&&(e[o]=!(t[o]=a))}):function(e,t,n){return i[0]=e,s(i,null,n,a),i[0]=null,!a.pop()}}),has:l(function(t){return function(e){return 0<x(t,e).length}}),contains:l(function(t){return t=t.replace(ke,Se),function(e){return-1<(e.textContent||_(e)).indexOf(t)}}),lang:l(function(n){return he.test(n||"")||x.error("unsupported lang: "+n),n=n.replace(ke,Se).toLowerCase(),function(e){var t;do{if(t=I?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===F},focus:function(e){return e===O.activeElement&&(!O.hasFocus||O.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:o(!1),disabled:o(!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!w.pseudos.empty(e)},header:function(e){return be.test(e.nodeName)},input:function(e){return ge.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=w.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[b]=i(b);for(b in{submit:!0,reset:!0})w.pseudos[b]=r(b);return d.prototype=w.filters=w.pseudos,w.setFilters=new d,M=x.tokenize=function(e,t){var n,i,a,r,o,s,l,c=V[e+" "];if(c)return t?0:c.slice(0);for(o=e,s=[],l=w.preFilter;o;){for(r in n&&!(i=ce.exec(o))||(i&&(o=o.slice(i[0].length)||o),s.push(a=[])),n=!1,(i=de.exec(o))&&(n=i.shift(),a.push({value:n,type:i[0].replace(le," ")}),o=o.slice(n.length)),w.filter)!(i=pe[r].exec(o))||l[r]&&!(i=l[r](i))||(n=i.shift(),a.push({value:n,type:r,matches:i}),o=o.slice(n.length));if(!n)break}return t?o.length:o?x.error(e):V(e,s).slice(0)},T=x.compile=function(e,t){var n,i=[],a=[],r=G[e+" "];if(!r){for(t||(t=M(e)),n=t.length;n--;)(r=h(t[n]))[z]?i.push(r):a.push(r);(r=G(e,g(a,i))).selector=e}return r},P=x.select=function(e,t,n,i){var a,r,o,s,l,c="function"==typeof e&&e,d=!i&&M(e=c.selector||e);if(n=n||[],1===d.length){if(2<(r=d[0]=d[0].slice(0)).length&&"ID"===(o=r[0]).type&&9===t.nodeType&&I&&w.relative[r[1].type]){if(!(t=(w.find.ID(o.matches[0].replace(ke,Se),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(r.shift().value.length)}for(a=pe.needsContext.test(e)?0:r.length;a--&&(o=r[a],!w.relative[s=o.type]);)if((l=w.find[s])&&(i=l(o.matches[0].replace(ke,Se),xe.test(r[0].type)&&p(t.parentNode)||t))){if(r.splice(a,1),!(e=i.length&&m(r)))return Z.apply(n,i),n;break}}return(c||T(e,d))(i,t,!I,n,!t||xe.test(e)&&p(t.parentNode)||t),n},S.sortStable=z.split("").sort(Y).join("")===z,S.detectDuplicates=!!A,E(),S.sortDetached=a(function(e){return 1&e.compareDocumentPosition(O.createElement("fieldset"))}),a(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)}),S.attributes&&a(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}),a(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}),x}(_);_e.find=Ce,_e.expr=Ce.selectors,_e.expr[":"]=_e.expr.pseudos,_e.uniqueSort=_e.unique=Ce.uniqueSort,_e.text=Ce.getText,_e.isXMLDoc=Ce.isXML,_e.contains=Ce.contains,_e.escapeSelector=Ce.escape;var Me=function(e,t,n){for(var i=[],a=n!==undefined;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(a&&_e(e).is(n))break;i.push(e)}return i},Te=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Pe=_e.expr.match.needsContext,De=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;_e.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?_e.find.matchesSelector(i,e)?[i]:[]:_e.find.matches(e,_e.grep(t,function(e){return 1===e.nodeType}))},_e.fn.extend({find:function(e){var t,n,i=this.length,a=this;if("string"!=typeof e)return this.pushStack(_e(e).filter(function(){for(t=0;t<i;t++)if(_e.contains(a[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)_e.find(e,a[t],n);return 1<i?_e.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&&Pe.test(e)?_e(e):e||[],!1).length}});var je,Ae=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(_e.fn.init=function(e,t,n){var i,a;if(!e)return this;
vendor: 4,359 bytes, line 2
2if(n=n||je,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):ye(e)?n.ready!==undefined?n.ready(e):e(_e):_e.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 _e?t[0]:t,_e.merge(this,_e.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:ke,!0)),De.test(i[1])&&_e.isPlainObject(t))for(i in t)ye(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(a=ke.getElementById(i[2]))&&(this[0]=a,this.length=1),this}).prototype=_e.fn,je=_e(ke);var Ee=/^(?:parents|prev(?:Until|All))/,Oe={children:!0,contents:!0,next:!0,prev:!0};_e.fn.extend({has:function(e){var t=_e(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(_e.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,a=this.length,r=[],o="string"!=typeof e&&_e(e);if(!Pe.test(e))for(;i<a;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(o?-1<o.index(n):1===n.nodeType&&_e.find.matchesSelector(n,e))){r.push(n);break}return this.pushStack(1<r.length?_e.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?fe.call(_e(e),this[0]):fe.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(_e.uniqueSort(_e.merge(this.get(),_e(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),_e.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Me(e,"parentNode")},parentsUntil:function(e,t,n){return Me(e,"parentNode",n)},next:function(e){return n(e,"nextSibling")},prev:function(e){return n(e,"previousSibling")},nextAll:function(e){return Me(e,"nextSibling")},prevAll:function(e){return Me(e,"previousSibling")},nextUntil:function(e,t,n){return Me(e,"nextSibling",n)},prevUntil:function(e,t,n){return Me(e,"previousSibling",n)},siblings:function(e){return Te((e.parentNode||{}).firstChild,e)},children:function(e){return Te(e.firstChild)},contents:function(e){return null!=e.contentDocument&&le(e.contentDocument)?e.contentDocument:(c(e,"template")&&(e=e.content||e),_e.merge([],e.childNodes))}},function(i,a){_e.fn[i]=function(e,t){var n=_e.map(this,a,e);return"Until"!==i.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=_e.filter(t,n)),1<this.length&&(Oe[i]||_e.uniqueSort(n),Ee.test(i)&&n.reverse()),this.pushStack(n)}});var Fe=/[^\x20\t\r\n\f]+/g;_e.Callbacks=function(i){i="string"==typeof i?d(i):_e.extend({},i);var a,e,t,n,r=[],o=[],s=-1,l=function(){for(n=n||i.once,t=a=!0;o.length;s=-1)for(e=o.shift();++s<r.length;)!1===r[s].apply(e[0],e[1])&&i.stopOnFalse&&(s=r.length,e=!1);i.memory||(e=!1),a=!1,n&&(r=e?[]:"")},c={add:function(){return r&&(e&&!a&&(s=r.length-1,o.push(e)),function n(e){_e.each(e,function(e,t){ye(t)?i.unique&&c.has(t)||r.push(t):t&&t.length&&"string"!==g(t)&&n(t)})}(arguments),e&&!a&&l()),this},remove:function(){return _e.each(arguments,function(e,t){for(var n;-1<(n=_e.inArray(t,r,n));)r.splice(n,1),n<=s&&s--}),this},has:function(e){return e?-1<_e.inArray(e,r):0<r.length},empty:function(){return r&&(r=[]),this},disable:function(){return n=o=[],r=e="",this},disabled:function(){return!r},lock:function(){return n=o=[],e||a||(r=e=""),this},locked:function(){return!!n},fireWith:function(e,t){return n||(t=[e,(t=t||[]).slice?t.slice():t],o.push(t),a||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!t}};return c},_e.extend({Deferred:function(e){var r=[["notify","progress",_e.Callbacks("memory"),_e.Callbacks("memory"),2],["resolve","done",_e.Callbacks("once memory"),_e.Callbacks("once memory"),0,"resolved"],["reject","fail",_e.Callbacks("once memory"),_e.Callbacks("once memory"),1,"rejected"]],a="pending",o={state:function(){return a},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return o.then(null,e)},pipe:function(){var a=arguments;return _e.Deferred(function(i){_e.each(r,function(e,t){var n=ye(a[t[4]])&&a[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&ye(e.promise)?e.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[t[0]+"With"](this,n?[e]:arguments)})}),a=null}).promise()},then:function(t,n,i){function c(r,o,s,l){return function(){var n=this,i=arguments,t=function(){var e,t;
vendor: 6,693 bytes, line 2
2if(!(r<d)){if((e=s.apply(n,i))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,ye(t)?l?t.call(e,c(d,o,u,l),c(d,o,f,l)):(d++,t.call(e,c(d,o,u,l),c(d,o,f,l),c(d,o,u,o.notifyWith))):(s!==u&&(n=undefined,i=[e]),(l||o.resolveWith)(n,i))}},a=l?t:function(){try{t()}catch(e){_e.Deferred.exceptionHook&&_e.Deferred.exceptionHook(e,a.stackTrace),d<=r+1&&(s!==f&&(n=undefined,i=[e]),o.rejectWith(n,i))}};r?a():(_e.Deferred.getStackHook&&(a.stackTrace=_e.Deferred.getStackHook()),_.setTimeout(a))}}var d=0;return _e.Deferred(function(e){r[0][3].add(c(0,e,ye(i)?i:u,e.notifyWith)),r[1][3].add(c(0,e,ye(t)?t:u)),r[2][3].add(c(0,e,ye(n)?n:f))}).promise()},promise:function(e){return null!=e?_e.extend(e,o):o}},s={};return _e.each(r,function(e,t){var n=t[2],i=t[5];o[t[1]]=n.add,i&&n.add(function(){a=i},r[3-e][2].disable,r[3-e][3].disable,r[0][2].lock,r[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}),o.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,i=Array(t),a=ce.call(arguments),r=_e.Deferred(),o=function(t){return function(e){i[t]=this,a[t]=1<arguments.length?ce.call(arguments):e,--n||r.resolveWith(i,a)}};if(n<=1&&(l(e,r.done(o(t)).resolve,r.reject,!n),"pending"===r.state()||ye(a[t]&&a[t].then)))return r.then();for(;t--;)l(a[t],o(t),r.reject);return r.promise()}});var Ie=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;_e.Deferred.exceptionHook=function(e,t){_.console&&_.console.warn&&e&&Ie.test(e.name)&&_.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},_e.readyException=function(e){_.setTimeout(function(){throw e})};var Be=_e.Deferred();_e.fn.ready=function(e){return Be.then(e)["catch"](function(e){_e.readyException(e)}),this},_e.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--_e.readyWait:_e.isReady)||(_e.isReady=!0)!==e&&0<--_e.readyWait||Be.resolveWith(ke,[_e])}}),_e.ready.then=Be.then,"complete"===ke.readyState||"loading"!==ke.readyState&&!ke.documentElement.doScroll?_.setTimeout(_e.ready):(ke.addEventListener("DOMContentLoaded",i),_.addEventListener("load",i));var Re=function(e,t,n,i,a,r,o){var s=0,l=e.length,c=null==n;if("object"===g(n))for(s in a=!0,n)Re(e,t,s,n[s],!0,r,o);else if(i!==undefined&&(a=!0,ye(i)||(o=!0),c&&(o?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(_e(e),n)})),t))for(;s<l;s++)t(e[s],n,o?i:i.call(e[s],s,t(e[s],n)));return a?e:c?t.call(e):l?t(e[0],n):r},Le=/^-ms-/,$e=/-([a-z])/g,ze=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};r.uid=1,r.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,a=this.cache(e);if("string"==typeof t)a[h(t)]=n;else for(i in t)a[h(i)]=t[i];return a},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(Fe)||[]).length;for(;n--;)delete i[t[n]]}(t===undefined||_e.isEmptyObject(i))&&(e.nodeType?e[this.expando]=undefined:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return t!==undefined&&!_e.isEmptyObject(t)}};var Ne=new r,He=new r,We=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,qe=/[A-Z]/g;_e.extend({hasData:function(e){return He.hasData(e)||Ne.hasData(e)},data:function(e,t,n){return He.access(e,t,n)},removeData:function(e,t){He.remove(e,t)},_data:function(e,t,n){return Ne.access(e,t,n)},_removeData:function(e,t){Ne.remove(e,t)}}),_e.fn.extend({data:function(n,e){var t,i,a,r=this[0],o=r&&r.attributes;if(n!==undefined)return"object"==typeof n?this.each(function(){He.set(this,n)}):Re(this,function(e){var t;if(r&&e===undefined)return(t=He.get(r,n))!==undefined?t:(t=p(r,n))!==undefined?t:void 0;this.each(function(){He.set(this,n,e)})},null,e,1<arguments.length,null,!0);if(this.length&&(a=He.get(r),1===r.nodeType&&!Ne.get(r,"hasDataAttrs"))){for(t=o.length;t--;)o[t]&&0===(i=o[t].name).indexOf("data-")&&(i=h(i.slice(5)),p(r,i,a[i]));Ne.set(r,"hasDataAttrs",!0)}return a},removeData:function(e){return this.each(function(){He.remove(this,e)})}}),_e.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=Ne.get(e,t),n&&(!i||Array.isArray(n)?i=Ne.access(e,t,_e.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=_e.queue(e,t),i=n.length,a=n.shift(),r=_e._queueHooks(e,t),o=function(){_e.dequeue(e,t)};"inprogress"===a&&(a=n.shift(),i--),a&&("fx"===t&&n.unshift("inprogress"),delete r.stop,a.call(e,o,r)),!i&&r&&r.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Ne.get(e,n)||Ne.access(e,n,{empty:_e.Callbacks("once memory").add(function(){Ne.remove(e,[t+"queue",n])})})}}),_e.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?_e.queue(this[0],t):n===undefined?this:this.each(function(){var e=_e.queue(this,t,n);_e._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&_e.dequeue(this,t)})},dequeue:function(e){return this.each(function(){_e.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,a=_e.Deferred(),r=this,o=this.length,s=function(){--i||a.resolveWith(r,[r])};for("string"!=typeof e&&(t=e,e=undefined),e=e||"fx";o--;)(n=Ne.get(r[o],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),a.promise(t)}});var Ve=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ge=new RegExp("^(?:([+-])=|)("+Ve+")([a-z%]*)$","i"),Ue=["Top","Right","Bottom","Left"],Ye=ke.documentElement,Je=function(e){return _e.contains(e.ownerDocument,e)},Xe={composed:!0};Ye.getRootNode&&(Je=function(e){return _e.contains(e.ownerDocument,e)||e.getRootNode(Xe)===e.ownerDocument});var Qe=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&Je(e)&&"none"===_e.css(e,"display")},Ke={};_e.fn.extend({show:function(){return y(this,!0)},hide:function(){return y(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Qe(this)?_e(this).show():_e(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=ke.createDocumentFragment().appendChild(ke.createElement("div")),(et=ke.createElement("input")).setAttribute("type","radio"),et.setAttribute("checked","checked"),et.setAttribute("name","t"),Ze.appendChild(et),ve.checkClone
vendor: 6,328 bytes, line 2
2=Ze.cloneNode(!0).cloneNode(!0).lastChild.checked,Ze.innerHTML="<textarea>x</textarea>",ve.noCloneChecked=!!Ze.cloneNode(!0).lastChild.defaultValue,Ze.innerHTML="<option></option>",ve.option=!!Ze.lastChild;var at={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,"",""]};at.tbody=at.tfoot=at.colgroup=at.caption=at.thead,at.th=at.td,ve.option||(at.optgroup=at.option=[1,"<select multiple='multiple'>","</select>"]);var rt=/<|&#?\w+;/,ot=/^key/,st=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,lt=/^([^.]*)(?:\.(.+)|)/;_e.event={global:{},add:function(t,e,n,i,a){var r,o,s,l,c,d,u,f,h,p,m,g=Ne.get(t);if(ze(t))for(n.handler&&(n=(r=n).handler,a=r.selector),a&&_e.find.matchesSelector(Ye,a),n.guid||(n.guid=_e.guid++),(l=g.events)||(l=g.events=Object.create(null)),(o=g.handle)||(o=g.handle=function(e){return void 0!==_e&&_e.event.triggered!==e.type?_e.event.dispatch.apply(t,arguments):undefined}),c=(e=(e||"").match(Fe)||[""]).length;c--;)h=m=(s=lt.exec(e[c])||[])[1],p=(s[2]||"").split(".").sort(),h&&(u=_e.event.special[h]||{},h=(a?u.delegateType:u.bindType)||h,u=_e.event.special[h]||{},d=_e.extend({type:h,origType:m,data:i,handler:n,guid:n.guid,selector:a,needsContext:a&&_e.expr.match.needsContext.test(a),namespace:p.join(".")},r),(f=l[h])||((f=l[h]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(t,i,p,o)||t.addEventListener&&t.addEventListener(h,o)),u.add&&(u.add.call(t,d),d.handler.guid||(d.handler.guid=n.guid)),a?f.splice(f.delegateCount++,0,d):f.push(d),_e.event.global[h]=!0)},remove:function(e,t,n,i,a){var r,o,s,l,c,d,u,f,h,p,m,g=Ne.hasData(e)&&Ne.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(Fe)||[""]).length;c--;)if(h=m=(s=lt.exec(t[c])||[])[1],p=(s[2]||"").split(".").sort(),h){for(u=_e.event.special[h]||{},f=l[h=(i?u.delegateType:u.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=r=f.length;r--;)d=f[r],!a&&m!==d.origType||n&&n.guid!==d.guid||s&&!s.test(d.namespace)||i&&i!==d.selector&&("**"!==i||!d.selector)||(f.splice(r,1),d.selector&&f.delegateCount--,u.remove&&u.remove.call(e,d));o&&!f.length&&(u.teardown&&!1!==u.teardown.call(e,p,g.handle)||_e.removeEvent(e,h,g.handle),delete l[h])}else for(h in l)_e.event.remove(e,h+t[c],n,i,!0);_e.isEmptyObject(l)&&Ne.remove(e,"handle events")}},dispatch:function(e){var t,n,i,a,r,o,s=new Array(arguments.length),l=_e.event.fix(e),c=(Ne.get(this,"events")||Object.create(null))[l.type]||[],d=_e.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!d.preDispatch||!1!==d.preDispatch.call(this,l)){for(o=_e.event.handlers.call(this,l,c),t=0;(a=o[t++])&&!l.isPropagationStopped();)for(l.currentTarget=a.elem,n=0;(r=a.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==r.namespace&&!l.rnamespace.test(r.namespace)||(l.handleObj=r,l.data=r.data,(i=((_e.event.special[r.origType]||{}).handle||r.handler).apply(a.elem,s))!==undefined&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return d.postDispatch&&d.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,i,a,r,o,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&1<=e.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(r=[],o={},n=0;n<l;n++)o[a=(i=t[n]).selector+" "]===undefined&&(o[a]=i.needsContext?-1<_e(a,this).index(c):_e.find(a,this,null,[c]).length),o[a]&&r.push(i);r.length&&s.push({elem:c,handlers:r})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(t,e){Object.defineProperty(_e.Event.prototype,t,{enumerable:!0,configurable:!0,get:ye(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[_e.expando]?e:new _e.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return tt.test(t.type)&&t.click&&c(t,"input")&&D(t,"click",w),!1},trigger:function(e){var t=this||e;return tt.test(t.type)&&t.click&&c(t,"input")&&D(t,"click"),!0},_default:function(e){var t=e.target;return tt.test(t.type)&&t.click&&c(t,"input")&&Ne.get(t,"click")||c(t,"a")}},beforeunload:{postDispatch:function(e){e.result!==undefined&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},_e.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},_e.Event=function(e,t){if(!(this instanceof _e.Event))return new _e.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===undefined&&!1===e.returnValue?w:C,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&&_e.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[_e.expando]=!0},_e.Event.prototype={constructor:_e.Event,isDefaultPrevented:C,isPropagationStopped:C,isImmediatePropagationStopped:C,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=w,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=w,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=w,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},_e.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:function(e){var t=e.button;return null==e.which&&ot.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&t!==undefined&&st.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},_e.event.addProp),_e.each({focus:"focusin",blur:"focusout"},function(e,t){_e.event.special[e]={setup:function(){return D(this,e,M),!1},trigger:function(){return D(this,e),!0},delegateType:t}}
vendor: 4,960 bytes, line 2
2),_e.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,r){_e.event.special[e]={delegateType:r,bindType:r,handle:function(e){var t,n=this,i=e.relatedTarget,a=e.handleObj;return i&&(i===n||_e.contains(n,i))||(e.type=a.origType,t=a.handler.apply(this,arguments),e.type=r),t}}}),_e.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,a;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,_e(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=C),this.each(function(){_e.event.remove(this,e,n,t)});for(a in e)this.off(a,t,e[a]);return this}});var ct=/<script|<style|<link/i,dt=/checked\s*(?:[^=]|=\s*.checked.)/i,ut=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;_e.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,a,r,o,s=e.cloneNode(!0),l=Je(e);if(!(ve.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||_e.isXMLDoc(e)))for(o=x(s),i=0,a=(r=x(e)).length;i<a;i++)F(r[i],o[i]);if(t)if(n)for(r=r||x(e),o=o||x(s),i=0,a=r.length;i<a;i++)O(r[i],o[i]);else O(e,s);return 0<(o=x(s,"script")).length&&k(o,!l&&x(e,"script")),s},cleanData:function(e){for(var t,n,i,a=_e.event.special,r=0;(n=e[r])!==undefined;r++)if(ze(n)){if(t=n[Ne.expando]){if(t.events)for(i in t.events)a[i]?_e.event.remove(n,i):_e.removeEvent(n,i,t.handle);n[Ne.expando]=undefined}n[He.expando]&&(n[He.expando]=undefined)}}}),_e.fn.extend({detach:function(e){return B(this,e,!0)},remove:function(e){return B(this,e)},text:function(e){return Re(this,function(e){return e===undefined?_e.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 I(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||j(this,e).appendChild(e)})},prepend:function(){return I(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=j(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return I(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return I(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&&(_e.cleanData(x(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return _e.clone(this,e,t)})},html:function(e){return Re(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&&!ct.test(e)&&!at[(nt.exec(e)||["",""])[1].toLowerCase()]){e=_e.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(_e.cleanData(x(t,!1)),t.innerHTML=e);t=0}catch(a){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return I(this,arguments,function(e){var t=this.parentNode;_e.inArray(this,n)<0&&(_e.cleanData(x(this)),t&&t.replaceChild(e,this))},n)}}),_e.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,o){_e.fn[e]=function(e){for(var t,n=[],i=_e(e),a=i.length-1,r=0;r<=a;r++)t=r===a?this:this.clone(!0),_e(i[r])[o](t),ue.apply(n,t.get());return this.pushStack(n)}});var ft=new RegExp("^("+Ve+")(?!px)[a-z%]+$","i"),ht=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=_),t.getComputedStyle(e)},pt=function(e,t,n){var i,a,r={};for(a in t)r[a]=e.style[a],e.style[a]=t[a];for(a in i=n.call(e),t)e.style[a]=r[a];return i},mt=new RegExp(Ue.join("|"),"i");!function(){function e(){if(c){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Ye.appendChild(l).appendChild(c);var e=_.getComputedStyle(c);n="1%"!==e.top,s=12===t(e.marginLeft),c.style.right="60%",r=36===t(e.right),i=36===t(e.width),c.style.position="absolute",a=12===t(c.offsetWidth/3),Ye.removeChild(l),c=null}}function t(e){return Math.round(parseFloat(e))}var n,i,a,r,o,s,l=ke.createElement("div"),c=ke.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",ve.clearCloneStyle="content-box"===c.style.backgroundClip,_e.extend(ve,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),r},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),a},reliableTrDimensions:function(){var e,t,n,i;return null==o&&(e=ke.createElement("table"),t=ke.createElement("tr"),n=ke.createElement("div"),e.style.cssText="position:absolute;
2left:-11111px",t.style.height="1px",n.style.height="9px",Ye.appendChild(e).appendChild(t).appendChild(n),i=_.getComputedStyle(t),o=3<parseInt(i.height),Ye.removeChild(e)),o}}))}();var gt=["Webkit","Moz","ms"],bt=ke.createElement("div").style,vt={},yt=/^(none|table(?!-c[ea]).+)/,xt=/^--/,kt={position:"absolute",visibility:"hidden",display:"block"},St={letterSpacing:"0",fontWeight:"400"};_e.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=R(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 a,r,o,s=h(t),l=xt.test(t),c=e.style;if(l||(t=z(s)),o=_e.cssHooks[t]||_e.cssHooks[s],n===undefined)return o&&"get"in o&&(a=o.get(e,!1,i))!==undefined?a:c[t];"string"===(r=typeof n)&&(a=Ge.exec(n))&&a[1]&&(n=b(e,t,a),r="number"),null!=n&&n==n&&("number"!==r||l||(n+=a&&a[3]||(_e.cssNumber[s]?"":"px")),ve.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),o&&"set"in o&&(n=o.set(e,n,i))===undefined||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,i){var a,r,o,s=h(t);return xt.test(t)||(t=z(s)),(o=_e.cssHooks[t]||_e.cssHooks[s])&&"get"in o&&(a=o.get(e,!0,n)),a===undefined&&(a=R(e,t,i)),"normal"===a&&t in St&&(a=St[t]),""===n||n?(r=parseFloat(a),!0===n||isFinite(r)?r||0:a):a}}),_e.each(["height","width"],function(e,l){_e.cssHooks[l]={get:function(e,t,n){if(t)return!yt.test(_e.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?W(e,l,n):pt(e,kt,function(){return W(e,l,n)})},set:function(e,t,n){var i,a=ht(e),r=!ve.scrollboxSize()&&"absolute"===a.position,o=(r||n)&&"border-box"===_e.css(e,"boxSizing",!1,a),s=n?H(e,l,n,o,a):0;return o&&r&&(s-=Math.ceil(e["offset"+l[0].toUpperCase()+l.slice(1)]-parseFloat(a[l])-H(e,l,"border",!1,a)-.5)),s&&(i=Ge.exec(t))&&"px"!==(i[3]||"px")&&(e.style[l]=t,t=_e.css(e,l)),N(e,t,s)}}}),_e.cssHooks.marginLeft=L(ve.reliableMarginLeft,function(e,t){if(t)return(parseFloat(R(e,"marginLeft"))||e.getBoundingClientRect().left-pt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),_e.each({margin:"",padding:"",border:"Width"},function(a,r){_e.cssHooks[a+r]={expand:function(e){for(var t=0,n={},i="string"==typeof e?e.split(" "):[e];t<4;t++)n[a+Ue[t]+r]=i[t]||i[t-2]||i[0];return n}},"margin"!==a&&(_e.cssHooks[a+r].set=N)}),_e.fn.extend({css:function(e,t){return Re(this,function(e,t,n){var i,a,r={},o=0;if(Array.isArray(t)){for(i=ht(e),a=t.length;o<a;o++)r[t[o]]=_e.css(e,t[o],!1,i);return r}return n!==undefined?_e.style(e,t,n):_e.css(e,t)},e,t,1<arguments.length)}}),(_e.Tween=q).prototype={constructor:q,init:function(e,t,n,i,a,r){this.elem=e,this.prop=n,this.easing=a||_e.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=r||(_e.cssNumber[n]?"":"px")},cur:function(){var e=q.propHooks[this.prop];return e&&e.get?e.get(this):q.propHooks._default.get(this)},run:function(e){var t,n=q.propHooks[this.prop];return this.options.duration?this.pos=t=_e.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):q.propHooks._default.set(this),this}},q.prototype.init.prototype=q.prototype,q.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=_e.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){_e.fx.step[e.prop]?_e.fx.step[e.prop](e):1!==e.elem.nodeType||!_e.cssHooks[e.prop]&&null==e.elem.style[z(e.prop)]?e.elem[e.prop]=e.now:_e.style(e.elem,e.prop,e.now+e.unit)}}},q.propHooks.scrollTop=q.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}}, 3_e.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},_e.fx=q.prototype.init,_e.fx.step={};
vendor: 2,433 bytes, line 3
3var wt,_t,Ct,Mt,Tt=/^(?:toggle|show|hide)$/,Pt=/queueHooks$/;_e.Animation=_e.extend(Q,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return b(n.elem,e,Ge.exec(t),n),n}]},tweener:function(e,t){ye(e)?(t=e,e=["*"]):e=e.match(Fe);for(var n,i=0,a=e.length;i<a;i++)n=e[i],Q.tweeners[n]=Q.tweeners[n]||[],Q.tweeners[n].unshift(t)},prefilters:[J],prefilter:function(e,t){t?Q.prefilters.unshift(e):Q.prefilters.push(e)}}),_e.speed=function(e,t,n){var i=e&&"object"==typeof e?_e.extend({},e):{complete:n||!n&&t||ye(e)&&e,duration:e,easing:n&&t||t&&!ye(t)&&t};return _e.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in _e.fx.speeds?i.duration=_e.fx.speeds[i.duration]:i.duration=_e.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){ye(i.old)&&i.old.call(this),i.queue&&_e.dequeue(this,i.queue)},i},_e.fn.extend({fadeTo:function(e,t,n,i){return this.filter(Qe).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(t,e,n,i){var a=_e.isEmptyObject(t),r=_e.speed(e,n,i),o=function(){var e=Q(this,_e.extend({},t),r);(a||Ne.get(this,"finish"))&&e.stop(!0)};return o.finish=o,a||!1===r.queue?this.each(o):this.queue(r.queue,o)},stop:function(a,e,r){var o=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof a&&(r=e,e=a,a=undefined),e&&this.queue(a||"fx",[]),this.each(function(){var e=!0,t=null!=a&&a+"queueHooks",n=_e.timers,i=Ne.get(this);if(t)i[t]&&i[t].stop&&o(i[t]);else for(t in i)i[t]&&i[t].stop&&Pt.test(t)&&o(i[t]);for(t=n.length;t--;)n[t].elem!==this||null!=a&&n[t].queue!==a||(n[t].anim.stop(r),e=!1,n.splice(t,1));!e&&r||_e.dequeue(this,a)})},finish:function(o){return!1!==o&&(o=o||"fx"),this.each(function(){var e,t=Ne.get(this),n=t[o+"queue"],i=t[o+"queueHooks"],a=_e.timers,r=n?n.length:0;for(t.finish=!0,_e.queue(this,o,[]),i&&i.stop&&i.stop.call(this,!0),e=a.length;e--;)a[e].elem===this&&a[e].queue===o&&(a[e].anim.stop(!0),a.splice(e,1));for(e=0;e<r;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),_e.each(["toggle","show","hide"],function(e,i){var a=_e.fn[i];_e.fn[i]=function(e,t,n){return null==e||"boolean"==typeof e?a.apply(this,arguments):this.animate(U(i,!0),e,t,n)}}),_e.each({slideDown:U("show"),slideUp:U("hide"),slideToggle:U("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,i){_e.fn[e]=function(e,t,n){return this.animate(i,e,t,n)}}
3),_e.timers=[],_e.fx.tick=function(){var e,t=0,n=_e.timers;for(wt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||_e.fx.stop(),wt=undefined},_e.fx.timer=function(e){_e.timers.push(e),_e.fx.start()},_e.fx.interval=13,_e.fx.start=function(){_t||(_t=!0,V())},_e.fx.stop=function(){_t=null},_e.fx.speeds={slow:600,fast:200,_default:400},_e.fn.delay=function(i,e){return i=_e.fx&&_e.fx.speeds[i]||i,e=e||"fx",this.queue(e,function(e,t){var n=_.setTimeout(e,i);t.stop=function(){_.clearTimeout(n)}})},Ct=ke.createElement("input"),Mt=ke.createElement("select").appendChild(ke.createElement("option")),Ct.type="checkbox",ve.checkOn=""!==Ct.value,ve.optSelected=Mt.selected,(Ct=ke.createElement("input")).value="t",Ct.type="radio",ve.radioValue="t"===Ct.value;var Dt,jt=_e.expr.attrHandle;_e.fn.extend({attr:function(e,t){return Re(this,_e.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){_e.removeAttr(this,e)})}}),_e.extend({attr:function(e,t,n){var i,a,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return"undefined"==typeof e.getAttribute?_e.prop(e,t,n):(1===r&&_e.isXMLDoc(e)||(a=_e.attrHooks[t.toLowerCase()]||(_e.expr.match.bool.test(t)?Dt:undefined)),n!==undefined?null===n?void _e.removeAttr(e,t):a&&"set"in a&&(i=a.set(e,n,t))!==undefined?i:(e.setAttribute(t,n+""),n):a&&"get"in a&&null!==(i=a.get(e,t))?i:null==(i=_e.find.attr(e,t))?undefined:i)},attrHooks:{type:{set:function(e,t){if(!ve.radioValue&&"radio"===t&&c(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,a=t&&t.match(Fe);if(a&&1===e.nodeType)for(;n=a[i++];)e.removeAttribute(n)}}),Dt={set:function(e,t,n){return!1===t?_e.removeAttr(e,n):e.setAttribute(n,n),n}},_e.each(_e.expr.match.bool.source.match(/\w+/g),function(e,t){var o=jt[t]||_e.find.attr;jt[t]=function(e,t,n){var i,a,r=t.toLowerCase();return n||(a=jt[r],jt[r]=i,i=null!=o(e,t,n)?r:null,jt[r]=a),i}});var At=/^(?:input|select|textarea|button)$/i,Et=/^(?:a|area)$/i;_e.fn.extend({prop:function(e,t){return Re(this,_e.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[_e.propFix[e]||e]})}}),_e.extend({prop:function(e,t,n){var i,a,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&_e.isXMLDoc(e)||(t=_e.propFix[t]||t,a=_e.propHooks[t]),n!==undefined?a&&"set"in a&&(i=a.set(e,n,t))!==undefined?i:e[t]=n:a&&"get"in a&&null!==(i=a.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=_e.find.attr(e,"tabindex");return t?parseInt(t,10):At.test(e.nodeName)||Et.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),ve.optSelected||(_e.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)}}),_e.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){_e.propFix[this.toLowerCase()]=this}),_e.fn.extend({addClass:function(t){var e,n,i,a,r,o,s,l=0;if(ye(t))return this.each(function(e){_e(this).addClass(t.call(this,e,Z(this)))});if((e=ee(t)).length)for(;n=this[l++];)if(a=Z(n),i=1===n.nodeType&&" "+K(a)+" "){for(o=0;r=e[o++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");a!==(s=K(i))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,i,a,r,o,s,l=0;if(ye(t))return this.each(function(e){_e(this).removeClass(t.call(this,e,Z(this)))});if(!arguments.length)return this.attr("class","");if((e=ee(t)).length)for(;n=this[l++];)if(a=Z(n),i=1===n.nodeType&&" "+K(a)+" "){for(o=0;r=e[o++];)for(;-1<i.indexOf(" "+r+" ");)i=i.replace(" "+r+" "," ");a!==(s=K(i))&&n.setAttribute("class",s)}return this},toggleClass:function(a,t){var r=typeof a,o="string"===r||Array.isArray(a);return"boolean"==typeof t&&o?t?this.addClass(a):this.removeClass(a):ye(a)?this.each(function(e){_e(this).toggleClass(a.call(this,e,Z(this),t),t)}):this.each(function(){var e,t,n,i;if(o)for(t=0,n=_e(this),i=ee(a);e=i[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);
vendor: 12,715 bytes, line 3
3else a!==undefined&&"boolean"!==r||((e=Z(this))&&Ne.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===a?"":Ne.get(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&-1<(" "+K(Z(n))+" ").indexOf(t))return!0;return!1}});var Ot=/\r/g;_e.fn.extend({val:function(n){var i,e,a,t=this[0];return arguments.length?(a=ye(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=a?n.call(this,e,_e(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=_e.map(t,function(e){return null==e?"":e+""})),(i=_e.valHooks[this.type]||_e.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&i.set(this,t,"value")!==undefined||(this.value=t))})):t?(i=_e.valHooks[t.type]||_e.valHooks[t.nodeName.toLowerCase()])&&"get"in i&&(e=i.get(t,"value"))!==undefined?e:"string"==typeof(e=t.value)?e.replace(Ot,""):null==e?"":e:void 0}}),_e.extend({valHooks:{option:{get:function(e){var t=_e.find.attr(e,"value");return null!=t?t:K(_e.text(e))}},select:{get:function(e){var t,n,i,a=e.options,r=e.selectedIndex,o="select-one"===e.type,s=o?null:[],l=o?r+1:a.length;for(i=r<0?l:o?r:0;i<l;i++)if(((n=a[i]).selected||i===r)&&!n.disabled&&(!n.parentNode.disabled||!c(n.parentNode,"optgroup"))){if(t=_e(n).val(),o)return t;s.push(t)}return s},set:function(e,t){for(var n,i,a=e.options,r=_e.makeArray(t),o=a.length;o--;)((i=a[o]).selected=-1<_e.inArray(_e.valHooks.option.get(i),r))&&(n=!0);return n||(e.selectedIndex=-1),r}}}}),_e.each(["radio","checkbox"],function(){_e.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<_e.inArray(_e(e).val(),t)}},ve.checkOn||(_e.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),ve.focusin="onfocusin"in _;var Ft=/^(?:focusinfocus|focusoutblur)$/,It=function(e){e.stopPropagation()};_e.extend(_e.event,{trigger:function(e,t,n,i){var a,r,o,s,l,c,d,u,f=[n||ke],h=me.call(e,"type")?e.type:e,p=me.call(e,"namespace")?e.namespace.split("."):[];if(r=u=o=n=n||ke,3!==n.nodeType&&8!==n.nodeType&&!Ft.test(h+_e.event.triggered)&&(-1<h.indexOf(".")&&(h=(p=h.split(".")).shift(),p.sort()),l=h.indexOf(":")<0&&"on"+h,(e=e[_e.expando]?e:new _e.Event(h,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=p.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=undefined,e.target||(e.target=n),t=null==t?[e]:_e.makeArray(t,[e]),d=_e.event.special[h]||{},i||!d.trigger||!1!==d.trigger.apply(n,t))){if(!i&&!d.noBubble&&!xe(n)){for(s=d.delegateType||h,Ft.test(s+h)||(r=r.parentNode);r;r=r.parentNode)f.push(r),o=r;o===(n.ownerDocument||ke)&&f.push(o.defaultView||o.parentWindow||_)}for(a=0;(r=f[a++])&&!e.isPropagationStopped();)u=r,e.type=1<a?s:d.bindType||h,(c=(Ne.get(r,"events")||Object.create(null))[e.type]&&Ne.get(r,"handle"))&&c.apply(r,t),(c=l&&r[l])&&c.apply&&ze(r)&&(e.result=c.apply(r,t),!1===e.result&&e.preventDefault());return e.type=h,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(f.pop(),t)||!ze(n)||l&&ye(n[h])&&!xe(n)&&((o=n[l])&&(n[l]=null),_e.event.triggered=h,e.isPropagationStopped()&&u.addEventListener(h,It),n[h](),e.isPropagationStopped()&&u.removeEventListener(h,It),_e.event.triggered=undefined,o&&(n[l]=o)),e.result}},simulate:function(e,t,n){var i=_e.extend(new _e.Event,n,{type:e,isSimulated:!0});_e.event.trigger(i,null,t)}}),_e.fn.extend({trigger:function(e,t){return this.each(function(){_e.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return _e.event.trigger(e,t,n,!0)}}),ve.focusin||_e.each({focus:"focusin",blur:"focusout"},function(n,i){var a=function(e){_e.event.simulate(i,e.target,_e.event.fix(e))};_e.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=Ne.access(e,i);t||e.addEventListener(n,a,!0),Ne.access(e,i,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=Ne.access(e,i)-1;t?Ne.access(e,i,t):(e.removeEventListener(n,a,!0),Ne.remove(e,i))}}});var Bt=_.location,Rt={guid:Date.now()},Lt=/\?/;_e.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new _.DOMParser).parseFromString(e,"text/xml")}catch(n){t=undefined}return t&&!t.getElementsByTagName("parsererror").length||_e.error("Invalid XML: "+e),t};var $t=/\[\]$/,zt=/\r?\n/g,Nt=/^(?:submit|button|image|reset|file)$/i,Ht=/^(?:input|select|textarea|keygen)/i;_e.param=function(e,t){var n,i=[],a=function(e,t){var n=ye(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!_e.isPlainObject(e))_e.each(e,function(){a(this.name,this.value)});else for(n in e)te(n,e[n],t,a);return i.join("&")},_e.fn.extend({serialize:function(){return _e.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=_e.prop(this,"elements");return e?_e.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!_e(this).is(":disabled")&&Ht.test(this.nodeName)&&!Nt.test(e)&&(this.checked||!tt.test(e))}).map(function(e,t){var n=_e(this).val();return null==n?null:Array.isArray(n)?_e.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 Wt=/%20/g,qt=/#.*$/,Vt=/([?&])_=[^&]*/,Gt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ut=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Yt=/^(?:GET|HEAD)$/,Jt=/^\/\//,Xt={},Qt={},Kt="*/".concat("*"),Zt=ke.createElement("a");Zt.href=Bt.href,_e.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Bt.href,type:"GET",isLocal:Ut.test(Bt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Kt,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":_e.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ae(ae(e,_e.ajaxSettings),t):ae(_e.ajaxSettings,e)},ajaxPrefilter:ne(Xt),ajaxTransport:ne(Qt),ajax:function(e,t){function n(e,t,n,i){var a,r,o,s,l,c=t;p||(p=!0,h&&_.clearTimeout(h),d=undefined,f=i||"",S.readyState=0<e?4:0,a=200<=e&&e<300||304===e,n&&(s=re(g,S,n)),!a&&-1<_e.inArray("script",g.dataTypes)&&(g.converters["text script"]=function(){}),s=oe(g,s,S,a),a?(g.ifModified&&((l=S.getResponseHeader("Last-Modified"))&&(_e.lastModified[u]=l),(l=S.getResponseHeader("etag"))&&(_e.etag[u]=l)),204===e||"HEAD"===g.type?c="nocontent":304===e?c="notmodified":(c=s.state,r=s.data,a=!(o=s.error))):(o=c,!e&&c||(c="error",e<0&&(e=0))),S.status=e,S.statusText=(t||c)+"",a?y.resolveWith(b,[r,c,S]):y.rejectWith(b,[S,c,o]),S.statusCode(k),k=undefined,m&&v.trigger(a?"ajaxSuccess":"ajaxError",[S,g,a?r:o]),x.fireWith(b,[S,c]),m&&(v.trigger("ajaxComplete",[S,g]),--_e.active||_e.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=undefined),t=t||{};var d,u,f,i,h,a,p,m,r,o,g=_e.ajaxSetup({},t),b=g.context||g,v=g.context&&(b.nodeType||b.jquery)?_e(b):_e.event,y=_e.Deferred(),x=_e.Callbacks("once memory"),k=g.statusCode||{},s={},l={},c="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(p){if(!i)for(i={};t=Gt.exec(f);)i[t[1].toLowerCase()+" "]=(i[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=i[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return p?f:null},setRequestHeader:function(e,t){return null==p&&(e=l[e.toLowerCase()]=l[e.toLowerCase()]||e,s[e]=t),this},overrideMimeType:function(e){return null==p&&(g.mimeType=e),this},statusCode:function(e){var t;if(e)if(p)S.always(e[S.status]);else for(t in e)k[t]=[k[t],e[t]];return this},abort:function(e){var t=e||c;return d&&d.abort(t),n(0,t),this}};if(y.promise(S),g.url=((e||g.url||Bt.href)+"").replace(Jt,Bt.protocol+"//"),g.type=t.method||t.type||g.method||g.type,g.dataTypes=(g.dataType||"*").toLowerCase().match(Fe)||[""],null==g.crossDomain){a=ke.createElement("a");try{a.href=g.url,a.href=a.href,g.crossDomain=Zt.protocol+"//"+Zt.host!=a.protocol+"//"+a.host}catch(w){g.crossDomain=!0}}if(g.data&&g.processData&&"string"!=typeof g.data&&(g.data=_e.param(g.data,g.traditional)),ie(Xt,g,t,S),p)return S;for(r in(m=_e.event&&g.global)&&0==_e.active++&&_e.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!Yt.test(g.type),u=g.url.replace(qt,""),g.hasContent?g.data&&g.processData&&0===(g.contentType||"").indexOf("application/x-www-form-urlencoded")&&(g.data=g.data.replace(Wt,"+")):(o=g.url.slice(u.length),g.data&&(g.processData||"string"==typeof g.data)&&(u+=(Lt.test(u)?"&":"?")+g.data,delete g.data),!1===g.cache&&(u=u.replace(Vt,"$1"),o=(Lt.test(u)?"&":"?")+"_="+Rt.guid+++o),g.url=u+o),g.ifModified&&(_e.lastModified[u]&&S.setRequestHeader("If-Modified-Since",_e.lastModified[u]),_e.etag[u]&&S.setRequestHeader("If-None-Match",_e.etag[u])),(g.data&&g.hasContent&&!1!==g.contentType||t.contentType)&&S.setRequestHeader("Content-Type",g.contentType),S.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+Kt+"; q=0.01":""):g.accepts["*"]),g.headers)S.setRequestHeader(r,g.headers[r]);if(g.beforeSend&&(!1===g.beforeSend.call(b,S,g)||p))return S.abort();if(c="abort",x.add(g.complete),S.done(g.success),S.fail(g.error),d=ie(Qt,g,t,S)){if(S.readyState=1,m&&v.trigger("ajaxSend",[S,g]),p)return S;g.async&&0<g.timeout&&(h=_.setTimeout(function(){S.abort("timeout")},g.timeout));try{p=!1,d.send(s,n)}catch(w){if(p)throw w;n(-1,w)}}else n(-1,"No Transport");return S},getJSON:function(e,t,n){return _e.get(e,t,n,"json")},getScript:function(e,t){return _e.get(e,undefined,t,"script")}}),_e.each(["get","post"],function(e,a){_e[a]=function(e,t,n,i){return ye(t)&&(i=i||n,n=t,t=undefined),_e.ajax(_e.extend({url:e,type:a,dataType:i,data:t,success:n},_e.isPlainObject(e)&&e))}}),_e.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),_e._evalUrl=function(e,t,n){return _e.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){_e.globalEval(e,t,n)}})},_e.fn.extend({wrapAll:function(e){var t;return this[0]&&(ye(e)&&(e=e.call(this[0])),t=_e(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 ye(n)?this.each(function(e){_e(this).wrapInner(n.call(this,e))}):this.each(function(){var e=_e(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=ye(t);return this.each(function(e){_e(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){_e(this).replaceWith(this.childNodes)}),this}}),_e.expr.pseudos.hidden=function(e){return!_e.expr.pseudos.visible(e)},_e.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},_e.ajaxSettings.xhr=function(){try{return new _.XMLHttpRequest}catch(e){}};var en={0:200,1223:204},tn=_e.ajaxSettings.xhr();ve.cors=!!tn&&"withCredentials"in tn,ve.ajax=tn=!!tn,_e.ajaxTransport(function(r){var o,s;if(ve.cors||tn&&!r.crossDomain)return{send:function(e,t){var n,i=r.xhr();if(i.open(r.type,r.url,r.async,r.username,r.password),r.xhrFields)for(n in r.xhrFields)i[n]=r.xhrFields[n];for(n in r.mimeType&&i.overrideMimeType&&i.overrideMimeType(r.mimeType),r.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)i.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=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=o(),s=i.onerror=i.ontimeout=o("error"),i.onabort!==undefined?i.onabort=s:i.onreadystatechange=function(){4===i.readyState&&_.setTimeout(function(){o&&s()})},o=o("abort");try{i.send(r.hasContent&&r.data||null)}catch(a){if(o)throw a}},abort:function(){o&&o()}}}),_e.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),_e.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 _e.globalEval(e),e}}}),_e.ajaxPrefilter("script",function(e){e.cache===undefined&&(e.cac
3he=!1),e.crossDomain&&(e.type="GET")}),_e.ajaxTransport("script",function(n){var i,a;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){i=_e("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",a=function(e){i.remove(),a=null,e&&t("error"===e.type?404:200,e.type)}),ke.head.appendChild(i[0])},abort:function(){a&&a()}}});var nn,an=[],rn=/(=)\?(?=&|$)|\?\?/;_e.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=an.pop()||_e.expando+"_"+Rt.guid++;return this[e]=!0,e}}),_e.ajaxPrefilter("json jsonp",function(e,t,n){var i,a,r,o=!1!==e.jsonp&&(rn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&rn.test(e.data)&&"data");if(o||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=ye(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,o?e[o]=e[o].replace(rn,"$1"+i):!1!==e.jsonp&&(e.url+=(Lt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return r||_e.error(i+" was not called"),r[0]},e.dataTypes[0]="json",a=_[i],_[i]=function(){r=arguments},n.always(function(){a===undefined?_e(_).removeProp(i):_[i]=a,e[i]&&(e.jsonpCallback=t.jsonpCallback,an.push(i)),r&&ye(a)&&a(r[0]),r=a=undefined}),"script"}),ve.createHTMLDocument=((nn=ke.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===nn.childNodes.length),_e.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(ve.createHTMLDocument?((i=(t=ke.implementation.createHTMLDocument("")).createElement("base")).href=ke.location.href,t.head.appendChild(i)):t=ke),r=!n&&[],(a=De.exec(e))?[t.createElement(a[1])]:(a=S([e],t,r),r&&r.length&&_e(r).remove(),_e.merge([],a.childNodes)));var i,a,r},_e.fn.load=function(e,t,n){var i,a,r,o=this,s=e.indexOf(" ");return-1<s&&(i=K(e.slice(s)),e=e.slice(0,s)),ye(t)?(n=t,t=undefined):t&&"object"==typeof t&&(a="POST"),0<o.length&&_e.ajax({url:e,type:a||"GET",dataType:"html",data:t}).done(function(e){r=arguments,o.html(i?_e("<div>").append(_e.parseHTML(e)).find(i):e)}).always(n&&function(e,t){o.each(function(){n.apply(this,r||[e.responseText,t,e])})}),this},_e.expr.pseudos.animated=function(t){return _e.grep(_e.timers,function(e){return t===e.elem}).length},_e.offset={setOffset:function(e,t,n){var i,a,r,o,s,l,c=_e.css(e,"position"),d=_e(e),u={};"static"===c&&(e.style.position="relative"),s=d.offset(),r=_e.css(e,"top"),l=_e.css(e,"left"),("absolute"===c||"fixed"===c)&&-1<(r+l).indexOf("auto")?(o=(i=d.position()).top,a=i.left):(o=parseFloat(r)||0,a=parseFloat(l)||0),ye(t)&&(t=t.call(e,n,_e.extend({},s))),null!=t.top&&(u.top=t.top-s.top+o),null!=t.left&&(u.left=t.left-s.left+a),"using"in t?t.using.call(e,u):("number"==typeof u.top&&(u.top+="px"),"number"==typeof u.left&&(u.left+="px"),d.css(u))}},_e.fn.extend({offset:function(t){if(arguments.length)return t===undefined?this:this.each(function(e){_e.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],a={top:0,left:0};if("fixed"===_e.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"===_e.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((a=_e(e).offset()).top+=_e.css(e,"borderTopWidth",!0),a.left+=_e.css(e,"borderLeftWidth",!0))}return{top:t.top-a.top-_e.css(i,"marginTop",!0),left:t.left-a.left-_e.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===_e.css(e,"position");)e=e.offsetParent;return e||Ye})}}),_e.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,a){var r="pageYOffset"===a;_e.fn[t]=function(e){return Re(this,function(e,t,n){var i;if(xe(e)?i=e:9===e.nodeType&&(i=e.defaultView),n===undefined)return i?i[a]:e[t];i?i.scrollTo(r?i.pageXOffset:n,r?n:i.pageYOffset):e[t]=n},t,e,arguments.length)}}),_e.each(["top","left"],function(e,n){_e.cssHooks[n]=L(ve.pixelPosition,function(e,t){if(t)return t=R(e,n),ft.test(t)?_e(e).position()[n]+"px":t})}),_e.each({Height:"height",Width:"width"},function(o,s){_e.each({padding:"inner"+o,content:s,"":"outer"+o},function(i,r){_e.fn[r]=function(e,t){var n=arguments.length&&(i||"boolean"!=typeof e),a=i||(!0===e||!0===t?"margin":"border");return Re(this,function(e,t,n){var i;return xe(e)?0===r.indexOf("outer")?e["inner"+o]: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?_e.css(e,t,a):_e.style(e,t,n,a)},s,n?e:undefined,n)}})}),_e.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){_e.fn[t]=function(e){return this.on(t,e)}}),_e.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)}}),_e.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){_e.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var on=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;_e.proxy=function(e,t){var n,i,a;return"string"==typeof t&&(n=e[t],t=e,e=n),ye(e)?(i=ce.call(arguments,2),(a=function(){return e.apply(t||this,i.concat(ce.call(arguments)))}).guid=e.guid=e.guid||_e.guid++,a):undefined},_e.holdReady=function(e){e?_e.readyWait++:_e.ready(!0)},_e.isArray=Array.isArray,_e.parseJSON=JSON.parse,_e.nodeName=c,_e.isFunction=ye,_e.isWindow=xe,_e.camelCase=h,_e.type=g,_e.now=Date.now,_e.isNumeric=function(e){var t=_e.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},_e.trim=function(e){return null==e?"":(e+"").replace(on,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return _e});var sn=_.jQuery,ln=_.$;return _e.noConflict=function(e){return _.$===_e&&(_.$=ln),e&&_.jQuery===_e&&(_.jQuery=sn),_e},void 0===e&&(_.jQuery=_.$=_e),_e}),"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,a){"use strict";function t(e,t){var n,i=/^(\d+)\.(\d+)\.(\d+)/,a=i.exec(e)||[],r=i.exec(t)||[];for(n=1;n<=3;n++){if(+a[n]>+r[n])return 1;if(+a[n]<+r[n])return-1}return 0}function e(e){return 0<=t(s.fn.jquery,e)}function l(e){var t=a.console;s.migrateDeduplicateWarnings&&c[e]||(c[e]=!0,s.migrateWarnings.push(e),t&&t.warn&&!s.migrateMute&&(t.warn("JQMIGRATE: "+e),s.migrateTrace&&t.trace&&t.trace()))}function n(e,t,n,i){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return l(i),n},set:function(e){l(i),n=e}})}function i(e,t,n,i){e[t]=function(){return l(i),n.apply(this,arguments)}}function o(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}function r(e){return w.test(e)&&_.test(e[0].toUpperCase()+e.slice(1))}s.migrateVersion="3.3.0",a.console&&a.console.log&&(s&&e("3.0.0")||a.console.log("JQMIGRATE: jQuery 3.0.0+ REQUIRED"),s.migrateWarnings&&a.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),a.console.log("JQMIGRATE: Migrate is installed"+(s.migrateMute?"":" with logging active")+", version "+s.migrateVersion));var c={};s.migrateDeduplicateWarnings=!0,s.migrateWarnings=[],s.migrateTrace===undefined&&(s.migrateTrace=!0),s.migrateReset=function(){c={},s.migrateWarnings.length=0},"BackCompat"===a.document.compatMode&&l("jQuery is not compatible with Quirks Mode");var d,u={},f=s.fn.init,h=s.find,p=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,m=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,g=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;for(d in s.fn.init=function(e){var t=Array.prototype.slice.call(arguments);return"string"==typeof e&&"#"===e&&(l("jQuery( '#' ) is not a valid selector"),t[0]=[]),f.apply(this,t)},s.fn.init.prototype=s.fn,s.find=function(e){var t=Array.prototype.slice.call(arguments);if("string"==typeof e&&p.test(e))try{a.document.querySelector(e)}catch(n){e=e.replace(m,function(e,t,n,i){return"["+t+n+'"'+i+'"]'});try{a.document.querySelector(e),l("Attribute selector with '#' must be quoted: "+t[0]),t[0]=e}catch(i){l("Attribute selector with '#' was not fixed: "+t[0])}}return h.apply(this,t)},h)Object.prototype.hasOwnProperty.call(h,d)&&(s.find[d]=h[d]);if(i(s.fn,"size",function(){return this.length},"jQuery.fn.size() is deprecated and removed; use the .length property"),i(s,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"jQuery.parseJSON is deprecated; use JSON.parse"),i(s,"holdReady",s.holdReady,"jQuery.holdReady is deprecated"),i(s,"unique",s.uniqueSort,"jQuery.unique is deprecated; use jQuery.uniqueSort"),n(s.expr,"filters",s.expr.pseudos,"jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),n(s.expr,":",s.expr.pseudos,"jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),e("3.1.1")&&i(s,"trim",function(e){return null==e?"":(e+"").replace(g,"")},"jQuery.trim is deprecated; use String.prototype.trim"),e("3.2.0")&&i(s,"nodeName",function(e,t){return e.no
3deName&&e.nodeName.toLowerCase()===t.toLowerCase()},"jQuery.nodeName is deprecated"),e("3.3.0")&&(i(s,"isNumeric",function(e){var t=typeof e;return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"jQuery.isNumeric() is deprecated"),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){u["[object "+t+"]"]=t.toLowerCase()}),i(s,"type",function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?u[Object.prototype.toString.call(e)]||"object":typeof e},"jQuery.type is deprecated"),i(s,"isFunction",function(e){return"function"==typeof e},"jQuery.isFunction() is deprecated"),i(s,"isWindow",function(e){return null!=e&&e===e.window},"jQuery.isWindow() is deprecated"),i(s,"isArray",Array.isArray,"jQuery.isArray is deprecated; use Array.isArray")),s.ajax){var b=s.ajax;s.ajax=function(){var e=b.apply(this,arguments);return e.promise&&(i(e,"success",e.done,"jQXHR.success is deprecated and removed"),i(e,"error",e.fail,"jQXHR.error is deprecated and removed"),i(e,"complete",e.always,"jQXHR.complete is deprecated and removed")),e}}var v=s.fn.removeAttr,y=s.fn.toggleClass,x=/\S+/g;s.fn.removeAttr=function(e){var n=this;return s.each(e.match(x),function(e,t){s.expr.match.bool.test(t)&&(l("jQuery.fn.removeAttr no longer sets boolean properties: "+t),n.prop(t,!1))}),v.apply(this,arguments)};var k,S=!(s.fn.toggleClass=function(t){return t!==undefined&&"boolean"!=typeof t?y.apply(this,arguments):(l("jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var e=this.getAttribute&&this.getAttribute("class")||"";e&&s.data(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":s.data(this,"__className__")||"")}))}),w=/^[a-z]/,_=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;s.swap&&s.each(["height","width","reliableMarginRight"],function(e,t){var n=s.cssHooks[t]&&s.cssHooks[t].get;n&&(s.cssHooks[t].get=function(){var e;return S=!0,e=n.apply(this,arguments),S=!1,e})}),s.swap=function(e,t,n,i){var a,r,o={};for(r in S||l("jQuery.swap() is undocumented and deprecated"),t)o[r]=e.style[r],e.style[r]=t[r];for(r in a=n.apply(e,i||[]),t)e.style[r]=o[r];return a},e("3.4.0")&&"undefined"!=typeof Proxy&&(s.cssProps=new Proxy(s.cssProps||{},{set:function(){return l("JQMIGRATE: jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),s.cssNumber||(s.cssNumber={}),k=s.fn.css,s.fn.css=function(e,t){var n=this;return"string"!=typeof e&&s.each(e,function(e,t){s.fn.css.call(n,e,t)}),"number"!=typeof t||r(o(e))||l("Use of number-typed values is deprecated in jQuery.fn.css"),k.apply(this,arguments)};var C=s.data;if(s.data=function(e,t,n){var i,a,r;if(t&&"object"==typeof t&&2===arguments.length){for(r in i=s.hasData(e)&&C.call(this,e),a={},t)r!==o(r)?(l("jQuery.data() always sets/gets camelCased names: "+r),i[r]=t[r]):a[r]=t[r];return C.call(this,e,a),t}return t&&"string"==typeof t&&t!==o(t)&&(i=s.hasData(e)&&C.call(this,e))&&t in i?(l("jQuery.data() always sets/gets camelCased names: "+t),2<arguments.length&&(i[t]=n),i[t]):C.apply(this,arguments)},s.fx){var M,T,P=s.Tween.prototype.run,D=function(e){return e};s.Tween.prototype.run=function(){1<s.easing[this.easing].length&&(l("'jQuery.easing."+this.easing.toString()+"' should use only one argument"),s.easing[this.easing]=D),P.apply(this,arguments)},M=s.fx.interval||13,T="jQuery.fx.interval is deprecated",a.requestAnimationFrame&&Object.defineProperty(s.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return a.document.hidden||l(T),M},set:function(e){l(T),M=e}})}var j=s.fn.load,A=s.event.add,E=s.event.fix;s.event.props=[],s.event.fixHooks={},n(s.event.props, 4"concat",s.event.props.concat,"jQuery.event.props.concat() is deprecated and removed"),s.event.fix=function(e){var t,n=e.type,i=this.fixHooks[n],a=s.event.props;if(a.length)for(l("jQuery.event.props are deprecated and removed: "+a.join());a.length;)s.event.addProp(a.pop());if(i&&!i._migrated_&&(i._migrated_=!0,l("jQuery.event.fixHooks are deprecated and removed: "+n),(a=i.props)&&a.length))for(;a.length;)s.event.addProp(a.pop());return t=E.call(this,e),i&&i.filter?i.filter(t,e):t},s.event.add=function(e,t){return e===a&&"load"===t&&"complete"===a.document.readyState&&l("jQuery(window).on('load'...) called after load event occurred"),A.apply(this,arguments)},s.each(["load","unload","error"],function(e,t){s.fn[t]=function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?j.apply(this,e):(l("jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))}}),s.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){s.fn[n]=function(e,t){return l("jQuery.fn."+n+"() event shorthand is deprecated"),0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),s(function(){s(a.document).triggerHandler("ready")}),s.event.special.ready={setup:function(){this===a.document&&l("'ready' event is deprecated")}},s.fn.extend({bind:function(e,t,n){return l("jQuery.fn.bind() is deprecated"),this.on(e,null,t,n)},unbind:function(e,t){return l("jQuery.fn.unbind() is deprecated"),this.off(e,null,t)},delegate:function(e,t,n,i){return l("jQuery.fn.delegate() is deprecated"),this.on(t,e,n,i)},undelegate:function(e,t,n){return l("jQuery.fn.undelegate() is deprecated"),1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return l("jQuery.fn.hover() is deprecated"),this.on("mouseenter",e).on("mouseleave",t||e)}});var O=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,F=s.htmlPrefilter,I=function(e){var t=a.document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body&&t.body.innerHTML},B=function(e){var t=e.replace(O,"<$1></$2>");t!==e&&I(e)!==I(t)&&l("HTML tags must be properly nested and closed: "+e)};s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.htmlPrefilter=function(e){return B(e),e.replace(O,"<$1></$2>")}},s.htmlPrefilter=function(e){return B(e),F(e)};var R=s.fn.offset;if(s.fn.offset=function(){var e,t=this[0],n={top:0,left:0};return t&&t.nodeType?(e=(t.ownerDocument||a.document).documentElement,s.contains(e,t)?R.apply(this,arguments):(l("jQuery.fn.offset() requires an element connected to a document"),n)):(l("jQuery.fn.offset() requires a valid DOM element"),undefined)},s.ajax){var L=s.param;s.param=function(e,t){var n=s.ajaxSettings&&s.ajaxSettings.traditional;return t===undefined&&n&&(l("jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=n),L.call(this,e,t)}}var $=s.fn.andSelf||s.fn.addBack;if(s.fn.andSelf=function(){return l("jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),$.apply(this,arguments)},s.Deferred){var z=s.Deferred,N=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]];s.Deferred=function(e){var r=z(),o=r.promise();return r.pipe=o.pipe=function(){var a=arguments;return l("deferred.pipe() is deprecated"),s.Deferred(function(i){s.each(N,function(e,t){var n="function"==typeof a[e]&&a[e];r[t[1]](function(){var e=n&&n.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[t[0]+"With"](this===o?i.promise():this,n?[e]:arguments)})}),a=null}).promise()},e&&e.call(r,r),r},s.Deferred.exceptionHook=z.exceptionHook}return s}),function(d,l){"use strict";var c;d.rails!==l&&d.error("jquery-ujs has already been loaded!");var e=d(document);
4d.rails=c={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",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form 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 d("meta[name=csrf-token]").attr("content")},csrfParam:function(){return d("meta[name=csrf-param]").attr("content")},CSRFProtection:function(e){var t=c.csrfToken();t&&e.setRequestHeader("X-CSRF-Token",t)},refreshCSRFTokens:function(){d('form input[name="'+c.csrfParam()+'"]').val(c.csrfToken())},fire:function(e,t,n){var i=d.Event(t);return e.trigger(i,n),!1!==i.result},confirm:function(e){return confirm(e)},ajax:function(e){return d.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,a,r,o;if(c.fire(i,"ajax:before")){if(a=i.data("with-credentials")||null,r=i.data("type")||d.ajaxSettings&&d.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=d(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(c.inputChangeSelector)?(e=i.data("method"),t=i.data("url"),n=i.serialize(),i.data("params")&&(n=n+"&"+i.data("params"))):i.is(c.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=c.href(i),n=i.data("params")||null);return o={type:e||"GET",data:n,dataType:r,beforeSend:function(e,t){if(t.dataType===l&&e.setRequestHeader("accept","*/*;q=0.5, "+t.accepts.script),!c.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:c.isCrossDomain(t)},a&&(o.xhrFields={withCredentials:a}),t&&(o.url=t),c.ajax(o)}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=c.href(e),n=e.data("method"),i=e.attr("target"),a=c.csrfToken(),r=c.csrfParam(),o=d('<form method="post" action="'+t+'"></form>'),s='<input name="_method" value="'+n+'" type="hidden" />';r===l||a===l||c.isCrossDomain(t)||(s+='<input name="'+r+'" value="'+a+'" type="hidden" />'),i&&o.attr("target",i),o.hide().append(s).appendTo("body"),o.submit()},formElements:function(e,t){return e.is("form")?d(e[0].elements).filter(t):e.find(t)},disableFormElements:function(e){c.formElements(e,c.disableSelector).each(function(){c.disableFormElement(d(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){c.formElements(e,c.enableSelector).each(function(){c.enableFormElement(d(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;
4if(c.fire(e,"confirm")){try{i=c.confirm(n)}catch(a){(console.error||console.log).call(console,a.stack||a)}t=c.fire(e,"confirm:complete",[i])}return i&&t},blankInputs:function(e,t,n){var i,a,r,o=d(),s=t||"input,textarea",l=e.find(s),c={};return l.each(function(){(i=d(this)).is("input[type=radio]")?(r=i.attr("name"),c[r]||(0===e.find('input[type=radio]:checked[name="'+r+'"]').length&&(a=e.find('input[type=radio][name="'+r+'"]'),o=o.add(a)),c[r]=r)):(i.is("input[type=checkbox],input[type=radio]")?i.is(":checked"):!!i.val())===n&&(o=o.add(i))}),!!o.length&&o},nonBlankInputs:function(e,t){return c.blankInputs(e,t,!0)},stopEverything:function(e){return d(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.bind("click.railsDisable",function(e){return c.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.unbind("click.railsDisable"),e.removeData("ujs:disabled")}},c.fire(e,"rails:attachBindings")&&(d.ajaxPrefilter(function(e,t,n){e.crossDomain||c.CSRFProtection(n)}),d(window).on("pageshow.rails",function(){d(d.rails.enableSelector).each(function(){var e=d(this);e.data("ujs:disabled")&&d.rails.enableFormElement(e)}),d(d.rails.linkDisableSelector).each(function(){var e=d(this);e.data("ujs:disabled")&&d.rails.enableElement(e)})}),e.on("ajax:complete",c.linkDisableSelector,function(){c.enableElement(d(this))}),e.on("ajax:complete",c.buttonDisableSelector,function(){c.enableFormElement(d(this))}),e.on("click.rails",c.linkClickSelector,function(e){var t=d(this),n=t.data("method"),i=t.data("params"),a=e.metaKey||e.ctrlKey;if(!c.allowAction(t))return c.stopEverything(e);if(!a&&t.is(c.linkDisableSelector)&&c.disableElement(t),c.isRemote(t)){if(a&&(!n||"GET"===n)&&!i)return!0;var r=c.handleRemote(t);return!1===r?c.enableElement(t):r.fail(function(){c.enableElement(t)}),!1}return n?(c.handleMethod(t),!1):void 0}),e.on("click.rails",c.buttonClickSelector,function(e){var t=d(this);if(!c.allowAction(t)||!c.isRemote(t))return c.stopEverything(e);t.is(c.buttonDisableSelector)&&c.disableFormElement(t);var n=c.handleRemote(t);return!1===n?c.enableFormElement(t):n.fail(function(){c.enableFormElement(t)}),!1}),e.on("change.rails",c.inputChangeSelector,function(e){var t=d(this);return c.allowAction(t)&&c.isRemote(t)?(c.handleRemote(t),!1):c.stopEverything(e)}),e.on("submit.rails",c.formSubmitSelector,function(e){var t,n,i=d(this),a=c.isRemote(i);if(!c.allowAction(i))return c.stopEverything(e);if(i.attr("novalidate")===l)if(i.data("ujs:formnovalidate-button")===l){if((t=c.blankInputs(i,c.requiredInputSelector,!1))&&c.fire(i,"ajax:aborted:required",[t]))return c.stopEverything(e)}else i.data("ujs:formnovalidate-button",l);if(a){if(n=c.nonBlankInputs(i,c.fileInputSelector)){setTimeout(function(){c.disableFormElements(i)},13);var r=c.fire(i,"ajax:aborted:file",[n]);return r||setTimeout(function(){c.enableFormElements(i)},13),r}return c.handleRemote(i),!1}setTimeout(function(){c.disableFormElements(i)},13)}),e.on("click.rails",c.formInputClickSelector,function(e){var t=d(this);if(!c.allowAction(t))return c.stopEverything(e);var n=t.attr("name"),i=n?{name:n,value:t.val()}:null,a=t.closest("form");0===a.length&&(a=d("#"+t.attr("form"))),a.data("ujs:submit-button",i),a.data("ujs:formnovalidate-button",t.attr("formnovalidate")),a.data("ujs:submit-button-formaction",t.attr("formaction")),a.data("ujs:submit-button-formmethod",t.attr("formmethod"))}),e.on("ajax:send.rails",c.formSubmitSelector,function(e){this===e.target&&c.disableFormElements(d(this))}),e.on("ajax:complete.rails",c.formSubmitSelector,function(e){this===e.target&&c.enableFormElements(d(this))}),d(function(){c.refreshCSRFTokens()}))}(jQuery),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 g(){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(p){function m(e,t,n){var i;if("undefined"!=typeof document){if(1<arguments.length){if("number"==typeof(n=g({path:"/"},m.defaults,n)).expires){var a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*n.expires),n.expires=a}n.expires=n.expires?n.expires.toUTCString():"";try{i=JSON.stringify(t),/^[\{\[]/.test(i)&&(t=i)}catch(h){}t=p.write?p.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
4URIComponent),e=(e=(e=encodeURIComponent(String(e))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var r="";for(var o in n)n[o]&&(r+="; "+o,!0!==n[o]&&(r+="="+n[o]));return document.cookie=e+"="+t+r}e||(i={});for(var s=document.cookie?document.cookie.split("; "):[],l=/(%[0-9A-Z]{2})+/g,c=0;c<s.length;c++){var d=s[c].split("="),u=d.slice(1).join("=");this.json||'"'!==u.charAt(0)||(u=u.slice(1,-1));try{var f=d[0].replace(l,decodeURIComponent);if(u=p.read?p.read(u,f):p(u,f)||u.replace(l,decodeURIComponent),this.json)try{u=JSON.parse(u)}catch(h){}if(e===f){i=u;break}e||(i[f]=u)}catch(h){}}return i}}return(m.set=m).get=function(e){return m.call(m,e)},m.getJSON=function(){return m.apply({json:!0},[].slice.call(arguments))},m.defaults={},m.remove=function(e,t){m(e,"",g(t,{expires:-1}))},m.withConverter=e,m}return e(function(){})}),function(O){"use strict";function n(e){var t=e.data;e.isDefaultPrevented()||(e.preventDefault(),O(this).ajaxSubmit(t))}function i(e){var t=e.target,n=O(t);if(!n.is(":submit,input:image")){var i=n.closest(":submit");if(0===i.length)return;t=i[0]}var a=this;if("image"==(a.clk=t).type)if(e.offsetX!==undefined)a.clk_x=e.offsetX,a.clk_y=e.offsetY;else if("function"==typeof O.fn.offset){var r=n.offset();a.clk_x=e.pageX-r.left,a.clk_y=e.pageY-r.top}else a.clk_x=e.pageX-t.offsetLeft,a.clk_y=e.pageY-t.offsetTop;setTimeout(function(){a.clk=a.clk_x=a.clk_y=null},100)}function F(){if(O.fn.ajaxSubmit.debug){var e="[jquery.form] "+Array.prototype.join.call(arguments,"");window.console&&window.console.log?window.console.log(e):window.opera&&window.opera.postError&&window.opera.postError(e)}}var b={};b.fileapi=O("<input type='file'/>").get(0).files!==undefined,b.formdata=window.FormData!==undefined,O.fn.ajaxSubmit=function(D){function e(e){for(var n=new FormData,t=0;t<e.length;t++)n.append(e[t].name,e[t].value);if(D.extraData)for(var i in D.extraData)D.extraData.hasOwnProperty(i)&&n.append(i,D.extraData[i]);D.data=null;var a=O.extend(!0,{},O.ajaxSettings,D,{contentType:!1,processData:!1,cache:!1,type:"POST"});D.uploadProgress&&(a.xhr=function(){var e=jQuery.ajaxSettings.xhr();return e.upload&&(e.upload.onprogress=function(e){var t=0,n=e.loaded||e.position,i=e.total;e.lengthComputable&&(t=Math.ceil(n/i*100)),D.uploadProgress(e,n,i,t)}),e}),a.data=null;var r=a.beforeSend;a.beforeSend=function(e,t){t.data=n,r&&r.call(t,e,D)},O.ajax(a)}function t(e){function u(e){return e.contentWindow?e.contentWindow.document:e.contentDocument?e.contentDocument:e.document}function t(){function n(){try{var e=u(g).readyState;F("state = "+e),e&&"uninitialized"==e.toLowerCase()&&setTimeout(n,50)}catch(t){F("Server abort: ",t," (",t.name,")"),f(k),y&&clearTimeout(y),y=undefined}}var e=A.attr("target"),t=A.attr("action");s.setAttribute("target",r),j||s.setAttribute("method","POST"),t!=h.url&&s.setAttribute("action",h.url),h.skipEncodingOverride||j&&!/post/i.test(j)||A.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"}),h.timeout&&(y=setTimeout(function(){v=!0,f(x)},h.timeout));var i=[];try{if(h.extraData)for(var a in h.extraData)h.extraData.hasOwnProperty(a)&&i.push(O('<input type="hidden" name="'+a+'">').attr("value",h.extraData[a]).appendTo(s)[0]);h.iframeTarget||(m.appendTo("body"),g.attachEvent?g.attachEvent("onload",f):g.addEventListener("load",f,!1)),setTimeout(n,15),s.submit()}finally{s.setAttribute("action",t),e?s.setAttribute("target",e):A.removeAttr("target"),O(i).remove()}}function f(e){if(!b.aborted&&!_){try{w=u(g)}catch(d){F("cannot access response document: ",d),e=k}if(e===x&&b)b.abort("timeout");else if(e==k&&b)b.abort("server abort");else if(w&&w.location.href!=h.iframeSrc||v){g.detachEvent?g.detachEvent("onload",f):g.removeEventListener("load",f,!1);var t,n="success";try{if(v)throw"timeout";var i="xml"==h.dataType||w.XMLDocument||O.isXMLDoc(w);if(F("isXml="+i),!i&&window.opera&&(null===w.body||!w.body.innerHTML)&&--C)return F("requeing onLoad callback, DOM not available"),void setTimeout(f,250);var a=w.body?w.body:w.documentElement;b.responseText=a?a.innerHTML:null,b.responseXML=w.XMLDocument?w.XMLDocument:w,i&&(h.dataType="xml"),b.getResponseHeader=function(e){return{"content-type":h.dataType}[e]},a&&(b.status=Number(a.getAttribute("status"))||b.status,b.statusText=a.getAttribute("statusText")||b.statusText);
4var r=(h.dataType||"").toLowerCase(),o=/(json|script|text)/.test(r);if(o||h.textarea){var s=w.getElementsByTagName("textarea")[0];if(s)b.responseText=s.value,b.status=Number(s.getAttribute("status"))||b.status,b.statusText=s.getAttribute("statusText")||b.statusText;else if(o){var l=w.getElementsByTagName("pre")[0],c=w.getElementsByTagName("body")[0];l?b.responseText=l.textContent?l.textContent:l.innerText:c&&(b.responseText=c.textContent?c.textContent:c.innerText)}}else"xml"==r&&!b.responseXML&&b.responseText&&(b.responseXML=M(b.responseText));try{S=P(b,r,h)}catch(e){n="parsererror",b.error=t=e||n}}catch(e){F("error caught: ",e),n="error",b.error=t=e||n}b.aborted&&(F("upload aborted"),n=null),b.status&&(n=200<=b.status&&b.status<300||304===b.status?"success":"error"),"success"===n?(h.success&&h.success.call(h.context,S,"success",b),p&&O.event.trigger("ajaxSuccess",[b,h])):n&&(t===undefined&&(t=b.statusText),h.error&&h.error.call(h.context,b,n,t),p&&O.event.trigger("ajaxError",[b,h,t])),p&&O.event.trigger("ajaxComplete",[b,h]),p&&!--O.active&&O.event.trigger("ajaxStop"),h.complete&&h.complete.call(h.context,b,n),_=!0,h.timeout&&clearTimeout(y),setTimeout(function(){h.iframeTarget||m.remove(),b.responseXML=null},100)}}}var n,i,h,p,r,m,g,b,a,o,v,y,s=A[0],l=!!O.fn.prop;if(O(":input[name=submit],:input[id=submit]",s).length)alert('Error: Form elements must not have name or id of "submit".');else{if(e)for(i=0;i<E.length;i++)n=O(E[i]),l?n.prop("disabled",!1):n.removeAttr("disabled");if((h=O.extend(!0,{},O.ajaxSettings,D)).context=h.context||h,r="jqFormIO"+(new Date).getTime(),h.iframeTarget?(o=(m=O(h.iframeTarget)).attr("name"))?r=o:m.attr("name",r):(m=O('
4<iframe name="'+r+'" src="'+h.iframeSrc+'" />')).css({position:"absolute",top:"-1000px",left:"-1000px"}),g=m[0],b={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(e){var t="timeout"===e?"timeout":"aborted";F("aborting upload... "+t),this.aborted=1,m.attr("src",h.iframeSrc),b.error=t,h.error&&h.error.call(h.context,b,t,e),p&&O.event.trigger("ajaxError",[b,h,t]),h.complete&&h.complete.call(h.context,b,t)}},(p=h.global)&&0==O.active++&&O.event.trigger("ajaxStart"),p&&O.event.trigger("ajaxSend",[b,h]),h.beforeSend&&!1===h.beforeSend.call(h.context,b,h))h.global&&O.active--;else if(!b.aborted){(a=s.clk)&&(o=a.name)&&!a.disabled&&(h.extraData=h.extraData||{},h.extraData[o]=a.value,"image"==a.type&&(h.extraData[o+".x"]=s.clk_x,h.extraData[o+".y"]=s.clk_y));var x=1,k=2,c=O("meta[name=csrf-token]").attr("content"),d=O("meta[name=csrf-param]").attr("content");d&&c&&(h.extraData=h.extraData||{},h.extraData[d]=c),h.forceSync?t():setTimeout(t,10);var S,w,_,C=50,M=O.parseXML||function(e,t){return window.ActiveXObject?((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e)):t=(new DOMParser).parseFromString(e,"text/xml"),t&&t.documentElement&&"parsererror"!=t.documentElement.nodeName?t:null},T=O.parseJSON||function(e){return window.eval("("+e+")")},P=function(e,t,n){var i=e.getResponseHeader("content-type")||"",a="xml"===t||!t&&0<=i.indexOf("xml"),r=a?e.responseXML:e.responseText;return a&&"parsererror"===r.documentElement.nodeName&&O.error&&O.error("parsererror"),n&&n.dataFilter&&(r=n.dataFilter(r,t)),"string"==typeof r&&("json"===t||!t&&0<=i.indexOf("json")?r=T(r):("script"===t||!t&&0<=i.indexOf("javascript"))&&O.globalEval(r)),r}}}}if(!this.length)return F("ajaxSubmit: skipping submit process - no element selected"),this;var j,n,i,A=this;"function"==typeof D&&(D={success:D}),j=this.attr("method"),(i=(i="string"==typeof(n=this.attr("action"))?O.trim(n):"")||window.location.href||"")&&(i=(i.match(/^([^#]+)/)||[])[1]),D=O.extend(!0,{url:i,success:O.ajaxSettings.success,type:j||"GET",iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},D);var a={};if(this.trigger("form-pre-serialize",[this,D,a]),a.veto)return F("ajaxSubmit: submit vetoed via form-pre-serialize trigger"),this;if(D.beforeSerialize&&!1===D.beforeSerialize(this,D))return F("ajaxSubmit: submit aborted via beforeSerialize callback"),this;var r=D.traditional;r===undefined&&(r=O.ajaxSettings.traditional);var o,E=[],s=this.formToArray(D.semantic,E);if(D.data&&(D.extraData=D.data,o=O.param(D.data,r)),D.beforeSubmit&&!1===D.beforeSubmit(s,this,D))return F("ajaxSubmit: submit aborted via beforeSubmit callback"),this;if(this.trigger("form-submit-validate",[s,this,D,a]),a.veto)return F("ajaxSubmit: submit vetoed via form-submit-validate trigger"),this;var l=O.param(s,r);o&&(l=l?l+"&"+o:o),"GET"==D.type.toUpperCase()?(D.url+=(0<=D.url.indexOf("?")?"&":"?")+l,D.data=null):D.data=l;var c=[];if(D.resetForm&&c.push(function(){A.resetForm()}),D.clearForm&&c.push(function(){A.clearForm(D.includeHidden)}),!D.dataType&&D.target){var d=D.success||function(){};c.push(function(e){var t=D.replaceTarget?"replaceWith":"html";O(D.target)[t](e).each(d,arguments)})}else D.success&&c.push(D.success);D.success=function(e,t,n){for(var i=D.context||D,a=0,r=c.length;a<r;a++)c[a].apply(i,[e,t,n||A,A])};var u=0<O("input:file:enabled[value]",this).length,f="multipart/form-data",h=A.attr("enctype")==f||A.attr("encoding")==f,p=b.fileapi&&b.formdata;F("fileAPI :"+p);var m=(u||h)&&!p;!1!==D.iframe&&(D.iframe||m)?D.closeKeepAlive?O.get(D.closeKeepAlive,function(){t(s)}):t(s):(u||h)&&p?e(s):O.ajax(D);for(var g=0;g<E.length;g++)E[g]=null;return this.trigger("form-submit-notify",[this,D]),this},O.fn.ajaxForm=function(e){if((e=e||{}).delegation=e.delegation&&O.isFunction(O.fn.on),e.delegation||0!==this.length)return e.delegation?(O(document).off("submit.form-plugin",this.selector,n).off("click.form-plugin",this.selector,i).on("submit.form-plugin",this.selector,e,n).on("click.form-plugin",this.selector,e,i),this):this.ajaxFormUnbind().bind("submit.form-plugin",e,n).bind("click.form-plugin",e,i);var t={s:this.selector,c:this.context};return!O.isReady&&t.s?(F("DOM not ready, queuing ajaxForm"),O(function(){O(t.s,t.c).ajaxForm(e)})):F("terminating; zero elements found by selector"+(O.isReady?"":" (DOM not ready)")),this},O.fn.ajaxFormUnbind=function(){return this.unbind("submit.form-plugin click.form-plugin")},O.fn.formToArray=function(e,t){var n=[];if(0===this.length)return n;var i,a,r,o,s,l,c,d=this[0],u=e?d.getElementsByTagName("*"):d.elements;if(!u)return n;for(i=0,l=u.length;i<l;i++)if(r=(s=u[i]).name)if(e&&d.clk&&"image"==s.type)s.disabled||d.clk!=s||(n.push({name:r,value:O(s).val(),type:s.type}),n.push({name:r+".x",value:d.clk_x},{name:r+".y",value:d.clk_y}));else if((o=O.fieldValue(s,!0))&&o.constructor==Array)for(t&&t.push(s),a=0,c=o.length;a<c;a++)n.push({name:r,value:o[a]});else if(b.fileapi&&"file"==s.type&&!s.disabled){t&&t.push(s);var f=s.files;if(f.length)for(a=0;a<f.length;a++)n.push({name:r,value:f[a],type:s.type});else n.push({name:r,value:"",type:s.type})}else null!=o&&(t&&t.push(s),n.push({name:r,value:o,type:s.type,required:s.required}));if(!e&&d.clk){var h=O(d.clk),p=h[0];(r=p.name)&&!p.disabled&&"image"==p.type&&(n.push({name:r,value:h.val()}),n.push({name:r+".x",value:d.clk_x},{name:r+".y",value:d.clk_y}))}return n}
4,O.fn.formSerialize=function(e){return O.param(this.formToArray(e))},O.fn.fieldSerialize=function(a){var r=[];return this.each(function(){var e=this.name;if(e){var t=O.fieldValue(this,a);if(t&&t.constructor==Array)for(var n=0,i=t.length;n<i;n++)r.push({name:e,value:t[n]});else null!=t&&r.push({name:this.name,value:t})}}),O.param(r)},O.fn.fieldValue=function(e){for(var t=[],n=0,i=this.length;n<i;n++){var a=this[n],r=O.fieldValue(a,e);null==r||r.constructor==Array&&!r.length||(r.constructor==Array?O.merge(t,r):t.push(r))}return t},O.fieldValue=function(e,t){var n=e.name,i=e.type,a=e.tagName.toLowerCase();if(t===undefined&&(t=!0),t&&(!n||e.disabled||"reset"==i||"button"==i||("checkbox"==i||"radio"==i)&&!e.checked||("submit"==i||"image"==i)&&e.form&&e.form.clk!=e||"select"==a&&-1==e.selectedIndex))return null;if("select"!=a)return O(e).val();var r=e.selectedIndex;if(r<0)return null;for(var o=[],s=e.options,l="select-one"==i,c=l?r+1:s.length,d=l?r:0;d<c;d++){var u=s[d];if(u.selected){var f=u.value;if(f||(f=u.attributes&&u.attributes.value&&!u.attributes.value.specified?u.text:u.value),l)return f;o.push(f)}}return o},O.fn.clearForm=function(e){return this.each(function(){O("input,select,textarea",this).clearFields(e)})},O.fn.clearFields=O.fn.clearInputs=function(n){var i=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each(function(){var e=this.type,t=this.tagName.toLowerCase();i.test(e)||"textarea"==t?this.value="":"checkbox"==e||"radio"==e?this.checked=!1:"select"==t?this.selectedIndex=-1:n&&(!0===n&&/hidden/.test(e)||"string"==typeof n&&O(this).is(n))&&(this.value="")})},O.fn.resetForm=function(){return this.each(function(){("function"==typeof this.reset||"object"==typeof this.reset&&!this.reset.nodeType)&&this.reset()})},O.fn.enable=function(e){return e===undefined&&(e=!0),this.each(function(){this.disabled=!e})},O.fn.selected=function(n){return n===undefined&&(n=!0),this.each(function(){var e=this.type;if("checkbox"==e||"radio"==e)this.checked=n;else if("option"==this.tagName.toLowerCase()){var t=O(this).parent("select");n&&t[0]&&"select-one"==t[0].type&&t.find("option").selected(!1),this.selected=n}})},O.fn.ajaxSubmit.debug=!1}(jQuery),function(){"use strict";var b,s,a,i,l,c;l=864e5,c=3600,b=function(e,t){return"string"==typeof e&&"string"==typeof t&&e.toLowerCase()===t.toLowerCase()},s=function(e,t,n){var i=n||"0",a=e.toString();return a.length<t?s(i+a,t):a},a=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]?a(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=a(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,a,r,o,s,l,c,d,u,f=this,h=!1,p=!1,m=f.dateSettings,g={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(a=parseInt(e))?new Date(1e3*a):e;if("string"!=typeof e)return"";if(!(n=t.match(f.validParts))||0===n.length)throw new Error("Invalid date format definition.");for(i=e.replace(f.separators,"\0").split("\0"),a=0;a<i.length;a++)switch(r=i[a],o=parseInt(r),n[a]){case"y":case"Y":2===(d=r.length)?g.year=parseInt((o<70?"20":"19")+r):4===d&&(g.year=o),h=!0;break;case"m":case"n":case"M":case"F":isNaN(r)?(-1<(s=m.monthsShort.indexOf(r))&&(g.month=s+1),-1<(s=m.months.indexOf(r))&&(g.month=s+1)):1<=o&&o<=12&&(g.month=o),h=!0;break;case"d":case"j":1<=o&&o<=31&&(g.day=o),h=!0;break;case"g":case"h":u=i[l=-1<n.indexOf("a")?n.indexOf("a"):-1<n.indexOf("A")?n.indexOf("A"):-1],-1<l?(c=b(u,m.meri
4diem[0])?0:b(u,m.meridiem[1])?12:-1,1<=o&&o<=12&&-1<c?g.hour=o+c:0<=o&&o<=23&&(g.hour=o)):0<=o&&o<=23&&(g.hour=o),p=!0;break;case"G":case"H":0<=o&&o<=23&&(g.hour=o),p=!0;break;case"i":0<=o&&o<=59&&(g.min=o),p=!0;break;case"s":0<=o&&o<=59&&(g.sec=o),p=!0}if(!0===h&&g.year&&g.month&&g.day)g.date=new Date(g.year,g.month-1,g.day,g.hour,g.min,g.sec,0);else{if(!0!==p)return!1;g.date=new Date(0,0,0,g.hour,g.min,g.sec,0)}return g.date},guessDate:function(e,t){if("string"!=typeof e)return e;var n,i,a,r,o=this,s=e.replace(o.separators,"\0").split("\0"),l=/^[djmn]/g,c=t.match(o.validParts),d=new Date,u=0;if(!l.test(c[0]))return e;for(i=0;i<s.length;i++){switch(u=2,a=s[i],r=parseInt(a.substr(0,2)),i){case 0:"m"===c[0]||"n"===c[0]?d.setMonth(r-1):d.setDate(r);break;case 1:"m"===c[0]||"n"===c[0]?d.setDate(r):d.setMonth(r-1);break;case 2:n=d.getFullYear(),a.length<4?(d.setFullYear(parseInt(n.toString().substr(0,4-a.length)+a)),u=a.length):(d.setFullYear=parseInt(a.substr(0,4)),u=4);break;case 3:d.setHours(r);break;case 4:d.setMinutes(r);break;case 5:d.setSeconds(r)}0<a.substr(u).length&&s.splice(i+1,0,a.substr(u))}return d},parseFormat:function(e,i){var n,t=this,a=t.dateSettings,r=/\\?(.?)/gi,o=function(e,t){return n[e]?n[e]():t};return n={d:function(){return s(n.j(),2)},D:function(){return a.daysShort[n.w()]},j:function(){return i.getDate()},l:function(){return a.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 a.months[i.getMonth()]},m:function(){return s(n.n(),2)},M:function(){return a.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 a.meridiem[e]},B:function(){var e=i.getUTCHours()*c,t=60*i.getUTCMinutes(),n=i.getUTCSeconds();return s(Math.floor((e+t+n+c)/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)},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(r,o)},r:function(){return"D, d M Y H:i:s O".replace(r,o) 5},U:function(){return i.getTime()/1e3||0}},o(e,e)},formatDate:function(e,t){var n,i,a,r,o,s=this,l="";if("string"==typeof e&&!1===(e=s.parseDate(e,t)))return!1;if(e instanceof Date){for(a=t.length,n=0;n<a;n++)"S"!==(o=t.charAt(n))&&(r=s.parseFormat(o,e),n!==a-1&&s.intParts.test(o)&&"S"===t.charAt(n+1)&&(i=parseInt(r),r+=s.dateSettings.ordinal(i)),l+=r);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 G(e,t,n){this.date=e,this.desc=t,this.style=n}var U=!1,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"]}
5,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
5ius","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
50445\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
505d9\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:["\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},Y=null,n="en",J="en",i={meridiem:["AM","PM"]},a=function(){var e=s.i18n[J],t={days:e.dayOfWeek,daysShort:e.dayOfWeekShort,months:e.months,monthsShort:V.map(e.months,function(e){return e.substring(0,3)})};Y=new DateFormatter({dateSettings:V.extend({},i,t)})};V.datetimepicker={setLocale:function(e){var t=s.i18n[e]?e:n;J!=t&&(J=t,a())},setDateFormatter:function(e){Y=e}
vendor: 19,272 bytes, lines 5-6
5,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"},a(),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(b){return this.each(function(){var r,o,s,l,c,d=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},u=100,i=!1,a=0,f=0,h=0,p=!1,m=0,g=function(){};"hide"!==b?(V(this).hasClass("xdsoft_scroller_box")||(r=d.children().eq(0),o=d[0].clientHeight,s=r[0].offsetHeight,l=V('<div class="xdsoft_scrollbar"></div>'),c=V('<div class="xdsoft_scroller"></div>'),l.append(c),d.addClass("xdsoft_scroller_box").append(l),g=function g(e){var t=n(e).y-a+m;t<0&&(t=0),t+c[0].offsetHeight>h&&(t=h-c[0].offsetHeight),d.trigger("scroll_element.xdsoft_scroller",[u?t/u:0])},c.on("touchstart.xdsoft_scroller mousedown.xdsoft_scroller",function(e){o||d.trigger("resize_scroll.xdsoft_scroller",[b]),a=n(e).y,m=parseInt(c.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",g).removeClass("xdsoft_noselect")}),V(document.body).on("mousemove.xdsoft_scroller",g)):(p=!0,e.stopPropagation(),e.preventDefault())}).on("touchmove",function(e){p&&(e.preventDefault(),g(e))}).on("touchend touchcancel",function(){p=!1,m=0}),d.on("scroll_element.xdsoft_scroller",function(e,t){o||d.trigger("resize_scroll.xdsoft_scroller",[t,!0]),t=1<t?1:t<0||isNaN(t)?0:t,c.css("margin-top",u*t),setTimeout(function(){r.css("marginTop",-parseInt((r[0].offsetHeight-o)*t,10))},10)}).on("resize_scroll.xdsoft_scroller",function(e,t,n){var i,a;o=d[0].clientHeight,s=r[0].offsetHeight,a=(i=o/s)*l[0].offsetHeight,1<i?c.hide():(c.show(),c.css("height",parseInt(10<a?a:10,10)),u=l[0].offsetHeight-c[0].offsetHeight,!0!==n&&d.trigger("scroll_element.xdsoft_scroller",[t||Math.abs(parseInt(r.css("marginTop"),10))/(s-o)]))}),d.on("mousewheel",function(e){var t=Math.abs(parseInt(r.css("marginTop"),10));return(t-=20*e.deltaY)<0&&(t=0),d.trigger("scroll_element.xdsoft_scroller",[t/(s-o)]),e.stopPropagation(),!1}),d.on("touchstart",function(e){i=n(e),f=Math.abs(parseInt(r.css("marginTop"),10))}),d.on("touchmove",function(e){if(i){e.preventDefault();var t=n(e);d.trigger("scroll_element.xdsoft_scroller",[(f-(t.y-i.y))/(s-o)])}}),d.on("touchend touchcancel",function(){i=!1,f=0})),d.trigger("resize_scroll.xdsoft_scroller",[b])):d.find(".xdsoft_scrollbar").hide()})},V.fn.datetimepicker=function(P,t){var n,i,a=this,f=48,h=57,g=96,b=105,v=17,y=46,D=13,j=27,A=8,E=37,O=38,F=39,I=40,B=9,R=116,L=65,$=67,z=86,N=90,H=89,W=!1,q=V.isPlainObject(P)||!P?V.extend(!0,{},s,P):V.extend(!0,{},s),r=0,o=function(e){e.on("open.xdsoft focusin.xdsoft mousedown.xdsoft touchstart",function t(){e.is(":disabled")||e.data("xdsoft_datetimepicker")||(clearTimeout(r),r=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(x){function t(){var e,t=!1;return q.startDate?t=k.strToDate(q.startDate):(t=q.value||(x&&x.val&&x.val()?x.val():""))?t=k.strToDateTime(t):q.defaultDate&&(t=k.strToDateTime(q.defaultDate),q.defaultTime&&(e=k.strtotime(q.defaultTime),t.setHours(e.getHours()),t.setMinutes( 6e.getMinutes()))),t&&k.isValidDate(t)?S.data("changed",!0):t="",t||0}function n(r){var o=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)};r.mask&&x.off("keydown.xdsoft"),!0===r.mask&&("undefined"!=typeof moment?r.mask=r.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"):r.mask=r.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(r.mask)&&(o(r.mask,x.val())||(x.val(r.mask.replace(/[0-9]/g,"_")),l(x[0],0)),x.on("keydown.xdsoft",function(e){var t,n,i=this.value,a=e.which;if(f<=a&&a<=h||g<=a&&a<=b||a===A||a===y){for(t=s(this),n=a!==A&&a!==y?String.fromCharCode(g<=a&&a<=b?a-f:a):"_",a!==A&&a!==y||!t||(t-=1,n="_");/[^0-9_]/.test(r.mask.substr(t,1))&&t<r.mask.length&&0<t;)t+=a===A||a===y?-1:1;if(i=i.substr(0,t)+n+i.substr(t+1),""===V.trim(i))i=r.mask.replace(/[0-9]/g,"_");else if(t===r.mask.length)return e.preventDefault(),!1;for(t+=a===A||a===y?0:1;/[^0-9_]/.test(r.mask.substr(t,1))&&t<r.mask.length&&0<t;)t+=a===A||a===y?-1:1;o(r.mask,i)?(this.value=i,l(this,t)):""===V.trim(i)?this.value=r.mask.replace(/[0-9]/g,"_"):x.trigger("error_input.xdsoft")}else if(-1!==[L,$,z,N,H].indexOf(a)&&W||-1!==[j,O,I,E,F,R,v,B,D].indexOf(a))return!0;return e.preventDefault(),!1}))}var i,a,r,o,k,p,S=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>'),m=V('<div class="xdsoft_datepicker active"></div>'),w=V('<div class="xdsoft_monthpicker"><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>'),_=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>'),c=s.find(".xdsoft_time_box").eq(0),C=V('<div class="xdsoft_time_variant"></div>'),l=V('<button type="button" class="xdsoft_save_selected blue-gradient-button">Save Selected</button>'),M=V('<div class="xdsoft_select xdsoft_monthselect"><div></div></div>'),T=V('<div class="xdsoft_select xdsoft_yearselect"><div></div></div>'),u=!1,d=0;q.id&&S.attr("id",q.id),q.style&&S.attr("style",q.style),q.weeks&&S.addClass("xdsoft_showweeks"),q.rtl&&S.addClass("xdsoft_rtl"),S.addClass("xdsoft_"+q.theme),S.addClass(q.className),w.find(".xdsoft_month span").after(M),w.find(".xdsoft_year span").after(T),w.find(".xdsoft_month,.xdsoft_year").on("touchstart mousedown.xdsoft",function(e){var t,n,i=V(this).find(".xdsoft_select").eq(0),a=0,r=0,o=i.is(":visible");for(w.find(".xdsoft_select").hide(),k.currentTime&&(a=k.currentTime[V(this).hasClass("xdsoft_month")?"getMonth":"getFullYear"]()),i[o?"hide":"show"](),t=i.find("div.xdsoft_option"),n=0;n<t.length&&t.eq(n).data("value")!==a;n+=1)r+=t[0].offsetHeight;return i.xdsoftScroller(r/(i.children()[0].offsetHeight-i[0].clientHeight)),e.stopPropagation(),!1}),w.find(".xdsoft_select").xdsoftScroller().on("touchstart mousedown.xdsoft",function(e){e.stopPropagation(),e.preventDefault()}).on("touchstart mousedown.xdsoft",".xdsoft_option",function(){k.currentTime!==undefined&&null!==k.currentTime||(k.currentTime=k.now());var e=k.currentTime.getFullYear();k&&k.currentTime&&k.currentTime[V(this).parent().parent().hasClass("xdsoft_monthselect")?"setMonth":"setFullYear"](V(this).data("value")),V(this).parent().parent().hide(),S.trigger("xchange.xdsoft"),q.onChangeMonth&&V.isFunction(q.onChangeMonth)&&q.onChangeMonth.call(S,k.currentTime,S.data("input")),e!==k.currentTime.getFullYear()&&V.isFunction(q.onChangeYear)&&q.onChangeYear.call(S,k.currentTime,S.data("input"))}),S.getValue=function(){return k.getCurrentTime()},S.setOptions=function(e){var d={};q=V.extend(!0,{},q,e),e.allowTimes&&V.isArray(e.allowTimes)&&e.allowTimes.length&&(q.allowTimes=V.extend(!0,[],e.allowTimes)),e.weekends&&V.isArray(e.weekends)&&e.weekends.length&&(q.weekends=V.extend(!0,[],e.weekends)),e.allowDates&&V.isArray(e.allowDates)&&e.allowDates.length&&(q.allowDates=V.extend(!0,[],e.allowDates)),e.allowDateRe&&"[object String]"===Object.prototype.toString.call(e.allowDateRe)&&(q.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),a=new G(Y.parseDate(i[0],q.formatDate),i[1],i[2]),r=Y.formatDate(a.date,q.formatDate);d[r]!==undefined?(n=d[r].desc)&&n.length&&a.desc&&a.desc.length&&(d[r].desc=n+"\n"+a.desc):d[r]=a}),q.highlightedDates=V.extend(!0,[],d)),e.highlightedPeriods&&V.isArray(e.highlightedPeriods)&&e.highlightedPeriods.length&&(d=V.extend(!0,[],q.highlightedDates),V.each(e.highlightedPeriods,function(e,t){var n,i,a,r,o,s,l;if(V.isArray(t))n=t[0],i=t[1],a=t[2],l=t[3];else{var c=V.map(t.split(","),V.trim);n=Y.parseDate(c[0],q.formatDate),i=Y.parseDate(c[1],q.formatDate),a=c[2],l=c[3]}for(;n<=i;)r=new G(n,a,l),o=Y.formatDate(n,q.formatDate),n.setDate(n.getDate()+1),d[o]!==undefined?(s=d[o].desc)&&s.length&&r.desc&&r.desc.length&&(d[o].desc=s+"\n"+r.desc):d[o]=r}),q.highlightedDates=V.extend(!0,[],d)),e.disabledDates&&V.isArray(e.disabledDates)&&e.disabledDates.length&&(q.disabledDates=V.extend(!0,[],e.disabledDates)),e.disabledWeekDays&&V.isArray(e.disabledWeekDays)&&e.disabledWeekDays.length&&(q.disabledWeekDays=V.extend(!0,[],e.disabledWeekDays)),!q.open&&!q.opened||q.inline||x.trigger("open.xdsoft"),q.inline&&(u=!0,S.addClass("xdsoft_inline"),x.after(S).hide()),q.inverseButton&&(q.next="xdsoft_prev",q.prev="xdsoft_next"),q.datepicker?m.addClass("active"):m.removeClass("active"),q.timepicker?s.addClass("active"):s.removeClass("active"),q.value&&(k.setCurrentTime(q.value),x&&x.val&&x.val(k.str)),isNaN(q.dayOfWeekStart)?q.dayOfWeekStart=0:q.dayOfWeekStart=parseInt(q.dayOfWeekStart,10)%7,q.timepickerScrollbar||c.xdsoftScroller("hide"),q.minDate&&/^[\+\-](.*)$/.test(q.minDate)&&(q.minDate=Y.formatDate(k.strToDateTime(q.minDate),q.formatDate)),q.maxDate&&/^[\+\-](.*)$/.test(q.maxDate)&&(q.maxDate=Y.formatDate(k.strToDateTime(q.maxDate),q.formatDate)),l.toggle(q.showApplyButton),w.find(".xdsoft_today_button").css("visibility",q.todayButton?"visible":"hidden"),w.find("."+q.prev).css("visibility",q.prevButton?"visible":"hidden"),w.find("."+q.next).css("visibility",q.nextButton?"visible":"hidden"),n(q),q.validateOnBlur&&x.off("blur.xdsoft").on("blur.xdsoft",function(){if(q.allowBlank&&(!V.trim(V(this).val()).length||"string"==typeof q.mask&&V.trim(V(this).val())===q.mask.replace(/[0-9]/g,"_")))V(this).val(null),S.data("xdsoft_datetime").empty();else{var e=Y.parseDate(V(this).val(),q.format);if(e)V(this).val(Y.formatDate(e,q.format));else{var t=+[V(this).val()[0],V(this).val()[1]].join(""),n=+[V(this).val()[2],V(this).val()[3]].join("");!q.datepicker&&q.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(Y.formatDate(k.now(),q.format))}S.data("xdsoft_datetime").setCurrentTime(V(this).val())}S.trigger("changedatetime.xdsoft"),S.trigger("close.xdsoft")}),q.dayOfWeekStartPrev=0===q.dayOfWeekStart?6:q.dayOfWeekStart-1,S.trigger("xchange.xdsoft").trigger("afterOpen.xdsoft")},S.data("options",q).on("touchstart mousedown.xdsoft",function(e){return e.stopPropagation(),e.preventDefault(),T.hide(),M.hide(),!1}),c.append(C),c.xdsoftScroller(),S.on("afterOpen.xdsoft",function(){c.xdsoftScroller()}),S.append(m).append(s),!0!==q.withoutCopyright&&S.append(e),m.append(w).append(_).append(l),V(q.parentID).append(S),k=new function(){var a=this;a.now=function(e){var t,n,i=new Date;return!e&&q.defaultDate&&(t=a.strToDateTime(q.defaultDate),i.setFullYear(t.getFullYear()),i.setMonth(t.getMonth()),i.setDate(t.getDate())),q.yearOffset&&i.setFullYear(i.getFullYear()+q.yearOffset),!e&&q.defaultTime&&(n=a.strtotime(q.defaultTime),i.setHours(n.getHours()),i.setMinutes(n.getMinutes())),i},a.isValidDate=function(e){return"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e.getTime())},a.setCurrentTime=function(e,t){"string"==typeof e?a.currentTime=a.strToDateTime(e):a.isValidDate(e)?a.currentTime=e:e||t||!q.allowBlank?a.currentTime=a.now():a.currentTime=null,S.trigger("xchange.xdsoft")},a.empty=function(){a.currentTime=null},a.getCurrentTime=function(){return a.currentTime},a.nextMonth=function(){a.currentTime!==undefined&&null!==a.currentTime||(a.currentTime=a.now());var e,t=a.currentTime.getMonth()+1;return 12===t&&(a.currentTime.setFullYear(a.currentTime.getFullYear()+1),t=0),e=a.currentTime.getFullYear(),a.currentTime.setDate(Math.min(new Date(a.currentTime.getFullYear(),t+1,0).getDate(),a.currentTime.getDate())),a.currentTime.setMonth(t),q.onChangeMonth&&V.isFunction(q.onChangeMonth)&&q.onChangeMonth.call(S,k.currentTime,S.data("input")),e!==a.currentTime.getFullYear()&&V.isFunction(q.onChangeYear)&&q.onChangeYear.call(S,k.currentTime,S.data("input")),S.trigger("xchange.xdsoft"),t},a.prevMonth=function(){a.currentTime!==undefined&&null!==a.currentTime||(a.currentTime=a.now());var e=a.currentTime.getMonth()-1;return-1===e&&(a.currentTime.setFullYear(a.currentTime.getFullYear()-1),e=11),a.currentTime.setDate(Math.min(new Date(a.currentTime.getFullYear(),e+1,0).getDate(),a.currentTime.getDate())),a.currentTime.setMonth(e),q.onChangeMonth&&V.isFunction(q.onChangeMonth)&&q.onChangeMonth.call(S,k.currentTime,S.data("input")),S.trigger("xchange.xdsoft"),e},a.getWeekOfYear=function(e){if(q.onGetWeekOfYear&&V.isFunction(q.onGetWeekOfYear)){var t=q.onGetWeekOfYear.call(S,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)},a.strToDateTime=function(e){var t,n,i=[];return e&&e instanceof Date&&a.isValidDate(e)?e:((i=/^(\+|\-)(.*)$/.exec(e))&&(i[2]=Y.parseDate(i[2],q.formatDate)),i&&i[2]?(t=i[2].getTime()-6e4*i[2].getTimezoneOffset(),n=new Date(a.now(!0).getTime()+parseInt(i[1]+"1",10)*t)):n=e?Y.parseDate(e,q.format):a.now(),a.isValidDate(n)||(n=a.now()),n)},a.strToDate=function(e){if(e&&e instanceof Date&&a.isValidDate(e))return e;var t=e?Y.parseDate(e,q.formatDate):a.now(!0);return a.isValidDate(t)||(t=a.now(!0)),t},a.strtotime=function(e){if(e&&e instanceof Date&&a.isValidDate(e))return e;var t=e?Y.parseDate(e,q.formatTime):a.now(!0);return a.isValidDate(t)||(t=a.now(!0)),t},a.str=function(){return Y.formatDate(a.currentTime,q.format)},a.currentTime=this.now()},l.on("touchend click",function(e){e.preventDefault(),S.data("changed",!0),k.setCurrentTime(t()),x.val(k.str()),S.trigger("close.xdsoft")}),w.find(".xdsoft_today_button").on("touchend mousedown.xdsoft",function(){S.data("changed",!0),k.setCurrentTime(0,!0),S.trigger("afterOpen.xdsoft")}).on("dblclick.xdsoft",function(){var e,t,n=k.getCurrentTime();n=new Date(n.getFullYear(),n.getMonth(),n.getDate()),e=k.strToDate(q.minDate),n<(e=new Date(e.getFullYear(),e.getMonth(),e.getDate()))||(t=k.strToDate(q.maxDate),(t=new Date(t.getFullYear(),t.getMonth(),t.getDate()))<n||(x.val(k.str()),x.trigger("change"),S.trigger("close.xdsoft")))}),w.find(".xdsoft_prev,.xdsoft_next").on("touchend mousedown.xdsoft",function(){var t=V(this),n=0,i=!1;!function a(e){t.hasClass(q.next)?k.nextMonth():t.hasClass(q.prev)&&k.prevMonth(),q.monthChangeSpinner&&(i||(n=setTimeout(a,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 a=V(this),r=0,o=!1,s=110;!function l(e){var t=c[0].clientHeight,n=C[0].offsetHeight,i=Math.abs(parseInt(C.css("marginTop"),10));a.hasClass(q.next)&&n-t-q.timeHeightInTimePicker>=i?C.css("marginTop","-"+(i+q.timeHeightInTimePicker)+"px"):a.hasClass(q.prev)&&0<=i-q.timeHeightInTimePicker&&C.css("marginTop","-"+(i-q.timeHeightInTimePicker)+"px"),c.trigger("scroll_element.xdsoft_scroller",[Math.abs(parseInt(C[0].style.marginTop,10)/(n-t))]),s=10<s?10:s-10,o||(r=setTimeout(l,e||s))}(500),V([document.body,window]).on("touchend mouseup.xdsoft",function e(){clearTimeout(r),o=!0,V([document.body,window]).off("touchend mouseup.xdsoft",e)})}),i=0,S.on("xchange.xdsoft",function(e){clearTimeout(i),i=setTimeout(function(){if(k.currentTime===undefined||null===k.currentTime){if(q.allowBlank)return;k.currentTime=k.now()}for(var e,t,n,i,a,r,o,s,l,c,d="",u=new Date(k.currentTime.getFullYear(),k.currentTime.getMonth(),1,12,0,0),f=0,h=k.now(),p=!1,m=!1,g=[],b=!0,v="",y="";u.getDay()!==q.dayOfWeekStart;)u.setDate(u.getDate()-1);for(d+="<table><thead><tr>",q.weeks&&(d+="<th></th>"),e=0;e<7;e+=1)d+="<th>"+q.i18n[J].dayOfWeekShort[(e+q.dayOfWeekStart)%7]+"</th>";for(d+="</tr></thead>",d+="<tbody>",!1!==q.maxDate&&(p=k.strToDate(q.maxDate),p=new Date(p.getFullYear(),p.getMonth(),p.getDate(),23,59,59,999)),!1!==q.minDate&&(m=k.strToDate(q.minDate),m=new Date(m.getFullYear(),m.getMonth(),m.getDate()));f<k.currentTime.countDaysInMonth()||u.getDay()!==q.dayOfWeekStart||k.currentTime.getMonth()===u.getMonth();)g=[],f+=1,n=u.getDay(),i=u.getDate(),a=u.getFullYear(),r=u.getMonth(),o=k.getWeekOfYear(u),c="",g.push("xdsoft_date"),s=q.beforeShowDay&&V.isFunction(q.beforeShowDay.call)?q.beforeShowDay.call(S,u):null,q.allowDateRe&&"[object RegExp]"===Object.prototype.toString.call(q.allowDateRe)?q.allowDateRe.test(Y.formatDate(u,q.formatDate))||g.push("xdsoft_disabled"):q.allowDates&&0<q.allowDates.length?-1===q.allowDates.indexOf(Y.formatDate(u,q.formatDate))&&g.push("xdsoft_disabled"):!1!==p&&p<u||!1!==m&&u<m||s&&!1===s[0]?g.push("xdsoft_disabled"):-1!==q.disabledDates.indexOf(Y.formatDate(u,q.formatDate))?g.push("xdsoft_disabled"):-1!==q.disabledWeekDays.indexOf(n)?g.push("xdsoft_disabled"):x.is("[readonly]")&&g.push("xdsoft_disabled"),s&&""!==s[1]&&g.push(s[1]),k.currentTime.getMonth()!==r&&g.pu
6sh("xdsoft_other_month"),(q.defaultSelect||S.data("changed"))&&Y.formatDate(k.currentTime,q.formatDate)===Y.formatDate(u,q.formatDate)&&g.push("xdsoft_current"),Y.formatDate(h,q.formatDate)===Y.formatDate(u,q.formatDate)&&g.push("xdsoft_today"),0!==u.getDay()&&6!==u.getDay()&&-1===q.weekends.indexOf(Y.formatDate(u,q.formatDate))||g.push("xdsoft_weekend"),q.highlightedDates[Y.formatDate(u,q.formatDate)]!==undefined&&(t=q.highlightedDates[Y.formatDate(u,q.formatDate)],g.push(t.style===undefined?"xdsoft_highlighted_default":t.style),c=t.desc===undefined?"":t.desc),q.beforeShowDay&&V.isFunction(q.beforeShowDay)&&g.push(q.beforeShowDay(u)),b&&(d+="<tr>",b=!1,q.weeks&&(d+="<th>"+o+"</th>")),d+='<td data-date="'+i+'" data-month="'+r+'" data-year="'+a+'" class="xdsoft_date xdsoft_day_of_week'+u.getDay()+" "+g.join(" ")+'" title="'+c+'"><div>'+i+"</div></td>",u.getDay()===q.dayOfWeekStartPrev&&(d+="</tr>",b=!0),u.setDate(i+1);if(d+="</tbody></table>",_.html(d),w.find(".xdsoft_label span").eq(0).text(q.i18n[J].months[k.currentTime.getMonth()]),w.find(".xdsoft_label span").eq(1).text(k.currentTime.getFullYear()),r=y=v="",l=function l(e,t){var n,i,a=k.now(),r=q.allowTimes&&V.isArray(q.allowTimes)&&q.allowTimes.length;a.setHours(e),e=parseInt(a.getHours(),10),a.setMinutes(t),t=parseInt(a.getMinutes(),10),(n=new Date(k.currentTime)).setHours(e),n.setMinutes(t),!(g=[])!==q.minDateTime&&q.minDateTime>n||!1!==q.maxTime&&k.strtotime(q.maxTime).getTime()<a.getTime()||!1!==q.minTime&&k.strtotime(q.minTime).getTime()>a.getTime()?g.push("xdsoft_disabled"):!1!==q.minDateTime&&q.minDateTime>n||!1!==q.disabledMinTime&&a.getTime()>k.strtotime(q.disabledMinTime).getTime()&&!1!==q.disabledMaxTime&&a.getTime()<k.strtotime(q.disabledMaxTime).getTime()?g.push("xdsoft_disabled"):x.is("[readonly]")&&g.push("xdsoft_disabled"),(i=new Date(k.currentTime)).setHours(parseInt(k.currentTime.getHours(),10)),r||i.setMinutes(Math[q.roundTime](k.currentTime.getMinutes()/q.step)*q.step),(q.initTime||q.defaultSelect||S.data("changed"))&&i.getHours()===parseInt(e,10)&&(!r&&59<q.step||i.getMinutes()===parseInt(t,10))&&(q.defaultSelect||S.data("changed")?g.push("xdsoft_current"):q.initTime&&g.push("xdsoft_init_time")),parseInt(h.getHours(),10)===parseInt(e,10)&&parseInt(h.getMinutes(),10)===parseInt(t,10)&&g.push("xdsoft_today"),v+='<div class="xdsoft_time '+g.join(" ")+'" data-hour="'+e+'" data-minute="'+t+'">'+Y.formatDate(a,q.formatTime)+"</div>"},q.allowTimes&&V.isArray(q.allowTimes)&&q.allowTimes.length)for(f=0;f<q.allowTimes.length;f+=1)y=k.strtotime(q.allowTimes[f]).getHours(),r=k.strtotime(q.allowTimes[f]).getMinutes(),l(y,r);else for(e=f=0;f<(q.hours12?12:24);f+=1)for(e=0;e<60;e+=q.step)l(y=(f<10?"0":"")+f,r=(e<10?"0":"")+e);for(C.html(v),P="",f=0,f=parseInt(q.yearStart,10)+q.yearOffset;f<=parseInt(q.yearEnd,10)+q.yearOffset;f+=1)P+='<div class="xdsoft_option '+(k.currentTime.getFullYear()===f?"xdsoft_current":"")+'" data-value="'+f+'">'+f+"</div>";for(T.children().eq(0).html(P),f=parseInt(q.monthStart,10),P="";f<=parseInt(q.monthEnd,10);f+=1)P+='<div class="xdsoft_option '+(k.currentTime.getMonth()===f?"xdsoft_current":"")+'" data-value="'+f+'">'+q.i18n[J].months[f]+"</div>";M.children().eq(0).html(P),V(S).trigger("generate.xdsoft")},10),e.stopPropagation()}).on("afterOpen.xdsoft",function(){var e,t,n,i;q.timepicker&&(C.find(".xdsoft_current").length?e=".xdsoft_current":C.find(".xdsoft_init_time").length&&(e=".xdsoft_init_time"),e?(t=c[0].clientHeight,(n=C[0].offsetHeight)-t<(i=C.find(e).index()*q.timeHeightInTimePicker+1)&&(i=n-t),c.trigger("scroll_element.xdsoft_scroller",[parseInt(i,10)/(n-t)])):c.trigger("scroll_element.xdsoft_scroller",[0]))}),a=0,_.on("touchend click.xdsoft","td",function(e){e.stopPropagation(),a+=1;var t=V(this),n=k.currentTime;if(n!==undefined&&null!==n||(k.currentTime=k.now(),n=k.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")),S.trigger("select.xdsoft",[n]),x.val(k.str()),q.onSelectDate&&V.isFunction(q.onSelectDate)&&q.onSelectDate.call(S,k.currentTime,S.data("input"),e),S.data("changed",!0),S.trigger("xchange.xdsoft"),S.trigger("changedatetime.xdsoft"),(1<a||!0===q.closeOnDateSelect||!1===q.closeOnDateSelect&&!q.timepicker)&&!q.inline&&S.trigger("close.xdsoft"),setTimeout(function(){a=0},200)}),C.on("touchmove","div",function(){U=!0}).on("touchend click.xdsoft","div",function(e){if(e.stopPropagation(),U)U=!1;else{var t=V(this),n=k.currentTime;
6if(n!==undefined&&null!==n||(k.currentTime=k.now(),n=k.currentTime),t.hasClass("xdsoft_disabled"))return!1;n.setHours(t.data("hour")),n.setMinutes(t.data("minute")),S.trigger("select.xdsoft",[n]),S.data("input").val(k.str()),q.onSelectTime&&V.isFunction(q.onSelectTime)&&q.onSelectTime.call(S,k.currentTime,S.data("input"),e),S.data("changed",!0),S.trigger("xchange.xdsoft"),S.trigger("changedatetime.xdsoft"),!0!==q.inline&&!0===q.closeOnTimeSelect&&S.trigger("close.xdsoft")}}),m.on("mousewheel.xdsoft",function(e){return!q.scrollMonth||(e.deltaY<0?k.nextMonth():k.prevMonth(),!1)}),x.on("mousewheel.xdsoft",function(e){return!q.scrollInput||(!q.datepicker&&q.timepicker?(0<=(r=C.find(".xdsoft_current").length?C.find(".xdsoft_current").eq(0).index():0)+e.deltaY&&r+e.deltaY<C.children().length&&(r+=e.deltaY),C.children().eq(r).length&&C.children().eq(r).trigger("mousedown"),!1):q.datepicker&&!q.timepicker?(m.trigger(e,[e.deltaY,e.deltaX,e.deltaY]),x.val&&x.val(k.str()),S.trigger("changedatetime.xdsoft"),!1):void 0)}),S.on("changedatetime.xdsoft",function(e){if(q.onChangeDateTime&&V.isFunction(q.onChangeDateTime)){var t=S.data("input");q.onChangeDateTime.call(S,k.currentTime,t,e),delete q.value,t.trigger("change")}}).on("generate.xdsoft",function(){q.onGenerate&&V.isFunction(q.onGenerate)&&q.onGenerate.call(S,k.currentTime,S.data("input")),u&&(S.trigger("afterOpen.xdsoft"),u=!1)}).on("click.xdsoft",function(e){e.stopPropagation()}),r=0,p=function(e,t){do{if(!1===t(e=e.parentNode))break}while("HTML"!==e.nodeName)},o=function(){var e,t,n,i,a,r,o,s,l,c,d,u,f;if(e=(s=S.data("input")).offset(),t=s[0],c="top",n=e.top+t.offsetHeight-1,i=e.left,a="absolute",l=V(window).width(),u=V(window).height(),f=V(window).scrollTop(),document.documentElement.clientWidth-e.left<m.parent().outerWidth(!0)){var h=m.parent().outerWidth(!0)-t.offsetWidth;i-=h}"rtl"===s.parent().css("direction")&&(i-=S.outerWidth()-s.outerWidth()),q.fixed?(n-=f,i-=V(window).scrollLeft(),a="fixed"):(o=!1,p(t,function(e){if("fixed"===window.getComputedStyle(e).getPropertyValue("position"))return!(o=!0)}),o?(a="fixed",n+S.outerHeight()>u+f?(c="bottom",n=u+f-e.top):n-=f):n+t.offsetHeight>u+f&&(n=e.top-t.offsetHeight+1),n<0&&(n=0),i+t.offsetWidth>l&&(i=l-t.offsetWidth)),r=S[0],p(r,function(e){if("relative"===window.getComputedStyle(e).getPropertyValue("position")&&l>=e.offsetWidth)return i-=(l-e.offsetWidth)/2,!1}),(d={position:a,left:i,top:"",bottom:""})[c]=n,S.css(d)},S.on("open.xdsoft",function(e){var t=!0;q.onShow&&V.isFunction(q.onShow)&&(t=q.onShow.call(S,k.currentTime,S.data("input"),e)),!1!==t&&(S.show(),o(),V(window).off("resize.xdsoft",o).on("resize.xdsoft",o),q.closeOnWithoutClick&&V([document.body,window]).on("touchstart mousedown.xdsoft",function n(){S.trigger("close.xdsoft"),V([document.body,window]).off("touchstart mousedown.xdsoft",n)}))}).on("close.xdsoft",function(e){var t=!0;w.find(".xdsoft_month,.xdsoft_year").find(".xdsoft_select").hide(),q.onClose&&V.isFunction(q.onClose)&&(t=q.onClose.call(S,k.currentTime,S.data("input"),e)),!1===t||q.opened||q.inline||S.hide(),e.stopPropagation()}).on("toggle.xdsoft",function(){S.is(":visible")?S.trigger("close.xdsoft"):S.trigger("open.xdsoft")}).data("input",x),d=0,S.data("xdsoft_datetime",k),S.setOptions(q),k.setCurrentTime(t()),x.data("xdsoft_datetimepicker",S).on("open.xdsoft focusin.xdsoft mousedown.xdsoft touchstart",function(){x.is(":disabled")||x.data("xdsoft_datetimepicker").is(":visible")&&q.closeOnInputClick||(clearTimeout(d),d=setTimeout(function(){x.is(":disabled")||(u=!0,k.setCurrentTime(t(),!0),q.mask&&n(q),S.trigger("open.xdsoft"))},100))}).on("keydown.xdsoft",function(e){var t,n=e.which;return-1!==[D].indexOf(n)&&q.enterLikeTab?(t=V("input:visible,textarea:visible,button:visible,a:visible"),S.trigger("close.xdsoft"),t.eq(t.index(this)+1).focus(),!1):-1!==[B].indexOf(n)?(S.trigger("close.xdsoft"),!0):void 0}).on("blur.xdsoft",function(){S.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===v&&(W=!0)}).on("keyup.xdsoftctrl",function(e){e.keyCode===v&&(W=!1)}),this.each(function(){var e=V(this).data("xdsoft_datetimepicker");if(e){if("string"===V.type(P))switch(P){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;
6case"destroy":i(V(this));break;case"reset":this.value=this.defaultValue,this.value&&e.data("xdsoft_datetime").isValidDate(Y.parseDate(this.value,q.format))||e.data("changed",!1),e.data("xdsoft_datetime").setCurrentTime(this.value);break;case"validate":e.data("input").trigger("blur.xdsoft");break;default:e[P]&&V.isFunction(e[P])&&(a=e[P](t))}else e.setOptions(P);return 0}"string"!==V.type(P)&&(!q.lazyInit||q.open||q.inline?n(V(this)):o(V(this)))}),a},V.fn.datetimepicker.defaults=s}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(f){function t(e){var t=e||window.event,n=b.call(arguments,1),i=0,a=0,r=0,o=0,s=0,l=0;if((e=f.event.fix(t)).type="mousewheel","detail"in t&&(r=-1*t.detail),"wheelDelta"in t&&(r=t.wheelDelta),"wheelDeltaY"in t&&(r=t.wheelDeltaY),"wheelDeltaX"in t&&(a=-1*t.wheelDeltaX),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(a=-1*r,r=0),i=0===r?a:r,"deltaY"in t&&(i=r=-1*t.deltaY),"deltaX"in t&&(a=t.deltaX,0===r&&(i=-1*a)),0!==r||0!==a){if(1===t.deltaMode){var c=f.data(this,"mousewheel-line-height");i*=c,r*=c,a*=c}else if(2===t.deltaMode){var d=f.data(this,"mousewheel-page-height");i*=d,r*=d,a*=d}if(o=Math.max(Math.abs(r),Math.abs(a)),(!g||o<g)&&p(t,g=o)&&(g/=40),p(t,o)&&(i/=40,a/=40,r/=40),i=Math[1<=i?"floor":"ceil"](i/g),a=Math[1<=a?"floor":"ceil"](a/g),r=Math[1<=r?"floor":"ceil"](r/g),v.settings.normalizeOffset&&this.getBoundingClientRect){var u=this.getBoundingClientRect();s=e.clientX-u.left,l=e.clientY-u.top}return e.deltaX=a,e.deltaY=r,e.deltaFactor=g,e.offsetX=s,e.offsetY=l,e.deltaMode=0,n.unshift(e,i,a,r),m&&clearTimeout(m),m=setTimeout(h,200),(f.event.dispatch||f.event.handle).apply(this,n)}}function h(){g=null}function p(e,t){return v.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}var m,g,e=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],n="onwheel"in document||9<=document.documentMode?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],b=Array.prototype.slice;if(f.event.fixHooks)for(var i=e.length;i;)f.event.fixHooks[e[--i]]=f.event.mouseHooks;var v=f.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;f.data(this,"mousewheel-line-height",v.getLineHeight(this)),f.data(this,"mousewheel-page-height",v.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var e=n.length;e;)this.removeEventListener(n[--e],t,!1);else this.onmousewheel=null;f.removeData(this,"mousewheel-line-height"),f.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var t=f(e),n=t["offsetParent"in f.fn?"offsetParent":"parent"]();return n.length||(n=f("body")),parseInt(n.css("fontSize"),10)||parseInt(t.css("fontSize"),10)||16},getPageHeight:function(e){return f(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};f.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}),function(e,t){"object"==typeof exports?module.exports=exports=t():"function"==typeof define&&define.amd?define([],t):e.CryptoJS=t()}(this,function(){function i(){try{var e=global.crypto;return Number("0."+e.randomBytes(3).readUIntBE(0,3))}catch(e){}try{return e=window.crypto||window.msCrypto,Number("0."+window.crypto.getRandomValues(new Uint32Array(1))[0])}catch(e){}throw new Error("Native crypto module could not be used to get secure random number.")}function n(){}function w(e,t,n){return e^t^n}function _(e,t,n){return e&t|~e&n}function C(e,t,n){return(e|~t)^n}function M(e,t,n){return e&n|t&~n}function T(e,t,n){return e^(t|~n)}function P(e,t){return e<<t|e>>>32-t}function r(e,t,n,i){var a,r=this._iv;r?(a=r.slice(0),this._iv=void 0):a=this._prevBlock,i.encryptBlock(a,0);for(var o=0;o<n;o++)e[t+o]^=a[o]}function c(e){if(255==(e>>24&255)){var t=e>>16&255,n=e>>8&255,i=255&e;255===t?(t=0,255===n?(n=0,255===i?i=0:++i):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=i}else e+=1<<24;return e}function f(){for(var e=this._X,t=this._C,n=0;n<8;n++)Ie[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<Ie[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<Ie[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<Ie[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<Ie[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<Ie[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<Ie[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<Ie[6]>>>0?1:0)|0,this._b=t[7]>>>0<Ie[7]>>>0?1:0,n=0;n<8;n++){var i=e[n]+t[n],a=65535&i,r=i>>>16,o=((a*a>>>17)+a*r>>>15)+r*r,s=((4294901760&i)*i|0)+((65535&i)*i|0);Be[n]=o^s}e[0]=Be[0]+(Be[7]<<16|Be[7]>>>16)+(Be[6]<<16|Be[6]>>>16)|0,e[1]=Be[1]+(Be[0]<<8|Be[0]>>>24)+Be[7]|0,e[2]=Be[2]+(Be[1]<<16|Be[1]>>>16)+(Be[0]<<16|Be[0]>>>16)|0,e[3]=Be[3]+(Be[2]<<8|Be[2]>>>24)+Be[1]|0,e[4]=Be[4]+(Be[3]<<16|Be[3]>>>16)+(Be[2]<<16|Be[2]>>>16)|0,e[5]=Be[5]+(Be[4]<<8|Be[4]>>>24)+Be[3]|0,e[6]=Be[6]+(Be[5]<<16|Be[5]>>>16)+(Be[4]<<16|Be[4]>>>16)|0,e[7]=Be[7]+(Be[6]<<8|Be[6]>>>24)+Be[5]|0}function h(){for(var e=this._X,t=this._C,n=0;n<8;n++)qe[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<qe[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<qe[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<qe[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<qe[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<qe[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<qe[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<qe[6]>>>0?1:0)|0,this._b=t[7]>>>0<qe[7]>>>0?1:0,n=0;n<8;n++){var i=e[n]+t[n],a=65535&i,r=i>>>16,o=((a*a>>>17)+a*r>>>15)+r*r,s=((4294901760&i)*i|0)+((65535&i)*i|0);Ve[n]=o^s}e[0]=Ve[0]+(Ve[7]<<16|Ve[7]>>>16)+(Ve[6]<<16|Ve[6]>>>16)|0,e[1]=Ve[1]+(Ve[0]<<8|Ve[0]>>>24)+Ve[7]|0,e[2]=Ve[2]+(Ve[1]<<16|Ve[1]>>>16)+(Ve[0]<<16|Ve[0]>>>16)|0,e[3]=Ve[3]+(Ve[2]<<8|Ve[2]>>>24)+Ve[1]|0,e[4]=Ve[4]+(Ve[3]<<16|Ve[3]>>>16)+(Ve[2]<<16|Ve[2]>>>16)|0,e[5]=Ve[5]+(Ve[4]<<8|Ve[4]>>>24)+Ve[3]|0,e[6]=Ve[6]+(Ve[5]<<16|Ve[5]>>>16)+(Ve[4]<<16|Ve[4]>>>16)|0,e[7]=Ve[7]+(Ve[6]<<8|Ve[6]>>>24)+Ve[5]|0}var d,a,e,t,o,u,s,l,p,m,g,b,v,y,x,k,S,D,j,A,E,O,F,I,B,R,L,$,z,N,H,W,q,V,G,U,Y,J,X,Q,K,Z,ee,te,ne,ie,ae,re,oe,se,le,ce,de,ue,fe,he,pe,me,ge,be,ve,ye,xe,ke,Se,we,_e,Ce,Me,Te,Pe,De,je,Ae,Ee,Oe,Fe,Ie,Be,Re,Le,$e,ze,Ne,He,We,qe,Ve,Ge,Ue=Ue||(d=Math,a=Object.create||function(e){var t;return n.prototype=e,t=new n,n.prototype=null,t},t=(e={}).lib={},o=t.Base={extend:function(e){var t=a(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.a
vendor: 4,359 bytes, lines 6-7
6pply(this,arguments)}),(t.init.prototype=t).$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},u=t.WordArray=o.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||l).stringify(this)},concat:function(e){var t=this.words,n=e.words,i=this.sigBytes,a=e.sigBytes;if(this.clamp(),i%4)for(var r=0;r<a;r++){var o=n[r>>>2]>>>24-r%4*8&255;t[i+r>>>2]|=o<<24-(i+r)%4*8}else for(r=0;r<a;r+=4)t[i+r>>>2]=n[r>>>2];return this.sigBytes+=a,this},clamp:function(){var e=this.words,t=this.sigBytes;e[t>>>2]&=4294967295<<32-t%4*8,e.length=d.ceil(t/4)},clone:function(){var e=o.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n<e;n+=4)t.push(4294967296*i()|0);return new u.init(t,e)}}),s=e.enc={},l=s.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],a=0;a<n;a++){var r=t[a>>>2]>>>24-a%4*8&255;i.push((r>>>4).toString(16)),i.push((15&r).toString(16))}return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i<t;i+=2)n[i>>>3]|=parseInt(e.substr(i,2),16)<<24-i%8*4;return new u.init(n,t/2)}},p=s.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],a=0;a<n;a++){var r=t[a>>>2]>>>24-a%4*8&255;i.push(String.fromCharCode(r))}return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i<t;i++)n[i>>>2]|=(255&e.charCodeAt(i))<<24-i%4*8;return new u.init(n,t)}},m=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(p.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return p.parse(unescape(encodeURIComponent(e)))}},g=t.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=m.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(e){var t,n=this._data,i=n.words,a=n.sigBytes,r=this.blockSize,o=a/(4*r),s=( 7o=e?d.ceil(o):d.max((0|o)-this._minBufferSize,0))*r,l=d.min(4*s,a);if(s){for(var c=0;c<s;c+=r)this._doProcessBlock(i,c);t=i.splice(0,s),n.sigBytes-=l}return new u.init(t,l)},clone:function(){var e=o.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),t.Hasher=g.extend({cfg:o.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){g.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(n){return function(e,t){return new n.init(t).finalize(e)}},_createHmacHelper:function(n){return function(e,t){return new b.HMAC.init(n,t).finalize(e)}}}),b=e.algo={},e);return v=Ue.lib.WordArray,Ue.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,i=this._map;e.clamp();for(var a=[],r=0;r<n;r+=3)for(var o=(t[r>>>2]>>>24-r%4*8&255)<<16|(t[r+1>>>2]>>>24-(r+1)%4*8&255)<<8|t[r+2>>>2]>>>24-(r+2)%4*8&255,s=0;s<4&&r+.75*s<n;s++)a.push(i.charAt(o>>>6*(3-s)&63));var l=i.charAt(64);if(l)for(;a.length%4;)a.push(l);return a.join("")},parse:function(e){var t=e.length,n=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var a=0;a<n.length;a++)i[n.charCodeAt(a)]=a}var r=n.charAt(64);if(r){var o=e.indexOf(r);-1!==o&&(t=o)}return function(e,t,n){for(var i=[],a=0,r=0;r<t;r++)if(r%4){var o=n[e.charCodeAt(r-1)]<<r%4*2|n[e.charCodeAt(r)]>>>6-r%4*2;i[a>>>2]|=o<<24-a%4*8,a++}return v.create(i,a)}(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},function(d){function M(e,t,n,i,a,r,o){var s=e+(t&n|~t&i)+a+o;return(s<<r|s>>>32-r)+t}function T(e,t,n,i,a,r,o){var s=e+(t&i|n&~i)+a+o;return(s<<r|s>>>32-r)+t}function P(e,t,n,i,a,r,o){var s=e+(t^n^i)+a+o;return(s<<r|s>>>32-r)+t}function D(e,t,n,i,a,r,o){var s=e+(n^(t|~i))+a+o;return(s<<r|s>>>32-r)+t}var e=Ue,t=e.lib,n=t.WordArray,i=t.Hasher,a=e.algo,j=[];!function(){for(var e=0;e<64;e++)j[e]=4294967296*d.abs(d.sin(e+1))|0}();var r=a.MD5=i.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var i=t+n,a=e[i];e[i]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}
7var r=this._hash.words,o=e[t+0],s=e[t+1],l=e[t+2],c=e[t+3],d=e[t+4],u=e[t+5],f=e[t+6],h=e[t+7],p=e[t+8],m=e[t+9],g=e[t+10],b=e[t+11],v=e[t+12],y=e[t+13],x=e[t+14],k=e[t+15],S=r[0],w=r[1],_=r[2],C=r[3];w=D(w=D(w=D(w=D(w=P(w=P(w=P(w=T(w=T(w=T(w=M(w=M(w=M(w,_=M(_,C=M(C,S=M(S,w,_,C,o,7,j[0]),w,_,s,12,j[1]),S,w,l,17,j[2]),C,S,c,22,j[3]),_=M(_,C=M(C,S=M(S,w,_,C,d,7,j[4]),w,_,u,12,j[5]),S,w,f,17,j[6]),C,S,h,22,j[7]),_=M(_,C=M(C,S=M(S,w,_,C,p,7,j[8]),w,_,m,12,j[9]),S,w,g,17,j[10]),C,S,b,22,j[11]),_=T(_=M(_,C=M(C,S=M(S,w,_,C,v,7,j[12]),w,_,y,12,j[13]),S,w,x,17,j[14]),C=T(C,S=T(S,w=M(w,_,C,S,k,22,j[15]),_,C,s,5,j[16]),w,_,f,9,j[17]),S,w,b,14,j[18]),C,S,o,20,j[19]),_=T(_,C=T(C,S=T(S,w,_,C,u,5,j[20]),w,_,g,9,j[21]),S,w,k,14,j[22]),C,S,d,20,j[23]),_=T(_,C=T(C,S=T(S,w,_,C,m,5,j[24]),w,_,x,9,j[25]),S,w,c,14,j[26]),C,S,p,20,j[27]),_=P(_=T(_,C=T(C,S=T(S,w,_,C,y,5,j[28]),w,_,l,9,j[29]),S,w,h,14,j[30]),C=P(C,S=P(S,w=T(w,_,C,S,v,20,j[31]),_,C,u,4,j[32]),w,_,p,11,j[33]),S,w,b,16,j[34]),C,S,x,23,j[35]),_=P(_,C=P(C,S=P(S,w,_,C,s,4,j[36]),w,_,d,11,j[37]),S,w,h,16,j[38]),C,S,g,23,j[39]),_=P(_,C=P(C,S=P(S,w,_,C,y,4,j[40]),w,_,o,11,j[41]),S,w,c,16,j[42]),C,S,f,23,j[43]),_=D(_
vendor: 8,032 bytes, line 7
7=P(_,C=P(C,S=P(S,w,_,C,m,4,j[44]),w,_,v,11,j[45]),S,w,k,16,j[46]),C=D(C,S=D(S,w=P(w,_,C,S,l,23,j[47]),_,C,o,6,j[48]),w,_,h,10,j[49]),S,w,x,15,j[50]),C,S,u,21,j[51]),_=D(_,C=D(C,S=D(S,w,_,C,v,6,j[52]),w,_,c,10,j[53]),S,w,g,15,j[54]),C,S,s,21,j[55]),_=D(_,C=D(C,S=D(S,w,_,C,p,6,j[56]),w,_,k,10,j[57]),S,w,f,15,j[58]),C,S,y,21,j[59]),_=D(_,C=D(C,S=D(S,w,_,C,d,6,j[60]),w,_,b,10,j[61]),S,w,l,15,j[62]),C,S,m,21,j[63]),r[0]=r[0]+S|0,r[1]=r[1]+w|0,r[2]=r[2]+_|0,r[3]=r[3]+C|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;t[i>>>5]|=128<<24-i%32;var a=d.floor(n/4294967296),r=n;t[15+(64+i>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t[14+(64+i>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),e.sigBytes=4*(t.length+1),this._process();for(var o=this._hash,s=o.words,l=0;l<4;l++){var c=s[l];s[l]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}return o},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});e.MD5=i._createHelper(r),e.HmacMD5=i._createHmacHelper(r)}(Math),x=(y=Ue).lib,k=x.WordArray,S=x.Hasher,D=y.algo,j=[],A=D.SHA1=S.extend({_doReset:function(){this._hash=new k.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,i=n[0],a=n[1],r=n[2],o=n[3],s=n[4],l=0;l<80;l++){if(l<16)j[l]=0|e[t+l];else{var c=j[l-3]^j[l-8]^j[l-14]^j[l-16];j[l]=c<<1|c>>>31}var d=(i<<5|i>>>27)+s+j[l];d+=l<20?1518500249+(a&r|~a&o):l<40?1859775393+(a^r^o):l<60?(a&r|a&o|r&o)-1894007588:(a^r^o)-899497514,s=o,o=r,r=a<<30|a>>>2,a=i,i=d}n[0]=n[0]+i|0,n[1]=n[1]+a|0,n[2]=n[2]+r|0,n[3]=n[3]+o|0,n[4]=n[4]+s|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return t[i>>>5]|=128<<24-i%32,t[14+(64+i>>>9<<4)]=Math.floor(n/4294967296),t[15+(64+i>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=S.clone.call(this);return e._hash=this._hash.clone(),e}}),y.SHA1=S._createHelper(A),y.HmacSHA1=S._createHmacHelper(A),function(a){var e=Ue,t=e.lib,n=t.WordArray,i=t.Hasher,r=e.algo,o=[],y=[];!function(){function e(e){for(var t=a.sqrt(e),n=2;n<=t;n++)if(!(e%n))return;return 1}function t(e){return 4294967296*(e-(0|e))|0}for(var n=2,i=0;i<64;)e(n)&&(i<8&&(o[i]=t(a.pow(n,.5))),y[i]=t(a.pow(n,1/3)),i++),n++}();var x=[],s=r.SHA256=i.extend({_doReset:function(){this._hash=new n.init(o.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,i=n[0],a=n[1],r=n[2],o=n[3],s=n[4],l=n[5],c=n[6],d=n[7],u=0;u<64;u++){if(u<16)x[u]=0|e[t+u];else{var f=x[u-15],h=(f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3,p=x[u-2],m=(p<<15|p>>>17)^(p<<13|p>>>19)^p>>>10;x[u]=h+x[u-7]+m+x[u-16]}var g=i&a^i&r^a&r,b=(i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22),v=d+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&l^~s&c)+y[u]+x[u];d=c,c=l,l=s,s=o+v|0,o=r,r=a,a=i,i=v+(b+g)|0}n[0]=n[0]+i|0,n[1]=n[1]+a|0,n[2]=n[2]+r|0,n[3]=n[3]+o|0,n[4]=n[4]+s|0,n[5]=n[5]+l|0,n[6]=n[6]+c|0,n[7]=n[7]+d|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return t[i>>>5]|=128<<24-i%32,t[14+(64+i>>>9<<4)]=a.floor(n/4294967296),t[15+(64+i>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});e.SHA256=i._createHelper(s),e.HmacSHA256=i._createHmacHelper(s)}(Math),function(){function o(e){return e<<8&4278255360|e>>>8&16711935}var a=Ue.lib.WordArray,e=Ue.enc;e.Utf16=e.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],a=0;a<n;a+=2){var r=t[a>>>2]>>>16-a%4*8&65535;i.push(String.fromCharCode(r))}return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i<t;i++)n[i>>>1]|=e.charCodeAt(i)<<16-i%2*16;return a.create(n,2*t)}},e.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],a=0;a<n;a+=2){var r=o(t[a>>>2]>>>16-a%4*8&65535);i.push(String.fromCharCode(r))}return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i<t;i++)n[i>>>1]|=o(e.charCodeAt(i)<<16-i%2*16);return a.create(n,2*t)}}}(),function(){if("function"==typeof ArrayBuffer){var e=Ue.lib.WordArray,a=e.init;(e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,n=[],i=0;i<t;i++)n[i>>>2]|=e[i]<<24-i%4*8;a.call(this,n,t)}else a.apply(this,arguments)}).prototype=e}}(),Math,O=(E=Ue).lib,F=O.WordArray,I=O.Hasher,B=E.algo,R=F.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),L=F.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),$=F.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),z=F.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),N=F.create([0,1518500249,1859775393,2400959708,2840853838]),H=F.create([1352829926,1548603684,1836072691,2053994217,0]),W=B.RIPEMD160=I.extend({_doReset:function(){this._hash=F.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var i=t+n,a=e[i];e[i]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}var r,o,s,l,c,d,u,f,h,p,m,g=this._hash.words,b=N.words,v=H.words,y=R.words,x=L.words,k=$.words,S=z.words;for(d=r=g[0],u=o=g[1],f=s=g[2],h=l=g[3],p=c=g[4],n=0;n<80;n+=1)m=r+e[t+y[n]]|0,m+=n<16?w(o,s,l)+b[0]:n<32?_(o,s,l)+b[1]:n<48?C(o,s,l)+b[2]:n<64?M(o,s,l)+b[3]:T(o,s,l)+b[4],m=(m=P(m|=0,k[n]))+c|0,r=c,c=l,l=P(s,10),s=o,o=m,m=d+e[t+x[n]]|0,m+=n<16?T(u,f,h)+v[0]:n<32?M(u,f,h)+v[1]:n<48?C(u,f,h)+v[2]:n<64?_(u,f,h)+v[3]:w(u,f,h)+v[4],m=(m=P(m|=0,S[n]))+p|0,d=p,p=h,h=P(f,10),f=u,u=m;m=g[1]+s+h|0,g[1]=g[2]+l+p|0,g[2]=g[3]+c+d|0,g[3]=g[4]+r+u|0,g[4]=g[0]+o+f|0,g[0]=m},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;t[i>>>5]|=128<<24-i%32,t[14+(64+i>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var a=this._hash,r=a.words,o=0;o<5;o++){var s=r[o];r[o]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return a},clone:function(){var e=I.clone.call(this);return e._hash=this._hash.clone(),e}}),E.RIPEMD160=I._createHelper(W),E.HmacRIPEMD160=I._createHmacHelper(W),q=Ue.lib.Base,V=Ue.enc.Utf8,Ue.algo.HMAC=q.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=V.parse(t));var n=e.blockSize,i=4*n;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var a=this._oKey=t.clone(),r=this._iKey=t.clone(),o=a.words,s=r.words,l=0;l<n;l++)o[l]^=1549556828,s[l]^=909522486;a.sigBytes=r.sigBytes=i,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(n))}}),Y=(U=(G=Ue).lib).Base,J=U.WordArray,Q=(X=G.algo).SHA1,K=X.HMAC,Z=X.PBKDF2=Y.extend({cfg:Y.extend({keySize:4,hasher:Q,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,i=K.create(n.hasher,e),a=J.create(),r=J.create([1]),o=a.words,s=r.words,l=n.keySize,c=n.iterations;o.length<l;){var d=i.update(t).finalize(r);i.reset();for(var u=d.words,f=u.length,h=d,p=1;p<c;p++){h=i.finalize(h),i.reset();for(var m=h.words,g=0;g<f;g++)u[g]^=m[g]}a.concat(d),s[0]++}
vendor: 4,982 bytes, line 7
7return a.sigBytes=4*l,a}}),G.PBKDF2=function(e,t,n){return Z.create(n).compute(e,t)},ne=(te=(ee=Ue).lib).Base,ie=te.WordArray,re=(ae=ee.algo).MD5,oe=ae.EvpKDF=ne.extend({cfg:ne.extend({keySize:4,hasher:re,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n,i=this.cfg,a=i.hasher.create(),r=ie.create(),o=r.words,s=i.keySize,l=i.iterations;o.length<s;){n&&a.update(n),n=a.update(e).finalize(t),a.reset();for(var c=1;c<l;c++)n=a.finalize(n),a.reset();r.concat(n)}return r.sigBytes=4*s,r}}),ee.EvpKDF=function(e,t,n){return oe.create(n).compute(e,t)},le=(se=Ue).lib.WordArray,ce=se.algo,de=ce.SHA256,ue=ce.SHA224=de.extend({_doReset:function(){this._hash=new le.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=de._doFinalize.call(this);return e.sigBytes-=4,e}}),se.SHA224=de._createHelper(ue),se.HmacSHA224=de._createHmacHelper(ue),fe=Ue.lib,he=fe.Base,pe=fe.WordArray,(me=Ue.x64={}).Word=he.extend({init:function(e,t){this.high=e,this.low=t}}),me.WordArray=he.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:8*e.length},toX32:function(){for(var e=this.words,t=e.length,n=[],i=0;i<t;i++){var a=e[i];n.push(a.high),n.push(a.low)}return pe.create(n,this.sigBytes)},clone:function(){for(var e=he.clone.call(this),t=e.words=this.words.slice(0),n=t.length,i=0;i<n;i++)t[i]=t[i].clone();return e}}),function(f){var e=Ue,t=e.lib,h=t.WordArray,i=t.Hasher,d=e.x64.Word,n=e.algo,D=[],j=[],A=[];!function(){for(var e=1,t=0,n=0;n<24;n++){D[e+5*t]=(n+1)*(n+2)/2%64;var i=(2*e+3*t)%5;e=t%5,t=i}for(e=0;e<5;e++)for(t=0;t<5;t++)j[e+5*t]=t+(2*e+3*t)%5*5;for(var a=1,r=0;r<24;r++){for(var o=0,s=0,l=0;l<7;l++){if(1&a){var c=(1<<l)-1;c<32?s^=1<<c:o^=1<<c-32}128&a?a=a<<1^113:a<<=1}A[r]=d.create(o,s)}}();var E=[];!function(){for(var e=0;e<25;e++)E[e]=d.create()}();var a=n.SHA3=i.extend({cfg:i.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new d.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var n=this._state,i=this.blockSize/2,a=0;a<i;a++){var r=e[t+2*a],o=e[t+2*a+1];r=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),(_=n[a]).high^=o,_.low^=r}for(var s=0;s<24;s++){for(var l=0;l<5;l++){for(var c=0,d=0,u=0;u<5;u++)c^=(_=n[l+5*u]).high,d^=_.low;var f=E[l];f.high=c,f.low=d}for(l=0;l<5;l++){var h=E[(l+4)%5],p=E[(l+1)%5],m=p.high,g=p.low;for(c=h.high^(m<<1|g>>>31),d=h.low^(g<<1|m>>>31),u=0;u<5;u++)(_=n[l+5*u]).high^=c,_.low^=d}for(var b=1;b<25;b++){var v=(_=n[b]).high,y=_.low,x=D[b];d=x<32?(c=v<<x|y>>>32-x,y<<x|v>>>32-x):(c=y<<x-32|v>>>64-x,v<<x-32|y>>>64-x);var k=E[j[b]];k.high=c,k.low=d}var S=E[0],w=n[0];for(S.high=w.high,S.low=w.low,l=0;l<5;l++)for(u=0;u<5;u++){var _=n[b=l+5*u],C=E[b],M=E[(l+1)%5+5*u],T=E[(l+2)%5+5*u];_.high=C.high^~M.high&T.high,_.low=C.low^~M.low&T.low}_=n[0];var P=A[s];_.high^=P.high,_.low^=P.low}},_doFinalize:function(){var e=this._data,t=e.words,n=(this._nDataBytes,8*e.sigBytes),i=32*this.blockSize;t[n>>>5]|=1<<24-n%32,t[(f.ceil((1+n)/i)*i>>>5)-1]|=128,e.sigBytes=4*t.length,this._process();for(var a=this._state,r=this.cfg.outputLength/8,o=r/8,s=[],l=0;l<o;l++){var c=a[l],d=c.high,u=c.low;d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),u=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),s.push(u),s.push(d)}return new h.init(s,r)},clone:function(){for(var e=i.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});e.SHA3=i._createHelper(a),e.HmacSHA3=i._createHmacHelper(a)}(Math),function(){function t(){return a.create.apply(a,arguments)}var e=Ue,n=e.lib.Hasher,i=e.x64,a=i.Word,r=i.WordArray,o=e.algo,we=[t(1116352408,3609767458),t(1899447441,602891725),t(3049323471,3964484399),t(3921009573,2173295548),t(961987163,4081628472),t(1508970993,3053834265),t(2453635748,2937671579),t(2870763221,3664609560),t(3624381080,2734883394),t(310598401,1164996542),t(607225278,1323610764),t(1426881987,3590304994),t(1925078388,4068182383),t(2162078206,991336113),t(2614888103,633803317),t(3248222580,3479774868),t(3835390401,2666613458),t(4022224774,944711139),t(264347078,2341262773),t(604807628,2007800933),t(770255983,1495990901),t(1249150122,1856431235),t(1555081692,3175218132),t(1996064986,2198950837),t(2554220882,3999719339),t(2821834349,766784016),t(2952996808,2566594879),t(3210313671,3203337956),t(3336571891,1034457026),t(3584528711,2466948901),t(113926993,3758326383),t(338241895,168717936),t(666307205,1188179964),t(773529912,1546045734),t(1294757372,1522805485),t(1396182291,2643833823),t(1695183700,2343527390),t(1986661051,1014477480),t(2177026350,1206759142),t(2456956037,344077627),t(2730485921,1290863460),t(2820302411,3158454273),t(3259730800,3505952657),t(3345764771,106217008),t(3516065817,3606008344),t(3600352804,1432725776),t(4094571909,1467031594),t(275423344,851169720),t(430227734,3100823752),t(506948616,1363258195),t(659060
vendor: 11,930 bytes, line 7
7556,3750685593),t(883997877,3785050280),t(958139571,3318307427),t(1322822218,3812723403),t(1537002063,2003034995),t(1747873779,3602036899),t(1955562222,1575990012),t(2024104815,1125592928),t(2227730452,2716904306),t(2361852424,442776044),t(2428436474,593698344),t(2756734187,3733110249),t(3204031479,2999351573),t(3329325298,3815920427),t(3391569614,3928383900),t(3515267271,566280711),t(3940187606,3454069534),t(4118630271,4000239992),t(116418474,1914138554),t(174292421,2731055270),t(289380356,3203993006),t(460393269,320620315),t(685471733,587496836),t(852142971,1086792851),t(1017036298,365543100),t(1126000580,2618297676),t(1288033470,3409855158),t(1501505948,4234509866),t(1607167915,987167468),t(1816402316,1246189591)],_e=[];!function(){for(var e=0;e<80;e++)_e[e]=t()}();var s=o.SHA512=n.extend({_doReset:function(){this._hash=new r.init([new a.init(1779033703,4089235720),new a.init(3144134277,2227873595),new a.init(1013904242,4271175723),new a.init(2773480762,1595750129),new a.init(1359893119,2917565137),new a.init(2600822924,725511199),new a.init(528734635,4215389547),new a.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,i=n[0],a=n[1],r=n[2],o=n[3],s=n[4],l=n[5],c=n[6],d=n[7],u=i.high,f=i.low,h=a.high,p=a.low,m=r.high,g=r.low,b=o.high,v=o.low,y=s.high,x=s.low,k=l.high,S=l.low,w=c.high,_=c.low,C=d.high,M=d.low,T=u,P=f,D=h,j=p,A=m,E=g,O=b,F=v,I=y,B=x,R=k,L=S,$=w,z=_,N=C,H=M,W=0;W<80;W++){var q,V,G=_e[W];if(W<16)V=G.high=0|e[t+2*W],q=G.low=0|e[t+2*W+1];else{var U=_e[W-15],Y=U.high,J=U.low,X=(Y>>>1|J<<31)^(Y>>>8|J<<24)^Y>>>7,Q=(J>>>1|Y<<31)^(J>>>8|Y<<24)^(J>>>7|Y<<25),K=_e[W-2],Z=K.high,ee=K.low,te=(Z>>>19|ee<<13)^(Z<<3|ee>>>29)^Z>>>6,ne=(ee>>>19|Z<<13)^(ee<<3|Z>>>29)^(ee>>>6|Z<<26),ie=_e[W-7],ae=ie.high,re=ie.low,oe=_e[W-16],se=oe.high,le=oe.low;V=(V=(V=X+ae+((q=Q+re)>>>0<Q>>>0?1:0))+te+((q+=ne)>>>0<ne>>>0?1:0))+se+((q+=le)>>>0<le>>>0?1:0),G.high=V,G.low=q}var ce,de=I&R^~I&$,ue=B&L^~B&z,fe=T&D^T&A^D&A,he=P&j^P&E^j&E,pe=(T>>>28|P<<4)^(T<<30|P>>>2)^(T<<25|P>>>7),me=(P>>>28|T<<4)^(P<<30|T>>>2)^(P<<25|T>>>7),ge=(I>>>14|B<<18)^(I>>>18|B<<14)^(I<<23|B>>>9),be=(B>>>14|I<<18)^(B>>>18|I<<14)^(B<<23|I>>>9),ve=we[W],ye=ve.high,xe=ve.low,ke=N+ge+((ce=H+be)>>>0<H>>>0?1:0),Se=me+he;N=$,H=z,$=R,z=L,R=I,L=B,I=O+(ke=(ke=(ke=ke+de+((ce+=ue)>>>0<ue>>>0?1:0))+ye+((ce+=xe)>>>0<xe>>>0?1:0))+V+((ce+=q)>>>0<q>>>0?1:0))+((B=F+ce|0)>>>0<F>>>0?1:0)|0,O=A,F=E,A=D,E=j,D=T,j=P,T=ke+(pe+fe+(Se>>>0<me>>>0?1:0))+((P=ce+Se|0)>>>0<ce>>>0?1:0)|0}f=i.low=f+P,i.high=u+T+(f>>>0<P>>>0?1:0),p=a.low=p+j,a.high=h+D+(p>>>0<j>>>0?1:0),g=r.low=g+E,r.high=m+A+(g>>>0<E>>>0?1:0),v=o.low=v+F,o.high=b+O+(v>>>0<F>>>0?1:0),x=s.low=x+B,s.high=y+I+(x>>>0<B>>>0?1:0),S=l.low=S+L,l.high=k+R+(S>>>0<L>>>0?1:0),_=c.low=_+z,c.high=w+$+(_>>>0<z>>>0?1:0),M=d.low=M+H,d.high=C+N+(M>>>0<H>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return t[i>>>5]|=128<<24-i%32,t[30+(128+i>>>10<<5)]=Math.floor(n/4294967296),t[31+(128+i>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=n._createHelper(s),e.HmacSHA512=n._createHmacHelper(s)}(),be=(ge=Ue).x64,ve=be.Word,ye=be.WordArray,xe=ge.algo,ke=xe.SHA512,Se=xe.SHA384=ke.extend({_doReset:function(){this._hash=new ye.init([new ve.init(3418070365,3238371032),new ve.init(1654270250,914150663),new ve.init(2438529370,812702999),new ve.init(355462360,4144912697),new ve.init(1731405415,4290775857),new ve.init(2394180231,1750603025),new ve.init(3675008525,1694076839),new ve.init(1203062813,3204075428)])},_doFinalize:function(){var e=ke._doFinalize.call(this);return e.sigBytes-=16,e}}),ge.SHA384=ke._createHelper(Se),ge.HmacSHA384=ke._createHmacHelper(Se),Ue.lib.Cipher||function(){function a(e){return"string"==typeof e?x:v}function r(e,t,n){var i,a=this._iv;a?(i=a,this._iv=void 0):i=this._prevBlock;for(var r=0;r<n;r++)e[t+r]^=i[r]}var e=Ue,t=e.lib,n=t.Base,l=t.WordArray,i=t.BufferedBlockAlgorithm,o=e.enc,s=(o.Utf8,o.Base64),c=e.algo.EvpKDF,d=t.Cipher=i.extend({cfg:n.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){i.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(i){return{encrypt:function(e,t,n){return a(t).encrypt(i,e,t,n)},decrypt:function(e,t,n){return a(t).decrypt(i,e,t,n)}}}});t.StreamCipher=d.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var u,f=e.mode={},h=t.BlockCipherMode=n.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),p=f.CBC=((u=h.extend()).Encryptor=u.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize;r.call(this,e,t,i),n.encryptBlock(e,t),this._prevBlock=e.slice(t,t+i)}}),u.Decryptor=u.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,a=e.slice(t,t+i);n.decryptBlock(e,t),r.call(this,e,t,i),this._prevBlock=a}}),u),m=(e.pad={}).Pkcs7={pad:function(e,t){for(var n=4*t,i=n-e.sigBytes%n,a=i<<24|i<<16|i<<8|i,r=[],o=0;o<i;o+=4)r.push(a);var s=l.create(r,i);e.concat(s)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},g=(t.BlockCipher=d.extend({cfg:d.cfg.extend({mode:p,padding:m}),reset:function(){var e;d.reset.call(this);var t=this.cfg,n=t.iv,i=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=i.createEncryptor:(e=i.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(i,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),t.CipherParams=n.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),b=(e.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;return(n?l.create([1398893684,1701076831]).concat(n).concat(t):t).toString(s)},parse:function(e){var t,n=s.parse(e),i=n.words;return 1398893684==i[0]&&1701076831==i[1]&&(t=l.create(i.slice(2,4)),i.splice(0,4),n.sigBytes-=16),g.create({ciphertext:n,salt:t})}},v=t.SerializableCipher=n.extend({cfg:n.extend({format:b}),encrypt:function(e,t,n,i){i=this.cfg.extend(i);var a=e.createEncryptor(n,i),r=a.finalize(t),o=a.cfg;return g.create({ciphertext:r,key:n,iv:o.iv,algorithm:e,mode:o.mode,padding:o.padding,blockSize:e.blockSize,formatter:i.format})},decrypt:function(e,t,n,i){return i=this.cfg.extend(i),t=this._parse(t,i.format),e.createDecryptor(n,i).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),y=(e.kdf={}).OpenSSL={execute:function(e,t,n,i){i=i||l.random(8);var a=c.create({keySize:t+n}).compute(e,i),r=l.create(a.words.slice(t),4*n);return a.sigBytes=4*t,g.create({key:a,iv:r,salt:i})}},x=t.PasswordBasedCipher=v.extend({cfg:v.cfg.extend({kdf:y}),encrypt:function(e,t,n,i){var a=(i=this.cfg.extend(i)).kdf.execute(n,e.keySize,e.ivSize);i.iv=a.iv;var r=v.encrypt.call(this,e,t,a.key,i);return r.mixIn(a),r},decrypt:function(e,t,n,i){i=this.cfg.extend(i),t=this._parse(t,i.format);var a=i.kdf.execute(n,e.keySize,e.ivSize,t.salt);return i.iv=a.iv,v.decrypt.call(this,e,t,a.key,i)}})}(),Ue.mode.CFB=((we=Ue.lib.BlockCipherMode.extend()).Encryptor=we.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize;r.call(this,e,t,i,n),this._prevBlock=e.slice(t,t+i)}}),we.Decryptor=we.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,a=e.slice(t,t+i);r.call(this,e,t,i,n),this._prevBlock=a}}),we),Ue.mode.ECB=((_e=Ue.lib.BlockCipherMode.extend()).Encryptor=_e.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),_e.Decryptor=_e.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),_e),Ue.pad.AnsiX923={pad:function(e,t){var n=e.sigBytes,i=4*t,a=i-n%i,r=n+a-1;e.clamp(),e.words[r>>>2]|=a<<24-r%4*8,e.sigBytes+=a},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},Ue.pad.Iso10126={pad:function(e,t){var n=4*t,i=n-e.sigBytes%n;e.concat(Ue.lib.WordArray.random(i-1)).concat(Ue.lib.WordArray.create([i<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},Ue.pad.Iso97971={pad:function(e,t){e.concat(Ue.lib.WordArray.create([2147483648],1)),Ue.pad.ZeroPadding.pad(e,t)},unpad:function(e){Ue.pad.ZeroPadding.unpad(e),e.sigBytes--}},Ue.mode.OFB=(Me=(Ce=Ue.lib.BlockCipherMode.extend()).Encryptor=Ce.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,a=this._iv,r=this._keystream;a&&(r=this._keystream=a.slice(0),this._iv=void 0),n.encryptBlock(r,0);for(var o=0;o<i;o++)e[t+o]^=r[o]}}),Ce.Decryptor=Me,Ce),Ue.pad.NoPadding={pad:function(){},unpad:function(){}},Te=Ue.lib.CipherParams,Pe=Ue.enc.Hex,Ue.format.Hex={stringify:function(e){return e.ciphertext.toString(Pe)},parse:function(e){var t=Pe.parse(e);return Te.create({ciphertext:t})}},function(){var e=Ue,t=e.lib.BlockCipher,n=e.algo,c=[],d=[],u=[],f=[],h=[],p=[],m=[],g=[],b=[],v=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,i=0;for(t=0;t<256;t++){var a=i^i<<1^i<<2^i<<3^i<<4;a=a>>>8^255&a^99,c[n]=a;var r=e[d[a]=n],o=e[r],s=e[o],l=257*e[a]^16843008*a;u[n]=l<<24|l>>>8,f[n]=l<<16|l>>>16,h[n]=l<<8|l>>>24,p[n]=l,l=16843009*s^65537*o^257*r^16843008*n,m[a]=l<<24|l>>>8,g[a]=l<<16|l>>>16,b[a]=l<<8|l>>>24,v[a]=l,n?(n=r^e[e[e[s^r]]],i^=e[e[i]]):n=i=1}}();var y=[0,1,2,4,8,16,32,64,128,27,54],i=n.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,i=4*(1+(this._nRounds=6+n)),a=this._keySchedule=[],r=0;r<i;r++)r<n?a[r]=t[r]:(l=a[r-1],r%n?6<n&&r%n==4&&(l=c[l>>>24]<<24|c[l>>>16&255]<<16|c[l>>>8&255]<<8|c[255&l]):(l=c[(l=l<<8|l>>>24)>>>24]<<24|c[l>>>16&255]<<16|c[l>>>8&255]<<8|c[255&l],l^=y[r/n|0]<<24),a[r]=a[r-n]^l);for(var o=this._invKeySchedule=[],s=0;s<i;s++){if(r=i-s,s%4)var l=a[r];else l=a[r-4];o[s]=s<4||r<=4?l:m[c[l>>>24]]^g[c[l>>>16&255]]^b[c[l>>>8&255]]^v[c[255&l]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,u,f,h,p,c)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,m,g,b,v,d),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,i,a,r,o,s){for(var l=this._nRounds,c=e[t]^n[0],d=e[t+1]^n[1],u=e[t+2]^n[2],f=e[t+3]^n[3],h=4,p=1;p<l;p++){var m=i[c>>>24]^a[d>>>16&255]^r[u>>>8&255]^o[255&f]^n[h++],g=i[d>>>24]^a[u>>>16&255]^r[f>>>8&255]^o[255&c]^n[h++],b=i[u>>>24]^a[f>>>16&255]^r[c>>>8&255]^o[255&d]^n[h++],v=i[f>>>24]^a[c>>>16&255]^r[d>>>8&255]^o[255&u]^n[h++];c=m,d=g,u=b,f=v}m=(s[c>>>24]<<24|s[d>>>16&255]<<16|s[u>>>8&255]<<8|s[255&f])^n[h++],g=(s[d>>>24]<<24|s[u>>>16&255]<<16|s[f>>>8&255]<<8|s[255&c])^n[h++],b=(s[u>>>24]<<24|s[f>>>16&255]<<16|s[c>>>8&255]<<8|s[255&d])^n[h++],v=(s[f>>>24]<<24|s[c>>>16&255]<<16|s[d>>>8&255]<<8|s[255&u])^n[h++],e[t]=m,e[t+1]=g,e[t+2]=b,e[t+3]=v},keySize:8});e.AES=t._createHelper(i)}(),function(){function d(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<<e}function u(e,t){var n=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<<e}var e=Ue,t=e.lib,a=t.WordArray,n=t.BlockCipher,i=e.algo,c=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],f=[
714,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],h=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],p=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,
71933312:2151682048,1998848:4194304,2064384:4198464},{0:128, 84096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,
vendor: 5,451 bytes, line 8
8144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],m=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],r=i.DES=n.extend({_doReset:function(){for(var e=this._key.words,t=[],n=0;n<56;n++){var i=c[n]-1;t[n]=e[i>>>5]>>>31-i%32&1}for(var a=this._subKeys=[],r=0;r<16;r++){var o=a[r]=[],s=h[r];for(n=0;n<24;n++)o[n/6|0]|=t[(f[n]-1+s)%28]<<31-n%6,o[4+(n/6|0)]|=t[28+(f[n+24]-1+s)%28]<<31-n%6;for(o[0]=o[0]<<1|o[0]>>>31,n=1;n<7;n++)o[n]=o[n]>>>4*(n-1)+3;o[7]=o[7]<<5|o[7]>>>27}var l=this._invSubKeys=[];for(n=0;n<16;n++)l[n]=a[15-n]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],d.call(this,4,252645135),d.call(this,16,65535),u.call(this,2,858993459),u.call(this,8,16711935),d.call(this,1,1431655765);for(var i=0;i<16;i++){for(var a=n[i],r=this._lBlock,o=this._rBlock,s=0,l=0;l<8;l++)s|=p[l][((o^a[l])&m[l])>>>0];this._lBlock=o,this._rBlock=r^s}var c=this._lBlock;this._lBlock=this._rBlock,this._rBlock=c,d.call(this,1,1431655765),u.call(this,8,16711935),u.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});e.DES=n._createHelper(r);var o=i.TripleDES=n.extend({_doReset:function(){var e=this._key.words;if(2!==e.length&&4!==e.length&&e.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var t=e.slice(0,2),n=e.length<4?e.slice(0,2):e.slice(2,4),i=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=r.createEncryptor(a.create(t)),this._des2=r.createEncryptor(a.create(n)),this._des3=r.createEncryptor(a.create(i))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=n._createHelper(o)}(),function(){function n(){for(var e=this._S,t=this._i,n=this._j,i=0,a=0;a<4;a++){n=(n+e[t=(t+1)%256])%256;var r=e[t];e[t]=e[n],e[n]=r,i|=e[(e[t]+e[n])%256]<<24-8*a}return this._i=t,this._j=n,i}var e=Ue,t=e.lib.StreamCipher,i=e.algo,a=i.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,i=this._S=[],a=0;a<256;a++)i[a]=a;for(var r=a=0;a<256;a++){var o=a%n,s=t[o>>>2]>>>24-o%4*8&255;r=(r+i[a]+s)%256;var l=i[a];i[a]=i[r],i[r]=l}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=n.call(this)},keySize:8,ivSize:0});e.RC4=t._createHelper(a);var r=i.RC4Drop=a.extend({cfg:a.cfg.extend({drop:192}),_doReset:function(){a._doReset.call(this);for(var e=this.cfg.drop;0<e;e--)n.call(this)}});e.RC4Drop=t._createHelper(r)}(),Ue.mode.CTRGladman=(je=(De=Ue.lib.BlockCipherMode.extend()).Encryptor=De.extend({processBlock:function(e,t){var n,i=this._cipher,a=i.blockSize,r=this._iv,o=this._counter;r&&(o=this._counter=r.slice(0),this._iv=void 0),0===((n=o)[0]=c(n[0]))&&(n[1]=c(n[1]));var s=o.slice(0);i.encryptBlock(s,0);for(var l=0;l<a;l++)e[t+l]^=s[l]}}),De.Decryptor=je,De),Ee=(Ae=Ue).lib.StreamCipher,Oe=Ae.algo,Fe=[],Ie=[],Be=[],Re=Oe.Rabbit=Ee.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var i=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],a=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(n=this._b=0;n<4;n++)f.call(this);for(n=0;n<8;n++)a[n]^=i[n+4&7];if(t){var r=t.words,o=r[0],s=r[1],l=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=l>>>16|4294901760&c,u=c<<16|65535&l;for(a[0]^=l,a[1]^=d,a[2]^=c,a[3]^=u,a[4]^=l,a[5]^=d,a[6]^=c,a[7]^
8=u,n=0;n<4;n++)f.call(this)}},_doProcessBlock:function(e,t){var n=this._X;f.call(this),Fe[0]=n[0]^n[5]>>>16^n[3]<<16,Fe[1]=n[2]^n[7]>>>16^n[5]<<16,Fe[2]=n[4]^n[1]>>>16^n[7]<<16,Fe[3]=n[6]^n[3]>>>16^n[1]<<16;for(var i=0;i<4;i++)Fe[i]=16711935&(Fe[i]<<8|Fe[i]>>>24)|4278255360&(Fe[i]<<24|Fe[i]>>>8),e[t+i]^=Fe[i]},blockSize:4,ivSize:2}),Ae.Rabbit=Ee._createHelper(Re),Ue.mode.CTR=($e=(Le=Ue.lib.BlockCipherMode.extend()).Encryptor=Le.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,a=this._iv,r=this._counter;a&&(r=this._counter=a.slice(0),this._iv=void 0);var o=r.slice(0);n.encryptBlock(o,0),r[i-1]=r[i-1]+1|0;for(var s=0;s<i;s++)e[t+s]^=o[s]}}),Le.Decryptor=$e,Le),Ne=(ze=Ue).lib.StreamCipher,He=ze.algo,We=[],qe=[],Ve=[],Ge=He.RabbitLegacy=Ne.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]],a=this._b=0;a<4;a++)h.call(this);for(a=0;a<8;a++)i[a]^=n[a+4&7];if(t){var r=t.words,o=r[0],s=r[1],l=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=l>>>16|4294901760&c,u=c<<16|65535&l;for(i[0]^=l,i[1]^=d,i[2]^=c,i[3]^=u,i[4]^=l,i[5]^=d,i[6]^=c,i[7]^=u,a=0;a<4;a++)h.call(this)}},_doProcessBlock:function(e,t){var n=this._X;h.call(this),We[0]=n[0]^n[5]>>>16^n[3]<<16,We[1]=n[2]^n[7]>>>16^n[5]<<16,We[2]=n[4]^n[1]>>>16^n[7]<<16,We[3]=n[6]^n[3]>>>16^n[1]<<16;for(var i=0;i<4;i++)We[i]=16711935&(We[i]<<8|We[i]>>>24)|4278255360&(We[i]<<24|We[i]>>>8),e[t+i]^=We[i]},blockSize:4,ivSize:2}),ze.RabbitLegacy=Ne._createHelper(Ge),Ue.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;0<=n;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},Ue}),$(function(){SS_Kana.render(),SS_Translate.render(),SS_Font.render(),SS_AdobeReader.render(),SS_Mobile.render(),SS_Voice.render(),SS_Theme.render(),SS.renderAjaxBox(),SS.part=$(".ss-part").length,0===SS.part&&SS_Recommend.render(),$(".ss-part").each(function(){SS.renderPart($(this))}),SS.renderDateTimePicker(),SS_SearchUI.render()}),this.SS_Kana=function(){function i(){}return i.dir="/kana",i.siteUrl="/",i.kanaUrl="/kana/",i.render=function(){var e,t,n;return SS.config.site_url&&SS.config.kana_url&&(i.siteUrl=SS.config.site_url,i.kanaUrl=SS.config.kana_url),$("body").data("kana")?(t=i.url(location.pathname,!1),e="onclick=\"location.href='"+(t=SS_Translate.url(t))+"'; return false\"",n=$("#ss-kana").html(),$("#ss-kana").html('<a class="off" href="#'+t+'" '+e+">"+n+"</a>")):(t=SS_Translate.url(location.pathname,!1),e="onclick=\"location.href='"+(t=i.url(t,!0))+"'; return false\"",n=$("#ss-kana").html(),$("#ss-kana").html('<a class="on" href="#'+t+'" '+e+">"+n+"</a>"))},i.url=function(e,t){return null==t&&(t=null),null===t&&(t=$("body").data("kana")),e=t?e.replace(RegExp("^(\\/\\.s\\d+?\\/preview\\d*)?"+this.siteUrl),"$1"+this.kanaUrl):e.replace(RegExp("^(\\/\\.s\\d+?\\/preview\\d*)?"+this.kanaUrl),"$1"+this.siteUrl)},i.loadPage=function(n){return $.ajax({type:"GET",url:n.attr("href"),dataType:"html",success:function(e){var t;return(t=$("body")).data("kana",n.hasClass("on")),t.html(e.replace(/[\s\S]*<body.*?>([\s\S]*)<\/body>[\s\S]*/,"$1"))}}),!1},i}(),this.SS_Translate=function(){function e(){}return e.dir="/translate",e.siteUrl="/",e.translateUrl="/translate/",e.url=function(e,t){if(t){var n=this.translateUrl+t+"/";e=e.replace(RegExp("^(\\/\\.s\\d+?\\/preview\\d*)?"+this.siteUrl),"$1"+n)}else{n=this.translateUrl+$("body").data("translate")+"/";e=e.replace(RegExp("^(\\/\\.s\\d+?\\/preview\\d*)?"+n),"$1"+this.siteUrl)}return e},e.render=function(){SS.config.site_url&&SS.config.translate_url&&(e.siteUrl=SS.config.site_url,e.translateUrl=SS.config.translate_url)},e}(),this.SS_Theme=function(){function o(){}return o.render=function(){var e,t,n,i,a,r;if(0<$("#ss-theme").length){for(t in n="",a=SS.config.theme)r=a[t],(e=$("#ss-theme a."+t))&&($(e).attr("data-ss-theme",t),r.css_path&&$("head").append('<link rel="alternate stylesheet" type="text/css" title="'+r.name+'" href="'+r.css_path+'" class="ss-theme '+t+'" disabled />'),r.font_color&&r.background_color&&(n+=o.cssTemplate(t,r.font_color,r.background_color)+"\n"),r.default_theme&&($("#ss-theme a").removeClass("active"),e.addClass("active"),o.switchTheme(t)),e.on("click",function(){return t=$(this).data("ss-theme"),$("#ss-theme a").removeClass("active"),$(this).addClass("active"),Cookies.set("ss-theme",t,{expires:7,path:"/"}),o.switchTheme(t),!1}));return i=$('<style type="text/css" class="ss-theme">'+n+"</style>"),$("head").append(i),a[t=Cookies.get("ss-theme")]||(Cookies.remove("ss-theme"),t=null),t?($("#ss-theme a").removeClass("active"),$('#ss-theme a[data-ss-theme="'+t+'"]').addClass("active"),o.switchTheme(t)):void 0}},o.cssTemplate=function(e,t,n){return'body[data-ss-theme="'+e+'"] * {\n border-color: '+t+" !important;\n background: "+n+" !important;\n color: "+t+" !important;\n}"},o.switchTheme=function(e){$("head link.ss-theme").prop("disabled",!0),$("head link.ss-theme."+e).prop("disabled",!1),$("body").attr("data-ss-theme",""),$("body").attr("data-ss-theme",e)},o}(),this.SS_AdobeReader=function(){function e(){}return e.render=function(){if($("a[href$='.pdf']").length)return $("#ss-adobe-reader, .ss-ad
8obe-reader").each(function(){return $(this).html('<div>PDF\u30d5\u30a1\u30a4\u30eb\u3092\u3054\u89a7\u3044\u305f\u3060\u304f\u305f\u3081\u306b\u306f\u3001Adobe Reader\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\uff08\u7121\u511f\uff09\u304c\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u3002\u304a\u6301\u3061\u3067\u306a\u3044\u5834\u5408\u306f\u3001\u304a\u4f7f\u3044\u306e\u6a5f\u7a2e\u3068\u30b9\u30da\u30c3\u30af\u306b\u5408\u308f\u305b\u305f\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002</div><a href="http://get.adobe.com/jp/reader/">Adobe Reader\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b</a>').show()})},e}(),this.SS_Tabs=function(){function e(){}return e.render=function(f){var h,p;return h=$(f),p="",h.find(".tab").each(function(e){var t,n,i,a,r,o,s,l,c,d,u;return o=(l=$(this)).find("header > h2").html(),d=l.find("nav").find(".more").attr("href"),t=l.attr("data-class"),u=(n=l.attr("id"))+"-view",d||(d="#"+u),c="name",0===e&&(c="name current"),t&&(c=c+" "+t),p+="<a id='"+(s=n+"-name")+"' onclick='"+('return SS_Tabs.select("'+f+'", "#'+s+'", "#'+u+'")')+"' class='"+c+"' href='"+d+"'>"+o+"</a>",a="",0!==e&&(a="style='display: none;'"),i="view",t&&(i=i+" "+t),r="<article id='"+u+"' class='"+i+"' "+a+">",r+="<h2 style='display: none'>"+o+"</h2>",r+="<div class='pages'>"+l.find(".pages").html()+"</div>",r+="<nav>"+l.find("nav").html()+"</nav>",r+="</article>",h.append(r),l.remove()}),h.prepend("<nav class='names'>"+p+"</nav>")},e.select=function(e,t,n){return $(e).find(".name").each(function(){return $(this).removeClass("current")}),$(e).find(".view").each(function(){return $(this).hide()}),$(t).addClass("current"),$(n).show(),!1},e}(),this.SS_Voice=function(){function a(){}return a.voiceConfig={location:"/.voice","loading-resource":"/assets/voice/voice-loading.mp3","disabled-resource":"/assets/voice/voice-disabled.mp3","overload-resource":"/assets/voice/voice-overload.mp3"},a.url=null,a.$voiceTag=null,a.voiceController=null,a.state=null,a.cancelLoading=null,a.timerId=null,a.render=function(){a.url=a.requestUrl();var e=$("#ss-voice");if(0!==e.size()){1<e.size()&&(e=e.first());var t=$('<a rel="nofollow"/>').attr("href","#/voice/").html(e.html());e.html(""),t.appendTo(e),a.$voiceTag=t;var n=$("#ss-voice-controller");0===n.size()&&(e.after('<div id="ss-voice-controller" style="display: none;"/>'),n=$("#ss-voice-controller")),a.voiceController=new SS_VoiceController(n[0]),a.state=null,a.cancelLoading=!1,a.timerId=null,a.init(),n.find(".ss-jp-close").on("click",a.cancel)}},a.init=function(){return a.state="init",a.voiceController.stop(),a.setAction(a.load),a.cancelLoading=!1},a.setAction=function(e){a.$voiceTag.off("click"),a.$voiceTag.on("click",e)},a.load=function(e){return a.cancelLoading||$.ajax({type:"HEAD",url:a.url,cache:!1,statusCode:{200:function(){return a.playAudio()},202:function(e,t,n){var i;return a.renderLoading(),(i=n.getResponseHeader("Retry-After"))||(i=5),a.timerId=setTimeout(a.load,1e3*i)}},error:function(e){return a.renderError(e.status)}}),e.preventDefault(),!1},a.renderLoading=function(){var e;return"loading"===a.state||(e=a.voiceConfig["loading-resource"],a.state="loading",a.setAction(a.cancel),a.voiceController.play(e)),!1},a.renderError=function(e){var t;return"error"===a.state||(0<=a.timerId&&clearTimeout(a.timerId),a.timerId=-1,t=429===e?a.voiceConfig["overload-resource"]:a.voiceConfig["disabled-resource"],a.state="error",a.setAction(a.cancel),a.voiceController.play(t)),!1},a.cancel=function(e){return a.cancelLoading=!0,null!==a.timerId&&clearTimeout(a.timerId),a.timerId=null,a.init(),e.preventDefault(),!1},a.playAudio=function(){return a.state="playing",a.voiceController.play(a.url),a.setAction(a.cancel),!1},a.requestUrl=function(){var e,t;return"/"===(e=a.trimKanaDir(location.pathname))&&(e="/index.html"),t=encodeURIComponent(a.normalizeProtocol(location.protocol)+"://"+location.host+e),t=a.normalizeLocation(a.voiceConfig.location)+"/"+t},a.trimKanaDir=function(e,t){return null==t&&(t=SS_Kana.dir),e.replace(new RegExp("^"+t.replace("/","/")+"/"),"/")},a.normalizeProtocol=function(e){return e.replace(new RegExp(":$"),"")},a.normalizeLocation=function(e){return e.replace(new RegExp("/$"),"")},a}(),this.SS_VoiceController=function(){function e(e){this.status="stopped",this.container=$(e),this.initialized=!1,this.container.html(this.template()),this.player=this.container.children(".jp-jplayer"),this.controller=this.container.children(".jp-audio")}return e.prototype.play=function(e){return this.stop(),this.status="playing",this.container.show(),this.initialized?(this.player.jPlayer("setMedia",{title:document.title,mp3:e}),this.player.jPlayer("play")):this.player.jPlayer({ready:(t=this,function(){return t.player.jPlayer("setMedia",{title:document.title,mp3:e}),"playing"===t.status&&t.player.jPlayer("play"),t.initialized=!0}),autoBlur:!1,cssSelectorAncestor:"#"+this.controller[0].id,keyEnabled:!1,loop:!0,remainingDuration:!0,smoothPlayBar:!0,supplied:"mp3",swfPath:"/assets/js/jplayer",toggleDuration:!0,useStateClassSkin:!0});var t},e.prototype.stop=function(){if(this.initialized&&"stopped"!==this.status)return this.player.jPlayer("stop"),this.container.hide(),this.status="stopped"},e.prototype.template=function(){var e='<div id="jquery_jplayer_:TIMESTAMP:" class="jp-jplayer"></div>\n<div id="jp_container_:TIMESTAMP:" class="jp-audio" role="application" aria-label="media player">\n <div class="jp-type-single">\n <div class="jp-gui jp-interface">\n <div class="jp-controls">\n <button class="jp-play" role="button" tabindex="0">play</button>\n <button class="jp-stop" role="button" tabindex="0">stop</button>\n </div>\n <div class="jp-progress">\n <div class="jp-seek-bar">\n <div class="jp-play-bar"></div>\n </div>\n </div>
8\n <div class="jp-volume-controls">\n <button class="jp-mute" role="button" tabindex="0">mute</button>\n <button class="jp-volume-max" role="button" tabindex="0">max volume</button>\n <div class="jp-volume-bar">\n <div class="jp-volume-bar-value"></div>\n </div>\n </div>\n <div class="jp-time-holder">\n <div class="jp-current-time" role="timer" aria-label="time"> </div>\n <div class="jp-toggles">\n <button class="jp-repeat" role="button" tabindex="0">repeat</button>\n </div>\n </div>\n <div class="ss-jp-dismiss">\n <button class="ss-jp-close" role="button" tabindex="0">×</button>\n </div>\n </div>\n </div>\n</div>',t=(new Date).getTime();return e=e.replace(new RegExp(":TIMESTAMP:","g"),t)},e}(),this.SS_Recommend=function(){function e(){}return e.render=function(){var e,t,n;if((n=SS.config.recommend)&&(t=n.receiver_url,e=n.params,t&&e))return e.access_url=location.href,$.ajax({type:"GET",url:t,cache:!1,dataType:"json",data:e,error:function(){}})},e}(),this.SS=function(){function f(){}return f.config={},f.head="",f.href="",f.loading='<img style="vertical-align:middle" alt="loading.." border="0" widtth="16" height="11" class="ss-base-loading" src="/assets/img/loading.gif" />',f.noticeTimeoutId=null,f.page="",f.pageName=null,f.parts=null,f.siteName=null,f.timeFormatter={"default":"YYYY/M/D HH:mm"},f.debug=!1,f.confirm={"delete":"\u524a\u9664\u3057\u3066\u3088\u308d\u3057\u3044\u3067\u3059\u304b\uff1f"},f.isEmptyObject=function(e){return!!$.isEmptyObject(e)||(!(!$.isArray(e)||0!==e.length)||"string"===$.type(e)&&0===e.length)},f.disableClick=function(e){return!e.data("clicked")&&(e.data("clicked",!0),!0)},f.load=function(){},f.render=function(e){null==e&&(e=null),e?this.renderInBox(e):this.renderNotInBox(),(e=$(document)).find("a[href^=http]").each(function(){return $(this).addClass("external")}),this.renderAjaxBox(),this.renderDateTimePicker(),this.renderFileUpload()},f.renderNotInBox=function(){return SS_Login.render()},f.renderInBox=function(e){var t;return t=function(){return $("#cboxLoadedContent .ajax-box:not(.cboxElement)").each(function(){var e;if((e=$(this)).addClass("cboxElement"),!e.attr("target")&&!e.data("target"))return e.colorbox({fixed:!0,width:"90%",height:"90%",onComplete:t})})},$(e).find(".ajax-box:not(.cboxElement)").each(function(){var e;if(!(e=$(this)).attr("target")&&!e.data("target"))return e.colorbox({fixed:!0,width:"90%",height:"90%",onComplete:t})})},f.renderClipboardCopy=function(){$(".ss-clipboard-copy").on("click",function(){var e=$
8(this).attr("data-clip-attr");return e?SS_Clipboard.copy($(this).attr(e),{success_alert:!0}):SS_Clipboard.copy($(this).text(),{success_alert:!0}),!1})},f.renderLayout=function(e){var n,i;return i=$("head"),n=$("body"),f.head=i.html(),f.page=$("#page").html(),n.html(f.loading),$.ajax({type:"GET",url:SS_Kana.url(e),dataType:"json",cache:!0,success:function(e){var t;return n.append(e.body.replace("</ yield />",f.page)),$("#ss-site-name").html(f.siteName),$("#ss-page-name").html(f.pageName),e.href!==f.href&&(t=$.ajaxSettings.cache,$.ajaxSettings.cache=!0,f.href&&(i.children("link").remove(),i.children("script").remove()),i.append(e.head),$.ajaxSettings.cache=t),f.href=e.href,f.renderTools()},error:function(){return n.html(f.page)},complete:function(){return $(".ss-part").each(function(){return f.renderPart($(this))})}})},f.renderPart=function(t){var e,n;return e=t.data("href")||t.attr("href"),e=SS_Kana.url(e.replace(/\.html/,".json")),e=SS_Translate.url(e.replace(/\.html/,".json"),$("body").data("translate")),n=SS_Kana.url(location.pathname,!1),n=SS_Translate.url(location.pathname,!1),t.append(" "+f.loading),$.ajax({type:"GET",url:e,dataType:"json",data:"ref="+n,success:function(e){return $(t).replaceWith(e)},error:function(){return $(t).remove()},complete:function(){if(f.part=f.part-1,0===f.part)return SS_Recommend.render()}})},f.ajaxForm=function(e,t,n){"string"!=typeof t&&(n=n||t,t=undefined),n||(n={});var i={url:(e=$(e)).attr("action")+".json",dataType:"json",success:function(){},error:function(e){alert(["== Error =="].concat(e.responseJSON).join("\n"))}};e.on("submit",t,function(e){var t;t=$.isFunction(n)?n():n,$(this).ajaxSubmit($.extend(!0,i,t)),e.preventDefault()})},f.ajax=function(e,t,i){return"string"!=typeof t&&(i=i||t,t=undefined),i||(i={}),$(e).on("click",t,function(e){var t,n;return t={url:(n=$(this)).attr("href"),beforeSend:function(){return n.html(f.loading)},success:function(){return console.log("success")},error:function(){return alert("== Error ==")}},$.ajax($.extend(!0,t,i)),e.preventDefault(),!1})},f.ajaxDelete=function(e,t,i){"string"!=typeof t&&(i=i||t,t=undefined),i||(i={}),$(e).on("click",t,function(e){var t,n;return confirm(f.confirm["delete"])&&(t={type:"POST",data:"_method=delete",url:(n=$(this)).attr("href")+".json",dataType:"json",beforeSend:function(){n.html(f.loading)},success:function(){n.data("remove")&&$(n.data("remove")).remove()},error:function(e){alert(["== Error =="].concat(e.responseJSON).join("\n"))}},$.ajax($.extend(!0,t,i)),e.preventDefault()),!1})},f.notice=function(e,t){t||(t={}),f.clearNotice(e);var n=$("#notice");if(n.hasClass("js-notice")||n.addClass("js-notice").on("click",function(){return n.slideUp("normal")}),n.find(".wrap").html(e),n.slideDown("normal"),!t||0!==t.timeout)return f.noticeTimeoutId=setTimeout(function(){return $("#notice").slideUp("normal")},1800),f.noticeTimeoutId},f.clearNotice=function(e){f.noticeTimeoutId&&(clearTimeout(f.noticeTimeoutId),f.noticeTimeoutId=null);var t=$("#notice");t.hide();var n=t.find(".wrap"),i=n.html();return n.html(e||""),i},f.formChanged=!1,f.confirmUnloading=function(){f.formChanged=!1,$("input[type=text],textarea,select").on("change",function(){f.formChanged=!0}),$(window).on("beforeunload",function(){if(f.formChanged)return"\u5165\u529b\u3057\u305f\u30c7\u30fc\u30bf\u306f\u4fdd\u5b58\u3055\u308c\u307e\u305b\u3093\u3002"}),$("input[type=submit]").on("click",function(){return!(f.formChanged=!1)})},f.randomPassword=function(e){var t,n,i,a,r;for(null==e&&(e=8),t="abcdefghijkmnopqrstuvwxyz!@#$%&-+ABCDEFGHIJKLMNOP234567890",a="",n=i=0,r=e;0<=r?i<=r:r<=i;n=0<=r?++i:--i)n=Math.floor(Math.random()*t.length),a+=t.charAt(n);return a},f.fileCheck=function(){return $("#item_files").on("change",function(){var e,t;if(e=$(this).val())return t=location.pathname.split("/"),$.ajax({type:"get",url:t.join("/"),dataType:"json",data:{"do":"check",item_files:e},success:function(e){return e.message?($(".js-uploader-alert-message").html(e.message),$(".js-uploader-alert-message").show()):$(".js-uploader-alert-message").hide()},error:function(e){var t;try{return t=$.parseJSON(e.responseText),alert(["== Error =="].concat(t).join("\n"))}catch(n){return alert(["== Error =="].concat(e.statusText).join("\n"))}}});$(".js-uploader-alert-message").hide()})},f.renderAjaxBox=function(e,t){var n=null,i=null;0<arguments.length&&("object"==typeof e?e.jquery?n=e:i=e:n=$(e),!i&&1<arguments.length&&(i=t)),n||(n=$(document)),i||(i={fixed:!0,width:"90%",height:"90%",onOpen:function(){$("#cboxContent").data("on-select",null)}}
8),n.find(".ajax-box:not(.cboxElement)").each(function(){var e=$(this);e.attr("target")||e.data("target")||"undefined"==typeof e.colorbox||e.colorbox(i)})},f.renderDateTimePicker=function(){$.datetimepicker.setLocale("ja"),$.each($(".js-date"),function(){var e,t;return t={timepicker:!1,format:"Y/m/d",closeOnDateSelect:!0,scrollInput:!1},null!==(e=$(this).data()).minDate&&(t.minDate=e.minDate),null!==e.maxDate&&(t.maxDate=e.maxDate),$(this).datetimepicker(t)}),$.each($(".js-datetime"),function(){var e,t;return t={roundTime:"ceil",step:30},null!==(e=$(this).data()).minDate&&(t.minDate=e.minDate),null!==e.maxDate&&(t.maxDate=e.maxDate),null!==e.step&&(t.step=e.step),$(this).datetimepicker(t)})},f.formatTime=function(e,t){return t||(t="default"),f.timeFormatter[t]&&(t=f.timeFormatter[t]),moment(e).format(t)},f.renderFileUploadInitialized=!1,f.renderFileUpload=function(){$(".ss-file-field .btn-file-upload").each(function(){var l=$(this);if(!l.data("on-select")){var c=l.closest(".ss-file-field"),e=function(e){$.colorbox.close();var t=e.closest("[data-id]"),n=t.data("id"),i=t.data("humanizedName")||t.data("name")||t.find(".select-item").text()||e.text()||t.text();n&&i&&(c.find(".humanized-name").text(i),c.find(".file-id").val(n),c.find(".btn-file-delete").removeClass("hide"),c.find(".upload-drop-notice").addClass("hide"))};l.data("on-select",e),c.find(".dropdown-item").on("click",function(e){e.preventDefault();var t=$(this),n=t.attr("href");l.attr("href",n).text(t.text()).trigger("click");var i=t.closest(".dropdown");return i.removeClass("active"),i.find(".dropdown-menu").removeClass("active"),!1});var d=!1,u=c.find(".upload-drop-notice").html();c.on("dragenter",function(){return d||c.addClass("file-dragenter"),!1}),c.on("dragleave",function(){return c.removeClass("file-dragenter"),!1}),c.on("dragover",function(){return d||c.addClass("file-dragenter"),!1}),c.on("drop",function(e){c.removeClass("file-dragenter");var t=e.originalEvent.dataTransfer.files;if(0===t.length)return!1;if(d)return!1;d=!0,c.find(".upload-drop-notice").html(f.loading).removeClass("hide"),c.css("cursor","progress");var n=$('meta[name="csrf-token"]').attr("content"),i=new FormData;i.append("authenticity_token",n);var a=SS_AjaxFile.defaultFileResizing();a&&i.append("item[resizing]",a);for(var r=0,o=t.length;r<o;r++)i.append("item[in_files][]",t[r]);var s=l.attr("href");return $.ajax({url:s,type:"POST",dataType:"JSON",data:i,processData:!1,contentType:!1}).then(function(e){var t=e[0];t&&(c.find(".humanized-name").text(t.humanized_name),c.find(".file-id").val(t.id||t._id),c.find(".btn-file-delete").removeClass("hide"),c.find(".upload-drop-notice").addClass("hide"))},function(e){413===e.status?alert(["== Error =="].concat("\u30c7\u30fc\u30bf\u306e\u30b5\u30a4\u30ba\u304c\u5927\u304d\u3059\u304e\u307e\u3059\u3002").join("\n")):e.responseJSON&&Array.isArray(e.responseJSON)?alert(["== Error =="].concat(e.responseJSON).join("\n")):alert(["== Error =="].concat(e.statusText).join("\n"))}).then(function(){d=!1,c.find(".upload-drop-notice").html(u),c.css("cursor","auto")}),!1})}}),f.renderFileUploadInitialized||(f.renderFileUploadInitialized=!0,$(document).on("click",".ss-file-field .btn-file-delete",function(){var e=$
8(this).closest(".ss-file-field");return e.find(".humanized-name").text(""),e.find(".file-id").val(""),e.find(".btn-file-delete").addClass("hide"),e.find(".upload-drop-notice").removeClass("hide"),!1}))},f.debugLog=function(){f.debug&&console.log.apply(console,arguments)},f}(),this.SS_Font=function(){function e(){}return e.size=null,e.render=function(){var e;return this.size=parseInt(Cookies.get("ss-font"))||100,100!==this.size&&this.set(this.size),(e=$("#ss-medium")).html('<a href="#" onclick="return SS_Font.set(100)">'+e.html()+"</a>"),(e=$("#ss-small")).html('<a href="#" onclick="return SS_Font.set(false)">'+e.html()+"</a>"),(e=$("#ss-large")).html('<a href="#" onclick="return SS_Font.set(true)">'+e.html()+"</a>")},e.set=function(e){if(!0===e){if(200<(e=this.size+20))return!1}else if(!1===e&&(e=this.size-20)<60)return!1;return this.size=e,$("body").css("font-size",e+"%"),Cookies.set("ss-font",e,{expires:7,path:"/"}),!1},e}();var moduleKeywords,indexOf=[].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1};moduleKeywords=["extended","included"],this.SS_Module=function(){function e(){}return e.extend=function(e){var t,n,i;for(t in e)i=e[t],indexOf.call(moduleKeywords,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],indexOf.call(moduleKeywords,t)<0&&(this.prototype[t]=i);return null!=(n=e.included)&&n.apply(this),this},e}(),this.SS_Mobile=function(){function e(){}return e.render=function(){var e,t;if(navigator.userAgent.match(/(Android|iPad|iPhone)/))return"pc"===Cookies.get("ss-mobile")?((e=$("head")).children("meta[name=viewport]").remove(),e.append('<meta name="viewport" content="width=1024" />'),(t=$("#ss-mb")).html('<a href="#" onclick="return SS_Mobile.unset()">'+t.text()+"</a>").show()):(t=$("#ss-pc")).html('<a href="#" onclick="return SS_Mobile.setPc()">'+t.text()+"</a>").show()},e.unset=function(){return Cookies.remove("ss-mobile",{path:"/"}),location.reload(),!1},e.setPc=function(){return Cookies.set("ss-mobile","pc",{expires:7,path:"/"}),location.reload(),!1},e}(),this.SS_Clipboard=function(){function e(){}return e.copy=function(e,t){var n,i,a;if(null==t&&(t={}),document.queryCommandSupported("copy"))try{return a="position: absolute; overflow: hidden; width: 0; height: 0;",a+="border: none; box-shadow: none; background: transparent; resize: none;",n=$("<textarea style='"+a+"'>"+e+"</textarea>"),$("body").after(n),n.select(),document.execCommand("copy"),n.remove(),t.success_alert&&alert("\u30b3\u30d4\u30fc\u3057\u307e\u3057\u305f\u3002"),!0}catch(r){return i=r,console.log(i),alert("\u30b3\u30d4\u30fc\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u304c\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002"),!1}},e.renderCopy=function(){return $(".js-clipboard-copy").each(function(){var e,t;return!(t=$(this).text())||(e="\u30b3\u30d4\u30fc",$(this).append("<a href='#' class='clipboard-copy-button' data-text='"+t+"'>"+e+"</a>"))}),$(".clipboard-copy-button").on("click",function(){return $(".clipboard-copy-button").removeClass("copied"),e.copy($(this).data("text"))&&$(this).addClass("copied"),!1})},e}(),SS_FileView.HEX_DECIMAL="0123456789abcdef",SS_FileView.CANVAS_SAFE_MARGIN=10,SS_FileView.MIN_SCALE=.1,SS_FileView.MAX_SCALE=2,SS_FileView.SCALE_STEPS=[.1,.25,.5,.75,1,1.25,1.5,1.75,2],SS_FileView.listenTo=function(e,t){$(e).on("click",function(e){SS_FileView.open(e,t)})},SS_FileView.renderFileView=function(e,t){e.on("click",".file-view a.thumb",function(e){SS_FileView.open(e,t)}),e.on("click", 9".file-view .action-attach",function(e){SS_FileView.pasteFile(e,t)}),e.on("click",".file-view .action-paste",function(e){SS_FileView.pasteImage(e,t)}),e.on("click",".file-view .action-thumb",function(e){SS_FileView.pasteThumbnail(e,t)}),e.on("click",".file-view .action-delete",function(e){SS_FileView.deleteFile(e,t)})},SS_FileView.open=function(e,t){var n=$(e.currentTarget);if(0===n.find("img").length)return!0;var i=n.attr("href");if(i.startsWith("/fs/")&&t&&t.viewPath){var a=n.closest(".file-view");if(0<a.length){var r=a.data("file-id");r&&(i=t.viewPath.replace(":id",r))}}return!!i.startsWith("/fs/")||($.colorbox({href:i,width:"90%",height:"90%",fixed:!0,open:!0,onComplete:function(){$("#ss-file-view").trigger("ss:cboxCompleted")}}),e.preventDefault(),!1)},SS_FileView.getContent=function(){return"undefined"!=typeof tinymce?tinymce.get(Cms_Form.editorId).getContent():"undefined"!=typeof CKEDITOR?CKEDITOR.instances[Cms_Form.editorId].getData():null},SS_FileView.insertContent=function(e){"undefined"!=typeof tinymce?tinymce.get(Cms_Form.editorId).execCommand("mceInsertContent",!1,e):"undefined"!=typeof CKEDITOR&&CKEDITOR.instances[Cms_Form.editorId].insertHtml(e)},SS_FileView.pasteFile=function(e,t){var n=$(e.currentTarget).closest(".file-view");if(n[0]){var i=$("<a/>",{href:n.data("url"),"class":"icon-"+n.data("extname")}
9).html(n.data("humanizedName"));return(t&&t.insertContent?t.insertContent:SS_FileView.insertContent)(i.prop("outerHTML")),e.preventDefault(),!1}},SS_FileView.pasteImage=function(e,t){var n=$(e.currentTarget).closest(".file-view");if(n[0]){var i=$("<img/>",{src:n.data("url"),alt:n.data("name")});return(t&&t.insertContent?t.insertContent:SS_FileView.insertContent)(i.prop("outerHTML")),e.preventDefault(),!1}},SS_FileView.pasteThumbnail=function(e,t){var n=$(e.currentTarget).closest(".file-view");if(n[0]){var i=$("<img/>",{src:n.data("thumbUrl"),alt:n.data("name")}),a=$("<a/>",{href:n.data("url"),alt:n.data("name"),"class":"ajax-box"}).html(i);return(t&&t.insertContent?t.insertContent:SS_FileView.insertContent)(a.prop("outerHTML")),e.preventDefault(),!1}},SS_FileView.deleteFile=function(e,t){var n=$(e.currentTarget).closest(".file-view");if(n[0]){var i,a=n.data("url").replace(/\/[^/]*$/,"/"),r=(t&&t.getContent?t.getContent:SS_FileView.getContent)(),o=!1;return r&&0<r.indexOf(a)&&(o=!0),o&&t&&t.inUseConfirmation?i=t.inUseConfirmation:t&&t.confirmationOnDelete&&(i=t.confirmationOnDelete),i&&!confirm(i)?(e.preventDefault(),!1):(n.remove(),e.preventDefault(),!1)}},SS_FileView.toHex=function(e){return isNaN(e)?"00":(e=Math.max(0,Math.min(e,255)),SS_FileView.HEX_DECIMAL.charAt((e-e%16)/16)+SS_FileView.HEX_DECIMAL.charAt(e%16))},SS_FileView.calcPositionAndScale=function(e,t){var n=0,i=1;return t<e?(n=0,(i=t/e)<SS_FileView.MIN_SCALE&&(i=SS_FileView.MIN_SCALE)):(n=(t-e)/2,i=1),{position:n,scale:i}},SS_FileView.findScaleStepIndex=function(e){var t=-1;if(e<SS_FileView.SCALE_STEPS[0])t=0;else if(e>SS_FileView.SCALE_STEPS[SS_FileView.SCALE_STEPS.length-1])t=SS_FileView.SCALE_STEPS.length-1;else for(var n=0;n<SS_FileView.SCALE_STEPS.length-1;n+=1){if(SS_FileView.SCALE_STEPS[n]<=e&&e<SS_FileView.SCALE_STEPS[n+1]){t=n;break}-1===t&&(t=SS_FileView.SCALE_STEPS.length-1)}return t},SS_FileView.prototype.initializationComplete=function(){var e=this.$el.width(),t=$("#ajax-box"),n=$("#cboxLoadedContent").height();n-=t.outerHeight(!0)-t.height(),n-=Math.ceil(this.$canvasContainer.offset().top)-Math.floor(this.$el.offset().top),n-=SS_FileView.CANVAS_SAFE_MARGIN,this.canvas.width=e,this.canvas.height=n;var i=SS_FileView.calcPositionAndScale(this.image.width,e),a=SS_FileView.calcPositionAndScale(this.image.height,n);a.scale>i.scale?(this.scale=i.scale,this.dragInfo.diff.x=i.position,this.dragInfo.diff.y=(n-this.image.height*this.scale)/2/this.scale,this.dragInfo.diff.y<0&&(this.dragInfo.diff.y=0)):(this.scale=a.scale,this.dragInfo.diff.x=(e-this.image.width*this.scale)/2/this.scale,this.dragInfo.diff.x<0&&(this.dragInfo.diff.x=0),this.dragInfo.diff.y=a.position),this.dragInfo.canvas.x=this.dragInfo.diff.x,this.dragInfo.canvas.y=this.dragInfo.diff.y,this.redrawImage(),this.$slider.prop({value:100*this.scale}),this.$el.find(".btn-zoom-out").on("click",this.prevScale.bind(this)),this.$el.find(".btn-zoom-in").on("click",this.nextScale.bind(this)),this.$el.find("#foreground-color").minicolors("value",this.rgbAt(e/2,n/2)),this.$el.find("#background-color").minicolors("value","#ffffff"),this.calculateContrastRatio(),this.$el.find(".btn-contrast-ratio").on("click",this.calculateContrastRatio.bind(this)),this.canvas.addEventListener("click",this.pickUpColor.bind(this)),this.canvas.addEventListener("mousedown",this.dragStart.bind(this)),this.canvas.addEventListener("mousemove",this.dragging.bind(this)),this.canvas.addEventListener("mouseup",this.dragEnd.bind(this)),this.$el.find(".btn-color-picker").on("click",this.pickUpColorStart.bind(this)),this.$el.find(".canvas-container").html(this.canvas)},SS_FileView.prototype.calculateContrastRatio=function(){var e=this.$el.find("#foreground-color").minicolors("value"),t=this.$el.find("#background-color").minicolors("value");e&&t&&(this.$el.find(".contrast-ratio").html(SS.loading),$.ajax({url:this.options.contrastRatioPath,type:"GET",data:{f:e,b:t,_:Date.now()}}).done(function(e){$(".contrast-ratio").html(e.contrast_ratio_human)}).fail(function(e,t,n){$(".contrast-ratio").html(n)}))},SS_FileView.prototype.redrawImage=function(){this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height),this.ctx.scale(this.scale,this.scale),this.ctx.drawImage(this.image,this.dragInfo.diff.x,this.dragInfo.diff.y),this.ctx.setTransform(1,0,0,1,0,0)},SS_FileView.prototype.zooming=function(e){this.scale=e.target.value/100,this.$sliderTimeoutId&&clearTimeout(this.$sliderTimeoutId),this.$sliderTimeoutId=setTimeout(this.zoomCommitted.bind(this),10)},SS_FileView.prototype.zoomChanged=function(e){this.scale=e.target.value/100,this.$sliderTimeoutId&&clearTimeout(this.$sliderTimeoutId),this.zoomCommitted()},SS_FileView.prototype.zoomCommitted=function(){this.$sliderTimeoutId=null,this.redrawImage()},SS_FileView.prototype.nextScale=function(){var e=SS_FileView.findScaleStepIndex(this.scale)+1;e>=SS_FileView.SCALE_STEPS.length&&(e=SS_FileView.SCALE_STEPS.length-1),this.scale=SS_FileView.SCALE_STEPS[e],this.$slider.prop({value:100*this.scale}),this.redrawImage()},SS_FileView.prototype.prevScale=function(){var e=SS_FileView.findScaleStepIndex(this.scale);SS_FileView.SCALE_STEPS[e]===this.scale&&(e-=1),e<0&&(e=0),this.scale=SS_FileView.SCALE_STEPS[e],this.$slider.prop({value:100*this.scale}),this.redrawImage()},SS_FileView.prototype.dragStart=function(e){this.isPickingUpColor||(this.dragInfo.isDragging=!0,this.dragInfo.start.x=e.clientX,this.dragInfo.start.y=e.clientY,this.canvas.style.cursor="move")},SS_FileView.prototype.dragging=function(e){this.dragInfo.isDragging&&(this.dragInfo.diff.x=this.dragInfo.canvas.x+(e.clientX-this.dragInfo.start.x)/this.scale,this.dragInfo.diff.y=this.dragInfo.canvas.y+(e.clientY-this.dragInfo.start.y)/this.scale,this.redrawImage())},SS_FileView.prototype.dragEnd=function(){this.dragInfo.isDragging&&(this.canvas.style.cursor="auto",this.dragInfo.isDragging=!1,this.dragInfo.canvas.x=this.dragInfo.diff.x,this.dragInfo.canvas.y=this.dragInfo.diff.y)},SS_FileView.prototype.pickUpColorStart=function(e){var t=$(e.currentTarget);t.hasClass("btn-active")?(t.removeClass("btn-active"),this.isPickingUpColor=!1,this.canvas.style.cursor="auto"):(this.$el.find(".btn-color-picker.btn-active").removeClass("btn-active"),this.isPickingUpColor=!0,t.addClass("btn-active"),this.canvas.style.cursor="crosshair")},SS_FileView.prototype.pickUpColor=function(e){if(this.isPickingUpColor){var t=e.offsetX,n=e.offsetY;t<0&&(t=0),t>=this.canvas.width&&(t=this.canvas.width-1),n<0&&(n=0),n>=this.canvas.height&&(n=this.canvas.height-1);var i=this.rgbAt(t,n);this.$el.find(".btn-color-picker.btn-active").closest(".btn-group").find(".js-color").minicolors("value",i),this.canvas.style.cursor="auto",this.$el.find(".btn-color-picker").removeClass("btn-active"),this.isPickingUpColor=!1,this.calculateContrastRatio()}},SS_FileView.prototype.rgbAt=function(e,t){this.ctx.scale(this.scale,this.scale);var n=this.ctx.getImageData(e,t,1,1).data;this.ctx.setTransform(1,0,0,1,0,0);var i=n[0],a=n[1],r=n[2];
9return 0===n[3]?"#ffffff":"#"+(i=SS_FileView.toHex(i))+(a=SS_FileView.toHex(a))+(r=SS_FileView.toHex(r))},this.Cms_Site_Search_History=function(){function e(e,t){this.selector=e,this.url=t,this.form=$(e),this.keyword=$(e).find('[name="s[keyword]"]'),this.history=$(e).find(".site-search-history"),this.histories=[],this.maxHistoryLength=6,this.maxKeywordLength=30,0<this.keyword.length&&0<this.history.length&&this.render()}return e.prototype.storageKey=function(e){return this.formKey||(this.formKey=CryptoJS.MD5(this.url).toString()),"ss_site_search_"+this.formKey+"_"+e},e.prototype.getHistories=function(){var e=this,t=[],n=0;try{if((n=localStorage.getItem(e.storageKey("history_length")))&&(n=parseInt(n)))for(var i,a=0;a<n;a++)(i=localStorage.getItem(e.storageKey("history_"+a)))&&t.push(i)}catch(r){console.warn(r)}return t},e.prototype.setHistories=function(e){var n=this;try{localStorage.setItem(n.storageKey("history_length"),e.length),$.each(e,function(e,t){localStorage.setItem(n.storageKey("history_"+e),t)})}catch(t){console.warn(t)}},e.prototype.renderHistories=function(){var t=this;t.histories=t.getHistories(),0<t.histories.length&&$(t.histories).each(function(){var e=$
9('<li><a href="#">'+this+"</a></li>");e.find("a").on("click",function(){return t.keyword.val($(this).text()),t.form.trigger("submit"),!1}),t.history.append(e)}),this.index=0,this.indexLength=this.histories.length},e.prototype.renderEvents=function(){var n=this;this.form.on("submit",function(){var e=n.histories,t=n.keyword.val();(t=n.formatKeyword(t))&&(n.keyword.val(t),(e=e.filter(function(e){return e!=t})).unshift(t),e=e.slice(0,n.maxHistoryLength),n.setHistories(e))}),0<this.histories.length&&(this.keyword.on("focus",function(){n.history.show()}),this.keyword.on("blur",function(){n.index=0,n.history.find("li").removeClass("selected"),n.history.hide()}),this.history.find("a").on("mousedown",function(){n.keyword.off("blur")}),this.keyword.on("keydown",function(e){if(13==e.which||38==e.which||40==e.which){if(13==e.which)return 0<=n.index-1&&n.keyword.val(n.histories[n.index-1]),!0;38==e.which&&(n.index-=1),40==e.which&&(n.index+=1),n.index>n.indexLength?n.index=1:n.index<=0&&(n.index=n.indexLength),n.history.find("li").removeClass("selected"),n.history.find("li:nth-child("+n.index+")").addClass("selected"),n.keyword.val(n.history.find("li.selected a").data("value"))}}))},e.prototype.render=function(){this.renderHistories(),this.renderEvents()},e.prototype.formatKeyword=function(e){return e&&(e=(e=e.replace(/[\s\u3000]{1,}/g," ")).trim()).length>this.maxKeywordLength&&(e=(e=e.substr(0,this.maxKeywordLength)).trim()),e},e}(),this.SS_SearchUI=function(){function e(){}return e.anchorAjaxBox,e.defaultSelector=function(e){var t,n,i,a,r,o,s;return o=this,i=(n=e.closest("[data-id]")).data("id"),r=n.data("name")||n.find(".select-item").text()||e.text()||n.text(),s=$("<tr />").attr("data-id",i),a=(a=o.anchorAjaxBox.closest("dl").find(".hidden-ids").clone(!1)).val(i).removeClass("hidden-ids"),t=$('<a class="deselect btn" href="#">\u524a\u9664</a>'),s.append($("<td />").append(a).append(r)),s.append($("<td />").append(t)),o.anchorAjaxBox.closest("dl").find(".ajax-selected tbody").prepend(s),o.anchorAjaxBox.closest("dl").find(".ajax-selected").trigger("change")},e.select=function(e){var t=this.anchorAjaxBox.data("on-select");return t?t(e):this.defaultSelector(e)},e.selectItems=function(e){e||(e=$("#ajax-box"));var t=this;e.find(".items input:checkbox").filter(":checked").each(function(){t.select($(this))}),t.anchorAjaxBox.closest("dl").find(".ajax-selected").show()},e.deselect=function(e){var t;return t=$(this).parents(".ajax-selected:first"),$(this).parents("tr:first").remove(),0===t.find("tbody tr").size()&&t.hide(),t.trigger("change"),e.preventDefault()},e.toggleSelectButton=function(e){return e||(e=$("#ajax-box")),0<e.find(".items input:checkbox").filter(":checked").size()?e.find(".select-items").parent("div").show():e.find(".select-items").parent("div").hide()},e.render=function(){var t=this;
9$(".ajax-selected").each(function(){var e=$(this);e.on("click",".deselect",t.deselect),0===e.find("a.deselect").size()&&e.hide()}),$(document).on("cbox_load",t.onColorBoxLoaded).on("cbox_cleanup",t.onColorBoxCleanedUp)},e.onColorBoxLoaded=function(){e.anchorAjaxBox||(e.anchorAjaxBox=$.colorbox.element())},e.onColorBoxCleanedUp=function(){e.anchorAjaxBox=null},e.modal=function(e){e||(e={});var n=this,i=e.colorbox||$.colorbox,a=e.$el||$("#ajax-box"),t=window==a[0].ownerDocument.defaultView;return t&&a.find("form.search").on("submit",function(e){var t=$("<span />",{"class":"loading"}).html(SS.loading);return a.find("[type=submit]").after(t),$(this).ajaxSubmit({url:$(this).attr("action"),success:function(e){a.closest("#cboxLoadedContent").html(e)},error:function(){t.html("== Error ==")}}),e.preventDefault(),!1}),a.find(".pagination a").on("click",function(e){return n.selectItems(a),!t||(a.find(".pagination").html(SS.loading),$.ajax({url:$(this).attr("href"),type:"GET",success:function(e){a.closest("#cboxLoadedContent").html(e)},error:function(){a.find(".pagination").html("== Error ==")}}),e.preventDefault(),!1)}),a.find("#s_group").on("change",function(){return n.selectItems(a),a.find("form.search").submit()}),a.find(".submit-on-change").on("change",function(){return n.selectItems(a),a.find("form.search").submit()}),n.anchorAjaxBox.closest("dl").find(".ajax-selected tr[data-id]").each(function(){var e,t,n;return e=$(this).data("id"),(n=$("#colorbox .items [data-id='"+e+"']")).find("input[type=checkbox]").remove(),t=n.find(".select-item,.select-single-item").html(),n.find(".select-item,.select-single-item").replaceWith("<span class='select-item' style='color: #888'>"+t+"</span>")}),a.find("table.index").each(function(){SS_ListUI.render(this)}),a.find("a.select-item").on("click",function(e){if(!SS.disableClick($(this)))return!1;var t=n.anchorAjaxBox;return n.select($(this)),t.closest("dl").find(".ajax-selected").show(),e.preventDefault(),i.close(),!1}),a.find(".select-single-item").on("click",function(e){if(!SS.disableClick($(this)))return!1;var t=n.anchorAjaxBox;return t.closest("dl").find(".ajax-selected tr[data-id]").each(function(){if($(this).find("input[value]").length)return $(this).remove()}),n.select($(this)),t.closest("dl").find(".ajax-selected").show(),e.preventDefault(),i.close(),!1}),a.find(".select-items").on("click",function(e){return SS.disableClick($(this))&&(n.selectItems(a),e.preventDefault(),i.close()),!1}),a.find(".index").on("change",function(){return n.toggleSelectButton(a)}),n.toggleSelectButton(a)},e}(),this.SS_AjaxFile=function(){function s(e,t){this.$el=$(e||"#ajax-box"),this.options=t||{},this.render()}return s.additionalFileResizings=[],s.firesEvents=!1,s.errors={entityTooLarge:"request entity is too large"},s.addFileResizing=function(){for(var e=0;e<arguments.length;e++){var t=arguments[e];if(t["default"])for(var n=0;n<s.additionalFileResizings.length;n++)s.additionalFileResizings[n]["default"]&&(s.additionalFileResizings[n]["default"]=!1);s.additionalFileResizings.push(t)}},s.defaultFileResizing=function(){for(var e=0;e<s.additionalFileResizings.length;e++)if(s.additionalFileResizings[e]["default"])return s.additionalFileResizings[e].value;return null},s.defaultFileSelectHandler=function(){for(var e=[],t=[],n=0;n<arguments.length;n++){var i=$(arguments[n]),a=i.attr("href");if(a){var r=i.data("humanized-name");e.push($.ajax({url:a,success:function(e){t.push({name:r,html:e})},error:function(e){e.responseJSON&&Array.isArray(e.responseJSON)?alert(["== Error =="].concat(e.responseJSON).join("\n")):alert(["== Error =="].concat(e.statusText).join("\n"))}}))}}$.when.apply($,e).done(function(){t.sort(function(e,t){return e.name<t.name?1:e.name>t.name?-1:0});for(var e=0;e<t.length;e++)$("#selected-files").prepend(t[e].html);$.colorbox.close()})},s.prototype.render=function(){var a=this;a.$el.on("submit","form.user-file",function(e){var t="attach";e.originalEvent&&e.originalEvent.submitter&&(t=e.originalEvent.submitter.dataset.submitted);var n=$(this),i={url:n.attr("action")+".json",dataType:"json",success:function(e){a.submitSuccess(t,e)},error:function(e){a.submitError(e)}};n.ajaxSubmit(i),e.preventDefault()}),a.$el.on("click",".user-files .select",function(e){return a.selectFiles(this),e.preventDefault(),!1}),a.$el.on("click",".user-files .delete",function(e){return a.deleteFile(e.target),e.preventDefault(),!1});for(var e=0;e<s.additionalFileResizings.length;e++){var t=s.additionalFileResizings[e],n=$("<option />").val(t.value).text(t.label);t["default"]&&n.prop("selected",!0),a.$el.find("form.user-file .image-size").append(n)}},s.prototype.submitSuccess=function(a,r){var o=this,e="attach"===a?o.options.selectedFilesPath:o.options.indexPath,t=o.options.pathOptions||{};if("attach"===a&&Array.isArray(r)){var n=$.map(r,function(e){return e._id});t=Object.assign(t,{select_ids:n})}Object.keys(t).length&&(e+="?"+$.param(t)),$("<div />
9").load(e,function(){var e=$(this).find(".user-files");e[0]&&(o.$el.find(".user-files").html(e.html()),SS.renderInBox(o.$el)),o.$el.find("form.user-file [type='file']").val(null).trigger("change");for(var t=null,n=0;n<s.additionalFileResizings.length;n++){var i=s.additionalFileResizings[n];if(i["default"]){t=i.value;break}}o.$el.find("form.user-file .image-size").val(t).trigger("change"),"attach"===a&&o.attachFiles(r)})},s.prototype.attachFiles=function(e){var i=this;if(Array.isArray(e)&&0!=e.length){var a=[];$.each(e,function(e,t){var n=i.$el.find(".user-files [data-id='"+t._id+"'] .select");a.push(n)}),i.selectFiles.apply(i,a)}},s.prototype.submitError=function(e){if(413===e.status)alert(["== Error =="].concat(s.errors.entityTooLarge).join("\n"));else try{alert(["== Error =="].concat(e.responseJSON).join("\n"))}catch(t){alert(["== Error =="].concat(e.statusText).join("\n"))}},s.prototype.selectFiles=function(){if(SS_SearchUI.anchorAjaxBox){if(s.firesEvents){var e=$.Event("ss:ajaxFileSelected");if(SS_SearchUI.anchorAjaxBox.trigger(e,[arguments]),e.isDefaultPrevented())return}var t=SS_SearchUI.anchorAjaxBox.data("on-select");if(t)return $.each(arguments,function(){t($(this))}),!0}s.defaultFileSelectHandler.apply(s,arguments)},s.prototype.deleteFile=function(e){if(!confirm(SS.confirm["delete"]))return!1;var t=$(e);$.ajax({type:"POST",data:"_method=delete",url:t.attr("href")+".json",dataType:"json",beforeSend:function(){t.html(SS.loading)},success:function(){var e;(e=t.data("remove")?$(t.data("remove")):t.closest(".file-view")).slideUp("fast",function(){e.remove(),s.firesEvents&&SS_SearchUI.anchorAjaxBox&&SS_SearchUI.anchorAjaxBox.trigger("ss:ajaxRemoved")})},error:function(e){alert(["== Error =="].concat(e.responseJSON).join("\n"))}})},s}(),this.Chat_Bot=function(){function e(e,t){this.$el=$(e),this.url=t,this.inProgress=!1,this.render()}return e.prototype.render=function(){var n=this;n.$el.on("keypress",".chat-text",function(e){(e.which&&13===e.which||e.keyCode&&13===e.keyCode)&&n.sendChatRequest($(this))}),n.$el.on("click",".chat-button",function(){n.sendChatRequest($(this))}),n.$el.on("click",".chat-items",function(e){var t=$(e.target);return t.hasClass("chat-suggest")?(n.sendChatRequest($(this),{text:t.text(),clickSuggest:!0}),!1):t.hasClass("chat-success")?(n.sendFeedback(t,"success"),!1):t.hasClass("chat-retry")?(n.sendFeedback(t,"retry"),!1):void 0}),n.$el.on("click",".chat-dismiss",function(){n.$el.trigger("ss:chatClose")})},e.prototype.fetchFirstMessagenAndSuggestions=function(){var t=this;t.inProgress||(t.inProgress=!0,$.ajax({type:"GET",url:t.url,cache:!1,success:function(e){t.renderChatResponse(e)},error:function(){},complete:function(){t.inProgress=!1}}))},e.prototype.sendChatRequest=function(e,t){var n=this;if(!n.inProgress){n.inProgress=!0;var i,a=n.$el.find(".chat-text");if(t&&(i=t.text),i||(i=a.val(),a.val("")),!i)return!1;var r=n.$el.find(".chat-items");r.append($('<div class="chat-item user"></div>').append(i)).animate({scrollTop:r[0].scrollHeight}),$.ajax({type:"GET",url:n.url,cache:!1,data:{text:i,click_suggest:t&&t.clickSuggest},success:function(e){n.renderChatResponse(e)},error:function(){},complete:function(){n.inProgress=!1}})}},e.prototype.renderChatResponse=function(e){var s=this,l=s.$el.find(".chat-items"),c=e;("string"==typeof e||e instanceof String)&&(c=$.parseJSON(e)),$.each(c.results,function(e,t){if(t.response){var n;if(t.siteSearchUrl){var i=$("<a />",{href:t.siteSearchUrl,target:"_blank",rel:"noopener"}).append(c.siteSearchText);n=$("<p />",{"class":"search-result-btn"}).append(i)}else n="";if(t.suggests)l.append($('<div class="chat-item sys"></div>').append(t.response).append(n)),t.suggests.forEach(function(e){var t=$('<a class="chat-suggest"></a>').attr("href",s.url).append(e);l.append($('<div class="chat-item suggest"></div>').append(t))});else if(t.question){var a=$('<button name="button" type="button" class="chat-success" data-id="'+t.id+'"></button>').append(c.chatSuccess),r=$('<button name="button" type="button" class="chat-retry" data-id="'+t.id+'"></button>').append(c.chatRetry),o=$('<div class="chat-finish"></div>').append(t.question).append(a).append(r);l.append($('<div class="chat-item sys"></div>').append(t.response).append(n).append(o))}else l.append($('<div class="chat-item sys"></div>').append(t.response).append(n))}}),l.animate({scrollTop:l[0].scrollHeight})},e.prototype.sendFeedback=function(e,t){var n=this;n.inProgress||(n.inProgress=!0,$.ajax({type:"GET",url:n.url,cache:!1,data:{intent_id:e.data("id"),question:t||"success"},success:function(e){n.renderFeedback(e)},error:function(){},complete:function(){n.inProgress=!1}}))},e.prototype.renderFeedback=function(e){var t=this,n=e;("string"==typeof e||e instanceof String)&&(n=$.parseJSON(e));var i=t.$el.find(".chat-items");$.each(n.results,function(e,t){t.response&&i.append($('<div class="chat-item sys"></div>').append(t.response))}),i.animate({scrollTop:i[0].scrollHeight}),setTimeout(t.fetchFirstMessagenAndSuggestions.bind(t),1e3)},e}(),this.Cms_Editor_Module=function(){function e(){}return e.editorId="item_html",e.getEditorHtml=function(e){return null==e&&(e=null),e||(e=Cms_Form.editorId),"undefined"!=typeof tinymce?tinymce.get(e).getContent():"undefined"!=typeof CKEDITOR?CKEDITOR.instances[e].getData():""},e.setEditorHtml=function(e,t){var n=null;return(t=t||{}).id&&(n=t.id),n||(n=Cms_Form.editorId),"undefined"!=typeof tinymce?tinymce.get(n).setContent(e):"undefined"!=typeof CKEDITOR?CKEDITOR.instances[n].setData(e):void 0},e}(),this.Cms_Editor_CodeMirror=function(){function n(){}return n.render=function(e,n){return null==n&&(n={}),$(e).each(function(){var e,t;return t=$(this),(e=CodeMirror.fromTextArea(t.get(0),n)).setSize(null,t.height()),n.readonly&&e.refresh(),t.data("editor",e)}
9)},n.lock=function(e,t){return n.setOption(e,t),$(document).on("change",e,function(){return n.setOption(e,t)})},n.setOption=function(e,t){var n;return n=$(t).next(".CodeMirror")[0].CodeMirror,""===$(e).val()?(n.setOption("mode","text/html"),n.setOption("readOnly",!1)):(n.setOption("mode","text/plain"),n.setOption("readOnly",!0))},n}(),this.Cms_Editor_CKEditor=function(){function e(){}return e.render=function(e,t){null==t&&(t={}),$(e).ckeditor(t).editor.on("change",function(){SS.formChanged=!0}),CKEDITOR.on("dialogDefinition",function(e){var t,n,i,a;if(i=e.data.name,t=e.data.definition,"table"===i||"tableProperties"===i)return(a=(n=t.getContents("info")).get("txtWidth"))["default"]="",(a=n.get("txtCellSpace")).controlStyle="display: none",a.label="",a["default"]="",(a=n.get("txtCellPad")).controlStyle="display: none",a.label="",a["default"]="",(a=n.get("txtBorder")).controlStyle="display: none",a.label="",a["default"]="",(a=n.get("txtSummary")).controlStyle="display: none",a.label="",a["default"]=""}),CKEDITOR.on("instanceReady",function(e){e.editor.on("beforeCommandExec",function(e){"paste"===e.data.name&&(e.editor._.forcePasteDialog=!0),"pastetext"===e.data.name&&"keystrokeHandler"===e.data.commandData.from&&e.cancel()})})},e}(),this.Cms_Editor_TinyMCE=function(){function e(){}return e.render=function(e,t){return null==t&&(t={}),t.selector=e,tinymce.init(t)},e}(),this.Ads_Banner=function(){function e(){}return e.randomize=function(e){var t;return(t=$(e)).find("a").parent("span").sort(function(){return Math.random()-.5}).each(function(){return t.append($(this))})},e}(),this.Event_Monthly=function(){function e(){}return e.render=function(){$(".event-pages-filter a[data-id!=all]").on("click",function(){$(".event-pages-filter a[data-id=all]").removeClass("clicked"),$(this).hasClass("clicked")?$(this).removeClass("clicked"):$(this).addClass("clicked");var n=[];return $(".event-pages-filter a.clicked").each(function(){var e=parseInt($(this).attr("data-id"));if(!isNaN(e))return n.push(e)}),$("#event-list .page").each(function(){var e=[];$.each($(this).attr("data-id").split(" "),function(){return e.push(parseInt(this))});var t=!1;return $.each(n,function(){if(0<=$.inArray(parseInt(this),e))return!(t=!0)}),t?$(this).show():$(this).hide()}),!1}),$(".event-pages-filter a[data-id=all]").on("click",function(){return $(this).hasClass("clicked")||($(this).addClass("clicked"),$(".event-pages-filter a[data-id!=all]").removeClass("clicked"),$("#event-list .page").show()),!1})},e}(),this.Event_Calendar=function(){function e(){}return e.render=function(i){var a;return a=function(e){var t,n;return n=$(e).attr("data-year"),t=$(e).attr("data-month"),$.ajax({type:"GET",url:i+"?year="+n+"&month="+t,cache:!1,success:function(e){var t;t="<div>"+e+"</div>",$(".event-calendar").replaceWith($(t).find(".event-calendar")),$(".calendar-nav a.paginate").on("click",function(){return a(this),!1})},error:function(){},complete:function(){$(".event-calendar .calendar").hide().fadeIn("fast")}})},$(".calendar-nav a.paginate").on("click",function(){return a(this),!1})},e}(),Inquiry_Form=function(e){this.options=e,this.render()},Inquiry_Form.instance=null,Inquiry_Form.render=function(e){Inquiry_Form.instance||(Inquiry_Form.instance=new Inquiry_Form(e))},Inquiry_Form.prototype.render=function(){$('.inquiry-form input:not([type="submit"], [type="button"], [type="reset"])').on("keypress",function(e){return!(e.which&&13===e.which||e.keyCode&&13===e.keyCode)});var e=this;$(document).on("change",'.form-select input[type="radio"]',function(){return e.changeForm()}),0<$(".form-select").length&&this.changeForm()},Inquiry_Form.prototype.collectSelectFormValues=function(){var e;e=this.options.confirm?'input[type="hidden"]':'input[type="radio"]:checked';var t=[];
9return $(".form-select "+e).each(function(){var e=$(this).val();t.indexOf(e)<0&&t.push(e)}),t},Inquiry_Form.prototype.intersect=function(e,t){return e.filter(function(e){return-1!==t.indexOf(e)})},Inquiry_Form.prototype.changeForm=function(){var t=this,n=this.collectSelectFormValues();$(".select-form-target").each(function(){if(0<t.intersect(n,$(this).data("select-form")).length){if(0===$(this).find("span.required").length){var e=$("<span/>").attr("class","required").text(t.options.requiredLabel);t.options.confirm?e.appendTo($(this).children("dt")):e.appendTo($(this).children("legend"))}}else $(this).find("span.required").remove()})},function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Chart=e()}(function(){return function d(r,o,s){function l(t,e){if(!o[t]){if(!r[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(c)return c(t,!0);var i=new Error("Cannot find module '"+t+"'");throw i.code="MODULE_NOT_FOUND",i}var a=o[t]={exports:{}};r[t][0].call(a.exports,function(e){return l(r[t][1][e]||e)},a,a.exports,d,r,o,s)}return o[t].exports}for(var c="function"==typeof require&&require,e=0;e<s.length;e++)l(s[e]);return l}({1:[function(){},{}],2:[function(e,t){function n(e){if(e){var t=[0,0,0],n=1,i=e.match(/^#([a-fA-F0-9]{3})$/i);if(i){i=i[1];for(var a=0;a<t.length;a++)t[a]=parseInt(i[a]+i[a],16)}else if(i=e.match(/^#([a-fA-F0-9]{6})$/i))for(i=i[1],a=0;a<t.length;a++)t[a]=parseInt(i.slice(2*a,2*a+2),16);else if(i=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<t.length;a++)t[a]=parseInt(i[a+1]);n=parseFloat(i[4])}else if(i=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<t.length;a++)t[a]=Math.round(2.55*parseFloat(i[a+1]));n=parseFloat(i[4])}else if(i=e.match(/(\w+)/)){if("transparent"==i[1])return[0,0,0,0];if(!(t=d[i[1]]))return}for(a=0;a<t.length;a++)t[a]=l(t[a],0,255);return n=n||0==n?l(n,0,1):1,t[3]=n,t}}function i(e){if(e){var t=e.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[l(parseInt(t[1]),0,360),l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(isNaN(n)?1:n,0,1)]}}}function a(e){if(e){var t=e.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[l(parseInt(t[1]),0,360),l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(isNaN(n)?1:n,0,1)]}}}function r(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function o(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function s(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function l(e,t,n){return Math.min(Math.max(t,e),n)}function c(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var d=e(6);t.exports={getRgba:n,getHsla:i,getRgb:function(e){var t=n(e);return t&&t.slice(0,3)},getHsl:function(e){var t=i(e);return t&&t.slice(0,3)},getHwb:a,getAlpha:function(e){var t=n(e);return t?t[3]:(t=i(e))?t[3]:(t=a(e))?t[3]:void 0},hexString:function(e){return"#"+c(e[0])+c(e[1])+c(e[2])},rgbString:function(e,t){return t<1||e[3]&&e[3]<1?r(e,t):"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:r,percentString:function(e,t){return t<1||e[3]&&e[3]<1?o(e,t):"rgb("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%)"},percentaString:o,hslString:function(e,t){return t<1||e[3]&&e[3]<1?s(e,t):"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:s,hwbString:function(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return u[e.slice(0,3)]}};var u={};for(var f in d)u[d[f]]=f},{6:6}],3:[function(e,t){var d=e(5),n=e(2),o=function(e){return e instanceof o?e:this instanceof o?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof e?(t=n.getRgba(e))?this.setValues("rgb",t):(t=n.getHsla(e))?this.setValues("hsl",t):(t=n.getHwb(e))&&this.setValues("hwb",t):"object"==typeof e&&(void 0!==(t=e).r||void 0!==t.red?this.setValues("rgb",t):void 0!==t.l||void 0!==t.lightness?this.setValues("hsl",t):void 0!==t.v||void 0!==t.value?this.setValues("hsv",t):void 0!==t.w||void 0!==t.whiteness?this.setValues("hwb",t):void 0===t.c&&void 0===t.cyan||this.setValues("cmyk",t)))):new o(e);var t};o.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var e=this.values;return 1!==e.alpha?e.hwb.concat([e.alpha]):e.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var e=this.values;return e.rgb.concat([e.alpha])},hslaArray:function(){var e=this.values;return e.hsl.concat([e.alpha])}
vendor: 9,868 bytes, lines 9-10
9,alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e=(e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)}, 10lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return n.hexString(this.values.rgb)},rgbString:function(){return n.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return n.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return n.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return n.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return n.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return n.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return n.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var e=this.values.rgb;return e[0]<<16|e[1]<<8|e[2]},luminosity:function(){for(var e=this.values.rgb,t=[],n=0;n<e.length;n++){var i=e[n]/255;t[n]=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),n=e.luminosity();return n<t?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return 7.1<=t?"AAA":4.5<=t?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,n=(t[0]+e)%360;return t[0]=n<0?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=this,i=e,a=void 0===t?.5:t,r=2*a-1,o=n.alpha()-i.alpha(),s=((r*o==-1?r:(r+o)/(1+r*o))+1)/2,l=1-s;return this.rgb(s*n.red()+l*i.red(),s*n.green()+l*i.green(),s*n.blue()+l*i.blue()).alpha(n.alpha()*a+i.alpha()*(1-a))},toJSON:function(){return this.rgb()},clone:function(){var e,t,n=new o,i=this.values,a=n.values;for(var r in i)i.hasOwnProperty(r)&&(e=i[r],"[object Array]"===(t={}.toString.call(e))?a[r]=e.slice(0):"[object Number]"===t?a[r]=e:console.error("unexpected color value:",e));return n}},o.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},o.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},o.prototype.getValues=function(e){for(var t=this.values,n={},i=0;i<e.length;i++)n[e.charAt(i)]=t[e][i];return 1!==t.alpha&&(n.a=t.alpha),n},o.prototype.setValues=function(e,t){var n,i,a=this.values,r=this.spaces,o=this.maxes,s=1;if(this.valid=!0,"alpha"===e)s=t;else if(t.length)a[e]=t.slice(0,e.length),s=t[e.length];else if(void 0!==t[e.charAt(0)]){for(n=0;n<e.length;n++)a[e][n]=t[e.charAt(n)];s=t.a}else if(void 0!==t[r[e][0]]){var l=r[e];for(n=0;n<e.length;n++)a[e][n]=t[l[n]];s=t.alpha}if(a.alpha=Math.max(0,Math.min(1,void 0===s?a.alpha:s)),"alpha"===e)return!1;for(n=0;n<e.length;n++)i=Math.max(0,Math.min(o[e][n],a[e][n])),a[e][n]=Math.round(i);for(var c in r)c!==e&&(a[c]=d[e][c](a[e]));return!0},o.prototype.setSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n),this)},o.prototype.setChannel=function(e,t,n){var i=this.values[e];return void 0===n?i[t]:(n===i[t]||(i[t]=n,this.setValues(e,i)),this)},"undefined"!=typeof window&&(window.Color=o),t.exports=o},{2:2,5:5}],4:[function(e,t){function a(e){var t,n,i=e[0]/255,a=e[1]/255,r=e[2]/255,o=Math.min(i,a,r),s=Math.max(i,a,r),l=s-o;return s==o?t=0:i==s?t=(a-r)/l:a==s?t=2+(r-i)/l:r==s&&(t=4+(i-a)/l),(t=Math.min(60*t,360))<0&&(t+=360),n=(o+s)/2,[t,100*(s==o?0:n<=.5?l/(s+o):l/(2-s-o)),100*n]}function n(e){var t,n,i=e[0],a=e[1],r=e[2],o=Math.min(i,a,r),s=Math.max(i,a,r),l=s-o;return n=0==s?0:l/s*1e3/10,s==o?t=0:i==s?t=(a-r)/l:a==s?t=2+(r-i)/l:r==s&&(t=4+(i-a)/l),(t=Math.min(60*t,360))<0&&(t+=360),[t,n,s/255*1e3/10]}function i(e){var t=e[0],n=e[1],i=e[2];return[a(e)[0],1/255*Math.min(t,Math.min(n,i))*100,100*(i=1-1/255*Math.max(t,Math.max(n,i)))]}function o(e){var t,n=e[0]/255,i=e[1]/255,a=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-i,1-a)))/(1-t)||0),100*((1-i-t)/(1-t)||0),100*((1-a-t)/(1-t)||0),100*t]}function s(e){return _[JSON.stringify(e)]}function l(e){var t=e[0]/255,n=e[1]/255,i=e[2]/255;return[100*(.4124*(t=.04045<t?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=.04045<n?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(i=.04045<i?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*t+.7152*n+.0722*i),100*(.0193*t+.1192*n+.9505*i)]}function c(e){var t=l(e),n=t[0],i=t[1],a=t[2];return i/=100,a/=108.883,n=.008856<(n/=95.047)?Math.pow(n,1/3):7.787*n+16/116,[116*(i=.008856<i?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(a=.008856<a?Math.pow(a,1/3):7.787*a+16/116))]}function d(e){var t,n,i,a,r,o=e[0]/360,s=e[1]/100,l=e[2]/100;if(0==s)return[r=255*l,r,r];t=2*l-(n=l<.5?l*(1+s):l+s-l*s),a=[0,0,0];for(var c=0;c<3;c++)(i=o+1/3*-(c-1))<0&&i++,1<i&&i--,r=6*i<1?t+6*(n-t)*i:2*i<1?n:3*i<2?t+(n-t)*(2/3-i)*6:t,a[c]=255*r;return a}function u(e){var t=e[0]/60,n=e[1]/100,i=e[2]/100,a=Math.floor(t)%6,r=t-Math.floor(t),o=255*i*(1-n),s=255*i*(1-n*r),l=255*i*(1-n*(1-r));switch(i*=255,a){case 0:return[i,l,o];case 1:return[s,i,o];case 2:return[o,i,l];case 3:return[o,s,i];case 4:return[l,o,i];case 5:return[i,o,s]}}function f(e){var t,n,i,a,o=e[0]/360,s=e[1]/100,l=e[2]/100,c=s+l;switch(1<c&&(s/=c,l/=c),i=6*o-(t=Math.floor(6*o)),0!=(1&t)&&(i=1-i),a=s+i*((n=1-l)-s),t){default:case 6:case 0:r=n,g=a,b=s;break;case 1:r=a,g=n,b=s;break;case 2:r=s,g=n,b=a;break;case 3:r=s,g=a,b=n;break;case 4:r=a,g=s,b=n;break;case 5:r=n,g=s,b=a}return[255*r,255*g,255*b]}function h(e){var t=e[0]/100,n=e[1]/100,i=e[2]/100,a=e[3]/100;return[255*(1-Math.min(1,t*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a)),255*(1-Math.min(1,i*(1-a)+a))]}function p(e){var t,n,i,a=e[0]/100,r=e[1]/100,o=e[2]/100;return n=-.9689*a+1.8758*r+.0415*o,i=.0557*a+-.204*r+1.057*o,t=.0031308<(t=3.2406*a+-1.5372*r+-.4986*o)?1.055*Math.pow(t,1/2.4)-.055:t*=12.92,n=.0031308<n?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,i=.0031308<i?1.055*Math.pow(i,1/2.4)-.055:i*=12.92,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(i=Math.min(Math.max(0,i),1))]}function m(e){var t=e[0],n=e[1],i=e[2];return n/=100,i/=108.883,t=.008856<(t/=95.047)?Math.pow(t,1/3):7.787*t+16/116,[116*(n=.008856<n?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(i=.008856<i?Math.pow(i,1/3):7.787*i+16/116))]}function v(e){var t,n,i,a,r=e[0],o=e[1],s=e[2];return r<=8?a=(n=100*r/903.3)/100*7.787+16/116:(n=100*Math.pow((r+16)/116,3),a=Math.pow(n/100,1/3)),[t=t/95.047<=.008856?t=95.047*(o/500+a-16/116)/7.787:95.047*Math.pow(o/500+a,3),n,i=i/108.883<=.008859?i=108.883*(a-s/200-16/116)/7.787:108.883*Math.pow(a-s/200,3)]}function y(e){var t,n=e[0],i=e[1],a=e[2];return(t=360*Math.atan2(a,i)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(i*i+a*a),t]}function x(e){return p(v(e))}function k(e){var t,n=e[0],i=e[1];return t=e[2]/360*2*Math.PI,[n,i*Math.cos(t),i*Math.sin(t)]}function S(e){return w[e]}t.exports={rgb2hsl:a,rgb2hsv:n,rgb2hwb:i,rgb2cmyk:o,rgb2keyword:s,rgb2xyz:l,rgb2lab:c,rgb2lch:function(e){return y(c(e))},hsl2rgb:d,hsl2hsv:function(e){var t=e[0],n=e[1]/100,i=e[2]/100;return 0===i?[0,0,0]:[t,2*(n*=(i*=2)<=1?i:2-i)/(i+n)*100,(i+n)/2*100]},hsl2hwb:function(e){return i(d(e))},hsl2cmyk:function(e){return o(d(e))},hsl2keyword:function(e){return s(d(e))},hsv2rgb:u,hsv2hsl:function(e){var t,n,i=e[0],a=e[1]/100,r=e[2]/100;return t=a*r,[i,100*(t=(t/=(n=(2-a)*r)<=1?n:2-n)||0),100*(n/=2)]},hsv2hwb:function(e){return i(u(e))},hsv2cmyk:function(e){return o(u(e))},hsv2keyword:function(e){return s(u(e))},hwb2rgb:f,hwb2hsl:function(e){return a(f(e))},hwb2hsv:function(e){return n(f(e))},hwb2cmyk:function(e){return o(f(e))},hwb2keyword:function(e){return s(f(e))},cmyk2rgb:h,cmyk2hsl:function(e){return a(h(e))},cmyk2hsv:function(e){return n(h(e))},cmyk2hwb:function(e){return i(h(e))},cmyk2keyword:function(e){return s(h(e))},keyword2rgb:S,keyword2hsl:function(e){return a(S(e))},keyword2hsv:function(e){return n(S(e))},keyword2hwb:function(e){return i(S(e))},keyword2cmyk:function(e){return o(S(e))},keyword2lab:function(e){return c(S(e))},keyword2xyz:function(e){return l(S(e))},xyz2rgb:p,xyz2lab:m,xyz2lch:function(e){return y(m(e))}
vendor: 4,229 bytes, line 10
10,lab2xyz:v,lab2rgb:x,lab2lch:y,lch2lab:k,lch2xyz:function(e){return v(k(e))},lch2rgb:function(e){return x(k(e))}};var w={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},_={};for(var C in w)_[JSON.stringify(w[C])]=C},{}],5:[function(e,t){var a=e(4),r=function(){return new l};for(var n in a){r[n+"Raw"]=function(t){return function(e){return"number"==typeof e&&(e=Array.prototype.slice.call(arguments)),a[t](e)}}(n);var i=/(\w+)2(\w+)/.exec(n),o=i[1],s=i[2];(r[o]=r[o]||{})[s]=r[n]=function(i){return function(e){"number"==typeof e&&(e=Array.prototype.slice.call(arguments));var t=a[i](e);if("string"==typeof t||void 0===t)return t;for(var n=0;n<t.length;n++)t[n]=Math.round(t[n]);return t}}(n)}var l=function(){this.convs={}};l.prototype.routeSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n
vendor: 20,257 bytes, lines 10-11
10))},l.prototype.setValues=function(e,t){return this.space=e,this.convs={},this.convs[e]=t,this},l.prototype.getValues=function(e){var t=this.convs[e];if(!t){var n=this.space,i=this.convs[n];t=r[n][e](i),this.convs[e]=t}return t},["rgb","hsl","hsv","cmyk","keyword"].forEach(function(t){l.prototype[t]=function(e){return this.routeSpace(t,arguments)}}),t.exports=r},{4:4}],6:[function(e,t){"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},{}],7:[function(e,t){var n=e(29)();n.helpers=e(45),e(27)(n),n.defaults=e(25),n.Element=e(26),n.elements=e(40),n.Interaction=e(28),n.layouts=e(30),n.platform=e(48),n.plugins=e(31),n.Ticks=e(34),e(22)(n),e(23)(n),e(24)(n),e(33)(n),e(32)(n),e(35)(n),e(55)(n),e(53)(n),e(54)(n),e(56)(n),e(57)(n),e(58)(n),e(15)(n),e(16)(n),e(17)(n),e(18)(n),e(19)(n),e(20)(n),e(21)(n),e(8)(n),e(9)(n),e(10)(n),e(11)(n),e(12)(n),e(13)(n),e(14)(n);var i=e(49);for(var a in i)i.hasOwnProperty(a)&&n.plugins.register(i[a]);n.platform.initialize(),t.exports=n,"undefined"!=typeof window&&(window.Chart=n),n.Legend=i.legend._element,n.Title=i.title._element,n.pluginService=n.plugins,n.PluginBase=n.Element.extend({}),n.canvasHelpers=n.helpers.canvas,n.layoutService=n.layouts},{10:10,11:11,12:12,13:13,14:14,15:15,16:16,17:17,18:18,19:19,20:20,21:21,22:22,23:23,24:24,25:25,26:26,27:27,28:28,29:29,30:30,31:31,32:32,33:33,34:34,35:35,40:40,45:45,48:48,49:49,53:53,54:54,55:55,56:56,57:57,58:58,8:8,9:9}],8:[function(e,t){"use strict";t.exports=function(n){n.Bar=function(e,t){return t.type="bar",new n(e,t)}}},{}],9:[function(e,t){"use strict";t.exports=function(n){n.Bubble=function(e,t){return t.type="bubble",new n(e,t)}}},{}],10:[function(e,t){"use strict";t.exports=function(n){n.Doughnut=function(e,t){return t.type="doughnut",new n(e,t)}}},{}],11:[function(e,t){"use strict";t.exports=function(n){n.Line=function(e,t){return t.type="line",new n(e,t)}}},{}],12:[function(e,t){"use strict";t.exports=function(n){n.PolarArea=function(e,t){return t.type="polarArea",new n(e,t)}}},{}],13:[function(e,t){"use strict";t.exports=function(n){n.Radar=function(e,t){return t.type="radar",new n(e,t)}}},{}],14:[function(e,t){"use strict";t.exports=function(n){n.Scatter=function(e,t){return t.type="scatter",new n(e,t)}}},{}],15:[function(e,t){"use strict";var n=e(25),i=e(40),C=e(45);n._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),n._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(e,t){var n="";return 0<e.length&&(e[0].yLabel?n=e[0].yLabel:0<t.labels.length&&e[0].index<t.labels.length&&(n=t.labels[e[0].index])),n},label:function(e,t){return(t.datasets[e.datasetIndex].label||"")+": "+e.xLabel}},mode:"index",axis:"y"}}),t.exports=function(t){t.controllers.bar=t.DatasetController.extend({dataElementType:i.Rectangle,initialize:function(){var e;t.DatasetController.prototype.initialize.apply(this,arguments),(e=this.getMeta()).stack=this.getDataset().stack,e.bar=!0},update:function(e){var t,n,i=this.getMeta().data;for(this._ruler=this.getRuler(),t=0,n=i.length;t<n;++t)this.updateElement(i[t],t,e)},updateElement:function(e,t,n){var i=this,a=i.chart,r=i.getMeta(),o=i.getDataset(),s=e.custom||{},l=a.options.elements.rectangle;e._xScale=i.getScaleForId(r.xAxisID),e._yScale=i.getScaleForId(r.yAxisID),e._datasetIndex=i.index,e._index=t,e._model={datasetLabel:o.label,label:a.data.labels[t],borderSkipped:s.borderSkipped?s.borderSkipped:l.borderSkipped,backgroundColor:s.backgroundColor?s.backgroundColor:C.valueAtIndexOrDefault(o.backgroundColor,t,l.backgroundColor),borderColor:s.borderColor?s.borderColor:C.valueAtIndexOrDefault(o.borderColor,t,l.borderColor),borderWidth:s.borderWidth?s.borderWidth:C.valueAtIndexOrDefault(o.borderWidth,t,l.borderWidth)},i.updateElementGeometry(e,t,n),e.pivot()},updateElementGeometry:function(e,t,n){var i=this,a=e._model,r=i.getValueScale(),o=r.getBasePixel(),s=r.isHorizontal(),l=i._ruler||i.getRuler(),c=i.calculateBarValuePixels(i.index,t),d=i.calculateBarIndexPixels(i.index,t,l);a.horizontal=s,a.base=n?o:c.base,a.x=s?n?o:c.head:d.center,a.y=s?d.center:n?o:c.head,a.height=s?d.size:void 0,a.width=s?void 0:d.size},getValueScaleId:function(){return this.getMeta().yAxisID},getIndexScaleId:function(){return this.getMeta().xAxisID},getValueScale:function(){return this.getScaleForId(this.getValueScaleId())},getIndexScale:function(){return this.getScaleForId(this.getIndexScaleId())},_getStacks:function(e){var t,n,i=this.chart,a=this.getIndexScale().options.stacked,r=void 0===e?i.data.datasets.length:e+1,o=[];for(t=0;t<r;++t)(n=i.getDatasetMeta(t)).bar&&i.isDatasetVisible(t)&&(!1===a||!0===a&&-1===o.indexOf(n.stack)||void 0===a&&(void 0===n.stack||-1===o.indexOf(n.stack)))&&o.push(n.stack);return o},getStackCount:function(){return this._getStacks().length},getStackIndex:function(e,t){var n=this._getStacks(e),i=void 0!==t?n.indexOf(t):-1;return-1===i?n.length-1:i},getRuler:function(){var e,t,n=this.getIndexScale(),i=this.getStackCount(),a=this.index,r=n.isHorizontal(),o=r?n.left:n.top,s=o+(r?n.width:n.height),l=[];for(e=0,t=this.getMeta().data.length;e<t;++e)l.push(n.getPixelForValue(null,e,a));return{min:C.isNullOrUndef(n.options.barThickness)?function(e,t){var n,i,a,r,o=e.isHorizontal()?e.width:e.height,s=e.getTicks();for(a=1,r=t.length;a<r;++a)o=Math.min(o,t[a]-t[a-1]);for(a=0,r=s.length;a<r;++a)i=e.getPixelForTick(a),o=0<a?Math.min(o,i-n):o,n=i;return o}(n,l):-1,pixels:l,start:o,end:s,stackCount:i,scale:n}},calculateBarValuePixels:function(e,t){var n,i,a,r,o,s,l=this.chart,c=this.getMeta(),d=this.getValueScale(),u=l.data.datasets,f=d.getRightValue(u[e].data[t]),h=d.options.stacked,p=c.stack,m=0;if(h||void 0===h&&void 0!==p)for(n=0;n<e;++n)(i=l.getDatasetMeta(n)).bar&&i.stack===p&&i.controller.getValueScaleId()===d.id&&l.isDatasetVisible(n)&&(a=d.getRightValue(u[n].data[t]),(f<0&&a<0||0<=f&&0<a)&&(m+=a));return r=d.getPixelForValue(m),{size:s=((o=d.getPixelForValue(m+f))-r)/2,base:r,head:o,center:o+s/2}},calculateBarIndexPixels:function(e,t,n){var i,a,r,o,s,l,c,d,u,f,h,p,m,g,b,v,y,x=n.scale.options,k="flex"===x.barThickness?(u=t,h=x,g=(m=(f=n).pixels)[u],b=0<u?m[u-1]:null,v=u<m.length-1?m[u+1]:null,y=h.categoryPercentage,null===b&&(b=g-(null===v?f.end-g:v-g)),null===v&&(v=g+g-b),p=g-(g-b)/2*y,{chunk:(v-b)/2*y/f.stackCount,ratio:h.barPercentage,start:p}):(i=t,a=n,l=(r=x).barThickness,c=a.stackCount,d=a.pixels[i],C.isNullOrUndef(l)?(o=a.min*r.categoryPercentage,s=r.barPercentage):(o=l*c,s=1),{chunk:o/c,ratio:s,start:d-o/2}),S=this.getStackIndex(e,this.getMeta().stack),w=k.start+k.chunk*S+k.chunk/2,_=Math.min(C.valueOrDefault(x.maxBarThickness,1/0),k.chunk*k.ratio);return{base:w-_/2,head:w+_/2,center:w,size:_}},draw:function(){var e=this.chart,t=this.getValueScale(),n=this.getMeta().data,i=this.getDataset(),a=n.length,r=0;for(C.canvas.clipArea(e.ctx,e.chartArea);r<a;++r)isNaN(t.getRightValue(i.data[r]))||n[r].draw();C.canvas.unclipArea(e.ctx)},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,i=e.custom||{},a=e._model;a.backgroundColor=i.hoverBackgroundColor?i.hoverBackgroundColor:C.valueAtIndexOrDefault(t.hoverBackgroundColor,n,C.getHoverColor(a.backgroundColor)),a.borderColor=i.hoverBorderColor?i.hoverBorderColor:C.valueAtIndexOrDefault(t.hoverBorderColor,n,C.getHoverColor(a.borderColor)),a.borderWidth=i.hoverBorderWidth?i.hoverBorderWidth:C.valueAtIndexOrDefault(t.hoverBorderWidth,n,a.borderWidth)},removeHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,i=e.custom||{},a=e._model,r=this.chart.options.elements.rectangle;a.backgroundColor=i.backgroundColor?i.backgroundColor:C.valueAtIndexOrDefault(t.backgroundColor,n,r.backgroundColor),a.borderColor=i.borderColor?i.borderColor:C.valueAtIndexOrDefault(t.borderColor,n,r.borderColor),a.borderWidth=i.borderWidth?i.borderWidth:C.valueAtIndexOrDefault(t.borderWidth,n,r.borderWidth)}}),t.controllers.horizontalBar=t.controllers.bar.extend({getValueScaleId:function(){return this.getMeta().xAxisID},getIndexScaleId:function(){return this.getMeta().yAxisID}})}},{25:25,40:40,45:45}],16:[function(e,t){"use strict";var n=e(25),i=e(40),p=e(45);n._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(e,t){var n=t.datasets[e.datasetIndex].label||"",i=t.datasets[e.datasetIndex].data[e.index];return n+": ("+e.xLabel+", "+e.yLabel+", "+i.r+")"}}}}),t.exports=function(e){e.controllers.bubble=e.DatasetController.extend({dataElementType:i.Point,update:function(n){var i=this,e=i.getMeta().data;p.each(e,function(e,t){i.updateElement(e,t,n)})},updateElement:function(e,t,n){var i=this,a=i.getMeta(),r=e.custom||{},o=i.getScaleForId(a.xAxisID),s=i.getScaleForId(a.yAxisID),l=i._resolveElementOptions(e,t),c=i.getDataset().data[t],d=i.index,u=n?o.getPixelForDecimal(.5):o.getPixelForValue("object"==typeof c?c:NaN,t,d),f=n?s.getBasePixel():s.getPixelForValue(c,t,d);e._xScale=o,e._yScale=s,e._options=l,e._datasetIndex=d,e._index=t,e._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,radius:n?0:l.radius,skip:r.skip||isNaN(u)||isNaN(f),x:u,y:f},e.pivot()},setHoverStyle:function(e){var t=e._model,n=e._options;t.backgroundColor=p.valueOrDefault(n.hoverBackgroundColor,p.getHoverColor(n.backgroundColor)),t.borderColor=p.valueOrDefault(n.hoverBorderColor,p.getHoverColor(n.borderColor)),t.borderWidth=p.valueOrDefault(n.hoverBorderWidth,n.borderWidth),t.radius=n.radius+n.hoverRadius},removeHoverStyle:function(e){var t=e._model,n=e._options;t.backgroundColor=n.backgroundColor,t.borderColor=n.borderColor,t.borderWidth=n.borderWidth,t.radius=n.radius},_resolveElementOptions:function(e,t){var n,i,a,r=this.chart,o=r.data.datasets[this.index],s=e.custom||{},l=r.options.elements.point,c=p.options.resolve,d=o.data[t],u={},f={chart:r,dataIndex:t,dataset:o,datasetIndex:this.index},h=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle"];for(n=0,i=h.length;n<i;++n)u[a=h[n]]=c([s[a],o[a],l[a]],f,t);return u.radius=c([s.radius,d?d.r:void 0,o.radius,l.radius],f,t),u}})}},{25:25,40:40,45:45}],17:[function(e,t){"use strict";var n=e(25),i=e(40),j=e(45);n._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(e){var t=[];t.push('<ul class="'+e.id+'-legend">');var n=e.data,i=n.datasets,a=n.labels;if(i.length)for(var r=0;r<i[0].data.length;++r)t.push('<li><span style="background-color:'+i[0].backgroundColor[r]+'"></span>'),a[r]&&t.push(a[r]),t.push("</li>");return t.push("</ul>"),t.join("")},legend:{labels:{generateLabels:function(l){var c=l.data;return c.labels.length&&c.datasets.length?c.labels.map(function(e,t){var n=l.getDatasetMeta(0),i=c.datasets[0],a=n.data[t],r=a&&a.custom||{},o=j.valueAtIndexOrDefault,s=l.options.elements.arc;return{text:e,fillStyle:r.backgroundColor?r.backgroundColor:o(i.backgroundColor,t,s.backgroundColor),strokeStyle:r.borderColor?r.borderColor:o(i.borderColor,t,s.borderColor),lineWidth:r.borderWidth?r.borderWidth:o(i.borderWidth,t,s.borderWidth),hidden:isNaN(i.data[t])||n.data[t].hidden,index:t}}):[]}},onClick:function(e,t){var n,i,a,r=t.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;n<i;++n)(a=o.getDatasetMeta(n)).data[r]&&(a.data[r].hidden=!a.data[r].hidden);o.update()}},cutoutPercentage:50,rotation:-.5*Math.PI,circumference:2*Math.PI,tooltips:{callbacks:{title:function(){return""},label:function(e,t){var n=t.labels[e.index],i=": "+t.datasets[e.datasetIndex].data[e.index];return j.isArray(n)?(n=n.slice())[0]+=i:n+=i,n}}}}),n._set("pie",j.clone(n.doughnut)),n._set("pie",{cutoutPercentage:0}),t.exports=function(t){t.controllers.doughnut=t.controllers.pie=t.DatasetController.extend({dataElementType:i.Arc,linkScales:j.noop,getRingIndex:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&++t;return t},update:function(n){var i=this,e=i.chart,t=e.chartArea,a=e.options,r=a.elements.arc,o=t.right-t.left-r.borderWidth,s=t.bottom-t.top-r.borderWidth,l=Math.min(o,s),c={x:0,y:0},d=i.getMeta(),u=a.cutoutPercentage,f=a.circumference;if(f<2*Math.PI){var h=a.rotation%(2*Math.PI),p=(h+=2*Math.PI*(h>=Math.PI?-1:h<-Math.PI?1:0))+f,m=Math.cos(h),g=Math.sin(h),b=Math.cos(p),v=Math.sin(p),y=h<=0&&0<=p||h<=2*Math.PI&&2*Math.PI<=p,x=h<=.5*Math.PI&&.5*Math.PI<=p||h<=2.5*Math.PI&&2.5*Math.PI<=p,k=h<=-Math.PI&&-Math.PI<=p||h<=Math.PI&&Math.PI<=p,S=h<=.5*-Math.PI&&.5*-Math.PI<=p||h<=1.5*Math.PI&&1.5*Math.PI<=p,w=u/100,_=k?-1:Math.min(m*(m<0?1:w),b*(b<0?1:w)),C=S?-1:Math.min(g*(g<0?1:w),v*(v<0?1:w)),M=y?1:Math.max(m*(0<m?1:w),b*(0<b?1:w)),T=x?1:Math.max(g*(0<g?1:w),v*(0<v?1:w)),P=.5*(M-_),D=.5*(T-C);l=Math.min(o/P,s/D),c={x:-.5*(M+_),y:-.5*(T+C)}}e.borderWidth=i.getMaxBorderWidth(d.data),e.outerRadius=Math.max((l-e.borderWidth)/2,0),e.innerRadius=Math.max(u?e.outerRadius/100*u:0,0),e.radiusLength=(e.outerRadius-e.innerRadius)/e.getVisibleDatasetCount(),e.offsetX=c.x*e.outerRadius,e.offsetY=c.y*e.outerRadius,d.total=i.calculateTotal(),i.outerRadius=e.outerRadius-e.radiusLength*i.getRingIndex(i.index),i.innerRadius=Math.max(i.outerRadius-e.radiusLength,0),j.each(d.data,function(e,t){i.updateElement(e,t,n)})},updateElement:function(e,t,n){var i=this,a=i.chart,r=a.chartArea,o=a.options,s=o.animation,l=(r.left+r.right)/2,c=(r.top+r.bottom)/2,d=o.rotation,u=o.rotation,f=i.getDataset(),h=n&&s.animateRotate?0:e.hidden?0:i.calculateCircumference(f.data[t])*(o.circumference/(2*Math.PI)),p=n&&s.animateScale?0:i.innerRadius,m=n&&s.animateScale?0:i.outerRadius,g=j.valueAtIndexOrDefault;j.extend(e,{_datasetIndex:i.index,_index:t,_model:{x:l+a.offsetX,y:c+a.offsetY,startAngle:d,endAngle:u,circumference:h,outerRadius:m,innerRadius:p,label:g(f.label,t,a.data.labels[t])}});var b=e._model;this.removeHoverStyle(e),n&&s.animateRotate||(b.startAngle=0===t?o.rotation:i.getMeta().data[t-1]._model.endAngle,b.endAngle=b.startAngle+b.circumference),e.pivot()},removeHoverStyle:function(e){t.DatasetController.prototype.removeHoverStyle.call(this,e,this.chart.options.elements.arc)},calculateTotal:function(){var n,i=this.getDataset(),e=this.getMeta(),a=0;return j.each(e.data,function(e,t){n=i.data[t],isNaN(n)||e.hidden||(a+=Math.abs(n))}),a},calculateCircumference:function(e){var t=this.getMeta().total;return 0<t&&!isNaN(e)?2*Math.PI*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){for(var t,n,i=0,a=this.index,r=e.length,o=0;o<r;o++)t=e[o]._model?e[o]._model.borderWidth:0,i=(n=e[o]._chart?e[o]._chart.config.data.datasets[a].hoverBorderWidth:0)>(i=i<t?t:i)?n:i;return i}})}},{25:25,40:40,45:45}],18:[function(e,t){"use strict";var n=e(25),i=e(40),p=e(45);n._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),t.exports=function(e){function h(e,t){return p.valueOrDefault(e.showLine,t.showLines)}e.controllers.line=e.DatasetController.extend({datasetElementType:i.Line,dataElementType:i.Point,update:function(e){var t,n,i,a=this,r=a.getMeta(),o=r.dataset,s=r.data||[],l=a.chart.options,c=l.elements.line,d=a.getScaleForId(r.yAxisID),u=a.getDataset(),f=h(u,l);for(f&&(i=o.custom||{}, 11void 0!==u.tension&&void 0===u.lineTension&&(u.lineTension=u.tension),o._scale=d,o._datasetIndex=a.index,o._children=s,o._model={spanGaps:u.spanGaps?u.spanGaps:l.spanGaps,tension:i.tension?i.tension:p.valueOrDefault(u.lineTension,c.tension),backgroundColor:i.backgroundColor?i.backgroundColor:u.backgroundColor||c.backgroundColor,borderWidth:i.borderWidth?i.borderWidth:u.borderWidth||c.borderWidth,borderColor:i.borderColor?i.borderColor:u.borderColor||c.borderColor,borderCapStyle:i.borderCapStyle?i.borderCapStyle:u.borderCapStyle||c.borderCapStyle,borderDash:i.borderDash?i.borderDash:u.borderDash||c.borderDash,borderDashOffset:i.borderDashOffset?i.borderDashOffset:u.borderDashOffset||c.borderDashOffset,borderJoinStyle:i.borderJoinStyle?i.borderJoinStyle:u.borderJoinStyle||c.borderJoinStyle,fill:i.fill?i.fill:void 0!==u.fill?u.fill:c.fill,steppedLine:i.steppedLine?i.steppedLine:p.valueOrDefault(u.steppedLine,c.stepped),cubicInterpolationMode:i.cubicInterpolationMode?i.cubicInterpolationMode:p.valueOrDefault(u.cubicInterpolationMode,c.cubicInterpolationMode)},o.pivot()),t=0,n=s.length;t<n;++t)a.updateElement(s[t],t,e);for(f&&0!==o._model.tension&&a.updateBezierControlPoints(),t=0,n=s.length;t<n;++t)s[t].pivot()}
vendor: 11,558 bytes, line 11
11,getPointBackgroundColor:function(e,t){var n=this.chart.options.elements.point.backgroundColor,i=this.getDataset(),a=e.custom||{};return a.backgroundColor?n=a.backgroundColor:i.pointBackgroundColor?n=p.valueAtIndexOrDefault(i.pointBackgroundColor,t,n):i.backgroundColor&&(n=i.backgroundColor),n},getPointBorderColor:function(e,t){var n=this.chart.options.elements.point.borderColor,i=this.getDataset(),a=e.custom||{};return a.borderColor?n=a.borderColor:i.pointBorderColor?n=p.valueAtIndexOrDefault(i.pointBorderColor,t,n):i.borderColor&&(n=i.borderColor),n},getPointBorderWidth:function(e,t){var n=this.chart.options.elements.point.borderWidth,i=this.getDataset(),a=e.custom||{};return isNaN(a.borderWidth)?!isNaN(i.pointBorderWidth)||p.isArray(i.pointBorderWidth)?n=p.valueAtIndexOrDefault(i.pointBorderWidth,t,n):isNaN(i.borderWidth)||(n=i.borderWidth):n=a.borderWidth,n},updateElement:function(e,t,n){var i,a,r=this,o=r.getMeta(),s=e.custom||{},l=r.getDataset(),c=r.index,d=l.data[t],u=r.getScaleForId(o.yAxisID),f=r.getScaleForId(o.xAxisID),h=r.chart.options.elements.point;void 0!==l.radius&&void 0===l.pointRadius&&(l.pointRadius=l.radius),void 0!==l.hitRadius&&void 0===l.pointHitRadius&&(l.pointHitRadius=l.hitRadius),i=f.getPixelForValue("object"==typeof d?d:NaN,t,c),a=n?u.getBasePixel():r.calculatePointY(d,t,c),e._xScale=f,e._yScale=u,e._datasetIndex=c,e._index=t,e._model={x:i,y:a,skip:s.skip||isNaN(i)||isNaN(a),radius:s.radius||p.valueAtIndexOrDefault(l.pointRadius,t,h.radius),pointStyle:s.pointStyle||p.valueAtIndexOrDefault(l.pointStyle,t,h.pointStyle),backgroundColor:r.getPointBackgroundColor(e,t),borderColor:r.getPointBorderColor(e,t),borderWidth:r.getPointBorderWidth(e,t),tension:o.dataset._model?o.dataset._model.tension:0,steppedLine:!!o.dataset._model&&o.dataset._model.steppedLine,hitRadius:s.hitRadius||p.valueAtIndexOrDefault(l.pointHitRadius,t,h.hitRadius)}},calculatePointY:function(e,t,n){var i,a,r,o=this.chart,s=this.getMeta(),l=this.getScaleForId(s.yAxisID),c=0,d=0;if(l.options.stacked){for(i=0;i<n;i++)if(a=o.data.datasets[i],"line"===(r=o.getDatasetMeta(i)).type&&r.yAxisID===l.id&&o.isDatasetVisible(i)){var u=Number(l.getRightValue(a.data[t]));u<0?d+=u||0:c+=u||0}var f=Number(l.getRightValue(e));return f<0?l.getPixelForValue(d+f):l.getPixelForValue(c+f)}return l.getPixelForValue(e)},updateBezierControlPoints:function(){function e(e,t,n){return Math.max(Math.min(e,n),t)}var t,n,i,a,r=this.getMeta(),o=this.chart.chartArea,s=r.data||[];if(r.dataset._model.spanGaps&&(s=s.filter(function(e){return!e._model.skip})),"monotone"===r.dataset._model.cubicInterpolationMode)p.splineCurveMonotone(s);else for(t=0,n=s.length;t<n;++t)i=s[t]._model,a=p.splineCurve(p.previousItem(s,t)._model,i,p.nextItem(s,t)._model,r.dataset._model.tension),i.controlPointPreviousX=a.previous.x,i.controlPointPreviousY=a.previous.y,i.controlPointNextX=a.next.x,i.controlPointNextY=a.next.y;if(this.chart.options.elements.line.capBezierPoints)for(t=0,n=s.length;t<n;++t)(i=s[t]._model).controlPointPreviousX=e(i.controlPointPreviousX,o.left,o.right),i.controlPointPreviousY=e(i.controlPointPreviousY,o.top,o.bottom),i.controlPointNextX=e(i.controlPointNextX,o.left,o.right),i.controlPointNextY=e(i.controlPointNextY,o.top,o.bottom)},draw:function(){var e=this.chart,t=this.getMeta(),n=t.data||[],i=e.chartArea,a=n.length,r=0;for(p.canvas.clipArea(e.ctx,i),h(this.getDataset(),e.options)&&t.dataset.draw(),p.canvas.unclipArea(e.ctx);r<a;++r)n[r].draw(i)},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,i=e.custom||{},a=e._model;a.radius=i.hoverRadius||p.valueAtIndexOrDefault(t.pointHoverRadius,n,this.chart.options.elements.point.hoverRadius),a.backgroundColor=i.hoverBackgroundColor||p.valueAtIndexOrDefault(t.pointHoverBackgroundColor,n,p.getHoverColor(a.backgroundColor)),a.borderColor=i.hoverBorderColor||p.valueAtIndexOrDefault(t.pointHoverBorderColor,n,p.getHoverColor(a.borderColor)),a.borderWidth=i.hoverBorderWidth||p.valueAtIndexOrDefault(t.pointHoverBorderWidth,n,a.borderWidth)},removeHoverStyle:function(e){var t=this,n=t.chart.data.datasets[e._datasetIndex],i=e._index,a=e.custom||{},r=e._model;void 0!==n.radius&&void 0===n.pointRadius&&(n.pointRadius=n.radius),r.radius=a.radius||p.valueAtIndexOrDefault(n.pointRadius,i,t.chart.options.elements.point.radius),r.backgroundColor=t.getPointBackgroundColor(e,i),r.borderColor=t.getPointBorderColor(e,i),r.borderWidth=t.getPointBorderWidth(e,i)}})}},{25:25,40:40,45:45}],19:[function(e,t){"use strict";var n=e(25),i=e(40),k=e(45);n._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(e){var t=[];t.push('<ul class="'+e.id+'-legend">');var n=e.data,i=n.datasets,a=n.labels;if(i.length)for(var r=0;r<i[0].data.length;++r)t.push('<li><span style="background-color:'+i[0].backgroundColor[r]+'"></span>'),a[r]&&t.push(a[r]),t.push("</li>");return t.push("</ul>"),t.join("")},legend:{labels:{generateLabels:function(s){var l=s.data;return l.labels.length&&l.datasets.length?l.labels.map(function(e,t){var n=s.getDatasetMeta(0),i=l.datasets[0],a=n.data[t].custom||{},r=k.valueAtIndexOrDefault,o=s.options.elements.arc;return{text:e,fillStyle:a.backgroundColor?a.backgroundColor:r(i.backgroundColor,t,o.backgroundColor),strokeStyle:a.borderColor?a.borderColor:r(i.borderColor,t,o.borderColor),lineWidth:a.borderWidth?a.borderWidth:r(i.borderWidth,t,o.borderWidth),hidden:isNaN(i.data[t])||n.data[t].hidden,index:t}}):[]}},onClick:function(e,t){var n,i,a,r=t.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;n<i;++n)(a=o.getDatasetMeta(n)).data[r].hidden=!a.data[r].hidden;o.update()}},tooltips:{callbacks:{title:function(){return""},label:function(e,t){return t.labels[e.index]+": "+e.yLabel}}}}),t.exports=function(t){t.controllers.polarArea=t.DatasetController.extend({dataElementType:i.Arc,linkScales:k.noop,update:function(n){var i=this,e=i.chart,t=e.chartArea,a=i.getMeta(),r=e.options,o=r.elements.arc,s=Math.min(t.right-t.left,t.bottom-t.top);e.outerRadius=Math.max((s-o.borderWidth/2)/2,0),e.innerRadius=Math.max(r.cutoutPercentage?e.outerRadius/100*r.cutoutPercentage:1,0),e.radiusLength=(e.outerRadius-e.innerRadius)/e.getVisibleDatasetCount(),i.outerRadius=e.outerRadius-e.radiusLength*i.index,i.innerRadius=i.outerRadius-e.radiusLength,a.count=i.countVisibleElements(),k.each(a.data,function(e,t){i.updateElement(e,t,n)})},updateElement:function(e,t,n){for(var i=this,a=i.chart,r=i.getDataset(),o=a.options,s=o.animation,l=a.scale,c=a.data.labels,d=i.calculateCircumference(r.data[t]),u=l.xCenter,f=l.yCenter,h=0,p=i.getMeta(),m=0;m<t;++m)isNaN(r.data[m])||p.data[m].hidden||++h;var g=o.startAngle,b=e.hidden?0:l.getDistanceFromCenterForValue(r.data[t]),v=g+d*h,y=v+(e.hidden?0:d),x=s.animateScale?0:l.getDistanceFromCenterForValue(r.data[t]);k.extend(e,{_datasetIndex:i.index,_index:t,_scale:l,_model:{x:u,y:f,innerRadius:0,outerRadius:n?x:b,startAngle:n&&s.animateRotate?g:v,endAngle:n&&s.animateRotate?g:y,label:k.valueAtIndexOrDefault(c,t,c[t])}}),i.removeHoverStyle(e),e.pivot()},removeHoverStyle:function(e){t.DatasetController.prototype.removeHoverStyle.call(this,e,this.chart.options.elements.arc)},countVisibleElements:function(){var n=this.getDataset(),e=this.getMeta(),i=0;return k.each(e.data,function(e,t){isNaN(n.data[t])||e.hidden||i++}),i},calculateCircumference:function(e){var t=this.getMeta().count;return 0<t&&!isNaN(e)?2*Math.PI/t:0}})}},{25:25,40:40,45:45}],20:[function(e,t){"use strict";var n=e(25),i=e(40),c=e(45);n._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),t.exports=function(e){e.controllers.radar=e.DatasetController.extend({datasetElementType:i.Line,dataElementType:i.Point,linkScales:c.noop,update:function(n){var i=this,e=i.getMeta(),t=e.dataset,a=e.data,r=t.custom||{},o=i.getDataset(),s=i.chart.options.elements.line,l=i.chart.scale;void 0!==o.tension&&void 0===o.lineTension&&(o.lineTension=o.tension),c.extend(e.dataset,{_datasetIndex:i.index,_scale:l,_children:a,_loop:!0,_model:{tension:r.tension?r.tension:c.valueOrDefault(o.lineTension,s.tension),backgroundColor:r.backgroundColor?r.backgroundColor:o.backgroundColor||s.backgroundColor,borderWidth:r.borderWidth?r.borderWidth:o.borderWidth||s.borderWidth,borderColor:r.borderColor?r.borderColor:o.borderColor||s.borderColor,fill:r.fill?r.fill:void 0!==o.fill?o.fill:s.fill,borderCapStyle:r.borderCapStyle?r.borderCapStyle:o.borderCapStyle||s.borderCapStyle,borderDash:r.borderDash?r.borderDash:o.borderDash||s.borderDash,borderDashOffset:r.borderDashOffset?r.borderDashOffset:o.borderDashOffset||s.borderDashOffset,borderJoinStyle:r.borderJoinStyle?r.borderJoinStyle:o.borderJoinStyle||s.borderJoinStyle}}),e.dataset.pivot(),c.each(a,function(e,t){i.updateElement(e,t,n)},i),i.updateBezierControlPoints()},updateElement:function(e,t,n){var i=this,a=e.custom||{},r=i.getDataset(),o=i.chart.scale,s=i.chart.options.elements.point,l=o.getPointPositionForValue(t,r.data[t]);void 0!==r.radius&&void 0===r.pointRadius&&(r.pointRadius=r.radius),void 0!==r.hitRadius&&void 0===r.pointHitRadius&&(r.pointHitRadius=r.hitRadius),c.extend(e,{_datasetIndex:i.index,_index:t,_scale:o,_model:{x:n?o.xCenter:l.x,y:n?o.yCenter:l.y,tension:a.tension?a.tension:c.valueOrDefault(r.lineTension,i.chart.options.elements.line.tension),radius:a.radius?a.radius:c.valueAtIndexOrDefault(r.pointRadius,t,s.radius),backgroundColor:a.backgroundColor?a.backgroundColor:c.valueAtIndexOrDefault(r.pointBackgroundColor,t,s.backgroundColor),borderColor:a.borderColor?a.borderColor:c.valueAtIndexOrDefault(r.pointBorderColor,t,s.borderColor),borderWidth:a.borderWidth?a.borderWidth:c.valueAtIndexOrDefault(r.pointBorderWidth,t,s.borderWidth),pointStyle:a.pointStyle?a.pointStyle:c.valueAtIndexOrDefault(r.pointStyle,t,s.pointStyle),hitRadius:a.hitRadius?a.hitRadius:c.valueAtIndexOrDefault(r.pointHitRadius,t,s.hitRadius)}}),e._model.skip=a.skip?a.skip:isNaN(e._model.x)||isNaN(e._model.y)},updateBezierControlPoints:function(){var a=this.chart.chartArea,r=this.getMeta();c.each(r.data,function(e,t){var n=e._model,i=c.splineCurve(c.previousItem(r.data,t,!0)._model,n,c.nextItem(r.data,t,!0)._model,n.tension);n.controlPointPreviousX=Math.max(Math.min(i.previous.x,a.right),a.left),n.controlPointPreviousY=Math.max(Math.min(i.previous.y,a.bottom),a.top),n.controlPointNextX=Math.max(Math.min(i.next.x,a.right),a.left),n.controlPointNextY=Math.max(Math.min(i.next.y,a.bottom),a.top),e.pivot()})},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e.custom||{},i=e._index,a=e._model;a.radius=n.hoverRadius?n.hoverRadius:c.valueAtIndexOrDefault(t.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius),a.backgroundColor=n.hoverBackgroundColor?n.hoverBackgroundColor:c.valueAtIndexOrDefault(t.pointHoverBackgroundColor,i,c.getHoverColor(a.backgroundColor)),a.borderColor=n.hoverBorderColor?n.hoverBorderColor:c.valueAtIndexOrDefault(t.pointHoverBorderColor,i,c.getHoverColor(a.borderColor)),a.borderWidth=n.hoverBorderWidth?n.hoverBorderWidth:c.valueAtIndexOrDefault(t.pointHoverBorderWidth,i,a.borderWidth)},removeHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e.custom||{},i=e._index,a=e._model,r=this.chart.options.elements.point;a.radius=n.radius?n.radius:c.valueAtIndexOrDefault(t.pointRadius,i,r.radius),a.backgroundColor=n.backgroundColor?n.backgroundColor:c.valueAtIndexOrDefault(t.pointBackgroun
vendor: 5,520 bytes, line 11
11dColor,i,r.backgroundColor),a.borderColor=n.borderColor?n.borderColor:c.valueAtIndexOrDefault(t.pointBorderColor,i,r.borderColor),a.borderWidth=n.borderWidth?n.borderWidth:c.valueAtIndexOrDefault(t.pointBorderWidth,i,r.borderWidth)}})}},{25:25,40:40,45:45}],21:[function(e,t){"use strict";e(25)._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(e){return"("+e.xLabel+", "+e.yLabel+")"}}}}),t.exports=function(e){e.controllers.scatter=e.controllers.line}},{25:25}],22:[function(e,t){"use strict";var n=e(25),i=e(26),r=e(45);n._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:r.noop,onComplete:r.noop}}),t.exports=function(e){e.Animation=i.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),e.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(e,t,n,i){var a,r,o=this.animations;for(t.chart=e,i||(e.animating=!0),a=0,r=o.length;a<r;++a)if(o[a].chart===e)return void(o[a]=t);o.push(t),1===o.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var e=r.findIndex(this.animations,function(e){return e.chart===t});-1!==e&&(this.animations.splice(e,1),t.animating=!1)},requestAnimationFrame:function(){var e=this;null===e.request&&(e.request=r.requestAnimFrame.call(window,function(){e.request=null,e.startDigest()}))},startDigest:function(){var e=this,t=Date.now(),n=0;1<e.dropFrames&&(n=Math.floor(e.dropFrames),e.dropFrames=e.dropFrames%1),e.advance(1+n);var i=Date.now();e.dropFrames+=(i-t)/e.frameDuration,0<e.animations.length&&e.requestAnimationFrame()},advance:function(e){for(var t,n,i=this.animations,a=0;a<i.length;)n=(t=i[a]).chart,t.currentStep=(t.currentStep||0)+e,t.currentStep=Math.min(t.currentStep,t.numSteps),r.callback(t.render,[n,t],n),r.callback(t.onAnimationProgress,[t],n),t.currentStep>=t.numSteps?(r.callback(t.onAnimationComplete,[t],n),n.animating=!1,i.splice(a,1)):++a}},Object.defineProperty(e.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(e.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(e){this.chart=e}})}},{25:25,26:26,45:45}],23:[function(e,t){"use strict";var u=e(25),f=e(45),a=e(28),o=e(30),h=e(48),l=e(31);t.exports=function(c){function d(e){return"top"===e||"bottom"===e}c.types={},c.instances={},c.controllers={},f.extend(c.prototype,{construct:function(e,t){var n,i,a=this;(i=(n=(n=t)||{}).data=n.data||{}).datasets=i.datasets||[],i.labels=i.labels||[],n.options=f.configMerge(u.global,u[n.type],n.options||{}),t=n;var r=h.acquireContext(e,t),o=r&&r.canvas,s=o&&o.height,l=o&&o.width;a.id=f.uid(),a.ctx=r,a.canvas=o,a.config=t,a.width=l,a.height=s,a.aspectRatio=s?l/s:null,a.options=t.options,a._bufferedRender=!1,(a.chart=a).controller=a,c.instances[a.id]=a,Object.defineProperty(a,"data",{get:function(){return a.config.data},set:function(e){a.config.data=e}}),r&&o?(a.initialize(),a.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var e=this;return l.notify(e,"beforeInit"),f.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.initToolTip(),l.notify(e,"afterInit"),e},clear:function(){return f.canvas.clear(this),this},stop:function(){return c.animationService.cancelAnimation(this),this},resize:function(e){var t=this,n=t.options,i=t.canvas,a=n.maintainAspectRatio&&t.aspectRatio||null,r=Math.max(0,Math.floor(f.getMaximumWidth(i))),o=Math.max(0,Math.floor(a?r/a:f.getMaximumHeight(i)));if((t.width!==r||t.height!==o)&&(i.width=t.width=r,i.height=t.height=o,i.style.width=r+"px",i.style.height=o+"px",f.retinaScale(t,n.devicePixelRatio),!e)){var s={width:r,height:o};l.notify(t,"resize",[s]),t.options.onResize&&t.options.onResize(t,s),t.stop(),t.update(t.options.responsiveAnimationDuration)}},ensureScalesHaveIDs:function(){var e=this.options,t=e.scales||{},n=e.scale;f.each(t.xAxes,function(e,t){e.id=e.id||"x-axis-"+t}),f.each(t.yAxes,function(e,t){e.id=e.id||"y-axis-"+t}),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var o=this,e=o.options,s=o.scales||{},t=[],l=Object.keys(s).reduce(function(e,t){return e[t]=!1,e},{});e.scales&&(t=t.concat((e.scales.xAxes||[]).map(function(e){return{options:e,dtype:"category",dposition:"bottom"}}),(e.scales.yAxes||[]).map(function(e){return{options:e,dtype:"linear",dposition:"left"}}))),e.scale&&t.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),f.each(t,function(e){var t=e.options,n=t.id,i=f.valueOrDefault(t.type,e.dtype);d(t.position)!==d(e.dposition)&&(t.position=e.dposition),l[n]=!0;var a=null;if(n in s&&s[n].type===i)(a=s[n]).options=t,a.ctx=o.ctx,a.chart=o;else{var r=c.scaleService.getScaleConstructor(i);if(!r)return;a=new r({id:n,type:i,options:t,ctx:o.ctx,chart:o}),s[a.id]=a}a.mergeTicksOptions(),e.isDefault&&(o.scale=a)}),f.each(l,function(e,t){e||delete s[t]}),o.scales=s,c.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var r=this,o=[],s=[];return f.each(r.data.datasets,function(e,t){var n=r.getDatasetMeta(t),i=e.type||r.config.type;if(n.type&&n.type!==i&&(r.destroyDatasetMeta(t),n=r.getDatasetMeta(t)),n.type=i,o.push(n.type),n.controller)n.controller.updateIndex(t),n.c
vendor: 6,623 bytes, line 11
11ontroller.linkScales();else{var a=c.controllers[n.type];if(void 0===a)throw new Error('"'+n.type+'" is not a chart type.');n.controller=new a(r,t),s.push(n.controller)}},r),s},resetElements:function(){var n=this;f.each(n.data.datasets,function(e,t){n.getDatasetMeta(t).controller.reset()},n)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(e,t){var n,i,a=this;if(e&&"object"==typeof e||(e={duration:e,lazy:t}),i=(n=a).options,f.each(n.scales,function(e){o.removeBox(n,e)}),i=f.configMerge(c.defaults.global,c.defaults[n.config.type],i),n.options=n.config.options=i,n.ensureScalesHaveIDs(),n.buildOrUpdateScales(),n.tooltip._options=i.tooltips,n.tooltip.initialize(),l._invalidate(a),!1!==l.notify(a,"beforeUpdate")){a.tooltip._data=a.data;var r=a.buildOrUpdateControllers();f.each(a.data.datasets,function(e,t){a.getDatasetMeta(t).controller.buildOrUpdateElements()},a),a.updateLayout(),a.options.animation&&a.options.animation.duration&&f.each(r,function(e){e.reset()}),a.updateDatasets(),a.tooltip.initialize(),a.lastActive=[],l.notify(a,"afterUpdate"),a._bufferedRender?a._bufferedRequest={duration:e.duration,easing:e.easing,lazy:e.lazy}:a.render(e)}},updateLayout:function(){!1!==l.notify(this,"beforeLayout")&&(o.update(this,this.width,this.height),l.notify(this,"afterScaleUpdate"),l.notify(this,"afterLayout"))},updateDatasets:function(){if(!1!==l.notify(this,"beforeDatasetsUpdate")){for(var e=0,t=this.data.datasets.length;e<t;++e)this.updateDataset(e);l.notify(this,"afterDatasetsUpdate")}},updateDataset:function(e){var t=this.getDatasetMeta(e),n={meta:t,index:e};!1!==l.notify(this,"beforeDatasetUpdate",[n])&&(t.controller.update(),l.notify(this,"afterDatasetUpdate",[n]))},render:function(e,t){var n=this;e&&"object"==typeof e||(e={duration:e,lazy:t});var i=e.duration,a=e.lazy;if(!1!==l.notify(n,"beforeRender")){var r=n.options.animation,o=function(e){l.notify(n,"afterRender"),f.callback(r&&r.onComplete,[e],n)};if(r&&(void 0!==i&&0!==i||void 0===i&&0!==r.duration)){var s=new c.Animation({numSteps:(i||r.duration)/16.66,easing:e.easing||r.easing,render:function(e,t){var n=f.easing.effects[t.easing],i=t.currentStep,a=i/t.numSteps;e.draw(n(a),a,i)},onAnimationProgress:r.onProgress,onAnimationComplete:o});c.animationService.addAnimation(n,s,i,a)}else n.draw(),o(new c.Animation({numSteps:0,chart:n}));return n}},draw:function(e){var t=this;t.clear(),f.isNullOrUndef(e)&&(e=1),t.transition(e),!1!==l.notify(t,"beforeDraw",[e])&&(f.each(t.boxes,function(e){e.draw(t.chartArea)},t),t.scale&&t.scale.draw(),t.drawDatasets(e),t._drawTooltip(e),l.notify(t,"afterDraw",[e]))},transition:function(e){for(var t=0,n=(this.data.datasets||[]).length;t<n;++t)this.isDatasetVisible(t)&&this.getDatasetMeta(t).controller.transition(e);this.tooltip.transition(e)},drawDatasets:function(e){var t=this;if(!1!==l.notify(t,"beforeDatasetsDraw",[e])){for(var n=(t.data.datasets||[]).length-1;0<=n;--n)t.isDatasetVisible(n)&&t.drawDataset(n,e);l.notify(t,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var n=this.getDatasetMeta(e),i={meta:n,index:e,easingValue:t};!1!==l.notify(this,"beforeDatasetDraw",[i])&&(n.controller.draw(t),l.notify(this,"afterDatasetDraw",[i]))},_drawTooltip:function(e){var t=this.tooltip,n={tooltip:t,easingValue:e};!1!==l.notify(this,"beforeTooltipDraw",[n])&&(t.draw(),l.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(e){return a.modes.single(this,e)},getElementsAtEvent:function(e){return a.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return a.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,n){var i=a.modes[t];return"function"==typeof i?i(this,e,n):[]},getDatasetAtEvent:function(e){return a.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(e){var t=this.data.datasets[e];t._meta||(t._meta={});var n=t._meta[this.id];return n||(n=t._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),n},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;t<n;++t)this.isDatasetVisible(t)&&e++;return e},isDatasetVisible:function(e){var t=this.getDatasetMeta(e);return"boolean"==typeof t.hidden?!t.hidden:!this.data.datasets[e].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(e){var t=this.id,n=this.data.datasets[e],i=n._meta&&n._meta[t];i&&(i.controller.destroy(),delete n._meta[t])},destroy:function(){var e,t,n=this,i=n.canvas;for(n.stop(),e=0,t=n.data.datasets.length;e<t;++e)n.destroyDatasetMeta(e);i&&(n.unbindEvents(),f.canvas.clear(n),h.releaseContext(n.ctx),n.canvas=null,n.ctx=null),l.notify(n,"destroy"),delete c.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var e=this;e.tooltip=new c.Tooltip({_chart:e,_chartInstance:e,_data:e.data,_options:e.options.tooltips},e)},bindEvents:function(){var t=this,n=t._listeners={},i=function(){t.eventHandler.apply(t,arguments)};f.each(t.options.events,function(e){h.addEventListener(t,e,i),n[e]=i}),t.options.responsive&&(i=function(){t.resize()},h.addEventListener(t,"resize",i),n.resize=i)},unbindEvents:function(){var n=this,e=n._listeners;e&&(delete n._listeners,f.each(e,function(e,t){h.removeEventListener(n,t,e)}))},updateHoverStyle:function(e,t,n){var i,a,r,o=n?"setHoverStyle":"removeHoverStyle";for(a=0,r=e.length;a<r;++a)(i=e[a])&&this.getDatasetMeta(i._datasetIndex).controller[o](i)},eventHandler:function(e){var t=this,n=t.tooltip;if(!1!==l.notify(t,"beforeEvent",[e])){t._bufferedRender=!0,t._bufferedRequest=null;var i=t.handleEvent(e);n&&(i=n._start?n.handleEvent(e):i|n.handleEvent(e)),l.notify(t,"afterEvent",[e]);var a=t._bufferedRequest;return a?t.render(a):i&&!t.animating&&(t.stop(),t.render(t.options.hover.animationDuration,!0)),t._bufferedRender=!1,t._bufferedRequest=null,t}},handleEvent:function(e){var t,n=this,i=n.options||{},a=i.hover;return n.lastActive=n.lastActive||[],"mouseout"===e.type?n.active=[]:n.active=n.getElementsAtEventForMode(e,a.mode,a),f.callback(i.onHover||i.hover.onHover,[e["native"],n.active],n),"mouseup"!==e.type&&"click"!==e.type||i.onClick&&i.onClick.call(n,e["native"],n.active),n.lastActive.length&&n.updateHoverStyle(n.lastActive,a.mode,!1),n.active.length&&a.mode&&n.updateHoverStyle(n.active,a.mode,!0),t=!f.arrayEquals(n.active,n.lastActive),n.lastActive=n.active,t}}),c.Controller=c}},{25:25,28:28,30:30,31:31,45:45,48:48}],24:[function(e,t){"use strict";var s=e(45);t.exports=function(e){function r(t,e){var n=t._chartjs;if(n){var i=n.listeners,a=i.indexOf(e);
vendor: 27,943 bytes, lines 11-12
11-1!==a&&i.splice(a,1),0<i.length||(o.forEach(function(e){delete t[e]}),delete t._chartjs)}}var o=["push","pop","shift","splice","unshift"];e.DatasetController=function(e,t){this.initialize(e,t)},s.extend(e.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(e,t){this.chart=e,this.index=t,this.linkScales(),this.addElements()},updateIndex:function(e){this.index=e},linkScales:function(){var e=this,t=e.getMeta(),n=e.getDataset();null!==t.xAxisID&&t.xAxisID in e.chart.scales||(t.xAxisID=n.xAxisID||e.chart.options.scales.xAxes[0].id),null!==t.yAxisID&&t.yAxisID in e.chart.scales||(t.yAxisID=n.yAxisID||e.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(e){return this.chart.scales[e]},reset:function(){this.update(!0)},destroy:function(){this._data&&r(this._data,this)},createMetaDataset:function(){var e=this.datasetElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(e){var t=this.dataElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index,_index:e})},addElements:function(){var e,t,n=this.getMeta(),i=this.getDataset().data||[],a=n.data;for(e=0,t=i.length;e<t;++e)a[e]=a[e]||this.createMetaData(e);n.dataset=n.dataset||this.createMetaDataset()},addElementAndReset:function(e){var t=this.createMetaData(e);this.getMeta().data.splice(e,0,t),this.updateElement(t,e,!0)},buildOrUpdateElements:function(){var a,e,t=this,n=t.getDataset(),i=n.data||(n.data=[]);t._data!==i&&(t._data&&r(t._data,t),e=t,(a=i)._chartjs?a._chartjs.listeners.push(e):(Object.defineProperty(a,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),o.forEach(function(e){var n="onData"+e.charAt(0).toUpperCase()+e.slice(1),i=a[e];Object.defineProperty(a,e,{configurable:!0,enumerable:!1,value:function(){var t=Array.prototype.slice.call(arguments),e=i.apply(this,t);return s.each(a._chartjs.listeners,function(e){"function"==typeof e[n]&&e[n].apply(e,t)}),e}})})),t._data=i),t.resyncElements()},update:s.noop,transition:function(e){for(var t=this.getMeta(),n=t.data||[],i=n.length,a=0;a<i;++a)n[a].transition(e);t.dataset&&t.dataset.transition(e)},draw:function(){var e=this.getMeta(),t=e.data||[],n=t.length,i=0;for(e.dataset&&e.dataset.draw();i<n;++i)t[i].draw()},removeHoverStyle:function(e,t){var n=this.chart.data.datasets[e._datasetIndex],i=e._index,a=e.custom||{},r=s.valueAtIndexOrDefault,o=e._model;o.backgroundColor=a.backgroundColor?a.backgroundColor:r(n.backgroundColor,i,t.backgroundColor),o.borderColor=a.borderColor?a.borderColor:r(n.borderColor,i,t.borderColor),o.borderWidth=a.borderWidth?a.borderWidth:r(n.borderWidth,i,t.borderWidth)},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,i=e.custom||{},a=s.valueAtIndexOrDefault,r=s.getHoverColor,o=e._model;o.backgroundColor=i.hoverBackgroundColor?i.hoverBackgroundColor:a(t.hoverBackgroundColor,n,r(o.backgroundColor)),o.borderColor=i.hoverBorderColor?i.hoverBorderColor:a(t.hoverBorderColor,n,r(o.borderColor)),o.borderWidth=i.hoverBorderWidth?i.hoverBorderWidth:a(t.hoverBorderWidth,n,o.borderWidth)},resyncElements:function(){var e=this.getMeta(),t=this.getDataset().data,n=e.data.length,i=t.length;i<n?e.data.splice(i,n-i):n<i&&this.insertElements(n,i-n)},insertElements:function(e,t){for(var n=0;n<t;++n)this.addElementAndReset(e+n)},onDataPush:function(){this.insertElements(this.getDataset().data.length-1,arguments.length)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(e,t){this.getMeta().data.splice(e,t),this.insertElements(e,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),e.DatasetController.extend=s.inherits}},{45:45}],25:[function(e,t){"use strict";var n=e(45);t.exports={_set:function(e,t){return n.merge(this[e]||(this[e]={}),t)}}},{45:45}],26:[function(e,t){"use strict";var p=e(3),n=e(45),i=function(e){n.extend(this,e),this.initialize.apply(this,arguments)};n.extend(i.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var e=this;return e._view||(e._view=n.clone(e._model)),e._start={},e},transition:function(e){var t=this,n=t._model,i=t._start,a=t._view;return n&&1!==e?(a||(a=t._view={}),i||(i=t._start={}),function(e,t,n,i){var a,r,o,s,l,c,d,u,f,h=Object.keys(n);for(a=0,r=h.length;a<r;++a)if(c=n[o=h[a]],t.hasOwnProperty(o)||(t[o]=c),(s=t[o])!==c&&"_"!==o[0]){if(e.hasOwnProperty(o)||(e[o]=s),(d=typeof c)==typeof(l=e[o]))if("string"===d){if((u=p(l)).valid&&(f=p(c)).valid){t[o]=f.mix(u,i).rgbString();continue}}else if("number"===d&&isFinite(l)&&isFinite(c)){t[o]=l+(c-l)*i;continue}t[o]=c}}(i,a,n,e)):(t._view=n,t._start=null),t},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return n.isNumber(this._model.x)&&n.isNumber(this._model.y)}}),i.extend=n.inherits,t.exports=i},{3:3,45:45}],27:[function(e,t){"use strict";var n=e(3),i=e(25),p=e(45);t.exports=function(l){function d(e,t,n){var i;return"string"==typeof e?(i=parseInt(e,10),-1!==e.indexOf("%")&&(i=i/100*t.parentNode[n])):i=e,i}function u(e){return null!=e&&"none"!==e}function t(e,t,n){var i=document.defaultView,a=e.parentNode,r=i.getComputedStyle(e)[t],o=i.getComputedStyle(a)[t],s=u(r),l=u(o),c=Number.POSITIVE_INFINITY;return s||l?Math.min(s?d(r,e,n):c,l?d(o,a,n):c):"none"}p.configMerge=function(e){return p.merge(p.clone(e),[].slice.call(arguments,1),{merger:function(e,t,n,i){var a=t[e]||{},r=n[e];"scales"===e?t[e]=p.scaleMerge(a,r):"scale"===e?t[e]=p.merge(a,[l.scaleService.getScaleDefaults(r.type),r]):p._merger(e,t,n,i)}})},p.scaleMerge=function(e){return p.merge(p.clone(e),[].slice.call(arguments,1),{merger:function(e,t,n,i){if("xAxes"===e||"yAxes"===e){var a,r,o,s=n[e].length;for(t[e]||(t[e]=[]),a=0;a<s;++a)o=n[e][a],r=p.valueOrDefault(o.type,"xAxes"===e?"category":"linear"),a>=t[e].length&&t[e].push({}),!t[e][a].type||o.type&&o.type!==t[e][a].type?p.merge(t[e][a],[l.scaleService.getScaleDefaults(r),o]):p.merge(t[e][a],o)}else p._merger(e,t,n,i)}})},p.where=function(e,t){if(p.isArray(e)&&Array.prototype.filter)return e.filter(t);var n=[];return p.each(e,function(e){t(e)&&n.push(e)}),n},p.findIndex=Array.prototype.findIndex?function(e,t,n){return e.findIndex(t,n)}:function(e,t,n){n=void 0===n?e:n;for(var i=0,a=e.length;i<a;++i)if(t.call(n,e[i],i,e))return i;return-1},p.findNextWhere=function(e,t,n){p.isNullOrUndef(n)&&(n=-1);for(var i=n+1;i<e.length;i++){var a=e[i];if(t(a))return a}},p.findPreviousWhere=function(e,t,n){p.isNullOrUndef(n)&&(n=e.length);for(var i=n-1;0<=i;i--){var a=e[i];if(t(a))return a}},p.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},p.almostEquals=function(e,t,n){return Math.abs(e-t)<n},p.almostWhole=function(e,t){var n=Math.round(e);return n-t<e&&e<n+t},p.max=function(e){return e.reduce(function(e,t){return isNaN(t)?e:Math.max(e,t)},Number.NEGATIVE_INFINITY)},p.min=function(e){return e.reduce(function(e,t){return isNaN(t)?e:Math.min(e,t)},Number.POSITIVE_INFINITY)},p.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return 0==(e=+e)||isNaN(e)?e:0<e?1:-1},p.log10=Math.log10?function(e){return Math.log10(e)}:function(e){var t=Math.log(e)*Math.LOG10E,n=Math.round(t);return e===Math.pow(10,n)?n:t},p.toRadians=function(e){return e*(Math.PI/180)},p.toDegrees=function(e){return e*(180/Math.PI)},p.getAngleFromPoint=function(e,t){var n=t.x-e.x,i=t.y-e.y,a=Math.sqrt(n*n+i*i),r=Math.atan2(i,n);return r<-.5*Math.PI&&(r+=2*Math.PI),{angle:r,distance:a}},p.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},p.aliasPixel=function(e){return e%2==0?0:.5},p.splineCurve=function(e,t,n,i){var a=e.skip?t:e,r=t,o=n.skip?t:n, 12s=Math.sqrt(Math.pow(r.x-a.x,2)+Math.pow(r.y-a.y,2)),l=Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2)),c=s/(s+l),d=l/(s+l),u=i*(c=isNaN(c)?0:c),f=i*(d=isNaN(d)?0:d);return{previous:{x:r.x-u*(o.x-a.x),y:r.y-u*(o.y-a.y)},next:{x:r.x+f*(o.x-a.x),y:r.y+f*(o.y-a.y)}}},p.EPSILON=Number.EPSILON||1e-14,p.splineCurveMonotone=function(e){var t,n,i,a,r,o,s,l,c,d=(e||[]).map(function(e){return{model:e._model,deltaK:0,mK:0}}),u=d.length;for(t=0;t<u;++t)if(!(i=d[t]).model.skip){if(n=0<t?d[t-1]:null,(a=t<u-1?d[t+1]:null)&&!a.model.skip){var f=a.model.x-i.model.x;i.deltaK=0!==f?(a.model.y-i.model.y)/f:0}!n||n.model.skip?i.mK=i.deltaK:!a||a.model.skip?i.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(i.deltaK)?i.mK=0:i.mK=(n.deltaK+i.deltaK)/2}for(t=0;t<u-1;++t)i=d[t],a=d[t+1],i.model.skip||a.model.skip||(p.almostEquals(i.deltaK,0,this.EPSILON)?i.mK=a.mK=0:(r=i.mK/i.deltaK,o=a.mK/i.deltaK,(l=Math.pow(r,2)+Math.pow(o,2))<=9||(s=3/Math.sqrt(l),i.mK=r*s*i.deltaK,a.mK=o*s*i.deltaK)));for(t=0;t<u;++t)(i=d[t]).model.skip||(n=0<t?d[t-1]:null,a=t<u-1?d[t+1]:null,n&&!n.model.skip&&(c=(i.model.x-n.model.x)/3,i.model.controlPointPreviousX=i.model.x-c,i.model.controlPointPreviousY=i.model.y-c*i.mK),a&&!a.model.skip&&(c=(a.model.x-i.model.x)/3,i.model.controlPointNextX=i.model.x+c,i.model.controlPointNextY=i.model.y+c*i.mK))},p.nextItem=function(e,t,n){return n?t>=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},p.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},p.niceNum=function(e,t){var n=Math.floor(p.log10(e)),i=e/Math.pow(10,n);return(t?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,n)},p.requestAnimFrame="undefined"==typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},p.getRelativePosition=function(e,t){var n,i,a=e.originalEvent||e,r=e.currentTarget||e.srcElement,o=r.getBoundingClientRect(),s=a.touches;s&&0<s.length?(n=s[0].clientX,i=s[0].clientY):(n=a.clientX,i=a.clientY);var l=parseFloat(p.getStyle(r,"padding-left")),c=parseFloat(p.getStyle(r,"padding-top")),d=parseFloat(p.getStyle(r,"padding-right")),u=parseFloat(p.getStyle(r,"padding-bottom")),f=o.right-o.left-l-d,h=o.bottom-o.top-c-u;return{x:n=Math.round((n-o.left-l)/f*r.width/t.currentDevicePixelRatio),y:i=Math.round((i-o.top-c)/h*r.height/t.currentDevicePixelRatio)}},p.getConstraintWidth=function(e){return t(e,"max-width","clientWidth")},p.getConstraintHeight=function(e){return t(e,"max-height","clientHeight")},p.getMaximumWidth=function(e){var t=e.parentNode;if(!t)return e.clientWidth;var n=parseInt(p.getStyle(t,"padding-left"),10),i=parseInt(p.getStyle(t,"padding-right"),10),a=t.clientWidth-n-i,r=p.getConstraintWidth(e);return isNaN(r)?a:Math.min(a,r)},p.getMaximumHeight=function(e){var t=e.parentNode;if(!t)return e.clientHeight;var n=parseInt(p.getStyle(t,"padding-top"),10),i=parseInt(p.getStyle(t,"padding-bottom"),10),a=t.clientHeight-n-i,r=p.getConstraintHeight(e);return isNaN(r)?a:Math.min(a,r)},p.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},p.retinaScale=function(e,t){var n=e.currentDevicePixelRatio=t||window.devicePixelRatio||1;if(1!==n){var i=e.canvas,a=e.height,r=e.width;i.height=a*n,i.width=r*n,e.ctx.scale(n,n),i.style.height||i.style.width||(i.style.height=a+"px",i.style.width=r+"px")}},p.fontString=function(e,t,n){return t+" "+e+"px "+n},p.longestText=function(t,e,n,i){var a=(i=i||{}).data=i.data||{},r=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(a=i.data={},r=i.garbageCollect=[],i.font=e),t.font=e;var o=0;p.each(n,function(e){null!=e&&!0!==p.isArray(e)?o=p.measureText(t,a,r,o,e):p.isArray(e)&&p.each(e,function(e){null==e||p.isArray(e)||(o=p.measureText(t,a,r,o,e))})});var s=r.length/2;if(s>n.length){for(var l=0;l<s;l++)delete a[r[l]];r.splice(0,s)}return o},p.measureText=function(e,t,n,i,a){var r=t[a];return r||(r=t[a]=e.measureText(a).width,n.push(a)),i<r&&(i=r),i},p.numberOfLabelLines=function(e){var t=1;return p.each(e,function(e){p.isArray(e)&&e.length>t&&(t=e.length)}),t},p.color=n?function(e){return e instanceof CanvasGradient&&(e=i.global.defaultColor),n(e)}:function(e){return console.error("Color.js not found!"),e},p.getHoverColor=function(e){return e instanceof CanvasPattern?e:p.color(e).saturate(.5).darken(.1).rgbString()}}},{25:25,3:3,45:45}],28:[function(e,t){"use strict";function s(e,t){return e["native"]?{x:e.x,y:e.y}:i.getRelativePosition(e,t)}function l(e,t){var n,i,a,r,o;for(i=0,r=e.data.datasets.length;i<r;++i)if(e.isDatasetVisible(i))for(a=0,o=(n=e.getDatasetMeta(i)).data.length;a<o;++a){var s=n.data[a];s._view.skip||t(s)}}function c(e,t){var n=[];return l(e,function(e){e.inRange(t.x,t.y)&&n.push(e)}),n}function d(e,i,a,r){var o=Number.POSITIVE_INFINITY,s=[];return l(e,function(e){if(!a||e.inRange(i.x,i.y)){var t=e.getCenterPoint(),n=r(i,t);n<o?(s=[e],o=n):n===o&&s.push(e)}}),s}function u(e){var a=-1!==e.indexOf("x"),r=-1!==e.indexOf("y");return function(e,t){var n=a?Math.abs(e.x-t.x):0,i=r?Math.abs(e.y-t.y):0;return Math.sqrt(Math.pow(n,2)+Math.pow(i,2))}}function n(i,e,t){var n=s(e,i);t.axis=t.axis||"x";var a=u(t.axis),r=t.intersect?c(i,n):d(i,n,!1,a),o=[];return r.length?(i.data.datasets.forEach(function(e,t){if(i.isDatasetVisible(t)){var n=i.getDatasetMeta(t).data[r[0]._index];n&&!n._view.skip&&o.push(n)}}),o):[]}var i=e(45);t.exports={modes:{single:function(e,t){var n=s(t,e),i=[];return l(e,function(e){if(e.inRange(n.x,n.y))return i.push(e),i}),i.slice(0,1)},label:n,index:n,dataset:function(e,t,n){var i=s(t,e);n.axis=n.axis||"xy";var a=u(n.axis),r=n.intersect?c(e,i):d(e,i,!1,a);return 0<r.length&&(r=e.getDatasetMeta(r[0]._datasetIndex).data),r},"x-axis":function(e,t){return n(e,t,{intersect:!1})},point:function(e,t){return c(e,s(t,e))},nearest:function(e,t,n){var i=s(t,e);n.axis=n.axis||"xy";var a=u(n.axis),r=d(e,i,n.intersect,a);return 1<r.length&&r.sort(function(e,t){var n=e.getArea()-t.getArea();return 0===n&&(n=e._datasetIndex-t._datasetIndex),n}),r.slice(0,1)},x:function(e,t,n){var i=s(t,e),a=[],r=!1;return l(e,function(e){e.inXRange(i.x)&&a.push(e),e.inRange(i.x,i.y)&&(r=!0)}),n.intersect&&!r&&(a=[]),a},y:function(e,t,n){var i=s(t,e),a=[],r=!1;return l(e,function(e){e.inYRange(i.y)&&a.push(e),e.inRange(i.x,i.y)&&(r=!0)}),n.intersect&&!r&&(a=[]),a}}}},{45:45}],29:[function(e,t){"use strict";e(25)._set("global",{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},layout:{padding:{top:0,right:0,bottom:0,left:0}}}),t.exports=function(){var e=function(e,t){return this.construct(e,t),this};return e.Chart=e}},{25:25}],30:[function(e,t){"use strict";function L(e,t){return z.where(e,function(e){return e.position===t})}function $(e,a){e.forEach(function(e,t){return e._tmpIndex_=t,e}),e.sort(function(e,t){var n=a?t:e,i=a?e:t;return n.weight===i.weight?n._tmpIndex_-i._tmpIndex_:n.weight-i.weight}),e.forEach(function(e){delete e._tmpIndex_})}var z=e(45);t.exports={defaults:{},addBox:function(e,t){e.boxes||(e.boxes=[]),t.fullWidth=t.fullWidth||!1,t.position=t.position||"top",t.weight=t.weight||0,e.boxes.push(t)},removeBox:function(e,t){var n=e.boxes?e.boxes.indexOf(t):-1;-1!==n&&e.boxes.splice(n,1)},configure:function(e,t,n){for(var i,a=["fullWidth","position","weight"],r=a.length,o=0;o<r;++o)i=a[o],n.hasOwnProperty(i)&&(t[i]=n[i])},update:function(t,n,e){function i(t){var e=z.findNextWhere(w,function(e){return e.box===t});if(e)if(t.isHorizontal()){var n={left:Math.max(P,_),right:Math.max(D,C),top:0,bottom:0};t.update(t.fullWidth?g:k,b/2,n)}else t.update(e.minSize.width,S)}function a(e){e.isHorizontal()?(e.left=e.fullWidth?s:P,e.right=e.fullWidth?n-l:P+k,e.top=R,e.bottom=R+e.height,R=e.bottom):(e.left=B,e.right=B+e.width,e.top=j,e.bottom=j+S,B=e.right)}if(t){var r=t.options.layout||{},o=z.options.toPadding(r.padding),s=o.left,l=o.right,c=o.top,d=o.bottom,u=L(t.boxes,"left"),f=L(t.boxes,"right"),h=L(t.boxes,"top"),p=L(t.boxes,"bottom"),m=L(t.boxes,"chartArea");$(u,!0),$(f,!1),$(h,!0),$(p,!1);var g=n-s-l,b=e-c-d,v=b/2,y=(n-g/2)/(u.length+f.length),x=(e-v)/(h.length+p.length),k=g,S=b,w=[];z.each(u.concat(f,h,p),function(e){var t,n=e.isHorizontal();n?(t=e.update(e.fullWidth?g:k,x),S-=t.height):(t=e.update(y,S),k-=t.width),w.push({horizontal:n,minSize:t,box:e})});var _=0,C=0,M=0,T=0;z.each(h.concat(p),function(e){if(e.getPadding){var t=e.getPadding();_=Math.max(_,t.left),C=Math.max(C,t.right)}}),z.each(u.concat(f),function(e){if(e.getPadding){var t=e.getPadding();M=Math.max(M,t.top),T=Math.max(T,t.bottom)}});var P=s,D=l,j=c,A=d;z.each(u.concat(f),i),z.each(u,function(e){P+=e.width}),z.each(f,function(e){D+=e.width}),z.each(h.concat(p),i),z.each(h,function(e){j+=e.height}),z.each(p,function(e){A+=e.height}),z.each(u.concat(f),function(t){var e=z.findNextWhere(w,function(e){return e.box===t}),n={left:0,right:0,top:j,bottom:A};e&&t.update(e.minSize.width,S,n)}),P=s,D=l,j=c,A=d,z.each(u,function(e){P+=e.width}),z.each(f,function(e){D+=e.width}),z.each(h,function(e){j+=e.height}),z.each(p,function(e){A+=e.height});var E=Math.max(_-P,0);P+=E,D+=Math.max(C-D,0);var O=Math.max(M-j,0);j+=O,A+=Math.max(T-A,0);var F=e-j-A,I=n-P-D;I===k&&F===S||(z.each(u,function(e){e.height=F}),z.each(f,function(e){e.height=F}),z.each(h,function(e){e.fullWidth||(e.width=I)}),z.each(p,function(e){e.fullWidth||(e.width=I)}),S=F,k=I);var B=s+E,R=c+O;z.each(u.concat(h),a),B+=k,R+=S,z.each(f,a),z.each(p,a),t.chartArea={left:P,top:j,right:P+k,bottom:j+S},z.each(m,function(e){e.left=t.chartArea.left,e.top=t.chartArea.top,e.right=t.chartArea.right,e.bottom=t.chartArea.bottom,e.update(k,S)})}}}},{45:45}],31:[function(e,t){"use strict";var o=e(25),s=e(45);o._set("global",{plugins:{}}),t.exports={_plugins:[],_cacheId:0,register:function(e){var t=this._plugins;[].concat(e).forEach(function(e){-1===t.indexOf(e)&&t.push(e)}),this._cacheId++},unregister:function(e){var n=this._plugins;[].concat(e).forEach(function(e){var t=n.indexOf(e);-1!==t&&n.splice(t,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(e,t,n){var i,a,r,o,s,l=this.descriptors(e),c=l.length;for(i=0;i<c;++i)if("function"==typeof(s=(r=(a=l[i]).plugin)[t])&&((o=[e].concat(n||[])).push(a.options),!1===s.apply(r,o)))return!1;return!0},descriptors:function(e){var t=e.$plugins||(e.$plugins={});if(t.id===this._cacheId)return t.descriptors;var i=[],a=[],n=e&&e.config||{},r=n.options&&n.options.plugins||{};return this._plugins.concat(n.plugins||[]).forEach(function(e){if(-1===i.indexOf(e)){var t=e.id,n=r[t];!1!==n&&(!0===n&&(n=s.clone(o.global.plugins[t])),i.push(e),a.push({plugin:e,options:n||{}}))}}),t.descriptors=a,t.id=this._cacheId,a},_invalidate:function(e){delete e.$plugins}}},{25:25,45:45}],32:[function(e,t){"use strict";function _(e){var t,n,i=[];for(t=0,n=e.length;t<n;++t)i.push(e[t].label);return i}function H(e,t,n){var i=e.getPixelForTick(t);return n&&(i-=0===t?(e.getPixelForTick(1)-i)/2:(i-e.getPixelForTick(t-1))/2),i}var x=e(25),n=e(26),W=e(45),i=e(34);x._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",lineHeight:1.2,padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:i.formatters.values,minor:{},major:{}}}),t.exports=function(e){function k(e,t,n){return W.isArray(t)?W.longestText(e,n,t):e.measureText(t).width}function S(e){var t=W.valueOrDefault,n=x.global,i=t(e.fontSize,n.defaultFontSize),a=t(e.fontStyle,n.defaultFontStyle),r=t(e.fontFamily,n.defaultFontFamily);return{size:i,style:a,family:r,font:W.fontString(i,a,r)}}function w(e){return W.options.toLineHeight(W.valueOrDefault(e.lineHeight,1.2),W.valueOrDefault(e.fontSize,x.global.defaultFontSize))}e.Scale=n.extend({getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},mergeTicksOptions:function(){var e=this.options.ticks;for(var t in!1===e.minor&&(e.minor={display:!1}),!1===e.major&&(e.major={display:!1}),e)"major"!==t&&"minor"!==t&&(void 0===e.minor[t]&&(e.minor[t]=e[t]),void 0===e.major[t]&&(e.major[t]=e[t]))},beforeUpdate:function(){W.callback(this.options.beforeUpdate,[this])},update:function(e,t,n){var i,a,r,o,s,l,c=this;for(c.beforeUpdate(),c.maxWidth=e,c.maxHeight=t,c.margins=W.extend({left:0,right:0,top:0,bottom:0},n),c.longestTextCache=c.longestTextCache||{},c.beforeSetDimensions(),c.setDimensions(),c.afterSetDimensions(),c.beforeDataLimits(),c.determineDataLimits(),c.afterDataLimits(),c.beforeBuildTicks(),s=c.buildTicks()||[],c.afterBuildTicks(),c.beforeTickToLabelConversion(),r=c.convertTicksToLabels(s)||c.ticks,c.afterTickToLabelConversion(),i=0,a=(c.ticks=r).length;i<a;++i)o=r[i],(l=s[i])?l.label=o:s.push(l={label:o,major:!1});return c._ticks=s,c.beforeCalculateTickRotation(),c.calculateTickRotation(),c.afterCalculateTickRotation(),c.beforeFit(),c.fit(),c.afterFit(),c.afterUpdate(),c.minSize},afterUpdate:function(){W.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){W.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0},afterSetDimensions:function(){W.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){W.callback(this.options.beforeDataLimits,[this])},determineDataLimits:W.noop,afterDataLimits:function(){W.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){W.callback(this.options.beforeBuildTicks,[this])},buildTicks:W.noop,afterBuildTicks:function(){W.callback(this.options.afterBuildTicks,[this])},beforeTickToLabelConversion:function(){W.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var e=this.options.ticks;this.ticks=this.ticks.map(e.userCallback||e.callback,this)},afterTickToLabelConversion:function(){W.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){W.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var e=this,t=e.ctx,n=e.options.ticks,i=_(e._ticks),a=S(n);t.font=a.font;var r=n.minRotation||0;if(i.length&&e.options.display&&e.isHorizontal())for(var o,s=W.longestText(t,a.font,i,e.longestTextCache),l=s,c=e.getPixelForTick(1)-e.getPixelForTick(0)-6;c<l&&r<n.maxRotation;){var d=W.toRadians(r);if(o=Math.cos(d),Math.sin(d)*s>e.maxHeight){r--;break}r++,l=o*s}e.labelRotation=r},afterCalculateTickRotation:function(){W.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){W.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},n=_(e._ticks),i=e.options,a=i.ticks,r=i.scaleLabel,o=i.gridLines,s=i.display,l=e.isHorizontal(),c=S(a),d=i.gridLines.tickMarkLength;if(t.width=l?e.isFullWidth()?e.maxWidth-e.margins.left-e.margins.right:e.maxWidth:s&&o.drawTicks?d:0,t.height=l?s&&o.drawTicks?d:0:e.maxHeight,r.display&&s){var u=w(r)+W.options.toPadding(r.padding).height;l?t.height+=u:t.width+=u}if(a.display&&s){var f=W.longestText(e.ctx,c.font,n,e.longestTextCache),h=W.numberOfLabelLines(n),p=.5*c.size,m=e.options.ticks.padding;if(l){e.longestLabelWidth=f;var g=W.toRadians(e.labelRotation),b=Math.cos(g),v=Math.sin(g)*f+c.size*h+p*(h-1)+p;t.height=Math.min(e.maxHeight,t.height+v+m),e.ctx.font=c.font;var y=k(e.ctx,n[0],c.font),x=k(e.ctx,n[n.length-1],c.font);0!==e.labelRotation?(e.paddingLeft="bottom"===i.position?b*y+3:b*p+3,e.paddingRight="bottom"===i.position?b*p+3:b*x+3):(e.paddingLeft=y/2+3,e.paddingRight=x/2+3)}else a.mirror?f=0:f+=m+p,t.width=Math.min(e.maxWidth,t.width+f),e.paddingTop=c.size/2,e.paddingBottom=c.size/2}e.handleMargins(),e.width=t.width,e.height=t.height},handleMargins:function(){var e=this;e.margins&&(e.paddingLeft=Math.max(e.paddingLeft-e.margins.left,0),e.paddingTop=Math.max(e.paddingTop-e.margins.top,0),e.paddingRight=Math.max(e.paddingRight-e.margins.right,0),e.paddingBottom=Math.max(e.paddingBottom-e.margins.bottom,0))},afterFit:function(){W.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(W.isNullOrUndef(e))return NaN;if("number"==typeof e&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},getLabelForIndex:W.noop,getPixelForValue:W.noop,getValueForPixel:W.noop,getPixelForTick:function(e){var t=this,n=t.options.offset;if(t.isHorizontal()){var i=(t.width-(t.paddingLeft+t.paddingRight))/Math.max(t._ticks.length-(n?0:1),1),a=i*e+t.paddingLeft;return n&&(a+=i/2),t.left+Math.round(a)+(t.isFullWidth()?t.margins.left:0)}var r=t.height-(t.paddingTop+t.paddingBottom);return t.top+e*(r/(t._ticks.length-1))},getPixelForDecimal:function(e){var t=this;if(t.isHorizontal()){var n=(t.width-(t.paddingLeft+t.paddingRight))*e+t.paddingLeft;return t.left+Math.round(n)+(t.isFullWidth()?t.margins.left:0)}return t.top+e*t.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this.min,t=this.max;return this.beginAtZero?0:e<0&&t<0?t:0<e&&0<t?e:0},_autoSkip:function(e){var t,n,i,a,r=this,o=r.isHorizontal(),s=r.options.ticks.minor,l=e.length,c=W.toRadians(r.labelRotation),d=Math.cos(c),u=r.longestLabelWidth*d,f=[];for(s.maxTicksLimit&&(a=s.maxTicksLimit),o&&(t=!1,(u+s.autoSkipPadding)*l>r.width-(r.paddingLeft+r.paddingRight)&&(t=1+Math.floor((u+s.autoSkipPadding)*l/(r.width-(r.paddingLeft+r.paddingRight)))),a&&a<l&&(t=Math.max(t,Math.floor(l/a)))),n=0;n<l;n++)i=e[n],(1<t&&0<n%t||n%t==0&&l<=n+t)&&n!==l-1&&delete i.label,f.push(i);return f},draw:function(C){var M=this,T=M.options;if(T.display){var o=M.ctx,P=x.global,D=T.ticks.minor,e=T.ticks.major||D,j=T.gridLines,t=T.scaleLabel,A=0!==M.labelRotation,E=M.isHorizontal(),O=D.autoSkip?M._autoSkip(M.getTicks()):M.getTicks(),s=W.valueOrDefault(D.fontColor,P.defaultFontColor),l=S(D),c=W.valueOrDefault(e.fontColor,P.defaultFontColor),d=S(e),F=j.drawTicks?j.tickMarkLength:0,n=W.valueOrDefault(t.fontColor,P.defaultFontColor),i=S(t),a=W.options.toPadding(t.padding),I=W.toRadians(M.labelRotation),B=[],R=M.options.gridLines.lineWidth,L="right"===T.position?M.right:M.right-R-F,$="right"===T.position?M.right+F:M.right,z="bottom"===T.position?M.top+R:M.bottom-F-R,N="bottom"===T.position?M.top+R+F:M.bottom+R;if(W.each(O,function(e,t){if(!W.isNullOrUndef(e.label)){var n,i,a,r,o,s,l,c,d,u,f,h,p,m,g=e.label;t===M.zeroLineIndex&&T.offset===j.offsetGridLines?(n=j.zeroLineWidth,i=j.zeroLineColor,a=j.zeroLineBorderDash,r=j.zeroLineBorderDashOffset):(n=W.valueAtIndexOrDefault(j.lineWidth,t),i=W.valueAtIndexOrDefault(j.color,t),a=W.valueOrDefault(j.borderDash,P.borderDash),r=W.valueOrDefault(j.borderDashOffset,P.borderDashOffset));var b="middle",v="middle",y=D.padding;if(E){var x=F+y;"bottom"===T.position?(v=A?"middle":"top",b=A?"right":"center",m=M.top+x):(v=A?"middle":"bottom",b=A?"left"
vendor: 1,341 bytes, line 12
12:"center",m=M.bottom-x);var k=H(M,t,j.offsetGridLines&&1<O.length);k<M.left&&(i="rgba(0,0,0,0)"),k+=W.aliasPixel(n),p=M.getPixelForTick(t)+D.labelOffset,o=l=d=f=k,s=z,c=N,u=C.top,h=C.bottom+R}else{var S,w="left"===T.position;D.mirror?(b=w?"left":"right",S=y):(b=w?"right":"left",S=F+y),p=w?M.right-S:M.left+S;var _=H(M,t,j.offsetGridLines&&1<O.length);_<M.top&&(i="rgba(0,0,0,0)"),_+=W.aliasPixel(n),m=M.getPixelForTick(t)+D.labelOffset,o=L,l=$,d=C.left,f=C.right+R,s=c=u=h=_}B.push({tx1:o,ty1:s,tx2:l,ty2:c,x1:d,y1:u,x2:f,y2:h,labelX:p,labelY:m,glWidth:n,glColor:i,glBorderDash:a,glBorderDashOffset:r,rotation:-1*I,label:g,major:e.major,textBaseline:v,textAlign:b})}}),W.each(B,function(e){if(j.display&&(o.save(),o.lineWidth=e.glWidth,o.strokeStyle=e.glColor,o.setLineDash&&(o.setLineDash(e.glBorderDash),o.lineDashOffset=e.glBorderDashOffset),o.beginPath(),j.drawTicks&&(o.moveTo(e.tx1,e.ty1),o.lineTo(e.tx2,e.ty2)),j.drawOnChartArea&&(o.moveTo(e.x1,e.y1),o.lineTo(e.x2,e.y2)),o.stroke(),o.restore()),D.display){o.save(),o.translate(e.labelX,e.labelY),o.rotate(e.rotation),o.font=e.major?d.font:l.font,o.fillStyle=e.major?c:s,o.textBaseline=e.textBaseline,o.textAlign=e.textAlign;var t=e.label;if(W.isArray(t))for(var n=t.length,i=1.5*l.size,a=M.isHorizontal()?0:-i*(n-1)/2,r=0;r<n;++r)o.fillText(""+t[r],0,a),a+=i;else o.fillText(t,0,0);
vendor: 4,501 bytes, line 12
12o.restore()}}),t.display){var r,u,f=0,h=w(t)/2;if(E)r=M.left+(M.right-M.left)/2,u="bottom"===T.position?M.bottom-h-a.bottom:M.top+h+a.top;else{var p="left"===T.position;r=p?M.left+h+a.top:M.right-h-a.top,u=M.top+(M.bottom-M.top)/2,f=p?-.5*Math.PI:.5*Math.PI}o.save(),o.translate(r,u),o.rotate(f),o.textAlign="center",o.textBaseline="middle",o.fillStyle=n,o.font=i.font,o.fillText(t.labelString,0,0),o.restore()}if(j.drawBorder){o.lineWidth=W.valueAtIndexOrDefault(j.lineWidth,0),o.strokeStyle=W.valueAtIndexOrDefault(j.color,0);var m=M.left,g=M.right+R,b=M.top,v=M.bottom+R,y=W.aliasPixel(o.lineWidth);E?(b=v="top"===T.position?M.bottom:M.top,b+=y,v+=y):(m=g="left"===T.position?M.right:M.left,m+=y,g+=y),o.beginPath(),o.moveTo(m,b),o.lineTo(g,v),o.stroke()}}}})}},{25:25,26:26,34:34,45:45}],33:[function(e,t){"use strict";var n=e(25),i=e(45),a=e(30);t.exports=function(e){e.scaleService={constructors:{},defaults:{},registerScaleType:function(e,t,n){this.constructors[e]=t,this.defaults[e]=i.clone(n)},getScaleConstructor:function(e){return this.constructors.hasOwnProperty(e)?this.constructors[e]:void 0},getScaleDefaults:function(e){return this.defaults.hasOwnProperty(e)?i.merge({},[n.scale,this.defaults[e]]):{}},updateScaleDefaults:function(e,t){this.defaults.hasOwnProperty(e)&&(this.defaults[e]=i.extend(this.defaults[e],t))},addScalesToLayout:function(t){i.each(t.scales,function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,a.addBox(t,e)})}}}},{25:25,30:30,45:45}],34:[function(e,t){"use strict";var s=e(45);t.exports={formatters:{values:function(e){return s.isArray(e)?e:""+e},linear:function(e,t,n){var i=3<n.length?n[2]-n[1]:n[1]-n[0];1<Math.abs(i)&&e!==Math.floor(e)&&(i=e-Math.floor(e));var a=s.log10(Math.abs(i)),r="";if(0!==e){var o=-1*Math.floor(a);o=Math.max(Math.min(o,20),0),r=e.toFixed(o)}else r="0";return r},logarithmic:function(e,t,n){var i=e/Math.pow(10,Math.floor(s.log10(e)));return 0===e?"0":1===i||2===i||5===i||0===t||t===n.length-1?e.toExponential():""}}}},{45:45}],35:[function(e,t){"use strict";var i=e(25),n=e(26),B=e(45);i._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:B.noop,title:function(e,t){var n="",i=t.labels,a=i?i.length:0;if(0<e.length){var r=e[0];r.xLabel?n=r.xLabel:0<a&&r.index<a&&(n=i[r.index])}return n},afterTitle:B.noop,beforeBody:B.noop,beforeLabel:B.noop,label:function(e,t){var n=t.datasets[e.datasetIndex].label||"";return n&&(n+=": "),n+e.yLabel},labelColor:function(e,t){var n=t.getDatasetMeta(e.datasetIndex).data[e.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:B.noop,afterBody:B.noop,beforeFooter:B.noop,footer:B.noop,afterFooter:B.noop}}}),t.exports=function(F){function f(e,t){var n=B.color(e);return n.alpha(t*n.alpha()).rgbaString()}function o(e,t){return t&&(B.isArray(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function I(e){var t=i.global,n=B.valueOrDefault;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,bodyFontColor:e.bodyFontColor,_bodyFontFamily:n(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:n(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:n(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:n(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:n(e.titleFontStyle,t.defaultFontStyle),titleFontSize:n(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:n(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:n(e.footerFontStyle,t.defaultFontStyle),footerFontSize:n(e.footerFontSize,t.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackgroun
12d:e.multiKeyBackground,displayColors:e.displayColors,borderColor:e.borderColor,borderWidth:e.borderWidth}}F.Tooltip=n.extend({initialize:function(){this._model=I(this._options),this._lastActive=[]},getTitle:function(){var e=this._options.callbacks,t=e.beforeTitle.apply(this,arguments),n=e.title.apply(this,arguments),i=e.afterTitle.apply(this,arguments),a=[];return o(a=o(a=o(a,t),n),i)},getBeforeBody:function(){var e=this._options.callbacks.beforeBody.apply(this,arguments);return B.isArray(e)?e:void 0!==e?[e]:[]},getBody:function(e,n){var i=this,a=i._options.callbacks,r=[];return B.each(e,function(e){var t={before:[],lines:[],after:[]};o(t.before,a.beforeLabel.call(i,e,n)),o(t.lines,a.label.call(i,e,n)),o(t.after,a.afterLabel.call(i,e,n)),r.push(t)}),r},getAfterBody:function(){var e=this._options.callbacks.afterBody.apply(this,arguments);return B.isArray(e)?e:void 0!==e?[e]:[]},getFooter:function(){var e=this._options.callbacks,t=e.beforeFooter.apply(this,arguments),n=e.footer.apply(this,arguments),i=e.afterFooter.apply(this,arguments),a=[];return o(a=o(a=o(a,t),n),i)},update:function(e){var t,n,i,a,r,o,s,l,c,d,u,f,h,p,m,g,b,v,y,x,k=this,S=k._options,w=k._model,_=k._model=I(S),C=k._active,M=k._data,T={xAlign:w.xAlign,yAlign:w.yAlign},P={x:w.x,y:w.y},D={width:w.width,height:w.height},j={x:w.caretX,y:w.caretY};if(C.length){_.opacity=1;var A=[],E=[];j=F.Tooltip.positioners[S.position].call(k,C,k._eventPosition);var O=[];for(t=0,n=C.length;t<n;++t)O.push((v=b=void 0,b=(g=C[t])._xScale,v=g._yScale||g._scale,y=g._index,x=g._datasetIndex,{xLabel:b?b.getLabelForIndex(y,x):"",yLabel:v?v.getLabelForIndex(y,x):"",index:y,datasetIndex:x,x:g._model.x,y:g._model.y}));S.filter&&(O=O.filter(function(e){return S.filter(e,M)})),S.itemSort&&(O=O.sort(function(e,t){return S.itemSort(e,t,M)})),B.each(O,function(e){A.push(S.callbacks.labelColor.call(k,e,k._chart)),E.push(S.callbacks.labelTextColor.call(k,e,k._chart))}),_.title=k.getTitle(O,M),_.beforeBody=k.getBeforeBody(O,M),_.body=k.getBody(O,M),_.afterBody=k.getAfterBody(O,M),_.footer=k.getFooter(O,M),_.x=Math.round(j.x),_.y=Math.round(j.y),_.caretPadding=S.caretPadding,_.labelColors=A,_.labelTextColors=E,_.dataPoints=O,T=function(e,t){var n,i,a,r,o,s=e._model,l=e._chart,c=e._chart.chartArea,d="center",u="center";s.y<t.height?u="top":s.y>l.height-t.height&&(u="bottom");var f=(c.left+c.right)/2,h=(c.top+c.bottom)/2;"center"===u?(n=function(e){return e<=f},i=function(e){return f<e}):(n=function(e){return e<=t.width/2},i=function(e){return e>=l.width-t.width/2}),a=function(e){return e+t.width+s.caretSize+s.caretPadding>l.width},r=function(e){return e-t.width-s.caretSize-s.caretPadding<0},o=function(e){return e<=h?"top":"bottom"},n(s.x)?(d="left",a(s.x)&&(d="center",u=o(s.y))):i(s.x)&&(d="right",r(s.x)&&(d="center",u=o(s.y)));var p=e._options;return{xAlign:p.xAlign?p.xAlign:d,yAlign:p.yAlign?p.yAlign:u}}(this,D=function(e,t){var n=e._chart.ctx,i=2*t.yPadding,a=0,r=t.body,o=r.reduce(function(e,t){return e+t.before.length+t.lines.length+t.after.length},0);o+=t.beforeBody.length+t.afterBody.length;var s=t.title.length,l=t.footer.length,c=t.titleFontSize,d=t.bodyFontSize,u=t.footerFontSize;i+=s*c,i+=s?(s-1)*t.titleSpacing:0,i+=s?t.titleMarginBottom:0,i+=o*d,i+=o?(o-1)*t.bodySpacing:0,i+=l?t.footerMarginTop:0,i+=l*u,i+=l?(l-1)*t.footerSpacing:0;var f=0,h=function(e){a=Math.max(a,n.measureText(e).width+f)};return n.font=B.fontString(c,t._titleFontStyle,t._titleFontFamily),B.each(t.title,h),n.font=B.fontString(d,t._bodyFontStyle,t._bodyFontFamily),B.each(t.beforeBody.concat(t.afterBody),h),f=t.displayColors?d+2:0,B.each(r,function(e){B.each(e.before,h),B.each(e.lines,h),B.each(e.after,h)}),f=0,n.font=B.fontString(u,t._footerFontStyle,t._footerFontFamily),B.each(t.footer,h),{width:a+=2*t.xPadding,height:i}}(this,_)),i=_,a=D,r=T,o=k._chart,s=i.x,l=i.y,c=i.caretSize,d=i.caretPadding,u=i.cornerRadius,f=r.xAlign,h=r.yAlign,p=c+d,m=u+d,"right"===f?s-=a.width:"center"===f&&((s-=a.width/2)+a.width>o.width&&(s=o.width-a.width),s<0&&(s=0)),"top"===h?l+=p:l-="bottom"===h?a.height+p:a.height/2,"center"===h?"left"===f?s+=p:"right"===f&&(s-=p):"left"===f?s-=m:"right"===f&&(s+=m),P={x:s,y:l}}else _.opacity=0;return _.xAlign=T.xAlign,_.yAlign=T.yAlign,_.x=P.x,_.y=P.y,_.width=D.width,_.height=D.height,_.caretX=j.x,_.caretY=j.y,
vendor: 6,344 bytes, lines 12-13
12k._model=_,e&&S.custom&&S.custom.call(k,_),k},drawCaret:function(e,t){var n=this._chart.ctx,i=this._view,a=this.getCaretPosition(e,t,i);n.lineTo(a.x1,a.y1),n.lineTo(a.x2,a.y2),n.lineTo(a.x3,a.y3)},getCaretPosition:function(e,t,n){var i,a,r,o,s,l,c=n.caretSize,d=n.cornerRadius,u=n.xAlign,f=n.yAlign,h=e.x,p=e.y,m=t.width,g=t.height;if("center"===f)s=p+g/2,"left"===u?(a=(i=h)-c,r=i,o=s+c,l=s-c):(a=(i=h+m)+c,r=i,o=s-c,l=s+c);else if(i="left"===u?(a=h+d+c)-c:"right"===u?(a=h+m-d-c)-c:(a=n.caretX)-c,r=a+c,"top"===f)s=(o=p)-c,l=o;else{s=(o=p+g)+c,l=o;var b=r;r=i,i=b}return{x1:i,x2:a,x3:r,y1:o,y2:s,y3:l}},drawTitle:function(e,t,n,i){var a=t.title;if(a.length){n.textAlign=t._titleAlign,n.textBaseline="top";var r,o,s=t.titleFontSize,l=t.titleSpacing;for(n.fillStyle=f(t.titleFontColor,i),n.font=B.fontString(s,t._titleFontStyle,t._titleFontFamily),r=0,o=a.length;r<o;++r)n.fillText(a[r],e.x,e.y),e.y+=s+l,r+1===a.length&&(e.y+=t.titleMarginBottom-l)}},drawBody:function(i,a,r,o){var s=a.bodyFontSize,t=a.bodySpacing,e=a.body;r.textAlign=a._bodyAlign,r.textBaseline="top",r.font=B.fontString(s,a._bodyFontStyle,a._bodyFontFamily);var n=0,l=function(e){r.fillText(e,i.x+n,i.y),i.y+=s+t};r.fillStyle=f(a.bodyFontColor,o),B.each(a.beforeBody,l);var c=a.displayColors;n=c?s+2:0,B.each(e,function(e,t){var n=f(a.labelTextColors[t],o);r.fillStyle=n,B.each(e.before,l),B.each(e.lines,function(e){c&&(r.fillStyle=f(a.legendColorBackground,o),r.fillRect(i.x,i.y,s,s),r.lineWidth=1,r.strokeStyle=f(a.labelColors[t].borderColor,o),r.strokeRect(i.x,i.y,s,s),r.fillStyle=f(a.labelColors[t].backgroundColor,o),r.fillRect(i.x+1,i.y+1,s-2,s-2),r.fillStyle=n),l(e)}),B.each(e.after,l)}),n=0,B.each(a.afterBody,l),i.y-=t},drawFooter:function(t,n,i,e){var a=n.footer;a.length&&(t.y+=n.footerMarginTop,i.textAlign=n._footerAlign,i.textBaseline="top",i.fillStyle=f(n.footerFontColor,e),i.font=B.fontString(n.footerFontSize,n._footerFontStyle,n._footerFontFamily),B.each(a,function(e){i.fillText(e,t.x,t.y),t.y+=n.footerFontSize+n.footerSpacing}))},drawBackground:function(e,t,n,i,a){n.fillStyle=f(t.backgroundColor,a),n.strokeStyle=f(t.borderColor,a),n.lineWidth=t.borderWidth;var r=t.xAlign,o=t.yAlign,s=e.x,l=e.y,c=i.width,d=i.height,u=t.cornerRadius;n.beginPath(),n.moveTo(s+u,l),"top"===o&&this.drawCaret(e,i),n.lineTo(s+c-u,l),n.quadraticCurveTo(s+c,l,s+c,l+u),"center"===o&&"right"===r&&this.drawCaret(e,i),n.lineTo(s+c,l+d-u),n.quadraticCurveTo(s+c,l+d,s+c-u,l+d),"bottom"===o&&this.drawCaret(e,i),n.lineTo(s+u,l+d), 13n.quadraticCurveTo(s,l+d,s,l+d-u),"center"===o&&"left"===r&&this.drawCaret(e,i),n.lineTo(s,l+u),n.quadraticCurveTo(s,l,s+u,l),n.closePath(),n.fill(),0<t.borderWidth&&n.stroke()},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var n={width:t.width,height:t.height},i={x:t.x,y:t.y},a=Math.abs(t.opacity<.001)?0:t.opacity,r=t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length;this._options.enabled&&r&&(this.drawBackground(i,t,e,n,a),i.x+=t.xPadding,i.y+=t.yPadding,this.drawTitle(i,t,e,a),this.drawBody(i,t,e,a),this.drawFooter(i,t,e,a))}},handleEvent:function(e){var t,n=this,i=n._options;return n._lastActive=n._lastActive||[],"mouseout"===e.type?n._active=[]:n._active=n._chart.getElementsAtEventForMode(e,i.mode,i),(t=!B.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(i.enabled||i.custom)&&(n._eventPosition={x:e.x,y:e.y},n.update(!0),n.pivot())),t}}),F.Tooltip.positioners={average:function(e){if(!e.length)return!1;var t,n,i=0,a=0,r=0;for(t=0,n=e.length;t<n;++t){var o=e[t];if(o&&o.hasValue()){var s=o.tooltipPosition();i+=s.x,a+=s.y,++r}}return{x:Math.round(i/r),y:Math.round(a/r)}},nearest:function(e,t){var n,i,a,r=t.x,o=t.y,s=Number.POSITIVE_INFINITY;for(n=0,i=e.length;n<i;++n){var l=e[n];if(l&&l.hasValue()){var c=l.getCenterPoint(),d=B.distanceBetweenPoints(t,c);d<s&&(s=d,a=l)}}if(a){var u=a.tooltipPosition();r=u.x,o=u.y}return{x:r,y:o}}}}},{25:25,26:26,45:45}],36:[function(e,t){"use strict";var n=e(25),i=e(26),d=e(45);n._set("global",{elements:{arc:{backgroundColor:n.global.defaultColor,borderColor:"#fff",borderWidth:2}}}),t.exports=i.extend({inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)<Math.pow(t.radius+t.hoverRadius,2)},inRange:function(e,t){var n=this._view;if(n){for(var i=d.getAngleFromPoint(n,{x:e,y:t}),a=i.angle,r=i.distance,o=n.startAngle,s=n.endAngle;s<o;)s+=2*Math.PI;for(;s<a;)a-=2*Math.PI;for(;a<o;)a+=2*Math.PI;var l=o<=a&&a<=s,c=r>=n.innerRadius&&r<=n.outerRadius;return l&&c}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,n=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,n=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},draw:function(){var e=this._chart.ctx,t=this._view,n=t.startAngle,i=t.endAngle;e.beginPath(),e.arc(t.x,t.y,t.outerRadius,n,i),e.arc(t.x,t.y,t.innerRadius,i,n,!0),e.closePath(),e.strokeStyle=t.borderColor,e.lineWidth=t.borderWidth,e.fillStyle=t.backgroundColor,e.fill(),e.lineJoin="bevel",t.borderWidth&&e.stroke()}})},{25:25,26:26,45:45}],37:[function(e,t){"use strict";var n=e(25),i=e(26),d=e(45),u=n.global;n._set("global",{elements:{line:{tension:.4,backgroundColor:u.defaultColor,borderWidth:3,borderColor:u.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),t.exports=i.extend({draw:function(){var e,t,n,i,a=this._view,r=this._chart.ctx,o=a.spanGaps,s=this._children.slice(),l=u.elements.line,c=-1;for(this._loop&&s.length&&s.push(s[0]),r.save(),r.lineCap=a.borderCapStyle||l.borderCapStyle,r.setLineDash&&r.setLineDash(a.borderDash||l.borderDash),r.lineDashOffset=a.borderDashOffset||l.borderDashOffset,r.lineJoin=a.borderJoinStyle||l.borderJoinStyle,r.lineWidth=a.borderWidth||l.borderWidth,r.strokeStyle=a.borderColor||u.defaultColor,r.beginPath(),c=-1,e=0;e<s.length;++e)t=s[e],n=d.previousItem(s,e),i=t._view,0===e?i.skip||(r.moveTo(i.x,i.y),c=e):(n=-1===c?n:s[c],i.skip||(c!==e-1&&!o||-1===c?r.moveTo(i.x,i.y):d.canvas.lineTo(r,n._view,t._view),c=e));
13r.stroke(),r.restore()}})},{25:25,26:26,45:45}],38:[function(e,t){"use strict";function n(e){var t=this._view;return!!t&&Math.abs(e-t.x)<t.radius+t.hitRadius}var d=e(25),i=e(26),u=e(45),f=d.global.defaultColor;d._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:f,borderColor:f,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}}),t.exports=i.extend({inRange:function(e,t){var n=this._view;return!!n&&Math.pow(e-n.x,2)+Math.pow(t-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:n,inXRange:n,inYRange:function(e){var t=this._view;return!!t&&Math.abs(e-t.y)<t.radius+t.hitRadius},getCenterPoint:function(){var e=this._view;return{x:e.x,y:e.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y,padding:e.radius+e.borderWidth}},draw:function(e){var t=this._view,n=this._model,i=this._chart.ctx,a=t.pointStyle,r=t.radius,o=t.x,s=t.y,l=u.color,c=0;t.skip||(i.strokeStyle=t.borderColor||f,i.lineWidth=u.valueOrDefault(t.borderWidth,d.global.elements.point.borderWidth),i.fillStyle=t.backgroundColor||f,void 0!==e&&(n.x<e.left||1.01*e.right<n.x||n.y<e.top||1.01*e.bottom<n.y)&&(n.x<e.left?c=(o-n.x)/(e.left-n.x):1.01*e.right<n.x?c=(n.x-o)/(n.x-e.right):n.y<e.top?c=(s-n.y)/(e.top-n.y):1.01*e.bottom<n.y&&(c=(n.y-s)/(n.y-e.bottom)),c=Math.round(100*c)/100,i.strokeStyle=l(i.strokeStyle).alpha(c).rgbString(),i.fillStyle=l(i.fillStyle).alpha(c).rgbString()),u.canvas.drawPoint(i,a,r,o,s))}})},{25:25,26:26,45:45}],39:[function(e,t){"use strict";function l(e){return void 0!==e._view.width}function a(e){var t,n,i,a,r=e._view;if(l(e)){var o=r.width/2;t=r.x-o,n=r.x+o,i=Math.min(r.y,r.base),a=Math.max(r.y,r.base)}else{var s=r.height/2;t=Math.min(r.x,r.base),n=Math.max(r.x,r.base),i=r.y-s,a=r.y+s}return{left:t,top:i,right:n,bottom:a}}var n=e(25),i=e(26);n._set("global",{elements:{rectangle:{backgroundColor:n.global.defaultColor,borderColor:n.global.defaultColor,borderSkipped:"bottom",borderWidth:0}}}),t.exports=i.extend({draw:function(){function e(e){return b[(v+e)%4]}var t,n,i,a,r,o,s,l=this._chart.ctx,c=this._view,d=c.borderWidth;if(c.horizontal?(t=c.base,n=c.x,i=c.y-c.height/2,a=c.y+c.height/2,r=t<n?1:-1,o=1,s=c.borderSkipped||"left"):(t=c.x-c.width/2,n=c.x+c.width/2,i=c.y,r=1,o=(a=c.base)>i?1:-1,s=c.borderSkipped||"bottom"),d){var u=Math.min(Math.abs(t-n),Math.abs(i-a)),f=(d=u<d?u:d)/2,h=t+("left"!==s?f*r:0),p=n+("right"!==s?-f*r:0),m=i+("top"!==s?f*o:0),g=a+("bottom"!==s?-f*o:0);h!==p&&(i=m,a=g),m!==g&&(t=h,n=p)}l.beginPath(),l.fillStyle=c.backgroundColor,l.strokeStyle=c.borderColor,l.lineWidth=d;var b=[[t,a],[t,i],[n,i],[n,a]],v=["bottom","left","top","right"].indexOf(s,0);-1===v&&(v=0);var y=e(0);l.moveTo(y[0],y[1]);for(var x=1;x<4;x++)y=e(x),l.lineTo(y[0],y[1]);l.fill(),d&&l.stroke()},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){var n=!1;if(this._view){var i=a(this);n=e>=i.left&&e<=i.right&&t>=i.top&&t<=i.bottom}return n},inLabelRange:function(e,t){if(!this._view)return!1;var n=a(this);return l(this)?e>=n.left&&e<=n.right:t>=n.top&&t<=n.bottom},inXRange:function(e){var t=a(this);return e>=t.left&&e<=t.right},inYRange:function(e){var t=a(this);return e>=t.top&&e<=t.bottom},getCenterPoint:function(){var e,t,n=this._view;return l(this)?(e=n.x,t=(n.y+n.base)/2):(e=(n.x+n.base)/2,t=n.y),{x:e,y:t}},getArea:function(){var e=this._view;return e.width*Math.abs(e.y-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}})},{25:25,26:26}],40:[function(e,t){"use strict";t.exports={},t.exports.Arc=e(36),t.exports.Line=e(37),t.exports.Point=e(38),t.exp
vendor: 4,335 bytes, line 13
13orts.Rectangle=e(39)},{36:36,37:37,38:38,39:39}],41:[function(e,t,n){"use strict";var i=e(42);n=t.exports={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,n,i,a,r){if(r){var o=Math.min(r,i/2),s=Math.min(r,a/2);e.moveTo(t+o,n),e.lineTo(t+i-o,n),e.quadraticCurveTo(t+i,n,t+i,n+s),e.lineTo(t+i,n+a-s),e.quadraticCurveTo(t+i,n+a,t+i-o,n+a),e.lineTo(t+o,n+a),e.quadraticCurveTo(t,n+a,t,n+a-s),e.lineTo(t,n+s),e.quadraticCurveTo(t,n,t+o,n)}else e.rect(t,n,i,a)},drawPoint:function(e,t,n,i,a){var r,o,s,l,c,d;if(!t||"object"!=typeof t||"[object HTMLImageElement]"!==(r=t.toString())&&"[object HTMLCanvasElement]"!==r){if(!(isNaN(n)||n<=0)){switch(t){default:e.beginPath(),e.arc(i,a,n,0,2*Math.PI),e.closePath(),e.fill();break;case"triangle":e.beginPath(),c=(o=3*n/Math.sqrt(3))*Math.sqrt(3)/2,e.moveTo(i-o/2,a+c/3),e.lineTo(i+o/2,a+c/3),e.lineTo(i,a-2*c/3),e.closePath(),e.fill();break;case"rect":d=1/Math.SQRT2*n,e.beginPath(),e.fillRect(i-d,a-d,2*d,2*d),e.strokeRect(i-d,a-d,2*d,2*d);break;case"rectRounded":var u=n/Math.SQRT2,f=i-u,h=a-u,p=Math.SQRT2*n;e.beginPath(),this.roundedRect(e,f,h,p,p,n/2),e.closePath(),e.fill();break;case"rectRot":d=1/Math.SQRT2*n,e.beginPath(),e.moveTo(i-d,a),e.lineTo(i,a+d),e.lineTo(i+d,a),e.lineTo(i,a-d),e.closePath(),e.fill();break;case"cross":e.beginPath(),e.moveTo(i,a+n),e.lineTo(i,a-n),e.moveTo(i-n,a),e.lineTo(i+n,a),e.closePath();break;case"crossRot":e.beginPath(),s=Math.cos(Math.PI/4)*n,l=Math.sin(Math.PI/4)*n,e.moveTo(i-s,a-l),e.lineTo(i+s,a+l),e.moveTo(i-s,a+l),e.lineTo(i+s,a-l),e.closePath();break;case"star":e.beginPath(),e.moveTo(i,a+n),e.lineTo(i,a-n),e.moveTo(i-n,a),e.lineTo(i+n,a),s=Math.cos(Math.PI/4)*n,l=Math.sin(Math.PI/4)*n,e.moveTo(i-s,a-l),e.lineTo(i+s,a+l),e.moveTo(i-s,a+l),e.lineTo(i+s,a-l),e.closePath();break;case"line":e.beginPath(),e.moveTo(i-n,a),e.lineTo(i+n,a),e.closePath();break;case"dash":e.beginPath(),e.moveTo(i,a),e.lineTo(i+n,a),e.closePath()}e.stroke()}}else e.drawImage(t,i-t.width/2,a-t.height/2,t.width,t.height)},clipArea:function(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()},unclipArea:function(e){e.restore()},lineTo:function(e,t,n,i){if(n.steppedLine)return"after"===n.steppedLine&&!i||"after"!==n.steppedLine&&i?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y),void e.lineTo(n.x,n.y);n.tension?e.bezierCurveTo(i?t.controlPointPreviousX:t.controlPointNextX,i?t.controlPointPreviousY:t.controlPointNextY,i?n.controlPointNextX:n.controlPointPreviousX,i?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):e.lineTo(n.x,n.y)}},i.clear=n.clear,i.drawRoundedRectangle=function(e){e.beginPath(),n.roundedRect.apply(n,arguments),e.closePath()}},{42:42}],42:[function(e,t){"use strict";var n,d={noop:function(){},uid:(n=0,function(){return n++}),isNullOrUndef:function(e){return null==e},isArray:Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},isObject:function(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)},valueOrDefault:function(e,t){return void 0===e?t:e},valueAtIndexOrDefault:function(e,t,n){return d.valueOrDefault(d.isArray(e)?e[t]:e,n)},callback:function(e,t,n){if(e&&"function"==typeof e.call)return e.apply(n,t)},each:function(e,t,n,i){var a,r,o;if(d.isArray(e))if(r=e.length,i)for(a=r-1;0<=a;a--)t.call(n,e[a],a);else for(a=0;a<r;a++)t.call(n,e[a],a);else if(d.isObject(e))for(r=(o=Object.keys(e)).length,a=0;a<r;a++)t.call(n,e[o[a]],o[a])},arrayEquals:function(e,t){var n,i,a,r;if(!e||!t||e.length!==t.length)return!1;for(n=0,i=e.length;n<i;++n)if(a=e[n],r=t[n],a instanceof Array&&r instanceof Array){if(!d.arrayEquals(a,r))return!1}else if(a!==r)return!1;return!0},clone:function(e){if(d.isArray(e))return e.map(d.clone);if(d.isObject(e)){for(var t={},n=Object.keys(e),i=n.length,a=0;a<i;++a)t[n[a]]=d.clone(e[n[a]]);return t}return e},_merger:function(e,t,n,i){var a=t[e],r=n[e];d.isObject(a)&&d.isObject(r)?d.merge(a,r,i):t[e]=d.clone(r)},_mergerIf:function(e,t,n){var i=t[e],a=n[e];d.isObject(i)&&d.isObject(a)?d.mergeIf(i,a):t.hasOwnProperty(e)||(t[e]=d.clone(a))},merge:function(e,t,n){var i,a,r,o,s,l=d.isArray(t)?t:[t],c=l.length;if(!d.isObject(e))return e;for(i=(n=n||{}).merger||d._merger,a=0;a<c;++a)if(t=l[a],d.isObject(t))for(s=0,o=(r=Object.keys(t)).length;s<o;++s)i(r[s],e,t,n);return e}
vendor: 4,589 bytes, line 13
13,mergeIf:function(e,t){return d.merge(e,t,{merger:d._mergerIf})},extend:function(n){for(var e=function(e,t){n[t]=e},t=1,i=arguments.length;t<i;++t)d.each(arguments[t],e);return n},inherits:function(e){var t=this,n=e&&e.hasOwnProperty("constructor")?e.constructor:function(){return t.apply(this,arguments)},i=function(){this.constructor=n};return i.prototype=t.prototype,n.prototype=new i,n.extend=d.inherits,e&&d.extend(n.prototype,e),n.__super__=t.prototype,n}};(t.exports=d).callCallback=d.callback,d.indexOf=function(e,t,n){return Array.prototype.indexOf.call(e,t,n)},d.getValueOrDefault=d.valueOrDefault,d.getValueAtIndexOrDefault=d.valueAtIndexOrDefault},{}],43:[function(e,t){"use strict";var n=e(42),i={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return-e*(e-2)},easeInOutQuad:function(e){return(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1)},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return(e-=1)*e*e+1},easeInOutCubic:function(e){return(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return-((e-=1)*e*e*e-1)},easeInOutQuart:function(e){return(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return(e-=1)*e*e*e*e+1},easeInOutQuint:function(e){return(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},easeInSine:function(e){return 1-Math.cos(e*(Math.PI/2))},easeOutSine:function(e){return Math.sin(e*(Math.PI/2))},easeInOutSine:function(e){return-.5*(Math.cos(Math.PI*e)-1)},easeInExpo:function(e){return 0===e?0:Math.pow(2,10*(e-1))},easeOutExpo:function(e){return 1===e?1:1-Math.pow(2,-10*e)},easeInOutExpo:function(e){return 0===e?0:1===e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*--e))},easeInCirc:function(e){return 1<=e?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:1===e?1:(n||(n=.3),i<1?(i=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n))},easeOutElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:1===e?1:(n||(n=.3),i<1?(i=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},easeInOutElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:2==(e/=.5)?1:(n||(n=.45),i<1?(i=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/i),e<1?i*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},easeInBack:function(e){return e*e*(2.70158*e-1.70158)},easeOutBack:function(e){return(e-=1)*e*(2.70158*e+1.70158)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-i.easeOutBounce(1-e)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*i.easeInBounce(2*e):.5*i.easeOutBounce(2*e-1)+.5}};t.exports={effects:i},n.easingEffects=i},{42:42}],44:[function(e,t){"use strict";var o=e(42);t.exports={toLineHeight:function(e,t){var n=(""+e).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*t;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100}return t*e},toPadding:function(e){var t,n,i,a;return o.isObject(e)?(t=+e.top||0,n=+e.right||0,i=+e.bottom||0,a=+e.left||0):t=n=i=a=+e||0,{top:t,right:n,bottom:i,left:a,height:t+i,width:a+n}},resolve:function(e,t,n){var i,a,r;for(i=0,a=e.length;i<a;++i)if(void 0!==(r=e[i])&&(void 0!==t&&"function"==typeof r&&(r=r(t)),void 0!==n&&o.isArray(r)&&(r=r[n]),void 0!==r))return r}}},{42:42}],45:[function(e,t){"use strict";t.exports=e(42),t.exports.easing=e(43),t.exports.canvas=e(41),t.exports.options=e(44)},{41:41,42:42,43:43,44:44}],46:[function(e,t){t.exports={acquireContext:function(e){return e&&e.canvas&&(e=e.canvas),e&&e.getContext("2d")||null}}},{}],47:[function(e,t){"use strict";function s(e,t){var n=m.getStyle(e,t),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}function h(e,t,n){e.addEventListener(t,n,a)}function o(e,t,n){e.removeEventListener(t,n,a)}function p(e,t,n,i,a){return{type:e,chart:t,"native":a||null,x:void 0!==n?n:null,y:void 0!==i?i:null}}function i(t,e,n){var i,a,r,o,s,l,c,d,u=t[g]||(t[g]={}),f=u.resizer=function(e){var t=document.createElement("div"),n=b+"size-monitor",i="position:absolute;
13left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;";t.style.cssText=i,t.className=n,t.innerHTML='<div class="'+n+'-expand" style="'+i+'"><div style="position:absolute;width:1000000px;height:1000000px;left:0;top:0"></div></div><div class="'+n+'-shrink" style="'+i+'"><div style="position:absolute;width:200%;height:200%;left:0; top:0"></div></div>';var a=t.childNodes[0],r=t.childNodes[1];t._reset=function(){a.scrollLeft=1e6,a.scrollTop=1e6,r.scrollLeft=1e6,r.scrollTop=1e6};var o=function(){t._reset(),e()};return h(a,"scroll",o.bind(a,"expand")),h(r,"scroll",o.bind(r,"shrink")),t}((r=!(i=function(){if(u.resizer)return e(p("resize",n))}),o=[],function(){o=Array.prototype.slice.call(arguments),a=a||this,r||(r=!0,m.requestAnimFrame.call(window,function(){r=!1,i.apply(a,o)}))}));l=function(){if(u.resizer){var e=t.parentNode;e&&e!==f.parentNode&&e.insertBefore(f,e.firstChild),f._reset()}},c=(s=t)[g]||(s[g]={}),d=c.renderProxy=function(e){e.animationName===y&&l()},m.each(x,function(e){h(s,e,d)}),c.reflow=!!s.offsetParent,s.classList.add(v)}function r(e){var t,n,i,a=e[g]||{},r=a.resizer;delete a.resizer,n=(t=e)[g]||{},(i=n.renderProxy)&&(m.each(x,function(e){o(t,e,i)}),delete n.renderProxy),t.classList.remove(v),r&&r.parentNode&&r.parentNode.removeChild(r)}var m=e(45),g="$chartjs",b="chartjs-",v=b+"render-monitor",y=b+"render-animation",x=["animationstart","webkitAnimationStart"],l={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},a=!!function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("e",null,t)}catch(e){}return e}()&&{passive:!0};t.exports={_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,initialize:function(){var e,t,n,i="from{opacity:0.99}to{opacity:1}";t="@-webkit-keyframes "+y+"{"+i+"}@keyframes "+y+"{"+i+"}."+v+"{-webkit-animation:"+y+" 0.001s;animation:"+y+" 0.001s;}
13",n=(e=this)._style||document.createElement("style"),e._style||(t="/* Chart.js */\n"+t,(e._style=n).setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(n)),n.appendChild(document.createTextNode(t))},acquireContext:function(e,t){"string"==typeof e?e=document.getElementById(e):e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas);var n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(function(e,t){var n=e.style,i=e.getAttribute("height"),a=e.getAttribute("width");if(e[g]={initial:{height:i,width:a,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===a||""===a){var r=s(e,"width");void 0!==r&&(e.width=r)}if(null===i||""===i)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var o=s(e,"height");void 0!==r&&(e.height=o)}}(e,t),n):null},releaseContext:function(e){var n=e.canvas;if(n[g]){var i=n[g].initial;["height","width"].forEach(function(e){var t=i[e];m.isNullOrUndef(t)?n.removeAttribute(e):n.setAttribute(e,t)}),m.each(i.style||{},function(e,t){n.style[t]=e}),n.width=n.width,delete n[g]}},addEventListener:function(a,e,r){var t=a.canvas;if("resize"!==e){var n=r[g]||(r[g]={});h(t,e,(n.proxies||(n.proxies={}))[a.id+"_"+e]=function(e){var t,n,i;r((n=a,p(l[(t=e).type]||t.type,n,(i=m.getRelativePosition(t,n)).x,i.y,t)))})}else i(t,r,a)},removeEventListener:function(e,t,n){var i=e.canvas;if("resize"!==t){var a=((n[g]||{}).proxies||{})[e.id+"_"+t];a&&o(i,t,a)}else r(i)}},m.addEvent=h,m.removeEvent=o},{45:45}],48:[function(e,t){"use strict";var n=e(45),i=e(46),a=e(47),r=a._enabled?a:i;t.exports=n.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},r)},{45:45,46:46,47:47}],49:[function(e,t){"use strict";t.exports={},t.exports.filler=e(50),t.exports.legend=e(51),t.exports.title=e(52)},{50:50,51:51,52:52}],50:[function(e,t){"use strict";function f(e,t,n){var i,a=e._model||{},r=a.fill;if(void 0===r&&(r=!!a.backgroundColor),!1===r||null===r)return!1;if(!0===r)return"origin";if(i=parseFloat(r,10),isFinite(i)&&Math.floor(i)===i)return"-"!==r[0]&&"+"!==r[0]||(i=t+i),!(i===t||i<0||n<=i)&&i;switch(r){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return r;default:return!1}}function h(e){var t,n=e.el._model||{},i=e.el._scale||{},a=e.fill,r=null;if(isFinite(a))return null;if("start"===a?r=void 0===n.scaleBottom?i.bottom:n.scaleBottom:"end"===a?r=void 0===n.scaleTop?i.top:n.scaleTop:void 0!==n.scaleZero?r=n.scaleZero:i.getBasePosition?r=i.getBasePosition():i.getBasePixel&&(r=i.getBasePixel()),null!=r){if(void 0!==r.x&&void 0!==r.y)return r;if("number"==typeof r&&isFinite(r))return{x:(t=i.isHorizontal())?r:null,y:t?null:r}}return null}function p(e,t,n){var i,a=e[t].fill,r=[t];if(!n)return a;for(;!1!==a&&-1===r.indexOf(a);){if(!isFinite(a))return a;if(!(i=e[a]))return!1;if(i.visible)return a;r.push(a),a=i.fill}return!1}function y(e){return e&&!e.skip}function x(e,t,n,i,a){var r;if(i&&a){for(e.moveTo(t[0].x,t[0].y),r=1;r<i;++r)d.canvas.lineTo(e,t[r-1],t[r]);for(e.lineTo(n[a-1].x,n[a-1].y),r=a-1;0<r;--r)d.canvas.lineTo(e,n[r],n[r-1],!0)}}var c=e(25),m=e(40),d=e(45);c._set("global",{plugins:{filler:{propagate:!0}}});var g={dataset:function(e){var t=e.fill,n=e.chart,i=n.getDatasetMeta(t),a=i&&n.isDatasetVisible(t)&&i.dataset._children||[],r=a.length||0;return r?function(e,t){return t<r&&a[t]._view||null}:null},boundary:function(e){var t=e.boundary,n=t?t.x:null,i=t?t.y:null;return function(e){return{x:null===n?e.x:n,y:null===i?e.y:i}}}};t.exports={id:"filler",afterDatasetsUpdate:function(e,t){var n,i,a,r,o,s,l,c=(e.data.datasets||[]).length,d=t.propagate,u=[];for(i=0;i<c;++i)r=null,(a=(n=e.getDatasetMeta(i)).dataset)&&a._model&&a instanceof m.Line&&(r={visible:e.isDatasetVisible(i),fill:f(a,i,c),chart:e,el:a}),n.$filler=r,u.push(r);for(i=0;i<c;++i)(r=u[i])&&(r.fill=p(u,i,d),r.boundary=h(r),r.mapper=(l=void 0,!(l="dataset")===(s=(o=r).fill)?null:(isFinite(s)||(l="boundary"),g[l](o))))},beforeDatasetDraw:function(e,t){var n=t.meta.$filler;if(n){var i=e.ctx,a=n.el,r=a._view,o=a._children||[],s=n.mapper,l=r.backgroundColor||c.global.defaultColor;s&&l&&o.length&&(d.canvas.clipArea(i,e.chartArea),function(e,t,n,i,a,r){var o,s,l,c,d,u,f,h=t.length,p=i.spanGaps,m=[],g=[],b=0,v=0;for(e.beginPath(),o=0,s=h+!!r;o<s;++o)d=n(c=t[l=o%h]._view,l,i),u=y(c),f=y(d),u&&f?(b=m.push(c),v=g.push(d)):b&&v&&(p?(u&&m.push(c),f&&g.push(d)):(x(e,m,g,b,v),b=v=0,m=[],g=[]));x(e,m,g,b,v),e.closePath(),e.fillStyle=a,e.fill()}(i,o,s,r,l,a._loop),d.canvas.unclipArea(i))}}}},{25:25,40:40,45:45}],51:[function(e,t){"use strict";function M(e,t){return e.usePointStyle?t*Math.SQRT2:e.boxWidth}function i(e,t){var n=new o({ctx:e.ctx,options:t,chart:e});a.configure(e,n,t),a.addBox(e,n),e.legend=n}var T=e(25),n=e(26),P=e(45),a=e(30),r=P.noop;
vendor: 4,551 bytes, line 13
13T._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var n=t.datasetIndex,i=this.chart,a=i.getDatasetMeta(n);a.hidden=null===a.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(n){var e=n.data;return P.isArray(e.datasets)?e.datasets.map(function(e,t){return{text:e.label,fillStyle:P.isArray(e.backgroundColor)?e.backgroundColor[0]:e.backgroundColor,hidden:!n.isDatasetVisible(t),lineCap:e.borderCapStyle,lineDash:e.borderDash,lineDashOffset:e.borderDashOffset,lineJoin:e.borderJoinStyle,lineWidth:e.borderWidth,strokeStyle:e.borderColor,pointStyle:e.pointStyle,datasetIndex:t}},this):[]}}},legendCallback:function(e){var t=[];t.push('<ul class="'+e.id+'-legend">');for(var n=0;n<e.data.datasets.length;n++)t.push('<li><span style="background-color:'+e.data.datasets[n].backgroundColor+'"></span>'),e.data.datasets[n].label&&t.push(e.data.datasets[n].label),t.push("</li>");return t.push("</ul>"),t.join("")}});var o=n.extend({initialize:function(e){P.extend(this,e),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:r,update:function(e,t,n){var i=this;return i.beforeUpdate(),i.maxWidth=e,i.maxHeight=t,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:r,beforeSetDimensions:r,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:r,beforeBuildLabels:r,buildLabels:function(){var t=this,n=t.options.labels||{},e=P.callback(n.generateLabels,[t.chart],t)||[];n.filter&&(e=e.filter(function(e){return n.filter(e,t.chart.data)})),t.options.reverse&&e.reverse(),t.legendItems=e},afterBuildLabels:r,beforeFit:r,fit:function(){var i=this,e=i.options,a=e.labels,t=e.display,r=i.ctx,n=T.global,o=P.valueOrDefault,s=o(a.fontSize,n.defaultFontSize),l=o(a.fontStyle,n.defaultFontStyle),c=o(a.fontFamily,n.defaultFontFamily),d=P.fontString(s,l,c),u=i.legendHitBoxes=[],f=i.minSize,h=i.isHorizontal();if(h?(f.width=i.maxWidth,f.height=t?10:0):(f.width=t?10:0,f.height=i.maxHeight),t)if(r.font=d,h){var p=i.lineWidths=[0],m=i.legendItems.length?s+a.padding:0;r.textAlign="left",r.textBaseline="top",P.each(i.legendItems,function(e,t){var n=M(a,s)+s/2+r.measureText(e.text).width;p[p.length-1]+n+a.padding>=i.width&&(m+=s+a.padding,p[p.length]=i.left),u[t]={left:0,top:0,width:n,height:s},p[p.length-1]+=n+a.padding}),f.height+=m}else{var g=a.padding,b=i.columnWidths=[],v=a.padding,y=0,x=0,k=s+g;P.each(i.legendItems,function(e,t){var n=M(a,s)+s/2+r.measureText(e.text).width;x+k>f.height&&(v+=y+a.padding,b.push(y),x=y=0),y=Math.max(y,n),x+=k,u[t]={left:0,top:0,width:n,height:s}}),v+=y,b.push(y),f.width+=v}i.width=f.width,i.height=f.height},afterFit:r,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var u=this,f=u.options,h=f.labels,p=T.global,m=p.elements.line,g=u.width,b=u.lineWidths;if(f.display){var v,y=u.ctx,x=P.valueOrDefault,e=x(h.fontColor,p.defaultFontColor),k=x(h.fontSize,p.defaultFontSize),t=x(h.fontStyle,p.defaultFontStyle),n=x(h.fontFamily,p.defaultFontFamily),i=P.fontString(k,t,n);y.textAlign="left",y.textBaseline="middle",y.lineWidth=.5,y.strokeStyle=e,y.fillStyle=e,y.font=i;var S=M(h,k),w=u.legendHitBoxes,_=u.isHorizontal();v=_?{x:u.left+(g-b[0])/2,y:u.top+h.padding,line:0}:{x:u.left+h.padding,y:u.top+h.padding,line:0};var C=k+h.padding;P.each(u.legendItems,function(e,t){var n,i,a,r,o,s=y.measureText(e.text).width,l=S+k/2+s,c=v.x,d=v.y;_?g<=c+l&&(d=v.y+=C,v.line++,c=v.x=u.left+(g-b[v.line])/2):d+C>u.bottom&&(c=v.x=c+u.columnWidths[v.line]+h.padding,d=v.y=u.top+h.padding,v.line++),function(e,t,n){if(!(isNaN(S)||S<=0)){y.save(),y.fillStyle=x(n.fillStyle,p.defaultColor),y.lineCap=x(n.lineCap,m.borderCapStyle),y.lineDashOffset=x(n.lineDashOffset,m.borderDashOffset),y.lineJoin=x(n.lineJoin,m.borderJoinStyle),y.lineWidth=x(n.lineWidth,m.borderWidth),y.strokeStyle=x(n.strokeStyle,p.defaultColor);var i=0===x(n.lineWidth,m.borderWidth);if(y.setLineDash&&y.setLineDash(x(n.lineDash,m.borderDash)),f.labels&&f.labels.usePointStyle){var a=k*Math.SQRT2/2,r=a/Math.SQRT2,o=e+r,s=t+r;P.canvas.drawPoint(y,n.pointStyle,a,o,s)}else i||y.strokeRect(e,t,S,k),y.fillRect(e,t,S,k);
vendor: 8,822 bytes, lines 13-14
13y.restore()}}(c,d,e),w[t].left=c,w[t].top=d,n=e,i=s,r=S+(a=k/2)+c,o=d+a,y.fillText(n.text,r,o),n.hidden&&(y.beginPath(),y.lineWidth=2,y.moveTo(r,o),y.lineTo(r+i,o),y.stroke()),_?v.x+=l+h.padding:v.y+=C})}},handleEvent:function(e){var t=this,n=t.options,i="mouseup"===e.type?"click":e.type,a=!1;if("mousemove"===i){if(!n.onHover)return}else{if("click"!==i)return;if(!n.onClick)return}var r=e.x,o=e.y;if(r>=t.left&&r<=t.right&&o>=t.top&&o<=t.bottom)for(var s=t.legendHitBoxes,l=0;l<s.length;++l){var c=s[l];if(r>=c.left&&r<=c.left+c.width&&o>=c.top&&o<=c.top+c.height){if("click"===i){n.onClick.call(t,e["native"],t.legendItems[l]),a=!0;break}if("mousemove"===i){n.onHover.call(t,e["native"],t.legendItems[l]),a=!0;break}}}return a}});t.exports={id:"legend",_element:o,beforeInit:function(e){var t=e.options.legend;t&&i(e,t)},beforeUpdate:function(e){var t=e.options.legend,n=e.legend;t?(P.mergeIf(t,T.global.legend),n?(a.configure(e,n,t),n.options=t):i(e,t)):n&&(a.removeBox(e,n),delete e.legend)},afterEvent:function(e,t){var n=e.legend;n&&n.handleEvent(t)}}},{25:25,26:26,30:30,45:45}],52:[function(e,t){"use strict";function i(e,t){var n=new o({ctx:e.ctx,options:t,chart:e});a.configure(e,n,t),a.addBox(e,n),e.titleBlock=n}var S=e(25),n=e(26),w=e(45),a=e(30),r=w.noop;S._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}});var o=n.extend({initialize:function(e){w.extend(this,e),this.legendHitBoxes=[]},beforeUpdate:r,update:function(e,t,n){var i=this;return i.beforeUpdate(),i.maxWidth=e,i.maxHeight=t,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:r,beforeSetDimensions:r,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:r,beforeBuildLabels:r,buildLabels:r,afterBuildLabels:r,beforeFit:r,fit:function(){var e=this,t=w.valueOrDefault,n=e.options,i=n.display,a=t(n.fontSize,S.global.defaultFontSize),r=e.minSize,o=w.isArray(n.text)?n.text.length:1,s=w.options.toLineHeight(n.lineHeight,a),l=i?o*s+2*n.padding:0;e.isHorizontal()?(r.width=e.maxWidth,r.height=l):(r.width=l,r.height=e.maxHeight),e.width=r.width,e.height=r.height},afterFit:r,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this,t=e.ctx,n=w.valueOrDefault,i=e.options,a=S.global;if(i.display){var r,o,s,l=n(i.fontSize,a.defaultFontSize),c=n(i.fontStyle,a.defaultFontStyle),d=n(i.fontFamily,a.defaultFontFamily),u=w.fontString(l,c,d),f=w.options.toLineHeight(i.lineHeight,l),h=f/2+i.padding,p=0,m=e.top,g=e.left,b=e.bottom,v=e.right;t.fillStyle=n(i.fontColor,a.defaultFontColor),t.font=u,e.isHorizontal()?(o=g+(v-g)/2,s=m+h,r=v-g):(o="left"===i.position?g+h:v-h,s=m+(b-m)/2,r=b-m,p=Math.PI*("left"===i.position?-.5:.5)),t.save(),t.translate(o,s),t.rotate(p),t.textAlign="center",t.textBaseline="middle";var y=i.text;if(w.isArray(y))for(var x=0,k=0;k<y.length;++k)t.fillText(y[k],0,x,r),x+=f;else t.fillText(y,0,0,r);t.restore()}}});t.exports={id:"title",_element:o,beforeInit:function(e){var t=e.options.title;t&&i(e,t)},beforeUpdate:function(e){var t=e.options.title,n=e.titleBlock;t?(w.mergeIf(t,S.global.title),n?(a.configure(e,n,t),n.options=t):i(e,t)):n&&(a.removeBox(e,n),delete e.titleBlock)}}},{25:25,26:26,30:30,45:45}],53:[function(e,t){"use strict";t.exports=function(e){var t=e.Scale.extend({getLabels:function(){var e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels},determineDataLimits:function(){var e,t=this,n=t.getLabels();t.minIndex=0,t.maxIndex=n.length-1,void 0!==t.options.ticks.min&&(e=n.indexOf(t.options.ticks.min),t.minIndex=-1!==e?e:t.minIndex),void 0!==t.options.ticks.max&&(e=n.indexOf(t.options.ticks.max),t.maxIndex=-1!==e?e:t.maxIndex),t.min=n[t.minIndex],t.max=n[t.maxIndex]},buildTicks:function(){var e=this,t=e.getLabels();e.ticks=0===e.minIndex&&e.maxIndex===t.length-1?t:t.slice(e.minIndex,e.maxIndex+1)},getLabelForIndex:function(e,t){var n=this,i=n.chart.data,a=n.isHorizontal();return i.yLabels&&!a?n.getRightValue(i.datasets[t].data[e]):n.ticks[e-n.minIndex]},getPixelForValue:function(e,t){var n,i=this,a=i.options.offset,r=Math.max(i.maxIndex+1-i.minIndex-(a?0:1),1);if(null!=e&&(n=i.isHorizontal()?e.x:e.y),void 0!==n||void 0!==e&&isNaN(t)){e=n||e;var o=i.getLabels().indexOf(e);t=-1!==o?o:t}if(i.isHorizontal()){var s=i.width/r,l=s*(t-i.minIndex);return a&&(l+=s/2),i.left+Math.round(l)}var c=i.height/r,d=c*(t-i.minIndex);return a&&(d+=c/2),i.top+Math.round( 14d)},getPixelForTick:function(e){return this.getPixelForValue(this.ticks[e],e+this.minIndex,null)},getValueForPixel:function(e){var t=this,n=t.options.offset,i=Math.max(t._ticks.length-(n?0:1),1),a=t.isHorizontal(),r=(a?t.width:t.height)/i;return e-=a?t.left:t.top,n&&(e-=r/2),(e<=0?0:Math.round(e/r))+t.minIndex},getBasePixel:function(){return this.bottom}});e.scaleService.registerScaleType("category",t,{position:"bottom"})}},{}],54:[function(e,t){"use strict";var i=e(25),u=e(45),a=e(34);t.exports=function(e){var t={position:"left",ticks:{callback:a.formatters.linear}},n=e.LinearScaleBase.extend({determineDataLimits:function(){function o(e){return t?e.xAxisID===s.id:e.yAxisID===s.id}var s=this,l=s.options,c=s.chart,e=c.data.datasets,t=s.isHorizontal();s.min=null,s.max=null;var i=l.stacked;if(void 0===i&&u.each(e,function(e,t){if(!i){var n=c.getDatasetMeta(t);c.isDatasetVisible(t)&&o(n)&&void 0!==n.stack&&(i=!0)}}),l.stacked||i){var d={};u.each(e,function(e,t){var i=c.getDatasetMeta(t),n=[i.type,void 0===l.stacked&&void 0===i.stack?t:"",i.stack].join(".");void 0===d[n]&&(d[n]={positiveValues:[],negativeValues:[]});var a=d[n].positiveValues,r=d[n].negativeValues;c.isDatasetVisible(t)&&o(i)&&u.each(e.data,function(e,t){var n=+s.getRightValue(e);isNaN(n)||i.data[t].hidden||(a[t]=a[t]||0,r[t]=r[t]||0,l.relativePoints?a[t]=100:n<0?r[t]+=n:a[t]+=n)})}),u.each(d,function(e){var t=e.positiveValues.concat(e.negativeValues),n=u.min(t),i=u.max(t);s.min=null===s.min?n:Math.min(s.min,n),s.max=null===s.max?i:Math.max(s.max,i)})}else u.each(e,function(e,t){var i=c.getDatasetMeta(t);c.isDatasetVisible(t)&&o(i)&&u.each(e.data,function(e,t){var n=+s.getRightValue(e);isNaN(n)||i.data[t].hidden||(null===s.min?s.min=n:n<s.min&&(s.min=n),null===s.max?s.max=n:n>s.max&&(s.max=n))})});s.min=isFinite(s.min)&&!isNaN(s.min)?s.min:0,s.max=isFinite(s.max)&&!isNaN(s.max)?s.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var e,t=this.options.ticks;if(this.isHorizontal())e=Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.width/50));else{var n=u.valueOrDefault(t.fontSize,i.global.defaultFontSize);e=Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.height/(2*n)))}return e},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},getPixelForValue:function(e){var t=this,n=t.start,i=+t.getRightValue(e),a=t.end-n;return t.isHorizontal()?t.left+t.width/a*(i-n):t.bottom-t.height/a*(i-n)},getValueForPixel:function(e){var t=this,n=t.isHorizontal(),i=n?t.width:t.height,a=(n?e-t.left:t.bottom-e)/i;return t.start+(t.end-t.start)*a},getPixelForTick:function(e){return this.getPixelForValue(this.ticksAsNumbers[e])}});e.scaleService.registerScaleType("linear",n,t)}},{25:25,34:34,45:45}],55:[function(e,t){"use strict";var d=e(45);t.exports=function(t){var e=d.noop;t.LinearScaleBase=t.Scale.extend({getRightValue:function(e){return"string"==typeof e?+e:t.Scale.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;if(t.beginAtZero){var n=d.sign(e.min),i=d.sign(e.max);n<0&&i<0?e.max=0:0<n&&0<i&&(e.min=0)}var a=void 0!==t.min||void 0!==t.suggestedMin,r=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(null===e.min?e.min=t.suggestedMin:e.min=Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(null===e.max?e.max=t.suggestedMax:e.max=Math.max(e.max,t.suggestedMax)),a!==r&&e.min>=e.max&&(a?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:e,handleDirectionalChanges:e,buildTicks:function(){var e=this,t=e.options.ticks,n=e.getTickLimit(),i={maxTicks:n=Math.max(2,n),min:t.min,max:t.max,stepSize:d.valueOrDefault(t.fixedStepSize,t.stepSize)},a=e.ticks=function(e,t){var n,i=[];if(e.stepSize&&0<e.stepSize)n=e.stepSize;else{var a=d.niceNum(t.max-t.min,!1);n=d.niceNum(a/(e.maxTicks-1),!0)}
vendor: 5,699 bytes, line 14
14var r=Math.floor(t.min/n)*n,o=Math.ceil(t.max/n)*n;e.min&&e.max&&e.stepSize&&d.almostWhole((e.max-e.min)/e.stepSize,n/1e3)&&(r=e.min,o=e.max);var s=(o-r)/n;s=d.almostEquals(s,Math.round(s),n/1e3)?Math.round(s):Math.ceil(s);var l=1;n<1&&(l=Math.pow(10,n.toString().length-2),r=Math.round(r*l)/l,o=Math.round(o*l)/l),i.push(void 0!==e.min?e.min:r);for(var c=1;c<s;++c)i.push(Math.round((r+c*n)*l)/l);return i.push(void 0!==e.max?e.max:o),i}(i,e);e.handleDirectionalChanges(),e.max=d.max(a),e.min=d.min(a),t.reverse?(a.reverse(),e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max)},convertTicksToLabels:function(){var e=this;e.ticksAsNumbers=e.ticks.slice(),e.zeroLineIndex=e.ticks.indexOf(0),t.Scale.prototype.convertTicksToLabels.call(e)}})}},{45:45}],56:[function(e,t){"use strict";var f=e(45),n=e(34);t.exports=function(u){var e={position:"left",ticks:{callback:n.formatters.logarithmic}},t=u.Scale.extend({determineDataLimits:function(){function o(e){return t?e.xAxisID===s.id:e.yAxisID===s.id}var s=this,n=s.options,l=s.chart,e=l.data.datasets,t=s.isHorizontal();s.min=null,s.max=null,s.minNotZero=null;var i=n.stacked;if(void 0===i&&f.each(e,function(e,t){if(!i){var n=l.getDatasetMeta(t);l.isDatasetVisible(t)&&o(n)&&void 0!==n.stack&&(i=!0)}}),n.stacked||i){var c={};f.each(e,function(e,t){var a=l.getDatasetMeta(t),r=[a.type,void 0===n.stacked&&void 0===a.stack?t:"",a.stack].join(".");l.isDatasetVisible(t)&&o(a)&&(void 0===c[r]&&(c[r]=[]),f.each(e.data,function(e,t){var n=c[r],i=+s.getRightValue(e);isNaN(i)||a.data[t].hidden||i<0||(n[t]=n[t]||0,n[t]+=i)}))}),f.each(c,function(e){if(0<e.length){var t=f.min(e),n=f.max(e);s.min=null===s.min?t:Math.min(s.min,t),s.max=null===s.max?n:Math.max(s.max,n)}})}else f.each(e,function(e,t){var i=l.getDatasetMeta(t);l.isDatasetVisible(t)&&o(i)&&f.each(e.data,function(e,t){var n=+s.getRightValue(e);isNaN(n)||i.data[t].hidden||n<0||(null===s.min?s.min=n:n<s.min&&(s.min=n),null===s.max?s.max=n:n>s.max&&(s.max=n),0!==n&&(null===s.minNotZero||n<s.minNotZero)&&(s.minNotZero=n))})});this.handleTickRangeOptions()},handleTickRangeOptions:function(){var e=this,t=e.options.ticks,n=f.valueOrDefault;e.min=n(t.min,e.min),e.max=n(t.max,e.max),e.min===e.max&&(0!==e.min&&null!==e.min?(e.min=Math.pow(10,Math.floor(f.log10(e.min))-1),e.max=Math.pow(10,Math.floor(f.log10(e.max))+1)):(e.min=1,e.max=10)),null===e.min&&(e.min=Math.pow(10,Math.floor(f.log10(e.max))-1)),null===e.max&&(e.max=0!==e.min?Math.pow(10,Math.floor(f.log10(e.min))+1):10),null===e.minNotZero&&(0<e.min?e.minNotZero=e.min:e.max<1?e.minNotZero=Math.pow(10,Math.floor(f.log10(e.max))):e.minNotZero=1)},buildTicks:function(){var e=this,t=e.options.ticks,n=!e.isHorizontal(),i={min:t.min,max:t.max},a=e.ticks=function(e,t){var n,i,a=[],r=f.valueOrDefault,o=r(e.min,Math.pow(10,Math.floor(f.log10(t.min)))),s=Math.floor(f.log10(t.max)),l=Math.ceil(t.max/Math.pow(10,s));0===o?(n=Math.floor(f.log10(t.minNotZero)),i=Math.floor(t.minNotZero/Math.pow(10,n)),a.push(o),o=i*Math.pow(10,n)):(n=Math.floor(f.log10(o)),i=Math.floor(o/Math.pow(10,n)));for(var c=n<0?Math.pow(10,Math.abs(n)):1;a.push(o),10==++i&&(i=1,c=0<=++n?1:c),o=Math.round(i*Math.pow(10,n)*c)/c,n<s||n===s&&i<l;);var d=r(e.max,o);return a.push(d),a}(i,e);e.max=f.max(a),e.min=f.min(a),t.reverse?(n=!n,e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max),n&&a.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),u.Scale.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},getPixelForTick:function(e){return this.getPixelForValue(this.tickValues[e])},_getFirstTickValue:function(e){var t=Math.floor(f.log10(e));return Math.floor(e/Math.pow(10,t))*Math.pow(10,t)},getPixelForValue:function(e){var t,n,i,a,r,o=this,s=o.options.ticks.reverse,l=f.log10,c=o._getFirstTickValue(o.minNotZero),d=0;return e=+o.getRightValue(e),s?(i=o.end,a=o.start,r=-1):(i=o.start,a=o.end,r=1),o.isHorizontal()?(t=o.width,n=s?o.right:o.left):(t=o.height,r*=-1,n=s?o.top:o.bottom),e!==i&&(0===i&&(t-=d=f.getValueOrDefault(o.options.ticks.fontSize,u.defaults.global.defaultFontSize),i=c),0!==e&&(d+=t/(l(a)-l(i))*(l(e)-l(i))),n+=r*d),n},getValueForPixel:function(e){var t,n,i,a,r=this,o=r.options.ticks.reverse,s=f.log10,l=r._getFirstTickValue(r.minNotZero);if(o?(n=r.end,i=r.start):(n=r.start,i=r.end),r.isHorizontal()?(t=r.width,a=o?r.right-e:e-r.left):(t=r.height,a=o?e-r.top:r.bottom-e),a!==n){if(0===n){var c=f.getValueOrDefault(r.options.ticks.fontSize,u.defaults.global.defaultFontSize);a-=c,t-=c,n=l}a*=s(i)-s(n),a/=t,a=Math.pow(10,s(n)+a)}return a}});u.scaleService.registerScaleType("logarithmic",t,e)}},{34:34,45:45}],57:[function(e,t){"use strict";var i=e(25),k=e(45),a=e(34);t.exports=function(t){function b(e){var t=e.options;return t.angleLines.display||t.pointLabels.display?e.chart.data.labels.length:0}function v(e){var t=e.options.pointLabels,n=k.valueOrDefault(t.fontSize,x.defaultFontSize),i=k.valueOrDefault(t.fontStyle,x.defaultFontStyle),a=k.valueOrDefault(t.fontFamily,x.defaultFontFamily);return{size:n,style:i,family:a,font:k.fontString(n,i,a)}}function g(e,t,n,i,a){return e===i||e===a?{start:t-n/2,end:t+n/2}:e<i||a<e?{start:t-n-5,end:t}:{start:t,end:t+n+5}}function y(e,t,n,i){if(k.isArray(t))for(var a=n.y,r=1.5*i,o=0;o<t.length;++o)e.fillText(t[o],n.x,a),a+=r;else e.fillText(t,n.x,n.y)}function s(e){return k.isNumber(e)?e:0}var x=i.global,e={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:a.formatters.linear}
vendor: 4,490 bytes, line 14
14,pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}},n=t.LinearScaleBase.extend({setDimensions:function(){var e=this,t=e.options,n=t.ticks;e.width=e.maxWidth,e.height=e.maxHeight,e.xCenter=Math.round(e.width/2),e.yCenter=Math.round(e.height/2);var i=k.min([e.height,e.width]),a=k.valueOrDefault(n.fontSize,x.defaultFontSize);e.drawingArea=t.display?i/2-(a/2+n.backdropPaddingY):i/2},determineDataLimits:function(){var a=this,n=a.chart,r=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY;k.each(n.data.datasets,function(e,t){if(n.isDatasetVisible(t)){var i=n.getDatasetMeta(t);k.each(e.data,function(e,t){var n=+a.getRightValue(e);isNaN(n)||i.data[t].hidden||(r=Math.min(n,r),o=Math.max(n,o))})}}),a.min=r===Number.POSITIVE_INFINITY?0:r,a.max=o===Number.NEGATIVE_INFINITY?0:o,a.handleTickRangeOptions()},getTickLimit:function(){var e=this.options.ticks,t=k.valueOrDefault(e.fontSize,x.defaultFontSize);return Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*t)))},convertTicksToLabels:function(){var e=this;t.LinearScaleBase.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map(e.options.pointLabels.callback,e)},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e,t;this.options.pointLabels.display?function(e){var t,n,i,a=v(e),r=Math.min(e.height/2,e.width/2),o={r:e.width,l:0,t:e.height,b:0},s={};e.ctx.font=a.font,e._pointLabelSizes=[];var l,c,d,u=b(e);for(t=0;t<u;t++){i=e.getPointPosition(t,r),l=e.ctx,c=a.size,d=e.pointLabels[t]||"",n=k.isArray(d)?{w:k.longestText(l,l.font,d),h:d.length*c+1.5*(d.length-1)*c}:{w:l.measureText(d).width,h:c},e._pointLabelSizes[t]=n;var f=e.getIndexAngle(t),h=k.toDegrees(f)%360,p=g(h,i.x,n.w,0,180),m=g(h,i.y,n.h,90,270);p.start<o.l&&(o.l=p.start,s.l=f),p.end>o.r&&(o.r=p.end,s.r=f),m.start<o.t&&(o.t=m.start,s.t=f),m.end>o.b&&(o.b=m.end,s.b=f)}e.setReductions(r,o,s)}(this):(e=this,t=Math.min(e.height/2,e.width/2),e.drawingArea=Math.round(t),e.setCenterPoint(0,0,0,0))},setReductions:function(e,t,n){var i=t.l/Math.sin(n.l),a=Math.max(t.r-this.width,0)/Math.sin(n.r),r=-t.t/Math.cos(n.t),o=-Math.max(t.b-this.height,0)/Math.cos(n.b);i=s(i),a=s(a),r=s(r),o=s(o),this.drawingArea=Math.min(Math.round(e-(i+a)/2),Math.round(e-(r+o)/2)),this.setCenterPoint(i,a,r,o)},setCenterPoint:function(e,t,n,i){var a=this,r=a.width-t-a.drawingArea,o=e+a.drawingArea,s=n+a.drawingArea,l=a.height-i-a.drawingArea;a.xCenter=Math.round((o+r)/2+a.left),a.yCenter=Math.round((s+l)/2+a.top)},getIndexAngle:function(e){return e*(2*Math.PI/b(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(e){var t=this;if(null===e)return 0;var n=t.drawingArea/(t.max-t.min);return t.options.ticks.reverse?(t.max-e)*n:(e-t.min)*n},getPointPosition:function(e,t){var n=this.getIndexAngle(e)-Math.PI/2;return{x:Math.round(Math.cos(n)*t)+this.xCenter,y:Math.round(Math.sin(n)*t)+this.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(){var e=this.min,t=this.max;return this.getPointPositionForValue(0,this.beginAtZero?0:e<0&&t<0?t:0<e&&0<t?e:0)},draw:function(){var r=this,e=r.options,o=e.gridLines,s=e.ticks,l=k.valueOrDefault;if(e.display){var c=r.ctx,d=this.getIndexAngle(0),u=l(s.fontSize,x.defaultFontSize),t=l(s.fontStyle,x.defaultFontStyle),n=l(s.fontFamily,x.defaultFontFamily),f=k.fontString(u,t,n);k.each(r.ticks,function(e,t){if(0<t||s.reverse){var n=r.getDistanceFromCenterForValue(r.ticksAsNumbers[t]);if(o.display&&0!==t&&function(e,t,n,i){var a=e.ctx;if(a.strokeStyle=k.valueAtIndexOrDefault(t.color,i-1),a.lineWidth=k.valueAtIndexOrDefault(t.lineWidth,i-1),e.options.gridLines.circular)a.beginPath(),a.arc(e.xCenter,e.yCenter,n,0,2*Math.PI),a.closePath(),a.stroke();else{var r=b(e);if(0===r)return;a.beginPath();var o=e.getPointPosition(0,n);a.moveTo(o.x,o.y);for(var s=1;s<r;s++)o=e.getPointPosition(s,n),a.lineTo(o.x,o.y);a.closePath(),a.stroke()}}(r,o,n,t),s.display){var i=l(s.fontColor,x.defaultFontColor);if(c.font=f,c.save(),c.translate(r.xCenter,r.yCenter),c.rotate(d),s.showLabelBackdrop){var a=c.measureText(e).width;c.fillStyle=s.backdropColor,c.fillRect(-a/2-s.backdropPaddingX,-n-u/2-s.backdropPaddingY,a+2*s.backdropPaddingX,u+2*s.backdropPaddingY)}c.textAlign="center",c.textBaseline="middle",c.fillStyle=i,c.fillText(e,0,-n),c.restore(
vendor: 6,037 bytes, line 14
14)}}}),(e.angleLines.display||e.pointLabels.display)&&function(e){var t=e.ctx,n=e.options,i=n.angleLines,a=n.pointLabels;t.lineWidth=i.lineWidth,t.strokeStyle=i.color;var r,o,s,l,c=e.getDistanceFromCenterForValue(n.ticks.reverse?e.min:e.max),d=v(e);t.textBaseline="top";for(var u=b(e)-1;0<=u;u--){if(i.display){var f=e.getPointPosition(u,c);t.beginPath(),t.moveTo(e.xCenter,e.yCenter),t.lineTo(f.x,f.y),t.stroke(),t.closePath()}if(a.display){var h=e.getPointPosition(u,c+5),p=k.valueAtIndexOrDefault(a.fontColor,u,x.defaultFontColor);t.font=d.font,t.fillStyle=p;var m=e.getIndexAngle(u),g=k.toDegrees(m);t.textAlign=0===(l=g)||180===l?"center":l<180?"left":"right",r=g,o=e._pointLabelSizes[u],s=h,90===r||270===r?s.y-=o.h/2:(270<r||r<90)&&(s.y-=o.h),y(t,e.pointLabels[u]||"",h,d.size)}}}(r)}}});t.scaleService.registerScaleType("radialLinear",n,e)}},{25:25,34:34,45:45}],58:[function(e,t){"use strict";function m(e,t){return e-t}function g(e){var t,n,i,a={},r=[];for(t=0,n=e.length;t<n;++t)a[i=e[t]]||(a[i]=!0,r.push(i));return r}function y(e,t,n,i){var a=function(e,t,n){for(var i,a,r,o=0,s=e.length-1;0<=o&&o<=s;){if(a=e[(i=o+s>>1)-1]||null,r=e[i],!a)return{lo:null,hi:r};if(r[t]<n)o=i+1;else{if(!(a[t]>n))return{lo:a,hi:r};s=i-1}}return{lo:r,hi:null}}(e,t,n),r=a.lo?a.hi?a.lo:e[e.length-2]:e[0],o=a.lo?a.hi?a.hi:e[e.length-1]:e[1],s=o[t]-r[t],l=s?(n-r[t])/s:0,c=(o[i]-r[i])*l;return r[i]+c}function x(e,t){var n=t.parser,i=t.parser||t.format;return"function"==typeof n?n(e):"string"==typeof e&&"string"==typeof i?_(e,i):(e instanceof _||(e=_(e)),e.isValid()?e:"function"==typeof i?i(e):e)}function k(e,t){if(b.isNullOrUndef(e))return null;var n=t.options.time,i=x(t.getRightValue(e),n);return i.isValid()?(n.round&&i.startOf(n.round),i.valueOf()):null}function S(e){for(var t=T.indexOf(e)+1,n=T.length;t<n;++t)if(M[T[t]].common)return T[t]}function w(u,f,e,t){var n,i=t.time,h=i.unit||function(e,t,n,i){var a,r,o,s=T.length;for(a=T.indexOf(e);a<s-1;++a)if(o=(r=M[T[a]]).steps?r.steps[r.steps.length-1]:C,r.common&&Math.ceil((n-t)/(o*r.size))<=i)return T[a];return T[s-1]}(i.minUnit,u,f,e),a=S(h),r=b.valueOrDefault(i.stepSize,i.unitStepSize),o="week"===h&&i.isoWeekday,s=t.ticks.major.enabled,l=M[h],c=_(u),d=_(f),p=[];for(r||(r=function(e,t,n,i){var a,r,o,s=f-u,l=M[h],c=l.size,d=l.steps;if(!d)return Math.ceil(s/(i*c));for(a=0,r=d.length;a<r&&(o=d[a],!(Math.ceil(s/(c*o))<=i));++a);return o}(0,0,0,e)),o&&(c=c.isoWeekday(o),d=d.isoWeekday(o)),c=c.startOf(o?"day":h),(d=d.startOf(o?"day":h))<f&&d.add(1,h),n=_(c),s&&a&&!o&&!i.round&&(n.startOf(a),n.add(~~((c-n)/(l.size*r))*r,h));n<d;n.add(r,h))p.push(+n);return p.push(+n),p}var _=e(1);_="function"==typeof _?_:window.moment;var o=e(25),b=e(45),v=Number.MIN_SAFE_INTEGER||-9007199254740991,C=Number.MAX_SAFE_INTEGER||9007199254740991,M={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},T=Object.keys(M);t.exports=function(t){var e=t.Scale.extend({initialize:function(){if(!_)throw new Error("Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com");this.mergeTicksOptions(),t.Scale.prototype.initialize.call(this)},update:function(){var e=this.options;return e.time&&e.time.format&&console.warn("options.time.format is deprecated and replaced by options.time.parser."),t.Scale.prototype.update.apply(this,arguments)},getRightValue:function(e){return e&&void 0!==e.t&&(e=e.t),t.Scale.prototype.getRightValue.call(this,e)},determineDataLimits:function(){var e,t,n,i,a,r,o=this,s=o.chart,l=o.options.time,c=l.unit||"day",d=C,u=v,f=[],h=[],p=[];for(e=0,n=s.data.labels.length;e<n;++e)p.push(k(s.data.labels[e],o));for(e=0,n=(s.data.datasets||[]).length;e<n;++e)if(s.isDatasetVisible(e))if(a=s.data.datasets[e].data,b.isObject(a[0]))for(h[e]=[],t=0,i=a.length;t<i;++t)r=k(a[t],o),f.push(r),h[e][t]=r;else f.push.apply(f,p),h[e]=p.slice(0);else h[e]=[];p.length&&(p=g(p).sort(m),d=Math.min(d,p[0]),u=Math.max(u,p[p.length-1])),f.length&&(f=g(f).sort(m),d=Math.min(d,f[0]),u=Math.max(u,f[f.length-1])),d=k(l.min,o)||d,u=k(l.max,o)||u,d=d===C?+_().startOf(c):d,u=u===v?+_().endOf(c)+1:u,o.min=Math.min(d,u),o.max=Math.max(d+1,u),o._horizontal=o.isHorizontal(),o._table=[],o._timestamps={data:f,datasets:h,labels:p}},buildTicks:function(){var e,t,n,i,a,r,o,s,l,c,d,u,f=this,h=f.min,p=f.max,m=f.options,g=m.time,b=[],v=[];switch(m.ticks.source){case"data":b=f._timestamps.data;break;case"labels":b=f._timestamps.labels;break;case"auto":default:b=w(h,p,f.getLabelCapacity(h),m)}for("ticks"===m.bounds&&b.length&&(h=b[0],p=b[b.length-1]),h=k(g.min,f)||h,p=k(g.max,f)||p,e=0,t=b.length;e<t;++e)(n=b[e])>=h&&n<=p&&v.push(n);return f.min=h,f.max=p,f._unit=g.unit||function(e,t,n,i){var a,r,o=_.duration(_(i).diff(_(n)));for(a=T.length-1;a>=T.indexOf(t);a--)if(r=T[a],M[r].common&&o.as(r)>=e.length)return r;return T[t?T.indexOf(t):0]}(v,g.minUnit,f.min,f.max),f._majorUnit=S(f._unit),f._table=function(e,t,n){if("linear"===m.distribution||!e.length)return[{time:t,pos:0},{time:n,pos:1}];var i,a,r,o,s,l=[],c=[t];for(i=0,a=e.length;i<a;++i)(o=e[i])>t&&o<n&&c.push(o);for(c.push(n),i=0,a=c.length;i<a;++i)s=c[i+1],r=c[i-1],o=c[i],void 0!==r&&void 0!==s&&Math.round((s+r)/2)===o||l.push({time:o,pos:i/(a-1)});return l}(f._timestamps.data,h,p),f._offsets=(i=f._table,a=v,r=h,o=p,u=d=0,(s=m).offset&&a.length&&(s.time.min||(l=1<a.length?a[1]:o,c=a[0],d=(y(i,"time",l,"pos")-y(i,"time",c,"pos"))/2),s.time.max||(l=a[a.length-1],c=1<a.length?a[a.length-2]:r,u=(y(i,"time",l,"pos")-y(i,"time",c,"pos"))/2)),{left:d,right:u}),f._labelFormat=function(e,t){var n,i,a,r=e.length;for(n=0;n<r;n++){if(0!==(i=x(e[n],t)).millisecond())return"MMM D, YYYY h:mm:ss.SSS a";
140===i.second()&&0===i.minute()&&0===i.hour()||(a=!0)}return a?"MMM D, YYYY h:mm:ss a":"MMM D, YYYY"}(f._timestamps.data,g),function(e,t){var n,i,a,r,o=[];for(n=0,i=e.length;n<i;++n)a=e[n],r=!!t&&a===+_(a).startOf(t),o.push({value:a,major:r});return o}(v,f._majorUnit)},getLabelForIndex:function(e,t){var n=this.chart.data,i=this.options.time,a=n.labels&&e<n.labels.length?n.labels[e]:"",r=n.datasets[t].data[e];return b.isObject(r)&&(a=this.getRightValue(r)),i.tooltipFormat?x(a,i).format(i.tooltipFormat):"string"==typeof a?a:x(a,i).format(this._labelFormat)},tickFormatFunction:function(e,t,n,i){var a=this.options,r=e.valueOf(),o=a.time.displayFormats,s=o[this._unit],l=this._majorUnit,c=o[l],d=e.clone().startOf(l).valueOf(),u=a.ticks.major,f=u.enabled&&l&&c&&r===d,h=e.format(i||(f?c:s)),p=f?u:a.ticks.minor,m=b.valueOrDefault(p.callback,p.userCallback);return m?m(h,t,n):h},convertTicksToLabels:function(e){var t,n,i=[];for(t=0,n=e.length;t<n;++t)i.push(this.tickFormatFunction(_(e[t].value),t,e));return i},getPixelForOffset:function(e){var t=this,n=t._horizontal?t.width:t.height,i=t._horizontal?t.left:t.top,a=y(t._table,"time",e,"pos");return i+n*(t._offsets.left+a)/(t._offsets.left+1+t._offsets.right)},getPixelForValue:function(e,t,n){var i=null;if(void 0!==t&&void 0!==n&&(i=this._timestamps.datasets[n][t]),null===i&&(i=k(e,this)),null!==i)return this.getPixelForOffset(i)},getPixelForTick:function(e){var t=this.getTicks();return 0<=e&&e<t.length?this.getPixelForOffset(t[e].value):null},getValueForPixel:function(e){var t=this,n=t._horizontal?t.width:t.height,i=t._horizontal?t.left:t.top,a=(n?(e-i)/n:0)*(t._offsets.left+1+t._offsets.left)-t._offsets.right,r=y(t._table,"pos",a,"time");return _(r)},getLabelWidth:function(e){var t=this.options.ticks,n=this.ctx.measureText(e).width,i=b.toRadians(t.maxRotation),a=Math.cos(i),r=Math.sin(i);return n*a+b.valueOrDefault(t.fontSize,o.global.defaultFontSize)*r},getLabelCapacity:function(e){var t=this,n=t.options.time.displayFormats.millisecond,i=t.tickFormatFunction(_(e),0,[],n),a=t.getLabelWidth(i),r=t.isHorizontal()?t.width:t.height,o=Math.floor(r/a);return 0<o?o:1}});t.scaleService.registerScaleType("time",e,{position:"bottom",distribution:"linear",bounds:"data",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}})}},{1:1,25:25,45:45}]},{},[7])(7)}),this.Inquiry_Chart=function(){function e(){}return e.drawBar=function(e){$(e).each(function(){var e=$.parseJSON($(this).attr("data-columns")),n=[],i=[],a=[],r=[];$.each(e,function(e,t){n.push(e),i.push(t),a.push("rgba(54, 162, 235, 0.2)"),r.push("rgba(54, 162, 235, 1)")}),new Chart(this,{type:"horizontalBar",data:{labels:n,datasets:[{data:i,backgroundColor:a,borderColor:r,borderWidth:1}]},options:{scales:{xAxes:[{ticks:{min:0,max:100,stepSize:10}}]},legend:{display:!1}}})})},e}(),function(V){var G={mode:"horizontal",slideSelector:"",infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:"visible",responsive:!0,slideZIndex:50,wrapperClass:"bx-wrapper",touchEnabled:!0,swipeThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,ariaLive:!0,ariaHidden:!0,keyboardEnabled:!1,pager:!0,pagerType:"full",pagerShortSeparator:" / ",pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:"Next",prevText:"Prev",nextSelector:null,prevSelector:null,autoControls:!1,startText:"Start",stopText:"Stop",autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4e3,autoStart:!0,autoDirection:"next",stopAutoOnClick:!1,autoHover:!1,autoDelay:0,autoSlideForOnePage:!1,minSlides:1,maxSlides:1,moveSlides:0,slideWidth:0,shrinkItems:!1,onSliderLoad:function(){return!0},onSlideBefore:function(){return!0},onSlideAfter:function(){return!0},onSlideNext:function(){return!0},onSlidePrev:function(){return!0},onSliderResize:function(){return!0}};V.fn.bxSlider=function(t){if(0===this.length)return this;if(1<this.length)return this.each(function(){V(this).bxSlider(t)}),this;var d={},u=this,n=V(window).width(),a=V(window).height();if(!V(u).data("bxSlider")){var r=function(){V(u).data("bxSlider")||(d.settings=V.extend({},G,t),d.settings.slideWidth=parseInt(d.settings.slideWidth),d.children=u.children(d.settings.slideSelector),d.children.length<d.settings.minSlides&&(d.settings.minSlides=d.children.length),d.children.length<d.settings.maxSlides&&(d.settings.maxSlides=d.children.length),d.settings.randomStart&&(d.settings.startSlide=Math.floor(Math.random()*d.children.length)),d.active={index:d.settings.startSlide},d.carousel=1<d.settings.minSlides||1<d.settings.maxSlides,d.carousel&&(d.settings.preloadImages="all"),d.minThreshold=d.settings.minSlides*d.settings.slideWidth+(d.settings.minSlides-1)*d.settings.slideMargin,d.maxThreshold=d.settings.maxSlides*d.settings.slideWidth+(d.settings.maxSlides-1)*d.settings.slideMargin,d.working=!1,d.controls={},d.interval=null,d.animProp="vertical"===d.settings.mode?"top":"left",d.usingCSS=d.settings.useCSS&&"fade"!==d.settings.mode&&function(){for(var e=document.createElement("div"),t=["WebkitPerspective","MozPerspective","OPerspective","msPerspective"],n=0;n<t.length;n++)if(e.style[t[n]]!==undefined)return d.cssPrefix=t[n].replace("Perspective","").toLowerCase(),d.animProp="-"+d.cssPrefix+"-transform",!0;return!1}(),"vertical"===d.settings.mode&&(d.settings.maxSlides=d.settings.minSlides),u.data("origStyle",u.attr("style")),u.children(d.settings.slideSelector).each(function(){V(this).data("origStyle",V(this).attr("style"))}),e())},e=function(){var e=d.children.eq(d.settings.startSlide);u.wrap('<div class="'+d.settings.wrapperClass+'"><div class="bx-viewport"></div></div>'),d.viewport=u.parent(),d.settings.ariaLive&&!d.settings.ticker&&d.viewport.attr("aria-live","polite"),d.loader=V('<div class="bx-loading" />'),d.viewport.prepend(d.loader),u.css({width:"horizontal"===d.settings.mode?1e3*d.children.length+215+"%":"auto",position:"relative"}),d.usingCSS&&d.settings.easing?u.css("-"+d.cssPrefix+"-transition-timing-function",d.settings.easing):d.settings.easing||(d.settings.easing="swing"),d.viewport.css({width:"100%",overflow:"hidden",position:"relative"}),d.viewport.parent().css({maxWidth:l()}),d.settings.pager||d.settings.controls||d.viewport.parent().css({margin:"0 auto 0px"}
14),d.children.css({"float":"horizontal"===d.settings.mode?"left":"none",listStyle:"none",position:"relative"}),d.children.css("width",c()),"horizontal"===d.settings.mode&&0<d.settings.slideMargin&&d.children.css("marginRight",d.settings.slideMargin),"vertical"===d.settings.mode&&0<d.settings.slideMargin&&d.children.css("marginBottom",d.settings.slideMargin),"fade"===d.settings.mode&&(d.children.css({position:"absolute",zIndex:0,display:"none"}),d.children.eq(d.settings.startSlide).css({zIndex:d.settings.slideZIndex,display:"block"})),d.controls.el=V('<div class="bx-controls" />'),d.settings.captions&&S(),d.active.last=d.settings.startSlide===p()-1,d.settings.video&&u.fitVids(),("all"===d.settings.preloadImages||d.settings.ticker)&&(e=d.children),d.settings.ticker?d.settings.pager=!1:(d.settings.controls&&x(),d.settings.auto&&d.settings.autoControls&&k(),d.settings.pager&&y(),(d.settings.controls||d.settings.autoControls||d.settings.pager)&&d.viewport.after(d.controls.el)),o(e,s)},o=function(e,t){var n=e.find('img:not([src=""]), iframe').length,i=0;0!==n?e.find('img:not([src=""]), iframe').each(function(){V(this).one("load error",function(){++i===n&&t()}).each(function(){this.complete&&V(this).load()})}):t()},s=function(){if(d.settings.infiniteLoop&&"fade"!==d.settings.mode&&!d.settings.ticker){var e="vertical"===d.settings.mode?d.settings.minSlides:d.settings.maxSlides,t=d.children.slice(0,e).clone(!0).addClass("bx-clone"),n=d.children.slice(-e).clone(!0).addClass("bx-clone");d.settings.ariaHidden&&(t.attr("aria-hidden",!0),n.attr("aria-hidden",!0)),u.append(t).prepend(n)}d.loader.remove(),g(),"vertical"===d.settings.mode&&(d.settings.adaptiveHeight=!0),d.viewport.height(f()),u.redrawSlider(),d.settings.onSliderLoad.call(u,d.active.index),d.initialized=!0,d.settings.responsive&&V(window).bind("resize",H),d.settings.auto&&d.settings.autoStart&&(1<p()||d.settings.autoSlideForOnePage)&&E(),d.settings.ticker&&O(),d.settings.pager&&P(d.settings.startSlide),d.settings.controls&&A(),d.settings.touchEnabled&&!d.settings.ticker&&R(),d.settings.keyboardEnabled&&!d.settings.ticker&&V(document).keydown(B)},f=function(){var e=0,t=V();if("vertical"===d.settings.mode||d.settings.adaptiveHeight)if(d.carousel){var n=1===d.settings.moveSlides?d.active.index:d.active.index*m();for(t=d.children.eq(n),i=1;i<=d.settings.maxSlides-1;i++)t=n+i>=d.children.length?t.add(d.children.eq(i-1)):t.add(d.children.eq(n+i))}else t=d.children.eq(d.active.index);else t=d.children;return"vertical"===d.settings.mode?(t.each(function(){e+=V(this).outerHeight()}),0<d.settings.slideMargin&&(e+=d.settings.slideMargin*(d.settings.minSlides-1))):e=Math.max.apply(Math,t.map(function(){return V(this).outerHeight(!1)}).get()),"border-box"===d.viewport.css("box-sizing")?e+=parseFloat(d.viewport.css("padding-top"))+parseFloat(d.viewport.css("padding-bottom"))+parseFloat(d.viewport.css("border-top-width"))+parseFloat(d.viewport.css("border-bottom-width")):"padding-box"===d.viewport.css("box-sizing")&&(e+=parseFloat(d.viewport.css("padding-top"))+parseFloat(d.viewport.css("padding-bottom"))),e},l=function(){var e="100%";return 0<d.settings.slideWidth&&(e="horizontal"===d.settings.mode?d.settings.maxSlides*d.settings.slideWidth+(d.settings.maxSlides-1)*d.settings.slideMargin:d.settings.slideWidth),e},c=function(){var e=d.settings.slideWidth,t=d.viewport.width();if(0===d.settings.slideWidth||d.settings.slideWidth>t&&!d.carousel||"vertical"===d.settings.mode)e=t;else if(1<d.settings.maxSlides&&"horizontal"===d.settings.mode){if(t>d.maxThreshold)return e;t<d.minThreshold?e=(t-d.settings.slideMargin*(d.settings.minSlides-1))/d.settings.minSlides:d.settings.shrinkItems&&(e=Math.floor((t+d.settings.slideMargin)/Math.ceil((t+d.settings.slideMargin)/(e+d.settings.slideMargin))-d.settings.slideMargin))}return e},h=function(){var e=1,t=null;return"horizontal"===d.settings.mode&&0<d.settings.slideWidth?d.viewport.width()<d.minThreshold?e=d.settings.minSlides:d.viewport.width()>d.maxThreshold?e=d.settings.maxSlides:(t=d.children.first().width()+d.settings.slideMargin,e=Math.floor((d.viewport.width()+d.settings.slideMargin)/t)):"vertical"===d.settings.mode&&(e=d.settings.minSlides),e},p=function(){var e=0,t=0,n=0;if(0<d.settings.moveSlides)if(d.settings.infiniteLoop)e=Math.ceil(d.children.length/m());else for(;t<d.children.length;)++e,t=n+h(),n+=d.settings.moveSlides<=h()?d.settings.moveSlides:h();else e=Math.ceil(d.children.length/h());return e},m=function(){return 0<d.settings.moveSlides&&d.settings.moveSlides<=h()?d.settings.moveSlides:h()},g=function(){var e,t,n;d.children.length>d.settings.maxSlides&&d.active.last&&!d.settings.infiniteLoop?"horizontal"===d.settings.mode?(e=(t=d.children.last(
vendor: 4,229 bytes, lines 14-15
14)).position(),b(-(e.left-(d.viewport.width()-t.outerWidth())),"reset",0)):"vertical"===d.settings.mode&&(n=d.children.length-d.settings.minSlides,e=d.children.eq(n).position(),b(-e.top,"reset",0)):(e=d.children.eq(d.active.index*m()).position(),d.active.index===p()-1&&(d.active.last=!0),e!==undefined&&("horizontal"===d.settings.mode?b(-e.left,"reset",0):"vertical"===d.settings.mode&&b(-e.top,"reset",0)))},b=function(e,t,n,i){var a,r;d.usingCSS?(r="vertical"===d.settings.mode?"translate3d(0, "+e+"px, 0)":"translate3d("+e+"px, 0, 0)",u.css("-"+d.cssPrefix+"-transition-duration",n/1e3+"s"),"slide"===t?(u.css(d.animProp,r),0!==n?u.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(e){V(e.target).is(u)&&(u.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),D())}):D()):"reset"===t?u.css(d.animProp,r):"ticker"===t&&(u.css("-"+d.cssPrefix+"-transition-timing-function","linear"),u.css(d.animProp,r),0!==n?u.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(e){V(e.target).is(u)&&(u.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),b(i.resetValue,"reset",0),F())}):(b( 15i.resetValue,"reset",0),F()))):((a={})[d.animProp]=e,"slide"===t?u.animate(a,n,d.settings.easing,function(){D()}):"reset"===t?u.css(d.animProp,e):"ticker"===t&&u.animate(a,n,"linear",function(){b(i.resetValue,"reset",0),F()}))},v=function(){for(var e="",t="",n=p(),i=0;i<n;i++)t="",d.settings.buildPager&&V.isFunction(d.settings.buildPager)||d.settings.pagerCustom?(t=d.settings.buildPager(i),d.pagerEl.addClass("bx-custom-pager")):(t=i+1,d.pagerEl.addClass("bx-default-pager")),e+='<div class="bx-pager-item"><a href="" data-slide-index="'+i+'" class="bx-pager-link">'+t+"</a></div>";d.pagerEl.html(e)},y=function(){d.settings.pagerCustom?d.pagerEl=V(d.settings.pagerCustom):(d.pagerEl=V('<div class="bx-pager" />'),d.settings.pagerSelector?V(d.settings.pagerSelector).html(d.pagerEl):d.controls.el.addClass("bx-has-pager").append(d.pagerEl),v()),d.pagerEl.on("click touchend","a",T)},x=function(){d.controls.next=V('<a class="bx-next" href="">'+d.settings.nextText+"</a>"),d.controls.prev=V('<a class="bx-prev" href="">'+d.settings.prevText+"</a>"),d.controls.next.bind("click touchend",w),d.controls.prev.bind("click touchend",_),d.settings.nextSelector&&V(d.settings.nextSelector).append(d.controls.next),d.settings.prevSelector&&V(d.settings.prevSelector).append(d.controls.prev),d.settings.nextSelector||d.settings.prevSelector||(d.controls.directionEl=V('<div class="bx-controls-direction" />'),d.controls.directionEl.append(d.controls.prev).append(d.controls.next),d.controls.el.addClass("bx-has-controls-direction").append(d.controls.directionEl))},k=function(){d.controls.start=V('<div class="bx-controls-auto-item"><a class="bx-start" href="">'+d.settings.startText+"</a></div>"),d.controls.stop=V('<div class="bx-controls-auto-item"><a class="bx-stop" href="">'+d.settings.stopText+"</a></div>"),d.controls.autoEl=V('<div class="bx-controls-auto" />'),d.controls.autoEl.on("click",".bx-start",C),d.controls.autoEl.on("click",".bx-stop",M),d.settings.autoControlsCombine?d.controls.autoEl.append(d.controls.start):d.controls.autoEl.append(d.controls.start).append(d.controls.stop),d.settings.autoControlsSelector?V(d.settings.autoControlsSelector).html(d.controls.autoEl):d.controls.el.addClass("bx-has-controls-auto").append(d.controls.autoEl),j(d.settings.autoStart?"stop":"start")},S=function(){d.children.each(function(){var e=V(this).find("img:first").attr("title");e!==undefined&&(""+e).length&&V(this).append('<div class="bx-caption"><span>'+e+"</span></div>")})},w=function(e){e.preventDefault(),d.controls.el.hasClass("disabled")||(d.settings.auto&&d.settings.stopAutoOnClick&&u.stopAuto(),u.goToNextSlide())},_=function(e){e.preventDefault(),d.controls.el.hasClass("disabled")||(d.settings.auto&&d.settings.stopAutoOnClick&&u.stopAuto(),u.goToPrevSlide())},C=function(e){u.startAuto(),e.preventDefault()},M=function(e){u.stopAuto(),e.preventDefault()},T=function(e){var t,n;e.preventDefault(),d.controls.el.hasClass("disabled")||(d.settings.auto&&d.settings.stopAutoOnClick&&u.stopAuto(),(t=V(e.currentTarget)).attr("data-sli
15de-index")!==undefined&&(n=parseInt(t.attr("data-slide-index")))!==d.active.index&&u.goToSlide(n))},P=function(n){var e=d.children.length;if("short"===d.settings.pagerType)return 1<d.settings.maxSlides&&(e=Math.ceil(d.children.length/d.settings.maxSlides)),void d.pagerEl.html(n+1+d.settings.pagerShortSeparator+e);d.pagerEl.find("a").removeClass("active"),d.pagerEl.each(function(e,t){V(t).find("a").eq(n).addClass("active")})},D=function(){if(d.settings.infiniteLoop){var e="";0===d.active.index?e=d.children.eq(0).position():d.active.index===p()-1&&d.carousel?e=d.children.eq((p()-1)*m()).position():d.active.index===d.children.length-1&&(e=d.children.eq(d.children.length-1).position()),e&&("horizontal"===d.settings.mode?b(-e.left,"reset",0):"vertical"===d.settings.mode&&b(-e.top,"reset",0))}d.working=!1,d.settings.onSlideAfter.call(u,d.children.eq(d.active.index),d.oldIndex,d.active.index)},j=function(e){d.settings.autoControlsCombine?d.controls.autoEl.html(d.controls[e]):(d.controls.autoEl.find("a").removeClass("active"),d.controls.autoEl.find("a:not(.bx-"+e+")").addClass("active"))},A=function(){1===p()?(d.controls.prev.addClass("disabled"),d.controls.next.addClass("disabled")):!d.settings.infiniteLoop&&d.settings.hideControlOnEnd&&(0===d.active.index?(d.controls.prev.addClass("disabled"),d.controls.next.removeClass("disabled")):d.active.index===p()-1?(d.controls.next.addClass("disabled"),d.controls.prev.removeClass("disabled")):(d.controls.prev.removeClass("disabled"),d.controls.next.removeClass("disabled")))},E=function(){if(0<d.settings.autoDelay)setTimeout(u.startAuto,d.settings.autoDelay);else u.startAuto(),V(window).focus(function(){u.startAuto()}).blur(function(){u.stopAuto()});d.settings.autoHover&&u.hover(function(){d.interval&&(u.stopAuto(!0),d.autoPaused=!0)},function(){d.autoPaused&&(u.startAuto(!0),d.autoPaused=null)})},O=function(){var e,t,n,i,a,r,o,s,l=0;"next"===d.settings.autoDirection?u.append(d.children.clone().addClass("bx-clone")):(u.prepend(d.children.clone().addClass("bx-clone")),e=d.children.first().position(),l="horizontal"===d.settings.mode?-e.left:-e.top),b(l,"reset",0),d.settings.pager=!1,d.settings.controls=!1,d.settings.autoControls=!1,d.settings.tickerHover&&(d.usingCSS?(i="horizontal"===d.settings.mode?4:5,d.viewport.hover(function(){t=u.css("-"+d.cssPrefix+"-transform"),n=parseFloat(t.split(",")[i]),b(n,"reset",0)},function(){s=0,d.children.each(function(){s+="horizontal"===d.settings.mode?V(this).outerWidth(!0):V(this).outerHeight(!0)}),a=d.settings.speed/s,r="horizontal"===d.settings.mode?"left":"top",o=a*(s-Math.abs(parseInt(n))),F(o)})):d.viewport.hover(function(){u.stop()},function(){s=0,d.children.each(function(){s+="horizontal"===d.settings.mode?V(this).outerWidth(!0):V(this).outerHeight(!0)}),a=d.settings.speed/s,r="horizontal"===d.settings.mode?"left":"top",o=a*(s-Math.abs(parseInt(u.css(r)))),F(o)})),F()},F=function(e){var t,n,i=e||d.settings.speed,a={left:0,top:0},r={left:0,top:0};"next"===d.settings.autoDirection?a=u.find(".bx-clone").first().position():r=d.children.first().position(),t="horizontal"===d.settings.mode?-a.left:-a.top,n="horizontal"===d.settings.mode?-r.left:-r.top,b(t,"ticker",i,{resetValue:n})},I=function(e){var t=V(window),n={top:t.scrollTop(),left:t.scrollLeft()},i=e.offset();return n.right=n.left+t.width(),n.bottom=n.top+t.height(),i.right=i.left+e.outerWidth(),i.bottom=i.top+e.outerHeight(),!(n.right<i.left||n.left>i.right||n.bottom<i.top||n.top>i.bottom)},B=function(e){var t=document.activeElement.tagName.toLowerCase(),n="input|textarea";if(null==new RegExp(t,["i"]).exec(n)&&I(u)){if(39===e.keyCode)return w(e),!1;if(37===e.keyCode)return _(e),!1}},R=function(){d.touch={start:{x:0,y:0},end:{x:0,y:0}},d.viewport.bind("touchstart MSPointerDown pointerdown",L),d.viewport.on("click",".bxslider a",function(e){d.viewport.hasClass("click-disabled")&&(e.preventDefault(),d.viewport.removeClass("click-disabled"))})},L=function(e){if(d.controls.el.addClass("disabled"),d.working)e.preventDefault(),d.controls.el.removeClass("disabled");else{d.touch.originalPos=u.position();var t=e.originalEvent,n="undefined"!=typeof t.changedTouches?t.changedTouches:[t];d.touch.start.x=n[0].pageX,d.touch.start.y=n[0].pageY,d.viewport.get(0).setPointerCapture&&(d.pointerId=t.pointerId,d.viewport.get(0).setPointerCapture(d.pointerId)),d.viewport.bind("touchmove MSPointerMove pointermove",z),d.viewport.bind("touchend MSPointerUp pointerup",N),d.viewport.bind("MSPointerCancel pointercancel",$)}},$=function(){b(d.touch.originalPos.left,"reset",0),d.controls.el.removeClass("disabled"),d.viewport.unbind("MSPointerCancel pointercancel",$),d.viewport.unbind("touchmove MSPointerMove pointermove",z),d.viewport.unbind("touchend MSPointerUp pointerup",N),d.viewport.get(0).releasePointerCapture&&d.viewport.get(0).releasePointerCapture(d.pointerId)},z=function(e){var t=e.originalEvent,n="undefined"!=typeof t.changedTouches?t.changedTouches:[t],i=Math.abs(n[0].pageX-d.touch.start.x),a=Math.abs(n[0].pageY-d.touch.start.y),r=0,o=0;a<3*i&&d.settings.preventDefaultSwipeX?e.preventDefault():i<3*a&&d.settings.preventDefaultSwipeY&&e.preventDefault(),"fade"!==d.settings.mode&&d.settings.oneToOneTouch&&("horizontal"===d.settings.mode?(o=n[0].pageX-d.touch.start.x,r=d.touch.originalPos.left+o):(o=n[0].pageY-d.touch.start.y,r=d.touch.originalPos.top+o),b(r,"reset",0))},N=function(e){d.viewport.unbind("touchmove MSPointerMove pointermove",z),d.controls.el.removeClass("disabled");var t=e.originalEvent,n="undefined"!=typeof t.changedTouches?t.changedTouches:[t],i=0,a=0;d.touch.end.x=n[0].pageX,d.touch.end.y=n[0].pageY,"fade"===d.settings.mode?(a=Math.abs(d.touch.start.x-d.touch.end.x))>=d.settings.swipeThreshold&&(d.touch.start.x>d.touch.end.x?u.goToNextSlide():u.goToPrevSlide(),u.stopAuto()):("horizontal"===d.settings.mode?(a=d.touch.end.x-d.touch.start.x,i=d.touch.originalPos.left):(a=d.touch.end.y-d.touch.start.y,i=d.touch.originalPos.top),!d.settings.infiniteLoop&&(0===d.active.index&&0<a||d.active.last&&a<0)?b(i,"reset",200):Math.abs(a)>=d.settings.swipeThreshold?(a<0?u.goToNextSlide():u.goToPrevSlide(),u.stopAuto()):b(i,"reset",200)),d.viewport.unbind("touchend MSPointerUp pointerup",N),d.viewport.get(0).releasePointerCapture&&d.viewport.get(0).releasePointerCapture(d.pointerId)},H=function(){if(d.initialized)if(d.working)window.setTimeout(H,10);else{var e=V(window).width(),t=V(window).height();n===e&&a===t||(n=e,a=t,u.redrawSlider(),d.settings.onSliderResize.call(u,d.active.index))}},W=function(e){var t=h();d.settings.ariaHidden&&!d.settings.ticker&&(d.children.attr("aria-hidden","true"),d.children.slice(e,e+t).attr("aria-hidden","false"))},q=function(e){return e<0?d.settings.infiniteLoop?p()-1:d.active.index:e>=p()?d.settings.infiniteLoop?0:d.active.index:e};return u.goToSlide=function(e,t){var n,i,a,r,o=!0,s=0,l={left:0,top:0},c=null;if(d.oldIndex=d.active.index,d.active.index=q(e),!d.working&&d.active.index!==d.oldIndex){if(d.working=!0,void 0!==(o=d.settings.onSlideBefore.call(u,d.children.eq(d.active.index),d.oldIndex,d.active.index))&&!o)return d.active.index=d.oldIndex,void(d.working=!1);"next"===t?d.settings.onSlideNext.call(u,d.children.eq(d.active.index),d.oldIndex,d.active.index)||(o=!1):"prev"===t&&(d.settings.onSlidePrev.call(u,d.children.eq(d.active.index),d.oldIndex,d.active.index)||(o=!1)),d.active.last=d.active.index>=p()-1,(d.settings.pager||d.settings.pagerCustom)&&P(d.active.index),d.settings.controls&&A(),"fade"===d.settings.mode?(d.settings.adaptiveHeight&&d.viewport.height()!==f()&&d.viewport.animate({height:f()},d.settings.adaptiveHeightSpeed),d.children.filter(":visible").fadeOut(d.settings.speed).css({zIndex:0}),d.children.eq(d.active.index).css("zIndex",d.settings.slideZIndex+1).fadeIn(d.settings.speed,function(){V(this).css("zIndex",d.settings.slideZIndex),D()})):(d.settings.adaptiveHeight&&d.viewport.height()!==f()&&d.viewport.animate({height:f()},d.settings.adaptiveHeightSpeed),!d.settings.infiniteLoop&&d.carousel&&d.active.last?"horizontal"===d.settings.mode?(l=(c=d.children.eq(d.children.length-1)).position(),s=d.viewport.width()-c.outerWidth()):(n=d.children.length-d.settings.minSlides,l=d.children.eq(n).position()):d.carousel&&d.active.last&&"prev"===t?(i=1===d.settings.moveSlides?d.settings.maxSlides-m():(p()-1)*m()-(d.children.length-d.settings.maxSlides),l=(c=u.children(".bx-clone").eq(i)).position()):"next"===t&&0===d.active.index?(l=u.find("> .bx-clone").eq(d.settings.maxSlides).position(),d.active.last=!1):0<=e&&(r=e*parseInt(m()),l=d.children.eq(r).position()),void 0!==l?(a="horizontal"===d.settings.mode?-(l.left-s):-l.top,b(a,"slide",d.settings.speed)):d.working=!1),d.settings.ariaHidden&&W(d.active.index*m())}},u.goToNextSlide=function(){if(d.settings.infiniteLoop||!d.active.last){var e=parseInt(d.active.index)+1;u.goToSlide(e,"next")}},u.goToPrevSlide=function(){if(d.settings.infiniteLoop||0!==d.active.index){var e=parseInt(d.active.index)-1;u.goToSlide(e,"prev")}},u.startAuto=function(e){d.interval||(d.interval=setInterval(function(){"next"===d.settings.autoDirection?u.goToNextSlide():u.goToPrevSlide()},d.settings.pause),d.settings.autoControls&&!0!==e&&j("stop"))},u.stopAuto=function(e){d.interval&&(clearInterval(d.interval),d.interval=null,d.settings.autoControls&&!0!==e&&j("start"))},u.getCurrentSlide=function(){return d.active.index},u.getCurrentSlideElement=function(){return d.children.eq(d.active.index)},u.getSlideElement=function(e){return d.children.eq(e)},u.getSlideCount=function(){return d.children.length},u.isWorking=function(){return d.working},u.redrawSlider=function(){d.children.add(u.find(".bx-clone")).outerWidth(c()),d.viewport.css("height",f()),d.settings.ticker||g(),d.active.last&&(d.active.index=p()-1),d.active.index>=p()&&(d.active.last=!0),d.settings.pager&&!d.settings.pagerCustom&&(v(),P(d.active.index)),d.settings.ariaHidden&&W(d.active.index*m())},u.destroySlider=function(){d.initialized&&(d.initialized=!1,V(".bx-clone",this).remove(),d.children.each(function(){V(this).data("origStyle")!==undefined?V(this).attr("style",V(this).data("origStyle")):V(this).removeAttr("style")}),V(this).data("origStyle")!==undefined?this.attr("style",V(this).data("origStyle")):V(this).removeAttr("style"),V(this).unwrap().unwrap(),d.controls.el&&d.controls.el.remove(),d.controls.next&&d.controls.next.remove(),d.controls.prev&&d.controls.prev.remove(),d.pagerEl&&d.settings.controls&&!d.settings.pagerCustom&&d.pagerEl.remove(),V(".bx-caption",this).remove(),d.controls.autoEl&&d.controls.autoEl.remove(),clearInterval(d.interval),d.settings.responsive&&V(window).unbind("resize",H),d.settings.keyboardEnabled&&V(document).unbind("
15keydown",B),V(this).removeData("bxSlider"))},u.reloadSlider=function(e){e!==undefined&&(t=e),u.destroySlider(),r(),V(u).data("bxSlider",this)},r(),V(u).data("bxSlider",this),this}}}(jQuery),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,t,n,i,a){return jQuery.easing[jQuery.easing.def](e,t,n,i,a)},easeInQuad:function(e,t,n,i,a){return i*(t/=a)*t+n},easeOutQuad:function(e,t,n,i,a){return-i*(t/=a)*(t-2)+n},easeInOutQuad:function(e,t,n,i,a){return(t/=a/2)<1?i/2*t*t+n:-i/2*(--t*(t-2)-1)+n},easeInCubic:function(e,t,n,i,a){return i*(t/=a)*t*t+n},easeOutCubic:function(e,t,n,i,a){return i*((t=t/a-1)*t*t+1)+n},easeInOutCubic:function(e,t,n,i,a){return(t/=a/2)<1?i/2*t*t*t+n:i/2*((t-=2)*t*t+2)+n},easeInQuart:function(e,t,n,i,a){return i*(t/=a)*t*t*t+n},easeOutQuart:function(e,t,n,i,a){return-i*((t=t/a-1)*t*t*t-1)+n},easeInOutQuart:function(e,t,n,i,a){return(t/=a/2)<1?i/2*t*t*t*t+n:-i/2*((t-=2)*t*t*t-2)+n},easeInQuint:function(e,t,n,i,a){return i*(t/=a)*t*t*t*t+n},easeOutQuint:function(e,t,n,i,a){return i*((t=t/a-1)*t*t*t*t+1)+n},easeInOutQuint:function(e,t,n,i,a){return(t/=a/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,a){return-i*Math.cos(t/a*(Math.PI/2))+i+n},easeOutSine:function(e,t,n,i,a){return i*Math.sin(t/a*(Math.PI/2))+n},easeInOutSine:function(e,t,n,i,a){return-i/2*(Math.cos(Math.PI*t/a)-1)+n},easeInExpo:function(e,t,n,i,a){return 0==t?n:i*Math.pow(2,10*(t/a-1))+n},easeOutExpo:function(e,t,n,i,a){return t==a?n+i:i*(1-Math.pow(2,-10*t/a))+n},easeInOutExpo:function(e,t,n,i,a){return 0==t?n:t==a?n+i:(t/=a/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,a){return-i*(Math.sqrt(1-(t/=a)*t)-1)+n},easeOutCirc:function(e,t,n,i,a){return i*Math.sqrt(1-(t=t/a-1)*t)+n},easeInOutCirc:function(e,t,n,i,a){return(t/=a/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,a){var r=1.70158,o=0,s=i;if(0==t)return n;if(1==(t/=a))return n+i;if(o||(o=.3*a),s<Math.abs(i)){s=i;r=o/4}else r=o/(2*Math.PI)*Math.asin(i/s);return-s*Math.pow(2,10*(t-=1))*Math.sin((t*a-r)*(2*Math.PI)/o)+n},easeOutElastic:function(e,t,n,i,a){var r=1.70158,o=0,s=i;if(0==t)return n;if(1==(t/=a))return n+i;if(o||(o=.3*a),s<Math.abs(i)){s=i;r=o/4}else r=o/(2*Math.PI)*Math.asin(i/s);return s*Math.pow(2,-10*t)*Math.sin((t*a-r)*(2*Math.PI)/o)+i+n},easeInOutElastic:function(e,t,n,i,a){var r=1.70158,o=0,s=i;if(0==t)return n;if(2==(t/=a/2))return n+i;if(o||(o=a*(.3*1.5)),s<Math.abs(i)){s=i;r=o/4}else r=o/(2*Math.PI)*Math.asin(i/s);return t<1?s*Math.pow(2,10*(t-=1))*Math.sin((t*a-r)*(2*Math.PI)/o)*-.5+n:s*Math.pow(2,-10*(t-=1))*Math.sin((t*a-r)*(2*Math.PI)/o)*.5+i+n},easeInBack:function(e,t,n,i,a,r){return r==undefined&&(r=1.70158),i*(t/=a)*t*((r+1)*t-r)+n},easeOutBack:function(e,t,n,i,a,r){return r==undefined&&(r=1.70158),i*((t=t/a-1)*t*((r+1)*t+r)+1)+n},easeInOutBack:function(e,t,n,i,a,r){return r==undefined&&(r=1.70158),(t/=a/2)<1?i/2*(t*t*((1+(r*=1.525))*t-r))+n:i/2*((t-=2)*t*((1+(r*=1.525))*t+r)+2)+n},easeInBounce:function(e,t,n,i,a){return i-jQuery.easing.easeOutBounce(e,a-t,0,i,a)+n},easeOutBounce:function(e,t,n,i,a){return(t/=a)<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,a){return t<a/2?.5*jQuery.easing.easeInBounce(e,2*t,0,i,a)+n:.5*jQuery.easing.easeOutBounce(e,2*t-a,0,i,a)+.5*i+n}}),function(a){"use strict";a.fn.fitVids=function(e){var t={customSelector:null},n=document.createElement("div"),i=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0];return n.className="fit-vids-style",n.innerHTML="­<style> .fluid-width-video-wrapper { width: 100%; position: relative; padding: 0; } .fluid-width-video-wrapper iframe, .fluid-width-video-wrapper object, .fluid-width-video-wrapper embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } </style>",i.parentNode.insertBefore(n,i),e&&a.extend(t,e),this.each(function(){var e=["iframe[src*='player.vimeo.com']","iframe[src*='www.youtube.com']","iframe[src*='www.kickstarter.com']","object","embed"];t.customSelector&&e.push(t.customSelector),a(this).find(e.join(",")).each(function(){var e=a(this);if(!("embed"===this.tagName.toLowerCase()&&e.parent("object").length||e.parent(".fluid-width-video-wrapper").length)){var t=("object"===this.tagName.toLowerCase()||e.attr("height")&&!isNaN(parseInt(e.attr("height"),10))?parseInt(e.attr("height"),10):e.height())/(isNaN(parseInt(e.attr("width"),10))?e.width():parseInt(e.attr("width"),10));if(!e.attr("id")){var n="fitvid"+Math.floor(999999*Math.random());e.attr("id",n)}e.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*t+"%"),e.removeAttr("height").removeAttr("width")}})})}}(jQuery),this.KeyVisual_Image=function(){function e(){}return e.slide=function(e,t){var n;return null==t&&(t={}),n={auto:!0,autoControls:!0,startText:$(e).find(".controls-start").text(),stopText:$(e).find(".controls-stop").text(),controls:!1,pagerCustom:e+" .bx-thumbs",touchEnabled:!1},$(e+" .images").bxSlider($.extend(n,t))},e.randomize=function(e){var t;return(t=$(e)).find("li").sort(function(){return Math.random()-.5}).each(function(){return t.append($(this))})},e}(),this.Googlemaps_Map=function(){function s(){}
15return s.map=null,s.form=null,s.center=null,s.zoom=null,s.defaultCenter=[36.204824,138.252924],s.defaultZoom=13,s.markers=null,s.markerIcon="/assets/img/googlemaps/marker1.png",s.clickIcon="/assets/img/googlemaps/marker17.png",s.openedInfo=null,s.resized=null,s.kmlLayer=null,s.showGoogleMapsSearch=!1,s.mapsSearchUrl="https://www.google.co.jp/maps/search/",s.attachMessage=function(e){return google.maps.event.addListener(s.markers[e].marker,"click",function(){s.openedInfo&&s.openedInfo.close(),s.markers[e].window&&s.markers[e].window.open(s.markers[e].marker.getMap(),s.markers[e].marker),s.openedInfo=s.markers[e].window}),google.maps.event.addListener(s.markers[e].window,"closeclick",function(){s.openedInfo=null})},s.setForm=function(e){return this.form=e},s.load=function(e,t){t||(t={}),t.zoom&&s.validateZoom(t.zoom)&&(s.zoom=t.zoom),t.center&&s.validateLatLon(t.center[1],t.center[0])&&(s.center=t.center.reverse()),t.showGoogleMapsSearch&&(s.showGoogleMapsSearch=!0);var n=s.getCenter(),i={center:new google.maps.LatLng(n[0],n[1]),zoom:s.getZoom(),mapTypeId:google.maps.MapTypeId.ROADMAP,panControl:!1,zoomControl:!0,zoomControlOptions:{style:google.maps.ZoomControlStyle.LARGE},mapTypeControl:!0,scaleControl:!0,scrollwheel:!0,streetViewControl:!0,overviewMapControl:!0,overviewMapControlOptions:{opened:!0}};s.map=new google.maps.Map($(e).get(0),i)},s.getCenter=function(){return s.center?s.center:s.defaultCenter},s.getZoom=function(){return s.zoom?s.zoom:s.defaultZoom},s.resize=function(){if(google.maps.event.trigger(this.map,"resize"),!this.resized){var e=s.getCenter();this.map.setCenter(new google.maps.LatLng(e[0],e[1])),this.form&&this.form.renderMarkers()}return this.resized=!0},s.renderMarkers=function(){if(this.form)return this.form.renderMarkers()},s.renderEvents=function(){if(this.form)return this.form.renderEvents()},s.setMarkers=function(e){var o;s.markers=e,o=new google.maps.LatLngBounds,$.each(s.markers,function(e,t){var n,i,a;a={position:new google.maps.LatLng(t.loc[1],t.loc[0]),map:s.map},t.image?a.icon=t.image:a.icon=s.markerIcon,s.markers[e].marker=new google.maps.Marker(a),o.extend(new google.maps.LatLng(t.loc[1],t.loc[0]));var r="";t.html?r=t.html:(t.name||t.text)&&(n=t.name,i=t.text,r='<div class="marker-info">',n&&""!==n&&(r+="<p>"+n+"</p>",i&&""!==i&&$.each(i.split(/[\r\n]+/),function(){return this.match(/^https?:\/\//)?r+='<p><a href="'+this+'">'+this+"</a></p>":r+="<p>"+this+"</p>"})),r+="</div>"),s.showGoogleMapsSearch&&(r+=s.getMapsSearchHtml(t.loc[1],t.loc[0])),r&&(s.markers[e].window=new google.maps.InfoWindow({content:r}),s.attachMessage(e))}),s.adjustMarkerBounds(s.markers.length,o)},s.setKmlLayer=function(e){s.kmlLayer=new google.maps.KmlLayer({url:e,suppressInfoWindows:!0,preserveViewport:!1}),s.kmlLayer.setMap(s.map)},s.setGeoJson=function(e){s.map.data.setStyle({fillColor:"#b2c9e8",strokeColor:"#5A88C6",strokeWeight:1}),s.map.data.loadGeoJson(e,{},function(e){var t=new google.maps.LatLngBounds,n=[];e.forEach(function(e){e.getGeometry().forEachLatLng(function(e){t.extend(e),n.push(e)})}),s.adjustMarkerBounds(n.length,t)})},s.adjustMarkerBounds=function(e,t){if(0<e){var n=!1;if(s.center){var i=s.getCenter();s.map.setCenter(new google.maps.LatLng(i[0],i[1])),n=!0}s.zoom&&(s.map.setZoom(s.getZoom()),n=!0),n||(google.maps.event.addListenerOnce(s.map,"idle",function(){s.map.getZoom()>s.getZoom()&&s.map.setZoom(s.getZoom())}),s.map.fitBounds(t))}else{i=s.getCenter();s.map.setCenter(new google.maps.LatLng(i[0],i[1])),s.map.setZoom(s.getZoom())}},s.validateZoom=function(e){return 1<=e&&e<=21},s.validateLatLon=function(e,t){return-90<=e&&e<=90&&-180<=t&&t<=180},s.getMapsSearchHtml=function(e,t){return'<p><a href="'+(s.mapsSearchUrl+e+","+t)+'">Google\u30de\u30c3\u30d7\u3067\u898b\u308b</a></p>'},s}(),this.Facility_Search=function(){function e(){}return e.render=function(e,t){var n,i,a;return null==t&&(t={}),n=t.markers,a=function(e){var t,n,i;return t=e.offset().top,n=e.closest("#map-sidebar").offset().top,i=e.closest("#map-sidebar").scrollTop(),e.closest("#map-sidebar").animate({scrollTop:t-n+i},"fast")},Googlemaps_Map.load(e,t),i=Googlemaps_Map.attachMessage,Googlemaps_Map.attachMessage=function(n){return i(n),google.maps.event.addListener(Googlemaps_Map.markers[n].marker,"click",function(){var e,t;return $("#map-sidebar .column").removeClass("current"),t=Googlemaps_Map.markers[n].id,(e=$('#map-sidebar .column[data-id="'+t+'"]')).addClass("current"),a(e)}),google.maps.event.addListener(Googlemaps_Map.markers[n].window,"closeclick",function(){return $("#map-sidebar .column").removeClass("current")})},Googlemaps_Map.setMarkers(n),$("#map-sidebar .column .click-marker").on("click",function(){var i;return i=parseInt($(this).closest(".column").attr("data-id")),$("#map-sidebar .column").removeClass("current"),$.each(Googlemaps_Map.markers,function(e,t){var n;if(i===t.id)return Googlemaps_Map.openedInfo&&Googlemaps_Map.openedInfo.close(),t.window.open(t.marker.getMap(),t.marker),Googlemaps_Map.openedInfo=t.window,(n=$('#map-sidebar .column[data-id="'+i+'"]')).addClass("current"),a(n),!1}),!1}),$(".filters a").on("click",function(){var a;return $(this).hasClass("clicked")?$(this).removeClass("clicked"):$(this).addClass("clicked"),a=[],$(".filters a.clicked").each(function(){return a.push(parseInt($(this).attr("data-id")))}),$.each(Googlemaps_Map.markers,function(e){var t,n,i;return i=!1,$.each(a,function(){if(0<=$.inArray(parseInt(this),Googlemaps_Map.markers[e].category))return!(i=!0)}),n=Googlemaps_Map.markers[e].id,t=$('#map-sidebar .column[data-id="'+n+'"]'),i?(Googlemaps_Map.markers[e].marker.setVisible(!0),t.show()):(Googlemaps_Map.markers[e].marker.setVisible(!1),Googlemaps_Map.markers[e].window.close(),t.hide())}),!1}),$(".filters .focus").on("change",function(){var i;return(i=$(this)).find("option:selected").each(function(){var e,t,n;return""!==$(this).val()&&(t=$(this).val().split(","),n=$(this).attr("data-zoom-level"),e=new google.maps.LatLng(t[0],t[1]),Googlemaps_Map.map.setCenter(e),n&&Googlemaps_Map.map.setZoom(parseInt(n)),i.val(""))})})},e}(),this.Member_Photo_Form=function(){function a(){}return a.maxPointForm=10,a.deleteMessage="\u30de\u30fc\u30ab\u30fc\u3092\u524a\u9664\u3057\u3066\u3088\u308d\u3057\u3044\u3067\u3059\u304b\uff1f",a.setExifMessage="\u753b\u50cf\u306b\u4f4d\u7f6e\u60c5\u5831\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u4f4d\u7f6e\u60c5\u5831\u3092\u5730\u56f3\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u304b\uff1f",a.dataID=0,a.clickMarker=null,a.setMapLoc=function(e,t,n){t=Math.ceil(t*Math.pow(10,6))/Math.pow(10,6),n=Math.ceil(n*Math.pow(10,6))/Math.pow(10,6),e.val(t.toFixed(6)+","+n.toFixed(6))},a.getMapLoc=function(e){var t;return t=e.val().split(","),new google.maps.LatLng(parseFloat(t[1]),parseFloat(t[0]))},a.attachMessage=function(i){google.maps.event.addListener(Googlemaps_Map.markers[i],"click",function(){Googlemaps_Map.openedInfo&&Googlemaps_Map.openedInfo.close(),$('dd[data-id = "'+i+'"]').each(function(){var e,t,n;return t=$(this).find(".marker-name").val(),n=$(this).find(".marker-text").val(),""===t&&""===n||(e='<div class="marker-info">',""!==t&&(e+="<p>"+t+"</p>"),""!==n&&$.each(n.split(/[\r\n]+/),function(){return this.match(/^https?:\/\//)?e+='<p><a href="'+this+'">'+this+"</a></p>":e+="<p>"+this+"</p>"}),Googlemaps_Map.openedInfo=new google.maps.InfoWindow({content:e,maxWidth:260}),Googlemaps_Map.openedInfo.open(Googlemaps_Map.markers[i].getMap(),Googlemaps_Map.markers[i])),!1})})},a.clearMarker=function(e){var t;t=0,""!==e.val()?confirm(a.deleteMessage)&&Googlemaps_Map.markers[t]&&(Googlemaps_Map.markers[t].setMap(null),e.val("")):Googlemaps_Map.markers[t]&&Googlemaps_Map.markers[t].setMap(null)},a.createMarker=function(e){var t;""!==$(".mod-map .clicked").val()&&(e.val($(".mod-map .clicked").val()),t=0,Googlemaps_Map.markers[t]&&Googlemaps_Map.markers[t].setMap(null),Googlemaps_Map.markers[t]=new google.maps.Marker({position:a.getMapLoc($(".mod-map .marker-loc")),map:Googlemaps_Map.map,icon:Googlemaps_Map.markerIcon}),a.attachMessage(t))},a.renderMarkers=function(){var e,t,n,i;if(n=new google.maps.LatLngBounds,Googlemaps_Map.markers)for(e=0,t=(i=Googlemaps_Map.markers).length;e<t;e++)i[e].setMap(null);Googlemaps_Map.markers=[],a.dataID=0,$(".mod-map .marker").each(function(){var e;return $(this).attr("data-id",a.dataID),""!==$(this).find(".marker-loc").val()&&(e=a.getMapLoc($(this).find(".marker-loc")),Googlemaps_Map.markers[a.dataID]=new google.maps.Marker({position:e,map:Googlemaps_Map.map,icon:Googlemaps_Map.markerIcon}),a.attachMessage(a.dataID),n.extend(e)),a.dataID+=1}),Googlemaps_Map.adjustMarkerBounds(Googlemaps_Map.markers.length,n)},a.setExifLatLng=function(e){return $(e).on("change",function(e){if(e.target.files[0])return EXIF.getData(e.target.files[0],function(){var e,t,n,i;return e=EXIF.getTag(this,"GPSLatitude"),n=EXIF.getTag(this,"GPSLongitude"),t=EXIF.getTag(this,"GPSLatitudeRef")||"N",i=EXIF.getTag(this,"GPSLongitudeRef")||"W",!(!e||!n)&&(!!confirm(a.setExifMessage)&&(t="N"===t?1:-1,i="W"===i?-1:1,e=(e[0]+e[1]/60+e[2]/3600)*t,n=(n[0]+n[1]/60+n[2]/3600)*i,$(".mod-map .clicked").val([e,n].join()),a.createMarker($(".mod-map .marker-loc")),Googlemaps_Map.map.setCenter(new google.maps.LatLng(n,e))))})})},a.renderEvents=function(){google.maps.event.addListener(Googlemaps_Map.map,"click",function(e){return a.setMapLoc($(".mod-map .clicked"),e.latLng.lng(),e.latLng.lat()),a.createMarker($(".mod-map .marker-loc"))}),$(".mod-map .clear-marker").on("click",function(){return a.clearMarker($(".mod-map .marker-loc")),!1}),$(".mod-map .set-center-position").on("click",function(){var e=Googlemaps_Map.map.getCenter(),t=Math.floor(1e6*e.lat())/1e6,n=Math.floor(1e6*e.lng())/1e6;return $(".center-input").val(n+","+t),!1}),$(".mod-map .set-zoom-level").on("click",function(){return $(".zoom-input").val(Googlemaps_Map.map.getZoom()),!1}),google.maps.event.addListener(Googlemaps_Map.map,"bounds_changed",function(){var e=Googlemaps_Map.map.getZoom();$('input[name="item[map_zoom_level]"]').val(e)})},a}(),this.Openlayers_Map=function(){function n(e,t){null==t&&(t={}),this.canvas=e,(this.opts=t).zoom&&this.validateZoom(t.zoom)&&(this.zoom=t.zoom),this.defaultZoom=n.defaultZoom,t.center&&this.validateLatLon(t.center[1],t.center[0])&&(this.center=t.center),this.defaultCenter=n.defaultCenter.reverse(),this.showGoogleMapsSearch=!1,t.showGoogleMapsSearch&&(this.showGoogleMapsSearch=t.showGoogleMapsSearch),this.markerFeature=null,this.markerLayer=null,this.popup=null,this.markerIcon=n.markerIcon,this.loadedLayers=[],this.render()}return n.defaultCenter=[36.204824,138.252924],n.defaultZoom=10,n.markerIcon="/assets/img/googlemaps/marker1.png",n.clickIcon="/assets/img/googlemaps/marker17.png",n.prototype.getCenter=function(){return this.center?this.center:this.defaultCenter},n.prototype.getZoom=function(){return this.zoom?this.zoom:this.defaultZoom},n.prototype.render=function(){this.initMap(),this.initPopup(),this.opts.markers&&this.renderMarkers(this.opts.markers),this.resize(),this.renderEvents()},n.prototype.createLayers=function(e){var t,n,i,a,r,o,s,l;for(i=[],t=0,a=e.length;t<a;t++)s=(r=e[t]).source,l=r.url,o=r.projection,n=new ol.layer.Tile({source:new ol.source[s]({url:l,projection:o})}),i.push(n);return i},n.prototype.initMap=function(){var e;(e=this.opts.layers)||(e=[{source:"XYZ",url:"https://cyberjapandata.gsi.go.jp/xyz/std/{z}/{x}/{y}.png",projection:"EPSG:3857"}]),this.map=new ol.Map({target:this.canvas,renderer:["canvas","dom"],layers:this.createLayers(e),controls:ol.control.defaults({attributionOptions:{collapsible:!1}}),view:new ol.View({projection:"EPSG:3857",center:ol.proj.transform(this.getCenter(),"EPSG:4326","EPSG:3857"),maxZoom:18,zoom:this.getZoom()}),logo:!0})},n.prototype.initPopup=function(){var i,e;$("body").append('<div id="marker-popup"><div class="closer"></div><div class="content"></div></div>'),this.popup=$("#marker-popup"),this.popup.hide(),this.popupOverlay=new ol.Overlay({element:this.popup.get(0),autoPan:!0,autoPanAnimation:{duration:250}}),this.map.addOverlay(this.popupOverlay),this.map.on("pointermove",(i=this,function(e){var t,n;if(!e.dragging)return n=i.map.getEventPixel(e.originalEvent),t=i.map.hasFeatureAtPixel(n)?"pointer":"",i.map.getTarget().style.cursor=t;i.popup.hide()})),this.popup.find(".closer").on("click",(e=this,function(){return e.popupOverlay.setPosition(void 0),$(e).blur(),!1}))},n.prototype.showPopup=function(e,t){var n;(n=e.get("markerHtml"))?(this.popup.find(".content").html(n),this.popup.show(),this.popupOverlay.setPosition(t)):this.popup.hide()},n.prototype.renderEvents=function(){var n;this.map.on("click",(n=this,function(e){var t;
15(t=n.map.forEachFeatureAtPixel(e.pixel,function(e){return e}))&&n.showPopup(t,e.coordinate)}))},n.prototype.createMarkerStyle=function(e){return new ol.style.Style({image:new ol.style.Icon({anchor:[.5,1],anchorXUnits:"fraction",anchorYUnits:"fraction",src:e})})},n.prototype.setMarker=function(e,t){var n,i,a,r;return null==t&&(t={}),i=this.markerIcon,t.image&&(i=t.image),r=this.createMarkerStyle(i),a=[e[1],e[0]],(n=new ol.Feature({geometry:new ol.geom.Point(ol.proj.transform(a,"EPSG:4326","EPSG:3857")),markerId:t.id, 16markerHtml:t.html,category:t.category})).setStyle(r),this.markerLayer?this.markerLayer.getSource().addFeature(n):(this.markerLayer=new ol.layer.Vector({source:new ol.source.Vector({features:[n]})}),this.map.addLayer(this.markerLayer)),n},n.prototype.getMarker=function(t){var n;return n=null,this.markerLayer&&this.markerLayer.getSource().forEachFeature(function(e){if(e.get("markerId")===t)return n=e}),n},n.prototype.getMarkers=function(){return this.markerLayer.getSource().getFeatures()},n.prototype.removeMarkers=function(){var t;this.popup&&this.popup.hide(),this.markerLayer&&(t=this.markerLayer.getSource()).forEachFeature(function(e){t.removeFeature(e)})},n.prototype.setCenter=function(e){return this.map.getView().setCenter(ol.proj.transform(e,"EPSG:4326","EPSG:3857"))},n.prototype.setZoom=function(e){return this.map.getView().setZoom(e)},n.prototype.renderMarkers=function(e){var t,n,i,a,r,o,s,l,c;for(i=0;i<e.length;i++)a=e[i],n=this.markerIcon,a.image&&(n=a.image),l=this.createMarkerStyle(n),o=a.name,c=a.text,s=[a.loc[0],a.loc[1]],r="",o&&(r+="<p>"+o+"</p>"),c&&$.each(c.split(/[\r\n]+/),function(){this.match(/^https?:\/\//)?r+='<p><a href="'+this+'">'+this+"</a></p>":r+="<p>"+this+"</p>"}),this.showGoogleMapsSearch&&(r+=Googlemaps_Map.getMapsSearchHtml(s[1],s[0])),(t=new ol.Feature({geometry:new ol.geom.Point(ol.proj.transform(s,"EPSG:4326","EPSG:3857")),markerId:a.id,markerHtml:r,category:a.category})).setStyle(l),this.markerLayer||(this.markerLayer=new ol.layer.Vector({source:new ol.source.Vector}),this.map.addLayer(this.markerLayer)),this.markerLayer.getSource().addFeature(t)},n.prototype.resize=function(){if(this.markerLayer){var e=this.markerLayer.getSource().getFeatures().length;if(0<=e){var t=this.markerLayer.getSource().getExtent();this.map.getView().fit(t,this.map.getSize()),1==e&&this.map.getView().setZoom(this.getZoom()),this.center&&this.setCenter(this.getCenter()),this.zoom&&this.setZoom(this.getZoom())}else this.setCenter(this.getCenter()),this.setZoom(this.getZoom())}},n.prototype.loadLayer=function(r,e){var o=this,s=r,l=e,c=new ol.source.Vector({format:new l,loader:function(t,e,n){n.getCode();var i=new XMLHttpRequest,a=function(){console.log("loadLayer error:"+r)};i.open("GET",s),i.onerror=a,i.onloadstart=function(){$(o.canvas).hide()},i.onload=function(){if(200==i.status){var e=(new l).readFeatures(i.responseText,{featureProjection:n});c.addFeatures(e),t=d.getSource().getExtent(),$(o.canvas).show(),o.map.getView().fit(t,o.map.getSize()),o.map.getView().getZoom()>o.opts.zoom&&o.map.getView().setZoom(o.opts.zoom)}else a()},i.send()}}),d=new ol.layer.Vector({source:c});this.map.addLayer(d),this.loadedLayers.push(d)},n.prototype.validateZoom=function(e){return 3<=e&&e<=18},n.prototype.validateLatLon=function(e,t){return-90<=e&&e<=90&&-180<=t&&t<=180},n.prototype.removeloadedLayers=function(){var e=this;$.each(this.loadedLayers,function(){e.map.removeLayer(this)})},n}(),this.Openlayers_Facility_Search=function(){function e(){}return e.render=function(e,t){var n,o,a,r;return null==t&&(t={}),r=function(e){var t,n,i;return t=e.offset().top,n=e.closest("#map-sidebar").offset().top,i=e.closest("#map-sidebar").scrollTop(),e.closest("#map-sidebar").animate({scrollTop:t-n+i},"fast")},n=$(e)[0],o=new Openlayers_Map(n,t),a=o.showPopup,o.showPopup=function(e,t){var n,i;return a.call(o,e,t),$("#map-sidebar .column").removeClass("current"),i=e.get("markerId"),(n=$('#map-sidebar .column[data-id="'+i+'"]')).addClass("current"),r(n)},$("#map-sidebar .column .click-marker").on("click",function(){var e,t,n;return t=parseInt($(this).closest(".column").attr("data-id")),$("#map-sidebar .column").removeClass("current"),(n=o.getMarker(t))&&(e=n.getGeometry().getCoordinates(),o.showPopup(n,e)),!1}),$(".filters a").on("click",function(){var r,e;return $(this).hasClass("clicked")?$(this).removeClass("clicked"):$(this).addClass("clicked"),r=[],$(".filters a.clicked").each(function(){return r.push(parseInt($(this).attr("data-id")))}),e=o.getMarkers(),$.each(e,function(){var e,t,n,i,a;return a=!1,e=this.get("category"),$.each(r,function(){if(0<=$.inArray(parseInt(this),e))return!(a=!0)}),t=this.get("markerId"),$('#map-sidebar .column[data-id="'+t+'"]'),o.popup.hide(),a?(n=this.get("iconSrc"),i=o.createMarkerStyle(n)):i=new ol.style.Style({}),this.setStyle(i)}),!1}),$(".filters .focus").on("change",function(){var i;return(i=$(this)).find("option:selected").each(function(){var e,t,n;return""!==$(this).val()&&(e=$(this).val().split(","),n=$(this).attr("data-zoom-level"),t=[parseFloat(e[1]),parseFloat(e[0])],o.setCenter(t),n&&o.setZoom(parseInt(n)),i.val(""))})})},e}(),this.Openlayers_Member_Photo_Form=function(){function e(e,t){null==t&&(t={}),this.canvas=e,(this.opts=t).zoom&&this.validateZoom(t.zoom)&&(this.zoom=t.zoom),this.defaultZoom=Ope
16nlayers_Map.defaultZoom,t.center&&this.validateLatLon(t.center[1],t.center[0])&&(this.center=t.center),this.defaultCenter=Openlayers_Map.defaultCenter.reverse(),this.markerFeature=null,this.markerLayer=null,this.popup=null,this.maxPointForm=10,this.deleteMessage="\u30de\u30fc\u30ab\u30fc\u3092\u524a\u9664\u3057\u3066\u3088\u308d\u3057\u3044\u3067\u3059\u304b\uff1f",this.setExifMessage="\u753b\u50cf\u306b\u4f4d\u7f6e\u60c5\u5831\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u4f4d\u7f6e\u60c5\u5831\u3092\u5730\u56f3\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u304b\uff1f",this.dataID=0,this.markerIcon=Openlayers_Map.markerIcon,this.clickIcon=Openlayers_Map.clickIcon,this.clickMarkerId=null,this.render()}return e.prototype.getMapLoc=function(e){var t;return t=e.val().split(","),[parseFloat(t[0]),parseFloat(t[1])]},e.prototype.setMapLoc=function(e,t,n){t=Math.ceil(t*Math.pow(10,6))/Math.pow(10,6),n=Math.ceil(n*Math.pow(10,6))/Math.pow(10,6),e.val(t.toFixed(6)+","+n.toFixed(6))},e.prototype.render=function(){return this.initMap(),this.renderMarkers(),this.resize(),this.renderEvents()},e.prototype.createLayers=function(e){var t,n,i,a,r,o,s,l;for(i=[],t=0,a=e.length;t<a;t++)s=(r=e[t]).source,l=r.url,o=r.projection,n=new ol.layer.Tile({source:new ol.source[s]({url:l,projection:o})}),i.push(n);return i},e.prototype.initMap=function(){var e;(e=this.opts.layers)||(e=[{source:"XYZ",url:"https://cyberjapandata.gsi.go.jp/xyz/std/{z}/{x}/{y}.png",projection:"EPSG:3857"}]),this.map=new ol.Map({target:this.canvas,renderer:["canvas","dom"],layers:this.createLayers(e),controls:ol.control.defaults({attributionOptions:{collapsible:!1}}),view:new ol.View({projection:"EPSG:3857",center:ol.proj.transform(this.getCenter(),"EPSG:4326","EPSG:3857"),minZoom:3,maxZoom:18,zoom:this.getZoom()}),logo:!1})},e.prototype.getCenter=function(){return this.center?this.center:this.defaultCenter},e.prototype.getZoom=function(){return this.zoom?this.zoom:this.defaultZoom},e.prototype.setCenter=function(e){return this.map.getView().setCenter(ol.proj.transform(e,"EPSG:4326","EPSG:3857"))},e.prototype.setZoom=function(e){return this.map.getView().setZoom(e)},e.prototype.renderMarkers=function(){var i;$(".mod-map .marker").each((i=this,function(e,t){var n;$(t).attr("data-id",i.dataID),$(t).find(".marker-loc").val()&&(n=i.getMapLoc($(t).find(".marker-loc")),i.setMarker(n,{id:parseInt(i.dataID)})),i.dataID+=1}))},e.prototype.setMarker=function(e,t){var n,i,a,r,o,s,l;return null==t&&(t={}),s=this.markerIcon,t.image&&(s=t.image),l=new ol.style.Style({image:new ol.style.Icon({anchor:[.5,1],anchorXUnits:"fraction",anchorYUnits:"fraction",src:s})}),i=[e[0],e[1]],(n=new ol.Feature({geometry:new ol.geom.Point(ol.proj.transform(i,"EPSG:4326","EPSG:3857")),markerId:null!=(a=t.id)?a:null,markerHtml:null!=(r=t.html)?r:null,category:null!=(o=t.category)?o:null})).setStyle(l),this.markerLayer?(console.log(this.markerLayer.getSource()),this.markerLayer.getSource().addFeature(n)):(this.markerLayer=new ol.layer.Vector({source:new ol.source.Vector({features:[n]})}),this.map.addLayer(this.markerLayer)),n},e.prototype.getMarker=function(t){var n;return n=null,this.markerLayer&&this.markerLayer.getSource().forEachFeature(function(e){if(e.get("markerId")===t)return n=e}),n},e.prototype.removeMarker=function(e){var t;return!!(t=this.getMarker(e))&&(this.markerLayer.getSource().removeFeature(t),!0)},e.prototype.renderEvents=function(){var n,i,e,t;return this.map.on("click",(n=this,function(e){var t;for(n.map.forEachFeatureAtPixel(e.pixel,function(e){return e}),t=ol.proj.transform(e.coordinate,"EPSG:3857","EPSG:4326");t[0]<180;)t[0]+=360;for(;180<t[0];)t[0]-=360;return n.setMapLoc($(".mod-map .clicked"),t[0],t[1]),n.setMapLoc($(".mod-map .marker-loc"),t[0],t[1]),n.createMarker($(".mod-map .marker-loc"))})),this.map.getView().on("propertychange",function(e){if("resolution"===e.key){var t=this.getZoom();$('input[name="item[map_zoom_level]"]').val(t)}}),$(".mod-map .set-center-position").on("click",(i=this,function(){var e=ol.proj.transform(i.map.getView().getCenter(),"EPSG:3857","EPSG:4326"),t=Math.floor(1e6*e[1])/1e6,n=Math.floor(1e6*e[0])/1e6;return $(".center-input").val(n+","+t),!1})),$(".mod-map .set-zoom-level").on("click",(e=this,function(){return $(".zoom-input").val(e.map.getView().getZoom()),!1})),$(".mod-map .clear-marker").on("click",(t=this,function(){return t.clearMarker($(".mod-map .marker-loc")),!1}))},e.prototype.createMarker=function(e){var t;return t=0,this.removeMarker(t),this.setMarker(this.getMapLoc(e),{id:t})},e.prototype.clearMarker=function(e){var t;t=0,""!==e.val()?confirm(this.deleteMessage)&&(this.removeMarker(t),e.val("")):this.removeMarker(t)},e.prototype.setExifLatLng=function(e){return $(e).on("change",(t=this,function(e){var a;if(e.target.files[0])return a=t,EXIF.getData(e.target.files[0],function(){var e,t,n,i;return e=EXIF.getTag(this,"GPSLatitude"),n=EXIF.getTag(this,"GPSLongitude"),t=EXIF.getTag(this,"GPSLatitudeRef")||"N",i=EXIF.getTag(this,"GPSLongitudeRef")||"W",!(!e||!n)&&!!confirm(a.setExifMessage)&&(t="N"===t?1:-1,i="W"===i?-1:1,e=(e[0]+e[1]/60+e[2]/3600)*t,n=(n[0]+n[1]/60+n[2]/3600)*i,$(".mod-map .clicked").val([e,n].join()),$(".mod-map .marker-loc").val([e,n].join()),a.createMarker($(".mod-map .marker-loc")),a.setCenter([e,n]))})}));var t},e.prototype.resize=function(){if(this.markerLayer)if(0<=this.markerLayer.getSource().getFeatures().length){var e=this.markerLayer.getSource().getExtent();this.map.getView().fit(e,this.map.getSize()),this.map.getView().setZoom(this.getZoom()),this.center&&this.setCenter(this.getCenter()),this.zoom&&this.setZoom(this.getZoom())}else this.setCenter(this.getCenter()),this.setZoom(this.getZoom())},e.prototype.validateZoom=function(e){return 3<=e&&e<=18},e.prototype.validateLatLon=function(e,t){return-90<=e&&e<=90&&-180<=t&&t<=180},e}(),this.Openlayers_Dataset_Map=function(){function r(){}return r.map=null,r.map_points=null,r.render=function(e,t){$(".dataset-search a#ajax-search").colorbox({fixed:!0,width:"90%",height:"90%"});var n=$(e)[0];r.map=new Openlayers_Map(n,t)},r.selectItem=function(e){var t=$(e).attr("data-id"),n=$(e).find(".selected-item").
16clone(!1);$(n).find("a").removeClass("cboxElement"),$(n).find('[name="resource_id"]').each(function(){var e=$(this).val();$(this).data("map_points",r.map_points[t][e]),$(this).on("click",function(){r.setMarkers(),r.map.resize()}),$(this).closest("li").find(".marker-image-form .select-marker-image").on("click",function(){var e=$(this).closest(".marker-image-form"),t=$(e).find(".images");return $(".marker-image-form .images").hide(),t.show(),$("body").not(this).one("click",function(){t.hide()}),!1}),$(this).closest("li").find(".marker-image-form .images .image").on("click",function(){var e=$(this).closest(".marker-image-form"),t=$(e).find(".images"),n=$(e).find(".marker-thumb img"),i=$(this).find("img").andSelf("img").attr("src");return e.data("src",i),n.attr("src",i),t.hide(),r.setMarkers(),!1}),$(this).closest("li").find(".marker-image-form .marker-thumb").html($('<img src="'+r.map.markerIcon+'">'))}),$(n).find(".deselect").on("click",function(){return $(this).closest(".selected-item").remove(),r.setMarkers(),r.map.resize(),!1}),n.show(),$(".dataset-search .selected-dataset").append(n);for(var i=$(".dataset-search .selected-dataset .selected-item").length-10,a=0;a<i;a++)$(".dataset-search .selected-dataset .selected-item:first").remove();return n},r.setMarkers=function(){r.map.removeMarkers(),r.map.removeloadedLayers(),$(".dataset-search .selected-item .set-markers:checked").each(function(){var e=$
16(this).data("map_points"),t=$(this).closest("li").find(".marker-image-form");t&&t.data("src")&&$.each(e.points,function(){this.image=t.data("src")}),e.points?r.map.renderMarkers(e.points):"KML"==e.format?r.map.loadLayer(e.url,ol.format.KML):"GEOJSON"==e.format&&r.map.loadLayer(e.url,ol.format.GeoJSON)})},r.toggleSelectButton=function(){0<$(".search-ui .items input:checked").size()?$(".select-items").parent("div").show():$(".select-items").parent("div").hide()},r.modal=function(e){r.map_points=e,$(".search-ui-form form.search").on("submit",function(){return $(this).ajaxSubmit({url:$(this).attr("action"),success:function(e){return $("#cboxLoadedContent").html(e)},error:function(){return alert("== Error ==")}}),!1}),$(".search-ui a.select-item").on("click",function(){var e=$(this).closest("tr"),t=r.selectItem(e);return $.colorbox.close(),$(t).find(".set-markers").trigger("click"),!1}),$(".search-ui-select .select-items").on("click",function(){return $(".search-ui .items .set-dataset:checked").each(function(){var e=$(this).closest("tr");r.selectItem(e)}),$.colorbox.close(),!1}),$(".search-ui .list-head input:checkbox").on("change",function(){var e=$
16(this).prop("checked");$(".search-ui .list-item").each(function(){$(this).toggleClass("checked",e),$(this).find(".set-dataset").prop("checked",e)})}),$(".search-ui").on("change",function(){r.toggleSelectButton()}),$(".dataset-search .selected-dataset .selected-item").each(function(){var e=$(this).attr("data-id"),t=$(".items [data-id='"+e+"']");t.find("input[type=checkbox]").remove();var n=t.find(".select-item").html();t.find(".select-item").replaceWith("<span class='select-item' style='color: #888'>"+n+"</span>")})},r}(),Opendata_Graph=function(e,t){this.$canvas=$(e),this.$container=$(e).parent("div"),this.$controller=$(t),this.chart=null},Opendata_Graph.prototype.render=function(e,t,n,i,a){if(null==a&&(a={}),this.type=e,this.name=t,this.labels=n,this.datasets=i,this.headerIndex=a.headerIndex,this.destroy(),this.headerIndex||0==this.headerIndex){var r=this.datasets[this.headerIndex];r&&(this.datasets=[r])}"bar"==this.type?this.drawBar():"line"==this.type?this.drawLine():"pie"==this.type&&this.drawPie()},Opendata_Graph.prototype.resizeContainer=function(e){var t=this.$container.data("baseWidth");t||(t=this.$container.width(),this.$container.data("baseWidth",t)),t<e?this.$container.css("width",e+"px"):this.$container.css("width",t+"px")},Opendata_Graph.prototype.datasetsMinWidth=function(){return 12*this.datasets.length*this.labels.length},Opendata_Graph.prototype.drawBar=function(){this.resizeContainer(this.datasetsMinWidth()),this.chart=new Chart(this.$canvas,{type:"bar",data:{labels:this.labels,datasets:this.datasets},options:{title:{display:!0,text:this.name,fontSize:18},legend:{display:!0,position:"bottom",onClick:function(){return!1}},plugins:{colorschemes:{scheme:"brewer.Paired12"}},scales:{xAxes:[{ticks:{autoSkip:!1}}],yAxes:[{ticks:{beginAtZero:!0,callback:function(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}}}]},responsive:!0,maintainAspectRatio:!1}})},Opendata_Graph.prototype.drawLine=function(){this.resizeContainer(this.datasetsMinWidth()),this.chart=new Chart(this.$canvas,{type:"line",data:{labels:this.labels,datasets:this.datasets},options:{title:{display:!0,text:this.name,fontSize:18},legend:{display:!0,position:"bottom",onClick:function(){return!1}},plugins:{colorschemes:{scheme:"brewer.Paired12"}},scales:{xAxes:[{ticks:{autoSkip:!1}}],yAxes:[{ticks:{beginAtZero:!0,callback:function(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}}}]},responsive:!0,maintainAspectRatio:!1}})},Opendata_Graph.prototype.drawPie=function(){this.resizeContainer(0),this.chart=new Chart(this.$canvas,{type:"pie",data:{labels:this.labels,datasets:this.datasets},options:{title:{display:!0,text:this.name,fontSize:18},legend:{display:!0,position:"bottom",onClick:function(){return!1}},tooltips:{callbacks:{label:function(e,t){var n=t.labels[e.index],i=t.datasets[e.datasetIndex];return t=(t=i.data[e.index]).toString().replace(/\B(?=(\d{3})+(?!\d))/g,","),n=n+"\uff08"+i.label+"\uff09: "+t}}},plugins:{colorschemes:{scheme:"brewer.Paired12"}},scales:{xAxes:[{display:!1}],yAxes:[{display:!1}]},responsive:!0,maintainAspectRatio:!1}})},Opendata_Graph.prototype.renderController=function(e,t,n){var i=this;this.types=e,this.headers=t,this.$controller.html("");var a={bar:"\u68d2\u30b0\u30e9\u30d5",line:"\u7dda\u30b0\u30e9\u30d5",pie:"\u5186\u30b0\u30e9\u30d5"},r=$('<div class="graph-types"></div>');
16if($.each(this.types,function(){var e=$('<button type="button" data-type="'+this+'">'+a[this]+"</button>");i.type==this&&e.addClass("current"),$(e).on("click",function(){n($(this).data("type"))}),$(r).append(e)}),this.$controller.append(r),"pie"==this.type&&this.headers&&0<this.headers.length){var o=$('<div class="graph-header-controller"></div>'),s=$('<select class="select-header" name="header-index"></select>');$.each(this.headers,function(e){i.headerIndex==e?$(s).append('<option value="'+e+'" selected="selected">'+this+"</option>"):$(s).append('<option value="'+e+'">'+this+"</option>")}),$(s).on("change",function(){n("pie",$(this).val())}),$(o).append(s),this.$controller.append(o)}this.$controller.show()},Opendata_Graph.prototype.destroy=function(){this.chart&&this.chart.destroy(),this.$controller&&this.$controller.html("")},this.Opendata_Dataset_Graph=function(){function l(){}return l.graph=null,l.$canvas=null,l.$controller=null,l.render=function(e,t){$(".dataset-search a#ajax-search").colorbox({fixed:!0,width:"90%",height:"90%"}),l.$canvas=$(e),l.$controller=$(t),l.graph=new Opendata_Graph(l.$canvas,l.$controller)},l.renderGraph=function(e,o){var t=$('.selected-dataset [name="resource_id"]:checked:first');if(0<t.length){var n=$(t).data("url"),s=$(t).closest("li").find(".resource-name").text();e&&(n+="?type="+e),$.ajax({url:n,type:"GET",dataType:"json",success:function(e){var t=e.type,n=e.types,i=e.datasets,a=e.labels,r=e.headers;"pie"==t&&(o||(o=0),s+="\uff08"+r[o]+"\uff09"),l.graph.render(t,s,a,i,{headerIndex:o}),l.graph.renderController(n,r,function(e,t){l.renderGraph(e,t)})}})}else l.graph.destroy()},l.selectItem=function(e){$(e).attr("data-id");var t=$(e).find(".selected-item").clone(!1);$(t).find("a").removeClass("cboxElement"),$(t).find('[name="resource_id"]').each(function(){$(this).val();$(this).on("click",function(){$(this).closest(".selected-dataset").find('[name="resource_id"]').not(this).prop("checked",!1),l.renderGraph(),l.toggleFirstNotice()})}),$(t).find(".deselect").on("click",function(){return $(this).closest(".selected-item").remove(),l.graph.destroy(),l.toggleFirstNotice(),!1}),t.show(),$(".dataset-search .selected-dataset").append(t);for(var n=$(".dataset-search .selected-dataset .selected-item").length-10,i=0;i<n;i++)$(".dataset-search .selected-dataset .selected-item:first").remove();return l.toggleFirstNotice(),t},l.toggleSelectButton=function(){0<$(".search-ui .items input:checked").size()?$(".select-items").parent("div").show():$(".select-items").parent("div").hide()},l.toggleFirstNotice=function(){0<$('.selected-dataset [name="resource_id"]:checked').length?$(".resource-graph .first-notice").hide():$(".resource-graph .first-notice").show()},l.modal=function(){$(".search-ui-form form.search").on("submit",function(){return $(this).ajaxSubmit({url:$(this).attr("action"),success:function(e){return $("#cboxLoadedContent").html(e)},error:function(){return alert("== Error ==")}}),!1}
16),$(".search-ui a.select-item").on("click",function(){var e=$(this).closest("tr"),t=l.selectItem(e);return $.colorbox.close(),$(t).find(".set-graph:first").trigger("click"),!1}),$(".search-ui-select .select-items").on("click",function(){return $(".search-ui .items .set-dataset:checked").each(function(){var e=$(this).closest("tr");l.selectItem(e)}),$.colorbox.close(),!1}),$(".search-ui .list-head input:checkbox").on("change",function(){var e=$(this).prop("checked");$(".search-ui .list-item").each(function(){$(this).toggleClass("checked",e),$(this).find(".set-dataset").prop("checked",e)})}),$(".search-ui").on("change",function(){l.toggleSelectButton()}),$(".dataset-search .selected-dataset .selected-item").each(function(){var e=$(this).attr("data-id"),t=$(".items [data-id='"+e+"']");t.find("input[type=checkbox]").remove();var n=t.find(".select-item").html();t.find(".select-item").replaceWith("<span class='select-item' style='color: #888'>"+n+"</span>")})},l}(),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("chart.js")):"function"==typeof define&&define.amd?define(["chart.js"],t):(e=e||self).ChartColorSchemes=t(e.Chart)}(this,function(b){"use strict";b=b&&b.hasOwnProperty("default")?b["default"]:b;var e={brewer:Object.freeze({YlGn3:["#f7fcb9","#addd8e","#31a354"],YlGn4:["#ffffcc","#c2e699","#78c679","#238443"],YlGn5:["#ffffcc","#c2e699","#78c679","#31a354","#006837"],YlGn6:["#ffffcc","#d9f0a3","#addd8e","#78c679","#31a354","#006837"],YlGn7:["#ffffcc","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#005a32"],YlGn8:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#005a32"],YlGn9:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],YlGnBu3:["#edf8b1","#7fcdbb","#2c7fb8"],YlGnBu4:["#ffffcc","#a1dab4","#41b6c4","#225ea8"],YlGnBu5:["#ffffcc","#a1dab4","#41b6c4","#2c7fb8","#253494"],YlGnBu6:["#ffffcc","#c7e9b4","#7fcdbb","#41b6c4","#2c7fb8","#253494"],YlGnBu7:["#ffffcc","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#0c2c84"],YlGnBu8:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#0c2c84"],YlGnBu9:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],GnBu3:["#e0f3db","#a8ddb5","#43a2ca"],GnBu4:["#f0f9e8","#bae4bc","#7bccc4","#2b8cbe"],GnBu5:["#f0f9e8","#bae4bc","#7bccc4","#43a2ca","#0868ac"],GnBu6:["#f0f9e8","#ccebc5","#a8ddb5","#7bccc4","#43a2ca","#0868ac"],GnBu7:["#f0f9e8","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#08589e"],GnBu8:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#08589e"],GnBu9:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],BuGn3:["#e5f5f9","#99d8c9","#2ca25f"],BuGn4:["#edf8fb","#b2e2e2","#66c2a4","#238b45"],BuGn5:["#edf8fb","#b2e2e2","#66c2a4","#2ca25f","#006d2c"],BuGn6:["#edf8fb","#ccece6","#99d8c9","#66c2a4","#2ca25f","#006d2c"],BuGn7:["#edf8fb","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#005824"],BuGn8:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#005824"],BuGn9:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],PuBuGn3:["#ece2f0","#a6bddb","#1c9099"],PuBuGn4:["#f6eff7","#bdc9e1","#67a9cf","#02818a"],PuBuGn5:["#f6eff7","#bdc9e1","#67a9cf","#1c9099","#016c59"],PuBuGn6:["#f6eff7","#d0d1e6","#a6bddb","#67a9cf","#1c9099","#016c59"],PuBuGn7:["#f6eff7","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016450"],PuBuGn8:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016450"],PuBuGn9:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],PuBu3:["#ece7f2","#a6bddb","#2b8cbe"],PuBu4:["#f1eef6","#bdc9e1","#74a9cf","#0570b0"],PuBu5:["#f1eef6","#bdc9e1","#74a9cf","#2b8cbe","#045a8d"],PuBu6:["#f1eef6","#d0d1e6","#a6bddb","#74a9cf","#2b8cbe","#045a8d"],PuBu7:["#f1eef6","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#034e7b"],PuBu8:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#034e7b"],PuBu9:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu3:["#e0ecf4","#9ebcda","#8856a7"],BuPu4:["#edf8fb","#b3cde3","#8c96c6","#88419d"],BuPu5:["#edf8fb","#b3cde3","#8c96c6","#8856a7","#810f7c"],BuPu6:["#edf8fb","#bfd3e6","#9ebcda","#8c96c6","#8856a7","#810f7c"],BuPu7:["#edf8fb","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#6e016b"],BuPu8:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#6e016b"],BuPu9:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],RdPu3:["#fde0dd","#fa9fb5","#c51b8a"],RdPu4:["#feebe2","#fbb4b9","#f768a1","#ae017e"],RdPu5:["#feebe2","#fbb4b9","#f768a1","#c51b8a","#7a0177"],RdPu6:["#feebe2","#fcc5c0","#fa9fb5","#f768a1","#c51b8a","#7a0177"],RdPu7:["#feebe2","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177"],RdPu8:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177"],RdPu9:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],PuRd3:["#e7e1ef","#c994c7","#dd1c77"],PuRd4:["#f1eef6","#d7b5d8","#df65b0","#ce1256"],PuRd5:["#f1eef6","#d7b5d8","#df65b0","#dd1c77","#980043"],PuRd6:["#f1eef6","#d4b9da","#c994c7","#df65b0","#dd1c77","#980043"],PuRd7:["#f1eef6","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#91003f"],PuRd8:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#91003f"],PuRd9:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],OrRd3:["#fee8c8","#fdbb84","#e34a33"],OrRd4:["#fef0d9","#fdcc8a","#fc8d59","#d7301f"],OrRd5:["#fef0d9","#fdcc8a","#fc8d59","#e34a33","#b30000"],OrRd6:["#fef0d9","#fdd49e","#fdbb84","#fc8d59","#e34a33","#b30000"],OrRd7:["#fef0d9","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#990000"],OrRd8:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#990000"],OrRd9:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],YlOrRd3:["#ffeda0","#feb24c","#f03b20"],YlOrRd4:["#ffffb2","#fecc5c","#fd8d3c","#e31a1c"],YlOrRd5:["#ffffb2","#fecc5c","#fd8d3c","#f03b20","#bd0026"],YlOrRd6:["#ffffb2","#fed976","#feb24c","#fd8d3c","#f03b20","#bd0026"],YlOrRd7:["#ffffb2","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#b10026"],YlOrRd8:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#b10026"],YlOrRd9:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],YlOrBr3:["#fff7bc","#fec44f","#d95f0e"],YlOrBr4:["#ffffd4","#fed98e","#fe9929","#cc4c02"],YlOrBr5:["#ffffd4","#fed98e","#fe9929","#d95f0e","#993404"],YlOrBr6:["#ffffd4","#fee391","#fec44f","#fe9929","#d95f0e","#993404"],YlOrBr7:["#ffffd4","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#8c2d04"],YlOrBr8:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#8c2d04"],YlOrBr9:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],Purples3:["#efedf5","#bcbddc","#756bb1"],Purples4:["#f2f0f7","#cbc9e2","#9e9ac8","#6a51a3"],Purples5:["#f2f0f7","#cbc9e2","#9e9ac8","#756bb1","#54278f"],Purples6:["#f2f0f7","#dadaeb","#bcbddc","#9e9ac8","#756bb1","#54278f"],Purples7:["#f2f0f7","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#4a1486"],Purples8:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#4a1486"],Purples9:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],Blues3:["#deebf7","#9ecae1","#3182bd"],Blues4:["#eff3ff","#bdd7e7","#6baed6","#2171b5"],Blues5:["#eff3ff","#bdd7e7","#6baed6","#3182bd","#08519c"],Blues6:["#eff3ff","#c6dbef","#9ecae1","#6baed6","#3182bd","#08519c"],Blues7:["#eff3ff","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#084594"],Blues8:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#084594"],Blues9:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],Greens3:["#e5f5e0","#a1d99b","#31a354"],Greens4:["#edf8e9","#bae4b3","#74c476","#238b45"],Greens5:["#edf8e9","#bae4b3","#74c476","#31a354","#006d2c"],Greens6:["#edf8e9","#c7e9c0","#a1d99b","#74c476","#31a354","#006d2c"],Greens7:["#edf8e9","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#005a32"],Greens8:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#005a32"],Greens9:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],Oranges3:["#fee6ce","#fdae6b","#e6550d"],Oranges4:["#feedde","#fdbe85","#fd8d3c","#d94701"],Oranges5:["#feedde","#fdbe85","#fd8d3c","#e6550d","#a63603"],Oranges6:["#feedde","#fdd0a2","#fdae6b","#fd8d3c","#e6550d","#a63603"],Oranges7:["#feedde","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#8c2d04"],Oranges8:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#8c2d04"],Oranges9
16:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],Reds3:["#fee0d2","#fc9272","#de2d26"],Reds4:["#fee5d9","#fcae91","#fb6a4a","#cb181d"],Reds5:["#fee5d9","#fcae91","#fb6a4a","#de2d26","#a50f15"],Reds6:["#fee5d9","#fcbba1","#fc9272","#fb6a4a","#de2d26","#a50f15"],Reds7:["#fee5d9","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#99000d"],Reds8:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#99000d"],Reds9:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],Greys3:["#f0f0f0","#bdbdbd","#636363"],Greys4:["#f7f7f7","#cccccc","#969696","#525252"],Greys5:["#f7f7f7","#cccccc","#969696","#636363","#252525"],Greys6:["#f7f7f7","#d9d9d9","#bdbdbd","#969696","#636363","#252525"],Greys7:["#f7f7f7","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525"],Greys8:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525"],Greys9:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],PuOr3:["#f1a340","#f7f7f7","#998ec3"],PuOr4:["#e66101","#fdb863","#b2abd2","#5e3c99"],PuOr5:["#e66101","#fdb863","#f7f7f7","#b2abd2","#5e3c99"],PuOr6:["#b35806","#f1a340","#fee0b6","#d8daeb","#998ec3","#542788"],PuOr7:["#b35806","#f1a340","#fee0b6","#f7f7f7","#d8daeb","#998ec3","#542788"],PuOr8:["#b35806","#e08214","#fdb863","#fee0b6","#d8daeb","#b2abd2","#8073ac","#542788"],PuOr9:["#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788"],PuOr10:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],PuOr11:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],BrBG3:["#d8b365","#f5f5f5","#5ab4ac"],BrBG4:["#a6611a","#dfc27d","#80cdc1","#018571"],BrBG5:["#a6611a","#dfc27d","#f5f5f5","#80cdc1","#018571"],BrBG6:["#8c510a","#d8b365","#f6e8c3","#c7eae5","#5ab4ac","#01665e"],BrBG7:["#8c510a","#d8b365","#f6e8c3","#f5f5f5","#c7eae5","#5ab4ac","#01665e"],BrBG8:["#8c510a","#bf812d","#dfc27d","#f6e8c3","#c7eae5","#80cdc1","#35978f","#01665e"],BrBG9:["#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e"],BrBG10:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],BrBG11:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],PRGn3:["#af8dc3","#f7f7f7","#7fbf7b"],PRGn4:["#7b3294","#c2a5cf","#a6dba0","#008837"],PRGn5:["#7b3294","#c2a5cf","#f7f7f7","#a6dba0","#008837"],PRGn6:["#762a83","#af8dc3","#e7d4e8","#d9f0d3","#7fbf7b","#1b7837"],PRGn7:["#762a83","#af8dc3","#e7d4e8","#f7f7f7","#d9f0d3","#7fbf7b","#1b7837"],PRGn8:["#762a83","#9970ab","#c2a5cf","#e7d4e8","#d9f0d3","#a6dba0","#5aae61","#1b7837"],PRGn9:["#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837"],PRGn10:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],PRGn11:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],PiYG3:["#e9a3c9","#f7f7f7","#a1d76a"],PiYG4:["#d01c8b","#f1b6da","#b8e186","#4dac26"],PiYG5:["#d01c8b","#f1b6da","#f7f7f7","#b8e186","#4dac26"],PiYG6:["#c51b7d","#e9a3c9","#fde0ef","#e6f5d0","#a1d76a","#4d9221"],PiYG7:["#c51b7d","#e9a3c9","#fde0ef","#f7f7f7","#e6f5d0","#a1d76a","#4d9221"],PiYG8:["#c51b7d","#de77ae","#f1b6da","#fde0ef","#e6f5d0","#b8e186","#7fbc41","#4d9221"],PiYG9:["#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221"],PiYG10:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PiYG11:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],RdBu3:["#ef8a62","#f7f7f7","#67a9cf"],RdBu4:["#ca0020","#f4a582","#92c5de","#0571b0" 17],RdBu5:["#ca0020","#f4a582","#f7f7f7","#92c5de","#0571b0"],RdBu6:["#b2182b","#ef8a62","#fddbc7","#d1e5f0","#67a9cf","#2166ac"],RdBu7:["#b2182b","#ef8a62","#fddbc7","#f7f7f7","#d1e5f0","#67a9cf","#2166ac"],RdBu8:["#b2182b","#d6604d","#f4a582","#fddbc7","#d1e5f0","#92c5de","#4393c3","#2166ac"],RdBu9:["#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac"],RdBu10:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],RdBu11:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],RdGy3:["#ef8a62","#ffffff","#999999"],RdGy4:["#ca0020","#f4a582","#bababa","#404040"],RdGy5:["#ca0020","#f4a582","#ffffff","#bababa","#404040"],RdGy6:["#b2182b","#ef8a62","#fddbc7","#e0e0e0","#999999","#4d4d4d"],RdGy7:["#b2182b","#ef8a62","#fddbc7","#ffffff","#e0e0e0","#999999","#4d4d4d"],RdGy8:["#b2182b","#d6604d","#f4a582","#fddbc7","#e0e0e0","#bababa","#878787","#4d4d4d"],RdGy9:["#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d"],RdGy10:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],RdGy11:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],RdYlBu3:["#fc8d59","#ffffbf","#91bfdb"],RdYlBu4:["#d7191c","#fdae61","#abd9e9","#2c7bb6"],RdYlBu5:["#d7191c","#fdae61","#ffffbf","#abd9e9","#2c7bb6"],RdYlBu6:["#d73027","#fc8d59","#fee090","#e0f3f8","#91bfdb","#4575b4"],RdYlBu7:["#d73027","#fc8d59","#fee090","#ffffbf","#e0f3f8","#91bfdb","#4575b4"],RdYlBu8:["#d73027","#f46d43","#fdae61","#fee090","#e0f3f8","#abd9e9","#74add1","#4575b4"],RdYlBu9:["#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4"],RdYlBu10:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],RdYlBu11:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],Spectral3:["#fc8d59","#ffffbf","#99d594"],Spectral4:["#d7191c","#fdae61","#abdda4","#2b83ba"],Spectral5:["#d7191c","#fdae61","#ffffbf","#abdda4","#2b83ba"],Spectral6:["#d53e4f","#fc8d59","#fee08b","#e6f598","#99d594","#3288bd"],Spectral7:["#d53e4f","#fc8d59","#fee08b","#ffffbf","#e6f598","#99d594","#3288bd"],Spectral8:["#d53e4f","#f46d43","#fdae61","#fee08b","#e6f598","#abdda4","#66c2a5","#3288bd"],Spectral9:["#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd"],Spectral10:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],Spectral11:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn3:["#fc8d59","#ffffbf","#91cf60"],RdYlGn4:["#d7191c","#fdae61","#a6d96a","#1a9641"],RdYlGn5:["#d7191c","#fdae61","#ffffbf","#a6d96a","#1a9641"],RdYlGn6:["#d73027","#fc8d59","#fee08b","#d9ef8b","#91cf60","#1a9850"],RdYlGn7:["#d73027","#fc8d59","#fee08b","#ffffbf","#d9ef8b","#91cf60","#1a9850"],RdYlGn8:["#d73027","#f46d43","#fdae61","#fee08b","#d9ef8b","#a6d96a","#66bd63","#1a9850"],RdYlGn9:["#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850"],RdYlGn10:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdYlGn11:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],Accent3:["#7fc97f","#beaed4","#fdc086"],Accent4:["#7fc97f","#beaed4","#fdc086","#ffff99"],Accent5:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0"],Accent6:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f"],Accent7:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17"],Accent8:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],DarkTwo3:["#1b9e77","#d95f02","#7570b3"],DarkTwo4:["#1b9e77","#d95f02","#7570b3","#e7298a"],DarkTwo5:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e"],DarkTwo6:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02"],DarkTwo7:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d"],DarkTwo8:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired3:["#a6cee3","#1f78b4","#b2df8a"],Paired4:["#a6cee3","#1f78b4","#b2df8a","#33a02c"],Paired5:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99"],Paired6:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c"],Paired7:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f"],Paired8:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00"],Paired9:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6"],Paired10:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a"],Paired11:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99"],Paired12:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],PastelOne3:["#fbb4ae","#b3cde3","#ccebc5"],PastelOne4:["#fbb4ae","#b3cde3","#ccebc5","#decbe4"],PastelOne5:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6"],PastelOne6:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc"],PastelOne7:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd"],PastelOne8:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec"],PastelOne9:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"],PastelTwo3:["#b3e2cd","#fdcdac","#cbd5e8"],PastelTwo4:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4"],PastelTwo5:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9"],PastelTwo6:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae"],PastelTwo7:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc"],PastelTwo8:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],SetOne3:["#e41a1c","#377eb8","#4daf4a"],SetOne4:["#e41a1c","#377eb8","#4daf4a","#984ea3"],SetOne5:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00"],SetOne6:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33"],SetOne7:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628"],SetOne8:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf"],SetOne9:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],SetTwo3:["#66c2a5","#fc8d62","#8da0cb"],SetTwo4:["#66c2a5","#fc8d62","#8da0cb","#e78ac3"],SetTwo5:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854"],SetTwo6:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f"],SetTwo7:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494"],SetTwo8:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],SetThree3:["#8dd3c7","#ffffb3","#bebada"],SetThree4:["#8dd3c7","#ffffb3","#bebada","#fb8072"],SetThree5:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3"],SetThree6:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462"],SetThree7:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69"],SetThree8:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5"],SetThree9:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9"],SetThree10:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd"],SetThree11:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5"],SetThree12:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"]}),office:Object.freeze({
vendor: 8,625 bytes, line 17
17Adjacency6:["#a9a57c","#9cbebd","#d2cb6c","#95a39d","#c89f5d","#b1a089"],Advantage6:["#663366","#330f42","#666699","#999966","#f7901e","#a3a101"],Angles6:["#797b7e","#f96a1b","#08a1d9","#7c984a","#c2ad8d","#506e94"],Apex6:["#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb"],Apothecary6:["#93a299","#cf543f","#b5ae53","#848058","#e8b54d","#786c71"],Aspect6:["#f07f09","#9f2936","#1b587c","#4e8542","#604878","#c19859"],Atlas6:["#f81b02","#fc7715","#afbf41","#50c49f","#3b95c4","#b560d4"],Austin6:["#94c600","#71685a","#ff6700","#909465","#956b43","#fea022"],Badge6:["#f8b323","#656a59","#46b2b5","#8caa7e","#d36f68","#826276"],Banded6:["#ffc000","#a5d028","#08cc78","#f24099","#828288","#f56617"],Basis6:["#f09415","#c1b56b","#4baf73","#5aa6c0","#d17df9","#fa7e5c"],Berlin6:["#a6b727","#df5327","#fe9e00","#418ab3","#d7d447","#818183"],BlackTie6:["#6f6f74","#a7b789","#beae98","#92a9b9","#9c8265","#8d6974"],Blue6:["#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249"],BlueGreen6:["#3494ba","#58b6c0","#75bda7","#7a8c8e","#84acb6","#2683c6"],BlueII6:["#1cade4","#2683c6","#27ced7","#42ba97","#3e8853","#62a39f"],BlueRed6:["#4a66ac","#629dd1","#297fd5","#7f8fa9","#5aa2ae","#9d90a0"],BlueWarm6:["#4a66ac","#629dd1","#297fd5","#7f8fa9","#5aa2ae","#9d90a0"],Breeze6:["#2c7c9f","#244a58","#e2751d","#ffb400","#7eb606","#c00000"],Capital6:["#4b5a60","#9c5238","#504539","#c1ad79","#667559","#bad6ad"],Celestial6:["#ac3ec1","#477bd1","#46b298","#90ba4c","#dd9d31","#e25247"],Circuit6:["#9acd4c","#faa93a","#d35940","#b258d3","#63a0cc","#8ac4a7"],Civic6:["#d16349","#ccb400","#8cadae","#8c7b70","#8fb08c","#d19049"],Clarity6:["#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d"],Codex6:["#990000","#efab16","#78ac35","#35aca2","#4083cf","#0d335e"],Composite6:["#98c723","#59b0b9","#deae00","#b77bb4","#e0773c","#a98d63"],Concourse6:["#2da2bf","#da1f28","#eb641b","#39639d","#474b78","#7d3c4a"],Couture6:["#9e8e5c","#a09781","#85776d","#aeafa9","#8d878b","#6b6149"],Crop6:["#8c8d86","#e6c069","#897b61","#8dab8e","#77a2bb","#e28394"],Damask6:["#9ec544","#50bea3","#4a9ccc","#9a66ca","#c54f71","#de9c3c"],Depth6:["#41aebd","#97e9d5","#a2cf49","#608f3d","#f4de3a","#fcb11c"],Dividend6:["#4d1434","#903163","#b2324b","#969fa7","#66b1ce","#40619d"],Droplet6:["#2fa3ee","#4bcaad","#86c157","#d99c3f","#ce6633","#a35dd1"],Elemental6:["#629dd1","#297fd5","#7f8fa9","#4a66ac","#5aa2ae","#9d90a0"],Equity6:["#d34817","#9b2d1f","#a28e6a","#956251","#918485","#855d5d"],Essential6:["#7a7a7a","#f5c201","#526db0","#989aac","#dc5924","#b4b392"],Excel16:["#9999ff","#993366","#ffffcc","#ccffff","#660066","#ff8080","#0066cc","#ccccff","#000080","#ff00ff","#ffff00","#0000ff","#800080","#800000","#008080","#0000ff"],Executive6:["#6076b4","#9c5252","#e68422","#846648","#63891f","#758085"],Exhibit6:["#3399ff","#69ffff","#ccff33","#3333ff","#9933ff","#ff33ff"],Expo6:["#fbc01e","#efe1a2","#fa8716","#be0204","#640f10","#7e13e3"],Facet6:["#90c226","#54a021","#e6b91e","#e76618","#c42f1a","#918655"],Feathered6:["#606372","#79a8a4","#b2ad8f","#ad8082","#dec18c","#92a185"],Flow6:["#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249"],Focus6:["#ffb91d","#f97817","#6de304","#ff0000","#732bea","#c913ad"],Folio6:["#294171","#748cbc","#8e887c","#834736","#5a1705","#a0a16a"],Formal6:["#907f76","#a46645","#cd9c47","#9a92cd","#7d639b","#733678"],Forte6:["#c70f0c","#dd6b0d","#faa700","#93e50d","#17c7ba","#0a96e4"],Foundry6:["#72a376","#b0ccb0","#a8cdd7","#c0beaf","#cec597","#e8b7b7"],Frame6:["#40bad2","#fab900","#90bb23","#ee7008","#1ab39f","#d5393d"],Gallery6:["#b71e42","#de478e","#bc72f0","#795faf","#586ea6","#6892a0"],Genesis6:["#80b606","#e29f1d","#2397e2","#35aca2","#5430bb","#8d34e0"],Grayscale6:["#dddddd","#b2b2b2","#969696","#808080","#5f5f5f","#4d4d4d"],Green6:["#549e39","#8ab833","#c0cf3a","#029676","#4ab5c4","#0989b1"],GreenYellow6:["#99cb38","#63a537","#37a76f","#44c1a3","#4eb3cf","#51c3f9"],Grid6:["#c66951","#bf974d","#928b70","#87706b","#94734e","#6f777d"],Habitat6:["#f8c000","#f88600","#f83500","#8b723d","#818b3d","#586215"],Hardcover6:["#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795"],Headlines6:["#439eb7","#e28b55","#dcb64d","#4ca198","#835b82","#645135"],Horizon6:["#7e97ad","#cc8e60","#7a6a60","#b4936d","#67787b","#9d936f"],Infusion6:["#8c73d0","#c2e8c4","#c5a6e8","#b45ec7","#9fdafb","#95c5b0"],Inkwell6:["#860908","#4a0505","#7a500a","#c47810","#827752","#b5bb83"],Inspiration6:["#749805","#bacc82","#6e9ec2","#2046a5","#5039c6","#7411d0"],Integral6:["#1cade4","#2683c6","#27ced7","#42ba97","#3e8853","#62a39f"],Ion6:["#b01513","#ea6312","#e6b729","#6aac90","#5f9c9d","#9e5e9b"],IonBoardroom6:["#b31166","#e33d6f","#e45f3c","#e9943a","#9b6bf2","#d53dd0"],Kilter6:["#76c5ef","#fea022","#ff6700","#70a525","#a5d848","#20768c"],Madison6:["#a1d68b","#5ec795","#4dadcf","#cdb756","#e29c36","#8ec0c1"],MainEvent6:["#b80e0f","#a6987d","#7f9a71","#64969f","#9b75b2","#80737a"],Marquee6:["#418ab3","#a6b727","#f69200","#838383","#fec306","#df5327"],Median6:["#94b6d2","#dd8047","#a5ab81","#d8b25c","#7ba79d","#968c8c"],Mesh6:["#6f6f6f","#bfbfa5","#dcd084","#e7bf5f","#e9a039","#cf7133"],Metail6:["#6283ad","#324966","#5b9ea4","#1d5b57","#1b4430","#2f3c35"],Metro6:["#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f"],Metropolitan6:["#50b4c8","#a8b97f","#9b9256","#657689","#7a855d","#84ac9d"],Module6:["#f0ad00","#60b5cc","#e66c7d","#6bb76d","#e88651","#c64847"],NewsPrint6:["#ad0101","#726056","#ac956e","#808da9","#424e5b","#730e00"],Office6:["#5b9bd5","#ed7d31","#a5a5a5","#ffc000","#4472c4","#70ad47"],OfficeClassic6:["#4f81bd","#c0504d","#9bbb59","#8064a2","#4bacc6","#f79646"],Opulent6:["#b83d68","#ac66bb","#de6c36","#f9b639","#cf6da4","#fa8d3d"],Orange6:["#e48312","#bd582c","#865640","#9b8357","#c2bc80","#94a088"],OrangeRed6:["#d34817","#9b2d1f","#a28e6a","#956251","#918485","#855d5d"],Orbit6:["#f2d908","#9de61e","#0d8be6","#c61b1b","#e26f08","#8d35d1"],Organic6:["#83992a","#3c9770","#44709d","#a23c33","#d97828","#deb340"],Oriel6:["#fe8637","#7598d9","#b32c16","#f5cd2d","#aebad5","#777c84"],Origin6:["#727ca3","#9fb8cd","#d2da7a","#fada7a","#b88472","#8e736a"],Paper6:["#a5b592","#f3a447","#e7bc29","#d092a7","#9c85c0","#809ec2"],Parallax6:["#30acec","#80c34f","#e29d3e","#d64a3b","#d64787","#a666e1"],Parcel6:["#f6a21d","#9bafb5","#c96731","#9ca383","#87795d","#a0988c"],Perception6:["#a2c816","#e07602","#e4c402","#7dc1ef","#21449b","#a2b170"],Perspective6:["#838d9b","#d2610c","#80716a","#94147c","#5d5ad2","#6f6c7d"],Pixel6:["#ff7f01","#f1b015","#fbec85","#d2c2f1","#da5af4","#9d09d1"],Plaza6:["#990000","#580101","#e94a00","#eb8f00","#a4a4a4","#666666"],Precedent6:["#993232","#9b6c34","#736c5d","#c9972b","#c95f2b","#8f7a05"],Pushpin6:["#fda023","#aa2b1e","#71685c","#64a73b","#eb5605","#b9ca1a"],Quotable6:["#00c6bb","#6feba0","#b6df5e","#efb251","#ef755f","#ed515c"],Red6:["#a5300f","#d55816","#e19825","#b19c7d","#7f5f52","#b27d49"],RedOrange6:["#e84c22","#ffbd47","#b64926","#ff8427","#cc9900","#b22600"],RedViolet6:["#e32d91","#c830cc","#4ea6dc","#4775e7","#8971e1","#d54773"],Retrospect6:["#e48312","#bd582c","#865640","#9b8357","#c2bc80","#94a088"],Revolution6:["#0c5986","#ddf53d","#508709","#bf5e00","#9c0001","#660075"],Saddle6:["#c6b178","#9c5b14","#71b2bc","#78aa5d","#867099","#4c6f75"],Savon6:["#1cade4","#2683c6","#27ced7","#42ba97","#3e8853","#62a39f"],Sketchbook6:["#a63212","#e68230","#9bb05e","#6b9bc7","#4e66b2","#8976ac"],Sky6:["#073779","#8fd9fb","#ffcc00","#eb6615","#c76402","#b523b4"],Slate6:["#bc451b","#d3ba68","#bb8640","#ad9277","#a55a43","#ad9d7b"],Slice6:["#052f61","#a50e82","#14967c","#6a9e1f","#e87d37","#c62324"],Slipstream6:["#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124"],SOHO6:["#61625e","#964d2c","#66553e","#848058","#afa14b","#ad7d4d"],Solstice6:["#3891a7","#feb80a","#c32d2e","#84aa33","#964305","#475a8d"],Spectrum6:["#990000","#ff6600","#ffba00","#99cc00","#528a02","#333333"],Story6:["#1d86cd","#732e9a","#b50b1b","#e8950e","#55992b","#2c9c89"],Studio6:["#f7901e","#fec60b","#9fe62f","#4ea5d1","#1c4596","#542d90"],Summer6:["#51a6c2","#51c2a9","#7ec251","#e1dc53","#b54721","#a16bb1"],Technic6:["#6ea0b0","#ccaf0a","#8d89a4","#748560","#9e9273","#7e848d"],Thatch6:["#759aa5","#cfc60d","#99987f","#90ac97","#ffad1c","#b9ab6f"],Tradition6:["#6b4a0b","#790a14","#908342","#423e5c","#641345","#748a2f"],Travelogue6:["#b74d21","#a32323","#4576a3","#615d9a","#67924b","#bf7b1b"],Trek6:["#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529"],Twilight6:["#e8bc4a","#83c1c6","#e78d35","#909ce1","#839c41","#cc5439"],Urban6:["#53548a","#438086","#a04da3","#c4652d","#8b5d3d","#5c92b5"],UrbanPop6:["#8
vendor: 4,354 bytes, line 17
176ce24","#00a2e6","#fac810","#7d8f8c","#d06b20","#958b8b"],VaporTrail6:["#df2e28","#fe801a","#e9bf35","#81bb42","#32c7a9","#4a9bdc"],Venture6:["#9eb060","#d09a08","#f2ec86","#824f1c","#511818","#553876"],Verve6:["#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e"],View6:["#6f6f74","#92a9b9","#a7b789","#b9a489","#8d6374","#9b7362"],Violet6:["#ad84c6","#8784c7","#5d739a","#6997af","#84acb6","#6f8183"],VioletII6:["#92278f","#9b57d3","#755dd9","#665eb8","#45a5ed","#5982db"],Waveform6:["#31b6fd","#4584d3","#5bd078","#a5d028","#f5c040","#05e0db"],Wisp6:["#a53010","#de7e18","#9f8351","#728653","#92aa4c","#6aac91"],WoodType6:["#d34817","#9b2d1f","#a28e6a","#956251","#918485","#855d5d"],Yellow6:["#ffca08","#f8931d","#ce8d3e","#ec7016","#e64823","#9c6a6a"],YellowOrange6:["#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529"]}),tableau:Object.freeze({Tableau10:["#4E79A7","#F28E2B","#E15759","#76B7B2","#59A14F","#EDC948","#B07AA1","#FF9DA7","#9C755F","#BAB0AC"],Tableau20:["#4E79A7","#A0CBE8","#F28E2B","#FFBE7D","#59A14F","#8CD17D","#B6992D","#F1CE63","#499894","#86BCB6","#E15759","#FF9D9A","#79706E","#BAB0AC","#D37295","#FABFD2","#B07AA1","#D4A6C8","#9D7660","#D7B5A6"],ColorBlind10:["#1170aa","#fc7d0b","#a3acb9","#57606c","#5fa2ce","#c85200","#7b848f","#a3cce9","#ffbc79","#c8d0d9"],SeattleGrays5:["#767f8b","#b3b7b8","#5c6068","#d3d3d3","#989ca3"],Traffic9:["#b60a1c","#e39802","#309143","#e03531","#f0bd27","#51b364","#ff684c","#ffda66","#8ace7e"],MillerStone11:["#4f6980","#849db1","#a2ceaa","#638b66","#bfbb60","#f47942","#fbb04e","#b66353","#d7ce9f","#b9aa97","#7e756d"],SuperfishelStone10:["#6388b4","#ffae34","#ef6f6a","#8cc2ca","#55ad89","#c3bc3f","#bb7693","#baa094","#a9b5ae","#767676"],NurielStone9:["#8175aa","#6fb899","#31a1b3","#ccb22b","#a39fc9","#94d0c0","#959c9e","#027b8e","#9f8f12"],JewelBright9:["#eb1e2c","#fd6f30","#f9a729","#f9d23c","#5fbb68","#64cdcc","#91dcea","#a4a4d5","#bbc9e5"],Summer8:["#bfb202","#b9ca5d","#cf3e53","#f1788d","#00a2b3","#97cfd0","#f3a546","#f7c480"],Winter10:["#90728f","#b9a0b4","#9d983d","#cecb76","#e15759","#ff9888","#6b6b6b","#bab2ae","#aa8780","#dab6af"],GreenOrangeTeal12:["#4e9f50","#87d180","#ef8a0c","#fcc66d","#3ca8bc","#98d9e4","#94a323","#c3ce3d","#a08400","#f7d42a","#26897e","#8dbfa8"],RedBlueBrown12:["#466f9d","#91b3d7","#ed444a","#feb5a2","#9d7660","#d7b5a6","#3896c4","#a0d4ee","#ba7e45","#39b87f","#c8133b","#ea8783"],PurplePinkGray12:["#8074a8","#c6c1f0","#c46487","#ffbed1","#9c9290","#c5bfbe","#9b93c9","#ddb5d5","#7c7270","#f498b6","#b173a0","#c799bc"],HueCircle19:["#1ba3c6","#2cb5c0","#30bcad","#21B087","#33a65c","#57a337","#a2b627","#d5bb21","#f8b620","#f89217","#f06719","#e03426","#f64971","#fc719e","#eb73b3","#ce69be","#a26dc2","#7873c0","#4f7cba"],OrangeBlue7:["#9e3d22","#d45b21","#f69035","#d9d5c9","#77acd3","#4f81af","#2b5c8a"],RedGreen7:["#a3123a","#e33f43","#f8816b","#ced7c3","#73ba67","#44914e","#24693d"],GreenBlue7:["#24693d","#45934d","#75bc69","#c9dad2","#77a9cf","#4e7fab","#2a5783"],RedBlue7:["#a90c38","#e03b42","#f87f69","#dfd4d1","#7eaed3","#5383af","#2e5a87"],RedBlack7:["#ae123a","#e33e43","#f8816b","#d9d9d9","#a0a7a8","#707c83","#49525e"],GoldPurple7:["#ad9024","#c1a33b","#d4b95e","#e3d8cf","#d4a3c3","#c189b0","#ac7299"],RedGreenGold7:["#be2a3e","#e25f48","#f88f4d","#f4d166","#90b960","#4b9b5f","#22763f"],SunsetSunrise7:["#33608c","#9768a5","#e7718a","#f6ba57","#ed7846","#d54c45","#b81840"],OrangeBlueWhite7:["#9e3d22","#e36621","#fcad52","#ffffff","#95c5e1","#5b8fbc","#2b5c8a"],RedGreenWhite7:["#ae123a","#ee574d","#fdac9e","#ffffff","#91d183","#539e52","#24693d"],GreenBlueWhite7:["#24693d","#529c51","#8fd180","#ffffff","#95c1dd","#598ab5","#2a5783"],RedBlueWhite7:["#a90c38","#ec534b","#feaa9a","#ffffff","#9ac4e1","#5c8db8","#2e5a87"],RedBlackWhite7:["#ae123a","#ee574d","#fdac9d","#ffffff","#bdc0bf","#7d888d","#49525e"],OrangeBlueLight7:["#ffcc9e","#f9d4b6","#f0dccd","#e5e5e5","#dae1ea","#cfdcef","#c4d8f3"],Temperature7:["#529985","#6c9e6e","#99b059","#dbcf47","#ebc24b","#e3a14f","#c26b51"],BlueGreen7:["#feffd9","#f2fabf","#dff3b2","#c4eab1","#94d6b7","#69c5be","#41b7c4"],BlueLight7:["#e5e5e5","#e0e3e8","#dbe1ea","#d5dfec","#d0dcef","#cadaf1","#c4d8f3"],OrangeLight7:["#e5e5e5","#ebe1d9","#f0ddcd","#f5d9c2","#f9d4b6","#fdd0aa","#ffcc9e"],Blue20:["#b9ddf1","#afd6ed","#a5cfe9","#9bc7e4","#92c0df","#89b8da","#80b0
vendor: 6,905 bytes, line 17
17d5","#79aacf","#72a3c9","#6a9bc3","#6394be","#5b8cb8","#5485b2","#4e7fac","#4878a6","#437a9f","#3d6a98","#376491","#305d8a","#2a5783"],Orange20:["#ffc685","#fcbe75","#f9b665","#f7ae54","#f5a645","#f59c3c","#f49234","#f2882d","#f07e27","#ee7422","#e96b20","#e36420","#db5e20","#d25921","#ca5422","#c14f22","#b84b23","#af4623","#a64122","#9e3d22"],Green20:["#b3e0a6","#a5db96","#98d687","#8ed07f","#85ca77","#7dc370","#75bc69","#6eb663","#67af5c","#61a956","#59a253","#519c51","#49964f","#428f4d","#398949","#308344","#2b7c40","#27763d","#256f3d","#24693d"],Red20:["#ffbeb2","#feb4a6","#fdab9b","#fca290","#fb9984","#fa8f79","#f9856e","#f77b66","#f5715d","#f36754","#f05c4d","#ec5049","#e74545","#e13b42","#da323f","#d3293d","#ca223c","#c11a3b","#b8163a","#ae123a"],Purple20:["#eec9e5","#eac1df","#e6b9d9","#e0b2d2","#daabcb","#d5a4c4","#cf9dbe","#ca96b8","#c48fb2","#be89ac","#b882a6","#b27ba1","#aa759d","#a27099","#9a6a96","#926591","#8c5f86","#865986","#81537f","#7c4d79"],Brown20:["#eedbbd","#ecd2ad","#ebc994","#eac085","#e8b777","#e5ae6c","#e2a562","#de9d5a","#d99455","#d38c54","#ce8451","#c9784d","#c47247","#c16941","#bd6036","#b85636","#b34d34","#ad4433","#a63d32","#9f3632"],Gray20:["#d5d5d5","#cdcecd","#c5c7c6","#bcbfbe","#b4b7b7","#acb0b1","#a4a9ab","#9ca3a4","#939c9e","#8b9598","#848e93","#7c878d","#758087","#6e7a81","#67737c","#616c77","#5b6570","#555f6a","#4f5864","#49525e"],GrayWarm20:["#dcd4d0","#d4ccc8","#cdc4c0","#c5bdb9","#beb6b2","#b7afab","#b0a7a4","#a9a09d","#a29996","#9b938f","#948c88","#8d8481","#867e7b","#807774","#79706e","#736967","#6c6260","#665c51","#5f5654","#59504e"],BlueTeal20:["#bce4d8","#aedcd5","#a1d5d2","#95cecf","#89c8cc","#7ec1ca","#72bac6","#66b2c2","#59acbe","#4ba5ba","#419eb6","#3b96b2","#358ead","#3586a7","#347ea1","#32779b","#316f96","#2f6790","#2d608a","#2c5985"],OrangeGold20:["#f4d166","#f6c760","#f8bc58","#f8b252","#f7a84a","#f69e41","#f49538","#f38b2f","#f28026","#f0751e","#eb6c1c","#e4641e","#de5d1f","#d75521","#cf4f22","#c64a22","#bc4623","#b24223","#a83e24","#9e3a26"],GreenGold20:["#f4d166","#e3cd62","#d3c95f","#c3c55d","#b2c25b","#a3bd5a","#93b958","#84b457","#76af56","#67a956","#5aa355","#4f9e53","#479751","#40914f","#3a8a4d","#34844a","#2d7d45","#257740","#1c713b","#146c36"],RedGold21:["#f4d166","#f5c75f","#f6bc58","#f7b254","#f9a750","#fa9d4f","#fa9d4f","#fb934d","#f7894b","#f47f4a","#f0774a","#eb6349","#e66549","#e15c48","#dc5447","#d64c45","#d04344","#ca3a42","#c43141","#bd273f","#b71d3e"],Classic10:["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],ClassicMedium10:["#729ece","#ff9e4a","#67bf5c","#ed665d","#ad8bc9","#a8786e","#ed97ca","#a2a2a2","#cdcc5d","#6dccda"],ClassicLight10:["#aec7e8","#ffbb78","#98df8a","#ff9896","#c5b0d5","#c49c94","#f7b6d2","#c7c7c7","#dbdb8d","#9edae5"],Classic20:["#1f77b4","#aec7e8","#ff7f0e","#ffbb78","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5","#8c564b","#c49c94","#e377c2","#f7b6d2","#7f7f7f","#c7c7c7","#bcbd22","#dbdb8d","#17becf","#9edae5"],ClassicGray5:["#60636a","#a5acaf","#414451","#8f8782","#cfcfcf"],ClassicColorBlind10:["#006ba4","#ff800e","#ababab","#595959","#5f9ed1","#c85200","#898989","#a2c8ec","#ffbc79","#cfcfcf"],ClassicTrafficLight9:["#b10318","#dba13a","#309343","#d82526","#ffc156","#69b764","#f26c64","#ffdd71","#9fcd99"],ClassicPurpleGray6:["#7b66d2","#dc5fbd","#94917b","#995688","#d098ee","#d7d5c5"],ClassicPurpleGray12:["#7b66d2","#a699e8","#dc5fbd","#ffc0da","#5f5a41","#b4b19b","#995688","#d898ba","#ab6ad5","#d098ee","#8b7c6e","#dbd4c5"],ClassicGreenOrange6:["#32a251","#ff7f0f","#3cb7cc","#ffd94a","#39737c","#b85a0d"],ClassicGreenOrange12:["#32a251","#acd98d","#ff7f0f","#ffb977","#3cb7cc","#98d9e4","#b85a0d","#ffd94a","#39737c","#86b4a9","#82853b","#ccc94d"],ClassicBlueRed6:["#2c69b0","#f02720","#ac613c","#6ba3d6","#ea6b73","#e9c39b"],ClassicBlueRed12:["#2c69b0","#b5c8e2","#f02720","#ffb6b0","#ac613c","#e9c39b","#6ba3d6","#b5dffd","#ac8763","#ddc9b4","#bd0a36","#f4737a"],ClassicCyclic13:["#1f83b4","#12a2a8","#2ca030","#78a641","#bcbd22","#ffbf50","#ffaa0e","#ff7f0e","#d63a3a","#c7519c","#ba43b4","#8a60b0","#6f63bb"],ClassicGreen7:["#bccfb4","#94bb83","#69a761","#339444","#27823b","#1a7232","#09622a"],ClassicGray13:["#c3c3c3","#b2b2b2","#a2a2a2","#929292","#838383","#747474","#666666","#585858","#4b4b4b","#3f3f3f","#333333","#282828","#1e1e1e"],ClassicBlue7:["#b4d4da","#7bc8e2","#67add4","#3a87b7","#1c73b1","#1c5998","#26456e"],ClassicRed9:["#eac0bd","#f89a90","#f57667","#e35745","#d8392c","#cf1719","#c21417","#b10c1d","#9c0824"],ClassicOrange7:["#f0c294","#fdab67","#fd8938","#f06511","#d74401","#a33202","#7b3014"],ClassicAreaRed11:["#f5cac7","#fbb3ab","#fd9c8f","#fe8b7a","#fd7864","#f46b55","#ea5e45","#e04e35","#d43e25","#c92b14","#bd1100"],ClassicAreaGreen11:["#dbe8b4","#c3e394","#acdc7a","#9ad26d","#8ac765","#7abc5f","#6cae59","#60a24d","#569735","#4a8c1c","#3c8200"],ClassicAreaBrown11:["#f3e0c2","#f6d29c","#f7c577","#f0b763","#e4aa63","#d89c63","#cc8f63","#c08262","#bb7359","#bb6348","#bb5137"],ClassicRedGreen11:["#9c0824","#bd1316","#d11719","#df513f","#fc8375","#cacaca","#a2c18f","#69a761","#2f8e41","#1e7735","#09622a"],ClassicRedBlue11:["#9c0824","#bd1316","#d11719","#df513f","#fc8375","#cacaca","#67add4","#3a87b7","#1c73b1","#1c5998","#26456e"],ClassicRedBlack11:["#9c0824","#bd1316","#d11719","#df513f","#fc8375","#cacaca","#9b9b9b","#777777","#565656","#383838","#1e1e1e"],ClassicAreaRedGreen21:["#bd1100","#c82912","#d23a21","#dc4930","#e6583e","#ef654d","#f7705b","#fd7e6b","#fe8e7e","#fca294","#e9dabe","#c7e298","#b1de7f","#a0d571","#90cb68","#82c162","#75b65d","#69aa56","#5ea049","#559633","#4a8c1c"],ClassicOrangeBlue13:["#7b3014","#a33202","#d74401","#f06511","#fd8938","#fdab67","#cacaca","#7bc8e2","#67add4","#3a87b7","#1c73b1","#1c5998","#26456e"],ClassicGreenBlue11:["#09622a","#1e7735","#2f8e41","#69a761","#a2c18f","#cacaca","#67add4","#3a87b7","#1c73b1","#1c5998","#26456e"],ClassicRedWhiteGreen11:["#9c0824","#b41f27","#cc312b","#e86753","#fcb4a5","#ffffff","#b9d7b7","#74af72","#428f49","#297839","#09622a"],ClassicRedWhiteBlack11:["#9c0824","#b41f27","#cc312b","#e86753","#fcb4a5","#ffffff","#bfbfbf","#838383","#575757","#393939","#1e1e1e"],ClassicOrangeWhiteBlue11:["#7b3014","#a84415","#d85a13","#fb8547","#ffc2a1","#ffffff","#b7cde2","#6a9ec5","#3679a8","#2e5f8a","#26456e"],ClassicRedWhiteBlackLight10:["#ffc2c5","#ffd1d3","#ffe0e1","#fff0f0","#ffffff","#f3f3f3","#e8e8e8","#dddddd","#d1d1d1","#c6c6c6"],ClassicOrangeWhiteBlueLight11:["#ffcc9e","#ffd6b1","#ffe0c5","#ffead8","#fff5eb","#ffffff","#f3f7fd","#e8effa","#dce8f8","#d0e0f6","#c4d8f3"],ClassicRedWhiteGreenLight11:["#ffb2b6","#ffc2c5","#ffd1d3","#ffe0e1","#fff0f0","#ffffff","#f1faed","#e3f5db","#d5f0ca","#c6ebb8","#b7e6a7"],ClassicRedGreenLight11:["#ffb2b6","#fcbdc0","#f8c7c9","#f2d1d2","#ecdbdc","#e5e5e5","#dde6d9","#d4e6cc","#cae6c0","#c1e6b4","#b7e6a7"]})},
vendor: 1,059 bytes, line 17
17v=b.helpers,i=2===b.DatasetController.prototype.removeHoverStyle.length,y="$colorschemes";b.defaults.global.plugins.colorschemes={scheme:"brewer.Paired12",fillAlpha:.5,reverse:!1,override:!1};var t={id:"colorschemes",beforeUpdate:function(n,e){var t,i,a,r,o,s,l,c,d,u,f=(s=e.scheme,v.isArray(s)?s:"string"==typeof s&&(l=b.colorschemes||{},(c=s.match(/^(brewer\.\w+)([1-3])-(\d+)$/))?s=c[1]+["One","Two","Three"][c[2]-1]+c[3]:"office.Office2007-2010-6"===s&&(s="office.OfficeClassic6"),u=l[(d=s.split("."))[0]])?u[d[1]]:void 0),h=e.fillAlpha,p=e.reverse,m=e.override,g=e.custom;f&&("function"==typeof g&&(i=g(t=f.slice()),v.isArray(i)&&i.length?f=i:v.isArray(t)&&t.length&&(f=t)),a=f.length,n.config.data.datasets.forEach(function(e,t){switch(r=t%a,o=f[p?a-r-1:r],e[y]={},e.type||n.config.type){case"line":case"radar":case"scatter":(void 0===e.backgroundColor||m)&&(e[y].backgroundColor=e.backgroundColor,e.backgroundColor=v.color(o).alpha(h).rgbString()),(void 0===e.borderColor||m)&&(e[y].borderColor=e.borderColor,e.borderColor=o),(void 0===e.pointBackgroun
17dColor||m)&&(e[y].pointBackgroundColor=e.pointBackgroundColor,e.pointBackgroundColor=v.color(o).alpha(h).rgbString()),(void 0===e.pointBorderColor||m)&&(e[y].pointBorderColor=e.pointBorderColor,e.pointBorderColor=o);break;case"doughnut":case"pie":case"polarArea":(void 0===e.backgroundColor||m)&&(e[y].backgroundColor=e.backgroundColor,e.backgroundColor=e.data.map(function(e,t){return r=t%a,f[p?a-r-1:r]}));break;default:(void 0===e.backgroundColor||m)&&(e[y].backgroundColor=e.backgroundColor,e.backgroundColor=o)}}))},afterUpdate:function(e){e.config.data.datasets.forEach(function(e){e[y]&&(e[y].hasOwnProperty("backgroundColor")&&(e.backgroundColor=e[y].backgroundColor),e[y].hasOwnProperty("borderColor")&&(e.borderColor=e[y].borderColor),e[y].hasOwnProperty("pointBackgroundColor")&&(e.pointBackgroundColor=e[y].pointBackgroundColor),e[y].hasOwnProperty("pointBorderColor")&&(e.pointBorderColor=e[y].pointBorderColor),delete e[y])})},beforeEvent:function(e,t,n){i&&this.beforeUpdate(e,n)},afterEvent:function(e){i&&this.afterUpdate(e)}};return b.plugins.register(t),b.colorschemes=e,t}),function(e,t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):e.jQuery?t(e.jQuery):t(e.Zepto)}(this,function(c,l){c.fn.jPlayer=function(n){var i="jPlayer",e="string"==typeof n,a=Array.prototype.slice.call(arguments,1),r=this;return n=!e&&a.length?c.extend.apply(null,[!0,n].concat(a)):n,e&&"_"===n.charAt(0)||(e?this.each(function(){var e=c(this).data(i),t=e&&c.isFunction(e[n])?e[n].apply(e,a):e;if(t!==e&&t!==l)return r=t,!1}):this.each(function(){var e=c(this).data(i);e?e.option(n||{}):c(this).data(i,new c.jPlayer(n,this))})),r},c.jPlayer=function(e,t){if(arguments.length){this.element=c(t),this.options=c.extend(!0,{},this.options,e);var n=this;this.element.bind("remove.jPlayer",function(){n.destroy()}),this._init()}},"function"!=typeof c.fn.stop&&(c.fn.stop=function(){}),c.jPlayer.emulateMethods="load play pause",c.jPlayer.emulateStatus="src readyState networkState currentTime duration paused ended playbackRate",c.jPlayer.emulateOptions="muted volume",c.jPlayer.reservedEvent="ready flashreset resize repeat error warning",c.jPlayer.event={},c.each(["ready","setmedia","flashreset","resize","repeat","click","error","warning","loadstart","progress","suspend","abort","emptied","stalled","play","pause","loadedmetadata","loadeddata","waiting","playing","canplay","canplaythrough","seeking","seeked","timeupdate","ended","ratechange","durationchange","volumechange"],function(){c.jPlayer.event[this]="jPlayer_"+this}),c.jPlayer.htmlEvent=["loadstart","abort","emptied","stalled","loadedmetadata","canplay","canplaythrough"],c.jPlayer.pause=function(){c.jPlayer.prototype.destroyRemoved(),c.each(c.jPlayer.prototype.instances,function(e,t){t.data("jPlayer").status.srcSet&&t.jPlayer("pause")})},c.jPlayer.timeFormat={showHour:!1,showMin:!0,showSec:!0,padHour:!1,padMin:!0,padSec:!0,sepHour:":",sepMin:":",sepSec:""};var e=function(){this.init()};e.prototype={init:function(){this.options={timeFormat:c.jPlayer.timeFormat}},time:function(e){e=e&&"number"==typeof e?e:0;var t=new Date(1e3*e),n=t.getUTCHours(),i=this.options.timeFormat.showHour?t.getUTCMinutes():t.getUTCMinutes()+60*n,a=this.options.timeFormat.showMin?t.getUTCSeconds():t.getUTCSeconds()+60*i,r=this.options.timeFormat.padHour&&n<10?"0"+n:n,o=this.options.timeFormat.padMin&&i<10?"0"+i:i,s=this.options.timeFormat.padSec&&a<10?"0"+a:a,l="";return l+=this.options.timeFormat.showHour?r+this.options.timeFormat.sepHour:"",l+=this.options.timeFormat.showMin?o+this.options.timeFormat.sepMin:"",l+=this.options.timeFormat.showSec?s+this.options.timeFormat.sepSec:""}};var t=new e;c.jPlayer.convertTime=function(e){return t.time(e)},c.jPlayer.uaBrowser=function(e){var t=e.toLowerCase(),n=/(opera)(?:.*version)?[ \/]([\w.]+)/,i=/(msie) ([\w.]+)/,a=/(mozilla)(?:.*? rv:([\w.]+))?/,r=/(webkit)[ \/]([\w.]+)/.exec(t)||n.exec(t)||i.exec(t)||t.indexOf("compatible" 18)<0&&a.exec(t)||[];return{browser:r[1]||"",version:r[2]||"0"}},c.jPlayer.uaPlatform=function(e){var t=e.toLowerCase(),n=/(ipad|playbook)/,i=/(android)/,a=/(mobile)/,r=/(ipad|iphone|ipod|android|blackberry|playbook|windows ce|webos)/.exec(t)||[],o=n.exec(t)||!a.exec(t)&&i.exec(t)||[];return r[1]&&(r[1]=r[1].replace(/\s/g,"_")),{platform:r[1]||"",tablet:o[1]||""}},c.jPlayer.browser={},c.jPlayer.platform={};var n=c.jPlayer.uaBrowser(navigator.userAgent);n.browser&&(c.jPlayer.browser[n.browser]=!0,c.jPlayer.browser.version=n.version);var i=c.jPlayer.uaPlatform(navigator.userAgent);i.platform&&(c.jPlayer.platform[i.platform]=!0,c.jPlayer.platform.mobile=!i.tablet,c.jPlayer.platform.tablet=!!i.tablet),c.jPlayer.getDocMode=function(){var e;return c.jPlayer.browser.msie&&(document.documentMode?e=document.documentMode:(e=5,document.compatMode&&"CSS1Compat"===document.compatMode&&(e=7))),e},c.jPlayer.browser.documentMode=c.jPlayer.getDocMode(),c.jPlayer.nativeFeatures={init:function(){var e,t,n,i=document,a=i.createElement("video"),r={w3c:["fullscreenEnabled","fullscreenElement","requestFullscreen","exitFullscreen","fullscreenchange","fullscreenerror"],moz:["mozFullScreenEnabled","mozFullScreenElement","mozRequestFullScreen","mozCancelFullScreen","mozfullscreenchange","mozfullscreenerror"],webkit:["","webkitCurrentFullScreenElement","webkitRequestFullScreen","webkitCancelFullScreen","webkitfullscreenchange",""],webkitVideo:["webkitSupportsFullscreen","webkitDisplayingFullscreen","webkitEnterFullscreen","webkitExitFullscreen","",""],ms:["","msFullscreenElement","msRequestFullscreen","msExitFullscreen","MSFullscreenChange","MSFullscreenError"]}
vendor: 16,384 bytes, line 18
18,o=["w3c","moz","webkit","webkitVideo","ms"];for(this.fullscreen=e={support:{w3c:!!i[r.w3c[0]],moz:!!i[r.moz[0]],webkit:"function"==typeof i[r.webkit[3]],webkitVideo:"function"==typeof a[r.webkitVideo[2]],ms:"function"==typeof a[r.ms[2]]},used:{}},t=0,n=o.length;t<n;t++){var s=o[t];if(e.support[s]){e.spec=s,e.used[s]=!0;break}}if(e.spec){var l=r[e.spec];e.api={fullscreenEnabled:!0,fullscreenElement:function(e){return(e=e||i)[l[1]]},requestFullscreen:function(e){return e[l[2]]()},exitFullscreen:function(e){return(e=e||i)[l[3]]()}},e.event={fullscreenchange:l[4],fullscreenerror:l[5]}}else e.api={fullscreenEnabled:!1,fullscreenElement:function(){return null},requestFullscreen:function(){},exitFullscreen:function(){}},e.event={}}},c.jPlayer.nativeFeatures.init(),c.jPlayer.focus=null,c.jPlayer.keyIgnoreElementNames="A INPUT TEXTAREA SELECT BUTTON";var a=function(n){var i,a=c.jPlayer.focus;a&&(c.each(c.jPlayer.keyIgnoreElementNames.split(/\s+/g),function(e,t){if(n.target.nodeName.toUpperCase()===t.toUpperCase())return!(i=!0)}),i||c.each(a.options.keyBindings,function(e,t){if(t&&c.isFunction(t.fn)&&("number"==typeof t.key&&n.which===t.key||"string"==typeof t.key&&n.key===t.key))return n.preventDefault(),t.fn(a),!1}))};c.jPlayer.keys=function(e){var t="keydown.jPlayer";c(document.documentElement).unbind(t),e&&c(document.documentElement).bind(t,a)},c.jPlayer.keys(!0),c.jPlayer.prototype={count:0,version:{script:"2.9.2",needFlash:"2.9.0",flash:"unknown"},options:{swfPath:"js",solution:"html, flash",supplied:"mp3",auroraFormats:"wav",preload:"metadata",volume:.8,muted:!1,remainingDuration:!1,toggleDuration:!1,captureDuration:!0,playbackRate:1,defaultPlaybackRate:1,minPlaybackRate:.5,maxPlaybackRate:4,wmode:"opaque",backgroundColor:"#000000",cssSelectorAncestor:"#jp_container_1",cssSelector:{videoPlay:".jp-video-play",play:".jp-play",pause:".jp-pause",stop:".jp-stop",seekBar:".jp-seek-bar",playBar:".jp-play-bar",mute:".jp-mute",unmute:".jp-unmute",volumeBar:".jp-volume-bar",volumeBarValue:".jp-volume-bar-value",volumeMax:".jp-volume-max",playbackRateBar:".jp-playback-rate-bar",playbackRateBarValue:".jp-playback-rate-bar-value",currentTime:".jp-current-time",duration:".jp-duration",title:".jp-title",fullScreen:".jp-full-screen",restoreScreen:".jp-restore-screen",repeat:".jp-repeat",repeatOff:".jp-repeat-off",gui:".jp-gui",noSolution:".jp-no-solution"},stateClass:{playing:"jp-state-playing",seeking:"jp-state-seeking",muted:"jp-state-muted",looped:"jp-state-looped",fullScreen:"jp-state-full-screen",noVolume:"jp-state-no-volume"},useStateClassSkin:!1,autoBlur:!0,smoothPlayBar:!1,fullScreen:!1,fullWindow:!1,autohide:{restored:!1,full:!0,fadeIn:200,fadeOut:600,hold:1e3},loop:!1,repeat:function(e){e.jPlayer.options.loop?c(this).unbind(".jPlayerRepeat").bind(c.jPlayer.event.ended+".jPlayer.jPlayerRepeat",function(){c(this).jPlayer("play")}):c(this).unbind(".jPlayerRepeat")},nativeVideoControls:{},noFullWindow:{msie:/msie [0-6]\./,ipad:/ipad.*?os [0-4]\./,iphone:/iphone/,ipod:/ipod/,android_pad:/android [0-3]\.(?!.*?mobile)/,android_phone:/(?=.*android)(?!.*chrome)(?=.*mobile)/,blackberry:/blackberry/,windows_ce:/windows ce/,iemobile:/iemobile/,webos:/webos/},noVolume:{ipad:/ipad/,iphone:/iphone/,ipod:/ipod/,android_pad:/android(?!.*?mobile)/,android_phone:/android.*?mobile/,blackberry:/blackberry/,windows_ce:/windows ce/,iemobile:/iemobile/,webos:/webos/,playbook:/playbook/},timeFormat:{},keyEnabled:!1,audioFullScreen:!1,keyBindings:{play:{key:80,fn:function(e){e.status.paused?e.play():e.pause()}},fullScreen:{key:70,fn:function(e){(e.status.video||e.options.audioFullScreen)&&e._setOption("fullScreen",!e.options.fullScreen)}},muted:{key:77,fn:function(e){e._muted(!e.options.muted)}},volumeUp:{key:190,fn:function(e){e.volume(e.options.volume+.1)}},volumeDown:{key:188,fn:function(e){e.volume(e.options.volume-.1)}},loop:{key:76,fn:function(e){e._loop(!e.options.loop)}}},verticalVolume:!1,verticalPlaybackRate:!1,globalVolume:!1,idPrefix:"jp",noConflict:"jQuery",emulateHtml:!1,consoleAlerts:!0,errorAlerts:!1,warningAlerts:!1},optionsAudio:{size:{width:"0px",height:"0px",cssClass:""},sizeFull:{width:"0px",height:"0px",cssClass:""}},optionsVideo:{size:{width:"480px",height:"270px",cssClass:"jp-video-270p"},sizeFull:{width:"100%",height:"100%",cssClass:"jp-video-full"}},instances:{},status:{src:"",media:{},paused:!0,format:{},formatType:"",waitForPlay:!0,waitForLoad:!0,srcSet:!1,video:!1,seekPercent:0,currentPercentRelative:0,currentPercentAbsolute:0,currentTime:0,duration:0,remaining:0,videoWidth:0,videoHeight:0,readyState:0,networkState:0,playbackRate:1,ended:0},internal:{ready:!1},solution:{html:!0,aurora:!0,flash:!0},format:{mp3:{codec:"audio/mpeg",flashCanPlay:!0,media:"audio"},m4a:{codec:'audio/mp4; codecs="mp4a.40.2"',flashCanPlay:!0,media:"audio"},m3u8a:{codec:'application/vnd.apple.mpegurl; codecs="mp4a.40.2"',flashCanPlay:!1,media:"audio"},m3ua:{codec:"audio/mpegurl",flashCanPlay:!1,media:"audio"},oga:{codec:'audio/ogg; codecs="vorbis, opus"',flashCanPlay:!1,media:"audio"},flac:{codec:"audio/x-flac",flashCanPlay:!1,media:"audio"},wav:{codec:'audio/wav; codecs="1"',flashCanPlay:!1,media:"audio"},webma:{codec:'audio/webm; codecs="vorbis"',flashCanPlay:!1,media:"audio"},fla:{codec:"audio/x-flv",flashCanPlay:!0,media:"audio"},rtmpa:{codec:'audio/rtmp; codecs="rtmp"',flashCanPlay:!0,media:"audio"},m4v:{codec:'video/mp4; codecs="avc1.42E01E, mp4a.40.2"',flashCanPlay:!0,media:"video"},m3u8v:{codec:'application/vnd.apple.mpegurl; codecs="avc1.42E01E, mp4a.40.2"',flashCanPlay:!1,media:"video"},m3uv:{codec:"audio/mpegurl",flashCanPlay:!1,media:"video"},ogv:{codec:'video/ogg; codecs="theora, vorbis"',flashCanPlay:!1,media:"video"},webmv:{codec:'video/webm; codecs="vorbis, vp8"',flashCanPlay:!1,media:"video"},flv:{codec:"video/x-flv",flashCanPlay:!0,media:"video"},rtmpv:{codec:'video/rtmp; codecs="rtmp"',flashCanPlay:!0,media:"video"}},_init:function(){var a=this;if(this.element.empty(),this.status=c.extend({},this.status),this.internal=c.extend({},this.internal),this.options.timeFormat=c.extend({},c.jPlayer.timeFormat,this.options.timeFormat),this.internal.cmdsIgnored=c.jPlayer.platform.ipad||c.jPlayer.platform.iphone||c.jPlayer.platform.ipod,this.internal.domNode=this.element.get(0),this.options.keyEnabled&&!c.jPlayer.focus&&(c.jPlayer.focus=this),this.androidFix={setMedia:!1,play:!1,pause:!1,time:NaN},c.jPlayer.platform.android&&(this.options.preload="auto"!==this.options.preload?"metadata":"auto"),this.formats=[],this.solutions=[],this.require={},this.htmlElement={},this.html={},this.html.audio={},this.html.video={},this.aurora={},this.aurora.formats=[],this.aurora.properties=[],this.flash={},this.css={},this.css.cs={},this.css.jq={},this.ancestorJq=[],this.options.volume=this._limitValue(this.options.volume,0,1),c.each(this.options.supplied.toLowerCase().split(","),function(e,t){var n=t.replace(/^\s+|\s+$/g,"");if(a.format[n]){var i=!1;c.each(a.formats,function(e,t){if(n===t)return!(i=!0)}),i||a.formats.push(n)}}),c.each(this.options.solution.toLowerCase().split(","),function(e,t){var n=t.replace(/^\s+|\s+$/g,"");if(a.solution[n]){var i=!1;c.each(a.solutions,function(e,t){if(n===t)return!(i=!0)}),i||a.solutions.push(n)}}),c.each(this.options.auroraFormats.toLowerCase().split(","),function(e,t){var n=t.replace(/^\s+|\s+$/g,"");if(a.format[n]){var i=!1;c.each(a.aurora.formats,function(e,t){if(n===t)return!(i=!0)}),i||a.aurora.formats.push(n)}}),this.internal.instance="jp_"+this.count,this.instances[this.internal.instance]=this.element,this.element.attr("id")||this.element.attr("id",this.options.idPrefix+"_jplayer_"+this.count),this.internal.self=c.extend({},{id:this.element.attr("id"),jq:this.element}),this.internal.audio=c.extend({},{id:this.options.idPrefix+"_audio_"+this.count,jq:l}),this.internal.video=c.extend({},{id:this.options.idPrefix+"_video_"+this.count,jq:l}),this.internal.flash=c.extend({},{id:this.options.idPrefix+"_flash_"+this.count,jq:l,swf:this.options.swfPath+(".swf"!==this.options.swfPath.toLowerCase().slice(-4)?(this.options.swfPath&&"/"!==this.options.swfPath.slice(-1)?"/":"")+"jquery.jplayer.swf":"")}),this.internal.poster=c.extend({},{id:this.options.idPrefix+"_poster_"+this.count,jq:l}),c.each(c.jPlayer.event,function(e,t){a.options[e]!==l&&(a.element.bind(t+".jPlayer",a.options[e]),a.options[e]=l)}),this.require.audio=!1,this.require.video=!1,c.each(this.formats,function(e,t){a.require[a.format[t].media]=!0}),this.require.video?this.options=c.extend(!0,{},this.optionsVideo,this.options):this.options=c.extend(!0,{},this.optionsAudio,this.options),this._setSize(),this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls),this.status.noFullWindow=this._uaBlocklist(this.options.noFullWindow),this.status.noVolume=this._uaBlocklist(this.options.noVolume),c.jPlayer.nativeFeatures.fullscreen.api.fullscreenEnabled&&this._fullscreenAddEventListeners(),this._restrictNativeVideoControls(),this.htmlElement.poster=document.createElement("img"),this.htmlElement.poster.id=this.internal.poster.id,this.htmlElement.poster.onload=function(){a.status.video&&!a.status.waitForPlay||a.internal.poster.jq.show()},this.element.append(this.htmlElement.poster),this.internal.poster.jq=c("#"+this.internal.poster.id),this.internal.poster.jq.css({width:this.status.width,height:this.status.height}),this.internal.poster.jq.hide(),this.internal.poster.jq.bind("click.jPlayer",function(){a._trigger(c.jPlayer.event.click)}),this.html.audio.available=!1,this.require.audio&&(this.htmlElement.audio=document.createElement("audio"),this.htmlElement.audio.id=this.internal.audio.id,this.html.audio.available=!!this.htmlElement.audio.canPlayType&&this._testCanPlayType(this.htmlElement.audio)),this.html.video.available=!1,this.require.video&&(this.htmlElement.video=document.createElement("video"),this.htmlElement.video.id=this.internal.video.id,this.html.video.available=!!this.htmlElement.video.canPlayType&&this._testCanPlayType(this.htmlElement.video)),this.flash.available=this._checkForFlash(10.1),this.html.canPlay={},this.aurora.canPlay={},this.flash.canPlay={},c.each(this.formats,function(e,t){a.html.canPlay[t]=a.html[a.format[t].media].available&&""!==a.htmlElement[a.format[t].media].canPlayType(a.format[t].codec),a.aurora.canPlay[t]=-1<c.inArray(t,a.aurora.formats),a.flash.canPlay[t]=a.format[t].flashCanPlay&&a.flash.available}),this.html.desired=!1,this.aurora.desired=!1,this.flash.desired=!1,c.each(this.solutions,function(e,t){if(0===e)a[t].desired=!0;else{var n=!1,i=!1;c.each(a.formats,function(e,t){a[a.solutions[0]].canPlay[t]&&("video"===a.format[t].media?i=!0:n=!0)}),a[t].desired=a.require.audio&&!n||a.require.video&&!i}}),this.html.support={},this.aurora.support={},this.flash.support={},c.each(this.formats,function(e,t){a.html.support[t]=a.html.canPlay[t]&&a.html.desired,a.aurora.support[t]=a.aurora.canPlay[t]&&a.aurora.desired,a.flash.support[t]=a.flash.canPlay[t]&&a.flash.desired}),this.html.used=!1,this.aurora.used=!1,this.flash.used=!1,c.each(this.solutions,function(e,n){c.each(a.formats,function(e,t){if(a[n].support[t])return!(a[n].used=!0)})}),this._resetActive(),this._resetGate(),this._cssSelectorAncestor(this.options.cssSelectorAncestor),this.html.used||this.aurora.used||this.flash.used?this.css.jq.noSolution.length&&this.css.jq.noSolution.hide():(this._error({type:c.jPlayer.error.NO_SOLUTION,context:"{solution:'"+this.options.solution+"', supplied:'"+this.options.supplied+"'}",message:c.jPlayer.errorMsg.NO_SOLUTION,hint:c.jPlayer.errorHint.NO_SOLUTION}),this.css.jq.noSolution.length&&this.css.jq.noSolution.show()),this.flash.used){var e,t="jQuery="+encodeURI(this.options.noConflict)+"&id="+encodeURI(this.internal.self.id)+"&vol="+this.options.volume+"&muted="+this.options.muted;if(c.jPlayer.browser.msie&&(Number(c.jPlayer.browser.version)<9||c.jPlayer.browser.documentMode<9)){var n='<object id="'+this.internal.flash.id+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="0" height="0" tabindex="-1"></object>',i=['<param name="movie" value="'+this.internal.flash.swf+'" />','<param name="FlashVars" value="'+t+'" />','<param name="allowScriptAccess" value="always" />','<param name="bgcolor" value="'+this.options.backgroundColor+'" />','<param name="wmode" value="'+this.options.wmode+'" />'];e=document.createElement(n);for(var r=0;r<i.length;r++)e.appendChild(document.createElement(i[r]))}else{var o=function(e,t,n){var i=document.createElement("param");i.setAttribute("name",t),i.setAttribute("value",n),e.appendChild(i)};(e=document.createElement("object")).setAttribute("id",this.internal.flash.id),e.setAttribute("name",this.internal.flash.id),e.setAttribute("data",this.internal.flash.swf),e.setAttribute("type","application/x-shockwave-flash"),e.setAttribute("width","1"),e.setAttribute("height","1"),e.setAttribute("tabindex","-1"),o(e,"flashvars",t),o(e,"allowscriptaccess","always"),o(e,"bgcolor",this.options.backgroundColor),o(e,"wmode",this.options.wmode)}this.element.append(e),this.internal.flash.jq=c(e)}this.html.used&&!this.flash.used?this.status.playbackRateEnabled=this._testPlaybackRate("audio"):this.status.playbackRateEnabled=!1,this._updatePlaybackRate(),this.html.used&&(this.html.audio.available&&(this._addHtmlEventListeners(this.htmlElement.audio,this.html.audio),this.element.append(this.htmlElement.audio),this.internal.audio.jq=c("#"+this.internal.audio.id)),this.html.video.available&&(this._addHtmlEventListeners(this.htmlElement.video,this.html.video),this.element.append(this.htmlElement.video),this.internal.video.jq=c("#"+this.internal.video.id),this.status.nativeVideoControls?this.internal.video.jq.css({width:this.status.width,height:this.status.height}):this.internal.video.jq.css({width:"0px",height:"0px"}),this.internal.video.jq.bind("click.jPlayer",function(){a._trigger(c.jPlayer.event.click)}))),this.aurora.used,this.options.emulateHtml&&this._emulateHtmlBridge(),!this.html.used&&!this.aurora.used||this.flash.used||setTimeout(function(){a.internal.ready=!0,a.version.flash="n/a",a._trigger(c.jPlayer.event.repeat),a._trigger(c.jPlayer.event.ready)},100),this._updateNativeVideoControls(),this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),c.jPlayer.prototype.count++},destroy:function(){this.clearMedia(),this._removeUiClass(),this.css.jq.currentTime.length&&this.css.jq.currentTime.text(""),this.css.jq.duration.length&&this.css.jq.duration.text(""),c.each(this.css.jq,function(e,t){t.length&&t.unbind(".jPlayer")}),this.internal.poster.jq.unbind(".jPlayer"),this.internal.video.jq&&this.internal.video.jq.unbind(".jPlayer"),this._fullscreenRemoveEventListeners(),this===c.jPlayer.focus&&(c.jPlayer.focus=null),this.options.emulateHtml&&this._destroyHtmlBridge(),this.element.removeData("jPlayer"),this.element.unbind(".jPlayer"),this.element.empty(),delete this.instances[this.internal.instance]},destroyRemoved:function(){var n=this;c.each(this.instances,function(e,t){n.element!==t&&(t.data("jPlayer")||(t.jPlayer("destroy"),delete n.instances[e]))})},enable:function(){},disable:function(){},_testCanPlayType:function(e){try{return e.canPlayType(this.format.mp3.codec),!0}catch(t){return!1}},_testPlaybackRate:function(e){var t,n=.5;e="string"==typeof e?e:"audio",t=document.createElement(e);try{return"playbackRate"in t&&(t.playbackRate=n,t.playbackRate===n)}catch(i){return!1}},_uaBlocklist:function(e){var n=navigator.userAgent.toLowerCase(),i=!1;return c.each(e,function(e,t){if(t&&t.test(n))return!(i=!0)}),i},_restrictNativeVideoControls:function(){this.require.audio&&this.status.nativeVideoControls&&(this.status.nativeVideoControls=!1,this.status.noFullWindow=!0)},_updateNativeVideoControls:function(){this.html.video.available&&this.html.used&&(this.htmlElement.video.controls=this.status.nativeVideoControls,this._updateAutohide(),this.status.nativeVideoControls&&this.require.video?(this.internal.poster.jq.hide(),this.internal.video.jq.css({width:this.status.width,height:this.status.height})):this.status.waitForPlay&&this.status.video&&(this.internal.poster.jq.show(),this.internal.video.jq.css({width:"0px",height:"0px"})))},_addHtmlEventListeners:function(n,i){var a=this;n.preload=this.options.preload,n.muted=this.options.muted,n.volume=this.options.volume,this.status.playbackRateEnabled&&(n.defaultPlaybackRate=this.options.defaultPlaybackRate,n.playbackRate=
18this.options.playbackRate),n.addEventListener("progress",function(){i.gate&&(a.internal.cmdsIgnored&&0<this.readyState&&(a.internal.cmdsIgnored=!1),a._getHtmlStatus(n),a._updateInterface(),a._trigger(c.jPlayer.event.progress))},!1),n.addEventListener("loadeddata",function(){i.gate&&(a.androidFix.setMedia=!1,a.androidFix.play&&(a.androidFix.play=!1,a.play(a.androidFix.time)),a.androidFix.pause&&(a.androidFix.pause=!1,a.pause(a.androidFix.time)),a._trigger(c.jPlayer.event.loadeddata))},!1),n.addEventListener("timeupdate",function(){i.gate&&(a._getHtmlStatus(n),a._updateInterface(),a._trigger(c.jPlayer.event.timeupdate))},!1),n.addEventListener("durationchange",function(){i.gate&&(a._getHtmlStatus(n),a._updateInterface(),a._trigger(c.jPlayer.event.durationchange))},!1),n.addEventListener("play",function(){i.gate&&(a._updateButtons(!0),a._html_checkWaitForPlay(),a._trigger(c.jPlayer.event.play))},!1),n.addEventListener("playing",function(){i.gate&&(a._updateButtons(!0),a._seeked(),a._trigger(c.jPlayer.event.playing))},!1),n.addEventListener("pause",function(){i.gate&&(a._updateButtons(!1),a._trigger(c.jPlayer.event.pause))},!1),n.addEventListener("waiting",function(){i.gate&&(a._seeking(),a._trigger(c.jPlayer.event.waiting))},!1),n.addEventListener("seeking",function(){i.gate&&(a._seeking(),a._trigger(c.jPlayer.event.seeking))},!1),n.addEventListener("seeked",function(){i.gate&&(a._seeked(),a._trigger(c.jPlayer.event.seeked))},!1),n.addEventListener("volumechange",function(){i.gate&&(a.options.volume=n.volume,a.options.muted=n.muted,a._updateMute(),a._updateVolume(),a._trigger(c.jPlayer.event.volumechange))},!1),n.addEventListener("ratechange",function(){i.gate&&(a.options.defaultPlaybackRate=n.defaultPlaybackRate,a.options.playbackRate=n.playbackRate,a._updatePlaybackRate(),a._trigger(c.jPlayer.event.ratechange))},!1),n.addEventListener("suspend",function(){i.gate&&(a._seeked(),a._trigger(c.jPlayer.event.suspend))},!1),n.addEventListener("ended",function(){i.gate&&(c.jPlayer.browser.webkit||(a.htmlElement.media.currentTime=0),a.htmlElement.media.pause(),a._updateButtons(!1),a._getHtmlStatus(n,!0),a._updateInterface(),a._trigger(c.jPlayer.event.ended))},!1),n.addEventListener("error",function(){i.gate&&(a._updateButtons(!1),a._seeked(),a.status.srcSet&&(clearTimeout(a.internal.htmlDlyCmdId),a.status.waitForLoad=!0,a.status.waitForPlay=!0,a.status.video&&!a.status.nativeVideoControls&&a.internal.video.jq.css({width:"0px",height:"0px"}),a._validString(a.status.media.poster)&&!a.status.nativeVideoControls&&a.internal.poster.jq.show(),a.css.jq.videoPlay.length&&a.css.jq.videoPlay.show(),a._error({type:c.jPlayer.error.URL,context:a.status.src,message:c.jPlayer.errorMsg.URL,hint:c.jPlayer.errorHint.URL})))},!1),c.each(c.jPlayer.htmlEvent,function(e,t){n.addEventListener(this,function(){i.gate&&a._trigger(c.jPlayer.event[t])},!1)})},_addAuroraEventListeners:function(e,t){var n=this;e.volume=100*this.options.volume,e.on("progress",function(){t.gate&&(n.internal.cmdsIgnored&&0<this.readyState&&(n.internal.cmdsIgnored=!1),n._getAuroraStatus(e),n._updateInterface(),n._trigger(c.jPlayer.event.progress),0<e.duration&&n._trigger(c.jPlayer.event.timeupdate))},!1),e.on("ready",function(){t.gate&&n._trigger(c.jPlayer.event.loadeddata)},!1),e.on("duration",function(){t.gate&&(n._getAuroraStatus(e),n._updateInterface(),n._trigger(c.jPlayer.event.durationchange))},!1),e.on("end",function(){t.gate&&(n._updateButtons(!1),n._getAuroraStatus(e,!0),n._updateInterface(),n._trigger(c.jPlayer.event.ended))},!1),e.on("error",function(){t.gate&&(n._updateButtons(!1),n._seeked(),n.status.srcSet&&(n.status.waitForLoad=!0,n.status.waitForPlay=!0,n.status.video&&!n.status.nativeVideoControls&&n.internal.video.jq.css({width:"0px",height:"0px"}),n._validString(n.status.media.poster)&&!n.status.nativeVideoControls&&n.internal.poster.jq.show(),n.css.jq.videoPlay.length&&n.css.jq.videoPlay.show(),n._error({type:c.jPlayer.error.URL,context:n.status.src,message:c.jPlayer.errorMsg.URL,hint:c.jPlayer.errorHint.URL})))},!1)},_getHtmlStatus:function(e,t){var n=0,i=0,a=0,r=0;isFinite(e.duration)&&(this.status.duration=e.duration),n=e.currentTime,i=0<this.status.duration?100*n/this.status.duration:0,"object"==typeof e.seekable&&0<e.seekable.length?(a=0<this.status.duration?100*e.seekable.end(e.seekable.length-1)/this.status.duration:100,r=0<this.status.duration?100*e.currentTime/e.seekable.end(e.seekable.length-1):0):(a=100,r=i),t&&(i=r=n=0),this.status.seekPercent=a,this.status.currentPercentRelative=r,this.status.currentPercentAbsolute=i,this.status.currentTime=n,this.status.remaining=this.status.duration-this.status.currentTime,this.status.videoWidth=e.videoWidth,this.status.videoHeight=e.videoHeight,this.status.readyState=e.readyState,this.status.networkState=e.networkState,this.status.playbackRate=e.playbackRate,this.status.ended=e.ended},_getAuroraStatus:function(e,t){var n=0,i=0,a=0,r=0;this.status.duration=e.duration/1e3,n=e.currentTime/1e3,i=0<this.status.duration?100*n/this.status.duration:0,0<e.buffered?(a=0<this.status.duration?e.buffered*this.status.duration/this.status.duration:100,r=0<this.status.duration?n/(e.buffered*this.status.duration):0):(a=100,r=i),t&&(i=r=n=0),this.status.seekPercent=a,this.status.currentPercentRelative=r,this.status.currentPercentAbsolute=i,this.status.currentTime=n,this.status.remaining=this.status.duration-this.status.currentTime,this.status.readyState=4,this.status.networkState=0,this.status.playbackRate=1,this.status.ended=!1},_resetStatus:function(){this.status=c.extend({},this.status,c.jPlayer.prototype.status)},_trigger:function(e,t,n){var i=c.Event(e);i.jPlayer={},i.jPlayer.version=c.extend({},this.version),i.jPlayer.options=c.extend(!0,{},this.options),i.jPlayer.status=c.extend(!0,{},this.status),i.jPlayer.html=c.extend(!0,{},this.html),i.jPlayer.aurora=c.extend(!0,{},this.aurora),i.jPlayer.flash=c.extend(!0,{},this.flash),t&&(i.jPlayer.error=c.extend({},t)),n&&(i.jPlayer.warning=c.extend({},n)),this.element.trigger(i)},jPlayerFlashEvent:function(e,t){if(e===c.jPlayer.event.ready)if(this.internal.ready){if(this.flash.gate){if(this.status.srcSet){var n=this.status.currentTime,i=this.status.paused;this.setMedia(this.status.media),this.volumeWorker(this.options.volume),0<n&&(i?this.pause(n):this.play(n))}this._trigger(c.jPlayer.event.flashreset)}}else this.internal.ready=!0,this.internal.flash.jq.css({width:"0px",height:"0px"}),this.version.flash=t.version,this.version.needFlash!==this.version.flash&&this._error({type:c.jPlayer.error.VERSION,context:this.version.flash,message:c.jPlayer.errorMsg.VERSION+this.version.flash,hint:c.jPlayer.errorHint.VERSION}),this._trigger(c.jPlayer.event.repeat),this._trigger(e);if(this.flash.gate)switch(e){case c.jPlayer.event.progress:case c.jPlayer.event.timeupdate:this._getFlashStatus(t),this._updateInterface(),this._trigger(e);break;case c.jPlayer.event.play:this._seeked(),this._updateButtons(!0),this._trigger(e);break;case c.jPlayer.event.pause:case c.jPlayer.event.ended:this._updateButtons(!1),this._trigger(e);break;case c.jPlayer.event.click:this._trigger(e);break;case c.jPlayer.event.error:this.status.waitForLoad=!0,this.status.waitForPlay=!0,this.status.video&&this.internal.flash.jq.css({width:"0px",height:"0px"}
18),this._validString(this.status.media.poster)&&this.internal.poster.jq.show(),this.css.jq.videoPlay.length&&this.status.video&&this.css.jq.videoPlay.show(),this.status.video?this._flash_setVideo(this.status.media):this._flash_setAudio(this.status.media),this._updateButtons(!1),this._error({type:c.jPlayer.error.URL,context:t.src,message:c.jPlayer.errorMsg.URL,hint:c.jPlayer.errorHint.URL});break;case c.jPlayer.event.seeking:this._seeking(),this._trigger(e);break;case c.jPlayer.event.seeked:this._seeked(),this._trigger(e);break;case c.jPlayer.event.ready:break;default:this._trigger(e)}return!1},_getFlashStatus:function(e){this.status.seekPercent=e.seekPercent,this.status.currentPercentRelative=e.currentPercentRelative,this.status.currentPercentAbsolute=e.currentPercentAbsolute,this.status.currentTime=e.currentTime,this.status.duration=e.duration,this.status.remaining=e.duration-e.currentTime,this.status.videoWidth=e.videoWidth,this.status.videoHeight=e.videoHeight,this.status.readyState=4,this.status.networkState=0,this.status.playbackRate=1,this.status.ended=!1},_updateButtons:function(e){e===l?e=!this.status.paused:this.status.paused=!e,e?this.addStateClass("playing"):this.removeStateClass("playing"),!this.status.noFullWindow&&this.options.fullWindow?this.addStateClass("fullScreen"):this.removeStateClass("fullScreen"),this.options.loop?this.addStateClass("looped"):this.removeStateClass("looped"),this.css.jq.play.length&&this.css.jq.pause.length&&(e?(this.css.jq.play.hide(),this.css.jq.pause.show()):(this.css.jq.play.show(),this.css.jq.pause.hide())),this.css.jq.restoreScreen.length&&this.css.jq.fullScreen.length&&(this.status.noFullWindow?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.hide()):this.options.fullWindow?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.show()):(this.css.jq.fullScreen.show(),this.css.jq.restoreScreen.hide())),this.css.jq.repeat.length&&this.css.jq.repeatOff.length&&(this.options.loop?(this.css.jq.repeat.hide(),this.css.jq.repeatOff.show()):(this.css.jq.repeat.show(),this.css.jq.repeatOff.hide()))},_updateInterface:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.width(this.status.seekPercent+"%"),this.css.jq.playBar.length&&(this.options.smoothPlayBar?this.css.jq.playBar.stop().animate({width:this.status.currentPercentAbsolute+"%"},250,"linear"):this.css.jq.playBar.width(this.status.currentPercentRelative+"%"));this.css.jq.currentTime.length&&this._convertTime(this.status.currentTime)!==this.css.jq.currentTime.text()&&this.css.jq.currentTime.text(this._convertTime(this.status.currentTime));var e="",t=this.status.duration,n=this.status.remaining;this.css.jq.duration.length&&("string"==typeof this.status.media.duration?e=this.status.media.duration:("number"==typeof this.status.media.duration&&(n=(t=this.status.media.duration)-this.status.currentTime),e=this.options.remainingDuration?(0<n?"-":"")+this._convertTime(n):this._convertTime(t)),e!==this.css.jq.duration.text()&&this.css.jq.duration.text(e))},_convertTime:e.prototype.time,_seeking:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.addClass("jp-seeking-bg"),this.addStateClass("seeking")},_seeked:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.removeClass("jp-seeking-bg"),this.removeStateClass("seeking")},_resetGate:function(){this.html.audio.gate=!1,this.html.video.gate=!1,this.aurora.gate=!1,this.flash.gate=!1},_resetActive:function(){this.html.active=!1,this.aurora.active=!1,this.flash.active=!1},_escapeHtml:function(e){return e.split("&").join("&").split("<").join("<").split(">").join(">").split('"').join(""")},_qualifyURL:function(e){var t=document.createElement("div");return t.innerHTML='<a href="'+this._escapeHtml(e)+'">x</a>',t.firstChild.href},_absoluteMediaUrls:function(n){var i=this;return c.each(n,function(e,t){t&&i.format[e]&&"data:"!==t.substr(0,5)&&(n[e]=i._qualifyURL(t))}),n},addStateClass:function(e){this.ancestorJq.length&&this.ancestorJq.addClass(this.options.stateClass[e])},removeStateClass:function(e){this.ancestorJq.length&&this.ancestorJq.removeClass(this.options.stateClass[e])},setMedia:function(o){var s=this,l=!1,e=this.status.media.poster!==o.poster;this._resetMedia(),this._resetGate(),this._resetActive(),this.androidFix.setMedia=!1,this.androidFix.play=!1,this.androidFix.pause=!1,o=this._absoluteMediaUrls(o),c.each(this.formats,function(e,a){var r="video"===s.format[a].media;if(c.each(s.solutions,function(e,t){if(s[t].support[a]&&s._validString(o[a])){var n="html"===t,i="aurora"===t;return r?(n?(s.html.video.gate=!0,s._html_setVideo(o),s.html.active=!0):(s.flash.gate=!0,s._flash_setVideo(o),s.flash.active=!0),s.css.jq.videoPlay.length&&s.css.jq.videoPlay.show(),s.status.video=!0):(n?(s.html.audio.gate=!0,s._html_setAudio(o),s.html.active=!0,c.jPlayer.platform.android&&(s.androidFix.setMedia=!0)):i?(s.aurora.gate=!0,s._aurora_setAudio(o),s.aurora.active=!0):(s.flash.gate=!0,s._flash_setAudio(o),s.flash.active=!0),s.css.jq.videoPlay.length&&s.css.jq.videoPlay.hide(),s.status.video=!1),!(l=!0)}}),l)return!1}),l?(this.status.nativeVideoControls&&this.html.video.gate||this._val
vendor: 16,384 bytes, lines 18-19
18idString(o.poster)&&(e?this.htmlElement.poster.src=o.poster:this.internal.poster.jq.show()),"string"==typeof o.title&&(this.css.jq.title.length&&this.css.jq.title.html(o.title),this.htmlElement.audio&&this.htmlElement.audio.setAttribute("title",o.title),this.htmlElement.video&&this.htmlElement.video.setAttribute("title",o.title)),this.status.srcSet=!0,this.status.media=c.extend({},o),this._updateButtons(!1),this._updateInterface(),this._trigger(c.jPlayer.event.setmedia)):this._error({type:c.jPlayer.error.NO_SUPPORT,context:"{supplied:'"+this.options.supplied+"'}",message:c.jPlayer.errorMsg.NO_SUPPORT,hint:c.jPlayer.errorHint.NO_SUPPORT})},_resetMedia:function(){this._resetStatus(),this._updateButtons(!1),this._updateInterface(),this._seeked(),this.internal.poster.jq.hide(),clearTimeout(this.internal.htmlDlyCmdId),this.html.active?this._html_resetMedia():this.aurora.active?this._aurora_resetMedia():this.flash.active&&this._flash_resetMedia()},clearMedia:function(){this._resetMedia(),this.html.active?this._html_clearMedia():this.aurora.active?this._aurora_clearMedia():this.flash.active&&this._flash_clearMedia(),this._resetGate(),this._resetActive()},load:function(){this.status.srcSet?this.html.active?this._html_load():this.aurora.active?this._aurora_load():this.flash.active&&this._flash_load():this._urlNotSetError("load")},focus:function(){this.options.keyEnabled&&(c.jPlayer.focus=this)},play:function(e){"object"==typeof e&&this.options.useStateClassSkin&&!this.status.paused?this.pause(e):(e="number"==typeof e?e:NaN,this.status.srcSet?(this.focus(),this.html.active?this._html_play(e):this.aurora.active?this._aurora_play(e):this.flash.active&&this._flash_play(e)):this._urlNotSetError("play"))},videoPlay:function(){this.play()},pause:function(e){e="number"==typeof e?e:NaN,this.status.srcSet?this.html.active?this._html_pause(e):this.aurora.active?this._aurora_pause(e):this.flash.active&&this._flash_pause(e):this._urlNotSetError("pause")},tellOthers:function(e,t){var n=this,i="function"==typeof t,a=Array.prototype.slice.call(arguments);"string"==typeof e&&(i&&a.splice(1,1),c.jPlayer.prototype.destroyRemoved(),c.each(this.instances,function(){n.element!==this&&(i&&!t.call(this.data("jPlayer"),n)||this.jPlayer.apply(this,a))}))},pauseOthers:function(e){ 19this.tellOthers("pause",function(){return this.status.srcSet},e)},stop:function(){this.status.srcSet?this.html.active?this._html_pause(0):this.aurora.active?this._aurora_pause(0):this.flash.active&&this._flash_pause(0):this._urlNotSetError("stop")},playHead:function(e){e=this._limitValue(e,0,100),this.status.srcSet?this.html.active?this._html_playHead(e):this.aurora.active?this._aurora_playHead(e):this.flash.active&&this._flash_playHead(e):this._urlNotSetError("playHead")},_muted:function(e){this.mutedWorker(e),this.options.globalVolume&&this.tellOthers("mutedWorker",function(){return this.options.globalVolume},e)},mutedWorker:function(e){this.options.muted=e,this.html.used&&this._html_setProperty("muted",e),this.aurora.used&&this._aurora_mute(e),this.flash.used&&this._flash_mute(e),this.html.video.gate||this.html.audio.gate||(this._updateMute(e),this._updateVolume(this.options.volume),this._trigger(c.jPlayer.event.volumechange))},mute:function(e){"object"==typeof e&&this.options.useStateClassSkin&&this.options.muted?this._muted(!1):(e=e===l||!!e,this._muted(e))},unmute:function(e){e=e===l||!!e,this._muted(!e)},_updateMute:function(e){e===l&&(e=this.options.muted),e?this.addStateClass("muted"):this.removeStateClass("muted"),this.css.jq.mute.length&&this.css.jq.unmute.length&&(this.status.noVolume?(this.css.jq.mute.hide(),this.css.jq.unmute.hide()):e?(this.css.jq.mute.hide(),this.css.jq.unmute.show()):(this.css.jq.mute.show(),this.css.jq.unmute.hide()))},volume:function(e){this.volumeWorker(e),this.options.globalVolume&&this.tellOthers("volumeWorker",function(){return this.options.globalVolume},e)},volumeWorker:function(e){e=this._limitValue(e,0,1),this.options.volume=e,this.html.used&&this._html_setProperty("volume",e),this.aurora.used&&this._aurora_volume(e),this.flash.used&&this._flash_volume(e),this.html.video.gate||this.html.audio.gate||(this._updateVolume(e),this._trigger(c.jPlayer.event.volumechange))},volumeBar:function(e){if(this.css.jq.volumeBar.length){var t=c(e.currentTarget),n=t.offset(),i=e.pageX-n.left,a=t.width(),r=t.height()-e.pageY+n.top,o=t.height();this.options.verticalVolume?this.volume(r/o):this.volume(i/a)}this.options.muted&&this._muted(!1)},_updateVolume:function(e){e===l&&(e=this.options.volume),e=this.options.muted?0:e,this.status.noVolume?(this.addStateClass("noVolume"),this.css.jq.volumeBar.length&&this.css.jq.volumeBar.hide(),this.css.jq.volumeBarValue.length&&this.css.jq.volumeBarValue.hide(),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.hide()):(this.removeStateClass("noVolume"),this.css.jq.volumeBar.length&&this.css.jq.volumeBar.show(),this.css.jq.volumeBarValue.length&&(this.css.jq.volumeBarValue.show(),this.css.jq.volumeBarValue[this.options.verticalVolume?"height":"width"](100*e+"%")),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.show())},volumeMax:function(){this.volume(1),this.options.muted&&this._muted(!1)},_cssSelectorAncestor:function(e){var n=this;this.options.cssSelectorAncestor=e,this._removeUiClass(),this.ancestorJq=e?c(e):[],e&&1!==this.ancestorJq.length&&this._warning({type:c.jPlayer.warning.CSS_SELECTOR_COUNT,context:e,message:c.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.ancestorJq.length+" found for cssSelectorAncestor.",hint:c.jPlayer.warningHint.CSS_SELECTOR_COUNT}),this._addUiClass(),c.each(this.options.cssSelector,function(e,t){n._cssSelector(e,t)}),this._updateInterface(),this._updateButtons(),this._updateAutohide(),this._updateVolume(),this._updateMute()},_cssSelector:function(t,e){var n=this;if("string"==typeof e)if(c.jPlayer.prototype.options.cssSelector[t]){if(this.css.jq[t]&&this.css.jq[t].length&&this.css.jq[t].unbind(".jPlayer"),this.options.cssSelector[t]=e,this.css.cs[t]=this.options.cssSelectorAncestor+" "+e,this.css.jq[t]=e?c(this.css.cs[t]):[],this.css.jq[t].length&&this[t]){var i=function(e){e.preventDefault(),n[t](e),n.options.autoBlur?c(this).blur():c(this).focus()};this.css.jq[t].bind("click.jPlayer",i)}e&&1!==this.css.jq[t].length&&this._warning({type:c.jPlayer.warning.CSS_SELECTOR_COUNT,context:this.css.cs[t],message:c.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.css.jq[t].length+" found for "+t+" method.",hint:c.jPlayer.warningHint.CSS_SELECTOR_COUNT})}else this._warning({type:c.jPlayer.warning.CSS_SELECTOR_METHOD,context:t,message:c.jPlayer.warningMsg.CSS_SELECTOR_METHOD,hint:c.jPlayer.warningHint.CSS_SELECTOR_METHOD});else this._warning({type:c.jPlayer.warning.CSS_SELECTOR_STRING,context:e,message:c.jPlayer.warningMsg.CSS_SELECTOR_STRING,hint:c.jPlayer.warningHint.CSS_SELECTOR_STRING})},duration:function(e){this.options.toggleDuration&&(this.options.captureDuration&&e.stopPropagation(),this._setOption("remainingDuration",!this.options.remainingDuration))},seekBar:function(e){if(this.css.jq.seekBar.length){var t=c(e.currentTarget),n=t.offset(),i=100*(e.pageX-n.left)/t.width();this.playHead(i)}},playbackRate:function(e){this._setOption("playbackRate",e)},playbackRateBar:function(e){if(this.css.jq.playbackRateBar.length){var t,n=c(e.currentTarget),i=n.offset(),a=e.pageX-i.left,r=n.width(),o=n.height()-e.pageY+i.top,s=n.height();t=(this.options.verticalPlaybackRate?o/s:a/r)*(this.options.maxPlaybackRate-this.options.minPlaybackRate)+this.options.minPlaybackRate,this.playbackRate(t)}},_updatePlaybackRate:function(){var e=(this.options.playbackRate-this.options.minPlaybackRate)/(this.options.maxPlaybackRate-this.options.minPlaybackRate);this.status.playbackRateEnabled?(this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.show(),this.css.jq.playbackRateBarValue.length&&(this.css.jq.playbackRateBarValue.show(),this.css.jq.playbackRateBarValue[this.options.verticalPlaybackRate?"height":"width"](100*e+"%"))):(this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.hide(),this.css.jq.playbackRateBarValue.length&&this.css.jq.playbackRateBarValue.hide())},repeat:function(e){"object"==typeof e&&this.options.useStateClassSkin&&this.options.loop?this._loop(!1):this._loop(!0)},repeatOff:function(){this._loop(!1)},_loop:function(e){this.options.loop!==e&&(this.options.loop=e,this._updateButtons(),this._trigger(c.jPlayer.event.repeat))},option:function(e,t){var n=e;if(0===arguments.length)return c.extend(!0,{},this.options);if("string"==typeof e){var i=e.split(".");if(t===l){for(var a=c.extend(!0,{},this.options),r=0;r<i.length;r++){if(a[i[r]]===l)return this._warning({type:c.jPlayer.warning.OPTION_KEY,context:e,message:c.jPlayer.warningMsg.OPTION_KEY,hint:c.jPlayer.warningHint.OPTION_KEY}),l;a=a[i[r]]}return a}for(var o=n={},s=0;s<i.length;s++)s<i.length-1?(o[i[s]]={},o=o[i[s]]):o[i[s]]=t}return this._setOptions(n),this},_setOptions:function(e){var n=this;return c.each(e,function(e,t){n._setOption(e,t)}),this},_setOption:function(e,t){var n=this;switch(e){case"volume":this.volume(t);break;case"muted":this._muted(t);break;case"globalVolume":this.options[e]=t;break;case"cssSelectorAncestor":this._cssSelectorAncestor(t);break;case"cssSelector":c.each(t,function(e,t){n._cssSelector(e,t)});break;case"playbackRate":this.options[e]=t=this._limitValue(t,this.options.minPlaybackRate,this.options.maxPlaybackRate),this.html.used&&this._html_setProperty("playbackRate",t),this._updatePlaybackRate();break;case"defaultPlaybackRate":this.options[e]=t=this._limitValue(t,this.options.minPlaybackRate,this.options.maxPlaybackRate),this.html.used&&this._html_setProperty("defaultPlaybackRate",t),this._updatePlaybackRate();break;case"minPlaybackRate":this.options[e]=t=this._limitValue(t,.1,this.options.maxPlaybackRate-.1),this._updatePlaybackRate();break;case"maxPlaybackRate":this.options[e]=t=this._limitValue(t,this.options.minPlaybackRate+.1,16),this._updatePlaybackRate();break;case"fullScreen":if(this.options[e]!==t){var i=c.jPlayer.nativeFeatures.fullscreen.used.webkitVideo;(!i||i&&!this.status.waitForPlay)&&(i||(this.options[e]=t),t?this._requestFullscreen():this._exitFullscreen(),i||this._setOption("fullWindow",t))}break;case"fullWindow":this.options[e]!==t&&(this._removeUiClass(),this.options[e]=t,this._refreshSize());break;case"size":this.options.fullWindow||this.options[e].cssClass===t.cssClass||this._removeUiClass(),this.options[e]=c.extend({},this.options[e],t),this._refreshSize();break;case"sizeFull":this.options.fullWindow&&this.options[e].cssClass!==t.cssClass&&this._removeUiClass(),this.options[e]=c.extend({},this.options[e],t),this._refreshSize();break;case"autohide":this.options[e]=c.extend({},this.options[e],t),this._updateAutohide();break;case"loop":this._loop(t);break;case"remainingDuration":this.options[e]=t,this._updateInterface();break;case"toggleDuration":this.options[e]=t;break;case"nativeVideoControls":this.options[e]=c.extend({},this.options[e],t),this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls),this._restrictNativeVideoControls(),this._updateNativeVideoControls();break;case"noFullWindow":this.options[e]=c.extend({},this.options[e],t),this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls),this.status.noFullWindow=this._uaBlocklist(this.options.noFullWindow),this._restrictNativeVideoControls(),this._updateButtons();break;case"noVolume":this.options[e]=c.extend({},this.options[e],t),this.status.noVolume=this._uaBlocklist(this.options.noVolume),this._updateVolume(),this._updateMute();break;case"emulateHtml":this.options[e]!==t&&((this.options[e]=t)?this._emulateHtmlBridge():this._destroyHtmlBridge());break;case"timeFormat":this.options[e]=c.extend({},this.options[e],t);break;case"keyEnabled":(this.options[e]=t)||this!==c.jPlayer.focus||(c.jPlayer.focus=null);break;case"keyBindings":this.options[e]=c.extend(!0,{},this.options[e],t);break;case"audioFullScreen":case"autoBlur":this.options[e]=t}return this},_refreshSize:function(){this._setSize(),this._addUiClass(),this._updateSize(),this._updateButtons(),this._updateAutohide(),this._trigger(c.jPlayer.event.resize)},_setSize:function(){this.options.fullWindow?(this.status.width=this.options.sizeFull.width,this.status.height=this.options.sizeFull.height,this.status.cssClass=this.options.sizeFull.cssClass):(this.status.width=this.options.size.width,this.status.height=this.options.size.height,this.status.cssClass=this.options.size.cssClass),this.element.css({width:this.status.width,height:this.status.height})},_addUiClass:function(){this.ancestorJq.length&&this.ancestorJq.addClass(this.status.cssClass)},_removeUiClass:function(){this.ancestorJq.length&&this.ancestorJq.removeClass(this.status.cssClass)},_updateSize:function(){this.internal.poster.jq.css({width:this.status.width,height:this.status.height}),!this.status.waitForPlay&&this.html.active&&this.status.video||this.html.video.available&&this.html.used&&this.status.nativeVideoControls?this.internal.video.jq.css({width:this.status.width,height:this.status.height}):!this.status.waitForPlay&&this.flash.active&&this.status.video&&this.internal.flash.jq.css({width:this.status.width,height:this.status.height})},_updateAutohide:function(){var a=this,e=".jPlayerAutohide",t="mousemove.jPlayer"+e,n=function(e){var t,n,i=!1;"undefined"!=typeof a.internal.mouse?(t=a.internal.mouse.x-e.pageX,n=a.internal.mouse.y-e.pageY,i=0<Math.floor(t)||0<Math.floor(n)):i=!0,a.internal.mouse={x:e.pageX,y:e.pageY},i&&a.css.jq.gui.fadeIn(a.options.autohide.fadeIn,function(){clearTimeout(a.internal.autohideId),a.internal.autohideId=setTimeout(function(){a.css.jq.gui.fadeOut(a.options.autohide.fadeOut)},a.options.autohide.hold)})};this.css.jq.gui.length&&(this.css.jq.gui.stop(!0,!0),clearTimeout(this.internal.autohideId),delete this.internal.mouse,this.element.unbind(e),this.css.jq.gui.unbind(e),this.status.nativeVideoControls?this.css.jq.gui.hide():this.options.fullWindow&&this.options.autohide.full||!this.options.fullWindow&&this.options.autohide.restored?(this.element.bind(t,n),this.css.jq.gui.bind(t,n),this.css.jq.gui.hide()):this.css.jq.gui.show())},fullScreen:function(e){"object"==typeof e&&this.options.useStateClassSkin&&this.options.fullScreen?this._setOption("fullScreen",!1):this._setOption("fullScreen",!0)},restoreScreen:function(){this._setOption("fullScreen",!1)},_fullscreenAddEventListeners:function(){var e=this,t=c.jPlayer.nativeFeatures.fullscreen;t.api.fullscreenEnabled&&t.event.fullscreenchange&&("function"!=typeof this.internal.fullscreenchangeHandler&&(this.internal.fullscreenchangeHandler=function(){e._fullscreenchange()}),document.addEventListener(t.event.fullscreenchange,this.internal.fullscreenchangeHandler,!1))},_fullscreenRemoveEventListeners:function(){var e=c.jPlayer.nativeFeatures.fullscreen;this.internal.fullscreenchangeHandler&&document.removeEventListener(e.event.fullscreenchange,this.internal.fullscreenchangeHandler,!1)},_fullscreenchange:function(){this.options.fullScreen&&!c.jPlayer.nativeFeatures.fullscreen.api.fullscreenElement()&&this._setOption("fullScreen",!1)},_requestFullscreen:function(){var e=this.ancestorJq.length?this.ancestorJq[0]:this.element[0],t=c.jPlayer.nativeFeatures.fullscreen;t.used.webkitVideo&&(e=this.htmlElement.video),t.api.fullscreenEnabled&&t.api.requestFullscreen(e)},_exitFullscreen:function(){var e,t=c.jPlayer.nativeFeatures.fullscreen;t.used.webkitVideo&&(e=this.htmlElement.video),t.api.fullscreenEnabled&&t.api.exitFullscreen(e)},_html_initMedia:function(e){var i=c(this.htmlElement.media).empty();c.each(e.track||[],function(e,t){var n=document.createElement("track");n.setAttribute("kind",t.kind?t.kind:""),n.setAttribute("src",t.src?t.src:""),n.setAttribute("srclang",t.srclang?t.srclang:""),n.setAttribute("label",t.label?t.label:""),t.def&&n.setAttribute("default",t.def),i.append(n)}),this.htmlElement.media.src=this.status.src,"none"!==this.options.preload&&this._html_load(),this._trigger(c.jPlayer.event.timeupdate)},_html_setFormat:function(n){var i=this;c.each(this.formats,function(e,t){if(i.html.support[t]&&n[t])return i.status.src=n[t],i.status.format[t]=!0,i.status.formatType=t,!1})},_html_setAudio:function(e){this._html_setFormat(e),this.htmlElement.media=this.htmlElement.audio,this._html_initMedia(e)},_html_setVideo:function(e){this._html_setFor
19mat(e),this.status.nativeVideoControls&&(this.htmlElement.video.poster=this._validString(e.poster)?e.poster:""),this.htmlElement.media=this.htmlElement.video,this._html_initMedia(e)},_html_resetMedia:function(){this.htmlElement.media&&(this.htmlElement.media.id!==this.internal.video.id||this.status.nativeVideoControls||this.internal.video.jq.css({width:"0px",height:"0px"}),this.htmlElement.media.pause())},_html_clearMedia:function(){this.htmlElement.media&&(this.htmlElement.media.src="about:blank",this.htmlElement.media.load())},_html_load:function(){this.status.waitForLoad&&(this.status.waitForLoad=!1,this.htmlElement.media.load()),clearTimeout(this.internal.htmlDlyCmdId)},_html_play:function(e){var t=this,n=this.htmlElement.media;if(this.androidFix.pause=!1,this._html_load(),this.androidFix.setMedia)this.androidFix.play=!0,this.androidFix.time=e;else if(isNaN(e))n.play();else{this.internal.cmdsIgnored&&n.play();try{if(n.seekable&&!("object"==typeof n.seekable&&0<n.seekable.length))throw 1;n.currentTime=e,n.play()}catch(i){return void(this.internal.htmlDlyCmdId=setTimeout(function(){t.play(e)},250))}}this._html_checkWaitForPlay()},_html_pause:function(e){var t=this,n=this.htmlElement.media;if(this.androidFix.play=!1,0<e?this._html_load():clearTimeout(this.internal.htmlDlyCmdId),n.pause(),this.androidFix.setMedia)this.androidFix.pause=!0,this.androidFix.time=e;else if(!isNaN(e))try{if(n.seekable&&!("object"==typeof n.seekable&&0<n.seekable.length))throw 1;n.currentTime=e}catch(i){return void(this.internal.htmlDlyCmdId=setTimeout(function(){t.pause(e)},250))}0<e&&this._html_checkWaitForPlay()},_html_playHead:function(e){var t=this,n=this.htmlElement.media;this._html_load();try{if("object"==typeof n.seekable&&0<n.seekable.length)n.currentTime=e*n.seekable.end(n.seekable.length-1)/100;else{if(!(0<n.duration)||isNaN(n.duration))throw"e";n.currentTime=e*n.duration/100}}catch(i){return void(this.internal.htmlDlyCmdId=setTimeout(function(){t.playHead(e)},250))}this.status.waitForLoad||this._html_checkWaitForPlay()},_html_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.video.jq.css({width:this.status.width,height:this.status.height})))},_html_setProperty:function(e,t){this.html.audio.available&&(this.htmlElement.audio[e]=t),this.html.video.available&&(this.htmlElement.video[e]=t)},_aurora_setAudio:function(n){var i=this;c.each(this.formats,function(e,t){if(i.aurora.support[t]&&n[t])return i.status.src=n[t],i.status.format[t]=!0,i.status.formatType=t,!1}),this.aurora.player=new AV.Player.fromURL(this.status.src),this._addAuroraEventListeners(this.aurora.player,this.aurora),"auto"===this.options.preload&&(this._aurora_load(),this.status.waitForLoad=!1)},_aurora_resetMedia:function(){this.aurora.player&&this.aurora.player.stop()},_aurora_clearMedia:function(){},_aurora_load:function(){this.status.waitForLoad&&(this.status.waitForLoad=!1,this.aurora.player.preload())},_aurora_play:function(e){this.status.waitForLoad||isNaN(e)||this.aurora.player.seek(e),this.aurora.player.playing||this.aurora.player.play(),this.status.waitForLoad=!1,this._aurora_checkWaitForPlay(),this._updateButtons(!0),this._trigger(c.jPlayer.event.play)},_aurora_pause:function(e){isNaN(e)||this.aurora.player.seek(1e3*e),this.aurora.player.pause(),0<e&&this._aurora_checkWaitForPlay(),this._updateButtons(!1),this._trigger(c.jPlayer.event.pause)},_aurora_playHead:function(e){0<this.aurora.player.duration&&this.aurora.player.seek(e*this.aurora.player.duration/100),this.status.waitForLoad||this._aurora_checkWaitForPlay()},_aurora_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1)},_aurora_volume:function(e){this.aurora.player.volume=100*e},_aurora_mute:function(e){e?(this.aurora.properties.lastvolume=this.aurora.player.volume,this.aurora.player.volume=0):this.aurora.player.volume=this.aurora.properties.lastvolume,this.aurora.properties.muted=e},_flash_setAudio:function(n){var i=this;try{c.each(this.formats,function(e,t){if(i.flash.support[t]&&n[t]){switch(t){case"m4a":case"fla":i._getMovie().fl_setAudio_m4a(n[t]);break;case"mp3":i._getMovie().fl_setAudio_mp3(n[t]);break;case"rtmpa":i._getMovie().fl_setAudio_rtmp(n[t])}return i.status.src=n[t],i.status.format[t]=!0,i.status.formatType=t,!1}}),"auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(e){this._flashError(e)}},_flash_setVideo:function(n){var i=this;try{c.each(this.formats,function(e,t){if(i.flash.support[t]&&n[t]){switch(t){case"m4v":case"flv":i._getMovie().fl_setVideo_m4v(n[t]);break;case"rtmpv":i._getMovie().fl_setVideo_rtmp(n[t])}return i.status.src=n[t],i.status.format[t]=!0,i.status.formatType=t,!1}}),"auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(e){this._flashError(e)}},_flash_resetMedia:function(){this.internal.flash.jq.css({width:"0px",height:"0px"}),this._flash_pause(NaN)},_flash_clearMedia:function(){try{this._getMovie().fl_clearMedia()}catch(e){this._flashError(e)}},_flash_load:function(){try{this._getMovie().fl_load()}catch(e){this._flashError(e)}this.status.waitForLoad=!1},_flash_play:function(e){try{this._getMovie().fl_play(e)}catch(t){this._flashError(t)}this.status.waitForLoad=!1,this._flash_checkWaitForPlay()},_flash_pause:function(e){try{this._getMovie().fl_pause(e)}catch(t){this._flashError(t)}0<e&&(this.status.waitForLoad=!1,this._flash_checkWaitForPlay())},_flash_playHead:function(e){try{this._getMovie().fl_play_head(e)}catch(t){this._flashError(t)}this.status.waitForLoad||this._flash_checkWaitForPlay()},_flash_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.flash.jq.css({width:this.status.width,height:this.status.height})))},_flash_volume:function(e){try{this._getMovie().fl_volume(e)}catch(t){this._flashError(t)}},_flash_mute:function(e){try{this._getMovie().fl_mute(e)}catch(t){this._flashError(t)}},_getMovie:function(){return document[this.internal.flash.id]},_getFlashPluginVersion:function(){var e,t=0;if(window.ActiveXObject)try{if(e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")){var n=e.GetVariable("$version");n&&(n=n.split(" ")[1].split(","),t=parseInt(n[0],10)+"."+parseInt(n[1],10))}}catch(i){}else navigator.plugins&&0<navigator.mimeTypes.length&&(e=navigator.plugins["Shockwave Flash"])&&(t=navigator.plugins["Shockwave Flash"].description.replace(/.*\s(\d+\.\d+).*/,"$1"));return 1*t},_checkForFlash:function(e){var t=!1;return this._getFlashPluginVersion()>=e&&(t=!0),t}
vendor: 2,965 bytes, line 19
19,_validString:function(e){return e&&"string"==typeof e},_limitValue:function(e,t,n){return e<t?t:n<e?n:e},_urlNotSetError:function(e){this._error({type:c.jPlayer.error.URL_NOT_SET,context:e,message:c.jPlayer.errorMsg.URL_NOT_SET,hint:c.jPlayer.errorHint.URL_NOT_SET})},_flashError:function(e){var t;t=this.internal.ready?"FLASH_DISABLED":"FLASH",this._error({type:c.jPlayer.error[t],context:this.internal.flash.swf,message:c.jPlayer.errorMsg[t]+e.message,hint:c.jPlayer.errorHint[t]}),this.internal.flash.jq.css({width:"1px",height:"1px"})},_error:function(e){this._trigger(c.jPlayer.event.error,e),this.options.errorAlerts&&this._alert("Error!"+(e.message?"\n"+e.message:"")+(e.hint?"\n"+e.hint:"")+"\nContext: "+e.context)},_warning:function(e){this._trigger(c.jPlayer.event.warning,l,e),this.options.warningAlerts&&this._alert("Warning!"+(e.message?"\n"+e.message:"")+(e.hint?"\n"+e.hint:"")+"\nContext: "+e.context)},_alert:function(e){var t="jPlayer "+this.version.script+" : id='"+this.internal.self.id+"' : "+e;this.options.consoleAlerts?window.console&&window.console.log&&window.console.log(t):alert(t)},_emulateHtmlBridge:function(){var a=this;c.each(c.jPlayer.emulateMethods.split(/\s+/g),function(e,t){a.internal.domNode[t]=function(e){a[t](e)}}),c.each(c.jPlayer.event,function(n,e){var i=!0;c.each(c.jPlayer.reservedEvent.split(/\s+/g),function(e,t){if(t===n)return i=!1}),i&&a.element.bind(e+".jPlayer.jPlayerHtml",function(){a._emulateHtmlUpdate();var e=document.createEvent("Event");e.initEvent(n,!1,!0),a.internal.domNode.dispatchEvent(e)})})},_emulateHtmlUpdate:function(){var n=this;c.each(c.jPlayer.emulateStatus.split(/\s+/g),function(e,t){n.internal.domNode[t]=n.status[t]}),c.each(c.jPlayer.emulateOptions.split(/\s+/g),function(e,t){n.internal.domNode[t]=n.options[t]})},_destroyHtmlBridge:function(){var n=this;this.element.unbind(".jPlayerHtml");var e=c.jPlayer.emulateMethods+" "+c.jPlayer.emulateStatus+" "+c.jPlayer.emulateOptions;c.each(e.split(/\s+/g),function(e,t){delete n.internal.domNode[t]})}},c.jPlayer.error={FLASH:"e_flash",FLASH_DISABLED:"e_flash_disabled",NO_SOLUTION:"e_no_solution",NO_SUPPORT:"e_no_support",URL:"e_url",URL_NOT_SET:"e_url_not_set",VERSION:"e_version"},c.jPlayer.errorMsg={FLASH:"jPlayer's Flash fallback is not configured correctly, or a command was issued before the jPlayer Ready event. Details: ",FLASH_DISABLED:"jPlayer's Flash fallback has been disabled by the browser due to the CSS rules you have used. Details: ",NO_SOLUTION:"No solution can be found by jPlayer in this browser. Neither HTML nor Flash can be used.",NO_SUPPORT:"It is not possible to play any media format provided in setMedia() on this browser using your current options.",URL:"Media URL could not be loaded.",URL_NOT_SET:"Attempt to issue media playback commands, while no media url is set.",VERSION:"jPlayer "+c.jPlayer.prototype.version.script+" needs Jplayer.swf version "+c.jPlayer.prototype.version.needFlash+" but found "}
19,c.jPlayer.errorHint={FLASH:"Check your swfPath option and that Jplayer.swf is there.",FLASH_DISABLED:"Check that you have not display:none; the jPlayer entity or any ancestor.",NO_SOLUTION:"Review the jPlayer options: support and supplied.",NO_SUPPORT:"Video or audio formats defined in the supplied option are missing.",URL:"Check media URL is valid.",URL_NOT_SET:"Use setMedia() to set the media URL.",VERSION:"Update jPlayer files."},c.jPlayer.warning={CSS_SELECTOR_COUNT:"e_css_selector_count",CSS_SELECTOR_METHOD:"e_css_selector_method",CSS_SELECTOR_STRING:"e_css_selector_string",OPTION_KEY:"e_option_key"},c.jPlayer.warningMsg={CSS_SELECTOR_COUNT:"The number of css selectors found did not equal one: ",CSS_SELECTOR_METHOD:"The methodName given in jPlayer('cssSelector') is not a valid jPlayer method.",CSS_SELECTOR_STRING:"The methodCssSelector given in jPlayer('cssSelector') is not a String or is empty.",OPTION_KEY:"The option requested in jPlayer('option') is undefined."},c.jPlayer.warningHint={CSS_SELECTOR_COUNT:"Check your css selector and the ancestor.",CSS_SELECTOR_METHOD:"Check your method name.",CSS_SELECTOR_STRING:"Check your css selector is a string.",OPTION_KEY:"Check your option name."}});
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.