/home/arranoyd/www/wp-content/plugins/google-analytics-for-wordpress/lite/assets/vue/js/reports.js
(function(t){function e(e){for(var r,a,s=e[0],l=e[1],c=e[2],d=0,h=[];d<s.length;d++)a=s[d],n[a]&&h.push(n[a][0]),n[a]=0;for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(t[r]=l[r]);u&&u(e);while(h.length)h.shift()();return o.push.apply(o,c||[]),i()}function i(){for(var t,e=0;e<o.length;e++){for(var i=o[e],r=!0,s=1;s<i.length;s++){var l=i[s];0!==n[l]&&(r=!1)}r&&(o.splice(e--,1),t=a(a.s=i[0]))}return t}var r={},n={reports:0},o=[];function a(e){if(r[e])return r[e].exports;var i=r[e]={i:e,l:!1,exports:{}};return t[e].call(i.exports,i,i.exports,a),i.l=!0,i.exports}a.m=t,a.c=r,a.d=function(t,e,i){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},a.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(a.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)a.d(i,r,function(e){return t[e]}.bind(null,r));return i},a.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="";var s=window["monsterinsightsjsonp"]=window["monsterinsightsjsonp"]||[],l=s.push.bind(s);s.push=e,s=s.slice();for(var c=0;c<s.length;c++)e(s[c]);var u=l;o.push([2,"chunk-vendors","chunk-common"]),i()})({"0097":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAPfSURBVHgBzVhdbtNAEJ5dh1AhUSWCA7gnIE3hGecETU/Q9ARtU4HEU90nJFAacoKmJ2g5QcwbEv0xJ2h4BskREkgt9S4zsR28G9v5cys+KfJm7d35PDvzeXYZLIi1Q0/G/g7w1wcJfQnik7jhp+6bch9mAIMFoRFKgiul37nYe9qF/4RQhD4SO5hEjKfdqNheqfLWMyE/mIwZR89bXrvS9kowCyEiUliGnvEQLl+88yowA5gPNSlhF5tO0n3JYMeQcJn2siyJDBLpYTMaMOC3UPvyuuwmTaAv2XmzPJoTPWEaUtj43psJQ/v+NdT0oB/zUOEhnMTIEEqiAL1ZPUVwd8v98+aThs9gRVL2qaAXP9GXTyFUbXttHJhkeG5SETHBYBXl4FS7VSkI2I93jNxbbf1oUNBNmDtz+abBWss7Qat1hQTG3dmrskPtkYeQjMKUXMwkHGjzLeQpgs9hS18+acDIEUNC5B1Q4wbQxbWzvbKdNylcvgH3YUvrNkMOASH0jpoFDLq07tS8C1LB8ohjxWTIgYVpfhW/SVkREYqAgmajhuxrc88dU4EkqHZFccnkvOhb2rOOToaQt6dCG068j13/3uAMjPV4p5TiY9okeZPSbTHOn3GMFzPeyQXPdH+epITPHaVDgkVBbcb7bgswJISfhE38efi7Wjv8ubkoqcT5Hoypd4kIKdJNaRk27fCeiWH+QTeQRgo1pQ7JsPX5YrYUQmkYEZVBJQiTSFGb+uadj0CElJvRx45KCFJUGmyMe2KM1AQyifMl1EUDVsU1ZbE4Qg1aRVfO/a2aBZX33y3DKPRiXS6nYjz+EBfCgnsC51xLAPmNo6sVbzDG1+GeoNuSUjooO1yvUayca+lEhDaseB9x4UkSXijCNtwxjOLYd9ElLsO0xwxQvrxUiC9S80zC0DsMGopNCR26/qsYtWwDKsKDjBtkTU4KjBcSOnzOsM+by8eZZHB7ZSzDJcRskRxcNMsr1B4JY1LRZAhow2TYkKHoOozHw+rQVDpjOjciFBZNHeVBdCvVwFkbO5hSgckzuIk40utpBG6zy90xQgSfcRsvrkaqnrWxm0bRKxiPtEwoMQ1lbBAWtmpOH4yVHKplj+luDWbo+jdwMO2JBr0EX4JtJLIzPhXQ1qimF4OJhw2ZpAI4VFwJIVz4VXBdOwh8WhZ49MfkhmGFomeljHfRMxtJlWnq6QfFTbgNzluTOrRMadk78Tim2vIa+NR+hremAi0RZXK0IUzD1OdDRIyxoYLPKpgOCW88k3IhFGEYXwLqOPAl1eOSzn3C1A/TfoBB7GD7a/EGTj/PeKT3F48e82eqTZAnAAAAAElFTkSuQmCC"},1134:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAASCSURBVHgB7VlBcts2FH0A63amM52a03ZPnyCylb3VE9Q9QZUT2I6bRVeWVl0kiq0TWL5BeoLI+9hlT2B23XjoVWdah0A+SMohAVAiRMpeRG+GY5OEgP/A/z8ePoA11vi8wdASOi//6XHOOwx8VzLQX2wiuxRu6YogEUmIv4QQ0/DFD1O0gEYEOoN4k3+LfSZxgE/G1oUiNE3+xzD8zY+wJJYikBt+nBveHBKTZYk4E+i+er8H7p3BfcYXIZIyGV4dfT9x+ZETgZ2T+KRq1iX5Ob17Q38vvATh3Qai8NBXvo/OSby5cYcg8Sg2mOhJ8J9YxQRQ/AyuDv0h2iZAxp+RgX1jwMyXx4JjMjO4Vn+juE+jH5MBAcxOJ5dH/rM6/dQiYDNezTiXGL478k/RAE9H8YBm/dh4UZPEQgJkvArWQblvRILhR5rxCC2AXCygyXirfw0a95Qm6HDeb+cS2Bm97zOWBuw92jZ+hioSEPj58lf/TdXvKgl0fo8D7yu8RaHDVRl/P6adxG3CsFUVX7yqM+/L1C+D4jMX47uvYzm7UBOqbzUGspV7hs0vhCVGclgJqNmnb9MvPiN/HK5q5otQY0gaq/iMgvxApWJbeyuBfPY/dUCuQ8E0wAPhijJbmp4L4EJY1x+7CzH0SvfajDwIpBgXbxnj+7ZmBgGlKqEFEc3IBA8MwfkEWiw8fRn39HYGAZLE5UYMlSlslVBZR0D8UXwmuOjo7QwCpOefFO+lwAUeCUzKaemesZ7exowBpqVOjhCPBJF42tjsid7GFsSBdh/hsbBhjG2kUhuBUiMXhdk2LGPXItA6lKbCimAjUGJdtQK6QAnC7ig+S1d4B1jGNrzBICDNRgGWAMmBZ6XVlKQJicNrJc9rd3K3OB7NNCrLWYeLxMi9daAWPxJm20xbxdXeggTedR234p4+tvzbaKM/oLpNKe8z7u1iSaggVBpKyWF1W3gV1HErhvLYUkojpZsrseDlRhJ7TeNAKczL5/62s1sx7Gm2TfUmBoF3L3zVqKRBSAn20QJytyK9L86Lz8mtfL1t7mL3E5cq4sy2EqxpVNZUgssg+xrf9cmttpVR6qL/jcIAudhx+R5TW39WAqQE9Q6DndFNO1W4HEQkvHrub9l2eblLBcVnCeySvnJP3H19QyRKM3+b/IftJnXMOsj34telh4xKLIf2EkvlSpwwPoAWC2qT77oYuaBQSLhH6mKo3lBVEkh1iIDOOlgVCVsVJMWCvfhcLZTVY8oBjRWQqDJeLYKLdoMLxRxljAOIctpDRsJNFlSAVuV96utPmJLlvE4hoXZxt/vqZkL7zV8sr5zL4un5wjein6fnwNLknBa+fp2+nMrrlYXYDLdIy+vJhUhEiH83onCQl9fJYHx9F8DjHU/Jg2yFrVrdx2R87ZTtfMAxtyzeAOn5AiWNeXVQG5w3NFVyoCHG1OeWq/EKS52RzaCKsZ4UAzpx2XX9Ivn5wvgDx2mTbWsjAkWoohPVbXppWYYqG1JJ5tzP802SOoIK1REUFwhtwmyNNdZwx0dpk/ibKAgl4wAAAABJRU5ErkJggg=="},2:function(t,e,i){t.exports=i("ed59")},"30ef":function(t,e,i){
/*!
 * Chart.js v2.9.3
 * https://www.chartjs.org
 * (c) 2019 Chart.js Contributors
 * Released under the MIT License
 */
(function(e,r){t.exports=r(function(){try{return i("c1df")}catch(t){}}())})(0,(function(t){"use strict";function e(t,e){return e={exports:{}},t(e,e.exports),e.exports}function i(t){return t&&t["default"]||t}t=t&&t.hasOwnProperty("default")?t["default"]:t;var r={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]},n=e((function(t){var e={};for(var i in r)r.hasOwnProperty(i)&&(e[r[i]]=i);var n=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var o in n)if(n.hasOwnProperty(o)){if(!("channels"in n[o]))throw new Error("missing channels property: "+o);if(!("labels"in n[o]))throw new Error("missing channel labels property: "+o);if(n[o].labels.length!==n[o].channels)throw new Error("channel and label counts mismatch: "+o);var a=n[o].channels,s=n[o].labels;delete n[o].channels,delete n[o].labels,Object.defineProperty(n[o],"channels",{value:a}),Object.defineProperty(n[o],"labels",{value:s})}function l(t,e){return Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)+Math.pow(t[2]-e[2],2)}n.rgb.hsl=function(t){var e,i,r,n=t[0]/255,o=t[1]/255,a=t[2]/255,s=Math.min(n,o,a),l=Math.max(n,o,a),c=l-s;return l===s?e=0:n===l?e=(o-a)/c:o===l?e=2+(a-n)/c:a===l&&(e=4+(n-o)/c),e=Math.min(60*e,360),e<0&&(e+=360),r=(s+l)/2,i=l===s?0:r<=.5?c/(l+s):c/(2-l-s),[e,100*i,100*r]},n.rgb.hsv=function(t){var e,i,r,n,o,a=t[0]/255,s=t[1]/255,l=t[2]/255,c=Math.max(a,s,l),u=c-Math.min(a,s,l),d=function(t){return(c-t)/6/u+.5};return 0===u?n=o=0:(o=u/c,e=d(a),i=d(s),r=d(l),a===c?n=r-i:s===c?n=1/3+e-r:l===c&&(n=2/3+i-e),n<0?n+=1:n>1&&(n-=1)),[360*n,100*o,100*c]},n.rgb.hwb=function(t){var e=t[0],i=t[1],r=t[2],o=n.rgb.hsl(t)[0],a=1/255*Math.min(e,Math.min(i,r));return r=1-1/255*Math.max(e,Math.max(i,r)),[o,100*a,100*r]},n.rgb.cmyk=function(t){var e,i,r,n,o=t[0]/255,a=t[1]/255,s=t[2]/255;return n=Math.min(1-o,1-a,1-s),e=(1-o-n)/(1-n)||0,i=(1-a-n)/(1-n)||0,r=(1-s-n)/(1-n)||0,[100*e,100*i,100*r,100*n]},n.rgb.keyword=function(t){var i=e[t];if(i)return i;var n,o=1/0;for(var a in r)if(r.hasOwnProperty(a)){var s=r[a],c=l(t,s);c<o&&(o=c,n=a)}return n},n.keyword.rgb=function(t){return r[t]},n.rgb.xyz=function(t){var e=t[0]/255,i=t[1]/255,r=t[2]/255;e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;var n=.4124*e+.3576*i+.1805*r,o=.2126*e+.7152*i+.0722*r,a=.0193*e+.1192*i+.9505*r;return[100*n,100*o,100*a]},n.rgb.lab=function(t){var e,i,r,o=n.rgb.xyz(t),a=o[0],s=o[1],l=o[2];return a/=95.047,s/=100,l/=108.883,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,l=l>.008856?Math.pow(l,1/3):7.787*l+16/116,e=116*s-16,i=500*(a-s),r=200*(s-l),[e,i,r]},n.hsl.rgb=function(t){var e,i,r,n,o,a=t[0]/360,s=t[1]/100,l=t[2]/100;if(0===s)return o=255*l,[o,o,o];i=l<.5?l*(1+s):l+s-l*s,e=2*l-i,n=[0,0,0];for(var c=0;c<3;c++)r=a+1/3*-(c-1),r<0&&r++,r>1&&r--,o=6*r<1?e+6*(i-e)*r:2*r<1?i:3*r<2?e+(i-e)*(2/3-r)*6:e,n[c]=255*o;return n},n.hsl.hsv=function(t){var e,i,r=t[0],n=t[1]/100,o=t[2]/100,a=n,s=Math.max(o,.01);return o*=2,n*=o<=1?o:2-o,a*=s<=1?s:2-s,i=(o+n)/2,e=0===o?2*a/(s+a):2*n/(o+n),[r,100*e,100*i]},n.hsv.rgb=function(t){var e=t[0]/60,i=t[1]/100,r=t[2]/100,n=Math.floor(e)%6,o=e-Math.floor(e),a=255*r*(1-i),s=255*r*(1-i*o),l=255*r*(1-i*(1-o));switch(r*=255,n){case 0:return[r,l,a];case 1:return[s,r,a];case 2:return[a,r,l];case 3:return[a,s,r];case 4:return[l,a,r];case 5:return[r,a,s]}},n.hsv.hsl=function(t){var e,i,r,n=t[0],o=t[1]/100,a=t[2]/100,s=Math.max(a,.01);return r=(2-o)*a,e=(2-o)*s,i=o*s,i/=e<=1?e:2-e,i=i||0,r/=2,[n,100*i,100*r]},n.hwb.rgb=function(t){var e,i,r,n,o,a,s,l=t[0]/360,c=t[1]/100,u=t[2]/100,d=c+u;switch(d>1&&(c/=d,u/=d),e=Math.floor(6*l),i=1-u,r=6*l-e,0!==(1&e)&&(r=1-r),n=c+r*(i-c),e){default:case 6:case 0:o=i,a=n,s=c;break;case 1:o=n,a=i,s=c;break;case 2:o=c,a=i,s=n;break;case 3:o=c,a=n,s=i;break;case 4:o=n,a=c,s=i;break;case 5:o=i,a=c,s=n;break}return[255*o,255*a,255*s]},n.cmyk.rgb=function(t){var e,i,r,n=t[0]/100,o=t[1]/100,a=t[2]/100,s=t[3]/100;return e=1-Math.min(1,n*(1-s)+s),i=1-Math.min(1,o*(1-s)+s),r=1-Math.min(1,a*(1-s)+s),[255*e,255*i,255*r]},n.xyz.rgb=function(t){var e,i,r,n=t[0]/100,o=t[1]/100,a=t[2]/100;return e=3.2406*n+-1.5372*o+-.4986*a,i=-.9689*n+1.8758*o+.0415*a,r=.0557*n+-.204*o+1.057*a,e=e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,e=Math.min(Math.max(0,e),1),i=Math.min(Math.max(0,i),1),r=Math.min(Math.max(0,r),1),[255*e,255*i,255*r]},n.xyz.lab=function(t){var e,i,r,n=t[0],o=t[1],a=t[2];return n/=95.047,o/=100,a/=108.883,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,e=116*o-16,i=500*(n-o),r=200*(o-a),[e,i,r]},n.lab.xyz=function(t){var e,i,r,n=t[0],o=t[1],a=t[2];i=(n+16)/116,e=o/500+i,r=i-a/200;var s=Math.pow(i,3),l=Math.pow(e,3),c=Math.pow(r,3);return i=s>.008856?s:(i-16/116)/7.787,e=l>.008856?l:(e-16/116)/7.787,r=c>.008856?c:(r-16/116)/7.787,e*=95.047,i*=100,r*=108.883,[e,i,r]},n.lab.lch=function(t){var e,i,r,n=t[0],o=t[1],a=t[2];return e=Math.atan2(a,o),i=360*e/2/Math.PI,i<0&&(i+=360),r=Math.sqrt(o*o+a*a),[n,r,i]},n.lch.lab=function(t){var e,i,r,n=t[0],o=t[1],a=t[2];return r=a/360*2*Math.PI,e=o*Math.cos(r),i=o*Math.sin(r),[n,e,i]},n.rgb.ansi16=function(t){var e=t[0],i=t[1],r=t[2],o=1 in arguments?arguments[1]:n.rgb.hsv(t)[2];if(o=Math.round(o/50),0===o)return 30;var a=30+(Math.round(r/255)<<2|Math.round(i/255)<<1|Math.round(e/255));return 2===o&&(a+=60),a},n.hsv.ansi16=function(t){return n.rgb.ansi16(n.hsv.rgb(t),t[2])},n.rgb.ansi256=function(t){var e=t[0],i=t[1],r=t[2];if(e===i&&i===r)return e<8?16:e>248?231:Math.round((e-8)/247*24)+232;var n=16+36*Math.round(e/255*5)+6*Math.round(i/255*5)+Math.round(r/255*5);return n},n.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];var i=.5*(1+~~(t>50)),r=(1&e)*i*255,n=(e>>1&1)*i*255,o=(e>>2&1)*i*255;return[r,n,o]},n.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}var i;t-=16;var r=Math.floor(t/36)/5*255,n=Math.floor((i=t%36)/6)/5*255,o=i%6/5*255;return[r,n,o]},n.rgb.hex=function(t){var e=((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2])),i=e.toString(16).toUpperCase();return"000000".substring(i.length)+i},n.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var i=e[0];3===e[0].length&&(i=i.split("").map((function(t){return t+t})).join(""));var r=parseInt(i,16),n=r>>16&255,o=r>>8&255,a=255&r;return[n,o,a]},n.rgb.hcg=function(t){var e,i,r=t[0]/255,n=t[1]/255,o=t[2]/255,a=Math.max(Math.max(r,n),o),s=Math.min(Math.min(r,n),o),l=a-s;return e=l<1?s/(1-l):0,i=l<=0?0:a===r?(n-o)/l%6:a===n?2+(o-r)/l:4+(r-n)/l+4,i/=6,i%=1,[360*i,100*l,100*e]},n.hsl.hcg=function(t){var e=t[1]/100,i=t[2]/100,r=1,n=0;return r=i<.5?2*e*i:2*e*(1-i),r<1&&(n=(i-.5*r)/(1-r)),[t[0],100*r,100*n]},n.hsv.hcg=function(t){var e=t[1]/100,i=t[2]/100,r=e*i,n=0;return r<1&&(n=(i-r)/(1-r)),[t[0],100*r,100*n]},n.hcg.rgb=function(t){var e=t[0]/360,i=t[1]/100,r=t[2]/100;if(0===i)return[255*r,255*r,255*r];var n=[0,0,0],o=e%1*6,a=o%1,s=1-a,l=0;switch(Math.floor(o)){case 0:n[0]=1,n[1]=a,n[2]=0;break;case 1:n[0]=s,n[1]=1,n[2]=0;break;case 2:n[0]=0,n[1]=1,n[2]=a;break;case 3:n[0]=0,n[1]=s,n[2]=1;break;case 4:n[0]=a,n[1]=0,n[2]=1;break;default:n[0]=1,n[1]=0,n[2]=s}return l=(1-i)*r,[255*(i*n[0]+l),255*(i*n[1]+l),255*(i*n[2]+l)]},n.hcg.hsv=function(t){var e=t[1]/100,i=t[2]/100,r=e+i*(1-e),n=0;return r>0&&(n=e/r),[t[0],100*n,100*r]},n.hcg.hsl=function(t){var e=t[1]/100,i=t[2]/100,r=i*(1-e)+.5*e,n=0;return r>0&&r<.5?n=e/(2*r):r>=.5&&r<1&&(n=e/(2*(1-r))),[t[0],100*n,100*r]},n.hcg.hwb=function(t){var e=t[1]/100,i=t[2]/100,r=e+i*(1-e);return[t[0],100*(r-e),100*(1-r)]},n.hwb.hcg=function(t){var e=t[1]/100,i=t[2]/100,r=1-i,n=r-e,o=0;return n<1&&(o=(r-n)/(1-n)),[t[0],100*n,100*o]},n.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},n.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},n.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},n.gray.hsl=n.gray.hsv=function(t){return[0,0,t[0]]},n.gray.hwb=function(t){return[0,100,t[0]]},n.gray.cmyk=function(t){return[0,0,0,t[0]]},n.gray.lab=function(t){return[t[0],0,0]},n.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),i=(e<<16)+(e<<8)+e,r=i.toString(16).toUpperCase();return"000000".substring(r.length)+r},n.rgb.gray=function(t){var e=(t[0]+t[1]+t[2])/3;return[e/255*100]}}));n.rgb,n.hsl,n.hsv,n.hwb,n.cmyk,n.xyz,n.lab,n.lch,n.hex,n.keyword,n.ansi16,n.ansi256,n.hcg,n.apple,n.gray;function o(){for(var t={},e=Object.keys(n),i=e.length,r=0;r<i;r++)t[e[r]]={distance:-1,parent:null};return t}function a(t){var e=o(),i=[t];e[t].distance=0;while(i.length)for(var r=i.pop(),a=Object.keys(n[r]),s=a.length,l=0;l<s;l++){var c=a[l],u=e[c];-1===u.distance&&(u.distance=e[r].distance+1,u.parent=r,i.unshift(c))}return e}function s(t,e){return function(i){return e(t(i))}}function l(t,e){var i=[e[t].parent,t],r=n[e[t].parent][t],o=e[t].parent;while(e[o].parent)i.unshift(e[o].parent),r=s(n[e[o].parent][o],r),o=e[o].parent;return r.conversion=i,r}var c=function(t){for(var e=a(t),i={},r=Object.keys(e),n=r.length,o=0;o<n;o++){var s=r[o],c=e[s];null!==c.parent&&(i[s]=l(s,e))}return i},u={},d=Object.keys(n);function h(t){var e=function(e){return void 0===e||null===e?e:(arguments.length>1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}function g(t){var e=function(e){if(void 0===e||null===e)return e;arguments.length>1&&(e=Array.prototype.slice.call(arguments));var i=t(e);if("object"===typeof i)for(var r=i.length,n=0;n<r;n++)i[n]=Math.round(i[n]);return i};return"conversion"in t&&(e.conversion=t.conversion),e}d.forEach((function(t){u[t]={},Object.defineProperty(u[t],"channels",{value:n[t].channels}),Object.defineProperty(u[t],"labels",{value:n[t].labels});var e=c(t),i=Object.keys(e);i.forEach((function(i){var r=e[i];u[t][i]=g(r),u[t][i].raw=h(r)}))}));var p=u,f={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]},m={getRgba:v,getHsla:b,getRgb:y,getHsl:w,getHwb:x,getAlpha:_,hexString:C,rgbString:A,rgbaString:k,percentString:M,percentaString:O,hslString:P,hslaString:S,hwbString:R,keyword:T};function v(t){if(t){var e=/^#([a-fA-F0-9]{3,4})$/i,i=/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i,r=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i,n=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i,o=/(\w+)/,a=[0,0,0],s=1,l=t.match(e),c="";if(l){l=l[1],c=l[3];for(var u=0;u<a.length;u++)a[u]=parseInt(l[u]+l[u],16);c&&(s=Math.round(parseInt(c+c,16)/255*100)/100)}else if(l=t.match(i)){c=l[2],l=l[1];for(u=0;u<a.length;u++)a[u]=parseInt(l.slice(2*u,2*u+2),16);c&&(s=Math.round(parseInt(c,16)/255*100)/100)}else if(l=t.match(r)){for(u=0;u<a.length;u++)a[u]=parseInt(l[u+1]);s=parseFloat(l[4])}else if(l=t.match(n)){for(u=0;u<a.length;u++)a[u]=Math.round(2.55*parseFloat(l[u+1]));s=parseFloat(l[4])}else if(l=t.match(o)){if("transparent"==l[1])return[0,0,0,0];if(a=f[l[1]],!a)return}for(u=0;u<a.length;u++)a[u]=I(a[u],0,255);return s=s||0==s?I(s,0,1):1,a[3]=s,a}}function b(t){if(t){var e=/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,i=t.match(e);if(i){var r=parseFloat(i[4]),n=I(parseInt(i[1]),0,360),o=I(parseFloat(i[2]),0,100),a=I(parseFloat(i[3]),0,100),s=I(isNaN(r)?1:r,0,1);return[n,o,a,s]}}}function x(t){if(t){var e=/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,i=t.match(e);if(i){var r=parseFloat(i[4]),n=I(parseInt(i[1]),0,360),o=I(parseFloat(i[2]),0,100),a=I(parseFloat(i[3]),0,100),s=I(isNaN(r)?1:r,0,1);return[n,o,a,s]}}}function y(t){var e=v(t);return e&&e.slice(0,3)}function w(t){var e=b(t);return e&&e.slice(0,3)}function _(t){var e=v(t);return e?e[3]:(e=b(t))?e[3]:(e=x(t))?e[3]:void 0}function C(t,e){e=void 0!==e&&3===t.length?e:t[3];return"#"+D(t[0])+D(t[1])+D(t[2])+(e>=0&&e<1?D(Math.round(255*e)):"")}function A(t,e){return e<1||t[3]&&t[3]<1?k(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"}function k(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function M(t,e){if(e<1||t[3]&&t[3]<1)return O(t,e);var i=Math.round(t[0]/255*100),r=Math.round(t[1]/255*100),n=Math.round(t[2]/255*100);return"rgb("+i+"%, "+r+"%, "+n+"%)"}function O(t,e){var i=Math.round(t[0]/255*100),r=Math.round(t[1]/255*100),n=Math.round(t[2]/255*100);return"rgba("+i+"%, "+r+"%, "+n+"%, "+(e||t[3]||1)+")"}function P(t,e){return e<1||t[3]&&t[3]<1?S(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"}function S(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function R(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:"")+")"}function T(t){return B[t.slice(0,3)]}function I(t,e,i){return Math.min(Math.max(e,t),i)}function D(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}var B={};for(var j in f)B[f[j]]=j;var F=function(t){return t instanceof F?t:this instanceof F?(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=m.getRgba(t),e?this.setValues("rgb",e):(e=m.getHsla(t))?this.setValues("hsl",e):(e=m.getHwb(t))&&this.setValues("hwb",e)):"object"===typeof t&&(e=t,void 0!==e.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 F(t);var e};F.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%=360,t=t<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 m.hexString(this.values.rgb)},rgbString:function(){return m.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return m.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return m.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return m.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return m.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return m.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return m.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=[],i=0;i<t.length;i++){var r=t[i]/255;e[i]=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),i=t.luminosity();return e>i?(e+.05)/(i+.05):(i+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb,e=(299*t[0]+587*t[1]+114*t[2])/1e3;return e<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,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),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,i=(e[0]+t)%360;return e[0]=i<0?360+i:i,this.setValues("hsl",e),this},mix:function(t,e){var i=this,r=t,n=void 0===e?.5:e,o=2*n-1,a=i.alpha()-r.alpha(),s=((o*a===-1?o:(o+a)/(1+o*a))+1)/2,l=1-s;return this.rgb(s*i.red()+l*r.red(),s*i.green()+l*r.green(),s*i.blue()+l*r.blue()).alpha(i.alpha()*n+r.alpha()*(1-n))},toJSON:function(){return this.rgb()},clone:function(){var t,e,i=new F,r=this.values,n=i.values;for(var o in r)r.hasOwnProperty(o)&&(t=r[o],e={}.toString.call(t),"[object Array]"===e?n[o]=t.slice(0):"[object Number]"===e?n[o]=t:console.error("unexpected color value:",t));return i}},F.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},F.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},F.prototype.getValues=function(t){for(var e=this.values,i={},r=0;r<t.length;r++)i[t.charAt(r)]=e[t][r];return 1!==e.alpha&&(i.a=e.alpha),i},F.prototype.setValues=function(t,e){var i,r,n=this.values,o=this.spaces,a=this.maxes,s=1;if(this.valid=!0,"alpha"===t)s=e;else if(e.length)n[t]=e.slice(0,t.length),s=e[t.length];else if(void 0!==e[t.charAt(0)]){for(i=0;i<t.length;i++)n[t][i]=e[t.charAt(i)];s=e.a}else if(void 0!==e[o[t][0]]){var l=o[t];for(i=0;i<t.length;i++)n[t][i]=e[l[i]];s=e.alpha}if(n.alpha=Math.max(0,Math.min(1,void 0===s?n.alpha:s)),"alpha"===t)return!1;for(i=0;i<t.length;i++)r=Math.max(0,Math.min(a[t][i],n[t][i])),n[t][i]=Math.round(r);for(var c in o)c!==t&&(n[c]=p[t][c](n[t]));return!0},F.prototype.setSpace=function(t,e){var i=e[0];return void 0===i?this.getValues(t):("number"===typeof i&&(i=Array.prototype.slice.call(e)),this.setValues(t,i),this)},F.prototype.setChannel=function(t,e,i){var r=this.values[t];return void 0===i?r[e]:i===r[e]?this:(r[e]=i,this.setValues(t,r),this)},"undefined"!==typeof window&&(window.Color=F);var L=F,E={noop:function(){},uid:function(){var t=0;return function(){return t++}}(),isNullOrUndef:function(t){return null===t||"undefined"===typeof t},isArray:function(t){if(Array.isArray&&Array.isArray(t))return!0;var e=Object.prototype.toString.call(t);return"[object"===e.substr(0,7)&&"Array]"===e.substr(-6)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},isFinite:function(t){return("number"===typeof t||t instanceof Number)&&isFinite(t)},valueOrDefault:function(t,e){return"undefined"===typeof t?e:t},valueAtIndexOrDefault:function(t,e,i){return E.valueOrDefault(E.isArray(t)?t[e]:t,i)},callback:function(t,e,i){if(t&&"function"===typeof t.call)return t.apply(i,e)},each:function(t,e,i,r){var n,o,a;if(E.isArray(t))if(o=t.length,r)for(n=o-1;n>=0;n--)e.call(i,t[n],n);else for(n=0;n<o;n++)e.call(i,t[n],n);else if(E.isObject(t))for(a=Object.keys(t),o=a.length,n=0;n<o;n++)e.call(i,t[a[n]],a[n])},arrayEquals:function(t,e){var i,r,n,o;if(!t||!e||t.length!==e.length)return!1;for(i=0,r=t.length;i<r;++i)if(n=t[i],o=e[i],n instanceof Array&&o instanceof Array){if(!E.arrayEquals(n,o))return!1}else if(n!==o)return!1;return!0},clone:function(t){if(E.isArray(t))return t.map(E.clone);if(E.isObject(t)){for(var e={},i=Object.keys(t),r=i.length,n=0;n<r;++n)e[i[n]]=E.clone(t[i[n]]);return e}return t},_merger:function(t,e,i,r){var n=e[t],o=i[t];E.isObject(n)&&E.isObject(o)?E.merge(n,o,r):e[t]=E.clone(o)},_mergerIf:function(t,e,i){var r=e[t],n=i[t];E.isObject(r)&&E.isObject(n)?E.mergeIf(r,n):e.hasOwnProperty(t)||(e[t]=E.clone(n))},merge:function(t,e,i){var r,n,o,a,s,l=E.isArray(e)?e:[e],c=l.length;if(!E.isObject(t))return t;for(i=i||{},r=i.merger||E._merger,n=0;n<c;++n)if(e=l[n],E.isObject(e))for(o=Object.keys(e),s=0,a=o.length;s<a;++s)r(o[s],t,e,i);return t},mergeIf:function(t,e){return E.merge(t,e,{merger:E._mergerIf})},extend:Object.assign||function(t){return E.merge(t,[].slice.call(arguments,1),{merger:function(t,e,i){e[t]=i[t]}})},inherits:function(t){var e=this,i=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},r=function(){this.constructor=i};return r.prototype=e.prototype,i.prototype=new r,i.extend=E.inherits,t&&E.extend(i.prototype,t),i.__super__=e.prototype,i},_deprecated:function(t,e,i,r){void 0!==e&&console.warn(t+': "'+i+'" is deprecated. Please use "'+r+'" instead')}},V=E;E.callCallback=E.callback,E.indexOf=function(t,e,i){return Array.prototype.indexOf.call(t,e,i)},E.getValueOrDefault=E.valueOrDefault,E.getValueAtIndexOrDefault=E.valueAtIndexOrDefault;var N={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 t>=1?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,i=0,r=1;return 0===t?0:1===t?1:(i||(i=.3),r<1?(r=1,e=i/4):e=i/(2*Math.PI)*Math.asin(1/r),-r*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i))},easeOutElastic:function(t){var e=1.70158,i=0,r=1;return 0===t?0:1===t?1:(i||(i=.3),r<1?(r=1,e=i/4):e=i/(2*Math.PI)*Math.asin(1/r),r*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/i)+1)},easeInOutElastic:function(t){var e=1.70158,i=0,r=1;return 0===t?0:2===(t/=.5)?1:(i||(i=.45),r<1?(r=1,e=i/4):e=i/(2*Math.PI)*Math.asin(1/r),t<1?r*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:r*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+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-N.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*N.easeInBounce(2*t):.5*N.easeOutBounce(2*t-1)+.5}},z={effects:N};V.easingEffects=N;var W=Math.PI,H=W/180,U=2*W,Y=W/2,Q=W/4,X=2*W/3,q={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,i,r,n,o){if(o){var a=Math.min(o,n/2,r/2),s=e+a,l=i+a,c=e+r-a,u=i+n-a;t.moveTo(e,l),s<c&&l<u?(t.arc(s,l,a,-W,-Y),t.arc(c,l,a,-Y,0),t.arc(c,u,a,0,Y),t.arc(s,u,a,Y,W)):s<c?(t.moveTo(s,i),t.arc(c,l,a,-Y,Y),t.arc(s,l,a,Y,W+Y)):l<u?(t.arc(s,l,a,-W,0),t.arc(s,u,a,0,W)):t.arc(s,l,a,-W,W),t.closePath(),t.moveTo(e,i)}else t.rect(e,i,r,n)},drawPoint:function(t,e,i,r,n,o){var a,s,l,c,u,d=(o||0)*H;if(e&&"object"===typeof e&&(a=e.toString(),"[object HTMLImageElement]"===a||"[object HTMLCanvasElement]"===a))return t.save(),t.translate(r,n),t.rotate(d),t.drawImage(e,-e.width/2,-e.height/2,e.width,e.height),void t.restore();if(!(isNaN(i)||i<=0)){switch(t.beginPath(),e){default:t.arc(r,n,i,0,U),t.closePath();break;case"triangle":t.moveTo(r+Math.sin(d)*i,n-Math.cos(d)*i),d+=X,t.lineTo(r+Math.sin(d)*i,n-Math.cos(d)*i),d+=X,t.lineTo(r+Math.sin(d)*i,n-Math.cos(d)*i),t.closePath();break;case"rectRounded":u=.516*i,c=i-u,s=Math.cos(d+Q)*c,l=Math.sin(d+Q)*c,t.arc(r-s,n-l,u,d-W,d-Y),t.arc(r+l,n-s,u,d-Y,d),t.arc(r+s,n+l,u,d,d+Y),t.arc(r-l,n+s,u,d+Y,d+W),t.closePath();break;case"rect":if(!o){c=Math.SQRT1_2*i,t.rect(r-c,n-c,2*c,2*c);break}d+=Q;case"rectRot":s=Math.cos(d)*i,l=Math.sin(d)*i,t.moveTo(r-s,n-l),t.lineTo(r+l,n-s),t.lineTo(r+s,n+l),t.lineTo(r-l,n+s),t.closePath();break;case"crossRot":d+=Q;case"cross":s=Math.cos(d)*i,l=Math.sin(d)*i,t.moveTo(r-s,n-l),t.lineTo(r+s,n+l),t.moveTo(r+l,n-s),t.lineTo(r-l,n+s);break;case"star":s=Math.cos(d)*i,l=Math.sin(d)*i,t.moveTo(r-s,n-l),t.lineTo(r+s,n+l),t.moveTo(r+l,n-s),t.lineTo(r-l,n+s),d+=Q,s=Math.cos(d)*i,l=Math.sin(d)*i,t.moveTo(r-s,n-l),t.lineTo(r+s,n+l),t.moveTo(r+l,n-s),t.lineTo(r-l,n+s);break;case"line":s=Math.cos(d)*i,l=Math.sin(d)*i,t.moveTo(r-s,n-l),t.lineTo(r+s,n+l);break;case"dash":t.moveTo(r,n),t.lineTo(r+Math.cos(d)*i,n+Math.sin(d)*i);break}t.fill(),t.stroke()}},_isPointInArea:function(t,e){var i=1e-6;return t.x>e.left-i&&t.x<e.right+i&&t.y>e.top-i&&t.y<e.bottom+i},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,i,r){var n=i.steppedLine;if(n){if("middle"===n){var o=(e.x+i.x)/2;t.lineTo(o,r?i.y:e.y),t.lineTo(o,r?e.y:i.y)}else"after"===n&&!r||"after"!==n&&r?t.lineTo(e.x,i.y):t.lineTo(i.x,e.y);t.lineTo(i.x,i.y)}else i.tension?t.bezierCurveTo(r?e.controlPointPreviousX:e.controlPointNextX,r?e.controlPointPreviousY:e.controlPointNextY,r?i.controlPointNextX:i.controlPointPreviousX,r?i.controlPointNextY:i.controlPointPreviousY,i.x,i.y):t.lineTo(i.x,i.y)}},J=q;V.clear=q.clear,V.drawRoundedRectangle=function(t){t.beginPath(),q.roundedRect.apply(q,arguments)};var G={_set:function(t,e){return V.merge(this[t]||(this[t]={}),e)}};G._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0});var K=G,Z=V.valueOrDefault;function $(t){return!t||V.isNullOrUndef(t.size)||V.isNullOrUndef(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}var tt={toLineHeight:function(t,e){var i=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!i||"normal"===i[1])return 1.2*e;switch(t=+i[2],i[3]){case"px":return t;case"%":t/=100;break}return e*t},toPadding:function(t){var e,i,r,n;return V.isObject(t)?(e=+t.top||0,i=+t.right||0,r=+t.bottom||0,n=+t.left||0):e=i=r=n=+t||0,{top:e,right:i,bottom:r,left:n,height:e+r,width:n+i}},_parseFont:function(t){var e=K.global,i=Z(t.fontSize,e.defaultFontSize),r={family:Z(t.fontFamily,e.defaultFontFamily),lineHeight:V.options.toLineHeight(Z(t.lineHeight,e.defaultLineHeight),i),size:i,style:Z(t.fontStyle,e.defaultFontStyle),weight:null,string:""};return r.string=$(r),r},resolve:function(t,e,i,r){var n,o,a,s=!0;for(n=0,o=t.length;n<o;++n)if(a=t[n],void 0!==a&&(void 0!==e&&"function"===typeof a&&(a=a(e),s=!1),void 0!==i&&V.isArray(a)&&(a=a[i],s=!1),void 0!==a))return r&&!s&&(r.cacheable=!1),a}},et={_factorize:function(t){var e,i=[],r=Math.sqrt(t);for(e=1;e<r;e++)t%e===0&&(i.push(e),i.push(t/e));return r===(0|r)&&i.push(r),i.sort((function(t,e){return t-e})).pop(),i},log10:Math.log10||function(t){var e=Math.log(t)*Math.LOG10E,i=Math.round(e),r=t===Math.pow(10,i);return r?i:e}},it=et;V.log10=et.log10;var rt=function(t,e){return{x:function(i){return t+t+e-i},setWidth:function(t){e=t},textAlign:function(t){return"center"===t?t:"right"===t?"left":"right"},xPlus:function(t,e){return t-e},leftForLtr:function(t,e){return t-e}}},nt=function(){return{x:function(t){return t},setWidth:function(t){},textAlign:function(t){return t},xPlus:function(t,e){return t+e},leftForLtr:function(t,e){return t}}},ot=function(t,e,i){return t?rt(e,i):nt()},at=function(t,e){var i,r;"ltr"!==e&&"rtl"!==e||(i=t.canvas.style,r=[i.getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",e,"important"),t.prevTextDirection=r)},st=function(t){var e=t.prevTextDirection;void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))},lt={getRtlAdapter:ot,overrideTextDirection:at,restoreTextDirection:st},ct=V,ut=z,dt=J,ht=tt,gt=it,pt=lt;function ft(t,e,i,r){var n,o,a,s,l,c,u,d,h,g=Object.keys(i);for(n=0,o=g.length;n<o;++n)if(a=g[n],c=i[a],e.hasOwnProperty(a)||(e[a]=c),s=e[a],s!==c&&"_"!==a[0]){if(t.hasOwnProperty(a)||(t[a]=s),l=t[a],u=typeof c,u===typeof l)if("string"===u){if(d=L(l),d.valid&&(h=L(c),h.valid)){e[a]=h.mix(d,r).rgbString();continue}}else if(ct.isFinite(l)&&ct.isFinite(c)){e[a]=l+(c-l)*r;continue}e[a]=c}}ct.easing=ut,ct.canvas=dt,ct.options=ht,ct.math=gt,ct.rtl=pt;var mt=function(t){ct.extend(this,t),this.initialize.apply(this,arguments)};ct.extend(mt.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=ct.extend({},t._model)),t._start={},t},transition:function(t){var e=this,i=e._model,r=e._start,n=e._view;return i&&1!==t?(n||(n=e._view={}),r||(r=e._start={}),ft(r,n,i,t),e):(e._view=ct.extend({},i),e._start=null,e)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return ct.isNumber(this._model.x)&&ct.isNumber(this._model.y)}}),mt.extend=ct.inherits;var vt=mt,bt=vt.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),xt=bt;Object.defineProperty(bt.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(bt.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}}),K._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:ct.noop,onComplete:ct.noop}});var yt={animations:[],request:null,addAnimation:function(t,e,i,r){var n,o,a=this.animations;for(e.chart=t,e.startTime=Date.now(),e.duration=i,r||(t.animating=!0),n=0,o=a.length;n<o;++n)if(a[n].chart===t)return void(a[n]=e);a.push(e),1===a.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var e=ct.findIndex(this.animations,(function(e){return e.chart===t}));-1!==e&&(this.animations.splice(e,1),t.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=ct.requestAnimFrame.call(window,(function(){t.request=null,t.startDigest()})))},startDigest:function(){var t=this;t.advance(),t.animations.length>0&&t.requestAnimationFrame()},advance:function(){var t,e,i,r,n=this.animations,o=0;while(o<n.length)t=n[o],e=t.chart,i=t.numSteps,r=Math.floor((Date.now()-t.startTime)/t.duration*i)+1,t.currentStep=Math.min(r,i),ct.callback(t.render,[e,t],e),ct.callback(t.onAnimationProgress,[t],e),t.currentStep>=i?(ct.callback(t.onAnimationComplete,[t],e),e.animating=!1,n.splice(o,1)):++o}},wt=ct.options.resolve,_t=["push","pop","shift","splice","unshift"];function Ct(t,e){t._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),_t.forEach((function(e){var i="onData"+e.charAt(0).toUpperCase()+e.slice(1),r=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),n=r.apply(this,e);return ct.each(t._chartjs.listeners,(function(t){"function"===typeof t[i]&&t[i].apply(t,e)})),n}})})))}function At(t,e){var i=t._chartjs;if(i){var r=i.listeners,n=r.indexOf(e);-1!==n&&r.splice(n,1),r.length>0||(_t.forEach((function(e){delete t[e]})),delete t._chartjs)}}var kt=function(t,e){this.initialize(t,e)};ct.extend(kt.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(t,e){var i=this;i.chart=t,i.index=e,i.linkScales(),i.addElements(),i._type=i.getMeta().type},updateIndex:function(t){this.index=t},linkScales:function(){var t=this,e=t.getMeta(),i=t.chart,r=i.scales,n=t.getDataset(),o=i.options.scales;null!==e.xAxisID&&e.xAxisID in r&&!n.xAxisID||(e.xAxisID=n.xAxisID||o.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in r&&!n.yAxisID||(e.yAxisID=n.yAxisID||o.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]},_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())},reset:function(){this._update(!0)},destroy:function(){this._data&&At(this._data,this)},createMetaDataset:function(){var t=this,e=t.datasetElementType;return e&&new e({_chart:t.chart,_datasetIndex:t.index})},createMetaData:function(t){var e=this,i=e.dataElementType;return i&&new i({_chart:e.chart,_datasetIndex:e.index,_index:t})},addElements:function(){var t,e,i=this,r=i.getMeta(),n=i.getDataset().data||[],o=r.data;for(t=0,e=n.length;t<e;++t)o[t]=o[t]||i.createMetaData(t);r.dataset=r.dataset||i.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var t=this,e=t.getDataset(),i=e.data||(e.data=[]);t._data!==i&&(t._data&&At(t._data,t),i&&Object.isExtensible(i)&&Ct(i,t),t._data=i),t.resyncElements()},_configure:function(){var t=this;t._config=ct.merge({},[t.chart.options.datasets[t._type],t.getDataset()],{merger:function(t,e,i){"_meta"!==t&&"data"!==t&&ct._merger(t,e,i)}})},_update:function(t){var e=this;e._configure(),e._cachedDataOpts=null,e.update(t)},update:ct.noop,transition:function(t){for(var e=this.getMeta(),i=e.data||[],r=i.length,n=0;n<r;++n)i[n].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],i=e.length,r=0;for(t.dataset&&t.dataset.draw();r<i;++r)e[r].draw()},getStyle:function(t){var e,i=this,r=i.getMeta(),n=r.dataset;return i._configure(),n&&void 0===t?e=i._resolveDatasetElementOptions(n||{}):(t=t||0,e=i._resolveDataElementOptions(r.data[t]||{},t)),!1!==e.fill&&null!==e.fill||(e.backgroundColor=e.borderColor),e},_resolveDatasetElementOptions:function(t,e){var i,r,n,o,a=this,s=a.chart,l=a._config,c=t.custom||{},u=s.options.elements[a.datasetElementType.prototype._type]||{},d=a._datasetElementOptions,h={},g={chart:s,dataset:a.getDataset(),datasetIndex:a.index,hover:e};for(i=0,r=d.length;i<r;++i)n=d[i],o=e?"hover"+n.charAt(0).toUpperCase()+n.slice(1):n,h[n]=wt([c[o],l[o],u[o]],g);return h},_resolveDataElementOptions:function(t,e){var i=this,r=t&&t.custom,n=i._cachedDataOpts;if(n&&!r)return n;var o,a,s,l,c=i.chart,u=i._config,d=c.options.elements[i.dataElementType.prototype._type]||{},h=i._dataElementOptions,g={},p={chart:c,dataIndex:e,dataset:i.getDataset(),datasetIndex:i.index},f={cacheable:!r};if(r=r||{},ct.isArray(h))for(a=0,s=h.length;a<s;++a)l=h[a],g[l]=wt([r[l],u[l],d[l]],p,e,f);else for(o=Object.keys(h),a=0,s=o.length;a<s;++a)l=o[a],g[l]=wt([r[l],u[h[l]],u[l],d[l]],p,e,f);return f.cacheable&&(i._cachedDataOpts=Object.freeze(g)),g},removeHoverStyle:function(t){ct.merge(t._model,t.$previousStyle||{}),delete t.$previousStyle},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],i=t._index,r=t.custom||{},n=t._model,o=ct.getHoverColor;t.$previousStyle={backgroundColor:n.backgroundColor,borderColor:n.borderColor,borderWidth:n.borderWidth},n.backgroundColor=wt([r.hoverBackgroundColor,e.hoverBackgroundColor,o(n.backgroundColor)],void 0,i),n.borderColor=wt([r.hoverBorderColor,e.hoverBorderColor,o(n.borderColor)],void 0,i),n.borderWidth=wt([r.hoverBorderWidth,e.hoverBorderWidth,n.borderWidth],void 0,i)},_removeDatasetHoverStyle:function(){var t=this.getMeta().dataset;t&&this.removeHoverStyle(t)},_setDatasetHoverStyle:function(){var t,e,i,r,n,o,a=this.getMeta().dataset,s={};if(a){for(o=a._model,n=this._resolveDatasetElementOptions(a,!0),r=Object.keys(n),t=0,e=r.length;t<e;++t)i=r[t],s[i]=o[i],o[i]=n[i];a.$previousStyle=s}},resyncElements:function(){var t=this,e=t.getMeta(),i=t.getDataset().data,r=e.data.length,n=i.length;n<r?e.data.splice(n,r-n):n>r&&t.insertElements(r,n-r)},insertElements:function(t,e){for(var i=0;i<e;++i)this.addElementAndReset(t+i)},onDataPush:function(){var t=arguments.length;this.insertElements(this.getDataset().data.length-t,t)},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)}}),kt.extend=ct.inherits;var Mt=kt,Ot=2*Math.PI;function Pt(t,e){var i=e.startAngle,r=e.endAngle,n=e.pixelMargin,o=n/e.outerRadius,a=e.x,s=e.y;t.beginPath(),t.arc(a,s,e.outerRadius,i-o,r+o),e.innerRadius>n?(o=n/e.innerRadius,t.arc(a,s,e.innerRadius-n,r+o,i-o,!0)):t.arc(a,s,n,r+Math.PI/2,i-Math.PI/2),t.closePath(),t.clip()}function St(t,e,i,r){var n,o=i.endAngle;for(r&&(i.endAngle=i.startAngle+Ot,Pt(t,i),i.endAngle=o,i.endAngle===i.startAngle&&i.fullCircles&&(i.endAngle+=Ot,i.fullCircles--)),t.beginPath(),t.arc(i.x,i.y,i.innerRadius,i.startAngle+Ot,i.startAngle,!0),n=0;n<i.fullCircles;++n)t.stroke();for(t.beginPath(),t.arc(i.x,i.y,e.outerRadius,i.startAngle,i.startAngle+Ot),n=0;n<i.fullCircles;++n)t.stroke()}function Rt(t,e,i){var r="inner"===e.borderAlign;r?(t.lineWidth=2*e.borderWidth,t.lineJoin="round"):(t.lineWidth=e.borderWidth,t.lineJoin="bevel"),i.fullCircles&&St(t,e,i,r),r&&Pt(t,i),t.beginPath(),t.arc(i.x,i.y,e.outerRadius,i.startAngle,i.endAngle),t.arc(i.x,i.y,i.innerRadius,i.endAngle,i.startAngle,!0),t.closePath(),t.stroke()}K._set("global",{elements:{arc:{backgroundColor:K.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var Tt=vt.extend({_type:"arc",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 i=this._view;if(i){var r=ct.getAngleFromPoint(i,{x:t,y:e}),n=r.angle,o=r.distance,a=i.startAngle,s=i.endAngle;while(s<a)s+=Ot;while(n>s)n-=Ot;while(n<a)n+=Ot;var l=n>=a&&n<=s,c=o>=i.innerRadius&&o<=i.outerRadius;return l&&c}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,i=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*i,y:t.y+Math.sin(e)*i}},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,i=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*i,y:t.y+Math.sin(e)*i}},draw:function(){var t,e=this._chart.ctx,i=this._view,r="inner"===i.borderAlign?.33:0,n={x:i.x,y:i.y,innerRadius:i.innerRadius,outerRadius:Math.max(i.outerRadius-r,0),pixelMargin:r,startAngle:i.startAngle,endAngle:i.endAngle,fullCircles:Math.floor(i.circumference/Ot)};if(e.save(),e.fillStyle=i.backgroundColor,e.strokeStyle=i.borderColor,n.fullCircles){for(n.endAngle=n.startAngle+Ot,e.beginPath(),e.arc(n.x,n.y,n.outerRadius,n.startAngle,n.endAngle),e.arc(n.x,n.y,n.innerRadius,n.endAngle,n.startAngle,!0),e.closePath(),t=0;t<n.fullCircles;++t)e.fill();n.endAngle=n.startAngle+i.circumference%Ot}e.beginPath(),e.arc(n.x,n.y,n.outerRadius,n.startAngle,n.endAngle),e.arc(n.x,n.y,n.innerRadius,n.endAngle,n.startAngle,!0),e.closePath(),e.fill(),i.borderWidth&&Rt(e,i,n),e.restore()}}),It=ct.valueOrDefault,Dt=K.global.defaultColor;K._set("global",{elements:{line:{tension:.4,backgroundColor:Dt,borderWidth:3,borderColor:Dt,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var Bt=vt.extend({_type:"line",draw:function(){var t,e,i,r=this,n=r._view,o=r._chart.ctx,a=n.spanGaps,s=r._children.slice(),l=K.global,c=l.elements.line,u=-1,d=r._loop;if(s.length){if(r._loop){for(t=0;t<s.length;++t)if(e=ct.previousItem(s,t),!s[t]._view.skip&&e._view.skip){s=s.slice(t).concat(s.slice(0,t)),d=a;break}d&&s.push(s[0])}for(o.save(),o.lineCap=n.borderCapStyle||c.borderCapStyle,o.setLineDash&&o.setLineDash(n.borderDash||c.borderDash),o.lineDashOffset=It(n.borderDashOffset,c.borderDashOffset),o.lineJoin=n.borderJoinStyle||c.borderJoinStyle,o.lineWidth=It(n.borderWidth,c.borderWidth),o.strokeStyle=n.borderColor||l.defaultColor,o.beginPath(),i=s[0]._view,i.skip||(o.moveTo(i.x,i.y),u=0),t=1;t<s.length;++t)i=s[t]._view,e=-1===u?ct.previousItem(s,t):s[u],i.skip||(u!==t-1&&!a||-1===u?o.moveTo(i.x,i.y):ct.canvas.lineTo(o,e._view,i),u=t);d&&o.closePath(),o.stroke(),o.restore()}}}),jt=ct.valueOrDefault,Ft=K.global.defaultColor;function Lt(t){var e=this._view;return!!e&&Math.abs(t-e.x)<e.radius+e.hitRadius}function Et(t){var e=this._view;return!!e&&Math.abs(t-e.y)<e.radius+e.hitRadius}K._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:Ft,borderColor:Ft,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var Vt=vt.extend({_type:"point",inRange:function(t,e){var i=this._view;return!!i&&Math.pow(t-i.x,2)+Math.pow(e-i.y,2)<Math.pow(i.hitRadius+i.radius,2)},inLabelRange:Lt,inXRange:Lt,inYRange:Et,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,i=this._chart.ctx,r=e.pointStyle,n=e.rotation,o=e.radius,a=e.x,s=e.y,l=K.global,c=l.defaultColor;e.skip||(void 0===t||ct.canvas._isPointInArea(e,t))&&(i.strokeStyle=e.borderColor||c,i.lineWidth=jt(e.borderWidth,l.elements.point.borderWidth),i.fillStyle=e.backgroundColor||c,ct.canvas.drawPoint(i,r,o,a,s,n))}}),Nt=K.global.defaultColor;function zt(t){return t&&void 0!==t.width}function Wt(t){var e,i,r,n,o;return zt(t)?(o=t.width/2,e=t.x-o,i=t.x+o,r=Math.min(t.y,t.base),n=Math.max(t.y,t.base)):(o=t.height/2,e=Math.min(t.x,t.base),i=Math.max(t.x,t.base),r=t.y-o,n=t.y+o),{left:e,top:r,right:i,bottom:n}}function Ht(t,e,i){return t===e?i:t===i?e:t}function Ut(t){var e=t.borderSkipped,i={};return e?(t.horizontal?t.base>t.x&&(e=Ht(e,"left","right")):t.base<t.y&&(e=Ht(e,"bottom","top")),i[e]=!0,i):i}function Yt(t,e,i){var r,n,o,a,s=t.borderWidth,l=Ut(t);return ct.isObject(s)?(r=+s.top||0,n=+s.right||0,o=+s.bottom||0,a=+s.left||0):r=n=o=a=+s||0,{t:l.top||r<0?0:r>i?i:r,r:l.right||n<0?0:n>e?e:n,b:l.bottom||o<0?0:o>i?i:o,l:l.left||a<0?0:a>e?e:a}}function Qt(t){var e=Wt(t),i=e.right-e.left,r=e.bottom-e.top,n=Yt(t,i/2,r/2);return{outer:{x:e.left,y:e.top,w:i,h:r},inner:{x:e.left+n.l,y:e.top+n.t,w:i-n.l-n.r,h:r-n.t-n.b}}}function Xt(t,e,i){var r=null===e,n=null===i,o=!(!t||r&&n)&&Wt(t);return o&&(r||e>=o.left&&e<=o.right)&&(n||i>=o.top&&i<=o.bottom)}K._set("global",{elements:{rectangle:{backgroundColor:Nt,borderColor:Nt,borderSkipped:"bottom",borderWidth:0}}});var qt=vt.extend({_type:"rectangle",draw:function(){var t=this._chart.ctx,e=this._view,i=Qt(e),r=i.outer,n=i.inner;t.fillStyle=e.backgroundColor,t.fillRect(r.x,r.y,r.w,r.h),r.w===n.w&&r.h===n.h||(t.save(),t.beginPath(),t.rect(r.x,r.y,r.w,r.h),t.clip(),t.fillStyle=e.borderColor,t.rect(n.x,n.y,n.w,n.h),t.fill("evenodd"),t.restore())},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){return Xt(this._view,t,e)},inLabelRange:function(t,e){var i=this._view;return zt(i)?Xt(i,t,null):Xt(i,null,e)},inXRange:function(t){return Xt(this._view,t,null)},inYRange:function(t){return Xt(this._view,null,t)},getCenterPoint:function(){var t,e,i=this._view;return zt(i)?(t=i.x,e=(i.y+i.base)/2):(t=(i.x+i.base)/2,e=i.y),{x:t,y:e}},getArea:function(){var t=this._view;return zt(t)?t.width*Math.abs(t.y-t.base):t.height*Math.abs(t.x-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}}),Jt={},Gt=Tt,Kt=Bt,Zt=Vt,$t=qt;Jt.Arc=Gt,Jt.Line=Kt,Jt.Point=Zt,Jt.Rectangle=$t;var te=ct._deprecated,ee=ct.valueOrDefault;function ie(t,e){var i,r,n,o,a=t._length;for(n=1,o=e.length;n<o;++n)a=Math.min(a,Math.abs(e[n]-e[n-1]));for(n=0,o=t.getTicks().length;n<o;++n)r=t.getPixelForTick(n),a=n>0?Math.min(a,Math.abs(r-i)):a,i=r;return a}function re(t,e,i){var r,n,o=i.barThickness,a=e.stackCount,s=e.pixels[t],l=ct.isNullOrUndef(o)?ie(e.scale,e.pixels):-1;return ct.isNullOrUndef(o)?(r=l*i.categoryPercentage,n=i.barPercentage):(r=o*a,n=1),{chunk:r/a,ratio:n,start:s-r/2}}function ne(t,e,i){var r,n,o=e.pixels,a=o[t],s=t>0?o[t-1]:null,l=t<o.length-1?o[t+1]:null,c=i.categoryPercentage;return null===s&&(s=a-(null===l?e.end-e.start:l-a)),null===l&&(l=a+a-s),r=a-(a-Math.min(s,l))/2*c,n=Math.abs(l-s)/2*c,{chunk:n/e.stackCount,ratio:i.barPercentage,start:r}}K._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),K._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var oe=Mt.extend({dataElementType:Jt.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var t,e,i=this;Mt.prototype.initialize.apply(i,arguments),t=i.getMeta(),t.stack=i.getDataset().stack,t.bar=!0,e=i._getIndexScale().options,te("bar chart",e.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),te("bar chart",e.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),te("bar chart",e.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),te("bar chart",i._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),te("bar chart",e.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(t){var e,i,r=this,n=r.getMeta().data;for(r._ruler=r.getRuler(),e=0,i=n.length;e<i;++e)r.updateElement(n[e],e,t)},updateElement:function(t,e,i){var r=this,n=r.getMeta(),o=r.getDataset(),a=r._resolveDataElementOptions(t,e);t._xScale=r.getScaleForId(n.xAxisID),t._yScale=r.getScaleForId(n.yAxisID),t._datasetIndex=r.index,t._index=e,t._model={backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderSkipped:a.borderSkipped,borderWidth:a.borderWidth,datasetLabel:o.label,label:r.chart.data.labels[e]},ct.isArray(o.data[e])&&(t._model.borderSkipped=null),r._updateElementGeometry(t,e,i,a),t.pivot()},_updateElementGeometry:function(t,e,i,r){var n=this,o=t._model,a=n._getValueScale(),s=a.getBasePixel(),l=a.isHorizontal(),c=n._ruler||n.getRuler(),u=n.calculateBarValuePixels(n.index,e,r),d=n.calculateBarIndexPixels(n.index,e,c,r);o.horizontal=l,o.base=i?s:u.base,o.x=l?i?s:u.head:d.center,o.y=l?d.center:i?s:u.head,o.height=l?d.size:void 0,o.width=l?void 0:d.size},_getStacks:function(t){var e,i,r=this,n=r._getIndexScale(),o=n._getMatchingVisibleMetas(r._type),a=n.options.stacked,s=o.length,l=[];for(e=0;e<s;++e)if(i=o[e],(!1===a||-1===l.indexOf(i.stack)||void 0===a&&void 0===i.stack)&&l.push(i.stack),i.index===t)break;return l},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,e){var i=this._getStacks(t),r=void 0!==e?i.indexOf(e):-1;return-1===r?i.length-1:r},getRuler:function(){var t,e,i=this,r=i._getIndexScale(),n=[];for(t=0,e=i.getMeta().data.length;t<e;++t)n.push(r.getPixelForValue(null,t,i.index));return{pixels:n,start:r._startPixel,end:r._endPixel,stackCount:i.getStackCount(),scale:r}},calculateBarValuePixels:function(t,e,i){var r,n,o,a,s,l,c,u=this,d=u.chart,h=u._getValueScale(),g=h.isHorizontal(),p=d.data.datasets,f=h._getMatchingVisibleMetas(u._type),m=h._parseValue(p[t].data[e]),v=i.minBarLength,b=h.options.stacked,x=u.getMeta().stack,y=void 0===m.start?0:m.max>=0&&m.min>=0?m.min:m.max,w=void 0===m.start?m.end:m.max>=0&&m.min>=0?m.max-m.min:m.min-m.max,_=f.length;if(b||void 0===b&&void 0!==x)for(r=0;r<_;++r){if(n=f[r],n.index===t)break;n.stack===x&&(c=h._parseValue(p[n.index].data[e]),o=void 0===c.start?c.end:c.min>=0&&c.max>=0?c.max:c.min,(m.min<0&&o<0||m.max>=0&&o>0)&&(y+=o))}return a=h.getPixelForValue(y),s=h.getPixelForValue(y+w),l=s-a,void 0!==v&&Math.abs(l)<v&&(l=v,s=w>=0&&!g||w<0&&g?a-v:a+v),{size:l,base:a,head:s,center:s+l/2}},calculateBarIndexPixels:function(t,e,i,r){var n=this,o="flex"===r.barThickness?ne(e,i,r):re(e,i,r),a=n.getStackIndex(t,n.getMeta().stack),s=o.start+o.chunk*a+o.chunk/2,l=Math.min(ee(r.maxBarThickness,1/0),o.chunk*o.ratio);return{base:s-l/2,head:s+l/2,center:s,size:l}},draw:function(){var t=this,e=t.chart,i=t._getValueScale(),r=t.getMeta().data,n=t.getDataset(),o=r.length,a=0;for(ct.canvas.clipArea(e.ctx,e.chartArea);a<o;++a){var s=i._parseValue(n.data[a]);isNaN(s.min)||isNaN(s.max)||r[a].draw()}ct.canvas.unclipArea(e.ctx)},_resolveDataElementOptions:function(){var t=this,e=ct.extend({},Mt.prototype._resolveDataElementOptions.apply(t,arguments)),i=t._getIndexScale().options,r=t._getValueScale().options;return e.barPercentage=ee(i.barPercentage,e.barPercentage),e.barThickness=ee(i.barThickness,e.barThickness),e.categoryPercentage=ee(i.categoryPercentage,e.categoryPercentage),e.maxBarThickness=ee(i.maxBarThickness,e.maxBarThickness),e.minBarLength=ee(r.minBarLength,e.minBarLength),e}}),ae=ct.valueOrDefault,se=ct.options.resolve;K._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 i=e.datasets[t.datasetIndex].label||"",r=e.datasets[t.datasetIndex].data[t.index];return i+": ("+t.xLabel+", "+t.yLabel+", "+r.r+")"}}}});var le=Mt.extend({dataElementType:Jt.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(t){var e=this,i=e.getMeta(),r=i.data;ct.each(r,(function(i,r){e.updateElement(i,r,t)}))},updateElement:function(t,e,i){var r=this,n=r.getMeta(),o=t.custom||{},a=r.getScaleForId(n.xAxisID),s=r.getScaleForId(n.yAxisID),l=r._resolveDataElementOptions(t,e),c=r.getDataset().data[e],u=r.index,d=i?a.getPixelForDecimal(.5):a.getPixelForValue("object"===typeof c?c:NaN,e,u),h=i?s.getBasePixel():s.getPixelForValue(c,e,u);t._xScale=a,t._yScale=s,t._options=l,t._datasetIndex=u,t._index=e,t._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,rotation:l.rotation,radius:i?0:l.radius,skip:o.skip||isNaN(d)||isNaN(h),x:d,y:h},t.pivot()},setHoverStyle:function(t){var e=t._model,i=t._options,r=ct.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=ae(i.hoverBackgroundColor,r(i.backgroundColor)),e.borderColor=ae(i.hoverBorderColor,r(i.borderColor)),e.borderWidth=ae(i.hoverBorderWidth,i.borderWidth),e.radius=i.radius+i.hoverRadius},_resolveDataElementOptions:function(t,e){var i=this,r=i.chart,n=i.getDataset(),o=t.custom||{},a=n.data[e]||{},s=Mt.prototype._resolveDataElementOptions.apply(i,arguments),l={chart:r,dataIndex:e,dataset:n,datasetIndex:i.index};return i._cachedDataOpts===s&&(s=ct.extend({},s)),s.radius=se([o.radius,a.r,i._config.radius,r.options.elements.point.radius],l,e),s}}),ce=ct.valueOrDefault,ue=Math.PI,de=2*ue,he=ue/2;K._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e,i,r,n,o=document.createElement("ul"),a=t.data,s=a.datasets,l=a.labels;if(o.setAttribute("class",t.id+"-legend"),s.length)for(e=0,i=s[0].data.length;e<i;++e)r=o.appendChild(document.createElement("li")),n=r.appendChild(document.createElement("span")),n.style.backgroundColor=s[0].backgroundColor[e],l[e]&&r.appendChild(document.createTextNode(l[e]));return o.outerHTML},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map((function(i,r){var n=t.getDatasetMeta(0),o=n.controller.getStyle(r);return{text:i,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,hidden:isNaN(e.datasets[0].data[r])||n.data[r].hidden,index:r}})):[]}},onClick:function(t,e){var i,r,n,o=e.index,a=this.chart;for(i=0,r=(a.data.datasets||[]).length;i<r;++i)n=a.getDatasetMeta(i),n.data[o]&&(n.data[o].hidden=!n.data[o].hidden);a.update()}},cutoutPercentage:50,rotation:-he,circumference:de,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var i=e.labels[t.index],r=": "+e.datasets[t.datasetIndex].data[t.index];return ct.isArray(i)?(i=i.slice(),i[0]+=r):i+=r,i}}}});var ge=Mt.extend({dataElementType:Jt.Arc,linkScales:ct.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(t){for(var e=0,i=0;i<t;++i)this.chart.isDatasetVisible(i)&&++e;return e},update:function(t){var e,i,r,n,o=this,a=o.chart,s=a.chartArea,l=a.options,c=1,u=1,d=0,h=0,g=o.getMeta(),p=g.data,f=l.cutoutPercentage/100||0,m=l.circumference,v=o._getRingWeight(o.index);if(m<de){var b=l.rotation%de;b+=b>=ue?-de:b<-ue?de:0;var x=b+m,y=Math.cos(b),w=Math.sin(b),_=Math.cos(x),C=Math.sin(x),A=b<=0&&x>=0||x>=de,k=b<=he&&x>=he||x>=de+he,M=b===-ue||x>=ue,O=b<=-he&&x>=-he||x>=ue+he,P=M?-1:Math.min(y,y*f,_,_*f),S=O?-1:Math.min(w,w*f,C,C*f),R=A?1:Math.max(y,y*f,_,_*f),T=k?1:Math.max(w,w*f,C,C*f);c=(R-P)/2,u=(T-S)/2,d=-(R+P)/2,h=-(T+S)/2}for(r=0,n=p.length;r<n;++r)p[r]._options=o._resolveDataElementOptions(p[r],r);for(a.borderWidth=o.getMaxBorderWidth(),e=(s.right-s.left-a.borderWidth)/c,i=(s.bottom-s.top-a.borderWidth)/u,a.outerRadius=Math.max(Math.min(e,i)/2,0),a.innerRadius=Math.max(a.outerRadius*f,0),a.radiusLength=(a.outerRadius-a.innerRadius)/(o._getVisibleDatasetWeightTotal()||1),a.offsetX=d*a.outerRadius,a.offsetY=h*a.outerRadius,g.total=o.calculateTotal(),o.outerRadius=a.outerRadius-a.radiusLength*o._getRingWeightOffset(o.index),o.innerRadius=Math.max(o.outerRadius-a.radiusLength*v,0),r=0,n=p.length;r<n;++r)o.updateElement(p[r],r,t)},updateElement:function(t,e,i){var r=this,n=r.chart,o=n.chartArea,a=n.options,s=a.animation,l=(o.left+o.right)/2,c=(o.top+o.bottom)/2,u=a.rotation,d=a.rotation,h=r.getDataset(),g=i&&s.animateRotate?0:t.hidden?0:r.calculateCircumference(h.data[e])*(a.circumference/de),p=i&&s.animateScale?0:r.innerRadius,f=i&&s.animateScale?0:r.outerRadius,m=t._options||{};ct.extend(t,{_datasetIndex:r.index,_index:e,_model:{backgroundColor:m.backgroundColor,borderColor:m.borderColor,borderWidth:m.borderWidth,borderAlign:m.borderAlign,x:l+n.offsetX,y:c+n.offsetY,startAngle:u,endAngle:d,circumference:g,outerRadius:f,innerRadius:p,label:ct.valueAtIndexOrDefault(h.label,e,n.data.labels[e])}});var v=t._model;i&&s.animateRotate||(v.startAngle=0===e?a.rotation:r.getMeta().data[e-1]._model.endAngle,v.endAngle=v.startAngle+v.circumference),t.pivot()},calculateTotal:function(){var t,e=this.getDataset(),i=this.getMeta(),r=0;return ct.each(i.data,(function(i,n){t=e.data[n],isNaN(t)||i.hidden||(r+=Math.abs(t))})),r},calculateCircumference:function(t){var e=this.getMeta().total;return e>0&&!isNaN(t)?de*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){var e,i,r,n,o,a,s,l,c=this,u=0,d=c.chart;if(!t)for(e=0,i=d.data.datasets.length;e<i;++e)if(d.isDatasetVisible(e)){r=d.getDatasetMeta(e),t=r.data,e!==c.index&&(o=r.controller);break}if(!t)return 0;for(e=0,i=t.length;e<i;++e)n=t[e],o?(o._configure(),a=o._resolveDataElementOptions(n,e)):a=n._options,"inner"!==a.borderAlign&&(s=a.borderWidth,l=a.hoverBorderWidth,u=s>u?s:u,u=l>u?l:u);return u},setHoverStyle:function(t){var e=t._model,i=t._options,r=ct.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=ce(i.hoverBackgroundColor,r(i.backgroundColor)),e.borderColor=ce(i.hoverBorderColor,r(i.borderColor)),e.borderWidth=ce(i.hoverBorderWidth,i.borderWidth)},_getRingWeightOffset:function(t){for(var e=0,i=0;i<t;++i)this.chart.isDatasetVisible(i)&&(e+=this._getRingWeight(i));return e},_getRingWeight:function(t){return Math.max(ce(this.chart.data.datasets[t].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});K._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),K._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var pe=oe.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),fe=ct.valueOrDefault,me=ct.options.resolve,ve=ct.canvas._isPointInArea;function be(t,e){var i=t&&t.options.ticks||{},r=i.reverse,n=void 0===i.min?e:0,o=void 0===i.max?e:0;return{start:r?o:n,end:r?n:o}}function xe(t,e,i){var r=i/2,n=be(t,r),o=be(e,r);return{top:o.end,right:n.end,bottom:o.start,left:n.start}}function ye(t){var e,i,r,n;return ct.isObject(t)?(e=t.top,i=t.right,r=t.bottom,n=t.left):e=i=r=n=t,{top:e,right:i,bottom:r,left:n}}K._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var we=Mt.extend({datasetElementType:Jt.Line,dataElementType:Jt.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(t){var e,i,r=this,n=r.getMeta(),o=n.dataset,a=n.data||[],s=r.chart.options,l=r._config,c=r._showLine=fe(l.showLine,s.showLines);for(r._xScale=r.getScaleForId(n.xAxisID),r._yScale=r.getScaleForId(n.yAxisID),c&&(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),o._scale=r._yScale,o._datasetIndex=r.index,o._children=a,o._model=r._resolveDatasetElementOptions(o),o.pivot()),e=0,i=a.length;e<i;++e)r.updateElement(a[e],e,t);for(c&&0!==o._model.tension&&r.updateBezierControlPoints(),e=0,i=a.length;e<i;++e)a[e].pivot()},updateElement:function(t,e,i){var r,n,o=this,a=o.getMeta(),s=t.custom||{},l=o.getDataset(),c=o.index,u=l.data[e],d=o._xScale,h=o._yScale,g=a.dataset._model,p=o._resolveDataElementOptions(t,e);r=d.getPixelForValue("object"===typeof u?u:NaN,e,c),n=i?h.getBasePixel():o.calculatePointY(u,e,c),t._xScale=d,t._yScale=h,t._options=p,t._datasetIndex=c,t._index=e,t._model={x:r,y:n,skip:s.skip||isNaN(r)||isNaN(n),radius:p.radius,pointStyle:p.pointStyle,rotation:p.rotation,backgroundColor:p.backgroundColor,borderColor:p.borderColor,borderWidth:p.borderWidth,tension:fe(s.tension,g?g.tension:0),steppedLine:!!g&&g.steppedLine,hitRadius:p.hitRadius}},_resolveDatasetElementOptions:function(t){var e=this,i=e._config,r=t.custom||{},n=e.chart.options,o=n.elements.line,a=Mt.prototype._resolveDatasetElementOptions.apply(e,arguments);return a.spanGaps=fe(i.spanGaps,n.spanGaps),a.tension=fe(i.lineTension,o.tension),a.steppedLine=me([r.steppedLine,i.steppedLine,o.stepped]),a.clip=ye(fe(i.clip,xe(e._xScale,e._yScale,a.borderWidth))),a},calculatePointY:function(t,e,i){var r,n,o,a,s,l,c,u=this,d=u.chart,h=u._yScale,g=0,p=0;if(h.options.stacked){for(s=+h.getRightValue(t),l=d._getSortedVisibleDatasetMetas(),c=l.length,r=0;r<c;++r){if(o=l[r],o.index===i)break;n=d.data.datasets[o.index],"line"===o.type&&o.yAxisID===h.id&&(a=+h.getRightValue(n.data[e]),a<0?p+=a||0:g+=a||0)}return s<0?h.getPixelForValue(p+s):h.getPixelForValue(g+s)}return h.getPixelForValue(t)},updateBezierControlPoints:function(){var t,e,i,r,n=this,o=n.chart,a=n.getMeta(),s=a.dataset._model,l=o.chartArea,c=a.data||[];function u(t,e,i){return Math.max(Math.min(t,i),e)}if(s.spanGaps&&(c=c.filter((function(t){return!t._model.skip}))),"monotone"===s.cubicInterpolationMode)ct.splineCurveMonotone(c);else for(t=0,e=c.length;t<e;++t)i=c[t]._model,r=ct.splineCurve(ct.previousItem(c,t)._model,i,ct.nextItem(c,t)._model,s.tension),i.controlPointPreviousX=r.previous.x,i.controlPointPreviousY=r.previous.y,i.controlPointNextX=r.next.x,i.controlPointNextY=r.next.y;if(o.options.elements.line.capBezierPoints)for(t=0,e=c.length;t<e;++t)i=c[t]._model,ve(i,l)&&(t>0&&ve(c[t-1]._model,l)&&(i.controlPointPreviousX=u(i.controlPointPreviousX,l.left,l.right),i.controlPointPreviousY=u(i.controlPointPreviousY,l.top,l.bottom)),t<c.length-1&&ve(c[t+1]._model,l)&&(i.controlPointNextX=u(i.controlPointNextX,l.left,l.right),i.controlPointNextY=u(i.controlPointNextY,l.top,l.bottom)))},draw:function(){var t,e=this,i=e.chart,r=e.getMeta(),n=r.data||[],o=i.chartArea,a=i.canvas,s=0,l=n.length;for(e._showLine&&(t=r.dataset._model.clip,ct.canvas.clipArea(i.ctx,{left:!1===t.left?0:o.left-t.left,right:!1===t.right?a.width:o.right+t.right,top:!1===t.top?0:o.top-t.top,bottom:!1===t.bottom?a.height:o.bottom+t.bottom}),r.dataset.draw(),ct.canvas.unclipArea(i.ctx));s<l;++s)n[s].draw(o)},setHoverStyle:function(t){var e=t._model,i=t._options,r=ct.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=fe(i.hoverBackgroundColor,r(i.backgroundColor)),e.borderColor=fe(i.hoverBorderColor,r(i.borderColor)),e.borderWidth=fe(i.hoverBorderWidth,i.borderWidth),e.radius=fe(i.hoverRadius,i.radius)}}),_e=ct.options.resolve;K._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,i,r,n,o=document.createElement("ul"),a=t.data,s=a.datasets,l=a.labels;if(o.setAttribute("class",t.id+"-legend"),s.length)for(e=0,i=s[0].data.length;e<i;++e)r=o.appendChild(document.createElement("li")),n=r.appendChild(document.createElement("span")),n.style.backgroundColor=s[0].backgroundColor[e],l[e]&&r.appendChild(document.createTextNode(l[e]));return o.outerHTML},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map((function(i,r){var n=t.getDatasetMeta(0),o=n.controller.getStyle(r);return{text:i,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,hidden:isNaN(e.datasets[0].data[r])||n.data[r].hidden,index:r}})):[]}},onClick:function(t,e){var i,r,n,o=e.index,a=this.chart;for(i=0,r=(a.data.datasets||[]).length;i<r;++i)n=a.getDatasetMeta(i),n.data[o].hidden=!n.data[o].hidden;a.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}});var Ce=Mt.extend({dataElementType:Jt.Arc,linkScales:ct.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,i,r,n=this,o=n.getDataset(),a=n.getMeta(),s=n.chart.options.startAngle||0,l=n._starts=[],c=n._angles=[],u=a.data;for(n._updateRadius(),a.count=n.countVisibleElements(),e=0,i=o.data.length;e<i;e++)l[e]=s,r=n._computeAngle(e),c[e]=r,s+=r;for(e=0,i=u.length;e<i;++e)u[e]._options=n._resolveDataElementOptions(u[e],e),n.updateElement(u[e],e,t)},_updateRadius:function(){var t=this,e=t.chart,i=e.chartArea,r=e.options,n=Math.min(i.right-i.left,i.bottom-i.top);e.outerRadius=Math.max(n/2,0),e.innerRadius=Math.max(r.cutoutPercentage?e.outerRadius/100*r.cutoutPercentage:1,0),e.radiusLength=(e.outerRadius-e.innerRadius)/e.getVisibleDatasetCount(),t.outerRadius=e.outerRadius-e.radiusLength*t.index,t.innerRadius=t.outerRadius-e.radiusLength},updateElement:function(t,e,i){var r=this,n=r.chart,o=r.getDataset(),a=n.options,s=a.animation,l=n.scale,c=n.data.labels,u=l.xCenter,d=l.yCenter,h=a.startAngle,g=t.hidden?0:l.getDistanceFromCenterForValue(o.data[e]),p=r._starts[e],f=p+(t.hidden?0:r._angles[e]),m=s.animateScale?0:l.getDistanceFromCenterForValue(o.data[e]),v=t._options||{};ct.extend(t,{_datasetIndex:r.index,_index:e,_scale:l,_model:{backgroundColor:v.backgroundColor,borderColor:v.borderColor,borderWidth:v.borderWidth,borderAlign:v.borderAlign,x:u,y:d,innerRadius:0,outerRadius:i?m:g,startAngle:i&&s.animateRotate?h:p,endAngle:i&&s.animateRotate?h:f,label:ct.valueAtIndexOrDefault(c,e,c[e])}}),t.pivot()},countVisibleElements:function(){var t=this.getDataset(),e=this.getMeta(),i=0;return ct.each(e.data,(function(e,r){isNaN(t.data[r])||e.hidden||i++})),i},setHoverStyle:function(t){var e=t._model,i=t._options,r=ct.getHoverColor,n=ct.valueOrDefault;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=n(i.hoverBackgroundColor,r(i.backgroundColor)),e.borderColor=n(i.hoverBorderColor,r(i.borderColor)),e.borderWidth=n(i.hoverBorderWidth,i.borderWidth)},_computeAngle:function(t){var e=this,i=this.getMeta().count,r=e.getDataset(),n=e.getMeta();if(isNaN(r.data[t])||n.data[t].hidden)return 0;var o={chart:e.chart,dataIndex:t,dataset:r,datasetIndex:e.index};return _e([e.chart.options.elements.arc.angle,2*Math.PI/i],o,t)}});K._set("pie",ct.clone(K.doughnut)),K._set("pie",{cutoutPercentage:0});var Ae=ge,ke=ct.valueOrDefault;K._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var Me=Mt.extend({datasetElementType:Jt.Line,dataElementType:Jt.Point,linkScales:ct.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,i,r=this,n=r.getMeta(),o=n.dataset,a=n.data||[],s=r.chart.scale,l=r._config;for(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),o._scale=s,o._datasetIndex=r.index,o._children=a,o._loop=!0,o._model=r._resolveDatasetElementOptions(o),o.pivot(),e=0,i=a.length;e<i;++e)r.updateElement(a[e],e,t);for(r.updateBezierControlPoints(),e=0,i=a.length;e<i;++e)a[e].pivot()},updateElement:function(t,e,i){var r=this,n=t.custom||{},o=r.getDataset(),a=r.chart.scale,s=a.getPointPositionForValue(e,o.data[e]),l=r._resolveDataElementOptions(t,e),c=r.getMeta().dataset._model,u=i?a.xCenter:s.x,d=i?a.yCenter:s.y;t._scale=a,t._options=l,t._datasetIndex=r.index,t._index=e,t._model={x:u,y:d,skip:n.skip||isNaN(u)||isNaN(d),radius:l.radius,pointStyle:l.pointStyle,rotation:l.rotation,backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,tension:ke(n.tension,c?c.tension:0),hitRadius:l.hitRadius}},_resolveDatasetElementOptions:function(){var t=this,e=t._config,i=t.chart.options,r=Mt.prototype._resolveDatasetElementOptions.apply(t,arguments);return r.spanGaps=ke(e.spanGaps,i.spanGaps),r.tension=ke(e.lineTension,i.elements.line.tension),r},updateBezierControlPoints:function(){var t,e,i,r,n=this,o=n.getMeta(),a=n.chart.chartArea,s=o.data||[];function l(t,e,i){return Math.max(Math.min(t,i),e)}for(o.dataset._model.spanGaps&&(s=s.filter((function(t){return!t._model.skip}))),t=0,e=s.length;t<e;++t)i=s[t]._model,r=ct.splineCurve(ct.previousItem(s,t,!0)._model,i,ct.nextItem(s,t,!0)._model,i.tension),i.controlPointPreviousX=l(r.previous.x,a.left,a.right),i.controlPointPreviousY=l(r.previous.y,a.top,a.bottom),i.controlPointNextX=l(r.next.x,a.left,a.right),i.controlPointNextY=l(r.next.y,a.top,a.bottom)},setHoverStyle:function(t){var e=t._model,i=t._options,r=ct.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=ke(i.hoverBackgroundColor,r(i.backgroundColor)),e.borderColor=ke(i.hoverBorderColor,r(i.borderColor)),e.borderWidth=ke(i.hoverBorderWidth,i.borderWidth),e.radius=ke(i.hoverRadius,i.radius)}});K._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),K._set("global",{datasets:{scatter:{showLine:!1}}});var Oe=we,Pe={bar:oe,bubble:le,doughnut:ge,horizontalBar:pe,line:we,polarArea:Ce,pie:Ae,radar:Me,scatter:Oe};function Se(t,e){return t.native?{x:t.x,y:t.y}:ct.getRelativePosition(t,e)}function Re(t,e){var i,r,n,o,a,s,l=t._getSortedVisibleDatasetMetas();for(r=0,o=l.length;r<o;++r)for(i=l[r].data,n=0,a=i.length;n<a;++n)s=i[n],s._view.skip||e(s)}function Te(t,e){var i=[];return Re(t,(function(t){t.inRange(e.x,e.y)&&i.push(t)})),i}function Ie(t,e,i,r){var n=Number.POSITIVE_INFINITY,o=[];return Re(t,(function(t){if(!i||t.inRange(e.x,e.y)){var a=t.getCenterPoint(),s=r(e,a);s<n?(o=[t],n=s):s===n&&o.push(t)}})),o}function De(t){var e=-1!==t.indexOf("x"),i=-1!==t.indexOf("y");return function(t,r){var n=e?Math.abs(t.x-r.x):0,o=i?Math.abs(t.y-r.y):0;return Math.sqrt(Math.pow(n,2)+Math.pow(o,2))}}function Be(t,e,i){var r=Se(e,t);i.axis=i.axis||"x";var n=De(i.axis),o=i.intersect?Te(t,r):Ie(t,r,!1,n),a=[];return o.length?(t._getSortedVisibleDatasetMetas().forEach((function(t){var e=t.data[o[0]._index];e&&!e._view.skip&&a.push(e)})),a):[]}var je={modes:{single:function(t,e){var i=Se(e,t),r=[];return Re(t,(function(t){if(t.inRange(i.x,i.y))return r.push(t),r})),r.slice(0,1)},label:Be,index:Be,dataset:function(t,e,i){var r=Se(e,t);i.axis=i.axis||"xy";var n=De(i.axis),o=i.intersect?Te(t,r):Ie(t,r,!1,n);return o.length>0&&(o=t.getDatasetMeta(o[0]._datasetIndex).data),o},"x-axis":function(t,e){return Be(t,e,{intersect:!1})},point:function(t,e){var i=Se(e,t);return Te(t,i)},nearest:function(t,e,i){var r=Se(e,t);i.axis=i.axis||"xy";var n=De(i.axis);return Ie(t,r,i.intersect,n)},x:function(t,e,i){var r=Se(e,t),n=[],o=!1;return Re(t,(function(t){t.inXRange(r.x)&&n.push(t),t.inRange(r.x,r.y)&&(o=!0)})),i.intersect&&!o&&(n=[]),n},y:function(t,e,i){var r=Se(e,t),n=[],o=!1;return Re(t,(function(t){t.inYRange(r.y)&&n.push(t),t.inRange(r.x,r.y)&&(o=!0)})),i.intersect&&!o&&(n=[]),n}}},Fe=ct.extend;function Le(t,e){return ct.where(t,(function(t){return t.pos===e}))}function Ee(t,e){return t.sort((function(t,i){var r=e?i:t,n=e?t:i;return r.weight===n.weight?r.index-n.index:r.weight-n.weight}))}function Ve(t){var e,i,r,n=[];for(e=0,i=(t||[]).length;e<i;++e)r=t[e],n.push({index:e,box:r,pos:r.position,horizontal:r.isHorizontal(),weight:r.weight});return n}function Ne(t,e){var i,r,n;for(i=0,r=t.length;i<r;++i)n=t[i],n.width=n.horizontal?n.box.fullWidth&&e.availableWidth:e.vBoxMaxWidth,n.height=n.horizontal&&e.hBoxMaxHeight}function ze(t){var e=Ve(t),i=Ee(Le(e,"left"),!0),r=Ee(Le(e,"right")),n=Ee(Le(e,"top"),!0),o=Ee(Le(e,"bottom"));return{leftAndTop:i.concat(n),rightAndBottom:r.concat(o),chartArea:Le(e,"chartArea"),vertical:i.concat(r),horizontal:n.concat(o)}}function We(t,e,i,r){return Math.max(t[i],e[i])+Math.max(t[r],e[r])}function He(t,e,i){var r,n,o=i.box,a=t.maxPadding;if(i.size&&(t[i.pos]-=i.size),i.size=i.horizontal?o.height:o.width,t[i.pos]+=i.size,o.getPadding){var s=o.getPadding();a.top=Math.max(a.top,s.top),a.left=Math.max(a.left,s.left),a.bottom=Math.max(a.bottom,s.bottom),a.right=Math.max(a.right,s.right)}if(r=e.outerWidth-We(a,t,"left","right"),n=e.outerHeight-We(a,t,"top","bottom"),r!==t.w||n!==t.h)return t.w=r,t.h=n,i.horizontal?r!==t.w:n!==t.h}function Ue(t){var e=t.maxPadding;function i(i){var r=Math.max(e[i]-t[i],0);return t[i]+=r,r}t.y+=i("top"),t.x+=i("left"),i("right"),i("bottom")}function Ye(t,e){var i=e.maxPadding;function r(t){var r={left:0,top:0,right:0,bottom:0};return t.forEach((function(t){r[t]=Math.max(e[t],i[t])})),r}return r(t?["left","right"]:["top","bottom"])}function Qe(t,e,i){var r,n,o,a,s,l,c=[];for(r=0,n=t.length;r<n;++r)o=t[r],a=o.box,a.update(o.width||e.w,o.height||e.h,Ye(o.horizontal,e)),He(e,i,o)&&(l=!0,c.length&&(s=!0)),a.fullWidth||c.push(o);return s&&Qe(c,e,i)||l}function Xe(t,e,i){var r,n,o,a,s=i.padding,l=e.x,c=e.y;for(r=0,n=t.length;r<n;++r)o=t[r],a=o.box,o.horizontal?(a.left=a.fullWidth?s.left:e.left,a.right=a.fullWidth?i.outerWidth-s.right:e.left+e.w,a.top=c,a.bottom=c+a.height,a.width=a.right-a.left,c=a.bottom):(a.left=l,a.right=l+a.width,a.top=e.top,a.bottom=e.top+e.h,a.height=a.bottom-a.top,l=a.right);e.x=l,e.y=c}K._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var qe={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw:function(){e.draw.apply(e,arguments)}}]},t.boxes.push(e)},removeBox:function(t,e){var i=t.boxes?t.boxes.indexOf(e):-1;-1!==i&&t.boxes.splice(i,1)},configure:function(t,e,i){for(var r,n=["fullWidth","position","weight"],o=n.length,a=0;a<o;++a)r=n[a],i.hasOwnProperty(r)&&(e[r]=i[r])},update:function(t,e,i){if(t){var r=t.options.layout||{},n=ct.options.toPadding(r.padding),o=e-n.width,a=i-n.height,s=ze(t.boxes),l=s.vertical,c=s.horizontal,u=Object.freeze({outerWidth:e,outerHeight:i,padding:n,availableWidth:o,vBoxMaxWidth:o/2/l.length,hBoxMaxHeight:a/2}),d=Fe({maxPadding:Fe({},n),w:o,h:a,x:n.left,y:n.top},n);Ne(l.concat(c),u),Qe(l,d,u),Qe(c,d,u)&&Qe(l,d,u),Ue(d),Xe(s.leftAndTop,d,u),d.x+=d.w,d.y+=d.h,Xe(s.rightAndBottom,d,u),t.chartArea={left:d.left,top:d.top,right:d.left+d.w,bottom:d.top+d.h},ct.each(s.chartArea,(function(e){var i=e.box;Fe(i,t.chartArea),i.update(d.w,d.h)}))}}},Je={acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}},Ge="/*\n * DOM element rendering detection\n * https://davidwalsh.name/detect-node-insertion\n */\n@keyframes chartjs-render-animation {\n\tfrom { opacity: 0.99; }\n\tto { opacity: 1; }\n}\n\n.chartjs-render-monitor {\n\tanimation: chartjs-render-animation 0.001s;\n}\n\n/*\n * DOM element resizing detection\n * https://github.com/marcj/css-element-queries\n */\n.chartjs-size-monitor,\n.chartjs-size-monitor-expand,\n.chartjs-size-monitor-shrink {\n\tposition: absolute;\n\tdirection: ltr;\n\tleft: 0;\n\ttop: 0;\n\tright: 0;\n\tbottom: 0;\n\toverflow: hidden;\n\tpointer-events: none;\n\tvisibility: hidden;\n\tz-index: -1;\n}\n\n.chartjs-size-monitor-expand > div {\n\tposition: absolute;\n\twidth: 1000000px;\n\theight: 1000000px;\n\tleft: 0;\n\ttop: 0;\n}\n\n.chartjs-size-monitor-shrink > div {\n\tposition: absolute;\n\twidth: 200%;\n\theight: 200%;\n\tleft: 0;\n\ttop: 0;\n}\n",Ke=Object.freeze({__proto__:null,default:Ge}),Ze=i(Ke),$e="$chartjs",ti="chartjs-",ei=ti+"size-monitor",ii=ti+"render-monitor",ri=ti+"render-animation",ni=["animationstart","webkitAnimationStart"],oi={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function ai(t,e){var i=ct.getStyle(t,e),r=i&&i.match(/^(\d+)(\.\d+)?px$/);return r?Number(r[1]):void 0}function si(t,e){var i=t.style,r=t.getAttribute("height"),n=t.getAttribute("width");if(t[$e]={initial:{height:r,width:n,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",null===n||""===n){var o=ai(t,"width");void 0!==o&&(t.width=o)}if(null===r||""===r)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var a=ai(t,"height");void 0!==o&&(t.height=a)}return t}var li=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(i){}return t}(),ci=!!li&&{passive:!0};function ui(t,e,i){t.addEventListener(e,i,ci)}function di(t,e,i){t.removeEventListener(e,i,ci)}function hi(t,e,i,r,n){return{type:t,chart:e,native:n||null,x:void 0!==i?i:null,y:void 0!==r?r:null}}function gi(t,e){var i=oi[t.type]||t.type,r=ct.getRelativePosition(t,e);return hi(i,e,r.x,r.y,t)}function pi(t,e){var i=!1,r=[];return function(){r=Array.prototype.slice.call(arguments),e=e||this,i||(i=!0,ct.requestAnimFrame.call(window,(function(){i=!1,t.apply(e,r)})))}}function fi(t){var e=document.createElement("div");return e.className=t||"",e}function mi(t){var e=1e6,i=fi(ei),r=fi(ei+"-expand"),n=fi(ei+"-shrink");r.appendChild(fi()),n.appendChild(fi()),i.appendChild(r),i.appendChild(n),i._reset=function(){r.scrollLeft=e,r.scrollTop=e,n.scrollLeft=e,n.scrollTop=e};var o=function(){i._reset(),t()};return ui(r,"scroll",o.bind(r,"expand")),ui(n,"scroll",o.bind(n,"shrink")),i}function vi(t,e){var i=t[$e]||(t[$e]={}),r=i.renderProxy=function(t){t.animationName===ri&&e()};ct.each(ni,(function(e){ui(t,e,r)})),i.reflow=!!t.offsetParent,t.classList.add(ii)}function bi(t){var e=t[$e]||{},i=e.renderProxy;i&&(ct.each(ni,(function(e){di(t,e,i)})),delete e.renderProxy),t.classList.remove(ii)}function xi(t,e,i){var r=t[$e]||(t[$e]={}),n=r.resizer=mi(pi((function(){if(r.resizer){var n=i.options.maintainAspectRatio&&t.parentNode,o=n?n.clientWidth:0;e(hi("resize",i)),n&&n.clientWidth<o&&i.canvas&&e(hi("resize",i))}})));vi(t,(function(){if(r.resizer){var e=t.parentNode;e&&e!==n.parentNode&&e.insertBefore(n,e.firstChild),n._reset()}}))}function yi(t){var e=t[$e]||{},i=e.resizer;delete e.resizer,bi(t),i&&i.parentNode&&i.parentNode.removeChild(i)}function wi(t,e){var i=t[$e]||(t[$e]={});if(!i.containsStyles){i.containsStyles=!0,e="/* Chart.js */\n"+e;var r=document.createElement("style");r.setAttribute("type","text/css"),r.appendChild(document.createTextNode(e)),t.appendChild(r)}}var _i={disableCSSInjection:!1,_enabled:"undefined"!==typeof window&&"undefined"!==typeof document,_ensureLoaded:function(t){if(!this.disableCSSInjection){var e=t.getRootNode?t.getRootNode():document,i=e.host?e:document.head;wi(i,Ze)}},acquireContext:function(t,e){"string"===typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(this._ensureLoaded(t),si(t,e),i):null},releaseContext:function(t){var e=t.canvas;if(e[$e]){var i=e[$e].initial;["height","width"].forEach((function(t){var r=i[t];ct.isNullOrUndef(r)?e.removeAttribute(t):e.setAttribute(t,r)})),ct.each(i.style||{},(function(t,i){e.style[i]=t})),e.width=e.width,delete e[$e]}},addEventListener:function(t,e,i){var r=t.canvas;if("resize"!==e){var n=i[$e]||(i[$e]={}),o=n.proxies||(n.proxies={}),a=o[t.id+"_"+e]=function(e){i(gi(e,t))};ui(r,e,a)}else xi(r,i,t)},removeEventListener:function(t,e,i){var r=t.canvas;if("resize"!==e){var n=i[$e]||{},o=n.proxies||{},a=o[t.id+"_"+e];a&&di(r,e,a)}else yi(r)}};ct.addEvent=ui,ct.removeEvent=di;var Ci=_i._enabled?_i:Je,Ai=ct.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},Ci);K._set("global",{plugins:{}});var ki={_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){var i=e.indexOf(t);-1!==i&&e.splice(i,1)})),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,i){var r,n,o,a,s,l=this.descriptors(t),c=l.length;for(r=0;r<c;++r)if(n=l[r],o=n.plugin,s=o[e],"function"===typeof s&&(a=[t].concat(i||[]),a.push(n.options),!1===s.apply(o,a)))return!1;return!0},descriptors:function(t){var e=t.$plugins||(t.$plugins={});if(e.id===this._cacheId)return e.descriptors;var i=[],r=[],n=t&&t.config||{},o=n.options&&n.options.plugins||{};return this._plugins.concat(n.plugins||[]).forEach((function(t){var e=i.indexOf(t);if(-1===e){var n=t.id,a=o[n];!1!==a&&(!0===a&&(a=ct.clone(K.global.plugins[n])),i.push(t),r.push({plugin:t,options:a||{}}))}})),e.descriptors=r,e.id=this._cacheId,r},_invalidate:function(t){delete t.$plugins}},Mi={constructors:{},defaults:{},registerScaleType:function(t,e,i){this.constructors[t]=e,this.defaults[t]=ct.clone(i)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?ct.merge({},[K.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){var i=this;i.defaults.hasOwnProperty(t)&&(i.defaults[t]=ct.extend(i.defaults[t],e))},addScalesToLayout:function(t){ct.each(t.scales,(function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,qe.addBox(t,e)}))}},Oi=ct.valueOrDefault,Pi=ct.rtl.getRtlAdapter;K._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:ct.noop,title:function(t,e){var i="",r=e.labels,n=r?r.length:0;if(t.length>0){var o=t[0];o.label?i=o.label:o.xLabel?i=o.xLabel:n>0&&o.index<n&&(i=r[o.index])}return i},afterTitle:ct.noop,beforeBody:ct.noop,beforeLabel:ct.noop,label:function(t,e){var i=e.datasets[t.datasetIndex].label||"";return i&&(i+=": "),ct.isNullOrUndef(t.value)?i+=t.yLabel:i+=t.value,i},labelColor:function(t,e){var i=e.getDatasetMeta(t.datasetIndex),r=i.data[t.index],n=r._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:ct.noop,afterBody:ct.noop,beforeFooter:ct.noop,footer:ct.noop,afterFooter:ct.noop}}});var Si={average:function(t){if(!t.length)return!1;var e,i,r=0,n=0,o=0;for(e=0,i=t.length;e<i;++e){var a=t[e];if(a&&a.hasValue()){var s=a.tooltipPosition();r+=s.x,n+=s.y,++o}}return{x:r/o,y:n/o}},nearest:function(t,e){var i,r,n,o=e.x,a=e.y,s=Number.POSITIVE_INFINITY;for(i=0,r=t.length;i<r;++i){var l=t[i];if(l&&l.hasValue()){var c=l.getCenterPoint(),u=ct.distanceBetweenPoints(e,c);u<s&&(s=u,n=l)}}if(n){var d=n.tooltipPosition();o=d.x,a=d.y}return{x:o,y:a}}};function Ri(t,e){return e&&(ct.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function Ti(t){return("string"===typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function Ii(t){var e=t._xScale,i=t._yScale||t._scale,r=t._index,n=t._datasetIndex,o=t._chart.getDatasetMeta(n).controller,a=o._getIndexScale(),s=o._getValueScale();return{xLabel:e?e.getLabelForIndex(r,n):"",yLabel:i?i.getLabelForIndex(r,n):"",label:a?""+a.getLabelForIndex(r,n):"",value:s?""+s.getLabelForIndex(r,n):"",index:r,datasetIndex:n,x:t._model.x,y:t._model.y}}function Di(t){var e=K.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,rtl:t.rtl,textDirection:t.textDirection,bodyFontColor:t.bodyFontColor,_bodyFontFamily:Oi(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:Oi(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:Oi(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:Oi(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:Oi(t.titleFontStyle,e.defaultFontStyle),titleFontSize:Oi(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:Oi(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:Oi(t.footerFontStyle,e.defaultFontStyle),footerFontSize:Oi(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 Bi(t,e){var i=t._chart.ctx,r=2*e.yPadding,n=0,o=e.body,a=o.reduce((function(t,e){return t+e.before.length+e.lines.length+e.after.length}),0);a+=e.beforeBody.length+e.afterBody.length;var s=e.title.length,l=e.footer.length,c=e.titleFontSize,u=e.bodyFontSize,d=e.footerFontSize;r+=s*c,r+=s?(s-1)*e.titleSpacing:0,r+=s?e.titleMarginBottom:0,r+=a*u,r+=a?(a-1)*e.bodySpacing:0,r+=l?e.footerMarginTop:0,r+=l*d,r+=l?(l-1)*e.footerSpacing:0;var h=0,g=function(t){n=Math.max(n,i.measureText(t).width+h)};return i.font=ct.fontString(c,e._titleFontStyle,e._titleFontFamily),ct.each(e.title,g),i.font=ct.fontString(u,e._bodyFontStyle,e._bodyFontFamily),ct.each(e.beforeBody.concat(e.afterBody),g),h=e.displayColors?u+2:0,ct.each(o,(function(t){ct.each(t.before,g),ct.each(t.lines,g),ct.each(t.after,g)})),h=0,i.font=ct.fontString(d,e._footerFontStyle,e._footerFontFamily),ct.each(e.footer,g),n+=2*e.xPadding,{width:n,height:r}}function ji(t,e){var i,r,n,o,a,s=t._model,l=t._chart,c=t._chart.chartArea,u="center",d="center";s.y<e.height?d="top":s.y>l.height-e.height&&(d="bottom");var h=(c.left+c.right)/2,g=(c.top+c.bottom)/2;"center"===d?(i=function(t){return t<=h},r=function(t){return t>h}):(i=function(t){return t<=e.width/2},r=function(t){return t>=l.width-e.width/2}),n=function(t){return t+e.width+s.caretSize+s.caretPadding>l.width},o=function(t){return t-e.width-s.caretSize-s.caretPadding<0},a=function(t){return t<=g?"top":"bottom"},i(s.x)?(u="left",n(s.x)&&(u="center",d=a(s.y))):r(s.x)&&(u="right",o(s.x)&&(u="center",d=a(s.y)));var p=t._options;return{xAlign:p.xAlign?p.xAlign:u,yAlign:p.yAlign?p.yAlign:d}}function Fi(t,e,i,r){var n=t.x,o=t.y,a=t.caretSize,s=t.caretPadding,l=t.cornerRadius,c=i.xAlign,u=i.yAlign,d=a+s,h=l+s;return"right"===c?n-=e.width:"center"===c&&(n-=e.width/2,n+e.width>r.width&&(n=r.width-e.width),n<0&&(n=0)),"top"===u?o+=d:o-="bottom"===u?e.height+d:e.height/2,"center"===u?"left"===c?n+=d:"right"===c&&(n-=d):"left"===c?n-=h:"right"===c&&(n+=h),{x:n,y:o}}function Li(t,e){return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-t.xPadding:t.x+t.xPadding}function Ei(t){return Ri([],Ti(t))}var Vi=vt.extend({initialize:function(){this._model=Di(this._options),this._lastActive=[]},getTitle:function(){var t=this,e=t._options,i=e.callbacks,r=i.beforeTitle.apply(t,arguments),n=i.title.apply(t,arguments),o=i.afterTitle.apply(t,arguments),a=[];return a=Ri(a,Ti(r)),a=Ri(a,Ti(n)),a=Ri(a,Ti(o)),a},getBeforeBody:function(){return Ei(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var i=this,r=i._options.callbacks,n=[];return ct.each(t,(function(t){var o={before:[],lines:[],after:[]};Ri(o.before,Ti(r.beforeLabel.call(i,t,e))),Ri(o.lines,r.label.call(i,t,e)),Ri(o.after,Ti(r.afterLabel.call(i,t,e))),n.push(o)})),n},getAfterBody:function(){return Ei(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this,e=t._options.callbacks,i=e.beforeFooter.apply(t,arguments),r=e.footer.apply(t,arguments),n=e.afterFooter.apply(t,arguments),o=[];return o=Ri(o,Ti(i)),o=Ri(o,Ti(r)),o=Ri(o,Ti(n)),o},update:function(t){var e,i,r=this,n=r._options,o=r._model,a=r._model=Di(n),s=r._active,l=r._data,c={xAlign:o.xAlign,yAlign:o.yAlign},u={x:o.x,y:o.y},d={width:o.width,height:o.height},h={x:o.caretX,y:o.caretY};if(s.length){a.opacity=1;var g=[],p=[];h=Si[n.position].call(r,s,r._eventPosition);var f=[];for(e=0,i=s.length;e<i;++e)f.push(Ii(s[e]));n.filter&&(f=f.filter((function(t){return n.filter(t,l)}))),n.itemSort&&(f=f.sort((function(t,e){return n.itemSort(t,e,l)}))),ct.each(f,(function(t){g.push(n.callbacks.labelColor.call(r,t,r._chart)),p.push(n.callbacks.labelTextColor.call(r,t,r._chart))})),a.title=r.getTitle(f,l),a.beforeBody=r.getBeforeBody(f,l),a.body=r.getBody(f,l),a.afterBody=r.getAfterBody(f,l),a.footer=r.getFooter(f,l),a.x=h.x,a.y=h.y,a.caretPadding=n.caretPadding,a.labelColors=g,a.labelTextColors=p,a.dataPoints=f,d=Bi(this,a),c=ji(this,d),u=Fi(a,d,c,r._chart)}else a.opacity=0;return a.xAlign=c.xAlign,a.yAlign=c.yAlign,a.x=u.x,a.y=u.y,a.width=d.width,a.height=d.height,a.caretX=h.x,a.caretY=h.y,r._model=a,t&&n.custom&&n.custom.call(r,a),r},drawCaret:function(t,e){var i=this._chart.ctx,r=this._view,n=this.getCaretPosition(t,e,r);i.lineTo(n.x1,n.y1),i.lineTo(n.x2,n.y2),i.lineTo(n.x3,n.y3)},getCaretPosition:function(t,e,i){var r,n,o,a,s,l,c=i.caretSize,u=i.cornerRadius,d=i.xAlign,h=i.yAlign,g=t.x,p=t.y,f=e.width,m=e.height;if("center"===h)s=p+m/2,"left"===d?(r=g,n=r-c,o=r,a=s+c,l=s-c):(r=g+f,n=r+c,o=r,a=s-c,l=s+c);else if("left"===d?(n=g+u+c,r=n-c,o=n+c):"right"===d?(n=g+f-u-c,r=n-c,o=n+c):(n=i.caretX,r=n-c,o=n+c),"top"===h)a=p,s=a-c,l=a;else{a=p+m,s=a+c,l=a;var v=o;o=r,r=v}return{x1:r,x2:n,x3:o,y1:a,y2:s,y3:l}},drawTitle:function(t,e,i){var r,n,o,a=e.title,s=a.length;if(s){var l=Pi(e.rtl,e.x,e.width);for(t.x=Li(e,e._titleAlign),i.textAlign=l.textAlign(e._titleAlign),i.textBaseline="middle",r=e.titleFontSize,n=e.titleSpacing,i.fillStyle=e.titleFontColor,i.font=ct.fontString(r,e._titleFontStyle,e._titleFontFamily),o=0;o<s;++o)i.fillText(a[o],l.x(t.x),t.y+r/2),t.y+=r+n,o+1===s&&(t.y+=e.titleMarginBottom-n)}},drawBody:function(t,e,i){var r,n,o,a,s,l,c,u,d=e.bodyFontSize,h=e.bodySpacing,g=e._bodyAlign,p=e.body,f=e.displayColors,m=0,v=f?Li(e,"left"):0,b=Pi(e.rtl,e.x,e.width),x=function(e){i.fillText(e,b.x(t.x+m),t.y+d/2),t.y+=d+h},y=b.textAlign(g);for(i.textAlign=g,i.textBaseline="middle",i.font=ct.fontString(d,e._bodyFontStyle,e._bodyFontFamily),t.x=Li(e,y),i.fillStyle=e.bodyFontColor,ct.each(e.beforeBody,x),m=f&&"right"!==y?"center"===g?d/2+1:d+2:0,s=0,c=p.length;s<c;++s){for(r=p[s],n=e.labelTextColors[s],o=e.labelColors[s],i.fillStyle=n,ct.each(r.before,x),a=r.lines,l=0,u=a.length;l<u;++l){if(f){var w=b.x(v);i.fillStyle=e.legendColorBackground,i.fillRect(b.leftForLtr(w,d),t.y,d,d),i.lineWidth=1,i.strokeStyle=o.borderColor,i.strokeRect(b.leftForLtr(w,d),t.y,d,d),i.fillStyle=o.backgroundColor,i.fillRect(b.leftForLtr(b.xPlus(w,1),d-2),t.y+1,d-2,d-2),i.fillStyle=n}x(a[l])}ct.each(r.after,x)}m=0,ct.each(e.afterBody,x),t.y-=h},drawFooter:function(t,e,i){var r,n,o=e.footer,a=o.length;if(a){var s=Pi(e.rtl,e.x,e.width);for(t.x=Li(e,e._footerAlign),t.y+=e.footerMarginTop,i.textAlign=s.textAlign(e._footerAlign),i.textBaseline="middle",r=e.footerFontSize,i.fillStyle=e.footerFontColor,i.font=ct.fontString(r,e._footerFontStyle,e._footerFontFamily),n=0;n<a;++n)i.fillText(o[n],s.x(t.x),t.y+r/2),t.y+=r+e.footerSpacing}},drawBackground:function(t,e,i,r){i.fillStyle=e.backgroundColor,i.strokeStyle=e.borderColor,i.lineWidth=e.borderWidth;var n=e.xAlign,o=e.yAlign,a=t.x,s=t.y,l=r.width,c=r.height,u=e.cornerRadius;i.beginPath(),i.moveTo(a+u,s),"top"===o&&this.drawCaret(t,r),i.lineTo(a+l-u,s),i.quadraticCurveTo(a+l,s,a+l,s+u),"center"===o&&"right"===n&&this.drawCaret(t,r),i.lineTo(a+l,s+c-u),i.quadraticCurveTo(a+l,s+c,a+l-u,s+c),"bottom"===o&&this.drawCaret(t,r),i.lineTo(a+u,s+c),i.quadraticCurveTo(a,s+c,a,s+c-u),"center"===o&&"left"===n&&this.drawCaret(t,r),i.lineTo(a,s+u),i.quadraticCurveTo(a,s,a+u,s),i.closePath(),i.fill(),e.borderWidth>0&&i.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var i={width:e.width,height:e.height},r={x:e.x,y:e.y},n=Math.abs(e.opacity<.001)?0:e.opacity,o=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&o&&(t.save(),t.globalAlpha=n,this.drawBackground(r,e,t,i),r.y+=e.yPadding,ct.rtl.overrideTextDirection(t,e.textDirection),this.drawTitle(r,e,t),this.drawBody(r,e,t),this.drawFooter(r,e,t),ct.rtl.restoreTextDirection(t,e.textDirection),t.restore())}},handleEvent:function(t){var e=this,i=e._options,r=!1;return e._lastActive=e._lastActive||[],"mouseout"===t.type?e._active=[]:(e._active=e._chart.getElementsAtEventForMode(t,i.mode,i),i.reverse&&e._active.reverse()),r=!ct.arrayEquals(e._active,e._lastActive),r&&(e._lastActive=e._active,(i.enabled||i.custom)&&(e._eventPosition={x:t.x,y:t.y},e.update(!0),e.pivot())),r}}),Ni=Si,zi=Vi;zi.positioners=Ni;var Wi=ct.valueOrDefault;function Hi(){return ct.merge({},[].slice.call(arguments),{merger:function(t,e,i,r){if("xAxes"===t||"yAxes"===t){var n,o,a,s=i[t].length;for(e[t]||(e[t]=[]),n=0;n<s;++n)a=i[t][n],o=Wi(a.type,"xAxes"===t?"category":"linear"),n>=e[t].length&&e[t].push({}),!e[t][n].type||a.type&&a.type!==e[t][n].type?ct.merge(e[t][n],[Mi.getScaleDefaults(o),a]):ct.merge(e[t][n],a)}else ct._merger(t,e,i,r)}})}function Ui(){return ct.merge({},[].slice.call(arguments),{merger:function(t,e,i,r){var n=e[t]||{},o=i[t];"scales"===t?e[t]=Hi(n,o):"scale"===t?e[t]=ct.merge(n,[Mi.getScaleDefaults(o.type),o]):ct._merger(t,e,i,r)}})}function Yi(t){t=t||{};var e=t.data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=Ui(K.global,K[t.type],t.options||{}),t}function Qi(t){var e=t.options;ct.each(t.scales,(function(e){qe.removeBox(t,e)})),e=Ui(K.global,K[t.config.type],e),t.options=t.config.options=e,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._options=e.tooltips,t.tooltip.initialize()}function Xi(t,e,i){var r,n=function(t){return t.id===r};do{r=e+i++}while(ct.findIndex(t,n)>=0);return r}function qi(t){return"top"===t||"bottom"===t}function Ji(t,e){return function(i,r){return i[t]===r[t]?i[e]-r[e]:i[t]-r[t]}}K._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Gi=function(t,e){return this.construct(t,e),this};ct.extend(Gi.prototype,{construct:function(t,e){var i=this;e=Yi(e);var r=Ai.acquireContext(t,e),n=r&&r.canvas,o=n&&n.height,a=n&&n.width;i.id=ct.uid(),i.ctx=r,i.canvas=n,i.config=e,i.width=a,i.height=o,i.aspectRatio=o?a/o:null,i.options=e.options,i._bufferedRender=!1,i._layers=[],i.chart=i,i.controller=i,Gi.instances[i.id]=i,Object.defineProperty(i,"data",{get:function(){return i.config.data},set:function(t){i.config.data=t}}),r&&n?(i.initialize(),i.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return ki.notify(t,"beforeInit"),ct.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.initToolTip(),ki.notify(t,"afterInit"),t},clear:function(){return ct.canvas.clear(this),this},stop:function(){return yt.cancelAnimation(this),this},resize:function(t){var e=this,i=e.options,r=e.canvas,n=i.maintainAspectRatio&&e.aspectRatio||null,o=Math.max(0,Math.floor(ct.getMaximumWidth(r))),a=Math.max(0,Math.floor(n?o/n:ct.getMaximumHeight(r)));if((e.width!==o||e.height!==a)&&(r.width=e.width=o,r.height=e.height=a,r.style.width=o+"px",r.style.height=a+"px",ct.retinaScale(e,i.devicePixelRatio),!t)){var s={width:o,height:a};ki.notify(e,"resize",[s]),i.onResize&&i.onResize(e,s),e.stop(),e.update({duration:i.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},i=t.scale;ct.each(e.xAxes,(function(t,i){t.id||(t.id=Xi(e.xAxes,"x-axis-",i))})),ct.each(e.yAxes,(function(t,i){t.id||(t.id=Xi(e.yAxes,"y-axis-",i))})),i&&(i.id=i.id||"scale")},buildOrUpdateScales:function(){var t=this,e=t.options,i=t.scales||{},r=[],n=Object.keys(i).reduce((function(t,e){return t[e]=!1,t}),{});e.scales&&(r=r.concat((e.scales.xAxes||[]).map((function(t){return{options:t,dtype:"category",dposition:"bottom"}})),(e.scales.yAxes||[]).map((function(t){return{options:t,dtype:"linear",dposition:"left"}})))),e.scale&&r.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),ct.each(r,(function(e){var r=e.options,o=r.id,a=Wi(r.type,e.dtype);qi(r.position)!==qi(e.dposition)&&(r.position=e.dposition),n[o]=!0;var s=null;if(o in i&&i[o].type===a)s=i[o],s.options=r,s.ctx=t.ctx,s.chart=t;else{var l=Mi.getScaleConstructor(a);if(!l)return;s=new l({id:o,type:a,options:r,ctx:t.ctx,chart:t}),i[s.id]=s}s.mergeTicksOptions(),e.isDefault&&(t.scale=s)})),ct.each(n,(function(t,e){t||delete i[e]})),t.scales=i,Mi.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t,e,i=this,r=[],n=i.data.datasets;for(t=0,e=n.length;t<e;t++){var o=n[t],a=i.getDatasetMeta(t),s=o.type||i.config.type;if(a.type&&a.type!==s&&(i.destroyDatasetMeta(t),a=i.getDatasetMeta(t)),a.type=s,a.order=o.order||0,a.index=t,a.controller)a.controller.updateIndex(t),a.controller.linkScales();else{var l=Pe[a.type];if(void 0===l)throw new Error('"'+a.type+'" is not a chart type.');a.controller=new l(i,t),r.push(a.controller)}}return r},resetElements:function(){var t=this;ct.each(t.data.datasets,(function(e,i){t.getDatasetMeta(i).controller.reset()}),t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var e,i,r=this;if(t&&"object"===typeof t||(t={duration:t,lazy:arguments[1]}),Qi(r),ki._invalidate(r),!1!==ki.notify(r,"beforeUpdate")){r.tooltip._data=r.data;var n=r.buildOrUpdateControllers();for(e=0,i=r.data.datasets.length;e<i;e++)r.getDatasetMeta(e).controller.buildOrUpdateElements();r.updateLayout(),r.options.animation&&r.options.animation.duration&&ct.each(n,(function(t){t.reset()})),r.updateDatasets(),r.tooltip.initialize(),r.lastActive=[],ki.notify(r,"afterUpdate"),r._layers.sort(Ji("z","_idx")),r._bufferedRender?r._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:r.render(t)}},updateLayout:function(){var t=this;!1!==ki.notify(t,"beforeLayout")&&(qe.update(this,this.width,this.height),t._layers=[],ct.each(t.boxes,(function(e){e._configure&&e._configure(),t._layers.push.apply(t._layers,e._layers())}),t),t._layers.forEach((function(t,e){t._idx=e})),ki.notify(t,"afterScaleUpdate"),ki.notify(t,"afterLayout"))},updateDatasets:function(){var t=this;if(!1!==ki.notify(t,"beforeDatasetsUpdate")){for(var e=0,i=t.data.datasets.length;e<i;++e)t.updateDataset(e);ki.notify(t,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this,i=e.getDatasetMeta(t),r={meta:i,index:t};!1!==ki.notify(e,"beforeDatasetUpdate",[r])&&(i.controller._update(),ki.notify(e,"afterDatasetUpdate",[r]))},render:function(t){var e=this;t&&"object"===typeof t||(t={duration:t,lazy:arguments[1]});var i=e.options.animation,r=Wi(t.duration,i&&i.duration),n=t.lazy;if(!1!==ki.notify(e,"beforeRender")){var o=function(t){ki.notify(e,"afterRender"),ct.callback(i&&i.onComplete,[t],e)};if(i&&r){var a=new xt({numSteps:r/16.66,easing:t.easing||i.easing,render:function(t,e){var i=ct.easing.effects[e.easing],r=e.currentStep,n=r/e.numSteps;t.draw(i(n),n,r)},onAnimationProgress:i.onProgress,onAnimationComplete:o});yt.addAnimation(e,a,r,n)}else e.draw(),o(new xt({numSteps:0,chart:e}));return e}},draw:function(t){var e,i,r=this;if(r.clear(),ct.isNullOrUndef(t)&&(t=1),r.transition(t),!(r.width<=0||r.height<=0)&&!1!==ki.notify(r,"beforeDraw",[t])){for(i=r._layers,e=0;e<i.length&&i[e].z<=0;++e)i[e].draw(r.chartArea);for(r.drawDatasets(t);e<i.length;++e)i[e].draw(r.chartArea);r._drawTooltip(t),ki.notify(r,"afterDraw",[t])}},transition:function(t){for(var e=this,i=0,r=(e.data.datasets||[]).length;i<r;++i)e.isDatasetVisible(i)&&e.getDatasetMeta(i).controller.transition(t);e.tooltip.transition(t)},_getSortedDatasetMetas:function(t){var e,i,r=this,n=r.data.datasets||[],o=[];for(e=0,i=n.length;e<i;++e)t&&!r.isDatasetVisible(e)||o.push(r.getDatasetMeta(e));return o.sort(Ji("order","index")),o},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(t){var e,i,r=this;if(!1!==ki.notify(r,"beforeDatasetsDraw",[t])){for(e=r._getSortedVisibleDatasetMetas(),i=e.length-1;i>=0;--i)r.drawDataset(e[i],t);ki.notify(r,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var i=this,r={meta:t,index:t.index,easingValue:e};!1!==ki.notify(i,"beforeDatasetDraw",[r])&&(t.controller.draw(e),ki.notify(i,"afterDatasetDraw",[r]))},_drawTooltip:function(t){var e=this,i=e.tooltip,r={tooltip:i,easingValue:t};!1!==ki.notify(e,"beforeTooltipDraw",[r])&&(i.draw(),ki.notify(e,"afterTooltipDraw",[r]))},getElementAtEvent:function(t){return je.modes.single(this,t)},getElementsAtEvent:function(t){return je.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return je.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,i){var r=je.modes[e];return"function"===typeof r?r(this,t,i):[]},getDatasetAtEvent:function(t){return je.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this,i=e.data.datasets[t];i._meta||(i._meta={});var r=i._meta[e.id];return r||(r=i._meta[e.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:i.order||0,index:t}),r},getVisibleDatasetCount:function(){for(var t=0,e=0,i=this.data.datasets.length;e<i;++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,i=this.data.datasets[t],r=i._meta&&i._meta[e];r&&(r.controller.destroy(),delete i._meta[e])},destroy:function(){var t,e,i=this,r=i.canvas;for(i.stop(),t=0,e=i.data.datasets.length;t<e;++t)i.destroyDatasetMeta(t);r&&(i.unbindEvents(),ct.canvas.clear(i),Ai.releaseContext(i.ctx),i.canvas=null,i.ctx=null),ki.notify(i,"destroy"),delete Gi.instances[i.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new zi({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var t=this,e=t._listeners={},i=function(){t.eventHandler.apply(t,arguments)};ct.each(t.options.events,(function(r){Ai.addEventListener(t,r,i),e[r]=i})),t.options.responsive&&(i=function(){t.resize()},Ai.addEventListener(t,"resize",i),e.resize=i)},unbindEvents:function(){var t=this,e=t._listeners;e&&(delete t._listeners,ct.each(e,(function(e,i){Ai.removeEventListener(t,i,e)})))},updateHoverStyle:function(t,e,i){var r,n,o,a=i?"set":"remove";for(n=0,o=t.length;n<o;++n)r=t[n],r&&this.getDatasetMeta(r._datasetIndex).controller[a+"HoverStyle"](r);"dataset"===e&&this.getDatasetMeta(t[0]._datasetIndex).controller["_"+a+"DatasetHoverStyle"]()},eventHandler:function(t){var e=this,i=e.tooltip;if(!1!==ki.notify(e,"beforeEvent",[t])){e._bufferedRender=!0,e._bufferedRequest=null;var r=e.handleEvent(t);i&&(r=i._start?i.handleEvent(t):r|i.handleEvent(t)),ki.notify(e,"afterEvent",[t]);var n=e._bufferedRequest;return n?e.render(n):r&&!e.animating&&(e.stop(),e.render({duration:e.options.hover.animationDuration,lazy:!0})),e._bufferedRender=!1,e._bufferedRequest=null,e}},handleEvent:function(t){var e=this,i=e.options||{},r=i.hover,n=!1;return e.lastActive=e.lastActive||[],"mouseout"===t.type?e.active=[]:e.active=e.getElementsAtEventForMode(t,r.mode,r),ct.callback(i.onHover||i.hover.onHover,[t.native,e.active],e),"mouseup"!==t.type&&"click"!==t.type||i.onClick&&i.onClick.call(e,t.native,e.active),e.lastActive.length&&e.updateHoverStyle(e.lastActive,r.mode,!1),e.active.length&&r.mode&&e.updateHoverStyle(e.active,r.mode,!0),n=!ct.arrayEquals(e.active,e.lastActive),e.lastActive=e.active,n}}),Gi.instances={};var Ki=Gi;Gi.Controller=Gi,Gi.types={},ct.configMerge=Ui,ct.scaleMerge=Hi;var Zi=function(){function t(t,e,i){var r;return"string"===typeof t?(r=parseInt(t,10),-1!==t.indexOf("%")&&(r=r/100*e.parentNode[i])):r=t,r}function e(t){return void 0!==t&&null!==t&&"none"!==t}function i(i,r,n){var o=document.defaultView,a=ct._getParentNode(i),s=o.getComputedStyle(i)[r],l=o.getComputedStyle(a)[r],c=e(s),u=e(l),d=Number.POSITIVE_INFINITY;return c||u?Math.min(c?t(s,i,n):d,u?t(l,a,n):d):"none"}ct.where=function(t,e){if(ct.isArray(t)&&Array.prototype.filter)return t.filter(e);var i=[];return ct.each(t,(function(t){e(t)&&i.push(t)})),i},ct.findIndex=Array.prototype.findIndex?function(t,e,i){return t.findIndex(e,i)}:function(t,e,i){i=void 0===i?t:i;for(var r=0,n=t.length;r<n;++r)if(e.call(i,t[r],r,t))return r;return-1},ct.findNextWhere=function(t,e,i){ct.isNullOrUndef(i)&&(i=-1);for(var r=i+1;r<t.length;r++){var n=t[r];if(e(n))return n}},ct.findPreviousWhere=function(t,e,i){ct.isNullOrUndef(i)&&(i=t.length);for(var r=i-1;r>=0;r--){var n=t[r];if(e(n))return n}},ct.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},ct.almostEquals=function(t,e,i){return Math.abs(t-e)<i},ct.almostWhole=function(t,e){var i=Math.round(t);return i-e<=t&&i+e>=t},ct.max=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.max(t,e)}),Number.NEGATIVE_INFINITY)},ct.min=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.min(t,e)}),Number.POSITIVE_INFINITY)},ct.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return t=+t,0===t||isNaN(t)?t:t>0?1:-1},ct.toRadians=function(t){return t*(Math.PI/180)},ct.toDegrees=function(t){return t*(180/Math.PI)},ct._decimalPlaces=function(t){if(ct.isFinite(t)){var e=1,i=0;while(Math.round(t*e)/e!==t)e*=10,i++;return i}},ct.getAngleFromPoint=function(t,e){var i=e.x-t.x,r=e.y-t.y,n=Math.sqrt(i*i+r*r),o=Math.atan2(r,i);return o<-.5*Math.PI&&(o+=2*Math.PI),{angle:o,distance:n}},ct.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},ct.aliasPixel=function(t){return t%2===0?0:.5},ct._alignPixel=function(t,e,i){var r=t.currentDevicePixelRatio,n=i/2;return Math.round((e-n)*r)/r+n},ct.splineCurve=function(t,e,i,r){var n=t.skip?e:t,o=e,a=i.skip?e:i,s=Math.sqrt(Math.pow(o.x-n.x,2)+Math.pow(o.y-n.y,2)),l=Math.sqrt(Math.pow(a.x-o.x,2)+Math.pow(a.y-o.y,2)),c=s/(s+l),u=l/(s+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;var d=r*c,h=r*u;return{previous:{x:o.x-d*(a.x-n.x),y:o.y-d*(a.y-n.y)},next:{x:o.x+h*(a.x-n.x),y:o.y+h*(a.y-n.y)}}},ct.EPSILON=Number.EPSILON||1e-14,ct.splineCurveMonotone=function(t){var e,i,r,n,o,a,s,l,c,u=(t||[]).map((function(t){return{model:t._model,deltaK:0,mK:0}})),d=u.length;for(e=0;e<d;++e)if(r=u[e],!r.model.skip){if(i=e>0?u[e-1]:null,n=e<d-1?u[e+1]:null,n&&!n.model.skip){var h=n.model.x-r.model.x;r.deltaK=0!==h?(n.model.y-r.model.y)/h:0}!i||i.model.skip?r.mK=r.deltaK:!n||n.model.skip?r.mK=i.deltaK:this.sign(i.deltaK)!==this.sign(r.deltaK)?r.mK=0:r.mK=(i.deltaK+r.deltaK)/2}for(e=0;e<d-1;++e)r=u[e],n=u[e+1],r.model.skip||n.model.skip||(ct.almostEquals(r.deltaK,0,this.EPSILON)?r.mK=n.mK=0:(o=r.mK/r.deltaK,a=n.mK/r.deltaK,l=Math.pow(o,2)+Math.pow(a,2),l<=9||(s=3/Math.sqrt(l),r.mK=o*s*r.deltaK,n.mK=a*s*r.deltaK)));for(e=0;e<d;++e)r=u[e],r.model.skip||(i=e>0?u[e-1]:null,n=e<d-1?u[e+1]:null,i&&!i.model.skip&&(c=(r.model.x-i.model.x)/3,r.model.controlPointPreviousX=r.model.x-c,r.model.controlPointPreviousY=r.model.y-c*r.mK),n&&!n.model.skip&&(c=(n.model.x-r.model.x)/3,r.model.controlPointNextX=r.model.x+c,r.model.controlPointNextY=r.model.y+c*r.mK))},ct.nextItem=function(t,e,i){return i?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},ct.previousItem=function(t,e,i){return i?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},ct.niceNum=function(t,e){var i,r=Math.floor(ct.log10(t)),n=t/Math.pow(10,r);return i=e?n<1.5?1:n<3?2:n<7?5:10:n<=1?1:n<=2?2:n<=5?5:10,i*Math.pow(10,r)},ct.requestAnimFrame=function(){return"undefined"===typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)}}(),ct.getRelativePosition=function(t,e){var i,r,n=t.originalEvent||t,o=t.target||t.srcElement,a=o.getBoundingClientRect(),s=n.touches;s&&s.length>0?(i=s[0].clientX,r=s[0].clientY):(i=n.clientX,r=n.clientY);var l=parseFloat(ct.getStyle(o,"padding-left")),c=parseFloat(ct.getStyle(o,"padding-top")),u=parseFloat(ct.getStyle(o,"padding-right")),d=parseFloat(ct.getStyle(o,"padding-bottom")),h=a.right-a.left-l-u,g=a.bottom-a.top-c-d;return i=Math.round((i-a.left-l)/h*o.width/e.currentDevicePixelRatio),r=Math.round((r-a.top-c)/g*o.height/e.currentDevicePixelRatio),{x:i,y:r}},ct.getConstraintWidth=function(t){return i(t,"max-width","clientWidth")},ct.getConstraintHeight=function(t){return i(t,"max-height","clientHeight")},ct._calculatePadding=function(t,e,i){return e=ct.getStyle(t,e),e.indexOf("%")>-1?i*parseInt(e,10)/100:parseInt(e,10)},ct._getParentNode=function(t){var e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e},ct.getMaximumWidth=function(t){var e=ct._getParentNode(t);if(!e)return t.clientWidth;var i=e.clientWidth,r=ct._calculatePadding(e,"padding-left",i),n=ct._calculatePadding(e,"padding-right",i),o=i-r-n,a=ct.getConstraintWidth(t);return isNaN(a)?o:Math.min(o,a)},ct.getMaximumHeight=function(t){var e=ct._getParentNode(t);if(!e)return t.clientHeight;var i=e.clientHeight,r=ct._calculatePadding(e,"padding-top",i),n=ct._calculatePadding(e,"padding-bottom",i),o=i-r-n,a=ct.getConstraintHeight(t);return isNaN(a)?o:Math.min(o,a)},ct.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},ct.retinaScale=function(t,e){var i=t.currentDevicePixelRatio=e||"undefined"!==typeof window&&window.devicePixelRatio||1;if(1!==i){var r=t.canvas,n=t.height,o=t.width;r.height=n*i,r.width=o*i,t.ctx.scale(i,i),r.style.height||r.style.width||(r.style.height=n+"px",r.style.width=o+"px")}},ct.fontString=function(t,e,i){return e+" "+t+"px "+i},ct.longestText=function(t,e,i,r){r=r||{};var n=r.data=r.data||{},o=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(n=r.data={},o=r.garbageCollect=[],r.font=e),t.font=e;var a,s,l,c,u,d=0,h=i.length;for(a=0;a<h;a++)if(c=i[a],void 0!==c&&null!==c&&!0!==ct.isArray(c))d=ct.measureText(t,n,o,d,c);else if(ct.isArray(c))for(s=0,l=c.length;s<l;s++)u=c[s],void 0===u||null===u||ct.isArray(u)||(d=ct.measureText(t,n,o,d,u));var g=o.length/2;if(g>i.length){for(a=0;a<g;a++)delete n[o[a]];o.splice(0,g)}return d},ct.measureText=function(t,e,i,r,n){var o=e[n];return o||(o=e[n]=t.measureText(n).width,i.push(n)),o>r&&(r=o),r},ct.numberOfLabelLines=function(t){var e=1;return ct.each(t,(function(t){ct.isArray(t)&&t.length>e&&(e=t.length)})),e},ct.color=L?function(t){return t instanceof CanvasGradient&&(t=K.global.defaultColor),L(t)}:function(t){return console.error("Color.js not found!"),t},ct.getHoverColor=function(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:ct.color(t).saturate(.5).darken(.1).rgbString()}};function $i(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function tr(t){this.options=t||{}}ct.extend(tr.prototype,{formats:$i,parse:$i,format:$i,add:$i,diff:$i,startOf:$i,endOf:$i,_create:function(t){return t}}),tr.override=function(t){ct.extend(tr.prototype,t)};var er=tr,ir={_date:er},rr={formatters:{values:function(t){return ct.isArray(t)?t:""+t},linear:function(t,e,i){var r=i.length>3?i[2]-i[1]:i[1]-i[0];Math.abs(r)>1&&t!==Math.floor(t)&&(r=t-Math.floor(t));var n=ct.log10(Math.abs(r)),o="";if(0!==t){var a=Math.max(Math.abs(i[0]),Math.abs(i[i.length-1]));if(a<1e-4){var s=ct.log10(Math.abs(t)),l=Math.floor(s)-Math.floor(n);l=Math.max(Math.min(l,20),0),o=t.toExponential(l)}else{var c=-1*Math.floor(n);c=Math.max(Math.min(c,20),0),o=t.toFixed(c)}}else o="0";return o},logarithmic:function(t,e,i){var r=t/Math.pow(10,Math.floor(ct.log10(t)));return 0===t?"0":1===r||2===r||5===r||0===e||e===i.length-1?t.toExponential():""}}},nr=ct.isArray,or=ct.isNullOrUndef,ar=ct.valueOrDefault,sr=ct.valueAtIndexOrDefault;function lr(t,e){for(var i=[],r=t.length/e,n=0,o=t.length;n<o;n+=r)i.push(t[Math.floor(n)]);return i}function cr(t,e,i){var r,n=t.getTicks().length,o=Math.min(e,n-1),a=t.getPixelForTick(o),s=t._startPixel,l=t._endPixel,c=1e-6;if(!(i&&(r=1===n?Math.max(a-s,l-a):0===e?(t.getPixelForTick(1)-a)/2:(a-t.getPixelForTick(o-1))/2,a+=o<e?r:-r,a<s-c||a>l+c)))return a}function ur(t,e){ct.each(t,(function(t){var i,r=t.gc,n=r.length/2;if(n>e){for(i=0;i<n;++i)delete t.data[r[i]];r.splice(0,n)}}))}function dr(t,e,i,r){var n,o,a,s,l,c,u,d,h,g,p,f,m,v=i.length,b=[],x=[],y=[];for(n=0;n<v;++n){if(s=i[n].label,l=i[n].major?e.major:e.minor,t.font=c=l.string,u=r[c]=r[c]||{data:{},gc:[]},d=l.lineHeight,h=g=0,or(s)||nr(s)){if(nr(s))for(o=0,a=s.length;o<a;++o)p=s[o],or(p)||nr(p)||(h=ct.measureText(t,u.data,u.gc,h,p),g+=d)}else h=ct.measureText(t,u.data,u.gc,h,s),g=d;b.push(h),x.push(g),y.push(d/2)}function w(t){return{width:b[t]||0,height:x[t]||0,offset:y[t]||0}}return ur(r,v),f=b.indexOf(Math.max.apply(null,b)),m=x.indexOf(Math.max.apply(null,x)),{first:w(0),last:w(v-1),widest:w(f),highest:w(m)}}function hr(t){return t.drawTicks?t.tickMarkLength:0}function gr(t){var e,i;return t.display?(e=ct.options._parseFont(t),i=ct.options.toPadding(t.padding),e.lineHeight+i.height):0}function pr(t,e){return ct.extend(ct.options._parseFont({fontFamily:ar(e.fontFamily,t.fontFamily),fontSize:ar(e.fontSize,t.fontSize),fontStyle:ar(e.fontStyle,t.fontStyle),lineHeight:ar(e.lineHeight,t.lineHeight)}),{color:ct.options.resolve([e.fontColor,t.fontColor,K.global.defaultFontColor])})}function fr(t){var e=pr(t,t.minor),i=t.major.enabled?pr(t,t.major):e;return{minor:e,major:i}}function mr(t){var e,i,r,n=[];for(i=0,r=t.length;i<r;++i)e=t[i],"undefined"!==typeof e._index&&n.push(e);return n}function vr(t){var e,i,r=t.length;if(r<2)return!1;for(i=t[0],e=1;e<r;++e)if(t[e]-t[e-1]!==i)return!1;return i}function br(t,e,i,r){var n,o,a,s,l=vr(t),c=(e.length-1)/r;if(!l)return Math.max(c,1);for(n=ct.math._factorize(l),a=0,s=n.length-1;a<s;a++)if(o=n[a],o>c)return o;return Math.max(c,1)}function xr(t){var e,i,r=[];for(e=0,i=t.length;e<i;e++)t[e].major&&r.push(e);return r}function yr(t,e,i){var r,n,o=0,a=e[0];for(i=Math.ceil(i),r=0;r<t.length;r++)n=t[r],r===a?(n._index=r,o++,a=e[o*i]):delete n.label}function wr(t,e,i,r){var n,o,a,s,l=ar(i,0),c=Math.min(ar(r,t.length),t.length),u=0;e=Math.ceil(e),r&&(n=r-i,e=n/Math.floor(n/e)),s=l;while(s<0)u++,s=Math.round(l+u*e);for(o=Math.max(l,0);o<c;o++)a=t[o],o===s?(a._index=o,u++,s=Math.round(l+u*e)):delete a.label}K._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:"",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:rr.formatters.values,minor:{},major:{}}});var _r=vt.extend({zeroLineIndex:0,getPadding:function(){var t=this;return{left:t.paddingLeft||0,top:t.paddingTop||0,right:t.paddingRight||0,bottom:t.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){ct.callback(this.options.beforeUpdate,[this])},update:function(t,e,i){var r,n,o,a,s,l=this,c=l.options.ticks,u=c.sampleSize;if(l.beforeUpdate(),l.maxWidth=t,l.maxHeight=e,l.margins=ct.extend({left:0,right:0,top:0,bottom:0},i),l._ticks=null,l.ticks=null,l._labelSizes=null,l._maxLabelLines=0,l.longestLabelWidth=0,l.longestTextCache=l.longestTextCache||{},l._gridLineItems=null,l._labelItems=null,l.beforeSetDimensions(),l.setDimensions(),l.afterSetDimensions(),l.beforeDataLimits(),l.determineDataLimits(),l.afterDataLimits(),l.beforeBuildTicks(),a=l.buildTicks()||[],a=l.afterBuildTicks(a)||a,(!a||!a.length)&&l.ticks)for(a=[],r=0,n=l.ticks.length;r<n;++r)a.push({value:l.ticks[r],major:!1});return l._ticks=a,s=u<a.length,o=l._convertTicksToLabels(s?lr(a,u):a),l._configure(),l.beforeCalculateTickRotation(),l.calculateTickRotation(),l.afterCalculateTickRotation(),l.beforeFit(),l.fit(),l.afterFit(),l._ticksToDraw=c.display&&(c.autoSkip||"auto"===c.source)?l._autoSkip(a):a,s&&(o=l._convertTicksToLabels(l._ticksToDraw)),l.ticks=o,l.afterUpdate(),l.minSize},_configure:function(){var t,e,i=this,r=i.options.ticks.reverse;i.isHorizontal()?(t=i.left,e=i.right):(t=i.top,e=i.bottom,r=!r),i._startPixel=t,i._endPixel=e,i._reversePixels=r,i._length=e-t},afterUpdate:function(){ct.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){ct.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(){ct.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){ct.callback(this.options.beforeDataLimits,[this])},determineDataLimits:ct.noop,afterDataLimits:function(){ct.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){ct.callback(this.options.beforeBuildTicks,[this])},buildTicks:ct.noop,afterBuildTicks:function(t){var e=this;return nr(t)&&t.length?ct.callback(e.options.afterBuildTicks,[e,t]):(e.ticks=ct.callback(e.options.afterBuildTicks,[e,e.ticks])||e.ticks,t)},beforeTickToLabelConversion:function(){ct.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this,e=t.options.ticks;t.ticks=t.ticks.map(e.userCallback||e.callback,this)},afterTickToLabelConversion:function(){ct.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){ct.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t,e,i,r,n,o,a,s=this,l=s.options,c=l.ticks,u=s.getTicks().length,d=c.minRotation||0,h=c.maxRotation,g=d;!s._isVisible()||!c.display||d>=h||u<=1||!s.isHorizontal()?s.labelRotation=d:(t=s._getLabelSizes(),e=t.widest.width,i=t.highest.height-t.highest.offset,r=Math.min(s.maxWidth,s.chart.width-e),n=l.offset?s.maxWidth/u:r/(u-1),e+6>n&&(n=r/(u-(l.offset?.5:1)),o=s.maxHeight-hr(l.gridLines)-c.padding-gr(l.scaleLabel),a=Math.sqrt(e*e+i*i),g=ct.toDegrees(Math.min(Math.asin(Math.min((t.highest.height+6)/n,1)),Math.asin(Math.min(o/a,1))-Math.asin(i/a))),g=Math.max(d,Math.min(h,g))),s.labelRotation=g)},afterCalculateTickRotation:function(){ct.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){ct.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},i=t.chart,r=t.options,n=r.ticks,o=r.scaleLabel,a=r.gridLines,s=t._isVisible(),l="bottom"===r.position,c=t.isHorizontal();if(c?e.width=t.maxWidth:s&&(e.width=hr(a)+gr(o)),c?s&&(e.height=hr(a)+gr(o)):e.height=t.maxHeight,n.display&&s){var u=fr(n),d=t._getLabelSizes(),h=d.first,g=d.last,p=d.widest,f=d.highest,m=.4*u.minor.lineHeight,v=n.padding;if(c){var b=0!==t.labelRotation,x=ct.toRadians(t.labelRotation),y=Math.cos(x),w=Math.sin(x),_=w*p.width+y*(f.height-(b?f.offset:0))+(b?0:m);e.height=Math.min(t.maxHeight,e.height+_+v);var C,A,k=t.getPixelForTick(0)-t.left,M=t.right-t.getPixelForTick(t.getTicks().length-1);b?(C=l?y*h.width+w*h.offset:w*(h.height-h.offset),A=l?w*(g.height-g.offset):y*g.width+w*g.offset):(C=h.width/2,A=g.width/2),t.paddingLeft=Math.max((C-k)*t.width/(t.width-k),0)+3,t.paddingRight=Math.max((A-M)*t.width/(t.width-M),0)+3}else{var O=n.mirror?0:p.width+v+m;e.width=Math.min(t.maxWidth,e.width+O),t.paddingTop=h.height/2,t.paddingBottom=g.height/2}}t.handleMargins(),c?(t.width=t._length=i.width-t.margins.left-t.margins.right,t.height=e.height):(t.width=e.width,t.height=t._length=i.height-t.margins.top-t.margins.bottom)},handleMargins:function(){var t=this;t.margins&&(t.margins.left=Math.max(t.paddingLeft,t.margins.left),t.margins.top=Math.max(t.paddingTop,t.margins.top),t.margins.right=Math.max(t.paddingRight,t.margins.right),t.margins.bottom=Math.max(t.paddingBottom,t.margins.bottom))},afterFit:function(){ct.callback(this.options.afterFit,[this])},isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(or(t))return NaN;if(("number"===typeof t||t instanceof Number)&&!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},_convertTicksToLabels:function(t){var e,i,r,n=this;for(n.ticks=t.map((function(t){return t.value})),n.beforeTickToLabelConversion(),e=n.convertTicksToLabels(t)||n.ticks,n.afterTickToLabelConversion(),i=0,r=t.length;i<r;++i)t[i].label=e[i];return e},_getLabelSizes:function(){var t=this,e=t._labelSizes;return e||(t._labelSizes=e=dr(t.ctx,fr(t.options.ticks),t.getTicks(),t.longestTextCache),t.longestLabelWidth=e.widest.width),e},_parseValue:function(t){var e,i,r,n;return nr(t)?(e=+this.getRightValue(t[0]),i=+this.getRightValue(t[1]),r=Math.min(e,i),n=Math.max(e,i)):(t=+this.getRightValue(t),e=void 0,i=t,r=t,n=t),{min:r,max:n,start:e,end:i}},_getScaleLabel:function(t){var e=this._parseValue(t);return void 0!==e.start?"["+e.start+", "+e.end+"]":+this.getRightValue(t)},getLabelForIndex:ct.noop,getPixelForValue:ct.noop,getValueForPixel:ct.noop,getPixelForTick:function(t){var e=this,i=e.options.offset,r=e._ticks.length,n=1/Math.max(r-(i?0:1),1);return t<0||t>r-1?null:e.getPixelForDecimal(t*n+(i?n/2:0))},getPixelForDecimal:function(t){var e=this;return e._reversePixels&&(t=1-t),e._startPixel+t*e._length},getDecimalForPixel:function(t){var e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this,e=t.min,i=t.max;return t.beginAtZero?0:e<0&&i<0?i:e>0&&i>0?e:0},_autoSkip:function(t){var e,i,r,n,o=this,a=o.options.ticks,s=o._length,l=a.maxTicksLimit||s/o._tickSize()+1,c=a.major.enabled?xr(t):[],u=c.length,d=c[0],h=c[u-1];if(u>l)return yr(t,c,u/l),mr(t);if(r=br(c,t,s,l),u>0){for(e=0,i=u-1;e<i;e++)wr(t,r,c[e],c[e+1]);return n=u>1?(h-d)/(u-1):null,wr(t,r,ct.isNullOrUndef(n)?0:d-n,d),wr(t,r,h,ct.isNullOrUndef(n)?t.length:h+n),mr(t)}return wr(t,r),mr(t)},_tickSize:function(){var t=this,e=t.options.ticks,i=ct.toRadians(t.labelRotation),r=Math.abs(Math.cos(i)),n=Math.abs(Math.sin(i)),o=t._getLabelSizes(),a=e.autoSkipPadding||0,s=o?o.widest.width+a:0,l=o?o.highest.height+a:0;return t.isHorizontal()?l*r>s*n?s/r:l/n:l*n<s*r?l/r:s/n},_isVisible:function(){var t,e,i,r=this,n=r.chart,o=r.options.display;if("auto"!==o)return!!o;for(t=0,e=n.data.datasets.length;t<e;++t)if(n.isDatasetVisible(t)&&(i=n.getDatasetMeta(t),i.xAxisID===r.id||i.yAxisID===r.id))return!0;return!1},_computeGridLineItems:function(t){var e,i,r,n,o,a,s,l,c,u,d,h,g,p,f,m,v,b=this,x=b.chart,y=b.options,w=y.gridLines,_=y.position,C=w.offsetGridLines,A=b.isHorizontal(),k=b._ticksToDraw,M=k.length+(C?1:0),O=hr(w),P=[],S=w.drawBorder?sr(w.lineWidth,0,0):0,R=S/2,T=ct._alignPixel,I=function(t){return T(x,t,S)};for("top"===_?(e=I(b.bottom),s=b.bottom-O,c=e-R,d=I(t.top)+R,g=t.bottom):"bottom"===_?(e=I(b.top),d=t.top,g=I(t.bottom)-R,s=e+R,c=b.top+O):"left"===_?(e=I(b.right),a=b.right-O,l=e-R,u=I(t.left)+R,h=t.right):(e=I(b.left),u=t.left,h=I(t.right)-R,a=e+R,l=b.left+O),i=0;i<M;++i)r=k[i]||{},or(r.label)&&i<k.length||(i===b.zeroLineIndex&&y.offset===C?(p=w.zeroLineWidth,f=w.zeroLineColor,m=w.zeroLineBorderDash||[],v=w.zeroLineBorderDashOffset||0):(p=sr(w.lineWidth,i,1),f=sr(w.color,i,"rgba(0,0,0,0.1)"),m=w.borderDash||[],v=w.borderDashOffset||0),n=cr(b,r._index||i,C),void 0!==n&&(o=T(x,n,p),A?a=l=u=h=o:s=c=d=g=o,P.push({tx1:a,ty1:s,tx2:l,ty2:c,x1:u,y1:d,x2:h,y2:g,width:p,color:f,borderDash:m,borderDashOffset:v})));return P.ticksLength=M,P.borderValue=e,P},_computeLabelItems:function(){var t,e,i,r,n,o,a,s,l,c,u,d,h=this,g=h.options,p=g.ticks,f=g.position,m=p.mirror,v=h.isHorizontal(),b=h._ticksToDraw,x=fr(p),y=p.padding,w=hr(g.gridLines),_=-ct.toRadians(h.labelRotation),C=[];for("top"===f?(o=h.bottom-w-y,a=_?"left":"center"):"bottom"===f?(o=h.top+w+y,a=_?"right":"center"):"left"===f?(n=h.right-(m?0:w)-y,a=m?"left":"right"):(n=h.left+(m?0:w)+y,a=m?"right":"left"),t=0,e=b.length;t<e;++t)i=b[t],r=i.label,or(r)||(s=h.getPixelForTick(i._index||t)+p.labelOffset,l=i.major?x.major:x.minor,c=l.lineHeight,u=nr(r)?r.length:1,v?(n=s,d="top"===f?((_?1:.5)-u)*c:(_?0:.5)*c):(o=s,d=(1-u)*c/2),C.push({x:n,y:o,rotation:_,label:r,font:l,textOffset:d,textAlign:a}));return C},_drawGrid:function(t){var e=this,i=e.options.gridLines;if(i.display){var r,n,o,a,s,l=e.ctx,c=e.chart,u=ct._alignPixel,d=i.drawBorder?sr(i.lineWidth,0,0):0,h=e._gridLineItems||(e._gridLineItems=e._computeGridLineItems(t));for(o=0,a=h.length;o<a;++o)s=h[o],r=s.width,n=s.color,r&&n&&(l.save(),l.lineWidth=r,l.strokeStyle=n,l.setLineDash&&(l.setLineDash(s.borderDash),l.lineDashOffset=s.borderDashOffset),l.beginPath(),i.drawTicks&&(l.moveTo(s.tx1,s.ty1),l.lineTo(s.tx2,s.ty2)),i.drawOnChartArea&&(l.moveTo(s.x1,s.y1),l.lineTo(s.x2,s.y2)),l.stroke(),l.restore());if(d){var g,p,f,m,v=d,b=sr(i.lineWidth,h.ticksLength-1,1),x=h.borderValue;e.isHorizontal()?(g=u(c,e.left,v)-v/2,p=u(c,e.right,b)+b/2,f=m=x):(f=u(c,e.top,v)-v/2,m=u(c,e.bottom,b)+b/2,g=p=x),l.lineWidth=d,l.strokeStyle=sr(i.color,0),l.beginPath(),l.moveTo(g,f),l.lineTo(p,m),l.stroke()}}},_drawLabels:function(){var t=this,e=t.options.ticks;if(e.display){var i,r,n,o,a,s,l,c,u=t.ctx,d=t._labelItems||(t._labelItems=t._computeLabelItems());for(i=0,n=d.length;i<n;++i){if(a=d[i],s=a.font,u.save(),u.translate(a.x,a.y),u.rotate(a.rotation),u.font=s.string,u.fillStyle=s.color,u.textBaseline="middle",u.textAlign=a.textAlign,l=a.label,c=a.textOffset,nr(l))for(r=0,o=l.length;r<o;++r)u.fillText(""+l[r],0,c),c+=s.lineHeight;else u.fillText(l,0,c);u.restore()}}},_drawTitle:function(){var t=this,e=t.ctx,i=t.options,r=i.scaleLabel;if(r.display){var n,o,a=ar(r.fontColor,K.global.defaultFontColor),s=ct.options._parseFont(r),l=ct.options.toPadding(r.padding),c=s.lineHeight/2,u=i.position,d=0;if(t.isHorizontal())n=t.left+t.width/2,o="bottom"===u?t.bottom-c-l.bottom:t.top+c+l.top;else{var h="left"===u;n=h?t.left+c+l.top:t.right-c-l.top,o=t.top+t.height/2,d=h?-.5*Math.PI:.5*Math.PI}e.save(),e.translate(n,o),e.rotate(d),e.textAlign="center",e.textBaseline="middle",e.fillStyle=a,e.font=s.string,e.fillText(r.labelString,0,0),e.restore()}},draw:function(t){var e=this;e._isVisible()&&(e._drawGrid(t),e._drawTitle(),e._drawLabels())},_layers:function(){var t=this,e=t.options,i=e.ticks&&e.ticks.z||0,r=e.gridLines&&e.gridLines.z||0;return t._isVisible()&&i!==r&&t.draw===t._draw?[{z:r,draw:function(){t._drawGrid.apply(t,arguments),t._drawTitle.apply(t,arguments)}},{z:i,draw:function(){t._drawLabels.apply(t,arguments)}}]:[{z:i,draw:function(){t.draw.apply(t,arguments)}}]},_getMatchingVisibleMetas:function(t){var e=this,i=e.isHorizontal();return e.chart._getSortedVisibleDatasetMetas().filter((function(r){return(!t||r.type===t)&&(i?r.xAxisID===e.id:r.yAxisID===e.id)}))}});_r.prototype._draw=_r.prototype.draw;var Cr=_r,Ar=ct.isNullOrUndef,kr={position:"bottom"},Mr=Cr.extend({determineDataLimits:function(){var t,e=this,i=e._getLabels(),r=e.options.ticks,n=r.min,o=r.max,a=0,s=i.length-1;void 0!==n&&(t=i.indexOf(n),t>=0&&(a=t)),void 0!==o&&(t=i.indexOf(o),t>=0&&(s=t)),e.minIndex=a,e.maxIndex=s,e.min=i[a],e.max=i[s]},buildTicks:function(){var t=this,e=t._getLabels(),i=t.minIndex,r=t.maxIndex;t.ticks=0===i&&r===e.length-1?e:e.slice(i,r+1)},getLabelForIndex:function(t,e){var i=this,r=i.chart;return r.getDatasetMeta(e).controller._getValueScaleId()===i.id?i.getRightValue(r.data.datasets[e].data[t]):i._getLabels()[t]},_configure:function(){var t=this,e=t.options.offset,i=t.ticks;Cr.prototype._configure.call(t),t.isHorizontal()||(t._reversePixels=!t._reversePixels),i&&(t._startValue=t.minIndex-(e?.5:0),t._valueRange=Math.max(i.length-(e?0:1),1))},getPixelForValue:function(t,e,i){var r,n,o,a=this;return Ar(e)||Ar(i)||(t=a.chart.data.datasets[i].data[e]),Ar(t)||(r=a.isHorizontal()?t.x:t.y),(void 0!==r||void 0!==t&&isNaN(e))&&(n=a._getLabels(),t=ct.valueOrDefault(r,t),o=n.indexOf(t),e=-1!==o?o:e,isNaN(e)&&(e=t)),a.getPixelForDecimal((e-a._startValue)/a._valueRange)},getPixelForTick:function(t){var e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t],t+this.minIndex)},getValueForPixel:function(t){var e=this,i=Math.round(e._startValue+e.getDecimalForPixel(t)*e._valueRange);return Math.min(Math.max(i,0),e.ticks.length-1)},getBasePixel:function(){return this.bottom}}),Or=kr;Mr._defaults=Or;var Pr=ct.noop,Sr=ct.isNullOrUndef;function Rr(t,e){var i,r,n,o,a=[],s=1e-14,l=t.stepSize,c=l||1,u=t.maxTicks-1,d=t.min,h=t.max,g=t.precision,p=e.min,f=e.max,m=ct.niceNum((f-p)/u/c)*c;if(m<s&&Sr(d)&&Sr(h))return[p,f];o=Math.ceil(f/m)-Math.floor(p/m),o>u&&(m=ct.niceNum(o*m/u/c)*c),l||Sr(g)?i=Math.pow(10,ct._decimalPlaces(m)):(i=Math.pow(10,g),m=Math.ceil(m*i)/i),r=Math.floor(p/m)*m,n=Math.ceil(f/m)*m,l&&(!Sr(d)&&ct.almostWhole(d/m,m/1e3)&&(r=d),!Sr(h)&&ct.almostWhole(h/m,m/1e3)&&(n=h)),o=(n-r)/m,o=ct.almostEquals(o,Math.round(o),m/1e3)?Math.round(o):Math.ceil(o),r=Math.round(r*i)/i,n=Math.round(n*i)/i,a.push(Sr(d)?r:d);for(var v=1;v<o;++v)a.push(Math.round((r+v*m)*i)/i);return a.push(Sr(h)?n:h),a}var Tr=Cr.extend({getRightValue:function(t){return"string"===typeof t?+t:Cr.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options,i=e.ticks;if(i.beginAtZero){var r=ct.sign(t.min),n=ct.sign(t.max);r<0&&n<0?t.max=0:r>0&&n>0&&(t.min=0)}var o=void 0!==i.min||void 0!==i.suggestedMin,a=void 0!==i.max||void 0!==i.suggestedMax;void 0!==i.min?t.min=i.min:void 0!==i.suggestedMin&&(null===t.min?t.min=i.suggestedMin:t.min=Math.min(t.min,i.suggestedMin)),void 0!==i.max?t.max=i.max:void 0!==i.suggestedMax&&(null===t.max?t.max=i.suggestedMax:t.max=Math.max(t.max,i.suggestedMax)),o!==a&&t.min>=t.max&&(o?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,i.beginAtZero||t.min--)},getTickLimit:function(){var t,e=this,i=e.options.ticks,r=i.stepSize,n=i.maxTicksLimit;return r?t=Math.ceil(e.max/r)-Math.floor(e.min/r)+1:(t=e._computeTickLimit(),n=n||11),n&&(t=Math.min(n,t)),t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:Pr,buildTicks:function(){var t=this,e=t.options,i=e.ticks,r=t.getTickLimit();r=Math.max(2,r);var n={maxTicks:r,min:i.min,max:i.max,precision:i.precision,stepSize:ct.valueOrDefault(i.fixedStepSize,i.stepSize)},o=t.ticks=Rr(n,t);t.handleDirectionalChanges(),t.max=ct.max(o),t.min=ct.min(o),i.reverse?(o.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){var t=this;t.ticksAsNumbers=t.ticks.slice(),t.zeroLineIndex=t.ticks.indexOf(0),Cr.prototype.convertTicksToLabels.call(t)},_configure:function(){var t,e=this,i=e.getTicks(),r=e.min,n=e.max;Cr.prototype._configure.call(e),e.options.offset&&i.length&&(t=(n-r)/Math.max(i.length-1,1)/2,r-=t,n+=t),e._startValue=r,e._endValue=n,e._valueRange=n-r}}),Ir={position:"left",ticks:{callback:rr.formatters.linear}},Dr=0,Br=1;function jr(t,e,i){var r=[i.type,void 0===e&&void 0===i.stack?i.index:"",i.stack].join(".");return void 0===t[r]&&(t[r]={pos:[],neg:[]}),t[r]}function Fr(t,e,i,r){var n,o,a=t.options,s=a.stacked,l=jr(e,s,i),c=l.pos,u=l.neg,d=r.length;for(n=0;n<d;++n)o=t._parseValue(r[n]),isNaN(o.min)||isNaN(o.max)||i.data[n].hidden||(c[n]=c[n]||0,u[n]=u[n]||0,a.relativePoints?c[n]=100:o.min<0||o.max<0?u[n]+=o.min:c[n]+=o.max)}function Lr(t,e,i){var r,n,o=i.length;for(r=0;r<o;++r)n=t._parseValue(i[r]),isNaN(n.min)||isNaN(n.max)||e.data[r].hidden||(t.min=Math.min(t.min,n.min),t.max=Math.max(t.max,n.max))}var Er=Tr.extend({determineDataLimits:function(){var t,e,i,r,n=this,o=n.options,a=n.chart,s=a.data.datasets,l=n._getMatchingVisibleMetas(),c=o.stacked,u={},d=l.length;if(n.min=Number.POSITIVE_INFINITY,n.max=Number.NEGATIVE_INFINITY,void 0===c)for(t=0;!c&&t<d;++t)e=l[t],c=void 0!==e.stack;for(t=0;t<d;++t)e=l[t],i=s[e.index].data,c?Fr(n,u,e,i):Lr(n,e,i);ct.each(u,(function(t){r=t.pos.concat(t.neg),n.min=Math.min(n.min,ct.min(r)),n.max=Math.max(n.max,ct.max(r))})),n.min=ct.isFinite(n.min)&&!isNaN(n.min)?n.min:Dr,n.max=ct.isFinite(n.max)&&!isNaN(n.max)?n.max:Br,n.handleTickRangeOptions()},_computeTickLimit:function(){var t,e=this;return e.isHorizontal()?Math.ceil(e.width/40):(t=ct.options._parseFont(e.options.ticks),Math.ceil(e.height/t.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){var e=this;return e.getPixelForDecimal((+e.getRightValue(t)-e._startValue)/e._valueRange)},getValueForPixel:function(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange},getPixelForTick:function(t){var e=this.ticksAsNumbers;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])}}),Vr=Ir;Er._defaults=Vr;var Nr=ct.valueOrDefault,zr=ct.math.log10;function Wr(t,e){var i,r,n=[],o=Nr(t.min,Math.pow(10,Math.floor(zr(e.min)))),a=Math.floor(zr(e.max)),s=Math.ceil(e.max/Math.pow(10,a));0===o?(i=Math.floor(zr(e.minNotZero)),r=Math.floor(e.minNotZero/Math.pow(10,i)),n.push(o),o=r*Math.pow(10,i)):(i=Math.floor(zr(o)),r=Math.floor(o/Math.pow(10,i)));var l=i<0?Math.pow(10,Math.abs(i)):1;do{n.push(o),++r,10===r&&(r=1,++i,l=i>=0?1:l),o=Math.round(r*Math.pow(10,i)*l)/l}while(i<a||i===a&&r<s);var c=Nr(t.max,o);return n.push(c),n}var Hr={position:"left",ticks:{callback:rr.formatters.logarithmic}};function Ur(t,e){return ct.isFinite(t)&&t>=0?t:e}var Yr=Cr.extend({determineDataLimits:function(){var t,e,i,r,n,o,a=this,s=a.options,l=a.chart,c=l.data.datasets,u=a.isHorizontal();function d(t){return u?t.xAxisID===a.id:t.yAxisID===a.id}a.min=Number.POSITIVE_INFINITY,a.max=Number.NEGATIVE_INFINITY,a.minNotZero=Number.POSITIVE_INFINITY;var h=s.stacked;if(void 0===h)for(t=0;t<c.length;t++)if(e=l.getDatasetMeta(t),l.isDatasetVisible(t)&&d(e)&&void 0!==e.stack){h=!0;break}if(s.stacked||h){var g={};for(t=0;t<c.length;t++){e=l.getDatasetMeta(t);var p=[e.type,void 0===s.stacked&&void 0===e.stack?t:"",e.stack].join(".");if(l.isDatasetVisible(t)&&d(e))for(void 0===g[p]&&(g[p]=[]),r=c[t].data,n=0,o=r.length;n<o;n++){var f=g[p];i=a._parseValue(r[n]),isNaN(i.min)||isNaN(i.max)||e.data[n].hidden||i.min<0||i.max<0||(f[n]=f[n]||0,f[n]+=i.max)}}ct.each(g,(function(t){if(t.length>0){var e=ct.min(t),i=ct.max(t);a.min=Math.min(a.min,e),a.max=Math.max(a.max,i)}}))}else for(t=0;t<c.length;t++)if(e=l.getDatasetMeta(t),l.isDatasetVisible(t)&&d(e))for(r=c[t].data,n=0,o=r.length;n<o;n++)i=a._parseValue(r[n]),isNaN(i.min)||isNaN(i.max)||e.data[n].hidden||i.min<0||i.max<0||(a.min=Math.min(i.min,a.min),a.max=Math.max(i.max,a.max),0!==i.min&&(a.minNotZero=Math.min(i.min,a.minNotZero)));a.min=ct.isFinite(a.min)?a.min:null,a.max=ct.isFinite(a.max)?a.max:null,a.minNotZero=ct.isFinite(a.minNotZero)?a.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var t=this,e=t.options.ticks,i=1,r=10;t.min=Ur(e.min,t.min),t.max=Ur(e.max,t.max),t.min===t.max&&(0!==t.min&&null!==t.min?(t.min=Math.pow(10,Math.floor(zr(t.min))-1),t.max=Math.pow(10,Math.floor(zr(t.max))+1)):(t.min=i,t.max=r)),null===t.min&&(t.min=Math.pow(10,Math.floor(zr(t.max))-1)),null===t.max&&(t.max=0!==t.min?Math.pow(10,Math.floor(zr(t.min))+1):r),null===t.minNotZero&&(t.min>0?t.minNotZero=t.min:t.max<1?t.minNotZero=Math.pow(10,Math.floor(zr(t.max))):t.minNotZero=i)},buildTicks:function(){var t=this,e=t.options.ticks,i=!t.isHorizontal(),r={min:Ur(e.min),max:Ur(e.max)},n=t.ticks=Wr(r,t);t.max=ct.max(n),t.min=ct.min(n),e.reverse?(i=!i,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),i&&n.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),Cr.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){var e=this.tickValues;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])},_getFirstTickValue:function(t){var e=Math.floor(zr(t)),i=Math.floor(t/Math.pow(10,e));return i*Math.pow(10,e)},_configure:function(){var t=this,e=t.min,i=0;Cr.prototype._configure.call(t),0===e&&(e=t._getFirstTickValue(t.minNotZero),i=Nr(t.options.ticks.fontSize,K.global.defaultFontSize)/t._length),t._startValue=zr(e),t._valueOffset=i,t._valueRange=(zr(t.max)-zr(e))/(1-i)},getPixelForValue:function(t){var e=this,i=0;return t=+e.getRightValue(t),t>e.min&&t>0&&(i=(zr(t)-e._startValue)/e._valueRange+e._valueOffset),e.getPixelForDecimal(i)},getValueForPixel:function(t){var e=this,i=e.getDecimalForPixel(t);return 0===i&&0===e.min?0:Math.pow(10,e._startValue+(i-e._valueOffset)*e._valueRange)}}),Qr=Hr;Yr._defaults=Qr;var Xr=ct.valueOrDefault,qr=ct.valueAtIndexOrDefault,Jr=ct.options.resolve,Gr={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:rr.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function Kr(t){var e=t.ticks;return e.display&&t.display?Xr(e.fontSize,K.global.defaultFontSize)+2*e.backdropPaddingY:0}function Zr(t,e,i){return ct.isArray(i)?{w:ct.longestText(t,t.font,i),h:i.length*e}:{w:t.measureText(i).width,h:e}}function $r(t,e,i,r,n){return t===r||t===n?{start:e-i/2,end:e+i/2}:t<r||t>n?{start:e-i,end:e}:{start:e,end:e+i}}function tn(t){var e,i,r,n=ct.options._parseFont(t.options.pointLabels),o={l:0,r:t.width,t:0,b:t.height-t.paddingTop},a={};t.ctx.font=n.string,t._pointLabelSizes=[];var s=t.chart.data.labels.length;for(e=0;e<s;e++){r=t.getPointPosition(e,t.drawingArea+5),i=Zr(t.ctx,n.lineHeight,t.pointLabels[e]),t._pointLabelSizes[e]=i;var l=t.getIndexAngle(e),c=ct.toDegrees(l)%360,u=$r(c,r.x,i.w,0,180),d=$r(c,r.y,i.h,90,270);u.start<o.l&&(o.l=u.start,a.l=l),u.end>o.r&&(o.r=u.end,a.r=l),d.start<o.t&&(o.t=d.start,a.t=l),d.end>o.b&&(o.b=d.end,a.b=l)}t.setReductions(t.drawingArea,o,a)}function en(t){return 0===t||180===t?"center":t<180?"left":"right"}function rn(t,e,i,r){var n,o,a=i.y+r/2;if(ct.isArray(e))for(n=0,o=e.length;n<o;++n)t.fillText(e[n],i.x,a),a+=r;else t.fillText(e,i.x,a)}function nn(t,e,i){90===t||270===t?i.y-=e.h/2:(t>270||t<90)&&(i.y-=e.h)}function on(t){var e=t.ctx,i=t.options,r=i.pointLabels,n=Kr(i),o=t.getDistanceFromCenterForValue(i.ticks.reverse?t.min:t.max),a=ct.options._parseFont(r);e.save(),e.font=a.string,e.textBaseline="middle";for(var s=t.chart.data.labels.length-1;s>=0;s--){var l=0===s?n/2:0,c=t.getPointPosition(s,o+l+5),u=qr(r.fontColor,s,K.global.defaultFontColor);e.fillStyle=u;var d=t.getIndexAngle(s),h=ct.toDegrees(d);e.textAlign=en(h),nn(h,t._pointLabelSizes[s],c),rn(e,t.pointLabels[s],c,a.lineHeight)}e.restore()}function an(t,e,i,r){var n,o=t.ctx,a=e.circular,s=t.chart.data.labels.length,l=qr(e.color,r-1),c=qr(e.lineWidth,r-1);if((a||s)&&l&&c){if(o.save(),o.strokeStyle=l,o.lineWidth=c,o.setLineDash&&(o.setLineDash(e.borderDash||[]),o.lineDashOffset=e.borderDashOffset||0),o.beginPath(),a)o.arc(t.xCenter,t.yCenter,i,0,2*Math.PI);else{n=t.getPointPosition(0,i),o.moveTo(n.x,n.y);for(var u=1;u<s;u++)n=t.getPointPosition(u,i),o.lineTo(n.x,n.y)}o.closePath(),o.stroke(),o.restore()}}function sn(t){return ct.isNumber(t)?t:0}var ln=Tr.extend({setDimensions:function(){var t=this;t.width=t.maxWidth,t.height=t.maxHeight,t.paddingTop=Kr(t.options)/2,t.xCenter=Math.floor(t.width/2),t.yCenter=Math.floor((t.height-t.paddingTop)/2),t.drawingArea=Math.min(t.height-t.paddingTop,t.width)/2},determineDataLimits:function(){var t=this,e=t.chart,i=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;ct.each(e.data.datasets,(function(n,o){if(e.isDatasetVisible(o)){var a=e.getDatasetMeta(o);ct.each(n.data,(function(e,n){var o=+t.getRightValue(e);isNaN(o)||a.data[n].hidden||(i=Math.min(o,i),r=Math.max(o,r))}))}})),t.min=i===Number.POSITIVE_INFINITY?0:i,t.max=r===Number.NEGATIVE_INFINITY?0:r,t.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/Kr(this.options))},convertTicksToLabels:function(){var t=this;Tr.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map((function(){var e=ct.callback(t.options.pointLabels.callback,arguments,t);return e||0===e?e:""}))},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t=this,e=t.options;e.display&&e.pointLabels.display?tn(t):t.setCenterPoint(0,0,0,0)},setReductions:function(t,e,i){var r=this,n=e.l/Math.sin(i.l),o=Math.max(e.r-r.width,0)/Math.sin(i.r),a=-e.t/Math.cos(i.t),s=-Math.max(e.b-(r.height-r.paddingTop),0)/Math.cos(i.b);n=sn(n),o=sn(o),a=sn(a),s=sn(s),r.drawingArea=Math.min(Math.floor(t-(n+o)/2),Math.floor(t-(a+s)/2)),r.setCenterPoint(n,o,a,s)},setCenterPoint:function(t,e,i,r){var n=this,o=n.width-e-n.drawingArea,a=t+n.drawingArea,s=i+n.drawingArea,l=n.height-n.paddingTop-r-n.drawingArea;n.xCenter=Math.floor((a+o)/2+n.left),n.yCenter=Math.floor((s+l)/2+n.top+n.paddingTop)},getIndexAngle:function(t){var e=this.chart,i=360/e.data.labels.length,r=e.options||{},n=r.startAngle||0,o=(t*i+n)%360;return(o<0?o+360:o)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(ct.isNullOrUndef(t))return NaN;var i=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*i:(t-e.min)*i},getPointPosition:function(t,e){var i=this,r=i.getIndexAngle(t)-Math.PI/2;return{x:Math.cos(r)*e+i.xCenter,y:Math.sin(r)*e+i.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(t){var e=this,i=e.min,r=e.max;return e.getPointPositionForValue(t||0,e.beginAtZero?0:i<0&&r<0?r:i>0&&r>0?i:0)},_drawGrid:function(){var t,e,i,r=this,n=r.ctx,o=r.options,a=o.gridLines,s=o.angleLines,l=Xr(s.lineWidth,a.lineWidth),c=Xr(s.color,a.color);if(o.pointLabels.display&&on(r),a.display&&ct.each(r.ticks,(function(t,i){0!==i&&(e=r.getDistanceFromCenterForValue(r.ticksAsNumbers[i]),an(r,a,e,i))})),s.display&&l&&c){for(n.save(),n.lineWidth=l,n.strokeStyle=c,n.setLineDash&&(n.setLineDash(Jr([s.borderDash,a.borderDash,[]])),n.lineDashOffset=Jr([s.borderDashOffset,a.borderDashOffset,0])),t=r.chart.data.labels.length-1;t>=0;t--)e=r.getDistanceFromCenterForValue(o.ticks.reverse?r.min:r.max),i=r.getPointPosition(t,e),n.beginPath(),n.moveTo(r.xCenter,r.yCenter),n.lineTo(i.x,i.y),n.stroke();n.restore()}},_drawLabels:function(){var t=this,e=t.ctx,i=t.options,r=i.ticks;if(r.display){var n,o,a=t.getIndexAngle(0),s=ct.options._parseFont(r),l=Xr(r.fontColor,K.global.defaultFontColor);e.save(),e.font=s.string,e.translate(t.xCenter,t.yCenter),e.rotate(a),e.textAlign="center",e.textBaseline="middle",ct.each(t.ticks,(function(i,a){(0!==a||r.reverse)&&(n=t.getDistanceFromCenterForValue(t.ticksAsNumbers[a]),r.showLabelBackdrop&&(o=e.measureText(i).width,e.fillStyle=r.backdropColor,e.fillRect(-o/2-r.backdropPaddingX,-n-s.size/2-r.backdropPaddingY,o+2*r.backdropPaddingX,s.size+2*r.backdropPaddingY)),e.fillStyle=l,e.fillText(i,0,-n))})),e.restore()}},_drawTitle:ct.noop}),cn=Gr;ln._defaults=cn;var un=ct._deprecated,dn=ct.options.resolve,hn=ct.valueOrDefault,gn=Number.MIN_SAFE_INTEGER||-9007199254740991,pn=Number.MAX_SAFE_INTEGER||9007199254740991,fn={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},mn=Object.keys(fn);function vn(t,e){return t-e}function bn(t){var e,i,r,n={},o=[];for(e=0,i=t.length;e<i;++e)r=t[e],n[r]||(n[r]=!0,o.push(r));return o}function xn(t){return ct.valueOrDefault(t.time.min,t.ticks.min)}function yn(t){return ct.valueOrDefault(t.time.max,t.ticks.max)}function wn(t,e,i,r){if("linear"===r||!t.length)return[{time:e,pos:0},{time:i,pos:1}];var n,o,a,s,l,c=[],u=[e];for(n=0,o=t.length;n<o;++n)s=t[n],s>e&&s<i&&u.push(s);for(u.push(i),n=0,o=u.length;n<o;++n)l=u[n+1],a=u[n-1],s=u[n],void 0!==a&&void 0!==l&&Math.round((l+a)/2)===s||c.push({time:s,pos:n/(o-1)});return c}function _n(t,e,i){var r,n,o,a=0,s=t.length-1;while(a>=0&&a<=s){if(r=a+s>>1,n=t[r-1]||null,o=t[r],!n)return{lo:null,hi:o};if(o[e]<i)a=r+1;else{if(!(n[e]>i))return{lo:n,hi:o};s=r-1}}return{lo:o,hi:null}}function Cn(t,e,i,r){var n=_n(t,e,i),o=n.lo?n.hi?n.lo:t[t.length-2]:t[0],a=n.lo?n.hi?n.hi:t[t.length-1]:t[1],s=a[e]-o[e],l=s?(i-o[e])/s:0,c=(a[r]-o[r])*l;return o[r]+c}function An(t,e){var i=t._adapter,r=t.options.time,n=r.parser,o=n||r.format,a=e;return"function"===typeof n&&(a=n(a)),ct.isFinite(a)||(a="string"===typeof o?i.parse(a,o):i.parse(a)),null!==a?+a:(n||"function"!==typeof o||(a=o(e),ct.isFinite(a)||(a=i.parse(a))),a)}function kn(t,e){if(ct.isNullOrUndef(e))return null;var i=t.options.time,r=An(t,t.getRightValue(e));return null===r?r:(i.round&&(r=+t._adapter.startOf(r,i.round)),r)}function Mn(t,e,i,r){var n,o,a,s=mn.length;for(n=mn.indexOf(t);n<s-1;++n)if(o=fn[mn[n]],a=o.steps?o.steps:pn,o.common&&Math.ceil((i-e)/(a*o.size))<=r)return mn[n];return mn[s-1]}function On(t,e,i,r,n){var o,a;for(o=mn.length-1;o>=mn.indexOf(i);o--)if(a=mn[o],fn[a].common&&t._adapter.diff(n,r,a)>=e-1)return a;return mn[i?mn.indexOf(i):0]}function Pn(t){for(var e=mn.indexOf(t)+1,i=mn.length;e<i;++e)if(fn[mn[e]].common)return mn[e]}function Sn(t,e,i,r){var n,o=t._adapter,a=t.options,s=a.time,l=s.unit||Mn(s.minUnit,e,i,r),c=dn([s.stepSize,s.unitStepSize,1]),u="week"===l&&s.isoWeekday,d=e,h=[];if(u&&(d=+o.startOf(d,"isoWeek",u)),d=+o.startOf(d,u?"day":l),o.diff(i,e,l)>1e5*c)throw e+" and "+i+" are too far apart with stepSize of "+c+" "+l;for(n=d;n<i;n=+o.add(n,c,l))h.push(n);return n!==i&&"ticks"!==a.bounds||h.push(n),h}function Rn(t,e,i,r,n){var o,a,s=0,l=0;return n.offset&&e.length&&(o=Cn(t,"time",e[0],"pos"),s=1===e.length?1-o:(Cn(t,"time",e[1],"pos")-o)/2,a=Cn(t,"time",e[e.length-1],"pos"),l=1===e.length?a:(a-Cn(t,"time",e[e.length-2],"pos"))/2),{start:s,end:l,factor:1/(s+1+l)}}function Tn(t,e,i,r){var n,o,a=t._adapter,s=+a.startOf(e[0].value,r),l=e[e.length-1].value;for(n=s;n<=l;n=+a.add(n,1,r))o=i[n],o>=0&&(e[o].major=!0);return e}function In(t,e,i){var r,n,o=[],a={},s=e.length;for(r=0;r<s;++r)n=e[r],a[n]=r,o.push({value:n,major:!1});return 0!==s&&i?Tn(t,o,a,i):o}var Dn={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}},Bn=Cr.extend({initialize:function(){this.mergeTicksOptions(),Cr.prototype.initialize.call(this)},update:function(){var t=this,e=t.options,i=e.time||(e.time={}),r=t._adapter=new ir._date(e.adapters.date);return un("time scale",i.format,"time.format","time.parser"),un("time scale",i.min,"time.min","ticks.min"),un("time scale",i.max,"time.max","ticks.max"),ct.mergeIf(i.displayFormats,r.formats()),Cr.prototype.update.apply(t,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),Cr.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,i,r,n,o,a,s=this,l=s.chart,c=s._adapter,u=s.options,d=u.time.unit||"day",h=pn,g=gn,p=[],f=[],m=[],v=s._getLabels();for(t=0,i=v.length;t<i;++t)m.push(kn(s,v[t]));for(t=0,i=(l.data.datasets||[]).length;t<i;++t)if(l.isDatasetVisible(t))if(n=l.data.datasets[t].data,ct.isObject(n[0]))for(f[t]=[],e=0,r=n.length;e<r;++e)o=kn(s,n[e]),p.push(o),f[t][e]=o;else f[t]=m.slice(0),a||(p=p.concat(m),a=!0);else f[t]=[];m.length&&(h=Math.min(h,m[0]),g=Math.max(g,m[m.length-1])),p.length&&(p=i>1?bn(p).sort(vn):p.sort(vn),h=Math.min(h,p[0]),g=Math.max(g,p[p.length-1])),h=kn(s,xn(u))||h,g=kn(s,yn(u))||g,h=h===pn?+c.startOf(Date.now(),d):h,g=g===gn?+c.endOf(Date.now(),d)+1:g,s.min=Math.min(h,g),s.max=Math.max(h+1,g),s._table=[],s._timestamps={data:p,datasets:f,labels:m}},buildTicks:function(){var t,e,i,r=this,n=r.min,o=r.max,a=r.options,s=a.ticks,l=a.time,c=r._timestamps,u=[],d=r.getLabelCapacity(n),h=s.source,g=a.distribution;for(c="data"===h||"auto"===h&&"series"===g?c.data:"labels"===h?c.labels:Sn(r,n,o,d),"ticks"===a.bounds&&c.length&&(n=c[0],o=c[c.length-1]),n=kn(r,xn(a))||n,o=kn(r,yn(a))||o,t=0,e=c.length;t<e;++t)i=c[t],i>=n&&i<=o&&u.push(i);return r.min=n,r.max=o,r._unit=l.unit||(s.autoSkip?Mn(l.minUnit,r.min,r.max,d):On(r,u.length,l.minUnit,r.min,r.max)),r._majorUnit=s.major.enabled&&"year"!==r._unit?Pn(r._unit):void 0,r._table=wn(r._timestamps.data,n,o,g),r._offsets=Rn(r._table,u,n,o,a),s.reverse&&u.reverse(),In(r,u,r._majorUnit)},getLabelForIndex:function(t,e){var i=this,r=i._adapter,n=i.chart.data,o=i.options.time,a=n.labels&&t<n.labels.length?n.labels[t]:"",s=n.datasets[e].data[t];return ct.isObject(s)&&(a=i.getRightValue(s)),o.tooltipFormat?r.format(An(i,a),o.tooltipFormat):"string"===typeof a?a:r.format(An(i,a),o.displayFormats.datetime)},tickFormatFunction:function(t,e,i,r){var n=this,o=n._adapter,a=n.options,s=a.time.displayFormats,l=s[n._unit],c=n._majorUnit,u=s[c],d=i[e],h=a.ticks,g=c&&u&&d&&d.major,p=o.format(t,r||(g?u:l)),f=g?h.major:h.minor,m=dn([f.callback,f.userCallback,h.callback,h.userCallback]);return m?m(p,e,i):p},convertTicksToLabels:function(t){var e,i,r=[];for(e=0,i=t.length;e<i;++e)r.push(this.tickFormatFunction(t[e].value,e,t));return r},getPixelForOffset:function(t){var e=this,i=e._offsets,r=Cn(e._table,"time",t,"pos");return e.getPixelForDecimal((i.start+r)*i.factor)},getPixelForValue:function(t,e,i){var r=this,n=null;if(void 0!==e&&void 0!==i&&(n=r._timestamps.datasets[i][e]),null===n&&(n=kn(r,t)),null!==n)return r.getPixelForOffset(n)},getPixelForTick:function(t){var e=this.getTicks();return t>=0&&t<e.length?this.getPixelForOffset(e[t].value):null},getValueForPixel:function(t){var e=this,i=e._offsets,r=e.getDecimalForPixel(t)/i.factor-i.end,n=Cn(e._table,"pos",r,"time");return e._adapter._create(n)},_getLabelSize:function(t){var e=this,i=e.options.ticks,r=e.ctx.measureText(t).width,n=ct.toRadians(e.isHorizontal()?i.maxRotation:i.minRotation),o=Math.cos(n),a=Math.sin(n),s=hn(i.fontSize,K.global.defaultFontSize);return{w:r*o+s*a,h:r*a+s*o}},getLabelWidth:function(t){return this._getLabelSize(t).w},getLabelCapacity:function(t){var e=this,i=e.options.time,r=i.displayFormats,n=r[i.unit]||r.millisecond,o=e.tickFormatFunction(t,0,In(e,[t],e._majorUnit),n),a=e._getLabelSize(o),s=Math.floor(e.isHorizontal()?e.width/a.w:e.height/a.h);return e.options.offset&&s--,s>0?s:1}}),jn=Dn;Bn._defaults=jn;var Fn={category:Mr,linear:Er,logarithmic:Yr,radialLinear:ln,time:Bn},Ln={datetime:"MMM D, YYYY, h:mm:ss a",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"};ir._date.override("function"===typeof t?{_id:"moment",formats:function(){return Ln},parse:function(e,i){return"string"===typeof e&&"string"===typeof i?e=t(e,i):e instanceof t||(e=t(e)),e.isValid()?e.valueOf():null},format:function(e,i){return t(e).format(i)},add:function(e,i,r){return t(e).add(i,r).valueOf()},diff:function(e,i,r){return t(e).diff(t(i),r)},startOf:function(e,i,r){return e=t(e),"isoWeek"===i?e.isoWeekday(r).valueOf():e.startOf(i).valueOf()},endOf:function(e,i){return t(e).endOf(i).valueOf()},_create:function(e){return t(e)}}:{}),K._set("global",{plugins:{filler:{propagate:!0}}});var En={dataset:function(t){var e=t.fill,i=t.chart,r=i.getDatasetMeta(e),n=r&&i.isDatasetVisible(e),o=n&&r.dataset._children||[],a=o.length||0;return a?function(t,e){return e<a&&o[e]._view||null}:null},boundary:function(t){var e=t.boundary,i=e?e.x:null,r=e?e.y:null;return ct.isArray(e)?function(t,i){return e[i]}:function(t){return{x:null===i?t.x:i,y:null===r?t.y:r}}}};function Vn(t,e,i){var r,n=t._model||{},o=n.fill;if(void 0===o&&(o=!!n.backgroundColor),!1===o||null===o)return!1;if(!0===o)return"origin";if(r=parseFloat(o,10),isFinite(r)&&Math.floor(r)===r)return"-"!==o[0]&&"+"!==o[0]||(r=e+r),!(r===e||r<0||r>=i)&&r;switch(o){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return o;default:return!1}}function Nn(t){var e,i=t.el._model||{},r=t.el._scale||{},n=t.fill,o=null;if(isFinite(n))return null;if("start"===n?o=void 0===i.scaleBottom?r.bottom:i.scaleBottom:"end"===n?o=void 0===i.scaleTop?r.top:i.scaleTop:void 0!==i.scaleZero?o=i.scaleZero:r.getBasePixel&&(o=r.getBasePixel()),void 0!==o&&null!==o){if(void 0!==o.x&&void 0!==o.y)return o;if(ct.isFinite(o))return e=r.isHorizontal(),{x:e?o:null,y:e?null:o}}return null}function zn(t){var e,i,r,n,o,a=t.el._scale,s=a.options,l=a.chart.data.labels.length,c=t.fill,u=[];if(!l)return null;for(e=s.ticks.reverse?a.max:a.min,i=s.ticks.reverse?a.min:a.max,r=a.getPointPositionForValue(0,e),n=0;n<l;++n)o="start"===c||"end"===c?a.getPointPositionForValue(n,"start"===c?e:i):a.getBasePosition(n),s.gridLines.circular&&(o.cx=r.x,o.cy=r.y,o.angle=a.getIndexAngle(n)-Math.PI/2),u.push(o);return u}function Wn(t){var e=t.el._scale||{};return e.getPointPositionForValue?zn(t):Nn(t)}function Hn(t,e,i){var r,n=t[e],o=n.fill,a=[e];if(!i)return o;while(!1!==o&&-1===a.indexOf(o)){if(!isFinite(o))return o;if(r=t[o],!r)return!1;if(r.visible)return o;a.push(o),o=r.fill}return!1}function Un(t){var e=t.fill,i="dataset";return!1===e?null:(isFinite(e)||(i="boundary"),En[i](t))}function Yn(t){return t&&!t.skip}function Qn(t,e,i,r,n){var o,a,s,l;if(r&&n){for(t.moveTo(e[0].x,e[0].y),o=1;o<r;++o)ct.canvas.lineTo(t,e[o-1],e[o]);if(void 0===i[0].angle)for(t.lineTo(i[n-1].x,i[n-1].y),o=n-1;o>0;--o)ct.canvas.lineTo(t,i[o],i[o-1],!0);else for(a=i[0].cx,s=i[0].cy,l=Math.sqrt(Math.pow(i[0].x-a,2)+Math.pow(i[0].y-s,2)),o=n-1;o>0;--o)t.arc(a,s,l,i[o].angle,i[o-1].angle,!0)}}function Xn(t,e,i,r,n,o){var a,s,l,c,u,d,h,g,p=e.length,f=r.spanGaps,m=[],v=[],b=0,x=0;for(t.beginPath(),a=0,s=p;a<s;++a)l=a%p,c=e[l]._view,u=i(c,l,r),d=Yn(c),h=Yn(u),o&&void 0===g&&d&&(g=a+1,s=p+g),d&&h?(b=m.push(c),x=v.push(u)):b&&x&&(f?(d&&m.push(c),h&&v.push(u)):(Qn(t,m,v,b,x),b=x=0,m=[],v=[]));Qn(t,m,v,b,x),t.closePath(),t.fillStyle=n,t.fill()}var qn={id:"filler",afterDatasetsUpdate:function(t,e){var i,r,n,o,a=(t.data.datasets||[]).length,s=e.propagate,l=[];for(r=0;r<a;++r)i=t.getDatasetMeta(r),n=i.dataset,o=null,n&&n._model&&n instanceof Jt.Line&&(o={visible:t.isDatasetVisible(r),fill:Vn(n,r,a),chart:t,el:n}),i.$filler=o,l.push(o);for(r=0;r<a;++r)o=l[r],o&&(o.fill=Hn(l,r,s),o.boundary=Wn(o),o.mapper=Un(o))},beforeDatasetsDraw:function(t){var e,i,r,n,o,a,s,l=t._getSortedVisibleDatasetMetas(),c=t.ctx;for(i=l.length-1;i>=0;--i)e=l[i].$filler,e&&e.visible&&(r=e.el,n=r._view,o=r._children||[],a=e.mapper,s=n.backgroundColor||K.global.defaultColor,a&&s&&o.length&&(ct.canvas.clipArea(c,t.chartArea),Xn(c,o,a,n,s,r._loop),ct.canvas.unclipArea(c)))}},Jn=ct.rtl.getRtlAdapter,Gn=ct.noop,Kn=ct.valueOrDefault;function Zn(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}K._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var i=e.datasetIndex,r=this.chart,n=r.getDatasetMeta(i);n.hidden=null===n.hidden?!r.data.datasets[i].hidden:null,r.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data.datasets,i=t.options.legend||{},r=i.labels&&i.labels.usePointStyle;return t._getSortedDatasetMetas().map((function(i){var n=i.controller.getStyle(r?0:void 0);return{text:e[i.index].label,fillStyle:n.backgroundColor,hidden:!t.isDatasetVisible(i.index),lineCap:n.borderCapStyle,lineDash:n.borderDash,lineDashOffset:n.borderDashOffset,lineJoin:n.borderJoinStyle,lineWidth:n.borderWidth,strokeStyle:n.borderColor,pointStyle:n.pointStyle,rotation:n.rotation,datasetIndex:i.index}}),this)}}},legendCallback:function(t){var e,i,r,n,o=document.createElement("ul"),a=t.data.datasets;for(o.setAttribute("class",t.id+"-legend"),e=0,i=a.length;e<i;e++)r=o.appendChild(document.createElement("li")),n=r.appendChild(document.createElement("span")),n.style.backgroundColor=a[e].backgroundColor,a[e].label&&r.appendChild(document.createTextNode(a[e].label));return o.outerHTML}});var $n=vt.extend({initialize:function(t){var e=this;ct.extend(e,t),e.legendHitBoxes=[],e._hoveredItem=null,e.doughnutMode=!1},beforeUpdate:Gn,update:function(t,e,i){var r=this;return r.beforeUpdate(),r.maxWidth=t,r.maxHeight=e,r.margins=i,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:Gn,beforeSetDimensions:Gn,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:Gn,beforeBuildLabels:Gn,buildLabels:function(){var t=this,e=t.options.labels||{},i=ct.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(i=i.filter((function(i){return e.filter(i,t.chart.data)}))),t.options.reverse&&i.reverse(),t.legendItems=i},afterBuildLabels:Gn,beforeFit:Gn,fit:function(){var t=this,e=t.options,i=e.labels,r=e.display,n=t.ctx,o=ct.options._parseFont(i),a=o.size,s=t.legendHitBoxes=[],l=t.minSize,c=t.isHorizontal();if(c?(l.width=t.maxWidth,l.height=r?10:0):(l.width=r?10:0,l.height=t.maxHeight),r){if(n.font=o.string,c){var u=t.lineWidths=[0],d=0;n.textAlign="left",n.textBaseline="middle",ct.each(t.legendItems,(function(t,e){var r=Zn(i,a),o=r+a/2+n.measureText(t.text).width;(0===e||u[u.length-1]+o+2*i.padding>l.width)&&(d+=a+i.padding,u[u.length-(e>0?0:1)]=0),s[e]={left:0,top:0,width:o,height:a},u[u.length-1]+=o+i.padding})),l.height+=d}else{var h=i.padding,g=t.columnWidths=[],p=t.columnHeights=[],f=i.padding,m=0,v=0;ct.each(t.legendItems,(function(t,e){var r=Zn(i,a),o=r+a/2+n.measureText(t.text).width;e>0&&v+a+2*h>l.height&&(f+=m+i.padding,g.push(m),p.push(v),m=0,v=0),m=Math.max(m,o),v+=a+h,s[e]={left:0,top:0,width:o,height:a}})),f+=m,g.push(m),p.push(v),l.width+=f}t.width=l.width,t.height=l.height}else t.width=l.width=t.height=l.height=0},afterFit:Gn,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,i=e.labels,r=K.global,n=r.defaultColor,o=r.elements.line,a=t.height,s=t.columnHeights,l=t.width,c=t.lineWidths;if(e.display){var u,d=Jn(e.rtl,t.left,t.minSize.width),h=t.ctx,g=Kn(i.fontColor,r.defaultFontColor),p=ct.options._parseFont(i),f=p.size;h.textAlign=d.textAlign("left"),h.textBaseline="middle",h.lineWidth=.5,h.strokeStyle=g,h.fillStyle=g,h.font=p.string;var m=Zn(i,f),v=t.legendHitBoxes,b=function(t,e,r){if(!(isNaN(m)||m<=0)){h.save();var a=Kn(r.lineWidth,o.borderWidth);if(h.fillStyle=Kn(r.fillStyle,n),h.lineCap=Kn(r.lineCap,o.borderCapStyle),h.lineDashOffset=Kn(r.lineDashOffset,o.borderDashOffset),h.lineJoin=Kn(r.lineJoin,o.borderJoinStyle),h.lineWidth=a,h.strokeStyle=Kn(r.strokeStyle,n),h.setLineDash&&h.setLineDash(Kn(r.lineDash,o.borderDash)),i&&i.usePointStyle){var s=m*Math.SQRT2/2,l=d.xPlus(t,m/2),c=e+f/2;ct.canvas.drawPoint(h,r.pointStyle,s,l,c,r.rotation)}else h.fillRect(d.leftForLtr(t,m),e,m,f),0!==a&&h.strokeRect(d.leftForLtr(t,m),e,m,f);h.restore()}},x=function(t,e,i,r){var n=f/2,o=d.xPlus(t,m+n),a=e+n;h.fillText(i.text,o,a),i.hidden&&(h.beginPath(),h.lineWidth=2,h.moveTo(o,a),h.lineTo(d.xPlus(o,r),a),h.stroke())},y=function(t,r){switch(e.align){case"start":return i.padding;case"end":return t-r;default:return(t-r+i.padding)/2}},w=t.isHorizontal();u=w?{x:t.left+y(l,c[0]),y:t.top+i.padding,line:0}:{x:t.left+i.padding,y:t.top+y(a,s[0]),line:0},ct.rtl.overrideTextDirection(t.ctx,e.textDirection);var _=f+i.padding;ct.each(t.legendItems,(function(e,r){var n=h.measureText(e.text).width,o=m+f/2+n,g=u.x,p=u.y;d.setWidth(t.minSize.width),w?r>0&&g+o+i.padding>t.left+t.minSize.width&&(p=u.y+=_,u.line++,g=u.x=t.left+y(l,c[u.line])):r>0&&p+_>t.top+t.minSize.height&&(g=u.x=g+t.columnWidths[u.line]+i.padding,u.line++,p=u.y=t.top+y(a,s[u.line]));var C=d.x(g);b(C,p,e),v[r].left=d.leftForLtr(C,v[r].width),v[r].top=p,x(C,p,e,n),w?u.x+=o+i.padding:u.y+=_})),ct.rtl.restoreTextDirection(t.ctx,e.textDirection)}},_getLegendItemAt:function(t,e){var i,r,n,o=this;if(t>=o.left&&t<=o.right&&e>=o.top&&e<=o.bottom)for(n=o.legendHitBoxes,i=0;i<n.length;++i)if(r=n[i],t>=r.left&&t<=r.left+r.width&&e>=r.top&&e<=r.top+r.height)return o.legendItems[i];return null},handleEvent:function(t){var e,i=this,r=i.options,n="mouseup"===t.type?"click":t.type;if("mousemove"===n){if(!r.onHover&&!r.onLeave)return}else{if("click"!==n)return;if(!r.onClick)return}e=i._getLegendItemAt(t.x,t.y),"click"===n?e&&r.onClick&&r.onClick.call(i,t.native,e):(r.onLeave&&e!==i._hoveredItem&&(i._hoveredItem&&r.onLeave.call(i,t.native,i._hoveredItem),i._hoveredItem=e),r.onHover&&e&&r.onHover.call(i,t.native,e))}});function to(t,e){var i=new $n({ctx:t.ctx,options:e,chart:t});qe.configure(t,i,e),qe.addBox(t,i),t.legend=i}var eo={id:"legend",_element:$n,beforeInit:function(t){var e=t.options.legend;e&&to(t,e)},beforeUpdate:function(t){var e=t.options.legend,i=t.legend;e?(ct.mergeIf(e,K.global.legend),i?(qe.configure(t,i,e),i.options=e):to(t,e)):i&&(qe.removeBox(t,i),delete t.legend)},afterEvent:function(t,e){var i=t.legend;i&&i.handleEvent(e)}},io=ct.noop;K._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var ro=vt.extend({initialize:function(t){var e=this;ct.extend(e,t),e.legendHitBoxes=[]},beforeUpdate:io,update:function(t,e,i){var r=this;return r.beforeUpdate(),r.maxWidth=t,r.maxHeight=e,r.margins=i,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:io,beforeSetDimensions:io,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:io,beforeBuildLabels:io,buildLabels:io,afterBuildLabels:io,beforeFit:io,fit:function(){var t,e,i=this,r=i.options,n=i.minSize={},o=i.isHorizontal();r.display?(t=ct.isArray(r.text)?r.text.length:1,e=t*ct.options._parseFont(r).lineHeight+2*r.padding,i.width=n.width=o?i.maxWidth:e,i.height=n.height=o?e:i.maxHeight):i.width=n.width=i.height=n.height=0},afterFit:io,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,i=t.options;if(i.display){var r,n,o,a=ct.options._parseFont(i),s=a.lineHeight,l=s/2+i.padding,c=0,u=t.top,d=t.left,h=t.bottom,g=t.right;e.fillStyle=ct.valueOrDefault(i.fontColor,K.global.defaultFontColor),e.font=a.string,t.isHorizontal()?(n=d+(g-d)/2,o=u+l,r=g-d):(n="left"===i.position?d+l:g-l,o=u+(h-u)/2,r=h-u,c=Math.PI*("left"===i.position?-.5:.5)),e.save(),e.translate(n,o),e.rotate(c),e.textAlign="center",e.textBaseline="middle";var p=i.text;if(ct.isArray(p))for(var f=0,m=0;m<p.length;++m)e.fillText(p[m],0,f,r),f+=s;else e.fillText(p,0,0,r);e.restore()}}});function no(t,e){var i=new ro({ctx:t.ctx,options:e,chart:t});qe.configure(t,i,e),qe.addBox(t,i),t.titleBlock=i}var oo={id:"title",_element:ro,beforeInit:function(t){var e=t.options.title;e&&no(t,e)},beforeUpdate:function(t){var e=t.options.title,i=t.titleBlock;e?(ct.mergeIf(e,K.global.title),i?(qe.configure(t,i,e),i.options=e):no(t,e)):i&&(qe.removeBox(t,i),delete t.titleBlock)}},ao={},so=qn,lo=eo,co=oo;for(var uo in ao.filler=so,ao.legend=lo,ao.title=co,Ki.helpers=ct,Zi(),Ki._adapters=ir,Ki.Animation=xt,Ki.animationService=yt,Ki.controllers=Pe,Ki.DatasetController=Mt,Ki.defaults=K,Ki.Element=vt,Ki.elements=Jt,Ki.Interaction=je,Ki.layouts=qe,Ki.platform=Ai,Ki.plugins=ki,Ki.Scale=Cr,Ki.scaleService=Mi,Ki.Ticks=rr,Ki.Tooltip=zi,Ki.helpers.each(Fn,(function(t,e){Ki.scaleService.registerScaleType(e,t,t._defaults)})),ao)ao.hasOwnProperty(uo)&&Ki.plugins.register(ao[uo]);Ki.platform.initialize();var ho=Ki;return"undefined"!==typeof window&&(window.Chart=Ki),Ki.Chart=Ki,Ki.Legend=ao.legend._element,Ki.Title=ao.title._element,Ki.pluginService=Ki.plugins,Ki.PluginBase=Ki.Element.extend({}),Ki.canvasHelpers=Ki.helpers.canvas,Ki.layoutService=Ki.layouts,Ki.LinearScaleBase=Tr,Ki.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],(function(t){Ki[t]=function(e,i){return new Ki(e,Ki.helpers.merge(i||{},{type:t.charAt(0).toLowerCase()+t.slice(1)}))}})),ho}))},"4f36":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFhSURBVHgB7ZQxTsMwFIZ/O5WALWJGKEcoEgOCDu0NGNkKA6JMiBOQ3iAbAZZcgRO0SDRiYOAIEQeozMSEjS0QCqnjpMXOQn4pspI4/r48Pxlo89/jwVE2e6Orje3dqbzw/vr8gCYFFFwO4fdt3yRhXaAAR5WEdYG1rZ03QsgRQNZRQ4LCUvze2YW/NwpYevfCOR8AgmmmhcUHVgRU2SlIRD1MKiTGxW8JLMCR/zOBjH9gwJ7izN8/7VJKJxLjK/j8MQ6tCpQ03KIE6fTns+tIt8bKAkU4F/xSNt+QgHSLEqZ1VuqBBTjHCZvdRgJIfiYRBPDIYdVaSwto4Wmc+AfnQ9WIualjVlL2fJbaAiOciCQP1zXcnwRcwGsLuILXEnAJrxRwDTcKNAEvFWgKrhVoEq6iO4jCpuAqnbIXQoh7lt44havotkB8GSCT9ZnK8dgVXIUa1ALXcLPA7ziBt2mj8gl4LPy9kQIEWgAAAABJRU5ErkJggg=="},"648d":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAcCAYAAAATFf3WAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAALZSURBVHgB7VdNbtNAFP5mxtAFqMSCA4QbpKV7fJOGE5Q0YsHKzopFFZKegOQEqCcgrGmCj+A9IEeCFcQe3nOdEjv+a+JELPpJlhPPzJtv3jx/81mgIlqO35BPcAaNtgCa8WOX/rvBb/Tct6aHHUBU6fTivX9KtyFdjZwuc63D3qz7dIiaUUqQyJ3hhlwFqPb0/HCMGlFIsPXOb6oDfEV+5tKYBwLP3Y45R02QRY3qIWykyAmNHpEw+dIandSQhgzD16gRRmGrQAtJcp3rrrm63cPj/o+GENK+7SMk16uDvRBEkuBCYpTuEEo5VBr2yqNmZqCLb5ZShh3H5F2ZaB2MZ91nIxSgcIvrwvHAt4ncJ/pp4V/JWEKoD9xWNLaQoAa8ROeM+qLsnaYeuQly/e9tKg0HOeC2kwvfymsv3mIdjpGsL5tqbh7+lKOI8I1wO8kZkwQpS6cogVZRiUyy2gozyPVFt3lyQjlQh/D5SmdGs8wAvVQYC+Vo5TUUEmQ9y5CSXEiSIBrjpR5X0cRcnS19SWZdcxSTzJ2IM0fkXqUkaAkX5ZhgU4IMIjkkYT6iTR+vTsgvEQt3SKfHF1pI1lgRrG35GigBucdjJbOwLU76vqMFMuWEF0iZd/LG7oUg47jvt4WIJMnikqCJXc7u9RtzgnvsEMV2i1w0Hi1aUsqWgHxJdUT3SBKWssBvtkdmdbwLs8owMkk9DiwlFRtVElDjVqMyVtOgIr+a5pBbxjKE4sVx7TVWPhd4cS6Ndxc6+IxfauI66z4yMWfsnh1UN6iX03Nz7XyOnIs0zii6dYdYrFuj9PdNRJCds3GAj7rgyFmPBY/072jVPccfVjZlZTvTykQlOhxbxLaerVATOUQEwiutpasCuH8ewMuy9GVxNoDHh4MR2/pmihQfXZcIMZlW1KmsOFuiqUIMBNWdj7vUSQyqvXT9bhSnBHNZY9C6yUUx92L5t8F/T/AvaoUK4hI4/OoAAAAASUVORK5CYII="},"67d7":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFUSURBVHgB7ZZLTsMwEIbH4x4gKhfgCGHbgpQbACcIXSAFVtyA9BaRWJCjpGpVsSNHyAWoskceMw04SkIfkcgDRL6NrYnl+T32PwrAf0dUA9bk1pZS2tACSqk4XT/FewWMz71HHnxoF3+zCubfBFiTexuRXqEDiNSZqcTIBKUkW+tcVsjKFtAgmsDhfd0sF2RXXBZQRChYvK2DEBrk5MIDPqBbjSP0zCBgEDCqs2g89UJjIW4iWe/gV33Dr/p5OxcEM+MabmafZmYrb5bB7Njef6MChBCxUl2MKQ0J8imzOUKSf/iKkarXyGoJSJdZecNSbBVEPETVtXXKXmRwwSDg99rQmt65iNqBptBwaqZKUnpQAKG4RNBXZef/NH8+S+Ed8//CnVcgtslbQcQE4jp9CRITOdaI5tz7fWgR7DP5IQGdJN8noLPkuwR0mryE5TxYMNADH3ARc14ho9yDAAAAAElFTkSuQmCC"},"7e12":function(t,e,i){var r=i("da84"),n=i("58a8").trim,o=i("5899"),a=r.parseFloat,s=1/a(o+"-0")!==-1/0;t.exports=s?function(t){var e=n(String(t)),i=a(e);return 0===i&&"-"==e.charAt(0)?-0:i}:a},"845b":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAANCAYAAACpUE5eAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAC5SURBVHgBpZNhEcIwDIUTFAwF1AGTAA7mgDnAAg5AAkhAwSyAAupgQ0F466Wjf5Z113f3Xa+73LdmWZk0InLAUoO9PqqUuXgwgC+4M7OnRNZKeZpU2El5utG1UWdN5XGp0PpWR/CgTGHIQis7rWnAxyqMMicZwuTlN1O44oQVuFqF2UJwBv1CXRCyCntjMAPZQ5vq8HNv45S9UZgjmxxR+KTyBAfHHdpusZzof4cdZZwIeYE32r2Mmx/Dea6lr9AnCQAAAABJRU5ErkJggg=="},9530:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAPCAYAAAACsSQRAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADGSURBVHgBnVMLEcMgDIUpqAQcDAlIqAQcbA5aJ8zBJKwONgedg9ZBlrSwci3fvrsHdyR5l5CEs0IAQIOXRM6c80/Ioc0I3JATbBgpBtktsXgo69BGBCTEYZDaiTiQstiJmITIuPhTrYFUjRUn2zMhov4fhuzhHFRJzTk0ft0vqMf7MAPIB9RBu/gLHTg8M15XGiRWhi9yOLzCOjxTbRYhIQH5TvUpAepSl8iG3u+xYA357pBdxBLgfils3VLp2WlbB/vxUfwAXoBYnDIAakwAAAAASUVORK5CYII="},a8c5:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAASCAYAAACJgPRIAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACLSURBVHgB1VHbDYAgDBTjAIwAE7iKG+gIbiArOIKTuAIbwAhuUI8IpMFH+PWS0tJeerSIpgARTXAjTMWULQkL3eE4QdEzXMsaKRYfMC0u6DeSRdGnS9tUoIPmDC9hPe+KvMnThYfRN0yNnO1wrExuiAUP27JcQtg0k9h5q6rpfksSKcDYYVcyF9gHnxaqfMzdYDd+AAAAAElFTkSuQmCC"},acd8:function(t,e,i){var r=i("23e7"),n=i("7e12");r({global:!0,forced:parseFloat!=n},{parseFloat:n})},ba5a:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGwSURBVHgBzVXNVQIxEJ5ED9xkL/o8GTrIVgB2oBWAFYAV+KzAFrACpQKwAtMBe/ApeMmehPfUHWfCj8guOgsXv/eym01m5pu/ZAH+E/yLbfAoo7NfRlhr3UREQ9OBVEdJBclzo5Qa8hwnGEU1l0r0NAhB3l8tPyrQEetJBSk1jcVcadX2Q1uV6IkIKD0teplvNqhSFGcSXREB5b5dsNYUqBYXOYRfAU6BIW8tpeSmSA4BL+nh4BNSeIekqPDKv1qrsmDAzNcM7IaEBhOlVLdrHR06hxn25oYN7A5Dw1J0vejYDZYpCpGg6ocC7gJFnmd4zsZnnyuYH6Y+bB9JQmk5JePJYuFHF/EGC8Asj2Xh1o3nCJYkE4ypD+9BCDJ8Szo544UEgYTaDTF7ACkUuE13k96so+sgRQaNTVu/nGS0IITaU/VSBP7JsnGTtxQOUJJbp9ae+PgEpASwBznvlcIuvmGNO4WLur4/nYbukxHQ3b8acmi/gyN3wYXkTqHRwg/qtJVotAZ5zdJR/JiOY+9H9s8fi3+2HZYlnSFIwDdpOrZ3fKpBCJal0ZX+hLZGEcEXYnO+tK6wqL8AAAAASUVORK5CYII="},c24e:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAANhSURBVHgB7Ve9ThtBEJ7ZM4pNdYIasJ8gjmQkBFhxqpRxngC7iYxSxDwB5gkgVUyFKVMRylQxMiJEIorLdPwobeBScZLtncyez/djn313xF34pPOtb+d2vp3Z+TmA/x0ID4C+UklDAtIaQpqXMHpEBiSSbaO5Z0BMRCaglIoZfAeSimApDgDBFQhoyg7sGOf1qyjrhhLQC1VddMxdlixBHCA0ohDRJk3q65WCkJ2vgLgC8ZFFhOJsevn6/ubi5zghMW5CX9vc4MkvvBUdYkAilEm5QoFdRURHaq1x8oEumM9vFtWLEBME1L473X+mxnPrlRrfth1iAC+M03pz+J0RC6jDRpJ2ITbIIMCtwb/b03qNbzuuIjxS5ymUgNCY9bhT7lUHcMI+Lg8umUhlhndok3hvv6GLnjmyMZ8LrFBLwCVEAZ/y21a9HCamF0o6dpI/0N6U7ELGGxk+C1i7nzKMZsMgtpCjIwFVn84h+QJEhCS4jirbdw31syTCq0ACylSu72kkpXp9bp/oGsQB4bG9UFpffbs0eJxwBLrJrCssdgBJnVjHJaz48ner3oAHQoJsCxD9fCB6Gf61LOhYQEPphAhycRkOo3+FJoRjVU26UeZaAMRIjCoSnFDUcJtNV+JxCSYBae+2tb8FIehp0iHjWKA3SJ+g3OWm31iWIKyOVSpdC7OLRwlAwmw7Y0FPvS9Pwx3sf3dN7h3c5zZUvMLACoTF4QWmQKJgLc06vI2LPw8gHPYHpKtSDMEkYmM+z2fHDnHkhsU75yPAabLhTBAcBBWPMMzlKwfqml91DyxJT1Xs+K3oa0jMXxdGaiGXYbZZvnSkTvL+5vtnr8zsYq7AtzSMR9a6uBlJLSz/SS3lXqqxNcP14+6sfugVHqmGcsasOpmQTzWHnq8+9LrccAB+gihAq6zXrKXY98O7Vxhpycyrtvlkcfkbl8mS/aiQWswBt1Un1jxbyby5+Di7lFOZrAgRQQLLxln9fPh5YEumioeU4C21tbm1yqXXr3Gg1jJaHwKtNrEr1vNviijFLnobFDYlIbX7L2OIBciQgK+DWrFIBCwSqknR2I8IGxAHqi3XklthHyvxPkyYCJfl5zjpwwThmMN5b2ofJoFkVH7omhxqUte4iFl1pMsZLqLSR3jxFwEXWavIHthgAAAAAElFTkSuQmCC"},ebe5:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMWSURBVHgB7VhNdtowEB6p2WTT4E1J2i7gBiY9QOkJmpwg5ARNTlA4QZIb0BOUnqD0AkU3iBf9SdlAumg3wdMZYTu26h8JnPfIe3zv8ZCENPo8mvk0GGCL9SCgJsy++0cgwdedEJT3Qo2gBuxAXZBwJIQ44abYwSF91UJQwobj8ROcXfsNeCDY2C4lePvr8L3YFZPZT78FVQhhhIgD/oR38KlqOttk27xH2TxRRo4260fdgNpvvAMVQA3Q5IT4TM2WJiFEf6/5dZA3t9CDYRimyWuDdRw320iTi/ZqF80vJEje6vNxxX1qf/Daal64MXll9s336btb9iBsg21l7B6oXtH8SqGmDfsx4TxSUsh3KLAHCCapgDw1Ju8M8kIjstsqI2dFsAi308MLDPHMZm5ZjFWuBUfoGNrVMeQ7LlX4lxKtJEzy4CzU/5ETMCdPXuECjyme2iixwxmfjrMIPq39CI5w8qAhPYxS+THlhMGJlxfPaxPUm0kxSSVDQEfWqTqyKCQmCUn2+B9s2x61yxF305mqPWexSSQrp8kA29iFHljCmmBcSkUYu9wqNHfMaxJbIN7artX1IIsrEcjcifTUXzKxIigxMPoNsPKuNcFriFg3sZXC7MY/M0mTtl55TTWKC9YW8BGmICUExg6NVNtJKpI1IsfWsu/Tb93MWAhaBTa+Hlx68AmJ6AIzSo8LUMbcAOJMRGeRphORrylslh1h2OZSTWKQGYv2d5GZYZIoJBWN5sQDB8xvOteQlFc43GuqU5t1Lkc8TFoUQ3ERYYOoKG3F/TCKLxs43STkBb4VunFfSuw9faZKN/s9fXVCFc0wNRQ09idtsIRTkqTrQwbVtEP2Tt5fAr5BuOIxyGmBBwe4VzM/SLOkuDCGA7zDY++l0oE9m/q+QLqDDTlxvYcZzjLjPVeXVL2cG8MtUoL7zF5oUb8nx/cv4LkruZUIJiSptLKdTw/U8fbVJayAlYXa8S62nmti++pjXWw8wbXeD5JwY8rSPKlyBGVwKotJmFfep773g0tCjahdGx5JubUizKtvi03EP4Pxe2b0nrwUAAAAAElFTkSuQmCC"},ed59:function(t,e,i){"use strict";i.r(e);i("e260"),i("e6cf"),i("cca6"),i("a79d");var r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:t.mainClass},[i("the-app-header"),i("the-app-navigation",[i("reports-navigation")],1),i("the-app-notices"),i("router-view"),t.blocked?i("div",{staticClass:"monsterinsights-blocked"}):t._e(),t.noauth?i("report-no-auth"):t._e(),t.reauth?i("report-re-auth"):t._e(),i("the-quick-links")],1)},n=[],o=(i("a4d3"),i("4de4"),i("4160"),i("b0c0"),i("e439"),i("dbb4"),i("b64b"),i("159b"),i("fc11")),a=i("2f62"),s=i("f284"),l=i("8c4f"),c=i("561c"),u=i("c1df"),d=i.n(u),h=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("main",{staticClass:"monsterinsights-report monsterinsights-report-overview"},[i("report-overview-upsell-mobile"),i("div",{staticClass:"monsterinsights-report-top"},[i("h2",{domProps:{textContent:t._s(t.text_overview)}}),i("report-overview-date-picker")],1),t.showChart()?i("div",{staticClass:"monsterinsights-report-tabs monsterinsights-report-row"},[i("div",{staticClass:"monsterinsights-report-tabs-navigation"},[i("button",{class:t.activeTabButtonClass("sessions"),on:{click:function(e){return t.switchTab("sessions")}}},[i("i",{staticClass:"monstericon-user"}),i("span",{domProps:{textContent:t._s(t.text_sessions)}})]),i("button",{class:t.activeTabButtonClass("pageviews"),on:{click:function(e){return t.switchTab("pageviews")}}},[i("i",{staticClass:"monstericon-eye"}),i("span",{domProps:{textContent:t._s(t.text_pageviews)}})])]),"sessions"===t.current_tab?i("div",{staticClass:"monsterinsights-report-tabs-content"},[i("report-overview-line-chart",{attrs:{id:"overview","chart-data":t.sessionsData(),tooltip:t.text_sessions_tooltip}})],1):t._e(),"pageviews"===t.current_tab?i("div",{staticClass:"monsterinsights-report-tabs-content"},[i("report-overview-line-chart",{attrs:{id:"overview","chart-data":t.pageviewsData(),tooltip:t.text_pageviews_tooltip}})],1):t._e()]):t._e(),i("div",{staticClass:"monsterinsights-report-row monsterinsights-report-infobox-row"},[i("report-infobox",{attrs:{title:t.text_sessions,value:t.infoboxSessionsData.value,change:t.infoboxSessionsData.change,color:t.infoboxSessionsData.color,direction:t.infoboxSessionsData.direction,days:t.infoboxRange,tooltip:t.text_infobox_tooltip_sessions}}),i("report-infobox",{attrs:{title:t.text_pageviews,value:t.infoboxPageviewsData.value,change:t.infoboxPageviewsData.change,color:t.infoboxPageviewsData.color,direction:t.infoboxPageviewsData.direction,days:t.infoboxRange,tooltip:t.text_infobox_tooltip_pageviews}}),i("report-infobox",{attrs:{title:t.text_duration,value:t.infoboxDurationData.value,change:t.infoboxDurationData.change,color:t.infoboxDurationData.color,direction:t.infoboxDurationData.direction,days:t.infoboxRange,tooltip:t.text_infobox_tooltip_average}}),i("report-infobox",{attrs:{title:t.text_bounce,value:t.infoboxBounceData.value,change:t.infoboxBounceData.change,color:t.infoboxBounceData.color,direction:t.infoboxBounceData.direction,days:t.infoboxRange,tooltip:t.text_infobox_tooltip_bounce}})],1),i("report-overview-upsell"),i("div",{staticClass:"monsterinsights-report-row monsterinsights-report-flex"},[i("report-overview-pie-chart",{attrs:{id:"newvsreturning",chartData:t.newVsReturningData,title:t.text_new_vs_returning,tooltip:t.text_pie_tooltip_newvsreturning}}),i("report-overview-pie-chart",{attrs:{id:"devices",chartData:t.devicesData,title:t.text_device_breakdown,tooltip:t.text_pie_tooltip_devices}})],1),i("div",{staticClass:"monsterinsights-report-row monsterinsights-report-flex monsterinsights-report-2-columns"},[i("report-list-box",{attrs:{title:t.text_countries,rows:t.countriesData,tooltip:t.text_countries_tooltip}},[t.gaLinks?i("a",{staticClass:"monsterinsights-button",attrs:{slot:"button",href:t.overview.galinks.countries,target:"_blank"},domProps:{textContent:t._s(t.text_countries_button)},slot:"button"}):t._e()]),i("report-list-box",{attrs:{title:t.text_referrals,rows:t.referralsData,tooltip:t.text_referral_tooltip}},[t.gaLinks?i("a",{staticClass:"monsterinsights-button",attrs:{slot:"button",href:t.overview.galinks.referrals,target:"_blank"},domProps:{textContent:t._s(t.text_referral_button)},slot:"button"}):t._e()])],1),i("div",{staticClass:"monsterinsights-report-row"},[i("report-list-box",{attrs:{title:t.text_top_posts,rows:t.topPostsData,tooltip:t.text_top_posts_tooltip}},[t.gaLinks?i("a",{staticClass:"monsterinsights-button",attrs:{slot:"button",href:t.overview.galinks.topposts,target:"_blank"},domProps:{textContent:t._s(t.text_top_posts_button)},slot:"button"}):t._e()])],1)],1)},g=[],p=(i("d3b7"),i("25f0"),i("30ef")),f=i.n(p);function m(t,e){if(e){var i=this.$data._chart,r=t.datasets.map((function(t){return t.label})),n=e.datasets.map((function(t){return t.label})),o=JSON.stringify(n),a=JSON.stringify(r);a===o&&e.datasets.length===t.datasets.length?(t.datasets.forEach((function(t,r){var n=Object.keys(e.datasets[r]),o=Object.keys(t),a=n.filter((function(t){return"_meta"!==t&&-1===o.indexOf(t)}));for(var s in a.forEach((function(t){delete i.data.datasets[r][t]})),t)t.hasOwnProperty(s)&&(i.data.datasets[r][s]=t[s])})),t.hasOwnProperty("labels")&&(i.data.labels=t.labels,this.$emit("labels:update")),t.hasOwnProperty("xLabels")&&(i.data.xLabels=t.xLabels,this.$emit("xlabels:update")),t.hasOwnProperty("yLabels")&&(i.data.yLabels=t.yLabels,this.$emit("ylabels:update")),i.update(),this.$emit("chart:update")):(i&&(i.destroy(),this.$emit("chart:destroy")),this.renderChart(this.chartData,this.options),this.$emit("chart:render"))}else this.$data._chart&&(this.$data._chart.destroy(),this.$emit("chart:destroy")),this.renderChart(this.chartData,this.options),this.$emit("chart:render")}var v={data:function(){return{chartData:null}},watch:{chartData:m}},b={props:{chartData:{type:Object,required:!0,default:function(){}}},watch:{chartData:m}},x={reactiveData:v,reactiveProp:b};function y(t,e){return{render:function(t){return t("div",{style:this.styles,class:this.cssClasses},[t("canvas",{attrs:{id:this.chartId,width:this.width,height:this.height},ref:"canvas"})])},props:{chartId:{default:t,type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object},plugins:{type:Array,default:function(){return[]}}},data:function(){return{_chart:null,_plugins:this.plugins}},methods:{addPlugin:function(t){this.$data._plugins.push(t)},generateLegend:function(){if(this.$data._chart)return this.$data._chart.generateLegend()},renderChart:function(t,i){this.$data._chart&&this.$data._chart.destroy(),this.$data._chart=new f.a(this.$refs.canvas.getContext("2d"),{type:e,data:t,options:i,plugins:this.$data._plugins})}},beforeDestroy:function(){this.$data._chart&&this.$data._chart.destroy()}}}var w=y("bar-chart","bar"),_=(y("horizontalbar-chart","horizontalBar"),y("doughnut-chart","doughnut"));y("line-chart","line"),y("pie-chart","pie"),y("polar-chart","polarArea"),y("radar-chart","radar"),y("bubble-chart","bubble"),y("scatter-chart","scatter");f.a.defaults.LineWithLine=f.a.defaults.line,f.a.controllers.LineWithLine=f.a.controllers.line.extend({draw:function(t){if(f.a.controllers.line.prototype.draw.call(this,t),this.chart.tooltip._active&&this.chart.tooltip._active.length){var e=this.chart.tooltip._active[0],i=this.chart.ctx,r=e.tooltipPosition().x,n=this.chart.scales["y-axis-0"].top,o=this.chart.scales["y-axis-0"].bottom;i.save(),i.beginPath(),i.moveTo(r,n),i.lineTo(r,o),i.lineWidth=1,i.strokeStyle="#6db0e9",i.setLineDash([10,10]),i.stroke(),i.restore()}}});var C,A,k,M,O=y("custom-line","LineWithLine"),P=x.reactiveProp,S={name:"ReportOverviewLineChart",extends:O,mixins:[P],props:{tooltip:String,customOptions:Object,id:String},computed:{options:function(){var t=this,e={legend:{display:!1},hover:{intersect:!0},tooltips:{enabled:!1,yAlign:"top",xAlign:"top",intersect:!1,custom:this.$miOverviewTooltips,callbacks:{title:function(e,i){e=e[0];var r=i.datasets[0].labels[e.index],n=i.datasets[0].data[e.index],o=i.datasets[0].trend[e.index];return[r,n,o,t.tooltip,t.id]},label:function(){return""}}},scales:{xAxes:[{spanGaps:!0,position:"bottom",gridLines:{show:!0,color:"#f2f6fa"},ticks:{fontColor:"#7f8591"}}],yAxes:[{gridLines:{show:!0,color:"#d4e2ef"},ticks:{fontColor:"#7f8591",callback:function(t){if(t%1===0)return t}}}]},animation:!1,responsive:!0,maintainAspectRatio:!1,borderWidth:1};for(var i in this.customOptions)this.customOptions.hasOwnProperty(i)&&(e[i]=this.customOptions[i]);return e},tooltipId:function(){return"monsterinsights-chartjs-line-"+this.id+"-tooltip"}},mounted:function(){this.renderChart(this.chartData,this.options)}},R=S,T=i("2877"),I=Object(T["a"])(R,C,A,!1,null,null,null),D=I.exports,B=i("bd74"),j=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.chartData?i("div",{staticClass:"monsterinsights-reports-pie-chart"},[t.title?i("h3",{staticClass:"monsterinsights-report-title",domProps:{textContent:t._s(t.title)}}):t._e(),t.tooltip?i("settings-info-tooltip",{attrs:{content:t.tooltip}}):t._e(),i("div",{staticClass:"monsterinsights-reports-pie-chart-holder"},[i("report-pie-chart",{staticClass:"monsterinsights-pie-chart",staticStyle:{"max-width":"200px","max-height":"200px"},attrs:{"chart-data":t.chartData,tooltipid:t.id}}),t.legend?i("ul",{staticClass:"monsterinsights-pie-chart-legend"},t._l(t.chartData.values,(function(e,r){return i("li",{key:r},[i("span",{staticClass:"monsterinsights-pie-chart-legend-color",style:t.labelBackground(t.chartData.datasets[0].backgroundColor[r])}),i("span",{staticClass:"monsterinsights-pie-chart-legend-text",domProps:{textContent:t._s(t.chartData.labels[r])}}),i("span",{staticClass:"monsterinsights-pie-chart-legend-value"},[t._v(" "+t._s(e)+"% ")])])})),0):t._e(),i("div",{staticClass:"monsterinsights-pie-chart-tooltip",attrs:{id:t.tooltipId}})],1)],1):t._e()},F=[],L=x.reactiveProp,E={name:"ReportPieChart",extends:_,mixins:[L],props:{tooltipid:String},data:function(){var t=this;return{options:{responsive:!0,maintainAspectRatio:!1,tooltips:{enabled:!1,yAlign:"top",xAlign:"top",intersect:!0,custom:t.$miPieTooltips,callbacks:{title:function(e,i){e=e[0];var r=i.labels[e.index],n=i.datasets[0].data[e.index];return[r,n,t.tooltipid]},label:function(){return""}}},animation:!1,legend:{display:!1}}}},mounted:function(){this.renderChart(this.chartData,this.options)}},V=E,N=Object(T["a"])(V,k,M,!1,null,null,null),z=N.exports,W=i("93ec"),H={name:"ReportOverviewPieChart",components:{SettingsInfoTooltip:W["a"],ReportPieChart:z},props:{chartData:[Object,Boolean],title:String,tooltip:String,legend:{type:Boolean,default:!0},id:String},computed:{tooltipId:function(){return"monsterinsights-chartjs-pie-"+this.id+"-tooltip"}},methods:{labelBackground:function(t){return"background-color: "+t+";"}}},U=H,Y=Object(T["a"])(U,j,F,!1,null,null,null),Q=Y.exports,X=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"monsterinsights-table-box"},[t.title?i("h3",{staticClass:"monsterinsights-report-title",domProps:{textContent:t._s(t.title)}}):t._e(),t.tooltip?i("settings-info-tooltip",{attrs:{content:t.tooltip}}):t._e(),i("div",{staticClass:"monsterinsights-table-box-list"},t._l(t.tableRows(),(function(e,r){return i("div",{key:r,staticClass:"monsterinsights-table-list-item"},[i("span",{staticClass:"monsterinsights-reports-list-count",domProps:{textContent:t._s(e.number)}}),i("span",{staticClass:"monsterinsights-reports-list-text",domProps:{innerHTML:t._s(e.text)}}),i("span",{staticClass:"monsterinsights-reports-list-number",domProps:{innerHTML:t._s(e.right)}})])})),0),t.hasButtonSlot()||t.paginate?i("div",{staticClass:"monsterinsights-table-box-footer"},[t._t("button"),t.paginate?i("div",{staticClass:"monsterinsights-table-box-pagination"},[i("span",{domProps:{textContent:t._s(t.text_show)}}),i("div",{staticClass:"monsterinsights-buttons-toggle"},[i("button",{class:t.getButtonClass(10),on:{click:function(e){t.limit=10}}},[t._v(" 10 ")]),t.rows.length>10?i("button",{class:t.getButtonClass(25),on:{click:function(e){t.limit=25}}},[t._v(" 25 ")]):t._e(),t.rows.length>25?i("button",{class:t.getButtonClass(50),on:{click:function(e){t.limit=50}}},[t._v(" 50 ")]):t._e()])]):t._e()],2):t._e()],1)},q=[],J=(i("fb6a"),{name:"ReportListBox",components:{SettingsInfoTooltip:W["a"]},props:{title:String,tooltip:String,rows:Array},data:function(){return{paginate:!1,limit:10,text_show:Object(c["a"])("Show","google-analytics-for-wordpress")}},methods:{tableRows:function(){var t=this.rows;if(t.length<10)while(t.length<10)t.push({number:"",text:"",right:""});return t.length>10&&(this.paginate=!0),t=t.slice(0,this.limit),t},hasButtonSlot:function(){return this.$slots["button"]},getButtonClass:function(t){var e="monsterinsights-button";return t===this.limit&&(e+=" monsterinsights-selected-interval"),e}}}),G=J,K=Object(T["a"])(G,X,q,!1,null,null,null),Z=K.exports,$=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"monsterinsights-report-row monsterinsights-overview-upsell-desktop"},[i("report-upsell-inline",{attrs:{title:t.text_upsell_title}},[i("p",{domProps:{textContent:t._s(t.text_upsell_content_1)}}),i("p",[i("span",{staticClass:"monsterinsights-green-text"},[i("b",{domProps:{innerHTML:t._s(t.text_upsell_content_2)}})]),i("br"),i("span",{staticClass:"monsterinsights-light",domProps:{innerHTML:t._s(t.text_upsell_content_3)}})]),i("a",{staticClass:"monsterinsights-button monsterinsights-button-green",attrs:{href:t.upgrade_link,target:"_blank"},domProps:{textContent:t._s(t.text_upsell_button)}})])],1)},tt=[],et=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"monsterinsights-report-box monsterinsights-upsell-inline"},[i("div",{staticClass:"monsterinsights-upsell-inline-content"},[i("h3",{domProps:{textContent:t._s(t.title)}}),i("div",{staticClass:"monsterinsights-upsell-content"},[t._t("default")],2)])])},it=[],rt={name:"ReportUpsellInline",props:{title:String}},nt=rt,ot=Object(T["a"])(nt,et,it,!1,null,null,null),at=ot.exports,st={name:"ReportOverviewUpsell",components:{ReportUpsellInline:at},data:function(){return{text_upsell_title:Object(c["a"])("Upgrade to MonsterInsights Pro to Unlock More Actionable Insights","google-analytics-for-wordpress"),text_upsell_content_1:Object(c["a"])("It's easy to double your traffic and sales when you know exactly how people find and use your website. MonsterInsights Pro shows you the stats that matter!","google-analytics-for-wordpress"),text_upsell_content_2:Object(c["a"])("Upgrade to MonsterInsights Pro and Save 50% OFF!","google-analytics-for-wordpress"),text_upsell_content_3:Object(c["d"])(Object(c["a"])("Use coupon code %1$sLITEUPGRADE%2$s","google-analytics-for-wordpress"),"<b>","</b>"),text_upsell_button:Object(c["a"])("Upgrade to MonsterInsights Pro","google-analytics-for-wordpress"),upgrade_link:this.$getUpgradeUrl("report","overview")}}},lt=st,ct=Object(T["a"])(lt,$,tt,!1,null,null,null),ut=ct.exports,dt=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("span")},ht=[],gt={name:"ReportOverviewDatePicker"},pt=gt,ft=Object(T["a"])(pt,dt,ht,!1,null,null,null),mt=ft.exports,vt=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"monsterinsights-report-row monsterinsights-mobile-upsell"},[i("div",{staticClass:"monsterinsights-notice monsterinsights-notice-success"},[i("div",{staticClass:"monsterinsights-notice-inner"},[i("span",{domProps:{innerHTML:t._s(t.text_upsell_title)}}),i("div",{staticClass:"monsterinsights-notice-button"},[i("a",{staticClass:"monsterinsights-button monsterinsights-button-green",attrs:{href:t.upgrade_link},domProps:{textContent:t._s(t.text_upsell_button)}})])])])])},bt=[],xt={name:"ReportOverviewUpsellMobile",data:function(){return{text_upsell_title:Object(c["d"])(Object(c["a"])("Upgrade to Pro and unlock addons and other great features. %1$sSave 50%% automatically!%2$s","google-analytics-for-wordpress"),'<span class="monsterinsights-green-text"><b>',"</b></span>"),text_upsell_button:Object(c["a"])("Upgrade Now","google-analytics-for-wordpress"),upgrade_link:this.$getUpgradeUrl("report","overview-mobile")}}},yt=xt,wt=Object(T["a"])(yt,vt,bt,!1,null,null,null),_t=wt.exports;function Ct(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,r)}return i}function At(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Ct(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Ct(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var kt={name:"ReportOverview",components:{ReportOverviewUpsellMobile:_t,ReportOverviewDatePicker:mt,ReportOverviewUpsell:ut,ReportListBox:Z,ReportOverviewPieChart:Q,ReportInfobox:B["a"],ReportOverviewLineChart:D},computed:At({},Object(a["b"])({overview:"$_reports/overview",date:"$_reports/date",license:"$_license/license",license_network:"$_license/license_network"}),{gaLinks:function(){return!!this.overview.galinks},infoboxRange:function(){return this.overview.infobox&&this.overview.infobox.range?this.overview.infobox.range:0},infoboxSessionsData:function(){return this.infoboxData("sessions")},infoboxPageviewsData:function(){return this.infoboxData("pageviews")},infoboxDurationData:function(){return this.infoboxData("duration")},infoboxBounceData:function(){return this.infoboxData("bounce",!0)},newVsReturningData:function(){return!!this.overview.newvsreturn&&{datasets:[{data:[this.overview.newvsreturn.new,this.overview.newvsreturn.returning],backgroundColor:["#2679c1","#57a9f1"]}],values:[this.overview.newvsreturn.new,this.overview.newvsreturn.returning],labels:[Object(c["a"])("New","google-analytics-for-wordpress"),Object(c["a"])("Returning","google-analytics-for-wordpress")]}},devicesData:function(){return!!this.overview.devices&&{datasets:[{data:[this.overview.devices.desktop,this.overview.devices.tablet,this.overview.devices.mobile],backgroundColor:["#2679c1","#57a9f1","#b1dafd"]}],values:[this.overview.devices.desktop,this.overview.devices.tablet,this.overview.devices.mobile],labels:[Object(c["a"])("Desktop","google-analytics-for-wordpress"),Object(c["a"])("Tablet","google-analytics-for-wordpress"),Object(c["a"])("Mobile","google-analytics-for-wordpress")]}},countriesData:function(){var t=[],e=0;return this.overview.countries&&this.overview.countries.forEach((function(i){e++,t.push({number:e+".",text:'<span class="monsterinsights-flag monsterinsights-flag-'+i.iso.toLowerCase()+'"></span> '+i.name,right:i.sessions})})),t},referralsData:function(){var t=[],e=0;return this.overview.referrals&&this.overview.referrals.forEach((function(i){e++,t.push({number:e+".",text:'<img src="https://www.google.com/s2/favicons?domain=http://'+i.url+'" />'+i.url,right:i.sessions})})),t},topPostsData:function(){var t=[],e=0;return this.overview.toppages&&this.overview.toppages.forEach((function(i){e++;var r=i.hostname?'<a href="'+i.hostname+i.url+'" target="_blank" rel="noreferrer noopener">'+i.title+"</a>":i.title;t.push({number:e+".",text:r,right:i.sessions})})),t}}),data:function(){return{text_overview:Object(c["a"])("Overview Report","google-analytics-for-wordpress"),text_sessions:Object(c["a"])("Sessions","google-analytics-for-wordpress"),text_sessions_tooltip:Object(c["d"])(Object(c["a"])("Unique %s Sessions","google-analytics-for-wordpress"),"<br />"),text_pageviews:Object(c["a"])("Pageviews","google-analytics-for-wordpress"),text_pageviews_tooltip:Object(c["d"])(Object(c["a"])("Unique %s Pageviews","google-analytics-for-wordpress"),"<br />"),text_duration:Object(c["a"])("Avg. Session Duration","google-analytics-for-wordpress"),text_bounce:Object(c["a"])("Bounce Rate","google-analytics-for-wordpress"),text_new_vs_returning:Object(c["a"])("New vs. Returning Visitors","google-analytics-for-wordpress"),text_device_breakdown:Object(c["a"])("Device Breakdown","google-analytics-for-wordpress"),text_countries:Object(c["a"])("Top 10 Countries","google-analytics-for-wordpress"),text_countries_button:Object(c["a"])("View Countries Report","google-analytics-for-wordpress"),text_referrals:Object(c["a"])("Top 10 Referrals","google-analytics-for-wordpress"),text_referral_button:Object(c["a"])("View All Referral Sources","google-analytics-for-wordpress"),text_top_posts:Object(c["a"])("Top Posts/Pages","google-analytics-for-wordpress"),text_top_posts_button:Object(c["a"])("View Full Posts/Pages Report","google-analytics-for-wordpress"),current_tab:"sessions",text_infobox_tooltip_sessions:Object(c["a"])("A session is the browsing session of a single user to your site.","google-analytics-for-wordpress"),text_infobox_tooltip_pageviews:Object(c["a"])("A pageview is defined as a view of a page on your site that is being tracked by the Analytics tracking code. Each refresh of a page is also a new pageview.","google-analytics-for-wordpress"),text_infobox_tooltip_average:Object(c["a"])("Total duration of all sessions (in seconds) / number of sessions.","google-analytics-for-wordpress"),text_infobox_tooltip_bounce:Object(c["a"])("Percentage of single-page visits (or web sessions). It is the number of visits in which a person leaves your website from the landing page without browsing any further.","google-analytics-for-wordpress"),text_pie_tooltip_newvsreturning:Object(c["a"])("This graph shows what percent of your user sessions come from new versus repeat visitors.","google-analytics-for-wordpress"),text_pie_tooltip_devices:Object(c["a"])("This graph shows what percent of your visitor sessions are done using a traditional computer or laptop, tablet or mobile device to view your site.","google-analytics-for-wordpress"),text_countries_tooltip:Object(c["a"])("This list shows the top countries your website visitors are from.","google-analytics-for-wordpress"),text_referral_tooltip:Object(c["a"])("This list shows the top websites that send your website traffic, known as referral traffic.","google-analytics-for-wordpress"),text_top_posts_tooltip:Object(c["a"])("This list shows the most viewed posts and pages on your website.","google-analytics-for-wordpress")}},methods:{infoboxData:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i={};return this.overview.infobox&&this.overview.infobox[t]&&(i.change=this.overview.infobox[t]["prev"],i.value=this.overview.infobox[t]["value"].toString(),0===this.overview.infobox[t]["prev"]?i.direction="":this.overview.infobox[t]["prev"]>0?(i.direction="up",i.color="green"):(i.direction="down",i.color="red")),e&&("down"===i.direction?i.color="green":i.color="red"),i},switchTab:function(t){this.current_tab=t},activeTabButtonClass:function(t){return t===this.current_tab?"monsterinsights-active-tab-button":""},sessionsData:function(){return this.overview.overviewgraph?{labels:this.overview.overviewgraph.labels,datasets:[{lineTension:0,borderColor:"#5fa6e7",backgroundColor:"rgba(\t109, 176, 233, 0.2)",fillOpacity:.2,fillColor:"rgba(\t109, 176, 233, 0.2)",pointRadius:4,pointBorderColor:"#3783c4",pointBackgroundColor:"#FFF",hoverRadius:1,pointHoverBackgroundColor:"#FFF",pointHoverBorderColor:"#3783c4",pointHoverBorderWidth:4,pointHoverRadius:6,labels:this.overview.overviewgraph.labels,data:this.overview.overviewgraph.sessions.datapoints,trend:this.overview.overviewgraph.sessions.trendpoints}]}:{}},pageviewsData:function(){return this.overview.overviewgraph?{labels:this.overview.overviewgraph.labels,datasets:[{lineTension:0,borderColor:"#5fa6e7",backgroundColor:"rgba(\t109, 176, 233, 0.2)",fillOpacity:.2,fillColor:"rgba(\t109, 176, 233, 0.2)",pointRadius:4,pointBorderColor:"#3783c4",pointBackgroundColor:"#FFF",hoverRadius:1,pointHoverBackgroundColor:"#FFF",pointHoverBorderColor:"#3783c4",pointHoverBorderWidth:4,pointHoverRadius:6,labels:this.overview.overviewgraph.labels,data:this.overview.overviewgraph.pageviews.datapoints,trend:this.overview.overviewgraph.pageviews.trendpoints}]}:{}},showChart:function(){var t=!0;return this.overview.overviewgraph&&0===this.overview.overviewgraph.count&&(t=!1),t}},mounted:function(){this.$store.dispatch("$_reports/getReportData","overview")}},Mt=kt,Ot=Object(T["a"])(Mt,h,g,!1,null,null,null),Pt=Ot.exports,St=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("main",{staticClass:"monsterinsights-report monsterinsights-report-publishers"},[i("div",{staticClass:"monsterinsights-report-top"},[i("h2",{domProps:{textContent:t._s(t.text_publishers)}})]),i("div",{staticClass:"monsterinsights-report-row"},[i("report-table-box",{attrs:{headers:t.fake_headers,title:t.text_publishers,rows:[]}})],1),i("report-upsell-overlay",{attrs:{report:"publisher",level:"plus"}})],1)},Rt=[],Tt=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:t.componentClass},[t.title?i("h3",{staticClass:"monsterinsights-report-title",domProps:{textContent:t._s(t.title)}}):t._e(),t.tooltip?i("settings-info-tooltip",{attrs:{content:t.tooltip}}):t._e(),i("div",{staticClass:"monsterinsights-table-box-list monsterinsights-table-box-table"},[i("table",[t.headers.length>0?i("thead",[i("tr",t._l(t.headers,(function(e,r){return i("th",{key:r,domProps:{textContent:t._s(e)}})})),0)]):t._e(),t.rows.length>0?i("tbody",t._l(t.tableRows,(function(e,r){return i("tr",{key:r,class:t.rowClass(r),on:{click:function(e){return t.toggleMobileTables(r)}}},t._l(e,(function(e,n){return i("td",{key:n,class:t.cellClass(n)},[t.showMobileRow(r,n)?i("div",{staticClass:"monsterinsights-table-mobile-heading",domProps:{textContent:t._s(t.headers[n])}}):t._e(),i("div",{staticClass:"monsterinsights-table-item-content",domProps:{innerHTML:t._s(t.cellText(e,n,r))}})])})),0)})),0):i("tbody",t._l(t.emptyTable,(function(e,r){return i("tr",{key:r,staticClass:"monsterinsights-table-list-item monsterinsights-table-list-item-empty"},[i("td",{attrs:{colspan:t.headers.length},domProps:{innerHTML:t._s(e[0])}})])})),0)])]),t.hasButtonSlot()||t.paginate?i("div",{staticClass:"monsterinsights-table-box-footer"},[t._t("button"),t.paginate?i("div",{staticClass:"monsterinsights-table-box-pagination"},[i("span",{domProps:{textContent:t._s(t.text_show)}}),i("div",{staticClass:"monsterinsights-buttons-toggle"},[i("button",{class:t.getButtonClass(10),on:{click:function(e){t.limit=10}}},[t._v(" 10 ")]),t.rows.length>10?i("button",{class:t.getButtonClass(25),on:{click:function(e){t.limit=25}}},[t._v(" 25 ")]):t._e(),t.rows.length>25?i("button",{class:t.getButtonClass(50),on:{click:function(e){t.limit=50}}},[t._v(" 50 ")]):t._e()])]):t._e()],2):t._e()],1)},It=[];i("a9e3"),i("4795");function Dt(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,r)}return i}function Bt(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Dt(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Dt(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var jt,Ft,Lt,Et,Vt={name:"ReportTableBox",components:{SettingsInfoTooltip:W["a"]},props:{title:String,tooltip:String,rows:Array,headers:Array,button:Object,emptytext:String,mobileWidth:{default:783,type:Number}},data:function(){return{paginate:!1,limit:10,text_show:Object(c["a"])("Show","google-analytics-for-wordpress"),activeRow:"",isMobile:!1,resizing:!1}},computed:Bt({},Object(a["b"])({mobileTableExpanded:"$_reports/mobileTableExpanded"}),{mobileHeaders:function(){var t=[];return this.headers.forEach((function(e,i){i>0&&t.push(e)})),t},emptyTable:function(){var t=[[this.emptytext]];while(t.length<10)t.push(["&nbsp;"]);return t},componentClass:function(){var t="monsterinsights-table-box";return this.isMobile&&(t+=" monsterinsights-table-box-mobile"),t},tableRows:function(){var t=this.rows;if(t.length<10){var e=[],i=0;while(i<this.headers.length)e.push(""),i++;while(t.length<10)t.push(e)}return t=t.slice(0,this.limit),t}}),methods:{hasButtonSlot:function(){return this.rows.length>10&&(this.paginate=!0),this.$slots["button"]},getButtonClass:function(t){var e="monsterinsights-button";return t===this.limit&&(e+=" monsterinsights-selected-interval"),e},cellText:function(t,e,i){if(""===t)return"&nbsp;";if(0===e){var r=i+1;return'<span class="monsterinsights-reports-list-count">'+r+'.</span><span class="monsterinsights-reports-list-title">'+t+"</span>"}return t},rowClass:function(t){var e="monsterinsights-table-list-item";return(this.mobileTableExpanded||this.activeRow===t)&&window.innerWidth<this.mobileWidth&&(e+=" monsterinsights-table-list-item-active"),""===this.tableRows[t][0]&&(e+=" monsterinsights-table-list-item-empty"),e},showMobileRow:function(t,e){return window.innerWidth<this.mobileWidth&&e>0&&(this.mobileTableExpanded||t===this.activeRow)},handleResize:function(){this.resizing||(this.resizing=!0,window.requestAnimationFrame?window.requestAnimationFrame(this.resizeCallback):setTimeout(this.resizeCallback,66))},resizeCallback:function(){this.isMobile=window.innerWidth<this.mobileWidth,this.resizing=!1},cellClass:function(t){return t++,"monsterinsights-table-cell-"+t},toggleMobileTables:function(t){if(this.mobileTableExpanded)return!1;this.activeRow=this.activeRow===t?"":t}},mounted:function(){window.addEventListener("resize",this.handleResize),this.handleResize()},beforeDestroy:function(){window.removeEventListener("resize",this.handleResize)}},Nt=Vt,zt=Object(T["a"])(Nt,Tt,It,!1,null,null,null),Wt=zt.exports,Ht=i("48c7"),Ut={name:"ReportSearchConsole",components:{ReportUpsellOverlay:Ht["a"],ReportTableBox:Wt},mounted:function(){this.$store.commit("$_reports/ENABLE_BLUR")},data:function(){return{text_publishers:Object(c["a"])("Publishers","google-analytics-for-wordpress"),fake_headers:["Page Titles","Visits","Avg. Duration","Bounce Rate"]}}},Yt=Ut,Qt=Object(T["a"])(Yt,St,Rt,!1,null,null,null),Xt=Qt.exports,qt=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("main",{staticClass:"monsterinsights-report monsterinsights-report-ecommerce"},[i("div",{staticClass:"monsterinsights-report-top"},[i("h2",{domProps:{textContent:t._s(t.text_ecommerce)}})]),i("div",{staticClass:"monsterinsights-report-row"},[i("report-table-box",{attrs:{headers:t.fake_headers,title:t.text_upsell_title,rows:[]}})],1),i("report-upsell-overlay",{attrs:{report:"ecommerce"}})],1)},Jt=[],Gt={name:"ReportEcommerce",components:{ReportUpsellOverlay:Ht["a"],ReportTableBox:Wt},data:function(){return{text_upsell_title:Object(c["a"])("eCommerce","google-analytics-for-wordpress"),text_ecommerce:Object(c["a"])("eCommerce Report","google-analytics-for-wordpress"),fake_headers:["Conversions","Percent","Date"]}},mounted:function(){this.$store.commit("$_reports/ENABLE_BLUR")}},Kt=Gt,Zt=Object(T["a"])(Kt,qt,Jt,!1,null,null,null),$t=Zt.exports,te=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("main",{staticClass:"monsterinsights-report monsterinsights-report-search-console"},[i("div",{staticClass:"monsterinsights-report-top"},[i("h2",{domProps:{textContent:t._s(t.text_search_console)}})]),i("div",{staticClass:"monsterinsights-report-row"},[i("report-table-box",{attrs:{headers:t.fake_headers,title:t.text_upsell,rows:[]}})],1),i("report-upsell-overlay",{attrs:{report:"queries"}})],1)},ee=[],ie={name:"ReportSearchConsole",components:{ReportUpsellOverlay:Ht["a"],ReportTableBox:Wt},mounted:function(){this.$store.commit("$_reports/ENABLE_BLUR")},data:function(){return{text_upsell:"",text_search_console:Object(c["a"])("Search Console Report","google-analytics-for-wordpress"),fake_headers:["Terms","Clicks","Impressions","CTR","Avg. Position"]}}},re=ie,ne=Object(T["a"])(re,te,ee,!1,null,null,null),oe=ne.exports,ae=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("main",{staticClass:"monsterinsights-report monsterinsights-report-dimensions"},[i("div",{staticClass:"monsterinsights-report-top"},[i("h2",{domProps:{textContent:t._s(t.text_dimensions)}})]),i("div",{staticClass:"monsterinsights-report-row"},[i("report-table-box",{attrs:{headers:t.fake_headers,title:t.text_dimensions,rows:[]}})],1),i("report-upsell-overlay",{attrs:{report:"dimensions"}})],1)},se=[],le={name:"ReportDimensions",components:{ReportUpsellOverlay:Ht["a"],ReportTableBox:Wt},data:function(){return{text_dimensions_upsell:Object(c["a"])("Dimensions","google-analytics-for-wordpress"),text_dimensions:Object(c["a"])("Dimensions Report","google-analytics-for-wordpress"),fake_headers:["Author","Percent"]}},mounted:function(){this.$store.commit("$_reports/ENABLE_BLUR")}},ce=le,ue=Object(T["a"])(ce,ae,se,!1,null,null,null),de=ue.exports,he=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("main",{staticClass:"monsterinsights-report monsterinsights-report-forms"},[i("div",{staticClass:"monsterinsights-report-top"},[i("h2",{domProps:{textContent:t._s(t.text_forms)}})]),i("div",{staticClass:"monsterinsights-report-row"},[i("report-table-box",{attrs:{headers:t.fake_headers,title:t.text_forms_upsell,rows:[]}})],1),i("report-upsell-overlay",{attrs:{report:"forms"}})],1)},ge=[],pe={name:"ReportSearchConsole",components:{ReportUpsellOverlay:Ht["a"],ReportTableBox:Wt},mounted:function(){this.$store.commit("$_reports/ENABLE_BLUR")},data:function(){return{text_forms:Object(c["a"])("Forms Report","google-analytics-for-wordpress"),text_forms_upsell:"",fake_headers:["Form Name or ID","Impressions","Conversions","Conversion Rate"]}}},fe=pe,me=Object(T["a"])(fe,he,ge,!1,null,null,null),ve=me.exports,be=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("main",{staticClass:"monsterinsights-report monsterinsights-report-realtime"},[i("div",{staticClass:"monsterinsights-report-top"},[i("h2",{domProps:{textContent:t._s(t.text_realtime)}})]),i("div",{staticClass:"monsterinsights-report-row monsterinsights-report-flex monsterinsights-report-2-columns"},[i("div",{staticClass:"monsterinsights-report-box"},[i("h3",{domProps:{textContent:t._s(t.text_right_now)}}),i("settings-info-tooltip",{attrs:{content:t.text_right_now_tooltip}}),i("div",{staticClass:"monsterinsights-realtime-box-content"},[[i("div",{staticClass:"monsterinsights-realtime-large",domProps:{textContent:t._s(0)}}),i("div",{staticClass:"monsterinsights-realtime-active",domProps:{textContent:t._s(t.text_active)}})],i("p",{domProps:{textContent:t._s(t.text_active_explainer)}}),i("p",[i("span",{domProps:{textContent:t._s(t.text_refresh_explainer)}}),i("span",{domProps:{textContent:t._s(t.sprintf(t.text_refresh_ago,t.seconds))}}),i("span",{domProps:{textContent:t._s(t.text_refresh_explainer_2)}}),i("span",{domProps:{textContent:t._s(t.text_refresh_explainer_3)}})])],2)],1),i("div",{staticClass:"monsterinsights-report-box"},[i("h3",{domProps:{textContent:t._s(t.text_graph_title)}}),i("settings-info-tooltip",{attrs:{content:t.text_pageviews_tooltip}}),i("div",{staticClass:"monsterinsights-realtime-box-content"})],1)]),i("div",{staticClass:"monsterinsights-report-row"},[i("report-table-box",{attrs:{title:t.text_top_pages,headers:t.top_pages_headers,rows:[],emptytext:t.text_top_pages_empty,tooltip:t.text_top_pages_tooltip}})],1),i("report-upsell-overlay",{attrs:{report:"realtime"}})],1)},xe=[],ye={name:"ReportRealTime",components:{ReportUpsellOverlay:Ht["a"],SettingsInfoTooltip:W["a"],ReportTableBox:Wt},data:function(){return{text_realtime:Object(c["a"])("Real-Time Report","google-analytics-for-wordpress"),text_right_now:Object(c["a"])("Right Now","google-analytics-for-wordpress"),text_active:Object(c["a"])("Active users on site","google-analytics-for-wordpress"),text_graph_not_available:Object(c["a"])("The real-time graph of visitors over time is not currently available for this site. Please try again later.","google-analytics-for-wordpress"),text_active_explainer:Object(c["a"])("Important: this only includes users who are tracked in real-time. Not all users are tracked in real-time including (but not limited to) logged-in site administrators, certain mobile users, and users who match a Google Analytics filter.","google-analytics-for-wordpress"),text_refresh_explainer:Object(c["a"])("The real-time report automatically updates approximately every 60 seconds.","google-analytics-for-wordpress"),text_refresh_ago:Object(c["a"])("The real-time report was last updated %s seconds ago.","google-analytics-for-wordpress"),text_refresh_explainer_2:Object(c["a"])("The latest data will be automatically shown on this page when it becomes available.","google-analytics-for-wordpress"),text_refresh_explainer_3:Object(c["a"])("There is no need to refresh the browser (doing so won't have any effect).","google-analytics-for-wordpress"),text_graph_title:Object(c["a"])("Pageviews Per Minute","google-analytics-for-wordpress"),text_chart_tooltip:Object(c["d"])(Object(c["a"])("Unique %s Pageviews","google-analytics-for-wordpress"),"<br />"),text_top_pages:Object(c["a"])("Top Pages","google-analytics-for-wordpress"),text_top_pages_empty:Object(c["a"])("No pageviews currently.","google-analytics-for-wordpress"),top_pages_headers:[Object(c["a"])("Page","google-analytics-for-wordpress"),Object(c["a"])("Pageview Count","google-analytics-for-wordpress"),Object(c["a"])("Percent of Total","google-analytics-for-wordpress")],text_right_now_tooltip:Object(c["a"])("This is the number of active users currently on your site.","google-analytics-for-wordpress"),text_pageviews_tooltip:Object(c["a"])("This graph shows the number of pageviews for each of the last 30 minutes.","google-analytics-for-wordpress"),text_top_pages_tooltip:Object(c["a"])("This list shows the top pages users are currently viewing on your site.","google-analytics-for-wordpress"),text_top_pages_button:Object(c["a"])("View All Real-Time Pageviews","google-analytics-for-wordpress"),text_referrals_button:Object(c["a"])("View All Real-Time Traffic Sources","google-analytics-for-wordpress"),text_countries_button:Object(c["a"])("View All Real-Time Traffic by Country","google-analytics-for-wordpress"),text_city_button:Object(c["a"])("View All Real-Time Traffic by City","google-analytics-for-wordpress"),seconds:12}},mounted:function(){this.$store.commit("$_reports/ENABLE_BLUR")},methods:{sprintf:c["d"]}},we=ye,_e=Object(T["a"])(we,be,xe,!1,null,null,null),Ce=_e.exports,Ae=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("main",{class:["monsterinsights-report-year-in-review","monsterinsights-report-row",t.yearInReview.is_enabled?"":"monsterinsights-yir-report-calculating-row"]},[t.yearInReview.is_enabled?t._e():r("div",{staticClass:"monsterinsights-yir-top-header monsterinsights-yir-report-calculating"},[r("h1",{staticClass:"monsterinsights-yir-title",domProps:{textContent:t._s(t.text_calculating)}}),r("p",{staticClass:"monsterinsights-yir-summary",domProps:{textContent:t._s(t.text_year_in_review_still_calculating)}}),r("router-link",{staticClass:"monsterinsights-navigation-tab-link",attrs:{to:"/"},domProps:{textContent:t._s(t.text_back_to_overview_report)}})],1),t.yearInReview.is_enabled?r("div",[r("header",{staticClass:"monsterinsights-yir-top-header"},[r("span",{staticClass:"monsterinsights-yir-subtitle"},[r("svg",{attrs:{width:"75",height:"76",viewBox:"0 0 75 76",fill:"none",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[r("path",{attrs:{d:"M0 75.25H75V0.249999H0V75.25Z",fill:"url(#pattern0)"}}),r("defs",[r("pattern",{attrs:{id:"pattern0",patternContentUnits:"objectBoundingBox",width:"1",height:"1"}},[r("use",{attrs:{"xlink:href":"#image0",transform:"scale(0.015625)"}})]),r("image",{attrs:{id:"image0",width:"64",height:"64","xlink:href":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAgrklEQVR4AczOc2AriRoF8DOZJBNOmhRpG9W6tVfXtpbFtW3btm3btm2nVurwRp339r3VXXv39/f3nXPY+B7Pj3by2NJAacnd8RUALPgdpjF5jZvJgprmGMrO5RnKjwEw4l8iS+h4T+Kk3QAcapt3jk0U4lsJdU+0kPgmjCGEPGn2ka49AZzAb9TH+EDdSx13xVPqraxy2lFi0l97mpkxCcAx/MNOSQx1B/WcsUOYkScav3JifQAXiOGiUCyWBLC8YkdOloUlj2BYVujubhhRcmv5KgCl+I0mSAU1B3rHngNJASQDUBQcTph2Pr7aB8A6fKWvS6KMpajpC+AO/gRTnk6ueao48yWAfPyERvVbTekwdMFIZGXg1frll8aeXleHIAiK0FRfPk1Tp/0ws7GgIuvExDYAzuJ3al58UdPFrdr2KIFbEkWyCZAEIBTBDMbU++rGJgAuHFJ3dveu3nYzT+EX/+LA6hQAx/E7tXw8g9NGFdG/TmLjCdeynuwBkIafsOz15YT1I1adFXmpRc6L552T10ytT7j6p1UParnuAiljqp5tSUkDsBV/UL+ch1KriBdX19VnTE2JojpYBCB1Q7buzZnUQnvvgtZzlmkCvWtySKCySF/8aEO3FACn8BuF5Rwi+qoSJ6eE1RoJV1eApjH0yIp0AJvwIw5p7xBzmvXY27hxSkvk5uPcrvUriKAmRxfSSY36mHTP7gOIwR+07PmC8d4ELQPQt8+NLYLuqug1zVw0n5EcChDxrRN0xmm7aw1PVQZ4B3AcAI8C7m6eNRrAFPwO7bW7hoyOaDITYhrwlmPXtSNzAAzGT8jWF3cf1KTzMoBE/uVLl9lVLFJisQBOgqLKHxz2ZwvVWgAMfqP40+25PT9o3fOjT7uPY9mdOL9zjcRg1veYoL3Skw6iImqLFdVA8qlmnJzIA3sGp1naL9svlUvkWaePTyx8cHwefqe55fcWJkvVTepEfFhj5/X9E3fdPTcbP6OhX2QhcnMAIQ0XkuIRnrGjU6XJEzeRYgIMy5xZZdW/dhhLtIyzKoPFEFl2Q+k9AM/xCzrfHB01oOPQ+3wPTzDGShDFpei9dsJnAHaY2cync32rb3cRu8FIMQUdTq4KvqL+KM49uEUwgBX4g0LuTQmv5+YfCmAXfonROKpzUO3JEEpQlPHmGiFw/0DkETd0Ox3cvAnBA5wsgAHAMAyYKifAOHSlN9bPAjAbACYkjXWJayhdnvu64j6A6fjK/qlCXpI8YUjHWm0m8tgkjp/av2HszUODAJS6S4SuY/zeu5NMqzRwl2PZjb2ffDX2T2esMAmiWS7JBptV6Q5uno6xvjATTImMxWUeQR/3uWfYDo3cTwmhCEufnJpILPH+EKM4HjK3aulj+fLEVIIndbWDBZvDCoulAiSPBseY+RhARDf35qrUni4rvEPEjRwWY9XAbtp2ADbjOxrmNuwptIsi1t0/0heAHV9J8gpa3t0jvBuh8MWJ3CcLAPTHn2zS7f3qmcrEdfEewUlOmZuD0ZscDl2xtcpkMRE2h0PM4QWyaCkbLiJkGgoutnq2tzURzRLhayWxfcM4YkUEyZVFWBletIGUN3H1DoLh7twxACav6XWkV9NOnosBPQAGb/MNFQP7ZMb48Hk1FDTnY7udKTSVMkfflDivACjCd72WfzJOlbBDogzEY4fxOIBG+JOtuHuwz7SA6gvLuNSDs9Tbz6R+AW5cvSUy0Mlt6GFyhrMNJq7OUJaRqcs7/Lwgax0AHbFMEInvGx3WXs73il9EK4KaMAXnF2jPjBoHwJ4YXK4cPSZoRf0WdGMwRqyflzXh3lXj8/RYepsuR48nZoAkSfhR5COdkzn1rMK2BIAWACrPeCSN1cRe1ChCuHl88vr2I9tqArDiT5TvwR85SJM4BVaHduKjsxEAzPhKi86dhcLyCv7zB/f0AGz4CrEiqi6+NoqXIhN4RAzgewd14hLFelvW8SEADuE7JFkj5KtXxu2+cDHzGoChRLb5VPMofl3Ly2JUMsAzOw9xFA0VReKI0ZD9xmzbmFVom2W7L+UPl8Q/DlWFuuVJ+A83Ht1QHUAlACwJ7ccRqIJHFWU9vATgDH7Crjf7Arhgc0oclvyvf7/rsKiyXlef+JNhlASHtY8WAeiLX0BsUn2ILw1Xd20sCWk8i8UnfN9mHZlrK7q3CEARfkRrv11iAIYrtwrD5nZSPgjSCNjWrGLYDGbkERT4dgFoFhuvSRvMJINym+1a/mNyV7PXMf3ivMI1JXzyxaGbZz8EUDJIEiP3rtF3Fh0dnqbPKXjxcsewhv/pxi6A47qy/I9/733Qr1+DwGKwzMykSRx0yBRmnkx4mJkxDDM7szsQZmYzM0Nky7ZkErPU3WruB39tZFdcKceD+1/4VP3qtFjnPLp9gaOc4NzOhfLGwJDvX+Ub/kWZsbVeJ9182I29vSXU+CAQ4fiA1LbATYMmL52eU1op4vHUewc+vAZ4l1MQPw+M4vcVF5828JxfLLNke7h53cMX/63r87nZT/zgzrklvxw6agBKpJuummYsqRJKGrRZkFLB0AVen0u8WzBowYj0ZO94PRHQD76zY+t0IPTt07/yh+JzrrjXzoAnCB1bVr918JV7rgEsjvm63x3+s4Gnb/eZeQEiCd7vqX0qMaJIHxJxBq2s2vFlYAfHvOftvvALwysXqbYlUu3de5a01J8JhPgU6uFkFNfqzXcUy2zd+fZPpX/o39R8ft2XsydMKrhemAZdepCSMp3seJxEW4Qu1SbtShT5nxEIIGBKVNXRyThYOTlqt7/XBujd9+ryAePn3K4WenU9mgl7Wne/5yYPuJxgWNnpJZ7iIj9FZaQ6u1O1jZseZmfX3vphRT85d9KMF9tqDz92qKf1z4B9VTq45IOmAz+dkFPw03LDHKQqSsGpBiDuMCp4RqRzK8564CXHP6QskVGOeP1lEYTATnSoUvVoIG3h2N1WuHV5qnXDW0B6hv6jM++aXb66aEypEHkD8OuCkkw7yZoj1HXZNFo6jhR4VIHXB0F0/C+VMzw6Fuvs4tTTytP/vqr68A+A+NrYfd8pP+/W2yNbF33lZG+bf9Px+gXzJ5+3RI4cS6K9Lbz5xefPBKoAVpU5l8zPHvF9raGzu7Gp7okjsZ51bZolp08cv7LC8Q3/ye4lFUAjn0LtyMSYC91r9792Xe74G64wpRiXbN5oaJo3FcgbFheum7HSCY+rekd4B0/4HU76uu7t37qhZJp+Uc4Ar5ABE8dx6QrZKN4gRQML8CXa8fS6WFIiBQS9Kvmmj7SQ2GkHRVc886Znf7WiNGfsoo2RL1zl/8H9CxfFXvi0f1S6wsX0QVEJjqrKqCFUjpnWqbz7uqzdVDly+E1DhhbfNTqWvlfzqJm0x2XBjs1PtdrJdk5BVOLnb9Uw6+Ebjdxzn/ce+NEDn69ceMH0mcMmayWFpNKQSdhgOQzMtvDF29i7r5uIq+DVJcOG+PG5Jt2/CVARHYkzbxjxM5fjVQ9xsDF+6P2tiS+dasOkeNOks28877rl+jkXKpl4LPP2T75+HrCWTwidPT6YZ2aNrT6yLxCMpVrXfLhtD+BwCuKq4ED+VmvGfmlubvnlH4wK/6rtrtMWBIrGjzRdf4BUzMJK2TiWhYZgRJFNrLWZfYej5A8wGTUqi3SLoPNXASqcUaQvGU7o9FUEPQ34hEV7VzT+1vqOnwEPcBJH3x8246cX3bbKPP8SL5rGiz/4/JXAm/wLqJcXT+BvcVtHWBk2+MyvBu04IwraC4N9jQnTSybj4lguruMghEs6neFIk2B4aQFD0w66YeA1VJLRNCIjELqCo0sSmTSW7aBkGRQPMcxbg577P9gQGrxwW/KbQIwTVKDE7N5IkmjES0ExJfmlJfyLqH2/jL9Fjm/wVUX54y5wqt+zho5KumZBjuZIBTvp4NhO/wBcB02FZMKmNaRTNrSQTCSOE8/gJlykLRCahqMJYqkkHhWSjorp1fEN1bkmqN5TGAyV/fvCyF1AC8e0pOKRWLg7HujpziGvAC0YGMy/iNr3y/hr5u47OKzyst8/kmrd71hHNq5QhpWfoeXpWjJpf3z0XQeJi8BFVQShkIXX1BiQ5SXRG8aK6yiWApqGo9poagafqaNKBdsBRfUg8nI4+1xlvt+nvPXm2t7PAdUAu3al21tCna1FXd2lFITx+byF/IuInVf/iFOZuXproPKaR9/KUgrO27vqoedHdBzU588/+5rKWw+S6fmQVK/AsW2EY6PQF4AMCFwMr0vBAJWs3CSti9IoDxdRNnIG3VcaWBPeI8tU0AyJ4pUgBCCR0gE3yeHtHTWPvtJ+G7ABYOCeSTffMPWM2+OFOe2bNiz+I7CcfwHx7MRZfJq76lP6lHk/enLQwHNv3LXuiQWJvS/99JKBk98aMvHi0mEXtFJY8Dqx1m5AIF0Hhf6zQLqgKA6KBFVCQYGKTorYH3Ry6mcTu9FCn76IYMCDLQS4AoRASAUUBakBSpL6za3Nr7zfcTuwCKBoZ6UC2PyNvl/2BcXOxL2aP9vIpJJeoWpBb15ZIBPv9cVa9piukd0sci98hU9jH15ojJly2X3JSG9R7baf3zvV47lw9sR7XvaWTEP1w7hZ76Kl1mDFHBQpUOirwkVV6B+EcAHQJeSXqBhugtjCqbjlJoHKLXg8Oq4rAAlSIpRjZ4IUCB2EmiJyoLtn0+quO0511//s0h8LxZuVoxhmieLzj9WCOWM0f2CE5gsWSUUGVVX1KYpqqor0q4rilarmUVUh0rFErZh1X5y/1YTFs9YPLf3u6XawhHiHRuGIOkbPfB23+wDYKqqkL/2NS9E/BCFBAroU5BbKj2q4ySFroII3S8exAUVB9AVAAEhAuAjZFy1D/Eiod92C2ttP3EW6c8czeUZW/kQtJ2+W5vdP10x/qcdrluiGke3RQVNAlaD9ZwBdBVUAgBSg9Z+dverEMi9/i5rHxORxledOSztZpNMKkjTNu4sJ5s1k0IgO7K4OpNARwkVAf4RAClAEOAJCXS65OYKc4jTxkIM0VDymBxcBtgAhcAXgOOCAsGxQk5jD3MC5F+c/8ZsXxhtP1X8plTNo+HWl07JG66Z/mMerqV4NdAGGAh4FdAW0Y69VBcSxpl0HXBuE6P9836q6QU21h/lbFGR75gwek9SPNPYSPjoAQRzXkhxaPYas3HYKcpdhh2IINIQAcfwsEOL4WY0LhCOQEwzgN5NE28K4hbm4rkEi7BDIFmgm4IJ04yDjJBN+djedxtLmuYGqkpHPDi4sxzBABzwSTAl+FQwdFMC1XexUOmFl0tFwIt4ZjYSb0+lMUzjU0g5qh+vYvbZtxTN9aayvqVEXvvUkf4159JtZt80pvCF/sEVc2Ux7bTlORqJqadIhjQOLP0PgygiB4Dqs3gxSVU9ovD9CCmRfAHpjNlkBk6Bfoaexi6idjVD9KIpNjj8JJAn35rCy7hKW1l9Ebc8YQikVnw4eIBMHzYCgCXoqnU709LS19jRVhTobNsWT8d2O47bFE9Fuy1G64rHunlNt86uuZfHXlOVp44cMyhpjq0FyC3eSnT+G9sMj8agpdCNNpCFA9eJzmXJJAiOwFTtmIVStv/HjzR9P/+lBLGGj+EwG5KvYrSES8QxatkkkGmDZoUv54OA8DvYMJ22BR4LXgUQYLBeKvF1kGvZV7Wrp/KOuyN2hnkP1QD0nYUqVU1E/+Q3TG54+496SiV/e8OH2XwO7APae5bm8tDxHZGwvUvYwcMwCIk1FWHEDXU2iGGk6qvOo1i9k0sUZPHIHdjyDkBpCiI8ij0fKvggEgkTSRga8FA3WibU1UFuXyx/qHmRX50gUF0wlg8hoRFIQEAkm+Ku4aOxipozaQ9vW3cnPLgs/CST4J4iRA4s4rqjH9f3svBvfnSr1Wfv3VzU/Wbf/eyvMI+8/fHP59hHnjxzUYalYsQSq7KVp79nUrr8KVVioqoWSkThJDyXTWpk4dyGGswM76iA1neNHX+mLFLK/yr6qSlRVYPo9yKBFS12CF9bN5b222wmRh0hDidbIafmruah8MWOLqvGVhCHXhF5Y/GbTott/13U1EOUfpEbjrRw3b9ic6yvzymY1H6wiaJolmqGdOaVAaz2rIq/8sKJhxTK4FrhSZeDoVaR6CmjYfT4mvRgyQ9IQNG4tR7qXMPlSDSN7G1Y0gxSej4cgjjf/cVzbAcukeKLJN8teYfii3Txd9XkmlzRwy9jnGZR9CJQMCBMnngOKhnRcLppZNvsrR8VDwD38g9SvXJzHcQO20VHfdPioFzmoOhLqXh6rv+/rQ/xf14uDSq/l4mZswMa1VaSSZsSMd3B7c0kcGIPw2ghV4jHTNO8oQdI3hMs9mDlbsHpT/UMQsr95RfQffU2iaQqyr+I6kPDAsPFcemMnY5d/hUCqi8JiE+wAVsRFOA74QQgHN2kRC7tcc3be3b96uWUD8Cz/AHHn7CxONHT/qGGV2aWPvNNUs3GjXv2n528dvk89c0h+XcKBeArhWKjHVnymN4oeyaZ60W3UNU1C9SVRJeAqWEmT4nHdTLlqGVnGBqxQDKkYqKo81ryCpit9VUJfxaP2RYGgDr4gZDK0ra8hdKiRQp9BttfAUcH1SoRlk45bhBM2PlNytDnefNWv688CDv3994AyjU8zsSLnuh/fMeSlRFEu8VAaN5NGwUbFwVAcdOEQNCKEesrZuuRewi0jMMw4igJCqFgJL3nDoky7ajX5A1aT6elBKh40j4amS1RNhb6K0d/8R9WrgkcHcoA8uj6sp2XrGrL0NEVFPjRhY8Vt4imXSNomkrCpMBVeXxd+BbiOY0orsy7ctTcUATZxCuLBbxXxadobBy+66bbARdGYJBNLIZwMCg4BJYOp2GRcBSFAM+NEuwdStfhuQq0j8ZhxFBWkULCTXoLFGaZetZnyYctxws0oaKiGAbry8fLNq/ZFA00DoQEKkAVMJ9HWw6FV/4Hb3UZ5rkqWLrAzLj0xi1DCJkdoxBJK+suvNc8679wBvfMvK/nGwEn5N9XVtuz94k07K0/1pBCzJymcTM2eqaO/+aXPbD3zsgZfT3MIx3KQjoVX2hTqCTJI4o6OlKBIMMwosZ5y9iy7m67G8Ri+OKoKUio4aQMjSzDxsmqGVy5DJGogDXi9fVE/jqYDKqAdqwpgAgUkj25h/wcrySQsAqagOMsly3TBAScq6E5pvLQz+er4+WWBc+ZVzAEXyPBvv9r+w2eebPn1py2G1M6IzcmUZZfM8ugzfSlnDbhtCEeiCBe/aiH7quUofRXEsVjpAFl5zUyb/wf2rLyDtsOVqEoSRXHRgzY4Bnvem0EqVsLI2SvQ1W2QToChHz/yxxs/IRZYDdC7E086QfHAfBqPhjjck6K226E8x6HEdAg6Lj7NJZnIFL30UsszZ88pmiOkBgQ457yKmWuXtupAipNQh5QLPmnzutHe8ycOvzndO4y2hnZy/Hux0gk0KT5q3nZUPC6guCA+XuHZaT++7E6mzfsPDqyL0VB9AS4Oqm71xUWRDs0bR+BEixk2fwi+0rXgtoF0P9G4BOKQDkM8ClIiBhgEB3jJ1PeSdiRpS1DVaLPbAkNxcV2HbYeTG7cd6H1+zaLOa6eeVjphz6a2J9cs7/73A02kOea2ofne0hLfvBVVTduAo+LeaTqftPno8KmXzvzqxkD2aZrmb2HiBa+gx3ei2AoB1SVfWCSFQlxIpCIQfel/vEmkkBjeFIrQOLz7cg7vvAqEH18whcejoWs6OgGyClyKzt5HYNw6hLIXSAEGIMGJQzoCwgYcaI/RXBWitqaXzlCMRNrCsl1cIJ1x6O612w41JZ9esTP6SyB6xpS8ijNnFHqB/Rzz5rOH9asnZ884c3LpD4ZPKp69ZOW+54GbxeJvjOCTnt1i/Pj00Y/8LB7PIdaZZuQZexk15Q2cnhbypUpQ2kRdBVtKbK1/I0ORoi8S9aPXCh6vhcfM0Hb0HGq3fJZ0dDD+rDQ+n4JpeNClwKNBYGQE35RdiJyNwCFwYmDboCkQTxI7EKamCg626sR6u3DTzTiOTdqCSMzubu5Mv9PYnnkE2MMpeCKekvtvGrWhfHRhBa7AtZPc98TGS8Sv5+Vwolf39WTfdNFZG4Lq/aM7miV2tH/3dsrl6ykvXYg3FMGLgnQFMY+KrR5vuj+q0r/AUTQVw3BRg0ni4VEc2XY7yZYZ+EwwA+DxgH78fXwQGHwUOXQ5wtwG9OA29dCwtYvqwwFaMwVk0lFEtBYnEyGWJNIZtt6vbUg+Amznb7B0S0r97rwh933nljHfQFWxHDX6l9d3fkf8+y0jOdGyw0fPvvdz01c01HxV1u+uQJcRnKhOVkGaGdcuo8xcidkVJeHx9kU93vTHVe2ruoLeF01XEV4JWWlcJYvu/VeQ2D8XJeXDCIDXC5oEJwnYoA5IkqhYT9R6m+bdazjaECac9mFZGZxUnHgimWhoS33Q2sMjwEb+TodqZfEzX5y2Ss8OdK7b2Pit93c0bhTXTijkRAPHycdvvm3Il4/um8Tuhdej2A66sLBjJgVDejn3ygVk6evpidtI3UCVAkWRfVVB1U5o3qMijj/fTQ2CDmgOmc4JpHZdjtI+FsUGoYFmgJ3OcKimnk079lHXXotadAh/SROCNpKprnQo1rG4sT39MLCaf0K+W1pR4NO6gV4A8cClYznu7f0Hiu69ZfTWcVNLyiLdMWrWXEP7vtPweuJIV+LGDcpGhph47RL8xibsSApVNY6d9spH0T3HmjcU8GofD8CjgRRAClwD52glzsELEZFyutpibNu9g5179tHWFiaVAhQX2xOxk27P8oRofAxYyN/BUpb5z6zQCoDDp14JnvBeYFvSnfeFuye/r+pe3HQHmd489i6+h1jHQLxGHImClTApGB1h+tUryA2sww7HUFQDzaOd0Lx6vPH+eFQQEhD0y/QnY9KzvITFL/vYuStNOKQhFBdHjdKTbl/Z0HP4t8JW3gNsgNaZ93w21FXtAs/wV9yZ+9j1372u+MHqvZ3P7antfcYr7RrA4RPEM5f5AHh4e1xcMbv8uYsvHXNjNJxCWin8Zi/hprFU9Q3BTmTh8SaRQsVOmQwYlOgbwnqKy1bjhDtRFQPN9CBObNxQQVdASvoJQAEc3J4eWnYcpPrDJppbFWKRXLra82npFOuPNur/1tlpvwmkAWoGVJQVT7nyh/kTzrw7ns5kDrz9o8uABXyKwS1/1B68behrF87OvZR4moaa8K6XlzSfB3TzCWpbzAUgEFArxo/Ln+M4AteywJEfNVo0uAox6wX2Lr8dJx1A86XQdYtoSxbbXp7NlCtLGDJ5BSJ5BGwHTBV8x055XYIQgPvxAicTJ7K3iQObGjlSHyVmqaSsDCGnYUtIP/gfXXrqlcAQ4n05jvrwDyfkTD73btejYWb5tcGzv/dEzWvfmwS0cRJjynOLJ48tmgUWqC7xtJvZXpeOcRLi2hEqANrQshs+f8fQF1wL0rEM0hYEvCm8hoXhTdBy4Cz2rf4cVioH059E1VRwveg+DyMvaGD4eWvRvTvBSYDuAVU/vhsKaICN1dTOkY317N/bSXc0Q9KCUMzeVX008afOsP080MtJLKkKeMvOv/835Rfd+hUnmsl0bl/xaEvVmp8DJ23q+qxnfVedM/Km8WOMuwpyYlP+48XqHwO/4CTEH64r4Fevlan33FX67vxLM3Mi7VGEpaArNj4jgyZB0xy8viQdR07rG8LtJKPlmFlJPKZEVb3oSoCisUkGnbcT36D1CHkIyAAGoEMsSsfOevZtaaaxLU5v2iEUdaprGpNP9Mbtp4Ae/op3dpWbQ+be97Abs1YDL/M3+G7OQ9mqaV/w6IKqLUAdJyGmDDRIdFSO/to35m+dcvoGX6K9EY+i4VFtdBVUKVBViaaB6UvQ2zGW/RtvJ9wxCV/QJZANpuFFEwaGCTljWxgwZQdywF7gEOmjR6hZW0dtTYSOXpeuqFPT1/QzDW3pPwMd/DcTN83y03Rw3j1XX37vv48580181lpUW0PXBJoCqqKgqfKjqusSM5jEsQo5UnU9XUfnYih+/Fmg6Q66IsnygTcI3UoVrfHXqT+wjebOVnozvUeaOkMv7D3U+weghf/Prq+qkCd9CpTpgzxzK29fMrz4srOKR21jwmkvIcNt/Xd1TaKpCprSV7X+R5xhaOhZFgRUQq1n0lV1JXbncAwDcgdAJpVg9/a9bN28j6auNuKejsb2VOMrVqDud0Ad/5/d2pAZX/6Zs+4kZesn2zwV544ePnbWhPu3qMmBpkzFmXHlBioGf4ATjqJp3r6oHw3BY6h90dBNDfx6XwT4Ujh2DqmWc5F1ldTtslm7Zj/VtYfoSDS39ro9b6St9GPAQf4/a2p9V3x1/KwfXX/lPV/xTKrMzbS1OPd944bTgc2cQNw6t/SGqWW/eyHaUIqMZcga4FJ53SqKS5fhhuNomg/dq2EYKrpPB//xDQwBPg1UB5I9NK3pYePyBFX79K6OiPrWtprEo0A1/42uGDTw19+99zffw+OB3Hx2v/inFX985mdzgDTHqCOH26eVFm5n/8EyPB5IdXnZ/eZFeK71M3DwCkS8B03T0f0eCOhgqH1RwKeDZdH7YTvV649QVdMRbuiOv1dnJx/Gx64xk/lvt2Jd07/f9uHmOwsrZ+Vl2o7G4prVHpEe7cQBiN98deATs04b/rk9H9xE6Mg0fP4k2CaBPIUpl1cxrHIVqlIPCPB4IWiApmA191C7to5tW1pie+sTH0RS7iPAZv6HmdR14TdmTpk5c/v25Y9U1dVuBjKfuAQKb/rG3eXPZboL2LPkHqIdYwhkpVFVL0bAz/Bzuxh89mZ8BbtBC0EyTPOmFjavaErtPRJZdLA1/Qiwhv+lxOQRRva3bxv5/jmfUWf2NJdQs+5uIh3T8ecKgtkaXk+QvHLJgJGHiMsFVG9eau2q3r+sur71UWAJ/8uJW84P0JhQx/zs9hGvjx8pR9upXOr2XUO4dTamUYDfB7GuVnbu3GSv3bdsZZfd8Xj2wOaFgM3/AeL6s84AwFdSN+LmC8oenzzRnB0oM3HCYzmyfQa71kbiqzbvWLetbtfvWxPtCwCL/0OEC+rxpr59e4U+sth3zejh5rW2HQp8+GFndXWN9eLBIxUbAZv/g/4fMTTuoax+Ww0AAAAASUVORK5CYII="}})])]),t._v(" "+t._s(t.text_sub_title)+" ")]),r("h1",{staticClass:"monsterinsights-yir-title",domProps:{textContent:t._s(t.text_title)}}),r("p",{staticClass:"monsterinsights-yir-summary",domProps:{textContent:t._s(t.text_summary)}})]),r("section",{staticClass:"monsterinsights-yir-audience"},[r("h2",{staticClass:"monsterinsights-yir-title",domProps:{textContent:t._s(t.text_audience_section_title)}}),r("h3",{staticClass:"monsterinsights-yir-summary"},[r("span",{domProps:{textContent:t._s(t.text_congrats)}}),""!=t.yearInReview.user_name?r("span",{domProps:{textContent:t._s(", "+t.yearInReview.user_name)}}):t._e(),t._v("! "),t.isMoreVisitors?r("span",{domProps:{textContent:t._s(t.text_popular)}}):t._e(),r("span",{domProps:{textContent:t._s(t.text_you_had)}}),r("span",[r("strong",{domProps:{textContent:t._s(t.commaNumbers(t.yearInReview.info.users.value)+t.text_visitors)}})]),r("br"),r("br"),r("span",{domProps:{innerHTML:t._s(t.bestMonthVisitorsSummary)}})]),r("div",{staticClass:"monsterinsights-yir-total-visitors-sessions"},[r("div",{staticClass:"monsterinsights-yir-visitors"},[r("img",{attrs:{src:i("648d"),alt:""}}),r("h4",{domProps:{textContent:t._s(t.text_total_visitors)}}),r("span",{staticClass:"monsterinsights-yir-number",domProps:{textContent:t._s(t.commaNumbers(t.yearInReview.info.users.value))}})]),r("div",{staticClass:"monsterinsights-yir-sessions"},[r("img",{attrs:{src:i("0097"),alt:""}}),r("h4",{domProps:{textContent:t._s(t.text_total_sessions)}}),r("span",{staticClass:"monsterinsights-yir-number",domProps:{textContent:t._s(t.commaNumbers(t.yearInReview.info.sessions.value))}})])]),r("div",{staticClass:"monsterinsights-yir-visitor-by-chart"},[r("report-year-in-review-by-month",{attrs:{id:"visitorbymonth",chartData:t.visitorByMonthData,title:t.text_visitor_by_month_chart_title,"sub-title":t.text_visitor_by_month_chart_tooltip}})],1),r("report-year-in-review-tip",{attrs:{title:t.text_audience_tip_title,summary:t.text_audience_tip_summary}})],1),r("div",{staticClass:"monsterinsights-yir-separator"}),r("section",{staticClass:"monsterinsights-yir-demographics"},[r("h2",{staticClass:"monsterinsights-yir-title",domProps:{textContent:t._s(t.text_section_demographics_title)}}),r("h3",{staticClass:"monsterinsights-yir-summary",domProps:{innerHTML:t._s(t.demoGraphicsSummary)}}),r("div",{staticClass:"monsterinsights-yir-countries"},[r("div",{staticClass:"monsterinsights-yir-top-country"},[r("span",{staticClass:"monsterinsights-yir-number-one",domProps:{textContent:t._s(t.text_number_one)}}),r("span",{class:["monsterinsights-flag",t.topCountryFlagClass]}),r("h4",{staticClass:"monsterinsights-yir-top-country-name",domProps:{textContent:t._s(t.yearInReview.countries[0].name)}}),r("h5",{staticClass:"monsterinsights-yir-top-country-visitors",domProps:{textContent:t._s(t.topCountryVisitors)}})]),r("div",{staticClass:"monsterinsights-yir-top-countries-graph"},[r("report-year-in-review-list-box",{attrs:{title:t.text_countries,"sub-title":t.text_best_month_visitors,rows:t.countriesData}})],1)]),t.yearInReview.gender||t.yearInReview.age?r("h3",{staticClass:"monsterinsights-yir-know-visitors",domProps:{textContent:t._s(t.text_know_your_visitors)}}):t._e(),r("div",{staticClass:"monsterinsights-yir-visitors-info"},[t.yearInReview.gender?r("div",{staticClass:"monsterinsights-yir-gender-info"},[r("span",{domProps:{textContent:t._s(t.text_gender)}}),r("br"),r("h2",{domProps:{textContent:t._s(t.maxVisitorGender)}}),r("p",{domProps:{innerHTML:t._s(t.maxVisitorGenderSummary)}})]):t._e(),t.yearInReview.age?r("div",{staticClass:"monsterinsights-yir-age-info"},[r("span",{domProps:{textContent:t._s(t.text_average_age)}}),r("br"),r("h2",{domProps:{textContent:t._s(t.maxVisitorAverageAge)}}),r("p",{domProps:{innerHTML:t._s(t.maxVisitorAgeSummary)}})]):t._e()])]),r("div",{staticClass:"monsterinsights-yir-separator"}),r("section",{staticClass:"monsterinsights-yir-behavior"},[r("h2",{staticClass:"monsterinsights-yir-title",domProps:{textContent:t._s(t.text_section_behavior_title)}}),r("h3",{staticClass:"monsterinsights-yir-summary",domProps:{innerHTML:t._s(t.behaviourSummary)}}),r("div",{staticClass:"monsterinsights-yir-pages-data"},[r("div",{staticClass:"monsterinsights-yir-pages-summary"},[r("img",{attrs:{src:i("1134"),alt:""}}),r("br"),r("span",{staticClass:"monsterinsights-yir-time-spent",domProps:{textContent:t._s(t.text_time_spent)}}),r("br"),r("h4",{staticClass:"monsterinsights-yir-total-time-spent"},[r("span",{staticClass:"monsterinsights-yir-number",domProps:{textContent:t._s(t.commaNumbers(t.yearInReview.info.duration.total_minutes))}}),r("span",{staticClass:"monsterinsights-yir-type",domProps:{textContent:t._s(t.text_minutes)}})]),r("h5",{staticClass:"monsterinsights-yir-each-visitor-spent",domProps:{textContent:t._s(t.eachVisitorSpentSummary)}})]),r("div",{staticClass:"monsterinsights-yir-top-pages-graph"},[r("report-year-in-review-list-box",{attrs:{title:t.text_top_pages_graph_title,"sub-title":t.text_top_pages_graph_subtitle,rows:t.topPages}})],1)]),t.yearInReview.gender||t.yearInReview.age?r("h3",{staticClass:"monsterinsights-yir-most-visitors-device",domProps:{innerHTML:t._s(t.mostVisitorsDeviceSummary)}}):t._e(),r("div",{staticClass:"monsterinsights-yir-visitors-info"},[r("report-year-in-review-pie-chart",{attrs:{id:"devices",chartData:t.devicesData,title:t.text_device_type,subtitle:t.mostVisitorsDevicePercent}})],1),r("div",{staticClass:"monsterinsights-yir-grow-traffic-tip"},[r("report-year-in-review-tip",{attrs:{title:t.text_grow_traffic_tip_title,summary:t.text_grow_traffic_tip_summary,"link-text":t.text_grow_traffic_tip_link_text,link:"https://www.monsterinsights.com/marketing-hacks-guaranteed-to-grow-your-traffic/"}})],1),r("div",{staticClass:"monsterinsights-yir-visitors-come-from"},[r("h3",{staticClass:"monsterinsights-yir-title",domProps:{textContent:t._s(t.text_visitors_come_from)}}),r("div",{staticClass:"monsterinsights-yir-keywords-referrals"},[r("div",{staticClass:"monsterinsights-yir-keywords"},[r("report-year-in-review-list-box",{class:["monsterinsights-year-in-review-table-box-blur-report"],attrs:{title:t.text_top_keywords,"sub-title":t.text_clicks,rows:t.searchConsoleSampleData,tooltip:t.text_top_keywords_tooltip}}),r("year-in-review-up-sell-overlay",{attrs:{details:t.text_search_console_upsell_overlay_details,"btn-text":t.text_search_console_upsell_overlay_btn_text,"btn-link":"https://www.monsterinsights.com/lite/?utm_source=liteplugin&utm_medium=settings-panel&utm_campaign=license&utm_content=7.10.0","btn-class":"monsterinsights-yir-success"}})],1),t.referralsData.length?r("div",{staticClass:"monsterinsights-yir-referrals"},[r("report-year-in-review-list-box",{attrs:{title:t.text_top_referrals,"sub-title":t.text_pageviews,tooltip:t.text_top_referrals_tooltip,rows:t.referralsData}})],1):t._e()])]),r("div",{staticClass:"monsterinsights-yir-grow-traffic-tip"},[r("report-year-in-review-tip",{attrs:{title:t.text_opportunity_tip_title,summary:t.text_opportunity_tip_summary,"link-text":t.text_opportunity_tip_link_text,link:"https://www.monsterinsights.com/how-to-spy-on-your-competitors-and-ethically-steal-their-traffic/"}})],1)]),r("div",{staticClass:"monsterinsights-yir-separator"}),r("section",{staticClass:"monsterinsights-yir-thank-you"},[r("h2",{staticClass:"monsterinsights-yir-title",domProps:{textContent:t._s(t.text_thank_you_section_title)}}),r("h3",{staticClass:"monsterinsights-yir-summary",domProps:{textContent:t._s(t.text_thank_you_section_summary)}}),r("h4",{staticClass:"monsterinsights-yir-amazing-year",domProps:{textContent:t._s(t.text_amazing_2020)}}),r("div",{staticClass:"monsterinsights-yir-authors"},[r("div",{staticClass:"monsterinsights-yir-author"},[r("div",{staticClass:"monsterinsights-yir-thumbnail syed"}),r("span",{staticClass:"monsterinsights-yir-name",domProps:{textContent:t._s(t.text_syed_balkhi)}})]),r("div",{staticClass:"monsterinsights-yir-author"},[r("div",{staticClass:"monsterinsights-yir-thumbnail chris"}),r("span",{staticClass:"monsterinsights-yir-name",domProps:{textContent:t._s(t.text_chris_christoff)}})])]),r("div",{staticClass:"monsterinsights-yir-write-review"},[r("div",{staticClass:"monsterinsights-yir-content"},[r("span",{domProps:{textContent:t._s(t.text_enjoying_monsterinsights)}}),r("br"),r("h3",{domProps:{textContent:t._s(t.text_leave_review)}})]),t._m(0),r("div",{staticClass:"monsterinsights-yir-review-button"},[r("a",{attrs:{href:"https://wordpress.org/support/view/plugin-reviews/google-analytics-for-wordpress?filter=5",target:"_blank"},domProps:{textContent:t._s(t.text_write_review)}})])])]),r("section",{staticClass:"monsterinsights-yir-year-in-review-plugins-block"},[r("h2",{staticClass:"monsterinsights-yir-title",domProps:{textContent:t._s(t.text_plugins_section_title)}}),r("h3",{staticClass:"monsterinsights-yir-summary",domProps:{textContent:t._s(t.text_plugins_section_summary)}}),r("div",{staticClass:"monsterinsights-yir-plugins"},t._l(t.pluginsList(),(function(t,e){return r("addon-block",{key:e,attrs:{addon:t,"is-addon":!1}})})),1)]),r("section",{staticClass:"monsterinsights-yir-join-communities"},[r("h2",{staticClass:"monsterinsights-yir-title",domProps:{textContent:t._s(t.text_communities_section_title)}}),r("h3",{staticClass:"monsterinsights-yir-summary",domProps:{textContent:t._s(t.text_communities_section_summary)}}),r("div",{staticClass:"monsterinsights-yir-communities"},[r("div",{staticClass:"monsterinsights-yir-community"},[r("img",{staticClass:"monsterinsights-yir-thumbnail",attrs:{src:i("67d7"),alt:""}}),r("h3",{staticClass:"monsterinsights-yir-title",domProps:{textContent:t._s(t.text_facebook_group)}}),r("p",{staticClass:"monsterinsights-yir-details",domProps:{textContent:t._s(t.text_facebook_group_summary)}}),r("a",{staticClass:"monsterinsights-yir-link",attrs:{href:"https://www.facebook.com/groups/wpbeginner/",target:"_blank"},domProps:{textContent:t._s(t.text_facebook_join_button)}})]),r("div",{staticClass:"monsterinsights-yir-community"},[r("img",{staticClass:"monsterinsights-yir-thumbnail",attrs:{src:i("4f36"),alt:""}}),r("h3",{staticClass:"monsterinsights-yir-title",domProps:{textContent:t._s(t.text_wpbeginner_community_title)}}),r("p",{staticClass:"monsterinsights-yir-details",domProps:{textContent:t._s(t.text_wpbeginner_community_summary)}}),r("a",{staticClass:"monsterinsights-yir-link",attrs:{href:"https://www.wpbeginner.com/",target:"_blank"},domProps:{textContent:t._s(t.text_visit_wpbeginner)}})]),r("div",{staticClass:"monsterinsights-yir-community"},[r("img",{staticClass:"monsterinsights-yir-thumbnail",attrs:{src:i("c24e"),alt:""}}),r("h3",{staticClass:"monsterinsights-yir-title",domProps:{textContent:t._s(t.text_follow_us)}}),r("p",{staticClass:"monsterinsights-yir-details",domProps:{textContent:t._s(t.text_follow_us_summary)}}),t._m(1)])])]),r("footer",{staticClass:"monsterinsights-yir-footer"},[r("div",{domProps:{textContent:t._s(t.text_copyright_monsterinsights)}}),r("div",{staticClass:"monsterinsights-yir-text-right"},[r("svg",{attrs:{width:"134",height:"18",viewBox:"0 0 134 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{d:"M20.201 10.1024C20.201 10.6528 20.0909 11.0932 19.8432 11.3959C19.5955 11.6987 19.2102 11.8363 18.6873 11.8363C18.1644 11.8363 17.7791 11.6711 17.5589 11.3959C17.3112 11.1207 17.2011 10.6528 17.2011 10.1024V8.12084C17.2011 7.5704 17.3112 7.13005 17.5589 6.82731C17.8066 6.55209 18.1919 6.38697 18.6873 6.38697C19.2102 6.38697 19.5955 6.55209 19.8432 6.82731C20.0909 7.10253 20.201 7.5704 20.201 8.12084V10.1024ZM22.733 10.1024V8.12084C22.733 7.5704 22.6504 7.07501 22.4853 6.57961C22.3202 6.08422 22.1 5.67139 21.7422 5.31361C21.4119 4.95583 20.9716 4.65309 20.4762 4.46044C19.9808 4.24027 19.3753 4.13018 18.6598 4.13018C17.9717 4.13018 17.3662 4.24027 16.8433 4.46044C16.3479 4.68062 15.9076 4.95583 15.5773 5.31361C15.2471 5.67139 14.9994 6.11174 14.8342 6.57961C14.6691 7.07501 14.5865 7.5704 14.5865 8.12084V10.1024C14.5865 10.6528 14.6691 11.1757 14.8342 11.6436C14.9994 12.139 15.2195 12.5518 15.5773 12.9096C15.9076 13.2674 16.3479 13.5701 16.8433 13.7628C17.3387 13.983 17.9442 14.0931 18.6598 14.0931C19.3478 14.0931 19.9533 13.983 20.4762 13.7628C20.9716 13.5426 21.4119 13.2674 21.7422 12.9096C22.0725 12.5518 22.3202 12.1115 22.4853 11.6436C22.6504 11.1757 22.733 10.6528 22.733 10.1024ZM33.2188 12.8546V7.65296C33.2188 7.13005 33.1637 6.63466 33.0537 6.22183C32.9436 5.78149 32.7784 5.39618 32.5307 5.09344C32.2831 4.7907 31.9528 4.543 31.5675 4.37787C31.1822 4.18522 30.6593 4.13018 30.0538 4.13018C29.4483 4.13018 28.8979 4.21274 28.43 4.37787C27.9621 4.57052 27.5768 4.7907 27.219 5.09344C27.109 4.90079 26.9438 4.73565 26.7787 4.62557C26.586 4.48796 26.4209 4.37788 26.2007 4.32283C25.9806 4.26779 25.7879 4.24026 25.5953 4.24026C25.2375 4.24026 24.9347 4.32283 24.687 4.48796C24.4393 4.65309 24.3293 4.90079 24.3293 5.2861C24.3293 5.47875 24.3568 5.61635 24.4118 5.72644C24.4669 5.83652 24.577 5.94661 24.6595 6.00166C24.8246 6.13926 24.9347 6.27688 25.0448 6.38697C25.1549 6.49705 25.2099 6.74475 25.2099 7.07501V12.8546C25.2099 13.2124 25.32 13.5151 25.5677 13.7628C25.8154 14.0105 26.1182 14.1206 26.476 14.1206C26.8337 14.1206 27.1365 14.0105 27.3842 13.7628C27.6319 13.5151 27.742 13.2124 27.742 12.8546V7.26766C27.9346 7.01996 28.1273 6.85483 28.4025 6.71722C28.6502 6.57961 28.9529 6.49705 29.3107 6.49705C29.5859 6.49705 29.8061 6.55209 29.9987 6.60714C30.1914 6.6897 30.3015 6.79979 30.4116 6.9374C30.4941 7.07501 30.5767 7.21262 30.6042 7.40527C30.6317 7.59792 30.6593 7.76305 30.6593 7.9557V12.8546C30.6593 13.2124 30.7694 13.5151 31.017 13.7628C31.2647 14.0105 31.5675 14.1206 31.9253 14.1206C32.283 14.1206 32.5858 14.0105 32.8335 13.7628C33.0812 13.5151 33.2188 13.2124 33.2188 12.8546ZM42.4661 11.0106C42.4661 10.4877 42.3835 10.0749 42.2459 9.74462C42.0808 9.41436 41.8881 9.13914 41.6404 8.91897C41.3928 8.69879 41.1175 8.53366 40.8148 8.42358C40.5121 8.31349 40.1818 8.2034 39.8791 8.12084C39.5488 8.06579 39.2736 8.01075 38.9984 7.9557C38.7231 7.90066 38.4754 7.84562 38.2553 7.76306C38.0351 7.68049 37.87 7.59793 37.7599 7.48784C37.6498 7.37775 37.5672 7.21262 37.5672 6.99244C37.5672 6.77227 37.6773 6.57961 37.87 6.41448C38.0626 6.24935 38.3929 6.19431 38.8332 6.19431C39.1635 6.19431 39.4662 6.22183 39.7414 6.27687C40.0167 6.33192 40.3469 6.442 40.7047 6.55209C40.9799 6.63466 41.2551 6.60714 41.5028 6.46953C41.7505 6.33192 41.9157 6.11175 41.9982 5.83653C42.1083 5.56131 42.0808 5.28609 41.9432 5.03839C41.8056 4.7907 41.5854 4.59805 41.3102 4.51548C40.9524 4.40539 40.5671 4.29531 40.1818 4.21274C39.7965 4.13017 39.2736 4.10265 38.6681 4.10265C38.2002 4.10265 37.7324 4.1577 37.3195 4.29531C36.9067 4.43292 36.5214 4.62557 36.1911 4.87327C35.8609 5.12097 35.6132 5.45123 35.4205 5.83653C35.2279 6.22184 35.1453 6.66218 35.1453 7.15757C35.1453 7.62544 35.2004 8.01075 35.338 8.34101C35.4481 8.67127 35.6132 8.91897 35.8334 9.11162C36.0535 9.3318 36.2737 9.4694 36.5489 9.60701C36.8241 9.7171 37.0994 9.82718 37.3746 9.88223C37.7048 9.96479 38.0076 10.0474 38.3378 10.1024C38.6681 10.1575 38.9433 10.2125 39.191 10.2951C39.4387 10.3776 39.6314 10.4877 39.7965 10.5978C39.9616 10.7354 40.0167 10.9281 40.0167 11.1482C40.0167 11.4234 39.8791 11.6711 39.6038 11.8363C39.3286 12.0014 38.9708 12.084 38.4754 12.084C37.9801 12.084 37.5947 12.0565 37.3195 11.9739C37.0443 11.8913 36.7691 11.8088 36.4939 11.7262C36.2462 11.6161 35.971 11.6436 35.6957 11.7537C35.4205 11.8638 35.2279 12.084 35.1453 12.4142C35.0627 12.6619 35.0903 12.9371 35.2004 13.2124C35.3104 13.4876 35.5031 13.6802 35.7783 13.7628C36.1086 13.8729 36.4664 13.983 36.8792 14.038C37.292 14.1206 37.8149 14.1481 38.503 14.1481C38.9984 14.1481 39.4938 14.0931 39.9891 13.983C40.4845 13.8729 40.8974 13.7078 41.2551 13.4325C41.6129 13.1848 41.9157 12.8546 42.1358 12.4693C42.356 12.084 42.4661 11.6161 42.4661 11.0381V11.0106ZM50.2272 12.8821C50.2272 12.5518 50.1172 12.3041 49.897 12.084C49.6768 11.8638 49.4291 11.7537 49.0989 11.7537H48.7411C48.1356 11.7537 47.7503 11.5886 47.5301 11.2583C47.3375 10.9281 47.2274 10.3501 47.2274 9.60701V6.3044H48.6585C48.9337 6.3044 49.1814 6.19431 49.4016 6.00166C49.5942 5.78148 49.7043 5.53379 49.7043 5.25857C49.7043 4.95583 49.5942 4.73566 49.4016 4.51548C49.2089 4.32283 48.9612 4.21274 48.6585 4.21274H47.2274V2.94674C47.2274 2.58896 47.1173 2.28622 46.8696 2.03852C46.6219 1.79082 46.3192 1.65322 45.9614 1.65322C45.6036 1.65322 45.3008 1.7633 45.0532 2.03852C44.8055 2.28622 44.6678 2.58896 44.6678 2.94674V4.21274H44.3651C44.0899 4.21274 43.8422 4.32283 43.622 4.51548C43.4294 4.70813 43.3193 4.95583 43.3193 5.25857C43.3193 5.53379 43.4294 5.78148 43.622 6.00166C43.8147 6.22183 44.0624 6.3044 44.3651 6.3044H44.6678V9.63453C44.6678 10.2951 44.7229 10.873 44.8605 11.4234C44.9981 11.9739 45.2183 12.4142 45.4935 12.7995C45.7962 13.1848 46.154 13.4876 46.6219 13.6802C47.0898 13.9004 47.6677 13.983 48.3282 13.983H49.0438C49.3741 13.983 49.6218 13.8729 49.8419 13.6527C50.1172 13.4601 50.1997 13.1848 50.2272 12.8821ZM56.805 7.76306V8.01075H53.8876V7.76306C53.8876 7.21262 53.9977 6.79979 54.2454 6.52458C54.4931 6.24936 54.8784 6.08423 55.3738 6.08423C55.8692 6.08423 56.227 6.24936 56.4747 6.52458C56.6949 6.79979 56.805 7.21262 56.805 7.76306ZM59.2544 9.00154V8.2034C59.2544 7.65296 59.1718 7.13005 59.0342 6.66218C58.8691 6.16679 58.6764 5.72644 58.3462 5.36866C58.0434 4.98335 57.6306 4.70814 57.1352 4.46044C56.6398 4.24027 56.0343 4.13018 55.3188 4.13018C54.6307 4.13018 54.0253 4.24027 53.5299 4.46044C53.0345 4.68062 52.6216 4.98335 52.2914 5.36866C51.9611 5.75396 51.7409 6.19431 51.5483 6.6897C51.3832 7.18509 51.3006 7.73553 51.3006 8.25844V10.0198C51.3006 10.5703 51.3832 11.0932 51.5208 11.5886C51.6584 12.084 51.8786 12.5243 52.2088 12.8821C52.5391 13.2674 52.9519 13.5702 53.4473 13.7903C53.9427 14.0105 54.5757 14.1206 55.2913 14.1206C55.7591 14.1206 56.227 14.0655 56.7224 14.0105C57.2178 13.9279 57.7132 13.7628 58.2636 13.5151C58.5113 13.405 58.6764 13.2674 58.759 13.0197C58.8691 12.7995 58.8691 12.5518 58.7865 12.2491C58.704 11.9739 58.5388 11.7812 58.2911 11.6436C58.0434 11.5335 57.7957 11.506 57.548 11.6161C57.2178 11.7537 56.915 11.8638 56.5848 11.9188C56.282 12.0014 55.8967 12.0289 55.4289 12.0289C54.9059 12.0289 54.4931 11.8638 54.2454 11.5611C53.9977 11.2308 53.8601 10.7905 53.8601 10.24V9.88223H58.3462C58.5939 9.88223 58.7865 9.79966 58.9517 9.63453C59.1718 9.4694 59.2544 9.24923 59.2544 9.00154ZM67.9513 5.78148C68.0338 5.53379 68.0338 5.2861 67.9788 5.01088C67.8962 4.76318 67.7586 4.543 67.5109 4.4054C67.3733 4.32283 67.2082 4.24027 67.0155 4.18522C66.8229 4.13018 66.6027 4.10265 66.355 4.10265C66.1899 4.10265 66.0247 4.13018 65.8046 4.13018C65.5844 4.1577 65.3642 4.21274 65.1441 4.29531C64.9239 4.37788 64.6762 4.48796 64.4285 4.65309C64.1808 4.81822 63.9606 5.01088 63.7404 5.2861C63.6304 5.0384 63.4377 4.81822 63.2175 4.65309C62.9974 4.46044 62.7221 4.32283 62.3643 4.24026C62.3093 4.21274 62.2267 4.21274 62.1442 4.21274H61.9515C61.5662 4.21274 61.2635 4.29531 61.0158 4.46044C60.7956 4.62557 60.6855 4.87327 60.6855 5.25857C60.6855 5.45122 60.713 5.58884 60.7681 5.69892C60.8231 5.80901 60.9332 5.9191 61.0158 5.97414C61.1809 6.11175 61.3185 6.24936 61.4011 6.35944C61.5112 6.46953 61.5662 6.71723 61.5662 7.04749V12.8271C61.5662 13.1848 61.6763 13.4876 61.924 13.7353C62.1717 13.983 62.4744 14.0931 62.8322 14.0931C63.19 14.0931 63.4927 13.983 63.7404 13.7353C63.9881 13.4876 64.0982 13.1848 64.0982 12.8271V7.5704C64.2083 7.1851 64.4285 6.88235 64.7037 6.71722C64.9789 6.55209 65.3367 6.46953 65.6945 6.46953C65.9422 6.46953 66.1073 6.46953 66.2174 6.49705C66.3 6.52457 66.4101 6.52457 66.5201 6.55209C66.8779 6.63466 67.1807 6.57962 67.4284 6.38697C67.7311 6.27688 67.8687 6.02918 67.9513 5.78148ZM12.2197 1.32295C12.2197 0.992691 12.1096 0.71748 11.8619 0.469784C11.6417 0.222088 11.339 0.111996 10.9812 0.111996C10.7335 0.111996 10.5133 0.16704 10.2931 0.249605C10.073 0.33217 9.90784 0.524823 9.77023 0.800041L6.08231 8.28597L2.47696 0.882611C2.33935 0.607393 2.17422 0.414737 1.98157 0.277128C1.78892 0.167041 1.54122 0.0844727 1.21096 0.0844727C0.880697 0.0844727 0.577957 0.194563 0.357783 0.414737C0.110087 0.634912 0 0.937653 0 1.26791V12.9647C0 13.2949 0.110087 13.5702 0.357783 13.7903C0.577957 14.0105 0.880697 14.1481 1.18344 14.1481C1.5137 14.1481 1.78892 14.038 2.00909 13.7903C2.22926 13.5702 2.36687 13.2674 2.36687 12.9647V5.78148L4.9264 11.1207C5.03649 11.3684 5.22914 11.5611 5.42179 11.6711C5.64196 11.7812 5.83462 11.8638 6.08231 11.8638C6.33001 11.8638 6.55018 11.8088 6.77036 11.6711C6.96301 11.5335 7.12814 11.3409 7.26575 11.0932L9.82528 5.75396V12.9096C9.82528 13.2399 9.93536 13.5151 10.1831 13.7628C10.4032 14.0105 10.706 14.1206 11.0362 14.1206C11.3665 14.1206 11.6417 14.0105 11.8619 13.7628C12.0821 13.5151 12.2197 13.2399 12.2197 12.9096V1.32295Z",fill:"white"}}),r("path",{attrs:{d:"M83.0897 12.8527V7.65105C83.0897 7.12814 83.0347 6.63275 82.9246 6.21992C82.8145 5.77957 82.6494 5.39427 82.4017 5.09153C82.154 4.78879 81.8237 4.54109 81.4384 4.34844C81.0531 4.15578 80.5302 4.10074 79.9247 4.10074C79.3192 4.10074 78.7688 4.18331 78.3009 4.34844C77.8331 4.54109 77.4478 4.76127 77.09 5.09153C76.9799 4.89888 76.8148 4.73374 76.6496 4.62365C76.457 4.48605 76.2918 4.37597 76.0717 4.32092C75.8515 4.26588 75.6588 4.23835 75.4662 4.23835C75.1084 4.23835 74.8057 4.32092 74.558 4.48605C74.3103 4.65118 74.2002 4.89888 74.2002 5.28418C74.2002 5.47684 74.2277 5.61444 74.2828 5.72453C74.3378 5.83461 74.4479 5.9447 74.5304 6.02727C74.6956 6.16488 74.8057 6.30248 74.9158 6.41257C75.0258 6.52266 75.0809 6.77035 75.0809 7.10061V12.8802C75.0809 13.238 75.191 13.5407 75.4387 13.7884C75.6864 14.0361 75.9891 14.1462 76.3469 14.1462C76.7047 14.1462 77.0074 14.0361 77.2551 13.7884C77.5028 13.5407 77.6129 13.238 77.6129 12.8802V7.29327C77.8055 7.04557 77.9982 6.88044 78.2734 6.74283C78.5211 6.60523 78.8238 6.52266 79.1816 6.52266C79.4568 6.52266 79.677 6.57771 79.8697 6.63275C80.0623 6.71531 80.1724 6.8254 80.2825 6.96301C80.3651 7.10061 80.4476 7.23823 80.4752 7.43088C80.5027 7.62353 80.5302 7.78866 80.5302 7.98131V12.8802C80.5302 13.238 80.6403 13.5407 80.888 13.7884C81.1357 14.0361 81.4384 14.1462 81.7962 14.1462C82.154 14.1462 82.4567 14.0361 82.7044 13.7884C82.9796 13.5132 83.0897 13.2105 83.0897 12.8527ZM92.337 11.0362C92.337 10.5133 92.2545 10.1005 92.1169 9.77023C91.9793 9.43997 91.7591 9.16475 91.5114 8.94458C91.2637 8.7244 90.9885 8.55927 90.6857 8.44919C90.383 8.3391 90.0527 8.22901 89.75 8.17397C89.4197 8.11893 89.1445 8.06388 88.8693 8.00884C88.5941 7.95379 88.3464 7.89875 88.1262 7.81618C87.906 7.73362 87.7409 7.65105 87.6308 7.54096C87.5207 7.43088 87.4382 7.26575 87.4382 7.04558C87.4382 6.8254 87.5482 6.63275 87.7409 6.46762C87.9336 6.30249 88.2638 6.24745 88.7042 6.24745C89.0344 6.24745 89.3372 6.27496 89.6124 6.33001C89.8876 6.38505 90.2179 6.49514 90.5756 6.60523C90.8509 6.68779 91.1261 6.66027 91.3738 6.52266C91.6215 6.38506 91.7866 6.16488 91.8692 5.88966C91.9793 5.61444 91.9517 5.33922 91.8141 5.09153C91.6765 4.84383 91.4563 4.65118 91.1811 4.56862C90.8233 4.45853 90.438 4.34844 90.0527 4.26587C89.6674 4.18331 89.1445 4.15579 88.539 4.15579C88.0712 4.15579 87.6033 4.21083 87.1905 4.34844C86.7776 4.48605 86.3923 4.6787 86.0621 4.9264C85.7318 5.17409 85.4841 5.50435 85.2915 5.88966C85.0988 6.27496 85.0162 6.71532 85.0162 7.21071C85.0162 7.67858 85.0713 8.06388 85.2089 8.39414C85.319 8.7244 85.4841 8.9721 85.7043 9.16475C85.9245 9.38492 86.1446 9.52254 86.4199 9.66014C86.6951 9.77023 86.9703 9.88032 87.2455 9.93536C87.5758 10.0179 87.8785 10.1005 88.2088 10.1555C88.539 10.2106 88.8142 10.2656 89.0619 10.3482C89.3096 10.4308 89.5023 10.5408 89.6674 10.6509C89.8326 10.7885 89.8876 10.9812 89.8876 11.2014C89.8876 11.4766 89.75 11.7243 89.4748 11.8894C89.1996 12.0545 88.8418 12.1371 88.3464 12.1371C87.851 12.1371 87.4657 12.1096 87.1905 12.027C86.9152 11.9445 86.64 11.8619 86.3648 11.7793C86.1171 11.6692 85.8419 11.6968 85.5667 11.8068C85.2915 11.9169 85.0988 12.1371 85.0162 12.4674C84.9337 12.7151 84.9612 12.9903 85.0713 13.2655C85.1814 13.5407 85.374 13.7334 85.6492 13.8159C85.9795 13.926 86.3373 14.0361 86.7501 14.1187C87.1629 14.2012 87.6859 14.2288 88.3739 14.2288C88.8693 14.2288 89.3647 14.1737 89.8601 14.0636C90.3555 13.9535 90.7683 13.7884 91.1261 13.5132C91.4839 13.2655 91.7866 12.9352 92.0068 12.5499C92.2269 12.1646 92.337 11.6968 92.337 11.1188V11.0362ZM96.8506 12.8527V5.36675C96.8506 5.00896 96.7405 4.70623 96.4928 4.45853C96.2451 4.21083 95.9424 4.07322 95.5846 4.07322C95.2268 4.07322 94.9241 4.18331 94.6764 4.45853C94.4287 4.70623 94.3186 5.00896 94.3186 5.36675V12.8527C94.3186 13.2105 94.4287 13.5132 94.6764 13.7609C94.9241 14.0086 95.2268 14.1187 95.5846 14.1187C95.9424 14.1187 96.2451 14.0086 96.4928 13.7609C96.713 13.5132 96.8506 13.2105 96.8506 12.8527ZM96.9882 1.40361C96.9882 1.01831 96.8506 0.660523 96.5754 0.412827C96.3002 0.137609 95.9699 0 95.5846 0C95.1993 0 94.8415 0.137609 94.5663 0.412827C94.2911 0.688044 94.1535 1.01831 94.1535 1.40361C94.1535 1.78892 94.2911 2.1467 94.5663 2.3944C94.8415 2.66962 95.1718 2.80722 95.5846 2.80722C95.9699 2.80722 96.3277 2.66962 96.5754 2.3944C96.8506 2.1467 96.9882 1.78892 96.9882 1.40361ZM104.529 6.88044V10.7335C104.309 10.9261 104.061 11.0362 103.786 11.1188C103.511 11.2014 103.263 11.2564 103.043 11.2564C102.493 11.2564 102.107 11.0913 101.915 10.8161C101.694 10.5408 101.612 10.1005 101.612 9.55006V8.03636C101.612 6.8254 102.107 6.24745 103.043 6.24745C103.291 6.24745 103.538 6.30248 103.786 6.41257C104.061 6.52266 104.281 6.68779 104.529 6.88044ZM107.061 5.39427C107.061 5.03649 106.951 4.73374 106.731 4.48605C106.511 4.23835 106.18 4.10074 105.795 4.10074C105.547 4.10074 105.3 4.18331 105.107 4.32092C104.887 4.48605 104.749 4.65118 104.639 4.87136C104.337 4.62366 104.034 4.43101 103.676 4.2934C103.318 4.15579 102.933 4.07322 102.548 4.07322C101.915 4.07322 101.392 4.15578 100.951 4.34844C100.511 4.54109 100.153 4.81631 99.878 5.20161C99.6028 5.5594 99.4101 6.02727 99.2725 6.55018C99.1624 7.07309 99.0799 7.67857 99.0799 8.36662V9.08219C99.0799 9.77023 99.1349 10.3757 99.245 10.9261C99.3551 11.4491 99.5477 11.9169 99.7954 12.2747C100.043 12.6325 100.401 12.9077 100.841 13.1004C101.282 13.293 101.805 13.3756 102.465 13.3756C102.823 13.3756 103.153 13.3205 103.538 13.2105C103.896 13.1004 104.226 12.9628 104.502 12.7701V13.2655C104.502 14.6416 103.896 15.3296 102.685 15.3296C102.355 15.3296 102.08 15.3021 101.887 15.2746C101.667 15.2471 101.502 15.192 101.364 15.1645C101.199 15.1095 101.089 15.0819 100.951 15.0544C100.841 15.0269 100.704 14.9994 100.566 14.9718C100.291 14.9443 100.043 15.0544 99.823 15.2746C99.6028 15.4948 99.5202 15.7425 99.5202 15.9902C99.5202 16.2378 99.6028 16.4305 99.7404 16.5956C99.878 16.7608 100.071 16.8709 100.263 16.9809C100.649 17.1461 101.061 17.2562 101.529 17.3112C101.997 17.3662 102.465 17.3938 102.905 17.3938C104.309 17.3938 105.355 17.0085 106.043 16.2378C106.731 15.4672 107.089 14.4214 107.089 13.1004L107.061 5.39427ZM117.519 12.8527V7.65105C117.519 7.12814 117.464 6.63275 117.354 6.21992C117.244 5.77957 117.079 5.39427 116.831 5.09153C116.584 4.78879 116.253 4.54109 115.868 4.34844C115.455 4.15578 114.96 4.10074 114.354 4.10074C113.887 4.10074 113.446 4.15579 113.088 4.26587C112.703 4.37596 112.373 4.51357 112.098 4.73375V1.65131C112.098 1.29352 111.988 0.990787 111.74 0.743091C111.492 0.495395 111.189 0.385303 110.832 0.385303C110.474 0.385303 110.171 0.495395 109.923 0.743091C109.676 0.990787 109.566 1.29352 109.566 1.65131V12.8802C109.566 13.238 109.676 13.5407 109.923 13.7884C110.171 14.0361 110.474 14.1462 110.832 14.1462C111.189 14.1462 111.492 14.0361 111.74 13.7884C111.988 13.5407 112.098 13.238 112.098 12.8802V7.29327C112.29 7.04557 112.483 6.88044 112.758 6.74283C113.006 6.60523 113.336 6.52266 113.694 6.52266C113.969 6.52266 114.189 6.57771 114.382 6.63275C114.575 6.71531 114.685 6.8254 114.795 6.96301C114.877 7.10061 114.96 7.23823 114.987 7.43088C115.015 7.62353 115.043 7.78866 115.043 7.98131V12.8802C115.043 13.238 115.153 13.5407 115.4 13.7884C115.648 14.0361 115.951 14.1462 116.309 14.1462C116.666 14.1462 116.969 14.0361 117.217 13.7884C117.409 13.5407 117.519 13.238 117.519 12.8527ZM125.804 12.8802C125.804 12.5499 125.693 12.3022 125.473 12.0821C125.253 11.8619 125.005 11.7518 124.675 11.7518H124.317C123.712 11.7518 123.327 11.5867 123.106 11.2564C122.914 10.9261 122.804 10.3482 122.804 9.6051V6.30248H124.235C124.51 6.30248 124.758 6.1924 124.978 5.99974C125.171 5.77957 125.281 5.53188 125.281 5.25666C125.281 4.98144 125.171 4.73374 124.978 4.51357C124.785 4.32092 124.538 4.21083 124.235 4.21083H122.831V2.94483C122.831 2.58705 122.721 2.28431 122.473 2.03661C122.226 1.78891 121.923 1.65131 121.565 1.65131C121.207 1.65131 120.905 1.76139 120.657 2.03661C120.409 2.28431 120.272 2.58705 120.272 2.94483V4.21083H119.969C119.694 4.21083 119.446 4.32092 119.226 4.51357C119.033 4.70622 118.923 4.95392 118.923 5.25666C118.923 5.53188 119.033 5.77957 119.226 5.99974C119.418 6.21992 119.666 6.30248 119.969 6.30248H120.272V9.63262C120.272 10.2931 120.327 10.8711 120.464 11.4215C120.602 11.972 120.822 12.4123 121.097 12.7976C121.373 13.1829 121.758 13.4857 122.226 13.6783C122.694 13.8985 123.272 13.9811 123.932 13.9811H124.648C124.978 13.9811 125.226 13.871 125.446 13.6508C125.693 13.4581 125.776 13.1829 125.804 12.8802ZM133.977 11.0087C133.977 10.4858 133.895 10.073 133.757 9.74271C133.592 9.41245 133.4 9.13723 133.152 8.91705C132.904 8.69688 132.629 8.53175 132.326 8.42166C132.023 8.31158 131.693 8.20149 131.39 8.14645C131.06 8.0914 130.785 8.03636 130.51 7.98131C130.235 7.92627 129.987 7.87122 129.767 7.78866C129.546 7.70609 129.381 7.62353 129.271 7.48593C129.161 7.37584 129.079 7.2107 129.079 6.99053C129.079 6.77035 129.189 6.5777 129.381 6.41257C129.574 6.24744 129.904 6.1924 130.345 6.1924C130.675 6.1924 130.978 6.21992 131.253 6.27496C131.528 6.33 131.858 6.44009 132.216 6.55018C132.491 6.63274 132.767 6.60523 133.014 6.46762C133.262 6.33001 133.427 6.10984 133.51 5.83462C133.62 5.5594 133.592 5.28418 133.455 5.03648C133.317 4.78879 133.097 4.59613 132.822 4.51357C132.464 4.40348 132.078 4.29339 131.693 4.21083C131.308 4.12826 130.785 4.10074 130.179 4.10074C129.712 4.10074 129.244 4.15579 128.831 4.2934C128.418 4.43101 128.033 4.62366 127.703 4.87136C127.372 5.11905 127.125 5.44931 126.932 5.83462C126.739 6.21992 126.657 6.66027 126.657 7.15566C126.657 7.62353 126.712 8.00883 126.849 8.33909C126.959 8.66936 127.125 8.91706 127.345 9.10971C127.565 9.32988 127.785 9.46749 128.06 9.6051C128.336 9.71518 128.611 9.82527 128.886 9.88031C129.216 9.96288 129.519 10.0455 129.849 10.1005C130.179 10.1555 130.455 10.2106 130.702 10.2931C130.95 10.3757 131.143 10.4858 131.308 10.5959C131.473 10.7335 131.528 10.9261 131.528 11.1463C131.528 11.4215 131.39 11.6692 131.115 11.8344C130.84 11.9995 130.482 12.0821 129.987 12.0821C129.491 12.0821 129.106 12.0545 128.831 11.972C128.528 11.8894 128.28 11.8068 128.005 11.7243C127.758 11.6142 127.482 11.6417 127.207 11.7518C126.932 11.8619 126.739 12.0821 126.657 12.4123C126.574 12.66 126.602 12.9352 126.712 13.2105C126.822 13.4857 127.014 13.6783 127.29 13.7609C127.62 13.871 127.978 13.9811 128.391 14.0361C128.803 14.1187 129.326 14.1462 130.014 14.1462C130.51 14.1462 131.005 14.0911 131.501 13.9811C131.996 13.871 132.409 13.7058 132.767 13.4306C133.124 13.1829 133.427 12.8527 133.647 12.4674C133.867 12.0821 133.977 11.6142 133.977 11.0362V11.0087ZM72.1085 12.8802V1.40361C72.1085 1.04583 71.9984 0.743091 71.7232 0.467874C71.4755 0.220178 71.1728 0.082562 70.7875 0.082562C70.4297 0.082562 70.127 0.192656 69.8793 0.467874C69.6316 0.715569 69.5215 1.01831 69.5215 1.40361V12.8802C69.5215 13.238 69.6316 13.5407 69.8793 13.8159C70.127 14.0636 70.4297 14.2012 70.7875 14.2012C71.1453 14.2012 71.448 14.0912 71.7232 13.8159C71.9984 13.5407 72.1085 13.238 72.1085 12.8802Z",fill:"white"}})])])])]):t._e()])},ke=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"monsterinsights-yir-rating"},[r("ul",{staticClass:"monsterinsights-yir-five-star"},[r("li",[r("img",{attrs:{src:i("ba5a"),alt:""}})]),r("li",[r("img",{attrs:{src:i("ba5a"),alt:""}})]),r("li",[r("img",{attrs:{src:i("ba5a"),alt:""}})]),r("li",[r("img",{attrs:{src:i("ba5a"),alt:""}})]),r("li",[r("img",{attrs:{src:i("ba5a"),alt:""}})])])])},function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("ul",{staticClass:"monsterinsights-yir-social-links"},[r("li",[r("a",{attrs:{href:"https://www.youtube.com/channel/UCnB-GV6lyQYgBLLhQr-kuVw",target:"_blank"}},[r("img",{attrs:{src:i("845b"),alt:""}})])]),r("li",[r("a",{attrs:{href:"https://www.facebook.com/monsterinsights",target:"_blank"}},[r("img",{attrs:{src:i("a8c5"),alt:""}})])]),r("li",[r("a",{attrs:{href:"https://twitter.com/monsterinsights",target:"_blank"}},[r("img",{attrs:{src:i("9530"),alt:""}})])])])}],Me=(i("acd8"),i("e25e"),function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"monsterinsights-yir-year-in-review-upsell-overlay"},[i("div",{staticClass:"monsterinsights-yir-upsell-content"},[i("p",{staticClass:"monsterinsights-yir-details",domProps:{textContent:t._s(t.details)}}),i("a",{class:["monsterinsights-yir-btn-upsell-overlay",t.btnClass],attrs:{href:t.btnLink,target:"_blank"},domProps:{textContent:t._s(t.btnText)}})])])}),Oe=[],Pe={name:"YearInReviewUpSellOverlay",props:{details:String,btnText:String,btnLink:String,btnClass:String}},Se=Pe,Re=Object(T["a"])(Se,Me,Oe,!1,null,null,null),Te=Re.exports,Ie=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.chartData?i("div",{staticClass:"monsterinsights-reports-visitorbymonth-chart"},[i("div",{staticClass:"monsterinsights-reports-visitorbymonth-header"},[i("div",{staticClass:"monsterinsights-reports-visitorbymonth-title"},[i("h3",{staticClass:"monsterinsights-report-title",domProps:{textContent:t._s(t.title)}})]),i("div",{staticClass:"monsterinsights-reports-visitorbymonth-subtitle"},[i("h4",{staticClass:"monsterinsights-report-subtitle",domProps:{textContent:t._s(t.subTitle)}})])]),i("div",{staticClass:"monsterinsights-reports-visitorbymonth-chart-content"},[i("div",{staticClass:"monsterinsights-reports-bar-chart-holder"},[i("div",{staticClass:"monsterinsights-chart-tooltip",attrs:{id:t.tooltipId}}),i("report-year-in-review-bar-chart",{staticStyle:{height:"200px"},attrs:{"chart-data":t.chartData,tooltipid:t.id}})],1)])]):t._e()},De=[],Be=x.reactiveProp,je={name:"ReportYearInReviewBarChart",extends:w,mixins:[Be],props:{tooltipid:String},data:function(){var t=this;return{options:{responsive:!0,maintainAspectRatio:!1,scales:{xAxes:[{gridLines:{display:!1},ticks:{fontSize:14,fontColor:"#828282",fontFamily:"Lato"}}],yAxes:[{ticks:{min:0,stepSize:25e3},gridLines:{drawBorder:!1,lineWidth:2,color:"#F2F2F2"}}]},animation:!1,legend:{display:!1},tooltips:{enabled:!1,yAlign:"top",xAlign:"top",intersect:!1,custom:this.$miyearInReviewTooltips,callbacks:{title:function(e,i){e=e[0];var r=i.labels[e.index],n=parseFloat(i.datasets[0].data[e.index]).toLocaleString("en");return[r,n,t.tooltipid]},label:function(){return""}}}}}},mounted:function(){this.renderChart(this.chartData,this.options)}},Fe=je,Le=Object(T["a"])(Fe,jt,Ft,!1,null,null,null),Ee=Le.exports,Ve={name:"ReportYearInReviewByMonth",components:{ReportYearInReviewBarChart:Ee},props:{chartData:[Object,Boolean],title:String,subTitle:String,id:String},computed:{tooltipId:function(){return"monsterinsights-chartjs-pie-"+this.id+"-tooltip"}}},Ne=Ve,ze=Object(T["a"])(Ne,Ie,De,!1,null,null,null),We=ze.exports,He=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"monsterinsights-yir-year-in-review-tip"},[t._m(0),i("div",{staticClass:"monsterinsights-yir-tip-content"},[i("h3",{staticClass:"monsterinsights-yir-tip-content-title",domProps:{textContent:t._s(t.title)}}),i("p",{staticClass:"monsterinsights-yir-tip-content-summary",domProps:{textContent:t._s(t.summary)}}),i("div",{staticClass:"monsterinsights-yir-tip-content-link-wrapper"},[i("a",{staticClass:"monsterinsights-yir-tip-content-link",attrs:{href:t.link,target:"_blank"},domProps:{textContent:t._s(t.linkText)}})])])])},Ue=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"monsterinsights-yir-tip-icon"},[r("img",{attrs:{src:i("ebe5"),alt:""}})])}],Ye={name:"ReportYearInReviewTip",props:{title:String,summary:String,link:String,linkText:String}},Qe=Ye,Xe=Object(T["a"])(Qe,He,Ue,!1,null,null,null),qe=Xe.exports,Je=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"monsterinsights-year-in-review-table-box"},[i("div",{staticClass:"monsterinsights-year-in-review-table-box-header"},[i("div",{staticClass:"monsterinsights-year-in-review-table-box-title"},[t.title?i("h3",{staticClass:"monsterinsights-report-title",domProps:{textContent:t._s(t.title)}}):t._e()]),i("div",{staticClass:"monsterinsights-year-in-review-table-box-subtitle"},[t.subTitle?i("h4",{staticClass:"monsterinsights-report-subtitle",domProps:{textContent:t._s(t.subTitle)}}):t._e()])]),i("div",{staticClass:"monsterinsights-year-in-review-table-box-list"},t._l(t.tableRows(),(function(e,r){return i("div",{key:r,staticClass:"monsterinsights-table-list-item"},[i("span",{staticClass:"monsterinsights-reports-list-count",domProps:{textContent:t._s(e.number)}}),i("span",{staticClass:"monsterinsights-reports-list-text",domProps:{innerHTML:t._s(e.text)}}),i("span",{staticClass:"monsterinsights-reports-list-number",domProps:{innerHTML:t._s(parseFloat(e.right).toLocaleString("en"))}})])})),0),t.tooltip?i("div",{staticClass:"monsterinsights-year-in-review-table-box-footer"},[i("span",{staticClass:"monsterinsights-yir-tooltip"},[i("span",{staticClass:"monsterinsights-yir-icon"},[t._v("?")]),i("span",{domProps:{textContent:t._s(t.tooltip)}})])]):t._e()])},Ge=[],Ke={name:"ReportYearInReviewListBox",props:{title:String,subTitle:String,tooltip:String,rows:Array},data:function(){return{limit:5,text_show:Object(c["a"])("Show","google-analytics-for-wordpress")}},methods:{tableRows:function(){var t=this.rows;if(t.length<5)while(t.length<5)t.push({number:"",text:"",right:""});return t=t.slice(0,this.limit),t}}},Ze=Ke,$e=Object(T["a"])(Ze,Je,Ge,!1,null,null,null),ti=$e.exports,ei=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.chartData?i("div",{staticClass:"monsterinsights-reports-pie-chart monsterinsights-reports-year-in-review-pie-chart"},[i("div",{staticClass:"monsterinsights-reports-pie-chart-holder"},[i("report-pie-chart",{staticClass:"monsterinsights-pie-chart",staticStyle:{"max-width":"176px","max-height":"176px"},attrs:{"chart-data":t.chartData,tooltipid:t.id}}),i("div",{staticClass:"monsterinsights-pie-chart-tooltip",attrs:{id:t.tooltipId}})],1),i("div",{staticClass:"monsterinsights-yir-reports-pie-chart-content"},[t.title?i("h3",{staticClass:"monsterinsights-report-title",domProps:{textContent:t._s(t.title)}}):t._e(),t.subtitle?i("h3",{staticClass:"monsterinsights-report-subtitle",domProps:{innerHTML:t._s(t.subtitle)}}):t._e(),t.legend?i("ul",{staticClass:"monsterinsights-pie-chart-legend"},t._l(t.chartData.values,(function(e,r){return i("li",{key:r},[i("span",{staticClass:"monsterinsights-pie-chart-legend-color",style:t.labelBackground(t.chartData.datasets[0].backgroundColor[r])}),i("span",{staticClass:"monsterinsights-pie-chart-legend-text",domProps:{textContent:t._s(t.chartData.labels[r])}}),i("span",{staticClass:"monsterinsights-pie-chart-legend-value"},[t._v("("+t._s(e)+"%)")])])})),0):t._e()])]):t._e()},ii=[],ri=x.reactiveProp,ni={name:"ReportPieChart",extends:_,mixins:[ri],props:{tooltipid:String},data:function(){var t=this;return{options:{responsive:!0,maintainAspectRatio:!1,elements:{arc:{borderWidth:0}},cutoutPercentage:65,tooltips:{enabled:!1,yAlign:"top",xAlign:"top",intersect:!0,custom:t.$miPieTooltips,callbacks:{title:function(e,i){e=e[0];var r=i.labels[e.index],n=i.datasets[0].data[e.index];return[r,n,t.tooltipid]},label:function(){return""}}},animation:!1,legend:{display:!1}}}},mounted:function(){this.renderChart(this.chartData,this.options)}},oi=ni,ai=Object(T["a"])(oi,Lt,Et,!1,null,null,null),si=ai.exports,li={name:"ReportYearInReviewPieChart",components:{ReportPieChart:si},props:{chartData:[Object,Boolean],title:String,subtitle:String,legend:{type:Boolean,default:!0},id:String},computed:{tooltipId:function(){return"monsterinsights-chartjs-pie-"+this.id+"-tooltip"}},methods:{labelBackground:function(t){return"background-color: "+t+";"}}},ci=li,ui=Object(T["a"])(ci,ei,ii,!1,null,null,null),di=ui.exports,hi=i("1b31");function gi(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,r)}return i}function pi(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?gi(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):gi(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var fi={name:"YearInReview",components:{YearInReviewUpSellOverlay:Te,ReportYearInReviewByMonth:We,ReportYearInReviewTip:qe,ReportYearInReviewListBox:ti,ReportYearInReviewPieChart:di,AddonBlock:hi["a"]},data:function(){return{text_calculating:Object(c["a"])("Still Calculating...","google-analytics-for-wordpress"),text_year_in_review_still_calculating:Object(c["a"])("Your 2019 Year in Review is still calculating. Please check back later to see how your website performed last year.","google-analytics-for-wordpress"),text_back_to_overview_report:Object(c["a"])("Back to Overview Report","google-analytics-for-wordpress"),text_title:Object(c["a"])("Your 2019 Analytics Report","google-analytics-for-wordpress"),text_sub_title:Object(c["a"])("2019 Year in Review","google-analytics-for-wordpress"),text_summary:Object(c["a"])("See how your website performed this year and find tips along the way to help grow even more in 2020!","google-analytics-for-wordpress"),text_audience_section_title:Object(c["a"])("Audience","google-analytics-for-wordpress"),text_congrats:Object(c["a"])("Congrats","google-analytics-for-wordpress"),text_popular:Object(c["a"])("Your website was quite popular this year! ","google-analytics-for-wordpress"),text_you_had:Object(c["a"])("You had ","google-analytics-for-wordpress"),text_visitors:Object(c["a"])(" visitors!","google-analytics-for-wordpress"),text_best_month_visitors:Object(c["a"])(" visitors","google-analytics-for-wordpress"),text_total_visitors:Object(c["a"])("Total Visitors","google-analytics-for-wordpress"),text_total_sessions:Object(c["a"])("Total Sessions","google-analytics-for-wordpress"),text_visitor_by_month_chart_title:Object(c["a"])("Visitors by Month","google-analytics-for-wordpress"),text_visitor_by_month_chart_tooltip:Object(c["a"])("January 1, 2019 - December 31, 2019","google-analytics-for-wordpress"),text_audience_tip_title:Object(c["a"])("A Tip for 2020","google-analytics-for-wordpress"),text_audience_tip_summary:Object(c["a"])("See the top Traffic Sources and Top Pages for the Month of May in the Overview Report to replicate your success.","google-analytics-for-wordpress"),text_section_demographics_title:Object(c["a"])("Demographics","google-analytics-for-wordpress"),text_number_one:Object(c["a"])("#1","google-analytics-for-wordpress"),text_countries:Object(c["a"])("You Top 5 Countries","google-analytics-for-wordpress"),text_know_your_visitors:Object(c["a"])("Let’s get to know your visitors a little better, shall we?","google-analytics-for-wordpress"),text_gender:Object(c["a"])("Gender","google-analytics-for-wordpress"),text_female:Object(c["a"])("Female","google-analytics-for-wordpress"),text_women:Object(c["a"])("Women","google-analytics-for-wordpress"),text_male:Object(c["a"])("Male","google-analytics-for-wordpress"),text_average_age:Object(c["a"])("Average Age","google-analytics-for-wordpress"),text_section_behavior_title:Object(c["a"])("Behavior","google-analytics-for-wordpress"),text_top_pages_graph_title:Object(c["a"])("Your Top 5 Pages","google-analytics-for-wordpress"),text_top_pages_graph_subtitle:Object(c["a"])("Pageviews","google-analytics-for-wordpress"),text_time_spent:Object(c["a"])("Time Spent on Site","google-analytics-for-wordpress"),text_minutes:Object(c["a"])("minutes","google-analytics-for-wordpress"),text_device_type:Object(c["a"])("Device Type","google-analytics-for-wordpress"),text_grow_traffic_tip_title:Object(c["a"])("A Tip For 2020","google-analytics-for-wordpress"),text_grow_traffic_tip_summary:Object(c["a"])("Take advantage of what you’ve already built. See how to get more traffic from existing content in our 32 Marketing Hacks to Grow Your Traffic.","google-analytics-for-wordpress"),text_grow_traffic_tip_link_text:Object(c["a"])("Read - 32 Marketing Hacks to Grow Your Traffic","google-analytics-for-wordpress"),text_visitors_come_from:Object(c["a"])("So, where did all of these visitors come from?","google-analytics-for-wordpress"),text_clicks:Object(c["a"])("Clicks","google-analytics-for-wordpress"),text_top_keywords:Object(c["a"])("Your Top 5 Keywords","google-analytics-for-wordpress"),text_top_keywords_tooltip:Object(c["a"])("What keywords visitors searched for to find your site","google-analytics-for-wordpress"),text_top_referrals:Object(c["a"])("Your Top 5 Referrals","google-analytics-for-wordpress"),text_pageviews:Object(c["a"])("Pageviews","google-analytics-for-wordpress"),text_top_referrals_tooltip:Object(c["a"])("The websites that link back to your website","google-analytics-for-wordpress"),text_opportunity_tip_title:Object(c["a"])("Opportunity","google-analytics-for-wordpress"),text_opportunity_tip_summary:Object(c["a"])("Use referral sources to create new partnerships or expand existing ones. See our guide on how to spy on your competitors and ethically steal their traffic.","google-analytics-for-wordpress"),text_opportunity_tip_link_text:Object(c["a"])("Read - How to Ethically Steal Your Competitor’s Traffic","google-analytics-for-wordpress"),text_thank_you_section_title:Object(c["a"])("Thank you for using MonsterInsights!","google-analytics-for-wordpress"),text_thank_you_section_summary:Object(c["a"])("We’re grateful for your continued support. If there’s anything we can do to help you grow your business, please don’t hesitate to contact our team.","google-analytics-for-wordpress"),text_amazing_2020:Object(c["a"])("Here's to an amazing 2020!","google-analytics-for-wordpress"),text_enjoying_monsterinsights:Object(c["a"])("Enjoying MonsterInsights","google-analytics-for-wordpress"),text_leave_review:Object(c["a"])("Leave a five star review!","google-analytics-for-wordpress"),text_syed_balkhi:Object(c["a"])("Syed Balkhi","google-analytics-for-wordpress"),text_chris_christoff:Object(c["a"])("Chris Christoff","google-analytics-for-wordpress"),text_write_review:Object(c["a"])("Write Review","google-analytics-for-wordpress"),text_plugins_section_title:Object(c["a"])("Did you know over 10 million websites use our plugins?","google-analytics-for-wordpress"),text_plugins_section_summary:Object(c["a"])("Try our other popular WordPress plugins to grow your website in 2020.","google-analytics-for-wordpress"),text_communities_section_title:Object(c["a"])("Join our Communities!","google-analytics-for-wordpress"),text_communities_section_summary:Object(c["a"])("Become a WordPress expert in 2020. Join our amazing communities and take your website to the next level.","google-analytics-for-wordpress"),text_facebook_group:Object(c["a"])("Facebook Group","google-analytics-for-wordpress"),text_facebook_group_summary:Object(c["a"])("Join our team of WordPress experts and other motivated website owners in the WPBeginner Engage Facebook Group.","google-analytics-for-wordpress"),text_facebook_join_button:Object(c["a"])("Join Now...It’s Free!","google-analytics-for-wordpress"),text_wpbeginner_community_title:Object(c["a"])("WordPress Tutorials by WPBeginner","google-analytics-for-wordpress"),text_wpbeginner_community_summary:Object(c["a"])("WPBeginner is the largest free WordPress resource site for beginners and non-techy users.","google-analytics-for-wordpress"),text_visit_wpbeginner:Object(c["a"])("Visit WPBeginner","google-analytics-for-wordpress"),text_follow_us:Object(c["a"])("Follow Us!","google-analytics-for-wordpress"),text_follow_us_summary:Object(c["a"])("Follow MonsterInsights on social media to stay up to date with latest updates, trends, and tutorials on how to make the most out of analytics.","google-analytics-for-wordpress"),text_copyright_monsterinsights:Object(c["a"])("Copyright MonsterInsights, 2020","google-analytics-for-wordpress"),text_search_console_upsell_overlay_details:Object(c["a"])("Upgrade to MonsterInsights Pro to Unlock Additional Actionable Insights","google-analytics-for-wordpress"),text_search_console_upsell_overlay_btn_text:Object(c["a"])("Upgrade to MonsterInsights Pro","google-analytics-for-wordpress"),months:[Object(c["a"])("January","google-analytics-for-wordpress"),Object(c["a"])("February","google-analytics-for-wordpress"),Object(c["a"])("March","google-analytics-for-wordpress"),Object(c["a"])("April","google-analytics-for-wordpress"),Object(c["a"])("May","google-analytics-for-wordpress"),Object(c["a"])("June","google-analytics-for-wordpress"),Object(c["a"])("July","google-analytics-for-wordpress"),Object(c["a"])("August","google-analytics-for-wordpress"),Object(c["a"])("September","google-analytics-for-wordpress"),Object(c["a"])("October","google-analytics-for-wordpress"),Object(c["a"])("November","google-analytics-for-wordpress"),Object(c["a"])("December","google-analytics-for-wordpress")]}},mounted:function(){this.$store.dispatch("$_reports/getReportData","yearinreview")},computed:pi({},Object(a["b"])({addons:"$_addons/addons",yearInReview:"$_reports/yearinreview",date:"$_reports/date",license:"$_license/license",license_network:"$_license/license_network"}),{visitorByMonthData:function(){return{datasets:[{backgroundColor:"#338EEF",data:this.yearInReview.usersgraph.datapoints}],labels:this.yearInReview.usersgraph.labels}},bestMonthVisitorsSummary:function(){return Object(c["d"])(Object(c["a"])("Your best month was <strong>%1$s</strong> with <strong>%2$s visitors!</strong>","google-analytics-for-wordpress"),this.months[this.yearInReview.usersgraph.bestmonth],this.commaNumbers(this.yearInReview.usersgraph.max))},countriesData:function(){var t=[],e=0;return this.yearInReview.countries&&this.yearInReview.countries.forEach((function(i){e++,t.push({number:e+".",text:'<span class="monsterinsights-flag monsterinsights-flag-'+i.iso.toLowerCase()+'"></span> '+i.name,right:i.sessions})})),t},demoGraphicsSummary:function(){return Object(c["d"])(Object(c["a"])("Your <strong>%1$s</strong> visitors came from <strong>%2$s</strong> different countries.","google-analytics-for-wordpress"),this.commaNumbers(this.yearInReview.info.users.value),this.commaNumbers(this.yearInReview.countries.length))},topCountryFlagClass:function(){return"monsterinsights-flag-"+this.yearInReview.countries[0].iso.toLowerCase()},topCountryVisitors:function(){return Object(c["d"])(Object(c["a"])("%s Visitors","google-analytics-for-wordpress"),this.commaNumbers(this.yearInReview.countries[0].sessions))},maxVisitorGender:function(){var t="",e=this.getMaxVisitorGenderObj();return"male"===e.gender&&(t=this.text_male),"female"===e.gender&&(t=this.text_female),t},maxVisitorGenderSummary:function(){return Object(c["d"])(Object(c["a"])("%1$s&#37 of your visitors were %2$s","google-analytics-for-wordpress"),this.getMaxVisitorGenderObj().percent,this.maxVisitorGender.toLowerCase())},maxVisitorAverageAge:function(){return this.getMaxVisitorAgeObj().age},maxVisitorAgeSummary:function(){return Object(c["d"])(Object(c["a"])("%1$s&#37 of your visitors were between the ages of %2$s","google-analytics-for-wordpress"),this.getMaxVisitorGenderObj().percent,this.maxVisitorAverageAge)},behaviourSummary:function(){return 0==parseInt(this.yearInReview.info.pageviews.value)||parseInt(0==this.yearInReview.info.users.value)?Object(c["d"])(Object(c["a"])("Your <strong>%1$s</strong> visitors viewed a total of <strong>%2$s</strong> pages. <span class='average-page-per-user' style='font-size: 20px;margin-top:25px;display:block;font-family:Lato'>That's an average of %3$s pages for each visitor!</span>","google-analytics-for-wordpress"),this.commaNumbers(this.yearInReview.info.users.value),this.commaNumbers(this.yearInReview.info.pageviews.value),0):Object(c["d"])(Object(c["a"])("Your <strong>%1$s</strong> visitors viewed a total of <strong>%2$s</strong> pages. <span class='average-page-per-user' style='font-size: 20px;margin-top:25px;display:block;font-family:Lato'>That's an average of %3$s pages for each visitor!</span>","google-analytics-for-wordpress"),this.commaNumbers(this.yearInReview.info.users.value),this.commaNumbers(this.yearInReview.info.pageviews.value),this.commaNumbers(Math.round(parseInt(this.yearInReview.info.pageviews.value)/parseInt(this.yearInReview.info.users.value))))},topPages:function(){var t=[],e=0;return this.yearInReview.toppages&&this.yearInReview.toppages.forEach((function(i){e++;var r=i.hostname?'<a href="'+i.hostname+i.url+'" target="_blank" rel="noreferrer noopener">'+i.title+"</a>":i.title;t.push({number:e+".",text:r,right:i.sessions})})),t},eachVisitorSpentSummary:function(){return Object(c["d"])(Object(c["a"])("Each visitor spent an average of %s minutes on your website in 2019.","google-analytics-for-wordpress"),this.commaNumbers(this.yearInReview.info.duration.avg_minutes))},mostVisitorsDevice:function(){if(this.yearInReview.devices){var t=this.yearInReview.devices,e=0,i=[];for(var r in t)t.hasOwnProperty(r)&&t[r]>e&&(i["name"]=r,i["percent"]=t[r],e=t[r]);return i}return!1},mostVisitorsDeviceSummary:function(){return Object(c["d"])(Object(c["a"])("Most of your visitors viewed your website from their <strong>%s</strong> device.","google-analytics-for-wordpress"),this.mostVisitorsDevice.name)},mostVisitorsDevicePercent:function(){return Object(c["d"])(Object(c["a"])("%1$s&#37 of your visitors were on a %2$s device.","google-analytics-for-wordpress"),this.mostVisitorsDevice.percent,this.mostVisitorsDevice.name)},devicesData:function(){return!!this.yearInReview.devices&&{datasets:[{data:[this.yearInReview.devices.desktop,this.yearInReview.devices.tablet,this.yearInReview.devices.mobile],backgroundColor:["#6AB1FC","#AAD3FF","#338EEF"]}],values:[this.yearInReview.devices.desktop,this.yearInReview.devices.tablet,this.yearInReview.devices.mobile],labels:[Object(c["a"])("Desktop","google-analytics-for-wordpress"),Object(c["a"])("Tablet","google-analytics-for-wordpress"),Object(c["a"])("Mobile","google-analytics-for-wordpress")]}},referralsData:function(){var t=[],e=0;return this.yearInReview.referrals&&this.yearInReview.referrals.forEach((function(i){e++,t.push({number:e+".",text:'<img src="https://www.google.com/s2/favicons?domain=http://'+i.url+'" />'+i.url,right:i.sessions})})),t},searchConsoleSampleData:function(){return[{number:1,text:"search term one",right:7978},{number:2,text:"search term two",right:79789},{number:3,text:"search three",right:897},{number:4,text:"search four",right:797},{number:5,text:"search term five",right:299}]}}),methods:{isAddonActive:function(t){return!!this.addons[t]&&this.addons[t].active},commaNumbers:function(t){return parseFloat(t).toLocaleString("en")},isMoreVisitors:function(){return this.yearInReview.info.users.value>this.yearInReview.info.users.prev},getMaxVisitorGenderObj:function(){var t=this.yearInReview.gender,e=0,i={};return t.forEach((function(t){t.percent>e&&(e=t.percent,i=t)})),i},getMaxVisitorAgeObj:function(){var t=this.yearInReview.age,e=0,i={};return t.forEach((function(t){t.percent>e&&(e=t.percent,i=t)})),i},pluginsList:function(){var t=this,e=["wpforms","wp-mail-smtp","optinmonster","coming-soon","rafflepress","trustpulse-api"],i=[];return e.forEach((function(e){if(t.addons[e]){var r=Object.create(t.addons[e]);r.type="licensed",i.push(r)}})),i}}},mi=fi,vi=Object(T["a"])(mi,Ae,ke,!1,null,null,null),bi=vi.exports,xi={routes:[{path:"*",redirect:"/"},{path:"/",name:"overview",component:Pt,meta:{title:Object(c["a"])("Overview Report","google-analytics-for-wordpress")}},{path:"/publishers",name:"publisher",component:Xt,meta:{title:Object(c["a"])("Publishers Report","google-analytics-for-wordpress")}},{path:"/ecommerce",name:"ecommerce",component:$t,meta:{title:Object(c["a"])("eCommerce Report","google-analytics-for-wordpress")}},{path:"/search-console",name:"queries",component:oe,meta:{title:Object(c["a"])("Search Console Report","google-analytics-for-wordpress")}},{path:"/dimensions",name:"dimensions",component:de,meta:{title:Object(c["a"])("Dimensions Report","google-analytics-for-wordpress")}},{path:"/forms",name:"forms",component:ve,meta:{title:Object(c["a"])("Forms Report","google-analytics-for-wordpress")}},{path:"/real-time",name:"realtime",component:Ce,meta:{title:Object(c["a"])("Real-Time Report","google-analytics-for-wordpress")}}]};d()().isBetween("2020-01-01","2020-01-14")&&xi.routes.push({path:"/year-in-review",name:"yearinreview",component:bi,meta:{title:Object(c["a"])("2019 Year in Review","google-analytics-for-wordpress")}});var yi=new l["a"](xi),wi=i("a158"),_i=i("4bdc"),Ci=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("button",{staticClass:"monsterinsights-mobile-nav-trigger",on:{click:function(e){t.nav_open=!t.nav_open}}},[i("span",{domProps:{textContent:t._s(t.routeTitle)}}),i("i",{class:t.buttonIconClass})]),i("nav",{class:t.navClass},[i("router-link",{staticClass:"monsterinsights-navigation-tab-link",attrs:{to:"/"},domProps:{textContent:t._s(t.text_overview)}}),i("router-link",{staticClass:"monsterinsights-navigation-tab-link",attrs:{to:"publishers"},domProps:{textContent:t._s(t.text_publishers)}}),i("router-link",{staticClass:"monsterinsights-navigation-tab-link",attrs:{to:"search-console"},domProps:{textContent:t._s(t.text_search)}}),i("router-link",{staticClass:"monsterinsights-navigation-tab-link",attrs:{to:"ecommerce"},domProps:{textContent:t._s(t.text_ecommerce)}}),i("router-link",{staticClass:"monsterinsights-navigation-tab-link",attrs:{to:"dimensions"},domProps:{textContent:t._s(t.text_dimensions)}}),i("router-link",{staticClass:"monsterinsights-navigation-tab-link",attrs:{to:"forms"},domProps:{textContent:t._s(t.text_forms)}}),i("router-link",{staticClass:"monsterinsights-navigation-tab-link",attrs:{to:"real-time"},domProps:{textContent:t._s(t.text_real_time)}}),t.isYearInReviewVisible()?i("router-link",{staticClass:"monsterinsights-navigation-tab-link year-in-review",attrs:{to:"year-in-review"},domProps:{textContent:t._s(t.text_year_in_review)}}):t._e()],1)])},Ai=[],ki={name:"ReportsNavigation",data:function(){return{text_overview:Object(c["a"])("Overview","google-analytics-for-wordpress"),text_publishers:Object(c["a"])("Publishers","google-analytics-for-wordpress"),text_ecommerce:Object(c["a"])("eCommerce","google-analytics-for-wordpress"),text_search:Object(c["a"])("Search Console","google-analytics-for-wordpress"),text_dimensions:Object(c["a"])("Dimensions","google-analytics-for-wordpress"),text_forms:Object(c["a"])("Forms","google-analytics-for-wordpress"),text_real_time:Object(c["a"])("Real-Time","google-analytics-for-wordpress"),nav_open:!1,text_year_in_review:Object(c["a"])("2019 Year in Review","google-analytics-for-wordpress")}},computed:{routeTitle:function(){return!!this.$route.meta.title&&this.$route.meta.title},navClass:function(){var t="monsterinsights-main-navigation monsterinsights-reports-navigation";return this.nav_open&&(t+=" monsterinsights-main-navigation-open"),t},buttonIconClass:function(){var t="monstericon-arrow";return this.nav_open&&(t+=" monstericon-down"),t}},methods:{isYearInReviewVisible:function(){return d()().isBetween("2020-01-01","2020-01-14")}},watch:{$route:function(){this.nav_open=!1}}},Mi=ki,Oi=Object(T["a"])(Mi,Ci,Ai,!1,null,null,null),Pi=Oi.exports,Si=i("9d59"),Ri=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"monsterinsights-not-authenticated-notice"},[i("h3",{domProps:{textContent:t._s(t.text_no_auth)}}),i("div",{staticClass:"monsterinsights-settings-input monsterinsights-settings-input-authenticate"},[i("span",{staticClass:"monsterinsights-dark",domProps:{textContent:t._s(t.text_auth_label)}}),t.update_settings?i("div",[i("a",{staticClass:"monsterinsights-button-alt monsterinsights-button",attrs:{slot:"before_connect",href:t.wizard_url},domProps:{textContent:t._s(t.text_wizard)},slot:"before_connect"})]):i("div",[i("p",{staticClass:"monsterinsights-dark"},[i("strong",{domProps:{textContent:t._s(t.text_ask_webmaster)}})])])])])},Ti=[],Ii={name:"ReportNoAuth",data:function(){return{text_no_auth:Object(c["a"])("You must connect with MonsterInsights before you can view reports.","google-analytics-for-wordpress"),text_auth_label:Object(c["a"])('MonsterInsights makes it "effortless" for you to connect your site with Google Analytics and see reports right here in the WordPress dashboard.',"google-analytics-for-wordpress"),text_wizard:Object(c["a"])("Launch Setup Wizard","google-analytics-for-wordpress"),text_ask_webmaster:Object(c["a"])("Please ask your webmaster to connect MonsterInsights to Google Analytics.","google-analytics-for-wordpress"),wizard_url:this.$mi.wizard_url,update_settings:this.$mi.update_settings}}},Di=Ii,Bi=Object(T["a"])(Di,Ri,Ti,!1,null,null,null),ji=Bi.exports,Fi=i("8c1c"),Li=i("b52e");function Ei(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,r)}return i}function Vi(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Ei(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Ei(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var Ni={name:"ModuleReports",router:yi,components:{TheQuickLinks:Li["a"],ReportReAuth:Fi["a"],ReportNoAuth:ji,TheAppNotices:Si["a"],ReportsNavigation:Pi,TheAppNavigation:_i["a"],TheAppHeader:wi["a"]},computed:Vi({},Object(a["b"])({blocked:"$_app/blocked",blur:"$_reports/blur",noauth:"$_reports/noauth",reauth:"$_reports/reauth"}),{route:function(){return this.$route.name},mainClass:function(){var t="monsterinsights-admin-page monsterinsights-reports-page";return this.blur&&(t+=" monsterinsights-blur"),t}}),created:function(){var t="$_reports";t in this.$store._modules.root._children||this.$store.registerModule(t,s["a"]),this.updateSelectedReport(this.route)},watch:{$route:function(t){this.updateSelectedReport(t.name)}},methods:{updateSelectedReport:function(t){this.$mi.authed||(this.$store.commit("$_reports/ENABLE_BLUR"),this.$store.commit("$_reports/ENABLE_NOAUTH")),this.$store.commit("$_reports/UPDATE_ACTIVE_REPORT",t)}}},zi=Ni,Wi=Object(T["a"])(zi,r,n,!1,null,null,null),Hi=Wi.exports,Ui=i("2b0e"),Yi=i("619c"),Qi=i("7460"),Xi=i("1096"),qi=i("4360"),Ji=i("e37d"),Gi=i("6c6b"),Ki=(i("5eda"),i("f293"),document.getElementById("monsterinsights-reports"));(Ui["a"].config.productionTip=!1,Ki)&&(Object(Gi["a"])({ctrl:!0}),Ui["a"].use(l["a"]),Ui["a"].use(Yi["a"]),Ui["a"].use(Ji["a"],{defaultTemplate:'<div class="monsterinsights-tooltip" role="tooltip"><div class="monsterinsights-tooltip-arrow"></div><div class="monsterinsights-tooltip-inner"></div></div>',defaultArrowSelector:".monsterinsights-tooltip-arrow, .monsterinsights-tooltip__arrow",defaultInnerSelector:".monsterinsights-tooltip-inner, .monsterinsights-tooltip__inner"}),Ui["a"].use(Qi["a"]),Ui["a"].use(Xi["a"]),Object(c["c"])(window.monsterinsights.translations,"google-analytics-for-wordpress"),new Ui["a"]({store:qi["a"],mounted:function(){qi["a"].dispatch("$_app/init"),qi["a"].dispatch("$_addons/getAddons"),Ui["a"].prototype.$isPro()&&qi["a"].dispatch("$_license/getLicense")},render:function(t){return t(Hi)}}).$mount(Ki))},f293:function(t,e,i){}});