Files
cachet-docker/public/build/dist/js/all-74bb70763d.js
James Brooks 826e4e6077 Use minified assets too. Closes #2258
Combine didn't improve the situation for us
2016-12-03 20:02:32 +00:00

22 lines
704 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
if(!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t=!!e&&"length"in e&&e.length,n=ae.type(e);return"function"!==n&&!ae.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function i(e,t,n){if(ae.isFunction(t))return ae.grep(e,function(e,i){return!!t.call(e,i,e)!==n});if(t.nodeType)return ae.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(me.test(t))return ae.filter(t,e,n);t=ae.filter(t,e)}return ae.grep(e,function(e){return Q.call(t,e)>-1!==n})}function r(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function a(e){var t={};return ae.each(e.match(Me)||[],function(e,n){t[n]=!0}),t}function o(){G.removeEventListener("DOMContentLoaded",o),e.removeEventListener("load",o),ae.ready()}function s(){this.expando=ae.expando+s.uid++}function l(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(Ye,"-$&").toLowerCase(),n=e.getAttribute(i),"string"==typeof n){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Te.test(n)?ae.parseJSON(n):n)}catch(r){}De.set(e,t,n)}else n=void 0;return n}function u(e,t,n,i){var r,a=1,o=20,s=i?function(){return i.cur()}:function(){return ae.css(e,t,"")},l=s(),u=n&&n[3]||(ae.cssNumber[t]?"":"px"),d=(ae.cssNumber[t]||"px"!==u&&+l)&&Ce.exec(ae.css(e,t));if(d&&d[3]!==u){u=u||d[3],n=n||[],d=+l||1;do a=a||".5",d/=a,ae.style(e,t,d+u);while(a!==(a=s()/l)&&1!==a&&--o)}return n&&(d=+d||+l||0,r=n[1]?d+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=d,i.end=r)),r}function d(e,t){var n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&ae.nodeName(e,t)?ae.merge([e],n):n}function c(e,t){for(var n=0,i=e.length;i>n;n++)Le.set(e[n],"globalEval",!t||Le.get(t[n],"globalEval"))}function h(e,t,n,i,r){for(var a,o,s,l,u,h,f=t.createDocumentFragment(),p=[],m=0,_=e.length;_>m;m++)if(a=e[m],a||0===a)if("object"===ae.type(a))ae.merge(p,a.nodeType?[a]:a);else if(Oe.test(a)){for(o=o||f.appendChild(t.createElement("div")),s=(Pe.exec(a)||["",""])[1].toLowerCase(),l=Ie[s]||Ie._default,o.innerHTML=l[1]+ae.htmlPrefilter(a)+l[2],h=l[0];h--;)o=o.lastChild;ae.merge(p,o.childNodes),o=f.firstChild,o.textContent=""}else p.push(t.createTextNode(a));for(f.textContent="",m=0;a=p[m++];)if(i&&ae.inArray(a,i)>-1)r&&r.push(a);else if(u=ae.contains(a.ownerDocument,a),o=d(f.appendChild(a),"script"),u&&c(o),n)for(h=0;a=o[h++];)Ee.test(a.type||"")&&n.push(a);return f}function f(){return!0}function p(){return!1}function m(){try{return G.activeElement}catch(e){}}function _(e,t,n,i,r,a){var o,s;if("object"==typeof t){"string"!=typeof n&&(i=i||n,n=void 0);for(s in t)_(e,s,n,i,t[s],a);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),r===!1)r=p;else if(!r)return e;return 1===a&&(o=r,r=function(e){return ae().off(e),o.apply(this,arguments)},r.guid=o.guid||(o.guid=ae.guid++)),e.each(function(){ae.event.add(this,t,r,i,n)})}function g(e,t){return ae.nodeName(e,"table")&&ae.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function y(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function v(e){var t=$e.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function b(e,t){var n,i,r,a,o,s,l,u;if(1===t.nodeType){if(Le.hasData(e)&&(a=Le.access(e),o=Le.set(t,a),u=a.events)){delete o.handle,o.events={};for(r in u)for(n=0,i=u[r].length;i>n;n++)ae.event.add(t,r,u[r][n])}De.hasData(e)&&(s=De.access(e),l=ae.extend({},s),De.set(t,l))}}function M(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Ae.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function w(e,t,n,i){t=K.apply([],t);var r,a,o,s,l,u,c=0,f=e.length,p=f-1,m=t[0],_=ae.isFunction(m);if(_||f>1&&"string"==typeof m&&!ie.checkClone&&Be.test(m))return e.each(function(r){var a=e.eq(r);_&&(t[0]=m.call(this,r,a.html())),w(a,t,n,i)});if(f&&(r=h(t,e[0].ownerDocument,!1,e,i),a=r.firstChild,1===r.childNodes.length&&(r=a),a||i)){for(o=ae.map(d(r,"script"),y),s=o.length;f>c;c++)l=r,c!==p&&(l=ae.clone(l,!0,!0),s&&ae.merge(o,d(l,"script"))),n.call(e[c],l,c);if(s)for(u=o[o.length-1].ownerDocument,ae.map(o,v),c=0;s>c;c++)l=o[c],Ee.test(l.type||"")&&!Le.access(l,"globalEval")&&ae.contains(u,l)&&(l.src?ae._evalUrl&&ae._evalUrl(l.src):ae.globalEval(l.textContent.replace(Ve,"")))}return e}function x(e,t,n){for(var i,r=t?ae.filter(t,e):e,a=0;null!=(i=r[a]);a++)n||1!==i.nodeType||ae.cleanData(d(i)),i.parentNode&&(n&&ae.contains(i.ownerDocument,i)&&c(d(i,"script")),i.parentNode.removeChild(i));return e}function k(e,t){var n=ae(t.createElement(e)).appendTo(t.body),i=ae.css(n[0],"display");return n.detach(),i}function L(e){var t=G,n=Ue[e];return n||(n=k(e,t),"none"!==n&&n||(qe=(qe||ae("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=qe[0].contentDocument,t.write(),t.close(),n=k(e,t),qe.detach()),Ue[e]=n),n}function D(e,t,n){var i,r,a,o,s=e.style;return n=n||Xe(e),o=n?n.getPropertyValue(t)||n[t]:void 0,""!==o&&void 0!==o||ae.contains(e.ownerDocument,e)||(o=ae.style(e,t)),n&&!ie.pixelMarginRight()&&Ge.test(o)&&Je.test(t)&&(i=s.width,r=s.minWidth,a=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=n.width,s.width=i,s.minWidth=r,s.maxWidth=a),void 0!==o?o+"":o}function T(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function Y(e){if(e in it)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=nt.length;n--;)if(e=nt[n]+t,e in it)return e}function S(e,t,n){var i=Ce.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function C(e,t,n,i,r){for(var a=n===(i?"border":"content")?4:"width"===t?1:0,o=0;4>a;a+=2)"margin"===n&&(o+=ae.css(e,n+He[a],!0,r)),i?("content"===n&&(o-=ae.css(e,"padding"+He[a],!0,r)),"margin"!==n&&(o-=ae.css(e,"border"+He[a]+"Width",!0,r))):(o+=ae.css(e,"padding"+He[a],!0,r),"padding"!==n&&(o+=ae.css(e,"border"+He[a]+"Width",!0,r)));return o}function H(e,t,n){var i=!0,r="width"===t?e.offsetWidth:e.offsetHeight,a=Xe(e),o="border-box"===ae.css(e,"boxSizing",!1,a);if(0>=r||null==r){if(r=D(e,t,a),(0>r||null==r)&&(r=e.style[t]),Ge.test(r))return r;i=o&&(ie.boxSizingReliable()||r===e.style[t]),r=parseFloat(r)||0}return r+C(e,t,n||(o?"border":"content"),i,a)+"px"}function j(e,t){for(var n,i,r,a=[],o=0,s=e.length;s>o;o++)i=e[o],i.style&&(a[o]=Le.get(i,"olddisplay"),n=i.style.display,t?(a[o]||"none"!==n||(i.style.display=""),""===i.style.display&&je(i)&&(a[o]=Le.access(i,"olddisplay",L(i.nodeName)))):(r=je(i),"none"===n&&r||Le.set(i,"olddisplay",r?n:ae.css(i,"display"))));for(o=0;s>o;o++)i=e[o],i.style&&(t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?a[o]||"":"none"));return e}function A(e,t,n,i,r){return new A.prototype.init(e,t,n,i,r)}function P(){return e.setTimeout(function(){rt=void 0}),rt=ae.now()}function E(e,t){var n,i=0,r={height:e};for(t=t?1:0;4>i;i+=2-t)n=He[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function I(e,t,n){for(var i,r=(F.tweeners[t]||[]).concat(F.tweeners["*"]),a=0,o=r.length;o>a;a++)if(i=r[a].call(n,t,e))return i}function O(e,t,n){var i,r,a,o,s,l,u,d,c=this,h={},f=e.style,p=e.nodeType&&je(e),m=Le.get(e,"fxshow");n.queue||(s=ae._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,c.always(function(){c.always(function(){s.unqueued--,ae.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],u=ae.css(e,"display"),d="none"===u?Le.get(e,"olddisplay")||L(e.nodeName):u,"inline"===d&&"none"===ae.css(e,"float")&&(f.display="inline-block")),n.overflow&&(f.overflow="hidden",c.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}));for(i in t)if(r=t[i],ot.exec(r)){if(delete t[i],a=a||"toggle"===r,r===(p?"hide":"show")){if("show"!==r||!m||void 0===m[i])continue;p=!0}h[i]=m&&m[i]||ae.style(e,i)}else u=void 0;if(ae.isEmptyObject(h))"inline"===("none"===u?L(e.nodeName):u)&&(f.display=u);else{m?"hidden"in m&&(p=m.hidden):m=Le.access(e,"fxshow",{}),a&&(m.hidden=!p),p?ae(e).show():c.done(function(){ae(e).hide()}),c.done(function(){var t;Le.remove(e,"fxshow");for(t in h)ae.style(e,t,h[t])});for(i in h)o=I(p?m[i]:0,i,c),i in m||(m[i]=o.start,p&&(o.end=o.start,o.start="width"===i||"height"===i?1:0))}}function W(e,t){var n,i,r,a,o;for(n in e)if(i=ae.camelCase(n),r=t[i],a=e[n],ae.isArray(a)&&(r=a[1],a=e[n]=a[0]),n!==i&&(e[i]=a,delete e[n]),o=ae.cssHooks[i],o&&"expand"in o){a=o.expand(a),delete e[i];for(n in a)n in e||(e[n]=a[n],t[n]=r)}else t[i]=r}function F(e,t,n){var i,r,a=0,o=F.prefilters.length,s=ae.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var t=rt||P(),n=Math.max(0,u.startTime+u.duration-t),i=n/u.duration||0,a=1-i,o=0,l=u.tweens.length;l>o;o++)u.tweens[o].run(a);return s.notifyWith(e,[u,a,n]),1>a&&l?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:ae.extend({},t),opts:ae.extend(!0,{specialEasing:{},easing:ae.easing._default},n),originalProperties:t,originalOptions:n,startTime:rt||P(),duration:n.duration,tweens:[],createTween:function(t,n){var i=ae.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(i),i},stop:function(t){var n=0,i=t?u.tweens.length:0;if(r)return this;for(r=!0;i>n;n++)u.tweens[n].run(1);return t?(s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u,t])):s.rejectWith(e,[u,t]),this}}),d=u.props;for(W(d,u.opts.specialEasing);o>a;a++)if(i=F.prefilters[a].call(u,e,d,u.opts))return ae.isFunction(i.stop)&&(ae._queueHooks(u.elem,u.opts.queue).stop=ae.proxy(i.stop,i)),i;return ae.map(d,I,u),ae.isFunction(u.opts.start)&&u.opts.start.call(e,u),ae.fx.timer(ae.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function R(e){return e.getAttribute&&e.getAttribute("class")||""}function N(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,a=t.toLowerCase().match(Me)||[];if(ae.isFunction(n))for(;i=a[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function z(e,t,n,i){function r(s){var l;return a[s]=!0,ae.each(e[s]||[],function(e,s){var u=s(t,n,i);return"string"!=typeof u||o||a[u]?o?!(l=u):void 0:(t.dataTypes.unshift(u),r(u),!1)}),l}var a={},o=e===Dt;return r(t.dataTypes[0])||!a["*"]&&r("*")}function B(e,t){var n,i,r=ae.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&ae.extend(!0,e,i),e}function $(e,t,n){for(var i,r,a,o,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in s)if(s[r]&&s[r].test(i)){l.unshift(r);break}if(l[0]in n)a=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){a=r;break}o||(o=r)}a=a||o}return a?(a!==l[0]&&l.unshift(a),n[a]):void 0}function V(e,t,n,i){var r,a,o,s,l,u={},d=e.dataTypes.slice();if(d[1])for(o in e.converters)u[o.toLowerCase()]=e.converters[o];for(a=d.shift();a;)if(e.responseFields[a]&&(n[e.responseFields[a]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=a,a=d.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(o=u[l+" "+a]||u["* "+a],!o)for(r in u)if(s=r.split(" "),s[1]===a&&(o=u[l+" "+s[0]]||u["* "+s[0]])){o===!0?o=u[r]:u[r]!==!0&&(a=s[0],d.unshift(s[1]));break}if(o!==!0)if(o&&e["throws"])t=o(t);else try{t=o(t)}catch(c){return{state:"parsererror",error:o?c:"No conversion from "+l+" to "+a}}}return{state:"success",data:t}}function q(e,t,n,i){var r;if(ae.isArray(t))ae.each(t,function(t,r){n||Ct.test(e)?i(e,r):q(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)});else if(n||"object"!==ae.type(t))i(e,t);else for(r in t)q(e+"["+r+"]",t[r],n,i)}function U(e){return ae.isWindow(e)?e:9===e.nodeType&&e.defaultView}var J=[],G=e.document,X=J.slice,K=J.concat,Z=J.push,Q=J.indexOf,ee={},te=ee.toString,ne=ee.hasOwnProperty,ie={},re="2.2.4",ae=function(e,t){return new ae.fn.init(e,t)},oe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,se=/^-ms-/,le=/-([\da-z])/gi,ue=function(e,t){return t.toUpperCase()};ae.fn=ae.prototype={jquery:re,constructor:ae,selector:"",length:0,toArray:function(){return X.call(this)},get:function(e){return null!=e?0>e?this[e+this.length]:this[e]:X.call(this)},pushStack:function(e){var t=ae.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return ae.each(this,e)},map:function(e){return this.pushStack(ae.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(X.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:Z,sort:J.sort,splice:J.splice},ae.extend=ae.fn.extend=function(){var e,t,n,i,r,a,o=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof o&&(u=o,o=arguments[s]||{},s++),"object"==typeof o||ae.isFunction(o)||(o={}),s===l&&(o=this,s--);l>s;s++)if(null!=(e=arguments[s]))for(t in e)n=o[t],i=e[t],o!==i&&(u&&i&&(ae.isPlainObject(i)||(r=ae.isArray(i)))?(r?(r=!1,a=n&&ae.isArray(n)?n:[]):a=n&&ae.isPlainObject(n)?n:{},o[t]=ae.extend(u,a,i)):void 0!==i&&(o[t]=i));return o},ae.extend({expando:"jQuery"+(re+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===ae.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=e&&e.toString();return!ae.isArray(e)&&t-parseFloat(t)+1>=0},isPlainObject:function(e){var t;if("object"!==ae.type(e)||e.nodeType||ae.isWindow(e))return!1;if(e.constructor&&!ne.call(e,"constructor")&&!ne.call(e.constructor.prototype||{},"isPrototypeOf"))return!1;for(t in e);return void 0===t||ne.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?ee[te.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;e=ae.trim(e),e&&(1===e.indexOf("use strict")?(t=G.createElement("script"),t.text=e,G.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(se,"ms-").replace(le,ue)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var i,r=0;if(n(e))for(i=e.length;i>r&&t.call(e[r],r,e[r])!==!1;r++);else for(r in e)if(t.call(e[r],r,e[r])===!1)break;return e},trim:function(e){return null==e?"":(e+"").replace(oe,"")},makeArray:function(e,t){var i=t||[];return null!=e&&(n(Object(e))?ae.merge(i,"string"==typeof e?[e]:e):Z.call(i,e)),i},inArray:function(e,t,n){return null==t?-1:Q.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;n>i;i++)e[r++]=t[i];return e.length=r,e},grep:function(e,t,n){for(var i,r=[],a=0,o=e.length,s=!n;o>a;a++)i=!t(e[a],a),i!==s&&r.push(e[a]);return r},map:function(e,t,i){var r,a,o=0,s=[];if(n(e))for(r=e.length;r>o;o++)a=t(e[o],o,i),null!=a&&s.push(a);else for(o in e)a=t(e[o],o,i),null!=a&&s.push(a);return K.apply([],s)},guid:1,proxy:function(e,t){var n,i,r;return"string"==typeof t&&(n=e[t],t=e,e=n),ae.isFunction(e)?(i=X.call(arguments,2),r=function(){return e.apply(t||this,i.concat(X.call(arguments)))},r.guid=e.guid=e.guid||ae.guid++,r):void 0},now:Date.now,support:ie}),"function"==typeof Symbol&&(ae.fn[Symbol.iterator]=J[Symbol.iterator]),ae.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){ee["[object "+t+"]"]=t.toLowerCase()});var de=function(e){function t(e,t,n,i){var r,a,o,s,l,u,c,f,p=t&&t.ownerDocument,m=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==m&&9!==m&&11!==m)return n;if(!i&&((t?t.ownerDocument||t:R)!==j&&H(t),t=t||j,P)){if(11!==m&&(u=ge.exec(e)))if(r=u[1]){if(9===m){if(!(o=t.getElementById(r)))return n;if(o.id===r)return n.push(o),n}else if(p&&(o=p.getElementById(r))&&W(t,o)&&o.id===r)return n.push(o),n}else{if(u[2])return Z.apply(n,t.getElementsByTagName(e)),n;if((r=u[3])&&M.getElementsByClassName&&t.getElementsByClassName)return Z.apply(n,t.getElementsByClassName(r)),n}if(M.qsa&&!V[e+" "]&&(!E||!E.test(e))){if(1!==m)p=t,f=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(ve,"\\$&"):t.setAttribute("id",s=F),c=L(e),a=c.length,l=he.test(s)?"#"+s:"[id='"+s+"']";a--;)c[a]=l+" "+h(c[a]);f=c.join(","),p=ye.test(e)&&d(t.parentNode)||t}if(f)try{return Z.apply(n,p.querySelectorAll(f)),n}catch(_){}finally{s===F&&t.removeAttribute("id")}}}return T(e.replace(se,"$1"),t,n,i)}function n(){function e(n,i){return t.push(n+" ")>w.cacheLength&&delete e[t.shift()],e[n+" "]=i}var t=[];return e}function i(e){return e[F]=!0,e}function r(e){var t=j.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function a(e,t){for(var n=e.split("|"),i=n.length;i--;)w.attrHandle[n[i]]=t}function o(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||U)-(~e.sourceIndex||U);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function l(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function u(e){return i(function(t){return t=+t,i(function(n,i){for(var r,a=e([],n.length,t),o=a.length;o--;)n[r=a[o]]&&(n[r]=!(i[r]=n[r]))})})}function d(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function c(){}function h(e){for(var t=0,n=e.length,i="";n>t;t++)i+=e[t].value;return i}function f(e,t,n){var i=t.dir,r=n&&"parentNode"===i,a=z++;return t.first?function(t,n,a){for(;t=t[i];)if(1===t.nodeType||r)return e(t,n,a)}:function(t,n,o){var s,l,u,d=[N,a];if(o){for(;t=t[i];)if((1===t.nodeType||r)&&e(t,n,o))return!0}else for(;t=t[i];)if(1===t.nodeType||r){if(u=t[F]||(t[F]={}),l=u[t.uniqueID]||(u[t.uniqueID]={}),(s=l[i])&&s[0]===N&&s[1]===a)return d[2]=s[2];if(l[i]=d,d[2]=e(t,n,o))return!0}}}function p(e){return e.length>1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function m(e,n,i){for(var r=0,a=n.length;a>r;r++)t(e,n[r],i);return i}function _(e,t,n,i,r){for(var a,o=[],s=0,l=e.length,u=null!=t;l>s;s++)(a=e[s])&&(n&&!n(a,i,r)||(o.push(a),u&&t.push(s)));return o}function g(e,t,n,r,a,o){return r&&!r[F]&&(r=g(r)),a&&!a[F]&&(a=g(a,o)),i(function(i,o,s,l){var u,d,c,h=[],f=[],p=o.length,g=i||m(t||"*",s.nodeType?[s]:s,[]),y=!e||!i&&t?g:_(g,h,e,s,l),v=n?a||(i?e:p||r)?[]:o:y;if(n&&n(y,v,s,l),r)for(u=_(v,f),r(u,[],s,l),d=u.length;d--;)(c=u[d])&&(v[f[d]]=!(y[f[d]]=c));if(i){if(a||e){if(a){for(u=[],d=v.length;d--;)(c=v[d])&&u.push(y[d]=c);a(null,v=[],u,l)}for(d=v.length;d--;)(c=v[d])&&(u=a?ee(i,c):h[d])>-1&&(i[u]=!(o[u]=c))}}else v=_(v===o?v.splice(p,v.length):v),a?a(null,o,v,l):Z.apply(o,v)})}function y(e){for(var t,n,i,r=e.length,a=w.relative[e[0].type],o=a||w.relative[" "],s=a?1:0,l=f(function(e){return e===t},o,!0),u=f(function(e){return ee(t,e)>-1},o,!0),d=[function(e,n,i){var r=!a&&(i||n!==Y)||((t=n).nodeType?l(e,n,i):u(e,n,i));return t=null,r}];r>s;s++)if(n=w.relative[e[s].type])d=[f(p(d),n)];else{if(n=w.filter[e[s].type].apply(null,e[s].matches),n[F]){for(i=++s;r>i&&!w.relative[e[i].type];i++);return g(s>1&&p(d),s>1&&h(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,i>s&&y(e.slice(s,i)),r>i&&y(e=e.slice(i)),r>i&&h(e))}d.push(n)}return p(d)}function v(e,n){var r=n.length>0,a=e.length>0,o=function(i,o,s,l,u){var d,c,h,f=0,p="0",m=i&&[],g=[],y=Y,v=i||a&&w.find.TAG("*",u),b=N+=null==y?1:Math.random()||.1,M=v.length;for(u&&(Y=o===j||o||u);p!==M&&null!=(d=v[p]);p++){if(a&&d){for(c=0,o||d.ownerDocument===j||(H(d),s=!P);h=e[c++];)if(h(d,o||j,s)){l.push(d);break}u&&(N=b)}r&&((d=!h&&d)&&f--,i&&m.push(d))}if(f+=p,r&&p!==f){for(c=0;h=n[c++];)h(m,g,o,s);if(i){if(f>0)for(;p--;)m[p]||g[p]||(g[p]=X.call(l));g=_(g)}Z.apply(l,g),u&&!i&&g.length>0&&f+n.length>1&&t.uniqueSort(l)}return u&&(N=b,Y=y),m};return r?i(o):o}var b,M,w,x,k,L,D,T,Y,S,C,H,j,A,P,E,I,O,W,F="sizzle"+1*new Date,R=e.document,N=0,z=0,B=n(),$=n(),V=n(),q=function(e,t){return e===t&&(C=!0),0},U=1<<31,J={}.hasOwnProperty,G=[],X=G.pop,K=G.push,Z=G.push,Q=G.slice,ee=function(e,t){for(var n=0,i=e.length;i>n;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",ie="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",re="\\["+ne+"*("+ie+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ie+"))|)"+ne+"*\\]",ae=":("+ie+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+re+")*)|.*)\\)|)",oe=new RegExp(ne+"+","g"),se=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),le=new RegExp("^"+ne+"*,"+ne+"*"),ue=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),de=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),ce=new RegExp(ae),he=new RegExp("^"+ie+"$"),fe={ID:new RegExp("^#("+ie+")"),CLASS:new RegExp("^\\.("+ie+")"),TAG:new RegExp("^("+ie+"|[*])"),ATTR:new RegExp("^"+re),PSEUDO:new RegExp("^"+ae),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},pe=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,_e=/^[^{]+\{\s*\[native \w/,ge=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,ve=/'|\\/g,be=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),Me=function(e,t,n){var i="0x"+t-65536;return i!==i||n?t:0>i?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},we=function(){H()};try{Z.apply(G=Q.call(R.childNodes),R.childNodes),G[R.childNodes.length].nodeType}catch(xe){Z={apply:G.length?function(e,t){K.apply(e,Q.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}M=t.support={},k=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},H=t.setDocument=function(e){var t,n,i=e?e.ownerDocument||e:R;return i!==j&&9===i.nodeType&&i.documentElement?(j=i,A=j.documentElement,P=!k(j),(n=j.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",we,!1):n.attachEvent&&n.attachEvent("onunload",we)),M.attributes=r(function(e){return e.className="i",!e.getAttribute("className")}),M.getElementsByTagName=r(function(e){return e.appendChild(j.createComment("")),!e.getElementsByTagName("*").length}),M.getElementsByClassName=_e.test(j.getElementsByClassName),M.getById=r(function(e){return A.appendChild(e).id=F,!j.getElementsByName||!j.getElementsByName(F).length}),M.getById?(w.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&P){var n=t.getElementById(e);return n?[n]:[]}},w.filter.ID=function(e){var t=e.replace(be,Me);return function(e){return e.getAttribute("id")===t}}):(delete w.find.ID,w.filter.ID=function(e){var t=e.replace(be,Me);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),w.find.TAG=M.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):M.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,a=t.getElementsByTagName(e);if("*"===e){for(;n=a[r++];)1===n.nodeType&&i.push(n);return i}return a},w.find.CLASS=M.getElementsByClassName&&function(e,t){return"undefined"!=typeof t.getElementsByClassName&&P?t.getElementsByClassName(e):void 0},I=[],E=[],(M.qsa=_e.test(j.querySelectorAll))&&(r(function(e){A.appendChild(e).innerHTML="<a id='"+F+"'></a><select id='"+F+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&E.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||E.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+F+"-]").length||E.push("~="),e.querySelectorAll(":checked").length||E.push(":checked"),e.querySelectorAll("a#"+F+"+*").length||E.push(".#.+[+~]")}),r(function(e){var t=j.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&E.push("name"+ne+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||E.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),E.push(",.*:")})),(M.matchesSelector=_e.test(O=A.matches||A.webkitMatchesSelector||A.mozMatchesSelector||A.oMatchesSelector||A.msMatchesSelector))&&r(function(e){M.disconnectedMatch=O.call(e,"div"),O.call(e,"[s!='']:x"),I.push("!=",ae)}),E=E.length&&new RegExp(E.join("|")),I=I.length&&new RegExp(I.join("|")),t=_e.test(A.compareDocumentPosition),W=t||_e.test(A.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},q=t?function(e,t){if(e===t)return C=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!M.sortDetached&&t.compareDocumentPosition(e)===n?e===j||e.ownerDocument===R&&W(R,e)?-1:t===j||t.ownerDocument===R&&W(R,t)?1:S?ee(S,e)-ee(S,t):0:4&n?-1:1)}:function(e,t){if(e===t)return C=!0,0;var n,i=0,r=e.parentNode,a=t.parentNode,s=[e],l=[t];if(!r||!a)return e===j?-1:t===j?1:r?-1:a?1:S?ee(S,e)-ee(S,t):0;if(r===a)return o(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;s[i]===l[i];)i++;return i?o(s[i],l[i]):s[i]===R?-1:l[i]===R?1:0},j):j},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==j&&H(e),n=n.replace(de,"='$1']"),M.matchesSelector&&P&&!V[n+" "]&&(!I||!I.test(n))&&(!E||!E.test(n)))try{var i=O.call(e,n);if(i||M.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(r){}return t(n,j,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==j&&H(e),W(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==j&&H(e);var n=w.attrHandle[t.toLowerCase()],i=n&&J.call(w.attrHandle,t.toLowerCase())?n(e,t,!P):void 0;return void 0!==i?i:M.attributes||!P?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],i=0,r=0;if(C=!M.detectDuplicates,S=!M.sortStable&&e.slice(0),e.sort(q),C){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return S=null,e},x=t.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=x(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=x(t);return n},w=t.selectors={cacheLength:50,createPseudo:i,match:fe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(be,Me),e[3]=(e[3]||e[4]||e[5]||"").replace(be,Me),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return fe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ce.test(n)&&(t=L(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(be,Me).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=B[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&B(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,i){return function(r){var a=t.attr(r,e);return null==a?"!="===n:!n||(a+="","="===n?a===i:"!="===n?a!==i:"^="===n?i&&0===a.indexOf(i):"*="===n?i&&a.indexOf(i)>-1:"$="===n?i&&a.slice(-i.length)===i:"~="===n?(" "+a.replace(oe," ")+" ").indexOf(i)>-1:"|="===n&&(a===i||a.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,n,i,r){var a="nth"!==e.slice(0,3),o="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var u,d,c,h,f,p,m=a!==o?"nextSibling":"previousSibling",_=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!l&&!s,v=!1;if(_){if(a){for(;m;){for(h=t;h=h[m];)if(s?h.nodeName.toLowerCase()===g:1===h.nodeType)return!1;p=m="only"===e&&!p&&"nextSibling"}return!0}if(p=[o?_.firstChild:_.lastChild],o&&y){for(h=_,c=h[F]||(h[F]={}),d=c[h.uniqueID]||(c[h.uniqueID]={}),u=d[e]||[],f=u[0]===N&&u[1],v=f&&u[2],h=f&&_.childNodes[f];h=++f&&h&&h[m]||(v=f=0)||p.pop();)if(1===h.nodeType&&++v&&h===t){d[e]=[N,f,v];break}}else if(y&&(h=t,c=h[F]||(h[F]={}),d=c[h.uniqueID]||(c[h.uniqueID]={}),u=d[e]||[],f=u[0]===N&&u[1],v=f),v===!1)for(;(h=++f&&h&&h[m]||(v=f=0)||p.pop())&&((s?h.nodeName.toLowerCase()!==g:1!==h.nodeType)||!++v||(y&&(c=h[F]||(h[F]={}),d=c[h.uniqueID]||(c[h.uniqueID]={}),d[e]=[N,v]),h!==t)););return v-=r,v===i||v%i===0&&v/i>=0}}},PSEUDO:function(e,n){var r,a=w.pseudos[e]||w.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return a[F]?a(n):a.length>1?(r=[e,e,"",n],w.setFilters.hasOwnProperty(e.toLowerCase())?i(function(e,t){for(var i,r=a(e,n),o=r.length;o--;)i=ee(e,r[o]),e[i]=!(t[i]=r[o])}):function(e){return a(e,0,r)}):a}},pseudos:{not:i(function(e){var t=[],n=[],r=D(e.replace(se,"$1"));return r[F]?i(function(e,t,n,i){for(var a,o=r(e,null,i,[]),s=e.length;s--;)(a=o[s])&&(e[s]=!(t[s]=a))}):function(e,i,a){return t[0]=e,r(t,null,a,n),t[0]=null,!n.pop()}}),has:i(function(e){return function(n){return t(e,n).length>0}}),contains:i(function(e){return e=e.replace(be,Me),function(t){return(t.textContent||t.innerText||x(t)).indexOf(e)>-1}}),lang:i(function(e){return he.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(be,Me).toLowerCase(),function(t){var n;do if(n=P?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===A},focus:function(e){return e===j.activeElement&&(!j.hasFocus||j.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return pe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:u(function(){return[0]}),last:u(function(e,t){return[t-1]}),eq:u(function(e,t,n){return[0>n?n+t:n]}),even:u(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:u(function(e,t){
for(var n=1;t>n;n+=2)e.push(n);return e}),lt:u(function(e,t,n){for(var i=0>n?n+t:n;--i>=0;)e.push(i);return e}),gt:u(function(e,t,n){for(var i=0>n?n+t:n;++i<t;)e.push(i);return e})}},w.pseudos.nth=w.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[b]=s(b);for(b in{submit:!0,reset:!0})w.pseudos[b]=l(b);return c.prototype=w.filters=w.pseudos,w.setFilters=new c,L=t.tokenize=function(e,n){var i,r,a,o,s,l,u,d=$[e+" "];if(d)return n?0:d.slice(0);for(s=e,l=[],u=w.preFilter;s;){i&&!(r=le.exec(s))||(r&&(s=s.slice(r[0].length)||s),l.push(a=[])),i=!1,(r=ue.exec(s))&&(i=r.shift(),a.push({value:i,type:r[0].replace(se," ")}),s=s.slice(i.length));for(o in w.filter)!(r=fe[o].exec(s))||u[o]&&!(r=u[o](r))||(i=r.shift(),a.push({value:i,type:o,matches:r}),s=s.slice(i.length));if(!i)break}return n?s.length:s?t.error(e):$(e,l).slice(0)},D=t.compile=function(e,t){var n,i=[],r=[],a=V[e+" "];if(!a){for(t||(t=L(e)),n=t.length;n--;)a=y(t[n]),a[F]?i.push(a):r.push(a);a=V(e,v(r,i)),a.selector=e}return a},T=t.select=function(e,t,n,i){var r,a,o,s,l,u="function"==typeof e&&e,c=!i&&L(e=u.selector||e);if(n=n||[],1===c.length){if(a=c[0]=c[0].slice(0),a.length>2&&"ID"===(o=a[0]).type&&M.getById&&9===t.nodeType&&P&&w.relative[a[1].type]){if(t=(w.find.ID(o.matches[0].replace(be,Me),t)||[])[0],!t)return n;u&&(t=t.parentNode),e=e.slice(a.shift().value.length)}for(r=fe.needsContext.test(e)?0:a.length;r--&&(o=a[r],!w.relative[s=o.type]);)if((l=w.find[s])&&(i=l(o.matches[0].replace(be,Me),ye.test(a[0].type)&&d(t.parentNode)||t))){if(a.splice(r,1),e=i.length&&h(a),!e)return Z.apply(n,i),n;break}}return(u||D(e,c))(i,t,!P,n,!t||ye.test(e)&&d(t.parentNode)||t),n},M.sortStable=F.split("").sort(q).join("")===F,M.detectDuplicates=!!C,H(),M.sortDetached=r(function(e){return 1&e.compareDocumentPosition(j.createElement("div"))}),r(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||a("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),M.attributes&&r(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||a("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),r(function(e){return null==e.getAttribute("disabled")})||a(te,function(e,t,n){var i;return n?void 0:e[t]===!0?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),t}(e);ae.find=de,ae.expr=de.selectors,ae.expr[":"]=ae.expr.pseudos,ae.uniqueSort=ae.unique=de.uniqueSort,ae.text=de.getText,ae.isXMLDoc=de.isXML,ae.contains=de.contains;var ce=function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&ae(e).is(n))break;i.push(e)}return i},he=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},fe=ae.expr.match.needsContext,pe=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,me=/^.[^:#\[\.,]*$/;ae.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?ae.find.matchesSelector(i,e)?[i]:[]:ae.find.matches(e,ae.grep(t,function(e){return 1===e.nodeType}))},ae.fn.extend({find:function(e){var t,n=this.length,i=[],r=this;if("string"!=typeof e)return this.pushStack(ae(e).filter(function(){for(t=0;n>t;t++)if(ae.contains(r[t],this))return!0}));for(t=0;n>t;t++)ae.find(e,r[t],i);return i=this.pushStack(n>1?ae.unique(i):i),i.selector=this.selector?this.selector+" "+e:e,i},filter:function(e){return this.pushStack(i(this,e||[],!1))},not:function(e){return this.pushStack(i(this,e||[],!0))},is:function(e){return!!i(this,"string"==typeof e&&fe.test(e)?ae(e):e||[],!1).length}});var _e,ge=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ye=ae.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||_e,"string"==typeof e){if(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:ge.exec(e),!i||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof ae?t[0]:t,ae.merge(this,ae.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:G,!0)),pe.test(i[1])&&ae.isPlainObject(t))for(i in t)ae.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return r=G.getElementById(i[2]),r&&r.parentNode&&(this.length=1,this[0]=r),this.context=G,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):ae.isFunction(e)?void 0!==n.ready?n.ready(e):e(ae):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),ae.makeArray(e,this))};ye.prototype=ae.fn,_e=ae(G);var ve=/^(?:parents|prev(?:Until|All))/,be={children:!0,contents:!0,next:!0,prev:!0};ae.fn.extend({has:function(e){var t=ae(e,this),n=t.length;return this.filter(function(){for(var e=0;n>e;e++)if(ae.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,i=0,r=this.length,a=[],o=fe.test(e)||"string"!=typeof e?ae(e,t||this.context):0;r>i;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(o?o.index(n)>-1:1===n.nodeType&&ae.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(a.length>1?ae.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?Q.call(ae(e),this[0]):Q.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ae.uniqueSort(ae.merge(this.get(),ae(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ae.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return ce(e,"parentNode")},parentsUntil:function(e,t,n){return ce(e,"parentNode",n)},next:function(e){return r(e,"nextSibling")},prev:function(e){return r(e,"previousSibling")},nextAll:function(e){return ce(e,"nextSibling")},prevAll:function(e){return ce(e,"previousSibling")},nextUntil:function(e,t,n){return ce(e,"nextSibling",n)},prevUntil:function(e,t,n){return ce(e,"previousSibling",n)},siblings:function(e){return he((e.parentNode||{}).firstChild,e)},children:function(e){return he(e.firstChild)},contents:function(e){return e.contentDocument||ae.merge([],e.childNodes)}},function(e,t){ae.fn[e]=function(n,i){var r=ae.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=ae.filter(i,r)),this.length>1&&(be[e]||ae.uniqueSort(r),ve.test(e)&&r.reverse()),this.pushStack(r)}});var Me=/\S+/g;ae.Callbacks=function(e){e="string"==typeof e?a(e):ae.extend({},e);var t,n,i,r,o=[],s=[],l=-1,u=function(){for(r=e.once,i=t=!0;s.length;l=-1)for(n=s.shift();++l<o.length;)o[l].apply(n[0],n[1])===!1&&e.stopOnFalse&&(l=o.length,n=!1);e.memory||(n=!1),t=!1,r&&(o=n?[]:"")},d={add:function(){return o&&(n&&!t&&(l=o.length-1,s.push(n)),function i(t){ae.each(t,function(t,n){ae.isFunction(n)?e.unique&&d.has(n)||o.push(n):n&&n.length&&"string"!==ae.type(n)&&i(n)})}(arguments),n&&!t&&u()),this},remove:function(){return ae.each(arguments,function(e,t){for(var n;(n=ae.inArray(t,o,n))>-1;)o.splice(n,1),l>=n&&l--}),this},has:function(e){return e?ae.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=s=[],n||(o=n=""),this},locked:function(){return!!r},fireWith:function(e,n){return r||(n=n||[],n=[e,n.slice?n.slice():n],s.push(n),t||u()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!i}};return d},ae.extend({Deferred:function(e){var t=[["resolve","done",ae.Callbacks("once memory"),"resolved"],["reject","fail",ae.Callbacks("once memory"),"rejected"],["notify","progress",ae.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var e=arguments;return ae.Deferred(function(n){ae.each(t,function(t,a){var o=ae.isFunction(e[t])&&e[t];r[a[1]](function(){var e=o&&o.apply(this,arguments);e&&ae.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[a[0]+"With"](this===i?n.promise():this,o?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?ae.extend(e,i):i}},r={};return i.pipe=i.then,ae.each(t,function(e,a){var o=a[2],s=a[3];i[a[1]]=o.add,s&&o.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),r[a[0]]=function(){return r[a[0]+"With"](this===r?i:this,arguments),this},r[a[0]+"With"]=o.fireWith}),i.promise(r),e&&e.call(r,r),r},when:function(e){var t,n,i,r=0,a=X.call(arguments),o=a.length,s=1!==o||e&&ae.isFunction(e.promise)?o:0,l=1===s?e:ae.Deferred(),u=function(e,n,i){return function(r){n[e]=this,i[e]=arguments.length>1?X.call(arguments):r,i===t?l.notifyWith(n,i):--s||l.resolveWith(n,i)}};if(o>1)for(t=new Array(o),n=new Array(o),i=new Array(o);o>r;r++)a[r]&&ae.isFunction(a[r].promise)?a[r].promise().progress(u(r,n,t)).done(u(r,i,a)).fail(l.reject):--s;return s||l.resolveWith(i,a),l.promise()}});var we;ae.fn.ready=function(e){return ae.ready.promise().done(e),this},ae.extend({isReady:!1,readyWait:1,holdReady:function(e){e?ae.readyWait++:ae.ready(!0)},ready:function(e){(e===!0?--ae.readyWait:ae.isReady)||(ae.isReady=!0,e!==!0&&--ae.readyWait>0||(we.resolveWith(G,[ae]),ae.fn.triggerHandler&&(ae(G).triggerHandler("ready"),ae(G).off("ready"))))}}),ae.ready.promise=function(t){return we||(we=ae.Deferred(),"complete"===G.readyState||"loading"!==G.readyState&&!G.documentElement.doScroll?e.setTimeout(ae.ready):(G.addEventListener("DOMContentLoaded",o),e.addEventListener("load",o))),we.promise(t)},ae.ready.promise();var xe=function(e,t,n,i,r,a,o){var s=0,l=e.length,u=null==n;if("object"===ae.type(n)){r=!0;for(s in n)xe(e,t,s,n[s],!0,a,o)}else if(void 0!==i&&(r=!0,ae.isFunction(i)||(o=!0),u&&(o?(t.call(e,i),t=null):(u=t,t=function(e,t,n){return u.call(ae(e),n)})),t))for(;l>s;s++)t(e[s],n,o?i:i.call(e[s],s,t(e[s],n)));return r?e:u?t.call(e):l?t(e[0],n):a},ke=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};s.uid=1,s.prototype={register:function(e,t){var n=t||{};return e.nodeType?e[this.expando]=n:Object.defineProperty(e,this.expando,{value:n,writable:!0,configurable:!0}),e[this.expando]},cache:function(e){if(!ke(e))return{};var t=e[this.expando];return t||(t={},ke(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,r=this.cache(e);if("string"==typeof t)r[t]=n;else for(i in t)r[i]=t[i];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][t]},access:function(e,t,n){var i;return void 0===t||t&&"string"==typeof t&&void 0===n?(i=this.get(e,t),void 0!==i?i:this.get(e,ae.camelCase(t))):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i,r,a=e[this.expando];if(void 0!==a){if(void 0===t)this.register(e);else{ae.isArray(t)?i=t.concat(t.map(ae.camelCase)):(r=ae.camelCase(t),t in a?i=[t,r]:(i=r,i=i in a?[i]:i.match(Me)||[])),n=i.length;for(;n--;)delete a[i[n]]}(void 0===t||ae.isEmptyObject(a))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!ae.isEmptyObject(t)}};var Le=new s,De=new s,Te=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ye=/[A-Z]/g;ae.extend({hasData:function(e){return De.hasData(e)||Le.hasData(e)},data:function(e,t,n){return De.access(e,t,n)},removeData:function(e,t){De.remove(e,t)},_data:function(e,t,n){return Le.access(e,t,n)},_removeData:function(e,t){Le.remove(e,t)}}),ae.fn.extend({data:function(e,t){var n,i,r,a=this[0],o=a&&a.attributes;if(void 0===e){if(this.length&&(r=De.get(a),1===a.nodeType&&!Le.get(a,"hasDataAttrs"))){for(n=o.length;n--;)o[n]&&(i=o[n].name,0===i.indexOf("data-")&&(i=ae.camelCase(i.slice(5)),l(a,i,r[i])));Le.set(a,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each(function(){De.set(this,e)}):xe(this,function(t){var n,i;if(a&&void 0===t){if(n=De.get(a,e)||De.get(a,e.replace(Ye,"-$&").toLowerCase()),void 0!==n)return n;if(i=ae.camelCase(e),n=De.get(a,i),void 0!==n)return n;if(n=l(a,i,void 0),void 0!==n)return n}else i=ae.camelCase(e),this.each(function(){var n=De.get(this,i);De.set(this,i,t),e.indexOf("-")>-1&&void 0!==n&&De.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){De.remove(this,e)})}}),ae.extend({queue:function(e,t,n){var i;return e?(t=(t||"fx")+"queue",i=Le.get(e,t),n&&(!i||ae.isArray(n)?i=Le.access(e,t,ae.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=ae.queue(e,t),i=n.length,r=n.shift(),a=ae._queueHooks(e,t),o=function(){ae.dequeue(e,t)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete a.stop,r.call(e,o,a)),!i&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Le.get(e,n)||Le.access(e,n,{empty:ae.Callbacks("once memory").add(function(){Le.remove(e,[t+"queue",n])})})}}),ae.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?ae.queue(this[0],e):void 0===t?this:this.each(function(){var n=ae.queue(this,e,t);ae._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&ae.dequeue(this,e)})},dequeue:function(e){return this.each(function(){ae.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=ae.Deferred(),a=this,o=this.length,s=function(){--i||r.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";o--;)n=Le.get(a[o],e+"queueHooks"),n&&n.empty&&(i++,n.empty.add(s));return s(),r.promise(t)}});var Se=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ce=new RegExp("^(?:([+-])=|)("+Se+")([a-z%]*)$","i"),He=["Top","Right","Bottom","Left"],je=function(e,t){return e=t||e,"none"===ae.css(e,"display")||!ae.contains(e.ownerDocument,e)},Ae=/^(?:checkbox|radio)$/i,Pe=/<([\w:-]+)/,Ee=/^$|\/(?:java|ecma)script/i,Ie={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Ie.optgroup=Ie.option,Ie.tbody=Ie.tfoot=Ie.colgroup=Ie.caption=Ie.thead,Ie.th=Ie.td;var Oe=/<|&#?\w+;/;!function(){var e=G.createDocumentFragment(),t=e.appendChild(G.createElement("div")),n=G.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),ie.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",ie.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var We=/^key/,Fe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Re=/^([^.]*)(?:\.(.+)|)/;ae.event={global:{},add:function(e,t,n,i,r){var a,o,s,l,u,d,c,h,f,p,m,_=Le.get(e);if(_)for(n.handler&&(a=n,n=a.handler,r=a.selector),n.guid||(n.guid=ae.guid++),(l=_.events)||(l=_.events={}),(o=_.handle)||(o=_.handle=function(t){return"undefined"!=typeof ae&&ae.event.triggered!==t.type?ae.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Me)||[""],u=t.length;u--;)s=Re.exec(t[u])||[],f=m=s[1],p=(s[2]||"").split(".").sort(),f&&(c=ae.event.special[f]||{},f=(r?c.delegateType:c.bindType)||f,c=ae.event.special[f]||{},d=ae.extend({type:f,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&ae.expr.match.needsContext.test(r),namespace:p.join(".")},a),(h=l[f])||(h=l[f]=[],h.delegateCount=0,c.setup&&c.setup.call(e,i,p,o)!==!1||e.addEventListener&&e.addEventListener(f,o)),c.add&&(c.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,d):h.push(d),ae.event.global[f]=!0)},remove:function(e,t,n,i,r){var a,o,s,l,u,d,c,h,f,p,m,_=Le.hasData(e)&&Le.get(e);if(_&&(l=_.events)){for(t=(t||"").match(Me)||[""],u=t.length;u--;)if(s=Re.exec(t[u])||[],f=m=s[1],p=(s[2]||"").split(".").sort(),f){for(c=ae.event.special[f]||{},f=(i?c.delegateType:c.bindType)||f,h=l[f]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=a=h.length;a--;)d=h[a],!r&&m!==d.origType||n&&n.guid!==d.guid||s&&!s.test(d.namespace)||i&&i!==d.selector&&("**"!==i||!d.selector)||(h.splice(a,1),d.selector&&h.delegateCount--,c.remove&&c.remove.call(e,d));o&&!h.length&&(c.teardown&&c.teardown.call(e,p,_.handle)!==!1||ae.removeEvent(e,f,_.handle),delete l[f])}else for(f in l)ae.event.remove(e,f+t[u],n,i,!0);ae.isEmptyObject(l)&&Le.remove(e,"handle events")}},dispatch:function(e){e=ae.event.fix(e);var t,n,i,r,a,o=[],s=X.call(arguments),l=(Le.get(this,"events")||{})[e.type]||[],u=ae.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,e)!==!1){for(o=ae.event.handlers.call(this,e,l),t=0;(r=o[t++])&&!e.isPropagationStopped();)for(e.currentTarget=r.elem,n=0;(a=r.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(a.namespace)||(e.handleObj=a,e.data=a.data,i=((ae.event.special[a.origType]||{}).handle||a.handler).apply(r.elem,s),void 0!==i&&(e.result=i)===!1&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,i,r,a,o=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&(l.disabled!==!0||"click"!==e.type)){for(i=[],n=0;s>n;n++)a=t[n],r=a.selector+" ",void 0===i[r]&&(i[r]=a.needsContext?ae(r,this).index(l)>-1:ae.find(r,this,null,[l]).length),i[r]&&i.push(a);i.length&&o.push({elem:l,handlers:i})}return s<t.length&&o.push({elem:this,handlers:t.slice(s)}),o},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,i,r,a=t.button;return null==e.pageX&&null!=t.clientX&&(n=e.target.ownerDocument||G,i=n.documentElement,r=n.body,e.pageX=t.clientX+(i&&i.scrollLeft||r&&r.scrollLeft||0)-(i&&i.clientLeft||r&&r.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||r&&r.scrollTop||0)-(i&&i.clientTop||r&&r.clientTop||0)),e.which||void 0===a||(e.which=1&a?1:2&a?3:4&a?2:0),e}},fix:function(e){if(e[ae.expando])return e;var t,n,i,r=e.type,a=e,o=this.fixHooks[r];for(o||(this.fixHooks[r]=o=Fe.test(r)?this.mouseHooks:We.test(r)?this.keyHooks:{}),i=o.props?this.props.concat(o.props):this.props,e=new ae.Event(a),t=i.length;t--;)n=i[t],e[n]=a[n];return e.target||(e.target=G),3===e.target.nodeType&&(e.target=e.target.parentNode),o.filter?o.filter(e,a):e},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==m()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===m()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&ae.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(e){return ae.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},ae.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},ae.Event=function(e,t){return this instanceof ae.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?f:p):this.type=e,t&&ae.extend(this,t),this.timeStamp=e&&e.timeStamp||ae.now(),void(this[ae.expando]=!0)):new ae.Event(e,t)},ae.Event.prototype={constructor:ae.Event,isDefaultPrevented:p,isPropagationStopped:p,isImmediatePropagationStopped:p,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=f,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=f,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=f,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},ae.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){ae.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,r=e.relatedTarget,a=e.handleObj;return r&&(r===i||ae.contains(i,r))||(e.type=a.origType,n=a.handler.apply(this,arguments),e.type=t),n}}}),ae.fn.extend({on:function(e,t,n,i){return _(this,e,t,n,i)},one:function(e,t,n,i){return _(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,ae(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return t!==!1&&"function"!=typeof t||(n=t,t=void 0),n===!1&&(n=p),this.each(function(){ae.event.remove(this,e,n,t)})}});var Ne=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,ze=/<script|<style|<link/i,Be=/checked\s*(?:[^=]|=\s*.checked.)/i,$e=/^true\/(.*)/,Ve=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;ae.extend({htmlPrefilter:function(e){return e.replace(Ne,"<$1></$2>")},clone:function(e,t,n){var i,r,a,o,s=e.cloneNode(!0),l=ae.contains(e.ownerDocument,e);if(!(ie.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ae.isXMLDoc(e)))for(o=d(s),a=d(e),i=0,r=a.length;r>i;i++)M(a[i],o[i]);if(t)if(n)for(a=a||d(e),o=o||d(s),i=0,r=a.length;r>i;i++)b(a[i],o[i]);else b(e,s);return o=d(s,"script"),o.length>0&&c(o,!l&&d(e,"script")),s},cleanData:function(e){for(var t,n,i,r=ae.event.special,a=0;void 0!==(n=e[a]);a++)if(ke(n)){if(t=n[Le.expando]){if(t.events)for(i in t.events)r[i]?ae.event.remove(n,i):ae.removeEvent(n,i,t.handle);n[Le.expando]=void 0}n[De.expando]&&(n[De.expando]=void 0)}}}),ae.fn.extend({domManip:w,detach:function(e){return x(this,e,!0)},remove:function(e){return x(this,e)},text:function(e){return xe(this,function(e){return void 0===e?ae.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 w(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=g(this,e);t.appendChild(e)}})},prepend:function(){return w(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=g(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return w(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return w(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&&(ae.cleanData(d(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ae.clone(this,e,t)})},html:function(e){return xe(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ze.test(e)&&!Ie[(Pe.exec(e)||["",""])[1].toLowerCase()]){e=ae.htmlPrefilter(e);try{for(;i>n;n++)t=this[n]||{},1===t.nodeType&&(ae.cleanData(d(t,!1)),t.innerHTML=e);t=0}catch(r){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return w(this,arguments,function(t){var n=this.parentNode;ae.inArray(this,e)<0&&(ae.cleanData(d(this)),n&&n.replaceChild(t,this))},e)}}),ae.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){ae.fn[e]=function(e){for(var n,i=[],r=ae(e),a=r.length-1,o=0;a>=o;o++)n=o===a?this:this.clone(!0),ae(r[o])[t](n),Z.apply(i,n.get());return this.pushStack(i)}});var qe,Ue={HTML:"block",BODY:"block"},Je=/^margin/,Ge=new RegExp("^("+Se+")(?!px)[a-z%]+$","i"),Xe=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Ke=function(e,t,n,i){var r,a,o={};for(a in t)o[a]=e.style[a],e.style[a]=t[a];r=n.apply(e,i||[]);for(a in t)e.style[a]=o[a];return r},Ze=G.documentElement;!function(){function t(){s.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",s.innerHTML="",Ze.appendChild(o);var t=e.getComputedStyle(s);n="1%"!==t.top,a="2px"===t.marginLeft,i="4px"===t.width,s.style.marginRight="50%",r="4px"===t.marginRight,Ze.removeChild(o)}var n,i,r,a,o=G.createElement("div"),s=G.createElement("div");s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",ie.clearCloneStyle="content-box"===s.style.backgroundClip,o.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",o.appendChild(s),ae.extend(ie,{pixelPosition:function(){return t(),n},boxSizingReliable:function(){return null==i&&t(),i},pixelMarginRight:function(){return null==i&&t(),r},reliableMarginLeft:function(){return null==i&&t(),a},reliableMarginRight:function(){var t,n=s.appendChild(G.createElement("div"));return n.style.cssText=s.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",s.style.width="1px",Ze.appendChild(o),t=!parseFloat(e.getComputedStyle(n).marginRight),Ze.removeChild(o),s.removeChild(n),t}}))}();var Qe=/^(none|table(?!-c[ea]).+)/,et={position:"absolute",visibility:"hidden",display:"block"},tt={letterSpacing:"0",fontWeight:"400"},nt=["Webkit","O","Moz","ms"],it=G.createElement("div").style;ae.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=D(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,a,o,s=ae.camelCase(t),l=e.style;return t=ae.cssProps[s]||(ae.cssProps[s]=Y(s)||s),o=ae.cssHooks[t]||ae.cssHooks[s],void 0===n?o&&"get"in o&&void 0!==(r=o.get(e,!1,i))?r:l[t]:(a=typeof n,"string"===a&&(r=Ce.exec(n))&&r[1]&&(n=u(e,t,r),a="number"),void(null!=n&&n===n&&("number"===a&&(n+=r&&r[3]||(ae.cssNumber[s]?"":"px")),ie.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,i))||(l[t]=n))))}},css:function(e,t,n,i){var r,a,o,s=ae.camelCase(t);return t=ae.cssProps[s]||(ae.cssProps[s]=Y(s)||s),o=ae.cssHooks[t]||ae.cssHooks[s],o&&"get"in o&&(r=o.get(e,!0,n)),void 0===r&&(r=D(e,t,i)),"normal"===r&&t in tt&&(r=tt[t]),""===n||n?(a=parseFloat(r),n===!0||isFinite(a)?a||0:r):r}}),ae.each(["height","width"],function(e,t){ae.cssHooks[t]={get:function(e,n,i){return n?Qe.test(ae.css(e,"display"))&&0===e.offsetWidth?Ke(e,et,function(){return H(e,t,i)}):H(e,t,i):void 0},set:function(e,n,i){var r,a=i&&Xe(e),o=i&&C(e,t,i,"border-box"===ae.css(e,"boxSizing",!1,a),a);return o&&(r=Ce.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=ae.css(e,t)),S(e,n,o)}}}),ae.cssHooks.marginLeft=T(ie.reliableMarginLeft,function(e,t){return t?(parseFloat(D(e,"marginLeft"))||e.getBoundingClientRect().left-Ke(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px":void 0}),ae.cssHooks.marginRight=T(ie.reliableMarginRight,function(e,t){return t?Ke(e,{display:"inline-block"},D,[e,"marginRight"]):void 0}),ae.each({margin:"",padding:"",border:"Width"},function(e,t){ae.cssHooks[e+t]={expand:function(n){for(var i=0,r={},a="string"==typeof n?n.split(" "):[n];4>i;i++)r[e+He[i]+t]=a[i]||a[i-2]||a[0];return r}},Je.test(e)||(ae.cssHooks[e+t].set=S)}),ae.fn.extend({css:function(e,t){return xe(this,function(e,t,n){var i,r,a={},o=0;if(ae.isArray(t)){for(i=Xe(e),r=t.length;r>o;o++)a[t[o]]=ae.css(e,t[o],!1,i);return a}return void 0!==n?ae.style(e,t,n):ae.css(e,t)},e,t,arguments.length>1)},show:function(){return j(this,!0)},hide:function(){return j(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){je(this)?ae(this).show():ae(this).hide()})}}),ae.Tween=A,A.prototype={constructor:A,init:function(e,t,n,i,r,a){this.elem=e,this.prop=n,this.easing=r||ae.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=a||(ae.cssNumber[n]?"":"px")},cur:function(){var e=A.propHooks[this.prop];return e&&e.get?e.get(this):A.propHooks._default.get(this)},run:function(e){var t,n=A.propHooks[this.prop];return this.options.duration?this.pos=t=ae.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):A.propHooks._default.set(this),this}},A.prototype.init.prototype=A.prototype,A.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=ae.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){ae.fx.step[e.prop]?ae.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[ae.cssProps[e.prop]]&&!ae.cssHooks[e.prop]?e.elem[e.prop]=e.now:ae.style(e.elem,e.prop,e.now+e.unit)}}},A.propHooks.scrollTop=A.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ae.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ae.fx=A.prototype.init,ae.fx.step={};var rt,at,ot=/^(?:toggle|show|hide)$/,st=/queueHooks$/;ae.Animation=ae.extend(F,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return u(n.elem,e,Ce.exec(t),n),n}]},tweener:function(e,t){ae.isFunction(e)?(t=e,e=["*"]):e=e.match(Me);for(var n,i=0,r=e.length;r>i;i++)n=e[i],F.tweeners[n]=F.tweeners[n]||[],F.tweeners[n].unshift(t)},prefilters:[O],prefilter:function(e,t){t?F.prefilters.unshift(e):F.prefilters.push(e)}}),ae.speed=function(e,t,n){var i=e&&"object"==typeof e?ae.extend({},e):{complete:n||!n&&t||ae.isFunction(e)&&e,duration:e,easing:n&&t||t&&!ae.isFunction(t)&&t};return i.duration=ae.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in ae.fx.speeds?ae.fx.speeds[i.duration]:ae.fx.speeds._default,null!=i.queue&&i.queue!==!0||(i.queue="fx"),i.old=i.complete,i.complete=function(){ae.isFunction(i.old)&&i.old.call(this),i.queue&&ae.dequeue(this,i.queue)},i},ae.fn.extend({fadeTo:function(e,t,n,i){return this.filter(je).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=ae.isEmptyObject(e),a=ae.speed(t,n,i),o=function(){var t=F(this,ae.extend({},e),a);(r||Le.get(this,"finish"))&&t.stop(!0)};return o.finish=o,r||a.queue===!1?this.each(o):this.queue(a.queue,o)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,r=null!=e&&e+"queueHooks",a=ae.timers,o=Le.get(this);if(r)o[r]&&o[r].stop&&i(o[r]);else for(r in o)o[r]&&o[r].stop&&st.test(r)&&i(o[r]);for(r=a.length;r--;)a[r].elem!==this||null!=e&&a[r].queue!==e||(a[r].anim.stop(n),t=!1,a.splice(r,1));!t&&n||ae.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=Le.get(this),i=n[e+"queue"],r=n[e+"queueHooks"],a=ae.timers,o=i?i.length:0;for(n.finish=!0,ae.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===e&&(a[t].anim.stop(!0),a.splice(t,1));for(t=0;o>t;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),ae.each(["toggle","show","hide"],function(e,t){var n=ae.fn[t];ae.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(E(t,!0),e,i,r)}}),ae.each({slideDown:E("show"),slideUp:E("hide"),slideToggle:E("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){ae.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),ae.timers=[],ae.fx.tick=function(){var e,t=0,n=ae.timers;for(rt=ae.now();t<n.length;t++)e=n[t],e()||n[t]!==e||n.splice(t--,1);
n.length||ae.fx.stop(),rt=void 0},ae.fx.timer=function(e){ae.timers.push(e),e()?ae.fx.start():ae.timers.pop()},ae.fx.interval=13,ae.fx.start=function(){at||(at=e.setInterval(ae.fx.tick,ae.fx.interval))},ae.fx.stop=function(){e.clearInterval(at),at=null},ae.fx.speeds={slow:600,fast:200,_default:400},ae.fn.delay=function(t,n){return t=ae.fx?ae.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,i){var r=e.setTimeout(n,t);i.stop=function(){e.clearTimeout(r)}})},function(){var e=G.createElement("input"),t=G.createElement("select"),n=t.appendChild(G.createElement("option"));e.type="checkbox",ie.checkOn=""!==e.value,ie.optSelected=n.selected,t.disabled=!0,ie.optDisabled=!n.disabled,e=G.createElement("input"),e.value="t",e.type="radio",ie.radioValue="t"===e.value}();var lt,ut=ae.expr.attrHandle;ae.fn.extend({attr:function(e,t){return xe(this,ae.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){ae.removeAttr(this,e)})}}),ae.extend({attr:function(e,t,n){var i,r,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return"undefined"==typeof e.getAttribute?ae.prop(e,t,n):(1===a&&ae.isXMLDoc(e)||(t=t.toLowerCase(),r=ae.attrHooks[t]||(ae.expr.match.bool.test(t)?lt:void 0)),void 0!==n?null===n?void ae.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:(i=ae.find.attr(e,t),null==i?void 0:i))},attrHooks:{type:{set:function(e,t){if(!ie.radioValue&&"radio"===t&&ae.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i,r=0,a=t&&t.match(Me);if(a&&1===e.nodeType)for(;n=a[r++];)i=ae.propFix[n]||n,ae.expr.match.bool.test(n)&&(e[i]=!1),e.removeAttribute(n)}}),lt={set:function(e,t,n){return t===!1?ae.removeAttr(e,n):e.setAttribute(n,n),n}},ae.each(ae.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ut[t]||ae.find.attr;ut[t]=function(e,t,i){var r,a;return i||(a=ut[t],ut[t]=r,r=null!=n(e,t,i)?t.toLowerCase():null,ut[t]=a),r}});var dt=/^(?:input|select|textarea|button)$/i,ct=/^(?:a|area)$/i;ae.fn.extend({prop:function(e,t){return xe(this,ae.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[ae.propFix[e]||e]})}}),ae.extend({prop:function(e,t,n){var i,r,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&ae.isXMLDoc(e)||(t=ae.propFix[t]||t,r=ae.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=ae.find.attr(e,"tabindex");return t?parseInt(t,10):dt.test(e.nodeName)||ct.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),ie.optSelected||(ae.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)}}),ae.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ae.propFix[this.toLowerCase()]=this});var ht=/[\t\r\n\f]/g;ae.fn.extend({addClass:function(e){var t,n,i,r,a,o,s,l=0;if(ae.isFunction(e))return this.each(function(t){ae(this).addClass(e.call(this,t,R(this)))});if("string"==typeof e&&e)for(t=e.match(Me)||[];n=this[l++];)if(r=R(n),i=1===n.nodeType&&(" "+r+" ").replace(ht," ")){for(o=0;a=t[o++];)i.indexOf(" "+a+" ")<0&&(i+=a+" ");s=ae.trim(i),r!==s&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,i,r,a,o,s,l=0;if(ae.isFunction(e))return this.each(function(t){ae(this).removeClass(e.call(this,t,R(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(Me)||[];n=this[l++];)if(r=R(n),i=1===n.nodeType&&(" "+r+" ").replace(ht," ")){for(o=0;a=t[o++];)for(;i.indexOf(" "+a+" ")>-1;)i=i.replace(" "+a+" "," ");s=ae.trim(i),r!==s&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):ae.isFunction(e)?this.each(function(n){ae(this).toggleClass(e.call(this,n,R(this),t),t)}):this.each(function(){var t,i,r,a;if("string"===n)for(i=0,r=ae(this),a=e.match(Me)||[];t=a[i++];)r.hasClass(t)?r.removeClass(t):r.addClass(t);else void 0!==e&&"boolean"!==n||(t=R(this),t&&Le.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||e===!1?"":Le.get(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+R(n)+" ").replace(ht," ").indexOf(t)>-1)return!0;return!1}});var ft=/\r/g,pt=/[\x20\t\r\n\f]+/g;ae.fn.extend({val:function(e){var t,n,i,r=this[0];return arguments.length?(i=ae.isFunction(e),this.each(function(n){var r;1===this.nodeType&&(r=i?e.call(this,n,ae(this).val()):e,null==r?r="":"number"==typeof r?r+="":ae.isArray(r)&&(r=ae.map(r,function(e){return null==e?"":e+""})),t=ae.valHooks[this.type]||ae.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))})):r?(t=ae.valHooks[r.type]||ae.valHooks[r.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:(n=r.value,"string"==typeof n?n.replace(ft,""):null==n?"":n)):void 0}}),ae.extend({valHooks:{option:{get:function(e){var t=ae.find.attr(e,"value");return null!=t?t:ae.trim(ae.text(e)).replace(pt," ")}},select:{get:function(e){for(var t,n,i=e.options,r=e.selectedIndex,a="select-one"===e.type||0>r,o=a?null:[],s=a?r+1:i.length,l=0>r?s:a?r:0;s>l;l++)if(n=i[l],(n.selected||l===r)&&(ie.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!ae.nodeName(n.parentNode,"optgroup"))){if(t=ae(n).val(),a)return t;o.push(t)}return o},set:function(e,t){for(var n,i,r=e.options,a=ae.makeArray(t),o=r.length;o--;)i=r[o],(i.selected=ae.inArray(ae.valHooks.option.get(i),a)>-1)&&(n=!0);return n||(e.selectedIndex=-1),a}}}}),ae.each(["radio","checkbox"],function(){ae.valHooks[this]={set:function(e,t){return ae.isArray(t)?e.checked=ae.inArray(ae(e).val(),t)>-1:void 0}},ie.checkOn||(ae.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var mt=/^(?:focusinfocus|focusoutblur)$/;ae.extend(ae.event,{trigger:function(t,n,i,r){var a,o,s,l,u,d,c,h=[i||G],f=ne.call(t,"type")?t.type:t,p=ne.call(t,"namespace")?t.namespace.split("."):[];if(o=s=i=i||G,3!==i.nodeType&&8!==i.nodeType&&!mt.test(f+ae.event.triggered)&&(f.indexOf(".")>-1&&(p=f.split("."),f=p.shift(),p.sort()),u=f.indexOf(":")<0&&"on"+f,t=t[ae.expando]?t:new ae.Event(f,"object"==typeof t&&t),t.isTrigger=r?2:3,t.namespace=p.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:ae.makeArray(n,[t]),c=ae.event.special[f]||{},r||!c.trigger||c.trigger.apply(i,n)!==!1)){if(!r&&!c.noBubble&&!ae.isWindow(i)){for(l=c.delegateType||f,mt.test(l+f)||(o=o.parentNode);o;o=o.parentNode)h.push(o),s=o;s===(i.ownerDocument||G)&&h.push(s.defaultView||s.parentWindow||e)}for(a=0;(o=h[a++])&&!t.isPropagationStopped();)t.type=a>1?l:c.bindType||f,d=(Le.get(o,"events")||{})[t.type]&&Le.get(o,"handle"),d&&d.apply(o,n),d=u&&o[u],d&&d.apply&&ke(o)&&(t.result=d.apply(o,n),t.result===!1&&t.preventDefault());return t.type=f,r||t.isDefaultPrevented()||c._default&&c._default.apply(h.pop(),n)!==!1||!ke(i)||u&&ae.isFunction(i[f])&&!ae.isWindow(i)&&(s=i[u],s&&(i[u]=null),ae.event.triggered=f,i[f](),ae.event.triggered=void 0,s&&(i[u]=s)),t.result}},simulate:function(e,t,n){var i=ae.extend(new ae.Event,n,{type:e,isSimulated:!0});ae.event.trigger(i,null,t)}}),ae.fn.extend({trigger:function(e,t){return this.each(function(){ae.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?ae.event.trigger(e,t,n,!0):void 0}}),ae.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){ae.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),ae.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),ie.focusin="onfocusin"in e,ie.focusin||ae.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){ae.event.simulate(t,e.target,ae.event.fix(e))};ae.event.special[t]={setup:function(){var i=this.ownerDocument||this,r=Le.access(i,t);r||i.addEventListener(e,n,!0),Le.access(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=Le.access(i,t)-1;r?Le.access(i,t,r):(i.removeEventListener(e,n,!0),Le.remove(i,t))}}});var _t=e.location,gt=ae.now(),yt=/\?/;ae.parseJSON=function(e){return JSON.parse(e+"")},ae.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(i){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||ae.error("Invalid XML: "+t),n};var vt=/#.*$/,bt=/([?&])_=[^&]*/,Mt=/^(.*?):[ \t]*([^\r\n]*)$/gm,wt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,xt=/^(?:GET|HEAD)$/,kt=/^\/\//,Lt={},Dt={},Tt="*/".concat("*"),Yt=G.createElement("a");Yt.href=_t.href,ae.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:_t.href,type:"GET",isLocal:wt.test(_t.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Tt,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":ae.parseJSON,"text xml":ae.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?B(B(e,ae.ajaxSettings),t):B(ae.ajaxSettings,e)},ajaxPrefilter:N(Lt),ajaxTransport:N(Dt),ajax:function(t,n){function i(t,n,i,s){var u,c,y,v,M,x=n;2!==b&&(b=2,l&&e.clearTimeout(l),r=void 0,o=s||"",w.readyState=t>0?4:0,u=t>=200&&300>t||304===t,i&&(v=$(h,w,i)),v=V(h,v,w,u),u?(h.ifModified&&(M=w.getResponseHeader("Last-Modified"),M&&(ae.lastModified[a]=M),M=w.getResponseHeader("etag"),M&&(ae.etag[a]=M)),204===t||"HEAD"===h.type?x="nocontent":304===t?x="notmodified":(x=v.state,c=v.data,y=v.error,u=!y)):(y=x,!t&&x||(x="error",0>t&&(t=0))),w.status=t,w.statusText=(n||x)+"",u?m.resolveWith(f,[c,x,w]):m.rejectWith(f,[w,x,y]),w.statusCode(g),g=void 0,d&&p.trigger(u?"ajaxSuccess":"ajaxError",[w,h,u?c:y]),_.fireWith(f,[w,x]),d&&(p.trigger("ajaxComplete",[w,h]),--ae.active||ae.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var r,a,o,s,l,u,d,c,h=ae.ajaxSetup({},n),f=h.context||h,p=h.context&&(f.nodeType||f.jquery)?ae(f):ae.event,m=ae.Deferred(),_=ae.Callbacks("once memory"),g=h.statusCode||{},y={},v={},b=0,M="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!s)for(s={};t=Mt.exec(o);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?o:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=v[n]=v[n]||e,y[e]=t),this},overrideMimeType:function(e){return b||(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>b)for(t in e)g[t]=[g[t],e[t]];else w.always(e[w.status]);return this},abort:function(e){var t=e||M;return r&&r.abort(t),i(0,t),this}};if(m.promise(w).complete=_.add,w.success=w.done,w.error=w.fail,h.url=((t||h.url||_t.href)+"").replace(vt,"").replace(kt,_t.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=ae.trim(h.dataType||"*").toLowerCase().match(Me)||[""],null==h.crossDomain){u=G.createElement("a");try{u.href=h.url,u.href=u.href,h.crossDomain=Yt.protocol+"//"+Yt.host!=u.protocol+"//"+u.host}catch(x){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=ae.param(h.data,h.traditional)),z(Lt,h,n,w),2===b)return w;d=ae.event&&h.global,d&&0===ae.active++&&ae.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!xt.test(h.type),a=h.url,h.hasContent||(h.data&&(a=h.url+=(yt.test(a)?"&":"?")+h.data,delete h.data),h.cache===!1&&(h.url=bt.test(a)?a.replace(bt,"$1_="+gt++):a+(yt.test(a)?"&":"?")+"_="+gt++)),h.ifModified&&(ae.lastModified[a]&&w.setRequestHeader("If-Modified-Since",ae.lastModified[a]),ae.etag[a]&&w.setRequestHeader("If-None-Match",ae.etag[a])),(h.data&&h.hasContent&&h.contentType!==!1||n.contentType)&&w.setRequestHeader("Content-Type",h.contentType),w.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Tt+"; q=0.01":""):h.accepts["*"]);for(c in h.headers)w.setRequestHeader(c,h.headers[c]);if(h.beforeSend&&(h.beforeSend.call(f,w,h)===!1||2===b))return w.abort();M="abort";for(c in{success:1,error:1,complete:1})w[c](h[c]);if(r=z(Dt,h,n,w)){if(w.readyState=1,d&&p.trigger("ajaxSend",[w,h]),2===b)return w;h.async&&h.timeout>0&&(l=e.setTimeout(function(){w.abort("timeout")},h.timeout));try{b=1,r.send(y,i)}catch(x){if(!(2>b))throw x;i(-1,x)}}else i(-1,"No Transport");return w},getJSON:function(e,t,n){return ae.get(e,t,n,"json")},getScript:function(e,t){return ae.get(e,void 0,t,"script")}}),ae.each(["get","post"],function(e,t){ae[t]=function(e,n,i,r){return ae.isFunction(n)&&(r=r||i,i=n,n=void 0),ae.ajax(ae.extend({url:e,type:t,dataType:r,data:n,success:i},ae.isPlainObject(e)&&e))}}),ae._evalUrl=function(e){return ae.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},ae.fn.extend({wrapAll:function(e){var t;return ae.isFunction(e)?this.each(function(t){ae(this).wrapAll(e.call(this,t))}):(this[0]&&(t=ae(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(e){return ae.isFunction(e)?this.each(function(t){ae(this).wrapInner(e.call(this,t))}):this.each(function(){var t=ae(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=ae.isFunction(e);return this.each(function(n){ae(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){ae.nodeName(this,"body")||ae(this).replaceWith(this.childNodes)}).end()}}),ae.expr.filters.hidden=function(e){return!ae.expr.filters.visible(e)},ae.expr.filters.visible=function(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0};var St=/%20/g,Ct=/\[\]$/,Ht=/\r?\n/g,jt=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;ae.param=function(e,t){var n,i=[],r=function(e,t){t=ae.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=ae.ajaxSettings&&ae.ajaxSettings.traditional),ae.isArray(e)||e.jquery&&!ae.isPlainObject(e))ae.each(e,function(){r(this.name,this.value)});else for(n in e)q(n,e[n],t,r);return i.join("&").replace(St,"+")},ae.fn.extend({serialize:function(){return ae.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ae.prop(this,"elements");return e?ae.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ae(this).is(":disabled")&&At.test(this.nodeName)&&!jt.test(e)&&(this.checked||!Ae.test(e))}).map(function(e,t){var n=ae(this).val();return null==n?null:ae.isArray(n)?ae.map(n,function(e){return{name:t.name,value:e.replace(Ht,"\r\n")}}):{name:t.name,value:n.replace(Ht,"\r\n")}}).get()}}),ae.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(t){}};var Pt={0:200,1223:204},Et=ae.ajaxSettings.xhr();ie.cors=!!Et&&"withCredentials"in Et,ie.ajax=Et=!!Et,ae.ajaxTransport(function(t){var n,i;return ie.cors||Et&&!t.crossDomain?{send:function(r,a){var o,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)s[o]=t.xhrFields[o];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(o in r)s.setRequestHeader(o,r[o]);n=function(e){return function(){n&&(n=i=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?a(0,"error"):a(s.status,s.statusText):a(Pt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),i=s.onerror=n("error"),void 0!==s.onabort?s.onabort=i:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&i()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(l){if(n)throw l}},abort:function(){n&&n()}}:void 0}),ae.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 ae.globalEval(e),e}}}),ae.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ae.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(i,r){t=ae("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),G.head.appendChild(t[0])},abort:function(){n&&n()}}}});var It=[],Ot=/(=)\?(?=&|$)|\?\?/;ae.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=It.pop()||ae.expando+"_"+gt++;return this[e]=!0,e}}),ae.ajaxPrefilter("json jsonp",function(t,n,i){var r,a,o,s=t.jsonp!==!1&&(Ot.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ot.test(t.data)&&"data");return s||"jsonp"===t.dataTypes[0]?(r=t.jsonpCallback=ae.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Ot,"$1"+r):t.jsonp!==!1&&(t.url+=(yt.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return o||ae.error(r+" was not called"),o[0]},t.dataTypes[0]="json",a=e[r],e[r]=function(){o=arguments},i.always(function(){void 0===a?ae(e).removeProp(r):e[r]=a,t[r]&&(t.jsonpCallback=n.jsonpCallback,It.push(r)),o&&ae.isFunction(a)&&a(o[0]),o=a=void 0}),"script"):void 0}),ae.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||G;var i=pe.exec(e),r=!n&&[];return i?[t.createElement(i[1])]:(i=h([e],t,r),r&&r.length&&ae(r).remove(),ae.merge([],i.childNodes))};var Wt=ae.fn.load;ae.fn.load=function(e,t,n){if("string"!=typeof e&&Wt)return Wt.apply(this,arguments);var i,r,a,o=this,s=e.indexOf(" ");return s>-1&&(i=ae.trim(e.slice(s)),e=e.slice(0,s)),ae.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),o.length>0&&ae.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){a=arguments,o.html(i?ae("<div>").append(ae.parseHTML(e)).find(i):e)}).always(n&&function(e,t){o.each(function(){n.apply(this,a||[e.responseText,t,e])})}),this},ae.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ae.fn[t]=function(e){return this.on(t,e)}}),ae.expr.filters.animated=function(e){return ae.grep(ae.timers,function(t){return e===t.elem}).length},ae.offset={setOffset:function(e,t,n){var i,r,a,o,s,l,u,d=ae.css(e,"position"),c=ae(e),h={};"static"===d&&(e.style.position="relative"),s=c.offset(),a=ae.css(e,"top"),l=ae.css(e,"left"),u=("absolute"===d||"fixed"===d)&&(a+l).indexOf("auto")>-1,u?(i=c.position(),o=i.top,r=i.left):(o=parseFloat(a)||0,r=parseFloat(l)||0),ae.isFunction(t)&&(t=t.call(e,n,ae.extend({},s))),null!=t.top&&(h.top=t.top-s.top+o),null!=t.left&&(h.left=t.left-s.left+r),"using"in t?t.using.call(e,h):c.css(h)}},ae.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){ae.offset.setOffset(this,e,t)});var t,n,i=this[0],r={top:0,left:0},a=i&&i.ownerDocument;return a?(t=a.documentElement,ae.contains(t,i)?(r=i.getBoundingClientRect(),n=U(a),{top:r.top+n.pageYOffset-t.clientTop,left:r.left+n.pageXOffset-t.clientLeft}):r):void 0},position:function(){if(this[0]){var e,t,n=this[0],i={top:0,left:0};return"fixed"===ae.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),ae.nodeName(e[0],"html")||(i=e.offset()),i.top+=ae.css(e[0],"borderTopWidth",!0),i.left+=ae.css(e[0],"borderLeftWidth",!0)),{top:t.top-i.top-ae.css(n,"marginTop",!0),left:t.left-i.left-ae.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===ae.css(e,"position");)e=e.offsetParent;return e||Ze})}}),ae.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;ae.fn[e]=function(i){return xe(this,function(e,i,r){var a=U(e);return void 0===r?a?a[t]:e[i]:void(a?a.scrollTo(n?a.pageXOffset:r,n?r:a.pageYOffset):e[i]=r)},e,i,arguments.length)}}),ae.each(["top","left"],function(e,t){ae.cssHooks[t]=T(ie.pixelPosition,function(e,n){return n?(n=D(e,t),Ge.test(n)?ae(e).position()[t]+"px":n):void 0})}),ae.each({Height:"height",Width:"width"},function(e,t){ae.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){ae.fn[i]=function(i,r){var a=arguments.length&&(n||"boolean"!=typeof i),o=n||(i===!0||r===!0?"margin":"border");return xe(this,function(t,n,i){var r;return ae.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+e],r["scroll"+e],t.body["offset"+e],r["offset"+e],r["client"+e])):void 0===i?ae.css(t,n,o):ae.style(t,n,i,o)},t,a?i:void 0,a,null)}})}),ae.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},size:function(){return this.length}}),ae.fn.andSelf=ae.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return ae});var Ft=e.jQuery,Rt=e.$;return ae.noConflict=function(t){return e.$===ae&&(e.$=Rt),t&&e.jQuery===ae&&(e.jQuery=Ft),ae},t||(e.jQuery=e.$=ae),ae}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(e){"use strict";var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1||t[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(jQuery),+function(e){"use strict";function t(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in t)if(void 0!==e.style[n])return{end:t[n]};return!1}e.fn.emulateTransitionEnd=function(t){var n=!1,i=this;e(this).one("bsTransitionEnd",function(){n=!0});var r=function(){n||e(i).trigger(e.support.transition.end)};return setTimeout(r,t),this},e(function(){e.support.transition=t(),e.support.transition&&(e.event.special.bsTransitionEnd={bindType:e.support.transition.end,delegateType:e.support.transition.end,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var n=e(this),r=n.data("bs.alert");r||n.data("bs.alert",r=new i(this)),"string"==typeof t&&r[t].call(n)})}var n='[data-dismiss="alert"]',i=function(t){e(t).on("click",n,this.close)};i.VERSION="3.3.7",i.TRANSITION_DURATION=150,i.prototype.close=function(t){function n(){o.detach().trigger("closed.bs.alert").remove()}var r=e(this),a=r.attr("data-target");a||(a=r.attr("href"),a=a&&a.replace(/.*(?=#[^\s]*$)/,""));var o=e("#"===a?[]:a);t&&t.preventDefault(),o.length||(o=r.closest(".alert")),o.trigger(t=e.Event("close.bs.alert")),t.isDefaultPrevented()||(o.removeClass("in"),e.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",n).emulateTransitionEnd(i.TRANSITION_DURATION):n())};var r=e.fn.alert;e.fn.alert=t,e.fn.alert.Constructor=i,e.fn.alert.noConflict=function(){return e.fn.alert=r,this},e(document).on("click.bs.alert.data-api",n,i.prototype.close)}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var i=e(this),r=i.data("bs.button"),a="object"==typeof t&&t;r||i.data("bs.button",r=new n(this,a)),"toggle"==t?r.toggle():t&&r.setState(t)})}var n=function(t,i){this.$element=e(t),this.options=e.extend({},n.DEFAULTS,i),this.isLoading=!1};n.VERSION="3.3.7",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(t){var n="disabled",i=this.$element,r=i.is("input")?"val":"html",a=i.data();t+="Text",null==a.resetText&&i.data("resetText",i[r]()),setTimeout(e.proxy(function(){i[r](null==a[t]?this.options[t]:a[t]),"loadingText"==t?(this.isLoading=!0,i.addClass(n).attr(n,n).prop(n,!0)):this.isLoading&&(this.isLoading=!1,i.removeClass(n).removeAttr(n).prop(n,!1))},this),0)},n.prototype.toggle=function(){var e=!0,t=this.$element.closest('[data-toggle="buttons"]');if(t.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(e=!1),t.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(e=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),e&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var i=e.fn.button;e.fn.button=t,e.fn.button.Constructor=n,e.fn.button.noConflict=function(){return e.fn.button=i,this},e(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var i=e(n.target).closest(".btn");t.call(i,"toggle"),e(n.target).is('input[type="radio"], input[type="checkbox"]')||(n.preventDefault(),i.is("input,button")?i.trigger("focus"):i.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){e(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var i=e(this),r=i.data("bs.carousel"),a=e.extend({},n.DEFAULTS,i.data(),"object"==typeof t&&t),o="string"==typeof t?t:a.slide;r||i.data("bs.carousel",r=new n(this,a)),"number"==typeof t?r.to(t):o?r[o]():a.interval&&r.pause().cycle()})}var n=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",e.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",e.proxy(this.pause,this)).on("mouseleave.bs.carousel",e.proxy(this.cycle,this))};n.VERSION="3.3.7",n.TRANSITION_DURATION=600,n.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},n.prototype.keydown=function(e){if(!/input|textarea/i.test(e.target.tagName)){switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return}e.preventDefault()}},n.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},n.prototype.getItemIndex=function(e){return this.$items=e.parent().children(".item"),this.$items.index(e||this.$active)},n.prototype.getItemForDirection=function(e,t){var n=this.getItemIndex(t),i="prev"==e&&0===n||"next"==e&&n==this.$items.length-1;if(i&&!this.options.wrap)return t;var r="prev"==e?-1:1,a=(n+r)%this.$items.length;return this.$items.eq(a)},n.prototype.to=function(e){var t=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(e>this.$items.length-1||e<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){t.to(e)}):n==e?this.pause().cycle():this.slide(e>n?"next":"prev",this.$items.eq(e))},n.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},n.prototype.next=function(){if(!this.sliding)return this.slide("next")},n.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},n.prototype.slide=function(t,i){var r=this.$element.find(".item.active"),a=i||this.getItemForDirection(t,r),o=this.interval,s="next"==t?"left":"right",l=this;if(a.hasClass("active"))return this.sliding=!1;var u=a[0],d=e.Event("slide.bs.carousel",{relatedTarget:u,direction:s});if(this.$element.trigger(d),!d.isDefaultPrevented()){if(this.sliding=!0,o&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var c=e(this.$indicators.children()[this.getItemIndex(a)]);c&&c.addClass("active")}var h=e.Event("slid.bs.carousel",{relatedTarget:u,direction:s});return e.support.transition&&this.$element.hasClass("slide")?(a.addClass(t),a[0].offsetWidth,r.addClass(s),a.addClass(s),r.one("bsTransitionEnd",function(){a.removeClass([t,s].join(" ")).addClass("active"),r.removeClass(["active",s].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(h)},0)}).emulateTransitionEnd(n.TRANSITION_DURATION)):(r.removeClass("active"),a.addClass("active"),this.sliding=!1,this.$element.trigger(h)),o&&this.cycle(),this}};var i=e.fn.carousel;e.fn.carousel=t,e.fn.carousel.Constructor=n,e.fn.carousel.noConflict=function(){return e.fn.carousel=i,this};var r=function(n){var i,r=e(this),a=e(r.attr("data-target")||(i=r.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""));if(a.hasClass("carousel")){var o=e.extend({},a.data(),r.data()),s=r.attr("data-slide-to");s&&(o.interval=!1),t.call(a,o),s&&a.data("bs.carousel").to(s),n.preventDefault()}};e(document).on("click.bs.carousel.data-api","[data-slide]",r).on("click.bs.carousel.data-api","[data-slide-to]",r),e(window).on("load",function(){e('[data-ride="carousel"]').each(function(){var n=e(this);t.call(n,n.data())})})}(jQuery),+function(e){"use strict";function t(t){var n,i=t.attr("data-target")||(n=t.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return e(i)}function n(t){return this.each(function(){var n=e(this),r=n.data("bs.collapse"),a=e.extend({},i.DEFAULTS,n.data(),"object"==typeof t&&t);!r&&a.toggle&&/show|hide/.test(t)&&(a.toggle=!1),r||n.data("bs.collapse",r=new i(this,a)),"string"==typeof t&&r[t]()})}var i=function(t,n){this.$element=e(t),this.options=e.extend({},i.DEFAULTS,n),this.$trigger=e('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};i.VERSION="3.3.7",i.TRANSITION_DURATION=350,i.DEFAULTS={toggle:!0},i.prototype.dimension=function(){var e=this.$element.hasClass("width");return e?"width":"height"},i.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t,r=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(r&&r.length&&(t=r.data("bs.collapse"),t&&t.transitioning))){var a=e.Event("show.bs.collapse");if(this.$element.trigger(a),!a.isDefaultPrevented()){r&&r.length&&(n.call(r,"hide"),t||r.data("bs.collapse",null));var o=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[o](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[o](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!e.support.transition)return s.call(this);var l=e.camelCase(["scroll",o].join("-"));this.$element.one("bsTransitionEnd",e.proxy(s,this)).emulateTransitionEnd(i.TRANSITION_DURATION)[o](this.$element[0][l])}}}},i.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=e.Event("hide.bs.collapse");
if(this.$element.trigger(t),!t.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var r=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return e.support.transition?void this.$element[n](0).one("bsTransitionEnd",e.proxy(r,this)).emulateTransitionEnd(i.TRANSITION_DURATION):r.call(this)}}},i.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},i.prototype.getParent=function(){return e(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(e.proxy(function(n,i){var r=e(i);this.addAriaAndCollapsedClass(t(r),r)},this)).end()},i.prototype.addAriaAndCollapsedClass=function(e,t){var n=e.hasClass("in");e.attr("aria-expanded",n),t.toggleClass("collapsed",!n).attr("aria-expanded",n)};var r=e.fn.collapse;e.fn.collapse=n,e.fn.collapse.Constructor=i,e.fn.collapse.noConflict=function(){return e.fn.collapse=r,this},e(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(i){var r=e(this);r.attr("data-target")||i.preventDefault();var a=t(r),o=a.data("bs.collapse"),s=o?"toggle":r.data();n.call(a,s)})}(jQuery),+function(e){"use strict";function t(t){var n=t.attr("data-target");n||(n=t.attr("href"),n=n&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i=n&&e(n);return i&&i.length?i:t.parent()}function n(n){n&&3===n.which||(e(r).remove(),e(a).each(function(){var i=e(this),r=t(i),a={relatedTarget:this};r.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&e.contains(r[0],n.target)||(r.trigger(n=e.Event("hide.bs.dropdown",a)),n.isDefaultPrevented()||(i.attr("aria-expanded","false"),r.removeClass("open").trigger(e.Event("hidden.bs.dropdown",a)))))}))}function i(t){return this.each(function(){var n=e(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new o(this)),"string"==typeof t&&i[t].call(n)})}var r=".dropdown-backdrop",a='[data-toggle="dropdown"]',o=function(t){e(t).on("click.bs.dropdown",this.toggle)};o.VERSION="3.3.7",o.prototype.toggle=function(i){var r=e(this);if(!r.is(".disabled, :disabled")){var a=t(r),o=a.hasClass("open");if(n(),!o){"ontouchstart"in document.documentElement&&!a.closest(".navbar-nav").length&&e(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(e(this)).on("click",n);var s={relatedTarget:this};if(a.trigger(i=e.Event("show.bs.dropdown",s)),i.isDefaultPrevented())return;r.trigger("focus").attr("aria-expanded","true"),a.toggleClass("open").trigger(e.Event("shown.bs.dropdown",s))}return!1}},o.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var i=e(this);if(n.preventDefault(),n.stopPropagation(),!i.is(".disabled, :disabled")){var r=t(i),o=r.hasClass("open");if(!o&&27!=n.which||o&&27==n.which)return 27==n.which&&r.find(a).trigger("focus"),i.trigger("click");var s=" li:not(.disabled):visible a",l=r.find(".dropdown-menu"+s);if(l.length){var u=l.index(n.target);38==n.which&&u>0&&u--,40==n.which&&u<l.length-1&&u++,~u||(u=0),l.eq(u).trigger("focus")}}}};var s=e.fn.dropdown;e.fn.dropdown=i,e.fn.dropdown.Constructor=o,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=s,this},e(document).on("click.bs.dropdown.data-api",n).on("click.bs.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.bs.dropdown.data-api",a,o.prototype.toggle).on("keydown.bs.dropdown.data-api",a,o.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",o.prototype.keydown)}(jQuery),+function(e){"use strict";function t(t,i){return this.each(function(){var r=e(this),a=r.data("bs.modal"),o=e.extend({},n.DEFAULTS,r.data(),"object"==typeof t&&t);a||r.data("bs.modal",a=new n(this,o)),"string"==typeof t?a[t](i):o.show&&a.show(i)})}var n=function(t,n){this.options=n,this.$body=e(document.body),this.$element=e(t),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,e.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};n.VERSION="3.3.7",n.TRANSITION_DURATION=300,n.BACKDROP_TRANSITION_DURATION=150,n.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},n.prototype.toggle=function(e){return this.isShown?this.hide():this.show(e)},n.prototype.show=function(t){var i=this,r=e.Event("show.bs.modal",{relatedTarget:t});this.$element.trigger(r),this.isShown||r.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',e.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){i.$element.one("mouseup.dismiss.bs.modal",function(t){e(t.target).is(i.$element)&&(i.ignoreBackdropClick=!0)})}),this.backdrop(function(){var r=e.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),i.adjustDialog(),r&&i.$element[0].offsetWidth,i.$element.addClass("in"),i.enforceFocus();var a=e.Event("shown.bs.modal",{relatedTarget:t});r?i.$dialog.one("bsTransitionEnd",function(){i.$element.trigger("focus").trigger(a)}).emulateTransitionEnd(n.TRANSITION_DURATION):i.$element.trigger("focus").trigger(a)}))},n.prototype.hide=function(t){t&&t.preventDefault(),t=e.Event("hide.bs.modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),e(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),e.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",e.proxy(this.hideModal,this)).emulateTransitionEnd(n.TRANSITION_DURATION):this.hideModal())},n.prototype.enforceFocus=function(){e(document).off("focusin.bs.modal").on("focusin.bs.modal",e.proxy(function(e){document===e.target||this.$element[0]===e.target||this.$element.has(e.target).length||this.$element.trigger("focus")},this))},n.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",e.proxy(function(e){27==e.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},n.prototype.resize=function(){this.isShown?e(window).on("resize.bs.modal",e.proxy(this.handleUpdate,this)):e(window).off("resize.bs.modal")},n.prototype.hideModal=function(){var e=this;this.$element.hide(),this.backdrop(function(){e.$body.removeClass("modal-open"),e.resetAdjustments(),e.resetScrollbar(),e.$element.trigger("hidden.bs.modal")})},n.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},n.prototype.backdrop=function(t){var i=this,r=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var a=e.support.transition&&r;if(this.$backdrop=e(document.createElement("div")).addClass("modal-backdrop "+r).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",e.proxy(function(e){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(e.target===e.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),a&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!t)return;a?this.$backdrop.one("bsTransitionEnd",t).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):t()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var o=function(){i.removeBackdrop(),t&&t()};e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",o).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):o()}else t&&t()},n.prototype.handleUpdate=function(){this.adjustDialog()},n.prototype.adjustDialog=function(){var e=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&e?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!e?this.scrollbarWidth:""})},n.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},n.prototype.checkScrollbar=function(){var e=window.innerWidth;if(!e){var t=document.documentElement.getBoundingClientRect();e=t.right-Math.abs(t.left)}this.bodyIsOverflowing=document.body.clientWidth<e,this.scrollbarWidth=this.measureScrollbar()},n.prototype.setScrollbar=function(){var e=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",e+this.scrollbarWidth)},n.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},n.prototype.measureScrollbar=function(){var e=document.createElement("div");e.className="modal-scrollbar-measure",this.$body.append(e);var t=e.offsetWidth-e.clientWidth;return this.$body[0].removeChild(e),t};var i=e.fn.modal;e.fn.modal=t,e.fn.modal.Constructor=n,e.fn.modal.noConflict=function(){return e.fn.modal=i,this},e(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(n){var i=e(this),r=i.attr("href"),a=e(i.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),o=a.data("bs.modal")?"toggle":e.extend({remote:!/#/.test(r)&&r},a.data(),i.data());i.is("a")&&n.preventDefault(),a.one("show.bs.modal",function(e){e.isDefaultPrevented()||a.one("hidden.bs.modal",function(){i.is(":visible")&&i.trigger("focus")})}),t.call(a,o,this)})}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var i=e(this),r=i.data("bs.tooltip"),a="object"==typeof t&&t;!r&&/destroy|hide/.test(t)||(r||i.data("bs.tooltip",r=new n(this,a)),"string"==typeof t&&r[t]())})}var n=function(e,t){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",e,t)};n.VERSION="3.3.7",n.TRANSITION_DURATION=150,n.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},n.prototype.init=function(t,n,i){if(this.enabled=!0,this.type=t,this.$element=e(n),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&e(e.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var r=this.options.trigger.split(" "),a=r.length;a--;){var o=r[a];if("click"==o)this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this));else if("manual"!=o){var s="hover"==o?"mouseenter":"focusin",l="hover"==o?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.getOptions=function(t){return t=e.extend({},this.getDefaults(),this.$element.data(),t),t.delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},n.prototype.getDelegateOptions=function(){var t={},n=this.getDefaults();return this._options&&e.each(this._options,function(e,i){n[e]!=i&&(t[e]=i)}),t},n.prototype.enter=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusin"==t.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState?void(n.hoverState="in"):(clearTimeout(n.timeout),n.hoverState="in",n.options.delay&&n.options.delay.show?void(n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)):n.show())},n.prototype.isInStateTrue=function(){for(var e in this.inState)if(this.inState[e])return!0;return!1},n.prototype.leave=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusout"==t.type?"focus":"hover"]=!1),!n.isInStateTrue())return clearTimeout(n.timeout),n.hoverState="out",n.options.delay&&n.options.delay.hide?void(n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)):n.hide()},n.prototype.show=function(){var t=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(t);var i=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(t.isDefaultPrevented()||!i)return;var r=this,a=this.tip(),o=this.getUID(this.type);this.setContent(),a.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&a.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,u=l.test(s);u&&(s=s.replace(l,"")||"top"),a.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?a.appendTo(this.options.container):a.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var d=this.getPosition(),c=a[0].offsetWidth,h=a[0].offsetHeight;if(u){var f=s,p=this.getPosition(this.$viewport);s="bottom"==s&&d.bottom+h>p.bottom?"top":"top"==s&&d.top-h<p.top?"bottom":"right"==s&&d.right+c>p.width?"left":"left"==s&&d.left-c<p.left?"right":s,a.removeClass(f).addClass(s)}var m=this.getCalculatedOffset(s,d,c,h);this.applyPlacement(m,s);var _=function(){var e=r.hoverState;r.$element.trigger("shown.bs."+r.type),r.hoverState=null,"out"==e&&r.leave(r)};e.support.transition&&this.$tip.hasClass("fade")?a.one("bsTransitionEnd",_).emulateTransitionEnd(n.TRANSITION_DURATION):_()}},n.prototype.applyPlacement=function(t,n){var i=this.tip(),r=i[0].offsetWidth,a=i[0].offsetHeight,o=parseInt(i.css("margin-top"),10),s=parseInt(i.css("margin-left"),10);isNaN(o)&&(o=0),isNaN(s)&&(s=0),t.top+=o,t.left+=s,e.offset.setOffset(i[0],e.extend({using:function(e){i.css({top:Math.round(e.top),left:Math.round(e.left)})}},t),0),i.addClass("in");var l=i[0].offsetWidth,u=i[0].offsetHeight;"top"==n&&u!=a&&(t.top=t.top+a-u);var d=this.getViewportAdjustedDelta(n,t,l,u);d.left?t.left+=d.left:t.top+=d.top;var c=/top|bottom/.test(n),h=c?2*d.left-r+l:2*d.top-a+u,f=c?"offsetWidth":"offsetHeight";i.offset(t),this.replaceArrow(h,i[0][f],c)},n.prototype.replaceArrow=function(e,t,n){this.arrow().css(n?"left":"top",50*(1-e/t)+"%").css(n?"top":"left","")},n.prototype.setContent=function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},n.prototype.hide=function(t){function i(){"in"!=r.hoverState&&a.detach(),r.$element&&r.$element.removeAttr("aria-describedby").trigger("hidden.bs."+r.type),t&&t()}var r=this,a=e(this.$tip),o=e.Event("hide.bs."+this.type);if(this.$element.trigger(o),!o.isDefaultPrevented())return a.removeClass("in"),e.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",i).emulateTransitionEnd(n.TRANSITION_DURATION):i(),this.hoverState=null,this},n.prototype.fixTitle=function(){var e=this.$element;(e.attr("title")||"string"!=typeof e.attr("data-original-title"))&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},n.prototype.hasContent=function(){return this.getTitle()},n.prototype.getPosition=function(t){t=t||this.$element;var n=t[0],i="BODY"==n.tagName,r=n.getBoundingClientRect();null==r.width&&(r=e.extend({},r,{width:r.right-r.left,height:r.bottom-r.top}));var a=window.SVGElement&&n instanceof window.SVGElement,o=i?{top:0,left:0}:a?null:t.offset(),s={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},l=i?{width:e(window).width(),height:e(window).height()}:null;return e.extend({},r,s,l,o)},n.prototype.getCalculatedOffset=function(e,t,n,i){return"bottom"==e?{top:t.top+t.height,left:t.left+t.width/2-n/2}:"top"==e?{top:t.top-i,left:t.left+t.width/2-n/2}:"left"==e?{top:t.top+t.height/2-i/2,left:t.left-n}:{top:t.top+t.height/2-i/2,left:t.left+t.width}},n.prototype.getViewportAdjustedDelta=function(e,t,n,i){var r={top:0,left:0};if(!this.$viewport)return r;var a=this.options.viewport&&this.options.viewport.padding||0,o=this.getPosition(this.$viewport);if(/right|left/.test(e)){var s=t.top-a-o.scroll,l=t.top+a-o.scroll+i;s<o.top?r.top=o.top-s:l>o.top+o.height&&(r.top=o.top+o.height-l)}else{var u=t.left-a,d=t.left+a+n;u<o.left?r.left=o.left-u:d>o.right&&(r.left=o.left+o.width-d)}return r},n.prototype.getTitle=function(){var e,t=this.$element,n=this.options;return e=t.attr("data-original-title")||("function"==typeof n.title?n.title.call(t[0]):n.title)},n.prototype.getUID=function(e){do e+=~~(1e6*Math.random());while(document.getElementById(e));return e},n.prototype.tip=function(){if(!this.$tip&&(this.$tip=e(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},n.prototype.enable=function(){this.enabled=!0},n.prototype.disable=function(){this.enabled=!1},n.prototype.toggleEnabled=function(){this.enabled=!this.enabled},n.prototype.toggle=function(t){var n=this;t&&(n=e(t.currentTarget).data("bs."+this.type),n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n))),t?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},n.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide(function(){e.$element.off("."+e.type).removeData("bs."+e.type),e.$tip&&e.$tip.detach(),e.$tip=null,e.$arrow=null,e.$viewport=null,e.$element=null})};var i=e.fn.tooltip;e.fn.tooltip=t,e.fn.tooltip.Constructor=n,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=i,this}}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var i=e(this),r=i.data("bs.popover"),a="object"==typeof t&&t;!r&&/destroy|hide/.test(t)||(r||i.data("bs.popover",r=new n(this,a)),"string"==typeof t&&r[t]())})}var n=function(e,t){this.init("popover",e,t)};if(!e.fn.tooltip)throw new Error("Popover requires tooltip.js");n.VERSION="3.3.7",n.DEFAULTS=e.extend({},e.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),n.prototype=e.extend({},e.fn.tooltip.Constructor.prototype),n.prototype.constructor=n,n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.setContent=function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},n.prototype.hasContent=function(){return this.getTitle()||this.getContent()},n.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=e.fn.popover;e.fn.popover=t,e.fn.popover.Constructor=n,e.fn.popover.noConflict=function(){return e.fn.popover=i,this}}(jQuery),+function(e){"use strict";function t(n,i){this.$body=e(document.body),this.$scrollElement=e(e(n).is(document.body)?window:n),this.options=e.extend({},t.DEFAULTS,i),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",e.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each(function(){var i=e(this),r=i.data("bs.scrollspy"),a="object"==typeof n&&n;r||i.data("bs.scrollspy",r=new t(this,a)),"string"==typeof n&&r[n]()})}t.VERSION="3.3.7",t.DEFAULTS={offset:10},t.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},t.prototype.refresh=function(){var t=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),e.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var t=e(this),r=t.data("target")||t.attr("href"),a=/^#./.test(r)&&e(r);return a&&a.length&&a.is(":visible")&&[[a[n]().top+i,r]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},t.prototype.process=function(){var e,t=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),r=this.offsets,a=this.targets,o=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),t>=i)return o!=(e=a[a.length-1])&&this.activate(e);if(o&&t<r[0])return this.activeTarget=null,this.clear();for(e=r.length;e--;)o!=a[e]&&t>=r[e]&&(void 0===r[e+1]||t<r[e+1])&&this.activate(a[e])},t.prototype.activate=function(t){this.activeTarget=t,this.clear();var n=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',i=e(n).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")},t.prototype.clear=function(){e(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var i=e.fn.scrollspy;e.fn.scrollspy=n,e.fn.scrollspy.Constructor=t,e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=i,this},e(window).on("load.bs.scrollspy.data-api",function(){e('[data-spy="scroll"]').each(function(){var t=e(this);n.call(t,t.data())})})}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var i=e(this),r=i.data("bs.tab");r||i.data("bs.tab",r=new n(this)),"string"==typeof t&&r[t]()})}var n=function(t){this.element=e(t)};n.VERSION="3.3.7",n.TRANSITION_DURATION=150,n.prototype.show=function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),i=t.data("target");if(i||(i=t.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var r=n.find(".active:last a"),a=e.Event("hide.bs.tab",{relatedTarget:t[0]}),o=e.Event("show.bs.tab",{relatedTarget:r[0]});if(r.trigger(a),t.trigger(o),!o.isDefaultPrevented()&&!a.isDefaultPrevented()){var s=e(i);this.activate(t.closest("li"),n),this.activate(s,s.parent(),function(){r.trigger({type:"hidden.bs.tab",relatedTarget:t[0]}),t.trigger({type:"shown.bs.tab",relatedTarget:r[0]})})}}},n.prototype.activate=function(t,i,r){function a(){o.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),t.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu").length&&t.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),r&&r()}var o=i.find("> .active"),s=r&&e.support.transition&&(o.length&&o.hasClass("fade")||!!i.find("> .fade").length);o.length&&s?o.one("bsTransitionEnd",a).emulateTransitionEnd(n.TRANSITION_DURATION):a(),o.removeClass("in")};var i=e.fn.tab;e.fn.tab=t,e.fn.tab.Constructor=n,e.fn.tab.noConflict=function(){return e.fn.tab=i,this};var r=function(n){n.preventDefault(),t.call(e(this),"show")};e(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',r).on("click.bs.tab.data-api",'[data-toggle="pill"]',r)}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var i=e(this),r=i.data("bs.affix"),a="object"==typeof t&&t;r||i.data("bs.affix",r=new n(this,a)),"string"==typeof t&&r[t]()})}var n=function(t,i){this.options=e.extend({},n.DEFAULTS,i),this.$target=e(this.options.target).on("scroll.bs.affix.data-api",e.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",e.proxy(this.checkPositionWithEventLoop,this)),this.$element=e(t),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};n.VERSION="3.3.7",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:window},n.prototype.getState=function(e,t,n,i){var r=this.$target.scrollTop(),a=this.$element.offset(),o=this.$target.height();if(null!=n&&"top"==this.affixed)return r<n&&"top";if("bottom"==this.affixed)return null!=n?!(r+this.unpin<=a.top)&&"bottom":!(r+o<=e-i)&&"bottom";var s=null==this.affixed,l=s?r:a.top,u=s?o:t;return null!=n&&r<=n?"top":null!=i&&l+u>=e-i&&"bottom"},n.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(n.RESET).addClass("affix");var e=this.$target.scrollTop(),t=this.$element.offset();return this.pinnedOffset=t.top-e},n.prototype.checkPositionWithEventLoop=function(){setTimeout(e.proxy(this.checkPosition,this),1)},n.prototype.checkPosition=function(){if(this.$element.is(":visible")){var t=this.$element.height(),i=this.options.offset,r=i.top,a=i.bottom,o=Math.max(e(document).height(),e(document.body).height());"object"!=typeof i&&(a=r=i),"function"==typeof r&&(r=i.top(this.$element)),"function"==typeof a&&(a=i.bottom(this.$element));var s=this.getState(o,t,r,a);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var l="affix"+(s?"-"+s:""),u=e.Event(l+".bs.affix");if(this.$element.trigger(u),u.isDefaultPrevented())return;this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(n.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:o-t-a})}};var i=e.fn.affix;e.fn.affix=t,e.fn.affix.Constructor=n,e.fn.affix.noConflict=function(){return e.fn.affix=i,this},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var n=e(this),i=n.data();i.offset=i.offset||{},null!=i.offsetBottom&&(i.offset.bottom=i.offsetBottom),null!=i.offsetTop&&(i.offset.top=i.offsetTop),t.call(n,i)})})}(jQuery),!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";function e(){return hr.apply(null,arguments)}function t(e){hr=e}function n(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function r(e){var t;for(t in e)return!1;return!0}function a(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function o(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function s(e,t){var n,i=[];for(n=0;n<e.length;++n)i.push(t(e[n],n));return i}function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){for(var n in t)l(t,n)&&(e[n]=t[n]);return l(t,"toString")&&(e.toString=t.toString),l(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,n,i){return gt(e,t,n,i,!0).utc()}function c(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function h(e){return null==e._pf&&(e._pf=c()),e._pf}function f(e){if(null==e._isValid){var t=h(e),n=pr.call(t.parsedDateParts,function(e){return null!=e}),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function p(e){var t=d(NaN);return null!=e?u(h(t),e):h(t).userInvalidated=!0,t}function m(e){return void 0===e}function _(e,t){var n,i,r;if(m(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),m(t._i)||(e._i=t._i),m(t._f)||(e._f=t._f),m(t._l)||(e._l=t._l),m(t._strict)||(e._strict=t._strict),m(t._tzm)||(e._tzm=t._tzm),m(t._isUTC)||(e._isUTC=t._isUTC),m(t._offset)||(e._offset=t._offset),m(t._pf)||(e._pf=h(t)),m(t._locale)||(e._locale=t._locale),mr.length>0)for(n in mr)i=mr[n],r=t[i],m(r)||(e[i]=r);return e}function g(t){_(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),_r===!1&&(_r=!0,e.updateOffset(this),_r=!1)}function y(e){return e instanceof g||null!=e&&null!=e._isAMomentObject}function v(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function b(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=v(t)),n}function M(e,t,n){var i,r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0;for(i=0;i<r;i++)(n&&e[i]!==t[i]||!n&&b(e[i])!==b(t[i]))&&o++;return o+a}function w(t){e.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&void 0}function x(t,n){var i=!0;return u(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),i){for(var r,a=[],o=0;o<arguments.length;o++){if(r="","object"==typeof arguments[o]){r+="\n["+o+"] ";for(var s in arguments[0])r+=s+": "+arguments[0][s]+", ";r=r.slice(0,-2)}else r=arguments[o];a.push(r)}w(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),i=!1}return n.apply(this,arguments)},n)}function k(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),gr[t]||(w(n),gr[t]=!0)}function L(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function D(e){var t,n;for(n in e)t=e[n],L(t)?this[n]=t:this["_"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function T(e,t){var n,r=u({},e);for(n in t)l(t,n)&&(i(e[n])&&i(t[n])?(r[n]={},u(r[n],e[n]),u(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)l(e,n)&&!l(t,n)&&i(e[n])&&(r[n]=u({},r[n]));return r}function Y(e){null!=e&&this.set(e)}function S(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return L(i)?i.call(t,n):i}function C(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])}function H(){return this._invalidDate}function j(e){return this._ordinal.replace("%d",e)}function A(e,t,n,i){var r=this._relativeTime[n];return L(r)?r(e,t,n,i):r.replace(/%d/i,e)}function P(e,t){var n=this._relativeTime[e>0?"future":"past"];return L(n)?n(t):n.replace(/%s/i,t)}function E(e,t){var n=e.toLowerCase();Tr[n]=Tr[n+"s"]=Tr[t]=e}function I(e){return"string"==typeof e?Tr[e]||Tr[e.toLowerCase()]:void 0}function O(e){var t,n,i={};for(n in e)l(e,n)&&(t=I(n),t&&(i[t]=e[n]));return i}function W(e,t){Yr[e]=t}function F(e){var t=[];for(var n in e)t.push({unit:n,priority:Yr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function R(t,n){return function(i){return null!=i?(z(this,t,i),e.updateOffset(this,n),this):N(this,t)}}function N(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function z(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function B(e){return e=I(e),L(this[e])?this[e]():this;
}function $(e,t){if("object"==typeof e){e=O(e);for(var n=F(e),i=0;i<n.length;i++)this[n[i].unit](e[n[i].unit])}else if(e=I(e),L(this[e]))return this[e](t);return this}function V(e,t,n){var i=""+Math.abs(e),r=t-i.length,a=e>=0;return(a?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}function q(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(jr[e]=r),t&&(jr[t[0]]=function(){return V(r.apply(this,arguments),t[1],t[2])}),n&&(jr[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function U(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function J(e){var t,n,i=e.match(Sr);for(t=0,n=i.length;t<n;t++)jr[i[t]]?i[t]=jr[i[t]]:i[t]=U(i[t]);return function(t){var r,a="";for(r=0;r<n;r++)a+=i[r]instanceof Function?i[r].call(t,e):i[r];return a}}function G(e,t){return e.isValid()?(t=X(t,e.localeData()),Hr[t]=Hr[t]||J(t),Hr[t](e)):e.localeData().invalidDate()}function X(e,t){function n(e){return t.longDateFormat(e)||e}var i=5;for(Cr.lastIndex=0;i>=0&&Cr.test(e);)e=e.replace(Cr,n),Cr.lastIndex=0,i-=1;return e}function K(e,t,n){Xr[e]=L(t)?t:function(e,i){return e&&n?n:t}}function Z(e,t){return l(Xr,e)?Xr[e](t._strict,t._locale):new RegExp(Q(e))}function Q(e){return ee(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r}))}function ee(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function te(e,t){var n,i=t;for("string"==typeof e&&(e=[e]),a(t)&&(i=function(e,n){n[t]=b(e)}),n=0;n<e.length;n++)Kr[e[n]]=i}function ne(e,t){te(e,function(e,n,i,r){i._w=i._w||{},t(e,i._w,i,r)})}function ie(e,t,n){null!=t&&l(Kr,e)&&Kr[e](t,n._a,n,e)}function re(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function ae(e,t){return e?n(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||la).test(t)?"format":"standalone"][e.month()]:this._months}function oe(e,t){return e?n(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[la.test(t)?"format":"standalone"][e.month()]:this._monthsShort}function se(e,t,n){var i,r,a,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)a=d([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?(r=sa.call(this._shortMonthsParse,o),r!==-1?r:null):(r=sa.call(this._longMonthsParse,o),r!==-1?r:null):"MMM"===t?(r=sa.call(this._shortMonthsParse,o),r!==-1?r:(r=sa.call(this._longMonthsParse,o),r!==-1?r:null)):(r=sa.call(this._longMonthsParse,o),r!==-1?r:(r=sa.call(this._shortMonthsParse,o),r!==-1?r:null))}function le(e,t,n){var i,r,a;if(this._monthsParseExact)return se.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=d([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}}function ue(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=b(t);else if(t=e.localeData().monthsParse(t),!a(t))return e;return n=Math.min(e.date(),re(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function de(t){return null!=t?(ue(this,t),e.updateOffset(this,!0),this):N(this,"Month")}function ce(){return re(this.year(),this.month())}function he(e){return this._monthsParseExact?(l(this,"_monthsRegex")||pe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=ca),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function fe(e){return this._monthsParseExact?(l(this,"_monthsRegex")||pe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=ha),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function pe(){function e(e,t){return t.length-e.length}var t,n,i=[],r=[],a=[];for(t=0;t<12;t++)n=d([2e3,t]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(i.sort(e),r.sort(e),a.sort(e),t=0;t<12;t++)i[t]=ee(i[t]),r[t]=ee(r[t]);for(t=0;t<24;t++)a[t]=ee(a[t]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function me(e){return _e(e)?366:365}function _e(e){return e%4===0&&e%100!==0||e%400===0}function ge(){return _e(this.year())}function ye(e,t,n,i,r,a,o){var s=new Date(e,t,n,i,r,a,o);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function ve(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function be(e,t,n){var i=7+t-n,r=(7+ve(e,0,i).getUTCDay()-t)%7;return-r+i-1}function Me(e,t,n,i,r){var a,o,s=(7+n-i)%7,l=be(e,i,r),u=1+7*(t-1)+s+l;return u<=0?(a=e-1,o=me(a)+u):u>me(e)?(a=e+1,o=u-me(e)):(a=e,o=u),{year:a,dayOfYear:o}}function we(e,t,n){var i,r,a=be(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?(r=e.year()-1,i=o+xe(r,t,n)):o>xe(e.year(),t,n)?(i=o-xe(e.year(),t,n),r=e.year()+1):(r=e.year(),i=o),{week:i,year:r}}function xe(e,t,n){var i=be(e,t,n),r=be(e+1,t,n);return(me(e)-i+r)/7}function ke(e){return we(e,this._week.dow,this._week.doy).week}function Le(){return this._week.dow}function De(){return this._week.doy}function Te(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ye(e){var t=we(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Se(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Ce(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function He(e,t){return e?n(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}function je(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ae(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Pe(e,t,n){var i,r,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)a=d([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?(r=sa.call(this._weekdaysParse,o),r!==-1?r:null):"ddd"===t?(r=sa.call(this._shortWeekdaysParse,o),r!==-1?r:null):(r=sa.call(this._minWeekdaysParse,o),r!==-1?r:null):"dddd"===t?(r=sa.call(this._weekdaysParse,o),r!==-1?r:(r=sa.call(this._shortWeekdaysParse,o),r!==-1?r:(r=sa.call(this._minWeekdaysParse,o),r!==-1?r:null))):"ddd"===t?(r=sa.call(this._shortWeekdaysParse,o),r!==-1?r:(r=sa.call(this._weekdaysParse,o),r!==-1?r:(r=sa.call(this._minWeekdaysParse,o),r!==-1?r:null))):(r=sa.call(this._minWeekdaysParse,o),r!==-1?r:(r=sa.call(this._weekdaysParse,o),r!==-1?r:(r=sa.call(this._shortWeekdaysParse,o),r!==-1?r:null)))}function Ee(e,t,n){var i,r,a;if(this._weekdaysParseExact)return Pe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=d([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".",".?")+"$","i")),this._weekdaysParse[i]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}}function Ie(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Se(e,this.localeData()),this.add(e-t,"d")):t}function Oe(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function We(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Ce(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Fe(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||ze.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=ya),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Re(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||ze.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=va),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ne(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||ze.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ba),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ze(){function e(e,t){return t.length-e.length}var t,n,i,r,a,o=[],s=[],l=[],u=[];for(t=0;t<7;t++)n=d([2e3,1]).day(t),i=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),a=this.weekdays(n,""),o.push(i),s.push(r),l.push(a),u.push(i),u.push(r),u.push(a);for(o.sort(e),s.sort(e),l.sort(e),u.sort(e),t=0;t<7;t++)s[t]=ee(s[t]),l[t]=ee(l[t]),u[t]=ee(u[t]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Be(){return this.hours()%12||12}function $e(){return this.hours()||24}function Ve(e,t){q(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function qe(e,t){return t._meridiemParse}function Ue(e){return"p"===(e+"").toLowerCase().charAt(0)}function Je(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Ge(e){return e?e.toLowerCase().replace("_","-"):e}function Xe(e){for(var t,n,i,r,a=0;a<e.length;){for(r=Ge(e[a]).split("-"),t=r.length,n=Ge(e[a+1]),n=n?n.split("-"):null;t>0;){if(i=Ke(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&M(r,n,!0)>=t-1)break;t--}a++}return null}function Ke(e){var t=null;if(!La[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=Ma._abbr,require("./locale/"+e),Ze(t)}catch(e){}return La[e]}function Ze(e,t){var n;return e&&(n=m(t)?tt(e):Qe(e,t),n&&(Ma=n)),Ma._abbr}function Qe(e,t){if(null!==t){var n=ka;if(t.abbr=e,null!=La[e])k("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=La[e]._config;else if(null!=t.parentLocale){if(null==La[t.parentLocale])return Da[t.parentLocale]||(Da[t.parentLocale]=[]),Da[t.parentLocale].push({name:e,config:t}),null;n=La[t.parentLocale]._config}return La[e]=new Y(T(n,t)),Da[e]&&Da[e].forEach(function(e){Qe(e.name,e.config)}),Ze(e),La[e]}return delete La[e],null}function et(e,t){if(null!=t){var n,i=ka;null!=La[e]&&(i=La[e]._config),t=T(i,t),n=new Y(t),n.parentLocale=La[e],La[e]=n,Ze(e)}else null!=La[e]&&(null!=La[e].parentLocale?La[e]=La[e].parentLocale:null!=La[e]&&delete La[e]);return La[e]}function tt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ma;if(!n(e)){if(t=Ke(e))return t;e=[e]}return Xe(e)}function nt(){return br(La)}function it(e){var t,n=e._a;return n&&h(e).overflow===-2&&(t=n[Qr]<0||n[Qr]>11?Qr:n[ea]<1||n[ea]>re(n[Zr],n[Qr])?ea:n[ta]<0||n[ta]>24||24===n[ta]&&(0!==n[na]||0!==n[ia]||0!==n[ra])?ta:n[na]<0||n[na]>59?na:n[ia]<0||n[ia]>59?ia:n[ra]<0||n[ra]>999?ra:-1,h(e)._overflowDayOfYear&&(t<Zr||t>ea)&&(t=ea),h(e)._overflowWeeks&&t===-1&&(t=aa),h(e)._overflowWeekday&&t===-1&&(t=oa),h(e).overflow=t),e}function rt(e){var t,n,i,r,a,o,s=e._i,l=Ta.exec(s)||Ya.exec(s);if(l){for(h(e).iso=!0,t=0,n=Ca.length;t<n;t++)if(Ca[t][1].exec(l[1])){r=Ca[t][0],i=Ca[t][2]!==!1;break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,n=Ha.length;t<n;t++)if(Ha[t][1].exec(l[3])){a=(l[2]||" ")+Ha[t][0];break}if(null==a)return void(e._isValid=!1)}if(!i&&null!=a)return void(e._isValid=!1);if(l[4]){if(!Sa.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=r+(a||"")+(o||""),dt(e)}else e._isValid=!1}function at(t){var n=ja.exec(t._i);return null!==n?void(t._d=new Date((+n[1]))):(rt(t),void(t._isValid===!1&&(delete t._isValid,e.createFromInputFallback(t))))}function ot(e,t,n){return null!=e?e:null!=t?t:n}function st(t){var n=new Date(e.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function lt(e){var t,n,i,r,a=[];if(!e._d){for(i=st(e),e._w&&null==e._a[ea]&&null==e._a[Qr]&&ut(e),e._dayOfYear&&(r=ot(e._a[Zr],i[Zr]),e._dayOfYear>me(r)&&(h(e)._overflowDayOfYear=!0),n=ve(r,0,e._dayOfYear),e._a[Qr]=n.getUTCMonth(),e._a[ea]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=i[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ta]&&0===e._a[na]&&0===e._a[ia]&&0===e._a[ra]&&(e._nextDay=!0,e._a[ta]=0),e._d=(e._useUTC?ve:ye).apply(null,a),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ta]=24)}}function ut(e){var t,n,i,r,a,o,s,l;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)a=1,o=4,n=ot(t.GG,e._a[Zr],we(yt(),1,4).year),i=ot(t.W,1),r=ot(t.E,1),(r<1||r>7)&&(l=!0);else{a=e._locale._week.dow,o=e._locale._week.doy;var u=we(yt(),a,o);n=ot(t.gg,e._a[Zr],u.year),i=ot(t.w,u.week),null!=t.d?(r=t.d,(r<0||r>6)&&(l=!0)):null!=t.e?(r=t.e+a,(t.e<0||t.e>6)&&(l=!0)):r=a}i<1||i>xe(n,a,o)?h(e)._overflowWeeks=!0:null!=l?h(e)._overflowWeekday=!0:(s=Me(n,i,r,a,o),e._a[Zr]=s.year,e._dayOfYear=s.dayOfYear)}function dt(t){if(t._f===e.ISO_8601)return void rt(t);t._a=[],h(t).empty=!0;var n,i,r,a,o,s=""+t._i,l=s.length,u=0;for(r=X(t._f,t._locale).match(Sr)||[],n=0;n<r.length;n++)a=r[n],i=(s.match(Z(a,t))||[])[0],i&&(o=s.substr(0,s.indexOf(i)),o.length>0&&h(t).unusedInput.push(o),s=s.slice(s.indexOf(i)+i.length),u+=i.length),jr[a]?(i?h(t).empty=!1:h(t).unusedTokens.push(a),ie(a,i,t)):t._strict&&!i&&h(t).unusedTokens.push(a);h(t).charsLeftOver=l-u,s.length>0&&h(t).unusedInput.push(s),t._a[ta]<=12&&h(t).bigHour===!0&&t._a[ta]>0&&(h(t).bigHour=void 0),h(t).parsedDateParts=t._a.slice(0),h(t).meridiem=t._meridiem,t._a[ta]=ct(t._locale,t._a[ta],t._meridiem),lt(t),it(t)}function ct(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(i=e.isPM(n),i&&t<12&&(t+=12),i||12!==t||(t=0),t):t}function ht(e){var t,n,i,r,a;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<e._f.length;r++)a=0,t=_({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],dt(t),f(t)&&(a+=h(t).charsLeftOver,a+=10*h(t).unusedTokens.length,h(t).score=a,(null==i||a<i)&&(i=a,n=t));u(e,n||t)}function ft(e){if(!e._d){var t=O(e._i);e._a=s([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),lt(e)}}function pt(e){var t=new g(it(mt(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function mt(e){var t=e._i,i=e._f;return e._locale=e._locale||tt(e._l),null===t||void 0===i&&""===t?p({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),y(t)?new g(it(t)):(o(t)?e._d=t:n(i)?ht(e):i?dt(e):_t(e),f(e)||(e._d=null),e))}function _t(t){var i=t._i;void 0===i?t._d=new Date(e.now()):o(i)?t._d=new Date(i.valueOf()):"string"==typeof i?at(t):n(i)?(t._a=s(i.slice(0),function(e){return parseInt(e,10)}),lt(t)):"object"==typeof i?ft(t):a(i)?t._d=new Date(i):e.createFromInputFallback(t)}function gt(e,t,a,o,s){var l={};return a!==!0&&a!==!1||(o=a,a=void 0),(i(e)&&r(e)||n(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=s,l._l=a,l._i=e,l._f=t,l._strict=o,pt(l)}function yt(e,t,n,i){return gt(e,t,n,i,!1)}function vt(e,t){var i,r;if(1===t.length&&n(t[0])&&(t=t[0]),!t.length)return yt();for(i=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](i)||(i=t[r]);return i}function bt(){var e=[].slice.call(arguments,0);return vt("isBefore",e)}function Mt(){var e=[].slice.call(arguments,0);return vt("isAfter",e)}function wt(e){var t=O(e),n=t.year||0,i=t.quarter||0,r=t.month||0,a=t.week||0,o=t.day||0,s=t.hour||0,l=t.minute||0,u=t.second||0,d=t.millisecond||0;this._milliseconds=+d+1e3*u+6e4*l+1e3*s*60*60,this._days=+o+7*a,this._months=+r+3*i+12*n,this._data={},this._locale=tt(),this._bubble()}function xt(e){return e instanceof wt}function kt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Lt(e,t){q(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+V(~~(e/60),2)+t+V(~~e%60,2)})}function Dt(e,t){var n=(t||"").match(e);if(null===n)return null;var i=n[n.length-1]||[],r=(i+"").match(Ia)||["-",0,0],a=+(60*r[1])+b(r[2]);return 0===a?0:"+"===r[0]?a:-a}function Tt(t,n){var i,r;return n._isUTC?(i=n.clone(),r=(y(t)||o(t)?t.valueOf():yt(t).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+r),e.updateOffset(i,!1),i):yt(t).local()}function Yt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function St(t,n){var i,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(t=Dt(Ur,t),null===t)return this}else Math.abs(t)<16&&(t=60*t);return!this._isUTC&&n&&(i=Yt(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==t&&(!n||this._changeInProgress?Vt(this,Rt(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:Yt(this)}function Ct(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Ht(e){return this.utcOffset(0,e)}function jt(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Yt(this),"m")),this}function At(){if(null!=this._tzm)this.utcOffset(this._tzm);else if("string"==typeof this._i){var e=Dt(qr,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Pt(e){return!!this.isValid()&&(e=e?yt(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function Et(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function It(){if(!m(this._isDSTShifted))return this._isDSTShifted;var e={};if(_(e,this),e=mt(e),e._a){var t=e._isUTC?d(e._a):yt(e._a);this._isDSTShifted=this.isValid()&&M(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Ot(){return!!this.isValid()&&!this._isUTC}function Wt(){return!!this.isValid()&&this._isUTC}function Ft(){return!!this.isValid()&&this._isUTC&&0===this._offset}function Rt(e,t){var n,i,r,o=e,s=null;return xt(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:a(e)?(o={},t?o[t]=e:o.milliseconds=e):(s=Oa.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:b(s[ea])*n,h:b(s[ta])*n,m:b(s[na])*n,s:b(s[ia])*n,ms:b(kt(1e3*s[ra]))*n}):(s=Wa.exec(e))?(n="-"===s[1]?-1:1,o={y:Nt(s[2],n),M:Nt(s[3],n),w:Nt(s[4],n),d:Nt(s[5],n),h:Nt(s[6],n),m:Nt(s[7],n),s:Nt(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=Bt(yt(o.from),yt(o.to)),o={},o.ms=r.milliseconds,o.M=r.months),i=new wt(o),xt(e)&&l(e,"_locale")&&(i._locale=e._locale),i}function Nt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function zt(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Bt(e,t){var n;return e.isValid()&&t.isValid()?(t=Tt(t,e),e.isBefore(t)?n=zt(e,t):(n=zt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function $t(e,t){return function(n,i){var r,a;return null===i||isNaN(+i)||(k(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=i,i=a),n="string"==typeof n?+n:n,r=Rt(n,i),Vt(this,r,e),this}}function Vt(t,n,i,r){var a=n._milliseconds,o=kt(n._days),s=kt(n._months);t.isValid()&&(r=null==r||r,a&&t._d.setTime(t._d.valueOf()+a*i),o&&z(t,"Date",N(t,"Date")+o*i),s&&ue(t,N(t,"Month")+s*i),r&&e.updateOffset(t,o||s))}function qt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Ut(t,n){var i=t||yt(),r=Tt(i,this).startOf("day"),a=e.calendarFormat(this,r)||"sameElse",o=n&&(L(n[a])?n[a].call(this,i):n[a]);return this.format(o||this.localeData().calendar(a,this,yt(i)))}function Jt(){return new g(this)}function Gt(e,t){var n=y(e)?e:yt(e);return!(!this.isValid()||!n.isValid())&&(t=I(m(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Xt(e,t){var n=y(e)?e:yt(e);return!(!this.isValid()||!n.isValid())&&(t=I(m(t)?"millisecond":t),"millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Kt(e,t,n,i){return i=i||"()",("("===i[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===i[1]?this.isBefore(t,n):!this.isAfter(t,n))}function Zt(e,t){var n,i=y(e)?e:yt(e);return!(!this.isValid()||!i.isValid())&&(t=I(t||"millisecond"),"millisecond"===t?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Qt(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function en(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function tn(e,t,n){var i,r,a,o;return this.isValid()?(i=Tt(e,this),i.isValid()?(r=6e4*(i.utcOffset()-this.utcOffset()),t=I(t),"year"===t||"month"===t||"quarter"===t?(o=nn(this,i),"quarter"===t?o/=3:"year"===t&&(o/=12)):(a=this-i,o="second"===t?a/1e3:"minute"===t?a/6e4:"hour"===t?a/36e5:"day"===t?(a-r)/864e5:"week"===t?(a-r)/6048e5:a),n?o:v(o)):NaN):NaN}function nn(e,t){var n,i,r=12*(t.year()-e.year())+(t.month()-e.month()),a=e.clone().add(r,"months");return t-a<0?(n=e.clone().add(r-1,"months"),i=(t-a)/(a-n)):(n=e.clone().add(r+1,"months"),i=(t-a)/(n-a)),-(r+i)||0}function rn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function an(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?L(Date.prototype.toISOString)?this.toDate().toISOString():G(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):G(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function on(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',i=0<this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]';return this.format(n+i+r+a)}function sn(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var n=G(this,t);return this.localeData().postformat(n)}function ln(e,t){return this.isValid()&&(y(e)&&e.isValid()||yt(e).isValid())?Rt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function un(e){return this.from(yt(),e)}function dn(e,t){return this.isValid()&&(y(e)&&e.isValid()||yt(e).isValid())?Rt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function cn(e){return this.to(yt(),e)}function hn(e){var t;return void 0===e?this._locale._abbr:(t=tt(e),null!=t&&(this._locale=t),this)}function fn(){return this._locale}function pn(e){switch(e=I(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function mn(e){return e=I(e),void 0===e||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function _n(){return this._d.valueOf()-6e4*(this._offset||0)}function gn(){return Math.floor(this.valueOf()/1e3)}function yn(){return new Date(this.valueOf())}function vn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function bn(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Mn(){return this.isValid()?this.toISOString():null}function wn(){return f(this)}function xn(){return u({},h(this))}function kn(){return h(this).overflow}function Ln(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Dn(e,t){q(0,[e,e.length],0,t)}function Tn(e){return Hn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Yn(e){return Hn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Sn(){return xe(this.year(),1,4)}function Cn(){var e=this.localeData()._week;return xe(this.year(),e.dow,e.doy)}function Hn(e,t,n,i,r){var a;return null==e?we(this,i,r).year:(a=xe(e,i,r),t>a&&(t=a),jn.call(this,e,t,n,i,r))}function jn(e,t,n,i,r){var a=Me(e,t,n,i,r),o=ve(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function An(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Pn(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function En(e,t){t[ra]=b(1e3*("0."+e))}function In(){return this._isUTC?"UTC":""}function On(){return this._isUTC?"Coordinated Universal Time":""}function Wn(e){return yt(1e3*e)}function Fn(){return yt.apply(null,arguments).parseZone()}function Rn(e){return e}function Nn(e,t,n,i){var r=tt(),a=d().set(i,t);return r[n](a,e)}function zn(e,t,n){if(a(e)&&(t=e,e=void 0),e=e||"",null!=t)return Nn(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=Nn(e,i,n,"month");return r}function Bn(e,t,n,i){"boolean"==typeof e?(a(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,a(t)&&(n=t,t=void 0),t=t||"");var r=tt(),o=e?r._week.dow:0;if(null!=n)return Nn(t,(n+o)%7,i,"day");var s,l=[];for(s=0;s<7;s++)l[s]=Nn(t,(s+o)%7,i,"day");return l}function $n(e,t){return zn(e,t,"months")}function Vn(e,t){return zn(e,t,"monthsShort")}function qn(e,t,n){return Bn(e,t,n,"weekdays")}function Un(e,t,n){return Bn(e,t,n,"weekdaysShort")}function Jn(e,t,n){return Bn(e,t,n,"weekdaysMin")}function Gn(){var e=this._data;return this._milliseconds=Ga(this._milliseconds),this._days=Ga(this._days),this._months=Ga(this._months),e.milliseconds=Ga(e.milliseconds),e.seconds=Ga(e.seconds),e.minutes=Ga(e.minutes),e.hours=Ga(e.hours),e.months=Ga(e.months),e.years=Ga(e.years),this}function Xn(e,t,n,i){var r=Rt(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function Kn(e,t){return Xn(this,e,t,1)}function Zn(e,t){return Xn(this,e,t,-1)}function Qn(e){return e<0?Math.floor(e):Math.ceil(e)}function ei(){var e,t,n,i,r,a=this._milliseconds,o=this._days,s=this._months,l=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*Qn(ni(s)+o),o=0,s=0),l.milliseconds=a%1e3,e=v(a/1e3),l.seconds=e%60,t=v(e/60),l.minutes=t%60,n=v(t/60),l.hours=n%24,o+=v(n/24),r=v(ti(o)),s+=r,o-=Qn(ni(r)),i=v(s/12),s%=12,l.days=o,l.months=s,l.years=i,this}function ti(e){return 4800*e/146097}function ni(e){return 146097*e/4800}function ii(e){var t,n,i=this._milliseconds;if(e=I(e),"month"===e||"year"===e)return t=this._days+i/864e5,n=this._months+ti(t),"month"===e?n:n/12;switch(t=this._days+Math.round(ni(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}}function ri(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*b(this._months/12)}function ai(e){return function(){return this.as(e)}}function oi(e){return e=I(e),this[e+"s"]()}function si(e){return function(){return this._data[e]}}function li(){return v(this.days()/7)}function ui(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}function di(e,t,n){var i=Rt(e).abs(),r=ho(i.as("s")),a=ho(i.as("m")),o=ho(i.as("h")),s=ho(i.as("d")),l=ho(i.as("M")),u=ho(i.as("y")),d=r<fo.s&&["s",r]||a<=1&&["m"]||a<fo.m&&["mm",a]||o<=1&&["h"]||o<fo.h&&["hh",o]||s<=1&&["d"]||s<fo.d&&["dd",s]||l<=1&&["M"]||l<fo.M&&["MM",l]||u<=1&&["y"]||["yy",u];return d[2]=t,d[3]=+e>0,d[4]=n,ui.apply(null,d)}function ci(e){return void 0===e?ho:"function"==typeof e&&(ho=e,!0)}function hi(e,t){return void 0!==fo[e]&&(void 0===t?fo[e]:(fo[e]=t,!0))}function fi(e){var t=this.localeData(),n=di(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function pi(){var e,t,n,i=po(this._milliseconds)/1e3,r=po(this._days),a=po(this._months);e=v(i/60),t=v(e/60),i%=60,e%=60,n=v(a/12),a%=12;var o=n,s=a,l=r,u=t,d=e,c=i,h=this.asSeconds();return h?(h<0?"-":"")+"P"+(o?o+"Y":"")+(s?s+"M":"")+(l?l+"D":"")+(u||d||c?"T":"")+(u?u+"H":"")+(d?d+"M":"")+(c?c+"S":""):"P0D"}function mi(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function _i(e,t,n){var i={mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:есяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===n?t?"хвіліна":"хвіліну":"h"===n?t?"гадзіна":"гадзіну":e+" "+mi(i[n],+e)}function gi(e,t,n){var i={mm:"munutenn",MM:"miz",dd:"devezh"};return e+" "+bi(i[n],e)}function yi(e){switch(vi(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function vi(e){return e>9?vi(e%10):e}function bi(e,t){return 2===t?Mi(e):e}function Mi(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}function wi(e,t,n){var i=e+" ";switch(n){case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return i+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return i+=1===e?"dan":"dana";case"MM":return i+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return i+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}function xi(e){return e>1&&e<5&&1!==~~(e/10)}function ki(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"pár sekund":"pár sekundami";case"m":return t?"minuta":i?"minutu":"minutou";case"mm":return t||i?r+(xi(e)?"minuty":"minut"):r+"minutami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?r+(xi(e)?"hodiny":"hodin"):r+"hodinami";case"d":return t||i?"den":"dnem";case"dd":return t||i?r+(xi(e)?"dny":"dní"):r+"dny";case"M":return t||i?"měsíc":"měsícem";case"MM":return t||i?r+(xi(e)?"měsíce":"měsíců"):r+"měsíci";case"y":return t||i?"rok":"rokem";case"yy":return t||i?r+(xi(e)?"roky":"let"):r+"lety"}}function Li(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],
dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}function Di(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}function Ti(e,t,n,i){var r={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?r[n][2]?r[n][2]:r[n][1]:i?r[n][0]:r[n][1]}function Yi(e,t,n,i){var r="";switch(n){case"s":return i?"muutaman sekunnin":"muutama sekunti";case"m":return i?"minuutin":"minuutti";case"mm":r=i?"minuutin":"minuuttia";break;case"h":return i?"tunnin":"tunti";case"hh":r=i?"tunnin":"tuntia";break;case"d":return i?"päivän":"päivä";case"dd":r=i?"päivän":"päivää";break;case"M":return i?"kuukauden":"kuukausi";case"MM":r=i?"kuukauden":"kuukautta";break;case"y":return i?"vuoden":"vuosi";case"yy":r=i?"vuoden":"vuotta"}return r=Si(e,i)+" "+r}function Si(e,t){return e<10?t?Vo[e]:$o[e]:e}function Ci(e,t,n){var i=e+" ";switch(n){case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return i+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return i+=1===e?"dan":"dana";case"MM":return i+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return i+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}function Hi(e,t,n,i){var r=e;switch(n){case"s":return i||t?"néhány másodperc":"néhány másodperce";case"m":return"egy"+(i||t?" perc":" perce");case"mm":return r+(i||t?" perc":" perce");case"h":return"egy"+(i||t?" óra":" órája");case"hh":return r+(i||t?" óra":" órája");case"d":return"egy"+(i||t?" nap":" napja");case"dd":return r+(i||t?" nap":" napja");case"M":return"egy"+(i||t?" hónap":" hónapja");case"MM":return r+(i||t?" hónap":" hónapja");case"y":return"egy"+(i||t?" év":" éve");case"yy":return r+(i||t?" év":" éve")}return""}function ji(e){return(e?"":"[múlt] ")+"["+ts[this.day()]+"] LT[-kor]"}function Ai(e){return e%100===11||e%10!==1}function Pi(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"nokkrar sekúndur":"nokkrum sekúndum";case"m":return t?"mínúta":"mínútu";case"mm":return Ai(e)?r+(t||i?"mínútur":"mínútum"):t?r+"mínúta":r+"mínútu";case"hh":return Ai(e)?r+(t||i?"klukkustundir":"klukkustundum"):r+"klukkustund";case"d":return t?"dagur":i?"dag":"degi";case"dd":return Ai(e)?t?r+"dagar":r+(i?"daga":"dögum"):t?r+"dagur":r+(i?"dag":"degi");case"M":return t?"mánuður":i?"mánuð":"mánuði";case"MM":return Ai(e)?t?r+"mánuðir":r+(i?"mánuði":"mánuðum"):t?r+"mánuður":r+(i?"mánuð":"mánuði");case"y":return t||i?"ár":"ári";case"yy":return Ai(e)?r+(t||i?"ár":"árum"):r+(t||i?"ár":"ári")}}function Ei(e,t,n,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?r[n][0]:r[n][1]}function Ii(e){var t=e.substr(0,e.indexOf(" "));return Wi(t)?"a "+e:"an "+e}function Oi(e){var t=e.substr(0,e.indexOf(" "));return Wi(t)?"viru "+e:"virun "+e}function Wi(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10,n=e/10;return Wi(0===t?n:t)}if(e<1e4){for(;e>=10;)e/=10;return Wi(e)}return e/=1e3,Wi(e)}function Fi(e,t,n,i){return t?"kelios sekundės":i?"kelių sekundžių":"kelias sekundes"}function Ri(e,t,n,i){return t?zi(n)[0]:i?zi(n)[1]:zi(n)[2]}function Ni(e){return e%10===0||e>10&&e<20}function zi(e){return rs[e].split("_")}function Bi(e,t,n,i){var r=e+" ";return 1===e?r+Ri(e,t,n[0],i):t?r+(Ni(e)?zi(n)[1]:zi(n)[0]):i?r+zi(n)[1]:r+(Ni(e)?zi(n)[1]:zi(n)[2])}function $i(e,t,n){return n?t%10===1&&t%100!==11?e[2]:e[3]:t%10===1&&t%100!==11?e[0]:e[1]}function Vi(e,t,n){return e+" "+$i(as[n],e,t)}function qi(e,t,n){return $i(as[n],e,t)}function Ui(e,t){return t?"dažas sekundes":"dažām sekundēm"}function Ji(e,t,n,i){var r="";if(t)switch(n){case"s":r="काही सेकंद";break;case"m":r="एक मिनिट";break;case"mm":r="%d मिनिटे";break;case"h":r="एक तास";break;case"hh":r="%d तास";break;case"d":r="एक दिवस";break;case"dd":r="%d दिवस";break;case"M":r="एक महिना";break;case"MM":r="%d महिने";break;case"y":r="एक वर्ष";break;case"yy":r="%d वर्षे"}else switch(n){case"s":r="काही सेकंदां";break;case"m":r="एका मिनिटा";break;case"mm":r="%d मिनिटां";break;case"h":r="एका तासा";break;case"hh":r="%d तासां";break;case"d":r="एका दिवसा";break;case"dd":r="%d दिवसां";break;case"M":r="एका महिन्या";break;case"MM":r="%d महिन्यां";break;case"y":r="एका वर्षा";break;case"yy":r="%d वर्षां"}return r.replace(/%d/i,e)}function Gi(e){return e%10<5&&e%10>1&&~~(e/10)%10!==1}function Xi(e,t,n){var i=e+" ";switch(n){case"m":return t?"minuta":"minutę";case"mm":return i+(Gi(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return i+(Gi(e)?"godziny":"godzin");case"MM":return i+(Gi(e)?"miesiące":"miesięcy");case"yy":return i+(Gi(e)?"lata":"lat")}}function Ki(e,t,n){var i={mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},r=" ";return(e%100>=20||e>=100&&e%100===0)&&(r=" de "),e+r+i[n]}function Zi(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function Qi(e,t,n){var i={mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:асасаасов",dd:ень_дня_дней",MM:есяц_месяцаесяцев",yy:"год_годает"};return"m"===n?t?"минута":"минуту":e+" "+Zi(i[n],+e)}function er(e){return e>1&&e<5}function tr(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":i?"minútu":"minútou";case"mm":return t||i?r+(er(e)?"minúty":"minút"):r+"minútami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?r+(er(e)?"hodiny":"hodín"):r+"hodinami";case"d":return t||i?"deň":"dňom";case"dd":return t||i?r+(er(e)?"dni":"dní"):r+"dňami";case"M":return t||i?"mesiac":"mesiacom";case"MM":return t||i?r+(er(e)?"mesiace":"mesiacov"):r+"mesiacmi";case"y":return t||i?"rok":"rokom";case"yy":return t||i?r+(er(e)?"roky":"rokov"):r+"rokmi"}}function nr(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"nekaj sekund":"nekaj sekundami";case"m":return t?"ena minuta":"eno minuto";case"mm":return r+=1===e?t?"minuta":"minuto":2===e?t||i?"minuti":"minutama":e<5?t||i?"minute":"minutami":t||i?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return r+=1===e?t?"ura":"uro":2===e?t||i?"uri":"urama":e<5?t||i?"ure":"urami":t||i?"ur":"urami";case"d":return t||i?"en dan":"enim dnem";case"dd":return r+=1===e?t||i?"dan":"dnem":2===e?t||i?"dni":"dnevoma":t||i?"dni":"dnevi";case"M":return t||i?"en mesec":"enim mesecem";case"MM":return r+=1===e?t||i?"mesec":"mesecem":2===e?t||i?"meseca":"mesecema":e<5?t||i?"mesece":"meseci":t||i?"mesecev":"meseci";case"y":return t||i?"eno leto":"enim letom";case"yy":return r+=1===e?t||i?"leto":"letom":2===e?t||i?"leti":"letoma":e<5?t||i?"leta":"leti":t||i?"let":"leti"}}function ir(e){var t=e;return t=e.indexOf("jaj")!==-1?t.slice(0,-3)+"leS":e.indexOf("jar")!==-1?t.slice(0,-3)+"waQ":e.indexOf("DIS")!==-1?t.slice(0,-3)+"nem":t+" pIq"}function rr(e){var t=e;return t=e.indexOf("jaj")!==-1?t.slice(0,-3)+"Hu":e.indexOf("jar")!==-1?t.slice(0,-3)+"wen":e.indexOf("DIS")!==-1?t.slice(0,-3)+"ben":t+" ret"}function ar(e,t,n,i){var r=or(e);switch(n){case"mm":return r+" tup";case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" DIS"}}function or(e){var t=Math.floor(e%1e3/100),n=Math.floor(e%100/10),i=e%10,r="";return t>0&&(r+=js[t]+"vatlh"),n>0&&(r+=(""!==r?" ":"")+js[n]+"maH"),i>0&&(r+=(""!==r?" ":"")+js[i]),""===r?"pagh":r}function sr(e,t,n,i){var r={s:["viensas secunds","'iensas secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",""+e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",""+e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",""+e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",""+e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",""+e+" ars"]};return i?r[n][0]:t?r[n][0]:r[n][1]}function lr(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function ur(e,t,n){var i={mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:ень_дні_днів",MM:ісяць_місяціісяців",yy:"рік_роки_років"};return"m"===n?t?"хвилина":"хвилину":"h"===n?t?"година":"годину":e+" "+lr(i[n],+e)}function dr(e,t){var n={nominative:еділя_понеділок_вівторок_середаетвер_пятниця_субота".split("_"),accusative:еділю_понеділок_вівторок_середуетвер_пятницю_суботу".split("_"),genitive:еділі_понеділкаівторка_середи_четверга_пятниці_суботи".split("_")},i=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative";return n[i][e.day()]}function cr(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}var hr,fr;fr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1};var pr=fr,mr=e.momentProperties=[],_r=!1,gr={};e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;var yr;yr=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)l(e,t)&&n.push(t);return n};var vr,br=yr,Mr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},wr={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},xr="Invalid date",kr="%d",Lr=/\d{1,2}/,Dr={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Tr={},Yr={},Sr=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Cr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Hr={},jr={},Ar=/\d/,Pr=/\d\d/,Er=/\d{3}/,Ir=/\d{4}/,Or=/[+-]?\d{6}/,Wr=/\d\d?/,Fr=/\d\d\d\d?/,Rr=/\d\d\d\d\d\d?/,Nr=/\d{1,3}/,zr=/\d{1,4}/,Br=/[+-]?\d{1,6}/,$r=/\d+/,Vr=/[+-]?\d+/,qr=/Z|[+-]\d\d:?\d\d/gi,Ur=/Z|[+-]\d\d(?::?\d\d)?/gi,Jr=/[+-]?\d+(\.\d{1,3})?/,Gr=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Xr={},Kr={},Zr=0,Qr=1,ea=2,ta=3,na=4,ia=5,ra=6,aa=7,oa=8;vr=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};var sa=vr;q("M",["MM",2],"Mo",function(){return this.month()+1}),q("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),q("MMMM",0,0,function(e){return this.localeData().months(this,e)}),E("month","M"),W("month",8),K("M",Wr),K("MM",Wr,Pr),K("MMM",function(e,t){return t.monthsShortRegex(e)}),K("MMMM",function(e,t){return t.monthsRegex(e)}),te(["M","MM"],function(e,t){t[Qr]=b(e)-1}),te(["MMM","MMMM"],function(e,t,n,i){var r=n._locale.monthsParse(e,i,n._strict);null!=r?t[Qr]=r:h(n).invalidMonth=e});var la=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ua="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),da="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ca=Gr,ha=Gr;q("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),q(0,["YY",2],0,function(){return this.year()%100}),q(0,["YYYY",4],0,"year"),q(0,["YYYYY",5],0,"year"),q(0,["YYYYYY",6,!0],0,"year"),E("year","y"),W("year",1),K("Y",Vr),K("YY",Wr,Pr),K("YYYY",zr,Ir),K("YYYYY",Br,Or),K("YYYYYY",Br,Or),te(["YYYYY","YYYYYY"],Zr),te("YYYY",function(t,n){n[Zr]=2===t.length?e.parseTwoDigitYear(t):b(t)}),te("YY",function(t,n){n[Zr]=e.parseTwoDigitYear(t)}),te("Y",function(e,t){t[Zr]=parseInt(e,10)}),e.parseTwoDigitYear=function(e){return b(e)+(b(e)>68?1900:2e3)};var fa=R("FullYear",!0);q("w",["ww",2],"wo","week"),q("W",["WW",2],"Wo","isoWeek"),E("week","w"),E("isoWeek","W"),W("week",5),W("isoWeek",5),K("w",Wr),K("ww",Wr,Pr),K("W",Wr),K("WW",Wr,Pr),ne(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=b(e)});var pa={dow:0,doy:6};q("d",0,"do","day"),q("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),q("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),q("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),q("e",0,0,"weekday"),q("E",0,0,"isoWeekday"),E("day","d"),E("weekday","e"),E("isoWeekday","E"),W("day",11),W("weekday",11),W("isoWeekday",11),K("d",Wr),K("e",Wr),K("E",Wr),K("dd",function(e,t){return t.weekdaysMinRegex(e)}),K("ddd",function(e,t){return t.weekdaysShortRegex(e)}),K("dddd",function(e,t){return t.weekdaysRegex(e)}),ne(["dd","ddd","dddd"],function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:h(n).invalidWeekday=e}),ne(["d","e","E"],function(e,t,n,i){t[i]=b(e)});var ma="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),_a="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ga="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ya=Gr,va=Gr,ba=Gr;q("H",["HH",2],0,"hour"),q("h",["hh",2],0,Be),q("k",["kk",2],0,$e),q("hmm",0,0,function(){return""+Be.apply(this)+V(this.minutes(),2)}),q("hmmss",0,0,function(){return""+Be.apply(this)+V(this.minutes(),2)+V(this.seconds(),2)}),q("Hmm",0,0,function(){return""+this.hours()+V(this.minutes(),2)}),q("Hmmss",0,0,function(){return""+this.hours()+V(this.minutes(),2)+V(this.seconds(),2)}),Ve("a",!0),Ve("A",!1),E("hour","h"),W("hour",13),K("a",qe),K("A",qe),K("H",Wr),K("h",Wr),K("HH",Wr,Pr),K("hh",Wr,Pr),K("hmm",Fr),K("hmmss",Rr),K("Hmm",Fr),K("Hmmss",Rr),te(["H","HH"],ta),te(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),te(["h","hh"],function(e,t,n){t[ta]=b(e),h(n).bigHour=!0}),te("hmm",function(e,t,n){var i=e.length-2;t[ta]=b(e.substr(0,i)),t[na]=b(e.substr(i)),h(n).bigHour=!0}),te("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[ta]=b(e.substr(0,i)),t[na]=b(e.substr(i,2)),t[ia]=b(e.substr(r)),h(n).bigHour=!0}),te("Hmm",function(e,t,n){var i=e.length-2;t[ta]=b(e.substr(0,i)),t[na]=b(e.substr(i))}),te("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[ta]=b(e.substr(0,i)),t[na]=b(e.substr(i,2)),t[ia]=b(e.substr(r))});var Ma,wa=/[ap]\.?m?\.?/i,xa=R("Hours",!0),ka={calendar:Mr,longDateFormat:wr,invalidDate:xr,ordinal:kr,ordinalParse:Lr,relativeTime:Dr,months:ua,monthsShort:da,week:pa,weekdays:ma,weekdaysMin:ga,weekdaysShort:_a,meridiemParse:wa},La={},Da={},Ta=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ya=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Sa=/Z|[+-]\d\d(?::?\d\d)?/,Ca=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Ha=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ja=/^\/?Date\((\-?\d+)/i;e.createFromInputFallback=x("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),e.ISO_8601=function(){};var Aa=x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=yt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:p()}),Pa=x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=yt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:p()}),Ea=function(){return Date.now?Date.now():+new Date};Lt("Z",":"),Lt("ZZ",""),K("Z",Ur),K("ZZ",Ur),te(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Dt(Ur,e)});var Ia=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var Oa=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Wa=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Rt.fn=wt.prototype;var Fa=$t(1,"add"),Ra=$t(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Na=x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});q(0,["gg",2],0,function(){return this.weekYear()%100}),q(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Dn("gggg","weekYear"),Dn("ggggg","weekYear"),Dn("GGGG","isoWeekYear"),Dn("GGGGG","isoWeekYear"),E("weekYear","gg"),E("isoWeekYear","GG"),W("weekYear",1),W("isoWeekYear",1),K("G",Vr),K("g",Vr),K("GG",Wr,Pr),K("gg",Wr,Pr),K("GGGG",zr,Ir),K("gggg",zr,Ir),K("GGGGG",Br,Or),K("ggggg",Br,Or),ne(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=b(e)}),ne(["gg","GG"],function(t,n,i,r){n[r]=e.parseTwoDigitYear(t)}),q("Q",0,"Qo","quarter"),E("quarter","Q"),W("quarter",7),K("Q",Ar),te("Q",function(e,t){t[Qr]=3*(b(e)-1)}),q("D",["DD",2],"Do","date"),E("date","D"),W("date",9),K("D",Wr),K("DD",Wr,Pr),K("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),te(["D","DD"],ea),te("Do",function(e,t){t[ea]=b(e.match(Wr)[0],10)});var za=R("Date",!0);q("DDD",["DDDD",3],"DDDo","dayOfYear"),E("dayOfYear","DDD"),W("dayOfYear",4),K("DDD",Nr),K("DDDD",Er),te(["DDD","DDDD"],function(e,t,n){n._dayOfYear=b(e)}),q("m",["mm",2],0,"minute"),E("minute","m"),W("minute",14),K("m",Wr),K("mm",Wr,Pr),te(["m","mm"],na);var Ba=R("Minutes",!1);q("s",["ss",2],0,"second"),E("second","s"),W("second",15),K("s",Wr),K("ss",Wr,Pr),te(["s","ss"],ia);var $a=R("Seconds",!1);q("S",0,0,function(){return~~(this.millisecond()/100)}),q(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),q(0,["SSS",3],0,"millisecond"),q(0,["SSSS",4],0,function(){return 10*this.millisecond()}),q(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),q(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),q(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),q(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),q(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),E("millisecond","ms"),W("millisecond",16),K("S",Nr,Ar),K("SS",Nr,Pr),K("SSS",Nr,Er);var Va;for(Va="SSSS";Va.length<=9;Va+="S")K(Va,$r);for(Va="S";Va.length<=9;Va+="S")te(Va,En);var qa=R("Milliseconds",!1);q("z",0,0,"zoneAbbr"),q("zz",0,0,"zoneName");var Ua=g.prototype;Ua.add=Fa,Ua.calendar=Ut,Ua.clone=Jt,Ua.diff=tn,Ua.endOf=mn,Ua.format=sn,Ua.from=ln,Ua.fromNow=un,Ua.to=dn,Ua.toNow=cn,Ua.get=B,Ua.invalidAt=kn,Ua.isAfter=Gt,Ua.isBefore=Xt,Ua.isBetween=Kt,Ua.isSame=Zt,Ua.isSameOrAfter=Qt,Ua.isSameOrBefore=en,Ua.isValid=wn,Ua.lang=Na,Ua.locale=hn,Ua.localeData=fn,Ua.max=Pa,Ua.min=Aa,Ua.parsingFlags=xn,Ua.set=$,Ua.startOf=pn,Ua.subtract=Ra,Ua.toArray=vn,Ua.toObject=bn,Ua.toDate=yn,Ua.toISOString=an,Ua.inspect=on,Ua.toJSON=Mn,Ua.toString=rn,Ua.unix=gn,Ua.valueOf=_n,Ua.creationData=Ln,Ua.year=fa,Ua.isLeapYear=ge,Ua.weekYear=Tn,Ua.isoWeekYear=Yn,Ua.quarter=Ua.quarters=An,Ua.month=de,Ua.daysInMonth=ce,Ua.week=Ua.weeks=Te,Ua.isoWeek=Ua.isoWeeks=Ye,Ua.weeksInYear=Cn,Ua.isoWeeksInYear=Sn,Ua.date=za,Ua.day=Ua.days=Ie,Ua.weekday=Oe,Ua.isoWeekday=We,Ua.dayOfYear=Pn,Ua.hour=Ua.hours=xa,Ua.minute=Ua.minutes=Ba,Ua.second=Ua.seconds=$a,Ua.millisecond=Ua.milliseconds=qa,Ua.utcOffset=St,Ua.utc=Ht,Ua.local=jt,Ua.parseZone=At,Ua.hasAlignedHourOffset=Pt,Ua.isDST=Et,Ua.isLocal=Ot,Ua.isUtcOffset=Wt,Ua.isUtc=Ft,Ua.isUTC=Ft,Ua.zoneAbbr=In,Ua.zoneName=On,Ua.dates=x("dates accessor is deprecated. Use date instead.",za),Ua.months=x("months accessor is deprecated. Use month instead",de),Ua.years=x("years accessor is deprecated. Use year instead",fa),Ua.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ct),Ua.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",It);var Ja=Y.prototype;Ja.calendar=S,Ja.longDateFormat=C,Ja.invalidDate=H,Ja.ordinal=j,Ja.preparse=Rn,Ja.postformat=Rn,Ja.relativeTime=A,Ja.pastFuture=P,Ja.set=D,Ja.months=ae,Ja.monthsShort=oe,Ja.monthsParse=le,Ja.monthsRegex=fe,Ja.monthsShortRegex=he,Ja.week=ke,Ja.firstDayOfYear=De,Ja.firstDayOfWeek=Le,Ja.weekdays=He,Ja.weekdaysMin=Ae,Ja.weekdaysShort=je,Ja.weekdaysParse=Ee,Ja.weekdaysRegex=Fe,Ja.weekdaysShortRegex=Re,Ja.weekdaysMinRegex=Ne,Ja.isPM=Ue,Ja.meridiem=Je,Ze("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===b(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),e.lang=x("moment.lang is deprecated. Use moment.locale instead.",Ze),e.langData=x("moment.langData is deprecated. Use moment.localeData instead.",tt);var Ga=Math.abs,Xa=ai("ms"),Ka=ai("s"),Za=ai("m"),Qa=ai("h"),eo=ai("d"),to=ai("w"),no=ai("M"),io=ai("y"),ro=si("milliseconds"),ao=si("seconds"),oo=si("minutes"),so=si("hours"),lo=si("days"),uo=si("months"),co=si("years"),ho=Math.round,fo={s:45,m:45,h:22,d:26,M:11},po=Math.abs,mo=wt.prototype;mo.abs=Gn,mo.add=Kn,mo.subtract=Zn,mo.as=ii,mo.asMilliseconds=Xa,mo.asSeconds=Ka,mo.asMinutes=Za,mo.asHours=Qa,mo.asDays=eo,mo.asWeeks=to,mo.asMonths=no,mo.asYears=io,mo.valueOf=ri,mo._bubble=ei,mo.get=oi,mo.milliseconds=ro,mo.seconds=ao,mo.minutes=oo,mo.hours=so,mo.days=lo,mo.weeks=li,mo.months=uo,mo.years=co,mo.humanize=fi,mo.toISOString=pi,mo.toString=pi,mo.toJSON=pi,mo.locale=hn,mo.localeData=fn,mo.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",pi),mo.lang=Na,q("X",0,0,"unix"),q("x",0,0,"valueOf"),K("x",Vr),K("X",Jr),te("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),te("x",function(e,t,n){n._d=new Date(b(e))}),e.version="2.17.0",t(yt),e.fn=Ua,e.min=bt,e.max=Mt,e.now=Ea,e.utc=d,e.unix=Wn,e.months=$n,e.isDate=o,e.locale=Ze,e.invalid=p,e.duration=Rt,e.isMoment=y,e.weekdays=qn,e.parseZone=Fn,e.localeData=tt,e.isDuration=xt,e.monthsShort=Vn,e.weekdaysMin=Jn,e.defineLocale=Qe,e.updateLocale=et,e.locales=nt,e.weekdaysShort=Un,e.normalizeUnits=I,e.relativeTimeRounding=ci,e.relativeTimeThreshold=hi,e.calendarFormat=qt,e.prototype=Ua,e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}}),e.defineLocale("ar-dz",{months:انفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:انفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}});var _o={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},go=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},yo={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},vo=function(e){return function(t,n,i,r){var a=go(t),o=yo[e][go(t)];return 2===a&&(o=o[n?0:1]),o.replace(/%d/i,t)}},bo=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:bo,monthsShort:bo,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:vo("s"),m:vo("m"),mm:vo("m"),h:vo("h"),hh:vo("h"),d:vo("d"),dd:vo("d"),M:vo("M"),MM:vo("M"),y:vo("y"),yy:vo("y")},preparse:function(e){return e.replace(/\u200f/g,"").replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return _o[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}}),e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}});var Mo={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},wo={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return wo[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return Mo[e]}).replace(/,/g,"،")},week:{dow:0,doy:6}}),e.defineLocale("ar-tn",{months:انفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:انفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});var xo={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},ko={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},Lo=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},Do={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},To=function(e){return function(t,n,i,r){var a=Lo(t),o=Do[e][Lo(t)];return 2===a&&(o=o[n?0:1]),o.replace(/%d/i,t)}},Yo=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أيار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتوبر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"];e.defineLocale("ar",{months:Yo,monthsShort:Yo,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:To("s"),m:To("m"),mm:To("m"),h:To("h"),hh:To("h"),d:To("d"),
dd:To("d"),M:To("M"),MM:To("M"),y:To("y"),yy:To("y")},preparse:function(e){return e.replace(/\u200f/g,"").replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return ko[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return xo[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}});var So={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},ordinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var t=e%10,n=e%100-t,i=e>=100?100:null;return e+(So[t]||So[n]||So[i])},week:{dow:1,doy:7}}),e.defineLocale("be",{months:{format:"студзеня_лютага_сакавікарасавікараўня_чэрвеня_ліпеня_жніўня_верасня_кастрычнікаістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_красрав_чэрв_ліп_жнів_вераст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_серадуацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серадаацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:_i,mm:_i,h:_i,hh:_i,d:"дзень",dd:_i,M:"месяц",MM:_i,y:"год",yy:_i},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},ordinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!==2&&e%10!==3||e%100===12||e%100===13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}}),e.defineLocale("bg-x",{parentLocale:"bg"}),e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янрев_мар_апрай_юни_юли_авг_сеп_окт_ноеек".split("_"),weekdays:еделя_понеделник_вторник_срядаетвъртък_петък_събота".split("_"),weekdaysShort:ед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}});var Co={1:"১",2:"২",3:"৩",4:"",5:"৫",6:"৬",7:"",8:"৮",9:"৯",0:""},Ho={"১":"1","২":"2","৩":"3","":"4","৫":"5","৬":"6","":"7","৮":"8","৯":"9","":"0"};e.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return Ho[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Co[e]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}});var jo={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},Ao={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return Ao[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return jo[e]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}}),e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",m:"ur vunutenn",mm:gi,h:"un eur",hh:"%d eur",d:"un devezh",dd:gi,M:"ur miz",MM:gi,y:"ur bloaz",yy:yi},ordinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){var t=1===e?"añ":"vet";return e+t},week:{dow:1,doy:4}}),e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:wi,mm:wi,h:wi,hh:wi,d:"dan",dd:wi,M:"mjesec",MM:wi,y:"godinu",yy:wi},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),e.defineLocale("ca",{months:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),monthsShort:"gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd D MMMM YYYY H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}});var Po="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),Eo="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_");e.defineLocale("cs",{months:Po,monthsShort:Eo,monthsParse:function(e,t){var n,i=[];for(n=0;n<12;n++)i[n]=new RegExp("^"+e[n]+"$|^"+t[n]+"$","i");return i}(Po,Eo),shortMonthsParse:function(e){var t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","i");return n}(Eo),longMonthsParse:function(e){var t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","i");return n}(Po),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:ki,m:ki,mm:ki,h:ki,hh:ki,d:ki,dd:ki,M:ki,MM:ki,y:ki,yy:ki},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_акаай_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑрар_пуш_акаай_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"вырун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:р_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){var t=/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран";return e+t},past:"%s каялла",s:"пӗр-ик ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},ordinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}}),e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},ordinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t=e,n="",i=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return t>20?n=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(n=i[t]),e+n},week:{dow:1,doy:4}}),e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY HH:mm"},calendar:{sameDay:"[I dag kl.] LT",nextDay:"[I morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[I går kl.] LT",lastWeek:"[sidste] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:Li,mm:"%d Minuten",h:Li,hh:"%d Stunden",d:Li,dd:Li,M:Li,MM:Li,y:Li,yy:Li},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:Di,mm:"%d Minuten",h:Di,hh:"%d Stunden",d:Di,dd:Di,M:Di,MM:Di,y:Di,yy:Di},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var Io=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],Oo=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:Io,monthsShort:Io,weekdays:Oo,weekdaysShort:Oo,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,n){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}}),e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παραβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Παα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n=this._calendarEl[e],i=t&&t.hours();return L(n)&&(n=n.apply(t)),n.replace("{}",i%12===1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},ordinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}}),e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}}),e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}}),e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}}),e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}}),e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato".split("_"),weekdaysShort:"Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Ĵa_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-an de] MMMM, YYYY",LLL:"D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-an de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"je %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},ordinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});var Wo="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),Fo="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,t){return/-MMM-/.test(t)?Fo[e.month()]:Wo[e.month()]},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});var Ro="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),No="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,t){return/-MMM-/.test(t)?No[e.month()]:Ro[e.month()]},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:Ti,m:Ti,mm:Ti,h:Ti,hh:Ti,d:Ti,dd:"%d päeva",M:Ti,MM:Ti,y:Ti,yy:Ti},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var zo={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},Bo={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:انویه_فوریهارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:انویه_فوریهارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),
weekdays:"یکشنبه_دوشنبههشنبههارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysShort:"یکشنبه_دوشنبههشنبههارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چندین ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,function(e){return Bo[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return zo[e]}).replace(/,/g,"،")},ordinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}});var $o="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),Vo=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",$o[7],$o[8],$o[9]];e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:Yi,m:Yi,mm:Yi,h:Yi,hh:Yi,d:Yi,dd:Yi,M:Yi,MM:Yi,y:Yi,yy:Yi},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",m:"ein minutt",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaði",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(e){return e+(1===e?"er":"e")}}),e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(e){return e+(1===e?"er":"e")},week:{dow:1,doy:4}}),e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|)/,ordinal:function(e){return e+(1===e?"er":"")},week:{dow:1,doy:4}});var qo="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),Uo="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,t){return/-MMM-/.test(t)?Uo[e.month()]:qo[e.month()]},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});var Jo=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],Go=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],Xo=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],Ko=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],Zo=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"];e.defineLocale("gd",{months:Jo,monthsShort:Go,monthsParseExact:!0,weekdays:Xo,weekdaysShort:Ko,weekdaysMin:Zo,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},ordinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var t=1===e?"d":e%10===2?"na":"mh";return e+t},week:{dow:1,doy:4}}),e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יוליוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יוליוג׳_ספט׳וק׳וב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישיישי_שבת".split("_"),weekdaysShort:׳׳׳׳׳_ו׳׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10===0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}});var Qo={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:""},es={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","":"0"};e.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return es[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Qo[e]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}}),e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:Ci,mm:Ci,h:Ci,hh:Ci,d:"dan",dd:Ci,M:"mjesec",MM:Ci,y:"godinu",yy:Ci},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var ts="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?n===!0?"de":"DE":n===!0?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return ji.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return ji.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:Hi,m:Hi,mm:Hi,h:Hi,hh:Hi,d:Hi,dd:Hi,M:Hi,MM:Hi,y:Hi,yy:Hi},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},ordinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}}),e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:Pi,m:Pi,mm:Pi,h:"klukkustund",hh:Pi,d:Pi,dd:Pi,M:Pi,MM:Pi,y:Pi,yy:Pi},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato".split("_"),weekdaysShort:"Dom_Lun_Mar_Mer_Gio_Ven_Sab".split("_"),weekdaysMin:"Do_Lu_Ma_Me_Gi_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),e.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"Ah時m分",LTS:"Ah時m分s秒",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah時m分",LLLL:"YYYY年M月D日Ah時m分 dddd"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},ordinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}}),e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}}),e.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return/(წამი|წუთი|საათი|წელი)/.test(e)?e.replace(/ი$/,"ში"):e+"ში"},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},ordinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20===0||e%100===0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}});var ns={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocale("kk",{months:аңтар_ақпан_наурыз_сәуірамыраусым_шілдеамыз_қыркүйек_қазан_қарашаелтоқсан".split("_"),monthsShort:аң_ақп_нау_сәуам_мауіл_там_қыраз_қарел".split("_"),weekdays:ексенбіүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:ек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},ordinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){var t=e%10,n=e>=100?100:null;return e+(ns[e]||ns[t]||ns[n])},week:{dow:1,doy:7}}),e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysMin:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},week:{dow:1,doy:4}}),e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h시 m분",LTS:"A h시 m분 s초",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h시 m분",LLLL:"YYYY년 MMMM D일 dddd A h시 m분"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"일분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},ordinalParse:/\d{1,2}일/,ordinal:"%d일",meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}});var is={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апрай_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:екшемби_Дүйшөмбүейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:ек_Дүй_Шей_Шарей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кече саат] LT",lastWeek:"[Өткен аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},ordinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){var t=e%10,n=e>=100?100:null;return e+(is[e]||is[t]||is[n])},week:{dow:1,doy:7}}),e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:Ii,past:Oi,s:"e puer Sekonnen",m:Ei,mm:"%d Minutten",h:Ei,hh:"%d Stonnen",d:Ei,dd:"%d Deeg",M:Ei,MM:"%d Méint",y:Ei,yy:"%d Joer"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},ordinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}});var rs={m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:Fi,m:Ri,mm:Bi,h:Ri,hh:Bi,d:Ri,dd:Bi,M:Ri,MM:Bi,y:Ri,yy:Bi},ordinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}});var as={m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),
weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:Ui,m:qi,mm:Vi,h:qi,hh:Vi,d:qi,dd:Vi,M:qi,MM:Vi,y:qi,yy:Vi},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var os={words:{m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,t,n){var i=os.words[n];return 1===n.length?t?i[0]:i[1]:e+" "+os.correctGrammaticalCase(e,i)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",m:os.translate,mm:os.translate,h:os.translate,hh:os.translate,d:"dan",dd:os.translate,M:"mjesec",MM:os.translate,y:"godinu",yy:os.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апрај_јун_јул_авг_сеп_окт_ноеек".split("_"),weekdays:едела_понеделник_вторник_средаетврток_петок_сабота".split("_"),weekdaysShort:ед_пон_вто_среет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_сре_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}}),e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റബർ_ഒക്ടോബർ_നവബർ_ഡിസബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവ._ഡിസ.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴ_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}});var ss={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:""},ls={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","":"0"};e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:Ji,m:Ji,mm:Ji,h:Ji,hh:Ji,d:Ji,dd:Ji,M:Ji,MM:Ji,y:Ji,yy:Ji},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return ls[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return ss[e]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात्री"===t?e<4?e:e+12:"सकाळी"===t?e:"दुपारी"===t?e>=10?e:e+12:"सायंकाळी"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात्री":e<10?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}}),e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});var us={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:""},ds={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","":"0"};e.defineLocale("my",{months:"ဇန်နါရီ_ဖေဖော်ါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(e){return ds[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return us[e]})},week:{dow:1,doy:4}}),e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var cs={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:""},hs={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","":"0"};e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return hs[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return cs[e]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}});var fs="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),ps="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ms=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],_s=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,t){return/-MMM-/.test(t)?ps[e.month()]:fs[e.month()]},monthsRegex:_s,monthsShortRegex:_s,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:ms,longMonthsParse:ms,shortMonthsParse:ms,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});var gs="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),ys="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),vs=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],bs=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,t){return/-MMM-/.test(t)?ys[e.month()]:gs[e.month()]},monthsRegex:bs,monthsShortRegex:bs,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:vs,longMonthsParse:vs,shortMonthsParse:vs,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}}),e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var Ms={1:"",2:"੨",3:"੩",4:"",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:""},ws={"":"1","੨":"2","੩":"3","":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(e){return ws[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Ms[e]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}});var xs="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),ks="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");e.defineLocale("pl",{months:function(e,t){return""===t?"("+ks[e.month()]+"|"+xs[e.month()]+")":/D MMMM/.test(t)?ks[e.month()]:xs[e.month()]},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:"[W] dddd [o] LT",lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:Xi,mm:Xi,h:Xi,hh:Xi,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:Xi,y:"rok",yy:Xi},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atrás",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº"}),e.defineLocale("pt",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",m:"un minut",mm:Ki,h:"o oră",hh:Ki,d:"o zi",dd:Ki,M:"o lună",MM:Ki,y:"un an",yy:Ki},week:{dow:1,doy:7}});var Ls=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:оскресенье_понедельник_вторник_средаетверг_пятница_суббота".split("_"),format:оскресенье_понедельник_вторник_средуетверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:с_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:с_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:Ls,longMonthsParse:Ls,shortMonthsParse:Ls,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В следующее] dddd [в] LT";case 1:case 2:case 4:return"[В следующий] dddd [в] LT";case 3:case 5:case 6:return"[В следующую] dddd [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:Qi,mm:Qi,h:"час",hh:Qi,d:"день",dd:Qi,M:"месяц",MM:Qi,y:"год",yy:Qi},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},ordinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:7}}),e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},ordinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}});var Ds="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),Ts="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");e.defineLocale("sk",{months:Ds,monthsShort:Ts,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:tr,m:tr,mm:tr,h:tr,hh:tr,d:tr,dd:tr,M:tr,MM:tr,y:tr,yy:tr},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:nr,m:nr,mm:nr,h:nr,hh:nr,d:nr,dd:nr,M:nr,MM:nr,y:nr,yy:nr},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",
sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var Ys={words:{m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,t,n){var i=Ys.words[n];return 1===n.length?t?i[0]:i[1]:e+" "+Ys.correctGrammaticalCase(e,i)}};e.defineLocale("sr-cyrl",{months:"јануаребруарарт_април_мај_јун_јул_август_септембар_октобаровембарецембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:едеља_понедељак_уторак_средаетвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:е_по_ут_сре_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var e=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:Ys.translate,mm:Ys.translate,h:Ys.translate,hh:Ys.translate,d:"дан",dd:Ys.translate,M:"месец",MM:Ys.translate,y:"годину",yy:Ys.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var Ss={words:{m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,t,n){var i=Ss.words[n];return 1===n.length?t?i[0]:i[1]:e+" "+Ss.correctGrammaticalCase(e,i)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:Ss.translate,mm:Ss.translate,h:Ss.translate,hh:Ss.translate,d:"dan",dd:Ss.translate,M:"mesec",MM:Ss.translate,y:"godinu",yy:Ss.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},ordinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}}),e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}(e|a)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"e":1===t?"a":2===t?"a":"e";return e+n},week:{dow:1,doy:4}}),e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}});var Cs={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:""},Hs={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},ordinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(e){return Hs[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Cs[e]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t?e:"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}}),e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెబర్_అక్టోబర్_నవబర్_డిసెబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివార_సోమవార_మగళవార_బుధవార_గురువార_శుక్రవార_శనివార".split("_"),weekdaysShort:"ఆది_సోమ_మగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మ_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},ordinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}}),e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juniu_Juliu_Augustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Aug_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sexta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sext_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Sex_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",m:"minutu ida",mm:"minutus %d",h:"horas ida",hh:"horas %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}}),e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY/MM/DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}}),e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},ordinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});var js="pagh_wa_cha_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");e.defineLocale("tlh",{months:"tera jar wa_tera jar cha_tera jar wej_tera jar loS_tera jar vagh_tera jar jav_tera jar Soch_tera jar chorgh_tera jar Hut_tera jar wamaH_tera jar wamaH wa_tera jar wamaH cha".split("_"),monthsShort:"jar wa_jar cha_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wamaH_jar wamaH wa_jar wamaH cha".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[waleS] LT",nextWeek:"LLL",lastDay:"[waHu] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:ir,past:rr,s:"puS lup",m:"wa tup",mm:ar,h:"wa rep",hh:ar,d:"wa jaj",dd:ar,M:"wa jar",MM:ar,y:"wa DIS",yy:ar},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var As={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};return e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[haftaya] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen hafta] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal:function(e){if(0===e)return e+"'ıncı";var t=e%10,n=e%100-t,i=e>=100?100:null;return e+(As[t]||As[n]||As[i])},week:{dow:1,doy:7}}),e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:sr,m:sr,mm:sr,h:sr,hh:sr,d:sr,dd:sr,M:sr,MM:sr,y:sr,yy:sr},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}}),e.defineLocale("tzm",{months:"ⵉⴰⵢ_ⴱⴰⵢ_ⵎⴰⵚ_ⵉⴱ_ⵎⴰⵢⵢⵓ_ⵢⵓⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⴱⵉ_ⴽⵟⵓⴱ_ⵓⵡⴰⴱⵉ_ⴷⵓⵊⴱⵉ".split("_"),monthsShort:"ⵉⴰⵢ_ⴱⴰⵢ_ⵎⴰⵚ_ⵉⴱ_ⵎⴰⵢⵢⵓ_ⵢⵓⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⴱⵉ_ⴽⵟⵓⴱ_ⵓⵡⴰⴱⵉ_ⴷⵓⵊⴱⵉ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⴰⵙ_ⴰⵙⵉⴰⵙ_ⴰⴽⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⴰⵙ_ⴰⵙⵉⴰⵙ_ⴰⴽⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⴰⵙ_ⴰⵙⵉⴰⵙ_ⴰⴽⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰ",M:"ⴰⵢoⵓ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}}),e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_веровт_лист_груд".split("_"),weekdays:dr,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:cr("[Сьогодні "),nextDay:cr("[Завтра "),lastDay:cr("[Вчора "),nextWeek:cr("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return cr("[Минулої] dddd [").call(this);case 1:case 2:case 4:return cr("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:ur,mm:ur,h:"годину",hh:ur,d:"день",dd:ur,M:"місяць",MM:ur,y:"рік",yy:ur},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},ordinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}}),e.defineLocale("uz",{months:"январеврал_март_апрел_май_июн_июл_август_сентябр_октяброябрекабр".split("_"),monthsShort:"янв_фев_мар_апрай_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанбаушанба_Сешанбаоршанбаайшанбаумаанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чорай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Сеоауа".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}}),e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},ordinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}}),e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}}),e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},ordinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}}),e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah点mm分",LTS:"Ah点m分s秒",L:"YYYY-MM-DD",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah点mm分",LLLL:"YYYY年MMMD日ddddAh点mm分",l:"YYYY-MM-DD",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah点mm分",llll:"YYYY年MMMD日ddddAh点mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:function(){return 0===this.minutes()?"[今天]Ah[点整]":"[今天]LT"},nextDay:function(){return 0===this.minutes()?"[明天]Ah[点整]":"[明天]LT"},lastDay:function(){return 0===this.minutes()?"[昨天]Ah[点整]":"[昨天]LT"},nextWeek:function(){var t,n;return t=e().startOf("week"),n=this.diff(t,"days")>=7?"[下]":"[本]",0===this.minutes()?n+"dddAh点整":n+"dddAh点mm"},lastWeek:function(){var t,n;return t=e().startOf("week"),n=this.unix()<t.unix()?"[上]":"[本]",0===this.minutes()?n+"dddAh点整":n+"dddAh点mm"},sameElse:"LL"},ordinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}}),e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點mm分",LTS:"Ah點m分s秒",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah點mm分",LLLL:"YYYY年MMMD日ddddAh點mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah點mm分",llll:"YYYY年MMMD日ddddAh點mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}}),e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點mm分",LTS:"Ah點m分s秒",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah點mm分",LLLL:"YYYY年MMMD日ddddAh點mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah點mm分",llll:"YYYY年MMMD日ddddAh點mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}}),e.locale("en"),e}),!function(e){"use strict";if("function"==typeof define&&define.amd)define(["jquery","moment"],e);else if("object"==typeof exports)e(require("jquery"),require("moment"));else{if("undefined"==typeof jQuery)throw"bootstrap-datetimepicker requires jQuery to be loaded first";if("undefined"==typeof moment)throw"bootstrap-datetimepicker requires Moment.js to be loaded first";e(jQuery,moment)}}(function(e,t){"use strict";if(!t)throw new Error("bootstrap-datetimepicker requires Moment.js to be loaded first");var n=function(n,i){var r,a,o,s,l,u,d,c={},h=!0,f=!1,p=!1,m=0,_=[{clsName:"days",navFnc:"M",navStep:1},{clsName:"months",navFnc:"y",navStep:1},{clsName:"years",navFnc:"y",navStep:10},{clsName:"decades",navFnc:"y",navStep:100}],g=["days","months","years","decades"],y=["top","bottom","auto"],v=["left","right","auto"],b=["default","top","bottom"],M={up:38,38:"up",down:40,40:"down",left:37,37:"left",right:39,39:"right",tab:9,9:"tab",escape:27,27:"escape",enter:13,13:"enter",pageUp:33,33:"pageUp",pageDown:34,34:"pageDown",shift:16,16:"shift",control:17,17:"control",space:32,32:"space",t:84,84:"t","delete":46,46:"delete"},w={},x=function(){return void 0!==t.tz&&void 0!==i.timeZone&&null!==i.timeZone&&""!==i.timeZone},k=function(e){var n;return n=void 0===e||null===e?t():x()?t.tz(e,u,i.useStrict,i.timeZone):t(e,u,i.useStrict),x()&&n.tz(i.timeZone),n},L=function(e){if("string"!=typeof e||e.length>1)throw new TypeError("isEnabled expects a single character string parameter");switch(e){case"y":return-1!==l.indexOf("Y");case"M":return-1!==l.indexOf("M");case"d":return-1!==l.toLowerCase().indexOf("d");case"h":case"H":return-1!==l.toLowerCase().indexOf("h");case"m":return-1!==l.indexOf("m");case"s":return-1!==l.indexOf("s");default:return!1}},D=function(){return L("h")||L("m")||L("s")},T=function(){return L("y")||L("M")||L("d")},Y=function(){var t=e("<thead>").append(e("<tr>").append(e("<th>").addClass("prev").attr("data-action","previous").append(e("<span>").addClass(i.icons.previous))).append(e("<th>").addClass("picker-switch").attr("data-action","pickerSwitch").attr("colspan",i.calendarWeeks?"6":"5")).append(e("<th>").addClass("next").attr("data-action","next").append(e("<span>").addClass(i.icons.next)))),n=e("<tbody>").append(e("<tr>").append(e("<td>").attr("colspan",i.calendarWeeks?"8":"7")));return[e("<div>").addClass("datepicker-days").append(e("<table>").addClass("table-condensed").append(t).append(e("<tbody>"))),e("<div>").addClass("datepicker-months").append(e("<table>").addClass("table-condensed").append(t.clone()).append(n.clone())),e("<div>").addClass("datepicker-years").append(e("<table>").addClass("table-condensed").append(t.clone()).append(n.clone())),e("<div>").addClass("datepicker-decades").append(e("<table>").addClass("table-condensed").append(t.clone()).append(n.clone()))]},S=function(){var t=e("<tr>"),n=e("<tr>"),r=e("<tr>");return L("h")&&(t.append(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1",title:i.tooltips.incrementHour}).addClass("btn").attr("data-action","incrementHours").append(e("<span>").addClass(i.icons.up)))),n.append(e("<td>").append(e("<span>").addClass("timepicker-hour").attr({"data-time-component":"hours",title:i.tooltips.pickHour}).attr("data-action","showHours"))),r.append(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1",title:i.tooltips.decrementHour}).addClass("btn").attr("data-action","decrementHours").append(e("<span>").addClass(i.icons.down))))),L("m")&&(L("h")&&(t.append(e("<td>").addClass("separator")),n.append(e("<td>").addClass("separator").html(":")),r.append(e("<td>").addClass("separator"))),t.append(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1",title:i.tooltips.incrementMinute}).addClass("btn").attr("data-action","incrementMinutes").append(e("<span>").addClass(i.icons.up)))),n.append(e("<td>").append(e("<span>").addClass("timepicker-minute").attr({"data-time-component":"minutes",title:i.tooltips.pickMinute}).attr("data-action","showMinutes"))),
r.append(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1",title:i.tooltips.decrementMinute}).addClass("btn").attr("data-action","decrementMinutes").append(e("<span>").addClass(i.icons.down))))),L("s")&&(L("m")&&(t.append(e("<td>").addClass("separator")),n.append(e("<td>").addClass("separator").html(":")),r.append(e("<td>").addClass("separator"))),t.append(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1",title:i.tooltips.incrementSecond}).addClass("btn").attr("data-action","incrementSeconds").append(e("<span>").addClass(i.icons.up)))),n.append(e("<td>").append(e("<span>").addClass("timepicker-second").attr({"data-time-component":"seconds",title:i.tooltips.pickSecond}).attr("data-action","showSeconds"))),r.append(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1",title:i.tooltips.decrementSecond}).addClass("btn").attr("data-action","decrementSeconds").append(e("<span>").addClass(i.icons.down))))),s||(t.append(e("<td>").addClass("separator")),n.append(e("<td>").append(e("<button>").addClass("btn btn-primary").attr({"data-action":"togglePeriod",tabindex:"-1",title:i.tooltips.togglePeriod}))),r.append(e("<td>").addClass("separator"))),e("<div>").addClass("timepicker-picker").append(e("<table>").addClass("table-condensed").append([t,n,r]))},C=function(){var t=e("<div>").addClass("timepicker-hours").append(e("<table>").addClass("table-condensed")),n=e("<div>").addClass("timepicker-minutes").append(e("<table>").addClass("table-condensed")),i=e("<div>").addClass("timepicker-seconds").append(e("<table>").addClass("table-condensed")),r=[S()];return L("h")&&r.push(t),L("m")&&r.push(n),L("s")&&r.push(i),r},H=function(){var t=[];return i.showTodayButton&&t.push(e("<td>").append(e("<a>").attr({"data-action":"today",title:i.tooltips.today}).append(e("<span>").addClass(i.icons.today)))),!i.sideBySide&&T()&&D()&&t.push(e("<td>").append(e("<a>").attr({"data-action":"togglePicker",title:i.tooltips.selectTime}).append(e("<span>").addClass(i.icons.time)))),i.showClear&&t.push(e("<td>").append(e("<a>").attr({"data-action":"clear",title:i.tooltips.clear}).append(e("<span>").addClass(i.icons.clear)))),i.showClose&&t.push(e("<td>").append(e("<a>").attr({"data-action":"close",title:i.tooltips.close}).append(e("<span>").addClass(i.icons.close)))),e("<table>").addClass("table-condensed").append(e("<tbody>").append(e("<tr>").append(t)))},j=function(){var t=e("<div>").addClass("bootstrap-datetimepicker-widget dropdown-menu"),n=e("<div>").addClass("datepicker").append(Y()),r=e("<div>").addClass("timepicker").append(C()),a=e("<ul>").addClass("list-unstyled"),o=e("<li>").addClass("picker-switch"+(i.collapse?" accordion-toggle":"")).append(H());return i.inline&&t.removeClass("dropdown-menu"),s&&t.addClass("usetwentyfour"),L("s")&&!s&&t.addClass("wider"),i.sideBySide&&T()&&D()?(t.addClass("timepicker-sbs"),"top"===i.toolbarPlacement&&t.append(o),t.append(e("<div>").addClass("row").append(n.addClass("col-md-6")).append(r.addClass("col-md-6"))),"bottom"===i.toolbarPlacement&&t.append(o),t):("top"===i.toolbarPlacement&&a.append(o),T()&&a.append(e("<li>").addClass(i.collapse&&D()?"collapse in":"").append(n)),"default"===i.toolbarPlacement&&a.append(o),D()&&a.append(e("<li>").addClass(i.collapse&&T()?"collapse":"").append(r)),"bottom"===i.toolbarPlacement&&a.append(o),t.append(a))},A=function(){var t,r={};return t=n.is("input")||i.inline?n.data():n.find("input").data(),t.dateOptions&&t.dateOptions instanceof Object&&(r=e.extend(!0,r,t.dateOptions)),e.each(i,function(e){var n="date"+e.charAt(0).toUpperCase()+e.slice(1);void 0!==t[n]&&(r[e]=t[n])}),r},P=function(){var t,r=(f||n).position(),a=(f||n).offset(),o=i.widgetPositioning.vertical,s=i.widgetPositioning.horizontal;if(i.widgetParent)t=i.widgetParent.append(p);else if(n.is("input"))t=n.after(p).parent();else{if(i.inline)return void(t=n.append(p));t=n,n.children().first().after(p)}if("auto"===o&&(o=a.top+1.5*p.height()>=e(window).height()+e(window).scrollTop()&&p.height()+n.outerHeight()<a.top?"top":"bottom"),"auto"===s&&(s=t.width()<a.left+p.outerWidth()/2&&a.left+p.outerWidth()>e(window).width()?"right":"left"),"top"===o?p.addClass("top").removeClass("bottom"):p.addClass("bottom").removeClass("top"),"right"===s?p.addClass("pull-right"):p.removeClass("pull-right"),"relative"!==t.css("position")&&(t=t.parents().filter(function(){return"relative"===e(this).css("position")}).first()),0===t.length)throw new Error("datetimepicker component should be placed within a relative positioned container");p.css({top:"top"===o?"auto":r.top+n.outerHeight(),bottom:"top"===o?t.outerHeight()-(t===n?0:r.top):"auto",left:"left"===s?t===n?0:r.left:"auto",right:"left"===s?"auto":t.outerWidth()-n.outerWidth()-(t===n?0:r.left)})},E=function(e){"dp.change"===e.type&&(e.date&&e.date.isSame(e.oldDate)||!e.date&&!e.oldDate)||n.trigger(e)},I=function(e){"y"===e&&(e="YYYY"),E({type:"dp.update",change:e,viewDate:a.clone()})},O=function(e){p&&(e&&(d=Math.max(m,Math.min(3,d+e))),p.find(".datepicker > div").hide().filter(".datepicker-"+_[d].clsName).show())},W=function(){var t=e("<tr>"),n=a.clone().startOf("w").startOf("d");for(i.calendarWeeks===!0&&t.append(e("<th>").addClass("cw").text("#"));n.isBefore(a.clone().endOf("w"));)t.append(e("<th>").addClass("dow").text(n.format("dd"))),n.add(1,"d");p.find(".datepicker-days thead").append(t)},F=function(e){return i.disabledDates[e.format("YYYY-MM-DD")]===!0},R=function(e){return i.enabledDates[e.format("YYYY-MM-DD")]===!0},N=function(e){return i.disabledHours[e.format("H")]===!0},z=function(e){return i.enabledHours[e.format("H")]===!0},B=function(t,n){if(!t.isValid())return!1;if(i.disabledDates&&"d"===n&&F(t))return!1;if(i.enabledDates&&"d"===n&&!R(t))return!1;if(i.minDate&&t.isBefore(i.minDate,n))return!1;if(i.maxDate&&t.isAfter(i.maxDate,n))return!1;if(i.daysOfWeekDisabled&&"d"===n&&-1!==i.daysOfWeekDisabled.indexOf(t.day()))return!1;if(i.disabledHours&&("h"===n||"m"===n||"s"===n)&&N(t))return!1;if(i.enabledHours&&("h"===n||"m"===n||"s"===n)&&!z(t))return!1;if(i.disabledTimeIntervals&&("h"===n||"m"===n||"s"===n)){var r=!1;if(e.each(i.disabledTimeIntervals,function(){return t.isBetween(this[0],this[1])?(r=!0,!1):void 0}),r)return!1}return!0},$=function(){for(var t=[],n=a.clone().startOf("y").startOf("d");n.isSame(a,"y");)t.push(e("<span>").attr("data-action","selectMonth").addClass("month").text(n.format("MMM"))),n.add(1,"M");p.find(".datepicker-months td").empty().append(t)},V=function(){var t=p.find(".datepicker-months"),n=t.find("th"),o=t.find("tbody").find("span");n.eq(0).find("span").attr("title",i.tooltips.prevYear),n.eq(1).attr("title",i.tooltips.selectYear),n.eq(2).find("span").attr("title",i.tooltips.nextYear),t.find(".disabled").removeClass("disabled"),B(a.clone().subtract(1,"y"),"y")||n.eq(0).addClass("disabled"),n.eq(1).text(a.year()),B(a.clone().add(1,"y"),"y")||n.eq(2).addClass("disabled"),o.removeClass("active"),r.isSame(a,"y")&&!h&&o.eq(r.month()).addClass("active"),o.each(function(t){B(a.clone().month(t),"M")||e(this).addClass("disabled")})},q=function(){var e=p.find(".datepicker-years"),t=e.find("th"),n=a.clone().subtract(5,"y"),o=a.clone().add(6,"y"),s="";for(t.eq(0).find("span").attr("title",i.tooltips.prevDecade),t.eq(1).attr("title",i.tooltips.selectDecade),t.eq(2).find("span").attr("title",i.tooltips.nextDecade),e.find(".disabled").removeClass("disabled"),i.minDate&&i.minDate.isAfter(n,"y")&&t.eq(0).addClass("disabled"),t.eq(1).text(n.year()+"-"+o.year()),i.maxDate&&i.maxDate.isBefore(o,"y")&&t.eq(2).addClass("disabled");!n.isAfter(o,"y");)s+='<span data-action="selectYear" class="year'+(n.isSame(r,"y")&&!h?" active":"")+(B(n,"y")?"":" disabled")+'">'+n.year()+"</span>",n.add(1,"y");e.find("td").html(s)},U=function(){var e,n=p.find(".datepicker-decades"),o=n.find("th"),s=t({y:a.year()-a.year()%100-1}),l=s.clone().add(100,"y"),u=s.clone(),d=!1,c=!1,h="";for(o.eq(0).find("span").attr("title",i.tooltips.prevCentury),o.eq(2).find("span").attr("title",i.tooltips.nextCentury),n.find(".disabled").removeClass("disabled"),(s.isSame(t({y:1900}))||i.minDate&&i.minDate.isAfter(s,"y"))&&o.eq(0).addClass("disabled"),o.eq(1).text(s.year()+"-"+l.year()),(s.isSame(t({y:2e3}))||i.maxDate&&i.maxDate.isBefore(l,"y"))&&o.eq(2).addClass("disabled");!s.isAfter(l,"y");)e=s.year()+12,d=i.minDate&&i.minDate.isAfter(s,"y")&&i.minDate.year()<=e,c=i.maxDate&&i.maxDate.isAfter(s,"y")&&i.maxDate.year()<=e,h+='<span data-action="selectDecade" class="decade'+(r.isAfter(s)&&r.year()<=e?" active":"")+(B(s,"y")||d||c?"":" disabled")+'" data-selection="'+(s.year()+6)+'">'+(s.year()+1)+" - "+(s.year()+12)+"</span>",s.add(12,"y");h+="<span></span><span></span><span></span>",n.find("td").html(h),o.eq(1).text(u.year()+1+"-"+s.year())},J=function(){var t,n,o,s,l=p.find(".datepicker-days"),u=l.find("th"),d=[];if(T()){for(u.eq(0).find("span").attr("title",i.tooltips.prevMonth),u.eq(1).attr("title",i.tooltips.selectMonth),u.eq(2).find("span").attr("title",i.tooltips.nextMonth),l.find(".disabled").removeClass("disabled"),u.eq(1).text(a.format(i.dayViewHeaderFormat)),B(a.clone().subtract(1,"M"),"M")||u.eq(0).addClass("disabled"),B(a.clone().add(1,"M"),"M")||u.eq(2).addClass("disabled"),t=a.clone().startOf("M").startOf("w").startOf("d"),s=0;42>s;s++)0===t.weekday()&&(n=e("<tr>"),i.calendarWeeks&&n.append('<td class="cw">'+t.week()+"</td>"),d.push(n)),o="",t.isBefore(a,"M")&&(o+=" old"),t.isAfter(a,"M")&&(o+=" new"),t.isSame(r,"d")&&!h&&(o+=" active"),B(t,"d")||(o+=" disabled"),t.isSame(k(),"d")&&(o+=" today"),0!==t.day()&&6!==t.day()||(o+=" weekend"),n.append('<td data-action="selectDay" data-day="'+t.format("L")+'" class="day'+o+'">'+t.date()+"</td>"),t.add(1,"d");l.find("tbody").empty().append(d),V(),q(),U()}},G=function(){var t=p.find(".timepicker-hours table"),n=a.clone().startOf("d"),i=[],r=e("<tr>");for(a.hour()>11&&!s&&n.hour(12);n.isSame(a,"d")&&(s||a.hour()<12&&n.hour()<12||a.hour()>11);)n.hour()%4===0&&(r=e("<tr>"),i.push(r)),r.append('<td data-action="selectHour" class="hour'+(B(n,"h")?"":" disabled")+'">'+n.format(s?"HH":"hh")+"</td>"),n.add(1,"h");t.empty().append(i)},X=function(){for(var t=p.find(".timepicker-minutes table"),n=a.clone().startOf("h"),r=[],o=e("<tr>"),s=1===i.stepping?5:i.stepping;a.isSame(n,"h");)n.minute()%(4*s)===0&&(o=e("<tr>"),r.push(o)),o.append('<td data-action="selectMinute" class="minute'+(B(n,"m")?"":" disabled")+'">'+n.format("mm")+"</td>"),n.add(s,"m");t.empty().append(r)},K=function(){for(var t=p.find(".timepicker-seconds table"),n=a.clone().startOf("m"),i=[],r=e("<tr>");a.isSame(n,"m");)n.second()%20===0&&(r=e("<tr>"),i.push(r)),r.append('<td data-action="selectSecond" class="second'+(B(n,"s")?"":" disabled")+'">'+n.format("ss")+"</td>"),n.add(5,"s");t.empty().append(i)},Z=function(){var e,t,n=p.find(".timepicker span[data-time-component]");s||(e=p.find(".timepicker [data-action=togglePeriod]"),t=r.clone().add(r.hours()>=12?-12:12,"h"),e.text(r.format("A")),B(t,"h")?e.removeClass("disabled"):e.addClass("disabled")),n.filter("[data-time-component=hours]").text(r.format(s?"HH":"hh")),n.filter("[data-time-component=minutes]").text(r.format("mm")),n.filter("[data-time-component=seconds]").text(r.format("ss")),G(),X(),K()},Q=function(){p&&(J(),Z())},ee=function(e){var t=h?null:r;return e?(e=e.clone().locale(i.locale),x()&&e.tz(i.timeZone),1!==i.stepping&&e.minutes(Math.round(e.minutes()/i.stepping)*i.stepping).seconds(0),void(B(e)?(r=e,o.val(r.format(l)),n.data("date",r.format(l)),h=!1,Q(),E({type:"dp.change",date:r.clone(),oldDate:t})):(i.keepInvalid?E({type:"dp.change",date:e,oldDate:t}):o.val(h?"":r.format(l)),E({type:"dp.error",date:e,oldDate:t})))):(h=!0,o.val(""),n.data("date",""),E({type:"dp.change",date:!1,oldDate:t}),void Q())},te=function(){var t=!1;return p?(p.find(".collapse").each(function(){var n=e(this).data("collapse");return!n||!n.transitioning||(t=!0,!1)}),t?c:(f&&f.hasClass("btn")&&f.toggleClass("active"),p.hide(),e(window).off("resize",P),p.off("click","[data-action]"),p.off("mousedown",!1),p.remove(),p=!1,E({type:"dp.hide",date:r.clone()}),o.blur(),d=0,a=r.clone(),c)):c},ne=function(){ee(null)},ie=function(e){return void 0===i.parseInputDate?t.isMoment(e)||(e=k(e)):e=i.parseInputDate(e),e},re={next:function(){var e=_[d].navFnc;a.add(_[d].navStep,e),J(),I(e)},previous:function(){var e=_[d].navFnc;a.subtract(_[d].navStep,e),J(),I(e)},pickerSwitch:function(){O(1)},selectMonth:function(t){var n=e(t.target).closest("tbody").find("span").index(e(t.target));a.month(n),d===m?(ee(r.clone().year(a.year()).month(a.month())),i.inline||te()):(O(-1),J()),I("M")},selectYear:function(t){var n=parseInt(e(t.target).text(),10)||0;a.year(n),d===m?(ee(r.clone().year(a.year())),i.inline||te()):(O(-1),J()),I("YYYY")},selectDecade:function(t){var n=parseInt(e(t.target).data("selection"),10)||0;a.year(n),d===m?(ee(r.clone().year(a.year())),i.inline||te()):(O(-1),J()),I("YYYY")},selectDay:function(t){var n=a.clone();e(t.target).is(".old")&&n.subtract(1,"M"),e(t.target).is(".new")&&n.add(1,"M"),ee(n.date(parseInt(e(t.target).text(),10))),D()||i.keepOpen||i.inline||te()},incrementHours:function(){var e=r.clone().add(1,"h");B(e,"h")&&ee(e)},incrementMinutes:function(){var e=r.clone().add(i.stepping,"m");B(e,"m")&&ee(e)},incrementSeconds:function(){var e=r.clone().add(1,"s");B(e,"s")&&ee(e)},decrementHours:function(){var e=r.clone().subtract(1,"h");B(e,"h")&&ee(e)},decrementMinutes:function(){var e=r.clone().subtract(i.stepping,"m");B(e,"m")&&ee(e)},decrementSeconds:function(){var e=r.clone().subtract(1,"s");B(e,"s")&&ee(e)},togglePeriod:function(){ee(r.clone().add(r.hours()>=12?-12:12,"h"))},togglePicker:function(t){var n,r=e(t.target),a=r.closest("ul"),o=a.find(".in"),s=a.find(".collapse:not(.in)");if(o&&o.length){if(n=o.data("collapse"),n&&n.transitioning)return;o.collapse?(o.collapse("hide"),s.collapse("show")):(o.removeClass("in"),s.addClass("in")),r.is("span")?r.toggleClass(i.icons.time+" "+i.icons.date):r.find("span").toggleClass(i.icons.time+" "+i.icons.date)}},showPicker:function(){p.find(".timepicker > div:not(.timepicker-picker)").hide(),p.find(".timepicker .timepicker-picker").show()},showHours:function(){p.find(".timepicker .timepicker-picker").hide(),p.find(".timepicker .timepicker-hours").show()},showMinutes:function(){p.find(".timepicker .timepicker-picker").hide(),p.find(".timepicker .timepicker-minutes").show()},showSeconds:function(){p.find(".timepicker .timepicker-picker").hide(),p.find(".timepicker .timepicker-seconds").show()},selectHour:function(t){var n=parseInt(e(t.target).text(),10);s||(r.hours()>=12?12!==n&&(n+=12):12===n&&(n=0)),ee(r.clone().hours(n)),re.showPicker.call(c)},selectMinute:function(t){ee(r.clone().minutes(parseInt(e(t.target).text(),10))),re.showPicker.call(c)},selectSecond:function(t){ee(r.clone().seconds(parseInt(e(t.target).text(),10))),re.showPicker.call(c)},clear:ne,today:function(){var e=k();B(e,"d")&&ee(e)},close:te},ae=function(t){return!e(t.currentTarget).is(".disabled")&&(re[e(t.currentTarget).data("action")].apply(c,arguments),!1)},oe=function(){var t,n={year:function(e){return e.month(0).date(1).hours(0).seconds(0).minutes(0)},month:function(e){return e.date(1).hours(0).seconds(0).minutes(0)},day:function(e){return e.hours(0).seconds(0).minutes(0)},hour:function(e){return e.seconds(0).minutes(0)},minute:function(e){return e.seconds(0)}};return o.prop("disabled")||!i.ignoreReadonly&&o.prop("readonly")||p?c:(void 0!==o.val()&&0!==o.val().trim().length?ee(ie(o.val().trim())):h&&i.useCurrent&&(i.inline||o.is("input")&&0===o.val().trim().length)&&(t=k(),"string"==typeof i.useCurrent&&(t=n[i.useCurrent](t)),ee(t)),p=j(),W(),$(),p.find(".timepicker-hours").hide(),p.find(".timepicker-minutes").hide(),p.find(".timepicker-seconds").hide(),Q(),O(),e(window).on("resize",P),p.on("click","[data-action]",ae),p.on("mousedown",!1),f&&f.hasClass("btn")&&f.toggleClass("active"),P(),p.show(),i.focusOnShow&&!o.is(":focus")&&o.focus(),E({type:"dp.show"}),c)},se=function(){return p?te():oe()},le=function(e){var t,n,r,a,o=null,s=[],l={},u=e.which,d="p";w[u]=d;for(t in w)w.hasOwnProperty(t)&&w[t]===d&&(s.push(t),parseInt(t,10)!==u&&(l[t]=!0));for(t in i.keyBinds)if(i.keyBinds.hasOwnProperty(t)&&"function"==typeof i.keyBinds[t]&&(r=t.split(" "),r.length===s.length&&M[u]===r[r.length-1])){for(a=!0,n=r.length-2;n>=0;n--)if(!(M[r[n]]in l)){a=!1;break}if(a){o=i.keyBinds[t];break}}o&&(o.call(c,p),e.stopPropagation(),e.preventDefault())},ue=function(e){w[e.which]="r",e.stopPropagation(),e.preventDefault()},de=function(t){var n=e(t.target).val().trim(),i=n?ie(n):null;return ee(i),t.stopImmediatePropagation(),!1},ce=function(){o.on({change:de,blur:i.debug?"":te,keydown:le,keyup:ue,focus:i.allowInputToggle?oe:""}),n.is("input")?o.on({focus:oe}):f&&(f.on("click",se),f.on("mousedown",!1))},he=function(){o.off({change:de,blur:blur,keydown:le,keyup:ue,focus:i.allowInputToggle?te:""}),n.is("input")?o.off({focus:oe}):f&&(f.off("click",se),f.off("mousedown",!1))},fe=function(t){var n={};return e.each(t,function(){var e=ie(this);e.isValid()&&(n[e.format("YYYY-MM-DD")]=!0)}),!!Object.keys(n).length&&n},pe=function(t){var n={};return e.each(t,function(){n[this]=!0}),!!Object.keys(n).length&&n},me=function(){var e=i.format||"L LT";l=e.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(e){var t=r.localeData().longDateFormat(e)||e;return t.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(e){return r.localeData().longDateFormat(e)||e})}),u=i.extraFormats?i.extraFormats.slice():[],u.indexOf(e)<0&&u.indexOf(l)<0&&u.push(l),s=l.toLowerCase().indexOf("a")<1&&l.replace(/\[.*?\]/g,"").indexOf("h")<1,L("y")&&(m=2),L("M")&&(m=1),L("d")&&(m=0),d=Math.max(m,d),h||ee(r)};if(c.destroy=function(){te(),he(),n.removeData("DateTimePicker"),n.removeData("date")},c.toggle=se,c.show=oe,c.hide=te,c.disable=function(){return te(),f&&f.hasClass("btn")&&f.addClass("disabled"),o.prop("disabled",!0),c},c.enable=function(){return f&&f.hasClass("btn")&&f.removeClass("disabled"),o.prop("disabled",!1),c},c.ignoreReadonly=function(e){if(0===arguments.length)return i.ignoreReadonly;if("boolean"!=typeof e)throw new TypeError("ignoreReadonly () expects a boolean parameter");return i.ignoreReadonly=e,c},c.options=function(t){if(0===arguments.length)return e.extend(!0,{},i);if(!(t instanceof Object))throw new TypeError("options() options parameter should be an object");return e.extend(!0,i,t),e.each(i,function(e,t){if(void 0===c[e])throw new TypeError("option "+e+" is not recognized!");c[e](t)}),c},c.date=function(e){if(0===arguments.length)return h?null:r.clone();if(!(null===e||"string"==typeof e||t.isMoment(e)||e instanceof Date))throw new TypeError("date() parameter must be one of [null, string, moment or Date]");return ee(null===e?null:ie(e)),c},c.format=function(e){if(0===arguments.length)return i.format;if("string"!=typeof e&&("boolean"!=typeof e||e!==!1))throw new TypeError("format() expects a string or boolean:false parameter "+e);return i.format=e,l&&me(),c},c.timeZone=function(e){if(0===arguments.length)return i.timeZone;if("string"!=typeof e)throw new TypeError("newZone() expects a string parameter");return i.timeZone=e,c},c.dayViewHeaderFormat=function(e){if(0===arguments.length)return i.dayViewHeaderFormat;if("string"!=typeof e)throw new TypeError("dayViewHeaderFormat() expects a string parameter");return i.dayViewHeaderFormat=e,c},c.extraFormats=function(e){if(0===arguments.length)return i.extraFormats;if(e!==!1&&!(e instanceof Array))throw new TypeError("extraFormats() expects an array or false parameter");return i.extraFormats=e,u&&me(),c},c.disabledDates=function(t){if(0===arguments.length)return i.disabledDates?e.extend({},i.disabledDates):i.disabledDates;if(!t)return i.disabledDates=!1,Q(),c;if(!(t instanceof Array))throw new TypeError("disabledDates() expects an array parameter");return i.disabledDates=fe(t),i.enabledDates=!1,Q(),c},c.enabledDates=function(t){if(0===arguments.length)return i.enabledDates?e.extend({},i.enabledDates):i.enabledDates;if(!t)return i.enabledDates=!1,Q(),c;if(!(t instanceof Array))throw new TypeError("enabledDates() expects an array parameter");return i.enabledDates=fe(t),i.disabledDates=!1,Q(),c},c.daysOfWeekDisabled=function(e){if(0===arguments.length)return i.daysOfWeekDisabled.splice(0);if("boolean"==typeof e&&!e)return i.daysOfWeekDisabled=!1,Q(),c;if(!(e instanceof Array))throw new TypeError("daysOfWeekDisabled() expects an array parameter");if(i.daysOfWeekDisabled=e.reduce(function(e,t){return t=parseInt(t,10),t>6||0>t||isNaN(t)?e:(-1===e.indexOf(t)&&e.push(t),e)},[]).sort(),i.useCurrent&&!i.keepInvalid){for(var t=0;!B(r,"d");){if(r.add(1,"d"),7===t)throw"Tried 7 times to find a valid date";t++}ee(r)}return Q(),c},c.maxDate=function(e){if(0===arguments.length)return i.maxDate?i.maxDate.clone():i.maxDate;if("boolean"==typeof e&&e===!1)return i.maxDate=!1,Q(),c;"string"==typeof e&&("now"!==e&&"moment"!==e||(e=k()));var t=ie(e);if(!t.isValid())throw new TypeError("maxDate() Could not parse date parameter: "+e);if(i.minDate&&t.isBefore(i.minDate))throw new TypeError("maxDate() date parameter is before options.minDate: "+t.format(l));return i.maxDate=t,i.useCurrent&&!i.keepInvalid&&r.isAfter(e)&&ee(i.maxDate),a.isAfter(t)&&(a=t.clone().subtract(i.stepping,"m")),Q(),c},c.minDate=function(e){if(0===arguments.length)return i.minDate?i.minDate.clone():i.minDate;if("boolean"==typeof e&&e===!1)return i.minDate=!1,Q(),c;"string"==typeof e&&("now"!==e&&"moment"!==e||(e=k()));var t=ie(e);if(!t.isValid())throw new TypeError("minDate() Could not parse date parameter: "+e);if(i.maxDate&&t.isAfter(i.maxDate))throw new TypeError("minDate() date parameter is after options.maxDate: "+t.format(l));return i.minDate=t,i.useCurrent&&!i.keepInvalid&&r.isBefore(e)&&ee(i.minDate),a.isBefore(t)&&(a=t.clone().add(i.stepping,"m")),Q(),c},c.defaultDate=function(e){if(0===arguments.length)return i.defaultDate?i.defaultDate.clone():i.defaultDate;if(!e)return i.defaultDate=!1,c;"string"==typeof e&&(e="now"===e||"moment"===e?k():k(e));var t=ie(e);if(!t.isValid())throw new TypeError("defaultDate() Could not parse date parameter: "+e);if(!B(t))throw new TypeError("defaultDate() date passed is invalid according to component setup validations");return i.defaultDate=t,(i.defaultDate&&i.inline||""===o.val().trim())&&ee(i.defaultDate),c},c.locale=function(e){if(0===arguments.length)return i.locale;if(!t.localeData(e))throw new TypeError("locale() locale "+e+" is not loaded from moment locales!");return i.locale=e,r.locale(i.locale),a.locale(i.locale),l&&me(),p&&(te(),oe()),c},c.stepping=function(e){return 0===arguments.length?i.stepping:(e=parseInt(e,10),(isNaN(e)||1>e)&&(e=1),i.stepping=e,c)},c.useCurrent=function(e){var t=["year","month","day","hour","minute"];if(0===arguments.length)return i.useCurrent;if("boolean"!=typeof e&&"string"!=typeof e)throw new TypeError("useCurrent() expects a boolean or string parameter");if("string"==typeof e&&-1===t.indexOf(e.toLowerCase()))throw new TypeError("useCurrent() expects a string parameter of "+t.join(", "));return i.useCurrent=e,c},c.collapse=function(e){if(0===arguments.length)return i.collapse;if("boolean"!=typeof e)throw new TypeError("collapse() expects a boolean parameter");return i.collapse===e?c:(i.collapse=e,p&&(te(),oe()),c)},c.icons=function(t){if(0===arguments.length)return e.extend({},i.icons);if(!(t instanceof Object))throw new TypeError("icons() expects parameter to be an Object");return e.extend(i.icons,t),p&&(te(),oe()),c},c.tooltips=function(t){if(0===arguments.length)return e.extend({},i.tooltips);if(!(t instanceof Object))throw new TypeError("tooltips() expects parameter to be an Object");return e.extend(i.tooltips,t),p&&(te(),oe()),c},c.useStrict=function(e){if(0===arguments.length)return i.useStrict;if("boolean"!=typeof e)throw new TypeError("useStrict() expects a boolean parameter");return i.useStrict=e,c},c.sideBySide=function(e){if(0===arguments.length)return i.sideBySide;if("boolean"!=typeof e)throw new TypeError("sideBySide() expects a boolean parameter");return i.sideBySide=e,p&&(te(),oe()),c},c.viewMode=function(e){if(0===arguments.length)return i.viewMode;if("string"!=typeof e)throw new TypeError("viewMode() expects a string parameter");if(-1===g.indexOf(e))throw new TypeError("viewMode() parameter must be one of ("+g.join(", ")+") value");return i.viewMode=e,d=Math.max(g.indexOf(e),m),O(),c},c.toolbarPlacement=function(e){if(0===arguments.length)return i.toolbarPlacement;if("string"!=typeof e)throw new TypeError("toolbarPlacement() expects a string parameter");if(-1===b.indexOf(e))throw new TypeError("toolbarPlacement() parameter must be one of ("+b.join(", ")+") value");return i.toolbarPlacement=e,p&&(te(),oe()),c},c.widgetPositioning=function(t){if(0===arguments.length)return e.extend({},i.widgetPositioning);if("[object Object]"!=={}.toString.call(t))throw new TypeError("widgetPositioning() expects an object variable");if(t.horizontal){if("string"!=typeof t.horizontal)throw new TypeError("widgetPositioning() horizontal variable must be a string");if(t.horizontal=t.horizontal.toLowerCase(),-1===v.indexOf(t.horizontal))throw new TypeError("widgetPositioning() expects horizontal parameter to be one of ("+v.join(", ")+")");i.widgetPositioning.horizontal=t.horizontal}if(t.vertical){if("string"!=typeof t.vertical)throw new TypeError("widgetPositioning() vertical variable must be a string");if(t.vertical=t.vertical.toLowerCase(),-1===y.indexOf(t.vertical))throw new TypeError("widgetPositioning() expects vertical parameter to be one of ("+y.join(", ")+")");i.widgetPositioning.vertical=t.vertical}return Q(),c},c.calendarWeeks=function(e){if(0===arguments.length)return i.calendarWeeks;if("boolean"!=typeof e)throw new TypeError("calendarWeeks() expects parameter to be a boolean value");return i.calendarWeeks=e,Q(),c},c.showTodayButton=function(e){if(0===arguments.length)return i.showTodayButton;if("boolean"!=typeof e)throw new TypeError("showTodayButton() expects a boolean parameter");return i.showTodayButton=e,p&&(te(),oe()),c},c.showClear=function(e){if(0===arguments.length)return i.showClear;if("boolean"!=typeof e)throw new TypeError("showClear() expects a boolean parameter");return i.showClear=e,p&&(te(),oe()),c},c.widgetParent=function(t){if(0===arguments.length)return i.widgetParent;if("string"==typeof t&&(t=e(t)),null!==t&&"string"!=typeof t&&!(t instanceof e))throw new TypeError("widgetParent() expects a string or a jQuery object parameter");return i.widgetParent=t,p&&(te(),oe()),c},c.keepOpen=function(e){if(0===arguments.length)return i.keepOpen;if("boolean"!=typeof e)throw new TypeError("keepOpen() expects a boolean parameter");return i.keepOpen=e,c},c.focusOnShow=function(e){if(0===arguments.length)return i.focusOnShow;if("boolean"!=typeof e)throw new TypeError("focusOnShow() expects a boolean parameter");return i.focusOnShow=e,c},c.inline=function(e){if(0===arguments.length)return i.inline;if("boolean"!=typeof e)throw new TypeError("inline() expects a boolean parameter");return i.inline=e,c},c.clear=function(){return ne(),c},c.keyBinds=function(e){return 0===arguments.length?i.keyBinds:(i.keyBinds=e,c)},c.getMoment=function(e){return k(e)},c.debug=function(e){if("boolean"!=typeof e)throw new TypeError("debug() expects a boolean parameter");return i.debug=e,c},c.allowInputToggle=function(e){if(0===arguments.length)return i.allowInputToggle;if("boolean"!=typeof e)throw new TypeError("allowInputToggle() expects a boolean parameter");return i.allowInputToggle=e,c},c.showClose=function(e){if(0===arguments.length)return i.showClose;if("boolean"!=typeof e)throw new TypeError("showClose() expects a boolean parameter");return i.showClose=e,c},c.keepInvalid=function(e){if(0===arguments.length)return i.keepInvalid;if("boolean"!=typeof e)throw new TypeError("keepInvalid() expects a boolean parameter");return i.keepInvalid=e,c},c.datepickerInput=function(e){if(0===arguments.length)return i.datepickerInput;if("string"!=typeof e)throw new TypeError("datepickerInput() expects a string parameter");return i.datepickerInput=e,c},c.parseInputDate=function(e){if(0===arguments.length)return i.parseInputDate;if("function"!=typeof e)throw new TypeError("parseInputDate() sholud be as function");return i.parseInputDate=e,c},c.disabledTimeIntervals=function(t){if(0===arguments.length)return i.disabledTimeIntervals?e.extend({},i.disabledTimeIntervals):i.disabledTimeIntervals;if(!t)return i.disabledTimeIntervals=!1,Q(),c;if(!(t instanceof Array))throw new TypeError("disabledTimeIntervals() expects an array parameter");return i.disabledTimeIntervals=t,Q(),c},c.disabledHours=function(t){if(0===arguments.length)return i.disabledHours?e.extend({},i.disabledHours):i.disabledHours;if(!t)return i.disabledHours=!1,Q(),c;if(!(t instanceof Array))throw new TypeError("disabledHours() expects an array parameter");if(i.disabledHours=pe(t),i.enabledHours=!1,i.useCurrent&&!i.keepInvalid){for(var n=0;!B(r,"h");){if(r.add(1,"h"),24===n)throw"Tried 24 times to find a valid date";n++}ee(r)}return Q(),c},c.enabledHours=function(t){if(0===arguments.length)return i.enabledHours?e.extend({},i.enabledHours):i.enabledHours;if(!t)return i.enabledHours=!1,Q(),c;if(!(t instanceof Array))throw new TypeError("enabledHours() expects an array parameter");if(i.enabledHours=pe(t),i.disabledHours=!1,i.useCurrent&&!i.keepInvalid){for(var n=0;!B(r,"h");){if(r.add(1,"h"),24===n)throw"Tried 24 times to find a valid date";n++}ee(r)}return Q(),c},c.viewDate=function(e){if(0===arguments.length)return a.clone();if(!e)return a=r.clone(),c;if(!("string"==typeof e||t.isMoment(e)||e instanceof Date))throw new TypeError("viewDate() parameter must be one of [string, moment or Date]");return a=ie(e),I(),c},n.is("input"))o=n;else if(o=n.find(i.datepickerInput),0===o.length)o=n.find("input");else if(!o.is("input"))throw new Error('CSS class "'+i.datepickerInput+'" cannot be applied to non input element');if(n.hasClass("input-group")&&(f=0===n.find(".datepickerbutton").length?n.find(".input-group-addon"):n.find(".datepickerbutton")),!i.inline&&!o.is("input"))throw new Error("Could not initialize DateTimePicker without an input element");return r=k(),a=r.clone(),e.extend(!0,i,A()),c.options(i),me(),ce(),o.prop("disabled")&&c.disable(),o.is("input")&&0!==o.val().trim().length?ee(ie(o.val().trim())):i.defaultDate&&void 0===o.attr("placeholder")&&ee(i.defaultDate),i.inline&&oe(),c};e.fn.datetimepicker=function(t){t=t||{};var i,r=Array.prototype.slice.call(arguments,1),a=!0,o=["destroy","hide","show","toggle"];if("object"==typeof t)return this.each(function(){var i=e(this);i.data("DateTimePicker")||(t=e.extend(!0,{},e.fn.datetimepicker.defaults,t),i.data("DateTimePicker",n(i,t)))});if("string"==typeof t)return this.each(function(){var n=e(this),o=n.data("DateTimePicker");if(!o)throw new Error('bootstrap-datetimepicker("'+t+'") method was called on an element that is not using DateTimePicker');i=o[t].apply(o,r),a=i===o}),a||e.inArray(t,o)>-1?this:i;throw new TypeError("Invalid arguments for DateTimePicker: "+t)},e.fn.datetimepicker.defaults={timeZone:"",format:!1,dayViewHeaderFormat:"MMMM YYYY",extraFormats:!1,stepping:1,minDate:!1,maxDate:!1,useCurrent:!0,collapse:!0,locale:t.locale(),defaultDate:!1,disabledDates:!1,enabledDates:!1,icons:{time:"glyphicon glyphicon-time",date:"glyphicon glyphicon-calendar",up:"glyphicon glyphicon-chevron-up",down:"glyphicon glyphicon-chevron-down",previous:"glyphicon glyphicon-chevron-left",next:"glyphicon glyphicon-chevron-right",today:"glyphicon glyphicon-screenshot",clear:"glyphicon glyphicon-trash",close:"glyphicon glyphicon-remove"},tooltips:{today:"Go to today",clear:"Clear selection",close:"Close the picker",selectMonth:"Select Month",prevMonth:"Previous Month",nextMonth:"Next Month",selectYear:"Select Year",prevYear:"Previous Year",nextYear:"Next Year",selectDecade:"Select Decade",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevCentury:"Previous Century",nextCentury:"Next Century",pickHour:"Pick Hour",
incrementHour:"Increment Hour",decrementHour:"Decrement Hour",pickMinute:"Pick Minute",incrementMinute:"Increment Minute",decrementMinute:"Decrement Minute",pickSecond:"Pick Second",incrementSecond:"Increment Second",decrementSecond:"Decrement Second",togglePeriod:"Toggle Period",selectTime:"Select Time"},useStrict:!1,sideBySide:!1,daysOfWeekDisabled:!1,calendarWeeks:!1,viewMode:"days",toolbarPlacement:"default",showTodayButton:!1,showClear:!1,showClose:!1,widgetPositioning:{horizontal:"auto",vertical:"auto"},widgetParent:null,ignoreReadonly:!1,keepOpen:!1,focusOnShow:!0,inline:!1,keepInvalid:!1,datepickerInput:".datepickerinput",keyBinds:{up:function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")?this.date(t.clone().subtract(7,"d")):this.date(t.clone().add(this.stepping(),"m"))}},down:function(e){if(!e)return void this.show();var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")?this.date(t.clone().add(7,"d")):this.date(t.clone().subtract(this.stepping(),"m"))},"control up":function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")?this.date(t.clone().subtract(1,"y")):this.date(t.clone().add(1,"h"))}},"control down":function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")?this.date(t.clone().add(1,"y")):this.date(t.clone().subtract(1,"h"))}},left:function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")&&this.date(t.clone().subtract(1,"d"))}},right:function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")&&this.date(t.clone().add(1,"d"))}},pageUp:function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")&&this.date(t.clone().subtract(1,"M"))}},pageDown:function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")&&this.date(t.clone().add(1,"M"))}},enter:function(){this.hide()},escape:function(){this.hide()},"control space":function(e){e.find(".timepicker").is(":visible")&&e.find('.btn[data-action="togglePeriod"]').click()},t:function(){this.date(this.getMoment())},"delete":function(){this.clear()}},debug:!1,allowInputToggle:!1,disabledTimeIntervals:!1,disabledHours:!1,enabledHours:!1,viewDate:!1},"undefined"!=typeof module&&(module.exports=e.fn.datetimepicker)}),function(){function e(e,t){return e.set(t[0],t[1]),e}function t(e,t){return e.add(t),e}function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function i(e,t,n,i){for(var r=-1,a=null==e?0:e.length;++r<a;){var o=e[r];t(i,o,n(o),e)}return i}function r(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e}function a(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function o(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(!t(e[n],n,e))return!1;return!0}function s(e,t){for(var n=-1,i=null==e?0:e.length,r=0,a=[];++n<i;){var o=e[n];t(o,n,e)&&(a[r++]=o)}return a}function l(e,t){return!(null==e||!e.length)&&-1<g(e,t,0)}function u(e,t,n){for(var i=-1,r=null==e?0:e.length;++i<r;)if(n(t,e[i]))return!0;return!1}function d(e,t){for(var n=-1,i=null==e?0:e.length,r=Array(i);++n<i;)r[n]=t(e[n],n,e);return r}function c(e,t){for(var n=-1,i=t.length,r=e.length;++n<i;)e[r+n]=t[n];return e}function h(e,t,n,i){var r=-1,a=null==e?0:e.length;for(i&&a&&(n=e[++r]);++r<a;)n=t(n,e[r],r,e);return n}function f(e,t,n,i){var r=null==e?0:e.length;for(i&&r&&(n=e[--r]);r--;)n=t(n,e[r],r,e);return n}function p(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}function m(e,t,n){var i;return n(e,function(e,n,r){if(t(e,n,r))return i=n,!1}),i}function _(e,t,n,i){var r=e.length;for(n+=i?1:-1;i?n--:++n<r;)if(t(e[n],n,e))return n;return-1}function g(e,t,n){if(t===t)e:{--n;for(var i=e.length;++n<i;)if(e[n]===t){e=n;break e}e=-1}else e=_(e,v,n);return e}function y(e,t,n,i){--n;for(var r=e.length;++n<r;)if(i(e[n],t))return n;return-1}function v(e){return e!==e}function b(e,t){var n=null==e?0:e.length;return n?L(e,t)/n:B}function M(e){return function(t){return null==t?N:t[e]}}function w(e){return function(t){return null==e?N:e[t]}}function x(e,t,n,i,r){return r(e,function(e,r,a){n=i?(i=!1,e):t(n,e,r,a)}),n}function k(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].c;return e}function L(e,t){for(var n,i=-1,r=e.length;++i<r;){var a=t(e[i]);a!==N&&(n=n===N?a:n+a)}return n}function D(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}function T(e,t){return d(t,function(t){return[t,e[t]]})}function Y(e){return function(t){return e(t)}}function S(e,t){return d(t,function(t){return e[t]})}function C(e,t){return e.has(t)}function H(e,t){for(var n=-1,i=e.length;++n<i&&-1<g(t,e[n],0););return n}function j(e,t){for(var n=e.length;n--&&-1<g(t,e[n],0););return n}function A(e){return"\\"+We[e]}function P(e){var t=-1,n=Array(e.size);return e.forEach(function(e,i){n[++t]=[i,e]}),n}function E(e,t){return function(n){return e(t(n))}}function I(e,t){for(var n=-1,i=e.length,r=0,a=[];++n<i;){var o=e[n];o!==t&&"__lodash_placeholder__"!==o||(e[n]="__lodash_placeholder__",a[r++]=n)}return a}function O(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function W(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function F(e){if(je.test(e)){for(var t=Ce.lastIndex=0;Ce.test(e);)++t;e=t}else e=et(e);return e}function R(e){return je.test(e)?e.match(Ce)||[]:e.split("")}var N,z=1/0,B=NaN,$=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],V=/\b__p\+='';/g,q=/\b(__p\+=)''\+/g,U=/(__e\(.*?\)|\b__t\))\+'';/g,J=/&(?:amp|lt|gt|quot|#39);/g,G=/[&<>"']/g,X=RegExp(J.source),K=RegExp(G.source),Z=/<%-([\s\S]+?)%>/g,Q=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,ie=/^\./,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ae=/[\\^$.*+?()[\]{}|]/g,oe=RegExp(ae.source),se=/^\s+|\s+$/g,le=/^\s+/,ue=/\s+$/,de=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,he=/,? & /,fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,pe=/\\(\\)?/g,me=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,_e=/\w*$/,ge=/^[-+]0x[0-9a-f]+$/i,ye=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,Me=/^(?:0|[1-9]\d*)$/,we=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xe=/($^)/,ke=/['\n\r\u2028\u2029\\]/g,Le="[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?(?:\\u200d(?:[^\\ud800-\\udfff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?)*",De="(?:[\\u2700-\\u27bf]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])"+Le,Te="(?:[^\\ud800-\\udfff][\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]?|[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff]|[\\ud800-\\udfff])",Ye=RegExp("[']","g"),Se=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g"),Ce=RegExp("\\ud83c[\\udffb-\\udfff](?=\\ud83c[\\udffb-\\udfff])|"+Te+Le,"g"),He=RegExp(["[A-Z\\xc0-\\xd6\\xd8-\\xde]?[a-z\\xdf-\\xf6\\xf8-\\xff]+(?:['](?:d|ll|m|re|s|t|ve))?(?=[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]|[A-Z\\xc0-\\xd6\\xd8-\\xde]|$)|(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['](?:D|LL|M|RE|S|T|VE))?(?=[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]|[A-Z\\xc0-\\xd6\\xd8-\\xde](?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])|$)|[A-Z\\xc0-\\xd6\\xd8-\\xde]?(?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['](?:d|ll|m|re|s|t|ve))?|[A-Z\\xc0-\\xd6\\xd8-\\xde]+(?:['](?:D|LL|M|RE|S|T|VE))?|\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)|\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)|\\d+",De].join("|"),"g"),je=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),Ae=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Pe="Array Buffer DataView Date Error Float32Array Float64Array Function Int8Array Int16Array Int32Array Map Math Object Promise RegExp Set String Symbol TypeError Uint8Array Uint8ClampedArray Uint16Array Uint32Array WeakMap _ clearTimeout isFinite parseInt setTimeout".split(" "),Ee={};Ee["[object Float32Array]"]=Ee["[object Float64Array]"]=Ee["[object Int8Array]"]=Ee["[object Int16Array]"]=Ee["[object Int32Array]"]=Ee["[object Uint8Array]"]=Ee["[object Uint8ClampedArray]"]=Ee["[object Uint16Array]"]=Ee["[object Uint32Array]"]=!0,Ee["[object Arguments]"]=Ee["[object Array]"]=Ee["[object ArrayBuffer]"]=Ee["[object Boolean]"]=Ee["[object DataView]"]=Ee["[object Date]"]=Ee["[object Error]"]=Ee["[object Function]"]=Ee["[object Map]"]=Ee["[object Number]"]=Ee["[object Object]"]=Ee["[object RegExp]"]=Ee["[object Set]"]=Ee["[object String]"]=Ee["[object WeakMap]"]=!1;var Ie={};Ie["[object Arguments]"]=Ie["[object Array]"]=Ie["[object ArrayBuffer]"]=Ie["[object DataView]"]=Ie["[object Boolean]"]=Ie["[object Date]"]=Ie["[object Float32Array]"]=Ie["[object Float64Array]"]=Ie["[object Int8Array]"]=Ie["[object Int16Array]"]=Ie["[object Int32Array]"]=Ie["[object Map]"]=Ie["[object Number]"]=Ie["[object Object]"]=Ie["[object RegExp]"]=Ie["[object Set]"]=Ie["[object String]"]=Ie["[object Symbol]"]=Ie["[object Uint8Array]"]=Ie["[object Uint8ClampedArray]"]=Ie["[object Uint16Array]"]=Ie["[object Uint32Array]"]=!0,Ie["[object Error]"]=Ie["[object Function]"]=Ie["[object WeakMap]"]=!1;var Oe,We={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Fe=parseFloat,Re=parseInt,Ne="object"==typeof global&&global&&global.Object===Object&&global,ze="object"==typeof self&&self&&self.Object===Object&&self,Be=Ne||ze||Function("return this")(),$e="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ve=$e&&"object"==typeof module&&module&&!module.nodeType&&module,qe=Ve&&Ve.exports===$e,Ue=qe&&Ne.process;e:{try{Oe=Ue&&Ue.binding&&Ue.binding("util");break e}catch(e){}Oe=void 0}var Je=Oe&&Oe.isArrayBuffer,Ge=Oe&&Oe.isDate,Xe=Oe&&Oe.isMap,Ke=Oe&&Oe.isRegExp,Ze=Oe&&Oe.isSet,Qe=Oe&&Oe.isTypedArray,et=M("length"),tt=w({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),nt=w({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),it=w({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),rt=function at(w){function Le(e){if(vr(e)&&!ss(e)&&!(e instanceof Ce)){if(e instanceof Te)return e;if(sa.call(e,"__wrapped__"))return zi(e)}return new Te(e)}function De(){}function Te(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=N}function Ce(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Oe(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function We(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Ne(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function ze(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Ne;++t<n;)this.add(e[t])}function $e(e){this.size=(this.__data__=new We(e)).size}function Ve(e,t){var n,i=ss(e),r=!i&&os(e),a=!i&&!r&&us(e),o=!i&&!r&&!a&&ps(e),r=(i=i||r||a||o)?D(e.length,ta):[],s=r.length;for(n in e)!t&&!sa.call(e,n)||i&&("length"==n||a&&("offset"==n||"parent"==n)||o&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||Yi(n,s))||r.push(n);return r}function Ue(e){var t=e.length;return t?e[un(0,t-1)]:N}function et(e,t){return Wi(Fn(e),_t(t,0,e.length))}function ot(e){return Wi(Fn(e))}function st(e,t,n,i){return e===N||cr(e,ra[n])&&!sa.call(i,n)?t:e}function lt(e,t,n){(n===N||cr(e[t],n))&&(n!==N||t in e)||pt(e,t,n)}function ut(e,t,n){var i=e[t];sa.call(e,t)&&cr(i,n)&&(n!==N||t in e)||pt(e,t,n)}function dt(e,t){for(var n=e.length;n--;)if(cr(e[n][0],t))return n;return-1}function ct(e,t,n,i){return ao(e,function(e,r,a){t(i,e,n(e),a)}),i}function ht(e,t){return e&&Rn(t,Ar(t),e)}function ft(e,t){return e&&Rn(t,Pr(t),e)}function pt(e,t,n){"__proto__"==t&&La?La(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function mt(e,t){for(var n=-1,i=t.length,r=Jr(i),a=null==e;++n<i;)r[n]=a?N:Hr(e,t[n]);return r}function _t(e,t,n){return e===e&&(n!==N&&(e=e<=n?e:n),t!==N&&(e=e>=t?e:t)),e}function gt(e,t,n,i,a,o){var s,l=1&t,u=2&t,d=4&t;if(n&&(s=a?n(e,i,a,o):n(e)),s!==N)return s;if(!yr(e))return e;if(i=ss(e)){if(s=ki(e),!l)return Fn(e,s)}else{var c=go(e),h="[object Function]"==c||"[object GeneratorFunction]"==c;if(us(e))return An(e,l);if("[object Object]"==c||"[object Arguments]"==c||h&&!a){if(s=u||h?{}:Li(e),!l)return u?zn(e,ft(s,e)):Nn(e,ht(s,e))}else{if(!Ie[c])return a?e:{};s=Di(e,c,gt,l)}}if(o||(o=new $e),a=o.get(e))return a;o.set(e,s);var u=d?u?_i:mi:u?Pr:Ar,f=i?N:u(e);return r(f||e,function(i,r){f&&(r=i,i=e[r]),ut(s,r,gt(i,t,n,r,e,o))}),s}function yt(e){var t=Ar(e);return function(n){return vt(n,e,t)}}function vt(e,t,n){var i=n.length;if(null==e)return!i;for(e=Qr(e);i--;){var r=n[i],a=t[r],o=e[r];if(o===N&&!(r in e)||!a(o))return!1}return!0}function bt(e,t,n){if("function"!=typeof e)throw new na("Expected a function");return bo(function(){e.apply(N,n)},t)}function Mt(e,t,n,i){var r=-1,a=l,o=!0,s=e.length,c=[],h=t.length;if(!s)return c;n&&(t=d(t,Y(n))),i?(a=u,o=!1):200<=t.length&&(a=C,o=!1,t=new ze(t));e:for(;++r<s;){var f=e[r],p=null==n?f:n(f),f=i||0!==f?f:0;if(o&&p===p){for(var m=h;m--;)if(t[m]===p)continue e;c.push(f)}else a(t,p,i)||c.push(f)}return c}function wt(e,t){var n=!0;return ao(e,function(e,i,r){return n=!!t(e,i,r)}),n}function xt(e,t,n){for(var i=-1,r=e.length;++i<r;){var a=e[i],o=t(a);if(null!=o&&(s===N?o===o&&!xr(o):n(o,s)))var s=o,l=a}return l}function kt(e,t){var n=[];return ao(e,function(e,i,r){t(e,i,r)&&n.push(e)}),n}function Lt(e,t,n,i,r){var a=-1,o=e.length;for(n||(n=Ti),r||(r=[]);++a<o;){var s=e[a];0<t&&n(s)?1<t?Lt(s,t-1,n,i,r):c(r,s):i||(r[r.length]=s)}return r}function Dt(e,t){return e&&so(e,t,Ar)}function Tt(e,t){return e&&lo(e,t,Ar)}function Yt(e,t){return s(t,function(t){return mr(e[t])})}function St(e,t){t=Hn(t,e);for(var n=0,i=t.length;null!=e&&n<i;)e=e[Fi(t[n++])];return n&&n==i?e:N}function Ct(e,t,n){return t=t(e),ss(e)?t:c(t,n(e))}function Ht(e){if(null==e)return e===N?"[object Undefined]":"[object Null]";e=Qr(e);var t;if(ka&&ka in e){var n=sa.call(e,ka),i=e[ka];try{e[ka]=N,t=!0}catch(e){}var r=da.call(e);t&&(n?e[ka]=i:delete e[ka]),t=r}else t=da.call(e);return t}function jt(e,t){return e>t}function At(e,t){return null!=e&&sa.call(e,t)}function Pt(e,t){return null!=e&&t in Qr(e)}function Et(e,t,n){for(var i=n?u:l,r=e[0].length,a=e.length,o=a,s=Jr(a),c=1/0,h=[];o--;){var f=e[o];o&&t&&(f=d(f,Y(t))),c=Oa(f.length,c),s[o]=!n&&(t||120<=r&&120<=f.length)?new ze(o&&f):N}var f=e[0],p=-1,m=s[0];e:for(;++p<r&&h.length<c;){var _=f[p],g=t?t(_):_,_=n||0!==_?_:0;if(m?!C(m,g):!i(h,g,n)){for(o=a;--o;){var y=s[o];if(y?!C(y,g):!i(e[o],g,n))continue e}m&&m.push(g),h.push(_)}}return h}function It(e,t,n){var i={};return Dt(e,function(e,r,a){t(i,n(e),r,a)}),i}function Ot(e,t,i){return t=Hn(t,e),e=2>t.length?e:St(e,_n(t,0,-1)),t=null==e?e:e[Fi(Ui(t))],null==t?N:n(t,e,i)}function Wt(e){return vr(e)&&"[object Arguments]"==Ht(e)}function Ft(e){return vr(e)&&"[object ArrayBuffer]"==Ht(e)}function Rt(e){return vr(e)&&"[object Date]"==Ht(e)}function Nt(e,t,n,i,r){if(e===t)t=!0;else if(null==e||null==t||!yr(e)&&!vr(t))t=e!==e&&t!==t;else e:{var a=ss(e),o=ss(t),s="[object Array]",l="[object Array]";a||(s=go(e),s="[object Arguments]"==s?"[object Object]":s),o||(l=go(t),l="[object Arguments]"==l?"[object Object]":l);var u="[object Object]"==s,o="[object Object]"==l;if((l=s==l)&&us(e)){if(!us(t)){t=!1;break e}a=!0,u=!1}if(l&&!u)r||(r=new $e),t=a||ps(e)?hi(e,t,n,i,Nt,r):fi(e,t,s,n,i,Nt,r);else{if(!(1&n)&&(a=u&&sa.call(e,"__wrapped__"),s=o&&sa.call(t,"__wrapped__"),a||s)){e=a?e.value():e,t=s?t.value():t,r||(r=new $e),t=Nt(e,t,n,i,r);break e}if(l)t:if(r||(r=new $e),a=1&n,s=Ar(e),o=s.length,l=Ar(t).length,o==l||a){for(u=o;u--;){var d=s[u];if(!(a?d in t:sa.call(t,d))){t=!1;break t}}if((l=r.get(e))&&r.get(t))t=l==t;else{l=!0,r.set(e,t),r.set(t,e);for(var c=a;++u<o;){var d=s[u],h=e[d],f=t[d];if(i)var p=a?i(f,h,d,t,e,r):i(h,f,d,e,t,r);if(p===N?h!==f&&!Nt(h,f,n,i,r):!p){l=!1;break}c||(c="constructor"==d)}l&&!c&&(n=e.constructor,i=t.constructor,n!=i&&"constructor"in e&&"constructor"in t&&!("function"==typeof n&&n instanceof n&&"function"==typeof i&&i instanceof i)&&(l=!1)),r["delete"](e),r["delete"](t),t=l}}else t=!1;else t=!1}}return t}function zt(e){return vr(e)&&"[object Map]"==go(e)}function Bt(e,t,n,i){var r=n.length,a=r,o=!i;if(null==e)return!a;for(e=Qr(e);r--;){var s=n[r];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++r<a;){var s=n[r],l=s[0],u=e[l],d=s[1];if(o&&s[2]){if(u===N&&!(l in e))return!1}else{if(s=new $e,i)var c=i(u,d,l,e,t,s);if(c===N?!Nt(d,u,3,i,s):!c)return!1}}return!0}function $t(e){return!(!yr(e)||ua&&ua in e)&&(mr(e)?fa:ve).test(Ri(e))}function Vt(e){return vr(e)&&"[object RegExp]"==Ht(e)}function qt(e){return vr(e)&&"[object Set]"==go(e)}function Ut(e){return vr(e)&&gr(e.length)&&!!Ee[Ht(e)]}function Jt(e){return"function"==typeof e?e:null==e?Nr:"object"==typeof e?ss(e)?Qt(e[0],e[1]):Zt(e):Vr(e)}function Gt(e){if(!ji(e))return Ea(e);var t,n=[];for(t in Qr(e))sa.call(e,t)&&"constructor"!=t&&n.push(t);return n}function Xt(e,t){return e<t}function Kt(e,t){var n=-1,i=hr(e)?Jr(e.length):[];return ao(e,function(e,r,a){i[++n]=t(e,r,a)}),i}function Zt(e){var t=Mi(e);return 1==t.length&&t[0][2]?Ai(t[0][0],t[0][1]):function(n){return n===e||Bt(n,e,t)}}function Qt(e,t){return Ci(e)&&t===t&&!yr(t)?Ai(Fi(e),t):function(n){var i=Hr(n,e);return i===N&&i===t?jr(n,e):Nt(t,i,3)}}function en(e,t,n,i,r){e!==t&&so(t,function(a,o){if(yr(a)){r||(r=new $e);var s=r,l=e[o],u=t[o],d=s.get(u);if(d)lt(e,o,d);else{var d=i?i(l,u,o+"",e,t,s):N,c=d===N;if(c){var h=ss(u),f=!h&&us(u),p=!h&&!f&&ps(u),d=u;h||f||p?ss(l)?d=l:fr(l)?d=Fn(l):f?(c=!1,d=An(u,!0)):p?(c=!1,d=En(u,!0)):d=[]:Mr(u)||os(u)?(d=l,os(l)?d=Sr(l):(!yr(l)||n&&mr(l))&&(d=Li(u))):c=!1}c&&(s.set(u,d),en(d,u,n,i,s),s["delete"](u)),lt(e,o,d)}}else s=i?i(e[o],a,o+"",e,t,r):N,s===N&&(s=a),lt(e,o,s)},Pr)}function tn(e,t){var n=e.length;if(n)return t+=0>t?n:0,Yi(t,n)?e[t]:N}function nn(e,t,n){var i=-1;return t=d(t.length?t:[Nr],Y(vi())),e=Kt(e,function(e){return{a:d(t,function(t){return t(e)}),b:++i,c:e}}),k(e,function(e,t){var i;e:{i=-1;for(var r=e.a,a=t.a,o=r.length,s=n.length;++i<o;){var l=In(r[i],a[i]);if(l){i=i>=s?l:l*("desc"==n[i]?-1:1);break e}}i=e.b-t.b}return i})}function rn(e,t){return e=Qr(e),an(e,t,function(t,n){return jr(e,n)})}function an(e,t,n){for(var i=-1,r=t.length,a={};++i<r;){var o=t[i],s=St(e,o);n(s,o)&&pn(a,Hn(o,e),s)}return a}function on(e){return function(t){return St(t,e)}}function sn(e,t,n,i){var r=i?y:g,a=-1,o=t.length,s=e;for(e===t&&(t=Fn(t)),n&&(s=d(e,Y(n)));++a<o;)for(var l=0,u=t[a],u=n?n(u):u;-1<(l=r(s,u,l,i));)s!==e&&Ma.call(s,l,1),Ma.call(e,l,1);return e}function ln(e,t){for(var n=e?t.length:0,i=n-1;n--;){var r=t[n];if(n==i||r!==a){var a=r;Yi(r)?Ma.call(e,r,1):kn(e,r)}}}function un(e,t){return e+Ca(Ra()*(t-e+1))}function dn(e,t){var n="";if(!e||1>t||9007199254740991<t)return n;do t%2&&(n+=e),(t=Ca(t/2))&&(e+=e);while(t);return n}function cn(e,t){return Mo(Ei(e,t,Nr),e+"")}function hn(e){return Ue(Ir(e))}function fn(e,t){var n=Ir(e);return Wi(n,_t(t,0,n.length))}function pn(e,t,n,i){if(!yr(e))return e;t=Hn(t,e);for(var r=-1,a=t.length,o=a-1,s=e;null!=s&&++r<a;){var l=Fi(t[r]),u=n;if(r!=o){var d=s[l],u=i?i(d,l,s):N;u===N&&(u=yr(d)?d:Yi(t[r+1])?[]:{})}ut(s,l,u),s=s[l]}return e}function mn(e){return Wi(Ir(e))}function _n(e,t,n){var i=-1,r=e.length;for(0>t&&(t=-t>r?0:r+t),n=n>r?r:n,0>n&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0,n=Jr(r);++i<r;)n[i]=e[i+t];return n}function gn(e,t){var n;return ao(e,function(e,i,r){return n=t(e,i,r),!n}),!!n}function yn(e,t,n){var i=0,r=null==e?i:e.length;if("number"==typeof t&&t===t&&2147483647>=r){for(;i<r;){var a=i+r>>>1,o=e[a];null!==o&&!xr(o)&&(n?o<=t:o<t)?i=a+1:r=a}return r}return vn(e,t,Nr,n)}function vn(e,t,n,i){t=n(t);for(var r=0,a=null==e?0:e.length,o=t!==t,s=null===t,l=xr(t),u=t===N;r<a;){var d=Ca((r+a)/2),c=n(e[d]),h=c!==N,f=null===c,p=c===c,m=xr(c);(o?i||p:u?p&&(i||h):s?p&&h&&(i||!f):l?p&&h&&!f&&(i||!m):f||m?0:i?c<=t:c<t)?r=d+1:a=d}return Oa(a,4294967294)}function bn(e,t){for(var n=-1,i=e.length,r=0,a=[];++n<i;){var o=e[n],s=t?t(o):o;if(!n||!cr(s,l)){var l=s;a[r++]=0===o?0:o}}return a}function Mn(e){return"number"==typeof e?e:xr(e)?B:+e}function wn(e){if("string"==typeof e)return e;if(ss(e))return d(e,wn)+"";if(xr(e))return io?io.call(e):"";var t=e+"";return"0"==t&&1/e==-z?"-0":t}function xn(e,t,n){var i=-1,r=l,a=e.length,o=!0,s=[],d=s;if(n)o=!1,r=u;else if(200<=a){if(r=t?null:fo(e))return O(r);o=!1,r=C,d=new ze}else d=t?[]:s;e:for(;++i<a;){var c=e[i],h=t?t(c):c,c=n||0!==c?c:0;if(o&&h===h){for(var f=d.length;f--;)if(d[f]===h)continue e;t&&d.push(h),s.push(c)}else r(d,h,n)||(d!==s&&d.push(h),s.push(c))}return s}function kn(e,t){return t=Hn(t,e),e=2>t.length?e:St(e,_n(t,0,-1)),null==e||delete e[Fi(Ui(t))]}function Ln(e,t,n,i){for(var r=e.length,a=i?r:-1;(i?a--:++a<r)&&t(e[a],a,e););return n?_n(e,i?0:a,i?a+1:r):_n(e,i?a+1:0,i?r:a)}function Dn(e,t){var n=e;return n instanceof Ce&&(n=n.value()),h(t,function(e,t){return t.func.apply(t.thisArg,c([e],t.args))},n)}function Tn(e,t,n){var i=e.length;if(2>i)return i?xn(e[0]):[];for(var r=-1,a=Jr(i);++r<i;)for(var o=e[r],s=-1;++s<i;)s!=r&&(a[r]=Mt(a[r]||o,e[s],t,n));return xn(Lt(a,1),t,n)}function Yn(e,t,n){for(var i=-1,r=e.length,a=t.length,o={};++i<r;)n(o,e[i],i<a?t[i]:N);return o}function Sn(e){return fr(e)?e:[]}function Cn(e){return"function"==typeof e?e:Nr}function Hn(e,t){return ss(e)?e:Ci(e,t)?[e]:wo(Cr(e))}function jn(e,t,n){var i=e.length;return n=n===N?i:n,!t&&n>=i?e:_n(e,t,n)}function An(e,t){if(t)return e.slice();var n=e.length,n=ga?ga(n):new e.constructor(n);return e.copy(n),n}function Pn(e){var t=new e.constructor(e.byteLength);return new _a(t).set(new _a(e)),t}function En(e,t){return new e.constructor(t?Pn(e.buffer):e.buffer,e.byteOffset,e.length)}function In(e,t){if(e!==t){var n=e!==N,i=null===e,r=e===e,a=xr(e),o=t!==N,s=null===t,l=t===t,u=xr(t);if(!s&&!u&&!a&&e>t||a&&o&&l&&!s&&!u||i&&o&&l||!n&&l||!r)return 1;if(!i&&!a&&!u&&e<t||u&&n&&r&&!i&&!a||s&&n&&r||!o&&r||!l)return-1}return 0}function On(e,t,n,i){var r=-1,a=e.length,o=n.length,s=-1,l=t.length,u=Ia(a-o,0),d=Jr(l+u);for(i=!i;++s<l;)d[s]=t[s];for(;++r<o;)(i||r<a)&&(d[n[r]]=e[r]);for(;u--;)d[s++]=e[r++];return d}function Wn(e,t,n,i){var r=-1,a=e.length,o=-1,s=n.length,l=-1,u=t.length,d=Ia(a-s,0),c=Jr(d+u);for(i=!i;++r<d;)c[r]=e[r];for(d=r;++l<u;)c[d+l]=t[l];for(;++o<s;)(i||r<a)&&(c[d+n[o]]=e[r++]);return c}function Fn(e,t){var n=-1,i=e.length;for(t||(t=Jr(i));++n<i;)t[n]=e[n];return t}function Rn(e,t,n,i){var r=!n;n||(n={});for(var a=-1,o=t.length;++a<o;){var s=t[a],l=i?i(n[s],e[s],s,n,e):N;l===N&&(l=e[s]),r?pt(n,s,l):ut(n,s,l)}return n}function Nn(e,t){return Rn(e,mo(e),t)}function zn(e,t){return Rn(e,_o(e),t)}function Bn(e,t){return function(n,r){var a=ss(n)?i:ct,o=t?t():{};return a(n,e,vi(r,2),o)}}function $n(e){return cn(function(t,n){var i=-1,r=n.length,a=1<r?n[r-1]:N,o=2<r?n[2]:N,a=3<e.length&&"function"==typeof a?(r--,a):N;for(o&&Si(n[0],n[1],o)&&(a=3>r?N:a,r=1),t=Qr(t);++i<r;)(o=n[i])&&e(t,o,i,a);return t})}function Vn(e,t){return function(n,i){if(null==n)return n;if(!hr(n))return e(n,i);for(var r=n.length,a=t?r:-1,o=Qr(n);(t?a--:++a<r)&&!1!==i(o[a],a,o););return n}}function qn(e){return function(t,n,i){var r=-1,a=Qr(t);i=i(t);for(var o=i.length;o--;){var s=i[e?o:++r];if(!1===n(a[s],s,a))break}return t}}function Un(e,t,n){function i(){return(this&&this!==Be&&this instanceof i?a:e).apply(r?n:this,arguments)}var r=1&t,a=Xn(e);return i}function Jn(e){return function(t){t=Cr(t);var n=je.test(t)?R(t):N,i=n?n[0]:t.charAt(0);return t=n?jn(n,1).join(""):t.slice(1),i[e]()+t}}function Gn(e){return function(t){return h(Fr(Wr(t).replace(Ye,"")),e,"")}}function Xn(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=ro(e.prototype),t=e.apply(n,t);return yr(t)?t:n}}function Kn(e,t,i){function r(){for(var o=arguments.length,s=Jr(o),l=o,u=yi(r);l--;)s[l]=arguments[l];return l=3>o&&s[0]!==u&&s[o-1]!==u?[]:I(s,u),o-=l.length,o<i?li(e,t,ei,r.placeholder,N,s,l,N,N,i-o):n(this&&this!==Be&&this instanceof r?a:e,this,s)}var a=Xn(e);return r}function Zn(e){return function(t,n,i){var r=Qr(t);if(!hr(t)){var a=vi(n,3);t=Ar(t),n=function(e){return a(r[e],e,r)}}return n=e(t,n,i),-1<n?r[a?t[n]:n]:N}}function Qn(e){return pi(function(t){var n=t.length,i=n,r=Te.prototype.thru;for(e&&t.reverse();i--;){var a=t[i];if("function"!=typeof a)throw new na("Expected a function");if(r&&!o&&"wrapper"==gi(a))var o=new Te([],(!0))}for(i=o?i:n;++i<n;)var a=t[i],r=gi(a),s="wrapper"==r?po(a):N,o=s&&Hi(s[0])&&424==s[1]&&!s[4].length&&1==s[9]?o[gi(s[0])].apply(o,s[3]):1==a.length&&Hi(a)?o[r]():o.thru(a);return function(){var e=arguments,i=e[0];if(o&&1==e.length&&ss(i)&&200<=i.length)return o.plant(i).value();for(var r=0,e=n?t[r].apply(this,e):i;++r<n;)e=t[r].call(this,e);return e}})}function ei(e,t,n,i,r,a,o,s,l,u){function d(){for(var g=arguments.length,y=Jr(g),v=g;v--;)y[v]=arguments[v];if(p){var b,M=yi(d),v=y.length;for(b=0;v--;)y[v]===M&&++b}if(i&&(y=On(y,i,r,p)),a&&(y=Wn(y,a,o,p)),g-=b,p&&g<u)return M=I(y,M),li(e,t,ei,d.placeholder,n,y,M,s,l,u-g);if(M=h?n:this,v=f?M[e]:e,g=y.length,s){b=y.length;for(var w=Oa(s.length,b),x=Fn(y);w--;){var k=s[w];y[w]=Yi(k,b)?x[k]:N}}else m&&1<g&&y.reverse();return c&&l<g&&(y.length=l),this&&this!==Be&&this instanceof d&&(v=_||Xn(v)),v.apply(M,y)}var c=128&t,h=1&t,f=2&t,p=24&t,m=512&t,_=f?N:Xn(e);return d}function ti(e,t){return function(n,i){return It(n,e,t(i))}}function ni(e,t){return function(n,i){var r;if(n===N&&i===N)return t;if(n!==N&&(r=n),i!==N){if(r===N)return i;"string"==typeof n||"string"==typeof i?(n=wn(n),i=wn(i)):(n=Mn(n),i=Mn(i)),r=e(n,i)}return r}}function ii(e){return pi(function(t){return t=d(t,Y(vi())),cn(function(i){var r=this;return e(t,function(e){return n(e,r,i)})})})}function ri(e,t){t=t===N?" ":wn(t);var n=t.length;return 2>n?n?dn(t,e):t:(n=dn(t,Sa(e/F(t))),je.test(t)?jn(R(n),0,e).join(""):n.slice(0,e))}function ai(e,t,i,r){function a(){for(var t=-1,l=arguments.length,u=-1,d=r.length,c=Jr(d+l),h=this&&this!==Be&&this instanceof a?s:e;++u<d;)c[u]=r[u];for(;l--;)c[u++]=arguments[++t];return n(h,o?i:this,c)}var o=1&t,s=Xn(e);return a}function oi(e){return function(t,n,i){i&&"number"!=typeof i&&Si(t,n,i)&&(n=i=N),t=Lr(t),n===N?(n=t,t=0):n=Lr(n),i=i===N?t<n?1:-1:Lr(i);var r=-1;n=Ia(Sa((n-t)/(i||1)),0);for(var a=Jr(n);n--;)a[e?n:++r]=t,t+=i;return a}}function si(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Yr(t),n=Yr(n)),e(t,n)}}function li(e,t,n,i,r,a,o,s,l,u){var d=8&t,c=d?o:N;o=d?N:o;var h=d?a:N;return a=d?N:a,t=(t|(d?32:64))&~(d?64:32),4&t||(t&=-4),r=[e,t,r,h,c,a,o,s,l,u],n=n.apply(N,r),Hi(e)&&vo(n,r),n.placeholder=i,Ii(n,e,t)}function ui(e){var t=Zr[e];return function(e,n){if(e=Yr(e),n=Oa(Dr(n),292)){var i=(Cr(e)+"e").split("e"),i=t(i[0]+"e"+(+i[1]+n)),i=(Cr(i)+"e").split("e");return+(i[0]+"e"+(+i[1]-n))}return t(e)}}function di(e){return function(t){var n=go(t);return"[object Map]"==n?P(t):"[object Set]"==n?W(t):T(t,e(t))}}function ci(e,t,n,i,r,a,o,s){var l=2&t;if(!l&&"function"!=typeof e)throw new na("Expected a function");var u=i?i.length:0;if(u||(t&=-97,i=r=N),o=o===N?o:Ia(Dr(o),0),s=s===N?s:Dr(s),u-=r?r.length:0,64&t){var d=i,c=r;i=r=N}var h=l?N:po(e);return a=[e,t,n,i,r,d,c,a,o,s],h&&(n=a[1],e=h[1],t=n|e,i=128==e&&8==n||128==e&&256==n&&a[7].length<=h[8]||384==e&&h[7].length<=h[8]&&8==n,131>t||i)&&(1&e&&(a[2]=h[2],t|=1&n?0:4),(n=h[3])&&(i=a[3],a[3]=i?On(i,n,h[4]):n,a[4]=i?I(a[3],"__lodash_placeholder__"):h[4]),(n=h[5])&&(i=a[5],a[5]=i?Wn(i,n,h[6]):n,a[6]=i?I(a[5],"__lodash_placeholder__"):h[6]),(n=h[7])&&(a[7]=n),128&e&&(a[8]=null==a[8]?h[8]:Oa(a[8],h[8])),null==a[9]&&(a[9]=h[9]),a[0]=h[0],a[1]=t),e=a[0],t=a[1],n=a[2],i=a[3],r=a[4],s=a[9]=null==a[9]?l?0:e.length:Ia(a[9]-u,0),!s&&24&t&&(t&=-25),Ii((h?uo:vo)(t&&1!=t?8==t||16==t?Kn(e,t,s):32!=t&&33!=t||r.length?ei.apply(N,a):ai(e,t,n,i):Un(e,t,n),a),e,t)}function hi(e,t,n,i,r,a){var o=1&n,s=e.length,l=t.length;if(s!=l&&!(o&&l>s))return!1;if((l=a.get(e))&&a.get(t))return l==t;var l=-1,u=!0,d=2&n?new ze:N;for(a.set(e,t),a.set(t,e);++l<s;){var c=e[l],h=t[l];if(i)var f=o?i(h,c,l,t,e,a):i(c,h,l,e,t,a);if(f!==N){if(f)continue;u=!1;break}if(d){if(!p(t,function(e,t){if(!C(d,t)&&(c===e||r(c,e,n,i,a)))return d.push(t)})){u=!1;break}}else if(c!==h&&!r(c,h,n,i,a)){u=!1;break}}return a["delete"](e),a["delete"](t),u}function fi(e,t,n,i,r,a,o){switch(n){case"[object DataView]":
if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!a(new _a(e),new _a(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return cr(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=P;case"[object Set]":if(s||(s=O),e.size!=t.size&&!(1&i))break;return(n=o.get(e))?n==t:(i|=2,o.set(e,t),t=hi(s(e),s(t),i,r,a,o),o["delete"](e),t);case"[object Symbol]":if(no)return no.call(e)==no.call(t)}return!1}function pi(e){return Mo(Ei(e,N,Vi),e+"")}function mi(e){return Ct(e,Ar,mo)}function _i(e){return Ct(e,Pr,_o)}function gi(e){for(var t=e.name+"",n=Ga[t],i=sa.call(Ga,t)?n.length:0;i--;){var r=n[i],a=r.func;if(null==a||a==e)return r.name}return t}function yi(e){return(sa.call(Le,"placeholder")?Le:e).placeholder}function vi(){var e=Le.iteratee||zr,e=e===zr?Jt:e;return arguments.length?e(arguments[0],arguments[1]):e}function bi(e,t){var n=e.__data__,i=typeof t;return("string"==i||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==t:null===t)?n["string"==typeof t?"string":"hash"]:n.map}function Mi(e){for(var t=Ar(e),n=t.length;n--;){var i=t[n],r=e[i];t[n]=[i,r,r===r&&!yr(r)]}return t}function wi(e,t){var n=null==e?N:e[t];return $t(n)?n:N}function xi(e,t,n){t=Hn(t,e);for(var i=-1,r=t.length,a=!1;++i<r;){var o=Fi(t[i]);if(!(a=null!=e&&n(e,o)))break;e=e[o]}return a||++i!=r?a:(r=null==e?0:e.length,!!r&&gr(r)&&Yi(o,r)&&(ss(e)||os(e)))}function ki(e){var t=e.length,n=e.constructor(t);return t&&"string"==typeof e[0]&&sa.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function Li(e){return"function"!=typeof e.constructor||ji(e)?{}:ro(ya(e))}function Di(n,i,r,a){var o=n.constructor;switch(i){case"[object ArrayBuffer]":return Pn(n);case"[object Boolean]":case"[object Date]":return new o((+n));case"[object DataView]":return i=a?Pn(n.buffer):n.buffer,new n.constructor(i,n.byteOffset,n.byteLength);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return En(n,a);case"[object Map]":return i=a?r(P(n),1):P(n),h(i,e,new n.constructor);case"[object Number]":case"[object String]":return new o(n);case"[object RegExp]":return i=new n.constructor(n.source,_e.exec(n)),i.lastIndex=n.lastIndex,i;case"[object Set]":return i=a?r(O(n),1):O(n),h(i,t,new n.constructor);case"[object Symbol]":return no?Qr(no.call(n)):{}}}function Ti(e){return ss(e)||os(e)||!!(wa&&e&&e[wa])}function Yi(e,t){return t=null==t?9007199254740991:t,!!t&&("number"==typeof e||Me.test(e))&&-1<e&&0==e%1&&e<t}function Si(e,t,n){if(!yr(n))return!1;var i=typeof t;return!!("number"==i?hr(n)&&Yi(t,n.length):"string"==i&&t in n)&&cr(n[t],e)}function Ci(e,t){if(ss(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!xr(e))||ne.test(e)||!te.test(e)||null!=t&&e in Qr(t)}function Hi(e){var t=gi(e),n=Le[t];return"function"==typeof n&&t in Ce.prototype&&(e===n||(t=po(n),!!t&&e===t[0]))}function ji(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ra)}function Ai(e,t){return function(n){return null!=n&&n[e]===t&&(t!==N||e in Qr(n))}}function Pi(e,t,n,i,r,a){return yr(e)&&yr(t)&&(a.set(t,e),en(e,t,N,Pi,a),a["delete"](t)),e}function Ei(e,t,i){return t=Ia(t===N?e.length-1:t,0),function(){for(var r=arguments,a=-1,o=Ia(r.length-t,0),s=Jr(o);++a<o;)s[a]=r[t+a];for(a=-1,o=Jr(t+1);++a<t;)o[a]=r[a];return o[t]=i(s),n(e,this,o)}}function Ii(e,t,n){var i=t+"";t=Mo;var r,a=Ni;return r=(r=i.match(ce))?r[1].split(he):[],n=a(r,n),(a=n.length)&&(r=a-1,n[r]=(1<a?"& ":"")+n[r],n=n.join(2<a?", ":" "),i=i.replace(de,"{\n/* [wrapped with "+n+"] */\n")),t(e,i)}function Oi(e){var t=0,n=0;return function(){var i=Wa(),r=16-(i-n);if(n=i,0<r){if(800<=++t)return arguments[0]}else t=0;return e.apply(N,arguments)}}function Wi(e,t){var n=-1,i=e.length,r=i-1;for(t=t===N?i:t;++n<t;){var i=un(n,r),a=e[i];e[i]=e[n],e[n]=a}return e.length=t,e}function Fi(e){if("string"==typeof e||xr(e))return e;var t=e+"";return"0"==t&&1/e==-z?"-0":t}function Ri(e){if(null!=e){try{return oa.call(e)}catch(e){}return e+""}return""}function Ni(e,t){return r($,function(n){var i="_."+n[0];t&n[1]&&!l(e,i)&&e.push(i)}),e.sort()}function zi(e){if(e instanceof Ce)return e.clone();var t=new Te(e.__wrapped__,e.__chain__);return t.__actions__=Fn(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Bi(e,t,n){var i=null==e?0:e.length;return i?(n=null==n?0:Dr(n),0>n&&(n=Ia(i+n,0)),_(e,vi(t,3),n)):-1}function $i(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=i-1;return n!==N&&(r=Dr(n),r=0>n?Ia(i+r,0):Oa(r,i-1)),_(e,vi(t,3),r,!0)}function Vi(e){return(null==e?0:e.length)?Lt(e,1):[]}function qi(e){return e&&e.length?e[0]:N}function Ui(e){var t=null==e?0:e.length;return t?e[t-1]:N}function Ji(e,t){return e&&e.length&&t&&t.length?sn(e,t):e}function Gi(e){return null==e?e:Na.call(e)}function Xi(e){if(!e||!e.length)return[];var t=0;return e=s(e,function(e){if(fr(e))return t=Ia(e.length,t),!0}),D(t,function(t){return d(e,M(t))})}function Ki(e,t){if(!e||!e.length)return[];var i=Xi(e);return null==t?i:d(i,function(e){return n(t,N,e)})}function Zi(e){return e=Le(e),e.__chain__=!0,e}function Qi(e,t){return t(e)}function er(){return this}function tr(e,t){return(ss(e)?r:ao)(e,vi(t,3))}function nr(e,t){return(ss(e)?a:oo)(e,vi(t,3))}function ir(e,t){return(ss(e)?d:Kt)(e,vi(t,3))}function rr(e,t,n){return t=n?N:t,t=e&&null==t?e.length:t,ci(e,128,N,N,N,N,t)}function ar(e,t){var n;if("function"!=typeof t)throw new na("Expected a function");return e=Dr(e),function(){return 0<--e&&(n=t.apply(this,arguments)),1>=e&&(t=N),n}}function or(e,t,n){return t=n?N:t,e=ci(e,8,N,N,N,N,N,t),e.placeholder=or.placeholder,e}function sr(e,t,n){return t=n?N:t,e=ci(e,16,N,N,N,N,N,t),e.placeholder=sr.placeholder,e}function lr(e,t,n){function i(t){var n=l,i=u;return l=u=N,p=t,c=e.apply(i,n)}function r(e){var n=e-f;return e-=p,f===N||n>=t||0>n||_&&e>=d}function a(){var e=Go();if(r(e))return o(e);var n,i=bo;n=e-p,e=t-(e-f),n=_?Oa(e,d-n):e,h=i(a,n)}function o(e){return h=N,g&&l?i(e):(l=u=N,c)}function s(){var e=Go(),n=r(e);if(l=arguments,u=this,f=e,n){if(h===N)return p=e=f,h=bo(a,t),m?i(e):c;if(_)return h=bo(a,t),i(f)}return h===N&&(h=bo(a,t)),c}var l,u,d,c,h,f,p=0,m=!1,_=!1,g=!0;if("function"!=typeof e)throw new na("Expected a function");return t=Yr(t)||0,yr(n)&&(m=!!n.leading,d=(_="maxWait"in n)?Ia(Yr(n.maxWait)||0,t):d,g="trailing"in n?!!n.trailing:g),s.cancel=function(){h!==N&&ho(h),p=0,l=f=u=h=N},s.flush=function(){return h===N?c:o(Go())},s}function ur(e,t){function n(){var i=arguments,r=t?t.apply(this,i):i[0],a=n.cache;return a.has(r)?a.get(r):(i=e.apply(this,i),n.cache=a.set(r,i)||a,i)}if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new na("Expected a function");return n.cache=new(ur.Cache||Ne),n}function dr(e){if("function"!=typeof e)throw new na("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function cr(e,t){return e===t||e!==e&&t!==t}function hr(e){return null!=e&&gr(e.length)&&!mr(e)}function fr(e){return vr(e)&&hr(e)}function pr(e){if(!vr(e))return!1;var t=Ht(e);return"[object Error]"==t||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Mr(e)}function mr(e){return!!yr(e)&&(e=Ht(e),"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e)}function _r(e){return"number"==typeof e&&e==Dr(e)}function gr(e){return"number"==typeof e&&-1<e&&0==e%1&&9007199254740991>=e}function yr(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function vr(e){return null!=e&&"object"==typeof e}function br(e){return"number"==typeof e||vr(e)&&"[object Number]"==Ht(e)}function Mr(e){return!(!vr(e)||"[object Object]"!=Ht(e))&&(e=ya(e),null===e||(e=sa.call(e,"constructor")&&e.constructor,"function"==typeof e&&e instanceof e&&oa.call(e)==ca))}function wr(e){return"string"==typeof e||!ss(e)&&vr(e)&&"[object String]"==Ht(e)}function xr(e){return"symbol"==typeof e||vr(e)&&"[object Symbol]"==Ht(e)}function kr(e){if(!e)return[];if(hr(e))return wr(e)?R(e):Fn(e);if(xa&&e[xa]){e=e[xa]();for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}return t=go(e),("[object Map]"==t?P:"[object Set]"==t?O:Ir)(e)}function Lr(e){return e?(e=Yr(e),e===z||e===-z?1.7976931348623157e308*(0>e?-1:1):e===e?e:0):0===e?e:0}function Dr(e){e=Lr(e);var t=e%1;return e===e?t?e-t:e:0}function Tr(e){return e?_t(Dr(e),0,4294967295):0}function Yr(e){if("number"==typeof e)return e;if(xr(e))return B;if(yr(e)&&(e="function"==typeof e.valueOf?e.valueOf():e,e=yr(e)?e+"":e),"string"!=typeof e)return 0===e?e:+e;e=e.replace(se,"");var t=ye.test(e);return t||be.test(e)?Re(e.slice(2),t?2:8):ge.test(e)?B:+e}function Sr(e){return Rn(e,Pr(e))}function Cr(e){return null==e?"":wn(e)}function Hr(e,t,n){return e=null==e?N:St(e,t),e===N?n:e}function jr(e,t){return null!=e&&xi(e,t,Pt)}function Ar(e){return hr(e)?Ve(e):Gt(e)}function Pr(e){if(hr(e))e=Ve(e,!0);else if(yr(e)){var t,n=ji(e),i=[];for(t in e)("constructor"!=t||!n&&sa.call(e,t))&&i.push(t);e=i}else{if(t=[],null!=e)for(n in Qr(e))t.push(n);e=t}return e}function Er(e,t){if(null==e)return{};var n=d(_i(e),function(e){return[e]});return t=vi(t),an(e,n,function(e,n){return t(e,n[0])})}function Ir(e){return null==e?[]:S(e,Ar(e))}function Or(e){return Rs(Cr(e).toLowerCase())}function Wr(e){return(e=Cr(e))&&e.replace(we,tt).replace(Se,"")}function Fr(e,t,n){return e=Cr(e),t=n?N:t,t===N?Ae.test(e)?e.match(He)||[]:e.match(fe)||[]:e.match(t)||[]}function Rr(e){return function(){return e}}function Nr(e){return e}function zr(e){return Jt("function"==typeof e?e:gt(e,1))}function Br(e,t,n){var i=Ar(t),a=Yt(t,i);null!=n||yr(t)&&(a.length||!i.length)||(n=t,t=e,e=this,a=Yt(t,Ar(t)));var o=!(yr(n)&&"chain"in n&&!n.chain),s=mr(e);return r(a,function(n){var i=t[n];e[n]=i,s&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__);return(n.__actions__=Fn(this.__actions__)).push({func:i,args:arguments,thisArg:e}),n.__chain__=t,n}return i.apply(e,c([this.value()],arguments))})}),e}function $r(){}function Vr(e){return Ci(e)?M(Fi(e)):on(e)}function qr(){return[]}function Ur(){return!1}w=null==w?Be:rt.defaults(Be.Object(),w,rt.pick(Be,Pe));var Jr=w.Array,Gr=w.Date,Xr=w.Error,Kr=w.Function,Zr=w.Math,Qr=w.Object,ea=w.RegExp,ta=w.String,na=w.TypeError,ia=Jr.prototype,ra=Qr.prototype,aa=w["__core-js_shared__"],oa=Kr.prototype.toString,sa=ra.hasOwnProperty,la=0,ua=function(){var e=/[^.]+$/.exec(aa&&aa.keys&&aa.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),da=ra.toString,ca=oa.call(Qr),ha=Be._,fa=ea("^"+oa.call(sa).replace(ae,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),pa=qe?w.Buffer:N,ma=w.Symbol,_a=w.Uint8Array,ga=pa?pa.f:N,ya=E(Qr.getPrototypeOf,Qr),va=Qr.create,ba=ra.propertyIsEnumerable,Ma=ia.splice,wa=ma?ma.isConcatSpreadable:N,xa=ma?ma.iterator:N,ka=ma?ma.toStringTag:N,La=function(){try{var e=wi(Qr,"defineProperty");return e({},"",{}),e}catch(e){}}(),Da=w.clearTimeout!==Be.clearTimeout&&w.clearTimeout,Ta=Gr&&Gr.now!==Be.Date.now&&Gr.now,Ya=w.setTimeout!==Be.setTimeout&&w.setTimeout,Sa=Zr.ceil,Ca=Zr.floor,Ha=Qr.getOwnPropertySymbols,ja=pa?pa.isBuffer:N,Aa=w.isFinite,Pa=ia.join,Ea=E(Qr.keys,Qr),Ia=Zr.max,Oa=Zr.min,Wa=Gr.now,Fa=w.parseInt,Ra=Zr.random,Na=ia.reverse,za=wi(w,"DataView"),Ba=wi(w,"Map"),$a=wi(w,"Promise"),Va=wi(w,"Set"),qa=wi(w,"WeakMap"),Ua=wi(Qr,"create"),Ja=qa&&new qa,Ga={},Xa=Ri(za),Ka=Ri(Ba),Za=Ri($a),Qa=Ri(Va),eo=Ri(qa),to=ma?ma.prototype:N,no=to?to.valueOf:N,io=to?to.toString:N,ro=function(){function e(){}return function(t){return yr(t)?va?va(t):(e.prototype=t,t=new e,e.prototype=N,t):{}}}();Le.templateSettings={escape:Z,evaluate:Q,interpolate:ee,variable:"",imports:{_:Le}},Le.prototype=De.prototype,Le.prototype.constructor=Le,Te.prototype=ro(De.prototype),Te.prototype.constructor=Te,Ce.prototype=ro(De.prototype),Ce.prototype.constructor=Ce,Oe.prototype.clear=function(){this.__data__=Ua?Ua(null):{},this.size=0},Oe.prototype["delete"]=function(e){return e=this.has(e)&&delete this.__data__[e],this.size-=e?1:0,e},Oe.prototype.get=function(e){var t=this.__data__;return Ua?(e=t[e],"__lodash_hash_undefined__"===e?N:e):sa.call(t,e)?t[e]:N},Oe.prototype.has=function(e){var t=this.__data__;return Ua?t[e]!==N:sa.call(t,e)},Oe.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Ua&&t===N?"__lodash_hash_undefined__":t,this},We.prototype.clear=function(){this.__data__=[],this.size=0},We.prototype["delete"]=function(e){var t=this.__data__;return e=dt(t,e),!(0>e||(e==t.length-1?t.pop():Ma.call(t,e,1),--this.size,0))},We.prototype.get=function(e){var t=this.__data__;return e=dt(t,e),0>e?N:t[e][1]},We.prototype.has=function(e){return-1<dt(this.__data__,e)},We.prototype.set=function(e,t){var n=this.__data__,i=dt(n,e);return 0>i?(++this.size,n.push([e,t])):n[i][1]=t,this},Ne.prototype.clear=function(){this.size=0,this.__data__={hash:new Oe,map:new(Ba||We),string:new Oe}},Ne.prototype["delete"]=function(e){return e=bi(this,e)["delete"](e),this.size-=e?1:0,e},Ne.prototype.get=function(e){return bi(this,e).get(e)},Ne.prototype.has=function(e){return bi(this,e).has(e)},Ne.prototype.set=function(e,t){var n=bi(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this},ze.prototype.add=ze.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},ze.prototype.has=function(e){return this.__data__.has(e)},$e.prototype.clear=function(){this.__data__=new We,this.size=0},$e.prototype["delete"]=function(e){var t=this.__data__;return e=t["delete"](e),this.size=t.size,e},$e.prototype.get=function(e){return this.__data__.get(e)},$e.prototype.has=function(e){return this.__data__.has(e)},$e.prototype.set=function(e,t){var n=this.__data__;if(n instanceof We){var i=n.__data__;if(!Ba||199>i.length)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new Ne(i)}return n.set(e,t),this.size=n.size,this};var ao=Vn(Dt),oo=Vn(Tt,!0),so=qn(),lo=qn(!0),uo=Ja?function(e,t){return Ja.set(e,t),e}:Nr,co=La?function(e,t){return La(e,"toString",{configurable:!0,enumerable:!1,value:Rr(t),writable:!0})}:Nr,ho=Da||function(e){return Be.clearTimeout(e)},fo=Va&&1/O(new Va([,-0]))[1]==z?function(e){return new Va(e)}:$r,po=Ja?function(e){return Ja.get(e)}:$r,mo=Ha?E(Ha,Qr):qr,_o=Ha?function(e){for(var t=[];e;)c(t,mo(e)),e=ya(e);return t}:qr,go=Ht;(za&&"[object DataView]"!=go(new za(new ArrayBuffer(1)))||Ba&&"[object Map]"!=go(new Ba)||$a&&"[object Promise]"!=go($a.resolve())||Va&&"[object Set]"!=go(new Va)||qa&&"[object WeakMap]"!=go(new qa))&&(go=function(e){var t=Ht(e);if(e=(e="[object Object]"==t?e.constructor:N)?Ri(e):"")switch(e){case Xa:return"[object DataView]";case Ka:return"[object Map]";case Za:return"[object Promise]";case Qa:return"[object Set]";case eo:return"[object WeakMap]"}return t});var yo=aa?mr:Ur,vo=Oi(uo),bo=Ya||function(e,t){return Be.setTimeout(e,t)},Mo=Oi(co),wo=function(e){e=ur(e,function(e){return 500===t.size&&t.clear(),e});var t=e.cache;return e}(function(e){var t=[];return ie.test(e)&&t.push(""),e.replace(re,function(e,n,i,r){t.push(i?r.replace(pe,"$1"):n||e)}),t}),xo=cn(function(e,t){return fr(e)?Mt(e,Lt(t,1,fr,!0)):[]}),ko=cn(function(e,t){var n=Ui(t);return fr(n)&&(n=N),fr(e)?Mt(e,Lt(t,1,fr,!0),vi(n,2)):[]}),Lo=cn(function(e,t){var n=Ui(t);return fr(n)&&(n=N),fr(e)?Mt(e,Lt(t,1,fr,!0),N,n):[]}),Do=cn(function(e){var t=d(e,Sn);return t.length&&t[0]===e[0]?Et(t):[]}),To=cn(function(e){var t=Ui(e),n=d(e,Sn);return t===Ui(n)?t=N:n.pop(),n.length&&n[0]===e[0]?Et(n,vi(t,2)):[]}),Yo=cn(function(e){var t=Ui(e),n=d(e,Sn);return(t="function"==typeof t?t:N)&&n.pop(),n.length&&n[0]===e[0]?Et(n,N,t):[]}),So=cn(Ji),Co=pi(function(e,t){var n=null==e?0:e.length,i=mt(e,t);return ln(e,d(t,function(e){return Yi(e,n)?+e:e}).sort(In)),i}),Ho=cn(function(e){return xn(Lt(e,1,fr,!0))}),jo=cn(function(e){var t=Ui(e);return fr(t)&&(t=N),xn(Lt(e,1,fr,!0),vi(t,2))}),Ao=cn(function(e){var t=Ui(e),t="function"==typeof t?t:N;return xn(Lt(e,1,fr,!0),N,t)}),Po=cn(function(e,t){return fr(e)?Mt(e,t):[]}),Eo=cn(function(e){return Tn(s(e,fr))}),Io=cn(function(e){var t=Ui(e);return fr(t)&&(t=N),Tn(s(e,fr),vi(t,2))}),Oo=cn(function(e){var t=Ui(e),t="function"==typeof t?t:N;return Tn(s(e,fr),N,t)}),Wo=cn(Xi),Fo=cn(function(e){var t=e.length,t=1<t?e[t-1]:N,t="function"==typeof t?(e.pop(),t):N;return Ki(e,t)}),Ro=pi(function(e){function t(t){return mt(t,e)}var n=e.length,i=n?e[0]:0,r=this.__wrapped__;return!(1<n||this.__actions__.length)&&r instanceof Ce&&Yi(i)?(r=r.slice(i,+i+(n?1:0)),r.__actions__.push({func:Qi,args:[t],thisArg:N}),new Te(r,this.__chain__).thru(function(e){return n&&!e.length&&e.push(N),e})):this.thru(t)}),No=Bn(function(e,t,n){sa.call(e,n)?++e[n]:pt(e,n,1)}),zo=Zn(Bi),Bo=Zn($i),$o=Bn(function(e,t,n){sa.call(e,n)?e[n].push(t):pt(e,n,[t])}),Vo=cn(function(e,t,i){var r=-1,a="function"==typeof t,o=hr(e)?Jr(e.length):[];return ao(e,function(e){o[++r]=a?n(t,e,i):Ot(e,t,i)}),o}),qo=Bn(function(e,t,n){pt(e,n,t)}),Uo=Bn(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),Jo=cn(function(e,t){if(null==e)return[];var n=t.length;return 1<n&&Si(e,t[0],t[1])?t=[]:2<n&&Si(t[0],t[1],t[2])&&(t=[t[0]]),nn(e,Lt(t,1),[])}),Go=Ta||function(){return Be.Date.now()},Xo=cn(function(e,t,n){var i=1;if(n.length)var r=I(n,yi(Xo)),i=32|i;return ci(e,i,t,n,r)}),Ko=cn(function(e,t,n){var i=3;if(n.length)var r=I(n,yi(Ko)),i=32|i;return ci(t,i,e,n,r)}),Zo=cn(function(e,t){return bt(e,1,t)}),Qo=cn(function(e,t,n){return bt(e,Yr(t)||0,n)});ur.Cache=Ne;var es=cn(function(e,t){t=1==t.length&&ss(t[0])?d(t[0],Y(vi())):d(Lt(t,1),Y(vi()));var i=t.length;return cn(function(r){for(var a=-1,o=Oa(r.length,i);++a<o;)r[a]=t[a].call(this,r[a]);return n(e,this,r)})}),ts=cn(function(e,t){return ci(e,32,N,t,I(t,yi(ts)))}),ns=cn(function(e,t){return ci(e,64,N,t,I(t,yi(ns)))}),is=pi(function(e,t){return ci(e,256,N,N,N,t)}),rs=si(jt),as=si(function(e,t){return e>=t}),os=Wt(function(){return arguments}())?Wt:function(e){return vr(e)&&sa.call(e,"callee")&&!ba.call(e,"callee")},ss=Jr.isArray,ls=Je?Y(Je):Ft,us=ja||Ur,ds=Ge?Y(Ge):Rt,cs=Xe?Y(Xe):zt,hs=Ke?Y(Ke):Vt,fs=Ze?Y(Ze):qt,ps=Qe?Y(Qe):Ut,ms=si(Xt),_s=si(function(e,t){return e<=t}),gs=$n(function(e,t){if(ji(t)||hr(t))Rn(t,Ar(t),e);else for(var n in t)sa.call(t,n)&&ut(e,n,t[n])}),ys=$n(function(e,t){Rn(t,Pr(t),e)}),vs=$n(function(e,t,n,i){Rn(t,Pr(t),e,i)}),bs=$n(function(e,t,n,i){Rn(t,Ar(t),e,i)}),Ms=pi(mt),ws=cn(function(e){return e.push(N,st),n(vs,N,e)}),xs=cn(function(e){return e.push(N,Pi),n(Ys,N,e)}),ks=ti(function(e,t,n){e[t]=n},Rr(Nr)),Ls=ti(function(e,t,n){sa.call(e,t)?e[t].push(n):e[t]=[n]},vi),Ds=cn(Ot),Ts=$n(function(e,t,n){en(e,t,n)}),Ys=$n(function(e,t,n,i){en(e,t,n,i)}),Ss=pi(function(e,t){var n={};if(null==e)return n;var i=!1;t=d(t,function(t){return t=Hn(t,e),i||(i=1<t.length),t}),Rn(e,_i(e),n),i&&(n=gt(n,7));for(var r=t.length;r--;)kn(n,t[r]);return n}),Cs=pi(function(e,t){return null==e?{}:rn(e,t)}),Hs=di(Ar),js=di(Pr),As=Gn(function(e,t,n){return t=t.toLowerCase(),e+(n?Or(t):t)}),Ps=Gn(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),Es=Gn(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),Is=Jn("toLowerCase"),Os=Gn(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Ws=Gn(function(e,t,n){return e+(n?" ":"")+Rs(t)}),Fs=Gn(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Rs=Jn("toUpperCase"),Ns=cn(function(e,t){try{return n(e,N,t)}catch(e){return pr(e)?e:new Xr(e)}}),zs=pi(function(e,t){return r(t,function(t){t=Fi(t),pt(e,t,Xo(e[t],e))}),e}),Bs=Qn(),$s=Qn(!0),Vs=cn(function(e,t){return function(n){return Ot(n,e,t)}}),qs=cn(function(e,t){return function(n){return Ot(e,n,t)}}),Us=ii(d),Js=ii(o),Gs=ii(p),Xs=oi(),Ks=oi(!0),Zs=ni(function(e,t){return e+t},0),Qs=ui("ceil"),el=ni(function(e,t){return e/t},1),tl=ui("floor"),nl=ni(function(e,t){return e*t},1),il=ui("round"),rl=ni(function(e,t){return e-t},0);return Le.after=function(e,t){if("function"!=typeof t)throw new na("Expected a function");return e=Dr(e),function(){if(1>--e)return t.apply(this,arguments)}},Le.ary=rr,Le.assign=gs,Le.assignIn=ys,Le.assignInWith=vs,Le.assignWith=bs,Le.at=Ms,Le.before=ar,Le.bind=Xo,Le.bindAll=zs,Le.bindKey=Ko,Le.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return ss(e)?e:[e]},Le.chain=Zi,Le.chunk=function(e,t,n){if(t=(n?Si(e,t,n):t===N)?1:Ia(Dr(t),0),n=null==e?0:e.length,!n||1>t)return[];for(var i=0,r=0,a=Jr(Sa(n/t));i<n;)a[r++]=_n(e,i,i+=t);return a},Le.compact=function(e){for(var t=-1,n=null==e?0:e.length,i=0,r=[];++t<n;){var a=e[t];a&&(r[i++]=a)}return r},Le.concat=function(){var e=arguments.length;if(!e)return[];for(var t=Jr(e-1),n=arguments[0];e--;)t[e-1]=arguments[e];return c(ss(n)?Fn(n):[n],Lt(t,1))},Le.cond=function(e){var t=null==e?0:e.length,i=vi();return e=t?d(e,function(e){if("function"!=typeof e[1])throw new na("Expected a function");return[i(e[0]),e[1]]}):[],cn(function(i){for(var r=-1;++r<t;){var a=e[r];if(n(a[0],this,i))return n(a[1],this,i)}})},Le.conforms=function(e){return yt(gt(e,1))},Le.constant=Rr,Le.countBy=No,Le.create=function(e,t){var n=ro(e);return null==t?n:ht(n,t)},Le.curry=or,Le.curryRight=sr,Le.debounce=lr,Le.defaults=ws,Le.defaultsDeep=xs,Le.defer=Zo,Le.delay=Qo,Le.difference=xo,Le.differenceBy=ko,Le.differenceWith=Lo,Le.drop=function(e,t,n){var i=null==e?0:e.length;return i?(t=n||t===N?1:Dr(t),_n(e,0>t?0:t,i)):[]},Le.dropRight=function(e,t,n){var i=null==e?0:e.length;return i?(t=n||t===N?1:Dr(t),t=i-t,_n(e,0,0>t?0:t)):[]},Le.dropRightWhile=function(e,t){return e&&e.length?Ln(e,vi(t,3),!0,!0):[]},Le.dropWhile=function(e,t){return e&&e.length?Ln(e,vi(t,3),!0):[]},Le.fill=function(e,t,n,i){var r=null==e?0:e.length;if(!r)return[];for(n&&"number"!=typeof n&&Si(e,t,n)&&(n=0,i=r),r=e.length,n=Dr(n),0>n&&(n=-n>r?0:r+n),i=i===N||i>r?r:Dr(i),0>i&&(i+=r),i=n>i?0:Tr(i);n<i;)e[n++]=t;return e},Le.filter=function(e,t){return(ss(e)?s:kt)(e,vi(t,3))},Le.flatMap=function(e,t){return Lt(ir(e,t),1)},Le.flatMapDeep=function(e,t){return Lt(ir(e,t),z)},Le.flatMapDepth=function(e,t,n){return n=n===N?1:Dr(n),Lt(ir(e,t),n)},Le.flatten=Vi,Le.flattenDeep=function(e){return(null==e?0:e.length)?Lt(e,z):[]},Le.flattenDepth=function(e,t){return null!=e&&e.length?(t=t===N?1:Dr(t),Lt(e,t)):[]},Le.flip=function(e){return ci(e,512)},Le.flow=Bs,Le.flowRight=$s,Le.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,i={};++t<n;){var r=e[t];i[r[0]]=r[1]}return i},Le.functions=function(e){return null==e?[]:Yt(e,Ar(e))},Le.functionsIn=function(e){return null==e?[]:Yt(e,Pr(e))},Le.groupBy=$o,Le.initial=function(e){return(null==e?0:e.length)?_n(e,0,-1):[]},Le.intersection=Do,Le.intersectionBy=To,Le.intersectionWith=Yo,Le.invert=ks,Le.invertBy=Ls,Le.invokeMap=Vo,Le.iteratee=zr,Le.keyBy=qo,Le.keys=Ar,Le.keysIn=Pr,Le.map=ir,Le.mapKeys=function(e,t){var n={};return t=vi(t,3),Dt(e,function(e,i,r){pt(n,t(e,i,r),e)}),n},Le.mapValues=function(e,t){var n={};return t=vi(t,3),Dt(e,function(e,i,r){pt(n,i,t(e,i,r))}),n},Le.matches=function(e){return Zt(gt(e,1))},Le.matchesProperty=function(e,t){return Qt(e,gt(t,1))},Le.memoize=ur,Le.merge=Ts,Le.mergeWith=Ys,Le.method=Vs,Le.methodOf=qs,Le.mixin=Br,Le.negate=dr,Le.nthArg=function(e){return e=Dr(e),cn(function(t){return tn(t,e)})},Le.omit=Ss,Le.omitBy=function(e,t){return Er(e,dr(vi(t)))},Le.once=function(e){return ar(2,e)},Le.orderBy=function(e,t,n,i){return null==e?[]:(ss(t)||(t=null==t?[]:[t]),n=i?N:n,ss(n)||(n=null==n?[]:[n]),nn(e,t,n))},Le.over=Us,Le.overArgs=es,Le.overEvery=Js,Le.overSome=Gs,Le.partial=ts,Le.partialRight=ns,Le.partition=Uo,Le.pick=Cs,Le.pickBy=Er,Le.property=Vr,Le.propertyOf=function(e){return function(t){return null==e?N:St(e,t)}},Le.pull=So,Le.pullAll=Ji,Le.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?sn(e,t,vi(n,2)):e},Le.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?sn(e,t,N,n):e},Le.pullAt=Co,Le.range=Xs,Le.rangeRight=Ks,Le.rearg=is,Le.reject=function(e,t){return(ss(e)?s:kt)(e,dr(vi(t,3)))},Le.remove=function(e,t){var n=[];if(!e||!e.length)return n;var i=-1,r=[],a=e.length;for(t=vi(t,3);++i<a;){var o=e[i];t(o,i,e)&&(n.push(o),r.push(i))}return ln(e,r),n},Le.rest=function(e,t){if("function"!=typeof e)throw new na("Expected a function");return t=t===N?t:Dr(t),cn(e,t)},Le.reverse=Gi,Le.sampleSize=function(e,t,n){return t=(n?Si(e,t,n):t===N)?1:Dr(t),(ss(e)?et:fn)(e,t)},Le.set=function(e,t,n){return null==e?e:pn(e,t,n)},Le.setWith=function(e,t,n,i){return i="function"==typeof i?i:N,null==e?e:pn(e,t,n,i)},Le.shuffle=function(e){return(ss(e)?ot:mn)(e)},Le.slice=function(e,t,n){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&Si(e,t,n)?(t=0,n=i):(t=null==t?0:Dr(t),n=n===N?i:Dr(n)),_n(e,t,n)):[]},Le.sortBy=Jo,Le.sortedUniq=function(e){return e&&e.length?bn(e):[]},Le.sortedUniqBy=function(e,t){return e&&e.length?bn(e,vi(t,2)):[]},Le.split=function(e,t,n){return n&&"number"!=typeof n&&Si(e,t,n)&&(t=n=N),n=n===N?4294967295:n>>>0,n?(e=Cr(e))&&("string"==typeof t||null!=t&&!hs(t))&&(t=wn(t),!t&&je.test(e))?jn(R(e),0,n):e.split(t,n):[]},Le.spread=function(e,t){if("function"!=typeof e)throw new na("Expected a function");return t=t===N?0:Ia(Dr(t),0),cn(function(i){var r=i[t];return i=jn(i,0,t),r&&c(i,r),n(e,this,i)})},Le.tail=function(e){var t=null==e?0:e.length;return t?_n(e,1,t):[]},Le.take=function(e,t,n){return e&&e.length?(t=n||t===N?1:Dr(t),_n(e,0,0>t?0:t)):[]},Le.takeRight=function(e,t,n){var i=null==e?0:e.length;return i?(t=n||t===N?1:Dr(t),t=i-t,_n(e,0>t?0:t,i)):[]},Le.takeRightWhile=function(e,t){return e&&e.length?Ln(e,vi(t,3),!1,!0):[]},Le.takeWhile=function(e,t){return e&&e.length?Ln(e,vi(t,3)):[]},Le.tap=function(e,t){return t(e),e},Le.throttle=function(e,t,n){var i=!0,r=!0;if("function"!=typeof e)throw new na("Expected a function");return yr(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),lr(e,t,{leading:i,maxWait:t,trailing:r})},Le.thru=Qi,Le.toArray=kr,Le.toPairs=Hs,Le.toPairsIn=js,Le.toPath=function(e){return ss(e)?d(e,Fi):xr(e)?[e]:Fn(wo(Cr(e)))},Le.toPlainObject=Sr,Le.transform=function(e,t,n){var i=ss(e),a=i||us(e)||ps(e);if(t=vi(t,4),null==n){var o=e&&e.constructor;n=a?i?new o:[]:yr(e)&&mr(o)?ro(ya(e)):{}}return(a?r:Dt)(e,function(e,i,r){return t(n,e,i,r)}),n},Le.unary=function(e){return rr(e,1)},Le.union=Ho,Le.unionBy=jo,Le.unionWith=Ao,Le.uniq=function(e){return e&&e.length?xn(e):[]},Le.uniqBy=function(e,t){return e&&e.length?xn(e,vi(t,2)):[]},Le.uniqWith=function(e,t){return t="function"==typeof t?t:N,e&&e.length?xn(e,N,t):[]},Le.unset=function(e,t){return null==e||kn(e,t)},Le.unzip=Xi,Le.unzipWith=Ki,Le.update=function(e,t,n){return null==e?e:pn(e,t,Cn(n)(St(e,t)),void 0)},Le.updateWith=function(e,t,n,i){return i="function"==typeof i?i:N,null!=e&&(e=pn(e,t,Cn(n)(St(e,t)),i)),e},Le.values=Ir,Le.valuesIn=function(e){return null==e?[]:S(e,Pr(e))},Le.without=Po,Le.words=Fr,Le.wrap=function(e,t){return ts(Cn(t),e)},Le.xor=Eo,Le.xorBy=Io,Le.xorWith=Oo,Le.zip=Wo,Le.zipObject=function(e,t){return Yn(e||[],t||[],ut)},Le.zipObjectDeep=function(e,t){return Yn(e||[],t||[],pn)},Le.zipWith=Fo,Le.entries=Hs,Le.entriesIn=js,Le.extend=ys,Le.extendWith=vs,Br(Le,Le),Le.add=Zs,Le.attempt=Ns,Le.camelCase=As,Le.capitalize=Or,Le.ceil=Qs,Le.clamp=function(e,t,n){return n===N&&(n=t,t=N),n!==N&&(n=Yr(n),n=n===n?n:0),t!==N&&(t=Yr(t),t=t===t?t:0),_t(Yr(e),t,n)},Le.clone=function(e){return gt(e,4)},Le.cloneDeep=function(e){return gt(e,5)},Le.cloneDeepWith=function(e,t){return t="function"==typeof t?t:N,gt(e,5,t)},Le.cloneWith=function(e,t){return t="function"==typeof t?t:N,gt(e,4,t)},Le.conformsTo=function(e,t){return null==t||vt(e,t,Ar(t))},Le.deburr=Wr,Le.defaultTo=function(e,t){return null==e||e!==e?t:e},Le.divide=el,Le.endsWith=function(e,t,n){e=Cr(e),t=wn(t);var i=e.length,i=n=n===N?i:_t(Dr(n),0,i);return n-=t.length,0<=n&&e.slice(n,i)==t},Le.eq=cr,Le.escape=function(e){return(e=Cr(e))&&K.test(e)?e.replace(G,nt):e},Le.escapeRegExp=function(e){return(e=Cr(e))&&oe.test(e)?e.replace(ae,"\\$&"):e},Le.every=function(e,t,n){var i=ss(e)?o:wt;return n&&Si(e,t,n)&&(t=N),i(e,vi(t,3))},Le.find=zo,Le.findIndex=Bi,Le.findKey=function(e,t){return m(e,vi(t,3),Dt)},Le.findLast=Bo,Le.findLastIndex=$i,Le.findLastKey=function(e,t){return m(e,vi(t,3),Tt)},Le.floor=tl,Le.forEach=tr,Le.forEachRight=nr,Le.forIn=function(e,t){return null==e?e:so(e,vi(t,3),Pr)},Le.forInRight=function(e,t){return null==e?e:lo(e,vi(t,3),Pr)},Le.forOwn=function(e,t){return e&&Dt(e,vi(t,3))},Le.forOwnRight=function(e,t){return e&&Tt(e,vi(t,3))},Le.get=Hr,Le.gt=rs,Le.gte=as,Le.has=function(e,t){return null!=e&&xi(e,t,At)},Le.hasIn=jr,Le.head=qi,Le.identity=Nr,Le.includes=function(e,t,n,i){return e=hr(e)?e:Ir(e),n=n&&!i?Dr(n):0,i=e.length,0>n&&(n=Ia(i+n,0)),wr(e)?n<=i&&-1<e.indexOf(t,n):!!i&&-1<g(e,t,n)},Le.indexOf=function(e,t,n){var i=null==e?0:e.length;return i?(n=null==n?0:Dr(n),0>n&&(n=Ia(i+n,0)),g(e,t,n)):-1},Le.inRange=function(e,t,n){return t=Lr(t),n===N?(n=t,t=0):n=Lr(n),e=Yr(e),e>=Oa(t,n)&&e<Ia(t,n)},Le.invoke=Ds,Le.isArguments=os,Le.isArray=ss,Le.isArrayBuffer=ls,Le.isArrayLike=hr,Le.isArrayLikeObject=fr,Le.isBoolean=function(e){return!0===e||!1===e||vr(e)&&"[object Boolean]"==Ht(e)},Le.isBuffer=us,Le.isDate=ds,Le.isElement=function(e){return vr(e)&&1===e.nodeType&&!Mr(e)},Le.isEmpty=function(e){if(null==e)return!0;if(hr(e)&&(ss(e)||"string"==typeof e||"function"==typeof e.splice||us(e)||ps(e)||os(e)))return!e.length;var t=go(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(ji(e))return!Gt(e).length;for(var n in e)if(sa.call(e,n))return!1;return!0},Le.isEqual=function(e,t){return Nt(e,t)},Le.isEqualWith=function(e,t,n){var i=(n="function"==typeof n?n:N)?n(e,t):N;return i===N?Nt(e,t,N,n):!!i},Le.isError=pr,Le.isFinite=function(e){return"number"==typeof e&&Aa(e)},Le.isFunction=mr,Le.isInteger=_r,Le.isLength=gr,Le.isMap=cs,Le.isMatch=function(e,t){return e===t||Bt(e,t,Mi(t))},Le.isMatchWith=function(e,t,n){return n="function"==typeof n?n:N,Bt(e,t,Mi(t),n)},Le.isNaN=function(e){return br(e)&&e!=+e},Le.isNative=function(e){if(yo(e))throw new Xr("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return $t(e)},Le.isNil=function(e){return null==e},Le.isNull=function(e){return null===e},Le.isNumber=br,Le.isObject=yr,Le.isObjectLike=vr,Le.isPlainObject=Mr,Le.isRegExp=hs,Le.isSafeInteger=function(e){return _r(e)&&-9007199254740991<=e&&9007199254740991>=e},Le.isSet=fs,Le.isString=wr,Le.isSymbol=xr,Le.isTypedArray=ps,Le.isUndefined=function(e){return e===N},Le.isWeakMap=function(e){return vr(e)&&"[object WeakMap]"==go(e)},Le.isWeakSet=function(e){return vr(e)&&"[object WeakSet]"==Ht(e)},Le.join=function(e,t){return null==e?"":Pa.call(e,t)},Le.kebabCase=Ps,Le.last=Ui,Le.lastIndexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=i;if(n!==N&&(r=Dr(n),r=0>r?Ia(i+r,0):Oa(r,i-1)),t===t){for(n=r+1;n--&&e[n]!==t;);e=n}else e=_(e,v,r,!0);return e},Le.lowerCase=Es,Le.lowerFirst=Is,Le.lt=ms,Le.lte=_s,Le.max=function(e){return e&&e.length?xt(e,Nr,jt):N},Le.maxBy=function(e,t){return e&&e.length?xt(e,vi(t,2),jt):N},Le.mean=function(e){return b(e,Nr)},Le.meanBy=function(e,t){return b(e,vi(t,2))},Le.min=function(e){return e&&e.length?xt(e,Nr,Xt):N},Le.minBy=function(e,t){return e&&e.length?xt(e,vi(t,2),Xt):N},Le.stubArray=qr,Le.stubFalse=Ur,Le.stubObject=function(){return{}},Le.stubString=function(){return""},Le.stubTrue=function(){return!0},Le.multiply=nl,Le.nth=function(e,t){return e&&e.length?tn(e,Dr(t)):N},Le.noConflict=function(){return Be._===this&&(Be._=ha),this},Le.noop=$r,Le.now=Go,Le.pad=function(e,t,n){e=Cr(e);var i=(t=Dr(t))?F(e):0;return!t||i>=t?e:(t=(t-i)/2,ri(Ca(t),n)+e+ri(Sa(t),n));
},Le.padEnd=function(e,t,n){e=Cr(e);var i=(t=Dr(t))?F(e):0;return t&&i<t?e+ri(t-i,n):e},Le.padStart=function(e,t,n){e=Cr(e);var i=(t=Dr(t))?F(e):0;return t&&i<t?ri(t-i,n)+e:e},Le.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),Fa(Cr(e).replace(le,""),t||0)},Le.random=function(e,t,n){if(n&&"boolean"!=typeof n&&Si(e,t,n)&&(t=n=N),n===N&&("boolean"==typeof t?(n=t,t=N):"boolean"==typeof e&&(n=e,e=N)),e===N&&t===N?(e=0,t=1):(e=Lr(e),t===N?(t=e,e=0):t=Lr(t)),e>t){var i=e;e=t,t=i}return n||e%1||t%1?(n=Ra(),Oa(e+n*(t-e+Fe("1e-"+((n+"").length-1))),t)):un(e,t)},Le.reduce=function(e,t,n){var i=ss(e)?h:x,r=3>arguments.length;return i(e,vi(t,4),n,r,ao)},Le.reduceRight=function(e,t,n){var i=ss(e)?f:x,r=3>arguments.length;return i(e,vi(t,4),n,r,oo)},Le.repeat=function(e,t,n){return t=(n?Si(e,t,n):t===N)?1:Dr(t),dn(Cr(e),t)},Le.replace=function(){var e=arguments,t=Cr(e[0]);return 3>e.length?t:t.replace(e[1],e[2])},Le.result=function(e,t,n){t=Hn(t,e);var i=-1,r=t.length;for(r||(r=1,e=N);++i<r;){var a=null==e?N:e[Fi(t[i])];a===N&&(i=r,a=n),e=mr(a)?a.call(e):a}return e},Le.round=il,Le.runInContext=at,Le.sample=function(e){return(ss(e)?Ue:hn)(e)},Le.size=function(e){if(null==e)return 0;if(hr(e))return wr(e)?F(e):e.length;var t=go(e);return"[object Map]"==t||"[object Set]"==t?e.size:Gt(e).length},Le.snakeCase=Os,Le.some=function(e,t,n){var i=ss(e)?p:gn;return n&&Si(e,t,n)&&(t=N),i(e,vi(t,3))},Le.sortedIndex=function(e,t){return yn(e,t)},Le.sortedIndexBy=function(e,t,n){return vn(e,t,vi(n,2))},Le.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var i=yn(e,t);if(i<n&&cr(e[i],t))return i}return-1},Le.sortedLastIndex=function(e,t){return yn(e,t,!0)},Le.sortedLastIndexBy=function(e,t,n){return vn(e,t,vi(n,2),!0)},Le.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=yn(e,t,!0)-1;if(cr(e[n],t))return n}return-1},Le.startCase=Ws,Le.startsWith=function(e,t,n){return e=Cr(e),n=_t(Dr(n),0,e.length),t=wn(t),e.slice(n,n+t.length)==t},Le.subtract=rl,Le.sum=function(e){return e&&e.length?L(e,Nr):0},Le.sumBy=function(e,t){return e&&e.length?L(e,vi(t,2)):0},Le.template=function(e,t,n){var i=Le.templateSettings;n&&Si(e,t,n)&&(t=N),e=Cr(e),t=vs({},t,i,st),n=vs({},t.imports,i.imports,st);var r,a,o=Ar(n),s=S(n,o),l=0;n=t.interpolate||xe;var u="__p+='";n=ea((t.escape||xe).source+"|"+n.source+"|"+(n===ee?me:xe).source+"|"+(t.evaluate||xe).source+"|$","g");var d="sourceURL"in t?"//# sourceURL="+t.sourceURL+"\n":"";if(e.replace(n,function(t,n,i,o,s,d){return i||(i=o),u+=e.slice(l,d).replace(ke,A),n&&(r=!0,u+="'+__e("+n+")+'"),s&&(a=!0,u+="';"+s+";\n__p+='"),i&&(u+="'+((__t=("+i+"))==null?'':__t)+'"),l=d+t.length,t}),u+="';",(t=t.variable)||(u="with(obj){"+u+"}"),u=(a?u.replace(V,""):u).replace(q,"$1").replace(U,"$1;"),u="function("+(t||"obj")+"){"+(t?"":"obj||(obj={});")+"var __t,__p=''"+(r?",__e=_.escape":"")+(a?",__j=Array.prototype.join;function print(){__p+=__j.call(arguments,'')}":";")+u+"return __p}",t=Ns(function(){return Kr(o,d+"return "+u).apply(N,s)}),t.source=u,pr(t))throw t;return t},Le.times=function(e,t){if(e=Dr(e),1>e||9007199254740991<e)return[];var n=4294967295,i=Oa(e,4294967295);for(t=vi(t),e-=4294967295,i=D(i,t);++n<e;)t(n);return i},Le.toFinite=Lr,Le.toInteger=Dr,Le.toLength=Tr,Le.toLower=function(e){return Cr(e).toLowerCase()},Le.toNumber=Yr,Le.toSafeInteger=function(e){return _t(Dr(e),-9007199254740991,9007199254740991)},Le.toString=Cr,Le.toUpper=function(e){return Cr(e).toUpperCase()},Le.trim=function(e,t,n){return(e=Cr(e))&&(n||t===N)?e.replace(se,""):e&&(t=wn(t))?(e=R(e),n=R(t),t=H(e,n),n=j(e,n)+1,jn(e,t,n).join("")):e},Le.trimEnd=function(e,t,n){return(e=Cr(e))&&(n||t===N)?e.replace(ue,""):e&&(t=wn(t))?(e=R(e),t=j(e,R(t))+1,jn(e,0,t).join("")):e},Le.trimStart=function(e,t,n){return(e=Cr(e))&&(n||t===N)?e.replace(le,""):e&&(t=wn(t))?(e=R(e),t=H(e,R(t)),jn(e,t).join("")):e},Le.truncate=function(e,t){var n=30,i="...";if(yr(t))var r="separator"in t?t.separator:r,n="length"in t?Dr(t.length):n,i="omission"in t?wn(t.omission):i;e=Cr(e);var a=e.length;if(je.test(e))var o=R(e),a=o.length;if(n>=a)return e;if(a=n-F(i),1>a)return i;if(n=o?jn(o,0,a).join(""):e.slice(0,a),r===N)return n+i;if(o&&(a+=n.length-a),hs(r)){if(e.slice(a).search(r)){var s=n;for(r.global||(r=ea(r.source,Cr(_e.exec(r))+"g")),r.lastIndex=0;o=r.exec(s);)var l=o.index;n=n.slice(0,l===N?a:l)}}else e.indexOf(wn(r),a)!=a&&(r=n.lastIndexOf(r),-1<r&&(n=n.slice(0,r)));return n+i},Le.unescape=function(e){return(e=Cr(e))&&X.test(e)?e.replace(J,it):e},Le.uniqueId=function(e){var t=++la;return Cr(e)+t},Le.upperCase=Fs,Le.upperFirst=Rs,Le.each=tr,Le.eachRight=nr,Le.first=qi,Br(Le,function(){var e={};return Dt(Le,function(t,n){sa.call(Le.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),Le.VERSION="4.17.2",r("bind bindKey curry curryRight partial partialRight".split(" "),function(e){Le[e].placeholder=Le}),r(["drop","take"],function(e,t){Ce.prototype[e]=function(n){var i=this.__filtered__;if(i&&!t)return new Ce(this);n=n===N?1:Ia(Dr(n),0);var r=this.clone();return i?r.__takeCount__=Oa(n,r.__takeCount__):r.__views__.push({size:Oa(n,4294967295),type:e+(0>r.__dir__?"Right":"")}),r},Ce.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),r(["filter","map","takeWhile"],function(e,t){var n=t+1,i=1==n||3==n;Ce.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:vi(e,3),type:n}),t.__filtered__=t.__filtered__||i,t}}),r(["head","last"],function(e,t){var n="take"+(t?"Right":"");Ce.prototype[e]=function(){return this[n](1).value()[0]}}),r(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");Ce.prototype[e]=function(){return this.__filtered__?new Ce(this):this[n](1)}}),Ce.prototype.compact=function(){return this.filter(Nr)},Ce.prototype.find=function(e){return this.filter(e).head()},Ce.prototype.findLast=function(e){return this.reverse().find(e)},Ce.prototype.invokeMap=cn(function(e,t){return"function"==typeof e?new Ce(this):this.map(function(n){return Ot(n,e,t)})}),Ce.prototype.reject=function(e){return this.filter(dr(vi(e)))},Ce.prototype.slice=function(e,t){e=Dr(e);var n=this;return n.__filtered__&&(0<e||0>t)?new Ce(n):(0>e?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==N&&(t=Dr(t),n=0>t?n.dropRight(-t):n.take(t-e)),n)},Ce.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ce.prototype.toArray=function(){return this.take(4294967295)},Dt(Ce.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),r=Le[i?"take"+("last"==t?"Right":""):t],a=i||/^find/.test(t);r&&(Le.prototype[t]=function(){function t(e){return e=r.apply(Le,c([e],s)),i&&h?e[0]:e}var o=this.__wrapped__,s=i?[1]:arguments,l=o instanceof Ce,u=s[0],d=l||ss(o);d&&n&&"function"==typeof u&&1!=u.length&&(l=d=!1);var h=this.__chain__,f=!!this.__actions__.length,u=a&&!h,l=l&&!f;return!a&&d?(o=l?o:new Ce(this),o=e.apply(o,s),o.__actions__.push({func:Qi,args:[t],thisArg:N}),new Te(o,h)):u&&l?e.apply(this,s):(o=this.thru(t),u?i?o.value()[0]:o.value():o)})}),r("pop push shift sort splice unshift".split(" "),function(e){var t=ia[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);Le.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var r=this.value();return t.apply(ss(r)?r:[],e)}return this[n](function(n){return t.apply(ss(n)?n:[],e)})}}),Dt(Ce.prototype,function(e,t){var n=Le[t];if(n){var i=n.name+"";(Ga[i]||(Ga[i]=[])).push({name:t,func:n})}}),Ga[ei(N,2).name]=[{name:"wrapper",func:N}],Ce.prototype.clone=function(){var e=new Ce(this.__wrapped__);return e.__actions__=Fn(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Fn(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Fn(this.__views__),e},Ce.prototype.reverse=function(){if(this.__filtered__){var e=new Ce(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e},Ce.prototype.value=function(){var e,t=this.__wrapped__.value(),n=this.__dir__,i=ss(t),r=0>n,a=i?t.length:0;e=a;for(var o=this.__views__,s=0,l=-1,u=o.length;++l<u;){var d=o[l],c=d.size;switch(d.type){case"drop":s+=c;break;case"dropRight":e-=c;break;case"take":e=Oa(e,s+c);break;case"takeRight":s=Ia(s,e-c)}}if(e={start:s,end:e},o=e.start,s=e.end,e=s-o,r=r?s:o-1,o=this.__iteratees__,s=o.length,l=0,u=Oa(e,this.__takeCount__),!i||200>a||a==e&&u==e)return Dn(t,this.__actions__);i=[];e:for(;e--&&l<u;){for(r+=n,a=-1,d=t[r];++a<s;){var h=o[a],c=h.type,h=(0,h.iteratee)(d);if(2==c)d=h;else if(!h){if(1==c)continue e;break e}}i[l++]=d}return i},Le.prototype.at=Ro,Le.prototype.chain=function(){return Zi(this)},Le.prototype.commit=function(){return new Te(this.value(),this.__chain__)},Le.prototype.next=function(){this.__values__===N&&(this.__values__=kr(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?N:this.__values__[this.__index__++]}},Le.prototype.plant=function(e){for(var t,n=this;n instanceof De;){var i=zi(n);i.__index__=0,i.__values__=N,t?r.__wrapped__=i:t=i;var r=i,n=n.__wrapped__}return r.__wrapped__=e,t},Le.prototype.reverse=function(){var e=this.__wrapped__;return e instanceof Ce?(this.__actions__.length&&(e=new Ce(this)),e=e.reverse(),e.__actions__.push({func:Qi,args:[Gi],thisArg:N}),new Te(e,this.__chain__)):this.thru(Gi)},Le.prototype.toJSON=Le.prototype.valueOf=Le.prototype.value=function(){return Dn(this.__wrapped__,this.__actions__)},Le.prototype.first=Le.prototype.head,xa&&(Le.prototype[xa]=er),Le}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(Be._=rt,define(function(){return rt})):Ve?((Ve.exports=rt)._=rt,$e._=rt):Be._=rt}.call(this),!function(e,t){if("function"==typeof define&&define.amd)define(["exports","module"],t);else if("undefined"!=typeof exports&&"undefined"!=typeof module)t(exports,module);else{var n={exports:{}};t(n.exports,n),e.autosize=n.exports}}(this,function(e,t){"use strict";function n(e){function t(){var t=window.getComputedStyle(e,null);"vertical"===t.resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),l="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(l)&&(l=0),s()}function n(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t,r()}function i(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}function r(){var t=e.style.height,n=i(e),r=document.documentElement&&document.documentElement.scrollTop;e.style.height="auto";var a=e.scrollHeight+l;return 0===e.scrollHeight?void(e.style.height=t):(e.style.height=a+"px",u=e.clientWidth,n.forEach(function(e){e.node.scrollTop=e.scrollTop}),void(r&&(document.documentElement.scrollTop=r)))}function s(){r();var e=window.getComputedStyle(s,null),t=Math.round(parseFloat(e.height)),i=Math.round(parseFloat(s.style.height));if(t!==i?"visible"!==e.overflowY&&n("visible"):"hidden"!==e.overflowY&&n("hidden"),d!==t){d=t;var a=o("autosize:resized");try{s.dispatchEvent(a)}catch(s){}}}if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!a.has(e)){var l=null,u=e.clientWidth,d=null,c=function(){e.clientWidth!==u&&s()},h=function(t){window.removeEventListener("resize",c,!1),e.removeEventListener("input",s,!1),e.removeEventListener("keyup",s,!1),e.removeEventListener("autosize:destroy",h,!1),e.removeEventListener("autosize:update",s,!1),Object.keys(t).forEach(function(n){e.style[n]=t[n]}),a["delete"](e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",h,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",s,!1),window.addEventListener("resize",c,!1),e.addEventListener("input",s,!1),e.addEventListener("autosize:update",s,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",a.set(e,{destroy:h,update:s}),t()}}function i(e){var t=a.get(e);t&&t.destroy()}function r(e){var t=a.get(e);t&&t.update()}var a="function"==typeof Map?new Map:function(){var e=[],t=[];return{has:function(t){return e.indexOf(t)>-1},get:function(n){return t[e.indexOf(n)]},set:function(n,i){e.indexOf(n)===-1&&(e.push(n),t.push(i))},"delete":function(n){var i=e.indexOf(n);i>-1&&(e.splice(i,1),t.splice(i,1))}}}(),o=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){o=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}var s=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?(s=function(e){return e},s.destroy=function(e){return e},s.update=function(e){return e}):(s=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return n(e,t)}),e},s.destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],i),e},s.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],r),e}),t.exports=s}),function(){var e,t=window.Messenger;e=window.Messenger=function(){return e._call.apply(this,arguments)},window.Messenger.noConflict=function(){return window.Messenger=t,e}}(),window.Messenger._=function(){if(window._)return window._;var e=Array.prototype,t=Object.prototype,n=Function.prototype,i=(e.push,e.slice),r=(e.concat,t.toString);t.hasOwnProperty;var a=e.forEach,o=(e.map,e.reduce,e.reduceRight,e.filter),s=(e.every,e.some,e.indexOf,e.lastIndexOf,Array.isArray,Object.keys),l=n.bind,u={},d={},c=u.each=u.forEach=function(e,t,n){if(null!=e)if(a&&e.forEach===a)e.forEach(t,n);else if(e.length===+e.length){for(var i=0,r=e.length;r>i;i++)if(t.call(n,e[i],i,e)===d)return}else for(var o in e)if(u.has(e,o)&&t.call(n,e[o],o,e)===d)return};u.result=function(e,t){if(null==e)return null;var n=e[t];return u.isFunction(n)?n.call(e):n},u.once=function(e){var t,n=!1;return function(){return n?t:(n=!0,t=e.apply(this,arguments),e=null,t)}};var h=0;return u.uniqueId=function(e){var t=++h+"";return e?e+t:t},u.filter=u.select=function(e,t,n){var i=[];return null==e?i:o&&e.filter===o?e.filter(t,n):(c(e,function(e,r,a){t.call(n,e,r,a)&&(i[i.length]=e)}),i)},c(["Arguments","Function","String","Number","Date","RegExp"],function(e){u["is"+e]=function(t){return r.call(t)=="[object "+e+"]"}}),u.defaults=function(e){return c(i.call(arguments,1),function(t){if(t)for(var n in t)null==e[n]&&(e[n]=t[n])}),e},u.extend=function(e){return c(i.call(arguments,1),function(t){if(t)for(var n in t)e[n]=t[n]}),e},u.keys=s||function(e){if(e!==Object(e))throw new TypeError("Invalid object");var t=[];for(var n in e)u.has(e,n)&&(t[t.length]=n);return t},u.bind=function(e,t){if(e.bind===l&&l)return l.apply(e,i.call(arguments,1));var n=i.call(arguments,2);return function(){return e.apply(t,n.concat(i.call(arguments)))}},u.isObject=function(e){return e===Object(e)},u}(),window.Messenger.Events=function(){if(window.Backbone&&Backbone.Events)return Backbone.Events;var e=function(){var e=/\s+/,t=function(t,n,i,r){if(!i)return!0;if("object"==typeof i)for(var a in i)t[n].apply(t,[a,i[a]].concat(r));else{if(!e.test(i))return!0;for(var o=i.split(e),s=0,l=o.length;l>s;s++)t[n].apply(t,[o[s]].concat(r))}},n=function(e,t){var n,i=-1,r=e.length;switch(t.length){case 0:for(;r>++i;)(n=e[i]).callback.call(n.ctx);return;case 1:for(;r>++i;)(n=e[i]).callback.call(n.ctx,t[0]);return;case 2:for(;r>++i;)(n=e[i]).callback.call(n.ctx,t[0],t[1]);return;case 3:for(;r>++i;)(n=e[i]).callback.call(n.ctx,t[0],t[1],t[2]);return;default:for(;r>++i;)(n=e[i]).callback.apply(n.ctx,t)}},i={on:function(e,n,i){if(!t(this,"on",e,[n,i])||!n)return this;this._events||(this._events={});var r=this._events[e]||(this._events[e]=[]);return r.push({callback:n,context:i,ctx:i||this}),this},once:function(e,n,i){if(!t(this,"once",e,[n,i])||!n)return this;var r=this,a=_.once(function(){r.off(e,a),n.apply(this,arguments)});return a._callback=n,this.on(e,a,i),this},off:function(e,n,i){var r,a,o,s,l,u,d,c;if(!this._events||!t(this,"off",e,[n,i]))return this;if(!e&&!n&&!i)return this._events={},this;for(s=e?[e]:_.keys(this._events),l=0,u=s.length;u>l;l++)if(e=s[l],r=this._events[e]){if(o=[],n||i)for(d=0,c=r.length;c>d;d++)a=r[d],(n&&n!==a.callback&&n!==a.callback._callback||i&&i!==a.context)&&o.push(a);this._events[e]=o}return this},trigger:function(e){if(!this._events)return this;var i=Array.prototype.slice.call(arguments,1);if(!t(this,"trigger",e,i))return this;var r=this._events[e],a=this._events.all;return r&&n(r,i),a&&n(a,arguments),this},listenTo:function(e,t,n){var i=this._listeners||(this._listeners={}),r=e._listenerId||(e._listenerId=_.uniqueId("l"));return i[r]=e,e.on(t,"object"==typeof t?this:n,this),this},stopListening:function(e,t,n){var i=this._listeners;if(i){if(e)e.off(t,"object"==typeof t?this:n,this),t||n||delete i[e._listenerId];else{"object"==typeof t&&(n=this);for(var r in i)i[r].off(t,n,this);this._listeners={}}return this}}};return i.bind=i.on,i.unbind=i.off,i};return e()}(),function(){var e,t,n,i,r,a,o,s,l,u,d,c={}.hasOwnProperty,h=function(e,t){function n(){this.constructor=e}for(var i in t)c.call(t,i)&&(e[i]=t[i]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},f=[].slice,p=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};e=jQuery,a=null!=(l=window._)?l:window.Messenger._,i=null!=(u="undefined"!=typeof Backbone&&null!==Backbone?Backbone.Events:void 0)?u:window.Messenger.Events,n=function(){function t(t){e.extend(this,i),a.isObject(t)&&(t.el&&this.setElement(t.el),this.model=t.model),this.initialize.apply(this,arguments)}return t.prototype.setElement=function(t){return this.$el=e(t),this.el=this.$el[0]},t.prototype.delegateEvents=function(e){var t,n,i,r,o,s,l;if(e||(e=a.result(this,"events"))){this.undelegateEvents(),t=/^(\S+)\s*(.*)$/,l=[];for(i in e){if(o=e[i],a.isFunction(o)||(o=this[e[i]]),!o)throw Error('Method "'+e[i]+'" does not exist');r=i.match(t),n=r[1],s=r[2],o=a.bind(o,this),n+=".delegateEvents"+this.cid,""===s?l.push(this.jqon(n,o)):l.push(this.jqon(n,s,o))}return l}},t.prototype.jqon=function(e,t,n){var i;return null!=this.$el.on?(i=this.$el).on.apply(i,arguments):(null==n&&(n=t,t=void 0),null!=t?this.$el.delegate(t,e,n):this.$el.bind(e,n))},t.prototype.jqoff=function(e){var t;return null!=this.$el.off?(t=this.$el).off.apply(t,arguments):(this.$el.undelegate(),this.$el.unbind(e))},t.prototype.undelegateEvents=function(){return this.jqoff(".delegateEvents"+this.cid)},t.prototype.remove=function(){return this.undelegateEvents(),this.$el.remove()},t}(),o=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return h(n,t),n.prototype.defaults={hideAfter:10,scroll:!0,closeButtonText:"&times;",escapeText:!1},n.prototype.initialize=function(t){return null==t&&(t={}),this.shown=!1,this.rendered=!1,this.messenger=t.messenger,this.options=e.extend({},this.options,t,this.defaults)},n.prototype.show=function(){var e;return this.rendered||this.render(),this.$message.removeClass("messenger-hidden"),e=this.shown,this.shown=!0,e?void 0:this.trigger("show")},n.prototype.hide=function(){var e;if(this.rendered)return this.$message.addClass("messenger-hidden"),e=this.shown,this.shown=!1,e?this.trigger("hide"):void 0},n.prototype.cancel=function(){return this.hide()},n.prototype.update=function(t){var n,i=this;return a.isString(t)&&(t={message:t}),e.extend(this.options,t),this.lastUpdate=new Date,this.rendered=!1,this.events=null!=(n=this.options.events)?n:{},this.render(),this.actionsToEvents(),this.delegateEvents(),this.checkClickable(),this.options.hideAfter?(this.$message.addClass("messenger-will-hide-after"),null!=this._hideTimeout&&clearTimeout(this._hideTimeout),this._hideTimeout=setTimeout(function(){return i.hide()},1e3*this.options.hideAfter)):this.$message.removeClass("messenger-will-hide-after"),this.options.hideOnNavigate?(this.$message.addClass("messenger-will-hide-on-navigate"),null!=("undefined"!=typeof Backbone&&null!==Backbone?Backbone.history:void 0)&&Backbone.history.on("route",function(){return i.hide()})):this.$message.removeClass("messenger-will-hide-on-navigate"),this.trigger("update",this)},n.prototype.scrollTo=function(){return this.options.scroll?e.scrollTo(this.$el,{duration:400,offset:{left:0,top:-20}}):void 0},n.prototype.timeSinceUpdate=function(){return this.lastUpdate?new Date-this.lastUpdate:null},n.prototype.actionsToEvents=function(){var e,t,n,i,r=this;n=this.options.actions,i=[];for(t in n)e=n[t],i.push(this.events['click [data-action="'+t+'"] a']=function(e){return function(n){return n.preventDefault(),n.stopPropagation(),r.trigger("action:"+t,e,n),e.action.call(r,n,r)}}(e));return i},n.prototype.checkClickable=function(){var e,t,n,i;n=this.events,i=[];for(t in n)e=n[t],"click"===t?i.push(this.$message.addClass("messenger-clickable")):i.push(void 0);return i},n.prototype.undelegateEvents=function(){var e;return n.__super__.undelegateEvents.apply(this,arguments),null!=(e=this.$message)?e.removeClass("messenger-clickable"):void 0},n.prototype.parseActions=function(){var t,n,i,r,a,o;n=[],a=this.options.actions;for(r in a)t=a[r],i=e.extend({},t),i.name=r,null==(o=i.label)&&(i.label=r),n.push(i);return n},n.prototype.template=function(t){var n,i,r,a,o,s,l,u,d,c,h=this;for(o=e("<div class='messenger-message message alert "+t.type+" message-"+t.type+" alert-"+t.type+"'>"),t.showCloseButton&&(r=e('<button type="button" class="messenger-close" data-dismiss="alert">'),r.html(t.closeButtonText),r.click(function(){var e;return h.cancel(),"function"==typeof(e=h.options).onClickClose&&e.onClickClose(),!0}),o.append(r)),s=t.escapeText?e('<div class="messenger-message-inner"></div>').text(t.message):e('<div class="messenger-message-inner">'+t.message+"</div>"),o.append(s),t.actions.length&&(i=e('<div class="messenger-actions">')),c=t.actions,u=0,d=c.length;d>u;u++)l=c[u],n=e("<span>"),n.attr("data-action",""+l.name),a=e("<a>"),a.html(l.label),n.append(e('<span class="messenger-phrase">')),n.append(a),i.append(n);return o.append(i),o},n.prototype.render=function(){var t;if(!this.rendered)return this._hasSlot||(this.setElement(this.messenger._reserveMessageSlot(this)),this._hasSlot=!0),t=e.extend({},this.options,{actions:this.parseActions()}),this.$message=e(this.template(t)),this.$el.html(this.$message),this.shown=!0,this.rendered=!0,this.trigger("render")},n}(n),r=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return h(t,e),t.prototype.initialize=function(){return t.__super__.initialize.apply(this,arguments),this._timers={}},t.prototype.cancel=function(){return this.clearTimers(),this.hide(),null!=this._actionInstance&&null!=this._actionInstance.abort?this._actionInstance.abort():void 0},t.prototype.clearTimers=function(){var e,t,n,i;n=this._timers;for(e in n)t=n[e],clearTimeout(t);return this._timers={},null!=(i=this.$message)?i.removeClass("messenger-retry-soon messenger-retry-later"):void 0},t.prototype.render=function(){var e,n,i,r;t.__super__.render.apply(this,arguments),this.clearTimers(),i=this.options.actions,r=[];for(n in i)e=i[n],e.auto?r.push(this.startCountdown(n,e)):r.push(void 0);return r},t.prototype.renderPhrase=function(e,t){var n;return n=e.phrase.replace("TIME",this.formatTime(t))},t.prototype.formatTime=function(e){var t;return t=function(e,t){return e=Math.floor(e),1!==e&&(t+="s"),"in "+e+" "+t},0===Math.floor(e)?"now...":60>e?t(e,"second"):(e/=60,60>e?t(e,"minute"):(e/=60,t(e,"hour")))},t.prototype.startCountdown=function(e,t){var n,i,r,a,o=this;if(null==this._timers[e])return n=this.$message.find("[data-action='"+e+"'] .messenger-phrase"),i=null!=(a=t.delay)?a:3,10>=i?(this.$message.removeClass("messenger-retry-later"),this.$message.addClass("messenger-retry-soon")):(this.$message.removeClass("messenger-retry-soon"),this.$message.addClass("messenger-retry-later")),(r=function(){var a;return n.text(o.renderPhrase(t,i)),i>0?(a=Math.min(i,1),i-=a,o._timers[e]=setTimeout(r,1e3*a)):(o.$message.removeClass("messenger-retry-soon messenger-retry-later"),delete o._timers[e],t.action())})()},t}(o),s=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return h(n,t),n.prototype.tagName="ul",n.prototype.className="messenger",n.prototype.messageDefaults={type:"info"},n.prototype.initialize=function(t){return this.options=null!=t?t:{},this.history=[],this.messageDefaults=e.extend({},this.messageDefaults,this.options.messageDefaults)},n.prototype.render=function(){return this.updateMessageSlotClasses()},n.prototype.findById=function(e){return a.filter(this.history,function(t){return t.msg.options.id===e})},n.prototype._reserveMessageSlot=function(t){var n,i,r=this;for(n=e("<li>"),n.addClass("messenger-message-slot"),this.$el.prepend(n),this.history.push({msg:t,$slot:n}),this._enforceIdConstraint(t),t.on("update",function(){return r._enforceIdConstraint(t)});this.options.maxMessages&&this.history.length>this.options.maxMessages;)i=this.history.shift(),i.msg.remove(),i.$slot.remove();return n},n.prototype._enforceIdConstraint=function(e){var t,n,i,r,a;if(null!=e.options.id)for(a=this.history,n=0,i=a.length;i>n;n++)if(t=a[n],r=t.msg,null!=r.options.id&&r.options.id===e.options.id&&e!==r){if(e.options.singleton)return void e.hide();r.hide()}},n.prototype.newMessage=function(e){var t,n,i,a,s=this;return null==e&&(e={}),e.messenger=this,o=null!=(n=null!=(i=Messenger.themes[null!=(a=e.theme)?a:this.options.theme])?i.Message:void 0)?n:r,t=new o(e),t.on("show",function(){return e.scrollTo&&"fixed"!==s.$el.css("position")?t.scrollTo():void 0}),t.on("hide show render",this.updateMessageSlotClasses,this),t},n.prototype.updateMessageSlotClasses=function(){var e,t,n,i,r,a,o;for(i=!0,t=null,e=!1,o=this.history,r=0,a=o.length;a>r;r++)n=o[r],n.$slot.removeClass("messenger-first messenger-last messenger-shown"),n.msg.shown&&n.msg.rendered&&(n.$slot.addClass("messenger-shown"),e=!0,t=n,i&&(i=!1,n.$slot.addClass("messenger-first")));return null!=t&&t.$slot.addClass("messenger-last"),this.$el[""+(e?"remove":"add")+"Class"]("messenger-empty")},n.prototype.hideAll=function(){var e,t,n,i,r;for(i=this.history,r=[],t=0,n=i.length;n>t;t++)e=i[t],r.push(e.msg.hide());return r},n.prototype.post=function(t){var n;return a.isString(t)&&(t={message:t}),t=e.extend(!0,{},this.messageDefaults,t),n=this.newMessage(t),n.update(t),n},n}(n),t=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return h(n,t),n.prototype.doDefaults={progressMessage:null,successMessage:null,errorMessage:"Error connecting to the server.",showSuccessWithoutError:!0,retry:{auto:!0,allow:!0},action:e.ajax},n.prototype.hookBackboneAjax=function(t){var n,i=this;if(null==t&&(t={}),null==window.Backbone)throw"Expected Backbone to be defined";return t=a.defaults(t,{id:"BACKBONE_ACTION",errorMessage:!1,successMessage:"Request completed successfully.",showSuccessWithoutError:!1}),n=function(e){var n;return n=a.extend({},t,e.messenger),i["do"](n,e)},null!=Backbone.ajax?(Backbone.ajax._withoutMessenger&&(Backbone.ajax=Backbone.ajax._withoutMessenger),(null==t.action||t.action===this.doDefaults.action)&&(t.action=Backbone.ajax),n._withoutMessenger=Backbone.ajax,Backbone.ajax=n):Backbone.sync=a.wrap(Backbone.sync,function(){var t,i,r;return r=arguments[0],t=arguments.length>=2?f.call(arguments,1):[],i=e.ajax,e.ajax=n,r.call.apply(r,[this].concat(f.call(t))),e.ajax=i})},n.prototype._getHandlerResponse=function(e){return e!==!1&&(e===!0||null==e||e)},n.prototype._parseEvents=function(e){var t,n,i,r,a,o,s;null==e&&(e={}),a={};for(r in e)i=e[r],n=r.indexOf(" "),o=r.substring(0,n),t=r.substring(n+1),null==(s=a[o])&&(a[o]={}),a[o][t]=i;return a},n.prototype._normalizeResponse=function(){var e,t,n,i,r,o,s;for(n=arguments.length>=1?f.call(arguments,0):[],i=null,r=null,e=null,o=0,s=n.length;s>o;o++)t=n[o],"success"===t||"timeout"===t||"abort"===t?i=t:null!=(null!=t?t.readyState:void 0)&&null!=(null!=t?t.responseText:void 0)?r=t:a.isObject(t)&&(e=t);return[i,e,r]},n.prototype.run=function(){var t,n,i,r,o,s,l,u,d,c,h,m=this;if(s=arguments[0],d=arguments[1],t=arguments.length>=3?f.call(arguments,2):[],null==d&&(d={}),s=e.extend(!0,{},this.messageDefaults,this.doDefaults,null!=s?s:{}),n=this._parseEvents(s.events),i=function(e,t){var n;return n=s[e+"Message"],a.isFunction(n)?n.call(m,e,t):n},l=null!=(h=s.messageInstance)?h:this.newMessage(s),null!=s.id&&(l.options.id=s.id),null!=s.progressMessage&&l.update(e.extend({},s,{message:i("progress",null),type:"info"})),o={},a.each(["error","success"],function(r){var u;return u=d[r],o[r]=function(){var o,c,h,_,g,y,v,b,M,w,x,k,L,D,T;return y=arguments.length>=1?f.call(arguments,0):[],M=m._normalizeResponse.apply(m,y),g=M[0],o=M[1],b=M[2],"success"===r&&null==l.errorCount&&s.showSuccessWithoutError===!1&&(s.successMessage=null),"error"===r&&(null==(w=s.errorCount)&&(s.errorCount=0),s.errorCount+=1),h=s.returnsPromise?y[0]:"function"==typeof u?u.apply(null,y):void 0,v=m._getHandlerResponse(h),a.isString(v)&&(v={message:v}),"error"!==r||0!==(null!=b?b.status:void 0)&&"abort"!==g?"error"===r&&null!=s.ignoredErrorCodes&&(x=null!=b?b.status:void 0,p.call(s.ignoredErrorCodes,x)>=0)?void l.hide():(c={message:i(r,b),type:r,events:null!=(k=n[r])?k:{},hideOnNavigate:"success"===r},_=e.extend({},s,c,v),"number"==typeof(null!=(L=_.retry)?L.allow:void 0)&&_.retry.allow--,"error"===r&&(null!=b?b.status:void 0)>=500&&(null!=(D=_.retry)?D.allow:void 0)?(null==_.retry.delay&&(_.retry.delay=4>_.errorCount?10:300),_.hideAfter&&(null==(T=_._hideAfter)&&(_._hideAfter=_.hideAfter),_.hideAfter=_._hideAfter+_.retry.delay),_._retryActions=!0,_.actions={retry:{label:"retry now",phrase:"Retrying TIME",auto:_.retry.auto,delay:_.retry.delay,action:function(){return _.messageInstance=l,setTimeout(function(){return m["do"].apply(m,[_,d].concat(f.call(t)))},0)}},cancel:{action:function(){return l.cancel()}}}):_._retryActions&&(delete _.actions.retry,delete _.actions.cancel,delete s._retryActions),l.update(_),v&&_.message?(Messenger(a.extend({},m.options,{instance:m})),l.show()):l.hide()):void l.hide()}}),!s.returnsPromise)for(c in o)r=o[c],u=d[c],d[c]=r;return l._actionInstance=s.action.apply(s,[d].concat(f.call(t))),s.returnsPromise&&l._actionInstance.then(o.success,o.error),l},n.prototype["do"]=n.prototype.run,n.prototype.ajax=function(){var t,n;return n=arguments[0],t=arguments.length>=2?f.call(arguments,1):[],n.action=e.ajax,this.run.apply(this,[n].concat(f.call(t)))},n.prototype.expectPromise=function(e,t){return t=a.extend({},t,{action:e,returnsPromise:!0}),this.run(t)},n.prototype.error=function(e){return null==e&&(e={}),"string"==typeof e&&(e={message:e}),e.type="error",this.post(e)},n.prototype.info=function(e){return null==e&&(e={}),"string"==typeof e&&(e={message:e}),e.type="info",this.post(e)},n.prototype.success=function(e){return null==e&&(e={}),"string"==typeof e&&(e={message:e}),e.type="success",this.post(e)},n}(s),e.fn.messenger=function(){var n,i,r,o,l,u,d,c;return r=arguments[0],i=arguments.length>=2?f.call(arguments,1):[],null==r&&(r={}),n=this,null!=r&&a.isString(r)?(c=n.data("messenger"))[r].apply(c,i):(l=r,null==n.data("messenger")&&(s=null!=(u=null!=(d=Messenger.themes[l.theme])?d.Messenger:void 0)?u:t,n.data("messenger",o=new s(e.extend({el:n},l))),o.render()),n.data("messenger"))},window.Messenger._call=function(t){var n,i,r,a,o,s,l,u,d,c,h;if(s={extraClasses:"messenger-fixed messenger-on-bottom messenger-on-right",theme:"future",maxMessages:9,parentLocations:["body"]},t=e.extend(s,e._messengerDefaults,Messenger.options,t),null!=t.theme&&(t.extraClasses+=" messenger-theme-"+t.theme),l=t.instance||Messenger.instance,null==t.instance){for(d=t.parentLocations,i=null,r=null,c=0,h=d.length;h>c;c++)if(u=d[c],i=e(u),i.length){a=u;break}l?e(l._location).is(e(a))||(l.$el.detach(),i.prepend(l.$el)):(n=e("<ul>"),i.prepend(n),l=n.messenger(t),l._location=a,Messenger.instance=l)}return null!=l._addedClasses&&l.$el.removeClass(l._addedClasses),l.$el.addClass(o=""+l.className+" "+t.extraClasses),
l._addedClasses=o,l},e.extend(Messenger,{Message:r,Messenger:t,themes:null!=(d=Messenger.themes)?d:{}}),e.globalMessenger=window.Messenger=Messenger}.call(this),!function(e){"use strict";"function"==typeof define&&define.amd?define(e):"undefined"!=typeof module&&"undefined"!=typeof module.exports?module.exports=e():"undefined"!=typeof Package?Sortable=e():window.Sortable=e()}(function(){"use strict";function e(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be HTMLElement, and not "+{}.toString.call(e);this.el=e,this.options=t=g({},t),e[O]=this;var n={group:Math.random(),sort:!0,disabled:!1,store:null,handle:null,scroll:!0,scrollSensitivity:30,scrollSpeed:10,draggable:/[uo]l/i.test(e.nodeName)?"li":">*",ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",ignore:"a, img",filter:null,animation:0,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1};for(var i in n)!(i in t)&&(t[i]=n[i]);U(t);for(var a in this)"_"===a.charAt(0)&&(this[a]=this[a].bind(this));this.nativeDraggable=!t.forceFallback&&N,r(e,"mousedown",this._onTapStart),r(e,"touchstart",this._onTapStart),this.nativeDraggable&&(r(e,"dragover",this),r(e,"dragenter",this)),V.push(this._onDragOver),t.store&&this.sort(t.store.get(this))}function t(e){M&&M.state!==e&&(s(M,"display",e?"none":""),!e&&M.state&&w.insertBefore(M,y),M.state=e)}function n(e,t,n){if(e){n=n||F,t=t.split(".");var i=t.shift().toUpperCase(),r=new RegExp("\\s("+t.join("|")+")(?=\\s)","g");do if(">*"===i&&e.parentNode===n||(""===i||e.nodeName.toUpperCase()==i)&&(!t.length||((" "+e.className+" ").match(r)||[]).length==t.length))return e;while(e!==n&&(e=e.parentNode))}return null}function i(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.preventDefault()}function r(e,t,n){e.addEventListener(t,n,!1)}function a(e,t,n){e.removeEventListener(t,n,!1)}function o(e,t,n){if(e)if(e.classList)e.classList[n?"add":"remove"](t);else{var i=(" "+e.className+" ").replace(I," ").replace(" "+t+" "," ");e.className=(i+(n?" "+t:"")).replace(I," ")}}function s(e,t,n){var i=e&&e.style;if(i){if(void 0===n)return F.defaultView&&F.defaultView.getComputedStyle?n=F.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in i||(t="-webkit-"+t),i[t]=n+("string"==typeof n?"":"px")}}function l(e,t,n){if(e){var i=e.getElementsByTagName(t),r=0,a=i.length;if(n)for(;a>r;r++)n(i[r],r);return i}return[]}function u(e,t,n,i,r,a,o){var s=F.createEvent("Event"),l=(e||t[O]).options,u="on"+n.charAt(0).toUpperCase()+n.substr(1);s.initEvent(n,!0,!0),s.to=t,s.from=r||t,s.item=i||t,s.clone=M,s.oldIndex=a,s.newIndex=o,t.dispatchEvent(s),l[u]&&l[u].call(e,s)}function d(e,t,n,i,r,a){var o,s,l=e[O],u=l.options.onMove;return o=F.createEvent("Event"),o.initEvent("move",!0,!0),o.to=t,o.from=e,o.dragged=n,o.draggedRect=i,o.related=r||t,o.relatedRect=a||t.getBoundingClientRect(),e.dispatchEvent(o),u&&(s=u.call(l,o)),s}function c(e){e.draggable=!1}function h(){B=!1}function f(e,t){var n=e.lastElementChild,i=n.getBoundingClientRect();return(t.clientY-(i.top+i.height)>5||t.clientX-(i.right+i.width)>5)&&n}function p(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,i=0;n--;)i+=t.charCodeAt(n);return i.toString(36)}function m(e){var t=0;if(!e||!e.parentNode)return-1;for(;e&&(e=e.previousElementSibling);)"TEMPLATE"!==e.nodeName.toUpperCase()&&t++;return t}function _(e,t){var n,i;return function(){void 0===n&&(n=arguments,i=this,setTimeout(function(){1===n.length?e.call(i,n[0]):e.apply(i,n),n=void 0},t))}}function g(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}var y,v,b,M,w,x,k,L,D,T,Y,S,C,H,j,A,P,E={},I=/\s+/g,O="Sortable"+(new Date).getTime(),W=window,F=W.document,R=W.parseInt,N=!!("draggable"in F.createElement("div")),z=function(e){return e=F.createElement("x"),e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}(),B=!1,$=Math.abs,V=([].slice,[]),q=_(function(e,t,n){if(n&&t.scroll){var i,r,a,o,s=t.scrollSensitivity,l=t.scrollSpeed,u=e.clientX,d=e.clientY,c=window.innerWidth,h=window.innerHeight;if(L!==n&&(k=t.scroll,L=n,k===!0)){k=n;do if(k.offsetWidth<k.scrollWidth||k.offsetHeight<k.scrollHeight)break;while(k=k.parentNode)}k&&(i=k,r=k.getBoundingClientRect(),a=($(r.right-u)<=s)-($(r.left-u)<=s),o=($(r.bottom-d)<=s)-($(r.top-d)<=s)),a||o||(a=(s>=c-u)-(s>=u),o=(s>=h-d)-(s>=d),(a||o)&&(i=W)),(E.vx!==a||E.vy!==o||E.el!==i)&&(E.el=i,E.vx=a,E.vy=o,clearInterval(E.pid),i&&(E.pid=setInterval(function(){i===W?W.scrollTo(W.pageXOffset+a*l,W.pageYOffset+o*l):(o&&(i.scrollTop+=o*l),a&&(i.scrollLeft+=a*l))},24)))}},30),U=function(e){var t=e.group;t&&"object"==typeof t||(t=e.group={name:t}),["pull","put"].forEach(function(e){e in t||(t[e]=!0)}),e.groups=" "+t.name+(t.put.join?" "+t.put.join(" "):"")+" "};return e.prototype={constructor:e,_onTapStart:function(e){var t=this,i=this.el,r=this.options,a=e.type,o=e.touches&&e.touches[0],s=(o||e).target,l=s,d=r.filter;if(!("mousedown"===a&&0!==e.button||r.disabled)&&(s=n(s,r.draggable,i))){if(S=m(s),"function"==typeof d){if(d.call(this,e,s,this))return u(t,l,"filter",s,i,S),void e.preventDefault()}else if(d&&(d=d.split(",").some(function(e){return e=n(l,e.trim(),i),e?(u(t,e,"filter",s,i,S),!0):void 0})))return void e.preventDefault();(!r.handle||n(l,r.handle,i))&&this._prepareDragStart(e,o,s)}},_prepareDragStart:function(e,t,n){var i,a=this,s=a.el,u=a.options,d=s.ownerDocument;n&&!y&&n.parentNode===s&&(j=e,w=s,y=n,v=y.parentNode,x=y.nextSibling,H=u.group,i=function(){a._disableDelayedDrag(),y.draggable=!0,o(y,a.options.chosenClass,!0),a._triggerDragStart(t)},u.ignore.split(",").forEach(function(e){l(y,e.trim(),c)}),r(d,"mouseup",a._onDrop),r(d,"touchend",a._onDrop),r(d,"touchcancel",a._onDrop),u.delay?(r(d,"mouseup",a._disableDelayedDrag),r(d,"touchend",a._disableDelayedDrag),r(d,"touchcancel",a._disableDelayedDrag),r(d,"mousemove",a._disableDelayedDrag),r(d,"touchmove",a._disableDelayedDrag),a._dragStartTimer=setTimeout(i,u.delay)):i())},_disableDelayedDrag:function(){var e=this.el.ownerDocument;clearTimeout(this._dragStartTimer),a(e,"mouseup",this._disableDelayedDrag),a(e,"touchend",this._disableDelayedDrag),a(e,"touchcancel",this._disableDelayedDrag),a(e,"mousemove",this._disableDelayedDrag),a(e,"touchmove",this._disableDelayedDrag)},_triggerDragStart:function(e){e?(j={target:y,clientX:e.clientX,clientY:e.clientY},this._onDragStart(j,"touch")):this.nativeDraggable?(r(y,"dragend",this),r(w,"dragstart",this._onDragStart)):this._onDragStart(j,!0);try{F.selection?F.selection.empty():window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(){w&&y&&(o(y,this.options.ghostClass,!0),e.active=this,u(this,w,"start",y,w,S))},_emulateDragOver:function(){if(A){if(this._lastX===A.clientX&&this._lastY===A.clientY)return;this._lastX=A.clientX,this._lastY=A.clientY,z||s(b,"display","none");var e=F.elementFromPoint(A.clientX,A.clientY),t=e,n=" "+this.options.group.name,i=V.length;if(t)do{if(t[O]&&t[O].options.groups.indexOf(n)>-1){for(;i--;)V[i]({clientX:A.clientX,clientY:A.clientY,target:e,rootEl:t});break}e=t}while(t=t.parentNode);z||s(b,"display","")}},_onTouchMove:function(t){if(j){e.active||this._dragStarted(),this._appendGhost();var n=t.touches?t.touches[0]:t,i=n.clientX-j.clientX,r=n.clientY-j.clientY,a=t.touches?"translate3d("+i+"px,"+r+"px,0)":"translate("+i+"px,"+r+"px)";P=!0,A=n,s(b,"webkitTransform",a),s(b,"mozTransform",a),s(b,"msTransform",a),s(b,"transform",a),t.preventDefault()}},_appendGhost:function(){if(!b){var e,t=y.getBoundingClientRect(),n=s(y),i=this.options;b=y.cloneNode(!0),o(b,i.ghostClass,!1),o(b,i.fallbackClass,!0),s(b,"top",t.top-R(n.marginTop,10)),s(b,"left",t.left-R(n.marginLeft,10)),s(b,"width",t.width),s(b,"height",t.height),s(b,"opacity","0.8"),s(b,"position","fixed"),s(b,"zIndex","100000"),s(b,"pointerEvents","none"),i.fallbackOnBody&&F.body.appendChild(b)||w.appendChild(b),e=b.getBoundingClientRect(),s(b,"width",2*t.width-e.width),s(b,"height",2*t.height-e.height)}},_onDragStart:function(e,t){var n=e.dataTransfer,i=this.options;this._offUpEvents(),"clone"==H.pull&&(M=y.cloneNode(!0),s(M,"display","none"),w.insertBefore(M,y)),t?("touch"===t?(r(F,"touchmove",this._onTouchMove),r(F,"touchend",this._onDrop),r(F,"touchcancel",this._onDrop)):(r(F,"mousemove",this._onTouchMove),r(F,"mouseup",this._onDrop)),this._loopId=setInterval(this._emulateDragOver,50)):(n&&(n.effectAllowed="move",i.setData&&i.setData.call(this,n,y)),r(F,"drop",this),setTimeout(this._dragStarted,0))},_onDragOver:function(e){var i,r,a,o=this.el,l=this.options,u=l.group,c=u.put,p=H===u,m=l.sort;if(void 0!==e.preventDefault&&(e.preventDefault(),!l.dragoverBubble&&e.stopPropagation()),P=!0,H&&!l.disabled&&(p?m||(a=!w.contains(y)):H.pull&&c&&(H.name===u.name||c.indexOf&&~c.indexOf(H.name)))&&(void 0===e.rootEl||e.rootEl===this.el)){if(q(e,l,this.el),B)return;if(i=n(e.target,l.draggable,o),r=y.getBoundingClientRect(),a)return t(!0),void(M||x?w.insertBefore(y,M||x):m||w.appendChild(y));if(0===o.children.length||o.children[0]===b||o===e.target&&(i=f(o,e))){if(i){if(i.animated)return;g=i.getBoundingClientRect()}t(p),d(w,o,y,r,i,g)!==!1&&(y.contains(o)||(o.appendChild(y),v=o),this._animate(r,y),i&&this._animate(g,i))}else if(i&&!i.animated&&i!==y&&void 0!==i.parentNode[O]){D!==i&&(D=i,T=s(i),Y=s(i.parentNode));var _,g=i.getBoundingClientRect(),k=g.right-g.left,L=g.bottom-g.top,S=/left|right|inline/.test(T.cssFloat+T.display)||"flex"==Y.display&&0===Y["flex-direction"].indexOf("row"),C=i.offsetWidth>y.offsetWidth,j=i.offsetHeight>y.offsetHeight,A=(S?(e.clientX-g.left)/k:(e.clientY-g.top)/L)>.5,E=i.nextElementSibling,I=d(w,o,y,r,i,g);if(I!==!1){if(B=!0,setTimeout(h,30),t(p),1===I||-1===I)_=1===I;else if(S){var W=y.offsetTop,F=i.offsetTop;_=W===F?i.previousElementSibling===y&&!C||A&&C:F>W}else _=E!==y&&!j||A&&j;y.contains(o)||(_&&!E?o.appendChild(y):i.parentNode.insertBefore(y,_?E:i)),v=y.parentNode,this._animate(r,y),this._animate(g,i)}}}},_animate:function(e,t){var n=this.options.animation;if(n){var i=t.getBoundingClientRect();s(t,"transition","none"),s(t,"transform","translate3d("+(e.left-i.left)+"px,"+(e.top-i.top)+"px,0)"),t.offsetWidth,s(t,"transition","all "+n+"ms"),s(t,"transform","translate3d(0,0,0)"),clearTimeout(t.animated),t.animated=setTimeout(function(){s(t,"transition",""),s(t,"transform",""),t.animated=!1},n)}},_offUpEvents:function(){var e=this.el.ownerDocument;a(F,"touchmove",this._onTouchMove),a(e,"mouseup",this._onDrop),a(e,"touchend",this._onDrop),a(e,"touchcancel",this._onDrop)},_onDrop:function(t){var n=this.el,i=this.options;clearInterval(this._loopId),clearInterval(E.pid),clearTimeout(this._dragStartTimer),a(F,"mousemove",this._onTouchMove),this.nativeDraggable&&(a(F,"drop",this),a(n,"dragstart",this._onDragStart)),this._offUpEvents(),t&&(P&&(t.preventDefault(),!i.dropBubble&&t.stopPropagation()),b&&b.parentNode.removeChild(b),y&&(this.nativeDraggable&&a(y,"dragend",this),c(y),o(y,this.options.ghostClass,!1),o(y,this.options.chosenClass,!1),w!==v?(C=m(y),C>=0&&(u(null,v,"sort",y,w,S,C),u(this,w,"sort",y,w,S,C),u(null,v,"add",y,w,S,C),u(this,w,"remove",y,w,S,C))):(M&&M.parentNode.removeChild(M),y.nextSibling!==x&&(C=m(y),C>=0&&(u(this,w,"update",y,w,S,C),u(this,w,"sort",y,w,S,C)))),e.active&&((null===C||-1===C)&&(C=S),u(this,w,"end",y,w,S,C),this.save())),w=y=v=b=x=M=k=L=j=A=P=C=D=T=H=e.active=null)},handleEvent:function(e){var t=e.type;"dragover"===t||"dragenter"===t?y&&(this._onDragOver(e),i(e)):("drop"===t||"dragend"===t)&&this._onDrop(e)},toArray:function(){for(var e,t=[],i=this.el.children,r=0,a=i.length,o=this.options;a>r;r++)e=i[r],n(e,o.draggable,this.el)&&t.push(e.getAttribute(o.dataIdAttr)||p(e));return t},sort:function(e){var t={},i=this.el;this.toArray().forEach(function(e,r){var a=i.children[r];n(a,this.options.draggable,i)&&(t[e]=a)},this),e.forEach(function(e){t[e]&&(i.removeChild(t[e]),i.appendChild(t[e]))})},save:function(){var e=this.options.store;e&&e.set(this)},closest:function(e,t){return n(e,t||this.options.draggable,this.el)},option:function(e,t){var n=this.options;return void 0===t?n[e]:(n[e]=t,void("group"===e&&U(n)))},destroy:function(){var e=this.el;e[O]=null,a(e,"mousedown",this._onTapStart),a(e,"touchstart",this._onTapStart),this.nativeDraggable&&(a(e,"dragover",this),a(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(e){e.removeAttribute("draggable")}),V.splice(V.indexOf(this._onDragOver),1),this._onDrop(),this.el=e=null}},e.utils={on:r,off:a,css:s,find:l,is:function(e,t){return!!n(e,t,e)},extend:g,throttle:_,closest:n,toggleClass:o,index:m},e.create=function(t,n){return new e(t,n)},e.version="1.4.2",e}),!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){function t(t,n){var i=e('<div class="minicolors" />'),r=e.minicolors.defaults;t.data("minicolors-initialized")||(n=e.extend(!0,{},r,n),i.addClass("minicolors-theme-"+n.theme).toggleClass("minicolors-with-opacity",n.opacity).toggleClass("minicolors-no-data-uris",n.dataUris!==!0),void 0!==n.position&&e.each(n.position.split(" "),function(){i.addClass("minicolors-position-"+this)}),t.addClass("minicolors-input").data("minicolors-initialized",!1).data("minicolors-settings",n).prop("size",7).wrap(i).after('<div class="minicolors-panel minicolors-slider-'+n.control+'"><div class="minicolors-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-opacity-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-grid minicolors-sprite"><div class="minicolors-grid-inner"></div><div class="minicolors-picker"><div></div></div></div></div>'),n.inline||(t.after('<span class="minicolors-swatch minicolors-sprite"><span class="minicolors-swatch-color"></span></span>'),t.next(".minicolors-swatch").on("click",function(e){e.preventDefault(),t.focus()})),t.parent().find(".minicolors-panel").on("selectstart",function(){return!1}).end(),n.inline&&t.parent().addClass("minicolors-inline"),s(t,!1),t.data("minicolors-initialized",!0))}function n(e){var t=e.parent();e.removeData("minicolors-initialized").removeData("minicolors-settings").removeProp("size").removeClass("minicolors-input"),t.before(e).remove()}function i(e){var t=e.parent(),n=t.find(".minicolors-panel"),i=e.data("minicolors-settings");!e.data("minicolors-initialized")||e.prop("disabled")||t.hasClass("minicolors-inline")||t.hasClass("minicolors-focus")||(r(),t.addClass("minicolors-focus"),n.stop(!0,!0).fadeIn(i.showSpeed,function(){i.show&&i.show.call(e.get(0))}))}function r(){e(".minicolors-focus").each(function(){var t=e(this),n=t.find(".minicolors-input"),i=t.find(".minicolors-panel"),r=n.data("minicolors-settings");i.fadeOut(r.hideSpeed,function(){r.hide&&r.hide.call(n.get(0)),t.removeClass("minicolors-focus")})})}function a(e,t,n){var i,r,a,s,l=e.parents(".minicolors").find(".minicolors-input"),u=l.data("minicolors-settings"),d=e.find("[class$=-picker]"),c=e.offset().left,h=e.offset().top,f=Math.round(t.pageX-c),p=Math.round(t.pageY-h),m=n?u.animationSpeed:0;t.originalEvent.changedTouches&&(f=t.originalEvent.changedTouches[0].pageX-c,p=t.originalEvent.changedTouches[0].pageY-h),0>f&&(f=0),0>p&&(p=0),f>e.width()&&(f=e.width()),p>e.height()&&(p=e.height()),e.parent().is(".minicolors-slider-wheel")&&d.parent().is(".minicolors-grid")&&(i=75-f,r=75-p,a=Math.sqrt(i*i+r*r),s=Math.atan2(r,i),0>s&&(s+=2*Math.PI),a>75&&(a=75,f=75-75*Math.cos(s),p=75-75*Math.sin(s)),f=Math.round(f),p=Math.round(p)),e.is(".minicolors-grid")?d.stop(!0).animate({top:p+"px",left:f+"px"},m,u.animationEasing,function(){o(l,e)}):d.stop(!0).animate({top:p+"px"},m,u.animationEasing,function(){o(l,e)})}function o(e,t){function n(e,t){var n,i;return e.length&&t?(n=e.offset().left,i=e.offset().top,{x:n-t.offset().left+e.outerWidth()/2,y:i-t.offset().top+e.outerHeight()/2}):null}var i,r,a,o,s,u,d,h=e.val(),p=e.attr("data-opacity"),m=e.parent(),g=e.data("minicolors-settings"),y=m.find(".minicolors-swatch"),v=m.find(".minicolors-grid"),b=m.find(".minicolors-slider"),M=m.find(".minicolors-opacity-slider"),w=v.find("[class$=-picker]"),x=b.find("[class$=-picker]"),k=M.find("[class$=-picker]"),L=n(w,v),D=n(x,b),T=n(k,M);if(t.is(".minicolors-grid, .minicolors-slider")){switch(g.control){case"wheel":o=v.width()/2-L.x,s=v.height()/2-L.y,u=Math.sqrt(o*o+s*s),d=Math.atan2(s,o),0>d&&(d+=2*Math.PI),u>75&&(u=75,L.x=69-75*Math.cos(d),L.y=69-75*Math.sin(d)),r=f(u/.75,0,100),i=f(180*d/Math.PI,0,360),a=f(100-Math.floor(D.y*(100/b.height())),0,100),h=_({h:i,s:r,b:a}),b.css("backgroundColor",_({h:i,s:r,b:100}));break;case"saturation":i=f(parseInt(L.x*(360/v.width()),10),0,360),r=f(100-Math.floor(D.y*(100/b.height())),0,100),a=f(100-Math.floor(L.y*(100/v.height())),0,100),h=_({h:i,s:r,b:a}),b.css("backgroundColor",_({h:i,s:100,b:a})),m.find(".minicolors-grid-inner").css("opacity",r/100);break;case"brightness":i=f(parseInt(L.x*(360/v.width()),10),0,360),r=f(100-Math.floor(L.y*(100/v.height())),0,100),a=f(100-Math.floor(D.y*(100/b.height())),0,100),h=_({h:i,s:r,b:a}),b.css("backgroundColor",_({h:i,s:r,b:100})),m.find(".minicolors-grid-inner").css("opacity",1-a/100);break;default:i=f(360-parseInt(D.y*(360/b.height()),10),0,360),r=f(Math.floor(L.x*(100/v.width())),0,100),a=f(100-Math.floor(L.y*(100/v.height())),0,100),h=_({h:i,s:r,b:a}),v.css("backgroundColor",_({h:i,s:100,b:100}))}e.val(c(h,g.letterCase))}t.is(".minicolors-opacity-slider")&&(p=g.opacity?parseFloat(1-T.y/M.height()).toFixed(2):1,g.opacity&&e.attr("data-opacity",p)),y.find("SPAN").css({backgroundColor:h,opacity:p}),l(e,h,p)}function s(e,t){var n,i,r,a,o,s,u,d=e.parent(),p=e.data("minicolors-settings"),m=d.find(".minicolors-swatch"),y=d.find(".minicolors-grid"),v=d.find(".minicolors-slider"),b=d.find(".minicolors-opacity-slider"),M=y.find("[class$=-picker]"),w=v.find("[class$=-picker]"),x=b.find("[class$=-picker]");switch(n=c(h(e.val(),!0),p.letterCase),n||(n=c(h(p.defaultValue,!0),p.letterCase)),i=g(n),t||e.val(n),p.opacity&&(r=""===e.attr("data-opacity")?1:f(parseFloat(e.attr("data-opacity")).toFixed(2),0,1),isNaN(r)&&(r=1),e.attr("data-opacity",r),m.find("SPAN").css("opacity",r),o=f(b.height()-b.height()*r,0,b.height()),x.css("top",o+"px")),m.find("SPAN").css("backgroundColor",n),p.control){case"wheel":s=f(Math.ceil(.75*i.s),0,y.height()/2),u=i.h*Math.PI/180,a=f(75-Math.cos(u)*s,0,y.width()),o=f(75-Math.sin(u)*s,0,y.height()),M.css({top:o+"px",left:a+"px"}),o=150-i.b/(100/y.height()),""===n&&(o=0),w.css("top",o+"px"),v.css("backgroundColor",_({h:i.h,s:i.s,b:100}));break;case"saturation":a=f(5*i.h/12,0,150),o=f(y.height()-Math.ceil(i.b/(100/y.height())),0,y.height()),M.css({top:o+"px",left:a+"px"}),o=f(v.height()-i.s*(v.height()/100),0,v.height()),w.css("top",o+"px"),v.css("backgroundColor",_({h:i.h,s:100,b:i.b})),d.find(".minicolors-grid-inner").css("opacity",i.s/100);break;case"brightness":a=f(5*i.h/12,0,150),o=f(y.height()-Math.ceil(i.s/(100/y.height())),0,y.height()),M.css({top:o+"px",left:a+"px"}),o=f(v.height()-i.b*(v.height()/100),0,v.height()),w.css("top",o+"px"),v.css("backgroundColor",_({h:i.h,s:i.s,b:100})),d.find(".minicolors-grid-inner").css("opacity",1-i.b/100);break;default:a=f(Math.ceil(i.s/(100/y.width())),0,y.width()),o=f(y.height()-Math.ceil(i.b/(100/y.height())),0,y.height()),M.css({top:o+"px",left:a+"px"}),o=f(v.height()-i.h/(360/v.height()),0,v.height()),w.css("top",o+"px"),y.css("backgroundColor",_({h:i.h,s:100,b:100}))}e.data("minicolors-initialized")&&l(e,n,r)}function l(e,t,n){var i=e.data("minicolors-settings"),r=e.data("minicolors-lastChange");r&&r.hex===t&&r.opacity===n||(e.data("minicolors-lastChange",{hex:t,opacity:n}),i.change&&(i.changeDelay?(clearTimeout(e.data("minicolors-changeTimeout")),e.data("minicolors-changeTimeout",setTimeout(function(){i.change.call(e.get(0),t,n)},i.changeDelay))):i.change.call(e.get(0),t,n)),e.trigger("change").trigger("input"))}function u(t){var n=h(e(t).val(),!0),i=v(n),r=e(t).attr("data-opacity");return i?(void 0!==r&&e.extend(i,{a:parseFloat(r)}),i):null}function d(t,n){var i=h(e(t).val(),!0),r=v(i),a=e(t).attr("data-opacity");return r?(void 0===a&&(a=1),n?"rgba("+r.r+", "+r.g+", "+r.b+", "+parseFloat(a)+")":"rgb("+r.r+", "+r.g+", "+r.b+")"):null}function c(e,t){return"uppercase"===t?e.toUpperCase():e.toLowerCase()}function h(e,t){return e=e.replace(/[^A-F0-9]/gi,""),3!==e.length&&6!==e.length?"":(3===e.length&&t&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),"#"+e)}function f(e,t,n){return t>e&&(e=t),e>n&&(e=n),e}function p(e){var t={},n=Math.round(e.h),i=Math.round(255*e.s/100),r=Math.round(255*e.b/100);if(0===i)t.r=t.g=t.b=r;else{var a=r,o=(255-i)*r/255,s=(a-o)*(n%60)/60;360===n&&(n=0),60>n?(t.r=a,t.b=o,t.g=o+s):120>n?(t.g=a,t.b=o,t.r=a-s):180>n?(t.g=a,t.r=o,t.b=o+s):240>n?(t.b=a,t.r=o,t.g=a-s):300>n?(t.b=a,t.g=o,t.r=o+s):360>n?(t.r=a,t.g=o,t.b=a-s):(t.r=0,t.g=0,t.b=0)}return{r:Math.round(t.r),g:Math.round(t.g),b:Math.round(t.b)}}function m(t){var n=[t.r.toString(16),t.g.toString(16),t.b.toString(16)];return e.each(n,function(e,t){1===t.length&&(n[e]="0"+t)}),"#"+n.join("")}function _(e){return m(p(e))}function g(e){var t=y(v(e));return 0===t.s&&(t.h=360),t}function y(e){var t={h:0,s:0,b:0},n=Math.min(e.r,e.g,e.b),i=Math.max(e.r,e.g,e.b),r=i-n;return t.b=i,t.s=0!==i?255*r/i:0,t.h=0!==t.s?e.r===i?(e.g-e.b)/r:e.g===i?2+(e.b-e.r)/r:4+(e.r-e.g)/r:-1,t.h*=60,t.h<0&&(t.h+=360),t.s*=100/255,t.b*=100/255,t}function v(e){return e=parseInt(e.indexOf("#")>-1?e.substring(1):e,16),{r:e>>16,g:(65280&e)>>8,b:255&e}}e.minicolors={defaults:{animationSpeed:50,animationEasing:"swing",change:null,changeDelay:0,control:"hue",dataUris:!0,defaultValue:"",hide:null,hideSpeed:100,inline:!1,letterCase:"lowercase",opacity:!1,position:"bottom left",show:null,showSpeed:100,theme:"default"}},e.extend(e.fn,{minicolors:function(a,o){switch(a){case"destroy":return e(this).each(function(){n(e(this))}),e(this);case"hide":return r(),e(this);case"opacity":return void 0===o?e(this).attr("data-opacity"):(e(this).each(function(){s(e(this).attr("data-opacity",o))}),e(this));case"rgbObject":return u(e(this),"rgbaObject"===a);case"rgbString":case"rgbaString":return d(e(this),"rgbaString"===a);case"settings":return void 0===o?e(this).data("minicolors-settings"):(e(this).each(function(){var t=e(this).data("minicolors-settings")||{};n(e(this)),e(this).minicolors(e.extend(!0,t,o))}),e(this));case"show":return i(e(this).eq(0)),e(this);case"value":return void 0===o?e(this).val():(e(this).each(function(){s(e(this).val(o))}),e(this));default:return"create"!==a&&(o=a),e(this).each(function(){t(e(this),o)}),e(this)}}}),e(document).on("mousedown.minicolors touchstart.minicolors",function(t){e(t.target).parents().add(t.target).hasClass("minicolors")||r()}).on("mousedown.minicolors touchstart.minicolors",".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider",function(t){var n=e(this);t.preventDefault(),e(document).data("minicolors-target",n),a(n,t,!0)}).on("mousemove.minicolors touchmove.minicolors",function(t){var n=e(document).data("minicolors-target");n&&a(n,t)}).on("mouseup.minicolors touchend.minicolors",function(){e(this).removeData("minicolors-target")}).on("mousedown.minicolors touchstart.minicolors",".minicolors-swatch",function(t){var n=e(this).parent().find(".minicolors-input");t.preventDefault(),i(n)}).on("focus.minicolors",".minicolors-input",function(){var t=e(this);t.data("minicolors-initialized")&&i(t)}).on("blur.minicolors",".minicolors-input",function(){var t=e(this),n=t.data("minicolors-settings");t.data("minicolors-initialized")&&(t.val(h(t.val(),!0)),""===t.val()&&t.val(h(n.defaultValue,!0)),t.val(c(t.val(),n.letterCase)))}).on("keydown.minicolors",".minicolors-input",function(t){var n=e(this);if(n.data("minicolors-initialized"))switch(t.keyCode){case 9:r();break;case 13:case 27:r(),n.blur()}}).on("keyup.minicolors",".minicolors-input",function(){var t=e(this);t.data("minicolors-initialized")&&s(t,!0)}).on("paste.minicolors",".minicolors-input",function(){var t=e(this);t.data("minicolors-initialized")&&setTimeout(function(){s(t,!0)},1)})}),!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.Chart=e()}}(function(){return function e(t,n,i){function r(o,s){if(!n[o]){if(!t[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(a)return a(o,!0);var u=new Error("Cannot find module '"+o+"'");throw u.code="MODULE_NOT_FOUND",u}var d=n[o]={exports:{}};t[o][0].call(d.exports,function(e){var n=t[o][1][e];return r(n?n:e)},d,d.exports,e,t,n,i)}return n[o].exports}for(var a="function"==typeof require&&require,o=0;o<i.length;o++)r(i[o]);return r}({1:[function(e,t,n){},{}],2:[function(e,t,n){function i(e){if(e){var t=/^#([a-fA-F0-9]{3})$/,n=/^#([a-fA-F0-9]{6})$/,i=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,r=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,a=/(\w+)/,o=[0,0,0],s=1,l=e.match(t);if(l){l=l[1];for(var u=0;u<o.length;u++)o[u]=parseInt(l[u]+l[u],16)}else if(l=e.match(n)){l=l[1];for(var u=0;u<o.length;u++)o[u]=parseInt(l.slice(2*u,2*u+2),16)}else if(l=e.match(i)){for(var u=0;u<o.length;u++)o[u]=parseInt(l[u+1]);s=parseFloat(l[4])}else if(l=e.match(r)){for(var u=0;u<o.length;u++)o[u]=Math.round(2.55*parseFloat(l[u+1]));s=parseFloat(l[4])}else if(l=e.match(a)){if("transparent"==l[1])return[0,0,0,0];if(o=b[l[1]],!o)return}for(var u=0;u<o.length;u++)o[u]=y(o[u],0,255);return s=s||0==s?y(s,0,1):1,o[3]=s,o}}function r(e){if(e){var t=/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,n=e.match(t);if(n){var i=parseFloat(n[4]),r=y(parseInt(n[1]),0,360),a=y(parseFloat(n[2]),0,100),o=y(parseFloat(n[3]),0,100),s=y(isNaN(i)?1:i,0,1);return[r,a,o,s]}}}function a(e){if(e){var t=/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,n=e.match(t);if(n){var i=parseFloat(n[4]),r=y(parseInt(n[1]),0,360),a=y(parseFloat(n[2]),0,100),o=y(parseFloat(n[3]),0,100),s=y(isNaN(i)?1:i,0,1);return[r,a,o,s]}}}function o(e){var t=i(e);return t&&t.slice(0,3)}function s(e){var t=r(e);return t&&t.slice(0,3)}function l(e){var t=i(e);return t?t[3]:(t=r(e))?t[3]:(t=a(e))?t[3]:void 0}function u(e){return"#"+v(e[0])+v(e[1])+v(e[2])}function d(e,t){return 1>t||e[3]&&e[3]<1?c(e,t):"rgb("+e[0]+", "+e[1]+", "+e[2]+")"}function c(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function h(e,t){if(1>t||e[3]&&e[3]<1)return f(e,t);var n=Math.round(e[0]/255*100),i=Math.round(e[1]/255*100),r=Math.round(e[2]/255*100);return"rgb("+n+"%, "+i+"%, "+r+"%)"}function f(e,t){var n=Math.round(e[0]/255*100),i=Math.round(e[1]/255*100),r=Math.round(e[2]/255*100);return"rgba("+n+"%, "+i+"%, "+r+"%, "+(t||e[3]||1)+")"}function p(e,t){return 1>t||e[3]&&e[3]<1?m(e,t):"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"}function m(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}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:"")+")"}function g(e){return M[e.slice(0,3)]}function y(e,t,n){return Math.min(Math.max(t,e),n)}function v(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var b=e(6);t.exports={getRgba:i,getHsla:r,getRgb:o,getHsl:s,getHwb:a,getAlpha:l,hexString:u,rgbString:d,rgbaString:c,percentString:h,percentaString:f,hslString:p,hslaString:m,hwbString:_,keyword:g};var M={};for(var w in b)M[b[w]]=w},{6:6}],3:[function(e,t,n){var i=e(5),r=e(2),a=function(e){if(e instanceof a)return e;if(!(this instanceof a))return new a(e);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};var t;if("string"==typeof e)if(t=r.getRgba(e))this.setValues("rgb",t);else if(t=r.getHsla(e))this.setValues("hsl",t);else{if(!(t=r.getHwb(e)))throw new Error('Unable to parse color from string "'+e+'"');this.setValues("hwb",t)}else if("object"==typeof e)if(t=e,void 0!==t.r||void 0!==t.red)this.setValues("rgb",t);else if(void 0!==t.l||void 0!==t.lightness)this.setValues("hsl",t);else if(void 0!==t.v||void 0!==t.value)this.setValues("hsv",t);else if(void 0!==t.w||void 0!==t.whiteness)this.setValues("hwb",t);else{if(void 0===t.c&&void 0===t.cyan)throw new Error("Unable to parse color from object "+JSON.stringify(e));this.setValues("cmyk",t)}};a.prototype={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])},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%=360,e=0>e?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness: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 r.hexString(this.values.rgb)},rgbString:function(){return r.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return r.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return r.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return r.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return r.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return r.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return r.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]=.03928>=i?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 t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb,t=(299*e[0]+587*e[1]+114*e[2])/1e3;return 128>t},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;3>t;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]=0>n?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=this,i=e,r=void 0===t?.5:t,a=2*r-1,o=n.alpha()-i.alpha(),s=((a*o===-1?a:(a+o)/(1+a*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()*r+i.alpha()*(1-r))},toJSON:function(){return this.rgb()},clone:function(){var e,t,n=new a,i=this.values,r=n.values;for(var o in i)i.hasOwnProperty(o)&&(e=i[o],t={}.toString.call(e),"[object Array]"===t?r[o]=e.slice(0):"[object Number]"===t?r[o]=e:void 0);return n}},a.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},a.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},a.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},a.prototype.setValues=function(e,t){var n,r=this.values,a=this.spaces,o=this.maxes,s=1;if("alpha"===e)s=t;else if(t.length)r[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++)r[e][n]=t[e.charAt(n)];s=t.a}else if(void 0!==t[a[e][0]]){var l=a[e];for(n=0;n<e.length;n++)r[e][n]=t[l[n]];s=t.alpha}if(r.alpha=Math.max(0,Math.min(1,void 0===s?r.alpha:s)),"alpha"===e)return!1;var u;for(n=0;n<e.length;n++)u=Math.max(0,Math.min(o[e][n],r[e][n])),r[e][n]=Math.round(u);for(var d in a)d!==e&&(r[d]=i[e][d](r[e]));return!0},a.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)},a.prototype.setChannel=function(e,t,n){var i=this.values[e];return void 0===n?i[t]:n===i[t]?this:(i[t]=n,this.setValues(e,i),this)},"undefined"!=typeof window&&(window.Color=a),t.exports=a},{2:2,5:5}],4:[function(e,t,n){function i(e){var t,n,i,r=e[0]/255,a=e[1]/255,o=e[2]/255,s=Math.min(r,a,o),l=Math.max(r,a,o),u=l-s;return l==s?t=0:r==l?t=(a-o)/u:a==l?t=2+(o-r)/u:o==l&&(t=4+(r-a)/u),t=Math.min(60*t,360),0>t&&(t+=360),i=(s+l)/2,n=l==s?0:.5>=i?u/(l+s):u/(2-l-s),[t,100*n,100*i]}function a(e){var t,n,i,r=e[0],a=e[1],o=e[2],s=Math.min(r,a,o),l=Math.max(r,a,o),u=l-s;return n=0==l?0:u/l*1e3/10,l==s?t=0:r==l?t=(a-o)/u:a==l?t=2+(o-r)/u:o==l&&(t=4+(r-a)/u),t=Math.min(60*t,360),0>t&&(t+=360),i=l/255*1e3/10,[t,n,i]}function o(e){var t=e[0],n=e[1],r=e[2],a=i(e)[0],o=1/255*Math.min(t,Math.min(n,r)),r=1-1/255*Math.max(t,Math.max(n,r));return[a,100*o,100*r]}function s(e){var t,n,i,r,a=e[0]/255,o=e[1]/255,s=e[2]/255;return r=Math.min(1-a,1-o,1-s),t=(1-a-r)/(1-r)||0,n=(1-o-r)/(1-r)||0,i=(1-s-r)/(1-r)||0,[100*t,100*n,100*i,100*r]}function l(e){return K[JSON.stringify(e)]}function u(e){var t=e[0]/255,n=e[1]/255,i=e[2]/255;t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92;var r=.4124*t+.3576*n+.1805*i,a=.2126*t+.7152*n+.0722*i,o=.0193*t+.1192*n+.9505*i;return[100*r,100*a,100*o]}function d(e){var t,n,i,r=u(e),a=r[0],o=r[1],s=r[2];return a/=95.047,o/=100,s/=108.883,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,t=116*o-16,n=500*(a-o),i=200*(o-s),[t,n,i]}function c(e){return W(d(e))}function h(e){var t,n,i,r,a,o=e[0]/360,s=e[1]/100,l=e[2]/100;if(0==s)return a=255*l,[a,a,a];n=.5>l?l*(1+s):l+s-l*s,t=2*l-n,r=[0,0,0];for(var u=0;3>u;u++)i=o+1/3*-(u-1),0>i&&i++,i>1&&i--,a=1>6*i?t+6*(n-t)*i:1>2*i?n:2>3*i?t+(n-t)*(2/3-i)*6:t,r[u]=255*a;return r}function f(e){var t,n,i=e[0],r=e[1]/100,a=e[2]/100;return 0===a?[0,0,0]:(a*=2,r*=1>=a?a:2-a,n=(a+r)/2,t=2*r/(a+r),[i,100*t,100*n])}function p(e){return o(h(e))}function m(e){return s(h(e))}function _(e){return l(h(e))}function y(e){var t=e[0]/60,n=e[1]/100,i=e[2]/100,r=Math.floor(t)%6,a=t-Math.floor(t),o=255*i*(1-n),s=255*i*(1-n*a),l=255*i*(1-n*(1-a)),i=255*i;switch(r){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 v(e){var t,n,i=e[0],r=e[1]/100,a=e[2]/100;return n=(2-r)*a,t=r*a,t/=1>=n?n:2-n,t=t||0,n/=2,[i,100*t,100*n]}function M(e){return o(y(e))}function w(e){return s(y(e))}function x(e){return l(y(e))}function k(e){var t,n,i,a,o=e[0]/360,s=e[1]/100,l=e[2]/100,u=s+l;switch(u>1&&(s/=u,l/=u),t=Math.floor(6*o),n=1-l,i=6*o-t,0!=(1&t)&&(i=1-i),a=s+i*(n-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 L(e){return i(k(e))}function D(e){return a(k(e))}function T(e){return s(k(e))}function Y(e){return l(k(e))}function S(e){var t,n,i,r=e[0]/100,a=e[1]/100,o=e[2]/100,s=e[3]/100;return t=1-Math.min(1,r*(1-s)+s),n=1-Math.min(1,a*(1-s)+s),i=1-Math.min(1,o*(1-s)+s),[255*t,255*n,255*i]}function C(e){return i(S(e))}function H(e){return a(S(e))}function j(e){return o(S(e))}function A(e){return l(S(e))}function P(e){var t,n,i,r=e[0]/100,a=e[1]/100,o=e[2]/100;return t=3.2406*r+-1.5372*a+o*-.4986,n=r*-.9689+1.8758*a+.0415*o,i=.0557*r+a*-.204+1.057*o,t=t>.0031308?1.055*Math.pow(t,1/2.4)-.055:t=12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n=12.92*n,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i=12.92*i,t=Math.min(Math.max(0,t),1),n=Math.min(Math.max(0,n),1),i=Math.min(Math.max(0,i),1),[255*t,255*n,255*i]}function E(e){var t,n,i,r=e[0],a=e[1],o=e[2];return r/=95.047,a/=100,o/=108.883,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,t=116*a-16,n=500*(r-a),i=200*(a-o),[t,n,i]}function I(e){return W(E(e))}function O(e){var t,n,i,r,a=e[0],o=e[1],s=e[2];return 8>=a?(n=100*a/903.3,r=7.787*(n/100)+16/116):(n=100*Math.pow((a+16)/116,3),r=Math.pow(n/100,1/3)),t=.008856>=t/95.047?t=95.047*(o/500+r-16/116)/7.787:95.047*Math.pow(o/500+r,3),i=.008859>=i/108.883?i=108.883*(r-s/200-16/116)/7.787:108.883*Math.pow(r-s/200,3),[t,n,i]}function W(e){var t,n,i,r=e[0],a=e[1],o=e[2];return t=Math.atan2(o,a),n=360*t/2/Math.PI,0>n&&(n+=360),i=Math.sqrt(a*a+o*o),[r,i,n]}function F(e){return P(O(e))}function R(e){var t,n,i,r=e[0],a=e[1],o=e[2];return i=o/360*2*Math.PI,t=a*Math.cos(i),n=a*Math.sin(i),[r,t,n]}function N(e){return O(R(e))}function z(e){return F(R(e))}function B(e){return X[e]}function $(e){return i(B(e))}function V(e){return a(B(e))}function q(e){return o(B(e))}function U(e){return s(B(e))}function J(e){return d(B(e))}function G(e){return u(B(e))}t.exports={rgb2hsl:i,rgb2hsv:a,rgb2hwb:o,rgb2cmyk:s,rgb2keyword:l,rgb2xyz:u,rgb2lab:d,rgb2lch:c,hsl2rgb:h,hsl2hsv:f,hsl2hwb:p,hsl2cmyk:m,hsl2keyword:_,hsv2rgb:y,hsv2hsl:v,hsv2hwb:M,hsv2cmyk:w,hsv2keyword:x,hwb2rgb:k,hwb2hsl:L,hwb2hsv:D,hwb2cmyk:T,hwb2keyword:Y,cmyk2rgb:S,cmyk2hsl:C,cmyk2hsv:H,cmyk2hwb:j,cmyk2keyword:A,keyword2rgb:B,keyword2hsl:$,keyword2hsv:V,keyword2hwb:q,keyword2cmyk:U,keyword2lab:J,keyword2xyz:G,xyz2rgb:P,xyz2lab:E,xyz2lch:I,lab2xyz:O,lab2rgb:F,lab2lch:W,lch2lab:R,lch2xyz:N,lch2rgb:z};var X={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]},K={};for(var Z in X)K[JSON.stringify(X[Z])]=Z},{}],5:[function(e,t,n){var i=e(4),r=function(){return new u};for(var a in i){r[a+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),i[e](t)}}(a);var o=/(\w+)2(\w+)/.exec(a),s=o[1],l=o[2];r[s]=r[s]||{},r[s][l]=r[a]=function(e){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var n=i[e](t);if("string"==typeof n||void 0===n)return n;for(var r=0;r<n.length;r++)n[r]=Math.round(n[r]);return n}}(a)}var u=function(){this.convs={}};u.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))},u.prototype.setValues=function(e,t){return this.space=e,this.convs={},this.convs[e]=t,this},u.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(e){u.prototype[e]=function(t){return this.routeSpace(e,arguments)}}),t.exports=r},{4:4}],6:[function(e,t,n){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,n){var i=e(28)();e(26)(i),e(22)(i),e(25)(i),e(21)(i),e(23)(i),e(24)(i),e(29)(i),e(33)(i),e(31)(i),e(34)(i),e(32)(i),e(35)(i),e(30)(i),e(27)(i),e(36)(i),e(37)(i),e(38)(i),e(39)(i),e(40)(i),e(43)(i),e(41)(i),e(42)(i),e(44)(i),e(45)(i),e(46)(i),e(15)(i),e(16)(i),e(17)(i),e(18)(i),e(19)(i),e(20)(i),e(8)(i),e(9)(i),e(10)(i),e(11)(i),e(12)(i),e(13)(i),e(14)(i),window.Chart=t.exports=i},{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,36:36,37:37,38:38,39:39,40:40,41:41,42:42,43:43,44:44,45:45,46:46,8:8,9:9}],8:[function(e,t,n){"use strict";t.exports=function(e){e.Bar=function(t,n){return n.type="bar",new e(t,n)}}},{}],9:[function(e,t,n){"use strict";t.exports=function(e){e.Bubble=function(t,n){return n.type="bubble",new e(t,n)}}},{}],10:[function(e,t,n){"use strict";t.exports=function(e){e.Doughnut=function(t,n){return n.type="doughnut",new e(t,n)}}},{}],11:[function(e,t,n){"use strict";t.exports=function(e){e.Line=function(t,n){return n.type="line",new e(t,n)}}},{}],12:[function(e,t,n){"use strict";t.exports=function(e){e.PolarArea=function(t,n){return n.type="polarArea",new e(t,n)}}},{}],13:[function(e,t,n){"use strict";t.exports=function(e){e.Radar=function(t,n){return n.type="radar",new e(t,n)}}},{}],14:[function(e,t,n){"use strict";t.exports=function(e){var t={hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-1"}],yAxes:[{type:"linear",position:"left",id:"y-axis-1"}]},tooltips:{callbacks:{title:function(){return""},label:function(e){return"("+e.xLabel+", "+e.yLabel+")"}}}};e.defaults.scatter=t,e.controllers.scatter=e.controllers.line,e.Scatter=function(t,n){return n.type="scatter",new e(t,n)}}},{}],15:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.defaults.bar={hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}},e.controllers.bar=e.DatasetController.extend({dataElementType:e.elements.Rectangle,initialize:function(t,n){e.DatasetController.prototype.initialize.call(this,t,n),this.getMeta().bar=!0},getBarCount:function(){var e=this,n=0;return t.each(e.chart.data.datasets,function(t,i){var r=e.chart.getDatasetMeta(i);r.bar&&e.chart.isDatasetVisible(i)&&++n},e),n},update:function(e){var n=this;t.each(n.getMeta().data,function(t,i){n.updateElement(t,i,e)},n)},updateElement:function(e,n,i){var r=this,a=r.getMeta(),o=r.getScaleForId(a.xAxisID),s=r.getScaleForId(a.yAxisID),l=s.getBasePixel(),u=r.chart.options.elements.rectangle,d=e.custom||{},c=r.getDataset();e._xScale=o,e._yScale=s,e._datasetIndex=r.index,e._index=n;var h=r.getRuler(n);e._model={x:r.calculateBarX(n,r.index,h),y:i?l:r.calculateBarY(n,r.index),label:r.chart.data.labels[n],datasetLabel:c.label,base:i?l:r.calculateBarBase(r.index,n),width:r.calculateBarWidth(h),backgroundColor:d.backgroundColor?d.backgroundColor:t.getValueAtIndexOrDefault(c.backgroundColor,n,u.backgroundColor),borderSkipped:d.borderSkipped?d.borderSkipped:u.borderSkipped,borderColor:d.borderColor?d.borderColor:t.getValueAtIndexOrDefault(c.borderColor,n,u.borderColor),borderWidth:d.borderWidth?d.borderWidth:t.getValueAtIndexOrDefault(c.borderWidth,n,u.borderWidth)},e.pivot()},calculateBarBase:function(e,t){var n=this,i=n.getMeta(),r=n.getScaleForId(i.yAxisID),a=0;if(r.options.stacked){for(var o=n.chart,s=o.data.datasets,l=Number(s[e].data[t]),u=0;e>u;u++){var d=s[u],c=o.getDatasetMeta(u);if(c.bar&&c.yAxisID===r.id&&o.isDatasetVisible(u)){var h=Number(d.data[t]);a+=0>l?Math.min(h,0):Math.max(h,0)}}return r.getPixelForValue(a)}return r.getBasePixel()},getRuler:function(e){var t,n=this,i=n.getMeta(),r=n.getScaleForId(i.xAxisID),a=n.getBarCount();t="category"===r.options.type?r.getPixelForTick(e+1)-r.getPixelForTick(e):r.width/r.ticks.length;var o=t*r.options.categoryPercentage,s=(t-t*r.options.categoryPercentage)/2,l=o/a;if(r.ticks.length!==n.chart.data.labels.length){var u=r.ticks.length/n.chart.data.labels.length;l*=u}var d=l*r.options.barPercentage,c=l-l*r.options.barPercentage;return{datasetCount:a,tickWidth:t,categoryWidth:o,categorySpacing:s,fullBarWidth:l,barWidth:d,barSpacing:c}},calculateBarWidth:function(e){var t=this.getScaleForId(this.getMeta().xAxisID);return t.options.barThickness?t.options.barThickness:t.options.stacked?e.categoryWidth:e.barWidth},getBarIndex:function(e){var t,n,i=0;for(n=0;e>n;++n)t=this.chart.getDatasetMeta(n),t.bar&&this.chart.isDatasetVisible(n)&&++i;return i},calculateBarX:function(e,t,n){var i=this,r=i.getMeta(),a=i.getScaleForId(r.xAxisID),o=i.getBarIndex(t),s=a.getPixelForValue(null,e,t,i.chart.isCombo);return s-=i.chart.isCombo?n.tickWidth/2:0,a.options.stacked?s+n.categoryWidth/2+n.categorySpacing:s+n.barWidth/2+n.categorySpacing+n.barWidth*o+n.barSpacing/2+n.barSpacing*o},calculateBarY:function(e,t){var n=this,i=n.getMeta(),r=n.getScaleForId(i.yAxisID),a=Number(n.getDataset().data[e]);if(r.options.stacked){for(var o=0,s=0,l=0;t>l;l++){var u=n.chart.data.datasets[l],d=n.chart.getDatasetMeta(l);if(d.bar&&d.yAxisID===r.id&&n.chart.isDatasetVisible(l)){var c=Number(u.data[e]);0>c?s+=c||0:o+=c||0}}return 0>a?r.getPixelForValue(s+a):r.getPixelForValue(o+a)}return r.getPixelForValue(a)},draw:function(e){var t,n,i=this,r=e||1,a=i.getMeta().data,o=i.getDataset();for(t=0,n=a.length;n>t;++t){var s=o.data[t];null===s||void 0===s||isNaN(s)||a[t].transition(r).draw()}},setHoverStyle:function(e){var n=this.chart.data.datasets[e._datasetIndex],i=e._index,r=e.custom||{},a=e._model;a.backgroundColor=r.hoverBackgroundColor?r.hoverBackgroundColor:t.getValueAtIndexOrDefault(n.hoverBackgroundColor,i,t.getHoverColor(a.backgroundColor)),a.borderColor=r.hoverBorderColor?r.hoverBorderColor:t.getValueAtIndexOrDefault(n.hoverBorderColor,i,t.getHoverColor(a.borderColor)),a.borderWidth=r.hoverBorderWidth?r.hoverBorderWidth:t.getValueAtIndexOrDefault(n.hoverBorderWidth,i,a.borderWidth)},removeHoverStyle:function(e){var n=this.chart.data.datasets[e._datasetIndex],i=e._index,r=e.custom||{},a=e._model,o=this.chart.options.elements.rectangle;a.backgroundColor=r.backgroundColor?r.backgroundColor:t.getValueAtIndexOrDefault(n.backgroundColor,i,o.backgroundColor),a.borderColor=r.borderColor?r.borderColor:t.getValueAtIndexOrDefault(n.borderColor,i,o.borderColor),a.borderWidth=r.borderWidth?r.borderWidth:t.getValueAtIndexOrDefault(n.borderWidth,i,o.borderWidth)}}),e.defaults.horizontalBar={hover:{mode:"label"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(e,t){var n="";return e.length>0&&(e[0].yLabel?n=e[0].yLabel:t.labels.length>0&&e[0].index<t.labels.length&&(n=t.labels[e[0].index])),n},label:function(e,t){var n=t.datasets[e.datasetIndex].label||"";return n+": "+e.xLabel}}}},e.controllers.horizontalBar=e.controllers.bar.extend({updateElement:function(e,n,i){var r=this,a=r.getMeta(),o=r.getScaleForId(a.xAxisID),s=r.getScaleForId(a.yAxisID),l=o.getBasePixel(),u=e.custom||{},d=r.getDataset(),c=r.chart.options.elements.rectangle;e._xScale=o,e._yScale=s,e._datasetIndex=r.index,e._index=n;var h=r.getRuler(n);e._model={x:i?l:r.calculateBarX(n,r.index),y:r.calculateBarY(n,r.index,h),label:r.chart.data.labels[n],datasetLabel:d.label,base:i?l:r.calculateBarBase(r.index,n),height:r.calculateBarHeight(h),backgroundColor:u.backgroundColor?u.backgroundColor:t.getValueAtIndexOrDefault(d.backgroundColor,n,c.backgroundColor),borderSkipped:u.borderSkipped?u.borderSkipped:c.borderSkipped,borderColor:u.borderColor?u.borderColor:t.getValueAtIndexOrDefault(d.borderColor,n,c.borderColor),borderWidth:u.borderWidth?u.borderWidth:t.getValueAtIndexOrDefault(d.borderWidth,n,c.borderWidth)},e.draw=function(){function e(e){return l[(d+e)%4]}var t=this._chart.ctx,n=this._view,i=n.height/2,r=n.y-i,a=n.y+i,o=n.base-(n.base-n.x),s=n.borderWidth/2;n.borderWidth&&(r+=s,a-=s,o+=s),t.beginPath(),t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor,t.lineWidth=n.borderWidth;var l=[[n.base,a],[n.base,r],[o,r],[o,a]],u=["bottom","left","top","right"],d=u.indexOf(n.borderSkipped,0);-1===d&&(d=0),t.moveTo.apply(t,e(0));for(var c=1;4>c;c++)t.lineTo.apply(t,e(c));t.fill(),n.borderWidth&&t.stroke()},e.pivot()},calculateBarBase:function(e,t){var n=this,i=n.getMeta(),r=n.getScaleForId(i.xAxisID),a=0;if(r.options.stacked){for(var o=n.chart,s=o.data.datasets,l=Number(s[e].data[t]),u=0;e>u;u++){var d=s[u],c=o.getDatasetMeta(u);if(c.bar&&c.xAxisID===r.id&&o.isDatasetVisible(u)){var h=Number(d.data[t]);a+=0>l?Math.min(h,0):Math.max(h,0)}}return r.getPixelForValue(a)}return r.getBasePixel()},getRuler:function(e){var t,n=this,i=n.getMeta(),r=n.getScaleForId(i.yAxisID),a=n.getBarCount();t="category"===r.options.type?r.getPixelForTick(e+1)-r.getPixelForTick(e):r.width/r.ticks.length;var o=t*r.options.categoryPercentage,s=(t-t*r.options.categoryPercentage)/2,l=o/a;if(r.ticks.length!==n.chart.data.labels.length){var u=r.ticks.length/n.chart.data.labels.length;l*=u}var d=l*r.options.barPercentage,c=l-l*r.options.barPercentage;return{datasetCount:a,tickHeight:t,categoryHeight:o,categorySpacing:s,fullBarHeight:l,barHeight:d,barSpacing:c}},calculateBarHeight:function(e){var t=this,n=t.getScaleForId(t.getMeta().yAxisID);return n.options.barThickness?n.options.barThickness:n.options.stacked?e.categoryHeight:e.barHeight},calculateBarX:function(e,t){var n=this,i=n.getMeta(),r=n.getScaleForId(i.xAxisID),a=Number(n.getDataset().data[e]);if(r.options.stacked){for(var o=0,s=0,l=0;t>l;l++){var u=n.chart.data.datasets[l],d=n.chart.getDatasetMeta(l);if(d.bar&&d.xAxisID===r.id&&n.chart.isDatasetVisible(l)){var c=Number(u.data[e]);0>c?s+=c||0:o+=c||0}}return 0>a?r.getPixelForValue(s+a):r.getPixelForValue(o+a)}return r.getPixelForValue(a)},calculateBarY:function(e,t,n){var i=this,r=i.getMeta(),a=i.getScaleForId(r.yAxisID),o=i.getBarIndex(t),s=a.getPixelForValue(null,e,t,i.chart.isCombo);return s-=i.chart.isCombo?n.tickHeight/2:0,a.options.stacked?s+n.categoryHeight/2+n.categorySpacing:s+n.barHeight/2+n.categorySpacing+n.barHeight*o+n.barSpacing/2+n.barSpacing*o}})}},{}],16:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.defaults.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+")"}}}},e.controllers.bubble=e.DatasetController.extend({dataElementType:e.elements.Point,update:function(e){var n=this,i=n.getMeta(),r=i.data;t.each(r,function(t,i){n.updateElement(t,i,e)})},updateElement:function(n,i,r){var a=this,o=a.getMeta(),s=a.getScaleForId(o.xAxisID),l=a.getScaleForId(o.yAxisID),u=n.custom||{},d=a.getDataset(),c=d.data[i],h=a.chart.options.elements.point,f=a.index;t.extend(n,{_xScale:s,_yScale:l,_datasetIndex:f,_index:i,_model:{x:r?s.getPixelForDecimal(.5):s.getPixelForValue("object"==typeof c?c:NaN,i,f,a.chart.isCombo),y:r?l.getBasePixel():l.getPixelForValue(c,i,f),radius:r?0:u.radius?u.radius:a.getRadius(c),hitRadius:u.hitRadius?u.hitRadius:t.getValueAtIndexOrDefault(d.hitRadius,i,h.hitRadius)}}),e.DatasetController.prototype.removeHoverStyle.call(a,n,h);var p=n._model;p.skip=u.skip?u.skip:isNaN(p.x)||isNaN(p.y),n.pivot()},getRadius:function(e){return e.r||this.chart.options.elements.point.radius},setHoverStyle:function(n){var i=this;e.DatasetController.prototype.setHoverStyle.call(i,n);var r=i.chart.data.datasets[n._datasetIndex],a=n._index,o=n.custom||{},s=n._model;s.radius=o.hoverRadius?o.hoverRadius:t.getValueAtIndexOrDefault(r.hoverRadius,a,i.chart.options.elements.point.hoverRadius)+i.getRadius(r.data[a])},removeHoverStyle:function(t){var n=this;e.DatasetController.prototype.removeHoverStyle.call(n,t,n.chart.options.elements.point);var i=n.chart.data.datasets[t._datasetIndex].data[t._index],r=t.custom||{},a=t._model;a.radius=r.radius?r.radius:n.getRadius(i)}})}},{}],17:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=e.defaults;n.doughnut={animation:{animateRotate:!0,animateScale:!1},aspectRatio:1,hover:{mode:"single"},legendCallback:function(e){var t=[];t.push('<ul class="'+e.id+'-legend">');var n=e.data,i=n.datasets,r=n.labels;if(i.length)for(var a=0;a<i[0].data.length;++a)t.push('<li><span style="background-color:'+i[0].backgroundColor[a]+'"></span>'),r[a]&&t.push(r[a]),t.push("</li>");return t.push("</ul>"),t.join("")},legend:{labels:{generateLabels:function(e){var n=e.data;return n.labels.length&&n.datasets.length?n.labels.map(function(i,r){var a=e.getDatasetMeta(0),o=n.datasets[0],s=a.data[r],l=s&&s.custom||{},u=t.getValueAtIndexOrDefault,d=e.options.elements.arc,c=l.backgroundColor?l.backgroundColor:u(o.backgroundColor,r,d.backgroundColor),h=l.borderColor?l.borderColor:u(o.borderColor,r,d.borderColor),f=l.borderWidth?l.borderWidth:u(o.borderWidth,r,d.borderWidth);return{text:i,fillStyle:c,strokeStyle:h,lineWidth:f,hidden:isNaN(o.data[r])||a.data[r].hidden,index:r}}):[]}},onClick:function(e,t){var n,i,r,a=t.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;i>n;++n)r=o.getDatasetMeta(n),r.data[a]&&(r.data[a].hidden=!r.data[a].hidden);o.update()}},cutoutPercentage:50,rotation:Math.PI*-.5,circumference:2*Math.PI,tooltips:{callbacks:{title:function(){return""},label:function(e,n){var i=n.labels[e.index],r=": "+n.datasets[e.datasetIndex].data[e.index];return t.isArray(i)?(i=i.slice(),i[0]+=r):i+=r,i}}}},n.pie=t.clone(n.doughnut),t.extend(n.pie,{cutoutPercentage:0}),e.controllers.doughnut=e.controllers.pie=e.DatasetController.extend({dataElementType:e.elements.Arc,linkScales:t.noop,getRingIndex:function(e){for(var t=0,n=0;e>n;++n)this.chart.isDatasetVisible(n)&&++t;return t},update:function(e){var n=this,i=n.chart,r=i.chartArea,a=i.options,o=a.elements.arc,s=r.right-r.left-o.borderWidth,l=r.bottom-r.top-o.borderWidth,u=Math.min(s,l),d={x:0,y:0},c=n.getMeta(),h=a.cutoutPercentage,f=a.circumference;if(f<2*Math.PI){var p=a.rotation%(2*Math.PI);p+=2*Math.PI*(p>=Math.PI?-1:p<-Math.PI?1:0);var m=p+f,_={x:Math.cos(p),y:Math.sin(p)},g={x:Math.cos(m),y:Math.sin(m)},y=0>=p&&m>=0||p<=2*Math.PI&&2*Math.PI<=m,v=p<=.5*Math.PI&&.5*Math.PI<=m||p<=2.5*Math.PI&&2.5*Math.PI<=m,b=p<=-Math.PI&&-Math.PI<=m||p<=Math.PI&&Math.PI<=m,M=p<=.5*-Math.PI&&.5*-Math.PI<=m||p<=1.5*Math.PI&&1.5*Math.PI<=m,w=h/100,x={x:b?-1:Math.min(_.x*(_.x<0?1:w),g.x*(g.x<0?1:w)),y:M?-1:Math.min(_.y*(_.y<0?1:w),g.y*(g.y<0?1:w))},k={x:y?1:Math.max(_.x*(_.x>0?1:w),g.x*(g.x>0?1:w)),y:v?1:Math.max(_.y*(_.y>0?1:w),g.y*(g.y>0?1:w))},L={width:.5*(k.x-x.x),height:.5*(k.y-x.y)};u=Math.min(s/L.width,l/L.height),d={x:(k.x+x.x)*-.5,y:(k.y+x.y)*-.5}}i.borderWidth=n.getMaxBorderWidth(c.data),i.outerRadius=Math.max((u-i.borderWidth)/2,0),i.innerRadius=Math.max(h?i.outerRadius/100*h:1,0),i.radiusLength=(i.outerRadius-i.innerRadius)/i.getVisibleDatasetCount(),i.offsetX=d.x*i.outerRadius,i.offsetY=d.y*i.outerRadius,c.total=n.calculateTotal(),n.outerRadius=i.outerRadius-i.radiusLength*n.getRingIndex(n.index),n.innerRadius=n.outerRadius-i.radiusLength,t.each(c.data,function(t,i){n.updateElement(t,i,e)})},updateElement:function(e,n,i){var r=this,a=r.chart,o=a.chartArea,s=a.options,l=s.animation,u=(o.left+o.right)/2,d=(o.top+o.bottom)/2,c=s.rotation,h=s.rotation,f=r.getDataset(),p=i&&l.animateRotate?0:e.hidden?0:r.calculateCircumference(f.data[n])*(s.circumference/(2*Math.PI)),m=i&&l.animateScale?0:r.innerRadius,_=i&&l.animateScale?0:r.outerRadius,g=t.getValueAtIndexOrDefault;t.extend(e,{_datasetIndex:r.index,_index:n,_model:{x:u+a.offsetX,y:d+a.offsetY,startAngle:c,endAngle:h,circumference:p,outerRadius:_,innerRadius:m,label:g(f.label,n,a.data.labels[n])}});var y=e._model;this.removeHoverStyle(e),i&&l.animateRotate||(0===n?y.startAngle=s.rotation:y.startAngle=r.getMeta().data[n-1]._model.endAngle,y.endAngle=y.startAngle+y.circumference),e.pivot()},removeHoverStyle:function(t){e.DatasetController.prototype.removeHoverStyle.call(this,t,this.chart.options.elements.arc)},calculateTotal:function(){var e,n=this.getDataset(),i=this.getMeta(),r=0;return t.each(i.data,function(t,i){e=n.data[i],isNaN(e)||t.hidden||(r+=Math.abs(e))}),r},calculateCircumference:function(e){
var t=this.getMeta().total;return t>0&&!isNaN(e)?2*Math.PI*(e/t):0},getMaxBorderWidth:function(e){for(var t,n,i=0,r=this.index,a=e.length,o=0;a>o;o++)t=e[o]._model?e[o]._model.borderWidth:0,n=e[o]._chart?e[o]._chart.config.data.datasets[r].hoverBorderWidth:0,i=t>i?t:i,i=n>i?n:i;return i}})}},{}],18:[function(e,t,n){"use strict";t.exports=function(e){function t(e,t){return n.getValueOrDefault(e.showLine,t.showLines)}var n=e.helpers;e.defaults.line={showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}},e.controllers.line=e.DatasetController.extend({datasetElementType:e.elements.Line,dataElementType:e.elements.Point,update:function(e){var i,r,a,o=this,s=o.getMeta(),l=s.dataset,u=s.data||[],d=o.chart.options,c=d.elements.line,h=o.getScaleForId(s.yAxisID),f=o.getDataset(),p=t(f,d);for(p&&(a=l.custom||{},void 0!==f.tension&&void 0===f.lineTension&&(f.lineTension=f.tension),l._scale=h,l._datasetIndex=o.index,l._children=u,l._model={spanGaps:f.spanGaps?f.spanGaps:d.spanGaps,tension:a.tension?a.tension:n.getValueOrDefault(f.lineTension,c.tension),backgroundColor:a.backgroundColor?a.backgroundColor:f.backgroundColor||c.backgroundColor,borderWidth:a.borderWidth?a.borderWidth:f.borderWidth||c.borderWidth,borderColor:a.borderColor?a.borderColor:f.borderColor||c.borderColor,borderCapStyle:a.borderCapStyle?a.borderCapStyle:f.borderCapStyle||c.borderCapStyle,borderDash:a.borderDash?a.borderDash:f.borderDash||c.borderDash,borderDashOffset:a.borderDashOffset?a.borderDashOffset:f.borderDashOffset||c.borderDashOffset,borderJoinStyle:a.borderJoinStyle?a.borderJoinStyle:f.borderJoinStyle||c.borderJoinStyle,fill:a.fill?a.fill:void 0!==f.fill?f.fill:c.fill,steppedLine:a.steppedLine?a.steppedLine:n.getValueOrDefault(f.steppedLine,c.stepped),cubicInterpolationMode:a.cubicInterpolationMode?a.cubicInterpolationMode:n.getValueOrDefault(f.cubicInterpolationMode,c.cubicInterpolationMode),scaleTop:h.top,scaleBottom:h.bottom,scaleZero:h.getBasePixel()},l.pivot()),i=0,r=u.length;r>i;++i)o.updateElement(u[i],i,e);for(p&&0!==l._model.tension&&o.updateBezierControlPoints(),i=0,r=u.length;r>i;++i)u[i].pivot()},getPointBackgroundColor:function(e,t){var i=this.chart.options.elements.point.backgroundColor,r=this.getDataset(),a=e.custom||{};return a.backgroundColor?i=a.backgroundColor:r.pointBackgroundColor?i=n.getValueAtIndexOrDefault(r.pointBackgroundColor,t,i):r.backgroundColor&&(i=r.backgroundColor),i},getPointBorderColor:function(e,t){var i=this.chart.options.elements.point.borderColor,r=this.getDataset(),a=e.custom||{};return a.borderColor?i=a.borderColor:r.pointBorderColor?i=n.getValueAtIndexOrDefault(r.pointBorderColor,t,i):r.borderColor&&(i=r.borderColor),i},getPointBorderWidth:function(e,t){var i=this.chart.options.elements.point.borderWidth,r=this.getDataset(),a=e.custom||{};return a.borderWidth?i=a.borderWidth:r.pointBorderWidth?i=n.getValueAtIndexOrDefault(r.pointBorderWidth,t,i):r.borderWidth&&(i=r.borderWidth),i},updateElement:function(e,t,i){var r,a,o=this,s=o.getMeta(),l=e.custom||{},u=o.getDataset(),d=o.index,c=u.data[t],h=o.getScaleForId(s.yAxisID),f=o.getScaleForId(s.xAxisID),p=o.chart.options.elements.point,m=o.chart.data.labels||[],_=1===m.length||1===u.data.length||o.chart.isCombo;void 0!==u.radius&&void 0===u.pointRadius&&(u.pointRadius=u.radius),void 0!==u.hitRadius&&void 0===u.pointHitRadius&&(u.pointHitRadius=u.hitRadius),r=f.getPixelForValue("object"==typeof c?c:NaN,t,d,_),a=i?h.getBasePixel():o.calculatePointY(c,t,d),e._xScale=f,e._yScale=h,e._datasetIndex=d,e._index=t,e._model={x:r,y:a,skip:l.skip||isNaN(r)||isNaN(a),radius:l.radius||n.getValueAtIndexOrDefault(u.pointRadius,t,p.radius),pointStyle:l.pointStyle||n.getValueAtIndexOrDefault(u.pointStyle,t,p.pointStyle),backgroundColor:o.getPointBackgroundColor(e,t),borderColor:o.getPointBorderColor(e,t),borderWidth:o.getPointBorderWidth(e,t),tension:s.dataset._model?s.dataset._model.tension:0,steppedLine:!!s.dataset._model&&s.dataset._model.steppedLine,hitRadius:l.hitRadius||n.getValueAtIndexOrDefault(u.pointHitRadius,t,p.hitRadius)}},calculatePointY:function(e,t,n){var i,r,a,o=this,s=o.chart,l=o.getMeta(),u=o.getScaleForId(l.yAxisID),d=0,c=0;if(u.options.stacked){for(i=0;n>i;i++)if(r=s.data.datasets[i],a=s.getDatasetMeta(i),"line"===a.type&&a.yAxisID===u.id&&s.isDatasetVisible(i)){var h=Number(u.getRightValue(r.data[t]));0>h?c+=h||0:d+=h||0}var f=Number(u.getRightValue(e));return 0>f?u.getPixelForValue(c+f):u.getPixelForValue(d+f)}return u.getPixelForValue(e)},updateBezierControlPoints:function(){function e(e,t,n){return Math.max(Math.min(e,n),t)}var t,i,r,a,o,s=this,l=s.getMeta(),u=s.chart.chartArea,d=l.data||[];if(l.dataset._model.spanGaps&&(d=d.filter(function(e){return!e._model.skip})),"monotone"===l.dataset._model.cubicInterpolationMode)n.splineCurveMonotone(d);else for(t=0,i=d.length;i>t;++t)r=d[t],a=r._model,o=n.splineCurve(n.previousItem(d,t)._model,a,n.nextItem(d,t)._model,l.dataset._model.tension),a.controlPointPreviousX=o.previous.x,a.controlPointPreviousY=o.previous.y,a.controlPointNextX=o.next.x,a.controlPointNextY=o.next.y;if(s.chart.options.elements.line.capBezierPoints)for(t=0,i=d.length;i>t;++t)a=d[t]._model,a.controlPointPreviousX=e(a.controlPointPreviousX,u.left,u.right),a.controlPointPreviousY=e(a.controlPointPreviousY,u.top,u.bottom),a.controlPointNextX=e(a.controlPointNextX,u.left,u.right),a.controlPointNextY=e(a.controlPointNextY,u.top,u.bottom)},draw:function(e){var n,i,r=this,a=r.getMeta(),o=a.data||[],s=e||1;for(n=0,i=o.length;i>n;++n)o[n].transition(s);for(t(r.getDataset(),r.chart.options)&&a.dataset.transition(s).draw(),n=0,i=o.length;i>n;++n)o[n].draw()},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],i=e._index,r=e.custom||{},a=e._model;a.radius=r.hoverRadius||n.getValueAtIndexOrDefault(t.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius),a.backgroundColor=r.hoverBackgroundColor||n.getValueAtIndexOrDefault(t.pointHoverBackgroundColor,i,n.getHoverColor(a.backgroundColor)),a.borderColor=r.hoverBorderColor||n.getValueAtIndexOrDefault(t.pointHoverBorderColor,i,n.getHoverColor(a.borderColor)),a.borderWidth=r.hoverBorderWidth||n.getValueAtIndexOrDefault(t.pointHoverBorderWidth,i,a.borderWidth)},removeHoverStyle:function(e){var t=this,i=t.chart.data.datasets[e._datasetIndex],r=e._index,a=e.custom||{},o=e._model;void 0!==i.radius&&void 0===i.pointRadius&&(i.pointRadius=i.radius),o.radius=a.radius||n.getValueAtIndexOrDefault(i.pointRadius,r,t.chart.options.elements.point.radius),o.backgroundColor=t.getPointBackgroundColor(e,r),o.borderColor=t.getPointBorderColor(e,r),o.borderWidth=t.getPointBorderWidth(e,r)}})}},{}],19:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.defaults.polarArea={scale:{type:"radialLinear",lineArc:!0,ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,aspectRatio:1,legendCallback:function(e){var t=[];t.push('<ul class="'+e.id+'-legend">');var n=e.data,i=n.datasets,r=n.labels;if(i.length)for(var a=0;a<i[0].data.length;++a)t.push('<li><span style="background-color:'+i[0].backgroundColor[a]+'"></span>'),r[a]&&t.push(r[a]),t.push("</li>");return t.push("</ul>"),t.join("")},legend:{labels:{generateLabels:function(e){var n=e.data;return n.labels.length&&n.datasets.length?n.labels.map(function(i,r){var a=e.getDatasetMeta(0),o=n.datasets[0],s=a.data[r],l=s.custom||{},u=t.getValueAtIndexOrDefault,d=e.options.elements.arc,c=l.backgroundColor?l.backgroundColor:u(o.backgroundColor,r,d.backgroundColor),h=l.borderColor?l.borderColor:u(o.borderColor,r,d.borderColor),f=l.borderWidth?l.borderWidth:u(o.borderWidth,r,d.borderWidth);return{text:i,fillStyle:c,strokeStyle:h,lineWidth:f,hidden:isNaN(o.data[r])||a.data[r].hidden,index:r}}):[]}},onClick:function(e,t){var n,i,r,a=t.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;i>n;++n)r=o.getDatasetMeta(n),r.data[a].hidden=!r.data[a].hidden;o.update()}},tooltips:{callbacks:{title:function(){return""},label:function(e,t){return t.labels[e.index]+": "+e.yLabel}}}},e.controllers.polarArea=e.DatasetController.extend({dataElementType:e.elements.Arc,linkScales:t.noop,update:function(e){var n=this,i=n.chart,r=i.chartArea,a=n.getMeta(),o=i.options,s=o.elements.arc,l=Math.min(r.right-r.left,r.bottom-r.top);i.outerRadius=Math.max((l-s.borderWidth/2)/2,0),i.innerRadius=Math.max(o.cutoutPercentage?i.outerRadius/100*o.cutoutPercentage:1,0),i.radiusLength=(i.outerRadius-i.innerRadius)/i.getVisibleDatasetCount(),n.outerRadius=i.outerRadius-i.radiusLength*n.index,n.innerRadius=n.outerRadius-i.radiusLength,a.count=n.countVisibleElements(),t.each(a.data,function(t,i){n.updateElement(t,i,e)})},updateElement:function(e,n,i){for(var r=this,a=r.chart,o=r.getDataset(),s=a.options,l=s.animation,u=a.scale,d=t.getValueAtIndexOrDefault,c=a.data.labels,h=r.calculateCircumference(o.data[n]),f=u.xCenter,p=u.yCenter,m=0,_=r.getMeta(),g=0;n>g;++g)isNaN(o.data[g])||_.data[g].hidden||++m;var y=s.startAngle,v=e.hidden?0:u.getDistanceFromCenterForValue(o.data[n]),b=y+h*m,M=b+(e.hidden?0:h),w=l.animateScale?0:u.getDistanceFromCenterForValue(o.data[n]);t.extend(e,{_datasetIndex:r.index,_index:n,_scale:u,_model:{x:f,y:p,innerRadius:0,outerRadius:i?w:v,startAngle:i&&l.animateRotate?y:b,endAngle:i&&l.animateRotate?y:M,label:d(c,n,c[n])}}),r.removeHoverStyle(e),e.pivot()},removeHoverStyle:function(t){e.DatasetController.prototype.removeHoverStyle.call(this,t,this.chart.options.elements.arc)},countVisibleElements:function(){var e=this.getDataset(),n=this.getMeta(),i=0;return t.each(n.data,function(t,n){isNaN(e.data[n])||t.hidden||i++}),i},calculateCircumference:function(e){var t=this.getMeta().count;return t>0&&!isNaN(e)?2*Math.PI/t:0}})}},{}],20:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.defaults.radar={aspectRatio:1,scale:{type:"radialLinear"},elements:{line:{tension:0}}},e.controllers.radar=e.DatasetController.extend({datasetElementType:e.elements.Line,dataElementType:e.elements.Point,linkScales:t.noop,update:function(e){var n=this,i=n.getMeta(),r=i.dataset,a=i.data,o=r.custom||{},s=n.getDataset(),l=n.chart.options.elements.line,u=n.chart.scale;void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),t.extend(i.dataset,{_datasetIndex:n.index,_children:a,_loop:!0,_model:{tension:o.tension?o.tension:t.getValueOrDefault(s.lineTension,l.tension),backgroundColor:o.backgroundColor?o.backgroundColor:s.backgroundColor||l.backgroundColor,borderWidth:o.borderWidth?o.borderWidth:s.borderWidth||l.borderWidth,borderColor:o.borderColor?o.borderColor:s.borderColor||l.borderColor,fill:o.fill?o.fill:void 0!==s.fill?s.fill:l.fill,borderCapStyle:o.borderCapStyle?o.borderCapStyle:s.borderCapStyle||l.borderCapStyle,borderDash:o.borderDash?o.borderDash:s.borderDash||l.borderDash,borderDashOffset:o.borderDashOffset?o.borderDashOffset:s.borderDashOffset||l.borderDashOffset,borderJoinStyle:o.borderJoinStyle?o.borderJoinStyle:s.borderJoinStyle||l.borderJoinStyle,scaleTop:u.top,scaleBottom:u.bottom,scaleZero:u.getBasePosition()}}),i.dataset.pivot(),t.each(a,function(t,i){n.updateElement(t,i,e)},n),n.updateBezierControlPoints()},updateElement:function(e,n,i){var r=this,a=e.custom||{},o=r.getDataset(),s=r.chart.scale,l=r.chart.options.elements.point,u=s.getPointPositionForValue(n,o.data[n]);t.extend(e,{_datasetIndex:r.index,_index:n,_scale:s,_model:{x:i?s.xCenter:u.x,y:i?s.yCenter:u.y,tension:a.tension?a.tension:t.getValueOrDefault(o.tension,r.chart.options.elements.line.tension),radius:a.radius?a.radius:t.getValueAtIndexOrDefault(o.pointRadius,n,l.radius),backgroundColor:a.backgroundColor?a.backgroundColor:t.getValueAtIndexOrDefault(o.pointBackgroundColor,n,l.backgroundColor),borderColor:a.borderColor?a.borderColor:t.getValueAtIndexOrDefault(o.pointBorderColor,n,l.borderColor),borderWidth:a.borderWidth?a.borderWidth:t.getValueAtIndexOrDefault(o.pointBorderWidth,n,l.borderWidth),pointStyle:a.pointStyle?a.pointStyle:t.getValueAtIndexOrDefault(o.pointStyle,n,l.pointStyle),hitRadius:a.hitRadius?a.hitRadius:t.getValueAtIndexOrDefault(o.hitRadius,n,l.hitRadius)}}),e._model.skip=a.skip?a.skip:isNaN(e._model.x)||isNaN(e._model.y)},updateBezierControlPoints:function(){var e=this.chart.chartArea,n=this.getMeta();t.each(n.data,function(i,r){var a=i._model,o=t.splineCurve(t.previousItem(n.data,r,!0)._model,a,t.nextItem(n.data,r,!0)._model,a.tension);a.controlPointPreviousX=Math.max(Math.min(o.previous.x,e.right),e.left),a.controlPointPreviousY=Math.max(Math.min(o.previous.y,e.bottom),e.top),a.controlPointNextX=Math.max(Math.min(o.next.x,e.right),e.left),a.controlPointNextY=Math.max(Math.min(o.next.y,e.bottom),e.top),i.pivot()})},draw:function(e){var n=this.getMeta(),i=e||1;t.each(n.data,function(e){e.transition(i)}),n.dataset.transition(i).draw(),t.each(n.data,function(e){e.draw()})},setHoverStyle:function(e){var n=this.chart.data.datasets[e._datasetIndex],i=e.custom||{},r=e._index,a=e._model;a.radius=i.hoverRadius?i.hoverRadius:t.getValueAtIndexOrDefault(n.pointHoverRadius,r,this.chart.options.elements.point.hoverRadius),a.backgroundColor=i.hoverBackgroundColor?i.hoverBackgroundColor:t.getValueAtIndexOrDefault(n.pointHoverBackgroundColor,r,t.getHoverColor(a.backgroundColor)),a.borderColor=i.hoverBorderColor?i.hoverBorderColor:t.getValueAtIndexOrDefault(n.pointHoverBorderColor,r,t.getHoverColor(a.borderColor)),a.borderWidth=i.hoverBorderWidth?i.hoverBorderWidth:t.getValueAtIndexOrDefault(n.pointHoverBorderWidth,r,a.borderWidth)},removeHoverStyle:function(e){var n=this.chart.data.datasets[e._datasetIndex],i=e.custom||{},r=e._index,a=e._model,o=this.chart.options.elements.point;a.radius=i.radius?i.radius:t.getValueAtIndexOrDefault(n.radius,r,o.radius),a.backgroundColor=i.backgroundColor?i.backgroundColor:t.getValueAtIndexOrDefault(n.pointBackgroundColor,r,o.backgroundColor),a.borderColor=i.borderColor?i.borderColor:t.getValueAtIndexOrDefault(n.pointBorderColor,r,o.borderColor),a.borderWidth=i.borderWidth?i.borderWidth:t.getValueAtIndexOrDefault(n.pointBorderWidth,r,o.borderWidth)}})}},{}],21:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.defaults.global.animation={duration:1e3,easing:"easeOutQuart",onProgress:t.noop,onComplete:t.noop},e.Animation=e.Element.extend({currentStep:null,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 r=this;i||(e.animating=!0);for(var a=0;a<r.animations.length;++a)if(r.animations[a].chartInstance===e)return void(r.animations[a].animationObject=t);r.animations.push({chartInstance:e,animationObject:t}),1===r.animations.length&&r.requestAnimationFrame()},cancelAnimation:function(e){var n=t.findIndex(this.animations,function(t){return t.chartInstance===e});-1!==n&&(this.animations.splice(n,1),e.animating=!1)},requestAnimationFrame:function(){var e=this;null===e.request&&(e.request=t.requestAnimFrame.call(window,function(){e.request=null,e.startDigest()}))},startDigest:function(){var e=this,t=Date.now(),n=0;e.dropFrames>1&&(n=Math.floor(e.dropFrames),e.dropFrames=e.dropFrames%1);for(var i=0;i<e.animations.length;)null===e.animations[i].animationObject.currentStep&&(e.animations[i].animationObject.currentStep=0),e.animations[i].animationObject.currentStep+=1+n,e.animations[i].animationObject.currentStep>e.animations[i].animationObject.numSteps&&(e.animations[i].animationObject.currentStep=e.animations[i].animationObject.numSteps),e.animations[i].animationObject.render(e.animations[i].chartInstance,e.animations[i].animationObject),e.animations[i].animationObject.onAnimationProgress&&e.animations[i].animationObject.onAnimationProgress.call&&e.animations[i].animationObject.onAnimationProgress.call(e.animations[i].chartInstance,e.animations[i]),e.animations[i].animationObject.currentStep===e.animations[i].animationObject.numSteps?(e.animations[i].animationObject.onAnimationComplete&&e.animations[i].animationObject.onAnimationComplete.call&&e.animations[i].animationObject.onAnimationComplete.call(e.animations[i].chartInstance,e.animations[i]),e.animations[i].chartInstance.animating=!1,e.animations.splice(i,1)):++i;var r=Date.now(),a=(r-t)/e.frameDuration;e.dropFrames+=a,e.animations.length>0&&e.requestAnimationFrame()}}}},{}],22:[function(e,t,n){"use strict";t.exports=function(e){var t=e.canvasHelpers={};t.drawPoint=function(e,t,n,i,r){var a,o,s,l,u,d;if("object"==typeof t&&(a=t.toString(),"[object HTMLImageElement]"===a||"[object HTMLCanvasElement]"===a))return void e.drawImage(t,i-t.width/2,r-t.height/2);if(!(isNaN(n)||0>=n)){switch(t){default:e.beginPath(),e.arc(i,r,n,0,2*Math.PI),e.closePath(),e.fill();break;case"triangle":e.beginPath(),o=3*n/Math.sqrt(3),u=o*Math.sqrt(3)/2,e.moveTo(i-o/2,r+u/3),e.lineTo(i+o/2,r+u/3),e.lineTo(i,r-2*u/3),e.closePath(),e.fill();break;case"rect":d=1/Math.SQRT2*n,e.beginPath(),e.fillRect(i-d,r-d,2*d,2*d),e.strokeRect(i-d,r-d,2*d,2*d);break;case"rectRot":d=1/Math.SQRT2*n,e.beginPath(),e.moveTo(i-d,r),e.lineTo(i,r+d),e.lineTo(i+d,r),e.lineTo(i,r-d),e.closePath(),e.fill();break;case"cross":e.beginPath(),e.moveTo(i,r+n),e.lineTo(i,r-n),e.moveTo(i-n,r),e.lineTo(i+n,r),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,r-l),e.lineTo(i+s,r+l),e.moveTo(i-s,r+l),e.lineTo(i+s,r-l),e.closePath();break;case"star":e.beginPath(),e.moveTo(i,r+n),e.lineTo(i,r-n),e.moveTo(i-n,r),e.lineTo(i+n,r),s=Math.cos(Math.PI/4)*n,l=Math.sin(Math.PI/4)*n,e.moveTo(i-s,r-l),e.lineTo(i+s,r+l),e.moveTo(i-s,r+l),e.lineTo(i+s,r-l),e.closePath();break;case"line":e.beginPath(),e.moveTo(i-n,r),e.lineTo(i+n,r),e.closePath();break;case"dash":e.beginPath(),e.moveTo(i,r),e.lineTo(i+n,r),e.closePath()}e.stroke()}}}},{}],23:[function(e,t,n){"use strict";t.exports=function(e){function t(e,t){var n=o.getStyle(e,t),i=n&&n.match(/(\d+)px/);return i?Number(i[1]):void 0}function n(e,n){var i=e.style,r=e.getAttribute("height"),a=e.getAttribute("width");if(e._chartjs={initial:{height:r,width:a,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",null===a||""===a){var o=t(e,"width");void 0!==o&&(e.width=o)}if(null===r||""===r)if(""===e.style.height)e.height=e.width/(n.options.aspectRatio||2);else{var s=t(e,"height");void 0!==o&&(e.height=s)}return e}function i(e){if(e._chartjs){var t=e._chartjs.initial;["height","width"].forEach(function(n){var i=t[n];void 0===i||null===i?e.removeAttribute(n):e.setAttribute(n,i)}),o.each(t.style||{},function(t,n){e.style[n]=t}),e.width=e.width,delete e._chartjs}}function r(e,t){if("string"==typeof e?e=document.getElementById(e):e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e instanceof HTMLCanvasElement){var i=e.getContext&&e.getContext("2d");if(i instanceof CanvasRenderingContext2D)return n(e,t),i}return null}function a(t){t=t||{};var n=t.data=t.data||{};return n.datasets=n.datasets||[],n.labels=n.labels||[],t.options=o.configMerge(e.defaults.global,e.defaults[t.type],t.options||{}),t}var o=e.helpers;e.types={},e.instances={},e.controllers={},e.Controller=function(t,n,i){var s=this;n=a(n);var l=r(t,n),u=l&&l.canvas,d=u&&u.height,c=u&&u.width;return i.ctx=l,i.canvas=u,i.config=n,i.width=c,i.height=d,i.aspectRatio=d?c/d:null,s.id=o.uid(),s.chart=i,s.config=n,s.options=n.options,s._bufferedRender=!1,e.instances[s.id]=s,Object.defineProperty(s,"data",{get:function(){return s.config.data}}),l&&u?(o.retinaScale(i),s.options.responsive&&(o.addResizeListener(u.parentNode,function(){s.resize()}),s.resize(!0)),s.initialize(),s):s},o.extend(e.Controller.prototype,{initialize:function(){var t=this;return e.plugins.notify("beforeInit",[t]),t.bindEvents(),t.ensureScalesHaveIDs(),t.buildOrUpdateControllers(),t.buildScales(),t.updateLayout(),t.resetElements(),t.initToolTip(),t.update(),e.plugins.notify("afterInit",[t]),t},clear:function(){return o.clear(this.chart),this},stop:function(){return e.animationService.cancelAnimation(this),this},resize:function(t){var n=this,i=n.chart,r=n.options,a=i.canvas,s=r.maintainAspectRatio&&i.aspectRatio||null,l=Math.floor(o.getMaximumWidth(a)),u=Math.floor(s?l/s:o.getMaximumHeight(a));if(i.width!==l||i.height!==u){a.width=i.width=l,a.height=i.height=u,a.style.width=l+"px",a.style.height=u+"px",o.retinaScale(i);var d={width:l,height:u};e.plugins.notify("resize",[n,d]),n.options.onResize&&n.options.onResize(n,d),t||(n.stop(),n.update(n.options.responsiveAnimationDuration))}},ensureScalesHaveIDs:function(){var e=this.options,t=e.scales||{},n=e.scale;o.each(t.xAxes,function(e,t){e.id=e.id||"x-axis-"+t}),o.each(t.yAxes,function(e,t){e.id=e.id||"y-axis-"+t}),n&&(n.id=n.id||"scale")},buildScales:function(){var t=this,n=t.options,i=t.scales={},r=[];n.scales&&(r=r.concat((n.scales.xAxes||[]).map(function(e){return{options:e,dtype:"category"}}),(n.scales.yAxes||[]).map(function(e){return{options:e,dtype:"linear"}}))),n.scale&&r.push({options:n.scale,dtype:"radialLinear",isDefault:!0}),o.each(r,function(n){var r=n.options,a=o.getValueOrDefault(r.type,n.dtype),s=e.scaleService.getScaleConstructor(a);if(s){var l=new s({id:r.id,options:r,ctx:t.chart.ctx,chart:t});i[l.id]=l,n.isDefault&&(t.scale=l)}}),e.scaleService.addScalesToLayout(this)},updateLayout:function(){e.layoutService.update(this,this.chart.width,this.chart.height)},buildOrUpdateControllers:function(){var t=this,n=[],i=[];if(o.each(t.data.datasets,function(r,a){var o=t.getDatasetMeta(a);o.type||(o.type=r.type||t.config.type),n.push(o.type),o.controller?o.controller.updateIndex(a):(o.controller=new e.controllers[o.type](t,a),i.push(o.controller))},t),n.length>1)for(var r=1;r<n.length;r++)if(n[r]!==n[r-1]){t.isCombo=!0;break}return i},resetElements:function(){var e=this;o.each(e.data.datasets,function(t,n){e.getDatasetMeta(n).controller.reset()},e)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t,n){var i=this;e.plugins.notify("beforeUpdate",[i]),i.tooltip._data=i.data;var r=i.buildOrUpdateControllers();o.each(i.data.datasets,function(e,t){i.getDatasetMeta(t).controller.buildOrUpdateElements()},i),e.layoutService.update(i,i.chart.width,i.chart.height),e.plugins.notify("afterScaleUpdate",[i]),o.each(r,function(e){e.reset()}),i.updateDatasets(),e.plugins.notify("afterUpdate",[i]),i._bufferedRender?i._bufferedRequest={lazy:n,duration:t}:i.render(t,n)},updateDatasets:function(){var t,n,i=this;if(e.plugins.notify("beforeDatasetsUpdate",[i])){for(t=0,n=i.data.datasets.length;n>t;++t)i.getDatasetMeta(t).controller.update();e.plugins.notify("afterDatasetsUpdate",[i])}},render:function(t,n){var i=this;e.plugins.notify("beforeRender",[i]);var r=i.options.animation;if(r&&("undefined"!=typeof t&&0!==t||"undefined"==typeof t&&0!==r.duration)){var a=new e.Animation;a.numSteps=(t||r.duration)/16.66,a.easing=r.easing,a.render=function(e,t){var n=o.easingEffects[t.easing],i=t.currentStep/t.numSteps,r=n(i);e.draw(r,i,t.currentStep)},a.onAnimationProgress=r.onProgress,a.onAnimationComplete=r.onComplete,e.animationService.addAnimation(i,a,t,n)}else i.draw(),r&&r.onComplete&&r.onComplete.call&&r.onComplete.call(i);return i},draw:function(t){var n=this,i=t||1;n.clear(),e.plugins.notify("beforeDraw",[n,i]),o.each(n.boxes,function(e){e.draw(n.chartArea)},n),n.scale&&n.scale.draw(),e.plugins.notify("beforeDatasetsDraw",[n,i]),o.each(n.data.datasets,function(e,i){n.isDatasetVisible(i)&&n.getDatasetMeta(i).controller.draw(t)},n,!0),e.plugins.notify("afterDatasetsDraw",[n,i]),n.tooltip.transition(i).draw(),e.plugins.notify("afterDraw",[n,i])},getElementAtEvent:function(t){return e.Interaction.modes.single(this,t)},getElementsAtEvent:function(t){return e.Interaction.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return e.Interaction.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,n,i){var r=e.Interaction.modes[n];return"function"==typeof r?r(this,t,i):[]},getDatasetAtEvent:function(t){return e.Interaction.modes.dataset(this,t)},getDatasetMeta:function(e){var t=this,n=t.data.datasets[e];n._meta||(n._meta={});var i=n._meta[t.id];return i||(i=n._meta[t.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),i},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;n>t;++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)},destroy:function(){var t,n,r,a=this,s=a.chart.canvas;for(a.stop(),n=0,r=a.data.datasets.length;r>n;++n)t=a.getDatasetMeta(n),t.controller&&(t.controller.destroy(),t.controller=null);s&&(o.unbindEvents(a,a.events),o.removeResizeListener(s.parentNode),o.clear(a.chart),i(s),a.chart.canvas=null,a.chart.ctx=null),e.plugins.notify("destroy",[a]),delete e.instances[a.id]},toBase64Image:function(){return this.chart.canvas.toDataURL.apply(this.chart.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new e.Tooltip({_chart:t.chart,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t),t.tooltip.initialize()},bindEvents:function(){var e=this;o.bindEvents(e,e.options.events,function(t){e.eventHandler(t)})},updateHoverStyle:function(e,t,n){var i,r,a,o=n?"setHoverStyle":"removeHoverStyle";for(r=0,a=e.length;a>r;++r)i=e[r],i&&this.getDatasetMeta(i._datasetIndex).controller[o](i)},eventHandler:function(e){var t=this,n=t.legend,i=t.tooltip,r=t.options.hover;t._bufferedRender=!0,t._bufferedRequest=null;var a=t.handleEvent(e);a|=n&&n.handleEvent(e),a|=i&&i.handleEvent(e);var o=t._bufferedRequest;return o?t.render(o.duration,o.lazy):a&&!t.animating&&(t.stop(),t.render(r.animationDuration,!0)),t._bufferedRender=!1,t._bufferedRequest=null,t},handleEvent:function(e){var t=this,n=t.options||{},i=n.hover,r=!1;return t.lastActive=t.lastActive||[],"mouseout"===e.type?t.active=[]:t.active=t.getElementsAtEventForMode(e,i.mode,i),i.onHover&&i.onHover.call(t,t.active),("mouseup"===e.type||"click"===e.type)&&n.onClick&&n.onClick.call(t,e,t.active),t.lastActive.length&&t.updateHoverStyle(t.lastActive,i.mode,!1),t.active.length&&i.mode&&t.updateHoverStyle(t.active,i.mode,!0),r=!o.arrayEquals(t.active,t.lastActive),t.lastActive=t.active,r}})}},{}],24:[function(e,t,n){"use strict";t.exports=function(e){function t(e,t){return e._chartjs?void e._chartjs.listeners.push(t):(Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),void r.forEach(function(t){var n="onData"+t.charAt(0).toUpperCase()+t.slice(1),r=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:function(){var t=Array.prototype.slice.call(arguments),a=r.apply(this,t);return i.each(e._chartjs.listeners,function(e){"function"==typeof e[n]&&e[n].apply(e,t)}),a}})}))}function n(e,t){var n=e._chartjs;if(n){var i=n.listeners,a=i.indexOf(t);-1!==a&&i.splice(a,1),i.length>0||(r.forEach(function(t){delete e[t]}),delete e._chartjs)}}var i=e.helpers,r=["push","pop","shift","splice","unshift"];e.DatasetController=function(e,t){this.initialize(e,t)},i.extend(e.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(e,t){var n=this;n.chart=e,n.index=t,n.linkScales(),n.addElements()},updateIndex:function(e){this.index=e},linkScales:function(){var e=this,t=e.getMeta(),n=e.getDataset();null===t.xAxisID&&(t.xAxisID=n.xAxisID||e.chart.options.scales.xAxes[0].id),null===t.yAxisID&&(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&&n(this._data,this)},createMetaDataset:function(){var e=this,t=e.datasetElementType;return t&&new t({_chart:e.chart.chart,_datasetIndex:e.index})},createMetaData:function(e){var t=this,n=t.dataElementType;return n&&new n({_chart:t.chart.chart,_datasetIndex:t.index,_index:e})},addElements:function(){var e,t,n=this,i=n.getMeta(),r=n.getDataset().data||[],a=i.data;for(e=0,t=r.length;t>e;++e)a[e]=a[e]||n.createMetaData(e);i.dataset=i.dataset||n.createMetaDataset()},addElementAndReset:function(e){var t=this.createMetaData(e);this.getMeta().data.splice(e,0,t),this.updateElement(t,e,!0)},buildOrUpdateElements:function(){var e=this,i=e.getDataset(),r=i.data||(i.data=[]);e._data!==r&&(e._data&&n(e._data,e),t(r,e),e._data=r),e.resyncElements()},update:i.noop,draw:function(e){var t,n,i=e||1,r=this.getMeta().data;for(t=0,n=r.length;n>t;++t)r[t].transition(i).draw()},removeHoverStyle:function(e,t){var n=this.chart.data.datasets[e._datasetIndex],r=e._index,a=e.custom||{},o=i.getValueAtIndexOrDefault,s=e._model;s.backgroundColor=a.backgroundColor?a.backgroundColor:o(n.backgroundColor,r,t.backgroundColor),s.borderColor=a.borderColor?a.borderColor:o(n.borderColor,r,t.borderColor),s.borderWidth=a.borderWidth?a.borderWidth:o(n.borderWidth,r,t.borderWidth)},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,r=e.custom||{},a=i.getValueAtIndexOrDefault,o=i.getHoverColor,s=e._model;s.backgroundColor=r.hoverBackgroundColor?r.hoverBackgroundColor:a(t.hoverBackgroundColor,n,o(s.backgroundColor)),s.borderColor=r.hoverBorderColor?r.hoverBorderColor:a(t.hoverBorderColor,n,o(s.borderColor)),s.borderWidth=r.hoverBorderWidth?r.hoverBorderWidth:a(t.hoverBorderWidth,n,s.borderWidth)},resyncElements:function(){var e=this,t=e.getMeta(),n=e.getDataset().data,i=t.data.length,r=n.length;i>r?t.data.splice(r,i-r):r>i&&e.insertElements(i,r-i)},insertElements:function(e,t){for(var n=0;t>n;++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=i.inherits}},{}],25:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.elements={},e.Element=function(e){t.extend(this,e),this.initialize.apply(this,arguments)},t.extend(e.Element.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var e=this;return e._view||(e._view=t.clone(e._model)),e._start=t.clone(e._view),e},transition:function(e){var n=this;return n._view||(n._view=t.clone(n._model)),1===e?(n._view=n._model,n._start=null,n):(n._start||n.pivot(),t.each(n._model,function(i,r){if("_"===r[0]);else if(n._view.hasOwnProperty(r))if(i===n._view[r]);else if("string"==typeof i)try{var a=t.color(n._model[r]).mix(t.color(n._start[r]),e);n._view[r]=a.rgbString()}catch(o){n._view[r]=i}else if("number"==typeof i){var s=void 0!==n._start[r]&&isNaN(n._start[r])===!1?n._start[r]:0;n._view[r]=(n._model[r]-s)*e+s}else n._view[r]=i;else"number"!=typeof i||isNaN(n._view[r])?n._view[r]=i:n._view[r]=i*e},n),n)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return t.isNumber(this._model.x)&&t.isNumber(this._model.y)}}),e.Element.extend=t.inherits}},{}],26:[function(e,t,n){"use strict";var i=e(3);t.exports=function(e){function t(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 n(e){return void 0!==e&&null!==e&&"none"!==e}function r(e,i,r){var a=document.defaultView,o=e.parentNode,s=a.getComputedStyle(e)[i],l=a.getComputedStyle(o)[i],u=n(s),d=n(l),c=Number.POSITIVE_INFINITY;return u||d?Math.min(u?t(s,e,r):c,d?t(l,o,r):c):"none"}var a=e.helpers={};a.each=function(e,t,n,i){var r,o;if(a.isArray(e))if(o=e.length,i)for(r=o-1;r>=0;r--)t.call(n,e[r],r);else for(r=0;o>r;r++)t.call(n,e[r],r);else if("object"==typeof e){var s=Object.keys(e);for(o=s.length,r=0;o>r;r++)t.call(n,e[s[r]],s[r]);
}},a.clone=function(e){var t={};return a.each(e,function(e,n){a.isArray(e)?t[n]=e.slice(0):"object"==typeof e&&null!==e?t[n]=a.clone(e):t[n]=e}),t},a.extend=function(e){for(var t=function(t,n){e[n]=t},n=1,i=arguments.length;i>n;n++)a.each(arguments[n],t);return e},a.configMerge=function(t){var n=a.clone(t);return a.each(Array.prototype.slice.call(arguments,1),function(t){a.each(t,function(t,i){var r=n.hasOwnProperty(i),o=r?n[i]:{};"scales"===i?n[i]=a.scaleMerge(o,t):"scale"===i?n[i]=a.configMerge(o,e.scaleService.getScaleDefaults(t.type),t):!r||"object"!=typeof o||a.isArray(o)||null===o||"object"!=typeof t||a.isArray(t)?n[i]=t:n[i]=a.configMerge(o,t)})}),n},a.scaleMerge=function(t,n){var i=a.clone(t);return a.each(n,function(t,n){"xAxes"===n||"yAxes"===n?i.hasOwnProperty(n)?a.each(t,function(t,r){var o=a.getValueOrDefault(t.type,"xAxes"===n?"category":"linear"),s=e.scaleService.getScaleDefaults(o);r>=i[n].length||!i[n][r].type?i[n].push(a.configMerge(s,t)):t.type&&t.type!==i[n][r].type?i[n][r]=a.configMerge(i[n][r],s,t):i[n][r]=a.configMerge(i[n][r],t)}):(i[n]=[],a.each(t,function(t){var r=a.getValueOrDefault(t.type,"xAxes"===n?"category":"linear");i[n].push(a.configMerge(e.scaleService.getScaleDefaults(r),t))})):i.hasOwnProperty(n)&&"object"==typeof i[n]&&null!==i[n]&&"object"==typeof t?i[n]=a.configMerge(i[n],t):i[n]=t}),i},a.getValueAtIndexOrDefault=function(e,t,n){return void 0===e||null===e?n:a.isArray(e)?t<e.length?e[t]:n:e},a.getValueOrDefault=function(e,t){return void 0===e?t:e},a.indexOf=Array.prototype.indexOf?function(e,t){return e.indexOf(t)}:function(e,t){for(var n=0,i=e.length;i>n;++n)if(e[n]===t)return n;return-1},a.where=function(e,t){if(a.isArray(e)&&Array.prototype.filter)return e.filter(t);var n=[];return a.each(e,function(e){t(e)&&n.push(e)}),n},a.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,r=e.length;r>i;++i)if(t.call(n,e[i],i,e))return i;return-1},a.findNextWhere=function(e,t,n){(void 0===n||null===n)&&(n=-1);for(var i=n+1;i<e.length;i++){var r=e[i];if(t(r))return r}},a.findPreviousWhere=function(e,t,n){(void 0===n||null===n)&&(n=e.length);for(var i=n-1;i>=0;i--){var r=e[i];if(t(r))return r}},a.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=a.inherits,e&&a.extend(n.prototype,e),n.__super__=t.prototype,n},a.noop=function(){},a.uid=function(){var e=0;return function(){return e++}}(),a.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},a.almostEquals=function(e,t,n){return Math.abs(e-t)<n},a.max=function(e){return e.reduce(function(e,t){return isNaN(t)?e:Math.max(e,t)},Number.NEGATIVE_INFINITY)},a.min=function(e){return e.reduce(function(e,t){return isNaN(t)?e:Math.min(e,t)},Number.POSITIVE_INFINITY)},a.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return e=+e,0===e||isNaN(e)?e:e>0?1:-1},a.log10=Math.log10?function(e){return Math.log10(e)}:function(e){return Math.log(e)/Math.LN10},a.toRadians=function(e){return e*(Math.PI/180)},a.toDegrees=function(e){return e*(180/Math.PI)},a.getAngleFromPoint=function(e,t){var n=t.x-e.x,i=t.y-e.y,r=Math.sqrt(n*n+i*i),a=Math.atan2(i,n);return a<-.5*Math.PI&&(a+=2*Math.PI),{angle:a,distance:r}},a.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},a.aliasPixel=function(e){return e%2===0?0:.5},a.splineCurve=function(e,t,n,i){var r=e.skip?t:e,a=t,o=n.skip?t:n,s=Math.sqrt(Math.pow(a.x-r.x,2)+Math.pow(a.y-r.y,2)),l=Math.sqrt(Math.pow(o.x-a.x,2)+Math.pow(o.y-a.y,2)),u=s/(s+l),d=l/(s+l);u=isNaN(u)?0:u,d=isNaN(d)?0:d;var c=i*u,h=i*d;return{previous:{x:a.x-c*(o.x-r.x),y:a.y-c*(o.y-r.y)},next:{x:a.x+h*(o.x-r.x),y:a.y+h*(o.y-r.y)}}},a.EPSILON=Number.EPSILON||1e-14,a.splineCurveMonotone=function(e){var t,n,i,r,o=(e||[]).map(function(e){return{model:e._model,deltaK:0,mK:0}}),s=o.length;for(t=0;s>t;++t)i=o[t],i.model.skip||(n=t>0?o[t-1]:null,r=s-1>t?o[t+1]:null,r&&!r.model.skip&&(i.deltaK=(r.model.y-i.model.y)/(r.model.x-i.model.x)),!n||n.model.skip?i.mK=i.deltaK:!r||r.model.skip?i.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(i.deltaK)?i.mK=0:i.mK=(n.deltaK+i.deltaK)/2);var l,u,d,c;for(t=0;s-1>t;++t)i=o[t],r=o[t+1],i.model.skip||r.model.skip||(a.almostEquals(i.deltaK,0,this.EPSILON)?i.mK=r.mK=0:(l=i.mK/i.deltaK,u=r.mK/i.deltaK,c=Math.pow(l,2)+Math.pow(u,2),9>=c||(d=3/Math.sqrt(c),i.mK=l*d*i.deltaK,r.mK=u*d*i.deltaK)));var h;for(t=0;s>t;++t)i=o[t],i.model.skip||(n=t>0?o[t-1]:null,r=s-1>t?o[t+1]:null,n&&!n.model.skip&&(h=(i.model.x-n.model.x)/3,i.model.controlPointPreviousX=i.model.x-h,i.model.controlPointPreviousY=i.model.y-h*i.mK),r&&!r.model.skip&&(h=(r.model.x-i.model.x)/3,i.model.controlPointNextX=i.model.x+h,i.model.controlPointNextY=i.model.y+h*i.mK))},a.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]},a.previousItem=function(e,t,n){return n?0>=t?e[e.length-1]:e[t-1]:0>=t?e[0]:e[t-1]},a.niceNum=function(e,t){var n,i=Math.floor(a.log10(e)),r=e/Math.pow(10,i);return n=t?1.5>r?1:3>r?2:7>r?5:10:1>=r?1:2>=r?2:5>=r?5:10,n*Math.pow(10,i)};var o=a.easingEffects={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return-1*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 1*((e=e/1-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-1*((e=e/1-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 1*(e/=1)*e*e*e*e},easeOutQuint:function(e){return 1*((e=e/1-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/1*(Math.PI/2))+1},easeOutSine:function(e){return 1*Math.sin(e/1*(Math.PI/2))},easeInOutSine:function(e){return-.5*(Math.cos(Math.PI*e/1)-1)},easeInExpo:function(e){return 0===e?1:1*Math.pow(2,10*(e/1-1))},easeOutExpo:function(e){return 1===e?1:1*(-Math.pow(2,-10*e/1)+1)},easeInOutExpo:function(e){return 0===e?0:1===e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(-Math.pow(2,-10*--e)+2)},easeInCirc:function(e){return e>=1?e:-1*(Math.sqrt(1-(e/=1)*e)-1)},easeOutCirc:function(e){return 1*Math.sqrt(1-(e=e/1-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)?1:(n||(n=.3),i<Math.abs(1)?(i=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/i),-(i*Math.pow(2,10*(e-=1))*Math.sin((1*e-t)*(2*Math.PI)/n)))},easeOutElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:1===(e/=1)?1:(n||(n=.3),i<Math.abs(1)?(i=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*e)*Math.sin((1*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=1*(.3*1.5)),i<Math.abs(1)?(i=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/i),1>e?-.5*(i*Math.pow(2,10*(e-=1))*Math.sin((1*e-t)*(2*Math.PI)/n)):i*Math.pow(2,-10*(e-=1))*Math.sin((1*e-t)*(2*Math.PI)/n)*.5+1)},easeInBack:function(e){var t=1.70158;return 1*(e/=1)*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return 1*((e=e/1-1)*e*((t+1)*e+t)+1)},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:function(e){return 1-o.easeOutBounce(1-e)},easeOutBounce:function(e){return(e/=1)<1/2.75?1*(7.5625*e*e):2/2.75>e?1*(7.5625*(e-=1.5/2.75)*e+.75):2.5/2.75>e?1*(7.5625*(e-=2.25/2.75)*e+.9375):1*(7.5625*(e-=2.625/2.75)*e+.984375)},easeInOutBounce:function(e){return.5>e?.5*o.easeInBounce(2*e):.5*o.easeOutBounce(2*e-1)+.5}};a.requestAnimFrame=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)}}(),a.cancelAnimFrame=function(){return window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame||function(e){return window.clearTimeout(e,1e3/60)}}(),a.getRelativePosition=function(e,t){var n,i,r=e.originalEvent||e,o=e.currentTarget||e.srcElement,s=o.getBoundingClientRect(),l=r.touches;l&&l.length>0?(n=l[0].clientX,i=l[0].clientY):(n=r.clientX,i=r.clientY);var u=parseFloat(a.getStyle(o,"padding-left")),d=parseFloat(a.getStyle(o,"padding-top")),c=parseFloat(a.getStyle(o,"padding-right")),h=parseFloat(a.getStyle(o,"padding-bottom")),f=s.right-s.left-u-c,p=s.bottom-s.top-d-h;return n=Math.round((n-s.left-u)/f*o.width/t.currentDevicePixelRatio),i=Math.round((i-s.top-d)/p*o.height/t.currentDevicePixelRatio),{x:n,y:i}},a.addEvent=function(e,t,n){e.addEventListener?e.addEventListener(t,n):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n},a.removeEvent=function(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent?e.detachEvent("on"+t,n):e["on"+t]=a.noop},a.bindEvents=function(e,t,n){var i=e.events=e.events||{};a.each(t,function(t){i[t]=function(){n.apply(e,arguments)},a.addEvent(e.chart.canvas,t,i[t])})},a.unbindEvents=function(e,t){var n=e.chart.canvas;a.each(t,function(e,t){a.removeEvent(n,t,e)})},a.getConstraintWidth=function(e){return r(e,"max-width","clientWidth")},a.getConstraintHeight=function(e){return r(e,"max-height","clientHeight")},a.getMaximumWidth=function(e){var t=e.parentNode,n=parseInt(a.getStyle(t,"padding-left"),10),i=parseInt(a.getStyle(t,"padding-right"),10),r=t.clientWidth-n-i,o=a.getConstraintWidth(e);return isNaN(o)?r:Math.min(r,o)},a.getMaximumHeight=function(e){var t=e.parentNode,n=parseInt(a.getStyle(t,"padding-top"),10),i=parseInt(a.getStyle(t,"padding-bottom"),10),r=t.clientHeight-n-i,o=a.getConstraintHeight(e);return isNaN(o)?r:Math.min(r,o)},a.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},a.retinaScale=function(e){var t=e.currentDevicePixelRatio=window.devicePixelRatio||1;if(1!==t){var n=e.canvas,i=e.height,r=e.width;n.height=i*t,n.width=r*t,e.ctx.scale(t,t),n.style.height=i+"px",n.style.width=r+"px"}},a.clear=function(e){e.ctx.clearRect(0,0,e.width,e.height)},a.fontString=function(e,t,n){return t+" "+e+"px "+n},a.longestText=function(e,t,n,i){i=i||{};var r=i.data=i.data||{},o=i.garbageCollect=i.garbageCollect||[];i.font!==t&&(r=i.data={},o=i.garbageCollect=[],i.font=t),e.font=t;var s=0;a.each(n,function(t){void 0!==t&&null!==t&&a.isArray(t)!==!0?s=a.measureText(e,r,o,s,t):a.isArray(t)&&a.each(t,function(t){void 0===t||null===t||a.isArray(t)||(s=a.measureText(e,r,o,s,t))})});var l=o.length/2;if(l>n.length){for(var u=0;l>u;u++)delete r[o[u]];o.splice(0,l)}return s},a.measureText=function(e,t,n,i,r){var a=t[r];return a||(a=t[r]=e.measureText(r).width,n.push(r)),a>i&&(i=a),i},a.numberOfLabelLines=function(e){var t=1;return a.each(e,function(e){a.isArray(e)&&e.length>t&&(t=e.length)}),t},a.drawRoundedRectangle=function(e,t,n,i,r,a){e.beginPath(),e.moveTo(t+a,n),e.lineTo(t+i-a,n),e.quadraticCurveTo(t+i,n,t+i,n+a),e.lineTo(t+i,n+r-a),e.quadraticCurveTo(t+i,n+r,t+i-a,n+r),e.lineTo(t+a,n+r),e.quadraticCurveTo(t,n+r,t,n+r-a),e.lineTo(t,n+a),e.quadraticCurveTo(t,n,t+a,n),e.closePath()},a.color=function(t){return i?i(t instanceof CanvasGradient?e.defaults.global.defaultColor:t):t},a.addResizeListener=function(e,t){var n=document.createElement("iframe");n.className="chartjs-hidden-iframe",n.style.cssText="display:block;overflow:hidden;border:0;margin:0;top:0;left:0;bottom:0;right:0;height:100%;width:100%;position:absolute;pointer-events:none;z-index:-1;",n.tabIndex=-1;var i=e._chartjs={resizer:n,ticking:!1},r=function(){i.ticking||(i.ticking=!0,a.requestAnimFrame.call(window,function(){return i.resizer?(i.ticking=!1,t()):void 0}))};a.addEvent(n,"load",function(){a.addEvent(n.contentWindow||n,"resize",r),r()}),e.insertBefore(n,e.firstChild)},a.removeResizeListener=function(e){if(e&&e._chartjs){var t=e._chartjs.resizer;t&&(t.parentNode.removeChild(t),e._chartjs.resizer=null),delete e._chartjs}},a.isArray=Array.isArray?function(e){return Array.isArray(e)}:function(e){return"[object Array]"===Object.prototype.toString.call(e)},a.arrayEquals=function(e,t){var n,i,r,o;if(!e||!t||e.length!==t.length)return!1;for(n=0,i=e.length;i>n;++n)if(r=e[n],o=t[n],r instanceof Array&&o instanceof Array){if(!a.arrayEquals(r,o))return!1}else if(r!==o)return!1;return!0},a.callCallback=function(e,t,n){e&&"function"==typeof e.call&&e.apply(n,t)},a.getHoverColor=function(e){return e instanceof CanvasPattern?e:a.color(e).saturate(.5).darken(.1).rgbString()}}},{3:3}],27:[function(e,t,n){"use strict";t.exports=function(e){function t(e,t){var n,i,r,a,o,s=e.data.datasets;for(i=0,a=s.length;a>i;++i)if(e.isDatasetVisible(i))for(n=e.getDatasetMeta(i),r=0,o=n.data.length;o>r;++r){var l=n.data[r];l._view.skip||t(l)}}function n(e,n){var i=[];return t(e,function(e){e.inRange(n.x,n.y)&&i.push(e)}),i}function i(e,n,i,r){var o=Number.POSITIVE_INFINITY,s=[];return r||(r=a.distanceBetweenPoints),t(e,function(e){if(!i||e.inRange(n.x,n.y)){var t=e.getCenterPoint(),a=r(n,t);o>a?(s=[e],o=a):a===o&&s.push(e)}}),s}function r(e,t,r){var o=a.getRelativePosition(t,e.chart),s=function(e,t){return Math.abs(e.x-t.x)},l=r.intersect?n(e,o):i(e,o,!1,s),u=[];return l.length?(e.data.datasets.forEach(function(t,n){if(e.isDatasetVisible(n)){var i=e.getDatasetMeta(n),r=i.data[l[0]._index];r&&!r._view.skip&&u.push(r)}}),u):[]}var a=e.helpers;e.Interaction={modes:{single:function(e,n){var i=a.getRelativePosition(n,e.chart),r=[];return t(e,function(e){return e.inRange(i.x,i.y)?(r.push(e),r):void 0}),r.slice(0,1)},label:r,index:r,dataset:function(e,t,r){var o=a.getRelativePosition(t,e.chart),s=r.intersect?n(e,o):i(e,o,!1);return s.length>0&&(s=e.getDatasetMeta(s[0]._datasetIndex).data),s},"x-axis":function(e,t){return r(e,t,!0)},point:function(e,t){var i=a.getRelativePosition(t,e.chart);return n(e,i)},nearest:function(e,t,n){var r=a.getRelativePosition(t,e.chart),o=i(e,r,n.intersect);return o.length>1&&o.sort(function(e,t){var n=e.getArea(),i=t.getArea(),r=n-i;return 0===r&&(r=e._datasetIndex-t._datasetIndex),r}),o.slice(0,1)},x:function(e,n,i){var r=a.getRelativePosition(n,e.chart),o=[],s=!1;return t(e,function(e){e.inXRange(r.x)&&o.push(e),e.inRange(r.x,r.y)&&(s=!0)}),i.intersect&&!s&&(o=[]),o},y:function(e,n,i){var r=a.getRelativePosition(n,e.chart),o=[],s=!1;return t(e,function(e){e.inYRange(r.y)&&o.push(e),e.inRange(r.x,r.y)&&(s=!0)}),i.intersect&&!s&&(o=[]),o}}}}},{}],28:[function(e,t,n){"use strict";t.exports=function(){var e=function(t,n){return this.controller=new e.Controller(t,n,this),this.controller};return e.defaults={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:{},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("")}}},e.Chart=e,e}},{}],29:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.layoutService={defaults:{},addBox:function(e,t){e.boxes||(e.boxes=[]),e.boxes.push(t)},removeBox:function(e,t){e.boxes&&e.boxes.splice(e.boxes.indexOf(t),1)},update:function(e,n,i){function r(e){var t,n=e.isHorizontal();n?(t=e.update(e.options.fullWidth?v:L,k),D-=t.height):(t=e.update(x,w),L-=t.width),T.push({horizontal:n,minSize:t,box:e})}function a(e){var n=t.findNextWhere(T,function(t){return t.box===e});if(n)if(e.isHorizontal()){var i={left:Y,right:S,top:0,bottom:0};e.update(e.options.fullWidth?v:L,b/2,i)}else e.update(n.minSize.width,D)}function o(e){var n=t.findNextWhere(T,function(t){return t.box===e}),i={left:0,right:0,top:C,bottom:H};n&&e.update(n.minSize.width,D,i)}function s(e){e.isHorizontal()?(e.left=e.options.fullWidth?d:Y,e.right=e.options.fullWidth?n-c:Y+L,e.top=E,e.bottom=E+e.height,E=e.bottom):(e.left=P,e.right=P+e.width,e.top=C,e.bottom=C+D,P=e.right)}if(e){var l=e.options.layout,u=l?l.padding:null,d=0,c=0,h=0,f=0;isNaN(u)?(d=u.left||0,c=u.right||0,h=u.top||0,f=u.bottom||0):(d=u,c=u,h=u,f=u);var p=t.where(e.boxes,function(e){return"left"===e.options.position}),m=t.where(e.boxes,function(e){return"right"===e.options.position}),_=t.where(e.boxes,function(e){return"top"===e.options.position}),g=t.where(e.boxes,function(e){return"bottom"===e.options.position}),y=t.where(e.boxes,function(e){return"chartArea"===e.options.position});_.sort(function(e,t){return(t.options.fullWidth?1:0)-(e.options.fullWidth?1:0)}),g.sort(function(e,t){return(e.options.fullWidth?1:0)-(t.options.fullWidth?1:0)});var v=n-d-c,b=i-h-f,M=v/2,w=b/2,x=(n-M)/(p.length+m.length),k=(i-w)/(_.length+g.length),L=v,D=b,T=[];t.each(p.concat(m,_,g),r);var Y=d,S=c,C=h,H=f;t.each(p.concat(m),a),t.each(p,function(e){Y+=e.width}),t.each(m,function(e){S+=e.width}),t.each(_.concat(g),a),t.each(_,function(e){C+=e.height}),t.each(g,function(e){H+=e.height}),t.each(p.concat(m),o),Y=d,S=c,C=h,H=f,t.each(p,function(e){Y+=e.width}),t.each(m,function(e){S+=e.width}),t.each(_,function(e){C+=e.height}),t.each(g,function(e){H+=e.height});var j=i-C-H,A=n-Y-S;(A!==L||j!==D)&&(t.each(p,function(e){e.height=j}),t.each(m,function(e){e.height=j}),t.each(_,function(e){e.options.fullWidth||(e.width=A)}),t.each(g,function(e){e.options.fullWidth||(e.width=A)}),D=j,L=A);var P=d,E=h;t.each(p.concat(_),s),P+=L,E+=D,t.each(m,s),t.each(g,s),e.chartArea={left:Y,top:C,right:Y+L,bottom:C+D},t.each(y,function(t){t.left=e.chartArea.left,t.top=e.chartArea.top,t.right=e.chartArea.right,t.bottom=e.chartArea.bottom,t.update(L,D)})}}}}},{}],30:[function(e,t,n){"use strict";t.exports=function(e){function t(e,t){return e.usePointStyle?t*Math.SQRT2:e.boxWidth}var n=e.helpers,i=n.noop;e.defaults.global.legend={display:!0,position:"top",fullWidth:!0,reverse:!1,onClick:function(e,t){var n=t.datasetIndex,i=this.chart,r=i.getDatasetMeta(n);r.hidden=null===r.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(e){var t=e.data;return n.isArray(t.datasets)?t.datasets.map(function(t,i){return{text:t.label,fillStyle:n.isArray(t.backgroundColor)?t.backgroundColor[0]:t.backgroundColor,hidden:!e.isDatasetVisible(i),lineCap:t.borderCapStyle,lineDash:t.borderDash,lineDashOffset:t.borderDashOffset,lineJoin:t.borderJoinStyle,lineWidth:t.borderWidth,strokeStyle:t.borderColor,pointStyle:t.pointStyle,datasetIndex:i}},this):[]}}},e.Legend=e.Element.extend({initialize:function(e){n.extend(this,e),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:i,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:i,beforeSetDimensions:i,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:i,beforeBuildLabels:i,buildLabels:function(){var e=this;e.legendItems=e.options.labels.generateLabels.call(e,e.chart),e.options.reverse&&e.legendItems.reverse()},afterBuildLabels:i,beforeFit:i,fit:function(){var i=this,r=i.options,a=r.labels,o=r.display,s=i.ctx,l=e.defaults.global,u=n.getValueOrDefault,d=u(a.fontSize,l.defaultFontSize),c=u(a.fontStyle,l.defaultFontStyle),h=u(a.fontFamily,l.defaultFontFamily),f=n.fontString(d,c,h),p=i.legendHitBoxes=[],m=i.minSize,_=i.isHorizontal();if(_?(m.width=i.maxWidth,m.height=o?10:0):(m.width=o?10:0,m.height=i.maxHeight),o)if(s.font=f,_){var g=i.lineWidths=[0],y=i.legendItems.length?d+a.padding:0;s.textAlign="left",s.textBaseline="top",n.each(i.legendItems,function(e,n){var r=t(a,d),o=r+d/2+s.measureText(e.text).width;g[g.length-1]+o+a.padding>=i.width&&(y+=d+a.padding,g[g.length]=i.left),p[n]={left:0,top:0,width:o,height:d},g[g.length-1]+=o+a.padding}),m.height+=y}else{var v=a.padding,b=i.columnWidths=[],M=a.padding,w=0,x=0,k=d+v;n.each(i.legendItems,function(e,n){var i=t(a,d),r=i+d/2+s.measureText(e.text).width;x+k>m.height&&(M+=w+a.padding,b.push(w),w=0,x=0),w=Math.max(w,r),x+=k,p[n]={left:0,top:0,width:r,height:d}}),M+=w,b.push(w),m.width+=M}i.width=m.width,i.height=m.height},afterFit:i,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var i=this,r=i.options,a=r.labels,o=e.defaults.global,s=o.elements.line,l=i.width,u=i.lineWidths;if(r.display){var d,c=i.ctx,h=n.getValueOrDefault,f=h(a.fontColor,o.defaultFontColor),p=h(a.fontSize,o.defaultFontSize),m=h(a.fontStyle,o.defaultFontStyle),_=h(a.fontFamily,o.defaultFontFamily),g=n.fontString(p,m,_);c.textAlign="left",c.textBaseline="top",c.lineWidth=.5,c.strokeStyle=f,c.fillStyle=f,c.font=g;var y=t(a,p),v=i.legendHitBoxes,b=function(t,n,i){if(!(isNaN(y)||0>=y)){c.save(),c.fillStyle=h(i.fillStyle,o.defaultColor),c.lineCap=h(i.lineCap,s.borderCapStyle),c.lineDashOffset=h(i.lineDashOffset,s.borderDashOffset),c.lineJoin=h(i.lineJoin,s.borderJoinStyle),c.lineWidth=h(i.lineWidth,s.borderWidth),c.strokeStyle=h(i.strokeStyle,o.defaultColor);var a=0===h(i.lineWidth,s.borderWidth);if(c.setLineDash&&c.setLineDash(h(i.lineDash,s.borderDash)),r.labels&&r.labels.usePointStyle){var l=p*Math.SQRT2/2,u=l/Math.SQRT2,d=t+u,f=n+u;e.canvasHelpers.drawPoint(c,i.pointStyle,l,d,f)}else a||c.strokeRect(t,n,y,p),c.fillRect(t,n,y,p);c.restore()}},M=function(e,t,n,i){c.fillText(n.text,y+p/2+e,t),n.hidden&&(c.beginPath(),c.lineWidth=2,c.moveTo(y+p/2+e,t+p/2),c.lineTo(y+p/2+e+i,t+p/2),c.stroke())},w=i.isHorizontal();d=w?{x:i.left+(l-u[0])/2,y:i.top+a.padding,line:0}:{x:i.left+a.padding,y:i.top+a.padding,line:0};var x=p+a.padding;n.each(i.legendItems,function(e,t){var n=c.measureText(e.text).width,r=y+p/2+n,o=d.x,s=d.y;w?o+r>=l&&(s=d.y+=x,d.line++,o=d.x=i.left+(l-u[d.line])/2):s+x>i.bottom&&(o=d.x=o+i.columnWidths[d.line]+a.padding,s=d.y=i.top,d.line++),b(o,s,e),v[t].left=o,v[t].top=s,M(o,s,e,n),w?d.x+=r+a.padding:d.y+=x})}},handleEvent:function(e){var t=this,i=t.options,r="mouseup"===e.type?"click":e.type,a=!1;if("mousemove"===r){if(!i.onHover)return}else{if("click"!==r)return;if(!i.onClick)return}var o=n.getRelativePosition(e,t.chart.chart),s=o.x,l=o.y;if(s>=t.left&&s<=t.right&&l>=t.top&&l<=t.bottom)for(var u=t.legendHitBoxes,d=0;d<u.length;++d){var c=u[d];if(s>=c.left&&s<=c.left+c.width&&l>=c.top&&l<=c.top+c.height){if("click"===r){i.onClick.call(t,e,t.legendItems[d]),a=!0;break}if("mousemove"===r){i.onHover.call(t,e,t.legendItems[d]),a=!0;break}}}return a}}),e.plugins.register({beforeInit:function(t){var n=t.options,i=n.legend;i&&(t.legend=new e.Legend({ctx:t.chart.ctx,options:i,chart:t}),e.layoutService.addBox(t,t.legend))}})}},{}],31:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers.noop;e.plugins={_plugins:[],register:function(e){var t=this._plugins;[].concat(e).forEach(function(e){-1===t.indexOf(e)&&t.push(e)})},unregister:function(e){var t=this._plugins;[].concat(e).forEach(function(e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)})},clear:function(){this._plugins=[]},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(e,t){var n,i,r=this._plugins,a=r.length;for(n=0;a>n;++n)if(i=r[n],"function"==typeof i[e]&&i[e].apply(i,t||[])===!1)return!1;return!0}},e.PluginBase=e.Element.extend({beforeInit:t,afterInit:t,beforeUpdate:t,afterUpdate:t,beforeDraw:t,afterDraw:t,destroy:t}),e.pluginService=e.plugins}},{}],32:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.defaults.scale={display:!0,position:"left",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)",offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{labelString:"",display:!1},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:10,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:e.Ticks.formatters.values}},e.Scale=e.Element.extend({beforeUpdate:function(){t.callCallback(this.options.beforeUpdate,[this])},update:function(e,n,i){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=n,r.margins=t.extend({left:0,right:0,top:0,bottom:0},i),r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeDataLimits(),r.determineDataLimits(),r.afterDataLimits(),r.beforeBuildTicks(),r.buildTicks(),r.afterBuildTicks(),r.beforeTickToLabelConversion(),r.convertTicksToLabels(),r.afterTickToLabelConversion(),r.beforeCalculateTickRotation(),r.calculateTickRotation(),r.afterCalculateTickRotation(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:function(){t.callCallback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){t.callCallback(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(){t.callCallback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){t.callCallback(this.options.beforeDataLimits,[this])},determineDataLimits:t.noop,afterDataLimits:function(){t.callCallback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){t.callCallback(this.options.beforeBuildTicks,[this])},buildTicks:t.noop,afterBuildTicks:function(){t.callCallback(this.options.afterBuildTicks,[this])},beforeTickToLabelConversion:function(){t.callCallback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var e=this,t=e.options.ticks;e.ticks=e.ticks.map(t.userCallback||t.callback)},afterTickToLabelConversion:function(){t.callCallback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){t.callCallback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var n=this,i=n.ctx,r=e.defaults.global,a=n.options.ticks,o=t.getValueOrDefault(a.fontSize,r.defaultFontSize),s=t.getValueOrDefault(a.fontStyle,r.defaultFontStyle),l=t.getValueOrDefault(a.fontFamily,r.defaultFontFamily),u=t.fontString(o,s,l);i.font=u;var d,c=i.measureText(n.ticks[0]).width,h=i.measureText(n.ticks[n.ticks.length-1]).width;if(n.labelRotation=a.minRotation||0,n.paddingRight=0,n.paddingLeft=0,n.options.display&&n.isHorizontal()){n.paddingRight=h/2+3,n.paddingLeft=c/2+3,n.longestTextCache||(n.longestTextCache={});for(var f,p,m=t.longestText(i,u,n.ticks,n.longestTextCache),_=m,g=n.getPixelForTick(1)-n.getPixelForTick(0)-6;_>g&&n.labelRotation<a.maxRotation;){if(f=Math.cos(t.toRadians(n.labelRotation)),p=Math.sin(t.toRadians(n.labelRotation)),d=f*c,d+o/2>n.yLabelWidth&&(n.paddingLeft=d+o/2),n.paddingRight=o/2,p*m>n.maxHeight){n.labelRotation--;break}n.labelRotation++,_=f*m}}n.margins&&(n.paddingLeft=Math.max(n.paddingLeft-n.margins.left,0),n.paddingRight=Math.max(n.paddingRight-n.margins.right,0))},afterCalculateTickRotation:function(){t.callCallback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){t.callCallback(this.options.beforeFit,[this])},fit:function(){var n=this,i=n.minSize={width:0,height:0},r=n.options,a=e.defaults.global,o=r.ticks,s=r.scaleLabel,l=r.gridLines,u=r.display,d=n.isHorizontal(),c=t.getValueOrDefault(o.fontSize,a.defaultFontSize),h=t.getValueOrDefault(o.fontStyle,a.defaultFontStyle),f=t.getValueOrDefault(o.fontFamily,a.defaultFontFamily),p=t.fontString(c,h,f),m=t.getValueOrDefault(s.fontSize,a.defaultFontSize),_=r.gridLines.tickMarkLength;if(d?i.width=n.isFullWidth()?n.maxWidth-n.margins.left-n.margins.right:n.maxWidth:i.width=u&&l.drawTicks?_:0,d?i.height=u&&l.drawTicks?_:0:i.height=n.maxHeight,s.display&&u&&(d?i.height+=1.5*m:i.width+=1.5*m),o.display&&u){n.longestTextCache||(n.longestTextCache={});var g=t.longestText(n.ctx,p,n.ticks,n.longestTextCache),y=t.numberOfLabelLines(n.ticks),v=.5*c;if(d){n.longestLabelWidth=g;var b=Math.sin(t.toRadians(n.labelRotation))*n.longestLabelWidth+c*y+v*y;i.height=Math.min(n.maxHeight,i.height+b),n.ctx.font=p;var M=n.ctx.measureText(n.ticks[0]).width,w=n.ctx.measureText(n.ticks[n.ticks.length-1]).width,x=Math.cos(t.toRadians(n.labelRotation)),k=Math.sin(t.toRadians(n.labelRotation));n.paddingLeft=0!==n.labelRotation?x*M+3:M/2+3,n.paddingRight=0!==n.labelRotation?k*(c/2)+3:w/2+3}else{var L=n.maxWidth-i.width,D=o.mirror;D?g=0:g+=n.options.ticks.padding,L>g?i.width+=g:i.width=n.maxWidth,n.paddingTop=c/2,n.paddingBottom=c/2}}n.margins&&(n.paddingLeft=Math.max(n.paddingLeft-n.margins.left,0),n.paddingTop=Math.max(n.paddingTop-n.margins.top,0),n.paddingRight=Math.max(n.paddingRight-n.margins.right,0),n.paddingBottom=Math.max(n.paddingBottom-n.margins.bottom,0)),n.width=i.width,n.height=i.height},afterFit:function(){t.callCallback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){return null===e||"undefined"==typeof e?NaN:"number"!=typeof e||isFinite(e)?"object"==typeof e?e instanceof Date||e.isValid?e:this.getRightValue(this.isHorizontal()?e.x:e.y):e:NaN},getLabelForIndex:t.noop,getPixelForValue:t.noop,getValueForPixel:t.noop,getPixelForTick:function(e,t){var n=this;if(n.isHorizontal()){var i=n.width-(n.paddingLeft+n.paddingRight),r=i/Math.max(n.ticks.length-(n.options.gridLines.offsetGridLines?0:1),1),a=r*e+n.paddingLeft;t&&(a+=r/2);var o=n.left+Math.round(a);return o+=n.isFullWidth()?n.margins.left:0}var s=n.height-(n.paddingTop+n.paddingBottom);return n.top+e*(s/(n.ticks.length-1))},getPixelForDecimal:function(e){var t=this;if(t.isHorizontal()){var n=t.width-(t.paddingLeft+t.paddingRight),i=n*e+t.paddingLeft,r=t.left+Math.round(i);return r+=t.isFullWidth()?t.margins.left:0}return t.top+e*t.height},getBasePixel:function(){var e=this,t=e.min,n=e.max;return e.getPixelForValue(e.beginAtZero?0:0>t&&0>n?n:t>0&&n>0?t:0)},draw:function(n){var i=this,r=i.options;if(r.display){var a,o,s=i.ctx,l=e.defaults.global,u=r.ticks,d=r.gridLines,c=r.scaleLabel,h=0!==i.labelRotation,f=u.autoSkip,p=i.isHorizontal();u.maxTicksLimit&&(o=u.maxTicksLimit);var m=t.getValueOrDefault(u.fontColor,l.defaultFontColor),_=t.getValueOrDefault(u.fontSize,l.defaultFontSize),g=t.getValueOrDefault(u.fontStyle,l.defaultFontStyle),y=t.getValueOrDefault(u.fontFamily,l.defaultFontFamily),v=t.fontString(_,g,y),b=d.tickMarkLength,M=t.getValueOrDefault(d.borderDash,l.borderDash),w=t.getValueOrDefault(d.borderDashOffset,l.borderDashOffset),x=t.getValueOrDefault(c.fontColor,l.defaultFontColor),k=t.getValueOrDefault(c.fontSize,l.defaultFontSize),L=t.getValueOrDefault(c.fontStyle,l.defaultFontStyle),D=t.getValueOrDefault(c.fontFamily,l.defaultFontFamily),T=t.fontString(k,L,D),Y=t.toRadians(i.labelRotation),S=Math.cos(Y),C=i.longestLabelWidth*S;s.fillStyle=m;var H=[];if(p){if(a=!1,h&&(C/=2),(C+u.autoSkipPadding)*i.ticks.length>i.width-(i.paddingLeft+i.paddingRight)&&(a=1+Math.floor((C+u.autoSkipPadding)*i.ticks.length/(i.width-(i.paddingLeft+i.paddingRight)))),o&&i.ticks.length>o)for(;!a||i.ticks.length/(a||1)>o;)a||(a=1),
a+=1;f||(a=!1)}var j="right"===r.position?i.left:i.right-b,A="right"===r.position?i.left+b:i.right,P="bottom"===r.position?i.top:i.bottom-b,E="bottom"===r.position?i.top+b:i.bottom;if(t.each(i.ticks,function(e,o){if(void 0!==e&&null!==e){var s=i.ticks.length===o+1,l=a>1&&o%a>0||o%a===0&&o+a>=i.ticks.length;if((!l||s)&&void 0!==e&&null!==e){var c,f;o===("undefined"!=typeof i.zeroLineIndex?i.zeroLineIndex:0)?(c=d.zeroLineWidth,f=d.zeroLineColor):(c=t.getValueAtIndexOrDefault(d.lineWidth,o),f=t.getValueAtIndexOrDefault(d.color,o));var m,_,g,y,v,x,k,L,D,T,S="middle",C="middle";if(p){h||(C="top"===r.position?"bottom":"top"),S=h?"right":"center";var I=i.getPixelForTick(o)+t.aliasPixel(c);D=i.getPixelForTick(o,d.offsetGridLines)+u.labelOffset,T=h?i.top+12:"top"===r.position?i.bottom-b:i.top+b,m=g=v=k=I,_=P,y=E,x=n.top,L=n.bottom}else{"left"===r.position?u.mirror?(D=i.right+u.padding,S="left"):(D=i.right-u.padding,S="right"):u.mirror?(D=i.left-u.padding,S="right"):(D=i.left+u.padding,S="left");var O=i.getPixelForTick(o);O+=t.aliasPixel(c),T=i.getPixelForTick(o,d.offsetGridLines),m=j,g=A,v=n.left,k=n.right,_=y=x=L=O}H.push({tx1:m,ty1:_,tx2:g,ty2:y,x1:v,y1:x,x2:k,y2:L,labelX:D,labelY:T,glWidth:c,glColor:f,glBorderDash:M,glBorderDashOffset:w,rotation:-1*Y,label:e,textBaseline:C,textAlign:S})}}}),t.each(H,function(e){if(d.display&&(s.save(),s.lineWidth=e.glWidth,s.strokeStyle=e.glColor,s.setLineDash&&(s.setLineDash(e.glBorderDash),s.lineDashOffset=e.glBorderDashOffset),s.beginPath(),d.drawTicks&&(s.moveTo(e.tx1,e.ty1),s.lineTo(e.tx2,e.ty2)),d.drawOnChartArea&&(s.moveTo(e.x1,e.y1),s.lineTo(e.x2,e.y2)),s.stroke(),s.restore()),u.display){s.save(),s.translate(e.labelX,e.labelY),s.rotate(e.rotation),s.font=v,s.textBaseline=e.textBaseline,s.textAlign=e.textAlign;var n=e.label;if(t.isArray(n))for(var i=0,r=-(n.length-1)*_*.75;i<n.length;++i)s.fillText(""+n[i],0,r),r+=1.5*_;else s.fillText(n,0,0);s.restore()}}),c.display){var I,O,W=0;if(p)I=i.left+(i.right-i.left)/2,O="bottom"===r.position?i.bottom-k/2:i.top+k/2;else{var F="left"===r.position;I=F?i.left+k/2:i.right-k/2,O=i.top+(i.bottom-i.top)/2,W=F?-.5*Math.PI:.5*Math.PI}s.save(),s.translate(I,O),s.rotate(W),s.textAlign="center",s.textBaseline="middle",s.fillStyle=x,s.font=T,s.fillText(c.labelString,0,0),s.restore()}if(d.drawBorder){s.lineWidth=t.getValueAtIndexOrDefault(d.lineWidth,0),s.strokeStyle=t.getValueAtIndexOrDefault(d.color,0);var R=i.left,N=i.right,z=i.top,B=i.bottom,$=t.aliasPixel(s.lineWidth);p?(z=B="top"===r.position?i.bottom:i.top,z+=$,B+=$):(R=N="left"===r.position?i.right:i.left,R+=$,N+=$),s.beginPath(),s.moveTo(R,z),s.lineTo(N,B),s.stroke()}}}})}},{}],33:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.scaleService={constructors:{},defaults:{},registerScaleType:function(e,n,i){this.constructors[e]=n,this.defaults[e]=t.clone(i)},getScaleConstructor:function(e){return this.constructors.hasOwnProperty(e)?this.constructors[e]:void 0},getScaleDefaults:function(n){return this.defaults.hasOwnProperty(n)?t.scaleMerge(e.defaults.scale,this.defaults[n]):{}},updateScaleDefaults:function(e,n){var i=this.defaults;i.hasOwnProperty(e)&&(i[e]=t.extend(i[e],n))},addScalesToLayout:function(n){t.each(n.scales,function(t){e.layoutService.addBox(n,t)})}}}},{}],34:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.Ticks={generators:{linear:function(e,n){var i,r=[];if(e.stepSize&&e.stepSize>0)i=e.stepSize;else{var a=t.niceNum(n.max-n.min,!1);i=t.niceNum(a/(e.maxTicks-1),!0)}var o=Math.floor(n.min/i)*i,s=Math.ceil(n.max/i)*i;if(e.min&&e.max&&e.stepSize){var l=(e.max-e.min)%e.stepSize===0;l&&(o=e.min,s=e.max)}var u=(s-o)/i;u=t.almostEquals(u,Math.round(u),i/1e3)?Math.round(u):Math.ceil(u),r.push(void 0!==e.min?e.min:o);for(var d=1;u>d;++d)r.push(o+d*i);return r.push(void 0!==e.max?e.max:s),r},logarithmic:function(e,n){for(var i=[],r=t.getValueOrDefault,a=r(e.min,Math.pow(10,Math.floor(t.log10(n.min))));a<n.max;){i.push(a);var o,s;0===a?(o=Math.floor(t.log10(n.minNotZero)),s=Math.round(n.minNotZero/Math.pow(10,o))):(o=Math.floor(t.log10(a)),s=Math.floor(a/Math.pow(10,o))+1),10===s&&(s=1,++o),a=s*Math.pow(10,o)}var l=r(e.max,a);return i.push(l),i}},formatters:{values:function(e){return t.isArray(e)?e:""+e},linear:function(e,n,i){var r=i.length>3?i[2]-i[1]:i[1]-i[0];Math.abs(r)>1&&e!==Math.floor(e)&&(r=e-Math.floor(e));var a=t.log10(Math.abs(r)),o="";if(0!==e){var s=-1*Math.floor(a);s=Math.max(Math.min(s,20),0),o=e.toFixed(s)}else o="0";return o},logarithmic:function(e,n,i){var r=e/Math.pow(10,Math.floor(t.log10(e)));return 0===e?"0":1===r||2===r||5===r||0===n||n===i.length-1?e.toExponential():""}}}}},{}],35:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.defaults.global.title={display:!1,position:"top",fullWidth:!0,fontStyle:"bold",padding:10,text:""};var n=t.noop;e.Title=e.Element.extend({initialize:function(n){var i=this;t.extend(i,n),i.options=t.configMerge(e.defaults.global.title,n.options),i.legendHitBoxes=[]},beforeUpdate:function(){var n=this.chart.options;n&&n.title&&(this.options=t.configMerge(e.defaults.global.title,n.title))},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:n,beforeSetDimensions:n,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:n,beforeBuildLabels:n,buildLabels:n,afterBuildLabels:n,beforeFit:n,fit:function(){var n=this,i=t.getValueOrDefault,r=n.options,a=e.defaults.global,o=r.display,s=i(r.fontSize,a.defaultFontSize),l=n.minSize;n.isHorizontal()?(l.width=n.maxWidth,l.height=o?s+2*r.padding:0):(l.width=o?s+2*r.padding:0,l.height=n.maxHeight),n.width=l.width,n.height=l.height},afterFit:n,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var n=this,i=n.ctx,r=t.getValueOrDefault,a=n.options,o=e.defaults.global;if(a.display){var s,l,u,d=r(a.fontSize,o.defaultFontSize),c=r(a.fontStyle,o.defaultFontStyle),h=r(a.fontFamily,o.defaultFontFamily),f=t.fontString(d,c,h),p=0,m=n.top,_=n.left,g=n.bottom,y=n.right;i.fillStyle=r(a.fontColor,o.defaultFontColor),i.font=f,n.isHorizontal()?(s=_+(y-_)/2,l=m+(g-m)/2,u=y-_):(s="left"===a.position?_+d/2:y-d/2,l=m+(g-m)/2,u=g-m,p=Math.PI*("left"===a.position?-.5:.5)),i.save(),i.translate(s,l),i.rotate(p),i.textAlign="center",i.textBaseline="middle",i.fillText(a.text,0,0,u),i.restore()}}}),e.plugins.register({beforeInit:function(t){var n=t.options,i=n.title;i&&(t.titleBlock=new e.Title({ctx:t.chart.ctx,options:i,chart:t}),e.layoutService.addBox(t,t.titleBlock))}})}},{}],36:[function(e,t,n){"use strict";t.exports=function(e){function t(e,t){var n=l.color(e);return n.alpha(t*n.alpha()).rgbaString()}function n(e,t){return t&&(l.isArray(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function i(e){var t=e._xScale,n=e._yScale||e._scale,i=e._index,r=e._datasetIndex;return{xLabel:t?t.getLabelForIndex(i,r):"",yLabel:n?n.getLabelForIndex(i,r):"",index:i,datasetIndex:r,x:e._model.x,y:e._model.y}}function r(t){var n=e.defaults.global,i=l.getValueOrDefault;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,bodyFontColor:t.bodyFontColor,_bodyFontFamily:i(t.bodyFontFamily,n.defaultFontFamily),_bodyFontStyle:i(t.bodyFontStyle,n.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:i(t.bodyFontSize,n.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:i(t.titleFontFamily,n.defaultFontFamily),_titleFontStyle:i(t.titleFontStyle,n.defaultFontStyle),titleFontSize:i(t.titleFontSize,n.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:i(t.footerFontFamily,n.defaultFontFamily),_footerFontStyle:i(t.footerFontStyle,n.defaultFontStyle),footerFontSize:i(t.footerFontSize,n.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors}}function a(e,t){var n=e._chart.ctx,i=2*t.yPadding,r=0,a=t.body,o=a.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,u=t.footer.length,d=t.titleFontSize,c=t.bodyFontSize,h=t.footerFontSize;i+=s*d,i+=s?(s-1)*t.titleSpacing:0,i+=s?t.titleMarginBottom:0,i+=o*c,i+=o?(o-1)*t.bodySpacing:0,i+=u?t.footerMarginTop:0,i+=u*h,i+=u?(u-1)*t.footerSpacing:0;var f=0,p=function(e){r=Math.max(r,n.measureText(e).width+f)};return n.font=l.fontString(d,t._titleFontStyle,t._titleFontFamily),l.each(t.title,p),n.font=l.fontString(c,t._bodyFontStyle,t._bodyFontFamily),l.each(t.beforeBody.concat(t.afterBody),p),f=t.displayColors?c+2:0,l.each(a,function(e){l.each(e.before,p),l.each(e.lines,p),l.each(e.after,p)}),f=0,n.font=l.fontString(h,t._footerFontStyle,t._footerFontFamily),l.each(t.footer,p),r+=2*t.xPadding,{width:r,height:i}}function o(e,t){var n=e._model,i=e._chart,r=e._chartInstance.chartArea,a="center",o="center";n.y<t.height?o="top":n.y>i.height-t.height&&(o="bottom");var s,l,u,d,c,h=(r.left+r.right)/2,f=(r.top+r.bottom)/2;"center"===o?(s=function(e){return h>=e},l=function(e){return e>h}):(s=function(e){return e<=t.width/2},l=function(e){return e>=i.width-t.width/2}),u=function(e){return e+t.width>i.width},d=function(e){return e-t.width<0},c=function(e){return f>=e?"top":"bottom"},s(n.x)?(a="left",u(n.x)&&(a="center",o=c(n.y))):l(n.x)&&(a="right",d(n.x)&&(a="center",o=c(n.y)));var p=e._options;return{xAlign:p.xAlign?p.xAlign:a,yAlign:p.yAlign?p.yAlign:o}}function s(e,t,n){var i=e.x,r=e.y,a=e.caretSize,o=e.caretPadding,s=e.cornerRadius,l=n.xAlign,u=n.yAlign,d=a+o,c=s+o;return"right"===l?i-=t.width:"center"===l&&(i-=t.width/2),"top"===u?r+=d:r-="bottom"===u?t.height+d:t.height/2,"center"===u?"left"===l?i+=d:"right"===l&&(i-=d):"left"===l?i-=c:"right"===l&&(i+=c),{x:i,y:r}}var l=e.helpers;e.defaults.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,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,callbacks:{beforeTitle:l.noop,title:function(e,t){var n="",i=t.labels,r=i?i.length:0;if(e.length>0){var a=e[0];a.xLabel?n=a.xLabel:r>0&&a.index<r&&(n=i[a.index])}return n},afterTitle:l.noop,beforeBody:l.noop,beforeLabel:l.noop,label:function(e,t){var n=t.datasets[e.datasetIndex].label||"";return n+": "+e.yLabel},labelColor:function(e,t){var n=t.getDatasetMeta(e.datasetIndex),i=n.data[e.index],r=i._view;return{borderColor:r.borderColor,backgroundColor:r.backgroundColor}},afterLabel:l.noop,afterBody:l.noop,beforeFooter:l.noop,footer:l.noop,afterFooter:l.noop}},e.Tooltip=e.Element.extend({initialize:function(){this._model=r(this._options)},getTitle:function(){var e=this,t=e._options,i=t.callbacks,r=i.beforeTitle.apply(e,arguments),a=i.title.apply(e,arguments),o=i.afterTitle.apply(e,arguments),s=[];return s=n(s,r),s=n(s,a),s=n(s,o)},getBeforeBody:function(){var e=this._options.callbacks.beforeBody.apply(this,arguments);return l.isArray(e)?e:void 0!==e?[e]:[]},getBody:function(e,t){var i=this,r=i._options.callbacks,a=[];return l.each(e,function(e){var o={before:[],lines:[],after:[]};n(o.before,r.beforeLabel.call(i,e,t)),n(o.lines,r.label.call(i,e,t)),n(o.after,r.afterLabel.call(i,e,t)),a.push(o)}),a},getAfterBody:function(){var e=this._options.callbacks.afterBody.apply(this,arguments);return l.isArray(e)?e:void 0!==e?[e]:[]},getFooter:function(){var e=this,t=e._options.callbacks,i=t.beforeFooter.apply(e,arguments),r=t.footer.apply(e,arguments),a=t.afterFooter.apply(e,arguments),o=[];return o=n(o,i),o=n(o,r),o=n(o,a)},update:function(t){var n,u,d=this,c=d._options,h=d._model,f=d._model=r(c),p=d._active,m=d._data,_=d._chartInstance,g={xAlign:h.xAlign,yAlign:h.yAlign},y={x:h.x,y:h.y},v={width:h.width,height:h.height},b={x:h.caretX,y:h.caretY};if(p.length){f.opacity=1;var M=[];b=e.Tooltip.positioners[c.position](p,d._eventPosition);var w=[];for(n=0,u=p.length;u>n;++n)w.push(i(p[n]));c.filter&&(w=w.filter(function(e){return c.filter(e,m)})),c.itemSort&&(w=w.sort(function(e,t){return c.itemSort(e,t,m)})),l.each(w,function(e){M.push(c.callbacks.labelColor.call(d,e,_))}),f.title=d.getTitle(w,m),f.beforeBody=d.getBeforeBody(w,m),f.body=d.getBody(w,m),f.afterBody=d.getAfterBody(w,m),f.footer=d.getFooter(w,m),f.x=Math.round(b.x),f.y=Math.round(b.y),f.caretPadding=l.getValueOrDefault(b.padding,2),f.labelColors=M,f.dataPoints=w,v=a(this,f),g=o(this,v),y=s(f,v,g)}else f.opacity=0;return f.xAlign=g.xAlign,f.yAlign=g.yAlign,f.x=y.x,f.y=y.y,f.width=v.width,f.height=v.height,f.caretX=b.x,f.caretY=b.y,d._model=f,t&&c.custom&&c.custom.call(d,f),d},drawCaret:function(e,n,i){var r,a,o,s,l,u,d=this._view,c=this._chart.ctx,h=d.caretSize,f=d.cornerRadius,p=d.xAlign,m=d.yAlign,_=e.x,g=e.y,y=n.width,v=n.height;"center"===m?("left"===p?(r=_,a=r-h,o=r):(r=_+y,a=r+h,o=r),l=g+v/2,s=l-h,u=l+h):("left"===p?(r=_+f,a=r+h,o=a+h):"right"===p?(r=_+y-f,a=r-h,o=a-h):(a=_+y/2,r=a-h,o=a+h),"top"===m?(s=g,l=s-h,u=s):(s=g+v,l=s+h,u=s)),c.fillStyle=t(d.backgroundColor,i),c.beginPath(),c.moveTo(r,s),c.lineTo(a,l),c.lineTo(o,u),c.closePath(),c.fill()},drawTitle:function(e,n,i,r){var a=n.title;if(a.length){i.textAlign=n._titleAlign,i.textBaseline="top";var o=n.titleFontSize,s=n.titleSpacing;i.fillStyle=t(n.titleFontColor,r),i.font=l.fontString(o,n._titleFontStyle,n._titleFontFamily);var u,d;for(u=0,d=a.length;d>u;++u)i.fillText(a[u],e.x,e.y),e.y+=o+s,u+1===a.length&&(e.y+=n.titleMarginBottom-s)}},drawBody:function(e,n,i,r){var a=n.bodyFontSize,o=n.bodySpacing,s=n.body;i.textAlign=n._bodyAlign,i.textBaseline="top";var u=t(n.bodyFontColor,r);i.fillStyle=u,i.font=l.fontString(a,n._bodyFontStyle,n._bodyFontFamily);var d=0,c=function(t){i.fillText(t,e.x+d,e.y),e.y+=a+o};l.each(n.beforeBody,c);var h=n.displayColors;d=h?a+2:0,l.each(s,function(o,s){l.each(o.before,c),l.each(o.lines,function(o){h&&(i.fillStyle=t(n.legendColorBackground,r),i.fillRect(e.x,e.y,a,a),i.strokeStyle=t(n.labelColors[s].borderColor,r),i.strokeRect(e.x,e.y,a,a),i.fillStyle=t(n.labelColors[s].backgroundColor,r),i.fillRect(e.x+1,e.y+1,a-2,a-2),i.fillStyle=u),c(o)}),l.each(o.after,c)}),d=0,l.each(n.afterBody,c),e.y-=o},drawFooter:function(e,n,i,r){var a=n.footer;a.length&&(e.y+=n.footerMarginTop,i.textAlign=n._footerAlign,i.textBaseline="top",i.fillStyle=t(n.footerFontColor,r),i.font=l.fontString(n.footerFontSize,n._footerFontStyle,n._footerFontFamily),l.each(a,function(t){i.fillText(t,e.x,e.y),e.y+=n.footerFontSize+n.footerSpacing}))},drawBackground:function(e,n,i,r,a){i.fillStyle=t(n.backgroundColor,a),l.drawRoundedRectangle(i,e.x,e.y,r.width,r.height,n.cornerRadius),i.fill()},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},r=Math.abs(t.opacity<.001)?0:t.opacity;this._options.enabled&&(this.drawBackground(i,t,e,n,r),this.drawCaret(i,n,r),i.x+=t.xPadding,i.y+=t.yPadding,this.drawTitle(i,t,e,r),this.drawBody(i,t,e,r),this.drawFooter(i,t,e,r))}},handleEvent:function(e){var t=this,n=t._options,i=!1;if(t._lastActive=t._lastActive||[],"mouseout"===e.type?t._active=[]:t._active=t._chartInstance.getElementsAtEventForMode(e,n.mode,n),i=!l.arrayEquals(t._active,t._lastActive),t._lastActive=t._active,n.enabled||n.custom){t._eventPosition=l.getRelativePosition(e,t._chart);var r=t._model;t.update(!0),t.pivot(),i|=r.x!==t._model.x||r.y!==t._model.y}return i}}),e.Tooltip.positioners={average:function(e){if(!e.length)return!1;var t,n,i=0,r=0,a=0;for(t=0,n=e.length;n>t;++t){var o=e[t];if(o&&o.hasValue()){var s=o.tooltipPosition();i+=s.x,r+=s.y,++a}}return{x:Math.round(i/a),y:Math.round(r/a)}},nearest:function(e,t){var n,i,r,a=t.x,o=t.y,s=Number.POSITIVE_INFINITY;for(i=0,r=e.length;r>i;++i){var u=e[i];if(u&&u.hasValue()){var d=u.getCenterPoint(),c=l.distanceBetweenPoints(t,d);s>c&&(s=c,n=u)}}if(n){var h=n.tooltipPosition();a=h.x,o=h.y}return{x:a,y:o}}}}},{}],37:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=e.defaults.global;n.elements.arc={backgroundColor:n.defaultColor,borderColor:"#fff",borderWidth:2},e.elements.Arc=e.Element.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,n){var i=this._view;if(i){for(var r=t.getAngleFromPoint(i,{x:e,y:n}),a=r.angle,o=r.distance,s=i.startAngle,l=i.endAngle;s>l;)l+=2*Math.PI;for(;a>l;)a-=2*Math.PI;for(;s>a;)a+=2*Math.PI;var u=a>=s&&l>=a,d=o>=i.innerRadius&&o<=i.outerRadius;return u&&d}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()}})}},{}],38:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=e.defaults.global;e.defaults.global.elements.line={tension:.4,backgroundColor:n.defaultColor,borderWidth:3,borderColor:n.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0},e.elements.Line=e.Element.extend({draw:function(){function e(e,t){var n=t._view;t._view.steppedLine===!0?(l.lineTo(n.x,e._view.y),l.lineTo(n.x,n.y)):0===t._view.tension?l.lineTo(n.x,n.y):l.bezierCurveTo(e._view.controlPointNextX,e._view.controlPointNextY,n.controlPointPreviousX,n.controlPointPreviousY,n.x,n.y)}var i=this,r=i._view,a=r.spanGaps,o=r.scaleZero,s=i._loop;s||("top"===r.fill?o=r.scaleTop:"bottom"===r.fill&&(o=r.scaleBottom));var l=i._chart.ctx;l.save();var u=i._children.slice(),d=-1;s&&u.length&&u.push(u[0]);var c,h,f,p;if(u.length&&r.fill){for(l.beginPath(),c=0;c<u.length;++c)h=u[c],f=t.previousItem(u,c),p=h._view,0===c?(s?l.moveTo(o.x,o.y):l.moveTo(p.x,o),p.skip||(d=c,l.lineTo(p.x,p.y))):(f=-1===d?f:u[d],p.skip?a||d!==c-1||(s?l.lineTo(o.x,o.y):l.lineTo(f._view.x,o)):(d!==c-1?a&&-1!==d?e(f,h):s?l.lineTo(p.x,p.y):(l.lineTo(p.x,o),l.lineTo(p.x,p.y)):e(f,h),d=c));s||-1===d||l.lineTo(u[d]._view.x,o),l.fillStyle=r.backgroundColor||n.defaultColor,l.closePath(),l.fill()}var m=n.elements.line;for(l.lineCap=r.borderCapStyle||m.borderCapStyle,l.setLineDash&&l.setLineDash(r.borderDash||m.borderDash),l.lineDashOffset=r.borderDashOffset||m.borderDashOffset,l.lineJoin=r.borderJoinStyle||m.borderJoinStyle,l.lineWidth=r.borderWidth||m.borderWidth,l.strokeStyle=r.borderColor||n.defaultColor,l.beginPath(),d=-1,c=0;c<u.length;++c)h=u[c],f=t.previousItem(u,c),p=h._view,0===c?p.skip||(l.moveTo(p.x,p.y),d=c):(f=-1===d?f:u[d],p.skip||(d!==c-1&&!a||-1===d?l.moveTo(p.x,p.y):e(f,h),d=c));l.stroke(),l.restore()}})}},{}],39:[function(e,t,n){"use strict";t.exports=function(e){function t(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)<Math.pow(t.radius+t.hitRadius,2)}function n(e){var t=this._view;return!!t&&Math.pow(e-t.y,2)<Math.pow(t.radius+t.hitRadius,2)}var i=e.helpers,r=e.defaults.global,a=r.defaultColor;r.elements.point={radius:3,pointStyle:"circle",backgroundColor:a,borderWidth:1,borderColor:a,hitRadius:1,hoverRadius:4,hoverBorderWidth:1},e.elements.Point=e.Element.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:t,inXRange:t,inYRange:n,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(){var t=this._view,n=this._chart.ctx,o=t.pointStyle,s=t.radius,l=t.x,u=t.y;t.skip||(n.strokeStyle=t.borderColor||a,n.lineWidth=i.getValueOrDefault(t.borderWidth,r.elements.point.borderWidth),n.fillStyle=t.backgroundColor||a,e.canvasHelpers.drawPoint(n,o,s,l,u))}})}},{}],40:[function(e,t,n){"use strict";t.exports=function(e){function t(e){return void 0!==e._view.width}function n(e){var n,i,r,a,o=e._view;if(t(e)){var s=o.width/2;n=o.x-s,i=o.x+s,r=Math.min(o.y,o.base),a=Math.max(o.y,o.base)}else{var l=o.height/2;n=Math.min(o.x,o.base),i=Math.max(o.x,o.base),r=o.y-l,a=o.y+l}return{left:n,top:r,right:i,bottom:a}}var i=e.defaults.global;i.elements.rectangle={backgroundColor:i.defaultColor,borderWidth:0,borderColor:i.defaultColor,borderSkipped:"bottom"},e.elements.Rectangle=e.Element.extend({draw:function(){function e(e){return l[(d+e)%4]}var t=this._chart.ctx,n=this._view,i=n.width/2,r=n.x-i,a=n.x+i,o=n.base-(n.base-n.y),s=n.borderWidth/2;n.borderWidth&&(r+=s,a-=s,o+=s),t.beginPath(),t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor,t.lineWidth=n.borderWidth;var l=[[r,n.base],[r,o],[a,o],[a,n.base]],u=["bottom","left","top","right"],d=u.indexOf(n.borderSkipped,0);-1===d&&(d=0);var c=e(0);t.moveTo(c[0],c[1]);for(var h=1;4>h;h++)c=e(h),t.lineTo(c[0],c[1]);t.fill(),n.borderWidth&&t.stroke()},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){var i=!1;if(this._view){var r=n(this);i=e>=r.left&&e<=r.right&&t>=r.top&&t<=r.bottom}return i},inLabelRange:function(e,i){var r=this;if(!r._view)return!1;var a=!1,o=n(r);return a=t(r)?e>=o.left&&e<=o.right:i>=o.top&&i<=o.bottom},inXRange:function(e){var t=n(this);return e>=t.left&&e<=t.right},inYRange:function(e){var t=n(this);return e>=t.top&&e<=t.bottom},getCenterPoint:function(){var e,n,i=this._view;return t(this)?(e=i.x,n=(i.y+i.base)/2):(e=(i.x+i.base)/2,n=i.y),{x:e,y:n}},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}}})}},{}],41:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n={position:"bottom"},i=e.Scale.extend({getLabels:function(){var e=this.chart.data;return(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels},determineDataLimits:function(){var e=this,n=e.getLabels();e.minIndex=0,e.maxIndex=n.length-1;var i;void 0!==e.options.ticks.min&&(i=t.indexOf(n,e.options.ticks.min),e.minIndex=-1!==i?i:e.minIndex),void 0!==e.options.ticks.max&&(i=t.indexOf(n,e.options.ticks.max),e.maxIndex=-1!==i?i:e.maxIndex),e.min=n[e.minIndex],e.max=n[e.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,r=n.isHorizontal();return i.xLabels&&r||i.yLabels&&!r?n.getRightValue(i.datasets[t].data[e]):n.ticks[e]},getPixelForValue:function(e,t,n,i){var r=this,a=Math.max(r.maxIndex+1-r.minIndex-(r.options.gridLines.offsetGridLines?0:1),1);if(void 0!==e&&isNaN(t)){var o=r.getLabels(),s=o.indexOf(e);t=-1!==s?s:t}if(r.isHorizontal()){var l=r.width-(r.paddingLeft+r.paddingRight),u=l/a,d=u*(t-r.minIndex)+r.paddingLeft;return(r.options.gridLines.offsetGridLines&&i||r.maxIndex===r.minIndex&&i)&&(d+=u/2),r.left+Math.round(d)}var c=r.height-(r.paddingTop+r.paddingBottom),h=c/a,f=h*(t-r.minIndex)+r.paddingTop;return r.options.gridLines.offsetGridLines&&i&&(f+=h/2),r.top+Math.round(f)},getPixelForTick:function(e,t){return this.getPixelForValue(this.ticks[e],e+this.minIndex,null,t)},getValueForPixel:function(e){var t,n=this,i=Math.max(n.ticks.length-(n.options.gridLines.offsetGridLines?0:1),1),r=n.isHorizontal(),a=r?n.width-(n.paddingLeft+n.paddingRight):n.height-(n.paddingTop+n.paddingBottom),o=a/i;return e-=r?n.left:n.top,n.options.gridLines.offsetGridLines&&(e-=o/2),e-=r?n.paddingLeft:n.paddingTop,t=0>=e?0:Math.round(e/o)},getBasePixel:function(){return this.bottom}});e.scaleService.registerScaleType("category",i,n)}},{}],42:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n={position:"left",ticks:{callback:e.Ticks.formatters.linear}},i=e.LinearScaleBase.extend({determineDataLimits:function(){function e(e){return s?e.xAxisID===n.id:e.yAxisID===n.id}var n=this,i=n.options,r=n.chart,a=r.data,o=a.datasets,s=n.isHorizontal();if(n.min=null,n.max=null,i.stacked){var l={};t.each(o,function(a,o){var s=r.getDatasetMeta(o);void 0===l[s.type]&&(l[s.type]={positiveValues:[],negativeValues:[]});var u=l[s.type].positiveValues,d=l[s.type].negativeValues;r.isDatasetVisible(o)&&e(s)&&t.each(a.data,function(e,t){var r=+n.getRightValue(e);isNaN(r)||s.data[t].hidden||(u[t]=u[t]||0,d[t]=d[t]||0,i.relativePoints?u[t]=100:0>r?d[t]+=r:u[t]+=r)})}),t.each(l,function(e){var i=e.positiveValues.concat(e.negativeValues),r=t.min(i),a=t.max(i);n.min=null===n.min?r:Math.min(n.min,r),n.max=null===n.max?a:Math.max(n.max,a)})}else t.each(o,function(i,a){var o=r.getDatasetMeta(a);r.isDatasetVisible(a)&&e(o)&&t.each(i.data,function(e,t){var i=+n.getRightValue(e);isNaN(i)||o.data[t].hidden||(null===n.min?n.min=i:i<n.min&&(n.min=i),null===n.max?n.max=i:i>n.max&&(n.max=i))})});this.handleTickRangeOptions()},getTickLimit:function(){var n,i=this,r=i.options.ticks;if(i.isHorizontal())n=Math.min(r.maxTicksLimit?r.maxTicksLimit:11,Math.ceil(i.width/50));else{var a=t.getValueOrDefault(r.fontSize,e.defaults.global.defaultFontSize);n=Math.min(r.maxTicksLimit?r.maxTicksLimit:11,Math.ceil(i.height/(2*a)))}return n},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,n,i=this,r=i.paddingLeft,a=i.paddingBottom,o=i.start,s=+i.getRightValue(e),l=i.end-o;return i.isHorizontal()?(n=i.width-(r+i.paddingRight),t=i.left+n/l*(s-o),Math.round(t+r)):(n=i.height-(i.paddingTop+a),t=i.bottom-a-n/l*(s-o),Math.round(t))},getValueForPixel:function(e){var t=this,n=t.isHorizontal(),i=t.paddingLeft,r=t.paddingBottom,a=n?t.width-(i+t.paddingRight):t.height-(t.paddingTop+r),o=(n?e-t.left-i:t.bottom-r-e)/a;return t.start+(t.end-t.start)*o},getPixelForTick:function(e){return this.getPixelForValue(this.ticksAsNumbers[e])}});e.scaleService.registerScaleType("linear",i,n)}},{}],43:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=t.noop;e.LinearScaleBase=e.Scale.extend({handleTickRangeOptions:function(){var e=this,n=e.options,i=n.ticks;if(i.beginAtZero){var r=t.sign(e.min),a=t.sign(e.max);0>r&&0>a?e.max=0:r>0&&a>0&&(e.min=0)}void 0!==i.min?e.min=i.min:void 0!==i.suggestedMin&&(e.min=Math.min(e.min,i.suggestedMin)),void 0!==i.max?e.max=i.max:void 0!==i.suggestedMax&&(e.max=Math.max(e.max,i.suggestedMax)),e.min===e.max&&(e.max++,i.beginAtZero||e.min--)},getTickLimit:n,handleDirectionalChanges:n,buildTicks:function(){var n=this,i=n.options,r=i.ticks,a=n.getTickLimit();a=Math.max(2,a);var o={maxTicks:a,min:r.min,max:r.max,stepSize:t.getValueOrDefault(r.fixedStepSize,r.stepSize)},s=n.ticks=e.Ticks.generators.linear(o,n);n.handleDirectionalChanges(),n.max=t.max(s),n.min=t.min(s),r.reverse?(s.reverse(),n.start=n.max,n.end=n.min):(n.start=n.min,n.end=n.max)},convertTicksToLabels:function(){var t=this;t.ticksAsNumbers=t.ticks.slice(),t.zeroLineIndex=t.ticks.indexOf(0),e.Scale.prototype.convertTicksToLabels.call(t)}})}},{}],44:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n={position:"left",ticks:{callback:e.Ticks.formatters.logarithmic}},i=e.Scale.extend({determineDataLimits:function(){function e(e){return u?e.xAxisID===n.id:e.yAxisID===n.id}var n=this,i=n.options,r=i.ticks,a=n.chart,o=a.data,s=o.datasets,l=t.getValueOrDefault,u=n.isHorizontal();if(n.min=null,n.max=null,n.minNotZero=null,i.stacked){var d={};t.each(s,function(r,o){var s=a.getDatasetMeta(o);a.isDatasetVisible(o)&&e(s)&&(void 0===d[s.type]&&(d[s.type]=[]),t.each(r.data,function(e,t){var r=d[s.type],a=+n.getRightValue(e);isNaN(a)||s.data[t].hidden||(r[t]=r[t]||0,i.relativePoints?r[t]=100:r[t]+=a)}))}),t.each(d,function(e){var i=t.min(e),r=t.max(e);n.min=null===n.min?i:Math.min(n.min,i),n.max=null===n.max?r:Math.max(n.max,r)})}else t.each(s,function(i,r){var o=a.getDatasetMeta(r);a.isDatasetVisible(r)&&e(o)&&t.each(i.data,function(e,t){var i=+n.getRightValue(e);isNaN(i)||o.data[t].hidden||(null===n.min?n.min=i:i<n.min&&(n.min=i),null===n.max?n.max=i:i>n.max&&(n.max=i),0!==i&&(null===n.minNotZero||i<n.minNotZero)&&(n.minNotZero=i))})});n.min=l(r.min,n.min),n.max=l(r.max,n.max),n.min===n.max&&(0!==n.min&&null!==n.min?(n.min=Math.pow(10,Math.floor(t.log10(n.min))-1),n.max=Math.pow(10,Math.floor(t.log10(n.max))+1)):(n.min=1,n.max=10))},buildTicks:function(){var n=this,i=n.options,r=i.ticks,a={min:r.min,max:r.max},o=n.ticks=e.Ticks.generators.logarithmic(a,n);n.isHorizontal()||o.reverse(),n.max=t.max(o),n.min=t.min(o),r.reverse?(o.reverse(),n.start=n.max,n.end=n.min):(n.start=n.min,n.end=n.max)},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),e.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])},getPixelForValue:function(e){var n,i,r,a=this,o=a.start,s=+a.getRightValue(e),l=a.paddingTop,u=a.paddingBottom,d=a.paddingLeft,c=a.options,h=c.ticks;return a.isHorizontal()?(r=t.log10(a.end)-t.log10(o),0===s?i=a.left+d:(n=a.width-(d+a.paddingRight),i=a.left+n/r*(t.log10(s)-t.log10(o)),i+=d)):(n=a.height-(l+u),0!==o||h.reverse?0===a.end&&h.reverse?(r=t.log10(a.start)-t.log10(a.minNotZero),i=s===a.end?a.top+l:s===a.minNotZero?a.top+l+.02*n:a.top+l+.02*n+.98*n/r*(t.log10(s)-t.log10(a.minNotZero))):(r=t.log10(a.end)-t.log10(o),n=a.height-(l+u),i=a.bottom-u-n/r*(t.log10(s)-t.log10(o))):(r=t.log10(a.end)-t.log10(a.minNotZero),i=s===o?a.bottom-u:s===a.minNotZero?a.bottom-u-.02*n:a.bottom-u-.02*n-.98*n/r*(t.log10(s)-t.log10(a.minNotZero)))),i},getValueForPixel:function(e){var n,i,r=this,a=t.log10(r.end)-t.log10(r.start);return r.isHorizontal()?(i=r.width-(r.paddingLeft+r.paddingRight),n=r.start*Math.pow(10,(e-r.left-r.paddingLeft)*a/i)):(i=r.height-(r.paddingTop+r.paddingBottom),n=Math.pow(10,(r.bottom-r.paddingBottom-e)*a/i)/r.start),n}});e.scaleService.registerScaleType("logarithmic",i,n)}},{}],45:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=e.defaults.global,i={display:!0,animate:!0,lineArc:!1,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:e.Ticks.formatters.linear},pointLabels:{fontSize:10,callback:function(e){return e}}},r=e.LinearScaleBase.extend({getValueCount:function(){return this.chart.data.labels.length},setDimensions:function(){var e=this,i=e.options,r=i.ticks;e.width=e.maxWidth,e.height=e.maxHeight,e.xCenter=Math.round(e.width/2),e.yCenter=Math.round(e.height/2);var a=t.min([e.height,e.width]),o=t.getValueOrDefault(r.fontSize,n.defaultFontSize);e.drawingArea=i.display?a/2-(o/2+r.backdropPaddingY):a/2},determineDataLimits:function(){var e=this,n=e.chart;e.min=null,e.max=null,
t.each(n.data.datasets,function(i,r){if(n.isDatasetVisible(r)){var a=n.getDatasetMeta(r);t.each(i.data,function(t,n){var i=+e.getRightValue(t);isNaN(i)||a.data[n].hidden||(null===e.min?e.min=i:i<e.min&&(e.min=i),null===e.max?e.max=i:i>e.max&&(e.max=i))})}}),e.handleTickRangeOptions()},getTickLimit:function(){var e=this.options.ticks,i=t.getValueOrDefault(e.fontSize,n.defaultFontSize);return Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*i)))},convertTicksToLabels:function(){var t=this;e.LinearScaleBase.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map(t.options.pointLabels.callback,t)},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e,i,r,a,o,s,l,u,d,c,h,f,p=this.options.pointLabels,m=t.getValueOrDefault(p.fontSize,n.defaultFontSize),_=t.getValueOrDefault(p.fontStyle,n.defaultFontStyle),g=t.getValueOrDefault(p.fontFamily,n.defaultFontFamily),y=t.fontString(m,_,g),v=t.min([this.height/2-m-5,this.width/2]),b=this.width,M=0;for(this.ctx.font=y,i=0;i<this.getValueCount();i++){e=this.getPointPosition(i,v),r=this.ctx.measureText(this.pointLabels[i]?this.pointLabels[i]:"").width+5;var w=this.getIndexAngle(i)+Math.PI/2,x=360*w/(2*Math.PI)%360;0===x||180===x?(a=r/2,e.x+a>b&&(b=e.x+a,o=i),e.x-a<M&&(M=e.x-a,l=i)):180>x?e.x+r>b&&(b=e.x+r,o=i):e.x-r<M&&(M=e.x-r,l=i)}d=M,c=Math.ceil(b-this.width),s=this.getIndexAngle(o),u=this.getIndexAngle(l),h=c/Math.sin(s+Math.PI/2),f=d/Math.sin(u+Math.PI/2),h=t.isNumber(h)?h:0,f=t.isNumber(f)?f:0,this.drawingArea=Math.round(v-(f+h)/2),this.setCenterPoint(f,h)},setCenterPoint:function(e,t){var n=this,i=n.width-t-n.drawingArea,r=e+n.drawingArea;n.xCenter=Math.round((r+i)/2+n.left),n.yCenter=Math.round(n.height/2+n.top)},getIndexAngle:function(e){var t=2*Math.PI/this.getValueCount(),n=this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0,i=n*Math.PI*2/360;return e*t-Math.PI/2+i},getDistanceFromCenterForValue:function(e){var t=this;if(null===e)return 0;var n=t.drawingArea/(t.max-t.min);return t.options.reverse?(t.max-e)*n:(e-t.min)*n},getPointPosition:function(e,t){var n=this,i=n.getIndexAngle(e);return{x:Math.round(Math.cos(i)*t)+n.xCenter,y:Math.round(Math.sin(i)*t)+n.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(){var e=this,t=e.min,n=e.max;return e.getPointPositionForValue(0,e.beginAtZero?0:0>t&&0>n?n:t>0&&n>0?t:0)},draw:function(){var e=this,i=e.options,r=i.gridLines,a=i.ticks,o=i.angleLines,s=i.pointLabels,l=t.getValueOrDefault;if(i.display){var u=e.ctx,d=l(a.fontSize,n.defaultFontSize),c=l(a.fontStyle,n.defaultFontStyle),h=l(a.fontFamily,n.defaultFontFamily),f=t.fontString(d,c,h);if(t.each(e.ticks,function(o,s){if(s>0||i.reverse){var c=e.getDistanceFromCenterForValue(e.ticksAsNumbers[s]),h=e.yCenter-c;if(r.display&&0!==s)if(u.strokeStyle=t.getValueAtIndexOrDefault(r.color,s-1),u.lineWidth=t.getValueAtIndexOrDefault(r.lineWidth,s-1),i.lineArc)u.beginPath(),u.arc(e.xCenter,e.yCenter,c,0,2*Math.PI),u.closePath(),u.stroke();else{u.beginPath();for(var p=0;p<e.getValueCount();p++){var m=e.getPointPosition(p,c);0===p?u.moveTo(m.x,m.y):u.lineTo(m.x,m.y)}u.closePath(),u.stroke()}if(a.display){var _=l(a.fontColor,n.defaultFontColor);if(u.font=f,a.showLabelBackdrop){var g=u.measureText(o).width;u.fillStyle=a.backdropColor,u.fillRect(e.xCenter-g/2-a.backdropPaddingX,h-d/2-a.backdropPaddingY,g+2*a.backdropPaddingX,d+2*a.backdropPaddingY)}u.textAlign="center",u.textBaseline="middle",u.fillStyle=_,u.fillText(o,e.xCenter,h)}}}),!i.lineArc){u.lineWidth=o.lineWidth,u.strokeStyle=o.color;for(var p=e.getDistanceFromCenterForValue(i.reverse?e.min:e.max),m=l(s.fontSize,n.defaultFontSize),_=l(s.fontStyle,n.defaultFontStyle),g=l(s.fontFamily,n.defaultFontFamily),y=t.fontString(m,_,g),v=e.getValueCount()-1;v>=0;v--){if(o.display){var b=e.getPointPosition(v,p);u.beginPath(),u.moveTo(e.xCenter,e.yCenter),u.lineTo(b.x,b.y),u.stroke(),u.closePath()}var M=e.getPointPosition(v,p+5),w=l(s.fontColor,n.defaultFontColor);u.font=y,u.fillStyle=w;var x=e.pointLabels,k=this.getIndexAngle(v)+Math.PI/2,L=360*k/(2*Math.PI)%360;0===L||180===L?u.textAlign="center":180>L?u.textAlign="left":u.textAlign="right",90===L||270===L?u.textBaseline="middle":L>270||90>L?u.textBaseline="bottom":u.textBaseline="top",u.fillText(x[v]?x[v]:"",M.x,M.y)}}}}});e.scaleService.registerScaleType("radialLinear",r,i)}},{}],46:[function(e,t,n){"use strict";var i=e(1);i="function"==typeof i?i:window.moment,t.exports=function(e){var t=e.helpers,n={units:[{name:"millisecond",steps:[1,2,5,10,20,50,100,250,500]},{name:"second",steps:[1,2,5,10,30]},{name:"minute",steps:[1,2,5,10,30]},{name:"hour",steps:[1,2,3,6,12]},{name:"day",steps:[1,2,5]},{name:"week",maxStep:4},{name:"month",maxStep:3},{name:"quarter",maxStep:4},{name:"year",maxStep:!1}]},r={position:"bottom",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:ss a",hour:"MMM D, hA",day:"ll",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1}},a=e.Scale.extend({initialize:function(){if(!i)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");e.Scale.prototype.initialize.call(this)},getLabelMoment:function(e,t){return null===e||null===t?null:"undefined"!=typeof this.labelMoments[e]?this.labelMoments[e][t]:null},getLabelDiff:function(e,t){var n=this;return null===e||null===t?null:(void 0===n.labelDiffs&&n.buildLabelDiffs(),"undefined"!=typeof n.labelDiffs[e]?n.labelDiffs[e][t]:null)},getMomentStartOf:function(e){var t=this;return"week"===t.options.time.unit&&t.options.time.isoWeekday!==!1?e.clone().startOf("isoWeek").isoWeekday(t.options.time.isoWeekday):e.clone().startOf(t.tickUnit)},determineDataLimits:function(){var e=this;e.labelMoments=[];var n=[];e.chart.data.labels&&e.chart.data.labels.length>0?(t.each(e.chart.data.labels,function(t){var i=e.parseTime(t);i.isValid()&&(e.options.time.round&&i.startOf(e.options.time.round),n.push(i))},e),e.firstTick=i.min.call(e,n),e.lastTick=i.max.call(e,n)):(e.firstTick=null,e.lastTick=null),t.each(e.chart.data.datasets,function(r,a){var o=[],s=e.chart.isDatasetVisible(a);"object"==typeof r.data[0]&&null!==r.data[0]?t.each(r.data,function(t){var n=e.parseTime(e.getRightValue(t));n.isValid()&&(e.options.time.round&&n.startOf(e.options.time.round),o.push(n),s&&(e.firstTick=null!==e.firstTick?i.min(e.firstTick,n):n,e.lastTick=null!==e.lastTick?i.max(e.lastTick,n):n))},e):o=n,e.labelMoments.push(o)},e),e.options.time.min&&(e.firstTick=e.parseTime(e.options.time.min)),e.options.time.max&&(e.lastTick=e.parseTime(e.options.time.max)),e.firstTick=(e.firstTick||i()).clone(),e.lastTick=(e.lastTick||i()).clone()},buildLabelDiffs:function(){var e=this;e.labelDiffs=[];var n=[];e.chart.data.labels&&e.chart.data.labels.length>0&&t.each(e.chart.data.labels,function(t){var i=e.parseTime(t);i.isValid()&&(e.options.time.round&&i.startOf(e.options.time.round),n.push(i.diff(e.firstTick,e.tickUnit,!0)))},e),t.each(e.chart.data.datasets,function(i){var r=[];"object"==typeof i.data[0]&&null!==i.data[0]?t.each(i.data,function(t){var n=e.parseTime(e.getRightValue(t));n.isValid()&&(e.options.time.round&&n.startOf(e.options.time.round),r.push(n.diff(e.firstTick,e.tickUnit,!0)))},e):r=n,e.labelDiffs.push(r)},e)},buildTicks:function(){var i=this;i.ctx.save();var r=t.getValueOrDefault(i.options.ticks.fontSize,e.defaults.global.defaultFontSize),a=t.getValueOrDefault(i.options.ticks.fontStyle,e.defaults.global.defaultFontStyle),o=t.getValueOrDefault(i.options.ticks.fontFamily,e.defaults.global.defaultFontFamily),s=t.fontString(r,a,o);if(i.ctx.font=s,i.ticks=[],i.unitScale=1,i.scaleSizeInUnits=0,i.options.time.unit)i.tickUnit=i.options.time.unit||"day",i.displayFormat=i.options.time.displayFormats[i.tickUnit],i.scaleSizeInUnits=i.lastTick.diff(i.firstTick,i.tickUnit,!0),i.unitScale=t.getValueOrDefault(i.options.time.unitStepSize,1);else{var l=i.isHorizontal()?i.width-(i.paddingLeft+i.paddingRight):i.height-(i.paddingTop+i.paddingBottom),u=i.tickFormatFunction(i.firstTick,0,[]),d=i.ctx.measureText(u).width,c=Math.cos(t.toRadians(i.options.ticks.maxRotation)),h=Math.sin(t.toRadians(i.options.ticks.maxRotation));d=d*c+r*h;var f=l/d;i.tickUnit=i.options.time.minUnit,i.scaleSizeInUnits=i.lastTick.diff(i.firstTick,i.tickUnit,!0),i.displayFormat=i.options.time.displayFormats[i.tickUnit];for(var p=0,m=n.units[p];p<n.units.length;){if(i.unitScale=1,t.isArray(m.steps)&&Math.ceil(i.scaleSizeInUnits/f)<t.max(m.steps)){for(var _=0;_<m.steps.length;++_)if(m.steps[_]>=Math.ceil(i.scaleSizeInUnits/f)){i.unitScale=t.getValueOrDefault(i.options.time.unitStepSize,m.steps[_]);break}break}if(m.maxStep===!1||Math.ceil(i.scaleSizeInUnits/f)<m.maxStep){i.unitScale=t.getValueOrDefault(i.options.time.unitStepSize,Math.ceil(i.scaleSizeInUnits/f));break}++p,m=n.units[p],i.tickUnit=m.name;var g=i.firstTick.diff(i.getMomentStartOf(i.firstTick),i.tickUnit,!0),y=i.getMomentStartOf(i.lastTick.clone().add(1,i.tickUnit)).diff(i.lastTick,i.tickUnit,!0);i.scaleSizeInUnits=i.lastTick.diff(i.firstTick,i.tickUnit,!0)+g+y,i.displayFormat=i.options.time.displayFormats[m.name]}}var v;if(i.options.time.min?v=i.getMomentStartOf(i.firstTick):(i.firstTick=i.getMomentStartOf(i.firstTick),v=i.firstTick),!i.options.time.max){var b=i.getMomentStartOf(i.lastTick),M=b.diff(i.lastTick,i.tickUnit,!0);0>M?i.lastTick=i.getMomentStartOf(i.lastTick.add(1,i.tickUnit)):M>=0&&(i.lastTick=b),i.scaleSizeInUnits=i.lastTick.diff(i.firstTick,i.tickUnit,!0)}i.options.time.displayFormat&&(i.displayFormat=i.options.time.displayFormat),i.ticks.push(i.firstTick.clone());for(var w=1;w<=i.scaleSizeInUnits;++w){var x=v.clone().add(w,i.tickUnit);if(i.options.time.max&&x.diff(i.lastTick,i.tickUnit,!0)>=0)break;w%i.unitScale===0&&i.ticks.push(x)}var k=i.ticks[i.ticks.length-1].diff(i.lastTick,i.tickUnit);(0!==k||0===i.scaleSizeInUnits)&&(i.options.time.max?(i.ticks.push(i.lastTick.clone()),i.scaleSizeInUnits=i.lastTick.diff(i.ticks[0],i.tickUnit,!0)):(i.ticks.push(i.lastTick.clone()),i.scaleSizeInUnits=i.lastTick.diff(i.firstTick,i.tickUnit,!0))),i.ctx.restore(),i.labelDiffs=void 0},getLabelForIndex:function(e,t){var n=this,i=n.chart.data.labels&&e<n.chart.data.labels.length?n.chart.data.labels[e]:"";return"object"==typeof n.chart.data.datasets[t].data[0]&&(i=n.getRightValue(n.chart.data.datasets[t].data[e])),n.options.time.tooltipFormat&&(i=n.parseTime(i).format(n.options.time.tooltipFormat)),i},tickFormatFunction:function(e,n,i){var r=e.format(this.displayFormat),a=this.options.ticks,o=t.getValueOrDefault(a.callback,a.userCallback);return o?o(r,n,i):r},convertTicksToLabels:function(){var e=this;e.tickMoments=e.ticks,e.ticks=e.ticks.map(e.tickFormatFunction,e)},getPixelForValue:function(e,t,n){var i=this,r=null;if(void 0!==t&&void 0!==n&&(r=i.getLabelDiff(n,t)),null===r&&(e&&e.isValid||(e=i.parseTime(i.getRightValue(e))),e&&e.isValid&&e.isValid()&&(r=e.diff(i.firstTick,i.tickUnit,!0))),null!==r){var a=0!==r?r/i.scaleSizeInUnits:r;if(i.isHorizontal()){var o=i.width-(i.paddingLeft+i.paddingRight),s=o*a+i.paddingLeft;return i.left+Math.round(s)}var l=i.height-(i.paddingTop+i.paddingBottom),u=l*a+i.paddingTop;return i.top+Math.round(u)}},getPixelForTick:function(e){return this.getPixelForValue(this.tickMoments[e],null,null)},getValueForPixel:function(e){var t=this,n=t.isHorizontal()?t.width-(t.paddingLeft+t.paddingRight):t.height-(t.paddingTop+t.paddingBottom),r=(e-(t.isHorizontal()?t.left+t.paddingLeft:t.top+t.paddingTop))/n;return r*=t.scaleSizeInUnits,t.firstTick.clone().add(i.duration(r,t.tickUnit).asSeconds(),"seconds")},parseTime:function(e){var t=this;return"string"==typeof t.options.time.parser?i(e,t.options.time.parser):"function"==typeof t.options.time.parser?t.options.time.parser(e):"function"==typeof e.getMonth||"number"==typeof e?i(e):e.isValid&&e.isValid()?e:"string"!=typeof t.options.time.format&&t.options.time.format.call?t.options.time.format(e):i(e,t.options.time.format)}});e.scaleService.registerScaleType("time",a,r)}},{1:1}]},{},[7])(7)}),function(e,t,n){!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):jQuery&&!jQuery.fn.sparkline&&e(jQuery)}(function(i){"use strict";var r,a,o,s,l,u,d,c,h,f,p,m,_,g,y,v,b,M,w,x,k,L,D,T,Y,S,C,H,j,A,P,E,I={},O=0;r=function(){return{common:{type:"line",lineColor:"#00f",fillColor:"#cdf",defaultPixelsPerValue:3,width:"auto",height:"auto",composite:!1,tagValuesAttribute:"values",tagOptionsPrefix:"spark",enableTagOptions:!1,enableHighlight:!0,highlightLighten:1.4,tooltipSkipNull:!0,tooltipPrefix:"",tooltipSuffix:"",disableHiddenCheck:!1,numberFormatter:!1,numberDigitGroupCount:3,numberDigitGroupSep:",",numberDecimalMark:".",disableTooltips:!1,disableInteraction:!1},line:{spotColor:"#f80",highlightSpotColor:"#5f5",highlightLineColor:"#f22",spotRadius:1.5,minSpotColor:"#f80",maxSpotColor:"#f80",lineWidth:1,normalRangeMin:n,normalRangeMax:n,normalRangeColor:"#ccc",drawNormalOnTop:!1,chartRangeMin:n,chartRangeMax:n,chartRangeMinX:n,chartRangeMaxX:n,tooltipFormat:new o('<span style="color: {{color}}">&#9679;</span> {{prefix}}{{y}}{{suffix}}')},bar:{barColor:"#3366cc",negBarColor:"#f44",stackedBarColor:["#3366cc","#dc3912","#ff9900","#109618","#66aa00","#dd4477","#0099c6","#990099"],zeroColor:n,nullColor:n,zeroAxis:!0,barWidth:4,barSpacing:1,chartRangeMax:n,chartRangeMin:n,chartRangeClip:!1,colorMap:n,tooltipFormat:new o('<span style="color: {{color}}">&#9679;</span> {{prefix}}{{value}}{{suffix}}')},tristate:{barWidth:4,barSpacing:1,posBarColor:"#6f6",negBarColor:"#f44",zeroBarColor:"#999",colorMap:{},tooltipFormat:new o('<span style="color: {{color}}">&#9679;</span> {{value:map}}'),tooltipValueLookups:{map:{"-1":"Loss",0:"Draw",1:"Win"}}},discrete:{lineHeight:"auto",thresholdColor:n,thresholdValue:0,chartRangeMax:n,chartRangeMin:n,chartRangeClip:!1,tooltipFormat:new o("{{prefix}}{{value}}{{suffix}}")},bullet:{targetColor:"#f33",targetWidth:3,performanceColor:"#33f",rangeColors:["#d3dafe","#a8b6ff","#7f94ff"],base:n,tooltipFormat:new o("{{fieldkey:fields}} - {{value}}"),tooltipValueLookups:{fields:{r:"Range",p:"Performance",t:"Target"}}},pie:{offset:0,sliceColors:["#3366cc","#dc3912","#ff9900","#109618","#66aa00","#dd4477","#0099c6","#990099"],borderWidth:0,borderColor:"#000",tooltipFormat:new o('<span style="color: {{color}}">&#9679;</span> {{value}} ({{percent.1}}%)')},box:{raw:!1,boxLineColor:"#000",boxFillColor:"#cdf",whiskerColor:"#000",outlierLineColor:"#333",outlierFillColor:"#fff",medianColor:"#f00",showOutliers:!0,outlierIQR:1.5,spotRadius:1.5,target:n,targetColor:"#4a2",chartRangeMax:n,chartRangeMin:n,tooltipFormat:new o("{{field:fields}}: {{value}}"),tooltipFormatFieldlistKey:"field",tooltipValueLookups:{fields:{lq:"Lower Quartile",med:"Median",uq:"Upper Quartile",lo:"Left Outlier",ro:"Right Outlier",lw:"Left Whisker",rw:"Right Whisker"}}}}},S='.jqstooltip { position: absolute;left: 0px;top: 0px;visibility: hidden;background: rgb(0, 0, 0) transparent;background-color: rgba(0,0,0,0.6);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";color: white;font: 10px arial, san serif;text-align: left;white-space: nowrap;padding: 5px;border: 1px solid white;box-sizing: content-box;z-index: 10000;}.jqsfield { color: white;font: 10px arial, san serif;text-align: left;}',a=function(){var e,t;return e=function(){this.init.apply(this,arguments)},arguments.length>1?(arguments[0]?(e.prototype=i.extend(new arguments[0],arguments[arguments.length-1]),e._super=arguments[0].prototype):e.prototype=arguments[arguments.length-1],arguments.length>2&&(t=Array.prototype.slice.call(arguments,1,-1),t.unshift(e.prototype),i.extend.apply(i,t))):e.prototype=arguments[0],e.prototype.cls=e,e},i.SPFormatClass=o=a({fre:/\{\{([\w.]+?)(:(.+?))?\}\}/g,precre:/(\w+)\.(\d+)/,init:function(e,t){this.format=e,this.fclass=t},render:function(e,t,i){var r,a,o,s,l,u=this,d=e;return this.format.replace(this.fre,function(){var e;return a=arguments[1],o=arguments[3],r=u.precre.exec(a),r?(l=r[2],a=r[1]):l=!1,s=d[a],s===n?"":o&&t&&t[o]?(e=t[o],e.get?t[o].get(s)||s:t[o][s]||s):(h(s)&&(s=i.get("numberFormatter")?i.get("numberFormatter")(s):g(s,l,i.get("numberDigitGroupCount"),i.get("numberDigitGroupSep"),i.get("numberDecimalMark"))),s)})}}),i.spformat=function(e,t){return new o(e,t)},s=function(e,t,n){return e<t?t:e>n?n:e},l=function(e,n){var i;return 2===n?(i=t.floor(e.length/2),e.length%2?e[i]:(e[i-1]+e[i])/2):e.length%2?(i=(e.length*n+n)/4,i%1?(e[t.floor(i)]+e[t.floor(i)-1])/2:e[i-1]):(i=(e.length*n+2)/4,i%1?(e[t.floor(i)]+e[t.floor(i)-1])/2:e[i-1])},u=function(e){var t;switch(e){case"undefined":e=n;break;case"null":e=null;break;case"true":e=!0;break;case"false":e=!1;break;default:t=parseFloat(e),e==t&&(e=t)}return e},d=function(e){var t,n=[];for(t=e.length;t--;)n[t]=u(e[t]);return n},c=function(e,t){var n,i,r=[];for(n=0,i=e.length;n<i;n++)e[n]!==t&&r.push(e[n]);return r},h=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},g=function(e,t,n,r,a){var o,s;for(e=(t===!1?parseFloat(e).toString():e.toFixed(t)).split(""),o=(o=i.inArray(".",e))<0?e.length:o,o<e.length&&(e[o]=a),s=o-n;s>0;s-=n)e.splice(s,0,r);return e.join("")},f=function(e,t,n){var i;for(i=t.length;i--;)if((!n||null!==t[i])&&t[i]!==e)return!1;return!0},p=function(e){var t,n=0;for(t=e.length;t--;)n+="number"==typeof e[t]?e[t]:0;return n},_=function(e){return i.isArray(e)?e:[e]},m=function(t){var n,i;if(e.createStyleSheet)try{return void(e.createStyleSheet().cssText=t)}catch(r){i=!0}n=e.createElement("style"),n.type="text/css",e.getElementsByTagName("head")[0].appendChild(n),i?e.styleSheets[e.styleSheets.length-1].cssText=t:n["string"==typeof e.body.style.WebkitAppearance?"innerText":"innerHTML"]=t},i.fn.simpledraw=function(t,r,a,o){var s,l;if(a&&(s=this.data("_jqs_vcanvas")))return s;if(i.fn.sparkline.canvas===!1)return!1;if(i.fn.sparkline.canvas===n){var u=e.createElement("canvas");if(u.getContext&&u.getContext("2d"))i.fn.sparkline.canvas=function(e,t,n,i){return new A(e,t,n,i)};else{if(!e.namespaces||e.namespaces.v)return i.fn.sparkline.canvas=!1,!1;e.namespaces.add("v","urn:schemas-microsoft-com:vml","#default#VML"),i.fn.sparkline.canvas=function(e,t,n,i){return new P(e,t,n)}}}return t===n&&(t=i(this).innerWidth()),r===n&&(r=i(this).innerHeight()),s=i.fn.sparkline.canvas(t,r,this,o),l=i(this).data("_jqs_mhandler"),l&&l.registerCanvas(s),s},i.fn.cleardraw=function(){var e=this.data("_jqs_vcanvas");e&&e.reset()},i.RangeMapClass=y=a({init:function(e){var t,n,i=[];for(t in e)e.hasOwnProperty(t)&&"string"==typeof t&&t.indexOf(":")>-1&&(n=t.split(":"),n[0]=0===n[0].length?-(1/0):parseFloat(n[0]),n[1]=0===n[1].length?1/0:parseFloat(n[1]),n[2]=e[t],i.push(n));this.map=e,this.rangelist=i||!1},get:function(e){var t,i,r,a=this.rangelist;if((r=this.map[e])!==n)return r;if(a)for(t=a.length;t--;)if(i=a[t],i[0]<=e&&i[1]>=e)return i[2];return n}}),i.range_map=function(e){return new y(e)},v=a({init:function(e,t){var n=i(e);this.$el=n,this.options=t,this.currentPageX=0,this.currentPageY=0,this.el=e,this.splist=[],this.tooltip=null,this.over=!1,this.displayTooltips=!t.get("disableTooltips"),this.highlightEnabled=!t.get("disableHighlight")},registerSparkline:function(e){this.splist.push(e),this.over&&this.updateDisplay()},registerCanvas:function(e){var t=i(e.canvas);this.canvas=e,this.$canvas=t,t.mouseenter(i.proxy(this.mouseenter,this)),t.mouseleave(i.proxy(this.mouseleave,this)),t.click(i.proxy(this.mouseclick,this))},reset:function(e){this.splist=[],this.tooltip&&e&&(this.tooltip.remove(),this.tooltip=n)},mouseclick:function(e){var t=i.Event("sparklineClick");t.originalEvent=e,t.sparklines=this.splist,this.$el.trigger(t)},mouseenter:function(t){i(e.body).unbind("mousemove.jqs"),i(e.body).bind("mousemove.jqs",i.proxy(this.mousemove,this)),this.over=!0,this.currentPageX=t.pageX,this.currentPageY=t.pageY,this.currentEl=t.target,!this.tooltip&&this.displayTooltips&&(this.tooltip=new b(this.options),this.tooltip.updatePosition(t.pageX,t.pageY)),this.updateDisplay()},mouseleave:function(){i(e.body).unbind("mousemove.jqs");var t,n,r=this.splist,a=r.length,o=!1;for(this.over=!1,this.currentEl=null,this.tooltip&&(this.tooltip.remove(),this.tooltip=null),n=0;n<a;n++)t=r[n],t.clearRegionHighlight()&&(o=!0);o&&this.canvas.render()},mousemove:function(e){this.currentPageX=e.pageX,this.currentPageY=e.pageY,this.currentEl=e.target,this.tooltip&&this.tooltip.updatePosition(e.pageX,e.pageY),this.updateDisplay()},updateDisplay:function(){var e,t,n,r,a,o=this.splist,s=o.length,l=!1,u=this.$canvas.offset(),d=this.currentPageX-u.left,c=this.currentPageY-u.top;if(this.over){for(n=0;n<s;n++)t=o[n],r=t.setRegionHighlight(this.currentEl,d,c),r&&(l=!0);if(l){if(a=i.Event("sparklineRegionChange"),a.sparklines=this.splist,this.$el.trigger(a),this.tooltip){for(e="",n=0;n<s;n++)t=o[n],e+=t.getCurrentRegionTooltip();this.tooltip.setContent(e)}this.disableHighlight||this.canvas.render()}null===r&&this.mouseleave()}}}),b=a({sizeStyle:"position: static !important;display: block !important;visibility: hidden !important;float: left !important;",init:function(t){var n,r=t.get("tooltipClassname","jqstooltip"),a=this.sizeStyle;this.container=t.get("tooltipContainer")||e.body,this.tooltipOffsetX=t.get("tooltipOffsetX",10),this.tooltipOffsetY=t.get("tooltipOffsetY",12),i("#jqssizetip").remove(),i("#jqstooltip").remove(),this.sizetip=i("<div/>",{id:"jqssizetip",style:a,"class":r}),this.tooltip=i("<div/>",{id:"jqstooltip","class":r}).appendTo(this.container),n=this.tooltip.offset(),this.offsetLeft=n.left,this.offsetTop=n.top,this.hidden=!0,i(window).unbind("resize.jqs scroll.jqs"),i(window).bind("resize.jqs scroll.jqs",i.proxy(this.updateWindowDims,this)),this.updateWindowDims()},updateWindowDims:function(){this.scrollTop=i(window).scrollTop(),this.scrollLeft=i(window).scrollLeft(),this.scrollRight=this.scrollLeft+i(window).width(),this.updatePosition()},getSize:function(e){this.sizetip.html(e).appendTo(this.container),this.width=this.sizetip.width()+1,this.height=this.sizetip.height(),this.sizetip.remove()},setContent:function(e){return e?(this.getSize(e),this.tooltip.html(e).css({width:this.width,height:this.height,visibility:"visible"}),void(this.hidden&&(this.hidden=!1,this.updatePosition()))):(this.tooltip.css("visibility","hidden"),void(this.hidden=!0))},updatePosition:function(e,t){if(e===n){if(this.mousex===n)return;e=this.mousex-this.offsetLeft,t=this.mousey-this.offsetTop}else this.mousex=e-=this.offsetLeft,this.mousey=t-=this.offsetTop;this.height&&this.width&&!this.hidden&&(t-=this.height+this.tooltipOffsetY,e+=this.tooltipOffsetX,t<this.scrollTop&&(t=this.scrollTop),e<this.scrollLeft?e=this.scrollLeft:e+this.width>this.scrollRight&&(e=this.scrollRight-this.width),this.tooltip.css({left:e,top:t}))},remove:function(){this.tooltip.remove(),this.sizetip.remove(),this.sizetip=this.tooltip=n,i(window).unbind("resize.jqs scroll.jqs")}}),C=function(){m(S)},i(C),E=[],i.fn.sparkline=function(t,r){return this.each(function(){var a,o,s=new i.fn.sparkline.options(this,r),l=i(this);if(a=function(){var r,a,o,u,d,c,h;return"html"===t||t===n?(h=this.getAttribute(s.get("tagValuesAttribute")),h!==n&&null!==h||(h=l.html()),r=h.replace(/(^\s*<!--)|(-->\s*$)|\s+/g,"").split(",")):r=t,a="auto"===s.get("width")?r.length*s.get("defaultPixelsPerValue"):s.get("width"),"auto"===s.get("height")?s.get("composite")&&i.data(this,"_jqs_vcanvas")||(u=e.createElement("span"),u.innerHTML="a",l.html(u),o=i(u).innerHeight()||i(u).height(),i(u).remove(),u=null):o=s.get("height"),s.get("disableInteraction")?d=!1:(d=i.data(this,"_jqs_mhandler"),d?s.get("composite")||d.reset():(d=new v(this,s),i.data(this,"_jqs_mhandler",d))),s.get("composite")&&!i.data(this,"_jqs_vcanvas")?void(i.data(this,"_jqs_errnotify")||(alert("Attempted to attach a composite sparkline to an element with no existing sparkline"),i.data(this,"_jqs_errnotify",!0))):(c=new(i.fn.sparkline[s.get("type")])(this,r,s,a,o),c.render(),void(d&&d.registerSparkline(c)))},i(this).html()&&!s.get("disableHiddenCheck")&&i(this).is(":hidden")||!i(this).parents("body").length){if(!s.get("composite")&&i.data(this,"_jqs_pending"))for(o=E.length;o;o--)E[o-1][0]==this&&E.splice(o-1,1);E.push([this,a]),i.data(this,"_jqs_pending",!0)}else a.call(this)})},i.fn.sparkline.defaults=r(),i.sparkline_display_visible=function(){var e,t,n,r=[];for(t=0,n=E.length;t<n;t++)e=E[t][0],i(e).is(":visible")&&!i(e).parents().is(":hidden")?(E[t][1].call(e),i.data(E[t][0],"_jqs_pending",!1),r.push(t)):i(e).closest("html").length||i.data(e,"_jqs_pending")||(i.data(E[t][0],"_jqs_pending",!1),r.push(t));for(t=r.length;t;t--)E.splice(r[t-1],1)},i.fn.sparkline.options=a({init:function(e,t){var n,r,a,o;this.userOptions=t=t||{},this.tag=e,this.tagValCache={},r=i.fn.sparkline.defaults,a=r.common,this.tagOptionsPrefix=t.enableTagOptions&&(t.tagOptionsPrefix||a.tagOptionsPrefix),o=this.getTagSetting("type"),n=o===I?r[t.type||a.type]:r[o],this.mergedOptions=i.extend({},a,n,t)},getTagSetting:function(e){var t,i,r,a,o=this.tagOptionsPrefix;if(o===!1||o===n)return I;if(this.tagValCache.hasOwnProperty(e))t=this.tagValCache.key;else{if(t=this.tag.getAttribute(o+e),t===n||null===t)t=I;else if("["===t.substr(0,1))for(t=t.substr(1,t.length-2).split(","),i=t.length;i--;)t[i]=u(t[i].replace(/(^\s*)|(\s*$)/g,""));else if("{"===t.substr(0,1))for(r=t.substr(1,t.length-2).split(","),t={},i=r.length;i--;)a=r[i].split(":",2),t[a[0].replace(/(^\s*)|(\s*$)/g,"")]=u(a[1].replace(/(^\s*)|(\s*$)/g,""));else t=u(t);this.tagValCache.key=t}return t},get:function(e,t){var i,r=this.getTagSetting(e);return r!==I?r:(i=this.mergedOptions[e])===n?t:i}}),i.fn.sparkline._base=a({disabled:!1,init:function(e,t,r,a,o){this.el=e,this.$el=i(e),this.values=t,this.options=r,this.width=a,this.height=o,this.currentRegion=n},initTarget:function(){var e=!this.options.get("disableInteraction");(this.target=this.$el.simpledraw(this.width,this.height,this.options.get("composite"),e))?(this.canvasWidth=this.target.pixelWidth,this.canvasHeight=this.target.pixelHeight):this.disabled=!0},render:function(){return!this.disabled||(this.el.innerHTML="",!1)},getRegion:function(e,t){},setRegionHighlight:function(e,t,i){var r,a=this.currentRegion,o=!this.options.get("disableHighlight");return t>this.canvasWidth||i>this.canvasHeight||t<0||i<0?null:(r=this.getRegion(e,t,i),a!==r&&(a!==n&&o&&this.removeHighlight(),this.currentRegion=r,r!==n&&o&&this.renderHighlight(),!0))},clearRegionHighlight:function(){return this.currentRegion!==n&&(this.removeHighlight(),this.currentRegion=n,!0)},renderHighlight:function(){this.changeHighlight(!0)},removeHighlight:function(){this.changeHighlight(!1)},changeHighlight:function(e){},getCurrentRegionTooltip:function(){var e,t,r,a,s,l,u,d,c,h,f,p,m,_,g=this.options,y="",v=[];if(this.currentRegion===n)return"";if(e=this.getCurrentRegionFields(),f=g.get("tooltipFormatter"))return f(this,g,e);if(g.get("tooltipChartTitle")&&(y+='<div class="jqs jqstitle">'+g.get("tooltipChartTitle")+"</div>\n"),t=this.options.get("tooltipFormat"),!t)return"";if(i.isArray(t)||(t=[t]),i.isArray(e)||(e=[e]),u=this.options.get("tooltipFormatFieldlist"),d=this.options.get("tooltipFormatFieldlistKey"),u&&d){for(c=[],l=e.length;l--;)h=e[l][d],(_=i.inArray(h,u))!=-1&&(c[_]=e[l]);e=c}for(r=t.length,m=e.length,l=0;l<r;l++)for(p=t[l],"string"==typeof p&&(p=new o(p)),a=p.fclass||"jqsfield",_=0;_<m;_++)e[_].isNull&&g.get("tooltipSkipNull")||(i.extend(e[_],{prefix:g.get("tooltipPrefix"),suffix:g.get("tooltipSuffix")}),s=p.render(e[_],g.get("tooltipValueLookups"),g),v.push('<div class="'+a+'">'+s+"</div>"));return v.length?y+v.join("\n"):""},getCurrentRegionFields:function(){},calcHighlightColor:function(e,n){var i,r,a,o,l=n.get("highlightColor"),u=n.get("highlightLighten");if(l)return l;if(u&&(i=/^#([0-9a-f])([0-9a-f])([0-9a-f])$/i.exec(e)||/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(e))){for(a=[],r=4===e.length?16:1,o=0;o<3;o++)a[o]=s(t.round(parseInt(i[o+1],16)*r*u),0,255);return"rgb("+a.join(",")+")"}return e}}),M={changeHighlight:function(e){var t,n=this.currentRegion,r=this.target,a=this.regionShapes[n];a&&(t=this.renderRegion(n,e),i.isArray(t)||i.isArray(a)?(r.replaceWithShapes(a,t),this.regionShapes[n]=i.map(t,function(e){return e.id})):(r.replaceWithShape(a,t),this.regionShapes[n]=t.id))},render:function(){var e,t,n,r,a=this.values,o=this.target,s=this.regionShapes;if(this.cls._super.render.call(this)){for(n=a.length;n--;)if(e=this.renderRegion(n))if(i.isArray(e)){for(t=[],r=e.length;r--;)e[r].append(),t.push(e[r].id);s[n]=t}else e.append(),s[n]=e.id;else s[n]=null;o.render()}}},i.fn.sparkline.line=w=a(i.fn.sparkline._base,{type:"line",init:function(e,t,n,i,r){w._super.init.call(this,e,t,n,i,r),this.vertices=[],this.regionMap=[],this.xvalues=[],this.yvalues=[],this.yminmax=[],this.hightlightSpotId=null,this.lastShapeId=null,this.initTarget()},getRegion:function(e,t,i){var r,a=this.regionMap;for(r=a.length;r--;)if(null!==a[r]&&t>=a[r][0]&&t<=a[r][1])return a[r][2];return n},getCurrentRegionFields:function(){var e=this.currentRegion;return{isNull:null===this.yvalues[e],x:this.xvalues[e],y:this.yvalues[e],color:this.options.get("lineColor"),fillColor:this.options.get("fillColor"),offset:e}},renderHighlight:function(){var e,t,i=this.currentRegion,r=this.target,a=this.vertices[i],o=this.options,s=o.get("spotRadius"),l=o.get("highlightSpotColor"),u=o.get("highlightLineColor");a&&(s&&l&&(e=r.drawCircle(a[0],a[1],s,n,l),this.highlightSpotId=e.id,r.insertAfterShape(this.lastShapeId,e)),u&&(t=r.drawLine(a[0],this.canvasTop,a[0],this.canvasTop+this.canvasHeight,u),this.highlightLineId=t.id,r.insertAfterShape(this.lastShapeId,t)))},removeHighlight:function(){var e=this.target;this.highlightSpotId&&(e.removeShapeId(this.highlightSpotId),this.highlightSpotId=null),this.highlightLineId&&(e.removeShapeId(this.highlightLineId),this.highlightLineId=null)},scanValues:function(){var e,n,i,r,a,o=this.values,s=o.length,l=this.xvalues,u=this.yvalues,d=this.yminmax;for(e=0;e<s;e++)n=o[e],i="string"==typeof o[e],r="object"==typeof o[e]&&o[e]instanceof Array,a=i&&o[e].split(":"),i&&2===a.length?(l.push(Number(a[0])),u.push(Number(a[1])),d.push(Number(a[1]))):r?(l.push(n[0]),u.push(n[1]),d.push(n[1])):(l.push(e),null===o[e]||"null"===o[e]?u.push(null):(u.push(Number(n)),d.push(Number(n))));this.options.get("xvalues")&&(l=this.options.get("xvalues")),this.maxy=this.maxyorg=t.max.apply(t,d),this.miny=this.minyorg=t.min.apply(t,d),this.maxx=t.max.apply(t,l),this.minx=t.min.apply(t,l),this.xvalues=l,this.yvalues=u,this.yminmax=d},processRangeOptions:function(){var e=this.options,t=e.get("normalRangeMin"),i=e.get("normalRangeMax");t!==n&&(t<this.miny&&(this.miny=t),i>this.maxy&&(this.maxy=i)),e.get("chartRangeMin")!==n&&(e.get("chartRangeClip")||e.get("chartRangeMin")<this.miny)&&(this.miny=e.get("chartRangeMin")),e.get("chartRangeMax")!==n&&(e.get("chartRangeClip")||e.get("chartRangeMax")>this.maxy)&&(this.maxy=e.get("chartRangeMax")),e.get("chartRangeMinX")!==n&&(e.get("chartRangeClipX")||e.get("chartRangeMinX")<this.minx)&&(this.minx=e.get("chartRangeMinX")),e.get("chartRangeMaxX")!==n&&(e.get("chartRangeClipX")||e.get("chartRangeMaxX")>this.maxx)&&(this.maxx=e.get("chartRangeMaxX"))},drawNormalRange:function(e,i,r,a,o){var s=this.options.get("normalRangeMin"),l=this.options.get("normalRangeMax"),u=i+t.round(r-r*((l-this.miny)/o)),d=t.round(r*(l-s)/o);this.target.drawRect(e,u,a,d,n,this.options.get("normalRangeColor")).append()},render:function(){var e,r,a,o,s,l,u,d,c,h,f,p,m,_,g,v,b,M,x,k,L,D,T,Y,S,C=this.options,H=this.target,j=this.canvasWidth,A=this.canvasHeight,P=this.vertices,E=C.get("spotRadius"),I=this.regionMap;
if(w._super.render.call(this)&&(this.scanValues(),this.processRangeOptions(),T=this.xvalues,Y=this.yvalues,this.yminmax.length&&!(this.yvalues.length<2))){for(o=s=0,e=this.maxx-this.minx===0?1:this.maxx-this.minx,r=this.maxy-this.miny===0?1:this.maxy-this.miny,a=this.yvalues.length-1,E&&(j<4*E||A<4*E)&&(E=0),E&&(L=C.get("highlightSpotColor")&&!C.get("disableInteraction"),(L||C.get("minSpotColor")||C.get("spotColor")&&Y[a]===this.miny)&&(A-=t.ceil(E)),(L||C.get("maxSpotColor")||C.get("spotColor")&&Y[a]===this.maxy)&&(A-=t.ceil(E),o+=t.ceil(E)),(L||(C.get("minSpotColor")||C.get("maxSpotColor"))&&(Y[0]===this.miny||Y[0]===this.maxy))&&(s+=t.ceil(E),j-=t.ceil(E)),(L||C.get("spotColor")||C.get("minSpotColor")||C.get("maxSpotColor")&&(Y[a]===this.miny||Y[a]===this.maxy))&&(j-=t.ceil(E))),A--,C.get("normalRangeMin")===n||C.get("drawNormalOnTop")||this.drawNormalRange(s,o,A,j,r),u=[],d=[u],_=g=null,v=Y.length,S=0;S<v;S++)c=T[S],f=T[S+1],h=Y[S],p=s+t.round((c-this.minx)*(j/e)),m=S<v-1?s+t.round((f-this.minx)*(j/e)):j,g=p+(m-p)/2,I[S]=[_||0,g,S],_=g,null===h?S&&(null!==Y[S-1]&&(u=[],d.push(u)),P.push(null)):(h<this.miny&&(h=this.miny),h>this.maxy&&(h=this.maxy),u.length||u.push([p,o+A]),l=[p,o+t.round(A-A*((h-this.miny)/r))],u.push(l),P.push(l));for(b=[],M=[],x=d.length,S=0;S<x;S++)u=d[S],u.length&&(C.get("fillColor")&&(u.push([u[u.length-1][0],o+A]),M.push(u.slice(0)),u.pop()),u.length>2&&(u[0]=[u[0][0],u[1][1]]),b.push(u));for(x=M.length,S=0;S<x;S++)H.drawShape(M[S],C.get("fillColor"),C.get("fillColor")).append();for(C.get("normalRangeMin")!==n&&C.get("drawNormalOnTop")&&this.drawNormalRange(s,o,A,j,r),x=b.length,S=0;S<x;S++)H.drawShape(b[S],C.get("lineColor"),n,C.get("lineWidth")).append();if(E&&C.get("valueSpots"))for(k=C.get("valueSpots"),k.get===n&&(k=new y(k)),S=0;S<v;S++)D=k.get(Y[S]),D&&H.drawCircle(s+t.round((T[S]-this.minx)*(j/e)),o+t.round(A-A*((Y[S]-this.miny)/r)),E,n,D).append();E&&C.get("spotColor")&&null!==Y[a]&&H.drawCircle(s+t.round((T[T.length-1]-this.minx)*(j/e)),o+t.round(A-A*((Y[a]-this.miny)/r)),E,n,C.get("spotColor")).append(),this.maxy!==this.minyorg&&(E&&C.get("minSpotColor")&&(c=T[i.inArray(this.minyorg,Y)],H.drawCircle(s+t.round((c-this.minx)*(j/e)),o+t.round(A-A*((this.minyorg-this.miny)/r)),E,n,C.get("minSpotColor")).append()),E&&C.get("maxSpotColor")&&(c=T[i.inArray(this.maxyorg,Y)],H.drawCircle(s+t.round((c-this.minx)*(j/e)),o+t.round(A-A*((this.maxyorg-this.miny)/r)),E,n,C.get("maxSpotColor")).append())),this.lastShapeId=H.getLastShapeId(),this.canvasTop=o,H.render()}}}),i.fn.sparkline.bar=x=a(i.fn.sparkline._base,M,{type:"bar",init:function(e,r,a,o,l){var h,f,p,m,_,g,v,b,M,w,k,L,D,T,Y,S,C,H,j,A,P,E,I=parseInt(a.get("barWidth"),10),O=parseInt(a.get("barSpacing"),10),W=a.get("chartRangeMin"),F=a.get("chartRangeMax"),R=a.get("chartRangeClip"),N=1/0,z=-(1/0);for(x._super.init.call(this,e,r,a,o,l),g=0,v=r.length;g<v;g++)A=r[g],h="string"==typeof A&&A.indexOf(":")>-1,(h||i.isArray(A))&&(Y=!0,h&&(A=r[g]=d(A.split(":"))),A=c(A,null),f=t.min.apply(t,A),p=t.max.apply(t,A),f<N&&(N=f),p>z&&(z=p));this.stacked=Y,this.regionShapes={},this.barWidth=I,this.barSpacing=O,this.totalBarWidth=I+O,this.width=o=r.length*I+(r.length-1)*O,this.initTarget(),R&&(D=W===n?-(1/0):W,T=F===n?1/0:F),_=[],m=Y?[]:_;var B=[],$=[];for(g=0,v=r.length;g<v;g++)if(Y)for(S=r[g],r[g]=j=[],B[g]=0,m[g]=$[g]=0,C=0,H=S.length;C<H;C++)A=j[C]=R?s(S[C],D,T):S[C],null!==A&&(A>0&&(B[g]+=A),N<0&&z>0?A<0?$[g]+=t.abs(A):m[g]+=A:m[g]+=t.abs(A-(A<0?z:N)),_.push(A));else A=R?s(r[g],D,T):r[g],A=r[g]=u(A),null!==A&&_.push(A);this.max=L=t.max.apply(t,_),this.min=k=t.min.apply(t,_),this.stackMax=z=Y?t.max.apply(t,B):L,this.stackMin=N=Y?t.min.apply(t,_):k,a.get("chartRangeMin")!==n&&(a.get("chartRangeClip")||a.get("chartRangeMin")<k)&&(k=a.get("chartRangeMin")),a.get("chartRangeMax")!==n&&(a.get("chartRangeClip")||a.get("chartRangeMax")>L)&&(L=a.get("chartRangeMax")),this.zeroAxis=M=a.get("zeroAxis",!0),w=k<=0&&L>=0&&M?0:0==M?k:k>0?k:L,this.xaxisOffset=w,b=Y?t.max.apply(t,m)+t.max.apply(t,$):L-k,this.canvasHeightEf=M&&k<0?this.canvasHeight-2:this.canvasHeight-1,k<w?(E=Y&&L>=0?z:L,P=(E-w)/b*this.canvasHeight,P!==t.ceil(P)&&(this.canvasHeightEf-=2,P=t.ceil(P))):P=this.canvasHeight,this.yoffset=P,i.isArray(a.get("colorMap"))?(this.colorMapByIndex=a.get("colorMap"),this.colorMapByValue=null):(this.colorMapByIndex=null,this.colorMapByValue=a.get("colorMap"),this.colorMapByValue&&this.colorMapByValue.get===n&&(this.colorMapByValue=new y(this.colorMapByValue))),this.range=b},getRegion:function(e,i,r){var a=t.floor(i/this.totalBarWidth);return a<0||a>=this.values.length?n:a},getCurrentRegionFields:function(){var e,t,n=this.currentRegion,i=_(this.values[n]),r=[];for(t=i.length;t--;)e=i[t],r.push({isNull:null===e,value:e,color:this.calcColor(t,e,n),offset:n});return r},calcColor:function(e,t,r){var a,o,s=this.colorMapByIndex,l=this.colorMapByValue,u=this.options;return a=this.stacked?u.get("stackedBarColor"):t<0?u.get("negBarColor"):u.get("barColor"),0===t&&u.get("zeroColor")!==n&&(a=u.get("zeroColor")),l&&(o=l.get(t))?a=o:s&&s.length>r&&(a=s[r]),i.isArray(a)?a[e%a.length]:a},renderRegion:function(e,r){var a,o,s,l,u,d,c,h,p,m,_=this.values[e],g=this.options,y=this.xaxisOffset,v=[],b=this.range,M=this.stacked,w=this.target,x=e*this.totalBarWidth,k=this.canvasHeightEf,L=this.yoffset;if(_=i.isArray(_)?_:[_],c=_.length,h=_[0],l=f(null,_),m=f(y,_,!0),l)return g.get("nullColor")?(s=r?g.get("nullColor"):this.calcHighlightColor(g.get("nullColor"),g),a=L>0?L-1:L,w.drawRect(x,a,this.barWidth-1,0,s,s)):n;for(u=L,d=0;d<c;d++){if(h=_[d],M&&h===y){if(!m||p)continue;p=!0}o=b>0?t.floor(k*(t.abs(h-y)/b))+1:1,h<y||h===y&&0===L?(a=u,u+=o):(a=L-o,L-=o),s=this.calcColor(d,h,e),r&&(s=this.calcHighlightColor(s,g)),v.push(w.drawRect(x,a,this.barWidth-1,o-1,s,s))}return 1===v.length?v[0]:v}}),i.fn.sparkline.tristate=k=a(i.fn.sparkline._base,M,{type:"tristate",init:function(e,t,r,a,o){var s=parseInt(r.get("barWidth"),10),l=parseInt(r.get("barSpacing"),10);k._super.init.call(this,e,t,r,a,o),this.regionShapes={},this.barWidth=s,this.barSpacing=l,this.totalBarWidth=s+l,this.values=i.map(t,Number),this.width=a=t.length*s+(t.length-1)*l,i.isArray(r.get("colorMap"))?(this.colorMapByIndex=r.get("colorMap"),this.colorMapByValue=null):(this.colorMapByIndex=null,this.colorMapByValue=r.get("colorMap"),this.colorMapByValue&&this.colorMapByValue.get===n&&(this.colorMapByValue=new y(this.colorMapByValue))),this.initTarget()},getRegion:function(e,n,i){return t.floor(n/this.totalBarWidth)},getCurrentRegionFields:function(){var e=this.currentRegion;return{isNull:this.values[e]===n,value:this.values[e],color:this.calcColor(this.values[e],e),offset:e}},calcColor:function(e,t){var n,i,r=this.values,a=this.options,o=this.colorMapByIndex,s=this.colorMapByValue;return n=s&&(i=s.get(e))?i:o&&o.length>t?o[t]:r[t]<0?a.get("negBarColor"):r[t]>0?a.get("posBarColor"):a.get("zeroBarColor")},renderRegion:function(e,n){var i,r,a,o,s,l,u=this.values,d=this.options,c=this.target;if(i=c.pixelHeight,a=t.round(i/2),o=e*this.totalBarWidth,u[e]<0?(s=a,r=a-1):u[e]>0?(s=0,r=a-1):(s=a-1,r=2),l=this.calcColor(u[e],e),null!==l)return n&&(l=this.calcHighlightColor(l,d)),c.drawRect(o,s,this.barWidth-1,r-1,l,l)}}),i.fn.sparkline.discrete=L=a(i.fn.sparkline._base,M,{type:"discrete",init:function(e,r,a,o,s){L._super.init.call(this,e,r,a,o,s),this.regionShapes={},this.values=r=i.map(r,Number),this.min=t.min.apply(t,r),this.max=t.max.apply(t,r),this.range=this.max-this.min,this.width=o="auto"===a.get("width")?2*r.length:this.width,this.interval=t.floor(o/r.length),this.itemWidth=o/r.length,a.get("chartRangeMin")!==n&&(a.get("chartRangeClip")||a.get("chartRangeMin")<this.min)&&(this.min=a.get("chartRangeMin")),a.get("chartRangeMax")!==n&&(a.get("chartRangeClip")||a.get("chartRangeMax")>this.max)&&(this.max=a.get("chartRangeMax")),this.initTarget(),this.target&&(this.lineHeight="auto"===a.get("lineHeight")?t.round(.3*this.canvasHeight):a.get("lineHeight"))},getRegion:function(e,n,i){return t.floor(n/this.itemWidth)},getCurrentRegionFields:function(){var e=this.currentRegion;return{isNull:this.values[e]===n,value:this.values[e],offset:e}},renderRegion:function(e,n){var i,r,a,o,l=this.values,u=this.options,d=this.min,c=this.max,h=this.range,f=this.interval,p=this.target,m=this.canvasHeight,_=this.lineHeight,g=m-_;return r=s(l[e],d,c),o=e*f,i=t.round(g-g*((r-d)/h)),a=u.get("thresholdColor")&&r<u.get("thresholdValue")?u.get("thresholdColor"):u.get("lineColor"),n&&(a=this.calcHighlightColor(a,u)),p.drawLine(o,i,o,i+_,a)}}),i.fn.sparkline.bullet=D=a(i.fn.sparkline._base,{type:"bullet",init:function(e,i,r,a,o){var s,l,u;D._super.init.call(this,e,i,r,a,o),this.values=i=d(i),u=i.slice(),u[0]=null===u[0]?u[2]:u[0],u[1]=null===i[1]?u[2]:u[1],s=t.min.apply(t,i),l=t.max.apply(t,i),s=r.get("base")===n?s<0?s:0:r.get("base"),this.min=s,this.max=l,this.range=l-s,this.shapes={},this.valueShapes={},this.regiondata={},this.width=a="auto"===r.get("width")?"4.0em":a,this.target=this.$el.simpledraw(a,o,r.get("composite")),i.length||(this.disabled=!0),this.initTarget()},getRegion:function(e,t,i){var r=this.target.getShapeAt(e,t,i);return r!==n&&this.shapes[r]!==n?this.shapes[r]:n},getCurrentRegionFields:function(){var e=this.currentRegion;return{fieldkey:e.substr(0,1),value:this.values[e.substr(1)],region:e}},changeHighlight:function(e){var t,n=this.currentRegion,i=this.valueShapes[n];switch(delete this.shapes[i],n.substr(0,1)){case"r":t=this.renderRange(n.substr(1),e);break;case"p":t=this.renderPerformance(e);break;case"t":t=this.renderTarget(e)}this.valueShapes[n]=t.id,this.shapes[t.id]=n,this.target.replaceWithShape(i,t)},renderRange:function(e,n){var i=this.values[e],r=t.round(this.canvasWidth*((i-this.min)/this.range)),a=this.options.get("rangeColors")[e-2];return n&&(a=this.calcHighlightColor(a,this.options)),this.target.drawRect(0,0,r-1,this.canvasHeight-1,a,a)},renderPerformance:function(e){var n=this.values[1],i=t.round(this.canvasWidth*((n-this.min)/this.range)),r=this.options.get("performanceColor");return e&&(r=this.calcHighlightColor(r,this.options)),this.target.drawRect(0,t.round(.3*this.canvasHeight),i-1,t.round(.4*this.canvasHeight)-1,r,r)},renderTarget:function(e){var n=this.values[0],i=t.round(this.canvasWidth*((n-this.min)/this.range)-this.options.get("targetWidth")/2),r=t.round(.1*this.canvasHeight),a=this.canvasHeight-2*r,o=this.options.get("targetColor");return e&&(o=this.calcHighlightColor(o,this.options)),this.target.drawRect(i,r,this.options.get("targetWidth")-1,a-1,o,o)},render:function(){var e,t,n=this.values.length,i=this.target;if(D._super.render.call(this)){for(e=2;e<n;e++)t=this.renderRange(e).append(),this.shapes[t.id]="r"+e,this.valueShapes["r"+e]=t.id;null!==this.values[1]&&(t=this.renderPerformance().append(),this.shapes[t.id]="p1",this.valueShapes.p1=t.id),null!==this.values[0]&&(t=this.renderTarget().append(),this.shapes[t.id]="t0",this.valueShapes.t0=t.id),i.render()}}}),i.fn.sparkline.pie=T=a(i.fn.sparkline._base,{type:"pie",init:function(e,n,r,a,o){var s,l=0;if(T._super.init.call(this,e,n,r,a,o),this.shapes={},this.valueShapes={},this.values=n=i.map(n,Number),"auto"===r.get("width")&&(this.width=this.height),n.length>0)for(s=n.length;s--;)l+=n[s];this.total=l,this.initTarget(),this.radius=t.floor(t.min(this.canvasWidth,this.canvasHeight)/2)},getRegion:function(e,t,i){var r=this.target.getShapeAt(e,t,i);return r!==n&&this.shapes[r]!==n?this.shapes[r]:n},getCurrentRegionFields:function(){var e=this.currentRegion;return{isNull:this.values[e]===n,value:this.values[e],percent:this.values[e]/this.total*100,color:this.options.get("sliceColors")[e%this.options.get("sliceColors").length],offset:e}},changeHighlight:function(e){var t=this.currentRegion,n=this.renderSlice(t,e),i=this.valueShapes[t];delete this.shapes[i],this.target.replaceWithShape(i,n),this.valueShapes[t]=n.id,this.shapes[n.id]=t},renderSlice:function(e,i){var r,a,o,s,l,u=this.target,d=this.options,c=this.radius,h=d.get("borderWidth"),f=d.get("offset"),p=2*t.PI,m=this.values,_=this.total,g=f?2*t.PI*(f/360):0;for(s=m.length,o=0;o<s;o++){if(r=g,a=g,_>0&&(a=g+p*(m[o]/_)),e===o)return l=d.get("sliceColors")[o%d.get("sliceColors").length],i&&(l=this.calcHighlightColor(l,d)),u.drawPieSlice(c,c,c-h,r,a,n,l);g=a}},render:function(){var e,i,r=this.target,a=this.values,o=this.options,s=this.radius,l=o.get("borderWidth"),u=o.get("donutWidth");if(T._super.render.call(this)){for(l&&r.drawCircle(s,s,t.floor(s-l/2),o.get("borderColor"),n,l).append(),i=a.length;i--;)a[i]&&(e=this.renderSlice(i).append(),this.valueShapes[i]=e.id,this.shapes[e.id]=i);u&&r.drawCircle(s,s,s-u,o.get("donutColor"),o.get("donutColor"),0).append(),r.render()}}}),i.fn.sparkline.box=Y=a(i.fn.sparkline._base,{type:"box",init:function(e,t,n,r,a){Y._super.init.call(this,e,t,n,r,a),this.values=i.map(t,Number),this.width="auto"===n.get("width")?"4.0em":r,this.initTarget(),this.values.length||(this.disabled=1)},getRegion:function(){return 1},getCurrentRegionFields:function(){var e=[{field:"lq",value:this.quartiles[0]},{field:"med",value:this.quartiles[1]},{field:"uq",value:this.quartiles[2]}];return this.loutlier!==n&&e.push({field:"lo",value:this.loutlier}),this.routlier!==n&&e.push({field:"ro",value:this.routlier}),this.lwhisker!==n&&e.push({field:"lw",value:this.lwhisker}),this.rwhisker!==n&&e.push({field:"rw",value:this.rwhisker}),e},render:function(){var e,i,r,a,o,s,u,d,c,h,f,p=this.target,m=this.values,_=m.length,g=this.options,y=this.canvasWidth,v=this.canvasHeight,b=g.get("chartRangeMin")===n?t.min.apply(t,m):g.get("chartRangeMin"),M=g.get("chartRangeMax")===n?t.max.apply(t,m):g.get("chartRangeMax"),w=0;if(Y._super.render.call(this)){if(g.get("raw"))g.get("showOutliers")&&m.length>5?(i=m[0],e=m[1],a=m[2],o=m[3],s=m[4],u=m[5],d=m[6]):(e=m[0],a=m[1],o=m[2],s=m[3],u=m[4]);else if(m.sort(function(e,t){return e-t}),a=l(m,1),o=l(m,2),s=l(m,3),r=s-a,g.get("showOutliers")){for(e=u=n,c=0;c<_;c++)e===n&&m[c]>a-r*g.get("outlierIQR")&&(e=m[c]),m[c]<s+r*g.get("outlierIQR")&&(u=m[c]);i=m[0],d=m[_-1]}else e=m[0],u=m[_-1];this.quartiles=[a,o,s],this.lwhisker=e,this.rwhisker=u,this.loutlier=i,this.routlier=d,f=y/(M-b+1),g.get("showOutliers")&&(w=t.ceil(g.get("spotRadius")),y-=2*t.ceil(g.get("spotRadius")),f=y/(M-b+1),i<e&&p.drawCircle((i-b)*f+w,v/2,g.get("spotRadius"),g.get("outlierLineColor"),g.get("outlierFillColor")).append(),d>u&&p.drawCircle((d-b)*f+w,v/2,g.get("spotRadius"),g.get("outlierLineColor"),g.get("outlierFillColor")).append()),p.drawRect(t.round((a-b)*f+w),t.round(.1*v),t.round((s-a)*f),t.round(.8*v),g.get("boxLineColor"),g.get("boxFillColor")).append(),p.drawLine(t.round((e-b)*f+w),t.round(v/2),t.round((a-b)*f+w),t.round(v/2),g.get("lineColor")).append(),p.drawLine(t.round((e-b)*f+w),t.round(v/4),t.round((e-b)*f+w),t.round(v-v/4),g.get("whiskerColor")).append(),p.drawLine(t.round((u-b)*f+w),t.round(v/2),t.round((s-b)*f+w),t.round(v/2),g.get("lineColor")).append(),p.drawLine(t.round((u-b)*f+w),t.round(v/4),t.round((u-b)*f+w),t.round(v-v/4),g.get("whiskerColor")).append(),p.drawLine(t.round((o-b)*f+w),t.round(.1*v),t.round((o-b)*f+w),t.round(.9*v),g.get("medianColor")).append(),g.get("target")&&(h=t.ceil(g.get("spotRadius")),p.drawLine(t.round((g.get("target")-b)*f+w),t.round(v/2-h),t.round((g.get("target")-b)*f+w),t.round(v/2+h),g.get("targetColor")).append(),p.drawLine(t.round((g.get("target")-b)*f+w-h),t.round(v/2),t.round((g.get("target")-b)*f+w+h),t.round(v/2),g.get("targetColor")).append()),p.render()}}}),H=a({init:function(e,t,n,i){this.target=e,this.id=t,this.type=n,this.args=i},append:function(){return this.target.appendShape(this),this}}),j=a({_pxregex:/(\d+)(px)?\s*$/i,init:function(e,t,n){e&&(this.width=e,this.height=t,this.target=n,this.lastShapeId=null,n[0]&&(n=n[0]),i.data(n,"_jqs_vcanvas",this))},drawLine:function(e,t,n,i,r,a){return this.drawShape([[e,t],[n,i]],r,a)},drawShape:function(e,t,n,i){return this._genShape("Shape",[e,t,n,i])},drawCircle:function(e,t,n,i,r,a){return this._genShape("Circle",[e,t,n,i,r,a])},drawPieSlice:function(e,t,n,i,r,a,o){return this._genShape("PieSlice",[e,t,n,i,r,a,o])},drawRect:function(e,t,n,i,r,a){return this._genShape("Rect",[e,t,n,i,r,a])},getElement:function(){return this.canvas},getLastShapeId:function(){return this.lastShapeId},reset:function(){alert("reset not implemented")},_insert:function(e,t){i(t).html(e)},_calculatePixelDims:function(e,t,n){var r;r=this._pxregex.exec(t),r?this.pixelHeight=r[1]:this.pixelHeight=i(n).height(),r=this._pxregex.exec(e),r?this.pixelWidth=r[1]:this.pixelWidth=i(n).width()},_genShape:function(e,t){var n=O++;return t.unshift(n),new H(this,n,e,t)},appendShape:function(e){alert("appendShape not implemented")},replaceWithShape:function(e,t){alert("replaceWithShape not implemented")},insertAfterShape:function(e,t){alert("insertAfterShape not implemented")},removeShapeId:function(e){alert("removeShapeId not implemented")},getShapeAt:function(e,t,n){alert("getShapeAt not implemented")},render:function(){alert("render not implemented")}}),A=a(j,{init:function(t,r,a,o){A._super.init.call(this,t,r,a),this.canvas=e.createElement("canvas"),a[0]&&(a=a[0]),i.data(a,"_jqs_vcanvas",this),i(this.canvas).css({display:"inline-block",width:t,height:r,verticalAlign:"top"}),this._insert(this.canvas,a),this._calculatePixelDims(t,r,this.canvas),this.canvas.width=this.pixelWidth,this.canvas.height=this.pixelHeight,this.interact=o,this.shapes={},this.shapeseq=[],this.currentTargetShapeId=n,i(this.canvas).css({width:this.pixelWidth,height:this.pixelHeight})},_getContext:function(e,t,i){var r=this.canvas.getContext("2d");return e!==n&&(r.strokeStyle=e),r.lineWidth=i===n?1:i,t!==n&&(r.fillStyle=t),r},reset:function(){var e=this._getContext();e.clearRect(0,0,this.pixelWidth,this.pixelHeight),this.shapes={},this.shapeseq=[],this.currentTargetShapeId=n},_drawShape:function(e,t,i,r,a){var o,s,l=this._getContext(i,r,a);for(l.beginPath(),l.moveTo(t[0][0]+.5,t[0][1]+.5),o=1,s=t.length;o<s;o++)l.lineTo(t[o][0]+.5,t[o][1]+.5);i!==n&&l.stroke(),r!==n&&l.fill(),this.targetX!==n&&this.targetY!==n&&l.isPointInPath(this.targetX,this.targetY)&&(this.currentTargetShapeId=e)},_drawCircle:function(e,i,r,a,o,s,l){var u=this._getContext(o,s,l);u.beginPath(),u.arc(i,r,a,0,2*t.PI,!1),this.targetX!==n&&this.targetY!==n&&u.isPointInPath(this.targetX,this.targetY)&&(this.currentTargetShapeId=e),o!==n&&u.stroke(),s!==n&&u.fill()},_drawPieSlice:function(e,t,i,r,a,o,s,l){var u=this._getContext(s,l);u.beginPath(),u.moveTo(t,i),u.arc(t,i,r,a,o,!1),u.lineTo(t,i),u.closePath(),s!==n&&u.stroke(),l&&u.fill(),this.targetX!==n&&this.targetY!==n&&u.isPointInPath(this.targetX,this.targetY)&&(this.currentTargetShapeId=e)},_drawRect:function(e,t,n,i,r,a,o){return this._drawShape(e,[[t,n],[t+i,n],[t+i,n+r],[t,n+r],[t,n]],a,o)},appendShape:function(e){return this.shapes[e.id]=e,this.shapeseq.push(e.id),this.lastShapeId=e.id,e.id},replaceWithShape:function(e,t){var n,i=this.shapeseq;for(this.shapes[t.id]=t,n=i.length;n--;)i[n]==e&&(i[n]=t.id);delete this.shapes[e]},replaceWithShapes:function(e,t){var n,i,r,a=this.shapeseq,o={};for(i=e.length;i--;)o[e[i]]=!0;for(i=a.length;i--;)n=a[i],o[n]&&(a.splice(i,1),delete this.shapes[n],r=i);for(i=t.length;i--;)a.splice(r,0,t[i].id),this.shapes[t[i].id]=t[i]},insertAfterShape:function(e,t){var n,i=this.shapeseq;for(n=i.length;n--;)if(i[n]===e)return i.splice(n+1,0,t.id),void(this.shapes[t.id]=t)},removeShapeId:function(e){var t,n=this.shapeseq;for(t=n.length;t--;)if(n[t]===e){n.splice(t,1);break}delete this.shapes[e]},getShapeAt:function(e,t,n){return this.targetX=t,this.targetY=n,this.render(),this.currentTargetShapeId},render:function(){var e,t,n,i=this.shapeseq,r=this.shapes,a=i.length,o=this._getContext();for(o.clearRect(0,0,this.pixelWidth,this.pixelHeight),n=0;n<a;n++)e=i[n],t=r[e],this["_draw"+t.type].apply(this,t.args);this.interact||(this.shapes={},this.shapeseq=[])}}),P=a(j,{init:function(t,n,r){var a;P._super.init.call(this,t,n,r),r[0]&&(r=r[0]),i.data(r,"_jqs_vcanvas",this),this.canvas=e.createElement("span"),i(this.canvas).css({display:"inline-block",position:"relative",overflow:"hidden",width:t,height:n,margin:"0px",padding:"0px",verticalAlign:"top"}),this._insert(this.canvas,r),this._calculatePixelDims(t,n,this.canvas),this.canvas.width=this.pixelWidth,this.canvas.height=this.pixelHeight,a='<v:group coordorigin="0 0" coordsize="'+this.pixelWidth+" "+this.pixelHeight+'" style="position:absolute;top:0;left:0;width:'+this.pixelWidth+"px;height="+this.pixelHeight+'px;"></v:group>',this.canvas.insertAdjacentHTML("beforeEnd",a),this.group=i(this.canvas).children()[0],this.rendered=!1,this.prerender=""},_drawShape:function(e,t,i,r,a){var o,s,l,u,d,c,h,f=[];for(h=0,c=t.length;h<c;h++)f[h]=""+t[h][0]+","+t[h][1];return o=f.splice(0,1),a=a===n?1:a,s=i===n?' stroked="false" ':' strokeWeight="'+a+'px" strokeColor="'+i+'" ',l=r===n?' filled="false"':' fillColor="'+r+'" filled="true" ',u=f[0]===f[f.length-1]?"x ":"",d='<v:shape coordorigin="0 0" coordsize="'+this.pixelWidth+" "+this.pixelHeight+'" id="jqsshape'+e+'" '+s+l+' style="position:absolute;left:0px;top:0px;height:'+this.pixelHeight+"px;width:"+this.pixelWidth+'px;padding:0px;margin:0px;" path="m '+o+" l "+f.join(", ")+" "+u+'e"> </v:shape>'},_drawCircle:function(e,t,i,r,a,o,s){var l,u,d;return t-=r,i-=r,l=a===n?' stroked="false" ':' strokeWeight="'+s+'px" strokeColor="'+a+'" ',u=o===n?' filled="false"':' fillColor="'+o+'" filled="true" ',d='<v:oval id="jqsshape'+e+'" '+l+u+' style="position:absolute;top:'+i+"px; left:"+t+"px; width:"+2*r+"px; height:"+2*r+'px"></v:oval>'},_drawPieSlice:function(e,i,r,a,o,s,l,u){var d,c,h,f,p,m,_,g;if(o===s)return"";if(s-o===2*t.PI&&(o=0,s=2*t.PI),c=i+t.round(t.cos(o)*a),h=r+t.round(t.sin(o)*a),f=i+t.round(t.cos(s)*a),p=r+t.round(t.sin(s)*a),c===f&&h===p){if(s-o<t.PI)return"";c=f=i+a,h=p=r}return c===f&&h===p&&s-o<t.PI?"":(d=[i-a,r-a,i+a,r+a,c,h,f,p],m=l===n?' stroked="false" ':' strokeWeight="1px" strokeColor="'+l+'" ',_=u===n?' filled="false"':' fillColor="'+u+'" filled="true" ',g='<v:shape coordorigin="0 0" coordsize="'+this.pixelWidth+" "+this.pixelHeight+'" id="jqsshape'+e+'" '+m+_+' style="position:absolute;left:0px;top:0px;height:'+this.pixelHeight+"px;width:"+this.pixelWidth+'px;padding:0px;margin:0px;" path="m '+i+","+r+" wa "+d.join(", ")+' x e"> </v:shape>')},_drawRect:function(e,t,n,i,r,a,o){return this._drawShape(e,[[t,n],[t,n+r],[t+i,n+r],[t+i,n],[t,n]],a,o)},reset:function(){this.group.innerHTML=""},appendShape:function(e){var t=this["_draw"+e.type].apply(this,e.args);return this.rendered?this.group.insertAdjacentHTML("beforeEnd",t):this.prerender+=t,this.lastShapeId=e.id,e.id},replaceWithShape:function(e,t){var n=i("#jqsshape"+e),r=this["_draw"+t.type].apply(this,t.args);n[0].outerHTML=r},replaceWithShapes:function(e,t){var n,r=i("#jqsshape"+e[0]),a="",o=t.length;for(n=0;n<o;n++)a+=this["_draw"+t[n].type].apply(this,t[n].args);for(r[0].outerHTML=a,n=1;n<e.length;n++)i("#jqsshape"+e[n]).remove()},insertAfterShape:function(e,t){var n=i("#jqsshape"+e),r=this["_draw"+t.type].apply(this,t.args);n[0].insertAdjacentHTML("afterEnd",r)},removeShapeId:function(e){var t=i("#jqsshape"+e);this.group.removeChild(t[0])},getShapeAt:function(e,t,n){var i=e.id.substr(8);return i},render:function(){this.rendered||(this.group.innerHTML=this.prerender,this.rendered=!0)}})})}(document,Math),!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Sweetalert2=t()}(this,function(){"use strict";var e="swal2-",t=function(t){var n={};for(var i in t)n[t[i]]=e+t[i];return n},n=t(["container","in","iosfix","modal","overlay","fade","show","hide","noanimation","close","title","content","spacer","confirm","cancel","icon","image","input","file","range","select","radio","checkbox","textarea","inputerror","validationerror","progresssteps","activeprogressstep","progresscircle","progressline","loading","styled"]),i=t(["success","warning","info","question","error"]),r={title:"",text:"",html:"",type:null,customClass:"",animation:!0,allowOutsideClick:!0,allowEscapeKey:!0,showConfirmButton:!0,showCancelButton:!1,preConfirm:null,confirmButtonText:"OK",confirmButtonColor:"#3085d6",confirmButtonClass:null,cancelButtonText:"Cancel",cancelButtonColor:"#aaa",cancelButtonClass:null,buttonsStyling:!0,reverseButtons:!1,focusCancel:!1,showCloseButton:!1,showLoaderOnConfirm:!1,imageUrl:null,imageWidth:null,imageHeight:null,imageClass:null,timer:null,width:500,padding:20,background:"#fff",input:null,inputPlaceholder:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputClass:null,inputAttributes:{},inputValidator:null,progressSteps:[],currentProgressStep:null,progressStepsDistance:"40px",onOpen:null,onClose:null},a=('\n <div class="'+n.modal+'" style="display: none" tabIndex="-1">\n <ul class="'+n.progresssteps+'"></ul>\n <div class="'+n.icon+" "+i.error+'">\n <span class="x-mark"><span class="line left"></span><span class="line right"></span></span>\n </div>\n <div class="'+n.icon+" "+i.question+'">?</div>\n <div class="'+n.icon+" "+i.warning+'">!</div>\n <div class="'+n.icon+" "+i.info+'">i</div>\n <div class="'+n.icon+" "+i.success+'">\n <span class="line tip"></span> <span class="line long"></span>\n <div class="placeholder"></div> <div class="fix"></div>\n </div>\n <img class="'+n.image+'">\n <h2 class="'+n.title+'"></h2>\n <div class="'+n.content+'"></div>\n <input class="'+n.input+'">\n <input type="file" class="'+n.file+'">\n <div class="'+n.range+'">\n <output></output>\n <input type="range">\n </div>\n <select class="'+n.select+'"></select>\n <div class="'+n.radio+'"></div>\n <label for="'+n.checkbox+'" class="'+n.checkbox+'">\n <input type="checkbox">\n </label>\n <textarea class="'+n.textarea+'"></textarea>\n <div class="'+n.validationerror+'"></div>\n <hr class="'+n.spacer+'">\n <button type="button" class="'+n.confirm+'">OK</button>\n <button type="button" class="'+n.cancel+'">Cancel</button>\n <span class="'+n.close+'">&times;</span>\n </div>\n').replace(/(^|\n)\s*/g,""),o=void 0,s=document.getElementsByClassName(n.container);s.length?o=s[0]:(o=document.createElement("div"),o.className=n.container,o.innerHTML=a);var l=function(e,t){e=String(e).replace(/[^0-9a-f]/gi,""),e.length<6&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),t=t||0;for(var n="#",i=0;i<3;i++){var r=parseInt(e.substr(2*i,2),16);r=Math.round(Math.min(Math.max(0,r+r*t),255)).toString(16),n+=("00"+r).substr(r.length)}return n},u={previousWindowKeyDown:null,previousActiveElement:null,previousBodyPadding:null},d=function(){if("undefined"!=typeof document&&!document.getElementsByClassName(n.container).length){document.body.appendChild(o);var e=h(),t=Y(e,n.input),i=Y(e,n.file),r=e.querySelector("."+n.range+" input"),a=e.querySelector("."+n.range+" output"),s=Y(e,n.select),l=e.querySelector("."+n.checkbox+" input"),u=Y(e,n.textarea);return t.oninput=function(){K.resetValidationError()},t.onkeydown=function(e){setTimeout(function(){13===e.keyCode&&(e.stopPropagation(),K.clickConfirm())},0)},i.onchange=function(){K.resetValidationError()},r.oninput=function(){K.resetValidationError(),a.value=r.value},r.onchange=function(){K.resetValidationError(),r.previousSibling.value=r.value},s.onchange=function(){K.resetValidationError()},l.onchange=function(){K.resetValidationError()},u.oninput=function(){K.resetValidationError()},e}},c=function(e){return o.querySelector("."+e)},h=function(){return document.body.querySelector("."+n.modal)||d()},f=function(){var e=h();return e.querySelectorAll("."+n.icon)},p=function(){return c(n.title)},m=function(){return c(n.content)},_=function(){return c(n.image)},g=function(){return c(n.spacer)},y=function(){return c(n.progresssteps)},v=function(){return c(n.validationerror)},b=function(){return c(n.confirm)},M=function(){return c(n.cancel)},w=function(){return c(n.close)},x=function(t){var n=[b(),M()];return t&&n.reverse(),n.concat(Array.prototype.slice.call(h().querySelectorAll("button:not([class^="+e+"]), input:not([type=hidden]), textarea, select")))},k=function(e,t){return!!e.classList&&e.classList.contains(t)},L=function(e){if(e.focus(),"file"!==e.type){var t=e.value;e.value="",e.value=t}},D=function(e,t){if(e&&t){var n=t.split(/\s+/).filter(Boolean);n.forEach(function(t){e.classList.add(t)})}},T=function(e,t){if(e&&t){var n=t.split(/\s+/).filter(Boolean);n.forEach(function(t){e.classList.remove(t)})}},Y=function(e,t){for(var n=0;n<e.childNodes.length;n++)if(k(e.childNodes[n],t))return e.childNodes[n]},S=function(e,t){t||(t="block"),e.style.opacity="",e.style.display=t},C=function(e){e.style.opacity="",e.style.display="none"},H=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},j=function(e){return e.offsetWidth||e.offsetHeight||e.getClientRects().length},A=function(e,t){e.style.removeProperty?e.style.removeProperty(t):e.style.removeAttribute(t)},P=function(e){if("function"==typeof MouseEvent){var t=new MouseEvent("click",{view:window,bubbles:!1,cancelable:!0});e.dispatchEvent(t)}else if(document.createEvent){var n=document.createEvent("MouseEvents");n.initEvent("click",!1,!1),e.dispatchEvent(n)}else document.createEventObject?e.fireEvent("onclick"):"function"==typeof e.onclick&&e.onclick()},E=function(){var e=document.createElement("div"),t={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",msAnimation:"MSAnimationEnd",animation:"animationend"};for(var n in t)if(t.hasOwnProperty(n)&&void 0!==e.style[n])return t[n];return!1}(),I=function(){var e=h();window.onkeydown=u.previousWindowKeyDown,u.previousActiveElement&&u.previousActiveElement.focus&&u.previousActiveElement.focus(),clearTimeout(e.timeout)},O=function(){var e=document.createElement("div");e.style.width="50px",e.style.height="50px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t},W=function(e,t){var n=void 0;return function(){var i=function(){n=null,e()};clearTimeout(n),n=setTimeout(i,t)}},F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},R=(function(){function e(e){this.value=e}function t(e){function t(e,t){return new Promise(function(i,o){var s={key:e,arg:t,resolve:i,reject:o,next:null};a?a=a.next=s:(r=a=s,n(e,t))})}function n(t,r){try{var a=e[t](r),o=a.value;o instanceof s?Promise.resolve(o.value).then(function(e){n("next",e)},function(e){n("throw",e)}):i(a.done?"return":"normal",a.value)}catch(s){i("throw",s)}}function i(e,t){switch(e){case"return":r.resolve({value:t,done:!0});break;case"throw":r.reject(t);break;default:r.resolve({value:t,done:!1})}r=r.next,r?n(r.key,r.arg):a=null}var r,a;this._invoke=t,"function"!=typeof e["return"]&&(this["return"]=void 0)}return"function"==typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype["throw"]=function(e){return this._invoke("throw",e)},t.prototype["return"]=function(e){return this._invoke("return",e)},{wrap:function(e){return function(){return new t(e.apply(this,arguments))}},await:function(t){return new e(t)}}}(),Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}),N=R({},r),z=[],B=void 0,$=function(e){var t=h();for(var a in e)r.hasOwnProperty(a)||"extraParams"===a||void 0;t.style.width="number"==typeof e.width?e.width+"px":e.width,t.style.padding=e.padding+"px",t.style.background=e.background;var o=p(),s=m(),l=b(),u=M(),d=w();if(o.innerHTML=e.title.split("\n").join("<br>"),e.text||e.html){if("object"===F(e.html))if(s.innerHTML="",0 in e.html)for(var c=0;c in e.html;c++)s.appendChild(e.html[c].cloneNode(!0));else s.appendChild(e.html.cloneNode(!0));else e.html?s.innerHTML=e.html:e.text&&(s.innerHTML=(""+e.text).split("\n").join("<br>"));
S(s)}else C(s);e.showCloseButton?S(d):C(d),t.className=n.modal,e.customClass&&D(t,e.customClass);var v=y(),x=parseInt(null===e.currentProgressStep?K.getQueueStep():e.currentProgressStep,10);e.progressSteps.length?(S(v),H(v),x>=e.progressSteps.length&&void 0,e.progressSteps.forEach(function(t,i){var r=document.createElement("li");if(D(r,n.progresscircle),r.innerHTML=t,i===x&&D(r,n.activeprogressstep),v.appendChild(r),i!==e.progressSteps.length-1){var a=document.createElement("li");D(a,n.progressline),a.style.width=e.progressStepsDistance,v.appendChild(a)}})):C(v);for(var k=f(),L=0;L<k.length;L++)C(k[L]);if(e.type){var Y=!1;for(var j in i)if(e.type===j){Y=!0;break}if(!Y)return!1;var P=t.querySelector("."+n.icon+"."+i[e.type]);switch(S(P),e.type){case"success":D(P,"animate"),D(P.querySelector(".tip"),"animate-success-tip"),D(P.querySelector(".long"),"animate-success-long");break;case"error":D(P,"animate-error-icon"),D(P.querySelector(".x-mark"),"animate-x-mark");break;case"warning":D(P,"pulse-warning")}}var E=_();e.imageUrl?(E.setAttribute("src",e.imageUrl),S(E),e.imageWidth?E.setAttribute("width",e.imageWidth):E.removeAttribute("width"),e.imageHeight?E.setAttribute("height",e.imageHeight):E.removeAttribute("height"),E.className=n.image,e.imageClass&&D(E,e.imageClass)):C(E),e.showCancelButton?u.style.display="inline-block":C(u),e.showConfirmButton?A(l,"display"):C(l);var I=g();e.showConfirmButton||e.showCancelButton?S(I):C(I),l.innerHTML=e.confirmButtonText,u.innerHTML=e.cancelButtonText,e.buttonsStyling&&(l.style.backgroundColor=e.confirmButtonColor,u.style.backgroundColor=e.cancelButtonColor),l.className=n.confirm,D(l,e.confirmButtonClass),u.className=n.cancel,D(u,e.cancelButtonClass),e.buttonsStyling?(D(l,n.styled),D(u,n.styled)):(T(l,n.styled),T(u,n.styled),l.style.backgroundColor=l.style.borderLeftColor=l.style.borderRightColor="",u.style.backgroundColor=u.style.borderLeftColor=u.style.borderRightColor=""),e.animation===!0?T(t,n.noanimation):D(t,n.noanimation)},V=function(e,t){var i=h();e?(D(i,n.show),D(o,n.fade),T(i,n.hide)):T(i,n.fade),S(i),o.style.overflowY="hidden",E&&!k(i,n.noanimation)?i.addEventListener(E,function r(){i.removeEventListener(E,r),o.style.overflowY="auto"}):o.style.overflowY="auto",D(o,n["in"]),D(document.body,n["in"]),q(),J(),u.previousActiveElement=document.activeElement,null!==t&&"function"==typeof t&&t(i)},q=function(){null===u.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(u.previousBodyPadding=document.body.style.paddingRight,document.body.style.paddingRight=O()+"px")},U=function(){null!==u.previousBodyPadding&&(document.body.style.paddingRight=u.previousBodyPadding,u.previousBodyPadding=null)},J=function(){var e=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream;if(e&&!k(document.body,n.iosfix)){var t=document.body.scrollTop;document.body.style.top=t*-1+"px",D(document.body,n.iosfix)}},G=function(){if(k(document.body,n.iosfix)){var e=parseInt(document.body.style.top,10);T(document.body,n.iosfix),document.body.style.top="",document.body.scrollTop=e*-1}},X=function(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];if(void 0===t[0])return!1;var r=R({},N);switch(F(t[0])){case"string":r.title=t[0],r.text=t[1],r.type=t[2];break;case"object":R(r,t[0]),r.extraParams=t[0].extraParams,"email"===r.input&&null===r.inputValidator&&(r.inputValidator=function(e){return new Promise(function(t,n){var i=/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}$/;i.test(e)?t():n("Invalid email address")})});break;default:return!1}$(r);var a=h();return new Promise(function(e,t){r.timer&&(a.timeout=setTimeout(function(){K.closeModal(r.onClose),t("timer")},r.timer));var i=function(e){switch(e=e||r.input){case"select":case"textarea":case"file":return Y(a,n[e]);case"checkbox":return a.querySelector("."+n.checkbox+" input");case"radio":return a.querySelector("."+n.radio+" input:checked")||a.querySelector("."+n.radio+" input:first-child");case"range":return a.querySelector("."+n.range+" input");default:return Y(a,n.input)}},s=function(){var e=i();if(!e)return null;switch(r.input){case"checkbox":return e.checked?1:0;case"radio":return e.checked?e.value:null;case"file":return e.files.length?e.files[0]:null;default:return r.inputAutoTrim?e.value.trim():e.value}};r.input&&setTimeout(function(){var e=i();e&&L(e)},0);for(var d=function(t){r.showLoaderOnConfirm&&K.showLoading(),r.preConfirm?r.preConfirm(t,r.extraParams).then(function(n){K.closeModal(r.onClose),e(n||t)},function(e){K.hideLoading(),e&&K.showValidationError(e)}):(K.closeModal(r.onClose),e(t))},c=function(e){var n=e||window.event,i=n.target||n.srcElement,a=b(),o=M(),u=a===i||a.contains(i),c=o===i||o.contains(i);switch(n.type){case"mouseover":case"mouseup":r.buttonsStyling&&(u?a.style.backgroundColor=l(r.confirmButtonColor,-.1):c&&(o.style.backgroundColor=l(r.cancelButtonColor,-.1)));break;case"mouseout":r.buttonsStyling&&(u?a.style.backgroundColor=r.confirmButtonColor:c&&(o.style.backgroundColor=r.cancelButtonColor));break;case"mousedown":r.buttonsStyling&&(u?a.style.backgroundColor=l(r.confirmButtonColor,-.2):c&&(o.style.backgroundColor=l(r.cancelButtonColor,-.2)));break;case"click":u&&K.isVisible()?r.input?!function(){var e=s();r.inputValidator?(K.disableInput(),r.inputValidator(e,r.extraParams).then(function(){K.enableInput(),d(e)},function(e){K.enableInput(),e&&K.showValidationError(e)})):d(e)}():d(!0):c&&K.isVisible()&&(K.closeModal(r.onClose),t("cancel"))}},f=a.querySelectorAll("button"),p=0;p<f.length;p++)f[p].onclick=c,f[p].onmouseover=c,f[p].onmouseout=c,f[p].onmousedown=c;w().onclick=function(){K.closeModal(r.onClose),t("close")},o.onclick=function(e){e.target===o&&r.allowOutsideClick&&(K.closeModal(r.onClose),t("overlay"))};var m=b(),_=M();r.reverseButtons?m.parentNode.insertBefore(_,m):m.parentNode.insertBefore(m,_);var k=function(e,t){for(var n=x(r.focusCancel),i=0;i<n.length;i++){e+=t,e===n.length?e=0:e===-1&&(e=n.length-1);var a=n[e];if(j(a))return a.focus()}},H=function(e){var n=e||window.event,i=n.keyCode||n.which;if([9,13,32,27].indexOf(i)!==-1){for(var a=n.target||n.srcElement,o=x(r.focusCancel),s=-1,l=0;l<o.length;l++)if(a===o[l]){s=l;break}9===i?(n.shiftKey?k(s,-1):k(s,1),n.stopPropagation(),n.preventDefault()):13===i||32===i?s===-1&&(r.focusCancel?P(_,n):P(m,n)):27===i&&r.allowEscapeKey===!0&&(K.closeModal(r.onClose),t("esc"))}};u.previousWindowKeyDown=window.onkeydown,window.onkeydown=H,r.buttonsStyling&&(m.style.borderLeftColor=r.confirmButtonColor,m.style.borderRightColor=r.confirmButtonColor),K.showLoading=K.enableLoading=function(){S(g()),S(m,"inline-block"),D(m,n.loading),D(a,n.loading),m.disabled=!0,_.disabled=!0},K.hideLoading=K.disableLoading=function(){r.showConfirmButton||(C(m),r.showCancelButton||C(g())),T(m,n.loading),T(a,n.loading),m.disabled=!1,_.disabled=!1},K.enableButtons=function(){m.disabled=!1,_.disabled=!1},K.disableButtons=function(){m.disabled=!0,_.disabled=!0},K.enableConfirmButton=function(){m.disabled=!1},K.disableConfirmButton=function(){m.disabled=!0},K.enableInput=function(){var e=i();if(!e)return!1;if("radio"===e.type)for(var t=e.parentNode.parentNode,n=t.querySelectorAll("input"),r=0;r<n.length;r++)n[r].disabled=!1;else e.disabled=!1},K.disableInput=function(){var e=i();if(!e)return!1;if(e&&"radio"===e.type)for(var t=e.parentNode.parentNode,n=t.querySelectorAll("input"),r=0;r<n.length;r++)n[r].disabled=!0;else e.disabled=!0},K.recalculateHeight=W(function(){var e=h(),t=e.style.display;e.style.minHeight="",S(e),e.style.minHeight=e.scrollHeight+1+"px",e.style.display=t},50),K.showValidationError=function(e){var t=v();t.innerHTML=e,S(t);var r=i();L(r),D(r,n.inputerror)},K.resetValidationError=function(){var e=v();C(e),K.recalculateHeight();var t=i();t&&T(t,n.inputerror)},K.getProgressSteps=function(){return r.progressSteps},K.setProgressSteps=function(e){r.progressSteps=e,$(r)},K.showProgressSteps=function(){S(y())},K.hideProgressSteps=function(){C(y())},K.enableButtons(),K.hideLoading(),K.resetValidationError();for(var A=["input","file","range","select","radio","checkbox","textarea"],E=void 0,I=0;I<A.length;I++){var O=n[A[I]],R=Y(a,O);if(E=i(A[I])){for(var N in E.attributes)if(E.attributes.hasOwnProperty(N)){var z=E.attributes[N].name;"type"!==z&&"value"!==z&&E.removeAttribute(z)}for(var q in r.inputAttributes)E.setAttribute(q,r.inputAttributes[q])}R.className=O,r.inputClass&&D(R,r.inputClass),C(R)}var U=void 0;!function(){switch(r.input){case"text":case"email":case"password":case"number":case"tel":E=Y(a,n.input),E.value=r.inputValue,E.placeholder=r.inputPlaceholder,E.type=r.input,S(E);break;case"file":E=Y(a,n.file),E.placeholder=r.inputPlaceholder,E.type=r.input,S(E);break;case"range":var e=Y(a,n.range),t=e.querySelector("input"),o=e.querySelector("output");t.value=r.inputValue,t.type=r.input,o.value=r.inputValue,S(e);break;case"select":var s=Y(a,n.select);if(s.innerHTML="",r.inputPlaceholder){var l=document.createElement("option");l.innerHTML=r.inputPlaceholder,l.value="",l.disabled=!0,l.selected=!0,s.appendChild(l)}U=function(e){for(var t in e){var n=document.createElement("option");n.value=t,n.innerHTML=e[t],r.inputValue===t&&(n.selected=!0),s.appendChild(n)}S(s),s.focus()};break;case"radio":var u=Y(a,n.radio);u.innerHTML="",U=function(e){for(var t in e){var i=1,a=document.createElement("input"),o=document.createElement("label"),s=document.createElement("span");a.type="radio",a.name=n.radio,a.value=t,a.id=n.radio+"-"+i++,r.inputValue===t&&(a.checked=!0),s.innerHTML=e[t],o.appendChild(a),o.appendChild(s),o["for"]=a.id,u.appendChild(o)}S(u);var l=u.querySelectorAll("input");l.length&&l[0].focus()};break;case"checkbox":var d=Y(a,n.checkbox),c=i("checkbox");c.type="checkbox",c.value=1,c.id=n.checkbox,c.checked=Boolean(r.inputValue);var h=d.getElementsByTagName("span");h.length&&d.removeChild(h[0]),h=document.createElement("span"),h.innerHTML=r.inputPlaceholder,d.appendChild(h),S(d);break;case"textarea":var f=Y(a,n.textarea);f.value=r.inputValue,f.placeholder=r.inputPlaceholder,S(f);break;case null:}}(),"select"!==r.input&&"radio"!==r.input||(r.inputOptions instanceof Promise?(K.showLoading(),r.inputOptions.then(function(e){K.hideLoading(),U(e)})):"object"===F(r.inputOptions)?U(r.inputOptions):void 0),V(r.animation,r.onOpen),k(-1,1),o.scrollTop=0,"undefined"==typeof MutationObserver||B||(B=new MutationObserver(K.recalculateHeight),B.observe(a,{childList:!0,characterData:!0,subtree:!0}))})},K=function Z(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return Z.isVisible()&&Z.close(),X.apply(void 0,t)};return K.isVisible=function(){var e=h();return j(e)},K.queue=function(e){z=e;var t=h(),n=function(){z=[],t.removeAttribute("data-queue-step")},i=[];return new Promise(function(e,r){!function a(o,s){o<z.length?(t.setAttribute("data-queue-step",o),K(z[o]).then(function(e){i.push(e),a(o+1,s)},function(e){n(),r(e)})):(n(),e(i))}(0)})},K.getQueueStep=function(){return h().getAttribute("data-queue-step")},K.insertQueueStep=function(e,t){return t&&t<z.length?z.splice(t,0,e):z.push(e)},K.deleteQueueStep=function(e){"undefined"!=typeof z[e]&&z.splice(e,1)},K.close=K.closeModal=function(e){var t=h();T(t,n.show),D(t,n.hide);var r=t.querySelector("."+n.icon+"."+i.success);T(r,"animate"),T(r.querySelector(".tip"),"animate-success-tip"),T(r.querySelector(".long"),"animate-success-long");var a=t.querySelector("."+n.icon+"."+i.error);T(a,"animate-error-icon"),T(a.querySelector(".x-mark"),"animate-x-mark");var s=t.querySelector("."+n.icon+"."+i.warning);T(s,"pulse-warning"),I();var l=function(){C(t),t.style.minHeight="",T(o,n["in"]),T(document.body,n["in"]),U(),G()};E&&!k(t,n.noanimation)?t.addEventListener(E,function u(){t.removeEventListener(E,u),k(t,n.hide)&&l()}):l(),null!==e&&"function"==typeof e&&e(t)},K.clickConfirm=function(){return b().click()},K.clickCancel=function(){return M().click()},K.setDefaults=function(e){if(e&&"object"===("undefined"==typeof e?"undefined":F(e))){for(var t in e)r.hasOwnProperty(t)||"extraParams"===t||delete e[t];R(N,e)}},K.resetDefaults=function(){N=R({},r)},K.noop=function(){},K.version="6.2.0",K}),window.Sweetalert2&&(window.sweetAlert=window.swal=window.Sweetalert2),function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)}(function(e,t){var n=1e3,i=!1,r=e([]),a=function(){l.resume()},o=function(n,i){var a=n.data("livestampdata");if("number"==typeof i&&(i*=1e3),n.removeAttr("data-livestamp").removeData("livestamp"),i=t(i),t.isMoment(i)&&!isNaN(+i)){var o=e.extend({},{original:n.contents()},a);o.moment=t(i),n.data("livestampdata",o).empty(),r.push(n[0])}},s=function(){i||(l.update(),setTimeout(s,n))},l={update:function(){e("[data-livestamp]").each(function(){var t=e(this);o(t,t.data("livestamp"))});var n=[];r.each(function(){var i=e(this),r=i.data("livestampdata");if(void 0===r)n.push(this);else if(t.isMoment(r.moment)){var a=i.html(),o=r.moment.fromNow();if(a!=o){var s=e.Event("change.livestamp");i.trigger(s,[a,o]),s.isDefaultPrevented()||i.html(o)}}}),r=r.not(n),delete r.prevObject},pause:function(){i=!0},resume:function(){i=!1,s()},interval:function(e){return void 0===e?n:void(n=e)}},u={add:function(n,i){return"number"==typeof i&&(i*=1e3),i=t(i),t.isMoment(i)&&!isNaN(+i)&&(n.each(function(){o(e(this),i)}),l.update()),n},destroy:function(t){return r=r.not(t),t.each(function(){var n=e(this),i=n.data("livestampdata");return void 0===i?t:void n.html(i.original?i.original:"").removeData("livestampdata")}),t},isLivestamp:function(e){return void 0!==e.data("livestampdata")}};e.livestamp=l,e(a),e.fn.livestamp=function(e,t){return u[e]||(t=e,e="add"),u[e](this,t)}}),jQuery.fn.serializeObject=function(){for(var e={},t=this.serializeArray(),n=0,i=t.length;n<i;n++){var r=t[n],a=r.name,o=null!=r.value?r.value:"";void 0!==e[a]?(e[a].push||(e[a]=[e[a]]),e[a].push(o)):e[a]=o}return e},function(e){e.fn.strengthify=function(t){var n=this,i={zxcvbn:"https://cdnjs.cloudflare.com/ajax/libs/zxcvbn/2.0.2/zxcvbn.min.js"},r=e.extend(i,t);return e(".strengthify-wrapper").append('<div class="strengthify-bg" />').append('<div class="strengthify-container" />').append('<div class="strengthify-separator" style="left: 25%" />').append('<div class="strengthify-separator" style="left: 50%" />').append('<div class="strengthify-separator" style="left: 75%" />'),e.ajax({cache:!0,dataType:"script",url:r.zxcvbn}).done(function(){n.bind("keyup input",function(){var t=e(this).val(),n=""===t?0:1,i=zxcvbn(t),r="",a=e(".strengthify-container"),o=e(".strengthify-wrapper");switch(o.children().css("opacity",n).css("-ms-filter",'"progid:DXImageTransform.Microsoft.Alpha(Opacity='+100*n+')"'),i.score){case 0:case 1:r="password-bad";break;case 2:r="password-medium";break;case 3:case 4:r="password-good"}a.attr("class",r+" strengthify-container").css("width",25*(0===i.score?1:i.score)+"%"),""===t&&a.css("width",0)})}),n}}(jQuery),$(function(){function e(e,t){$(".block-"+e).removeClass("show").addClass("hidden"),$(".block-"+t).removeClass("hidden").addClass("show"),$(".steps .step").removeClass("active").filter(":lt("+t+")").addClass("active")}function t(e,t){swal({type:"warning",title:"Confirm your action",text:"Are you sure you want to do this?",buttonsStyling:!1,reverseButtons:!0,confirmButtonText:"Yes",confirmButtonClass:"btn btn-lg btn-danger",cancelButtonClass:"btn btn-lg btn-default",showCancelButton:!0,focusCancel:!0}).then(function(){_.isFunction(e)&&e()},function(){_.isFunction(t)&&t()})}$.ajaxPrefilter(function(e,t,n){var i;return e.crossDomain||(i=$('meta[name="token"]').attr("content"),i&&n.setRequestHeader("X-CSRF-Token",i)),n}),$.ajaxSetup({beforeSend:function(e){e.setRequestHeader("Accept","application/json")},statusCode:{401:function(){window.location.href="/"},403:function(){window.location.href="/"}}}),$("form").submit(function(){var e=$(this);e.find(":submit").prop("disabled",!0)}),autosize($("textarea.autosize")),$("[data-method]").not(".disabled").append(function(){var e="\n";return e+="<form action='"+$(this).attr("href")+"' method='POST' style='display:none'>\n",e+="<input type='hidden' name='_method' value='"+$(this).attr("data-method")+"'>\n",e+="<input type='hidden' name='_token' value='"+$("meta[name=token]").attr("content")+"'>\n",e+="</form>\n"}).removeAttr("href").on("click",function(){var e=$(this);e.hasClass("confirm-action")?t(function(){e.find("form").submit()}):e.find("form").submit()}),Messenger.options={extraClasses:"messenger-fixed messenger-on-top",theme:"air"},window.Cachet={},moment.locale(Global.locale),$("abbr.timeago").each(function(){var e=$(this);e.livestamp(e.data("timeago")).tooltip()}),window.Cachet.Notifier=function(){this.notify=function(e,t,n){_.isPlainObject(e)&&(e=e.detail),t="undefined"==typeof t||"error"===t?"error":t;var i={message:e,type:t,showCloseButton:!0};n=_.extend(i,n),Messenger().post(n)}},$(".sidebar-toggler").click(function(e){e.preventDefault(),$(".wrapper").toggleClass("toggled")}),$(".color-code").minicolors({control:"hue",defaultValue:$(this).val()||"",inline:!1,letterCase:"lowercase",opacity:!1,position:"bottom left",theme:"bootstrap"}),$('[data-toggle="tooltip"]').tooltip(),$("button.close").on("click",function(){$(this).parents("div.alert").addClass("hide")}),$("form[name=IncidentForm] select[name=component_id]").on("change",function(){var e=$(this).find("option:selected"),t=$("#component-status");0!==parseInt(e.val(),10)?t.hasClass("hidden")&&t.removeClass("hidden"):t.addClass("hidden")}),$("input[rel=datepicker]").datetimepicker({format:"DD/MM/YYYY HH:mm",minDate:new Date,sideBySide:!0,icons:{time:"ion-clock",date:"ion-android-calendar",up:"ion-ios-arrow-up",down:"ion-ios-arrow-down",previous:"ion-ios-arrow-left",next:"ion-ios-arrow-right",today:"ion-android-home",clear:"ion-trash-a"}}),$("input[rel=datepicker-any]").datetimepicker({format:"DD/MM/YYYY HH:mm",sideBySide:!0,icons:{time:"ion-clock",date:"ion-android-calendar",up:"ion-ios-arrow-up",down:"ion-ios-arrow-down",previous:"ion-ios-arrow-left",next:"ion-ios-arrow-right",today:"ion-android-home",clear:"ion-trash-a"}}),$("input[rel=datepicker-custom]").datetimepicker({sideBySide:!0,icons:{time:"ion-clock",date:"ion-android-calendar",up:"ion-ios-arrow-up",down:"ion-ios-arrow-down",previous:"ion-ios-arrow-left",next:"ion-ios-arrow-right",today:"ion-android-home",clear:"ion-trash-a"}});var n=document.querySelectorAll("[data-orderable-list]");if($.each(n,function(e,t){var n=$(t).data("orderableList"),i=new Cachet.Notifier;new Sortable(t,{group:"omega",handle:".drag-handle",onUpdate:function(){var e=$.map(t.querySelectorAll("[data-orderable-id]"),function(e){return $(e).data("orderable-id")});$.ajax({async:!0,url:n,type:"POST",data:{ids:e},success:function(){i.notify("Ordering updated.","success")},error:function(){i.notify("Ordering not updated.","error")}})}})}),$("form.component-inline").on("click","input[type=radio]",function(){var e=$(this).parents("form"),t=e.serializeObject();$.ajax({async:!0,url:"/dashboard/api/components/"+t.component_id,type:"POST",data:t,success:function(t){(new Cachet.Notifier).notify(e.data("messenger"),"success")},error:function(e,t,n){(new Cachet.Notifier).notify("Something went wrong updating the component.")}})}),$("select[name=template]").on("change",function(){var e=$(this).find("option:selected"),t=e.val();t&&$.ajax({async:!0,data:{slug:t},url:"/dashboard/api/incidents/templates",success:function(e){var t=$("form[role=form]");t.find("input[name=name]").val(e.name),t.find("textarea[name=message]").val(e.template)},error:function(){(new Cachet.Notifier).notify("There was an error finding that template.")}})}),$("#remove-banner").click(function(){$("#banner-view").remove(),$("input[name=remove_banner]").val("1")}),$(".group-name").on("click",function(){var e=$(this);e.find(".group-toggle").toggleClass("ion-ios-minus-outline").toggleClass("ion-ios-plus-outline"),e.next(".group-items").toggleClass("hide")}),$(".select-group").on("click",function(){var e=$(this).closest("ul.list-group");return e.find("input[type=checkbox]").prop("checked",!0),e.find(".group-items").removeClass("hide"),e.find(".group-toggle").addClass("ion-ios-minus-outline").removeClass("ion-ios-plus-outline"),event.stopPropagation(),!1}),$(".deselect-group").on("click",function(){var e=$(this).closest("ul.list-group");return e.find("input[type=checkbox]").prop("checked",!1),e.find(".group-items").addClass("hide"),e.find(".group-toggle").removeClass("ion-ios-minus-outline").addClass("ion-ios-plus-outline"),event.stopPropagation(),!1}),$(".wizard-next").on("click",function(){var t=$("#setup-form"),n=$(this),i=n.data("currentBlock"),r=n.data("nextBlock");if(n.button("loading"),r>i){var a="/setup/step"+i;return $.post(a,t.serializeObject()).done(function(t){e(i,r)}).fail(function(e){var t=_.toArray(e.responseJSON.errors);_.each(t,function(e){(new Cachet.Notifier).notify(e)})}).always(function(){n.button("reset")}),!1}e(i,r),n.button("reset")}),$.fn.sparkline){var i=function(){$(".sparkline").each(function(){var e=$(this).data();e.valueSpots={"0:":e.spotColor},$(this).sparkline(e.data,e);var t=e.compositedata;if(t){var n=$(this).attr("data-stack-line-color"),i=$(this).attr("data-stack-fill-color"),r=$(this).attr("data-stack-spot-color"),a=$(this).attr("data-stack-spot-radius");$(this).sparkline(t,{composite:!0,lineColor:n,fillColor:i,spotColor:r,highlightSpotColor:r,spotRadius:a,valueSpots:{"0:":r}})}})};i(!1)}$(".password-strength").strengthify(),$("#update-alert").length>0&&$.ajax({async:!0,dataType:"json",url:"/api/v1/version"}).done(function(e){e.meta.on_latest===!1&&$("#update-alert").removeClass("hidden")})});