Files
cachet-docker/public/build/dist/js/all-b2c62d4294.js
2016-07-29 12:04:57 -04:00

21 lines
661 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.
function askConfirmation(e){swal({type:"warning",title:"Confirm your action",text:"Are you sure you want to do this?",confirmButtonText:"Yes",confirmButtonColor:"#FF6F6F",showCancelButton:!0},function(){e()})}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 Z.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;n<i;n++)xe.set(e[n],"globalEval",!t||xe.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,g=e.length;m<g;m++)if(a=e[m],a||0===a)if("object"===ae.type(a))ae.merge(p,a.nodeType?[a]:a);else if(Fe.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 g(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)g(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 _(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(xe.hasData(e)&&(a=xe.access(e),o=xe.set(t,a),u=a.events)){delete o.handle,o.events={};for(r in u)for(n=0,i=u[r].length;n<i;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&&je.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function w(e,t,n,i){t=Q.apply([],t);var r,a,o,s,l,u,c=0,f=e.length,p=f-1,m=t[0],g=ae.isFunction(m);if(g||f>1&&"string"==typeof m&&!ie.checkClone&&Be.test(m))return e.each(function(r){var a=e.eq(r);g&&(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;c<f;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;c<s;c++)l=o[c],Ee.test(l.type||"")&&!xe.access(l,"globalEval")&&ae.contains(u,l)&&(l.src?ae._evalUrl&&ae._evalUrl(l.src):ae.globalEval(l.textContent.replace(Ve,"")))}return e}function k(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 L(e,t){var n=ae(t.createElement(e)).appendTo(t.body),i=ae.css(n[0],"display");return n.detach(),i}function x(e){var t=G,n=Ue[e];return n||(n=L(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=L(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;a<4;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(r<=0||null==r){if(r=D(e,t,a),(r<0||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 A(e,t){for(var n,i,r,a=[],o=0,s=e.length;o<s;o++)i=e[o],i.style&&(a[o]=xe.get(i,"olddisplay"),n=i.style.display,t?(a[o]||"none"!==n||(i.style.display=""),""===i.style.display&&Ae(i)&&(a[o]=xe.access(i,"olddisplay",x(i.nodeName)))):(r=Ae(i),"none"===n&&r||xe.set(i,"olddisplay",r?n:ae.css(i,"display"))));for(o=0;o<s;o++)i=e[o],i.style&&(t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?a[o]||"":"none"));return e}function j(e,t,n,i,r){return new j.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;i<4;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=(O.tweeners[t]||[]).concat(O.tweeners["*"]),a=0,o=r.length;a<o;a++)if(i=r[a].call(n,t,e))return i}function F(e,t,n){var i,r,a,o,s,l,u,d,c=this,h={},f=e.style,p=e.nodeType&&Ae(e),m=xe.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?xe.get(e,"olddisplay")||x(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?x(e.nodeName):u)&&(f.display=u);else{m?"hidden"in m&&(p=m.hidden):m=xe.access(e,"fxshow",{}),a&&(m.hidden=!p),p?ae(e).show():c.done(function(){ae(e).hide()}),c.done(function(){var t;xe.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 O(e,t,n){var i,r,a=0,o=O.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;o<l;o++)u.tweens[o].run(a);return s.notifyWith(e,[u,a,n]),a<1&&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;n<i;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);a<o;a++)if(i=O.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}if(a)return a!==l[0]&&l.unshift(a),n[a]}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,Q=J.concat,K=J.push,Z=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?e<0?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+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:K,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--);s<l;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;r<i&&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):K.call(i,e)),i},inArray:function(e,t,n){return null==t?-1:Z.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;i++)e[r++]=t[i];return e.length=r,e},grep:function(e,t,n){for(var i,r=[],a=0,o=e.length,s=!n;a<o;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;o<r;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 Q.apply([],s)},guid:1,proxy:function(e,t){var n,i,r;if("string"==typeof t&&(n=e[t],t=e,e=n),ae.isFunction(e))return 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},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)!==A&&H(t),t=t||A,P)){if(11!==m&&(u=_e.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 K.apply(n,t.getElementsByTagName(e)),n;if((r=u[3])&&M.getElementsByClassName&&t.getElementsByClassName)return K.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=O),c=x(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 K.apply(n,p.querySelectorAll(f)),n}catch(g){}finally{s===O&&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[O]=!0,e}function r(e){var t=A.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function 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="";t<n;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[O]||(t[O]={}),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;r<a;r++)t(e,n[r],i);return i}function g(e,t,n,i,r){for(var a,o=[],s=0,l=e.length,u=null!=t;s<l;s++)(a=e[s])&&(n&&!n(a,i,r)||(o.push(a),u&&t.push(s)));return o}function _(e,t,n,r,a,o){return r&&!r[O]&&(r=_(r)),a&&!a[O]&&(a=_(a,o)),i(function(i,o,s,l){var u,d,c,h=[],f=[],p=o.length,_=i||m(t||"*",s.nodeType?[s]:s,[]),y=!e||!i&&t?_:g(_,h,e,s,l),v=n?a||(i?e:p||r)?[]:o:y;if(n&&n(y,v,s,l),r)for(u=g(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=g(v===o?v.splice(p,v.length):v),a?a(null,o,v,l):K.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}];s<r;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[O]){for(i=++s;i<r&&!w.relative[e[i].type];i++);return _(s>1&&p(d),s>1&&h(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,s<i&&y(e.slice(s,i)),i<r&&y(e=e.slice(i)),i<r&&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&&[],_=[],y=Y,v=i||a&&w.find.TAG("*",u),b=N+=null==y?1:Math.random()||.1,M=v.length;for(u&&(Y=o===A||o||u);p!==M&&null!=(d=v[p]);p++){if(a&&d){for(c=0,o||d.ownerDocument===A||(H(d),s=!P);h=e[c++];)if(h(d,o||A,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,_,o,s);if(i){if(f>0)for(;p--;)m[p]||_[p]||(_[p]=X.call(l));_=g(_)}K.apply(l,_),u&&!i&&_.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,k,L,x,D,T,Y,S,C,H,A,j,P,E,I,F,W,O="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,Q=G.push,K=G.push,Z=G.slice,ee=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",ie="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",re="\\["+ne+"*("+ie+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ie+"))|)"+ne+"*\\]",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,ge=/^[^{]+\{\s*\[native \w/,_e=/^(?:#([\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:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},we=function(){H()};try{K.apply(G=Z.call(R.childNodes),R.childNodes),G[R.childNodes.length].nodeType}catch(ke){K={apply:G.length?function(e,t){Q.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}M=t.support={},L=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!==A&&9===i.nodeType&&i.documentElement?(A=i,j=A.documentElement,P=!L(A),(n=A.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(A.createComment("")),!e.getElementsByTagName("*").length}),M.getElementsByClassName=ge.test(A.getElementsByClassName),M.getById=r(function(e){return j.appendChild(e).id=O,!A.getElementsByName||!A.getElementsByName(O).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){if("undefined"!=typeof t.getElementsByClassName&&P)return t.getElementsByClassName(e)},I=[],E=[],(M.qsa=ge.test(A.querySelectorAll))&&(r(function(e){j.appendChild(e).innerHTML="<a id='"+O+"'></a><select id='"+O+"-\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~="+O+"-]").length||E.push("~="),e.querySelectorAll(":checked").length||E.push(":checked"),e.querySelectorAll("a#"+O+"+*").length||E.push(".#.+[+~]")}),r(function(e){var t=A.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=ge.test(F=j.matches||j.webkitMatchesSelector||j.mozMatchesSelector||j.oMatchesSelector||j.msMatchesSelector))&&r(function(e){M.disconnectedMatch=F.call(e,"div"),F.call(e,"[s!='']:x"),I.push("!=",ae)}),E=E.length&&new RegExp(E.join("|")),I=I.length&&new RegExp(I.join("|")),t=ge.test(j.compareDocumentPosition),W=t||ge.test(j.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},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===A||e.ownerDocument===R&&W(R,e)?-1:t===A||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===A?-1:t===A?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},A):A},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==A&&H(e),n=n.replace(de,"='$1']"),M.matchesSelector&&P&&!V[n+" "]&&(!I||!I.test(n))&&(!E||!E.test(n)))try{var i=F.call(e,n);if(i||M.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(r){}return t(n,A,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==A&&H(e),W(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==A&&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},k=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+=k(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=k(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=x(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",g=t.parentNode,_=s&&t.nodeName.toLowerCase(),y=!l&&!s,v=!1;if(g){if(a){for(;m;){for(h=t;h=h[m];)if(s?h.nodeName.toLowerCase()===_:1===h.nodeType)return!1;p=m="only"===e&&!p&&"nextSibling"}return!0}if(p=[o?g.firstChild:g.lastChild],o&&y){for(h=g,c=h[O]||(h[O]={}),d=c[h.uniqueID]||(c[h.uniqueID]={}),u=d[e]||[],f=u[0]===N&&u[1],v=f&&u[2],h=f&&g.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[O]||(h[O]={}),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()!==_:1!==h.nodeType)||!++v||(y&&(c=h[O]||(h[O]={}),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[O]?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[O]?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||k(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===j},focus:function(e){return e===A.activeElement&&(!A.hasFocus||A.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!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[n<0?n+t:n]}),even:u(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:u(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:u(function(e,t,n){for(var i=n<0?n+t:n;--i>=0;)e.push(i);return e}),gt:u(function(e,t,n){for(var i=n<0?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,x=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=x(e)),n=t.length;n--;)a=y(t[n]),a[O]?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&&x(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 K.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=O.split("").sort(q).join("")===O,M.detectDuplicates=!!C,H(),M.sortDetached=r(function(e){return 1&e.compareDocumentPosition(A.createElement("div"))}),r(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||a("type|href|height|width",function(e,t,n){if(!n)return 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){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),r(function(e){return null==e.getAttribute("disabled")})||a(te,function(e,t,n){var i;if(!n)return 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;t<n;t++)if(ae.contains(r[t],this))return!0}));for(t=0;t<n;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 ge,_e=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ye=ae.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||ge,"string"==typeof e){if(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:_e.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,ge=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;e<n;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;i<r;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?Z.call(ae(e),this[0]):Z.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(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),n<=l&&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);r<o;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 ke=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)ke(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(;s<l;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},Le=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(!Le(e))return{};var t=e[this.expando];return t||(t={},Le(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 xe=new s,De=new s,Te=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ye=/[A-Z]/g;ae.extend({hasData:function(e){return De.hasData(e)||xe.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 xe.access(e,t,n)},_removeData:function(e,t){xe.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&&!xe.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])));xe.set(a,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each(function(){De.set(this,e)}):ke(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;if(e)return t=(t||"fx")+"queue",i=xe.get(e,t),n&&(!i||ae.isArray(n)?i=xe.access(e,t,ae.makeArray(n)):i.push(n)),i||[]},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 xe.get(e,n)||xe.access(e,n,{empty:ae.Callbacks("once memory").add(function(){xe.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=xe.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"],Ae=function(e,t){return e=t||e,"none"===ae.css(e,"display")||!ae.contains(e.ownerDocument,e)},je=/^(?: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 Fe=/<|&#?\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/,Oe=/^(?: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,g=xe.get(e);if(g)for(n.handler&&(a=n,n=a.handler,r=a.selector),n.guid||(n.guid=ae.guid++),(l=g.events)||(l=g.events={}),(o=g.handle)||(o=g.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,g=xe.hasData(e)&&xe.get(e);if(g&&(l=g.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,g.handle)!==!1||ae.removeEvent(e,f,g.handle),delete l[f])}else for(f in l)ae.event.remove(e,f+t[u],n,i,!0);ae.isEmptyObject(l)&&xe.remove(e,"handle events")}},dispatch:function(e){e=ae.event.fix(e);var t,n,i,r,a,o=[],s=X.call(arguments),l=(xe.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;n<s;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=Oe.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(){if(this!==m()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===m()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&ae.nodeName(this,"input"))return this.click(),!1},_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 g(this,e,t,n,i)},one:function(e,t,n,i){return g(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;i<r;i++)M(a[i],o[i]);if(t)if(n)for(a=a||d(e),o=o||d(s),i=0,r=a.length;i<r;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(Le(n)){if(t=n[xe.expando]){if(t.events)for(i in t.events)r[i]?ae.event.remove(n,i):ae.removeEvent(n,i,t.handle);n[xe.expando]=void 0}n[De.expando]&&(n[De.expando]=void 0)}}}),ae.fn.extend({domManip:w,detach:function(e){return k(this,e,!0)},remove:function(e){return k(this,e)},text:function(e){return ke(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=_(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=_(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 ke(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(;n<i;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;o<=a;o++)n=o===a?this:this.clone(!0),ae(r[o])[t](n),K.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)},Qe=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},Ke=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="",Ke.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,Ke.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",Ke.appendChild(o),t=!parseFloat(e.getComputedStyle(n).marginRight),Ke.removeChild(o),s.removeChild(n),t}}))}();var Ze=/^(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"),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)),void 0)}},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){if(n)return Ze.test(ae.css(e,"display"))&&0===e.offsetWidth?Qe(e,et,function(){return H(e,t,i)}):H(e,t,i)},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){if(t)return(parseFloat(D(e,"marginLeft"))||e.getBoundingClientRect().left-Qe(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),ae.cssHooks.marginRight=T(ie.reliableMarginRight,function(e,t){if(t)return Qe(e,{display:"inline-block"},D,[e,"marginRight"])}),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];i<4;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 ke(this,function(e,t,n){var i,r,a={},o=0;if(ae.isArray(t)){for(i=Xe(e),r=t.length;o<r;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 A(this,!0)},hide:function(){return A(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Ae(this)?ae(this).show():ae(this).hide()})}}),ae.Tween=j,j.prototype={constructor:j,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=j.propHooks[this.prop];return e&&e.get?e.get(this):j.propHooks._default.get(this)},run:function(e){var t,n=j.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):j.propHooks._default.set(this),this}},j.prototype.init.prototype=j.prototype,j.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)}}},j.propHooks.scrollTop=j.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=j.prototype.init,ae.fx.step={};var rt,at,ot=/^(?:toggle|show|hide)$/,st=/queueHooks$/;ae.Animation=ae.extend(O,{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;i<r;i++)n=e[i],O.tweeners[n]=O.tweeners[n]||[],O.tweeners[n].unshift(t)},prefilters:[F],prefilter:function(e,t){t?O.prefilters.unshift(e):O.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(Ae).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=O(this,ae.extend({},e),a);(r||xe.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=xe.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=xe.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;t<o;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 ke(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 ke(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&&xe.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||e===!1?"":xe.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];{if(arguments.length)return 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))});if(r)return 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)}}}),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||r<0,o=a?null:[],s=a?r+1:i.length,l=r<0?s:a?r:0;l<s;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){if(ae.isArray(t))return e.checked=ae.inArray(ae(e).val(),t)>-1}},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=(xe.get(o,"events")||{})[t.type]&&xe.get(o,"handle"),d&&d.apply(o,n),d=u&&o[u],d&&d.apply&&Le(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||!Le(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];if(n)return ae.event.trigger(e,t,n,!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=xe.access(i,t);r||i.addEventListener(e,n,!0),xe.access(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=xe.access(i,t)-1;r?xe.access(i,t,r):(i.removeEventListener(e,n,!0),xe.remove(i,t))}}});var gt=e.location,_t=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):$/,kt=/^(?:GET|HEAD)$/,Lt=/^\/\//,xt={},Dt={},Tt="*/".concat("*"),Yt=G.createElement("a");Yt.href=gt.href,ae.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:gt.href,type:"GET",isLocal:wt.test(gt.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(xt),ajaxTransport:N(Dt),ajax:function(t,n){function i(t,n,i,s){var u,c,y,v,M,k=n;2!==b&&(b=2,l&&e.clearTimeout(l),r=void 0,o=s||"",w.readyState=t>0?4:0,u=t>=200&&t<300||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?k="nocontent":304===t?k="notmodified":(k=v.state,c=v.data,y=v.error,u=!y)):(y=k,!t&&k||(k="error",t<0&&(t=0))),w.status=t,w.statusText=(n||k)+"",u?m.resolveWith(f,[c,k,w]):m.rejectWith(f,[w,k,y]),w.statusCode(_),_=void 0,d&&p.trigger(u?"ajaxSuccess":"ajaxError",[w,h,u?c:y]),g.fireWith(f,[w,k]),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(),g=ae.Callbacks("once memory"),_=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(b<2)for(t in e)_[t]=[_[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=g.add,w.success=w.done,w.error=w.fail,h.url=((t||h.url||gt.href)+"").replace(vt,"").replace(Lt,gt.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(k){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=ae.param(h.data,h.traditional)),z(xt,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=!kt.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_="+_t++):a+(yt.test(a)?"&":"?")+"_="+_t++)),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(k){if(!(b<2))throw k;i(-1,k)}}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,At=/^(?:submit|button|image|reset|file)$/i,jt=/^(?: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")&&jt.test(this.nodeName)&&!At.test(e)&&(this.checked||!je.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;if(ie.cors||Et&&!t.crossDomain)return{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()}}}),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=[],Ft=/(=)\?(?=&|$)|\?\?/;ae.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=It.pop()||ae.expando+"_"+_t++;return this[e]=!0,e}}),ae.ajaxPrefilter("json jsonp",function(t,n,i){var r,a,o,s=t.jsonp!==!1&&(Ft.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ft.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=ae.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Ft,"$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"}),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;if(a)return 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},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||Ke})}}),ae.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;ae.fn[e]=function(i){return ke(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){if(n)return n=D(e,t),Ge.test(n)?ae(e).position()[t]+"px":n})}),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 ke(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 Ot=e.jQuery,Rt=e.$;return ae.noConflict=function(t){return e.$===ae&&(e.$=Rt),t&&e.jQuery===ae&&(e.jQuery=Ot),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 g=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",g).emulateTransitionEnd(n.TRANSITION_DURATION):g()}},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 dr.apply(null,arguments)}function t(e){dr=e}function n(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return"[object Object]"===Object.prototype.toString.call(e)}function r(e){var t;for(t in e)return!1;return!0}function a(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function o(e,t){var n,i=[];for(n=0;n<e.length;++n)i.push(t(e[n],n));return i}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function u(e,t,n,i){return gt(e,t,n,i,!0).utc()}function d(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function c(e){return null==e._pf&&(e._pf=d()),e._pf}function h(e){if(null==e._isValid){var t=c(e),n=cr.call(t.parsedDateParts,function(e){return null!=e});e._isValid=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(e._isValid=e._isValid&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)}return e._isValid}function f(e){var t=u(NaN);return null!=e?l(c(t),e):c(t).userInvalidated=!0,t}function p(e){return void 0===e}function m(e,t){var n,i,r;if(p(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),p(t._i)||(e._i=t._i),p(t._f)||(e._f=t._f),p(t._l)||(e._l=t._l),p(t._strict)||(e._strict=t._strict),p(t._tzm)||(e._tzm=t._tzm),p(t._isUTC)||(e._isUTC=t._isUTC),p(t._offset)||(e._offset=t._offset),p(t._pf)||(e._pf=c(t)),p(t._locale)||(e._locale=t._locale),hr.length>0)for(n in hr)i=hr[n],r=t[i],p(r)||(e[i]=r);return e}function g(t){m(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),fr===!1&&(fr=!0,e.updateOffset(this),fr=!1)}function _(e){return e instanceof g||null!=e&&null!=e._isAMomentObject}function y(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function v(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=y(t)),n}function b(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&&v(e[i])!==v(t[i]))&&o++;return o+a}function M(t){e.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn}function w(t,n){var i=!0;return l(function(){return null!=e.deprecationHandler&&e.deprecationHandler(null,t),i&&(M(t+"\nArguments: "+Array.prototype.slice.call(arguments).join(", ")+"\n"+(new Error).stack),i=!1),n.apply(this,arguments)},n)}function k(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),pr[t]||(M(n),pr[t]=!0)}function L(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function x(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 D(e,t){var n,r=l({},e);for(n in t)s(t,n)&&(i(e[n])&&i(t[n])?(r[n]={},l(r[n],e[n]),l(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)s(e,n)&&!s(t,n)&&i(e[n])&&(r[n]=l({},r[n]));return r}function T(e){null!=e&&this.set(e)}function Y(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return L(i)?i.call(t,n):i}function S(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 C(){return this._invalidDate}function H(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 j(e,t){var n=this._relativeTime[e>0?"future":"past"];return L(n)?n(t):n.replace(/%s/i,t)}function P(e,t){var n=e.toLowerCase();kr[n]=kr[n+"s"]=kr[t]=e}function E(e){return"string"==typeof e?kr[e]||kr[e.toLowerCase()]:void 0}function I(e){var t,n,i={};for(n in e)s(e,n)&&(t=E(n),t&&(i[t]=e[n]));return i}function F(e,t){Lr[e]=t}function W(e){var t=[];for(var n in e)t.push({unit:n,priority:Lr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function O(t,n){return function(i){return null!=i?(N(this,t,i),e.updateOffset(this,n),this):R(this,t)}}function R(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function N(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function z(e){return e=E(e),L(this[e])?this[e]():this}function B(e,t){if("object"==typeof e){e=I(e);for(var n=W(e),i=0;i<n.length;i++)this[n[i].unit](e[n[i].unit])}else if(e=E(e),L(this[e]))return this[e](t);return this}function $(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 V(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(Yr[e]=r),t&&(Yr[t[0]]=function(){return $(r.apply(this,arguments),t[1],t[2])}),n&&(Yr[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function q(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function U(e){var t,n,i=e.match(xr);for(t=0,n=i.length;t<n;t++)Yr[i[t]]?i[t]=Yr[i[t]]:i[t]=q(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 J(e,t){return e.isValid()?(t=G(t,e.localeData()),Tr[t]=Tr[t]||U(t),Tr[t](e)):e.localeData().invalidDate()}function G(e,t){function n(e){return t.longDateFormat(e)||e}var i=5;for(Dr.lastIndex=0;i>=0&&Dr.test(e);)e=e.replace(Dr,n),Dr.lastIndex=0,i-=1;return e}function X(e,t,n){qr[e]=L(t)?t:function(e,i){return e&&n?n:t}}function Q(e,t){return s(qr,e)?qr[e](t._strict,t._locale):new RegExp(K(e))}function K(e){return Z(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r}))}function Z(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ee(e,t){var n,i=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(i=function(e,n){n[t]=v(e)}),n=0;n<e.length;n++)Ur[e[n]]=i}function te(e,t){ee(e,function(e,n,i,r){i._w=i._w||{},t(e,i._w,i,r)})}function ne(e,t,n){null!=t&&s(Ur,e)&&Ur[e](t,n._a,n,e)}function ie(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function re(e,t){return n(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ia).test(t)?"format":"standalone"][e.month()]}function ae(e,t){return n(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ia.test(t)?"format":"standalone"][e.month()]}function oe(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=u([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?(r=gr.call(this._shortMonthsParse,o),r!==-1?r:null):(r=gr.call(this._longMonthsParse,o),r!==-1?r:null):"MMM"===t?(r=gr.call(this._shortMonthsParse,o),r!==-1?r:(r=gr.call(this._longMonthsParse,o),r!==-1?r:null)):(r=gr.call(this._longMonthsParse,o),r!==-1?r:(r=gr.call(this._shortMonthsParse,o),r!==-1?r:null))}function se(e,t,n){var i,r,a;if(this._monthsParseExact)return oe.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=u([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 le(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=v(t);else if(t=e.localeData().monthsParse(t),"number"!=typeof t)return e;return n=Math.min(e.date(),ie(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function ue(t){return null!=t?(le(this,t),e.updateOffset(this,!0),this):R(this,"Month")}function de(){return ie(this.year(),this.month())}function ce(e){return this._monthsParseExact?(s(this,"_monthsRegex")||fe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=oa),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function he(e){return this._monthsParseExact?(s(this,"_monthsRegex")||fe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=sa),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function fe(){function e(e,t){return t.length-e.length}var t,n,i=[],r=[],a=[];for(t=0;t<12;t++)n=u([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]=Z(i[t]),r[t]=Z(r[t]);for(t=0;t<24;t++)a[t]=Z(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 pe(e){return me(e)?366:365}function me(e){return e%4===0&&e%100!==0||e%400===0}function ge(){return me(this.year())}function _e(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 ye(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function ve(e,t,n){var i=7+t-n,r=(7+ye(e,0,i).getUTCDay()-t)%7;return-r+i-1}function be(e,t,n,i,r){var a,o,s=(7+n-i)%7,l=ve(e,i,r),u=1+7*(t-1)+s+l;return u<=0?(a=e-1,o=pe(a)+u):u>pe(e)?(a=e+1,o=u-pe(e)):(a=e,o=u),{year:a,dayOfYear:o}}function Me(e,t,n){var i,r,a=ve(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?(r=e.year()-1,i=o+we(r,t,n)):o>we(e.year(),t,n)?(i=o-we(e.year(),t,n),r=e.year()+1):(r=e.year(),i=o),{week:i,year:r}}function we(e,t,n){var i=ve(e,t,n),r=ve(e+1,t,n);return(pe(e)-i+r)/7}function ke(e){return Me(e,this._week.dow,this._week.doy).week}function Le(){return this._week.dow}function xe(){return this._week.doy}function De(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Te(e){var t=Me(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Ye(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Se(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Ce(e,t){return n(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]}function He(e){return this._weekdaysShort[e.day()]}function Ae(e){return this._weekdaysMin[e.day()]}function je(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=u([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=gr.call(this._weekdaysParse,o),r!==-1?r:null):"ddd"===t?(r=gr.call(this._shortWeekdaysParse,o),r!==-1?r:null):(r=gr.call(this._minWeekdaysParse,o),r!==-1?r:null):"dddd"===t?(r=gr.call(this._weekdaysParse,o),r!==-1?r:(r=gr.call(this._shortWeekdaysParse,o),r!==-1?r:(r=gr.call(this._minWeekdaysParse,o),r!==-1?r:null))):"ddd"===t?(r=gr.call(this._shortWeekdaysParse,o),r!==-1?r:(r=gr.call(this._weekdaysParse,o),r!==-1?r:(r=gr.call(this._minWeekdaysParse,o),r!==-1?r:null))):(r=gr.call(this._minWeekdaysParse,o),r!==-1?r:(r=gr.call(this._weekdaysParse,o),r!==-1?r:(r=gr.call(this._shortWeekdaysParse,o),r!==-1?r:null)))}function Pe(e,t,n){var i,r,a;if(this._weekdaysParseExact)return je.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=u([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 Ee(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Ye(e,this.localeData()),this.add(e-t,"d")):t}function Ie(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 Fe(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Se(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function We(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ne.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=fa),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Oe(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ne.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=pa),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Re(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ne.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ma),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ne(){function e(e,t){return t.length-e.length}var t,n,i,r,a,o=[],s=[],l=[],d=[];for(t=0;t<7;t++)n=u([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),d.push(i),d.push(r),d.push(a);for(o.sort(e),s.sort(e),l.sort(e),d.sort(e),t=0;t<7;t++)s[t]=Z(s[t]),l[t]=Z(l[t]),d[t]=Z(d[t]);this._weekdaysRegex=new RegExp("^("+d.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 ze(){return this.hours()%12||12}function Be(){return this.hours()||24}function $e(e,t){V(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ve(e,t){return t._meridiemParse}function qe(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ue(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Je(e){return e?e.toLowerCase().replace("_","-"):e}function Ge(e){for(var t,n,i,r,a=0;a<e.length;){for(r=Je(e[a]).split("-"),t=r.length,n=Je(e[a+1]),n=n?n.split("-"):null;t>0;){if(i=Xe(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&b(r,n,!0)>=t-1)break;t--}a++}return null}function Xe(e){var t=null;if(!ba[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=ga._abbr,require("./locale/"+e),Qe(t)}catch(n){}return ba[e]}function Qe(e,t){var n;return e&&(n=p(t)?et(e):Ke(e,t),n&&(ga=n)),ga._abbr}function Ke(e,t){if(null!==t){var n=va;return t.abbr=e,null!=ba[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=ba[e]._config):null!=t.parentLocale&&(null!=ba[t.parentLocale]?n=ba[t.parentLocale]._config:k("parentLocaleUndefined","specified parentLocale is not defined yet. See http://momentjs.com/guides/#/warnings/parent-locale/")),ba[e]=new T(D(n,t)),Qe(e),ba[e]}return delete ba[e],null}function Ze(e,t){if(null!=t){var n,i=va;null!=ba[e]&&(i=ba[e]._config),t=D(i,t),n=new T(t),n.parentLocale=ba[e],ba[e]=n,Qe(e)}else null!=ba[e]&&(null!=ba[e].parentLocale?ba[e]=ba[e].parentLocale:null!=ba[e]&&delete ba[e]);return ba[e]}function et(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ga;if(!n(e)){if(t=Xe(e))return t;e=[e]}return Ge(e)}function tt(){return mr(ba)}function nt(e){var t,n=e._a;return n&&c(e).overflow===-2&&(t=n[Gr]<0||n[Gr]>11?Gr:n[Xr]<1||n[Xr]>ie(n[Jr],n[Gr])?Xr:n[Qr]<0||n[Qr]>24||24===n[Qr]&&(0!==n[Kr]||0!==n[Zr]||0!==n[ea])?Qr:n[Kr]<0||n[Kr]>59?Kr:n[Zr]<0||n[Zr]>59?Zr:n[ea]<0||n[ea]>999?ea:-1,c(e)._overflowDayOfYear&&(t<Jr||t>Xr)&&(t=Xr),c(e)._overflowWeeks&&t===-1&&(t=ta),c(e)._overflowWeekday&&t===-1&&(t=na),c(e).overflow=t),e}function it(e){var t,n,i,r,a,o,s=e._i,l=Ma.exec(s)||wa.exec(s);if(l){for(c(e).iso=!0,t=0,n=La.length;t<n;t++)if(La[t][1].exec(l[1])){r=La[t][0],i=La[t][2]!==!1;break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,n=xa.length;t<n;t++)if(xa[t][1].exec(l[3])){a=(l[2]||" ")+xa[t][0];break}if(null==a)return void(e._isValid=!1)}if(!i&&null!=a)return void(e._isValid=!1);if(l[4]){if(!ka.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=r+(a||"")+(o||""),ut(e)}else e._isValid=!1}function rt(t){var n=Da.exec(t._i);return null!==n?void(t._d=new Date((+n[1]))):(it(t),void(t._isValid===!1&&(delete t._isValid,e.createFromInputFallback(t))))}function at(e,t,n){return null!=e?e:null!=t?t:n}function ot(t){var n=new Date(e.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function st(e){var t,n,i,r,a=[];if(!e._d){for(i=ot(e),e._w&&null==e._a[Xr]&&null==e._a[Gr]&&lt(e),e._dayOfYear&&(r=at(e._a[Jr],i[Jr]),e._dayOfYear>pe(r)&&(c(e)._overflowDayOfYear=!0),n=ye(r,0,e._dayOfYear),e._a[Gr]=n.getUTCMonth(),e._a[Xr]=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[Qr]&&0===e._a[Kr]&&0===e._a[Zr]&&0===e._a[ea]&&(e._nextDay=!0,e._a[Qr]=0),e._d=(e._useUTC?ye:_e).apply(null,a),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Qr]=24)}}function lt(e){var t,n,i,r,a,o,s,l;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(a=1,o=4,n=at(t.GG,e._a[Jr],Me(_t(),1,4).year),i=at(t.W,1),r=at(t.E,1),(r<1||r>7)&&(l=!0)):(a=e._locale._week.dow,o=e._locale._week.doy,n=at(t.gg,e._a[Jr],Me(_t(),a,o).year),i=at(t.w,1),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>we(n,a,o)?c(e)._overflowWeeks=!0:null!=l?c(e)._overflowWeekday=!0:(s=be(n,i,r,a,o),e._a[Jr]=s.year,e._dayOfYear=s.dayOfYear)}function ut(t){if(t._f===e.ISO_8601)return void it(t);t._a=[],c(t).empty=!0;var n,i,r,a,o,s=""+t._i,l=s.length,u=0;for(r=G(t._f,t._locale).match(xr)||[],n=0;n<r.length;n++)a=r[n],i=(s.match(Q(a,t))||[])[0],i&&(o=s.substr(0,s.indexOf(i)),o.length>0&&c(t).unusedInput.push(o),s=s.slice(s.indexOf(i)+i.length),u+=i.length),Yr[a]?(i?c(t).empty=!1:c(t).unusedTokens.push(a),ne(a,i,t)):t._strict&&!i&&c(t).unusedTokens.push(a);c(t).charsLeftOver=l-u,s.length>0&&c(t).unusedInput.push(s),t._a[Qr]<=12&&c(t).bigHour===!0&&t._a[Qr]>0&&(c(t).bigHour=void 0),c(t).parsedDateParts=t._a.slice(0),c(t).meridiem=t._meridiem,t._a[Qr]=dt(t._locale,t._a[Qr],t._meridiem),st(t),nt(t)}function dt(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 ct(e){var t,n,i,r,a;if(0===e._f.length)return c(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<e._f.length;r++)a=0,t=m({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],ut(t),h(t)&&(a+=c(t).charsLeftOver,a+=10*c(t).unusedTokens.length,c(t).score=a,(null==i||a<i)&&(i=a,n=t));l(e,n||t)}function ht(e){if(!e._d){var t=I(e._i);e._a=o([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),st(e)}}function ft(e){var t=new g(nt(pt(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function pt(e){var t=e._i,i=e._f;return e._locale=e._locale||et(e._l),null===t||void 0===i&&""===t?f({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),_(t)?new g(nt(t)):(n(i)?ct(e):a(t)?e._d=t:i?ut(e):mt(e),h(e)||(e._d=null),e))}function mt(t){var i=t._i;void 0===i?t._d=new Date(e.now()):a(i)?t._d=new Date(i.valueOf()):"string"==typeof i?rt(t):n(i)?(t._a=o(i.slice(0),function(e){return parseInt(e,10)}),st(t)):"object"==typeof i?ht(t):"number"==typeof i?t._d=new Date(i):e.createFromInputFallback(t)}function gt(e,t,a,o,s){var l={};return"boolean"==typeof a&&(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,ft(l)}function _t(e,t,n,i){return gt(e,t,n,i,!1)}function yt(e,t){var i,r;if(1===t.length&&n(t[0])&&(t=t[0]),!t.length)return _t();for(i=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](i)||(i=t[r]);return i}function vt(){var e=[].slice.call(arguments,0);return yt("isBefore",e)}function bt(){var e=[].slice.call(arguments,0);return yt("isAfter",e)}function Mt(e){var t=I(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=et(),this._bubble()}function wt(e){return e instanceof Mt}function kt(e,t){V(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+$(~~(e/60),2)+t+$(~~e%60,2)})}function Lt(e,t){var n=(t||"").match(e)||[],i=n[n.length-1]||[],r=(i+"").match(Ca)||["-",0,0],a=+(60*r[1])+v(r[2]);return"+"===r[0]?a:-a}function xt(t,n){var i,r;return n._isUTC?(i=n.clone(),r=(_(t)||a(t)?t.valueOf():_t(t).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+r),e.updateOffset(i,!1),i):_t(t).local()}function Dt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Tt(t,n){var i,r=this._offset||0;return this.isValid()?null!=t?("string"==typeof t?t=Lt(Br,t):Math.abs(t)<16&&(t=60*t),!this._isUTC&&n&&(i=Dt(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==t&&(!n||this._changeInProgress?$t(this,Wt(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?r:Dt(this):null!=t?this:NaN}function Yt(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function St(e){return this.utcOffset(0,e)}function Ct(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Dt(this),"m")),this}function Ht(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Lt(zr,this._i)),this}function At(e){return!!this.isValid()&&(e=e?_t(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function jt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Pt(){if(!p(this._isDSTShifted))return this._isDSTShifted;var e={};if(m(e,this),e=pt(e),e._a){var t=e._isUTC?u(e._a):_t(e._a);this._isDSTShifted=this.isValid()&&b(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Et(){return!!this.isValid()&&!this._isUTC}function It(){return!!this.isValid()&&this._isUTC}function Ft(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Wt(e,t){var n,i,r,a=e,o=null;return wt(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(a={},t?a[t]=e:a.milliseconds=e):(o=Ha.exec(e))?(n="-"===o[1]?-1:1,a={y:0,d:v(o[Xr])*n,h:v(o[Qr])*n,m:v(o[Kr])*n,s:v(o[Zr])*n,ms:v(o[ea])*n}):(o=Aa.exec(e))?(n="-"===o[1]?-1:1,a={y:Ot(o[2],n),M:Ot(o[3],n),w:Ot(o[4],n),d:Ot(o[5],n),h:Ot(o[6],n),m:Ot(o[7],n),s:Ot(o[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(r=Nt(_t(a.from),_t(a.to)),a={},a.ms=r.milliseconds,a.M=r.months),i=new Mt(a),wt(e)&&s(e,"_locale")&&(i._locale=e._locale),i}function Ot(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Rt(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 Nt(e,t){var n;return e.isValid()&&t.isValid()?(t=xt(t,e),e.isBefore(t)?n=Rt(e,t):(n=Rt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function zt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Bt(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=Wt(n,i),$t(this,r,e),this}}function $t(t,n,i,r){var a=n._milliseconds,o=zt(n._days),s=zt(n._months);t.isValid()&&(r=null==r||r,a&&t._d.setTime(t._d.valueOf()+a*i),o&&N(t,"Date",R(t,"Date")+o*i),s&&le(t,R(t,"Month")+s*i),r&&e.updateOffset(t,o||s))}function Vt(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 qt(t,n){var i=t||_t(),r=xt(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,_t(i)))}function Ut(){return new g(this)}function Jt(e,t){var n=_(e)?e:_t(e);return!(!this.isValid()||!n.isValid())&&(t=E(p(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Gt(e,t){var n=_(e)?e:_t(e);return!(!this.isValid()||!n.isValid())&&(t=E(p(t)?"millisecond":t),"millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Xt(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 Qt(e,t){var n,i=_(e)?e:_t(e);return!(!this.isValid()||!i.isValid())&&(t=E(t||"millisecond"),"millisecond"===t?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Kt(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Zt(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function en(e,t,n){var i,r,a,o;return this.isValid()?(i=xt(e,this),i.isValid()?(r=6e4*(i.utcOffset()-this.utcOffset()),t=E(t),"year"===t||"month"===t||"quarter"===t?(o=tn(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:y(o)):NaN):NaN}function tn(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 nn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function rn(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?L(Date.prototype.toISOString)?this.toDate().toISOString():J(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):J(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function an(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var n=J(this,t);return this.localeData().postformat(n)}function on(e,t){return this.isValid()&&(_(e)&&e.isValid()||_t(e).isValid())?Wt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function sn(e){return this.from(_t(),e)}function ln(e,t){return this.isValid()&&(_(e)&&e.isValid()||_t(e).isValid())?Wt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function un(e){return this.to(_t(),e)}function dn(e){var t;return void 0===e?this._locale._abbr:(t=et(e),null!=t&&(this._locale=t),this)}function cn(){return this._locale}function hn(e){switch(e=E(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 fn(e){return e=E(e),void 0===e||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function pn(){return this._d.valueOf()-6e4*(this._offset||0)}function mn(){return Math.floor(this.valueOf()/1e3)}function gn(){return new Date(this.valueOf())}function _n(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function yn(){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 vn(){return this.isValid()?this.toISOString():null}function bn(){return h(this)}function Mn(){return l({},c(this))}function wn(){return c(this).overflow}function kn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ln(e,t){V(0,[e,e.length],0,t)}function xn(e){return Sn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Dn(e){return Sn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Tn(){return we(this.year(),1,4)}function Yn(){var e=this.localeData()._week;return we(this.year(),e.dow,e.doy)}function Sn(e,t,n,i,r){var a;return null==e?Me(this,i,r).year:(a=we(e,i,r),t>a&&(t=a),Cn.call(this,e,t,n,i,r))}function Cn(e,t,n,i,r){var a=be(e,t,n,i,r),o=ye(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function Hn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function An(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 jn(e,t){t[ea]=v(1e3*("0."+e))}function Pn(){return this._isUTC?"UTC":""}function En(){return this._isUTC?"Coordinated Universal Time":""}function In(e){return _t(1e3*e)}function Fn(){return _t.apply(null,arguments).parseZone()}function Wn(e){return e}function On(e,t,n,i){var r=et(),a=u().set(i,t);return r[n](a,e)}function Rn(e,t,n){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return On(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=On(e,i,n,"month");return r}function Nn(e,t,n,i){"boolean"==typeof e?("number"==typeof t&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,"number"==typeof t&&(n=t,t=void 0),t=t||"");var r=et(),a=e?r._week.dow:0;if(null!=n)return On(t,(n+a)%7,i,"day");var o,s=[];for(o=0;o<7;o++)s[o]=On(t,(o+a)%7,i,"day");return s}function zn(e,t){return Rn(e,t,"months")}function Bn(e,t){return Rn(e,t,"monthsShort")}function $n(e,t,n){return Nn(e,t,n,"weekdays")}function Vn(e,t,n){return Nn(e,t,n,"weekdaysShort")}function qn(e,t,n){return Nn(e,t,n,"weekdaysMin")}function Un(){var e=this._data;return this._milliseconds=$a(this._milliseconds),this._days=$a(this._days),this._months=$a(this._months),e.milliseconds=$a(e.milliseconds),e.seconds=$a(e.seconds),e.minutes=$a(e.minutes),e.hours=$a(e.hours),e.months=$a(e.months),e.years=$a(e.years),this}function Jn(e,t,n,i){var r=Wt(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function Gn(e,t){return Jn(this,e,t,1)}function Xn(e,t){return Jn(this,e,t,-1)}function Qn(e){return e<0?Math.floor(e):Math.ceil(e)}function Kn(){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(ei(s)+o),o=0,s=0),l.milliseconds=a%1e3,e=y(a/1e3),l.seconds=e%60,t=y(e/60),l.minutes=t%60,n=y(t/60),l.hours=n%24,o+=y(n/24),r=y(Zn(o)),s+=r,o-=Qn(ei(r)),i=y(s/12),s%=12,l.days=o,l.months=s,l.years=i,this}function Zn(e){return 4800*e/146097}function ei(e){return 146097*e/4800}function ti(e){var t,n,i=this._milliseconds;if(e=E(e),"month"===e||"year"===e)return t=this._days+i/864e5,n=this._months+Zn(t),"month"===e?n:n/12;switch(t=this._days+Math.round(ei(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 ni(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*v(this._months/12)}function ii(e){return function(){return this.as(e)}}function ri(e){return e=E(e),this[e+"s"]()}function ai(e){return function(){return this._data[e]}}function oi(){return y(this.days()/7)}function si(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}function li(e,t,n){var i=Wt(e).abs(),r=oo(i.as("s")),a=oo(i.as("m")),o=oo(i.as("h")),s=oo(i.as("d")),l=oo(i.as("M")),u=oo(i.as("y")),d=r<so.s&&["s",r]||a<=1&&["m"]||a<so.m&&["mm",a]||o<=1&&["h"]||o<so.h&&["hh",o]||s<=1&&["d"]||s<so.d&&["dd",s]||l<=1&&["M"]||l<so.M&&["MM",l]||u<=1&&["y"]||["yy",u];return d[2]=t,d[3]=+e>0,d[4]=n,si.apply(null,d)}function ui(e){return void 0===e?oo:"function"==typeof e&&(oo=e,!0)}function di(e,t){return void 0!==so[e]&&(void 0===t?so[e]:(so[e]=t,!0))}function ci(e){var t=this.localeData(),n=li(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function hi(){var e,t,n,i=lo(this._milliseconds)/1e3,r=lo(this._days),a=lo(this._months);e=y(i/60),t=y(e/60),i%=60,e%=60,n=y(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 fi(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 pi(e,t,n){var i={mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:есяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===n?t?"хвіліна":"хвіліну":"h"===n?t?"гадзіна":"гадзіну":e+" "+fi(i[n],+e)}function mi(e,t,n){var i={mm:"munutenn",MM:"miz",dd:"devezh"};return e+" "+yi(i[n],e)}function gi(e){switch(_i(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function _i(e){return e>9?_i(e%10):e}function yi(e,t){return 2===t?vi(e):e}function vi(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 bi(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 Mi(e){return e>1&&e<5&&1!==~~(e/10)}function wi(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+(Mi(e)?"minuty":"minut"):r+"minutami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?r+(Mi(e)?"hodiny":"hodin"):r+"hodinami";case"d":return t||i?"den":"dnem";case"dd":return t||i?r+(Mi(e)?"dny":"dní"):r+"dny";case"M":return t||i?"měsíc":"měsícem";case"MM":return t||i?r+(Mi(e)?"měsíce":"měsíců"):r+"měsíci";case"y":return t||i?"rok":"rokem";case"yy":return t||i?r+(Mi(e)?"roky":"let"):r+"lety"}}function ki(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 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 xi(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 Di(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=Ti(e,i)+" "+r}function Ti(e,t){return e<10?t?Io[e]:Eo[e]:e}function Yi(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 Si(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 Ci(e){return(e?"":"[múlt] ")+"["+qo[this.day()]+"] LT[-kor]"}function Hi(e){return e%100===11||e%10!==1}function Ai(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 Hi(e)?r+(t||i?"mínútur":"mínútum"):t?r+"mínúta":r+"mínútu";case"hh":return Hi(e)?r+(t||i?"klukkustundir":"klukkustundum"):r+"klukkustund";case"d":return t?"dagur":i?"dag":"degi";case"dd":return Hi(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 Hi(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 Hi(e)?r+(t||i?"ár":"árum"):r+(t||i?"ár":"ári")}}function ji(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 Pi(e){var t=e.substr(0,e.indexOf(" "));return Ii(t)?"a "+e:"an "+e}function Ei(e){var t=e.substr(0,e.indexOf(" "));return Ii(t)?"viru "+e:"virun "+e}function Ii(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 Ii(0===t?n:t)}if(e<1e4){for(;e>=10;)e/=10;return Ii(e)}return e/=1e3,Ii(e)}function Fi(e,t,n,i){return t?"kelios sekundės":i?"kelių sekundžių":"kelias sekundes"}function Wi(e,t,n,i){return t?Ri(n)[0]:i?Ri(n)[1]:Ri(n)[2]}function Oi(e){return e%10===0||e>10&&e<20}function Ri(e){return Go[e].split("_")}function Ni(e,t,n,i){var r=e+" ";return 1===e?r+Wi(e,t,n[0],i):t?r+(Oi(e)?Ri(n)[1]:Ri(n)[0]):i?r+Ri(n)[1]:r+(Oi(e)?Ri(n)[1]:Ri(n)[2])}function zi(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 Bi(e,t,n){return e+" "+zi(Xo[n],e,t)}function $i(e,t,n){return zi(Xo[n],e,t)}function Vi(e,t){return t?"dažas sekundes":"dažām sekundēm"}function qi(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 Ui(e){return e%10<5&&e%10>1&&~~(e/10)%10!==1}function Ji(e,t,n){var i=e+" ";switch(n){case"m":return t?"minuta":"minutę";case"mm":return i+(Ui(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return i+(Ui(e)?"godziny":"godzin");case"MM":return i+(Ui(e)?"miesiące":"miesięcy");case"yy":return i+(Ui(e)?"lata":"lat")}}function Gi(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 Xi(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+" "+Xi(i[n],+e)}function Ki(e){return e>1&&e<5}function Zi(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+(Ki(e)?"minúty":"minút"):r+"minútami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?r+(Ki(e)?"hodiny":"hodín"):r+"hodinami";case"d":return t||i?"deň":"dňom";case"dd":return t||i?r+(Ki(e)?"dni":"dní"):r+"dňami";case"M":return t||i?"mesiac":"mesiacom";case"MM":return t||i?r+(Ki(e)?"mesiace":"mesiacov"):r+"mesiacmi";case"y":return t||i?"rok":"rokom";case"yy":return t||i?r+(Ki(e)?"roky":"rokov"):r+"rokmi"}}function er(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 tr(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 nr(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 ir(e,t,n,i){var r=rr(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 rr(e){var t=Math.floor(e%1e3/100),n=Math.floor(e%100/10),i=e%10,r="";return t>0&&(r+=_s[t]+"vatlh"),n>0&&(r+=(""!==r?" ":"")+_s[n]+"maH"),i>0&&(r+=(""!==r?" ":"")+_s[i]),""===r?"pagh":r}function ar(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 or(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 sr(e,t,n){var i={mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:ень_дні_днів",MM:ісяць_місяціісяців",yy:"рік_роки_років"};return"m"===n?t?"хвилина":"хвилину":"h"===n?t?"година":"годину":e+" "+or(i[n],+e)}function lr(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 ur(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}var dr,cr;cr=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 hr=e.momentProperties=[],fr=!1,pr={};e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;var mr;mr=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var gr,_r={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},yr={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"},vr="Invalid date",br="%d",Mr=/\d{1,2}/,wr={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"},kr={},Lr={},xr=/(\[[^\[]*\])|(\\)?([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,Dr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Tr={},Yr={},Sr=/\d/,Cr=/\d\d/,Hr=/\d{3}/,Ar=/\d{4}/,jr=/[+-]?\d{6}/,Pr=/\d\d?/,Er=/\d\d\d\d?/,Ir=/\d\d\d\d\d\d?/,Fr=/\d{1,3}/,Wr=/\d{1,4}/,Or=/[+-]?\d{1,6}/,Rr=/\d+/,Nr=/[+-]?\d+/,zr=/Z|[+-]\d\d:?\d\d/gi,Br=/Z|[+-]\d\d(?::?\d\d)?/gi,$r=/[+-]?\d+(\.\d{1,3})?/,Vr=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,qr={},Ur={},Jr=0,Gr=1,Xr=2,Qr=3,Kr=4,Zr=5,ea=6,ta=7,na=8;gr=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},V("M",["MM",2],"Mo",function(){return this.month()+1}),V("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),V("MMMM",0,0,function(e){return this.localeData().months(this,e)}),P("month","M"),F("month",8),X("M",Pr),X("MM",Pr,Cr),X("MMM",function(e,t){return t.monthsShortRegex(e)}),X("MMMM",function(e,t){return t.monthsRegex(e)}),ee(["M","MM"],function(e,t){t[Gr]=v(e)-1}),ee(["MMM","MMMM"],function(e,t,n,i){var r=n._locale.monthsParse(e,i,n._strict);null!=r?t[Gr]=r:c(n).invalidMonth=e});var ia=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/,ra="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),aa="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),oa=Vr,sa=Vr;V("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),V(0,["YY",2],0,function(){return this.year()%100}),V(0,["YYYY",4],0,"year"),V(0,["YYYYY",5],0,"year"),V(0,["YYYYYY",6,!0],0,"year"),P("year","y"),F("year",1),X("Y",Nr),X("YY",Pr,Cr),X("YYYY",Wr,Ar),X("YYYYY",Or,jr),X("YYYYYY",Or,jr),ee(["YYYYY","YYYYYY"],Jr),ee("YYYY",function(t,n){n[Jr]=2===t.length?e.parseTwoDigitYear(t):v(t)}),ee("YY",function(t,n){n[Jr]=e.parseTwoDigitYear(t)}),ee("Y",function(e,t){t[Jr]=parseInt(e,10)}),e.parseTwoDigitYear=function(e){return v(e)+(v(e)>68?1900:2e3)};var la=O("FullYear",!0);V("w",["ww",2],"wo","week"),V("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),F("week",5),F("isoWeek",5),X("w",Pr),X("ww",Pr,Cr),X("W",Pr),X("WW",Pr,Cr),te(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=v(e)});var ua={dow:0,doy:6};V("d",0,"do","day"),V("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),V("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),V("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),V("e",0,0,"weekday"),V("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),F("day",11),F("weekday",11),F("isoWeekday",11),X("d",Pr),X("e",Pr),X("E",Pr),X("dd",function(e,t){return t.weekdaysMinRegex(e)}),X("ddd",function(e,t){return t.weekdaysShortRegex(e)}),X("dddd",function(e,t){return t.weekdaysRegex(e)}),te(["dd","ddd","dddd"],function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:c(n).invalidWeekday=e}),te(["d","e","E"],function(e,t,n,i){t[i]=v(e)});var da="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ca="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ha="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),fa=Vr,pa=Vr,ma=Vr;V("H",["HH",2],0,"hour"),V("h",["hh",2],0,ze),V("k",["kk",2],0,Be),V("hmm",0,0,function(){return""+ze.apply(this)+$(this.minutes(),2)}),V("hmmss",0,0,function(){return""+ze.apply(this)+$(this.minutes(),2)+$(this.seconds(),2)}),V("Hmm",0,0,function(){return""+this.hours()+$(this.minutes(),2)}),V("Hmmss",0,0,function(){return""+this.hours()+$(this.minutes(),2)+$(this.seconds(),2)}),$e("a",!0),$e("A",!1),P("hour","h"),F("hour",13),X("a",Ve),X("A",Ve),X("H",Pr),X("h",Pr),X("HH",Pr,Cr),X("hh",Pr,Cr),X("hmm",Er),X("hmmss",Ir),X("Hmm",Er),X("Hmmss",Ir),ee(["H","HH"],Qr),ee(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ee(["h","hh"],function(e,t,n){t[Qr]=v(e),c(n).bigHour=!0}),ee("hmm",function(e,t,n){var i=e.length-2;t[Qr]=v(e.substr(0,i)),t[Kr]=v(e.substr(i)),c(n).bigHour=!0}),ee("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[Qr]=v(e.substr(0,i)),t[Kr]=v(e.substr(i,2)),t[Zr]=v(e.substr(r)),c(n).bigHour=!0}),ee("Hmm",function(e,t,n){var i=e.length-2;t[Qr]=v(e.substr(0,i)),t[Kr]=v(e.substr(i))}),ee("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[Qr]=v(e.substr(0,i)),t[Kr]=v(e.substr(i,2)),t[Zr]=v(e.substr(r))});var ga,_a=/[ap]\.?m?\.?/i,ya=O("Hours",!0),va={calendar:_r,longDateFormat:yr,invalidDate:vr,ordinal:br,ordinalParse:Mr,relativeTime:wr,months:ra,monthsShort:aa,week:ua,weekdays:da,weekdaysMin:ha,weekdaysShort:ca,meridiemParse:_a},ba={},Ma=/^\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)?)?/,wa=/^\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)?)?/,ka=/Z|[+-]\d\d(?::?\d\d)?/,La=[["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}/]],xa=[["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/]],Da=/^\/?Date\((\-?\d+)/i;e.createFromInputFallback=w("moment construction falls back to js Date. This is discouraged and will be removed in 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 Ta=w("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=_t.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:f()}),Ya=w("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=_t.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:f()}),Sa=function(){return Date.now?Date.now():+new Date};kt("Z",":"),kt("ZZ",""),X("Z",Br),X("ZZ",Br),ee(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Lt(Br,e)});var Ca=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var Ha=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?$/,Aa=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Wt.fn=Mt.prototype;var ja=Bt(1,"add"),Pa=Bt(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ea=w("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)});V(0,["gg",2],0,function(){return this.weekYear()%100}),V(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Ln("gggg","weekYear"),Ln("ggggg","weekYear"),Ln("GGGG","isoWeekYear"),Ln("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),F("weekYear",1),F("isoWeekYear",1),X("G",Nr),X("g",Nr),X("GG",Pr,Cr),X("gg",Pr,Cr),X("GGGG",Wr,Ar),X("gggg",Wr,Ar),X("GGGGG",Or,jr),X("ggggg",Or,jr),te(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=v(e)}),te(["gg","GG"],function(t,n,i,r){n[r]=e.parseTwoDigitYear(t)}),V("Q",0,"Qo","quarter"),P("quarter","Q"),F("quarter",7),X("Q",Sr),ee("Q",function(e,t){t[Gr]=3*(v(e)-1)}),V("D",["DD",2],"Do","date"),P("date","D"),F("date",9),X("D",Pr),X("DD",Pr,Cr),X("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ee(["D","DD"],Xr),ee("Do",function(e,t){t[Xr]=v(e.match(Pr)[0],10)});var Ia=O("Date",!0);V("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),F("dayOfYear",4),X("DDD",Fr),X("DDDD",Hr),ee(["DDD","DDDD"],function(e,t,n){n._dayOfYear=v(e)}),V("m",["mm",2],0,"minute"),P("minute","m"),F("minute",14),X("m",Pr),X("mm",Pr,Cr),ee(["m","mm"],Kr);var Fa=O("Minutes",!1);V("s",["ss",2],0,"second"),P("second","s"),F("second",15),X("s",Pr),X("ss",Pr,Cr),ee(["s","ss"],Zr);var Wa=O("Seconds",!1);V("S",0,0,function(){return~~(this.millisecond()/100)}),V(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),V(0,["SSS",3],0,"millisecond"),V(0,["SSSS",4],0,function(){return 10*this.millisecond()}),V(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),V(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),V(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),V(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),V(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),P("millisecond","ms"),F("millisecond",16),X("S",Fr,Sr),X("SS",Fr,Cr),X("SSS",Fr,Hr);var Oa;for(Oa="SSSS";Oa.length<=9;Oa+="S")X(Oa,Rr);for(Oa="S";Oa.length<=9;Oa+="S")ee(Oa,jn);var Ra=O("Milliseconds",!1);V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var Na=g.prototype;Na.add=ja,Na.calendar=qt,Na.clone=Ut,Na.diff=en,Na.endOf=fn,Na.format=an,Na.from=on,Na.fromNow=sn,Na.to=ln,Na.toNow=un,Na.get=z,Na.invalidAt=wn,Na.isAfter=Jt,Na.isBefore=Gt,Na.isBetween=Xt,Na.isSame=Qt,Na.isSameOrAfter=Kt,Na.isSameOrBefore=Zt,Na.isValid=bn,Na.lang=Ea,Na.locale=dn,Na.localeData=cn,Na.max=Ya,Na.min=Ta,Na.parsingFlags=Mn,Na.set=B,Na.startOf=hn,Na.subtract=Pa,Na.toArray=_n,Na.toObject=yn,Na.toDate=gn,Na.toISOString=rn,Na.toJSON=vn,Na.toString=nn,Na.unix=mn,Na.valueOf=pn,Na.creationData=kn,Na.year=la,Na.isLeapYear=ge,Na.weekYear=xn,Na.isoWeekYear=Dn,Na.quarter=Na.quarters=Hn,Na.month=ue,Na.daysInMonth=de,Na.week=Na.weeks=De,Na.isoWeek=Na.isoWeeks=Te,Na.weeksInYear=Yn,Na.isoWeeksInYear=Tn,Na.date=Ia,Na.day=Na.days=Ee,Na.weekday=Ie,Na.isoWeekday=Fe,Na.dayOfYear=An,Na.hour=Na.hours=ya,Na.minute=Na.minutes=Fa,Na.second=Na.seconds=Wa,Na.millisecond=Na.milliseconds=Ra,Na.utcOffset=Tt,Na.utc=St,Na.local=Ct,Na.parseZone=Ht,Na.hasAlignedHourOffset=At,Na.isDST=jt,Na.isLocal=Et,Na.isUtcOffset=It,Na.isUtc=Ft,Na.isUTC=Ft,Na.zoneAbbr=Pn,Na.zoneName=En,Na.dates=w("dates accessor is deprecated. Use date instead.",Ia),Na.months=w("months accessor is deprecated. Use month instead",ue),Na.years=w("years accessor is deprecated. Use year instead",la),Na.zone=w("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Yt),Na.isDSTShifted=w("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Pt);var za=Na,Ba=T.prototype;Ba.calendar=Y,Ba.longDateFormat=S,Ba.invalidDate=C,Ba.ordinal=H,Ba.preparse=Wn,Ba.postformat=Wn,Ba.relativeTime=A,Ba.pastFuture=j,Ba.set=x,Ba.months=re,Ba.monthsShort=ae,Ba.monthsParse=se,Ba.monthsRegex=he,Ba.monthsShortRegex=ce,Ba.week=ke,Ba.firstDayOfYear=xe,Ba.firstDayOfWeek=Le,Ba.weekdays=Ce,Ba.weekdaysMin=Ae,Ba.weekdaysShort=He,Ba.weekdaysParse=Pe,Ba.weekdaysRegex=We,Ba.weekdaysShortRegex=Oe,Ba.weekdaysMinRegex=Re,Ba.isPM=qe,Ba.meridiem=Ue,Qe("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===v(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),e.lang=w("moment.lang is deprecated. Use moment.locale instead.",Qe),e.langData=w("moment.langData is deprecated. Use moment.localeData instead.",et);var $a=Math.abs,Va=ii("ms"),qa=ii("s"),Ua=ii("m"),Ja=ii("h"),Ga=ii("d"),Xa=ii("w"),Qa=ii("M"),Ka=ii("y"),Za=ai("milliseconds"),eo=ai("seconds"),to=ai("minutes"),no=ai("hours"),io=ai("days"),ro=ai("months"),ao=ai("years"),oo=Math.round,so={s:45,m:45,h:22,d:26,M:11},lo=Math.abs,uo=Mt.prototype;uo.abs=Un,uo.add=Gn,uo.subtract=Xn,uo.as=ti,uo.asMilliseconds=Va,uo.asSeconds=qa,uo.asMinutes=Ua,uo.asHours=Ja,uo.asDays=Ga,uo.asWeeks=Xa,uo.asMonths=Qa,uo.asYears=Ka,uo.valueOf=ni,uo._bubble=Kn,uo.get=ri,uo.milliseconds=Za,uo.seconds=eo,uo.minutes=to,uo.hours=no,uo.days=io,uo.weeks=oi,uo.months=ro,uo.years=ao,uo.humanize=ci,uo.toISOString=hi,uo.toString=hi,uo.toJSON=hi,uo.locale=dn,uo.localeData=cn,uo.toIsoString=w("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",hi),uo.lang=Ea,V("X",0,0,"unix"),V("x",0,0,"valueOf"),X("x",Nr),X("X",$r),ee("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ee("x",function(e,t,n){n._d=new Date(v(e))}),e.version="2.14.1",t(_t),e.fn=za,e.min=vt,e.max=bt,e.now=Sa,e.utc=u,e.unix=In,e.months=zn,e.isDate=a,e.locale=Qe,e.invalid=f,e.duration=Wt,e.isMoment=_,e.weekdays=$n,e.parseZone=Fn,e.localeData=et,e.isDuration=wt,e.monthsShort=Bn,e.weekdaysMin=qn,e.defineLocale=Ke,e.updateLocale=Ze,e.locales=tt,e.weekdaysShort=Vn,e.normalizeUnits=E,e.relativeTimeRounding=ui,e.relativeTimeThreshold=di,e.calendarFormat=Vt,e.prototype=za;var co=e,ho=(co.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}}),co.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}}),{1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"}),fo={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},po=(co.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 fo[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return ho[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}}),co.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}}),{1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"}),mo={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"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},_o={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},yo=function(e){return function(t,n,i,r){var a=go(t),o=_o[e][go(t)];return 2===a&&(o=o[n?0:1]),o.replace(/%d/i,t)}},vo=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أيار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتوبر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"],bo=(co.defineLocale("ar",{months:vo,monthsShort:vo,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:yo("s"),m:yo("m"),mm:yo("m"),h:yo("h"),hh:yo("h"),d:yo("d"),dd:yo("d"),M:yo("M"),MM:yo("M"),y:yo("y"),yy:yo("y")},preparse:function(e){return e.replace(/\u200f/g,"").replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return mo[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return po[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}}),{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ı"}),Mo=(co.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+(bo[t]||bo[n]||bo[i])},week:{dow:1,doy:7}}),co.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:pi,mm:pi,h:pi,hh:pi,d:"дзень",dd:pi,M:"месяц",MM:pi,y:"год",yy:pi},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}}),co.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}}),{1:"১",2:"২",3:"৩",4:"",5:"৫",6:"৬",7:"",8:"৮",9:"৯",0:""}),wo={"১":"1","২":"2","৩":"3","":"4","৫":"5","৬":"6","":"7","৮":"8","৯":"9","":"0"},ko=(co.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 wo[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Mo[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}}),{1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"}),Lo={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},xo=(co.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 Lo[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return ko[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}}),co.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:mi,h:"un eur",hh:"%d eur",d:"un devezh",dd:mi,M:"ur miz",MM:mi,y:"ur bloaz",yy:gi},ordinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){var t=1===e?"añ":"vet";return e+t},week:{dow:1,doy:4}}),co.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:bi,mm:bi,h:bi,hh:bi,d:"dan",dd:bi,M:"mjesec",MM:bi,y:"godinu",yy:bi},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),co.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:"en %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}}),"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_")),Do="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),To=(co.defineLocale("cs",{months:xo,monthsShort:Do,monthsParse:function(e,t){var n,i=[];for(n=0;n<12;n++)i[n]=new RegExp("^"+e[n]+"$|^"+t[n]+"$","i");return i}(xo,Do),shortMonthsParse:function(e){var t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","i");return n}(Do),longMonthsParse:function(e){var t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","i");return n}(xo),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:wi,m:wi,mm:wi,h:wi,hh:wi,d:wi,dd:wi,M:wi,MM:wi,y:wi,yy:wi},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),co.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}}),co.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}}),co.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}}),co.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:ki,mm:"%d Minuten",h:ki,hh:"%d Stunden",d:ki,dd:ki,M:ki,MM:ki,y:ki,yy:ki},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),co.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: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}}),["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"]),Yo=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],So=(co.defineLocale("dv",{months:To,monthsShort:To,weekdays:Yo,weekdaysShort:Yo,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}}),co.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}}),co.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}}),co.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}}),co.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}}),co.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}}),co.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}}),co.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}}),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_")),Co="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),Ho=(co.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)?Co[e.month()]:So[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}}),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_")),Ao="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),jo=(co.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,t){return/-MMM-/.test(t)?Ao[e.month()]:Ho[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}}),co.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:xi,m:xi,mm:xi,h:xi,hh:xi,d:xi,dd:"%d päeva",M:xi,MM:xi,y:xi,yy:xi},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),co.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}}),{1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"}),Po={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},Eo=(co.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 Po[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return jo[e]}).replace(/,/g,"،")},ordinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}}),"nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" ")),Io=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",Eo[7],Eo[8],Eo[9]],Fo=(co.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:Di,m:Di,mm:Di,h:Di,hh:Di,d:Di,dd:Di,M:Di,MM:Di,y:Di,yy:Di},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),co.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}}),co.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")}}),co.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}}),co.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}}),"jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_")),Wo="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),Oo=(co.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,t){return/-MMM-/.test(t)?Wo[e.month()]:Fo[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}}),["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"]),Ro=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],No=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],zo=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],Bo=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],$o=(co.defineLocale("gd",{months:Oo,monthsShort:Ro,monthsParseExact:!0,weekdays:No,weekdaysShort:zo,weekdaysMin:Bo,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}}),co.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 MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd D MMMM 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"uns segundos"===e?"nuns segundos":"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:7}}),co.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?'אחה"צ':"אחרי הצהריים":"בערב"}}),{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:""}),Vo={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","":"0"},qo=(co.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 Vo[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return $o[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}}),co.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:Yi,mm:Yi,h:Yi,hh:Yi,d:"dan",dd:Yi,M:"mjesec",MM:Yi,y:"godinu",yy:Yi},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),"vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ")),Uo=(co.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 Ci.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return Ci.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:Si,m:Si,mm:Si,h:Si,hh:Si,d:Si,dd:Si,M:Si,MM:Si,y:Si,yy:Si},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),co.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}}),co.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}}),co.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:Ai,m:Ai,mm:Ai,h:"klukkustund",hh:Ai,d:Ai,dd:Ai,M:Ai,MM:Ai,y:Ai,yy:Ai},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),co.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}}),co.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年"}}),co.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}}),co.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}}),{0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"}),Jo=(co.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+(Uo[e]||Uo[t]||Uo[n])},week:{dow:1,doy:7}}),co.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}}),co.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?"오전":"오후"}}),{0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"}),Go=(co.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+(Jo[e]||Jo[t]||Jo[n])},week:{dow:1,doy:7}}),co.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:Pi,past:Ei,s:"e puer Sekonnen",m:ji,mm:"%d Minutten",h:ji,hh:"%d Stonnen",d:ji,dd:"%d Deeg",M:ji,MM:"%d Méint",y:ji,yy:"%d Joer"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),co.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}}),{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"}),Xo=(co.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:Wi,mm:Ni,h:Wi,hh:Ni,d:Wi,dd:Ni,M:Wi,MM:Ni,y:Wi,yy:Ni},ordinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}}),{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("_")}),Qo=(co.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:Vi,m:$i,mm:Bi,h:$i,hh:Bi,d:$i,dd:Bi,M:$i,MM:Bi,y:$i,yy:Bi},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),{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=Qo.words[n];return 1===n.length?t?i[0]:i[1]:e+" "+Qo.correctGrammaticalCase(e,i)}}),Ko=(co.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:Qo.translate,mm:Qo.translate,h:Qo.translate,hh:Qo.translate,d:"dan",dd:Qo.translate,M:"mjesec",MM:Qo.translate,y:"godinu",yy:Qo.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),co.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}}),co.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?"വൈകുന്നേരം":"രാത്രി"}}),{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:""}),Zo={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","":"0"},es=(co.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:qi,m:qi,mm:qi,h:qi,hh:qi,d:qi,dd:qi,M:qi,MM:qi,y:qi,yy:qi},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return Zo[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Ko[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}}),co.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}}),co.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}}),{1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:""}),ts={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","":"0"},ns=(co.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 ts[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return es[e]})},week:{dow:1,doy:4}}),co.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}}),{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:""}),is={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","":"0"},rs=(co.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 is[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return ns[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}}),"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_")),as="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),os=(co.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,t){return/-MMM-/.test(t)?as[e.month()]:rs[e.month()]},monthsParseExact:!0,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}}),co.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}}),{1:"",2:"੨",3:"੩",4:"",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:""}),ss={"":"1","੨":"2","੩":"3","":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","":"0"},ls=(co.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 ss[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return os[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}}),"styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_")),us="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),ds=(co.defineLocale("pl",{months:function(e,t){return""===t?"("+us[e.month()]+"|"+ls[e.month()]+")":/D MMMM/.test(t)?us[e.month()]:ls[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:"nie_pon_wt_śr_czw_pt_sb".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:Ji,mm:Ji,h:Ji,hh:Ji,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:Ji,y:"rok",yy:Ji},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),co.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º"}),co.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}}),co.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:Gi,h:"o oră",hh:Gi,d:"o zi",dd:Gi,M:"o lună",MM:Gi,y:"un an",yy:Gi},week:{dow:1,doy:7}}),[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i]),cs=(co.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:оскресенье_понедельник_вторник_средаетверг_пятница_суббота".split("_"),format:оскресенье_понедельник_вторник_средуетверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:с_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:с_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:ds,longMonthsParse:ds,shortMonthsParse:ds,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}}),co.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}}),co.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?"පෙ.ව.":"පෙර වරු"}}),"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_")),hs="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),fs=(co.defineLocale("sk",{months:cs,monthsShort:hs,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:Zi,m:Zi,mm:Zi,h:Zi,hh:Zi,d:Zi,dd:Zi,M:Zi,MM:Zi,y:Zi,yy:Zi},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),co.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:er,m:er,mm:er,h:er,hh:er,d:er,dd:er,M:er,MM:er,y:er,yy:er},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),co.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}}),{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=fs.words[n];return 1===n.length?t?i[0]:i[1]:e+" "+fs.correctGrammaticalCase(e,i)}}),ps=(co.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:fs.translate,mm:fs.translate,h:fs.translate,hh:fs.translate,d:"дан",dd:fs.translate,M:"месец",MM:fs.translate,y:"годину",yy:fs.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),{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=ps.words[n];return 1===n.length?t?i[0]:i[1]:e+" "+ps.correctGrammaticalCase(e,i)}}),ms=(co.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:ps.translate,mm:ps.translate,h:ps.translate,hh:ps.translate,d:"dan",dd:ps.translate,M:"mesec",MM:ps.translate,y:"godinu",yy:ps.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),co.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}}),co.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}}),co.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}}),{1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:""}),gs={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","":"0"},_s=(co.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 gs[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return ms[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}}),co.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}}),co.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H นาฬิกา m นาที",LTS:"H นาฬิกา m นาที s วินาที",L:"YYYY/MM/DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H นาฬิกา m นาที",LLLL:"วันddddที่ D MMMM YYYY เวลา H นาฬิกา m นาที"},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 ปี"}}),co.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:"[Ngayon sa] LT",nextDay:"[Bukas sa] LT",nextWeek:"dddd [sa] LT",lastDay:"[Kahapon sa] LT",lastWeek:"dddd [huling linggo] LT",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}}),"pagh_wa_cha_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_")),ys=(co.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:tr,past:nr,s:"puS lup",m:"wa tup",mm:ir,h:"wa rep",hh:ir,d:"wa jaj",dd:ir,M:"wa jar",MM:ir,y:"wa DIS",yy:ir},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),{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ı"}),vs=(co.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+(ys[t]||ys[n]||ys[i])},week:{dow:1,doy:7}}),co.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:ar,m:ar,mm:ar,h:ar,hh:ar,d:ar,dd:ar,M:ar,MM:ar,y:ar,yy:ar},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),co.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}}),co.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}}),co.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_веровт_лист_груд".split("_"),weekdays:lr,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:ur("[Сьогодні "),nextDay:ur("[Завтра "),lastDay:ur("[Вчора "),nextWeek:ur("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return ur("[Минулої] dddd [").call(this);case 1:case 2:case 4:return ur("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:sr,mm:sr,h:"годину",hh:sr,d:"день",dd:sr,M:"місяць",MM:sr,y:"рік",yy:sr},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}}),co.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}}),co.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}}),co.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}}),co.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 e,t;return e=co().startOf("week"),t=this.diff(e,"days")>=7?"[下]":"[本]",0===this.minutes()?t+"dddAh点整":t+"dddAh点mm"},lastWeek:function(){var e,t;return e=co().startOf("week"),t=this.unix()<e.unix()?"[上]":"[本]",0===this.minutes()?t+"dddAh点整":t+"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}}),co.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 年"}}),co);return vs.locale("en"),vs}),function(e,t){"use strict";if("function"==typeof define&&define.amd)define(["jquery","moment"],t);else if("object"==typeof exports)t(require("jquery"),require("moment"));else{if(!jQuery)throw new Error("bootstrap-datetimepicker requires jQuery to be loaded first");if(!moment)throw new Error("bootstrap-datetimepicker requires moment.js to be loaded first");t(e.jQuery,moment)}}(this,function(e,t){"use strict";if("undefined"==typeof t)throw new Error("momentjs is required");var n=0,i=function(i,r){var a,o=e.fn.datetimepicker.defaults,s={time:"glyphicon glyphicon-time",date:"glyphicon glyphicon-calendar",up:"glyphicon glyphicon-chevron-up",down:"glyphicon glyphicon-chevron-down"},l=this,u=!1,d=function(){var a,u,d=!1;if(l.options=e.extend({},o,r),l.options.icons=e.extend({},s,l.options.icons),l.element=e(i),h(),!l.options.pickTime&&!l.options.pickDate)throw new Error("Must choose at least one picker");if(l.id=n++,t.locale(l.options.language),l.date=t(),l.unset=!1,l.isInput=l.element.is("input"),l.component=!1,l.element.hasClass("input-group")&&(0===l.element.find(".datepickerbutton").size()?l.component=l.element.find('[class^="input-group-"]'):l.component=l.element.find(".datepickerbutton")),l.format=l.options.format,a=t().localeData(),l.format||(l.format=l.options.pickDate?a.longDateFormat("L"):"",l.options.pickDate&&l.options.pickTime&&(l.format+=" "),l.format+=l.options.pickTime?a.longDateFormat("LT"):"",l.options.useSeconds&&(a.longDateFormat("LT").indexOf(" A")!==-1?l.format=l.format.split(" A")[0]+":ss A":l.format+=":ss")),l.use24hours=l.format.toLowerCase().indexOf("a")<0&&l.format.indexOf("h")<0,l.component&&(d=l.component.find("span")),l.options.pickTime&&d&&d.addClass(l.options.icons.time),l.options.pickDate&&d&&(d.removeClass(l.options.icons.time),d.addClass(l.options.icons.date)),l.options.widgetParent="string"==typeof l.options.widgetParent&&l.options.widgetParent||l.element.parents().filter(function(){return"scroll"===e(this).css("overflow-y")}).get(0)||"body",l.widget=e(z()).appendTo(l.options.widgetParent),l.minViewMode=l.options.minViewMode||0,"string"==typeof l.minViewMode)switch(l.minViewMode){case"months":l.minViewMode=1;break;case"years":l.minViewMode=2;break;default:l.minViewMode=0}if(l.viewMode=l.options.viewMode||0,"string"==typeof l.viewMode)switch(l.viewMode){case"months":l.viewMode=1;break;case"years":l.viewMode=2;break;default:l.viewMode=0}l.viewMode=Math.max(l.viewMode,l.minViewMode),l.options.disabledDates=R(l.options.disabledDates),l.options.enabledDates=R(l.options.enabledDates),l.startViewMode=l.viewMode,l.setMinDate(l.options.minDate),l.setMaxDate(l.options.maxDate),_(),y(),b(),M(),w(),g(),C(),c().prop("disabled")||H(),""!==l.options.defaultDate&&""===c().val()&&l.setValue(l.options.defaultDate),1!==l.options.minuteStepping&&(u=l.options.minuteStepping,l.date.minutes(Math.round(l.date.minutes()/u)*u%60).seconds(0))},c=function(){var e;if(l.isInput)return l.element;if(e=l.element.find(".datepickerinput"),0===e.size())e=l.element.find("input");else if(!e.is("input"))throw new Error('CSS class "datepickerinput" cannot be applied to non input element');return e},h=function(){var e;e=l.element.is("input")?l.element.data():l.element.find("input").data(),void 0!==e.dateFormat&&(l.options.format=e.dateFormat),void 0!==e.datePickdate&&(l.options.pickDate=e.datePickdate),void 0!==e.datePicktime&&(l.options.pickTime=e.datePicktime),void 0!==e.dateUseminutes&&(l.options.useMinutes=e.dateUseminutes),void 0!==e.dateUseseconds&&(l.options.useSeconds=e.dateUseseconds),void 0!==e.dateUsecurrent&&(l.options.useCurrent=e.dateUsecurrent),void 0!==e.calendarWeeks&&(l.options.calendarWeeks=e.calendarWeeks),void 0!==e.dateMinutestepping&&(l.options.minuteStepping=e.dateMinutestepping),void 0!==e.dateMindate&&(l.options.minDate=e.dateMindate),void 0!==e.dateMaxdate&&(l.options.maxDate=e.dateMaxdate),void 0!==e.dateShowtoday&&(l.options.showToday=e.dateShowtoday),void 0!==e.dateCollapse&&(l.options.collapse=e.dateCollapse),void 0!==e.dateLanguage&&(l.options.language=e.dateLanguage),void 0!==e.dateDefaultdate&&(l.options.defaultDate=e.dateDefaultdate),void 0!==e.dateDisableddates&&(l.options.disabledDates=e.dateDisableddates),void 0!==e.dateEnableddates&&(l.options.enabledDates=e.dateEnableddates),void 0!==e.dateIcons&&(l.options.icons=e.dateIcons),void 0!==e.dateUsestrict&&(l.options.useStrict=e.dateUsestrict),void 0!==e.dateDirection&&(l.options.direction=e.dateDirection),void 0!==e.dateSidebyside&&(l.options.sideBySide=e.dateSidebyside),void 0!==e.dateDaysofweekdisabled&&(l.options.daysOfWeekDisabled=e.dateDaysofweekdisabled)},f=function(){var t,n="absolute",i=l.component?l.component.offset():l.element.offset(),r=e(window);l.width=l.component?l.component.outerWidth():l.element.outerWidth(),i.top=i.top+l.element.outerHeight(),"up"===l.options.direction?t="top":"bottom"===l.options.direction?t="bottom":"auto"===l.options.direction&&(t=i.top+l.widget.height()>r.height()+r.scrollTop()&&l.widget.height()+l.element.outerHeight()<i.top?"top":"bottom"),"top"===t?(i.bottom=r.height()-i.top+l.element.outerHeight()+3,l.widget.addClass("top").removeClass("bottom")):(i.top+=1,l.widget.addClass("bottom").removeClass("top")),void 0!==l.options.width&&l.widget.width(l.options.width),"left"===l.options.orientation&&(l.widget.addClass("left-oriented"),i.left=i.left-l.widget.width()+20),E()&&(n="fixed",i.top-=r.scrollTop(),i.left-=r.scrollLeft()),r.width()<i.left+l.widget.outerWidth()?(i.right=r.width()-i.left-l.width,i.left="auto",l.widget.addClass("pull-right")):(i.right="auto",l.widget.removeClass("pull-right")),"top"===t?l.widget.css({position:n,bottom:i.bottom,top:"auto",left:i.left,right:i.right}):l.widget.css({position:n,top:i.top,bottom:"auto",left:i.left,right:i.right})},p=function(e,n){t(l.date).isSame(t(e))&&!u||(u=!1,l.element.trigger({type:"dp.change",date:t(l.date),oldDate:t(e)}),"change"!==n&&l.element.change())},m=function(e){u=!0,l.element.trigger({type:"dp.error",date:t(e,l.format,l.options.useStrict)})},g=function(e){t.locale(l.options.language);var n=e;n||(n=c().val(),n&&(l.date=t(n,l.format,l.options.useStrict)),l.date||(l.date=t())),l.viewDate=t(l.date).startOf("month"),v(),k()},_=function(){t.locale(l.options.language);var n,i=e("<tr>"),r=t.weekdaysMin();if(l.options.calendarWeeks===!0&&i.append('<th class="cw">#</th>'),0===t().localeData()._week.dow)for(n=0;n<7;n++)i.append('<th class="dow">'+r[n]+"</th>");else for(n=1;n<8;n++)7===n?i.append('<th class="dow">'+r[0]+"</th>"):i.append('<th class="dow">'+r[n]+"</th>");l.widget.find(".datepicker-days thead").append(i)},y=function(){t.locale(l.options.language);var e,n="",i=t.monthsShort();for(e=0;e<12;e++)n+='<span class="month">'+i[e]+"</span>";l.widget.find(".datepicker-months td").append(n)},v=function(){if(l.options.pickDate){t.locale(l.options.language);var n,i,r,a,o,s,u,d,c,h=l.viewDate.year(),f=l.viewDate.month(),p=l.options.minDate.year(),m=l.options.minDate.month(),g=l.options.maxDate.year(),_=l.options.maxDate.month(),y=[],v=t.months();for(l.widget.find(".datepicker-days").find(".disabled").removeClass("disabled"),l.widget.find(".datepicker-months").find(".disabled").removeClass("disabled"),l.widget.find(".datepicker-years").find(".disabled").removeClass("disabled"),l.widget.find(".datepicker-days th:eq(1)").text(v[f]+" "+h),i=t(l.viewDate,l.format,l.options.useStrict).subtract(1,"months"),u=i.daysInMonth(),i.date(u).startOf("week"),(h===p&&f<=m||h<p)&&l.widget.find(".datepicker-days th:eq(0)").addClass("disabled"),(h===g&&f>=_||h>g)&&l.widget.find(".datepicker-days th:eq(2)").addClass("disabled"),r=t(i).add(42,"d");i.isBefore(r);){if(i.weekday()===t().startOf("week").weekday()&&(a=e("<tr>"),y.push(a),l.options.calendarWeeks===!0&&a.append('<td class="cw">'+i.week()+"</td>")),o="",i.year()<h||i.year()===h&&i.month()<f?o+=" old":(i.year()>h||i.year()===h&&i.month()>f)&&(o+=" new"),i.isSame(t({y:l.date.year(),M:l.date.month(),d:l.date.date()}))&&(o+=" active"),!W(i,"day")&&O(i)||(o+=" disabled"),l.options.showToday===!0&&i.isSame(t(),"day")&&(o+=" today"),l.options.daysOfWeekDisabled)for(s=0;s<l.options.daysOfWeekDisabled.length;s++)if(i.day()===l.options.daysOfWeekDisabled[s]){o+=" disabled";break}a.append('<td class="day'+o+'">'+i.date()+"</td>"),n=i.date(),i.add(1,"d"),n===i.date()&&i.add(1,"d")}for(l.widget.find(".datepicker-days tbody").empty().append(y),c=l.date.year(),v=l.widget.find(".datepicker-months").find("th:eq(1)").text(h).end().find("span").removeClass("active"),c===h&&v.eq(l.date.month()).addClass("active"),h-1<p&&l.widget.find(".datepicker-months th:eq(0)").addClass("disabled"),h+1>g&&l.widget.find(".datepicker-months th:eq(2)").addClass("disabled"),s=0;s<12;s++)h===p&&m>s||h<p?e(v[s]).addClass("disabled"):(h===g&&_<s||h>g)&&e(v[s]).addClass("disabled");for(y="",h=10*parseInt(h/10,10),d=l.widget.find(".datepicker-years").find("th:eq(1)").text(h+"-"+(h+9)).parents("table").find("td"),l.widget.find(".datepicker-years").find("th").removeClass("disabled"),p>h&&l.widget.find(".datepicker-years").find("th:eq(0)").addClass("disabled"),g<h+9&&l.widget.find(".datepicker-years").find("th:eq(2)").addClass("disabled"),h-=1,s=-1;s<11;s++)y+='<span class="year'+(s===-1||10===s?" old":"")+(c===h?" active":"")+(h<p||h>g?" disabled":"")+'">'+h+"</span>",h+=1;d.html(y)}},b=function(){t.locale(l.options.language);var e,n,i,r=l.widget.find(".timepicker .timepicker-hours table"),a="";if(r.parent().hide(),l.use24hours)for(e=0,n=0;n<6;n+=1){for(a+="<tr>",i=0;i<4;i+=1)a+='<td class="hour">'+N(e.toString())+"</td>",e++;a+="</tr>"}else for(e=1,n=0;n<3;n+=1){for(a+="<tr>",i=0;i<4;i+=1)a+='<td class="hour">'+N(e.toString())+"</td>",e++;a+="</tr>"}r.html(a)},M=function(){var e,t,n=l.widget.find(".timepicker .timepicker-minutes table"),i="",r=0,a=l.options.minuteStepping;for(n.parent().hide(),1===a&&(a=5),e=0;e<Math.ceil(60/a/4);e++){for(i+="<tr>",t=0;t<4;t+=1)r<60?(i+='<td class="minute">'+N(r.toString())+"</td>",r+=a):i+="<td></td>";i+="</tr>"}n.html(i)},w=function(){var e,t,n=l.widget.find(".timepicker .timepicker-seconds table"),i="",r=0;for(n.parent().hide(),e=0;e<3;e++){for(i+="<tr>",t=0;t<4;t+=1)i+='<td class="second">'+N(r.toString())+"</td>",r+=5;i+="</tr>"}n.html(i)},k=function(){if(l.date){var e=l.widget.find(".timepicker span[data-time-component]"),t=l.date.hours(),n=l.date.format("A");l.use24hours||(0===t?t=12:12!==t&&(t%=12),l.widget.find(".timepicker [data-action=togglePeriod]").text(n)),e.filter("[data-time-component=hours]").text(N(t)),e.filter("[data-time-component=minutes]").text(N(l.date.minutes())),e.filter("[data-time-component=seconds]").text(N(l.date.second()))}},L=function(n){n.stopPropagation(),n.preventDefault(),l.unset=!1;var i,r,a,o,s=e(n.target).closest("span, td, th"),u=t(l.date);if(1===s.length&&!s.is(".disabled"))switch(s[0].nodeName.toLowerCase()){case"th":switch(s[0].className){case"picker-switch":C(1);break;case"prev":case"next":a=B.modes[l.viewMode].navStep,"prev"===s[0].className&&(a*=-1),l.viewDate.add(a,B.modes[l.viewMode].navFnc),v()}break;case"span":s.is(".month")?(i=s.parent().find("span").index(s),l.viewDate.month(i)):(r=parseInt(s.text(),10)||0,l.viewDate.year(r)),l.viewMode===l.minViewMode&&(l.date=t({y:l.viewDate.year(),M:l.viewDate.month(),d:l.viewDate.date(),h:l.date.hours(),m:l.date.minutes(),s:l.date.seconds()}),I(),p(u,n.type)),C(-1),v();break;case"td":s.is(".day")&&(o=parseInt(s.text(),10)||1,i=l.viewDate.month(),r=l.viewDate.year(),s.is(".old")?0===i?(i=11,r-=1):i-=1:s.is(".new")&&(11===i?(i=0,r+=1):i+=1),l.date=t({y:r,M:i,d:o,h:l.date.hours(),m:l.date.minutes(),s:l.date.seconds()}),l.viewDate=t({y:r,M:i,d:Math.min(28,o)}),v(),I(),p(u,n.type))}},x={incrementHours:function(){F("add","hours",1)},incrementMinutes:function(){F("add","minutes",l.options.minuteStepping)},incrementSeconds:function(){F("add","seconds",1)},decrementHours:function(){F("subtract","hours",1)},decrementMinutes:function(){F("subtract","minutes",l.options.minuteStepping)},decrementSeconds:function(){F("subtract","seconds",1)},togglePeriod:function(){var e=l.date.hours();e>=12?e-=12:e+=12,l.date.hours(e)},showPicker:function(){l.widget.find(".timepicker > div:not(.timepicker-picker)").hide(),l.widget.find(".timepicker .timepicker-picker").show()},showHours:function(){l.widget.find(".timepicker .timepicker-picker").hide(),l.widget.find(".timepicker .timepicker-hours").show()},showMinutes:function(){l.widget.find(".timepicker .timepicker-picker").hide(),l.widget.find(".timepicker .timepicker-minutes").show()},showSeconds:function(){l.widget.find(".timepicker .timepicker-picker").hide(),l.widget.find(".timepicker .timepicker-seconds").show()},selectHour:function(t){var n=parseInt(e(t.target).text(),10);l.use24hours||(l.date.hours()>=12?12!==n&&(n+=12):12===n&&(n=0)),l.date.hours(n),x.showPicker.call(l)},selectMinute:function(t){l.date.minutes(parseInt(e(t.target).text(),10)),x.showPicker.call(l)},selectSecond:function(t){l.date.seconds(parseInt(e(t.target).text(),10)),x.showPicker.call(l)}},D=function(n){var i=t(l.date),r=e(n.currentTarget).data("action"),a=x[r].apply(l,arguments);return T(n),l.date||(l.date=t({y:1970})),I(),k(),p(i,n.type),a},T=function(e){e.stopPropagation(),e.preventDefault()},Y=function(e){27===e.keyCode&&l.hide()},S=function(n){t.locale(l.options.language);var i=e(n.target),r=t(l.date),a=t(i.val(),l.format,l.options.useStrict);a.isValid()&&!W(a)&&O(a)?(g(),l.setValue(a),p(r,n.type),I()):(l.viewDate=r,l.unset=!0,p(r,n.type),m(a))},C=function(e){e&&(l.viewMode=Math.max(l.minViewMode,Math.min(2,l.viewMode+e))),l.widget.find(".datepicker > div").hide().filter(".datepicker-"+B.modes[l.viewMode].clsName).show()},H=function(){var t,n,i,r,a;l.widget.on("click",".datepicker *",e.proxy(L,this)),l.widget.on("click","[data-action]",e.proxy(D,this)),l.widget.on("mousedown",e.proxy(T,this)),l.element.on("keydown",e.proxy(Y,this)),l.options.pickDate&&l.options.pickTime&&l.widget.on("click.togglePicker",".accordion-toggle",function(o){if(o.stopPropagation(),t=e(this),n=t.closest("ul"),i=n.find(".in"),r=n.find(".collapse:not(.in)"),i&&i.length){if(a=i.data("collapse"),a&&a.transitioning)return;i.collapse("hide"),r.collapse("show"),t.find("span").toggleClass(l.options.icons.time+" "+l.options.icons.date),l.component&&l.component.find("span").toggleClass(l.options.icons.time+" "+l.options.icons.date)}}),l.isInput?l.element.on({click:e.proxy(l.show,this),focus:e.proxy(l.show,this),change:e.proxy(S,this),blur:e.proxy(l.hide,this)}):(l.element.on({change:e.proxy(S,this)
},"input"),l.component?(l.component.on("click",e.proxy(l.show,this)),l.component.on("mousedown",e.proxy(T,this))):l.element.on("click",e.proxy(l.show,this)))},A=function(){e(window).on("resize.datetimepicker"+l.id,e.proxy(f,this)),l.isInput||e(document).on("mousedown.datetimepicker"+l.id,e.proxy(l.hide,this))},j=function(){l.widget.off("click",".datepicker *",l.click),l.widget.off("click","[data-action]"),l.widget.off("mousedown",l.stopEvent),l.options.pickDate&&l.options.pickTime&&l.widget.off("click.togglePicker"),l.isInput?l.element.off({focus:l.show,change:S,click:l.show,blur:l.hide}):(l.element.off({change:S},"input"),l.component?(l.component.off("click",l.show),l.component.off("mousedown",l.stopEvent)):l.element.off("click",l.show))},P=function(){e(window).off("resize.datetimepicker"+l.id),l.isInput||e(document).off("mousedown.datetimepicker"+l.id)},E=function(){if(l.element){var t,n=l.element.parents(),i=!1;for(t=0;t<n.length;t++)if("fixed"===e(n[t]).css("position")){i=!0;break}return i}return!1},I=function(){t.locale(l.options.language);var e="";l.unset||(e=t(l.date).format(l.format)),c().val(e),l.element.data("date",e),l.options.pickTime||l.hide()},F=function(e,n,i){t.locale(l.options.language);var r;return"add"===e?(r=t(l.date),23===r.hours()&&r.add(i,n),r.add(i,n)):r=t(l.date).subtract(i,n),W(t(r.subtract(i,n)))||W(r)?void m(r.format(l.format)):("add"===e?l.date.add(i,n):l.date.subtract(i,n),void(l.unset=!1))},W=function(e,n){t.locale(l.options.language);var i=t(l.options.maxDate,l.format,l.options.useStrict),r=t(l.options.minDate,l.format,l.options.useStrict);return n&&(i=i.endOf(n),r=r.startOf(n)),!(!e.isAfter(i)&&!e.isBefore(r))||l.options.disabledDates!==!1&&l.options.disabledDates[e.format("YYYY-MM-DD")]===!0},O=function(e){return t.locale(l.options.language),l.options.enabledDates===!1||l.options.enabledDates[e.format("YYYY-MM-DD")]===!0},R=function(e){var n,i={},r=0;for(n=0;n<e.length;n++)a=t.isMoment(e[n])||e[n]instanceof Date?t(e[n]):t(e[n],l.format,l.options.useStrict),a.isValid()&&(i[a.format("YYYY-MM-DD")]=!0,r++);return r>0&&i},N=function(e){return e=e.toString(),e.length>=2?e:"0"+e},z=function(){var e='<thead><tr><th class="prev">&lsaquo;</th><th colspan="'+(l.options.calendarWeeks?"6":"5")+'" class="picker-switch"></th><th class="next">&rsaquo;</th></tr></thead>',t='<tbody><tr><td colspan="'+(l.options.calendarWeeks?"8":"7")+'"></td></tr></tbody>',n='<div class="datepicker-days"><table class="table-condensed">'+e+'<tbody></tbody></table></div><div class="datepicker-months"><table class="table-condensed">'+e+t+'</table></div><div class="datepicker-years"><table class="table-condensed">'+e+t+"</table></div>",i="";return l.options.pickDate&&l.options.pickTime?(i='<div class="bootstrap-datetimepicker-widget'+(l.options.sideBySide?" timepicker-sbs":"")+(l.use24hours?" usetwentyfour":"")+' dropdown-menu" style="z-index:9999 !important;">',i+=l.options.sideBySide?'<div class="row"><div class="col-sm-6 datepicker">'+n+'</div><div class="col-sm-6 timepicker">'+$.getTemplate()+"</div></div>":'<ul class="list-unstyled"><li'+(l.options.collapse?' class="collapse in"':"")+'><div class="datepicker">'+n+'</div></li><li class="picker-switch accordion-toggle"><a class="btn" style="width:100%"><span class="'+l.options.icons.time+'"></span></a></li><li'+(l.options.collapse?' class="collapse"':"")+'><div class="timepicker">'+$.getTemplate()+"</div></li></ul>",i+="</div>"):l.options.pickTime?'<div class="bootstrap-datetimepicker-widget dropdown-menu"><div class="timepicker">'+$.getTemplate()+"</div></div>":'<div class="bootstrap-datetimepicker-widget dropdown-menu"><div class="datepicker">'+n+"</div></div>"},B={modes:[{clsName:"days",navFnc:"month",navStep:1},{clsName:"months",navFnc:"year",navStep:1},{clsName:"years",navFnc:"year",navStep:10}]},$={hourTemplate:'<span data-action="showHours" data-time-component="hours" class="timepicker-hour"></span>',minuteTemplate:'<span data-action="showMinutes" data-time-component="minutes" class="timepicker-minute"></span>',secondTemplate:'<span data-action="showSeconds" data-time-component="seconds" class="timepicker-second"></span>'};$.getTemplate=function(){return'<div class="timepicker-picker"><table class="table-condensed"><tr><td><a href="#" class="btn" data-action="incrementHours"><span class="'+l.options.icons.up+'"></span></a></td><td class="separator"></td><td>'+(l.options.useMinutes?'<a href="#" class="btn" data-action="incrementMinutes"><span class="'+l.options.icons.up+'"></span></a>':"")+"</td>"+(l.options.useSeconds?'<td class="separator"></td><td><a href="#" class="btn" data-action="incrementSeconds"><span class="'+l.options.icons.up+'"></span></a></td>':"")+(l.use24hours?"":'<td class="separator"></td>')+"</tr><tr><td>"+$.hourTemplate+'</td> <td class="separator">:</td><td>'+(l.options.useMinutes?$.minuteTemplate:'<span class="timepicker-minute">00</span>')+"</td> "+(l.options.useSeconds?'<td class="separator">:</td><td>'+$.secondTemplate+"</td>":"")+(l.use24hours?"":'<td class="separator"></td><td><button type="button" class="btn btn-primary" data-action="togglePeriod"></button></td>')+'</tr><tr><td><a href="#" class="btn" data-action="decrementHours"><span class="'+l.options.icons.down+'"></span></a></td><td class="separator"></td><td>'+(l.options.useMinutes?'<a href="#" class="btn" data-action="decrementMinutes"><span class="'+l.options.icons.down+'"></span></a>':"")+"</td>"+(l.options.useSeconds?'<td class="separator"></td><td><a href="#" class="btn" data-action="decrementSeconds"><span class="'+l.options.icons.down+'"></span></a></td>':"")+(l.use24hours?"":'<td class="separator"></td>')+'</tr></table></div><div class="timepicker-hours" data-action="selectHour"><table class="table-condensed"></table></div><div class="timepicker-minutes" data-action="selectMinute"><table class="table-condensed"></table></div>'+(l.options.useSeconds?'<div class="timepicker-seconds" data-action="selectSecond"><table class="table-condensed"></table></div>':"")},l.destroy=function(){j(),P(),l.widget.remove(),l.element.removeData("DateTimePicker"),l.component&&l.component.removeData("DateTimePicker")},l.show=function(e){if(!c().prop("disabled")){if(l.options.useCurrent&&""===c().val()){if(1!==l.options.minuteStepping){var n=t(),i=l.options.minuteStepping;n.minutes(Math.round(n.minutes()/i)*i%60).seconds(0),l.setValue(n.format(l.format))}else l.setValue(t().format(l.format));p("",e.type)}e&&"click"===e.type&&l.isInput&&l.widget.hasClass("picker-open")||(l.widget.hasClass("picker-open")?(l.widget.hide(),l.widget.removeClass("picker-open")):(l.widget.show(),l.widget.addClass("picker-open")),l.height=l.component?l.component.outerHeight():l.element.outerHeight(),f(),l.element.trigger({type:"dp.show",date:t(l.date)}),A(),e&&T(e))}},l.disable=function(){var e=c();e.prop("disabled")||(e.prop("disabled",!0),j())},l.enable=function(){var e=c();e.prop("disabled")&&(e.prop("disabled",!1),H())},l.hide=function(){var e,n,i=l.widget.find(".collapse");for(e=0;e<i.length;e++)if(n=i.eq(e).data("collapse"),n&&n.transitioning)return;l.widget.hide(),l.widget.removeClass("picker-open"),l.viewMode=l.startViewMode,C(),l.element.trigger({type:"dp.hide",date:t(l.date)}),P()},l.setValue=function(e){t.locale(l.options.language),e?l.unset=!1:(l.unset=!0,I()),e=t.isMoment(e)?e.locale(l.options.language):e instanceof Date?t(e):t(e,l.format,l.options.useStrict),e.isValid()?(l.date=e,I(),l.viewDate=t({y:l.date.year(),M:l.date.month()}),v(),k()):m(e)},l.getDate=function(){return l.unset?null:t(l.date)},l.setDate=function(e){var n=t(l.date);e?l.setValue(e):l.setValue(null),p(n,"function")},l.setDisabledDates=function(e){l.options.disabledDates=R(e),l.viewDate&&g()},l.setEnabledDates=function(e){l.options.enabledDates=R(e),l.viewDate&&g()},l.setMaxDate=function(e){void 0!==e&&(t.isMoment(e)||e instanceof Date?l.options.maxDate=t(e):l.options.maxDate=t(e,l.format,l.options.useStrict),l.viewDate&&g())},l.setMinDate=function(e){void 0!==e&&(t.isMoment(e)||e instanceof Date?l.options.minDate=t(e):l.options.minDate=t(e,l.format,l.options.useStrict),l.viewDate&&g())},d()};e.fn.datetimepicker=function(t){return this.each(function(){var n=e(this),r=n.data("DateTimePicker");r||n.data("DateTimePicker",new i(this,t))})},e.fn.datetimepicker.defaults={format:!1,pickDate:!0,pickTime:!0,useMinutes:!0,useSeconds:!1,useCurrent:!0,calendarWeeks:!1,minuteStepping:1,minDate:t({y:1900}),maxDate:t().add(100,"y"),showToday:!0,collapse:!0,language:t.locale(),defaultDate:"",disabledDates:!1,enabledDates:!1,icons:{},useStrict:!1,direction:"auto",sideBySide:!1,daysOfWeekDisabled:[],widgetParent:!1}}),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=e?e.length:0;++r<a;){var o=e[r];t(i,o,n(o),e)}return i}function r(e,t){for(var n=-1,i=e?e.length:0;++n<i&&t(e[n],n,e)!==!1;);return e}function a(e,t){for(var n=e?e.length:0;n--&&t(e[n],n,e)!==!1;);return e}function o(e,t){for(var n=-1,i=e?e.length:0;++n<i;)if(!t(e[n],n,e))return!1;return!0}function s(e,t){for(var n=-1,i=e?e.length:0,r=0,a=[];++n<i;){var o=e[n];t(o,n,e)&&(a[r++]=o)}return a}function l(e,t){var n=e?e.length:0;return!!n&&_(e,t,0)>-1}function u(e,t,n){for(var i=-1,r=e?e.length:0;++i<r;)if(n(t,e[i]))return!0;return!1}function d(e,t){for(var n=-1,i=e?e.length:0,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=e?e.length:0;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=e?e.length:0;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=e?e.length:0;++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 g(e,t,n,i){for(var r=e.length,a=n+(i?1:-1);i?a--:++a<r;)if(t(e[a],a,e))return a;return-1}function _(e,t,n){if(t!==t)return g(e,v,n);for(var i=n-1,r=e.length;++i<r;)if(e[i]===t)return i;return-1}function y(e,t,n,i){for(var r=n-1,a=e.length;++r<a;)if(i(e[r],t))return r;return-1}function v(e){return e!==e}function b(e,t){var n=e?e.length:0;return n?x(e,t)/n:be}function M(e){return function(t){return null==t?q:t[e]}}function w(e){return function(t){return null==e?q:e[t]}}function k(e,t,n,i,r){return r(e,function(e,r,a){n=i?(i=!1,e):t(n,e,r,a)}),n}function L(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function x(e,t){for(var n,i=-1,r=e.length;++i<r;){var a=t(e[i]);a!==q&&(n=n===q?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&&_(t,e[n],0)>-1;);return n}function A(e,t){for(var n=e.length;n--&&_(t,e[n],0)>-1;);return n}function j(e,t){for(var n=e.length,i=0;n--;)e[n]===t&&i++;return i}function P(e){return"\\"+Hn[e]}function E(e,t){return null==e?q:e[t]}function I(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}function F(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function W(e){var t=-1,n=Array(e.size);return e.forEach(function(e,i){n[++t]=[i,e]}),n}function O(e,t){return function(n){return e(t(n))}}function R(e,t){for(var n=-1,i=e.length,r=0,a=[];++n<i;){var o=e[n];o!==t&&o!==Q||(e[n]=Q,a[r++]=n)}return a}function N(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function z(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function B(e){if(!e||!wn.test(e))return e.length;for(var t=bn.lastIndex=0;bn.test(e);)t++;return t}function $(e){return e.match(bn)}function V(w){function Pt(e){if(Is(e)&&!Nc(e)&&!(e instanceof Ft)){if(e instanceof It)return e;if(Vu.call(e,"__wrapped__"))return Ca(e)}return new It(e)}function Et(){}function It(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=q}function Ft(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Me,this.__views__=[]}function Wt(){var e=new Ft(this.__wrapped__);return e.__actions__=wr(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=wr(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=wr(this.__views__),e}function Ot(){if(this.__filtered__){var e=new Ft(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Rt(){var e=this.__wrapped__.value(),t=this.__dir__,n=Nc(e),i=t<0,r=n?e.length:0,a=aa(0,r,this.__views__),o=a.start,s=a.end,l=s-o,u=i?s:o-1,d=this.__iteratees__,c=d.length,h=0,f=yd(l,this.__takeCount__);if(!n||r<J||r==l&&f==l)return ir(e,this.__actions__);var p=[];e:for(;l--&&h<f;){u+=t;for(var m=-1,g=e[u];++m<c;){var _=d[m],y=_.iteratee,v=_.type,b=y(g);if(v==me)g=b;else if(!b){if(v==pe)continue e;break e}}p[h++]=g}return p}function Nt(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function zt(){this.__data__=Sd?Sd(null):{}}function Bt(e){return this.has(e)&&delete this.__data__[e]}function $t(e){var t=this.__data__;if(Sd){var n=t[e];return n===X?q:n}return Vu.call(t,e)?t[e]:q}function Vt(e){var t=this.__data__;return Sd?t[e]!==q:Vu.call(t,e)}function qt(e,t){var n=this.__data__;return n[e]=Sd&&t===q?X:t,this}function Ut(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Jt(){this.__data__=[]}function Gt(e){var t=this.__data__,n=bn(t,e);if(n<0)return!1;var i=t.length-1;return n==i?t.pop():ad.call(t,n,1),!0}function Xt(e){var t=this.__data__,n=bn(t,e);return n<0?q:t[n][1]}function Qt(e){return bn(this.__data__,e)>-1}function Kt(e,t){var n=this.__data__,i=bn(n,e);return i<0?n.push([e,t]):n[i][1]=t,this}function Zt(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function en(){this.__data__={hash:new Nt,map:new(xd||Ut),string:new Nt}}function tn(e){return na(this,e)["delete"](e)}function nn(e){return na(this,e).get(e)}function rn(e){return na(this,e).has(e)}function an(e,t){return na(this,e).set(e,t),this}function on(e){var t=-1,n=e?e.length:0;for(this.__data__=new Zt;++t<n;)this.add(e[t])}function sn(e){return this.__data__.set(e,X),this}function ln(e){return this.__data__.has(e)}function un(e){this.__data__=new Ut(e)}function dn(){this.__data__=new Ut}function cn(e){return this.__data__["delete"](e)}function hn(e){return this.__data__.get(e)}function fn(e){return this.__data__.has(e)}function pn(e,t){var n=this.__data__;if(n instanceof Ut){var i=n.__data__;if(!xd||i.length<J-1)return i.push([e,t]),this;n=this.__data__=new Zt(i)}return n.set(e,t),this}function mn(e,t,n,i){return e===q||Ms(e,Ru[n])&&!Vu.call(i,n)?t:e}function gn(e,t,n){(n===q||Ms(e[t],n))&&("number"!=typeof t||n!==q||t in e)||(e[t]=n)}function _n(e,t,n){var i=e[t];Vu.call(e,t)&&Ms(i,n)&&(n!==q||t in e)||(e[t]=n)}function bn(e,t){for(var n=e.length;n--;)if(Ms(e[n][0],t))return n;return-1}function Yn(e,t,n,i){return zd(e,function(e,r,a){t(i,e,n(e),a)}),i}function Sn(e,t){return e&&kr(t,_l(t),e)}function Cn(e,t){for(var n=-1,i=null==e,r=t.length,a=ju(r);++n<r;)a[n]=i?q:pl(e,t[n]);return a}function Hn(e,t,n){return e===e&&(n!==q&&(e=e<=n?e:n),t!==q&&(e=e>=t?e:t)),e}function Pn(e,t,n,i,a,o,s){var l;if(i&&(l=o?i(e,a,o,s):i(e)),l!==q)return l;if(!Es(e))return e;var u=Nc(e);if(u){if(l=la(e),!t)return wr(e,l)}else{var d=ec(e),c=d==Ce||d==He;if(Bc(e))return dr(e,t);if(d==Pe||d==xe||c&&!o){if(I(e))return o?e:{};if(l=ua(c?{}:e),!t)return Lr(e,Sn(l,e))}else{if(!Tn[d])return o?e:{};l=da(e,d,Pn,t)}}s||(s=new un);var h=s.get(e);if(h)return h;if(s.set(e,l),!u)var f=n?Qr(e):_l(e);return r(f||e,function(r,a){f&&(a=r,r=e[a]),_n(l,a,Pn(r,t,n,i,a,e,s))}),l}function En(e){var t=_l(e);return function(n){return Fn(n,e,t)}}function Fn(e,t,n){var i=n.length;if(null==e)return!i;for(var r=i;r--;){var a=n[r],o=t[a],s=e[a];if(s===q&&!(a in Object(e))||!o(s))return!1}return!0}function Wn(e){return Es(e)?id(e):{}}function Rn(e,t,n){if("function"!=typeof e)throw new Wu(G);return ld(function(){e.apply(q,n)},t)}function Nn(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):t.length>=J&&(a=C,o=!1,t=new on(t));e:for(;++r<s;){var f=e[r],p=n?n(f):f;if(f=i||0!==f?f:0,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 Kn(e,t){var n=!0;return zd(e,function(e,i,r){return n=!!t(e,i,r)}),n}function Zn(e,t,n){for(var i=-1,r=e.length;++i<r;){var a=e[i],o=t(a);if(null!=o&&(s===q?o===o&&!Us(o):n(o,s)))var s=o,l=a}return l}function ei(e,t,n,i){var r=e.length;for(n=Zs(n),n<0&&(n=-n>r?0:r+n),i=i===q||i>r?r:Zs(i),i<0&&(i+=r),i=n>i?0:el(i);n<i;)e[n++]=t;return e}function ti(e,t){var n=[];return zd(e,function(e,i,r){t(e,i,r)&&n.push(e)}),n}function ni(e,t,n,i,r){var a=-1,o=e.length;for(n||(n=fa),r||(r=[]);++a<o;){var s=e[a];t>0&&n(s)?t>1?ni(s,t-1,n,i,r):c(r,s):i||(r[r.length]=s)}return r}function ii(e,t){return e&&$d(e,t,_l)}function ri(e,t){return e&&Vd(e,t,_l)}function ai(e,t){return s(t,function(t){return As(e[t])})}function oi(e,t){t=ga(t,e)?[t]:lr(t);for(var n=0,i=t.length;null!=e&&n<i;)e=e[Ta(t[n++])];return n&&n==i?e:q}function si(e,t,n){var i=t(e);return Nc(e)?i:c(i,n(e))}function li(e){return Ju.call(e)}function ui(e,t){return e>t}function di(e,t){return null!=e&&(Vu.call(e,t)||"object"==typeof e&&t in e&&null===Qd(e))}function ci(e,t){return null!=e&&t in Object(e)}function hi(e,t,n){return e>=yd(t,n)&&e<_d(t,n)}function fi(e,t,n){for(var i=n?u:l,r=e[0].length,a=e.length,o=a,s=ju(a),c=1/0,h=[];o--;){var f=e[o];o&&t&&(f=d(f,Y(t))),c=yd(f.length,c),s[o]=!n&&(t||r>=120&&f.length>=120)?new on(o&&f):q}f=e[0];var p=-1,m=s[0];e:for(;++p<r&&h.length<c;){var g=f[p],_=t?t(g):g;if(g=n||0!==g?g:0,!(m?C(m,_):i(h,_,n))){for(o=a;--o;){var y=s[o];if(!(y?C(y,_):i(e[o],_,n)))continue e}m&&m.push(_),h.push(g)}}return h}function pi(e,t,n,i){return ii(e,function(e,r,a){t(i,n(e),r,a)}),i}function mi(e,t,i){ga(t,e)||(t=lr(t),e=xa(e,t),t=Ga(t));var r=null==e?e:e[Ta(t)];return null==r?q:n(r,e,i)}function gi(e){return Is(e)&&Ju.call(e)==ze}function _i(e){return Is(e)&&Ju.call(e)==Ye}function yi(e,t,n,i,r){return e===t||(null==e||null==t||!Es(e)&&!Is(t)?e!==e&&t!==t:vi(e,t,yi,n,i,r))}function vi(e,t,n,i,r,a){var o=Nc(e),s=Nc(t),l=De,u=De;o||(l=ec(e),l=l==xe?Pe:l),s||(u=ec(t),u=u==xe?Pe:u);var d=l==Pe&&!I(e),c=u==Pe&&!I(t),h=l==u;if(h&&!d)return a||(a=new un),o||Jc(e)?Jr(e,t,n,i,r,a):Gr(e,t,l,n,i,r,a);if(!(r&ue)){var f=d&&Vu.call(e,"__wrapped__"),p=c&&Vu.call(t,"__wrapped__");if(f||p){var m=f?e.value():e,g=p?t.value():t;return a||(a=new un),n(m,g,i,r,a)}}return!!h&&(a||(a=new un),Xr(e,t,n,i,r,a))}function bi(e){return Is(e)&&ec(e)==Ae}function Mi(e,t,n,i){var r=n.length,a=r,o=!i;if(null==e)return!a;for(e=Object(e);r--;){var s=n[r];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++r<a;){s=n[r];var l=s[0],u=e[l],d=s[1];if(o&&s[2]){if(u===q&&!(l in e))return!1}else{var c=new un;if(i)var h=i(u,d,l,e,t,c);if(!(h===q?yi(d,u,i,le|ue,c):h))return!1}}return!0}function wi(e){if(!Es(e)||va(e))return!1;var t=As(e)||I(e)?Xu:Yt;return t.test(Ya(e))}function ki(e){return Es(e)&&Ju.call(e)==Ie}function Li(e){return Is(e)&&ec(e)==Fe}function xi(e){return Is(e)&&Ps(e.length)&&!!Dn[Ju.call(e)]}function Di(e){return"function"==typeof e?e:null==e?su:"object"==typeof e?Nc(e)?Hi(e[0],e[1]):Ci(e):mu(e)}function Ti(e){e=null==e?e:Object(e);var t=[];for(var n in e)t.push(n);return t}function Yi(e,t){return e<t}function Si(e,t){var n=-1,i=ks(e)?ju(e.length):[];return zd(e,function(e,r,a){i[++n]=t(e,r,a)}),i}function Ci(e){var t=ia(e);return 1==t.length&&t[0][2]?wa(t[0][0],t[0][1]):function(n){return n===e||Mi(n,e,t)}}function Hi(e,t){return ga(e)&&Ma(t)?wa(Ta(e),t):function(n){var i=pl(n,e);return i===q&&i===t?gl(n,e):yi(t,i,q,le|ue)}}function Ai(e,t,n,i,a){if(e!==t){if(!Nc(t)&&!Jc(t))var o=yl(t);r(o||t,function(r,s){if(o&&(s=r,r=t[s]),Es(r))a||(a=new un),ji(e,t,s,n,Ai,i,a);else{var l=i?i(e[s],r,s+"",e,t,a):q;l===q&&(l=r),gn(e,s,l)}})}}function ji(e,t,n,i,r,a,o){var s=e[n],l=t[n],u=o.get(l);if(u)return void gn(e,n,u);var d=a?a(s,l,n+"",e,t,o):q,c=d===q;c&&(d=l,Nc(l)||Jc(l)?Nc(s)?d=s:Ls(s)?d=wr(s):(c=!1,d=Pn(l,!0)):$s(l)||ws(l)?ws(s)?d=nl(s):!Es(s)||i&&As(s)?(c=!1,d=Pn(l,!0)):d=s:c=!1),c&&(o.set(l,d),r(d,l,i,a,o),o["delete"](l)),gn(e,n,d)}function Pi(e,t){var n=e.length;if(n)return t+=t<0?n:0,pa(t,n)?e[t]:q}function Ei(e,t,n){var i=-1;t=d(t.length?t:[su],Y(ta()));var r=Si(e,function(e,n,r){var a=d(t,function(t){return t(e)});return{criteria:a,index:++i,value:e}});return L(r,function(e,t){return vr(e,t,n)})}function Ii(e,t){return e=Object(e),Fi(e,t,function(t,n){return n in e})}function Fi(e,t,n){for(var i=-1,r=t.length,a={};++i<r;){var o=t[i],s=e[o];n(s,o)&&(a[o]=s)}return a}function Wi(e){return function(t){return oi(t,e)}}function Oi(e,t,n,i){var r=i?y:_,a=-1,o=t.length,s=e;for(e===t&&(t=wr(t)),n&&(s=d(e,Y(n)));++a<o;)for(var l=0,u=t[a],c=n?n(u):u;(l=r(s,c,l,i))>-1;)s!==e&&ad.call(s,l,1),ad.call(e,l,1);return e}function Ri(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;if(pa(r))ad.call(e,r,1);else if(ga(r,e))delete e[Ta(r)];else{var o=lr(r),s=xa(e,o);null!=s&&delete s[Ta(Ga(o))]}}}return e}function Ni(e,t){return e+dd(bd()*(t-e+1))}function zi(e,t,n,i){for(var r=-1,a=_d(ud((t-e)/(n||1)),0),o=ju(a);a--;)o[i?a:++r]=e,e+=n;return o}function Bi(e,t){var n="";if(!e||t<1||t>ye)return n;do t%2&&(n+=e),t=dd(t/2),t&&(e+=e);while(t);return n}function $i(e,t){return t=_d(t===q?e.length-1:t,0),function(){for(var i=arguments,r=-1,a=_d(i.length-t,0),o=ju(a);++r<a;)o[r]=i[t+r];r=-1;for(var s=ju(t+1);++r<t;)s[r]=i[r];return s[t]=o,n(e,this,s)}}function Vi(e,t,n,i){t=ga(t,e)?[t]:lr(t);for(var r=-1,a=t.length,o=a-1,s=e;null!=s&&++r<a;){var l=Ta(t[r]);if(Es(s)){var u=n;if(r!=o){var d=s[l];u=i?i(d,l,s):q,u===q&&(u=null==d?pa(t[r+1])?[]:{}:d)}_n(s,l,u)}s=s[l]}return e}function qi(e,t,n){var i=-1,r=e.length;t<0&&(t=-t>r?0:r+t),n=n>r?r:n,n<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var a=ju(r);++i<r;)a[i]=e[i+t];return a}function Ui(e,t){var n;return zd(e,function(e,i,r){return n=t(e,i,r),!n}),!!n}function Ji(e,t,n){var i=0,r=e?e.length:i;if("number"==typeof t&&t===t&&r<=ke){for(;i<r;){var a=i+r>>>1,o=e[a];null!==o&&!Us(o)&&(n?o<=t:o<t)?i=a+1:r=a}return r}return Gi(e,t,su,n)}function Gi(e,t,n,i){t=n(t);for(var r=0,a=e?e.length:0,o=t!==t,s=null===t,l=Us(t),u=t===q;r<a;){var d=dd((r+a)/2),c=n(e[d]),h=c!==q,f=null===c,p=c===c,m=Us(c);if(o)var g=i||p;else g=u?p&&(i||h):s?p&&h&&(i||!f):l?p&&h&&!f&&(i||!m):!f&&!m&&(i?c<=t:c<t);g?r=d+1:a=d}return yd(a,we)}function Xi(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||!Ms(s,l)){var l=s;a[r++]=0===o?0:o}}return a}function Qi(e){return"number"==typeof e?e:Us(e)?be:+e}function Ki(e){if("string"==typeof e)return e;if(Us(e))return Nd?Nd.call(e):"";var t=e+"";return"0"==t&&1/e==-_e?"-0":t}function Zi(e,t,n){var i=-1,r=l,a=e.length,o=!0,s=[],d=s;if(n)o=!1,r=u;else if(a>=J){var c=t?null:Jd(e);if(c)return N(c);o=!1,r=C,d=new on}else d=t?[]:s;e:for(;++i<a;){var h=e[i],f=t?t(h):h;if(h=n||0!==h?h:0,o&&f===f){for(var p=d.length;p--;)if(d[p]===f)continue e;t&&d.push(f),s.push(h)}else r(d,f,n)||(d!==s&&d.push(f),s.push(h))}return s}function er(e,t){t=ga(t,e)?[t]:lr(t),e=xa(e,t);var n=Ta(Ga(t));return!(null!=e&&di(e,n))||delete e[n]}function tr(e,t,n,i){return Vi(e,t,n(oi(e,t)),i)}function nr(e,t,n,i){for(var r=e.length,a=i?r:-1;(i?a--:++a<r)&&t(e[a],a,e););return n?qi(e,i?0:a,i?a+1:r):qi(e,i?a+1:0,i?r:a)}function ir(e,t){var n=e;return n instanceof Ft&&(n=n.value()),h(t,function(e,t){return t.func.apply(t.thisArg,c([e],t.args))},n)}function rr(e,t,n){for(var i=-1,r=e.length;++i<r;)var a=a?c(Nn(a,e[i],t,n),Nn(e[i],a,t,n)):e[i];return a&&a.length?Zi(a,t,n):[]}function ar(e,t,n){for(var i=-1,r=e.length,a=t.length,o={};++i<r;){var s=i<a?t[i]:q;n(o,e[i],s)}return o}function or(e){return Ls(e)?e:[]}function sr(e){return"function"==typeof e?e:su}function lr(e){return Nc(e)?e:rc(e)}function ur(e,t,n){var i=e.length;return n=n===q?i:n,!t&&n>=i?e:qi(e,t,n)}function dr(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}function cr(e){var t=new e.constructor(e.byteLength);return new ed(t).set(new ed(e)),t}function hr(e,t){var n=t?cr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function fr(t,n,i){var r=n?i(W(t),!0):W(t);return h(r,e,new t.constructor)}function pr(e){var t=new e.constructor(e.source,Lt.exec(e));return t.lastIndex=e.lastIndex,t}function mr(e,n,i){var r=n?i(N(e),!0):N(e);return h(r,t,new e.constructor)}function gr(e){return Rd?Object(Rd.call(e)):{}}function _r(e,t){var n=t?cr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function yr(e,t){if(e!==t){var n=e!==q,i=null===e,r=e===e,a=Us(e),o=t!==q,s=null===t,l=t===t,u=Us(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 vr(e,t,n){for(var i=-1,r=e.criteria,a=t.criteria,o=r.length,s=n.length;++i<o;){var l=yr(r[i],a[i]);if(l){if(i>=s)return l;var u=n[i];return l*("desc"==u?-1:1)}}return e.index-t.index}function br(e,t,n,i){for(var r=-1,a=e.length,o=n.length,s=-1,l=t.length,u=_d(a-o,0),d=ju(l+u),c=!i;++s<l;)d[s]=t[s];for(;++r<o;)(c||r<a)&&(d[n[r]]=e[r]);for(;u--;)d[s++]=e[r++];return d}function Mr(e,t,n,i){for(var r=-1,a=e.length,o=-1,s=n.length,l=-1,u=t.length,d=_d(a-s,0),c=ju(d+u),h=!i;++r<d;)c[r]=e[r];for(var f=r;++l<u;)c[f+l]=t[l];for(;++o<s;)(h||r<a)&&(c[f+n[o]]=e[r++]);return c}function wr(e,t){var n=-1,i=e.length;for(t||(t=ju(i));++n<i;)t[n]=e[n];return t}function kr(e,t,n,i){n||(n={});for(var r=-1,a=t.length;++r<a;){var o=t[r],s=i?i(n[o],e[o],o,n,e):q;_n(n,o,s===q?e[o]:s)}return n}function Lr(e,t){return kr(e,Kd(e),t)}function xr(e,t){return function(n,r){var a=Nc(n)?i:Yn,o=t?t():{};return a(n,e,ta(r,2),o)}}function Dr(e){return $i(function(t,n){var i=-1,r=n.length,a=r>1?n[r-1]:q,o=r>2?n[2]:q;for(a=e.length>3&&"function"==typeof a?(r--,a):q,o&&ma(n[0],n[1],o)&&(a=r<3?q:a,r=1),t=Object(t);++i<r;){var s=n[i];s&&e(t,s,i,a)}return t})}function Tr(e,t){return function(n,i){if(null==n)return n;if(!ks(n))return e(n,i);for(var r=n.length,a=t?r:-1,o=Object(n);(t?a--:++a<r)&&i(o[a],a,o)!==!1;);return n}}function Yr(e){return function(t,n,i){for(var r=-1,a=Object(t),o=i(t),s=o.length;s--;){var l=o[e?s:++r];if(n(a[l],l,a)===!1)break}return t}}function Sr(e,t,n){function i(){var t=this&&this!==In&&this instanceof i?a:e;return t.apply(r?n:this,arguments)}var r=t&K,a=Ar(e);return i}function Cr(e){return function(t){t=rl(t);var n=wn.test(t)?$(t):q,i=n?n[0]:t.charAt(0),r=n?ur(n,1).join(""):t.slice(1);return i[e]()+r}}function Hr(e){return function(t){return h(nu(Il(t).replace(yn,"")),e,"")}}function Ar(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=Wn(e.prototype),i=e.apply(n,t);return Es(i)?i:n}}function jr(e,t,i){function r(){for(var o=arguments.length,s=ju(o),l=o,u=ea(r);l--;)s[l]=arguments[l];var d=o<3&&s[0]!==u&&s[o-1]!==u?[]:R(s,u);if(o-=d.length,o<i)return $r(e,t,Ir,r.placeholder,q,s,d,q,q,i-o);var c=this&&this!==In&&this instanceof r?a:e;return n(c,this,s)}var a=Ar(e);return r}function Pr(e){return function(t,n,i){var r=Object(t);if(!ks(t)){var a=ta(n,3);t=_l(t),n=function(e){return a(r[e],e,r)}}var o=e(t,n,i);return o>-1?r[a?t[o]:o]:q}}function Er(e){return $i(function(t){t=ni(t,1);var n=t.length,i=n,r=It.prototype.thru;for(e&&t.reverse();i--;){var a=t[i];if("function"!=typeof a)throw new Wu(G);if(r&&!o&&"wrapper"==Zr(a))var o=new It([],(!0))}for(i=o?i:n;++i<n;){a=t[i];var s=Zr(a),l="wrapper"==s?Gd(a):q;o=l&&ya(l[0])&&l[1]==(ae|te|ie|oe)&&!l[4].length&&1==l[9]?o[Zr(l[0])].apply(o,l[3]):1==a.length&&ya(a)?o[s]():o.thru(a)}return function(){var e=arguments,i=e[0];if(o&&1==e.length&&Nc(i)&&i.length>=J)return o.plant(i).value();for(var r=0,a=n?t[r].apply(this,e):i;++r<n;)a=t[r].call(this,a);return a}})}function Ir(e,t,n,i,r,a,o,s,l,u){function d(){for(var _=arguments.length,y=ju(_),v=_;v--;)y[v]=arguments[v];if(p)var b=ea(d),M=j(y,b);if(i&&(y=br(y,i,r,p)),a&&(y=Mr(y,a,o,p)),_-=M,p&&_<u){var w=R(y,b);return $r(e,t,Ir,d.placeholder,n,y,w,s,l,u-_)}var k=h?n:this,L=f?k[e]:e;return _=y.length,s?y=Da(y,s):m&&_>1&&y.reverse(),c&&l<_&&(y.length=l),this&&this!==In&&this instanceof d&&(L=g||Ar(L)),L.apply(k,y)}var c=t&ae,h=t&K,f=t&Z,p=t&(te|ne),m=t&se,g=f?q:Ar(e);return d}function Fr(e,t){return function(n,i){return pi(n,e,t(i),{})}}function Wr(e,t){return function(n,i){var r;if(n===q&&i===q)return t;if(n!==q&&(r=n),i!==q){if(r===q)return i;"string"==typeof n||"string"==typeof i?(n=Ki(n),i=Ki(i)):(n=Qi(n),i=Qi(i)),r=e(n,i)}return r}}function Or(e){return $i(function(t){return t=1==t.length&&Nc(t[0])?d(t[0],Y(ta())):d(ni(t,1),Y(ta())),$i(function(i){var r=this;return e(t,function(e){return n(e,r,i)})})})}function Rr(e,t){t=t===q?" ":Ki(t);var n=t.length;if(n<2)return n?Bi(t,e):t;var i=Bi(t,ud(e/B(t)));return wn.test(t)?ur($(i),0,e).join(""):i.slice(0,e)}function Nr(e,t,i,r){function a(){for(var t=-1,l=arguments.length,u=-1,d=r.length,c=ju(d+l),h=this&&this!==In&&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=t&K,s=Ar(e);return a}function zr(e){return function(t,n,i){return i&&"number"!=typeof i&&ma(t,n,i)&&(n=i=q),t=Ks(t),n===q?(n=t,t=0):n=Ks(n),i=i===q?t<n?1:-1:Ks(i),zi(t,n,i,e)}}function Br(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=tl(t),n=tl(n)),e(t,n)}}function $r(e,t,n,i,r,a,o,s,l,u){var d=t&te,c=d?o:q,h=d?q:o,f=d?a:q,p=d?q:a;t|=d?ie:re,t&=~(d?re:ie),t&ee||(t&=~(K|Z));var m=[e,t,r,f,c,p,h,s,l,u],g=n.apply(q,m);return ya(e)&&nc(g,m),g.placeholder=i,ic(g,e,t)}function Vr(e){var t=Iu[e];return function(e,n){if(e=tl(e),n=yd(Zs(n),292)){var i=(rl(e)+"e").split("e"),r=t(i[0]+"e"+(+i[1]+n));return i=(rl(r)+"e").split("e"),+(i[0]+"e"+(+i[1]-n))}return t(e)}}function qr(e){return function(t){var n=ec(t);return n==Ae?W(t):n==Fe?z(t):T(t,e(t))}}function Ur(e,t,n,i,r,a,o,s){var l=t&Z;if(!l&&"function"!=typeof e)throw new Wu(G);var u=i?i.length:0;if(u||(t&=~(ie|re),i=r=q),o=o===q?o:_d(Zs(o),0),s=s===q?s:Zs(s),u-=r?r.length:0,t&re){var d=i,c=r;i=r=q}var h=l?q:Gd(e),f=[e,t,n,i,r,d,c,a,o,s];if(h&&ka(f,h),e=f[0],t=f[1],n=f[2],i=f[3],r=f[4],s=f[9]=null==f[9]?l?0:e.length:_d(f[9]-u,0),!s&&t&(te|ne)&&(t&=~(te|ne)),t&&t!=K)p=t==te||t==ne?jr(e,t,s):t!=ie&&t!=(K|ie)||r.length?Ir.apply(q,f):Nr(e,t,n,i);else var p=Sr(e,t,n);var m=h?Ud:nc;return ic(m(p,f),e,t)}function Jr(e,t,n,i,r,a){var o=r&ue,s=e.length,l=t.length;if(s!=l&&!(o&&l>s))return!1;var u=a.get(e);if(u&&a.get(t))return u==t;var d=-1,c=!0,h=r&le?new on:q;for(a.set(e,t),a.set(t,e);++d<s;){var f=e[d],m=t[d];if(i)var g=o?i(m,f,d,t,e,a):i(f,m,d,e,t,a);if(g!==q){if(g)continue;c=!1;break}if(h){if(!p(t,function(e,t){if(!h.has(t)&&(f===e||n(f,e,i,r,a)))return h.add(t)})){c=!1;break}}else if(f!==m&&!n(f,m,i,r,a)){c=!1;break}}return a["delete"](e),a["delete"](t),c}function Gr(e,t,n,i,r,a,o){switch(n){case Be:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ze:return!(e.byteLength!=t.byteLength||!i(new ed(e),new ed(t)));case Te:case Ye:case je:return Ms(+e,+t);case Se:return e.name==t.name&&e.message==t.message;case Ie:case We:return e==t+"";case Ae:var s=W;case Fe:var l=a&ue;if(s||(s=N),e.size!=t.size&&!l)return!1;var u=o.get(e);
if(u)return u==t;a|=le,o.set(e,t);var d=Jr(s(e),s(t),i,r,a,o);return o["delete"](e),d;case Oe:if(Rd)return Rd.call(e)==Rd.call(t)}return!1}function Xr(e,t,n,i,r,a){var o=r&ue,s=_l(e),l=s.length,u=_l(t),d=u.length;if(l!=d&&!o)return!1;for(var c=l;c--;){var h=s[c];if(!(o?h in t:di(t,h)))return!1}var f=a.get(e);if(f&&a.get(t))return f==t;var p=!0;a.set(e,t),a.set(t,e);for(var m=o;++c<l;){h=s[c];var g=e[h],_=t[h];if(i)var y=o?i(_,g,h,t,e,a):i(g,_,h,e,t,a);if(!(y===q?g===_||n(g,_,i,r,a):y)){p=!1;break}m||(m="constructor"==h)}if(p&&!m){var v=e.constructor,b=t.constructor;v!=b&&"constructor"in e&&"constructor"in t&&!("function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b)&&(p=!1)}return a["delete"](e),a["delete"](t),p}function Qr(e){return si(e,_l,Kd)}function Kr(e){return si(e,yl,Zd)}function Zr(e){for(var t=e.name+"",n=jd[t],i=Vu.call(jd,t)?n.length:0;i--;){var r=n[i],a=r.func;if(null==a||a==e)return r.name}return t}function ea(e){var t=Vu.call(Pt,"placeholder")?Pt:e;return t.placeholder}function ta(){var e=Pt.iteratee||lu;return e=e===lu?Di:e,arguments.length?e(arguments[0],arguments[1]):e}function na(e,t){var n=e.__data__;return _a(t)?n["string"==typeof t?"string":"hash"]:n.map}function ia(e){for(var t=_l(e),n=t.length;n--;){var i=t[n],r=e[i];t[n]=[i,r,Ma(r)]}return t}function ra(e,t){var n=E(e,t);return wi(n)?n:q}function aa(e,t,n){for(var i=-1,r=n.length;++i<r;){var a=n[i],o=a.size;switch(a.type){case"drop":e+=o;break;case"dropRight":t-=o;break;case"take":t=yd(t,e+o);break;case"takeRight":e=_d(e,t-o)}}return{start:e,end:t}}function oa(e){var t=e.match(vt);return t?t[1].split(bt):[]}function sa(e,t,n){t=ga(t,e)?[t]:lr(t);for(var i,r=-1,a=t.length;++r<a;){var o=Ta(t[r]);if(!(i=null!=e&&n(e,o)))break;e=e[o]}if(i)return i;var a=e?e.length:0;return!!a&&Ps(a)&&pa(o,a)&&(Nc(e)||qs(e)||ws(e))}function la(e){var t=e.length,n=e.constructor(t);return t&&"string"==typeof e[0]&&Vu.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function ua(e){return"function"!=typeof e.constructor||ba(e)?{}:Wn(Qd(e))}function da(e,t,n,i){var r=e.constructor;switch(t){case ze:return cr(e);case Te:case Ye:return new r((+e));case Be:return hr(e,i);case $e:case Ve:case qe:case Ue:case Je:case Ge:case Xe:case Qe:case Ke:return _r(e,i);case Ae:return fr(e,i,n);case je:case We:return new r(e);case Ie:return pr(e);case Fe:return mr(e,i,n);case Oe:return gr(e)}}function ca(e){var t=e?e.length:q;return Ps(t)&&(Nc(e)||qs(e)||ws(e))?D(t,String):null}function ha(e,t){var n=t.length,i=n-1;return t[i]=(n>1?"& ":"")+t[i],t=t.join(n>2?", ":" "),e.replace(yt,"{\n/* [wrapped with "+t+"] */\n")}function fa(e){return Nc(e)||ws(e)||!!(od&&e&&e[od])}function pa(e,t){return t=null==t?ye:t,!!t&&("number"==typeof e||Ct.test(e))&&e>-1&&e%1==0&&e<t}function ma(e,t,n){if(!Es(n))return!1;var i=typeof t;return!!("number"==i?ks(n)&&pa(t,n.length):"string"==i&&t in n)&&Ms(n[t],e)}function ga(e,t){if(Nc(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Us(e))||(dt.test(e)||!ut.test(e)||null!=t&&e in Object(t))}function _a(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function ya(e){var t=Zr(e),n=Pt[t];if("function"!=typeof n||!(t in Ft.prototype))return!1;if(e===n)return!0;var i=Gd(n);return!!i&&e===i[0]}function va(e){return!!Bu&&Bu in e}function ba(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||Ru;return e===n}function Ma(e){return e===e&&!Es(e)}function wa(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==q||e in Object(n)))}}function ka(e,t){var n=e[1],i=t[1],r=n|i,a=r<(K|Z|ae),o=i==ae&&n==te||i==ae&&n==oe&&e[7].length<=t[8]||i==(ae|oe)&&t[7].length<=t[8]&&n==te;if(!a&&!o)return e;i&K&&(e[2]=t[2],r|=n&K?0:ee);var s=t[3];if(s){var l=e[3];e[3]=l?br(l,s,t[4]):s,e[4]=l?R(e[3],Q):t[4]}return s=t[5],s&&(l=e[5],e[5]=l?Mr(l,s,t[6]):s,e[6]=l?R(e[5],Q):t[6]),s=t[7],s&&(e[7]=s),i&ae&&(e[8]=null==e[8]?t[8]:yd(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=r,e}function La(e,t,n,i,r,a){return Es(e)&&Es(t)&&(a.set(t,e),Ai(e,t,q,La,a),a["delete"](t)),e}function xa(e,t){return 1==t.length?e:oi(e,qi(t,0,-1))}function Da(e,t){for(var n=e.length,i=yd(t.length,n),r=wr(e);i--;){var a=t[i];e[i]=pa(a,n)?r[a]:q}return e}function Ta(e){if("string"==typeof e||Us(e))return e;var t=e+"";return"0"==t&&1/e==-_e?"-0":t}function Ya(e){if(null!=e){try{return $u.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Sa(e,t){return r(Le,function(n){var i="_."+n[0];t&n[1]&&!l(e,i)&&e.push(i)}),e.sort()}function Ca(e){if(e instanceof Ft)return e.clone();var t=new It(e.__wrapped__,e.__chain__);return t.__actions__=wr(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Ha(e,t,n){t=(n?ma(e,t,n):t===q)?1:_d(Zs(t),0);var i=e?e.length:0;if(!i||t<1)return[];for(var r=0,a=0,o=ju(ud(i/t));r<i;)o[a++]=qi(e,r,r+=t);return o}function Aa(e){for(var t=-1,n=e?e.length:0,i=0,r=[];++t<n;){var a=e[t];a&&(r[i++]=a)}return r}function ja(){for(var e=arguments.length,t=ju(e?e-1:0),n=arguments[0],i=e;i--;)t[i-1]=arguments[i];return e?c(Nc(n)?wr(n):[n],ni(t,1)):[]}function Pa(e,t,n){var i=e?e.length:0;return i?(t=n||t===q?1:Zs(t),qi(e,t<0?0:t,i)):[]}function Ea(e,t,n){var i=e?e.length:0;return i?(t=n||t===q?1:Zs(t),t=i-t,qi(e,0,t<0?0:t)):[]}function Ia(e,t){return e&&e.length?nr(e,ta(t,3),!0,!0):[]}function Fa(e,t){return e&&e.length?nr(e,ta(t,3),!0):[]}function Wa(e,t,n,i){var r=e?e.length:0;return r?(n&&"number"!=typeof n&&ma(e,t,n)&&(n=0,i=r),ei(e,t,n,i)):[]}function Oa(e,t,n){var i=e?e.length:0;if(!i)return-1;var r=null==n?0:Zs(n);return r<0&&(r=_d(i+r,0)),g(e,ta(t,3),r)}function Ra(e,t,n){var i=e?e.length:0;if(!i)return-1;var r=i-1;return n!==q&&(r=Zs(n),r=n<0?_d(i+r,0):yd(r,i-1)),g(e,ta(t,3),r,!0)}function Na(e){var t=e?e.length:0;return t?ni(e,1):[]}function za(e){var t=e?e.length:0;return t?ni(e,_e):[]}function Ba(e,t){var n=e?e.length:0;return n?(t=t===q?1:Zs(t),ni(e,t)):[]}function $a(e){for(var t=-1,n=e?e.length:0,i={};++t<n;){var r=e[t];i[r[0]]=r[1]}return i}function Va(e){return e&&e.length?e[0]:q}function qa(e,t,n){var i=e?e.length:0;if(!i)return-1;var r=null==n?0:Zs(n);return r<0&&(r=_d(i+r,0)),_(e,t,r)}function Ua(e){return Ea(e,1)}function Ja(e,t){return e?md.call(e,t):""}function Ga(e){var t=e?e.length:0;return t?e[t-1]:q}function Xa(e,t,n){var i=e?e.length:0;if(!i)return-1;var r=i;if(n!==q&&(r=Zs(n),r=(r<0?_d(i+r,0):yd(r,i-1))+1),t!==t)return g(e,v,r-1,!0);for(;r--;)if(e[r]===t)return r;return-1}function Qa(e,t){return e&&e.length?Pi(e,Zs(t)):q}function Ka(e,t){return e&&e.length&&t&&t.length?Oi(e,t):e}function Za(e,t,n){return e&&e.length&&t&&t.length?Oi(e,t,ta(n,2)):e}function eo(e,t,n){return e&&e.length&&t&&t.length?Oi(e,t,q,n):e}function to(e,t){var n=[];if(!e||!e.length)return n;var i=-1,r=[],a=e.length;for(t=ta(t,3);++i<a;){var o=e[i];t(o,i,e)&&(n.push(o),r.push(i))}return Ri(e,r),n}function no(e){return e?wd.call(e):e}function io(e,t,n){var i=e?e.length:0;return i?(n&&"number"!=typeof n&&ma(e,t,n)?(t=0,n=i):(t=null==t?0:Zs(t),n=n===q?i:Zs(n)),qi(e,t,n)):[]}function ro(e,t){return Ji(e,t)}function ao(e,t,n){return Gi(e,t,ta(n,2))}function oo(e,t){var n=e?e.length:0;if(n){var i=Ji(e,t);if(i<n&&Ms(e[i],t))return i}return-1}function so(e,t){return Ji(e,t,!0)}function lo(e,t,n){return Gi(e,t,ta(n,2),!0)}function uo(e,t){var n=e?e.length:0;if(n){var i=Ji(e,t,!0)-1;if(Ms(e[i],t))return i}return-1}function co(e){return e&&e.length?Xi(e):[]}function ho(e,t){return e&&e.length?Xi(e,ta(t,2)):[]}function fo(e){return Pa(e,1)}function po(e,t,n){return e&&e.length?(t=n||t===q?1:Zs(t),qi(e,0,t<0?0:t)):[]}function mo(e,t,n){var i=e?e.length:0;return i?(t=n||t===q?1:Zs(t),t=i-t,qi(e,t<0?0:t,i)):[]}function go(e,t){return e&&e.length?nr(e,ta(t,3),!1,!0):[]}function _o(e,t){return e&&e.length?nr(e,ta(t,3)):[]}function yo(e){return e&&e.length?Zi(e):[]}function vo(e,t){return e&&e.length?Zi(e,ta(t,2)):[]}function bo(e,t){return e&&e.length?Zi(e,q,t):[]}function Mo(e){if(!e||!e.length)return[];var t=0;return e=s(e,function(e){if(Ls(e))return t=_d(e.length,t),!0}),D(t,function(t){return d(e,M(t))})}function wo(e,t){if(!e||!e.length)return[];var i=Mo(e);return null==t?i:d(i,function(e){return n(t,q,e)})}function ko(e,t){return ar(e||[],t||[],_n)}function Lo(e,t){return ar(e||[],t||[],Vi)}function xo(e){var t=Pt(e);return t.__chain__=!0,t}function Do(e,t){return t(e),e}function To(e,t){return t(e)}function Yo(){return xo(this)}function So(){return new It(this.value(),this.__chain__)}function Co(){this.__values__===q&&(this.__values__=Qs(this.value()));var e=this.__index__>=this.__values__.length,t=e?q:this.__values__[this.__index__++];return{done:e,value:t}}function Ho(){return this}function Ao(e){for(var t,n=this;n instanceof Et;){var i=Ca(n);i.__index__=0,i.__values__=q,t?r.__wrapped__=i:t=i;var r=i;n=n.__wrapped__}return r.__wrapped__=e,t}function jo(){var e=this.__wrapped__;if(e instanceof Ft){var t=e;return this.__actions__.length&&(t=new Ft(this)),t=t.reverse(),t.__actions__.push({func:To,args:[no],thisArg:q}),new It(t,this.__chain__)}return this.thru(no)}function Po(){return ir(this.__wrapped__,this.__actions__)}function Eo(e,t,n){var i=Nc(e)?o:Kn;return n&&ma(e,t,n)&&(t=q),i(e,ta(t,3))}function Io(e,t){var n=Nc(e)?s:ti;return n(e,ta(t,3))}function Fo(e,t){return ni(Bo(e,t),1)}function Wo(e,t){return ni(Bo(e,t),_e)}function Oo(e,t,n){return n=n===q?1:Zs(n),ni(Bo(e,t),n)}function Ro(e,t){var n=Nc(e)?r:zd;return n(e,ta(t,3))}function No(e,t){var n=Nc(e)?a:Bd;return n(e,ta(t,3))}function zo(e,t,n,i){e=ks(e)?e:Cl(e),n=n&&!i?Zs(n):0;var r=e.length;return n<0&&(n=_d(r+n,0)),qs(e)?n<=r&&e.indexOf(t,n)>-1:!!r&&_(e,t,n)>-1}function Bo(e,t){var n=Nc(e)?d:Si;return n(e,ta(t,3))}function $o(e,t,n,i){return null==e?[]:(Nc(t)||(t=null==t?[]:[t]),n=i?q:n,Nc(n)||(n=null==n?[]:[n]),Ei(e,t,n))}function Vo(e,t,n){var i=Nc(e)?h:k,r=arguments.length<3;return i(e,ta(t,4),n,r,zd)}function qo(e,t,n){var i=Nc(e)?f:k,r=arguments.length<3;return i(e,ta(t,4),n,r,Bd)}function Uo(e,t){var n=Nc(e)?s:ti;return n(e,ls(ta(t,3)))}function Jo(e){var t=ks(e)?e:Cl(e),n=t.length;return n>0?t[Ni(0,n-1)]:q}function Go(e,t,n){var i=-1,r=Qs(e),a=r.length,o=a-1;for(t=(n?ma(e,t,n):t===q)?1:Hn(Zs(t),0,a);++i<t;){var s=Ni(i,o),l=r[s];r[s]=r[i],r[i]=l}return r.length=t,r}function Xo(e){return Go(e,Me)}function Qo(e){if(null==e)return 0;if(ks(e)){var t=e.length;return t&&qs(e)?B(e):t}if(Is(e)){var n=ec(e);if(n==Ae||n==Fe)return e.size}return _l(e).length}function Ko(e,t,n){var i=Nc(e)?p:Ui;return n&&ma(e,t,n)&&(t=q),i(e,ta(t,3))}function Zo(){return Pu.now()}function es(e,t){if("function"!=typeof t)throw new Wu(G);return e=Zs(e),function(){if(--e<1)return t.apply(this,arguments)}}function ts(e,t,n){return t=n?q:t,t=e&&null==t?e.length:t,Ur(e,ae,q,q,q,q,t)}function ns(e,t){var n;if("function"!=typeof t)throw new Wu(G);return e=Zs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=q),n}}function is(e,t,n){t=n?q:t;var i=Ur(e,te,q,q,q,q,q,t);return i.placeholder=is.placeholder,i}function rs(e,t,n){t=n?q:t;var i=Ur(e,ne,q,q,q,q,q,t);return i.placeholder=rs.placeholder,i}function as(e,t,n){function i(t){var n=h,i=f;return h=f=q,y=t,m=e.apply(i,n)}function r(e){return y=e,g=ld(s,t),v?i(e):m}function a(e){var n=e-_,i=e-y,r=t-n;return b?yd(r,p-i):r}function o(e){var n=e-_,i=e-y;return _===q||n>=t||n<0||b&&i>=p}function s(){var e=Zo();return o(e)?l(e):void(g=ld(s,a(e)))}function l(e){return g=q,M&&h?i(e):(h=f=q,m)}function u(){g!==q&&sd(g),y=0,h=_=f=g=q}function d(){return g===q?m:l(Zo())}function c(){var e=Zo(),n=o(e);if(h=arguments,f=this,_=e,n){if(g===q)return r(_);if(b)return g=ld(s,t),i(_)}return g===q&&(g=ld(s,t)),m}var h,f,p,m,g,_,y=0,v=!1,b=!1,M=!0;if("function"!=typeof e)throw new Wu(G);return t=tl(t)||0,Es(n)&&(v=!!n.leading,b="maxWait"in n,p=b?_d(tl(n.maxWait)||0,t):p,M="trailing"in n?!!n.trailing:M),c.cancel=u,c.flush=d,c}function os(e){return Ur(e,se)}function ss(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new Wu(G);var n=function(){var i=arguments,r=t?t.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var o=e.apply(this,i);return n.cache=a.set(r,o),o};return n.cache=new(ss.Cache||Zt),n}function ls(e){if("function"!=typeof e)throw new Wu(G);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 us(e){return ns(2,e)}function ds(e,t){if("function"!=typeof e)throw new Wu(G);return t=t===q?t:Zs(t),$i(e,t)}function cs(e,t){if("function"!=typeof e)throw new Wu(G);return t=t===q?0:_d(Zs(t),0),$i(function(i){var r=i[t],a=ur(i,0,t);return r&&c(a,r),n(e,this,a)})}function hs(e,t,n){var i=!0,r=!0;if("function"!=typeof e)throw new Wu(G);return Es(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),as(e,t,{leading:i,maxWait:t,trailing:r})}function fs(e){return ts(e,1)}function ps(e,t){return t=null==t?su:t,Ic(t,e)}function ms(){if(!arguments.length)return[];var e=arguments[0];return Nc(e)?e:[e]}function gs(e){return Pn(e,!1,!0)}function _s(e,t){return Pn(e,!1,!0,t)}function ys(e){return Pn(e,!0,!0)}function vs(e,t){return Pn(e,!0,!0,t)}function bs(e,t){return null==t||Fn(e,t,_l(t))}function Ms(e,t){return e===t||e!==e&&t!==t}function ws(e){return Ls(e)&&Vu.call(e,"callee")&&(!rd.call(e,"callee")||Ju.call(e)==xe)}function ks(e){return null!=e&&Ps(Xd(e))&&!As(e)}function Ls(e){return Is(e)&&ks(e)}function xs(e){return e===!0||e===!1||Is(e)&&Ju.call(e)==Te}function Ds(e){return!!e&&1===e.nodeType&&Is(e)&&!$s(e)}function Ts(e){if(ks(e)&&(Nc(e)||qs(e)||As(e.splice)||ws(e)||Bc(e)))return!e.length;if(Is(e)){var t=ec(e);if(t==Ae||t==Fe)return!e.size}for(var n in e)if(Vu.call(e,n))return!1;return!(Ad&&_l(e).length)}function Ys(e,t){return yi(e,t)}function Ss(e,t,n){n="function"==typeof n?n:q;var i=n?n(e,t):q;return i===q?yi(e,t,n):!!i}function Cs(e){return!!Is(e)&&(Ju.call(e)==Se||"string"==typeof e.message&&"string"==typeof e.name)}function Hs(e){return"number"==typeof e&&pd(e)}function As(e){var t=Es(e)?Ju.call(e):"";return t==Ce||t==He}function js(e){return"number"==typeof e&&e==Zs(e)}function Ps(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=ye}function Es(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Is(e){return!!e&&"object"==typeof e}function Fs(e,t){return e===t||Mi(e,t,ia(t))}function Ws(e,t,n){return n="function"==typeof n?n:q,Mi(e,t,ia(t),n)}function Os(e){return Bs(e)&&e!=+e}function Rs(e){if(tc(e))throw new Eu("This method is not supported with core-js. Try https://github.com/es-shims.");return wi(e)}function Ns(e){return null===e}function zs(e){return null==e}function Bs(e){return"number"==typeof e||Is(e)&&Ju.call(e)==je}function $s(e){if(!Is(e)||Ju.call(e)!=Pe||I(e))return!1;var t=Qd(e);if(null===t)return!0;var n=Vu.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&$u.call(n)==Uu}function Vs(e){return js(e)&&e>=-ye&&e<=ye}function qs(e){return"string"==typeof e||!Nc(e)&&Is(e)&&Ju.call(e)==We}function Us(e){return"symbol"==typeof e||Is(e)&&Ju.call(e)==Oe}function Js(e){return e===q}function Gs(e){return Is(e)&&ec(e)==Re}function Xs(e){return Is(e)&&Ju.call(e)==Ne}function Qs(e){if(!e)return[];if(ks(e))return qs(e)?$(e):wr(e);if(nd&&e[nd])return F(e[nd]());var t=ec(e),n=t==Ae?W:t==Fe?N:Cl;return n(e)}function Ks(e){if(!e)return 0===e?e:0;if(e=tl(e),e===_e||e===-_e){var t=e<0?-1:1;return t*ve}return e===e?e:0}function Zs(e){var t=Ks(e),n=t%1;return t===t?n?t-n:t:0}function el(e){return e?Hn(Zs(e),0,Me):0}function tl(e){if("number"==typeof e)return e;if(Us(e))return be;if(Es(e)){var t=As(e.valueOf)?e.valueOf():e;e=Es(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(mt,"");var n=Tt.test(e);return n||St.test(e)?jn(e.slice(2),n?2:8):Dt.test(e)?be:+e}function nl(e){return kr(e,yl(e))}function il(e){return Hn(Zs(e),-ye,ye)}function rl(e){return null==e?"":Ki(e)}function al(e,t){var n=Wn(e);return t?Sn(n,t):n}function ol(e,t){return m(e,ta(t,3),ii)}function sl(e,t){return m(e,ta(t,3),ri)}function ll(e,t){return null==e?e:$d(e,ta(t,3),yl)}function ul(e,t){return null==e?e:Vd(e,ta(t,3),yl)}function dl(e,t){return e&&ii(e,ta(t,3))}function cl(e,t){return e&&ri(e,ta(t,3))}function hl(e){return null==e?[]:ai(e,_l(e))}function fl(e){return null==e?[]:ai(e,yl(e))}function pl(e,t,n){var i=null==e?q:oi(e,t);return i===q?n:i}function ml(e,t){return null!=e&&sa(e,t,di)}function gl(e,t){return null!=e&&sa(e,t,ci)}function _l(e){var t=ba(e);if(!t&&!ks(e))return qd(e);var n=ca(e),i=!!n,r=n||[],a=r.length;for(var o in e)!di(e,o)||i&&("length"==o||pa(o,a))||t&&"constructor"==o||r.push(o);return r}function yl(e){for(var t=-1,n=ba(e),i=Ti(e),r=i.length,a=ca(e),o=!!a,s=a||[],l=s.length;++t<r;){var u=i[t];o&&("length"==u||pa(u,l))||"constructor"==u&&(n||!Vu.call(e,u))||s.push(u)}return s}function vl(e,t){var n={};return t=ta(t,3),ii(e,function(e,i,r){n[t(e,i,r)]=e}),n}function bl(e,t){var n={};return t=ta(t,3),ii(e,function(e,i,r){n[i]=t(e,i,r)}),n}function Ml(e,t){return wl(e,ls(ta(t)))}function wl(e,t){return null==e?{}:Fi(e,Kr(e),ta(t))}function kl(e,t,n){t=ga(t,e)?[t]:lr(t);var i=-1,r=t.length;for(r||(e=q,r=1);++i<r;){var a=null==e?q:e[Ta(t[i])];a===q&&(i=r,a=n),e=As(a)?a.call(e):a}return e}function Ll(e,t,n){return null==e?e:Vi(e,t,n)}function xl(e,t,n,i){return i="function"==typeof i?i:q,null==e?e:Vi(e,t,n,i)}function Dl(e,t,n){var i=Nc(e)||Jc(e);if(t=ta(t,4),null==n)if(i||Es(e)){var a=e.constructor;n=i?Nc(e)?new a:[]:As(a)?Wn(Qd(e)):{}}else n={};return(i?r:ii)(e,function(e,i,r){return t(n,e,i,r)}),n}function Tl(e,t){return null==e||er(e,t)}function Yl(e,t,n){return null==e?e:tr(e,t,sr(n))}function Sl(e,t,n,i){return i="function"==typeof i?i:q,null==e?e:tr(e,t,sr(n),i)}function Cl(e){return e?S(e,_l(e)):[]}function Hl(e){return null==e?[]:S(e,yl(e))}function Al(e,t,n){return n===q&&(n=t,t=q),n!==q&&(n=tl(n),n=n===n?n:0),t!==q&&(t=tl(t),t=t===t?t:0),Hn(tl(e),t,n)}function jl(e,t,n){return t=Ks(t),n===q?(n=t,t=0):n=Ks(n),e=tl(e),hi(e,t,n)}function Pl(e,t,n){if(n&&"boolean"!=typeof n&&ma(e,t,n)&&(t=n=q),n===q&&("boolean"==typeof t?(n=t,t=q):"boolean"==typeof e&&(n=e,e=q)),e===q&&t===q?(e=0,t=1):(e=Ks(e),t===q?(t=e,e=0):t=Ks(t)),e>t){var i=e;e=t,t=i}if(n||e%1||t%1){var r=bd();return yd(e+r*(t-e+An("1e-"+((r+"").length-1))),t)}return Ni(e,t)}function El(e){return bh(rl(e).toLowerCase())}function Il(e){return e=rl(e),e&&e.replace(Ht,Jn).replace(vn,"")}function Fl(e,t,n){e=rl(e),t=Ki(t);var i=e.length;n=n===q?i:Hn(Zs(n),0,i);var r=n;return n-=t.length,n>=0&&e.slice(n,r)==t}function Wl(e){return e=rl(e),e&&at.test(e)?e.replace(it,Gn):e}function Ol(e){return e=rl(e),e&&pt.test(e)?e.replace(ft,"\\$&"):e}function Rl(e,t,n){e=rl(e),t=Zs(t);var i=t?B(e):0;if(!t||i>=t)return e;var r=(t-i)/2;return Rr(dd(r),n)+e+Rr(ud(r),n)}function Nl(e,t,n){e=rl(e),t=Zs(t);var i=t?B(e):0;return t&&i<t?e+Rr(t-i,n):e}function zl(e,t,n){e=rl(e),t=Zs(t);var i=t?B(e):0;return t&&i<t?Rr(t-i,n)+e:e}function Bl(e,t,n){return n||null==t?t=0:t&&(t=+t),e=rl(e).replace(mt,""),vd(e,t||(xt.test(e)?16:10))}function $l(e,t,n){return t=(n?ma(e,t,n):t===q)?1:Zs(t),Bi(rl(e),t)}function Vl(){var e=arguments,t=rl(e[0]);return e.length<3?t:Md.call(t,e[1],e[2])}function ql(e,t,n){return n&&"number"!=typeof n&&ma(e,t,n)&&(t=n=q),(n=n===q?Me:n>>>0)?(e=rl(e),e&&("string"==typeof t||null!=t&&!qc(t))&&(t=Ki(t),""==t&&wn.test(e))?ur($(e),0,n):kd.call(e,t,n)):[]}function Ul(e,t,n){return e=rl(e),n=Hn(Zs(n),0,e.length),t=Ki(t),e.slice(n,n+t.length)==t}function Jl(e,t,n){var i=Pt.templateSettings;n&&ma(e,t,n)&&(t=q),e=rl(e),t=Zc({},t,i,mn);var r,a,o=Zc({},t.imports,i.imports,mn),s=_l(o),l=S(o,s),u=0,d=t.interpolate||At,c="__p += '",h=Fu((t.escape||At).source+"|"+d.source+"|"+(d===lt?kt:At).source+"|"+(t.evaluate||At).source+"|$","g"),f="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++xn+"]")+"\n";e.replace(h,function(t,n,i,o,s,l){return i||(i=o),c+=e.slice(u,l).replace(jt,P),n&&(r=!0,c+="' +\n__e("+n+") +\n'"),s&&(a=!0,c+="';\n"+s+";\n__p += '"),i&&(c+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),u=l+t.length,t}),c+="';\n";var p=t.variable;p||(c="with (obj) {\n"+c+"\n}\n"),c=(a?c.replace(Ze,""):c).replace(et,"$1").replace(tt,"$1;"),c="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(r?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+c+"return __p\n}";var m=Mh(function(){return Function(s,f+"return "+c).apply(q,l)});if(m.source=c,Cs(m))throw m;return m}function Gl(e){return rl(e).toLowerCase()}function Xl(e){return rl(e).toUpperCase()}function Ql(e,t,n){if(e=rl(e),e&&(n||t===q))return e.replace(mt,"");if(!e||!(t=Ki(t)))return e;var i=$(e),r=$(t),a=H(i,r),o=A(i,r)+1;return ur(i,a,o).join("")}function Kl(e,t,n){if(e=rl(e),e&&(n||t===q))return e.replace(_t,"");if(!e||!(t=Ki(t)))return e;var i=$(e),r=A(i,$(t))+1;return ur(i,0,r).join("")}function Zl(e,t,n){if(e=rl(e),e&&(n||t===q))return e.replace(gt,"");if(!e||!(t=Ki(t)))return e;var i=$(e),r=H(i,$(t));return ur(i,r).join("")}function eu(e,t){var n=de,i=ce;if(Es(t)){var r="separator"in t?t.separator:r;n="length"in t?Zs(t.length):n,i="omission"in t?Ki(t.omission):i}e=rl(e);var a=e.length;if(wn.test(e)){var o=$(e);a=o.length}if(n>=a)return e;var s=n-B(i);if(s<1)return i;var l=o?ur(o,0,s).join(""):e.slice(0,s);if(r===q)return l+i;if(o&&(s+=l.length-s),qc(r)){if(e.slice(s).search(r)){var u,d=l;for(r.global||(r=Fu(r.source,rl(Lt.exec(r))+"g")),r.lastIndex=0;u=r.exec(d);)var c=u.index;l=l.slice(0,c===q?s:c)}}else if(e.indexOf(Ki(r),s)!=s){var h=l.lastIndexOf(r);h>-1&&(l=l.slice(0,h))}return l+i}function tu(e){return e=rl(e),e&&rt.test(e)?e.replace(nt,Xn):e}function nu(e,t,n){return e=rl(e),t=n?q:t,t===q&&(t=kn.test(e)?Mn:Mt),e.match(t)||[]}function iu(e){var t=e?e.length:0,i=ta();return e=t?d(e,function(e){if("function"!=typeof e[1])throw new Wu(G);return[i(e[0]),e[1]]}):[],$i(function(i){for(var r=-1;++r<t;){var a=e[r];if(n(a[0],this,i))return n(a[1],this,i)}})}function ru(e){return En(Pn(e,!0))}function au(e){return function(){return e}}function ou(e,t){return null==e||e!==e?t:e}function su(e){return e}function lu(e){return Di("function"==typeof e?e:Pn(e,!0))}function uu(e){return Ci(Pn(e,!0))}function du(e,t){return Hi(e,Pn(t,!0))}function cu(e,t,n){var i=_l(t),a=ai(t,i);null!=n||Es(t)&&(a.length||!i.length)||(n=t,t=e,e=this,a=ai(t,_l(t)));var o=!(Es(n)&&"chain"in n&&!n.chain),s=As(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__),r=n.__actions__=wr(this.__actions__);return r.push({func:i,args:arguments,thisArg:e}),n.__chain__=t,n}return i.apply(e,c([this.value()],arguments))})}),e}function hu(){return In._===this&&(In._=Gu),this}function fu(){}function pu(e){return e=Zs(e),$i(function(t){return Pi(t,e)})}function mu(e){return ga(e)?M(Ta(e)):Wi(e)}function gu(e){return function(t){return null==e?q:oi(e,t)}}function _u(){return[]}function yu(){return!1}function vu(){return{}}function bu(){return""}function Mu(){return!0}function wu(e,t){if(e=Zs(e),e<1||e>ye)return[];var n=Me,i=yd(e,Me);t=ta(t),e-=Me;for(var r=D(i,t);++n<e;)t(n);return r}function ku(e){return Nc(e)?d(e,Ta):Us(e)?[e]:wr(rc(e))}function Lu(e){var t=++qu;return rl(e)+t}function xu(e){return e&&e.length?Zn(e,su,ui):q}function Du(e,t){return e&&e.length?Zn(e,ta(t,2),ui):q}function Tu(e){return b(e,su)}function Yu(e,t){return b(e,ta(t,2))}function Su(e){return e&&e.length?Zn(e,su,Yi):q}function Cu(e,t){return e&&e.length?Zn(e,ta(t,2),Yi):q}function Hu(e){return e&&e.length?x(e,su):0}function Au(e,t){return e&&e.length?x(e,ta(t,2)):0}w=w?Qn.defaults({},w,Qn.pick(In,Ln)):In;var ju=w.Array,Pu=w.Date,Eu=w.Error,Iu=w.Math,Fu=w.RegExp,Wu=w.TypeError,Ou=w.Array.prototype,Ru=w.Object.prototype,Nu=w.String.prototype,zu=w["__core-js_shared__"],Bu=function(){var e=/[^.]+$/.exec(zu&&zu.keys&&zu.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),$u=w.Function.prototype.toString,Vu=Ru.hasOwnProperty,qu=0,Uu=$u.call(Object),Ju=Ru.toString,Gu=In._,Xu=Fu("^"+$u.call(Vu).replace(ft,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Qu=On?w.Buffer:q,Ku=w.Reflect,Zu=w.Symbol,ed=w.Uint8Array,td=Ku?Ku.enumerate:q,nd=Zu?Zu.iterator:q,id=w.Object.create,rd=Ru.propertyIsEnumerable,ad=Ou.splice,od=Zu?Zu.isConcatSpreadable:q,sd=function(e){return w.clearTimeout.call(In,e)},ld=function(e,t){return w.setTimeout.call(In,e,t)},ud=Iu.ceil,dd=Iu.floor,cd=Object.getPrototypeOf,hd=Object.getOwnPropertySymbols,fd=Qu?Qu.isBuffer:q,pd=w.isFinite,md=Ou.join,gd=Object.keys,_d=Iu.max,yd=Iu.min,vd=w.parseInt,bd=Iu.random,Md=Nu.replace,wd=Ou.reverse,kd=Nu.split,Ld=ra(w,"DataView"),xd=ra(w,"Map"),Dd=ra(w,"Promise"),Td=ra(w,"Set"),Yd=ra(w,"WeakMap"),Sd=ra(w.Object,"create"),Cd=function(){var e=ra(w.Object,"defineProperty"),t=ra.name;return t&&t.length>2?e:q}(),Hd=Yd&&new Yd,Ad=!rd.call({valueOf:1},"valueOf"),jd={},Pd=Ya(Ld),Ed=Ya(xd),Id=Ya(Dd),Fd=Ya(Td),Wd=Ya(Yd),Od=Zu?Zu.prototype:q,Rd=Od?Od.valueOf:q,Nd=Od?Od.toString:q;Pt.templateSettings={escape:ot,evaluate:st,interpolate:lt,variable:"",imports:{_:Pt}},Pt.prototype=Et.prototype,Pt.prototype.constructor=Pt,It.prototype=Wn(Et.prototype),It.prototype.constructor=It,Ft.prototype=Wn(Et.prototype),Ft.prototype.constructor=Ft,Nt.prototype.clear=zt,Nt.prototype["delete"]=Bt,Nt.prototype.get=$t,Nt.prototype.has=Vt,Nt.prototype.set=qt,Ut.prototype.clear=Jt,Ut.prototype["delete"]=Gt,Ut.prototype.get=Xt,Ut.prototype.has=Qt,Ut.prototype.set=Kt,Zt.prototype.clear=en,Zt.prototype["delete"]=tn,Zt.prototype.get=nn,Zt.prototype.has=rn,Zt.prototype.set=an,on.prototype.add=on.prototype.push=sn,on.prototype.has=ln,un.prototype.clear=dn,un.prototype["delete"]=cn,un.prototype.get=hn,un.prototype.has=fn,un.prototype.set=pn;var zd=Tr(ii),Bd=Tr(ri,!0),$d=Yr(),Vd=Yr(!0),qd=O(gd,Object);td&&!rd.call({valueOf:1},"valueOf")&&(Ti=function(e){return F(td(e))});var Ud=Hd?function(e,t){return Hd.set(e,t),e}:su,Jd=Td&&1/N(new Td([,-0]))[1]==_e?function(e){return new Td(e)}:fu,Gd=Hd?function(e){return Hd.get(e)}:fu,Xd=M("length"),Qd=O(cd,Object),Kd=hd?O(hd,Object):_u,Zd=hd?function(e){for(var t=[];e;)c(t,Kd(e)),e=Qd(e);return t}:_u,ec=li;(Ld&&ec(new Ld(new ArrayBuffer(1)))!=Be||xd&&ec(new xd)!=Ae||Dd&&ec(Dd.resolve())!=Ee||Td&&ec(new Td)!=Fe||Yd&&ec(new Yd)!=Re)&&(ec=function(e){var t=Ju.call(e),n=t==Pe?e.constructor:q,i=n?Ya(n):q;if(i)switch(i){case Pd:return Be;case Ed:return Ae;case Id:return Ee;case Fd:return Fe;case Wd:return Re}return t});var tc=zu?As:yu,nc=function(){var e=0,t=0;return function(n,i){var r=Zo(),a=fe-(r-t);if(t=r,a>0){if(++e>=he)return n}else e=0;return Ud(n,i)}}(),ic=Cd?function(e,t,n){var i=t+"";return Cd(e,"toString",{configurable:!0,enumerable:!1,value:au(ha(i,Sa(oa(i),n)))})}:su,rc=ss(function(e){e=rl(e);var t=[];return ct.test(e)&&t.push(""),e.replace(ht,function(e,n,i,r){t.push(i?r.replace(wt,"$1"):n||e)}),t}),ac=$i(function(e,t){return Ls(e)?Nn(e,ni(t,1,Ls,!0)):[]}),oc=$i(function(e,t){var n=Ga(t);return Ls(n)&&(n=q),Ls(e)?Nn(e,ni(t,1,Ls,!0),ta(n,2)):[]}),sc=$i(function(e,t){var n=Ga(t);return Ls(n)&&(n=q),Ls(e)?Nn(e,ni(t,1,Ls,!0),q,n):[]}),lc=$i(function(e){var t=d(e,or);return t.length&&t[0]===e[0]?fi(t):[]}),uc=$i(function(e){var t=Ga(e),n=d(e,or);return t===Ga(n)?t=q:n.pop(),n.length&&n[0]===e[0]?fi(n,ta(t,2)):[]}),dc=$i(function(e){var t=Ga(e),n=d(e,or);return t===Ga(n)?t=q:n.pop(),n.length&&n[0]===e[0]?fi(n,q,t):[]}),cc=$i(Ka),hc=$i(function(e,t){t=ni(t,1);var n=e?e.length:0,i=Cn(e,t);return Ri(e,d(t,function(e){return pa(e,n)?+e:e}).sort(yr)),i}),fc=$i(function(e){return Zi(ni(e,1,Ls,!0))}),pc=$i(function(e){var t=Ga(e);return Ls(t)&&(t=q),Zi(ni(e,1,Ls,!0),ta(t,2))}),mc=$i(function(e){var t=Ga(e);return Ls(t)&&(t=q),Zi(ni(e,1,Ls,!0),q,t)}),gc=$i(function(e,t){return Ls(e)?Nn(e,t):[]}),_c=$i(function(e){return rr(s(e,Ls))}),yc=$i(function(e){var t=Ga(e);return Ls(t)&&(t=q),rr(s(e,Ls),ta(t,2))}),vc=$i(function(e){var t=Ga(e);return Ls(t)&&(t=q),rr(s(e,Ls),q,t)}),bc=$i(Mo),Mc=$i(function(e){var t=e.length,n=t>1?e[t-1]:q;return n="function"==typeof n?(e.pop(),n):q,wo(e,n)}),wc=$i(function(e){e=ni(e,1);var t=e.length,n=t?e[0]:0,i=this.__wrapped__,r=function(t){return Cn(t,e)};return!(t>1||this.__actions__.length)&&i instanceof Ft&&pa(n)?(i=i.slice(n,+n+(t?1:0)),i.__actions__.push({func:To,args:[r],thisArg:q}),new It(i,this.__chain__).thru(function(e){return t&&!e.length&&e.push(q),e})):this.thru(r)}),kc=xr(function(e,t,n){Vu.call(e,n)?++e[n]:e[n]=1}),Lc=Pr(Oa),xc=Pr(Ra),Dc=xr(function(e,t,n){Vu.call(e,n)?e[n].push(t):e[n]=[t]}),Tc=$i(function(e,t,i){var r=-1,a="function"==typeof t,o=ga(t),s=ks(e)?ju(e.length):[];return zd(e,function(e){var l=a?t:o&&null!=e?e[t]:q;s[++r]=l?n(l,e,i):mi(e,t,i)}),s}),Yc=xr(function(e,t,n){e[n]=t}),Sc=xr(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),Cc=$i(function(e,t){if(null==e)return[];var n=t.length;return n>1&&ma(e,t[0],t[1])?t=[]:n>2&&ma(t[0],t[1],t[2])&&(t=[t[0]]),Ei(e,ni(t,1),[])}),Hc=$i(function(e,t,n){var i=K;if(n.length){var r=R(n,ea(Hc));i|=ie}return Ur(e,i,t,n,r)}),Ac=$i(function(e,t,n){var i=K|Z;if(n.length){var r=R(n,ea(Ac));i|=ie}return Ur(t,i,e,n,r)}),jc=$i(function(e,t){return Rn(e,1,t)}),Pc=$i(function(e,t,n){return Rn(e,tl(t)||0,n)});ss.Cache=Zt;var Ec=$i(function(e,t){t=1==t.length&&Nc(t[0])?d(t[0],Y(ta())):d(ni(t,1),Y(ta()));var i=t.length;return $i(function(r){for(var a=-1,o=yd(r.length,i);++a<o;)r[a]=t[a].call(this,r[a]);return n(e,this,r)})}),Ic=$i(function(e,t){var n=R(t,ea(Ic));return Ur(e,ie,q,t,n)}),Fc=$i(function(e,t){var n=R(t,ea(Fc));return Ur(e,re,q,t,n)}),Wc=$i(function(e,t){return Ur(e,oe,q,q,q,ni(t,1))}),Oc=Br(ui),Rc=Br(function(e,t){return e>=t}),Nc=ju.isArray,zc=zn?Y(zn):gi,Bc=fd||yu,$c=Bn?Y(Bn):_i,Vc=$n?Y($n):bi,qc=Vn?Y(Vn):ki,Uc=qn?Y(qn):Li,Jc=Un?Y(Un):xi,Gc=Br(Yi),Xc=Br(function(e,t){return e<=t}),Qc=Dr(function(e,t){if(Ad||ba(t)||ks(t))return void kr(t,_l(t),e);for(var n in t)Vu.call(t,n)&&_n(e,n,t[n])}),Kc=Dr(function(e,t){if(Ad||ba(t)||ks(t))return void kr(t,yl(t),e);for(var n in t)_n(e,n,t[n])}),Zc=Dr(function(e,t,n,i){kr(t,yl(t),e,i)}),eh=Dr(function(e,t,n,i){kr(t,_l(t),e,i)}),th=$i(function(e,t){return Cn(e,ni(t,1))}),nh=$i(function(e){return e.push(q,mn),n(Zc,q,e)}),ih=$i(function(e){return e.push(q,La),n(lh,q,e)}),rh=Fr(function(e,t,n){e[t]=n},au(su)),ah=Fr(function(e,t,n){Vu.call(e,t)?e[t].push(n):e[t]=[n]},ta),oh=$i(mi),sh=Dr(function(e,t,n){Ai(e,t,n)}),lh=Dr(function(e,t,n,i){Ai(e,t,n,i)}),uh=$i(function(e,t){return null==e?{}:(t=d(ni(t,1),Ta),Ii(e,Nn(Kr(e),t)))}),dh=$i(function(e,t){return null==e?{}:Ii(e,d(ni(t,1),Ta))}),ch=qr(_l),hh=qr(yl),fh=Hr(function(e,t,n){return t=t.toLowerCase(),e+(n?El(t):t)}),ph=Hr(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),mh=Hr(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),gh=Cr("toLowerCase"),_h=Hr(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),yh=Hr(function(e,t,n){return e+(n?" ":"")+bh(t)}),vh=Hr(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),bh=Cr("toUpperCase"),Mh=$i(function(e,t){try{return n(e,q,t)}catch(i){return Cs(i)?i:new Eu(i)}}),wh=$i(function(e,t){return r(ni(t,1),function(t){t=Ta(t),e[t]=Hc(e[t],e)}),e}),kh=Er(),Lh=Er(!0),xh=$i(function(e,t){return function(n){return mi(n,e,t)}}),Dh=$i(function(e,t){return function(n){return mi(e,n,t)}}),Th=Or(d),Yh=Or(o),Sh=Or(p),Ch=zr(),Hh=zr(!0),Ah=Wr(function(e,t){return e+t},0),jh=Vr("ceil"),Ph=Wr(function(e,t){return e/t},1),Eh=Vr("floor"),Ih=Wr(function(e,t){return e*t},1),Fh=Vr("round"),Wh=Wr(function(e,t){return e-t},0);return Pt.after=es,Pt.ary=ts,Pt.assign=Qc,Pt.assignIn=Kc,Pt.assignInWith=Zc,Pt.assignWith=eh,Pt.at=th,Pt.before=ns,Pt.bind=Hc,Pt.bindAll=wh,Pt.bindKey=Ac,Pt.castArray=ms,Pt.chain=xo,Pt.chunk=Ha,Pt.compact=Aa,Pt.concat=ja,Pt.cond=iu,Pt.conforms=ru,Pt.constant=au,Pt.countBy=kc,Pt.create=al,Pt.curry=is,Pt.curryRight=rs,Pt.debounce=as,Pt.defaults=nh,Pt.defaultsDeep=ih,Pt.defer=jc,Pt.delay=Pc,Pt.difference=ac,
Pt.differenceBy=oc,Pt.differenceWith=sc,Pt.drop=Pa,Pt.dropRight=Ea,Pt.dropRightWhile=Ia,Pt.dropWhile=Fa,Pt.fill=Wa,Pt.filter=Io,Pt.flatMap=Fo,Pt.flatMapDeep=Wo,Pt.flatMapDepth=Oo,Pt.flatten=Na,Pt.flattenDeep=za,Pt.flattenDepth=Ba,Pt.flip=os,Pt.flow=kh,Pt.flowRight=Lh,Pt.fromPairs=$a,Pt.functions=hl,Pt.functionsIn=fl,Pt.groupBy=Dc,Pt.initial=Ua,Pt.intersection=lc,Pt.intersectionBy=uc,Pt.intersectionWith=dc,Pt.invert=rh,Pt.invertBy=ah,Pt.invokeMap=Tc,Pt.iteratee=lu,Pt.keyBy=Yc,Pt.keys=_l,Pt.keysIn=yl,Pt.map=Bo,Pt.mapKeys=vl,Pt.mapValues=bl,Pt.matches=uu,Pt.matchesProperty=du,Pt.memoize=ss,Pt.merge=sh,Pt.mergeWith=lh,Pt.method=xh,Pt.methodOf=Dh,Pt.mixin=cu,Pt.negate=ls,Pt.nthArg=pu,Pt.omit=uh,Pt.omitBy=Ml,Pt.once=us,Pt.orderBy=$o,Pt.over=Th,Pt.overArgs=Ec,Pt.overEvery=Yh,Pt.overSome=Sh,Pt.partial=Ic,Pt.partialRight=Fc,Pt.partition=Sc,Pt.pick=dh,Pt.pickBy=wl,Pt.property=mu,Pt.propertyOf=gu,Pt.pull=cc,Pt.pullAll=Ka,Pt.pullAllBy=Za,Pt.pullAllWith=eo,Pt.pullAt=hc,Pt.range=Ch,Pt.rangeRight=Hh,Pt.rearg=Wc,Pt.reject=Uo,Pt.remove=to,Pt.rest=ds,Pt.reverse=no,Pt.sampleSize=Go,Pt.set=Ll,Pt.setWith=xl,Pt.shuffle=Xo,Pt.slice=io,Pt.sortBy=Cc,Pt.sortedUniq=co,Pt.sortedUniqBy=ho,Pt.split=ql,Pt.spread=cs,Pt.tail=fo,Pt.take=po,Pt.takeRight=mo,Pt.takeRightWhile=go,Pt.takeWhile=_o,Pt.tap=Do,Pt.throttle=hs,Pt.thru=To,Pt.toArray=Qs,Pt.toPairs=ch,Pt.toPairsIn=hh,Pt.toPath=ku,Pt.toPlainObject=nl,Pt.transform=Dl,Pt.unary=fs,Pt.union=fc,Pt.unionBy=pc,Pt.unionWith=mc,Pt.uniq=yo,Pt.uniqBy=vo,Pt.uniqWith=bo,Pt.unset=Tl,Pt.unzip=Mo,Pt.unzipWith=wo,Pt.update=Yl,Pt.updateWith=Sl,Pt.values=Cl,Pt.valuesIn=Hl,Pt.without=gc,Pt.words=nu,Pt.wrap=ps,Pt.xor=_c,Pt.xorBy=yc,Pt.xorWith=vc,Pt.zip=bc,Pt.zipObject=ko,Pt.zipObjectDeep=Lo,Pt.zipWith=Mc,Pt.entries=ch,Pt.entriesIn=hh,Pt.extend=Kc,Pt.extendWith=Zc,cu(Pt,Pt),Pt.add=Ah,Pt.attempt=Mh,Pt.camelCase=fh,Pt.capitalize=El,Pt.ceil=jh,Pt.clamp=Al,Pt.clone=gs,Pt.cloneDeep=ys,Pt.cloneDeepWith=vs,Pt.cloneWith=_s,Pt.conformsTo=bs,Pt.deburr=Il,Pt.defaultTo=ou,Pt.divide=Ph,Pt.endsWith=Fl,Pt.eq=Ms,Pt.escape=Wl,Pt.escapeRegExp=Ol,Pt.every=Eo,Pt.find=Lc,Pt.findIndex=Oa,Pt.findKey=ol,Pt.findLast=xc,Pt.findLastIndex=Ra,Pt.findLastKey=sl,Pt.floor=Eh,Pt.forEach=Ro,Pt.forEachRight=No,Pt.forIn=ll,Pt.forInRight=ul,Pt.forOwn=dl,Pt.forOwnRight=cl,Pt.get=pl,Pt.gt=Oc,Pt.gte=Rc,Pt.has=ml,Pt.hasIn=gl,Pt.head=Va,Pt.identity=su,Pt.includes=zo,Pt.indexOf=qa,Pt.inRange=jl,Pt.invoke=oh,Pt.isArguments=ws,Pt.isArray=Nc,Pt.isArrayBuffer=zc,Pt.isArrayLike=ks,Pt.isArrayLikeObject=Ls,Pt.isBoolean=xs,Pt.isBuffer=Bc,Pt.isDate=$c,Pt.isElement=Ds,Pt.isEmpty=Ts,Pt.isEqual=Ys,Pt.isEqualWith=Ss,Pt.isError=Cs,Pt.isFinite=Hs,Pt.isFunction=As,Pt.isInteger=js,Pt.isLength=Ps,Pt.isMap=Vc,Pt.isMatch=Fs,Pt.isMatchWith=Ws,Pt.isNaN=Os,Pt.isNative=Rs,Pt.isNil=zs,Pt.isNull=Ns,Pt.isNumber=Bs,Pt.isObject=Es,Pt.isObjectLike=Is,Pt.isPlainObject=$s,Pt.isRegExp=qc,Pt.isSafeInteger=Vs,Pt.isSet=Uc,Pt.isString=qs,Pt.isSymbol=Us,Pt.isTypedArray=Jc,Pt.isUndefined=Js,Pt.isWeakMap=Gs,Pt.isWeakSet=Xs,Pt.join=Ja,Pt.kebabCase=ph,Pt.last=Ga,Pt.lastIndexOf=Xa,Pt.lowerCase=mh,Pt.lowerFirst=gh,Pt.lt=Gc,Pt.lte=Xc,Pt.max=xu,Pt.maxBy=Du,Pt.mean=Tu,Pt.meanBy=Yu,Pt.min=Su,Pt.minBy=Cu,Pt.stubArray=_u,Pt.stubFalse=yu,Pt.stubObject=vu,Pt.stubString=bu,Pt.stubTrue=Mu,Pt.multiply=Ih,Pt.nth=Qa,Pt.noConflict=hu,Pt.noop=fu,Pt.now=Zo,Pt.pad=Rl,Pt.padEnd=Nl,Pt.padStart=zl,Pt.parseInt=Bl,Pt.random=Pl,Pt.reduce=Vo,Pt.reduceRight=qo,Pt.repeat=$l,Pt.replace=Vl,Pt.result=kl,Pt.round=Fh,Pt.runInContext=V,Pt.sample=Jo,Pt.size=Qo,Pt.snakeCase=_h,Pt.some=Ko,Pt.sortedIndex=ro,Pt.sortedIndexBy=ao,Pt.sortedIndexOf=oo,Pt.sortedLastIndex=so,Pt.sortedLastIndexBy=lo,Pt.sortedLastIndexOf=uo,Pt.startCase=yh,Pt.startsWith=Ul,Pt.subtract=Wh,Pt.sum=Hu,Pt.sumBy=Au,Pt.template=Jl,Pt.times=wu,Pt.toFinite=Ks,Pt.toInteger=Zs,Pt.toLength=el,Pt.toLower=Gl,Pt.toNumber=tl,Pt.toSafeInteger=il,Pt.toString=rl,Pt.toUpper=Xl,Pt.trim=Ql,Pt.trimEnd=Kl,Pt.trimStart=Zl,Pt.truncate=eu,Pt.unescape=tu,Pt.uniqueId=Lu,Pt.upperCase=vh,Pt.upperFirst=bh,Pt.each=Ro,Pt.eachRight=No,Pt.first=Va,cu(Pt,function(){var e={};return ii(Pt,function(t,n){Vu.call(Pt.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),Pt.VERSION=U,r(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){Pt[e].placeholder=Pt}),r(["drop","take"],function(e,t){Ft.prototype[e]=function(n){var i=this.__filtered__;if(i&&!t)return new Ft(this);n=n===q?1:_d(Zs(n),0);var r=this.clone();return i?r.__takeCount__=yd(n,r.__takeCount__):r.__views__.push({size:yd(n,Me),type:e+(r.__dir__<0?"Right":"")}),r},Ft.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),r(["filter","map","takeWhile"],function(e,t){var n=t+1,i=n==pe||n==ge;Ft.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ta(e,3),type:n}),t.__filtered__=t.__filtered__||i,t}}),r(["head","last"],function(e,t){var n="take"+(t?"Right":"");Ft.prototype[e]=function(){return this[n](1).value()[0]}}),r(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");Ft.prototype[e]=function(){return this.__filtered__?new Ft(this):this[n](1)}}),Ft.prototype.compact=function(){return this.filter(su)},Ft.prototype.find=function(e){return this.filter(e).head()},Ft.prototype.findLast=function(e){return this.reverse().find(e)},Ft.prototype.invokeMap=$i(function(e,t){return"function"==typeof e?new Ft(this):this.map(function(n){return mi(n,e,t)})}),Ft.prototype.reject=function(e){return this.filter(ls(ta(e)))},Ft.prototype.slice=function(e,t){e=Zs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Ft(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==q&&(t=Zs(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},Ft.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ft.prototype.toArray=function(){return this.take(Me)},ii(Ft.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),r=Pt[i?"take"+("last"==t?"Right":""):t],a=i||/^find/.test(t);r&&(Pt.prototype[t]=function(){var t=this.__wrapped__,o=i?[1]:arguments,s=t instanceof Ft,l=o[0],u=s||Nc(t),d=function(e){var t=r.apply(Pt,c([e],o));return i&&h?t[0]:t};u&&n&&"function"==typeof l&&1!=l.length&&(s=u=!1);var h=this.__chain__,f=!!this.__actions__.length,p=a&&!h,m=s&&!f;if(!a&&u){t=m?t:new Ft(this);var g=e.apply(t,o);return g.__actions__.push({func:To,args:[d],thisArg:q}),new It(g,h)}return p&&m?e.apply(this,o):(g=this.thru(d),p?i?g.value()[0]:g.value():g)})}),r(["pop","push","shift","sort","splice","unshift"],function(e){var t=Ou[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);Pt.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var r=this.value();return t.apply(Nc(r)?r:[],e)}return this[n](function(n){return t.apply(Nc(n)?n:[],e)})}}),ii(Ft.prototype,function(e,t){var n=Pt[t];if(n){var i=n.name+"",r=jd[i]||(jd[i]=[]);r.push({name:t,func:n})}}),jd[Ir(q,Z).name]=[{name:"wrapper",func:q}],Ft.prototype.clone=Wt,Ft.prototype.reverse=Ot,Ft.prototype.value=Rt,Pt.prototype.at=wc,Pt.prototype.chain=Yo,Pt.prototype.commit=So,Pt.prototype.next=Co,Pt.prototype.plant=Ao,Pt.prototype.reverse=jo,Pt.prototype.toJSON=Pt.prototype.valueOf=Pt.prototype.value=Po,Pt.prototype.first=Pt.prototype.head,nd&&(Pt.prototype[nd]=Ho),Pt}var q,U="4.14.1",J=200,G="Expected a function",X="__lodash_hash_undefined__",Q="__lodash_placeholder__",K=1,Z=2,ee=4,te=8,ne=16,ie=32,re=64,ae=128,oe=256,se=512,le=1,ue=2,de=30,ce="...",he=150,fe=16,pe=1,me=2,ge=3,_e=1/0,ye=9007199254740991,ve=1.7976931348623157e308,be=NaN,Me=4294967295,we=Me-1,ke=Me>>>1,Le=[["ary",ae],["bind",K],["bindKey",Z],["curry",te],["curryRight",ne],["flip",se],["partial",ie],["partialRight",re],["rearg",oe]],xe="[object Arguments]",De="[object Array]",Te="[object Boolean]",Ye="[object Date]",Se="[object Error]",Ce="[object Function]",He="[object GeneratorFunction]",Ae="[object Map]",je="[object Number]",Pe="[object Object]",Ee="[object Promise]",Ie="[object RegExp]",Fe="[object Set]",We="[object String]",Oe="[object Symbol]",Re="[object WeakMap]",Ne="[object WeakSet]",ze="[object ArrayBuffer]",Be="[object DataView]",$e="[object Float32Array]",Ve="[object Float64Array]",qe="[object Int8Array]",Ue="[object Int16Array]",Je="[object Int32Array]",Ge="[object Uint8Array]",Xe="[object Uint8ClampedArray]",Qe="[object Uint16Array]",Ke="[object Uint32Array]",Ze=/\b__p \+= '';/g,et=/\b(__p \+=) '' \+/g,tt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,nt=/&(?:amp|lt|gt|quot|#39|#96);/g,it=/[&<>"'`]/g,rt=RegExp(nt.source),at=RegExp(it.source),ot=/<%-([\s\S]+?)%>/g,st=/<%([\s\S]+?)%>/g,lt=/<%=([\s\S]+?)%>/g,ut=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,dt=/^\w*$/,ct=/^\./,ht=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ft=/[\\^$.*+?()[\]{}|]/g,pt=RegExp(ft.source),mt=/^\s+|\s+$/g,gt=/^\s+/,_t=/\s+$/,yt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,vt=/\{\n\/\* \[wrapped with (.+)\] \*/,bt=/,? & /,Mt=/[a-zA-Z0-9]+/g,wt=/\\(\\)?/g,kt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Lt=/\w*$/,xt=/^0x/i,Dt=/^[-+]0x[0-9a-f]+$/i,Tt=/^0b[01]+$/i,Yt=/^\[object .+?Constructor\]$/,St=/^0o[0-7]+$/i,Ct=/^(?:0|[1-9]\d*)$/,Ht=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,At=/($^)/,jt=/['\n\r\u2028\u2029\\]/g,Pt="\\ud800-\\udfff",Et="\\u0300-\\u036f\\ufe20-\\ufe23",It="\\u20d0-\\u20f0",Ft="\\u2700-\\u27bf",Wt="a-z\\xdf-\\xf6\\xf8-\\xff",Ot="\\xac\\xb1\\xd7\\xf7",Rt="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Nt="\\u2000-\\u206f",zt=" \\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",Bt="A-Z\\xc0-\\xd6\\xd8-\\xde",$t="\\ufe0e\\ufe0f",Vt=Ot+Rt+Nt+zt,qt="[']",Ut="["+Pt+"]",Jt="["+Vt+"]",Gt="["+Et+It+"]",Xt="\\d+",Qt="["+Ft+"]",Kt="["+Wt+"]",Zt="[^"+Pt+Vt+Xt+Ft+Wt+Bt+"]",en="\\ud83c[\\udffb-\\udfff]",tn="(?:"+Gt+"|"+en+")",nn="[^"+Pt+"]",rn="(?:\\ud83c[\\udde6-\\uddff]){2}",an="[\\ud800-\\udbff][\\udc00-\\udfff]",on="["+Bt+"]",sn="\\u200d",ln="(?:"+Kt+"|"+Zt+")",un="(?:"+on+"|"+Zt+")",dn="(?:"+qt+"(?:d|ll|m|re|s|t|ve))?",cn="(?:"+qt+"(?:D|LL|M|RE|S|T|VE))?",hn=tn+"?",fn="["+$t+"]?",pn="(?:"+sn+"(?:"+[nn,rn,an].join("|")+")"+fn+hn+")*",mn=fn+hn+pn,gn="(?:"+[Qt,rn,an].join("|")+")"+mn,_n="(?:"+[nn+Gt+"?",Gt,rn,an,Ut].join("|")+")",yn=RegExp(qt,"g"),vn=RegExp(Gt,"g"),bn=RegExp(en+"(?="+en+")|"+_n+mn,"g"),Mn=RegExp([on+"?"+Kt+"+"+dn+"(?="+[Jt,on,"$"].join("|")+")",un+"+"+cn+"(?="+[Jt,on+ln,"$"].join("|")+")",on+"?"+ln+"+"+dn,on+"+"+cn,Xt,gn].join("|"),"g"),wn=RegExp("["+sn+Pt+Et+It+$t+"]"),kn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ln=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","Reflect","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],xn=-1,Dn={};Dn[$e]=Dn[Ve]=Dn[qe]=Dn[Ue]=Dn[Je]=Dn[Ge]=Dn[Xe]=Dn[Qe]=Dn[Ke]=!0,Dn[xe]=Dn[De]=Dn[ze]=Dn[Te]=Dn[Be]=Dn[Ye]=Dn[Se]=Dn[Ce]=Dn[Ae]=Dn[je]=Dn[Pe]=Dn[Ie]=Dn[Fe]=Dn[We]=Dn[Re]=!1;var Tn={};Tn[xe]=Tn[De]=Tn[ze]=Tn[Be]=Tn[Te]=Tn[Ye]=Tn[$e]=Tn[Ve]=Tn[qe]=Tn[Ue]=Tn[Je]=Tn[Ae]=Tn[je]=Tn[Pe]=Tn[Ie]=Tn[Fe]=Tn[We]=Tn[Oe]=Tn[Ge]=Tn[Xe]=Tn[Qe]=Tn[Ke]=!0,Tn[Se]=Tn[Ce]=Tn[Re]=!1;var Yn={"À":"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"},Sn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"},Cn={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#96;":"`"},Hn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},An=parseFloat,jn=parseInt,Pn="object"==typeof global&&global&&global.Object===Object&&global,En="object"==typeof self&&self&&self.Object===Object&&self,In=Pn||En||Function("return this")(),Fn="object"==typeof exports&&exports&&!exports.nodeType&&exports,Wn=Fn&&"object"==typeof module&&module&&!module.nodeType&&module,On=Wn&&Wn.exports===Fn,Rn=On&&Pn.process,Nn=function(){try{return Rn&&Rn.binding("util")}catch(e){}}(),zn=Nn&&Nn.isArrayBuffer,Bn=Nn&&Nn.isDate,$n=Nn&&Nn.isMap,Vn=Nn&&Nn.isRegExp,qn=Nn&&Nn.isSet,Un=Nn&&Nn.isTypedArray,Jn=w(Yn),Gn=w(Sn),Xn=w(Cn),Qn=V();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(In._=Qn,define(function(){return Qn})):Wn?((Wn.exports=Qn)._=Qn,Fn._=Qn):In._=Qn}.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 t=window.getComputedStyle(e,null),i=Math.round(parseFloat(t.height)),a=Math.round(parseFloat(e.style.height));if(i!==a?"visible"!==t.overflowY&&n("visible"):"hidden"!==t.overflowY&&n("hidden"),d!==i){d=i;var s=o("autosize:resized");e.dispatchEvent(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),a["delete"](e),Object.keys(t).forEach(function(n){e.style[n]=t[n]})}.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),a.add(e),e.style.overflowX="hidden",e.style.wordWrap="break-word",t()}}function i(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName){var t=o("autosize:destroy");e.dispatchEvent(t)}}function r(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName){var t=o("autosize:update");e.dispatchEvent(t)}}var a="function"==typeof Set?new Set:function(){var e=[];return{has:function(t){return Boolean(e.indexOf(t)>-1)},add:function(t){e.push(t)},"delete":function(t){e.splice(e.indexOf(t),1)}}}(),o=function(e){return new Event(e)};try{new Event("test")}catch(s){o=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}var l=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?(l=function(e){return e},l.destroy=function(e){return e},l.update=function(e){return e}):(l=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return n(e,t)}),e},l.destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],i),e},l.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],r),e}),t.exports=l}),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),a=(t.hasOwnProperty,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;i<r;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;s<l;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(;++i<r;)(n=e[i]).callback.call(n.ctx);return;case 1:for(;++i<r;)(n=e[i]).callback.call(n.ctx,t[0]);return;case 2:for(;++i<r;)(n=e[i]).callback.call(n.ctx,t[0],t[1]);return;case 3:for(;++i<r;)(n=e[i]).callback.call(n.ctx,t[0],t[1],t[2]);return;default:for(;++i<r;)(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;l<u;l++)if(e=s[l],r=this._events[e]){if(o=[],n||i)for(d=0,c=r.length;d<c;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;t<n;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 new 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;if(this.rendered||this.render(),this.$message.removeClass("messenger-hidden"),e=this.shown,this.shown=!0,!e)return 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(){if(this.options.scroll)return e.scrollTo(this.$el,{duration:400,offset:{left:0,top:-20}})},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;u<d;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(){if(this.clearTimers(),this.hide(),null!=this._actionInstance&&null!=this._actionInstance.abort)return this._actionInstance.abort()},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...":e<60?t(e,"second"):(e/=60,e<60?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,i<=10?(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;n<i;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(){if(e.scrollTo&&"fixed"!==s.$el.css("position"))return t.scrollTo()}),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;r<a;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;t<n;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=2<=arguments.length?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=1<=arguments.length?f.call(arguments,0):[],i=null,r=null,e=null,o=0,s=n.length;o<s;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=3<=arguments.length?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,k,L,x,D,T;return y=1<=arguments.length?f.call(arguments,0):[],M=m._normalizeResponse.apply(m,y),_=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"!==_?"error"===r&&null!=s.ignoredErrorCodes&&(k=null!=b?b.status:void 0,p.call(s.ignoredErrorCodes,k)>=0)?void l.hide():(c={message:i(r,b),type:r,events:null!=(L=n[r])?L:{},hideOnNavigate:"success"===r},g=e.extend({},s,c,v),"number"==typeof(null!=(x=g.retry)?x.allow:void 0)&&g.retry.allow--,"error"===r&&(null!=b?b.status:void 0)>=500&&(null!=(D=g.retry)?D.allow:void 0)?(null==g.retry.delay&&(g.errorCount<4?g.retry.delay=10:g.retry.delay=300),g.hideAfter&&(null==(T=g._hideAfter)&&(g._hideAfter=g.hideAfter),g.hideAfter=g._hideAfter+g.retry.delay),g._retryActions=!0,g.actions={retry:{label:"retry now",phrase:"Retrying TIME",auto:g.retry.auto,delay:g.retry.delay,action:function(){return g.messageInstance=l,setTimeout(function(){return m["do"].apply(m,[g,d].concat(f.call(t)))},0)}},cancel:{action:function(){return l.cancel()}}}):g._retryActions&&(delete g.actions.retry,delete g.actions.cancel,delete s._retryActions),l.update(g),v&&g.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=2<=arguments.length?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=2<=arguments.length?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;c<h;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=_({},t),e[F]=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||O,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 O.defaultView&&O.defaultView.getComputedStyle?n=O.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(;r<a;r++)n(i[r],r);return i}return[]}function u(e,t,n,i,r,a,o){var s=O.createEvent("Event"),l=(e||t[F]).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[F],u=l.options.onMove;return o=O.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 g(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 _(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,k,L,x,D,T,Y,S,C,H,A,j,P,E={},I=/\s+/g,F="Sortable"+(new Date).getTime(),W=window,O=W.document,R=W.parseInt,N=!!("draggable"in O.createElement("div")),z=function(e){return e=O.createElement("x"),e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}(),B=!1,$=Math.abs,V=([].slice,[]),q=g(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(x!==n&&(L=t.scroll,x=n,L===!0)){L=n;do if(L.offsetWidth<L.scrollWidth||L.offsetHeight<L.scrollHeight)break;while(L=L.parentNode)}L&&(i=L,r=L.getBoundingClientRect(),a=($(r.right-u)<=s)-($(r.left-u)<=s),o=($(r.bottom-d)<=s)-($(r.top-d)<=s)),a||o||(a=(c-u<=s)-(u<=s),o=(h-d<=s)-(d<=s),(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){if(e=n(l,e.trim(),i))return u(t,e,"filter",s,i,S),!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&&(A=e,w=s,y=n,v=y.parentNode,k=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?(A={target:y,clientX:e.clientX,clientY:e.clientY},this._onDragStart(A,"touch")):this.nativeDraggable?(r(y,"dragend",this),r(w,"dragstart",this._onDragStart)):this._onDragStart(A,!0);try{O.selection?O.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(j){if(this._lastX===j.clientX&&this._lastY===j.clientY)return;this._lastX=j.clientX,this._lastY=j.clientY,z||s(b,"display","none");var e=O.elementFromPoint(j.clientX,j.clientY),t=e,n=" "+this.options.group.name,i=V.length;if(t)do{if(t[F]&&t[F].options.groups.indexOf(n)>-1){for(;i--;)V[i]({clientX:j.clientX,clientY:j.clientY,target:e,rootEl:t});break}e=t}while(t=t.parentNode);z||s(b,"display","")}},_onTouchMove:function(t){if(A){e.active||this._dragStarted(),this._appendGhost();var n=t.touches?t.touches[0]:t,i=n.clientX-A.clientX,r=n.clientY-A.clientY,a=t.touches?"translate3d("+i+"px,"+r+"px,0)":"translate("+i+"px,"+r+"px)";P=!0,j=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&&O.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(O,"touchmove",this._onTouchMove),r(O,"touchend",this._onDrop),r(O,"touchcancel",this._onDrop)):(r(O,"mousemove",this._onTouchMove),r(O,"mouseup",this._onDrop)),this._loopId=setInterval(this._emulateDragOver,50)):(n&&(n.effectAllowed="move",i.setData&&i.setData.call(this,n,y)),r(O,"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||k?w.insertBefore(y,M||k):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;_=i.getBoundingClientRect()}t(p),d(w,o,y,r,i,_)!==!1&&(y.contains(o)||(o.appendChild(y),v=o),this._animate(r,y),i&&this._animate(_,i))}else if(i&&!i.animated&&i!==y&&void 0!==i.parentNode[F]){D!==i&&(D=i,T=s(i),Y=s(i.parentNode));var g,_=i.getBoundingClientRect(),L=_.right-_.left,x=_.bottom-_.top,S=/left|right|inline/.test(T.cssFloat+T.display)||"flex"==Y.display&&0===Y["flex-direction"].indexOf("row"),C=i.offsetWidth>y.offsetWidth,A=i.offsetHeight>y.offsetHeight,j=(S?(e.clientX-_.left)/L:(e.clientY-_.top)/x)>.5,E=i.nextElementSibling,I=d(w,o,y,r,i,_);if(I!==!1){if(B=!0,setTimeout(h,30),t(p),1===I||I===-1)g=1===I;else if(S){var W=y.offsetTop,O=i.offsetTop;g=W===O?i.previousElementSibling===y&&!C||j&&C:O>W}else g=E!==y&&!A||j&&A;y.contains(o)||(g&&!E?o.appendChild(y):i.parentNode.insertBefore(y,g?E:i)),v=y.parentNode,this._animate(r,y),this._animate(_,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(O,"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(O,"mousemove",this._onTouchMove),this.nativeDraggable&&(a(O,"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!==k&&(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&&C!==-1||(C=S),u(this,w,"end",y,w,S,C),this.save())),w=y=v=b=k=M=L=x=A=j=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;r<a;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[F]=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:_,throttle:g,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","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)}}),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),f<0&&(f=0),p<0&&(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),s<0&&(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(),_=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]"),k=b.find("[class$=-picker]"),L=M.find("[class$=-picker]"),x=n(w,v),D=n(k,b),T=n(L,M);if(t.is(".minicolors-grid, .minicolors-slider")){switch(_.control){case"wheel":o=v.width()/2-x.x,s=v.height()/2-x.y,u=Math.sqrt(o*o+s*s),d=Math.atan2(s,o),d<0&&(d+=2*Math.PI),u>75&&(u=75,x.x=69-75*Math.cos(d),x.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=g({h:i,s:r,b:a}),b.css("backgroundColor",g({h:i,s:r,b:100}));break;case"saturation":i=f(parseInt(x.x*(360/v.width()),10),0,360),r=f(100-Math.floor(D.y*(100/b.height())),0,100),a=f(100-Math.floor(x.y*(100/v.height())),0,100),h=g({h:i,s:r,b:a}),b.css("backgroundColor",g({h:i,s:100,b:a})),m.find(".minicolors-grid-inner").css("opacity",r/100);break;case"brightness":i=f(parseInt(x.x*(360/v.width()),10),0,360),r=f(100-Math.floor(x.y*(100/v.height())),0,100),a=f(100-Math.floor(D.y*(100/b.height())),0,100),h=g({h:i,s:r,b:a}),b.css("backgroundColor",g({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(x.x*(100/v.width())),0,100),a=f(100-Math.floor(x.y*(100/v.height())),0,100),h=g({h:i,s:r,b:a}),v.css("backgroundColor",g({h:i,s:100,b:100}))}e.val(c(h,_.letterCase))}t.is(".minicolors-opacity-slider")&&(p=_.opacity?parseFloat(1-T.y/M.height()).toFixed(2):1,_.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]"),k=b.find("[class$=-picker]");switch(n=c(h(e.val(),!0),p.letterCase),n||(n=c(h(p.defaultValue,!0),p.letterCase)),i=_(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()),k.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",g({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",g({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",g({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",g({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 e<t&&(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),n<60?(t.r=a,t.b=o,t.g=o+s):n<120?(t.g=a,t.b=o,t.r=a-s):n<180?(t.g=a,t.r=o,t.b=o+s):n<240?(t.b=a,t.r=o,t.g=a-s):n<300?(t.b=a,t.g=o,t.r=o+s):n<360?(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 g(e){return m(p(e))}function _(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,0!==t.s?e.r===i?t.h=(e.g-e.b)/r:e.g===i?t.h=2+(e.b-e.r)/r:t.h=4+(e.r-e.g)/r:t.h=-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)})}),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){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 t<1||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(t<1||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 t<1||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 g(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 _(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:g,keyword:_};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=e<0?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]=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),n=e.luminosity();return 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 t<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,n=(t[0]+e)%360;return t[0]=n<0?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=this,i=e,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));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),t<0&&(t+=360),i=(s+l)/2,n=l==s?0:i<=.5?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),t<0&&(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 Q[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=l<.5?l*(1+s):l+s-l*s,t=2*l-n,r=[0,0,0];for(var u=0;u<3;u++)i=o+1/3*-(u-1),i<0&&i++,i>1&&i--,a=6*i<1?t+6*(n-t)*i:2*i<1?n:3*i<2?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*=a<=1?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/=n<=1?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 k(e){return l(y(e))}function L(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 x(e){return i(L(e))}function D(e){return a(L(e))}function T(e){return s(L(e))}function Y(e){return l(L(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 A(e){return o(S(e))}function j(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+a*-1.5372+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 F(e){var t,n,i,r,a=e[0],o=e[1],s=e[2];return a<=8?(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=t/95.047<=.008856?t=95.047*(o/500+r-16/116)/7.787:95.047*Math.pow(o/500+r,3),i=i/108.883<=.008859?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,n<0&&(n+=360),i=Math.sqrt(a*a+o*o),[r,i,n]}function O(e){return P(F(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 F(R(e))}function z(e){return O(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:k,hwb2rgb:L,hwb2hsl:x,hwb2hsv:D,hwb2cmyk:T,hwb2keyword:Y,cmyk2rgb:S,cmyk2hsl:C,cmyk2hsv:H,cmyk2hwb:A,cmyk2keyword:j,keyword2rgb:B,keyword2hsl:$,keyword2hsv:V,keyword2hwb:q,keyword2cmyk:U,keyword2lab:J,keyword2xyz:G,xyz2rgb:P,xyz2lab:E,xyz2lch:I,lab2xyz:F,lab2rgb:O,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]},Q={};for(var K in X)Q[JSON.stringify(X[K])]=K},{}],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(27)();e(26)(i),e(22)(i),e(25)(i),e(21)(i),e(23)(i),e(24)(i),e(28)(i),e(32)(i),e(30)(i),e(31)(i),e(33)(i),e(29)(i),e(34)(i),e(35)(i),e(36)(i),e(37)(i),e(38)(i),e(41)(i),e(39)(i),e(40)(i),e(42)(i),e(43)(i),e(44)(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,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.options=e.helpers.configMerge({aspectRatio:1},n.options),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();t.extend(e,{_xScale:o,_yScale:s,_datasetIndex:r.index,_index:n,_model:{x:r.calculateBarX(n,r.index),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(n),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;u<e;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+=l<0?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);if(t.options.barThickness)return t.options.barThickness;var n=this.getRuler(e);return t.options.stacked?n.categoryWidth:n.barWidth},getBarIndex:function(e){var t,n,i=0;for(n=0;n<e;++n)t=this.chart.getDatasetMeta(n),t.bar&&this.chart.isDatasetVisible(n)&&++i;return i},calculateBarX:function(e,t){var n=this,i=n.getMeta(),r=n.getScaleForId(i.xAxisID),a=n.getBarIndex(t),o=n.getRuler(e),s=r.getPixelForValue(null,e,t,n.chart.isCombo);return s-=n.chart.isCombo?o.tickWidth/2:0,r.options.stacked?s+o.categoryWidth/2+o.categorySpacing:s+o.barWidth/2+o.categorySpacing+o.barWidth*a+o.barSpacing/2+o.barSpacing*a},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;l<t;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]);c<0?s+=c||0:o+=c||0}}return a<0?r.getPixelForValue(s+a):r.getPixelForValue(o+a)}return r.getPixelForValue(a)},draw:function(e){var n=this,i=e||1;t.each(n.getMeta().data,function(e,t){var r=n.getDataset().data[t];null===r||void 0===r||isNaN(r)||e.transition(i).draw()},n)},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;t.extend(e,{_xScale:o,_yScale:s,_datasetIndex:r.index,_index:n,_model:{x:i?l:r.calculateBarX(n,r.index),y:r.calculateBarY(n,r.index),label:r.chart.data.labels[n],datasetLabel:d.label,base:i?l:r.calculateBarBase(r.index,n),height:r.calculateBarHeight(n),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)},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);d===-1&&(d=0),t.moveTo.apply(t,e(0));for(var c=1;c<4;c++)t.lineTo.apply(t,e(c));t.fill(),n.borderWidth&&t.stroke()},inRange:function(e,t){var n=this._view,i=!1;return n&&(i=n.x<n.base?t>=n.y-n.height/2&&t<=n.y+n.height/2&&e>=n.x&&e<=n.base:t>=n.y-n.height/2&&t<=n.y+n.height/2&&e>=n.base&&e<=n.x),i}}),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;u<e;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+=l<0?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);if(n.options.barThickness)return n.options.barThickness;var i=t.getRuler(e);return n.options.stacked?i.categoryHeight:i.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;l<t;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]);c<0?s+=c||0:o+=c||0}}return a<0?r.getPixelForValue(s+a):r.getPixelForValue(o+a)}return r.getPixelForValue(a)},calculateBarY:function(e,t){var n=this,i=n.getMeta(),r=n.getScaleForId(i.yAxisID),a=n.getBarIndex(t),o=n.getRuler(e),s=r.getPixelForValue(null,e,t,n.chart.isCombo);return s-=n.chart.isCombo?o.tickHeight/2:0,r.options.stacked?s+o.categoryHeight/2+o.categorySpacing:s+o.barHeight/2+o.categorySpacing+o.barHeight*a+o.barSpacing/2+o.barSpacing*a}})}},{}],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+": ("+i.x+", "+i.y+", "+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.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;n<i;++n)r=o.getDatasetMeta(n),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,t){return t.labels[e.index]+": "+t.datasets[e.datasetIndex].data[e.index]}}}},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;n<e;++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,g={x:Math.cos(p),y:Math.sin(p)},_={x:Math.cos(m),y:Math.sin(m)},y=p<=0&&0<=m||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,k={x:b?-1:Math.min(g.x*(g.x<0?1:w),_.x*(_.x<0?1:w)),y:M?-1:Math.min(g.y*(g.y<0?1:w),_.y*(_.y<0?1:w))},L={x:y?1:Math.max(g.x*(g.x>0?1:w),_.x*(_.x>0?1:w)),y:v?1:Math.max(g.y*(g.y>0?1:w),_.y*(_.y>0?1:w))},x={width:.5*(L.x-k.x),height:.5*(L.y-k.y)};u=Math.min(s/x.width,l/x.height),d={x:(L.x+k.x)*-.5,y:(L.y+k.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,g=i&&l.animateScale?0:r.outerRadius,_=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:g,innerRadius:m,label:_(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;o<a;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,addElementAndReset:function(n){var i=this,r=i.chart.options,a=i.getMeta();e.DatasetController.prototype.addElementAndReset.call(i,n),t(i.getDataset(),r)&&0!==a.dataset._model.tension&&i.updateBezierControlPoints()},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),scaleTop:h.top,scaleBottom:h.bottom,scaleZero:h.getBasePixel()},l.pivot()),i=0,r=u.length;i<r;++i)o.updateElement(u[i],i,e);for(p&&0!==l._model.tension&&o.updateBezierControlPoints(),i=0,r=u.length;i<r;++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;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,o.chart.isCombo),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;i<n;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]));h<0?c+=h||0:d+=h||0}var f=Number(u.getRightValue(e));return f<0?u.getPixelForValue(c+f):u.getPixelForValue(d+f)}return u.getPixelForValue(e)},updateBezierControlPoints:function(){function e(e,t,n){return c?Math.max(Math.min(e,n),t):e}var t,i,r,a,o,s=this,l=s.getMeta(),u=s.chart.chartArea,d=(l.data||[]).filter(function(e){return!e._model.skip}),c=s.chart.options.elements.line.capBezierPoints;for(t=0,i=d.length;t<i;++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=e(o.previous.x,u.left,u.right),a.controlPointPreviousY=e(o.previous.y,u.top,u.bottom),a.controlPointNextX=e(o.next.x,u.left,u.right),a.controlPointNextY=e(o.next.y,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;n<i;++n)o[n].transition(s);for(t(r.getDataset(),r.chart.options)&&a.dataset.transition(s).draw(),n=0,i=o.length;n<i;++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]+'">'),r[a]&&t.push(r[a]),t.push("</span></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;n<i;++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,g=r.getMeta(),_=0;_<n;++_)isNaN(o.data[_])||g.data[_].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={scale:{type:"radialLinear"},elements:{line:{tension:0}}},e.controllers.radar=e.DatasetController.extend({datasetElementType:e.elements.Line,dataElementType:e.elements.Point,linkScales:t.noop,addElementAndReset:function(t){e.DatasetController.prototype.addElementAndReset.call(this,t),this.updateBezierControlPoints()},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});n!==-1&&(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)||n<=0)){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){var t=e.helpers;e.types={},e.instances={},e.controllers={},e.Controller=function(n){return this.chart=n,this.config=n.config,this.options=this.config.options=t.configMerge(e.defaults.global,e.defaults[this.config.type],this.config.options||{}),this.id=t.uid(),Object.defineProperty(this,"data",{get:function(){return this.config.data}}),e.instances[this.id]=this,this.options.responsive&&this.resize(!0),this.initialize(),this},t.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 t.clear(this.chart),this},stop:function(){return e.animationService.cancelAnimation(this),this},resize:function(n){var i=this,r=i.chart,a=r.canvas,o=t.getMaximumWidth(a),s=r.aspectRatio,l=i.options.maintainAspectRatio&&isNaN(s)===!1&&isFinite(s)&&0!==s?o/s:t.getMaximumHeight(a),u=r.width!==o||r.height!==l;if(!u)return i;a.width=r.width=o,a.height=r.height=l,t.retinaScale(r);var d={width:o,height:l};return e.plugins.notify("resize",[i,d]),i.options.onResize&&i.options.onResize(i,d),n||(i.stop(),i.update(i.options.responsiveAnimationDuration)),i},ensureScalesHaveIDs:function(){var e=this.options,n=e.scales||{},i=e.scale;t.each(n.xAxes,function(e,t){e.id=e.id||"x-axis-"+t}),t.each(n.yAxes,function(e,t){e.id=e.id||"y-axis-"+t}),i&&(i.id=i.id||"scale")},buildScales:function(){var n=this,i=n.options,r=n.scales={},a=[];i.scales&&(a=a.concat((i.scales.xAxes||[]).map(function(e){return{options:e,dtype:"category"}}),(i.scales.yAxes||[]).map(function(e){return{options:e,dtype:"linear"}}))),i.scale&&a.push({options:i.scale,dtype:"radialLinear",isDefault:!0}),t.each(a,function(i){var a=i.options,o=t.getValueOrDefault(a.type,i.dtype),s=e.scaleService.getScaleConstructor(o);if(s){var l=new s({id:a.id,options:a,ctx:n.chart.ctx,chart:n});r[l.id]=l,i.isDefault&&(n.scale=l)}}),e.scaleService.addScalesToLayout(this)},updateLayout:function(){e.layoutService.update(this,this.chart.width,this.chart.height)},buildOrUpdateControllers:function(){var n=this,i=[],r=[];if(t.each(n.data.datasets,function(t,a){var o=n.getDatasetMeta(a);o.type||(o.type=t.type||n.config.type),i.push(o.type),o.controller?o.controller.updateIndex(a):(o.controller=new e.controllers[o.type](n,a),r.push(o.controller))},n),i.length>1)for(var a=1;a<i.length;a++)if(i[a]!==i[a-1]){n.isCombo=!0;break}return r},resetElements:function(){var e=this;t.each(e.data.datasets,function(t,n){e.getDatasetMeta(n).controller.reset()},e)},update:function(n,i){var r=this;e.plugins.notify("beforeUpdate",[r]),r.tooltip._data=r.data;var a=r.buildOrUpdateControllers();t.each(r.data.datasets,function(e,t){r.getDatasetMeta(t).controller.buildOrUpdateElements()},r),e.layoutService.update(r,r.chart.width,r.chart.height),e.plugins.notify("afterScaleUpdate",[r]),t.each(a,function(e){e.reset()}),r.updateDatasets(),e.plugins.notify("afterUpdate",[r]),r.render(n,i)},updateDatasets:function(){var t,n,i=this;if(e.plugins.notify("beforeDatasetsUpdate",[i])){for(t=0,n=i.data.datasets.length;t<n;++t)i.getDatasetMeta(t).controller.update();e.plugins.notify("afterDatasetsUpdate",[i])}},render:function(n,i){var r=this;e.plugins.notify("beforeRender",[r]);var a=r.options.animation;if(a&&("undefined"!=typeof n&&0!==n||"undefined"==typeof n&&0!==a.duration)){var o=new e.Animation;o.numSteps=(n||a.duration)/16.66,o.easing=a.easing,o.render=function(e,n){var i=t.easingEffects[n.easing],r=n.currentStep/n.numSteps,a=i(r);e.draw(a,r,n.currentStep)},o.onAnimationProgress=a.onProgress,o.onAnimationComplete=a.onComplete,e.animationService.addAnimation(r,o,n,i)}else r.draw(),a&&a.onComplete&&a.onComplete.call&&a.onComplete.call(r);return r},draw:function(n){var i=this,r=n||1;i.clear(),e.plugins.notify("beforeDraw",[i,r]),t.each(i.boxes,function(e){e.draw(i.chartArea)},i),i.scale&&i.scale.draw(),e.plugins.notify("beforeDatasetsDraw",[i,r]),t.each(i.data.datasets,function(e,t){i.isDatasetVisible(t)&&i.getDatasetMeta(t).controller.draw(n)},i,!0),e.plugins.notify("afterDatasetsDraw",[i,r]),i.tooltip.transition(r).draw(),e.plugins.notify("afterDraw",[i,r])},getElementAtEvent:function(e){var n=this,i=t.getRelativePosition(e,n.chart),r=[];return t.each(n.data.datasets,function(e,a){if(n.isDatasetVisible(a)){var o=n.getDatasetMeta(a);t.each(o.data,function(e){if(e.inRange(i.x,i.y))return r.push(e),r})}}),r.slice(0,1)},getElementsAtEvent:function(e){var n=this,i=t.getRelativePosition(e,n.chart),r=[],a=function(){if(n.data.datasets)for(var e=0;e<n.data.datasets.length;e++){var t=n.getDatasetMeta(e);if(n.isDatasetVisible(e))for(var r=0;r<t.data.length;r++)if(t.data[r].inRange(i.x,i.y))return t.data[r]}}.call(n);return a?(t.each(n.data.datasets,function(e,t){if(n.isDatasetVisible(t)){var i=n.getDatasetMeta(t),o=i.data[a._index];o&&!o._view.skip&&r.push(o)}},n),r):r},getElementsAtXAxis:function(e){var n=this,i=t.getRelativePosition(e,n.chart),r=[],a=function(){if(n.data.datasets)for(var e=0;e<n.data.datasets.length;e++){var t=n.getDatasetMeta(e);if(n.isDatasetVisible(e))for(var r=0;r<t.data.length;r++)if(t.data[r].inLabelRange(i.x,i.y))return t.data[r]}}.call(n);return a?(t.each(n.data.datasets,function(e,i){if(n.isDatasetVisible(i)){var o=n.getDatasetMeta(i),s=t.findIndex(o.data,function(e){return a._model.x===e._model.x});s===-1||o.data[s]._view.skip||r.push(o.data[s])}},n),r):r},getElementsAtEventForMode:function(e,t){var n=this;switch(t){case"single":return n.getElementAtEvent(e);case"label":return n.getElementsAtEvent(e);case"dataset":return n.getDatasetAtEvent(e);case"x-axis":return n.getElementsAtXAxis(e);default:return e}},getDatasetAtEvent:function(e){var t=this.getElementAtEvent(e);return t.length>0&&(t=this.getDatasetMeta(t[0]._datasetIndex).data),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;t<n;++t)this.isDatasetVisible(t)&&e++;return e},isDatasetVisible:function(e){var t=this.getDatasetMeta(e);return"boolean"==typeof t.hidden?!t.hidden:!this.data.datasets[e].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroy:function(){var n=this;n.stop(),n.clear(),t.unbindEvents(n,n.events),t.removeResizeListener(n.chart.canvas.parentNode);var i=n.chart.canvas;i.width=n.chart.width,i.height=n.chart.height,void 0!==n.chart.originalDevicePixelRatio&&n.chart.ctx.scale(1/n.chart.originalDevicePixelRatio,1/n.chart.originalDevicePixelRatio),i.style.width=n.chart.originalCanvasStyleWidth,i.style.height=n.chart.originalCanvasStyleHeight,e.plugins.notify("destroy",[n]),delete e.instances[n.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)},bindEvents:function(){var e=this;t.bindEvents(e,e.options.events,function(t){e.eventHandler(t)})},updateHoverStyle:function(e,t,n){var i,r,a,o=n?"setHoverStyle":"removeHoverStyle";switch(t){case"single":e=[e[0]];break;case"label":case"dataset":case"x-axis":break;default:return}for(r=0,a=e.length;r<a;++r)i=e[r],i&&this.getDatasetMeta(i._datasetIndex).controller[o](i)},eventHandler:function(e){var n=this,i=n.tooltip,r=n.options||{},a=r.hover,o=r.tooltips;return n.lastActive=n.lastActive||[],n.lastTooltipActive=n.lastTooltipActive||[],"mouseout"===e.type?(n.active=[],n.tooltipActive=[]):(n.active=n.getElementsAtEventForMode(e,a.mode),n.tooltipActive=n.getElementsAtEventForMode(e,o.mode)),a.onHover&&a.onHover.call(n,n.active),"mouseup"!==e.type&&"click"!==e.type||(r.onClick&&r.onClick.call(n,e,n.active),n.legend&&n.legend.handleEvent&&n.legend.handleEvent(e)),n.lastActive.length&&n.updateHoverStyle(n.lastActive,a.mode,!1),n.active.length&&a.mode&&n.updateHoverStyle(n.active,a.mode,!0),(o.enabled||o.custom)&&(i.initialize(),i._active=n.tooltipActive,i.update(!0)),i.pivot(),n.animating||t.arrayEquals(n.active,n.lastActive)&&t.arrayEquals(n.tooltipActive,n.lastTooltipActive)||(n.stop(),(o.enabled||o.custom)&&i.update(!0),n.render(a.animationDuration,!0)),n.lastActive=n.active,n.lastTooltipActive=n.tooltipActive,n}})}},{}],24:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=t.noop;e.DatasetController=function(e,t){this.initialize.call(this,e,t)},t.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)},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;e<t;++e)a[e]=a[e]||n.createMetaData(i,e);i.dataset=i.dataset||n.createMetaDataset()},addElementAndReset:function(e){var t=this,n=t.createMetaData(e);t.getMeta().data.splice(e,0,n),t.updateElement(n,e,!0)},buildOrUpdateElements:function(){var e=this.getMeta(),t=e.data,n=this.getDataset().data.length,i=t.length;if(n<i)t.splice(n,i-n);else if(n>i)for(var r=i;r<n;++r)this.addElementAndReset(r)},update:n,draw:function(e){var n=e||1;t.each(this.getMeta().data,function(e){e.transition(n).draw()})},removeHoverStyle:function(e,n){var i=this.chart.data.datasets[e._datasetIndex],r=e._index,a=e.custom||{},o=t.getValueAtIndexOrDefault,s=e._model;s.backgroundColor=a.backgroundColor?a.backgroundColor:o(i.backgroundColor,r,n.backgroundColor),s.borderColor=a.borderColor?a.borderColor:o(i.borderColor,r,n.borderColor),s.borderWidth=a.borderWidth?a.borderWidth:o(i.borderWidth,r,n.borderWidth)},setHoverStyle:function(e){var n=this.chart.data.datasets[e._datasetIndex],i=e._index,r=e.custom||{},a=t.getValueAtIndexOrDefault,o=t.getHoverColor,s=e._model;s.backgroundColor=r.hoverBackgroundColor?r.hoverBackgroundColor:a(n.hoverBackgroundColor,i,o(s.backgroundColor)),s.borderColor=r.hoverBorderColor?r.hoverBorderColor:a(n.hoverBorderColor,i,o(s.borderColor)),s.borderWidth=r.hoverBorderWidth?r.hoverBorderWidth:a(n.hoverBorderWidth,i,s.borderWidth)}}),e.DatasetController.extend=t.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),e.indexOf("%")!=-1&&(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;r<o;r++)t.call(n,e[r],r);else if("object"==typeof e){var s=Object.keys(e);for(o=s.length,r=0;r<o;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;n<i;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){if("scales"===i)n[i]=a.scaleMerge(n.hasOwnProperty(i)?n[i]:{},t);else if("scale"===i)n[i]=a.configMerge(n.hasOwnProperty(i)?n[i]:{},e.scaleService.getScaleDefaults(t.type),t);else if(n.hasOwnProperty(i)&&a.isArray(n[i])&&a.isArray(t)){var r=n[i];a.each(t,function(e,t){t<r.length?"object"==typeof r[t]&&null!==r[t]&&"object"==typeof e&&null!==e?r[t]=a.configMerge(r[t],e):r[t]=e:r.push(e)})}else n.hasOwnProperty(i)&&"object"==typeof n[i]&&null!==n[i]&&"object"==typeof t?n[i]=a.configMerge(n[i],t):n[i]=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;n<i;++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;i<r;++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.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.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?t<=0?e[e.length-1]:e[t-1]:t<=0?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?r<1.5?1:r<3?2:r<7?5:10:r<=1?1:r<=2?2:r<=5?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),e<1?-.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):e<2/2.75?1*(7.5625*(e-=1.5/2.75)*e+.75):e<2.5/2.75?1*(7.5625*(e-=2.25/2.75)*e+.9375):1*(7.5625*(e-=2.625/2.75)*e+.984375)},easeInOutBounce:function(e){return e<.5?.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"))+parseInt(a.getStyle(t,"padding-right")),i=t.clientWidth-n,r=a.getConstraintWidth(e);return isNaN(r)?i:Math.min(i,r)},a.getMaximumHeight=function(e){var t=e.parentNode,n=parseInt(a.getStyle(t,"padding-top"))+parseInt(a.getStyle(t,"padding-bottom")),i=t.clientHeight-n,r=a.getConstraintHeight(e);return isNaN(r)?i:Math.min(i,r)},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.ctx,n=e.canvas,i=n.width,r=n.height,a=e.currentDevicePixelRatio=window.devicePixelRatio||1;1!==a&&(n.height=r*a,n.width=i*a,t.scale(a,a),e.originalDevicePixelRatio=e.originalDevicePixelRatio||a),n.style.width=i+"px",n.style.height=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;u<l;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"),i="chartjs-hidden-iframe";n.classlist?n.classlist.add(i):n.setAttribute("class",i);var r=n.style;r.width="100%",r.display="block",r.border=0,r.height=0,r.margin=0,r.position="absolute",r.left=0,r.right=0,r.top=0,r.bottom=0,e.insertBefore(n,e.firstChild),(n.contentWindow||n).onresize=function(){t&&t()}},a.removeResizeListener=function(e){var t=e.querySelector(".chartjs-hidden-iframe");t&&t.parentNode.removeChild(t)},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;n<i;++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(){var e=function(t,n){var i=this,r=e.helpers;return i.config=n||{data:{datasets:[]}},t.length&&t[0].getContext&&(t=t[0]),t.getContext&&(t=t.getContext("2d")),i.ctx=t,i.canvas=t.canvas,t.canvas.style.display=t.canvas.style.display||"block",i.width=t.canvas.width||parseInt(r.getStyle(t.canvas,"width"),10)||r.getMaximumWidth(t.canvas),i.height=t.canvas.height||parseInt(r.getStyle(t.canvas,"height"),10)||r.getMaximumHeight(t.canvas),i.aspectRatio=i.width/i.height,(isNaN(i.aspectRatio)||isFinite(i.aspectRatio)===!1)&&(i.aspectRatio=void 0!==n.aspectRatio?n.aspectRatio:2),i.originalCanvasStyleWidth=t.canvas.style.width,i.originalCanvasStyleHeight=t.canvas.style.height,r.retinaScale(i),i.controller=new e.Controller(i),r.addResizeListener(t.canvas.parentNode,function(){i.controller&&i.controller.config.options.responsive&&i.controller.resize()}),i.controller?i.controller:i};return e.defaults={global:{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"single",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}},{}],28:[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?m:M,b),w-=t.height):(t=e.update(v,y),M-=t.width),k.push({horizontal:n,minSize:t,box:e})}function a(e){var n=t.findNextWhere(k,function(t){return t.box===e});if(n)if(e.isHorizontal()){var i={left:L,right:x,top:0,bottom:0};e.update(e.options.fullWidth?m:M,g/2,i)}else e.update(n.minSize.width,w)}function o(e){var n=t.findNextWhere(k,function(t){return t.box===e}),i={left:0,right:0,top:D,bottom:T};n&&e.update(n.minSize.width,w,i)}function s(e){e.isHorizontal()?(e.left=e.options.fullWidth?l:L,e.right=e.options.fullWidth?n-l:L+M,e.top=H,e.bottom=H+e.height,H=e.bottom):(e.left=C,e.right=C+e.width,e.top=D,e.bottom=D+w,C=e.right)}if(e){var l=0,u=0,d=t.where(e.boxes,function(e){return"left"===e.options.position}),c=t.where(e.boxes,function(e){return"right"===e.options.position}),h=t.where(e.boxes,function(e){return"top"===e.options.position}),f=t.where(e.boxes,function(e){return"bottom"===e.options.position}),p=t.where(e.boxes,function(e){return"chartArea"===e.options.position});h.sort(function(e,t){return(t.options.fullWidth?1:0)-(e.options.fullWidth?1:0)}),f.sort(function(e,t){return(e.options.fullWidth?1:0)-(t.options.fullWidth?1:0)});var m=n-2*l,g=i-2*u,_=m/2,y=g/2,v=(n-_)/(d.length+c.length),b=(i-y)/(h.length+f.length),M=m,w=g,k=[];t.each(d.concat(c,h,f),r);var L=l,x=l,D=u,T=u;t.each(d.concat(c),a),t.each(d,function(e){L+=e.width}),t.each(c,function(e){x+=e.width}),t.each(h.concat(f),a),t.each(h,function(e){D+=e.height}),t.each(f,function(e){T+=e.height}),t.each(d.concat(c),o),L=l,x=l,D=u,T=u,t.each(d,function(e){L+=e.width}),t.each(c,function(e){x+=e.width}),t.each(h,function(e){D+=e.height}),t.each(f,function(e){T+=e.height});var Y=i-D-T,S=n-L-x;S===M&&Y===w||(t.each(d,function(e){e.height=Y}),t.each(c,function(e){e.height=Y}),t.each(h,function(e){e.options.fullWidth||(e.width=S)}),t.each(f,function(e){e.options.fullWidth||(e.width=S)}),w=Y,M=S);var C=l,H=u;t.each(d.concat(h),s),C+=M,H+=w,t.each(c,s),t.each(f,s),e.chartArea={left:L,top:D,right:L+M,bottom:D+w},t.each(p,function(t){t.left=e.chartArea.left,t.top=e.chartArea.top,t.right=e.chartArea.right,t.bottom=e.chartArea.bottom,t.update(M,w)})}}}}},{}],29:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=t.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()},labels:{boxWidth:40,padding:10,generateLabels:function(e){var n=e.data;return t.isArray(n.datasets)?n.datasets.map(function(n,i){return{text:n.label,fillStyle:t.isArray(n.backgroundColor)?n.backgroundColor[0]:n.backgroundColor,hidden:!e.isDatasetVisible(i),lineCap:n.borderCapStyle,lineDash:n.borderDash,lineDashOffset:n.borderDashOffset,lineJoin:n.borderJoinStyle,lineWidth:n.borderWidth,strokeStyle:n.borderColor,pointStyle:n.pointStyle,datasetIndex:i}},this):[]}}},e.Legend=e.Element.extend({initialize:function(e){t.extend(this,e),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:n,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:function(){var e=this;e.legendItems=e.options.labels.generateLabels.call(e,e.chart),e.options.reverse&&e.legendItems.reverse()},afterBuildLabels:n,beforeFit:n,fit:function(){var n=this,i=n.options,r=i.labels,a=i.display,o=n.ctx,s=e.defaults.global,l=t.getValueOrDefault,u=l(r.fontSize,s.defaultFontSize),d=l(r.fontStyle,s.defaultFontStyle),c=l(r.fontFamily,s.defaultFontFamily),h=t.fontString(u,d,c),f=n.legendHitBoxes=[],p=n.minSize,m=n.isHorizontal();if(m?(p.width=n.maxWidth,p.height=a?10:0):(p.width=a?10:0,p.height=n.maxHeight),a)if(o.font=h,m){var g=n.lineWidths=[0],_=n.legendItems.length?u+r.padding:0;o.textAlign="left",o.textBaseline="top",t.each(n.legendItems,function(e,t){var i=r.usePointStyle?u*Math.sqrt(2):r.boxWidth,a=i+u/2+o.measureText(e.text).width;g[g.length-1]+a+r.padding>=n.width&&(_+=u+r.padding,g[g.length]=n.left),f[t]={left:0,top:0,width:a,height:u},g[g.length-1]+=a+r.padding}),p.height+=_}else{var y=r.padding,v=n.columnWidths=[],b=r.padding,M=0,w=0,k=u+y;t.each(n.legendItems,function(e,t){var n=r.usePointStyle?2*r.boxWidth:r.boxWidth,i=n+u/2+o.measureText(e.text).width;w+k>p.height&&(b+=M+r.padding,v.push(M),M=0,w=0),M=Math.max(M,i),w+=k,f[t]={left:0,top:0,width:i,height:u}}),b+=M,v.push(M),p.width+=b}n.width=p.width,n.height=p.height},afterFit:n,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var n=this,i=n.options,r=i.labels,a=e.defaults.global,o=a.elements.line,s=n.width,l=n.lineWidths;if(i.display){var u,d=n.ctx,c=t.getValueOrDefault,h=c(r.fontColor,a.defaultFontColor),f=c(r.fontSize,a.defaultFontSize),p=c(r.fontStyle,a.defaultFontStyle),m=c(r.fontFamily,a.defaultFontFamily),g=t.fontString(f,p,m);d.textAlign="left",d.textBaseline="top",d.lineWidth=.5,d.strokeStyle=h,d.fillStyle=h,d.font=g;var _=r.boxWidth,y=n.legendHitBoxes,v=function(t,n,r){if(!(isNaN(_)||_<=0)){if(d.save(),d.fillStyle=c(r.fillStyle,a.defaultColor),d.lineCap=c(r.lineCap,o.borderCapStyle),d.lineDashOffset=c(r.lineDashOffset,o.borderDashOffset),d.lineJoin=c(r.lineJoin,o.borderJoinStyle),d.lineWidth=c(r.lineWidth,o.borderWidth),d.strokeStyle=c(r.strokeStyle,a.defaultColor),d.setLineDash&&d.setLineDash(c(r.lineDash,o.borderDash)),i.labels&&i.labels.usePointStyle){var s=f*Math.SQRT2/2,l=s/Math.SQRT2,u=t+l,h=n+l;e.canvasHelpers.drawPoint(d,r.pointStyle,s,u,h)}else d.strokeRect(t,n,_,f),d.fillRect(t,n,_,f);d.restore()}},b=function(e,t,n,i){d.fillText(n.text,_+f/2+e,t),n.hidden&&(d.beginPath(),d.lineWidth=2,d.moveTo(_+f/2+e,t+f/2),d.lineTo(_+f/2+e+i,t+f/2),d.stroke())},M=n.isHorizontal();u=M?{x:n.left+(s-l[0])/2,y:n.top+r.padding,line:0}:{x:n.left+r.padding,y:n.top+r.padding,line:0};var w=f+r.padding;t.each(n.legendItems,function(e,t){var i=d.measureText(e.text).width,a=r.usePointStyle?f+f/2+i:_+f/2+i,o=u.x,c=u.y;M?o+a>=s&&(c=u.y+=w,u.line++,o=u.x=n.left+(s-l[u.line])/2):c+w>n.bottom&&(o=u.x=o+n.columnWidths[u.line]+r.padding,c=u.y=n.top,u.line++),v(o,c,e),y[t].left=o,y[t].top=c,b(o,c,e,i),M?u.x+=a+r.padding:u.y+=w})}},handleEvent:function(e){var n=this,i=t.getRelativePosition(e,n.chart.chart),r=i.x,a=i.y,o=n.options;if(r>=n.left&&r<=n.right&&a>=n.top&&a<=n.bottom)for(var s=n.legendHitBoxes,l=0;l<s.length;++l){var u=s[l];if(r>=u.left&&r<=u.left+u.width&&a>=u.top&&a<=u.top+u.height){o.onClick&&o.onClick.call(n,e,n.legendItems[l]);break}}}}),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))}})}},{}],30:[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){t.indexOf(e)===-1&&t.push(e)})},unregister:function(e){var t=this._plugins;[].concat(e).forEach(function(e){var n=t.indexOf(e);n!==-1&&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;n<a;++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}},{}],31:[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},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:function(e){return t.isArray(e)?e:""+e}}},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;e.ticks=e.ticks.map(function(t,n,i){return e.options.ticks.userCallback?e.options.ticks.userCallback(t,n,i):e.options.ticks.callback(t,n,i)},e)},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),g=m,_=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++,g=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.display,u=n.isHorizontal(),d=t.getValueOrDefault(o.fontSize,a.defaultFontSize),c=t.getValueOrDefault(o.fontStyle,a.defaultFontStyle),h=t.getValueOrDefault(o.fontFamily,a.defaultFontFamily),f=t.fontString(d,c,h),p=t.getValueOrDefault(s.fontSize,a.defaultFontSize),m=r.gridLines.tickMarkLength;if(u?i.width=n.isFullWidth()?n.maxWidth-n.margins.left-n.margins.right:n.maxWidth:i.width=l?m:0,u?i.height=l?m:0:i.height=n.maxHeight,s.display&&l&&(u?i.height+=1.5*p:i.width+=1.5*p),o.display&&l){n.longestTextCache||(n.longestTextCache={});var g=t.longestText(n.ctx,f,n.ticks,n.longestTextCache),_=t.numberOfLabelLines(n.ticks),y=.5*d;if(u){n.longestLabelWidth=g;var v=Math.sin(t.toRadians(n.labelRotation))*n.longestLabelWidth+d*_+y*_;i.height=Math.min(n.maxHeight,i.height+v),n.ctx.font=f;var b=n.ctx.measureText(n.ticks[0]).width,M=n.ctx.measureText(n.ticks[n.ticks.length-1]).width,w=Math.cos(t.toRadians(n.labelRotation)),k=Math.sin(t.toRadians(n.labelRotation));n.paddingLeft=0!==n.labelRotation?w*b+3:b/2+3,n.paddingRight=0!==n.labelRotation?k*(d/2)+3:M/2+3}else{var L=n.maxWidth-i.width,x=o.mirror;x?g=0:g+=n.options.ticks.padding,g<L?i.width+=g:i.width=n.maxWidth,n.paddingTop=d/2,n.paddingBottom=d/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&&isNaN(e)?NaN:"object"==typeof e?e instanceof Date||e.isValid?e:this.getRightValue(this.isHorizontal()?e.x:e.y):e},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:t<0&&n<0?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),g=t.getValueOrDefault(u.fontSize,l.defaultFontSize),_=t.getValueOrDefault(u.fontStyle,l.defaultFontStyle),y=t.getValueOrDefault(u.fontFamily,l.defaultFontFamily),v=t.fontString(g,_,y),b=d.tickMarkLength,M=t.getValueOrDefault(c.fontColor,l.defaultFontColor),w=t.getValueOrDefault(c.fontSize,l.defaultFontSize),k=t.getValueOrDefault(c.fontStyle,l.defaultFontStyle),L=t.getValueOrDefault(c.fontFamily,l.defaultFontFamily),x=t.fontString(w,k,L),D=t.toRadians(i.labelRotation),T=Math.cos(D),Y=i.longestLabelWidth*T;
s.fillStyle=m;var S=[];if(p){if(a=!1,h&&(Y/=2),(Y+u.autoSkipPadding)*i.ticks.length>i.width-(i.paddingLeft+i.paddingRight)&&(a=1+Math.floor((Y+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 C="right"===r.position?i.left:i.right-b,H="right"===r.position?i.left+b:i.right,A="bottom"===r.position?i.top:i.bottom-b,j="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,M,w,k,L,x,T,Y="middle";if(p){h||(Y="top"===r.position?"bottom":"top"),T=h?"right":"center";var P=i.getPixelForTick(o)+t.aliasPixel(c);L=i.getPixelForTick(o,d.offsetGridLines)+u.labelOffset,x=h?i.top+12:"top"===r.position?i.bottom-b:i.top+b,m=_=v=w=P,g=A,y=j,M=n.top,k=n.bottom}else{"left"===r.position?u.mirror?(L=i.right+u.padding,T="left"):(L=i.right-u.padding,T="right"):u.mirror?(L=i.left-u.padding,T="right"):(L=i.left+u.padding,T="left");var E=i.getPixelForTick(o);E+=t.aliasPixel(c),x=i.getPixelForTick(o,d.offsetGridLines),m=C,_=H,v=n.left,w=n.right,g=y=M=k=E}S.push({tx1:m,ty1:g,tx2:_,ty2:y,x1:v,y1:M,x2:w,y2:k,labelX:L,labelY:x,glWidth:c,glColor:f,rotation:-1*D,label:e,textBaseline:Y,textAlign:T})}}}),t.each(S,function(e){if(d.display&&(s.lineWidth=e.glWidth,s.strokeStyle=e.glColor,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()),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=0;i<n.length;++i)s.fillText(""+n[i],0,r),r+=1.5*g;else s.fillText(n,0,0);s.restore()}}),c.display){var P,E,I=0;if(p)P=i.left+(i.right-i.left)/2,E="bottom"===r.position?i.bottom-w/2:i.top+w/2;else{var F="left"===r.position;P=F?i.left+w/2:i.right-w/2,E=i.top+(i.bottom-i.top)/2,I=F?-.5*Math.PI:.5*Math.PI}s.save(),s.translate(P,E),s.rotate(I),s.textAlign="center",s.textBaseline="middle",s.fillStyle=M,s.font=x,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 W=i.left,O=i.right,R=i.top,N=i.bottom,z=t.aliasPixel(s.lineWidth);p?(R=N="top"===r.position?i.bottom:i.top,R+=z,N+=z):(W=O="left"===r.position?i.right:i.left,W+=z,O+=z),s.beginPath(),s.moveTo(W,R),s.lineTo(O,N),s.stroke()}}}})}},{}],32:[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)})}}}},{}],33:[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=r(a.fontSize,o.defaultFontSize),d=r(a.fontStyle,o.defaultFontStyle),c=r(a.fontFamily,o.defaultFontFamily),h=t.fontString(u,d,c),f=0,p=n.top,m=n.left,g=n.bottom,_=n.right;i.fillStyle=r(a.fontColor,o.defaultFontColor),i.font=h,n.isHorizontal()?(s=m+(_-m)/2,l=p+(g-p)/2):(s="left"===a.position?m+u/2:_-u/2,l=p+(g-p)/2,f=Math.PI*("left"===a.position?-.5:.5)),i.save(),i.translate(s,l),i.rotate(f),i.textAlign="center",i.textBaseline="middle",i.fillText(a.text,0,0),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))}})}},{}],34:[function(e,t,n){"use strict";t.exports=function(e){function t(e,t){return t&&(r.isArray(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function n(e){if(!e.length)return!1;var t,n,i=[],r=[];for(t=0,n=e.length;t<n;++t){var a=e[t];if(a&&a.hasValue()){var o=a.tooltipPosition();i.push(o.x),r.push(o.y)}}var s=0,l=0;for(t=0;t<i.length;++t)i[t]&&(s+=i[t],l+=r[t]);return{x:Math.round(s/i.length),y:Math.round(l/i.length)}}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}}var r=e.helpers;e.defaults.global.tooltips={enabled:!0,custom:null,mode:"single",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,yAlign:"center",xAlign:"center",caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",callbacks:{beforeTitle:r.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:r.noop,beforeBody:r.noop,beforeLabel:r.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:r.noop,afterBody:r.noop,beforeFooter:r.noop,footer:r.noop,afterFooter:r.noop}},e.Tooltip=e.Element.extend({initialize:function(){var t=this,n=e.defaults.global,i=t._options,a=r.getValueOrDefault;r.extend(t,{_model:{xPadding:i.xPadding,yPadding:i.yPadding,xAlign:i.xAlign,yAlign:i.yAlign,bodyFontColor:i.bodyFontColor,_bodyFontFamily:a(i.bodyFontFamily,n.defaultFontFamily),_bodyFontStyle:a(i.bodyFontStyle,n.defaultFontStyle),_bodyAlign:i.bodyAlign,bodyFontSize:a(i.bodyFontSize,n.defaultFontSize),bodySpacing:i.bodySpacing,titleFontColor:i.titleFontColor,_titleFontFamily:a(i.titleFontFamily,n.defaultFontFamily),_titleFontStyle:a(i.titleFontStyle,n.defaultFontStyle),titleFontSize:a(i.titleFontSize,n.defaultFontSize),_titleAlign:i.titleAlign,titleSpacing:i.titleSpacing,titleMarginBottom:i.titleMarginBottom,footerFontColor:i.footerFontColor,_footerFontFamily:a(i.footerFontFamily,n.defaultFontFamily),_footerFontStyle:a(i.footerFontStyle,n.defaultFontStyle),footerFontSize:a(i.footerFontSize,n.defaultFontSize),_footerAlign:i.footerAlign,footerSpacing:i.footerSpacing,footerMarginTop:i.footerMarginTop,caretSize:i.caretSize,cornerRadius:i.cornerRadius,backgroundColor:i.backgroundColor,opacity:0,legendColorBackground:i.multiKeyBackground}})},getTitle:function(){var e=this,n=e._options,i=n.callbacks,r=i.beforeTitle.apply(e,arguments),a=i.title.apply(e,arguments),o=i.afterTitle.apply(e,arguments),s=[];return s=t(s,r),s=t(s,a),s=t(s,o)},getBeforeBody:function(){var e=this._options.callbacks.beforeBody.apply(this,arguments);return r.isArray(e)?e:void 0!==e?[e]:[]},getBody:function(e,n){var i=this,a=i._options.callbacks,o=[];return r.each(e,function(e){var r={before:[],lines:[],after:[]};t(r.before,a.beforeLabel.call(i,e,n)),t(r.lines,a.label.call(i,e,n)),t(r.after,a.afterLabel.call(i,e,n)),o.push(r)}),o},getAfterBody:function(){var e=this._options.callbacks.afterBody.apply(this,arguments);return r.isArray(e)?e:void 0!==e?[e]:[]},getFooter:function(){var e=this,n=e._options.callbacks,i=n.beforeFooter.apply(e,arguments),r=n.footer.apply(e,arguments),a=n.afterFooter.apply(e,arguments),o=[];return o=t(o,i),o=t(o,r),o=t(o,a)},update:function(e){var t,a,o=this,s=o._options,l=o._model,u=o._active,d=o._data,c=o._chartInstance;if(u.length){l.opacity=1;var h=[],f=n(u),p=[];for(t=0,a=u.length;t<a;++t)p.push(i(u[t]));s.itemSort&&(p=p.sort(s.itemSort)),u.length>1&&r.each(p,function(e){h.push(s.callbacks.labelColor.call(o,e,c))}),r.extend(l,{title:o.getTitle(p,d),beforeBody:o.getBeforeBody(p,d),body:o.getBody(p,d),afterBody:o.getAfterBody(p,d),footer:o.getFooter(p,d),x:Math.round(f.x),y:Math.round(f.y),caretPadding:r.getValueOrDefault(f.padding,2),labelColors:h});var m=o.getTooltipSize(l);o.determineAlignment(m),r.extend(l,o.getBackgroundPoint(l,m))}else o._model.opacity=0;return e&&s.custom&&s.custom.call(o,l),o},getTooltipSize:function(e){var t=this._chart.ctx,n={height:2*e.yPadding,width:0},i=e.body,a=i.reduce(function(e,t){return e+t.before.length+t.lines.length+t.after.length},0);a+=e.beforeBody.length+e.afterBody.length;var o=e.title.length,s=e.footer.length,l=e.titleFontSize,u=e.bodyFontSize,d=e.footerFontSize;n.height+=o*l,n.height+=(o-1)*e.titleSpacing,n.height+=o?e.titleMarginBottom:0,n.height+=a*u,n.height+=a?(a-1)*e.bodySpacing:0,n.height+=s?e.footerMarginTop:0,n.height+=s*d,n.height+=s?(s-1)*e.footerSpacing:0;var c=0,h=function(e){n.width=Math.max(n.width,t.measureText(e).width+c)};return t.font=r.fontString(l,e._titleFontStyle,e._titleFontFamily),r.each(e.title,h),t.font=r.fontString(u,e._bodyFontStyle,e._bodyFontFamily),r.each(e.beforeBody.concat(e.afterBody),h),c=i.length>1?u+2:0,r.each(i,function(e){r.each(e.before,h),r.each(e.lines,h),r.each(e.after,h)}),c=0,t.font=r.fontString(d,e._footerFontStyle,e._footerFontFamily),r.each(e.footer,h),n.width+=2*e.xPadding,n},determineAlignment:function(e){var t=this,n=t._model,i=t._chart,r=t._chartInstance.chartArea;n.y<e.height?n.yAlign="top":n.y>i.height-e.height&&(n.yAlign="bottom");var a,o,s,l,u,d=(r.left+r.right)/2,c=(r.top+r.bottom)/2;"center"===n.yAlign?(a=function(e){return e<=d},o=function(e){return e>d}):(a=function(t){return t<=e.width/2},o=function(t){return t>=i.width-e.width/2}),s=function(t){return t+e.width>i.width},l=function(t){return t-e.width<0},u=function(e){return e<=c?"top":"bottom"},a(n.x)?(n.xAlign="left",s(n.x)&&(n.xAlign="center",n.yAlign=u(n.y))):o(n.x)&&(n.xAlign="right",l(n.x)&&(n.xAlign="center",n.yAlign=u(n.y)))},getBackgroundPoint:function(e,t){var n={x:e.x,y:e.y},i=e.caretSize,r=e.caretPadding,a=e.cornerRadius,o=e.xAlign,s=e.yAlign,l=i+r,u=a+r;return"right"===o?n.x-=t.width:"center"===o&&(n.x-=t.width/2),"top"===s?n.y+=l:"bottom"===s?n.y-=t.height+l:n.y-=t.height/2,"center"===s?"left"===o?n.x+=l:"right"===o&&(n.x-=l):"left"===o?n.x-=u:"right"===o&&(n.x+=u),n},drawCaret:function(e,t,n){var i,a,o,s,l,u,d=this._view,c=this._chart.ctx,h=d.caretSize,f=d.cornerRadius,p=d.xAlign,m=d.yAlign,g=e.x,_=e.y,y=t.width,v=t.height;"center"===m?("left"===p?(i=g,a=i-h,o=i):(i=g+y,a=i+h,o=i),l=_+v/2,s=l-h,u=l+h):("left"===p?(i=g+f,a=i+h,o=a+h):"right"===p?(i=g+y-f,a=i-h,o=a-h):(a=g+y/2,i=a-h,o=a+h),"top"===m?(s=_,l=s-h,u=s):(s=_+v,l=s+h,u=s));var b=r.color(d.backgroundColor);c.fillStyle=b.alpha(n*b.alpha()).rgbString(),c.beginPath(),c.moveTo(i,s),c.lineTo(a,l),c.lineTo(o,u),c.closePath(),c.fill()},drawTitle:function(e,t,n,i){var a=t.title;if(a.length){n.textAlign=t._titleAlign,n.textBaseline="top";var o=t.titleFontSize,s=t.titleSpacing,l=r.color(t.titleFontColor);n.fillStyle=l.alpha(i*l.alpha()).rgbString(),n.font=r.fontString(o,t._titleFontStyle,t._titleFontFamily);var u,d;for(u=0,d=a.length;u<d;++u)n.fillText(a[u],e.x,e.y),e.y+=o+s,u+1===a.length&&(e.y+=t.titleMarginBottom-s)}},drawBody:function(e,t,n,i){var a=t.bodyFontSize,o=t.bodySpacing,s=t.body;n.textAlign=t._bodyAlign,n.textBaseline="top";var l=r.color(t.bodyFontColor),u=l.alpha(i*l.alpha()).rgbString();n.fillStyle=u,n.font=r.fontString(a,t._bodyFontStyle,t._bodyFontFamily);var d=0,c=function(t){n.fillText(t,e.x+d,e.y),e.y+=a+o};r.each(t.beforeBody,c);var h=s.length>1;d=h?a+2:0,r.each(s,function(o,s){r.each(o.before,c),r.each(o.lines,function(o){h&&(n.fillStyle=r.color(t.legendColorBackground).alpha(i).rgbaString(),n.fillRect(e.x,e.y,a,a),n.strokeStyle=r.color(t.labelColors[s].borderColor).alpha(i).rgbaString(),n.strokeRect(e.x,e.y,a,a),n.fillStyle=r.color(t.labelColors[s].backgroundColor).alpha(i).rgbaString(),n.fillRect(e.x+1,e.y+1,a-2,a-2),n.fillStyle=u),c(o)}),r.each(o.after,c)}),d=0,r.each(t.afterBody,c),e.y-=o},drawFooter:function(e,t,n,i){var a=t.footer;if(a.length){e.y+=t.footerMarginTop,n.textAlign=t._footerAlign,n.textBaseline="top";var o=r.color(t.footerFontColor);n.fillStyle=o.alpha(i*o.alpha()).rgbString(),n.font=r.fontString(t.footerFontSize,t._footerFontStyle,t._footerFontFamily),r.each(a,function(i){n.fillText(i,e.x,e.y),e.y+=t.footerFontSize+t.footerSpacing})}},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var n=this.getTooltipSize(t),i={x:t.x,y:t.y},a=Math.abs(t.opacity<.001)?0:t.opacity;if(this._options.enabled){var o=r.color(t.backgroundColor);e.fillStyle=o.alpha(a*o.alpha()).rgbString(),r.drawRoundedRectangle(e,i.x,i.y,n.width,n.height,t.cornerRadius),e.fill(),this.drawCaret(i,n,a),i.x+=t.xPadding,i.y+=t.yPadding,this.drawTitle(i,t,e,a),this.drawBody(i,t,e,a),this.drawFooter(i,t,e,a)}}}})}},{}],35:[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;l<s;)l+=2*Math.PI;for(;a>l;)a-=2*Math.PI;for(;a<s;)a+=2*Math.PI;var u=a>=s&&a<=l,d=o>=i.innerRadius&&o<=i.outerRadius;return u&&d}return!1},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()}})}},{}],36:[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(t._view.x,e._view.y),l.lineTo(t._view.x,t._view.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,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=d===-1?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&&d!==-1?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||l.lineTo(u[u.length-1]._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=d===-1?f:u[d],p.skip||(d===c-1||a?e(f,h):l.moveTo(p.x,p.y),d=c));l.stroke(),l.restore()}})}},{}],37:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=e.defaults.global,i=n.defaultColor;n.elements.point={radius:3,pointStyle:"circle",backgroundColor:i,borderWidth:1,borderColor:i,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:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)<Math.pow(t.radius+t.hitRadius,2)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y,padding:e.radius+e.borderWidth}},draw:function(){var r=this._view,a=this._chart.ctx,o=r.pointStyle,s=r.radius,l=r.x,u=r.y;r.skip||(a.strokeStyle=r.borderColor||i,a.lineWidth=t.getValueOrDefault(r.borderWidth,n.elements.point.borderWidth),a.fillStyle=r.backgroundColor||i,e.canvasHelpers.drawPoint(a,o,s,l,u))}})}},{}],38:[function(e,t,n){"use strict";t.exports=function(e){var t=e.defaults.global;t.elements.rectangle={backgroundColor:t.defaultColor,borderWidth:0,borderColor:t.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);d===-1&&(d=0),t.moveTo.apply(t,e(0));for(var c=1;c<4;c++)t.lineTo.apply(t,e(c));t.fill(),n.borderWidth&&t.stroke()},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){var n=this._view;return!!n&&(n.y<n.base?e>=n.x-n.width/2&&e<=n.x+n.width/2&&t>=n.y&&t<=n.base:e>=n.x-n.width/2&&e<=n.x+n.width/2&&t>=n.base&&t<=n.y)},inLabelRange:function(e){var t=this._view;return!!t&&(e>=t.x-t.width/2&&e<=t.x+t.width/2)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}})}},{}],39:[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=i!==-1?i:e.minIndex),void 0!==e.options.ticks.max&&(i=t.indexOf(n,e.options.ticks.max),e.maxIndex=i!==-1?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){return this.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){var o=r.getLabels(),s=o.indexOf(e);t=s!==-1?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&&(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=e<=0?0:Math.round(e/o)},getBasePixel:function(){return this.bottom}});e.scaleService.registerScaleType("category",i,n)}},{}],40:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n={position:"left",ticks:{callback: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}}},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={},u=!1,d=!1;t.each(o,function(a,o){var s=r.getDatasetMeta(o);void 0===l[s.type]&&(l[s.type]={positiveValues:[],negativeValues:[]});var c=l[s.type].positiveValues,h=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||(c[t]=c[t]||0,h[t]=h[t]||0,i.relativePoints?c[t]=100:r<0?(d=!0,h[t]+=r):(u=!0,c[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)}},{}],41:[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);r<0&&a<0?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 e=this,n=e.options,i=e.ticks=[],r=n.ticks,a=t.getValueOrDefault,o=e.getTickLimit();o=Math.max(2,o);var s,l=r.fixedStepSize&&r.fixedStepSize>0||r.stepSize&&r.stepSize>0;if(l)s=a(r.fixedStepSize,r.stepSize);else{var u=t.niceNum(e.max-e.min,!1);s=t.niceNum(u/(o-1),!0)}var d=Math.floor(e.min/s)*s,c=Math.ceil(e.max/s)*s,h=(c-d)/s;h=t.almostEquals(h,Math.round(h),s/1e3)?Math.round(h):Math.ceil(h),i.push(void 0!==r.min?r.min:d);for(var f=1;f<h;++f)i.push(d+f*s);i.push(void 0!==r.max?r.max:c),e.handleDirectionalChanges(),e.max=t.max(i),e.min=t.min(i),r.reverse?(i.reverse(),e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max)},convertTicksToLabels:function(){var t=this;t.ticksAsNumbers=t.ticks.slice(),t.zeroLineIndex=t.ticks.indexOf(0),e.Scale.prototype.convertTicksToLabels.call(t)}})}},{}],42:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n={position:"left",ticks:{callback:function(e,n,i){var r=e/Math.pow(10,Math.floor(t.log10(e)));return 1===r||2===r||5===r||0===n||n===i.length-1?e.toExponential():""}}},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,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))})});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(){for(var e=this,n=e.options,i=n.ticks,r=t.getValueOrDefault,a=e.ticks=[],o=r(i.min,Math.pow(10,Math.floor(t.log10(e.min))));o<e.max;){a.push(o);var s=Math.floor(t.log10(o)),l=Math.floor(o/Math.pow(10,s))+1;10===l&&(l=1,++s),o=l*Math.pow(10,s)}var u=r(i.max,o);a.push(u),e.isHorizontal()||a.reverse(),e.max=t.max(a),e.min=t.min(a),i.reverse?(a.reverse(),e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.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=this,a=r.start,o=+r.getRightValue(e),s=t.log10(r.end)-t.log10(a),l=r.paddingTop,u=r.paddingBottom,d=r.paddingLeft;return r.isHorizontal()?0===o?i=r.left+d:(n=r.width-(d+r.paddingRight),i=r.left+n/s*(t.log10(o)-t.log10(a)),i+=d):0===o?i=r.top+l:(n=r.height-(l+u),i=r.bottom-u-n/s*(t.log10(o)-t.log10(a))),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)}},{}],43:[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},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),g=t.getValueOrDefault(p.fontStyle,n.defaultFontStyle),_=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,k=360*w/(2*Math.PI)%360;0===k||180===k?(a=r/2,e.x+a>b&&(b=e.x+a,o=i),e.x-a<M&&(M=e.x-a,l=i)):k<180?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:t<0&&n<0?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 g=l(a.fontColor,n.defaultFontColor);if(u.font=f,a.showLabelBackdrop){var _=u.measureText(o).width;u.fillStyle=a.backdropColor,u.fillRect(e.xCenter-_/2-a.backdropPaddingX,h-d/2-a.backdropPaddingY,_+2*a.backdropPaddingX,d+2*a.backdropPaddingY)}u.textAlign="center",u.textBaseline="middle",u.fillStyle=g,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),g=l(s.fontStyle,n.defaultFontStyle),_=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 k=e.pointLabels,L=this.getIndexAngle(v)+Math.PI/2,x=360*L/(2*Math.PI)%360;0===x||180===x?u.textAlign="center":x<180?u.textAlign="left":u.textAlign="right",90===x||270===x?u.textBaseline="middle":x>270||x<90?u.textBaseline="bottom":u.textBaseline="top",u.fillText(k[v]?k[v]:"",M.x,M.y)}}}}});e.scaleService.registerScaleType("radialLinear",r,i)}},{}],44:[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,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"undefined"!=typeof this.labelMoments[e]?this.labelMoments[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()},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="millisecond",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 g=0;g<m.steps.length;++g)if(m.steps[g]>=Math.ceil(i.scaleSizeInUnits/f)){i.unitScale=t.getValueOrDefault(i.options.time.unitStepSize,m.steps[g]);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 _=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)+_+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);0!==b.diff(i.lastTick,i.tickUnit,!0)&&(i.lastTick=i.getMomentStartOf(i.lastTick.add(1,i.tickUnit)))}i.smallestLabelSeparation=i.width,t.each(i.chart.data.datasets,function(e,t){for(var n=1;n<i.labelMoments[t].length;n++)i.smallestLabelSeparation=Math.min(i.smallestLabelSeparation,i.labelMoments[t][n].diff(i.labelMoments[t][n-1],i.tickUnit,!0))},i),i.options.time.displayFormat&&(i.displayFormat=i.options.time.displayFormat),i.ticks.push(i.firstTick.clone());for(var M=1;M<=i.scaleSizeInUnits;++M){var w=v.clone().add(M,i.tickUnit);if(i.options.time.max&&w.diff(i.lastTick,i.tickUnit,!0)>=0)break;M%i.unitScale===0&&i.ticks.push(w)}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()},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 r=this;e&&e.isValid||(e=i(r.getRightValue(e)));var a=e&&e.isValid&&e.isValid()?e:r.getLabelMoment(n,t);if(a){var o=a.diff(r.firstTick,r.tickUnit,!0),s=0!==o?o/r.scaleSizeInUnits:o;if(r.isHorizontal()){var l=r.width-(r.paddingLeft+r.paddingRight),u=l*s+r.paddingLeft;return r.left+Math.round(u)}var d=r.height-(r.paddingTop+r.paddingBottom),c=d*s+r.paddingTop;return r.top+Math.round(c)}},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,k,L,x,D,T,Y,S,C,H,A,j,P,E,I={},F=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):_(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)},_=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},g=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 j(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=_.get("tooltipFormatter"))return f(this,_,e);if(_.get("tooltipChartTitle")&&(y+='<div class="jqs jqstitle">'+_.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],(g=i.inArray(h,u))!=-1&&(c[g]=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",g=0;g<m;g++)e[g].isNull&&_.get("tooltipSkipNull")||(i.extend(e[g],{prefix:_.get("tooltipPrefix"),suffix:_.get("tooltipSuffix")}),s=p.render(e[g],_.get("tooltipValueLookups"),_),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,k,L,x,D,T,Y,S,C=this.options,H=this.target,A=this.canvasWidth,j=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&&(A<4*E||j<4*E)&&(E=0),E&&(x=C.get("highlightSpotColor")&&!C.get("disableInteraction"),(x||C.get("minSpotColor")||C.get("spotColor")&&Y[a]===this.miny)&&(j-=t.ceil(E)),(x||C.get("maxSpotColor")||C.get("spotColor")&&Y[a]===this.maxy)&&(j-=t.ceil(E),o+=t.ceil(E)),(x||(C.get("minSpotColor")||C.get("maxSpotColor"))&&(Y[0]===this.miny||Y[0]===this.maxy))&&(s+=t.ceil(E),A-=t.ceil(E)),(x||C.get("spotColor")||C.get("minSpotColor")||C.get("maxSpotColor")&&(Y[a]===this.miny||Y[a]===this.maxy))&&(A-=t.ceil(E))),j--,C.get("normalRangeMin")===n||C.get("drawNormalOnTop")||this.drawNormalRange(s,o,j,A,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)*(A/e)),m=S<v-1?s+t.round((f-this.minx)*(A/e)):A,_=p+(m-p)/2,I[S]=[g||0,_,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+j]),l=[p,o+t.round(j-j*((h-this.miny)/r))],u.push(l),P.push(l));for(b=[],M=[],k=d.length,S=0;S<k;S++)u=d[S],u.length&&(C.get("fillColor")&&(u.push([u[u.length-1][0],o+j]),M.push(u.slice(0)),u.pop()),u.length>2&&(u[0]=[u[0][0],u[1][1]]),b.push(u));for(k=M.length,S=0;S<k;S++)H.drawShape(M[S],C.get("fillColor"),C.get("fillColor")).append();for(C.get("normalRangeMin")!==n&&C.get("drawNormalOnTop")&&this.drawNormalRange(s,o,j,A,r),k=b.length,S=0;S<k;S++)H.drawShape(b[S],C.get("lineColor"),n,C.get("lineWidth")).append();if(E&&C.get("valueSpots"))for(L=C.get("valueSpots"),L.get===n&&(L=new y(L)),S=0;S<v;S++)D=L.get(Y[S]),D&&H.drawCircle(s+t.round((T[S]-this.minx)*(A/e)),o+t.round(j-j*((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)*(A/e)),o+t.round(j-j*((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)*(A/e)),o+t.round(j-j*((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)*(A/e)),o+t.round(j-j*((this.maxyorg-this.miny)/r)),E,n,C.get("maxSpotColor")).append())),this.lastShapeId=H.getLastShapeId(),this.canvasTop=o,H.render()}}}),i.fn.sparkline.bar=k=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,L,x,D,T,Y,S,C,H,A,j,P,E,I=parseInt(a.get("barWidth"),10),F=parseInt(a.get("barSpacing"),10),W=a.get("chartRangeMin"),O=a.get("chartRangeMax"),R=a.get("chartRangeClip"),N=1/0,z=-(1/0);for(k._super.init.call(this,e,r,a,o,l),_=0,v=r.length;_<v;_++)j=r[_],h="string"==typeof j&&j.indexOf(":")>-1,(h||i.isArray(j))&&(Y=!0,h&&(j=r[_]=d(j.split(":"))),j=c(j,null),f=t.min.apply(t,j),p=t.max.apply(t,j),f<N&&(N=f),p>z&&(z=p));this.stacked=Y,this.regionShapes={},this.barWidth=I,this.barSpacing=F,this.totalBarWidth=I+F,this.width=o=r.length*I+(r.length-1)*F,this.initTarget(),R&&(D=W===n?-(1/0):W,T=O===n?1/0:O),g=[],m=Y?[]:g;var B=[],$=[];for(_=0,v=r.length;_<v;_++)if(Y)for(S=r[_],r[_]=A=[],B[_]=0,m[_]=$[_]=0,C=0,H=S.length;C<H;C++)j=A[C]=R?s(S[C],D,T):S[C],null!==j&&(j>0&&(B[_]+=j),N<0&&z>0?j<0?$[_]+=t.abs(j):m[_]+=j:m[_]+=t.abs(j-(j<0?z:N)),g.push(j));else j=R?s(r[_],D,T):r[_],j=r[_]=u(j),null!==j&&g.push(j);this.max=x=t.max.apply(t,g),this.min=L=t.min.apply(t,g),this.stackMax=z=Y?t.max.apply(t,B):x,this.stackMin=N=Y?t.min.apply(t,g):L,a.get("chartRangeMin")!==n&&(a.get("chartRangeClip")||a.get("chartRangeMin")<L)&&(L=a.get("chartRangeMin")),a.get("chartRangeMax")!==n&&(a.get("chartRangeClip")||a.get("chartRangeMax")>x)&&(x=a.get("chartRangeMax")),
this.zeroAxis=M=a.get("zeroAxis",!0),w=L<=0&&x>=0&&M?0:0==M?L:L>0?L:x,this.xaxisOffset=w,b=Y?t.max.apply(t,m)+t.max.apply(t,$):x-L,this.canvasHeightEf=M&&L<0?this.canvasHeight-2:this.canvasHeight-1,L<w?(E=Y&&x>=0?z:x,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=g(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,g=this.values[e],_=this.options,y=this.xaxisOffset,v=[],b=this.range,M=this.stacked,w=this.target,k=e*this.totalBarWidth,L=this.canvasHeightEf,x=this.yoffset;if(g=i.isArray(g)?g:[g],c=g.length,h=g[0],l=f(null,g),m=f(y,g,!0),l)return _.get("nullColor")?(s=r?_.get("nullColor"):this.calcHighlightColor(_.get("nullColor"),_),a=x>0?x-1:x,w.drawRect(k,a,this.barWidth-1,0,s,s)):n;for(u=x,d=0;d<c;d++){if(h=g[d],M&&h===y){if(!m||p)continue;p=!0}o=b>0?t.floor(L*(t.abs(h-y)/b))+1:1,h<y||h===y&&0===x?(a=u,u+=o):(a=x-o,x-=o),s=this.calcColor(d,h,e),r&&(s=this.calcHighlightColor(s,_)),v.push(w.drawRect(k,a,this.barWidth-1,o-1,s,s))}return 1===v.length?v[0]:v}}),i.fn.sparkline.tristate=L=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);L._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=x=a(i.fn.sparkline._base,M,{type:"discrete",init:function(e,r,a,o,s){x._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,g=this.lineHeight,_=m-g;return r=s(l[e],d,c),o=e*f,i=t.round(_-_*((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+g,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,g=this.total,_=f?2*t.PI*(f/360):0;for(s=m.length,o=0;o<s;o++){if(r=_,a=_,g>0&&(a=_+p*(m[o]/g)),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);_=a}},render:function(){var e,i,r=this.target,a=this.values,o=this.options,s=this.radius,l=o.get("borderWidth");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);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,g=m.length,_=this.options,y=this.canvasWidth,v=this.canvasHeight,b=_.get("chartRangeMin")===n?t.min.apply(t,m):_.get("chartRangeMin"),M=_.get("chartRangeMax")===n?t.max.apply(t,m):_.get("chartRangeMax"),w=0;if(Y._super.render.call(this)){if(_.get("raw"))_.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,_.get("showOutliers")){for(e=u=n,c=0;c<g;c++)e===n&&m[c]>a-r*_.get("outlierIQR")&&(e=m[c]),m[c]<s+r*_.get("outlierIQR")&&(u=m[c]);i=m[0],d=m[g-1]}else e=m[0],u=m[g-1];this.quartiles=[a,o,s],this.lwhisker=e,this.rwhisker=u,this.loutlier=i,this.routlier=d,f=y/(M-b+1),_.get("showOutliers")&&(w=t.ceil(_.get("spotRadius")),y-=2*t.ceil(_.get("spotRadius")),f=y/(M-b+1),i<e&&p.drawCircle((i-b)*f+w,v/2,_.get("spotRadius"),_.get("outlierLineColor"),_.get("outlierFillColor")).append(),d>u&&p.drawCircle((d-b)*f+w,v/2,_.get("spotRadius"),_.get("outlierLineColor"),_.get("outlierFillColor")).append()),p.drawRect(t.round((a-b)*f+w),t.round(.1*v),t.round((s-a)*f),t.round(.8*v),_.get("boxLineColor"),_.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),_.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),_.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),_.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),_.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),_.get("medianColor")).append(),_.get("target")&&(h=t.ceil(_.get("spotRadius")),p.drawLine(t.round((_.get("target")-b)*f+w),t.round(v/2-h),t.round((_.get("target")-b)*f+w),t.round(v/2+h),_.get("targetColor")).append(),p.drawLine(t.round((_.get("target")-b)*f+w-h),t.round(v/2),t.round((_.get("target")-b)*f+w+h),t.round(v/2),_.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}}),A=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=F++;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")}}),j=a(A,{init:function(t,r,a,o){j._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(A,{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+'" ',g=u===n?' filled="false"':' fillColor="'+u+'" filled="true" ',_='<v:shape coordorigin="0 0" coordsize="'+this.pixelWidth+" "+this.pixelHeight+'" id="jqsshape'+e+'" '+m+g+' 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,n){"use strict";!function i(e,t,n){function r(o,s){if(!t[o]){if(!e[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=t[o]={exports:{}};e[o][0].call(d.exports,function(t){var n=e[o][1][t];return r(n?n:t)},d,d.exports,i,e,t,n)}return t[o].exports}for(var a="function"==typeof require&&require,o=0;o<n.length;o++)r(n[o]);return r}({1:[function(i,r,a){var o=function(e){return e&&e.__esModule?e:{"default":e}};Object.defineProperty(a,"__esModule",{value:!0});var s,l,u,d,c=i("./modules/handle-dom"),h=i("./modules/utils"),f=i("./modules/handle-swal-dom"),p=i("./modules/handle-click"),m=i("./modules/handle-key"),g=o(m),_=i("./modules/default-params"),y=o(_),v=i("./modules/set-params"),b=o(v);a["default"]=u=d=function(){function i(e){var t=r;return t[e]===n?y["default"][e]:t[e]}var r=arguments[0];if(c.addClass(t.body,"stop-scrolling"),f.resetInput(),r===n)return h.logStr("SweetAlert expects at least 1 attribute!"),!1;var a=h.extend({},y["default"]);switch(typeof r){case"string":a.title=r,a.text=arguments[1]||"",a.type=arguments[2]||"";break;case"object":if(r.title===n)return h.logStr('Missing "title" argument!'),!1;a.title=r.title;for(var o in y["default"])a[o]=i(o);a.confirmButtonText=a.showCancelButton?"Confirm":y["default"].confirmButtonText,a.confirmButtonText=i("confirmButtonText"),a.doneFunction=arguments[1]||null;break;default:return h.logStr('Unexpected type of argument! Expected "string" or "object", got '+typeof r),!1}b["default"](a),f.fixVerticalPosition(),f.openModal(arguments[1]);for(var u=f.getModal(),m=u.querySelectorAll("button"),_=["onclick","onmouseover","onmouseout","onmousedown","onmouseup","onfocus"],v=function(e){return p.handleButton(e,a,u)},M=0;M<m.length;M++)for(var w=0;w<_.length;w++){var k=_[w];m[M][k]=v}f.getOverlay().onclick=v,s=e.onkeydown;var L=function(e){return g["default"](e,a,u)};e.onkeydown=L,e.onfocus=function(){setTimeout(function(){l!==n&&(l.focus(),l=n)},0)},d.enableButtons()},u.setDefaults=d.setDefaults=function(e){if(!e)throw new Error("userParams is required");if("object"!=typeof e)throw new Error("userParams has to be a object");h.extend(y["default"],e)},u.close=d.close=function(){var i=f.getModal();c.fadeOut(f.getOverlay(),5),c.fadeOut(i,5),c.removeClass(i,"showSweetAlert"),c.addClass(i,"hideSweetAlert"),c.removeClass(i,"visible");var r=i.querySelector(".sa-icon.sa-success");c.removeClass(r,"animate"),c.removeClass(r.querySelector(".sa-tip"),"animateSuccessTip"),c.removeClass(r.querySelector(".sa-long"),"animateSuccessLong");var a=i.querySelector(".sa-icon.sa-error");c.removeClass(a,"animateErrorIcon"),c.removeClass(a.querySelector(".sa-x-mark"),"animateXMark");var o=i.querySelector(".sa-icon.sa-warning");return c.removeClass(o,"pulseWarning"),c.removeClass(o.querySelector(".sa-body"),"pulseWarningIns"),c.removeClass(o.querySelector(".sa-dot"),"pulseWarningIns"),setTimeout(function(){var e=i.getAttribute("data-custom-class");c.removeClass(i,e)},300),c.removeClass(t.body,"stop-scrolling"),e.onkeydown=s,e.previousActiveElement&&e.previousActiveElement.focus(),l=n,clearTimeout(i.timeout),!0},u.showInputError=d.showInputError=function(e){var t=f.getModal(),n=t.querySelector(".sa-input-error");c.addClass(n,"show");var i=t.querySelector(".sa-error-container");c.addClass(i,"show"),i.querySelector("p").innerHTML=e,setTimeout(function(){u.enableButtons()},1),t.querySelector("input").focus()},u.resetInputError=d.resetInputError=function(e){if(e&&13===e.keyCode)return!1;var t=f.getModal(),n=t.querySelector(".sa-input-error");c.removeClass(n,"show");var i=t.querySelector(".sa-error-container");c.removeClass(i,"show")},u.disableButtons=d.disableButtons=function(){var e=f.getModal(),t=e.querySelector("button.confirm"),n=e.querySelector("button.cancel");t.disabled=!0,n.disabled=!0},u.enableButtons=d.enableButtons=function(){var e=f.getModal(),t=e.querySelector("button.confirm"),n=e.querySelector("button.cancel");t.disabled=!1,n.disabled=!1},"undefined"!=typeof e?e.sweetAlert=e.swal=u:h.logStr("SweetAlert is a frontend module!"),r.exports=a["default"]},{"./modules/default-params":2,"./modules/handle-click":3,"./modules/handle-dom":4,"./modules/handle-key":5,"./modules/handle-swal-dom":6,"./modules/set-params":8,"./modules/utils":9}],2:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var i={title:"",text:"",type:null,allowOutsideClick:!1,showConfirmButton:!0,showCancelButton:!1,closeOnConfirm:!0,closeOnCancel:!0,confirmButtonText:"OK",confirmButtonColor:"#8CD4F5",cancelButtonText:"Cancel",imageUrl:null,imageSize:null,timer:null,customClass:"",html:!1,animation:!0,allowEscapeKey:!0,inputType:"text",inputPlaceholder:"",inputValue:"",showLoaderOnConfirm:!1};n["default"]=i,t.exports=n["default"]},{}],3:[function(t,n,i){Object.defineProperty(i,"__esModule",{value:!0});var r=t("./utils"),a=(t("./handle-swal-dom"),t("./handle-dom")),o=function(t,n,i){function o(e){p&&n.confirmButtonColor&&(f.style.backgroundColor=e)}var u,d,c,h=t||e.event,f=h.target||h.srcElement,p=-1!==f.className.indexOf("confirm"),m=-1!==f.className.indexOf("sweet-overlay"),g=a.hasClass(i,"visible"),_=n.doneFunction&&"true"===i.getAttribute("data-has-done-function");switch(p&&n.confirmButtonColor&&(u=n.confirmButtonColor,d=r.colorLuminance(u,-.04),c=r.colorLuminance(u,-.14)),h.type){case"mouseover":o(d);break;case"mouseout":o(u);break;case"mousedown":o(c);break;case"mouseup":o(d);break;case"focus":var y=i.querySelector("button.confirm"),v=i.querySelector("button.cancel");p?v.style.boxShadow="none":y.style.boxShadow="none";break;case"click":var b=i===f,M=a.isDescendant(i,f);if(!b&&!M&&g&&!n.allowOutsideClick)break;p&&_&&g?s(i,n):_&&g||m?l(i,n):a.isDescendant(i,f)&&"BUTTON"===f.tagName&&sweetAlert.close()}},s=function(e,t){var n=!0;a.hasClass(e,"show-input")&&(n=e.querySelector("input").value,n||(n="")),t.doneFunction(n),t.closeOnConfirm&&sweetAlert.close(),t.showLoaderOnConfirm&&sweetAlert.disableButtons()},l=function(e,t){var n=String(t.doneFunction).replace(/\s/g,""),i="function("===n.substring(0,9)&&")"!==n.substring(9,10);i&&t.doneFunction(!1),t.closeOnCancel&&sweetAlert.close()};i["default"]={handleButton:o,handleConfirm:s,handleCancel:l},n.exports=i["default"]},{"./handle-dom":4,"./handle-swal-dom":6,"./utils":9}],4:[function(n,i,r){Object.defineProperty(r,"__esModule",{value:!0});var a=function(e,t){return new RegExp(" "+t+" ").test(" "+e.className+" ")},o=function(e,t){a(e,t)||(e.className+=" "+t)},s=function(e,t){var n=" "+e.className.replace(/[\t\r\n]/g," ")+" ";if(a(e,t)){for(;n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},l=function(e){var n=t.createElement("div");return n.appendChild(t.createTextNode(e)),n.innerHTML},u=function(e){e.style.opacity="",e.style.display="block"},d=function(e){if(e&&!e.length)return u(e);for(var t=0;t<e.length;++t)u(e[t])},c=function(e){e.style.opacity="",e.style.display="none"},h=function(e){if(e&&!e.length)return c(e);for(var t=0;t<e.length;++t)c(e[t])},f=function(e,t){for(var n=t.parentNode;null!==n;){if(n===e)return!0;n=n.parentNode}return!1},p=function(e){e.style.left="-9999px",e.style.display="block";var t,n=e.clientHeight;return t="undefined"!=typeof getComputedStyle?parseInt(getComputedStyle(e).getPropertyValue("padding-top"),10):parseInt(e.currentStyle.padding),e.style.left="",e.style.display="none","-"+parseInt((n+t)/2)+"px"},m=function(e,t){if(+e.style.opacity<1){t=t||16,e.style.opacity=0,e.style.display="block";var n=+new Date,i=function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){e.style.opacity=+e.style.opacity+(new Date-n)/100,n=+new Date,+e.style.opacity<1&&setTimeout(i,t)});i()}e.style.display="block"},g=function(e,t){t=t||16,e.style.opacity=1;var n=+new Date,i=function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){e.style.opacity=+e.style.opacity-(new Date-n)/100,n=+new Date,+e.style.opacity>0?setTimeout(i,t):e.style.display="none"});i()},_=function(n){if("function"==typeof MouseEvent){var i=new MouseEvent("click",{view:e,bubbles:!1,cancelable:!0});n.dispatchEvent(i)}else if(t.createEvent){var r=t.createEvent("MouseEvents");r.initEvent("click",!1,!1),n.dispatchEvent(r)}else t.createEventObject?n.fireEvent("onclick"):"function"==typeof n.onclick&&n.onclick()},y=function(t){"function"==typeof t.stopPropagation?(t.stopPropagation(),t.preventDefault()):e.event&&e.event.hasOwnProperty("cancelBubble")&&(e.event.cancelBubble=!0)};r.hasClass=a,r.addClass=o,r.removeClass=s,r.escapeHtml=l,r._show=u,r.show=d,r._hide=c,r.hide=h,r.isDescendant=f,r.getTopMargin=p,r.fadeIn=m,r.fadeOut=g,r.fireClick=_,r.stopEventPropagation=y},{}],5:[function(t,i,r){Object.defineProperty(r,"__esModule",{value:!0});var a=t("./handle-dom"),o=t("./handle-swal-dom"),s=function(t,i,r){var s=t||e.event,l=s.keyCode||s.which,u=r.querySelector("button.confirm"),d=r.querySelector("button.cancel"),c=r.querySelectorAll("button[tabindex]");if(-1!==[9,13,32,27].indexOf(l)){for(var h=s.target||s.srcElement,f=-1,p=0;p<c.length;p++)if(h===c[p]){f=p;break}9===l?(h=-1===f?u:f===c.length-1?c[0]:c[f+1],a.stopEventPropagation(s),h.focus(),i.confirmButtonColor&&o.setFocusStyle(h,i.confirmButtonColor)):13===l?("INPUT"===h.tagName&&(h=u,u.focus()),h=-1===f?u:n):27===l&&i.allowEscapeKey===!0?(h=d,a.fireClick(h,s)):h=n}};r["default"]=s,i.exports=r["default"]},{"./handle-dom":4,"./handle-swal-dom":6}],6:[function(n,i,r){var a=function(e){return e&&e.__esModule?e:{"default":e}};Object.defineProperty(r,"__esModule",{value:!0});var o=n("./utils"),s=n("./handle-dom"),l=n("./default-params"),u=a(l),d=n("./injected-html"),c=a(d),h=".sweet-alert",f=".sweet-overlay",p=function(){var e=t.createElement("div");for(e.innerHTML=c["default"];e.firstChild;)t.body.appendChild(e.firstChild)},m=function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){var e=t.querySelector(h);return e||(p(),e=m()),e}),g=function(){var e=m();return e?e.querySelector("input"):void 0},_=function(){return t.querySelector(f)},y=function(e,t){var n=o.hexToRgb(t);e.style.boxShadow="0 0 2px rgba("+n+", 0.8), inset 0 0 0 1px rgba(0, 0, 0, 0.05)"},v=function(n){var i=m();s.fadeIn(_(),10),s.show(i),s.addClass(i,"showSweetAlert"),s.removeClass(i,"hideSweetAlert"),e.previousActiveElement=t.activeElement;var r=i.querySelector("button.confirm");r.focus(),setTimeout(function(){s.addClass(i,"visible")},500);var a=i.getAttribute("data-timer");if("null"!==a&&""!==a){var o=n;i.timeout=setTimeout(function(){var e=(o||null)&&"true"===i.getAttribute("data-has-done-function");e?o(null):sweetAlert.close()},a)}},b=function(){var e=m(),t=g();s.removeClass(e,"show-input"),t.value=u["default"].inputValue,t.setAttribute("type",u["default"].inputType),t.setAttribute("placeholder",u["default"].inputPlaceholder),M()},M=function(e){if(e&&13===e.keyCode)return!1;var t=m(),n=t.querySelector(".sa-input-error");s.removeClass(n,"show");var i=t.querySelector(".sa-error-container");s.removeClass(i,"show")},w=function(){var e=m();e.style.marginTop=s.getTopMargin(m())};r.sweetAlertInitialize=p,r.getModal=m,r.getOverlay=_,r.getInput=g,r.setFocusStyle=y,r.openModal=v,r.resetInput=b,r.resetInputError=M,r.fixVerticalPosition=w},{"./default-params":2,"./handle-dom":4,"./injected-html":7,"./utils":9}],7:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var i='<div class="sweet-overlay" tabIndex="-1"></div><div class="sweet-alert"><div class="sa-icon sa-error">\n <span class="sa-x-mark">\n <span class="sa-line sa-left"></span>\n <span class="sa-line sa-right"></span>\n </span>\n </div><div class="sa-icon sa-warning">\n <span class="sa-body"></span>\n <span class="sa-dot"></span>\n </div><div class="sa-icon sa-info"></div><div class="sa-icon sa-success">\n <span class="sa-line sa-tip"></span>\n <span class="sa-line sa-long"></span>\n\n <div class="sa-placeholder"></div>\n <div class="sa-fix"></div>\n </div><div class="sa-icon sa-custom"></div><h2>Title</h2>\n <p>Text</p>\n <fieldset>\n <input type="text" tabIndex="3" />\n <div class="sa-input-error"></div>\n </fieldset><div class="sa-error-container">\n <div class="icon">!</div>\n <p>Not valid!</p>\n </div><div class="sa-button-container">\n <button class="cancel" tabIndex="2">Cancel</button>\n <div class="sa-confirm-button-container">\n <button class="confirm" tabIndex="1">OK</button><div class="la-ball-fall">\n <div></div>\n <div></div>\n <div></div>\n </div>\n </div>\n </div></div>';
n["default"]=i,t.exports=n["default"]},{}],8:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0});var r=e("./utils"),a=e("./handle-swal-dom"),o=e("./handle-dom"),s=["error","warning","info","success","input","prompt"],l=function(e){var t=a.getModal(),i=t.querySelector("h2"),l=t.querySelector("p"),u=t.querySelector("button.cancel"),d=t.querySelector("button.confirm");if(i.innerHTML=e.html?e.title:o.escapeHtml(e.title).split("\n").join("<br>"),l.innerHTML=e.html?e.text:o.escapeHtml(e.text||"").split("\n").join("<br>"),e.text&&o.show(l),e.customClass)o.addClass(t,e.customClass),t.setAttribute("data-custom-class",e.customClass);else{var c=t.getAttribute("data-custom-class");o.removeClass(t,c),t.setAttribute("data-custom-class","")}if(o.hide(t.querySelectorAll(".sa-icon")),e.type&&!r.isIE8()){var h=function(){for(var i=!1,r=0;r<s.length;r++)if(e.type===s[r]){i=!0;break}if(!i)return logStr("Unknown alert type: "+e.type),{v:!1};var l=["success","error","warning","info"],u=n;-1!==l.indexOf(e.type)&&(u=t.querySelector(".sa-icon.sa-"+e.type),o.show(u));var d=a.getInput();switch(e.type){case"success":o.addClass(u,"animate"),o.addClass(u.querySelector(".sa-tip"),"animateSuccessTip"),o.addClass(u.querySelector(".sa-long"),"animateSuccessLong");break;case"error":o.addClass(u,"animateErrorIcon"),o.addClass(u.querySelector(".sa-x-mark"),"animateXMark");break;case"warning":o.addClass(u,"pulseWarning"),o.addClass(u.querySelector(".sa-body"),"pulseWarningIns"),o.addClass(u.querySelector(".sa-dot"),"pulseWarningIns");break;case"input":case"prompt":d.setAttribute("type",e.inputType),d.value=e.inputValue,d.setAttribute("placeholder",e.inputPlaceholder),o.addClass(t,"show-input"),setTimeout(function(){d.focus(),d.addEventListener("keyup",swal.resetInputError)},400)}}();if("object"==typeof h)return h.v}if(e.imageUrl){var f=t.querySelector(".sa-icon.sa-custom");f.style.backgroundImage="url("+e.imageUrl+")",o.show(f);var p=80,m=80;if(e.imageSize){var g=e.imageSize.toString().split("x"),_=g[0],y=g[1];_&&y?(p=_,m=y):logStr("Parameter imageSize expects value with format WIDTHxHEIGHT, got "+e.imageSize)}f.setAttribute("style",f.getAttribute("style")+"width:"+p+"px; height:"+m+"px")}t.setAttribute("data-has-cancel-button",e.showCancelButton),e.showCancelButton?u.style.display="inline-block":o.hide(u),t.setAttribute("data-has-confirm-button",e.showConfirmButton),e.showConfirmButton?d.style.display="inline-block":o.hide(d),e.cancelButtonText&&(u.innerHTML=o.escapeHtml(e.cancelButtonText)),e.confirmButtonText&&(d.innerHTML=o.escapeHtml(e.confirmButtonText)),e.confirmButtonColor&&(d.style.backgroundColor=e.confirmButtonColor,d.style.borderLeftColor=e.confirmLoadingButtonColor,d.style.borderRightColor=e.confirmLoadingButtonColor,a.setFocusStyle(d,e.confirmButtonColor)),t.setAttribute("data-allow-outside-click",e.allowOutsideClick);var v=!!e.doneFunction;t.setAttribute("data-has-done-function",v),e.animation?"string"==typeof e.animation?t.setAttribute("data-animation",e.animation):t.setAttribute("data-animation","pop"):t.setAttribute("data-animation","none"),t.setAttribute("data-timer",e.timer)};i["default"]=l,t.exports=i["default"]},{"./handle-dom":4,"./handle-swal-dom":6,"./utils":9}],9:[function(t,n,i){Object.defineProperty(i,"__esModule",{value:!0});var r=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},a=function(e){var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?parseInt(t[1],16)+", "+parseInt(t[2],16)+", "+parseInt(t[3],16):null},o=function(){return e.attachEvent&&!e.addEventListener},s=function(t){e.console&&e.console.log("SweetAlert: "+t)},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;var n,i,r="#";for(i=0;3>i;i++)n=parseInt(e.substr(2*i,2),16),n=Math.round(Math.min(Math.max(0,n+n*t),255)).toString(16),r+=("00"+n).substr(n.length);return r};i.extend=r,i.hexToRgb=a,i.isIE8=o,i.logStr=s,i.colorLuminance=l},{}]},{},[1]),"function"==typeof define&&define.amd?define(function(){return sweetAlert}):"undefined"!=typeof module&&module.exports&&(module.exports=sweetAlert)}(window,document),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")}$.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")?askConfirmation(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"}});var t=document.getElementById("component-list");t&&new Sortable(t,{group:"omega",handle:".drag-handle",onUpdate:function(){var e=$.map($("#component-list .striped-list-item"),function(e){return $(e).data("component-id")});$.ajax({async:!0,url:"/dashboard/api/components/order",type:"POST",data:{ids:e},success:function(){(new Cachet.Notifier).notify("Component orders updated.","success")},error:function(){(new Cachet.Notifier).notify("Component orders not updated.","error")}})}});var n=document.getElementById("component-group-list");if(n&&new Sortable(n,{group:"omega",handle:".drag-handle",onUpdate:function(){var e=$.map($("#component-group-list .striped-list-item"),function(e){return $(e).data("group-id")});$.ajax({async:!0,url:"/dashboard/api/components/groups/order",type:"POST",data:{ids:e},success:function(){(new Cachet.Notifier).notify("Component groups order has been updated.","success")},error:function(){(new Cachet.Notifier).notify("Component groups order could not be 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")}),$(".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")})});