AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.94
Web Server : Apache
System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : coopiak ( 151928)
PHP Version : 8.3.23
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/coopiak/amisdesseniors-fr/annonces/media/foundry/scripts/vendor/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/annonces/media/foundry/scripts/vendor/chart.min.js
FD.module("vendor/chart",function(t){var e=this;!function(t){"object"==typeof exports&&void 0!==e?e.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Chart=t()}(function(){return function i(a,o,r){function s(n,t){if(!o[n]){if(!a[n]){var e="function"==typeof require&&require;if(!t&&e)return e(n,!0);if(l)return l(n,!0);throw(e=new Error("Cannot find module '"+n+"'")).code="MODULE_NOT_FOUND",e}e=o[n]={exports:{}},a[n][0].call(e.exports,function(t){var e=a[n][1][t];return s(e||t)},e,e.exports,i,a,o,r)}return o[n].exports}for(var l="function"==typeof require&&require,t=0;t<r.length;t++)s(r[t]);return s}({1:[function(t,e,n){function i(t){if(t){var e=[0,0,0],n=1;if(i=t.match(/^#([a-fA-F0-9]{3})$/i))for(var i=i[1],a=0;a<e.length;a++)e[a]=parseInt(i[a]+i[a],16);else if(i=t.match(/^#([a-fA-F0-9]{6})$/i)){i=i[1];for(a=0;a<e.length;a++)e[a]=parseInt(i.slice(2*a,2*a+2),16)}else if(i=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<e.length;a++)e[a]=parseInt(i[a+1]);n=parseFloat(i[4])}else if(i=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<e.length;a++)e[a]=Math.round(2.55*parseFloat(i[a+1]));n=parseFloat(i[4])}else if(i=t.match(/(\w+)/)){if("transparent"==i[1])return[0,0,0,0];if(!(e=h[i[1]]))return}for(a=0;a<e.length;a++)e[a]=u(e[a],0,255);return n=n||0==n?u(n,0,1):1,e[3]=n,e}}function a(t){if(t){var e=t.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){t=parseFloat(e[4]);return[u(parseInt(e[1]),0,360),u(parseFloat(e[2]),0,100),u(parseFloat(e[3]),0,100),u(isNaN(t)?1:t,0,1)]}}}function o(t){if(t){var e=t.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){t=parseFloat(e[4]);return[u(parseInt(e[1]),0,360),u(parseFloat(e[2]),0,100),u(parseFloat(e[3]),0,100),u(isNaN(t)?1:t,0,1)]}}}function r(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function s(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function l(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function u(t,e,n){return Math.min(Math.max(e,t),n)}function d(t){t=t.toString(16).toUpperCase();return t.length<2?"0"+t:t}var h=t(5);e.exports={getRgba:i,getHsla:a,getRgb:function(t){return(t=i(t))&&t.slice(0,3)},getHsl:function(t){return(t=a(t))&&t.slice(0,3)},getHwb:o,getAlpha:function(t){var e=i(t);return(e=e||a(t))||(e=o(t))?e[3]:void 0},hexString:function(t){return"#"+d(t[0])+d(t[1])+d(t[2])},rgbString:function(t,e){return e<1||t[3]&&t[3]<1?r(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:r,percentString:function(t,e){return e<1||t[3]&&t[3]<1?s(t,e):"rgb("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%)"},percentaString:s,hslString:function(t,e){return e<1||t[3]&&t[3]<1?l(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:l,hwbString:function(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"},keyword:function(t){return f[t.slice(0,3)]}};var c,f={};for(c in h)f[h[c]]=c},{5:5}],2:[function(t,e,n){function r(t){return t instanceof r?t:this instanceof r?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof t?(e=i.getRgba(t))?this.setValues("rgb",e):(e=i.getHsla(t))?this.setValues("hsl",e):(e=i.getHwb(t))&&this.setValues("hwb",e):"object"==typeof t&&(void 0!==(e=t).r||void 0!==e.red?this.setValues("rgb",e):void 0!==e.l||void 0!==e.lightness?this.setValues("hsl",e):void 0!==e.v||void 0!==e.value?this.setValues("hsv",e):void 0!==e.w||void 0!==e.whiteness?this.setValues("hwb",e):void 0===e.c&&void 0===e.cyan||this.setValues("cmyk",e)))):new r(t);var e}var d=t(4),i=t(1);r.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t=t&&((t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return i.hexString(this.values.rgb)},rgbString:function(){return i.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return i.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return i.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return i.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return i.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return i.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return i.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],n=0;n<t.length;n++){var i=t[n]/255;e[n]=i<=.03928?i/12.92:Math.pow((.055+i)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),t=t.luminosity();return t<e?(e+.05)/(t+.05):(t+.05)/(e+.05)},level:function(t){t=this.contrast(t);return 7.1<=t?"AAA":4.5<=t?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,t=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,t=(e[0]+t)%360;return e[0]=t<0?360+t:t,this.setValues("hsl",e),this},mix:function(t,e){var n=this,i=t,a=void 0===e?.5:e,t=2*a-1,e=n.alpha()-i.alpha(),t=(1+(t*e==-1?t:(t+e)/(1+t*e)))/2,e=1-t;return this.rgb(t*n.red()+e*i.red(),t*n.green()+e*i.green(),t*n.blue()+e*i.blue()).alpha(n.alpha()*a+i.alpha()*(1-a))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n,i=new r,a=this.values,o=i.values;for(n in a)a.hasOwnProperty(n)&&(t=a[n],"[object Array]"===(e={}.toString.call(t))?o[n]=t.slice(0):"[object Number]"===e?o[n]=t:console.error("unexpected color value:",t));return i}},r.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},r.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},r.prototype.getValues=function(t){for(var e=this.values,n={},i=0;i<t.length;i++)n[t.charAt(i)]=e[t][i];return 1!==e.alpha&&(n.a=e.alpha),n},r.prototype.setValues=function(t,e){var n,i,a=this.values,o=this.spaces,r=this.maxes,s=1;if(this.valid=!0,"alpha"===t)s=e;else if(e.length)a[t]=e.slice(0,t.length),s=e[t.length];else if(void 0!==e[t.charAt(0)]){for(u=0;u<t.length;u++)a[t][u]=e[t.charAt(u)];s=e.a}else if(void 0!==e[o[t][0]]){for(var l=o[t],u=0;u<t.length;u++)a[t][u]=e[l[u]];s=e.alpha}if(a.alpha=Math.max(0,Math.min(1,void 0===s?a.alpha:s)),"alpha"===t)return!1;for(u=0;u<t.length;u++)n=Math.max(0,Math.min(r[t][u],a[t][u])),a[t][u]=Math.round(n);for(i in o)i!==t&&(a[i]=d[t][i](a[t]));return!0},r.prototype.setSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n),this)},r.prototype.setChannel=function(t,e,n){var i=this.values[t];return void 0===n?i[e]:(n===i[e]||(i[e]=n,this.setValues(t,i)),this)},"undefined"!=typeof window&&(window.Color=r),e.exports=r},{1:1,4:4}],3:[function(t,e,n){function a(t){var e,n=t[0]/255,i=t[1]/255,a=t[2]/255,o=Math.min(n,i,a),r=Math.max(n,i,a),t=r-o;return r==o?e=0:n==r?e=(i-a)/t:i==r?e=2+(a-n)/t:a==r&&(e=4+(n-i)/t),(e=Math.min(60*e,360))<0&&(e+=360),i=(o+r)/2,[e,100*(r==o?0:i<=.5?t/(r+o):t/(2-r-o)),100*i]}function i(t){var e,n=t[0],i=t[1],a=t[2],o=Math.min(n,i,a),r=Math.max(n,i,a),s=r-o,t=0==r?0:s/r*1e3/10;return r==o?e=0:n==r?e=(i-a)/s:i==r?e=2+(a-n)/s:a==r&&(e=4+(n-i)/s),(e=Math.min(60*e,360))<0&&(e+=360),[e,t,r/255*1e3/10]}function o(t){var e=t[0],n=t[1],i=t[2];return[a(t)[0],100*(1/255*Math.min(e,Math.min(n,i))),100*(i=1-1/255*Math.max(e,Math.max(n,i)))]}function s(t){var e=t[0]/255,n=t[1]/255,i=t[2]/255,t=Math.min(1-e,1-n,1-i);return[100*((1-e-t)/(1-t)||0),100*((1-n-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]}function l(t){return D[JSON.stringify(t)]}function u(t){var e=t[0]/255,n=t[1]/255,t=t[2]/255;return[100*(.4124*(e=.04045<e?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=.04045<n?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(t=.04045<t?Math.pow((t+.055)/1.055,2.4):t/12.92)),100*(.2126*e+.7152*n+.0722*t),100*(.0193*e+.1192*n+.9505*t)]}function d(t){var e=u(t),n=e[0],t=e[1],e=e[2];return t/=100,e/=108.883,n=.008856<(n/=95.047)?Math.pow(n,1/3):7.787*n+16/116,[116*(t=.008856<t?Math.pow(t,1/3):7.787*t+16/116)-16,500*(n-t),200*(t-(e=.008856<e?Math.pow(e,1/3):7.787*e+16/116))]}function h(t){var e,n,i=t[0]/360,a=t[1]/100,t=t[2]/100;if(0==a)return[n=255*t,n,n];for(var o,r=2*t-(o=t<.5?t*(1+a):t+a-t*a),s=[0,0,0],l=0;l<3;l++)(e=i+1/3*-(l-1))<0&&e++,1<e&&e--,s[l]=255*(n=6*e<1?r+6*(o-r)*e:2*e<1?o:3*e<2?r+(o-r)*(2/3-e)*6:r);return s}function c(t){var e=t[0]/60,n=t[1]/100,i=t[2]/100,t=Math.floor(e)%6,e=e-Math.floor(e),a=255*i*(1-n),o=255*i*(1-n*e),r=255*i*(1-n*(1-e)),i=255*i;switch(t){case 0:return[i,r,a];case 1:return[o,i,a];case 2:return[a,i,r];case 3:return[a,o,i];case 4:return[r,a,i];case 5:return[i,a,o]}}function f(t){var e,n,i=t[0]/360,a=t[1]/100,o=t[2]/100,t=a+o;switch(1<t&&(a/=t,o/=t),i=6*i-(t=Math.floor(6*i)),n=a+(i=0!=(1&t)?1-i:i)*((e=1-o)-a),t){default:case 6:case 0:r=e,g=n,b=a;break;case 1:r=n,g=e,b=a;break;case 2:r=a,g=e,b=n;break;case 3:r=a,g=n,b=e;break;case 4:r=n,g=a,b=e;break;case 5:r=e,g=a,b=n}return[255*r,255*g,255*b]}function m(t){var e=t[0]/100,n=t[1]/100,i=t[2]/100,t=t[3]/100;return[255*(1-Math.min(1,e*(1-t)+t)),255*(1-Math.min(1,n*(1-t)+t)),255*(1-Math.min(1,i*(1-t)+t))]}function p(t){var e=t[0]/100,n=t[1]/100,i=t[2]/100,a=3.2406*e+-1.5372*n+-.4986*i,t=-.9689*e+1.8758*n+.0415*i,i=.0557*e+-.204*n+1.057*i;return a=.0031308<a?1.055*Math.pow(a,1/2.4)-.055:12.92*a,t=.0031308<t?1.055*Math.pow(t,1/2.4)-.055:12.92*t,i=.0031308<i?1.055*Math.pow(i,1/2.4)-.055:12.92*i,[255*(a=Math.min(Math.max(0,a),1)),255*(t=Math.min(Math.max(0,t),1)),255*(i=Math.min(Math.max(0,i),1))]}function v(t){var e=t[0],n=t[1],t=t[2];return n/=100,t/=108.883,e=.008856<(e/=95.047)?Math.pow(e,1/3):7.787*e+16/116,[116*(n=.008856<n?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(t=.008856<t?Math.pow(t,1/3):7.787*t+16/116))]}function y(t){var e,n=t[0],i=t[1],t=t[2],n=n<=8?(e=100*n/903.3)/100*7.787+16/116:(e=100*Math.pow((n+16)/116,3),Math.pow(e/100,1/3)),a=a/95.047<=.008856?95.047*(i/500+n-16/116)/7.787:95.047*Math.pow(i/500+n,3),o=o/108.883<=.008859?108.883*(n-t/200-16/116)/7.787:108.883*Math.pow(n-t/200,3);return[a,e,o]}function x(t){var e=t[0],n=t[1],i=t[2],t=360*Math.atan2(i,n)/2/Math.PI;return t<0&&(t+=360),[e,Math.sqrt(n*n+i*i),t]}function _(t){return p(y(t))}function k(t){var e=t[0],n=t[1],t=t[2]/360*2*Math.PI;return[e,n*Math.cos(t),n*Math.sin(t)]}function w(t){return S[t]}e.exports={rgb2hsl:a,rgb2hsv:i,rgb2hwb:o,rgb2cmyk:s,rgb2keyword:l,rgb2xyz:u,rgb2lab:d,rgb2lch:function(t){return x(d(t))},hsl2rgb:h,hsl2hsv:function(t){var e=t[0],n=t[1]/100;return 0==(t=t[2]/100)?[0,0,0]:[e,100*(2*(n*=(t*=2)<=1?t:2-t)/(t+n)),100*((t+n)/2)]},hsl2hwb:function(t){return o(h(t))},hsl2cmyk:function(t){return s(h(t))},hsl2keyword:function(t){return l(h(t))},hsv2rgb:c,hsv2hsl:function(t){var e=t[0],n=t[1]/100,i=t[2]/100,t=(2-n)*i,i=n*i;return[e,100*((i/=t<=1?t:2-t)||0),100*(t/=2)]},hsv2hwb:function(t){return o(c(t))},hsv2cmyk:function(t){return s(c(t))},hsv2keyword:function(t){return l(c(t))},hwb2rgb:f,hwb2hsl:function(t){return a(f(t))},hwb2hsv:function(t){return i(f(t))},hwb2cmyk:function(t){return s(f(t))},hwb2keyword:function(t){return l(f(t))},cmyk2rgb:m,cmyk2hsl:function(t){return a(m(t))},cmyk2hsv:function(t){return i(m(t))},cmyk2hwb:function(t){return o(m(t))},cmyk2keyword:function(t){return l(m(t))},keyword2rgb:w,keyword2hsl:function(t){return a(w(t))},keyword2hsv:function(t){return i(w(t))},keyword2hwb:function(t){return o(w(t))},keyword2cmyk:function(t){return s(w(t))},keyword2lab:function(t){return d(w(t))},keyword2xyz:function(t){return u(w(t))},xyz2rgb:p,xyz2lab:v,xyz2lch:function(t){return x(v(t))},lab2xyz:y,lab2rgb:_,lab2lch:x,lch2lab:k,lch2xyz:function(t){return y(k(t))},lch2rgb:function(t){return _(k(t))}};var M,S={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]},D={};for(M in S)D[JSON.stringify(S[M])]=M},{}],4:[function(t,e,n){function a(){return new l}var i,o=t(3);for(i in o){a[i+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),o[e](t)}}(i);var r=/(\w+)2(\w+)/.exec(i),s=r[1],r=r[2];a[s]=a[s]||{},a[s][r]=a[i]=function(i){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var e=o[i](t);if("string"==typeof e||void 0===e)return e;for(var n=0;n<e.length;n++)e[n]=Math.round(e[n]);return e}}(i)}var l=function(){this.convs={}};l.prototype.routeSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n))},l.prototype.setValues=function(t,e){return this.space=t,this.convs={},this.convs[t]=e,this},l.prototype.getValues=function(t){var e,n,i=this.convs[t];return i||(e=this.space,n=this.convs[e],i=a[e][t](n),this.convs[t]=i),i},["rgb","hsl","hsv","cmyk","keyword"].forEach(function(e){l.prototype[e]=function(t){return this.routeSpace(e,arguments)}}),e.exports=a},{3:3}],5:[function(t,e,n){"use strict";e.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]}},{}],6:[function(xn,_n,t){var e,n;e=this,n=function(){"use strict";function h(){return Kt.apply(null,arguments)}function r(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function s(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function o(t){return void 0===t}function l(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function i(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function a(t,e){for(var n=[],i=0;i<t.length;++i)n.push(e(t[i],i));return n}function c(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function u(t,e){for(var n in e)c(e,n)&&(t[n]=e[n]);return c(e,"toString")&&(t.toString=e.toString),c(e,"valueOf")&&(t.valueOf=e.valueOf),t}function d(t,e,n,i){return pt(t,e,n,i,!0).utc()}function f(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function g(t){if(null==t._isValid){var e=f(t),n=$t.call(e.parsedDateParts,function(t){return null!=t}),n=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(n=n&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return n;t._isValid=n}return t._isValid}function m(t){var e=d(NaN);return null!=t?u(f(e),t):f(e).userInvalidated=!0,e}function p(t,e){var n,i,a;if(o(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),o(e._i)||(t._i=e._i),o(e._f)||(t._f=e._f),o(e._l)||(t._l=e._l),o(e._strict)||(t._strict=e._strict),o(e._tzm)||(t._tzm=e._tzm),o(e._isUTC)||(t._isUTC=e._isUTC),o(e._offset)||(t._offset=e._offset),o(e._pf)||(t._pf=f(e)),o(e._locale)||(t._locale=e._locale),0<Qt.length)for(n=0;n<Qt.length;n++)o(a=e[i=Qt[n]])||(t[i]=a);return t}function v(t){p(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===te&&(te=!0,h.updateOffset(this),te=!1)}function y(t){return t instanceof v||null!=t&&null!=t._isAMomentObject}function b(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function x(t){var e=+t,t=0;return t=0!=e&&isFinite(e)?b(e):t}function _(t,e,n){for(var i=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),o=0,r=0;r<i;r++)(n&&t[r]!==e[r]||!n&&x(t[r])!==x(e[r]))&&o++;return o+a}function k(t){!1===h.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function t(a,o){var r=!0;return u(function(){if(null!=h.deprecationHandler&&h.deprecationHandler(null,a),r){for(var t,e=[],n=0;n<arguments.length;n++){if(t="","object"==typeof arguments[n]){for(var i in t+="\n["+n+"] ",arguments[0])t+=i+": "+arguments[0][i]+", ";t=t.slice(0,-2)}else t=arguments[n];e.push(t)}k(a+"\nArguments: "+Array.prototype.slice.call(e).join("")+"\n"+(new Error).stack),r=!1}return o.apply(this,arguments)},o)}function w(t,e){null!=h.deprecationHandler&&h.deprecationHandler(t,e),ee[t]||(k(e),ee[t]=!0)}function M(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function S(t,e){var n,i=u({},t);for(n in e)c(e,n)&&(s(t[n])&&s(e[n])?(i[n]={},u(i[n],t[n]),u(i[n],e[n])):null!=e[n]?i[n]=e[n]:delete i[n]);for(n in t)c(t,n)&&!c(e,n)&&s(t[n])&&(i[n]=u({},i[n]));return i}function D(t){null!=t&&this.set(t)}function e(t,e){var n=t.toLowerCase();ie[n]=ie[n+"s"]=ie[e]=t}function C(t){return"string"==typeof t?ie[t]||ie[t.toLowerCase()]:void 0}function P(t){var e,n,i={};for(n in t)c(t,n)&&(e=C(n))&&(i[e]=t[n]);return i}function n(t,e){ae[t]=e}function T(t,e,n){var i=""+Math.abs(t),e=e-i.length;return(0<=t?n?"+":"":"-")+Math.pow(10,Math.max(0,e)).toString().substr(1)+i}function O(t,e,n,i){var a="string"==typeof i?function(){return this[i]()}:i;t&&(le[t]=a),e&&(le[e[0]]=function(){return T(a.apply(this,arguments),e[1],e[2])}),n&&(le[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),t)})}function I(t,e){return t.isValid()?(e=A(e,t.localeData()),se[e]=se[e]||function(i){for(var t,a=i.match(oe),e=0,o=a.length;e<o;e++)le[a[e]]?a[e]=le[a[e]]:a[e]=(t=a[e]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(t){for(var e="",n=0;n<o;n++)e+=M(a[n])?a[n].call(t,i):a[n];return e}}(e),se[e](t)):t.localeData().invalidDate()}function A(t,e){function n(t){return e.longDateFormat(t)||t}var i=5;for(re.lastIndex=0;0<=i&&re.test(t);)t=t.replace(re,n),re.lastIndex=0,--i;return t}function F(t,n,i){Se[t]=M(n)?n:function(t,e){return t&&i?i:n}}function R(t,e){return c(Se,t)?Se[t](e._strict,e._locale):new RegExp(L(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,a){return e||n||i||a})))}function L(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Y(t,n){var e,i=n;for("string"==typeof t&&(t=[t]),l(n)&&(i=function(t,e){e[n]=x(t)}),e=0;e<t.length;e++)De[t[e]]=i}function W(t,a){Y(t,function(t,e,n,i){n._w=n._w||{},a(t,n._w,n,i)})}function N(t){return z(t)?366:365}function z(t){return t%4==0&&t%100!=0||t%400==0}function H(e,n){return function(t){return null!=t?(B(this,e,t),h.updateOffset(this,n),this):V(this,e)}}function V(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function B(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&z(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),E(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function E(t,e){if(isNaN(t)||isNaN(e))return NaN;var n,n=(e%(n=12)+n)%n;return t+=(e-n)/12,1==n?z(t)?29:28:31-n%7%2}function j(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=x(e);else if(!l(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),E(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function U(t){return null!=t?(j(this,t),h.updateOffset(this,!0),this):V(this,"Month")}function q(){function t(t,e){return e.length-t.length}for(var e,n=[],i=[],a=[],o=0;o<12;o++)e=d([2e3,o]),n.push(this.monthsShort(e,"")),i.push(this.months(e,"")),a.push(this.months(e,"")),a.push(this.monthsShort(e,""));for(n.sort(t),i.sort(t),a.sort(t),o=0;o<12;o++)n[o]=L(n[o]),i[o]=L(i[o]);for(o=0;o<24;o++)a[o]=L(a[o]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function G(t,e,n,i,a,o,r){r=new Date(t,e,n,i,a,o,r);return t<100&&0<=t&&isFinite(r.getFullYear())&&r.setFullYear(t),r}function Z(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&0<=t&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function X(t,e,n){n=7+e-n;return n-(7+Z(t,0,n).getUTCDay()-e)%7-1}function J(t,e,n,i,a){var o,a=1+7*(e-1)+(7+n-i)%7+X(t,i,a),a=a<=0?N(o=t-1)+a:a>N(t)?(o=t+1,a-N(t)):(o=t,a);return{year:o,dayOfYear:a}}function K(t,e,n){var i,a,o=X(t.year(),e,n),o=Math.floor((t.dayOfYear()-o-1)/7)+1;return o<1?i=o+$(a=t.year()-1,e,n):o>$(t.year(),e,n)?(i=o-$(t.year(),e,n),a=t.year()+1):(a=t.year(),i=o),{week:i,year:a}}function $(t,e,n){var i=X(t,e,n),n=X(t+1,e,n);return(N(t)-i+n)/7}function Q(){function t(t,e){return e.length-t.length}for(var e,n,i,a=[],o=[],r=[],s=[],l=0;l<7;l++)i=d([2e3,1]).day(l),e=this.weekdaysMin(i,""),n=this.weekdaysShort(i,""),i=this.weekdays(i,""),a.push(e),o.push(n),r.push(i),s.push(e),s.push(n),s.push(i);for(a.sort(t),o.sort(t),r.sort(t),s.sort(t),l=0;l<7;l++)o[l]=L(o[l]),r[l]=L(r[l]),s[l]=L(s[l]);this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function tt(){return this.hours()%12||12}function et(t,e){O(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function nt(t,e){return e._meridiemParse}function it(t){return t&&t.toLowerCase().replace("_","-")}function at(t){if(!$e[t]&&void 0!==_n&&_n&&_n.exports)try{var e=Xe._abbr;xn("./locale/"+t),ot(e)}catch(t){}return $e[t]}function ot(t,e){var n;return(Xe=t&&(n=o(e)?st(t):rt(t,e))?n:Xe)._abbr}function rt(t,e){if(null===e)return delete $e[t],null;var n=Ke;if(e.abbr=t,null!=$e[t])w("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=$e[t]._config;else if(null!=e.parentLocale){if(null==$e[e.parentLocale])return Qe[e.parentLocale]||(Qe[e.parentLocale]=[]),Qe[e.parentLocale].push({name:t,config:e}),null;n=$e[e.parentLocale]._config}return $e[t]=new D(S(n,e)),Qe[t]&&Qe[t].forEach(function(t){rt(t.name,t.config)}),ot(t),$e[t]}function st(t){var e;if(!(t=t&&t._locale&&t._locale._abbr?t._locale._abbr:t))return Xe;if(!r(t)){if(e=at(t))return e;t=[t]}return function(t){for(var e,n,i,a,o=0;o<t.length;){for(e=(a=it(t[o]).split("-")).length,n=(n=it(t[o+1]))?n.split("-"):null;0<e;){if(i=at(a.slice(0,e).join("-")))return i;if(n&&n.length>=e&&_(a,n,!0)>=e-1)break;e--}o++}return null}(t)}function lt(t){var e=t._a;return e&&-2===f(t).overflow&&(e=e[Pe]<0||11<e[Pe]?Pe:e[Te]<1||e[Te]>E(e[Ce],e[Pe])?Te:e[Oe]<0||24<e[Oe]||24===e[Oe]&&(0!==e[Ie]||0!==e[Ae]||0!==e[Fe])?Oe:e[Ie]<0||59<e[Ie]?Ie:e[Ae]<0||59<e[Ae]?Ae:e[Fe]<0||999<e[Fe]?Fe:-1,f(t)._overflowDayOfYear&&(e<Ce||Te<e)&&(e=Te),f(t)._overflowWeeks&&-1===e&&(e=Re),f(t)._overflowWeekday&&-1===e&&(e=Le),f(t).overflow=e),t}function ut(t,e,n){return null!=t?t:null!=e?e:n}function dt(t){var e,n,i,a,o,r=[];if(!t._d){for(a=t,o=new Date(h.now()),n=a._useUTC?[o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()]:[o.getFullYear(),o.getMonth(),o.getDate()],t._w&&null==t._a[Te]&&null==t._a[Pe]&&function(t){var e,n,i,a,o,r,s;{var l;null!=(e=t._w).GG||null!=e.W||null!=e.E?(o=1,r=4,n=ut(e.GG,t._a[Ce],K(vt(),1,4).year),i=ut(e.W,1),((a=ut(e.E,1))<1||7<a)&&(s=!0)):(o=t._locale._week.dow,r=t._locale._week.doy,l=K(vt(),o,r),n=ut(e.gg,t._a[Ce],l.year),i=ut(e.w,l.week),null!=e.d?((a=e.d)<0||6<a)&&(s=!0):null!=e.e?(a=e.e+o,(e.e<0||6<e.e)&&(s=!0)):a=o)}i<1||i>$(n,o,r)?f(t)._overflowWeeks=!0:null!=s?f(t)._overflowWeekday=!0:(r=J(n,i,a,o,r),t._a[Ce]=r.year,t._dayOfYear=r.dayOfYear)}(t),null!=t._dayOfYear&&(i=ut(t._a[Ce],n[Ce]),(t._dayOfYear>N(i)||0===t._dayOfYear)&&(f(t)._overflowDayOfYear=!0),i=Z(i,0,t._dayOfYear),t._a[Pe]=i.getUTCMonth(),t._a[Te]=i.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=r[e]=n[e];for(;e<7;e++)t._a[e]=r[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[Oe]&&0===t._a[Ie]&&0===t._a[Ae]&&0===t._a[Fe]&&(t._nextDay=!0,t._a[Oe]=0),t._d=(t._useUTC?Z:G).apply(null,r),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Oe]=24),t._w&&void 0!==t._w.d&&t._w.d!==i&&(f(t).weekdayMismatch=!0)}}function ht(t){var e,n,i,a,o,r,s=t._i,l=tn.exec(s)||en.exec(s);if(l){for(f(t).iso=!0,e=0,n=an.length;e<n;e++)if(an[e][1].exec(l[1])){a=an[e][0],i=!1!==an[e][2];break}if(null!=a){if(l[3]){for(e=0,n=on.length;e<n;e++)if(on[e][1].exec(l[3])){o=(l[2]||" ")+on[e][0];break}if(null==o)return void(t._isValid=!1)}if(i||null==o){if(l[4]){if(!nn.exec(l[4]))return void(t._isValid=!1);r="Z"}t._f=a+(o||"")+(r||""),gt(t)}else t._isValid=!1}else t._isValid=!1}else t._isValid=!1}function ct(t,e,n,i,a,o){a=[function(t){t=parseInt(t,10);{if(t<=49)return 2e3+t;if(t<=999)return 1900+t}return t}(t),He.indexOf(e),parseInt(n,10),parseInt(i,10),parseInt(a,10)];return o&&a.push(parseInt(o,10)),a}function ft(t){var e,n,i,a,o=sn.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim());o?(e=ct(o[4],o[3],o[2],o[5],o[6],o[7]),n=o[1],i=e,a=t,n&&je.indexOf(n)!==new Date(i[0],i[1],i[2]).getDay()?(f(a).weekdayMismatch=!0,a._isValid=!1):(t._a=e,t._tzm=(a=o[8],e=o[9],o=o[10],a?ln[a]:e?0:60*(((e=parseInt(o,10))-(o=e%100))/100)+o),t._d=Z.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),f(t).rfc2822=!0)):t._isValid=!1}function gt(t){if(t._f!==h.ISO_8601)if(t._f!==h.RFC_2822){t._a=[],f(t).empty=!0;for(var e,n,i,a,o,r=""+t._i,s=r.length,l=0,u=A(t._f,t._locale).match(oe)||[],d=0;d<u.length;d++)n=u[d],(e=(r.match(R(n,t))||[])[0])&&(0<(a=r.substr(0,r.indexOf(e))).length&&f(t).unusedInput.push(a),r=r.slice(r.indexOf(e)+e.length),l+=e.length),le[n]?(e?f(t).empty=!1:f(t).unusedTokens.push(n),i=n,o=t,null!=(a=e)&&c(De,i)&&De[i](a,o._a,o,i)):t._strict&&!e&&f(t).unusedTokens.push(n);f(t).charsLeftOver=s-l,0<r.length&&f(t).unusedInput.push(r),t._a[Oe]<=12&&!0===f(t).bigHour&&0<t._a[Oe]&&(f(t).bigHour=void 0),f(t).parsedDateParts=t._a.slice(0),f(t).meridiem=t._meridiem,t._a[Oe]=function(t,e,n){if(null==n)return e;return null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((n=t.isPM(n))&&e<12&&(e+=12),e=n||12!==e?e:0):e}(t._locale,t._a[Oe],t._meridiem),dt(t),lt(t)}else ft(t);else ht(t)}function mt(t){var e=t._i,n=t._f;return t._locale=t._locale||st(t._l),null===e||void 0===n&&""===e?m({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),y(e)?new v(lt(e)):(i(e)?t._d=e:r(n)?function(t){var e,n,i,a,o;if(0===t._f.length)return f(t).invalidFormat=!0,t._d=new Date(NaN);for(a=0;a<t._f.length;a++)o=0,e=p({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[a],gt(e),g(e)&&(o+=f(e).charsLeftOver,o+=10*f(e).unusedTokens.length,f(e).score=o,(null==i||o<i)&&(i=o,n=e));u(t,n||e)}(t):n?gt(t):o(n=(e=t)._i)?e._d=new Date(h.now()):i(n)?e._d=new Date(n.valueOf()):"string"==typeof n?function(t){var e=rn.exec(t._i);null===e?(ht(t),!1===t._isValid&&(delete t._isValid,ft(t),!1===t._isValid&&(delete t._isValid,h.createFromInputFallback(t)))):t._d=new Date(+e[1])}(e):r(n)?(e._a=a(n.slice(0),function(t){return parseInt(t,10)}),dt(e)):s(n)?function(t){var e;t._d||(e=P(t._i),t._a=a([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),dt(t))}(e):l(n)?e._d=new Date(n):h.createFromInputFallback(e),g(t)||(t._d=null),t))}function pt(t,e,n,i,a){var o={};return!0!==n&&!1!==n||(i=n,n=void 0),(s(t)&&function(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;for(var e in t)if(t.hasOwnProperty(e))return;return 1}(t)||r(t)&&0===t.length)&&(t=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=a,o._l=n,o._i=t,o._f=e,o._strict=i,(o=new v(lt(mt(o=o))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function vt(t,e,n,i){return pt(t,e,n,i,!1)}function yt(t,e){var n,i;if(!(e=1===e.length&&r(e[0])?e[0]:e).length)return vt();for(n=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](n)||(n=e[i]);return n}function bt(t){var e=P(t),n=e.year||0,i=e.quarter||0,a=e.month||0,o=e.week||0,r=e.day||0,s=e.hour||0,l=e.minute||0,u=e.second||0,t=e.millisecond||0;this._isValid=function(t){for(var e in t)if(-1===We.call(hn,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,i=0;i<hn.length;++i)if(t[hn[i]]){if(n)return!1;parseFloat(t[hn[i]])!==x(t[hn[i]])&&(n=!0)}return!0}(e),this._milliseconds=+t+1e3*u+6e4*l+1e3*s*60*60,this._days=+r+7*o,this._months=+a+3*i+12*n,this._data={},this._locale=st(),this._bubble()}function xt(t){return t instanceof bt}function _t(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function kt(t,n){O(t,0,0,function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+T(~~(t/60),2)+n+T(~~t%60,2)})}function wt(t,e){e=(e||"").match(t);if(null===e)return null;t=((e[e.length-1]||[])+"").match(cn)||["-",0,0],e=60*t[1]+x(t[2]);return 0===e?0:"+"===t[0]?e:-e}function Mt(t,e){var n;return e._isUTC?(n=e.clone(),e=(y(t)||i(t)?t:vt(t)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+e),h.updateOffset(n,!1),n):vt(t).local()}function St(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Dt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Ct(t,e){var n,i=t,a=null;return xt(t)?i={ms:t._milliseconds,d:t._days,M:t._months}:l(t)?(i={},e?i[e]=t:i.milliseconds=t):(a=fn.exec(t))?(n="-"===a[1]?-1:1,i={y:0,d:x(a[Te])*n,h:x(a[Oe])*n,m:x(a[Ie])*n,s:x(a[Ae])*n,ms:x(_t(1e3*a[Fe]))*n}):(a=gn.exec(t))?(n="-"===a[1]?-1:(a[1],1),i={y:Pt(a[2],n),M:Pt(a[3],n),w:Pt(a[4],n),d:Pt(a[5],n),h:Pt(a[6],n),m:Pt(a[7],n),s:Pt(a[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(n=function(t,e){var n;if(!t.isValid()||!e.isValid())return{milliseconds:0,months:0};e=Mt(e,t),t.isBefore(e)?n=Tt(t,e):((n=Tt(e,t)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(vt(i.from),vt(i.to)),(i={}).ms=n.milliseconds,i.M=n.months),i=new bt(i),xt(t)&&c(t,"_locale")&&(i._locale=t._locale),i}function Pt(t,e){t=t&&parseFloat(t.replace(",","."));return(isNaN(t)?0:t)*e}function Tt(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Ot(i,a){return function(t,e){var n;return null===e||isNaN(+e)||(w(a,"moment()."+a+"(period, number) is deprecated. Please use moment()."+a+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=t,t=e,e=n),It(this,Ct(t="string"==typeof t?+t:t,e),i),this}}function It(t,e,n,i){var a=e._milliseconds,o=_t(e._days),e=_t(e._months);t.isValid()&&(i=null==i||i,e&&j(t,V(t,"Month")+e*n),o&&B(t,"Date",V(t,"Date")+o*n),a&&t._d.setTime(t._d.valueOf()+a*n),i&&h.updateOffset(t,o||e))}function At(t,e){var n=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(n,"months"),i=e-i<0?(e-i)/(i-t.clone().add(n-1,"months")):(e-i)/(t.clone().add(1+n,"months")-i);return-(n+i)||0}function Ft(t){return void 0===t?this._locale._abbr:(null!=(t=st(t))&&(this._locale=t),this)}function Rt(){return this._locale}function Lt(t,e){O(0,[t,t.length],0,e)}function Yt(t,e,n,i,a){var o;return null==t?K(this,i,a).year:(o=$(t,i,a),function(t,e,n,i,a){a=J(t,e,n,i,a),a=Z(a.year,0,a.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,t,e=o<e?o:e,n,i,a))}function Wt(t,e){e[Fe]=x(1e3*("0."+t))}function Nt(t){return t}function zt(t,e,n,i){var a=st(),e=d().set(i,e);return a[n](e,t)}function Ht(t,e,n){if(l(t)&&(e=t,t=void 0),t=t||"",null!=e)return zt(t,e,n,"month");for(var i=[],a=0;a<12;a++)i[a]=zt(t,a,n,"month");return i}function Vt(t,e,n,i){e=("boolean"==typeof t?l(e)&&(n=e,e=void 0):(e=t,t=!1,l(n=e)&&(n=e,e=void 0)),e||"");var a=st(),o=t?a._week.dow:0;if(null!=n)return zt(e,(n+o)%7,i,"day");for(var r=[],s=0;s<7;s++)r[s]=zt(e,(s+o)%7,i,"day");return r}function Bt(t,e,n,i){n=Ct(e,n);return t._milliseconds+=i*n._milliseconds,t._days+=i*n._days,t._months+=i*n._months,t._bubble()}function Et(t){return t<0?Math.floor(t):Math.ceil(t)}function jt(t){return 4800*t/146097}function Ut(t){return 146097*t/4800}function qt(t){return function(){return this.as(t)}}function Gt(t){return function(){return this.isValid()?this._data[t]:NaN}}function Zt(t,e,n){var i=Ct(t).abs(),a=vn(i.as("s")),o=vn(i.as("m")),r=vn(i.as("h")),s=vn(i.as("d")),l=vn(i.as("M")),i=vn(i.as("y")),i=(a<=yn.ss?["s",a]:a<yn.s&&["ss",a])||o<=1&&["m"]||o<yn.m&&["mm",o]||r<=1&&["h"]||r<yn.h&&["hh",r]||s<=1&&["d"]||s<yn.d&&["dd",s]||l<=1&&["M"]||l<yn.M&&["MM",l]||i<=1&&["y"]||["yy",i];return i[2]=e,i[3]=0<+t,i[4]=n,function(t,e,n,i,a){return a.relativeTime(e||1,!!n,t,i)}.apply(null,i)}function Xt(t){return(0<t)-(t<0)||+t}function Jt(){if(!this.isValid())return this.localeData().invalidDate();var t=bn(this._milliseconds)/1e3,e=bn(this._days),n=bn(this._months),i=b(t/60),a=b(i/60);t%=60,i%=60;var o=b(n/12),r=n%=12,s=e,l=a,u=i,n=t?t.toFixed(3).replace(/\.?0+$/,""):"",e=this.asSeconds();if(!e)return"P0D";a=Xt(this._months)!==Xt(e)?"-":"",i=Xt(this._days)!==Xt(e)?"-":"",t=Xt(this._milliseconds)!==Xt(e)?"-":"";return(e<0?"-":"")+"P"+(o?a+o+"Y":"")+(r?a+r+"M":"")+(s?i+s+"D":"")+(l||u||n?"T":"")+(l?t+l+"H":"")+(u?t+u+"M":"")+(n?t+n+"S":"")}var Kt,$t=Array.prototype.some||function(t){for(var e=Object(this),n=e.length>>>0,i=0;i<n;i++)if(i in e&&t.call(this,e[i],i,e))return!0;return!1},Qt=h.momentProperties=[],te=!1,ee={};h.suppressDeprecationWarnings=!1,h.deprecationHandler=null;var ne=Object.keys||function(t){var e,n=[];for(e in t)c(t,e)&&n.push(e);return n},ie={},ae={},oe=/(\[[^\[]*\])|(\\)?([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,re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,se={},le={},ue=/\d/,de=/\d\d/,he=/\d{3}/,ce=/\d{4}/,fe=/[+-]?\d{6}/,ge=/\d\d?/,me=/\d\d\d\d?/,pe=/\d\d\d\d\d\d?/,ve=/\d{1,3}/,ye=/\d{1,4}/,be=/[+-]?\d{1,6}/,xe=/\d+/,_e=/[+-]?\d+/,ke=/Z|[+-]\d\d:?\d\d/gi,we=/Z|[+-]\d\d(?::?\d\d)?/gi,Me=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Se={},De={},Ce=0,Pe=1,Te=2,Oe=3,Ie=4,Ae=5,Fe=6,Re=7,Le=8;O("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),O(0,["YY",2],0,function(){return this.year()%100}),O(0,["YYYY",4],0,"year"),O(0,["YYYYY",5],0,"year"),O(0,["YYYYYY",6,!0],0,"year"),e("year","y"),n("year",1),F("Y",_e),F("YY",ge,de),F("YYYY",ye,ce),F("YYYYY",be,fe),F("YYYYYY",be,fe),Y(["YYYYY","YYYYYY"],Ce),Y("YYYY",function(t,e){e[Ce]=2===t.length?h.parseTwoDigitYear(t):x(t)}),Y("YY",function(t,e){e[Ce]=h.parseTwoDigitYear(t)}),Y("Y",function(t,e){e[Ce]=parseInt(t,10)}),h.parseTwoDigitYear=function(t){return x(t)+(68<x(t)?1900:2e3)};var Ye=H("FullYear",!0),We=Array.prototype.indexOf||function(t){for(var e=0;e<this.length;++e)if(this[e]===t)return e;return-1};O("M",["MM",2],"Mo",function(){return this.month()+1}),O("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),O("MMMM",0,0,function(t){return this.localeData().months(this,t)}),e("month","M"),n("month",8),F("M",ge),F("MM",ge,de),F("MMM",function(t,e){return e.monthsShortRegex(t)}),F("MMMM",function(t,e){return e.monthsRegex(t)}),Y(["M","MM"],function(t,e){e[Pe]=x(t)-1}),Y(["MMM","MMMM"],function(t,e,n,i){i=n._locale.monthsParse(t,i,n._strict);null!=i?e[Pe]=i:f(n).invalidMonth=t});var Ne=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ze="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),He="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ve=Me,Be=Me;O("w",["ww",2],"wo","week"),O("W",["WW",2],"Wo","isoWeek"),e("week","w"),e("isoWeek","W"),n("week",5),n("isoWeek",5),F("w",ge),F("ww",ge,de),F("W",ge),F("WW",ge,de),W(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=x(t)});O("d",0,"do","day"),O("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),O("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),O("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),O("e",0,0,"weekday"),O("E",0,0,"isoWeekday"),e("day","d"),e("weekday","e"),e("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),F("d",ge),F("e",ge),F("E",ge),F("dd",function(t,e){return e.weekdaysMinRegex(t)}),F("ddd",function(t,e){return e.weekdaysShortRegex(t)}),F("dddd",function(t,e){return e.weekdaysRegex(t)}),W(["dd","ddd","dddd"],function(t,e,n,i){i=n._locale.weekdaysParse(t,i,n._strict);null!=i?e.d=i:f(n).invalidWeekday=t}),W(["d","e","E"],function(t,e,n,i){e[i]=x(t)});var Ee="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),je="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ue="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),qe=Me,Ge=Me,Ze=Me;O("H",["HH",2],0,"hour"),O("h",["hh",2],0,tt),O("k",["kk",2],0,function(){return this.hours()||24}),O("hmm",0,0,function(){return""+tt.apply(this)+T(this.minutes(),2)}),O("hmmss",0,0,function(){return""+tt.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)}),O("Hmm",0,0,function(){return""+this.hours()+T(this.minutes(),2)}),O("Hmmss",0,0,function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)}),et("a",!0),et("A",!1),e("hour","h"),n("hour",13),F("a",nt),F("A",nt),F("H",ge),F("h",ge),F("k",ge),F("HH",ge,de),F("hh",ge,de),F("kk",ge,de),F("hmm",me),F("hmmss",pe),F("Hmm",me),F("Hmmss",pe),Y(["H","HH"],Oe),Y(["k","kk"],function(t,e,n){t=x(t);e[Oe]=24===t?0:t}),Y(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),Y(["h","hh"],function(t,e,n){e[Oe]=x(t),f(n).bigHour=!0}),Y("hmm",function(t,e,n){var i=t.length-2;e[Oe]=x(t.substr(0,i)),e[Ie]=x(t.substr(i)),f(n).bigHour=!0}),Y("hmmss",function(t,e,n){var i=t.length-4,a=t.length-2;e[Oe]=x(t.substr(0,i)),e[Ie]=x(t.substr(i,2)),e[Ae]=x(t.substr(a)),f(n).bigHour=!0}),Y("Hmm",function(t,e,n){var i=t.length-2;e[Oe]=x(t.substr(0,i)),e[Ie]=x(t.substr(i))}),Y("Hmmss",function(t,e,n){var i=t.length-4,a=t.length-2;e[Oe]=x(t.substr(0,i)),e[Ie]=x(t.substr(i,2)),e[Ae]=x(t.substr(a))});var Xe,Je=H("Hours",!0),Ke={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},months:ze,monthsShort:He,week:{dow:0,doy:6},weekdays:Ee,weekdaysMin:Ue,weekdaysShort:je,meridiemParse:/[ap]\.?m?\.?/i},$e={},Qe={},tn=/^\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)?)?$/,en=/^\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)?)?$/,nn=/Z|[+-]\d\d(?::?\d\d)?/,an=[["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}/]],on=[["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/]],rn=/^\/?Date\((\-?\d+)/i,sn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,ln={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};h.createFromInputFallback=t("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),h.ISO_8601=function(){},h.RFC_2822=function(){};var un=t("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=vt.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:m()}),dn=t("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=vt.apply(null,arguments);return this.isValid()&&t.isValid()?this<t?this:t:m()}),hn=["year","quarter","month","week","day","hour","minute","second","millisecond"];kt("Z",":"),kt("ZZ",""),F("Z",we),F("ZZ",we),Y(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=wt(we,t)});var cn=/([\+\-]|\d\d)/gi;h.updateOffset=function(){};var fn=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,gn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Ct.fn=bt.prototype,Ct.invalid=function(){return Ct(NaN)};Me=Ot(1,"add"),me=Ot(-1,"subtract");h.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",h.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";pe=t("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});O(0,["gg",2],0,function(){return this.weekYear()%100}),O(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Lt("gggg","weekYear"),Lt("ggggg","weekYear"),Lt("GGGG","isoWeekYear"),Lt("GGGGG","isoWeekYear"),e("weekYear","gg"),e("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),F("G",_e),F("g",_e),F("GG",ge,de),F("gg",ge,de),F("GGGG",ye,ce),F("gggg",ye,ce),F("GGGGG",be,fe),F("ggggg",be,fe),W(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=x(t)}),W(["gg","GG"],function(t,e,n,i){e[i]=h.parseTwoDigitYear(t)}),O("Q",0,"Qo","quarter"),e("quarter","Q"),n("quarter",7),F("Q",ue),Y("Q",function(t,e){e[Pe]=3*(x(t)-1)}),O("D",["DD",2],"Do","date"),e("date","D"),n("date",9),F("D",ge),F("DD",ge,de),F("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),Y(["D","DD"],Te),Y("Do",function(t,e){e[Te]=x(t.match(ge)[0])});ze=H("Date",!0);O("DDD",["DDDD",3],"DDDo","dayOfYear"),e("dayOfYear","DDD"),n("dayOfYear",4),F("DDD",ve),F("DDDD",he),Y(["DDD","DDDD"],function(t,e,n){n._dayOfYear=x(t)}),O("m",["mm",2],0,"minute"),e("minute","m"),n("minute",14),F("m",ge),F("mm",ge,de),Y(["m","mm"],Ie);Ee=H("Minutes",!1);O("s",["ss",2],0,"second"),e("second","s"),n("second",15),F("s",ge),F("ss",ge,de),Y(["s","ss"],Ae);var mn,Ue=H("Seconds",!1);for(O("S",0,0,function(){return~~(this.millisecond()/100)}),O(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),O(0,["SSS",3],0,"millisecond"),O(0,["SSSS",4],0,function(){return 10*this.millisecond()}),O(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),O(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),O(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),O(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),O(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),e("millisecond","ms"),n("millisecond",16),F("S",ve,ue),F("SS",ve,de),F("SSS",ve,he),mn="SSSS";mn.length<=9;mn+="S")F(mn,xe);for(mn="S";mn.length<=9;mn+="S")Y(mn,Wt);ye=H("Milliseconds",!1);O("z",0,0,"zoneAbbr"),O("zz",0,0,"zoneName");ce=v.prototype;ce.add=Me,ce.calendar=function(t,e){var n=t||vt(),t=Mt(n,this).startOf("day"),t=h.calendarFormat(this,t)||"sameElse",e=e&&(M(e[t])?e[t].call(this,n):e[t]);return this.format(e||this.localeData().calendar(t,this,vt(n)))},ce.clone=function(){return new v(this)},ce.diff=function(t,e,n){var i,a,o;if(!this.isValid())return NaN;if(!(i=Mt(t,this)).isValid())return NaN;switch(a=6e4*(i.utcOffset()-this.utcOffset()),e=C(e)){case"year":o=At(this,i)/12;break;case"month":o=At(this,i);break;case"quarter":o=At(this,i)/3;break;case"second":o=(this-i)/1e3;break;case"minute":o=(this-i)/6e4;break;case"hour":o=(this-i)/36e5;break;case"day":o=(this-i-a)/864e5;break;case"week":o=(this-i-a)/6048e5;break;default:o=this-i}return n?o:b(o)},ce.endOf=function(t){return void 0===(t=C(t))||"millisecond"===t?this:this.startOf(t="date"===t?"day":t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms")},ce.format=function(t){return t=t||(this.isUtc()?h.defaultFormatUtc:h.defaultFormat),t=I(this,t),this.localeData().postformat(t)},ce.from=function(t,e){return this.isValid()&&(y(t)&&t.isValid()||vt(t).isValid())?Ct({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},ce.fromNow=function(t){return this.from(vt(),t)},ce.to=function(t,e){return this.isValid()&&(y(t)&&t.isValid()||vt(t).isValid())?Ct({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},ce.toNow=function(t){return this.to(vt(),t)},ce.get=function(t){return M(this[t=C(t)])?this[t]():this},ce.invalidAt=function(){return f(this).overflow},ce.isAfter=function(t,e){return t=y(t)?t:vt(t),!(!this.isValid()||!t.isValid())&&("millisecond"===(e=C(o(e)?"millisecond":e))?this.valueOf()>t.valueOf():t.valueOf()<this.clone().startOf(e).valueOf())},ce.isBefore=function(t,e){return t=y(t)?t:vt(t),!(!this.isValid()||!t.isValid())&&("millisecond"===(e=C(o(e)?"millisecond":e))?this.valueOf()<t.valueOf():this.clone().endOf(e).valueOf()<t.valueOf())},ce.isBetween=function(t,e,n,i){return("("===(i=i||"()")[0]?this.isAfter(t,n):!this.isBefore(t,n))&&(")"===i[1]?this.isBefore(e,n):!this.isAfter(e,n))},ce.isSame=function(t,e){return t=y(t)?t:vt(t),!(!this.isValid()||!t.isValid())&&("millisecond"===(e=C(e||"millisecond"))?this.valueOf()===t.valueOf():(t=t.valueOf(),this.clone().startOf(e).valueOf()<=t&&t<=this.clone().endOf(e).valueOf()))},ce.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},ce.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},ce.isValid=function(){return g(this)},ce.lang=pe,ce.locale=Ft,ce.localeData=Rt,ce.max=dn,ce.min=un,ce.parsingFlags=function(){return u({},f(this))},ce.set=function(t,e){if("object"==typeof t)for(var n=function(t){var e,n=[];for(e in t)n.push({unit:e,priority:ae[e]});return n.sort(function(t,e){return t.priority-e.priority}),n}(t=P(t)),i=0;i<n.length;i++)this[n[i].unit](t[n[i].unit]);else if(M(this[t=C(t)]))return this[t](e);return this},ce.startOf=function(t){switch(t=C(t)){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"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this},ce.subtract=me,ce.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},ce.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},ce.toDate=function(){return new Date(this.valueOf())},ce.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t;return(t=e?this.clone().utc():this).year()<0||9999<t.year()?I(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):M(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this._d.valueOf()).toISOString().replace("Z",I(t,"Z")):I(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ce.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(n+t+"-MM-DD[T]HH:mm:ss.SSS"+(e+'[")]'))},ce.toJSON=function(){return this.isValid()?this.toISOString():null},ce.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ce.unix=function(){return Math.floor(this.valueOf()/1e3)},ce.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ce.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ce.year=Ye,ce.isLeapYear=function(){return z(this.year())},ce.weekYear=function(t){return Yt.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ce.isoWeekYear=function(t){return Yt.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},ce.quarter=ce.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},ce.month=U,ce.daysInMonth=function(){return E(this.year(),this.month())},ce.week=ce.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},ce.isoWeek=ce.isoWeeks=function(t){var e=K(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},ce.weeksInYear=function(){var t=this.localeData()._week;return $(this.year(),t.dow,t.doy)},ce.isoWeeksInYear=function(){return $(this.year(),1,4)},ce.date=ze,ce.day=ce.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e,n,i=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(e=t,n=this.localeData(),t="string"!=typeof e?e:isNaN(e)?"number"==typeof(e=n.weekdaysParse(e))?e:null:parseInt(e,10),this.add(t-i,"d")):i},ce.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},ce.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null==t)return this.day()||7;var e=(e=t,t=this.localeData(),"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e);return this.day(this.day()%7?e:e-7)},ce.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},ce.hour=ce.hours=Je,ce.minute=ce.minutes=Ee,ce.second=ce.seconds=Ue,ce.millisecond=ce.milliseconds=ye,ce.utcOffset=function(t,e,n){var i,a=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null==t)return this._isUTC?a:St(this);if("string"==typeof t){if(null===(t=wt(we,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(i=St(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==t&&(!e||this._changeInProgress?It(this,Ct(t-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,h.updateOffset(this,!0),this._changeInProgress=null)),this},ce.utc=function(t){return this.utcOffset(0,t)},ce.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(St(this),"m")),this},ce.parseZone=function(){var t;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(t=wt(ke,this._i))?this.utcOffset(t):this.utcOffset(0,!0)),this},ce.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?vt(t).utcOffset():0,(this.utcOffset()-t)%60==0)},ce.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ce.isLocal=function(){return!!this.isValid()&&!this._isUTC},ce.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ce.isUtc=Dt,ce.isUTC=Dt,ce.zoneAbbr=function(){return this._isUTC?"UTC":""},ce.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ce.dates=t("dates accessor is deprecated. Use date instead.",ze),ce.months=t("months accessor is deprecated. Use month instead",U),ce.years=t("years accessor is deprecated. Use year instead",Ye),ce.zone=t("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?(this.utcOffset(t="string"!=typeof t?-t:t,e),this):-this.utcOffset()}),ce.isDSTShifted=t("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var t,e={};return p(e,this),(e=mt(e))._a?(t=(e._isUTC?d:vt)(e._a),this._isDSTShifted=this.isValid()&&0<_(e._a,t.toArray())):this._isDSTShifted=!1,this._isDSTShifted});be=D.prototype;be.calendar=function(t,e,n){return M(t=this._calendar[t]||this._calendar.sameElse)?t.call(e,n):t},be.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},be.invalidDate=function(){return this._invalidDate},be.ordinal=function(t){return this._ordinal.replace("%d",t)},be.preparse=Nt,be.postformat=Nt,be.relativeTime=function(t,e,n,i){var a=this._relativeTime[n];return M(a)?a(t,e,n,i):a.replace(/%d/i,t)},be.pastFuture=function(t,e){return M(t=this._relativeTime[0<t?"future":"past"])?t(e):t.replace(/%s/i,e)},be.set=function(t){var e,n;for(n in t)M(e=t[n])?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},be.months=function(t,e){return t?(r(this._months)?this._months:this._months[(this._months.isFormat||Ne).test(e)?"format":"standalone"])[t.month()]:r(this._months)?this._months:this._months.standalone},be.monthsShort=function(t,e){return t?(r(this._monthsShort)?this._monthsShort:this._monthsShort[Ne.test(e)?"format":"standalone"])[t.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},be.monthsParse=function(t,e,n){var i,a;if(this._monthsParseExact)return function(t,e,n){var i,a,o,t=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)o=d([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(a=We.call(this._shortMonthsParse,t))?a:null:-1!==(a=We.call(this._longMonthsParse,t))?a:null:"MMM"===e?-1!==(a=We.call(this._shortMonthsParse,t))||-1!==(a=We.call(this._longMonthsParse,t))?a:null:-1!==(a=We.call(this._longMonthsParse,t))||-1!==(a=We.call(this._shortMonthsParse,t))?a:null}.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(a=d([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(a="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[i]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}},be.monthsRegex=function(t){return this._monthsParseExact?(c(this,"_monthsRegex")||q.call(this),t?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=Be),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},be.monthsShortRegex=function(t){return this._monthsParseExact?(c(this,"_monthsRegex")||q.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Ve),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},be.week=function(t){return K(t,this._week.dow,this._week.doy).week},be.firstDayOfYear=function(){return this._week.doy},be.firstDayOfWeek=function(){return this._week.dow},be.weekdays=function(t,e){return t?(r(this._weekdays)?this._weekdays:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"])[t.day()]:r(this._weekdays)?this._weekdays:this._weekdays.standalone},be.weekdaysMin=function(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin},be.weekdaysShort=function(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort},be.weekdaysParse=function(t,e,n){var i,a;if(this._weekdaysParseExact)return function(t,e,n){var i,a,o,t=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=d([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(a=We.call(this._weekdaysParse,t))?a:null:"ddd"===e?-1!==(a=We.call(this._shortWeekdaysParse,t))?a:null:-1!==(a=We.call(this._minWeekdaysParse,t))?a:null:"dddd"===e?-1!==(a=We.call(this._weekdaysParse,t))||-1!==(a=We.call(this._shortWeekdaysParse,t))||-1!==(a=We.call(this._minWeekdaysParse,t))?a:null:"ddd"===e?-1!==(a=We.call(this._shortWeekdaysParse,t))||-1!==(a=We.call(this._weekdaysParse,t))||-1!==(a=We.call(this._minWeekdaysParse,t))?a:null:-1!==(a=We.call(this._minWeekdaysParse,t))||-1!==(a=We.call(this._weekdaysParse,t))||-1!==(a=We.call(this._shortWeekdaysParse,t))?a:null}.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(a=d([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(a,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(a,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(a,"").replace(".",".?")+"$","i")),this._weekdaysParse[i]||(a="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[i]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}},be.weekdaysRegex=function(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Q.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=qe),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},be.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Q.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ge),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},be.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Q.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ze),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},be.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},be.meridiem=function(t,e,n){return 11<t?n?"pm":"PM":n?"am":"AM"},ot("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===x(t%100/10)?"th":1==e?"st":2==e?"nd":3==e?"rd":"th")}}),h.lang=t("moment.lang is deprecated. Use moment.locale instead.",ot),h.langData=t("moment.langData is deprecated. Use moment.localeData instead.",st);var pn=Math.abs,fe=qt("ms"),ue=qt("s"),de=qt("m"),ve=qt("h"),he=qt("d"),Me=qt("w"),dn=qt("M"),un=qt("y"),me=Gt("milliseconds"),Je=Gt("seconds"),Ee=Gt("minutes"),Ue=Gt("hours"),ye=Gt("days"),ze=Gt("months"),Ye=Gt("years"),vn=Math.round,yn={ss:44,s:45,m:45,h:22,d:26,M:11},bn=Math.abs,be=bt.prototype;return be.isValid=function(){return this._isValid},be.abs=function(){var t=this._data;return this._milliseconds=pn(this._milliseconds),this._days=pn(this._days),this._months=pn(this._months),t.milliseconds=pn(t.milliseconds),t.seconds=pn(t.seconds),t.minutes=pn(t.minutes),t.hours=pn(t.hours),t.months=pn(t.months),t.years=pn(t.years),this},be.add=function(t,e){return Bt(this,t,e,1)},be.subtract=function(t,e){return Bt(this,t,e,-1)},be.as=function(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=C(t))||"year"===t)return e=this._days+i/864e5,n=this._months+jt(e),"month"===t?n:n/12;switch(e=this._days+Math.round(Ut(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}},be.asMilliseconds=fe,be.asSeconds=ue,be.asMinutes=de,be.asHours=ve,be.asDays=he,be.asWeeks=Me,be.asMonths=dn,be.asYears=un,be.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12):NaN},be._bubble=function(){var t=this._milliseconds,e=this._days,n=this._months,i=this._data;return 0<=t&&0<=e&&0<=n||t<=0&&e<=0&&n<=0||(t+=864e5*Et(Ut(n)+e),n=e=0),i.milliseconds=t%1e3,t=b(t/1e3),i.seconds=t%60,t=b(t/60),i.minutes=t%60,t=b(t/60),i.hours=t%24,e+=b(t/24),n+=t=b(jt(e)),e-=Et(Ut(t)),t=b(n/12),n%=12,i.days=e,i.months=n,i.years=t,this},be.clone=function(){return Ct(this)},be.get=function(t){return t=C(t),this.isValid()?this[t+"s"]():NaN},be.milliseconds=me,be.seconds=Je,be.minutes=Ee,be.hours=Ue,be.days=ye,be.weeks=function(){return b(this.days()/7)},be.months=ze,be.years=Ye,be.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=Zt(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)},be.toISOString=Jt,be.toString=Jt,be.toJSON=Jt,be.locale=Ft,be.localeData=Rt,be.toIsoString=t("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Jt),be.lang=pe,O("X",0,0,"unix"),O("x",0,0,"valueOf"),F("x",_e),F("X",/[+-]?\d+(\.\d{1,3})?/),Y("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),Y("x",function(t,e,n){n._d=new Date(x(t))}),h.version="2.20.1",Kt=vt,h.fn=ce,h.min=function(){return yt("isBefore",[].slice.call(arguments,0))},h.max=function(){return yt("isAfter",[].slice.call(arguments,0))},h.now=function(){return Date.now?Date.now():+new Date},h.utc=d,h.unix=function(t){return vt(1e3*t)},h.months=function(t,e){return Ht(t,e,"months")},h.isDate=i,h.locale=ot,h.invalid=m,h.duration=Ct,h.isMoment=y,h.weekdays=function(t,e,n){return Vt(t,e,n,"weekdays")},h.parseZone=function(){return vt.apply(null,arguments).parseZone()},h.localeData=st,h.isDuration=xt,h.monthsShort=function(t,e){return Ht(t,e,"monthsShort")},h.weekdaysMin=function(t,e,n){return Vt(t,e,n,"weekdaysMin")},h.defineLocale=rt,h.updateLocale=function(t,e){var n,i;return null!=e?(n=Ke,(e=new D(e=S(n=null!=(i=at(t))?i._config:n,e))).parentLocale=$e[t],$e[t]=e,ot(t)):null!=$e[t]&&(null!=$e[t].parentLocale?$e[t]=$e[t].parentLocale:null!=$e[t]&&delete $e[t]),$e[t]},h.locales=function(){return ne($e)},h.weekdaysShort=function(t,e,n){return Vt(t,e,n,"weekdaysShort")},h.normalizeUnits=C,h.relativeTimeRounding=function(t){return void 0===t?vn:"function"==typeof t&&(vn=t,!0)},h.relativeTimeThreshold=function(t,e){return void 0!==yn[t]&&(void 0===e?yn[t]:(yn[t]=e,"s"===t&&(yn.ss=e-1),!0))},h.calendarFormat=function(t,e){return(e=t.diff(e,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},h.prototype=ce,h.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},h},"object"==typeof t&&void 0!==_n?_n.exports=n():e.moment=n()},{}],7:[function(t,e,n){var i=t(29)();i.helpers=t(45),t(27)(i),i.defaults=t(25),i.Element=t(26),i.elements=t(40),i.Interaction=t(28),i.layouts=t(30),i.platform=t(48),i.plugins=t(31),i.Ticks=t(34),t(22)(i),t(23)(i),t(24)(i),t(33)(i),t(32)(i),t(35)(i),t(55)(i),t(53)(i),t(54)(i),t(56)(i),t(57)(i),t(58)(i),t(15)(i),t(16)(i),t(17)(i),t(18)(i),t(19)(i),t(20)(i),t(21)(i),t(8)(i),t(9)(i),t(10)(i),t(11)(i),t(12)(i),t(13)(i),t(14)(i);var a,o=t(49);for(a in o)o.hasOwnProperty(a)&&i.plugins.register(o[a]);i.platform.initialize(),e.exports=i,"undefined"!=typeof window&&(window.Chart=i),i.Legend=o.legend._element,i.Title=o.title._element,i.pluginService=i.plugins,i.PluginBase=i.Element.extend({}),i.canvasHelpers=i.helpers.canvas,i.layoutService=i.layouts},{10:10,11:11,12:12,13:13,14:14,15:15,16:16,17:17,18:18,19:19,20:20,21:21,22:22,23:23,24:24,25:25,26:26,27:27,28:28,29:29,30:30,31:31,32:32,33:33,34:34,35:35,40:40,45:45,48:48,49:49,53:53,54:54,55:55,56:56,57:57,58:58,8:8,9:9}],8:[function(t,e,n){"use strict";e.exports=function(n){n.Bar=function(t,e){return e.type="bar",new n(t,e)}}},{}],9:[function(t,e,n){"use strict";e.exports=function(n){n.Bubble=function(t,e){return e.type="bubble",new n(t,e)}}},{}],10:[function(t,e,n){"use strict";e.exports=function(n){n.Doughnut=function(t,e){return e.type="doughnut",new n(t,e)}}},{}],11:[function(t,e,n){"use strict";e.exports=function(n){n.Line=function(t,e){return e.type="line",new n(t,e)}}},{}],12:[function(t,e,n){"use strict";e.exports=function(n){n.PolarArea=function(t,e){return e.type="polarArea",new n(t,e)}}},{}],13:[function(t,e,n){"use strict";e.exports=function(n){n.Radar=function(t,e){return e.type="radar",new n(t,e)}}},{}],14:[function(t,e,n){"use strict";e.exports=function(n){n.Scatter=function(t,e){return e.type="scatter",new n(t,e)}}},{}],15:[function(t,e,n){"use strict";var i=t(25),a=t(40),d=t(45);i._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),i._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(t,e){var n="";return 0<t.length&&(t[0].yLabel?n=t[0].yLabel:0<e.labels.length&&t[0].index<e.labels.length&&(n=e.labels[t[0].index])),n},label:function(t,e){return(e.datasets[t.datasetIndex].label||"")+": "+t.xLabel}},mode:"index",axis:"y"}}),e.exports=function(e){e.controllers.bar=e.DatasetController.extend({dataElementType:a.Rectangle,initialize:function(){var t;e.DatasetController.prototype.initialize.apply(this,arguments),(t=this.getMeta()).stack=this.getDataset().stack,t.bar=!0},update:function(t){var e,n,i=this.getMeta().data;for(this._ruler=this.getRuler(),e=0,n=i.length;e<n;++e)this.updateElement(i[e],e,t)},updateElement:function(t,e,n){var i=this,a=i.chart,o=i.getMeta(),r=i.getDataset(),s=t.custom||{},l=a.options.elements.rectangle;t._xScale=i.getScaleForId(o.xAxisID),t._yScale=i.getScaleForId(o.yAxisID),t._datasetIndex=i.index,t._index=e,t._model={datasetLabel:r.label,label:a.data.labels[e],borderSkipped:s.borderSkipped||l.borderSkipped,backgroundColor:s.backgroundColor||d.valueAtIndexOrDefault(r.backgroundColor,e,l.backgroundColor),borderColor:s.borderColor||d.valueAtIndexOrDefault(r.borderColor,e,l.borderColor),borderWidth:s.borderWidth||d.valueAtIndexOrDefault(r.borderWidth,e,l.borderWidth)},i.updateElementGeometry(t,e,n),t.pivot()},updateElementGeometry:function(t,e,n){var i=this,a=t._model,o=i.getValueScale(),r=o.getBasePixel(),s=o.isHorizontal(),t=i._ruler||i.getRuler(),o=i.calculateBarValuePixels(i.index,e),t=i.calculateBarIndexPixels(i.index,e,t);a.horizontal=s,a.base=n?r:o.base,a.x=s?n?r:o.head:t.center,a.y=s?t.center:n?r:o.head,a.height=s?t.size:void 0,a.width=s?void 0:t.size},getValueScaleId:function(){return this.getMeta().yAxisID},getIndexScaleId:function(){return this.getMeta().xAxisID},getValueScale:function(){return this.getScaleForId(this.getValueScaleId())},getIndexScale:function(){return this.getScaleForId(this.getIndexScaleId())},_getStacks:function(t){for(var e,n=this.chart,i=this.getIndexScale().options.stacked,a=void 0===t?n.data.datasets.length:t+1,o=[],r=0;r<a;++r)(e=n.getDatasetMeta(r)).bar&&n.isDatasetVisible(r)&&(!1===i||!0===i&&-1===o.indexOf(e.stack)||void 0===i&&(void 0===e.stack||-1===o.indexOf(e.stack)))&&o.push(e.stack);return o},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,e){t=this._getStacks(t),e=void 0!==e?t.indexOf(e):-1;return-1===e?t.length-1:e},getRuler:function(){for(var t=this.getIndexScale(),e=this.getStackCount(),n=this.index,i=t.isHorizontal(),a=i?t.left:t.top,i=a+(i?t.width:t.height),o=[],r=0,s=this.getMeta().data.length;r<s;++r)o.push(t.getPixelForValue(null,r,n));return{min:d.isNullOrUndef(t.options.barThickness)?function(t,e){for(var n,i,a=t.isHorizontal()?t.width:t.height,o=t.getTicks(),r=1,s=e.length;r<s;++r)a=Math.min(a,e[r]-e[r-1]);for(r=0,s=o.length;r<s;++r)i=t.getPixelForTick(r),a=0<r?Math.min(a,i-n):a,n=i;return a}(t,o):-1,pixels:o,start:a,end:i,stackCount:e,scale:t}},calculateBarValuePixels:function(t,e){var n,i,a,o=this.chart,r=this.getMeta(),s=this.getValueScale(),l=o.data.datasets,u=s.getRightValue(l[t].data[e]),d=s.options.stacked,h=r.stack,c=0;if(d||void 0===d&&void 0!==h)for(n=0;n<t;++n)(i=o.getDatasetMeta(n)).bar&&i.stack===h&&i.controller.getValueScaleId()===s.id&&o.isDatasetVisible(n)&&(i=s.getRightValue(l[n].data[e]),(u<0&&i<0||0<=u&&0<i)&&(c+=i));return a=s.getPixelForValue(c),{size:d=((r=s.getPixelForValue(c+u))-a)/2,base:a,head:r,center:r+d/2}},calculateBarIndexPixels:function(t,e,n){var i,a,o,r,s,l=n.scale.options,u="flex"===l.barThickness?(i=e,o=(s=(a=n).pixels)[i],r=0<i?s[i-1]:null,s=i<s.length-1?s[i+1]:null,i=l.categoryPercentage,null===r&&(r=o-(null===s?a.end-o:s-o)),{chunk:((s=null===s?o+o-r:s)-r)/2*i/a.stackCount,ratio:l.barPercentage,start:o-(o-r)/2*i}):(a=e,o=n,i=(r=l).barThickness,n=o.stackCount,a=o.pixels[e],i=d.isNullOrUndef(i)?(u=o.min*r.categoryPercentage,r.barPercentage):(u=i*n,1),{chunk:u/n,ratio:i,start:a-u/2}),t=this.getStackIndex(t,this.getMeta().stack),t=u.start+u.chunk*t+u.chunk/2,u=Math.min(d.valueOrDefault(l.maxBarThickness,1/0),u.chunk*u.ratio);return{base:t-u/2,head:t+u/2,center:t,size:u}},draw:function(){var t=this.chart,e=this.getValueScale(),n=this.getMeta().data,i=this.getDataset(),a=n.length,o=0;for(d.canvas.clipArea(t.ctx,t.chartArea);o<a;++o)isNaN(e.getRightValue(i.data[o]))||n[o].draw();d.canvas.unclipArea(t.ctx)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},t=t._model;t.backgroundColor=i.hoverBackgroundColor||d.valueAtIndexOrDefault(e.hoverBackgroundColor,n,d.getHoverColor(t.backgroundColor)),t.borderColor=i.hoverBorderColor||d.valueAtIndexOrDefault(e.hoverBorderColor,n,d.getHoverColor(t.borderColor)),t.borderWidth=i.hoverBorderWidth||d.valueAtIndexOrDefault(e.hoverBorderWidth,n,t.borderWidth)},removeHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},a=t._model,t=this.chart.options.elements.rectangle;a.backgroundColor=i.backgroundColor||d.valueAtIndexOrDefault(e.backgroundColor,n,t.backgroundColor),a.borderColor=i.borderColor||d.valueAtIndexOrDefault(e.borderColor,n,t.borderColor),a.borderWidth=i.borderWidth||d.valueAtIndexOrDefault(e.borderWidth,n,t.borderWidth)}}),e.controllers.horizontalBar=e.controllers.bar.extend({getValueScaleId:function(){return this.getMeta().xAxisID},getIndexScaleId:function(){return this.getMeta().yAxisID}})}},{25:25,40:40,45:45}],16:[function(t,e,n){"use strict";var i=t(25),a=t(40),f=t(45);i._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.datasets[t.datasetIndex].label||"",e=e.datasets[t.datasetIndex].data[t.index];return n+": ("+t.xLabel+", "+t.yLabel+", "+e.r+")"}}}}),e.exports=function(t){t.controllers.bubble=t.DatasetController.extend({dataElementType:a.Point,update:function(n){var i=this,t=i.getMeta().data;f.each(t,function(t,e){i.updateElement(t,e,n)})},updateElement:function(t,e,n){var i=this,a=i.getMeta(),o=t.custom||{},r=i.getScaleForId(a.xAxisID),s=i.getScaleForId(a.yAxisID),l=i._resolveElementOptions(t,e),u=i.getDataset().data[e],a=i.index,i=n?r.getPixelForDecimal(.5):r.getPixelForValue("object"==typeof u?u:NaN,e,a),u=n?s.getBasePixel():s.getPixelForValue(u,e,a);t._xScale=r,t._yScale=s,t._options=l,t._datasetIndex=a,t._index=e,t._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,radius:n?0:l.radius,skip:o.skip||isNaN(i)||isNaN(u),x:i,y:u},t.pivot()},setHoverStyle:function(t){var e=t._model,t=t._options;e.backgroundColor=f.valueOrDefault(t.hoverBackgroundColor,f.getHoverColor(t.backgroundColor)),e.borderColor=f.valueOrDefault(t.hoverBorderColor,f.getHoverColor(t.borderColor)),e.borderWidth=f.valueOrDefault(t.hoverBorderWidth,t.borderWidth),e.radius=t.radius+t.hoverRadius},removeHoverStyle:function(t){var e=t._model,t=t._options;e.backgroundColor=t.backgroundColor,e.borderColor=t.borderColor,e.borderWidth=t.borderWidth,e.radius=t.radius},_resolveElementOptions:function(t,e){for(var n,i=this.chart,a=i.data.datasets[this.index],o=t.custom||{},r=i.options.elements.point,s=f.options.resolve,t=a.data[e],l={},u={chart:i,dataIndex:e,dataset:a,datasetIndex:this.index},d=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle"],h=0,c=d.length;h<c;++h)l[n=d[h]]=s([o[n],a[n],r[n]],u,e);return l.radius=s([o.radius,t?t.r:void 0,a.radius,r.radius],u,e),l}})}},{25:25,40:40,45:45}],17:[function(t,e,n){"use strict";var i=t(25),a=t(40),y=t(45);i._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var t=t.data,n=t.datasets,i=t.labels;if(n.length)for(var a=0;a<n[0].data.length;++a)e.push('<li><span style="background-color:'+n[0].backgroundColor[a]+'"></span>'),i[a]&&e.push(i[a]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(s){var l=s.data;return l.labels.length&&l.datasets.length?l.labels.map(function(t,e){var n=s.getDatasetMeta(0),i=l.datasets[0],a=n.data[e],o=a&&a.custom||{},r=y.valueAtIndexOrDefault,a=s.options.elements.arc;return{text:t,fillStyle:o.backgroundColor||r(i.backgroundColor,e,a.backgroundColor),strokeStyle:o.borderColor||r(i.borderColor,e,a.borderColor),lineWidth:o.borderWidth||r(i.borderWidth,e,a.borderWidth),hidden:isNaN(i.data[e])||n.data[e].hidden,index:e}}):[]}},onClick:function(t,e){for(var n,i=e.index,a=this.chart,o=0,r=(a.data.datasets||[]).length;o<r;++o)(n=a.getDatasetMeta(o)).data[i]&&(n.data[i].hidden=!n.data[i].hidden);a.update()}},cutoutPercentage:50,rotation:-.5*Math.PI,circumference:2*Math.PI,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.labels[t.index],t=": "+e.datasets[t.datasetIndex].data[t.index];return y.isArray(n)?(n=n.slice())[0]+=t:n+=t,n}}}}),i._set("pie",y.clone(i.doughnut)),i._set("pie",{cutoutPercentage:0}),e.exports=function(e){e.controllers.doughnut=e.controllers.pie=e.DatasetController.extend({dataElementType:a.Arc,linkScales:y.noop,getRingIndex:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&++e;return e},update:function(n){var t,e,i,a,o,r=this,s=r.chart,l=s.chartArea,u=s.options,d=u.elements.arc,h=l.right-l.left-d.borderWidth,c=l.bottom-l.top-d.borderWidth,f=Math.min(h,c),g={x:0,y:0},m=r.getMeta(),p=u.cutoutPercentage,v=u.circumference;v<2*Math.PI&&(i=u.rotation%(2*Math.PI),o=(i+=2*Math.PI*(i>=Math.PI?-1:i<-Math.PI?1:0))+v,t=Math.cos(i),e=Math.sin(i),a=Math.cos(o),l=Math.sin(o),d=i<=0&&0<=o||i<=2*Math.PI&&2*Math.PI<=o,u=i<=.5*Math.PI&&.5*Math.PI<=o||i<=2.5*Math.PI&&2.5*Math.PI<=o,v=i<=-Math.PI&&-Math.PI<=o||i<=Math.PI&&Math.PI<=o,i=i<=.5*-Math.PI&&.5*-Math.PI<=o||i<=1.5*Math.PI&&1.5*Math.PI<=o,o=p/100,v=v?-1:Math.min(t*(t<0?1:o),a*(a<0?1:o)),i=i?-1:Math.min(e*(e<0?1:o),l*(l<0?1:o)),a=d?1:Math.max(t*(0<t?1:o),a*(0<a?1:o)),o=u?1:Math.max(e*(0<e?1:o),l*(0<l?1:o)),f=Math.min(h/(.5*(a-v)),c/(.5*(o-i))),g={x:-.5*(a+v),y:-.5*(o+i)}),s.borderWidth=r.getMaxBorderWidth(m.data),s.outerRadius=Math.max((f-s.borderWidth)/2,0),s.innerRadius=Math.max(p?s.outerRadius/100*p:0,0),s.radiusLength=(s.outerRadius-s.innerRadius)/s.getVisibleDatasetCount(),s.offsetX=g.x*s.outerRadius,s.offsetY=g.y*s.outerRadius,m.total=r.calculateTotal(),r.outerRadius=s.outerRadius-s.radiusLength*r.getRingIndex(r.index),r.innerRadius=Math.max(r.outerRadius-s.radiusLength,0),y.each(m.data,function(t,e){r.updateElement(t,e,n)})},updateElement:function(t,e,n){var i=this,a=i.chart,o=a.chartArea,r=a.options,s=r.animation,l=(o.left+o.right)/2,u=(o.top+o.bottom)/2,d=r.rotation,h=r.rotation,c=i.getDataset(),f=n&&s.animateRotate||t.hidden?0:i.calculateCircumference(c.data[e])*(r.circumference/(2*Math.PI)),g=n&&s.animateScale?0:i.innerRadius,m=n&&s.animateScale?0:i.outerRadius,o=y.valueAtIndexOrDefault;y.extend(t,{_datasetIndex:i.index,_index:e,_model:{x:l+a.offsetX,y:u+a.offsetY,startAngle:d,endAngle:h,circumference:f,outerRadius:m,innerRadius:g,label:o(c.label,e,a.data.labels[e])}});a=t._model;this.removeHoverStyle(t),n&&s.animateRotate||(a.startAngle=0===e?r.rotation:i.getMeta().data[e-1]._model.endAngle,a.endAngle=a.startAngle+a.circumference),t.pivot()},removeHoverStyle:function(t){e.DatasetController.prototype.removeHoverStyle.call(this,t,this.chart.options.elements.arc)},calculateTotal:function(){var n,i=this.getDataset(),t=this.getMeta(),a=0;return y.each(t.data,function(t,e){n=i.data[e],isNaN(n)||t.hidden||(a+=Math.abs(n))}),a},calculateCircumference:function(t){var e=this.getMeta().total;return 0<e&&!isNaN(t)?2*Math.PI*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){for(var e,n=0,i=this.index,a=t.length,o=0;o<a;o++)n=(n=n<(e=t[o]._model?t[o]._model.borderWidth:0)?e:n)<(e=t[o]._chart?t[o]._chart.config.data.datasets[i].hoverBorderWidth:0)?e:n;return n}})}},{25:25,40:40,45:45}],18:[function(t,e,n){"use strict";var i=t(25),a=t(40),f=t(45);i._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),e.exports=function(t){function c(t,e){return f.valueOrDefault(t.showLine,e.showLines)}t.controllers.line=t.DatasetController.extend({datasetElementType:a.Line,dataElementType:a.Point,update:function(t){var e,n,i=this,a=i.getMeta(),o=a.dataset,r=a.data||[],s=i.chart.options,l=s.elements.line,u=i.getScaleForId(a.yAxisID),d=i.getDataset(),h=c(d,s);for(h&&(a=o.custom||{},void 0!==d.tension&&void 0===d.lineTension&&(d.lineTension=d.tension),o._scale=u,o._datasetIndex=i.index,o._children=r,o._model={spanGaps:d.spanGaps||s.spanGaps,tension:a.tension||f.valueOrDefault(d.lineTension,l.tension),backgroundColor:a.backgroundColor||d.backgroundColor||l.backgroundColor,borderWidth:a.borderWidth||d.borderWidth||l.borderWidth,borderColor:a.borderColor||d.borderColor||l.borderColor,borderCapStyle:a.borderCapStyle||d.borderCapStyle||l.borderCapStyle,borderDash:a.borderDash||d.borderDash||l.borderDash,borderDashOffset:a.borderDashOffset||d.borderDashOffset||l.borderDashOffset,borderJoinStyle:a.borderJoinStyle||d.borderJoinStyle||l.borderJoinStyle,fill:a.fill||(void 0!==d.fill?d:l).fill,steppedLine:a.steppedLine||f.valueOrDefault(d.steppedLine,l.stepped),cubicInterpolationMode:a.cubicInterpolationMode||f.valueOrDefault(d.cubicInterpolationMode,l.cubicInterpolationMode)},o.pivot()),e=0,n=r.length;e<n;++e)i.updateElement(r[e],e,t);for(h&&0!==o._model.tension&&i.updateBezierControlPoints(),e=0,n=r.length;e<n;++e)r[e].pivot()},getPointBackgroundColor:function(t,e){var n=this.chart.options.elements.point.backgroundColor,i=this.getDataset(),t=t.custom||{};return t.backgroundColor?n=t.backgroundColor:i.pointBackgroundColor?n=f.valueAtIndexOrDefault(i.pointBackgroundColor,e,n):i.backgroundColor&&(n=i.backgroundColor),n},getPointBorderColor:function(t,e){var n=this.chart.options.elements.point.borderColor,i=this.getDataset(),t=t.custom||{};return t.borderColor?n=t.borderColor:i.pointBorderColor?n=f.valueAtIndexOrDefault(i.pointBorderColor,e,n):i.borderColor&&(n=i.borderColor),n},getPointBorderWidth:function(t,e){var n=this.chart.options.elements.point.borderWidth,i=this.getDataset(),t=t.custom||{};return isNaN(t.borderWidth)?!isNaN(i.pointBorderWidth)||f.isArray(i.pointBorderWidth)?n=f.valueAtIndexOrDefault(i.pointBorderWidth,e,n):isNaN(i.borderWidth)||(n=i.borderWidth):n=t.borderWidth,n},updateElement:function(t,e,n){var i,a=this,o=a.getMeta(),r=t.custom||{},s=a.getDataset(),l=a.index,u=s.data[e],d=a.getScaleForId(o.yAxisID),h=a.getScaleForId(o.xAxisID),c=a.chart.options.elements.point;void 0!==s.radius&&void 0===s.pointRadius&&(s.pointRadius=s.radius),void 0!==s.hitRadius&&void 0===s.pointHitRadius&&(s.pointHitRadius=s.hitRadius),i=h.getPixelForValue("object"==typeof u?u:NaN,e,l),u=n?d.getBasePixel():a.calculatePointY(u,e,l),t._xScale=h,t._yScale=d,t._datasetIndex=l,t._index=e,t._model={x:i,y:u,skip:r.skip||isNaN(i)||isNaN(u),radius:r.radius||f.valueAtIndexOrDefault(s.pointRadius,e,c.radius),pointStyle:r.pointStyle||f.valueAtIndexOrDefault(s.pointStyle,e,c.pointStyle),backgroundColor:a.getPointBackgroundColor(t,e),borderColor:a.getPointBorderColor(t,e),borderWidth:a.getPointBorderWidth(t,e),tension:o.dataset._model?o.dataset._model.tension:0,steppedLine:!!o.dataset._model&&o.dataset._model.steppedLine,hitRadius:r.hitRadius||f.valueAtIndexOrDefault(s.pointHitRadius,e,c.hitRadius)}},calculatePointY:function(t,e,n){var i,a=this.chart,o=this.getMeta(),r=this.getScaleForId(o.yAxisID),s=0,l=0;if(r.options.stacked){for(i=0;i<n;i++){var u,d=a.data.datasets[i];"line"===(u=a.getDatasetMeta(i)).type&&u.yAxisID===r.id&&a.isDatasetVisible(i)&&((d=Number(r.getRightValue(d.data[e])))<0?l+=d||0:s+=d||0)}o=Number(r.getRightValue(t));return o<0?r.getPixelForValue(l+o):r.getPixelForValue(s+o)}return r.getPixelForValue(t)},updateBezierControlPoints:function(){function t(t,e,n){return Math.max(Math.min(t,n),e)}var e,n,i,a,o=this.getMeta(),r=this.chart.chartArea,s=o.data||[];if(o.dataset._model.spanGaps&&(s=s.filter(function(t){return!t._model.skip})),"monotone"===o.dataset._model.cubicInterpolationMode)f.splineCurveMonotone(s);else for(e=0,n=s.length;e<n;++e)i=s[e]._model,a=f.splineCurve(f.previousItem(s,e)._model,i,f.nextItem(s,e)._model,o.dataset._model.tension),i.controlPointPreviousX=a.previous.x,i.controlPointPreviousY=a.previous.y,i.controlPointNextX=a.next.x,i.controlPointNextY=a.next.y;if(this.chart.options.elements.line.capBezierPoints)for(e=0,n=s.length;e<n;++e)(i=s[e]._model).controlPointPreviousX=t(i.controlPointPreviousX,r.left,r.right),i.controlPointPreviousY=t(i.controlPointPreviousY,r.top,r.bottom),i.controlPointNextX=t(i.controlPointNextX,r.left,r.right),i.controlPointNextY=t(i.controlPointNextY,r.top,r.bottom)},draw:function(){var t=this.chart,e=this.getMeta(),n=e.data||[],i=t.chartArea,a=n.length,o=0;for(f.canvas.clipArea(t.ctx,i),c(this.getDataset(),t.options)&&e.dataset.draw(),f.canvas.unclipArea(t.ctx);o<a;++o)n[o].draw(i)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},t=t._model;t.radius=i.hoverRadius||f.valueAtIndexOrDefault(e.pointHoverRadius,n,this.chart.options.elements.point.hoverRadius),t.backgroundColor=i.hoverBackgroundColor||f.valueAtIndexOrDefault(e.pointHoverBackgroundColor,n,f.getHoverColor(t.backgroundColor)),t.borderColor=i.hoverBorderColor||f.valueAtIndexOrDefault(e.pointHoverBorderColor,n,f.getHoverColor(t.borderColor)),t.borderWidth=i.hoverBorderWidth||f.valueAtIndexOrDefault(e.pointHoverBorderWidth,n,t.borderWidth)},removeHoverStyle:function(t){var e=this,n=e.chart.data.datasets[t._datasetIndex],i=t._index,a=t.custom||{},o=t._model;void 0!==n.radius&&void 0===n.pointRadius&&(n.pointRadius=n.radius),o.radius=a.radius||f.valueAtIndexOrDefault(n.pointRadius,i,e.chart.options.elements.point.radius),o.backgroundColor=e.getPointBackgroundColor(t,i),o.borderColor=e.getPointBorderColor(t,i),o.borderWidth=e.getPointBorderWidth(t,i)}})}},{25:25,40:40,45:45}],19:[function(t,e,n){"use strict";var i=t(25),a=t(40),y=t(45);i._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var t=t.data,n=t.datasets,i=t.labels;if(n.length)for(var a=0;a<n[0].data.length;++a)e.push('<li><span style="background-color:'+n[0].backgroundColor[a]+'"></span>'),i[a]&&e.push(i[a]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(s){var l=s.data;return l.labels.length&&l.datasets.length?l.labels.map(function(t,e){var n=s.getDatasetMeta(0),i=l.datasets[0],a=n.data[e].custom||{},o=y.valueAtIndexOrDefault,r=s.options.elements.arc;return{text:t,fillStyle:a.backgroundColor||o(i.backgroundColor,e,r.backgroundColor),strokeStyle:a.borderColor||o(i.borderColor,e,r.borderColor),lineWidth:a.borderWidth||o(i.borderWidth,e,r.borderWidth),hidden:isNaN(i.data[e])||n.data[e].hidden,index:e}}):[]}},onClick:function(t,e){for(var n,i=e.index,a=this.chart,o=0,r=(a.data.datasets||[]).length;o<r;++o)(n=a.getDatasetMeta(o)).data[i].hidden=!n.data[i].hidden;a.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}}),e.exports=function(e){e.controllers.polarArea=e.DatasetController.extend({dataElementType:a.Arc,linkScales:y.noop,update:function(n){var i=this,t=i.chart,e=t.chartArea,a=i.getMeta(),o=t.options,r=o.elements.arc,e=Math.min(e.right-e.left,e.bottom-e.top);t.outerRadius=Math.max((e-r.borderWidth/2)/2,0),t.innerRadius=Math.max(o.cutoutPercentage?t.outerRadius/100*o.cutoutPercentage:1,0),t.radiusLength=(t.outerRadius-t.innerRadius)/t.getVisibleDatasetCount(),i.outerRadius=t.outerRadius-t.radiusLength*i.index,i.innerRadius=i.outerRadius-t.radiusLength,a.count=i.countVisibleElements(),y.each(a.data,function(t,e){i.updateElement(t,e,n)})},updateElement:function(t,e,n){for(var i=this,a=i.chart,o=i.getDataset(),r=a.options,s=r.animation,l=a.scale,u=a.data.labels,d=i.calculateCircumference(o.data[e]),h=l.xCenter,c=l.yCenter,f=0,g=i.getMeta(),m=0;m<e;++m)isNaN(o.data[m])||g.data[m].hidden||++f;var p=r.startAngle,v=t.hidden?0:l.getDistanceFromCenterForValue(o.data[e]),a=p+d*f,r=a+(t.hidden?0:d),d=s.animateScale?0:l.getDistanceFromCenterForValue(o.data[e]);y.extend(t,{_datasetIndex:i.index,_index:e,_scale:l,_model:{x:h,y:c,innerRadius:0,outerRadius:n?d:v,startAngle:n&&s.animateRotate?p:a,endAngle:n&&s.animateRotate?p:r,label:y.valueAtIndexOrDefault(u,e,u[e])}}),i.removeHoverStyle(t),t.pivot()},removeHoverStyle:function(t){e.DatasetController.prototype.removeHoverStyle.call(this,t,this.chart.options.elements.arc)},countVisibleElements:function(){var n=this.getDataset(),t=this.getMeta(),i=0;return y.each(t.data,function(t,e){isNaN(n.data[e])||t.hidden||i++}),i},calculateCircumference:function(t){var e=this.getMeta().count;return 0<e&&!isNaN(t)?2*Math.PI/e:0}})}},{25:25,40:40,45:45}],20:[function(t,e,n){"use strict";var i=t(25),a=t(40),u=t(45);i._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),e.exports=function(t){t.controllers.radar=t.DatasetController.extend({datasetElementType:a.Line,dataElementType:a.Point,linkScales:u.noop,update:function(n){var i=this,t=i.getMeta(),e=t.dataset,a=t.data,o=e.custom||{},r=i.getDataset(),s=i.chart.options.elements.line,e=i.chart.scale;void 0!==r.tension&&void 0===r.lineTension&&(r.lineTension=r.tension),u.extend(t.dataset,{_datasetIndex:i.index,_scale:e,_children:a,_loop:!0,_model:{tension:o.tension||u.valueOrDefault(r.lineTension,s.tension),backgroundColor:o.backgroundColor||r.backgroundColor||s.backgroundColor,borderWidth:o.borderWidth||r.borderWidth||s.borderWidth,borderColor:o.borderColor||r.borderColor||s.borderColor,fill:o.fill||(void 0!==r.fill?r:s).fill,borderCapStyle:o.borderCapStyle||r.borderCapStyle||s.borderCapStyle,borderDash:o.borderDash||r.borderDash||s.borderDash,borderDashOffset:o.borderDashOffset||r.borderDashOffset||s.borderDashOffset,borderJoinStyle:o.borderJoinStyle||r.borderJoinStyle||s.borderJoinStyle}}),t.dataset.pivot(),u.each(a,function(t,e){i.updateElement(t,e,n)},i),i.updateBezierControlPoints()},updateElement:function(t,e,n){var i=this,a=t.custom||{},o=i.getDataset(),r=i.chart.scale,s=i.chart.options.elements.point,l=r.getPointPositionForValue(e,o.data[e]);void 0!==o.radius&&void 0===o.pointRadius&&(o.pointRadius=o.radius),void 0!==o.hitRadius&&void 0===o.pointHitRadius&&(o.pointHitRadius=o.hitRadius),u.extend(t,{_datasetIndex:i.index,_index:e,_scale:r,_model:{x:n?r.xCenter:l.x,y:n?r.yCenter:l.y,tension:a.tension||u.valueOrDefault(o.lineTension,i.chart.options.elements.line.tension),radius:a.radius||u.valueAtIndexOrDefault(o.pointRadius,e,s.radius),backgroundColor:a.backgroundColor||u.valueAtIndexOrDefault(o.pointBackgroundColor,e,s.backgroundColor),borderColor:a.borderColor||u.valueAtIndexOrDefault(o.pointBorderColor,e,s.borderColor),borderWidth:a.borderWidth||u.valueAtIndexOrDefault(o.pointBorderWidth,e,s.borderWidth),pointStyle:a.pointStyle||u.valueAtIndexOrDefault(o.pointStyle,e,s.pointStyle),hitRadius:a.hitRadius||u.valueAtIndexOrDefault(o.pointHitRadius,e,s.hitRadius)}}),t._model.skip=a.skip||isNaN(t._model.x)||isNaN(t._model.y)},updateBezierControlPoints:function(){var i=this.chart.chartArea,a=this.getMeta();u.each(a.data,function(t,e){var n=t._model,e=u.splineCurve(u.previousItem(a.data,e,!0)._model,n,u.nextItem(a.data,e,!0)._model,n.tension);n.controlPointPreviousX=Math.max(Math.min(e.previous.x,i.right),i.left),n.controlPointPreviousY=Math.max(Math.min(e.previous.y,i.bottom),i.top),n.controlPointNextX=Math.max(Math.min(e.next.x,i.right),i.left),n.controlPointNextY=Math.max(Math.min(e.next.y,i.bottom),i.top),t.pivot()})},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t.custom||{},i=t._index,t=t._model;t.radius=n.hoverRadius||u.valueAtIndexOrDefault(e.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius),t.backgroundColor=n.hoverBackgroundColor||u.valueAtIndexOrDefault(e.pointHoverBackgroundColor,i,u.getHoverColor(t.backgroundColor)),t.borderColor=n.hoverBorderColor||u.valueAtIndexOrDefault(e.pointHoverBorderColor,i,u.getHoverColor(t.borderColor)),t.borderWidth=n.hoverBorderWidth||u.valueAtIndexOrDefault(e.pointHoverBorderWidth,i,t.borderWidth)},removeHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t.custom||{},i=t._index,a=t._model,t=this.chart.options.elements.point;a.radius=n.radius||u.valueAtIndexOrDefault(e.pointRadius,i,t.radius),a.backgroundColor=n.backgroundColor||u.valueAtIndexOrDefault(e.pointBackgroundColor,i,t.backgroundColor),a.borderColor=n.borderColor||u.valueAtIndexOrDefault(e.pointBorderColor,i,t.borderColor),a.borderWidth=n.borderWidth||u.valueAtIndexOrDefault(e.pointBorderWidth,i,t.borderWidth)}})}},{25:25,40:40,45:45}],21:[function(t,e,n){"use strict";t(25)._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),e.exports=function(t){t.controllers.scatter=t.controllers.line}},{25:25}],22:[function(t,e,n){"use strict";var i=t(25),a=t(26),o=t(45);i._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:o.noop,onComplete:o.noop}}),e.exports=function(t){t.Animation=a.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),t.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(t,e,n,i){var a,o,r=this.animations;for(e.chart=t,i||(t.animating=!0),a=0,o=r.length;a<o;++a)if(r[a].chart===t)return void(r[a]=e);r.push(e),1===r.length&&this.requestAnimationFrame()},cancelAnimation:function(e){var t=o.findIndex(this.animations,function(t){return t.chart===e});-1!==t&&(this.animations.splice(t,1),e.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=o.requestAnimFrame.call(window,function(){t.request=null,t.startDigest()}))},startDigest:function(){var t=this,e=Date.now(),n=0;1<t.dropFrames&&(n=Math.floor(t.dropFrames),t.dropFrames=t.dropFrames%1),t.advance(1+n);n=Date.now();t.dropFrames+=(n-e)/t.frameDuration,0<t.animations.length&&t.requestAnimationFrame()},advance:function(t){for(var e,n,i=this.animations,a=0;a<i.length;)n=(e=i[a]).chart,e.currentStep=(e.currentStep||0)+t,e.currentStep=Math.min(e.currentStep,e.numSteps),o.callback(e.render,[n,e],n),o.callback(e.onAnimationProgress,[e],n),e.currentStep>=e.numSteps?(o.callback(e.onAnimationComplete,[e],n),n.animating=!1,i.splice(a,1)):++a}},Object.defineProperty(t.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(t.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}})}},{25:25,26:26,45:45}],23:[function(t,e,n){"use strict";var r=t(25),h=t(45),i=t(28),a=t(30),s=t(48),l=t(31);e.exports=function(u){function d(t){return"top"===t||"bottom"===t}u.types={},u.instances={},u.controllers={},h.extend(u.prototype,{construct:function(t,e){var n=this;(a=(o=(o=e)||{}).data=o.data||{}).datasets=a.datasets||[],a.labels=a.labels||[],o.options=h.configMerge(r.global,r[o.type],o.options||{}),e=o;var i=s.acquireContext(t,e),a=i&&i.canvas,o=a&&a.height,t=a&&a.width;n.id=h.uid(),n.ctx=i,n.canvas=a,n.config=e,n.width=t,n.height=o,n.aspectRatio=o?t/o:null,n.options=e.options,n._bufferedRender=!1,(n.chart=n).controller=n,u.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(t){n.config.data=t}}),i&&a?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return l.notify(t,"beforeInit"),h.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.initToolTip(),l.notify(t,"afterInit"),t},clear:function(){return h.canvas.clear(this),this},stop:function(){return u.animationService.cancelAnimation(this),this},resize:function(t){var e=this,n=e.options,i=e.canvas,a=n.maintainAspectRatio&&e.aspectRatio||null,o=Math.max(0,Math.floor(h.getMaximumWidth(i))),a=Math.max(0,Math.floor(a?o/a:h.getMaximumHeight(i)));e.width===o&&e.height===a||(i.width=e.width=o,i.height=e.height=a,i.style.width=o+"px",i.style.height=a+"px",h.retinaScale(e,n.devicePixelRatio),t||(l.notify(e,"resize",[a={width:o,height:a}]),e.options.onResize&&e.options.onResize(e,a),e.stop(),e.update(e.options.responsiveAnimationDuration)))},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},t=t.scale;h.each(e.xAxes,function(t,e){t.id=t.id||"x-axis-"+e}),h.each(e.yAxes,function(t,e){t.id=t.id||"y-axis-"+e}),t&&(t.id=t.id||"scale")},buildOrUpdateScales:function(){var r=this,t=r.options,s=r.scales||{},e=[],l=Object.keys(s).reduce(function(t,e){return t[e]=!1,t},{});t.scales&&(e=e.concat((t.scales.xAxes||[]).map(function(t){return{options:t,dtype:"category",dposition:"bottom"}}),(t.scales.yAxes||[]).map(function(t){return{options:t,dtype:"linear",dposition:"left"}}))),t.scale&&e.push({options:t.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),h.each(e,function(t){var e=t.options,n=e.id,i=h.valueOrDefault(e.type,t.dtype);d(e.position)!==d(t.dposition)&&(e.position=t.dposition),l[n]=!0;var a=null;if(n in s&&s[n].type===i)(a=s[n]).options=e,a.ctx=r.ctx,a.chart=r;else{var o=u.scaleService.getScaleConstructor(i);if(!o)return;a=new o({id:n,type:i,options:e,ctx:r.ctx,chart:r}),s[a.id]=a}a.mergeTicksOptions(),t.isDefault&&(r.scale=a)}),h.each(l,function(t,e){t||delete s[e]}),r.scales=s,u.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var i=this,a=[],o=[];return h.each(i.data.datasets,function(t,e){var n=i.getDatasetMeta(e),t=t.type||i.config.type;if(n.type&&n.type!==t&&(i.destroyDatasetMeta(e),n=i.getDatasetMeta(e)),n.type=t,a.push(n.type),n.controller)n.controller.updateIndex(e),n.controller.linkScales();else{t=u.controllers[n.type];if(void 0===t)throw new Error('"'+n.type+'" is not a chart type.');n.controller=new t(i,e),o.push(n.controller)}},i),o},resetElements:function(){var n=this;h.each(n.data.datasets,function(t,e){n.getDatasetMeta(e).controller.reset()},n)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var e,n,i=this;t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),n=(e=i).options,h.each(e.scales,function(t){a.removeBox(e,t)}),n=h.configMerge(u.defaults.global,u.defaults[e.config.type],n),e.options=e.config.options=n,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=n.tooltips,e.tooltip.initialize(),l._invalidate(i),!1!==l.notify(i,"beforeUpdate")&&(i.tooltip._data=i.data,n=i.buildOrUpdateControllers(),h.each(i.data.datasets,function(t,e){i.getDatasetMeta(e).controller.buildOrUpdateElements()},i),i.updateLayout(),i.options.animation&&i.options.animation.duration&&h.each(n,function(t){t.reset()}),i.updateDatasets(),i.tooltip.initialize(),i.lastActive=[],l.notify(i,"afterUpdate"),i._bufferedRender?i._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:i.render(t))},updateLayout:function(){!1!==l.notify(this,"beforeLayout")&&(a.update(this,this.width,this.height),l.notify(this,"afterScaleUpdate"),l.notify(this,"afterLayout"))},updateDatasets:function(){if(!1!==l.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t<e;++t)this.updateDataset(t);l.notify(this,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this.getDatasetMeta(t),t={meta:e,index:t};!1!==l.notify(this,"beforeDatasetUpdate",[t])&&(e.controller.update(),l.notify(this,"afterDatasetUpdate",[t]))},render:function(t){var e=this,n=(t=!t||"object"!=typeof t?{duration:t,lazy:arguments[1]}:t).duration,i=t.lazy;if(!1!==l.notify(e,"beforeRender")){var a=e.options.animation,o=function(t){l.notify(e,"afterRender"),h.callback(a&&a.onComplete,[t],e)};return a&&(void 0!==n&&0!==n||void 0===n&&0!==a.duration)?(t=new u.Animation({numSteps:(n||a.duration)/16.66,easing:t.easing||a.easing,render:function(t,e){var n=h.easing.effects[e.easing],i=e.currentStep,e=i/e.numSteps;t.draw(n(e),e,i)},onAnimationProgress:a.onProgress,onAnimationComplete:o}),u.animationService.addAnimation(e,t,n,i)):(e.draw(),o(new u.Animation({numSteps:0,chart:e}))),e}},draw:function(t){var e=this;e.clear(),h.isNullOrUndef(t)&&(t=1),e.transition(t),!1!==l.notify(e,"beforeDraw",[t])&&(h.each(e.boxes,function(t){t.draw(e.chartArea)},e),e.scale&&e.scale.draw(),e.drawDatasets(t),e._drawTooltip(t),l.notify(e,"afterDraw",[t]))},transition:function(t){for(var e=0,n=(this.data.datasets||[]).length;e<n;++e)this.isDatasetVisible(e)&&this.getDatasetMeta(e).controller.transition(t);this.tooltip.transition(t)},drawDatasets:function(t){var e=this;if(!1!==l.notify(e,"beforeDatasetsDraw",[t])){for(var n=(e.data.datasets||[]).length-1;0<=n;--n)e.isDatasetVisible(n)&&e.drawDataset(n,t);l.notify(e,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n=this.getDatasetMeta(t),t={meta:n,index:t,easingValue:e};!1!==l.notify(this,"beforeDatasetDraw",[t])&&(n.controller.draw(e),l.notify(this,"afterDatasetDraw",[t]))},_drawTooltip:function(t){var e=this.tooltip,t={tooltip:e,easingValue:t};!1!==l.notify(this,"beforeTooltipDraw",[t])&&(e.draw(),l.notify(this,"afterTooltipDraw",[t]))},getElementAtEvent:function(t){return i.modes.single(this,t)},getElementsAtEvent:function(t){return i.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return i.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){e=i.modes[e];return"function"==typeof e?e(this,t,n):[]},getDatasetAtEvent:function(t){return i.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){t=this.data.datasets[t];return t._meta||(t._meta={}),t._meta[this.id]||(t._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null})},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;e<n;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var e=this.id,n=this.data.datasets[t],t=n._meta&&n._meta[e];t&&(t.controller.destroy(),delete n._meta[e])},destroy:function(){var t,e,n=this,i=n.canvas;for(n.stop(),t=0,e=n.data.datasets.length;t<e;++t)n.destroyDatasetMeta(t);i&&(n.unbindEvents(),h.canvas.clear(n),s.releaseContext(n.ctx),n.canvas=null,n.ctx=null),l.notify(n,"destroy"),delete u.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new u.Tooltip({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var e=this,n=e._listeners={},i=function(){e.eventHandler.apply(e,arguments)};h.each(e.options.events,function(t){s.addEventListener(e,t,i),n[t]=i}),e.options.responsive&&(i=function(){e.resize()},s.addEventListener(e,"resize",i),n.resize=i)},unbindEvents:function(){var n=this,t=n._listeners;t&&(delete n._listeners,h.each(t,function(t,e){s.removeEventListener(n,e,t)}))},updateHoverStyle:function(t,e,n){for(var i,a=n?"setHoverStyle":"removeHoverStyle",o=0,r=t.length;o<r;++o)(i=t[o])&&this.getDatasetMeta(i._datasetIndex).controller[a](i)},eventHandler:function(t){var e=this,n=e.tooltip;if(!1!==l.notify(e,"beforeEvent",[t])){e._bufferedRender=!0,e._bufferedRequest=null;var i=e.handleEvent(t);n&&(i=n._start?n.handleEvent(t):i|n.handleEvent(t)),l.notify(e,"afterEvent",[t]);t=e._bufferedRequest;return t?e.render(t):i&&!e.animating&&(e.stop(),e.render(e.options.hover.animationDuration,!0)),e._bufferedRender=!1,e._bufferedRequest=null,e}},handleEvent:function(t){var e,n=this,i=n.options||{},a=i.hover;return n.lastActive=n.lastActive||[],"mouseout"===t.type?n.active=[]:n.active=n.getElementsAtEventForMode(t,a.mode,a),h.callback(i.onHover||i.hover.onHover,[t.native,n.active],n),"mouseup"!==t.type&&"click"!==t.type||i.onClick&&i.onClick.call(n,t.native,n.active),n.lastActive.length&&n.updateHoverStyle(n.lastActive,a.mode,!1),n.active.length&&a.mode&&n.updateHoverStyle(n.active,a.mode,!0),e=!h.arrayEquals(n.active,n.lastActive),n.lastActive=n.active,e}}),u.Controller=u}},{25:25,28:28,30:30,31:31,45:45,48:48}],24:[function(t,e,n){"use strict";var r=t(45);e.exports=function(t){function i(e,t){var n=e._chartjs;n&&(-1!==(t=(n=n.listeners).indexOf(t))&&n.splice(t,1),0<n.length||(o.forEach(function(t){delete e[t]}),delete e._chartjs))}var o=["push","pop","shift","splice","unshift"];t.DatasetController=function(t,e){this.initialize(t,e)},r.extend(t.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(t,e){this.chart=t,this.index=e,this.linkScales(),this.addElements()},updateIndex:function(t){this.index=t},linkScales:function(){var t=this,e=t.getMeta(),n=t.getDataset();null!==e.xAxisID&&e.xAxisID in t.chart.scales||(e.xAxisID=n.xAxisID||t.chart.options.scales.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in t.chart.scales||(e.yAxisID=n.yAxisID||t.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(t){return this.chart.scales[t]},reset:function(){this.update(!0)},destroy:function(){this._data&&i(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){for(var t=this.getMeta(),e=this.getDataset().data||[],n=t.data,i=0,a=e.length;i<a;++i)n[i]=n[i]||this.createMetaData(i);t.dataset=t.dataset||this.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var a,t=this,e=t.getDataset(),n=e.data||(e.data=[]);t._data!==n&&(t._data&&i(t._data,t),e=t,(a=n)._chartjs?a._chartjs.listeners.push(e):(Object.defineProperty(a,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),o.forEach(function(t){var n="onData"+t.charAt(0).toUpperCase()+t.slice(1),i=a[t];Object.defineProperty(a,t,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),t=i.apply(this,e);return r.each(a._chartjs.listeners,function(t){"function"==typeof t[n]&&t[n].apply(t,e)}),t}})})),t._data=n),t.resyncElements()},update:r.noop,transition:function(t){for(var e=this.getMeta(),n=e.data||[],i=n.length,a=0;a<i;++a)n[a].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],n=e.length,i=0;for(t.dataset&&t.dataset.draw();i<n;++i)e[i].draw()},removeHoverStyle:function(t,e){var n=this.chart.data.datasets[t._datasetIndex],i=t._index,a=t.custom||{},o=r.valueAtIndexOrDefault,t=t._model;t.backgroundColor=a.backgroundColor||o(n.backgroundColor,i,e.backgroundColor),t.borderColor=a.borderColor||o(n.borderColor,i,e.borderColor),t.borderWidth=a.borderWidth||o(n.borderWidth,i,e.borderWidth)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},a=r.valueAtIndexOrDefault,o=r.getHoverColor,t=t._model;t.backgroundColor=i.hoverBackgroundColor||a(e.hoverBackgroundColor,n,o(t.backgroundColor)),t.borderColor=i.hoverBorderColor||a(e.hoverBorderColor,n,o(t.borderColor)),t.borderWidth=i.hoverBorderWidth||a(e.hoverBorderWidth,n,t.borderWidth)},resyncElements:function(){var t=this.getMeta(),e=this.getDataset().data,n=t.data.length,e=e.length;e<n?t.data.splice(e,n-e):n<e&&this.insertElements(n,e-n)},insertElements:function(t,e){for(var n=0;n<e;++n)this.addElementAndReset(t+n)},onDataPush:function(){this.insertElements(this.getDataset().data.length-1,arguments.length)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),t.DatasetController.extend=r.inherits}},{45:45}],25:[function(t,e,n){"use strict";var i=t(45);e.exports={_set:function(t,e){return i.merge(this[t]||(this[t]={}),e)}}},{45:45}],26:[function(t,e,n){"use strict";var f=t(2),i=t(45),t=function(t){i.extend(this,t),this.initialize.apply(this,arguments)};i.extend(t.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=i.clone(t._model)),t._start={},t},transition:function(t){var e=this,n=e._model,i=e._start,a=e._view;return n&&1!==t?(a=a||(e._view={}),function(t,e,n,i){for(var a,o,r,s,l,u,d=Object.keys(n),h=0,c=d.length;h<c;++h)if(r=n[a=d[h]],e.hasOwnProperty(a)||(e[a]=r),(l=e[a])!==r&&"_"!==a[0]){if(t.hasOwnProperty(a)||(t[a]=l),(s=typeof r)==typeof(o=t[a]))if("string"==s){if((l=f(o)).valid&&(u=f(r)).valid){e[a]=u.mix(l,i).rgbString();continue}}else if("number"==s&&isFinite(o)&&isFinite(r)){e[a]=o+(r-o)*i;continue}e[a]=r}}(i=i||(e._start={}),a,n,t)):(e._view=n,e._start=null),e},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return i.isNumber(this._model.x)&&i.isNumber(this._model.y)}}),t.extend=i.inherits,e.exports=t},{2:2,45:45}],27:[function(t,e,n){"use strict";var i=t(2),a=t(25),c=t(45);e.exports=function(l){function u(t,e,n){var i;return"string"==typeof t?(i=parseInt(t,10),-1!==t.indexOf("%")&&(i=i/100*e.parentNode[n])):i=t,i}function d(t){return null!=t&&"none"!==t}function e(t,e,n){var i=document.defaultView,a=t.parentNode,o=i.getComputedStyle(t)[e],r=i.getComputedStyle(a)[e],s=d(o),i=d(r),e=Number.POSITIVE_INFINITY;return s||i?Math.min(s?u(o,t,n):e,i?u(r,a,n):e):"none"}c.configMerge=function(){return c.merge(c.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(t,e,n,i){var a=e[t]||{},o=n[t];"scales"===t?e[t]=c.scaleMerge(a,o):"scale"===t?e[t]=c.merge(a,[l.scaleService.getScaleDefaults(o.type),o]):c._merger(t,e,n,i)}})},c.scaleMerge=function(){return c.merge(c.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(t,e,n,i){if("xAxes"===t||"yAxes"===t){var a,o,r,s=n[t].length;for(e[t]||(e[t]=[]),a=0;a<s;++a)r=n[t][a],o=c.valueOrDefault(r.type,"xAxes"===t?"category":"linear"),a>=e[t].length&&e[t].push({}),!e[t][a].type||r.type&&r.type!==e[t][a].type?c.merge(e[t][a],[l.scaleService.getScaleDefaults(o),r]):c.merge(e[t][a],r)}else c._merger(t,e,n,i)}})},c.where=function(t,e){if(c.isArray(t)&&Array.prototype.filter)return t.filter(e);var n=[];return c.each(t,function(t){e(t)&&n.push(t)}),n},c.findIndex=Array.prototype.findIndex?function(t,e,n){return t.findIndex(e,n)}:function(t,e,n){n=void 0===n?t:n;for(var i=0,a=t.length;i<a;++i)if(e.call(n,t[i],i,t))return i;return-1},c.findNextWhere=function(t,e,n){for(var i=(n=c.isNullOrUndef(n)?-1:n)+1;i<t.length;i++){var a=t[i];if(e(a))return a}},c.findPreviousWhere=function(t,e,n){for(var i=(n=c.isNullOrUndef(n)?t.length:n)-1;0<=i;i--){var a=t[i];if(e(a))return a}},c.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},c.almostEquals=function(t,e,n){return Math.abs(t-e)<n},c.almostWhole=function(t,e){var n=Math.round(t);return n-e<t&&t<n+e},c.max=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.max(t,e)},Number.NEGATIVE_INFINITY)},c.min=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.min(t,e)},Number.POSITIVE_INFINITY)},c.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0===(t=+t)||isNaN(t)?t:0<t?1:-1},c.log10=Math.log10?function(t){return Math.log10(t)}:function(t){var e=Math.log(t)*Math.LOG10E,n=Math.round(e);return t===Math.pow(10,n)?n:e},c.toRadians=function(t){return t*(Math.PI/180)},c.toDegrees=function(t){return t*(180/Math.PI)},c.getAngleFromPoint=function(t,e){var n=e.x-t.x,e=e.y-t.y,t=Math.sqrt(n*n+e*e),n=Math.atan2(e,n);return n<-.5*Math.PI&&(n+=2*Math.PI),{angle:n,distance:t}},c.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},c.aliasPixel=function(t){return t%2==0?0:.5},c.splineCurve=function(t,e,n,i){var a=t.skip?e:t,o=e,r=n.skip?e:n,t=Math.sqrt(Math.pow(o.x-a.x,2)+Math.pow(o.y-a.y,2)),e=Math.sqrt(Math.pow(r.x-o.x,2)+Math.pow(r.y-o.y,2)),n=t/(t+e),e=e/(t+e),n=i*(n=isNaN(n)?0:n),e=i*(e=isNaN(e)?0:e);return{previous:{x:o.x-n*(r.x-a.x),y:o.y-n*(r.y-a.y)},next:{x:o.x+e*(r.x-a.x),y:o.y+e*(r.y-a.y)}}},c.EPSILON=Number.EPSILON||1e-14,c.splineCurveMonotone=function(t){for(var e,n,i,a,o,r,s,l,u=(t||[]).map(function(t){return{model:t._model,deltaK:0,mK:0}}),d=u.length,h=0;h<d;++h)(a=u[h]).model.skip||(n=0<h?u[h-1]:null,(i=h<d-1?u[h+1]:null)&&!i.model.skip&&(e=i.model.x-a.model.x,a.deltaK=0!=e?(i.model.y-a.model.y)/e:0),!n||n.model.skip?a.mK=a.deltaK:!i||i.model.skip?a.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(a.deltaK)?a.mK=0:a.mK=(n.deltaK+a.deltaK)/2);for(h=0;h<d-1;++h)a=u[h],i=u[h+1],a.model.skip||i.model.skip||(c.almostEquals(a.deltaK,0,this.EPSILON)?a.mK=i.mK=0:(o=a.mK/a.deltaK,r=i.mK/a.deltaK,(s=Math.pow(o,2)+Math.pow(r,2))<=9||(s=3/Math.sqrt(s),a.mK=o*s*a.deltaK,i.mK=r*s*a.deltaK)));for(h=0;h<d;++h)(a=u[h]).model.skip||(n=0<h?u[h-1]:null,i=h<d-1?u[h+1]:null,n&&!n.model.skip&&(l=(a.model.x-n.model.x)/3,a.model.controlPointPreviousX=a.model.x-l,a.model.controlPointPreviousY=a.model.y-l*a.mK),i&&!i.model.skip&&(l=(i.model.x-a.model.x)/3,a.model.controlPointNextX=a.model.x+l,a.model.controlPointNextY=a.model.y+l*a.mK))},c.nextItem=function(t,e,n){return n?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},c.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},c.niceNum=function(t,e){var n=Math.floor(c.log10(t)),t=t/Math.pow(10,n),t=e?t<1.5?1:t<3?2:t<7?5:10:t<=1?1:t<=2?2:t<=5?5:10;return t*Math.pow(10,n)},c.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},c.getRelativePosition=function(t,e){var n=t.originalEvent||t,i=t.currentTarget||t.srcElement,a=i.getBoundingClientRect(),o=n.touches,r=o&&0<o.length?(l=o[0].clientX,o[0].clientY):(l=n.clientX,n.clientY),s=parseFloat(c.getStyle(i,"padding-left")),t=parseFloat(c.getStyle(i,"padding-top")),o=parseFloat(c.getStyle(i,"padding-right")),n=parseFloat(c.getStyle(i,"padding-bottom")),o=a.right-a.left-s-o,n=a.bottom-a.top-t-n,l=Math.round((l-a.left-s)/o*i.width/e.currentDevicePixelRatio);return{x:l,y:r=Math.round((r-a.top-t)/n*i.height/e.currentDevicePixelRatio)}},c.getConstraintWidth=function(t){return e(t,"max-width","clientWidth")},c.getConstraintHeight=function(t){return e(t,"max-height","clientHeight")},c.getMaximumWidth=function(t){var e=t.parentNode;if(!e)return t.clientWidth;var n=parseInt(c.getStyle(e,"padding-left"),10),i=parseInt(c.getStyle(e,"padding-right"),10),i=e.clientWidth-n-i,t=c.getConstraintWidth(t);return isNaN(t)?i:Math.min(i,t)},c.getMaximumHeight=function(t){var e=t.parentNode;if(!e)return t.clientHeight;var n=parseInt(c.getStyle(e,"padding-top"),10),i=parseInt(c.getStyle(e,"padding-bottom"),10),i=e.clientHeight-n-i,t=c.getConstraintHeight(t);return isNaN(t)?i:Math.min(i,t)},c.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},c.retinaScale=function(t,e){var n,i,a=t.currentDevicePixelRatio=e||window.devicePixelRatio||1;1!==a&&(n=t.canvas,i=t.height,e=t.width,n.height=i*a,n.width=e*a,t.ctx.scale(a,a),n.style.height||n.style.width||(n.style.height=i+"px",n.style.width=e+"px"))},c.fontString=function(t,e,n){return e+" "+t+"px "+n},c.longestText=function(e,t,n,i){var a=(i=i||{}).data=i.data||{},o=i.garbageCollect=i.garbageCollect||[];i.font!==t&&(a=i.data={},o=i.garbageCollect=[],i.font=t),e.font=t;var r=0;c.each(n,function(t){null!=t&&!0!==c.isArray(t)?r=c.measureText(e,a,o,r,t):c.isArray(t)&&c.each(t,function(t){null==t||c.isArray(t)||(r=c.measureText(e,a,o,r,t))})});var s=o.length/2;if(s>n.length){for(var l=0;l<s;l++)delete a[o[l]];o.splice(0,s)}return r},c.measureText=function(t,e,n,i,a){var o=e[a];return o||(o=e[a]=t.measureText(a).width,n.push(a)),i=i<o?o:i},c.numberOfLabelLines=function(t){var e=1;return c.each(t,function(t){c.isArray(t)&&t.length>e&&(e=t.length)}),e},c.color=i?function(t){return t instanceof CanvasGradient&&(t=a.global.defaultColor),i(t)}:function(t){return console.error("Color.js not found!"),t},c.getHoverColor=function(t){return t instanceof CanvasPattern?t:c.color(t).saturate(.5).darken(.1).rgbString()}}},{2:2,25:25,45:45}],28:[function(t,e,n){"use strict";function r(t,e){return t.native?{x:t.x,y:t.y}:a.getRelativePosition(t,e)}function s(t,e){for(var n,i,a,o=0,r=t.data.datasets.length;o<r;++o)if(t.isDatasetVisible(o))for(i=0,a=(n=t.getDatasetMeta(o)).data.length;i<a;++i){var s=n.data[i];s._view.skip||e(s)}}function l(t,e){var n=[];return s(t,function(t){t.inRange(e.x,e.y)&&n.push(t)}),n}function u(t,n,i,a){var o=Number.POSITIVE_INFINITY,r=[];return s(t,function(t){var e;i&&!t.inRange(n.x,n.y)||(e=t.getCenterPoint(),(e=a(n,e))<o?(r=[t],o=e):e===o&&r.push(t))}),r}function d(t){var i=-1!==t.indexOf("x"),a=-1!==t.indexOf("y");return function(t,e){var n=i?Math.abs(t.x-e.x):0,e=a?Math.abs(t.y-e.y):0;return Math.sqrt(Math.pow(n,2)+Math.pow(e,2))}}function i(n,t,e){var i=r(t,n);e.axis=e.axis||"x";var t=d(e.axis),a=e.intersect?l(n,i):u(n,i,!1,t),o=[];return a.length?(n.data.datasets.forEach(function(t,e){!n.isDatasetVisible(e)||(e=n.getDatasetMeta(e).data[a[0]._index])&&!e._view.skip&&o.push(e)}),o):[]}var a=t(45);e.exports={modes:{single:function(t,e){var n=r(e,t),i=[];return s(t,function(t){return t.inRange(n.x,n.y)&&(i.push(t),i)}),i.slice(0,1)},label:i,index:i,dataset:function(t,e,n){var i=r(e,t);n.axis=n.axis||"xy";e=d(n.axis),e=n.intersect?l(t,i):u(t,i,!1,e);return e=0<e.length?t.getDatasetMeta(e[0]._datasetIndex).data:e},"x-axis":function(t,e){return i(t,e,{intersect:!1})},point:function(t,e){return l(t,r(e,t))},nearest:function(t,e,n){var i=r(e,t);n.axis=n.axis||"xy";e=d(n.axis),e=u(t,i,n.intersect,e);return 1<e.length&&e.sort(function(t,e){var n=t.getArea()-e.getArea();return n=0===n?t._datasetIndex-e._datasetIndex:n}),e.slice(0,1)},x:function(t,e,n){var i=r(e,t),a=[],o=!1;return s(t,function(t){t.inXRange(i.x)&&a.push(t),t.inRange(i.x,i.y)&&(o=!0)}),a=n.intersect&&!o?[]:a},y:function(t,e,n){var i=r(e,t),a=[],o=!1;return s(t,function(t){t.inYRange(i.y)&&a.push(t),t.inRange(i.x,i.y)&&(o=!0)}),a=n.intersect&&!o?[]:a}}}},{45:45}],29:[function(t,e,n){"use strict";t(25)._set("global",{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},layout:{padding:{top:0,right:0,bottom:0,left:0}}}),e.exports=function(){function t(t,e){return this.construct(t,e),this}return t.Chart=t}},{25:25}],30:[function(t,e,n){"use strict";function R(t,e){return Y.where(t,function(t){return t.position===e})}function L(t,i){t.forEach(function(t,e){return t._tmpIndex_=e,t}),t.sort(function(t,e){var n=i?e:t,e=i?t:e;return n.weight===e.weight?n._tmpIndex_-e._tmpIndex_:n.weight-e.weight}),t.forEach(function(t){delete t._tmpIndex_})}var Y=t(45);e.exports={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,t.boxes.push(e)},removeBox:function(t,e){e=t.boxes?t.boxes.indexOf(e):-1;-1!==e&&t.boxes.splice(e,1)},configure:function(t,e,n){for(var i,a=["fullWidth","position","weight"],o=a.length,r=0;r<o;++r)i=a[r],n.hasOwnProperty(i)&&(e[i]=n[i])},update:function(e,n,t){function i(e){var t,n=Y.findNextWhere(b,function(t){return t.box===e});n&&(e.isHorizontal()?(t={left:Math.max(M,x),right:Math.max(S,_),top:0,bottom:0},e.update(e.fullWidth?f:v,g/2,t)):e.update(n.minSize.width,y))}function a(t){t.isHorizontal()?(t.left=t.fullWidth?o:M,t.right=t.fullWidth?n-r:M+v,t.top=F,t.bottom=F+t.height,F=t.bottom):(t.left=A,t.right=A+t.width,t.top=D,t.bottom=D+y,A=t.right)}var o,r,s,l,u,d,h,c,f,g,m,p,v,y,b,x,_,k,w,M,S,D,C,P,T,O,I,A,F;e&&(c=e.options.layout||{},P=Y.options.toPadding(c.padding),o=P.left,r=P.right,s=P.top,T=P.bottom,l=R(e.boxes,"left"),u=R(e.boxes,"right"),d=R(e.boxes,"top"),h=R(e.boxes,"bottom"),c=R(e.boxes,"chartArea"),L(l,!0),L(u,!1),L(d,!0),L(h,!1),m=(n-(f=n-o-r)/2)/(l.length+u.length),p=(t-(g=t-s-T)/2)/(d.length+h.length),v=f,y=g,b=[],Y.each(l.concat(u,d,h),function(t){var e,n=t.isHorizontal();n?(e=t.update(t.fullWidth?f:v,p),y-=e.height):(e=t.update(m,y),v-=e.width),b.push({horizontal:n,minSize:e,box:t})}),w=k=_=x=0,Y.each(d.concat(h),function(t){t.getPadding&&(t=t.getPadding(),x=Math.max(x,t.left),_=Math.max(_,t.right))}),Y.each(l.concat(u),function(t){t.getPadding&&(t=t.getPadding(),k=Math.max(k,t.top),w=Math.max(w,t.bottom))}),M=o,S=r,D=s,C=T,Y.each(l.concat(u),i),Y.each(l,function(t){M+=t.width}),Y.each(u,function(t){S+=t.width}),Y.each(d.concat(h),i),Y.each(d,function(t){D+=t.height}),Y.each(h,function(t){C+=t.height}),Y.each(l.concat(u),function(e){var t=Y.findNextWhere(b,function(t){return t.box===e}),n={left:0,right:0,top:D,bottom:C};t&&e.update(t.minSize.width,y,n)}),M=o,S=r,D=s,C=T,Y.each(l,function(t){M+=t.width}),Y.each(u,function(t){S+=t.width}),Y.each(d,function(t){D+=t.height}),Y.each(h,function(t){C+=t.height}),P=Math.max(x-M,0),M+=P,S+=Math.max(_-S,0),T=Math.max(k-D,0),D+=T,C+=Math.max(w-C,0),O=t-D-C,(I=n-M-S)===v&&O===y||(Y.each(l,function(t){t.height=O}),Y.each(u,function(t){t.height=O}),Y.each(d,function(t){t.fullWidth||(t.width=I)}),Y.each(h,function(t){t.fullWidth||(t.width=I)}),y=O,v=I),A=o+P,F=s+T,Y.each(l.concat(d),a),A+=v,F+=y,Y.each(u,a),Y.each(h,a),e.chartArea={left:M,top:D,right:M+v,bottom:D+y},Y.each(c,function(t){t.left=e.chartArea.left,t.top=e.chartArea.top,t.right=e.chartArea.right,t.bottom=e.chartArea.bottom,t.update(v,y)}))}}},{45:45}],31:[function(t,e,n){"use strict";var r=t(25),s=t(45);r._set("global",{plugins:{}}),e.exports={_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach(function(t){-1===e.indexOf(t)&&e.push(t)}),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach(function(t){t=e.indexOf(t);-1!==t&&e.splice(t,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){for(var i,a,o,r,s=this.descriptors(t),l=s.length,u=0;u<l;++u)if("function"==typeof(r=(a=(i=s[u]).plugin)[e])&&((o=[t].concat(n||[])).push(i.options),!1===r.apply(a,o)))return!1;return!0},descriptors:function(t){var e=t.$plugins||(t.$plugins={});if(e.id===this._cacheId)return e.descriptors;var i=[],a=[],t=t&&t.config||{},o=t.options&&t.options.plugins||{};return this._plugins.concat(t.plugins||[]).forEach(function(t){var e,n;-1===i.indexOf(t)&&(e=t.id,!1!==(n=o[e])&&(!0===n&&(n=s.clone(r.global.plugins[e])),i.push(t),a.push({plugin:t,options:n||{}})))}),e.descriptors=a,e.id=this._cacheId,a},_invalidate:function(t){delete t.$plugins}}},{25:25,45:45}],32:[function(t,e,n){"use strict";function f(t){for(var e=[],n=0,i=t.length;n<i;++n)e.push(t[n].label);return e}function N(t,e,n){var i=t.getPixelForTick(e);return n&&(i-=0===e?(t.getPixelForTick(1)-i)/2:(i-t.getPixelForTick(e-1))/2),i}var p=t(25),i=t(26),z=t(45),t=t(34);p._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",lineHeight:1.2,padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:t.formatters.values,minor:{},major:{}}}),e.exports=function(t){function c(t,e,n){return z.isArray(e)?z.longestText(t,n,e):t.measureText(e).width}function g(t){var e=z.valueOrDefault,n=p.global,i=e(t.fontSize,n.defaultFontSize),a=e(t.fontStyle,n.defaultFontStyle),n=e(t.fontFamily,n.defaultFontFamily);return{size:i,style:a,family:n,font:z.fontString(i,a,n)}}function m(t){return z.options.toLineHeight(z.valueOrDefault(t.lineHeight,1.2),z.valueOrDefault(t.fontSize,p.global.defaultFontSize))}t.Scale=i.extend({getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},mergeTicksOptions:function(){var t,e=this.options.ticks;for(t in!1===e.minor&&(e.minor={display:!1}),!1===e.major&&(e.major={display:!1}),e)"major"!==t&&"minor"!==t&&(void 0===e.minor[t]&&(e.minor[t]=e[t]),void 0===e.major[t]&&(e.major[t]=e[t]))},beforeUpdate:function(){z.callback(this.options.beforeUpdate,[this])},update:function(t,e,n){var i,a,o,r,s,l,u=this;for(u.beforeUpdate(),u.maxWidth=t,u.maxHeight=e,u.margins=z.extend({left:0,right:0,top:0,bottom:0},n),u.longestTextCache=u.longestTextCache||{},u.beforeSetDimensions(),u.setDimensions(),u.afterSetDimensions(),u.beforeDataLimits(),u.determineDataLimits(),u.afterDataLimits(),u.beforeBuildTicks(),s=u.buildTicks()||[],u.afterBuildTicks(),u.beforeTickToLabelConversion(),o=u.convertTicksToLabels(s)||u.ticks,u.afterTickToLabelConversion(),i=0,a=(u.ticks=o).length;i<a;++i)r=o[i],(l=s[i])?l.label=r:s.push(l={label:r,major:!1});return u._ticks=s,u.beforeCalculateTickRotation(),u.calculateTickRotation(),u.afterCalculateTickRotation(),u.beforeFit(),u.fit(),u.afterFit(),u.afterUpdate(),u.minSize},afterUpdate:function(){z.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){z.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0},afterSetDimensions:function(){z.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){z.callback(this.options.beforeDataLimits,[this])},determineDataLimits:z.noop,afterDataLimits:function(){z.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){z.callback(this.options.beforeBuildTicks,[this])},buildTicks:z.noop,afterBuildTicks:function(){z.callback(this.options.afterBuildTicks,[this])},beforeTickToLabelConversion:function(){z.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this.options.ticks;this.ticks=this.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){z.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){z.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t=this,e=t.ctx,n=t.options.ticks,i=f(t._ticks),a=g(n);e.font=a.font;var o=n.minRotation||0;if(i.length&&t.options.display&&t.isHorizontal())for(var r=z.longestText(e,a.font,i,t.longestTextCache),s=r,l=t.getPixelForTick(1)-t.getPixelForTick(0)-6;l<s&&o<n.maxRotation;){var u=z.toRadians(o),d=Math.cos(u);if(Math.sin(u)*r>t.maxHeight){o--;break}o++,s=d*r}t.labelRotation=o},afterCalculateTickRotation:function(){z.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){z.callback(this.options.beforeFit,[this])},fit:function(){var t,e=this,n=e.minSize={width:0,height:0},i=f(e._ticks),a=e.options,o=a.ticks,r=a.scaleLabel,s=a.gridLines,l=a.display,u=e.isHorizontal(),d=g(o),h=a.gridLines.tickMarkLength;n.width=u?e.isFullWidth()?e.maxWidth-e.margins.left-e.margins.right:e.maxWidth:l&&s.drawTicks?h:0,n.height=u?l&&s.drawTicks?h:0:e.maxHeight,r.display&&l&&(t=m(r)+z.options.toPadding(r.padding).height,u?n.height+=t:n.width+=t),o.display&&l&&(s=z.longestText(e.ctx,d.font,i,e.longestTextCache),h=z.numberOfLabelLines(i),r=.5*d.size,t=e.options.ticks.padding,u?(e.longestLabelWidth=s,l=z.toRadians(e.labelRotation),u=Math.cos(l),h=Math.sin(l)*s+d.size*h+r*(h-1)+r,n.height=Math.min(e.maxHeight,n.height+h+t),e.ctx.font=d.font,h=c(e.ctx,i[0],d.font),i=c(e.ctx,i[i.length-1],d.font),0!==e.labelRotation?(e.paddingLeft="bottom"===a.position?u*h+3:u*r+3,e.paddingRight="bottom"===a.position?u*r+3:u*i+3):(e.paddingLeft=h/2+3,e.paddingRight=i/2+3)):(o.mirror?s=0:s+=t+r,n.width=Math.min(e.maxWidth,n.width+s),e.paddingTop=d.size/2,e.paddingBottom=d.size/2)),e.handleMargins(),e.width=n.width,e.height=n.height},handleMargins:function(){var t=this;t.margins&&(t.paddingLeft=Math.max(t.paddingLeft-t.margins.left,0),t.paddingTop=Math.max(t.paddingTop-t.margins.top,0),t.paddingRight=Math.max(t.paddingRight-t.margins.right,0),t.paddingBottom=Math.max(t.paddingBottom-t.margins.bottom,0))},afterFit:function(){z.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(z.isNullOrUndef(t))return NaN;if("number"==typeof t&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},getLabelForIndex:z.noop,getPixelForValue:z.noop,getValueForPixel:z.noop,getPixelForTick:function(t){var e=this,n=e.options.offset;if(e.isHorizontal()){var i=(e.width-(e.paddingLeft+e.paddingRight))/Math.max(e._ticks.length-(n?0:1),1),a=i*t+e.paddingLeft;n&&(a+=i/2);a=e.left+Math.round(a);return a+=e.isFullWidth()?e.margins.left:0}a=e.height-(e.paddingTop+e.paddingBottom);return e.top+t*(a/(e._ticks.length-1))},getPixelForDecimal:function(t){var e=this;if(e.isHorizontal()){var n=(e.width-(e.paddingLeft+e.paddingRight))*t+e.paddingLeft,n=e.left+Math.round(n);return n+=e.isFullWidth()?e.margins.left:0}return e.top+t*e.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:0<t&&0<e?t:0},_autoSkip:function(t){var e,n,i,a,o=this,r=o.isHorizontal(),s=o.options.ticks.minor,l=t.length,u=z.toRadians(o.labelRotation),u=Math.cos(u),u=o.longestLabelWidth*u,d=[];for(s.maxTicksLimit&&(a=s.maxTicksLimit),r&&(e=!1,(u+s.autoSkipPadding)*l>o.width-(o.paddingLeft+o.paddingRight)&&(e=1+Math.floor((u+s.autoSkipPadding)*l/(o.width-(o.paddingLeft+o.paddingRight)))),a&&a<l&&(e=Math.max(e,Math.floor(l/a)))),n=0;n<l;n++)i=t[n],(1<e&&0<n%e||n%e==0&&l<=n+e)&&n!==l-1&&delete i.label,d.push(i);return d},draw:function(_){var r,k,w,M,S,D,C,s,l,u,d,P,t,T,O,I,A,F,R,L,e,n,i,a,o,h,c,f,Y=this,W=Y.options;W.display&&(r=Y.ctx,k=p.global,w=W.ticks.minor,n=W.ticks.major||w,M=W.gridLines,f=W.scaleLabel,S=0!==Y.labelRotation,D=Y.isHorizontal(),C=w.autoSkip?Y._autoSkip(Y.getTicks()):Y.getTicks(),s=z.valueOrDefault(w.fontColor,k.defaultFontColor),l=g(w),u=z.valueOrDefault(n.fontColor,k.defaultFontColor),d=g(n),P=M.drawTicks?M.tickMarkLength:0,h=z.valueOrDefault(f.fontColor,k.defaultFontColor),c=g(f),t=z.options.toPadding(f.padding),T=z.toRadians(Y.labelRotation),O=[],I=Y.options.gridLines.lineWidth,A="right"===W.position?Y.right:Y.right-I-P,F="right"===W.position?Y.right+P:Y.right,R="bottom"===W.position?Y.top+I:Y.bottom-P-I,L="bottom"===W.position?Y.top+I+P:Y.bottom+I,z.each(C,function(t,e){var n,i,a,o,r,s,l,u,d,h,c,f,g,m,p,v,y,b,x;z.isNullOrUndef(t.label)||(n=t.label,f=e===Y.zeroLineIndex&&W.offset===M.offsetGridLines?(i=M.zeroLineWidth,a=M.zeroLineColor,o=M.zeroLineBorderDash,M.zeroLineBorderDashOffset):(i=z.valueAtIndexOrDefault(M.lineWidth,e),a=z.valueAtIndexOrDefault(M.color,e),o=z.valueOrDefault(M.borderDash,k.borderDash),z.valueOrDefault(M.borderDashOffset,k.borderDashOffset)),m=g="middle",x=w.padding,D?(p=P+x,v="bottom"===W.position?(m=S?"middle":"top",g=S?"right":"center",Y.top+p):(m=S?"middle":"bottom",g=S?"left":"center",Y.bottom-p),(y=N(Y,e,M.offsetGridLines&&1<C.length))<Y.left&&(a="rgba(0,0,0,0)"),y+=z.aliasPixel(i),b=Y.getPixelForTick(e)+w.labelOffset,r=l=d=c=y,s=R,u=L,h=_.top,p=_.bottom+I):(y="left"===W.position,x=w.mirror?(g=y?"left":"right",x):(g=y?"right":"left",P+x),b=y?Y.right-x:Y.left+x,(x=N(Y,e,M.offsetGridLines&&1<C.length))<Y.top&&(a="rgba(0,0,0,0)"),x+=z.aliasPixel(i),v=Y.getPixelForTick(e)+w.labelOffset,r=A,l=F,d=_.left,c=_.right+I,s=u=h=p=x),O.push({tx1:r,ty1:s,tx2:l,ty2:u,x1:d,y1:h,x2:c,y2:p,labelX:b,labelY:v,glWidth:i,glColor:a,glBorderDash:o,glBorderDashOffset:f,rotation:-1*T,label:n,major:t.major,textBaseline:m,textAlign:g}))}),z.each(O,function(t){if(M.display&&(r.save(),r.lineWidth=t.glWidth,r.strokeStyle=t.glColor,r.setLineDash&&(r.setLineDash(t.glBorderDash),r.lineDashOffset=t.glBorderDashOffset),r.beginPath(),M.drawTicks&&(r.moveTo(t.tx1,t.ty1),r.lineTo(t.tx2,t.ty2)),M.drawOnChartArea&&(r.moveTo(t.x1,t.y1),r.lineTo(t.x2,t.y2)),r.stroke(),r.restore()),w.display){r.save(),r.translate(t.labelX,t.labelY),r.rotate(t.rotation),r.font=(t.major?d:l).font,r.fillStyle=t.major?u:s,r.textBaseline=t.textBaseline,r.textAlign=t.textAlign;var e=t.label;if(z.isArray(e))for(var n=e.length,i=1.5*l.size,a=Y.isHorizontal()?0:-i*(n-1)/2,o=0;o<n;++o)r.fillText(""+e[o],0,a),a+=i;else r.fillText(e,0,0);r.restore()}}),f.display&&(o=0,e=m(f)/2,D?(i=Y.left+(Y.right-Y.left)/2,a="bottom"===W.position?Y.bottom-e-t.bottom:Y.top+e+t.top):(i=(n="left"===W.position)?Y.left+e+t.top:Y.right-e-t.top,a=Y.top+(Y.bottom-Y.top)/2,o=n?-.5*Math.PI:.5*Math.PI),r.save(),r.translate(i,a),r.rotate(o),r.textAlign="center",r.textBaseline="middle",r.fillStyle=h,r.font=c.font,r.fillText(f.labelString,0,0),r.restore()),M.drawBorder&&(r.lineWidth=z.valueAtIndexOrDefault(M.lineWidth,0),r.strokeStyle=z.valueAtIndexOrDefault(M.color,0),a=Y.left,o=Y.right+I,h=Y.top,c=Y.bottom+I,f=z.aliasPixel(r.lineWidth),D?(h=c="top"===W.position?Y.bottom:Y.top,h+=f,c+=f):(a=o="left"===W.position?Y.right:Y.left,a+=f,o+=f),r.beginPath(),r.moveTo(a,h),r.lineTo(o,c),r.stroke()))}})}},{25:25,26:26,34:34,45:45}],33:[function(t,e,n){"use strict";var i=t(25),a=t(45),o=t(30);e.exports=function(t){t.scaleService={constructors:{},defaults:{},registerScaleType:function(t,e,n){this.constructors[t]=e,this.defaults[t]=a.clone(n)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?a.merge({},[i.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){this.defaults.hasOwnProperty(t)&&(this.defaults[t]=a.extend(this.defaults[t],e))},addScalesToLayout:function(e){a.each(e.scales,function(t){t.fullWidth=t.options.fullWidth,t.position=t.options.position,t.weight=t.options.weight,o.addBox(e,t)})}}}},{25:25,30:30,45:45}],34:[function(t,e,n){"use strict";var a=t(45);e.exports={formatters:{values:function(t){return a.isArray(t)?t:""+t},linear:function(t,e,n){n=3<n.length?n[2]-n[1]:n[1]-n[0];1<Math.abs(n)&&t!==Math.floor(t)&&(n=t-Math.floor(t));n=a.log10(Math.abs(n));return 0!==t?(n=-1*Math.floor(n),n=Math.max(Math.min(n,20),0),t.toFixed(n)):"0"},logarithmic:function(t,e,n){var i=t/Math.pow(10,Math.floor(a.log10(t)));return 0===t?"0":1==i||2==i||5==i||0===e||e===n.length-1?t.toExponential():""}}}},{45:45}],35:[function(t,e,n){"use strict";var i=t(25),a=t(26),A=t(45);i._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:A.noop,title:function(t,e){var n="",i=e.labels,e=i?i.length:0;return 0<t.length&&((t=t[0]).xLabel?n=t.xLabel:0<e&&t.index<e&&(n=i[t.index])),n},afterTitle:A.noop,beforeBody:A.noop,beforeLabel:A.noop,label:function(t,e){e=e.datasets[t.datasetIndex].label||"";return e&&(e+=": "),e+=t.yLabel},labelColor:function(t,e){t=e.getDatasetMeta(t.datasetIndex).data[t.index]._view;return{borderColor:t.borderColor,backgroundColor:t.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:A.noop,afterBody:A.noop,beforeFooter:A.noop,footer:A.noop,afterFooter:A.noop}}}),e.exports=function(T){function h(t,e){t=A.color(t);return t.alpha(e*t.alpha()).rgbaString()}function r(t,e){return e&&(A.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function O(t){var e=i.global,n=A.valueOrDefault;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,bodyFontColor:t.bodyFontColor,_bodyFontFamily:n(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:n(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:n(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:n(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:n(t.titleFontStyle,e.defaultFontStyle),titleFontSize:n(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:n(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:n(t.footerFontStyle,e.defaultFontStyle),footerFontSize:n(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function I(t,e){var n=t._chart.ctx,i=2*e.yPadding,a=0,o=e.body,r=o.reduce(function(t,e){return t+e.before.length+e.lines.length+e.after.length},0);r+=e.beforeBody.length+e.afterBody.length;var s=e.title.length,l=e.footer.length,u=e.titleFontSize,d=e.bodyFontSize,t=e.footerFontSize;i+=s*u,i+=s?(s-1)*e.titleSpacing:0,i+=s?e.titleMarginBottom:0,i+=r*d,i+=r?(r-1)*e.bodySpacing:0,i+=l?e.footerMarginTop:0,i+=l*t,i+=l?(l-1)*e.footerSpacing:0;function h(t){a=Math.max(a,n.measureText(t).width+c)}var c=0;return n.font=A.fontString(u,e._titleFontStyle,e._titleFontFamily),A.each(e.title,h),n.font=A.fontString(d,e._bodyFontStyle,e._bodyFontFamily),A.each(e.beforeBody.concat(e.afterBody),h),c=e.displayColors?d+2:0,A.each(o,function(t){A.each(t.before,h),A.each(t.lines,h),A.each(t.after,h)}),c=0,n.font=A.fontString(t,e._footerFontStyle,e._footerFontFamily),A.each(e.footer,h),{width:a+=2*e.xPadding,height:i}}T.Tooltip=a.extend({initialize:function(){this._model=O(this._options),this._lastActive=[]},getTitle:function(){var t=this._options.callbacks,e=t.beforeTitle.apply(this,arguments),n=t.title.apply(this,arguments),i=t.afterTitle.apply(this,arguments),t=r(t=[],e);return t=r(t,n),t=r(t,i)},getBeforeBody:function(){var t=this._options.callbacks.beforeBody.apply(this,arguments);return A.isArray(t)?t:void 0!==t?[t]:[]},getBody:function(t,n){var i=this,a=i._options.callbacks,o=[];return A.each(t,function(t){var e={before:[],lines:[],after:[]};r(e.before,a.beforeLabel.call(i,t,n)),r(e.lines,a.label.call(i,t,n)),r(e.after,a.afterLabel.call(i,t,n)),o.push(e)}),o},getAfterBody:function(){var t=this._options.callbacks.afterBody.apply(this,arguments);return A.isArray(t)?t:void 0!==t?[t]:[]},getFooter:function(){var t=this._options.callbacks,e=t.beforeFooter.apply(this,arguments),n=t.footer.apply(this,arguments),i=t.afterFooter.apply(this,arguments),t=r(t=[],e);return t=r(t,n),t=r(t,i)},update:function(t){var e,n,i,a,o,r,s,l,u,d,h,c,f,g=this,m=g._options,p=g._model,v=g._model=O(m),y=g._active,b=g._data,x={xAlign:p.xAlign,yAlign:p.yAlign},_={x:p.x,y:p.y},k={width:p.width,height:p.height},w={x:p.caretX,y:p.caretY};if(y.length){v.opacity=1;for(var M=[],S=[],w=T.Tooltip.positioners[m.position].call(g,y,g._eventPosition),D=[],C=0,P=y.length;C<P;++C)D.push((u=y[C],f=c=h=d=void 0,d=u._xScale,h=u._yScale||u._scale,c=u._index,f=u._datasetIndex,{xLabel:d?d.getLabelForIndex(c,f):"",yLabel:h?h.getLabelForIndex(c,f):"",index:c,datasetIndex:f,x:u._model.x,y:u._model.y}));m.filter&&(D=D.filter(function(t){return m.filter(t,b)})),m.itemSort&&(D=D.sort(function(t,e){return m.itemSort(t,e,b)})),A.each(D,function(t){M.push(m.callbacks.labelColor.call(g,t,g._chart)),S.push(m.callbacks.labelTextColor.call(g,t,g._chart))}),v.title=g.getTitle(D,b),v.beforeBody=g.getBeforeBody(D,b),v.body=g.getBody(D,b),v.afterBody=g.getAfterBody(D,b),v.footer=g.getFooter(D,b),v.x=Math.round(w.x),v.y=Math.round(w.y),v.caretPadding=m.caretPadding,v.labelColors=M,v.labelTextColors=S,v.dataPoints=D,x=function(t,e){var n,i=t._model,a=t._chart,o=t._chart.chartArea,r="center",s="center";i.y<e.height?s="top":i.y>a.height-e.height&&(s="bottom");var l=(o.left+o.right)/2,u=(o.top+o.bottom)/2,d="center"===s?(n=function(t){return t<=l},function(t){return l<t}):(n=function(t){return t<=e.width/2},function(t){return t>=a.width-e.width/2}),h=function(t){return t+e.width+i.caretSize+i.caretPadding>a.width},c=function(t){return t-e.width-i.caretSize-i.caretPadding<0},o=function(t){return t<=u?"top":"bottom"};return n(i.x)?(r="left",h(i.x)&&(r="center",s=o(i.y))):d(i.x)&&(r="right",c(i.x)&&(r="center",s=o(i.y))),{xAlign:(t=t._options).xAlign||r,yAlign:t.yAlign||s}}(this,k=I(this,v)),e=v,n=k,i=x,a=g._chart,o=e.x,r=e.y,s=e.caretSize,l=e.caretPadding,p=e.cornerRadius,e=i.xAlign,i=i.yAlign,s+=l,l=p+l,"right"===e?o-=n.width:"center"===e&&(o=(o-=n.width/2)+n.width>a.width?a.width-n.width:o)<0&&(o=0),"top"===i?r+=s:r-="bottom"===i?n.height+s:n.height/2,"center"===i?"left"===e?o+=s:"right"===e&&(o-=s):"left"===e?o-=l:"right"===e&&(o+=l),_={x:o,y:r}}else v.opacity=0;return v.xAlign=x.xAlign,v.yAlign=x.yAlign,v.x=_.x,v.y=_.y,v.width=k.width,v.height=k.height,v.caretX=w.x,v.caretY=w.y,g._model=v,t&&m.custom&&m.custom.call(g,v),g},drawCaret:function(t,e){var n=this._chart.ctx,i=this._view,i=this.getCaretPosition(t,e,i);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)},getCaretPosition:function(t,e,n){var i,a,o,r,s,l,u=n.caretSize,d=n.cornerRadius,h=n.xAlign,c=n.yAlign,f=t.x,g=t.y,t=e.width,e=e.height;return"center"===c?(o=g+e/2,r="left"===h?(i=(l=f)-u,s=l,a=o+u,o-u):(i=(l=f+t)+u,s=l,a=o-u,o+u)):(s=(l="left"===h?(i=f+d+u)-u:"right"===h?(i=f+t-d-u)-u:(i=n.caretX)-u,i+u),"top"===c?(o=(a=g)-u,r=a):(o=(a=g+e)+u,r=a,u=s,s=l,l=u)),{x1:l,x2:i,x3:s,y1:a,y2:o,y3:r}},drawTitle:function(t,e,n,i){var a=e.title;if(a.length){n.textAlign=e._titleAlign,n.textBaseline="top";var o,r,s=e.titleFontSize,l=e.titleSpacing;for(n.fillStyle=h(e.titleFontColor,i),n.font=A.fontString(s,e._titleFontStyle,e._titleFontFamily),o=0,r=a.length;o<r;++o)n.fillText(a[o],t.x,t.y),t.y+=s+l,o+1===a.length&&(t.y+=e.titleMarginBottom-l)}},drawBody:function(i,a,o,r){var s=a.bodyFontSize,e=a.bodySpacing,t=a.body;o.textAlign=a._bodyAlign,o.textBaseline="top",o.font=A.fontString(s,a._bodyFontStyle,a._bodyFontFamily);function l(t){o.fillText(t,i.x+n,i.y),i.y+=s+e}var n=0;o.fillStyle=h(a.bodyFontColor,r),A.each(a.beforeBody,l);var u=a.displayColors,n=u?s+2:0;A.each(t,function(t,e){var n=h(a.labelTextColors[e],r);o.fillStyle=n,A.each(t.before,l),A.each(t.lines,function(t){u&&(o.fillStyle=h(a.legendColorBackground,r),o.fillRect(i.x,i.y,s,s),o.lineWidth=1,o.strokeStyle=h(a.labelColors[e].borderColor,r),o.strokeRect(i.x,i.y,s,s),o.fillStyle=h(a.labelColors[e].backgroundColor,r),o.fillRect(i.x+1,i.y+1,s-2,s-2),o.fillStyle=n),l(t)}),A.each(t.after,l)}),n=0,A.each(a.afterBody,l),i.y-=e},drawFooter:function(e,n,i,t){var a=n.footer;a.length&&(e.y+=n.footerMarginTop,i.textAlign=n._footerAlign,i.textBaseline="top",i.fillStyle=h(n.footerFontColor,t),i.font=A.fontString(n.footerFontSize,n._footerFontStyle,n._footerFontFamily),A.each(a,function(t){i.fillText(t,e.x,e.y),e.y+=n.footerFontSize+n.footerSpacing}))},drawBackground:function(t,e,n,i,a){n.fillStyle=h(e.backgroundColor,a),n.strokeStyle=h(e.borderColor,a),n.lineWidth=e.borderWidth;var o=e.xAlign,r=e.yAlign,s=t.x,l=t.y,u=i.width,d=i.height,a=e.cornerRadius;n.beginPath(),n.moveTo(s+a,l),"top"===r&&this.drawCaret(t,i),n.lineTo(s+u-a,l),n.quadraticCurveTo(s+u,l,s+u,l+a),"center"===r&&"right"===o&&this.drawCaret(t,i),n.lineTo(s+u,l+d-a),n.quadraticCurveTo(s+u,l+d,s+u-a,l+d),"bottom"===r&&this.drawCaret(t,i),n.lineTo(s+a,l+d),n.quadraticCurveTo(s,l+d,s,l+d-a),"center"===r&&"left"===o&&this.drawCaret(t,i),n.lineTo(s,l+a),n.quadraticCurveTo(s,l,s+a,l),n.closePath(),n.fill(),0<e.borderWidth&&n.stroke()},draw:function(){var t,e,n,i,a=this._chart.ctx,o=this._view;0!==o.opacity&&(t={width:o.width,height:o.height},e={x:o.x,y:o.y},n=Math.abs(o.opacity<.001)?0:o.opacity,i=o.title.length||o.beforeBody.length||o.body.length||o.afterBody.length||o.footer.length,this._options.enabled&&i&&(this.drawBackground(e,o,a,t,n),e.x+=o.xPadding,e.y+=o.yPadding,this.drawTitle(e,o,a,n),this.drawBody(e,o,a,n),this.drawFooter(e,o,a,n)))},handleEvent:function(t){var e,n=this,i=n._options;return n._lastActive=n._lastActive||[],"mouseout"===t.type?n._active=[]:n._active=n._chart.getElementsAtEventForMode(t,i.mode,i),(e=!A.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(i.enabled||i.custom)&&(n._eventPosition={x:t.x,y:t.y},n.update(!0),n.pivot())),e}}),T.Tooltip.positioners={average:function(t){if(!t.length)return!1;for(var e=0,n=0,i=0,a=0,o=t.length;a<o;++a){var r=t[a];r&&r.hasValue()&&(e+=(r=r.tooltipPosition()).x,n+=r.y,++i)}return{x:Math.round(e/i),y:Math.round(n/i)}},nearest:function(t,e){for(var n,i,a=e.x,o=e.y,r=Number.POSITIVE_INFINITY,s=0,l=t.length;s<l;++s){var u,d=t[s];d&&d.hasValue()&&(u=d.getCenterPoint(),(u=A.distanceBetweenPoints(e,u))<r&&(r=u,n=d))}return n&&(a=(i=n.tooltipPosition()).x,o=i.y),{x:a,y:o}}}}},{25:25,26:26,45:45}],36:[function(t,e,n){"use strict";var i=t(25),a=t(26),r=t(45);i._set("global",{elements:{arc:{backgroundColor:i.global.defaultColor,borderColor:"#fff",borderWidth:2}}}),e.exports=a.extend({inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,e){var n=this._view;if(n){for(var e=r.getAngleFromPoint(n,{x:t,y:e}),i=e.angle,e=e.distance,a=n.startAngle,o=n.endAngle;o<a;)o+=2*Math.PI;for(;o<i;)i-=2*Math.PI;for(;i<a;)i+=2*Math.PI;n=e>=n.innerRadius&&e<=n.outerRadius;return a<=i&&i<=o&&n}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t=this._chart.ctx,e=this._view,n=e.startAngle,i=e.endAngle;t.beginPath(),t.arc(e.x,e.y,e.outerRadius,n,i),t.arc(e.x,e.y,e.innerRadius,i,n,!0),t.closePath(),t.strokeStyle=e.borderColor,t.lineWidth=e.borderWidth,t.fillStyle=e.backgroundColor,t.fill(),t.lineJoin="bevel",e.borderWidth&&t.stroke()}})},{25:25,26:26,45:45}],37:[function(t,e,n){"use strict";var i=t(25),a=t(26),d=t(45),h=i.global;i._set("global",{elements:{line:{tension:.4,backgroundColor:h.defaultColor,borderWidth:3,borderColor:h.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),e.exports=a.extend({draw:function(){var t,e,n,i,a=this._view,o=this._chart.ctx,r=a.spanGaps,s=this._children.slice(),l=h.elements.line,u=-1;for(this._loop&&s.length&&s.push(s[0]),o.save(),o.lineCap=a.borderCapStyle||l.borderCapStyle,o.setLineDash&&o.setLineDash(a.borderDash||l.borderDash),o.lineDashOffset=a.borderDashOffset||l.borderDashOffset,o.lineJoin=a.borderJoinStyle||l.borderJoinStyle,o.lineWidth=a.borderWidth||l.borderWidth,o.strokeStyle=a.borderColor||h.defaultColor,o.beginPath(),u=-1,t=0;t<s.length;++t)e=s[t],n=d.previousItem(s,t),i=e._view,0===t?i.skip||(o.moveTo(i.x,i.y),u=t):(n=-1===u?n:s[u],i.skip||(u!==t-1&&!r||-1===u?o.moveTo(i.x,i.y):d.canvas.lineTo(o,n._view,e._view),u=t));o.stroke(),o.restore()}})},{25:25,26:26,45:45}],38:[function(t,e,n){"use strict";function i(t){var e=this._view;return!!e&&Math.abs(t-e.x)<e.radius+e.hitRadius}var d=t(25),a=t(26),h=t(45),c=d.global.defaultColor;d._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:c,borderColor:c,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}}),e.exports=a.extend({inRange:function(t,e){var n=this._view;return!!n&&Math.pow(t-n.x,2)+Math.pow(e-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:i,inXRange:i,inYRange:function(t){var e=this._view;return!!e&&Math.abs(t-e.y)<e.radius+e.hitRadius},getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var e=this._view,n=this._model,i=this._chart.ctx,a=e.pointStyle,o=e.radius,r=e.x,s=e.y,l=h.color,u=0;e.skip||(i.strokeStyle=e.borderColor||c,i.lineWidth=h.valueOrDefault(e.borderWidth,d.global.elements.point.borderWidth),i.fillStyle=e.backgroundColor||c,void 0!==t&&(n.x<t.left||1.01*t.right<n.x||n.y<t.top||1.01*t.bottom<n.y)&&(n.x<t.left?u=(r-n.x)/(t.left-n.x):1.01*t.right<n.x?u=(n.x-r)/(n.x-t.right):n.y<t.top?u=(s-n.y)/(t.top-n.y):1.01*t.bottom<n.y&&(u=(n.y-s)/(n.y-t.bottom)),u=Math.round(100*u)/100,i.strokeStyle=l(i.strokeStyle).alpha(u).rgbString(),i.fillStyle=l(i.fillStyle).alpha(u).rgbString()),h.canvas.drawPoint(i,a,o,r,s))}})},{25:25,26:26,45:45}],39:[function(t,e,n){"use strict";function r(t){return void 0!==t._view.width}function a(t){var e,n,i,a,o=t._view;return a=r(t)?(i=o.width/2,e=o.x-i,n=o.x+i,i=Math.min(o.y,o.base),Math.max(o.y,o.base)):(a=o.height/2,e=Math.min(o.x,o.base),n=Math.max(o.x,o.base),i=o.y-a,o.y+a),{left:e,top:i,right:n,bottom:a}}var i=t(25),t=t(26);i._set("global",{elements:{rectangle:{backgroundColor:i.global.defaultColor,borderColor:i.global.defaultColor,borderSkipped:"bottom",borderWidth:0}}}),e.exports=t.extend({draw:function(){function t(t){return g[(m+t)%4]}var e,n,i,a,o,r,s,l,u,d=this._chart.ctx,h=this._view,c=h.borderWidth,f=h.horizontal?(e=h.base,n=h.x,i=h.y-h.height/2,a=h.y+h.height/2,s=e<n?1:-1,r=1,h.borderSkipped||"left"):(e=h.x-h.width/2,n=h.x+h.width/2,s=1,r=(i=h.y)<(a=h.base)?1:-1,h.borderSkipped||"bottom");c&&(o=(c=(u=Math.min(Math.abs(e-n),Math.abs(i-a)))<c?u:c)/2,l=i+("top"!==f?o*r:0),u=a+("bottom"!==f?-o*r:0),(r=e+("left"!==f?o*s:0))!==(s=n+("right"!==f?-o*s:0))&&(i=l,a=u),l!==u&&(e=r,n=s)),d.beginPath(),d.fillStyle=h.backgroundColor,d.strokeStyle=h.borderColor,d.lineWidth=c;var g=[[e,a],[e,i],[n,i],[n,a]],m=["bottom","left","top","right"].indexOf(f,0);-1===m&&(m=0);var p=t(0);d.moveTo(p[0],p[1]);for(var v=1;v<4;v++)p=t(v),d.lineTo(p[0],p[1]);d.fill(),c&&d.stroke()},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){var n,i=!1;return i=this._view?t>=(n=a(this)).left&&t<=n.right&&e>=n.top&&e<=n.bottom:i},inLabelRange:function(t,e){if(!this._view)return!1;var n=a(this);return r(this)?t>=n.left&&t<=n.right:e>=n.top&&e<=n.bottom},inXRange:function(t){var e=a(this);return t>=e.left&&t<=e.right},inYRange:function(t){var e=a(this);return t>=e.top&&t<=e.bottom},getCenterPoint:function(){var t,e=this._view,e=r(this)?(t=e.x,(e.y+e.base)/2):(t=(e.x+e.base)/2,e.y);return{x:t,y:e}},getArea:function(){var t=this._view;return t.width*Math.abs(t.y-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}})},{25:25,26:26}],40:[function(t,e,n){"use strict";e.exports={},e.exports.Arc=t(36),e.exports.Line=t(37),e.exports.Point=t(38),e.exports.Rectangle=t(39)},{36:36,37:37,38:38,39:39}],41:[function(t,e,n){"use strict";t=t(42),n=e.exports={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,i,a,o){var r;o?(r=Math.min(o,i/2),o=Math.min(o,a/2),t.moveTo(e+r,n),t.lineTo(e+i-r,n),t.quadraticCurveTo(e+i,n,e+i,n+o),t.lineTo(e+i,n+a-o),t.quadraticCurveTo(e+i,n+a,e+i-r,n+a),t.lineTo(e+r,n+a),t.quadraticCurveTo(e,n+a,e,n+a-o),t.lineTo(e,n+o),t.quadraticCurveTo(e,n,e+r,n)):t.rect(e,n,i,a)},drawPoint:function(t,e,n,i,a){var o,r,s,l;if(!e||"object"!=typeof e||"[object HTMLImageElement]"!==(o=e.toString())&&"[object HTMLCanvasElement]"!==o){if(!(isNaN(n)||n<=0)){switch(e){default:t.beginPath(),t.arc(i,a,n,0,2*Math.PI),t.closePath(),t.fill();break;case"triangle":t.beginPath(),h=(d=3*n/Math.sqrt(3))*Math.sqrt(3)/2,t.moveTo(i-d/2,a+h/3),t.lineTo(i+d/2,a+h/3),t.lineTo(i,a-2*h/3),t.closePath(),t.fill();break;case"rect":l=1/Math.SQRT2*n,t.beginPath(),t.fillRect(i-l,a-l,2*l,2*l),t.strokeRect(i-l,a-l,2*l,2*l);break;case"rectRounded":var u=n/Math.SQRT2,d=i-u,h=a-u,u=Math.SQRT2*n;t.beginPath(),this.roundedRect(t,d,h,u,u,n/2),t.closePath(),t.fill();break;case"rectRot":l=1/Math.SQRT2*n,t.beginPath(),t.moveTo(i-l,a),t.lineTo(i,a+l),t.lineTo(i+l,a),t.lineTo(i,a-l),t.closePath(),t.fill();break;case"cross":t.beginPath(),t.moveTo(i,a+n),t.lineTo(i,a-n),t.moveTo(i-n,a),t.lineTo(i+n,a),t.closePath();break;case"crossRot":t.beginPath(),r=Math.cos(Math.PI/4)*n,s=Math.sin(Math.PI/4)*n,t.moveTo(i-r,a-s),t.lineTo(i+r,a+s),t.moveTo(i-r,a+s),t.lineTo(i+r,a-s),t.closePath();break;case"star":t.beginPath(),t.moveTo(i,a+n),t.lineTo(i,a-n),t.moveTo(i-n,a),t.lineTo(i+n,a),r=Math.cos(Math.PI/4)*n,s=Math.sin(Math.PI/4)*n,t.moveTo(i-r,a-s),t.lineTo(i+r,a+s),t.moveTo(i-r,a+s),t.lineTo(i+r,a-s),t.closePath();break;case"line":t.beginPath(),t.moveTo(i-n,a),t.lineTo(i+n,a),t.closePath();break;case"dash":t.beginPath(),t.moveTo(i,a),t.lineTo(i+n,a),t.closePath()}t.stroke()}}else t.drawImage(e,i-e.width/2,a-e.height/2,e.width,e.height)},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,n,i){if(n.steppedLine)return"after"===n.steppedLine&&!i||"after"!==n.steppedLine&&i?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y),void t.lineTo(n.x,n.y);n.tension?t.bezierCurveTo(i?e.controlPointPreviousX:e.controlPointNextX,i?e.controlPointPreviousY:e.controlPointNextY,i?n.controlPointNextX:n.controlPointPreviousX,i?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):t.lineTo(n.x,n.y)}};t.clear=n.clear,t.drawRoundedRectangle=function(t){t.beginPath(),n.roundedRect.apply(n,arguments),t.closePath()}},{42:42}],42:[function(t,e,n){"use strict";var i,d={noop:function(){},uid:(i=0,function(){return i++}),isNullOrUndef:function(t){return null==t},isArray:Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,n){return d.valueOrDefault(d.isArray(t)?t[e]:t,n)},callback:function(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)},each:function(t,e,n,i){var a,o,r;if(d.isArray(t))if(o=t.length,i)for(a=o-1;0<=a;a--)e.call(n,t[a],a);else for(a=0;a<o;a++)e.call(n,t[a],a);else if(d.isObject(t))for(o=(r=Object.keys(t)).length,a=0;a<o;a++)e.call(n,t[r[a]],r[a])},arrayEquals:function(t,e){var n,i,a,o;if(!t||!e||t.length!==e.length)return!1;for(n=0,i=t.length;n<i;++n)if(a=t[n],o=e[n],a instanceof Array&&o instanceof Array){if(!d.arrayEquals(a,o))return!1}else if(a!==o)return!1;return!0},clone:function(t){if(d.isArray(t))return t.map(d.clone);if(d.isObject(t)){for(var e={},n=Object.keys(t),i=n.length,a=0;a<i;++a)e[n[a]]=d.clone(t[n[a]]);return e}return t},_merger:function(t,e,n,i){var a=e[t],n=n[t];d.isObject(a)&&d.isObject(n)?d.merge(a,n,i):e[t]=d.clone(n)},_mergerIf:function(t,e,n){var i=e[t],n=n[t];d.isObject(i)&&d.isObject(n)?d.mergeIf(i,n):e.hasOwnProperty(t)||(e[t]=d.clone(n))},merge:function(t,e,n){var i,a,o,r,s,l=d.isArray(e)?e:[e],u=l.length;if(!d.isObject(t))return t;for(i=(n=n||{}).merger||d._merger,a=0;a<u;++a)if(e=l[a],d.isObject(e))for(s=0,r=(o=Object.keys(e)).length;s<r;++s)i(o[s],t,e,n);return t},mergeIf:function(t,e){return d.merge(t,e,{merger:d._mergerIf})},extend:function(n){for(var t=function(t,e){n[e]=t},e=1,i=arguments.length;e<i;++e)d.each(arguments[e],t);return n},inherits:function(t){function e(){this.constructor=i}var n=this,i=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return n.apply(this,arguments)};return e.prototype=n.prototype,i.prototype=new e,i.extend=d.inherits,t&&d.extend(i.prototype,t),i.__super__=n.prototype,i}};(e.exports=d).callCallback=d.callback,d.indexOf=function(t,e,n){return Array.prototype.indexOf.call(t,e,n)},d.getValueOrDefault=d.valueOrDefault,d.getValueAtIndexOrDefault=d.valueAtIndexOrDefault},{}],43:[function(t,e,n){"use strict";var t=t(42),i={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return 1<=t?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n=n||.3,e=i<1?(i=1,n/4):n/(2*Math.PI)*Math.asin(1/i),-(i*Math.pow(2,10*--t)*Math.sin((t-e)*(2*Math.PI)/n)))},easeOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n=n||.3,e=i<1?(i=1,n/4):n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:2==(t/=.5)?1:(n=n||.45,e=i<1?(i=1,n/4):n/(2*Math.PI)*Math.asin(1/i),t<1?i*Math.pow(2,10*--t)*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*--t)*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){return t*t*(2.70158*t-1.70158)},easeOutBack:function(t){return(t-=1)*t*(2.70158*t+1.70158)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-i.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*i.easeInBounce(2*t):.5*i.easeOutBounce(2*t-1)+.5}};e.exports={effects:i},t.easingEffects=i},{42:42}],44:[function(t,e,n){"use strict";var r=t(42);e.exports={toLineHeight:function(t,e){var n=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,n,i,a;return r.isObject(t)?(e=+t.top||0,n=+t.right||0,i=+t.bottom||0,a=+t.left||0):e=n=i=a=+t||0,{top:e,right:n,bottom:i,left:a,height:e+i,width:a+n}},resolve:function(t,e,n){for(var i,a=0,o=t.length;a<o;++a)if(void 0!==(i=t[a])&&(void 0!==e&&"function"==typeof i&&(i=i(e)),void 0!==(i=void 0!==n&&r.isArray(i)?i[n]:i)))return i}}},{42:42}],45:[function(t,e,n){"use strict";e.exports=t(42),e.exports.easing=t(43),e.exports.canvas=t(41),e.exports.options=t(44)},{41:41,42:42,43:43,44:44}],46:[function(t,e,n){e.exports={acquireContext:function(t){return(t=t&&t.canvas?t.canvas:t)&&t.getContext("2d")||null}}},{}],47:[function(t,e,n){"use strict";function s(t,e){e=m.getStyle(t,e),e=e&&e.match(/^(\d+)(\.\d+)?px$/);return e?Number(e[1]):void 0}function f(t,e,n){t.addEventListener(e,n,l)}function o(t,e,n){t.removeEventListener(e,n,l)}function g(t,e,n,i,a){return{type:t,chart:e,native:a||null,x:void 0!==n?n:null,y:void 0!==i?i:null}}function i(e,t,n){var i,a,o,r,s,l,u,d,h=e[p]||(e[p]={}),c=h.resizer=function(t){var e=document.createElement("div"),n=v+"size-monitor",i="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;";e.style.cssText=i,e.className=n,e.innerHTML='<div class="'+n+'-expand" style="'+i+'"><div style="position:absolute;width:1000000px;height:1000000px;left:0;top:0"></div></div><div class="'+n+'-shrink" style="'+i+'"><div style="position:absolute;width:200%;height:200%;left:0; top:0"></div></div>';var a=e.childNodes[0],o=e.childNodes[1];return e._reset=function(){a.scrollLeft=1e6,a.scrollTop=1e6,o.scrollLeft=1e6,o.scrollTop=1e6},f(a,"scroll",(i=function(){e._reset(),t()}).bind(a,"expand")),f(o,"scroll",i.bind(o,"shrink")),e}((i=function(){if(h.resizer)return t(g("resize",n))},r=!1,function(){o=Array.prototype.slice.call(arguments),a=a||this,r||(r=!0,m.requestAnimFrame.call(window,function(){r=!1,i.apply(a,o)}))}));l=function(){var t;h.resizer&&((t=e.parentNode)&&t!==c.parentNode&&t.insertBefore(c,t.firstChild),c._reset())},u=(s=e)[p]||(s[p]={}),d=u.renderProxy=function(t){t.animationName===b&&l()},m.each(x,function(t){f(s,t,d)}),u.reflow=!!s.offsetParent,s.classList.add(y)}function a(t){var e,n,i=t[p]||{},a=i.resizer;delete i.resizer,t=(e=t)[p]||{},(n=t.renderProxy)&&(m.each(x,function(t){o(e,t,n)}),delete t.renderProxy),e.classList.remove(y),a&&a.parentNode&&a.parentNode.removeChild(a)}var m=t(45),p="$chartjs",v="chartjs-",y=v+"render-monitor",b=v+"render-animation",x=["animationstart","webkitAnimationStart"],r={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},l=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}()&&{passive:!0};e.exports={_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,initialize:function(){var t,e,n="from{opacity:0.99}to{opacity:1}";e="@-webkit-keyframes "+b+"{"+n+"}@keyframes "+b+"{"+n+"}."+y+"{-webkit-animation:"+b+" 0.001s;animation:"+b+" 0.001s;}",n=(t=this)._style||document.createElement("style"),t._style||(e="/* Chart.js */\n"+e,(t._style=n).setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(n)),n.appendChild(document.createTextNode(e))},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]);var n,i,a,o,r=(t=t&&t.canvas?t.canvas:t)&&t.getContext&&t.getContext("2d");return r&&r.canvas===t?(i=e,o=(n=t).style,e=n.getAttribute("height"),t=n.getAttribute("width"),n[p]={initial:{height:e,width:t,style:{display:o.display,height:o.height,width:o.width}}},o.display=o.display||"block",null!==t&&""!==t||void 0!==(a=s(n,"width"))&&(n.width=a),null!==e&&""!==e||(""===n.style.height?n.height=n.width/(i.options.aspectRatio||2):(i=s(n,"height"),void 0!==a&&(n.height=i))),r):null},releaseContext:function(t){var n,i=t.canvas;i[p]&&(n=i[p].initial,["height","width"].forEach(function(t){var e=n[t];m.isNullOrUndef(e)?i.removeAttribute(t):i.setAttribute(t,e)}),m.each(n.style||{},function(t,e){i.style[e]=t}),i.width=i.width,delete i[p])},addEventListener:function(a,t,o){var e,n=a.canvas;"resize"!==t?f(n,t,((e=o[p]||(o[p]={})).proxies||(e.proxies={}))[a.id+"_"+t]=function(t){var e,n,i;o((n=a,i=r[(e=t).type]||e.type,t=m.getRelativePosition(e,n),g(i,n,t.x,t.y,e)))}):i(n,o,a)},removeEventListener:function(t,e,n){var i=t.canvas;"resize"!==e?(t=((n[p]||{}).proxies||{})[t.id+"_"+e])&&o(i,e,t):a(i)}},m.addEvent=f,m.removeEvent=o},{45:45}],48:[function(t,e,n){"use strict";var i=t(45),a=t(46),t=t(47),a=t._enabled?t:a;e.exports=i.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},a)},{45:45,46:46,47:47}],49:[function(t,e,n){"use strict";e.exports={},e.exports.filler=t(50),e.exports.legend=t(51),e.exports.title=t(52)},{50:50,51:51,52:52}],50:[function(t,e,n){"use strict";function y(t){return t&&!t.skip}function b(t,e,n,i,a){var o;if(i&&a){for(t.moveTo(e[0].x,e[0].y),o=1;o<i;++o)l.canvas.lineTo(t,e[o-1],e[o]);for(t.lineTo(n[a-1].x,n[a-1].y),o=a-1;0<o;--o)l.canvas.lineTo(t,n[o],n[o-1],!0)}}var s=t(25),c=t(40),l=t(45);s._set("global",{plugins:{filler:{propagate:!0}}});var f={dataset:function(t){var e=t.fill,n=t.chart,t=n.getDatasetMeta(e),i=t&&n.isDatasetVisible(e)&&t.dataset._children||[],a=i.length||0;return a?function(t,e){return e<a&&i[e]._view||null}:null},boundary:function(t){var t=t.boundary,e=t?t.x:null,n=t?t.y:null;return function(t){return{x:null===e?t.x:e,y:null===n?t.y:n}}}};e.exports={id:"filler",afterDatasetsUpdate:function(t,e){for(var n,i,a,o,r,s,l=(t.data.datasets||[]).length,u=e.propagate,d=[],h=0;h<l;++h)a=null,(i=(n=t.getDatasetMeta(h)).dataset)&&i._model&&i instanceof c.Line&&(a={visible:t.isDatasetVisible(h),fill:function(t,e,n){var i=(t=t._model||{}).fill;if(!1===(i=void 0===i?!!t.backgroundColor:i)||null===i)return!1;if(!0===i)return"origin";if(t=parseFloat(i,10),isFinite(t)&&Math.floor(t)===t)return!((t="-"===i[0]||"+"===i[0]?e+t:t)===e||t<0||n<=t)&&t;switch(i){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return i;default:return!1}}(i,h,l),chart:t,el:i}),n.$filler=a,d.push(a);for(h=0;h<l;++h)(a=d[h])&&(a.fill=function(t,e,n){var i,a=t[e].fill,o=[e];if(!n)return a;for(;!1!==a&&-1===o.indexOf(a);){if(!isFinite(a))return a;if(!(i=t[a]))return!1;if(i.visible)return a;o.push(a),a=i.fill}return!1}(d,h,u),a.boundary=function(t){var e=t.el._model||{},n=t.el._scale||{},i=t.fill,t=null;if(isFinite(i))return null;if("start"===i?t=void 0===e.scaleBottom?n.bottom:e.scaleBottom:"end"===i?t=void 0===e.scaleTop?n.top:e.scaleTop:void 0!==e.scaleZero?t=e.scaleZero:n.getBasePosition?t=n.getBasePosition():n.getBasePixel&&(t=n.getBasePixel()),null!=t){if(void 0!==t.x&&void 0!==t.y)return t;if("number"==typeof t&&isFinite(t))return{x:(n=n.isHorizontal())?t:null,y:n?null:t}}return null}(a),a.mapper=(s=r=void 0,r=(o=a).fill,!(s="dataset")===r?null:(isFinite(r)||(s="boundary"),f[s](o))))},beforeDatasetDraw:function(t,e){var n,i,a,o,r=e.meta.$filler;r&&(n=t.ctx,a=(i=r.el)._view,o=i._children||[],e=r.mapper,r=a.backgroundColor||s.global.defaultColor,e&&r&&o.length&&(l.canvas.clipArea(n,t.chartArea),function(t,e,n,i,a,o){var r,s,l,u,d,h,c=e.length,f=i.spanGaps,g=[],m=[],p=0,v=0;for(t.beginPath(),r=0,s=c+!!o;r<s;++r)u=n(l=e[h=r%c]._view,h,i),d=y(l),h=y(u),d&&h?(p=g.push(l),v=m.push(u)):p&&v&&(f?(d&&g.push(l),h&&m.push(u)):(b(t,g,m,p,v),p=v=0,g=[],m=[]));b(t,g,m,p,v),t.closePath(),t.fillStyle=a,t.fill()}(n,o,e,a,r,i._loop),l.canvas.unclipArea(n)))}}},{25:25,40:40,45:45}],51:[function(t,e,n){"use strict";function C(t,e){return t.usePointStyle?e*Math.SQRT2:t.boxWidth}function i(t,e){var n=new r({ctx:t.ctx,options:e,chart:t});o.configure(t,n,e),o.addBox(t,n),t.legend=n}var P=t(25),a=t(26),T=t(45),o=t(30),t=T.noop;P._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var n=e.datasetIndex,i=this.chart,e=i.getDatasetMeta(n);e.hidden=null===e.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(n){var t=n.data;return T.isArray(t.datasets)?t.datasets.map(function(t,e){return{text:t.label,fillStyle:T.isArray(t.backgroundColor)?t.backgroundColor[0]:t.backgroundColor,hidden:!n.isDatasetVisible(e),lineCap:t.borderCapStyle,lineDash:t.borderDash,lineDashOffset:t.borderDashOffset,lineJoin:t.borderJoinStyle,lineWidth:t.borderWidth,strokeStyle:t.borderColor,pointStyle:t.pointStyle,datasetIndex:e}},this):[]}}},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');for(var n=0;n<t.data.datasets.length;n++)e.push('<li><span style="background-color:'+t.data.datasets[n].backgroundColor+'"></span>'),t.data.datasets[n].label&&e.push(t.data.datasets[n].label),e.push("</li>");return e.push("</ul>"),e.join("")}});var r=a.extend({initialize:function(t){T.extend(this,t),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:t,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,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:t,beforeSetDimensions:t,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:t,beforeBuildLabels:t,buildLabels:function(){var e=this,n=e.options.labels||{},t=T.callback(n.generateLabels,[e.chart],e)||[];n.filter&&(t=t.filter(function(t){return n.filter(t,e.chart.data)})),e.options.reverse&&t.reverse(),e.legendItems=t},afterBuildLabels:t,beforeFit:t,fit:function(){var n,i,a,o,r,s,l,u=this,t=u.options,d=t.labels,e=t.display,h=u.ctx,c=P.global,f=T.valueOrDefault,g=f(d.fontSize,c.defaultFontSize),t=f(d.fontStyle,c.defaultFontStyle),c=f(d.fontFamily,c.defaultFontFamily),t=T.fontString(g,t,c),m=u.legendHitBoxes=[],p=u.minSize,c=u.isHorizontal();c?(p.width=u.maxWidth,p.height=e?10:0):(p.width=e?10:0,p.height=u.maxHeight),e&&(h.font=t,c?(n=u.lineWidths=[0],i=u.legendItems.length?g+d.padding:0,h.textAlign="left",h.textBaseline="top",T.each(u.legendItems,function(t,e){t=C(d,g)+g/2+h.measureText(t.text).width;n[n.length-1]+t+d.padding>=u.width&&(i+=g+d.padding,n[n.length]=u.left),m[e]={left:0,top:0,width:t,height:g},n[n.length-1]+=t+d.padding}),p.height+=i):(c=d.padding,a=u.columnWidths=[],o=d.padding,s=r=0,l=g+c,T.each(u.legendItems,function(t,e){t=C(d,g)+g/2+h.measureText(t.text).width;s+l>p.height&&(o+=r+d.padding,a.push(r),s=r=0),r=Math.max(r,t),s+=l,m[e]={left:0,top:0,width:t,height:g}}),o+=r,a.push(r),p.width+=o)),u.width=p.width,u.height=p.height},afterFit:t,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var c,f,t,g,e,n,m,p,v,y,b,x=this,_=x.options,k=_.labels,w=P.global,M=w.elements.line,S=x.width,D=x.lineWidths;_.display&&(c=x.ctx,t=(f=T.valueOrDefault)(k.fontColor,w.defaultFontColor),g=f(k.fontSize,w.defaultFontSize),e=f(k.fontStyle,w.defaultFontStyle),n=f(k.fontFamily,w.defaultFontFamily),n=T.fontString(g,e,n),c.textAlign="left",c.textBaseline="middle",c.lineWidth=.5,c.strokeStyle=t,c.fillStyle=t,c.font=n,m=C(k,g),p=x.legendHitBoxes,v=x.isHorizontal(),y=v?{x:x.left+(S-D[0])/2,y:x.top+k.padding,line:0}:{x:x.left+k.padding,y:x.top+k.padding,line:0},b=g+k.padding,T.each(x.legendItems,function(t,e){var n,i,a,o,r,s,l=c.measureText(t.text).width,u=m+g/2+l,d=y.x,h=y.y;v?S<=d+u&&(h=y.y+=b,y.line++,d=y.x=x.left+(S-D[y.line])/2):h+b>x.bottom&&(d=y.x=d+x.columnWidths[y.line]+k.padding,h=y.y=x.top+k.padding,y.line++),n=d,i=h,a=t,isNaN(m)||m<=0||(c.save(),c.fillStyle=f(a.fillStyle,w.defaultColor),c.lineCap=f(a.lineCap,M.borderCapStyle),c.lineDashOffset=f(a.lineDashOffset,M.borderDashOffset),c.lineJoin=f(a.lineJoin,M.borderJoinStyle),c.lineWidth=f(a.lineWidth,M.borderWidth),c.strokeStyle=f(a.strokeStyle,w.defaultColor),o=0===f(a.lineWidth,M.borderWidth),c.setLineDash&&c.setLineDash(f(a.lineDash,M.borderDash)),_.labels&&_.labels.usePointStyle?(s=(r=g*Math.SQRT2/2)/Math.SQRT2,T.canvas.drawPoint(c,a.pointStyle,r,n+s,i+s)):(o||c.strokeRect(n,i,m,g),c.fillRect(n,i,m,g)),c.restore()),p[e].left=d,p[e].top=h,e=t,t=l,d=m+(l=g/2)+(d=d),l=h+l,c.fillText(e.text,d,l),e.hidden&&(c.beginPath(),c.lineWidth=2,c.moveTo(d,l),c.lineTo(d+t,l),c.stroke()),v?y.x+=u+k.padding:y.y+=b}))},handleEvent:function(t){var e=this,n=e.options,i="mouseup"===t.type?"click":t.type,a=!1;if("mousemove"===i){if(!n.onHover)return}else{if("click"!==i)return;if(!n.onClick)return}var o=t.x,r=t.y;if(o>=e.left&&o<=e.right&&r>=e.top&&r<=e.bottom)for(var s=e.legendHitBoxes,l=0;l<s.length;++l){var u=s[l];if(o>=u.left&&o<=u.left+u.width&&r>=u.top&&r<=u.top+u.height){if("click"===i){n.onClick.call(e,t.native,e.legendItems[l]),a=!0;break}if("mousemove"===i){n.onHover.call(e,t.native,e.legendItems[l]),a=!0;break}}}return a}});e.exports={id:"legend",_element:r,beforeInit:function(t){var e=t.options.legend;e&&i(t,e)},beforeUpdate:function(t){var e=t.options.legend,n=t.legend;e?(T.mergeIf(e,P.global.legend),n?(o.configure(t,n,e),n.options=e):i(t,e)):n&&(o.removeBox(t,n),delete t.legend)},afterEvent:function(t,e){t=t.legend;t&&t.handleEvent(e)}}},{25:25,26:26,30:30,45:45}],52:[function(t,e,n){"use strict";function i(t,e){var n=new r({ctx:t.ctx,options:e,chart:t});o.configure(t,n,e),o.addBox(t,n),t.titleBlock=n}var y=t(25),a=t(26),b=t(45),o=t(30),t=b.noop;y._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}});var r=a.extend({initialize:function(t){b.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:t,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,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:t,beforeSetDimensions:t,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:t,beforeBuildLabels:t,buildLabels:t,afterBuildLabels:t,beforeFit:t,fit:function(){var t=b.valueOrDefault,e=this.options,n=e.display,i=t(e.fontSize,y.global.defaultFontSize),a=this.minSize,t=b.isArray(e.text)?e.text.length:1,i=b.options.toLineHeight(e.lineHeight,i),e=n?t*i+2*e.padding:0;this.isHorizontal()?(a.width=this.maxWidth,a.height=e):(a.width=e,a.height=this.maxHeight),this.width=a.width,this.height=a.height},afterFit:t,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this.ctx,e=b.valueOrDefault,n=this.options,i=y.global;if(n.display){var a,o,r,s=e(n.fontSize,i.defaultFontSize),l=e(n.fontStyle,i.defaultFontStyle),u=e(n.fontFamily,i.defaultFontFamily),d=b.fontString(s,l,u),h=b.options.toLineHeight(n.lineHeight,s),c=h/2+n.padding,f=0,g=this.top,l=this.left,u=this.bottom,s=this.right;t.fillStyle=e(n.fontColor,i.defaultFontColor),t.font=d,this.isHorizontal()?(o=l+(s-l)/2,r=g+c,a=s-l):(o="left"===n.position?l+c:s-c,r=g+(u-g)/2,a=u-g,f=Math.PI*("left"===n.position?-.5:.5)),t.save(),t.translate(o,r),t.rotate(f),t.textAlign="center",t.textBaseline="middle";var m=n.text;if(b.isArray(m))for(var p=0,v=0;v<m.length;++v)t.fillText(m[v],0,p,a),p+=h;else t.fillText(m,0,0,a);t.restore()}}});e.exports={id:"title",_element:r,beforeInit:function(t){var e=t.options.title;e&&i(t,e)},beforeUpdate:function(t){var e=t.options.title,n=t.titleBlock;e?(b.mergeIf(e,y.global.title),n?(o.configure(t,n,e),n.options=e):i(t,e)):n&&(o.removeBox(t,n),delete t.titleBlock)}}},{25:25,26:26,30:30,45:45}],53:[function(t,e,n){"use strict";e.exports=function(t){var e=t.Scale.extend({getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels},determineDataLimits:function(){var t,e=this,n=e.getLabels();e.minIndex=0,e.maxIndex=n.length-1,void 0!==e.options.ticks.min&&(t=n.indexOf(e.options.ticks.min),e.minIndex=-1!==t?t:e.minIndex),void 0!==e.options.ticks.max&&(t=n.indexOf(e.options.ticks.max),e.maxIndex=-1!==t?t:e.maxIndex),e.min=n[e.minIndex],e.max=n[e.maxIndex]},buildTicks:function(){var t=this.getLabels();this.ticks=0===this.minIndex&&this.maxIndex===t.length-1?t:t.slice(this.minIndex,this.maxIndex+1)},getLabelForIndex:function(t,e){var n=this.chart.data,i=this.isHorizontal();return n.yLabels&&!i?this.getRightValue(n.datasets[e].data[t]):this.ticks[t-this.minIndex]},getPixelForValue:function(t,e){var n,i=this,a=i.options.offset,o=Math.max(i.maxIndex+1-i.minIndex-(a?0:1),1);if((void 0!==(n=null!=t?i.isHorizontal()?t.x:t.y:n)||void 0!==t&&isNaN(e))&&(e=-1!==(r=i.getLabels().indexOf(t=n||t))?r:e),i.isHorizontal()){var t=i.width/o,r=t*(e-i.minIndex);return a&&(r+=t/2),i.left+Math.round(r)}o=i.height/o,e=o*(e-i.minIndex);return a&&(e+=o/2),i.top+Math.round(e)},getPixelForTick:function(t){return this.getPixelForValue(this.ticks[t],t+this.minIndex,null)},getValueForPixel:function(t){var e=this.options.offset,n=Math.max(this._ticks.length-(e?0:1),1),i=this.isHorizontal(),n=(i?this.width:this.height)/n;return t-=i?this.left:this.top,e&&(t-=n/2),(t<=0?0:Math.round(t/n))+this.minIndex},getBasePixel:function(){return this.bottom}});t.scaleService.registerScaleType("category",e,{position:"bottom"})}},{}],54:[function(t,e,n){"use strict";var i=t(25),h=t(45),a=t(34);e.exports=function(t){var e={position:"left",ticks:{callback:a.formatters.linear}},n=t.LinearScaleBase.extend({determineDataLimits:function(){function r(t){return e?t.xAxisID===s.id:t.yAxisID===s.id}var s=this,l=s.options,u=s.chart,t=u.data.datasets,e=s.isHorizontal();s.min=null,s.max=null;var d,i=l.stacked;void 0===i&&h.each(t,function(t,e){var n;i||(n=u.getDatasetMeta(e),u.isDatasetVisible(e)&&r(n)&&void 0!==n.stack&&(i=!0))}),l.stacked||i?(d={},h.each(t,function(t,e){var n=u.getDatasetMeta(e),i=[n.type,void 0===l.stacked&&void 0===n.stack?e:"",n.stack].join(".");void 0===d[i]&&(d[i]={positiveValues:[],negativeValues:[]});var a=d[i].positiveValues,o=d[i].negativeValues;u.isDatasetVisible(e)&&r(n)&&h.each(t.data,function(t,e){t=+s.getRightValue(t);isNaN(t)||n.data[e].hidden||(a[e]=a[e]||0,o[e]=o[e]||0,l.relativePoints?a[e]=100:t<0?o[e]+=t:a[e]+=t)})}),h.each(d,function(t){var e=t.positiveValues.concat(t.negativeValues),t=h.min(e),e=h.max(e);s.min=null===s.min?t:Math.min(s.min,t),s.max=null===s.max?e:Math.max(s.max,e)})):h.each(t,function(t,e){var n=u.getDatasetMeta(e);u.isDatasetVisible(e)&&r(n)&&h.each(t.data,function(t,e){t=+s.getRightValue(t);isNaN(t)||n.data[e].hidden||((null===s.min||t<s.min)&&(s.min=t),(null===s.max||t>s.max)&&(s.max=t))})}),s.min=isFinite(s.min)&&!isNaN(s.min)?s.min:0,s.max=isFinite(s.max)&&!isNaN(s.max)?s.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var t,e=this.options.ticks;return this.isHorizontal()?Math.min(e.maxTicksLimit||11,Math.ceil(this.width/50)):(t=h.valueOrDefault(e.fontSize,i.global.defaultFontSize),Math.min(e.maxTicksLimit||11,Math.ceil(this.height/(2*t))))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){var e=this.start,n=+this.getRightValue(t),t=this.end-e,e=this.isHorizontal()?this.left+this.width/t*(n-e):this.bottom-this.height/t*(n-e);return e},getValueForPixel:function(t){var e=this.isHorizontal(),n=e?this.width:this.height,n=(e?t-this.left:this.bottom-t)/n;return this.start+(this.end-this.start)*n},getPixelForTick:function(t){return this.getPixelForValue(this.ticksAsNumbers[t])}});t.scaleService.registerScaleType("linear",n,e)}},{25:25,34:34,45:45}],55:[function(t,e,n){"use strict";var u=t(45);e.exports=function(e){var t=u.noop;e.LinearScaleBase=e.Scale.extend({getRightValue:function(t){return"string"==typeof t?+t:e.Scale.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;e.beginAtZero&&(n=u.sign(t.min),i=u.sign(t.max),n<0&&i<0?t.max=0:0<n&&0<i&&(t.min=0));var n=void 0!==e.min||void 0!==e.suggestedMin,i=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(null===t.min?t.min=e.suggestedMin:t.min=Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(null===t.max?t.max=e.suggestedMax:t.max=Math.max(t.max,e.suggestedMax)),n!=i&&t.min>=t.max&&(n?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:t,handleDirectionalChanges:t,buildTicks:function(){var t=this,e=t.options.ticks,n=t.getTickLimit(),n={maxTicks:n=Math.max(2,n),min:e.min,max:e.max,stepSize:u.valueOrDefault(e.fixedStepSize,e.stepSize)},n=t.ticks=function(t,e){var n,i,a=[];i=t.stepSize&&0<t.stepSize?t.stepSize:(n=u.niceNum(e.max-e.min,!1),u.niceNum(n/(t.maxTicks-1),!0));var o=Math.floor(e.min/i)*i,e=Math.ceil(e.max/i)*i;t.min&&t.max&&t.stepSize&&u.almostWhole((t.max-t.min)/t.stepSize,i/1e3)&&(o=t.min,e=t.max);var r=(e-o)/i,r=u.almostEquals(r,Math.round(r),i/1e3)?Math.round(r):Math.ceil(r),s=1;i<1&&(s=Math.pow(10,i.toString().length-2),o=Math.round(o*s)/s,e=Math.round(e*s)/s),a.push(void 0!==t.min?t.min:o);for(var l=1;l<r;++l)a.push(Math.round((o+l*i)*s)/s);return a.push(void 0!==t.max?t.max:e),a}(n,t);t.handleDirectionalChanges(),t.max=u.max(n),t.min=u.min(n),e.reverse?(n.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){this.ticksAsNumbers=this.ticks.slice(),this.zeroLineIndex=this.ticks.indexOf(0),e.Scale.prototype.convertTicksToLabels.call(this)}})}},{45:45}],56:[function(t,e,n){"use strict";var h=t(45),i=t(34);e.exports=function(d){var t={position:"left",ticks:{callback:i.formatters.logarithmic}},e=d.Scale.extend({determineDataLimits:function(){function o(t){return e?t.xAxisID===r.id:t.yAxisID===r.id}var r=this,n=r.options,s=r.chart,t=s.data.datasets,e=r.isHorizontal();r.min=null,r.max=null,r.minNotZero=null;var l,i=n.stacked;void 0===i&&h.each(t,function(t,e){var n;i||(n=s.getDatasetMeta(e),s.isDatasetVisible(e)&&o(n)&&void 0!==n.stack&&(i=!0))}),n.stacked||i?(l={},h.each(t,function(t,e){var i=s.getDatasetMeta(e),a=[i.type,void 0===n.stacked&&void 0===i.stack?e:"",i.stack].join(".");s.isDatasetVisible(e)&&o(i)&&(void 0===l[a]&&(l[a]=[]),h.each(t.data,function(t,e){var n=l[a],t=+r.getRightValue(t);isNaN(t)||i.data[e].hidden||t<0||(n[e]=n[e]||0,n[e]+=t)}))}),h.each(l,function(t){var e;0<t.length&&(e=h.min(t),t=h.max(t),r.min=null===r.min?e:Math.min(r.min,e),r.max=null===r.max?t:Math.max(r.max,t))})):h.each(t,function(t,e){var n=s.getDatasetMeta(e);s.isDatasetVisible(e)&&o(n)&&h.each(t.data,function(t,e){t=+r.getRightValue(t);isNaN(t)||n.data[e].hidden||t<0||((null===r.min||t<r.min)&&(r.min=t),(null===r.max||t>r.max)&&(r.max=t),0!=t&&(null===r.minNotZero||t<r.minNotZero)&&(r.minNotZero=t))})}),this.handleTickRangeOptions()},handleTickRangeOptions:function(){var t=this,e=t.options.ticks,n=h.valueOrDefault;t.min=n(e.min,t.min),t.max=n(e.max,t.max),t.min===t.max&&(0!==t.min&&null!==t.min?(t.min=Math.pow(10,Math.floor(h.log10(t.min))-1),t.max=Math.pow(10,Math.floor(h.log10(t.max))+1)):(t.min=1,t.max=10)),null===t.min&&(t.min=Math.pow(10,Math.floor(h.log10(t.max))-1)),null===t.max&&(t.max=0!==t.min?Math.pow(10,Math.floor(h.log10(t.min))+1):10),null===t.minNotZero&&(0<t.min?t.minNotZero=t.min:t.max<1?t.minNotZero=Math.pow(10,Math.floor(h.log10(t.max))):t.minNotZero=1)},buildTicks:function(){var t=this,e=t.options.ticks,n=!t.isHorizontal(),i={min:e.min,max:e.max},i=t.ticks=function(t,e){var n,i,a=[],o=h.valueOrDefault,r=o(t.min,Math.pow(10,Math.floor(h.log10(e.min)))),s=Math.floor(h.log10(e.max)),l=Math.ceil(e.max/Math.pow(10,s));0===r?(n=Math.floor(h.log10(e.minNotZero)),i=Math.floor(e.minNotZero/Math.pow(10,n)),a.push(r),r=i*Math.pow(10,n)):(n=Math.floor(h.log10(r)),i=Math.floor(r/Math.pow(10,n)));for(var u=n<0?Math.pow(10,Math.abs(n)):1;a.push(r),10===++i&&(i=1,u=0<=++n?1:u),r=Math.round(i*Math.pow(10,n)*u)/u,n<s||n===s&&i<l;);return t=o(t.max,r),a.push(t),a}(i,t);t.max=h.max(i),t.min=h.min(i),e.reverse?(n=!n,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),n&&i.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),d.Scale.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){return this.getPixelForValue(this.tickValues[t])},_getFirstTickValue:function(t){var e=Math.floor(h.log10(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},getPixelForValue:function(t){var e,n,i,a,o=this,r=o.options.ticks.reverse,s=h.log10,l=o._getFirstTickValue(o.minNotZero),u=0;return t=+o.getRightValue(t),a=r?(n=o.end,i=o.start,-1):(n=o.start,i=o.end,1),r=o.isHorizontal()?(e=o.width,r?o.right:o.left):(e=o.height,a*=-1,r?o.top:o.bottom),t!==n&&(0===n&&(e-=u=h.getValueOrDefault(o.options.ticks.fontSize,d.defaults.global.defaultFontSize),n=l),0!==t&&(u+=e/(s(i)-s(n))*(s(t)-s(n))),r+=a*u),r},getValueForPixel:function(t){var e,n,i=this,a=i.options.ticks.reverse,o=h.log10,r=i._getFirstTickValue(i.minNotZero),s=a?(n=i.end,i.start):(n=i.start,i.end),t=i.isHorizontal()?(e=i.width,a?i.right-t:t-i.left):(e=i.height,a?t-i.top:i.bottom-t);return t!==n&&(0===n&&(t-=i=h.getValueOrDefault(i.options.ticks.fontSize,d.defaults.global.defaultFontSize),e-=i,n=r),t*=o(s)-o(n),t/=e,t=Math.pow(10,o(n)+t)),t}});d.scaleService.registerScaleType("logarithmic",e,t)}},{34:34,45:45}],57:[function(t,e,n){"use strict";var o=t(25),p=t(45),s=t(34);e.exports=function(t){function c(t){var e=t.options;return e.angleLines.display||e.pointLabels.display?t.chart.data.labels.length:0}function f(t){var e=t.options.pointLabels,n=p.valueOrDefault(e.fontSize,m.defaultFontSize),t=p.valueOrDefault(e.fontStyle,m.defaultFontStyle),e=p.valueOrDefault(e.fontFamily,m.defaultFontFamily);return{size:n,style:t,family:e,font:p.fontString(n,t,e)}}function g(t,e,n,i,a){return t===i||t===a?{start:e-n/2,end:e+n/2}:t<i||a<t?{start:e-n-5,end:e}:{start:e,end:e+n+5}}function n(t){var e,n=f(t),i=Math.min(t.height/2,t.width/2),a={r:t.width,l:0,t:t.height,b:0},o={};t.ctx.font=n.font,t._pointLabelSizes=[];for(var r=c(t),s=0;s<r;s++){e=t.getPointPosition(s,i),l=t.ctx,d=n.size,u=t.pointLabels[s]||"",h=p.isArray(u)?{w:p.longestText(l,l.font,u),h:u.length*d+1.5*(u.length-1)*d}:{w:l.measureText(u).width,h:d},t._pointLabelSizes[s]=h;var l=t.getIndexAngle(s),u=p.toDegrees(l)%360,d=g(u,e.x,h.w,0,180),h=g(u,e.y,h.h,90,270);d.start<a.l&&(a.l=d.start,o.l=l),d.end>a.r&&(a.r=d.end,o.r=l),h.start<a.t&&(a.t=h.start,o.t=l),h.end>a.b&&(a.b=h.end,o.b=l)}t.setReductions(i,a,o)}function i(t){var e=t.ctx,n=t.options,i=n.angleLines,a=n.pointLabels;e.lineWidth=i.lineWidth,e.strokeStyle=i.color;var o=t.getDistanceFromCenterForValue(n.ticks.reverse?t.min:t.max),r=f(t);e.textBaseline="top";for(var s,l,u,d,h=c(t)-1;0<=h;h--)i.display&&(u=t.getPointPosition(h,o),e.beginPath(),e.moveTo(t.xCenter,t.yCenter),e.lineTo(u.x,u.y),e.stroke(),e.closePath()),a.display&&(s=t.getPointPosition(h,o+5),d=p.valueAtIndexOrDefault(a.fontColor,h,m.defaultFontColor),e.font=r.font,e.fillStyle=d,l=t.getIndexAngle(h),u=p.toDegrees(l),e.textAlign=0===(d=u)||180===d?"center":d<180?"left":"right",l=u,d=t._pointLabelSizes[h],u=s,90===l||270===l?u.y-=d.h/2:(270<l||l<90)&&(u.y-=d.h),function(t,e,n,i){if(p.isArray(e))for(var a=n.y,o=1.5*i,r=0;r<e.length;++r)t.fillText(e[r],n.x,a),a+=o;else t.fillText(e,n.x,n.y)}(e,t.pointLabels[h]||"",s,r.size))}function r(t){return p.isNumber(t)?t:0}var m=o.global,e={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:s.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}},a=t.LinearScaleBase.extend({setDimensions:function(){var t=this,e=t.options,n=e.ticks;t.width=t.maxWidth,t.height=t.maxHeight,t.xCenter=Math.round(t.width/2),t.yCenter=Math.round(t.height/2);var i=p.min([t.height,t.width]),a=p.valueOrDefault(n.fontSize,m.defaultFontSize);t.drawingArea=e.display?i/2-(a/2+n.backdropPaddingY):i/2},determineDataLimits:function(){var i=this,a=i.chart,o=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;p.each(a.data.datasets,function(t,e){var n;a.isDatasetVisible(e)&&(n=a.getDatasetMeta(e),p.each(t.data,function(t,e){t=+i.getRightValue(t);isNaN(t)||n.data[e].hidden||(o=Math.min(t,o),r=Math.max(t,r))}))}),i.min=o===Number.POSITIVE_INFINITY?0:o,i.max=r===Number.NEGATIVE_INFINITY?0:r,i.handleTickRangeOptions()},getTickLimit:function(){var t=this.options.ticks,e=p.valueOrDefault(t.fontSize,m.defaultFontSize);return Math.min(t.maxTicksLimit||11,Math.ceil(this.drawingArea/(1.5*e)))},convertTicksToLabels:function(){t.LinearScaleBase.prototype.convertTicksToLabels.call(this),this.pointLabels=this.chart.data.labels.map(this.options.pointLabels.callback,this)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t,e;this.options.pointLabels.display?n(this):(t=this,e=Math.min(t.height/2,t.width/2),t.drawingArea=Math.round(e),t.setCenterPoint(0,0,0,0))},setReductions:function(t,e,n){var i=e.l/Math.sin(n.l),a=Math.max(e.r-this.width,0)/Math.sin(n.r),o=-e.t/Math.cos(n.t),n=-Math.max(e.b-this.height,0)/Math.cos(n.b),i=r(i),a=r(a),o=r(o),n=r(n);this.drawingArea=Math.min(Math.round(t-(i+a)/2),Math.round(t-(o+n)/2)),this.setCenterPoint(i,a,o,n)},setCenterPoint:function(t,e,n,i){var a=this,e=a.width-e-a.drawingArea,t=t+a.drawingArea,n=n+a.drawingArea,i=a.height-i-a.drawingArea;a.xCenter=Math.round((t+e)/2+a.left),a.yCenter=Math.round((n+i)/2+a.top)},getIndexAngle:function(t){return t*(2*Math.PI/c(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){if(null===t)return 0;var e=this.drawingArea/(this.max-this.min);return this.options.ticks.reverse?(this.max-t)*e:(t-this.min)*e},getPointPosition:function(t,e){t=this.getIndexAngle(t)-Math.PI/2;return{x:Math.round(Math.cos(t)*e)+this.xCenter,y:Math.round(Math.sin(t)*e)+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(){var t=this.min,e=this.max;return this.getPointPositionForValue(0,this.beginAtZero?0:t<0&&e<0?e:0<t&&0<e?t:0)},draw:function(){var a,o,r,t,e,s,l=this,n=l.options,u=n.gridLines,d=n.ticks,h=p.valueOrDefault;n.display&&(a=l.ctx,o=this.getIndexAngle(0),r=h(d.fontSize,m.defaultFontSize),t=h(d.fontStyle,m.defaultFontStyle),e=h(d.fontFamily,m.defaultFontFamily),s=p.fontString(r,t,e),p.each(l.ticks,function(t,e){var n,i;(0<e||d.reverse)&&(n=l.getDistanceFromCenterForValue(l.ticksAsNumbers[e]),u.display&&0!==e&&function(t,e,n,i){var a=t.ctx;if(a.strokeStyle=p.valueAtIndexOrDefault(e.color,i-1),a.lineWidth=p.valueAtIndexOrDefault(e.lineWidth,i-1),t.options.gridLines.circular)a.beginPath(),a.arc(t.xCenter,t.yCenter,n,0,2*Math.PI),a.closePath(),a.stroke();else{var o=c(t);if(0!==o){a.beginPath();var r=t.getPointPosition(0,n);a.moveTo(r.x,r.y);for(var s=1;s<o;s++)r=t.getPointPosition(s,n),a.lineTo(r.x,r.y);a.closePath(),a.stroke()}}}(l,u,n,e),d.display&&(i=h(d.fontColor,m.defaultFontColor),a.font=s,a.save(),a.translate(l.xCenter,l.yCenter),a.rotate(o),d.showLabelBackdrop&&(e=a.measureText(t).width,a.fillStyle=d.backdropColor,a.fillRect(-e/2-d.backdropPaddingX,-n-r/2-d.backdropPaddingY,e+2*d.backdropPaddingX,r+2*d.backdropPaddingY)),a.textAlign="center",a.textBaseline="middle",a.fillStyle=i,a.fillText(t,0,-n),a.restore()))}),(n.angleLines.display||n.pointLabels.display)&&i(l))}});t.scaleService.registerScaleType("radialLinear",a,e)}},{25:25,34:34,45:45}],58:[function(t,e,n){"use strict";function m(t,e){return t-e}function p(t){for(var e,n={},i=[],a=0,o=t.length;a<o;++a)n[e=t[a]]||(n[e]=!0,i.push(e));return i}function b(t,e,n,i){var a=function(t,e,n){for(var i,a,o,r=0,s=t.length-1;0<=r&&r<=s;){if(a=t[(i=r+s>>1)-1]||null,o=t[i],!a)return{lo:null,hi:o};if(o[e]<n)r=1+i;else{if(!(a[e]>n))return{lo:a,hi:o};s=i-1}}return{lo:o,hi:null}}(t,e,n),o=a.lo?a.hi?a.lo:t[t.length-2]:t[0],a=a.lo?a.hi||t[t.length-1]:t[1],t=a[e]-o[e],t=t?(n-o[e])/t:0,t=(a[i]-o[i])*t;return o[i]+t}function x(t,e){var n=e.parser,e=e.parser||e.format;return"function"==typeof n?n(t):"string"==typeof t&&"string"==typeof e?M(t,e):!(t=!(t instanceof M)?M(t):t).isValid()&&"function"==typeof e?e(t):t}function _(t,e){if(v.isNullOrUndef(t))return null;var n=e.options.time,t=x(e.getRightValue(t),n);return t.isValid()?(n.round&&t.startOf(n.round),t.valueOf()):null}function k(t){for(var e=C.indexOf(t)+1,n=C.length;e<n;++e)if(D[C[e]].common)return C[e]}function w(t,e,n,i){var a,o=i.time,r=o.unit||function(t,e,n,i){for(var a,o,r=C.length,s=C.indexOf(t);s<r-1;++s)if(o=(a=D[C[s]]).steps?a.steps[a.steps.length-1]:S,a.common&&Math.ceil((n-e)/(o*a.size))<=i)return C[s];return C[r-1]}(o.minUnit,t,e,n),s=k(r),l=v.valueOrDefault(o.stepSize,o.unitStepSize),u="week"===r&&o.isoWeekday,d=i.ticks.major.enabled,h=D[r],i=M(t),c=M(e),f=[],l=l||function(t,e,n,i){var a,o,r,s=e-t,l=(n=D[n]).size,u=n.steps;if(!u)return Math.ceil(s/(i*l));for(a=0,o=u.length;a<o&&(r=u[a],!(Math.ceil(s/(l*r))<=i));++a);return r}(t,e,r,n);for(u&&(i=i.isoWeekday(u),c=c.isoWeekday(u)),i=i.startOf(u?"day":r),(c=c.startOf(u?"day":r))<e&&c.add(1,r),a=M(i),d&&s&&!u&&!o.round&&(a.startOf(s),a.add(~~((i-a)/(h.size*l))*l,r));a<c;a.add(l,r))f.push(+a);return f.push(+a),f}var M="function"==typeof(M=t(6))?M:window.moment,a=t(25),v=t(45),y=Number.MIN_SAFE_INTEGER||-9007199254740991,S=Number.MAX_SAFE_INTEGER||9007199254740991,D={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},C=Object.keys(D);e.exports=function(e){var t=e.Scale.extend({initialize:function(){if(!M)throw new Error("Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com");this.mergeTicksOptions(),e.Scale.prototype.initialize.call(this)},update:function(){var t=this.options;return t.time&&t.time.format&&console.warn("options.time.format is deprecated and replaced by options.time.parser."),e.Scale.prototype.update.apply(this,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),e.Scale.prototype.getRightValue.call(this,t)},determineDataLimits:function(){for(var t,e,n,i,a=this,o=a.chart,r=a.options.time,s=r.unit||"day",l=S,u=y,d=[],h=[],c=[],f=0,g=o.data.labels.length;f<g;++f)c.push(_(o.data.labels[f],a));for(f=0,g=(o.data.datasets||[]).length;f<g;++f)if(o.isDatasetVisible(f))if(n=o.data.datasets[f].data,v.isObject(n[0]))for(h[f]=[],t=0,e=n.length;t<e;++t)i=_(n[t],a),d.push(i),h[f][t]=i;else d.push.apply(d,c),h[f]=c.slice(0);else h[f]=[];c.length&&(c=p(c).sort(m),l=Math.min(l,c[0]),u=Math.max(u,c[c.length-1])),d.length&&(d=p(d).sort(m),l=Math.min(l,d[0]),u=Math.max(u,d[d.length-1])),l=_(r.min,a)||l,u=_(r.max,a)||u,l=l===S?+M().startOf(s):l,u=u===y?+M().endOf(s)+1:u,a.min=Math.min(l,u),a.max=Math.max(l+1,u),a._horizontal=a.isHorizontal(),a._table=[],a._timestamps={data:d,datasets:h,labels:c}},buildTicks:function(){var t,e,n,i,a,o,r,s,l,u,d,h,c=this,f=c.min,g=c.max,m=c.options,p=m.time,v=[],y=[];switch(m.ticks.source){case"data":v=c._timestamps.data;break;case"labels":v=c._timestamps.labels;break;default:v=w(f,g,c.getLabelCapacity(f),m)}for("ticks"===m.bounds&&v.length&&(f=v[0],g=v[v.length-1]),f=_(p.min,c)||f,g=_(p.max,c)||g,t=0,e=v.length;t<e;++t)f<=(n=v[t])&&n<=g&&y.push(n);return c.min=f,c.max=g,c._unit=p.unit||function(t,e,n,i){for(var a,o=M.duration(M(i).diff(M(n))),r=C.length-1;r>=C.indexOf(e);r--)if(a=C[r],D[a].common&&o.as(a)>=t.length)return a;return C[e?C.indexOf(e):0]}(y,p.minUnit,c.min,c.max),c._majorUnit=k(c._unit),c._table=function(t,e,n,i){if("linear"===i||!t.length)return[{time:e,pos:0},{time:n,pos:1}];for(var a,o,r,s=[],l=[e],u=0,d=t.length;u<d;++u)e<(o=t[u])&&o<n&&l.push(o);for(l.push(n),u=0,d=l.length;u<d;++u)r=l[u+1],a=l[u-1],o=l[u],void 0!==a&&void 0!==r&&Math.round((r+a)/2)===o||s.push({time:o,pos:u/(d-1)});return s}(c._timestamps.data,f,g,m.distribution),c._offsets=(i=c._table,a=y,o=f,r=g,h=d=0,(s=m).offset&&a.length&&(s.time.min||(l=1<a.length?a[1]:r,u=a[0],d=(b(i,"time",l,"pos")-b(i,"time",u,"pos"))/2),s.time.max||(l=a[a.length-1],u=1<a.length?a[a.length-2]:o,h=(b(i,"time",l,"pos")-b(i,"time",u,"pos"))/2)),{left:d,right:h}),c._labelFormat=function(t,e){for(var n,i,a=t.length,o=0;o<a;o++){if(0!==(n=x(t[o],e)).millisecond())return"MMM D, YYYY h:mm:ss.SSS a";0===n.second()&&0===n.minute()&&0===n.hour()||(i=!0)}return i?"MMM D, YYYY h:mm:ss a":"MMM D, YYYY"}(c._timestamps.data,p),function(t,e){for(var n,i,a=[],o=0,r=t.length;o<r;++o)n=t[o],i=!!e&&n===+M(n).startOf(e),a.push({value:n,major:i});return a}(y,c._majorUnit)},getLabelForIndex:function(t,e){var n=this.chart.data,i=this.options.time,a=n.labels&&t<n.labels.length?n.labels[t]:"",t=n.datasets[e].data[t];return v.isObject(t)&&(a=this.getRightValue(t)),i.tooltipFormat?x(a,i).format(i.tooltipFormat):"string"==typeof a?a:x(a,i).format(this._labelFormat)},tickFormatFunction:function(t,e,n,i){var a=this.options,o=t.valueOf(),r=a.time.displayFormats,s=r[this._unit],l=this._majorUnit,u=r[l],d=t.clone().startOf(l).valueOf(),r=a.ticks.major,d=r.enabled&&l&&u&&o===d,s=t.format(i||(d?u:s)),a=d?r:a.ticks.minor,a=v.valueOrDefault(a.callback,a.userCallback);return a?a(s,e,n):s},convertTicksToLabels:function(t){for(var e=[],n=0,i=t.length;n<i;++n)e.push(this.tickFormatFunction(M(t[n].value),n,t));return e},getPixelForOffset:function(t){var e=this,n=e._horizontal?e.width:e.height,i=e._horizontal?e.left:e.top,t=b(e._table,"time",t,"pos");return i+n*(e._offsets.left+t)/(e._offsets.left+1+e._offsets.right)},getPixelForValue:function(t,e,n){var i=null;if(null!==(i=null===(i=void 0!==e&&void 0!==n?this._timestamps.datasets[n][e]:i)?_(t,this):i))return this.getPixelForOffset(i)},getPixelForTick:function(t){var e=this.getTicks();return 0<=t&&t<e.length?this.getPixelForOffset(e[t].value):null},getValueForPixel:function(t){var e=this,n=e._horizontal?e.width:e.height,i=e._horizontal?e.left:e.top,n=(n?(t-i)/n:0)*(e._offsets.left+1+e._offsets.left)-e._offsets.right,n=b(e._table,"pos",n,"time");return M(n)},getLabelWidth:function(t){var e=this.options.ticks,n=this.ctx.measureText(t).width,i=v.toRadians(e.maxRotation),t=Math.cos(i),i=Math.sin(i);return n*t+v.valueOrDefault(e.fontSize,a.global.defaultFontSize)*i},getLabelCapacity:function(t){var e=this.options.time.displayFormats.millisecond,t=this.tickFormatFunction(M(t),0,[],e),e=this.getLabelWidth(t),t=this.isHorizontal()?this.width:this.height,e=Math.floor(t/e);return 0<e?e:1}});e.scaleService.registerScaleType("time",t,{position:"bottom",distribution:"linear",bounds:"data",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}})}},{25:25,45:45,6:6}]},{},[7])(7)}),e.resolve()});

Anon7 - 2022
AnonSec Team